]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/doc: add missing parentheses around prompt in some examples
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ac4d323e
TBA
12021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2
3 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
4
6b142048
WS
52021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
6
7 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
8
82d9b280 92021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
c8a37944
WS
10
11 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
12 non-relative plxv instructions.
13 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
14
152021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
82d9b280 16
e3d528d7
WS
17 PR gdb/27525
18 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
19 exercise single-stepping over subpcis,lnia,addpcis instructions
20 with displacement.
21 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
22 of addpcis/lnia/subpcis instructions.
23 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
24 exercise single-stepping over lnia instructions with displacement.
25 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
26 lnia instructions.
27
282021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
29
82d9b280
WS
30 * gdb.arch/powerpc-power10.s: New test for instructions.
31 * gdb.arch/powerpc-power10.exp: Harness to run the test.
32
6ba4cb84
CL
332021-4-12 Carl Love <cel@us.ibm.com>
34
35 * gdb.arch/vsx-vsr-float128.c: New test file.
36 * gdb.arch/vsx-vsr-float128.exp: New expect file.
37
9d8f3022
MM
382021-04-12 Markus Metzger <markus.t.metzger@intel.com>
39
40 * gdb.btrace/reconnect.exp: Relax expected stepi output.
41
dc2b480f
WP
422021-04-07 Weimin Pan <weimin.pan@oracle.com>
43
44 * gdb.base/ctf-ptype.c: Add struct link containing a forward
45 reference type.
46 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
47
0a703a4c
AB
482021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
49
50 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
51 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
52
30ab3586
AB
532021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
54
55 * gdb.cp/rvalue-ref-params.cc (f3): New function.
56 (f4): New function.
57 (global_int): New global variable.
58 (global_float): Likeiwse.
59 (main): Call both new functions.
60 * gdb.cp/rvalue-ref-params.exp: Add new tests.
61
56d467f4
CT
622021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
63
64 * gdb.dwarf2/fission-relative-dwo.c: New file.
65 * gdb.dwarf2/fission-relative-dwo.exp: New file.
66
61dee722
AB
672021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
68
69 * gdb.dwarf2/fission-absolute-dwo.c: New file.
70 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
71 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
72 instead of build_executable_from_fission_assembler.
73 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
74 * gdb.dwarf2/fission-loclists.exp: Likewise.
75
76 * gdb.dwarf2/fission-multi-cu.S: Delete file.
77 * gdb.dwarf2/fission-multi-cu.c: New file based on old
78 fission-multi-cu1.c and fission-multi-cu2.c files.
79 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
80 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
81 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
82 * gdb.dwarf2/fission-reread.exp: Likewise.
83 * lib/dwarf.exp (extract_dwo_information): New proc.
84 (strip_dwo_information): New proc.
85 (build_executable_and_dwo_files): New proc.
86 (build_executable_from_fission_assembler): Delete.
87 (Dwarf::_debug_addr_index): New variable.
88 (Dwarf::_cu_is_fission): New variable.
89 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
90 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
91 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
92 if this is a fission CU.
93 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
94 (Dwarf::debug_addr_label): New proc.
95 (Dwarf::cu): Initialise _cu_is_fission.
96 (Dwarf::tu): Likewise.
97 (Dwarf::assemble): Initialise _debug_addr_index.
98
1fd999d9
AB
992021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
100
101 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
102
79c02443
AB
1032021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
104
105 * gdb.python/py-parameter.exp: Add test for reading data-directory
106 using gdb.parameter API.
107
340d00fb
TV
1082021-04-06 Tom de Vries <tdevries@suse.de>
109
110 PR breakpoints/25884
111 * gdb.opt/inline-cmds.exp: Remove kfail.
112
043bcbaf
TV
1132021-04-06 Tom de Vries <tdevries@suse.de>
114
115 PR testsuite/27691
116 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
117 file "".
118
ac628a06
EB
1192021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
120
121 * lib/pdtrace.in: Fix obvious typo.
122
3f49d080
TT
1232021-03-31 Tom Tromey <tromey@adacore.com>
124
125 * lib/dwarf.exp (Dwarf::_get_args): New proc.
126 (Dwarf::_location): Use it.
127
cfcbd506
TV
1282021-03-31 Tom de Vries <tdevries@suse.de>
129
130 PR testsuite/27667
131 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
132
8a91fbdf
SM
1332021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
134
135 PR gdb/27541
136 * gdb.base/index-cache-load-twice.exp: Remove.
137 * gdb.base/index-cache-load-twice.c: Remove.
138 * gdb.dwarf2/per-bfd-sharing.exp: New.
139 * gdb.dwarf2/per-bfd-sharing.c: New.
140
b953e703
TV
1412021-03-30 Tom de Vries <tdevries@suse.de>
142
143 PR testsuite/27604
144 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
145
aa33ea68
TBA
1462021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
147
148 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
149 the infinite loop to avoid a Clang bug.
150
99066782
WS
1512021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
152
153 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
154 names for uniqueness.
155 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
156 uniqueness.
157
b1f3973b
AB
1582021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
159
160 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
161 member.
162 (make_container): Initialise is_array_p.
163 * gdb.python/py-prettyprint.exp: Add new tests.
164 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
165 Check is_array_p and possibly return 'array'.
166
3c2dcf90
AB
1672021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
168
169 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
170 * gdb.cp/casts.exp: Give tests unique names.
171 * gdb.cp/filename.exp: Likewise.
172 * gdb.cp/gdb2495.exp: Likewise.
173 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
174 * gdb.cp/misc.exp: Rename test to make it unique.
175 * gdb.cp/nsnested.exp: Give tests unique names.
176 * gdb.cp/ovldbreak.exp: Likewise.
177 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
178 being tested. This also removes the duplicate test name.
179 * gdb.cp/ref-types.exp: Likewise.
180 * gdb.cp/temargs.exp: Likewise.
181
6b78370d
AB
1822021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
183
184 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
185 square brackets in test.
186
baecbb3d
AB
1872021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
188
189 * gdb.cp/maint.exp (test_first_component): Run more tests with a
190 variable number of spaces, this removes the duplicate testing of
191 'operator ->' which existed before.
192
6e892297
AB
1932021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
194
195 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
196 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
197 duplicates, and also to avoid having a string inside parentheses
198 at the end of test names.
199
ac45a6ca
AB
2002021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
201
202 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
203 Avoid repeated uses of 'runto', and instread just progress once
204 through the test stopping at different breakpoints. Give comments
205 a capital letter and full stop. Give duplicate tests unique names.
206
323fd5b9
PA
2072021-03-25 Pedro Alves <pedro@palves.net>
208
209 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
210 "target_non_stop" parameter and use it.
211 (top level): Add "maint set target-non-stop on/off" testing axis.
212
ba3c61fc
AB
2132021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
214
215 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
216 gdb_test_multiple.
217
bf0aecce
LM
2182021-03-24 Luis Machado <luis.machado@linaro.org>
219
220 * gdb.arch/aarch64-mte.c: New file.
221 * gdb.arch/aarch64-mte.exp: New test.
222 * gdb.base/memtag.c: New file.
223 * gdb.base/memtag.exp: New test.
224 * lib/gdb.exp (supports_memtag): New function.
225
bef382e6
LM
2262021-03-24 Luis Machado <luis.machado@linaro.org>
227
228 * gdb.base/options.exp: Adjust for new print options.
229 * gdb.base/with.exp: Likewise.
230
702cf3f5
AB
2312021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
232
233 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
234 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
235
1e7fcccb
AB
2362021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
237
238 * gdb.dwarf2/dw2-using-debug-str.c: New file.
239 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
240 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
241 not .debug_string.
242
4829711b
TT
2432021-03-20 Tom Tromey <tom@tromey.com>
244
245 * gdb.base/maint.exp: Update "maint print statistics" output.
246
e0d6d274
KB
2472021-03-19 Kevin Buettner <kevinb@redhat.com>
248
249 * lib/gdbserver-support.exp (gdbserver_exit): Use the
250 "-nowait" flag when waiting for gdbserver to exit.
251
a088215a
SST
2522021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
253
254 * gdb.base/info-macros.exp: Append -fdebug-macro to
255 additional_flags for clang.
256 * gdb.base/macscp.exp: Likewise.
257 * gdb.base/style.exp: Likewise.
258 * gdb.linespec/macro-relative.exp: Likewise.
259
d0c99a23
SM
2602021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
261 Pedro Alves <pedro@palves.net>
262
263 * gdb.base/run-attach-while-running.exp: New.
264 * gdb.base/run-attach-while-running.c: New.
265
7807d76a
AB
2662021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
267
268 * gdb.python/py-framefilter-addr.c: New file.
269 * gdb.python/py-framefilter-addr.exp: New file.
270 * gdb.python/py-framefilter-addr.py: New file.
271
f302f9e2
AB
2722021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
273
274 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
275 Make use of $gdb_test_name instead of creating a separate $test
276 variable.
277 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
278 adding a '($name)' at the end of each test. This also catches the
279 one place where '($name)' was missing, and so caused a duplicate
280 test name.
281 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
282 duplicate test names based on the command being tested.
283 * gdb.threads/signal-command-multiple-signals-pending.exp:
284 Likewise.
285 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
286 avoid duplicate testnames when a test script uses this proc and
287 also gdb_compile_pthreads.
288 * lib/prelink-support.exp (build_executable_own_libs): Use
289 with_test_prefix to avoid duplicate test names when we call
290 build_executable twice.
291
6813ceb0
TT
2922021-03-15 Tom Tromey <tromey@adacore.com>
293
294 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
295
3b5c4de0
TT
2962021-03-15 Tom Tromey <tromey@adacore.com>
297
298 * gdb.ada/varsize_limit.exp: Add new test.
299 * gdb.ada/varsize_limit/vsizelim.adb: Update.
300
c04da66c
TT
3012021-03-15 Tom Tromey <tromey@adacore.com>
302
303 * gdb.ada/operator_call/twovecs.ads: New file.
304 * gdb.ada/operator_call/twovecs.adb: New file.
305 * gdb.ada/operator_call/opcall.adb: New file.
306 * gdb.ada/operator_call.exp: New file.
307
1ac74522
TT
3082021-03-15 Tom Tromey <tromey@adacore.com>
309
310 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
311 * gdb.ada/enums_overload/enums_overload.ads: New file.
312 * gdb.ada/enums_overload/enums_overload.adb: New file.
313 * gdb.ada/enums_overload.exp: New file.
314
207582c0
TT
3152021-03-15 Tom Tromey <tromey@adacore.com>
316
317 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
318 Declare.
319 * gdb.ada/assign_arr/target_wrapper.adb: New file.
320 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
321 Call Put.
322 * gdb.ada/assign_arr.exp: Update.
323
ba6a0ef3
AB
3242021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
325
326 * gdb.python/py-auto-load-chaining-f1.c: New file.
327 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
328 * gdb.python/py-auto-load-chaining-f2.c: New file.
329 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
330 * gdb.python/py-auto-load-chaining.c: New file.
331 * gdb.python/py-auto-load-chaining.exp: New file.
332
7f99d636
AB
3332021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
334
335 * gdb.python/py-bad-printers.exp: Extend test names to make them
336 unique.
337 * gdb.python/py-events.exp: Likewise.
338 * gdb.python/py-finish-breakpoint2.exp: Likewise.
339 * gdb.python/py-frame-inline.exp: Likewise.
340 * gdb.python/py-frame.exp: Likewise.
341 * gdb.python/py-infthread.exp: Likewise.
342
323b848c
AB
3432021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
344
345 * gdb.python/py-value-cc.exp: Remove a duplicate test.
346
8a4efb36
AB
3472021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
348
349 * gdb.python/lib-types.exp: Update the test to check the correct
350 python variable.
351
66bb1dd9
AB
3522021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
353
354 * gdb.python/py-explore-cc.exp: Extend test names to make them
355 unique.
356
0125fabc
AB
3572021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
358
359 * gdb.python/py-lookup-type.exp: Remove duplicate test.
360
79d04157
AB
3612021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
362
363 * gdb.python/py-symtab.exp: Extend test names to make them
364 unique.
365
e3e48d8f
AB
3662021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
367
368 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
369 names unique.
370
2cb60e74
AB
3712021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
372
373 * gdb.python/py-block.exp: Give tests unique names.
374
8b12ded4
AB
3752021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * gdb.python/py-pp-maint.exp: Extend test names to make them
378 unique.
379
93598ea4
AB
3802021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
381
382 * gdb.python/py-explore.exp: Add with_test_prefix to make test
383 names unique.
384
f35d6971
AB
3852021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
386
387 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
388
22d3e7f6
AB
3892021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
390
391 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
392 names unique.
393
5fc5a1b8
AB
3942021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
395
396 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
397 test names unique.
398
e3141a4d
AB
3992021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
400
401 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
402 unique.
403
ccdc02ed
TT
4042021-03-09 Tom Tromey <tromey@adacore.com>
405
406 * gdb.base/cast-call.exp: New file.
407 * gdb.base/cast-call.c: New file.
408
fbb1aace
AB
4092021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
410
411 * gdb.gdb/python-helper.exp: New file.
412
611aa09d
FW
4132020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
414
415 * gdb.fortran/intrinsics.exp: Add LOC tests.
416
eef32f59
AB
4172021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
418
419 * gdb.fortran/shape.exp: New file.
420 * gdb.fortran/shape.f90: New file.
421
7ba155b3
AB
4222021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
423
424 * gdb.fortran/size.exp: New file.
425 * gdb.fortran/size.f90: New file.
426
e14816a8
AB
4272021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
428
429 * gdb.fortran/rank.exp: New file.
430 * gdb.fortran/rank.f90: New file.
431
d308ba78
TT
4322021-03-08 Tom Tromey <tom@tromey.com>
433
434 * gdb.fortran/debug-expr.exp: Update tests.
435
d182f279
TT
4362021-03-08 Tom Tromey <tom@tromey.com>
437
438 * gdb.base/debug-expr.exp: Update expected dump output.
439
a7308ce0
TT
4402021-03-06 Tom Tromey <tom@tromey.com>
441
442 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
443 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
444 * gdb.dwarf2/dwznolink.exp: New file.
445
b0a8c2ff
MW
4462021-03-05 Mark Wielaard <mark@klomp.org>
447
448 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
449
844be3f2
WP
4502021-03-06 Weimin Pan <weimin.pan@oracle.com>
451
452 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
453
82333781
MM
4542021-03-03 Markus Metzger <markus.t.metzger@intel.com>
455
456 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
457
32c52999
MM
4582021-03-03 Markus Metzger <markus.t.metzger@intel.com>
459
460 * gdb.btrace/non-stop.exp: Adjust expected source lines.
461
26ed1478
MM
4622021-03-03 Markus Metzger <markus.t.metzger@intel.com>
463
464 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
465
d2c5f24e
MM
4662021-03-03 Markus Metzger <markus.t.metzger@intel.com>
467
468 * gdb.btrace/exception.cc (main): Update test source.
469 * gdb.btrace/exception.exp: Update patterns.
470 * gdb.btrace/function_call_history.exp: Likewise.
471
c7c7253a
MM
4722021-03-03 Markus Metzger <markus.t.metzger@intel.com>
473
474 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
475
f0778fc1
MM
4762021-03-03 Markus Metzger <markus.t.metzger@intel.com>
477
478 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
479 reverse-continue to breakpoint.
480
e71dbd03
MM
4812021-03-03 Markus Metzger <markus.t.metzger@intel.com>
482
483 * gdb.btrace/delta.exp: Remove instruction-history and
484 function-call-history checks.
485
b93a3ed0
MM
4862021-03-03 Markus Metzger <markus.t.metzger@intel.com>
487
488 * README (Note): Add nopie_ldflag.
489 * lib/gdb.exp (gdb_compile): Extend nopie handling.
490
bbcdf9ab
TT
4912021-03-02 Tom Tromey <tromey@adacore.com>
492
493 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
494 encodings.
495
bb3a4efe
LS
4962021-02-27 Lancelot Six <lsix@lancelotix.com>
497
498 PR gdb/27393
499 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
500
501
573dc0cc
TT
5022021-02-26 Tom Tromey <tom@tromey.com>
503
504 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
505
f8218786
JV
5062021-02-26 Jan Vrany <jan.vrany@labware.com>
507
508 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
509 Remove trailing \n from expected output.
510
cb51b708
MM
5112021-02-26 Markus Metzger <markus.t.metzger@intel.com>
512
513 * lib/gdb.exp (use_gdb_stub): Extend comment.
514
64d38fdd
JM
5152021-02-25 Jan Matyas <jmatyas@codasip.com>
516
517 PR gdb/26819
518 * gdb.server/stop-reply-no-thread.exp: Add two test
519 scenarios that cover remote targets which do not have
520 the concept of threads.
521
d4ff3cbf
AB
5222021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
523
524 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
525
68337b8b
AB
5262021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
527
528 PR fortran/26155
529 * gdb.fortran/call-no-debug-func.f90: New file.
530 * gdb.fortran/call-no-debug-prog.f90: New file.
531 * gdb.fortran/call-no-debug.exp: New file.
532
faeb9f13
AB
5332021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
534
535 * gdb.fortran/associated.exp: New file.
536 * gdb.fortran/associated.f90: New file.
537
170f4b23
AB
5382021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
539
540 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
541
dd80d750
AB
5422021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
543
544 * gdb.base/sect-cmd.exp: Update expected results.
545
b91919ac
AB
5462021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
547
548 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
549 techniques. Enable the test for all targets.
550
02a79309
AB
5512021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
552
553 * gdb.base/maint-info-sections.exp: Add new tests.
554 (check_maint_info_target_sections_output): New proc.
555
895b7b4e
AB
5562021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
557
558 * gdb.arch/riscv-default-tdesc.exp: New file.
559
bc3c0632
AB
5602021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
561
562 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
563
acde2092
AB
5642021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
565
566 * gdb.arch/i386-biarch-core.exp: Add target check.
567
7d2e5095
AKS
5682021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
569
570 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
571
96df3e28
AB
5722021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
573
574 * gdb.fortran/allocated.exp: New file.
575 * gdb.fortran/allocated.f90: New file.
576
a1670b72
AB
5772021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
578
579 * gdb.fortran/lbound-ubound.exp: Remove old comment.
580
bf3386f0
AB
5812021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
582
583 * gdb.base/maint-info-sections.exp: Update expected output, and
584 add additional tests. Again.
585
4790db14
AB
5862021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
587
588 * gdb.base/maint-info-sections.exp: Update expected output, and
589 add additional tests.
590
f4be6772
AB
5912021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
592
593 * gdb.base/maint-info-sections.exp: New file, content is moved
594 from gdb.base/maint.exp and cleaned up to use latest testsuite
595 techniques.
596 * gdb.base/maint.exp: Tests moved out to
597 gdb.base/maint-info-sections.exp.
598
25ad1e83
SM
5992021-02-10 Simon Marchi <simon.marchi@efficios.com>
600
601 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
602 GDBFLAGS.
603
e92c8eb8
AB
6042021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
605
606 * gdb.fortran/lbound-ubound.F90: New file.
607 * gdb.fortran/lbound-ubound.exp: New file.
608
ee4c3d88
TV
6092021-02-10 Tom de Vries <tdevries@suse.de>
610
611 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
612 "Restore saved setting of complaints".
613
cf2b2075
TV
6142021-02-09 Tom de Vries <tdevries@suse.de>
615
616 PR symtab/27341
617 * lib/gdb.exp (with_complaints): New proc, factored out of ...
618 (gdb_load_no_complaints): ... here.
619 * gdb.fortran/function-calls.exp: Add test-case.
620
b61f7811
HAQ
6212021-02-09 Abid Qadeer <abidh@codesourcery.com>
622
623 * gdb.threads/signal-command-handle-nopass.exp: Call
624 'standard_testfile' before using 'testfile'.
625 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
626 * gdb.threads/signal-delivered-right-thread.exp: Likewise
627 * gdb.threads/signal-sigtrap.exp: Likewise
628
3d4aae48
LM
6292021-02-08 Luis Machado <luis.machado@linaro.org>
630
631 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
632
4001d90d
TV
6332021-02-08 Tom de Vries <tdevries@suse.de>
634
635 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
636
29db1eb3
AB
6372021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
638
639 * gdb.python/tui-window-disabled.c: New file.
640 * gdb.python/tui-window-disabled.exp: New file.
641 * gdb.python/tui-window-disabled.py: New file.
642
e0c23e11
AB
6432021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
644
645 * gdb.python/tui-window.exp: Add new tests.
646 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
647 TestWindow object into global the_window.
648 <remote_title>: New method.
649 (delete_window_title): New function.
650
1cf23996
AB
6512021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
652
653 * gdb.tui/winheight.exp: Add more tests.
654
2708dbbd
AB
6552021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
656
657 * gdb.python/py-framefilter.exp: Update expected results.
658 * gdb.python/python.exp: Update expected results.
659
cd074e04
AB
6602021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
661
662 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
663 about bug in GDB, update expected results, and add more tests.
664
5fb97639
AB
6652021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 * gdb.tui/scroll.exp: New file.
668 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
669 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
670 remaining lines up.
671 (Term::check_region_contents): New proc.
672 (Term::check_box_contents): Use check_region_contents.
673
c0e56745
TV
6742021-02-06 Tom de Vries <tdevries@suse.de>
675
676 PR testsuite/26922
677 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
678 scrolling.
679
0e857c82
TV
6802021-02-05 Tom de Vries <tdevries@suse.de>
681
682 PR breakpoints/27313
683 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
684 rejected.
685
a22ec6e8
TV
6862021-02-05 Tom de Vries <tdevries@suse.de>
687
688 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
689 * gdb.fortran/mixed-lang-stack.exp: Same.
690
ae710496
TV
6912021-02-05 Tom de Vries <tdevries@suse.de>
692
693 PR exp/27265
694 * gdb.base/complex-parts.exp: Add tests.
695
d3b54e63
TV
6962021-02-05 Tom de Vries <tdevries@suse.de>
697
698 PR symtab/27307
699 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
700
3eccb1c8
SV
7012021-02-04 Shahab Vahedi <shahab@synopsys.com>
702
703 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
704
a71501e2
PA
7052021-02-03 Pedro Alves <pedro@palves.net>
706
707 * gdb.threads/detach-step-over.c: New file.
708 * gdb.threads/detach-step-over.exp: New file.
709
92234eb1
PA
7102021-02-03 Pedro Alves <pedro@palves.net>
711
712 * gdb.threads/attach-non-stop.c: New file.
713 * gdb.threads/attach-non-stop.exp: New file.
714
2e3773ff
LS
7152021-02-02 Lancelot SIX <lsix@lancelotsix.com>
716
717 * gdb.base/inferior-noarg.c: New test.
718 * gdb.base/inferior-noarg.exp: New test.
719
e0bd9202
SM
7202021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
721
722 * gdb.base/scope.exp: Use proc_with_prefix.
723
9307efbe
SM
7242021-02-02 Simon Marchi <simon.marchi@efficios.com>
725
726 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
727 table proc.
728 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
729 .debug_rnglists table without offset array.
730 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
731 .debug_loclists table without offset array.
732
2b0c7f41
SM
7332021-02-02 Simon Marchi <simon.marchi@efficios.com>
734
735 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
736 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
737 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
738 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
739 attribute
740
ecfda20d
SM
7412021-02-02 Simon Marchi <simon.marchi@efficios.com>
742
743 PR gdb/26813
744 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
745 (loclists): New proc.
746 * gdb.dwarf2/loclists-multiple-cus.c: New.
747 * gdb.dwarf2/loclists-multiple-cus.exp: New.
748 * gdb.dwarf2/loclists-sec-offset.c: New.
749 * gdb.dwarf2/loclists-sec-offset.exp: New.
750
6b0933da
SM
7512021-02-02 Simon Marchi <simon.marchi@efficios.com>
752
753 * lib/dwarf.exp (_location): Add parameters.
754 (_handle_DW_FORM): Adjust.
755
962effa7
SM
7562021-02-02 Simon Marchi <simon.marchi@efficios.com>
757
758 PR gdb/26813
759 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
760 (cu): Generate header for DWARF 5.
761 (rnglists): New proc.
762 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
763 * gdb.dwarf2/rnglists-sec-offset.exp: New.
764
2bd3e4b8
TV
7652021-02-02 Tom de Vries <tdevries@suse.de>
766
767 PR symtab/24620
768 * gdb.dwarf2/fission-reread.exp: Add test-case.
769
c39c8637
TV
7702021-02-01 Tom de Vries <tdevries@suse.de>
771
772 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
773 * gdb.dwarf2/fission-loclists-pie.S: Same.
774 * gdb.dwarf2/fission-loclists.S: Same.
775 * gdb.dwarf2/fission-multi-cu.S: Same.
776 * gdb.dwarf2/fission-reread.S: Same.
777 * gdb.dwarf2/fission-base.exp: Use DWO.
778 * gdb.dwarf2/fission-loclists-pie.exp: Same.
779 * gdb.dwarf2/fission-loclists.exp: Same.
780 * gdb.dwarf2/fission-multi-cu.exp: Same.
781 * gdb.dwarf2/fission-reread.exp: Same.
782
ebde6f2d
TV
7832021-01-29 Tom de Vries <tdevries@suse.de>
784
785 PR breakpoints/26063
786 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
787 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
788
620ec3ca
TV
7892021-01-29 Tom de Vries <tdevries@suse.de>
790
791 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
792
cdeba395
TV
7932021-01-28 Tom de Vries <tdevries@suse.de>
794
795 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
796 in the backtrace, and use that in the rest of the test instead of
797 hardcoded constant 3. Use "frame" instead of "up" for robustness.
798
c47b145e
TV
7992021-01-28 Tom de Vries <tdevries@suse.de>
800
801 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
802 * gdb.arch/i386-sse-stack-align.c: Same.
803 * gdb.arch/i386-sse-stack-align.exp: Same.
804
47918cca
AB
8052021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
806
807 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
808
2f985dd1
TV
8092021-01-28 Tom de Vries <tdevries@suse.de>
810
811 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
812
22efa3d3
TV
8132021-01-28 Tom de Vries <tdevries@suse.de>
814
815 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
816 "maint info line-table". Make PASS pattern more specific. Make
817 FAIL pattern work for -m32.
818
59b59f08
LS
8192021-01-27 Lancelot SIX <lsix@lancelotsix.com>
820
821 PR gdb/27133
822 * gdb.base/ui-redirect.exp: Add test case that ensures that
823 redirecting both logging and debug does not cause gdb to crash.
824
825
807f647c
MM
8262021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
827
828 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
829
4ca40594
TV
8302021-01-26 Tom de Vries <tdevries@suse.de>
831
832 * gdb.threads/killed-outside.exp: Allow regular output.
833
d0021af3
TV
8342021-01-26 Tom de Vries <tdevries@suse.de>
835
836 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
837
9f6c202e
TV
8382021-01-25 Tom de Vries <tdevries@suse.de>
839
840 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
841 * lib/gdb.exp: Use gdb_load_no_complaints.
842
a625a8c9
TT
8432021-01-25 Tom Tromey <tromey@adacore.com>
844
845 * gdb.ada/fixed_points.exp: Add regression test.
846 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
847 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
848
19184910
TT
8492021-01-25 Tom Tromey <tromey@adacore.com>
850
851 * gdb.ada/local-enum.exp: Add enumerator resolution test.
852
acd6125f
TT
8532021-01-25 Tom Tromey <tromey@adacore.com>
854
855 * gdb.ada/local-enum.exp: New file.
856 * gdb.ada/local-enum/local.adb: New file.
857
1af4c9c4
TT
8582021-01-23 Tom Tromey <tom@tromey.com>
859
860 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
861
705646c0
BE
8622021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
863
864 * gdb.base/line65535.exp: Fix test expectation.
865
0ac85db5
SM
8662021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
867
868 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
869 suppression.
870 (default_gdb_exit): Likewise.
871 (default_gdb_spawn): Likewise.
872 (send_gdb): Likewise.
873 (gdb_expect): Likewise.
874 (gdb_expect_list): Likewise.
875 (default_gdb_init): Likewise.
876 (gdb_suppress_entire_file): Remove.
877 (gdb_suppress_tests): Remove.
878 (gdb_stop_suppressing_tests): Remove.
879 (gdb_clear_suppressed): Remove.
880 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
881 related to test suppression.
882 (default_mi_gdb_start): Likewise.
883 (mi_gdb_reinitialize_dir): Likewise.
884 (mi_gdb_test): Likewise.
885 (mi_run_cmd_full): Likewise.
886 (mi_runto_helper): Likewise.
887 (mi_execute_to): Likewise.
888 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
889 * gdb.base/bitfields.exp: Likewise.
890 * gdb.base/bitfields2.exp: Likewise.
891 * gdb.base/break.exp: Likewise.
892 * gdb.base/call-sc.exp: Likewise.
893 * gdb.base/callfuncs.exp: Likewise.
894 * gdb.base/dfp-test.exp: Likewise.
895 * gdb.base/endian.exp: Likewise.
896 * gdb.base/exprs.exp: Likewise.
897 * gdb.base/funcargs.exp: Likewise.
898 * gdb.base/hbreak2.exp: Likewise.
899 * gdb.base/recurse.exp: Likewise.
900 * gdb.base/scope.exp: Likewise.
901 * gdb.base/sepdebug.exp: Likewise.
902 * gdb.base/structs.exp: Likewise.
903 * gdb.base/until.exp: Likewise.
904 * gdb.cp/misc.exp: Likewise.
905
9d2d8a16
AB
9062021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
907
908 PR cli/25956
909 * gdb.base/style.exp (run_style_tests): Add version string test.
910 (test_startup_version_string): Use version style name.
911 * lib/gdb-utils.exp (style): Handle version style name.
912
e7b43072
AB
9132021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
914
915 * gdb.base/style.exp (limited_style): New proc.
916 (clean_restart_and_disable): New proc.
917 (run_style_tests): New proc. Most of the old tests from this file
918 are now in this proc.
919 (test_startup_version_string): New proc. Reamining test from the
920 old file is in this proc.
921
2189c312
SM
9222021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
923
924 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
925 Adjust to "set debug remote" changes.
926
cd211c75
LM
9272021-01-21 Luis Machado <luis.machado@linaro.org>
928
929 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
930 message.
931
730af663
SM
9322021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
933
934 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
935
325d39e4
HD
9362021-01-21 Hannes Domani <ssbssa@yahoo.de>
937
938 PR python/19151
939 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
940
c3e96aa7
SM
9412021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
942
943 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
944
6571ffc6
SM
9452021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
946
947 * lib/tuiterm.exp: Add links in comments.
948
7c794afd
TV
9492021-01-20 Tom de Vries <tdevries@suse.de>
950
951 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
952 offset.
953
1402665c
TV
9542021-01-20 Tom de Vries <tdevries@suse.de>
955
956 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
957
6f52fdf4
SDJ
9582021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
959
960 * gdb.arch/amd64-stap-expressions.S: New file.
961 * gdb.arch/amd64-stap-expressions.exp: New file.
962
14852123
TV
9632021-01-19 Tom de Vries <tdevries@suse.de>
964
965 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
966 sequence.
967
0c4e2c6c
TV
9682021-01-19 Tom de Vries <tdevries@suse.de>
969
970 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
971
02baa133
AB
9722021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
973
974 * gdb.fortran/array-slices.exp (run_test): Avoid including
975 addresses in test names.
976
10f92414
TV
9772021-01-15 Tom de Vries <tdevries@suse.de>
978
979 PR testsuite/26997
980 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
981 when adding sizeof.
982
116d0cf1
TV
9832021-01-14 Tom de Vries <tdevries@suse.de>
984
985 PR testsuite/24590
986 * gdb.base/style.exp: Handle shorter argv in frame command output.
987
8f66807b
AB
9882021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
989
990 PR gdb/26819
991 * gdb.server/stop-reply-no-thread-multi.c: New file.
992 * gdb.server/stop-reply-no-thread-multi.exp: New file.
993
3f94e588
TV
9942021-01-12 Tom de Vries <tdevries@suse.de>
995
996 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
997 (main): Remove call to have_mpx.
998 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
999 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1000 (main): Remote call to have_mpx.
1001 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1002 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1003 (main): Remove call to have_mpx.
1004 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1005 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1006 (main): Remove call to have_mpx.
1007 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1008 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1009 (main): Remote call to have_mpx.
1010 * gdb.arch/i386-mpx.exp: Use have_mpx.
1011 * lib/gdb.exp (have_mpx): New proc.
1012
5291fe3c
SP
10132021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1014
1015 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1016
18bfb505
TV
10172021-01-12 Tom de Vries <tdevries@suse.de>
1018
1019 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1020
ce38f5ed
AB
10212021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1022
1023 * gdb.fortran/debug-expr.exp: Add new tests.
1024
7c654b71
AB
10252021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1026
1027 * gdb.fortran/dot-ops.exp: Add new tests.
1028
10dadadc
TV
10292021-01-11 Tom de Vries <tdevries@suse.de>
1030
1031 PR testsuite/26968
1032 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1033 Move insn setting $eax to before probe point.
1034
66beed02
TT
10352021-01-09 Tom Tromey <tom@tromey.com>
1036
1037 * gdb.trace/ax.exp: Do not require an "ext".
1038
8fc48b79
TT
10392021-01-08 Tom Tromey <tromey@adacore.com>
1040
1041 * gdb.ada/voidctx/pck.adb: New file.
1042 * gdb.ada/voidctx/pck.ads: New file.
1043 * gdb.ada/voidctx/voidctx.adb: New file.
1044 * gdb.ada/voidctx.exp: New file.
1045
6abd4cf2
SM
10462021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1047
1048 PR gdb/27157
1049 * gdb.base/empty-host-env-vars.exp: New test.
1050
d00f0868
AB
10512021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1052
1053 * gdb.base/completion.exp: Add a new test.
1054
3c8c6de2
AB
10552021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1056
1057 * gdb.fortran/intvar-dynamic-types.exp: New file.
1058 * gdb.fortran/intvar-dynamic-types.f90: New file.
1059
e3436813
AB
10602021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1061
1062 * gdb.fortran/intvar-array.exp: New file.
1063 * gdb.fortran/intvar-array.f90: New file.
1064
d4813f10
TT
10652021-01-07 Tom Tromey <tromey@adacore.com>
1066
1067 * gdb.ada/assign_arr.exp: Add 'others' test.
1068
b49180ac
TT
10692021-01-06 Tom Tromey <tromey@adacore.com>
1070
1071 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1072 (FP4_Type): New type.
1073 (FP4_Var): New variable.
1074 * gdb.ada/fixed_points/fixed_points.adb: Update.
1075 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1076
3c55062c
SM
10772021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1078
1079 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1080 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1081 Pass prompt containing debug print to gdb_test_sequence.
1082
e4ad960a
TV
10832021-01-04 Tom de Vries <tdevries@suse.de>
1084
1085 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1086
3ec3145c
SM
10872021-01-04 Simon Marchi <simon.marchi@efficios.com>
1088
1089
1090
8dc558a0
SM
10912021-01-04 Simon Marchi <simon.marchi@efficios.com>
1092
1093 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1094 * gdb.server/connect-without-multi-process.exp: Likewise.
1095 * gdb.server/exit-multiple-threads.exp: Likewise.
1096 * gdb.server/ext-attach.exp: Likewise.
1097 * gdb.server/ext-restart.exp: Likewise.
1098 * gdb.server/ext-run.exp: Likewise.
1099 * gdb.server/ext-wrapper.exp: Likewise.
1100 * gdb.server/multi-ui-errors.exp: Likewise.
1101 * gdb.server/no-thread-db.exp: Likewise.
1102 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1103 * gdb.server/run-without-local-binary.exp: Likewise.
1104 * gdb.server/server-kill.exp: Likewise.
1105 * gdb.server/server-run.exp: Likewise.
1106 * gdb.server/solib-list.exp: Likewise.
1107 * gdb.server/stop-reply-no-thread.exp: Likewise.
1108 * gdb.server/wrapper.exp: Likewise.
1109 * gdb.server/sysroot.exp: Increase timeout when testing the
1110 target: sysroot.
1111
d8387cc8
SM
11122021-01-04 Simon Marchi <simon.marchi@efficios.com>
1113
1114 * gdb.server/server-run.exp: Use clean_restart.
1115
5169ae34
SM
11162021-01-04 Simon Marchi <simon.marchi@efficios.com>
1117
1118 * gdb.server/ext-run.exp: Use clean_restart.
1119
7b0ff8a2
SM
11202021-01-04 Simon Marchi <simon.marchi@efficios.com>
1121
1122 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1123 instead of prepare_for_testing.
1124
a754fbdf
SM
11252021-01-04 Simon Marchi <simon.marchi@efficios.com>
1126
1127 * gdb.server/solib-list.exp: Use clean_restart.
1128
c5e71b33
TV
11292021-01-04 Tom de Vries <tdevries@suse.de>
1130
1131 * gdb.base/morestack.c: Remove printf.
1132 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1133
9b243007
TT
11342020-12-31 Tom Tromey <tom@tromey.com>
1135
1136 * gdb.rust/simple.exp: Update output for Rust 1.49.
1137
4ff509e7
BE
11382020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1139
1140 * gdb.cp/step-and-next-inline.exp: Fix test case.
1141
391750c3
SM
11422020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1143
1144 * gdb.python/py-frame-args.exp: De-duplicate test names.
1145
b7874836
AB
11462020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1147
1148 PR gdb/27059
1149 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1150 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1151
e1ff6226
PW
11522020-12-21 Peter Waller <p@pwaller.net>
1153
1154 * gdb.base/style-interp-exec-mi.exp: New.
1155 * gdb.base/style-interp-exec-mi.c: New.
1156
ca01f1bf
SM
11572020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1158
1159 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1160 gdb_test. Use proc_with_prefix.
1161
0fe69a94
MM
11622020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1163
1164 * gdb.btrace/exception.exp: Build with nopie.
1165 * gdb.btrace/function_call_history.exp: Likewise.
1166 * gdb.btrace/unknown_functions.exp: Likewise.
1167
806e7575
MM
11682020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1169
1170 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1171
493d2172
MM
11722020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1173
1174 * gdb.python/py-record-btrace.exp: Make test names unique.
1175 * gdb.python/py-record-full.exp: Likewise.
1176
1a1c0afc
MM
11772020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1178
1179 * gdb.btrace/data.exp: Make test names unique.
1180 * gdb.btrace/delta.exp: Likewise.
1181 * gdb.btrace/enable.exp: Likewise.
1182 * gdb.btrace/function_call_history.exp: Likewise.
1183 * gdb.btrace/nohist.exp: Likewise.
1184 * gdb.btrace/non-stop.exp: Likewise.
1185 * gdb.btrace/rn-dl-bind.exp: Likewise.
1186 * gdb.btrace/step.exp: Likewise.
1187 * gdb.btrace/stepi.exp: Likewise.
1188 * gdb.btrace/tailcall.exp: Likewise.
1189
98d837f0
MM
11902020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1191
1192 * gdb.btrace/enable.exp: Update error message.
1193 * gdb.btrace/multi-inferior.exp: Likewise.
1194 * gdb.btrace/reconnect.exp: Likewise.
1195 * gdb.python/py-record-btrace.exp: Likewise.
1196 * gdb.python/py-record-full.exp: Likewise.
1197
c541fa7c
TV
11982020-12-20 Tom de Vries <tdevries@suse.de>
1199
1200 * lib/gdb.exp (save_target_board_info): New proc.
1201 (gdb_compile_shlib): Use save_target_board_info.
1202
60108e47
TV
12032020-12-19 Tom de Vries <tdevries@suse.de>
1204
1205 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1206 (supports_gnuc): New proc.
1207 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1208 test_compiler_info calls. Add unsupported message.
1209 * gdb.base/endianity.c: Use TEST_SSO.
1210
fa639f55
HD
12112020-12-19 Hannes Domani <ssbssa@yahoo.de>
1212
1213 PR exp/27070
1214 * gdb.python/compare-enum-type-a.c: New test.
1215 * gdb.python/compare-enum-type-b.c: New test.
1216 * gdb.python/compare-enum-type.exp: New file.
1217 * gdb.python/compare-enum-type.h: New test.
1218
4aea001f
HD
12192020-12-18 Hannes Domani <ssbssa@yahoo.de>
1220
1221 * gdb.python/py-format-string.exp: Add tests for address keyword.
1222
b3f9469b
HD
12232020-12-18 Hannes Domani <ssbssa@yahoo.de>
1224
1225 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1226
86ef42bd
TT
12272020-12-18 Tom Tromey <tromey@adacore.com>
1228
1229 * gdb.ada/fixed_points.exp: Also run with
1230 -fgnat-encodings=minimal. Update expected output.
1231
93df4a1d
SM
12322020-12-16 Simon Marchi <simon.marchi@efficios.com>
1233
1234 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1235 * gdb.base/continue-all-already-running.exp: Likewise.
1236 * gdb.base/moribund-step.exp: Likewise.
1237 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1238
592995fa
TV
12392020-12-16 Tom de Vries <tdevries@suse.de>
1240
1241 * gdb.base/batch-preserve-term-settings.exp:
1242
1e61189d
TV
12432020-12-16 Tom de Vries <tdevries@suse.de>
1244
1245 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1246 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1247
19007d95
LM
12482020-12-16 Luis Machado <luis.machado@linaro.org>
1249
1250 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1251 pointer-based memory accesses.
1252 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1253 hw watchpoint cases.
1254
a33fc9ae
RK
12552020-12-15 Rae Kim <rae.kim@gmail.com>
1256
1257 * gdb.base/document.exp: New test.
1258
0e5ad442
TT
12592020-12-15 Tom Tromey <tromey@adacore.com>
1260
1261 * gdb.base/style.exp: Add deprecation tests.
1262
60598dbd
SM
12632020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1264
1265 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1266
8cd6d968
MW
12672020-12-14 Mark Wielaard <mark@klomp.org>
1268
1269 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1270 specially, set attr_form_comment to the actual FORM string used.
1271
eab9267c
MW
12722020-12-14 Mark Wielaard <mark@klomp.org>
1273
1274 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1275 _constants(SPECIAL_expr) here, but set it...
1276 (Dwarf::cu): ...here based on _cu_version.
1277
2f413264
TV
12782020-12-14 Tom de Vries <tdevries@suse.de>
1279
1280 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1281 pass -fPIC.
1282 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1283 * gdb.base/break-probes.exp: Same.
1284 * gdb.base/ctxobj.exp: Same.
1285 * gdb.base/dso2dso.exp: Same.
1286 * gdb.base/global-var-nested-by-dso.exp: Same.
1287 * gdb.base/info-shared.exp: Same.
1288 * gdb.base/jit-reader-simple.exp: Same.
1289 * gdb.base/print-file-var.exp: Same.
1290 * gdb.base/skip-solib.exp: Same.
1291 * gdb.btrace/dlopen.exp: Same.
1292
18f1cb1f
TV
12932020-12-14 Tom de Vries <tdevries@suse.de>
1294
1295 PR testsuite/26963
1296 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1297
519155c9
TV
12982020-12-14 Tom de Vries <tdevries@suse.de>
1299
1300 PR testsuite/26962
1301 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1302 cast it to its declared type".
1303
153f6e6c
TV
13042020-12-14 Tom de Vries <tdevries@suse.de>
1305
1306 PR testsuite/26951
1307 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1308 shell prompt.
1309
86b44259
TT
13102020-12-14 Tom Tromey <tromey@adacore.com>
1311
1312 * gdb.ada/nested.exp: Add new tests.
1313 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1314
e26624c6
TT
13152020-12-14 Tom Tromey <tromey@adacore.com>
1316
1317 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1318
a3bdae4e
TT
13192020-12-14 Tom Tromey <tromey@adacore.com>
1320
1321 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1322
862fcbd8
TV
13232020-12-13 Tom de Vries <tdevries@suse.de>
1324
1325 PR testsuite/26953
1326 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1327 attribute support if compiler doesn't support it.
1328
a406a98e
TV
13292020-12-13 Tom de Vries <tdevries@suse.de>
1330
1331 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1332 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1333 source to shared lib. Add ada to options.
1334
5d7e6ed0
TV
13352020-12-13 Tom de Vries <tdevries@suse.de>
1336
1337 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1338 calling gnatbind and gnatlink.
1339
ee9812a0
AB
13402020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1341
1342 * gdb.base/dcache-flush.c: New file.
1343 * gdb.base/dcache-flush.exp: New file.
1344
50a5f187
AB
13452020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1346
1347 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1348 commands.
1349 * gdb.base/killed-outside.exp: Likewise.
1350 * gdb.opt/inline-bt.exp: Likewise.
1351 * gdb.perf/gmonster-null-lookup.py: Likewise.
1352 * gdb.perf/gmonster-print-cerr.py: Likewise.
1353 * gdb.perf/gmonster-ptype-string.py: Likewise.
1354 * gdb.python/py-unwind.exp: Likewise.
1355
19c659f1
AB
13562020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1357
1358 * gdb.base/commands.exp: Update expected results.
1359
9ef6d4a1
AB
13602020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1361
1362 PR cli/15104
1363 * gdb.base/commands.exp: Add additional tests.
1364 * gdb.base/completion.exp: Add additional tests.
1365
1536146f
AB
13662020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1367
1368 * gdb.base/completion.exp: Add additional tests.
1369
346e7e19
TV
13702020-12-11 Tom de Vries <tdevries@suse.de>
1371
1372 PR testsuite/26991
1373 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1374 violations by setting bounds registers if the bounds are passed in the
1375 Bounds Table.
1376
9cd7a95a
TV
13772020-12-11 Tom de Vries <tdevries@suse.de>
1378
1379 PR testsuite/26954
1380 * gdb.base/float128.exp: Detect and handle no mpfr support.
1381
4483a8e7
SM
13822020-12-10 Simon Marchi <simon.marchi@efficios.com>
1383
1384 PR gdb/24694
1385 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1386 calls.
1387
10067028
TV
13882020-12-10 Tom de Vries <tdevries@suse.de>
1389
1390 PR testsuite/26947
1391 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1392 braces for tcl 8.5 and earlier.
1393
5b56203a
SM
13942020-12-09 Simon Marchi <simon.marchi@efficios.com>
1395
1396 PR 26875, PR 26901
1397 * gdb.base/flexible-array-member.c: New test.
1398 * gdb.base/flexible-array-member.exp: New test.
1399
b46551b2
TV
14002020-12-08 Tom de Vries <tdevries@suse.de>
1401
1402 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1403 using is_amd64_regs_target.
1404
8439f446
TV
14052020-12-08 Tom de Vries <tdevries@suse.de>
1406
1407 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1408 self_id.
1409
bc545da7
PA
14102020-12-07 Pedro Alves <pedro@palves.net>
1411
1412 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1413 'additional_flags' variable.
1414
1f58f6c2
TBA
14152020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1416
1417 * gdb.linespec/explicit.exp: Extend with a test to check completing
1418 '-' after seemingly complete options.
1419
5759831a
TBA
14202020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1421
1422 * gdb.linespec/keywords.exp: Add tests to check positional
1423 flexibility of "-force-condition".
1424
21e051b3
TBA
14252020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1426
1427 * gdb.base/bp-cmds-run-with-ex.c: New file.
1428 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1429 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1430 * gdb.gdb/python-interrupts.exp: Update the call to
1431 'catch_command_errors' with the new argument.
1432 * gdb.gdb/python-selftest.exp: Ditto.
1433
187b041e
SM
14342020-12-04 Simon Marchi <simon.marchi@efficios.com>
1435
1436 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1437 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1438 * gdb.threads/non-stop-fair-events.exp: Likewise.
1439
3b7a962d
SM
14402020-12-04 Simon Marchi <simon.marchi@efficios.com>
1441
1442 * gdb.threads/step-over-exec.exp: New.
1443 * gdb.threads/step-over-exec.c: New.
1444 * gdb.threads/step-over-exec-execd.c: New.
1445 * lib/my-syscalls.S: New.
1446 * lib/my-syscalls.h: New.
1447
e633b117
SM
14482020-12-04 Simon Marchi <simon.marchi@efficios.com>
1449
1450 * lib/dwarf.exp (declare_labels): Use name as text if text is
1451 not provided.
1452
67748e0f
TV
14532020-12-04 Tom de Vries <tdevries@suse.de>
1454
1455 PR testsuite/26990
1456 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1457 are unsupported.
1458
a8d13675
TV
14592020-12-04 Tom de Vries <tdevries@suse.de>
1460
1461 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1462 clause.
1463
f17727b3
TV
14642020-12-04 Tom de Vries <tdevries@suse.de>
1465
1466 * gdb.reverse/insn-reverse.exp: Fix count handling.
1467
a1499830
TV
14682020-12-04 Tom de Vries <tdevries@suse.de>
1469
1470 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1471 __x86_64__.
1472
9c027c2f
TV
14732020-12-04 Tom de Vries <tdevries@suse.de>
1474
1475 * gdb.reverse/insn-reverse.c (test_nr): New var.
1476 (usage, parse_args): New function.
1477 (main): Call parse_args. Only run test for test_nr.
1478 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1479 and bail out. Run subtests individually, using an inferior arg
1480 specifying the subtest.
1481
533b2ae0
AB
14822020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1483
1484 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1485
e4502042
AB
14862020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1487
1488 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1489 update test to use this.
1490
f55a9a37
SM
14912020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1492
1493 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1494
0a6155a0
SM
14952020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1496
1497 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1498 (do_test): Don't use with_test_prefix.
1499 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1500 (do_test): Don't use with_test_prefix.
1501 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1502 (do_test): Don't use with_test_prefix.
1503 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1504 (do_test): Don't use with_test_prefix.
1505
4d56d64a
SM
15062020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1507
1508 * gdb.threads/non-ldr-exit.exp: Fix comment.
1509
54e75f29
AB
15102020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1511
1512 * gdb.xml/maint-xml-dump-03.xml: New file.
1513
7ce05d21
TV
15142020-11-30 Tom de Vries <tdevries@suse.de>
1515
1516 PR symtab/26905
1517 * gdb.dwarf2/count.exp: Remove kfails.
1518
50757f95
TBA
15192020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1520
1521 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1522 indices.
1523
4afa9fd9
JB
15242020-11-24 Joel Brobecker <brobecker@adacore.com>
1525
1526 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1527 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1528 languages. Remove the associated setup_xfail.
1529
15a491af
SM
15302020-11-23 Simon Marchi <simon.marchi@efficios.com>
1531
1532 * lib/gdb.exp (gdb_assert): Show error message on error.
1533
891615f0
TV
15342020-11-23 Tom de Vries <tdevries@suse.de>
1535
1536 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1537 * gdb.ada/mod_from_name.exp: Same.
1538 * gdb.ada/pckd_arr_ren.exp: Same.
1539
19922582
SM
15402020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1541
1542 * gdb.base/template.exp: New.
1543 * gdb.base/template.c: New.
1544
117c628d
GB
15452020-11-22 Gary Benson <gbenson@redhat.com>
1546
1547 PR gdb/26905
1548 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1549 is defined using a DW_AT_count which references another DIE.
1550
da39d3ba
TV
15512020-11-21 Tom de Vries <tdevries@suse.de>
1552
1553 * gdb.base/vla-ptr.exp: Add XFAIL.
1554
a5c641b5
AB
15552020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1556
1557 * gdb.fortran/array-slices-bad.exp: New file.
1558 * gdb.fortran/array-slices-bad.f90: New file.
1559 * gdb.fortran/array-slices-sub-slices.exp: New file.
1560 * gdb.fortran/array-slices-sub-slices.f90: New file.
1561 * gdb.fortran/array-slices.exp: Rewrite tests.
1562 * gdb.fortran/array-slices.f90: Rewrite tests.
1563 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1564
a15a5258
AB
15652020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1566
1567 * gdb.base/completion.exp: Add new completion tests.
1568
7cb2893d
SM
15692020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1570
1571 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1572 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1573 * gdb.mi/mi-nsintrall.exp: Likewise.
1574 * gdb.mi/mi-nsmoribund.exp: Likewise.
1575 * gdb.mi/mi-nsthrexec.exp: Likewise.
1576 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1577
cf144ec8
SM
15782020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1579
1580 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1581 of perror.
1582
6b6a3e05
JM
15832020-11-18 Joseph Myers <joseph@codesourcery.com>
1584
1585 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1586 $arg.exe exists but $arg does not.
1587
811bdca0
GB
15882020-11-17 Gary Benson <gbenson@redhat.com>
1589
1590 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1591 __attribute__ ((used)).
1592
c72e3136
AB
15932020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1594
1595 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1596
037d7135
AB
15972020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1598
1599 * gdb.base/completion.exp: Add new tests.
1600
119e99bb
TT
16012020-11-16 Tom Tromey <tromey@adacore.com>
1602
1603 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1604 tests.
1605
b74dbc20
JB
16062020-11-15 Joel Brobecker <brobecker@adacore.com>
1607
1608 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1609 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1610 (main): Add reference to pck__fp1_var2.
1611 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1612
0a12719e
JB
16132020-11-15 Joel Brobecker <brobecker@adacore.com>
1614
1615 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1616
0c9150e4
JB
16172020-11-15 Joel Brobecker <brobecker@adacore.com>
1618
1619 * gdb.ada/fixed_points.exp: Add ptype tests.
1620 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1621
b26daff9
JB
16222020-11-15 Joel Brobecker <brobecker@adacore.com>
1623
1624 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1625
09584414
JB
16262020-11-15 Joel Brobecker <brobecker@adacore.com>
1627
1628 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1629 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1630 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1631 New files.
1632 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1633
1634 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1635 New files.
1636
9dd02fc0
AB
16372020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1638
1639 PR cli/26879
1640 * gdb.fortran/completion.exp: New file.
1641 * gdb.fortran/completion.f90: New file.
1642
5643c500
JM
16432020-11-12 Joseph Myers <joseph@codesourcery.com>
1644
1645 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1646 but $arg does not.
1647
7bea47f0
AB
16482020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1649
1650 * gdb.fortran/types.exp: Add more tests.
1651
1f2624a3
TT
16522020-11-12 Tom Tromey <tom@tromey.com>
1653
1654 PR rust/26799:
1655 * gdb.rust/traits.exp: Remove kfails.
1656
9e74f0ae
GB
16572020-11-12 Gary Benson <gbenson@redhat.com>
1658
1659 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1660 statement.
1661
acb994fa
SM
16622020-11-11 Simon Marchi <simon.marchi@efficios.com>
1663
1664 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1665 always-inserted" axis.
1666 (do_test): Add breakpoint_always_inserted parameter.
1667
95016fd2
TT
16682020-11-10 Tom Tromey <tromey@adacore.com>
1669
1670 * gdb.ada/bias.exp: Update.
1671 * gdb.ada/bias/bias.adb (X): Change value.
1672
83100a74
GB
16732020-11-10 Gary Benson <gbenson@redhat.com>
1674
1675 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1676 regexp fragment in parentheses to prevent false matching.
1677
6ff174a7
GB
16782020-11-10 Gary Benson <gbenson@redhat.com>
1679
1680 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1681
eb24648c
GB
16822020-11-10 Gary Benson <gbenson@redhat.com>
1683
1684 * gdb.cp/step-and-next-inline.exp: Only require
1685 -gstatement-frontiers when building with GCC.
1686 Only setup KFAIL's for GCC issues when using
1687 a GCC-built executable.
1688
86775fab
AB
16892020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1690
1691 * gdb.base/debug-expr.c: Add extra function to allow for an
1692 additional test.
1693 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1694 to this proc with gdb_test_debug_expr. Add an extra test.
1695 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1696 to this proc with gdb_test_debug_expr, give the tests names
1697 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1698 calls to this proc with gdb_test_debug_expr, give the tests names
1699 * gdb.fortran/debug-expr.exp: New file.
1700 * gdb.fortran/debug-expr.f90: New file.
1701 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1702
a1945bd4
SM
17032020-11-06 Simon Marchi <simon.marchi@efficios.com>
1704
1705 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1706 proceduresu.
1707 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1708 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1709 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1710 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1711 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1712 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1713 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1714 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1715
9c91c725
TT
17162020-11-04 Tom Tromey <tromey@adacore.com>
1717
1718 * gdb.ada/funcall_ref.exp: Update.
1719 * gdb.ada/var_rec_arr.exp: Update.
1720
8d9fd3a1
TT
17212020-11-04 Tom Tromey <tromey@adacore.com>
1722
1723 * gdb.ada/rec_ptype.exp: New file.
1724 * gdb.ada/rec_ptype/main.adb: New file.
1725 * gdb.ada/rec_ptype/p.ads: New file.
1726
d8f62e84
TT
17272020-11-04 Tom Tromey <tromey@adacore.com>
1728
1729 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1730 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1731 (PT_Full): New variable.
1732 * gdb.ada/tick_length_array_enum_idx/pck.adb
1733 (Full_PT): New type.
1734
7ff5b937
TT
17352020-11-04 Tom Tromey <tromey@adacore.com>
1736
1737 * gdb.ada/array_of_variant.exp: New file.
1738 * gdb.ada/array_of_variant/p.adb: New file.
1739 * gdb.ada/array_of_variant/pck.ads: New file.
1740 * gdb.ada/array_of_variant/pck.adb: New file.
1741
10f6a3ad
TT
17422020-11-04 Tom Tromey <tromey@adacore.com>
1743
1744 * gdb.ada/enum_idx_packed.exp: Add test.
1745 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1746 New variable.
1747 * gdb.ada/enum_idx_packed/pck.ads (Short)
1748 (Multi_Dimension, Multi_Dimension_Access): New types.
1749
b72795a8
TT
17502020-11-04 Tom Tromey <tromey@adacore.com>
1751
1752 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1753
24aa1b02
TT
17542020-11-04 Tom Tromey <tromey@adacore.com>
1755
1756 * gdb.ada/set_pckd_arr_elt.exp: Also test
1757 -fgnat-encodings=minimal. Add tests.
1758 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1759 Call Update_Small a second time.
1760 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1761 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1762 (Variant_Access): New types.
1763 (New_Variant): Declare.
1764
c9a28cbe
TT
17652020-11-04 Tom Tromey <tromey@adacore.com>
1766
1767 * gdb.ada/mod_from_name.exp: Test printing slice.
1768
57567375
TT
17692020-11-04 Tom Tromey <tromey@adacore.com>
1770
1771 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1772 values.
1773 * gdb.ada/access_to_unbounded_array.exp: Test different
1774 -fgnat-encodings values.
1775 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1776 values.
1777 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1778 values.
1779 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1780 values.
1781 * gdb.ada/array_of_variable_length.exp: Test different
1782 -fgnat-encodings values.
1783 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1784 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1785 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1786 change.
1787 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1788 values.
1789 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1790 * gdb.ada/out_of_line_in_inlined.exp: Test different
1791 -fgnat-encodings values.
1792 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1793 values.
1794 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1795 values.
1796 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1797 -fgnat-encodings values.
1798 * gdb.ada/variant_record_packed_array.exp: Test different
1799 -fgnat-encodings values.
1800
a7400e44
TT
18012020-11-04 Tom Tromey <tromey@adacore.com>
1802
1803 * gdb.ada/enum_idx_packed.exp: Add tests.
1804 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1805 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1806 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1807 declarations.
1808
c40907bf
TV
18092020-11-03 Tom de Vries <tdevries@suse.de>
1810
1811 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1812 terminator comments.
1813 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1814 terminator.
1815
f468977a
SM
18162020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1817
1818 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1819 integer format test with regexp.
1820
1c2bec19
GB
18212020-11-02 Gary Benson <gbenson@redhat.com>
1822
1823 * gdb.base/print-file-var.exp (test): Separate compiler and
1824 linker options, and build using build_executable_from_specs
1825 to accommodate this.
1826
6539a36d
GB
18272020-11-02 Gary Benson <gbenson@redhat.com>
1828
1829 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1830 for .c files compiled as C++ with Clang if any shared
1831 libraries are specified.
1832
7ea44a51
GB
18332020-11-02 Gary Benson <gbenson@redhat.com>
1834
1835 * lib/attributes.h: New header.
1836 * gdb.base/backtrace.c: Include the above. Replace
1837 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1838 * gdb.base/infcall-nested-structs.c: Likewise.
1839 * gdb.base/vla-optimized-out.c: Likewise.
1840
ab8f783d
TV
18412020-11-02 Tom de Vries <tdevries@suse.de>
1842
1843 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1844
d77c9224
JB
18452020-11-01 Joel Brobecker <brobecker@adacore.com>
1846
1847 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1848 System.Min_Int and System.Max_Int with smaller hardcoded
1849 constants.
1850
0e5b0dd0
SM
18512020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1852
1853 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1854 * configure: Re-generate.
1855
136821d9
SM
18562020-10-30 Simon Marchi <simon.marchi@efficios.com>
1857
1858 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1859 expected output.
1860
b78b3a29
TBA
18612020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1862
1863 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1864 behavior.
1865 * gdb.base/paginate-bg-execution.exp: Ditto.
1866 * gdb.base/paginate-inferior-exit.exp: Ditto.
1867 * gdb.base/double-prompt-target-event-error.c: Remove.
1868 * gdb.base/double-prompt-target-event-error.exp: Remove.
1869
cfaa8f76
TBA
18702020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1871
1872 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1873 inferiors' and 'detach inferiors' do not change the current
1874 inferior.
1875
0ad0e70c
TV
18762020-10-29 Tom de Vries <tdevries@suse.de>
1877
1878 * gdb.threads/tls.exp: Fix DUPLICATEs.
1879
99cc6b2a
TV
18802020-10-28 Tom de Vries <tdevries@suse.de>
1881
1882 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1883
efe9b873
TV
18842020-10-28 Tom de Vries <tdevries@suse.de>
1885
1886 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1887 * gdb.base/reread.exp: Same.
1888
6b68fd45
TV
18892020-10-28 Tom de Vries <tdevries@suse.de>
1890
1891 * lib/gdb.exp (readnow): Handle arg.
1892 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1893
32a5f98a
TV
18942020-10-28 Tom de Vries <tdevries@suse.de>
1895
1896 * gdb.base/relocate.exp: Update regexp for -readnow.
1897
f93b8760
TV
18982020-10-28 Tom de Vries <tdevries@suse.de>
1899
1900 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1901 -readnow.
1902
1b00ef06
TV
19032020-10-28 Tom de Vries <tdevries@suse.de>
1904
1905 PR symtab/26772
1906 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1907 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1908
364bb903
TV
19092020-10-28 Tom de Vries <tdevries@suse.de>
1910
1911 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1912 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1913 complaint during file command for -readnow.
1914
445a033f
TV
19152020-10-28 Tom de Vries <tdevries@suse.de>
1916
1917 * gdb.cp/nsalias.exp: Fix typo in test name.
1918
fdd67a42
TV
19192020-10-28 Tom de Vries <tdevries@suse.de>
1920
1921 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1922
706baf4c
TV
19232020-10-28 Tom de Vries <tdevries@suse.de>
1924
1925 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1926 -readnow.
1927
b448cca5
TV
19282020-10-27 Tom de Vries <tdevries@suse.de>
1929
1930 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1931
5868da03
TV
19322020-10-27 Tom de Vries <tdevries@suse.de>
1933
1934 * gdb.base/maint.exp: Update for -readnow.
1935
06db6ec3
TV
19362020-10-27 Tom de Vries <tdevries@suse.de>
1937
1938 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1939 -readnow.
1940
934a1764
GB
19412020-10-14 Gary Benson <gbenson@redhat.com>
1942
1943 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1944 "_vptr$Base" as correct, in addition to "_vptr.Base".
1945 (test_mixed): Likewise.
1946
0bf21fbd
GB
19472020-10-27 Gary Benson <gbenson@redhat.com>
1948
1949 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1950 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1951
b1d4d8d1
TBA
19522020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1953
1954 * gdb.base/condbreak.exp: Update the completion tests to
1955 consider the '-force' flag.
1956
bd24c5d6
TV
19572020-10-27 Tom de Vries <tdevries@suse.de>
1958
1959 * gdb.base/list-ambiguous-readnow.exp: New file.
1960
733d554a
TBA
19612020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1962
1963 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1964 the condition.
1965 * gdb.linespec/cpcompletion.exp: Update to consider the
1966 '-force-condition' keyword.
1967 * gdb.linespec/explicit.exp: Ditto.
1968 * lib/completion-support.exp: Ditto.
1969
b5fa468f
TBA
19702020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1971
1972 * gdb.base/condbreak-multi-context.cc: New file.
1973 * gdb.base/condbreak-multi-context.exp: New file.
1974
b3247276
TT
19752020-10-26 Tom Tromey <tom@tromey.com>
1976
1977 * lib/mi-support.exp (default_mi_gdb_start): Call
1978 gdb_stdin_log_init.
1979 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1980 subtract one from gdb_instances.
1981 (gdb_stdin_log_write): Flush in_file.
1982
1c47ec3e
TV
19832020-10-26 Tom de Vries <tdevries@suse.de>
1984
1985 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1986
6390859c
TT
19872020-10-26 Tom Tromey <tromey@adacore.com>
1988
1989 * gdb.ada/unsigned_range/foo.adb: New file.
1990 * gdb.ada/unsigned_range/pack.adb: New file.
1991 * gdb.ada/unsigned_range/pack.ads: New file.
1992 * gdb.ada/unsigned_range.exp: New file.
1993
55c3ad88
TV
19942020-10-26 Tom de Vries <tdevries@suse.de>
1995
1996 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1997
1612c4bb
TV
19982020-10-26 Tom de Vries <tdevries@suse.de>
1999
2000 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2001 for CU.
2002 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2003
7d72802b
TV
20042020-10-23 Tom de Vries <tdevries@suse.de>
2005
2006 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2007 DW_FORM_string.
2008 (Dwarf::_default_form): New proc.
2009 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2010 guessed.
2011
9476b583
TV
20122020-10-23 Tom de Vries <tdevries@suse.de>
2013
2014 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2015 * gdb.dwarf2/atomic-type.exp: Same.
2016 * gdb.dwarf2/bad-regnum.exp: Same.
2017 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2018 * gdb.dwarf2/dw2-align.exp: Same.
2019 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2020 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2021 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2022 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2023 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2024 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2025 * gdb.dwarf2/enum-type.exp: Same.
2026 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2027 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2028 * gdb.dwarf2/main-subprogram.exp: Same.
2029 * gdb.dwarf2/missing-type-name.exp: Same.
2030 * gdb.dwarf2/nonvar-access.exp: Same.
2031 * gdb.dwarf2/typedef-void-finish.exp: Same.
2032 * gdb.dwarf2/var-access.exp: Same.
2033 * gdb.dwarf2/void-type.exp: Same.
2034
4a636814
SM
20352020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2036
2037 PR gdb/26693
2038 * gdb.dwarf2/template-specification-full-name.exp: New test.
2039
557fc257
LM
20402020-10-22 Luis Machado <luis.machado@linaro.org>
2041
2042 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2043 expected an offset from the function.
2044 * gdb.base/msym-bp.exp (test): Likewise.
2045
6b4c676c
AB
20462020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2047
2048 * gdb.fortran/array-slices.exp: Add a new test.
2049
98cec4f6
GB
20502020-10-21 Gary Benson <gbenson@redhat.com>
2051
2052 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2053 fullname test with Clang. Also expand comments generally.
2054
ae86f581
TV
20552020-10-20 Tom de Vries <tdevries@suse.de>
2056
2057 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2058
8c161360
TV
20592020-10-20 Tom de Vries <tdevries@suse.de>
2060
2061 * gdb.dwarf2/arr-stride.c: Remove.
2062 * gdb.dwarf2/arr-stride.exp: Use main.c.
2063 * gdb.dwarf2/arr-subrange.c: Remove.
2064 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2065 * gdb.dwarf2/bad-regnum.c: Remove.
2066 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2067 * gdb.dwarf2/corrupt.c: Remove.
2068 * gdb.dwarf2/corrupt.exp: Use main.c.
2069 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2070 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2071 * gdb.dwarf2/dw2-icycle.c: Remove.
2072 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2073 * gdb.dwarf2/formdata16.c: Remove.
2074 * gdb.dwarf2/formdata16.exp: Use main.c.
2075 * gdb.dwarf2/implptrconst.c: Remove.
2076 * gdb.dwarf2/implptrconst.exp: Use main.c.
2077 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2078 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2079 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2080 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2081
9c2412ec
TV
20822020-10-20 Tom de Vries <tdevries@suse.de>
2083
2084 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2085 file.
2086 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2087
0cd2ad78
TV
20882020-10-20 Tom de Vries <tdevries@suse.de>
2089
2090 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2091 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2092 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2093 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2094 * gdb.dwarf2/dw2-ranges.exp: Same.
2095 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2096 * gdb.dwarf2/var-access.exp: Same.
2097
22cc388e
TT
20982020-10-19 Tom Tromey <tromey@adacore.com>
2099
2100 PR tui/26719
2101 * gdb.tui/list.exp: Check source window contents after focus
2102 change.
2103
520596f2
TV
21042020-10-17 Tom de Vries <tdevries@suse.de>
2105
2106 PR symtab/26317
2107 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2108
d1c8a76d
TV
21092020-10-17 Tom de Vries <tdevries@suse.de>
2110
2111 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2112 as suffix.
2113 * gdb.dwarf2/atomic.c: Rename to ...
2114 * gdb.dwarf2/atomic-type.c: ... this.
2115 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2116 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2117 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2118 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2119 * gdb.dwarf2/fission-mix2.c: Rename to ...
2120 * gdb.dwarf2/fission-mix-2.c: ... this.
2121 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2122 standard_testfile.
2123 * gdb.dwarf2/ada-valprint-error.exp: Same.
2124 * gdb.dwarf2/arr-stride.exp: Same.
2125 * gdb.dwarf2/arr-subrange.exp: Same.
2126 * gdb.dwarf2/atomic-type.exp: Same.
2127 * gdb.dwarf2/bad-regnum.exp: Same.
2128 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2129 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2130 * gdb.dwarf2/clang-debug-names.exp: Same.
2131 * gdb.dwarf2/comp-unit-lang.exp: Same.
2132 * gdb.dwarf2/corrupt.exp: Same.
2133 * gdb.dwarf2/count.exp: Same.
2134 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2135 * gdb.dwarf2/data-loc.exp: Same.
2136 * gdb.dwarf2/dw2-align.exp: Same.
2137 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2138 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2139 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2140 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2141 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2142 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2143 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2144 * gdb.dwarf2/dw2-inline-param.exp: Same.
2145 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2146 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2147 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2148 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2149 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2150 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2151 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2152 * gdb.dwarf2/dw2-param-error.exp: Same.
2153 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2154 * gdb.dwarf2/dw2-ranges.exp: Same.
2155 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2156 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2157 * gdb.dwarf2/dw4-sig-types.exp: Same.
2158 * gdb.dwarf2/dynarr-ptr.exp: Same.
2159 * gdb.dwarf2/enum-type.exp: Same.
2160 * gdb.dwarf2/fission-mix.exp: Same.
2161 * gdb.dwarf2/formdata16.exp: Same.
2162 * gdb.dwarf2/implptrconst.exp: Same.
2163 * gdb.dwarf2/implptrpiece.exp: Same.
2164 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2165 * gdb.dwarf2/main-subprogram.exp: Same.
2166 * gdb.dwarf2/method-ptr.exp: Same.
2167 * gdb.dwarf2/missing-sig-type.exp: Same.
2168 * gdb.dwarf2/nonvar-access.exp: Same.
2169 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2170 * gdb.dwarf2/shortpiece.exp: Same.
2171 * gdb.dwarf2/staticvirtual.exp: Same.
2172 * gdb.dwarf2/subrange.exp: Same.
2173 * gdb.dwarf2/symtab-producer.exp: Same.
2174 * gdb.dwarf2/typedef-void-finish.exp: Same.
2175 * gdb.dwarf2/var-access.exp: Same.
2176 * gdb.dwarf2/variant.exp: Same.
2177 * gdb.dwarf2/void-type.exp: Same.
2178 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2179 dw2-ranges-main.c.
2180 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2181
472d09c1
TV
21822020-10-16 Tom de Vries <tdevries@suse.de>
2183
2184 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2185
afe75f6d
TV
21862020-10-16 Tom de Vries <tdevries@suse.de>
2187
2188 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2189
8c8bd0ba
TV
21902020-10-14 Tom de Vries <tdevries@suse.de>
2191
2192 PR testsuite/26732
2193 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2194 scenario 2.
2195 * gdb.ada/mi_catch_ex_hand.exp: Same.
2196
b75d55d4
PA
21972020-10-13 Pedro Alves <pedro@palves.net>
2198
2199 * lib/mi-support.exp (mi_clean_restart): New.
2200 (mi_run_to_main): Delete.
2201 All callers adjust to use mi_clean_restart / mi_runto_main.
2202
e777225b
PA
22032020-10-13 Pedro Alves <pedro@palves.net>
2204
2205 * config/monitor.exp: Use "list -q".
2206 * gdb.arch/gdb1558.exp: Use "break -q".
2207 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2208 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2209 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2210 * gdb.base/commands.exp: Use "break -q".
2211 * gdb.base/condbreak.exp: Use "break -q".
2212 * gdb.base/ctf-ptype.exp: Use "list -q".
2213 * gdb.base/define.exp: Use "break -q".
2214 * gdb.base/del.exp: Use "break -q".
2215 * gdb.base/fullname.exp: Use "break -q".
2216 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2217 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2218 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2219 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2220 "hbreak -q".
2221 * gdb.base/included.exp: Use "list -q".
2222 * gdb.base/label.exp: Use "break -q".
2223 * gdb.base/lineinc.exp: Use "break -q".
2224 * gdb.base/list.exp: Use "list -q".
2225 * gdb.base/macscp.exp: Use "list -q".
2226 * gdb.base/pending.exp: Use "break -q".
2227 * gdb.base/prologue-include.exp: Use "break -q".
2228 * gdb.base/ptype.exp: Use "list -q".
2229 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2230 * gdb.base/server-del-break.exp: Use "break -q".
2231 * gdb.base/style.exp: Use "break -q".
2232 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2233 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2234 * gdb.cp/exception.exp: Use "tbreak -q".
2235 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2236 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2237 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2238 * gdb.dwarf2/pr13961.exp: Use "break -q".
2239 * gdb.linespec/explicit.exp: Use "list -q".
2240 * gdb.linespec/linespec.exp: Use "break -q".
2241 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2242 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2243 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2244 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2245 * gdb.trace/change-loc.exp: Use "break -q".
2246 * gdb.trace/pending.exp: Use "break -q".
2247 * gdb.tui/basic.exp: Use "list -q".
2248 * gdb.tui/list-before.exp: Use "list -q".
2249 * gdb.tui/list.exp: Use "list -q".
2250 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2251
8abd8ee8
PA
22522020-10-13 Pedro Alves <pedro@palves.net>
2253
2254 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2255 saved breakpoints file.
2256 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2257 inspecting breakpoint list.
2258 * lib/gdb.exp (runto_main): Add "qualified" to options.
2259 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2260 and handle it.
2261 (mi_runto_main): Pass 1 as qualified argument.
2262
f71e6719
PA
22632020-10-13 Pedro Alves <pedro@palves.net>
2264
2265 * lib/mi-support.exp (mi_runto_main): New proc.
2266 (mi_run_to_main): Use it.
2267 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2268 * gdb.mi/mi-var-cmd.exp: Likewise.
2269 * gdb.mi/mi-var-invalidate.exp: Likewise.
2270 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2271 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2272 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2273 * gdb.mi/user-selected-context-sync.exp: Likewise.
2274 * gdb.opt/inline-cmds.exp: Likewise.
2275 * gdb.python/py-framefilter-mi.exp: Likewise.
2276 * gdb.python/py-mi.exp: Likewise.
2277
50441f0f
PA
22782020-10-13 Pedro Alves <pedro@palves.net>
2279
2280 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2281 "runto main".
2282 * gdb.ada/small_reg_param.exp: Likewise.
2283 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2284 * gdb.base/annota1.exp: Likewise.
2285 * gdb.base/anon.exp: Likewise.
2286 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2287 * gdb.base/dprintf-non-stop.exp: Likewise.
2288 * gdb.base/dprintf.exp: Likewise.
2289 * gdb.base/gdb11530.exp: Likewise.
2290 * gdb.base/gdb11531.exp: Likewise.
2291 * gdb.base/gnu_vector.exp: Likewise.
2292 * gdb.base/interrupt-noterm.exp: Likewise.
2293 * gdb.base/memattr.exp: Likewise.
2294 * gdb.base/step-over-syscall.exp: Likewise.
2295 * gdb.base/watch-cond-infcall.exp: Likewise.
2296 * gdb.base/watch-read.exp: Likewise.
2297 * gdb.base/watch-vfork.exp: Likewise.
2298 * gdb.base/watch_thread_num.exp: Likewise.
2299 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2300 * gdb.guile/scm-frame-inline.exp: Likewise.
2301 * gdb.linespec/explicit.exp: Likewise.
2302 * gdb.opt/inline-break.exp: Likewise.
2303 * gdb.python/py-frame-inline.exp: Likewise.
2304 * gdb.reverse/break-precsave.exp: Likewise.
2305 * gdb.reverse/break-reverse.exp: Likewise.
2306 * gdb.reverse/consecutive-precsave.exp: Likewise.
2307 * gdb.reverse/consecutive-reverse.exp: Likewise.
2308 * gdb.reverse/finish-precsave.exp: Likewise.
2309 * gdb.reverse/finish-reverse.exp: Likewise.
2310 * gdb.reverse/fstatat-reverse.exp: Likewise.
2311 * gdb.reverse/getresuid-reverse.exp: Likewise.
2312 * gdb.reverse/i386-precsave.exp: Likewise.
2313 * gdb.reverse/i386-reverse.exp: Likewise.
2314 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2315 * gdb.reverse/i387-env-reverse.exp: Likewise.
2316 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2317 * gdb.reverse/insn-reverse.exp: Likewise.
2318 * gdb.reverse/machinestate-precsave.exp: Likewise.
2319 * gdb.reverse/machinestate.exp: Likewise.
2320 * gdb.reverse/pipe-reverse.exp: Likewise.
2321 * gdb.reverse/readv-reverse.exp: Likewise.
2322 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2323 * gdb.reverse/rerun-prec.exp: Likewise.
2324 * gdb.reverse/s390-mvcle.exp: Likewise.
2325 * gdb.reverse/solib-precsave.exp: Likewise.
2326 * gdb.reverse/solib-reverse.exp: Likewise.
2327 * gdb.reverse/step-precsave.exp: Likewise.
2328 * gdb.reverse/step-reverse.exp: Likewise.
2329 * gdb.reverse/time-reverse.exp: Likewise.
2330 * gdb.reverse/until-precsave.exp: Likewise.
2331 * gdb.reverse/until-reverse.exp: Likewise.
2332 * gdb.reverse/waitpid-reverse.exp: Likewise.
2333 * gdb.reverse/watch-precsave.exp: Likewise.
2334 * gdb.reverse/watch-reverse.exp: Likewise.
2335 * gdb.threads/kill.exp: Likewise.
2336 * gdb.threads/tid-reuse.exp: Likewise.
2337
d3a07122
SM
23382020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2339
2340 PR gdb/26642
2341 * gdb.base/maint-target-async-off.c: New test.
2342 * gdb.base/maint-target-async-off.exp: New test.
2343
c65c6c42
AM
23442020-10-13 Alan Modra <amodra@gmail.com>
2345
2346 * gdb.arch/powerpc-altivec.s,
2347 * gdb.arch/powerpc-power7.s,
2348 * gdb.arch/powerpc-power8.s,
2349 * gdb.arch/powerpc-power9.s,
2350 * gdb.arch/powerpc-vsx.s,
2351 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2352 * gdb.arch/powerpc-altivec.exp,
2353 * gdb.arch/powerpc-power7.exp,
2354 * gdb.arch/powerpc-power8.exp,
2355 * gdb.arch/powerpc-power9.exp,
2356 * gdb.arch/powerpc-vsx.exp,
2357 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2358 disassembly of mfvsrd/mtvsrd.
2359
f4a0f710
AM
23602020-10-13 Alan Modra <amodra@gmail.com>
2361
2362 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2363 "target architecture" output.
2364 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2365 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2366 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2367 * gdb.arch/s390-disassembler-options.exp: Likewise.
2368
87a37e5e
PA
23692020-10-12 Pedro Alves <pedro@palves.net>
2370
2371 PR exp/26602
2372 PR c++/26550
2373 * gdb.cp/ambiguous.cc (marker1): Delete.
2374 (main): Initialize all the fields of the locals. Replace marker1
2375 call with a "set breakpoint here" marker.
2376 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2377 instead of running to marker1. Add tests printing all the
2378 variables and all the fields of the variables.
2379 (test_ambiguous): New proc, expecting the new GDB output when a
2380 field access is ambiguous. Change all "warning: X ambiguous"
2381 tests to use it.
2382
71e1b6b0
GB
23832020-10-12 Gary Benson <gbenson@redhat.com>
2384
2385 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2386 * gdb.base/msym-bp-2.c (foo): Likewise.
2387 * gdb.base/msym-lang.c (foo): Likewise.
2388 * gdb.base/msym-lang-main.c (foo): Likewise.
2389 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2390 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2391 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2392 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2393 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2394 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2395 * gdb.python/py-objfile.c (static_var): Likewise.
2396 * gdb.python/py-symbol.c (rr): Likewise.
2397 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2398 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2399
9370fd51
AB
24002020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2401
2402 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2403 output of backtrace.
2404
7c184d33
TT
24052020-10-09 Tom Tromey <tromey@adacore.com>
2406
2407 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2408 (Rec): Add field. Fix range.
2409 * gdb.ada/scalar_storage.exp: Update.
2410
3d87245c
HD
24112020-10-09 Hannes Domani <ssbssa@yahoo.de>
2412
2413 PR exp/26714
2414 * gdb.base/printcmds.exp: Add tests for void results.
2415
f5c4b229
JV
24162020-10-09 Jan Vrany <jan.vrany@labware.com>
2417
2418 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2419 is emmited for both 'set directories' and 'directory' commands.
2420
b2701685
TT
24212020-10-08 Tom Tromey <tom@tromey.com>
2422
2423 * gdb.base/style.exp: Check that "main"'s name is styled.
2424
e86efb33
TT
24252020-10-07 Tom Tromey <tromey@adacore.com>
2426
2427 * gdb.base/find.exp: Rename some tests.
2428
30897591
GB
24292020-10-06 Gary Benson <gbenson@redhat.com>
2430
2431 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2432 * gdb.base/list1.c (unused): Likewise.
2433
ced4a4c1
GB
24342020-10-06 Gary Benson <gbenson@redhat.com>
2435
2436 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2437 __attribute__ ((used)).
2438 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2439
ed3bdac4
AB
24402020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2441
2442 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2443 make use of regions throughout.
2444 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2445 not {...}.
2446 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2447
cd096ec8
HD
24482020-10-05 Hannes Domani <ssbssa@yahoo.de>
2449
2450 * gdb.base/call-sc.c: Fix return struct on stack test case.
2451 * gdb.base/call-sc.exp: Likewise.
2452
3ee6f75d
GB
24532020-10-02 Gary Benson <gbenson@redhat.com>
2454
2455 * README: Fix "paralell".
2456
f65825ec
GB
24572020-09-30 Gary Benson <gbenson@redhat.com>
2458
2459 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2460 Convert directive to lowercase.
2461 (.Labbrev1_begin): Add missing label.
2462 (abbrev code 0x1): Remove DW_AT_stmt_list.
2463 (.Ldie_b): Likewise.
2464
5f278258
TT
24652020-09-27 Tom Tromey <tom@tromey.com>
2466
2467 * gdb.tui/new-layout.exp: Use with_test_prefix.
2468
8f9929bb
GR
24692020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2470
2471 PR python/26586
2472 * gdb.python/python.exp: add test cases for the from_tty
2473 argument to gdb.execute.
2474
c20c017b
GB
24752020-09-25 Gary Benson <gbenson@redhat.com>
2476
2477 * gdb.base/infcall-nested-structs.exp.tcl: Add
2478 additional_flags=-Wno-tautological-compare for C++
2479 tests when compiling using Clang.
2480
68d654af
GB
24812020-09-25 Gary Benson <gbenson@redhat.com>
2482
2483 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2484 for .c files.
2485
b551a89f
TT
24862020-09-24 Tom Tromey <tromey@adacore.com>
2487
2488 PR tui/26638:
2489 * gdb.tui/list.exp: Check output of "focus next".
2490
20a5fcbd
TT
24912020-09-23 Tom Tromey <tom@tromey.com>
2492
2493 * gdb.dwarf2/intbits.exp: New file.
2494 * gdb.dwarf2/intbits.c: New file.
2495
b167e53f
PA
24962020-09-20 Pedro Alves <pedro@palves.net>
2497
2498 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2499 spawn_id before calling remote_close. Close secondary MI channel.
2500
dbc49e9f
PA
25012020-09-20 Pedro Alves <pedro@palves.net>
2502
2503 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2504 fails.
2505
c8d5abea
AB
25062020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2507
2508 * gdb.fortran/array-slices.exp: Update expected results.
2509 * gdb.fortran/class-allocatable-array.exp: Likewise.
2510 * gdb.fortran/multi-dim.exp: Likewise.
2511 * gdb.fortran/vla-type.exp: Likewise.
2512 * gdb.mi/mi-vla-fortran.exp: Likewise.
2513
14f9473c
VC
25142020-09-18 Victor Collod <vcollod@nvidia.com>
2515
2516 PR gdb/26635
2517 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2518 compatible with i386, and move it to...
2519 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2520 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2521 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2522
e8ef12b9
PA
25232020-09-18 Pedro Alves <pedro@palves.net>
2524
2525 PR gdb/26631
2526 * gdb.multi/multi-target-thread-find.exp: New file.
2527
e11daf7a
PA
25282020-09-18 Pedro Alves <pedro@palves.net>
2529
2530 * gdb.multi/multi-target-continue.exp: New file, factored out from
2531 multi-target.exp.
2532 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2533 multi-target.exp.
2534 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2535 multi-target.exp.
2536 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2537 multi-target.exp.
2538 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2539 multi-target.exp.
2540 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2541 multi-target.exp.
2542 * gdb.multi/multi-target.exp: Delete.
2543
d0edc2b8
AB
25442020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2545
2546 * gdb.fortran/array-slices.exp: Add missing message data.
2547
7474326c
PA
25482020-09-17 Pedro Alves <pedro@palves.net>
2549
2550 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2551
dd23068d
PA
25522020-09-17 Pedro Alves <pedro@palves.net>
2553
2554 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2555 full prototype.
2556
0640a543
PA
25572020-09-17 Pedro Alves <pedro@palves.net>
2558
2559 * gdb.python/py-as-string.c: Add cast.
2560
ef0cdbc1
PA
25612020-09-17 Pedro Alves <pedro@palves.net>
2562
2563 * gdb.base/sizeof.c (fill): Add cast.
2564
3a5eeb8b
PA
25652020-09-17 Pedro Alves <pedro@palves.net>
2566
2567 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2568
a8129512
PA
25692020-09-17 Pedro Alves <pedro@palves.net>
2570
2571 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2572 linkage name.
2573 * gdb.base/prologue.exp: Use print /d.
2574 * gdb.base/symbol-alias.exp: Handle C++ output.
2575 * gdb.base/symbol-alias2.c: Handle C++ output.
2576 [__cplusplus] (func): Explicitly specify linkage name.
2577
a83cdcb6
PA
25782020-09-17 Pedro Alves <pedro@palves.net>
2579
2580 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2581 (struct my_key_t): ... this. Adjust all references.
2582 (struct value_t): Rename to ...
2583 (struct my_value_t): ... this. Adjust all references.
2584 (create_map, add_map_element, create_map_map)
2585 (add_map_map_element): Add casts.
2586
d4bcee5c
PA
25872020-09-17 Pedro Alves <pedro@palves.net>
2588
2589 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2590 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2591
81f90489
PA
25922020-09-17 Pedro Alves <pedro@palves.net>
2593
2594 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2595
0a229804
PA
25962020-09-17 Pedro Alves <pedro@palves.net>
2597
2598 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2599 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2600 (charfoo, intfoo): Define full prototype.
2601 * gdb.base/ptype1.c (charfoo): Define full prototype.
2602 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2603 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2604
c3e5138d
PA
26052020-09-17 Pedro Alves <pedro@palves.net>
2606
2607 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2608 Don't define.
2609 (utf_32_string): Compile for both C and C++.
2610 * gdb.base/charset.exp: Use "print /d".
2611
151fdbad
PA
26122020-09-17 Pedro Alves <pedro@palves.net>
2613
2614 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2615 (nullptr): Rename to ...
2616 (null_ptr): ... this.
2617 * gdb.base/watchpoint.exp: Adjust to rename.
2618
18a25b64
PA
26192020-09-17 Pedro Alves <pedro@palves.net>
2620
2621 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2622 (three_not_flag): Add casts.
2623
11fac337
PA
26242020-09-17 Pedro Alves <pedro@palves.net>
2625
2626 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2627 char array.
2628 (main): Add references to Barrier, TestStrings, TestStringsH and
2629 TestStringsW.
2630 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2631 and expect a full prototype in C++.
2632
52626c58
PA
26332020-09-17 Pedro Alves <pedro@palves.net>
2634
2635 * gdb.base/nested-addr.c (main): Add cast.
2636 * gdb.base/nested-addr.exp: Use "print /d".
2637
52bb0902
PA
26382020-09-17 Pedro Alves <pedro@palves.net>
2639
2640 * gdb.base/break.exp (func): New. Use it throughout when
2641 expecting a function name.
2642
73e18ac9
PA
26432020-09-17 Pedro Alves <pedro@palves.net>
2644
2645 * gdb.base/display.exp: Issue "set print asm-demangle on".
2646
c8b18808
PA
26472020-09-17 Pedro Alves <pedro@palves.net>
2648
2649 * gdb.base/find.c: Include <string.h>.
2650 (init_bufs): Add cast.
2651 * gdb.base/find.exp: Issue "set print asm-demangle on".
2652
fe830662
TT
26532020-09-16 Tom Tromey <tromey@adacore.com>
2654
2655 PR gdb/26598:
2656 * gdb.base/skipcxx.exp: New file.
2657 * gdb.base/skipcxx.cc: New file.
2658
945ff6e2
TV
26592020-09-16 Tom de Vries <tdevries@suse.de>
2660
2661 PR testsuite/26617
2662 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2663 WITH_DEBUG_SECTIONS is defined.
2664 (xstr, str): New macro.
2665 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2666 to get start and size of _Dmain.
2667 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2668 using additional_flags.
2669
da1df1db
TBA
26702020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2671
2672 * gdb.base/bp-cmds-sourced-script.c: New file.
2673 * gdb.base/bp-cmds-sourced-script.exp: New test.
2674 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2675
337882d4
TV
26762020-09-16 Tom de Vries <tdevries@suse.de>
2677
2678 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2679 get the gdb prompt after issuing "monitor exit".
2680
7361f908
TV
26812020-09-16 Tom de Vries <tdevries@suse.de>
2682
2683 PR testsuite/26624
2684 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2685
4d91ddd3
TV
26862020-09-16 Tom de Vries <tdevries@suse.de>
2687
2688 PR testsuite/26618
2689 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2690
08cc37dd
TT
26912020-09-15 Tom Tromey <tromey@adacore.com>
2692
2693 PR rust/26197:
2694 * lib/rust-support.exp (rust_llvm_version): New proc.
2695 * gdb.rust/simple.exp: Check rust_llvm_version.
2696
ee6372f2
TV
26972020-09-14 Tom de Vries <tdevries@suse.de>
2698
2699 * gdb.rust/traits.exp: Fix PATH warning.
2700
dc3a371e
PA
27012020-09-13 Pedro Alves <pedro@palves.net>
2702
2703 * gdb.base/catch-follow-exec.c (main): Add explicit return
2704 statement.
2705 * gdb.base/catch-signal.c (main): Likewise.
2706 * gdb.base/condbreak-call-false.c (main): Likewise.
2707 * gdb.base/consecutive.c (main): Add explicit return
2708 statement and return type.
2709 * gdb.base/cursal.c (main): Add explicit return statement.
2710 * gdb.base/cvexpr.c (main): Likewise.
2711 * gdb.base/display.c (main): Add explicit return statement and
2712 return type.
2713 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2714 * gdb.base/endianity.c (main): Likewise.
2715 * gdb.base/execd-prog.c (main): Likewise.
2716 * gdb.base/gdb1090.c (main): Likewise.
2717 * gdb.base/info_qt.c (main): Likewise.
2718 * gdb.base/lineinc.c (main): Likewise.
2719 * gdb.base/load-command.c (main): Likewise.
2720 * gdb.base/macscp1.c (main): Likewise.
2721 * gdb.base/pr10179-a.c (main): Likewise.
2722 * gdb.base/quit-live.c (main): Likewise.
2723 * gdb.base/scope0.c (main): Likewise.
2724 * gdb.base/settings.c (main): Likewise.
2725 * gdb.base/stack-checking.c (main): Return int.
2726 * gdb.base/varargs.c (main): Add explicit return statement.
2727 * gdb.cp/ambiguous.cc (main): Likewise.
2728 * gdb.cp/anon-struct.cc (main): Likewise.
2729 * gdb.cp/anon-union.cc (main): Likewise.
2730 * gdb.cp/bool.cc (main): Likewise.
2731 * gdb.cp/bs15503.cc (main): Likewise.
2732 * gdb.cp/cplusfuncs.cc (main): Likewise.
2733 * gdb.cp/cttiadd.cc (main): Likewise.
2734 * gdb.cp/extern-c.cc (main): Likewise.
2735 * gdb.cp/filename.cc (main): Likewise.
2736 * gdb.cp/formatted-ref.cc (main): Likewise.
2737 * gdb.cp/mb-ctor.cc (main): Likewise.
2738 * gdb.cp/member-ptr.cc (main): Likewise.
2739 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2740 * gdb.cp/overload-const.cc (main): Likewise.
2741 * gdb.cp/paren-type.cc (main): Likewise.
2742 * gdb.cp/parse-lang.cc (main): Likewise.
2743 * gdb.cp/pr-1023.cc (main): Likewise.
2744 * gdb.cp/psmang1.cc (main): Likewise.
2745 * gdb.cp/readnow-language.cc (main): Likewise.
2746 * gdb.cp/ref-params.cc (main): Likewise.
2747 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2748 * gdb.cp/virtbase2.cc (main): Likewise.
2749 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2750 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2751 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2752 * gdb.mi/mi-console.c (main): Likewise.
2753 * gdb.mi/mi-read-memory.c (main): Likewise.
2754 * gdb.modula2/multidim.c (main): Likewise.
2755 * gdb.opt/inline-small-func.c (main): Likewise.
2756 * gdb.python/py-rbreak.c (main): Likewise.
2757 * gdb.stabs/exclfwd1.c (main): Likewise.
2758 * gdb.trace/qtro.c (main): Likewise.
2759
af26601c
PA
27602020-09-13 Pedro Alves <pedro@palves.net>
2761
2762 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2763 instead of getenv.
2764
2f4b83cd
PA
27652020-09-13 Pedro Alves <pedro@palves.net>
2766
2767 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2768 instead of spawning GDB with remote_spawn.
2769 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2770 gdb_spawn instead of spawning GDB with remote_spawn.
2771
c49da0e4
PA
27722020-09-13 Pedro Alves <pedro@palves.net>
2773
2774 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2775 file and add calls to first and second.
2776 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2777 add call to f.
2778
6791b117
PA
27792020-09-13 Pedro Alves <pedro@palves.net>
2780
2781 * gdb.mi/mi-break-qualified.cc: New file.
2782 * gdb.mi/mi-break-qualified.exp: New file.
2783 * lib/mi-support.exp (mi_create_breakpoint_multi)
2784 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2785 procedures.
2786 (mi_create_breakpoint_1): New, factored out from
2787 mi_create_breakpoint.
2788
3b8d4c5c
PA
27892020-09-13 Pedro Alves <pedro@palves.net>
2790
2791 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2792 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2793 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2794 (register_class): Delete.
2795 (main): Don't call register_class.
2796
d5f96005
PA
27972020-09-13 Pedro Alves <pedro@palves.net>
2798
2799 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2800 (do_tests): Remove "calling method for small class" test.
2801 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2802 (register_class): Delete.
2803 (main): Don't call register_class.
2804 * gdb.cp/call-method-register.exp: New file, based on bits removed
2805 from classes.exp.
2806 * gdb.cp/call-method-register.cc: New file, based on bits removed
2807 from classes.cc.
2808
77f2120b
PA
28092020-09-13 Pedro Alves <pedro@palves.net>
2810
2811 * gdb.base/msym-bp-2.c: New.
2812 * gdb.base/msym-bp-shl-lib.c: New file.
2813 * gdb.base/msym-bp-shl-main-2.c: New file.
2814 * gdb.base/msym-bp-shl-main.c: New file.
2815 * gdb.base/msym-bp-shl.exp: New file.
2816 * gdb.base/msym-bp.c: New file.
2817 * gdb.base/msym-bp.exp: New file.
2818
32aea73e
JB
28192020-09-13 Joel Brobecker <brobecker@adacore.com>
2820
2821 * gdb.base/default.exp: Change $_gdb_major to 11.
2822
2a67f09d
FW
28232020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2824 Felix Willgerodt <Felix.Willgerodt@intel.com>
2825
2826 * x86-avx512bf16.c: New file.
2827 * x86-avx512bf16.exp: Likewise.
2828 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2829
ad570dd7
TV
28302020-09-11 Tom de Vries <tdevries@suse.de>
2831
2832 PR exp/26602
2833 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2834
a56f7391
TBA
28352020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2836
2837 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2838
918619e5
AM
28392020-09-10 Alan Modra <amodra@gmail.com>
2840
2841 PR 26597
2842 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2843
cac1e71d
TV
28442020-09-08 Tom de Vries <tdevries@suse.de>
2845
2846 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2847 after gdb_starti_cmd.
2848
c5cd900e
AKS
28492020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2850
2851 * lib/fortran.exp (fortran_complex8): New proc.
2852 (fortran_complex16): New proc.
2853 * gdb.fortran/complex.exp: Use routines from fortran.exp
2854 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2855 * gdb.fortran/vla-ptr-info.exp: Likewise.
2856
8f5c6526
TV
28572020-09-03 Tom de Vries <tdevries@suse.de>
2858
2859 PR breakpoint/26546
2860 * gdb.base/label-without-address.exp: Runto main first.
2861
02c6f3f1
TT
28622020-09-02 Tom Tromey <tromey@adacore.com>
2863
2864 * gdb.ada/mi_var_access.exp: Test children of access variable.
2865 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2866 * gdb.ada/mi_var_array.exp: Update.
2867
efe24f05
KB
28682020-08-31 Kevin Buettner <kevinb@redhat.com>
2869
2870 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2871 on docker w/ AUFS storage driver.
2872
973695d6
KB
28732020-08-31 Kevin Buettner <kevinb@redhat.com>
2874
2875 * gdb.base/corefile2.exp (renamed binfile): New tests.
2876
f3bd50f1
SM
28772020-08-31 Simon Marchi <simon.marchi@efficios.com>
2878
2879 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2880
22b9b4b0
SL
28812020-08-31 Simon Marchi <simon.marchi@efficios.com>
2882
2883 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2884 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2885
8efaf6b3
SM
28862020-08-31 Simon Marchi <simon.marchi@efficios.com>
2887
2888 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2889 output, printing a "not saved" value from history and printing a
2890 convenience variable created from a "not saved" value.
2891
e840f2e3
TV
28922020-08-31 Tom de Vries <tdevries@suse.de>
2893
2894 * gdb.base/eh_return.exp: Use nopie.
2895
8f57f343
PA
28962020-08-28 Pedro Alves <pedro@palves.net>
2897
2898 * gdb.base/advance-until-multiple-locations.exp
2899 (advance_overload, until_overload): Adjust to match the
2900 frame/function header instead of the source line text.
2901
626d2320
TV
29022020-08-28 Tom de Vries <tdevries@suse.de>
2903
2904 * gdb.base/label-without-address.c: New test.
2905 * gdb.base/label-without-address.exp: New file.
2906
df631783
PA
29072020-08-27 Pedro Alves <pedro@palves.net>
2908
2909 PR gdb/26523
2910 PR gdb/26524
2911 * gdb.base/advance-until-multiple-locations.cc: New.
2912 * gdb.base/advance-until-multiple-locations.exp: New.
2913
48b076bb
SM
29142020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2915
2916 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2917
c2015ce4
AB
29182020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2919
2920 * gdb.arch/amd64-byte.exp: Make test names unique, use
2921 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2922 * gdb.arch/amd64-dword.exp: Likewise.
2923 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2924 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2925 unique.
2926 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2927 * gdb.arch/amd64-word.exp: Make test names unique, use
2928 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2929 * gdb.arch/i386-byte.exp: Make test names unique, use
2930 gdb_breakpoint.
2931 * gdb.arch/i386-word.exp: Likewise.
2932
995d3a19
SV
29332020-08-25 Shahab Vahedi <shahab@synopsys.com>
2934
2935 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2936
8cac2b31
SM
29372020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2938
2939 PR gdb/26532
2940 * gdb.threads/stepi-random-signal.exp: Update pattern.
2941
2bc19622
SM
29422020-08-25 Simon Marchi <simon.marchi@efficios.com>
2943
2944 PR gdb/26532
2945 * gdb.base/ui-redirect.exp: Update pattern.
2946
b04aa1fc
GB
29472020-08-25 Gary Benson <gbenson@redhat.com>
2948
2949 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2950 when compiling with clang.
8571e9c8 2951 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2952
9f68b453
GB
29532020-08-25 Gary Benson <gbenson@redhat.com>
2954
2955 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2956 Add additional_flags=-Wno-inaccessible-base when compiling
2957 with GCC >= 10.1 or clang. Add additional_flags=-w when
2958 compiling with GCC < 10.
2959
3945d2d7
GM
29602020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2961
2962 PR m2/26372
fc5d6901
SM
2963 * gdb.modula2/multidim.c: New file.
2964 * gdb.modula2/multidim.exp: New file.
3945d2d7 2965
60122dbe
SM
29662020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2967
2968 * lib/gdb.exp (runto): Always emit fail on internal error.
2969
1eb8556f
SM
29702020-08-24 Simon Marchi <simon.marchi@efficios.com>
2971
2972 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2973 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2974 Likewise.
2975 * gdb.threads/stepi-random-signal.exp: Likewise.
2976
33bf4c5c
TBA
29772020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2978
2979 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2980 * gdb.trace/strace.exp: Ditto.
2981
c2fd7fae
AKS
29822020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2983
2984 * gdb.fortran/vla-type.exp: Skip commands not required for
2985 the Flang compiled binaries after prologue fix.
2986
326afb72
TT
29872020-08-17 Tom de Vries <tdevries@suse.de>
2988 Tom Tromey <tromey@adacore.com>
2989
2990 PR rust/26197:
2991 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2992
3ae7ab99
TT
29932020-08-17 Tom Tromey <tromey@adacore.com>
2994
2995 * gdb.ada/mi_var_access.exp: New file.
2996 * gdb.ada/mi_var_access/mi_access.adb: New file.
2997 * gdb.ada/mi_var_access/pck.adb: New file.
2998 * gdb.ada/mi_var_access/pck.ads: New file.
2999
f569c1c5
TV
30002020-08-16 Tom de Vries <tdevries@suse.de>
3001
3002 PR gdb/25350
3003 * gdb.base/eh_return.c: New test.
3004 * gdb.base/eh_return.exp: New file.
3005
3d11c30a
TV
30062020-08-15 Tom de Vries <tdevries@suse.de>
3007
3008 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3009 (mixed_func_1d_): Use fortran_charlen_t in decl.
3010
547ce8f0
TV
30112020-08-15 Tom de Vries <tdevries@suse.de>
3012
3013 PR backtrace/26390
3014 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3015 Update expected pattern.
3016
a54a7f13
PA
30172020-08-13 Pedro Alves <pedro@palves.net>
3018
3019 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3020 * gdb.fortran/library-module.exp: Likewise.
3021 * gdb.fortran/logical.exp: Likewise.
3022 * gdb.fortran/module.exp: Likewise.
3023 * gdb.fortran/print_type.exp: Likewise.
3024 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3025 * gdb.fortran/vla-datatypes.exp: Likewise.
3026 * gdb.fortran/vla-history.exp: Likewise.
3027 * gdb.fortran/vla-ptr-info.exp: Likewise.
3028 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3029 * gdb.fortran/vla-ptype.exp: Likewise.
3030 * gdb.fortran/vla-sizeof.exp: Likewise.
3031 * gdb.fortran/vla-type.exp: Likewise.
3032 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3033 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3034 * gdb.fortran/vla-value-sub.exp: Likewise.
3035 * gdb.fortran/vla-value.exp: Likewise.
3036
7a82e903
PA
30372020-08-13 Pedro Alves <pedro@palves.net>
3038
3039 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3040 * gdb.ada/access_to_packed_array.exp: Likewise.
3041 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3042 * gdb.ada/addr_arith.exp: Likewise.
3043 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3044 * gdb.ada/arr_arr.exp: Likewise.
3045 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3046 * gdb.ada/array_bounds.exp: Likewise.
3047 * gdb.ada/array_of_variable_length.exp: Likewise.
3048 * gdb.ada/array_ptr_renaming.exp: Likewise.
3049 * gdb.ada/array_subscript_addr.exp: Likewise.
3050 * gdb.ada/arraydim.exp: Likewise.
3051 * gdb.ada/arrayparam.exp: Likewise.
3052 * gdb.ada/arrayptr.exp: Likewise.
3053 * gdb.ada/assign_1.exp: Likewise.
3054 * gdb.ada/assign_arr.exp: Likewise.
3055 * gdb.ada/atomic_enum.exp: Likewise.
3056 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3057 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3058 * gdb.ada/bias.exp: Likewise.
3059 * gdb.ada/boolean_expr.exp: Likewise.
3060 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3061 * gdb.ada/bp_enum_homonym.exp: Likewise.
3062 * gdb.ada/bp_inlined_func.exp: Likewise.
3063 * gdb.ada/bp_on_var.exp: Likewise.
3064 * gdb.ada/bp_range_type.exp: Likewise.
3065 * gdb.ada/bp_reset.exp: Likewise.
3066 * gdb.ada/call_pn.exp: Likewise.
3067 * gdb.ada/catch_assert_if.exp: Likewise.
3068 * gdb.ada/catch_ex.exp: Likewise.
3069 * gdb.ada/catch_ex_std.exp: Likewise.
3070 * gdb.ada/char_enum.exp: Likewise.
3071 * gdb.ada/char_param.exp: Likewise.
3072 * gdb.ada/complete.exp: Likewise.
3073 * gdb.ada/cond_lang.exp: Likewise.
3074 * gdb.ada/convvar_comp.exp: Likewise.
3075 * gdb.ada/dgopt.exp: Likewise.
3076 * gdb.ada/disc_arr_bound.exp: Likewise.
3077 * gdb.ada/display_nested.exp: Likewise.
3078 * gdb.ada/dot_all.exp: Likewise.
3079 * gdb.ada/dyn_loc.exp: Likewise.
3080 * gdb.ada/dyn_stride.exp: Likewise.
3081 * gdb.ada/excep_handle.exp: Likewise.
3082 * gdb.ada/expr_delims.exp: Likewise.
3083 * gdb.ada/expr_with_funcall.exp: Likewise.
3084 * gdb.ada/exprs.exp: Likewise.
3085 * gdb.ada/fin_fun_out.exp: Likewise.
3086 * gdb.ada/fixed_cmp.exp: Likewise.
3087 * gdb.ada/formatted_ref.exp: Likewise.
3088 * gdb.ada/frame_arg_lang.exp: Likewise.
3089 * gdb.ada/frame_args.exp: Likewise.
3090 * gdb.ada/fullname_bp.exp: Likewise.
3091 * gdb.ada/fun_addr.exp: Likewise.
3092 * gdb.ada/fun_in_declare.exp: Likewise.
3093 * gdb.ada/fun_overload_menu.exp: Likewise.
3094 * gdb.ada/fun_renaming.exp: Likewise.
3095 * gdb.ada/funcall_char.exp: Likewise.
3096 * gdb.ada/funcall_param.exp: Likewise.
3097 * gdb.ada/funcall_ptr.exp: Likewise.
3098 * gdb.ada/funcall_ref.exp: Likewise.
3099 * gdb.ada/homonym.exp: Likewise.
3100 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3101 * gdb.ada/info_auto_lang.exp: Likewise.
3102 * gdb.ada/info_exc.exp: Likewise.
3103 * gdb.ada/info_types.exp: Likewise.
3104 * gdb.ada/int_deref.exp: Likewise.
3105 * gdb.ada/interface.exp: Likewise.
3106 * gdb.ada/iwide.exp: Likewise.
3107 * gdb.ada/lang_switch.exp: Likewise.
3108 * gdb.ada/length_cond.exp: Likewise.
3109 * gdb.ada/maint_with_ada.exp: Likewise.
3110 * gdb.ada/mi_catch_assert.exp: Likewise.
3111 * gdb.ada/mi_catch_ex.exp: Likewise.
3112 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3113 * gdb.ada/mi_dyn_arr.exp: Likewise.
3114 * gdb.ada/mi_ex_cond.exp: Likewise.
3115 * gdb.ada/mi_exc_info.exp: Likewise.
3116 * gdb.ada/mi_interface.exp: Likewise.
3117 * gdb.ada/mi_prot.exp: Likewise.
3118 * gdb.ada/mi_ref_changeable.exp: Likewise.
3119 * gdb.ada/mi_string_access.exp: Likewise.
3120 * gdb.ada/mi_task_arg.exp: Likewise.
3121 * gdb.ada/mi_task_info.exp: Likewise.
3122 * gdb.ada/mi_var_array.exp: Likewise.
3123 * gdb.ada/mi_var_union.exp: Likewise.
3124 * gdb.ada/mi_variant.exp: Likewise.
3125 * gdb.ada/minsyms.exp: Likewise.
3126 * gdb.ada/mod_from_name.exp: Likewise.
3127 * gdb.ada/nested.exp: Likewise.
3128 * gdb.ada/null_array.exp: Likewise.
3129 * gdb.ada/optim_drec.exp: Likewise.
3130 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3131 * gdb.ada/packed_array_assign.exp: Likewise.
3132 * gdb.ada/packed_tagged.exp: Likewise.
3133 * gdb.ada/pp-rec-component.exp: Likewise.
3134 * gdb.ada/print_chars.exp: Likewise.
3135 * gdb.ada/print_pc.exp: Likewise.
3136 * gdb.ada/ptr_typedef.exp: Likewise.
3137 * gdb.ada/ptype_arith_binop.exp: Likewise.
3138 * gdb.ada/ptype_array.exp: Likewise.
3139 * gdb.ada/ptype_field.exp: Likewise.
3140 * gdb.ada/ptype_tagged_param.exp: Likewise.
3141 * gdb.ada/ptype_union.exp: Likewise.
3142 * gdb.ada/py_range.exp: Likewise.
3143 * gdb.ada/py_taft.exp: Likewise.
3144 * gdb.ada/rdv_wait.exp: Likewise.
3145 * gdb.ada/rec_comp.exp: Likewise.
3146 * gdb.ada/rec_return.exp: Likewise.
3147 * gdb.ada/ref_param.exp: Likewise.
3148 * gdb.ada/ref_tick_size.exp: Likewise.
3149 * gdb.ada/rename_subscript_param.exp: Likewise.
3150 * gdb.ada/repeat_dyn.exp: Likewise.
3151 * gdb.ada/same_component_name.exp: Likewise.
3152 * gdb.ada/same_enum.exp: Likewise.
3153 * gdb.ada/scalar_storage.exp: Likewise.
3154 * gdb.ada/set_wstr.exp: Likewise.
3155 * gdb.ada/small_reg_param.exp: Likewise.
3156 * gdb.ada/str_binop_equal.exp: Likewise.
3157 * gdb.ada/str_ref_cmp.exp: Likewise.
3158 * gdb.ada/str_uninit.exp: Likewise.
3159 * gdb.ada/sub_variant.exp: Likewise.
3160 * gdb.ada/sym_print_name.exp: Likewise.
3161 * gdb.ada/taft_type.exp: Likewise.
3162 * gdb.ada/tagged.exp: Likewise.
3163 * gdb.ada/tagged_access.exp: Likewise.
3164 * gdb.ada/task_bp.exp: Likewise.
3165 * gdb.ada/task_switch_in_core.exp: Likewise.
3166 * gdb.ada/tasks.exp: Likewise.
3167 * gdb.ada/tick_last_segv.exp: Likewise.
3168 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3169 * gdb.ada/type_coercion.exp: Likewise.
3170 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3171 * gdb.ada/unchecked_union.exp: Likewise.
3172 * gdb.ada/uninitialized_vars.exp: Likewise.
3173 * gdb.ada/var_arr_attrs.exp: Likewise.
3174 * gdb.ada/var_arr_typedef.exp: Likewise.
3175 * gdb.ada/var_rec_arr.exp: Likewise.
3176 * gdb.ada/variant-record.exp: Likewise.
3177 * gdb.ada/variant.exp: Likewise.
3178 * gdb.ada/variant_record_packed_array.exp: Likewise.
3179 * gdb.ada/varsize_limit.exp: Likewise.
3180 * gdb.ada/whatis_array_val.exp: Likewise.
3181 * gdb.ada/widewide.exp: Likewise.
3182 * gdb.ada/win_fu_syms.exp: Likewise.
3183
31842020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3185
3186 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3187
10c381b5
AB
31882020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3189
3190 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3191 unset the array variable.
3192
8f34b746
TV
31932020-08-03 Tom de Vries <tdevries@suse.de>
3194
3195 PR symtab/26333
3196 * lib/dwarf.exp (DW_LNE_user): New proc.
3197 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3198 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3199
0245e136
KB
32002020-07-31 Kevin Buettner <kevinb@redhat.com>
3201
3202 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3203 to 'uintptr_t'
3204 (inttypes.h): Include.
3205
9ef1ec5d
KB
32062020-07-31 Kevin Buettner <kevinb@redhat.com>
3207
3208 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3209 (C5_24k): Delete.
3210 (C5_8k, C5_64k, C5_256k): New macros.
3211 (buf_ro): Allocate 256 KiB of initialized data.
3212
4c55e970
TBA
32132020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3214
3215 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3216 that attempt to overwrite an existing condition with a condition
3217 that fails parsing and also with a condition that parses fine
3218 but contains junk at the end.
3219
1e620590
TBA
32202020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3221
3222 * gdb.base/condbreak-bad.c: New test.
3223 * gdb.base/condbreak-bad.exp: New file.
3224
e12dcc50
TV
32252020-07-30 Tom de Vries <tdevries@suse.de>
3226
3227 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3228 out of ...
3229 (GDBInfoModuleSymbols::check_entry): ... here.
3230 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3231 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3232 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3233
6cc64caa
TV
32342020-07-30 Tom de Vries <tdevries@suse.de>
3235
3236 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3237 "__class_some_module_Number_t" optional.
3238
90fd07fc
TV
32392020-07-29 Tom de Vries <tdevries@suse.de>
3240
3241 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3242 multiple locations.
3243
f5c79e97
TV
32442020-07-29 Tom de Vries <tdevries@suse.de>
3245
3246 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3247 rather than function name.
3248
f75a0693
AB
32492020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3250
3251 PR symtab/26270:
3252 * gdb.cp/disasm-func-name.cc: New file.
3253 * gdb.cp/disasm-func-name.exp: New file.
3254
4888741a
TT
32552020-07-28 Tom Tromey <tromey@adacore.com>
3256
3257 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3258 'varval' location.
3259
43d5901d
AB
32602020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3261
3262 * gdb.python/py-unwind.py: Update to make use of a register
3263 descriptor.
3264
14fa8fb3
AB
32652020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3266
3267 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3268
e79eb02f
AB
32692020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3270
3271 PR fortran/23051
3272 PR fortran/26139
3273 * gdb.fortran/class-allocatable-array.exp: New file.
3274 * gdb.fortran/class-allocatable-array.f90: New file.
3275 * gdb.fortran/pointer-to-pointer.exp: New file.
3276 * gdb.fortran/pointer-to-pointer.f90: New file.
3277
876518dd
TV
32782020-07-25 Tom de Vries <tdevries@suse.de>
3279
3280 PR symtab/26243
3281 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3282 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3283
6dcfb80a
TV
32842020-07-24 Tom de Vries <tdevries@suse.de>
3285
3286 PR testsuite/26293
3287 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3288
e7bc9db8
PA
32892020-07-23 Pedro Alves <pedro@palves.net>
3290
3291 * gdb.server/server-kill.exp (prepare): New, factored out from the
3292 top level.
3293 (kill_server): New.
3294 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3295 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3296
78344df7
AB
32972020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3298
3299 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3300
25dfed24
SL
33012020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3302
3303 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3304 Initialize to empty string at top level.
3305 (gdb_wrapper_init): Revert check for file existence on build.
3306 Build the wrapper in its default place, not a build-specific
3307 location. When host == build, make the pathname absolute.
3308 (gdb_compile): Delete leftover declaration of
3309 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3310 string instead of uninitialized.
3311
7da515fd
KB
33122020-07-22 Kevin Buettner <kevinb@redhat.com>
3313
3314 * gdb.base/corefile2.exp: New file.
3315 * gdb.base/coremaker2.exp: New file.
3316
9c5ec5c2
KB
33172020-07-22 Kevin Buettner <kevinb@redhat.com>
3318
3319 * gdb.base/coredump-filter.exp: Add second
3320 non-Private-Shared-Anon-File test.
3321 (test_disasm): Rename binfile for test which is expected
3322 to fail.
3323
f9e233c9
KB
33242020-07-22 Kevin Buettner <kevinb@redhat.com>
3325
3326 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3327 data in core file".
3328 * gdb.base/coremaker.c (buf2ro): New global.
3329 (mmapdata): Add a read-only mmap mapping.
3330
94c265d7
KB
33312020-07-22 Kevin Buettner <kevinb@redhat.com>
3332
3333 PR corefiles/25631
3334 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3335 New test.
3336 * gdb.base/coremaker.c (buf3): New global.
3337 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3338 flags.
3339
33402020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3341
3342 * gdb.base/coremaker.c (filler_ro): New global constant.
3343
32fa152e
TT
33442020-07-22 Tom Tromey <tromey@adacore.com>
3345
3346 * gdb.ada/mi_prot.exp: New file.
3347 * gdb.ada/mi_prot/pkg.adb: New file.
3348 * gdb.ada/mi_prot/pkg.ads: New file.
3349 * gdb.ada/mi_prot/prot.adb: New file.
3350
c8474dc3
TBA
33512020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3352
3353 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3354 loads two JITers.
3355
baf8791e
AB
33562020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3357
3358 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3359
f7306dac
AB
33602020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3361
3362 * gdb.python/py-arch-reg-names.exp: Additional tests.
3363
6d3d6e4b
TV
33642020-07-21 Tom de Vries <tdevries@suse.de>
3365
3366 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3367 breakpoint locations".
3368 * gdb.reverse/solib-reverse.exp: Same.
3369
803d0592
TV
33702020-07-21 Tom de Vries <tdevries@suse.de>
3371
3372 * gdb.reverse/step-reverse.c (callee): Merge statements.
3373
e9bdc510
TV
33742020-07-21 Tom de Vries <tdevries@suse.de>
3375
3376 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3377 line numbers for some variables.
3378
f0f9e75a
TV
33792020-07-21 Tom de Vries <tdevries@suse.de>
3380
3381 * gdb.opt/inline-locals.c (init_array): New func.
3382 (func1): Use init_array.
3383 * gdb.opt/inline-locals.exp: Update pattern.
3384
bd460ecb
TV
33852020-07-21 Tom de Vries <tdevries@suse.de>
3386
3387 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3388 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3389
ae5369e7
LC
33902020-07-20 Ludovic Courtès <ludo@gnu.org>
3391
3392 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3393 * gdb.guile/types-module.exp: Remove "ERROR:" from
3394 regexps since Guile 3.0 no longer prints that.
3395
68cf161c
LC
33962020-07-20 Ludovic Courtès <ludo@gnu.org>
3397
3398 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3399 error regexp to match on Guile 2.2.
3400
c14b4913
GB
34012020-07-20 Gary Benson <gbenson@redhat.com>
3402
3403 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3404 with clang.
3405
b243ba58
TV
34062020-07-20 Tom de Vries <tdevries@suse.de>
3407
3408 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3409 (omp_set_lock_in_order): New function.
3410 (single_scope, multi_scope, nested_func, nested_parallel): Use
3411 omp_set_lock_in_order and omp_unset_lock.
3412 (main): Init and destroy lock and lock2.
3413
c06ad8b5
TV
34142020-07-20 Tom de Vries <tdevries@suse.de>
3415
3416 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3417
6e22f117
TV
34182020-07-20 Tom de Vries <tdevries@suse.de>
3419
3420 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3421
33176ea7
TV
34222020-07-17 Tom de Vries <tdevries@suse.de>
3423
3424 * gdb.base/valgrind-infcall-2.c: New test.
3425 * gdb.base/valgrind-infcall-2.exp: New file.
3426 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3427
90c3ec2d
TV
34282020-07-17 Tom de Vries <tdevries@suse.de>
3429
3430 * gdb.dlang/circular.c (found): Use found_label as label name.
3431 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3432 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3433 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3434 * gdb.dwarf2/ada-linkage-name.exp: Same.
3435 * gdb.dwarf2/arr-subrange.exp: Same.
3436 * gdb.dwarf2/atomic-type.exp: Same.
3437 * gdb.dwarf2/comp-unit-lang.exp: Same.
3438 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3439 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3440 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3441 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3442 * gdb.dwarf2/implptr-64bit.exp: Same.
3443 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3444 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3445 * gdb.dwarf2/imported-unit.exp: Same.
3446 * gdb.dwarf2/main-subprogram.exp: Same.
3447 * gdb.dwarf2/missing-type-name.exp: Same.
3448 * gdb.dwarf2/nonvar-access.exp: Same.
3449 * gdb.dwarf2/struct-with-sig.exp: Same.
3450 * gdb.dwarf2/typedef-void-finish.exp: Same.
3451 * gdb.dwarf2/void-type.exp: Same.
3452
10da644d
TV
34532020-07-17 Tom de Vries <tdevries@suse.de>
3454
3455 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3456 src parameter.
3457 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3458 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3459 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3460 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3461 * gdb.dwarf2/dwz.exp: Same.
3462 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3463 * gdb.dwarf2/implref-array.exp: Same.
3464 * gdb.dwarf2/implref-const.exp: Same.
3465 * gdb.dwarf2/implref-global.exp: Same.
3466 * gdb.dwarf2/implref-struct.exp: Same.
3467 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3468 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3469 * gdb.dwarf2/var-access.exp: Same.
3470 * gdb.dwarf2/varval.exp: Same.
3471 * gdb.trace/entry-values.exp: Same.
3472
315e6afc
TV
34732020-07-17 Tom de Vries <tdevries@suse.de>
3474
3475 * lib/dwarf.exp (Dwarf::extern): Remove.
3476 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3477 * gdb.dlang/circular.exp: Same.
3478 * gdb.dwarf2/comp-unit-lang.exp: Same.
3479 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3480 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3481 * gdb.dwarf2/dwz.exp: Same.
3482 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3483 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3484 * gdb.dwarf2/imported-unit.exp: Same.
3485 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3486
5597c940
SL
34872020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3488
3489 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3490 Use double quotes instead of single quotes.
3491
d0ce17d8
CT
34922020-07-16 Caroline Tice <cmtice@google.com>
3493
3494 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3495 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3496
853772cc
TV
34972020-07-16 Tom de Vries <tdevries@suse.de>
3498
3499 * lib/dwarf.exp (program): Initialize _line.
3500 (DW_LNE_end_sequence): Reinitialize _line.
3501 (DW_LNS_advance_line): Update _line.
3502 (line): New proc.
3503 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3504 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3505 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3506 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3507 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3508 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3509
fe07b572
AB
35102020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3511
3512 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3513 generic.
3514
52781cce
TV
35152020-07-15 Tom de Vries <tdevries@suse.de>
3516
3517 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3518 is_amd64_regs_target.
3519
3dcc261c
AB
35202020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3521
3522 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3523 * gdb.fortran/ptype-on-functions.f90: Likewise.
3524
054a0959
SM
35252020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3526
3527 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3528 values in documentation for addr_size to 4 and 8.
3529
ccb9eba6
AB
35302020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3531
3532 * gdb.arch/amd64-osabi.exp: Update.
3533 * gdb.arch/arm-disassembler-options.exp: Update.
3534 * gdb.arch/powerpc-disassembler-options.exp: Update.
3535 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3536 * gdb.arch/s390-disassembler-options.exp: Update.
3537 * gdb.base/all-architectures.exp.tcl: Update.
3538 * gdb.base/attach-pie-noexec.exp: Update.
3539 * gdb.base/catch-syscall.exp: Update.
3540 * gdb.xml/tdesc-arch.exp: Update.
3541
025a39a7
TV
35422020-07-14 Tom de Vries <tdevries@suse.de>
3543
3544 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3545 (local_gettid): ... this.
3546 (fn): Update.
3547
74e4b667
SL
35482020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3549
3550 * gdb.base/info_sources.exp: Skip directory match tests on
3551 remote hosts.
3552
f413dd74
GB
35532020-07-13 Gary Benson <gbenson@redhat.com>
3554
3555 * gdb.base/savedregs.exp (caller): Use parentheses to
3556 make expected expression evaluation ordering explicit.
3557
915771bb
GB
35582020-07-13 Gary Benson <gbenson@redhat.com>
3559
3560 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3561
2a122642
GB
35622020-07-13 Gary Benson <gbenson@redhat.com>
3563
3564 * gdb.base/bigcore.c (main): Use a volatile pointer when
3565 attempting to trigger a SIGSEGV.
3566 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3567 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3568 * gdb.base/savedregs.c (thrower): Likewise.
3569 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3570
3f00c730
GB
35712020-07-13 Gary Benson <gbenson@redhat.com>
3572
3573 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3574 defining and using VLA structure fields into...
3575 * gdb.base/vla-struct-fields.c: New file.
3576 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3577 tests into...
3578 * gdb.base/vla-struct-fields.exp: New file.
3579
963eeee4
TV
35802020-07-13 Tom de Vries <tdevries@suse.de>
3581
3582 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3583 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3584 * gdb.base/gold-gdb-index.exp: Same.
3585 * gdb.base/morestack.exp: Same.
3586
0ed35c9a
DX
35872020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3588
3589 PR rust/26121
3590 * gdb.rust/modules.rs: Prevent linker from discarding test
3591 symbol.
3592
4fdba23d
PA
35932020-07-10 Pedro Alves <pedro@palves.net>
3594
3595 PR gdb/26199
3596 * gdb.multi/multi-target.c (exit_thread): New.
3597 (thread_start): Break loop if EXIT_THREAD.
3598 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3599 (top level) Call test_no_resumed.
3600
15f3b077
TT
36012020-07-08 Tom Tromey <tromey@adacore.com>
3602
3603 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3604 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3605
9fc501fd
AB
36062020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3607
3608 PR python/22748
3609 * gdb.opt/inline-frame-tailcall.c: New file.
3610 * gdb.opt/inline-frame-tailcall.exp: New file.
3611 * gdb.python/py-unwind-inline.c: New file.
3612 * gdb.python/py-unwind-inline.exp: New file.
3613 * gdb.python/py-unwind-inline.py: New file.
3614
64cb3757
AB
36152020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3616
3617 * gdb.python/py-arch-reg-groups.exp: New file.
3618
0f767f94
AB
36192020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3620
3621 * gdb.python/py-arch-reg-names.exp: New file.
3622
87dbc774
AB
36232020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3624
3625 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3626 gdb.PendingFrame.architecture method.
3627
d8cc8af6
TV
36282020-07-06 Tom de Vries <tdevries@suse.de>
3629
3630 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3631
3c8ea5be
PA
36322020-07-03 Pedro Alves <palves@redhat.com>
3633
3634 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3635 explicitly write negative numbers.
3636 * gdb.base/structs2.exp: Adjust expected output.
3637
bf90c83a
PA
36382020-07-03 Pedro Alves <palves@redhat.com>
3639
3640 * gdb.base/charset.c (init_string): Change all char parameters to
3641 unsigned char parameters.
3642
2eb82157
PA
36432020-07-03 Pedro Alves <palves@redhat.com>
3644
3645 * gdb.base/call-sc.exp (start_scalars_test): Use
3646 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3647 * gdb.base/overlays.c: Remove references to PARAMS.
3648 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3649 * gdb.base/reread.exp: Don't set 'prototypes' global.
3650 * gdb.base/structs.exp (start_structs_test): Use
3651 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3652 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3653 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3654 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3655 call.
3656 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3657
9adda7af
PA
36582020-07-03 Pedro Alves <palves@redhat.com>
3659
3660 * gdb.base/m32rovly.c: Delete.
3661 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3662
2a17c803
PW
36632020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3664
3665 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3666 of gdb_py_test_multiple.
3667 * gdb.python/py-cmd.exp: Likewise.
3668 * gdb.python/py-events.exp: Likewise.
3669 * gdb.python/py-function.exp: Likewise.
3670 * gdb.python/py-inferior.exp: Likewise.
3671 * gdb.python/py-infthread.exp: Likewise.
3672 * gdb.python/py-linetable.exp: Likewise.
3673 * gdb.python/py-parameter.exp: Likewise.
3674 * gdb.python/py-value.exp: Likewise.
3675
b011fe1a
TV
36762020-06-30 Tom de Vries <tdevries@suse.de>
3677
3678 PR testsuite/26175
3679 * lib/future.exp (gdb_default_target_compile): Detect and handle
3680 early_flags.
3681
df5b8876
SM
36822020-06-29 Simon Marchi <simon.marchi@efficios.com>
3683
3684 * boards/simavr.exp (gdb_load): Catch errors when closing
3685 previous connection. Close connection, wait for process and
3686 unset simavr_spawn_id on failure.
3687
a3ca48cd
TV
36882020-06-29 Tom de Vries <tdevries@suse.de>
3689
3690 * lib/gdb.exp (unknown): Make test-case unresolved.
3691
b0237c0e
TV
36922020-06-29 Tom de Vries <tdevries@suse.de>
3693
3694 PR gdb/25475
3695 * gdb.server/solib-list.exp: Verify that the symbol reload
3696 confirmation question is asked.
3697
c0b3b3bd
PW
36982020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3699
3700 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3701 have a input seq nr in each pass message.
fe4c3d43 3702 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3703 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3704 * gdb.python/python.exp: Make test names unique,
3705 use gdb_test_multiline instead of gdb_py_test_multiple,
3706 use $gdb_test_name.
3707 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3708
1776e3e5
NA
37092020-06-26 Nick Alcock <nick.alcock@oracle.com>
3710
3711 * configure.ac: Add --enable-libctf.
3712 * aclocal.m4: sinclude ../config/enable.m4.
3713 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3714 * lib/gdb.exp (skip_ctf_tests): Use it.
3715 * gdb.base/ctf-constvars.exp: Error message tweak.
3716 * gdb.base/ctf-ptype.exp: Likewise.
3717 * configure: Regenerate.
3718
f53b3eeb
GB
37192020-06-26 Gary Benson <gbenson@redhat.com>
3720
3721 * gdb.cp/try_catch.cc: Include string.h.
3722 (main): Replace comparison against string literal with
3723 strcmp, avoiding build failure with -Wstring-compare.
3724 Add "marker test-complete".
3725 * gdb.cp/try_catch.exp: Run the test to the above marker,
3726 then verify that the value of "test" is still true.
3727
6d74da72
AB
37282020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3729
3730 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3731
2e52d038
AB
37322020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3733
3734 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3735
3b9fce96
AB
37362020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3737
3738 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3739 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3740 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3741 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3742 * gdb.arch/riscv-tdesc-loading.exp: New file.
3743
ed69cbc8
AB
37442020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3745
3746 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3747
767a879e
AB
37482020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3749
3750 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3751 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3752 * gdb.arch/riscv-tdesc-regs.c: New file.
3753 * gdb.arch/riscv-tdesc-regs.exp: New file.
3754
221db974
PA
37552020-06-24 Pedro Alves <palves@redhat.com>
3756
3757 * gdb.arch/amd64-entry-value-paramref.exp: Use
3758 prepare_for_testing_full and don't pass "c++" for the .S file
3759 build spec.
3760 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3761 $options, since it's an assembly file. Remove -Wno-deprecated.
3762 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3763 compiling C++ programs.
3764
331733cd
PA
37652020-06-24 Pedro Alves <palves@redhat.com>
3766
3767 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3768 Clang, add "-Wno-unknown-warning-option" to the options.
3769
caa7fd04
AB
37702020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3771
3772 * gdb.xml/tdesc-reload.c: New file.
3773 * gdb.xml/tdesc-reload.exp: New file.
3774 * gdb.xml/maint-xml-dump-01.xml: New file.
3775 * gdb.xml/maint-xml-dump-02.xml: New file.
3776 * gdb.xml/maint-xml-dump.exp: New file.
3777
bb8d1260
SL
37782020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3779
3780 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3781 Adjust for omitted commands when TUI is disabled.
3782
7e4b9c4c
GB
37832020-06-23 Gary Benson <gbenson@redhat.com>
3784 Pedro Alves <palves@redhat.com>
3785
3786 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3787 * gdb.cp/nsimport.cc: Likewise.
3788 * gdb.cp/nsnested.cc: Likewise.
3789 * gdb.cp/nsnoimports.cc: Likewise.
3790 * gdb.cp/nsusing.cc: Likewise.
3791 * gdb.cp/smartp.cc: Likewise.
3792 * gdb.python/py-pp-integral.c: Likewise.
3793 * gdb.python/py-pp-re-notag.c: Likewise.
3794
2e573c0a
GB
37952020-06-23 Gary Benson <gbenson@redhat.com>
3796
3797 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3798 * gdb.cp/nsimport.cc: Likewise.
3799 * gdb.cp/nsnested.cc: Likewise.
3800 * gdb.cp/nsnoimports.cc: Likewise.
3801 * gdb.cp/nsusing.cc: Likewise.
3802 * gdb.cp/smartp.cc: Likewise.
3803 * gdb.python/py-pp-integral.c: Likewise.
3804 * gdb.python/py-pp-re-notag.c: Likewise.
3805
746ebfe8
PW
38062020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3807
3808 * gdb.base/default-args.exp: New test.
3809 * gdb.base/default-args.c: New file.
3810 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3811 * gdb.base/default.exp: Update to new help text.
3812 * gdb.base/help.exp: Likewise.
3813 * gdb.base/page.exp: Likewise.
3814 * gdb.base/style.exp: Likewise.
3815 * gdb.guile/guile.exp: Likewise.
3816 * gdb.python/python.exp: Likewise.
3817
e822f2cd
SL
38182020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3819
3820 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3821 remote host. Fix search path syntax on Windows host.
3822
48e9cc84
PW
38232020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3824
3825 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3826 over 'exec-file-mismatch'.
3827 * gdb.base/attach.c: Mark should_exit volatile.
3828 * gdb.base/attach2.c: Likewise. Add a comment explaining
3829 why the sleep cannot be big.
3830 * gdb.base/attach3.c: New file.
3831
160f8a8f
SL
38322020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3833
3834 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3835 prefix optional.
3836
4d91c2a4
SL
38372020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3838
3839 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3840 for remote host.
3841
87f83f20
SL
38422020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3843 Hafiz Abid Qadeer <abidh@codesourcery.com>
3844
3845 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3846 file sent to remote host.
3847 (top level): Allow int32_t as type of 32-bit register.
3848
37ab8655
TV
38492020-06-19 Tom de Vries <tdevries@suse.de>
3850
3851 * lib/gdb.exp (gdb_note): New proc.
3852 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3853 (gdb_default_target_compile): ... here. Only call
3854 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3855 (use_gdb_compile): Change to array.
3856 (toplevel): Update sets of use_gdb_compile to specify language.
3857 Warn about default_target_compile override. Store dejagnu's version
3858 of default_target_compile in dejagnu_default_target_compile.
3859
a8a56685
TV
38602020-06-18 Tom de Vries <tdevries@suse.de>
3861
3862 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3863 (default_gdb_init): ... here.
3864
581bea2c
SL
38652020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3866
3867 Fix TUI support checks in gdb.tui tests.
3868
3869 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3870 just say UNSUPPORTED.
3871 * gdb.tui/corefile-run.exp: Likewise.
3872 * gdb.tui/empty.exp: Likewise.
3873 * gdb.tui/list-before.exp: Likewise.
3874 * gdb.tui/list.exp: Likewise.
3875 * gdb.tui/main.exp: Likewise.
3876 * gdb.tui/regs.exp: Likewise.
3877 * gdb.tui/resize.exp: Likewise.
3878 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3879 * gdb.tui/tui-layout-asm.exp: Likewise.
3880 * gdb.tui/tui-missing-src.exp: Likewise.
3881 * gdb.tui/winheight.exp: Likewise.
3882 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3883
05e682e3
SL
38842020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3885
3886 Fix TCL error in gdb.python/py-format-string.exp.
3887
3888 * gdb.python/py-format-string.exp: Move test for python support
3889 earlier, out of function body.
3890
efb763a5
SM
38912020-06-15 Simon Marchi <simon.marchi@efficios.com>
3892
3893 * gdb.base/index-cache-load-twice.c: New.
3894 * gdb.base/index-cache-load-twice.exp: New.
3895
43327b20
KS
38962020-06-17 Keith Seitz <keiths@redhat.com>
3897
99cf27cf 3898 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3899 when executing "gdb --configuration".
3900
081e778c
TV
39012020-06-17 Tom de Vries <tdevries@suse.de>
3902
3903 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3904 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3905 conditional on presence of gdb_tcl_unknown.
3906 (gdb_finish): Make override undo conditional on presence of
3907 gdb_tcl_unknown.
3908
d2d1ea20
TT
39092020-06-16 Tom Tromey <tom@tromey.com>
3910
3911 * gdb.python/tui-window.py (failwin): New function. Register it
3912 as a TUI window type.
3913 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3914
c802e8a7
GB
39152020-06-16 Gary Benson <gbenson@redhat.com>
3916
3917 * gdb.python/py-nested-maps.c (create_map): Add missing return
3918 value.
3919 (create_map_map): Likewise.
3920
ff08abb8
TBA
39212020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3922
3923 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3924 variable.
3925 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3926 and use the already-defined 'options' variable.
3927
a29d5112
AB
39282020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3929 Tom de Vries <tdevries@suse.de>
3930
3931 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3932 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3933 (gdb_setup_known_globals): New proc.
3934 (gdb_cleanup_globals): New proc.
3935 * lib/gdb.exp (load_lib): New override proc.
3936 (gdb_stdin_log_init): Set var in_file as persistent global.
3937 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3938 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3939 fpc_compiler as persistent global.
3940
8c74a764
TV
39412020-06-12 Tom de Vries <tdevries@suse.de>
3942
3943 * lib/tuiterm.exp (spawn): Rename to ...
3944 (tui_spawn): ... this.
3945 (toplevel): Move rename of spawn ...
3946 (gdb_init_tuiterm): ... here. New proc.
3947 (gdb_finish_tuiterm): New proc.
3948 * lib/gdb.exp (gdb_finish_hooks): New global var.
3949 (gdb_finish): Handle gdb_finish_hooks.
3950 (tuiterm_env): New proc.
3951 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3952 tuiterm_env.
3953 * gdb.tui/basic.exp: Same.
3954 * gdb.tui/corefile-run.exp: Same.
3955 * gdb.tui/empty.exp: Same.
3956 * gdb.tui/list-before.exp: Same.
3957 * gdb.tui/list.exp: Same.
3958 * gdb.tui/main.exp: Same.
3959 * gdb.tui/new-layout.exp: Same.
3960 * gdb.tui/regs.exp: Same.
3961 * gdb.tui/resize.exp: Same.
3962 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3963 * gdb.tui/tui-layout-asm.exp: Same.
3964 * gdb.tui/tui-missing-src.exp: Same.
3965 * gdb.tui/winheight.exp: Same.
3966
26783bce
TV
39672020-06-12 Tom de Vries <tdevries@suse.de>
3968
3969 PR testsuite/26110
3970 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3971 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3972
2b4e6a3f
TT
39732020-06-11 Tom Tromey <tom@tromey.com>
3974
3975 PR gdb/18318:
3976 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3977 floating point tests.
3978
2f33032a
KS
39792020-06-11 Keith Seitz <keiths@redhat.com>
3980
3981 PR gdb/21356
3982 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3983 vla_struct.
3984 Add new struct vla_typedef and union vla_typedef_union and
3985 corresponding instantiation objects.
3986 Initialize new objects.
3987 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3988 and vla_typedef_union_object.
3989 Fixup type for vla_struct_object.
3990
a8baf0a3
TV
39912020-06-11 Tom de Vries <tdevries@suse.de>
3992
3993 * lib/gdb.exp (with_override): New proc, factored out of ...
3994 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3995
7ab96794
TV
39962020-06-10 Tom de Vries <tdevries@suse.de>
3997
3998 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3999
cab5c3b7
SM
40002020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4001
4002 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4003 parameter, update callers.
4004
f8c41851
SM
40052020-06-04 Simon Marchi <simon.marchi@efficios.com>
4006
4007 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4008 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4009 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4010
1c07a73f
TV
40112020-06-04 Tom de Vries <tdevries@suse.de>
4012
4013 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4014
95146b5d
TV
40152020-06-04 Tom de Vries <tdevries@suse.de>
4016
4017 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4018 exp_continue.
4019
0cfcd4f0
TV
40202020-06-04 Tom de Vries <tdevries@suse.de>
4021
4022 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4023
f9b5d5ea
TV
40242020-06-03 Tom de Vries <tdevries@suse.de>
4025
4026 PR symtab/26046
4027 * gdb.cp/breakpoint-locs-2.cc: New test.
4028 * gdb.cp/breakpoint-locs.cc: New test.
4029 * gdb.cp/breakpoint-locs.exp: New file.
4030 * gdb.cp/breakpoint-locs.h: New test.
4031
5144dfba
TV
40322020-06-03 Tom de Vries <tdevries@suse.de>
4033
4034 PR testsuite/25609
4035 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4036 value of global verbose.
4037 * gdb.base/jit-elf.exp: Same.
4038 * gdb.base/jit-reader.exp: Same.
4039
621eacdf
TV
40402020-06-02 Tom de Vries <tdevries@suse.de>
4041
4042 * gdb.dwarf2/multidictionary.exp: Don't use
4043 gdb_spawn_with_cmdline_opts.
4044
1313c56e
AB
40452020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4046
4047 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4048 use_header case.
4049 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4050 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4051 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4052 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4053 * gdb.dwarf2/dw2-inline-header.c: New file.
4054 * gdb.dwarf2/dw2-inline-header.h: New file.
4055
f68f85b5
PA
40562020-05-30 Pedro Alves <palves@redhat.com>
4057
4058 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4059 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4060
678048e8
GB
40612020-05-29 Gary Benson <gbenson@redhat.com>
4062
4063 * gdb.compile/compile-cplus.exp (additional_flags): Also
4064 set when building with clang.
4065 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4066 when building with clang.
4067
9fcafd23
GB
40682020-05-29 Gary Benson <gbenson@redhat.com>
4069
4070 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4071 building with clang.
4072 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4073
735d5a07
GB
40742020-05-29 Gary Benson <gbenson@redhat.com>
4075
4076 * gdb.cp/koenig.exp (prepare_for_testing): Add
4077 additional_flags=-Wno-unused-comparison.
4078 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4079
4ad2c6a0
GB
40802020-05-28 Gary Benson <gbenson@redhat.com>
4081
4082 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4083 statement.
4084
09fe663e
GB
40852020-05-28 Gary Benson <gbenson@redhat.com>
4086
4087 * gdb.cp/classes.exp (prepare_for_testing): Add
4088 additional_flags=-Wno-deprecated-register.
4089 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4090 * gdb.cp/misc.exp: Likewise.
4091
cee00f17
GB
40922020-05-28 Gary Benson <gbenson@redhat.com>
4093
4094 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4095 (test_op_new::operator new): Add return statement.
4096 (test_op_new_array::operator new[]): Likewise.
4097
636edd00
PA
40982020-05-27 Pedro Alves <palves@redhat.com>
4099
4100 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4101 check. Use test_gdb_complete_unique instead of
4102 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4103 test_gdb_complete_multiple instead of
4104 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4105
c2b75043
LM
41062020-05-27 Luis Machado <luis.machado@linaro.org>
4107
4108 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4109 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4110 * gdb.arch/arm-disassembler-options.exp: Likewise.
4111 * gdb.arch/arm-disp-step.exp: Likewise.
4112 * gdb.arch/thumb-prologue.exp: Likewise.
4113 * gdb.base/async.exp: Likewise.
4114 * gdb.base/auxv.exp: Likewise.
4115 * gdb.base/complex-parts.exp: Likewise.
4116 * gdb.base/ena-dis-br.exp: Likewise.
4117 * gdb.base/foll-exec.exp: Likewise.
4118 * gdb.base/permissions.exp: Likewise.
4119 * gdb.base/relocate.exp: Likewise.
4120 * gdb.base/return2.exp: Likewise.
4121 * gdb.base/sigbpt.exp: Likewise.
4122 * gdb.base/siginfo-obj.exp: Likewise.
4123 * gdb.cp/converts.exp: Likewise.
4124 * gdb.cp/exceptprint.exp: Likewise.
4125 * gdb.cp/inherit.exp: Likewise.
4126 * gdb.cp/nsnoimports.exp: Likewise.
4127 * gdb.cp/virtbase2.exp: Likewise.
4128 * gdb.mi/mi-var-cmd.exp: Likewise.
4129 * gdb.mi/var-cmd.c: Likewise.
4130
53a47a3e
TT
41312020-05-26 Tom Tromey <tromey@adacore.com>
4132
4133 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4134
0bc2354b
TT
41352020-05-26 Tom Tromey <tromey@adacore.com>
4136
4137 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4138 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4139 type.
4140 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4141 variable.
4142
0db49895
CBG
41432020-05-26 Christian Biesinger <cbiesinger@google.com>
4144
4145 * Makefile.in: Use = instead of == for the test command
4146 for portability.
4147
40d22035
TV
41482020-05-26 Tom de Vries <tdevries@suse.de>
4149
4150 * gdb.base/gold-gdb-index-2.c: New test.
4151 * gdb.base/gold-gdb-index.c: New test.
4152 * gdb.base/gold-gdb-index.exp: New file.
4153 * gdb.base/gold-gdb-index.h: New test.
4154
043e2e02
TV
41552020-05-25 Tom de Vries <tdevries@suse.de>
4156
4157 * boards/gold-gdb-index.exp: New file.
4158
462f72c5
SM
41592020-05-25 Simon Marchi <simon.marchi@efficios.com>
4160
4161 * boards/simavr.exp: New file.
4162
6cf66e76
SM
41632020-05-25 Simon Marchi <simon.marchi@efficios.com>
4164
4165 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4166 * gdb.base/inferior-args.exp: New file.
4167 * gdb.base/inferior-args.c: New file.
4168
75d04512
SM
41692020-05-25 Simon Marchi <simon.marchi@efficios.com>
4170
4171 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4172 inferior_args. Pass it to gdb_reload.
4173 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4174 inferior_args.
4175 (gdb_reload): Add inferior_args argument.
4176 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4177 pass it to gdbserver_run.
4178 * boards/native-gdbserver.exp: Do not set noargs.
4179 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4180 inferior_args argument.
4181 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4182 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4183 * gdb.base/args.exp: Likewise.
4184
42cf1844
TV
41852020-05-25 Tom de Vries <tdevries@suse.de>
4186
4187 * lib/gdb.exp (exec_is_pie): Add comment.
4188
8f7d38ef
TV
41892020-05-25 Tom de Vries <tdevries@suse.de>
4190
4191 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4192 instead of $binfile in the untested message.
4193
465e1b0f
TV
41942020-05-25 Tom de Vries <tdevries@suse.de>
4195
4196 PR testsuite/26031
4197 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4198
3c5a0e02
TV
41992020-05-25 Tom de Vries <tdevries@suse.de>
4200
4201 * boards/gold.exp: New file.
4202
0a4f5f8c
TT
42032020-05-23 Tom Tromey <tom@tromey.com>
4204
4205 * gdb.base/style.exp: Remove completion styling test.
4206 * lib/gdb-utils.exp (style): Remove completion styles.
4207
eca1f90c
TT
42082020-05-23 Tom Tromey <tom@tromey.com>
4209
4210 * gdb.base/style.exp: Add completion styling test.
4211 * lib/gdb-utils.exp (style): Add completion styles.
4212
7c13f4e8
AB
42132020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4214
4215 * gdb.base/annota1.exp: Update expected results.
4216 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4217 test name.
4218 * gdb.cp/annota3.exp: Update expected results.
4219
41977d16
SM
42202020-05-20 Simon Marchi <simon.marchi@efficios.com>
4221
4222 PR gdb/26016
4223 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4224 against MAP_FAILED.
4225 * gdb.base/coremaker.c (mmapdata): Likewise.
4226 * gdb.base/jit-reader-host.c (main): Likewise.
4227 * gdb.base/sym-file-loader.c (load): Likewise.
4228 (load_shlib): Likewise.
4229
b4757f2e
TT
42302020-05-20 Tom Tromey <tromey@adacore.com>
4231
4232 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4233
9a0bacfb
TV
42342020-05-20 Tom de Vries <tdevries@suse.de>
4235
4236 PR symtab/25833
4237 * gdb.base/with-mf-inc.c: New test.
4238 * gdb.base/with-mf-main.c: New test.
4239 * gdb.base/with-mf.exp: New file.
4240
76571211
TT
42412020-05-19 Tom Tromey <tromey@adacore.com>
4242
4243 * gdb.rust/simple.exp: Restore missing test result.
4244
4cd9f3d5
TV
42452020-05-19 Tom de Vries <tdevries@suse.de>
4246
4247 * gdb.base/gdb-caching-proc.exp: Fix typo.
4248
7d874253
TT
42492020-05-19 Tom Tromey <tromey@adacore.com>
4250
4251 * gdb.rust/simple.exp: Add some test descriptions.
4252 (test_one_slice): Use with_test_prefix.
4253
1d727695
TV
42542020-05-18 Tom de Vries <tdevries@suse.de>
4255
4256 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4257
7f32a4d5
PA
42582020-05-17 Pedro Alves <palves@redhat.com>
4259
4260 PR gdb/25741
4261 * gdb.base/hw-sw-break-same-address.exp: New file.
4262
7cfd74cf
PA
42632020-05-16 Pedro Alves <palves@redhat.com>
4264
4265 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4266 LAST_LOADED_FILE accordingly.
4267
57b4f16e
PW
42682020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4269
4270 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4271
7c05caf7
PW
42722020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4273
4274 * gdb.base/help.exp: Test apropos and help for commands
4275 having aliases. Fixed comments not starting with an
4276 upper-case letter or not finishing with a dot.
4277
7aa1b46f
PW
42782020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4279
3b3aaacb
PW
4280 * gdb.base/alias.exp: Update help output check.
4281
57b4f16e 42822020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4283
7aa1b46f
PW
4284 * gdb.base/default.exp: Update output following fixes.
4285
0605465f
PW
42862020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4287
4288 * gdb.base/alias.exp: Test aliases starting with a prefix of
4289 another alias.
4290
86e4e63d
GB
42912020-05-15 Gary Benson <gbenson@redhat.com>
4292
4293 * gdb.base/info-os.c (main): Add return statement.
4294 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4295 * gdb.base/large-frame-2.c (func): Likewise.
4296 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4297 * gdb.base/pr10179-b.c (foo2): Likewise.
4298 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4299 * gdb.base/watch-cond.c (func): Likewise.
4300 * gdb.multi/goodbye.c (verylongfun): Likewise.
4301 * gdb.multi/hello.c (commonfun): Likewise.
4302 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4303 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4304 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4305 Likewise.
4306 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4307 * gdb.threads/interrupt-while-step-over.c (child_function):
4308 Likewise.
4309 * gdb.trace/actions-changed.c (end): Likewise.
4310
163df4df
GB
43112020-05-15 Gary Benson <gbenson@redhat.com>
4312
4313 * gdb.opencl/callfuncs.exp: Report when test skipped.
4314 * gdb.opencl/convs_casts.exp: Likewise.
4315 * gdb.opencl/datatypes.exp: Likewise.
4316 * gdb.opencl/operators.exp: Likewise.
4317 * gdb.opencl/vec_comps.exp: Likewise.
4318
6dbc505a
TV
43192020-05-15 Tom de Vries <tdevries@suse.de>
4320
4321 * gdb.base/align.exp.in: Rename to ...
4322 * gdb.base/align.exp.tcl: ... this.
4323 * gdb.base/align-c++.exp: Update.
4324 * gdb.base/align-c.exp: Update.
4325 * gdb.base/all-architectures.exp.in: Rename to ...
4326 * gdb.base/all-architectures.exp: ... this.
4327 * gdb.base/all-architectures-0.exp: Update.
4328 * gdb.base/all-architectures-1.exp: Update.
4329 * gdb.base/all-architectures-2.exp: Update.
4330 * gdb.base/all-architectures-3.exp: Update.
4331 * gdb.base/all-architectures-4.exp: Update.
4332 * gdb.base/all-architectures-5.exp: Update.
4333 * gdb.base/all-architectures-6.exp: Update.
4334 * gdb.base/all-architectures-7.exp: Update.
4335 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4336 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4337 * gdb.base/infcall-nested-structs-c++.exp: Update.
4338 * gdb.base/infcall-nested-structs-c.exp: Update.
4339 * gdb.base/info-types.exp.in: Rename to ...
4340 * gdb.base/info-types.exp.tcl: ... this.
4341 * gdb.base/info-types-c++.exp: Update.
4342 * gdb.base/info-types-c.exp: Update.
4343 * gdb.base/max-depth.exp.in: Rename to ...
4344 * gdb.base/max-depth.exp.tcl: ... this.
4345 * gdb.base/max-depth-c++.exp: Update.
4346 * gdb.base/max-depth-c.exp: Update.
4347 * gdb.cp/cpexprs.exp.in: Rename to ...
4348 * gdb.cp/cpexprs.exp.tcl: ... this.
4349 * gdb.cp/cpexprs-debug-types.exp: Update.
4350 * gdb.cp/cpexprs.exp: Update.
4351 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4352 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4353 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4354 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4355 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4356 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4357 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4358 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4359 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4360 * gdb.dwarf2/clang-debug-names.exp: Update.
4361
d1034d78
AB
43622020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4363
4364 * lib/check-test-names.exp: Remove code that prevents this file
4365 loading when tests are run in parallel.
4366
3c5c3649
PA
43672020-05-15 Pedro Alves <palves@redhat.com>
4368
4369 * gdb.multi/multi-kill.exp (start_inferior): Remove
4370 'testpid' parameter. Refer to namespace variable directly.
4371 (testpid): Declare as namespace variable.
4372
272c36b8
PA
43732020-05-15 Pedro Alves <palves@redhat.com>
4374
4375 * gdb.multi/multi-kill.exp: Wrap in namespace.
4376 (start_inferior): Add TESTPID parameter. Use it instead of the
4377 testpid global.
4378 (top level): Define empty TESTPID array, and pass it down to
4379 start_inferior.
4380
02eba61a
TV
43812020-05-14 Tom de Vries <tdevries@suse.de>
4382
4383 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4384 output.
4385
971a3747
TV
43862020-05-14 Tom de Vries <tdevries@suse.de>
4387
4388 * gdb.base/align.exp: Split into ...
4389 * gdb.base/align.exp.in: ...
4390 * gdb.base/align-c++.exp: ...
4391 * gdb.base/align-c.exp: ... these.
4392 * gdb.base/infcall-nested-structs.exp: Split into ...
4393 * gdb.base/infcall-nested-structs.exp.in: ...
4394 * gdb.base/infcall-nested-structs-c++.exp: ...
4395 * gdb.base/infcall-nested-structs-c.exp: ... these.
4396 * gdb.base/info-types.exp: Split into ...
4397 * gdb.base/info-types.exp.in: ...
4398 * gdb.base/info-types-c++.exp: ...
4399 * gdb.base/info-types-c.exp: ... these.
4400 * gdb.base/max-depth.exp: Split into ...
4401 * gdb.base/max-depth.exp.in: ...
4402 * gdb.base/max-depth-c++.exp: ...
4403 * gdb.base/max-depth-c.exp: ... these.
4404 * gdb.cp/infcall-nodebug.exp: Split into ...
4405 * gdb.cp/infcall-nodebug.exp.in: ...
4406 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4407 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4408 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4409 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4410
a05575d3
TBA
44112020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4412 Pedro Alves <palves@redhat.com>
4413
4414 * gdb.multi/multi-exit.c: New file.
4415 * gdb.multi/multi-exit.exp: New file.
4416 * gdb.multi/multi-kill.c: New file.
4417 * gdb.multi/multi-kill.exp: New file.
4418
6ad82919
TBA
44192020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4420
4421 * gdb.base/annota1.exp: Update the expected output.
4422 * gdb.cp/annota2.exp: Ditto.
4423
843f4d93
AB
44242020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4425
4426 * lib/check-test-names.exp: Disable when testing is being run in
4427 parallel.
4428
c7c66341
TV
44292020-05-12 Tom de Vries <tdevries@suse.de>
4430
4431 * gdb.base/jit-elf.exp: Fix string concat.
4432
1b59ca1c
TV
44332020-05-12 Tom de Vries <tdevries@suse.de>
4434
4435 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4436 messages.
4437
b4991d29
TV
44382020-05-12 Tom de Vries <tdevries@suse.de>
4439
4440 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4441
dbb0ab10
TV
44422020-05-12 Tom de Vries <tdevries@suse.de>
4443
4444 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4445 * gdb.ada/mi_catch_ex.exp: Same.
4446 * gdb.ada/mi_catch_ex_hand.exp: Same.
4447
7549fed8
TV
44482020-05-12 Tom de Vries <tdevries@suse.de>
4449
4450 * gdb.fortran/complex.exp: Use with_test_prefix.
4451
af2d5cd8
TV
44522020-05-12 Tom de Vries <tdevries@suse.de>
4453
4454 * gdb.trace/passcount.exp: Fix test-names.
4455
7c121311
TV
44562020-05-12 Tom de Vries <tdevries@suse.de>
4457
4458 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4459
c9f3b40e
TV
44602020-05-12 Tom de Vries <tdevries@suse.de>
4461
4462 * gdb.gdb/complaints.exp: Use with_test_prefix.
4463 * gdb.xml/tdesc-regs.exp: Same.
4464 * gdb.opt/inline-locals.exp: Fix test name.
4465
111b33f0
TV
44662020-05-12 Tom de Vries <tdevries@suse.de>
4467
4468 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4469 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4470 * gdb.dwarf2/implref-struct.exp: Same.
4471 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4472 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4473
ebf47080
SM
44742020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4475
4476 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4477
d30dcd12
AB
44782020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4479
4480 * lib/check-test-names.exp (all_test_names): New module variable.
4481 (counts): Add 'duplicates' field.
4482 (_check_duplicates): New procedure.
4483 (check): Also check for duplicates.
4484 (do_log_summary): Print duplicates count.
4485 (do_reset_vars): Reset counter for duplicate test names, and
4486 discard all know test names.
4487
34584c09
AB
44882020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4489
4490 * lib/gdb.exp: Include check-test-names.exp library.
4491 * lib/check-test-names.exp: New file.
4492
e0002117
TV
44932020-05-11 Tom de Vries <tdevries@suse.de>
4494
4495 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4496
53f539a3
KS
44972020-05-11 Keith Seitz <keiths@redhat.com>
4498
4499 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4500
113ee09a
TV
45012020-05-11 Tom de Vries <tdevries@suse.de>
4502
4503 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4504 * gdb.cp/cpexprs.exp.in: .. here.
4505 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4506 cpexprs.exp.
4507
ba3e70b0
KS
45082020-05-11 Keith Seitz <keiths@redhat.com>
4509
4510 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4511 test names.
4512 * gdb.ada/arrayptr.exp: Likewise.
4513 * gdb.ada/assign_arr.exp: Likewise.
4514 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4515 * gdb.ada/bp_on_var.exp: Likewise.
4516 * gdb.ada/call_pn.exp: Likewise.
4517 * gdb.ada/complete.exp: Likewise.
4518 * gdb.ada/fun_overload_menu.exp: Likewise.
4519 * gdb.ada/funcall_param.exp: Likewise.
4520 * gdb.ada/funcall_ref.exp: Likewise.
4521 * gdb.ada/packed_array_assign.exp: Likewise.
4522 * gdb.ada/same_component_name.exp: Likewise.
4523 * gdb.ada/type_coercion.exp: Likewise.
4524 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4525 * gdb.ada/variant_record_packed_array.exp: Likewise.
4526
3ee6bb11
TV
45272020-05-11 Tom de Vries <tdevries@suse.de>
4528
4529 PR symtab/25941
4530 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4531 out of ...
4532 * gdb.dwarf2/clang-debug-names.exp: ... here.
4533 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4534 clang-debug-names.exp.in.
4535 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4536 * gdb.dwarf2/clang-debug-names-2.c: New test.
4537
86cd6bc8
AKS
45382020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4539
4540 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4541 (fortran_runto_main): New Proc, fortran version of runto_main.
4542 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4543 * gdb.fortran/array-bounds.exp: Likewise.
4544 * gdb.fortran/array-slices.exp: Likewise.
4545 * gdb.fortran/block-data.exp: Likewise.
4546 * gdb.fortran/charset.exp: Likewise.
4547 * gdb.fortran/common-block.exp: Likewise.
4548 * gdb.fortran/complex.exp: Likewise.
4549 * gdb.fortran/derived-type-function.exp: Likewise.
4550 * gdb.fortran/derived-type.exp: Likewise.
4551 * gdb.fortran/info-modules.exp: Likewise.
4552 * gdb.fortran/info-types.exp: Likewise.
4553 * gdb.fortran/intrinsics.exp: Likewise.
4554 * gdb.fortran/library-module.exp: Likewise.
4555 * gdb.fortran/logical.exp: Likewise.
4556 * gdb.fortran/max-depth.exp: Likewise.
4557 * gdb.fortran/module.exp: Likewise.
4558 * gdb.fortran/multi-dim.exp: Likewise.
4559 * gdb.fortran/nested-funcs.exp: Likewise.
4560 * gdb.fortran/print-formatted.exp: Likewise.
4561 * gdb.fortran/print_type.exp: Likewise.
4562 * gdb.fortran/printing-types.exp: Likewise.
4563 * gdb.fortran/ptr-indentation.exp: Likewise.
4564 * gdb.fortran/ptype-on-functions.exp: Likewise.
4565 * gdb.fortran/subarray.exp: Likewise.
4566 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4567 * gdb.fortran/vla-datatypes.exp: Likewise.
4568 * gdb.fortran/vla-history.exp: Likewise.
4569 * gdb.fortran/vla-ptr-info.exp: Likewise.
4570 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4571 * gdb.fortran/vla-ptype.exp: Likewise.
4572 * gdb.fortran/vla-sizeof.exp: Likewise.
4573 * gdb.fortran/vla-type.exp: Likewise.
4574 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4575 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4576 * gdb.fortran/vla-value-sub.exp: Likewise.
4577 * gdb.fortran/vla-value.exp: Likewise.
4578 * gdb.fortran/whatis_type.exp: Likewise.
4579 * gdb.mi/mi-var-child-f.exp: Likewise.
4580
6dc55ce9 45812020-05-09 Tom de Vries <tdevries@suse.de>
4582
4583 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4584
283cb58c
TV
45852020-05-08 Tom de Vries <tdevries@suse.de>
4586
4587 * gdb.dwarf2/clang-debug-names.c: New test.
4588 * gdb.dwarf2/clang-debug-names.exp: New file.
4589
ac4a4f1c
SM
45902020-05-06 Simon Marchi <simon.marchi@efficios.com>
4591
4592 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4593 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4594
24fe640b
TV
45952020-05-06 Tom de Vries <tdevries@suse.de>
4596
4597 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4598 breakpoint is at a "recommended breakpoint location".
4599 * gdb.reverse/consecutive-reverse.exp: Same.
4600
0d8683a3
TV
46012020-05-06 Tom de Vries <tdevries@suse.de>
4602
4603 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4604 address.
4605
b8983c46
TV
46062020-05-06 Tom de Vries <tdevries@suse.de>
4607
4608 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4609
abf6d805
TV
46102020-05-06 Tom de Vries <tdevries@suse.de>
4611
4612 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4613 info for r.
4614
0fc2a808
TV
46152020-05-06 Tom de Vries <tdevries@suse.de>
4616
4617 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4618 necessary.
4619
873dd427
TV
46202020-05-06 Tom de Vries <tdevries@suse.de>
4621
4622 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4623 void.
4624
7c99e7e2
TV
46252020-05-06 Tom de Vries <tdevries@suse.de>
4626
4627 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4628 of ...
4629 * gdb.base/async.exp: ... here.
4630 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4631 "recommended breakpoint location".
4632
6173d6a6
TV
46332020-05-06 Tom de Vries <tdevries@suse.de>
4634
4635 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4636
6015a067
TV
46372020-05-04 Tom de Vries <tdevries@suse.de>
4638
4639 * gdb.base/async.exp: Check whether instruction addresses are a
4640 "recommended breakpoint location".
4641
3b6acaee
TT
46422020-05-03 Tom Tromey <tom@tromey.com>
4643
4644 * gdb.base/sepdebug.exp: Remove "catch" test.
4645 * gdb.base/break.exp: Remove "catch" test.
4646 * gdb.base/default.exp: Update expected output.
4647
5beb4d17
TV
46482020-05-02 Tom de Vries <tdevries@suse.de>
4649
4650 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4651 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4652 * gdb.arch/i386-mpx-map.exp: Same.
4653 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4654 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4655 * gdb.arch/i386-mpx.exp: Same.
4656
8caf140d
TV
46572020-05-02 Tom de Vries <tdevries@suse.de>
4658
4659 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4660
693196cb
TV
46612020-05-01 Tom de Vries <tdevries@suse.de>
4662
4663 * gdb.ada/operator_bp.exp: Allow more than required amount of
4664 breakpoint.
4665
53ae0aa9
TV
46662020-05-01 Tom de Vries <tdevries@suse.de>
4667
4668 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4669
ee9d1e5f
HD
46702020-04-30 Hannes Domani <ssbssa@yahoo.de>
4671
4672 PR gdb/18706
4673 * gdb.cp/stub-array-size.cc: New test.
4674 * gdb.cp/stub-array-size.exp: New file.
4675 * gdb.cp/stub-array-size.h: New test.
4676 * gdb.cp/stub-array-size2.cc: New test.
4677
d5cf82c0
HD
46782020-04-30 Hannes Domani <ssbssa@yahoo.de>
4679
4680 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4681 output to the new format.
4682
42e165c3
SM
46832020-04-29 Simon Marchi <simon.marchi@efficios.com>
4684
4685 * gdb.base/break.exp: Use with_test_prefix.
4686
6e4e3fe1
TV
46872020-04-29 Tom de Vries <tdevries@suse.de>
4688
4689 * lib/gdb.exp (debug_types): New proc.
4690 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4691 * gdb.python/py-symtab.exp: Same.
4692
d642b692
HD
46932020-04-29 Hannes Domani <ssbssa@yahoo.de>
4694
4695 PR gdb/17320
4696 * gdb.base/pretty-array.c: New test.
4697 * gdb.base/pretty-array.exp: New file.
4698
ea90f227
TV
46992020-04-29 Tom de Vries <tdevries@suse.de>
4700
4701 PR symtab/25889
4702 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4703 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4704 and include cpexprs.exp.
4705
a65189c9
TV
47062020-04-28 Mark Williams <mark@myosotissp.com>
4707
4708 PR gdb/24480
4709 * dw4-toplevel-types.exp: Test for top level types.
4710 * dw4-toplevel-types.cc: Test for top level types.
4711
32d1f47a
TBA
47122020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4713
4714 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4715 (theads -> threads).
4716
56a4f5a1
TV
47172020-04-28 Tom de Vries <tdevries@suse.de>
4718
4719 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4720
0b2f8a3b
TV
47212020-04-28 Tom de Vries <tdevries@suse.de>
4722
4723 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4724
5390c717
TV
47252020-04-28 Tom de Vries <tdevries@suse.de>
4726
4727 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4728
15cd93d0
TV
47292020-04-28 Tom de Vries <tdevries@suse.de>
4730
4731 * gdb.dwarf2/main-foo.c: New test.
4732 * gdb.dwarf2/struct-with-sig.exp: New file.
4733
d472f0fb
TV
47342020-04-25 Tom de Vries <tdevries@suse.de>
4735
4736 * boards/debug-types.exp: New file.
4737
8d840e05
AB
47382020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4739
4740 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4741
bcfe6157
TT
47422020-04-24 Tom Tromey <tom@tromey.com>
4743
4744 PR symtab/12707:
4745 * gdb.python/py-symbol.exp: Update expected results for
4746 linkage_name test.
4747 * gdb.cp/print-demangle.exp: New file.
4748 * gdb.base/c-linkage-name.exp: Fix test.
4749 * gdb.guile/scm-symbol.exp: Update expected results for
4750 linkage_name test.
4751
f049a313
TT
47522020-04-24 Tom Tromey <tom@tromey.com>
4753
4754 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4755 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4756 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4757 assembler.
4758
7cf28874
TV
47592020-04-24 Tom de Vries <tdevries@suse.de>
4760
4761 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4762 C++.
4763
dac2fef7
TT
47642020-04-24 Tom Tromey <tromey@adacore.com>
4765
4766 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4767 values.
4768 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4769 values. Update test for minimal encodings.
4770 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4771 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4772 values. Update test for minimal encodings.
4773
1acda803
TT
47742020-04-24 Tom Tromey <tromey@adacore.com>
4775
4776 PR python/23662:
4777 * gdb.ada/variant.exp: Add Python checks.
4778 * gdb.rust/simple.exp: Add dynamic type checks.
4779
adfb9815
TT
47802020-04-24 Tom Tromey <tromey@adacore.com>
4781
4782 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4783 Make array type matching more lax.
4784 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4785 * gdb.ada/mi_variant.exp: New file.
4786 * gdb.ada/mi_variant/pck.ads: New file.
4787 * gdb.ada/mi_variant/pkg.adb: New file.
4788 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4789 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4790
7d79de9a
TT
47912020-04-24 Tom Tromey <tromey@adacore.com>
4792
4793 * gdb.ada/variant.exp: Add dynamic field offset tests.
4794 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4795 * gdb.ada/variant/pkg.adb: Add new variables.
4796
f8e89861
TT
47972020-04-24 Tom Tromey <tromey@adacore.com>
4798
4799 * gdb.ada/variant.exp: New file
4800 * gdb.ada/variant/pkg.adb: New file
4801 * gdb.ada/variant/pck.adb: New file
4802
86e887ae
TV
48032020-04-24 Tom de Vries <tdevries@suse.de>
4804
4805 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4806
88428775
TV
48072020-04-24 Tom de Vries <tdevries@suse.de>
4808
4809 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4810 flags.
4811
4e86f6e7
TV
48122020-04-24 Tom de Vries <tdevries@suse.de>
4813
4814 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4815
2016d3e6
TV
48162020-04-24 Tom de Vries <tdevries@suse.de>
4817
4818 * lib/gdb.exp (default_gdb_start): Handle eof.
4819 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4820 failure.
4821 * gdb.base/readnever.exp: Handle clean_restart failure.
4822
70bc38f5
TV
48232020-04-23 Tom de Vries <tdevries@suse.de>
4824
4825 * gdb.base/decl-before-def.exp: Run to main and print a again.
4826
de82891c
TV
48272020-04-23 Tom de Vries <tdevries@suse.de>
4828
4829 * gdb.base/decl-before-def-decl.c: New test.
4830 * gdb.base/decl-before-def-def.c: New test.
4831 * gdb.base/decl-before-def.exp: New file.
4832
96038148
TV
48332020-04-23 Tom de Vries <tdevries@suse.de>
4834
4835 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4836
54ac3df1
TV
48372020-04-22 Tom de Vries <tdevries@suse.de>
4838
4839 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4840 debug_info_offset.
4841 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4842 before $objsfile in the line line.
4843
714534e1
TV
48442020-04-22 Tom de Vries <tdevries@suse.de>
4845
4846 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4847
16a7dbf4
MS
48482020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4849
4850 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4851 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4852 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4853 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4854 * gdb.base/jit-protocol.h: Update definitions to match all usage
4855 contexts.
4856
48572020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4858
4859 * gdb.base: Rename all jit related test and source files.
4860
48612020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4862
4863 * gdb.base/jit-reader.exp: Relax register output check.
4864
317d2668
TV
48652020-04-22 Tom de Vries <tdevries@suse.de>
4866
4867 PR symtab/25764
4868 * gdb.base/psym-external-decl-2.c: New test.
4869 * gdb.base/psym-external-decl.c: New test.
4870 * gdb.base/psym-external-decl.exp: New file.
4871 * gdb.threads/tls.exp: Add PR25807 kfail.
4872
eea9e357
TV
48732020-04-22 Tom de Vries <tdevries@suse.de>
4874
4875 PR symtab/25801
4876 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4877 in "info source" output.
4878
3d5afab3
TV
48792020-04-22 Tom de Vries <tdevries@suse.de>
4880
4881 PR symtab/25700
4882 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4883 symtab for imported_unit.c.
4884
b32102f6
GB
48852020-04-21 Gary Benson <gbenson@redhat.com>
4886
4887 * gdb.base/advance.c (func): New argument, to match call site.
4888 (func2, func3): Add return statements.
4889
d43b7a2d
TBA
48902020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4891
4892 * gdb.multi/run-only-second-inf.c: New file.
4893 * gdb.multi/run-only-second-inf.exp: New file.
4894
d89edf9b
MM
48952020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4896
4897 * gdb.btrace/multi-inferior.c: New test.
4898 * gdb.btrace/multi-inferior.exp: New file.
4899
1a476b6d
MM
49002020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4901
4902 * gdb.btrace/enable-new-thread.c: New test.
4903 * gdb.btrace/enable-new-thread.exp: New file.
4904
4778a5f8
TV
49052020-04-21 Tom de Vries <tdevries@suse.de>
4906
4907 PR gdb/25471
4908 * gdb.threads/killed-outside.c: New test.
4909 * gdb.threads/killed-outside.exp: New file.
4910
9b2c992c
GB
49112020-04-20 Gary Benson <gbenson@redhat.com>
4912
4913 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4914 * gdb.base/nested-subp2.exp: Likewise.
4915 * gdb.base/nested-subp3.exp: Likewise.
4916
b5d1d6f7
GB
49172020-04-20 Gary Benson <gbenson@redhat.com>
4918
4919 * gdb.base/nested-subp1.exp: Disable test when using clang.
4920 * gdb.base/nested-subp2.exp: Likewise.
4921 * gdb.base/nested-subp3.exp: Likewise.
4922
25230285
GB
49232020-04-20 Gary Benson <gbenson@redhat.com>
4924
4925 * gdb.cp/exception.cc: Fix compilation error with clang.
4926
fa93cc8f
GB
49272020-04-20 Gary Benson <gbenson@redhat.com>
4928
809730f3 4929 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4930
e0c45f30
GB
49312020-04-20 Gary Benson <gbenson@redhat.com>
4932
4933 * gdb.base/jit-main.c: Fix compilation error with clang.
4934
4ddfec93
KR
49352020-04-17 Kamil Rytarowski <n54@gmx.com>
4936
4937 * gdb.base/attach-twice.c: Include "sys/types.h".
4938 (PTRACE_ATTACH): Add fallback definition.
4939 (main): Pass `0' to the 4th argument of `ptrace'.
4940
2bed205e
KR
49412020-04-17 Kamil Rytarowski <n54@gmx.com>
4942
4943 * gdb.base/fork-running-state.c: Include "signal.h".
4944
0743fc83
TT
49452020-04-17 Tom Tromey <tromey@adacore.com>
4946
4947 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4948 Update tests.
4949 * gdb.btrace/cpu.exp: Update tests.
4950 * gdb.base/maint.exp: Update tests.
4951 * gdb.base/default.exp: Update tests.
4952 * gdb.base/completion.exp: Update tests.
4953
efba5c23
TV
49542020-04-16 Tom de Vries <tdevries@suse.de>
4955
4956 PR symtab/25791
4957 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4958 (ensure_gdb_index): and factor out and move ...
4959 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4960 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4961
d191d716
TV
49622020-04-16 Tom de Vries <tdevries@suse.de>
4963
4964 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4965 loading exec.
4966
99f1bc6a
AB
49672020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4968
4969 * gdb.base/many-completions.exp: New file.
4970
194d088f
TV
49712020-04-14 Tom de Vries <tdevries@suse.de>
4972
4973 PR symtab/25718
4974 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4975
c1a66c06
TV
49762020-04-14 Tom de Vries <tdevries@suse.de>
4977
4978 PR symtab/25720
4979 * gdb.base/maint-expand-symbols-header-file.c: New test.
4980 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4981 * gdb.base/maint-expand-symbols-header-file.h: New test.
4982
21b0982c
AB
49832020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4984
4985 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4986 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4987 get_func_info.
4988 (get_func_info): Delete.
4989 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4990 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4991 * lib/dwarf.exp (get_func_info): New function.
4992
dd1cab06
TV
49932020-04-13 Tom de Vries <tdevries@suse.de>
4994
4995 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4996 to what find_gnatmake does.
4997
71ea2b6b
TV
49982020-04-10 Tom de Vries <tdevries@suse.de>
4999
5000 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5001 -readnow.
5002
bdfc1e8a
TV
50032020-04-10 Tom de Vries <tdevries@suse.de>
5004
5005 PR cli/25808
5006 * gdb.base/style.c: Add leading newlines.
5007 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5008 Check listing of main's one-line body.
5009
14ca8ecf
TV
50102020-04-08 Tom de Vries <tdevries@suse.de>
5011
5012 * lib/gdb.exp (psymtabs_p): New proc.
5013 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5014 importing unit" unsupported if there are no partial symbols.
5015
e21d048f
TV
50162020-04-08 Tom de Vries <tdevries@suse.de>
5017
5018 PR testsuite/25760
5019 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5020
25c11aca
TV
50212020-04-07 Tom de Vries <tdevries@suse.de>
5022
5023 PR symtab/25796
5024 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5025
5707e24b
TV
50262020-04-07 Tom de Vries <tdevries@suse.de>
5027
5028 * gdb.base/check-psymtab.c: New test.
5029 * gdb.base/check-psymtab.exp: New file.
5030
6ee448cc
TT
50312020-04-06 Tom Tromey <tromey@adacore.com>
5032
5033 * gdb.ada/variant-record/proc.adb: New file.
5034 * gdb.ada/variant-record/value.adb: New file.
5035 * gdb.ada/variant-record/value.s: New file.
5036 * gdb.ada/variant-record.exp: New file.
5037
9e7c9a03
HD
50382020-04-03 Hannes Domani <ssbssa@yahoo.de>
5039
5040 PR gdb/25325
5041 * gdb.cp/typed-enum.cc: New test.
5042 * gdb.cp/typed-enum.exp: New file.
5043
c90d28ac
AB
50442020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5045
5046 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5047 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5048 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5049 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5050 * gdb.opt/inline-small-func.c: New file.
5051 * gdb.opt/inline-small-func.exp: New file.
5052 * gdb.opt/inline-small-func.h: New file.
5053
34e9a9fa
AB
50542020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5055
5056 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5057 function.
5058
6a354911
AB
50592020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5060
5061 * lib/dwarf.exp (function_range): Allow compiler options to be
5062 specified.
5063
880d9777
TV
50642020-04-02 Tom de Vries <tdevries@suse.de>
5065
5066 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5067 __attribute__((always_inline)).
5068 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5069
f32682ea
TV
50702020-04-02 Tom de Vries <tdevries@suse.de>
5071
5072 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5073 (gdbserver_gdb_exit): ... here. Add timeout warning.
5074 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5075 (connect_target_extended_remote): Append new server_spawn_id to
5076 server_spawn_ids.
5077 (cleanup): New proc.
5078 (setup, <toplevel>): Call cleanup.
5079
d3214198
TV
50802020-04-02 Tom de Vries <tdevries@suse.de>
5081
5082 * gdb.base/main-psymtab.exp: New file.
5083
cc77ed24
TV
50842020-04-02 Tom de Vries <tdevries@suse.de>
5085
5086 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5087
3638a098
TT
50882020-04-01 Tom Tromey <tom@tromey.com>
5089
5090 * gdb.base/complex-parts.exp: Add type tests.
5091
c34e8714
TT
50922020-04-01 Tom Tromey <tom@tromey.com>
5093
5094 * gdb.base/complex-parts.exp: Add arithmetic tests.
5095
981c08ce
TT
50962020-04-01 Tom Tromey <tom@tromey.com>
5097
5098 * gdb.compile/compile.exp: Update.
5099 * gdb.compile/compile-cplus.exp: Update.
5100 * gdb.base/varargs.exp: Update.
5101 * gdb.base/floatn.exp: Update.
5102 * gdb.base/endianity.exp: Update.
5103 * gdb.base/callfuncs.exp (do_function_calls): Update.
5104 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5105 (complex_float_integral_args): Update.
5106 * gdb.base/complex.exp: Update.
5107 * gdb.base/complex-parts.exp: Update.
5108
3d1cfd43
TT
51092020-04-01 Tom Tromey <tromey@adacore.com>
5110
5111 * gdb.rust/union.rs: New file.
5112 * gdb.rust/union.exp: New file.
5113 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5114 (main): Update.
5115 * gdb.rust/simple.exp: Move union tests to union.exp.
5116
e033dfa9
TT
51172020-04-01 Tom Tromey <tromey@adacore.com>
5118
5119 * gdb.rust/simple.rs (main): Remove "y0".
5120
53cccef1
TBA
51212020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5122
5123 * gdb.multi/stop-all-on-exit.c: New test.
5124 * gdb.multi/stop-all-on-exit.exp: New file.
5125
60e22c1e
HD
51262020-04-01 Hannes Domani <ssbssa@yahoo.de>
5127
5128 PR gdb/24789
5129 * gdb.cp/misc.cc: Add integer reference variable.
5130 * gdb.cp/misc.exp: Add test.
5131
e139a727
TBA
51322020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5133
5134 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5135 scenario to cover execution until the end and also the case
5136
16b0db75
TV
51372020-03-31 Tom de Vries <tdevries@suse.de>
5138
5139 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5140 c. Use "maint info symtabs" to check symtab expansion.
5141
c0502da6
TV
51422020-03-30 Tom de Vries <tdevries@suse.de>
5143
5144 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5145 unsupported.
5146 (verify_psymtab_expanded): Move ...
5147 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5148 test.
5149 (readnow): New proc.
5150
5935fd15
AB
51512020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5152
5153 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5154 with $hex.
5155
1773be9e
TT
51562020-03-20 Tom Tromey <tromey@adacore.com>
5157
5158 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5159
70304be9
TT
51602020-03-20 Tom Tromey <tromey@adacore.com>
5161
5162 * gdb.ada/sub_variant/subv.adb: New file.
5163 * gdb.ada/sub_variant.exp: New file.
5164
0dd7b8f7
TV
51652020-03-20 Tom de Vries <tdevries@suse.de>
5166
5167 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5168 first break fails.
5169 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5170
cada5fc9
AB
51712020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5172
5173 * gdb.server/exit-multiple-threads.c: New file.
5174 * gdb.server/exit-multiple-threads.exp: New file.
5175
6b8c53f2
AB
51762020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5177
5178 * gdb.fortran/mixed-lang-stack.c: New file.
5179 * gdb.fortran/mixed-lang-stack.cpp: New file.
5180 * gdb.fortran/mixed-lang-stack.exp: New file.
5181 * gdb.fortran/mixed-lang-stack.f90: New file.
5182
19a2740f
AB
51832020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5184
5185 * gdb.linespec/cp-completion-aliases.cc: New file.
5186 * gdb.linespec/cp-completion-aliases.exp: New file.
5187
d8c8b848
TV
51882020-03-19 Tom de Vries <tdevries@suse.de>
5189
5190 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5191 more precise.
5192
a9933ccf
TV
51932020-03-18 Tom de Vries <tdevries@suse.de>
5194
5195 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5196 * gdb.dwarf2/break-inline-psymtab.c: New test.
5197 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5198
2f89101f
TV
51992020-03-16 Tom de Vries <tdevries@suse.de>
5200
5201 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5202 cache_verify and cache_verify_proc.
5203
6b9374f1
TV
52042020-03-15 Tom de Vries <tdevries@suse.de>
5205
5206 * gdb.server/solib-list.exp: Handle
5207 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5208
eaeaf44c
TV
52092020-03-15 Tom de Vries <tdevries@suse.de>
5210
5211 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5212 objfiles".
5213
3293bbaf
TT
52142020-03-14 Tom Tromey <tom@tromey.com>
5215
5216 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5217
ab44624c
TV
52182020-03-14 Tom de Vries <tdevries@suse.de>
5219
5220 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5221
54c43825
TV
52222020-03-14 Tom de Vries <tdevries@suse.de>
5223
5224 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5225 result in line-by-line fashion.
5226
2ac70237
TV
52272020-03-14 Tom de Vries <tdevries@suse.de>
5228
5229 * lib/gdb.exp (supports_statement_frontiers): New proc.
5230 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5231
09546b56
TV
52322020-03-14 Tom de Vries <tdevries@suse.de>
5233
5234 * gdb.base/printcmds.exp: Add missing quoting for "print
5235 teststring2".
5236
a1f6a07c
TT
52372020-03-13 Tom Tromey <tom@tromey.com>
5238
5239 * gdb.base/printcmds.exp (test_print_strings): Add regression
5240 test.
5241 * gdb.base/printcmds.c (charptr): New typedef.
5242 (teststring2): New global.
5243
1b83d09c
AB
52442020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5245
5246 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5247 full path in the test name.
5248 (test_ld): Add some with_test_prefix blocks to make test names
5249 unique.
5250
2d61316c
TV
52512020-03-13 Tom de Vries <tdevries@suse.de>
5252
5253 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5254
2e9145ac
TV
52552020-03-13 Tom de Vries <tdevries@suse.de>
5256
5257 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5258
96c7f873
TV
52592020-03-13 Tom de Vries <tdevries@suse.de>
5260
5261 PR symtab/25646
5262 * gdb.dwarf2/imported-unit.exp: Add test.
5263
49ba92c0
TV
52642020-03-13 Tom de Vries <tdevries@suse.de>
5265
5266 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5267 (var1, var2): New variable.
5268 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5269 matching symbols.
5270
301b21e0
TV
52712020-03-13 Tom de Vries <tdevries@suse.de>
5272
5273 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5274 (Term::command): Use prompt prefix.
5275 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5276 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5277 command_no_prompt_prefix instead of prefix.
5278 * gdb.tui/tui-layout-asm.exp: Same.
5279
3f512721
SM
52802020-03-12 Simon Marchi <simon.marchi@efficios.com>
5281
5282 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5283
40310f30
SM
52842020-03-12 Simon Marchi <simon.marchi@efficios.com>
5285
5286 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5287 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5288 on" while stepping over the test instruction, match printed
5289 message.
5290
09252140
TV
52912020-03-12 Tom de Vries <tdevries@suse.de>
5292
5293 * gdb.base/info-types.exp: Use exp_continue during matching of output
5294 of "info types".
5295
14e9c72c
TV
52962020-03-12 Tom de Vries <tdevries@suse.de>
5297
5298 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5299
e515d67e
TV
53002020-03-12 Tom de Vries <tdevries@suse.de>
5301
5302 * gdb.fortran/module.exp: Use exp_continue during matching of output
5303 of "info variable -n".
5304
307eafd8
TV
53052020-03-12 Tom de Vries <tdevries@suse.de>
5306
5307 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5308 gdb.dwarf2/dw2-ranges-base.c.
5309
9a2de3fc
TV
53102020-03-12 Tom de Vries <tdevries@suse.de>
5311
5312 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5313 in presence of GLIBC debuginfo.
5314
3217502e
TV
53152020-03-12 Tom de Vries <tdevries@suse.de>
5316
5317 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5318 $core.
5319
1281424c
TV
53202020-03-12 Tom de Vries <tdevries@suse.de>
5321
5322 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5323 more precise.
5324
038b97fc
SM
53252020-03-11 Simon Marchi <simon.marchi@efficios.com>
5326
5327 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5328 from Unix to Windows path.
5329
5308d1e7
TV
53302020-03-11 Tom de Vries <tdevries@suse.de>
5331
5332 * gdb.ada/minsyms.exp: Set language to ada.
5333
f870f78f
TV
53342020-03-11 Tom de Vries <tdevries@suse.de>
5335
5336 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5337
5a13315d
TV
53382020-03-11 Tom de Vries <tdevries@suse.de>
5339
5340 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5341
976862ed
TT
53422020-03-11 Tom Tromey <tromey@adacore.com>
5343
5344 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5345
7462c383
TV
53462020-03-11 Tom de Vries <tdevries@suse.de>
5347
5348 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5349
1c6c46a0
TV
53502020-03-11 Tom de Vries <tdevries@suse.de>
5351
5352 * gdb.base/break-interp.exp: Limit verbose scope.
5353
44f41bb7
TV
53542020-03-11 Tom de Vries <tdevries@suse.de>
5355
5356 * gdb.fortran/logical.f90: Define variable with character type.
5357 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5358
b76f3a42
TV
53592020-03-11 Tom de Vries <tdevries@suse.de>
5360
5361 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5362
1c33af77
TV
53632020-03-11 Tom de Vries <tdevries@suse.de>
5364
5365 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5366 symtabs.
5367
8c95582d
AB
53682020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5369 Bernd Edlinger <bernd.edlinger@hotmail.de>
5370
5371 * gdb.cp/step-and-next-inline.cc: New file.
5372 * gdb.cp/step-and-next-inline.exp: New file.
5373 * gdb.cp/step-and-next-inline.h: New file.
5374 * gdb.dwarf2/dw2-is-stmt.c: New file.
5375 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5376 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5377 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5378 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5379
cecf8547
AB
53802020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5381
5382 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5383 is-stmt flag in the line table.
5384
0ba678c9
TV
53852020-03-09 Tom de Vries <tdevries@suse.de>
5386
5387 * lib/gdb.exp (cached_file): Create cache dir.
5388
72fbdf83
TV
53892020-03-07 Tom de Vries <tdevries@suse.de>
5390
5391 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5392 * gdb.cp/rvalue-ref-params.exp: Same.
5393
436b5e99
TV
53942020-03-06 Tom de Vries <tdevries@suse.de>
5395
5396 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5397 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5398
09f2921c
TV
53992020-03-06 Tom de Vries <tdevries@suse.de>
5400
5401 * README: Fix "the the".
5402 * gdb.base/dprintf.exp: Same.
5403
50a3cc5d
TV
54042020-03-05 Tom de Vries <tdevries@suse.de>
5405
5406 * gdb.base/maint.exp: Update "main print statistics" expected output.
5407
0a709cba
AKS
54082020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5409
5410 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5411 (fortran_int8): Likewise.
5412 (fortran_real4): Likewise.
5413 (fortran_real8): Likewise.
5414 (fortran_complex4): Likewise.
5415 (fortran_logical4): Likewise.
5416 (fortran_character1): Likewise.
5417
5e5d66b6
AB
54182020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5419
5420 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5421 printed as true.
5422
7b973adc
SDJ
54232020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5424
5425 * gdb.base/printcmds.exp: Add test to verify printf of a
5426 variable holding an address.
5427
478e490a
TV
54282020-03-03 Tom de Vries <tdevries@suse.de>
5429
5430 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5431
1ef44e86
TV
54322020-03-03 Tom de Vries <tdevries@suse.de>
5433
5434 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5435 gdb_test_multiple call.
5436
b98cc2cf
TV
54372020-03-03 Tom de Vries <tdevries@suse.de>
5438
5439 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5440 gdb_test_multiple calls.
5441
63e163f2
AB
54422020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5443
5444 * gdb.base/default.exp: Remove test of 'set history filename'.
5445 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5446 filename to the empty string.
5447 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5448 and GDBHISTSIZE.
5449
24ed6739
AB
54502020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5451
5452 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5453 disabled.
5454
590003dc 54552020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5456 Tom de Vries <tdevries@suse.de>
590003dc
TV
5457
5458 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5459 -prompt prefix, before user_code argument. Add -lbl option likewise.
5460 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5461 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5462 argument.
5463 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5464 have "\r\n" at start-of-line, instead of at end-of-line.
5465
f5e46084
SM
54662020-02-28 Simon Marchi <simon.marchi@efficios.com>
5467
5468 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5469 libinproctrace.so.
5470
f7a7000d
LM
54712020-02-28 Luis Machado <luis.machado@linaro.org>
5472
5473 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5474 to "p/x".
5475
718e0816
LM
54762020-02-28 Luis Machado <luis.machado@linaro.org>
5477
5478 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5479 asm/ptrace.h and error.h.
5480
13c3a74a
TV
54812020-02-28 Tom de Vries <tdevries@suse.de>
5482
5483 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5484 (struct wrapper, do_something, mundane/symada__cS): Move ...
5485 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5486 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5487 Update "print symada__cS before partial symtab expansion" regexp.
5488 Update breakpoint location. Flush symbol cache after expansion.
5489
85d2d5bb
LM
54902020-02-28 Luis Machado <luis.machado@linaro.org>
5491
5492 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5493
3608f86c
TV
54942020-02-27 Tom de Vries <tdevries@suse.de>
5495
5496 * config/sid.exp: Remove unused globals.
5497 * gdb.base/attach.exp: Same.
5498 * gdb.base/catch-load.exp: Same.
5499 * gdb.base/dbx.exp: Same.
5500 * lib/gdb.exp: Same.
5501 * lib/mi-support.exp: Same.
5502 * lib/prompt.exp: Same.
5503
c8d4f6df
TV
55042020-02-27 Tom de Vries <tdevries@suse.de>
5505
5506 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5507 not set.
5508
0d79cdc4
AM
55092020-02-26 Aaron Merey <amerey@redhat.com>
5510
5511 * gdb.debuginfod: New directory for debuginfod tests.
5512 * gdb.debuginfod/main.c: New test file.
5513 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5514
0dce4280
TV
55152020-02-26 Tom de Vries <tdevries@suse.de>
5516
5517 PR gdb/25603
5518 * gdb.base/persistent-lang.cc: New test.
5519 * gdb.base/persistent-lang.exp: New file.
5520
9e80cfa1
AB
55212020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5522
5523 * gdb.fortran/derived-type-striding.exp: Add a new test.
5524 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5525 new test.
5526
2078dbb2
AB
55272020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5528
5529 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5530 names.
5531
70d49700
TV
55322020-02-25 Tom de Vries <tdevries@suse.de>
5533
5534 PR go/18926
5535 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5536
a88ef40d
TV
55372020-02-24 Tom de Vries <tdevries@suse.de>
5538
5539 PR gdb/25592
5540 * gdb.base/info-locals-unused-static-var.c: New test.
5541 * gdb.base/info-locals-unused-static-var.exp: New file.
5542
01b1af32
TT
55432020-02-22 Tom Tromey <tom@tromey.com>
5544
5545 * gdb.python/tui-window.exp: New file.
5546 * gdb.python/tui-window.py: New file.
5547
7c043ba6
TT
55482020-02-22 Tom Tromey <tom@tromey.com>
5549
5550 PR tui/17850:
5551 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5552 tests.
5553
c22fef7e
TT
55542020-02-22 Tom Tromey <tom@tromey.com>
5555
5556 * gdb.tui/new-layout.exp: Add sub-layout tests.
5557
ee325b61
TT
55582020-02-22 Tom Tromey <tom@tromey.com>
5559
5560 * gdb.tui/new-layout.exp: New file.
5561
3f0cbb04
TT
55622020-02-22 Tom Tromey <tom@tromey.com>
5563
5564 * gdb.rust/rust-style.rs: New file.
5565 * gdb.rust/rust-style.exp: New file.
5566 * gdb.base/style.exp: Test structure printing.
5567 * gdb.base/style.c (struct some_struct): New type.
5568 (enum etype): New type.
5569 (struct_value): New global.
5570
75525152
TV
55712020-02-21 Tom de Vries <tdevries@suse.de>
5572
5573 PR go/18926
5574 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5575 Remove blanket xfails. Use message argument for gdb_breakpoint.
5576 Make continuing to breakpoint test conditional on setting breakpoint.
5577 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5578 DW_AT_name attribute. Add xfail for GCC PR93866.
5579
bd360d30
AB
55802020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5581
5582 * gdb.dwarf2/cpp-linkage-name.c: New file.
5583 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5584
c7adb09f 55852020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5586
5587 * lib/gdb.exp (gdb_wrapper_init): Reset
5588 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5589 not exist.
5590
a9c79803
TV
55912020-02-20 Tom de Vries <tdevries@suse.de>
5592
5593 PR go/17018
5594 * gdb.go/hello.exp: Copy ...
5595 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5596 print of st to print value of global definition. Add xfail for GCC
5597 PR93844.
5598 * gdb.go/hello.exp: Remove printing of st before definition.
5599 * gdb.go/hello.go: Copy ...
5600 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5601 to st.
5602 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5603
d7445728
TV
56042020-02-20 Tom de Vries <tdevries@suse.de>
5605
5606 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5607 (gdb_simple_compile): Handle compile_flags go by using .go extension
5608 for source file.
5609 * gdb.go/chan.exp: Use support_go_compile.
5610 * gdb.go/handcall.exp: Same.
5611 * gdb.go/hello.exp: Same.
5612 * gdb.go/integers.exp: Same.
5613 * gdb.go/max-depth.exp: Same.
5614 * gdb.go/methods.exp: Same.
5615 * gdb.go/package.exp: Same.
5616 * gdb.go/strings.exp: Same.
5617 * gdb.go/types.exp: Same.
5618 * gdb.go/unsafe.exp: Same.
5619
c9c41e6d
TV
56202020-02-19 Tom de Vries <tdevries@suse.de>
5621
5622 * gdb.python/lib-types.exp: Make xfail more strict.
5623
f20ff837
TV
56242020-02-19 Tom de Vries <tdevries@suse.de>
5625
5626 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5627
08410482
DE
56282020-02-19 Doug Evans <dje@google.com>
5629
5630 PR rust/25535
5631 * gdb.rust/simple.exp: Add test.
5632 * gdb.rust/simple.rs: Add test.
5633
623563f7
TV
56342020-02-19 Tom de Vries <tdevries@suse.de>
5635
5636 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5637 output line-by-line.
5638
d3308cfd
TV
56392020-02-19 Tom de Vries <tdevries@suse.de>
5640
5641 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5642
86cbc5dc
TV
56432020-02-19 Tom de Vries <tdevries@suse.de>
5644
5645 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5646 prelink.
5647
9db2b96b
TV
56482020-02-19 Tom de Vries <tdevries@suse.de>
5649
5650 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5651 (gdb_do_cache): Use gdb_do_cache_wrap.
5652 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5653
89e2fdc5
TV
56542020-02-19 Tom de Vries <tdevries@suse.de>
5655
5656 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5657 gdb_compile option.
5658
373d7ac0
SM
56592020-02-18 Simon Marchi <simon.marchi@efficios.com>
5660
5661 * gdb.base/printcmds.exp (test_print_enums): Update expected
5662 output.
5663
b29a2df0
SM
56642020-02-18 Simon Marchi <simon.marchi@efficios.com>
5665
5666 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5667 for "unknown".
5668
6740f0cc
SM
56692020-02-18 Simon Marchi <simon.marchi@efficios.com>
5670
5671 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5672 enumerator.
5673
edd45eb0
SM
56742020-02-18 Simon Marchi <simon.marchi@efficios.com>
5675
5676 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5677 FE_, add FE_NONE.
5678 (three): Update.
5679 (enum flag_enum_without_zero): New enum.
5680 (flag_enum_without_zero): New variable.
5681 (enum not_flag_enum): New enum.
5682 (three_not_flag): New variable.
5683 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5684 (test_print_enums): Add more tests for printing flag enums.
5685
d4295de4
TV
56862020-02-18 Tom de Vries <tdevries@suse.de>
5687
5688 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5689 (gdb_compile_ada): ... here.
5690 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5691 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5692
f251f505
TT
56932020-02-14 Tom Tromey <tom@tromey.com>
5694
5695 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5696 build directory.
5697 * boards/gdbserver-base.exp: Update path to gdbserver.
5698
8f432634
TV
56992020-02-13 Tom de Vries <tdevries@suse.de>
5700
5701 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5702
92b6eaf7
TV
57032020-02-13 Tom de Vries <tdevries@suse.de>
5704
5705 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5706 are missing.
5707
f3b0f7fe
TV
57082020-02-13 Tom de Vries <tdevries@suse.de>
5709
5710 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5711 call.
5712
f6be8713
SDJ
57132020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5714
5715 PR tui/25126
5716 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5717 * gdb.base/cached-source-file.c: New file.
5718 * gdb.base/cached-source-file.exp: New file.
5719
b2770d5e
TV
57202020-02-11 Tom de Vries <tdevries@suse.de>
5721
5722 PR testsuite/25488
5723 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5724
44f6938e
TV
57252020-02-10 Tom de Vries <tdevries@suse.de>
5726
5727 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5728
5f0e2eb7
MR
57292020-02-10 Maciej W. Rozycki <macro@wdc.com>
5730
5731 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5732 and $after_addr are both integers before making a comparison.
5733
46ce2b6f
TV
57342020-02-09 Tom de Vries <tdevries@suse.de>
5735
5736 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5737 command output and paste it into gdb.log. If any, paste catch message
5738 to gdb.log.
5739
5abbbe1d
TT
57402020-02-07 Tom Tromey <tromey@adacore.com>
5741
5742 PR breakpoints/24915:
5743 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5744
1d5d29e7
SV
57452020-02-06 Shahab Vahedi <shahab@synopsys.com>
5746
5747 * gdb.tui/tui-missing-src.exp: Add the "missing source
5748 file" test for the TUI.
5749
b0999b9b
AB
57502020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5751
5752 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5753 including a port number in the output.
5754
c3b149eb
AKS
57552020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5756
5757 * lib/fortran.exp (fortran_int4): Handle clang.
5758 (fortran_int8): Likewise.
5759 (fortran_real4): Likewise.
5760 (fortran_real8): Likewise.
5761 (fortran_complex4): Likewise.
5762 (fortran_logical4): Likewise.
5763 (fortran_character1): Likewise.
5764
f8dcc90b
TV
57652020-02-04 Tom de Vries <tdevries@suse.de>
5766
5767 * README (Race detection): Add note.
5768
f90ac7c2
TV
57692020-02-04 Tom de Vries <tdevries@suse.de>
5770
5771 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5772
780636ae
TV
57732020-02-04 Tom de Vries <tdevries@suse.de>
5774
5775 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5776
5d2e1193
RA
57772020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5778
5779 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5780 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5781 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5782 blttar, bnetarl.
5783 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5784 binary for blttar, bnetarl.
5785 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5786 wait instruction. Delete ldmx test.
5787 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5788
e409c542
AKS
57892020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5790
5791 * gdb.fortran/array-bounds-high.exp: New file.
5792 * gdb.fortran/array-bounds-high.f90: New file.
5793
b0029748
LD
57942020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5795
5796 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5797 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5798
195a8287
TV
57992020-02-01 Tom de Vries <tdevries@suse.de>
5800
5801 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5802
42330a68
AB
58032020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5804
5805 PR tui/9765
5806 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5807 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5808
b62a8028
LM
58092020-01-29 Luis Machado <luis.machado@linaro.org>
5810
5811 * gdb.arch/aarch64-brk-patterns.c: New source file.
5812 * gdb.arch/aarch64-brk-patterns.exp: New test.
5813
5f440116
TBA
58142020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5815
5816 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5817 GCC/Clang version.
5818 * gdb.cp/pass-by-ref.exp: Ditto.
5819
ee2a6fc6
TV
58202020-01-29 Tom de Vries <tdevries@suse.de>
5821
5822 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5823 * gdb.threads/watchpoint-fork-mt.c: Same.
5824 * gdb.threads/watchpoint-fork-parent.c: Same.
5825 * gdb.threads/watchpoint-fork-st.c: Same.
5826 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5827
16b10d6e
LM
58282020-01-27 Luis Machado <luis.machado@linaro.org>
5829
5830 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5831 sitting at a syscall instruction when we hit the syscall function's
5832 breakpoint.
5833 Check PC against one obtained with the x command.
5834 Validate syscall number.
5835 (step_over_syscall): Don't continue to the syscall instruction if
5836 we're already there.
5837
b1468492
PW
58382020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5839
5840 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5841
7ffa82e1
AB
58422020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5843
5844 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5845 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5846
3d92a3e3
AB
58472020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5848
5849 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5850 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5851
94a72be7
AB
58522020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5853
5854 * gdb.base/maint.exp: Update line table parsing test.
5855 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5856
53af73bf
PA
58572020-01-24 Pedro Alves <palves@redhat.com>
5858
5859 PR gdb/25410
5860 * gdb.multi/multi-re-run-1.c: New.
5861 * gdb.multi/multi-re-run-2.c: New.
5862 * gdb.multi/multi-re-run.exp: New.
5863
1ba1ac88
AB
58642020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5865
5866 PR gdb/23718
5867 * gdb.server/server-kill-python.exp: New file.
5868
f3364a6d
AB
58692020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5870
5871 * gdb.server/multi-ui-errors.c: New file.
5872 * gdb.server/multi-ui-errors.exp: New file.
5873
733d0a67
AB
58742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5875
5876 PR tui/9765
5877 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5878
4f13c1c0
TT
58792020-01-19 Tom Tromey <tom@tromey.com>
5880
5881 * gdb.tui/main.exp: Add check for plain "file".
5882
40c94099
CB
58832020-01-16 Christian Biesinger <cbiesinger@google.com>
5884
5885 * lib/gdb.exp: Fix spelling error (seperatelly).
5886
ff47f4f0
TT
58872020-01-14 Tom Tromey <tom@tromey.com>
5888
5889 PR symtab/12535:
5890 * gdb.python/python.exp: Test decode_line with empty string
5891 argument.
5892
717c684d
BE
58932020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5894
5895 * gdb.base/skip-inline.exp: Extend test.
5896
44e4c775
AB
58972020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5898
5899 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5900 * gdb.dwarf2/dw2-bad-elf.c: New file.
5901 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5902
d93c6db7
AB
59032020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5904
5905 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5906 _line_saw_file.
5907
9a6d629c
AB
59082020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5909
5910 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5911 border.
5912
d9ebdab7
TBA
59132020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5914
5915 * gdb.multi/multi-target.exp (setup): Factor out "info
5916 connections" and "info inferiors" tests to ...
5917 (test_info_inferiors): ... this new procedure.
5918 (top level): Run new "info-inferiors" tests.
5919
f3c469b9
PA
59202020-01-10 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.server/bkpt-other-inferior.exp: New file.
5923
121b3efd
PA
59242020-01-10 Pedro Alves <palves@redhat.com>
5925
5926 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5927 of "add-inferior".
5928 * gdb.base/quit-live.exp: Likewise.
5929 * gdb.base/remote-exec-file.exp: Likewise.
5930 * gdb.guile/scm-progspace.exp: Likewise.
5931 * gdb.linespec/linespec.exp: Likewise.
5932 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5933 * gdb.mi/user-selected-context-sync.exp: Likewise.
5934 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5935 "info inferiors" tests.
5936 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5937 "add-inferior".
5938 * gdb.multi/watchpoint-multi.exp: Likewise.
5939 * gdb.python/py-inferior.exp: Likewise.
5940 * gdb.server/extended-remote-restart.exp: Likewise.
5941 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5942 "info inferiors".
5943 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5944 * gdb.trace/report.exp: Likewise.
5945
1dadb1dd
PA
59462020-01-10 Pedro Alves <palves@redhat.com>
5947
5948 * gdb.multi/multi-target.c: New file.
5949 * gdb.multi/multi-target.exp: New file.
5950 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5951 mode requested, but remote does not support non-stop".
5952
78f2c40a
PA
59532020-01-10 Pedro Alves <palves@redhat.com>
5954
5955 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5956 disconnect before reconnecting.
5957
e7af6c70
TBA
59582020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5959 Pedro Alves <palves@redhat.com>
5960
5961 * gdb.server/connect-without-multi-process.exp: Also test
5962 continuing to end.
5963
acdf84a6
PA
59642020-01-10 Pedro Alves <palves@redhat.com>
5965
5966 * gdb.base/remote-exec-file.exp: New file.
5967
873657b9
PA
59682020-01-10 Pedro Alves <palves@redhat.com>
5969
5970 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5971 output.
5972 * gdb.threads/async.c: New.
5973 * gdb.threads/async.exp: New.
5974 * gdb.multi/tids-gid-reset.c: New.
5975 * gdb.multi/tids-gid-reset.exp: New.
5976
7f0ae84c
GB
59772020-01-10 George Barrett <bob@bob131.so>
5978
5979 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5980 to help in finding the image relocation offset.
5981 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5982 options in arguments.
5983 (stap_test_no_debuginfo): Likewise.
5984 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5985 test variants.
5986 (stap_test): Add null semaphore relocation test.
5987
47e9d49d
GB
59882020-01-10 George Barrett <bob@bob131.so>
5989
5990 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5991 * gdb.base/stap-probe.exp: Likewise.
5992 (stap_test): Pass argument as an additional flag.
5993 (stap_test_no_debuginfo): Likewise.
5994 (stap_test): Check `info probes stap' output for semaphore
5995 addresses if the test binary is supposed to have them.
5996
f5a7c406
AB
59972020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5998
5999 * gdb.tui/basic.exp: Add more scrolling tests.
6000
9ae6bf64
TT
60012020-01-09 Tom Tromey <tom@tromey.com>
6002
6003 PR tui/18932:
6004 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6005 meangingful value.
6006 (Term::command, Term::resize): Update.
6007 * gdb.tui/basic.exp: Add scrolling test.
6008
b2efe70c
AB
60092020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6010
6011 * gdb.tui/tui-layout-asm.exp: New file.
6012
3804da7e
AB
60132020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6014
6015 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6016
b40aa28f
AB
60172020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6018
6019 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6020 (Term::enter_tui): Use Term::prepare_for_tui.
6021
63ffd7c9
AB
60222020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6023
6024 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6025 called.
6026
3be966f6
AB
60272020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6028
6029 * gdb.base/skip.exp: Fix race condition in test.
6030
153d79c4
AB
60312020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6032
6033 * gdb.base/backtrace.c: New file.
6034 * gdb.base/backtrace.exp: New file.
6035
f2302a34
AB
60362020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6037
6038 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6039
6ec1d75e
PW
60402020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6041
6042 * gdb.base/style.exp: Test that warnings are styled.
6043
c296cbe6
BE
60442019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6045
6046 * gdb.base/line65535.exp: New file.
6047 * gdb.base/line65535.c: New file.
6048
b28a729d
SM
60492019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6050
6051 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6052 * lib/gnat_debug_info_test.adb: New file.
6053 * gdb.ada/ptype_tagged_param.exp: Use
6054 gnat_runtime_has_debug_info, expect a different output if
6055 runtime does not have debug info.
6056
7f2d7a0d
SM
60572019-12-20 Simon Marchi <simon.marchi@efficios.com>
6058
6059 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6060 (another) quote in test name.
6061
f3bce483
SM
60622019-12-20 Simon Marchi <simon.marchi@efficios.com>
6063
6064 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6065 Add quote in test name.
6066
c855a912
TBA
60672019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6068
6069 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6070 directory instead.
6071 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6072 * gdb.cp/pass-by-ref-2.cc: New file.
6073 * gdb.cp/pass-by-ref-2.exp: New file.
6074
fc9d2d72
TT
60752019-12-20 Tom Tromey <tom@tromey.com>
6076
6077 * gdb.tui/list-before.exp: New file.
6078
77b97e00
TT
60792019-12-20 Tom Tromey <tom@tromey.com>
6080
6081 * gdb.tui/list.exp: Check for source on initial listing.
6082
f69656d0
TT
60832019-12-11 Tom Tromey <tromey@adacore.com>
6084
6085 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6086 Add crlf test.
6087
99a55965
SM
60882019-12-18 Simon Marchi <simon.marchi@efficios.com>
6089
6090 * gdb.base/default.exp: Update value of $_gdb_major.
6091
5024637f
BE
60922019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6093
6094 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6095
b63634be
BE
60962019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6097
6098 * gdb.base/skip.exp: Whitespace fix.
6099
45d73523
BE
61002019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6101
6102 * gdb.base/skip-inline.c: New file.
6103 * gdb.base/skip-inline.exp: New file.
6104
d043f8c8
SM
61052019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6106
6107 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6108 jit_function_00 to jit_function_stack_mangle.
6109 * gdb.base/jithost.c (jit_function_t): Rename to...
6110 (jit_function_stack_mangle_t): ... this.
6111 (jit_function_add_t): New typedef.
6112 (jit_function_00_code): Rename to...
6113 (jit_function_stack_mangle_code): ... this, make static.
6114 (jit_function_add_code): New.
6115 (main): Generate "add" function and call it. Adjust to changes
6116 in jithost_abi.
6117 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6118 (struct jithost_abi) <begin, end>: Remove fields.
6119 <object, function_stack_mangle, function_add>: New fields.
6120 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6121 code_end>: Remove fields.
6122 <func_stack_mangle>: New field.
6123 (read_debug_info): Adjust to renaming, create block for "add"
6124 function.
6125 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6126
873de05c
TT
61272019-12-11 Tom Tromey <tom@tromey.com>
6128
6129 * gdb.tui/resize.exp: Fix regexp.
6130 * gdb.tui/regs.exp: Fix regexps.
6131 * gdb.tui/main.exp: Fix regexp.
6132
3d979945
TT
61332019-12-11 Tom Tromey <tom@tromey.com>
6134
6135 * gdb.tui/resize.exp: Update.
6136 * gdb.tui/empty.exp (layouts): Update.
6137
2192a9d3
TT
61382019-12-11 Tom Tromey <tom@tromey.com>
6139
6140 * gdb.tui/regs.exp: Update.
6141 * gdb.tui/empty.exp (layouts): Update.
6142 * gdb.tui/basic.exp: Update.
6143 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6144
d8edc8b7
PW
61452019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6146
6147 * gdb.base/options.exp: Add -raw-values in the print completion list.
6148 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6149
4c12d936
KB
61502019-12-10 Kevin Buettner <kevinb@redhat.com>
6151
6152 * gdb.threads/omp-par-scope.c: New file.
6153 * gdb/threads/omp-par-scope.exp: New file.
6154
26b911fb
KB
61552019-12-10 Kevin Buettner <kevinb@redhat.com>
6156
bb47f919
KB
6157 * lib/gdb.exp (support_nested_function_tests): New proc.
6158
61592019-12-10 Kevin Buettner <kevinb@redhat.com>
6160
6161 * lib/gdb.exp (gdb_compile_openmp): New proc.
6162 (build_executable_from_specs): Add an "openmp" option.
6163 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6164
6c71eb7d
TT
61652019-12-10 Tom Tromey <tromey@adacore.com>
6166
6167 * gdb.ada/unchecked_union.exp: New file.
6168 * gdb.ada/unchecked_union/pck.adb: New file.
6169 * gdb.ada/unchecked_union/pck.ads: New file.
6170 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6171 * gdb-utils.exp (string_to_regexp): Also quote "?".
6172
bac7c5cf
GB
61732019-12-10 George Barrett <bob@bob131.so>
6174
6175 Test scripted probe breakpoints.
6176 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6177 * gdb.python/py-breakpoint.c (main): Likewise.
6178 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6179 specifier test.
6180 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6181
330f1d38
TBA
61822019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6183
6184 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6185 an rvalue parameter.
6186 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6187 parameter.
6188
b43315e2
AB
61892019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6190
6191 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6192 modules.
6193
54f73dad
AB
61942019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6195
6196 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6197 broken version of GCC.
6198
d57cbee9
AB
61992019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6200
6201 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6202 sym-info-cmds library.
6203 * gdb.fortran/info-types.exp: Likewise.
6204 * lib/sym-info-cmds.exp: New file.
6205
c14aab8c
TV
62062019-12-08 Tom de Vries <tdevries@suse.de>
6207
6208 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6209
aa2d5a42
KS
62102019-12-07 Keith Seitz <keiths@redhat.com>
6211
6212 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6213 * gdb.base/corefile-buildid-shlib.c: New file.
6214 * gdb.base/corefile-buildid.c: New file.
6215 * gdb.base/corefile-buildid.exp: New file.
6216
93e55f0a
TV
62172019-12-06 Tom de Vries <tdevries@suse.de>
6218
6219 * gdb.dwarf2/varval.exp: Add decl before def test.
6220
c7d12402
TBA
62212019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6222
6223 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6224
06acc08f
TBA
62252019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6226
6227 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6228 CV and reference conversion for overload resolution.
6229 * gdb.cp/rvalue-ref-overload.exp: Test it.
6230
e0fad1ea
PW
62312019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6232
6233 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6234 * gdb.base/frameapply.exp: Test faas without command.
6235
8d70a9f0
AB
62362019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6237
6238 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6239 Fortran tests.
6240 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6241 order.
6242
36c8fb93
AB
62432019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6244
6245 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6246 casting to type with no kind specified.
6247 (test_basic_parsing_of_type_kinds): Additional tests for types
6248 with no kind specified, and add tests for single/double
6249 precision/complex types.
6250
4139ff00
TT
62512019-12-04 Tom Tromey <tromey@adacore.com>
6252
6253 * gdb.base/endianity.c (struct other) <x>: New field.
6254 (main): Initialize it.
6255 * gdb.base/endianity.exp: Update.
6256
a05cf17a
TT
62572019-12-04 Tom Tromey <tromey@adacore.com>
6258
6259 * gdb.ada/scalar_storage/storage.adb: New file.
6260 * gdb.ada/scalar_storage/pck.adb: New file.
6261 * gdb.ada/scalar_storage/pck.ads: New file.
6262 * gdb.ada/scalar_storage.exp: New file.
6263
103a685e
TT
62642019-12-04 Tom Tromey <tromey@adacore.com>
6265
6266 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6267 (main): Initialize it.
6268 * gdb.base/endianity.exp: Update.
6269
c2512106
AB
62702019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6271
6272 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6273
293b38d6
AB
62742019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6275
6276 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6277 -symbol-info-module-functions and -symbol-info-module-variables.
6278
216a7e6b
AB
62792019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6280
6281 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6282
5bbd8269
AB
62832019-12-01 Richard Bunt <richard.bunt@arm.com>
6284 Andrew Burgess <andrew.burgess@embecosm.com>
6285
6286 * gdb.fortran/derived-type-striding.exp: New file.
6287 * gdb.fortran/derived-type-striding.f90: New file.
6288 * gdb.fortran/array-slices.exp: New file.
6289 * gdb.fortran/array-slices.f90: New file.
6290
be09caf1
PW
62912019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6292
6293 * gdb.base/define.exp: Test . in command names.
6294 * gdb.base/setshow.exp: Update test, as . is now part of
6295 command name.
6296
643c0cbe
PW
62972019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6298
6299 * gdb.base/define-prefix.exp: New file.
6300
dcdec678
AB
63012019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6302
6303 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6304 compile.
6305 (skip_btrace_pt_tests): Likewise.
6306
640ab947
AB
63072019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6308
6309 * gdb.fortran/info-modules.exp: Compile source files in correct
6310 order.
6311
d22670f0
KB
63122019-11-27 Kevin Buettner <kevinb@redhat.com>
6313
6314 * gdb.dwarf2/imported-unit.exp: New file.
6315 * gdb.dwarf2/imported-unit.c: New file.
6316
db5960b4
AB
63172019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6318
6319 * gdb.mi/mi-fortran-modules-2.f90: New file.
6320 * gdb.mi/mi-fortran-modules.exp: New file.
6321 * gdb.mi/mi-fortran-modules.f90: New file.
6322
7dc42066
AB
63232019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6324
6325 * gdb.mi/mi-sym-info-1.c: New file.
6326 * gdb.mi/mi-sym-info-2.c: New file.
6327 * gdb.mi/mi-sym-info.exp: New file.
6328
0dfeecca
TT
63292019-11-22 Tom Tromey <tromey@adacore.com>
6330
6331 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6332 * gdb.ada/tasks/foo.adb: Add another stopping location.
6333
34877895
PJ
63342019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6335
6336 * gdb.base/endianity.c: New test.
6337 * gdb.base/endianity.exp: New file.
6338
2e84f897
LD
63392019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6340
6341 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6342
65d1cd5f
TV
63432019-11-21 Tom de Vries <tdevries@suse.de>
6344
6345 PR gdb/24956
6346 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6347
4f22c3f4
SDJ
63482019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6349
6350 * gdb.python/py-progspace.exp: Add missing parentheses on some
6351 'print' commands.
6352
9f6ad286
TT
63532019-11-19 Tom Tromey <tom@tromey.com>
6354
6355 * gdb.tui/winheight.exp: New file.
6356
0b8dbf3f
AB
63572019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6358
6359 * gdb.base/ctf-whatis.c: Delete.
6360 * gdb.base/ctf-whatis.exp: Delete.
6361 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6362
f833b7a7
AB
63632019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6364
6365 * gdb.base/ctf-cvexpr.exp: Delete.
6366 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6367
30d0a636
AB
63682019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6369
6370 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6371 the compiler. Clean up header comment a little.
6372 * gdb.base/ctf-ptype.exp: Likewise.
6373 * gdb.base/ctf-whatis.exp: Likewise.
6374 * lib/gdb.exp (skip_ctf_tests): New proc.
6375
494409bb
SDJ
63762019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6377
6378 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6379 * gdb.tui/corefile-run.exp: New file.
6380
55708e99
TT
63812019-11-14 Tom Tromey <tromey@adacore.com>
6382
6383 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6384 regression tests.
6385
45e42163
TT
63862019-11-12 Tom Tromey <tom@tromey.com>
6387
6388 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6389 after any command. Expect prompt after WAIT_FOR is seen.
6390 (enter_tui): Enable resize messages.
6391 (command): Expect command in output.
6392 (get_line): Avoid error when cursor appears to be off-screen.
6393 (dump_screen): Include screen size in title.
6394 (_do_resize): New proc, from "resize".
6395 (resize): Rewrite. Do resize in two steps.
6396 * gdb.tui/empty.exp (layouts): Fix entries.
6397 (check_boxes): Remove xfail.
6398 (check_text): Dump screen on failure.
6399
086baaf1
AB
64002019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6401
6402 * gdb.python/py-symbol.exp: Add test for
6403 gdb.lookup_static_symbols.
6404
09ff83af
AB
64052019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6406
6407 * gdb.python/py-symbol.c: Declare and call function from new
6408 py-symbol-2.c file.
6409 * gdb.python/py-symbol.exp: Compile both source files, and add new
6410 tests for gdb.lookup_static_symbol.
6411 * gdb.python/py-symbol-2.c: New file.
6412
11af934b
TV
64132019-11-02 Tom de Vries <tdevries@suse.de>
6414
6415 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6416 * gdb.base/anon.exp: Same.
6417 * gdb.base/auto-connect-native-target.exp: Same.
6418 * gdb.base/call-ar-st.exp: Same.
6419 * gdb.base/catch-syscall.exp: Same.
6420 * gdb.base/commands.exp: Same.
6421 * gdb.base/default.exp: Same.
6422 * gdb.base/display.exp: Same.
6423 * gdb.base/float.exp: Same.
6424 * gdb.base/foll-fork.exp: Same.
6425 * gdb.base/help.exp: Same.
6426 * gdb.base/info-macros.exp: Same.
6427 * gdb.base/info-proc.exp: Same.
6428 * gdb.base/info-target.exp: Same.
6429 * gdb.base/long_long.exp: Same.
6430 * gdb.base/macscp.exp: Same.
6431 * gdb.base/memattr.exp: Same.
6432 * gdb.base/nofield.exp: Same.
6433 * gdb.base/pointers.exp: Same.
6434 * gdb.base/printcmds.exp: Same.
6435 * gdb.base/ptype.exp: Same.
6436 * gdb.base/restore.exp: Same.
6437 * gdb.base/return.exp: Same.
6438 * gdb.base/scope.exp: Same.
6439 * gdb.base/set-noassign.exp: Same.
6440 * gdb.base/setshow.exp: Same.
6441 * gdb.base/shlib-call.exp: Same.
6442 * gdb.base/signals.exp: Same.
6443 * gdb.base/sigstep.exp: Same.
6444 * gdb.base/skip.exp: Same.
6445 * gdb.base/solib-symbol.exp: Same.
6446 * gdb.base/stap-probe.exp: Same.
6447 * gdb.base/step-line.exp: Same.
6448 * gdb.base/step-test.exp: Same.
6449 * gdb.base/style.exp: Same.
6450 * gdb.base/varargs.exp: Same.
6451 * gdb.base/vla-datatypes.exp: Same.
6452 * gdb.base/vla-ptr.exp: Same.
6453 * gdb.base/vla-sideeffect.exp: Same.
6454 * gdb.base/volatile.exp: Same.
6455 * gdb.base/watch-cond-infcall.exp: Same.
6456 * gdb.base/watchpoint.exp: Same.
6457
e96ec2ba
TV
64582019-11-02 Tom de Vries <tdevries@suse.de>
6459
6460 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6461 * gdb.cp/cpexprs.exp: Same.
6462 * gdb.cp/except-multi-location.exp: Same.
6463 * gdb.cp/exceptprint.exp: Same.
6464 * gdb.cp/gdb2384.exp: Same.
6465 * gdb.cp/inherit.exp: Same.
6466 * gdb.cp/m-static.exp: Same.
6467 * gdb.cp/meth-typedefs.exp: Same.
6468 * gdb.cp/misc.exp: Same.
6469 * gdb.cp/namespace.exp: Same.
6470 * gdb.cp/non-trivial-retval.exp: Same.
6471 * gdb.cp/overload.exp: Same.
6472 * gdb.cp/pr17132.exp: Same.
6473 * gdb.cp/re-set-overloaded.exp: Same.
6474 * gdb.cp/rvalue-ref-types.exp: Same.
6475 * gdb.cp/templates.exp: Same.
6476
bd5766ec
LM
64772019-11-01 Luis Machado <luis.machado@linaro.org>
6478
6479 PR gdb/25124
6480
6481 * gdb.arch/pr25124.S: New file.
6482 * gdb.arch/pr25124.exp: New file.
6483
165f8965
AB
64842019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6485
6486 * gdb.fortran/info-modules.exp: Update expected results, and add
6487 additional tests for 'info module functinos', and 'info module
6488 variables'.
6489 * gdb.fortran/info-types.exp: Update expected results.
6490 * gdb.fortran/info-types.f90: Extend testcase with additional
6491 module variables and functions.
6492
59c35742
AB
64932019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6494
6495 * gdb.fortran/info-modules.exp: New file.
6496 * gdb.fortran/info-types.exp: Build with new file.
6497 * gdb.fortran/info-types.f90: Include and use new module.
6498 * gdb.fortran/info-types-2.f90: New file.
6499
f3fb2519
PW
65002019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6501
6502 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6503 * gdb.base/settings.exp: Test all settings types using
6504 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6505 that now verifies that the value of "maint show" is the same as
6506 returned by the settings functions. Test the type of the
6507 maintenance settings.
6508 * gdb.base/default.exp: Update show_conv_list.
6509
d1e36019
TV
65102019-10-31 Tom de Vries <tdevries@suse.de>
6511
6512 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6513 gdb_test.
6514 * gdb.arch/amd64-disp-step.exp: Same.
6515 * gdb.asm/asm-source.exp: Same.
6516 * gdb.btrace/buffer-size.exp: Same.
6517 * gdb.btrace/cpu.exp: Same.
6518 * gdb.btrace/enable.exp: Same.
6519 * gdb.dwarf2/count.exp: Same.
6520 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6521 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6522 * gdb.fortran/vla-datatypes.exp: Same.
6523 * gdb.fortran/vla-history.exp: Same.
6524 * gdb.fortran/vla-ptype.exp: Same.
6525 * gdb.fortran/vla-value.exp: Same.
6526 * gdb.fortran/whatis_type.exp: Same.
6527 * gdb.guile/guile.exp: Same.
6528 * gdb.multi/tids.exp: Same.
6529 * gdb.python/py-finish-breakpoint.exp: Same.
6530 * gdb.python/py-framefilter.exp: Same.
6531 * gdb.python/py-pp-registration.exp: Same.
6532 * gdb.python/py-xmethods.exp: Same.
6533 * gdb.python/python.exp: Same.
6534 * gdb.server/connect-with-no-symbol-file.exp: Same.
6535 * gdb.server/no-thread-db.exp: Same.
6536 * gdb.server/run-without-local-binary.exp: Same.
6537 * gdb.stabs/weird.exp: Same.
6538 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6539 * gdb.threads/thread-find.exp: Same.
6540 * gdb.threads/tls-shared.exp: Same.
6541 * gdb.threads/tls.exp: Same.
6542 * gdb.threads/wp-replication.exp: Same.
6543 * gdb.trace/ax.exp: Same.
6544 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6545
3d11e68e
TV
65462019-10-31 Tom de Vries <tdevries@suse.de>
6547
6548 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6549 * gdb.ada/array_subscript_addr.exp: Same.
6550 * gdb.ada/arrayidx.exp: Same.
6551 * gdb.ada/arrayparam.exp: Same.
6552 * gdb.ada/arrayptr.exp: Same.
6553 * gdb.ada/boolean_expr.exp: Same.
6554 * gdb.ada/call_pn.exp: Same.
6555 * gdb.ada/complete.exp: Same.
6556 * gdb.ada/fixed_cmp.exp: Same.
6557 * gdb.ada/fun_addr.exp: Same.
6558 * gdb.ada/funcall_param.exp: Same.
6559 * gdb.ada/interface.exp: Same.
6560 * gdb.ada/mod_from_name.exp: Same.
6561 * gdb.ada/null_array.exp: Same.
6562 * gdb.ada/packed_array.exp: Same.
6563 * gdb.ada/packed_tagged.exp: Same.
6564 * gdb.ada/print_chars.exp: Same.
6565 * gdb.ada/print_pc.exp: Same.
6566 * gdb.ada/ptype_arith_binop.exp: Same.
6567 * gdb.ada/ptype_field.exp: Same.
6568 * gdb.ada/ptype_tagged_param.exp: Same.
6569 * gdb.ada/rec_return.exp: Same.
6570 * gdb.ada/ref_tick_size.exp: Same.
6571 * gdb.ada/str_ref_cmp.exp: Same.
6572 * gdb.ada/taft_type.exp: Same.
6573 * gdb.ada/tagged.exp: Same.
6574 * gdb.ada/type_coercion.exp: Same.
6575 * gdb.ada/uninitialized_vars.exp: Same.
6576
60b6ede8
TV
65772019-10-30 Tom de Vries <tdevries@suse.de>
6578
6579 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6580
30baf67b
TV
65812019-10-26 Tom de Vries <tdevries@suse.de>
6582
6583 * gdb.base/bigcore.c: Fix typos in comments.
6584 * gdb.base/ctf-ptype.c: Same.
6585 * gdb.base/long_long.c: Same.
6586 * gdb.dwarf2/dw2-op-out-param.S: Same.
6587 * gdb.python/py-evthreads.c: Same.
6588 * gdb.reverse/i387-stack-reverse.c: Same.
6589 * gdb.trace/tfile.c: Same.
6590 * lib/compiler.c: Same.
6591 * lib/compiler.cc: Same.
6592
158da0d1
TV
65932019-10-25 Tom de Vries <tdevries@suse.de>
6594
6595 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6596 gdb_test_multiple calls.
6597 * gdb.reverse/sigall-reverse.exp: Same.
6598 * gdb.reverse/solib-precsave.exp: Same.
6599 * gdb.reverse/solib-reverse.exp: Same.
6600 * gdb.reverse/until-precsave.exp: Same.
6601 * gdb.reverse/until-reverse.exp: Same.
6602
4ccdfbec
TV
66032019-10-24 Tom de Vries <tdevries@suse.de>
6604
6605 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6606 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6607 kfail using -wrap pattern flag and convenience variable
6608 gdb_test_name.
6609
33d569b7
AB
66102019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6611
6612 * gdb.python/py-progspace.exp: Add tests for the
6613 Progspace.block_for_pc method.
6614
4d0b984b
TT
66152019-10-23 Tom Tromey <tom@tromey.com>
6616
6617 * configure: Rebuild.
6618 * aclocal.m4: Use m4_include, not sinclude.
6619
94cb3754
TV
66202019-10-21 Tom de Vries <tdevries@suse.de>
6621
6622 * gdb.base/infcall-nested-structs.c: Add
6623 __attribute__((noinline,noclone)) to all functions.
6624 (call_all): Add missing variable initialization. Simplify return value.
6625 (breakpt): Increment volatile variable, to prevent call from being
6626 optimized out.
6627 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6628
062f1fc1
TV
66292019-10-17 Tom de Vries <tdevries@suse.de>
6630
6631 * gdb.fortran/module.exp: Allow info variables to print info for files
6632 other than module.f90.
6633
0b54364d
AB
66342019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6635
6636 * gdb.fortran/module.exp: Extend with 'info variables' test.
6637
7ff5fae7
AB
66382019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6639
6640 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6641 F77_FOR_TARGET.
6642
d10eccaa
TV
66432019-10-16 Tom de Vries <tdevries@suse.de>
6644
6645 PR tdep/25096
6646 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6647
745ff14e
TV
66482019-10-16 Tom de Vries <tdevries@suse.de>
6649
6650 PR tdep/24104
6651 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6652 Add KFAIL for PR tdep/25096.
6653
03e1ab94
TV
66542019-10-16 Tom de Vries <tdevries@suse.de>
6655
6656 PR testsuite/25059
6657 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6658
b17fcc10
TV
66592019-10-16 Tom de Vries <tdevries@suse.de>
6660
6661 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6662 as signed.
6663
9223170f
SM
66642019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6665
6666 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6667 one instead of increasing timeout.
6668
d6e76313
TV
66692019-10-13 Tom de Vries <tdevries@suse.de>
6670
6671 PR record/25038
6672 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6673 * gdb.reverse/sigall-reverse.exp: Same.
6674 * gdb.reverse/solib-precsave.exp: Same.
6675 * gdb.reverse/solib-reverse.exp: Same.
6676 * gdb.reverse/step-precsave.exp: Same.
6677 * gdb.reverse/until-precsave.exp: Same.
6678 * gdb.reverse/until-reverse.exp: Same.
6679 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6680
6dfc0041
AA
66812019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6682
6683 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6684 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6685 (cmp_struct_05_01, cmp_struct_static_02_01)
6686 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6687 comparisons.
6688
abcf2cc8
TV
66892019-10-10 Tom de Vries <tdevries@suse.de>
6690
6691 PR testsuite/24888
6692 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6693 gnatlink.
6694
a50faaf6
TV
66952019-10-09 Tom de Vries <tdevries@suse.de>
6696
6697 PR testsuite/25048
6698 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6699
60ff3cd7
AB
67002019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6701
6702 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6703 exceptions due to missing debug information.
6704
dfee8566
TV
67052019-10-07 Tom de Vries <tdevries@suse.de>
6706
6707 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6708
3d63690a
AB
67092019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6710
6711 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6712 * gdb.base/annota1.exp: Update to use gdb_test_name.
6713
30d1f018
WP
67142019-10-07 Weimin Pan <weimin.pan@oracle.com>
6715
6716 * gdb.base/ctf-whatis.exp: New file.
6717 * gdb.base/ctf-whatis.c: New file.
6718 * gdb.base/ctf-ptype.exp: New file.
6719 * gdb.base/ctf-ptype.c: New file.
6720 * gdb.base/ctf-constvars.exp: New file.
6721 * gdb.base/ctf-constvars.c: New file.
6722 * gdb.base/ctf-cvexpr.exp: New file.
6723
4dbbb47c
TV
67242019-10-04 Tom de Vries <tdevries@suse.de>
6725
6726 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6727 for loop.
6728
77c2dba3
TT
67292019-10-03 Tom Tromey <tom@tromey.com>
6730
6731 PR rust/24976:
6732 * gdb.rust/simple.rs (Union2): New type.
6733 (main): Use Union2.
6734 * gdb.rust/simple.exp: Add test.
6735
179aed7f
AB
67362019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6737
6738 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6739 nested function prefix.
6740
0a4b0913
AB
67412019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6742 Richard Bunt <richard.bunt@arm.com>
6743 Andrew Burgess <andrew.burgess@embecosm.com>
6744
6745 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6746 nested functions.
6747 * gdb.fortran/nested-funcs.f90: Update expected results.
6748 * gdb.fortran/nested-funcs-2.exp: New file.
6749 * gdb.fortran/nested-funcs-2.f90: New file.
6750
082cce05
AB
67512019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6752
6753 * gdb.python/py-parameter.exp: Make test names unique.
6754 * gdb.python/py-template.exp: Likewise.
6755 * gdb.python/py-value.exp: Likewise.
6756
2b74ba5a
AB
67572019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6758
6759 * gdb.base/break-interp.exp: Reduce test name duplication.
6760 * gdb.base/call-sc.exp: Likewise.
6761 * gdb.base/callfuncs.exp: Likewise.
6762 * gdb.base/charset.exp: Likewise.
6763 * gdb.base/dump.exp: Likewise.
6764 * gdb.base/ena-dis-br.exp: Likewise.
6765 * gdb.base/relational.exp: Likewise.
6766 * gdb.base/step-over-syscall.exp: Likewise.
6767 * gdb.base/structs.exp: Likewise.
6768
58eb20d5
AB
67692019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6770
6771 * gdb.linespec/explicit.exp: Make test names unique.
6772 * gdb.linespec/ls-errs.exp: Likewise.
6773
4d421147
AB
67742019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6775
6776 * gdb.reverse/break-precsave.exp: Make test names unique.
6777 * gdb.reverse/break-reverse.exp: Likewise.
6778 * gdb.reverse/finish-precsave.exp: Likewise.
6779 * gdb.reverse/finish-reverse.exp: Likewise.
6780 * gdb.reverse/machinestate-precsave.exp: Likewise.
6781 * gdb.reverse/machinestate.exp: Likewise.
6782 * gdb.reverse/readv-reverse.exp: Likewise.
6783 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6784 * gdb.reverse/sigall-precsave.exp: Likewise.
6785 * gdb.reverse/sigall-reverse.exp: Likewise.
6786 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6787 * gdb.reverse/watch-precsave.exp: Likewise.
6788 * gdb.reverse/watch-reverse.exp: Likewise.
6789
d8c06f22
AB
67902019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6791
6792 * gdb.threads/stop-with-handle.c: New file.
6793 * gdb.threads/stop-with-handle.exp: New file.
6794
3a56ed86
TV
67952019-10-03 Tom de Vries <tdevries@suse.de>
6796
6797 PR testsuite/25059
6798 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6799 directory" line to be missing.
6800
42275044
TV
68012019-10-03 Tom de Vries <tdevries@suse.de>
6802
6803 PR testsuite/25059
6804 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6805 type optional.
6806
9ef62df0
AA
68072019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6808
6809 * gdb.python/py-format-string.c (string.h): New include.
6810 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6811 the same value, for endianness-independence.
6812 * gdb.python/py-format-string.exp (default_regexp_dict)
6813 (test_pretty_structs, test_format): Adjust expected output to the
6814 changed initialization.
6815
37f6a7f4
TT
68162019-10-02 Tom Tromey <tromey@adacore.com>
6817
6818 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6819
1d58d6a2
PA
68202019-10-02 Pedro Alves <palves@redhat.com>
6821 Andrew Burgess <andrew.burgess@embecosm.com>
6822
6823 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6824 "print-file-var.h".
6825 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6826 (get_version_1): Print this_version_id and its address.
6827 Add extern "C" wrappers around interface functions.
6828 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6829 "print-file-var.h".
6830 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6831 (get_version_2): Print this_version_id and its address.
6832 Add extern "C" wrappers around interface functions.
6833 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6834 <stddef.h> and "print-file-var.h".
6835 Add extern "C" wrappers around interface functions.
6836 [VERSION_ID_MAIN] (this_version_id): Define.
6837 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6838 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6839 up extern "C" blocks.
6840 * gdb.base/print-file-var.exp (test): New, factored out from top
6841 level.
6842 (top level): Test all combinations of attribute hidden or not,
6843 dlopen or not, and this_version_id symbol in main file or not.
6844 Compile tests as both C++ and C, make test names unique.
6845
d770d56f
TT
68462019-10-01 Tom Tromey <tom@tromey.com>
6847
6848 * gdb.base/style.exp: Test "show logging filename".
6849
7f6aba03
TT
68502019-10-01 Tom Tromey <tom@tromey.com>
6851
6852 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6853 * gdb.base/style.exp: Add metadata style test.
6854
14309bb6
TT
68552019-10-01 Tom Tromey <tom@tromey.com>
6856
6857 * gdb.base/style.exp: Test "pwd".
6858
2a3c1174
PA
68592019-10-01 Tom Tromey <tom@tromey.com>
6860
6861 * gdb.base/style.exp: Update tests.
6862
53d666ec
AA
68632019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6864
6865 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6866 'six' to unsigned.
6867 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6868 'five'. Use an all-ones bit pattern for each.
6869 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6870 to its changed values.
6871
4a56a520
TT
68722019-09-30 Tom Tromey <tromey@adacore.com>
6873
6874 * gdb.rust/traits.rs: Disable all warnings.
6875
0df0352a
TV
68762019-09-29 Tom de Vries <tdevries@suse.de>
6877
aac66a4c 6878 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6879
73d9a918
TV
68802019-09-29 Tom de Vries <tdevries@suse.de>
6881
6882 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6883
060b3ab4
TV
68842019-09-27 Tom de Vries <tdevries@suse.de>
6885
6886 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6887
68f7d34d
TV
68882019-09-27 Tom de Vries <tdevries@suse.de>
6889
6890 PR record/23188
6891 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6892
5d63b30a
TT
68932019-09-26 Tom Tromey <tromey@adacore.com>
6894
6895 * gdb.ada/py_taft.exp: New file.
6896 * gdb.ada/py_taft/main.adb: New file.
6897 * gdb.ada/py_taft/pkg.adb: New file.
6898 * gdb.ada/py_taft/pkg.ads: New file.
6899
3d435220
TV
69002019-09-24 Tom de Vries <tdevries@suse.de>
6901
6902 PR gdb/24598
6903 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6904
77d03678
TV
69052019-09-22 Tom de Vries <tdevries@suse.de>
6906
6907 * gdb.base/restore.exp: Allow register variables to be optimized out at
6908 -O0.
6909
abf516c6
UW
69102019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6911
6912 * gdb.arch/spu-info.exp: Remove file.
6913 * gdb.arch/spu-info.c: Remove file.
6914 * gdb.arch/spu-ls.exp: Remove file.
6915 * gdb.arch/spu-ls.c: Remove file.
6916
6917 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6918 * gdb.asm/spu.inc: Remove file.
6919
6920 * gdb.base/dump.exp: Remove support for spu*-*-*.
6921 * gdb.base/stack-checking.exp: Likewise.
6922 * gdb.base/overlays.exp: Likewise.
6923 * gdb.base/ovlymgr.c: Likewise.
6924 * gdb.base/spu.ld: Remove file.
6925
6926 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6927 * gdb.cp/cpexprs.exp: Likewise.
6928 * gdb.cp/exception.exp: Likewise.
6929 * gdb.cp/gdb2495.exp: Likewise.
6930 * gdb.cp/mb-templates.exp: Likewise.
6931 * gdb.cp/pr9167.exp: Likewise.
6932 * gdb.cp/userdef.exp: Likewise.
6933
6934 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6935
6936 * gdb.cell: Remove directory.
6937 * lib/cell.exp: Remove file.
6938
e452e88f
TV
69392019-09-19 Tom de Vries <tdevries@suse.de>
6940
6941 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6942
8a625130
TV
69432019-09-19 Tom de Vries <tdevries@suse.de>
6944
6945 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6946
81dc3ab5
TV
69472019-09-19 Tom de Vries <tdevries@suse.de>
6948
6949 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6950 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6951 (gdb_target_cmd): ... here.
6952 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6953 value 2.
6954
b078f3ac
AB
69552019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6956
6957 * gdb.base/source-dir.exp: Avoid having directory names in test
6958 names.
6959
f1b620e9
MG
69602019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6961
6962 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6963 directory.
6964
67f3ed6a
AB
69652019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6966
6967 * gdb.base/list-missing-source.exp: New file.
6968
d1b70248
TV
69692019-09-14 Tom de Vries <tdevries@suse.de>
6970
6971 PR teststuite/24599
6972 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6973 * lib/ada.exp (gnatmake_version_at_least): New proc.
6974
5fabdcd6
AB
69752019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6976
6977 * gdb.base/maint.exp: Use exec_has_index_section.
6978
aa17805f
AB
69792019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6980
6981 * gdb.base/maint.exp: Add test for 'maint info sections'.
6982
25e5c209
TV
69832019-09-12 Tom de Vries <tdevries@suse.de>
6984
6985 * gdb.base/store.exp: Allow register variables to be optimized out at
6986 -O0.
6987
4993045d
PW
69882019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6989
6990 * gdb.ada/rdv_wait.exp: Update to new task names.
6991 * gdb.base/task_switch_in_core.exp: Likewise.
6992 * gdb.base/info_sources_base.c: Likewise.
6993
8a516164
TT
69942019-09-10 Tom Tromey <tromey@adacore.com>
6995
6996 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6997
aa391654
TT
69982019-09-10 Tom Tromey <tromey@adacore.com>
6999
7000 * gdb.ada/dgopt.exp: New file.
7001 * gdb.ada/dgopt/x.adb: New file.
7002
8634b462
TT
70032019-09-08 Tom Tromey <tom@tromey.com>
7004
7005 * gdb.tui/resize.exp: Remove setup_xfail.
7006 * gdb.tui/regs.exp: Remove setup_xfail.
7007 * gdb.tui/basic.exp: Remove setup_xfail.
7008
736b0f76
DB
70092019-09-06 David Blaikie <dblaikie@gmail.com>
7010
7011 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7012 * gdb.cp/cplabel.exp: Ditto.
7013 * gdb.linespec/ls-errs.exp: Ditto.
7014
30331a6c
TV
70152019-09-05 Tom de Vries <tdevries@suse.de>
7016
7017 * lib/gdb.exp (cmp_file_string): New proc.
7018 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7019 runto_main. Verify save breakpoints output.
7020
98b0ebab
PW
70212019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7022
7023 * gdb.base/info-var.exp: Test info variables without running
7024 to main, to avoid expect's buffer overflow.
7025
4e962e74
TT
70262019-09-03 Tom Tromey <tromey@adacore.com>
7027
7028 * gdb.ada/bias.exp: New file.
7029 * gdb.ada/bias/bias.adb: New file.
7030 * gdb.ada/print_chars.exp: Add regression test.
7031 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7032 (MC): New variable.
7033
2ea1a07a
SL
70342019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7035
7036 * gdb.base/argv0-symlink.exp: Run only on native target
7037 and local host.
7038
8077c50d
TV
70392019-08-29 Tom de Vries <tdevries@suse.de>
7040
7041 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7042 diverse debug info.
7043 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7044
48352473
TV
70452019-08-28 Tom de Vries <tdevries@suse.de>
7046
7047 * gdb.base/info-var.exp: Allow info variables to print info for files
7048 other than info-var-f1.c and info-var-f2.c.
7049
d8f27c60
AB
70502019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7051
7052 * gdb.fortran/info-types.exp: Add module.
7053 * gdb.fortran/info-types.f90: Update expected results.
7054
1f20c35e
AB
70552019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7056
7057 * gdb.fortran/info-types.exp: New file.
7058 * gdb.fortran/info-types.f90: New file.
7059 * lib/fortran.exp (fortran_character1): New proc.
7060
4acfdd20
AB
70612019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7062
7063 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7064 functions'. Reindent as needed.
7065 * gdb.base/info-var-f1.c: New file.
7066 * gdb.base/info-var-f2.c: New file.
7067 * gdb.base/info-var.exp: New file.
7068 * gdb.base/info-var.h: New file.
7069
5c31b358
TV
70702019-08-26 Tom de Vries <tdevries@suse.de>
7071
7072 PR c++/24852
7073 * gdb.cp/no-libstdcxx-probe.exp: New test.
7074
b694989f
TV
70752019-08-26 Tom de Vries <tdevries@suse.de>
7076
7077 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7078 * tests need to be skipped.
7079 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7080 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7081 mi_skip_libstdcxx_probe_tests.
7082
d9c4ba53
SDJ
70832019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7084
7085 * gdb.python/py-xmethods.exp: Use raw strings when passing
7086 arguments to SimpleXMethodMatcher.
7087
395fad09
TV
70882019-08-22 Tom de Vries <tdevries@suse.de>
7089
7090 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7091 more informative.
7092
26c957f1
PA
70932019-08-21 Pedro Alves <palves@redhat.com>
7094
7095 * gdb.base/with.exp: Test "with" with no arguments.
7096
61f80d5d
TV
70972019-08-21 Tom de Vries <tdevries@suse.de>
7098
7099 * gdb.base/gdb-caching-proc.exp: Sort files.
7100
d7a11d13
TV
71012019-08-20 Tom de Vries <tdevries@suse.de>
7102
7103 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7104 compilation.
7105
34dafe9f
TV
71062019-08-16 Tom de Vries <tdevries@suse.de>
7107
7108 * gdb.base/compare-sections.exp ("after run to main"): Allow
7109 mismatched read-only sections for PIE executables.
7110
398fdd60
TT
71112019-08-16 Tom Tromey <tom@tromey.com>
7112
7113 * lib/tuiterm.exp (_csi_Z): New proc.
7114 * gdb.tui/basic.exp: Update window positions.
7115 * gdb.tui/empty.exp: Update window positions.
7116
d8f9e51c
SL
71172019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7118
7119 * gdb.base/examine-backward.exp: Correct regexp for
7120 "examine 3 bytes backward from ${address_zero}".
7121
3df505f6
TT
71222019-08-15 Tom Tromey <tom@tromey.com>
7123
7124 * gdb.tui/empty.exp: Enable resizing tests.
7125
272560b5
TT
71262019-08-15 Tom Tromey <tromey@adacore.com>
7127
7128 * gdb.ada/char_enum.exp: Add regression tests.
7129 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7130 and '0'.
7131 (Char, Gchar): Update.
7132 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7133
08235187
CB
71342019-08-15 Christian Biesinger <cbiesinger@google.com>
7135
7136 * gdb.python/python.exp: Expect a leading underscore on
7137 GdbOutput{,Error}File.
7138
22a2ab04
SL
71392019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7140
7141 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7142 Windows host.
7143
835b995b
SL
71442019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7145
7146 * gdb.base/batch-preserve-term-settings.exp
7147 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7148
97dd8e07
CB
71492019-08-15 Christian Biesinger <cbiesinger@google.com>
7150
7151 * lib/gdb.exp: When running on a mingw target, replace
7152 /x/ with x:/.
7153
75faf5c4
AH
71542019-08-14 Alan Hayward <alan.hayward@arm.com>
7155
7156 * gdb.arch/aarch64-prologue.c: New test.
7157 * gdb.arch/aarch64-prologue.exp: New file.
7158
abc6c00f
TV
71592019-08-13 Tom de Vries <tdevries@suse.de>
7160
7161 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7162 Thread.
7163
74c2c1f4
SL
71642019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7165
7166 * gdb.python/py-completion.exp: Download the .py file to the host
7167 and use its host pathname. Conditionalize tests that use
7168 tab completion and manipulate files on the build machine.
7169 * gdb.python/py-events.exp: Download the .py file to the host
7170 and use its host pathname.
7171 * gdb.python/py-evsignal.exp: Likewise.
7172 * gdb.python/py-evthreads.exp: Likewise.
7173 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7174 pathname syntax.
7175 * gdb.python/py-framefilter.exp: Download the .py file to the right
7176 place on the host. Match Windows pathname syntax.
7177 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7178 .py file to the host and use its host pathname.
7179 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7180 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7181 build pathname. Skip symlink test on Windows host. Add missing
7182 newline at end of file.
7183 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7184 and use its host pathname.
7185 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7186 * gdb.python/py-section-script.exp: Use host location of binfile
7187 on safe-path. Use correct path separator on Windows host.
7188 Reorder alternatives in gdb_test_multiple to prevent matching
7189 the wrong alternative on success.
7190 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7191
ca2589f3
PP
71922019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7193
7194 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7195 expect the GDB inferior to no longer immediately stop after
7196 being resumed with "signal SIGINT".
7197
020a839d
SL
71982019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7199
7200 * gdb.linespec/break-ask.exp: Generalize regexps to match
7201 Windows pathnames too.
7202
128d6509
TV
72032019-08-08 Tom de Vries <tdevries@suse.de>
7204
7205 PR testsuite/24862
7206 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7207
590042fc
PW
72082019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7209
7210 * gdb.base/style.exp: Update tests for help doc new invariants.
7211 * gdb.base/help.exp: Likewise.
7212
046bebe1
TT
72132019-08-06 Tom Tromey <tom@tromey.com>
7214
7215 * gdb.base/style.exp: Add disassemble test.
7216 * gdb.base/style.c (some_called_function): New function.
7217 (main): Use it.
7218
0b27c27d
CB
72192019-08-05 Christian Biesinger <cbiesinger@google.com>
7220
7221 * gdb.python/py-block.exp: Test dictionary access on blocks.
7222
580f1034
SM
72232019-08-05 Simon Marchi <simon.marchi@efficios.com>
7224
7225 PR gdb/24863
7226 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7227 -list-thread-groups --available test when running under
7228 check-read1.
7229
d86bd7cb
TV
72302019-08-05 Tom de Vries <tdevries@suse.de>
7231
7232 PR testsuite/24863
7233 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7234 * gdb.base/help.exp: Use with_read1_timeout_factor.
7235 * gdb.base/info-macros.exp: Same.
7236 * gdb.cp/nested-types.exp: Same.
7237
a80cf5d8
TV
72382019-08-05 Tom de Vries <tdevries@suse.de>
7239
7240 * lib/gdb.exp (version_at_least): Factor out of ...
7241 (tcl_version_at_least): ... here.
7242 (gdb_compile): Fail if pie results in non-PIE executable.
7243 (readelf_version, readelf_prints_pie): New proc.
7244 (exec_is_pie): Return -1 if unknown.
7245
d0962838
TV
72462019-08-05 Tom de Vries <tdevries@suse.de>
7247
7248 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7249
2252ff3d
SL
72502019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7251
7252 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7253
26655f53
SL
72542019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7255
7256 * lib/completion-support.exp (test_gdb_complete_none): Skip
7257 tab completion tests if no readline support.
7258 (test_gdb_complete_unique_re): Likewise.
7259 (test_gdb_complete_multiple): Likewise.
7260
db4dc13e
PW
72612019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7262
7263 * gdb.base/info_sources.exp: New file.
7264 * gdb.base/info_sources.c: New file.
7265 * gdb.base/info_sources_base.c: New file.
7266
0eba165a
PFC
72672019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7268
7269 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7270 prefix argument.
7271 (test_exit_status): Add prefix argument.
7272
59bd512b
TV
72732019-08-01 Tom de Vries <tdevries@suse.de>
7274
7275 PR testsuite/24863
7276 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7277 calling exp_continue for new thread and thread exited messages.
7278
2a3ad588
TV
72792019-08-01 Tom de Vries <tdevries@suse.de>
7280
7281 PR testsuite/24863
7282 * gdb.base/structs.exp: Fix check-read1 timeout using
7283 gdb_test_sequence.
7284 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7285
117eb594
TV
72862019-08-01 Tom de Vries <tdevries@suse.de>
7287
7288 PR testsuite/24863
7289 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7290 line.
7291
ed591340
TV
72922019-08-01 Tom de Vries <tdevries@suse.de>
7293
7294 PR testsuite/24863
7295 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7296
aa3b6533
TT
72972019-07-30 Tom Tromey <tromey@adacore.com>
7298
7299 * gdb.ada/display_nested.exp: New file.
7300 * gdb.ada/display_nested/foo.adb: New file.
7301 * gdb.ada/display_nested/pack.adb: New file.
7302 * gdb.ada/display_nested/pack.ads: New file.
7303
2906593f
CB
73042019-07-30 Christian Biesinger <cbiesinger@google.com>
7305
7306 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7307 namespace.
7308 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7309
0f575925
TV
73102019-07-30 Tom de Vries <tdevries@suse.de>
7311
7312 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7313 instead.
7314
b13057d9
TV
73152019-07-30 Tom de Vries <tdevries@suse.de>
7316
7317 PR testsuite/24834
7318 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7319 (exec_is_pie): New proc.
7320
5c4dde85
CB
73212019-07-29 Christian Biesinger <cbiesinger@google.com>
7322
7323 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7324
c620ed88
CB
73252019-07-29 Christian Biesinger <cbiesinger@google.com>
7326
7327 * gdb.python/py-objfile.c: Add global and static vars.
7328 * gdb.python/py-objfile.exp: Test new functions Objfile.
7329 lookup_global_symbol and lookup_static_symbol.
7330
3d235706
TT
73312019-07-29 Tom Tromey <tom@tromey.com>
7332
7333 * lib/tuiterm.exp (Term::_csi_@): New proc.
7334 (Term::_csi_X): Don't move cursor.
7335
c7e4c0a6
PW
73362019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7337
7338 * gdb.base/options.exp: Update backtrace - completion to
7339 new option -frame-info.
7340 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7341 Test new 'set print frame-info'. Test backtrace -frame-info
7342 overriding 'set print frame-info'.
7343 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7344 Test new 'set print frame-info'.
7345 Verify consistency of backtrace with and without filters, with and
7346 without -no-filters.
7347 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7348 default.
7349
de28a3b7
TV
73502019-07-29 Tom de Vries <tdevries@suse.de>
7351
7352 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7353 no arguments".
7354
507dd60e
TV
73552019-07-29 Tom de Vries <tdevries@suse.de>
7356
7357 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7358 is a substring of the first for "complete non-unique file name".
7359
5beafce9
TV
73602019-07-29 Tom de Vries <tdevries@suse.de>
7361
7362 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7363 with ".*".
7364
2d274232
TV
73652019-07-29 Tom de Vries <tdevries@suse.de>
7366
7367 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7368 Pass prompt_regexp parameter to gdb_test_multiple calls.
7369
9197cd8b
TV
73702019-07-29 Tom de Vries <tdevries@suse.de>
7371
7372 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7373 print registers" regexps.
9197cd8b 7374
b528dae0
TV
73752019-07-29 Tom de Vries <tdevries@suse.de>
7376
7377 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7378
d17725d7
TV
73792019-07-29 Tom de Vries <tdevries@suse.de>
7380
7381 PR gdb/24855
7382 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7383 (skip_python_tests_prompt): Add prompt_regexp argument to
7384 gdb_test_multiple calls.
7385
52b75bf1
TT
73862019-07-27 Tom Tromey <tom@tromey.com>
7387
7388 * gdb.tui/main.exp: New file.
7389
2b1d00c2
TT
73902019-07-27 Tom Tromey <tom@tromey.com>
7391
7392 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7393 optional.
7394 * gdb.tui/empty.exp: New file.
7395
ded631d5
TT
73962019-07-27 Tom Tromey <tom@tromey.com>
7397
7398 * lib/tuiterm.exp (spawn): New proc.
7399 (Term::resize): New proc.
7400 * gdb.tui/resize.exp: New file.
7401
58ac439d
TT
74022019-07-27 Tom Tromey <tom@tromey.com>
7403
7404 * gdb.tui/list.exp: New file.
7405
fe1f56ee
TT
74062019-07-27 Tom Tromey <tom@tromey.com>
7407
7408 * gdb.tui/regs.exp: New file.
7409
f790b310
TT
74102019-07-27 Tom Tromey <tom@tromey.com>
7411
7412 * gdb.tui/basic.exp: Add "layout split" test.
7413
d95fc6ee
TT
74142019-07-27 Tom Tromey <tom@tromey.com>
7415
7416 * gdb.tui/basic.exp: Add "layout asm" test.
7417
c3786b3a
TT
74182019-07-27 Tom Tromey <tom@tromey.com>
7419
7420 * lib/tuiterm.exp: New file.
7421 * gdb.tui/basic.exp: New file.
7422
98a617f8
KB
74232019-07-27 Kevin Buettner <kevinb@redhat.com>
7424
7425 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7426 Enable tests associated with this flag. Adjust regex
7427 referencing "foo_low" to now refer to "foo_cold" instead.
7428
5c076da4
KB
74292019-07-27 Kevin Buettner <kevinb@redhat.com>
7430
7431 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7432 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7433 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7434 foo_cold. Revise comments to match.
7435 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7436 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7437 were wrapped into this proc; Call do_test in loop from outermost
7438 level.
7439 (foo_low): Rename all occurrences to "foo_cold".
7440 (backtrace from baz): New test.
7441 (x2/i foo_cold): New test.
7442 (info line *foo_cold): New test.
7443
1512d3b7
TV
74442019-07-26 Tom de Vries <tdevries@suse.de>
7445
7446 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7447
297989a1
TV
74482019-07-25 Tom de Vries <tdevries@suse.de>
7449
7450 PR testsuite/24830
7451 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7452 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7453 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7454 (skip_libstdcxx_probe_tests): ... here.
7455 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7456
b3b965fb
TV
74572019-07-24 Tom de Vries <tdevries@suse.de>
7458
7459 PR testsuite/24807
7460 * gdb.objc/basicclass.m: Include stdio.h.
7461 * gdb.objc/nondebug.m: Same.
7462 * gdb.objc/objcdecode.m: Same.
7463
4625b4d0
TV
74642019-07-24 Tom de Vries <tdevries@suse.de>
7465
7466 PR testsuite/24612
7467 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7468 additional_flags.
7469
024a5840
TV
74702019-07-24 Tom de Vries <tdevries@suse.de>
7471
7472 PR testsuite/24831
7473 * gdb.multi/tids.exp: Update error messages for info threads.
7474
c76ddaa3
TV
74752019-07-24 Tom de Vries <tdevries@suse.de>
7476
7477 * gdb.base/info-types.exp: Allow info types to print info for more than
7478 one file.
7479
9a618ef6
TV
74802019-07-23 Tom de Vries <tdevries@suse.de>
7481
7482 PR testsuite/24842
7483 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7484 gdb_spawn_with_cmdline_opts.
7485
40eadf04
SP
74862019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7487
7488 * gdb.arch/arm-cmse-sgstubs.c: New test.
7489 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7490
5ba29434
TV
74912019-07-23 Tom de Vries <tdevries@suse.de>
7492
7493 PR testsuite/24711
7494 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7495 issuing next command.
7496
a8e9d247
AB
74972019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7498
7499 * gdb.ada/info_auto_lang.exp: Update expected results.
7500 * gdb.base/info-types.c: Add additional types to check.
7501 * gdb.base/info-types.exp: Update expected results.
7502
eb86c5e2
AB
75032019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7504
7505 * gdb.base/info-types.c: New file.
7506 * gdb.base/info-types.exp: New file.
7507
01e175fe
AB
75082019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7509
7510 * gdb.arch/riscv-bp-infcall.c: New file.
7511 * gdb.arch/riscv-bp-infcall.exp: New file.
7512
6b78c3f8
AB
75132019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7514
7515 PR breakpoints/24541
7516 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7517
da738167
TV
75182019-07-14 Tom de Vries <tdevries@suse.de>
7519
7520 PR testsuite/24760
7521 * gdb.objc/basicclass.exp: Fix unterminated string.
7522
0d4e84ed
AB
75232019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7524 Andrew Burgess <andrew.burgess@embecosm.com>
7525
7526 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7527 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7528 negative bounds.
7529 * gdb.fortran/vla-value.exp: Print elements of an array with
7530 negative bounds.
7531 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7532 testing.
7533
021d8588
AB
75342019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7535
7536 * gdb.base/options.exp (expect_string): Dequote strings in
7537 results.
7538 (test-string): Test strings with different quoting and reindent.
7539
f06f1252
TT
75402019-07-10 Tom Tromey <tromey@adacore.com>
7541
7542 * gdb.ada/mi_ex_cond.exp: Update expected results.
7543 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7544 * gdb.ada/mi_catch_ex.exp: Update expected results.
7545 * gdb.ada/mi_catch_assert.exp: Update expected results.
7546 * gdb.ada/catch_ex.exp (catch_exception_info)
7547 (catch_exception_entry, catch_assert_entry)
7548 (catch_unhandled_entry): Update.
7549 * gdb.ada/catch_assert_if.exp: Update expected results.
7550
b863685d
RB
75512019-07-10 Richard Bunt <richard.bunt@arm.com>
7552 Stephen Roberts <stephen.roberts@arm.com>
7553
7554 * gdb.base/define.exp: Restore original prompt.
7555
cb1e4e32
PA
75562019-07-09 Pedro Alves <palves@redhat.com>
7557
7558 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7559 breakpoints" output.
7560 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7561 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7562 throw" creates breakpoint.
7563 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7564 'type="catchpoint"'.
7565
b58a68fe
PA
75662019-07-09 Pedro Alves <palves@redhat.com>
7567
7568 PR c++/15468
7569 * gdb.cp/except-multi-location-lib.cc: New.
7570 * gdb.cp/except-multi-location-main.cc: New.
7571 * gdb.cp/except-multi-location.exp: New.
7572
0826779b
PW
75732019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7574
7575 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7576 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7577 argument and update callers.
7578
5b0e2db4
AB
75792019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7580
7581 * gdb.arch/amd64-break-on-asm-line.S: New file.
7582 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7583
1f6f6e21
PW
75842019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7585
7586 * gdb.base/printcmds.exp: Test printing C string and
7587 C wide string convenience vars without transiting via the inferior.
7588 Also make test names unique.
7589
ea142fbf
AH
75902019-07-08 Alan Hayward <alan.hayward@arm.com>
7591
5862c886 7592 PR breakpoints/25011
ea142fbf
AH
7593 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7594
213fd9fa
PA
75952019-07-04 Pedro Alves <palves@redhat.com>
7596
7597 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7598 body returned ok(0), break(3) or continue(4).
7599 * gdb.testsuite/foreach_with_prefix.exp: New file.
7600
2b40fda7
AH
76012019-07-04 Alan Hayward <alan.hayward@arm.com>
7602
7603 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7604
a26c8de0
PA
76052019-07-03 Pedro Alves <palves@redhat.com>
7606
7607 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7608 "return -code".
7609
5f4ba3e7
PA
76102019-07-03 Pedro Alves <palves@redhat.com>
7611
7612 PR cli/24732
7613 * gdb.base/shell.exp: Load completion-support.exp.
7614 Adjust expected error output. Add completion tests.
7615
a994424f
PA
76162019-07-03 Pedro Alves <palves@redhat.com>
7617
7618 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7619 string_to_regexp.
7620
3d9be6f5
PA
76212019-07-03 Pedro Alves <palves@redhat.com>
7622
7623 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7624 (expect_integer): Adjust to expect "-string".
7625 (expect_string): New.
7626 (all_options): Expect "-string".
7627 (test-flag, test-boolean): Adjust to expect "-string".
7628 (test-string): New proc.
7629 (top level): Call it.
7630
41fc454c
PA
76312019-07-03 Pedro Alves <palves@redhat.com>
7632
7633 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7634 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7635 the expected output in the success.
7636
b2b2a215
PA
76372019-07-03 Pedro Alves <palves@redhat.com>
7638
7639 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7640 Split one gdb_test_multiple call in two to avoid a race.
7641
fdbc9870
PA
76422019-07-03 Pedro Alves <palves@redhat.com>
7643
7644 * gdb.base/with.c: New file.
7645 * gdb.base/with.exp: New file.
7646
c6ac8931
PA
76472019-07-03 Pedro Alves <palves@redhat.com>
7648
7649 * gdb.base/settings.exp: Replace all references to "maint
7650 test-settings set" with references to "maint set test-settings",
7651 and all references to "maint test-settings show" with references
7652 to "maint show test-settings".
7653
970f9d09
PA
76542019-07-03 Pedro Alves <palves@redhat.com>
7655
7656 * gdb.base/settings.exp (test-string): Adjust expected out when
7657 testing "maint test-settings show filename"
7658
54d66006
PA
76592019-07-02 Pedro Alves <palves@redhat.com>
7660
7661 * gdb.base/options.exp (test-info-threads): New procedure.
7662 (top level): Call it.
7663
10d06d82
TT
76642019-06-28 Tom Tromey <tromey@adacore.com>
7665
7666 * gdb.dwarf2/ada-linkage-name.c: New file.
7667 * gdb.dwarf2/ada-linkage-name.exp: New file.
7668
3d507ff2
TT
76692019-06-27 Tom Tromey <tromey@adacore.com>
7670
d039f014 7671 PR c++/20020:
3d507ff2
TT
7672 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7673
8af58ffe
TV
76742019-06-26 Tom de Vries <tdevries@suse.de>
7675
7676 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7677
22e21752
TV
76782019-06-26 Tom de Vries <tdevries@suse.de>
7679
7680 * gdb.base/index-cache.exp: Add back missing debug option.
7681
b65b566c
PW
76822019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7683
7684 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7685
5c2c8c69
TV
76862019-06-25 Tom de Vries <tdevries@suse.de>
7687
7688 PR testsuite/24727
7689 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7690
164e3873
TV
76912019-06-24 Tom de Vries <tdevries@suse.de>
7692
7693 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7694
824eacee
TV
76952019-06-24 Tom de Vries <tdevries@suse.de>
7696
7697 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7698 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7699 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7700
385b97d3
TV
77012019-06-24 Tom de Vries <tdevries@suse.de>
7702
7703 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7704
c596f180
TV
77052019-06-21 Tom de Vries <tdevries@suse.de>
7706
7707 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7708
b13a7d03
TV
77092019-06-21 Tom de Vries <tdevries@suse.de>
7710
7711 PR testsuite/24518
7712 PR ada/24713
7713 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7714 index.
7715
899277ae
TT
77162019-06-19 Tom Tromey <tromey@adacore.com>
7717
7718 * gdb.ada/length_cond.exp: Add intro comment.
7719
680e1bee
TT
77202019-06-19 Tom Tromey <tromey@adacore.com>
7721
7722 * gdb.ada/length_cond.exp: New file.
7723 * gdb.ada/length_cond/length_cond.adb: New file.
7724 * gdb.ada/length_cond/pck.adb: New file.
7725 * gdb.ada/length_cond/pck.ads: New file.
7726
0ed4690a
TV
77272019-06-18 Tom de Vries <tdevries@suse.de>
7728
7729 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7730
d20ed5fd
TT
77312019-06-18 Tom Tromey <tromey@adacore.com>
7732
7733 * gdb.base/list0.h: Add comment explaining control character.
7734
86e04673
TV
77352019-06-18 Tom de Vries <tdevries@suse.de>
7736
7737 * boards/fission.exp: Break up long debug_flags line.
7738
c4973306
SM
77392019-06-16 Tom de Vries <tdevries@suse.de>
7740
7741 PR gdb/24445
7742 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7743 generated index.
7744
93cb9841
AB
77452019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7746
7747 PR gdb/24686
7748 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7749 improve detection of bug gdb/24541.
7750
399aaebd
SM
77512019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7752
7753 PR gdb/24669
7754 * gdb.base/index-cache.exp (uses_readnow,
7755 expecting_index_cache_use): Define global variable.
7756 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7757 expecting_index_cache_use.
7758
584a927c
AB
77592019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7760 Andrew Burgess <andrew.burgess@embecosm.com>
7761
7762 * gdb.fortran/pointers.f90: New file.
7763 * gdb.fortran/print_type.exp: New file.
7764 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7765 * gdb.fortran/vla-type.exp: Likewise.
7766 * gdb.fortran/vla-value.exp: Likewise.
7767 * gdb.mi/mi-vla-fortran.exp: Likewise.
7768
30056ea0
AB
77692019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7770
7771 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7772 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7773 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7774 as a stop reason.
7775
ec8e2b6d
AB
77762019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7777
7778 * gdb.base/annota1.exp: Update expected results.
7779 * gdb.cp/annota2.exp: Likewise.
7780 * gdb.cp/annota3.exp: Likewise.
7781
09e4c4e1
AB
77822019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7783
7784 * gdb.base/style-logging.exp: Remove path from test name.
7785
0735b091
TT
77862019-06-14 Tom Tromey <tromey@adacore.com>
7787
7788 PR gdb/24502:
7789 * gdb.base/style-logging.exp: New file.
7790
f5686554
TT
77912019-06-14 Tom Tromey <tromey@adacore.com>
7792
7793 * gdb.base/symfile-warn.exp: New file.
7794 * gdb.base/symfile-warn.c: New file.
7795
a0c1ffed
TT
77962019-06-14 Tom Tromey <tromey@adacore.com>
7797
7798 * gdb.base/annotate-symlink.exp: New file.
7799
f411722c
TT
78002019-06-14 Tom Tromey <tromey@adacore.com>
7801
7802 * gdb.ada/set_wstr.exp: Add reassignment test.
7803
4268ec18
TT
78042019-06-14 Tom Tromey <tromey@adacore.com>
7805
7806 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7807 'unchecked_access and 'unrestricted_access as well.
7808
9a9e394b
TT
78092019-06-14 Tom Tromey <tromey@adacore.com>
7810
7811 PR ada/24539:
7812 * gdb.ada/vla.exp: Update tests.
7813 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7814 pragma.
7815
4c048731
PA
78162019-06-13 Pedro Alves <palves@redhat.com>
7817
7818 * gdb.base/settings.exp (test-integer): Test junk after
7819 "unlimited".
7820
6665660a
PA
78212019-06-13 Pedro Alves <palves@redhat.com>
7822
7823 * gdb.base/options.exp (test-thread-apply): New.
7824 (top level): Call it.
7825
5d707134
PA
78262019-06-13 Pedro Alves <palves@redhat.com>
7827
7828 * gdb.base/options.exp (test-frame-apply): New.
7829 (top level): Test print commands with different "frame apply"
7830 prefixes.
7831
e2a689da
PA
78322019-06-13 Pedro Alves <palves@redhat.com>
7833
e79be6e5 7834 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7835 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7836 'max_completions' parameter and handle it.
7837 (test_gdb_completion_offers_commands): New.
7838
90a1ef87
PA
78392019-06-13 Pedro Alves <palves@redhat.com>
7840
7841 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7842
d4c16835
PA
78432019-06-13 Pedro Alves <palves@redhat.com>
7844
7845 * gdb.base/options.exp (test-backtrace): New.
7846 (top level): Call it.
7847
2daf894e
PA
78482019-06-13 Pedro Alves <palves@redhat.com>
7849
7850 * gdb.guile/scm-frame-args.exp: Use "set print
7851 raw-frame-arguments" instead of "set print raw frame-arguments".
7852 * gdb.python/py-frame-args.exp: Likewise.
7853
e6ed716c
PA
78542019-06-13 Pedro Alves <palves@redhat.com>
7855
7856 * gdb.compile/compile.exp: Adjust expected output to option
7857 processing changes.
7858
7d8062de
PA
78592019-06-13 Pedro Alves <palves@redhat.com>
7860
7861 * gdb.base/options.exp: Build executable.
7862 (test-print): New procedure.
7863 (top level): Call it, once for "print" and another for "compile
7864 print".
7865
9d0faba9
PA
78662019-06-13 Pedro Alves <palves@redhat.com>
7867
7868 * gdb.base/options.c: New file.
7869 * gdb.base/options.exp: New file.
7870
dee7b4c8
PA
78712019-06-13 Pedro Alves <palves@redhat.com>
7872
7873 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7874 that "o" is ambiguous.
7875
dca0f6c0
PA
78762019-06-13 Pedro Alves <palves@redhat.com>
7877
7878 * gdb.base/settings.c: New file.
7879 * gdb.base/settings.exp: New file.
7880
ccf46844
PA
78812019-06-13 Pedro Alves <palves@redhat.com>
7882
7883 * gdb.base/completion.exp: Fix comment typo.
7884
b9a3f842
PA
78852019-06-13 Pedro Alves <palves@redhat.com>
7886
7887 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7888 foo --1" test.
7889
d106773e
PA
78902019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7891
7892 * gdb.fortran/block-data.f: New.
7893 * gdb.fortran/block-data.exp: New.
7894
fea82da0
TV
78952019-06-11 Tom de Vries <tdevries@suse.de>
7896
7897 PR testsuite/24521
7898 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7899 message.
7900
8c2e74f1
TV
79012019-06-11 Tom de Vries <tdevries@suse.de>
7902
7903 PR testsuite/24521
7904 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7905
b49851c8
TV
79062019-06-11 Tom de Vries <tdevries@suse.de>
7907
7908 * boards/readnow.exp: New file.
7909
a7067863
AB
79102019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7911
7912 * gdb.fortran/vla-sizeof.exp: Update expected results.
7913
1a3da2cd
AB
79142019-06-06 Amos Bird <amosbird@gmail.com>
7915
7916 * gdb.base/annota1.exp (thread_switch): Add test for
7917 thread-exited annotation.
7918
3847a7bf
TT
79192019-06-06 Tom Tromey <tromey@adacore.com>
7920
7921 * gdb.base/maint.exp: Expect command started/finished output.
7922
0088ba59
AB
79232019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7924
7925 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7926 comment.
7927 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7928
312617a3
AB
79292019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7930
7931 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7932 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7933 * gdb.arch/riscv-unwind-long-insn.c: New file.
7934 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7935
e1f2e1a2
CB
79362019-06-04 Christian Biesinger <cbiesinger@google.com>
7937
d3238f7d 7938 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7939
206584bd
PW
79402019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7941
7942 * lib/gdb.exp (help_list_trailer): New regexp variable
7943 factorizing the help trailer message.
7944 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7945 arg to allow to better factorize various tests.
7946 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7947 (test_prefix_command_help): Use help_list_trailer.
7948 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7949 * gdb.guile/scm-cmd.exp: Likewise.
7950 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7951 * gdb.base/help.exp: Use test_user_defined_class_help.
7952 * gdb.base/style.exp: Add tests for styling of help and apropos.
7953 * lib/gdb-utils.exp (style): Add title and highlight styles.
7954
708dc93e
PW
79552019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7956
7957 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7958 $_shell_exitsignal.
7959 * gdb.base/default.exp: Update for new convenience variables.
7960
f49055a5
TT
79612019-05-29 Tom Tromey <tromey@adacore.com>
7962
7963 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7964 to "break complete ada" test case's regexp.
7965
4330d61d
TT
79662019-05-29 Tom Tromey <tromey@adacore.com>
7967
7968 PR c++/20020:
7969 * gdb.cp/constexpr-field.exp: New file.
7970 * gdb.cp/constexpr-field.cc: New file.
7971
000439d5
TT
79722019-05-29 Tom Tromey <tromey@adacore.com>
7973
7974 * gdb.base/finish.exp (finish_no_print): New proc.
7975 (finish_tests): Call it.
7976
5a01c34c
TV
79772019-05-24 Tom de Vries <tdevries@suse.de>
7978
7979 * gdb.dwarf2/gdb-add-index.exp: New file.
7980
18125b16
TT
79812019-05-22 Tom Tromey <tromey@adacore.com>
7982
7983 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7984 * gdb.base/style.exp: Use "style".
7985 * lib/gdb-utils.exp (style): New proc.
7986
af1a8d03
TV
79872019-05-22 Tom de Vries <tdevries@suse.de>
7988
7989 * gdb.base/align.exp: Require c++11.
7990
e7fe496b
TV
79912019-05-22 Tom de Vries <tdevries@suse.de>
7992
7993 PR testsuite/24586
7994 * gdb.python/py-mi-var-info-path-expression.exp: Call
7995 mi_skip_python_tests to check if python is supported.
7996
8fca4da0
AH
79972019-05-22 Alan Hayward <alan.hayward@arm.com>
7998
7999 * gdb.arch/aarch64-pauth.c: New test.
8000 * gdb.arch/aarch64-pauth.exp: New file.
8001
b7060614
AH
80022019-05-22 Alan Hayward <alan.hayward@arm.com>
8003
8004 * README (Re-running Tests Outside The Testsuite): New section.
8005
669d0468
TV
80062019-05-21 Tom de Vries <tdevries@suse.de>
8007
8008 * gdb.arch/amd64-eval.exp: Require c++11.
8009 * gdb.base/max-depth.exp: Same.
8010 * gdb.compile/compile-cplus-array-decay.exp: Same.
8011 * gdb.cp/meth-typedefs.exp: Same.
8012 * gdb.cp/subtypes.exp: Same.
8013 * gdb.cp/temargs.exp: Same.
8014
ce3ebcaa
AH
80152019-05-21 Alan Hayward <alan.hayward@arm.com>
8016
8017 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8018
34d11c68
AB
80192019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8020
8021 PR gdb/18644
8022 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8023 * gdb.fortran/printing-types.exp: Add new test.
8024 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8025 testing.
8026 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8027 setup_kfail call.
8028
87781e84
AH
80292019-05-17 Alan Hayward <alan.hayward@arm.com>
8030
8031 * README (Running the Testsuite): Change example.
8032 (Testsuite Parameters): Remove TRANSCRIPT.
8033 * lib/gdb.exp: Remove TRANSCRIPT check.
8034
b420b89e
AH
80352019-05-17 Alan Hayward <alan.hayward@arm.com>
8036
8037 * README (Testsuite Parameters): Add replay logging to
8038 GDBSERVER_DEBUG.
8039 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8040 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8041 as a comma separated list.
8042 (gdb_debug_init): Override procedure.
8043
408e9b8b
AH
80442019-05-17 Alan Hayward <alan.hayward@arm.com>
8045
8046 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8047 (gdb_write_cmd_file): New procedure.
8048 * lib/gdbserver-support.exp (gdbserver_start): Call
8049 gdbserver_write_cmd_file.
8050 (gdbserver_write_cmd_file): New procedure.
8051
f9e2e39d
AH
80522019-05-17 Alan Hayward <alan.hayward@arm.com>
8053
8054 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8055 (delete_breakpoints): Likewise.
8056 (gdb_run_cmd): Likewise.
8057 (gdb_start_cmd): Likewise.
8058 (gdb_starti_cmd): Likewise.
8059 (gdb_internal_error_resync): Likewise.
8060 (gdb_test_multiple): Likewise.
8061 (gdb_reinitialize_dir): Likewise.
8062 (default_gdb_exit): Likewise.
8063 (gdb_file_cmd): Mark kill as optional.
8064 (default_gdb_start): Call gdb_stdin_log_init.
8065 (send_gdb): Call gdb_stdin_log_write.
8066 (rerun_to_main): Mark Y as an answer.
8067 (gdb_stdin_log_init): New function.
8068 (gdb_stdin_log_write): Likewise.
8069
81f47ac2
AH
80702019-05-17 Alan Hayward <alan.hayward@arm.com>
8071
8072 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8073 * gdb.base/debug-expr.exp: Likewise.
8074 * gdb.base/foll-fork.exp: Likewise.
8075 * gdb.base/foll-vfork.exp: Likewise.
8076 * gdb.base/fork-print-inferior-events.exp: Likewise.
8077 * gdb.base/gdb-sigterm.exp: Likewise.
8078 * gdb.base/gdbinit-history.exp: Likewise.
8079 * gdb.base/osabi.exp: Likewise.
8080 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8081 * gdb.base/ui-redirect.exp: Likewise.
8082 * gdb.gdb/unittest.exp: Likewise.
8083 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8084 * gdb.mi/mi-watch.exp: Likewise.
8085 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8086 * gdb.mi/user-selected-context-sync.exp: Likewise.
8087 * gdb.python/python.exp: Disable debug test when debugging.
8088 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8089 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8090 Likewise.
8091 * gdb.threads/stepi-random-signal.exp: Likewise.
8092
29b52314
AH
80932019-05-17 Alan Hayward <alan.hayward@arm.com>
8094
8095 * Makefile.in: Pass through GDB_DEBUG.
8096 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8097 (gdb,debug): Add board setting.
8098 * lib/gdb.exp (default_gdb_start): Start debugging.
8099 (gdb_debug_enabled): New procedure.
8100 (gdb_debug_init): Likewise.
29b52314
AH
8101
81022019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 8103
29b52314
AH
8104 * Makefile.in: Pass through GDB_DEBUG.
8105 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8106 (gdb,debug): Add board setting.
8107 * lib/gdb.exp (default_gdb_start): Start debugging.
8108 (gdb_debug_enabled): New procedure.
8109 (gdb_debug_init): Likewise.
29b52314 8110
ca1285d1
AH
81112019-05-17 Alan Hayward <alan.hayward@arm.com>
8112
8113 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8114
f3a09c80
AH
81152019-05-17 Alan Hayward <alan.hayward@arm.com>
8116
8117 * gdb.base/ui-redirect.exp: Test redirection.
8118
26648588
JV
81192019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8120
8121 * gdb.mi/mi-complete.exp: New file.
8122 * gdb.mi/mi-complete.cc: Likewise.
8123
14237686
AB
81242019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8125
8126 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8127 indexed and sliced arrays, and pointers to arrays.
8128
e7bd7fba
TT
81292019-05-14 Tom Tromey <tromey@adacore.com>
8130
8131 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8132 styling test.
8133
2764128d
TV
81342019-05-14 Tom de Vries <tdevries@suse.de>
8135
8136 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8137 selection entry encoding.
8138
71bed2db
TT
81392019-05-10 Tom Tromey <tromey@adacore.com>
8140
8141 * gdb.ada/info_exc.exp: Add "complete" test.
8142
63b667ad
TV
81432019-05-09 Tom de Vries <tdevries@suse.de>
8144
8145 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8146 CU-relative.
8147
9cfd2b89
TV
81482019-05-09 Tom de Vries <tdevries@suse.de>
8149
8150 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8151 CU-relative.
8152
2228ef77
XR
81532019-05-08 Joel Brobecker <brobecker@adacore.com>
8154
8155 * gdb.ada/frame_arg_lang.exp: New testcase.
8156 * gdb.ada/frame_arg_lang/bla.adb: New file.
8157 * gdb.ada/frame_arg_lang/pck.ads: New file.
8158 * gdb.ada/frame_arg_lang/pck.adb: New file.
8159 * gdb.ada/frame_arg_lang/foo.c: New file.
8160
80e55b13
TT
81612019-05-08 Tom Tromey <tromey@adacore.com>
8162
8163 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8164
9d3421af
TT
81652019-05-08 Tom Tromey <tromey@adacore.com>
8166
8167 * gdb.base/ptype-offsets.exp: Update tests.
8168
844333e2
TT
81692019-05-08 Tom Tromey <tromey@adacore.com>
8170
8171 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8172 cases.
8173 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8174 "short".
8175
988915ee
TT
81762019-05-08 Tom Tromey <tromey@adacore.com>
8177
8178 * gdb.ada/vla.exp: New file.
8179 * gdb.ada/vla/vla.adb: New file.
8180
7bd55dac
TV
81812019-05-07 Tom de Vries <tdevries@suse.de>
8182
8183 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8184
75f06e9d
TV
81852019-05-07 Tom de Vries <tdevries@suse.de>
8186
8187 PR testsuite/24522
8188 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8189 section.
8190
77e7aaa4
TV
81912019-05-07 Tom de Vries <tdevries@suse.de>
8192
8193 PR testsuite/24522
8194 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8195 .debug_aranges section.
8196
456ba0fa
TV
81972019-05-07 Tom de Vries <tdevries@suse.de>
8198
8199 PR testsuite/24159
8200 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8201
5a56d6a6
TV
82022019-05-06 Tom de Vries <tdevries@suse.de>
8203
8204 * lib/gdb.exp (exec_has_index_section): New proc.
8205 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8206 section.
8207
9d6d4be8
TV
82082019-05-04 Tom de Vries <tdevries@suse.de>
8209
8210 * boards/cc-with-debug-names.exp: New file.
8211
222a8d25
TT
82122019-05-03 Tom Tromey <tromey@adacore.com>
8213
8214 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8215 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8216 * gdb.ada/char_enum.exp: Add test.
8217
0fdfd794
TV
82182019-05-03 Tom de Vries <tdevries@suse.de>
8219
8220 * boards/cc-with-gdb-index.exp: New file.
8221
80062eb9
AB
82222019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8223
8224 * gdb.rust/simple.exp: Add new test case.
8225 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8226 (main): Initialise an instance of the new struct.
8227
4504bbde
TT
82282019-05-01 Tom Tromey <tromey@adacore.com>
8229
8230 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8231 record.
8232 (NPR): New variable.
8233 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8234 test.
8235
d48e62f4
TT
82362019-05-01 Tom Tromey <tromey@adacore.com>
8237
8238 * gdb.ada/packed_array_assign.exp: Add packed assignment
8239 regression test.
8240
f59f30f5
TV
82412019-05-01 Tom de Vries <tdevries@suse.de>
8242
8243 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8244
b70bfc54
TV
82452019-05-01 Tom de Vries <tdevries@suse.de>
8246
8247 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8248
15f18d14
AT
82492019-04-30 Ali Tamur <tamur@google.com>
8250
8251 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8252
2ff0a947
TT
82532019-04-30 Tom Tromey <tromey@adacore.com>
8254
8255 * lib/ada.exp (find_ada_tool): New proc.
8256 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8257 * gdb.ada/catch_ex_std.exp: New file.
8258 * gdb.ada/catch_ex_std/foo.adb: New file.
8259 * gdb.ada/catch_ex_std/some_package.adb: New file.
8260 * gdb.ada/catch_ex_std/some_package.ads: New file.
8261
a776957c
TT
82622019-04-30 Tom Tromey <tromey@adacore.com>
8263
8264 PR c++/24470:
8265 * gdb.cp/temargs.cc: Add test code from PR.
8266
bc68014d
AB
82672019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8268
8269 * gdb.fortran/vla-datatypes.exp: Update expected results.
8270 * gdb.fortran/vla-ptype.exp: Likewise.
8271 * gdb.fortran/vla-type.exp: Likewise.
8272 * gdb.fortran/vla-value.exp: Likewise.
8273
f1fdc960
AB
82742019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8275
8276 * gdb.fortran/ptr-indentation.exp: Update expected results.
8277 * gdb.fortran/ptype-on-functions.exp: Likewise.
8278 * gdb.fortran/vla-ptr-info.exp: Likewise.
8279 * gdb.fortran/vla-value.exp: Likewise.
8280
bf7a4de1
AB
82812019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8282
8283 * gdb.fortran/ptype-on-functions.exp: New file.
8284 * gdb.fortran/ptype-on-functions.f90: New file.
8285
bbe75b9d
AB
82862019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8287
8288 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8289 case void string.
8290
1db455a7
AB
82912019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8292
8293 * gdb.fortran/complex.exp: Expand.
8294 * gdb.fortran/complex.f: Renamed to...
8295 * gdb.fortran/complex.f90: ...this, and extended to add more
8296 complex values.
8297
b6d03bb2
AB
82982019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8299
8300 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8301 MODULO, CMPLX.
8302
2e62ab40
AB
83032019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8304 Richard Bunt <richard.bunt@arm.com>
8305
8306 * gdb.base/max-depth.c: New file.
8307 * gdb.base/max-depth.exp: New file.
8308 * gdb.python/py-nested-maps.c: New file.
8309 * gdb.python/py-nested-maps.exp: New file.
8310 * gdb.python/py-nested-maps.py: New file.
8311 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8312 (test_all_common): Call test_max_depth.
8313 * gdb.fortran/max-depth.exp: New file.
8314 * gdb.fortran/max-depth.f90: New file.
8315 * gdb.go/max-depth.exp: New file.
8316 * gdb.go/max-depth.go: New file.
8317 * gdb.modula2/max-depth.exp: New file.
8318 * gdb.modula2/max-depth.c: New file.
8319 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8320
d2b584a5
TV
83212019-04-29 Tom de Vries <tdevries@suse.de>
8322
8323 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8324
136afab8
PW
83252019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8326
8327 * gdb.base/callexit.exp: Test may-call-functions off.
8328
725cbb63
KS
83292019-04-25 Keith Seitz <keiths@redhat.com>
8330
8331 PR c++/24367
8332 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8333 (another_incomplete_struct, test_incomplete): New definitions.
8334 (main): Use new definitions.
8335 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8336 functions.
8337
701adfb0
PA
83382019-04-25 Ali Tamur <tamur@google.com>
8339
8340 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8341
82433e3e
SDJ
83422019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8343
8344 PR corefiles/11608
8345 PR corefiles/18187
8346 * gdb.base/coredump-filter-build-id.exp: New file.
8347
dd06d4d6
AH
83482019-04-25 Alan Hayward <alan.hayward@arm.com>
8349
e79be6e5
SM
8350 * Makefile.in: Pass through GDBSERVER_DEBUG.
8351 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8352 (gdbserver,debug): Add board setting.
8353 * gdb.trace/tspeed.exp: Skip when debugging.
8354 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8355 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8356
1670072e
TT
83572019-04-24 Tom Tromey <tromey@adacore.com>
8358
8359 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8360 Rust.
8361
a59240a4
TT
83622019-04-24 Tom Tromey <tromey@adacore.com>
8363
8364 * gdb.arch/amd64-eval.exp: Test bitfield return.
8365 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8366 (class Foo) <return_bitfields>: New method.
8367 (main): Call it.
8368
b907456c
AB
83692019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8370
8371 * gdb.cp/many-args.cc: New file.
8372 * gdb.cp/many-args.exp: New file.
8373
5c565afd
TV
83742019-04-23 Tom de Vries <tdevries@suse.de>
8375
8376 PR gdb/24433
8377 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8378
ba22ff86
AH
83792019-04-23 Alan Hayward <alan.hayward@arm.com>
8380
8381 * gdb.trace/backtrace.exp: Use nopie flag.
8382 * gdb.trace/circ.exp: Likewise.
8383 * gdb.trace/collection.exp: Likewise.
8384 * gdb.trace/ftrace.exp: Likewise.
8385 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8386 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8387 * gdb.trace/qtro.exp: Likewise.
8388 * gdb.trace/read-memory.exp: Likewise.
8389 * gdb.trace/report.exp: Likewise.
8390 * gdb.trace/tfile.exp: Likewise.
8391 * gdb.trace/tfind.exp: Likewise.
8392 * gdb.trace/unavailable.exp: Likewise.
8393
7905fc35
PA
83942019-04-22 Pedro Alves <palves@redhat.com>
8395
8396 * gdb.base/solib-probes-nosharedlibrary.c,
8397 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8398
8ecb59f8
TT
83992019-04-19 Tom Tromey <tromey@adacore.com>
8400
8401 * gdb.ada/ptype_union.c: New file.
8402 * gdb.ada/ptype_union.exp: New file.
8403
62160ec9
TT
84042019-04-19 Tom Tromey <tromey@adacore.com>
8405
8406 PR symtab/24423:
8407 * gdb.base/list0.h (foo): Add a control-l character.
8408
36cd4ba5
TV
84092019-04-18 Tom de Vries <tdevries@suse.de>
8410
8411 PR gdb/24433
8412 * boards/local-board.exp: Set sysroot to "".
8413
b73715df
TV
84142019-04-18 Tom de Vries <tdevries@suse.de>
8415 Pedro Alves <palves@redhat.com>
8416
8417 PR gdb/24454
8418 * gdb.threads/vfork-follow-child-exec.c: New file.
8419 * gdb.threads/vfork-follow-child-exec.exp: New file.
8420 * gdb.threads/vfork-follow-child-exit.c: New file.
8421 * gdb.threads/vfork-follow-child-exit.exp: New file.
8422
4aa866af
LS
84232019-04-15 Leszek Swirski <leszeks@google.com>
8424
8425 * gdb.arch/amd64-eval.cc: New file.
8426 * gdb.arch/amd64-eval.exp: New file.
8427
e5a1a79a
AH
84282019-04-11 Alan Hayward <alan.hayward@arm.com>
8429
8430 * gdb.server/sysroot.c: New test.
8431 * gdb.server/sysroot.exp: New file.
8432 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8433 matching param.
8434
41077b66
AB
84352019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8436
8437 * gdb.base/align.exp: Extend test to cover structures containing
8438 only static fields.
8439
c30391f8
TV
84402019-04-11 Tom de Vries <tdevries@suse.de>
8441
8442 * boards/cc-with-dwz-m.exp: New file.
8443 * boards/cc-with-dwz.exp: New file.
8444 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8445
e242fd12
SM
84462019-04-09 Simon Marchi <simon.marchi@efficios.com>
8447
8448 * gdb.base/start-cpp.exp: New file.
8449 * gdb.base/start-cpp.cc: New file.
8450
2b0c8b01
KB
84512019-04-08 Kevin Buettner <kevinb@redhat.com>
8452
8453 * gdb.python/py-thrhandle.exp: Adjust tests to call
8454 thread_from_handle instead of thread_from_thread_handle.
8455
947210e5
KB
84562019-04-08 Kevin Buettner <kevinb@redhat.com>
8457
8458 * gdb.python/py-thrhandle.exp: Add tests for
8459 gdb.InferiorThread.handle.
8460
d7df6549
AB
84612019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8462
8463 * gdb.python/py-function.exp: Check calling helper function from
8464 all languages.
8465 * lib/gdb.exp (gdb_supported_languages): New proc.
8466
8bdc1658
AB
84672019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8468
8469 * gdb.base/complex-parts.c: New file.
8470 * gdb.base/complex-parts.exp: New file.
8471
05caa1d2
TT
84722019-04-01 Tom Tromey <tromey@adacore.com>
8473
8474 PR symtab/23331:
8475 * gdb.dwarf2/dw2-ranges-main.c: New file.
8476 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8477 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8478
7734102d
EZ
84792019-03-30 Simon Marchi <simark@simark.ca>
8480
8481 * gdb.base/default.exp: Add values for $_gdb_major and
8482 $_gdb_minor.
8483
188e1fa9
TT
84842019-03-29 Tom Tromey <tromey@adacore.com>
8485
8486 * gdb.base/help.exp: Tighten apropos regexp.
8487
2880242d
KS
84882019-03-29 Keith Seitz <keiths@redhat.com>
8489
8490 * gdb.fortran/array-bounds.exp: New file.
8491 * gdb.fortran/array-bounds.f90: New file.
8492
077cad8e
PW
84932019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8494
8495 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8496
80047cfc
PW
84972019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8498
8499 * gdb.multi/hello.c (main): Increase alarm timer.
8500
f489207e
SL
85012019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8502
8503 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8504 factor when no hardware watchpoint support.
8505
c92df149
AH
85062019-03-28 Alan Hayward <alan.hayward@arm.com>
8507 Pedro Alves <palves@redhat.com>
8508
8509 * boards/local-board.exp: set sysroot to /.
8510
933aebfa
AH
85112019-03-27 Alan Hayward <alan.hayward@arm.com>
8512
8513 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8514 in child.
8515
9f9aa852
AB
85162019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8517
8518 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8519 field.
8520 (make_container): Initialise new field.
8521 * gdb.python/py-prettyprint.exp: Add new tests.
8522 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8523 <display_hint>: New method.
8524
3714a195
AB
85252019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8526
8527 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8528 gdb_continue_to_breakpoint more throughout this test.
8529 (run_lang_tests) Supply unique test names, and use
8530 gdb_test_no_output.
8531
18c77628
AB
85322019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8533
8534 * gdb.base/finish-pretty.exp: Update expected results.
8535 * gdb.base/pretty-print.c: New file.
8536 * gdb.base/pretty-print.exp: New file.
8537
9a93502f
PA
85382019-03-25 Pedro Alves <palves@redhat.com>
8539
8540 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8541 move comments outside list. Append '-i "" eof' section.
8542
968aa7ae
AH
85432019-03-22 Alan Hayward <alan.hayward@arm.com>
8544
34a7f2a4 8545 PR testsuite/25016
968aa7ae
AH
8546 * README: Add pie options.
8547 * gdb.base/break-interp.exp: Ensure pie is disabled.
8548 * gdb.base/dump.exp: Likewise.
8549 * lib/gdb.exp (gdb_compile): Add pie option.
8550
4c7d57e7
TT
85512019-03-19 Tom Tromey <tromey@adacore.com>
8552
8553 * gdb.mi/mi2-cli-display.c: New file.
8554 * gdb.mi/mi2-cli-display.exp: New file.
8555
bff8c71f
TT
85562019-03-18 Joel Brobecker <brobecker@adacore.com>
8557 Tom Tromey <tromey@adacore.com>
8558
8559 * gdb.ada/ptype_array/pck.adb: New file.
8560 * gdb.ada/ptype_array/pck.ads: New file.
8561 * gdb.ada/ptype_array/foo.adb: New file.
8562 * gdb.ada/ptype_array.exp: New file.
8563
d085f989
TT
85642019-03-14 Tom Tromey <tromey@adacore.com>
8565
8566 * gdb.base/style.exp: Add "set style sources" test.
8567
b4be1b06
SM
85682019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8569
8570 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8571 * mi-breakpoint-multiple-locations.exp: ... this.
8572 (make_breakpoints_pattern): New proc.
8573 (do_test): Add mi_version parameter, test -break-insert,
8574 -break-info and =breakpoint-created.
8575
7cde5fc2
AB
85762019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8577
8578 * config/default.exp: Remove 'load_lib gdb.exp'.
8579 * config/monitor.exp: Likewise.
8580 * config/sid.exp: Likewise.
8581 * config/sim.exp: Likewise.
8582 * config/slite.exp: Likewise.
8583 * config/unix.exp: Likewise.
8584 * gdb.base/default.exp: Remove unhelpful comment.
8585
efbecbc1
AB
85862019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8587
8588 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8589
0841c79a
AB
85902019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8591
8592 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8593
4a270568
AB
85942019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8595
8596 * gdb.fortran/type-kinds.exp: Update expected results.
8597
067630bd
AB
85982019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8599
8600 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8601
3be47f7a
AB
86022019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8603
8604 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8605 function.
8606 (test_basic_parsing_of_type_kinds): Expand types tested.
8607 (test_parsing_invalid_type_kinds): New function.
8608
4d00f5d8
AB
86092019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8610
8611 * gdb.fortran/intrinsics.exp: New file.
8612 * gdb.fortran/intrinsics.f90: New file.
8613 * gdb.fortran/type-kinds.exp: New file.
8614
c8f91604
AB
86152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8616
8617 * gdb.fortran/dot-ops.exp: New file.
8618
dd9f2c76
AB
86192019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8620
8621 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8622 Check upper and lower case logical literals.
8623
84ec9724
AB
86242019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8625
8626 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8627 Remove duplicate tests.
8628
c3734e09
AH
86292019-03-06 Alan Hayward <alan.hayward@arm.com>
8630
8631 * lib/gdb.exp (builtin_cd): rename of cd.
8632 (cd): Override builtin.
8633
aa3cfbda
RB
86342019-03-06 Richard Bunt <richard.bunt@arm.com>
8635
8636 * gdb.fortran/function-calls.exp: New file.
8637 * gdb.fortran/function-calls.f90: New test.
8638
7b63ad86
RB
86392019-03-04 Richard Bunt <richard.bunt@arm.com>
8640
8641 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8642 on user program standard output.
8643 * gdb.fortran/short-circuit-argument-list.f90: Record function
8644 calls.
8645
01abb042
AH
86462019-02-28 Alan Hayward <alan.hayward@arm.com>
8647
c3734e09
AH
8648 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8649 failure.
01abb042 8650
92137da0
RO
86512019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8652
8653 PR gdb/8527
8654 * gdb.base/interrupt-daemon-attach.c,
8655 gdb.base/interrupt-daemon-attach.exp: New test.
8656
5862844d
PA
86572019-02-27 Pedro Alves <palves@redhat.com>
8658
8659 * gdb.base/page.exp: Add tests for "set width/height -1".
8660
8ed25214
PA
86612019-02-27 Pedro Alves <palves@redhat.com>
8662
8663 * gdb.base/page.exp: Add tests for "set/show width/height" with
8664 "infinite" values.
8665
6c28e44a
TT
86662019-02-27 Tom Tromey <tromey@adacore.com>
8667
8668 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8669 2.4.
8670 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8671 workaround.
8672
bf9a735e
AB
86732019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8674
8675 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8676 tests for structs with static members.
8677
8791793c
TT
86782019-02-26 Tom Tromey <tromey@adacore.com>
8679
8680 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8681 ValueError, not TypeError.
8682
bc2a507e
KB
86832019-02-26 Kevin Buettner <kevinb@redhat.com>
8684
8685 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8686 call from main program.
8687
e0e7d3bd
JB
86882019-02-23 Joel Brobecker <brobecker@adacore.com>
8689
8690 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8691 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8692 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8693 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8694 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8695
9600246d
KS
86962019-02-22 Keith Seitz <keiths@redhat.com>
8697
8698 PR symtab/23853
8699 * gdb.base/symlink-sourcefile.c: New file.
8700 * gdb.base/symlink-sourcefile.exp: New file.
8701
0c95f9ed
TT
87022019-02-20 Tom Tromey <tom@tromey.com>
8703
8704 * gdb.base/info_qt.exp: Update.
8705
6caa91b6
SM
87062019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8707
8708 * gdb.base/source.exp: Move "error in sourced script" code to
8709 the end.
8710 * gdb.base/source-error.gdb: Move contents to
8711 source-error-1.gdb. Add new code to source source-error-1.gdb.
8712 * gdb.base/source-error-1.gdb: New file, from previous
8713 source-error.gdb.
8714
6506371f
TT
87152019-02-17 Tom Tromey <tom@tromey.com>
8716
8717 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8718 for macro styling.
8719 * gdb.base/style.c (SOME_MACRO): New macro.
8720
a0087920
TT
87212019-02-17 Tom Tromey <tom@tromey.com>
8722
8723 * gdb.base/style.exp: Add line-wrapping tests.
8724 * gdb.base/page.exp: Add test for quitting during pagination.
8725
a2cd4f14
JB
87262019-02-17 Joel Brobecker <brobecker@adacore.com>
8727
8728 * gdb.ada/big_packed_array: New testcase.
8729 * gdb.ada/homonym.exp: Fix incorrect expected output for
8730 "break <homonym__get_value>" test.
8731
9d70ffbc
WP
87322019-02-13 Weimin Pan <weimin.pan@oracle.com>
8733
8734 PR breakpoints/21870
8735 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8736 and prepare_for_testing. Add comment.
8737 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8738 redundant cleanup call. Clean up comment.
8739
01c7ae81
WP
87402019-02-12 Weimin Pan <weimin.pan@oracle.com>
8741
8742 PR breakpoints/21870
8743 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8744 * gdb.arch/aarch64-dbreg-contents.c: New file.
8745
aff29d1c
JB
87462019-02-10 Joel Brobecker <brobecker@adacore.com>
8747
8748 * gdb.ada/mi_ref_changeable: New testcase.
8749
df0da8a2
AH
87502019-02-07 Alan Hayward <alan.hayward@arm.com>
8751
8752 * gdb.base/attach.exp: Add double attach test.
8753
bd447abb
SM
87542019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8755
8756 * lib/gdb.exp (default_gdb_start): Don't match pagination
8757 prompt.
8758 (gdb_init): Set stty_init.
8759
1dbc40b9
TT
87602019-01-27 Tom Tromey <tom@tromey.com>
8761
8762 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8763 skip_python_tests.
8764
353229bf
AH
87652019-01-24 Alan Hayward <alan.hayward@arm.com>
8766
8767 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8768 New structure.
8769 (struct struct_static_02_02): Likewise.
8770 (struct struct_static_02_03): Likewise.
8771 (struct struct_static_02_04): Likewise.
8772 (struct struct_static_04_01): Likewise.
8773 (struct struct_static_04_02): Likewise.
8774 (struct struct_static_04_03): Likewise.
8775 (struct struct_static_04_04): Likewise.
8776 (struct struct_static_06_01): Likewise.
8777 (struct struct_static_06_02): Likewise.
8778 (struct struct_static_06_03): Likewise.
8779 (struct struct_static_06_04): Likewise.
8780 (cmp_struct_static_02_01): Likewise.
8781 (cmp_struct_static_02_02): Likewise.
8782 (cmp_struct_static_02_03): Likewise.
8783 (cmp_struct_static_02_04): Likewise.
8784 (cmp_struct_static_04_01): Likewise.
8785 (cmp_struct_static_04_02): Likewise.
8786 (cmp_struct_static_04_03): Likewise.
8787 (cmp_struct_static_04_04): Likewise.
8788 (cmp_struct_static_06_01): Likewise.
8789 (cmp_struct_static_06_02): Likewise.
8790 (cmp_struct_static_06_03): Likewise.
8791 (cmp_struct_static_06_04): Likewise.
8792 (call_all): Test new structs.
8793 * gdb.base/infcall-nested-structs.exp: Likewise.
8794
73021deb
AH
87952019-01-21 Alan Hayward <alan.hayward@arm.com>
8796 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8797
fc65c7db
AH
87982019-01-21 Alan Hayward <alan.hayward@arm.com>
8799 * gdb.base/stack-protector.c: New test.
8800 * gdb.base/stack-protector.exp: New file.
8801 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8802 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8803 option.
8804 (gdb_compile): Remove stack protector for GCC and prevent
8805 recursion.
8806
c24bdb02
KS
88072019-01-16 Keith Seitz <keiths@redhat.com>
8808
8809 PR gdb/23773
8810 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8811
6f072a10
PFC
88122019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8813
8814 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8815 aliases.
8816 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8817 tests.
8818 * gdb.arch/powerpc-vector-regs.c: New file.
8819 * gdb.arch/powerpc-vector-regs.exp: New file.
8820
a7b8d682
PFC
88212019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8822
8823 * gdb.arch/altivec-regs.exp: Fix the list passed to
8824 gdb_expect_list when testing "info vector".
8825
6eb6fb67
AB
88262019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8827
8828 * gdb.base/style.exp: Don't include path in testname.
8829
b56f80d8
KS
88302019-01-10 Keith Seitz <keiths@redhat.com>
8831
8832 PR gdb/23712
8833 PR symtab/23010
8834 * gdb.dwarf2/multidictionary.exp: New file.
8835
041be526
SM
88362019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8837
8838 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8839 (test_gnuv3_style_demangling): ... this.
8840 (test_lucid_style_demangling): Remove.
8841 (test_arm_style_demangling): Remove.
8842 (test_hp_style_demangling): Remove.
8843 (do_tests): Remove calls to the above.
8844
d820d0c3
AB
88452019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8846
8847 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8848 case.
8849
f097f5ad
TT
88502019-01-06 Tom Tromey <tom@tromey.com>
8851
8852 PR gdb/28155:
8853 * gdb.dwarf2/typedef-void-finish.exp: New file.
8854
2cd8cc0b
TT
88552018-12-28 Tom Tromey <tom@tromey.com>
8856 Simon Marchi <simark@simark.ca>
8857
8858 * gdb.base/jit-exec.exp: New file.
8859 * gdb.base/jit-exec.c: New file.
8860 * gdb.base/jit-execd.c: New file.
8861
35fb8261
TT
88622018-12-28 Tom Tromey <tom@tromey.com>
8863
8864 * gdb.base/style.exp: Update test to check for address styling.
8865
47fd17cd
TT
88662018-12-28 Tom Tromey <tom@tromey.com>
8867
8868 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8869 message.
8870
d47032b7
TT
88712018-12-28 Tom Tromey <tom@tromey.com>
8872
8873 * gdb.base/style.exp: Add test for version number styling.
8874
af79b68d
TT
88752018-12-28 Tom Tromey <tom@tromey.com>
8876
8877 * gdb.base/style.exp: Add test for print_address_symbolic.
8878
0bb296cb
TT
88792018-12-28 Tom Tromey <tom@tromey.com>
8880
8881 * gdb.base/style.exp: Add test for breakpoint setting.
8882
80ae2043
TT
88832018-12-28 Tom Tromey <tom@tromey.com>
8884
8885 * gdb.base/style.exp: Add test for variable names.
8886
cbe56571
TT
88872018-12-28 Tom Tromey <tom@tromey.com>
8888
8889 * gdb.base/style.exp: New file.
8890 * gdb.base/style.c: New file.
8891
9162a27c
TT
88922018-12-28 Tom Tromey <tom@tromey.com>
8893
8894 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8895 "dumb".
8896 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8897 the TERM environment variable.
8898
bc543c90
TT
88992018-12-27 Tom Tromey <tom@tromey.com>
8900
8901 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8902 pagination test.
8903
6f0ffe50
AB
89042018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8905
8906 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8907 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8908
b5a1e557
PW
89092018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8910
8911 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8912 Filename a.adb changed to bp_fun_addr.adb.
8913 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8914
6e8b1ab2
JV
89152018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8916
8917 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8918 non-PIE executables.
8919 * README: Mention the gdb,nopie_flag board setting.
8920 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8921 non-PIE executable.
8922 * gdb.arch/amd64-entry-value.exp: Likewise.
8923 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8924 * gdb.arch/i386-float.exp: Likewise.
8925 * gdb.arch/i386-signal.exp: Likewise.
8926 * gdb.mi/mi-reg-undefined.exp: Likewise.
8927
d00a27c5
PM
89282018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8929
8930 PR gdb/23974
8931 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8932
161d081c
PW
89332018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8934
8935 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8936 Update order of results accordingly.
8937
b001de23
AB
89382018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8939
8940 * gdb.base/annota1.exp: Update a test regexp.
8941
99e1a184
AB
89422018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8943
8944 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8945
7a81c1e2
PW
89462018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8947
8948 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8949 (reuse_time): Initialize to REUSE_TIME_CAP.
8950 (check_rc): New function.
8951 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8952 Check pthread_create rc.
8953 (spawner_thread_func): Check pthread_create and pthread_join rc.
8954
73e8dc90
PA
89552018-12-08 Pedro Alves <palves@redhat.com>
8956
8957 * gdb.base/list.exp (test_forward_search): Rename to ...
8958 (test_forward_reverse_search): ... this. Also test reverse-search
8959 and the forward-search alias.
8960
13f2ed32
AB
89612018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8962
8963 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8964 local timeout variable before return, and remove all local timeout
8965 variable entirely.
8966 (gdb_load): Likewise.
8967
64d27cfc
TV
89682018-12-01 Tom de Vries <tdevries@suse.de>
8969
8970 * gdb.base/gdb-caching-proc.exp: New file.
8971
f63c03b4
SDJ
89722018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8973
8974 * Makefile.in (TIMESTAMP): New variable.
8975 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8976 command.
8977 (check-single-racy): Likewise.
8978 (check/%.exp): Likewise.
8979 (check-racy/%.exp): Likewise.
8980 (workers/%.worker): Likewise.
8981 (build-perf): Likewise.
8982 (check-perf): Likewise.
8983 * README: Describe new "TS" and "TS_FORMAT" variables.
8984 * print-ts.py: New file.
8985
1c97054b
BF
89862018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8987
8988 PR python/23714
8989 * gdb.python/python.exp: Test command repetition after
8990 gdb.execute.
8991
1871a62d
AB
89922018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8993
8994 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8995 is correctly aligned.
8996
fb5e1ed9
PW
89972018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8998
8999 * gdb.ada/info_auto_lang.exp: New testcase.
9000 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9001 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9002 * gdb.ada/info_auto_lang/some_c.c: New file.
9003
43d397ca
PW
90042018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9005
9006 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9007 FUNC_lang language syntax.
9008
beddd671
PW
90092018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9010
9011 * gdb.base/info_minsym.c: New file.
9012 * gdb.base/info_minsym.exp: New file.
9013
73fc52c4
TT
90142018-11-19 Tom Tromey <tom@tromey.com>
9015
9016 PR rust/23625:
9017 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9018 * gdb.rust/expr.exp: Update expected output. Change one test.
9019
994b876a
TT
90202018-11-19 Tom Tromey <tom@tromey.com>
9021
9022 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9023
6769f276
PA
90242018-11-19 Pedro Alves <palves@redhat.com>
9025
9026 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9027 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9028 see the expected warning.
9029
38a72da0
AH
90302018-11-16 Alan Hayward <alan.hayward@arm.com>
9031
9032 PR gdb/22736:
9033 * gdb.cp/infcall-nodebug-lib.c: New test.
9034 * gdb.cp/infcall-nodebug-main.c: New test.
9035 * gdb.cp/infcall-nodebug.exp: New file.
9036
53a89d6e
SM
90372018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9038
9039 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9040 completer tests.
9041
9325300d
TV
90422018-11-09 Tom de Vries <tdevries@suse.de>
9043
9044 * gdb.base/msym-lang.c: New test.
9045 * gdb.base/msym-lang.exp: New file.
9046 * gdb.base/msym-lang-main.c: New test.
9047
20f0d60d
TT
90482018-11-08 Tom Tromey <tom@tromey.com>
9049
9050 PR gdb/23555:
9051 PR gdb/23838:
9052 * gdb.base/warning.exp: New file.
9053
b5420128
JB
90542018-11-08 Jan Beulich <jbeulich@suse.com>
9055
9056 * testsuite/gdb.arch/i386-avx512.c,
9057 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9058
cd115d61
AB
90592018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9060
9061 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9062 point hardware.
9063
35ee2dc2
AB
90642018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9065
9066 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9067 * gdb.dwarf2/missing-type-name.exp: New file.
9068
31aceee8
TV
90692018-11-06 Tom de Vries <tdevries@suse.de>
9070
9071 * gdb.base/many-headers.c: New test.
9072 * gdb.base/many-headers.exp: New file.
9073
109be305
JW
90742018-11-06 Jim Wilson <jimw@sifive.com>
9075
9076 * gdb.base/code_elim.exp: For riscv, set additional_flags
9077 to include -msmall-data-limit=0.
9078
e2b7af72
JB
90792018-11-01 Joel Brobecker <brobecker@adacore.com>
9080
9081 * gdb.ada/watch_minus_l: New testcase.
9082
cdcda965
SM
90832018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9084
9085 * gdb.arch/aix-sighandle.c: New file.
9086 * gdb.arch/aix-sighandle.exp: New file.
9087
92dcebf3
AB
90882018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9089
9090 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9091 registers being unions.
9092
68b9ac18
TV
90932018-10-31 Tom de Vries <tdevries@suse.de>
9094
9095 * lib/valgrind.exp: New file.
9096 (vgdb_start, vgdb_stop): New procs, factored out of ...
9097 * gdb.base/valgrind-bt.exp: ... here, ...
9098 * gdb.base/valgrind-disp-step.exp: ... here and ...
9099 * gdb.base/valgrind-infcall.exp: ... here.
9100
1443936e
TV
91012018-10-31 Tom de Vries <tdevries@suse.de>
9102
9103 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9104
eb77c9df
AB
91052018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9106
9107 * gdb.dwarf2/void-type.c: New file.
9108 * gdb.dwarf2/void-type.exp: New file.
9109
82b5e646
PW
91102018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9111
9112 * gdb.base/info_qt.c: New file.
9113 * gdb.base/info_qt.exp: New file.
9114
8d619c01
EBM
91152018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9116
9117 * gdb.arch/powerpc-htm-regs.c: New file.
9118 * gdb.arch/powerpc-htm-regs.exp: New file.
9119
f2cf6173
EBM
91202018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9121
9122 * gdb.arch/powerpc-tar.c: New file.
9123 * gdb.arch/powerpc-tar.exp: New file.
9124
7ca18ed6
EBM
91252018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9126
9127 * gdb.arch/powerpc-ppr-dscr.c: New file.
9128 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9129
bfcc0eba
TV
91302018-10-25 Tom de Vries <tdevries@suse.de>
9131
9132 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9133
fe1a5cad
TV
91342018-10-24 Tom de Vries <tdevries@suse.de>
9135
9136 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9137 longer exists error.
9138
a76dc3b7
TV
91392018-10-24 Tom de Vries <tdevries@suse.de>
9140
9141 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9142
4df46df7
TV
91432018-10-24 Tom de Vries <tdevries@suse.de>
9144
9145 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9146 --db-attach in valgrind.
9147
0dbfcfff
AB
91482018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9149
9150 * gdb.arch/riscv-reg-aliases.c: New file.
9151 * gdb.arch/riscv-reg-aliases.exp: New file.
9152
b04480b1
AH
91532018-10-19 Alan Hayward <alan.hayward@arm.com>
9154
9155 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9156
2c6ac8d7
AH
91572018-10-19 Alan Hayward <alan.hayward@arm.com>
9158
9159 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9160
2bc69f25
AH
91612018-10-19 Alan Hayward <alan.hayward@arm.com>
9162
9163 * gdb.cp/ovldbreak.exp: Fix regexps.
9164
1f1ae3a3
AH
91652018-10-19 Alan Hayward <alan.hayward@arm.com>
9166
9167 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9168
94c18618
SDJ
91692018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9170
9171 PR cli/23785
9172 * gdb.base/restore.exp: New test to check if "restore" with an
9173 invalid file doesn't segfault.
9174
812cd6eb
TV
91752018-10-18 Tom de Vries <tdevries@suse.de>
9176
9177 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9178 * gdb.ada/excep_handle.exp: Same.
9179 * gdb.ada/mi_string_access.exp: Same.
9180 * gdb.ada/mi_var_union.exp: Same.
9181 * gdb.arch/arc-analyze-prologue.exp: Same.
9182 * gdb.arch/arc-decode-insn.exp: Same.
9183 * gdb.base/readnever.exp: Same.
9184 * gdb.fortran/printing-types.exp: Same.
9185 * gdb.guile/scm-lazy-string.exp: Same.
9186
c4b90788
TV
91872018-10-16 Tom de Vries <tdevries@suse.de>
9188
9189 PR gdb/23730
9190 * gdb.base/catch-follow-exec.c: Add copyright notice.
9191 * gdb.base/catch-follow-exec.exp: Rewrite to use
9192 gdb_spawn_with_cmdline_opts. Require gdb-native.
9193
8bca2978
SL
91942018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9195
9196 * gdb.trace/actions-changed.exp: Check for arch support.
9197 * gdb.trace/actions.exp: Likewise.
9198 * gdb.trace/ax.exp: Likewise.
9199 * gdb.trace/backtrace.exp: Likewise.
9200 * gdb.trace/change-loc.exp: Likewise.
9201 * gdb.trace/deltrace.exp: Likewise.
9202 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9203 * gdb.trace/ftrace.exp: Likewise.
9204 * gdb.trace/infotrace.exp: Check for arch support.
9205 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9206 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9207 * gdb.trace/mi-tsv-changed.exp: Likewise.
9208 * gdb.trace/packetlen.exp: Likewise.
9209 * gdb.trace/passc-dyn.exp: Likewise.
9210 * gdb.trace/passcount.exp: Likewise.
9211 * gdb.trace/pending.exp: Likewise.
9212 * gdb.trace/range-stepping.exp: Check for shlib support.
9213 * gdb.trace/report.exp: Check for arch support.
9214 * gdb.trace/save-trace.exp: Likewise.
9215 * gdb.trace/signal.exp: Check for signal support.
9216 * gdb.trace/tfind.exp: Check for arch support.
9217 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9218 * gdb.trace/trace-common.h: Add comment.
9219 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9220 * gdb.trace/trace-enable-disable.exp: Likewise.
9221 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9222 * gdb.trace/tracecmd.exp: Check for arch support.
9223 * gdb.trace/tspeed.exp: Check for shlib and target support.
9224 * gdb.trace/tstatus.exp: Check for arch support.
9225 * gdb.trace/tsv.exp: Likewise.
9226 * gdb.trace/while-dyn.exp: Likewise.
9227 * gdb.trace/while-stepping.exp: Likewise.
9228 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9229
f9c49bff
SM
92302018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9231
9232 * gdb.trace/tspeed.exp: Remove nowarnings.
9233 (prepare_for_trace_test): Declare "global ipalib".
9234 * gdb.trace/tspeed.c: Include unistd.h.
9235 (main): Remove superfluous printf argument.
9236
d4330bde
SL
92372018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9238
9239 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9240 directory prefix on the filename.
9241
8ecfd7bd
SDJ
92422018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9243
9244 * gdb.gdb/unittest.exp: Update expected message informing that
9245 selftests have been disabled.
9246 * gdb.server/unittest.exp: Likewise.
9247
58bbcd02
TV
92482018-10-09 Tom de Vries <tdevries@suse.de>
9249
9250 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9251 with runto_main.
9252
9f6b697b
WP
92532018-10-08 Weimin Pan <weimin.pan@oracle.com>
9254
9255 PR c++/16841
9256 * gdb.cp/virtbase2.cc: New file.
9257 * gdb.cp/virtbase2.exp: New file.
9258
add5ded5
TT
92592018-10-06 Tom Tromey <tom@tromey.com>
9260
9261 PR python/19399:
9262 * gdb.python/py-inferior.exp: Add architecture test.
9263
f9e48344
TT
92642018-10-06 Tom Tromey <tom@tromey.com>
9265
9266 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9267 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9268
2a8be203
TT
92692018-10-06 Tom Tromey <tom@tromey.com>
9270
9271 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9272 of a "throw" catchpoint.
9273
e04caa70
SDJ
92742018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9275
9276 * gdb.base/info-proc.exp: Update string expected from "help info
9277 proc".
9278
5ca8c39f
TT
92792018-10-04 Tom Tromey <tom@tromey.com>
9280
9281 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9282 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9283 (test_initial_complaints, test_empty_complaints): Update.
9284 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9285
3453e7e4
TT
92862018-10-04 Tom Tromey <tom@tromey.com>
9287
9288 PR cli/19551:
9289 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9290 * lib/gdb.exp (gdb_file_cmd): Update.
9291 * gdb.stabs/weird.exp (print_weird_var): Update.
9292 * gdb.server/solib-list.exp: Update.
9293 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9294 * gdb.mi/mi-cli.exp: Update.
9295 * gdb.linespec/linespec.exp: Update.
9296 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9297 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9298 * gdb.cp/cp-relocate.exp: Update.
9299 * gdb.base/sym-file.exp: Update.
9300 * gdb.base/relocate.exp: Update.
9301 * gdb.base/readnever.exp: Update.
9302 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9303 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9304 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9305 * gdb.base/code_elim.exp: Update.
9306 * gdb.base/break-unload-file.exp (test_break): Update.
9307 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9308 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9309 Update.
9310 * gdb.base/attach.exp (do_attach_tests): Update.
9311 * gdb.base/sepdebug.exp: Update.
9312 * gdb.python/py-section-script.exp: Update.
9313
6afcf761
TT
93142018-10-04 Tom Tromey <tom@tromey.com>
9315
9316 PR cli/22234:
9317 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9318 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9319 output.
9320
fef1b293
TT
93212018-10-04 Tom Tromey <tom@tromey.com>
9322
9323 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9324 set width and height to 0.
9325 (test_command_line_attach_run): Use -quiet.
9326
ca98345e
SL
93272018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9328
9329 * lib/gdb.exp (skip_ifunc_tests): New.
9330 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9331 other compile failures.
9332 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9333
ff34e6ae
SM
93342018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9335
9336 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9337 is_amd64_regs_target.
9338
6bb8890e
AH
93392018-10-01 Alan Hayward <alan.hayward@arm.com>
9340
9341 * gdb.arch/aarch64-sighandler-regs.c: New test.
9342 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9343 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9344
224d30d3
MM
93452018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9346
9347 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9348 assembly.
9349
f67ffa6a
AB
93502018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9351
9352 * gdb.base/frame-selection.exp: New file.
9353 * gdb.base/frame-selection.c: New file.
9354
9fc3183f
AH
93552018-09-27 Alan Hayward <alan.hayward@arm.com>
9356
9357 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9358 pthread barrier.
9359 (main): Likewise.
9360
d354055e
AB
93612018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9362
9363 * gdb.base/large-frame-1.c: New file.
9364 * gdb.base/large-frame-2.c: New file.
9365 * gdb.base/large-frame.exp: New file.
9366 * gdb.base/large-frame.h: New file.
9367
db727370
JL
93682018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9369
9370 PR gdb/20948
9371 * gdb.base/write_mem.exp: New test.
9372 * gdb.base/write_mem.c: Likewise.
9373
ae778caf
TT
93742018-09-23 Tom Tromey <tom@tromey.com>
9375
9376 PR python/18852:
9377 * gdb.python/py-parameter.exp: Add test for parameter that throws
9378 on "set".
9379
fd3ba736
TT
93802018-09-23 Tom Tromey <tom@tromey.com>
9381
9382 PR python/17284:
9383 * gdb.python/py-template.exp (test_template_arg): Add test for
9384 negative template argument number.
9385
39a24317
TT
93862018-09-23 Tom Tromey <tom@tromey.com>
9387
9388 PR python/14062:
9389 * gdb.python/python.exp: Add test for post_event error.
9390
f5769a2c
TT
93912018-09-23 Tom Tromey <tom@tromey.com>
9392
9393 PR python/18170:
9394 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9395 convert pointers to int and long.
9396
1c1e54f6
TT
93972018-09-23 Tom Tromey <tom@tromey.com>
9398
9399 PR python/20126:
9400 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9401 signed-ness conversion tests.
9402
fb4fa946
TT
94032018-09-23 Tom Tromey <tom@tromey.com>
9404
9405 PR python/18352;
9406 * gdb.python/py-value.exp (test_float_conversion): New proc.
9407 Use it.
9408
a466edac
HAQ
94092018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9410
9411 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9412
4ee9b0c5
SL
94132018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9414
9415 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9416 no readline.
9417 * gdb.base/utf8-identifiers.exp: Likewise.
9418 * gdb.cp/cpcompletion.exp: Likewise.
9419 * gdb.linespec/cpcompletion.exp: Likewise.
9420 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9421 * gdb.linespec/cpls-ops.exp: Likewise.
9422
23be8da7
RB
94232018-09-19 Richard Bunt <richard.bunt@arm.com>
9424 Chris January <chris.january@arm.com>
9425
9426 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9427 * gdb.fortran/short-circuit-argument-list.exp: New file.
9428 * gdb.fortran/short-circuit-argument-list.f90: New test.
9429
5031d0ae
SDJ
94302018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9431
9432 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9433 "arch=" keyword when executing "-stack-list-frames".
9434
b4c0d1a4
SDJ
94352018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9436
9437 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9438 "arch=" keyword when executing "-stack-list-frames".
9439
7a6d2b45
SDJ
94402018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9441
9442 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9443 break ada".
9444
8588b356
SM
94452018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9446
9447 PR python/23669
9448 * gdb.python/python.exp: Test gdb.execute("show commands").
9449
65e65158
TT
94502018-09-16 Tom Tromey <tom@tromey.com>
9451
9452 * gdb.base/new-ui.exp (do_execution_tests): Update.
9453 * gdb.base/dbx.exp (test_breakpoints): Update.
9454
bf326452
AH
94552018-09-14 Alan Hayward <alan.hayward@arm.com>
9456
9457 * lib/gdb.exp (gdb_simple_compile): Add proc.
9458 (is_elf_target): Use gdb_simple_compile.
9459 (skip_altivec_tests): Likewise.
9460 (skip_vsx_tests): Likewise.
9461 (skip_tsx_tests): Likewise.
9462 (skip_btrace_tests): Likewise.
9463 (skip_btrace_pt_tests): Likewise.
9464 (gdb_can_simple_compile): Likewise.
9465 (gdb_has_argv0): Likewise.
9466 (gdb_target_symbol_prefix): Likewise.
9467 (target_supports_scheduler_locking): Likewise.
9468
2361b0fb
TT
94692018-09-13 Tom Tromey <tom@tromey.com>
9470
9471 * Makefile.in (TAGS): Recognize proc_with_prefix and
9472 gdb_caching_proc.
9473
0ae1a321
SM
94742018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9475
9476 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9477 method.
9478
a40bf0c2
SM
94792018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9480
9481 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9482 and a few other Inferior properties when the Inferior is no
9483 longer valid.
9484
4a3fe98f
TT
94852018-09-13 Tom Tromey <tom@tromey.com>
9486
9487 PR rust/23650:
9488 * gdb.rust/simple.exp: Add test for enum field access error.
9489
098b2108
TT
94902018-09-13 Tom Tromey <tom@tromey.com>
9491
9492 PR rust/23626:
9493 * gdb.rust/simple.rs (EmptyEnum): New type.
9494 (main): Use it.
9495 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9496
1256af7d
SM
94972018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9498
9499 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9500 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9501 * gdb.python/py-symtab.exp: Update test printing an objfile.
9502
4aa8e6c2
SM
95032018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9504
9505 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9506 object.
9507
c221b2f7
AH
95082018-09-12 Alan Hayward <alan.hayward@arm.com>
9509
9510 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9511 (support_complex_tests): Use gdb_can_simple_compile.
9512 (is_ilp32_target): Likewise.
9513 (is_lp64_target): Likewise.
9514 (is_64_target): Likewise.
9515 (is_amd64_regs_target): Likewise.
9516 (is_aarch32_target): Likewise.
9517 (gdb_int128_helper): Likewise.
9518
6f1107b5
JK
95192018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9520
9521 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9522
1f5d1570
JG
95232018-09-10 Jerome Guitton <guitton@adacore.com>
9524
9525 * gdb.ada/same_component_name: Add test for case of tagged record
9526 with variable-length fields.
9527
cc330e39
XR
95282018-09-10 Xavier Roirand <roirand@adacore.com>
9529
9530 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9531 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9532 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9533 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9534
b9c50e9a
XR
95352018-09-10 Xavier Roirand <roirand@adacore.com>
9536
9537 * gdb.ada/mi_string_access.exp: New testcase.
9538 * gdb.ada/mi_string_access/bar.adb: New file.
9539 * gdb.ada/mi_string_access/pck.adb: New file.
9540 * gdb.ada/mi_string_access/pck.asd: New file.
9541
2963898f
XR
95422018-09-10 Xavier Roirand <roirand@adacore.com>
9543
9544 * gdb.ada/mi_var_union.exp: New testcase.
9545 * gdb.ada/mi_var_union/bar.adb: New file.
9546 * gdb.ada/mi_var_union/pck.adb: New file.
9547 * gdb.ada/mi_var_union/pck.asd: New file.
9548
1aac008f
TT
95492018-09-08 Tom Tromey <tom@tromey.com>
9550
9551 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9552
332cf4c9
TT
95532018-09-08 Tom Tromey <tom@tromey.com>
9554
9555 PR python/16047:
9556 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9557 (register_pretty_printers): Register new printer.
9558 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9559 test.
9560 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9561 (an_int_type3): New global.
9562
424da6cf
JB
95632018-09-08 Joel Brobecker <brobecker@adacore.com>
9564
9565 * gdb.ada/expr_with_funcall: New testcase.
9566
2a62dfa9
JB
95672018-09-08 Joel Brobecker <brobecker@adacore.com>
9568
9569 * gdb.ada/packed_array_assign: New testcase.
9570
96b6697f
AB
95712018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9572
9573 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9574 names, and add test prefixes to make test names unique.
9575
e4a62c65
TV
95762018-09-05 Tom de Vries <tdevries@suse.de>
9577
9578 * gdb.dwarf2/varval.exp: Add test.
9579
dd083ee2
GB
95802018-09-04 Gary Benson <gbenson@redhat.com>
9581
9582 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9583 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9584
aef9346c
TT
95852018-08-31 Tom Tromey <tom@tromey.com>
9586
9587 * gdb.rust/simple.rs: Rename second variable "v".
9588
c67f2e15
AB
95892018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9590
9591 * gdb.base/funcargs.c (use_a): New function.
9592 (recurse): Call use_a.
9593
078a0207
KS
95942018-08-29 Keith Seitz <keiths@redhat.com>
9595
9596 * gdb.compile/compile-cplus-anonymous.cc: New file.
9597 * gdb.compile/compile-cplus-anonymous.exp: New file.
9598 * gdb.compile/compile-cplus-array-decay.cc: New file.
9599 * gdb.compile/compile-cplus-array-decay.exp: New file.
9600 * gdb.compile/compile-cplus-inherit.cc: New file.
9601 * gdb.compile/compile-cplus-inherit.exp: New file.
9602 * gdb.compile/compile-cplus-member.cc: New file.
9603 * gdb.compile/compile-cplus-member.exp: New file.
9604 * gdb.compile/compile-cplus-method.cc: New file.
9605 * gdb.compile/compile-cplus-method.exp: New file.
9606 * gdb.compile/compile-cplus-mod.c: "New" file.
9607 * gdb.compile/compile-cplus-namespace.cc: New file.
9608 * gdb.compile/compile-cplus-namespace.exp: New file.
9609 * gdb.compile/compile-cplus-nested.cc: New file.
9610 * gdb.compile/compile-cplus-nested.exp: New file.
9611 * gdb.compile/compile-cplus-print.c: "New" file.
9612 * gdb.compile/compile-cplus-print.exp: "New" file.
9613 * gdb.compile/compile-cplus-virtual.cc: New file.
9614 * gdb.compile/compile-cplus-virtual.exp: New file.
9615 * gdb.compile/compile-cplus.c: "New" file.
9616 * gdb.compile/compile-cplus.exp: "New" file.
9617 * lib/compile-support.exp: New file.
9618
b0f492b9
GB
96192018-08-16 Gary Benson <gbenson@redhat.com>
9620
9621 PR gdb/13000:
9622 * gdb.base/batch-exit-status.exp: New file.
9623 * gdb.base/batch-exit-status.good-commands: Likewise.
9624 * gdb.base/batch-exit-status.bad-commands: Likewise.
9625
36eb4c5f
AH
96262018-08-29 Alan Hayward <alan.hayward@arm.com>
9627
9628 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9629 (struct struct02): Likewise.
9630 (struct struct03): Likewise.
9631 (struct struct04): Likewise.
9632 (struct struct_01_01): New struct.
9633 (struct struct_01_02): Likewise.
9634 (struct struct_01_03): Likewise.
9635 (struct struct_01_04): Likewise.
9636 (struct struct_02_01): Likewise.
9637 (struct struct_02_02): Likewise.
9638 (struct struct_02_03): Likewise.
9639 (struct struct_02_04): Likewise.
9640 (struct struct_04_01): Likewise.
9641 (struct struct_04_02): Likewise.
9642 (struct struct_04_03): Likewise.
9643 (struct struct_04_04): Likewise.
9644 (struct struct_05_01): Likewise.
9645 (struct struct_05_02): Likewise.
9646 (struct struct_05_03): Likewise.
9647 (struct struct_05_04): Likewise.
9648 (cmp_struct01): Remove function.
9649 (cmp_struct02): Likewise.
9650 (cmp_struct03): Likewise.
9651 (cmp_struct04): Likewise.
9652 (cmp_struct_01_01): Add Function.
9653 (cmp_struct_01_02): Likewise.
9654 (cmp_struct_01_03): Likewise.
9655 (cmp_struct_01_04): Likewise.
9656 (cmp_struct_02_01): Likewise.
9657 (cmp_struct_02_02): Likewise.
9658 (cmp_struct_02_03): Likewise.
9659 (cmp_struct_02_04): Likewise.
9660 (cmp_struct_04_01): Likewise.
9661 (cmp_struct_04_02): Likewise.
9662 (cmp_struct_04_03): Likewise.
9663 (cmp_struct_04_04): Likewise.
9664 (cmp_struct_05_01): Likewise.
9665 (cmp_struct_05_02): Likewise.
9666 (cmp_struct_05_03): Likewise.
9667 (cmp_struct_05_04): Likewise.
9668 (call_all): Add new structs.
9669 * gdb.base/infcall-nested-structs.exp: Likewise.
9670
3bf9c013
JV
96712018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9672
9673 * gdb.python/py-framefilter-mi.exp: Update regexp to
9674 check for "arch" field in frame output.
9675
450d1e88
KB
96762018-08-23 Kevin Buettner <kevinb@redhat.com>
9677
9678 * gdb.dwarf2/dw2-ranges-func.c: New file.
9679 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9680
ae739fe7
SM
96812018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9682
9683 * gdb.base/term.exp: Compare terminal settings with values from
9684 the inferior.
9685 * gdb.base/term.c: Get and set terminal settings.
9686
6d52907e
JV
96872018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9688
9689 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9690 accommodate new "arch" field in frame output.
9691 * gdb.mi/mi-return.exp: Likewise.
9692 * gdb.mi/mi-stack.exp: Likewise.
9693 * gdb.mi/mi-syn-frame.exp: Likewise.
9694 * gdb.mi/user-selected-context-sync.exp: Likewise.
9695
be2d111a
MS
96962018-08-19 Michael Spang <spang@google.com>
9697
9698 PR gdb/11786
9699 * gdb.base/gcore-tls-pie.c: New file.
9700 * gdb.base/gcore-tls-pie.exp: New file.
9701
ae3a7c47
KB
97022018-08-18 Kevin Buettner <kevinb@redhat.com>
9703
9704 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9705 * gdb.dwarf2/varval.c: New file.
9706 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9707
2ecae92e
AH
97082018-08-17 Alan Hayward <alan.hayward@arm.com>
9709
9710 PR gdb/18931
9711 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9712
c1854f1d
KS
97132018-08-16 Keith Seitz <keiths@redhat.com>
9714
9715 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9716 tests expected to pass.
9717
26fb3983
JV
97182018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9719
9720 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9721 -data-disassemble -a.
9722 (test_disassembly_bogus_args): Likewise.
9723
67943c00
AB
97242018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9725
9726 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9727
5ff2bbae
AB
97282018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9729
9730 * gdb.base/vla-optimized-out.exp: Add new test.
9731
e5bbcd0f
AB
97322018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9733
9734 * gdb.base/vla-optimized-out-o3.exp: Delete.
9735 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9736 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9737 deleted tests.
9738
9d4a934c
AB
97392018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9740
9741 PR gdb/18050:
9742 * gdb.server/extended-remote-restart.c: New file.
9743 * gdb.server/extended-remote-restart.exp: New file.
9744
045cf012
SM
97452018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9746
9747 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9748 "set variable index = 42".
9749
87d6a7aa
SM
97502018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9751
9752 * boards/index-cache-gdb.exp: New file.
9753 * gdb.dwarf2/index-cache.exp: New file.
9754 * gdb.dwarf2/index-cache.c: New file.
9755 * gdb.base/maint.exp: Check if we are using the index cache.
9756
96d68bd4
RO
97572018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9758
9759 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9760 MAKEFLAGS.
9761
5a699617
RO
97622018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9763
9764 * dg-extract-results.sh: Move to toplevel contrib.
9765 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9766 * Makefile.in (check-parallel-racy): Likewise.
9767
5bd18990
AB
97682018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9769
9770 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9771 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9772 tests if the target supports scheduler locking.
9773
3fbbcf47
TV
97742018-08-04 Tom de Vries <tdevries@suse.de>
9775
9776 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9777
3e1d3d8c
TT
97782018-08-02 Tom Tromey <tom@tromey.com>
9779
9780 PR symtab/16842.
9781 * gdb.cp/temargs.exp: Test "info address" of a template
9782 parameter.
9783
5abe0f0c
JV
97842018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9785
9786 * gdb.python/py-mi-var-info-path-expression.c: New file.
9787 * gdb.python/py-mi-var-info-path-expression.py: New file.
9788 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9789
fb66cde8
SDJ
97902018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9791
9792 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9793 error after "cannot resolve name" string.
9794
c708f4d2
AB
97952018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9796
9797 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9798 started.
9799 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9800
37cc0cae
TV
98012018-07-28 Tom de Vries <tdevries@suse.de>
9802
9803 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9804
63b4ecf7
TV
98052018-07-26 Tom de Vries <tdevries@suse.de>
9806
9807 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9808
3c3bb058
AB
98092018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9810
9811 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9812 is visible.
9813
9e7f3bbb
TV
98142018-07-26 Tom de Vries <tdevries@suse.de>
9815
9816 PR breakpoints/23366
9817 * gdb.base/catch-follow-exec.c: New test.
9818 * gdb.base/catch-follow-exec.exp: New file.
9819
16f808ec
TV
98202018-07-25 Tom de Vries <tdevries@suse.de>
9821
9822 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9823 vla-optimized-out.c.
9824
d7154a8d
JV
98252018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9826
9827 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9828 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9829
232a0032
TV
98302018-07-20 Tom de Vries <tdevries@suse.de>
9831
9832 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9833 NOCLONE macro.
9834 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9835
fbb1d502
TV
98362018-07-19 Tom de Vries <tdevries@suse.de>
9837
9838 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9839 regular expression.
9840
42dc7699
TV
98412018-07-18 Tom de Vries <tdevries@suse.de>
9842
9843 * gdb.base/vla-optimized-out.c: New test.
9844 * gdb.base/vla-optimized-out.exp: New file.
9845
7f1f7e23
SDJ
98462018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9847
9848 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9849 message "No address associated with hostname" when gdbserver
9850 cannot resolve the hostname.
9851
5759ebb3
PW
98522018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9853
9854 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9855 Add some test prefixes to make tests unique.
9856
3606ccab
PW
98572018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9858
9859 * gdb.base/frameapply.c: New file.
9860 * gdb.base/frameapply.exp: New file.
9861
529c08b2
PW
98622018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9863
9864 * gdb.base/skip.exp: Update expected error message.
9865
c7ab0aef
SDJ
98662018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9867 Jan Kratochvil <jan.kratochvil@redhat.com>
9868 Paul Fertser <fercerpav@gmail.com>
9869 Tsutomu Seki <sekiriki@gmail.com>
9870
9871 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9872 parameter.
9873 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9874 by default.
9875 * boards/native-gdbserver.exp: Likewise.
9876 * gdb.server/run-without-local-binary.exp: Improve regexp used
9877 for detecting when a remote debugging connection succeeds.
9878 * gdb.server/server-connect.exp: New file.
9879 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9880 Do not prefix the port number with ":".
9881 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9882 support for detecting and using it. Add '$debughost_gdbserver'
9883 to the list of arguments used to start gdbserver. Handle case
9884 when gdbserver cannot resolve a network name.
9885
16ff70dd
SDJ
98862018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9887
9888 PR c++/23373
9889 * gdb.base/ptype-offsets.cc (struct static_member): New
9890 struct.
9891 (main) <stmember>: New variable.
9892 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9893 with a static member in it.
9894
3541979f
AB
98952018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9896
9897 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9898 watchpoints enabled and disabled.
9899
c8ad9b9a
AB
99002018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9901
9902 * gdb.base/examine-backward.exp: Still run tests around address
9903 0x0, even if address 0x0 is not readable. Update the pattern for
9904 matching address 0x0 in expected output.
9905
e0e5e971
AB
99062018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9907
9908 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9909 malloc/free.
9910
1ea5da02
TV
99112018-07-04 Tom de Vries <tdevries@suse.de>
9912
9913 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9914
471b9d15
MR
99152018-07-02 Maciej W. Rozycki <macro@mips.com>
9916
9917 PR tdep/8282
9918 * gdb.arch/mips-disassembler-options.exp: New test.
9919 * gdb.arch/mips-disassembler-options.s: New test source.
9920
75acb486
PA
99212018-06-29 Pedro Alves <palves@redhat.com>
9922
9923 * gdb.threads/names.exp: Adjust expected "info threads" output.
9924
cd2bb709
PA
99252018-06-29 Pedro Alves <palves@redhat.com>
9926
9927 * gdb.opt/inline-break.exp (line number, address): Add "info
9928 break" tests.
9929
991ff292
PA
99302018-06-29 Pedro Alves <palves@redhat.com>
9931
9932 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9933 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9934 number and address and running to them.
9935
356819b6 99362018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9937
9938 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9939
2512d7ef
JK
99402018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9941
9942 * lib/compiler.c: Remove executable permission flag.
9943
be1b6474
RB
99442018-06-28 Richard Bunt <richard.bunt@arm.com>
9945
9946 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9947 code.
9948 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9949
291f9a96
PT
99502018-06-28 Petr Tesarik <ptesarik@suse.cz>
9951
9952 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9953
ed6dfe51
PT
99542018-06-28 Petr Tesarik <ptesarik@suse.cz>
9955
9956 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9957 address argument is omitted.
9958
d4d429d5
PT
99592018-06-28 Petr Tesarik <ptesarik@suse.cz>
9960
9961 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9962
7ab6656f
OJ
99632018-06-27 Omair Javaid <omair.javaid@linaro.org>
9964
9965 PR gdb/21695
9966 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9967 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9968
a33ccfc7
TT
99692018-06-26 Tom Tromey <tom@tromey.com>
9970
9971 PR rust/22574:
9972 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9973 * gdb.rust/simple.rs (struct SimpleLayout): New.
9974
6d72d289
SM
99752018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9976
9977 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9978 "info registers" output.
9979
8363f9d5
RB
99802018-06-21 Richard Bunt <richard.bunt@arm.com>
9981
9982 * gdb.base/watchpoint-hw-attach.c: New test.
9983 * gdb.base/watchpoint-hw-attach.exp: New file.
9984
f00674fe
SM
99852018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9986
9987 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9988 through /bin/sh.
9989 * boards/dwarf4-gdb-index.exp: Likewise.
9990 * boards/fission-dwp.exp: Likewise.
9991
1d554008
UW
99922018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9993
9994 * gdb.base/float128.exp: Add comment and improved fail message
9995 to the failure case of "print large128" test.
9996
d0ac1c44
SM
99972018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9998
9999 * configure.ac: Remove AC_PREREQ.
10000 * configure: Re-generate.
10001
61b04dd0
PA
100022018-06-19 Pedro Alves <palves@redhat.com>
10003
10004 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10005 (func_extern_caller): New.
10006 (main): Call func_extern_caller.
10007 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10008 logic change.
10009
f63b508a
SM
100102018-06-18 Weimin Pan <weimin.pan@oracle.com>
10011
10012 PR gdb/16841
10013 * gdb.cp/typedef-base.cc: New file.
10014 * gdb.cp/typedef-base.exp: New file.
10015
0fe3a558
TV
100162018-06-18 Tom de Vries <tdevries@suse.de>
10017
10018 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10019
7010835a
AB
100202018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10021 Richard Bunt <Richard.Bunt@arm.com>
10022
10023 * gdb.threads/attach-slow-waitpid.c: New file.
10024 * gdb.threads/attach-slow-waitpid.exp: New file.
10025 * gdb.threads/slow-waitpid.c: New file.
10026
14897d65
PA
100272018-06-14 Pedro Alves <palves@redhat.com>
10028
10029 * gdb.base/fork-running-state.c: Include <errno.h>.
10030 (exit_if_relative_exits): New.
10031 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10032 exits.
10033 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10034 child exits.
10035
5d9a0608
TV
100362018-06-14 Tom de Vries <tdevries@suse.de>
10037
10038 PR cli/22573
10039 * gdb.base/finish-pretty.c: New test.
10040 * gdb.base/finish-pretty.exp: New file.
10041
11ae5818
PA
100422018-06-14 Pedro Alves <palves@redhat.com>
10043
10044 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10045 gdb's expected startup output.
10046
1d39de44
PA
100472018-06-14 Pedro Alves <palves@redhat.com>
10048
10049 * lib/selftest-support.exp (selftest_setup): Remove inlined
10050 function handling.
10051
70ee0000
TV
100522018-06-14 Tom de Vries <tdevries@suse.de>
10053
10054 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10055 matching of breakpoint printing.
10056
11f4b608
TV
100572018-06-13 Tom de Vries <tdevries@suse.de>
10058
10059 PR testsuite/23269
10060 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10061 (fork_child): ... here, and ...
10062 (fork_parent): ... here.
10063
100642018-06-12 Tom de Vries <tdevries@suse.de>
10065
10066 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10067
9516f85a
AB
100682018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10069 Stephen Roberts <stephen.roberts@arm.com>
10070
10071 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10072 rewrite test to describe action performed, rather than possible
10073 failure.
10074
5045b3d7
GB
100752018-06-08 Gary Benson <gbenson@redhat.com>
10076
10077 * gdb.threads/check-libthread-db.exp: New file.
10078 * gdb.threads/check-libthread-db.c: Likewise.
10079
c61b06a1
TT
100802018-06-05 Tom Tromey <tom@tromey.com>
10081
10082 * gdb.base/default.exp: Update expected "show version" output.
10083
eb6af809
TT
100842018-06-05 Tom Tromey <tom@tromey.com>
10085
10086 PR cli/12326:
10087 * gdb.cp/static-print-quit.exp: Update.
10088 * lib/gdb.exp (pagination_prompt): Update.
10089 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10090 * gdb.python/python.exp: Update.
10091
178d6a63
JB
100922018-06-04 Joel Brobecker <brobecker@adacore.com>
10093
10094 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10095
8e817061
JB
100962018-06-01 Joel Brobecker <brobecker@adacore.com>
10097
10098 * gdb.ada/bp_fun_addr: New testcase.
10099
e86ca25f
TT
101002018-06-01 Tom Tromey <tom@tromey.com>
10101
10102 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10103 results.
10104 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10105 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10106 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10107 * gdb.base/maint.exp (maint_pass_if): Update.
10108
4b2dfa9d
MR
101092018-05-31 Maciej W. Rozycki <macro@mips.com>
10110
10111 * gdb.base/endian.exp: New test.
10112 * gdb.base/endian.c: New test source.
10113
45f25d6c
AB
101142018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10115
10116 PR gdb/23203
10117 * gdb.base/bt-selected-frame.c: New file.
10118 * gdb.base/bt-selected-frame.exp: New file.
10119 * lib/gdb.exp (get_current_frame_number): New function.
10120
d9f6d7f8
MR
101212018-05-24 Maciej W. Rozycki <macro@mips.com>
10122 Pedro Alves <palves@redhat.com>
10123
10124 * gdb.threads/tls-core.c: Include <stdlib.h>
10125 (thread_proc): Call `abort'.
10126 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10127 (tls_core_test): New procedure, bits factored out from ...
10128 (top level): ... here. Test both native cores and gcore cores.
10129
ff1cf532
TT
101302018-05-23 Tom Tromey <tom@tromey.com>
10131
10132 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10133
b98664d3
TT
101342018-05-23 Tom Tromey <tom@tromey.com>
10135
10136 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10137 symfile_complaints.
10138 (test_short_complaints): Likewise.
10139 (test_empty_complaints): Likewise.
10140 (test_initial_complaints): Update.
10141
4e9668d0
TT
101422018-05-23 Tom Tromey <tom@tromey.com>
10143
10144 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10145
43ba33c7
TT
101462018-05-23 Tom Tromey <tom@tromey.com>
10147
10148 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10149 (test_short_complaints): Update.
10150
035522c0
PA
101512018-05-22 Pedro Alves <palves@redhat.com>
10152
10153 * gdb.base/remote.exp: Only gdb_start after compiling the
10154 testcase. Issue "disconnect" before testing "set remote" command
10155 defaults. Issue clean_restart before running to main.
10156
cc0be08f
PA
101572018-05-22 Pedro Alves <palves@redhat.com>
10158
10159 * gdb.base/remote.exp: Adjust expected output of "show remote
10160 memory-write-packet-size". Add tests for "set remote
10161 memory-write-packet-size 0" and "set remote
10162 memory-write-packet-size fixed/limit".
10163
b1b60145
PA
101642018-05-22 Pedro Alves <palves@redhat.com>
10165
10166 PR gdb/22973
10167 * gdb.base/utf8-identifiers.c: New file.
10168 * gdb.base/utf8-identifiers.exp: New file.
10169
0ec848ad
PFC
101702018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10171
10172 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10173
2c3305f6
PFC
101742018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10175
10176 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10177
ce1e8424
TT
101782018-05-18 Tom Tromey <tom@tromey.com>
10179
10180 * gdb.base/ptype-offsets.exp: Update.
10181
ddfe970e
KS
101822018-05-17 Keith Seitz <keiths@redhat.com>
10183
10184 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10185 in expected breakpoint stop locations.
10186 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10187 move to proper scope to test variable values.
10188 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10189 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10190 New functions.
10191 (main): Call not_inline_func3.
10192 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10193 inline_func1, inline_func2, and inline_func3. Test that when each
10194 breakpoint is hit, GDB properly reports both the stop location
10195 and the backtrace. Repeat tests for temporary breakpoints.
10196
0726fcc6
MR
101972018-05-15 Maciej W. Rozycki <macro@mips.com>
10198
10199 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10200 rather then trying to access it in determining whether the PID
10201 of `gdbserver' could have been retrieved.
10202
8ee22052
AB
102032018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10204
10205 * gdb.arch/amd64-init-x87-values.S: New file.
10206 * gdb.arch/amd64-init-x87-values.exp: New file.
10207
7785df48
JK
102082018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10209
10210 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10211
56bcdbea
TT
102122018-05-04 Tom Tromey <tom@tromey.com>
10213
10214 PR python/22730:
10215 * gdb.python/python.exp: Test multi-line execute.
10216
a913fffb
TT
102172018-05-04 Tom Tromey <tom@tromey.com>
10218
10219 PR python/22731:
10220 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10221
7a2c85f2
TT
102222018-05-04 Tom Tromey <tom@tromey.com>
10223
10224 PR gdb/11750:
10225 * gdb.base/define.exp: Test defining a user command inside a user
10226 command.
10227 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10228
a3b60e45
JK
102292018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10230 Pedro Alves <palves@redhat.com>
10231
10232 PR breakpoints/19806 and support for PR external/20207.
10233 * gdb.base/watchpoint-unaligned.c: New file.
10234 * gdb.base/watchpoint-unaligned.exp: New file.
10235
45fe4a03
AB
102362018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10237
10238 * gdb.base/maint.exp: Make test names unique, use
10239 test_prefix_command_help to test 'help maint info', and remove
10240 repeated test of 'help maint'.
10241
9be2ae8f
TT
102422018-05-04 Tom Tromey <tom@tromey.com>
10243
10244 PR gdb/22619:
10245 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10246 behavior.
10247
11859c31
AB
102482018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10249
10250 * gdb.base/maint.exp: Process output from 'maint print registers'
10251 line at a time.
10252
089a9490
AB
102532018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10254
10255 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10256 timeout.
10257
9b0797e2
AB
102582018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10259
10260 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10261 filter pattern.
10262
f6ac5f3d
PA
102632018-05-02 Pedro Alves <palves@redhat.com>
10264
10265 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10266 to_log_command renames.
10267 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10268
77d3c63b
TT
102692018-05-02 Tom Tromey <tom@tromey.com>
10270
10271 * gdb.python/py-parameter.exp: Set test message.
10272
0489430a
TT
102732018-05-02 Tom Tromey <tom@tromey.com>
10274
10275 PR python/20084:
10276 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10277 PARAM_ZUINTEGER_UNLIMITED tests.
10278
1632f8ba
DR
102792018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10280
10281 PR rust/23124
10282 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10283 when casting.
10284
6d7bb824
TT
102852018-04-30 Tom Tromey <tom@tromey.com>
10286
10287 * gdb.python/py-type.exp: Check align attribute.
10288 * gdb.python/py-type.c: New "aligncheck" global.
10289
007e1530
TT
102902018-04-30 Tom Tromey <tom@tromey.com>
10291
10292 PR exp/17095:
10293 * gdb.dwarf2/dw2-align.exp: New file.
10294 * gdb.cp/align.exp: New file.
10295 * gdb.base/align.exp: New file.
10296 * lib/gdb.exp (gdb_int128_helper): New proc.
10297 (has_int128_c, has_int128_cxx): New caching procs.
10298
6873858b
TT
102992018-04-27 Tom Tromey <tom@tromey.com>
10300
10301 PR rust/22545:
10302 * gdb.rust/simple.exp: Add inclusive range tests.
10303
79188d8d
PA
103042018-04-26 Pedro Alves <palves@redhat.com>
10305
10306 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10307 ifunc breakpoint locations correctly of ifunc breakpoints set
10308 while the program resolves the ifunc.
10309
c7075ad5
PA
103102018-04-26 Pedro Alves <palves@redhat.com>
10311
10312 * gdb.base/gnu-ifunc-final.c: New file.
10313 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10314 * gdb.base/gnu-ifunc.exp (executable): Delete.
10315 (staticexecutable): Adjust.
10316 (lib_opts, exec_opts): Delete.
10317 (make_binsuffix, build, set-break): New procedures.
10318 (misc_tests): New, with tests factored out from the top level.
10319 (top level): Test different combinations of ifunc resolver name,
10320 resolver with and with debug info, and ifunc target with and
10321 without debug info. Wrap static tests with with_target_prefix.
10322
8388016d
PA
103232018-04-26 Pedro Alves <palves@redhat.com>
10324
10325 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10326 return type" warnings.
10327
249b5733
PA
103282018-04-25 Pedro Alves <palves@redhat.com>
10329
10330 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10331 killed".
10332 * gdb.base/kill-after-signal.exp: Likewise.
10333 * gdb.threads/kill.exp: Likewise.
10334
f67c0c91
SDJ
103352018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10336 Sergio Durigan Junior <sergiodj@redhat.com>
10337 Pedro Alves <palves@redhat.com>
10338
10339 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10340 regexps to expect for '[Inferior ... detached]' as well.
10341 * gdb.base/attach.exp: Likewise.
10342 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10343 "gdb_continue_to_end".
10344 (test_catch_syscall_with_wrong_args): Likewise.
10345 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10346 ']'. Don't set 'verbose' on.
10347 * gdb.base/foll-vfork.exp: Likewise.
10348 * gdb.base/fork-print-inferior-events.c: New file.
10349 * gdb.base/fork-print-inferior-events.exp: New file.
10350 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10351 '[Inferior ... has been killed]' message.
10352 * gdb.base/kill-after-signal.exp: Likewise.
10353 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10354 detach message.
10355 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10356 message.
10357 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10358 regexps to expect for '[Inferior ... detached]' as well.
10359 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10360
0a8ddac4
SM
103612018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10362
10363 PR gdb/23104
10364 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10365
701adfb0
PA
103662018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10367
10368 PR gdb/23095
10369 * gdb.base/break-probes.exp: Pass shlib_load to
10370 prepare_for_testing. Set normal_bp to r_debug_state if target is
10371 bsd.
10372
d27d16bf
RB
103732018-04-19 Richard Bunt <richard.bunt@arm.com>
10374
10375 * gdb.threads/multiple-successive-infcall.c: New test.
10376 * gdb.threads/multiple-successive-infcall.exp: New file.
10377
a037790e
TT
103782018-04-17 Tom Tromey <tom@tromey.com>
10379
10380 * gdb.rust/simple.rs (Union): New type.
10381 (main): New local "u".
10382 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10383
e3a91079
AA
103842018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10385
10386 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10387 number information in output of "whereis" command.
10388 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10389
b744723f
AA
103902018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10391
10392 * gdb.ada/info_types.exp: Adjust expected output to the line
10393 numbers now printed by "info var/func/type".
10394 * gdb.base/completion.exp: Likewise.
10395 * gdb.base/included.exp: Likewise.
10396 * gdb.cp/cp-relocate.exp: Likewise.
10397 * gdb.cp/cplusfuncs.exp: Likewise.
10398 * gdb.cp/namespace.exp: Likewise.
10399 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10400
4a4495d6
MM
104012018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10402
10403 * gdb.btrace/cpu.exp: New.
10404
1d509aa6
MM
104052018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10406
10407 * gdb.base/step-indirect-call-thunk.exp: New.
10408 * gdb.base/step-indirect-call-thunk.c: New.
10409 * gdb.reverse/step-indirect-call-thunk.exp: New.
10410 * gdb.reverse/step-indirect-call-thunk.c: New.
10411
6295b6da
SM
104122018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10413
10414 * gdb.base/pie-fork.c: New file.
10415 * gdb.base/pie-fork.exp: New file.
10416
50146e70
TT
104172018-04-11 Tom Tromey <tom@tromey.com>
10418
10419 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10420
f50d8a2e
PA
104212018-04-10 Pedro Alves <palves@redhat.com>
10422
10423 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10424 exits. Instead loop running forever.
10425 (fork_parent): Run forever too.
10426
a0be7a36
SM
104272018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10428
10429 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10430 mi_continue_to_line.
10431 * gdb.mi/mi-stack.c (callee4): Add comment.
10432
9b73db36
SM
104332018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10434
10435 * gdb.mi/mi-stack.exp: Fix indentation.
10436
c912f608
SM
104372018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10438
10439 PR gdb/22979
10440 * gdb.arch/amd64-osabi.exp: New file.
10441
26540402
SM
104422018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10443
10444 PR gdb/22980
10445 * gdb.base/osabi.exp: New file.
10446
121ad66c 104472018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10448
10449 * gdb.cp/static-typedef-print.exp: New file.
10450 * gdb.cp/static-typedef-print.cc: New file.
10451
3fcded8f
JB
104522018-03-27 Joel Brobecker <brobecker@adacore.com>
10453
10454 * gdb.ada/varsize_limit: New testcase.
10455
59cc4834
JB
104562018-03-27 Joel Brobecker <brobecker@adacore.com>
10457
10458 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10459
10460 * gdb.ada/notcplusplus: New testcase.
10461
10462 * gdb.base/c-linkage-name.c: New file.
10463 * gdb.base/c-linkage-name.exp: New testcase.
10464
4ca59a9f
TT
104652018-03-26 Tom Tromey <tom@tromey.com>
10466
10467 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10468 * gdb.python/py-framefilter.py (name_error): New global.
10469 (ErrorInName.function): Use name_error.
10470
978d6c75
TT
104712018-03-26 Tom Tromey <tom@tromey.com>
10472
10473 PR backtrace/15582:
10474 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10475
b7fee5a3
KS
104762018-03-23 Keith Seitz <keiths@redhat.com>
10477
10478 PR c++/22968
10479 * gdb.cp/subtypes.exp: New file.
10480 * gdb.cp/subtypes.h: New file.
10481 * gdb.cp/subtypes.cc: New file.
10482 * gdb.cp/subtypes-2.cc: New file.
10483
376be529
AB
104842018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10485
10486 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10487 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10488 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10489 -nostartfiles when compiling the test. Confirm that all registers
10490 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10491
066cfa98
AB
104922018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10493
10494 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10495 option, syntax was wrong anyway.
10496 * gdb.arch/arm-disp-step.exp: Likewise.
10497 * gdb.arch/sparc64-regs.exp: Likewise.
10498 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10499 option, syntax was wrong anyway, switch to use
10500 prepare_for_testing.
10501 * gdb.arch/i386-disp-step.exp: Likewise.
10502
079670b9
AA
105032018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10504
10505 * gdb.ada/exec_changed.exp: Replace "target_info exists
10506 use_gdb_stub" by "use_gdb_stub".
10507 * gdb.ada/start.exp: Likewise.
10508 * gdb.base/async-shell.exp: Likewise.
10509 * gdb.base/attach-pie-misread.exp: Likewise.
10510 * gdb.base/attach-wait-input.exp: Likewise.
10511 * gdb.base/break-entry.exp: Likewise.
10512 * gdb.base/break-interp.exp: Likewise.
10513 * gdb.base/dprintf-detach.exp: Likewise.
10514 * gdb.base/nostdlib.exp: Likewise.
10515 * gdb.base/solib-nodir.exp: Likewise.
10516 * gdb.base/statistics.exp: Likewise.
10517 * gdb.base/testenv.exp: Likewise.
10518 * gdb.mi/mi-exec-run.exp: Likewise.
10519 * gdb.mi/mi-start.exp: Likewise.
10520 * gdb.multi/dummy-frame-restore.exp: Likewise.
10521 * gdb.multi/multi-arch-exec.exp: Likewise.
10522 * gdb.multi/multi-arch.exp: Likewise.
10523 * gdb.multi/tids.exp: Likewise.
10524 * gdb.multi/watchpoint-multi.exp: Likewise.
10525 * gdb.python/py-events.exp: Likewise.
10526 * gdb.threads/attach-into-signal.exp: Likewise.
10527 * gdb.threads/attach-stopped.exp: Likewise.
10528 * gdb.threads/threadapply.exp: Likewise.
10529 * lib/selftest-support.exp: Likewise.
10530
26d6cec4
AA
105312018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10532
10533 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10534
4ee89e90
SR
105352018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10536
10537 * gdb.perf/template-breakpoints.cc: New file.
10538 * gdb.perf/template-breakpoints.exp: New file.
10539 * gdb.perf/template-breakpoints.py: New file.
10540
92630041
TT
105412018-03-19 Tom Tromey <tom@tromey.com>
10542
10543 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10544 y0.
10545 * gdb.rust/simple.exp: Test bare identifier form of struct
10546 initializer.
10547
76727919
TT
105482018-03-19 Tom Tromey <tom@tromey.com>
10549
10550 * gdb.gdb/observer.exp: Remove.
10551
194ed413
AA
105522018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10553
10554 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10555 "qualified" option when setting breakpoints.
10556 * gdb.trace/backtrace.exp: Likewise.
10557 * gdb.trace/circ.exp: Likewise.
10558 * gdb.trace/collection.exp: Likewise.
10559 * gdb.trace/disconnected-tracing.exp: Likewise.
10560 * gdb.trace/ftrace-lock.exp: Likewise.
10561 * gdb.trace/ftrace.exp: Likewise.
10562 * gdb.trace/infotrace.exp: Likewise.
10563 * gdb.trace/packetlen.exp: Likewise.
10564 * gdb.trace/passc-dyn.exp: Likewise.
10565 * gdb.trace/qtro.exp: Likewise.
10566 * gdb.trace/read-memory.exp: Likewise.
10567 * gdb.trace/report.exp: Likewise.
10568 * gdb.trace/signal.exp: Likewise.
10569 * gdb.trace/status-stop.exp: Likewise.
10570 * gdb.trace/strace.exp: Likewise.
10571 * gdb.trace/tfind.exp: Likewise.
10572 * gdb.trace/trace-break.exp: Likewise.
10573 * gdb.trace/trace-condition.exp: Likewise.
10574 * gdb.trace/trace-mt.exp: Likewise.
10575 * gdb.trace/tstatus.exp: Likewise.
10576 * gdb.trace/tsv.exp: Likewise.
10577 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10578 * gdb.trace/unavailable.exp: Likewise.
10579 * gdb.trace/while-dyn.exp: Likewise.
10580
8b067d2c
AA
105812018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10582
10583 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10584 that libinproctrace is copied to the target.
10585
3ae9ce5d
TT
105862018-03-14 Tom Tromey <tom@tromey.com>
10587
10588 PR cli/14977:
10589 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10590 a null pointer.
10591 * gdb.base/wchar.exp: Likewise.
10592
b8c2339b
TT
105932018-03-14 Tom Tromey <tom@tromey.com>
10594
10595 PR cli/19918:
10596 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10597 flag.
10598
4872dc46
SM
105992018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10600
10601 PR gdb/22841
10602 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10603 "target" to remote_exec.
10604
e4fe3756
SM
106052018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10606
10607 PR gdb/22841
10608 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10609 ${board}_upload): Remove.
10610
e95a97d4
AA
106112018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10612
10613 * gdb.cp/watch-cp.cc: New test.
10614 * gdb.cp/watch-cp.exp: New file.
10615
dbbb1059
AB
106162018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10617
10618 * gdb.base/infcall-nested-structs.exp: New file.
10619 * gdb.base/infcall-nested-structs.c: New file.
10620 * gdb.base/float.exp: Add riscv support.
10621
ecc054c0
TP
106222018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10623
10624 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10625 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10626
25e3c82c
SDJ
106272018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10628
10629 * gdb.server/abspath.exp: New file.
10630 * lib/gdb.exp (with_cwd): New procedure.
10631
3083294d
SM
106322018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10633
10634 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10635 use it.
10636 (gdb_is_target_remote_prompt): New proc.
10637 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10638 (gdb_is_target_native): Pass prompt parameter to
10639 gdb_is_target_1.
10640
3275ef47
SM
106412018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10642
10643 * gdb.base/load-command.c: New file.
10644 * gdb.base/load-command.exp: New file.
10645 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10646 (gdb_is_target_1): ...this, and generalize for other targets
10647 than just remote.
10648 (gdb_is_target_remote): Use gdb_is_target_1.
10649 (gdb_is_target_native): use gdb_is_target_1.
10650
6893c19a
TT
106512018-02-26 Tom Tromey <tom@tromey.com>
10652
10653 PR python/16497:
10654 * gdb.python/py-framefilter.exp: Update test.
10655
2ddeaf8a
TT
106562018-02-26 Tom Tromey <tom@tromey.com>
10657
10658 * gdb.dwarf2/variant.c: New file.
10659 * gdb.dwarf2/variant.exp: New file.
10660
c9317f21
TT
106612018-02-26 Tom Tromey <tom@tromey.com>
10662
10663 * gdb.rust/simple.exp: Accept more possible results in enum test.
10664
6f6d0c26
SM
106652018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10666
10667 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10668 parentheses.
10669
11b03145
MR
106702018-02-23 Maciej W. Rozycki <macro@mips.com>
10671
10672 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10673 name of a variable: $actual_linejj -> $actual_line.
10674
54a27fe5
JB
106752018-02-21 John Baldwin <jhb@FreeBSD.org>
10676
10677 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10678
de65820c
MM
106792018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10680
10681 * gdb.btrace/buffer-size.exp: Do not force BTS.
10682
980548fd
PA
106832018-02-14 Pedro Alves <palves@redhat.com>
10684
10685 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10686 getting a "Quit".
10687
c4e12631
MM
106882018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10689
10690 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10691 Fix test name.
10692
c2e0e465
SM
106932018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10694
10695 * gdb.cp/m-static.exp: Check type of optimized out static
10696 member.
10697
f7216783
AB
106982018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10699
10700 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10701 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10702
0625771b
LS
107032018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10704 Leszek Swirski <leszeks@google.com>
10705
10706 * gdb.python/py-prettyprint.c
10707 (struct to_string_returns_value_inner,
10708 struct to_string_returns_value_wrapper): New.
10709 (main): Add tsrvw variable.
10710 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10711 ToStringReturnsValueWrapper): New classes.
10712 (register_pretty_printers): Register new pretty-printers.
10713 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10714 recursive pretty printer.
10715 * gdb.python/py-mi.exp: Likewise.
10716
59498c30
LS
107172018-02-01 Leszek Swirski <leszeks@google.com>
10718
10719 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10720 functions with the same name as an include file are parsed
10721 correctly.
10722
d4d38844
YQ
107232018-02-01 Yao Qi <yao.qi@linaro.org>
10724
10725 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10726 "\[^\r\n\]*".
10727
07e5f5cf
NP
107282018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10729
10730 * gdb.arch/powerpc-prologue-frame.s: New file.
10731 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10732 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10733
929b5ad4
JB
107342018-01-31 Joel Brobecker <brobecker@adacore.com>
10735
10736 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10737
e671cd59
PA
107382018-01-30 Pedro Alves <palves@redhat.com>
10739
10740 PR gdb/13211
10741 * gdb.base/interrupt-daemon.c: New.
10742 * gdb.base/interrupt-daemon.exp: New.
10743 * gdb.multi/multi-term-settings.c: New.
10744 * gdb.multi/multi-term-settings.exp: New.
10745
fc413dc4
JB
107462018-01-30 Joel Brobecker <brobecker@adacore.com>
10747
10748 * gdb.base/break.exp: Save the location where the breakpoint
10749 on break.c:47 was actually inserted when debugging the version
10750 compiled at -O2 and use it in the expected output of the "info
10751 break" test performed soon after.
10752
5c319bb2
PA
107532018-01-22 Pedro Alves <palves@redhat.com>
10754 Sergio Durigan Junior <sergiodj@redhat.com>
10755
10756 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10757 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10758
a9e40818
JB
107592018-01-22 Joel Brobecker <brobecker@adacore.com>
10760
10761 * gdb.base/break-include.c, gdb.base/break-include.inc,
10762 gdb.base/break-include.exp: New files.
10763 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10764 line number now being the actual line number where the breakpoint
10765 was inserted.
10766 * gdb.mi/mi-break.exp: Likewise.
10767 * gdb.mi/mi-reverse.exp: Likewise.
10768 * gdb.mi/mi-simplerun.exp: Ditto.
10769
e707fc44
AB
107702018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10771
10772 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10773 varobj.
10774 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10775
ae451627
AB
107762018-01-21 Don Breazeal <donb@codesourcery.com>
10777 Andrew Burgess <andrew.burgess@embecosm.com>
10778
10779 * gdb.mi/basics.c: Add new global.
10780 * gdb.mi/mi-frame-regs.exp: New file.
10781 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10782 case.
10783
b1b189e0
AB
107842018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10785
10786 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10787 non-parameter, and on an unknown symbol.
10788
fcfcc376
TT
107892018-01-19 Tom Tromey <tom@tromey.com>
10790
10791 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10792 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10793
634c1c31
AA
107942018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10795
10796 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10797 setrlimit and chdir to int.
10798
d6ad07fd
AA
107992018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10800
10801 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10802 function.
10803 (my_tend): Likewise.
10804 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10805 rationale of avoiding FP- and vector instructions.
10806
adf8243b
RK
108072018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10808
10809 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10810 "info reg" with "\[ \t\]*".
10811 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10812 "\[ \t\]+".
10813 * gdb.arch/s390-multiarch.exp: Ditto.
10814 * gdb.base/pc-fp.exp: Ditto.
10815 * gdb.reverse/i386-precsave.exp: Ditto.
10816 * gdb.reverse/i386-reverse.exp: Ditto.
10817 * gdb.reverse/i387-env-reverse.exp: Ditto.
10818 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10819
dcc06925
AA
108202018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10821
10822 * lib/gdb.exp (gdb_compile): Re-enable use of
10823 universal_compile_options for languages other than Rust.
10824
25d4fd80
AA
108252018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10826
10827 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10828
ee7f689e 108292018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10830
10831 PR gdb/16577
10832 * gdb.base/solib-vanish.exp: New.
10833 * gdb.base/solib-vanish-main.c: New.
10834 * gdb.base/solib-vanish-lib1.c: New.
10835 * gdb.base/solib-vanish-lib2.c: New.
10836
d8447b6b
YQ
108372018-01-17 Yao Qi <yao.qi@linaro.org>
10838
10839 * gdb.compile/compile.exp: Match the address printed for
10840 frame in the output of command "bt".
10841
86d6a90c
TT
108422018-01-15 Tom Tromey <tom@tromey.com>
10843
10844 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10845 compute sp_reg.
10846
cbcdb1aa
AB
108472018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10848
10849 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10850 to prepare.
10851 (prepare): Return 0 on error, 1 on success.
10852
eea61984
PA
108532018-01-12 Pedro Alves <palves@redhat.com>
10854
10855 * gdb.base/continue-after-aborted-step-over.c: New.
10856 * gdb.base/continue-after-aborted-step-over.exp: New.
10857
6181e9c2
SM
108582018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10859
10860 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10861 options when not creating an executable.
10862
3cada740
PA
108632018-01-11 Pedro Alves <palves@redhat.com>
10864
10865 PR remote/22597
10866 * gdb.server/stop-reply-no-thread.c: New file.
10867 * gdb.server/stop-reply-no-thread.exp: New file.
10868
c63d3e8d
PA
108692018-01-10 Pedro Alves <palves@redhat.com>
10870
10871 PR gdb/22670
10872 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10873 functions too. Test setting breakpoints and printing C functions
10874 with no debug info too.
10875 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10876
d4c2a405
PA
108772018-01-10 Pedro Alves <palves@redhat.com>
10878
10879 PR gdb/22670
10880 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10881 a fail.
10882
8825213e
PA
108832018-01-10 Pedro Alves <palves@redhat.com>
10884
10885 PR gdb/22670
10886 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10887
605fd3c6
YQ
108882018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10889
10890 * gdb.server/unittest.exp: Match the output in non-development
10891 mode.
10892
1e5ded6c
YQ
108932018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10894
10895 * gdb.gdb/unittest.exp: Match output in non-development mode.
10896
30066b0b
JB
108972018-01-08 Joel Brobecker <brobecker@adacore.com>
10898
10899 * gdb.ada/access_tagged_param.exp: Relax expected output
10900 for value of "ObjL" in "continue" to pck.inspect breakpoint
10901 test.
10902
04bafb1e
XR
109032018-01-08 Joel Brobecker <brobecker@adacore.com>
10904
9f86398b
JB
10905 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10906 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10907
e379cee6
PA
109082018-01-05 Pedro Alves <palves@redhat.com>
10909
10910 PR gdb/18653
10911 * gdb.base/libsegfault.exp: New.
10912
de63c46b
PA
109132018-01-05 Joel Brobecker <brobecker@adacore.com>
10914
10915 PR gdb/22670
10916 * gdb.ada/access_tagged_param.exp: New file.
10917 * gdb.ada/access_tagged_param/foo.adb: New file.
10918
f98fc17b
PA
109192018-01-05 Pedro Alves <palves@redhat.com>
10920
10921 PR gdb/22670
10922 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10923 exercise lower case too, and to exercise both full matching and
10924 wild matching.
10925
342f8240
JB
109262018-01-05 Joel Brobecker <brobecker@adacore.com>
10927
10928 * gdb.ada/rename_subscript_param: New testcase.
10929
7150d33c
JG
109302018-01-05 Jerome Guitton <guitton@adacore.com>
10931
10932 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10933
cc0e770c
JB
109342018-01-05 Joel Brobecker <brobecker@adacore.com>
10935
10936 * gdb.ada/convvar_comp: New testcase.
10937
672a41aa 109382018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10939
10940 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10941 (My_Table): New global variable.
10942 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10943
7365ec2f
JB
109442018-01-04 Joel Brobecker <brobecker@adacore.com>
10945
10946 PR gdb/22670
10947 * gdb.ada/maint_with_ada: New testcase.
10948
289483b6
JB
109492018-01-04 Joel Brobecker <brobecker@adacore.com>
10950
10951 PR gdb/22670
10952 * gdb.ada/bp_c_mixed_case: New testcase.
10953
344420da
JB
109542018-01-04 Joel Brobecker <brobecker@adacore.com>
10955
10956 PR gdb/22670
10957 * gdb.ada/complete.exp: Add "complete break ada" test.
10958
66fc87a0
JB
109592018-01-04 Joel Brobecker <brobecker@adacore.com>
10960
10961 PR gdb/22670
10962 * gdb.ada/info_addr_mixed_case: New testcase.
10963
9f757bf7
XR
109642018-01-03 Xavier Roirand <roirand@adacore.com>
10965
10966 * gdb.ada/excep_handle.exp: New testcase.
10967 * gdb.ada/excep_handle/foo.adb: New file.
10968 * gdb.ada/excep_handle/pck.ads: New file.
10969
bd570f80
JB
109702018-01-03 Joel Brobecker <brobecker@adacore.com>
10971
10972 * gdb.base/step-line.c: Add extra empty line in copyright header.
10973 * gdb.base/step-line.inp: Likewise.
10974
9fe561ab
JB
109752018-01-02 Joel Brobecker <brobecker@adacore.com>
10976
10977 * gdb.ada/dyn_stride.exp: Add slice test.
10978
a405673c
JB
109792018-01-02 Joel Brobecker <brobecker@adacore.com>
10980
10981 * gdb.ada/dyn_stride: New testcase.
10982
cef0f868
SH
109832017-12-27 Stafford Horne <shorne@gmail.com>
10984
10985 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10986 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10987
b67d92b0
SH
109882017-12-27 Stafford Horne <shorne@gmail.com>
10989
10990 * gdb.base/reggroups.c: New file.
10991 * gdb.base/reggroups.exp: New file.
10992
eccab96d
JB
109932017-12-18 Joel Brobecker <brobecker@adacore.com>
10994
10995 * gdb.dwarf2/ada-valprint-error.c: New file.
10996 * gdb.dwarf2/ada-valprint-error.exp: New file.
10997
0e2da9f0
JB
109982017-12-18 Joel Brobecker <brobecker@adacore.com>
10999
11000 * gdb.ada/assign_arr: New testcase.
11001
cb923fcc
XR
110022017-12-18 Xavier Roirand <roirand@adacore.com>
11003
11004 * gdb.ada/funcall_ptr: New testcase.
11005
7c161838
SDJ
110062017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11007
11008 PR cli/16224
11009 * gdb.base/ptype-offsets.cc: New file.
11010 * gdb.base/ptype-offsets.exp: New file.
11011
1af17fd9
YQ
110122017-12-15 Yao Qi <yao.qi@linaro.org>
11013
11014 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11015 if XML is disabled.
11016
828d5846
XR
110172017-12-15 Xavier Roirand <roirand@adacore.com>
11018
11019 * gdb.ada/same_component_name: New testcase.
11020
79e8fcaa
JB
110212017-12-14 Joel Brobecker <brobecker@adacore.com>
11022
11023 * gdb.ada/str_binop_equal: New testcase.
11024
e05fa6f9
JB
110252017-12-14 Joel Brobecker <brobecker@adacore.com>
11026
11027 * gdb.ada/task_switch_in_core: New testcase.
11028
b89641ba
SM
110292017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11030
11031 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11032 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11033 call test_bkpt_qualified.
11034 (test_bkpt_qualified): New proc.
11035
6892d2e4
PA
110362017-12-13 Pedro Alves <palves@redhat.com>
11037
11038 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11039 Tighten regexp by matching with an anchor.
11040
a22ecf70
PA
110412017-12-13 Pedro Alves <palves@redhat.com>
11042
11043 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11044 ("expression with namespace"): New set of tests.
11045 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11046 (Nested::Test_NS::qux): New.
11047 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11048 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11049
9937536c
JB
110502017-12-13 Joel Brobecker <brobecker@adacore.com>
11051
11052 * gdb.base/server-del-break.c: New file.
11053 * gdb.base/server-del-break.exp: New file.
11054
fe49c6f5
SH
110552017-12-12 Stafford Horne <shorne@gmail.com>
11056
11057 * gdb.xml/tdesc-regs.exp: Add or1k support.
11058
c3d18620
SH
110592017-12-12 Stafford Horne <shorne@gmail.com>
11060
11061 * gdb.base/bp-permanent.c: Define nop of or1k.
11062
c5f9cfc8
JB
110632017-12-11 Joel Brobecker <brobecker@adacore.com>
11064
11065 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11066 output with components being reordered.
11067
a9c135fc
JB
110682017-12-11 Joel Brobecker <brobecker@adacore.com>
11069
11070 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11071 output with components being reordered.
11072
927aa2e7
JK
110732017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11074 Pedro Alves <palves@redhat.com>
11075
11076 * gdb.base/maint.exp (check for .gdb_index): Check also for
11077 .debug_names.
11078 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11079 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11080 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11081 (.gdb_index used after symbol reloading): Support also .debug_names.
11082 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11083
f17d9474
YQ
110842017-12-08 Yao Qi <yao.qi@linaro.org>
11085
11086 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11087 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11088
a0de8c21
YQ
110892017-12-08 Yao Qi <yao.qi@linaro.org>
11090
11091 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11092 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11093
a738ea1d
YQ
110942017-12-08 Yao Qi <yao.qi@linaro.org>
11095
11096 * gdb.arch/aarch64-tagged-pointer.c: New file.
11097 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11098
1cd9a73b
SDJ
110992017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11100
11101 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11102 "int".
11103
fa6eb693
KS
111042017-12-07 Keith Seitz <keiths@redhat.com>
11105
11106 PR breakpoints/22569
11107 * gdb.linespec/ls-errs.exp: Change expected result of "break
11108 -source this file has spaces.c -line 3".
11109 Check that an explicit source file followed by whitespace is
11110 identified as an invalid explicit location.
11111
883fd55a
KS
111122017-12-07 Keith Seitz <keiths@redhat.com>
11113
11114 * gdb.cp/nested-types.cc: New file.
11115 * gdb.cp/nested-types.exp: New file.
11116 * lib/cp-support.exp: Load data-structures.exp library.
11117 (debug_cp_test_ptype_class): New global.
11118 (cp_ptype_class_verbose, next_line): New procedures.
11119 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11120 Add and document new return value.
11121 Switch the list of lines to a queue.
11122 Add support for new `type' key for nested type definitions.
11123 Add debugging/troubleshooting messages.
11124 * lib/data-structures.exp: New file.
11125
ec72db3e
SM
111262017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11127
11128 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11129 with proc_with_prefix, don't use with_test_prefix.
11130
99598d71
TT
111312017-12-07 Tom Tromey <tom@tromey.com>
11132
11133 * gdb.base/break.exp: Add test for empty "commands".
11134
a8806230
YQ
111352017-12-07 Yao Qi <yao.qi@linaro.org>
11136
11137 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11138 malloc and catch syscall.
11139
824cc835
PM
111402017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11141
e79be6e5 11142 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
11143 tests for explicit locations.
11144
7cc244de
PA
111452017-12-06 Pedro Alves <palves@redhat.com>
11146
11147 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11148 force-disabling XML descriptions.
11149
50a1fdd5
PA
111502017-12-04 Pedro Alves <palves@redhat.com>
11151
11152 PR gdb/22499
11153 * gdb.arch/amd64-disp-step-avx.S: New file.
11154 * gdb.arch/amd64-disp-step-avx.exp: New file.
11155
f0fb2488
PA
111562017-12-03 Pedro Alves <palves@redhat.com>
11157
11158 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11159 and <string.h>.
11160 (parent_function): Print distinct messages when waitpid fails, or
11161 the child exits with a signal, or the child exits for an unhandled
11162 reason.
11163 * gdb.threads/process-dies-while-detaching.exp
11164 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11165 it. Wait for both inferior output and GDB's prompt. Use an
11166 indirect spawn id list.
11167 (do_detach): New parameter 'child_exit'. Use it to compute
11168 expected inferior output.
11169 (test_detach, test_detach_watch, test_detach_killed_outside):
11170 Adjust to pass down the expected child exit kind.
11171
97cbe998
SDJ
111722017-12-01 Joel Brobecker <brobecker@adacore.com>
11173 Sergio Durigan Junior <sergiodj@redhat.com>
11174 Pedro Alves <palves@redhat.com>
11175
11176 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11177
40fc416f
SDJ
111782017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11179
11180 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11181 to 'symbol-file' and 'add-symbol-file' can be
11182 position-independent.
11183
1cc75e92
YQ
111842017-12-01 Yao Qi <yao.qi@linaro.org>
11185
11186 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11187 the URL in copyright header.
11188 * gdb.arch/aarch64-fp.exp: Likewise.
11189 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11190 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11191 * gdb.base/expand-psymtabs.exp: Likewise.
11192 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11193 * gdb.fortran/common-block.exp: Likewise.
11194 * gdb.fortran/common-block.f90: Likewise.
11195 * gdb.fortran/logical.exp: Likewise.
11196 * gdb.fortran/vla-datatypes.f90: Likewise.
11197 * gdb.fortran/vla-sub.f90: Likewise.
11198
875fb7a7
JB
111992017-11-30 Joel Brobecker <brobecker@adacore.com>
11200
11201 * gdb.ada/repeat_dyn: New testcase.
11202
6f14765f
UW
112032017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11204
11205 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11206 Update for changed thread numbering.
11207 * gdb.cell/bt.exp: Update for changed GDB output.
11208
f1af7b94
SM
112092017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11210
11211 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11212 setting isremote by hand.
11213 * boards/dwarf4-gdb-index.exp: Likewise.
11214 * boards/fission.exp: Likewise.
11215 * boards/stabs.exp: Likewise.
11216
e3919f3e
PA
112172017-11-30 Pedro Alves <palves@redhat.com>
11218
11219 * gdb.linespec/cpls-ops.exp
11220 (check_explicit_skips_function_argument): Extract the underlying
11221 type of size_t instead of hardcoding it.
11222
bd69330d
PA
112232017-11-29 Pedro Alves <palves@redhat.com>
11224
11225 PR c++/19436
11226 * gdb.linespec/cpls-abi-tag.cc: New file.
11227 * gdb.linespec/cpls-abi-tag.exp: New file.
11228
a20714ff
PA
112292017-11-29 Pedro Alves <palves@redhat.com>
11230
11231 * gdb.base/langs.exp: Use -qualified.
11232 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11233 it.
11234 * gdb.cp/namespace.exp: Use -qualified.
11235 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11236 (overload-3, template-overload, template-ret-type, const-overload)
11237 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11238 procedures.
11239 (test_driver): Call them.
11240 * gdb.cp/save-bp-qualified.cc: New.
11241 * gdb.cp/save-bp-qualified.exp: New.
11242 * gdb.linespec/explicit.exp: Test -qualified.
11243 * lib/completion-support.exp (completion::explicit_opts_list): Add
11244 "-qualified".
11245 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11246
f6f1d339
PM
112472017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11248
11249 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11250
02ca603a
TT
112512017-11-29 Tom Tromey <tom@tromey.com>
11252
11253 * gdb.base/relocate.exp: Update invalid argument test.
11254 Add new tests for invalid arguments.
11255
ed6c0bfb
TP
112562017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11257
11258 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11259 Return 0 as a long.
11260 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11261
f106e10e
TP
112622017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11263
11264 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11265 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11266 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11267 func ().
11268 * gdb.cp/shadow.cc (B.func): Return 0.
11269
10329bb2
JB
112702017-11-27 Joel Brobecker <brobecker@adacore.com>
11271
11272 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11273 expected output in gdb_expect call to allow the exception
11274 message to be present as well. Fix syntax confusion to avoid
11275 TCL thinking that exception_name is an array.
11276
617cd4bc
UW
112772017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11278
11279 * gdb.arch/spu-info.c: Include <unistd.h>.
11280 (do_signal_test): Fix broken calls to write.
11281 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11282 Fix checks for empty mailboxes. Update signal tests for corrected
11283 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11284 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11285 * gdb.cell/arch.exp: Use standard_output_file.
11286 * gdb.cell/break.exp: Likewise.
11287 * gdb.cell/bt.exp: Likewise.
11288 * gdb.cell/core.exp: Likewise.
11289 * gdb.cell/dwarfaddr.exp: Likewise.
11290 * gdb.cell/ea-cache.exp: Likewise.
11291 * gdb.cell/ea-standalone.exp: Likewise.
11292 * gdb.cell/f-regs.exp: Likewise.
11293 * gdb.cell/fork.exp: Likewise.
11294 * gdb.cell/gcore.exp: Likewise.
11295 * gdb.cell/mem-access.exp: Likewise.
11296 * gdb.cell/ptype.exp: Likewise.
11297 * gdb.cell/registers.exp: Likewise.
11298 * gdb.cell/sizeof.exp: Likewise.
11299 * gdb.cell/solib-symbol.exp: Likewise.
11300 * gdb.cell/solib.exp: Likewise.
617cd4bc 11301
a81aaca0
PA
113022017-11-25 Pedro Alves <palves@redhat.com>
11303
11304 * gdb.base/complete-empty.exp: New file.
11305 * gdb.base/completion.exp: Adjust.
11306
6a3c6ee4
PA
113072017-11-25 Pedro Alves <palves@redhat.com>
11308
11309 * gdb.linespec/cpls-ops.cc: New file.
11310 * gdb.linespec/cpls-ops.exp: New file.
11311 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11312 factored out from ...
11313 (test_complete_prefix_range): ... this.
11314
8955eb2d
PA
113152017-11-24 Pedro Alves <palves@redhat.com>
11316
11317 * gdb.linespec/cpcompletion.exp: New file.
11318 * gdb.linespec/cpls-hyphen.cc: New file.
11319 * gdb.linespec/cpls.cc: New file.
11320 * gdb.linespec/cpls2.cc: New file.
11321 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11322 test to use test_gdb_complete_unique. Add label completion,
11323 keyword completion and explicit location completion tests.
11324 * lib/completion-support.exp: New file.
11325
e547c119
JB
113262017-11-24 Joel Brobecker <brobecker@adacore.com>
11327
11328 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11329 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11330 when hitting an exception catchpoint.
11331
7c3c1aa8
YQ
113322017-11-22 Yao Qi <yao.qi@linaro.org>
11333
11334 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11335
41bd68f5
SM
113362017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11337
11338 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11339 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11340 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11341
1daad298
YQ
113422017-11-22 Yao Qi <yao.qi@linaro.org>
11343
11344 * gdb.base/info-os.exp: Pass pthreads.
11345 * gdb.multi/multi-attach.exp: Likewise.
11346
88465e87
YQ
113472017-11-22 Yao Qi <yao.qi@linaro.org>
11348
11349 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11350 compiler.
11351
dc196b23
YQ
113522017-11-22 Yao Qi <yao.qi@linaro.org>
11353
11354 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11355 * gdb.base/break-interp.exp: Likewise.
11356 * gdb.base/jit-attach-pie.exp: Likewise.
11357
2400729e
UW
113582017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11359
11360 * gdb.base/float128.c (large128): New variable.
11361 * gdb.base/float128.exp: Add test to print largest __float128 value.
11362
7a26362d
UW
113632017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11364
11365 * gdb.arch/vsx-regs.exp: Update register content checks.
11366
ed0f4273
UW
113672017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11368
11369 * gdb.arch/ppc-longdouble.exp: New file.
11370 * gdb.arch/ppc-longdouble.c: Likewise.
11371
a25d69c6
PA
113722017-11-21 Pedro Alves <palves@redhat.com>
11373
11374 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11375
73fcf641
PA
113762017-11-20 Pedro Alves <palves@redhat.com>
11377
11378 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11379 (long_double_typedef): New typedefs.
11380 Use DEF on double and long double.
11381 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11382 cases.
11383 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11384 and 'long_double_ptr_same_size' locals. Use them to decide
11385 whether cast from array/function to float is valid/invalid.
11386
71a3c369
TT
113872017-11-17 Tom Tromey <tom@tromey.com>
11388
11389 * gdb.rust/traits.rs: New file.
11390 * gdb.rust/traits.exp: New file.
11391
ced9779b
JB
113922017-11-17 Joel Brobecker <brobecker@adacore.com>
11393
11394 * gdb.ada/minsyms: New testcase.
11395
a0922d80
PA
113962017-11-16 Pedro Alves <palves@redhat.com>
11397
11398 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11399 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11400
ea04e54c
PA
114012017-11-16 Pedro Alves <palves@redhat.com>
11402
11403 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11404 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11405
e849ea89
PA
114062017-11-16 Pedro Alves <palves@redhat.com>
11407
11408 * gdb.server/reconnect-ctrl-c.c: New file.
11409 * gdb.server/reconnect-ctrl-c.exp: New file.
11410
d8ae99a7
PM
114112017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11412
11413 * gdb.python/py-rbreak.exp: New file.
11414 * gdb.python/py-rbreak.c: New file.
11415 * gdb.python/py-rbreak-func2.c: New file.
11416
968a13f8
PA
114172017-11-16 Pedro Alves <palves@redhat.com>
11418
11419 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11420 pattern.
11421 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11422 GDB.
11423
71774bc9
SM
114242017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11425
11426 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11427 regex.
11428
ddbb44cf
SM
114292017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11430
11431 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11432 test names.
11433
584a564f
PA
114342017-11-09 Pedro Alves <palves@redhat.com>
11435
11436 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11437 factored out from ...
11438 (top level): ... here, and adjusted to avoid expecting beyond the
11439 prompt in a single gdb_test_multiple.
11440
5ed7a928
PA
114412017-11-09 Pedro Alves <palves@redhat.com>
11442
11443 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11444 output.
11445 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11446 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11447 * gdb.server/ext-run.exp ("kill" test): Likewise.
11448 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11449
a60e0738
PA
114502017-11-09 Pedro Alves <palves@redhat.com>
11451
11452 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11453 match till end of line.
11454
2c88253f
PA
114552017-11-09 Pedro Alves <palves@redhat.com>
11456
11457 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11458
c7a38517
PA
114592017-11-09 Pedro Alves <palves@redhat.com>
11460
11461 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11462 New procedures, factored out from ...
11463 (top level): ... here, and adjusted to avoid expecting beyond the
11464 prompt in one go.
11465
f29f4b6b
PA
114662017-11-09 Pedro Alves <palves@redhat.com>
11467
11468 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11469 output. Fix '?' match.
11470
286acbb5
JB
114712017-11-08 Joel Brobecker <brobecker@adacore.com>
11472
11473 * gdb.ada/scoped_watch: New testcase.
11474 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11475 which is actually correct.
11476 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11477 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11478
62d7ae92
PA
114792017-11-08 Pedro Alves <palves@redhat.com>
11480
11481 * gdb.gdb/complaints.exp (test_initial_complaints)
11482 (test_serial_complaints, test_short_complaints): Call
11483 complaint_internal instead of complaint.
11484
280ca31f
DT
114852017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11486
11487 * gdb.threads/tls-core.c: New file.
11488 * gdb.threads/tls-core.exp: Likewise.
11489
b5ec771e
PA
114902017-11-08 Pedro Alves <palves@redhat.com>
11491
11492 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11493 (p Exported_Capitalized): New test.
11494 (p exported_capitalized): New test.
11495
a02b41a7
PA
114962017-11-07 Pedro Alves <palves@redhat.com>
11497
11498 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11499
95e95a6d
PA
115002017-11-07 Pedro Alves <palves@redhat.com>
11501
11502 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11503 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11504 (disable_invalid, disable_inverted, disable_negative): New
11505 procedures.
11506 ("bad numbers"): New set of tests.
11507
cee62dbd
PA
115082017-11-07 Pedro Alves <palves@redhat.com>
11509
11510 * gdb.cp/ena-dis-br-range.exp: Add tests.
11511
cc638e86
PA
115122017-11-07 Pedro Alves <palves@redhat.com>
11513
11514 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11515
d0fe4701
XR
115162017-11-07 Xavier Roirand <roirand@adacore.com>
11517 Pedro Alves <palves@redhat.com>
11518
11519 * gdb.base/ena-dis-br.exp: Add reference to
11520 gdb.cp/ena-dis-br-range.exp.
11521 * gdb.cp/ena-dis-br-range.exp: New file.
11522 * gdb.cp/ena-dis-br-range.cc: New file.
11523
46f67f80
PA
115242017-11-06 Pedro Alves <palves@redhat.com>
11525
11526 * gdb.base/attach-non-pgrp-leader.c: New.
11527 * gdb.base/attach-non-pgrp-leader.exp: New.
11528
726e1356
PA
115292017-11-06 Pedro Alves <palves@redhat.com>
11530
11531 * configure.ac: No longer check for termio.h and sgtty.h.
11532 * configure: Regenerate.
11533 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11534 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11535 Remove termio and sgtty code.
11536
50ab6ace
YQ
115372017-11-03 Yao Qi <yao.qi@linaro.org>
11538
11539 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11540 in GDB is disabled.
11541
8e68731c
YQ
115422017-11-03 Yao Qi <yao.qi@linaro.org>
11543
11544 * gdb.python/py-thrhandle.exp: Skip it if python is not
11545 enabled.
11546
3a87ae65
SM
115472017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11548
11549 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11550 as a breakpoint command.
11551
484d8d36
MD
115522017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11553
11554 PR python/21213
11555 * gdb.python/py-infthread.exp: Test calling
11556 InferiorThread.inferior () multiple times in a row.
11557
4a27f119
KS
115582017-10-27 Keith Seitz <keiths@redhat.com>
11559
11560 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11561 Test "info break" for every inlined function breakpoint.
11562
bb11dd58
YQ
115632017-10-27 Yao Qi <yao.qi@linaro.org>
11564
11565 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11566
a43f3893
PF
115672017-10-26 Patrick Frants <osscontribute@gmail.com>
11568
11569 * gdb.cp/classes.exp (test_static_members): Test printing
11570 Outer::instance.
11571 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11572 (Inner::instance, Outer::instance): New.
11573
792ccf00
PA
115742017-10-24 Pedro Alves <palves@redhat.com>
11575
11576 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11577 extra console" test in two stages.
11578
eb2bfbad
PA
115792017-10-24 Pedro Alves <palves@redhat.com>
11580
11581 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11582
1f75a651
PA
115832017-10-24 Pedro Alves <palves@redhat.com>
11584
11585 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11586 loop.
11587
779990d9
PA
115882017-10-24 Pedro Alves <palves@redhat.com>
11589
11590 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11591 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11592
ad9b8f5d
PA
115932017-10-24 Pedro Alves <palves@redhat.com>
11594
11595 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11596 parameter and handle it. Don't output read value in test name.
11597
fee6da6e
PA
115982017-10-24 Pedro Alves <palves@redhat.com>
11599
11600 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11601 custom test name.
11602
10389c2c
PA
116032017-10-24 Pedro Alves <palves@redhat.com>
11604
11605 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11606 include the unstable output directory name in the test's name.
11607 (initial_setup_simple) <'set args'>: Use custom test name.
11608
a80e65a9
PA
116092017-10-24 Pedro Alves <palves@redhat.com>
11610
11611 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11612 with explicit test name.
11613
15763a09
PA
116142017-10-20 Pedro Alves <palves@redhat.com>
11615
11616 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11617 'wait -i'. Use gdb_assert and remote_close.
11618
49a4ce2e
AB
116192017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11620
11621 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11622 number from variable rather than hard-coded.
11623
a75868f5
PA
116242017-10-19 Pedro Alves <palves@redhat.com>
11625
11626 * gdb.base/long-inferior-output.c: New file.
11627 * gdb.base/long-inferior-output.exp: New file.
11628
c8ba13ad
KS
116292017-11-18 Keith Seitz <keiths@redhat.com>
11630
11631 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11632 method.
11633 (main): Call it.
11634 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11635 Add additional user-defined conversion operator tests.
11636
b27de576
PA
116372017-10-17 Pedro Alves <palves@redhat.com>
11638
11639 * boards/native-stdio-gdbserver.exp: Load "local-board".
11640
8484c955
PA
116412017-10-17 Pedro Alves <palves@redhat.com>
11642
11643 * gdb.base/quit-live.c: New file.
11644 * gdb.base/quit-live.exp: New file.
11645
83d5a34d
KS
116462017-10-16 Keith Seitz <keiths@redhat.com>
11647
11648 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11649 (class_with_protected_typedef, class_with_private_typedef)
11650 (struct_with_public_typedef, struct_with_protected_typedef)
11651 (struct_with_private_typedef): New classes/structs.
11652 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11653 typedefs and access specifiers.
11654
739b3f1d
PA
116552017-10-16 Pedro Alves <palves@redhat.com>
11656 Simon Marchi <simon.marchi@polymtl.ca>
11657
11658 * README (Local vs Remote vs Native): New section.
11659 * boards/local-board.exp: New file, with bits factored out from
11660 ...
11661 * boards/native-extended-gdbserver.exp: ... here. Load
11662 "local-board".
11663 * boards/native-gdbserver.exp: Load "local-board".
11664 (${board}_spawn, ${board}_exec): Delete.
11665 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11666 ...
11667 * boards/stdio-gdbserver-base.exp: ... this new file.
11668 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11669 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11670 procedure.
11671 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11672 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11673 stdio_gdbserver_command.
11674 (${board}_get_remote_address, ${board}_get_comm_port)
11675 (${board}_download, ${board}_upload): Delete.
11676 (get_target_remote_pipe_cmd): New.
11677
fe68b953
SM
116782017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11679
11680 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11681 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11682 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11683 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11684 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11685 remove with_test_prefix.
11686
300b6685
PA
116872017-10-13 Pedro Alves <palves@redhat.com>
11688
11689 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11690 * gdb.base/annota1.exp: Use it instead of is_remote.
11691 * gdb.base/annota3.exp: Use it instead of is_remote.
11692 * gdb.cp/annota2.exp: Use it instead of is_remote.
11693 * gdb.cp/annota3.exp: Use it instead of is_remote.
11694 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11695
50500caf
PA
116962017-10-13 Pedro Alves <palves@redhat.com>
11697
11698 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11699 (test_num_test_vars, run_and_count_vars, find_env)
11700 (test_set_unset_env, test_inherit_env_var): New procedures.
11701 (top level): Use them.
11702
dad0c6d2
PA
117032017-10-13 Pedro Alves <palves@redhat.com>
11704
11705 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11706 also skip on stub-like targets.
11707
8b0553c1
PA
117082017-10-13 Pedro Alves <palves@redhat.com>
11709
11710 PR gdb/22293
11711 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11712 (top level): Move some tests to ...
11713 (test_not_found): ... this new procedure.
11714 (top level): Call it.
11715
7594f623
PA
117162017-10-13 Pedro Alves <palves@redhat.com>
11717
11718 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11719 expect different "info terminal" output if testing with a
11720 non-native target.
11721
ebe3b402
PA
117222017-10-13 Pedro Alves <palves@redhat.com>
11723 Simon Marchi <simon.marchi@polymtl.ca>
11724
11725 PR python/12966
11726 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11727
42f1b161
PA
117282017-10-13 Pedro Alves <palves@redhat.com>
11729
11730 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11731 already.
11732
8d6ef72b
PA
117332017-10-13 Pedro Alves <palves@redhat.com>
11734
11735 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11736 is_remote.
11737
d7bcd5b8
PA
117382017-10-13 Pedro Alves <palves@redhat.com>
11739
11740 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11741 is_remote.
11742
df479dc6
PA
117432017-10-13 Pedro Alves <palves@redhat.com>
11744
11745 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11746 is set.
11747 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11748 instead of is_remote.
11749
23fb630a
PA
117502017-10-13 Pedro Alves <palves@redhat.com>
11751
11752 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11753 (top level): Add comment.
11754
cc77b1dc
PA
117552017-10-13 Pedro Alves <palves@redhat.com>
11756
11757 * gdb.base/remote.exp (top level): Fix comment typo and add
11758 missing return.
11759
27c9e813
PA
117602017-10-13 Pedro Alves <palves@redhat.com>
11761 Simon Marchi <simon.marchi@polymtl.ca>
11762
11763 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11764 calls and add comments. Skip test if use_gdb_stub is set.
11765 (top level): Use "set cwd" command instead of "cd" command.
11766
5e830d98
PA
117672017-10-13 Pedro Alves <palves@redhat.com>
11768
11769 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11770 is_remote target check.
11771
f5ca0032
PA
117722017-10-13 Pedro Alves <palves@redhat.com>
11773
11774 * gdb.base/scope.exp: Use build_executable + clean_restart +
11775 gdb_file_cmd instead of prepare_for_testing and no longer skip
11776 "before run" tests on is_remote target boards. Update comments.
11777 * boards/native-extended-gdbserver.exp
11778 (extended_gdbserver_load_last_file): New, factored out from ...
11779 (gdb_load): ... this. Move further below and add comment.
11780 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11781
8aed1c0d
PA
117822017-10-12 Pedro Alves <palves@redhat.com>
11783
11784 * gdb.base/attach.exp: Remove references to gdb64.
11785 * gdb.base/dbx.exp: Remove references to gdb64.
11786
cfa34c87
SM
117872017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11788 Pedro Alves <palves@redhat.com>
11789
11790 * gdb.base/label.exp: Remove is_remote target check.
11791
9192b7de
PA
117922017-10-12 Pedro Alves <palves@redhat.com>
11793
11794 * gdb.base/auvx.exp (coredir): Update comment.
11795 (top level) <core_works>: Use "set cwd" command instead of "cd"
11796 command.
11797
6bf0052d
PA
117982017-10-12 Pedro Alves <palves@redhat.com>
11799 Simon Marchi <simon.marchi@polymtl.ca>
11800
11801 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11802 target boards.
11803
e48ef82d
PA
118042017-10-12 Pedro Alves <palves@redhat.com>
11805 Simon Marchi <simon.marchi@polymtl.ca>
11806
11807 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11808 Instead skip if there's any gdb_protocol set.
11809
8d7aea57
SM
118102017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11811 Pedro Alves <palves@redhat.com>
11812
11813 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11814
30440677
PA
118152017-10-12 Pedro Alves <palves@redhat.com>
11816 Simon Marchi <simon.marchi@polymtl.ca>
11817
11818 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11819 instead of on dejagnu remote boards.
11820
4e04f045 118212017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11822 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11823
11824 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11825 checks. Use build_executable + clean_restart instead of
11826 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11827 of enabling non-stop after starting gdb.
11828
871a186e
PA
118292017-10-12 Pedro Alves <palves@redhat.com>
11830
11831 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11832 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11833 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11834 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11835
56d704da
AK
118362017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11837
11838 * gdb.arch/arc-tdesc-cpu.exp: New file.
11839 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11840
2f20e312
SM
118412017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11842
11843 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11844
65630365
PA
118452017-10-10 Pedro Alves <palves@redhat.com>
11846
11847 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11848 expect CLI output.
11849
bf469271
PA
118502017-10-10 Pedro Alves <palves@redhat.com>
11851
11852 * lib/selftest-support.exp (selftest_setup): Update for
11853 captured_command_loop's prototype change.
11854
777a42f1
PA
118552017-10-09 Pedro Alves <palves@redhat.com>
11856
11857 Test both arch1=>arch2 and arch2=>arch1.
11858
11859 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11860 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11861 factored out to...
11862 (append_arch1_options, append_arch2_options, append_arch_options)
11863 (build_executables): New procedures.
11864 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11865 local.
11866 (top level): Add new 'first_arch' testing axis.
11867
cbd2b4e3
PA
118682017-10-09 Pedro Alves <palves@redhat.com>
11869
11870 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11871 (barrier): New.
11872 (thread_start, all_started): New functions.
11873 (main): Spawn new thread and wait until it is scheduled.
11874 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11875 option.
11876 (do_test): Add 'selected_thread' parameter. Run to all_started
11877 instead of main. Explicitly set the breakpoint at main. Switch
11878 to the SELECTED_THREAD thread.
11879 (top level): Test handling the exec event with either the main
11880 thread or the second thread selected.
11881
5c9e4427
PA
118822017-10-09 Pedro Alves <palves@redhat.com>
11883
11884 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11885 logic. Move STOP marker after the value checks.
11886 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11887 regexp.
11888
b3b7c423
SL
118892017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11890
11891 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11892
3b4b2f16
UW
118932017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11894
11895 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11896 integer-to-dfp conversion.
11897 * gdb.base/dfp-test.exp: Likewise.
11898
5cd63fda
PA
118992017-10-04 Pedro Alves <palves@redhat.com>
11900
11901 * gdb.multi/hangout.c: Include <unistd.h>.
11902 (hangout_loop): New function.
11903 (main): Call alarm. Call hangout_loop in a loop.
11904 * gdb.multi/hello.c: Include <unistd.h>.
11905 (hello_loop): New function.
11906 (main): Call alarm. Call hangout_loop in a loop.
11907 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11908 inferior with the other selected.
11909
4c71c105
SM
119102017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11911
11912 * gdb.mi/list-thread-groups-available.exp: New file.
11913 * gdb.mi/list-thread-groups-available.c: New file.
11914
bc3b087d
SDJ
119152017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11916
11917 * gdb.base/set-cwd.exp: Make it available on
11918 native-extended-gdbserver.
11919
d092c5a2
SDJ
119202017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11921
11922 * gdb.base/set-cwd.c: New file.
11923 * gdb.base/set-cwd.exp: Likewise.
11924
45320ffa
TT
119252017-10-02 Tom Tromey <tom@tromey.com>
11926
11927 PR rust/22236:
11928 * gdb.rust/simple.rs (main): New variable "fslice".
11929 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11930
b3e3859b
TT
119312017-10-02 Tom Tromey <tom@tromey.com>
11932
11933 * gdb.rust/simple.exp: Test ptype of a slice.
11934
01af5e0d
TT
119352017-10-02 Tom Tromey <tom@tromey.com>
11936
11937 * gdb.rust/simple.exp: Test index of slice.
11938
a9bbfbd8
TT
119392017-09-27 Tom Tromey <tom@tromey.com>
11940
11941 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11942
df8899e5
TP
119432017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11944 Pedro Alves <palves@redhat.com>
11945
11946 * gdb.base/compare-sections.exp (get value of read-only section): Read
11947 as unsigned value.
11948 (corrupt read-only section): Likewise and don't set written if patching
11949 failed.
11950
757bf54b
KB
119512017-09-21 Kevin Buettner <kevinb@redhat.com>
11952
11953 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11954 files.
11955
06871ae8
PA
119562017-09-20 Pedro Alves <palves@redhat.com>
11957
11958 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11959 symbol names in gdb's output.
11960 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11961
e5f25bc5
PA
119622017-09-20 Pedro Alves <palves@redhat.com>
11963
11964 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11965 Rename to ...
11966 (test_list_ambiguous_symbol): ... this and add a symbol name
11967 parameter. Adjust.
11968 (test_list_ambiguous_function): Reimplement on top of
11969 test_list_ambiguous_symbol and also test listing ambiguous
11970 variables.
11971 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11972 (ambiguous_fun): ... this.
11973 (ambiguous_var): New.
11974 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11975 (ambiguous_fun): ... this.
11976 (ambiguous_var): New.
11977
4e5a4f58
JB
119782017-09-19 John Baldwin <jhb@FreeBSD.org>
11979
11980 * gdb.base/starti.c: New file.
11981 * gdb.base/starti.exp: New file.
11982 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11983
26e53f3e
PA
119842017-09-14 Pedro Alves <palves@redhat.com>
11985
11986 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11987 (top level): Use it instead of runto.
11988
cb791d59
TT
119892017-09-11 Tom Tromey <tom@tromey.com>
11990
11991 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11992
7c96f8c1
TT
119932017-09-11 Tom Tromey <tom@tromey.com>
11994
11995 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11996 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11997
469412dd
CW
119982017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11999
12000 * gdb.fortran/printing-types.exp: New file.
12001 * gdb.fortran/printing-types.exp: New file.
12002
e0f86435
BH
120032017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12004
12005 * gdb.fortran/vla-ptype.exp: Fix typos.
12006 * gdb.fortran/vla-value.exp: Same.
12007
9e9af4be
BH
120082017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12009
12010 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12011 * gdb.mi/mi-var-child-f.exp: Likewise.
12012 * gdb.mi/mi-vla-fortran.exp: Likewise.
12013
a5ad232b 120142017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
12015 Christoph Weinmann <christoph.t.weinmann@intel.com>
12016 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
12017
12018 * gdb.fortran/ptr-indentation.f90: New file.
12019 * gdb.fortran/ptr-indentation.exp: New file.
12020
5aec60eb
TT
120212017-09-05 Tom Tromey <tom@tromey.com>
12022
12023 PR gdb/22010:
12024 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12025
8f8f8152
TP
120262017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12027
12028 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12029
fbd1b771
JK
120302017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12031
12032 * gdb.threads/tls-nodebug-pie.c: New file.
12033 * gdb.threads/tls-nodebug-pie.exp: New file.
12034
5eb5f850
TT
120352017-09-05 Tom Tromey <tom@tromey.com>
12036
12037 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12038 for rust.
12039
ae780a21
SM
120402017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12041
12042 * gdb.multi/multi-arch-exec.exp: Test with different
12043 "follow-exec-mode" settings.
12044 (do_test): New procedure.
12045
3693fdb3
PA
120462017-09-04 Pedro Alves <palves@redhat.com>
12047
12048 * gdb.base/func-static.c (S::method const, S::method volatile)
12049 (S::method volatile const): New methods.
12050 (c_s, v_s, cv_s): New instances.
12051 (main): Call method() on them.
12052 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12053 (cannot_resolve): New procedure.
12054 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12055 print-quote-unquoted columns.
12056 (do_test): Test printing each scope too.
12057
e68cb8e0
PA
120582017-09-04 Pedro Alves <palves@redhat.com>
12059
12060 * gdb.base/local-static.exp: Also test with
12061 class::method::variable wholly quoted.
12062 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12063
858be34c
PA
120642017-09-04 Pedro Alves <palves@redhat.com>
12065
12066 * gdb.base/local-static.c: New.
12067 * gdb.base/local-static.cc: New.
12068 * gdb.base/local-static.exp: New.
12069
46a4882b
PA
120702017-09-04 Pedro Alves <palves@redhat.com>
12071
12072 * gdb.asm/asm-source.exp: Add casts to int.
12073 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12074 (dataglobal64_1, dataglobal64_2): New globals.
12075 * gdb.base/nodebug.exp: Test different expressions involving the
12076 new globals, with print, whatis and ptype. Add casts to int.
12077 * gdb.base/solib-display.exp: Add casts to int.
12078 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12079 * gdb.cp/m-static.exp: Add cast to int.
12080 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12081 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12082 tls variable with no debug info without a cast. Test with a cast
12083 to int too.
12084 * gdb.trace/entry-values.exp: Add casts.
12085
2c5a2be1
PA
120862017-09-04 Pedro Alves <palves@redhat.com>
12087
12088 * gdb.base/nodebug.exp: Test that ptype's error about functions
12089 with unknown return type includes the function name too.
12090
7022349d
PA
120912017-09-04 Pedro Alves <palves@redhat.com>
12092
12093 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12094 return type of munmap in infcall.
12095 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12096 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12097 type of ftell in infcall.
12098 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12099 type of getpid in infcall.
12100 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12101 infcall.
12102 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12103 Bail on failure to extract the pid.
12104 * gdb.base/nodebug.c: #include <stdint.h>.
12105 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12106 New functions.
12107 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12108 Change expected output of print/whatis/ptype with functions with
12109 no debug info. Test all supported languages. Call
12110 test_call_promotion.
12111 * gdb.compile/compile.exp: Adjust expected output to expect
12112 warning.
12113 * gdb.threads/siginfo-threads.exp: Likewise.
12114
54990598
PA
121152017-09-04 Pedro Alves <palves@redhat.com>
12116
12117 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12118 "prototypes". Test calling float functions via prototyped and
12119 unprototyped function pointers.
12120 (perform_all_tests): New parameter "prototypes". Pass it down.
12121 (top level): Pass down "prototypes" parameter to
12122 perform_all_tests.
12123
34d16ea2
SM
121242017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12125
12126 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12127 Test with nested loops.
12128
9521ecda
SM
121292017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12130
12131 * gdb.base/commands.exp: Call the new procedures.
12132 (loop_break_test, loop_continue_test): New procedures.
12133
80a65e9b
SM
121342017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12135
12136 * gdb.base/commands.exp: Call new procedure.
12137 (define_if_without_arg_test): New procedure.
12138
e439fa14
PA
121392017-09-04 Pedro Alves <palves@redhat.com>
12140
12141 * gdb.base/list-ambiguous.exp: New file.
12142 * gdb.base/list-ambiguous0.c: New file.
12143 * gdb.base/list-ambiguous1.c: New file.
12144 * gdb.base/list.exp (test_list_range): Adjust expected output.
12145
0a2dde4a
SDJ
121462017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12147
12148 * gdb.base/share-env-with-gdbserver.c: New file.
12149 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12150
5e89eb3a
SM
121512017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12152
12153 * gdb.base/commands.exp (gdbvar_simple_if_test,
12154 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12155 progvar_simple_if_test, progvar_simple_while_test,
12156 progvar_complex_if_while_test, user_defined_command_test,
12157 user_defined_command_args_eval,
12158 user_defined_command_args_stack_test,
12159 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12160 temporary_breakpoint_commands,
12161 gdb_test_no_prompt, redefine_hook_test,
12162 redefine_backtrace_test): Remove "global gdb_prompt".
12163
fd437cbc
SM
121642017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12165
12166 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12167 New proc, call it from toplevel.
12168
87215ad1
SDJ
121692017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12170
12171 PR remote/21852
12172 * gdb.server/normal.c: New file, copied from gdb.base.
12173 * gdb.server/run-without-local-binary.exp: New file.
12174
58afddc6
WP
121752017-08-07 Weimin Pan <weimin.pan@oracle.com>
12176
12177 * gdb.arch/sparc64-adi.exp: New file.
12178 * gdb.arch/sparc64-adi.c: New file.
12179
5277199a
PA
121802017-08-22 Pedro Alves <palves@redhat.com>
12181
12182 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12183 (top level): Add "list all overloads" tests.
12184
14278e1f
TT
121852017-08-22 Tom Tromey <tom@tromey.com>
12186
12187 * gdb.gdb/xfullpath.exp: Remove.
12188
bf223d3e
PA
121892017-08-21 Pedro Alves <palves@redhat.com>
12190
12191 PR gdb/19487
12192 * gdb.base/symbol-alias.c: New.
12193 * gdb.base/symbol-alias2.c: New.
12194 * gdb.base/symbol-alias.exp: New.
12195
c973d0aa
PA
121962017-08-21 Pedro Alves <palves@redhat.com>
12197
12198 * gdb.base/dfp-test.c
12199 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12200 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12201 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12202 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12203 * gdb.base/whatis-ptype-typedefs.c: New.
12204 * gdb.base/whatis-ptype-typedefs.exp: New.
12205 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12206 (an_int, an_int_type, an_int_type2): New globals.
12207 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12208 involving typedefs and cast expressions.
12209 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12210 (lookup_typedefs_function): New.
12211 (typedefs_pretty_printers_dict): New.
12212 (top level): Register lookup_typedefs_function in
12213 gdb.pretty_printers.
12214
6d580b63
YQ
122152017-08-18 Yao Qi <yao.qi@linaro.org>
12216
12217 * gdb.server/unittest.exp: New.
12218
206726fb
SDJ
122192017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12220
12221 PR gdb/21954
12222 * gdb.base/environ.exp: Add test to check if 'unset environment'
12223 works.
12224
bf0ec4c2
AA
122252017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12226
12227 * lib/gdb.exp (universal_compile_options): New caching proc.
12228 (gdb_compile): Suppress GCC's coloring of messages.
12229
d6382fff
TT
122302017-08-14 Tom Tromey <tom@tromey.com>
12231
12232 PR gdb/21675:
12233 * gdb.base/printcmds.exp (test_radices): New function.
12234 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12235 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12236 * lib/gdb.exp (get_integer_valueof): Use p/d.
12237
c2c2dd9f
SM
122382017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12239
12240 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12241 characters.
12242
fdffd6f4
TT
122432017-08-05 Tom Tromey <tom@tromey.com>
12244
12245 * gdb.rust/simple.exp: Allow String to appear in a different
12246 namespace.
12247
27d41eac
YQ
122482017-07-26 Yao Qi <yao.qi@linaro.org>
12249
12250 * gdb.gdb/unittest.exp: Invoke command
12251 "maintenance check xml-descriptions".
12252
031ed05d
AA
122532017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12254
12255 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12256 calling context.
12257 (hex128): Drop erroneous calculation of parameters.
12258
dcd27ddf
SM
122592017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12260
12261 * gdb.python/py-unwind.exp: Disable stack protection when
12262 building test file.
12263
47e77640
PA
122642017-07-20 Pedro Alves <palves@redhat.com>
12265
12266 * gdb.base/default.exp (set language): Adjust expected output.
12267
62d2a18a
PA
122682017-07-20 Pedro Alves <palves@redhat.com>
12269
12270 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12271 (test_minsym): ... this, and make static.
12272 (get_pck__foo__bar__minsym): Rename to ...
12273 (get_test_minsym): ... this.
12274 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12275 symbol names and comments.
12276 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12277 (get_test_minsym): ... this.
12278 (pck__foo__bar__minsym__2): Rename to ...
12279 (test_minsym): ... this.
12280 (main): Adjust.
12281
c45ec17c
PA
122822017-07-17 Pedro Alves <palves@redhat.com>
12283
12284 * gdb.base/completion.exp: Adjust expected output.
12285 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12286 the completer works.
12287
c6756f62
PA
122882017-07-17 Pedro Alves <palves@redhat.com>
12289
12290 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12291
5bd68487
AB
122922017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12293
12294 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12295
8880f2a9
TT
122962017-07-14 Tom Tromey <tom@tromey.com>
12297
12298 PR rust/21764:
12299 * gdb.rust/simple.exp: Add tests.
12300
65547233
TT
123012017-07-14 Tom Tromey <tom@tromey.com>
12302
12303 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12304
8f14146e
PA
123052017-07-14 Pedro Alves <palves@redhat.com>
12306
12307 * gdb.linespec/base/one/thefile.cc (z1): New function.
12308 * gdb.linespec/base/two/thefile.cc (z2): New function.
12309 * gdb.linespec/linespec.exp: Add tests.
12310
b4365d02
AB
123112017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12312
12313 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12314 to mi_create_breakpoint.
12315
5d2cbaa5
AB
123162017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12317
12318 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12319 mi_create_breakpoint.
12320
11cb5716
IB
123212017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12322
12323 * gdb.dlang/demangle.exp: Update for demangling changes.
12324
03278692
TT
123252017-07-09 Tom Tromey <tom@tromey.com>
12326
12327 * gdb.dwarf2/shortpiece.exp: New file.
12328
33c5cd75
DB
123292017-07-06 David Blaikie <dblaikie@gmail.com>
12330
12331 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12332 built from fissiont-multi-cu{1,2}.c.
12333 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12334 except putting 'main' and 'func' in separate CUs in the same DWO file.
12335 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12336 test.
12337 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12338 test.
12339
8455d262
PA
123402017-07-06 Pedro Alves <palves@redhat.com>
12341
12342 * gdb.python/py-unwind.exp: Test flushregs.
12343
dc4bde35
SDJ
123442017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12345
12346 PR cli/21688
12347 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12348 tests for alias commands and trailing whitespace.
12349
51ed89aa
SDJ
123502017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12351
12352 PR cli/21688
12353 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12354 procedure. Call it.
12355
eb17d413
PA
123562017-06-29 Pedro Alves <palves@redhat.com>
12357
12358 * gdb.base/printcmds.exp: Add tests.
12359
41664b45
DG
123602017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12361
12362 PR gdb/21337
12363 * gdb.base/reread-readsym.exp: New file.
12364 * gdb.base/reread-readsym.c: New file.
12365
75312ae3
KB
123662017-06-21 Kevin Buettner <kevinb@redhat.com>
12367
12368 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12369 subpattern.
12370
66953522
PB
123712017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12372
12373 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12374 extended mnemonic.
12375 * gdb.arch/powerpc-power9.s: Likewise.
12376
5524b525
AA
123772017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12378
12379 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12380 on 32-bit x86 targets. Exploit is_*_target macros where
12381 appropriate.
12382
03c8af18
AA
123832017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12384
12385 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12386 register pieces.
12387
3bf31011
AA
123882017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12389
12390 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12391 located in one or more DWARF pieces.
12392
805acca0
AA
123932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12394
12395 * lib/gdb.exp (get_endianness): New proc.
12396 * gdb.arch/aarch64-fp.exp: Use it.
12397 * gdb.arch/altivec-regs.exp: Likewise.
12398 * gdb.arch/e500-regs.exp: Likewise.
12399 * gdb.arch/vsx-regs.exp: Likewise.
12400 * gdb.base/dump.exp: Likewise.
12401 * gdb.base/funcargs.exp: Likewise.
12402 * gdb.base/gnu_vector.exp: Likewise.
12403 * gdb.dwarf2/formdata16.exp: Likewise.
12404 * gdb.dwarf2/implptrpiece.exp: Likewise.
12405 * gdb.dwarf2/nonvar-access.exp: Likewise.
12406 * gdb.python/py-inferior.exp: Likewise.
12407 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12408
e9352324
AA
124092017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12410
12411 PR gdb/21226
12412 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12413 stack value pieces are taken from the LSB end.
12414
d5d1163e
AA
124152017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12416
12417 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12418 variable at nonzero offset.
12419
0567c986
AA
124202017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12421
12422 * gdb.dwarf2/var-access.c: New file.
12423 * gdb.dwarf2/var-access.exp: New test.
12424 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12425
973e9aab
TT
124262017-06-12 Tom Tromey <tom@tromey.com>
12427
12428 * gdb.dwarf2/formdata16.exp: Add tests.
12429
d9109c80
TT
124302017-06-12 Tom Tromey <tom@tromey.com>
12431
12432 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12433
30a25466
TT
124342017-06-12 Tom Tromey <tom@tromey.com>
12435
12436 PR exp/16225:
12437 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12438 * gdb.arch/vsx-regs.exp: Update tests.
12439 * gdb.arch/s390-vregs.exp (hex128): New proc.
12440 Update test.
12441 * gdb.arch/altivec-regs.exp: Update tests.
12442
aefd8b33
SDJ
124432017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12444
12445 * gdb.base/startup-with-shell.c: New file.
12446 * gdb.base/startup-with-shell.exp: Likewise.
12447
2090129c
SDJ
124482017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12449
12450 * gdb.server/non-existing-program.exp: Update regex in order to
12451 reflect the fact that gdbserver is now using fork_inferior (with a
12452 shell) to startup the inferior.
12453
8e86a419
SM
124542017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12455
12456 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12457 support function calls from GDB.
12458
e6cf65f2
TT
124592017-05-21 Tom Tromey <tom@tromey.com>
12460
12461 PR rust/21466:
12462 * gdb.rust/unsized.exp: New file.
12463 * gdb.rust/unsized.rs: New file.
12464
43cc5389
TT
124652017-05-19 Tom Tromey <tom@tromey.com>
12466
12467 PR rust/21484:
12468 * gdb.rust/watch.exp: New file.
12469 * gdb.rust/watch.rs: New file.
12470
ec8df234
TT
124712017-05-18 Tom Tromey <tom@tromey.com>
12472
12473 * gdb.rust/simple.exp: Allow Box to be qualified.
12474
3e3e7fae
TP
124752017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12476
12477 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12478
59cc050d
PA
124792017-05-18 Pedro Alves <palves@redhat.com>
12480
12481 * gdb.base/fileio.c (test_write, test_read, test_close)
12482 (test_fstat): Don't print 'ret' in the fail path.
12483
c8f6abd1
PA
124842017-05-18 Pedro Alves <palves@redhat.com>
12485
12486 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12487 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12488 (test_system, test_rename, test_unlink, test_time): Change
12489 prototypes.
12490 * gdb.base/fileio.exp (stop_msg): Adjust.
12491
d2a03b77
PA
124922017-05-18 Pedro Alves <palves@redhat.com>
12493
12494 * gdb.base/fileio.c (null_str): New global.
12495 (test_stat): Use it.
12496 * gdb.base/fileio.exp: Remove nowarnings.
12497
0d5c6999
YQ
124982017-05-17 Yao Qi <yao.qi@linaro.org>
12499
12500 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12501
21873064
YQ
125022017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12503
12504 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12505 argument command.
12506 (top-level): Invoke test_set_inferior_tty.
12507
d512d31c
PA
125082017-05-04 Pedro Alves <palves@redhat.com>
12509
12510 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12511 Add parens to print call for Python 3.
12512
90cef2ed
KS
125132017-05-03 Keith Seitz <keiths@redhat.com>
12514
12515 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12516 (main): Call it.
12517
14f819c8
TW
125182017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12519
12520 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12521 to prev and next.
12522
913aeadd
TW
125232017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12524
12525 * gdb.python/py-record-btrace.exp: Remove test for
12526 gdb.BtraceInstruction.error.
12527
a3be24ad
TW
125282017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12529
12530 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12531
ae20e79a
TW
125322017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12533
12534 * gdb.python/py-record-btrace-threads.c: New file.
12535 * gdb.python/py-record-btrace-threads.exp: New file.
12536
45ce1b47
SDJ
125372017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12538
12539 PR testsuite/8595
12540 * gdb.base/environ.exp: Make test available in all architectures.
12541 Move bits related to "info program" testing to
12542 gdb.base/info-program.exp. Rewrite tests to use the two new
12543 procedures mentione below.
12544 (test_set_show_env_var) New procedure.
12545 (test_set_show_env_var_equal): Likewise.
12546 * gdb.base/info-program.exp: New file.
12547
e15c3eb4
KS
125482017-04-27 Keith Seitz <keiths@redhat.com>
12549
12550 * gdb.cp/oranking.cc (test15): New function.
12551 (main): Call test15 and declare additional variables for testing.
12552 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12553 "p foo101('abc')" tests.
12554 Add tests for cv qualifier overloads.
12555 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12556 "lvalue reference overload" test.
12557 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12558 "print value of f1 on Child&& in f2" test.
12559
3a3fd0fd
PA
125602017-04-19 Pedro Alves <palves@redhat.com>
12561
12562 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12563 procedure.
12564 (top level): Call it.
12565 * lib/gdb.exp (gdb_define_cmd): New procedure.
12566
53375380
PA
125672017-04-12 Pedro Alves <palves@redhat.com>
12568
12569 PR gdb/21323
12570 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12571 (wchar): New global.
12572 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12573 (do_test_wide_char, wide_char_types_no_program, top level): Add
12574 wchar_t testing.
12575
53e710ac
PA
125762017-04-12 Pedro Alves <palves@redhat.com>
12577
12578 PR c++/21323
12579 * gdb.cp/wide_char_types.c: New file.
12580 * gdb.cp/wide_char_types.exp: New file.
12581
0ad9d8c7
SDJ
125822017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12583
12584 PR gdb/21352
12585 * gdb.trace/tsv.exp: Add test for "tsave -r".
12586
b1b45502
IB
125872017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12588
12589 * gdb.dlang/watch-loc.c: New file.
12590 * gdb.dlang/watch-loc.exp: New file.
12591
ec13808e
JK
125922017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12593
12594 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12595
fe5f7374
AK
125962017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12597
12598 * gdb.arch/arc-analyze-prologue.S: New file.
12599 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12600
eea78757
AK
126012017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12602
12603 * gdb.arch/arc-decode-insn.S: New file.
12604 * gdb.arch/arc-decode-insn.exp: Likewise.
12605
5badf10a
IR
126062017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12607
12608 PR tdep/20928
12609 * gdb.arch/sparc64-regs.exp: New file.
12610 * gdb.arch/sparc64-regs.S: Likewise.
12611
cee59b3f
TW
126122017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12613
12614 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12615 and memory view on Python 3.
12616
c0f55cc6
AV
126172017-03-20 Artemiy Volkov <artemiyv@acm.org>
12618 Keith Seitz <keiths@redhat.com>
12619
12620 PR gdb/14441
12621 * gdb.cp/demangle.exp: Add rvalue reference tests.
12622 * gdb.cp/rvalue-ref-casts.cc: New file.
12623 * gdb.cp/rvalue-ref-casts.exp: New file.
12624 * gdb.cp/rvalue-ref-overload.cc: New file.
12625 * gdb.cp/rvalue-ref-overload.exp: New file.
12626 * gdb.cp/rvalue-ref-params.cc: New file.
12627 * gdb.cp/rvalue-ref-params.exp: New file.
12628 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12629 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12630 * gdb.cp/rvalue-ref-types.cc: New file.
12631 * gdb.cp/rvalue-ref-types.exp: New file.
12632 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12633 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12634
51457a05
MAL
126352017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12636
12637 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12638 New procedure.
12639
5b291c04
MAL
126402017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12641
12642 * lib/mi-support.exp (mi_gdb_test): Add additional message
12643 for unexpected output.
12644
59a56148
AA
126452017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12646
12647 * gdb.base/examine-backward.c (Barrier): New character array
12648 constant, to ensure that TestStrings is preceded by a string
12649 terminator.
12650
7942e96e
AA
126512017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12652
12653 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12654 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12655 and implicit pointer into such a location.
12656
6ebac3fb
DE
126572017-03-16 Doug Evans <dje@google.com>
12658
12659 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12660
ec3b243d
TP
126612017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12662
12663 * gdb.cp/m-static.exp: Fix expectation for prototype of
12664 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12665
126662017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12667
12668 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12669 * gdb.guile/scm-lazy-string.c: New file.
12670 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12671 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12672 for pointer, array, typedef lazy strings.
12673
2cc36e25 126742017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12675
12676 PR python/17728, python/18439, python/18779
12677 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12678 * gdb.python/py-lazy-string.c (pointer): New typedef.
12679 (main): New locals ptr, array, typedef_ptr.
12680 * gdb.python/py-value.exp: Move lazy string tests to ...
12681 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12682 array, typedef lazy strings.
ec3b243d 12683
0efcde63
AK
126842017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12685
12686 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12687 Add optional 'test' parameter.
12688
7978d7c3
SM
126892017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12690
12691 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12692 Skip for versions of DejaGnu < 1.5.
12693
896c0c1e
SM
126942017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12695
12696 * lib/gdb.exp (dejagnu_version): New proc.
12697 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12698 Use dejagnu_version.
12699
5f4d1085
KS
127002017-03-10 Keith Seitz <keiths@redhat.com>
12701
12702 PR c++/8128
12703 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12704 type from destructor regexps.
12705 Add a branch which actually passes the test.
12706 Adjust "ptype t5i" test names.
12707
1de05205
PA
127082017-03-08 Pedro Alves <palves@redhat.com>
12709
12710 * gdb.base/step-over-exit.exp: Add explicit test message.
12711
c65d6b55
PA
127122017-03-08 Pedro Alves <palves@redhat.com>
12713
12714 PR gdb/18360
12715 * gdb.threads/interrupt-while-step-over.c: New file.
12716 * gdb.threads/interrupt-while-step-over.exp: New file.
12717
2e86a283
PA
127182017-03-08 Pedro Alves <palves@redhat.com>
12719
12720 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12721 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12722
25dcbff6
PA
127232017-03-08 Pedro Alves <palves@redhat.com>
12724
12725 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12726 PKRU as not supported as a PASS.
12727
dc9366eb
PA
127282017-03-08 Pedro Alves <palves@redhat.com>
12729
12730 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12731 prefix instead of $binfile1/$binfile2.
12732 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12733 in test message.
12734 * gdb.python/py-completion.exp: Use "load python file" as test
12735 messages instead of unstable path names.
12736
6e5d74e7
PA
127372017-03-08 Pedro Alves <palves@redhat.com>
12738 Jan Kratochvil <jan.kratochvil@redhat.com>
12739
12740 PR cli/21218
12741 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12742 New proc.
12743 (top level): Call it.
12744
9753a2f6
PA
127452017-03-08 Pedro Alves <palves@redhat.com>
12746
12747 PR tui/21216
12748 * gdb.tui/tui-nl-filtered-output.exp: New file.
12749
1a4dd9dd
PA
127502017-03-08 Pedro Alves <palves@redhat.com>
12751
12752 * gdb.base/completion.exp: Move TUI completion tests to ...
12753 * gdb.tui/completion.exp: ... this new file.
12754
7cbbff33
PA
127552017-03-08 Pedro Alves <palves@redhat.com>
12756
12757 * gdb.base/tui-disasm-long-lines.c,
12758 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12759 gdb.base/tui-layout.exp: Move to ...
12760 * gdb.tui/: ... this new directory.
12761
5f6fd321
PA
127622017-03-07 Pedro Alves <palves@redhat.com>
12763
12764 * gdb.base/tui-layout.c: New file.
12765 * gdb.base/tui-layout.exp: New file.
12766
44959fa8
PA
127672017-03-07 Pedro Alves <palves@redhat.com>
12768
12769 * gdb.base/tui-layout.c: Rename to ...
12770 * gdb.base/tui-disasm-long-lines.c: ... this.
12771 * gdb.base/tui-layout.exp: Rename to ...
12772 * gdb.base/tui-disasm-long-lines.exp: ... this.
12773
f8c4e718
PA
127742017-03-07 Pedro Alves <palves@redhat.com>
12775
12776 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12777
6dbb839a 127782017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12779
12780 * i386-mpx-call.c: New file.
12781 * i386-mpx-call.exp: New file.
12782
65b48a81
PB
127832017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12784
12785 * gdb.arch/powerpc-power.exp: Delete test.
12786 * gdb.arch/powerpc-power.s: Likewise.
12787 * gdb.disasm/disassembler-options.exp: New test.
12788 * gdb.arch/powerpc-altivec.exp: Likewise.
12789 * gdb.arch/powerpc-altivec.s: Likewise.
12790 * gdb.arch/powerpc-altivec2.exp: Likewise.
12791 * gdb.arch/powerpc-altivec2.s: Likewise.
12792 * gdb.arch/powerpc-altivec3.exp: Likewise.
12793 * gdb.arch/powerpc-altivec3.s: Likewise.
12794 * gdb.arch/powerpc-power7.exp: Likewise.
12795 * gdb.arch/powerpc-power7.s: Likewise.
12796 * gdb.arch/powerpc-power8.exp: Likewise.
12797 * gdb.arch/powerpc-power8.s: Likewise.
12798 * gdb.arch/powerpc-power9.exp: Likewise.
12799 * gdb.arch/powerpc-power9.s: Likewise.
12800 * gdb.arch/powerpc-vsx.exp: Likewise.
12801 * gdb.arch/powerpc-vsx.s: Likewise.
12802 * gdb.arch/powerpc-vsx2.exp: Likewise.
12803 * gdb.arch/powerpc-vsx2.s: Likewise.
12804 * gdb.arch/powerpc-vsx3.exp: Likewise.
12805 * gdb.arch/powerpc-vsx3.s: Likewise.
12806 * gdb.arch/arm-disassembler-options.exp: Likewise.
12807 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12808 * gdb.arch/s390-disassembler-options.exp: Likewise.
12809
17cd4947
LM
128102017-02-23 Luis Machado <lgustavo@codesourcery.com>
12811
12812 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12813 (check_supported_features): ... this. Changed return type to void.
12814 (supports_rdseed): New static global.
12815 (rdseed): Check supports_rdseed.
12816 (initialize): Call check_supported_features.
12817
2039d74e
EBM
128182017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12819
12820 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12821 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12822 and lqarx/stqcx.
12823 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12824 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12825
a51d7ecf
EBM
128262017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12827
12828 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12829 uppercase.
12830
0224619f
JK
128312017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12832
12833 * gdb.dwarf2/formdata16.c: New file.
12834 * gdb.dwarf2/formdata16.exp: New file.
12835 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12836
216f72a1
JK
128372017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12838
12839 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12840 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12841 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12842 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12843 DW_AT_GNU_*.
12844
43988095
JK
128452017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12846
12847 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12848
99e8a4f9
SDJ
128492017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12850
12851 PR gdb/21164
12852 * gdb.base/maint.exp: Add testcases for when the commands do
12853 not have arguments.
12854
b58a8c0c
TP
128552017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12856
12857 * gdb.cp/chained-calls.exp: Use p instead of P.
12858
4e746bb6
TW
128592017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12860
12861 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12862 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12863
3f77c769
TT
128642017-02-14 Tom Tromey <tom@tromey.com>
12865
12866 PR python/13598:
12867 * gdb.python/py-events.exp: Add before_prompt event tests.
12868
075beec0
AA
128692017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12870
12871 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12872
bf5f525c
LM
128732017-02-13 Luis Machado <lgustavo@codesourcery.com>
12874
12875 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12876 (main): Call my_unique_function_name.
12877 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12878 completion of patterns with a single match.
12879 Add missing -re switches to gdb_test_multiple calls.
12880
13a66184
LM
128812017-02-13 Luis Machado <lgustavo@codesourcery.com>
12882
12883 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12884 return if core file is not recognized.
12885
26a06916
SM
128862017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12887
12888 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12889 and extra UIs.
12890
b761ca9e
SM
128912017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12892
12893 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12894 proc_with_prefix.
12895
b964bee0
TT
128962017-02-10 Tom Tromey <tom@tromey.com>
12897
12898 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12899
18da0c51
MG
129002017-02-10 Martin Galvan <martingalvan@sourceware.org>
12901
12902 PR gdb/21122
12903 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12904
604c4576
JG
129052017-02-08 Jerome Guitton <guitton@adacore.com>
12906
12907 * gdb.base/define.exp: Add test for command abbreviations
12908 in define.
12909
20b477a7
LM
129102017-02-06 Luis Machado <lgustavo@codesourcery.com>
12911
12912 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12913 * gdb.reverse/insn-reverse-x86.c: New file.
12914
3f7b46f2
IR
129152017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12916
12917 PR tdep/20936
12918 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12919
f0fd41c1
TT
129202017-02-03 Tom Tromey <tom@tromey.com>
12921
12922 PR rust/21097:
12923 * gdb.rust/simple.exp: Add new tests.
12924
5be5dbf0
PA
129252017-02-02 Pedro Alves <palves@redhat.com>
12926
12927 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12928 tests.
12929
7346ef59
AA
129302017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12931
12932 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12933 taking a 2-byte value out of a 4-byte DWARF implicit value on
12934 big-endian targets.
12935 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12936 logic. Add test cases for DW_OP_implicit.
12937
787f0025
MM
129382017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12939
12940 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12941
68777c29
MM
129422017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12943
12944 * gdb.btrace/enable.exp: Call gdb_exit before
12945 skip_gdbserver_tests.
12946
0a1c7e28
MM
129472017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12948
12949 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12950 GDBFLAGS.
12951
b5ac99b0
MM
129522017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12953
12954 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12955 the test is skipped.
12956 * gdb.btrace/data.exp: Likewise.
12957 * gdb.btrace/delta.exp: Likewise.
12958 * gdb.btrace/dlopen.exp: Likewise.
12959 * gdb.btrace/enable-running.exp: Likewise.
12960 * gdb.btrace/enable.exp: Likewise.
12961 * gdb.btrace/exception.exp: Likewise.
12962 * gdb.btrace/function_call_history.exp: Likewise.
12963 * gdb.btrace/gcore.exp: Likewise.
12964 * gdb.btrace/instruction_history.exp: Likewise.
12965 * gdb.btrace/multi-thread-step.exp: Likewise.
12966 * gdb.btrace/nohist.exp: Likewise.
12967 * gdb.btrace/non-stop.exp: Likewise.
12968 * gdb.btrace/reconnect.exp: Likewise.
12969 * gdb.btrace/record_goto-step.exp: Likewise.
12970 * gdb.btrace/record_goto.exp: Likewise.
12971 * gdb.btrace/rn-dl-bind.exp: Likewise.
12972 * gdb.btrace/segv.exp: Likewise.
12973 * gdb.btrace/step.exp: Likewise.
12974 * gdb.btrace/stepi.exp: Likewise.
12975 * gdb.btrace/tailcall-only.exp: Likewise.
12976 * gdb.btrace/tailcall.exp: Likewise.
12977 * gdb.btrace/tsx.exp: Likewise.
12978 * gdb.btrace/unknown_functions.exp: Likewise.
12979 * gdb.btrace/vdso.exp: Likewise.
12980
cd4007e4
MM
129812017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12982
12983 * gdb.btrace/enable-running.c: New.
12984 * gdb.btrace/enable-running.exp: New.
12985
2735833d
WT
129862017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12987
12988 * gdb.arch/amd64-gs_base.c: New file.
12989 * gdb.arch/amd64-gs_base.exp: New file.
12990
b51e1e94
LM
129912017-01-26 Luis Machado <lgustavo@codesourcery.com>
12992
12993 * lib/memory.exp: Remove spurious empty newlines.
12994
72ca0410
SM
129952017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12996
12997 * gdb.python/py-bad-printers.exp: Load python file using "source".
12998 * gdb.python/py-events.exp: Likewise.
12999 * gdb.python/py-evsignal.exp: Likewise.
13000 * gdb.python/py-evthreads.exp: Likewise.
13001 * gdb.python/py-frame-args.exp: Likewise.
13002 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13003 * gdb.python/py-framefilter-mi.exp: Likewise.
13004 * gdb.python/py-framefilter.exp: Likewise.
13005 * gdb.python/py-mi.exp: Likewise.
13006 * gdb.python/py-pp-maint.exp: Likewise.
13007 * gdb.python/py-pp-registration.exp: Likewise.
13008 * gdb.python/py-prettyprint.exp: Likewise.
13009 (run_lang_tests): Likewise.
13010 * gdb.python/py-typeprint.exp: Likewise.
13011
e309aa65
LM
130122017-01-26 Luis Machado <lgustavo@codesourcery.com>
13013
13014 * lib/memory.exp: New file.
13015 * lib/gdb.exp: Load memory.exp.
13016 * gdb.base/memattr.exp (delete_memory): Move proc to
13017 lib/memory.exp and rename to delete_memory_regions.
13018 Replace delete_memory with delete_memory_regions.
13019 Cleanup memory regions before tests.
13020 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13021 before tests.
13022
515aff23
LM
130232017-01-26 Luis Machado <lgustavo@codesourcery.com>
13024
13025 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13026 files.
13027 (initialize): New function conditionally defined.
13028 (testcases): Move within conditional block.
13029 (main): Call initialize.
13030 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13031 of gdb.reverse/insn-reverse.c.
13032 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13033 gdb.reverse/insn-reverse.c.
13034
d8b49cf0
YQ
130352017-01-26 Yao Qi <yao.qi@linaro.org>
13036
13037 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13038 disassemble on address 0.
13039
f13a9a0c
YQ
130402017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13041 Yao Qi <yao.qi@linaro.org>
13042
13043 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13044 * gdb.dwarf2/implptr-64bit.S: Remove.
13045 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13046 variables in caller's context. Add DW_OP_implicit_value.
13047
5ac95241
YQ
130482017-01-25 Yao Qi <yao.qi@linaro.org>
13049
13050 * lib/dwarf.exp (Dwarf::_location): Handle
13051 DW_OP_GNU_implicit_pointer with proper size.
13052
23e82930
LM
130532017-01-20 Luis Machado <lgustavo@codesourcery.com>
13054
13055 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13056 and add untested calls.
13057
d334ae25
LM
130582017-01-20 Luis Machado <lgustavo@codesourcery.com>
13059
13060 * gdb.python/python.exp: Check line number against what GDB thinks
13061 the line number is for func1.
13062
f5e6296e
IB
130632017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13064
13065 * gdb.dlang/debug-expr.exp: New file.
13066
5b362f04
LM
130672016-12-23 Luis Machado <lgustavo@codesourcery.com>
13068
13069 Fix test names for the following files:
13070
13071 * gdb.ada/exec_changed.exp
13072 * gdb.ada/info_types.exp
13073 * gdb.arch/aarch64-atomic-inst.exp
13074 * gdb.arch/aarch64-fp.exp
13075 * gdb.arch/altivec-abi.exp
13076 * gdb.arch/altivec-regs.exp
13077 * gdb.arch/amd64-byte.exp
13078 * gdb.arch/amd64-disp-step.exp
13079 * gdb.arch/amd64-dword.exp
13080 * gdb.arch/amd64-entry-value-inline.exp
13081 * gdb.arch/amd64-entry-value-param.exp
13082 * gdb.arch/amd64-entry-value-paramref.exp
13083 * gdb.arch/amd64-entry-value.exp
13084 * gdb.arch/amd64-i386-address.exp
13085 * gdb.arch/amd64-invalid-stack-middle.exp
13086 * gdb.arch/amd64-invalid-stack-top.exp
13087 * gdb.arch/amd64-optimout-repeat.exp
13088 * gdb.arch/amd64-prologue-skip.exp
13089 * gdb.arch/amd64-prologue-xmm.exp
13090 * gdb.arch/amd64-stap-special-operands.exp
13091 * gdb.arch/amd64-stap-wrong-subexp.exp
13092 * gdb.arch/amd64-tailcall-cxx.exp
13093 * gdb.arch/amd64-tailcall-noret.exp
13094 * gdb.arch/amd64-tailcall-ret.exp
13095 * gdb.arch/amd64-tailcall-self.exp
13096 * gdb.arch/amd64-word.exp
13097 * gdb.arch/arm-bl-branch-dest.exp
13098 * gdb.arch/arm-disp-step.exp
13099 * gdb.arch/arm-neon.exp
13100 * gdb.arch/arm-single-step-kernel-helper.exp
13101 * gdb.arch/avr-flash-qualifier.exp
13102 * gdb.arch/disp-step-insn-reloc.exp
13103 * gdb.arch/e500-abi.exp
13104 * gdb.arch/e500-regs.exp
13105 * gdb.arch/ftrace-insn-reloc.exp
13106 * gdb.arch/i386-avx512.exp
13107 * gdb.arch/i386-bp_permanent.exp
13108 * gdb.arch/i386-byte.exp
13109 * gdb.arch/i386-cfi-notcurrent.exp
13110 * gdb.arch/i386-disp-step.exp
13111 * gdb.arch/i386-dr3-watch.exp
13112 * gdb.arch/i386-float.exp
13113 * gdb.arch/i386-gnu-cfi.exp
13114 * gdb.arch/i386-mpx-map.exp
13115 * gdb.arch/i386-mpx-sigsegv.exp
13116 * gdb.arch/i386-mpx-simple_segv.exp
13117 * gdb.arch/i386-mpx.exp
13118 * gdb.arch/i386-permbkpt.exp
13119 * gdb.arch/i386-prologue.exp
13120 * gdb.arch/i386-signal.exp
13121 * gdb.arch/i386-size-overlap.exp
13122 * gdb.arch/i386-unwind.exp
13123 * gdb.arch/i386-word.exp
13124 * gdb.arch/mips-fcr.exp
13125 * gdb.arch/powerpc-d128-regs.exp
13126 * gdb.arch/powerpc-stackless.exp
13127 * gdb.arch/ppc64-atomic-inst.exp
13128 * gdb.arch/s390-stackless.exp
13129 * gdb.arch/s390-tdbregs.exp
13130 * gdb.arch/s390-vregs.exp
13131 * gdb.arch/sparc-sysstep.exp
13132 * gdb.arch/thumb-bx-pc.exp
13133 * gdb.arch/thumb-singlestep.exp
13134 * gdb.arch/thumb2-it.exp
13135 * gdb.arch/vsx-regs.exp
13136 * gdb.asm/asm-source.exp
13137 * gdb.base/a2-run.exp
13138 * gdb.base/advance.exp
13139 * gdb.base/all-bin.exp
13140 * gdb.base/anon.exp
13141 * gdb.base/args.exp
13142 * gdb.base/arithmet.exp
13143 * gdb.base/async-shell.exp
13144 * gdb.base/async.exp
13145 * gdb.base/attach-pie-noexec.exp
13146 * gdb.base/attach-twice.exp
13147 * gdb.base/auto-load.exp
13148 * gdb.base/bang.exp
13149 * gdb.base/bitfields.exp
13150 * gdb.base/break-always.exp
13151 * gdb.base/break-caller-line.exp
13152 * gdb.base/break-entry.exp
13153 * gdb.base/break-inline.exp
13154 * gdb.base/break-on-linker-gcd-function.exp
13155 * gdb.base/break-probes.exp
13156 * gdb.base/break.exp
13157 * gdb.base/breakpoint-shadow.exp
13158 * gdb.base/call-ar-st.exp
13159 * gdb.base/call-sc.exp
13160 * gdb.base/call-signal-resume.exp
13161 * gdb.base/call-strs.exp
13162 * gdb.base/callfuncs.exp
13163 * gdb.base/catch-fork-static.exp
13164 * gdb.base/catch-gdb-caused-signals.exp
13165 * gdb.base/catch-load.exp
13166 * gdb.base/catch-signal-fork.exp
13167 * gdb.base/catch-signal.exp
13168 * gdb.base/catch-syscall.exp
13169 * gdb.base/charset.exp
13170 * gdb.base/checkpoint.exp
13171 * gdb.base/chng-syms.exp
13172 * gdb.base/code-expr.exp
13173 * gdb.base/code_elim.exp
13174 * gdb.base/commands.exp
13175 * gdb.base/completion.exp
13176 * gdb.base/complex.exp
13177 * gdb.base/cond-expr.exp
13178 * gdb.base/condbreak.exp
13179 * gdb.base/consecutive.exp
13180 * gdb.base/continue-all-already-running.exp
13181 * gdb.base/coredump-filter.exp
13182 * gdb.base/corefile.exp
13183 * gdb.base/dbx.exp
13184 * gdb.base/debug-expr.exp
13185 * gdb.base/define.exp
13186 * gdb.base/del.exp
13187 * gdb.base/disabled-location.exp
13188 * gdb.base/disasm-end-cu.exp
13189 * gdb.base/disasm-optim.exp
13190 * gdb.base/display.exp
13191 * gdb.base/duplicate-bp.exp
13192 * gdb.base/ena-dis-br.exp
13193 * gdb.base/ending-run.exp
13194 * gdb.base/enumval.exp
13195 * gdb.base/environ.exp
13196 * gdb.base/eu-strip-infcall.exp
13197 * gdb.base/eval-avoid-side-effects.exp
13198 * gdb.base/eval-skip.exp
13199 * gdb.base/exitsignal.exp
13200 * gdb.base/expand-psymtabs.exp
13201 * gdb.base/filesym.exp
13202 * gdb.base/find-unmapped.exp
13203 * gdb.base/finish.exp
13204 * gdb.base/float.exp
13205 * gdb.base/foll-exec-mode.exp
13206 * gdb.base/foll-exec.exp
13207 * gdb.base/foll-fork.exp
13208 * gdb.base/fortran-sym-case.exp
13209 * gdb.base/freebpcmd.exp
13210 * gdb.base/func-ptr.exp
13211 * gdb.base/func-ptrs.exp
13212 * gdb.base/funcargs.exp
13213 * gdb.base/gcore-buffer-overflow.exp
13214 * gdb.base/gcore-relro-pie.exp
13215 * gdb.base/gcore-relro.exp
13216 * gdb.base/gcore.exp
13217 * gdb.base/gdb1090.exp
13218 * gdb.base/gdb11530.exp
13219 * gdb.base/gdb11531.exp
13220 * gdb.base/gdb1821.exp
13221 * gdb.base/gdbindex-stabs.exp
13222 * gdb.base/gdbvars.exp
13223 * gdb.base/hbreak.exp
13224 * gdb.base/hbreak2.exp
13225 * gdb.base/included.exp
13226 * gdb.base/infcall-input.exp
13227 * gdb.base/inferior-died.exp
13228 * gdb.base/infnan.exp
13229 * gdb.base/info-macros.exp
13230 * gdb.base/info-os.exp
13231 * gdb.base/info-proc.exp
13232 * gdb.base/info-shared.exp
13233 * gdb.base/info-target.exp
13234 * gdb.base/infoline.exp
13235 * gdb.base/interp.exp
13236 * gdb.base/interrupt.exp
13237 * gdb.base/jit-reader.exp
13238 * gdb.base/jit-simple.exp
13239 * gdb.base/kill-after-signal.exp
13240 * gdb.base/kill-detach-inferiors-cmd.exp
13241 * gdb.base/label.exp
13242 * gdb.base/langs.exp
13243 * gdb.base/ldbl_e308.exp
13244 * gdb.base/line-symtabs.exp
13245 * gdb.base/linespecs.exp
13246 * gdb.base/list.exp
13247 * gdb.base/long_long.exp
13248 * gdb.base/longest-types.exp
13249 * gdb.base/maint.exp
13250 * gdb.base/max-value-size.exp
13251 * gdb.base/memattr.exp
13252 * gdb.base/mips_pro.exp
13253 * gdb.base/morestack.exp
13254 * gdb.base/moribund-step.exp
13255 * gdb.base/multi-forks.exp
13256 * gdb.base/nested-addr.exp
13257 * gdb.base/nextoverexit.exp
13258 * gdb.base/noreturn-finish.exp
13259 * gdb.base/noreturn-return.exp
13260 * gdb.base/nostdlib.exp
13261 * gdb.base/offsets.exp
13262 * gdb.base/opaque.exp
13263 * gdb.base/pc-fp.exp
13264 * gdb.base/permissions.exp
13265 * gdb.base/print-symbol-loading.exp
13266 * gdb.base/prologue-include.exp
13267 * gdb.base/psymtab.exp
13268 * gdb.base/ptype.exp
13269 * gdb.base/random-signal.exp
13270 * gdb.base/randomize.exp
13271 * gdb.base/range-stepping.exp
13272 * gdb.base/readline-ask.exp
13273 * gdb.base/recpar.exp
13274 * gdb.base/recurse.exp
13275 * gdb.base/relational.exp
13276 * gdb.base/restore.exp
13277 * gdb.base/return-nodebug.exp
13278 * gdb.base/return.exp
13279 * gdb.base/run-after-attach.exp
13280 * gdb.base/save-bp.exp
13281 * gdb.base/scope.exp
13282 * gdb.base/sect-cmd.exp
13283 * gdb.base/set-lang-auto.exp
13284 * gdb.base/set-noassign.exp
13285 * gdb.base/setvar.exp
13286 * gdb.base/sigall.exp
13287 * gdb.base/sigbpt.exp
13288 * gdb.base/siginfo-addr.exp
13289 * gdb.base/siginfo-infcall.exp
13290 * gdb.base/siginfo-obj.exp
13291 * gdb.base/siginfo.exp
13292 * gdb.base/signals-state-child.exp
13293 * gdb.base/signest.exp
13294 * gdb.base/sigstep.exp
13295 * gdb.base/sizeof.exp
13296 * gdb.base/skip.exp
13297 * gdb.base/solib-corrupted.exp
13298 * gdb.base/solib-nodir.exp
13299 * gdb.base/solib-search.exp
13300 * gdb.base/stack-checking.exp
13301 * gdb.base/stale-infcall.exp
13302 * gdb.base/stap-probe.exp
13303 * gdb.base/start.exp
13304 * gdb.base/step-break.exp
13305 * gdb.base/step-bt.exp
13306 * gdb.base/step-line.exp
13307 * gdb.base/step-over-exit.exp
13308 * gdb.base/step-over-syscall.exp
13309 * gdb.base/step-resume-infcall.exp
13310 * gdb.base/step-test.exp
13311 * gdb.base/store.exp
13312 * gdb.base/structs3.exp
13313 * gdb.base/sym-file.exp
13314 * gdb.base/symbol-without-target_section.exp
13315 * gdb.base/term.exp
13316 * gdb.base/testenv.exp
13317 * gdb.base/ui-redirect.exp
13318 * gdb.base/until.exp
13319 * gdb.base/unwindonsignal.exp
13320 * gdb.base/value-double-free.exp
13321 * gdb.base/vla-datatypes.exp
13322 * gdb.base/vla-ptr.exp
13323 * gdb.base/vla-sideeffect.exp
13324 * gdb.base/volatile.exp
13325 * gdb.base/watch-cond-infcall.exp
13326 * gdb.base/watch-cond.exp
13327 * gdb.base/watch-non-mem.exp
13328 * gdb.base/watch-read.exp
13329 * gdb.base/watch-vfork.exp
13330 * gdb.base/watchpoint-cond-gone.exp
13331 * gdb.base/watchpoint-delete.exp
13332 * gdb.base/watchpoint-hw-hit-once.exp
13333 * gdb.base/watchpoint-hw.exp
13334 * gdb.base/watchpoint-stops-at-right-insn.exp
13335 * gdb.base/watchpoints.exp
13336 * gdb.base/wchar.exp
13337 * gdb.base/whatis-exp.exp
13338 * gdb.btrace/buffer-size.exp
13339 * gdb.btrace/data.exp
13340 * gdb.btrace/delta.exp
13341 * gdb.btrace/dlopen.exp
13342 * gdb.btrace/enable.exp
13343 * gdb.btrace/exception.exp
13344 * gdb.btrace/function_call_history.exp
13345 * gdb.btrace/gcore.exp
13346 * gdb.btrace/instruction_history.exp
13347 * gdb.btrace/nohist.exp
13348 * gdb.btrace/reconnect.exp
13349 * gdb.btrace/record_goto-step.exp
13350 * gdb.btrace/record_goto.exp
13351 * gdb.btrace/rn-dl-bind.exp
13352 * gdb.btrace/segv.exp
13353 * gdb.btrace/step.exp
13354 * gdb.btrace/stepi.exp
13355 * gdb.btrace/tailcall-only.exp
13356 * gdb.btrace/tailcall.exp
13357 * gdb.btrace/tsx.exp
13358 * gdb.btrace/unknown_functions.exp
13359 * gdb.btrace/vdso.exp
13360 * gdb.compile/compile-ifunc.exp
13361 * gdb.compile/compile-ops.exp
13362 * gdb.compile/compile-print.exp
13363 * gdb.compile/compile-setjmp.exp
13364 * gdb.cp/abstract-origin.exp
13365 * gdb.cp/ambiguous.exp
13366 * gdb.cp/annota2.exp
13367 * gdb.cp/annota3.exp
13368 * gdb.cp/anon-ns.exp
13369 * gdb.cp/anon-struct.exp
13370 * gdb.cp/anon-union.exp
13371 * gdb.cp/arg-reference.exp
13372 * gdb.cp/baseenum.exp
13373 * gdb.cp/bool.exp
13374 * gdb.cp/breakpoint.exp
13375 * gdb.cp/bs15503.exp
13376 * gdb.cp/call-c.exp
13377 * gdb.cp/casts.exp
13378 * gdb.cp/chained-calls.exp
13379 * gdb.cp/class2.exp
13380 * gdb.cp/classes.exp
13381 * gdb.cp/cmpd-minsyms.exp
13382 * gdb.cp/converts.exp
13383 * gdb.cp/cp-relocate.exp
13384 * gdb.cp/cpcompletion.exp
13385 * gdb.cp/cpexprs.exp
13386 * gdb.cp/cplabel.exp
13387 * gdb.cp/cplusfuncs.exp
13388 * gdb.cp/cpsizeof.exp
13389 * gdb.cp/ctti.exp
13390 * gdb.cp/derivation.exp
13391 * gdb.cp/destrprint.exp
13392 * gdb.cp/dispcxx.exp
13393 * gdb.cp/enum-class.exp
13394 * gdb.cp/exception.exp
13395 * gdb.cp/exceptprint.exp
13396 * gdb.cp/expand-psymtabs-cxx.exp
13397 * gdb.cp/expand-sals.exp
13398 * gdb.cp/extern-c.exp
13399 * gdb.cp/filename.exp
13400 * gdb.cp/formatted-ref.exp
13401 * gdb.cp/fpointer.exp
13402 * gdb.cp/gdb1355.exp
13403 * gdb.cp/gdb2495.exp
13404 * gdb.cp/hang.exp
13405 * gdb.cp/impl-this.exp
13406 * gdb.cp/infcall-dlopen.exp
13407 * gdb.cp/inherit.exp
13408 * gdb.cp/iostream.exp
13409 * gdb.cp/koenig.exp
13410 * gdb.cp/local.exp
13411 * gdb.cp/m-data.exp
13412 * gdb.cp/m-static.exp
13413 * gdb.cp/mb-ctor.exp
13414 * gdb.cp/mb-inline.exp
13415 * gdb.cp/mb-templates.exp
13416 * gdb.cp/member-name.exp
13417 * gdb.cp/member-ptr.exp
13418 * gdb.cp/meth-typedefs.exp
13419 * gdb.cp/method.exp
13420 * gdb.cp/method2.exp
13421 * gdb.cp/minsym-fallback.exp
13422 * gdb.cp/misc.exp
13423 * gdb.cp/namelessclass.exp
13424 * gdb.cp/namespace-enum.exp
13425 * gdb.cp/namespace-nested-import.exp
13426 * gdb.cp/namespace.exp
13427 * gdb.cp/nextoverthrow.exp
13428 * gdb.cp/no-dmgl-verbose.exp
13429 * gdb.cp/non-trivial-retval.exp
13430 * gdb.cp/noparam.exp
13431 * gdb.cp/nsdecl.exp
13432 * gdb.cp/nsimport.exp
13433 * gdb.cp/nsnested.exp
13434 * gdb.cp/nsnoimports.exp
13435 * gdb.cp/nsrecurs.exp
13436 * gdb.cp/nsstress.exp
13437 * gdb.cp/nsusing.exp
13438 * gdb.cp/operator.exp
13439 * gdb.cp/oranking.exp
13440 * gdb.cp/overload-const.exp
13441 * gdb.cp/overload.exp
13442 * gdb.cp/ovldbreak.exp
13443 * gdb.cp/ovsrch.exp
13444 * gdb.cp/paren-type.exp
13445 * gdb.cp/parse-lang.exp
13446 * gdb.cp/pass-by-ref.exp
13447 * gdb.cp/pr-1023.exp
13448 * gdb.cp/pr-1210.exp
13449 * gdb.cp/pr-574.exp
13450 * gdb.cp/pr10687.exp
13451 * gdb.cp/pr12028.exp
13452 * gdb.cp/pr17132.exp
13453 * gdb.cp/pr17494.exp
13454 * gdb.cp/pr9067.exp
13455 * gdb.cp/pr9167.exp
13456 * gdb.cp/pr9631.exp
13457 * gdb.cp/printmethod.exp
13458 * gdb.cp/psmang.exp
13459 * gdb.cp/psymtab-parameter.exp
13460 * gdb.cp/ptype-cv-cp.exp
13461 * gdb.cp/ptype-flags.exp
13462 * gdb.cp/re-set-overloaded.exp
13463 * gdb.cp/ref-types.exp
13464 * gdb.cp/rtti.exp
13465 * gdb.cp/scope-err.exp
13466 * gdb.cp/shadow.exp
13467 * gdb.cp/smartp.exp
13468 * gdb.cp/static-method.exp
13469 * gdb.cp/static-print-quit.exp
13470 * gdb.cp/temargs.exp
13471 * gdb.cp/templates.exp
13472 * gdb.cp/try_catch.exp
13473 * gdb.cp/typedef-operator.exp
13474 * gdb.cp/typeid.exp
13475 * gdb.cp/userdef.exp
13476 * gdb.cp/using-crash.exp
13477 * gdb.cp/var-tag.exp
13478 * gdb.cp/virtbase.exp
13479 * gdb.cp/virtfunc.exp
13480 * gdb.cp/virtfunc2.exp
13481 * gdb.cp/vla-cxx.exp
13482 * gdb.disasm/t01_mov.exp
13483 * gdb.disasm/t02_mova.exp
13484 * gdb.disasm/t03_add.exp
13485 * gdb.disasm/t04_sub.exp
13486 * gdb.disasm/t05_cmp.exp
13487 * gdb.disasm/t06_ari2.exp
13488 * gdb.disasm/t07_ari3.exp
13489 * gdb.disasm/t08_or.exp
13490 * gdb.disasm/t09_xor.exp
13491 * gdb.disasm/t10_and.exp
13492 * gdb.disasm/t11_logs.exp
13493 * gdb.disasm/t12_bit.exp
13494 * gdb.disasm/t13_otr.exp
13495 * gdb.dlang/circular.exp
13496 * gdb.dwarf2/arr-stride.exp
13497 * gdb.dwarf2/arr-subrange.exp
13498 * gdb.dwarf2/atomic-type.exp
13499 * gdb.dwarf2/bad-regnum.exp
13500 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13501 * gdb.dwarf2/callframecfa.exp
13502 * gdb.dwarf2/clztest.exp
13503 * gdb.dwarf2/corrupt.exp
13504 * gdb.dwarf2/data-loc.exp
13505 * gdb.dwarf2/dup-psym.exp
13506 * gdb.dwarf2/dw2-anon-mptr.exp
13507 * gdb.dwarf2/dw2-anonymous-func.exp
13508 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13509 * gdb.dwarf2/dw2-bad-unresolved.exp
13510 * gdb.dwarf2/dw2-basic.exp
13511 * gdb.dwarf2/dw2-canonicalize-type.exp
13512 * gdb.dwarf2/dw2-case-insensitive.exp
13513 * gdb.dwarf2/dw2-common-block.exp
13514 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13515 * gdb.dwarf2/dw2-compressed.exp
13516 * gdb.dwarf2/dw2-const.exp
13517 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13518 * gdb.dwarf2/dw2-cu-size.exp
13519 * gdb.dwarf2/dw2-dup-frame.exp
13520 * gdb.dwarf2/dw2-entry-value.exp
13521 * gdb.dwarf2/dw2-icycle.exp
13522 * gdb.dwarf2/dw2-ifort-parameter.exp
13523 * gdb.dwarf2/dw2-inline-break.exp
13524 * gdb.dwarf2/dw2-inline-param.exp
13525 * gdb.dwarf2/dw2-intercu.exp
13526 * gdb.dwarf2/dw2-intermix.exp
13527 * gdb.dwarf2/dw2-lexical-block-bare.exp
13528 * gdb.dwarf2/dw2-linkage-name-trust.exp
13529 * gdb.dwarf2/dw2-minsym-in-cu.exp
13530 * gdb.dwarf2/dw2-noloc.exp
13531 * gdb.dwarf2/dw2-op-call.exp
13532 * gdb.dwarf2/dw2-op-out-param.exp
13533 * gdb.dwarf2/dw2-opt-structptr.exp
13534 * gdb.dwarf2/dw2-param-error.exp
13535 * gdb.dwarf2/dw2-producer.exp
13536 * gdb.dwarf2/dw2-ranges-base.exp
13537 * gdb.dwarf2/dw2-ref-missing-frame.exp
13538 * gdb.dwarf2/dw2-reg-undefined.exp
13539 * gdb.dwarf2/dw2-regno-invalid.exp
13540 * gdb.dwarf2/dw2-restore.exp
13541 * gdb.dwarf2/dw2-restrict.exp
13542 * gdb.dwarf2/dw2-single-line-discriminators.exp
13543 * gdb.dwarf2/dw2-strp.exp
13544 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13545 * gdb.dwarf2/dw2-unresolved.exp
13546 * gdb.dwarf2/dw2-var-zero-addr.exp
13547 * gdb.dwarf2/dw4-sig-types.exp
13548 * gdb.dwarf2/dwz.exp
13549 * gdb.dwarf2/dynarr-ptr.exp
13550 * gdb.dwarf2/enum-type.exp
13551 * gdb.dwarf2/gdb-index.exp
13552 * gdb.dwarf2/implptr-64bit.exp
13553 * gdb.dwarf2/implptr-optimized-out.exp
13554 * gdb.dwarf2/implptr.exp
13555 * gdb.dwarf2/implref-array.exp
13556 * gdb.dwarf2/implref-const.exp
13557 * gdb.dwarf2/implref-global.exp
13558 * gdb.dwarf2/implref-struct.exp
13559 * gdb.dwarf2/mac-fileno.exp
13560 * gdb.dwarf2/main-subprogram.exp
13561 * gdb.dwarf2/member-ptr-forwardref.exp
13562 * gdb.dwarf2/method-ptr.exp
13563 * gdb.dwarf2/missing-sig-type.exp
13564 * gdb.dwarf2/nonvar-access.exp
13565 * gdb.dwarf2/opaque-type-lookup.exp
13566 * gdb.dwarf2/pieces-optimized-out.exp
13567 * gdb.dwarf2/pieces.exp
13568 * gdb.dwarf2/pr10770.exp
13569 * gdb.dwarf2/pr13961.exp
13570 * gdb.dwarf2/staticvirtual.exp
13571 * gdb.dwarf2/subrange.exp
13572 * gdb.dwarf2/symtab-producer.exp
13573 * gdb.dwarf2/trace-crash.exp
13574 * gdb.dwarf2/typeddwarf.exp
13575 * gdb.dwarf2/valop.exp
13576 * gdb.dwarf2/watch-notconst.exp
13577 * gdb.fortran/array-element.exp
13578 * gdb.fortran/charset.exp
13579 * gdb.fortran/common-block.exp
13580 * gdb.fortran/complex.exp
13581 * gdb.fortran/derived-type-function.exp
13582 * gdb.fortran/derived-type.exp
13583 * gdb.fortran/logical.exp
13584 * gdb.fortran/module.exp
13585 * gdb.fortran/multi-dim.exp
13586 * gdb.fortran/nested-funcs.exp
13587 * gdb.fortran/print-formatted.exp
13588 * gdb.fortran/subarray.exp
13589 * gdb.fortran/vla-alloc-assoc.exp
13590 * gdb.fortran/vla-datatypes.exp
13591 * gdb.fortran/vla-history.exp
13592 * gdb.fortran/vla-ptr-info.exp
13593 * gdb.fortran/vla-ptype-sub.exp
13594 * gdb.fortran/vla-ptype.exp
13595 * gdb.fortran/vla-sizeof.exp
13596 * gdb.fortran/vla-type.exp
13597 * gdb.fortran/vla-value-sub-arbitrary.exp
13598 * gdb.fortran/vla-value-sub-finish.exp
13599 * gdb.fortran/vla-value-sub.exp
13600 * gdb.fortran/vla-value.exp
13601 * gdb.fortran/whatis_type.exp
13602 * gdb.go/chan.exp
13603 * gdb.go/handcall.exp
13604 * gdb.go/hello.exp
13605 * gdb.go/integers.exp
13606 * gdb.go/methods.exp
13607 * gdb.go/package.exp
13608 * gdb.go/strings.exp
13609 * gdb.go/types.exp
13610 * gdb.go/unsafe.exp
13611 * gdb.guile/scm-arch.exp
13612 * gdb.guile/scm-block.exp
13613 * gdb.guile/scm-breakpoint.exp
13614 * gdb.guile/scm-cmd.exp
13615 * gdb.guile/scm-disasm.exp
13616 * gdb.guile/scm-equal.exp
13617 * gdb.guile/scm-frame-args.exp
13618 * gdb.guile/scm-frame-inline.exp
13619 * gdb.guile/scm-frame.exp
13620 * gdb.guile/scm-iterator.exp
13621 * gdb.guile/scm-math.exp
13622 * gdb.guile/scm-objfile.exp
13623 * gdb.guile/scm-ports.exp
13624 * gdb.guile/scm-symbol.exp
13625 * gdb.guile/scm-symtab.exp
13626 * gdb.guile/scm-value-cc.exp
13627 * gdb.guile/types-module.exp
13628 * gdb.linespec/break-ask.exp
13629 * gdb.linespec/cpexplicit.exp
13630 * gdb.linespec/explicit.exp
13631 * gdb.linespec/keywords.exp
13632 * gdb.linespec/linespec.exp
13633 * gdb.linespec/ls-dollar.exp
13634 * gdb.linespec/ls-errs.exp
13635 * gdb.linespec/skip-two.exp
13636 * gdb.linespec/thread.exp
13637 * gdb.mi/mi-async.exp
13638 * gdb.mi/mi-basics.exp
13639 * gdb.mi/mi-break.exp
13640 * gdb.mi/mi-catch-load.exp
13641 * gdb.mi/mi-cli.exp
13642 * gdb.mi/mi-cmd-param-changed.exp
13643 * gdb.mi/mi-console.exp
13644 * gdb.mi/mi-detach.exp
13645 * gdb.mi/mi-disassemble.exp
13646 * gdb.mi/mi-eval.exp
13647 * gdb.mi/mi-file-transfer.exp
13648 * gdb.mi/mi-file.exp
13649 * gdb.mi/mi-fill-memory.exp
13650 * gdb.mi/mi-inheritance-syntax-error.exp
13651 * gdb.mi/mi-linespec-err-cp.exp
13652 * gdb.mi/mi-logging.exp
13653 * gdb.mi/mi-memory-changed.exp
13654 * gdb.mi/mi-read-memory.exp
13655 * gdb.mi/mi-record-changed.exp
13656 * gdb.mi/mi-reg-undefined.exp
13657 * gdb.mi/mi-regs.exp
13658 * gdb.mi/mi-return.exp
13659 * gdb.mi/mi-reverse.exp
13660 * gdb.mi/mi-simplerun.exp
13661 * gdb.mi/mi-solib.exp
13662 * gdb.mi/mi-stack.exp
13663 * gdb.mi/mi-stepi.exp
13664 * gdb.mi/mi-syn-frame.exp
13665 * gdb.mi/mi-until.exp
13666 * gdb.mi/mi-var-block.exp
13667 * gdb.mi/mi-var-child.exp
13668 * gdb.mi/mi-var-cmd.exp
13669 * gdb.mi/mi-var-cp.exp
13670 * gdb.mi/mi-var-display.exp
13671 * gdb.mi/mi-var-invalidate.exp
13672 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13673 * gdb.mi/mi-vla-fortran.exp
13674 * gdb.mi/mi-watch.exp
13675 * gdb.mi/mi2-var-child.exp
13676 * gdb.mi/user-selected-context-sync.exp
13677 * gdb.modula2/unbounded-array.exp
13678 * gdb.multi/dummy-frame-restore.exp
13679 * gdb.multi/multi-arch-exec.exp
13680 * gdb.multi/multi-arch.exp
13681 * gdb.multi/tids.exp
13682 * gdb.multi/watchpoint-multi.exp
13683 * gdb.opencl/callfuncs.exp
13684 * gdb.opencl/convs_casts.exp
13685 * gdb.opencl/datatypes.exp
13686 * gdb.opencl/operators.exp
13687 * gdb.opencl/vec_comps.exp
13688 * gdb.opt/clobbered-registers-O2.exp
13689 * gdb.opt/inline-break.exp
13690 * gdb.opt/inline-bt.exp
13691 * gdb.opt/inline-cmds.exp
13692 * gdb.opt/inline-locals.exp
13693 * gdb.pascal/case-insensitive-symbols.exp
13694 * gdb.pascal/floats.exp
13695 * gdb.pascal/gdb11492.exp
13696 * gdb.python/lib-types.exp
13697 * gdb.python/py-arch.exp
13698 * gdb.python/py-as-string.exp
13699 * gdb.python/py-bad-printers.exp
13700 * gdb.python/py-block.exp
13701 * gdb.python/py-breakpoint-create-fail.exp
13702 * gdb.python/py-breakpoint.exp
13703 * gdb.python/py-caller-is.exp
13704 * gdb.python/py-cmd.exp
13705 * gdb.python/py-explore-cc.exp
13706 * gdb.python/py-explore.exp
13707 * gdb.python/py-finish-breakpoint.exp
13708 * gdb.python/py-finish-breakpoint2.exp
13709 * gdb.python/py-frame-args.exp
13710 * gdb.python/py-frame-inline.exp
13711 * gdb.python/py-frame.exp
13712 * gdb.python/py-framefilter-mi.exp
13713 * gdb.python/py-infthread.exp
13714 * gdb.python/py-lazy-string.exp
13715 * gdb.python/py-linetable.exp
13716 * gdb.python/py-mi-events.exp
13717 * gdb.python/py-mi-objfile.exp
13718 * gdb.python/py-mi.exp
13719 * gdb.python/py-objfile.exp
13720 * gdb.python/py-pp-integral.exp
13721 * gdb.python/py-pp-maint.exp
13722 * gdb.python/py-pp-re-notag.exp
13723 * gdb.python/py-pp-registration.exp
13724 * gdb.python/py-recurse-unwind.exp
13725 * gdb.python/py-strfns.exp
13726 * gdb.python/py-symbol.exp
13727 * gdb.python/py-symtab.exp
13728 * gdb.python/py-sync-interp.exp
13729 * gdb.python/py-typeprint.exp
13730 * gdb.python/py-unwind-maint.exp
13731 * gdb.python/py-unwind.exp
13732 * gdb.python/py-value-cc.exp
13733 * gdb.python/py-xmethods.exp
13734 * gdb.reverse/amd64-tailcall-reverse.exp
13735 * gdb.reverse/break-precsave.exp
13736 * gdb.reverse/break-reverse.exp
13737 * gdb.reverse/consecutive-precsave.exp
13738 * gdb.reverse/consecutive-reverse.exp
13739 * gdb.reverse/finish-precsave.exp
13740 * gdb.reverse/finish-reverse-bkpt.exp
13741 * gdb.reverse/finish-reverse.exp
13742 * gdb.reverse/fstatat-reverse.exp
13743 * gdb.reverse/getresuid-reverse.exp
13744 * gdb.reverse/i386-precsave.exp
13745 * gdb.reverse/i386-reverse.exp
13746 * gdb.reverse/i386-sse-reverse.exp
13747 * gdb.reverse/i387-env-reverse.exp
13748 * gdb.reverse/i387-stack-reverse.exp
13749 * gdb.reverse/insn-reverse.exp
13750 * gdb.reverse/machinestate-precsave.exp
13751 * gdb.reverse/machinestate.exp
13752 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13753 * gdb.reverse/pipe-reverse.exp
13754 * gdb.reverse/readv-reverse.exp
13755 * gdb.reverse/recvmsg-reverse.exp
13756 * gdb.reverse/rerun-prec.exp
13757 * gdb.reverse/s390-mvcle.exp
13758 * gdb.reverse/step-precsave.exp
13759 * gdb.reverse/step-reverse.exp
13760 * gdb.reverse/time-reverse.exp
13761 * gdb.reverse/until-precsave.exp
13762 * gdb.reverse/until-reverse.exp
13763 * gdb.reverse/waitpid-reverse.exp
13764 * gdb.reverse/watch-precsave.exp
13765 * gdb.reverse/watch-reverse.exp
13766 * gdb.rust/generics.exp
13767 * gdb.rust/methods.exp
13768 * gdb.rust/modules.exp
13769 * gdb.rust/simple.exp
13770 * gdb.server/connect-with-no-symbol-file.exp
13771 * gdb.server/ext-attach.exp
13772 * gdb.server/ext-restart.exp
13773 * gdb.server/ext-wrapper.exp
13774 * gdb.server/file-transfer.exp
13775 * gdb.server/server-exec-info.exp
13776 * gdb.server/server-kill.exp
13777 * gdb.server/server-mon.exp
13778 * gdb.server/wrapper.exp
13779 * gdb.stabs/exclfwd.exp
13780 * gdb.stabs/gdb11479.exp
13781 * gdb.threads/clone-new-thread-event.exp
13782 * gdb.threads/corethreads.exp
13783 * gdb.threads/current-lwp-dead.exp
13784 * gdb.threads/dlopen-libpthread.exp
13785 * gdb.threads/gcore-thread.exp
13786 * gdb.threads/sigstep-threads.exp
13787 * gdb.threads/watchpoint-fork.exp
13788 * gdb.trace/actions-changed.exp
13789 * gdb.trace/backtrace.exp
13790 * gdb.trace/change-loc.exp
13791 * gdb.trace/circ.exp
13792 * gdb.trace/collection.exp
13793 * gdb.trace/disconnected-tracing.exp
13794 * gdb.trace/ftrace.exp
13795 * gdb.trace/mi-trace-frame-collected.exp
13796 * gdb.trace/mi-trace-unavailable.exp
13797 * gdb.trace/mi-traceframe-changed.exp
13798 * gdb.trace/mi-tsv-changed.exp
13799 * gdb.trace/no-attach-trace.exp
13800 * gdb.trace/passc-dyn.exp
13801 * gdb.trace/qtro.exp
13802 * gdb.trace/range-stepping.exp
13803 * gdb.trace/read-memory.exp
13804 * gdb.trace/save-trace.exp
13805 * gdb.trace/signal.exp
13806 * gdb.trace/status-stop.exp
13807 * gdb.trace/tfile.exp
13808 * gdb.trace/trace-break.exp
13809 * gdb.trace/trace-buffer-size.exp
13810 * gdb.trace/trace-condition.exp
13811 * gdb.trace/tracefile-pseudo-reg.exp
13812 * gdb.trace/tstatus.exp
13813 * gdb.trace/unavailable.exp
13814 * gdb.trace/while-dyn.exp
13815 * gdb.trace/while-stepping.exp
13816
34c41c68
DE
138172016-12-22 Doug Evans <xdje42@gmail.com>
13818
13819 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13820 and msymbols.
13821
16e69324
YQ
138222016-12-19 Yao Qi <yao.qi@linaro.org>
13823
13824 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13825 (test_with_self): Don't call do_steps_and_nexts, and remove
13826 code about stepping into xmalloc.
13827
f94f411b
YQ
138282016-12-09 Yao Qi <yao.qi@linaro.org>
13829
13830 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13831
138322016-12-09 Yao Qi <yao.qi@linaro.org>
13833
13834 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13835
f1b5deee
PA
138362016-12-09 Pedro Alves <palves@redhat.com>
13837
13838 * gdb.base/all-architectures-0.exp: New file.
13839 * gdb.base/all-architectures-1.exp: New file.
13840 * gdb.base/all-architectures-2.exp: New file.
13841 * gdb.base/all-architectures-3.exp: New file.
13842 * gdb.base/all-architectures-4.exp: New file.
13843 * gdb.base/all-architectures-5.exp: New file.
13844 * gdb.base/all-architectures-6.exp: New file.
13845 * gdb.base/all-architectures-7.exp: New file.
13846 * gdb.base/all-architectures.exp.in: New file.
13847
364ca42e
YQ
138482016-12-09 Yao Qi <yao.qi@linaro.org>
13849
13850 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13851
107c2d62
LM
138522016-12-02 Luis Machado <lgustavo@codesourcery.com>
13853
13854 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13855 possible.
13856 Remove useless pattern-matching code.
13857
df3ee9ca
PA
138582016-12-02 Pedro Alves <palves@redhat.com>
13859
13860 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13861 procedure.
13862 (top level): Call it.
13863
ec835369
PA
138642016-12-02 Pedro Alves <palves@redhat.com>
13865
13866 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13867 New procedure.
13868 (top level): Call it.
13869
01770bbd
PA
138702016-12-02 Pedro Alves <palves@redhat.com>
13871
13872 PR cli/20559
13873 * gdb.base/commands.exp (user_defined_command_args_eval): New
13874 procedure.
13875 (top level): Call it.
13876
008459ea
LM
138772016-12-02 Luis Machado <lgustavo@codesourcery.com>
13878
13879 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13880 timeout handling.
13881
0c1b455e
TT
138822016-12-02 Tom Tromey <tom@tromey.com>
13883
13884 * gdb.dwarf2/main-subprogram.c: New file.
13885 * gdb.dwarf2/main-subprogram.exp: New file.
13886
018572b8
LM
138872016-12-01 Luis Machado <lgustavo@codesourcery.com>
13888
13889 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13890 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13891 gdb_test_no_output for a couple of cases.
13892 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13893
84c93cd5
LM
138942016-12-01 Luis Machado <lgustavo@codesourcery.com>
13895
13896 Fix test names and standardize compilation error messages throughout
13897 the following files:
13898
13899 * gdb.ada/start.exp
13900 * gdb.arch/alpha-step.exp
13901 * gdb.arch/e500-prologue.exp
13902 * gdb.arch/ftrace-insn-reloc.exp
13903 * gdb.arch/gdb1291.exp
13904 * gdb.arch/gdb1431.exp
13905 * gdb.arch/gdb1558.exp
13906 * gdb.arch/i386-dr3-watch.exp
13907 * gdb.arch/i386-sse-stack-align.exp
13908 * gdb.arch/ia64-breakpoint-shadow.exp
13909 * gdb.arch/pa-nullify.exp
13910 * gdb.arch/powerpc-aix-prologue.exp
13911 * gdb.arch/thumb-bx-pc.exp
13912 * gdb.base/annota1.exp
13913 * gdb.base/annota3.exp
13914 * gdb.base/arrayidx.exp
13915 * gdb.base/assign.exp
13916 * gdb.base/attach.exp
13917 * gdb.base/auxv.exp
13918 * gdb.base/bang.exp
13919 * gdb.base/bfp-test.exp
13920 * gdb.base/bigcore.exp
13921 * gdb.base/bitfields2.exp
13922 * gdb.base/break-fun-addr.exp
13923 * gdb.base/break-probes.exp
13924 * gdb.base/call-rt-st.exp
13925 * gdb.base/callexit.exp
13926 * gdb.base/catch-fork-kill.exp
13927 * gdb.base/charset.exp
13928 * gdb.base/checkpoint.exp
13929 * gdb.base/comprdebug.exp
13930 * gdb.base/constvars.exp
13931 * gdb.base/coredump-filter.exp
13932 * gdb.base/cursal.exp
13933 * gdb.base/cvexpr.exp
13934 * gdb.base/detach.exp
13935 * gdb.base/display.exp
13936 * gdb.base/dmsym.exp
13937 * gdb.base/dprintf-pending.exp
13938 * gdb.base/dso2dso.exp
13939 * gdb.base/dtrace-probe.exp
13940 * gdb.base/dump.exp
13941 * gdb.base/enum_cond.exp
13942 * gdb.base/exe-lock.exp
13943 * gdb.base/exec-invalid-sysroot.exp
13944 * gdb.base/execl-update-breakpoints.exp
13945 * gdb.base/exprs.exp
13946 * gdb.base/fileio.exp
13947 * gdb.base/find.exp
13948 * gdb.base/finish.exp
13949 * gdb.base/fixsection.exp
13950 * gdb.base/foll-vfork.exp
13951 * gdb.base/frame-args.exp
13952 * gdb.base/gcore.exp
13953 * gdb.base/gdb1250.exp
13954 * gdb.base/global-var-nested-by-dso.exp
13955 * gdb.base/gnu-ifunc.exp
13956 * gdb.base/hashline1.exp
13957 * gdb.base/hashline2.exp
13958 * gdb.base/hashline3.exp
13959 * gdb.base/hbreak-in-shr-unsupported.exp
13960 * gdb.base/huge.exp
13961 * gdb.base/infcall-input.exp
13962 * gdb.base/info-fun.exp
13963 * gdb.base/info-shared.exp
13964 * gdb.base/jit-simple.exp
13965 * gdb.base/jit-so.exp
13966 * gdb.base/jit.exp
13967 * gdb.base/jump.exp
13968 * gdb.base/label.exp
13969 * gdb.base/lineinc.exp
13970 * gdb.base/logical.exp
13971 * gdb.base/longjmp.exp
13972 * gdb.base/macscp.exp
13973 * gdb.base/miscexprs.exp
13974 * gdb.base/new-ui-echo.exp
13975 * gdb.base/new-ui-pending-input.exp
13976 * gdb.base/new-ui.exp
13977 * gdb.base/nodebug.exp
13978 * gdb.base/nofield.exp
13979 * gdb.base/offsets.exp
13980 * gdb.base/overlays.exp
13981 * gdb.base/pending.exp
13982 * gdb.base/pointers.exp
13983 * gdb.base/pr11022.exp
13984 * gdb.base/printcmds.exp
13985 * gdb.base/prologue.exp
13986 * gdb.base/ptr-typedef.exp
13987 * gdb.base/realname-expand.exp
13988 * gdb.base/relativedebug.exp
13989 * gdb.base/relocate.exp
13990 * gdb.base/remote.exp
13991 * gdb.base/reread.exp
13992 * gdb.base/return2.exp
13993 * gdb.base/savedregs.exp
13994 * gdb.base/sep.exp
13995 * gdb.base/sepdebug.exp
13996 * gdb.base/sepsymtab.exp
13997 * gdb.base/set-inferior-tty.exp
13998 * gdb.base/setshow.exp
13999 * gdb.base/shlib-call.exp
14000 * gdb.base/sigaltstack.exp
14001 * gdb.base/siginfo-addr.exp
14002 * gdb.base/signals.exp
14003 * gdb.base/signull.exp
14004 * gdb.base/sigrepeat.exp
14005 * gdb.base/so-impl-ld.exp
14006 * gdb.base/solib-display.exp
14007 * gdb.base/solib-overlap.exp
14008 * gdb.base/solib-search.exp
14009 * gdb.base/solib-symbol.exp
14010 * gdb.base/structs.exp
14011 * gdb.base/structs2.exp
14012 * gdb.base/symtab-search-order.exp
14013 * gdb.base/twice.exp
14014 * gdb.base/unload.exp
14015 * gdb.base/varargs.exp
14016 * gdb.base/watchpoint-solib.exp
14017 * gdb.base/watchpoint.exp
14018 * gdb.base/whatis.exp
14019 * gdb.base/wrong_frame_bt_full.exp
14020 * gdb.btrace/dlopen.exp
14021 * gdb.cell/ea-standalone.exp
14022 * gdb.cell/ea-test.exp
14023 * gdb.cp/dispcxx.exp
14024 * gdb.cp/gdb2384.exp
14025 * gdb.cp/method2.exp
14026 * gdb.cp/nextoverthrow.exp
14027 * gdb.cp/pr10728.exp
14028 * gdb.disasm/am33.exp
14029 * gdb.disasm/h8300s.exp
14030 * gdb.disasm/mn10300.exp
14031 * gdb.disasm/sh3.exp
14032 * gdb.dwarf2/dw2-dir-file-name.exp
14033 * gdb.fortran/complex.exp
14034 * gdb.fortran/library-module.exp
14035 * gdb.guile/scm-pretty-print.exp
14036 * gdb.guile/scm-symbol.exp
14037 * gdb.guile/scm-type.exp
14038 * gdb.guile/scm-value.exp
14039 * gdb.linespec/linespec.exp
14040 * gdb.mi/gdb701.exp
14041 * gdb.mi/gdb792.exp
14042 * gdb.mi/mi-breakpoint-changed.exp
14043 * gdb.mi/mi-dprintf-pending.exp
14044 * gdb.mi/mi-dprintf.exp
14045 * gdb.mi/mi-exit-code.exp
14046 * gdb.mi/mi-pending.exp
14047 * gdb.mi/mi-solib.exp
14048 * gdb.mi/new-ui-mi-sync.exp
14049 * gdb.mi/pr11022.exp
14050 * gdb.mi/user-selected-context-sync.exp
14051 * gdb.opt/solib-intra-step.exp
14052 * gdb.python/py-events.exp
14053 * gdb.python/py-finish-breakpoint.exp
14054 * gdb.python/py-mi.exp
14055 * gdb.python/py-prettyprint.exp
14056 * gdb.python/py-shared.exp
14057 * gdb.python/py-symbol.exp
14058 * gdb.python/py-template.exp
14059 * gdb.python/py-type.exp
14060 * gdb.python/py-value.exp
14061 * gdb.reverse/solib-precsave.exp
14062 * gdb.reverse/solib-reverse.exp
14063 * gdb.server/solib-list.exp
14064 * gdb.stabs/weird.exp
14065 * gdb.threads/reconnect-signal.exp
14066 * gdb.threads/stepi-random-signal.exp
14067 * gdb.trace/actions.exp
14068 * gdb.trace/ax.exp
14069 * gdb.trace/backtrace.exp
14070 * gdb.trace/change-loc.exp
14071 * gdb.trace/deltrace.exp
14072 * gdb.trace/ftrace-lock.exp
14073 * gdb.trace/ftrace.exp
14074 * gdb.trace/infotrace.exp
14075 * gdb.trace/mi-tracepoint-changed.exp
14076 * gdb.trace/packetlen.exp
14077 * gdb.trace/passcount.exp
14078 * gdb.trace/pending.exp
14079 * gdb.trace/range-stepping.exp
14080 * gdb.trace/report.exp
14081 * gdb.trace/stap-trace.exp
14082 * gdb.trace/tfind.exp
14083 * gdb.trace/trace-break.exp
14084 * gdb.trace/trace-condition.exp
14085 * gdb.trace/trace-enable-disable.exp
14086 * gdb.trace/trace-mt.exp
14087 * gdb.trace/tracecmd.exp
14088 * gdb.trace/tspeed.exp
14089 * gdb.trace/tsv.exp
14090 * lib/perftest.exp
14091
fb9feb35
LM
140922016-12-01 Luis Machado <lgustavo@codesourcery.com>
14093
14094 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14095 with gdb_test_no_output.
14096 Use command as test name.
14097
cd2ddb6c
LM
140982016-12-01 Luis Machado <lgustavo@codesourcery.com>
14099
14100 Fix test names starting with uppercase throughout the files.
14101
14102 * gdb.ada/assign_1.exp
14103 * gdb.ada/boolean_expr.exp
14104 * gdb.base/arrayidx.exp
14105 * gdb.base/del.exp
14106 * gdb.base/gcore-buffer-overflow.exp
14107 * gdb.base/testenv.exp
14108 * gdb.compile/compile.exp
14109 * gdb.python/py-framefilter-invalidarg.exp
14110 * gdb.python/py-framefilter.exp
14111
bb95117e
LM
141122016-12-01 Luis Machado <lgustavo@codesourcery.com>
14113
14114 Fix test names starting with uppercase throughout the files.
14115
14116 * gdb.ada/array_return.exp
14117 * gdb.ada/expr_delims.exp
14118 * gdb.ada/mi_dyn_arr.exp
14119 * gdb.ada/mi_interface.exp
14120 * gdb.ada/mi_var_array.exp
14121 * gdb.ada/watch_arg.exp
14122 * gdb.arch/alpha-step.exp
14123 * gdb.arch/altivec-regs.exp
14124 * gdb.arch/e500-regs.exp
14125 * gdb.arch/powerpc-d128-regs.exp
14126 * gdb.base/arrayidx.exp
14127 * gdb.base/break.exp
14128 * gdb.base/checkpoint.exp
14129 * gdb.base/debug-expr.exp
14130 * gdb.base/dmsym.exp
14131 * gdb.base/radix.exp
14132 * gdb.base/sepdebug.exp
14133 * gdb.base/testenv.exp
14134 * gdb.base/watch_thread_num.exp
14135 * gdb.base/watchpoint-cond-gone.exp
14136 * gdb.cell/break.exp
14137 * gdb.cell/ea-cache.exp
14138 * gdb.compile/compile.exp
14139 * gdb.cp/gdb2495.exp
14140 * gdb.gdb/selftest.exp
14141 * gdb.gdb/xfullpath.exp
14142 * gdb.go/hello.exp
14143 * gdb.go/integers.exp
14144 * gdb.objc/basicclass.exp
14145 * gdb.pascal/hello.exp
14146 * gdb.pascal/integers.exp
14147 * gdb.python/py-breakpoint.exp
14148 * gdb.python/py-cmd.exp
14149 * gdb.python/py-linetable.exp
14150 * gdb.python/py-xmethods.exp
14151 * gdb.python/python.exp
14152 * gdb.reverse/consecutive-precsave.exp
14153 * gdb.reverse/finish-precsave.exp
14154 * gdb.reverse/i386-precsave.exp
14155 * gdb.reverse/machinestate-precsave.exp
14156 * gdb.reverse/sigall-precsave.exp
14157 * gdb.reverse/solib-precsave.exp
14158 * gdb.reverse/step-precsave.exp
14159 * gdb.reverse/until-precsave.exp
14160 * gdb.reverse/watch-precsave.exp
14161 * gdb.threads/leader-exit.exp
14162 * gdb.threads/pthreads.exp
14163 * gdb.threads/wp-replication.exp
14164 * gdb.trace/actions.exp
14165 * gdb.trace/mi-tsv-changed.exp
14166 * gdb.trace/tsv.exp
14167
de97fdd4
LM
141682016-12-01 Luis Machado <lgustavo@codesourcery.com>
14169
14170 Fix test names starting with uppercase throughout the files.
14171
14172 * gdb.arch/i386-bp_permanent.exp
14173 * gdb.arch/i386-gnu-cfi.exp
14174 * gdb.base/disasm-end-cu.exp
14175 * gdb.base/macscp.exp
14176 * gdb.base/pending.exp
14177 * gdb.base/watch_thread_num.exp
14178 * gdb.cp/exception.exp
14179 * gdb.cp/gdb2495.exp
14180 * gdb.cp/local.exp
14181 * gdb.python/py-evsignal.exp
14182 * gdb.python/python.exp
14183 * gdb.trace/tracecmd.exp
14184
9f058c10
LM
141852016-12-01 Luis Machado <lgustavo@codesourcery.com>
14186
14187 Fix test names starting with uppercase throughout the files.
14188
14189 * gdb.base/charset.exp
14190 * gdb.base/eval.exp
14191 * gdb.base/multi-forks.exp
14192 * gdb.guile/scm-progspace.exp
14193 * gdb.opencl/datatypes.exp
14194 * gdb.python/py-block.exp
14195 * gdb.python/py-function.exp
14196 * gdb.python/py-symbol.exp
14197 * gdb.python/py-symtab.exp
14198 * gdb.python/py-xmethods.exp
14199 * gdb.reverse/break-precsave.exp
14200 * gdb.reverse/break-reverse.exp
14201 * gdb.reverse/consecutive-precsave.exp
14202 * gdb.reverse/consecutive-reverse.exp
14203 * gdb.reverse/finish-precsave.exp
14204 * gdb.reverse/finish-reverse-bkpt.exp
14205 * gdb.reverse/finish-reverse.exp
14206 * gdb.reverse/fstatat-reverse.exp
14207 * gdb.reverse/getresuid-reverse.exp
14208 * gdb.reverse/i386-precsave.exp
14209 * gdb.reverse/i386-reverse.exp
14210 * gdb.reverse/i386-sse-reverse.exp
14211 * gdb.reverse/i387-stack-reverse.exp
14212 * gdb.reverse/insn-reverse.exp
14213 * gdb.reverse/machinestate-precsave.exp
14214 * gdb.reverse/machinestate.exp
14215 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14216 * gdb.reverse/pipe-reverse.exp
14217 * gdb.reverse/readv-reverse.exp
14218 * gdb.reverse/recvmsg-reverse.exp
14219 * gdb.reverse/rerun-prec.exp
14220 * gdb.reverse/s390-mvcle.exp
14221 * gdb.reverse/sigall-precsave.exp
14222 * gdb.reverse/sigall-reverse.exp
14223 * gdb.reverse/solib-precsave.exp
14224 * gdb.reverse/solib-reverse.exp
14225 * gdb.reverse/step-precsave.exp
14226 * gdb.reverse/step-reverse.exp
14227 * gdb.reverse/time-reverse.exp
14228 * gdb.reverse/until-precsave.exp
14229 * gdb.reverse/until-reverse.exp
14230 * gdb.reverse/waitpid-reverse.exp
14231 * gdb.reverse/watch-precsave.exp
14232 * gdb.reverse/watch-reverse.exp
14233
cdc7edd7
LM
142342016-12-01 Luis Machado <lgustavo@codesourcery.com>
14235
14236 Fix test names starting with uppercase throughout the files.
14237
14238 * gdb.arch/i386-mpx-simple_segv.exp
14239 * gdb.arch/i386-mpx.exp
14240 * gdb.arch/i386-permbkpt.exp
14241 * gdb.arch/pa-nullify.exp
14242 * gdb.arch/powerpc-d128-regs.exp
14243 * gdb.arch/vsx-regs.exp
14244 * gdb.base/bfp-test.exp
14245 * gdb.base/break.exp
14246 * gdb.base/breakpoint-shadow.exp
14247 * gdb.base/callfuncs.exp
14248 * gdb.base/charset.exp
14249 * gdb.base/commands.exp
14250 * gdb.base/completion.exp
14251 * gdb.base/dfp-test.exp
14252 * gdb.base/echo.exp
14253 * gdb.base/ending-run.exp
14254 * gdb.base/eval.exp
14255 * gdb.base/expand-psymtabs.exp
14256 * gdb.base/float128.exp
14257 * gdb.base/floatn.exp
14258 * gdb.base/foll-exec-mode.exp
14259 * gdb.base/gdb1056.exp
14260 * gdb.base/gdb11531.exp
14261 * gdb.base/kill-after-signal.exp
14262 * gdb.base/multi-forks.exp
14263 * gdb.base/overlays.exp
14264 * gdb.base/pending.exp
14265 * gdb.base/sepdebug.exp
14266 * gdb.base/testenv.exp
14267 * gdb.base/valgrind-db-attach.exp
14268 * gdb.base/watch_thread_num.exp
14269 * gdb.base/watchpoint-cond-gone.exp
14270 * gdb.base/watchpoint.exp
14271 * gdb.base/watchpoints.exp
14272 * gdb.cp/arg-reference.exp
14273 * gdb.cp/baseenum.exp
14274 * gdb.cp/operator.exp
14275 * gdb.cp/shadow.exp
14276 * gdb.dwarf2/dw2-op-out-param.exp
14277 * gdb.dwarf2/dw2-reg-undefined.exp
14278 * gdb.go/chan.exp
14279 * gdb.go/hello.exp
14280 * gdb.go/integers.exp
14281 * gdb.go/methods.exp
14282 * gdb.go/package.exp
14283 * gdb.guile/scm-parameter.exp
14284 * gdb.guile/scm-progspace.exp
14285 * gdb.guile/scm-value.exp
14286 * gdb.mi/mi-pending.exp
14287 * gdb.mi/user-selected-context-sync.exp
14288 * gdb.multi/multi-attach.exp
14289 * gdb.multi/tids.exp
14290 * gdb.opt/clobbered-registers-O2.exp
14291 * gdb.pascal/floats.exp
14292 * gdb.pascal/integers.exp
14293 * gdb.python/py-block.exp
14294 * gdb.python/py-events.exp
14295 * gdb.python/py-parameter.exp
14296 * gdb.python/py-symbol.exp
14297 * gdb.python/py-symtab.exp
14298 * gdb.python/py-type.exp
14299 * gdb.python/py-value.exp
14300 * gdb.python/py-xmethods.exp
14301 * gdb.python/python.exp
14302 * gdb.reverse/break-precsave.exp
14303 * gdb.reverse/consecutive-precsave.exp
14304 * gdb.reverse/finish-precsave.exp
14305 * gdb.reverse/i386-precsave.exp
14306 * gdb.reverse/machinestate-precsave.exp
14307 * gdb.reverse/sigall-precsave.exp
14308 * gdb.reverse/solib-precsave.exp
14309 * gdb.reverse/step-precsave.exp
14310 * gdb.reverse/until-precsave.exp
14311 * gdb.reverse/watch-precsave.exp
14312 * gdb.server/ext-attach.exp
14313 * gdb.server/ext-restart.exp
14314 * gdb.server/ext-run.exp
14315 * gdb.server/ext-wrapper.exp
14316 * gdb.stabs/gdb11479.exp
14317 * gdb.stabs/weird.exp
14318 * gdb.threads/attach-many-short-lived-threads.exp
14319 * gdb.threads/kill.exp
14320 * gdb.threads/watchpoint-fork.exp
14321
bc6c7af4
LM
143222016-12-01 Luis Machado <lgustavo@codesourcery.com>
14323
14324 Fix test names starting with uppercase throughout all the files below.
14325
14326 * gdb.ada/array_return.exp
14327 * gdb.ada/catch_ex.exp
14328 * gdb.ada/info_exc.exp
14329 * gdb.ada/mi_catch_ex.exp
14330 * gdb.ada/mi_dyn_arr.exp
14331 * gdb.ada/mi_ex_cond.exp
14332 * gdb.ada/mi_exc_info.exp
14333 * gdb.ada/mi_interface.exp
14334 * gdb.ada/mi_task_arg.exp
14335 * gdb.ada/mi_task_info.exp
14336 * gdb.ada/mi_var_array.exp
14337 * gdb.arch/alpha-step.exp
14338 * gdb.arch/amd64-disp-step.exp
14339 * gdb.arch/arm-disp-step.exp
14340 * gdb.arch/disp-step-insn-reloc.exp
14341 * gdb.arch/e500-prologue.exp
14342 * gdb.arch/ftrace-insn-reloc.exp
14343 * gdb.arch/gdb1558.exp
14344 * gdb.arch/i386-bp_permanent.exp
14345 * gdb.arch/i386-disp-step.exp
14346 * gdb.arch/i386-float.exp
14347 * gdb.arch/i386-gnu-cfi.exp
14348 * gdb.arch/ia64-breakpoint-shadow.exp
14349 * gdb.arch/mips16-thunks.exp
14350 * gdb.arch/pa-nullify.exp
14351 * gdb.arch/powerpc-aix-prologue.exp
14352 * gdb.arch/powerpc-power.exp
14353 * gdb.arch/ppc-dfp.exp
14354 * gdb.arch/s390-tdbregs.exp
14355 * gdb.arch/spu-info.exp
14356 * gdb.arch/spu-ls.exp
14357 * gdb.arch/thumb-bx-pc.exp
14358 * gdb.base/advance.exp
14359 * gdb.base/annota-input-while-running.exp
14360 * gdb.base/arrayidx.exp
14361 * gdb.base/asmlabel.exp
14362 * gdb.base/async.exp
14363 * gdb.base/attach-wait-input.exp
14364 * gdb.base/auto-connect-native-target.exp
14365 * gdb.base/batch-preserve-term-settings.exp
14366 * gdb.base/bfp-test.exp
14367 * gdb.base/bigcore.exp
14368 * gdb.base/bp-permanent.exp
14369 * gdb.base/break-always.exp
14370 * gdb.base/break-fun-addr.exp
14371 * gdb.base/break-idempotent.exp
14372 * gdb.base/break-main-file-remove-fail.exp
14373 * gdb.base/break-probes.exp
14374 * gdb.base/break-unload-file.exp
14375 * gdb.base/break.exp
14376 * gdb.base/call-ar-st.exp
14377 * gdb.base/call-rt-st.exp
14378 * gdb.base/call-sc.exp
14379 * gdb.base/call-signal-resume.exp
14380 * gdb.base/call-strs.exp
14381 * gdb.base/callexit.exp
14382 * gdb.base/callfuncs.exp
14383 * gdb.base/catch-gdb-caused-signals.exp
14384 * gdb.base/catch-signal-siginfo-cond.exp
14385 * gdb.base/catch-syscall.exp
14386 * gdb.base/compare-sections.exp
14387 * gdb.base/cond-eval-mode.exp
14388 * gdb.base/condbreak-call-false.exp
14389 * gdb.base/consecutive-step-over.exp
14390 * gdb.base/cursal.exp
14391 * gdb.base/disabled-location.exp
14392 * gdb.base/disasm-end-cu.exp
14393 * gdb.base/display.exp
14394 * gdb.base/double-prompt-target-event-error.exp
14395 * gdb.base/dprintf-bp-same-addr.exp
14396 * gdb.base/dprintf-detach.exp
14397 * gdb.base/dprintf-next.exp
14398 * gdb.base/dprintf-non-stop.exp
14399 * gdb.base/dprintf-pending.exp
14400 * gdb.base/dso2dso.exp
14401 * gdb.base/ending-run.exp
14402 * gdb.base/enum_cond.exp
14403 * gdb.base/examine-backward.exp
14404 * gdb.base/exe-lock.exp
14405 * gdb.base/exec-invalid-sysroot.exp
14406 * gdb.base/execl-update-breakpoints.exp
14407 * gdb.base/execution-termios.exp
14408 * gdb.base/fileio.exp
14409 * gdb.base/fixsection.exp
14410 * gdb.base/foll-exec-mode.exp
14411 * gdb.base/foll-exec.exp
14412 * gdb.base/fork-running-state.exp
14413 * gdb.base/frame-args.exp
14414 * gdb.base/fullpath-expand.exp
14415 * gdb.base/func-ptr.exp
14416 * gdb.base/gcore-relro-pie.exp
14417 * gdb.base/gdb1090.exp
14418 * gdb.base/gdb1555.exp
14419 * gdb.base/global-var-nested-by-dso.exp
14420 * gdb.base/gnu-ifunc.exp
14421 * gdb.base/hbreak-in-shr-unsupported.exp
14422 * gdb.base/hbreak-unmapped.exp
14423 * gdb.base/hook-stop.exp
14424 * gdb.base/infcall-input.exp
14425 * gdb.base/info-fun.exp
14426 * gdb.base/info-shared.exp
14427 * gdb.base/interrupt-noterm.exp
14428 * gdb.base/jit-so.exp
14429 * gdb.base/jit.exp
14430 * gdb.base/line-symtabs.exp
14431 * gdb.base/list.exp
14432 * gdb.base/longjmp.exp
14433 * gdb.base/macscp.exp
14434 * gdb.base/max-value-size.exp
14435 * gdb.base/nodebug.exp
14436 * gdb.base/nofield.exp
14437 * gdb.base/overlays.exp
14438 * gdb.base/paginate-after-ctrl-c-running.exp
14439 * gdb.base/paginate-bg-execution.exp
14440 * gdb.base/paginate-inferior-exit.exp
14441 * gdb.base/pending.exp
14442 * gdb.base/pr11022.exp
14443 * gdb.base/printcmds.exp
14444 * gdb.base/ptr-typedef.exp
14445 * gdb.base/ptype.exp
14446 * gdb.base/randomize.exp
14447 * gdb.base/range-stepping.exp
14448 * gdb.base/realname-expand.exp
14449 * gdb.base/relativedebug.exp
14450 * gdb.base/remote.exp
14451 * gdb.base/savedregs.exp
14452 * gdb.base/sepdebug.exp
14453 * gdb.base/set-noassign.exp
14454 * gdb.base/shlib-call.exp
14455 * gdb.base/shreloc.exp
14456 * gdb.base/sigaltstack.exp
14457 * gdb.base/sigbpt.exp
14458 * gdb.base/siginfo-addr.exp
14459 * gdb.base/siginfo-obj.exp
14460 * gdb.base/siginfo-thread.exp
14461 * gdb.base/signest.exp
14462 * gdb.base/signull.exp
14463 * gdb.base/sigrepeat.exp
14464 * gdb.base/skip.exp
14465 * gdb.base/so-impl-ld.exp
14466 * gdb.base/solib-corrupted.exp
14467 * gdb.base/solib-disc.exp
14468 * gdb.base/solib-display.exp
14469 * gdb.base/solib-overlap.exp
14470 * gdb.base/solib-search.exp
14471 * gdb.base/solib-symbol.exp
14472 * gdb.base/source-execution.exp
14473 * gdb.base/sss-bp-on-user-bp-2.exp
14474 * gdb.base/sss-bp-on-user-bp.exp
14475 * gdb.base/stack-checking.exp
14476 * gdb.base/stale-infcall.exp
14477 * gdb.base/step-break.exp
14478 * gdb.base/step-line.exp
14479 * gdb.base/step-over-exit.exp
14480 * gdb.base/step-test.exp
14481 * gdb.base/structs.exp
14482 * gdb.base/sym-file.exp
14483 * gdb.base/symtab-search-order.exp
14484 * gdb.base/term.exp
14485 * gdb.base/type-opaque.exp
14486 * gdb.base/unload.exp
14487 * gdb.base/until-nodebug.exp
14488 * gdb.base/until.exp
14489 * gdb.base/unwindonsignal.exp
14490 * gdb.base/watch-cond.exp
14491 * gdb.base/watch-non-mem.exp
14492 * gdb.base/watch_thread_num.exp
14493 * gdb.base/watchpoint-reuse-slot.exp
14494 * gdb.base/watchpoint-solib.exp
14495 * gdb.base/watchpoint.exp
14496 * gdb.btrace/dlopen.exp
14497 * gdb.cell/arch.exp
14498 * gdb.cell/break.exp
14499 * gdb.cell/bt.exp
14500 * gdb.cell/core.exp
14501 * gdb.cell/data.exp
14502 * gdb.cell/dwarfaddr.exp
14503 * gdb.cell/ea-cache.exp
14504 * gdb.cell/ea-standalone.exp
14505 * gdb.cell/ea-test.exp
14506 * gdb.cell/f-regs.exp
14507 * gdb.cell/fork.exp
14508 * gdb.cell/gcore.exp
14509 * gdb.cell/mem-access.exp
14510 * gdb.cell/ptype.exp
14511 * gdb.cell/registers.exp
14512 * gdb.cell/sizeof.exp
14513 * gdb.cell/solib-symbol.exp
14514 * gdb.cell/solib.exp
14515 * gdb.compile/compile-tls.exp
14516 * gdb.cp/exception.exp
14517 * gdb.cp/gdb2495.exp
14518 * gdb.cp/local.exp
14519 * gdb.cp/mb-inline.exp
14520 * gdb.cp/mb-templates.exp
14521 * gdb.cp/pr10687.exp
14522 * gdb.cp/pr9167.exp
14523 * gdb.cp/scope-err.exp
14524 * gdb.cp/templates.exp
14525 * gdb.cp/virtfunc.exp
14526 * gdb.dwarf2/dw2-dir-file-name.exp
14527 * gdb.dwarf2/dw2-single-line-discriminators.exp
14528 * gdb.fortran/complex.exp
14529 * gdb.fortran/library-module.exp
14530 * gdb.guile/guile.exp
14531 * gdb.guile/scm-cmd.exp
14532 * gdb.guile/scm-frame-inline.exp
14533 * gdb.guile/scm-objfile.exp
14534 * gdb.guile/scm-pretty-print.exp
14535 * gdb.guile/scm-symbol.exp
14536 * gdb.guile/scm-type.exp
14537 * gdb.guile/scm-value.exp
14538 * gdb.linespec/keywords.exp
14539 * gdb.linespec/ls-errs.exp
14540 * gdb.linespec/macro-relative.exp
14541 * gdb.linespec/thread.exp
14542 * gdb.mi/mi-breakpoint-changed.exp
14543 * gdb.mi/mi-dprintf-pending.exp
14544 * gdb.mi/mi-fullname-deleted.exp
14545 * gdb.mi/mi-logging.exp
14546 * gdb.mi/mi-pending.exp
14547 * gdb.mi/mi-solib.exp
14548 * gdb.mi/new-ui-mi-sync.exp
14549 * gdb.mi/user-selected-context-sync.exp
14550 * gdb.multi/dummy-frame-restore.exp
14551 * gdb.multi/multi-arch-exec.exp
14552 * gdb.multi/remove-inferiors.exp
14553 * gdb.multi/watchpoint-multi-exit.exp
14554 * gdb.opt/solib-intra-step.exp
14555 * gdb.perf/backtrace.exp
14556 * gdb.perf/single-step.exp
14557 * gdb.perf/skip-command.exp
14558 * gdb.perf/skip-prologue.exp
14559 * gdb.perf/solib.exp
14560 * gdb.python/lib-types.exp
14561 * gdb.python/py-as-string.exp
14562 * gdb.python/py-bad-printers.exp
14563 * gdb.python/py-block.exp
14564 * gdb.python/py-breakpoint.exp
14565 * gdb.python/py-cmd.exp
14566 * gdb.python/py-events.exp
14567 * gdb.python/py-evthreads.exp
14568 * gdb.python/py-finish-breakpoint.exp
14569 * gdb.python/py-finish-breakpoint2.exp
14570 * gdb.python/py-frame-inline.exp
14571 * gdb.python/py-frame.exp
14572 * gdb.python/py-inferior.exp
14573 * gdb.python/py-infthread.exp
14574 * gdb.python/py-mi.exp
14575 * gdb.python/py-objfile.exp
14576 * gdb.python/py-pp-maint.exp
14577 * gdb.python/py-pp-registration.exp
14578 * gdb.python/py-prettyprint.exp
14579 * gdb.python/py-recurse-unwind.exp
14580 * gdb.python/py-shared.exp
14581 * gdb.python/py-symbol.exp
14582 * gdb.python/py-symtab.exp
14583 * gdb.python/py-template.exp
14584 * gdb.python/py-type.exp
14585 * gdb.python/py-unwind-maint.exp
14586 * gdb.python/py-unwind.exp
14587 * gdb.python/py-value.exp
14588 * gdb.python/python.exp
14589 * gdb.reverse/finish-reverse-bkpt.exp
14590 * gdb.reverse/insn-reverse.exp
14591 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14592 * gdb.reverse/solib-precsave.exp
14593 * gdb.reverse/solib-reverse.exp
14594 * gdb.stabs/gdb11479.exp
14595 * gdb.stabs/weird.exp
14596 * gdb.threads/fork-child-threads.exp
14597 * gdb.threads/fork-plus-threads.exp
14598 * gdb.threads/fork-thread-pending.exp
14599 * gdb.threads/forking-threads-plus-breakpoint.exp
14600 * gdb.threads/hand-call-in-threads.exp
14601 * gdb.threads/interrupted-hand-call.exp
14602 * gdb.threads/linux-dp.exp
14603 * gdb.threads/local-watch-wrong-thread.exp
14604 * gdb.threads/next-while-other-thread-longjmps.exp
14605 * gdb.threads/non-ldr-exit.exp
14606 * gdb.threads/pending-step.exp
14607 * gdb.threads/print-threads.exp
14608 * gdb.threads/process-dies-while-detaching.exp
14609 * gdb.threads/process-dies-while-handling-bp.exp
14610 * gdb.threads/pthreads.exp
14611 * gdb.threads/queue-signal.exp
14612 * gdb.threads/reconnect-signal.exp
14613 * gdb.threads/signal-command-handle-nopass.exp
14614 * gdb.threads/signal-command-multiple-signals-pending.exp
14615 * gdb.threads/signal-delivered-right-thread.exp
14616 * gdb.threads/signal-sigtrap.exp
14617 * gdb.threads/sigthread.exp
14618 * gdb.threads/staticthreads.exp
14619 * gdb.threads/stepi-random-signal.exp
14620 * gdb.threads/thread-unwindonsignal.exp
14621 * gdb.threads/thread_check.exp
14622 * gdb.threads/thread_events.exp
14623 * gdb.threads/tid-reuse.exp
14624 * gdb.threads/tls-nodebug.exp
14625 * gdb.threads/tls-shared.exp
14626 * gdb.threads/tls-so_extern.exp
14627 * gdb.threads/tls.exp
14628 * gdb.threads/wp-replication.exp
14629 * gdb.trace/actions-changed.exp
14630 * gdb.trace/actions.exp
14631 * gdb.trace/backtrace.exp
14632 * gdb.trace/change-loc.exp
14633 * gdb.trace/collection.exp
14634 * gdb.trace/deltrace.exp
14635 * gdb.trace/disconnected-tracing.exp
14636 * gdb.trace/entry-values.exp
14637 * gdb.trace/ftrace-lock.exp
14638 * gdb.trace/ftrace.exp
14639 * gdb.trace/infotrace.exp
14640 * gdb.trace/mi-trace-frame-collected.exp
14641 * gdb.trace/mi-trace-unavailable.exp
14642 * gdb.trace/mi-traceframe-changed.exp
14643 * gdb.trace/mi-tracepoint-changed.exp
14644 * gdb.trace/mi-tsv-changed.exp
14645 * gdb.trace/no-attach-trace.exp
14646 * gdb.trace/packetlen.exp
14647 * gdb.trace/passc-dyn.exp
14648 * gdb.trace/passcount.exp
14649 * gdb.trace/pending.exp
14650 * gdb.trace/pr16508.exp
14651 * gdb.trace/qtro.exp
14652 * gdb.trace/range-stepping.exp
14653 * gdb.trace/read-memory.exp
14654 * gdb.trace/report.exp
14655 * gdb.trace/save-trace.exp
14656 * gdb.trace/signal.exp
14657 * gdb.trace/stap-trace.exp
14658 * gdb.trace/status-stop.exp
14659 * gdb.trace/strace.exp
14660 * gdb.trace/tfile.exp
14661 * gdb.trace/tfind.exp
14662 * gdb.trace/trace-break.exp
14663 * gdb.trace/trace-condition.exp
14664 * gdb.trace/trace-enable-disable.exp
14665 * gdb.trace/trace-mt.exp
14666 * gdb.trace/tracecmd.exp
14667 * gdb.trace/tracefile-pseudo-reg.exp
14668 * gdb.trace/tspeed.exp
14669 * gdb.trace/tstatus.exp
14670 * gdb.trace/tsv.exp
14671 * gdb.trace/unavailable.exp
14672 * gdb.trace/while-dyn.exp
14673 * gdb.trace/while-stepping.exp
14674 * lib/gdb-guile.exp
14675 * lib/gdb.exp
14676 * lib/mi-support.exp
14677 * lib/pascal.exp
14678 * lib/perftest.exp
14679 * lib/prelink-support.exp
14680 * lib/selftest-support.exp
14681
ad02e4fe
SM
146822016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14683
14684 * Makefile.in: Include disable-implicit-rules.mk.
14685
22347e55
AA
146862016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14687
14688 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14689 non-byte-aligned bit fields.
14690
da5b30da
AA
146912016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14692
14693 PR gdb/12616
14694 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14695 respects the DW_AT_data_bit_offset attribute.
14696
b593ecca
SM
146972016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14698
14699 * gdb.base/default.exp: Fix output of "set language".
14700
3b165252
SM
147012016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14702
14703 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14704 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14705 make.
14706 * configure.ac: Remove checks for the make program.
14707 * configure: Re-generate.
14708
1a2f3d7f
KB
147092016-11-16 Kevin Buettner <kevinb@redhat.com>
14710
14711 * gdb.python/py-recurse-unwind.c (main): Add loop.
14712 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14713 to read_register() and gdb.parse_and_eval(). Make each code
14714 call a separate case that can be individually tested.
14715 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14716 proc. Call cont_and_backtrace for each of the code paths that
14717 we want to test in the unwinder.
14718
b7f38fda
AA
147192016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14720
14721 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14722 the definition of struct S.
14723
1f8db343
CM
147242016-11-11 Catherine Moore <clm@codesourcery.com>
14725
14726 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14727
fad0c9fb
PA
147282016-11-09 Pedro Alves <palves@redhat.com>
14729
14730 * gdb.base/commands.exp (runto_or_return): New procedure.
14731 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14732 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14733 (progvar_simple_while_test, progvar_complex_if_while_test)
14734 (if_while_breakpoint_command_test)
14735 (infrun_breakpoint_command_test, breakpoint_command_test)
14736 (user_defined_command_test, watchpoint_command_test)
14737 (test_command_prompt_position, redefine_hook_test)
14738 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14739 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14740 multi_line_input and multi_line. Remove gdb_expect and
14741 gdb_stop_suppressing_tests uses.
14742 * lib/gdb.exp (valnum_re): New global.
14743 (multi_line_input): New procedure.
14744
8354c62c
SM
147452016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14746
14747 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14748 Remove.
14749 (test_setup): Define with proc_with_prefix.
14750 (test_cli_inferior): Likewise.
14751 (test_cli_thread): Likewise.
14752 (test_cli_frame): Likewise.
14753 (test_cli_select_frame): Likewise.
14754 (test_cli_up_down): Likewise.
14755 (test_mi_thread_select): Likewise.
14756 (test_mi_stack_select_frame): Likewise.
14757 (test_cli_in_mi_inferior): Likewise.
14758 (test_cli_in_mi_thread): Likewise.
14759 (test_cli_in_mi_frame): Likewise.
14760 (top level): Do not use with_test_prefix_procname.
14761
64f367a2
PA
147622016-11-09 Pedro Alves <palves@redhat.com>
14763
14764 * gdb.base/commands.exp (gdbvar_simple_if_test)
14765 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14766 (progvar_simple_if_test, progvar_simple_while_test)
14767 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14768 (infrun_breakpoint_command_test, breakpoint_command_test)
14769 (user_defined_command_test, watchpoint_command_test)
14770 (test_command_prompt_position, deprecated_command_test)
14771 (bp_deleted_in_command, temporary_breakpoint_commands)
14772 (stray_arg0_test, source_file_with_indented_comment)
14773 (recursive_source_test, if_commands_test)
14774 (error_clears_commands_left, redefine_hook_test)
14775 (redefine_backtrace_test): Use proc_with_prefix.
14776 * lib/gdb.exp (proc_with_prefix): New proc.
14777
0bb65f1e
AA
147782016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14779
14780 * gdb.base/tui-layout.c: New file.
14781 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14782 disassembly window contains very long lines.
14783
7353f247
TT
147842016-11-08 Tom Tromey <tom@tromey.com>
14785
14786 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14787 depend on Python 2.
14788
30a7bb83
TT
147892016-11-08 Tom Tromey <tom@tromey.com>
14790
14791 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14792 New method.
14793
cdf5a07c
MG
147942016-10-29 Manish Goregaokar <manish@mozilla.com>
14795
2806dc7e 14796 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14797
51a789c3
MG
147982016-10-27 Manish Goregaokar <manish@mozilla.com>
14799
2806dc7e
PA
14800 * gdb.rust/simple.rs: Add test for univariant enums without
14801 discriminants and for encoded struct-like enums.
51a789c3 14802
f610ab6d
PA
148032016-10-28 Pedro Alves <palves@redhat.com>
14804
14805 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14806 gdb_test_multiple, tighten regexps and match symtabs and line
14807 tables incrementally.
14808
b129b0ca
LM
148092016-10-28 Luis Machado <lgustavo@codesourcery.com>
14810
14811 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14812 general.
14813
ecf45d2c
SL
148142016-10-25 Luis Machado <lgustavo@codesourcery.com>
14815
14816 * gdb.base/exec-invalid-sysroot.exp: New file.
14817
b8d38ee4
JK
148182016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14819
14820 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14821
f90fd8c2
JK
148222016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14823
14824 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14825
2d2476aa
MR
148262016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14827
2806dc7e
PA
14828 * gdb.base/killed-outside.exp: Remove $options from a call to
14829 `prepare_for_testing'.
2d2476aa 14830
e42b25a0
SM
148312016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14832
14833 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14834 Change test message.
14835
3ccdb432
SM
148362016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14837
14838 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14839 Update comment.
14840
5bad3170
SM
148412016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14842
14843 * gdb.trace/mi-trace-save.exp: New file.
14844
5ad9dba7
YQ
148452016-10-13 Yao Qi <yao.qi@linaro.org>
14846
14847 * gdb.base/code_elim.exp (get_var_address): Remove.
14848 * gdb.base/relocate.exp: Likewise.
14849 * gdb.base/shreloc.exp: Likewise.
14850 * lib/gdb.exp (get_var_address): New.
14851
62df7e21
YQ
148522016-10-13 Yao Qi <yao.qi@linaro.org>
14853
14854 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14855 floating point tests if $skip_float_test is false.
14856
4dac951e
LM
148572016-10-12 Luis Machado <lgustavo@codesourcery.com>
14858
14859 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14860 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14861 argc values.
14862 Add 1 to argc so we guarantee distinct initial/modified argc values.
14863
8f1a8fc4
JK
148642016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14865
14866 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14867
16c85b5d
JK
148682016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14869
14870 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14871 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14872 * gdb.arch/vsx-regs.exp: Likewise.
14873
1d0e042a
YQ
148742016-10-07 Yao Qi <yao.qi@linaro.org>
14875
14876 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14877
68dadef5
MM
148782016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14879
14880 * gdb.python/python.exp: Test decode_line("*0").
14881
33fa2c6e
DE
148822016-10-06 Doug Evans <dje@google.com>
14883
14884 * gdb.python/py-value.exp (test_value_creation): Add test for large
14885 unsigned 64-bit value.
14886
9c37b5ae
TT
148872016-10-06 Tom Tromey <tom@tromey.com>
14888
14889 * gdb.compile/compile.exp: Change java tests to rust.
14890 * gdb.base/setshow.exp: Change java tests to rust.
14891 * gdb.base/default.exp: Remove java from language list.
14892 * README (Examples): Update language example.
14893 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14894 test.
14895 * lib/gdb.exp (skip_java_tests): Remove.
14896 * lib/java.exp: Remove.
14897 * gdb.java: Remove.
14898
78b86327
MR
148992016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14900
14901 * gdb.arch/mips-fcr.exp: New test.
14902 * gdb.arch/mips-fcr.c: Source for the new test.
14903
7470adbb
MR
149042016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14905
14906 * gdb.base/solib-disc.exp: Use `standard_output_file'
14907 throughout.
14908
4a556533
PA
149092016-10-06 Pedro Alves <palves@redhat.com>
14910
14911 * gdb.base/jit-simple-dl.c: New file.
14912 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14913 * gdb.base/jit-simple.c: ... this.
14914 * gdb.base/jit-simple.exp (jit_run): Delete.
14915 (build_jit): New proc.
14916 (jit_test_reread): Recompile either the main program or the shared
14917 library, depending on what is being tested. Skip changing address
14918 if caller wants to. Compare before/after addresses. If testing
14919 standalone, explicitly load the binary. Test "maint info
14920 breakpoints".
14921 (top level): Add "standalone vs shared lib" and "change address"
14922 vs "same address" axes.
14923
5a122fbc
PA
149242016-10-06 Pedro Alves <palves@redhat.com>
14925
14926 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14927 call.
14928 (jit_run): Delete.
14929 (jit_test_reread): Use with_test_prefix. Reload the main binary
14930 explicitly. Compare the before/after addresses of the JIT
14931 descriptor.
14932
ee8da4b8
DE
149332016-08-15 Doug Evans <dje@google.com>
14934
14935 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14936 for single bitfields is bool.
14937 * gdb.xml/tdesc-regs.exp: Ditto.
14938
f389f6fe
JK
149392016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14940
14941 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14942
fdebf1a4
YQ
149432016-10-05 Yao Qi <yao.qi@linaro.org>
14944
14945 * lib/gdb.exp (support_complex_tests): Return zero if
14946 gdb_skip_float_test return true.
14947
9c36d954 149482016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14949 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14950
14951 PR gdb/20487
14952 * gdb.mi/user-selected-context-sync.exp: New file.
14953 * gdb.mi/user-selected-context-sync.c: New file.
14954
4034d0ff 149552016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14956 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14957
14958 PR gdb/20487
14959 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14960 =thread-select-event check.
14961
a4297203
PB
149622016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14963
14964 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14965 the compulsory L operand changes.
14966 * gdb.arch/powerpc-power.s: Likewise.
14967
bb805577
JK
149682016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14969
14970 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14971 * gdb.base/jit-attach-pie.c: New file.
14972 * gdb.base/jit-attach-pie.exp: New file.
14973
6d61dee5
PA
149742016-09-28 Pedro Alves <palves@redhat.com>
14975
14976 * gdb.base/infcall-input.c: New file.
14977 * gdb.base/infcall-input.exp: New file.
14978
f73842fc
YQ
149792016-09-22 Yao Qi <yao.qi@linaro.org>
14980
14981 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14982 (gdb_exit): Rename it to ...
14983 (gdbserver_gdb_exit): ... Close GDBserver.
14984 (gdb_exit): New proc, call gdbserver_gdb_exit.
14985 (mi_gdb_exit): Likewise.
14986
90681dab
YQ
149872016-09-22 Yao Qi <yao.qi@linaro.org>
14988
14989 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14990 path.
14991 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14992 Remove duplication.
14993
9c211fd8
YQ
149942016-09-22 Yao Qi <yao.qi@linaro.org>
14995
14996 * lib/gdbserver-support.exp: Check the existence of
14997 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14998
ad0a504f
AK
149992016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15000
15001 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15002
36cf1806
TT
150032016-09-21 Tom Tromey <tom@tromey.com>
15004
15005 PR gdb/20604:
15006 * gdb.base/quit.exp: New file.
15007
74172ecf
SM
150082016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15009
15010 * .gitignore: New file.
15011
3d0ec882
MR
150122016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15013
15014 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15015 throughout.
15016
8193adea
AA
150172016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15018
15019 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15020
d41a5c09
JK
150212016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15022
15023 * gdb.cp/casts.cc (decltype): Move it ...
15024 (main): ... with its call to ...
15025 * gdb.cp/casts03.cc: ... a new file.
15026 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15027
d2dfe700
JK
150282016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15029
15030 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15031
e2a92b16
PB
150322016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15033
15034 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15035 and sync up the test with tests in gas/testsuite/gas/ppc.
15036 * gdb.arch/powerpc-power.exp: Likewise.
15037
49b4de64
JK
150382016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15039
15040 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15041
2c29df25
SDJ
150422016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15043 Jan Kratochvil <jan.kratochvil@redhat.com>
15044
15045 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15046 make m1's definition to be different from m2's. Use 'dummy' as an
15047 argument for probe 'two'.
15048
cc3c2846
JB
150492016-09-10 Jon Beniston <jon@beniston.com>
15050
15051 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15052 for sim target.
15053
e1b2624a
AA
150542016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15055
15056 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15057 variable declaration.
15058 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15059 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15060 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15061 received HWCAP as its argument.
15062
4295e285
PA
150632016-09-06 Pedro Alves <palves@redhat.com>
15064
15065 * gdb.base/new-ui-pending-input.c: New file.
15066 * gdb.base/new-ui-pending-input.exp: New file.
15067 * gdb.exp (clear_gdb_spawn_id): New procedure.
15068 (with_spawn_id): Check whether gdb_spawn_id exists before
15069 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15070 on exit.
15071
00d5215e
UW
150722016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15073
15074 * gdb.base/float128.c: New file.
15075 * gdb.base/float128.exp: Likewise.
15076 * gdb.base/floatn.c: Likewise.
15077 * gdb.base/floatn.exp: Likewise.
15078
a9ff5f12
UW
150792016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15080
15081 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15082
f245535c
PA
150832016-09-05 Pedro Alves <palves@redhat.com>
15084
15085 PR backtrace/19927
15086 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15087 unwinders are immediately called as side effect of "source" or
15088 "disable unwinder" commands.
15089 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15090
ae9cf263
YQ
150912016-09-02 Yao Qi <yao.qi@linaro.org>
15092
15093 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15094 is true and $type is "float" or "double".
15095
27aba047
YQ
150962016-09-02 Yao Qi <yao.qi@linaro.org>
15097
15098 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15099 true.
15100 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15101 * gdb.base/call-rt-st.exp: Likewise.
15102 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15103 return value instead of gdb,skip_float_test.
15104 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15105 (do_function_calls): Use its return value instead of
15106 gdb,skip_float_test.
15107 * gdb.base/finish.exp: Likewise.
15108 * gdb.base/funcargs.exp: Likewise.
15109 * gdb.base/return.exp: Likewise.
15110 * gdb.base/return2.exp: Likewise.
15111 * gdb.base/varargs.exp: Likewise.
15112 * lib/gdb.exp (gdb_skip_float_test): Change it to
15113 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15114
5af962df
AA
151152016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15116
15117 * gdb.multi/tids.exp: Test "thread apply all".
15118
7fac6910
JK
151192016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15120
15121 * gdb.base/default.exp (tty): Remove.
15122
bb1fe4ac
KB
151232016-08-24 Kevin Buettner <kevinb@redhat.com>
15124
2806dc7e
PA
15125 * gdb.python/py-recurse-unwind.c: New file.
15126 * gdb.python/py-recurse-unwind.py: New file.
15127 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15128
0a1ddfa6
SM
151292016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15130
15131 * gdb.base/set-inferior-tty.exp: New file.
15132 * gdb.base/set-inferior-tty.c: New file.
15133
d9de1fe3
PA
151342016-08-23 Pedro Alves <palves@redhat.com>
15135
15136 PR gdb/20494
15137 * gdb.base/new-ui-echo.c: New file.
15138 * gdb.base/new-ui-echo.exp: New file.
15139
e9d9abd7
YQ
151402016-08-23 Yao Qi <yao.qi@linaro.org>
15141
15142 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15143 gdbserver_spawn.
15144 * gdb.server/connect-without-multi-process.exp (do_test):
15145 Likewise.
15146
3589529e
YQ
151472016-08-23 Yao Qi <yao.qi@linaro.org>
15148
15149 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15150 standalone_txt. Delete gdb_txt and standalone_txt on host
15151 and target. Spawn the binary on target. Copy files from
15152 target to host.
15153
6bb90213
PA
151542016-08-22 Pedro Alves <palves@redhat.com>
15155
15156 PR gdb/20505
15157 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15158 with_test_prefix. Factor out bits to ...
15159 (test_no_vdso): ... this new procedure.
15160
20c2c024
CL
151612016-08-19 Carl Love <cel@us.ibm.com>
15162
15163 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15164 maintaining separate logic for constructing the output path.
15165 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15166 * gdb.arch/ppc-dfp.exp: Likewise.
15167 * gdb.arch/ppc-fp.exp: Likewise.
15168 * gdb.arch/vsx-regs.exp: Likewise.
15169 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15170 binprefix for generating the additional binary files.
15171
0646e07d
PA
151722016-08-19 Pedro Alves <palves@redhat.com>
15173
15174 * gdb.trace/mi-trace-frame-collected.exp
15175 (test_trace_frame_collected): On x32, expect two registers.
15176
46da9242
CL
151772016-08-18 Carl Love <cel@us.ibm.com>
15178
15179 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15180 and sync up the test with tests in gas/testsuite/gas/ppc.
15181 * gdb.arch/powerpc-power.exp: Likewise.
15182
eb2332d7
SM
151832016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15184
15185 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15186 expected error message.
15187
63c61e04
SM
151882016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15189
15190 * gdb.multi/remove-inferiors.exp: New file.
15191 * gdb.multi/remove-inferiors.c: New file.
15192
7b17065f
YQ
151932016-08-12 Yao Qi <yao.qi@linaro.org>
15194
15195 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15196 argument list.
15197
01d3dedf
PA
151982016-08-10 Pedro Alves <palves@redhat.com>
15199
15200 PR gdb/19187
15201 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15202 setup_kfails.
15203
3eb7562a
PA
152042016-08-09 Pedro Alves <palves@redhat.com>
15205 Simon Marchi <simon.marchi@ericsson.com>
15206
15207 PR gdb/20418
15208 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15209 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15210
80614914
PA
152112016-08-09 Pedro Alves <palves@redhat.com>
15212
15213 PR mi/20431
15214 * gdb.mi/mi-cmd-error.exp: New file.
15215
f348d89a
PA
152162016-08-09 Pedro Alves <palves@redhat.com>
15217
15218 PR gdb/18653
15219 * gdb.base/signals-state-child.c: New file.
15220 * gdb.base/signals-state-child.exp: New file.
15221 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15222
e5ca03b4
PA
152232016-08-09 Pedro Alves <palves@redhat.com>
15224
15225 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15226
282a0691
TT
152272016-08-03 Tom Tromey <tom@tromey.com>
15228
15229 PR python/18565:
15230 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15231
41bfcd63
YQ
152322016-08-01 Yao Qi <yao.qi@linaro.org>
15233
15234 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15235 variable mode to "multi-process" if $multi_process is 1, otherwise
15236 set it to "single-process".
15237
e3465b24
YQ
152382016-08-01 Yao Qi <yao.qi@linaro.org>
15239
15240 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15241 * gdb.cp/cpexprs.exp: Likewise.
15242 * gdb.cp/m-static.exp: Likewise.
15243
0b31a4bc
TT
152442016-07-26 Tom Tromey <tom@tromey.com>
15245
15246 PR python/20190:
15247 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15248 test.
15249
e0461dbb
MM
152502016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15251
15252 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15253 selecting assembly source files.
15254 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15255 assembly source files.
15256 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15257 assembly source files.
15258 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15259 selecting assembly source files.
15260
8194e927
SM
152612016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15262
15263 * gdb.base/new-ui.exp (do_test_invalid_args): New
15264 procedure.
15265
c0272db5
TW
152662016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15267
15268 * gdb.btrace/reconnect.c: New file.
15269 * gdb.btrace/reconnect.exp: New file.
15270
e3487908
GKB
152712016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15272
15273 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15274 to test_catch_syscall_group.
15275 (test_catch_syscall_group): New.
15276
12df5c00
TT
152772016-07-21 Tom Tromey <tom@tromey.com>
15278
15279 * gdb.rust/simple.rs (main): Use empty struct expression.
15280 * gdb.rust/simple.exp: Add tests for empty struct expression.
15281
bae62ee2
YQ
152822016-07-21 Yao Qi <yao.qi@linaro.org>
15283
15284 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15285 if gdb_skip_xml_test is true on some targets.
15286
b1b53fb3
YQ
152872016-07-21 Yao Qi <yao.qi@linaro.org>
15288
15289 * gdb.server/solib-list.exp: Unset last_loaded_file.
15290
027d97f8
JK
152912016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15292
15293 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15294 "step into captured_main (args)".
15295
7674d381
JK
152962016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15297
15298 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15299
72b5d099
JK
153002016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15301
15302 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15303
1f960ced
PA
153042016-07-19 Pedro Alves <palves@redhat.com>
15305
15306 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15307 * gdb.opt/inline-bt.exp: Likewise.
15308 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15309 additional_flags=-Winline.
15310 * gdb.opt/inline-locals.exp: Likewise.
15311 * gdb.opt/inline-markers.c (ATTR): Define.
15312 (inlined_fn): Use it.
15313
f25827c1
YQ
153142016-07-19 Yao Qi <yao.qi@linaro.org>
15315
15316 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15317 (test_with_self): Remove some code. Remove argument executable.
15318 (top-level): Use do_self_tests.
15319
37539ebe
DB
153202016-07-15 Zachary Welch <zwelch@codesourcery.com>
15321 Don Breazeal <donb@codesourcery.com>
15322
15323 * gdb.base/maint.exp: Escape paths used in regular expressions.
15324 * gdb.stabs/weird.exp: Likewise.
15325
dac790e1
TT
153262016-07-13 Tom Tromey <tom@tromey.com>
15327
15328 PR python/15620, PR python/18620:
15329 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15330 (test_bkpt_events): New procs.
15331
93daf339
TT
153322016-07-13 Tom Tromey <tom@tromey.com>
15333
15334 PR python/17698:
15335 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15336 test.
15337 (test_watchpoints): Likewise.
15338 (test_bkpt_pending): New proc.
15339
6571a381
TT
153402016-07-13 Tom Tromey <tom@tromey.com>
15341
15342 PR cli/18053:
15343 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15344 completion test.
15345
e8732474
JK
153462016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15347
15348 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15349 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15350 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15351 f_label.
15352 (g): Rename g_end_lbl to g_label.
15353 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15354 low_pc and high_pc.
15355 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15356
e0f3fd7c
TT
153572016-07-12 Tom Tromey <tom@tromey.com>
15358
15359 PR python/19293:
15360 * gdb.python/py-unwind-maint.exp: Update tests.
15361
3cfe46b6
YQ
153622016-07-12 Yao Qi <yao.qi@linaro.org>
15363
15364 * lib/selftest-support.exp (selftest_setup): Match the output
15365 when captured_main is inlined.
15366
4f19a0e6
WT
153672016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15368
15369 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15370 New variables.
15371 (print this%a, print this%b, print this): New tests.
15372 * gdb.fortran/derived-types.f90 (this): New object and
15373 initialization.
15374
986cf455
SM
153752016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15376
15377 * gdb.ada/arraydim.exp: Remove extra directory level in build
15378 directory.
15379
f0464b23
SM
153802016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15381
15382 * lib/ada.exp: Remove extra directory level in build directory.
15383 * gdb.ada/cond_lang.exp: Likewise.
15384 * gdb.ada/exec_changed.exp: Likewise.
15385 * gdb.ada/lang_switch.exp: Likewise.
15386
42d94011
MG
153872016-07-06 Manish Goregaokar <manish@mozilla.com>
15388
2806dc7e
PA
15389 * simple.rs: Add test for raw pointer subscripting.
15390 * simple.exp: Add test expectations.
42d94011 15391
647c264c
YQ
153922016-07-05 Yao Qi <yao.qi@linaro.org>
15393
15394 * gdb.mi/mi-reverse.exp: Match =record-started output.
15395
20aa2c60
PA
153962016-07-01 Pedro Alves <palves@redhat.com>
15397
15398 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15399 procedure.
15400 (jit_reader_test): Test the jit reader's unwinder.
15401 * gdb.base/jithost.c (jit_function_00_code): New global.
15402 (main): Use memcpy to fill in the mmapped code, instead of poking
15403 bytes manually here.
15404 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15405 value.
15406 (read_debug_info): Save the function's range.
15407 (read_sp): New function.
15408 (unwind_frame): Use it. Also unwind RBP.
15409 (get_frame_id): Use read_sp.
15410 (gdb_init_reader): Use calloc instead of malloc.
15411 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15412 parameter. Use gdb_test_multiple.
15413
ced2dffb
PA
154142016-07-01 Pedro Alves <palves@redhat.com>
15415 Antoine Tremblay <antoine.tremblay@ericsson.com>
15416
15417 * gdb.threads/process-dies-while-detaching.c: New file.
15418 * gdb.threads/process-dies-while-detaching.exp: New file.
15419
63000888
PA
154202016-07-01 Pedro Alves <palves@redhat.com>
15421
15422 * gdb.multi/watchpoint-multi-exit.c: New file.
15423 * gdb.multi/watchpoint-multi-exit.exp: New file.
15424
038d4868
PA
154252016-06-30 Pedro Alves <palves@redhat.com>
15426
15427 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15428 unset inferior_spawn_id.
15429
994e9c83
PA
154302016-06-30 Pedro Alves <palves@redhat.com>
15431
15432 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15433 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15434
e5653468
YQ
154352016-06-29 Yao Qi <yao.qi@linaro.org>
15436
15437 * gdb.base/return.c: Add copyright header.
15438
803b47e5
TT
154392016-06-29 Tom Tromey <tom@tromey.com>
15440
15441 PR python/20129:
15442 * gdb.python/py-framefilter.exp: Add tests for setting priority
15443 and disabling of non-existent frame filter.
15444
28244707
YQ
154452016-06-29 Yao Qi <yao.qi@linaro.org>
15446
15447 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15448 0x0f07ff.
15449
a31d2f06
YQ
154502016-06-28 Yao Qi <yao.qi@linaro.org>
15451
15452 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15453 triplets. Start gdb, execute catch syscall, and continue. Check
15454 gdb's output to determine catch syscall is supported.
15455
921d8f54
MG
154562016-06-27 Manish Goregaokar <manish@mozilla.com>
15457
25d49b86
PA
15458 * gdb.rust/simple.rs: Add test for returning unit in a function.
15459 * gdb.rust/simple.exp: Add expectation for functions returning
15460 unit.
921d8f54 15461
f4952523
PMR
154622016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15463
15464 * gdb.python/py-breakpoint-create-fail.c,
15465 gdb.python/py-breakpoint-create-fail.exp,
15466 gdb.python/py-breakpoint-create-fail.py: New testcase.
15467
fccb08f8
MG
154682016-06-25 Manish Goregaokar <manish@mozilla.com>
15469
15470 PR gdb/20239
15471 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15472 * gdb.rust/simple.exp: Add test expectations for new NonZero
15473 tests.
fccb08f8 15474
6b850546
DT
154752016-06-24 David Taylor <dtaylor@emc.com>
15476
15477 * gdb.base/offsets.exp: New file.
15478 * gdb.base/offsets.c: New file.
15479
17621150
TT
154802016-06-23 Tom Tromey <tom@tromey.com>
15481
15482 PR gdb/16483:
15483 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15484 before any filters are loaded.
15485
04d59df6
WT
154862016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15487
15488 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15489 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15490 structs.
15491 * gdb.fortran/derived-type-function.exp: New file.
15492 * gdb.fortran/derived-type-function.f90: New file.
15493
15494
ac69f786
PA
154952016-06-21 Pedro Alves <palves@redhat.com>
15496
15497 * gdb.base/new-ui.exp: New file.
15498 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15499 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15500 (with_spawn_id): New procedure.
15501
49940788
PA
155022016-06-21 Pedro Alves <palves@redhat.com>
15503
15504 * gdb.mi/mi-exec-run.exp: New file.
15505
ef274d26
PA
155062016-06-21 Pedro Alves <palves@redhat.com>
15507
15508 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15509 breakpoint command's output on the main UI.
15510 (test_break): New procedure, factored out from calls in the top
15511 level.
15512 (top level): Use foreach_with_prefix to test MI as main UI and as
15513 separate UI.
15514
468afe6c
PA
155152016-06-21 Pedro Alves <palves@redhat.com>
15516
15517 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15518 (test_awatch_creation_and_listing)
15519 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15520 Remove 'type' parameter.
15521 (test_watchpoint_all): New parameter mi_mode. Remove
15522 with_test_prefix.
15523 (top level): Use foreach_with_prefix, and add main/separate UI MI
15524 testing axis.
15525
51f77c37
PA
155262016-06-21 Pedro Alves <palves@redhat.com>
15527
15528 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15529 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15530 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15531 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15532 (gdb_main_spawn_id, mi_spawn_id): Declare and
15533 comment.
15534 (mi_create_inferior_pty): New procedure,
15535 factored out from default_mi_gdb_start.
15536 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15537 procedures.
15538 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15539 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15540 Use mi_create_inferior_pty.
15541 (mi_gdb_start): Use eval to pass down args list.
15542
8980e177
PA
155432016-06-21 Pedro Alves <palves@redhat.com>
15544
15545 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15546 * gdb.opt/inline-cmds.exp: Add MI tests.
15547
f38d3ad1
PA
155482016-06-21 Pedro Alves <palves@redhat.com>
15549
15550 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15551
45db7c09
PA
155522016-06-21 Pedro Alves <palves@redhat.com>
15553
15554 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15555 (top level): Use it instead of mi_execute_to.
15556
5a069ab3
PA
155572016-06-21 Pedro Alves <palves@redhat.com>
15558
15559 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15560 (cont_handler_str): New.
15561 (signal_stop_handler): Set stop_handler_str instead of printing to
15562 stdout.
15563 (continue_handler): Set cont_handler_str instead of printing to
15564 stdout.
15565 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15566 mi_send_resuming_command. Print stop_handler_str and
15567 cont_handler_str instead of expecting the python events print
15568 directly.
15569
2838cc1d
SD
155702016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15571
15572 * gdb.base/jit-reader.exp: New file.
15573 * gdb.base/jithost.c: New file.
15574 * gdb.base/jithost.h: New file.
15575 * gdb.base/jitreader.c : New file.
15576 * gdb.base/jit-protocol.h: New file.
15577
21a77091
YQ
155782016-06-17 Yao Qi <yao.qi@linaro.org>
15579
15580 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15581 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15582 and detach-on-fork. Adjust tests.
15583 (top level): Invoke break_cond_on_syscall with combinations of
15584 syscall, follow-fork-mode and detach-on-fork.
15585
f50bf8e5
YQ
155862016-06-17 Yao Qi <yao.qi@linaro.org>
15587
15588 * gdb.base/step-over-exit.c: New.
15589 * gdb.base/step-over-exit.exp: New.
15590
a28d8e50
YTL
155912016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15592
15593 * gdb.base/float.exp: Add target check for nds32*-*-*.
15594 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15595
cad8e26d
AB
155962016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15597
15598 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15599 for unsupported target features.
15600 * gdb.base/call-rt-st.exp: Likewise.
15601 * gdb.base/call-sc.exp: Likewise.
15602 * gdb.base/call-signal-resume.exp: Likewise.
15603 * gdb.base/call-strs.exp: Likewise.
15604 * gdb.base/callexit.exp: Likewise.
15605 * gdb.base/callfuncs.exp: Likewise.
15606 * gdb.base/nodebug.exp: Likewise.
15607 * gdb.base/printcmds.exp: Likewise.
15608 * gdb.base/ptype.exp: Likewise.
15609 * gdb.base/structs.exp: Likewise.
15610 * gdb.base/unwindonsignal.exp: Likewise.
15611 * gdb.cp/gdb2495.exp: Likewise.
15612 * gdb.cp/templates.exp: Likewise.
15613 * gdb.cp/virtfunc.exp: Likewise.
15614 * gdb.threads/hand-call-in-threads.exp: Likewise.
15615 * gdb.threads/interrupted-hand-call.exp: Likewise.
15616 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15617
347dc102
TT
156182016-06-10 Tom Tromey <tom@tromey.com>
15619
15620 PR rust/20110:
15621 * gdb.rust/expr.exp: Add test for integer constant larger than
15622 i32.
15623
5e13cf25
BH
156242016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15625
15626 * gdb.fortran/nested-funcs.exp: New.
15627 * gdb.fortran/nested-funcs.f90: New.
15628
bb556f1f
TK
156292016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15630
15631 * gdb.base/examine-backward.c: New file.
15632 * gdb.base/examine-backward.exp: New file.
15633
38b022b4
SM
156342016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15635
15636 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15637 matching.
15638
1b40ec05
TT
156392016-06-02 Tom Tromey <tom@tromey.com>
15640
15641 PR python/18984:
15642 * gdb.python/py-shared.exp: Add solib_name test.
15643
193bd378
SM
156442016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15645
15646 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15647
3326303b
MG
156482016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15649
15650 PR c++/19893
15651 * gdb.dwarf2/implref.exp: Rename to...
15652 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15653 * gdb.dwarf2/implref-array.c: New file.
15654 * gdb.dwarf2/implref-array.exp: Likewise.
15655 * gdb.dwarf2/implref-global.c: Likewise.
15656 * gdb.dwarf2/implref-global.exp: Likewise.
15657 * gdb.dwarf2/implref-struct.c: Likewise.
15658 * gdb.dwarf2/implref-struct.exp: Likewise.
15659
825c8ef2
AT
156602016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15661
15662 * gdb.trace/trace-condition.exp: Add 64bit tests.
15663
2320162a
AT
156642016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15665
15666 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15667 bits types.
15668 (main): Adapt to 8 to 64 bits types.
15669 * gdb.trace/trace-condition.exp: Add new tests.
15670
a7818233
AT
156712016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15672
15673 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15674
0d336466
AT
156752016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15676
15677 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15678 Move condition tests...
15679 * gdb.trace/trace-condition.exp: Here.
15680
7faeb45a
AT
156812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15682
15683 * gdb.trace/trace-condition.exp: Add counter-case tests.
15684
e385593e
JK
156852016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15686
15687 PR c++/15231
15688 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15689 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15690
744608cc
PA
156912016-05-27 Pedro Alves <palves@redhat.com>
15692
15693 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15694 New procedure.
15695 (top level): Call it, and bail out of DejaGnu is known to be bad.
15696
ac775bf4
AB
156972016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15698
15699 * gdb.base/whatis.c: Extend the test case.
15700 * gdb.base/whatis.exp: Add additional tests.
15701
2bbad2ea
BH
157022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15703
15704* gdb.fortran/type.f90: Add pointer variable.
15705* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15706
8b70175d
BH
157072016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15708
15709 * gdb.fortran/vla-type.exp: Fix testcase name.
15710
86d8a848
BH
157112016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15712
15713 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15714
e188eb36
BH
157152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15716
15717 * gdb.fortran/type.f90: Add nested structures.
15718 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15719 * gdb.fortran/derived-type.exp: Adapt expected output.
15720 * gdb.fortran/vla-type.exp: Adapt expected output.
15721
9b2db1fd
BH
157222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15723
15724 * gdb.fortran/whatis_type.exp: Adapt expected output.
15725
72b17055
BH
157262016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15727
15728 * gdb.fortran/print_type.exp: Fix expected output.
15729 * gdb.fortran/whatis_type.exp: Fix expected output.
15730
3cd81d8d
BH
157312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15732
15733 * gdb.fortran/whatis_type.exp: Use multi_line.
15734
ddae9462
TT
157352016-05-24 Tom Tromey <tom@tromey.com>
15736
15737 PR python/17386:
15738 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15739 use value as an index.
15740
1957f6b8
TT
157412016-05-23 Tom Tromey <tom@tromey.com>
15742
15743 PR python/17981:
15744 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15745 no-breakpoint case.
15746
026a9174
PA
157472016-05-24 Pedro Alves <palves@redhat.com>
15748
15749 PR gdb/19828
15750 * gdb.threads/clone-attach-detach.c: New file.
15751 * gdb.threads/clone-attach-detach.exp: New file.
15752
e70a7231
FR
157532016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15754
15755 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15756
0f6ed0e0
TT
157572016-05-23 Tom Tromey <tom@tromey.com>
15758
15759 PR python/19438, PR python/18393:
15760 * gdb.python/py-progspace.exp: Add "dir" test.
15761 * gdb.python/py-objfile.exp: Add "dir" test.
15762
ffd19d61
YQ
157632016-05-23 Yao Qi <yao.qi@linaro.org>
15764
15765 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15766 * gdb.arch/thumb2-it.exp: Likewise.
15767
9e8f9b05
SM
157682016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15769
15770 * gdb.mi/mi-threads-interrupt.c: New file.
15771 * gdb.mi/mi-threads-interrupt.exp: New file.
15772
61c6156d
SM
157732016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15774
15775 PR gdb/18077
15776 * gdb.mi/mi-async-run.exp: New file.
15777 * gdb.mi/mi-async-run.c: New file.
15778
67218854
TT
157792016-05-17 Tom Tromey <tom@tromey.com>
15780 Manish Goregaokar <manishsmail@gmail.com>
15781
15782 * lib/rust-support.exp: New file.
15783 * lib/gdb.exp (skip_rust_tests): New proc.
15784 (build_executable_from_specs): Handle rust.
15785 * lib/future.exp (gdb_find_rustc): New proc.
15786 (gdb_default_target_compile): Handle rust.
15787 * gdb.rust/expr.exp: New file.
15788 * gdb.rust/generics.exp: New file.
15789 * gdb.rust/generics.rs: New file.
15790 * gdb.rust/methods.exp: New file.
15791 * gdb.rust/methods.rs: New file.
15792 * gdb.rust/modules.exp: New file.
15793 * gdb.rust/modules.rs: New file.
15794 * gdb.rust/simple.exp: New file.
15795 * gdb.rust/simple.rs: New file.
15796
c44af4eb
TT
157972016-05-17 Tom Tromey <tom@tromey.com>
15798
15799 * gdb.base/default.exp (set language): Add rust.
15800
dcd1f979
TT
158012016-05-17 Tom Tromey <tom@tromey.com>
15802
15803 * gdb.gdb/unittest.exp: New file.
15804
155b7f57
YQ
158052016-05-16 Yao Qi <yao.qi@linaro.org>
15806
15807 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15808 shell_prompt. Update shell_prompt_re.
15809
8ddd5a6c
DE
158102016-05-12 Doug Evans <dje@google.com>
15811
15812 PR symtab/19999
15813 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15814 $options when building executable.
15815 * gdb.dwarf2/fission-loclists-pie.S: New file.
15816 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15817
02e370d9
SM
158182016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15819
15820 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15821 of [is_remote target],
15822
8929ad8b
SM
158232016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15824
15825 * lib/gdb.exp (use_gdb_stub): New procedure.
15826
6c447423
DE
158272016-05-03 Yunlian Jiang <yunlian@google.com>
15828 Doug Evans <dje@google.com>
15829
15830 PR symtab/19914
15831 * gdb.dwarf2/dwp-sepdebug.c: New file.
15832 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15833
444e826c
SM
158342016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15835
15836 * gdb.base/detach.exp: Remove is_remote check.
15837
740feeaa
SM
158382016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15839
15840 * gdb.base/annota-input-while-running.exp: Don't check for
15841 [is_remote target]. Enable annotations after running to main.
15842 Remove unused "set test..." line.
15843
9080ac9d
SM
158442016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15845
15846 * gdb.trace/trace-enable-disable.exp: New file.
15847 * gdb.trace/trace-enable-disable.c: New file.
15848
952ebca5
SM
158492016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15850
15851 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15852 use it in info sharedlibrary test.
15853 * gdb.trace/ftrace-lock.exp: Likewise.
15854 * gdb.trace/ftrace.exp: Likewise.
15855 * gdb.trace/range-stepping.exp: Likewise.
15856 * gdb.trace/trace-break.exp: Likewise.
15857 * gdb.trace/trace-condition.exp: Likewise.
15858 * gdb.trace/trace-mt.exp: Likewise.
15859
d9019901
SM
158602016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15861
15862 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15863 (gdb_load_shlib): ... this.
15864 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15865 gdb_load_shlib.
15866 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15867 * gdb.base/ctxobj.exp: Likewise.
15868 * gdb.base/dprintf-pending.exp: Likewise.
15869 * gdb.base/dso2dso.exp: Likewise.
15870 * gdb.base/fixsection.exp: Likewise.
15871 * gdb.base/gcore-relro.exp: Likewise.
15872 * gdb.base/gdb1555.exp: Likewise.
15873 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15874 * gdb.base/gnu-ifunc.exp: Likewise.
15875 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15876 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15877 * gdb.base/pending.exp: Likewise.
15878 * gdb.base/print-file-var.exp: Likewise.
15879 * gdb.base/print-symbol-loading.exp: Likewise.
15880 * gdb.base/shlib-call.exp: Likewise.
15881 * gdb.base/shreloc.exp: Likewise.
15882 * gdb.base/so-impl-ld.exp: Likewise.
15883 * gdb.base/solib-disc.exp: Likewise.
15884 * gdb.base/solib-nodir.exp: Likewise.
15885 * gdb.base/solib-overlap.exp: Likewise.
15886 * gdb.base/solib-symbol.exp: Likewise.
15887 * gdb.base/solib-weak.exp (do_test): Likewise.
15888 * gdb.base/sym-file.exp: Likewise.
15889 * gdb.base/symtab-search-order.exp: Likewise.
15890 * gdb.base/type-opaque.exp: Likewise.
15891 * gdb.base/unload.exp: Likewise.
15892 * gdb.base/watchpoint-solib.exp: Likewise.
15893 * gdb.compile/compile.exp: Likewise.
15894 * gdb.cp/gdb2384.exp: Likewise.
15895 * gdb.cp/infcall-dlopen.exp: Likewise.
15896 * gdb.cp/re-set-overloaded.exp: Likewise.
15897 * gdb.fortran/library-module.exp: Likewise.
15898 * gdb.opt/solib-intra-step.exp: Likewise.
15899 * gdb.python/py-finish-breakpoint.exp: Likewise.
15900 * gdb.python/py-shared.exp: Likewise.
15901 * gdb.reverse/solib-precsave.exp: Likewise.
15902 * gdb.reverse/solib-reverse.exp: Likewise.
15903 * gdb.server/solib-list.exp: Likewise.
15904 * gdb.threads/dlopen-libpthread.exp: Likewise.
15905 * gdb.threads/tls-shared.exp: Likewise.
15906 * gdb.threads/tls-so_extern.exp: Likewise.
15907 * gdb.trace/change-loc.exp: Likewise.
15908 * gdb.trace/ftrace-lock.exp: Likewise.
15909 * gdb.trace/ftrace.exp: Likewise.
15910 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15911 * gdb.trace/pending.exp: Likewise.
15912 * gdb.trace/range-stepping.exp: Likewise.
15913 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15914 (strace_info_marker): Likewise.
15915 (strace_probe_marker): Likewise.
15916 (strace_trace_on_same_addr): Likewise.
15917 (strace_trace_on_diff_addr): Likewise.
15918 * gdb.trace/trace-break.exp: Likewise.
15919 * gdb.trace/trace-condition.exp: Likewise.
15920 * gdb.trace/trace-mt.exp: Likewise.
15921
fca4cfd9
SM
159222016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15923
15924 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15925 result of gdb_remote_download.
15926 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15927 * gdb.base/dso2dso.exp: Likewise.
15928 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15929 * gdb.base/print-file-var.exp: Likewise.
15930 * gdb.base/shlib-call.exp: Likewise.
15931 * gdb.base/shreloc.exp: Likewise.
15932 * gdb.base/solib-overlap.exp: Likewise.
15933 * gdb.base/solib-weak.exp (do_test): Likewise.
15934 * gdb.base/unload.exp: Likewise.
15935
11cf4ffb
YQ
159362016-04-27 Yao Qi <yao.qi@linaro.org>
15937
15938 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15939 exists.
15940
3e2e34f8
KB
159412016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15942
15943 * vla-type.exp: Print structure from toplevel.
15944
8f07e298
BH
159452016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15946
15947 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15948 of dynamic types.
15949 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15950 of dynamic types.
15951
9920b434
BH
159522016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15953
15954 * gdb.fortran/vla-type.f90: New file.
15955 * gdb.fortran/vla-type.exp: New file.
15956
f3abeff5
YQ
159572016-04-25 Yao Qi <yao.qi@linaro.org>
15958
15959 * gdb.base/branch-to-self.c: New file.
15960 * gdb.base/branch-to-self.exp: New file.
15961
0a5d52f0
YQ
159622016-04-22 Yao Qi <yao.qi@linaro.org>
15963
15964 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15965 more after $hex.
15966
495346f6
YQ
159672016-04-22 Yao Qi <yao.qi@linaro.org>
15968
15969 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15970 * gdb.base/annota3.exp: Likewise.
15971
4a7e075c
YQ
159722016-04-22 Yao Qi <yao.qi@linaro.org>
15973
15974 * gdb.reverse/step-precsave.exp: Do one step and test program
15975 stops in "callee" and do multiple steps until program goes out
15976 of "callee".
15977 * gdb.reverse/step-reverse.exp: Likewise.
15978
5b061e98
YQ
159792016-04-22 Yao Qi <yao.qi@linaro.org>
15980
15981 * gdb.trace/signal.exp: Also pass if
15982 $tracepoint_hits($i) > $iterations.
15983
5c5dc57f
YQ
159842016-04-22 Yao Qi <yao.qi@linaro.org>
15985
15986 * gdb.trace/signal.c: New file.
15987 * gdb.trace/signal.exp: New file.
15988
a55411b9
DE
159892016-04-19 Doug Evans <xdje42@gmail.com>
15990
15991 * gdb.base/bad-file.exp: New file.
15992
a22df60a
MG
159932016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15994
15995 * gdb.dwarf2/implref.exp: New file.
15996
0c13f7e5
BH
159972016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15998
15999 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16000 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16001 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16002 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16003 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16004 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16005 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16006 * lib/fortran.exp (fortran_int4): New procedure.
16007 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16008 (fortran_logical4): Likewise.
16009
9b9b09e9
BH
160102016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16011
16012 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16013
a14d1f4d
BH
160142016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16015
16016 * lib/compiler.c: Add Intel specific preprocessor macros.
16017 * lib/compiler.cc: Likewise.
25d49b86 16018
7d49b1d0
LM
160192016-04-13 Luis Machado <lgustavo@codesourcery.com>
16020
16021 * gdb.server/connect-with-no-symbol-file.c: New file.
16022 * gdb.server/connect-with-no-symbol-file.exp: New file.
16023
8392fa22
SM
160242016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16025
16026 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16027
8c4c4aeb
SM
160282016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16029
16030 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16031 standard output directory.
16032
45e3745e
AT
160332016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16034
16035 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16036
e26b7e41
MM
160372016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16038
16039 * gdb.btrace/instruction_history.c (loop): Add declaration.
16040
8ce09462
AT
160412016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16042
16043 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16044
2e88a1ea
SM
160452016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16046
16047 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16048 parentheses to print.
16049 (continue_handler): Likewise.
16050
f48e22e3
SM
160512016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16052
16053 * gdb.server/solib-list.exp: Remove is_remote check.
16054 Pass shlib= to gdb_compile. Don't link shared library with
16055 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16056 Run binary filename through "readlink -f" on the target.
16057
096be756
PA
160582016-04-08 Pedro Alves <palves@redhat.com>
16059
16060 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16061 interpreter filename as argument to gdbserver_spawn.
16062 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16063 Return empty if $last_loaded_file does not exist.
16064
06500533
JK
160652016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16066
16067 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16068 * gdb.base/jit-main.c: Use exit after usage.
16069
2d35e871
JK
160702016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16071
16072 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16073 GDBHISTSIZE prior to the tests.
16074 * gdb.base/gdbinit-history.exp: Likewise.
16075
160762016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
16077
16078 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16079 instead of build_executable. Use gdb_load_shlibs.
16080
c8064e7e
YQ
160812016-04-07 Yao Qi <yao.qi@linaro.org>
16082
16083 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16084 Execute "si" command.
16085
bde47561
YQ
160862016-04-07 Yao Qi <yao.qi@linaro.org>
16087
16088 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16089 number instead of the comments on some line.
16090
b16f8a3b
DB
160912016-04-06 Don Breazeal <donb@codesourcery.com>
16092
16093 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16094 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16095
c2f901df
SM
160962016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16097
16098 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16099 standard_output_file. Remove unused binfile variable.
16100
ac17fda0
CU
161012016-04-05 Catalin Udma <catalin.udma@freescale.com>
16102
16103 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16104 * gdb.python/py-mi-objfile.exp: Match "list main" output
16105 in console format.
16106
03a8c4df
SM
161072016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16108
16109 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16110 absolute.
16111
6e774b13
SM
161122016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16113
16114 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16115 absolute.
16116 * gdb.trace/ftrace.exp: Likewise.
16117 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16118 targets as well.
16119 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16120 (gdb_load_shlibs): Copy libraries to test directory when testing
16121 natively. Only set solib-search-path if testing remotely.
16122 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16123
7817ea46
SM
161242016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16125
16126 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16127 gdb_download. Use it even if the target is not remote.
16128 * gdb.base/jit.exp (compile_jit_test): Likewise.
16129 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16130 output directory if the destination board is local, otherwise use
16131 the standard remote_download from DejaGnu.
16132 (gdb_download): Remove.
16133 (gdb_load_shlibs): Use gdb_remote_download instead of
16134 gdb_download.
16135 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16136 Use gdb_remote_download instead of gdb_download. Use it even if
16137 the target is not remote.
16138 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16139 instead of gdb_download.
16140
7beb7f68
SM
161412016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16142
16143 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16144 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16145 run.
16146
cc63428a
AV
161472016-04-01 Artemiy Volkov <artemiyv@acm.org>
16148
16149 PR gdb/19820
16150 * gdb.base/printcmds.exp: Add artificial arrays tests.
16151
64cdf930
PA
161522016-03-31 Pedro Alves <palves@redhat.com>
16153
16154 PR gdb/19858
16155 * gdb.base/jit-main.c: Include unistd.h.
16156 (ATTACH): Define to 0 if not already defined.
16157 (wait_for_gdb, mypid): New globals.
16158 (WAIT_FOR_GDB): New macro.
16159 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16160 some breakpoint locations.
16161 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16162 New procedures.
16163 (one_jit_test): Add REATTACH parameter, and handle it. Use
16164 continue_to_test_location.
16165 (top level): Test attach, and adjusts calls to one_jit_test.
16166
40dea8cb
PA
161672016-03-31 Pedro Alves <palves@redhat.com>
16168
16169 PR gdb/19858
16170 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16171 BINSUFFIX parameter, and handle it.
16172 (top level): Adjust calls compile_jit_test.
16173
e7ea3ec7
CU
161742016-03-31 Catalin Udma <catalin.udma@freescale.com>
16175
16176 PR python/19743
16177 * gdb.python/py-mi-events-gdb.py: New file.
16178 * gdb.python/py-mi-events.c: New file.
16179 * gdb.python/py-mi-events.exp: New file.
16180
e6359af3
YQ
161812016-03-30 Yao Qi <yao.qi@linaro.org>
16182
16183 * gdb.reverse/until-precsave.exp: Match function name only.
16184 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16185 Move malloc to a condition block.
16186 * gdb.reverse/until-reverse.exp: Match function name only.
16187
a4105d04
MK
161882016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16189
16190 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16191 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16192 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16193 variable for GPR 0 instead of assuming it is register 0.
16194 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16195 * lib/trace-support.exp: Add s390 registers.
16196
bfa6adb9
YQ
161972016-03-29 Yao Qi <yao.qi@linaro.org>
16198
16199 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16200
1e6697ea
YQ
162012016-03-24 Yao Qi <yao.qi@linaro.org>
16202
16203 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16204 test message.
16205
64bcd522
AA
162062016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16207
16208 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16209 maintaining separate logic for constructing the output path.
16210
7868401b
DB
162112016-03-16 Don Breazeal <donb@codesourcery.com>
16212
16213 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16214 Retry fork and waitpid on interrupted system call errors.
16215 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16216 Use with_timeout_factor to increase timeout by factor of 10.
16217
1cafadb4
DB
162182016-03-15 Don Breazeal <donb@codesourcery.com>
16219
16220 * gdb.cp/scope-err.cc: New test program.
16221 * gdb.cp/scope-err.exp: New test script.
16222 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16223 lines and "set breakpoint here" comment.
16224 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16225 Fixed some whitespace and format issues.
16226 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16227 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16228
81516450
DE
162292016-03-15 Doug Evans <dje@google.com>
16230
16231 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16232 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16233 All callers updated. Add tests for enums, mixed flags register.
16234
aa52b601
DE
162352016-03-15 Doug Evans <dje@google.com>
16236
16237 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16238 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16239
fa4ff313
SM
162402016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16241
16242 * gdb.base/default.exp: Add $_as_string to the list of expected
16243 convenience functions.
16244
f2403c39
AB
162452016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16246
16247 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16248
f2f3ccb9
SM
162492016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16250
16251 * gdb.python/py-as-string.exp: New file.
16252 * gdb.python/py-as-string.c: New file.
16253
00dbd492
PA
162542016-03-09 Pedro Alves <palves@redhat.com>
16255
16256 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16257 signal" -> "Thread NN received signal" output change.
16258 * gdb.threads/ia64-sigill.exp: Likewise.
16259 * gdb.threads/linux-dp.exp: Likewise.
16260 * gdb.threads/manythreads.exp: Likewise.
16261 * gdb.threads/pending-step.exp: Likewise.
16262 * gdb.threads/print-threads.exp: Likewise.
16263 * gdb.threads/sigstep-threads.exp: Likewise.
16264 * gdb.threads/staticthreads.exp: Likewise.
16265 * gdb.threads/tls.exp: Likewise.
16266
1e6697ea
YQ
162672016-03-09 Pedro Alves <palves@redhat.com>
16268
16269 * gdb.base/command-line-input.exp: New file.
16270
b04fd3be
MK
162712016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16272
16273 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16274 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16275 * gdb.trace/pending.exp: Accept leading dot before function name.
16276 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16277 * lib/trace-support.exp: Set registers for ppc.
16278
98fa59e9
MK
162792016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16280
16281 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16282 use it for disassembly; accept .main in addition to main in backtrace.
16283
f77198c8
MK
162842016-03-09 Wei-cheng Wang <cole945@gmail.com>
16285 Marcin Kościelnicki <koriakin@0x04.net>
16286
16287 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16288 (gdb_recursion_test_ptr): New global variable.
16289 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16290 gdb_recursion_test.
16291 (gdb_c_test): Ditto.
16292
ba84e0da
MK
162932016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16294
16295 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16296 ordering.
16297
4366d36e
MK
162982016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16299
16300 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16301 (bar): Add bar_start_lbl label.
16302 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16303 of foo/bar for emitting DWARF and tracing.
16304
5eb264df
SDJ
163052016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16306
16307 * analyze-racy-logs.py: Set executable bit.
16308
fb6a751f
SDJ
163092016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16310
16311 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16312 (CHECK_TARGET_TMP): Likewise.
16313 (check-single-racy): New rule.
16314 (check-parallel-racy): Likewise.
16315 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16316 (do-check-parallel-racy): New rule.
16317 (check-racy/%.exp): Likewise.
16318 * README (Racy testcases): New section.
16319 * analyze-racy-logs.py: New file.
16320
bdf7e230
DE
163212016-03-03 Doug Evans <dje@google.com>
16322
16323 * gdb.base/skip.exp: Use with_test_prefix.
16324
4719d415
YQ
163252016-03-03 Yao Qi <yao.qi@linaro.org>
16326
16327 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16328 Invoke step_over_syscall "clone" and break_cond_on_syscall
16329 "clone".
16330 * gdb.base/step-over-clone.c: New file.
16331
ea507862
YQ
163322016-03-03 Yao Qi <yao.qi@linaro.org>
16333
16334 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16335 code format.
16336
8fc8cbda
YQ
163372016-03-03 Yao Qi <yao.qi@linaro.org>
16338
16339 * gdb.base/disp-step-fork.c: Rename to ...
16340 * gdb.base/step-over-fork.c: ... it. New file.
16341 * gdb.base/disp-step-vfork.c: Rename to ...
16342 * gdb.base/step-over-vfork.c: ... it. New file.
16343 * gdb.base/disp-step-syscall.exp: Rename to ...
16344 * gdb.base/step-over-syscall.exp: ... it. New file.
16345 (disp_step_cross_syscall): Rename to ...
16346 (step_over_syscall): ... it.
16347
92fa70b0
YQ
163482016-03-03 Yao Qi <yao.qi@linaro.org>
16349
16350 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16351 If target supports condition evaluation on target, invoke
16352 break_cond_on_syscall for fork and vfork.
16353
e197ad3c
YQ
163542016-03-03 Yao Qi <yao.qi@linaro.org>
16355
16356 * gdb.base/disp-step-syscall.exp: Don't invoke
16357 support_displaced_stepping.
16358 (disp_step_cross_syscall): Test with displaced stepping off and
16359 on if supported.
16360
0b47da9f
YQ
163612016-03-03 Yao Qi <yao.qi@linaro.org>
16362
16363 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16364 proc.
16365 (setup): New proc.
16366 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16367 and setup.
16368
065ab6dc
BH
163692016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16370
16371 * gdb.fortran/vla-history.exp: Remove breakpoint.
16372
07e448ad 163732016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16374
25d49b86
PA
16375 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16376 exceeds timeout.
07e448ad 16377
9ac2d526 163782016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16379
25d49b86
PA
16380 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16381 breakpoint.
9ac2d526 16382
17807369
BH
163832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16384
16385 * gdb.mi/vla.f90: Nullify pointer after declaration.
16386
86e501af
PA
163872016-03-01 Pedro Alves <palves@redhat.com>
16388
16389 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16390
1e903e32
PA
163912016-03-01 Pedro Alves <palves@redhat.com>
16392
16393 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16394 before anything else.
16395 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16396 _GNU_SOURCE here.
16397 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16398 before anything else.
16399 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16400
6ccb54e2
PA
164012016-03-01 Pedro Alves <palves@redhat.com>
16402
16403 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16404
30ca9da1
YQ
164052016-03-01 Yao Qi <yao.qi@linaro.org>
16406
16407 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16408 prepare_for_testing.
16409
dc856b38
YQ
164102016-03-01 Yao Qi <yao.qi@linaro.org>
16411
16412 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16413
4a932159
AA
164142016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16415
16416 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16417 manually constructing the output path.
16418
f2489477
AA
164192016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16420
16421 * gdb.arch/s390-stackless.S: New.
16422 * gdb.arch/s390-stackless.exp: New.
16423
38899f16
IB
164242016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16425
16426 * gdb.dlang/circular.c: New file.
16427 * gdb.dlang/circular.exp: New file.
16428
9fde51ed
YQ
164292016-02-26 Yao Qi <yao.qi@linaro.org>
16430
16431 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16432 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16433 (testcases): Update.
16434
ce90fefe
YQ
164352016-02-26 Yao Qi <yao.qi@linaro.org>
16436
16437 * gdb.reverse/aarch64.c: Rename to ...
16438 * gdb.reverse/insn-reverse.c: ... it.
16439 * gdb.reverse/aarch64.exp: Rename to ...
16440 * gdb.reverse/insn-reverse.exp: ... it.
16441
3263bceb
YQ
164422016-02-26 Yao Qi <yao.qi@linaro.org>
16443
16444 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16445 (testcase_ftype): New.
16446 (testcases): New array.
16447 (n_testcases): New.
16448 (main): Call each element in testcases.
16449 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16450 (read_testcase): New.
16451 Do the tests in a loop.
16452
6cb59ff1
YQ
164532016-02-25 Yao Qi <yao.qi@linaro.org>
16454
16455 * gdb.base/branches.c: Remove.
16456
ae91f625
MK
164572016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16458
16459 PR gdb/13808
16460 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16461
678b48b7
MK
164622016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16463
16464 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16465
7337a6f2
MK
164662016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16467
16468 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16469 change x86_64 call_insn to 'callq'.
16470
861ca91f
AT
164712016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16472
16473 * gdb.trace/tfile-avx.c: Move to...
16474 * gdb.trace/tracefile-pseudo-reg.c: Here.
16475 * gdb.trace/tfile-avx.exp: Move to...
16476 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16477
bf74e428
GB
164782016-02-24 Gary Benson <gbenson@redhat.com>
16479
16480 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16481 message on attach.
16482
cce0e923
DE
164832016-02-23 Doug Evans <dje@google.com>
16484
16485 * gdb.base/skip.c (test_skip): New function.
16486 (end_test_skip_file_and_function): New function.
16487 (test_skip_file_and_function): New function.
16488 * gdb.base/skip1.c (test_skip): New function.
16489 (skip1_test_skip_file_and_function): New function.
16490 * gdb.base/skip.exp: Add tests for new skip options.
16491 * gdb.base/skip-solib.exp: Update expected output.
16492 * gdb.perf/skip-command.cc: New file.
16493 * gdb.perf/skip-command.exp: New file.
16494 * gdb.perf/skip-command.py: New file.
16495
4000e47e
MK
164962016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16497
16498 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16499 info registers pattern.
16500
24f75ead
IB
165012016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16502
16503 * lib/future.exp: Add D support.
16504 (gdb_find_gdc): New proc.
16505 (gdb_default_target_compile): Add D support.
16506
fbb7bcbe
WW
165072016-02-18 Wei-cheng Wang <cole945@gmail.com>
16508
16509 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16510 user+system time.
16511 (trace_speed_test): Determine the iteration count for a time
16512 between 15..30 seconds.
16513
012b3a21
WT
165142016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16515
16516 * gdb.arch/i386-mpx-sigsegv.c: New file.
16517 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16518 * gdb.arch/i386-mpx-simple_segv.c: New file.
16519 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16520
2d5189bd
YQ
165212016-02-18 Yao Qi <yao.qi@linaro.org>
16522
16523 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16524 Don't call setup_kfail.
16525
40fb20d0
YQ
165262016-02-18 Yao Qi <yao.qi@linaro.org>
16527
16528 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16529 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16530
21b1f8d2
DE
165312016-02-16 Doug Evans <dje@google.com>
16532
16533 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16534 * gdb.base/skip1.c: Ditto.
16535 * gdb.base/skip.exp: Whitespace cleanup.
16536
4041ed77
DB
165372016-02-16 Don Breazeal <donb@codesourcery.com>
16538
16539 PR remote/19496
16540 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16541 Remove kfail for PR remote/19496.
16542
c4ef31bf
SM
165432016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16544
16545 * lib/gdb.exp (standard_temp_file): Return a path specific to
16546 the runtest invocation.
16547
266b65b3
SM
165482016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16549
16550 * gdb.trace/save-trace.exp: Change relative path to be in the
16551 standard output directory.
16552
a7a0a6a9
JK
165532016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16554
16555 * gdb.arch/i386-prologue.c: Add missing prototypes.
16556
c99dbb42
JK
165572016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16558
16559 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16560 * gdb.arch/i386-prologue.exp: Likewise.
16561 * gdb.arch/i386-size.exp: Likewise.
16562
aa480355
SM
165632016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16564
16565 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16566 define object file path.
16567 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16568 file path.
16569 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16570 standard_output_file to define binfile.
16571
ba881f50
JK
165722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16573
16574 Fix compatibility with recent gfortran-5.3.1.
16575 * gdb.fortran/vla-history.exp (print vla1 allocated)
16576 (print vla2 allocated, print $2, print $3): Remove
16577 (print $4): Rename to ...
16578 (print $2): ... here.
16579 (print $9): Rename to ...
16580 (print $5): ... here.
16581 (print $10): Rename to ...
16582 (print $6): ... here.
16583 * gdb.fortran/vla.f90: Add pvla initialization.
16584
e9fb005c
JK
165852016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16586
16587 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16588 New test.
16589 * gdb.fortran/vla-value-sub.exp: Likewise.
16590
e44e00ff
MK
165912016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16592
16593 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16594
97e94151
SM
165952016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16596
16597 * i386-biarch-core.exp: Define corefile using
16598 standard_output_file.
16599
01113bc1
YQ
166002016-02-12 Yao Qi <yao.qi@linaro.org>
16601
16602 * gdb.arch/arm-single-step-kernel-helper.c: New.
16603 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16604
33b4777c
MM
166052016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16606
16607 * gdb.btrace/tailcall-only.exp: New.
16608 * gdb.btrace/tailcall-only.c: New.
16609 * gdb.btrace/x86_64-tailcall-only.S: New.
16610 * gdb.btrace/i686-tailcall-only.S: New.
16611
acc23c11
PA
166122016-02-11 Pedro Alves <palves@redhat.com>
16613
16614 * README (Parallel testing): Add missing double quotes.
16615
e352bf0a
PA
166162016-02-11 Pedro Alves <palves@redhat.com>
16617
16618 * README (Parallel testing): New section.
16619 (GDB_PARALLEL): Rewrite.
16620 (FORCE_PARALLEL): Document.
16621
9f5fed78
MK
166222016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16623
16624 * gdb.trace/tfile-avx.c: New test.
16625 * gdb.trace/tfile-avx.exp: New test.
16626
9ef9e6a6
KS
166272016-02-09 Keith Seitz <keiths@redhat.com>
16628
16629 PR breakpoints/19546
16630 * gdb.base/infcall-exec.c: New file.
16631 * gdb.base/infcall-exec2.c: New file.
16632 * gdb.base/infcall-exec.exp: New file.
16633
a96e36da
KS
166342016-02-09 Keith Seitz <keiths@redhat.com>
16635
16636 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16637 (toplevel): Call test_bkpt_address.
16638
9f61929f
KS
166392016-02-09 Keith Seitz <keiths@redhat.com>
16640
16641 PR python/19506
16642 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16643 (toplevel): Call test_bkpt_address.
16644
1e94266c
SM
166452016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16646
16647 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16648 to AC_OUTPUT.
16649 * configure: Regenerate.
16650
2a7f3dff
PA
166512016-02-09 Pedro Alves <palves@redhat.com>
16652
16653 PR breakpoints/19548
16654 * gdb.base/execl-update-breakpoints.c (some_function): New
16655 function.
16656 (main): Call it.
16657 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16658 Tighten expected GDB output.
16659
2151ccc5
SM
166602016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16661
16662 * Makefile.in (ALL_SUBDIRS): Remove.
16663 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16664 (distclean maintainer-clean realclean): Likewise.
16665 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16666 * configure: Regenerate.
16667 * gdb.ada/Makefile.in: Delete.
16668 * gdb.arch/Makefile.in: Likewise.
16669 * gdb.asm/Makefile.in: Likewise.
16670 * gdb.base/Makefile.in: Likewise.
16671 * gdb.btrace/Makefile.in: Likewise.
16672 * gdb.cell/Makefile.in: Likewise.
16673 * gdb.compile/Makefile.in: Likewise.
16674 * gdb.cp/Makefile.in: Likewise.
16675 * gdb.disasm/Makefile.in: Likewise.
16676 * gdb.dlang/Makefile.in: Likewise.
16677 * gdb.dwarf2/Makefile.in: Likewise.
16678 * gdb.fortran/Makefile.in: Likewise.
16679 * gdb.gdb/Makefile.in: Likewise.
16680 * gdb.go/Makefile.in: Likewise.
16681 * gdb.guile/Makefile.in: Likewise.
16682 * gdb.java/Makefile.in: Likewise.
16683 * gdb.linespec/Makefile.in: Likewise.
16684 * gdb.mi/Makefile.in: Likewise.
16685 * gdb.modula2/Makefile.in: Likewise.
16686 * gdb.multi/Makefile.in: Likewise.
16687 * gdb.objc/Makefile.in: Likewise.
16688 * gdb.opencl/Makefile.in: Likewise.
16689 * gdb.opt/Makefile.in: Likewise.
16690 * gdb.pascal/Makefile.in: Likewise.
16691 * gdb.perf/Makefile.in: Likewise.
16692 * gdb.python/Makefile.in: Likewise.
16693 * gdb.reverse/Makefile.in: Likewise.
16694 * gdb.server/Makefile.in: Likewise.
16695 * gdb.stabs/Makefile.in: Likewise.
16696 * gdb.threads/Makefile.in: Likewise.
16697 * gdb.trace/Makefile.in: Likewise.
16698 * gdb.xml/Makefile.in: Likewise.
16699 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16700 GDB_PARALLEL.
16701 (standard_output_file): Remove check for GDB_PARALLEL, always
16702 return path in outputs/$subdir/$testname.
16703
437277d4
SM
167042016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16705
16706 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16707 (site.exp): Assign abs_srcdir to tcl's srcdir.
16708
31d913c7
YQ
167092016-02-04 Yao Qi <yao.qi@linaro.org>
16710
16711 * gdb.base/foll-exec-mode.c: Include limits.h.
16712 (main): Add parameters argc and argv. Get directory from
16713 argv[0].
16714 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16715 compilation.
16716 * gdb.base/foll-exec.c: Include limits.h.
16717 (main): Add parameters argc and argv.
16718 Get directory from argv[0].
16719 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16720 Adjust tests on the number of lines as source code changed.
16721 * gdb.base/foll-vfork-exit.c: Include limits.h.
16722 (main): Add one line of statement before vfork.
16723 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16724 (main): Add parameters argc and argv. Get directory from
16725 argv[0].
16726 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16727 (setup_gdb): Set tbreak to skip some source lines.
16728 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16729 (main): Add parameters argc and argv. Get directory from
16730 argv[0].
16731 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16732 compilation.
16733 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16734 (main): Add parameters argc and argv. Get directory from
16735 argv[0].
16736 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16737 compilation.
16738
9482b9fb
DE
167392016-02-01 Doug Evans <dje@google.com>
16740
16741 * gdb.base/skip.exp: Clean up multiple references to same test name.
16742
6b2e4f10
PA
167432016-02-01 Pedro Alves <palves@redhat.com>
16744
ccb6afd6 16745 PR remote/19496
6b2e4f10
PA
16746 * gdb.threads/forking-threads-plus-breakpoint.exp
16747 (displaced_stepping_supported): New global.
16748 (probe_displaced_stepping_support): New procedure.
16749 (do_test): Add 'displaced' parameter, and use it.
16750 (top level): Check for displaced stepping support. Add displaced
16751 stepping on/off testing axis.
16752
37a8db1a
AB
167532016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16754
16755 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16756 pointer. Don't perform further tests on the unassociated pointer
16757 if the first test fails.
16758
5fdf6324
AB
167592016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16760
16761 * gdb.base/max-value-size.c: New file.
16762 * gdb.base/max-value-size.exp: New file.
16763 * gdb.base/huge.exp: Disable max-value-size for this test.
16764
935c6144
IB
167652016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16766
16767 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16768
7fe8399d
YQ
167692016-01-28 Yao Qi <yao.qi@linaro.org>
16770
16771 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16772
a2077e25
PA
167732016-01-25 Pedro Alves <palves@redhat.com>
16774
16775 PR threads/19461
16776 * gdb.base/fork-running-state.c: New file.
16777 * gdb.base/fork-running-state.exp: New file.
16778
1d2736d4
PA
167792016-01-25 Pedro Alves <palves@redhat.com>
16780
16781 PR gdb/19494
16782 * gdb.base/catch-fork-kill.c: New file.
16783 * gdb.base/catch-fork-kill.exp: New file.
16784
f1da4b11
PA
167852016-01-25 Pedro Alves <palves@redhat.com>
16786
16787 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16788 Delete, moved to lib/gdb.exp.
16789 * gdb.threads/forking-threads-plus-breakpoint.exp
16790 (foreach_with_prefix): Likewise.
16791 * gdb.threads/process-dies-while-handling-bp.exp
16792 (foreach_with_prefix): Likewise.
16793 * lib/gdb.exp (foreach_with_prefix): New procedure.
16794
45f38546
MK
167952016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16796
16797 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16798 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16799
dc29a1ce
MK
168002016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16801
16802 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16803 endian targets.
16804
092127d7
JK
168052016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16806 Pedro Alves <palves@redhat.com>
16807
16808 Fix testsuite compatibility with Guile.
16809 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16810 number.
16811
31d765d3
JK
168122016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16813
16814 Fix testsuite compatibility with Guile.
16815 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16816 (thread 1): New test for backtrace through signal handler.
16817
1ac78c04
YQ
168182016-01-22 Yao Qi <yao.qi@linaro.org>
16819
16820 PR testsuite/19491
16821 * gdb.base/multi-forks.c: Include
16822 ../lib/unbuffer_output.c
16823 (main): Call gdb_unbuffer_output.
16824
4f5946a8
DE
168252016-01-21 Doug Evans <dje@google.com>
16826
16827 * lib/ada.exp (gdb_compile_ada): Fix typo.
16828
305e13e6
JB
168292016-01-21 Joel Brobecker <brobecker@adacore.com>
16830
16831 * gdb.base/break-fun-addr.exp: New file.
16832 * gdb.base/break-fun-addr1.c: New file.
16833 * gdb.base/break-fun-addr2.c: New file.
16834
5f5dfff6
SM
168352016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16836
16837 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16838 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16839 enum flag values.
16840
fd356fa2
AA
168412016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16842
16843 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16844 when GDB can not set the vector return value. Add more comments
16845 for clarification.
16846
9df22175
AT
168472016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16848
16849 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16850 command.
16851
41d1845e
SM
168522016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16853
16854 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16855
01ac6840
SM
168562016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16857
16858 * Makefile.in (check-single): Pass --status to runtest.
16859 (check/%.exp): Likewise.
16860
168612016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16862
16863 * Makefile.in (check-parallel): Propagate return code from make
16864 do-check-parallel.
16865
bd0a71fa
MK
168662016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16867
16868 * gdb.trace/ftrace.exp: Fix expected message on continue.
16869 * gdb.trace/pending.exp: Fix expected message on continue.
16870 * gdb.trace/trace-break.exp: Fix expected message on continue.
16871
8bcbad33
SM
168722016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16873
16874 * lib/gdb.exp (gdb_test): Remove unused global references.
16875
f303dbd6
PA
168762016-01-18 Pedro Alves <palves@redhat.com>
16877
16878 * gdb.base/async-shell.exp: Adjust expected output.
16879 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16880 * gdb.base/siginfo-thread.exp: Adjust expected output.
16881 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16882 * gdb.java/jnpe.exp: Adjust expected output.
16883 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16884 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16885 * gdb.threads/leader-exit.exp: Adjust expected output.
16886 * gdb.threads/manythreads.exp: Adjust expected output.
16887 * gdb.threads/pthreads.exp: Adjust expected output.
16888 * gdb.threads/schedlock.exp: Adjust expected output.
16889 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16890 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16891 expected output.
16892 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16893 output.
16894 * gdb.threads/sigthread.exp: Adjust expected output.
16895 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16896
b2789696
YQ
168972016-01-18 Yao Qi <yao.qi@linaro.org>
16898
16899 * gdb.guile/scm-section-script.c: Replace @progbits with
16900 %progbits.
16901 * gdb.python/py-section-script.c: Likewise.
16902
71ef29a8
PA
169032016-01-15 Pedro Alves <palves@redhat.com>
16904
16905 * gdb.multi/tids.exp: Test star wildcard ranges.
16906
3f5b7598
PA
169072016-01-15 Pedro Alves <palves@redhat.com>
16908
16909 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16910 command from "thread apply" invocation.
16911 (thr_apply_info_thr_invalid): Default the expected output to the
16912 input tid list.
16913 (top level): Add tests that use convenience variables. Add tests
16914 for "thread apply" with a valid TID list, but missing the command.
16915
663f6d42
PA
169162016-01-13 Pedro Alves <palves@redhat.com>
16917
16918 * gdb.base/default.exp: Expect $_gthread as well.
16919 * gdb.multi/tids.exp: Test $_gthread.
16920 * gdb.threads/thread-specific.exp: Test $_gthread.
16921
c84f6bbf
PA
169222016-01-13 Pedro Alves <palves@redhat.com>
16923
16924 * gdb.multi/tids.exp: Test "info threads -gid".
16925
22a02324
PA
169262016-01-13 Pedro Alves <palves@redhat.com>
16927
16928 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16929 Breakpoint.thread.
16930 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16931
5d5658a1
PA
169322016-01-07 Pedro Alves <palves@redhat.com>
16933
16934 * gdb.base/break.exp: Adjust to output changes.
16935 * gdb.base/hbreak2.exp: Likewise.
16936 * gdb.base/sepdebug.exp: Likewise.
16937 * gdb.base/watch_thread_num.exp: Likewise.
16938 * gdb.linespec/keywords.exp: Likewise.
16939 * gdb.multi/info-threads.exp: Likewise.
16940 * gdb.threads/thread-find.exp: Likewise.
16941 * gdb.multi/tids.c: New file.
16942 * gdb.multi/tids.exp: New file.
16943
84654457
PA
169442016-01-13 Pedro Alves <palves@redhat.com>
16945
16946 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16947
e3940304
PA
169482016-01-13 Pedro Alves <palves@redhat.com>
16949
16950 * gdb.base/default.exp: Expect $_inferior as well.
16951 * gdb.multi/base.exp: Test $_inferior.
16952
a911d87a
PA
169532016-01-13 Pedro Alves <palves@redhat.com>
16954
16955 PR breakpoints/19388
16956 * gdb.base/catch-signal-siginfo-cond.c: New file.
16957 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16958
82075af2
JS
169592016-01-12 Josh Stone <jistone@redhat.com>
16960 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16961
16962 * gdb.base/catch-syscall.c (do_execve): New variable.
16963 (main): Conditionally trigger an execve.
16964 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16965 (test_catch_syscall_execve): New, check entry/return across execve.
16966 (do_syscall_tests): Call test_catch_syscall_execve.
16967
e46eeedd
PA
169682016-01-12 Pedro Alves <palves@redhat.com>
16969
16970 * gdb.base/random-signal.exp (do_test): New procedure, with body
16971 of testcase moved in.
16972
01d8c27e
JK
169732016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16974 Pedro Alves <palves@redhat.com>
16975
16976 * gdb.base/funcargs.exp (finish from indirectly called function):
16977 Reintroduce the case for 'First'.
16978
9a706302
JK
169792016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16980 Pedro Alves <palves@redhat.com>
16981
16982 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16983 (tcatch_vfork_then_child_follow_exec)
16984 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16985 identification.
16986
c0ecb95f
JK
169872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16988
16989 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16990 and repeats to unlimited.
16991 * gdb.python/py-value.exp: Likewise.
16992 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16993 and repeats to unlimited.
16994
6cfc1fcb
JK
169952016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16996
16997 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16998 and reordering the functions.
16999 * gdb.multi/hangout.c: Likewise.
17000 * gdb.multi/hello.c: Likewise.
17001
582a1b00
SM
170022016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17003
17004 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17005 absolute.
17006 (SingleStatisticTestResult.report): Use dict.keys instead of
17007 dict.iterkeys.
17008
79bc59cb
PA
170092016-01-06 Pedro Alves <palves@redhat.com>
17010
17011 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17012
43368e1d
MM
170132016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17014
17015 * gdb.btrace/dlopen.exp: New.
17016 * gdb.btrace/dlopen.c: New.
17017 * gdb.btrace/dlopen-dso.c: New.
17018
79fad5b8
SL
170192015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17020
17021 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17022 PATTERN argument is optional.
17023
ab8314b3
JB
170242015-12-24 Joel Brobecker <brobecker@adacore.com>
17025
17026 * lib/ada.exp (target_compile_ada_from_dir): New function.
17027 (gdb_compile_ada): Reimplement avoiding the use of project files.
17028 * gdb.ada/gnat_ada.gpr: Delete.
17029 * gdb.ada/cond_lang.exp: Adjust test to make path before
17030 filename optional.
17031 * gdb.ada/small_reg_param.exp: Likewise.
17032
fe33faff
SM
170332015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17034
17035 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17036
6d265cb4
TP
170372015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17038
17039 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17040 case.
17041
10125099
SM
170422015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17043
17044 * gdb.base/break.exp: Remove dead code.
17045 * gdb.base/sepdebug.exp: Likewise.
17046
3ca22649
SM
170472015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17048
17049 * gdb.asm/asm-source.exp: Remove HP-UX references.
17050 * gdb.base/annota1.exp: Likewise.
17051 * gdb.base/annota3.exp: Likewise.
17052 * gdb.base/attach.exp: Likewise.
17053 * gdb.base/bigcore.exp: Likewise.
17054 * gdb.base/break.exp: Likewise.
17055 * gdb.base/call-ar-st.exp: Likewise.
17056 * gdb.base/callfuncs.exp: Likewise.
17057 * gdb.base/catch-fork-static.exp: Likewise.
17058 * gdb.base/display.exp: Likewise.
17059 * gdb.base/foll-exec-mode.exp: Likewise.
17060 * gdb.base/foll-exec.exp: Likewise.
17061 * gdb.base/foll-fork.exp: Likewise.
17062 * gdb.base/foll-vfork.exp: Likewise.
17063 * gdb.base/funcargs.exp: Likewise.
17064 * gdb.base/hbreak2.exp: Likewise.
17065 * gdb.base/inferior-died.exp: Likewise.
17066 * gdb.base/interrupt.exp: Likewise.
17067 * gdb.base/multi-forks.exp: Likewise.
17068 * gdb.base/nodebug.exp: Likewise.
17069 * gdb.base/sepdebug.exp: Likewise.
17070 * gdb.base/solib1.c: Likewise.
17071 * gdb.base/step-test.exp: Likewise.
17072 * gdb.mi/non-stop.c: Likewise.
17073 * gdb.mi/pthreads.c: Likewise.
17074 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17075 * gdb.threads/pthreads.c: Likewise.
17076 * gdb.threads/staticthreads.exp: Likewise.
17077 * lib/future.exp: Likewise.
17078 * lib/gdb.exp: Likewise.
17079 * gdb.base/so-indr-cl.c: Remove.
17080 * gdb.base/so-indr-cl.exp: Likewise.
17081 * gdb.base/solib.c: Likewise.
17082 * gdb.base/solib.exp: Likewise.
17083 * gdb.base/solib2.c: Likewise.
17084
b6304613
SM
170852015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17086
17087 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17088 * gdb.base/call-ar-st.exp: Likewise.
17089 * gdb.base/callfuncs.exp: Likewise.
17090 * gdb.base/condbreak.exp: Likewise.
17091 * gdb.base/constvars.exp: Likewise.
17092 * gdb.base/hbreak2.exp: Likewise.
17093 * gdb.base/langs.exp: Likewise.
17094 * gdb.base/list.exp: Likewise.
17095 * gdb.base/long_long.exp: Likewise.
17096 * gdb.base/ptype.exp: Likewise.
17097 * gdb.base/scope.exp: Likewise.
17098 * gdb.base/signals.exp: Likewise.
17099 * gdb.base/so-impl-ld.exp: Likewise.
17100 * gdb.base/varargs.exp: Likewise.
17101 * gdb.base/volatile.exp: Likewise.
17102 * gdb.base/whatis.exp: Likewise.
17103 * gdb.cp/cplusfuncs.exp: Likewise.
17104 * gdb.cp/inherit.exp: Likewise.
17105 * gdb.cp/local.exp: Likewise.
17106 * gdb.cp/member-ptr.exp: Likewise.
17107 * gdb.cp/method.exp: Likewise.
17108 * gdb.cp/overload.exp: Likewise.
17109 * gdb.cp/templates.exp: Likewise.
17110 * gdb.stabs/weird.exp: Likewise.
17111 * lib/compiler.c: Likewise.
17112 * lib/compiler.cc: Likewise.
17113 * lib/cp-support.exp: Likewise.
17114 * lib/gdb.exp: Likewise.
17115
bf401b07
SM
171162015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17117
17118 * configure.ac: Remove HP-UX case.
17119 * configure: Regenerate.
17120
aff9c0f8
SM
171212015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17122
17123 * lib/gdb.exp (gdb_compile): Add function doc.
17124
a6904d5a
PA
171252015-12-17 Pedro Alves <palves@redhat.com>
17126
17127 PR threads/19354
17128 * gdb.multi/info-threads.exp: New file.
17129
a22279dd
YQ
171302015-12-15 Yao Qi <yao.qi@linaro.org>
17131
17132 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17133 is aarch64*-*-*.
17134
0588c796
SL
171352015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17136
17137 * gdb.base/history-duplicates.exp: Skip if no readline support.
17138
5d978e17
SL
171392015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17140
17141 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17142
7e763b86
SL
171432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17144
17145 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17146
87a3a92c
SL
171472015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17148
17149 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17150 ctrl-C if nointerrupts target property is set.
17151 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17152 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17153 * gdb.base/paginate-bg-execution.exp: Likewise.
17154 * gdb.base/paginate-execution-startup.exp: Likewise.
17155 * gdb.base/random-signal.exp: Likewise.
17156 * gdb.base/range-stepping.exp: Likewise.
17157 * gdb.cp/annota2.exp: Likewise.
17158 * gdb.cp/annota3.exp: Likewise.
17159 * gdb.gdb/selftest.exp: Likewise.
17160 * gdb.threads/continue-pending-status.exp: Likewise.
17161 * gdb.threads/leader-exit.exp: Likewise.
17162 * gdb.threads/manythreads.exp: Likewise.
17163 * gdb.threads/pthreads.exp: Likewise.
17164 * gdb.threads/schedlock.exp: Likewise.
17165 * gdb.threads/sigthread.exp: Likewise.
17166
a8f077dc
DB
171672015-12-11 Don Breazeal <donb@codesourcery.com>
17168
17169 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17170 remote.
17171 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17172 * gdb.base/foll-exec.exp (main): Enable for target remote.
17173 * gdb.base/foll-fork.exp (main): Likewise.
17174 * gdb.base/foll-vfork.exp (main): Likewise.
17175 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17176 (proc continue_to_exit_bp_loc): Use clean_restart.
17177 * gdb.base/pie-execl.exp (main): Disable for target remote.
17178 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17179 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17180 * gdb.threads/execl.exp (main): Likewise.
17181 * gdb.threads/fork-child-threads.exp (main): Likewise.
17182 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17183 remote.
17184 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17185 remote.
17186 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17187 pid.tid style ptids, instead of just tid.
17188 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17189 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17190 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17191 ptids, instead of just tid.
17192
3b2464a8
AB
171932015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17194
17195 * gdb.base/list.exp (test_list_forward): Add end of file error
17196 test.
17197 (test_repeat_list_command): Add end of file error test.
17198 (test_list_backwards): Add beginning of file error test.
17199
a0def019
AB
172002015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17201
17202 * gdb.base/list.exp (test_list_invalid_args): New function,
17203 defined, and called.
17204
5c000dff
AB
172052015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17206
17207 * gdb.base/list.exp (test_list): Make test names unique.
17208
f1637ebe
YQ
172092015-12-11 Yao Qi <yao.qi@linaro.org>
17210
17211 * gdb.base/coremaker2.c: Remove.
17212
36d6fc0a
PA
172132015-12-10 Pedro Alves <palves@redhat.com>
17214
17215 * gdb.multi/base.exp: Remove stale "spaces" references.
17216
762f7747
PA
172172015-12-10 Pedro Alves <palves@redhat.com>
17218
17219 * gdb.multi/base.exp: Don't use nowarnings.
17220 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17221 * gdb.multi/hangout.c: Include stdio.h.
17222 * gdb.multi/hello.c: Include stdlib.h.
17223 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17224 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17225 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17226
28d2bfb9
AB
172272015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17228
17229 * gdb.dwarf2/dw2-ranges-base.c: New file.
17230 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17231 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17232 support additional line table, and debug ranges generation.
17233 (Dwarf::ranges): New function, generate .debug_ranges.
17234 (Dwarf::lines): Support generating simple line table programs.
17235 (Dwarf::assemble): Initialise new namespace variables.
17236
5fc2beac
KB
172372015-12-09 Kevin Buettner <kevinb@redhat.com>
17238
17239 * gdb.base/async.exp (proc test_background): Add case for
17240 asynchronous execution not supported.
17241
1c35a88f
LM
172422015-12-09 Luis Machado <lgustavo@codesourcery.com>
17243
17244 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17245 format and change test names to make them unique.
17246
b593e3d9
RK
172472015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17248 Pedro Alves <pedro@redhat.com>
17249
17250 PR gdb/18702
17251 Add checking of floatformats setup on x86_64 hosts.
17252 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17253 (smallval, bigval): New labels/constants.
17254 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17255 float" after loading bigval and smallval.
17256
d72413e6
PMR
172572015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17258
17259 * gdb.ada/fun_overload_menu.exp: New testcase.
17260 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17261
ece66d65
JS
172622015-12-04 Josh Stone <jistone@redhat.com>
17263
17264 * gdb.base/catch-fork-static.exp: New.
17265
41d0efca
YQ
172662015-12-03 Yao Qi <yao.qi@linaro.org>
17267
17268 * gdb.base/sizeof.c: Don't include stdio.h and
17269 ../lib/unbuffer_output.c.
17270 (main): New variable 'size' and 'value'. Remove printf and
17271 gdb_unbuffer_output. Assign return value to size and value.
17272 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17273 at the beginning.
17274 (check_sizeof): Check the result by printing variable 'size'.
17275 (check_valueof): Check the result by printing variable 'value'.
17276
99fd02d9
YQ
172772015-12-01 Yao Qi <yao.qi@linaro.org>
17278
17279 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17280 for aarch64*-*-linux* target.
17281
f2faf941
PA
172822015-11-30 Pedro Alves <palves@redhat.com>
17283
17284 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17285
04bf20c5
PA
172862015-11-30 Pedro Alves <palves@redhat.com>
17287
17288 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17289 Handle non-stop mode vCont replies.
17290
09df4675
PA
172912015-11-30 Pedro Alves <palves@redhat.com>
17292
17293 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17294 prepare_for_testing. Start gdb with "set non-stop on" appended to
17295 GDBFLAGS. Lax expected stop output.
17296
58b584af
YQ
172972015-11-27 Yao Qi <yao.qi@linaro.org>
17298
17299 * gdb.arch/arm-neon.exp: New.
17300 * gdb.arch/arm-neon.c: New.
17301
dfcb77a8
YQ
173022015-11-27 Yao Qi <yao.qi@linaro.org>
17303
17304 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17305
88e8ec1b
YQ
173062015-11-27 Yao Qi <yao.qi@linaro.org>
17307
17308 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17309 frames-invalid annotation.
17310
bfde72c2
YQ
173112015-11-27 Yao Qi <yao.qi@linaro.org>
17312
17313 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17314
f6512a69
SM
173152015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17316
17317 * gdb.threads/names.exp: New file.
17318 * gdb.threads/names.c: New file.
17319 * README: Mention gdb,no_thread_names.
17320
46a3515b
MM
173212015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17322
17323 PR 19297
17324 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17325 support" error.
17326
62147a22
PA
173272015-11-24 Pedro Alves <palves@redhat.com>
17328
17329 PR 17539
17330 * gdb.base/display.exp: Expect displays to be sorted in ascending
17331 order. Use multi_line.
17332 * gdb.base/solib-display.exp: Likewise.
17333
2f341b6e
PA
173342015-11-24 Pedro Alves <palves@redhat.com>
17335
17336 PR 17539
25d49b86
PA
17337 * gdb.base/display.exp: Expect displays to be sorted in ascending
17338 order. Use multi_line.
17339 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17340
7e0aa6aa
PA
173412015-11-24 Pedro Alves <palves@redhat.com>
17342
17343 PR 17539
17344 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17345 threads in ascending order.
17346 * gdb.base/foll-fork.exp: Likewise.
17347 * gdb.base/foll-vfork.exp: Likewise.
17348 * gdb.base/multi-forks.exp: Likewise.
17349 * gdb.mi/mi-nonstop.exp: Likewise.
17350 * gdb.mi/mi-nsintrall.exp: Likewise.
17351 * gdb.multi/base.exp: Likewise.
17352 * gdb.multi/multi-arch.exp: Likewise.
17353 * gdb.python/py-inferior.exp: Likewise.
17354 * gdb.threads/break-while-running.exp: Likewise.
17355 * gdb.threads/execl.exp: Likewise.
17356 * gdb.threads/gcore-thread.exp: Likewise.
17357 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17358 * gdb.threads/kill.exp: Likewise.
17359 * gdb.threads/linux-dp.exp: Likewise.
17360 * gdb.threads/multiple-step-overs.exp: Likewise.
17361 * gdb.threads/next-bp-other-thread.exp: Likewise.
17362 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17363 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17364 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17365 * gdb.threads/thread-find.exp: Likewise.
17366 * gdb.threads/tls.exp: Likewise.
17367 * lib/mi-support.exp (mi_reverse_list): Delete.
17368 (mi_check_thread_states): No longer reverse list.
17369
2cc57ad8
PA
173702015-11-24 Pedro Alves <palves@redhat.com>
17371
17372 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17373 use lowercase.
17374
c93e8391
SM
173752015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17376
17377 * gdb.trace/actions.c: Include trace-common.h.
17378 (main): Add a location for a fast tracepoint.
17379 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17380 the normal tracepoints.
17381 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17382
045ccf91
SM
173832015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17384
17385 * save-trace.exp: Factor out code to these...
17386 (gdb_save_tracepoints): New.
17387 (gdb_load_tracepoints): New.
17388 (do_save_load_test): New.
17389
5506f9f6
KB
173902015-11-23 Kevin Buettner <kevinb@redhat.com>
17391
17392 * gdb.base/asmlabel.exp: New test.
17393 * gdb.base/asmlabel.c: New test case.
17394
16c3b12f
JB
173952015-11-23 Joel Brobecker <brobecker@adacore.com>
17396
17397 * gdb.base/wrong_frame_bt_full-main.c: New file.
17398 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17399 * gdb.base/wrong_frame_bt_full.exp: New file.
17400
155bfbd3
JB
174012015-11-23 Joel Brobecker <brobecker@adacore.com>
17402
17403 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17404
bb097445
JM
174052015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17406
206853a0 17407 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17408 pstate register when comparing registers values in
17409 sparc64-*-linux-gnu targets to avoid spurious differences.
17410
9c88ed8f
JM
174112015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17412
206853a0 17413 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17414
96161e25
SL
174152015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17416
17417 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17418 as type argument to gdb_compile.
17419 * gdb.base/nested-subp2.exp: Likewise.
17420 * gdb.base/nested-subp3.exp: Likewise.
17421
340c2830
DV
174222015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17423
17424 * lib/dwarf.exp (_note): Fix left shift of negative value.
17425 * gdb.trace/trace-condition.exp: Likewise.
17426
c1862d0f
YQ
174272015-11-13 Yao Qi <yao.qi@linaro.org>
17428
17429 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17430 comments about d10v.
17431 (test_scalar_returns): Likewise.
17432 * gdb.base/d10v.ld: Remove.
17433 * gdb.base/overlays.exp: Remove the target triplet checking for
17434 d10v-*-*.
17435 * gdb.base/structs.exp (test_struct_returns): Remove the
17436 comments about d10v.
17437 (test_struct_calls): Likewise.
17438
77ae9c19
YQ
174392015-11-13 Yao Qi <yao.qi@linaro.org>
17440
17441 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17442 * gdb.base/gnu_vector.c: Don't include stdio.h.
17443 (main): Don't print res and call add_some_intvecs.
17444
430e004e
MK
174452015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17446
17447 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17448 macro.
17449 (func5): Removed.
17450 (func4): Use FAST_TRACEPOINT_LABEL.
17451 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17452 macro.
17453 (func): Removed.
17454 (thread_function): Use FAST_TRACEPOINT_LABEL.
17455 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17456 (func): Remove.
17457 (marker): Use FAST_TRACEPOINT_LABEL.
17458 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17459 (pendfunc1): Remove.
17460 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17461 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17462 (foo): Remove.
17463 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17464 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17465 macro.
17466 (func): Remove.
17467 (marker): Use FAST_TRACEPOINT_LABEL.
17468 * gdb.trace/trace-common.h: New header.
17469 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17470 macro.
17471 (func): Remove.
17472 (marker): Use FAST_TRACEPOINT_LABEL.
17473 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17474 (func): Remove.
17475 (thread_function): Use FAST_TRACEPOINT_LABEL.
17476
6e7675a7
MK
174772015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17478
17479 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17480 in front.
17481 * gdb.trace/change-loc.exp: Use global pcreg definition.
17482 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17483 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17484 in front.
17485 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17486 * gdb.trace/pending.exp: Likewise.
17487 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17488 * gdb.trace/trace-break.exp: Likewise.
17489 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17490 in front.
17491 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17492 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17493 in front.
17494 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17495
dddc0e16
JB
174962015-11-09 Joel Brobecker <brobecker@adacore.com>
17497
17498 * gdb.ada/fin_fun_out: New testcase.
17499
c6f0b406
KB
175002015-11-07 Kevin Buettner <kevinb@redhat.com>
17501
17502 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17503 value associated with DW_AT_byte_size.
17504 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17505 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17506 DW_AT_upper_bound.
17507
f01dcfd9
KB
175082015-11-07 Kevin Buettner <kevinb@redhat.com>
17509
17510 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17511 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17512 version.
17513 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17514 gdb.dwarf2/dw2-canonicalize-type.exp,
17515 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17516 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17517 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17518 provided by gdb_target_symbol_prefix_flags_asm.
17519 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17520 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17521 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17522 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17523 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17524 macros where needed). Use this macro for symbols which require
17525 the prefix provided by SYMBOL_PREFIX.
17526
2223449a
KB
175272015-11-05 Kevin Buettner <kevinb@redhat.com>
17528
17529 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17530 New procs.
17531 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17532 representing expressions, of more than one list element.
17533 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17534 to prepend linker symbol prefix to f.
17535 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17536 table_1 and table_2.
17537 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17538 Likewise, for f and g.
17539 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17540 for ptr.
17541 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17542 for main.
17543 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17544 table_1_ptr and table_2_ptr.
17545
6f2f1a3a
JK
175462015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17547 Joel Brobecker <brobecker@adacore.com>
17548
17549 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17550
566c56c9
MK
175512015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17552
17553 * gdb.reverse/s390-mvcle.c: New test.
17554 * gdb.reverse/s390-mvcle.exp: New file.
17555 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17556
d5f0636b
MK
175572015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17558
17559 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17560
7ad8b86c
MK
175612015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17562
17563 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17564 reaching marker2.
17565 * gdb.reverse/getresuid-reverse.exp: Likewise.
17566 * gdb.reverse/pipe-reverse.exp: Likewise.
17567 * gdb.reverse/readv-reverse.exp: Likewise.
17568 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17569 * gdb.reverse/time-reverse.exp: Likewise.
17570 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17571
4081c0f1
YQ
175722015-10-30 Yao Qi <yao.qi@linaro.org>
17573
17574 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17575 (empty_cycle): Remove.
17576 (main): Don't call empty_cycle. Don't use watch_count_done.
17577 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17578 empty_cycle. Rewrite the code counting HW watchpoints.
17579
452b4ba5
MK
175802015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17581
17582 * gdb.reverse/fstatat-reverse.c: New test.
17583 * gdb.reverse/fstatat-reverse.exp: New file.
17584 * gdb.reverse/getresuid-reverse.c: New test.
17585 * gdb.reverse/getresuid-reverse.exp: New file.
17586 * gdb.reverse/pipe-reverse.c: New test.
17587 * gdb.reverse/pipe-reverse.exp: New file.
17588 * gdb.reverse/readv-reverse.c: New test.
17589 * gdb.reverse/readv-reverse.exp: New file.
17590 * gdb.reverse/recvmsg-reverse.c: New test.
17591 * gdb.reverse/recvmsg-reverse.exp: New file.
17592 * gdb.reverse/time-reverse.c: New test.
17593 * gdb.reverse/time-reverse.exp: New file.
17594 * gdb.reverse/waitpid-reverse.c: New test.
17595 * gdb.reverse/waitpid-reverse.exp: New file.
17596
5e2e7507
JK
175972015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17598
17599 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17600
0fde2c53
DE
176012015-10-26 Doug Evans <dje@google.com>
17602
17603 PR symtab/17391
17604 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17605 * gdb.dwarf2/bad-regnum.c: New file.
17606 * gdb.dwarf2/bad-regnum.exp: New file.
17607
1a70ae97
DE
176082015-10-26 Doug Evans <dje@google.com>
17609
17610 PR python/18938
17611 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17612 file.
17613
27dc26ab
JK
176142015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17615
17616 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17617 for a change by "Mention language in compile error message".
17618
bed91f4d
SM
176192015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17620
17621 PR python/18073
17622 * gdb.python/py-type.c (C::a_method): New.
17623 (C::a_const_method): New.
17624 (C::a_static_method): New.
17625 (a_function): New.
17626 * gdb.python/py-type.exp (test_fields): Test getting fields
17627 from function and method.
17628
3f2f83dd
KB
176292015-10-21 Keven Boell <keven.boell@intel.com>
17630
17631 * gdb.fortran/vla-alloc-assoc.exp: New file.
17632 * gdb.fortran/vla-datatypes.exp: New file.
17633 * gdb.fortran/vla-datatypes.f90: New file.
17634 * gdb.fortran/vla-history.exp: New file.
17635 * gdb.fortran/vla-ptype-sub.exp: New file.
17636 * gdb.fortran/vla-ptype.exp: New file.
17637 * gdb.fortran/vla-sizeof.exp: New file.
17638 * gdb.fortran/vla-sub.f90: New file.
17639 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17640 * gdb.fortran/vla-value-sub-finish.exp: New file.
17641 * gdb.fortran/vla-value-sub.exp: New file.
17642 * gdb.fortran/vla-value.exp: New file.
17643 * gdb.fortran/vla-ptr-info.exp: New file.
17644 * gdb.mi/mi-vla-fortran.exp: New file.
17645 * gdb.mi/vla.f90: New file.
17646
27145d50
SL
176472015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17648
17649 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17650 of hardwired timeout value.
17651
5f3ff4f8
JK
176522015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17653 Pedro Alves <palves@redhat.com>
17654
17655 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17656 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17657
bfd09d20
JS
176582015-10-19 Josh Stone <jistone@redhat.com>
17659
17660 * gdb.base/catch-syscall.c: Include <sched.h>.
17661 (unknown_syscall): New variable.
17662 (main): Trigger a vfork and an unknown syscall.
17663 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17664 (unknown_syscall_number): Likewise.
17665 (check_call_to_syscall): Accept an optional syscall pattern.
17666 (check_return_from_syscall): Likewise.
17667 (check_continue): Likewise.
17668 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17669 (test_catch_syscall_skipping_return): New test toggling off 'catch
17670 syscall' to step over the syscall return, then toggling back on.
17671 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17672 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17673 (do_syscall_tests): Call test_catch_syscall_without_args and
17674 test_catch_syscall_mid_vfork.
17675 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17676 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17677
b32b93c6
AS
176782015-10-19 Andrew Stubbs <ams@codesourcery.com>
17679
17680 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17681 print g_vE): Add new pass patterns.
17682 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17683 print various symbol names for vptr fields.
17684
9d622bda
AB
176852015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17686
17687 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17688 results.
17689
0fd8ac1c
YQ
176902015-10-12 Yao Qi <yao.qi@linaro.org>
17691
17692 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17693
34240514
YQ
176942015-10-12 Yao Qi <yao.qi@linaro.org>
17695
17696 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17697 is aarch64*-*-linux*.
17698
8240f442
YQ
176992015-10-12 Yao Qi <yao.qi@linaro.org>
17700
17701 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17702 (can_relocate_bcond_true): ... it.
17703 (can_relocate_bcond_false): New function.
17704 (foo): Likewise.
17705 (can_relocate_bl): Likewise.
17706 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17707 can_relocate_bl.
17708
2520f728
PMR
177092015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17710
17711 * gdb.base/nested-addr.c: New file.
17712 * gdb.base/nested-addr.exp: New testcase.
17713
abcef95a
MM
177142015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17715
17716 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17717 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17718 its output. Ignore the output of "record goto begin" and instead
17719 check that GDB is replaying.
17720
145e3ddb
PA
177212015-10-09 Pedro Alves <palves@redhat.com>
17722
17723 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17724 (top level): Use it in the run with no args test.
17725
d5d8c4e1
IB
177262015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17727
17728 * gdb.dlang/properties.exp: New file.
17729
06e635ef
SL
177302015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17731
17732 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17733 whether or not address 0x1000 is mapped on the target.
17734
e019fd1d
SM
177352015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17736
17737 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17738 build.
17739
77ba2a67
MM
177402015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17741
17742 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17743 instruction-history test.
17744
c60eb31f
DE
177452015-09-28 Doug Evans <dje@google.com>
17746
17747 * gdb.base/gcore.c (array_func): Add reference to static_array.
17748
9a3c8263
SM
177492015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17750
17751 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17752 source line.
17753
9720e656
SL
177542015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17755
17756 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17757 short or char as base type.
17758
938d3bf2
SL
177592015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17760
17761 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17762 to allow any size enum.
17763
e6c2c623
PMR
177642015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17765
17766 * gdb.ada/array_ptr_renaming.exp: New testcase.
17767 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17768 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17769
06da0f77
PL
177702015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17771
17772 * gdb.trace/ftrace-lock.c: New file.
17773 * gdb.trace/ftrace-lock.exp: New file.
17774
4f51c22a
PL
177752015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17776
17777 * gdb.arch/insn-reloc.c: New file.
17778 * gdb.arch/ftrace-insn-reloc.exp: New file.
17779
7041adf4
PL
177802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17781
17782 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17783 instruction.
17784 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17785 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17786 * gdb.trace/range-stepping.c: Likewise.
17787 * gdb.trace/trace-break.c: Likewise.
17788 * gdb.trace/trace-mt.c (thread_function): Likewise.
17789 * gdb.trace/ftrace.c (marker): Likewise.
17790 * gdb.trace/trace-condition.c (marker): Likewise.
17791 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17792 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17793 is_aarch64_target.
17794
015d2e7e
DE
177952015-09-18 Doug Evans <xdje42@gmail.com>
17796
17797 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17798 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17799
26b188a2
SL
178002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17801
17802 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17803 the breakpoint.
17804
79dc332b
SL
178052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17806
17807 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17808 the pending breakpoint. Remove timeout override for "Run till
17809 MI pending breakpoint on pendfunc3 on thread 2" test.
17810
f57929f2
SL
178112015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17812
17813 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17814 filename pattern.
17815
3f469b17
SL
178162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17817
17818 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17819 in breakpoint filename pattern.
17820
515b89b3
SL
178212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17822
7800dbe4
SL
17823 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17824
178252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17826
515b89b3
SL
17827 * gdb.linespec/explicit.exp: Check for readline support for
17828 tab-completion tests. Fix obvious typo.
17829
d2939ba2
MM
178302015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17831
17832 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17833 and replay.
17834
cbb55fa7
MM
178352015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17836
17837 * gdb.btrace/non-stop.c: New.
17838 * gdb.btrace/non-stop.exp: New.
17839
43691ca1
PL
178402015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17841 Yao Qi <yao.qi@linaro.org>
17842
17843 * gdb.trace/trace-condition.c: New file.
17844 * gdb.trace/trace-condition.exp: New file.
17845
d78908cf
WW
178462015-09-16 Wei-cheng Wang <cole945@gmail.com>
17847
17848 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17849 for testing bytecode compilation.
17850
1ed415e2
PA
178512015-09-16 Pedro Alves <palves@redhat.com>
17852 Sandra Loosemore <sandra@codesourcery.com>
17853
17854 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17855 (SECONDS): Redefine.
17856 (main): Call pthread_kill and alarm early.
17857 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17858 support.
17859 (test): If the target can't hardware step and doesn't support
17860 displaced stepping, increase the timeout.
17861
d136eff5
PA
178622015-09-16 Pedro Alves <palves@redhat.com>
17863
17864 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17865 (enable_debug): New procedures.
17866 (test): Use them. Bail out if waiting for threads fails.
17867 (top level): Bail out if a test fails.
17868
991f019c
YQ
178692015-09-16 Yao Qi <yao.qi@linaro.org>
17870
17871 * gdb.asm/asm-source.exp: Set asm-arch for
17872 aarch64*-*-* target.
17873 * gdb.asm/aarch64.inc: New file.
17874
bfca584f
PMR
178752015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17876
17877 * gdb.ada/array_of_variable_length.exp: New testcase.
17878 * gdb.ada/array_of_variable_length/foo.adb: New file.
17879 * gdb.ada/array_of_variable_length/pck.adb: New file.
17880 * gdb.ada/array_of_variable_length/pck.ads: New file.
17881
b326e587
DE
178822015-09-15 Doug Evans <dje@google.com>
17883
17884 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17885 of function static local variable.
17886
5382cfab
PW
178872015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17888
17889 * gdb.threads/tls-so_extern.exp: New test file.
17890 * gdb.threads/tls-so_extern.c: New test file.
17891 * gdb.threads/tls-so_extern_main.c: New test file.
17892
141c5cc4
JK
178932015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17894
17895 * gdb.opt/solib-intra-step-lib.c: New file.
17896 * gdb.opt/solib-intra-step-main.c: New file.
17897 * gdb.opt/solib-intra-step.exp: New file.
17898
d15dcecd
PA
178992015-09-15 Pedro Alves <palves@redhat.com>
17900
17901 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17902 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17903
4c2f2a79
PA
179042015-09-14 Pedro Alves <palves@redhat.com>
17905
17906 * gdb.base/hook-stop-continue.c: Delete.
17907 * gdb.base/hook-stop-continue.exp: Delete.
17908 * gdb.base/hook-stop-frame.c: Delete.
17909 * gdb.base/hook-stop-frame.exp: Delete.
17910 * gdb.base/hook-stop.c: New file.
17911 * gdb.base/hook-stop.exp: New file.
17912
919e6dbe
PMR
179132015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17914
17915 * gdb.ada/access_to_packed_array.exp: New testcase.
17916 * gdb.ada/access_to_packed_array/foo.adb: New file.
17917 * gdb.ada/access_to_packed_array/pack.adb: New file.
17918 * gdb.ada/access_to_packed_array/pack.ads: New file.
17919
157280a4
MM
179202015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17921
17922 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17923 buffer size test.
17924
2fd33e94
DB
179252015-09-11 Don Breazeal <donb@codesourcery.com>
17926
17927 * gdb.base/foll-exec.c: Add copyright header. Fix
17928 formatting issues.
17929 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17930 (do_exec_tests): Use clean_restart in place of zap_session,
17931 and for test initialization. Fix formatting issues. Use
17932 fail in place of perror.
17933 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17934 an expect statement to match an expression with output from
17935 the program under debug.
17936 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17937 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17938 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17939 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17940 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17941
e70b6e8e
DE
179422015-09-09 Doug Evans <dje@google.com>
17943
17944 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17945
7a551a51
DE
179462015-09-09 Doug Evans <dje@google.com>
17947
17948 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17949
4c666f84
DE
179502015-09-09 Doug Evans <dje@google.com>
17951
17952 * gdb.base/savedregs.exp: Fix typo.
17953
243a9253
PA
179542015-09-09 Pedro Alves <palves@redhat.com>
17955
17956 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17957
c0fa8fbd
SL
179582015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17959
17960 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17961 command actually switches threads. Give up on remaining
17962 tests if target fails to stop at breakpoint.
17963
cd7c1778
PMR
179642015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17965
17966 * gdb.ada/funcall_char.exp: New testcase.
17967 * gdb.ada/funcall_char/foo.adb: New file.
17968
dc5c8746
PMR
179692015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17970
17971 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17972 expected outputs. Add two testcases for completing ambiguous
17973 functions.
17974 * gdb.ada/complete/aux_pck.adb: New file.
17975 * gdb.ada/complete/aux_pck.ads: New file.
17976 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17977 Ambiguous_Func functions.
17978 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17979 * gdb.ada/complete/pck.adb: Likewise.
17980
4e83a1e7
UW
179812015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17982
17983 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17984 failures to run the test program under GDB.
17985
8ce74153
LM
179862015-08-26 Luis Machado <lgustavo@codesourcery.com>
17987
17988 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17989 to C.
17990
e9756d52
PP
179912015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17992
17993 * gdb.base/run-after-attach.exp: New test file.
17994 * gdb.base/run-after-attach.c: New test file.
17995
8d37573b
DB
179962015-08-26 Don Breazeal <donb@codesourcery.com>
17997
17998 * gdb.base/foll-exec-2.c: New test program.
17999 * gdb.base/foll-exec-2.exp: New test.
18000
63e43d3a
PMR
180012015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18002
18003 * gdb.base/nested-subp1.exp: New file.
18004 * gdb.base/nested-subp1.c: New file.
18005 * gdb.base/nested-subp2.exp: New file.
18006 * gdb.base/nested-subp2.c: New file.
18007 * gdb.base/nested-subp3.exp: New file.
18008 * gdb.base/nested-subp3.c: New file.
18009
3d40fbb5
PA
180102015-08-24 Pedro Alves <palves@redhat.com>
18011
18012 * gdb.server/connect-without-multi-process.c: New file.
18013 * gdb.server/connect-without-multi-process.exp: New file.
18014
4422ac93
LM
180152015-08-24 Luis Machado <lgustavo@codesourcery.com>
18016
18017 * gdb.opt/inline-markers.c: Make z int.
18018
91dddb86
LM
180192015-08-24 Luis Machado <lgustavo@codesourcery.com>
18020
18021 * gdb.opt/inline-markers.c: Make z volatile.
18022
a48847ee
LM
180232015-08-24 Luis Machado <lgustavo@codesourcery.com>
18024
18025 * gdb.opt/inline-bt.c: New volatile global z.
18026 * gdb.opt/inline-cmds.c: Likewise.
18027 * gdb.opt/inline-locals.c: Likewise.
18028 * gdb.opt/inline-markers.c: New extern global z.
18029 (marker): Use z.
18030 (inline_fn): Likewise.
18031
0ebbc52b
PA
180322015-08-24 Pedro Alves <palves@redhat.com>
18033
18034 * config/m32r-stub.exp: Remove file.
18035 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18036 * gdb.base/call-rt-st.exp: Likewise.
18037 * gdb.base/call-strs.exp: Likewise.
18038 * gdb.base/default.exp: Remove references to h8300-*-hms and
18039 *-*-udi*.
18040 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18041
77c365df
AA
180422015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18043
18044 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18045 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18046 and "return" use KFAIL when GDB can not read/write the vector
18047 return value.
18048
4313b8c0
GB
180492015-08-21 Gary Benson <gbenson@redhat.com>
18050
18051 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18052
0e433b32
PA
180532015-08-20 Pedro Alves <palves@redhat.com>
18054
18055 * gdb.server/solib-list.exp: No longer expect an interior stop in
18056 non-stop mode.
18057
221e1a37
PA
180582015-08-20 Pedro Alves <palves@redhat.com>
18059
18060 * gdb.server/connect-stopped-target.c: New file.
18061 * gdb.server/connect-stopped-target.exp: New file.
18062
40e3ad0e
PA
180632015-08-20 Pedro Alves <palves@redhat.com>
18064
18065 * gdb.dwarf2/comp-unit-lang.exp: New file.
18066 * gdb.dwarf2/comp-unit-lang.c: New file.
18067
af39b327
PMR
180682015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18069
18070 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18071 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18072
7d45c7c3 180732015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 18074
7d45c7c3
KB
18075 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18076 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18077
4d6cceb4
DE
180782015-08-18 Doug Evans <dje@google.com>
18079 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18080
18081 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18082 skip_python_tests. New arg prompt_regexp.
18083 (skip_python_tests): New function.
18084 * lib/mi-support.exp (mi_skip_python_tests): New function.
18085 * gdb.python/py-mi-objfile-gdb.py: New file.
18086 * gdb.python/py-mi-objfile.c: New file.
18087 * gdb.python/py-mi-objfile.exp: New file.
18088
ad89c2aa
KS
180892015-08-17 Keith Seitz <keiths@redhat.com>
18090
18091 * gdb.linespec/explicit.exp: Move strace test from here ...
18092 * gdb.trace/strace.exp: ... to here.
18093
e3ae3c43
PP
180942015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18095
18096 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18097 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18098
604b2636
DE
180992015-08-14 Doug Evans <xdje42@gmail.com>
18100
18101 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18102 inferior before selecting a new file.
18103
6ff0ba5f
DE
181042015-08-14 Doug Evans <xdje42@gmail.com>
18105
18106 * gdb.mi/mi-disassemble.exp: Update.
18107 * gdb.base/disasm-optim.S: New file.
18108 * gdb.base/disasm-optim.c: New file.
18109 * gdb.base/disasm-optim.h: New file.
18110 * gdb.base/disasm-optim.exp: New file.
18111
9ca98f92
KS
181122015-08-14 Keith Seitz <keiths@redhat.com>
18113
18114 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18115 "evaluated-by".
18116
52bbc560
JB
181172015-08-13 Joel Brobecker <brobecker@adacore.com>
18118
18119 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18120
5d8c3ed3
PMR
181212015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18122
18123 * gdb.ada/fun_renaming.exp: New testcase.
18124 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18125 * gdb.ada/fun_renaming/pack.adb: New file.
18126 * gdb.ada/fun_renaming/pack.ads: New file.
18127
ea8812bc
KS
181282015-08-12 Keith Seitz <keiths@redhat.com>
18129
18130 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18131 gdb_get_line_number.
18132
4dafcdeb
JB
181332015-08-12 Joel Brobecker <brobecker@adacore.com>
18134
18135 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18136 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18137 gdb.base/dso2dso.exp: New files.
18138
5ba32597
SDJ
181392015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18140 Pedro Alves <palves@redhat.com>
18141 Keith Seitz <keiths@redhat.com>
18142
18143 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18144 GDBFLAGS.
18145
b6dafabf
PP
181462015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18147
18148 * gdb.base/gdbhistsize-history.exp
18149 (test_histsize_history_setting): Use save_vars.
18150 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18151 Use save_vars.
18152 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18153 * gdb.base/readline.exp: Use save_vars.
18154
abe8e607
PP
181552015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18156
18157 * lib/gdb.exp (save_vars): New proc.
18158
629500fa
KS
181592015-08-11 Keith Seitz <keiths@redhat.com>
18160
18161 * gdb.base/help.exp: Update help_breakpoint_text.
18162
eb8c4e2e
KS
181632015-08-11 Keith Seitz <keiths@redhat.com>
18164
18165 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18166 (at toplevel): Call test_explicit_breakpoints.
18167 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18168 breakpoints.
18169 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18170 breakpoint conditions, "-cond".
18171
87f0e720
KS
181722015-08-11 Keith Seitz <keiths@redhat.com>
18173
18174 * gdb.linespec/3explicit.c: New file.
18175 * gdb.linespec/cpexplicit.cc: New file.
18176 * gdb.linespec/cpexplicit.exp: New file.
18177 * gdb.linespec/explicit.c: New file.
18178 * gdb.linespec/explicit.exp: New file.
18179 * gdb.linespec/explicit2.c: New file.
18180 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18181 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18182 before using in the matching pattern.
18183 Clarify that `prefix' is a regular expression.
18184
f00aae0f
KS
181852015-08-11 Keith Seitz <keiths@redhat.com>
18186
18187 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18188 test.
18189 Add tests for missing ",FMT" and ",".
18190
e27852be
DE
181912015-08-10 Doug Evans <dje@google.com>
18192 Keith Seitz <keiths@redhat.com>
18193
18194 PR gdb/17960
18195 * gdb.base/completion.exp: Add location completer tests.
18196
7f03bd92
PA
181972015-08-07 Pedro Alves <palves@redhat.com>
18198
18199 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18200 tests here.
18201 (top level): Run do_test with and without displaced stepping.
18202
3fc8eb30
PA
182032015-08-07 Pedro Alves <palves@redhat.com>
18204
18205 * gdb.base/valgrind-disp-step.c: New file.
18206 * gdb.base/valgrind-disp-step.exp: New file.
18207
d4569d7b
PA
182082015-08-07 Pedro Alves <palves@redhat.com>
18209
18210 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18211 Delete function.
18212 (main): Add alarm. Run an infinite loop instead of calling
18213 wait_threads.
18214 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18215 comment.
18216 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18217 Delete function.
18218 (main): Add alarm. Run an infinite loop instead of calling
18219 wait_threads.
18220 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18221 comment.
18222
e1316e60
PA
182232015-08-07 Pedro Alves <palves@redhat.com>
18224
18225 * gdb.base/checkpoint-ns.exp: New file.
18226 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18227 standard_testfile.
18228
da8c46d2
MM
182292015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18230
18231 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18232 * gdb.btrace/instruction_history.exp: Update.
18233 * gdb.btrace/tsx.exp: New.
18234 * gdb.btrace/tsx.c: New.
18235
de1c2c52
PA
182362015-08-06 Pedro Alves <palves@redhat.com>
18237
18238 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18239 increase timeout.
18240 * gdb.reverse/until-precsave.exp: Bump timeouts.
18241
782e0bf4
PA
182422015-08-06 Pedro Alves <palves@redhat.com>
18243
18244 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18245
83e97ed0
PA
182462015-08-06 Pedro Alves <palves@redhat.com>
18247
18248 PR gdb/18749
18249 * gdb.threads/process-dies-while-handling-bp.c: New file.
18250 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18251
863d01bd
PA
182522015-08-06 Pedro Alves <palves@redhat.com>
18253
18254 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18255 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18256
0a39bb32
PA
182572015-08-05 Pedro Alves <palves@redhat.com>
18258
18259 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18260 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18261
ee2d2b10
SL
182622015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18263
18264 * gdb.base/bp-permanent.exp: Report test as unsupported if
18265 the target cannot stop at the permanent breakpoint.
18266
4e1bdb00
DE
182672015-08-03 Doug Evans <dje@google.com>
18268
18269 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18270 10000.
18271
3d338901
DE
182722015-08-03 Doug Evans <dje@google.com>
18273
18274 * Makefile.in (workers/%.worker, build-perf): New rule.
18275 (GDB_PERFTEST_MODE): New variable.
18276 (check-perf): Use it.
18277 (clean): Clean up gdb.perf parallel build subdirs.
18278 * lib/build-piece.exp: New file.
18279 * lib/gdb.exp (make_gdb_parallel_path): New function
18280 (standard_output_file, standard_temp_file): Call it.
18281 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18282 of $GDB_PARALLEL.
18283 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18284
af061d3e
DE
182852015-08-03 Doug Evans <dje@google.com>
18286
8e1afc81 18287 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18288 (LOG_FILE_NAME): New global.
18289 (TextReporter.__init__): Initialize self.txt_sum.
18290 (TextReporter.report): Add support for multiple data-points.
18291 Move report to perftest.sum, put raw data in perftest.log.
18292 (TextReporter.start): Open sum and log files.
18293 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18294 * gdb.perf/lib/perftest/testresult.py
18295 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18296
2c8c5d37
PA
182972015-07-31 Pedro Alves <palves@redhat.com>
18298
18299 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18300 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18301 kill_wait_spawned_process instead of explicit "kill -9".
18302 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18303 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18304 kill_wait_spawned_process.
18305 * gdb.base/attach-twice.exp: Likewise.
18306 * gdb.base/attach.exp: Likewise.
18307 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18308 gdb_test_multiple.
18309 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18310 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18311 kill_wait_spawned_process.
18312 * gdb.base/valgrind-infcall.exp: Likewise.
18313 * gdb.multi/multi-attach.exp: Likewise.
18314 * gdb.python/py-prompt.exp: Likewise.
18315 * gdb.python/py-sync-interp.exp: Likewise.
18316 * gdb.server/ext-attach.exp: Likewise.
18317 * gdb.threads/attach-into-signal.exp (corefunc): Use
18318 spawn_wait_for_attach, spawn_id_get_pid and
18319 kill_wait_spawned_process.
18320 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18321 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18322 spawn_id_get_pid and kill_wait_spawned_process.
18323 * gdb.threads/attach-stopped.exp (corefunc): Use
18324 spawn_wait_for_attach, spawn_id_get_pid and
18325 kill_wait_spawned_process.
18326 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18327 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18328 kill_wait_spawned_process instead of explicit "kill -9".
18329 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18330 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18331 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18332 processes. Don't map cygwin/windows pids here. Now returns a
18333 spawn id list.
18334
032a0fca
SL
183352015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18336
18337 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18338 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18339 correct patch.
18340
61a934ca
SL
183412015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18342
18343 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18344
4bc4d428
SL
183452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18346
18347 Reapply:
18348 2014-05-21 Mark Wielaard <mjw@redhat.com>
18349
18350 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18351
998d452a
PA
183522015-07-30 Pedro Alves <palves@redhat.com>
18353
18354 * linux-low.c (handle_extended_wait): Set the child's last
18355 reported status to TARGET_WAITKIND_STOPPED.
18356
69dde7dc
PA
183572015-07-30 Pedro Alves <palves@redhat.com>
18358
18359 PR threads/18600
18360 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18361 only shows inferior 1.
18362
4dd63d48
PA
183632015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18364 Pedro Alves <palves@redhat.com>
18365
18366 PR threads/18600
18367 * gdb.threads/fork-plus-threads.c: New file.
18368 * gdb.threads/fork-plus-threads.exp: New file.
18369
d618e4c5
PP
183702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18371
18372 * gdb.base/batch-preserve-term-settings.exp
18373 (test_terminal_settings_preserved_after_cli_exit): Use
18374 send_quit_command.
18375
1eef6428
PA
183762015-07-29 Pedro Alves <palves@redhat.com>
18377 Don Breazeal <donb@codesourcery.com>
18378
18379 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18380 output from both inferior_spawn_id and gdb_spawn_id.
18381
7da5b897
SDJ
183822015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18383
18384 * gdb.threads/attach-into-signal.exp (corefunc): Use
18385 with_test_prefix on nested loops, uniquefying the test messages.
18386
dac804df
SDJ
183872015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18388
18389 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18390 commit.
18391
06265e53
PP
183922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18393
18394 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18395 New proc.
18396 (test_terminal_settings_preserved_after_sigterm): New test.
18397
18206ca3
PP
183982015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18399
18400 * gdb.base/batch-preserve-term-settings.exp
18401 (test_terminal_settings_preserved_after_cli_exit): New test.
18402
90074d11
PP
184032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18404
18405 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18406 manipulation of saved_gdbflags.
18407 (test_terminal_settings_preserved): Remove global declaration of
18408 the unused variable pagination_prompt. Remove manipulation of
18409 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18410 GDBFLAGS.
18411
eb1a7902
PA
184122015-07-29 Pedro Alves <palves@redhat.com>
18413
18414 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18415
8b75dd3b
PA
184162015-07-29 Pedro Alves <palves@redhat.com>
18417
18418 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18419 at the top.
18420
dedad4e3
PA
184212015-07-29 Pedro Alves <palves@redhat.com>
18422
18423 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18424 (main): Call gdb_unbuffer_output.
18425 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18426 (main): Call gdb_unbuffer_output.
18427 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18428 (main): Call gdb_unbuffer_output.
18429 * gdb.base/call-strs.exp: Adjust to step over the
18430 gdb_unbuffer_output call.
18431 * gdb.base/catch-gdb-caused-signals.c: Include
18432 "../lib/unbuffer_output.c".
18433 (main): Call gdb_unbuffer_output.
18434 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18435 (main): Call gdb_unbuffer_output.
18436 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18437 (main): Call gdb_unbuffer_output.
18438 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18439 (main): Call gdb_unbuffer_output.
18440 * gdb.base/shlib-call.exp: Adjust to step over the
18441 gdb_unbuffer_output call.
18442 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18443 (main): Call gdb_unbuffer_output.
18444 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18445 (main): Call gdb_unbuffer_output.
18446 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18447 (main): Rename to ...
18448 (test): ... this.
18449 (main): Reimplement.
18450 * gdb.base/varargs.exp: Run to test instead of to main.
18451 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18452 (main): Call gdb_unbuffer_output.
18453
58789a91
PA
184542015-07-29 Pedro Alves <palves@redhat.com>
18455
18456 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18457 factore out from mi_continue_dprintf. For call-style dprintfs,
18458 expect dprintf output out of $inferior_spawn_id.
18459 (mi_continue_dprintf): Use mi_expect_dprintf.
18460 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18461 (main): Call gdb_unbuffer_output.
18462
e8376742
PA
184632015-07-29 Pedro Alves <palves@redhat.com>
18464
18465 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18466 (default_mi_gdb_start): Set inferior_spawn_id instead of
18467 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18468 gdb_spawn_id.
18469 (mi_gdb_test): Always expect inferior output from both
18470 $inferior_spawn_id and $gdb_spawn_id.
18471
08280010
PA
184722015-07-29 Pedro Alves <palves@redhat.com>
18473
18474 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18475 send_inferior and $inferior_spawn_id.
18476
4d30e432
PA
184772015-07-29 Pedro Alves <palves@redhat.com>
18478
18479 * gdb.gdb/complaints.exp (test_initial_complaints)
18480 (test_serial_complaints, test_short_complaints): Use
18481 gdb_test_stdio.
18482 (test_empty_complaint): Handle $inferior_spawn_id !=
18483 $gdb_spawn_id.
18484
0d30a335
PA
184852015-07-29 Pedro Alves <palves@redhat.com>
18486
18487 * gdb.base/varargs.exp: Use gdb_test_stdio.
18488
39413b29
PA
184892015-07-29 Pedro Alves <palves@redhat.com>
18490
18491 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18492
7cb000a9
PA
184932015-07-29 Pedro Alves <palves@redhat.com>
18494
18495 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18496
d7b8ac82
PA
184972015-07-29 Pedro Alves <palves@redhat.com>
18498
18499 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18500 parameter into two new parameters, "inf_result" and "gdb_result".
18501 Expect inferior output and gdb output from $inferior_spawn_id and
18502 $gdb_spawn_id, respectively. Adjust all callers.
18503
789c3a0c
PA
185042015-07-29 Pedro Alves <palves@redhat.com>
18505
18506 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18507 of gdb_test_sequence.
18508
77e760c3
PA
185092015-07-29 Pedro Alves <palves@redhat.com>
18510
18511 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18512 (saw_spurious_output): Expect inferior output from
18513 $inferior_spawn_id. Use gdb_test_stdio.
18514
8396d2cd
PA
185152015-07-29 Pedro Alves <palves@redhat.com>
18516
18517 * gdb.base/dprintf.exp: Use standard_testfile. Change
18518 prepare_for_testing call.
18519 (srcfile): Don't set.
18520 (restart): New procedure.
18521 (test_dprintf): New procecure, use to continue over dprintfs.
18522 (test_call, test_agent): New procedures, tests moved here.
18523 Restart gdb and recreate dprintfs. Adjust expected output.
18524
2051d61f
PA
185252015-07-29 Pedro Alves <palves@redhat.com>
18526
18527 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18528
452397af
PA
185292015-07-29 Pedro Alves <palves@redhat.com>
18530
18531 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18532
8aed9555
PA
185332015-07-29 Pedro Alves <palves@redhat.com>
18534
18535 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18536 gdb_test_stdio.
18537
188a61b4
PA
185382015-07-29 Pedro Alves <palves@redhat.com>
18539
18540 * lib/gdb.exp (gdb_test_stdio): New procedure.
18541
12264a45
PA
185422015-07-29 Pedro Alves <palves@redhat.com>
18543
18544 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18545
23ffc893
PA
185462015-07-29 Pedro Alves <palves@redhat.com>
18547
18548 * gdb.base/call-signal-resume.exp: Remove check for
18549 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18550 * gdb.base/unwindonsignal.exp: Likewise.
18551 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18552 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18553
65566918
PA
185542015-07-29 Pedro Alves <palves@redhat.com>
18555
18556 * gdb.base/siginfo-addr.c (pass): New function.
18557 (handler): Call it iff si_addr is correct.
18558 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18559 Set a breakpoint at "pass" and continue to it.
18560
d60a9221
SDJ
185612015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18562
18563 * gdb.python/py-objfile.exp: Make some tests have unique names.
18564 * gdb.python/py-pp-registration.exp: Likewise.
18565
bde40b8f
PA
185662015-07-28 Pedro Alves <palves@redhat.com>
18567
18568 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18569
13e1dec8
SM
185702015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18571
18572 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18573
da33c9a7
SM
185742015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18575
18576 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18577
077836f7
PP
185782015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18579
18580 * gdb.base/gdb-sigterm-2.exp: New test.
18581
b8cc7b2e
DE
185822015-07-25 Doug Evans <xdje42@gmail.com>
18583
18584 Revert:
18585 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18586 (workers/%.worker, build-perf): New rule.
18587 (GDB_PERFTEST_MODE): New variable.
18588 (check-perf): Use it.
18589 (clean): Clean up gdb.perf parallel build subdirs.
18590 * lib/build-piece.exp: New file.
18591 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18592 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18593 name.
18594 (standard_temp_file): Ditto.
18595 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18596 of $GDB_PARALLEL.
18597
c8bd4544
DE
185982015-07-24 Doug Evans <dje@google.com>
18599
18600 * gdb.perf/lib/perftest/utils.py: New file.
18601 * gdb.perf/gm-hello.cc: New file.
18602 * gdb.perf/gm-pervasive-typedef.cc: New file.
18603 * gdb.perf/gm-pervasive-typedef.h: New file.
18604 * gdb.perf/gm-std.cc: New file.
18605 * gdb.perf/gm-std.h: New file.
18606 * gdb.perf/gm-use-cerr.cc: New file.
18607 * gdb.perf/gm-utils.h: New file.
18608 * gdb.perf/gmonster-null-lookup.py: New file.
18609 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18610 * gdb.perf/gmonster-print-cerr.py: New file.
18611 * gdb.perf/gmonster-ptype-string.py: New file.
18612 * gdb.perf/gmonster-runto-main.py: New file.
18613 * gdb.perf/gmonster-select-file.py: New file.
18614 * gdb.perf/gmonster1-null-lookup.exp: New file.
18615 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18616 * gdb.perf/gmonster1-print-cerr.exp: New file.
18617 * gdb.perf/gmonster1-ptype-string.exp: New file.
18618 * gdb.perf/gmonster1-runto-main.exp: New file.
18619 * gdb.perf/gmonster1-select-file.exp: New file.
18620 * gdb.perf/gmonster1.cc: New file.
18621 * gdb.perf/gmonster1.exp: New file.
18622 * gdb.perf/gmonster2-null-lookup.exp: New file.
18623 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18624 * gdb.perf/gmonster2-print-cerr.exp: New file.
18625 * gdb.perf/gmonster2-ptype-string.exp: New file.
18626 * gdb.perf/gmonster2-runto-main.exp: New file.
18627 * gdb.perf/gmonster2-select-file.exp: New file.
18628 * gdb.perf/gmonster2.cc: New file.
18629 * gdb.perf/gmonster2.exp: New file.
18630
6eab34f3
DE
186312015-07-24 Doug Evans <dje@google.com>
18632
18633 * gdb.perf/README: New file.
18634 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18635 * lib/gen-perf-test.exp: New file.
18636
63738bfd
DE
186372015-07-24 Doug Evans <dje@google.com>
18638
18639 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18640 (PerfTest::startup): New function.
18641 (PerfTest::run): Return result of calling body.
18642 (PerfTest::assemble): Rewrite.
18643 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18644 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18645 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18646 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18647 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18648
7b606f95
DE
186492015-07-24 Doug Evans <dje@google.com>
18650
18651 * lib/gdb.exp (clean_restart): Make executable optional.
18652
a97b16b8
DE
186532015-07-24 Doug Evans <dje@google.com>
18654
18655 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18656 compiler_info references.
18657 * gdb.cp/temargs.exp: Ditto.
18658 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18659 (get_compiler_info): Early exit if already computed. Set compiler_info
18660 to "unknown" if there was a problem.
18661 (test_compiler_info): Add function comment. Call get_compiler_info.
18662
35baa57f
DE
186632015-07-24 Doug Evans <dje@google.com>
18664
18665 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18666 (workers/%.worker, build-perf): New rule.
18667 (GDB_PERFTEST_MODE): New variable.
18668 (check-perf): Use it.
18669 (clean): Clean up gdb.perf parallel build subdirs.
18670 * lib/build-piece.exp: New file.
18671 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18672 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18673 name.
18674 (standard_temp_file): Ditto.
18675 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18676 of $GDB_PARALLEL.
18677
6ebea266
DE
186782015-07-24 Doug Evans <dje@google.com>
18679
18680 * lib/future.exp (gdb_default_target_compile): New option
18681 "early_flags".
18682 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18683 --as-needed.
18684
1e76a7e9
SDJ
186852015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18686
18687 * gdb.base/catch-syscall.exp: Call gdb_exit before
18688 gdb_skip_xml_test.
18689
5068630a
PA
186902015-07-24 Pedro Alves <palves@redhat.com>
18691
18692 * gdb.python/py-events.exp: Accept output between the stop event
18693 and the prompt.
18694 * gdb.python/py-evsignal.exp: Likewise.
18695 * gdb.python/py-evthreads.exp: Likewise.
18696
77598427
PA
186972015-07-24 Pedro Alves <palves@redhat.com>
18698
18699 PR gdb/18717
18700 * gdb.threads/non-ldr-exit.c: New file.
18701 * gdb.threads/non-ldr-exit.exp: New file.
18702
11e6c98f
YQ
187032015-07-24 Yao Qi <yao.qi@linaro.org>
18704
18705 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18706 restarting process.
18707
51aee833
YQ
187082015-07-24 Yao Qi <yao.qi@linaro.org>
18709
18710 * gdb.server/ext-restart.exp: New file.
18711
8cfe207c
YQ
187122015-07-24 Yao Qi <yao.qi@linaro.org>
18713
18714 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18715 argument options.
18716 * gdb.server/ext-wrapper.exp: New file.
18717
cc12ce38
DE
187182015-07-23 Doug Evans <dje@google.com>
18719
18720 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18721 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18722
d0d84780
PMR
187232015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18724
18725 * gdb.ada/var_arr_typedef.exp: New testcase.
18726 * gdb.ada/var_arr_typedef/pack.adb: New file.
18727 * gdb.ada/var_arr_typedef/pack.ads: New file.
18728 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18729
8b558f79
JB
187302015-07-20 Joel Brobecker <brobecker@adacore.com>
18731
18732 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18733
775a3298
JK
187342015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18735
18736 * gdb.arch/i386-biarch-core.exp: Replace istarget
18737 by "complete set gnutarget". Remove expectation for the "core-file"
18738 command.
18739
db1ff28b
JK
187402015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18741
18742 Revert the previous commit:
18743 Tests for validate symbol file using build-id.
18744
0a94970d
JK
187452015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18746
18747 Tests for validate symbol file using build-id.
18748 * gdb.base/solib-mismatch-lib.c: New file.
18749 * gdb.base/solib-mismatch-libmod.c: New file.
18750 * gdb.base/solib-mismatch.c: New file.
18751 * gdb.base/solib-mismatch.exp: New file.
18752
03346981
SL
187532015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18754
18755 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18756 nios2-*-linux*.
18757 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18758 * gdb.base/siginfo.exp: Likewise.
18759 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18760
42422cc7
PL
187612015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18762
18763 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18764 Move it to ...
18765 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18766 ... here.
18767 * gdb.trace/range-stepping.exp: Check that the target supports
18768 range stepping.
18769
cfa68bae
JK
187702015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18771
18772 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18773
8ffdba26
PA
187742015-07-14 Pedro Alves <palves@redhat.com>
18775
18776 * gdb.base/killed-outside.exp: New file.
18777 * gdb.base/killed-outside.c: New file.
18778
218a5a11
JK
187792015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18780
18781 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18782 (n at main): New.
18783 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18784
e03ed3c6
AA
187852015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18786
18787 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18788 infcall tests instead of setting up for KFAIL.
18789
485668e5
MM
187902015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18791
18792 * gdb.btrace/record_goto-step.exp: New.
18793
08464196
JK
187942015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18795
18796 PR compile/18484
18797 * gdb.compile/compile.c (struct struct_type): Add volatile to
18798 selffield's type.
18799 * gdb.compile/compile.exp
18800 (compile code struct_object.selffield = &struct_object): Skip further
18801 struct_object tests if this one xfails.
18802
bcf5c1d9
RC
188032015-07-08 Robert O'Callahan <robert@ocallahan.org>
18804
18805 PR exp/18617
18806 * gdb.trace/ax.exp: Add test.
18807
4931af25
YQ
188082015-07-07 Yao Qi <yao.qi@linaro.org>
18809
18810 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18811 instead of istarget "aarch64*-*-*".
18812 * gdb.arch/aarch64-fp.exp: Likewise.
18813 * gdb.base/float.exp: Likewise.
18814 * gdb.reverse/aarch64.exp: Likewise.
18815 * lib/gdb.exp (is_aarch64_target): New proc.
18816
9fcf688e
YQ
188172015-07-07 Yao Qi <yao.qi@linaro.org>
18818
18819 * lib/gdb.exp (is_aarch32_target): New proc.
18820 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18821 instead of "istarget "arm*-*-*"".
18822 * gdb.arch/arm-disp-step.exp: Likewise.
18823 * gdb.arch/thumb-bx-pc.exp: Likewise.
18824 * gdb.arch/thumb-prologue.exp: Likewise.
18825 * gdb.arch/thumb-singlestep.exp: Likewise.
18826 * gdb.base/disp-step-syscall.exp: Likewise.
18827 * gdb.base/float.exp: Likewise.
18828
fbd8d50d
YQ
188292015-07-07 Yao Qi <yao.qi@linaro.org>
18830
18831 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18832 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18833
71be1fdc
YQ
188342015-07-07 Yao Qi <yao.qi@linaro.org>
18835
18836 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18837 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18838 if it exists.
18839 * gdb.multi/multi-arch.exp: Likewise.
18840
3e221d36
SM
188412015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18842
18843 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18844 print.
18845
d441430b
YQ
188462015-07-07 Yao Qi <yao.qi@linaro.org>
18847
18848 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18849
06f810bd
MG
188502015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18851
18852 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18853 '[' and ']' characters.
18854
5e61e7c0
IB
188552015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18856
18857 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18858
28bf096c
PA
188592015-06-29 Pedro Alves <palves@redhat.com>
18860
18861 PR threads/18127
18862 * gdb.threads/hand-call-new-thread.c: New file.
18863 * gdb.threads/hand-call-new-thread.c: New file.
18864
ee93cd5e
KS
188652015-06-26 Keith Seitz <keiths@redhat.com>
18866 Doug Evans <dje@google.com>
18867
18868 PR 16253
18869 * gdb.cp/var-tag-2.cc: New file.
18870 * gdb.cp/var-tag-3.cc: New file.
18871 * gdb.cp/var-tag-4.cc: New file.
18872 * gdb.cp/var-tag.cc: New file.
18873 * gdb.cp/var-tag.exp: New file.
18874
fc637f04
PP
188752015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18876
18877 * gdb.base/history-duplicates.exp: New test.
18878
2e52ae68
PP
188792015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18880
18881 * gdb.base/completion.exp: Test the completion of the "focus"
18882 command.
18883
6e22494e
JK
188842015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18885
18886 * gdb.arch/amd64-prologue-skip.S: New file.
18887 * gdb.arch/amd64-prologue-skip.exp: New file.
18888
bf7b9cd9
SM
188892015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18890
18891 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18892 is_address_zero_readable check.
18893
201e8dfd
PB
188942015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18895
18896 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18897 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18898
5cd867b4
YQ
188992015-06-24 Yao Qi <yao.qi@linaro.org>
18900
18901 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18902 linux targets.
18903
4d7be007
YQ
189042015-06-24 Yao Qi <yao.qi@linaro.org>
18905
18906 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18907 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18908 * gdb.base/siginfo-thread.exp: Likewise.
18909
07fcd301
YQ
189102015-06-22 Yao Qi <yao.qi@linaro.org>
18911
18912 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18913
52042a00
YQ
189142015-06-22 Yao Qi <yao.qi@linaro.org>
18915
18916 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18917 aarch64*-*-*.
18918 (skip_hw_watchpoint_tests): Likewise.
18919
74bd41ce
PP
189202015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18921
18922 * gdb.base/gdbinit-history.exp: Test the interaction between
18923 setting GDBHISTSIZE and setting the history size via .gdbinit.
18924
bc460514
PP
189252015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18926
18927 PR gdb/16999
18928 * gdb.base/gdbhistsize-history.exp: New test.
18929
b58c513b
PP
189302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18931
18932 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18933 with GDBHISTSIZE.
18934 * gdb.base/readline.exp: Likewise.
18935
92046791
YQ
189362015-06-17 Yao Qi <yao.qi@linaro.org>
18937
18938 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18939 line.
18940
2093d2d3
PP
189412015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18942
18943 * gdb.base/gdbinit-history.exp: Add test case to check that
18944 an unlimited history file does not get truncated on exit.
18945
e6c693af
AA
189462015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18947
18948 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18949 (VECTOR): New macro. Use it...
18950 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18951 ...for these typedefs.
18952 (int8, char1, int1, double1): New typedefs.
18953 (struct just_int2, struct two_int2): New structures.
18954 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18955 (add_structvecs, add_singlevecs): New functions.
18956 (main): Call add_some_intvecs twice.
18957 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18958 the compile and exit upon failure. Try compiling for the "native"
18959 architecture. Test inferior function calls with vector arguments
18960 and vector return value handling with "finish" and "return".
18961
c74f7d1c
JT
189622015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18963
18964 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18965 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18966 PE file.
18967 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18968
98aa42ee
AT
189692015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18970
18971 PR breakpoints/16465
18972 * gdb.mi/mi-dprintf-pending.c: New file.
18973 * gdb.mi/mi-dprintf-pending.exp: New test.
18974 * gdb.mi/mi-dprintf-pendshr.c: New file.
18975
7d73c23c 189762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18977 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18978
18979 * gdb.arch/i386-mpx-map.c: New file.
18980 * gdb.arch/i386-mpx-map.exp: New File.
18981
189822015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18983
18984 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18985 * gdb.arch/i386-mpx.exp: Indentation fixed.
18986
189872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18988
18989 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18990 function and improved indentation.
18991 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18992 gdb_test_multiple. Added additional tests to skip the test.
18993
189942015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18995
18996 * gdb.arch/i386-avx512.c: Change path in include file.
18997 * gdb.arch/i386-avx512.exp: Change include dir path
18998 compilation flag.
18999 * gdb.arch/i386-mpx.c: Change path in include file.
19000 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19001 flag.
19002
d5eba19a
JK
190032015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19004
19005 * gdb.compile/compile-print.exp (compile print *vararray@3)
19006 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19007
7f361056
JK
190082015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19009
19010 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19011 (do not keep jit in memory): ... this.
19012 (expect 5): Change it to ...
19013 (expect no 5): ... this.
19014
3b462ec2
SM
190152015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19016
19017 PR gdb/15564
19018 * gdb.mi/mi-detach.exp: New file.
19019
e0619de6
JK
190202015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19021
19022 PR symtab/18392
19023 * gdb.arch/amd64-tailcall-self.S: New file.
19024 * gdb.arch/amd64-tailcall-self.c: New file.
19025 * gdb.arch/amd64-tailcall-self.exp: New file.
19026
e970cb34
DB
190272015-05-28 Don Breazeal <donb@codesourcery.com>
19028
19029 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19030 tests for remote targets by checking is_target_gdbserver.
19031
b2e2f908
DE
190322015-05-27 Doug Evans <dje@google.com>
19033
19034 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19035 * gdb.dwarf2/opaque-type-lookup.c: New file.
19036 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19037
82c7be31
DE
190382015-05-26 Doug Evans <dje@google.com>
19039
19040 * gdb.cp/iostream.cc: New file.
19041 * gdb.cp/iostream.exp: New file.
19042
b4f54984
DE
190432015-05-26 Doug Evans <dje@google.com>
19044
19045 * gdb.dwarf2/dw2-op-call.exp: Update.
19046 * gdb.dwarf2/dw4-sig-types.exp: Update.
19047 * gdb.dwarf2/implptr.exp: Update.
19048 * gdb.mi/mi-cmd-param-changed.exp: Update.
19049
4ea6efe9
DE
190502015-05-26 Doug Evans <dje@google.com>
19051
19052 * gdb.python/py-lazy-string.c: New file.
19053 * gdb.python/py-lazy-string.exp: New file.
19054 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19055 (main): Update. Add estring3.
19056 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19057 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19058
f6bb7db3
YQ
190592015-05-26 Omair Javaid <omair.javaid@linaro.org>
19060 Yao Qi <yao.qi@linaro.org>
19061
19062 * gdb.reverse/aarch64.c: New.
19063 * gdb.reverse/aarch64.exp: New.
19064
a81bfbd0
OJ
190652015-05-26 Omair Javaid <omair.javaid@linaro.org>
19066
25d49b86
PA
19067 * lib/gdb.exp (supports_process_record): Return true for
19068 aarch64*-linux*.
a81bfbd0
OJ
19069 (supports_reverse): Likewise.
19070
158bf1b4
PP
190712015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19072
19073 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19074 Use with_test_prefix.
19075
a0145030
AB
190762015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19077
19078 * gdb.base/completion.exp: Add test for completion of layout
19079 names.
19080
ebe3b578
AB
190812015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19082
19083 * lib/gdb.exp (skip_tui_tests): New proc.
19084 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19085
84204ed7
PA
190862015-05-19 Pedro Alves <palves@redhat.com>
19087
19088 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19089 Save the whole env array instead of just HOME. Unset HISTSIZE in
19090 the environment while testing. Restore whole environment
19091 afterwards.
19092
37442ce1
DE
190932015-05-16 Doug Evans <xdje42@gmail.com>
19094
19095 * gdb.guile/scm-ports.c: New file.
19096 * gdb.guile/scm-ports.exp: Add memory port tests.
19097
36de76f9
JK
190982015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19099
19100 * gdb.compile/compile-print.c: New file.
19101 * gdb.compile/compile-print.exp: New file.
19102
3a9558c4
JK
191032015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19104
19105 * gdb.compile/compile-ops.exp: Cast param to void.
19106 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19107 (compile code struct_object.selffield = &struct_object): Add xfail.
19108
aa715135
JG
191092015-05-15 Joel Brobecker <brobecker@adacore.com>
19110
19111 * gdb.ada/arr_enum_with_gap: New testcase.
19112
931e5bc3
JG
191132015-05-15 Joel Brobecker <brobecker@adacore.com>
19114
19115 * gdb.ada/byte_packed_arr: New testcase.
19116
9cd4d857
JB
191172015-05-15 Joel Brobecker <brobecker@adacore.com>
19118
19119 * gdb.ada/pckd_neg: New testcase.
19120
ebfd00d2
PP
191212015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19122
19123 PR gdb/17820
19124 * gdb.base/gdbinit-history.exp: New test.
19125 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19126 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19127
4c082a81
SC
191282015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19129
19130 * gdb.python/py-xmethods.cc: Enhance test case.
19131 * gdb.python/py-xmethods.exp: New tests.
19132 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19133 function.
19134 (B_indexoper): Likewise.
19135 (global_dm_list) : Add new xmethod worker functions.
19136
f7797074
SDJ
191372015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19138
19139 * gdb.base/coredump-filter.exp: Correctly unset
19140 "coredump_var_addr" array.
19141
a4674e4e
PA
191422015-05-08 Pedro Alves <palves@redhat.com>
19143
19144 * gdb.server/non-existing-program.exp: Unset spawn_id.
19145
df2eb078
SC
191462015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19147
19148 PR python/18291
19149 * gdb.python/py-xmethods.exp: Add tests.
19150
422349a3
YQ
191512015-05-08 Yao Qi <yao.qi@linaro.org>
19152
19153 PR gdb/18208
19154 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19155 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19156 function set_coredump_filter, and remove remote_exec call.
19157 Remove argument ipid. Callers update.
19158 (top level): Don't get inferior's PID.
19159
63fc80ce
AA
191602015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19161
19162 * gdb.base/watch_thread_num.exp: Skip test on targets without
19163 access watchpoints.
19164
80ad801e
PA
191652015-05-06 Pedro Alves <palves@redhat.com>
19166
19167 PR server/18081
19168 * gdb.server/non-existing-program.exp: New file.
19169
0fa7fe50
JB
191702015-05-05 Joel Brobecker <brobecker@adacore.com>
19171
19172 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19173
3ea89b92
PMR
191742015-05-05 Joel Brobecker <brobecker@adacore.com>
19175
19176 * gdb.ada/out_of_line_in_inlined: New testcase.
19177
87b8eff0
JB
191782015-05-05 Joel Brobecker <brobecker@adacore.com>
19179
19180 * gdb.ada/var_rec_arr: New testcase.
19181
5fccc635
YQ
191822015-04-30 Yao Qi <yao.qi@linaro.org>
19183
19184 * gdb.base/break-idempotent.exp: If
19185 skip_hw_watchpoint_multi_tests returns true, skip the tests
19186 on "rwatch" and "awatch".
19187
42d38f42
YQ
191882015-04-30 Yao Qi <yao.qi@linaro.org>
19189
19190 * gdb.base/relativedebug.exp: Invoke gdb command
19191 "info sharedlibrary", and if libc.so doesn't have debug info,
19192 skip the test.
19193
2ce1cdbf
DE
191942015-04-29 Doug Evans <dje@google.com>
19195
19196 * gdb.python/py-xmethods.exp: Add ptype tests.
19197 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19198 get_result_type method.
19199
f24a38c5
LM
192002015-04-29 Luis Machado <lgustavo@codesourcery.com>
19201
19202 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19203 the target does not support hardware watchpoints.
19204
ecbf2b3c
LM
192052015-04-29 Luis Machado <lgustavo@codesourcery.com>
19206
19207 * gdb.base/break-always.exp: Abort testing if writing to memory
19208 causes an error.
19209
34f5f757
DE
192102015-04-28 Doug Evans <dje@google.com>
19211
19212 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19213 * gdb.python/py-pp-registration.exp: ... here. New file.
19214 * gdb.python/py-pp-registration.c: New file.
19215 * gdb.python/py-pp-registration.py: New file.
19216
69b4374a
DE
192172015-04-28 Doug Evans <dje@google.com>
19218
19219 * gdb.python/py-bad-printers.c: New file.
19220 * gdb.python/py-bad-printers.py: New file.
19221 * gdb.python/py-bad-printers.exp: New file.
19222
59fb7612
SS
192232015-04-28 Sasha Smundak <asmundak@google.com>
19224
19225 * gdb.python/py-type.exp: New test.
19226
2631b16a
AW
192272015-04-28 Andy Wingo <wingo@igalia.com>
19228
19229 * gdb.python/py-parameter.exp:
19230 * gdb.guile/scm-parameter.exp: Escape the path that we are
19231 matching against, as it might contain characters that are special
19232 to regular expressions.
19233
460efde1
JB
192342015-04-27 Joel Brobecker <brobecker@adacore.com>
19235
19236 * gdb.ada/rec_comp: New testcase.
19237
2d369d8e
SDJ
192382015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19239
19240 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19241 before using it.
19242
cf75d6c3
AB
192432015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19244
19245 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19246 new tests for verilog output.
19247
8dbe7ca5
YQ
192482015-04-24 Yao Qi <yao.qi@linaro.org>
19249
19250 * boards/remote-gdbserver-on-localhost.exp: New file.
19251
4ef9fb2f
PA
192522015-04-23 Pedro Alves <palves@redhat.com>
19253
19254 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19255 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19256 "end of file", remove $inferior_spawn_id from the indirect list.
19257
0a803169
PA
192582015-04-23 Pedro Alves <palves@redhat.com>
19259
19260 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19261
749ef8f8
PA
192622015-04-23 Pedro Alves <palves@redhat.com>
19263
19264 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19265 on $any_spawn_id instead of only on $gdb_spawn_id.
19266
8aae4344
PM
192672015-04-21 Pierre Muller <muller@sourceware.org>
19268
19269 PR pascal/17815
19270 * lib/pascal.exp (gpc_compile): Add new option "class".
19271 (fpc_compile): Likewise.
19272 * gdb.pascal/case-insensitive-symbols.pas: New file.
19273 * gdb.pascal/case-insensitive-symbols.exp: New file.
19274
1586c8fb
GB
192752015-04-20 Gary Benson <gbenson@redhat.com>
19276
19277 * gdb.base/attach.exp: Fix three extended remote failures.
19278
1b6e6f5c
GB
192792015-04-17 Gary Benson <gbenson@redhat.com>
19280
19281 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19282 the main executable over the remote protocol.
19283
e797481d
PA
192842015-04-16 Pedro Alves <palves@redhat.com>
19285
19286 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19287 a new gdbserver if gdbserver_reconnect_p is set.
19288
1ca99c42
PA
192892015-04-16 Pedro Alves <palves@redhat.com>
19290
19291 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19292 is set, don't exit gdbserver.
19293
af9fd6f8
AA
192942015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19295
19296 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19297 appropriate .insn, such that an older assembler can be used.
19298 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19299 the z/Architecture instruction set on 31-bit targets as well.
19300
04ff1e61
AA
193012015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19302
19303 * gdb.go/handcall.exp: Remove all logic related to the first
19304 breakpoint and rely on go_runto_main instead.
19305 * gdb.go/strings.exp: Likewise.
19306 * gdb.go/unsafe.exp: Likewise.
19307 * gdb.go/hello.exp: Likewise. Also rename the remaining
19308 breakpoint marker to "breakpoint 1".
19309 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19310 * gdb.go/strings.go: Likewise.
19311 * gdb.go/unsafe.go: Likewise.
19312 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19313 "set breakpoint 2 here" and rename the remaining breakpoint marker
19314 to "breakpoint 1".
19315
40d2f8d6
SM
193162015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19317
19318 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19319 if itertools.imap is not present.
19320 * gdb.python/py-objfile.exp: Add parentheses.
19321 * gdb.python/py-type.exp: Same.
19322 * gdb.python/py-unwind-maint.py: Same.
19323
8cbc97c6
YQ
193242015-04-15 Yao Qi <yao.qi@linaro.org>
19325
19326 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19327 of ":$ptr_size" and set its form explicitly.
19328
45fd756c
YQ
193292015-04-15 Pedro Alves <palves@redhat.com>
19330 Yao Qi <yao.qi@linaro.org>
19331
19332 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19333 timeout by factor of 4.
19334 (test_regular_watch): Likewise.
19335 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19336 * gdb.reverse/sigall-reverse.exp: Likewise.
19337 * gdb.reverse/until-precsave.exp: Likewise.
19338 * lib/gdb.exp (with_timeout_factor): New proc.
19339 (gdb_expect): Move some code to ...
19340 (get_largest_timeout): ... here. New procedure.
19341
9e811bc3
LM
193422015-04-14 Luis Machado <lgustavo@codesourcery.com>
19343
19344 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19345
0ff6fcb2
LM
193462015-04-13 Luis Machado <lgustavo@codesourcery.com>
19347
19348 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19349 to write to the .text section.
19350
7578d5f7
LM
193512015-04-13 Luis Machado <lgustavo@codesourcery.com>
19352
19353 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19354 Handle the case of targets that do not provide PID information.
19355
2efe15c4
YQ
193562015-04-13 Yao Qi <yao.qi@linaro.org>
19357
19358 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19359 and use expect instead of gdb_expect.
19360
8cd8f2f8
SDJ
193612015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19362
19363 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19364 "coredump_var_addr" to avoid naming conflict with other testcases.
19365
9ee41772
PA
193662015-04-10 Pedro Alves <palves@redhat.com>
19367
19368 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19369 gdb_test_sequence and gdb_assert.
19370
07473109
PA
193712015-04-10 Pedro Alves <palves@redhat.com>
19372
19373 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19374 test messages that don't include the breakpoint address.
19375
de3db44c
YQ
193762015-04-10 Yao Qi <yao.qi@linaro.org>
19377
19378 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19379 false for some offset and width combinations which aren't
19380 supported by linux kernel.
19381
c79d856c
PA
193822015-04-10 Pedro Alves <palves@redhat.com>
19383
19384 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19385 procedure, factored out from ...
19386 (top level): ... here. Add "set displaced-stepping" testing axis.
19387 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19388 parameter "displaced". Use it.
19389 (top level): Use foreach and add "set displaced-stepping" testing
19390 axis.
19391
ebc90b50
PA
193922015-04-10 Pedro Alves <palves@redhat.com>
19393
19394 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19395 Remove comment.
19396 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19397 both the address of the instruction that triggers the watchpoint
19398 and the address of the instruction immediately after, and use
19399 those addresses for the test. Fix comment.
19400
8f572e5c
PA
194012015-04-10 Pedro Alves <palves@redhat.com>
19402
19403 * gdb.base/sigstep.exp (breakpoint_to_handler)
19404 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19405 Test "backtrace" in handler.
19406 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19407 (top level): Add new "displaced" test axis to
19408 breakpoint_to_handler, breakpoint_to_handler_entry and
19409 breakpoint_over_handler.
19410
8d707a12
PA
194112015-04-10 Pedro Alves <palves@redhat.com>
19412
19413 PR gdb/18216
19414 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19415
ef713951
YQ
194162015-04-10 Yao Qi <yao.qi@linaro.org>
19417
19418 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19419 (test_add_rn_pc): New function.
19420 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19421 (top level): Invoke test_add_rn_pc.
19422
906d60cf
PA
194232015-04-10 Pedro Alves <palves@redhat.com>
19424
19425 PR gdb/13858
19426 * gdb.base/step-over-no-symbols.exp: New file.
19427
f2983cc3
AW
194282015-04-09 Andy Wingo <wingo@igalia.com>
19429
19430 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19431 after the Python tests.
19432
6d62641c
SDJ
194332015-04-08 Keith Seitz <keiths@redhat.com>
19434
19435 PR python/16699
19436 * gdb.python/py-completion.exp: New tests for completion.
19437 * gdb.python/py-completion.py (CompleteLimit1): New class.
19438 (CompleteLimit2): Likewise.
19439 (CompleteLimit3): Likewise.
19440 (CompleteLimit4): Likewise.
19441 (CompleteLimit5): Likewise.
19442 (CompleteLimit6): Likewise.
19443 (CompleteLimit7): Likewise.
19444
f3770638
PA
194452015-04-08 Pedro Alves <palves@redhat.com>
19446
19447 PR gdb/18214
19448 PR gdb/18216
19449 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19450 function.
19451 (main): Install it as SIGUSR1 handler.
19452 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19453 parameter. Always use "setup" as prefix. Toggle "set
19454 displaced-stepping" off/on depending on global. Don't switch to
19455 thread 1 here.
19456 (top level): Add displaced stepping "off/on" test axis. Update
19457 "setup" calls. Wrap each subtest with with_test_prefix. Test
19458 continuing with a queued signal in each thread.
19459
4496bed7
PA
194602015-04-08 Pedro Alves <palves@redhat.com>
19461
19462 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19463 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19464 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19465 Return early if running to main fails.
19466 * gdb.trace/while-stepping.exp: Likewise.
19467
b97fde92
PA
194682015-04-07 Pedro Alves <palves@redhat.com>
19469
19470 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19471 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19472 interact with inferior program.
19473
f71c18e7
PA
194742015-04-07 Pedro Alves <palves@redhat.com>
19475
19476 * lib/gdb.exp (inferior_spawn_id): New global.
19477 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19478 spawn id after processing the user code.
19479 (default_gdb_start): Set inferior_spawn_id.
19480 (send_inferior): New procedure.
19481 * lib/gdbserver-support.exp (gdbserver_start): Set
19482 inferior_spawn_id.
19483 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19484
6423214f
PA
194852015-04-07 Pedro Alves <palves@redhat.com>
19486
19487 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19488 * lib/gdbserver-support.exp (gdbserver_start): Make
19489 $server_spawn_id global.
19490 (gdbserver_start): Don't wait for gdbserver's spawn id with
19491 expect_background.
19492 (close_gdbserver): New procedure.
19493 (gdb_exit): Rename the default version and reimplement.
19494
71c0ee8c
PA
194952015-04-07 Pedro Alves <palves@redhat.com>
19496
72f4393d 19497 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19498 append the substituted item, not the original item.
19499
203bc29b
PA
195002015-04-07 Pedro Alves <palves@redhat.com>
19501
19502 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19503 gdb_expect.
19504
508a3ddf
PA
195052015-04-07 Pedro Alves <palves@redhat.com>
19506
19507 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19508 output appearing once only.
19509
9f6dbe2b
PA
195102015-04-07 Pedro Alves <palves@redhat.com>
19511
19512 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19513 that doesn't expect anything. Return early if running to main
19514 fails.
19515
337532fa
YQ
195162015-04-07 Yao Qi <yao.qi@linaro.org>
19517
19518 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19519 (child_function): Call alarm.
19520 (main): Move call to alarm into the loop.
19521 * gdb.threads/non-stop-fair-events.exp: Build program with
19522 -DTIMEOUT=$timeout.
19523
01b622d4
DE
195242015-04-06 Doug Evans <xdje42@gmail.com>
19525
19526 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19527 Fix dest parameter to board_info.
19528 (fpc_compile): Ditto.
19529 (gdb_compile_pascal): Rename dest arg to destfile.
19530
961f4160
PMR
195312015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19532
19533 * gdb.ada/funcall_ref.exp: New file.
19534 * gdb.ada/funcall_ref/foo.adb: New file.
19535
cafda597
YQ
195362015-04-02 Yao Qi <yao.qi@linaro.org>
19537
19538 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19539 is remote.
19540
fed040c6
GB
195412015-04-02 Gary Benson <gbenson@redhat.com>
19542
19543 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19544
d11916aa
SS
195452015-04-01 Sasha Smundak <asmundak@google.com>
19546
19547 * gdb.python/py-unwind-maint.c: New file.
19548 * gdb.python/py-unwind-maint.exp: New test.
19549 * gdb.python/py-unwind-maint.py: New file.
19550 * gdb.python/py-unwind.c: New file.
19551 * gdb.python/py-unwind.exp: New test.
19552 * gdb.python/py-unwind.py: New test.
19553
a1471180
PA
195542015-04-01 Pedro Alves <palves@redhat.com>
19555
19556 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19557 to fail instead of non-existent $test.
19558
0bbeccb1
PA
195592015-04-01 Pedro Alves <palves@redhat.com>
19560
19561 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19562 GDBFLAGS if not empty.
19563
3c724c8c
PMR
195642015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19565
19566 * gdb.ada/complete.exp: Remove "multi_line".
19567 * gdb.ada/info_exc.exp: Remove "multi_line".
19568 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19569 * gdb.ada/ptype_field.exp: Remove "multi_line".
19570 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19571 * gdb.ada/tagged.exp: Remove "multi_line".
19572 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19573 [multi_line ...]
19574 * gdb.btrace/delta.exp: Likewise.
19575 * gdb.btrace/exception.exp: Likewise.
19576 * gdb.btrace/function_call_history.exp: Likewise.
19577 * gdb.btrace/instruction_history.exp: Likewise.
19578 * gdb.btrace/nohist.exp: Likewise.
19579 * gdb.btrace/record_goto.exp: Likewise.
19580 * gdb.btrace/segv.exp: Likewise.
19581 * gdb.btrace/stepi.exp: Likewise.
19582 * gdb.btrace/tailcall.exp: Likewise.
19583 * gdb.btrace/unknown_functions.exp: Likewise.
19584 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19585 * lib/gdb.exp: Add the "multi_line" helper.
19586
4eec2deb
PA
195872015-04-01 Pedro Alves <palves@redhat.com>
19588
19589 * gdb.threads/tid-reuse.c: New file.
19590 * gdb.threads/tid-reuse.exp: New file.
19591
df8411da
SDJ
195922015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19593
19594 PR corefiles/16092
19595 * gdb.base/coredump-filter.c: New file.
19596 * gdb.base/coredump-filter.exp: Likewise.
19597
6ef37366
PM
195982015-03-27 Petr Machata <pmachata@redhat.com>
19599
19600 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19601 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19602 (Dwarf::assemble): Initialize them.
19603 (Dwarf::lines): New function.
19604
7ec911b0
JT
196052015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19606
19607 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19608 SYMBOL_PREFIX for x86_64-*-cygwin.
19609
ff908ebf
AW
196102015-03-26 Andy Wingo <wingo@igalia.com>
19611
19612 PR symtab/18148
19613 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19614 const_value but not a location.
19615 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19616 location defined in non-main CUs are visible.
19617
6d5f0679
YQ
196182015-03-26 Yao Qi <yao.qi@linaro.org>
19619
19620 PR testsuite/18139
19621 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19622 Add a line number entry for the same line.
19623 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19624 Add a line number entry for the same line.
19625
2898689b
YQ
196262015-03-26 Yao Qi <yao.qi@linaro.org>
19627
19628 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19629 .int 0.
19630 (func): Likewise. Add .Lfunc_1 label.
19631 Use .Lfunc_1 label.
19632 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19633 .int 0.
19634 (func): Likewise.
19635 Use .Lfunc_1 label.
19636
85180498
YQ
196372015-03-26 Yao Qi <yao.qi@linaro.org>
19638
19639 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19640 Call gdb_compile instead to compile each .s files without debug
19641 information.
19642
8aa08a8d
YQ
196432015-03-26 Yao Qi <yao.qi@linaro.org>
19644
19645 * gdb.base/savedregs.exp (process_saved_regs): Make
19646 "Saved registers:" optional in the pattern.
19647
66849923
MM
196482015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19649
19650 * gdb.btrace/next.exp: Merged into step.exp.
19651 * gdb.btrace/finish.exp: Merged into step.exp.
19652 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19653 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19654 "record goto" and checking the exact replay position.
19655 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19656 check for "Recording format" in "info record" output.
19657 * gdb.btrace/record_goto.exp: Choose test file based on target.
19658 * gdb.btrace/x86-record_goto.S: Renamed into ...
19659 * gdb.btrace/x86_64-record_goto.S: ... this.
19660 * gdb.btrace/i686-record_goto.S: New.
19661 * gdb.btrace/x86-tailcall.S: Renamed into ...
19662 * gdb.btrace/x86_64-tailcall.S: ... this.
19663 * gdb.btrace/i686-tailcall.S: New.
19664 * gdb.btrace/x86-tailcall.c: Renamed into ...
19665 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19666 separate statements. Update test.
19667 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19668 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19669 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19670 * gdb.btrace/tailcall.exp: Choose test file based on target.
19671 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19672
11cc1b74
MM
196732015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19674
19675 * gdb.btrace/exception.exp: Increase BTS buffer size.
19676
a25d8bf9
PA
196772015-03-24 Pedro Alves <palves@redhat.com>
19678
19679 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19680
856e7dd6
PA
196812015-03-24 Pedro Alves <palves@redhat.com>
19682
19683 * gdb.threads/schedlock.exp (test_step): No longer expect that
19684 "set scheduler-locking step" with "next" over a function call runs
19685 threads unlocked.
19686
ad235a41
AT
196872015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19688
19689 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19690
15630549
AT
196912015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19692
19693 PR breakpoints/16466
19694 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19695 * gdb.mi/mi-pending.c (thread_func): New function.
19696 (int main): Add threading support required.
19697 * gdb.mi/mi-pending.exp: Add tests for this issue.
19698 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19699 (pendfunc2): Remove stdio dependency.
19700 * gdb.mi/mi-pendshr2.c: New file.
19701
693dca06
KS
197022015-03-23 Keith Seitz <keiths@redhat.com>
19703
19704 * gdb.linespec/keywords.c: New file.
19705 * gdb.linespec/keywords.exp: New file.
19706
7e993ebf
KS
197072015-03-23 Keith Seitz <keiths@redhat.com>
19708
19709 PR gdb/18021
19710 * gdb.dwarf2/staticvirtual.exp: New test.
19711
bc23328c
JK
197122015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19713
19714 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19715 * README: Remove HP-UX and gdb.hp.
19716 (configuration):
19717 * configure: Regenerate.
19718 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19719 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19720 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19721 gdb.hp/gdb.defects/Makefile.
19722 * gdb.hp/Makefile.in: File deleted.
19723 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19724 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19725 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19726 * gdb.hp/gdb.aCC/run.c: File deleted.
19727 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19728 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19729 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19730 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19731 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19732 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19733 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19734 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19735 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19736 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19737 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19738 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19739 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19740 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19741 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19742 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19743 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19744 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19745 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19746 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19747 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19748 * gdb.hp/gdb.compat/average.c: File deleted.
19749 * gdb.hp/gdb.compat/sum.c: File deleted.
19750 * gdb.hp/gdb.compat/xdb.c: File deleted.
19751 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19752 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19753 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19754 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19755 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19756 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19757 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19758 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19759 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19760 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19761 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19762 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19763 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19764 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19765 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19766 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19767 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19768 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19769 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19770 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19771 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19772 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19773 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19774 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19775 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19776 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19777 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19778 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19779 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19780 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19781 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19782 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19783 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19784 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19785 * gdb.hp/tools/odump: File deleted.
19786
8bf3b159
PA
197872015-03-19 Pedro Alves <palves@redhat.com>
19788
19789 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19790 (saw_thread_3): New globals.
19791 (top level): Increment them when an event for the corresponding
19792 thread is seen.
19793 (no thread starvation): New test.
19794
eb54c8bf
PA
197952015-03-19 Pedro Alves <palves@redhat.com>
19796
19797 * gdb.threads/continue-pending-status.c: New file.
19798 * gdb.threads/continue-pending-status.exp: New file.
19799
32d2e5d6
PA
198002015-03-18 Pedro Alves <palves@redhat.com>
19801
19802 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19803 Use gdb_is_target_remote instead of is_remote. Use
19804 gdb_test_multiple instead of gdb_expect. Exit early if
19805 gdb_test_multiple hits its internal matches. Tighten stepi tests
19806 expected output. Fail on exit with any signal, instead of just
19807 SIGILL.
19808
f68f11b7
YQ
198092015-03-18 Yao Qi <yao.qi@linaro.org>
19810
19811 PR tdep/18107
19812 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19813 variable.
19814 * gdb.base/catch-syscall.exp: Don't skip it on
19815 aarch64*-*-linux* target. Remove elements in all_syscalls.
19816 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19817 target.
19818 (setup_all_syscalls): New proc.
19819
ca5fd19b
YQ
198202015-03-16 Yao Qi <yao.qi@linaro.org>
19821
19822 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19823 (top level): Skip tests if valid_addr_p returns false for
19824 $cmd1 or $cmd2.
19825
85642ba0
AW
198262015-03-11 Andy Wingo <wingo@igalia.com>
19827
19828 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19829
e03f9645
YQ
198302015-03-11 Yao Qi <yao.qi@linaro.org>
19831
19832 * gdb.base/catch-syscall.exp: Fix typo in comments.
19833
5d0962b2
YQ
198342015-03-11 Yao Qi <yao.qi@linaro.org>
19835
19836 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19837
b2df3cef
PA
198382015-03-09 Pedro Alves <palves@redhat.com>
19839
19840 * dg-extract-results.py: Delete.
19841
ef878e53
PA
198422015-03-09 Pedro Alves <palves@redhat.com>
19843
19844 Merge dg-extract-results.sh from GCC upstream (r218843).
19845
19846 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19847 * dg-extract-results.sh: Use --text with grep to avoid issues with
19848 binary files. Fall back to cat -v, if that doesn't work.
19849
9494d219
PA
198502015-03-05 Pedro Alves <palves@redhat.com>
19851
19852 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19853
a8d9763a
SM
198542015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19855
19856 * lib/mi-support.exp (mi_expect_interrupt): Accept
19857 alternative event for when in all-stop mode.
19858
be9957b8
PA
198592015-03-04 Pedro Alves <palves@redhat.com>
19860
19861 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19862
d57be0f4 198632015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19864
19865 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19866
c214c7cf
AA
198672015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19868
19869 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19870 regexps for GDB's current line display, accept a hex address
19871 preceding the line number.
19872
6d74a497
AA
198732015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19874
19875 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19876 the 'arch1' variable for "s390*-linux*" targets.
19877
511aee7c
PA
198782015-03-04 Pedro Alves <palves@redhat.com>
19879
19880 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19881 (main): Pass missing retval argument to pthread_join call.
19882
95e50b27
PA
198832015-03-02 Pedro Alves <palves@redhat.com>
19884
19885 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19886 (top level): Call do_test with non-stop as well.
19887
28054d69
PA
198882015-03-02 Pedro Alves <palves@redhat.com>
19889
19890 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19891 -1.
19892
4fa5d7b4
AA
198932015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19894
19895 * gdb.arch/s390-vregs.exp: New test.
19896 * gdb.arch/s390-vregs.S: New file.
19897
97c18565
PA
198982015-02-27 Pedro Alves <palves@redhat.com>
19899
19900 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19901 call to catch_command_errors.
19902 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19903 catch_command_errors.
19904
a37bfa30
PA
199052015-02-27 Pedro Alves <palves@redhat.com>
19906
19907 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19908 "true" for boolean result.
19909 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19910 prototype of main.
19911
6f98576f
PA
199122015-02-27 Pedro Alves <palves@redhat.com>
19913
19914 * lib/unbuffer_output.c: New file.
19915 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19916 (main): Call gdb_unbuffer_output.
19917
eba5ab56
YQ
199182015-02-27 Yao Qi <yao.qi@linaro.org>
19919
19920 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19921 target.
19922
0def5aaa
DE
199232015-02-26 Doug Evans <dje@google.com>
19924
19925 * gdb.cp/class2.cc (Dbase, D): New classes.
19926 (main): New local delta.
19927 * gdb.cp/class2.exp: Test printing delta.
19928 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19929 (dynbar): New global.
19930 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19931
081a1c2c
JK
199322015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19933
19934 * gdb.compile/compile-ifunc.c: New file.
19935 * gdb.compile/compile-ifunc.exp: New file.
19936
2f41223f
AT
199372015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19938
19939 * gdb.base/structs.exp: Check for correct struct on finish.
19940
03eddd80
YQ
199412015-02-26 Yao Qi <yao.qi@linaro.org>
19942
19943 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19944 is zero.
19945
80c57053
JK
199462015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19947
19948 * gdb.arch/cordic.ko.bz2: New file.
19949 * gdb.arch/cordic.ko.debug.bz2: New file.
19950 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19951
21613c12
YQ
199522015-02-25 Yao Qi <yao.qi@linaro.org>
19953
19954 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19955 aarch64*-*-* target.
19956
d8b901ed
PA
199572015-02-23 Pedro Alves <palves@redhat.com>
19958
19959 * lib/gdb.exp (delete_breakpoints): Rewrite using
19960 gdb_test_multiple.
19961
e5b85ead
PA
199622015-02-23 Pedro Alves <palves@redhat.com>
19963
19964 * gdb.base/info-os.c: Include stdlib.h.
19965
85c3a371
DE
199662015-02-22 Doug Evans <xdje42@gmail.com>
19967
19968 PR symtab/17855
19969 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19970 is read after symbols have been re-read.
19971 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19972 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19973
96553a0c
DE
199742015-02-21 Doug Evans <dje@google.com>
19975
19976 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19977
97a0c697
JK
199782015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19979
19980 PR corefiles/17808
19981 * gdb.arch/i386-biarch-core.core.bz2: New file.
19982 * gdb.arch/i386-biarch-core.exp: New file.
19983
a47cd6e9
PA
199842015-02-21 Pedro Alves <palves@redhat.com>
19985
19986 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19987 runto_main fails.
19988
c5facdc4
PA
199892015-02-20 Pedro Alves <palves@redhat.com>
19990
19991 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19992 info probes.
19993
2db9a427
PA
199942015-02-20 Pedro Alves <palves@redhat.com>
19995
19996 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19997
60fb7e9e
PA
199982015-02-20 Pedro Alves <palves@redhat.com>
19999
20000 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20001 clean_restart before gdb_target_supports_trace.
20002
5c5019c2
PA
200032015-02-20 Pedro Alves <palves@redhat.com>
20004
20005 PR threads/18006
20006 * gdb.threads/clone-thread_db.c: New file.
20007 * gdb.threads/clone-thread_db.exp: New file.
20008
c9587f88
AT
200092015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20010
20011 PR breakpoints/16812
20012 * gdb.base/catch-gdb-caused-signals.c: New file.
20013 * gdb.base/catch-gdb-caused-signals.exp: New file.
20014
f6a88844
JM
200152015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20016
20017 * configure: Regenerated.
20018 * configure.ac: Use GDB_AC_TRANSFORM.
20019 * aclocal.m4: sinclude ../transform.m4.
20020
497c491b
JM
200212015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20022
20023 * lib/dtrace.exp: New file.
20024 * gdb.base/dtrace-probe.exp: Likewise.
20025 * gdb.base/dtrace-probe.d: Likewise.
20026 * gdb.base/dtrace-probe.c: Likewise.
20027 * lib/pdtrace.in: Likewise.
20028 * configure.ac: Output variables with the transformed names of
20029 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20030 * configure: Regenerated.
20031
03e98035
JM
200322015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20033
20034 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20035 expected message when trying to access $_probe_* convenience
20036 variables while not on a probe.
20037
63cc30e9
JK
200382015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20039
20040 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20041
0703599a
PA
200422015-02-11 Pedro Alves <pedro@codesourcery.com>
20043
20044 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20045 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20046
7e60a48e
DE
200472015-02-10 Doug Evans <xdje42@gmail.com>
20048
20049 * lib/gdb.exp (gdb_load): Always return a result.
20050
01b088bc
PA
200512015-02-10 Pedro Alves <palves@redhat.com>
20052
20053 * gdb.threads/signal-sigtrap.c: New file.
20054 * gdb.threads/signal-sigtrap.exp: New file.
20055
b05ec7a5
AT
200562015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20057
20058 * gdb.trace/no-attach-trace.c: New file.
20059 * gdb.trace/no-attach-trace.exp: New file.
20060
a2c2acaf
MW
200612015-02-09 Mark Wielaard <mjw@redhat.com>
20062
20063 * gdb.dwarf2/atomic.c: New file.
20064 * gdb.dwarf2/atomic-type.exp: Likewise.
20065
31fd9caa
MM
200662015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20067
20068 * gdb.btrace/buffer-size.exp: Update "info record" output.
20069 * gdb.btrace/delta.exp: Update "info record" output.
20070 * gdb.btrace/enable.exp: Update "info record" output.
20071 * gdb.btrace/finish.exp: Update "info record" output.
20072 * gdb.btrace/instruction_history.exp: Update "info record" output.
20073 * gdb.btrace/next.exp: Update "info record" output.
20074 * gdb.btrace/nexti.exp: Update "info record" output.
20075 * gdb.btrace/step.exp: Update "info record" output.
20076 * gdb.btrace/stepi.exp: Update "info record" output.
20077 * gdb.btrace/nohist.exp: Update "info record" output.
20078
d33501a5
MM
200792015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20080
20081 * gdb.btrace/buffer-size: New.
20082
f4abbc16
MM
200832015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20084
20085 * gdb.btrace/delta.exp: Update "info record" output.
20086 * gdb.btrace/enable.exp: Update "info record" output.
20087 * gdb.btrace/finish.exp: Update "info record" output.
20088 * gdb.btrace/instruction_history.exp: Update "info record" output.
20089 * gdb.btrace/next.exp: Update "info record" output.
20090 * gdb.btrace/nexti.exp: Update "info record" output.
20091 * gdb.btrace/step.exp: Update "info record" output.
20092 * gdb.btrace/stepi.exp: Update "info record" output.
20093 * gdb.btrace/nohist.exp: Update "info record" output.
20094
b9d61307
SM
200952015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20096
20097 PR gdb/15678
20098 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20099
e584fdbc
PA
201002015-02-06 Pedro Alves <palves@redhat.com>
20101
20102 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20103 macro.
20104 (seconds_left, again): New globals.
20105 (main): Wait seconds_left in a 1-second sleep loop instead of
20106 sleeping 180 seconds. If 'again' is set, reset the seconds
20107 counter.
20108 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20109 'again' in the inferior before detaching. Print the seconds left.
20110 (options): New global.
20111 (top level): Build program with -DTIMEOUT=$timeout.
20112
77f41761
PA
201132015-02-06 Pedro Alves <palves@redhat.com>
20114
20115 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20116 determine how many seconds to pass to 'alarm'.
20117 * gdb.base/gdb-sigterm.exp (top level): Build program with
20118 -DTIMEOUT=$timeout.
20119 (do_test): Return success/failure indication. Add more verbose
20120 logging. Don't fail if 200 single steps are seen. Instead, fail
20121 when the test times out.
20122 (passes): New global.
20123 (top level): Break the testing loop if testing fails on any
20124 iteration. Use gdb_assert.
20125
b9394193
DB
201262015-02-04 Don Breazeal <donb@codesourcery.com>
20127
20128 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20129 and initialize them.
20130 (ipc_cleanup): New function.
20131 (main): Don't declare shmid, semid, and msqid. Add a call to
20132 atexit so that we call ipc_cleanup on exit.
20133
42d9e528
PA
201342015-02-04 Pedro Alves <palves@redhat.com>
20135
20136 * boards/native-extended-gdbserver.exp: Remove any target variant
20137 specifications from the board name before clearing the isremote
20138 flag from board_info.
20139
ae6ae975
DE
201402015-01-31 Doug Evans <xdje42@gmail.com>
20141
20142 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20143
cfb069a8
GB
201442015-01-31 Gary Benson <gbenson@redhat.com>
20145
20146 * gdb.base/completion.exp: Disable completion limiting for
20147 existing tests. Add new tests to check completion limiting.
20148 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20149
5dd31d79
DE
201502015-01-31 Doug Evans <xdje42@gmail.com>
20151
20152 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20153
9f050062
DE
201542015-01-31 Doug Evans <xdje42@gmail.com>
20155
20156 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20157 entries. Duplicate file section script entries.
20158 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20159 inlined entries. Add test for safe-path rejection.
20160 * gdb.python/py-section-script.c: Add duplicate inlined section script
20161 entries. Duplicate file section script entries.
20162 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20163 inlined entries. Add test for safe-path rejection.
20164
df25ebbd
JB
201652015-01-29 Joel Brobecker <brobecker@adacore.com>
20166
20167 * gdb.ada/disc_arr_bound: New testcase.
20168
4a0ca9ec
JB
201692015-01-29 Joel Brobecker <brobecker@adacore.com>
20170
20171 * gdb.ada/mi_var_array: New testcase.
20172
3a8b707a
DE
201732015-01-27 Doug Evans <dje@google.com>
20174
20175 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20176 Add test for objfile.filename, objfile.username after objfile
20177 has been unloaded.
20178
f8313f6e
JB
201792015-01-26 Joel Brobecker <brobecker@adacore.com>
20180
20181 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20182 the second test to print the name attribute of value
20183 returned by the call to gdb.lookup_type, and adjust
20184 the expected output accordingly.
20185
37bc665e
MW
201862015-01-25 Mark Wielaard <mjw@redhat.com>
20187
20188 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20189 * gdb.base/disp-step-fork.c: Include unistd.h.
20190 * gdb.base/siginfo-obj.c: Include stdio.h.
20191 * gdb.base/siginfo-thread.c: Likewise.
20192 * gdb.mi/non-stop.c: Include unistd.h.
20193 * gdb.mi/nsthrexec.c: Include stdio.h.
20194 * gdb.mi/pthreads.c: Include unistd.h.
20195 * gdb.modula2/unbounded1.c (main): Declare returns int.
20196 * gdb.reverse/consecutive-reverse.c: Likewise.
20197 * gdb.threads/create-fail.c: Include unistd.h.
20198 * gdb.threads/killed.c: Likewise.
20199 * gdb.threads/linux-dp.c: Likewise.
20200 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20201 * gdb.threads/non-ldr-exc-2.c: Likewise.
20202 * gdb.threads/non-ldr-exc-3.c: Likewise.
20203 * gdb.threads/non-ldr-exc-4.c: Likewise.
20204 * gdb.threads/pthreads.c: Include unistd.h.
20205 (main): Declare returns int.
20206 * gdb.threads/tls-main.c (foo): New declaration.
20207 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20208
f7e5394d
SM
202092015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20210
20211 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20212 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20213
743649fd
MW
202142015-01-15 Mark Wielaard <mjw@redhat.com>
20215
20216 * gdb.base/noreturn-return.c: New file.
20217 * gdb.base/noreturn-return.exp: New file.
20218 * gdb.base/noreturn-finish.c: New file.
20219 * gdb.base/noreturn-finish.exp: New file.
20220
198297aa
PA
202212015-01-23 Pedro Alves <palves@redhat.com>
20222
20223 * gdb.threads/continue-pending-after-query.c: New file.
20224 * gdb.threads/continue-pending-after-query.exp: New file.
20225
717cf30c
AG
202262015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20227 Simon Marchi <simon.marchi@ericsson.com>
20228
20229 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20230 * gdb.base/valgrind-db-attach.exp: Same.
20231 * gdb.base/valgrind-infcall.exp: Same.
20232 * lib/mi-support.exp (default_mi_gdb_start): Same.
20233 * lib/prompt.exp (default_prompt_gdb_start): Same.
20234 * lib/gdb.exp (default_gdb_spawn): Same.
20235 (gdb_interact): New.
20236
20237
4b62a76e
JK
202382015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20239
20240 * gdb.compile/compile.exp (pointer to jit function): New test.
20241
b4cdae6f
WW
202422015-01-17 Wei-cheng Wang <cole945@gmail.com>
20243
20244 * lib/gdb.exp (supports_process_record): Return true for
20245 powerpc*-*-linux*.
20246 (supports_reverse): Likewise.
20247
d221e7ef
DB
202482015-01-15 Don Breazeal <donb@codesourcery.com>
20249
20250 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20251 instead of checking whether the target board is remote and
20252 use spawn_wait_for_attach instead of exec/sleep.
20253 * gdb.base/attach-twice.exp: Likewise.
20254
bafffb51
JB
202552015-01-15 Joel Brobecker <brobecker@adacore.com>
20256
20257 * gdb.ada/var_arr_attrs: New testcase.
20258
5589af0e
PA
202592015-01-14 Pedro Alves <palves@redhat.com>
20260 Joel Brobecker <brobecker@adacore.com>
20261
20262 PR gdb/17525
20263 * gdb.base/bp-cmds-execution-x-script.c: New file.
20264 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20265 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20266
6c400b59
PA
202672015-01-14 Pedro Alves <palves@redhat.com>
20268
20269 PR cli/17828
20270 * gdb.base/batch-preserve-term-settings.c: New file.
20271 * gdb.base/batch-preserve-term-settings.exp: New file.
20272
e02c96a7
DE
202732015-01-13 Doug Evans <dje@google.com>
20274
20275 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20276 binary.
20277
576fd14c
JB
202782015-01-13 Joel Brobecker <brobecker@adacore.com>
20279
20280 * Makefile.in (clean mostlyclean): Do not delete *.py.
20281
04dccad0
JB
202822015-01-13 Joel Brobecker <brobecker@adacore.com>
20283
20284 * gdb.python/py-lookup-type.exp: New file.
20285
3d230f71
PA
202862015-01-12 Pedro Alves <palves@redhat.com>
20287
20288 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20289 restore GDBFLAGS before returning.
20290
7e67715d
JK
202912015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20292
20293 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20294 is_amd64_regs_target and is_x86_like_target.
20295
f2e0d4b4
DE
202962015-01-11 Doug Evans <xdje42@gmail.com>
20297
20298 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20299 is given without an explicit form.
20300 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20301 attributes.
20302 * gdb.dwarf/corrupt.exp: Ditto.
20303 * gdb.dwarf2/enum-type.exp: Ditto.
20304 * gdb.trace/entry-values.exp: Ditto.
20305 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20306
439250fb
DE
203072015-01-11 Doug Evans <xdje42@gmail.com>
20308
20309 PR gdb/15830
20310 * gdb.base/maint.exp: Remove references to "maint demangle".
20311 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20312 Add tests for explicitly specifying language to demangle.
20313 * gdb.dlang/demangle.exp: Ditto.
20314
ede9f622
PA
203152015-01-09 Pedro Alves <palves@redhat.com>
20316
20317 * gdb.threads/non-stop-fair-events.c: New file.
20318 * gdb.threads/non-stop-fair-events.exp: New file.
20319
a7b796db
PA
203202015-01-09 Pedro Alves <palves@redhat.com>
20321
20322 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20323 the global scope. Set a breakpoint after all threads are started
20324 rather than stepping over two source lines. Expect the prompt.
20325 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20326 global.
20327 (NUM): Now 15.
20328 (main): Use threads_started_barrier to wait for all threads to
20329 start. Main thread no longer calls thread_function. Exit after
20330 180 seconds.
20331 (loop): New function.
20332 (thread_function): Wait on threads_started_barrier barrier. Call
20333 'loop' at each iteration.
20334 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20335 threads have started, instead of hardcoding number of "next"
20336 steps. Use an access watchpoint instead of a write watchpoint.
20337
9665ffdd
PA
203382015-01-09 Pedro Alves <palves@redhat.com>
20339
20340 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20341 (thread_func): Wait on barrier.
20342 (main): Wait for all threads to start before stopping GDB.
20343 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20344 global.
20345 (thread1_func, thread2_func): Wait on barrier.
20346 (main): Wait for all threads to start before stopping GDB.
20347 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20348 New global.
20349 (thread1_func, thread2_func): Wait on barrier.
20350 (main): Wait for all threads to start before stopping GDB.
20351
c945a99f
PA
203522015-01-09 Pedro Alves <palves@redhat.com>
20353
20354 * gdb.threads/attach-many-short-lived-threads.c: New file.
20355 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20356
c1a747c1
PA
203572014-01-09 Pedro Alves <palves@redhat.com>
20358
20359 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20360 instead of to thread 2.
20361 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20362 Add barrier around each pthread_create call instead of around all
20363 calls.
20364 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20365 Set a break on thread_function and have the child threads hit it
20366 one at at a time.
20367
60b3033e
PA
203682015-01-09 Pedro Alves <palves@redhat.com>
20369
20370 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20371 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20372 false.
20373 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20374 checking whether the target board is remote.
20375 * gdb.multi/multi-attach.exp: Likewise.
20376 * gdb.python/py-sync-interp.exp: Likewise.
20377 * gdb.server/ext-attach.exp: Likewise.
20378 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20379 tests that need to attach, instead of checking whether the target
20380 board is remote at the top of the file.
20381
acc018ac
YQ
203822015-01-08 Yao Qi <yao@codesourcery.com>
20383
20384 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20385
50a18af8
JK
203862015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20387
20388 Fix testcase compilation.
20389 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20390
8503d6e1
JB
203912015-01-06 Joel Brobecker <brobecker@adacore.com>
20392
20393 * gdb.python/py-type.exp: Add a couple test about empty
20394 array creation, and negative-length array creation.
20395
cc73dbcc
DE
203962015-01-02 Doug Evans <xdje42@gmail.com>
20397
20398 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20399
0300bbc7
DE
204002015-01-02 Doug Evans <dje@google.com>
20401
20402 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20403
9d85a0ec
YQ
204042014-12-29 Yao Qi <yao@codesourcery.com>
20405
20406 * gdb.trace/entry-values.exp: Update comments. Rename variable
20407 bar_call_foo to returned_from_foo.
20408
87186c6a
MMN
204092014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20410
20411 PR gdb/17394
20412 * gdb.linespec/break-asm-file.c: New file.
20413 * gdb.linespec/break-asm-file.exp: New file.
20414 * gdb.linespec/break-asm-file0.s: New file.
20415 * gdb.linespec/break-asm-file1.s: New file.
20416
1bab7383
YQ
204172014-12-18 Nigel Stephens <nigel@mips.com>
20418 Maciej W. Rozycki <macro@codesourcery.com>
20419
20420 * gdb.base/float.exp: Handle the new output from "info float" on
20421 MIPS targets.
20422
1bc1068a
JK
204232014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20424
20425 Fix MinGW compilation.
20426 * gdb.compile/compile-ops.exp: Update untested message if
20427 !skip_compile_feature_tests.
20428 * gdb.compile/compile-setjmp.exp: Likewise.
20429 * gdb.compile/compile-tls.exp: Likewise.
20430 * gdb.compile/compile.exp: Likewise.
20431 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20432 supported on this host".
20433
b6615d10
DE
204342014-12-16 Doug Evans <xdje42@gmail.com>
20435
20436 * boards/stabs.exp: New file.
20437
25dda427
AA
204382014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20439
20440 * gdb.base/completion.exp: Adjust to format changes of "maint
20441 print user-registers".
20442
bf330350
CU
204432014-12-16 Catalin Udma <catalin.udma@freescale.com>
20444
20445 PR server/17457
20446 * gdb.arch/aarch64-fp.c: New file.
20447 * gdb.arch/aarch64-fp.exp: New file.
20448
395cf596
SDJ
204492014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20450
20451 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20452 r210637, r210913, r211666, r215400, r215817).
20453
20454 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20455 * dg-extract-results.py: New file.
20456 * dg-extract-results.sh: Use it if the environment seems
20457 suitable.
20458
20459 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20460
20461 * dg-extract-results.py (parse_run): Handle warnings that
20462 are printed before a test harness is run.
20463
20464 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20465
20466 * dg-extract-results.py (Named): Remove __cmp__ method.
20467 (output_variation): Use a key to sort variation.harnesses.
20468
20469 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20470
20471 * dg-extract-results.py: For Python 3, force sys.stdout to
20472 handle surrogate escape sequences.
20473 (safe_open): New function.
20474 (output_segment, main): Use it.
20475
20476 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20477
20478 * dg-extract-results.py (Prog.result_re): Include options
20479 in test name.
20480
20481 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20482
20483 * dg-extract-results.py (output_variation): Always sort if
20484 do_sum.
20485
e882ef3c
SM
204862014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20487
20488 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20489 as long as we get pagination notifications.
20490
4992aa20
JM
204912014-12-15 Jason Merrill <jason@redhat.com>
20492
20493 * Makefile.in (check-gdb.%): Restore.
20494 * README: Mention it.
20495
c1b5a1a6
JB
204962014-12-13 Joel Brobecker <brobecker@adacore.com>
20497
20498 * gdb.ada/str_uninit: New testcase.
20499
5537b577
JK
205002014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20501
20502 PR symtab/17642
20503 * gdb.base/vla-stub-define.c: New file.
20504 * gdb.base/vla-stub.c: New file.
20505 * gdb.base/vla-stub.exp: New file.
20506
bb2ec1b3
TT
205072014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20508 Jan Kratochvil <jan.kratochvil@redhat.com>
20509 Tom Tromey <tromey@redhat.com>
20510
20511 * configure.ac: Add gdb.compile/.
20512 * configure: Regenerate.
20513 * gdb.compile/Makefile.in: New file.
20514 * gdb.compile/compile-ops.exp: New file.
20515 * gdb.compile/compile-ops.c: New file.
20516 * gdb.compile/compile-tls.c: New file.
20517 * gdb.compile/compile-tls.exp: New file.
20518 * gdb.compile/compile-constvar.S: New file.
20519 * gdb.compile/compile-constvar.c: New file.
20520 * gdb.compile/compile-mod.c: New file.
20521 * gdb.compile/compile-nodebug.c: New file.
20522 * gdb.compile/compile-setjmp-mod.c: New file.
20523 * gdb.compile/compile-setjmp.c: New file.
20524 * gdb.compile/compile-setjmp.exp: New file.
20525 * gdb.compile/compile-shlib.c: New file.
20526 * gdb.compile/compile.c: New file.
20527 * gdb.compile/compile.exp: New file.
20528 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20529
4ff709eb
TT
205302014-12-12 Tom Tromey <tromey@redhat.com>
20531
20532 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20533 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20534
6dddd6a5
DE
205352014-12-12 Doug Evans <dje@google.com>
20536
20537 * lib/gdb-python.exp (get_python_valueof): New function.
20538 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20539
71c24708
AA
205402014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20541
20542 * gdb.base/completion.exp: Add test for completion of "info
20543 registers ".
20544
3e29f34a
MR
205452014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20546
20547 * gdb.base/func-ptrs.c: New file.
20548 * gdb.base/func-ptrs.exp: New file.
20549
fc126975
SM
205502014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20551
20552 PR breakpoints/17012
20553 * gdb.base/dprintf-detach.c: New file.
20554 * gdb.base/dprintf-detach.exp: New file.
20555
0a46d518
SM
205562014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20557
20558 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20559 * lib/gdb.exp (target_is_gdbserver): New procedure.
20560
a0be3e44
DE
205612014-12-08 Doug Evans <dje@google.com>
20562
20563 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20564
df1b803a
YQ
205652014-12-05 Yao Qi <yao@codesourcery.com>
20566
20567 * gdb.guile/scm-error.exp: Remove the third argument to
20568 gdb_remote_download.
20569 * gdb.guile/scm-frame-args.exp: Likewise.
20570 * gdb.guile/scm-section-script.exp: Likewise.
20571
ddb9f679
YQ
205722014-12-05 Yao Qi <yao@codesourcery.com>
20573
20574 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20575
86e4ed39
DE
205762014-12-04 Doug Evans <dje@google.com>
20577
20578 * gdb.python/py-objfile.exp: Add tests for
20579 objfile.add_separate_debug_file.
20580
7c50a931
DE
205812014-12-04 Doug Evans <dje@google.com>
20582
20583 * lib/gdb.exp (get_build_id): New function.
20584 (build_id_debug_filename_get): Rewrite to use it.
20585 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20586
621661e3
MR
205872014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20588
20589 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20590 `method(long)', not just 0x0.
20591 * gdb.cp/nsalias.exp: Align code labels to 4.
20592 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20593 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20594 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20595 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20596 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20597 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20598
29f0c3b7
DE
205992014-12-02 Doug Evans <dje@google.com>
20600
e1e061e7 20601 PR symtab/17602
29f0c3b7 20602 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20603 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20604 * gdb.cp/anon-ns.exp: Update.
20605
162078c8
NB
206062014-12-02 Nick Bull <nicholaspbull@gmail.com>
20607
20608 * gdb.python/py-events.py (inferior_call_handler): New.
20609 (register_changed_handler, memory_changed_handler): New.
20610 (test_events.invoke): Register new handlers.
20611 * gdb.python/py-events.exp: Add tests for inferior call,
20612 memory_changed and register_changed events.
20613
fdb09caf
AA
206142014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20615
20616 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20617 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20618 if the linker doesn't understand this.
20619
55cfb2c4
SM
206202014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20621
20622 * gdb.python/python.exp: Change expected reply to help().
20623
9e8cd6df
YQ
206242014-12-01 Yao Qi <yao@codesourcery.com>
20625
20626 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20627 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20628 * configure: Re-generated.
20629
6c659fc2
SC
206302014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20631
20632 * gdb.cp/chained-calls.cc: New file.
20633 * gdb.cp/chained-calls.exp: New file.
20634 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20635
d7fc3181
SM
206362014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20637
20638 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20639 * gdb.dwarf2/symtab-producer.exp: Same.
20640 * gdb.gdb/python-interrupts.exp: Same.
20641 * gdb.gdb/python-selftest.exp: Same.
20642 * gdb.python/py-linetable.exp: Same.
20643 * gdb.python/py-type.exp: Same.
20644 * gdb.python/py-value-cc.exp: Same.
20645 * gdb.python/py-value.exp: Same.
20646
10e79639
YQ
206472014-11-28 Yao Qi <yao@codesourcery.com>
20648
20649 * gdb.base/break-probes.exp: Match library name prefixed with
20650 sysroot.
20651
f28a0564
SM
206522014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20653
20654 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20655 test expected output. Add parentheses for the call to print.
20656 Remove L suffix from integers.
20657
3fe1ce1d
DE
206582014-11-26 Doug Evans <dje@google.com>
20659
20660 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20661
84429e27
YQ
206622014-11-22 Yao Qi <yao@codesourcery.com>
20663
20664 * gdb.trace/entry-values.c: Remove asms.
20665 (foo): Add foo_label.
20666 (bar): Add bar_label.
20667 * gdb.trace/entry-values.exp: Remove code computing foo's
20668 length and bar's length.
20669 (Dwarf::assemble): Invoke function_range for bar and use
20670 MACRO_AT_func for foo.
20671
26741859
YQ
206722014-11-22 Yao Qi <yao@codesourcery.com>
20673
20674 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20675 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20676 Use .Lgcc43_procstart instead of gcc43.
20677
45e44d27
JB
206782014-11-21 Joel Brobecker <brobecker@adacore.com>
20679
20680 * gdb.ada/n_arr_bound: New testcase.
20681
458c8db8
SDJ
206822014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20683
20684 PR breakpoints/10737
20685 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20686 test_catch_syscall_multi_arch.
20687 (test_catch_syscall_multi_arch): New function.
20688
43f3e411
DE
206892014-11-20 Doug Evans <xdje42@gmail.com>
20690
20691 * gdb.base/maint.exp: Update expected output.
20692
0d7b2549
AA
206932014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20694
20695 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20696 4-byte instruction on S390.
20697
8908fca5
JB
206982014-11-19 Joel Brobecker <brobecker@adacore.com>
20699
20700 * gdb.ada/arr_arr: New testcase.
20701
4a46959e
JB
207022014-11-19 Joel Brobecker <brobecker@adacore.com>
20703
20704 * gdb.ada/pkd_arr_elem: New Testcase.
20705
470e2f4e
LM
207062014-11-18 Luis Machado <lgustavo@codesourcery.com>
20707
20708 * gdb.reverse/break-precsave: Expect completion message for
20709 core file reads.
20710 * gdb.reverse/consecutive-precsave.exp: Likewise.
20711 * gdb.reverse/finish-precsave.exp: Likewise.
20712 * gdb.reverse/i386-precsave.exp: Likewise.
20713 * gdb.reverse/machinestate-precsave.exp: Likewise.
20714 * gdb.reverse/sigall-precsave.exp: Likewise.
20715 * gdb.reverse/solib-precsave.exp: Likewise.
20716 * gdb.reverse/step-precsave.exp: Likewise.
20717 * gdb.reverse/until-precsave.exp: Likewise.
20718 * gdb.reverse/watch-precsave.exp: Likewise.
20719
a267f3ad
AA
207202014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20721
20722 * gdb.base/bp-permanent.c: Include unistd.h.
20723 * gdb.python/py-framefilter-mi.c (main): Add return type.
20724 * gdb.python/py-framefilter.c (main): Likewise.
20725 * gdb.trace/actions-changed.c (main): Likewise.
20726
12084a9a
AA
207272014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20728
20729 * gdb.mi/until.c: Add eye-catchers.
20730 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20731 line numbers.
20732
dc7e1a77
AA
207332014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20734
20735 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20736 function header variants in break1.c.
20737 * gdb.base/ena-dis-br.exp: Likewise.
20738 * gdb.base/hbreak2.exp: Likewise.
20739 * gdb.reverse/until-precsave.exp: Drop references to removed
20740 non-prototype function header variants in ur1.c.
20741 * gdb.reverse/until-reverse.exp: Likewise.
20742
41c77605
PM
207432014-11-17 Petr Machata <pmachata@redhat.com>
20744
20745 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20746 ${_cu_offset_size} bytes abbrev offset.
20747
34248c3a
DE
207482014-11-15 Doug Evans <xdje42@gmail.com>
20749
20750 PR symtab/17559
20751 * gdb.base/line-symtabs.exp: New file.
20752 * gdb.base/line-symtabs.c: New file.
20753 * gdb.base/line-symtabs.h: New file.
20754
646da059
YQ
207552014-11-14 Yao Qi <yao@codesourcery.com>
20756
20757 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20758 (func): Add label func_label.
20759 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20760 Replace low_pc and high_pc with MACRO_AT_range.
20761 Replace name, low_pc and high_pc with MACRO_AT_func.
20762
9301ebe6
YQ
207632014-11-14 Yao Qi <yao@codesourcery.com>
20764
20765 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20766 Replace name, low_pc and high_pc with MACRO_AT_func.
20767
f166b542
YQ
207682014-11-14 Yao Qi <yao@codesourcery.com>
20769
20770 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20771 produce debug information.
20772 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20773
0f6e71e3
YQ
207742014-11-14 Yao Qi <yao@codesourcery.com>
20775
20776 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20777 object and get function length.
20778 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20779 with MACRO_AT_func.
20780 (top-level): Replace gdb_compile and clean_restart with
20781 prepare_for_testing.
20782 * gdb.dwarf2/main.c (main): Add label main_label.
20783
876c4df9
YQ
207842014-11-14 Yao Qi <yao@codesourcery.com>
20785
20786 * lib/dwarf.exp (function_range): New procedure.
20787 (Dwarf::_handle_macro_at_func): New procedure.
20788 (Dwarf::_handle_macro_at_range): New procedure.
20789 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20790
02ad9cf1
YQ
207912014-11-14 Yao Qi <yao@codesourcery.com>
20792
20793 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20794 (_handle_attribute): New procedure.
20795
a59add0c
AA
207962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20797
20798 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20799 * gdb.base/call-sc.c (zed): Likewise.
20800 * gdb.base/checkpoint.c (main): Likewise.
20801 * gdb.base/dump.c (main): Likewise.
20802 * gdb.base/gcore.c (main): Likewise.
20803 * gdb.base/huge.c (main): Likewise.
20804 * gdb.base/multi-forks.c (main): Likewise.
20805 * gdb.base/pr10179-a.c (main): Likewise.
20806 * gdb.base/savedregs.c (main): Likewise.
20807 * gdb.base/sigaltstack.c (main): Likewise.
20808 * gdb.base/siginfo.c (main): Likewise.
20809 * gdb.base/structs.c (zed): Likewise.
20810 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20811 * gdb.mi/mi-syn-frame.c (main): Likewise.
20812 * gdb.mi/until.c (foo, main): Likewise.
20813 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20814 * gdb.base/solib-weak.c (foo): Declare.
20815 * gdb.base/attach-twice.c: Include stdio.h.
20816 * gdb.base/weaklib1.c: Likewise.
20817 * gdb.base/weaklib2.c: Likewise.
20818 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20819 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20820 unistd.h.
20821 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20822 * gdb.mi/mi-exit-code.c: Likewise.
20823 * gdb.base/break-interp-lib.c: Include string.h.
20824 * gdb.base/coremaker.c: Likewise.
20825 * gdb.base/testenv.c: Likewise.
20826 * gdb.python/py-finish-breakpoint.c: Likewise.
20827 * gdb.base/inferior-died.c: Include sys/wait.h.
20828 * gdb.base/fileio.c: Include time.h.
20829 * gdb.base/async-shell.c: Include unistd.h.
20830 * gdb.base/dprintf-non-stop.c: Likewise.
20831 * gdb.base/info-os.c: Likewise.
20832 * gdb.mi/mi-console.c: Likewise.
20833 * gdb.mi/watch-nonstop.c: Likewise.
20834 * gdb.python/py-events.c: Likewise.
20835 * gdb.base/async.c (baz): Move up before its invocation.
20836 * gdb.base/code_elim2.c (my_global_func): Likewise.
20837 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20838 * gdb.base/advance.c (func2): Likewise.
20839
3b5d5997
AA
208402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20841
20842 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20843 variant.
20844 * gdb.base/annota3.c: Likewise.
20845 * gdb.base/async.c: Likewise.
20846 * gdb.base/average.c: Likewise.
20847 * gdb.base/call-ar-st.c: Likewise.
20848 * gdb.base/call-rt-st.c: Likewise.
20849 * gdb.base/call-sc.c: Likewise.
20850 * gdb.base/call-strs.c: Likewise.
20851 * gdb.base/ending-run.c: Likewise.
20852 * gdb.base/execd-prog.c: Likewise.
20853 * gdb.base/exprs.c: Likewise.
20854 * gdb.base/foll-exec.c: Likewise.
20855 * gdb.base/foll-fork.c: Likewise.
20856 * gdb.base/foll-vfork.c: Likewise.
20857 * gdb.base/funcargs.c: Likewise.
20858 * gdb.base/gcore.c: Likewise.
20859 * gdb.base/jump.c: Likewise.
20860 * gdb.base/langs0.c: Likewise.
20861 * gdb.base/langs1.c: Likewise.
20862 * gdb.base/langs2.c: Likewise.
20863 * gdb.base/mips_pro.c: Likewise.
20864 * gdb.base/nodebug.c: Likewise.
20865 * gdb.base/opaque0.c: Likewise.
20866 * gdb.base/opaque1.c: Likewise.
20867 * gdb.base/recurse.c: Likewise.
20868 * gdb.base/run.c: Likewise.
20869 * gdb.base/scope0.c: Likewise.
20870 * gdb.base/scope1.c: Likewise.
20871 * gdb.base/setshow.c: Likewise.
20872 * gdb.base/setvar.c: Likewise.
20873 * gdb.base/shmain.c: Likewise.
20874 * gdb.base/shr1.c: Likewise.
20875 * gdb.base/shr2.c: Likewise.
20876 * gdb.base/sigall.c: Likewise.
20877 * gdb.base/signals.c: Likewise.
20878 * gdb.base/so-indr-cl.c: Likewise.
20879 * gdb.base/solib2.c: Likewise.
20880 * gdb.base/structs.c: Likewise.
20881 * gdb.base/sum.c: Likewise.
20882 * gdb.base/vforked-prog.c: Likewise.
20883 * gdb.base/watchpoint.c: Likewise.
20884 * gdb.reverse/shr2.c: Likewise.
20885 * gdb.reverse/until-reverse.c: Likewise.
20886 * gdb.reverse/ur1.c: Likewise.
20887 * gdb.reverse/watch-reverse.c: Likewise.
20888
066a77c5
AA
208892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20890
20891 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20892 variant.
20893 * gdb.base/sepdebug.exp: Drop references to removed code.
20894
4f204ea5
AA
208952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20896
20897 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20898 variant. Preserve original line numbering.
20899 * gdb.base/list1.c: Likewise.
20900
3b377a3a
AA
209012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20902
20903 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20904 variant.
20905 * gdb.base/break1.c: Likewise.
20906 * gdb.base/break.exp: Drop references to removed code.
20907
e444df73
AA
209082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20909
20910 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20911 variant.
20912
8008f2a7
AA
209132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20914
20915 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20916
a5a06887
AA
209172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20918
20919 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20920 logic into perform_all_tests() and invoke it with and without
20921 function header prototypes.
20922 (do_function_calls): Remove conditional XFAIL for PR 5318.
20923 (rerun_and_prepare): Remove duplicate code.
20924 (perform_all_tests): New. Main logic moved here.
20925
44dba9b9
AA
209262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20927
20928 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20929 code guarded by #ifdef NO_PROTOTYPES.
20930 (t_double_many_args): Likewise.
20931 (DEF_FUNC_MANY_ARGS_1): Likewise.
20932 (DEF_FUNC_VALUES_1): Likewise.
20933 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20934 guarded by #ifdef PROTOTYPES.
20935
d1fbcd56
AA
209362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20937
20938 * gdb.mi/mi-console.c: Add eye-catcher.
20939 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20940 instead of literal line number.
20941
b0e59b8f
AA
209422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20943
20944 * gdb.base/shr2.c: Add eye-catcher.
20945 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20946 line number.
20947
78f98cca
AA
209482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20949
20950 * gdb.base/jump.c: Add eye-catchers.
20951 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20952 numbers.
20953
58fa2af0
AA
209542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20955
20956 * gdb.base/execd-prog.c: Add eye-catchers.
20957 * gdb.base/foll-exec.c: Likewise.
20958 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20959 line numbers.
20960
04e5059b
AA
209612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20962
20963 * gdb.base/ending-run.c: Add eye-catchers.
20964 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20965 literal line numbers.
20966
dbfdb174
AA
209672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20968
20969 * gdb.base/call-rt-st.c: Add eye-catchers.
20970 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20971 literal line numbers.
20972
888a2ade
AA
209732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20974
20975 * gdb.base/call-ar-st.c: Add eye-catchers.
20976 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20977 literal line numbers.
20978
6acc2dde
AA
209792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20980
20981 * gdb.base/average.c: Add eye-catchers.
20982 * gdb.base/sum.c: Likewise.
20983 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20984 regexps dynamically.
20985
9ecfcd1d
AA
209862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20987
20988 * gdb.base/solib1.c: Add eye-catchers.
20989 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20990 literal line numbers.
20991
78708b7c
PA
209922014-11-12 Pedro Alves <palves@redhat.com>
20993
20994 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20995 leader has exited.
20996
af48d08f
PA
209972014-11-12 Pedro Alves <palves@redhat.com>
20998
20999 * gdb.arch/i386-bp_permanent.c: New file.
21000 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21001 (srcfile): Set to i386-bp_permanent.c.
21002 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21003 that stepi does not execute the 'leave' instruction, instead of
21004 testing it does execute.
21005 * gdb.base/bp-permanent.c: New file.
21006 * gdb.base/bp-permanent.exp: New file.
21007
af3768e9
DE
210082014-11-10 Doug Evans <xdje42@gmail.com>
21009
21010 PR symtab/17564
21011 * gdb.base/symtab-search-order.exp: New file.
21012 * gdb.base/symtab-search-order.c: New file.
21013 * gdb.base/symtab-search-order-1.c: New file.
21014 * gdb.base/symtab-search-order-shlib-1.c: New file.
21015
9de00a4a
PA
210162014-11-07 Pedro Alves <palves@redhat.com>
21017
21018 PR gdb/17511
21019 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21020 i?86-*-linux*.
21021
e0f52461
SC
210222014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21023
21024 PR c++/17494
21025 * gdb.cp/pr17494.cc: New file.
21026 * gdb.cp/pr17494.exp: New file.
21027
6ce8c980
YQ
210282014-11-02 Yao Qi <yao@codesourcery.com>
21029
21030 * gdb.python/python.exp: Get working directory and match the
21031 output of "set extended-prompt \\w " with it.
21032
02be9a71
DE
210332014-10-30 Doug Evans <dje@google.com>
21034
21035 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21036 in objfiles.
21037 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21038 in progspaces.
21039
3bdff46b
LM
210402014-10-30 Janis Johnson <janisjo@codesourcery.com>
21041
21042 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21043 * gdb.base/realname-expand.exp: Likewise.
21044 * gdb.linespec/macro-relative.exp: Likewise.
21045
ab917dfb
PA
210462014-10-29 Pedro Alves <palves@redhat.com>
21047
21048 PR gdb/17408
21049 * gdb.threads/schedlock.c (some_function): New function.
21050 (call_function): New global.
21051 (MAYBE_CALL_SOME_FUNCTION): New macro.
21052 (thread_function): Call it.
21053 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21054 and use it instead of a global counter. Adjust all callers.
21055 (get_current_thread): Use "find current thread" for test message
21056 here rather than having all callers pass down the same string.
21057 (goto_loop): New procedure, factored out from ...
21058 (my_continue): ... this.
21059 (step_ten_loops): Change parameter from test message to command to
21060 use. Adjust.
21061 (list_count): Delete global.
21062 (check_result): New procedure, factored out from duplicate top
21063 level code.
21064 (continue tests): Wrap in with_test_prefix.
21065 (test_step): New procedure, factored out from duplicate top level
21066 code.
21067 (top level): Test "step" in combination with all scheduler-locking
21068 modes. Test "next" in combination with all scheduler-locking
21069 modes, and in combination with stepping over a function call or
21070 not.
21071 * gdb.threads/next-bp-other-thread.c: New file.
21072 * gdb.threads/next-bp-other-thread.exp: New file.
21073
d3d4baed
PA
210742014-10-29 Pedro Alves <palves@redhat.com>
21075
21076 PR python/17372
21077 * gdb.python/python.exp: Test a multi-line command that spawns
21078 interactive Python.
21079 * gdb.base/multi-line-starts-subshell.exp: New file.
21080
563e8d85
YQ
210812014-10-29 Yao Qi <yao@codesourcery.com>
21082
21083 * gdb.base/fileio.exp: Make directories on host.
21084
0ea4d52e
YQ
210852014-10-29 Yao Qi <yao@codesourcery.com>
21086
21087 * gdb.base/fileio.c (test_write): Close the file.
21088
7f5ef605
PA
210892014-10-28 Pedro Alves <palves@redhat.com>
21090
21091 PR gdb/12623
21092 * gdb.base/sigstep.c (no_handler): New global.
21093 (main): If 'no_handler is true, set the signal handlers to
21094 SIG_IGN.
21095 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21096 with_sw_watch and no_handler parameters. Handle them.
21097 (top level) <stepping over handler when stopped at a breakpoint
21098 test>: Add a test axis for testing with a software watchpoint, and
21099 another for testing with the signal handler set to SIG_IGN.
21100 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21101 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21102
abbdbd03
PA
211032014-10-28 Pedro Alves <palves@redhat.com>
21104
21105 PR gdb/17511
21106 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21107 * gdb.base/sigstep.exp (other_handler_location): New global.
21108 (advance): Support stepping into the signal handler, and running
21109 commands while in the handler.
21110 (in_handler_map): New global.
21111 (top level): In the advance test, add combinations for getting
21112 into the handler with stepping commands, and for running commands
21113 in the handler. Add comment descripting the advancei tests.
21114
1df4399f
PA
211152014-10-28 Pedro Alves <palves@redhat.com>
21116
21117 * gdb.base/sigstep.exp: Use build_executable instead of
21118 prepare_for_testing.
21119 (top level): Move code that starts GDB, runs to main and creates a
21120 display to ...
21121 (restart): ... this new procedure.
21122 (top level): Move backtrace from signal handler test to ...
21123 (validate_backtrace): ... this new procedure.
21124 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21125 with_test_prefix. Always restart GDB.
21126 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21127 with_test_prefix. Always restart GDB. No need to delete
21128 breakpoints after the test.
21129 (test_skip_handler): Remove prefix parameter.
21130 (skip_over_handler, breakpoint_to_handler)
21131 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21132 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21133 restart GDB. No need to delete breakpoints after the test.
21134 (top level): Use foreach to call the test procedures with
21135 different commands.
21136
a5b6e449
PA
211372014-10-28 Pedro Alves <palves@redhat.com>
21138
21139 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21140 instead of GNATS numbers.
21141 * gdb.base/sigbpt.exp: Likewise.
21142 * gdb.base/siginfo.exp: Likewise.
21143 * gdb.base/sigstep.exp: Likewise.
21144
e5f8a7cc
PA
211452014-10-27 Pedro Alves <palves@redhat.com>
21146
21147 * gdb.base/sigstep.c (dummy): New global.
21148 (main): Issue a couple writes to the new global.
21149 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21150 procedures.
21151 (skip_over_handler): Use test_skip_handler.
21152 (top level): Call skip_over_handler for stepi and nexti too.
21153 (breakpoint_over_handler): Use test_skip_handler.
21154 (top level): Call breakpoint_over_handler for stepi and nexti too.
21155
763905a3
YQ
211562014-10-27 Yao Qi <yao@codesourcery.com>
21157
21158 * gdb.trace/tfile.c (adjust_function_address)
21159 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21160 function descriptor.
21161
6f259a23
DB
211622014-10-24 Don Breazeal <donb@codesourcery.com>
21163
21164 * gdb.base/foll-fork.exp (test_follow_fork,
21165 catch_fork_child_follow): Check for updated fork messages emitted
21166 from infrun.c.
21167 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21168 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21169 vfork_and_exec_child_follow_through_step): Check for updated vfork
21170 messages emitted from infrun.c.
21171
09dd9a69
PA
211722014-10-24 Pedro Alves <palves@redhat.com>
21173
21174 * gdb.base/corefile.exp: Remove references to ultrix.
21175 * gdb.base/interrupt.exp: Likewise.
21176 * gdb.base/whatis.exp: Likewise.
21177 * gdb.gdb/selftest.exp: Likewise.
21178 * gdb.threads/manythreads.exp: Likewise.
21179 * gdb.threads/print-threads.exp: Likewise.
21180 * gdb.threads/pthreads.exp:: Likewise.
21181 * gdb.threads/schedlock.exp: Likewise.
21182
3433cfa5
SC
211832014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21184
21185 * gdb.cp/non-trivial-retval.cc: Add a test case.
21186 * gdb.cp/non-trivial-retval.exp: Add a test.
21187
092f880b
YQ
211882014-10-20 Yao Qi <yao@codesourcery.com>
21189
21190 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21191 * gdb.python/py-objfile-script-gdb.py: New file.
21192 * gdb.python/py-objfile-script.exp: Update reference to
21193 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21194 of remote_download. Remove the dest file.
21195
acbdb7f3
YQ
211962014-10-20 Yao Qi <yao@codesourcery.com>
21197
21198 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21199 * gdb.base/step-line.exp: Likewise.
21200 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21201 * gdb.dwarf2/dw2-basic.exp: Likewise.
21202 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21203 * gdb.dwarf2/dw2-filename.exp: Likewise.
21204 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21205 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21206 * gdb.dwarf2/dw2-producer.exp: Likewise.
21207 * gdb.dwarf2/mac-fileno.exp: Likewise.
21208 * gdb.python/py-frame-args.exp: Likewise.
21209 * gdb.python/py-framefilter.exp: Likewise.
21210 * gdb.python/py-mi.exp: Likewise.
21211 * gdb.python/py-objfile-script.exp: Likewise
21212 * gdb.python/py-pp-integral.exp: Likewise.
21213 * gdb.python/py-pp-re-notag.exp: Likewise.
21214 * gdb.python/py-prettyprint.exp: Likewise.
21215 * gdb.python/py-section-script.exp: Likewise.
21216 * gdb.python/py-typeprint.exp: Likewise.
21217 * gdb.python/py-xmethods.exp: Likewise.
21218 * gdb.stabs/weird.exp: Likewise.
21219 * gdb.xml/tdesc-regs.exp: Likewise.
21220
bd286a29
KCY
212212014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21222
21223 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21224 (out_cu): Use addr_len for the size of addresses.
21225 (out_line): Likewise. Size DW_LNE_set_address instruction
21226 according to addr_len.
21227 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21228 (FUNC): Add START_INSNS to definition.
21229
673dc4a0
YQ
212302014-10-18 Yao Qi <yao@codesourcery.com>
21231
21232 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21233 gdb_has_argv0 return true.
21234 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21235 check [target_info exists noargs], check [gdb_has_argv0]
21236 instead.
21237 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21238 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21239 procedures.
21240
4ffbba72
DE
212412014-10-17 Doug Evans <dje@google.com>
21242
21243 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21244 event.
21245 * gdb.python/py-events.py: Add clear_objfiles event.
21246
d096d8c1
DE
212472014-10-17 Doug Evans <dje@google.com>
21248
21249 * gdb.python/py-objfile.exp: Test progspace attribute.
21250
a80db015
LM
212512014-10-17 Luis Machado <lgustavo@codesourcery.com>
21252
21253 * gdb.guile/scm-breakpoint.exp: Do not assume any
21254 directory separators when matching source file paths.
21255 * gdb.python/py-breakpoint.exp: Likewise.
21256 * gdb.reverse/break-precsave.exp: Likewise.
21257 * gdb.reverse/break-reverse.exp: Likewise.
21258 * gdb.reverse/consecutive-precsave.exp: Likewise.
21259 * gdb.reverse/finish-precsave.exp: Likewise.
21260 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21261 * gdb.reverse/finish-reverse.exp: Likewise.
21262 * gdb.reverse/i386-precsave.exp: Likewise.
21263 * gdb.reverse/i387-env-reverse.exp: Likewise.
21264 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21265 * gdb.reverse/machinestate-precsave.exp: Likewise.
21266 * gdb.reverse/machinestate.exp: Likewise.
21267 * gdb.reverse/sigall-precsave.exp: Likewise.
21268 * gdb.reverse/solib-precsave.exp: Likewise.
21269 * gdb.reverse/step-precsave.exp: Likewise.
21270 * gdb.reverse/until-precsave.exp: Likewise.
21271 * gdb.reverse/watch-precsave.exp: Likewise.
21272 * gdb.reverse/watch-reverse.exp: Likewise.
21273
b22089ab
YQ
212742014-10-17 Yao Qi <yao@codesourcery.com>
21275
21276 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21277 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21278
6c4486e6
PA
212792014-10-17 Pedro Alves <palves@redhat.com>
21280
21281 PR gdb/17471
21282 * gdb.base/bg-execution-repeat.c: New file.
21283 * gdb.base/bg-execution-repeat.exp: New file.
21284
0ff33695
PA
212852014-10-17 Pedro Alves <palves@redhat.com>
21286
21287 PR gdb/17300
21288 * gdb.base/continue-all-already-running.c: New file.
21289 * gdb.base/continue-all-already-running.exp: New file.
21290
6fdebc3d
PA
212912014-10-17 Pedro Alves <palves@redhat.com>
21292
21293 PR gdb/17472
21294 * gdb.base/annota-input-while-running.c: New file.
21295 * gdb.base/annota-input-while-running.exp: New file.
21296
32a8097b
PA
212972014-10-17 Pedro Alves <palves@redhat.com>
21298
21299 * gdb.base/callfuncs.exp: emove references to osf.
21300 * gdb.base/sigall.exp: Likewise.
21301 * gdb.gdb/selftest.exp: Likewise.
21302 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21303 * gdb.mi/non-stop.c: Likewise.
21304 * gdb.mi/pthreads.c: Likewise.
21305 * gdb.reverse/sigall-precsave.exp: Likewise.
21306 * gdb.reverse/sigall-reverse.exp: Likewise.
21307 * gdb.threads/pthreads.c: Likewise.
21308 * gdb.threads/pthreads.exp: Likewise.
21309
7a3517ff
YQ
213102014-10-17 Yao Qi <yao@codesourcery.com>
21311
21312 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21313 check 'target_info exists noargs'.
21314 (test_command_prompt_position): Likewise.
21315 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21316 Remove "set args".
21317 (progvar_simple_while_test): Likewise.
21318 (progvar_complex_if_while_test): Likewise.
21319 (if_while_breakpoint_command_test): Likewise.
21320 (infrun_breakpoint_command_test): Likewise.
21321 (breakpoint_command_test): Likewise.
21322 (watchpoint_command_test): Likewise.
21323 (bp_deleted_in_command_test): Likewise.
21324 (temporary_breakpoint_commands): Likewise.
21325
bb99c472
YQ
213262014-10-16 Yao Qi <yao@codesourcery.com>
21327
21328 * gdb.base/remotetimeout.exp: Remove noargs checking.
21329
7c16b83e
PA
213302014-10-15 Pedro Alves <palves@redhat.com>
21331
21332 PR breakpoints/9649
21333 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21334 * gdb.base/breakpoint-in-ro-region.exp
21335 (probe_target_hardware_step): New procedure.
21336 (top level): Probe hardware stepping and hardware breakpoint
21337 support. Test stepping through a read-only region, with both
21338 "breakpoint auto-hw" on and off and both "always-inserted" on and
21339 off.
21340
35a49624
IB
213412014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21342
21343 * gdb.dlang/demangle.exp: Update for demangling changes.
21344
2d1c107c
SC
213452014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21346
21347 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21348 * gdb.cp/non-trivial-retval.exp: Add new tests.
21349
778811d5
SC
213502014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21351
21352 PR c++/13403
21353 PR c++/15154
21354 * gdb.cp/non-trivial-retval.cc: New file.
21355 * gdb.cp/non-trivial-retval.exp: New file.
21356
10c5f0a8
YQ
213572014-10-15 Yao Qi <yao@codesourcery.com>
21358
21359 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21360 remote host.
21361
65d7b369
YQ
213622014-10-15 Yao Qi <yao@codesourcery.com>
21363
21364 * gdb.python/py-symbol.exp: Match file base name if host is
21365 remote, otherwise match file name with dir name.
21366 * gdb.python/py-symtab.exp: Likewise.
21367 * gdb.python/python.exp: Likewise.
21368
46dc1394
YQ
213692014-10-15 Yao Qi <yao@codesourcery.com>
21370
21371 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21372 pattern.
21373 * gdb.python/py-symtab.exp: Likewise.
21374 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21375 locationn.
21376
c40cc657
JB
213772014-10-14 Joel Brobecker <brobecker@adacore.com>
21378
21379 * gdb.ada/addr_arith: New testcase.
21380
2abf49e1
MR
213812014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21382
21383 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21384 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21385 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21386 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21387
f7088df3
SDJ
213882014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21389
21390 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21391 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21392 * gdb.arch/stap-eval-lang-ada.exp: New file.
21393
4dc06805
YQ
213942014-10-14 Yao Qi <yao@codesourcery.com>
21395
21396 * gdb.mi/mi-var-child.c (nothing1): New function.
21397 (nothing2): New function.
21398 (do_children_tests): Set function pointers by nothing1 and
21399 nothing2.
21400 * gdb.mi/mi-var-child.exp: Step over new added statements.
21401 Update test to match the new output.
21402 * gdb.mi/var-cmd.c (nothing1): New function.
21403 (nothing2): New function.
21404 (do_children_tests): Set function pointers by nothing1 and
21405 nothing2.
21406 * gdb.mi/mi-var-display.exp: Update test to match output.
21407 Step to the line specified by $line_dct_nothing.
21408 Increase the number of lines to step.
21409
46a93de2
YQ
214102014-10-14 Yao Qi <yao@codesourcery.com>
21411
21412 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21413 tests.
21414 * gdb.mi/mi2-var-child.exp: Likewise.
21415
14ea52ee
DE
214162014-10-13 Doug Evans <dje@google.com>
21417
21418 * gdb.python/py-objfile.exp: Change name of file name test.
21419
e5c6e92b
DE
214202014-10-13 Doug Evans <dje@google.com>
21421
21422 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21423 from the start of the CU.
21424
c780cc2f
JK
214252014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21426 Yao Qi <yao@codesourcery.com>
21427
21428 Fix "save breakpoints" for "catch" command.
21429 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21430 Remove -nonewline. Match also the added "main" line.
21431
99894e11
JK
214322014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21433
21434 Fix "save breakpoints" for "disable $bpnum" command.
21435 * gdb.base/save-bp.c (main): Add label.
21436 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21437
6e1ac5a3
JK
214382014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21439
21440 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21441
754dd2b0
YQ
214422014-10-11 Yao Qi <yao@codesourcery.com>
21443
21444 * gdb.server/server-kill.exp: Execute command
21445 "set remote trace-status-packet on" before "tstatus".
21446
f90183d7
YQ
214472014-10-11 Yao Qi <yao@codesourcery.com>
21448
21449 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21450 (main): Call getppid.
21451 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21452 and continue to it. Read variable "server_pid".
21453
bf40a607
YQ
214542014-10-11 Yao Qi <yao@codesourcery.com>
21455
21456 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21457
052ca370
YQ
214582014-10-11 Yao Qi <yao@codesourcery.com>
21459
21460 * gdb.threads/thread-find.exp: Don't execute command
21461 "info threads".
21462 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21463 * gdb.threads/linux-dp.exp: Don't check the condition
21464 $threads_created equals to zero.
21465
3831839c
PA
214662014-10-10 Pedro Alves <palves@redhat.com>
21467
21468 * gdb.base/bigcore.exp: Remove references to IRIX.
21469 * gdb.base/funcargs.exp: Likewise.
21470 * gdb.base/interrupt.exp: Likewise.
21471 * gdb.base/mips_pro.exp: Likewise.
21472 * gdb.base/nodebug.exp: Likewise.
21473 * gdb.base/setvar.exp: Likewise.
21474 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21475
8b9a549d
PA
214762014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21477 Pedro Alves <palves@redhat.com>
21478
21479 PR symtab/14466
21480 * gdb.base/vdso-warning.c: New file.
21481 * gdb.base/vdso-warning.exp: New file.
21482
d48ba5e8
DE
214832014-10-02 Doug Evans <dje@google.com>
21484
21485 * gdb.base/structs.c (main): Don't run forever.
21486
2278c276
PA
214872014-10-02 Pedro Alves <palves@redhat.com>
21488
21489 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21490 (top level) <stop threads 1, stop threads 2>: Use it.
21491
b57bacec
PA
214922014-10-02 Pedro Alves <palves@redhat.com>
21493
21494 * gdb.threads/break-while-running.exp (test): Add new
21495 'update_thread_list' argument. Skip "info threads" if false.
21496 (top level): Add new 'update_thread_list' axis.
21497
13fd3ff3
PA
214982014-10-02 Pedro Alves <palves@redhat.com>
21499
21500 PR breakpoints/17431
21501 * gdb.base/execl-update-breakpoints.c: New file.
21502 * gdb.base/execl-update-breakpoints.exp: New file.
21503
0fec99e8
PA
215042014-10-01 Pedro Alves <palves@redhat.com>
21505
21506 * gdb.base/breakpoint-in-ro-region.c: New file.
21507 * gdb.base/breakpoint-in-ro-region.exp: New file.
21508
2ddf4301
SM
215092014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21510
21511 * gdb.mi/mi-exit-code.exp: New file.
21512 * gdb.mi/mi-exit-code.c: New file.
21513
6a5f3f43
YQ
215142014-09-30 Yao Qi <yao@codesourcery.com>
21515
21516 * lib/prelink-support.exp (build_executable_own_libs): Error if
21517 the target isn't native.
21518
345bcc73
YQ
215192014-09-30 Yao Qi <yao@codesourcery.com>
21520
21521 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21522 false.
21523
a25a5a45
PA
215242014-09-22 Pedro Alves <palves@redhat.com>
21525
21526 * gdb.threads/break-while-running.exp: New file.
21527 * gdb.threads/break-while-running.c: New file.
21528
00ba3162
YQ
215292014-09-19 Yao Qi <yao@codesourcery.com>
21530
21531 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21532 Invoke test. Restart GDB with --readnow and invoke test again.
21533
c3b7b696
YQ
215342014-09-19 Yao Qi <yao@codesourcery.com>
21535
21536 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21537 proc set_breakpoint_on_gcd_function. Invoke
21538 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21539 invoke set_breakpoint_on_gcd_function again.
21540
2b4fd423
DE
215412014-09-18 Doug Evans <dje@google.com>
21542
21543 * gdb.dwarf2/symtab-producer.exp: New file.
21544
a5947601
SDJ
215452014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21546
21547 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21548 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21549 * gdb.base/global-var-nested-by-dso.c: Likewise.
21550 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21551
91c19059
SDJ
215522014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21553 Pedro Alves <palves@redhat.com>
21554
21555 * gdb.base/watch-bitfields.exp: Pass string other than test file
21556 name to prepare_for_testing.
21557 (watch): New procedure.
21558 (expect_watchpoint): Use with_test_prefix.
21559 (top level): Factor out tests to ...
21560 (test_watch_location, test_regular_watch): ... these new
21561 procedures, and use with_test_prefix and gdb_continue_to_end.
21562
bb9d5f81
PP
215632014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21564
21565 PR breakpoints/12526
21566 * gdb.base/watch-bitfields.exp: New file.
21567 * gdb.base/watch-bitfields.c: New file.
21568
635856f5
PA
215692014-09-16 Pedro Alves <palves@redhat.com>
21570
21571 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21572 software and hardware addresses, not software address against
21573 itself.
21574
7280ceea
PA
215752014-09-16 Pedro Alves <palves@redhat.com>
21576
21577 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21578 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21579
428b16bd
PA
215802014-09-16 Pedro Alves <palves@redhat.com>
21581
21582 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21583 files.
21584 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21585 "*-*-vxworks*" throughout.
21586 * gdb.base/break.exp: Likewise.
21587 * gdb.base/default.exp: Likewise.
21588 * gdb.base/scope.exp: Likewise.
21589 * gdb.base/sepdebug.exp: Likewise.
21590 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21591 throughout.
21592 * gdb.base/run.c: Likewise.
21593 * gdb.base/sepdebug.c: Likewise.
21594 * gdb.hp/gdb.aCC/run.c: Likewise.
21595 * gdb.reverse/until-reverse.c: Likewise.
21596 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21597
666d413c
YQ
215982014-09-16 Yao Qi <yao@codesourcery.com>
21599
21600 * boards/local-remote-host-native.exp: New file.
21601
57cbd724
DE
216022014-09-14 Doug Evans <xdje42@gmail.com>
21603
21604 * gdb.threads/queue-signal.c (thread_count): New variable.
21605 (thread_count_mutex, thread_count_condvar): New variables.
21606 (incr_thread_count, wait_all_threads_running): New functions.
21607 (main): Wait for all threads to be in their thread functions.
21608
81219e53
DE
216092014-09-13 Doug Evans <xdje42@gmail.com>
21610
21611 * gdb.threads/queue-signal.c: New file.
21612 * gdb.threads/queue-signal.exp: New file.
21613
3714cea7
DE
216142014-09-13 Doug Evans <xdje42@gmail.com>
21615
21616 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21617 be consistent with what default_gdb_init uses.
21618 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21619 the plain text of the prompt. Add some logging printfs.
21620 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21621
fa43b1d7
PA
216222014-09-12 Pedro Alves <palves@redhat.com>
21623
21624 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21625 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21626 * gdb.arch/i386-size-overlap.exp: Likewise.
21627 * gdb.arch/i386-size.exp: Likewise.
21628 * gdb.arch/i386-unwind.exp: Likewise.
21629 * gdb.base/a2-run.exp: Likewise.
21630 * gdb.base/break.exp: Likewise.
21631 * gdb.base/charset.exp: Likewise.
21632 * gdb.base/chng-syms.exp: Likewise.
21633 * gdb.base/commands.exp: Likewise.
21634 * gdb.base/dbx.exp: Likewise.
21635 * gdb.base/find.exp: Likewise.
21636 * gdb.base/funcargs.exp: Likewise.
21637 * gdb.base/jit-simple.exp: Likewise.
21638 * gdb.base/reread.exp: Likewise.
21639 * gdb.base/sepdebug.exp: Likewise.
21640 * gdb.base/step-bt.exp: Likewise.
21641 * gdb.cp/mb-inline.exp: Likewise.
21642 * gdb.cp/mb-templates.exp: Likewise.
21643 * gdb.objc/basicclass.exp: Likewise.
21644 * gdb.threads/killed.exp: Likewise.
21645
9d9bf2df
EBM
216462014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21647
21648 PR tdep/17379
21649 * gdb.arch/powerpc-stackless.S: New file.
21650 * gdb.arch/powerpc-stackless.exp: New file.
21651
1cf2f1b0
JK
216522014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21653
21654 * gdb.base/attach.c: Include unistd.h.
21655 (main): Call alarm. Add label postloop.
21656 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21657 gdb_breakpoint, gdb_continue_to_breakpoint.
21658 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21659
98880d46
PA
216602014-09-11 Pedro Alves <palves@redhat.com>
21661
21662 PR gdb/17347
21663 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21664 * gdb.base/attach.exp (test_command_line_attach_run): New
21665 procedure.
21666 (top level): Call it.
21667
4c92ff2c
PA
216682014-09-11 Pedro Alves <palves@redhat.com>
21669
21670 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21671 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21672 (do_command_attach_tests): Use spawn_wait_for_attach.
21673 * gdb.base/solib-overlap.exp: Likewise.
21674 * gdb.multi/multi-attach.exp: Likewise.
21675 * gdb.python/py-prompt.exp: Likewise.
21676 * gdb.python/py-sync-interp.exp: Likewise.
21677 * gdb.server/ext-attach.exp: Likewise.
21678
3adc1a7d
GKB
216792014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21680
21681 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21682 command in testcase. Simplify testcase.
21683
96334934
JB
216842014-09-10 Joel Brobecker <brobecker@adacore.com>
21685
21686 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21687
eb479039
JB
216882014-09-10 Joel Brobecker <brobecker@adacore.com>
21689
21690 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21691
deede10c
JB
216922014-09-10 Joel Brobecker <brobecker@adacore.com>
21693
21694 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21695
7828a5f5
JB
216962014-09-10 Joel Brobecker <brobecker@adacore.com>
21697
21698 * gdb.dwarf2/dynarr-ptr.c: New file.
21699 * gdb.dwarf2/dynarr-ptr.exp: New file.
21700
33aeebcf
MR
217012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21702
21703 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21704 of 30 rather than hardcoding 120 for a slow test case. Take the
21705 `gdb,timeout' target setting into account for this calculation.
21706 Don't extend the timeout for the test cases that don't need it.
21707
7b415901
MR
217082014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21709
21710 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21711 a factor of 2 for a slow test case. Take the `gdb,timeout'
21712 target setting into account for this calculation.
21713 * gdb.reverse/until-precsave.exp: Increase the timeout by
21714 a factor of 15 and 3 respectively rather than adding 120
21715 for a pair of slow test cases. Take the `gdb,timeout'
21716 target setting into account for this calculation.
21717
4a40f85a
MR
217182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21719
21720 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21721 timeout, don't pass one down to gdb_expect.
21722 (gdb_expect): Rework timeout selection.
21723
09635af7
MR
217242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21725
21726 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21727 exception on timeout.
21728 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21729 (gdbserver_start_extended): Catch any `gdbserver_start' error
21730 exceptions.
21731 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21732 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21733 `gdbserver_gdb_load' error exceptions.
21734
2bdd10b7
MR
217352014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21736
21737 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21738 120 on waiting for the TCP socket to open.
21739
316935f0
DE
217402014-09-09 Doug Evans <xdje42@gmail.com>
21741
21742 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21743 _caller_matches, _any_caller_is, _any_caller_matches.
21744
83740597
DE
217452014-09-09 Doug Evans <xdje42@gmail.com>
21746
21747 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21748
4c122fc3
YQ
217492014-09-09 Yao Qi <yao@codesourcery.com>
21750
21751 * gdb.mi/mi-var-display.exp: Set print symbol off.
21752
a9f116cb
GKB
217532014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21754
21755 PR gdb/17035
21756 * gdb.base/commands.exp: Add tests to verify user-defined
21757 commands with empty bodies.
21758 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21759 python commands in `show user command`.
21760 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21761 scheme commands in `show user command`.
21762
c75bd3a2
JK
217632014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21764
21765 PR python/17355
21766 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21767 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21768 * gdb.python/py-framefilter-invalidarg.exp: New file.
21769 * gdb.python/py-framefilter-invalidarg.py: New file.
21770
faa42425
DE
217712014-09-06 Doug Evans <xdje42@gmail.com>
21772
21773 PR 15276
21774 * gdb.python/py-caller-is.c: New file.
21775 * gdb.python/py-caller-is.exp: New file.
21776
474ca4f6
SDJ
217772014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21778
21779 PR gdb/17235
21780 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21781 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21782
eb0b0463
SDJ
217832014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21784
21785 PR fortran/17237
21786 * gdb.fortran/print-formatted.exp: New file.
21787 * gdb.fortran/print-formatted.f90: Likewise.
21788
5f3b99cf
SS
217892014-09-03 Sasha Smundak <asmundak@google.com>
21790
21791 * gdb.python/py-frame.exp: Test Frame.read_register.
21792
7d793aa9
SDJ
217932014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21794
21795 PR python/16699
21796 * gdb.python/py-completion.exp: New file.
21797 * gdb.python/py-completion.py: Likewise.
21798
fb0576e9
DE
217992014-08-28 Doug Evans <dje@google.com>
21800
21801 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21802 eax,etc. are live with values set by gdb and thus the compiler can't
21803 use them.
21804 * gdb.arch/i386-pseudo.c (main): Ditto.
21805
ee92b0dd
DE
218062014-08-27 Doug Evans <dje@google.com>
21807
21808 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21809
6649db35
DE
218102014-08-25 Doug Evans <dje@google.com>
21811
21812 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21813 (main): Ditto.
21814
564b7600
DE
218152014-08-25 Doug Evans <dje@google.com>
21816
21817 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21818
3881fb67
YQ
218192014-08-24 Yao Qi <yao@codesourcery.com>
21820
21821 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21822 symbol off.
21823 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21824
a05a36a5
DE
218252014-08-22 Doug Evans <dje@google.com>
21826
21827 PR 17276
21828 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21829 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21830 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21831
7c343b48
YQ
218322014-08-22 Yao Qi <yao@codesourcery.com>
21833
21834 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21835 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21836 * gdb.python/python.exp: Likewise. Use .py file on the host
21837 instead of the build.
21838
22fd09ae
JK
218392014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21840
21841 * gdb.threads/gcore-stale-thread.c: New file.
21842 * gdb.threads/gcore-stale-thread.exp: New file.
21843
a8454a7c
PA
218442014-08-21 Pedro Alves <palves@redhat.com>
21845
21846 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21847 * gdb.base/gcore-relro-pie.exp: Likewise.
21848 * gdb.base/gcore-relro.exp: Likewise.
21849 * gdb.base/gcore.exp: Likewise.
21850 * gdb.base/print-symbol-loading.exp: Likewise.
21851 * gdb.threads/gcore-thread.exp: Likewise.
21852 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21853
2a31c623
PA
218542014-08-20 Pedro Alves <palves@redhat.com>
21855 Jan Kratochvil <jan.kratochvil@redhat.com>
21856
21857 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21858 configure.
21859 (EXPECT): Handle READ1 being set.
21860 (all): Depend on EXTRA_RULES.
21861 (check-read1, expect-read1, read1.so, read1): New rules.
21862 * README (Testsuite Parameters): Document the READ1 make variable.
21863 (Race detection): New section.
21864 * configure: Regenerate.
21865 * configure.ac: If build==host==target, and running under a
21866 GNU/glibc system, add read1 to the extra Makefile rules.
21867 (EXTRA_RULES): AC_SUBST it.
21868 * lib/read1.c: New file.
21869
d36430db
JB
218702014-08-20 Joel Brobecker <brobecker@adacore.com>
21871
21872 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21873 the handling of variables declared as a typedef to an array
21874 which a DW_AT_data_location attribute.
21875
9a0dc9e3
PA
218762014-08-19 Andrew Burgess <aburgess@broadcom.com>
21877 Pedro Alves <palves@redhat.com>
21878
21879 PR symtab/14604
21880 PR symtab/14605
21881 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21882 gdb_test.
21883
0718a8da
PA
218842014-08-19 Pedro Alves <palves@redhat.com>
21885
21886 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21887
13b448cd
YQ
218882014-08-19 Yao Qi <yao@codesourcery.com>
21889
21890 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21891 right line.
21892
1cbf5077
DB
218932014-08-18 David Blaikie <dblaikie@gmail.com>
21894
21895 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21896
bf0fae19
JB
218972014-08-18 Joel Brobecker <brobecker@adacore.com>
21898
21899 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21900 attribute in array range.
21901
3c8c5dcc
JB
219022014-08-18 Joel Brobecker <brobecker@adacore.com>
21903
21904 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21905
e66d4446
SC
219062014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21907
21908 PR c++/17132
21909 * gdb.cp/pr17132.cc: New file.
21910 * gdb.cp/pr17132.exp: New file.
21911
940df408
SC
219122014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21913
21914 * gdb.python/py-xmethods.py (A_getarrayind)
21915 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21916 Use 'print' with function call syntax.
21917 (E_method_matcher.match): Fix tab vs space indentation mixup.
21918
ebcc6c3a
YQ
219192014-08-15 Yao Qi <yao@codesourcery.com>
21920
21921 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21922 false.
21923
775e0f04
YQ
219242014-08-15 Yao Qi <yao@codesourcery.com>
21925
21926 * gdb.cp/casts.exp: Set print symbol off.
21927 * gdb.cp/class2.exp: Likewise.
21928 * gdb.cp/overload.exp: Likewise.
21929 * gdb.cp/templates.exp: Likewise.
21930
d769e349
DE
219312014-08-11 Doug Evans <dje@google.com>
21932
21933 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21934 (test_load_shlib): Update.
21935
20c6f1e1
YQ
219362014-08-09 Yao Qi <yao@codesourcery.com>
21937
21938 * gdb.base/display.exp: Invoke is_address_zero_readable.
21939 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21940 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21941 * gdb.base/hbreak-unmapped.exp: Return if
21942 is_address_zero_readable returns true.
21943 * gdb.base/signest.exp: Likewise.
21944 * gdb.base/signull.exp: Likewise.
21945 * gdb.base/sigbpt.exp: Likewise.
21946 * gdb.guile/scm-disasm.exp: Do the test if
21947 is_address_zero_readable returns false.
21948 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21949 * gdb.python/py-arch.exp: Likewise.
21950 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21951 * lib/gdb.exp (is_address_zero_readable): New proc.
21952
5792e8e3
YQ
219532014-08-09 Yao Qi <yao@codesourcery.com>
21954
21955 PR testsuite/13443
21956 * gdb.mi/mi-var-display.exp: Make test messages unique.
21957
3cecbbbe
TT
219582014-08-04 Tom Tromey <tromey@redhat.com>
21959
21960 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21961 target 0".
21962
00b51ff5
TT
219632014-08-04 Tom Tromey <tromey@redhat.com>
21964
21965 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21966 "target_resume".
21967
6908c509
JB
219682014-08-01 Joel Brobecker <brobecker@adacore.com>
21969
21970 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21971 inner_vla_struct_object_size.
21972 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21973 as xfail.
21974
cc6563d2
PA
219752014-07-30 Pedro Alves <palves@redhat.com>
21976
21977 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21978 comment.
21979
7e09a223
YQ
219802014-07-29 Yao Qi <yao@codesourcery.com>
21981
21982 PR gdb/17206
21983 * gdb.base/until-nodebug.exp: New.
21984
7ebdbe92
DE
219852014-07-28 Doug Evans <xdje42@gmail.com>
21986
21987 PR guile/17203
21988 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21989 previously existing parameter, and previously ambiguously spelled
21990 parameter.
21991
fdb1adc6
WN
219922014-07-28 Will Newton <will.newton@linaro.org>
21993
21994 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21995
186fcde0
DE
219962014-07-26 Ludovic Courtès <ludo@gnu.org>
21997 Doug Evans <xdje42@gmail.com>
21998
21999 PR guile/17146
22000 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22001
70509625
PA
220022014-07-25 Pedro Alves <palves@redhat.com>
22003
22004 * gdb.threads/signal-command-handle-nopass.c: New file.
22005 * gdb.threads/signal-command-handle-nopass.exp: New file.
22006 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22007 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22008 * gdb.threads/signal-delivered-right-thread.c: New file.
22009 * gdb.threads/signal-delivered-right-thread.exp: New file.
22010
c3f814a1
PA
220112014-07-25 Pedro Alves <palves@redhat.com>
22012
22013 * gdb.base/double-prompt-target-event-error.exp
22014 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22015 match.
22016 (cancel_pagination_in_target_event): Rework double prompt
22017 detection.
22018 * gdb.base/paginate-after-ctrl-c-running.exp
22019 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22020 <return>' match.
22021 * gdb.base/paginate-bg-execution.exp
22022 (test_bg_execution_pagination_return)
22023 (test_bg_execution_pagination_cancel): Remove '-notransfer
22024 <return>' matches.
22025 * gdb.base/paginate-execution-startup.exp
22026 (test_fg_execution_pagination_return)
22027 (test_fg_execution_pagination_cancel): Remove '-notransfer
22028 <return>' matches.
22029 * gdb.base/paginate-inferior-exit.exp
22030 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22031 match.
22032 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22033 * lib/gdb.exp (pagination_prompt): Run text through
22034 string_to_regexp.
22035 (gdb_test_multiple): Match $pagination_prompt instead of
22036 "<return>".
22037 (string_to_regexp): Move to lib/gdb-utils.exp.
22038
e214cf6c
JK
220392014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22040
22041 * gdb.arch/amd64-entry-value-paramref.S: New file.
22042 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22043 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22044 * gdb.arch/amd64-optimout-repeat.S: New file.
22045 * gdb.arch/amd64-optimout-repeat.c: New file.
22046 * gdb.arch/amd64-optimout-repeat.exp: New file.
22047
17d0c5c8
JK
220482014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22049
22050 PR gdb/17170
22051 * gdb.base/statistics.exp: New file.
22052
b8b8facf
DE
220532014-07-17 Doug Evans <dje@google.com>
22054
74b49205 22055 PR gdb/17170
b8b8facf
DE
22056 * gdb.base/maint.exp: Update testing of per-command stats.
22057
1b5d0ab3
PA
220582014-07-16 Pedro Alves <palves@redhat.com>
22059
22060 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22061 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22062 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22063 (tfile_write_buf): New functions.
22064 (add_memory_block): Rewrite using the above.
22065 (adjust_function_address): New function.
22066 (FUNCTION_ADDRESS): New macro.
22067 (write_basic_trace_file): Remove short_x local, and use
22068 tfile_write_16. Change type of func_addr local to unsigned long
22069 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22070 here. Cast argument of add_memory_block to char pointer.
22071 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22072 (main): Remove parameters.
22073 * gdb.trace/tfile.exp: Remove nowarnings.
22074
4d974e88
SM
220752014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22076
22077 * gdb.base/debug-expr.exp: Test string evaluation with
22078 "debug expression" on.
22079
41e99568
PA
220802014-07-15 Pedro Alves <palves@redhat.com>
22081
22082 * gdb.base/reread.exp: Use clean_restart.
22083
487d9753
PL
220842014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22085
22086 * gdb.arch/avr-flash-qualifer.c: New.
22087 * gdb.arch/avr-flash-qualifer.exp: New.
22088
cc1c52ad
PA
220892014-07-14 Pedro Alves <palves@redhat.com>
22090
22091 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22092 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22093
1e973570
PA
220942014-07-14 Pedro Alves <palves@redhat.com>
22095
22096 * gdb.base/double-prompt-target-event-error.c: New file.
22097 * gdb.base/double-prompt-target-event-error.exp: New file.
22098
93d6eb10
PA
220992014-07-14 Pedro Alves <palves@redhat.com>
22100
22101 PR gdb/17072
22102 * gdb.base/paginate-inferior-exit.c: New file.
22103 * gdb.base/paginate-inferior-exit.exp: New file.
22104
0017922d
PA
221052014-07-14 Pedro Alves <palves@redhat.com>
22106
22107 PR gdb/17072
22108 * gdb.base/paginate-bg-execution.c: New file.
22109 * gdb.base/paginate-bg-execution.exp: New file.
22110
94696ad3
PA
221112014-07-14 Pedro Alves <palves@redhat.com>
22112
22113 PR gdb/17072
22114 * gdb.base/paginate-execution-startup.c: New file.
22115 * gdb.base/paginate-execution-startup.exp: New file.
22116 * lib/gdb.exp (pagination_prompt): New global.
22117 (default_gdb_spawn): New procedure, factored out from
22118 default_gdb_spawn.
22119 (default_gdb_start): Adjust to call default_gdb_spawn.
22120 (gdb_spawn): New procedure.
22121
bd293940
PA
221222014-07-14 Pedro Alves <palves@redhat.com>
22123
22124 * lib/gdb.exp (gdb_assert): New procedure.
22125 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22126
c933f875
PA
221272014-07-14 Pedro Alves <palves@redhat.com>
22128
22129 * gdb.base/execution-termios.c: New file.
22130 * gdb.base/execution-termios.exp: New file.
22131
d98b7a16
TT
221322014-07-14 Tom Tromey <tromey@redhat.com>
22133
22134 * gdb.cp/vla-cxx.cc: New file.
22135 * gdb.cp/vla-cxx.exp: New file.
22136
548740d6
TT
221372014-07-14 Tom Tromey <tromey@redhat.com>
22138
22139 * gdb.reverse/rerun-prec.c: New file.
22140 * gdb.reverse/rerun-prec.exp: New file.
22141
a25eb028
MR
221422014-07-12 Maciej W. Rozycki <macro@mips.com>
22143 Maciej W. Rozycki <macro@codesourcery.com>
22144
22145 * lib/gdb-utils.exp: New file.
22146 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22147 inline `gdb_init_command' processing.
22148 (gdb_start_cmd): Likewise.
22149 * lib/mi-support.exp (mi_run_cmd): Likewise.
22150 * README: Document `gdb_init_command' and `gdb_init_commands'.
22151
218c2655
JK
221522014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22153
22154 Fix false FAIL running under a very long directory name.
22155 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22156 and "set print elements 10000". Twice.
22157
5401fde3
YQ
221582014-07-11 Yao Qi <yao@codesourcery.com>
22159
22160 * gdb.base/exprs.exp: "set print symbol off".
22161
e76126e8
PA
221622014-07-11 Pedro Alves <palves@redhat.com>
22163
22164 * gdb.threads/kill.c: New file.
22165 * gdb.threads/kill.exp: New file.
22166
2d6f0de6
YQ
221672014-07-10 Yao Qi <yao@codesourcery.com>
22168
22169 * gdb.trace/tfile.c (write_basic_trace_file)
22170 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22171 address written to trace file.
22172
7180e04a
PA
221732014-07-09 Pedro Alves <palves@redhat.com>
22174
22175 * gdb.base/attach-wait-input.exp: New file.
22176 * gdb.base/attach-wait-input.c: New file.
22177
9a9a7608
AB
221782014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22179
22180 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22181 setting up test structures.
22182 (main): Call new test function.
22183 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22184 test function, continue into test function and walk test
22185 structures.
22186
161ac41e
YQ
221872014-07-02 Yao Qi <yao@codesourcery.com>
22188
22189 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22190 'bar_start' at the beginning of functions 'foo' and 'bar'
22191 respectively.
22192 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22193 instead of 'foo' and 'bar'.
22194
1f267ae3
MM
221952014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22196
22197 * gdb.btrace/segv.exp: New.
22198 * gdb.btrace/segv.c: New.
22199
2b239efb
LM
222002014-07-02 Luis Machado <lgustavo@codesourcery.com>
22201
22202 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22203 instruction.
22204
cf363f18
MW
222052014-06-30 Mark Wielaard <mjw@redhat.com>
22206
22207 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22208 vulture, vilify, villar): New volatile array constants.
22209 (vindictive, vegetation): New const volatile array constants.
22210 * gdb.base/volatile.exp: Test volatile and const volatile array
22211 types.
22212
aebf9d24
AA
222132014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22214
22215 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22216 target lacks support for awatch, rwatch, or hbreak.
22217
b67a2c6f
YQ
222182014-06-27 Yao Qi <yao@codesourcery.com>
22219
22220 * gdb.multi/dummy-frame-restore.exp: New.
22221 * gdb.multi/dummy-frame-restore.c: New.
22222
aef92902
MM
222232014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22224
22225 * gdb.btrace/gcore.exp: New.
22226
8e9db26e
PA
222272014-06-23 Pedro Alves <palves@redhat.com>
22228
22229 * gdb.base/watchpoint-reuse-slot.c: New file.
22230 * gdb.base/watchpoint-reuse-slot.exp: New file.
22231
70afc5b7
SC
222322014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22233
22234 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22235 progspace's filename in 'info', 'enable' and 'disable' command
22236 tests.
22237
b972bd9c
JK
222382014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22239
22240 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22241 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22242 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22243
125f8a3d
GB
222442014-06-20 Gary Benson <gbenson@redhat.com>
22245
22246 * gdb.arch/i386-avx.exp: Fix include file location.
22247 * gdb.arch/i386-sse.exp: Likewise.
22248
3ed9baed
IB
222492014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22250
22251 * gdb.dlang/expression.exp: New file.
22252
034f788c
PA
222532014-06-19 Pedro Alves <palves@redhat.com>
22254
22255 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22256 out from ...
22257 (top level): ... here. Iterate running tests under different
22258 scheduler-locking settings.
22259
45371d0c
LM
222602014-06-18 Luis Machado <lgustavo@codesourcery.com>
22261
22262 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22263 to DW_FORM_addr and use non-zero addresses.
22264
5d376983
SC
222652014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22266
22267 PR gdb/17017
22268 * gdb.python/py-xmethods.cc: Add global function call counters and
22269 increment them in their respective functions. Remove "cout"
22270 statements.
22271 * gdb.python/py-xmethods.exp: Make tests check the global function
22272 call counters instead of depending on inferior IO.
22273
a1aa2221
LM
222742014-06-18 Don Breazeal <donb@codesourcery.com>
22275
22276 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22277 Deleted procedure.
22278 (explicit_fork_parent_follow): Deleted procedure.
22279 (explicit_fork_child_follow): Deleted procedure.
22280 (test_follow_fork): New procedure.
22281 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22282 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22283 procedure calls.
22284
0fc05997
YQ
222852014-06-17 Yao Qi <yao@codesourcery.com>
22286
22287 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22288 CP1252.
22289
70795c52
LM
222902014-06-17 Luis Machado <lgustavo@codesourcery.com>
22291
22292 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22293 Initialize ptr and S explicitly.
22294 (skip_type_update_when_not_use_rtti_test): Likewise.
22295
6be47f0c
KS
222962014-06-16 Keith Seitz <keiths@redhat.com>
22297
22298 PR mi/15863
22299 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22300 the inferior is started.
22301
d03de421
PA
223022014-06-16 Pedro Alves <palves@redhat.com>
22303
22304 * gdb.base/break-main-file-remove-fail.c: New file.
22305 * gdb.base/break-main-file-remove-fail.exp: New file.
22306 * gdb.base/break-unload-file.exp: Use build_executable instead of
22307 prepare_for_testing.
22308 (test_break): New parameter "initial_load". Handle it.
22309 (top level): Add initial_load cmdline/file axis.
22310
f9579b99
TT
223112014-06-12 Tom Tromey <tromey@redhat.com>
22312
22313 * gdb.base/completion.exp: Don't use directory name in test.
22314
3657956b
GB
223152014-06-09 Gary Benson <gbenson@redhat.com>
22316
22317 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22318 separate the always-available ANSI-standard signals from the
22319 signals that require checking.
22320 (main): Likewise.
22321 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22322 Likewise.
22323 (main): Likewise.
22324
4186eb54
KS
223252014-06-07 Keith Seitz <keiths@redhat.com>
22326
22327 Revert:
22328 PR c++/16253
22329 * gdb.cp/var-tag.cc: New file.
22330 * gdb.cp/var-tag.exp: New file.
22331 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22332 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22333 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22334 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22335
25326a28 223362014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22337
22338 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22339
829155c9
PA
223402014-06-06 Pedro Alves <palves@redhat.com>
22341
22342 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22343 in target debug output instead of looking at RSP packets,
22344 disabling the test on any target that uses hardware stepping.
22345 Update comments.
22346
61c8d22e
PA
223472014-06-06 Pedro Alves <palves@redhat.com>
22348
22349 * gdb.base/break-unload-file.exp: Fix typo.
22350
d9a47287
YQ
223512014-06-06 Yao Qi <yao@codesourcery.com>
22352
22353 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22354 from "jit_function" to "^jit_function".
22355
e5e01dbf
YQ
223562014-06-06 Yao Qi <yao@codesourcery.com>
22357
22358 * gdb.base/async.c (foo): Add one statement.
22359 * gdb.base/async.exp: Get the next instruction address and
22360 match the output of "nexti" by instruction address. Match
22361 the hex address in the output of "finish".
22362
73ba372c
GB
223632014-06-06 Gary Benson <gbenson@redhat.com>
22364
22365 * gdb.base/call-signals.c: Remove preprocessor conditionals
22366 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22367 SIGSEGV and SIGTERM.
22368 * gdb.base/sigall.c: Likewise.
22369 * gdb.base/unwindonsignal.c: Likewise.
22370 * gdb.reverse/sigall-reverse.c: Likewise.
22371
831517df
YQ
223722014-06-06 Yao Qi <yao@codesourcery.com>
22373
22374 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22375 readable, skip the test.
22376
b8b91e98
YQ
223772014-06-06 Yao Qi <yao@codesourcery.com>
22378
22379 * gdb.threads/staticthreads.c (thread_function): Move the line
22380 setting breakpoint on forward.
22381 * gdb.threads/staticthreads.exp: Update comments.
22382
fb934770
LC
223832014-06-05 Ludovic Courtès <ludo@gnu.org>
22384
22385 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22386 "history-append! type error".
22387
6ef284bd
SM
223882014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22389
22390 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22391 erroneous dprintf expected input.
22392
a872e241
DE
223932014-06-04 Doug Evans <xdje42@gmail.com>
22394
22395 * gdb.guile/scm-generics.exp: Delete.
22396
16f691fb
DE
223972014-06-04 Doug Evans <xdje42@gmail.com>
22398
22399 * gdb.guile/scm-breakpoint.exp: Update.
22400 Add tests for breakpoint registration.
22401
012370f6
TT
224022014-06-04 Tom Tromey <tromey@redhat.com>
22403
22404 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22405 VLA-in-union.
22406 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22407 inner_vla_struct, vla_union types. Initialize objects of those
22408 types and compute their sizes.
22409
9f5a4cef
HZ
224102014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22411 Hui Zhu <hui@codesourcery.com>
22412
22413 * gdb.base/fileio.exp: Add test for shell not available as well as
22414 available.
22415 * gdb.base/fileio.c (test_system): Check for shell twice.
22416
90a45c4d
YQ
224172014-06-04 Yao Qi <yao@codesourcery.com>
22418
22419 * gdb.base/auto-connect-native-target.exp: Remove redundant
22420 space from the regexp pattern.
22421
70017e41
YQ
224222014-06-04 Yao Qi <yao@codesourcery.com>
22423
22424 * gdb.base/default.exp: Replace "child" with "native" in
22425 regexp pattern.
22426
883964a7
SC
224272014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22428
22429 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22430 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22431 * gdb.python/py-xmethods.py: Python script supporting the
22432 new testcase and tests.
22433
ef370185
JB
224342014-06-03 Joel Brobecker <brobecker@adacore.com>
22435 Pedro Alves <palves@redhat.com>
22436
22437 PR breakpoints/17000
22438 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22439 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22440
1e2ccb61
BM
224412014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22442
22443 * gdb.base/subst.exp: Add tests to verify partial path matching
22444 output.
22445
c6ec5ab2
PA
224462014-06-03 Pedro Alves <palves@redhat.com>
22447
22448 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22449 target that doesn't use software single-stepping.
22450
835c559f
PA
224512014-06-03 Pedro Alves <palves@redhat.com>
22452
22453 PR breakpoints/17000
22454 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22455 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22456
06eb1586
DE
224572014-06-02 Doug Evans <xdje42@gmail.com>
22458
22459 * gdb.guile/scm-parameter.exp: New file.
22460
e698b8c4
DE
224612014-06-02 Doug Evans <xdje42@gmail.com>
22462
22463 * gdb.guile/scm-cmd.c: New file.
22464 * gdb.guile/scm-cmd.exp: New file.
22465
ded03782
DE
224662014-06-02 Doug Evans <xdje42@gmail.com>
22467
22468 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22469 pretty-printer lookup.
22470 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22471 (make-pp_s-printer): Call it.
22472 (make-pretty-printer-from-dict): New function.
22473 (lookup-pretty-printer-maker-from-dict): New function.
22474 (*pretty-printer*): Simplify.
22475 (make-objfile-pp_s-printer): New function.
22476 (install-objfile-pretty-printers!): New function.
22477 (make-progspace-pp_s-printer): New function.
22478 (install-progspace-pretty-printers!): New function.
22479 * gdb.guile/scm-progspace.c: New file.
22480 * gdb.guile/scm-progspace.exp: New file.
22481
41fac0cf
PA
224822014-06-02 Pedro Alves <palves@redhat.com>
22483
22484 * gdb.base/dprintf-bp-same-addr.c: New file.
22485 * gdb.base/dprintf-bp-same-addr.exp: New file.
22486
96ae5695
EBM
224872014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22488
22489 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22490 * gdb.arch/powerpc-power.s: Likewise.
22491
da02b3a8
JB
224922014-06-02 Joel Brobecker <brobecker@adacore.com>
22493
22494 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22495
c72b2e7b
YQ
224962014-06-01 Yao Qi <yao@codesourcery.com>
22497
22498 * gdb.base/watchpoint.exp (test_watch_location): Check null
22499 pointer can be dereferenced. If not, do the test, otherwise
22500 skip it.
22501
53e8a631
AB
225022014-05-30 Andrew Burgess <aburgess@broadcom.com>
22503
22504 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22505 results.
22506 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22507
938f0e2f
AB
225082014-05-30 Andrew Burgess <aburgess@broadcom.com>
22509
22510 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22511 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22512 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22513 * gdb.arch/amd64-invalid-stack-top.c: New file.
22514 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22515
9ba6657a
PA
225162014-05-30 Pedro Alves <palves@redhat.com>
22517
22518 PR breakpoints/17000
22519 * gdb.base/sss-bp-on-user-bp.c: New file.
22520 * gdb.base/sss-bp-on-user-bp.exp: New file.
22521
522c09bf
DB
225222014-05-30 David Blaikie <dblaikie@gmail.com>
22523
22524 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22525 gnu_inline semantics via attribute.
22526 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22527 source explicitly specifies the required semantics.
22528
bf4ef81e
MR
225292014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22530
22531 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22532
329ea579
PA
225332014-05-29 Pedro Alves <palves@redhat.com>
22534 Tom Tromey <tromey@redhat.com>
22535
22536 * gdb.base/async-shell.exp: Don't enable target-async.
22537 * gdb.base/async.exp
22538 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22539 parameter. Adjust.
22540 (top level): Don't test with "target-async".
22541 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22542 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22543 * gdb.base/inferior-died.exp: Don't enable target-async.
22544 * gdb.base/interrupt-noterm.exp: Likewise.
22545 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22546 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22547 * gdb.mi/mi-nonstop.exp: Likewise.
22548 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22549 * gdb.mi/mi-nsintrall.exp: Likewise.
22550 * gdb.mi/mi-nsmoribund.exp: Likewise.
22551 * gdb.mi/mi-nsthrexec.exp: Likewise.
22552 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22553 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22554 * gdb.python/py-evsignal.exp: Don't enable target-async.
22555 * gdb.python/py-evthreads.exp: Likewise.
22556 * gdb.python/py-prompt.exp: Likewise.
22557 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22558 * gdb.server/solib-list.exp: Don't enable target-async.
22559 * gdb.threads/thread-specific-bp.exp: Likewise.
22560 * lib/mi-support.exp: Adjust to use mi-async.
22561
fd664c91
PA
225622014-05-29 Pedro Alves <palves@redhat.com>
22563
22564 PR gdb/13860
22565 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22566 reason, even in sync mode.
22567
251bde03
PA
225682014-05-29 Pedro Alves <palves@redhat.com>
22569 Hui Zhu <hui@codesourcery.com>
22570
22571 PR PR15693
22572 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22573 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22574 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22575 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22576
7f3c0343
JB
225772014-05-28 Joel Brobecker <brobecker@adacore.com>
22578
22579 * config/monitor.exp (gdb_target_monitor): Replace use of
22580 "set remotebaud" by "set serial baud".
22581
b2715b27
AW
225822014-05-26 Andy Wingo <wingo@igalia.com>
22583
22584 * gdb.guile/scm-breakpoint.exp:
22585 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22586 properties instead of gdb-object-properties.
22587
498a4489
YQ
225882014-05-26 Yao Qi <yao@codesourcery.com>
22589
22590 * gdb.server/no-thread-db.exp: Specify source file name
22591 explicitly when setting a breakpoint.
22592
589fdceb
MM
225932014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22594
22595 * gdb.btrace/vdso.c: New.
22596 * gdb.btrace/vdso.exp: New.
22597
e9089e05
MM
225982014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22599
22600 * gdb.base/gcore.exp (capture_command_output): Move ...
22601 * lib/gdb.exp (capture_command_output): ... here.
22602
67b5c0c1
MM
226032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22604
22605 * gdb.btrace/data.exp: Test memory access during btrace replay.
22606
a2199296
SM
226072014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22608
22609 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22610
17b2616c
PA
226112014-05-21 Pedro Alves <palves@redhat.com>
22612
22613 PR gdb/13860
22614 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22615 (top level): Test that output related to execution commands is
22616 sent to the console with CLI commands, but not with MI commands.
22617 Test that breakpoint events are always mirrored to the console.
22618 Also expect the new source line to be output after a "next" in
22619 async mode too. Make it a pass/fail test.
22620 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22621 output.
22622 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22623
5166082f
PA
226242014-05-21 Pedro Alves <palves@redhat.com>
22625
22626 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22627 Use them to test variations of "list" after reaching a breakpoint.
22628 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22629 Test "list" with listsize 10 after reaching a breakpoint.
22630 * gdb.python/python.exp (decode_line current location line
22631 number): Adjust expected line number.
22632
2f25d70f
SM
226332014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22634
22635 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22636 behavior for $args, pass it directly to "run".
22637
ff604a67
MR
226382014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22639
22640 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22641 30000 to 65536.
22642
6a3cb8e8
PA
226432014-05-21 Pedro Alves <palves@redhat.com>
22644
22645 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22646 auto-connect-native-target off".
22647 * gdb.base/auto-connect-native-target.c: New file.
22648 * gdb.base/auto-connect-native-target.exp: New file.
22649
4ebfc96e
PA
226502014-05-21 Pedro Alves <palves@redhat.com>
22651
22652 * gdb.base/default.exp: Test "target native" instead of "target
22653 child".
22654
36d46afb
MW
226552014-05-21 Mark Wielaard <mjw@redhat.com>
22656
22657 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22658
5876f503
JK
226592014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22660
22661 Fix TLS access for -static -pthread.
22662 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22663 <HAVE_TLS> (thread_function, main): Initialize it.
22664 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22665 Add clean_restart.
22666 <$have_tls != "">: Check TLSVAR.
22667
0256a6ac
PA
226682014-05-21 Pedro Alves <palves@redhat.com>
22669
22670 * gdb.base/dcache-line-read-error.c: New.
22671 * gdb.base/dcache-line-read-error.exp: New.
22672
936d2992
PA
226732014-05-20 Pedro Alves <palves@redhat.com>
22674
22675 * gdb.base/compare-sections.c: New file.
22676 * gdb.base/compare-sections.exp: New file.
22677
802e8e6d
PA
226782014-05-20 Pedro Alves <palves@redhat.com>
22679
22680 * gdb.base/break-idempotent.c: New file.
22681 * gdb.base/break-idempotent.exp: New file.
22682
e59fa00f
MM
226832014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22684
22685 * gdb.btrace/nohist.exp: New.
22686
8b696e31
YQ
226872014-05-20 Yao Qi <yao@codesourcery.com>
22688
22689 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22690 gdb.reverse directory and gdb_reverse_timeout exists in board
22691 setting.
22692 * README: Document gdb_reverse_timeout.
22693
73c9764f
YQ
226942014-05-20 Yao Qi <yao@codesourcery.com>
22695
22696 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22697 'test_file_name'. Treat args as a string instead of a list.
22698 (gdb_init): Rename argument 'args' by 'test_file_name'.
22699
f1f4348a
JK
227002014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22701
22702 * gdb.arch/powerpc-power.exp: New file.
22703 * gdb.arch/powerpc-power.s: New file.
22704
0dbe70ce
DE
227052014-05-16 Doug Evans <dje@google.com>
22706
22707 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22708 * gdb.base/completion.exp: Check that all expected files exist
22709 before doing file completion.
0dbe70ce 22710
8d551b02
DE
227112014-05-16 Doug Evans <dje@google.com>
22712
22713 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22714 Update.
22715 (do_syscall_tests_without_xml): Update.
22716
73eb7709
PA
227172014-05-16 Pedro Alves <palves@redhat.com>
22718
22719 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22720 instead of "unknown output after running".
22721
3fae92fc
YQ
227222014-05-16 Yao Qi <yao@codesourcery.com>
22723
22724 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22725 file1.txt from host at the end.
22726 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22727
c2b2ccc5
DE
227282014-05-15 Doug Evans <dje@google.com>
22729
22730 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22731 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22732 loading file. Add test for TU lookup.
22733
8c217a4b
SM
227342014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22735
22736 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22737 calling "-exec-arguments" or "set args" before running the
22738 inferior.
22739
3deb39c6
SM
227402014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22741
22742 * lib/mi-support.exp (mi_expect_stop): Expect message for
22743 inferiors that exit with non-zero exit code.
22744
71a79f8c
YQ
227452014-05-14 Yao Qi <yao@codesourcery.com>
22746
22747 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22748 match absolute path on remote host.
22749 (test_file_list_exec_source_files): Remove "/" from the
22750 pattern.
22751
f23fcd46
YQ
227522014-05-14 Yao Qi <yao@codesourcery.com>
22753
22754 * boards/local-remote-host-notty.exp (${board}_file): New
22755 proc.
22756
9404b58f
KM
227572014-05-07 Kyle McMartin <kyle@redhat.com>
22758
22759 Pushed by Joel Brobecker <brobecker@adacore.com>.
22760 * gdb.arch/aarch64-atomic-inst.c: New file.
22761 * gdb.arch/aarch64-atomic-inst.exp: New file.
22762
5e45f04c
YQ
227632014-05-07 Yao Qi <yao@codesourcery.com>
22764
22765 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22766 in current context" too.
22767
c888a17d
KS
227682014-05-05 Keith Seitz <keiths@redhat.com>
22769
22770 * gdb.linespec/ls-dollar.exp: Add test for linespec
22771 file:convenience_variable.
22772
290a839c
YQ
227732014-05-05 Yao Qi <yao@codesourcery.com>
22774
22775 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22776 traceframes into tfile and ctf trace files. Read data from
22777 trace file and test collected data.
22778 (gdb_collect_locals_test): Likewise.
22779 (gdb_unavailable_registers_test): Likewise.
22780 (gdb_unavailable_floats): Likewise.
22781 (gdb_collect_globals_test): Likewise.
22782 (top-level): Append "ctf" to trace_file_targets if GDB
22783 supports.
22784
b5262cd0
YQ
227852014-05-05 Yao Qi <yao@codesourcery.com>
22786
22787 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22788 code to ...
22789 (gdb_collect_args_test_1): ... it. New proc.
22790 (gdb_collect_locals_test): Move some code to ...
22791 (gdb_collect_locals_test_1): ... it. New proc.
22792 (gdb_unavailable_registers_test): Move some code to ...
22793 (gdb_unavailable_registers_test_1): ... it. New proc.
22794 (gdb_unavailable_floats): Move some code to ...
22795 (gdb_unavailable_floats_1): ... it. New proc.
22796
30a1e6cc
SDJ
227972014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22798
22799 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22800 probes to test for bitness recognition.
22801 * gdb.arch/amd64-stap-optional-prefix.exp
22802 (test_probe_value_without_reg): New procedure.
22803 Add code to test for different kinds of bitness.
22804
f33da99a
SDJ
228052014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22806
22807 PR breakpoints/16889
22808 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22809 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22810
5b80f00d
PA
228112014-05-01 Pedro Alves <palves@redhat.com>
22812
22813 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22814 gdb_file_cmd if no file is specified.
22815 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22816 last_loaded_file to set the remote exec-file.
22817
f8c2a73c
PA
228182014-05-01 Pedro Alves <palves@redhat.com>
22819
22820 * boards/local-remote-host.exp: New file.
22821
be6e8ac7
PA
228222014-05-01 Pedro Alves <palves@redhat.com>
22823
22824 * boards/local-remote-host.exp: Rename to ...
22825 * boards/local-remote-host-notty.exp: ... this.
22826
cac0dc8f
JB
228272014-04-28 Joel Brobecker <brobecker@adacore.com>
22828
22829 * gdb.ada/dyn_arrayidx: New testcase.
22830
9730e6cc
YQ
228312014-04-26 Yao Qi <yao@codesourcery.com>
22832
22833 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22834 and compute the length of function main. Save it in
22835 $main_length.
22836 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22837 (top-level): Use gdb_compile to compile objects into
22838 executable and restart GDB. Remove invocation to
22839 prepare_for_testing.
22840
7ae1a6a6
PA
228412014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22842 Pedro Alves <palves@redhat.com>
22843
22844 PR server/16255
22845 * gdb.multi/multi-attach.c: New file.
22846 * gdb.multi/multi-attach.exp: New file.
22847
4082afcc
PA
228482014-04-25 Pedro Alves <palves@redhat.com>
22849
22850 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22851 user.
22852 (top level): Test that "set remote conditional-breakpoints-packet
22853 off" works as intended.
22854 * gdb.base/dprintf.exp: Test that "set remote
22855 breakpoint-commands-packet off" works as intended.
22856 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22857 New function.
22858 (top level): Call it.
22859 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22860 remote fast-tracepoints-packet off" works as intended.
22861 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22862 * lib/gdb.exp (gdb_is_target_remote): ... here.
22863
2abc3f8d
DB
228642014-04-24 David Blaikie <dblaikie@gmail.com>
22865
22866 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22867 ensure clang would not discard them.
22868 * gdb.base/gdbvars.c: Ditto.
22869 * gdb.base/memattr.c: Ditto.
22870 * gdb.base/whatis.c: Ditto.
22871 * gdb.python/py-prettyprint.c: Ditto.
22872 * gdb.trace/actions.c: Ditto.
22873 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22874 ensure clang would not discard it.
22875
bfd39632
DB
228762014-04-24 David Blaikie <dblaikie@gmail.com>
22877
22878 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22879 clang to emit the full definition of type required by the test
22880 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22881
22842ff6
DB
228822014-04-24 David Blaikie <dblaikie@gmail.com>
22883
22884 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22885 coax Clang into emitting the definition of the type.
22886 * gdb.cp/pr10728-x.h (y): Ditto.
22887 * gdb.cp/pr10728-y.cc (y): Ditto.
22888
c2e827ad
DB
228892014-04-24 David Blaikie <dblaikie@gmail.com>
22890
22891 * gdb.base/label.exp: XFAIL label related tests under Clang.
22892 * gdb.cp/cplabel.exp: Ditto.
22893 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22894 under Clang those using labels.
22895
4c2d33e7
YQ
228962014-04-25 Yao Qi <yao@codesourcery.com>
22897
22898 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22899 double_label.
22900 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22901 partial_label and double_label.
22902
56083b99
DB
229032014-04-24 David Blaikie <dblaikie@gmail.com>
22904
22905 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22906
25d4e99d
DB
229072014-04-24 David Blaikie <dblaikie@gmail.com>
22908
22909 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22910 of the function to work across GCC and Clang.
22911 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22912 pointer types (const void ** const V void **).
22913
01f9f808
MS
229142014-04-24 Michael Sturm <michael.sturm@mintel.com>
22915 Walfred Tedeschi <walfred.tedeschi@intel.com>
22916
22917 * Makefile.in (EXECUTABLES): Added i386-avx512.
22918 * gdb.arch/i386-avx512.c: New file.
22919 * gdb.arch/i386-avx512.exp: Likewise.
22920
4b48d439
KS
229212014-04-23 Keith Seitz <keiths@redhat.com>
22922
22923 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22924 (mi_make_breakpoint_table): New procedure.
22925 (mi_create_breakpoint): Use mi_make_breakpoint
22926 and return the result.
22927 (mi_make_breakpoint): New procedure.
22928 (mi_build_kv_pairs): New procedure.
22929
22930 * gdb.mi/mi-break.exp: Remove unused globals,
22931 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22932 All callers updated.
22933 * gdb.mi/mi-dprintf.exp: Use variable to track command
22934 number.
22935 Update all callers of mi_create_breakpoint and use
22936 mi_make_breakpoint_table.
22937 Remove any unused global variables.
22938 * gdb.mi/mi-nonstop.exp: Likewise.
22939 * gdb.mi/mi-nsintrall.exp: Likewise.
22940 * gdb.mi/mi-nsmoribund.exp: Likewise.
22941 * gdb.mi/mi-nsthrexec.exp: Likewise.
22942 * gdb.mi/mi-reverse.exp: Likewise.
22943 * gdb.mi/mi-simplerun.exp: Likewise.
22944 * gdb.mi/mi-stepn.exp: Likewise.
22945 * gdb.mi/mi-syn-frame.exp: Likewise.
22946 * gdb.mi/mi-until.exp: Likewise.
22947 * gdb.mi/mi-var-cp.exp: Likewise.
22948 * gdb.mi/mi-var-display.exp: Likewise.
22949 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22950 * gdb.mi/mi2-var-child.exp: Likewise.
22951 * gdb.mi/mi-vla-c99.exp: Likewise.
22952 * lib/mi-support.exp: Likewise.
22953
22954 From Ian Lance Taylor <iant@cygnus.com>:
22955 * lib/gdb.exp (parse_args): New procedure.
22956
08351840
PA
229572014-04-23 Pedro Alves <palves@redhat.com>
22958
22959 * gdb.base/break-unload-file.c: New file.
22960 * gdb.base/break-unload-file.exp: New file.
22961 * gdb.base/sym-file-lib.c (baz): New function.
22962 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22963 field.
22964 (load): Store the segment's mapped size.
22965 (unload): New function.
22966 (unload_shlib): New function.
22967 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22968 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22969 set a breakpoint at baz, and call it.
22970 * gdb.base/sym-file.exp: New tests for stale breakpoint
22971 instructions.
22972
076855f9
PA
229732014-04-23 Pedro Alves <palves@redhat.com>
22974
22975 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22976 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22977 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22978 * gdb.base/hbreak-unmapped.c: New file.
22979 * gdb.base/hbreak-unmapped.exp: New file.
22980 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22981 * lib/gdb.exp (gdb_is_target_remote): ... here.
22982
483805cf
PA
229832014-04-22 Pedro Alves <palves@redhat.com>
22984
22985 * gdb.base/consecutive-step-over.c: New file.
22986 * gdb.base/consecutive-step-over.exp: New file.
22987
06d97543
PA
229882014-04-22 Pedro Alves <palves@redhat.com>
22989
22990 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22991 instead of send_gdb/gdb_expect.
22992
b4429ea2
YQ
229932014-04-22 Yao Qi <yao@codesourcery.com>
22994
22995 * lib/trace-support.exp (generate_tracefile): New procedure.
22996 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22997 return 0.
22998 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22999 if generate_tracefile returns 1.
23000
51d48146
PA
230012014-04-18 Tom Tromey <palves@redhat.com>
23002 Pedro alves <tromey@redhat.com>
23003
23004 PR backtrace/15558
23005 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23006 with a backtrace limit.
23007 * gdb.python/py-frame-inline.exp: Test running to an inline
23008 function with a backtrace limit, and printing the newest frame.
23009 * gdb.python/py-frame-inline.c (main): Call f.
23010
bd1dce5f
MS
230112014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23012
23013 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23014
40d1a503
MS
230152014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23016
23017 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23018 Drop prefix from unsupported source file path.
23019
389b98f7
YQ
230202014-04-17 Yao Qi <yao@codesourcery.com>
23021
23022 * lib/gdb.exp (with_target_charset): New proc.
23023 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23024 with_target_charset.
23025 (test_print_strings): Likewise.
23026 (test_repeat_bytes): Likewise.
23027 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23028 for some tests.
23029
22869d73
KS
230302014-04-16 Keith Seitz <keiths@redhat.com>
23031
23032 PR gdb/15827
23033 * gdb.dwarf2/corrupt.c: New file.
23034 * gdb.dwarf2/corrupt.exp: New file.
23035
c4f87ca6
KS
230362014-04-16 Keith Seitz <keiths@redhat.com>
23037
23038 PR c++/16597
23039 * gdb.cp/namelessclass.cc: New file.
23040 * gdb.cp/namelessclass.exp: New file.
23041 * gdb.cp/namelessclass.S: New file.
23042
ab19de87
DE
230432014-04-16 Doug Evans <dje@google.com>
23044
23045 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23046 Add comment.
23047 (gdbserver_default_get_comm_port): New function.
23048 (gdbserver_start): Check if board file provided
23049 "gdbserver,get_comm_port" and use it if so.
23050 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23051 (gdb,socketport): Set to "stdio".
23052 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23053 (stdio_gdbserver_template): Delete.
23054 (${board}_get_remote_address): Update.
23055 (${board}_build_remote_cmd): Delete.
23056 (${board}_get_comm_port): New function.
23057 (${board}_spawn): Update.
23058 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23059 Delete.
23060 (${board}_get_remote_address): Update.
23061 (${board}_get_comm_port): New function.
23062
fc98a809
AB
230632014-04-16 Andrew Burgess <aburgess@broadcom.com>
23064
23065 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23066 appearing in any order.
23067
87fd9e6e
DE
230682014-04-15 Doug Evans <dje@google.com>
23069
23070 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23071 uninitialized value of "description".
23072
099fc3ea
KS
230732014-04-15 Keith Seitz <keiths@redhat.com>
23074
23075 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23076 Remove unused globals.
23077 (test_running_the_program): Likewise.
23078 (test_controlled_execution): Likewise.
23079 (test_controlling_breakpoints): Likewise.
23080 (test_program_termination): Likewise.
23081
5da151d4
KS
230822014-04-15 Keith Seitz <keiths@redhat.com>
23083
23084 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23085 unused globals.
23086 (test_rbreak_creation_and_listing): Likewise.
23087 (test_ignore_count): Likewise.
23088 (test_error): Likewise.
23089
35e5d2f0
PA
230902014-04-15 Pedro Alves <palves@redhat.com>
23091
23092 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23093 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23094 sym-file-loader.c.
23095 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23096 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23097 to sym-file-loader.c.
23098 (struct library): Forward declare.
23099 (load_shlib, lookup_function): Change prototypes.
23100 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23101 (translate_offset): Remove declarations.
23102 (get_text_addr): New declaration.
23103 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23104 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23105 sym-file-loader.h.
23106 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23107 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23108 here from sym-file-loader.h.
23109 (struct library): New structure.
23110 (load_shlib, lookup_function): Change prototypes and adjust to
23111 work with a struct library.
23112 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23113 (translate_offset): Make static.
23114 (get_text_addr): New function.
23115 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23116
eb4c1710
PA
231172014-04-15 Pedro Alves <palves@redhat.com>
23118
23119 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23120
2d1baf52
PA
231212014-04-15 Pedro Alves <palves@redhat.com>
23122
23123 * gdb.base/sym-file-loader.c: Include <limits.h>.
23124 (SELF_LINK): New define.
23125 (get_origin): New function.
23126 (load_shlib): Use it.
23127 * gdb.base/sym-file.exp: Don't early return if the target is
23128 remote. Use runto_main, and issue fail is that fails. Use
23129 gdb_load_shlibs.
23130 (shlib_name): Delete.
23131 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23132
7dd6df01
PA
231332014-04-15 Pedro Alves <palves@redhat.com>
23134
23135 * gdb.base/sym-file.exp: Remove regex characters from test
23136 message. Don't refer to breakpoint numbers in test messages.
23137
b50c8614
KS
231382014-04-14 Keith Seitz <keiths@redhat.com>
23139
23140 PR c++/16253
23141 * gdb.cp/var-tag.cc: New file.
23142 * gdb.cp/var-tag.exp: New file.
23143 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23144 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23145 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23146 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23147
3d567982
TT
231482014-04-14 Tom Tromey <tromey@redhat.com>
23149
23150 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23151 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23152 type.
23153 * gdb.cp/enum-class.exp: New file.
23154 * gdb.cp/enum-class.cc: New file.
23155
0626fc76
TT
231562014-04-14 Tom Tromey <tromey@redhat.com>
23157
23158 * gdb.dwarf2/enum-type.exp: New file.
23159
dca325b3
SA
231602014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23161
23162 * gdb.mi/mi-vla-c99.exp: New file.
23163 * gdb.mi/vla.c: New file.
23164
5854b38a
SA
231652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23166
23167 * gdb.base/vla-datatypes.c: New file.
23168 * gdb.base/vla-datatypes.exp: New file.
23169
463bb957
SA
231702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23171
23172 * gdb.base/vla-ptr.c: New file.
23173 * gdb.base/vla-ptr.exp: New file.
23174
3dd170be
SA
231752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23176
23177 * gdb.dwarf2/count.exp: New file.
23178
5ecaaa66
SA
231792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23180
23181 * gdb.base/vla-sideeffect.c: New file.
23182 * gdb.base/vla-sideeffect.exp: New file.
23183
41f1ada5
DB
231842014-04-14 David Blaikie <dblaikie@gmail.com>
23185
23186 * gdb.mi/non-stop.c: Add return value for non-void function return
23187 statement.
23188 * gdb.threads/staticthreads.c: Ditto.
23189
0be03e84
DE
231902014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23191 Doug Evans <xdje42@gmail.com>
23192
23193 * gdb.guile/scm-value.c: Improve test case.
23194 * gdb.guile/scm-value.exp: Add new test.
23195
f180a1fb
DB
231962014-04-11 David Blaikie <dblaikie@gmail.com>
23197
23198 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23199 override Clang's default.
23200
6b662e19
JB
232012014-04-11 Joel Brobecker <brobecker@adacore.com>
23202
23203 Revert the following changes (regressions):
23204
23205 * gdb.base/vla-sideeffect.c: New file.
23206 * gdb.base/vla-sideeffect.exp: New file.
23207
23208 * gdb.dwarf2/count.exp: New file.
23209
23210 * gdb.base/vla-multi.c: New file.
23211 * gdb.base/vla-multi.exp: New file.
23212
23213 * gdb.base/vla-ptr.c: New file.
23214 * gdb.base/vla-ptr.exp: New file.
23215
23216 * gdb.base/vla-datatypes.c: New file.
23217 * gdb.base/vla-datatypes.exp: New file.
23218
23219 * gdb.mi/mi-vla-c99.exp: New file.
23220 * gdb.mi/vla.c: New file.
23221
245a5f0b
KS
232222014-04-11 Keith Seitz <keiths@redhat.com>
23223
23224 PR c++/16675
23225 * gdb.cp/cpsizeof.exp: New file.
23226 * gdb.cp/cpsizeof.cc: New file.
23227
58a84dcf
SA
232282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23229
191a8a90
JB
23230 * gdb.mi/mi-vla-c99.exp: New file.
23231 * gdb.mi/vla.c: New file.
58a84dcf 23232
c8655f75
SA
232332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23234
23235 * gdb.base/vla-datatypes.c: New file.
23236 * gdb.base/vla-datatypes.exp: New file.
23237
024e13b4
SA
232382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23239
23240 * gdb.base/vla-ptr.c: New file.
23241 * gdb.base/vla-ptr.exp: New file.
23242
1a237e0e
SA
232432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23244
23245 * gdb.base/vla-multi.c: New file.
23246 * gdb.base/vla-multi.exp: New file.
23247
504f3432
SA
232482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23249
23250 * gdb.dwarf2/count.exp: New file.
23251
3bce8237
SA
232522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23253
191a8a90
JB
23254 * gdb.base/vla-sideeffect.c: New file.
23255 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23256
322f9c21
YQ
232572014-04-11 Yao Qi <yao@codesourcery.com>
23258
23259 * gdb.base/completion.exp: Check file exists before running tests
23260 on file completion.
23261
d708bcd1
PA
232622014-04-10 Pedro Alves <palves@redhat.com>
23263
23264 * gdb.base/cond-eval-mode.c: New file.
23265 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23266 prepare_for_testing to build the new file. Check result of
23267 runto_main.
23268 (test_break, test_watch): New procedures.
23269 (top level): Use them.
23270
ae1d2761
PM
232712014-04-08 Pierre Muller <muller@sourceware.org>
23272
23273 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23274 Ctrl-V use for mingw hosts.
23275
7af389b8
SC
232762014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23277
23278 * gdb.python/py-value.c: Improve test case.
23279 * gdb.python/py-value.exp: Add new test.
23280
5e703181
DE
232812014-04-07 David Blaikie <dblaikie@gmail.com>
23282
23283 * lib/compiler.c: Identify the clang compiler.
23284 * lib/compiler.cc: Ditto.
23285
9810b410
YQ
232862014-04-03 Yao Qi <yao@codesourcery.com>
23287
23288 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23289
98d1b8dc
AB
232902014-04-01 Anton Blanchard <anton@samba.org>
23291
23292 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23293 messages unique.
23294
3114cea1
AB
232952014-04-01 Anton Blanchard <anton@samba.org>
23296
23297 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23298 prepare_for_testing.
23299
62f7182c
AB
233002014-04-01 Anton Blanchard <anton@samba.org>
23301
23302 * gdb.arch/ppc64-atomic-inst.c: Remove.
23303 * gdb.arch/ppc64-atomic-inst.S: New file.
23304 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23305
770e7fc7
DE
233062014-03-31 Doug Evans <dje@google.com>
23307
23308 * gdb.base/print-symbol-loading-lib.c: New file.
23309 * gdb.base/print-symbol-loading-main.c: New file.
23310 * gdb.base/print-symbol-loading.exp: New file.
23311
46e2bafa
YQ
233122014-03-31 Yao Qi <yao@codesourcery.com>
23313
23314 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23315
8776cfe9
JB
233162014-03-28 Joel Brobecker <brobecker@adacore.com>
23317
23318 * gdb.ada/mi_dyn_arr: New testcase.
23319
5d1ef361
DE
233202014-03-27 Doug Evans <dje@google.com>
23321
23322 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23323
b5bee914
YQ
233242014-03-27 Yao Qi <yao@codesourcery.com>
23325
23326 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23327 if target is nios2-*-*.
23328
0d4d0e77
YQ
233292014-03-26 Yao Qi <yao@codesourcery.com>
23330
23331 * lib/gdb.exp (readline_is_used): New proc.
23332 * gdb.base/completion.exp: Move tests on command complete up.
23333 Skip the rest of tests if readline is not used.
23334 * gdb.ada/complete.exp: Skp the test if readline is not
23335 used.
23336 * gdb.base/filesym.exp: Likewise.
23337 * gdb.base/macscp.exp: Likewise.
23338 * gdb.base/readline-ask.exp: Likewise.
23339 * gdb.base/readline.exp: Likewise.
23340 * gdb.python/py-cmd.exp: Likewise.
23341 * gdb.trace/tfile.exp: Likewise.
23342
29361eee
YQ
233432014-03-26 Yao Qi <yao@codesourcery.com>
23344
23345 * gdb.base/macscp.exp: Fix code format issues.
23346
bc9a5525
UW
233472014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23348
23349 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23350 * gdb.asm/powerpc64le.inc: New file.
23351
d3839ede
PA
233522014-03-25 Pedro Alves <palves@redhat.com>
23353 Doug Evans <dje@google.com>
23354
23355 * gdb.base/source-execution.c: New file.
23356 * gdb.base/source-execution.exp: New file.
23357 * gdb.base/source-execution.gdb: New file.
23358
01672a57
DE
233592014-03-24 Doug Evans <dje@google.com>
23360
23361 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23362 using fission.
23363
88bbeca9
HZ
233642014-03-24 Hui Zhu <hui@codesourcery.com>
23365 Pedro Alves <palves@redhat.com>
23366
23367 PR breakpoints/16101
23368 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23369 test pass/fail messages. Detect missing support for dprintf when
23370 breakpoints are actually inserted.
23371 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23372 breakpoints are actually inserted.
23373 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23374 fails.
23375
d2348791
JK
233762014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23377
23378 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23379
feef67ab
DE
233802014-03-22 Doug Evans <xdje42@gmail.com>
23381
23382 * gdb.python/python.exp (python not supported): Verify multi-line
23383 python command issues an error.
25d743f9 23384 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23385 guile command issues an error.
feef67ab 23386
ecebef6a
MR
233872014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23388
23389 * gdb.threads/thread-specific.exp: Handle the lack of usable
23390 $this_breakpoint and $this_thread.
23391
ccdd1909
HZ
233922014-03-21 Hui Zhu <hui@codesourcery.com>
23393
23394 * gdb.base/attach.exp (do_command_attach_tests): New.
23395
beb460e8
PA
233962014-03-20 Tom Tromey <tromey@redhat.com>
23397 Pedro Alves <palves@redhat.com>
23398
23399 PR cli/15718
23400 * gdb.base/condbreak-call-false.c: New file.
23401 * gdb.base/condbreak-call-false.exp: New file.
23402
40acf43a
PA
234032014-03-20 Pedro Alves <palves@redhat.com>
23404
23405 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23406 Delete.
23407 (block_signals, unblock_signals): Delete.
23408 (child_function_2, main): Remove references to deleted variable
23409 and functions.
23410
9f5e1e02
PA
234112014-03-20 Pedro Alves <palves@redhat.com>
23412
23413 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23414 Use pthread_kill to signal thread 2.
23415 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23416 Adjust to make the test send itself a signal rather than using the
23417 host's "kill" command.
23418
99619bea
PA
234192014-03-20 Pedro Alves <palves@redhat.com>
23420
23421 * gdb.threads/multiple-step-overs.c: New file.
23422 * gdb.threads/multiple-step-overs.exp: New file.
23423 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23424 Adjust expected infrun debug output.
23425
2adfaa28
PA
234262014-03-20 Pedro Alves <palves@redhat.com>
23427
23428 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23429 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23430
31e77af2
PA
234312014-03-20 Pedro Alves <palves@redhat.com>
23432
23433 PR breakpoints/7143
23434 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23435 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23436 of gdb_test_multiple.
23437 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23438 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23439
b9f437de
PA
234402014-03-20 Pedro Alves <palves@redhat.com>
23441
23442 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23443 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23444
05adc73e
PA
234452014-03-19 Pedro Alves <palves@redhat.com>
23446
23447 * gdb.base/async.exp: Remove early return.
23448
6048b950
PA
234492014-03-19 Pedro Alves <palves@redhat.com>
23450
23451 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23452
8bcfb00a
PA
234532014-03-19 Pedro Alves <palves@redhat.com>
23454
23455 * gdb.base/async.exp (test_background): Expect \r\n after
23456 "completed." in the fail pattern.
23457
884e37dc
PA
234582014-03-19 Pedro Alves <palves@redhat.com>
23459
23460 * gdb.base/async.exp (test_background): New procedure.
23461 Use it for all background execution command tests.
23462
148e57e2
PA
234632014-03-19 Pedro Alves <palves@redhat.com>
23464
23465 * gdb.base/async.exp: Use prepare_for_testing.
23466
f48088c7
PA
234672014-03-19 Pedro Alves <palves@redhat.com>
23468
23469 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23470 the same line.
23471
e2f6c966
PA
234722014-03-19 Pedro Alves <palves@redhat.com>
23473
23474 * gdb.base/async.c (main): Add "jump here" and "until here" line
23475 marker comments.
23476 * gdb.base/async.exp (jump_here): New global.
23477 (jump& test): Use it.
23478 (until_here): New global.
23479 (until& test): Use it.
23480
c30568d4
PA
234812014-03-19 Pedro Alves <palves@redhat.com>
23482
23483 * gdb.base/async.exp: Don't frob gdb_protocol.
23484
0172b6a7
DE
234852014-03-18 Doug Evans <xdje42@gmail.com>
23486
23487 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23488 Fix spelling of exec-done-display.
23489
06c868a8
JK
234902014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23491
23492 PR gdb/15358
23493 * gdb.base/gdb-sigterm.c: New file.
23494 * gdb.base/gdb-sigterm.exp: New file.
23495
0c7e1a46
PA
234962014-03-18 Pedro Alves <palves@redhat.com>
23497
23498 PR gdb/13860
23499 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23500 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23501 solib-event.
23502
f7c77d93
JB
235032014-03-17 Joel Brobecker <brobecker@adacore.com>
23504
23505 * gdb.ada/pckd_arr_ren: New testcase.
23506
5a1e8c7a
DE
235072014-03-13 Doug Evans <xdje42@gmail.com>
23508
23509 PR guile/16612
23510 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23511 collect after discarding symbols.
23512
350e1a76
DE
235132014-03-13 Ludovic Courtès <ludo@gnu.org>
23514 Doug Evans <xdje42@gmail.com>
23515
23516 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23517 to history survives a gc.
23518
a69900ae
PA
235192014-03-13 Pedro Alves <palves@redhat.com>
23520
23521 * gdb.base/default.exp: Don't test "target procfs".
23522
5db9f0bd
PA
235232014-03-13 Pedro Alves <palves@redhat.com>
23524
23525 * gdb.base/default.exp: Update "target child" and "target procfs"
23526 tests to not expect "Unix".
23527
b3ccfe11
TT
235282014-03-12 Tom Tromey <tromey@redhat.com>
23529
23530 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23531 New procs. Add target-async tests.
23532 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23533 Add target-async tests.
23534
646f4417
AA
235352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23536
23537 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23538 'func_start' and 'func_end' for the beginning and end of the
23539 function code, respectively.
23540 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23541 'func_end' instead of 'func' and 'main'.
23542
288c211f
AA
235432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23544
23545 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23546 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23547 generate the debug info assembler source.
23548
e0c0f156
AA
235492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23550
23551 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23552 * gdb.dwarf2/arr-subrange.exp: Likewise.
23553 * gdb.dwarf2/dwz.exp: Likewise.
23554 * gdb.dwarf2/method-ptr.exp: Likewise.
23555 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23556 * gdb.dwarf2/subrange.exp: Likewise.
23557 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23558 * gdb.dwarf2/implptrpiece.exp: Likewise.
23559 * gdb.dwarf2/nostaticblock.exp: Likewise.
23560
0e5c4555
AA
235612014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23562
23563 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23564 directory to absolute path name arguments.
23565
5ec18f2b
JG
235662014-03-10 Joel Brobecker <brobecker@adacore.com>
23567
23568 * gdb.ada/tagged_access: New testcase.
23569
847fc4f2
MM
235702014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23571
23572 * gdb.btrace/data.exp: Update expected output.
23573
cc3da688
YQ
235742014-03-06 Yao Qi <yao@codesourcery.com>
23575
23576 * gdb.trace/pr16508.exp: New file.
23577
0f26cec1
PA
235782014-03-05 Pedro Alves <palves@redhat.com>
23579
23580 PR gdb/16575
23581 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23582 procedure.
23583 (top level): Adjust to use it. Add tests that exercise breakpoint
23584 interaction with the code-cache.
23585
7a5a839f
LC
235862014-02-26 Ludovic Courtès <ludo@gnu.org>
23587
23588 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23589 test for 'history-append!'.
23590
31aa7e4e
JB
235912014-02-26 Joel Brobecker <brobecker@adacore.com>
23592
23593 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23594 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23595 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23596 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23597 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23598 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23599
1b588015
JB
236002014-02-26 Joel Brobecker <brobecker@adacore.com>
23601
23602 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23603 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23604 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23605
55426c9d
JB
236062014-02-26 Joel Brobecker <brobecker@adacore.com>
23607
23608 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23609
dc53a7ad
JB
236102014-02-26 Joel Brobecker <brobecker@adacore.com>
23611
23612 * gdb.dwarf2/arr-stride.c: New file.
23613 * gdb.dwarf2/arr-stride.exp: New file.
23614
12ab52e9
PA
236152014-02-26 Pedro Alves <palves@redhat.com>
23616
23617 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23618 that won't ever trigger. Make sure that GDB reports the correct
23619 breakpoint that caused the stop.
23620
849c862e
JK
236212014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23622
23623 PR gdb/16626
23624 * gdb.base/auto-load-script: New file.
23625 * gdb.base/auto-load.c: New file.
23626 * gdb.base/auto-load.exp: New file.
23627
71b7d793
JK
23628 PR gdb/16626
23629 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23630
e2f0d509
JK
236312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23632
23633 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23634 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23635
50cc37c8
DE
236362014-02-24 Doug Evans <dje@google.com>
23637
23638 * lib/gdb.exp (run_on_host): Log error output if program fails.
23639
ea4758f2
PA
236402014-02-21 Pedro Alves <palves@redhat.com>
23641
23642 * gdb.threads/step-after-sr-lock.c: Rename to ...
23643 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23644 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23645 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23646 ... this.
23647
d7b30f67
SDJ
236482014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23649
23650 PR tdep/16397
23651 * gdb.arch/amd64-stap-special-operands.exp: New file.
23652 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23653 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23654 * gdb.arch/amd64-stap-triplet.S: Likewise.
23655 * gdb.arch/amd64-stap-triplet.c: Likewise.
23656
83deb43f
JB
236572014-02-20 Joel Brobecker <brobecker@adacore.com>
23658
23659 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23660 in .section pseudo-op.
23661
adde2bff
DE
236622014-02-20 lin zuojian <manjian2006@gmail.com>
23663 Joel Brobecker <brobecker@adacore.com>
23664 Doug Evans <xdje42@gmail.com>
23665
23666 PR symtab/16581
23667 * gdb.dwarf2/dw2-icycle.S: New file.
23668 * gdb.dwarf2/dw2-icycle.c: New file.
23669 * gdb.dwarf2/dw2-icycle.exp: New file.
23670
f7bd0f78
SC
236712014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23672
23673 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23674 operations on gdb.Value objects.
23675 * gdb.python/py-value-cc.exp: Add new test to test operations on
23676 gdb.Value objects.
23677
c17ef0d5
DE
236782014-02-18 Doug Evans <dje@google.com>
23679
23680 * Makefile.in (TESTS): New variable.
23681 (expanded_tests, expanded_tests_or_none): New variables
23682 (check-single): Pass $(expanded_tests_or_none) to runtest.
23683 (check-parallel): Only run tests in $(TESTS) if non-empty.
23684 (check/no-matching-tests-found): New rule.
23685 * README: Document TESTS makefile variable.
23686
5dd3176f
DE
236872014-02-18 Doug Evans <dje@google.com>
23688
23689 * Makefile.in (check-parallel): rm -rf outputs temp.
23690
0b10be4f
JK
236912014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23692
23693 Fix "ERROR: no fileid for" in the testsuite.
23694 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23695
85f224e7
DE
236962014-02-12 Doug Evans <dje@google.com>
23697
23698 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23699 (MISCELLANEOUS): New variable.
23700 (clean): rm -rf $(MISCELLANEOUS).
23701 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23702 dwp live in the same directory as symlinks, with each symlink pointed
23703 to a differently named file in a different directory.
23704
149b30ff
DE
237052014-02-11 Doug Evans <dje@google.com>
23706
23707 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23708 of Tcl file commands.
23709
1dfdac32
MK
237102014-02-10 Mark Kettenis <kettenis@gnu.org>
23711
23712 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23713 "kill -SIGUSR1 -1".
23714
aa4fb036
JB
237152014-02-10 Joel Brobecker <brobecker@adacore.com>
23716
23717 * gdb.ada/tick_length_array_enum_idx: New testcase.
23718
ed3ef339
DE
237192014-02-10 Doug Evans <xdje42@gmail.com>
23720
23721 * configure.ac (AC_OUTPUT): Add gdb.guile.
23722 * configure: Regenerate.
23723 * lib/gdb-guile.exp: New file.
23724 * lib/gdb.exp (get_target_charset): New function.
23725 * gdb.base/help.exp: Update expected output from "apropos apropos".
23726 * gdb.guile/Makefile.in: New file.
23727 * gdb.guile/guile.exp: New file.
23728 * gdb.guile/scm-arch.c: New file.
23729 * gdb.guile/scm-arch.exp: New file.
23730 * gdb.guile/scm-block.c: New file.
23731 * gdb.guile/scm-block.exp: New file.
23732 * gdb.guile/scm-breakpoint.c: New file.
23733 * gdb.guile/scm-breakpoint.exp: New file.
23734 * gdb.guile/scm-disasm.c: New file.
23735 * gdb.guile/scm-disasm.exp: New file.
23736 * gdb.guile/scm-equal.c: New file.
23737 * gdb.guile/scm-equal.exp: New file.
23738 * gdb.guile/scm-error.exp: New file.
23739 * gdb.guile/scm-error.scm: New file.
23740 * gdb.guile/scm-frame-args.c: New file.
23741 * gdb.guile/scm-frame-args.exp: New file.
23742 * gdb.guile/scm-frame-args.scm: New file.
23743 * gdb.guile/scm-frame-inline.c: New file.
23744 * gdb.guile/scm-frame-inline.exp: New file.
23745 * gdb.guile/scm-frame.c: New file.
23746 * gdb.guile/scm-frame.exp: New file.
23747 * gdb.guile/scm-generics.exp: New file.
23748 * gdb.guile/scm-gsmob.exp: New file.
23749 * gdb.guile/scm-iterator.c: New file.
23750 * gdb.guile/scm-iterator.exp: New file.
23751 * gdb.guile/scm-math.c: New file.
23752 * gdb.guile/scm-math.exp: New file.
23753 * gdb.guile/scm-objfile-script-gdb.in: New file.
23754 * gdb.guile/scm-objfile-script.c: New file.
23755 * gdb.guile/scm-objfile-script.exp: New file.
23756 * gdb.guile/scm-objfile.c: New file.
23757 * gdb.guile/scm-objfile.exp: New file.
23758 * gdb.guile/scm-ports.exp: New file.
23759 * gdb.guile/scm-pretty-print.c: New file.
23760 * gdb.guile/scm-pretty-print.exp: New file.
23761 * gdb.guile/scm-pretty-print.scm: New file.
23762 * gdb.guile/scm-section-script.c: New file.
23763 * gdb.guile/scm-section-script.exp: New file.
23764 * gdb.guile/scm-section-script.scm: New file.
23765 * gdb.guile/scm-symbol.c: New file.
23766 * gdb.guile/scm-symbol.exp: New file.
23767 * gdb.guile/scm-symtab-2.c: New file.
23768 * gdb.guile/scm-symtab.c: New file.
23769 * gdb.guile/scm-symtab.exp: New file.
23770 * gdb.guile/scm-type.c: New file.
23771 * gdb.guile/scm-type.exp: New file.
23772 * gdb.guile/scm-value-cc.cc: New file.
23773 * gdb.guile/scm-value-cc.exp: New file.
23774 * gdb.guile/scm-value.c: New file.
23775 * gdb.guile/scm-value.exp: New file.
23776 * gdb.guile/source2.scm: New file.
23777 * gdb.guile/types-module.cc: New file.
23778 * gdb.guile/types-module.exp: New file.
23779
7026a7c1
YQ
237802014-02-10 Yao Qi <yao@codesourcery.com>
23781
23782 PR testsuite/16543
23783 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23784 * configure: Regenerated.
23785 * Makefile.in: New file.
23786
6c466447
AS
237872014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23788
23789 * gdb.python/py-framefilter.exp: Fix typo.
23790
6e854735
YQ
237912014-02-08 Yao Qi <yao@codesourcery.com>
23792
23793 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23794 that no =breakpoint-modified is emitted when breakpoints are
23795 modified through MI commands.
23796
d137e6dc
PA
237972014-02-07 Pedro Alves <pedro@codesourcery.com>
23798 Pedro Alves <palves@redhat.com>
23799
23800 * gdb.threads/step-after-sr-lock.c: New file.
23801 * gdb.threads/step-after-sr-lock.exp: New file.
23802
b5ee5a50
PA
238032014-02-07 Pedro Alves <palves@redhat.com>
23804
23805 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23806
3c77faf3
JK
238072014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23808
23809 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23810 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23811
6dddc817
DE
238122014-02-06 Doug Evans <xdje42@gmail.com>
23813
23814 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23815 output.
23816
23817 * gdb.gdb/python-interrupts.exp: New file.
23818
de7b2893
YQ
238192014-02-05 Yao Qi <yao@codesourcery.com>
23820
23821 * gdb.trace/report.exp (use_collected_data): Test the output
23822 of "info threads" and "info inferiors".
23823
66d032ac
YQ
238242014-02-05 Yao Qi <yao@codesourcery.com>
23825
23826 Revert this patch:
23827
23828 2013-05-24 Yao Qi <yao@codesourcery.com>
23829
23830 * gdb.trace/tfile.exp: Test inferior and thread.
23831
591a12a1
UW
238322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23833
23834 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23835 on a function.
23836 * gdb.base/step-bt.c: Call hello via function pointer to make
23837 sure its first instruction is executed on powerpc64le-linux.
23838
0ff3e01f
UW
238392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23840
23841 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23842
084ee545
UW
238432014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23844
23845 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23846 of the test patterns for use on little-endian systems.
23847
6ed14ff3
UW
238482014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23849
23850 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23851 (decimal_vector): Fix for little-endian.
23852
401e27fd
JM
238532014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23854
23855 * gdb.arch/sparc-sysstep.exp: New file.
23856 * gdb.arch/sparc-sysstep.c: Likewise.
23857
23858 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23859
8b924729
EBM
238602014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23861
23862 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23863
fb151210
JB
238642014-01-23 Tom Tromey <tromey@redhat.com>
23865
23866 * gdb.ada/array_char_idx: New testcase.
23867
0740f8d8
TT
238682014-01-23 Tom Tromey <tromey@redhat.com>
23869
23870 PR python/16487:
23871 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23872 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23873 classes.
23874
21909fa1
TT
238752014-01-23 Tom Tromey <tromey@redhat.com>
23876
23877 PR python/16491:
23878 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23879 string from an inferior frame.
23880 * gdb.python/py-framefilter-mi.exp: Update.
23881
87ce2a04
DE
238822014-01-22 Doug Evans <dje@google.com>
23883
23884 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23885
237b092b
AA
238862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23887
23888 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23889
d674a709
AA
238902014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23891
23892 * gdb.trace/entry-values.exp: Remove excess space character from
23893 regex patterns. Handle s390 call instruction.
23894
20fa3390
AA
238952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23896
23897 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23898 define "*_start" label. Make "name" static.
23899 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23900 ${name} by references to ${name}_start.
23901
78466714
AA
239022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23903
23904 * gdb.base/info-macros.exp: Remove "debug" from the compile
23905 options.
23906
ec9f644a
IB
239072014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23908
23909 * gdb.dlang/demangle.exp: New file.
23910
94b1b47e
IB
239112014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23912
23913 * gdb.dlang/primitive-types.exp: New file.
23914
7f420862
IB
239152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23916
23917 * configure.ac: Create gdb.dlang/Makefile.
23918 * configure: Regenerate.
23919 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23920 * gdb.dlang/Makefile.in: New file.
23921 * lib/d-support.exp: New file.
23922 * lib/gdb.exp (skip_d_tests): New proc.
23923
52834460
MM
239242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23925
23926 * gdb.btrace/delta.exp: Check reverse stepi.
23927 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23928 * gdb.btrace/finish.exp: New.
23929 * gdb.btrace/next.exp: New.
23930 * gdb.btrace/nexti.exp: New.
23931 * gdb.btrace/record_goto.c: Add comments.
23932 * gdb.btrace/step.exp: New.
23933 * gdb.btrace/stepi.exp: New.
23934 * gdb.btrace/multi-thread-step.c: New.
23935 * gdb.btrace/multi-thread-step.exp: New.
23936 * gdb.btrace/rn-dl-bind.c: New.
23937 * gdb.btrace/rn-dl-bind.exp: New.
23938 * gdb.btrace/data.c: New.
23939 * gdb.btrace/data.exp: New.
23940 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23941
6e07b1d2
MM
239422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23943
23944 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23945 * gdb.btrace/exception.exp: Update.
23946 * gdb.btrace/instruction_history.exp: Update.
23947 * gdb.btrace/record_goto.exp: Update.
23948 * gdb.btrace/tailcall.exp: Update.
23949 * gdb.btrace/unknown_functions.exp: Update.
23950 * gdb.btrace/delta.exp: New.
23951
0b722aec
MM
239522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23953
23954 * gdb.btrace/record_goto.exp: Add backtrace test.
23955 * gdb.btrace/tailcall.exp: Add backtrace test.
23956
066ce621
MM
239572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23958
23959 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23960 * gdb.btrace/record_goto.c: New.
23961 * gdb.btrace/record_goto.exp: New.
23962 * gdb.btrace/x86-record_goto.S: New.
23963
0688d04e
MM
239642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23965
23966 * gdb.btrace/function_call_history.exp: Update tests.
23967 * gdb.btrace/instruction_history.exp: Update tests.
23968
8710b709
MM
239692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23970
23971 * gdb.btrace/function_call_history.exp: Fix expected field
23972 order for "record function-call-history".
23973 Add new tests for "record function-call-history /c".
23974 * gdb.btrace/exception.cc: New.
23975 * gdb.btrace/exception.exp: New.
23976 * gdb.btrace/tailcall.exp: New.
23977 * gdb.btrace/x86-tailcall.S: New.
23978 * gdb.btrace/x86-tailcall.c: New.
23979 * gdb.btrace/unknown_functions.c: New.
23980 * gdb.btrace/unknown_functions.exp: New.
23981 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23982
5de9129b
MM
239832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23984
23985 * gdb.btrace/instruction_history.exp: Update.
23986 * gdb.btrace/function_call_history.exp: Update.
23987
23a7fe75
MM
239882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23989
23990 * gdb.btrace/function_call_history.exp: Fix expected function
23991 trace.
23992 * gdb.btrace/instruction_history.exp: Initialize traced.
23993 Remove traced_functions.
23994
724c7dd8
MM
239952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23996
23997 * gdb.btrace/function_call_history.exp: Update
23998 * gdb.btrace/instruction_history.exp: Update.
23999
6d78d93b
MM
240002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24001
24002 * gdb.btrace/enable.exp: Update expected text.
24003
93a360cc
OJ
240042014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24005
24006 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24007 bytes.
24008
3772b53f
MR
240092014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24010
24011 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24012
596662fa
OJ
240132014-01-15 Omair Javaid <omair.javaid@linaro.org>
24014
24015 * lib/gdb.exp (supports_process_record): Return true for
24016 arm*-linux*. (supports_reverse): Likewise.
24017
b5b08fb4
SC
240182014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24019
24020 PR python/15464
24021 PR python/16113
24022 * gdb.python/py-type.c: Enhance test case.
24023 * gdb.python/py-value-cc.cc: Likewise
24024 * gdb.python/py-type.exp: Add new tests.
24025 * gdb.python/py-value-cc.exp: Likewise
24026
52d7fb13
AA
240272014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24028 Pedro Alves <palves@redhat.com>
24029
24030 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24031 Make "name" extern.
24032 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24033 references to ${name}_start by references to ${name}.
24034
a2cd8cfe
JB
240352014-01-10 Joel Brobecker <brobecker@adacore.com>
24036
24037 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24038
4e23fced
JB
240392014-01-10 Joel Brobecker <brobecker@adacore.com>
24040
24041 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24042
c6a9e42c
PA
240432014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24044 Pedro Alves <palves@redhat.com>
24045
24046 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 24047 mi_gdb_target_load.
c6a9e42c 24048
b7ea362b
PA
240492014-01-08 Pedro Alves <palves@redhat.com>
24050
24051 * gdb.threads/reconnect-signal.c: New file.
24052 * gdb.threads/reconnect-signal.exp: New file.
24053
5e3f4fab
EBM
240542014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24055
24056 * gdb.base/source-dir.exp: New file.
24057
79301218
JB
240582014-01-07 Joel Brobecker <brobecker@adacore.com>
24059
24060 * gdb.ada/mi_interface: New testcase.
24061
8e355c5d
JB
240622014-01-07 Joel Brobecker <brobecker@adacore.com>
24063
24064 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24065 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24066 gdb.ada/pp-rec-component/pck.ads: New files.
24067
c0d48811
JB
240682014-01-07 Joel Brobecker <brobecker@adacore.com>
24069
24070 * gdb.python/py-pp-integral.c: New file.
24071 * gdb.python/py-pp-integral.py: New file.
24072 * gdb.python/py-pp-integral.exp: New file.
24073
17b609c3 24074For older changes see ChangeLog-1993-2013.
c906108c 24075\f
8d8cb839
EZ
24076;; Local Variables:
24077;; mode: change-log
24078;; left-margin: 8
24079;; fill-column: 74
24080;; version-control: never
24081;; End:
902f2ccb 24082
3666a048 24083 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
24084 Copying and distribution of this file, with or without modification,
24085 are permitted provided the copyright notice and this notice are preserved.