gdb/testsuite: use foreach_with_prefix in gdb.threads/fork-plus-threads.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
41f14dc8
SM
12021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
4
a15a276b
TT
52021-04-15 Tom Tromey <tromey@adacore.com>
6
7 * gdb.dwarf2/arr-stride.exp: Add test.
8
5809fbf2
TT
92021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
10
11 * gdb.base/startup-file.exp: Add more tests.
12
92e4e97a
AB
132021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
14
15 PR cli/25956
16 * gdb.base/early-init-file.c: New file.
17 * gdb.base/early-init-file.exp: New file.
18 * lib/gdb-utils.exp (style): Handle style 'none'.
19
fcc99c42
TBA
202021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
21
22 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
23 @DW_INL_declared_inlined for the inline attribute.
24
34dc0f95
TBA
252021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
26
27 * gdb.opt/inline-locals.c (scoped): New function.
28 (main): Call 'scoped'.
29 * gdb.opt/inline-locals.exp: Update with "info locals" tests
30 for scoped variables.
31 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
32 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
33
ac4d323e
TBA
342021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
35
36 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
37
6b142048
WS
382021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
39
40 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
41
82d9b280 422021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
c8a37944
WS
43
44 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
45 non-relative plxv instructions.
46 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
47
482021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
82d9b280 49
e3d528d7
WS
50 PR gdb/27525
51 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
52 exercise single-stepping over subpcis,lnia,addpcis instructions
53 with displacement.
54 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
55 of addpcis/lnia/subpcis instructions.
56 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
57 exercise single-stepping over lnia instructions with displacement.
58 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
59 lnia instructions.
60
612021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
62
82d9b280
WS
63 * gdb.arch/powerpc-power10.s: New test for instructions.
64 * gdb.arch/powerpc-power10.exp: Harness to run the test.
65
6ba4cb84
CL
662021-4-12 Carl Love <cel@us.ibm.com>
67
68 * gdb.arch/vsx-vsr-float128.c: New test file.
69 * gdb.arch/vsx-vsr-float128.exp: New expect file.
70
9d8f3022
MM
712021-04-12 Markus Metzger <markus.t.metzger@intel.com>
72
73 * gdb.btrace/reconnect.exp: Relax expected stepi output.
74
dc2b480f
WP
752021-04-07 Weimin Pan <weimin.pan@oracle.com>
76
77 * gdb.base/ctf-ptype.c: Add struct link containing a forward
78 reference type.
79 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
80
0a703a4c
AB
812021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
82
83 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
84 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
85
30ab3586
AB
862021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * gdb.cp/rvalue-ref-params.cc (f3): New function.
89 (f4): New function.
90 (global_int): New global variable.
91 (global_float): Likeiwse.
92 (main): Call both new functions.
93 * gdb.cp/rvalue-ref-params.exp: Add new tests.
94
56d467f4
CT
952021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
96
97 * gdb.dwarf2/fission-relative-dwo.c: New file.
98 * gdb.dwarf2/fission-relative-dwo.exp: New file.
99
61dee722
AB
1002021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
101
102 * gdb.dwarf2/fission-absolute-dwo.c: New file.
103 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
104 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
105 instead of build_executable_from_fission_assembler.
106 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
107 * gdb.dwarf2/fission-loclists.exp: Likewise.
108
109 * gdb.dwarf2/fission-multi-cu.S: Delete file.
110 * gdb.dwarf2/fission-multi-cu.c: New file based on old
111 fission-multi-cu1.c and fission-multi-cu2.c files.
112 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
113 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
114 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
115 * gdb.dwarf2/fission-reread.exp: Likewise.
116 * lib/dwarf.exp (extract_dwo_information): New proc.
117 (strip_dwo_information): New proc.
118 (build_executable_and_dwo_files): New proc.
119 (build_executable_from_fission_assembler): Delete.
120 (Dwarf::_debug_addr_index): New variable.
121 (Dwarf::_cu_is_fission): New variable.
122 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
123 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
124 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
125 if this is a fission CU.
126 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
127 (Dwarf::debug_addr_label): New proc.
128 (Dwarf::cu): Initialise _cu_is_fission.
129 (Dwarf::tu): Likewise.
130 (Dwarf::assemble): Initialise _debug_addr_index.
131
1fd999d9
AB
1322021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
133
134 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
135
79c02443
AB
1362021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
137
138 * gdb.python/py-parameter.exp: Add test for reading data-directory
139 using gdb.parameter API.
140
340d00fb
TV
1412021-04-06 Tom de Vries <tdevries@suse.de>
142
143 PR breakpoints/25884
144 * gdb.opt/inline-cmds.exp: Remove kfail.
145
043bcbaf
TV
1462021-04-06 Tom de Vries <tdevries@suse.de>
147
148 PR testsuite/27691
149 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
150 file "".
151
ac628a06
EB
1522021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
153
154 * lib/pdtrace.in: Fix obvious typo.
155
3f49d080
TT
1562021-03-31 Tom Tromey <tromey@adacore.com>
157
158 * lib/dwarf.exp (Dwarf::_get_args): New proc.
159 (Dwarf::_location): Use it.
160
cfcbd506
TV
1612021-03-31 Tom de Vries <tdevries@suse.de>
162
163 PR testsuite/27667
164 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
165
8a91fbdf
SM
1662021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
167
168 PR gdb/27541
169 * gdb.base/index-cache-load-twice.exp: Remove.
170 * gdb.base/index-cache-load-twice.c: Remove.
171 * gdb.dwarf2/per-bfd-sharing.exp: New.
172 * gdb.dwarf2/per-bfd-sharing.c: New.
173
b953e703
TV
1742021-03-30 Tom de Vries <tdevries@suse.de>
175
176 PR testsuite/27604
177 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
178
aa33ea68
TBA
1792021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
180
181 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
182 the infinite loop to avoid a Clang bug.
183
99066782
WS
1842021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
185
186 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
187 names for uniqueness.
188 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
189 uniqueness.
190
b1f3973b
AB
1912021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
192
193 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
194 member.
195 (make_container): Initialise is_array_p.
196 * gdb.python/py-prettyprint.exp: Add new tests.
197 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
198 Check is_array_p and possibly return 'array'.
199
3c2dcf90
AB
2002021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
201
202 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
203 * gdb.cp/casts.exp: Give tests unique names.
204 * gdb.cp/filename.exp: Likewise.
205 * gdb.cp/gdb2495.exp: Likewise.
206 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
207 * gdb.cp/misc.exp: Rename test to make it unique.
208 * gdb.cp/nsnested.exp: Give tests unique names.
209 * gdb.cp/ovldbreak.exp: Likewise.
210 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
211 being tested. This also removes the duplicate test name.
212 * gdb.cp/ref-types.exp: Likewise.
213 * gdb.cp/temargs.exp: Likewise.
214
6b78370d
AB
2152021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
216
217 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
218 square brackets in test.
219
baecbb3d
AB
2202021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
221
222 * gdb.cp/maint.exp (test_first_component): Run more tests with a
223 variable number of spaces, this removes the duplicate testing of
224 'operator ->' which existed before.
225
6e892297
AB
2262021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
227
228 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
229 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
230 duplicates, and also to avoid having a string inside parentheses
231 at the end of test names.
232
ac45a6ca
AB
2332021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
234
235 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
236 Avoid repeated uses of 'runto', and instread just progress once
237 through the test stopping at different breakpoints. Give comments
238 a capital letter and full stop. Give duplicate tests unique names.
239
323fd5b9
PA
2402021-03-25 Pedro Alves <pedro@palves.net>
241
242 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
243 "target_non_stop" parameter and use it.
244 (top level): Add "maint set target-non-stop on/off" testing axis.
245
ba3c61fc
AB
2462021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
247
248 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
249 gdb_test_multiple.
250
bf0aecce
LM
2512021-03-24 Luis Machado <luis.machado@linaro.org>
252
253 * gdb.arch/aarch64-mte.c: New file.
254 * gdb.arch/aarch64-mte.exp: New test.
255 * gdb.base/memtag.c: New file.
256 * gdb.base/memtag.exp: New test.
257 * lib/gdb.exp (supports_memtag): New function.
258
bef382e6
LM
2592021-03-24 Luis Machado <luis.machado@linaro.org>
260
261 * gdb.base/options.exp: Adjust for new print options.
262 * gdb.base/with.exp: Likewise.
263
702cf3f5
AB
2642021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
265
266 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
267 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
268
1e7fcccb
AB
2692021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
270
271 * gdb.dwarf2/dw2-using-debug-str.c: New file.
272 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
273 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
274 not .debug_string.
275
4829711b
TT
2762021-03-20 Tom Tromey <tom@tromey.com>
277
278 * gdb.base/maint.exp: Update "maint print statistics" output.
279
e0d6d274
KB
2802021-03-19 Kevin Buettner <kevinb@redhat.com>
281
282 * lib/gdbserver-support.exp (gdbserver_exit): Use the
283 "-nowait" flag when waiting for gdbserver to exit.
284
a088215a
SST
2852021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
286
287 * gdb.base/info-macros.exp: Append -fdebug-macro to
288 additional_flags for clang.
289 * gdb.base/macscp.exp: Likewise.
290 * gdb.base/style.exp: Likewise.
291 * gdb.linespec/macro-relative.exp: Likewise.
292
d0c99a23
SM
2932021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
294 Pedro Alves <pedro@palves.net>
295
296 * gdb.base/run-attach-while-running.exp: New.
297 * gdb.base/run-attach-while-running.c: New.
298
7807d76a
AB
2992021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
300
301 * gdb.python/py-framefilter-addr.c: New file.
302 * gdb.python/py-framefilter-addr.exp: New file.
303 * gdb.python/py-framefilter-addr.py: New file.
304
f302f9e2
AB
3052021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
306
307 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
308 Make use of $gdb_test_name instead of creating a separate $test
309 variable.
310 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
311 adding a '($name)' at the end of each test. This also catches the
312 one place where '($name)' was missing, and so caused a duplicate
313 test name.
314 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
315 duplicate test names based on the command being tested.
316 * gdb.threads/signal-command-multiple-signals-pending.exp:
317 Likewise.
318 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
319 avoid duplicate testnames when a test script uses this proc and
320 also gdb_compile_pthreads.
321 * lib/prelink-support.exp (build_executable_own_libs): Use
322 with_test_prefix to avoid duplicate test names when we call
323 build_executable twice.
324
6813ceb0
TT
3252021-03-15 Tom Tromey <tromey@adacore.com>
326
327 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
328
3b5c4de0
TT
3292021-03-15 Tom Tromey <tromey@adacore.com>
330
331 * gdb.ada/varsize_limit.exp: Add new test.
332 * gdb.ada/varsize_limit/vsizelim.adb: Update.
333
c04da66c
TT
3342021-03-15 Tom Tromey <tromey@adacore.com>
335
336 * gdb.ada/operator_call/twovecs.ads: New file.
337 * gdb.ada/operator_call/twovecs.adb: New file.
338 * gdb.ada/operator_call/opcall.adb: New file.
339 * gdb.ada/operator_call.exp: New file.
340
1ac74522
TT
3412021-03-15 Tom Tromey <tromey@adacore.com>
342
343 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
344 * gdb.ada/enums_overload/enums_overload.ads: New file.
345 * gdb.ada/enums_overload/enums_overload.adb: New file.
346 * gdb.ada/enums_overload.exp: New file.
347
207582c0
TT
3482021-03-15 Tom Tromey <tromey@adacore.com>
349
350 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
351 Declare.
352 * gdb.ada/assign_arr/target_wrapper.adb: New file.
353 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
354 Call Put.
355 * gdb.ada/assign_arr.exp: Update.
356
ba6a0ef3
AB
3572021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
358
359 * gdb.python/py-auto-load-chaining-f1.c: New file.
360 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
361 * gdb.python/py-auto-load-chaining-f2.c: New file.
362 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
363 * gdb.python/py-auto-load-chaining.c: New file.
364 * gdb.python/py-auto-load-chaining.exp: New file.
365
7f99d636
AB
3662021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
367
368 * gdb.python/py-bad-printers.exp: Extend test names to make them
369 unique.
370 * gdb.python/py-events.exp: Likewise.
371 * gdb.python/py-finish-breakpoint2.exp: Likewise.
372 * gdb.python/py-frame-inline.exp: Likewise.
373 * gdb.python/py-frame.exp: Likewise.
374 * gdb.python/py-infthread.exp: Likewise.
375
323b848c
AB
3762021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
377
378 * gdb.python/py-value-cc.exp: Remove a duplicate test.
379
8a4efb36
AB
3802021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
381
382 * gdb.python/lib-types.exp: Update the test to check the correct
383 python variable.
384
66bb1dd9
AB
3852021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
386
387 * gdb.python/py-explore-cc.exp: Extend test names to make them
388 unique.
389
0125fabc
AB
3902021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
391
392 * gdb.python/py-lookup-type.exp: Remove duplicate test.
393
79d04157
AB
3942021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
395
396 * gdb.python/py-symtab.exp: Extend test names to make them
397 unique.
398
e3e48d8f
AB
3992021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
400
401 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
402 names unique.
403
2cb60e74
AB
4042021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
405
406 * gdb.python/py-block.exp: Give tests unique names.
407
8b12ded4
AB
4082021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
409
410 * gdb.python/py-pp-maint.exp: Extend test names to make them
411 unique.
412
93598ea4
AB
4132021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
414
415 * gdb.python/py-explore.exp: Add with_test_prefix to make test
416 names unique.
417
f35d6971
AB
4182021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
419
420 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
421
22d3e7f6
AB
4222021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
423
424 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
425 names unique.
426
5fc5a1b8
AB
4272021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
428
429 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
430 test names unique.
431
e3141a4d
AB
4322021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
433
434 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
435 unique.
436
ccdc02ed
TT
4372021-03-09 Tom Tromey <tromey@adacore.com>
438
439 * gdb.base/cast-call.exp: New file.
440 * gdb.base/cast-call.c: New file.
441
fbb1aace
AB
4422021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
443
444 * gdb.gdb/python-helper.exp: New file.
445
611aa09d
FW
4462020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
447
448 * gdb.fortran/intrinsics.exp: Add LOC tests.
449
eef32f59
AB
4502021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
451
452 * gdb.fortran/shape.exp: New file.
453 * gdb.fortran/shape.f90: New file.
454
7ba155b3
AB
4552021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
456
457 * gdb.fortran/size.exp: New file.
458 * gdb.fortran/size.f90: New file.
459
e14816a8
AB
4602021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
461
462 * gdb.fortran/rank.exp: New file.
463 * gdb.fortran/rank.f90: New file.
464
d308ba78
TT
4652021-03-08 Tom Tromey <tom@tromey.com>
466
467 * gdb.fortran/debug-expr.exp: Update tests.
468
d182f279
TT
4692021-03-08 Tom Tromey <tom@tromey.com>
470
471 * gdb.base/debug-expr.exp: Update expected dump output.
472
a7308ce0
TT
4732021-03-06 Tom Tromey <tom@tromey.com>
474
475 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
476 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
477 * gdb.dwarf2/dwznolink.exp: New file.
478
b0a8c2ff
MW
4792021-03-05 Mark Wielaard <mark@klomp.org>
480
481 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
482
844be3f2
WP
4832021-03-06 Weimin Pan <weimin.pan@oracle.com>
484
485 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
486
82333781
MM
4872021-03-03 Markus Metzger <markus.t.metzger@intel.com>
488
489 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
490
32c52999
MM
4912021-03-03 Markus Metzger <markus.t.metzger@intel.com>
492
493 * gdb.btrace/non-stop.exp: Adjust expected source lines.
494
26ed1478
MM
4952021-03-03 Markus Metzger <markus.t.metzger@intel.com>
496
497 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
498
d2c5f24e
MM
4992021-03-03 Markus Metzger <markus.t.metzger@intel.com>
500
501 * gdb.btrace/exception.cc (main): Update test source.
502 * gdb.btrace/exception.exp: Update patterns.
503 * gdb.btrace/function_call_history.exp: Likewise.
504
c7c7253a
MM
5052021-03-03 Markus Metzger <markus.t.metzger@intel.com>
506
507 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
508
f0778fc1
MM
5092021-03-03 Markus Metzger <markus.t.metzger@intel.com>
510
511 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
512 reverse-continue to breakpoint.
513
e71dbd03
MM
5142021-03-03 Markus Metzger <markus.t.metzger@intel.com>
515
516 * gdb.btrace/delta.exp: Remove instruction-history and
517 function-call-history checks.
518
b93a3ed0
MM
5192021-03-03 Markus Metzger <markus.t.metzger@intel.com>
520
521 * README (Note): Add nopie_ldflag.
522 * lib/gdb.exp (gdb_compile): Extend nopie handling.
523
bbcdf9ab
TT
5242021-03-02 Tom Tromey <tromey@adacore.com>
525
526 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
527 encodings.
528
bb3a4efe
LS
5292021-02-27 Lancelot Six <lsix@lancelotix.com>
530
531 PR gdb/27393
532 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
533
534
573dc0cc
TT
5352021-02-26 Tom Tromey <tom@tromey.com>
536
537 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
538
f8218786
JV
5392021-02-26 Jan Vrany <jan.vrany@labware.com>
540
541 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
542 Remove trailing \n from expected output.
543
cb51b708
MM
5442021-02-26 Markus Metzger <markus.t.metzger@intel.com>
545
546 * lib/gdb.exp (use_gdb_stub): Extend comment.
547
64d38fdd
JM
5482021-02-25 Jan Matyas <jmatyas@codasip.com>
549
550 PR gdb/26819
551 * gdb.server/stop-reply-no-thread.exp: Add two test
552 scenarios that cover remote targets which do not have
553 the concept of threads.
554
d4ff3cbf
AB
5552021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
558
68337b8b
AB
5592021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
560
561 PR fortran/26155
562 * gdb.fortran/call-no-debug-func.f90: New file.
563 * gdb.fortran/call-no-debug-prog.f90: New file.
564 * gdb.fortran/call-no-debug.exp: New file.
565
faeb9f13
AB
5662021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
567
568 * gdb.fortran/associated.exp: New file.
569 * gdb.fortran/associated.f90: New file.
570
170f4b23
AB
5712021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
572
573 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
574
dd80d750
AB
5752021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
576
577 * gdb.base/sect-cmd.exp: Update expected results.
578
b91919ac
AB
5792021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
580
581 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
582 techniques. Enable the test for all targets.
583
02a79309
AB
5842021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
585
586 * gdb.base/maint-info-sections.exp: Add new tests.
587 (check_maint_info_target_sections_output): New proc.
588
895b7b4e
AB
5892021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
590
591 * gdb.arch/riscv-default-tdesc.exp: New file.
592
bc3c0632
AB
5932021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
594
595 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
596
acde2092
AB
5972021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
598
599 * gdb.arch/i386-biarch-core.exp: Add target check.
600
7d2e5095
AKS
6012021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
602
603 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
604
96df3e28
AB
6052021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
606
607 * gdb.fortran/allocated.exp: New file.
608 * gdb.fortran/allocated.f90: New file.
609
a1670b72
AB
6102021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
611
612 * gdb.fortran/lbound-ubound.exp: Remove old comment.
613
bf3386f0
AB
6142021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
615
616 * gdb.base/maint-info-sections.exp: Update expected output, and
617 add additional tests. Again.
618
4790db14
AB
6192021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
620
621 * gdb.base/maint-info-sections.exp: Update expected output, and
622 add additional tests.
623
f4be6772
AB
6242021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
625
626 * gdb.base/maint-info-sections.exp: New file, content is moved
627 from gdb.base/maint.exp and cleaned up to use latest testsuite
628 techniques.
629 * gdb.base/maint.exp: Tests moved out to
630 gdb.base/maint-info-sections.exp.
631
25ad1e83
SM
6322021-02-10 Simon Marchi <simon.marchi@efficios.com>
633
634 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
635 GDBFLAGS.
636
e92c8eb8
AB
6372021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
638
639 * gdb.fortran/lbound-ubound.F90: New file.
640 * gdb.fortran/lbound-ubound.exp: New file.
641
ee4c3d88
TV
6422021-02-10 Tom de Vries <tdevries@suse.de>
643
644 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
645 "Restore saved setting of complaints".
646
cf2b2075
TV
6472021-02-09 Tom de Vries <tdevries@suse.de>
648
649 PR symtab/27341
650 * lib/gdb.exp (with_complaints): New proc, factored out of ...
651 (gdb_load_no_complaints): ... here.
652 * gdb.fortran/function-calls.exp: Add test-case.
653
b61f7811
HAQ
6542021-02-09 Abid Qadeer <abidh@codesourcery.com>
655
656 * gdb.threads/signal-command-handle-nopass.exp: Call
657 'standard_testfile' before using 'testfile'.
658 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
659 * gdb.threads/signal-delivered-right-thread.exp: Likewise
660 * gdb.threads/signal-sigtrap.exp: Likewise
661
3d4aae48
LM
6622021-02-08 Luis Machado <luis.machado@linaro.org>
663
664 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
665
4001d90d
TV
6662021-02-08 Tom de Vries <tdevries@suse.de>
667
668 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
669
29db1eb3
AB
6702021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
671
672 * gdb.python/tui-window-disabled.c: New file.
673 * gdb.python/tui-window-disabled.exp: New file.
674 * gdb.python/tui-window-disabled.py: New file.
675
e0c23e11
AB
6762021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
677
678 * gdb.python/tui-window.exp: Add new tests.
679 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
680 TestWindow object into global the_window.
681 <remote_title>: New method.
682 (delete_window_title): New function.
683
1cf23996
AB
6842021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
685
686 * gdb.tui/winheight.exp: Add more tests.
687
2708dbbd
AB
6882021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
689
690 * gdb.python/py-framefilter.exp: Update expected results.
691 * gdb.python/python.exp: Update expected results.
692
cd074e04
AB
6932021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
694
695 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
696 about bug in GDB, update expected results, and add more tests.
697
5fb97639
AB
6982021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
699
700 * gdb.tui/scroll.exp: New file.
701 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
702 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
703 remaining lines up.
704 (Term::check_region_contents): New proc.
705 (Term::check_box_contents): Use check_region_contents.
706
c0e56745
TV
7072021-02-06 Tom de Vries <tdevries@suse.de>
708
709 PR testsuite/26922
710 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
711 scrolling.
712
0e857c82
TV
7132021-02-05 Tom de Vries <tdevries@suse.de>
714
715 PR breakpoints/27313
716 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
717 rejected.
718
a22ec6e8
TV
7192021-02-05 Tom de Vries <tdevries@suse.de>
720
721 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
722 * gdb.fortran/mixed-lang-stack.exp: Same.
723
ae710496
TV
7242021-02-05 Tom de Vries <tdevries@suse.de>
725
726 PR exp/27265
727 * gdb.base/complex-parts.exp: Add tests.
728
d3b54e63
TV
7292021-02-05 Tom de Vries <tdevries@suse.de>
730
731 PR symtab/27307
732 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
733
3eccb1c8
SV
7342021-02-04 Shahab Vahedi <shahab@synopsys.com>
735
736 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
737
a71501e2
PA
7382021-02-03 Pedro Alves <pedro@palves.net>
739
740 * gdb.threads/detach-step-over.c: New file.
741 * gdb.threads/detach-step-over.exp: New file.
742
92234eb1
PA
7432021-02-03 Pedro Alves <pedro@palves.net>
744
745 * gdb.threads/attach-non-stop.c: New file.
746 * gdb.threads/attach-non-stop.exp: New file.
747
2e3773ff
LS
7482021-02-02 Lancelot SIX <lsix@lancelotsix.com>
749
750 * gdb.base/inferior-noarg.c: New test.
751 * gdb.base/inferior-noarg.exp: New test.
752
e0bd9202
SM
7532021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
754
755 * gdb.base/scope.exp: Use proc_with_prefix.
756
9307efbe
SM
7572021-02-02 Simon Marchi <simon.marchi@efficios.com>
758
759 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
760 table proc.
761 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
762 .debug_rnglists table without offset array.
763 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
764 .debug_loclists table without offset array.
765
2b0c7f41
SM
7662021-02-02 Simon Marchi <simon.marchi@efficios.com>
767
768 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
769 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
770 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
771 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
772 attribute
773
ecfda20d
SM
7742021-02-02 Simon Marchi <simon.marchi@efficios.com>
775
776 PR gdb/26813
777 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
778 (loclists): New proc.
779 * gdb.dwarf2/loclists-multiple-cus.c: New.
780 * gdb.dwarf2/loclists-multiple-cus.exp: New.
781 * gdb.dwarf2/loclists-sec-offset.c: New.
782 * gdb.dwarf2/loclists-sec-offset.exp: New.
783
6b0933da
SM
7842021-02-02 Simon Marchi <simon.marchi@efficios.com>
785
786 * lib/dwarf.exp (_location): Add parameters.
787 (_handle_DW_FORM): Adjust.
788
962effa7
SM
7892021-02-02 Simon Marchi <simon.marchi@efficios.com>
790
791 PR gdb/26813
792 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
793 (cu): Generate header for DWARF 5.
794 (rnglists): New proc.
795 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
796 * gdb.dwarf2/rnglists-sec-offset.exp: New.
797
2bd3e4b8
TV
7982021-02-02 Tom de Vries <tdevries@suse.de>
799
800 PR symtab/24620
801 * gdb.dwarf2/fission-reread.exp: Add test-case.
802
c39c8637
TV
8032021-02-01 Tom de Vries <tdevries@suse.de>
804
805 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
806 * gdb.dwarf2/fission-loclists-pie.S: Same.
807 * gdb.dwarf2/fission-loclists.S: Same.
808 * gdb.dwarf2/fission-multi-cu.S: Same.
809 * gdb.dwarf2/fission-reread.S: Same.
810 * gdb.dwarf2/fission-base.exp: Use DWO.
811 * gdb.dwarf2/fission-loclists-pie.exp: Same.
812 * gdb.dwarf2/fission-loclists.exp: Same.
813 * gdb.dwarf2/fission-multi-cu.exp: Same.
814 * gdb.dwarf2/fission-reread.exp: Same.
815
ebde6f2d
TV
8162021-01-29 Tom de Vries <tdevries@suse.de>
817
818 PR breakpoints/26063
819 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
820 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
821
620ec3ca
TV
8222021-01-29 Tom de Vries <tdevries@suse.de>
823
824 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
825
cdeba395
TV
8262021-01-28 Tom de Vries <tdevries@suse.de>
827
828 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
829 in the backtrace, and use that in the rest of the test instead of
830 hardcoded constant 3. Use "frame" instead of "up" for robustness.
831
c47b145e
TV
8322021-01-28 Tom de Vries <tdevries@suse.de>
833
834 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
835 * gdb.arch/i386-sse-stack-align.c: Same.
836 * gdb.arch/i386-sse-stack-align.exp: Same.
837
47918cca
AB
8382021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
839
840 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
841
2f985dd1
TV
8422021-01-28 Tom de Vries <tdevries@suse.de>
843
844 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
845
22efa3d3
TV
8462021-01-28 Tom de Vries <tdevries@suse.de>
847
848 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
849 "maint info line-table". Make PASS pattern more specific. Make
850 FAIL pattern work for -m32.
851
59b59f08
LS
8522021-01-27 Lancelot SIX <lsix@lancelotsix.com>
853
854 PR gdb/27133
855 * gdb.base/ui-redirect.exp: Add test case that ensures that
856 redirecting both logging and debug does not cause gdb to crash.
857
858
807f647c
MM
8592021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
860
861 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
862
4ca40594
TV
8632021-01-26 Tom de Vries <tdevries@suse.de>
864
865 * gdb.threads/killed-outside.exp: Allow regular output.
866
d0021af3
TV
8672021-01-26 Tom de Vries <tdevries@suse.de>
868
869 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
870
9f6c202e
TV
8712021-01-25 Tom de Vries <tdevries@suse.de>
872
873 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
874 * lib/gdb.exp: Use gdb_load_no_complaints.
875
a625a8c9
TT
8762021-01-25 Tom Tromey <tromey@adacore.com>
877
878 * gdb.ada/fixed_points.exp: Add regression test.
879 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
880 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
881
19184910
TT
8822021-01-25 Tom Tromey <tromey@adacore.com>
883
884 * gdb.ada/local-enum.exp: Add enumerator resolution test.
885
acd6125f
TT
8862021-01-25 Tom Tromey <tromey@adacore.com>
887
888 * gdb.ada/local-enum.exp: New file.
889 * gdb.ada/local-enum/local.adb: New file.
890
1af4c9c4
TT
8912021-01-23 Tom Tromey <tom@tromey.com>
892
893 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
894
705646c0
BE
8952021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
896
897 * gdb.base/line65535.exp: Fix test expectation.
898
0ac85db5
SM
8992021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
900
901 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
902 suppression.
903 (default_gdb_exit): Likewise.
904 (default_gdb_spawn): Likewise.
905 (send_gdb): Likewise.
906 (gdb_expect): Likewise.
907 (gdb_expect_list): Likewise.
908 (default_gdb_init): Likewise.
909 (gdb_suppress_entire_file): Remove.
910 (gdb_suppress_tests): Remove.
911 (gdb_stop_suppressing_tests): Remove.
912 (gdb_clear_suppressed): Remove.
913 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
914 related to test suppression.
915 (default_mi_gdb_start): Likewise.
916 (mi_gdb_reinitialize_dir): Likewise.
917 (mi_gdb_test): Likewise.
918 (mi_run_cmd_full): Likewise.
919 (mi_runto_helper): Likewise.
920 (mi_execute_to): Likewise.
921 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
922 * gdb.base/bitfields.exp: Likewise.
923 * gdb.base/bitfields2.exp: Likewise.
924 * gdb.base/break.exp: Likewise.
925 * gdb.base/call-sc.exp: Likewise.
926 * gdb.base/callfuncs.exp: Likewise.
927 * gdb.base/dfp-test.exp: Likewise.
928 * gdb.base/endian.exp: Likewise.
929 * gdb.base/exprs.exp: Likewise.
930 * gdb.base/funcargs.exp: Likewise.
931 * gdb.base/hbreak2.exp: Likewise.
932 * gdb.base/recurse.exp: Likewise.
933 * gdb.base/scope.exp: Likewise.
934 * gdb.base/sepdebug.exp: Likewise.
935 * gdb.base/structs.exp: Likewise.
936 * gdb.base/until.exp: Likewise.
937 * gdb.cp/misc.exp: Likewise.
938
9d2d8a16
AB
9392021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
940
941 PR cli/25956
942 * gdb.base/style.exp (run_style_tests): Add version string test.
943 (test_startup_version_string): Use version style name.
944 * lib/gdb-utils.exp (style): Handle version style name.
945
e7b43072
AB
9462021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
947
948 * gdb.base/style.exp (limited_style): New proc.
949 (clean_restart_and_disable): New proc.
950 (run_style_tests): New proc. Most of the old tests from this file
951 are now in this proc.
952 (test_startup_version_string): New proc. Reamining test from the
953 old file is in this proc.
954
2189c312
SM
9552021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
956
957 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
958 Adjust to "set debug remote" changes.
959
cd211c75
LM
9602021-01-21 Luis Machado <luis.machado@linaro.org>
961
962 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
963 message.
964
730af663
SM
9652021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
966
967 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
968
325d39e4
HD
9692021-01-21 Hannes Domani <ssbssa@yahoo.de>
970
971 PR python/19151
972 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
973
c3e96aa7
SM
9742021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
975
976 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
977
6571ffc6
SM
9782021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
979
980 * lib/tuiterm.exp: Add links in comments.
981
7c794afd
TV
9822021-01-20 Tom de Vries <tdevries@suse.de>
983
984 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
985 offset.
986
1402665c
TV
9872021-01-20 Tom de Vries <tdevries@suse.de>
988
989 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
990
6f52fdf4
SDJ
9912021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
992
993 * gdb.arch/amd64-stap-expressions.S: New file.
994 * gdb.arch/amd64-stap-expressions.exp: New file.
995
14852123
TV
9962021-01-19 Tom de Vries <tdevries@suse.de>
997
998 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
999 sequence.
1000
0c4e2c6c
TV
10012021-01-19 Tom de Vries <tdevries@suse.de>
1002
1003 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1004
02baa133
AB
10052021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1006
1007 * gdb.fortran/array-slices.exp (run_test): Avoid including
1008 addresses in test names.
1009
10f92414
TV
10102021-01-15 Tom de Vries <tdevries@suse.de>
1011
1012 PR testsuite/26997
1013 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1014 when adding sizeof.
1015
116d0cf1
TV
10162021-01-14 Tom de Vries <tdevries@suse.de>
1017
1018 PR testsuite/24590
1019 * gdb.base/style.exp: Handle shorter argv in frame command output.
1020
8f66807b
AB
10212021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1022
1023 PR gdb/26819
1024 * gdb.server/stop-reply-no-thread-multi.c: New file.
1025 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1026
3f94e588
TV
10272021-01-12 Tom de Vries <tdevries@suse.de>
1028
1029 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1030 (main): Remove call to have_mpx.
1031 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1032 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1033 (main): Remote call to have_mpx.
1034 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1035 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1036 (main): Remove call to have_mpx.
1037 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1038 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1039 (main): Remove call to have_mpx.
1040 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1041 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1042 (main): Remote call to have_mpx.
1043 * gdb.arch/i386-mpx.exp: Use have_mpx.
1044 * lib/gdb.exp (have_mpx): New proc.
1045
5291fe3c
SP
10462021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1047
1048 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1049
18bfb505
TV
10502021-01-12 Tom de Vries <tdevries@suse.de>
1051
1052 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1053
ce38f5ed
AB
10542021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1055
1056 * gdb.fortran/debug-expr.exp: Add new tests.
1057
7c654b71
AB
10582021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1059
1060 * gdb.fortran/dot-ops.exp: Add new tests.
1061
10dadadc
TV
10622021-01-11 Tom de Vries <tdevries@suse.de>
1063
1064 PR testsuite/26968
1065 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1066 Move insn setting $eax to before probe point.
1067
66beed02
TT
10682021-01-09 Tom Tromey <tom@tromey.com>
1069
1070 * gdb.trace/ax.exp: Do not require an "ext".
1071
8fc48b79
TT
10722021-01-08 Tom Tromey <tromey@adacore.com>
1073
1074 * gdb.ada/voidctx/pck.adb: New file.
1075 * gdb.ada/voidctx/pck.ads: New file.
1076 * gdb.ada/voidctx/voidctx.adb: New file.
1077 * gdb.ada/voidctx.exp: New file.
1078
6abd4cf2
SM
10792021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1080
1081 PR gdb/27157
1082 * gdb.base/empty-host-env-vars.exp: New test.
1083
d00f0868
AB
10842021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1085
1086 * gdb.base/completion.exp: Add a new test.
1087
3c8c6de2
AB
10882021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1089
1090 * gdb.fortran/intvar-dynamic-types.exp: New file.
1091 * gdb.fortran/intvar-dynamic-types.f90: New file.
1092
e3436813
AB
10932021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1094
1095 * gdb.fortran/intvar-array.exp: New file.
1096 * gdb.fortran/intvar-array.f90: New file.
1097
d4813f10
TT
10982021-01-07 Tom Tromey <tromey@adacore.com>
1099
1100 * gdb.ada/assign_arr.exp: Add 'others' test.
1101
b49180ac
TT
11022021-01-06 Tom Tromey <tromey@adacore.com>
1103
1104 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1105 (FP4_Type): New type.
1106 (FP4_Var): New variable.
1107 * gdb.ada/fixed_points/fixed_points.adb: Update.
1108 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1109
3c55062c
SM
11102021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1111
1112 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1113 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1114 Pass prompt containing debug print to gdb_test_sequence.
1115
e4ad960a
TV
11162021-01-04 Tom de Vries <tdevries@suse.de>
1117
1118 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1119
3ec3145c
SM
11202021-01-04 Simon Marchi <simon.marchi@efficios.com>
1121
1122
1123
8dc558a0
SM
11242021-01-04 Simon Marchi <simon.marchi@efficios.com>
1125
1126 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1127 * gdb.server/connect-without-multi-process.exp: Likewise.
1128 * gdb.server/exit-multiple-threads.exp: Likewise.
1129 * gdb.server/ext-attach.exp: Likewise.
1130 * gdb.server/ext-restart.exp: Likewise.
1131 * gdb.server/ext-run.exp: Likewise.
1132 * gdb.server/ext-wrapper.exp: Likewise.
1133 * gdb.server/multi-ui-errors.exp: Likewise.
1134 * gdb.server/no-thread-db.exp: Likewise.
1135 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1136 * gdb.server/run-without-local-binary.exp: Likewise.
1137 * gdb.server/server-kill.exp: Likewise.
1138 * gdb.server/server-run.exp: Likewise.
1139 * gdb.server/solib-list.exp: Likewise.
1140 * gdb.server/stop-reply-no-thread.exp: Likewise.
1141 * gdb.server/wrapper.exp: Likewise.
1142 * gdb.server/sysroot.exp: Increase timeout when testing the
1143 target: sysroot.
1144
d8387cc8
SM
11452021-01-04 Simon Marchi <simon.marchi@efficios.com>
1146
1147 * gdb.server/server-run.exp: Use clean_restart.
1148
5169ae34
SM
11492021-01-04 Simon Marchi <simon.marchi@efficios.com>
1150
1151 * gdb.server/ext-run.exp: Use clean_restart.
1152
7b0ff8a2
SM
11532021-01-04 Simon Marchi <simon.marchi@efficios.com>
1154
1155 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1156 instead of prepare_for_testing.
1157
a754fbdf
SM
11582021-01-04 Simon Marchi <simon.marchi@efficios.com>
1159
1160 * gdb.server/solib-list.exp: Use clean_restart.
1161
c5e71b33
TV
11622021-01-04 Tom de Vries <tdevries@suse.de>
1163
1164 * gdb.base/morestack.c: Remove printf.
1165 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1166
9b243007
TT
11672020-12-31 Tom Tromey <tom@tromey.com>
1168
1169 * gdb.rust/simple.exp: Update output for Rust 1.49.
1170
4ff509e7
BE
11712020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1172
1173 * gdb.cp/step-and-next-inline.exp: Fix test case.
1174
391750c3
SM
11752020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1176
1177 * gdb.python/py-frame-args.exp: De-duplicate test names.
1178
b7874836
AB
11792020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1180
1181 PR gdb/27059
1182 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1183 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1184
e1ff6226
PW
11852020-12-21 Peter Waller <p@pwaller.net>
1186
1187 * gdb.base/style-interp-exec-mi.exp: New.
1188 * gdb.base/style-interp-exec-mi.c: New.
1189
ca01f1bf
SM
11902020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1191
1192 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1193 gdb_test. Use proc_with_prefix.
1194
0fe69a94
MM
11952020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1196
1197 * gdb.btrace/exception.exp: Build with nopie.
1198 * gdb.btrace/function_call_history.exp: Likewise.
1199 * gdb.btrace/unknown_functions.exp: Likewise.
1200
806e7575
MM
12012020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1202
1203 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1204
493d2172
MM
12052020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1206
1207 * gdb.python/py-record-btrace.exp: Make test names unique.
1208 * gdb.python/py-record-full.exp: Likewise.
1209
1a1c0afc
MM
12102020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1211
1212 * gdb.btrace/data.exp: Make test names unique.
1213 * gdb.btrace/delta.exp: Likewise.
1214 * gdb.btrace/enable.exp: Likewise.
1215 * gdb.btrace/function_call_history.exp: Likewise.
1216 * gdb.btrace/nohist.exp: Likewise.
1217 * gdb.btrace/non-stop.exp: Likewise.
1218 * gdb.btrace/rn-dl-bind.exp: Likewise.
1219 * gdb.btrace/step.exp: Likewise.
1220 * gdb.btrace/stepi.exp: Likewise.
1221 * gdb.btrace/tailcall.exp: Likewise.
1222
98d837f0
MM
12232020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1224
1225 * gdb.btrace/enable.exp: Update error message.
1226 * gdb.btrace/multi-inferior.exp: Likewise.
1227 * gdb.btrace/reconnect.exp: Likewise.
1228 * gdb.python/py-record-btrace.exp: Likewise.
1229 * gdb.python/py-record-full.exp: Likewise.
1230
c541fa7c
TV
12312020-12-20 Tom de Vries <tdevries@suse.de>
1232
1233 * lib/gdb.exp (save_target_board_info): New proc.
1234 (gdb_compile_shlib): Use save_target_board_info.
1235
60108e47
TV
12362020-12-19 Tom de Vries <tdevries@suse.de>
1237
1238 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1239 (supports_gnuc): New proc.
1240 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1241 test_compiler_info calls. Add unsupported message.
1242 * gdb.base/endianity.c: Use TEST_SSO.
1243
fa639f55
HD
12442020-12-19 Hannes Domani <ssbssa@yahoo.de>
1245
1246 PR exp/27070
1247 * gdb.python/compare-enum-type-a.c: New test.
1248 * gdb.python/compare-enum-type-b.c: New test.
1249 * gdb.python/compare-enum-type.exp: New file.
1250 * gdb.python/compare-enum-type.h: New test.
1251
4aea001f
HD
12522020-12-18 Hannes Domani <ssbssa@yahoo.de>
1253
1254 * gdb.python/py-format-string.exp: Add tests for address keyword.
1255
b3f9469b
HD
12562020-12-18 Hannes Domani <ssbssa@yahoo.de>
1257
1258 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1259
86ef42bd
TT
12602020-12-18 Tom Tromey <tromey@adacore.com>
1261
1262 * gdb.ada/fixed_points.exp: Also run with
1263 -fgnat-encodings=minimal. Update expected output.
1264
93df4a1d
SM
12652020-12-16 Simon Marchi <simon.marchi@efficios.com>
1266
1267 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1268 * gdb.base/continue-all-already-running.exp: Likewise.
1269 * gdb.base/moribund-step.exp: Likewise.
1270 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1271
592995fa
TV
12722020-12-16 Tom de Vries <tdevries@suse.de>
1273
1274 * gdb.base/batch-preserve-term-settings.exp:
1275
1e61189d
TV
12762020-12-16 Tom de Vries <tdevries@suse.de>
1277
1278 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1279 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1280
19007d95
LM
12812020-12-16 Luis Machado <luis.machado@linaro.org>
1282
1283 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1284 pointer-based memory accesses.
1285 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1286 hw watchpoint cases.
1287
a33fc9ae
RK
12882020-12-15 Rae Kim <rae.kim@gmail.com>
1289
1290 * gdb.base/document.exp: New test.
1291
0e5ad442
TT
12922020-12-15 Tom Tromey <tromey@adacore.com>
1293
1294 * gdb.base/style.exp: Add deprecation tests.
1295
60598dbd
SM
12962020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1297
1298 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1299
8cd6d968
MW
13002020-12-14 Mark Wielaard <mark@klomp.org>
1301
1302 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1303 specially, set attr_form_comment to the actual FORM string used.
1304
eab9267c
MW
13052020-12-14 Mark Wielaard <mark@klomp.org>
1306
1307 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1308 _constants(SPECIAL_expr) here, but set it...
1309 (Dwarf::cu): ...here based on _cu_version.
1310
2f413264
TV
13112020-12-14 Tom de Vries <tdevries@suse.de>
1312
1313 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1314 pass -fPIC.
1315 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1316 * gdb.base/break-probes.exp: Same.
1317 * gdb.base/ctxobj.exp: Same.
1318 * gdb.base/dso2dso.exp: Same.
1319 * gdb.base/global-var-nested-by-dso.exp: Same.
1320 * gdb.base/info-shared.exp: Same.
1321 * gdb.base/jit-reader-simple.exp: Same.
1322 * gdb.base/print-file-var.exp: Same.
1323 * gdb.base/skip-solib.exp: Same.
1324 * gdb.btrace/dlopen.exp: Same.
1325
18f1cb1f
TV
13262020-12-14 Tom de Vries <tdevries@suse.de>
1327
1328 PR testsuite/26963
1329 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1330
519155c9
TV
13312020-12-14 Tom de Vries <tdevries@suse.de>
1332
1333 PR testsuite/26962
1334 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1335 cast it to its declared type".
1336
153f6e6c
TV
13372020-12-14 Tom de Vries <tdevries@suse.de>
1338
1339 PR testsuite/26951
1340 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1341 shell prompt.
1342
86b44259
TT
13432020-12-14 Tom Tromey <tromey@adacore.com>
1344
1345 * gdb.ada/nested.exp: Add new tests.
1346 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1347
e26624c6
TT
13482020-12-14 Tom Tromey <tromey@adacore.com>
1349
1350 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1351
a3bdae4e
TT
13522020-12-14 Tom Tromey <tromey@adacore.com>
1353
1354 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1355
862fcbd8
TV
13562020-12-13 Tom de Vries <tdevries@suse.de>
1357
1358 PR testsuite/26953
1359 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1360 attribute support if compiler doesn't support it.
1361
a406a98e
TV
13622020-12-13 Tom de Vries <tdevries@suse.de>
1363
1364 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1365 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1366 source to shared lib. Add ada to options.
1367
5d7e6ed0
TV
13682020-12-13 Tom de Vries <tdevries@suse.de>
1369
1370 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1371 calling gnatbind and gnatlink.
1372
ee9812a0
AB
13732020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1374
1375 * gdb.base/dcache-flush.c: New file.
1376 * gdb.base/dcache-flush.exp: New file.
1377
50a5f187
AB
13782020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1379
1380 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1381 commands.
1382 * gdb.base/killed-outside.exp: Likewise.
1383 * gdb.opt/inline-bt.exp: Likewise.
1384 * gdb.perf/gmonster-null-lookup.py: Likewise.
1385 * gdb.perf/gmonster-print-cerr.py: Likewise.
1386 * gdb.perf/gmonster-ptype-string.py: Likewise.
1387 * gdb.python/py-unwind.exp: Likewise.
1388
19c659f1
AB
13892020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1390
1391 * gdb.base/commands.exp: Update expected results.
1392
9ef6d4a1
AB
13932020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1394
1395 PR cli/15104
1396 * gdb.base/commands.exp: Add additional tests.
1397 * gdb.base/completion.exp: Add additional tests.
1398
1536146f
AB
13992020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1400
1401 * gdb.base/completion.exp: Add additional tests.
1402
346e7e19
TV
14032020-12-11 Tom de Vries <tdevries@suse.de>
1404
1405 PR testsuite/26991
1406 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1407 violations by setting bounds registers if the bounds are passed in the
1408 Bounds Table.
1409
9cd7a95a
TV
14102020-12-11 Tom de Vries <tdevries@suse.de>
1411
1412 PR testsuite/26954
1413 * gdb.base/float128.exp: Detect and handle no mpfr support.
1414
4483a8e7
SM
14152020-12-10 Simon Marchi <simon.marchi@efficios.com>
1416
1417 PR gdb/24694
1418 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1419 calls.
1420
10067028
TV
14212020-12-10 Tom de Vries <tdevries@suse.de>
1422
1423 PR testsuite/26947
1424 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1425 braces for tcl 8.5 and earlier.
1426
5b56203a
SM
14272020-12-09 Simon Marchi <simon.marchi@efficios.com>
1428
1429 PR 26875, PR 26901
1430 * gdb.base/flexible-array-member.c: New test.
1431 * gdb.base/flexible-array-member.exp: New test.
1432
b46551b2
TV
14332020-12-08 Tom de Vries <tdevries@suse.de>
1434
1435 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1436 using is_amd64_regs_target.
1437
8439f446
TV
14382020-12-08 Tom de Vries <tdevries@suse.de>
1439
1440 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1441 self_id.
1442
bc545da7
PA
14432020-12-07 Pedro Alves <pedro@palves.net>
1444
1445 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1446 'additional_flags' variable.
1447
1f58f6c2
TBA
14482020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1449
1450 * gdb.linespec/explicit.exp: Extend with a test to check completing
1451 '-' after seemingly complete options.
1452
5759831a
TBA
14532020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1454
1455 * gdb.linespec/keywords.exp: Add tests to check positional
1456 flexibility of "-force-condition".
1457
21e051b3
TBA
14582020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1459
1460 * gdb.base/bp-cmds-run-with-ex.c: New file.
1461 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1462 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1463 * gdb.gdb/python-interrupts.exp: Update the call to
1464 'catch_command_errors' with the new argument.
1465 * gdb.gdb/python-selftest.exp: Ditto.
1466
187b041e
SM
14672020-12-04 Simon Marchi <simon.marchi@efficios.com>
1468
1469 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1470 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1471 * gdb.threads/non-stop-fair-events.exp: Likewise.
1472
3b7a962d
SM
14732020-12-04 Simon Marchi <simon.marchi@efficios.com>
1474
1475 * gdb.threads/step-over-exec.exp: New.
1476 * gdb.threads/step-over-exec.c: New.
1477 * gdb.threads/step-over-exec-execd.c: New.
1478 * lib/my-syscalls.S: New.
1479 * lib/my-syscalls.h: New.
1480
e633b117
SM
14812020-12-04 Simon Marchi <simon.marchi@efficios.com>
1482
1483 * lib/dwarf.exp (declare_labels): Use name as text if text is
1484 not provided.
1485
67748e0f
TV
14862020-12-04 Tom de Vries <tdevries@suse.de>
1487
1488 PR testsuite/26990
1489 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1490 are unsupported.
1491
a8d13675
TV
14922020-12-04 Tom de Vries <tdevries@suse.de>
1493
1494 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1495 clause.
1496
f17727b3
TV
14972020-12-04 Tom de Vries <tdevries@suse.de>
1498
1499 * gdb.reverse/insn-reverse.exp: Fix count handling.
1500
a1499830
TV
15012020-12-04 Tom de Vries <tdevries@suse.de>
1502
1503 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1504 __x86_64__.
1505
9c027c2f
TV
15062020-12-04 Tom de Vries <tdevries@suse.de>
1507
1508 * gdb.reverse/insn-reverse.c (test_nr): New var.
1509 (usage, parse_args): New function.
1510 (main): Call parse_args. Only run test for test_nr.
1511 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1512 and bail out. Run subtests individually, using an inferior arg
1513 specifying the subtest.
1514
533b2ae0
AB
15152020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1516
1517 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1518
e4502042
AB
15192020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1520
1521 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1522 update test to use this.
1523
f55a9a37
SM
15242020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1525
1526 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1527
0a6155a0
SM
15282020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1529
1530 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1531 (do_test): Don't use with_test_prefix.
1532 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1533 (do_test): Don't use with_test_prefix.
1534 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1535 (do_test): Don't use with_test_prefix.
1536 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1537 (do_test): Don't use with_test_prefix.
1538
4d56d64a
SM
15392020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1540
1541 * gdb.threads/non-ldr-exit.exp: Fix comment.
1542
54e75f29
AB
15432020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1544
1545 * gdb.xml/maint-xml-dump-03.xml: New file.
1546
7ce05d21
TV
15472020-11-30 Tom de Vries <tdevries@suse.de>
1548
1549 PR symtab/26905
1550 * gdb.dwarf2/count.exp: Remove kfails.
1551
50757f95
TBA
15522020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1553
1554 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1555 indices.
1556
4afa9fd9
JB
15572020-11-24 Joel Brobecker <brobecker@adacore.com>
1558
1559 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1560 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1561 languages. Remove the associated setup_xfail.
1562
15a491af
SM
15632020-11-23 Simon Marchi <simon.marchi@efficios.com>
1564
1565 * lib/gdb.exp (gdb_assert): Show error message on error.
1566
891615f0
TV
15672020-11-23 Tom de Vries <tdevries@suse.de>
1568
1569 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1570 * gdb.ada/mod_from_name.exp: Same.
1571 * gdb.ada/pckd_arr_ren.exp: Same.
1572
19922582
SM
15732020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1574
1575 * gdb.base/template.exp: New.
1576 * gdb.base/template.c: New.
1577
117c628d
GB
15782020-11-22 Gary Benson <gbenson@redhat.com>
1579
1580 PR gdb/26905
1581 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1582 is defined using a DW_AT_count which references another DIE.
1583
da39d3ba
TV
15842020-11-21 Tom de Vries <tdevries@suse.de>
1585
1586 * gdb.base/vla-ptr.exp: Add XFAIL.
1587
a5c641b5
AB
15882020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1589
1590 * gdb.fortran/array-slices-bad.exp: New file.
1591 * gdb.fortran/array-slices-bad.f90: New file.
1592 * gdb.fortran/array-slices-sub-slices.exp: New file.
1593 * gdb.fortran/array-slices-sub-slices.f90: New file.
1594 * gdb.fortran/array-slices.exp: Rewrite tests.
1595 * gdb.fortran/array-slices.f90: Rewrite tests.
1596 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1597
a15a5258
AB
15982020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1599
1600 * gdb.base/completion.exp: Add new completion tests.
1601
7cb2893d
SM
16022020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1603
1604 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1605 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1606 * gdb.mi/mi-nsintrall.exp: Likewise.
1607 * gdb.mi/mi-nsmoribund.exp: Likewise.
1608 * gdb.mi/mi-nsthrexec.exp: Likewise.
1609 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1610
cf144ec8
SM
16112020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1612
1613 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1614 of perror.
1615
6b6a3e05
JM
16162020-11-18 Joseph Myers <joseph@codesourcery.com>
1617
1618 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1619 $arg.exe exists but $arg does not.
1620
811bdca0
GB
16212020-11-17 Gary Benson <gbenson@redhat.com>
1622
1623 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1624 __attribute__ ((used)).
1625
c72e3136
AB
16262020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1627
1628 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1629
037d7135
AB
16302020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1631
1632 * gdb.base/completion.exp: Add new tests.
1633
119e99bb
TT
16342020-11-16 Tom Tromey <tromey@adacore.com>
1635
1636 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1637 tests.
1638
b74dbc20
JB
16392020-11-15 Joel Brobecker <brobecker@adacore.com>
1640
1641 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1642 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1643 (main): Add reference to pck__fp1_var2.
1644 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1645
0a12719e
JB
16462020-11-15 Joel Brobecker <brobecker@adacore.com>
1647
1648 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1649
0c9150e4
JB
16502020-11-15 Joel Brobecker <brobecker@adacore.com>
1651
1652 * gdb.ada/fixed_points.exp: Add ptype tests.
1653 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1654
b26daff9
JB
16552020-11-15 Joel Brobecker <brobecker@adacore.com>
1656
1657 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1658
09584414
JB
16592020-11-15 Joel Brobecker <brobecker@adacore.com>
1660
1661 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1662 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1663 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1664 New files.
1665 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1666
1667 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1668 New files.
1669
9dd02fc0
AB
16702020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1671
1672 PR cli/26879
1673 * gdb.fortran/completion.exp: New file.
1674 * gdb.fortran/completion.f90: New file.
1675
5643c500
JM
16762020-11-12 Joseph Myers <joseph@codesourcery.com>
1677
1678 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1679 but $arg does not.
1680
7bea47f0
AB
16812020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1682
1683 * gdb.fortran/types.exp: Add more tests.
1684
1f2624a3
TT
16852020-11-12 Tom Tromey <tom@tromey.com>
1686
1687 PR rust/26799:
1688 * gdb.rust/traits.exp: Remove kfails.
1689
9e74f0ae
GB
16902020-11-12 Gary Benson <gbenson@redhat.com>
1691
1692 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1693 statement.
1694
acb994fa
SM
16952020-11-11 Simon Marchi <simon.marchi@efficios.com>
1696
1697 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1698 always-inserted" axis.
1699 (do_test): Add breakpoint_always_inserted parameter.
1700
95016fd2
TT
17012020-11-10 Tom Tromey <tromey@adacore.com>
1702
1703 * gdb.ada/bias.exp: Update.
1704 * gdb.ada/bias/bias.adb (X): Change value.
1705
83100a74
GB
17062020-11-10 Gary Benson <gbenson@redhat.com>
1707
1708 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1709 regexp fragment in parentheses to prevent false matching.
1710
6ff174a7
GB
17112020-11-10 Gary Benson <gbenson@redhat.com>
1712
1713 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1714
eb24648c
GB
17152020-11-10 Gary Benson <gbenson@redhat.com>
1716
1717 * gdb.cp/step-and-next-inline.exp: Only require
1718 -gstatement-frontiers when building with GCC.
1719 Only setup KFAIL's for GCC issues when using
1720 a GCC-built executable.
1721
86775fab
AB
17222020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1723
1724 * gdb.base/debug-expr.c: Add extra function to allow for an
1725 additional test.
1726 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1727 to this proc with gdb_test_debug_expr. Add an extra test.
1728 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1729 to this proc with gdb_test_debug_expr, give the tests names
1730 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1731 calls to this proc with gdb_test_debug_expr, give the tests names
1732 * gdb.fortran/debug-expr.exp: New file.
1733 * gdb.fortran/debug-expr.f90: New file.
1734 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1735
a1945bd4
SM
17362020-11-06 Simon Marchi <simon.marchi@efficios.com>
1737
1738 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1739 proceduresu.
1740 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1741 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1742 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1743 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1744 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1745 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1746 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1747 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1748
9c91c725
TT
17492020-11-04 Tom Tromey <tromey@adacore.com>
1750
1751 * gdb.ada/funcall_ref.exp: Update.
1752 * gdb.ada/var_rec_arr.exp: Update.
1753
8d9fd3a1
TT
17542020-11-04 Tom Tromey <tromey@adacore.com>
1755
1756 * gdb.ada/rec_ptype.exp: New file.
1757 * gdb.ada/rec_ptype/main.adb: New file.
1758 * gdb.ada/rec_ptype/p.ads: New file.
1759
d8f62e84
TT
17602020-11-04 Tom Tromey <tromey@adacore.com>
1761
1762 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1763 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1764 (PT_Full): New variable.
1765 * gdb.ada/tick_length_array_enum_idx/pck.adb
1766 (Full_PT): New type.
1767
7ff5b937
TT
17682020-11-04 Tom Tromey <tromey@adacore.com>
1769
1770 * gdb.ada/array_of_variant.exp: New file.
1771 * gdb.ada/array_of_variant/p.adb: New file.
1772 * gdb.ada/array_of_variant/pck.ads: New file.
1773 * gdb.ada/array_of_variant/pck.adb: New file.
1774
10f6a3ad
TT
17752020-11-04 Tom Tromey <tromey@adacore.com>
1776
1777 * gdb.ada/enum_idx_packed.exp: Add test.
1778 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1779 New variable.
1780 * gdb.ada/enum_idx_packed/pck.ads (Short)
1781 (Multi_Dimension, Multi_Dimension_Access): New types.
1782
b72795a8
TT
17832020-11-04 Tom Tromey <tromey@adacore.com>
1784
1785 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1786
24aa1b02
TT
17872020-11-04 Tom Tromey <tromey@adacore.com>
1788
1789 * gdb.ada/set_pckd_arr_elt.exp: Also test
1790 -fgnat-encodings=minimal. Add tests.
1791 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1792 Call Update_Small a second time.
1793 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1794 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1795 (Variant_Access): New types.
1796 (New_Variant): Declare.
1797
c9a28cbe
TT
17982020-11-04 Tom Tromey <tromey@adacore.com>
1799
1800 * gdb.ada/mod_from_name.exp: Test printing slice.
1801
57567375
TT
18022020-11-04 Tom Tromey <tromey@adacore.com>
1803
1804 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1805 values.
1806 * gdb.ada/access_to_unbounded_array.exp: Test different
1807 -fgnat-encodings values.
1808 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1809 values.
1810 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1811 values.
1812 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1813 values.
1814 * gdb.ada/array_of_variable_length.exp: Test different
1815 -fgnat-encodings values.
1816 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1817 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1818 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1819 change.
1820 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1821 values.
1822 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1823 * gdb.ada/out_of_line_in_inlined.exp: Test different
1824 -fgnat-encodings values.
1825 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1826 values.
1827 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1828 values.
1829 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1830 -fgnat-encodings values.
1831 * gdb.ada/variant_record_packed_array.exp: Test different
1832 -fgnat-encodings values.
1833
a7400e44
TT
18342020-11-04 Tom Tromey <tromey@adacore.com>
1835
1836 * gdb.ada/enum_idx_packed.exp: Add tests.
1837 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1838 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1839 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1840 declarations.
1841
c40907bf
TV
18422020-11-03 Tom de Vries <tdevries@suse.de>
1843
1844 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1845 terminator comments.
1846 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1847 terminator.
1848
f468977a
SM
18492020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1850
1851 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1852 integer format test with regexp.
1853
1c2bec19
GB
18542020-11-02 Gary Benson <gbenson@redhat.com>
1855
1856 * gdb.base/print-file-var.exp (test): Separate compiler and
1857 linker options, and build using build_executable_from_specs
1858 to accommodate this.
1859
6539a36d
GB
18602020-11-02 Gary Benson <gbenson@redhat.com>
1861
1862 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1863 for .c files compiled as C++ with Clang if any shared
1864 libraries are specified.
1865
7ea44a51
GB
18662020-11-02 Gary Benson <gbenson@redhat.com>
1867
1868 * lib/attributes.h: New header.
1869 * gdb.base/backtrace.c: Include the above. Replace
1870 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1871 * gdb.base/infcall-nested-structs.c: Likewise.
1872 * gdb.base/vla-optimized-out.c: Likewise.
1873
ab8f783d
TV
18742020-11-02 Tom de Vries <tdevries@suse.de>
1875
1876 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1877
d77c9224
JB
18782020-11-01 Joel Brobecker <brobecker@adacore.com>
1879
1880 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1881 System.Min_Int and System.Max_Int with smaller hardcoded
1882 constants.
1883
0e5b0dd0
SM
18842020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1885
1886 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1887 * configure: Re-generate.
1888
136821d9
SM
18892020-10-30 Simon Marchi <simon.marchi@efficios.com>
1890
1891 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1892 expected output.
1893
b78b3a29
TBA
18942020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1895
1896 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1897 behavior.
1898 * gdb.base/paginate-bg-execution.exp: Ditto.
1899 * gdb.base/paginate-inferior-exit.exp: Ditto.
1900 * gdb.base/double-prompt-target-event-error.c: Remove.
1901 * gdb.base/double-prompt-target-event-error.exp: Remove.
1902
cfaa8f76
TBA
19032020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1904
1905 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1906 inferiors' and 'detach inferiors' do not change the current
1907 inferior.
1908
0ad0e70c
TV
19092020-10-29 Tom de Vries <tdevries@suse.de>
1910
1911 * gdb.threads/tls.exp: Fix DUPLICATEs.
1912
99cc6b2a
TV
19132020-10-28 Tom de Vries <tdevries@suse.de>
1914
1915 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1916
efe9b873
TV
19172020-10-28 Tom de Vries <tdevries@suse.de>
1918
1919 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1920 * gdb.base/reread.exp: Same.
1921
6b68fd45
TV
19222020-10-28 Tom de Vries <tdevries@suse.de>
1923
1924 * lib/gdb.exp (readnow): Handle arg.
1925 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1926
32a5f98a
TV
19272020-10-28 Tom de Vries <tdevries@suse.de>
1928
1929 * gdb.base/relocate.exp: Update regexp for -readnow.
1930
f93b8760
TV
19312020-10-28 Tom de Vries <tdevries@suse.de>
1932
1933 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1934 -readnow.
1935
1b00ef06
TV
19362020-10-28 Tom de Vries <tdevries@suse.de>
1937
1938 PR symtab/26772
1939 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1940 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1941
364bb903
TV
19422020-10-28 Tom de Vries <tdevries@suse.de>
1943
1944 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1945 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1946 complaint during file command for -readnow.
1947
445a033f
TV
19482020-10-28 Tom de Vries <tdevries@suse.de>
1949
1950 * gdb.cp/nsalias.exp: Fix typo in test name.
1951
fdd67a42
TV
19522020-10-28 Tom de Vries <tdevries@suse.de>
1953
1954 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1955
706baf4c
TV
19562020-10-28 Tom de Vries <tdevries@suse.de>
1957
1958 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1959 -readnow.
1960
b448cca5
TV
19612020-10-27 Tom de Vries <tdevries@suse.de>
1962
1963 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1964
5868da03
TV
19652020-10-27 Tom de Vries <tdevries@suse.de>
1966
1967 * gdb.base/maint.exp: Update for -readnow.
1968
06db6ec3
TV
19692020-10-27 Tom de Vries <tdevries@suse.de>
1970
1971 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1972 -readnow.
1973
934a1764
GB
19742020-10-14 Gary Benson <gbenson@redhat.com>
1975
1976 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1977 "_vptr$Base" as correct, in addition to "_vptr.Base".
1978 (test_mixed): Likewise.
1979
0bf21fbd
GB
19802020-10-27 Gary Benson <gbenson@redhat.com>
1981
1982 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1983 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1984
b1d4d8d1
TBA
19852020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1986
1987 * gdb.base/condbreak.exp: Update the completion tests to
1988 consider the '-force' flag.
1989
bd24c5d6
TV
19902020-10-27 Tom de Vries <tdevries@suse.de>
1991
1992 * gdb.base/list-ambiguous-readnow.exp: New file.
1993
733d554a
TBA
19942020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1995
1996 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1997 the condition.
1998 * gdb.linespec/cpcompletion.exp: Update to consider the
1999 '-force-condition' keyword.
2000 * gdb.linespec/explicit.exp: Ditto.
2001 * lib/completion-support.exp: Ditto.
2002
b5fa468f
TBA
20032020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2004
2005 * gdb.base/condbreak-multi-context.cc: New file.
2006 * gdb.base/condbreak-multi-context.exp: New file.
2007
b3247276
TT
20082020-10-26 Tom Tromey <tom@tromey.com>
2009
2010 * lib/mi-support.exp (default_mi_gdb_start): Call
2011 gdb_stdin_log_init.
2012 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2013 subtract one from gdb_instances.
2014 (gdb_stdin_log_write): Flush in_file.
2015
1c47ec3e
TV
20162020-10-26 Tom de Vries <tdevries@suse.de>
2017
2018 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2019
6390859c
TT
20202020-10-26 Tom Tromey <tromey@adacore.com>
2021
2022 * gdb.ada/unsigned_range/foo.adb: New file.
2023 * gdb.ada/unsigned_range/pack.adb: New file.
2024 * gdb.ada/unsigned_range/pack.ads: New file.
2025 * gdb.ada/unsigned_range.exp: New file.
2026
55c3ad88
TV
20272020-10-26 Tom de Vries <tdevries@suse.de>
2028
2029 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2030
1612c4bb
TV
20312020-10-26 Tom de Vries <tdevries@suse.de>
2032
2033 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2034 for CU.
2035 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2036
7d72802b
TV
20372020-10-23 Tom de Vries <tdevries@suse.de>
2038
2039 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2040 DW_FORM_string.
2041 (Dwarf::_default_form): New proc.
2042 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2043 guessed.
2044
9476b583
TV
20452020-10-23 Tom de Vries <tdevries@suse.de>
2046
2047 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2048 * gdb.dwarf2/atomic-type.exp: Same.
2049 * gdb.dwarf2/bad-regnum.exp: Same.
2050 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2051 * gdb.dwarf2/dw2-align.exp: Same.
2052 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2053 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2054 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2055 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2056 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2057 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2058 * gdb.dwarf2/enum-type.exp: Same.
2059 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2060 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2061 * gdb.dwarf2/main-subprogram.exp: Same.
2062 * gdb.dwarf2/missing-type-name.exp: Same.
2063 * gdb.dwarf2/nonvar-access.exp: Same.
2064 * gdb.dwarf2/typedef-void-finish.exp: Same.
2065 * gdb.dwarf2/var-access.exp: Same.
2066 * gdb.dwarf2/void-type.exp: Same.
2067
4a636814
SM
20682020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2069
2070 PR gdb/26693
2071 * gdb.dwarf2/template-specification-full-name.exp: New test.
2072
557fc257
LM
20732020-10-22 Luis Machado <luis.machado@linaro.org>
2074
2075 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2076 expected an offset from the function.
2077 * gdb.base/msym-bp.exp (test): Likewise.
2078
6b4c676c
AB
20792020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2080
2081 * gdb.fortran/array-slices.exp: Add a new test.
2082
98cec4f6
GB
20832020-10-21 Gary Benson <gbenson@redhat.com>
2084
2085 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2086 fullname test with Clang. Also expand comments generally.
2087
ae86f581
TV
20882020-10-20 Tom de Vries <tdevries@suse.de>
2089
2090 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2091
8c161360
TV
20922020-10-20 Tom de Vries <tdevries@suse.de>
2093
2094 * gdb.dwarf2/arr-stride.c: Remove.
2095 * gdb.dwarf2/arr-stride.exp: Use main.c.
2096 * gdb.dwarf2/arr-subrange.c: Remove.
2097 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2098 * gdb.dwarf2/bad-regnum.c: Remove.
2099 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2100 * gdb.dwarf2/corrupt.c: Remove.
2101 * gdb.dwarf2/corrupt.exp: Use main.c.
2102 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2103 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2104 * gdb.dwarf2/dw2-icycle.c: Remove.
2105 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2106 * gdb.dwarf2/formdata16.c: Remove.
2107 * gdb.dwarf2/formdata16.exp: Use main.c.
2108 * gdb.dwarf2/implptrconst.c: Remove.
2109 * gdb.dwarf2/implptrconst.exp: Use main.c.
2110 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2111 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2112 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2113 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2114
9c2412ec
TV
21152020-10-20 Tom de Vries <tdevries@suse.de>
2116
2117 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2118 file.
2119 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2120
0cd2ad78
TV
21212020-10-20 Tom de Vries <tdevries@suse.de>
2122
2123 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2124 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2125 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2126 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2127 * gdb.dwarf2/dw2-ranges.exp: Same.
2128 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2129 * gdb.dwarf2/var-access.exp: Same.
2130
22cc388e
TT
21312020-10-19 Tom Tromey <tromey@adacore.com>
2132
2133 PR tui/26719
2134 * gdb.tui/list.exp: Check source window contents after focus
2135 change.
2136
520596f2
TV
21372020-10-17 Tom de Vries <tdevries@suse.de>
2138
2139 PR symtab/26317
2140 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2141
d1c8a76d
TV
21422020-10-17 Tom de Vries <tdevries@suse.de>
2143
2144 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2145 as suffix.
2146 * gdb.dwarf2/atomic.c: Rename to ...
2147 * gdb.dwarf2/atomic-type.c: ... this.
2148 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2149 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2150 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2151 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2152 * gdb.dwarf2/fission-mix2.c: Rename to ...
2153 * gdb.dwarf2/fission-mix-2.c: ... this.
2154 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2155 standard_testfile.
2156 * gdb.dwarf2/ada-valprint-error.exp: Same.
2157 * gdb.dwarf2/arr-stride.exp: Same.
2158 * gdb.dwarf2/arr-subrange.exp: Same.
2159 * gdb.dwarf2/atomic-type.exp: Same.
2160 * gdb.dwarf2/bad-regnum.exp: Same.
2161 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2162 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2163 * gdb.dwarf2/clang-debug-names.exp: Same.
2164 * gdb.dwarf2/comp-unit-lang.exp: Same.
2165 * gdb.dwarf2/corrupt.exp: Same.
2166 * gdb.dwarf2/count.exp: Same.
2167 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2168 * gdb.dwarf2/data-loc.exp: Same.
2169 * gdb.dwarf2/dw2-align.exp: Same.
2170 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2171 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2172 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2173 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2174 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2175 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2176 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2177 * gdb.dwarf2/dw2-inline-param.exp: Same.
2178 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2179 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2180 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2181 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2182 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2183 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2184 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2185 * gdb.dwarf2/dw2-param-error.exp: Same.
2186 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2187 * gdb.dwarf2/dw2-ranges.exp: Same.
2188 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2189 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2190 * gdb.dwarf2/dw4-sig-types.exp: Same.
2191 * gdb.dwarf2/dynarr-ptr.exp: Same.
2192 * gdb.dwarf2/enum-type.exp: Same.
2193 * gdb.dwarf2/fission-mix.exp: Same.
2194 * gdb.dwarf2/formdata16.exp: Same.
2195 * gdb.dwarf2/implptrconst.exp: Same.
2196 * gdb.dwarf2/implptrpiece.exp: Same.
2197 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2198 * gdb.dwarf2/main-subprogram.exp: Same.
2199 * gdb.dwarf2/method-ptr.exp: Same.
2200 * gdb.dwarf2/missing-sig-type.exp: Same.
2201 * gdb.dwarf2/nonvar-access.exp: Same.
2202 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2203 * gdb.dwarf2/shortpiece.exp: Same.
2204 * gdb.dwarf2/staticvirtual.exp: Same.
2205 * gdb.dwarf2/subrange.exp: Same.
2206 * gdb.dwarf2/symtab-producer.exp: Same.
2207 * gdb.dwarf2/typedef-void-finish.exp: Same.
2208 * gdb.dwarf2/var-access.exp: Same.
2209 * gdb.dwarf2/variant.exp: Same.
2210 * gdb.dwarf2/void-type.exp: Same.
2211 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2212 dw2-ranges-main.c.
2213 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2214
472d09c1
TV
22152020-10-16 Tom de Vries <tdevries@suse.de>
2216
2217 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2218
afe75f6d
TV
22192020-10-16 Tom de Vries <tdevries@suse.de>
2220
2221 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2222
8c8bd0ba
TV
22232020-10-14 Tom de Vries <tdevries@suse.de>
2224
2225 PR testsuite/26732
2226 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2227 scenario 2.
2228 * gdb.ada/mi_catch_ex_hand.exp: Same.
2229
b75d55d4
PA
22302020-10-13 Pedro Alves <pedro@palves.net>
2231
2232 * lib/mi-support.exp (mi_clean_restart): New.
2233 (mi_run_to_main): Delete.
2234 All callers adjust to use mi_clean_restart / mi_runto_main.
2235
e777225b
PA
22362020-10-13 Pedro Alves <pedro@palves.net>
2237
2238 * config/monitor.exp: Use "list -q".
2239 * gdb.arch/gdb1558.exp: Use "break -q".
2240 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2241 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2242 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2243 * gdb.base/commands.exp: Use "break -q".
2244 * gdb.base/condbreak.exp: Use "break -q".
2245 * gdb.base/ctf-ptype.exp: Use "list -q".
2246 * gdb.base/define.exp: Use "break -q".
2247 * gdb.base/del.exp: Use "break -q".
2248 * gdb.base/fullname.exp: Use "break -q".
2249 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2250 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2251 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2252 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2253 "hbreak -q".
2254 * gdb.base/included.exp: Use "list -q".
2255 * gdb.base/label.exp: Use "break -q".
2256 * gdb.base/lineinc.exp: Use "break -q".
2257 * gdb.base/list.exp: Use "list -q".
2258 * gdb.base/macscp.exp: Use "list -q".
2259 * gdb.base/pending.exp: Use "break -q".
2260 * gdb.base/prologue-include.exp: Use "break -q".
2261 * gdb.base/ptype.exp: Use "list -q".
2262 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2263 * gdb.base/server-del-break.exp: Use "break -q".
2264 * gdb.base/style.exp: Use "break -q".
2265 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2266 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2267 * gdb.cp/exception.exp: Use "tbreak -q".
2268 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2269 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2270 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2271 * gdb.dwarf2/pr13961.exp: Use "break -q".
2272 * gdb.linespec/explicit.exp: Use "list -q".
2273 * gdb.linespec/linespec.exp: Use "break -q".
2274 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2275 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2276 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2277 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2278 * gdb.trace/change-loc.exp: Use "break -q".
2279 * gdb.trace/pending.exp: Use "break -q".
2280 * gdb.tui/basic.exp: Use "list -q".
2281 * gdb.tui/list-before.exp: Use "list -q".
2282 * gdb.tui/list.exp: Use "list -q".
2283 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2284
8abd8ee8
PA
22852020-10-13 Pedro Alves <pedro@palves.net>
2286
2287 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2288 saved breakpoints file.
2289 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2290 inspecting breakpoint list.
2291 * lib/gdb.exp (runto_main): Add "qualified" to options.
2292 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2293 and handle it.
2294 (mi_runto_main): Pass 1 as qualified argument.
2295
f71e6719
PA
22962020-10-13 Pedro Alves <pedro@palves.net>
2297
2298 * lib/mi-support.exp (mi_runto_main): New proc.
2299 (mi_run_to_main): Use it.
2300 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2301 * gdb.mi/mi-var-cmd.exp: Likewise.
2302 * gdb.mi/mi-var-invalidate.exp: Likewise.
2303 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2304 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2305 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2306 * gdb.mi/user-selected-context-sync.exp: Likewise.
2307 * gdb.opt/inline-cmds.exp: Likewise.
2308 * gdb.python/py-framefilter-mi.exp: Likewise.
2309 * gdb.python/py-mi.exp: Likewise.
2310
50441f0f
PA
23112020-10-13 Pedro Alves <pedro@palves.net>
2312
2313 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2314 "runto main".
2315 * gdb.ada/small_reg_param.exp: Likewise.
2316 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2317 * gdb.base/annota1.exp: Likewise.
2318 * gdb.base/anon.exp: Likewise.
2319 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2320 * gdb.base/dprintf-non-stop.exp: Likewise.
2321 * gdb.base/dprintf.exp: Likewise.
2322 * gdb.base/gdb11530.exp: Likewise.
2323 * gdb.base/gdb11531.exp: Likewise.
2324 * gdb.base/gnu_vector.exp: Likewise.
2325 * gdb.base/interrupt-noterm.exp: Likewise.
2326 * gdb.base/memattr.exp: Likewise.
2327 * gdb.base/step-over-syscall.exp: Likewise.
2328 * gdb.base/watch-cond-infcall.exp: Likewise.
2329 * gdb.base/watch-read.exp: Likewise.
2330 * gdb.base/watch-vfork.exp: Likewise.
2331 * gdb.base/watch_thread_num.exp: Likewise.
2332 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2333 * gdb.guile/scm-frame-inline.exp: Likewise.
2334 * gdb.linespec/explicit.exp: Likewise.
2335 * gdb.opt/inline-break.exp: Likewise.
2336 * gdb.python/py-frame-inline.exp: Likewise.
2337 * gdb.reverse/break-precsave.exp: Likewise.
2338 * gdb.reverse/break-reverse.exp: Likewise.
2339 * gdb.reverse/consecutive-precsave.exp: Likewise.
2340 * gdb.reverse/consecutive-reverse.exp: Likewise.
2341 * gdb.reverse/finish-precsave.exp: Likewise.
2342 * gdb.reverse/finish-reverse.exp: Likewise.
2343 * gdb.reverse/fstatat-reverse.exp: Likewise.
2344 * gdb.reverse/getresuid-reverse.exp: Likewise.
2345 * gdb.reverse/i386-precsave.exp: Likewise.
2346 * gdb.reverse/i386-reverse.exp: Likewise.
2347 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2348 * gdb.reverse/i387-env-reverse.exp: Likewise.
2349 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2350 * gdb.reverse/insn-reverse.exp: Likewise.
2351 * gdb.reverse/machinestate-precsave.exp: Likewise.
2352 * gdb.reverse/machinestate.exp: Likewise.
2353 * gdb.reverse/pipe-reverse.exp: Likewise.
2354 * gdb.reverse/readv-reverse.exp: Likewise.
2355 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2356 * gdb.reverse/rerun-prec.exp: Likewise.
2357 * gdb.reverse/s390-mvcle.exp: Likewise.
2358 * gdb.reverse/solib-precsave.exp: Likewise.
2359 * gdb.reverse/solib-reverse.exp: Likewise.
2360 * gdb.reverse/step-precsave.exp: Likewise.
2361 * gdb.reverse/step-reverse.exp: Likewise.
2362 * gdb.reverse/time-reverse.exp: Likewise.
2363 * gdb.reverse/until-precsave.exp: Likewise.
2364 * gdb.reverse/until-reverse.exp: Likewise.
2365 * gdb.reverse/waitpid-reverse.exp: Likewise.
2366 * gdb.reverse/watch-precsave.exp: Likewise.
2367 * gdb.reverse/watch-reverse.exp: Likewise.
2368 * gdb.threads/kill.exp: Likewise.
2369 * gdb.threads/tid-reuse.exp: Likewise.
2370
d3a07122
SM
23712020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2372
2373 PR gdb/26642
2374 * gdb.base/maint-target-async-off.c: New test.
2375 * gdb.base/maint-target-async-off.exp: New test.
2376
c65c6c42
AM
23772020-10-13 Alan Modra <amodra@gmail.com>
2378
2379 * gdb.arch/powerpc-altivec.s,
2380 * gdb.arch/powerpc-power7.s,
2381 * gdb.arch/powerpc-power8.s,
2382 * gdb.arch/powerpc-power9.s,
2383 * gdb.arch/powerpc-vsx.s,
2384 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2385 * gdb.arch/powerpc-altivec.exp,
2386 * gdb.arch/powerpc-power7.exp,
2387 * gdb.arch/powerpc-power8.exp,
2388 * gdb.arch/powerpc-power9.exp,
2389 * gdb.arch/powerpc-vsx.exp,
2390 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2391 disassembly of mfvsrd/mtvsrd.
2392
f4a0f710
AM
23932020-10-13 Alan Modra <amodra@gmail.com>
2394
2395 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2396 "target architecture" output.
2397 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2398 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2399 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2400 * gdb.arch/s390-disassembler-options.exp: Likewise.
2401
87a37e5e
PA
24022020-10-12 Pedro Alves <pedro@palves.net>
2403
2404 PR exp/26602
2405 PR c++/26550
2406 * gdb.cp/ambiguous.cc (marker1): Delete.
2407 (main): Initialize all the fields of the locals. Replace marker1
2408 call with a "set breakpoint here" marker.
2409 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2410 instead of running to marker1. Add tests printing all the
2411 variables and all the fields of the variables.
2412 (test_ambiguous): New proc, expecting the new GDB output when a
2413 field access is ambiguous. Change all "warning: X ambiguous"
2414 tests to use it.
2415
71e1b6b0
GB
24162020-10-12 Gary Benson <gbenson@redhat.com>
2417
2418 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2419 * gdb.base/msym-bp-2.c (foo): Likewise.
2420 * gdb.base/msym-lang.c (foo): Likewise.
2421 * gdb.base/msym-lang-main.c (foo): Likewise.
2422 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2423 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2424 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2425 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2426 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2427 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2428 * gdb.python/py-objfile.c (static_var): Likewise.
2429 * gdb.python/py-symbol.c (rr): Likewise.
2430 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2431 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2432
9370fd51
AB
24332020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2434
2435 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2436 output of backtrace.
2437
7c184d33
TT
24382020-10-09 Tom Tromey <tromey@adacore.com>
2439
2440 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2441 (Rec): Add field. Fix range.
2442 * gdb.ada/scalar_storage.exp: Update.
2443
3d87245c
HD
24442020-10-09 Hannes Domani <ssbssa@yahoo.de>
2445
2446 PR exp/26714
2447 * gdb.base/printcmds.exp: Add tests for void results.
2448
f5c4b229
JV
24492020-10-09 Jan Vrany <jan.vrany@labware.com>
2450
2451 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2452 is emmited for both 'set directories' and 'directory' commands.
2453
b2701685
TT
24542020-10-08 Tom Tromey <tom@tromey.com>
2455
2456 * gdb.base/style.exp: Check that "main"'s name is styled.
2457
e86efb33
TT
24582020-10-07 Tom Tromey <tromey@adacore.com>
2459
2460 * gdb.base/find.exp: Rename some tests.
2461
30897591
GB
24622020-10-06 Gary Benson <gbenson@redhat.com>
2463
2464 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2465 * gdb.base/list1.c (unused): Likewise.
2466
ced4a4c1
GB
24672020-10-06 Gary Benson <gbenson@redhat.com>
2468
2469 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2470 __attribute__ ((used)).
2471 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2472
ed3bdac4
AB
24732020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2474
2475 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2476 make use of regions throughout.
2477 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2478 not {...}.
2479 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2480
cd096ec8
HD
24812020-10-05 Hannes Domani <ssbssa@yahoo.de>
2482
2483 * gdb.base/call-sc.c: Fix return struct on stack test case.
2484 * gdb.base/call-sc.exp: Likewise.
2485
3ee6f75d
GB
24862020-10-02 Gary Benson <gbenson@redhat.com>
2487
2488 * README: Fix "paralell".
2489
f65825ec
GB
24902020-09-30 Gary Benson <gbenson@redhat.com>
2491
2492 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2493 Convert directive to lowercase.
2494 (.Labbrev1_begin): Add missing label.
2495 (abbrev code 0x1): Remove DW_AT_stmt_list.
2496 (.Ldie_b): Likewise.
2497
5f278258
TT
24982020-09-27 Tom Tromey <tom@tromey.com>
2499
2500 * gdb.tui/new-layout.exp: Use with_test_prefix.
2501
8f9929bb
GR
25022020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2503
2504 PR python/26586
2505 * gdb.python/python.exp: add test cases for the from_tty
2506 argument to gdb.execute.
2507
c20c017b
GB
25082020-09-25 Gary Benson <gbenson@redhat.com>
2509
2510 * gdb.base/infcall-nested-structs.exp.tcl: Add
2511 additional_flags=-Wno-tautological-compare for C++
2512 tests when compiling using Clang.
2513
68d654af
GB
25142020-09-25 Gary Benson <gbenson@redhat.com>
2515
2516 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2517 for .c files.
2518
b551a89f
TT
25192020-09-24 Tom Tromey <tromey@adacore.com>
2520
2521 PR tui/26638:
2522 * gdb.tui/list.exp: Check output of "focus next".
2523
20a5fcbd
TT
25242020-09-23 Tom Tromey <tom@tromey.com>
2525
2526 * gdb.dwarf2/intbits.exp: New file.
2527 * gdb.dwarf2/intbits.c: New file.
2528
b167e53f
PA
25292020-09-20 Pedro Alves <pedro@palves.net>
2530
2531 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2532 spawn_id before calling remote_close. Close secondary MI channel.
2533
dbc49e9f
PA
25342020-09-20 Pedro Alves <pedro@palves.net>
2535
2536 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2537 fails.
2538
c8d5abea
AB
25392020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2540
2541 * gdb.fortran/array-slices.exp: Update expected results.
2542 * gdb.fortran/class-allocatable-array.exp: Likewise.
2543 * gdb.fortran/multi-dim.exp: Likewise.
2544 * gdb.fortran/vla-type.exp: Likewise.
2545 * gdb.mi/mi-vla-fortran.exp: Likewise.
2546
14f9473c
VC
25472020-09-18 Victor Collod <vcollod@nvidia.com>
2548
2549 PR gdb/26635
2550 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2551 compatible with i386, and move it to...
2552 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2553 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2554 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2555
e8ef12b9
PA
25562020-09-18 Pedro Alves <pedro@palves.net>
2557
2558 PR gdb/26631
2559 * gdb.multi/multi-target-thread-find.exp: New file.
2560
e11daf7a
PA
25612020-09-18 Pedro Alves <pedro@palves.net>
2562
2563 * gdb.multi/multi-target-continue.exp: New file, factored out from
2564 multi-target.exp.
2565 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2566 multi-target.exp.
2567 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2568 multi-target.exp.
2569 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2570 multi-target.exp.
2571 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2572 multi-target.exp.
2573 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2574 multi-target.exp.
2575 * gdb.multi/multi-target.exp: Delete.
2576
d0edc2b8
AB
25772020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2578
2579 * gdb.fortran/array-slices.exp: Add missing message data.
2580
7474326c
PA
25812020-09-17 Pedro Alves <pedro@palves.net>
2582
2583 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2584
dd23068d
PA
25852020-09-17 Pedro Alves <pedro@palves.net>
2586
2587 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2588 full prototype.
2589
0640a543
PA
25902020-09-17 Pedro Alves <pedro@palves.net>
2591
2592 * gdb.python/py-as-string.c: Add cast.
2593
ef0cdbc1
PA
25942020-09-17 Pedro Alves <pedro@palves.net>
2595
2596 * gdb.base/sizeof.c (fill): Add cast.
2597
3a5eeb8b
PA
25982020-09-17 Pedro Alves <pedro@palves.net>
2599
2600 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2601
a8129512
PA
26022020-09-17 Pedro Alves <pedro@palves.net>
2603
2604 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2605 linkage name.
2606 * gdb.base/prologue.exp: Use print /d.
2607 * gdb.base/symbol-alias.exp: Handle C++ output.
2608 * gdb.base/symbol-alias2.c: Handle C++ output.
2609 [__cplusplus] (func): Explicitly specify linkage name.
2610
a83cdcb6
PA
26112020-09-17 Pedro Alves <pedro@palves.net>
2612
2613 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2614 (struct my_key_t): ... this. Adjust all references.
2615 (struct value_t): Rename to ...
2616 (struct my_value_t): ... this. Adjust all references.
2617 (create_map, add_map_element, create_map_map)
2618 (add_map_map_element): Add casts.
2619
d4bcee5c
PA
26202020-09-17 Pedro Alves <pedro@palves.net>
2621
2622 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2623 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2624
81f90489
PA
26252020-09-17 Pedro Alves <pedro@palves.net>
2626
2627 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2628
0a229804
PA
26292020-09-17 Pedro Alves <pedro@palves.net>
2630
2631 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2632 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2633 (charfoo, intfoo): Define full prototype.
2634 * gdb.base/ptype1.c (charfoo): Define full prototype.
2635 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2636 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2637
c3e5138d
PA
26382020-09-17 Pedro Alves <pedro@palves.net>
2639
2640 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2641 Don't define.
2642 (utf_32_string): Compile for both C and C++.
2643 * gdb.base/charset.exp: Use "print /d".
2644
151fdbad
PA
26452020-09-17 Pedro Alves <pedro@palves.net>
2646
2647 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2648 (nullptr): Rename to ...
2649 (null_ptr): ... this.
2650 * gdb.base/watchpoint.exp: Adjust to rename.
2651
18a25b64
PA
26522020-09-17 Pedro Alves <pedro@palves.net>
2653
2654 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2655 (three_not_flag): Add casts.
2656
11fac337
PA
26572020-09-17 Pedro Alves <pedro@palves.net>
2658
2659 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2660 char array.
2661 (main): Add references to Barrier, TestStrings, TestStringsH and
2662 TestStringsW.
2663 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2664 and expect a full prototype in C++.
2665
52626c58
PA
26662020-09-17 Pedro Alves <pedro@palves.net>
2667
2668 * gdb.base/nested-addr.c (main): Add cast.
2669 * gdb.base/nested-addr.exp: Use "print /d".
2670
52bb0902
PA
26712020-09-17 Pedro Alves <pedro@palves.net>
2672
2673 * gdb.base/break.exp (func): New. Use it throughout when
2674 expecting a function name.
2675
73e18ac9
PA
26762020-09-17 Pedro Alves <pedro@palves.net>
2677
2678 * gdb.base/display.exp: Issue "set print asm-demangle on".
2679
c8b18808
PA
26802020-09-17 Pedro Alves <pedro@palves.net>
2681
2682 * gdb.base/find.c: Include <string.h>.
2683 (init_bufs): Add cast.
2684 * gdb.base/find.exp: Issue "set print asm-demangle on".
2685
fe830662
TT
26862020-09-16 Tom Tromey <tromey@adacore.com>
2687
2688 PR gdb/26598:
2689 * gdb.base/skipcxx.exp: New file.
2690 * gdb.base/skipcxx.cc: New file.
2691
945ff6e2
TV
26922020-09-16 Tom de Vries <tdevries@suse.de>
2693
2694 PR testsuite/26617
2695 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2696 WITH_DEBUG_SECTIONS is defined.
2697 (xstr, str): New macro.
2698 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2699 to get start and size of _Dmain.
2700 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2701 using additional_flags.
2702
da1df1db
TBA
27032020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2704
2705 * gdb.base/bp-cmds-sourced-script.c: New file.
2706 * gdb.base/bp-cmds-sourced-script.exp: New test.
2707 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2708
337882d4
TV
27092020-09-16 Tom de Vries <tdevries@suse.de>
2710
2711 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2712 get the gdb prompt after issuing "monitor exit".
2713
7361f908
TV
27142020-09-16 Tom de Vries <tdevries@suse.de>
2715
2716 PR testsuite/26624
2717 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2718
4d91ddd3
TV
27192020-09-16 Tom de Vries <tdevries@suse.de>
2720
2721 PR testsuite/26618
2722 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2723
08cc37dd
TT
27242020-09-15 Tom Tromey <tromey@adacore.com>
2725
2726 PR rust/26197:
2727 * lib/rust-support.exp (rust_llvm_version): New proc.
2728 * gdb.rust/simple.exp: Check rust_llvm_version.
2729
ee6372f2
TV
27302020-09-14 Tom de Vries <tdevries@suse.de>
2731
2732 * gdb.rust/traits.exp: Fix PATH warning.
2733
dc3a371e
PA
27342020-09-13 Pedro Alves <pedro@palves.net>
2735
2736 * gdb.base/catch-follow-exec.c (main): Add explicit return
2737 statement.
2738 * gdb.base/catch-signal.c (main): Likewise.
2739 * gdb.base/condbreak-call-false.c (main): Likewise.
2740 * gdb.base/consecutive.c (main): Add explicit return
2741 statement and return type.
2742 * gdb.base/cursal.c (main): Add explicit return statement.
2743 * gdb.base/cvexpr.c (main): Likewise.
2744 * gdb.base/display.c (main): Add explicit return statement and
2745 return type.
2746 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2747 * gdb.base/endianity.c (main): Likewise.
2748 * gdb.base/execd-prog.c (main): Likewise.
2749 * gdb.base/gdb1090.c (main): Likewise.
2750 * gdb.base/info_qt.c (main): Likewise.
2751 * gdb.base/lineinc.c (main): Likewise.
2752 * gdb.base/load-command.c (main): Likewise.
2753 * gdb.base/macscp1.c (main): Likewise.
2754 * gdb.base/pr10179-a.c (main): Likewise.
2755 * gdb.base/quit-live.c (main): Likewise.
2756 * gdb.base/scope0.c (main): Likewise.
2757 * gdb.base/settings.c (main): Likewise.
2758 * gdb.base/stack-checking.c (main): Return int.
2759 * gdb.base/varargs.c (main): Add explicit return statement.
2760 * gdb.cp/ambiguous.cc (main): Likewise.
2761 * gdb.cp/anon-struct.cc (main): Likewise.
2762 * gdb.cp/anon-union.cc (main): Likewise.
2763 * gdb.cp/bool.cc (main): Likewise.
2764 * gdb.cp/bs15503.cc (main): Likewise.
2765 * gdb.cp/cplusfuncs.cc (main): Likewise.
2766 * gdb.cp/cttiadd.cc (main): Likewise.
2767 * gdb.cp/extern-c.cc (main): Likewise.
2768 * gdb.cp/filename.cc (main): Likewise.
2769 * gdb.cp/formatted-ref.cc (main): Likewise.
2770 * gdb.cp/mb-ctor.cc (main): Likewise.
2771 * gdb.cp/member-ptr.cc (main): Likewise.
2772 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2773 * gdb.cp/overload-const.cc (main): Likewise.
2774 * gdb.cp/paren-type.cc (main): Likewise.
2775 * gdb.cp/parse-lang.cc (main): Likewise.
2776 * gdb.cp/pr-1023.cc (main): Likewise.
2777 * gdb.cp/psmang1.cc (main): Likewise.
2778 * gdb.cp/readnow-language.cc (main): Likewise.
2779 * gdb.cp/ref-params.cc (main): Likewise.
2780 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2781 * gdb.cp/virtbase2.cc (main): Likewise.
2782 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2783 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2784 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2785 * gdb.mi/mi-console.c (main): Likewise.
2786 * gdb.mi/mi-read-memory.c (main): Likewise.
2787 * gdb.modula2/multidim.c (main): Likewise.
2788 * gdb.opt/inline-small-func.c (main): Likewise.
2789 * gdb.python/py-rbreak.c (main): Likewise.
2790 * gdb.stabs/exclfwd1.c (main): Likewise.
2791 * gdb.trace/qtro.c (main): Likewise.
2792
af26601c
PA
27932020-09-13 Pedro Alves <pedro@palves.net>
2794
2795 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2796 instead of getenv.
2797
2f4b83cd
PA
27982020-09-13 Pedro Alves <pedro@palves.net>
2799
2800 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2801 instead of spawning GDB with remote_spawn.
2802 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2803 gdb_spawn instead of spawning GDB with remote_spawn.
2804
c49da0e4
PA
28052020-09-13 Pedro Alves <pedro@palves.net>
2806
2807 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2808 file and add calls to first and second.
2809 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2810 add call to f.
2811
6791b117
PA
28122020-09-13 Pedro Alves <pedro@palves.net>
2813
2814 * gdb.mi/mi-break-qualified.cc: New file.
2815 * gdb.mi/mi-break-qualified.exp: New file.
2816 * lib/mi-support.exp (mi_create_breakpoint_multi)
2817 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2818 procedures.
2819 (mi_create_breakpoint_1): New, factored out from
2820 mi_create_breakpoint.
2821
3b8d4c5c
PA
28222020-09-13 Pedro Alves <pedro@palves.net>
2823
2824 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2825 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2826 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2827 (register_class): Delete.
2828 (main): Don't call register_class.
2829
d5f96005
PA
28302020-09-13 Pedro Alves <pedro@palves.net>
2831
2832 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2833 (do_tests): Remove "calling method for small class" test.
2834 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2835 (register_class): Delete.
2836 (main): Don't call register_class.
2837 * gdb.cp/call-method-register.exp: New file, based on bits removed
2838 from classes.exp.
2839 * gdb.cp/call-method-register.cc: New file, based on bits removed
2840 from classes.cc.
2841
77f2120b
PA
28422020-09-13 Pedro Alves <pedro@palves.net>
2843
2844 * gdb.base/msym-bp-2.c: New.
2845 * gdb.base/msym-bp-shl-lib.c: New file.
2846 * gdb.base/msym-bp-shl-main-2.c: New file.
2847 * gdb.base/msym-bp-shl-main.c: New file.
2848 * gdb.base/msym-bp-shl.exp: New file.
2849 * gdb.base/msym-bp.c: New file.
2850 * gdb.base/msym-bp.exp: New file.
2851
32aea73e
JB
28522020-09-13 Joel Brobecker <brobecker@adacore.com>
2853
2854 * gdb.base/default.exp: Change $_gdb_major to 11.
2855
2a67f09d
FW
28562020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2857 Felix Willgerodt <Felix.Willgerodt@intel.com>
2858
2859 * x86-avx512bf16.c: New file.
2860 * x86-avx512bf16.exp: Likewise.
2861 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2862
ad570dd7
TV
28632020-09-11 Tom de Vries <tdevries@suse.de>
2864
2865 PR exp/26602
2866 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2867
a56f7391
TBA
28682020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2869
2870 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2871
918619e5
AM
28722020-09-10 Alan Modra <amodra@gmail.com>
2873
2874 PR 26597
2875 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2876
cac1e71d
TV
28772020-09-08 Tom de Vries <tdevries@suse.de>
2878
2879 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2880 after gdb_starti_cmd.
2881
c5cd900e
AKS
28822020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2883
2884 * lib/fortran.exp (fortran_complex8): New proc.
2885 (fortran_complex16): New proc.
2886 * gdb.fortran/complex.exp: Use routines from fortran.exp
2887 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2888 * gdb.fortran/vla-ptr-info.exp: Likewise.
2889
8f5c6526
TV
28902020-09-03 Tom de Vries <tdevries@suse.de>
2891
2892 PR breakpoint/26546
2893 * gdb.base/label-without-address.exp: Runto main first.
2894
02c6f3f1
TT
28952020-09-02 Tom Tromey <tromey@adacore.com>
2896
2897 * gdb.ada/mi_var_access.exp: Test children of access variable.
2898 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2899 * gdb.ada/mi_var_array.exp: Update.
2900
efe24f05
KB
29012020-08-31 Kevin Buettner <kevinb@redhat.com>
2902
2903 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2904 on docker w/ AUFS storage driver.
2905
973695d6
KB
29062020-08-31 Kevin Buettner <kevinb@redhat.com>
2907
2908 * gdb.base/corefile2.exp (renamed binfile): New tests.
2909
f3bd50f1
SM
29102020-08-31 Simon Marchi <simon.marchi@efficios.com>
2911
2912 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2913
22b9b4b0
SL
29142020-08-31 Simon Marchi <simon.marchi@efficios.com>
2915
2916 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2917 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2918
8efaf6b3
SM
29192020-08-31 Simon Marchi <simon.marchi@efficios.com>
2920
2921 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2922 output, printing a "not saved" value from history and printing a
2923 convenience variable created from a "not saved" value.
2924
e840f2e3
TV
29252020-08-31 Tom de Vries <tdevries@suse.de>
2926
2927 * gdb.base/eh_return.exp: Use nopie.
2928
8f57f343
PA
29292020-08-28 Pedro Alves <pedro@palves.net>
2930
2931 * gdb.base/advance-until-multiple-locations.exp
2932 (advance_overload, until_overload): Adjust to match the
2933 frame/function header instead of the source line text.
2934
626d2320
TV
29352020-08-28 Tom de Vries <tdevries@suse.de>
2936
2937 * gdb.base/label-without-address.c: New test.
2938 * gdb.base/label-without-address.exp: New file.
2939
df631783
PA
29402020-08-27 Pedro Alves <pedro@palves.net>
2941
2942 PR gdb/26523
2943 PR gdb/26524
2944 * gdb.base/advance-until-multiple-locations.cc: New.
2945 * gdb.base/advance-until-multiple-locations.exp: New.
2946
48b076bb
SM
29472020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2948
2949 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2950
c2015ce4
AB
29512020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2952
2953 * gdb.arch/amd64-byte.exp: Make test names unique, use
2954 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2955 * gdb.arch/amd64-dword.exp: Likewise.
2956 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2957 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2958 unique.
2959 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2960 * gdb.arch/amd64-word.exp: Make test names unique, use
2961 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2962 * gdb.arch/i386-byte.exp: Make test names unique, use
2963 gdb_breakpoint.
2964 * gdb.arch/i386-word.exp: Likewise.
2965
995d3a19
SV
29662020-08-25 Shahab Vahedi <shahab@synopsys.com>
2967
2968 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2969
8cac2b31
SM
29702020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2971
2972 PR gdb/26532
2973 * gdb.threads/stepi-random-signal.exp: Update pattern.
2974
2bc19622
SM
29752020-08-25 Simon Marchi <simon.marchi@efficios.com>
2976
2977 PR gdb/26532
2978 * gdb.base/ui-redirect.exp: Update pattern.
2979
b04aa1fc
GB
29802020-08-25 Gary Benson <gbenson@redhat.com>
2981
2982 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2983 when compiling with clang.
8571e9c8 2984 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2985
9f68b453
GB
29862020-08-25 Gary Benson <gbenson@redhat.com>
2987
2988 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2989 Add additional_flags=-Wno-inaccessible-base when compiling
2990 with GCC >= 10.1 or clang. Add additional_flags=-w when
2991 compiling with GCC < 10.
2992
3945d2d7
GM
29932020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2994
2995 PR m2/26372
fc5d6901
SM
2996 * gdb.modula2/multidim.c: New file.
2997 * gdb.modula2/multidim.exp: New file.
3945d2d7 2998
60122dbe
SM
29992020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3000
3001 * lib/gdb.exp (runto): Always emit fail on internal error.
3002
1eb8556f
SM
30032020-08-24 Simon Marchi <simon.marchi@efficios.com>
3004
3005 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3006 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3007 Likewise.
3008 * gdb.threads/stepi-random-signal.exp: Likewise.
3009
33bf4c5c
TBA
30102020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3011
3012 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3013 * gdb.trace/strace.exp: Ditto.
3014
c2fd7fae
AKS
30152020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3016
3017 * gdb.fortran/vla-type.exp: Skip commands not required for
3018 the Flang compiled binaries after prologue fix.
3019
326afb72
TT
30202020-08-17 Tom de Vries <tdevries@suse.de>
3021 Tom Tromey <tromey@adacore.com>
3022
3023 PR rust/26197:
3024 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3025
3ae7ab99
TT
30262020-08-17 Tom Tromey <tromey@adacore.com>
3027
3028 * gdb.ada/mi_var_access.exp: New file.
3029 * gdb.ada/mi_var_access/mi_access.adb: New file.
3030 * gdb.ada/mi_var_access/pck.adb: New file.
3031 * gdb.ada/mi_var_access/pck.ads: New file.
3032
f569c1c5
TV
30332020-08-16 Tom de Vries <tdevries@suse.de>
3034
3035 PR gdb/25350
3036 * gdb.base/eh_return.c: New test.
3037 * gdb.base/eh_return.exp: New file.
3038
3d11c30a
TV
30392020-08-15 Tom de Vries <tdevries@suse.de>
3040
3041 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3042 (mixed_func_1d_): Use fortran_charlen_t in decl.
3043
547ce8f0
TV
30442020-08-15 Tom de Vries <tdevries@suse.de>
3045
3046 PR backtrace/26390
3047 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3048 Update expected pattern.
3049
a54a7f13
PA
30502020-08-13 Pedro Alves <pedro@palves.net>
3051
3052 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3053 * gdb.fortran/library-module.exp: Likewise.
3054 * gdb.fortran/logical.exp: Likewise.
3055 * gdb.fortran/module.exp: Likewise.
3056 * gdb.fortran/print_type.exp: Likewise.
3057 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3058 * gdb.fortran/vla-datatypes.exp: Likewise.
3059 * gdb.fortran/vla-history.exp: Likewise.
3060 * gdb.fortran/vla-ptr-info.exp: Likewise.
3061 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3062 * gdb.fortran/vla-ptype.exp: Likewise.
3063 * gdb.fortran/vla-sizeof.exp: Likewise.
3064 * gdb.fortran/vla-type.exp: Likewise.
3065 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3066 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3067 * gdb.fortran/vla-value-sub.exp: Likewise.
3068 * gdb.fortran/vla-value.exp: Likewise.
3069
7a82e903
PA
30702020-08-13 Pedro Alves <pedro@palves.net>
3071
3072 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3073 * gdb.ada/access_to_packed_array.exp: Likewise.
3074 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3075 * gdb.ada/addr_arith.exp: Likewise.
3076 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3077 * gdb.ada/arr_arr.exp: Likewise.
3078 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3079 * gdb.ada/array_bounds.exp: Likewise.
3080 * gdb.ada/array_of_variable_length.exp: Likewise.
3081 * gdb.ada/array_ptr_renaming.exp: Likewise.
3082 * gdb.ada/array_subscript_addr.exp: Likewise.
3083 * gdb.ada/arraydim.exp: Likewise.
3084 * gdb.ada/arrayparam.exp: Likewise.
3085 * gdb.ada/arrayptr.exp: Likewise.
3086 * gdb.ada/assign_1.exp: Likewise.
3087 * gdb.ada/assign_arr.exp: Likewise.
3088 * gdb.ada/atomic_enum.exp: Likewise.
3089 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3090 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3091 * gdb.ada/bias.exp: Likewise.
3092 * gdb.ada/boolean_expr.exp: Likewise.
3093 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3094 * gdb.ada/bp_enum_homonym.exp: Likewise.
3095 * gdb.ada/bp_inlined_func.exp: Likewise.
3096 * gdb.ada/bp_on_var.exp: Likewise.
3097 * gdb.ada/bp_range_type.exp: Likewise.
3098 * gdb.ada/bp_reset.exp: Likewise.
3099 * gdb.ada/call_pn.exp: Likewise.
3100 * gdb.ada/catch_assert_if.exp: Likewise.
3101 * gdb.ada/catch_ex.exp: Likewise.
3102 * gdb.ada/catch_ex_std.exp: Likewise.
3103 * gdb.ada/char_enum.exp: Likewise.
3104 * gdb.ada/char_param.exp: Likewise.
3105 * gdb.ada/complete.exp: Likewise.
3106 * gdb.ada/cond_lang.exp: Likewise.
3107 * gdb.ada/convvar_comp.exp: Likewise.
3108 * gdb.ada/dgopt.exp: Likewise.
3109 * gdb.ada/disc_arr_bound.exp: Likewise.
3110 * gdb.ada/display_nested.exp: Likewise.
3111 * gdb.ada/dot_all.exp: Likewise.
3112 * gdb.ada/dyn_loc.exp: Likewise.
3113 * gdb.ada/dyn_stride.exp: Likewise.
3114 * gdb.ada/excep_handle.exp: Likewise.
3115 * gdb.ada/expr_delims.exp: Likewise.
3116 * gdb.ada/expr_with_funcall.exp: Likewise.
3117 * gdb.ada/exprs.exp: Likewise.
3118 * gdb.ada/fin_fun_out.exp: Likewise.
3119 * gdb.ada/fixed_cmp.exp: Likewise.
3120 * gdb.ada/formatted_ref.exp: Likewise.
3121 * gdb.ada/frame_arg_lang.exp: Likewise.
3122 * gdb.ada/frame_args.exp: Likewise.
3123 * gdb.ada/fullname_bp.exp: Likewise.
3124 * gdb.ada/fun_addr.exp: Likewise.
3125 * gdb.ada/fun_in_declare.exp: Likewise.
3126 * gdb.ada/fun_overload_menu.exp: Likewise.
3127 * gdb.ada/fun_renaming.exp: Likewise.
3128 * gdb.ada/funcall_char.exp: Likewise.
3129 * gdb.ada/funcall_param.exp: Likewise.
3130 * gdb.ada/funcall_ptr.exp: Likewise.
3131 * gdb.ada/funcall_ref.exp: Likewise.
3132 * gdb.ada/homonym.exp: Likewise.
3133 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3134 * gdb.ada/info_auto_lang.exp: Likewise.
3135 * gdb.ada/info_exc.exp: Likewise.
3136 * gdb.ada/info_types.exp: Likewise.
3137 * gdb.ada/int_deref.exp: Likewise.
3138 * gdb.ada/interface.exp: Likewise.
3139 * gdb.ada/iwide.exp: Likewise.
3140 * gdb.ada/lang_switch.exp: Likewise.
3141 * gdb.ada/length_cond.exp: Likewise.
3142 * gdb.ada/maint_with_ada.exp: Likewise.
3143 * gdb.ada/mi_catch_assert.exp: Likewise.
3144 * gdb.ada/mi_catch_ex.exp: Likewise.
3145 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3146 * gdb.ada/mi_dyn_arr.exp: Likewise.
3147 * gdb.ada/mi_ex_cond.exp: Likewise.
3148 * gdb.ada/mi_exc_info.exp: Likewise.
3149 * gdb.ada/mi_interface.exp: Likewise.
3150 * gdb.ada/mi_prot.exp: Likewise.
3151 * gdb.ada/mi_ref_changeable.exp: Likewise.
3152 * gdb.ada/mi_string_access.exp: Likewise.
3153 * gdb.ada/mi_task_arg.exp: Likewise.
3154 * gdb.ada/mi_task_info.exp: Likewise.
3155 * gdb.ada/mi_var_array.exp: Likewise.
3156 * gdb.ada/mi_var_union.exp: Likewise.
3157 * gdb.ada/mi_variant.exp: Likewise.
3158 * gdb.ada/minsyms.exp: Likewise.
3159 * gdb.ada/mod_from_name.exp: Likewise.
3160 * gdb.ada/nested.exp: Likewise.
3161 * gdb.ada/null_array.exp: Likewise.
3162 * gdb.ada/optim_drec.exp: Likewise.
3163 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3164 * gdb.ada/packed_array_assign.exp: Likewise.
3165 * gdb.ada/packed_tagged.exp: Likewise.
3166 * gdb.ada/pp-rec-component.exp: Likewise.
3167 * gdb.ada/print_chars.exp: Likewise.
3168 * gdb.ada/print_pc.exp: Likewise.
3169 * gdb.ada/ptr_typedef.exp: Likewise.
3170 * gdb.ada/ptype_arith_binop.exp: Likewise.
3171 * gdb.ada/ptype_array.exp: Likewise.
3172 * gdb.ada/ptype_field.exp: Likewise.
3173 * gdb.ada/ptype_tagged_param.exp: Likewise.
3174 * gdb.ada/ptype_union.exp: Likewise.
3175 * gdb.ada/py_range.exp: Likewise.
3176 * gdb.ada/py_taft.exp: Likewise.
3177 * gdb.ada/rdv_wait.exp: Likewise.
3178 * gdb.ada/rec_comp.exp: Likewise.
3179 * gdb.ada/rec_return.exp: Likewise.
3180 * gdb.ada/ref_param.exp: Likewise.
3181 * gdb.ada/ref_tick_size.exp: Likewise.
3182 * gdb.ada/rename_subscript_param.exp: Likewise.
3183 * gdb.ada/repeat_dyn.exp: Likewise.
3184 * gdb.ada/same_component_name.exp: Likewise.
3185 * gdb.ada/same_enum.exp: Likewise.
3186 * gdb.ada/scalar_storage.exp: Likewise.
3187 * gdb.ada/set_wstr.exp: Likewise.
3188 * gdb.ada/small_reg_param.exp: Likewise.
3189 * gdb.ada/str_binop_equal.exp: Likewise.
3190 * gdb.ada/str_ref_cmp.exp: Likewise.
3191 * gdb.ada/str_uninit.exp: Likewise.
3192 * gdb.ada/sub_variant.exp: Likewise.
3193 * gdb.ada/sym_print_name.exp: Likewise.
3194 * gdb.ada/taft_type.exp: Likewise.
3195 * gdb.ada/tagged.exp: Likewise.
3196 * gdb.ada/tagged_access.exp: Likewise.
3197 * gdb.ada/task_bp.exp: Likewise.
3198 * gdb.ada/task_switch_in_core.exp: Likewise.
3199 * gdb.ada/tasks.exp: Likewise.
3200 * gdb.ada/tick_last_segv.exp: Likewise.
3201 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3202 * gdb.ada/type_coercion.exp: Likewise.
3203 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3204 * gdb.ada/unchecked_union.exp: Likewise.
3205 * gdb.ada/uninitialized_vars.exp: Likewise.
3206 * gdb.ada/var_arr_attrs.exp: Likewise.
3207 * gdb.ada/var_arr_typedef.exp: Likewise.
3208 * gdb.ada/var_rec_arr.exp: Likewise.
3209 * gdb.ada/variant-record.exp: Likewise.
3210 * gdb.ada/variant.exp: Likewise.
3211 * gdb.ada/variant_record_packed_array.exp: Likewise.
3212 * gdb.ada/varsize_limit.exp: Likewise.
3213 * gdb.ada/whatis_array_val.exp: Likewise.
3214 * gdb.ada/widewide.exp: Likewise.
3215 * gdb.ada/win_fu_syms.exp: Likewise.
3216
32172020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3218
3219 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3220
10c381b5
AB
32212020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3222
3223 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3224 unset the array variable.
3225
8f34b746
TV
32262020-08-03 Tom de Vries <tdevries@suse.de>
3227
3228 PR symtab/26333
3229 * lib/dwarf.exp (DW_LNE_user): New proc.
3230 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3231 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3232
0245e136
KB
32332020-07-31 Kevin Buettner <kevinb@redhat.com>
3234
3235 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3236 to 'uintptr_t'
3237 (inttypes.h): Include.
3238
9ef1ec5d
KB
32392020-07-31 Kevin Buettner <kevinb@redhat.com>
3240
3241 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3242 (C5_24k): Delete.
3243 (C5_8k, C5_64k, C5_256k): New macros.
3244 (buf_ro): Allocate 256 KiB of initialized data.
3245
4c55e970
TBA
32462020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3247
3248 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3249 that attempt to overwrite an existing condition with a condition
3250 that fails parsing and also with a condition that parses fine
3251 but contains junk at the end.
3252
1e620590
TBA
32532020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3254
3255 * gdb.base/condbreak-bad.c: New test.
3256 * gdb.base/condbreak-bad.exp: New file.
3257
e12dcc50
TV
32582020-07-30 Tom de Vries <tdevries@suse.de>
3259
3260 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3261 out of ...
3262 (GDBInfoModuleSymbols::check_entry): ... here.
3263 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3264 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3265 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3266
6cc64caa
TV
32672020-07-30 Tom de Vries <tdevries@suse.de>
3268
3269 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3270 "__class_some_module_Number_t" optional.
3271
90fd07fc
TV
32722020-07-29 Tom de Vries <tdevries@suse.de>
3273
3274 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3275 multiple locations.
3276
f5c79e97
TV
32772020-07-29 Tom de Vries <tdevries@suse.de>
3278
3279 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3280 rather than function name.
3281
f75a0693
AB
32822020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3283
3284 PR symtab/26270:
3285 * gdb.cp/disasm-func-name.cc: New file.
3286 * gdb.cp/disasm-func-name.exp: New file.
3287
4888741a
TT
32882020-07-28 Tom Tromey <tromey@adacore.com>
3289
3290 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3291 'varval' location.
3292
43d5901d
AB
32932020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3294
3295 * gdb.python/py-unwind.py: Update to make use of a register
3296 descriptor.
3297
14fa8fb3
AB
32982020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3299
3300 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3301
e79eb02f
AB
33022020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3303
3304 PR fortran/23051
3305 PR fortran/26139
3306 * gdb.fortran/class-allocatable-array.exp: New file.
3307 * gdb.fortran/class-allocatable-array.f90: New file.
3308 * gdb.fortran/pointer-to-pointer.exp: New file.
3309 * gdb.fortran/pointer-to-pointer.f90: New file.
3310
876518dd
TV
33112020-07-25 Tom de Vries <tdevries@suse.de>
3312
3313 PR symtab/26243
3314 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3315 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3316
6dcfb80a
TV
33172020-07-24 Tom de Vries <tdevries@suse.de>
3318
3319 PR testsuite/26293
3320 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3321
e7bc9db8
PA
33222020-07-23 Pedro Alves <pedro@palves.net>
3323
3324 * gdb.server/server-kill.exp (prepare): New, factored out from the
3325 top level.
3326 (kill_server): New.
3327 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3328 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3329
78344df7
AB
33302020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3331
3332 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3333
25dfed24
SL
33342020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3335
3336 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3337 Initialize to empty string at top level.
3338 (gdb_wrapper_init): Revert check for file existence on build.
3339 Build the wrapper in its default place, not a build-specific
3340 location. When host == build, make the pathname absolute.
3341 (gdb_compile): Delete leftover declaration of
3342 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3343 string instead of uninitialized.
3344
7da515fd
KB
33452020-07-22 Kevin Buettner <kevinb@redhat.com>
3346
3347 * gdb.base/corefile2.exp: New file.
3348 * gdb.base/coremaker2.exp: New file.
3349
9c5ec5c2
KB
33502020-07-22 Kevin Buettner <kevinb@redhat.com>
3351
3352 * gdb.base/coredump-filter.exp: Add second
3353 non-Private-Shared-Anon-File test.
3354 (test_disasm): Rename binfile for test which is expected
3355 to fail.
3356
f9e233c9
KB
33572020-07-22 Kevin Buettner <kevinb@redhat.com>
3358
3359 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3360 data in core file".
3361 * gdb.base/coremaker.c (buf2ro): New global.
3362 (mmapdata): Add a read-only mmap mapping.
3363
94c265d7
KB
33642020-07-22 Kevin Buettner <kevinb@redhat.com>
3365
3366 PR corefiles/25631
3367 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3368 New test.
3369 * gdb.base/coremaker.c (buf3): New global.
3370 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3371 flags.
3372
33732020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3374
3375 * gdb.base/coremaker.c (filler_ro): New global constant.
3376
32fa152e
TT
33772020-07-22 Tom Tromey <tromey@adacore.com>
3378
3379 * gdb.ada/mi_prot.exp: New file.
3380 * gdb.ada/mi_prot/pkg.adb: New file.
3381 * gdb.ada/mi_prot/pkg.ads: New file.
3382 * gdb.ada/mi_prot/prot.adb: New file.
3383
c8474dc3
TBA
33842020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3385
3386 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3387 loads two JITers.
3388
baf8791e
AB
33892020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3390
3391 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3392
f7306dac
AB
33932020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3394
3395 * gdb.python/py-arch-reg-names.exp: Additional tests.
3396
6d3d6e4b
TV
33972020-07-21 Tom de Vries <tdevries@suse.de>
3398
3399 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3400 breakpoint locations".
3401 * gdb.reverse/solib-reverse.exp: Same.
3402
803d0592
TV
34032020-07-21 Tom de Vries <tdevries@suse.de>
3404
3405 * gdb.reverse/step-reverse.c (callee): Merge statements.
3406
e9bdc510
TV
34072020-07-21 Tom de Vries <tdevries@suse.de>
3408
3409 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3410 line numbers for some variables.
3411
f0f9e75a
TV
34122020-07-21 Tom de Vries <tdevries@suse.de>
3413
3414 * gdb.opt/inline-locals.c (init_array): New func.
3415 (func1): Use init_array.
3416 * gdb.opt/inline-locals.exp: Update pattern.
3417
bd460ecb
TV
34182020-07-21 Tom de Vries <tdevries@suse.de>
3419
3420 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3421 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3422
ae5369e7
LC
34232020-07-20 Ludovic Courtès <ludo@gnu.org>
3424
3425 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3426 * gdb.guile/types-module.exp: Remove "ERROR:" from
3427 regexps since Guile 3.0 no longer prints that.
3428
68cf161c
LC
34292020-07-20 Ludovic Courtès <ludo@gnu.org>
3430
3431 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3432 error regexp to match on Guile 2.2.
3433
c14b4913
GB
34342020-07-20 Gary Benson <gbenson@redhat.com>
3435
3436 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3437 with clang.
3438
b243ba58
TV
34392020-07-20 Tom de Vries <tdevries@suse.de>
3440
3441 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3442 (omp_set_lock_in_order): New function.
3443 (single_scope, multi_scope, nested_func, nested_parallel): Use
3444 omp_set_lock_in_order and omp_unset_lock.
3445 (main): Init and destroy lock and lock2.
3446
c06ad8b5
TV
34472020-07-20 Tom de Vries <tdevries@suse.de>
3448
3449 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3450
6e22f117
TV
34512020-07-20 Tom de Vries <tdevries@suse.de>
3452
3453 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3454
33176ea7
TV
34552020-07-17 Tom de Vries <tdevries@suse.de>
3456
3457 * gdb.base/valgrind-infcall-2.c: New test.
3458 * gdb.base/valgrind-infcall-2.exp: New file.
3459 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3460
90c3ec2d
TV
34612020-07-17 Tom de Vries <tdevries@suse.de>
3462
3463 * gdb.dlang/circular.c (found): Use found_label as label name.
3464 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3465 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3466 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3467 * gdb.dwarf2/ada-linkage-name.exp: Same.
3468 * gdb.dwarf2/arr-subrange.exp: Same.
3469 * gdb.dwarf2/atomic-type.exp: Same.
3470 * gdb.dwarf2/comp-unit-lang.exp: Same.
3471 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3472 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3473 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3474 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3475 * gdb.dwarf2/implptr-64bit.exp: Same.
3476 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3477 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3478 * gdb.dwarf2/imported-unit.exp: Same.
3479 * gdb.dwarf2/main-subprogram.exp: Same.
3480 * gdb.dwarf2/missing-type-name.exp: Same.
3481 * gdb.dwarf2/nonvar-access.exp: Same.
3482 * gdb.dwarf2/struct-with-sig.exp: Same.
3483 * gdb.dwarf2/typedef-void-finish.exp: Same.
3484 * gdb.dwarf2/void-type.exp: Same.
3485
10da644d
TV
34862020-07-17 Tom de Vries <tdevries@suse.de>
3487
3488 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3489 src parameter.
3490 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3491 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3492 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3493 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3494 * gdb.dwarf2/dwz.exp: Same.
3495 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3496 * gdb.dwarf2/implref-array.exp: Same.
3497 * gdb.dwarf2/implref-const.exp: Same.
3498 * gdb.dwarf2/implref-global.exp: Same.
3499 * gdb.dwarf2/implref-struct.exp: Same.
3500 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3501 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3502 * gdb.dwarf2/var-access.exp: Same.
3503 * gdb.dwarf2/varval.exp: Same.
3504 * gdb.trace/entry-values.exp: Same.
3505
315e6afc
TV
35062020-07-17 Tom de Vries <tdevries@suse.de>
3507
3508 * lib/dwarf.exp (Dwarf::extern): Remove.
3509 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3510 * gdb.dlang/circular.exp: Same.
3511 * gdb.dwarf2/comp-unit-lang.exp: Same.
3512 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3513 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3514 * gdb.dwarf2/dwz.exp: Same.
3515 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3516 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3517 * gdb.dwarf2/imported-unit.exp: Same.
3518 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3519
5597c940
SL
35202020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3521
3522 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3523 Use double quotes instead of single quotes.
3524
d0ce17d8
CT
35252020-07-16 Caroline Tice <cmtice@google.com>
3526
3527 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3528 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3529
853772cc
TV
35302020-07-16 Tom de Vries <tdevries@suse.de>
3531
3532 * lib/dwarf.exp (program): Initialize _line.
3533 (DW_LNE_end_sequence): Reinitialize _line.
3534 (DW_LNS_advance_line): Update _line.
3535 (line): New proc.
3536 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3537 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3538 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3539 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3540 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3541 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3542
fe07b572
AB
35432020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3544
3545 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3546 generic.
3547
52781cce
TV
35482020-07-15 Tom de Vries <tdevries@suse.de>
3549
3550 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3551 is_amd64_regs_target.
3552
3dcc261c
AB
35532020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3554
3555 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3556 * gdb.fortran/ptype-on-functions.f90: Likewise.
3557
054a0959
SM
35582020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3559
3560 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3561 values in documentation for addr_size to 4 and 8.
3562
ccb9eba6
AB
35632020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3564
3565 * gdb.arch/amd64-osabi.exp: Update.
3566 * gdb.arch/arm-disassembler-options.exp: Update.
3567 * gdb.arch/powerpc-disassembler-options.exp: Update.
3568 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3569 * gdb.arch/s390-disassembler-options.exp: Update.
3570 * gdb.base/all-architectures.exp.tcl: Update.
3571 * gdb.base/attach-pie-noexec.exp: Update.
3572 * gdb.base/catch-syscall.exp: Update.
3573 * gdb.xml/tdesc-arch.exp: Update.
3574
025a39a7
TV
35752020-07-14 Tom de Vries <tdevries@suse.de>
3576
3577 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3578 (local_gettid): ... this.
3579 (fn): Update.
3580
74e4b667
SL
35812020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3582
3583 * gdb.base/info_sources.exp: Skip directory match tests on
3584 remote hosts.
3585
f413dd74
GB
35862020-07-13 Gary Benson <gbenson@redhat.com>
3587
3588 * gdb.base/savedregs.exp (caller): Use parentheses to
3589 make expected expression evaluation ordering explicit.
3590
915771bb
GB
35912020-07-13 Gary Benson <gbenson@redhat.com>
3592
3593 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3594
2a122642
GB
35952020-07-13 Gary Benson <gbenson@redhat.com>
3596
3597 * gdb.base/bigcore.c (main): Use a volatile pointer when
3598 attempting to trigger a SIGSEGV.
3599 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3600 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3601 * gdb.base/savedregs.c (thrower): Likewise.
3602 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3603
3f00c730
GB
36042020-07-13 Gary Benson <gbenson@redhat.com>
3605
3606 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3607 defining and using VLA structure fields into...
3608 * gdb.base/vla-struct-fields.c: New file.
3609 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3610 tests into...
3611 * gdb.base/vla-struct-fields.exp: New file.
3612
963eeee4
TV
36132020-07-13 Tom de Vries <tdevries@suse.de>
3614
3615 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3616 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3617 * gdb.base/gold-gdb-index.exp: Same.
3618 * gdb.base/morestack.exp: Same.
3619
0ed35c9a
DX
36202020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3621
3622 PR rust/26121
3623 * gdb.rust/modules.rs: Prevent linker from discarding test
3624 symbol.
3625
4fdba23d
PA
36262020-07-10 Pedro Alves <pedro@palves.net>
3627
3628 PR gdb/26199
3629 * gdb.multi/multi-target.c (exit_thread): New.
3630 (thread_start): Break loop if EXIT_THREAD.
3631 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3632 (top level) Call test_no_resumed.
3633
15f3b077
TT
36342020-07-08 Tom Tromey <tromey@adacore.com>
3635
3636 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3637 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3638
9fc501fd
AB
36392020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3640
3641 PR python/22748
3642 * gdb.opt/inline-frame-tailcall.c: New file.
3643 * gdb.opt/inline-frame-tailcall.exp: New file.
3644 * gdb.python/py-unwind-inline.c: New file.
3645 * gdb.python/py-unwind-inline.exp: New file.
3646 * gdb.python/py-unwind-inline.py: New file.
3647
64cb3757
AB
36482020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3649
3650 * gdb.python/py-arch-reg-groups.exp: New file.
3651
0f767f94
AB
36522020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3653
3654 * gdb.python/py-arch-reg-names.exp: New file.
3655
87dbc774
AB
36562020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3657
3658 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3659 gdb.PendingFrame.architecture method.
3660
d8cc8af6
TV
36612020-07-06 Tom de Vries <tdevries@suse.de>
3662
3663 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3664
3c8ea5be
PA
36652020-07-03 Pedro Alves <palves@redhat.com>
3666
3667 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3668 explicitly write negative numbers.
3669 * gdb.base/structs2.exp: Adjust expected output.
3670
bf90c83a
PA
36712020-07-03 Pedro Alves <palves@redhat.com>
3672
3673 * gdb.base/charset.c (init_string): Change all char parameters to
3674 unsigned char parameters.
3675
2eb82157
PA
36762020-07-03 Pedro Alves <palves@redhat.com>
3677
3678 * gdb.base/call-sc.exp (start_scalars_test): Use
3679 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3680 * gdb.base/overlays.c: Remove references to PARAMS.
3681 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3682 * gdb.base/reread.exp: Don't set 'prototypes' global.
3683 * gdb.base/structs.exp (start_structs_test): Use
3684 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3685 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3686 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3687 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3688 call.
3689 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3690
9adda7af
PA
36912020-07-03 Pedro Alves <palves@redhat.com>
3692
3693 * gdb.base/m32rovly.c: Delete.
3694 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3695
2a17c803
PW
36962020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3697
3698 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3699 of gdb_py_test_multiple.
3700 * gdb.python/py-cmd.exp: Likewise.
3701 * gdb.python/py-events.exp: Likewise.
3702 * gdb.python/py-function.exp: Likewise.
3703 * gdb.python/py-inferior.exp: Likewise.
3704 * gdb.python/py-infthread.exp: Likewise.
3705 * gdb.python/py-linetable.exp: Likewise.
3706 * gdb.python/py-parameter.exp: Likewise.
3707 * gdb.python/py-value.exp: Likewise.
3708
b011fe1a
TV
37092020-06-30 Tom de Vries <tdevries@suse.de>
3710
3711 PR testsuite/26175
3712 * lib/future.exp (gdb_default_target_compile): Detect and handle
3713 early_flags.
3714
df5b8876
SM
37152020-06-29 Simon Marchi <simon.marchi@efficios.com>
3716
3717 * boards/simavr.exp (gdb_load): Catch errors when closing
3718 previous connection. Close connection, wait for process and
3719 unset simavr_spawn_id on failure.
3720
a3ca48cd
TV
37212020-06-29 Tom de Vries <tdevries@suse.de>
3722
3723 * lib/gdb.exp (unknown): Make test-case unresolved.
3724
b0237c0e
TV
37252020-06-29 Tom de Vries <tdevries@suse.de>
3726
3727 PR gdb/25475
3728 * gdb.server/solib-list.exp: Verify that the symbol reload
3729 confirmation question is asked.
3730
c0b3b3bd
PW
37312020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3732
3733 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3734 have a input seq nr in each pass message.
fe4c3d43 3735 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3736 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3737 * gdb.python/python.exp: Make test names unique,
3738 use gdb_test_multiline instead of gdb_py_test_multiple,
3739 use $gdb_test_name.
3740 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3741
1776e3e5
NA
37422020-06-26 Nick Alcock <nick.alcock@oracle.com>
3743
3744 * configure.ac: Add --enable-libctf.
3745 * aclocal.m4: sinclude ../config/enable.m4.
3746 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3747 * lib/gdb.exp (skip_ctf_tests): Use it.
3748 * gdb.base/ctf-constvars.exp: Error message tweak.
3749 * gdb.base/ctf-ptype.exp: Likewise.
3750 * configure: Regenerate.
3751
f53b3eeb
GB
37522020-06-26 Gary Benson <gbenson@redhat.com>
3753
3754 * gdb.cp/try_catch.cc: Include string.h.
3755 (main): Replace comparison against string literal with
3756 strcmp, avoiding build failure with -Wstring-compare.
3757 Add "marker test-complete".
3758 * gdb.cp/try_catch.exp: Run the test to the above marker,
3759 then verify that the value of "test" is still true.
3760
6d74da72
AB
37612020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3762
3763 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3764
2e52d038
AB
37652020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3766
3767 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3768
3b9fce96
AB
37692020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3770
3771 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3772 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3773 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3774 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3775 * gdb.arch/riscv-tdesc-loading.exp: New file.
3776
ed69cbc8
AB
37772020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3778
3779 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3780
767a879e
AB
37812020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3782
3783 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3784 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3785 * gdb.arch/riscv-tdesc-regs.c: New file.
3786 * gdb.arch/riscv-tdesc-regs.exp: New file.
3787
221db974
PA
37882020-06-24 Pedro Alves <palves@redhat.com>
3789
3790 * gdb.arch/amd64-entry-value-paramref.exp: Use
3791 prepare_for_testing_full and don't pass "c++" for the .S file
3792 build spec.
3793 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3794 $options, since it's an assembly file. Remove -Wno-deprecated.
3795 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3796 compiling C++ programs.
3797
331733cd
PA
37982020-06-24 Pedro Alves <palves@redhat.com>
3799
3800 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3801 Clang, add "-Wno-unknown-warning-option" to the options.
3802
caa7fd04
AB
38032020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3804
3805 * gdb.xml/tdesc-reload.c: New file.
3806 * gdb.xml/tdesc-reload.exp: New file.
3807 * gdb.xml/maint-xml-dump-01.xml: New file.
3808 * gdb.xml/maint-xml-dump-02.xml: New file.
3809 * gdb.xml/maint-xml-dump.exp: New file.
3810
bb8d1260
SL
38112020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3812
3813 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3814 Adjust for omitted commands when TUI is disabled.
3815
7e4b9c4c
GB
38162020-06-23 Gary Benson <gbenson@redhat.com>
3817 Pedro Alves <palves@redhat.com>
3818
3819 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3820 * gdb.cp/nsimport.cc: Likewise.
3821 * gdb.cp/nsnested.cc: Likewise.
3822 * gdb.cp/nsnoimports.cc: Likewise.
3823 * gdb.cp/nsusing.cc: Likewise.
3824 * gdb.cp/smartp.cc: Likewise.
3825 * gdb.python/py-pp-integral.c: Likewise.
3826 * gdb.python/py-pp-re-notag.c: Likewise.
3827
2e573c0a
GB
38282020-06-23 Gary Benson <gbenson@redhat.com>
3829
3830 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3831 * gdb.cp/nsimport.cc: Likewise.
3832 * gdb.cp/nsnested.cc: Likewise.
3833 * gdb.cp/nsnoimports.cc: Likewise.
3834 * gdb.cp/nsusing.cc: Likewise.
3835 * gdb.cp/smartp.cc: Likewise.
3836 * gdb.python/py-pp-integral.c: Likewise.
3837 * gdb.python/py-pp-re-notag.c: Likewise.
3838
746ebfe8
PW
38392020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3840
3841 * gdb.base/default-args.exp: New test.
3842 * gdb.base/default-args.c: New file.
3843 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3844 * gdb.base/default.exp: Update to new help text.
3845 * gdb.base/help.exp: Likewise.
3846 * gdb.base/page.exp: Likewise.
3847 * gdb.base/style.exp: Likewise.
3848 * gdb.guile/guile.exp: Likewise.
3849 * gdb.python/python.exp: Likewise.
3850
e822f2cd
SL
38512020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3852
3853 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3854 remote host. Fix search path syntax on Windows host.
3855
48e9cc84
PW
38562020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3857
3858 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3859 over 'exec-file-mismatch'.
3860 * gdb.base/attach.c: Mark should_exit volatile.
3861 * gdb.base/attach2.c: Likewise. Add a comment explaining
3862 why the sleep cannot be big.
3863 * gdb.base/attach3.c: New file.
3864
160f8a8f
SL
38652020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3866
3867 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3868 prefix optional.
3869
4d91c2a4
SL
38702020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3871
3872 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3873 for remote host.
3874
87f83f20
SL
38752020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3876 Hafiz Abid Qadeer <abidh@codesourcery.com>
3877
3878 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3879 file sent to remote host.
3880 (top level): Allow int32_t as type of 32-bit register.
3881
37ab8655
TV
38822020-06-19 Tom de Vries <tdevries@suse.de>
3883
3884 * lib/gdb.exp (gdb_note): New proc.
3885 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3886 (gdb_default_target_compile): ... here. Only call
3887 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3888 (use_gdb_compile): Change to array.
3889 (toplevel): Update sets of use_gdb_compile to specify language.
3890 Warn about default_target_compile override. Store dejagnu's version
3891 of default_target_compile in dejagnu_default_target_compile.
3892
a8a56685
TV
38932020-06-18 Tom de Vries <tdevries@suse.de>
3894
3895 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3896 (default_gdb_init): ... here.
3897
581bea2c
SL
38982020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3899
3900 Fix TUI support checks in gdb.tui tests.
3901
3902 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3903 just say UNSUPPORTED.
3904 * gdb.tui/corefile-run.exp: Likewise.
3905 * gdb.tui/empty.exp: Likewise.
3906 * gdb.tui/list-before.exp: Likewise.
3907 * gdb.tui/list.exp: Likewise.
3908 * gdb.tui/main.exp: Likewise.
3909 * gdb.tui/regs.exp: Likewise.
3910 * gdb.tui/resize.exp: Likewise.
3911 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3912 * gdb.tui/tui-layout-asm.exp: Likewise.
3913 * gdb.tui/tui-missing-src.exp: Likewise.
3914 * gdb.tui/winheight.exp: Likewise.
3915 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3916
05e682e3
SL
39172020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3918
3919 Fix TCL error in gdb.python/py-format-string.exp.
3920
3921 * gdb.python/py-format-string.exp: Move test for python support
3922 earlier, out of function body.
3923
efb763a5
SM
39242020-06-15 Simon Marchi <simon.marchi@efficios.com>
3925
3926 * gdb.base/index-cache-load-twice.c: New.
3927 * gdb.base/index-cache-load-twice.exp: New.
3928
43327b20
KS
39292020-06-17 Keith Seitz <keiths@redhat.com>
3930
99cf27cf 3931 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3932 when executing "gdb --configuration".
3933
081e778c
TV
39342020-06-17 Tom de Vries <tdevries@suse.de>
3935
3936 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3937 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3938 conditional on presence of gdb_tcl_unknown.
3939 (gdb_finish): Make override undo conditional on presence of
3940 gdb_tcl_unknown.
3941
d2d1ea20
TT
39422020-06-16 Tom Tromey <tom@tromey.com>
3943
3944 * gdb.python/tui-window.py (failwin): New function. Register it
3945 as a TUI window type.
3946 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3947
c802e8a7
GB
39482020-06-16 Gary Benson <gbenson@redhat.com>
3949
3950 * gdb.python/py-nested-maps.c (create_map): Add missing return
3951 value.
3952 (create_map_map): Likewise.
3953
ff08abb8
TBA
39542020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3955
3956 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3957 variable.
3958 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3959 and use the already-defined 'options' variable.
3960
a29d5112
AB
39612020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3962 Tom de Vries <tdevries@suse.de>
3963
3964 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3965 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3966 (gdb_setup_known_globals): New proc.
3967 (gdb_cleanup_globals): New proc.
3968 * lib/gdb.exp (load_lib): New override proc.
3969 (gdb_stdin_log_init): Set var in_file as persistent global.
3970 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3971 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3972 fpc_compiler as persistent global.
3973
8c74a764
TV
39742020-06-12 Tom de Vries <tdevries@suse.de>
3975
3976 * lib/tuiterm.exp (spawn): Rename to ...
3977 (tui_spawn): ... this.
3978 (toplevel): Move rename of spawn ...
3979 (gdb_init_tuiterm): ... here. New proc.
3980 (gdb_finish_tuiterm): New proc.
3981 * lib/gdb.exp (gdb_finish_hooks): New global var.
3982 (gdb_finish): Handle gdb_finish_hooks.
3983 (tuiterm_env): New proc.
3984 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3985 tuiterm_env.
3986 * gdb.tui/basic.exp: Same.
3987 * gdb.tui/corefile-run.exp: Same.
3988 * gdb.tui/empty.exp: Same.
3989 * gdb.tui/list-before.exp: Same.
3990 * gdb.tui/list.exp: Same.
3991 * gdb.tui/main.exp: Same.
3992 * gdb.tui/new-layout.exp: Same.
3993 * gdb.tui/regs.exp: Same.
3994 * gdb.tui/resize.exp: Same.
3995 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3996 * gdb.tui/tui-layout-asm.exp: Same.
3997 * gdb.tui/tui-missing-src.exp: Same.
3998 * gdb.tui/winheight.exp: Same.
3999
26783bce
TV
40002020-06-12 Tom de Vries <tdevries@suse.de>
4001
4002 PR testsuite/26110
4003 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4004 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4005
2b4e6a3f
TT
40062020-06-11 Tom Tromey <tom@tromey.com>
4007
4008 PR gdb/18318:
4009 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4010 floating point tests.
4011
2f33032a
KS
40122020-06-11 Keith Seitz <keiths@redhat.com>
4013
4014 PR gdb/21356
4015 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4016 vla_struct.
4017 Add new struct vla_typedef and union vla_typedef_union and
4018 corresponding instantiation objects.
4019 Initialize new objects.
4020 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4021 and vla_typedef_union_object.
4022 Fixup type for vla_struct_object.
4023
a8baf0a3
TV
40242020-06-11 Tom de Vries <tdevries@suse.de>
4025
4026 * lib/gdb.exp (with_override): New proc, factored out of ...
4027 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4028
7ab96794
TV
40292020-06-10 Tom de Vries <tdevries@suse.de>
4030
4031 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4032
cab5c3b7
SM
40332020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4034
4035 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4036 parameter, update callers.
4037
f8c41851
SM
40382020-06-04 Simon Marchi <simon.marchi@efficios.com>
4039
4040 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4041 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4042 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4043
1c07a73f
TV
40442020-06-04 Tom de Vries <tdevries@suse.de>
4045
4046 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4047
95146b5d
TV
40482020-06-04 Tom de Vries <tdevries@suse.de>
4049
4050 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4051 exp_continue.
4052
0cfcd4f0
TV
40532020-06-04 Tom de Vries <tdevries@suse.de>
4054
4055 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4056
f9b5d5ea
TV
40572020-06-03 Tom de Vries <tdevries@suse.de>
4058
4059 PR symtab/26046
4060 * gdb.cp/breakpoint-locs-2.cc: New test.
4061 * gdb.cp/breakpoint-locs.cc: New test.
4062 * gdb.cp/breakpoint-locs.exp: New file.
4063 * gdb.cp/breakpoint-locs.h: New test.
4064
5144dfba
TV
40652020-06-03 Tom de Vries <tdevries@suse.de>
4066
4067 PR testsuite/25609
4068 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4069 value of global verbose.
4070 * gdb.base/jit-elf.exp: Same.
4071 * gdb.base/jit-reader.exp: Same.
4072
621eacdf
TV
40732020-06-02 Tom de Vries <tdevries@suse.de>
4074
4075 * gdb.dwarf2/multidictionary.exp: Don't use
4076 gdb_spawn_with_cmdline_opts.
4077
1313c56e
AB
40782020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4079
4080 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4081 use_header case.
4082 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4083 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4084 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4085 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4086 * gdb.dwarf2/dw2-inline-header.c: New file.
4087 * gdb.dwarf2/dw2-inline-header.h: New file.
4088
f68f85b5
PA
40892020-05-30 Pedro Alves <palves@redhat.com>
4090
4091 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4092 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4093
678048e8
GB
40942020-05-29 Gary Benson <gbenson@redhat.com>
4095
4096 * gdb.compile/compile-cplus.exp (additional_flags): Also
4097 set when building with clang.
4098 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4099 when building with clang.
4100
9fcafd23
GB
41012020-05-29 Gary Benson <gbenson@redhat.com>
4102
4103 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4104 building with clang.
4105 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4106
735d5a07
GB
41072020-05-29 Gary Benson <gbenson@redhat.com>
4108
4109 * gdb.cp/koenig.exp (prepare_for_testing): Add
4110 additional_flags=-Wno-unused-comparison.
4111 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4112
4ad2c6a0
GB
41132020-05-28 Gary Benson <gbenson@redhat.com>
4114
4115 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4116 statement.
4117
09fe663e
GB
41182020-05-28 Gary Benson <gbenson@redhat.com>
4119
4120 * gdb.cp/classes.exp (prepare_for_testing): Add
4121 additional_flags=-Wno-deprecated-register.
4122 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4123 * gdb.cp/misc.exp: Likewise.
4124
cee00f17
GB
41252020-05-28 Gary Benson <gbenson@redhat.com>
4126
4127 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4128 (test_op_new::operator new): Add return statement.
4129 (test_op_new_array::operator new[]): Likewise.
4130
636edd00
PA
41312020-05-27 Pedro Alves <palves@redhat.com>
4132
4133 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4134 check. Use test_gdb_complete_unique instead of
4135 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4136 test_gdb_complete_multiple instead of
4137 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4138
c2b75043
LM
41392020-05-27 Luis Machado <luis.machado@linaro.org>
4140
4141 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4142 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4143 * gdb.arch/arm-disassembler-options.exp: Likewise.
4144 * gdb.arch/arm-disp-step.exp: Likewise.
4145 * gdb.arch/thumb-prologue.exp: Likewise.
4146 * gdb.base/async.exp: Likewise.
4147 * gdb.base/auxv.exp: Likewise.
4148 * gdb.base/complex-parts.exp: Likewise.
4149 * gdb.base/ena-dis-br.exp: Likewise.
4150 * gdb.base/foll-exec.exp: Likewise.
4151 * gdb.base/permissions.exp: Likewise.
4152 * gdb.base/relocate.exp: Likewise.
4153 * gdb.base/return2.exp: Likewise.
4154 * gdb.base/sigbpt.exp: Likewise.
4155 * gdb.base/siginfo-obj.exp: Likewise.
4156 * gdb.cp/converts.exp: Likewise.
4157 * gdb.cp/exceptprint.exp: Likewise.
4158 * gdb.cp/inherit.exp: Likewise.
4159 * gdb.cp/nsnoimports.exp: Likewise.
4160 * gdb.cp/virtbase2.exp: Likewise.
4161 * gdb.mi/mi-var-cmd.exp: Likewise.
4162 * gdb.mi/var-cmd.c: Likewise.
4163
53a47a3e
TT
41642020-05-26 Tom Tromey <tromey@adacore.com>
4165
4166 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4167
0bc2354b
TT
41682020-05-26 Tom Tromey <tromey@adacore.com>
4169
4170 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4171 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4172 type.
4173 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4174 variable.
4175
0db49895
CBG
41762020-05-26 Christian Biesinger <cbiesinger@google.com>
4177
4178 * Makefile.in: Use = instead of == for the test command
4179 for portability.
4180
40d22035
TV
41812020-05-26 Tom de Vries <tdevries@suse.de>
4182
4183 * gdb.base/gold-gdb-index-2.c: New test.
4184 * gdb.base/gold-gdb-index.c: New test.
4185 * gdb.base/gold-gdb-index.exp: New file.
4186 * gdb.base/gold-gdb-index.h: New test.
4187
043e2e02
TV
41882020-05-25 Tom de Vries <tdevries@suse.de>
4189
4190 * boards/gold-gdb-index.exp: New file.
4191
462f72c5
SM
41922020-05-25 Simon Marchi <simon.marchi@efficios.com>
4193
4194 * boards/simavr.exp: New file.
4195
6cf66e76
SM
41962020-05-25 Simon Marchi <simon.marchi@efficios.com>
4197
4198 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4199 * gdb.base/inferior-args.exp: New file.
4200 * gdb.base/inferior-args.c: New file.
4201
75d04512
SM
42022020-05-25 Simon Marchi <simon.marchi@efficios.com>
4203
4204 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4205 inferior_args. Pass it to gdb_reload.
4206 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4207 inferior_args.
4208 (gdb_reload): Add inferior_args argument.
4209 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4210 pass it to gdbserver_run.
4211 * boards/native-gdbserver.exp: Do not set noargs.
4212 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4213 inferior_args argument.
4214 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4215 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4216 * gdb.base/args.exp: Likewise.
4217
42cf1844
TV
42182020-05-25 Tom de Vries <tdevries@suse.de>
4219
4220 * lib/gdb.exp (exec_is_pie): Add comment.
4221
8f7d38ef
TV
42222020-05-25 Tom de Vries <tdevries@suse.de>
4223
4224 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4225 instead of $binfile in the untested message.
4226
465e1b0f
TV
42272020-05-25 Tom de Vries <tdevries@suse.de>
4228
4229 PR testsuite/26031
4230 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4231
3c5a0e02
TV
42322020-05-25 Tom de Vries <tdevries@suse.de>
4233
4234 * boards/gold.exp: New file.
4235
0a4f5f8c
TT
42362020-05-23 Tom Tromey <tom@tromey.com>
4237
4238 * gdb.base/style.exp: Remove completion styling test.
4239 * lib/gdb-utils.exp (style): Remove completion styles.
4240
eca1f90c
TT
42412020-05-23 Tom Tromey <tom@tromey.com>
4242
4243 * gdb.base/style.exp: Add completion styling test.
4244 * lib/gdb-utils.exp (style): Add completion styles.
4245
7c13f4e8
AB
42462020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4247
4248 * gdb.base/annota1.exp: Update expected results.
4249 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4250 test name.
4251 * gdb.cp/annota3.exp: Update expected results.
4252
41977d16
SM
42532020-05-20 Simon Marchi <simon.marchi@efficios.com>
4254
4255 PR gdb/26016
4256 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4257 against MAP_FAILED.
4258 * gdb.base/coremaker.c (mmapdata): Likewise.
4259 * gdb.base/jit-reader-host.c (main): Likewise.
4260 * gdb.base/sym-file-loader.c (load): Likewise.
4261 (load_shlib): Likewise.
4262
b4757f2e
TT
42632020-05-20 Tom Tromey <tromey@adacore.com>
4264
4265 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4266
9a0bacfb
TV
42672020-05-20 Tom de Vries <tdevries@suse.de>
4268
4269 PR symtab/25833
4270 * gdb.base/with-mf-inc.c: New test.
4271 * gdb.base/with-mf-main.c: New test.
4272 * gdb.base/with-mf.exp: New file.
4273
76571211
TT
42742020-05-19 Tom Tromey <tromey@adacore.com>
4275
4276 * gdb.rust/simple.exp: Restore missing test result.
4277
4cd9f3d5
TV
42782020-05-19 Tom de Vries <tdevries@suse.de>
4279
4280 * gdb.base/gdb-caching-proc.exp: Fix typo.
4281
7d874253
TT
42822020-05-19 Tom Tromey <tromey@adacore.com>
4283
4284 * gdb.rust/simple.exp: Add some test descriptions.
4285 (test_one_slice): Use with_test_prefix.
4286
1d727695
TV
42872020-05-18 Tom de Vries <tdevries@suse.de>
4288
4289 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4290
7f32a4d5
PA
42912020-05-17 Pedro Alves <palves@redhat.com>
4292
4293 PR gdb/25741
4294 * gdb.base/hw-sw-break-same-address.exp: New file.
4295
7cfd74cf
PA
42962020-05-16 Pedro Alves <palves@redhat.com>
4297
4298 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4299 LAST_LOADED_FILE accordingly.
4300
57b4f16e
PW
43012020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4302
4303 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4304
7c05caf7
PW
43052020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4306
4307 * gdb.base/help.exp: Test apropos and help for commands
4308 having aliases. Fixed comments not starting with an
4309 upper-case letter or not finishing with a dot.
4310
7aa1b46f
PW
43112020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4312
3b3aaacb
PW
4313 * gdb.base/alias.exp: Update help output check.
4314
57b4f16e 43152020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4316
7aa1b46f
PW
4317 * gdb.base/default.exp: Update output following fixes.
4318
0605465f
PW
43192020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4320
4321 * gdb.base/alias.exp: Test aliases starting with a prefix of
4322 another alias.
4323
86e4e63d
GB
43242020-05-15 Gary Benson <gbenson@redhat.com>
4325
4326 * gdb.base/info-os.c (main): Add return statement.
4327 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4328 * gdb.base/large-frame-2.c (func): Likewise.
4329 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4330 * gdb.base/pr10179-b.c (foo2): Likewise.
4331 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4332 * gdb.base/watch-cond.c (func): Likewise.
4333 * gdb.multi/goodbye.c (verylongfun): Likewise.
4334 * gdb.multi/hello.c (commonfun): Likewise.
4335 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4336 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4337 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4338 Likewise.
4339 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4340 * gdb.threads/interrupt-while-step-over.c (child_function):
4341 Likewise.
4342 * gdb.trace/actions-changed.c (end): Likewise.
4343
163df4df
GB
43442020-05-15 Gary Benson <gbenson@redhat.com>
4345
4346 * gdb.opencl/callfuncs.exp: Report when test skipped.
4347 * gdb.opencl/convs_casts.exp: Likewise.
4348 * gdb.opencl/datatypes.exp: Likewise.
4349 * gdb.opencl/operators.exp: Likewise.
4350 * gdb.opencl/vec_comps.exp: Likewise.
4351
6dbc505a
TV
43522020-05-15 Tom de Vries <tdevries@suse.de>
4353
4354 * gdb.base/align.exp.in: Rename to ...
4355 * gdb.base/align.exp.tcl: ... this.
4356 * gdb.base/align-c++.exp: Update.
4357 * gdb.base/align-c.exp: Update.
4358 * gdb.base/all-architectures.exp.in: Rename to ...
4359 * gdb.base/all-architectures.exp: ... this.
4360 * gdb.base/all-architectures-0.exp: Update.
4361 * gdb.base/all-architectures-1.exp: Update.
4362 * gdb.base/all-architectures-2.exp: Update.
4363 * gdb.base/all-architectures-3.exp: Update.
4364 * gdb.base/all-architectures-4.exp: Update.
4365 * gdb.base/all-architectures-5.exp: Update.
4366 * gdb.base/all-architectures-6.exp: Update.
4367 * gdb.base/all-architectures-7.exp: Update.
4368 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4369 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4370 * gdb.base/infcall-nested-structs-c++.exp: Update.
4371 * gdb.base/infcall-nested-structs-c.exp: Update.
4372 * gdb.base/info-types.exp.in: Rename to ...
4373 * gdb.base/info-types.exp.tcl: ... this.
4374 * gdb.base/info-types-c++.exp: Update.
4375 * gdb.base/info-types-c.exp: Update.
4376 * gdb.base/max-depth.exp.in: Rename to ...
4377 * gdb.base/max-depth.exp.tcl: ... this.
4378 * gdb.base/max-depth-c++.exp: Update.
4379 * gdb.base/max-depth-c.exp: Update.
4380 * gdb.cp/cpexprs.exp.in: Rename to ...
4381 * gdb.cp/cpexprs.exp.tcl: ... this.
4382 * gdb.cp/cpexprs-debug-types.exp: Update.
4383 * gdb.cp/cpexprs.exp: Update.
4384 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4385 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4386 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4387 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4388 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4389 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4390 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4391 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4392 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4393 * gdb.dwarf2/clang-debug-names.exp: Update.
4394
d1034d78
AB
43952020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4396
4397 * lib/check-test-names.exp: Remove code that prevents this file
4398 loading when tests are run in parallel.
4399
3c5c3649
PA
44002020-05-15 Pedro Alves <palves@redhat.com>
4401
4402 * gdb.multi/multi-kill.exp (start_inferior): Remove
4403 'testpid' parameter. Refer to namespace variable directly.
4404 (testpid): Declare as namespace variable.
4405
272c36b8
PA
44062020-05-15 Pedro Alves <palves@redhat.com>
4407
4408 * gdb.multi/multi-kill.exp: Wrap in namespace.
4409 (start_inferior): Add TESTPID parameter. Use it instead of the
4410 testpid global.
4411 (top level): Define empty TESTPID array, and pass it down to
4412 start_inferior.
4413
02eba61a
TV
44142020-05-14 Tom de Vries <tdevries@suse.de>
4415
4416 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4417 output.
4418
971a3747
TV
44192020-05-14 Tom de Vries <tdevries@suse.de>
4420
4421 * gdb.base/align.exp: Split into ...
4422 * gdb.base/align.exp.in: ...
4423 * gdb.base/align-c++.exp: ...
4424 * gdb.base/align-c.exp: ... these.
4425 * gdb.base/infcall-nested-structs.exp: Split into ...
4426 * gdb.base/infcall-nested-structs.exp.in: ...
4427 * gdb.base/infcall-nested-structs-c++.exp: ...
4428 * gdb.base/infcall-nested-structs-c.exp: ... these.
4429 * gdb.base/info-types.exp: Split into ...
4430 * gdb.base/info-types.exp.in: ...
4431 * gdb.base/info-types-c++.exp: ...
4432 * gdb.base/info-types-c.exp: ... these.
4433 * gdb.base/max-depth.exp: Split into ...
4434 * gdb.base/max-depth.exp.in: ...
4435 * gdb.base/max-depth-c++.exp: ...
4436 * gdb.base/max-depth-c.exp: ... these.
4437 * gdb.cp/infcall-nodebug.exp: Split into ...
4438 * gdb.cp/infcall-nodebug.exp.in: ...
4439 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4440 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4441 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4442 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4443
a05575d3
TBA
44442020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4445 Pedro Alves <palves@redhat.com>
4446
4447 * gdb.multi/multi-exit.c: New file.
4448 * gdb.multi/multi-exit.exp: New file.
4449 * gdb.multi/multi-kill.c: New file.
4450 * gdb.multi/multi-kill.exp: New file.
4451
6ad82919
TBA
44522020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4453
4454 * gdb.base/annota1.exp: Update the expected output.
4455 * gdb.cp/annota2.exp: Ditto.
4456
843f4d93
AB
44572020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4458
4459 * lib/check-test-names.exp: Disable when testing is being run in
4460 parallel.
4461
c7c66341
TV
44622020-05-12 Tom de Vries <tdevries@suse.de>
4463
4464 * gdb.base/jit-elf.exp: Fix string concat.
4465
1b59ca1c
TV
44662020-05-12 Tom de Vries <tdevries@suse.de>
4467
4468 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4469 messages.
4470
b4991d29
TV
44712020-05-12 Tom de Vries <tdevries@suse.de>
4472
4473 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4474
dbb0ab10
TV
44752020-05-12 Tom de Vries <tdevries@suse.de>
4476
4477 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4478 * gdb.ada/mi_catch_ex.exp: Same.
4479 * gdb.ada/mi_catch_ex_hand.exp: Same.
4480
7549fed8
TV
44812020-05-12 Tom de Vries <tdevries@suse.de>
4482
4483 * gdb.fortran/complex.exp: Use with_test_prefix.
4484
af2d5cd8
TV
44852020-05-12 Tom de Vries <tdevries@suse.de>
4486
4487 * gdb.trace/passcount.exp: Fix test-names.
4488
7c121311
TV
44892020-05-12 Tom de Vries <tdevries@suse.de>
4490
4491 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4492
c9f3b40e
TV
44932020-05-12 Tom de Vries <tdevries@suse.de>
4494
4495 * gdb.gdb/complaints.exp: Use with_test_prefix.
4496 * gdb.xml/tdesc-regs.exp: Same.
4497 * gdb.opt/inline-locals.exp: Fix test name.
4498
111b33f0
TV
44992020-05-12 Tom de Vries <tdevries@suse.de>
4500
4501 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4502 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4503 * gdb.dwarf2/implref-struct.exp: Same.
4504 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4505 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4506
ebf47080
SM
45072020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4508
4509 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4510
d30dcd12
AB
45112020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4512
4513 * lib/check-test-names.exp (all_test_names): New module variable.
4514 (counts): Add 'duplicates' field.
4515 (_check_duplicates): New procedure.
4516 (check): Also check for duplicates.
4517 (do_log_summary): Print duplicates count.
4518 (do_reset_vars): Reset counter for duplicate test names, and
4519 discard all know test names.
4520
34584c09
AB
45212020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4522
4523 * lib/gdb.exp: Include check-test-names.exp library.
4524 * lib/check-test-names.exp: New file.
4525
e0002117
TV
45262020-05-11 Tom de Vries <tdevries@suse.de>
4527
4528 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4529
53f539a3
KS
45302020-05-11 Keith Seitz <keiths@redhat.com>
4531
4532 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4533
113ee09a
TV
45342020-05-11 Tom de Vries <tdevries@suse.de>
4535
4536 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4537 * gdb.cp/cpexprs.exp.in: .. here.
4538 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4539 cpexprs.exp.
4540
ba3e70b0
KS
45412020-05-11 Keith Seitz <keiths@redhat.com>
4542
4543 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4544 test names.
4545 * gdb.ada/arrayptr.exp: Likewise.
4546 * gdb.ada/assign_arr.exp: Likewise.
4547 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4548 * gdb.ada/bp_on_var.exp: Likewise.
4549 * gdb.ada/call_pn.exp: Likewise.
4550 * gdb.ada/complete.exp: Likewise.
4551 * gdb.ada/fun_overload_menu.exp: Likewise.
4552 * gdb.ada/funcall_param.exp: Likewise.
4553 * gdb.ada/funcall_ref.exp: Likewise.
4554 * gdb.ada/packed_array_assign.exp: Likewise.
4555 * gdb.ada/same_component_name.exp: Likewise.
4556 * gdb.ada/type_coercion.exp: Likewise.
4557 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4558 * gdb.ada/variant_record_packed_array.exp: Likewise.
4559
3ee6bb11
TV
45602020-05-11 Tom de Vries <tdevries@suse.de>
4561
4562 PR symtab/25941
4563 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4564 out of ...
4565 * gdb.dwarf2/clang-debug-names.exp: ... here.
4566 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4567 clang-debug-names.exp.in.
4568 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4569 * gdb.dwarf2/clang-debug-names-2.c: New test.
4570
86cd6bc8
AKS
45712020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4572
4573 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4574 (fortran_runto_main): New Proc, fortran version of runto_main.
4575 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4576 * gdb.fortran/array-bounds.exp: Likewise.
4577 * gdb.fortran/array-slices.exp: Likewise.
4578 * gdb.fortran/block-data.exp: Likewise.
4579 * gdb.fortran/charset.exp: Likewise.
4580 * gdb.fortran/common-block.exp: Likewise.
4581 * gdb.fortran/complex.exp: Likewise.
4582 * gdb.fortran/derived-type-function.exp: Likewise.
4583 * gdb.fortran/derived-type.exp: Likewise.
4584 * gdb.fortran/info-modules.exp: Likewise.
4585 * gdb.fortran/info-types.exp: Likewise.
4586 * gdb.fortran/intrinsics.exp: Likewise.
4587 * gdb.fortran/library-module.exp: Likewise.
4588 * gdb.fortran/logical.exp: Likewise.
4589 * gdb.fortran/max-depth.exp: Likewise.
4590 * gdb.fortran/module.exp: Likewise.
4591 * gdb.fortran/multi-dim.exp: Likewise.
4592 * gdb.fortran/nested-funcs.exp: Likewise.
4593 * gdb.fortran/print-formatted.exp: Likewise.
4594 * gdb.fortran/print_type.exp: Likewise.
4595 * gdb.fortran/printing-types.exp: Likewise.
4596 * gdb.fortran/ptr-indentation.exp: Likewise.
4597 * gdb.fortran/ptype-on-functions.exp: Likewise.
4598 * gdb.fortran/subarray.exp: Likewise.
4599 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4600 * gdb.fortran/vla-datatypes.exp: Likewise.
4601 * gdb.fortran/vla-history.exp: Likewise.
4602 * gdb.fortran/vla-ptr-info.exp: Likewise.
4603 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4604 * gdb.fortran/vla-ptype.exp: Likewise.
4605 * gdb.fortran/vla-sizeof.exp: Likewise.
4606 * gdb.fortran/vla-type.exp: Likewise.
4607 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4608 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4609 * gdb.fortran/vla-value-sub.exp: Likewise.
4610 * gdb.fortran/vla-value.exp: Likewise.
4611 * gdb.fortran/whatis_type.exp: Likewise.
4612 * gdb.mi/mi-var-child-f.exp: Likewise.
4613
6dc55ce9 46142020-05-09 Tom de Vries <tdevries@suse.de>
4615
4616 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4617
283cb58c
TV
46182020-05-08 Tom de Vries <tdevries@suse.de>
4619
4620 * gdb.dwarf2/clang-debug-names.c: New test.
4621 * gdb.dwarf2/clang-debug-names.exp: New file.
4622
ac4a4f1c
SM
46232020-05-06 Simon Marchi <simon.marchi@efficios.com>
4624
4625 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4626 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4627
24fe640b
TV
46282020-05-06 Tom de Vries <tdevries@suse.de>
4629
4630 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4631 breakpoint is at a "recommended breakpoint location".
4632 * gdb.reverse/consecutive-reverse.exp: Same.
4633
0d8683a3
TV
46342020-05-06 Tom de Vries <tdevries@suse.de>
4635
4636 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4637 address.
4638
b8983c46
TV
46392020-05-06 Tom de Vries <tdevries@suse.de>
4640
4641 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4642
abf6d805
TV
46432020-05-06 Tom de Vries <tdevries@suse.de>
4644
4645 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4646 info for r.
4647
0fc2a808
TV
46482020-05-06 Tom de Vries <tdevries@suse.de>
4649
4650 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4651 necessary.
4652
873dd427
TV
46532020-05-06 Tom de Vries <tdevries@suse.de>
4654
4655 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4656 void.
4657
7c99e7e2
TV
46582020-05-06 Tom de Vries <tdevries@suse.de>
4659
4660 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4661 of ...
4662 * gdb.base/async.exp: ... here.
4663 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4664 "recommended breakpoint location".
4665
6173d6a6
TV
46662020-05-06 Tom de Vries <tdevries@suse.de>
4667
4668 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4669
6015a067
TV
46702020-05-04 Tom de Vries <tdevries@suse.de>
4671
4672 * gdb.base/async.exp: Check whether instruction addresses are a
4673 "recommended breakpoint location".
4674
3b6acaee
TT
46752020-05-03 Tom Tromey <tom@tromey.com>
4676
4677 * gdb.base/sepdebug.exp: Remove "catch" test.
4678 * gdb.base/break.exp: Remove "catch" test.
4679 * gdb.base/default.exp: Update expected output.
4680
5beb4d17
TV
46812020-05-02 Tom de Vries <tdevries@suse.de>
4682
4683 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4684 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4685 * gdb.arch/i386-mpx-map.exp: Same.
4686 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4687 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4688 * gdb.arch/i386-mpx.exp: Same.
4689
8caf140d
TV
46902020-05-02 Tom de Vries <tdevries@suse.de>
4691
4692 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4693
693196cb
TV
46942020-05-01 Tom de Vries <tdevries@suse.de>
4695
4696 * gdb.ada/operator_bp.exp: Allow more than required amount of
4697 breakpoint.
4698
53ae0aa9
TV
46992020-05-01 Tom de Vries <tdevries@suse.de>
4700
4701 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4702
ee9d1e5f
HD
47032020-04-30 Hannes Domani <ssbssa@yahoo.de>
4704
4705 PR gdb/18706
4706 * gdb.cp/stub-array-size.cc: New test.
4707 * gdb.cp/stub-array-size.exp: New file.
4708 * gdb.cp/stub-array-size.h: New test.
4709 * gdb.cp/stub-array-size2.cc: New test.
4710
d5cf82c0
HD
47112020-04-30 Hannes Domani <ssbssa@yahoo.de>
4712
4713 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4714 output to the new format.
4715
42e165c3
SM
47162020-04-29 Simon Marchi <simon.marchi@efficios.com>
4717
4718 * gdb.base/break.exp: Use with_test_prefix.
4719
6e4e3fe1
TV
47202020-04-29 Tom de Vries <tdevries@suse.de>
4721
4722 * lib/gdb.exp (debug_types): New proc.
4723 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4724 * gdb.python/py-symtab.exp: Same.
4725
d642b692
HD
47262020-04-29 Hannes Domani <ssbssa@yahoo.de>
4727
4728 PR gdb/17320
4729 * gdb.base/pretty-array.c: New test.
4730 * gdb.base/pretty-array.exp: New file.
4731
ea90f227
TV
47322020-04-29 Tom de Vries <tdevries@suse.de>
4733
4734 PR symtab/25889
4735 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4736 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4737 and include cpexprs.exp.
4738
a65189c9
TV
47392020-04-28 Mark Williams <mark@myosotissp.com>
4740
4741 PR gdb/24480
4742 * dw4-toplevel-types.exp: Test for top level types.
4743 * dw4-toplevel-types.cc: Test for top level types.
4744
32d1f47a
TBA
47452020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4746
4747 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4748 (theads -> threads).
4749
56a4f5a1
TV
47502020-04-28 Tom de Vries <tdevries@suse.de>
4751
4752 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4753
0b2f8a3b
TV
47542020-04-28 Tom de Vries <tdevries@suse.de>
4755
4756 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4757
5390c717
TV
47582020-04-28 Tom de Vries <tdevries@suse.de>
4759
4760 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4761
15cd93d0
TV
47622020-04-28 Tom de Vries <tdevries@suse.de>
4763
4764 * gdb.dwarf2/main-foo.c: New test.
4765 * gdb.dwarf2/struct-with-sig.exp: New file.
4766
d472f0fb
TV
47672020-04-25 Tom de Vries <tdevries@suse.de>
4768
4769 * boards/debug-types.exp: New file.
4770
8d840e05
AB
47712020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4772
4773 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4774
bcfe6157
TT
47752020-04-24 Tom Tromey <tom@tromey.com>
4776
4777 PR symtab/12707:
4778 * gdb.python/py-symbol.exp: Update expected results for
4779 linkage_name test.
4780 * gdb.cp/print-demangle.exp: New file.
4781 * gdb.base/c-linkage-name.exp: Fix test.
4782 * gdb.guile/scm-symbol.exp: Update expected results for
4783 linkage_name test.
4784
f049a313
TT
47852020-04-24 Tom Tromey <tom@tromey.com>
4786
4787 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4788 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4789 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4790 assembler.
4791
7cf28874
TV
47922020-04-24 Tom de Vries <tdevries@suse.de>
4793
4794 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4795 C++.
4796
dac2fef7
TT
47972020-04-24 Tom Tromey <tromey@adacore.com>
4798
4799 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4800 values.
4801 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4802 values. Update test for minimal encodings.
4803 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4804 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4805 values. Update test for minimal encodings.
4806
1acda803
TT
48072020-04-24 Tom Tromey <tromey@adacore.com>
4808
4809 PR python/23662:
4810 * gdb.ada/variant.exp: Add Python checks.
4811 * gdb.rust/simple.exp: Add dynamic type checks.
4812
adfb9815
TT
48132020-04-24 Tom Tromey <tromey@adacore.com>
4814
4815 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4816 Make array type matching more lax.
4817 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4818 * gdb.ada/mi_variant.exp: New file.
4819 * gdb.ada/mi_variant/pck.ads: New file.
4820 * gdb.ada/mi_variant/pkg.adb: New file.
4821 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4822 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4823
7d79de9a
TT
48242020-04-24 Tom Tromey <tromey@adacore.com>
4825
4826 * gdb.ada/variant.exp: Add dynamic field offset tests.
4827 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4828 * gdb.ada/variant/pkg.adb: Add new variables.
4829
f8e89861
TT
48302020-04-24 Tom Tromey <tromey@adacore.com>
4831
4832 * gdb.ada/variant.exp: New file
4833 * gdb.ada/variant/pkg.adb: New file
4834 * gdb.ada/variant/pck.adb: New file
4835
86e887ae
TV
48362020-04-24 Tom de Vries <tdevries@suse.de>
4837
4838 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4839
88428775
TV
48402020-04-24 Tom de Vries <tdevries@suse.de>
4841
4842 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4843 flags.
4844
4e86f6e7
TV
48452020-04-24 Tom de Vries <tdevries@suse.de>
4846
4847 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4848
2016d3e6
TV
48492020-04-24 Tom de Vries <tdevries@suse.de>
4850
4851 * lib/gdb.exp (default_gdb_start): Handle eof.
4852 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4853 failure.
4854 * gdb.base/readnever.exp: Handle clean_restart failure.
4855
70bc38f5
TV
48562020-04-23 Tom de Vries <tdevries@suse.de>
4857
4858 * gdb.base/decl-before-def.exp: Run to main and print a again.
4859
de82891c
TV
48602020-04-23 Tom de Vries <tdevries@suse.de>
4861
4862 * gdb.base/decl-before-def-decl.c: New test.
4863 * gdb.base/decl-before-def-def.c: New test.
4864 * gdb.base/decl-before-def.exp: New file.
4865
96038148
TV
48662020-04-23 Tom de Vries <tdevries@suse.de>
4867
4868 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4869
54ac3df1
TV
48702020-04-22 Tom de Vries <tdevries@suse.de>
4871
4872 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4873 debug_info_offset.
4874 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4875 before $objsfile in the line line.
4876
714534e1
TV
48772020-04-22 Tom de Vries <tdevries@suse.de>
4878
4879 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4880
16a7dbf4
MS
48812020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4882
4883 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4884 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4885 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4886 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4887 * gdb.base/jit-protocol.h: Update definitions to match all usage
4888 contexts.
4889
48902020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4891
4892 * gdb.base: Rename all jit related test and source files.
4893
48942020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4895
4896 * gdb.base/jit-reader.exp: Relax register output check.
4897
317d2668
TV
48982020-04-22 Tom de Vries <tdevries@suse.de>
4899
4900 PR symtab/25764
4901 * gdb.base/psym-external-decl-2.c: New test.
4902 * gdb.base/psym-external-decl.c: New test.
4903 * gdb.base/psym-external-decl.exp: New file.
4904 * gdb.threads/tls.exp: Add PR25807 kfail.
4905
eea9e357
TV
49062020-04-22 Tom de Vries <tdevries@suse.de>
4907
4908 PR symtab/25801
4909 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4910 in "info source" output.
4911
3d5afab3
TV
49122020-04-22 Tom de Vries <tdevries@suse.de>
4913
4914 PR symtab/25700
4915 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4916 symtab for imported_unit.c.
4917
b32102f6
GB
49182020-04-21 Gary Benson <gbenson@redhat.com>
4919
4920 * gdb.base/advance.c (func): New argument, to match call site.
4921 (func2, func3): Add return statements.
4922
d43b7a2d
TBA
49232020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4924
4925 * gdb.multi/run-only-second-inf.c: New file.
4926 * gdb.multi/run-only-second-inf.exp: New file.
4927
d89edf9b
MM
49282020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4929
4930 * gdb.btrace/multi-inferior.c: New test.
4931 * gdb.btrace/multi-inferior.exp: New file.
4932
1a476b6d
MM
49332020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4934
4935 * gdb.btrace/enable-new-thread.c: New test.
4936 * gdb.btrace/enable-new-thread.exp: New file.
4937
4778a5f8
TV
49382020-04-21 Tom de Vries <tdevries@suse.de>
4939
4940 PR gdb/25471
4941 * gdb.threads/killed-outside.c: New test.
4942 * gdb.threads/killed-outside.exp: New file.
4943
9b2c992c
GB
49442020-04-20 Gary Benson <gbenson@redhat.com>
4945
4946 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4947 * gdb.base/nested-subp2.exp: Likewise.
4948 * gdb.base/nested-subp3.exp: Likewise.
4949
b5d1d6f7
GB
49502020-04-20 Gary Benson <gbenson@redhat.com>
4951
4952 * gdb.base/nested-subp1.exp: Disable test when using clang.
4953 * gdb.base/nested-subp2.exp: Likewise.
4954 * gdb.base/nested-subp3.exp: Likewise.
4955
25230285
GB
49562020-04-20 Gary Benson <gbenson@redhat.com>
4957
4958 * gdb.cp/exception.cc: Fix compilation error with clang.
4959
fa93cc8f
GB
49602020-04-20 Gary Benson <gbenson@redhat.com>
4961
809730f3 4962 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4963
e0c45f30
GB
49642020-04-20 Gary Benson <gbenson@redhat.com>
4965
4966 * gdb.base/jit-main.c: Fix compilation error with clang.
4967
4ddfec93
KR
49682020-04-17 Kamil Rytarowski <n54@gmx.com>
4969
4970 * gdb.base/attach-twice.c: Include "sys/types.h".
4971 (PTRACE_ATTACH): Add fallback definition.
4972 (main): Pass `0' to the 4th argument of `ptrace'.
4973
2bed205e
KR
49742020-04-17 Kamil Rytarowski <n54@gmx.com>
4975
4976 * gdb.base/fork-running-state.c: Include "signal.h".
4977
0743fc83
TT
49782020-04-17 Tom Tromey <tromey@adacore.com>
4979
4980 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4981 Update tests.
4982 * gdb.btrace/cpu.exp: Update tests.
4983 * gdb.base/maint.exp: Update tests.
4984 * gdb.base/default.exp: Update tests.
4985 * gdb.base/completion.exp: Update tests.
4986
efba5c23
TV
49872020-04-16 Tom de Vries <tdevries@suse.de>
4988
4989 PR symtab/25791
4990 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4991 (ensure_gdb_index): and factor out and move ...
4992 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4993 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4994
d191d716
TV
49952020-04-16 Tom de Vries <tdevries@suse.de>
4996
4997 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4998 loading exec.
4999
99f1bc6a
AB
50002020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5001
5002 * gdb.base/many-completions.exp: New file.
5003
194d088f
TV
50042020-04-14 Tom de Vries <tdevries@suse.de>
5005
5006 PR symtab/25718
5007 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5008
c1a66c06
TV
50092020-04-14 Tom de Vries <tdevries@suse.de>
5010
5011 PR symtab/25720
5012 * gdb.base/maint-expand-symbols-header-file.c: New test.
5013 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5014 * gdb.base/maint-expand-symbols-header-file.h: New test.
5015
21b0982c
AB
50162020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5017
5018 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5019 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5020 get_func_info.
5021 (get_func_info): Delete.
5022 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5023 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5024 * lib/dwarf.exp (get_func_info): New function.
5025
dd1cab06
TV
50262020-04-13 Tom de Vries <tdevries@suse.de>
5027
5028 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5029 to what find_gnatmake does.
5030
71ea2b6b
TV
50312020-04-10 Tom de Vries <tdevries@suse.de>
5032
5033 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5034 -readnow.
5035
bdfc1e8a
TV
50362020-04-10 Tom de Vries <tdevries@suse.de>
5037
5038 PR cli/25808
5039 * gdb.base/style.c: Add leading newlines.
5040 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5041 Check listing of main's one-line body.
5042
14ca8ecf
TV
50432020-04-08 Tom de Vries <tdevries@suse.de>
5044
5045 * lib/gdb.exp (psymtabs_p): New proc.
5046 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5047 importing unit" unsupported if there are no partial symbols.
5048
e21d048f
TV
50492020-04-08 Tom de Vries <tdevries@suse.de>
5050
5051 PR testsuite/25760
5052 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5053
25c11aca
TV
50542020-04-07 Tom de Vries <tdevries@suse.de>
5055
5056 PR symtab/25796
5057 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5058
5707e24b
TV
50592020-04-07 Tom de Vries <tdevries@suse.de>
5060
5061 * gdb.base/check-psymtab.c: New test.
5062 * gdb.base/check-psymtab.exp: New file.
5063
6ee448cc
TT
50642020-04-06 Tom Tromey <tromey@adacore.com>
5065
5066 * gdb.ada/variant-record/proc.adb: New file.
5067 * gdb.ada/variant-record/value.adb: New file.
5068 * gdb.ada/variant-record/value.s: New file.
5069 * gdb.ada/variant-record.exp: New file.
5070
9e7c9a03
HD
50712020-04-03 Hannes Domani <ssbssa@yahoo.de>
5072
5073 PR gdb/25325
5074 * gdb.cp/typed-enum.cc: New test.
5075 * gdb.cp/typed-enum.exp: New file.
5076
c90d28ac
AB
50772020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5078
5079 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5080 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5081 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5082 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5083 * gdb.opt/inline-small-func.c: New file.
5084 * gdb.opt/inline-small-func.exp: New file.
5085 * gdb.opt/inline-small-func.h: New file.
5086
34e9a9fa
AB
50872020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5088
5089 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5090 function.
5091
6a354911
AB
50922020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5093
5094 * lib/dwarf.exp (function_range): Allow compiler options to be
5095 specified.
5096
880d9777
TV
50972020-04-02 Tom de Vries <tdevries@suse.de>
5098
5099 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5100 __attribute__((always_inline)).
5101 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5102
f32682ea
TV
51032020-04-02 Tom de Vries <tdevries@suse.de>
5104
5105 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5106 (gdbserver_gdb_exit): ... here. Add timeout warning.
5107 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5108 (connect_target_extended_remote): Append new server_spawn_id to
5109 server_spawn_ids.
5110 (cleanup): New proc.
5111 (setup, <toplevel>): Call cleanup.
5112
d3214198
TV
51132020-04-02 Tom de Vries <tdevries@suse.de>
5114
5115 * gdb.base/main-psymtab.exp: New file.
5116
cc77ed24
TV
51172020-04-02 Tom de Vries <tdevries@suse.de>
5118
5119 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5120
3638a098
TT
51212020-04-01 Tom Tromey <tom@tromey.com>
5122
5123 * gdb.base/complex-parts.exp: Add type tests.
5124
c34e8714
TT
51252020-04-01 Tom Tromey <tom@tromey.com>
5126
5127 * gdb.base/complex-parts.exp: Add arithmetic tests.
5128
981c08ce
TT
51292020-04-01 Tom Tromey <tom@tromey.com>
5130
5131 * gdb.compile/compile.exp: Update.
5132 * gdb.compile/compile-cplus.exp: Update.
5133 * gdb.base/varargs.exp: Update.
5134 * gdb.base/floatn.exp: Update.
5135 * gdb.base/endianity.exp: Update.
5136 * gdb.base/callfuncs.exp (do_function_calls): Update.
5137 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5138 (complex_float_integral_args): Update.
5139 * gdb.base/complex.exp: Update.
5140 * gdb.base/complex-parts.exp: Update.
5141
3d1cfd43
TT
51422020-04-01 Tom Tromey <tromey@adacore.com>
5143
5144 * gdb.rust/union.rs: New file.
5145 * gdb.rust/union.exp: New file.
5146 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5147 (main): Update.
5148 * gdb.rust/simple.exp: Move union tests to union.exp.
5149
e033dfa9
TT
51502020-04-01 Tom Tromey <tromey@adacore.com>
5151
5152 * gdb.rust/simple.rs (main): Remove "y0".
5153
53cccef1
TBA
51542020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5155
5156 * gdb.multi/stop-all-on-exit.c: New test.
5157 * gdb.multi/stop-all-on-exit.exp: New file.
5158
60e22c1e
HD
51592020-04-01 Hannes Domani <ssbssa@yahoo.de>
5160
5161 PR gdb/24789
5162 * gdb.cp/misc.cc: Add integer reference variable.
5163 * gdb.cp/misc.exp: Add test.
5164
e139a727
TBA
51652020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5166
5167 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5168 scenario to cover execution until the end and also the case
5169
16b0db75
TV
51702020-03-31 Tom de Vries <tdevries@suse.de>
5171
5172 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5173 c. Use "maint info symtabs" to check symtab expansion.
5174
c0502da6
TV
51752020-03-30 Tom de Vries <tdevries@suse.de>
5176
5177 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5178 unsupported.
5179 (verify_psymtab_expanded): Move ...
5180 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5181 test.
5182 (readnow): New proc.
5183
5935fd15
AB
51842020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5185
5186 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5187 with $hex.
5188
1773be9e
TT
51892020-03-20 Tom Tromey <tromey@adacore.com>
5190
5191 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5192
70304be9
TT
51932020-03-20 Tom Tromey <tromey@adacore.com>
5194
5195 * gdb.ada/sub_variant/subv.adb: New file.
5196 * gdb.ada/sub_variant.exp: New file.
5197
0dd7b8f7
TV
51982020-03-20 Tom de Vries <tdevries@suse.de>
5199
5200 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5201 first break fails.
5202 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5203
cada5fc9
AB
52042020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5205
5206 * gdb.server/exit-multiple-threads.c: New file.
5207 * gdb.server/exit-multiple-threads.exp: New file.
5208
6b8c53f2
AB
52092020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5210
5211 * gdb.fortran/mixed-lang-stack.c: New file.
5212 * gdb.fortran/mixed-lang-stack.cpp: New file.
5213 * gdb.fortran/mixed-lang-stack.exp: New file.
5214 * gdb.fortran/mixed-lang-stack.f90: New file.
5215
19a2740f
AB
52162020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5217
5218 * gdb.linespec/cp-completion-aliases.cc: New file.
5219 * gdb.linespec/cp-completion-aliases.exp: New file.
5220
d8c8b848
TV
52212020-03-19 Tom de Vries <tdevries@suse.de>
5222
5223 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5224 more precise.
5225
a9933ccf
TV
52262020-03-18 Tom de Vries <tdevries@suse.de>
5227
5228 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5229 * gdb.dwarf2/break-inline-psymtab.c: New test.
5230 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5231
2f89101f
TV
52322020-03-16 Tom de Vries <tdevries@suse.de>
5233
5234 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5235 cache_verify and cache_verify_proc.
5236
6b9374f1
TV
52372020-03-15 Tom de Vries <tdevries@suse.de>
5238
5239 * gdb.server/solib-list.exp: Handle
5240 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5241
eaeaf44c
TV
52422020-03-15 Tom de Vries <tdevries@suse.de>
5243
5244 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5245 objfiles".
5246
3293bbaf
TT
52472020-03-14 Tom Tromey <tom@tromey.com>
5248
5249 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5250
ab44624c
TV
52512020-03-14 Tom de Vries <tdevries@suse.de>
5252
5253 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5254
54c43825
TV
52552020-03-14 Tom de Vries <tdevries@suse.de>
5256
5257 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5258 result in line-by-line fashion.
5259
2ac70237
TV
52602020-03-14 Tom de Vries <tdevries@suse.de>
5261
5262 * lib/gdb.exp (supports_statement_frontiers): New proc.
5263 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5264
09546b56
TV
52652020-03-14 Tom de Vries <tdevries@suse.de>
5266
5267 * gdb.base/printcmds.exp: Add missing quoting for "print
5268 teststring2".
5269
a1f6a07c
TT
52702020-03-13 Tom Tromey <tom@tromey.com>
5271
5272 * gdb.base/printcmds.exp (test_print_strings): Add regression
5273 test.
5274 * gdb.base/printcmds.c (charptr): New typedef.
5275 (teststring2): New global.
5276
1b83d09c
AB
52772020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5278
5279 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5280 full path in the test name.
5281 (test_ld): Add some with_test_prefix blocks to make test names
5282 unique.
5283
2d61316c
TV
52842020-03-13 Tom de Vries <tdevries@suse.de>
5285
5286 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5287
2e9145ac
TV
52882020-03-13 Tom de Vries <tdevries@suse.de>
5289
5290 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5291
96c7f873
TV
52922020-03-13 Tom de Vries <tdevries@suse.de>
5293
5294 PR symtab/25646
5295 * gdb.dwarf2/imported-unit.exp: Add test.
5296
49ba92c0
TV
52972020-03-13 Tom de Vries <tdevries@suse.de>
5298
5299 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5300 (var1, var2): New variable.
5301 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5302 matching symbols.
5303
301b21e0
TV
53042020-03-13 Tom de Vries <tdevries@suse.de>
5305
5306 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5307 (Term::command): Use prompt prefix.
5308 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5309 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5310 command_no_prompt_prefix instead of prefix.
5311 * gdb.tui/tui-layout-asm.exp: Same.
5312
3f512721
SM
53132020-03-12 Simon Marchi <simon.marchi@efficios.com>
5314
5315 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5316
40310f30
SM
53172020-03-12 Simon Marchi <simon.marchi@efficios.com>
5318
5319 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5320 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5321 on" while stepping over the test instruction, match printed
5322 message.
5323
09252140
TV
53242020-03-12 Tom de Vries <tdevries@suse.de>
5325
5326 * gdb.base/info-types.exp: Use exp_continue during matching of output
5327 of "info types".
5328
14e9c72c
TV
53292020-03-12 Tom de Vries <tdevries@suse.de>
5330
5331 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5332
e515d67e
TV
53332020-03-12 Tom de Vries <tdevries@suse.de>
5334
5335 * gdb.fortran/module.exp: Use exp_continue during matching of output
5336 of "info variable -n".
5337
307eafd8
TV
53382020-03-12 Tom de Vries <tdevries@suse.de>
5339
5340 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5341 gdb.dwarf2/dw2-ranges-base.c.
5342
9a2de3fc
TV
53432020-03-12 Tom de Vries <tdevries@suse.de>
5344
5345 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5346 in presence of GLIBC debuginfo.
5347
3217502e
TV
53482020-03-12 Tom de Vries <tdevries@suse.de>
5349
5350 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5351 $core.
5352
1281424c
TV
53532020-03-12 Tom de Vries <tdevries@suse.de>
5354
5355 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5356 more precise.
5357
038b97fc
SM
53582020-03-11 Simon Marchi <simon.marchi@efficios.com>
5359
5360 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5361 from Unix to Windows path.
5362
5308d1e7
TV
53632020-03-11 Tom de Vries <tdevries@suse.de>
5364
5365 * gdb.ada/minsyms.exp: Set language to ada.
5366
f870f78f
TV
53672020-03-11 Tom de Vries <tdevries@suse.de>
5368
5369 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5370
5a13315d
TV
53712020-03-11 Tom de Vries <tdevries@suse.de>
5372
5373 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5374
976862ed
TT
53752020-03-11 Tom Tromey <tromey@adacore.com>
5376
5377 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5378
7462c383
TV
53792020-03-11 Tom de Vries <tdevries@suse.de>
5380
5381 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5382
1c6c46a0
TV
53832020-03-11 Tom de Vries <tdevries@suse.de>
5384
5385 * gdb.base/break-interp.exp: Limit verbose scope.
5386
44f41bb7
TV
53872020-03-11 Tom de Vries <tdevries@suse.de>
5388
5389 * gdb.fortran/logical.f90: Define variable with character type.
5390 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5391
b76f3a42
TV
53922020-03-11 Tom de Vries <tdevries@suse.de>
5393
5394 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5395
1c33af77
TV
53962020-03-11 Tom de Vries <tdevries@suse.de>
5397
5398 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5399 symtabs.
5400
8c95582d
AB
54012020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5402 Bernd Edlinger <bernd.edlinger@hotmail.de>
5403
5404 * gdb.cp/step-and-next-inline.cc: New file.
5405 * gdb.cp/step-and-next-inline.exp: New file.
5406 * gdb.cp/step-and-next-inline.h: New file.
5407 * gdb.dwarf2/dw2-is-stmt.c: New file.
5408 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5409 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5410 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5411 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5412
cecf8547
AB
54132020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5414
5415 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5416 is-stmt flag in the line table.
5417
0ba678c9
TV
54182020-03-09 Tom de Vries <tdevries@suse.de>
5419
5420 * lib/gdb.exp (cached_file): Create cache dir.
5421
72fbdf83
TV
54222020-03-07 Tom de Vries <tdevries@suse.de>
5423
5424 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5425 * gdb.cp/rvalue-ref-params.exp: Same.
5426
436b5e99
TV
54272020-03-06 Tom de Vries <tdevries@suse.de>
5428
5429 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5430 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5431
09f2921c
TV
54322020-03-06 Tom de Vries <tdevries@suse.de>
5433
5434 * README: Fix "the the".
5435 * gdb.base/dprintf.exp: Same.
5436
50a3cc5d
TV
54372020-03-05 Tom de Vries <tdevries@suse.de>
5438
5439 * gdb.base/maint.exp: Update "main print statistics" expected output.
5440
0a709cba
AKS
54412020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5442
5443 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5444 (fortran_int8): Likewise.
5445 (fortran_real4): Likewise.
5446 (fortran_real8): Likewise.
5447 (fortran_complex4): Likewise.
5448 (fortran_logical4): Likewise.
5449 (fortran_character1): Likewise.
5450
5e5d66b6
AB
54512020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5452
5453 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5454 printed as true.
5455
7b973adc
SDJ
54562020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5457
5458 * gdb.base/printcmds.exp: Add test to verify printf of a
5459 variable holding an address.
5460
478e490a
TV
54612020-03-03 Tom de Vries <tdevries@suse.de>
5462
5463 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5464
1ef44e86
TV
54652020-03-03 Tom de Vries <tdevries@suse.de>
5466
5467 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5468 gdb_test_multiple call.
5469
b98cc2cf
TV
54702020-03-03 Tom de Vries <tdevries@suse.de>
5471
5472 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5473 gdb_test_multiple calls.
5474
63e163f2
AB
54752020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5476
5477 * gdb.base/default.exp: Remove test of 'set history filename'.
5478 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5479 filename to the empty string.
5480 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5481 and GDBHISTSIZE.
5482
24ed6739
AB
54832020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5484
5485 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5486 disabled.
5487
590003dc 54882020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5489 Tom de Vries <tdevries@suse.de>
590003dc
TV
5490
5491 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5492 -prompt prefix, before user_code argument. Add -lbl option likewise.
5493 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5494 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5495 argument.
5496 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5497 have "\r\n" at start-of-line, instead of at end-of-line.
5498
f5e46084
SM
54992020-02-28 Simon Marchi <simon.marchi@efficios.com>
5500
5501 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5502 libinproctrace.so.
5503
f7a7000d
LM
55042020-02-28 Luis Machado <luis.machado@linaro.org>
5505
5506 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5507 to "p/x".
5508
718e0816
LM
55092020-02-28 Luis Machado <luis.machado@linaro.org>
5510
5511 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5512 asm/ptrace.h and error.h.
5513
13c3a74a
TV
55142020-02-28 Tom de Vries <tdevries@suse.de>
5515
5516 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5517 (struct wrapper, do_something, mundane/symada__cS): Move ...
5518 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5519 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5520 Update "print symada__cS before partial symtab expansion" regexp.
5521 Update breakpoint location. Flush symbol cache after expansion.
5522
85d2d5bb
LM
55232020-02-28 Luis Machado <luis.machado@linaro.org>
5524
5525 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5526
3608f86c
TV
55272020-02-27 Tom de Vries <tdevries@suse.de>
5528
5529 * config/sid.exp: Remove unused globals.
5530 * gdb.base/attach.exp: Same.
5531 * gdb.base/catch-load.exp: Same.
5532 * gdb.base/dbx.exp: Same.
5533 * lib/gdb.exp: Same.
5534 * lib/mi-support.exp: Same.
5535 * lib/prompt.exp: Same.
5536
c8d4f6df
TV
55372020-02-27 Tom de Vries <tdevries@suse.de>
5538
5539 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5540 not set.
5541
0d79cdc4
AM
55422020-02-26 Aaron Merey <amerey@redhat.com>
5543
5544 * gdb.debuginfod: New directory for debuginfod tests.
5545 * gdb.debuginfod/main.c: New test file.
5546 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5547
0dce4280
TV
55482020-02-26 Tom de Vries <tdevries@suse.de>
5549
5550 PR gdb/25603
5551 * gdb.base/persistent-lang.cc: New test.
5552 * gdb.base/persistent-lang.exp: New file.
5553
9e80cfa1
AB
55542020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5555
5556 * gdb.fortran/derived-type-striding.exp: Add a new test.
5557 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5558 new test.
5559
2078dbb2
AB
55602020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5561
5562 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5563 names.
5564
70d49700
TV
55652020-02-25 Tom de Vries <tdevries@suse.de>
5566
5567 PR go/18926
5568 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5569
a88ef40d
TV
55702020-02-24 Tom de Vries <tdevries@suse.de>
5571
5572 PR gdb/25592
5573 * gdb.base/info-locals-unused-static-var.c: New test.
5574 * gdb.base/info-locals-unused-static-var.exp: New file.
5575
01b1af32
TT
55762020-02-22 Tom Tromey <tom@tromey.com>
5577
5578 * gdb.python/tui-window.exp: New file.
5579 * gdb.python/tui-window.py: New file.
5580
7c043ba6
TT
55812020-02-22 Tom Tromey <tom@tromey.com>
5582
5583 PR tui/17850:
5584 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5585 tests.
5586
c22fef7e
TT
55872020-02-22 Tom Tromey <tom@tromey.com>
5588
5589 * gdb.tui/new-layout.exp: Add sub-layout tests.
5590
ee325b61
TT
55912020-02-22 Tom Tromey <tom@tromey.com>
5592
5593 * gdb.tui/new-layout.exp: New file.
5594
3f0cbb04
TT
55952020-02-22 Tom Tromey <tom@tromey.com>
5596
5597 * gdb.rust/rust-style.rs: New file.
5598 * gdb.rust/rust-style.exp: New file.
5599 * gdb.base/style.exp: Test structure printing.
5600 * gdb.base/style.c (struct some_struct): New type.
5601 (enum etype): New type.
5602 (struct_value): New global.
5603
75525152
TV
56042020-02-21 Tom de Vries <tdevries@suse.de>
5605
5606 PR go/18926
5607 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5608 Remove blanket xfails. Use message argument for gdb_breakpoint.
5609 Make continuing to breakpoint test conditional on setting breakpoint.
5610 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5611 DW_AT_name attribute. Add xfail for GCC PR93866.
5612
bd360d30
AB
56132020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5614
5615 * gdb.dwarf2/cpp-linkage-name.c: New file.
5616 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5617
c7adb09f 56182020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5619
5620 * lib/gdb.exp (gdb_wrapper_init): Reset
5621 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5622 not exist.
5623
a9c79803
TV
56242020-02-20 Tom de Vries <tdevries@suse.de>
5625
5626 PR go/17018
5627 * gdb.go/hello.exp: Copy ...
5628 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5629 print of st to print value of global definition. Add xfail for GCC
5630 PR93844.
5631 * gdb.go/hello.exp: Remove printing of st before definition.
5632 * gdb.go/hello.go: Copy ...
5633 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5634 to st.
5635 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5636
d7445728
TV
56372020-02-20 Tom de Vries <tdevries@suse.de>
5638
5639 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5640 (gdb_simple_compile): Handle compile_flags go by using .go extension
5641 for source file.
5642 * gdb.go/chan.exp: Use support_go_compile.
5643 * gdb.go/handcall.exp: Same.
5644 * gdb.go/hello.exp: Same.
5645 * gdb.go/integers.exp: Same.
5646 * gdb.go/max-depth.exp: Same.
5647 * gdb.go/methods.exp: Same.
5648 * gdb.go/package.exp: Same.
5649 * gdb.go/strings.exp: Same.
5650 * gdb.go/types.exp: Same.
5651 * gdb.go/unsafe.exp: Same.
5652
c9c41e6d
TV
56532020-02-19 Tom de Vries <tdevries@suse.de>
5654
5655 * gdb.python/lib-types.exp: Make xfail more strict.
5656
f20ff837
TV
56572020-02-19 Tom de Vries <tdevries@suse.de>
5658
5659 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5660
08410482
DE
56612020-02-19 Doug Evans <dje@google.com>
5662
5663 PR rust/25535
5664 * gdb.rust/simple.exp: Add test.
5665 * gdb.rust/simple.rs: Add test.
5666
623563f7
TV
56672020-02-19 Tom de Vries <tdevries@suse.de>
5668
5669 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5670 output line-by-line.
5671
d3308cfd
TV
56722020-02-19 Tom de Vries <tdevries@suse.de>
5673
5674 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5675
86cbc5dc
TV
56762020-02-19 Tom de Vries <tdevries@suse.de>
5677
5678 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5679 prelink.
5680
9db2b96b
TV
56812020-02-19 Tom de Vries <tdevries@suse.de>
5682
5683 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5684 (gdb_do_cache): Use gdb_do_cache_wrap.
5685 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5686
89e2fdc5
TV
56872020-02-19 Tom de Vries <tdevries@suse.de>
5688
5689 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5690 gdb_compile option.
5691
373d7ac0
SM
56922020-02-18 Simon Marchi <simon.marchi@efficios.com>
5693
5694 * gdb.base/printcmds.exp (test_print_enums): Update expected
5695 output.
5696
b29a2df0
SM
56972020-02-18 Simon Marchi <simon.marchi@efficios.com>
5698
5699 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5700 for "unknown".
5701
6740f0cc
SM
57022020-02-18 Simon Marchi <simon.marchi@efficios.com>
5703
5704 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5705 enumerator.
5706
edd45eb0
SM
57072020-02-18 Simon Marchi <simon.marchi@efficios.com>
5708
5709 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5710 FE_, add FE_NONE.
5711 (three): Update.
5712 (enum flag_enum_without_zero): New enum.
5713 (flag_enum_without_zero): New variable.
5714 (enum not_flag_enum): New enum.
5715 (three_not_flag): New variable.
5716 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5717 (test_print_enums): Add more tests for printing flag enums.
5718
d4295de4
TV
57192020-02-18 Tom de Vries <tdevries@suse.de>
5720
5721 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5722 (gdb_compile_ada): ... here.
5723 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5724 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5725
f251f505
TT
57262020-02-14 Tom Tromey <tom@tromey.com>
5727
5728 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5729 build directory.
5730 * boards/gdbserver-base.exp: Update path to gdbserver.
5731
8f432634
TV
57322020-02-13 Tom de Vries <tdevries@suse.de>
5733
5734 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5735
92b6eaf7
TV
57362020-02-13 Tom de Vries <tdevries@suse.de>
5737
5738 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5739 are missing.
5740
f3b0f7fe
TV
57412020-02-13 Tom de Vries <tdevries@suse.de>
5742
5743 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5744 call.
5745
f6be8713
SDJ
57462020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5747
5748 PR tui/25126
5749 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5750 * gdb.base/cached-source-file.c: New file.
5751 * gdb.base/cached-source-file.exp: New file.
5752
b2770d5e
TV
57532020-02-11 Tom de Vries <tdevries@suse.de>
5754
5755 PR testsuite/25488
5756 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5757
44f6938e
TV
57582020-02-10 Tom de Vries <tdevries@suse.de>
5759
5760 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5761
5f0e2eb7
MR
57622020-02-10 Maciej W. Rozycki <macro@wdc.com>
5763
5764 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5765 and $after_addr are both integers before making a comparison.
5766
46ce2b6f
TV
57672020-02-09 Tom de Vries <tdevries@suse.de>
5768
5769 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5770 command output and paste it into gdb.log. If any, paste catch message
5771 to gdb.log.
5772
5abbbe1d
TT
57732020-02-07 Tom Tromey <tromey@adacore.com>
5774
5775 PR breakpoints/24915:
5776 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5777
1d5d29e7
SV
57782020-02-06 Shahab Vahedi <shahab@synopsys.com>
5779
5780 * gdb.tui/tui-missing-src.exp: Add the "missing source
5781 file" test for the TUI.
5782
b0999b9b
AB
57832020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5784
5785 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5786 including a port number in the output.
5787
c3b149eb
AKS
57882020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5789
5790 * lib/fortran.exp (fortran_int4): Handle clang.
5791 (fortran_int8): Likewise.
5792 (fortran_real4): Likewise.
5793 (fortran_real8): Likewise.
5794 (fortran_complex4): Likewise.
5795 (fortran_logical4): Likewise.
5796 (fortran_character1): Likewise.
5797
f8dcc90b
TV
57982020-02-04 Tom de Vries <tdevries@suse.de>
5799
5800 * README (Race detection): Add note.
5801
f90ac7c2
TV
58022020-02-04 Tom de Vries <tdevries@suse.de>
5803
5804 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5805
780636ae
TV
58062020-02-04 Tom de Vries <tdevries@suse.de>
5807
5808 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5809
5d2e1193
RA
58102020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5811
5812 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5813 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5814 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5815 blttar, bnetarl.
5816 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5817 binary for blttar, bnetarl.
5818 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5819 wait instruction. Delete ldmx test.
5820 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5821
e409c542
AKS
58222020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5823
5824 * gdb.fortran/array-bounds-high.exp: New file.
5825 * gdb.fortran/array-bounds-high.f90: New file.
5826
b0029748
LD
58272020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5828
5829 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5830 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5831
195a8287
TV
58322020-02-01 Tom de Vries <tdevries@suse.de>
5833
5834 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5835
42330a68
AB
58362020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5837
5838 PR tui/9765
5839 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5840 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5841
b62a8028
LM
58422020-01-29 Luis Machado <luis.machado@linaro.org>
5843
5844 * gdb.arch/aarch64-brk-patterns.c: New source file.
5845 * gdb.arch/aarch64-brk-patterns.exp: New test.
5846
5f440116
TBA
58472020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5848
5849 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5850 GCC/Clang version.
5851 * gdb.cp/pass-by-ref.exp: Ditto.
5852
ee2a6fc6
TV
58532020-01-29 Tom de Vries <tdevries@suse.de>
5854
5855 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5856 * gdb.threads/watchpoint-fork-mt.c: Same.
5857 * gdb.threads/watchpoint-fork-parent.c: Same.
5858 * gdb.threads/watchpoint-fork-st.c: Same.
5859 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5860
16b10d6e
LM
58612020-01-27 Luis Machado <luis.machado@linaro.org>
5862
5863 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5864 sitting at a syscall instruction when we hit the syscall function's
5865 breakpoint.
5866 Check PC against one obtained with the x command.
5867 Validate syscall number.
5868 (step_over_syscall): Don't continue to the syscall instruction if
5869 we're already there.
5870
b1468492
PW
58712020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5872
5873 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5874
7ffa82e1
AB
58752020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5876
5877 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5878 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5879
3d92a3e3
AB
58802020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5881
5882 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5883 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5884
94a72be7
AB
58852020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5886
5887 * gdb.base/maint.exp: Update line table parsing test.
5888 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5889
53af73bf
PA
58902020-01-24 Pedro Alves <palves@redhat.com>
5891
5892 PR gdb/25410
5893 * gdb.multi/multi-re-run-1.c: New.
5894 * gdb.multi/multi-re-run-2.c: New.
5895 * gdb.multi/multi-re-run.exp: New.
5896
1ba1ac88
AB
58972020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5898
5899 PR gdb/23718
5900 * gdb.server/server-kill-python.exp: New file.
5901
f3364a6d
AB
59022020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5903
5904 * gdb.server/multi-ui-errors.c: New file.
5905 * gdb.server/multi-ui-errors.exp: New file.
5906
733d0a67
AB
59072020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5908
5909 PR tui/9765
5910 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5911
4f13c1c0
TT
59122020-01-19 Tom Tromey <tom@tromey.com>
5913
5914 * gdb.tui/main.exp: Add check for plain "file".
5915
40c94099
CB
59162020-01-16 Christian Biesinger <cbiesinger@google.com>
5917
5918 * lib/gdb.exp: Fix spelling error (seperatelly).
5919
ff47f4f0
TT
59202020-01-14 Tom Tromey <tom@tromey.com>
5921
5922 PR symtab/12535:
5923 * gdb.python/python.exp: Test decode_line with empty string
5924 argument.
5925
717c684d
BE
59262020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5927
5928 * gdb.base/skip-inline.exp: Extend test.
5929
44e4c775
AB
59302020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5931
5932 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5933 * gdb.dwarf2/dw2-bad-elf.c: New file.
5934 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5935
d93c6db7
AB
59362020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5937
5938 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5939 _line_saw_file.
5940
9a6d629c
AB
59412020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5942
5943 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5944 border.
5945
d9ebdab7
TBA
59462020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5947
5948 * gdb.multi/multi-target.exp (setup): Factor out "info
5949 connections" and "info inferiors" tests to ...
5950 (test_info_inferiors): ... this new procedure.
5951 (top level): Run new "info-inferiors" tests.
5952
f3c469b9
PA
59532020-01-10 Pedro Alves <palves@redhat.com>
5954
5955 * gdb.server/bkpt-other-inferior.exp: New file.
5956
121b3efd
PA
59572020-01-10 Pedro Alves <palves@redhat.com>
5958
5959 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5960 of "add-inferior".
5961 * gdb.base/quit-live.exp: Likewise.
5962 * gdb.base/remote-exec-file.exp: Likewise.
5963 * gdb.guile/scm-progspace.exp: Likewise.
5964 * gdb.linespec/linespec.exp: Likewise.
5965 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5966 * gdb.mi/user-selected-context-sync.exp: Likewise.
5967 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5968 "info inferiors" tests.
5969 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5970 "add-inferior".
5971 * gdb.multi/watchpoint-multi.exp: Likewise.
5972 * gdb.python/py-inferior.exp: Likewise.
5973 * gdb.server/extended-remote-restart.exp: Likewise.
5974 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5975 "info inferiors".
5976 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5977 * gdb.trace/report.exp: Likewise.
5978
1dadb1dd
PA
59792020-01-10 Pedro Alves <palves@redhat.com>
5980
5981 * gdb.multi/multi-target.c: New file.
5982 * gdb.multi/multi-target.exp: New file.
5983 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5984 mode requested, but remote does not support non-stop".
5985
78f2c40a
PA
59862020-01-10 Pedro Alves <palves@redhat.com>
5987
5988 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5989 disconnect before reconnecting.
5990
e7af6c70
TBA
59912020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5992 Pedro Alves <palves@redhat.com>
5993
5994 * gdb.server/connect-without-multi-process.exp: Also test
5995 continuing to end.
5996
acdf84a6
PA
59972020-01-10 Pedro Alves <palves@redhat.com>
5998
5999 * gdb.base/remote-exec-file.exp: New file.
6000
873657b9
PA
60012020-01-10 Pedro Alves <palves@redhat.com>
6002
6003 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6004 output.
6005 * gdb.threads/async.c: New.
6006 * gdb.threads/async.exp: New.
6007 * gdb.multi/tids-gid-reset.c: New.
6008 * gdb.multi/tids-gid-reset.exp: New.
6009
7f0ae84c
GB
60102020-01-10 George Barrett <bob@bob131.so>
6011
6012 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6013 to help in finding the image relocation offset.
6014 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6015 options in arguments.
6016 (stap_test_no_debuginfo): Likewise.
6017 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6018 test variants.
6019 (stap_test): Add null semaphore relocation test.
6020
47e9d49d
GB
60212020-01-10 George Barrett <bob@bob131.so>
6022
6023 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6024 * gdb.base/stap-probe.exp: Likewise.
6025 (stap_test): Pass argument as an additional flag.
6026 (stap_test_no_debuginfo): Likewise.
6027 (stap_test): Check `info probes stap' output for semaphore
6028 addresses if the test binary is supposed to have them.
6029
f5a7c406
AB
60302020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6031
6032 * gdb.tui/basic.exp: Add more scrolling tests.
6033
9ae6bf64
TT
60342020-01-09 Tom Tromey <tom@tromey.com>
6035
6036 PR tui/18932:
6037 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6038 meangingful value.
6039 (Term::command, Term::resize): Update.
6040 * gdb.tui/basic.exp: Add scrolling test.
6041
b2efe70c
AB
60422020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6043
6044 * gdb.tui/tui-layout-asm.exp: New file.
6045
3804da7e
AB
60462020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6047
6048 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6049
b40aa28f
AB
60502020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6051
6052 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6053 (Term::enter_tui): Use Term::prepare_for_tui.
6054
63ffd7c9
AB
60552020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6056
6057 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6058 called.
6059
3be966f6
AB
60602020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6061
6062 * gdb.base/skip.exp: Fix race condition in test.
6063
153d79c4
AB
60642020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6065
6066 * gdb.base/backtrace.c: New file.
6067 * gdb.base/backtrace.exp: New file.
6068
f2302a34
AB
60692020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6070
6071 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6072
6ec1d75e
PW
60732020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6074
6075 * gdb.base/style.exp: Test that warnings are styled.
6076
c296cbe6
BE
60772019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6078
6079 * gdb.base/line65535.exp: New file.
6080 * gdb.base/line65535.c: New file.
6081
b28a729d
SM
60822019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6083
6084 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6085 * lib/gnat_debug_info_test.adb: New file.
6086 * gdb.ada/ptype_tagged_param.exp: Use
6087 gnat_runtime_has_debug_info, expect a different output if
6088 runtime does not have debug info.
6089
7f2d7a0d
SM
60902019-12-20 Simon Marchi <simon.marchi@efficios.com>
6091
6092 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6093 (another) quote in test name.
6094
f3bce483
SM
60952019-12-20 Simon Marchi <simon.marchi@efficios.com>
6096
6097 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6098 Add quote in test name.
6099
c855a912
TBA
61002019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6101
6102 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6103 directory instead.
6104 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6105 * gdb.cp/pass-by-ref-2.cc: New file.
6106 * gdb.cp/pass-by-ref-2.exp: New file.
6107
fc9d2d72
TT
61082019-12-20 Tom Tromey <tom@tromey.com>
6109
6110 * gdb.tui/list-before.exp: New file.
6111
77b97e00
TT
61122019-12-20 Tom Tromey <tom@tromey.com>
6113
6114 * gdb.tui/list.exp: Check for source on initial listing.
6115
f69656d0
TT
61162019-12-11 Tom Tromey <tromey@adacore.com>
6117
6118 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6119 Add crlf test.
6120
99a55965
SM
61212019-12-18 Simon Marchi <simon.marchi@efficios.com>
6122
6123 * gdb.base/default.exp: Update value of $_gdb_major.
6124
5024637f
BE
61252019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6126
6127 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6128
b63634be
BE
61292019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6130
6131 * gdb.base/skip.exp: Whitespace fix.
6132
45d73523
BE
61332019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6134
6135 * gdb.base/skip-inline.c: New file.
6136 * gdb.base/skip-inline.exp: New file.
6137
d043f8c8
SM
61382019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6139
6140 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6141 jit_function_00 to jit_function_stack_mangle.
6142 * gdb.base/jithost.c (jit_function_t): Rename to...
6143 (jit_function_stack_mangle_t): ... this.
6144 (jit_function_add_t): New typedef.
6145 (jit_function_00_code): Rename to...
6146 (jit_function_stack_mangle_code): ... this, make static.
6147 (jit_function_add_code): New.
6148 (main): Generate "add" function and call it. Adjust to changes
6149 in jithost_abi.
6150 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6151 (struct jithost_abi) <begin, end>: Remove fields.
6152 <object, function_stack_mangle, function_add>: New fields.
6153 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6154 code_end>: Remove fields.
6155 <func_stack_mangle>: New field.
6156 (read_debug_info): Adjust to renaming, create block for "add"
6157 function.
6158 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6159
873de05c
TT
61602019-12-11 Tom Tromey <tom@tromey.com>
6161
6162 * gdb.tui/resize.exp: Fix regexp.
6163 * gdb.tui/regs.exp: Fix regexps.
6164 * gdb.tui/main.exp: Fix regexp.
6165
3d979945
TT
61662019-12-11 Tom Tromey <tom@tromey.com>
6167
6168 * gdb.tui/resize.exp: Update.
6169 * gdb.tui/empty.exp (layouts): Update.
6170
2192a9d3
TT
61712019-12-11 Tom Tromey <tom@tromey.com>
6172
6173 * gdb.tui/regs.exp: Update.
6174 * gdb.tui/empty.exp (layouts): Update.
6175 * gdb.tui/basic.exp: Update.
6176 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6177
d8edc8b7
PW
61782019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6179
6180 * gdb.base/options.exp: Add -raw-values in the print completion list.
6181 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6182
4c12d936
KB
61832019-12-10 Kevin Buettner <kevinb@redhat.com>
6184
6185 * gdb.threads/omp-par-scope.c: New file.
6186 * gdb/threads/omp-par-scope.exp: New file.
6187
26b911fb
KB
61882019-12-10 Kevin Buettner <kevinb@redhat.com>
6189
bb47f919
KB
6190 * lib/gdb.exp (support_nested_function_tests): New proc.
6191
61922019-12-10 Kevin Buettner <kevinb@redhat.com>
6193
6194 * lib/gdb.exp (gdb_compile_openmp): New proc.
6195 (build_executable_from_specs): Add an "openmp" option.
6196 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6197
6c71eb7d
TT
61982019-12-10 Tom Tromey <tromey@adacore.com>
6199
6200 * gdb.ada/unchecked_union.exp: New file.
6201 * gdb.ada/unchecked_union/pck.adb: New file.
6202 * gdb.ada/unchecked_union/pck.ads: New file.
6203 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6204 * gdb-utils.exp (string_to_regexp): Also quote "?".
6205
bac7c5cf
GB
62062019-12-10 George Barrett <bob@bob131.so>
6207
6208 Test scripted probe breakpoints.
6209 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6210 * gdb.python/py-breakpoint.c (main): Likewise.
6211 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6212 specifier test.
6213 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6214
330f1d38
TBA
62152019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6216
6217 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6218 an rvalue parameter.
6219 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6220 parameter.
6221
b43315e2
AB
62222019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6223
6224 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6225 modules.
6226
54f73dad
AB
62272019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6228
6229 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6230 broken version of GCC.
6231
d57cbee9
AB
62322019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6233
6234 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6235 sym-info-cmds library.
6236 * gdb.fortran/info-types.exp: Likewise.
6237 * lib/sym-info-cmds.exp: New file.
6238
c14aab8c
TV
62392019-12-08 Tom de Vries <tdevries@suse.de>
6240
6241 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6242
aa2d5a42
KS
62432019-12-07 Keith Seitz <keiths@redhat.com>
6244
6245 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6246 * gdb.base/corefile-buildid-shlib.c: New file.
6247 * gdb.base/corefile-buildid.c: New file.
6248 * gdb.base/corefile-buildid.exp: New file.
6249
93e55f0a
TV
62502019-12-06 Tom de Vries <tdevries@suse.de>
6251
6252 * gdb.dwarf2/varval.exp: Add decl before def test.
6253
c7d12402
TBA
62542019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6255
6256 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6257
06acc08f
TBA
62582019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6259
6260 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6261 CV and reference conversion for overload resolution.
6262 * gdb.cp/rvalue-ref-overload.exp: Test it.
6263
e0fad1ea
PW
62642019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6265
6266 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6267 * gdb.base/frameapply.exp: Test faas without command.
6268
8d70a9f0
AB
62692019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6270
6271 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6272 Fortran tests.
6273 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6274 order.
6275
36c8fb93
AB
62762019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6277
6278 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6279 casting to type with no kind specified.
6280 (test_basic_parsing_of_type_kinds): Additional tests for types
6281 with no kind specified, and add tests for single/double
6282 precision/complex types.
6283
4139ff00
TT
62842019-12-04 Tom Tromey <tromey@adacore.com>
6285
6286 * gdb.base/endianity.c (struct other) <x>: New field.
6287 (main): Initialize it.
6288 * gdb.base/endianity.exp: Update.
6289
a05cf17a
TT
62902019-12-04 Tom Tromey <tromey@adacore.com>
6291
6292 * gdb.ada/scalar_storage/storage.adb: New file.
6293 * gdb.ada/scalar_storage/pck.adb: New file.
6294 * gdb.ada/scalar_storage/pck.ads: New file.
6295 * gdb.ada/scalar_storage.exp: New file.
6296
103a685e
TT
62972019-12-04 Tom Tromey <tromey@adacore.com>
6298
6299 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6300 (main): Initialize it.
6301 * gdb.base/endianity.exp: Update.
6302
c2512106
AB
63032019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6304
6305 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6306
293b38d6
AB
63072019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6308
6309 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6310 -symbol-info-module-functions and -symbol-info-module-variables.
6311
216a7e6b
AB
63122019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6313
6314 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6315
5bbd8269
AB
63162019-12-01 Richard Bunt <richard.bunt@arm.com>
6317 Andrew Burgess <andrew.burgess@embecosm.com>
6318
6319 * gdb.fortran/derived-type-striding.exp: New file.
6320 * gdb.fortran/derived-type-striding.f90: New file.
6321 * gdb.fortran/array-slices.exp: New file.
6322 * gdb.fortran/array-slices.f90: New file.
6323
be09caf1
PW
63242019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6325
6326 * gdb.base/define.exp: Test . in command names.
6327 * gdb.base/setshow.exp: Update test, as . is now part of
6328 command name.
6329
643c0cbe
PW
63302019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6331
6332 * gdb.base/define-prefix.exp: New file.
6333
dcdec678
AB
63342019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6335
6336 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6337 compile.
6338 (skip_btrace_pt_tests): Likewise.
6339
640ab947
AB
63402019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6341
6342 * gdb.fortran/info-modules.exp: Compile source files in correct
6343 order.
6344
d22670f0
KB
63452019-11-27 Kevin Buettner <kevinb@redhat.com>
6346
6347 * gdb.dwarf2/imported-unit.exp: New file.
6348 * gdb.dwarf2/imported-unit.c: New file.
6349
db5960b4
AB
63502019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6351
6352 * gdb.mi/mi-fortran-modules-2.f90: New file.
6353 * gdb.mi/mi-fortran-modules.exp: New file.
6354 * gdb.mi/mi-fortran-modules.f90: New file.
6355
7dc42066
AB
63562019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6357
6358 * gdb.mi/mi-sym-info-1.c: New file.
6359 * gdb.mi/mi-sym-info-2.c: New file.
6360 * gdb.mi/mi-sym-info.exp: New file.
6361
0dfeecca
TT
63622019-11-22 Tom Tromey <tromey@adacore.com>
6363
6364 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6365 * gdb.ada/tasks/foo.adb: Add another stopping location.
6366
34877895
PJ
63672019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6368
6369 * gdb.base/endianity.c: New test.
6370 * gdb.base/endianity.exp: New file.
6371
2e84f897
LD
63722019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6373
6374 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6375
65d1cd5f
TV
63762019-11-21 Tom de Vries <tdevries@suse.de>
6377
6378 PR gdb/24956
6379 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6380
4f22c3f4
SDJ
63812019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6382
6383 * gdb.python/py-progspace.exp: Add missing parentheses on some
6384 'print' commands.
6385
9f6ad286
TT
63862019-11-19 Tom Tromey <tom@tromey.com>
6387
6388 * gdb.tui/winheight.exp: New file.
6389
0b8dbf3f
AB
63902019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6391
6392 * gdb.base/ctf-whatis.c: Delete.
6393 * gdb.base/ctf-whatis.exp: Delete.
6394 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6395
f833b7a7
AB
63962019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6397
6398 * gdb.base/ctf-cvexpr.exp: Delete.
6399 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6400
30d0a636
AB
64012019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6402
6403 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6404 the compiler. Clean up header comment a little.
6405 * gdb.base/ctf-ptype.exp: Likewise.
6406 * gdb.base/ctf-whatis.exp: Likewise.
6407 * lib/gdb.exp (skip_ctf_tests): New proc.
6408
494409bb
SDJ
64092019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6410
6411 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6412 * gdb.tui/corefile-run.exp: New file.
6413
55708e99
TT
64142019-11-14 Tom Tromey <tromey@adacore.com>
6415
6416 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6417 regression tests.
6418
45e42163
TT
64192019-11-12 Tom Tromey <tom@tromey.com>
6420
6421 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6422 after any command. Expect prompt after WAIT_FOR is seen.
6423 (enter_tui): Enable resize messages.
6424 (command): Expect command in output.
6425 (get_line): Avoid error when cursor appears to be off-screen.
6426 (dump_screen): Include screen size in title.
6427 (_do_resize): New proc, from "resize".
6428 (resize): Rewrite. Do resize in two steps.
6429 * gdb.tui/empty.exp (layouts): Fix entries.
6430 (check_boxes): Remove xfail.
6431 (check_text): Dump screen on failure.
6432
086baaf1
AB
64332019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6434
6435 * gdb.python/py-symbol.exp: Add test for
6436 gdb.lookup_static_symbols.
6437
09ff83af
AB
64382019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6439
6440 * gdb.python/py-symbol.c: Declare and call function from new
6441 py-symbol-2.c file.
6442 * gdb.python/py-symbol.exp: Compile both source files, and add new
6443 tests for gdb.lookup_static_symbol.
6444 * gdb.python/py-symbol-2.c: New file.
6445
11af934b
TV
64462019-11-02 Tom de Vries <tdevries@suse.de>
6447
6448 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6449 * gdb.base/anon.exp: Same.
6450 * gdb.base/auto-connect-native-target.exp: Same.
6451 * gdb.base/call-ar-st.exp: Same.
6452 * gdb.base/catch-syscall.exp: Same.
6453 * gdb.base/commands.exp: Same.
6454 * gdb.base/default.exp: Same.
6455 * gdb.base/display.exp: Same.
6456 * gdb.base/float.exp: Same.
6457 * gdb.base/foll-fork.exp: Same.
6458 * gdb.base/help.exp: Same.
6459 * gdb.base/info-macros.exp: Same.
6460 * gdb.base/info-proc.exp: Same.
6461 * gdb.base/info-target.exp: Same.
6462 * gdb.base/long_long.exp: Same.
6463 * gdb.base/macscp.exp: Same.
6464 * gdb.base/memattr.exp: Same.
6465 * gdb.base/nofield.exp: Same.
6466 * gdb.base/pointers.exp: Same.
6467 * gdb.base/printcmds.exp: Same.
6468 * gdb.base/ptype.exp: Same.
6469 * gdb.base/restore.exp: Same.
6470 * gdb.base/return.exp: Same.
6471 * gdb.base/scope.exp: Same.
6472 * gdb.base/set-noassign.exp: Same.
6473 * gdb.base/setshow.exp: Same.
6474 * gdb.base/shlib-call.exp: Same.
6475 * gdb.base/signals.exp: Same.
6476 * gdb.base/sigstep.exp: Same.
6477 * gdb.base/skip.exp: Same.
6478 * gdb.base/solib-symbol.exp: Same.
6479 * gdb.base/stap-probe.exp: Same.
6480 * gdb.base/step-line.exp: Same.
6481 * gdb.base/step-test.exp: Same.
6482 * gdb.base/style.exp: Same.
6483 * gdb.base/varargs.exp: Same.
6484 * gdb.base/vla-datatypes.exp: Same.
6485 * gdb.base/vla-ptr.exp: Same.
6486 * gdb.base/vla-sideeffect.exp: Same.
6487 * gdb.base/volatile.exp: Same.
6488 * gdb.base/watch-cond-infcall.exp: Same.
6489 * gdb.base/watchpoint.exp: Same.
6490
e96ec2ba
TV
64912019-11-02 Tom de Vries <tdevries@suse.de>
6492
6493 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6494 * gdb.cp/cpexprs.exp: Same.
6495 * gdb.cp/except-multi-location.exp: Same.
6496 * gdb.cp/exceptprint.exp: Same.
6497 * gdb.cp/gdb2384.exp: Same.
6498 * gdb.cp/inherit.exp: Same.
6499 * gdb.cp/m-static.exp: Same.
6500 * gdb.cp/meth-typedefs.exp: Same.
6501 * gdb.cp/misc.exp: Same.
6502 * gdb.cp/namespace.exp: Same.
6503 * gdb.cp/non-trivial-retval.exp: Same.
6504 * gdb.cp/overload.exp: Same.
6505 * gdb.cp/pr17132.exp: Same.
6506 * gdb.cp/re-set-overloaded.exp: Same.
6507 * gdb.cp/rvalue-ref-types.exp: Same.
6508 * gdb.cp/templates.exp: Same.
6509
bd5766ec
LM
65102019-11-01 Luis Machado <luis.machado@linaro.org>
6511
6512 PR gdb/25124
6513
6514 * gdb.arch/pr25124.S: New file.
6515 * gdb.arch/pr25124.exp: New file.
6516
165f8965
AB
65172019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6518
6519 * gdb.fortran/info-modules.exp: Update expected results, and add
6520 additional tests for 'info module functinos', and 'info module
6521 variables'.
6522 * gdb.fortran/info-types.exp: Update expected results.
6523 * gdb.fortran/info-types.f90: Extend testcase with additional
6524 module variables and functions.
6525
59c35742
AB
65262019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6527
6528 * gdb.fortran/info-modules.exp: New file.
6529 * gdb.fortran/info-types.exp: Build with new file.
6530 * gdb.fortran/info-types.f90: Include and use new module.
6531 * gdb.fortran/info-types-2.f90: New file.
6532
f3fb2519
PW
65332019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6534
6535 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6536 * gdb.base/settings.exp: Test all settings types using
6537 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6538 that now verifies that the value of "maint show" is the same as
6539 returned by the settings functions. Test the type of the
6540 maintenance settings.
6541 * gdb.base/default.exp: Update show_conv_list.
6542
d1e36019
TV
65432019-10-31 Tom de Vries <tdevries@suse.de>
6544
6545 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6546 gdb_test.
6547 * gdb.arch/amd64-disp-step.exp: Same.
6548 * gdb.asm/asm-source.exp: Same.
6549 * gdb.btrace/buffer-size.exp: Same.
6550 * gdb.btrace/cpu.exp: Same.
6551 * gdb.btrace/enable.exp: Same.
6552 * gdb.dwarf2/count.exp: Same.
6553 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6554 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6555 * gdb.fortran/vla-datatypes.exp: Same.
6556 * gdb.fortran/vla-history.exp: Same.
6557 * gdb.fortran/vla-ptype.exp: Same.
6558 * gdb.fortran/vla-value.exp: Same.
6559 * gdb.fortran/whatis_type.exp: Same.
6560 * gdb.guile/guile.exp: Same.
6561 * gdb.multi/tids.exp: Same.
6562 * gdb.python/py-finish-breakpoint.exp: Same.
6563 * gdb.python/py-framefilter.exp: Same.
6564 * gdb.python/py-pp-registration.exp: Same.
6565 * gdb.python/py-xmethods.exp: Same.
6566 * gdb.python/python.exp: Same.
6567 * gdb.server/connect-with-no-symbol-file.exp: Same.
6568 * gdb.server/no-thread-db.exp: Same.
6569 * gdb.server/run-without-local-binary.exp: Same.
6570 * gdb.stabs/weird.exp: Same.
6571 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6572 * gdb.threads/thread-find.exp: Same.
6573 * gdb.threads/tls-shared.exp: Same.
6574 * gdb.threads/tls.exp: Same.
6575 * gdb.threads/wp-replication.exp: Same.
6576 * gdb.trace/ax.exp: Same.
6577 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6578
3d11e68e
TV
65792019-10-31 Tom de Vries <tdevries@suse.de>
6580
6581 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6582 * gdb.ada/array_subscript_addr.exp: Same.
6583 * gdb.ada/arrayidx.exp: Same.
6584 * gdb.ada/arrayparam.exp: Same.
6585 * gdb.ada/arrayptr.exp: Same.
6586 * gdb.ada/boolean_expr.exp: Same.
6587 * gdb.ada/call_pn.exp: Same.
6588 * gdb.ada/complete.exp: Same.
6589 * gdb.ada/fixed_cmp.exp: Same.
6590 * gdb.ada/fun_addr.exp: Same.
6591 * gdb.ada/funcall_param.exp: Same.
6592 * gdb.ada/interface.exp: Same.
6593 * gdb.ada/mod_from_name.exp: Same.
6594 * gdb.ada/null_array.exp: Same.
6595 * gdb.ada/packed_array.exp: Same.
6596 * gdb.ada/packed_tagged.exp: Same.
6597 * gdb.ada/print_chars.exp: Same.
6598 * gdb.ada/print_pc.exp: Same.
6599 * gdb.ada/ptype_arith_binop.exp: Same.
6600 * gdb.ada/ptype_field.exp: Same.
6601 * gdb.ada/ptype_tagged_param.exp: Same.
6602 * gdb.ada/rec_return.exp: Same.
6603 * gdb.ada/ref_tick_size.exp: Same.
6604 * gdb.ada/str_ref_cmp.exp: Same.
6605 * gdb.ada/taft_type.exp: Same.
6606 * gdb.ada/tagged.exp: Same.
6607 * gdb.ada/type_coercion.exp: Same.
6608 * gdb.ada/uninitialized_vars.exp: Same.
6609
60b6ede8
TV
66102019-10-30 Tom de Vries <tdevries@suse.de>
6611
6612 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6613
30baf67b
TV
66142019-10-26 Tom de Vries <tdevries@suse.de>
6615
6616 * gdb.base/bigcore.c: Fix typos in comments.
6617 * gdb.base/ctf-ptype.c: Same.
6618 * gdb.base/long_long.c: Same.
6619 * gdb.dwarf2/dw2-op-out-param.S: Same.
6620 * gdb.python/py-evthreads.c: Same.
6621 * gdb.reverse/i387-stack-reverse.c: Same.
6622 * gdb.trace/tfile.c: Same.
6623 * lib/compiler.c: Same.
6624 * lib/compiler.cc: Same.
6625
158da0d1
TV
66262019-10-25 Tom de Vries <tdevries@suse.de>
6627
6628 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6629 gdb_test_multiple calls.
6630 * gdb.reverse/sigall-reverse.exp: Same.
6631 * gdb.reverse/solib-precsave.exp: Same.
6632 * gdb.reverse/solib-reverse.exp: Same.
6633 * gdb.reverse/until-precsave.exp: Same.
6634 * gdb.reverse/until-reverse.exp: Same.
6635
4ccdfbec
TV
66362019-10-24 Tom de Vries <tdevries@suse.de>
6637
6638 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6639 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6640 kfail using -wrap pattern flag and convenience variable
6641 gdb_test_name.
6642
33d569b7
AB
66432019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6644
6645 * gdb.python/py-progspace.exp: Add tests for the
6646 Progspace.block_for_pc method.
6647
4d0b984b
TT
66482019-10-23 Tom Tromey <tom@tromey.com>
6649
6650 * configure: Rebuild.
6651 * aclocal.m4: Use m4_include, not sinclude.
6652
94cb3754
TV
66532019-10-21 Tom de Vries <tdevries@suse.de>
6654
6655 * gdb.base/infcall-nested-structs.c: Add
6656 __attribute__((noinline,noclone)) to all functions.
6657 (call_all): Add missing variable initialization. Simplify return value.
6658 (breakpt): Increment volatile variable, to prevent call from being
6659 optimized out.
6660 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6661
062f1fc1
TV
66622019-10-17 Tom de Vries <tdevries@suse.de>
6663
6664 * gdb.fortran/module.exp: Allow info variables to print info for files
6665 other than module.f90.
6666
0b54364d
AB
66672019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6668
6669 * gdb.fortran/module.exp: Extend with 'info variables' test.
6670
7ff5fae7
AB
66712019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6672
6673 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6674 F77_FOR_TARGET.
6675
d10eccaa
TV
66762019-10-16 Tom de Vries <tdevries@suse.de>
6677
6678 PR tdep/25096
6679 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6680
745ff14e
TV
66812019-10-16 Tom de Vries <tdevries@suse.de>
6682
6683 PR tdep/24104
6684 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6685 Add KFAIL for PR tdep/25096.
6686
03e1ab94
TV
66872019-10-16 Tom de Vries <tdevries@suse.de>
6688
6689 PR testsuite/25059
6690 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6691
b17fcc10
TV
66922019-10-16 Tom de Vries <tdevries@suse.de>
6693
6694 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6695 as signed.
6696
9223170f
SM
66972019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6698
6699 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6700 one instead of increasing timeout.
6701
d6e76313
TV
67022019-10-13 Tom de Vries <tdevries@suse.de>
6703
6704 PR record/25038
6705 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6706 * gdb.reverse/sigall-reverse.exp: Same.
6707 * gdb.reverse/solib-precsave.exp: Same.
6708 * gdb.reverse/solib-reverse.exp: Same.
6709 * gdb.reverse/step-precsave.exp: Same.
6710 * gdb.reverse/until-precsave.exp: Same.
6711 * gdb.reverse/until-reverse.exp: Same.
6712 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6713
6dfc0041
AA
67142019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6715
6716 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6717 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6718 (cmp_struct_05_01, cmp_struct_static_02_01)
6719 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6720 comparisons.
6721
abcf2cc8
TV
67222019-10-10 Tom de Vries <tdevries@suse.de>
6723
6724 PR testsuite/24888
6725 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6726 gnatlink.
6727
a50faaf6
TV
67282019-10-09 Tom de Vries <tdevries@suse.de>
6729
6730 PR testsuite/25048
6731 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6732
60ff3cd7
AB
67332019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6734
6735 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6736 exceptions due to missing debug information.
6737
dfee8566
TV
67382019-10-07 Tom de Vries <tdevries@suse.de>
6739
6740 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6741
3d63690a
AB
67422019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6743
6744 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6745 * gdb.base/annota1.exp: Update to use gdb_test_name.
6746
30d1f018
WP
67472019-10-07 Weimin Pan <weimin.pan@oracle.com>
6748
6749 * gdb.base/ctf-whatis.exp: New file.
6750 * gdb.base/ctf-whatis.c: New file.
6751 * gdb.base/ctf-ptype.exp: New file.
6752 * gdb.base/ctf-ptype.c: New file.
6753 * gdb.base/ctf-constvars.exp: New file.
6754 * gdb.base/ctf-constvars.c: New file.
6755 * gdb.base/ctf-cvexpr.exp: New file.
6756
4dbbb47c
TV
67572019-10-04 Tom de Vries <tdevries@suse.de>
6758
6759 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6760 for loop.
6761
77c2dba3
TT
67622019-10-03 Tom Tromey <tom@tromey.com>
6763
6764 PR rust/24976:
6765 * gdb.rust/simple.rs (Union2): New type.
6766 (main): Use Union2.
6767 * gdb.rust/simple.exp: Add test.
6768
179aed7f
AB
67692019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6770
6771 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6772 nested function prefix.
6773
0a4b0913
AB
67742019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6775 Richard Bunt <richard.bunt@arm.com>
6776 Andrew Burgess <andrew.burgess@embecosm.com>
6777
6778 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6779 nested functions.
6780 * gdb.fortran/nested-funcs.f90: Update expected results.
6781 * gdb.fortran/nested-funcs-2.exp: New file.
6782 * gdb.fortran/nested-funcs-2.f90: New file.
6783
082cce05
AB
67842019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6785
6786 * gdb.python/py-parameter.exp: Make test names unique.
6787 * gdb.python/py-template.exp: Likewise.
6788 * gdb.python/py-value.exp: Likewise.
6789
2b74ba5a
AB
67902019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6791
6792 * gdb.base/break-interp.exp: Reduce test name duplication.
6793 * gdb.base/call-sc.exp: Likewise.
6794 * gdb.base/callfuncs.exp: Likewise.
6795 * gdb.base/charset.exp: Likewise.
6796 * gdb.base/dump.exp: Likewise.
6797 * gdb.base/ena-dis-br.exp: Likewise.
6798 * gdb.base/relational.exp: Likewise.
6799 * gdb.base/step-over-syscall.exp: Likewise.
6800 * gdb.base/structs.exp: Likewise.
6801
58eb20d5
AB
68022019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6803
6804 * gdb.linespec/explicit.exp: Make test names unique.
6805 * gdb.linespec/ls-errs.exp: Likewise.
6806
4d421147
AB
68072019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6808
6809 * gdb.reverse/break-precsave.exp: Make test names unique.
6810 * gdb.reverse/break-reverse.exp: Likewise.
6811 * gdb.reverse/finish-precsave.exp: Likewise.
6812 * gdb.reverse/finish-reverse.exp: Likewise.
6813 * gdb.reverse/machinestate-precsave.exp: Likewise.
6814 * gdb.reverse/machinestate.exp: Likewise.
6815 * gdb.reverse/readv-reverse.exp: Likewise.
6816 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6817 * gdb.reverse/sigall-precsave.exp: Likewise.
6818 * gdb.reverse/sigall-reverse.exp: Likewise.
6819 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6820 * gdb.reverse/watch-precsave.exp: Likewise.
6821 * gdb.reverse/watch-reverse.exp: Likewise.
6822
d8c06f22
AB
68232019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6824
6825 * gdb.threads/stop-with-handle.c: New file.
6826 * gdb.threads/stop-with-handle.exp: New file.
6827
3a56ed86
TV
68282019-10-03 Tom de Vries <tdevries@suse.de>
6829
6830 PR testsuite/25059
6831 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6832 directory" line to be missing.
6833
42275044
TV
68342019-10-03 Tom de Vries <tdevries@suse.de>
6835
6836 PR testsuite/25059
6837 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6838 type optional.
6839
9ef62df0
AA
68402019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6841
6842 * gdb.python/py-format-string.c (string.h): New include.
6843 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6844 the same value, for endianness-independence.
6845 * gdb.python/py-format-string.exp (default_regexp_dict)
6846 (test_pretty_structs, test_format): Adjust expected output to the
6847 changed initialization.
6848
37f6a7f4
TT
68492019-10-02 Tom Tromey <tromey@adacore.com>
6850
6851 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6852
1d58d6a2
PA
68532019-10-02 Pedro Alves <palves@redhat.com>
6854 Andrew Burgess <andrew.burgess@embecosm.com>
6855
6856 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6857 "print-file-var.h".
6858 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6859 (get_version_1): Print this_version_id and its address.
6860 Add extern "C" wrappers around interface functions.
6861 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6862 "print-file-var.h".
6863 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6864 (get_version_2): Print this_version_id and its address.
6865 Add extern "C" wrappers around interface functions.
6866 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6867 <stddef.h> and "print-file-var.h".
6868 Add extern "C" wrappers around interface functions.
6869 [VERSION_ID_MAIN] (this_version_id): Define.
6870 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6871 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6872 up extern "C" blocks.
6873 * gdb.base/print-file-var.exp (test): New, factored out from top
6874 level.
6875 (top level): Test all combinations of attribute hidden or not,
6876 dlopen or not, and this_version_id symbol in main file or not.
6877 Compile tests as both C++ and C, make test names unique.
6878
d770d56f
TT
68792019-10-01 Tom Tromey <tom@tromey.com>
6880
6881 * gdb.base/style.exp: Test "show logging filename".
6882
7f6aba03
TT
68832019-10-01 Tom Tromey <tom@tromey.com>
6884
6885 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6886 * gdb.base/style.exp: Add metadata style test.
6887
14309bb6
TT
68882019-10-01 Tom Tromey <tom@tromey.com>
6889
6890 * gdb.base/style.exp: Test "pwd".
6891
2a3c1174
PA
68922019-10-01 Tom Tromey <tom@tromey.com>
6893
6894 * gdb.base/style.exp: Update tests.
6895
53d666ec
AA
68962019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6897
6898 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6899 'six' to unsigned.
6900 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6901 'five'. Use an all-ones bit pattern for each.
6902 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6903 to its changed values.
6904
4a56a520
TT
69052019-09-30 Tom Tromey <tromey@adacore.com>
6906
6907 * gdb.rust/traits.rs: Disable all warnings.
6908
0df0352a
TV
69092019-09-29 Tom de Vries <tdevries@suse.de>
6910
aac66a4c 6911 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6912
73d9a918
TV
69132019-09-29 Tom de Vries <tdevries@suse.de>
6914
6915 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6916
060b3ab4
TV
69172019-09-27 Tom de Vries <tdevries@suse.de>
6918
6919 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6920
68f7d34d
TV
69212019-09-27 Tom de Vries <tdevries@suse.de>
6922
6923 PR record/23188
6924 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6925
5d63b30a
TT
69262019-09-26 Tom Tromey <tromey@adacore.com>
6927
6928 * gdb.ada/py_taft.exp: New file.
6929 * gdb.ada/py_taft/main.adb: New file.
6930 * gdb.ada/py_taft/pkg.adb: New file.
6931 * gdb.ada/py_taft/pkg.ads: New file.
6932
3d435220
TV
69332019-09-24 Tom de Vries <tdevries@suse.de>
6934
6935 PR gdb/24598
6936 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6937
77d03678
TV
69382019-09-22 Tom de Vries <tdevries@suse.de>
6939
6940 * gdb.base/restore.exp: Allow register variables to be optimized out at
6941 -O0.
6942
abf516c6
UW
69432019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6944
6945 * gdb.arch/spu-info.exp: Remove file.
6946 * gdb.arch/spu-info.c: Remove file.
6947 * gdb.arch/spu-ls.exp: Remove file.
6948 * gdb.arch/spu-ls.c: Remove file.
6949
6950 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6951 * gdb.asm/spu.inc: Remove file.
6952
6953 * gdb.base/dump.exp: Remove support for spu*-*-*.
6954 * gdb.base/stack-checking.exp: Likewise.
6955 * gdb.base/overlays.exp: Likewise.
6956 * gdb.base/ovlymgr.c: Likewise.
6957 * gdb.base/spu.ld: Remove file.
6958
6959 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6960 * gdb.cp/cpexprs.exp: Likewise.
6961 * gdb.cp/exception.exp: Likewise.
6962 * gdb.cp/gdb2495.exp: Likewise.
6963 * gdb.cp/mb-templates.exp: Likewise.
6964 * gdb.cp/pr9167.exp: Likewise.
6965 * gdb.cp/userdef.exp: Likewise.
6966
6967 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6968
6969 * gdb.cell: Remove directory.
6970 * lib/cell.exp: Remove file.
6971
e452e88f
TV
69722019-09-19 Tom de Vries <tdevries@suse.de>
6973
6974 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6975
8a625130
TV
69762019-09-19 Tom de Vries <tdevries@suse.de>
6977
6978 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6979
81dc3ab5
TV
69802019-09-19 Tom de Vries <tdevries@suse.de>
6981
6982 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6983 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6984 (gdb_target_cmd): ... here.
6985 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6986 value 2.
6987
b078f3ac
AB
69882019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6989
6990 * gdb.base/source-dir.exp: Avoid having directory names in test
6991 names.
6992
f1b620e9
MG
69932019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6994
6995 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6996 directory.
6997
67f3ed6a
AB
69982019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6999
7000 * gdb.base/list-missing-source.exp: New file.
7001
d1b70248
TV
70022019-09-14 Tom de Vries <tdevries@suse.de>
7003
7004 PR teststuite/24599
7005 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7006 * lib/ada.exp (gnatmake_version_at_least): New proc.
7007
5fabdcd6
AB
70082019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7009
7010 * gdb.base/maint.exp: Use exec_has_index_section.
7011
aa17805f
AB
70122019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7013
7014 * gdb.base/maint.exp: Add test for 'maint info sections'.
7015
25e5c209
TV
70162019-09-12 Tom de Vries <tdevries@suse.de>
7017
7018 * gdb.base/store.exp: Allow register variables to be optimized out at
7019 -O0.
7020
4993045d
PW
70212019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7022
7023 * gdb.ada/rdv_wait.exp: Update to new task names.
7024 * gdb.base/task_switch_in_core.exp: Likewise.
7025 * gdb.base/info_sources_base.c: Likewise.
7026
8a516164
TT
70272019-09-10 Tom Tromey <tromey@adacore.com>
7028
7029 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7030
aa391654
TT
70312019-09-10 Tom Tromey <tromey@adacore.com>
7032
7033 * gdb.ada/dgopt.exp: New file.
7034 * gdb.ada/dgopt/x.adb: New file.
7035
8634b462
TT
70362019-09-08 Tom Tromey <tom@tromey.com>
7037
7038 * gdb.tui/resize.exp: Remove setup_xfail.
7039 * gdb.tui/regs.exp: Remove setup_xfail.
7040 * gdb.tui/basic.exp: Remove setup_xfail.
7041
736b0f76
DB
70422019-09-06 David Blaikie <dblaikie@gmail.com>
7043
7044 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7045 * gdb.cp/cplabel.exp: Ditto.
7046 * gdb.linespec/ls-errs.exp: Ditto.
7047
30331a6c
TV
70482019-09-05 Tom de Vries <tdevries@suse.de>
7049
7050 * lib/gdb.exp (cmp_file_string): New proc.
7051 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7052 runto_main. Verify save breakpoints output.
7053
98b0ebab
PW
70542019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7055
7056 * gdb.base/info-var.exp: Test info variables without running
7057 to main, to avoid expect's buffer overflow.
7058
4e962e74
TT
70592019-09-03 Tom Tromey <tromey@adacore.com>
7060
7061 * gdb.ada/bias.exp: New file.
7062 * gdb.ada/bias/bias.adb: New file.
7063 * gdb.ada/print_chars.exp: Add regression test.
7064 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7065 (MC): New variable.
7066
2ea1a07a
SL
70672019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7068
7069 * gdb.base/argv0-symlink.exp: Run only on native target
7070 and local host.
7071
8077c50d
TV
70722019-08-29 Tom de Vries <tdevries@suse.de>
7073
7074 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7075 diverse debug info.
7076 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7077
48352473
TV
70782019-08-28 Tom de Vries <tdevries@suse.de>
7079
7080 * gdb.base/info-var.exp: Allow info variables to print info for files
7081 other than info-var-f1.c and info-var-f2.c.
7082
d8f27c60
AB
70832019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7084
7085 * gdb.fortran/info-types.exp: Add module.
7086 * gdb.fortran/info-types.f90: Update expected results.
7087
1f20c35e
AB
70882019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7089
7090 * gdb.fortran/info-types.exp: New file.
7091 * gdb.fortran/info-types.f90: New file.
7092 * lib/fortran.exp (fortran_character1): New proc.
7093
4acfdd20
AB
70942019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7095
7096 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7097 functions'. Reindent as needed.
7098 * gdb.base/info-var-f1.c: New file.
7099 * gdb.base/info-var-f2.c: New file.
7100 * gdb.base/info-var.exp: New file.
7101 * gdb.base/info-var.h: New file.
7102
5c31b358
TV
71032019-08-26 Tom de Vries <tdevries@suse.de>
7104
7105 PR c++/24852
7106 * gdb.cp/no-libstdcxx-probe.exp: New test.
7107
b694989f
TV
71082019-08-26 Tom de Vries <tdevries@suse.de>
7109
7110 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7111 * tests need to be skipped.
7112 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7113 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7114 mi_skip_libstdcxx_probe_tests.
7115
d9c4ba53
SDJ
71162019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7117
7118 * gdb.python/py-xmethods.exp: Use raw strings when passing
7119 arguments to SimpleXMethodMatcher.
7120
395fad09
TV
71212019-08-22 Tom de Vries <tdevries@suse.de>
7122
7123 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7124 more informative.
7125
26c957f1
PA
71262019-08-21 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.base/with.exp: Test "with" with no arguments.
7129
61f80d5d
TV
71302019-08-21 Tom de Vries <tdevries@suse.de>
7131
7132 * gdb.base/gdb-caching-proc.exp: Sort files.
7133
d7a11d13
TV
71342019-08-20 Tom de Vries <tdevries@suse.de>
7135
7136 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7137 compilation.
7138
34dafe9f
TV
71392019-08-16 Tom de Vries <tdevries@suse.de>
7140
7141 * gdb.base/compare-sections.exp ("after run to main"): Allow
7142 mismatched read-only sections for PIE executables.
7143
398fdd60
TT
71442019-08-16 Tom Tromey <tom@tromey.com>
7145
7146 * lib/tuiterm.exp (_csi_Z): New proc.
7147 * gdb.tui/basic.exp: Update window positions.
7148 * gdb.tui/empty.exp: Update window positions.
7149
d8f9e51c
SL
71502019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7151
7152 * gdb.base/examine-backward.exp: Correct regexp for
7153 "examine 3 bytes backward from ${address_zero}".
7154
3df505f6
TT
71552019-08-15 Tom Tromey <tom@tromey.com>
7156
7157 * gdb.tui/empty.exp: Enable resizing tests.
7158
272560b5
TT
71592019-08-15 Tom Tromey <tromey@adacore.com>
7160
7161 * gdb.ada/char_enum.exp: Add regression tests.
7162 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7163 and '0'.
7164 (Char, Gchar): Update.
7165 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7166
08235187
CB
71672019-08-15 Christian Biesinger <cbiesinger@google.com>
7168
7169 * gdb.python/python.exp: Expect a leading underscore on
7170 GdbOutput{,Error}File.
7171
22a2ab04
SL
71722019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7173
7174 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7175 Windows host.
7176
835b995b
SL
71772019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7178
7179 * gdb.base/batch-preserve-term-settings.exp
7180 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7181
97dd8e07
CB
71822019-08-15 Christian Biesinger <cbiesinger@google.com>
7183
7184 * lib/gdb.exp: When running on a mingw target, replace
7185 /x/ with x:/.
7186
75faf5c4
AH
71872019-08-14 Alan Hayward <alan.hayward@arm.com>
7188
7189 * gdb.arch/aarch64-prologue.c: New test.
7190 * gdb.arch/aarch64-prologue.exp: New file.
7191
abc6c00f
TV
71922019-08-13 Tom de Vries <tdevries@suse.de>
7193
7194 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7195 Thread.
7196
74c2c1f4
SL
71972019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7198
7199 * gdb.python/py-completion.exp: Download the .py file to the host
7200 and use its host pathname. Conditionalize tests that use
7201 tab completion and manipulate files on the build machine.
7202 * gdb.python/py-events.exp: Download the .py file to the host
7203 and use its host pathname.
7204 * gdb.python/py-evsignal.exp: Likewise.
7205 * gdb.python/py-evthreads.exp: Likewise.
7206 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7207 pathname syntax.
7208 * gdb.python/py-framefilter.exp: Download the .py file to the right
7209 place on the host. Match Windows pathname syntax.
7210 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7211 .py file to the host and use its host pathname.
7212 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7213 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7214 build pathname. Skip symlink test on Windows host. Add missing
7215 newline at end of file.
7216 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7217 and use its host pathname.
7218 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7219 * gdb.python/py-section-script.exp: Use host location of binfile
7220 on safe-path. Use correct path separator on Windows host.
7221 Reorder alternatives in gdb_test_multiple to prevent matching
7222 the wrong alternative on success.
7223 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7224
ca2589f3
PP
72252019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7226
7227 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7228 expect the GDB inferior to no longer immediately stop after
7229 being resumed with "signal SIGINT".
7230
020a839d
SL
72312019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7232
7233 * gdb.linespec/break-ask.exp: Generalize regexps to match
7234 Windows pathnames too.
7235
128d6509
TV
72362019-08-08 Tom de Vries <tdevries@suse.de>
7237
7238 PR testsuite/24862
7239 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7240
590042fc
PW
72412019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7242
7243 * gdb.base/style.exp: Update tests for help doc new invariants.
7244 * gdb.base/help.exp: Likewise.
7245
046bebe1
TT
72462019-08-06 Tom Tromey <tom@tromey.com>
7247
7248 * gdb.base/style.exp: Add disassemble test.
7249 * gdb.base/style.c (some_called_function): New function.
7250 (main): Use it.
7251
0b27c27d
CB
72522019-08-05 Christian Biesinger <cbiesinger@google.com>
7253
7254 * gdb.python/py-block.exp: Test dictionary access on blocks.
7255
580f1034
SM
72562019-08-05 Simon Marchi <simon.marchi@efficios.com>
7257
7258 PR gdb/24863
7259 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7260 -list-thread-groups --available test when running under
7261 check-read1.
7262
d86bd7cb
TV
72632019-08-05 Tom de Vries <tdevries@suse.de>
7264
7265 PR testsuite/24863
7266 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7267 * gdb.base/help.exp: Use with_read1_timeout_factor.
7268 * gdb.base/info-macros.exp: Same.
7269 * gdb.cp/nested-types.exp: Same.
7270
a80cf5d8
TV
72712019-08-05 Tom de Vries <tdevries@suse.de>
7272
7273 * lib/gdb.exp (version_at_least): Factor out of ...
7274 (tcl_version_at_least): ... here.
7275 (gdb_compile): Fail if pie results in non-PIE executable.
7276 (readelf_version, readelf_prints_pie): New proc.
7277 (exec_is_pie): Return -1 if unknown.
7278
d0962838
TV
72792019-08-05 Tom de Vries <tdevries@suse.de>
7280
7281 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7282
2252ff3d
SL
72832019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7284
7285 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7286
26655f53
SL
72872019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7288
7289 * lib/completion-support.exp (test_gdb_complete_none): Skip
7290 tab completion tests if no readline support.
7291 (test_gdb_complete_unique_re): Likewise.
7292 (test_gdb_complete_multiple): Likewise.
7293
db4dc13e
PW
72942019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7295
7296 * gdb.base/info_sources.exp: New file.
7297 * gdb.base/info_sources.c: New file.
7298 * gdb.base/info_sources_base.c: New file.
7299
0eba165a
PFC
73002019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7301
7302 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7303 prefix argument.
7304 (test_exit_status): Add prefix argument.
7305
59bd512b
TV
73062019-08-01 Tom de Vries <tdevries@suse.de>
7307
7308 PR testsuite/24863
7309 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7310 calling exp_continue for new thread and thread exited messages.
7311
2a3ad588
TV
73122019-08-01 Tom de Vries <tdevries@suse.de>
7313
7314 PR testsuite/24863
7315 * gdb.base/structs.exp: Fix check-read1 timeout using
7316 gdb_test_sequence.
7317 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7318
117eb594
TV
73192019-08-01 Tom de Vries <tdevries@suse.de>
7320
7321 PR testsuite/24863
7322 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7323 line.
7324
ed591340
TV
73252019-08-01 Tom de Vries <tdevries@suse.de>
7326
7327 PR testsuite/24863
7328 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7329
aa3b6533
TT
73302019-07-30 Tom Tromey <tromey@adacore.com>
7331
7332 * gdb.ada/display_nested.exp: New file.
7333 * gdb.ada/display_nested/foo.adb: New file.
7334 * gdb.ada/display_nested/pack.adb: New file.
7335 * gdb.ada/display_nested/pack.ads: New file.
7336
2906593f
CB
73372019-07-30 Christian Biesinger <cbiesinger@google.com>
7338
7339 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7340 namespace.
7341 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7342
0f575925
TV
73432019-07-30 Tom de Vries <tdevries@suse.de>
7344
7345 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7346 instead.
7347
b13057d9
TV
73482019-07-30 Tom de Vries <tdevries@suse.de>
7349
7350 PR testsuite/24834
7351 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7352 (exec_is_pie): New proc.
7353
5c4dde85
CB
73542019-07-29 Christian Biesinger <cbiesinger@google.com>
7355
7356 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7357
c620ed88
CB
73582019-07-29 Christian Biesinger <cbiesinger@google.com>
7359
7360 * gdb.python/py-objfile.c: Add global and static vars.
7361 * gdb.python/py-objfile.exp: Test new functions Objfile.
7362 lookup_global_symbol and lookup_static_symbol.
7363
3d235706
TT
73642019-07-29 Tom Tromey <tom@tromey.com>
7365
7366 * lib/tuiterm.exp (Term::_csi_@): New proc.
7367 (Term::_csi_X): Don't move cursor.
7368
c7e4c0a6
PW
73692019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7370
7371 * gdb.base/options.exp: Update backtrace - completion to
7372 new option -frame-info.
7373 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7374 Test new 'set print frame-info'. Test backtrace -frame-info
7375 overriding 'set print frame-info'.
7376 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7377 Test new 'set print frame-info'.
7378 Verify consistency of backtrace with and without filters, with and
7379 without -no-filters.
7380 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7381 default.
7382
de28a3b7
TV
73832019-07-29 Tom de Vries <tdevries@suse.de>
7384
7385 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7386 no arguments".
7387
507dd60e
TV
73882019-07-29 Tom de Vries <tdevries@suse.de>
7389
7390 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7391 is a substring of the first for "complete non-unique file name".
7392
5beafce9
TV
73932019-07-29 Tom de Vries <tdevries@suse.de>
7394
7395 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7396 with ".*".
7397
2d274232
TV
73982019-07-29 Tom de Vries <tdevries@suse.de>
7399
7400 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7401 Pass prompt_regexp parameter to gdb_test_multiple calls.
7402
9197cd8b
TV
74032019-07-29 Tom de Vries <tdevries@suse.de>
7404
7405 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7406 print registers" regexps.
9197cd8b 7407
b528dae0
TV
74082019-07-29 Tom de Vries <tdevries@suse.de>
7409
7410 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7411
d17725d7
TV
74122019-07-29 Tom de Vries <tdevries@suse.de>
7413
7414 PR gdb/24855
7415 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7416 (skip_python_tests_prompt): Add prompt_regexp argument to
7417 gdb_test_multiple calls.
7418
52b75bf1
TT
74192019-07-27 Tom Tromey <tom@tromey.com>
7420
7421 * gdb.tui/main.exp: New file.
7422
2b1d00c2
TT
74232019-07-27 Tom Tromey <tom@tromey.com>
7424
7425 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7426 optional.
7427 * gdb.tui/empty.exp: New file.
7428
ded631d5
TT
74292019-07-27 Tom Tromey <tom@tromey.com>
7430
7431 * lib/tuiterm.exp (spawn): New proc.
7432 (Term::resize): New proc.
7433 * gdb.tui/resize.exp: New file.
7434
58ac439d
TT
74352019-07-27 Tom Tromey <tom@tromey.com>
7436
7437 * gdb.tui/list.exp: New file.
7438
fe1f56ee
TT
74392019-07-27 Tom Tromey <tom@tromey.com>
7440
7441 * gdb.tui/regs.exp: New file.
7442
f790b310
TT
74432019-07-27 Tom Tromey <tom@tromey.com>
7444
7445 * gdb.tui/basic.exp: Add "layout split" test.
7446
d95fc6ee
TT
74472019-07-27 Tom Tromey <tom@tromey.com>
7448
7449 * gdb.tui/basic.exp: Add "layout asm" test.
7450
c3786b3a
TT
74512019-07-27 Tom Tromey <tom@tromey.com>
7452
7453 * lib/tuiterm.exp: New file.
7454 * gdb.tui/basic.exp: New file.
7455
98a617f8
KB
74562019-07-27 Kevin Buettner <kevinb@redhat.com>
7457
7458 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7459 Enable tests associated with this flag. Adjust regex
7460 referencing "foo_low" to now refer to "foo_cold" instead.
7461
5c076da4
KB
74622019-07-27 Kevin Buettner <kevinb@redhat.com>
7463
7464 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7465 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7466 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7467 foo_cold. Revise comments to match.
7468 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7469 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7470 were wrapped into this proc; Call do_test in loop from outermost
7471 level.
7472 (foo_low): Rename all occurrences to "foo_cold".
7473 (backtrace from baz): New test.
7474 (x2/i foo_cold): New test.
7475 (info line *foo_cold): New test.
7476
1512d3b7
TV
74772019-07-26 Tom de Vries <tdevries@suse.de>
7478
7479 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7480
297989a1
TV
74812019-07-25 Tom de Vries <tdevries@suse.de>
7482
7483 PR testsuite/24830
7484 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7485 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7486 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7487 (skip_libstdcxx_probe_tests): ... here.
7488 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7489
b3b965fb
TV
74902019-07-24 Tom de Vries <tdevries@suse.de>
7491
7492 PR testsuite/24807
7493 * gdb.objc/basicclass.m: Include stdio.h.
7494 * gdb.objc/nondebug.m: Same.
7495 * gdb.objc/objcdecode.m: Same.
7496
4625b4d0
TV
74972019-07-24 Tom de Vries <tdevries@suse.de>
7498
7499 PR testsuite/24612
7500 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7501 additional_flags.
7502
024a5840
TV
75032019-07-24 Tom de Vries <tdevries@suse.de>
7504
7505 PR testsuite/24831
7506 * gdb.multi/tids.exp: Update error messages for info threads.
7507
c76ddaa3
TV
75082019-07-24 Tom de Vries <tdevries@suse.de>
7509
7510 * gdb.base/info-types.exp: Allow info types to print info for more than
7511 one file.
7512
9a618ef6
TV
75132019-07-23 Tom de Vries <tdevries@suse.de>
7514
7515 PR testsuite/24842
7516 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7517 gdb_spawn_with_cmdline_opts.
7518
40eadf04
SP
75192019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7520
7521 * gdb.arch/arm-cmse-sgstubs.c: New test.
7522 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7523
5ba29434
TV
75242019-07-23 Tom de Vries <tdevries@suse.de>
7525
7526 PR testsuite/24711
7527 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7528 issuing next command.
7529
a8e9d247
AB
75302019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7531
7532 * gdb.ada/info_auto_lang.exp: Update expected results.
7533 * gdb.base/info-types.c: Add additional types to check.
7534 * gdb.base/info-types.exp: Update expected results.
7535
eb86c5e2
AB
75362019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7537
7538 * gdb.base/info-types.c: New file.
7539 * gdb.base/info-types.exp: New file.
7540
01e175fe
AB
75412019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7542
7543 * gdb.arch/riscv-bp-infcall.c: New file.
7544 * gdb.arch/riscv-bp-infcall.exp: New file.
7545
6b78c3f8
AB
75462019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7547
7548 PR breakpoints/24541
7549 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7550
da738167
TV
75512019-07-14 Tom de Vries <tdevries@suse.de>
7552
7553 PR testsuite/24760
7554 * gdb.objc/basicclass.exp: Fix unterminated string.
7555
0d4e84ed
AB
75562019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7557 Andrew Burgess <andrew.burgess@embecosm.com>
7558
7559 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7560 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7561 negative bounds.
7562 * gdb.fortran/vla-value.exp: Print elements of an array with
7563 negative bounds.
7564 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7565 testing.
7566
021d8588
AB
75672019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7568
7569 * gdb.base/options.exp (expect_string): Dequote strings in
7570 results.
7571 (test-string): Test strings with different quoting and reindent.
7572
f06f1252
TT
75732019-07-10 Tom Tromey <tromey@adacore.com>
7574
7575 * gdb.ada/mi_ex_cond.exp: Update expected results.
7576 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7577 * gdb.ada/mi_catch_ex.exp: Update expected results.
7578 * gdb.ada/mi_catch_assert.exp: Update expected results.
7579 * gdb.ada/catch_ex.exp (catch_exception_info)
7580 (catch_exception_entry, catch_assert_entry)
7581 (catch_unhandled_entry): Update.
7582 * gdb.ada/catch_assert_if.exp: Update expected results.
7583
b863685d
RB
75842019-07-10 Richard Bunt <richard.bunt@arm.com>
7585 Stephen Roberts <stephen.roberts@arm.com>
7586
7587 * gdb.base/define.exp: Restore original prompt.
7588
cb1e4e32
PA
75892019-07-09 Pedro Alves <palves@redhat.com>
7590
7591 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7592 breakpoints" output.
7593 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7594 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7595 throw" creates breakpoint.
7596 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7597 'type="catchpoint"'.
7598
b58a68fe
PA
75992019-07-09 Pedro Alves <palves@redhat.com>
7600
7601 PR c++/15468
7602 * gdb.cp/except-multi-location-lib.cc: New.
7603 * gdb.cp/except-multi-location-main.cc: New.
7604 * gdb.cp/except-multi-location.exp: New.
7605
0826779b
PW
76062019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7607
7608 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7609 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7610 argument and update callers.
7611
5b0e2db4
AB
76122019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7613
7614 * gdb.arch/amd64-break-on-asm-line.S: New file.
7615 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7616
1f6f6e21
PW
76172019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7618
7619 * gdb.base/printcmds.exp: Test printing C string and
7620 C wide string convenience vars without transiting via the inferior.
7621 Also make test names unique.
7622
ea142fbf
AH
76232019-07-08 Alan Hayward <alan.hayward@arm.com>
7624
5862c886 7625 PR breakpoints/25011
ea142fbf
AH
7626 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7627
213fd9fa
PA
76282019-07-04 Pedro Alves <palves@redhat.com>
7629
7630 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7631 body returned ok(0), break(3) or continue(4).
7632 * gdb.testsuite/foreach_with_prefix.exp: New file.
7633
2b40fda7
AH
76342019-07-04 Alan Hayward <alan.hayward@arm.com>
7635
7636 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7637
a26c8de0
PA
76382019-07-03 Pedro Alves <palves@redhat.com>
7639
7640 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7641 "return -code".
7642
5f4ba3e7
PA
76432019-07-03 Pedro Alves <palves@redhat.com>
7644
7645 PR cli/24732
7646 * gdb.base/shell.exp: Load completion-support.exp.
7647 Adjust expected error output. Add completion tests.
7648
a994424f
PA
76492019-07-03 Pedro Alves <palves@redhat.com>
7650
7651 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7652 string_to_regexp.
7653
3d9be6f5
PA
76542019-07-03 Pedro Alves <palves@redhat.com>
7655
7656 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7657 (expect_integer): Adjust to expect "-string".
7658 (expect_string): New.
7659 (all_options): Expect "-string".
7660 (test-flag, test-boolean): Adjust to expect "-string".
7661 (test-string): New proc.
7662 (top level): Call it.
7663
41fc454c
PA
76642019-07-03 Pedro Alves <palves@redhat.com>
7665
7666 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7667 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7668 the expected output in the success.
7669
b2b2a215
PA
76702019-07-03 Pedro Alves <palves@redhat.com>
7671
7672 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7673 Split one gdb_test_multiple call in two to avoid a race.
7674
fdbc9870
PA
76752019-07-03 Pedro Alves <palves@redhat.com>
7676
7677 * gdb.base/with.c: New file.
7678 * gdb.base/with.exp: New file.
7679
c6ac8931
PA
76802019-07-03 Pedro Alves <palves@redhat.com>
7681
7682 * gdb.base/settings.exp: Replace all references to "maint
7683 test-settings set" with references to "maint set test-settings",
7684 and all references to "maint test-settings show" with references
7685 to "maint show test-settings".
7686
970f9d09
PA
76872019-07-03 Pedro Alves <palves@redhat.com>
7688
7689 * gdb.base/settings.exp (test-string): Adjust expected out when
7690 testing "maint test-settings show filename"
7691
54d66006
PA
76922019-07-02 Pedro Alves <palves@redhat.com>
7693
7694 * gdb.base/options.exp (test-info-threads): New procedure.
7695 (top level): Call it.
7696
10d06d82
TT
76972019-06-28 Tom Tromey <tromey@adacore.com>
7698
7699 * gdb.dwarf2/ada-linkage-name.c: New file.
7700 * gdb.dwarf2/ada-linkage-name.exp: New file.
7701
3d507ff2
TT
77022019-06-27 Tom Tromey <tromey@adacore.com>
7703
d039f014 7704 PR c++/20020:
3d507ff2
TT
7705 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7706
8af58ffe
TV
77072019-06-26 Tom de Vries <tdevries@suse.de>
7708
7709 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7710
22e21752
TV
77112019-06-26 Tom de Vries <tdevries@suse.de>
7712
7713 * gdb.base/index-cache.exp: Add back missing debug option.
7714
b65b566c
PW
77152019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7716
7717 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7718
5c2c8c69
TV
77192019-06-25 Tom de Vries <tdevries@suse.de>
7720
7721 PR testsuite/24727
7722 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7723
164e3873
TV
77242019-06-24 Tom de Vries <tdevries@suse.de>
7725
7726 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7727
824eacee
TV
77282019-06-24 Tom de Vries <tdevries@suse.de>
7729
7730 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7731 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7732 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7733
385b97d3
TV
77342019-06-24 Tom de Vries <tdevries@suse.de>
7735
7736 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7737
c596f180
TV
77382019-06-21 Tom de Vries <tdevries@suse.de>
7739
7740 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7741
b13a7d03
TV
77422019-06-21 Tom de Vries <tdevries@suse.de>
7743
7744 PR testsuite/24518
7745 PR ada/24713
7746 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7747 index.
7748
899277ae
TT
77492019-06-19 Tom Tromey <tromey@adacore.com>
7750
7751 * gdb.ada/length_cond.exp: Add intro comment.
7752
680e1bee
TT
77532019-06-19 Tom Tromey <tromey@adacore.com>
7754
7755 * gdb.ada/length_cond.exp: New file.
7756 * gdb.ada/length_cond/length_cond.adb: New file.
7757 * gdb.ada/length_cond/pck.adb: New file.
7758 * gdb.ada/length_cond/pck.ads: New file.
7759
0ed4690a
TV
77602019-06-18 Tom de Vries <tdevries@suse.de>
7761
7762 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7763
d20ed5fd
TT
77642019-06-18 Tom Tromey <tromey@adacore.com>
7765
7766 * gdb.base/list0.h: Add comment explaining control character.
7767
86e04673
TV
77682019-06-18 Tom de Vries <tdevries@suse.de>
7769
7770 * boards/fission.exp: Break up long debug_flags line.
7771
c4973306
SM
77722019-06-16 Tom de Vries <tdevries@suse.de>
7773
7774 PR gdb/24445
7775 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7776 generated index.
7777
93cb9841
AB
77782019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7779
7780 PR gdb/24686
7781 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7782 improve detection of bug gdb/24541.
7783
399aaebd
SM
77842019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7785
7786 PR gdb/24669
7787 * gdb.base/index-cache.exp (uses_readnow,
7788 expecting_index_cache_use): Define global variable.
7789 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7790 expecting_index_cache_use.
7791
584a927c
AB
77922019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7793 Andrew Burgess <andrew.burgess@embecosm.com>
7794
7795 * gdb.fortran/pointers.f90: New file.
7796 * gdb.fortran/print_type.exp: New file.
7797 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7798 * gdb.fortran/vla-type.exp: Likewise.
7799 * gdb.fortran/vla-value.exp: Likewise.
7800 * gdb.mi/mi-vla-fortran.exp: Likewise.
7801
30056ea0
AB
78022019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7803
7804 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7805 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7806 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7807 as a stop reason.
7808
ec8e2b6d
AB
78092019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7810
7811 * gdb.base/annota1.exp: Update expected results.
7812 * gdb.cp/annota2.exp: Likewise.
7813 * gdb.cp/annota3.exp: Likewise.
7814
09e4c4e1
AB
78152019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7816
7817 * gdb.base/style-logging.exp: Remove path from test name.
7818
0735b091
TT
78192019-06-14 Tom Tromey <tromey@adacore.com>
7820
7821 PR gdb/24502:
7822 * gdb.base/style-logging.exp: New file.
7823
f5686554
TT
78242019-06-14 Tom Tromey <tromey@adacore.com>
7825
7826 * gdb.base/symfile-warn.exp: New file.
7827 * gdb.base/symfile-warn.c: New file.
7828
a0c1ffed
TT
78292019-06-14 Tom Tromey <tromey@adacore.com>
7830
7831 * gdb.base/annotate-symlink.exp: New file.
7832
f411722c
TT
78332019-06-14 Tom Tromey <tromey@adacore.com>
7834
7835 * gdb.ada/set_wstr.exp: Add reassignment test.
7836
4268ec18
TT
78372019-06-14 Tom Tromey <tromey@adacore.com>
7838
7839 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7840 'unchecked_access and 'unrestricted_access as well.
7841
9a9e394b
TT
78422019-06-14 Tom Tromey <tromey@adacore.com>
7843
7844 PR ada/24539:
7845 * gdb.ada/vla.exp: Update tests.
7846 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7847 pragma.
7848
4c048731
PA
78492019-06-13 Pedro Alves <palves@redhat.com>
7850
7851 * gdb.base/settings.exp (test-integer): Test junk after
7852 "unlimited".
7853
6665660a
PA
78542019-06-13 Pedro Alves <palves@redhat.com>
7855
7856 * gdb.base/options.exp (test-thread-apply): New.
7857 (top level): Call it.
7858
5d707134
PA
78592019-06-13 Pedro Alves <palves@redhat.com>
7860
7861 * gdb.base/options.exp (test-frame-apply): New.
7862 (top level): Test print commands with different "frame apply"
7863 prefixes.
7864
e2a689da
PA
78652019-06-13 Pedro Alves <palves@redhat.com>
7866
e79be6e5 7867 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7868 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7869 'max_completions' parameter and handle it.
7870 (test_gdb_completion_offers_commands): New.
7871
90a1ef87
PA
78722019-06-13 Pedro Alves <palves@redhat.com>
7873
7874 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7875
d4c16835
PA
78762019-06-13 Pedro Alves <palves@redhat.com>
7877
7878 * gdb.base/options.exp (test-backtrace): New.
7879 (top level): Call it.
7880
2daf894e
PA
78812019-06-13 Pedro Alves <palves@redhat.com>
7882
7883 * gdb.guile/scm-frame-args.exp: Use "set print
7884 raw-frame-arguments" instead of "set print raw frame-arguments".
7885 * gdb.python/py-frame-args.exp: Likewise.
7886
e6ed716c
PA
78872019-06-13 Pedro Alves <palves@redhat.com>
7888
7889 * gdb.compile/compile.exp: Adjust expected output to option
7890 processing changes.
7891
7d8062de
PA
78922019-06-13 Pedro Alves <palves@redhat.com>
7893
7894 * gdb.base/options.exp: Build executable.
7895 (test-print): New procedure.
7896 (top level): Call it, once for "print" and another for "compile
7897 print".
7898
9d0faba9
PA
78992019-06-13 Pedro Alves <palves@redhat.com>
7900
7901 * gdb.base/options.c: New file.
7902 * gdb.base/options.exp: New file.
7903
dee7b4c8
PA
79042019-06-13 Pedro Alves <palves@redhat.com>
7905
7906 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7907 that "o" is ambiguous.
7908
dca0f6c0
PA
79092019-06-13 Pedro Alves <palves@redhat.com>
7910
7911 * gdb.base/settings.c: New file.
7912 * gdb.base/settings.exp: New file.
7913
ccf46844
PA
79142019-06-13 Pedro Alves <palves@redhat.com>
7915
7916 * gdb.base/completion.exp: Fix comment typo.
7917
b9a3f842
PA
79182019-06-13 Pedro Alves <palves@redhat.com>
7919
7920 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7921 foo --1" test.
7922
d106773e
PA
79232019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7924
7925 * gdb.fortran/block-data.f: New.
7926 * gdb.fortran/block-data.exp: New.
7927
fea82da0
TV
79282019-06-11 Tom de Vries <tdevries@suse.de>
7929
7930 PR testsuite/24521
7931 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7932 message.
7933
8c2e74f1
TV
79342019-06-11 Tom de Vries <tdevries@suse.de>
7935
7936 PR testsuite/24521
7937 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7938
b49851c8
TV
79392019-06-11 Tom de Vries <tdevries@suse.de>
7940
7941 * boards/readnow.exp: New file.
7942
a7067863
AB
79432019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7944
7945 * gdb.fortran/vla-sizeof.exp: Update expected results.
7946
1a3da2cd
AB
79472019-06-06 Amos Bird <amosbird@gmail.com>
7948
7949 * gdb.base/annota1.exp (thread_switch): Add test for
7950 thread-exited annotation.
7951
3847a7bf
TT
79522019-06-06 Tom Tromey <tromey@adacore.com>
7953
7954 * gdb.base/maint.exp: Expect command started/finished output.
7955
0088ba59
AB
79562019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7957
7958 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7959 comment.
7960 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7961
312617a3
AB
79622019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7963
7964 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7965 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7966 * gdb.arch/riscv-unwind-long-insn.c: New file.
7967 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7968
e1f2e1a2
CB
79692019-06-04 Christian Biesinger <cbiesinger@google.com>
7970
d3238f7d 7971 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7972
206584bd
PW
79732019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7974
7975 * lib/gdb.exp (help_list_trailer): New regexp variable
7976 factorizing the help trailer message.
7977 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7978 arg to allow to better factorize various tests.
7979 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7980 (test_prefix_command_help): Use help_list_trailer.
7981 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7982 * gdb.guile/scm-cmd.exp: Likewise.
7983 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7984 * gdb.base/help.exp: Use test_user_defined_class_help.
7985 * gdb.base/style.exp: Add tests for styling of help and apropos.
7986 * lib/gdb-utils.exp (style): Add title and highlight styles.
7987
708dc93e
PW
79882019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7989
7990 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7991 $_shell_exitsignal.
7992 * gdb.base/default.exp: Update for new convenience variables.
7993
f49055a5
TT
79942019-05-29 Tom Tromey <tromey@adacore.com>
7995
7996 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7997 to "break complete ada" test case's regexp.
7998
4330d61d
TT
79992019-05-29 Tom Tromey <tromey@adacore.com>
8000
8001 PR c++/20020:
8002 * gdb.cp/constexpr-field.exp: New file.
8003 * gdb.cp/constexpr-field.cc: New file.
8004
000439d5
TT
80052019-05-29 Tom Tromey <tromey@adacore.com>
8006
8007 * gdb.base/finish.exp (finish_no_print): New proc.
8008 (finish_tests): Call it.
8009
5a01c34c
TV
80102019-05-24 Tom de Vries <tdevries@suse.de>
8011
8012 * gdb.dwarf2/gdb-add-index.exp: New file.
8013
18125b16
TT
80142019-05-22 Tom Tromey <tromey@adacore.com>
8015
8016 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8017 * gdb.base/style.exp: Use "style".
8018 * lib/gdb-utils.exp (style): New proc.
8019
af1a8d03
TV
80202019-05-22 Tom de Vries <tdevries@suse.de>
8021
8022 * gdb.base/align.exp: Require c++11.
8023
e7fe496b
TV
80242019-05-22 Tom de Vries <tdevries@suse.de>
8025
8026 PR testsuite/24586
8027 * gdb.python/py-mi-var-info-path-expression.exp: Call
8028 mi_skip_python_tests to check if python is supported.
8029
8fca4da0
AH
80302019-05-22 Alan Hayward <alan.hayward@arm.com>
8031
8032 * gdb.arch/aarch64-pauth.c: New test.
8033 * gdb.arch/aarch64-pauth.exp: New file.
8034
b7060614
AH
80352019-05-22 Alan Hayward <alan.hayward@arm.com>
8036
8037 * README (Re-running Tests Outside The Testsuite): New section.
8038
669d0468
TV
80392019-05-21 Tom de Vries <tdevries@suse.de>
8040
8041 * gdb.arch/amd64-eval.exp: Require c++11.
8042 * gdb.base/max-depth.exp: Same.
8043 * gdb.compile/compile-cplus-array-decay.exp: Same.
8044 * gdb.cp/meth-typedefs.exp: Same.
8045 * gdb.cp/subtypes.exp: Same.
8046 * gdb.cp/temargs.exp: Same.
8047
ce3ebcaa
AH
80482019-05-21 Alan Hayward <alan.hayward@arm.com>
8049
8050 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8051
34d11c68
AB
80522019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8053
8054 PR gdb/18644
8055 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8056 * gdb.fortran/printing-types.exp: Add new test.
8057 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8058 testing.
8059 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8060 setup_kfail call.
8061
87781e84
AH
80622019-05-17 Alan Hayward <alan.hayward@arm.com>
8063
8064 * README (Running the Testsuite): Change example.
8065 (Testsuite Parameters): Remove TRANSCRIPT.
8066 * lib/gdb.exp: Remove TRANSCRIPT check.
8067
b420b89e
AH
80682019-05-17 Alan Hayward <alan.hayward@arm.com>
8069
8070 * README (Testsuite Parameters): Add replay logging to
8071 GDBSERVER_DEBUG.
8072 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8073 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8074 as a comma separated list.
8075 (gdb_debug_init): Override procedure.
8076
408e9b8b
AH
80772019-05-17 Alan Hayward <alan.hayward@arm.com>
8078
8079 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8080 (gdb_write_cmd_file): New procedure.
8081 * lib/gdbserver-support.exp (gdbserver_start): Call
8082 gdbserver_write_cmd_file.
8083 (gdbserver_write_cmd_file): New procedure.
8084
f9e2e39d
AH
80852019-05-17 Alan Hayward <alan.hayward@arm.com>
8086
8087 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8088 (delete_breakpoints): Likewise.
8089 (gdb_run_cmd): Likewise.
8090 (gdb_start_cmd): Likewise.
8091 (gdb_starti_cmd): Likewise.
8092 (gdb_internal_error_resync): Likewise.
8093 (gdb_test_multiple): Likewise.
8094 (gdb_reinitialize_dir): Likewise.
8095 (default_gdb_exit): Likewise.
8096 (gdb_file_cmd): Mark kill as optional.
8097 (default_gdb_start): Call gdb_stdin_log_init.
8098 (send_gdb): Call gdb_stdin_log_write.
8099 (rerun_to_main): Mark Y as an answer.
8100 (gdb_stdin_log_init): New function.
8101 (gdb_stdin_log_write): Likewise.
8102
81f47ac2
AH
81032019-05-17 Alan Hayward <alan.hayward@arm.com>
8104
8105 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8106 * gdb.base/debug-expr.exp: Likewise.
8107 * gdb.base/foll-fork.exp: Likewise.
8108 * gdb.base/foll-vfork.exp: Likewise.
8109 * gdb.base/fork-print-inferior-events.exp: Likewise.
8110 * gdb.base/gdb-sigterm.exp: Likewise.
8111 * gdb.base/gdbinit-history.exp: Likewise.
8112 * gdb.base/osabi.exp: Likewise.
8113 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8114 * gdb.base/ui-redirect.exp: Likewise.
8115 * gdb.gdb/unittest.exp: Likewise.
8116 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8117 * gdb.mi/mi-watch.exp: Likewise.
8118 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8119 * gdb.mi/user-selected-context-sync.exp: Likewise.
8120 * gdb.python/python.exp: Disable debug test when debugging.
8121 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8122 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8123 Likewise.
8124 * gdb.threads/stepi-random-signal.exp: Likewise.
8125
29b52314
AH
81262019-05-17 Alan Hayward <alan.hayward@arm.com>
8127
8128 * Makefile.in: Pass through GDB_DEBUG.
8129 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8130 (gdb,debug): Add board setting.
8131 * lib/gdb.exp (default_gdb_start): Start debugging.
8132 (gdb_debug_enabled): New procedure.
8133 (gdb_debug_init): Likewise.
29b52314
AH
8134
81352019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 8136
29b52314
AH
8137 * Makefile.in: Pass through GDB_DEBUG.
8138 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8139 (gdb,debug): Add board setting.
8140 * lib/gdb.exp (default_gdb_start): Start debugging.
8141 (gdb_debug_enabled): New procedure.
8142 (gdb_debug_init): Likewise.
29b52314 8143
ca1285d1
AH
81442019-05-17 Alan Hayward <alan.hayward@arm.com>
8145
8146 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8147
f3a09c80
AH
81482019-05-17 Alan Hayward <alan.hayward@arm.com>
8149
8150 * gdb.base/ui-redirect.exp: Test redirection.
8151
26648588
JV
81522019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8153
8154 * gdb.mi/mi-complete.exp: New file.
8155 * gdb.mi/mi-complete.cc: Likewise.
8156
14237686
AB
81572019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8158
8159 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8160 indexed and sliced arrays, and pointers to arrays.
8161
e7bd7fba
TT
81622019-05-14 Tom Tromey <tromey@adacore.com>
8163
8164 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8165 styling test.
8166
2764128d
TV
81672019-05-14 Tom de Vries <tdevries@suse.de>
8168
8169 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8170 selection entry encoding.
8171
71bed2db
TT
81722019-05-10 Tom Tromey <tromey@adacore.com>
8173
8174 * gdb.ada/info_exc.exp: Add "complete" test.
8175
63b667ad
TV
81762019-05-09 Tom de Vries <tdevries@suse.de>
8177
8178 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8179 CU-relative.
8180
9cfd2b89
TV
81812019-05-09 Tom de Vries <tdevries@suse.de>
8182
8183 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8184 CU-relative.
8185
2228ef77
XR
81862019-05-08 Joel Brobecker <brobecker@adacore.com>
8187
8188 * gdb.ada/frame_arg_lang.exp: New testcase.
8189 * gdb.ada/frame_arg_lang/bla.adb: New file.
8190 * gdb.ada/frame_arg_lang/pck.ads: New file.
8191 * gdb.ada/frame_arg_lang/pck.adb: New file.
8192 * gdb.ada/frame_arg_lang/foo.c: New file.
8193
80e55b13
TT
81942019-05-08 Tom Tromey <tromey@adacore.com>
8195
8196 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8197
9d3421af
TT
81982019-05-08 Tom Tromey <tromey@adacore.com>
8199
8200 * gdb.base/ptype-offsets.exp: Update tests.
8201
844333e2
TT
82022019-05-08 Tom Tromey <tromey@adacore.com>
8203
8204 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8205 cases.
8206 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8207 "short".
8208
988915ee
TT
82092019-05-08 Tom Tromey <tromey@adacore.com>
8210
8211 * gdb.ada/vla.exp: New file.
8212 * gdb.ada/vla/vla.adb: New file.
8213
7bd55dac
TV
82142019-05-07 Tom de Vries <tdevries@suse.de>
8215
8216 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8217
75f06e9d
TV
82182019-05-07 Tom de Vries <tdevries@suse.de>
8219
8220 PR testsuite/24522
8221 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8222 section.
8223
77e7aaa4
TV
82242019-05-07 Tom de Vries <tdevries@suse.de>
8225
8226 PR testsuite/24522
8227 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8228 .debug_aranges section.
8229
456ba0fa
TV
82302019-05-07 Tom de Vries <tdevries@suse.de>
8231
8232 PR testsuite/24159
8233 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8234
5a56d6a6
TV
82352019-05-06 Tom de Vries <tdevries@suse.de>
8236
8237 * lib/gdb.exp (exec_has_index_section): New proc.
8238 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8239 section.
8240
9d6d4be8
TV
82412019-05-04 Tom de Vries <tdevries@suse.de>
8242
8243 * boards/cc-with-debug-names.exp: New file.
8244
222a8d25
TT
82452019-05-03 Tom Tromey <tromey@adacore.com>
8246
8247 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8248 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8249 * gdb.ada/char_enum.exp: Add test.
8250
0fdfd794
TV
82512019-05-03 Tom de Vries <tdevries@suse.de>
8252
8253 * boards/cc-with-gdb-index.exp: New file.
8254
80062eb9
AB
82552019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8256
8257 * gdb.rust/simple.exp: Add new test case.
8258 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8259 (main): Initialise an instance of the new struct.
8260
4504bbde
TT
82612019-05-01 Tom Tromey <tromey@adacore.com>
8262
8263 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8264 record.
8265 (NPR): New variable.
8266 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8267 test.
8268
d48e62f4
TT
82692019-05-01 Tom Tromey <tromey@adacore.com>
8270
8271 * gdb.ada/packed_array_assign.exp: Add packed assignment
8272 regression test.
8273
f59f30f5
TV
82742019-05-01 Tom de Vries <tdevries@suse.de>
8275
8276 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8277
b70bfc54
TV
82782019-05-01 Tom de Vries <tdevries@suse.de>
8279
8280 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8281
15f18d14
AT
82822019-04-30 Ali Tamur <tamur@google.com>
8283
8284 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8285
2ff0a947
TT
82862019-04-30 Tom Tromey <tromey@adacore.com>
8287
8288 * lib/ada.exp (find_ada_tool): New proc.
8289 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8290 * gdb.ada/catch_ex_std.exp: New file.
8291 * gdb.ada/catch_ex_std/foo.adb: New file.
8292 * gdb.ada/catch_ex_std/some_package.adb: New file.
8293 * gdb.ada/catch_ex_std/some_package.ads: New file.
8294
a776957c
TT
82952019-04-30 Tom Tromey <tromey@adacore.com>
8296
8297 PR c++/24470:
8298 * gdb.cp/temargs.cc: Add test code from PR.
8299
bc68014d
AB
83002019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8301
8302 * gdb.fortran/vla-datatypes.exp: Update expected results.
8303 * gdb.fortran/vla-ptype.exp: Likewise.
8304 * gdb.fortran/vla-type.exp: Likewise.
8305 * gdb.fortran/vla-value.exp: Likewise.
8306
f1fdc960
AB
83072019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8308
8309 * gdb.fortran/ptr-indentation.exp: Update expected results.
8310 * gdb.fortran/ptype-on-functions.exp: Likewise.
8311 * gdb.fortran/vla-ptr-info.exp: Likewise.
8312 * gdb.fortran/vla-value.exp: Likewise.
8313
bf7a4de1
AB
83142019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8315
8316 * gdb.fortran/ptype-on-functions.exp: New file.
8317 * gdb.fortran/ptype-on-functions.f90: New file.
8318
bbe75b9d
AB
83192019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8320
8321 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8322 case void string.
8323
1db455a7
AB
83242019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8325
8326 * gdb.fortran/complex.exp: Expand.
8327 * gdb.fortran/complex.f: Renamed to...
8328 * gdb.fortran/complex.f90: ...this, and extended to add more
8329 complex values.
8330
b6d03bb2
AB
83312019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8332
8333 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8334 MODULO, CMPLX.
8335
2e62ab40
AB
83362019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8337 Richard Bunt <richard.bunt@arm.com>
8338
8339 * gdb.base/max-depth.c: New file.
8340 * gdb.base/max-depth.exp: New file.
8341 * gdb.python/py-nested-maps.c: New file.
8342 * gdb.python/py-nested-maps.exp: New file.
8343 * gdb.python/py-nested-maps.py: New file.
8344 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8345 (test_all_common): Call test_max_depth.
8346 * gdb.fortran/max-depth.exp: New file.
8347 * gdb.fortran/max-depth.f90: New file.
8348 * gdb.go/max-depth.exp: New file.
8349 * gdb.go/max-depth.go: New file.
8350 * gdb.modula2/max-depth.exp: New file.
8351 * gdb.modula2/max-depth.c: New file.
8352 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8353
d2b584a5
TV
83542019-04-29 Tom de Vries <tdevries@suse.de>
8355
8356 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8357
136afab8
PW
83582019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8359
8360 * gdb.base/callexit.exp: Test may-call-functions off.
8361
725cbb63
KS
83622019-04-25 Keith Seitz <keiths@redhat.com>
8363
8364 PR c++/24367
8365 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8366 (another_incomplete_struct, test_incomplete): New definitions.
8367 (main): Use new definitions.
8368 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8369 functions.
8370
701adfb0
PA
83712019-04-25 Ali Tamur <tamur@google.com>
8372
8373 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8374
82433e3e
SDJ
83752019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8376
8377 PR corefiles/11608
8378 PR corefiles/18187
8379 * gdb.base/coredump-filter-build-id.exp: New file.
8380
dd06d4d6
AH
83812019-04-25 Alan Hayward <alan.hayward@arm.com>
8382
e79be6e5
SM
8383 * Makefile.in: Pass through GDBSERVER_DEBUG.
8384 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8385 (gdbserver,debug): Add board setting.
8386 * gdb.trace/tspeed.exp: Skip when debugging.
8387 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8388 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8389
1670072e
TT
83902019-04-24 Tom Tromey <tromey@adacore.com>
8391
8392 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8393 Rust.
8394
a59240a4
TT
83952019-04-24 Tom Tromey <tromey@adacore.com>
8396
8397 * gdb.arch/amd64-eval.exp: Test bitfield return.
8398 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8399 (class Foo) <return_bitfields>: New method.
8400 (main): Call it.
8401
b907456c
AB
84022019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8403
8404 * gdb.cp/many-args.cc: New file.
8405 * gdb.cp/many-args.exp: New file.
8406
5c565afd
TV
84072019-04-23 Tom de Vries <tdevries@suse.de>
8408
8409 PR gdb/24433
8410 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8411
ba22ff86
AH
84122019-04-23 Alan Hayward <alan.hayward@arm.com>
8413
8414 * gdb.trace/backtrace.exp: Use nopie flag.
8415 * gdb.trace/circ.exp: Likewise.
8416 * gdb.trace/collection.exp: Likewise.
8417 * gdb.trace/ftrace.exp: Likewise.
8418 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8419 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8420 * gdb.trace/qtro.exp: Likewise.
8421 * gdb.trace/read-memory.exp: Likewise.
8422 * gdb.trace/report.exp: Likewise.
8423 * gdb.trace/tfile.exp: Likewise.
8424 * gdb.trace/tfind.exp: Likewise.
8425 * gdb.trace/unavailable.exp: Likewise.
8426
7905fc35
PA
84272019-04-22 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.base/solib-probes-nosharedlibrary.c,
8430 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8431
8ecb59f8
TT
84322019-04-19 Tom Tromey <tromey@adacore.com>
8433
8434 * gdb.ada/ptype_union.c: New file.
8435 * gdb.ada/ptype_union.exp: New file.
8436
62160ec9
TT
84372019-04-19 Tom Tromey <tromey@adacore.com>
8438
8439 PR symtab/24423:
8440 * gdb.base/list0.h (foo): Add a control-l character.
8441
36cd4ba5
TV
84422019-04-18 Tom de Vries <tdevries@suse.de>
8443
8444 PR gdb/24433
8445 * boards/local-board.exp: Set sysroot to "".
8446
b73715df
TV
84472019-04-18 Tom de Vries <tdevries@suse.de>
8448 Pedro Alves <palves@redhat.com>
8449
8450 PR gdb/24454
8451 * gdb.threads/vfork-follow-child-exec.c: New file.
8452 * gdb.threads/vfork-follow-child-exec.exp: New file.
8453 * gdb.threads/vfork-follow-child-exit.c: New file.
8454 * gdb.threads/vfork-follow-child-exit.exp: New file.
8455
4aa866af
LS
84562019-04-15 Leszek Swirski <leszeks@google.com>
8457
8458 * gdb.arch/amd64-eval.cc: New file.
8459 * gdb.arch/amd64-eval.exp: New file.
8460
e5a1a79a
AH
84612019-04-11 Alan Hayward <alan.hayward@arm.com>
8462
8463 * gdb.server/sysroot.c: New test.
8464 * gdb.server/sysroot.exp: New file.
8465 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8466 matching param.
8467
41077b66
AB
84682019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8469
8470 * gdb.base/align.exp: Extend test to cover structures containing
8471 only static fields.
8472
c30391f8
TV
84732019-04-11 Tom de Vries <tdevries@suse.de>
8474
8475 * boards/cc-with-dwz-m.exp: New file.
8476 * boards/cc-with-dwz.exp: New file.
8477 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8478
e242fd12
SM
84792019-04-09 Simon Marchi <simon.marchi@efficios.com>
8480
8481 * gdb.base/start-cpp.exp: New file.
8482 * gdb.base/start-cpp.cc: New file.
8483
2b0c8b01
KB
84842019-04-08 Kevin Buettner <kevinb@redhat.com>
8485
8486 * gdb.python/py-thrhandle.exp: Adjust tests to call
8487 thread_from_handle instead of thread_from_thread_handle.
8488
947210e5
KB
84892019-04-08 Kevin Buettner <kevinb@redhat.com>
8490
8491 * gdb.python/py-thrhandle.exp: Add tests for
8492 gdb.InferiorThread.handle.
8493
d7df6549
AB
84942019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8495
8496 * gdb.python/py-function.exp: Check calling helper function from
8497 all languages.
8498 * lib/gdb.exp (gdb_supported_languages): New proc.
8499
8bdc1658
AB
85002019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8501
8502 * gdb.base/complex-parts.c: New file.
8503 * gdb.base/complex-parts.exp: New file.
8504
05caa1d2
TT
85052019-04-01 Tom Tromey <tromey@adacore.com>
8506
8507 PR symtab/23331:
8508 * gdb.dwarf2/dw2-ranges-main.c: New file.
8509 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8510 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8511
7734102d
EZ
85122019-03-30 Simon Marchi <simark@simark.ca>
8513
8514 * gdb.base/default.exp: Add values for $_gdb_major and
8515 $_gdb_minor.
8516
188e1fa9
TT
85172019-03-29 Tom Tromey <tromey@adacore.com>
8518
8519 * gdb.base/help.exp: Tighten apropos regexp.
8520
2880242d
KS
85212019-03-29 Keith Seitz <keiths@redhat.com>
8522
8523 * gdb.fortran/array-bounds.exp: New file.
8524 * gdb.fortran/array-bounds.f90: New file.
8525
077cad8e
PW
85262019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8527
8528 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8529
80047cfc
PW
85302019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8531
8532 * gdb.multi/hello.c (main): Increase alarm timer.
8533
f489207e
SL
85342019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8535
8536 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8537 factor when no hardware watchpoint support.
8538
c92df149
AH
85392019-03-28 Alan Hayward <alan.hayward@arm.com>
8540 Pedro Alves <palves@redhat.com>
8541
8542 * boards/local-board.exp: set sysroot to /.
8543
933aebfa
AH
85442019-03-27 Alan Hayward <alan.hayward@arm.com>
8545
8546 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8547 in child.
8548
9f9aa852
AB
85492019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8550
8551 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8552 field.
8553 (make_container): Initialise new field.
8554 * gdb.python/py-prettyprint.exp: Add new tests.
8555 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8556 <display_hint>: New method.
8557
3714a195
AB
85582019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8559
8560 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8561 gdb_continue_to_breakpoint more throughout this test.
8562 (run_lang_tests) Supply unique test names, and use
8563 gdb_test_no_output.
8564
18c77628
AB
85652019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8566
8567 * gdb.base/finish-pretty.exp: Update expected results.
8568 * gdb.base/pretty-print.c: New file.
8569 * gdb.base/pretty-print.exp: New file.
8570
9a93502f
PA
85712019-03-25 Pedro Alves <palves@redhat.com>
8572
8573 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8574 move comments outside list. Append '-i "" eof' section.
8575
968aa7ae
AH
85762019-03-22 Alan Hayward <alan.hayward@arm.com>
8577
34a7f2a4 8578 PR testsuite/25016
968aa7ae
AH
8579 * README: Add pie options.
8580 * gdb.base/break-interp.exp: Ensure pie is disabled.
8581 * gdb.base/dump.exp: Likewise.
8582 * lib/gdb.exp (gdb_compile): Add pie option.
8583
4c7d57e7
TT
85842019-03-19 Tom Tromey <tromey@adacore.com>
8585
8586 * gdb.mi/mi2-cli-display.c: New file.
8587 * gdb.mi/mi2-cli-display.exp: New file.
8588
bff8c71f
TT
85892019-03-18 Joel Brobecker <brobecker@adacore.com>
8590 Tom Tromey <tromey@adacore.com>
8591
8592 * gdb.ada/ptype_array/pck.adb: New file.
8593 * gdb.ada/ptype_array/pck.ads: New file.
8594 * gdb.ada/ptype_array/foo.adb: New file.
8595 * gdb.ada/ptype_array.exp: New file.
8596
d085f989
TT
85972019-03-14 Tom Tromey <tromey@adacore.com>
8598
8599 * gdb.base/style.exp: Add "set style sources" test.
8600
b4be1b06
SM
86012019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8602
8603 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8604 * mi-breakpoint-multiple-locations.exp: ... this.
8605 (make_breakpoints_pattern): New proc.
8606 (do_test): Add mi_version parameter, test -break-insert,
8607 -break-info and =breakpoint-created.
8608
7cde5fc2
AB
86092019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8610
8611 * config/default.exp: Remove 'load_lib gdb.exp'.
8612 * config/monitor.exp: Likewise.
8613 * config/sid.exp: Likewise.
8614 * config/sim.exp: Likewise.
8615 * config/slite.exp: Likewise.
8616 * config/unix.exp: Likewise.
8617 * gdb.base/default.exp: Remove unhelpful comment.
8618
efbecbc1
AB
86192019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8620
8621 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8622
0841c79a
AB
86232019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8624
8625 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8626
4a270568
AB
86272019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8628
8629 * gdb.fortran/type-kinds.exp: Update expected results.
8630
067630bd
AB
86312019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8632
8633 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8634
3be47f7a
AB
86352019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8636
8637 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8638 function.
8639 (test_basic_parsing_of_type_kinds): Expand types tested.
8640 (test_parsing_invalid_type_kinds): New function.
8641
4d00f5d8
AB
86422019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8643
8644 * gdb.fortran/intrinsics.exp: New file.
8645 * gdb.fortran/intrinsics.f90: New file.
8646 * gdb.fortran/type-kinds.exp: New file.
8647
c8f91604
AB
86482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8649
8650 * gdb.fortran/dot-ops.exp: New file.
8651
dd9f2c76
AB
86522019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8653
8654 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8655 Check upper and lower case logical literals.
8656
84ec9724
AB
86572019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8658
8659 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8660 Remove duplicate tests.
8661
c3734e09
AH
86622019-03-06 Alan Hayward <alan.hayward@arm.com>
8663
8664 * lib/gdb.exp (builtin_cd): rename of cd.
8665 (cd): Override builtin.
8666
aa3cfbda
RB
86672019-03-06 Richard Bunt <richard.bunt@arm.com>
8668
8669 * gdb.fortran/function-calls.exp: New file.
8670 * gdb.fortran/function-calls.f90: New test.
8671
7b63ad86
RB
86722019-03-04 Richard Bunt <richard.bunt@arm.com>
8673
8674 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8675 on user program standard output.
8676 * gdb.fortran/short-circuit-argument-list.f90: Record function
8677 calls.
8678
01abb042
AH
86792019-02-28 Alan Hayward <alan.hayward@arm.com>
8680
c3734e09
AH
8681 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8682 failure.
01abb042 8683
92137da0
RO
86842019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8685
8686 PR gdb/8527
8687 * gdb.base/interrupt-daemon-attach.c,
8688 gdb.base/interrupt-daemon-attach.exp: New test.
8689
5862844d
PA
86902019-02-27 Pedro Alves <palves@redhat.com>
8691
8692 * gdb.base/page.exp: Add tests for "set width/height -1".
8693
8ed25214
PA
86942019-02-27 Pedro Alves <palves@redhat.com>
8695
8696 * gdb.base/page.exp: Add tests for "set/show width/height" with
8697 "infinite" values.
8698
6c28e44a
TT
86992019-02-27 Tom Tromey <tromey@adacore.com>
8700
8701 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8702 2.4.
8703 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8704 workaround.
8705
bf9a735e
AB
87062019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8707
8708 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8709 tests for structs with static members.
8710
8791793c
TT
87112019-02-26 Tom Tromey <tromey@adacore.com>
8712
8713 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8714 ValueError, not TypeError.
8715
bc2a507e
KB
87162019-02-26 Kevin Buettner <kevinb@redhat.com>
8717
8718 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8719 call from main program.
8720
e0e7d3bd
JB
87212019-02-23 Joel Brobecker <brobecker@adacore.com>
8722
8723 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8724 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8725 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8726 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8727 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8728
9600246d
KS
87292019-02-22 Keith Seitz <keiths@redhat.com>
8730
8731 PR symtab/23853
8732 * gdb.base/symlink-sourcefile.c: New file.
8733 * gdb.base/symlink-sourcefile.exp: New file.
8734
0c95f9ed
TT
87352019-02-20 Tom Tromey <tom@tromey.com>
8736
8737 * gdb.base/info_qt.exp: Update.
8738
6caa91b6
SM
87392019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8740
8741 * gdb.base/source.exp: Move "error in sourced script" code to
8742 the end.
8743 * gdb.base/source-error.gdb: Move contents to
8744 source-error-1.gdb. Add new code to source source-error-1.gdb.
8745 * gdb.base/source-error-1.gdb: New file, from previous
8746 source-error.gdb.
8747
6506371f
TT
87482019-02-17 Tom Tromey <tom@tromey.com>
8749
8750 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8751 for macro styling.
8752 * gdb.base/style.c (SOME_MACRO): New macro.
8753
a0087920
TT
87542019-02-17 Tom Tromey <tom@tromey.com>
8755
8756 * gdb.base/style.exp: Add line-wrapping tests.
8757 * gdb.base/page.exp: Add test for quitting during pagination.
8758
a2cd4f14
JB
87592019-02-17 Joel Brobecker <brobecker@adacore.com>
8760
8761 * gdb.ada/big_packed_array: New testcase.
8762 * gdb.ada/homonym.exp: Fix incorrect expected output for
8763 "break <homonym__get_value>" test.
8764
9d70ffbc
WP
87652019-02-13 Weimin Pan <weimin.pan@oracle.com>
8766
8767 PR breakpoints/21870
8768 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8769 and prepare_for_testing. Add comment.
8770 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8771 redundant cleanup call. Clean up comment.
8772
01c7ae81
WP
87732019-02-12 Weimin Pan <weimin.pan@oracle.com>
8774
8775 PR breakpoints/21870
8776 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8777 * gdb.arch/aarch64-dbreg-contents.c: New file.
8778
aff29d1c
JB
87792019-02-10 Joel Brobecker <brobecker@adacore.com>
8780
8781 * gdb.ada/mi_ref_changeable: New testcase.
8782
df0da8a2
AH
87832019-02-07 Alan Hayward <alan.hayward@arm.com>
8784
8785 * gdb.base/attach.exp: Add double attach test.
8786
bd447abb
SM
87872019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8788
8789 * lib/gdb.exp (default_gdb_start): Don't match pagination
8790 prompt.
8791 (gdb_init): Set stty_init.
8792
1dbc40b9
TT
87932019-01-27 Tom Tromey <tom@tromey.com>
8794
8795 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8796 skip_python_tests.
8797
353229bf
AH
87982019-01-24 Alan Hayward <alan.hayward@arm.com>
8799
8800 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8801 New structure.
8802 (struct struct_static_02_02): Likewise.
8803 (struct struct_static_02_03): Likewise.
8804 (struct struct_static_02_04): Likewise.
8805 (struct struct_static_04_01): Likewise.
8806 (struct struct_static_04_02): Likewise.
8807 (struct struct_static_04_03): Likewise.
8808 (struct struct_static_04_04): Likewise.
8809 (struct struct_static_06_01): Likewise.
8810 (struct struct_static_06_02): Likewise.
8811 (struct struct_static_06_03): Likewise.
8812 (struct struct_static_06_04): Likewise.
8813 (cmp_struct_static_02_01): Likewise.
8814 (cmp_struct_static_02_02): Likewise.
8815 (cmp_struct_static_02_03): Likewise.
8816 (cmp_struct_static_02_04): Likewise.
8817 (cmp_struct_static_04_01): Likewise.
8818 (cmp_struct_static_04_02): Likewise.
8819 (cmp_struct_static_04_03): Likewise.
8820 (cmp_struct_static_04_04): Likewise.
8821 (cmp_struct_static_06_01): Likewise.
8822 (cmp_struct_static_06_02): Likewise.
8823 (cmp_struct_static_06_03): Likewise.
8824 (cmp_struct_static_06_04): Likewise.
8825 (call_all): Test new structs.
8826 * gdb.base/infcall-nested-structs.exp: Likewise.
8827
73021deb
AH
88282019-01-21 Alan Hayward <alan.hayward@arm.com>
8829 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8830
fc65c7db
AH
88312019-01-21 Alan Hayward <alan.hayward@arm.com>
8832 * gdb.base/stack-protector.c: New test.
8833 * gdb.base/stack-protector.exp: New file.
8834 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8835 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8836 option.
8837 (gdb_compile): Remove stack protector for GCC and prevent
8838 recursion.
8839
c24bdb02
KS
88402019-01-16 Keith Seitz <keiths@redhat.com>
8841
8842 PR gdb/23773
8843 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8844
6f072a10
PFC
88452019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8846
8847 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8848 aliases.
8849 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8850 tests.
8851 * gdb.arch/powerpc-vector-regs.c: New file.
8852 * gdb.arch/powerpc-vector-regs.exp: New file.
8853
a7b8d682
PFC
88542019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8855
8856 * gdb.arch/altivec-regs.exp: Fix the list passed to
8857 gdb_expect_list when testing "info vector".
8858
6eb6fb67
AB
88592019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8860
8861 * gdb.base/style.exp: Don't include path in testname.
8862
b56f80d8
KS
88632019-01-10 Keith Seitz <keiths@redhat.com>
8864
8865 PR gdb/23712
8866 PR symtab/23010
8867 * gdb.dwarf2/multidictionary.exp: New file.
8868
041be526
SM
88692019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8870
8871 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8872 (test_gnuv3_style_demangling): ... this.
8873 (test_lucid_style_demangling): Remove.
8874 (test_arm_style_demangling): Remove.
8875 (test_hp_style_demangling): Remove.
8876 (do_tests): Remove calls to the above.
8877
d820d0c3
AB
88782019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8879
8880 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8881 case.
8882
f097f5ad
TT
88832019-01-06 Tom Tromey <tom@tromey.com>
8884
8885 PR gdb/28155:
8886 * gdb.dwarf2/typedef-void-finish.exp: New file.
8887
2cd8cc0b
TT
88882018-12-28 Tom Tromey <tom@tromey.com>
8889 Simon Marchi <simark@simark.ca>
8890
8891 * gdb.base/jit-exec.exp: New file.
8892 * gdb.base/jit-exec.c: New file.
8893 * gdb.base/jit-execd.c: New file.
8894
35fb8261
TT
88952018-12-28 Tom Tromey <tom@tromey.com>
8896
8897 * gdb.base/style.exp: Update test to check for address styling.
8898
47fd17cd
TT
88992018-12-28 Tom Tromey <tom@tromey.com>
8900
8901 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8902 message.
8903
d47032b7
TT
89042018-12-28 Tom Tromey <tom@tromey.com>
8905
8906 * gdb.base/style.exp: Add test for version number styling.
8907
af79b68d
TT
89082018-12-28 Tom Tromey <tom@tromey.com>
8909
8910 * gdb.base/style.exp: Add test for print_address_symbolic.
8911
0bb296cb
TT
89122018-12-28 Tom Tromey <tom@tromey.com>
8913
8914 * gdb.base/style.exp: Add test for breakpoint setting.
8915
80ae2043
TT
89162018-12-28 Tom Tromey <tom@tromey.com>
8917
8918 * gdb.base/style.exp: Add test for variable names.
8919
cbe56571
TT
89202018-12-28 Tom Tromey <tom@tromey.com>
8921
8922 * gdb.base/style.exp: New file.
8923 * gdb.base/style.c: New file.
8924
9162a27c
TT
89252018-12-28 Tom Tromey <tom@tromey.com>
8926
8927 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8928 "dumb".
8929 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8930 the TERM environment variable.
8931
bc543c90
TT
89322018-12-27 Tom Tromey <tom@tromey.com>
8933
8934 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8935 pagination test.
8936
6f0ffe50
AB
89372018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8938
8939 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8940 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8941
b5a1e557
PW
89422018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8943
8944 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8945 Filename a.adb changed to bp_fun_addr.adb.
8946 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8947
6e8b1ab2
JV
89482018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8949
8950 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8951 non-PIE executables.
8952 * README: Mention the gdb,nopie_flag board setting.
8953 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8954 non-PIE executable.
8955 * gdb.arch/amd64-entry-value.exp: Likewise.
8956 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8957 * gdb.arch/i386-float.exp: Likewise.
8958 * gdb.arch/i386-signal.exp: Likewise.
8959 * gdb.mi/mi-reg-undefined.exp: Likewise.
8960
d00a27c5
PM
89612018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8962
8963 PR gdb/23974
8964 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8965
161d081c
PW
89662018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8967
8968 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8969 Update order of results accordingly.
8970
b001de23
AB
89712018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8972
8973 * gdb.base/annota1.exp: Update a test regexp.
8974
99e1a184
AB
89752018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8976
8977 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8978
7a81c1e2
PW
89792018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8980
8981 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8982 (reuse_time): Initialize to REUSE_TIME_CAP.
8983 (check_rc): New function.
8984 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8985 Check pthread_create rc.
8986 (spawner_thread_func): Check pthread_create and pthread_join rc.
8987
73e8dc90
PA
89882018-12-08 Pedro Alves <palves@redhat.com>
8989
8990 * gdb.base/list.exp (test_forward_search): Rename to ...
8991 (test_forward_reverse_search): ... this. Also test reverse-search
8992 and the forward-search alias.
8993
13f2ed32
AB
89942018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8995
8996 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8997 local timeout variable before return, and remove all local timeout
8998 variable entirely.
8999 (gdb_load): Likewise.
9000
64d27cfc
TV
90012018-12-01 Tom de Vries <tdevries@suse.de>
9002
9003 * gdb.base/gdb-caching-proc.exp: New file.
9004
f63c03b4
SDJ
90052018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9006
9007 * Makefile.in (TIMESTAMP): New variable.
9008 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9009 command.
9010 (check-single-racy): Likewise.
9011 (check/%.exp): Likewise.
9012 (check-racy/%.exp): Likewise.
9013 (workers/%.worker): Likewise.
9014 (build-perf): Likewise.
9015 (check-perf): Likewise.
9016 * README: Describe new "TS" and "TS_FORMAT" variables.
9017 * print-ts.py: New file.
9018
1c97054b
BF
90192018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9020
9021 PR python/23714
9022 * gdb.python/python.exp: Test command repetition after
9023 gdb.execute.
9024
1871a62d
AB
90252018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9026
9027 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9028 is correctly aligned.
9029
fb5e1ed9
PW
90302018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9031
9032 * gdb.ada/info_auto_lang.exp: New testcase.
9033 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9034 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9035 * gdb.ada/info_auto_lang/some_c.c: New file.
9036
43d397ca
PW
90372018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9038
9039 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9040 FUNC_lang language syntax.
9041
beddd671
PW
90422018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9043
9044 * gdb.base/info_minsym.c: New file.
9045 * gdb.base/info_minsym.exp: New file.
9046
73fc52c4
TT
90472018-11-19 Tom Tromey <tom@tromey.com>
9048
9049 PR rust/23625:
9050 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9051 * gdb.rust/expr.exp: Update expected output. Change one test.
9052
994b876a
TT
90532018-11-19 Tom Tromey <tom@tromey.com>
9054
9055 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9056
6769f276
PA
90572018-11-19 Pedro Alves <palves@redhat.com>
9058
9059 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9060 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9061 see the expected warning.
9062
38a72da0
AH
90632018-11-16 Alan Hayward <alan.hayward@arm.com>
9064
9065 PR gdb/22736:
9066 * gdb.cp/infcall-nodebug-lib.c: New test.
9067 * gdb.cp/infcall-nodebug-main.c: New test.
9068 * gdb.cp/infcall-nodebug.exp: New file.
9069
53a89d6e
SM
90702018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9071
9072 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9073 completer tests.
9074
9325300d
TV
90752018-11-09 Tom de Vries <tdevries@suse.de>
9076
9077 * gdb.base/msym-lang.c: New test.
9078 * gdb.base/msym-lang.exp: New file.
9079 * gdb.base/msym-lang-main.c: New test.
9080
20f0d60d
TT
90812018-11-08 Tom Tromey <tom@tromey.com>
9082
9083 PR gdb/23555:
9084 PR gdb/23838:
9085 * gdb.base/warning.exp: New file.
9086
b5420128
JB
90872018-11-08 Jan Beulich <jbeulich@suse.com>
9088
9089 * testsuite/gdb.arch/i386-avx512.c,
9090 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9091
cd115d61
AB
90922018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9093
9094 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9095 point hardware.
9096
35ee2dc2
AB
90972018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9098
9099 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9100 * gdb.dwarf2/missing-type-name.exp: New file.
9101
31aceee8
TV
91022018-11-06 Tom de Vries <tdevries@suse.de>
9103
9104 * gdb.base/many-headers.c: New test.
9105 * gdb.base/many-headers.exp: New file.
9106
109be305
JW
91072018-11-06 Jim Wilson <jimw@sifive.com>
9108
9109 * gdb.base/code_elim.exp: For riscv, set additional_flags
9110 to include -msmall-data-limit=0.
9111
e2b7af72
JB
91122018-11-01 Joel Brobecker <brobecker@adacore.com>
9113
9114 * gdb.ada/watch_minus_l: New testcase.
9115
cdcda965
SM
91162018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9117
9118 * gdb.arch/aix-sighandle.c: New file.
9119 * gdb.arch/aix-sighandle.exp: New file.
9120
92dcebf3
AB
91212018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9122
9123 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9124 registers being unions.
9125
68b9ac18
TV
91262018-10-31 Tom de Vries <tdevries@suse.de>
9127
9128 * lib/valgrind.exp: New file.
9129 (vgdb_start, vgdb_stop): New procs, factored out of ...
9130 * gdb.base/valgrind-bt.exp: ... here, ...
9131 * gdb.base/valgrind-disp-step.exp: ... here and ...
9132 * gdb.base/valgrind-infcall.exp: ... here.
9133
1443936e
TV
91342018-10-31 Tom de Vries <tdevries@suse.de>
9135
9136 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9137
eb77c9df
AB
91382018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9139
9140 * gdb.dwarf2/void-type.c: New file.
9141 * gdb.dwarf2/void-type.exp: New file.
9142
82b5e646
PW
91432018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9144
9145 * gdb.base/info_qt.c: New file.
9146 * gdb.base/info_qt.exp: New file.
9147
8d619c01
EBM
91482018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9149
9150 * gdb.arch/powerpc-htm-regs.c: New file.
9151 * gdb.arch/powerpc-htm-regs.exp: New file.
9152
f2cf6173
EBM
91532018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9154
9155 * gdb.arch/powerpc-tar.c: New file.
9156 * gdb.arch/powerpc-tar.exp: New file.
9157
7ca18ed6
EBM
91582018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9159
9160 * gdb.arch/powerpc-ppr-dscr.c: New file.
9161 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9162
bfcc0eba
TV
91632018-10-25 Tom de Vries <tdevries@suse.de>
9164
9165 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9166
fe1a5cad
TV
91672018-10-24 Tom de Vries <tdevries@suse.de>
9168
9169 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9170 longer exists error.
9171
a76dc3b7
TV
91722018-10-24 Tom de Vries <tdevries@suse.de>
9173
9174 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9175
4df46df7
TV
91762018-10-24 Tom de Vries <tdevries@suse.de>
9177
9178 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9179 --db-attach in valgrind.
9180
0dbfcfff
AB
91812018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9182
9183 * gdb.arch/riscv-reg-aliases.c: New file.
9184 * gdb.arch/riscv-reg-aliases.exp: New file.
9185
b04480b1
AH
91862018-10-19 Alan Hayward <alan.hayward@arm.com>
9187
9188 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9189
2c6ac8d7
AH
91902018-10-19 Alan Hayward <alan.hayward@arm.com>
9191
9192 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9193
2bc69f25
AH
91942018-10-19 Alan Hayward <alan.hayward@arm.com>
9195
9196 * gdb.cp/ovldbreak.exp: Fix regexps.
9197
1f1ae3a3
AH
91982018-10-19 Alan Hayward <alan.hayward@arm.com>
9199
9200 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9201
94c18618
SDJ
92022018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9203
9204 PR cli/23785
9205 * gdb.base/restore.exp: New test to check if "restore" with an
9206 invalid file doesn't segfault.
9207
812cd6eb
TV
92082018-10-18 Tom de Vries <tdevries@suse.de>
9209
9210 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9211 * gdb.ada/excep_handle.exp: Same.
9212 * gdb.ada/mi_string_access.exp: Same.
9213 * gdb.ada/mi_var_union.exp: Same.
9214 * gdb.arch/arc-analyze-prologue.exp: Same.
9215 * gdb.arch/arc-decode-insn.exp: Same.
9216 * gdb.base/readnever.exp: Same.
9217 * gdb.fortran/printing-types.exp: Same.
9218 * gdb.guile/scm-lazy-string.exp: Same.
9219
c4b90788
TV
92202018-10-16 Tom de Vries <tdevries@suse.de>
9221
9222 PR gdb/23730
9223 * gdb.base/catch-follow-exec.c: Add copyright notice.
9224 * gdb.base/catch-follow-exec.exp: Rewrite to use
9225 gdb_spawn_with_cmdline_opts. Require gdb-native.
9226
8bca2978
SL
92272018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9228
9229 * gdb.trace/actions-changed.exp: Check for arch support.
9230 * gdb.trace/actions.exp: Likewise.
9231 * gdb.trace/ax.exp: Likewise.
9232 * gdb.trace/backtrace.exp: Likewise.
9233 * gdb.trace/change-loc.exp: Likewise.
9234 * gdb.trace/deltrace.exp: Likewise.
9235 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9236 * gdb.trace/ftrace.exp: Likewise.
9237 * gdb.trace/infotrace.exp: Check for arch support.
9238 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9239 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9240 * gdb.trace/mi-tsv-changed.exp: Likewise.
9241 * gdb.trace/packetlen.exp: Likewise.
9242 * gdb.trace/passc-dyn.exp: Likewise.
9243 * gdb.trace/passcount.exp: Likewise.
9244 * gdb.trace/pending.exp: Likewise.
9245 * gdb.trace/range-stepping.exp: Check for shlib support.
9246 * gdb.trace/report.exp: Check for arch support.
9247 * gdb.trace/save-trace.exp: Likewise.
9248 * gdb.trace/signal.exp: Check for signal support.
9249 * gdb.trace/tfind.exp: Check for arch support.
9250 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9251 * gdb.trace/trace-common.h: Add comment.
9252 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9253 * gdb.trace/trace-enable-disable.exp: Likewise.
9254 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9255 * gdb.trace/tracecmd.exp: Check for arch support.
9256 * gdb.trace/tspeed.exp: Check for shlib and target support.
9257 * gdb.trace/tstatus.exp: Check for arch support.
9258 * gdb.trace/tsv.exp: Likewise.
9259 * gdb.trace/while-dyn.exp: Likewise.
9260 * gdb.trace/while-stepping.exp: Likewise.
9261 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9262
f9c49bff
SM
92632018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9264
9265 * gdb.trace/tspeed.exp: Remove nowarnings.
9266 (prepare_for_trace_test): Declare "global ipalib".
9267 * gdb.trace/tspeed.c: Include unistd.h.
9268 (main): Remove superfluous printf argument.
9269
d4330bde
SL
92702018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9271
9272 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9273 directory prefix on the filename.
9274
8ecfd7bd
SDJ
92752018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9276
9277 * gdb.gdb/unittest.exp: Update expected message informing that
9278 selftests have been disabled.
9279 * gdb.server/unittest.exp: Likewise.
9280
58bbcd02
TV
92812018-10-09 Tom de Vries <tdevries@suse.de>
9282
9283 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9284 with runto_main.
9285
9f6b697b
WP
92862018-10-08 Weimin Pan <weimin.pan@oracle.com>
9287
9288 PR c++/16841
9289 * gdb.cp/virtbase2.cc: New file.
9290 * gdb.cp/virtbase2.exp: New file.
9291
add5ded5
TT
92922018-10-06 Tom Tromey <tom@tromey.com>
9293
9294 PR python/19399:
9295 * gdb.python/py-inferior.exp: Add architecture test.
9296
f9e48344
TT
92972018-10-06 Tom Tromey <tom@tromey.com>
9298
9299 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9300 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9301
2a8be203
TT
93022018-10-06 Tom Tromey <tom@tromey.com>
9303
9304 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9305 of a "throw" catchpoint.
9306
e04caa70
SDJ
93072018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9308
9309 * gdb.base/info-proc.exp: Update string expected from "help info
9310 proc".
9311
5ca8c39f
TT
93122018-10-04 Tom Tromey <tom@tromey.com>
9313
9314 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9315 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9316 (test_initial_complaints, test_empty_complaints): Update.
9317 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9318
3453e7e4
TT
93192018-10-04 Tom Tromey <tom@tromey.com>
9320
9321 PR cli/19551:
9322 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9323 * lib/gdb.exp (gdb_file_cmd): Update.
9324 * gdb.stabs/weird.exp (print_weird_var): Update.
9325 * gdb.server/solib-list.exp: Update.
9326 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9327 * gdb.mi/mi-cli.exp: Update.
9328 * gdb.linespec/linespec.exp: Update.
9329 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9330 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9331 * gdb.cp/cp-relocate.exp: Update.
9332 * gdb.base/sym-file.exp: Update.
9333 * gdb.base/relocate.exp: Update.
9334 * gdb.base/readnever.exp: Update.
9335 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9336 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9337 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9338 * gdb.base/code_elim.exp: Update.
9339 * gdb.base/break-unload-file.exp (test_break): Update.
9340 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9341 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9342 Update.
9343 * gdb.base/attach.exp (do_attach_tests): Update.
9344 * gdb.base/sepdebug.exp: Update.
9345 * gdb.python/py-section-script.exp: Update.
9346
6afcf761
TT
93472018-10-04 Tom Tromey <tom@tromey.com>
9348
9349 PR cli/22234:
9350 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9351 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9352 output.
9353
fef1b293
TT
93542018-10-04 Tom Tromey <tom@tromey.com>
9355
9356 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9357 set width and height to 0.
9358 (test_command_line_attach_run): Use -quiet.
9359
ca98345e
SL
93602018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9361
9362 * lib/gdb.exp (skip_ifunc_tests): New.
9363 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9364 other compile failures.
9365 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9366
ff34e6ae
SM
93672018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9368
9369 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9370 is_amd64_regs_target.
9371
6bb8890e
AH
93722018-10-01 Alan Hayward <alan.hayward@arm.com>
9373
9374 * gdb.arch/aarch64-sighandler-regs.c: New test.
9375 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9376 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9377
224d30d3
MM
93782018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9379
9380 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9381 assembly.
9382
f67ffa6a
AB
93832018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9384
9385 * gdb.base/frame-selection.exp: New file.
9386 * gdb.base/frame-selection.c: New file.
9387
9fc3183f
AH
93882018-09-27 Alan Hayward <alan.hayward@arm.com>
9389
9390 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9391 pthread barrier.
9392 (main): Likewise.
9393
d354055e
AB
93942018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9395
9396 * gdb.base/large-frame-1.c: New file.
9397 * gdb.base/large-frame-2.c: New file.
9398 * gdb.base/large-frame.exp: New file.
9399 * gdb.base/large-frame.h: New file.
9400
db727370
JL
94012018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9402
9403 PR gdb/20948
9404 * gdb.base/write_mem.exp: New test.
9405 * gdb.base/write_mem.c: Likewise.
9406
ae778caf
TT
94072018-09-23 Tom Tromey <tom@tromey.com>
9408
9409 PR python/18852:
9410 * gdb.python/py-parameter.exp: Add test for parameter that throws
9411 on "set".
9412
fd3ba736
TT
94132018-09-23 Tom Tromey <tom@tromey.com>
9414
9415 PR python/17284:
9416 * gdb.python/py-template.exp (test_template_arg): Add test for
9417 negative template argument number.
9418
39a24317
TT
94192018-09-23 Tom Tromey <tom@tromey.com>
9420
9421 PR python/14062:
9422 * gdb.python/python.exp: Add test for post_event error.
9423
f5769a2c
TT
94242018-09-23 Tom Tromey <tom@tromey.com>
9425
9426 PR python/18170:
9427 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9428 convert pointers to int and long.
9429
1c1e54f6
TT
94302018-09-23 Tom Tromey <tom@tromey.com>
9431
9432 PR python/20126:
9433 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9434 signed-ness conversion tests.
9435
fb4fa946
TT
94362018-09-23 Tom Tromey <tom@tromey.com>
9437
9438 PR python/18352;
9439 * gdb.python/py-value.exp (test_float_conversion): New proc.
9440 Use it.
9441
a466edac
HAQ
94422018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9443
9444 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9445
4ee9b0c5
SL
94462018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9447
9448 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9449 no readline.
9450 * gdb.base/utf8-identifiers.exp: Likewise.
9451 * gdb.cp/cpcompletion.exp: Likewise.
9452 * gdb.linespec/cpcompletion.exp: Likewise.
9453 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9454 * gdb.linespec/cpls-ops.exp: Likewise.
9455
23be8da7
RB
94562018-09-19 Richard Bunt <richard.bunt@arm.com>
9457 Chris January <chris.january@arm.com>
9458
9459 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9460 * gdb.fortran/short-circuit-argument-list.exp: New file.
9461 * gdb.fortran/short-circuit-argument-list.f90: New test.
9462
5031d0ae
SDJ
94632018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9464
9465 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9466 "arch=" keyword when executing "-stack-list-frames".
9467
b4c0d1a4
SDJ
94682018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9469
9470 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9471 "arch=" keyword when executing "-stack-list-frames".
9472
7a6d2b45
SDJ
94732018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9474
9475 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9476 break ada".
9477
8588b356
SM
94782018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9479
9480 PR python/23669
9481 * gdb.python/python.exp: Test gdb.execute("show commands").
9482
65e65158
TT
94832018-09-16 Tom Tromey <tom@tromey.com>
9484
9485 * gdb.base/new-ui.exp (do_execution_tests): Update.
9486 * gdb.base/dbx.exp (test_breakpoints): Update.
9487
bf326452
AH
94882018-09-14 Alan Hayward <alan.hayward@arm.com>
9489
9490 * lib/gdb.exp (gdb_simple_compile): Add proc.
9491 (is_elf_target): Use gdb_simple_compile.
9492 (skip_altivec_tests): Likewise.
9493 (skip_vsx_tests): Likewise.
9494 (skip_tsx_tests): Likewise.
9495 (skip_btrace_tests): Likewise.
9496 (skip_btrace_pt_tests): Likewise.
9497 (gdb_can_simple_compile): Likewise.
9498 (gdb_has_argv0): Likewise.
9499 (gdb_target_symbol_prefix): Likewise.
9500 (target_supports_scheduler_locking): Likewise.
9501
2361b0fb
TT
95022018-09-13 Tom Tromey <tom@tromey.com>
9503
9504 * Makefile.in (TAGS): Recognize proc_with_prefix and
9505 gdb_caching_proc.
9506
0ae1a321
SM
95072018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9508
9509 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9510 method.
9511
a40bf0c2
SM
95122018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9513
9514 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9515 and a few other Inferior properties when the Inferior is no
9516 longer valid.
9517
4a3fe98f
TT
95182018-09-13 Tom Tromey <tom@tromey.com>
9519
9520 PR rust/23650:
9521 * gdb.rust/simple.exp: Add test for enum field access error.
9522
098b2108
TT
95232018-09-13 Tom Tromey <tom@tromey.com>
9524
9525 PR rust/23626:
9526 * gdb.rust/simple.rs (EmptyEnum): New type.
9527 (main): Use it.
9528 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9529
1256af7d
SM
95302018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9531
9532 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9533 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9534 * gdb.python/py-symtab.exp: Update test printing an objfile.
9535
4aa8e6c2
SM
95362018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9537
9538 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9539 object.
9540
c221b2f7
AH
95412018-09-12 Alan Hayward <alan.hayward@arm.com>
9542
9543 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9544 (support_complex_tests): Use gdb_can_simple_compile.
9545 (is_ilp32_target): Likewise.
9546 (is_lp64_target): Likewise.
9547 (is_64_target): Likewise.
9548 (is_amd64_regs_target): Likewise.
9549 (is_aarch32_target): Likewise.
9550 (gdb_int128_helper): Likewise.
9551
6f1107b5
JK
95522018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9553
9554 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9555
1f5d1570
JG
95562018-09-10 Jerome Guitton <guitton@adacore.com>
9557
9558 * gdb.ada/same_component_name: Add test for case of tagged record
9559 with variable-length fields.
9560
cc330e39
XR
95612018-09-10 Xavier Roirand <roirand@adacore.com>
9562
9563 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9564 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9565 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9566 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9567
b9c50e9a
XR
95682018-09-10 Xavier Roirand <roirand@adacore.com>
9569
9570 * gdb.ada/mi_string_access.exp: New testcase.
9571 * gdb.ada/mi_string_access/bar.adb: New file.
9572 * gdb.ada/mi_string_access/pck.adb: New file.
9573 * gdb.ada/mi_string_access/pck.asd: New file.
9574
2963898f
XR
95752018-09-10 Xavier Roirand <roirand@adacore.com>
9576
9577 * gdb.ada/mi_var_union.exp: New testcase.
9578 * gdb.ada/mi_var_union/bar.adb: New file.
9579 * gdb.ada/mi_var_union/pck.adb: New file.
9580 * gdb.ada/mi_var_union/pck.asd: New file.
9581
1aac008f
TT
95822018-09-08 Tom Tromey <tom@tromey.com>
9583
9584 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9585
332cf4c9
TT
95862018-09-08 Tom Tromey <tom@tromey.com>
9587
9588 PR python/16047:
9589 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9590 (register_pretty_printers): Register new printer.
9591 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9592 test.
9593 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9594 (an_int_type3): New global.
9595
424da6cf
JB
95962018-09-08 Joel Brobecker <brobecker@adacore.com>
9597
9598 * gdb.ada/expr_with_funcall: New testcase.
9599
2a62dfa9
JB
96002018-09-08 Joel Brobecker <brobecker@adacore.com>
9601
9602 * gdb.ada/packed_array_assign: New testcase.
9603
96b6697f
AB
96042018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9605
9606 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9607 names, and add test prefixes to make test names unique.
9608
e4a62c65
TV
96092018-09-05 Tom de Vries <tdevries@suse.de>
9610
9611 * gdb.dwarf2/varval.exp: Add test.
9612
dd083ee2
GB
96132018-09-04 Gary Benson <gbenson@redhat.com>
9614
9615 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9616 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9617
aef9346c
TT
96182018-08-31 Tom Tromey <tom@tromey.com>
9619
9620 * gdb.rust/simple.rs: Rename second variable "v".
9621
c67f2e15
AB
96222018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9623
9624 * gdb.base/funcargs.c (use_a): New function.
9625 (recurse): Call use_a.
9626
078a0207
KS
96272018-08-29 Keith Seitz <keiths@redhat.com>
9628
9629 * gdb.compile/compile-cplus-anonymous.cc: New file.
9630 * gdb.compile/compile-cplus-anonymous.exp: New file.
9631 * gdb.compile/compile-cplus-array-decay.cc: New file.
9632 * gdb.compile/compile-cplus-array-decay.exp: New file.
9633 * gdb.compile/compile-cplus-inherit.cc: New file.
9634 * gdb.compile/compile-cplus-inherit.exp: New file.
9635 * gdb.compile/compile-cplus-member.cc: New file.
9636 * gdb.compile/compile-cplus-member.exp: New file.
9637 * gdb.compile/compile-cplus-method.cc: New file.
9638 * gdb.compile/compile-cplus-method.exp: New file.
9639 * gdb.compile/compile-cplus-mod.c: "New" file.
9640 * gdb.compile/compile-cplus-namespace.cc: New file.
9641 * gdb.compile/compile-cplus-namespace.exp: New file.
9642 * gdb.compile/compile-cplus-nested.cc: New file.
9643 * gdb.compile/compile-cplus-nested.exp: New file.
9644 * gdb.compile/compile-cplus-print.c: "New" file.
9645 * gdb.compile/compile-cplus-print.exp: "New" file.
9646 * gdb.compile/compile-cplus-virtual.cc: New file.
9647 * gdb.compile/compile-cplus-virtual.exp: New file.
9648 * gdb.compile/compile-cplus.c: "New" file.
9649 * gdb.compile/compile-cplus.exp: "New" file.
9650 * lib/compile-support.exp: New file.
9651
b0f492b9
GB
96522018-08-16 Gary Benson <gbenson@redhat.com>
9653
9654 PR gdb/13000:
9655 * gdb.base/batch-exit-status.exp: New file.
9656 * gdb.base/batch-exit-status.good-commands: Likewise.
9657 * gdb.base/batch-exit-status.bad-commands: Likewise.
9658
36eb4c5f
AH
96592018-08-29 Alan Hayward <alan.hayward@arm.com>
9660
9661 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9662 (struct struct02): Likewise.
9663 (struct struct03): Likewise.
9664 (struct struct04): Likewise.
9665 (struct struct_01_01): New struct.
9666 (struct struct_01_02): Likewise.
9667 (struct struct_01_03): Likewise.
9668 (struct struct_01_04): Likewise.
9669 (struct struct_02_01): Likewise.
9670 (struct struct_02_02): Likewise.
9671 (struct struct_02_03): Likewise.
9672 (struct struct_02_04): Likewise.
9673 (struct struct_04_01): Likewise.
9674 (struct struct_04_02): Likewise.
9675 (struct struct_04_03): Likewise.
9676 (struct struct_04_04): Likewise.
9677 (struct struct_05_01): Likewise.
9678 (struct struct_05_02): Likewise.
9679 (struct struct_05_03): Likewise.
9680 (struct struct_05_04): Likewise.
9681 (cmp_struct01): Remove function.
9682 (cmp_struct02): Likewise.
9683 (cmp_struct03): Likewise.
9684 (cmp_struct04): Likewise.
9685 (cmp_struct_01_01): Add Function.
9686 (cmp_struct_01_02): Likewise.
9687 (cmp_struct_01_03): Likewise.
9688 (cmp_struct_01_04): Likewise.
9689 (cmp_struct_02_01): Likewise.
9690 (cmp_struct_02_02): Likewise.
9691 (cmp_struct_02_03): Likewise.
9692 (cmp_struct_02_04): Likewise.
9693 (cmp_struct_04_01): Likewise.
9694 (cmp_struct_04_02): Likewise.
9695 (cmp_struct_04_03): Likewise.
9696 (cmp_struct_04_04): Likewise.
9697 (cmp_struct_05_01): Likewise.
9698 (cmp_struct_05_02): Likewise.
9699 (cmp_struct_05_03): Likewise.
9700 (cmp_struct_05_04): Likewise.
9701 (call_all): Add new structs.
9702 * gdb.base/infcall-nested-structs.exp: Likewise.
9703
3bf9c013
JV
97042018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9705
9706 * gdb.python/py-framefilter-mi.exp: Update regexp to
9707 check for "arch" field in frame output.
9708
450d1e88
KB
97092018-08-23 Kevin Buettner <kevinb@redhat.com>
9710
9711 * gdb.dwarf2/dw2-ranges-func.c: New file.
9712 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9713
ae739fe7
SM
97142018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9715
9716 * gdb.base/term.exp: Compare terminal settings with values from
9717 the inferior.
9718 * gdb.base/term.c: Get and set terminal settings.
9719
6d52907e
JV
97202018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9721
9722 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9723 accommodate new "arch" field in frame output.
9724 * gdb.mi/mi-return.exp: Likewise.
9725 * gdb.mi/mi-stack.exp: Likewise.
9726 * gdb.mi/mi-syn-frame.exp: Likewise.
9727 * gdb.mi/user-selected-context-sync.exp: Likewise.
9728
be2d111a
MS
97292018-08-19 Michael Spang <spang@google.com>
9730
9731 PR gdb/11786
9732 * gdb.base/gcore-tls-pie.c: New file.
9733 * gdb.base/gcore-tls-pie.exp: New file.
9734
ae3a7c47
KB
97352018-08-18 Kevin Buettner <kevinb@redhat.com>
9736
9737 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9738 * gdb.dwarf2/varval.c: New file.
9739 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9740
2ecae92e
AH
97412018-08-17 Alan Hayward <alan.hayward@arm.com>
9742
9743 PR gdb/18931
9744 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9745
c1854f1d
KS
97462018-08-16 Keith Seitz <keiths@redhat.com>
9747
9748 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9749 tests expected to pass.
9750
26fb3983
JV
97512018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9752
9753 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9754 -data-disassemble -a.
9755 (test_disassembly_bogus_args): Likewise.
9756
67943c00
AB
97572018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9758
9759 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9760
5ff2bbae
AB
97612018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9762
9763 * gdb.base/vla-optimized-out.exp: Add new test.
9764
e5bbcd0f
AB
97652018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9766
9767 * gdb.base/vla-optimized-out-o3.exp: Delete.
9768 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9769 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9770 deleted tests.
9771
9d4a934c
AB
97722018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9773
9774 PR gdb/18050:
9775 * gdb.server/extended-remote-restart.c: New file.
9776 * gdb.server/extended-remote-restart.exp: New file.
9777
045cf012
SM
97782018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9779
9780 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9781 "set variable index = 42".
9782
87d6a7aa
SM
97832018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9784
9785 * boards/index-cache-gdb.exp: New file.
9786 * gdb.dwarf2/index-cache.exp: New file.
9787 * gdb.dwarf2/index-cache.c: New file.
9788 * gdb.base/maint.exp: Check if we are using the index cache.
9789
96d68bd4
RO
97902018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9791
9792 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9793 MAKEFLAGS.
9794
5a699617
RO
97952018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9796
9797 * dg-extract-results.sh: Move to toplevel contrib.
9798 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9799 * Makefile.in (check-parallel-racy): Likewise.
9800
5bd18990
AB
98012018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9802
9803 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9804 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9805 tests if the target supports scheduler locking.
9806
3fbbcf47
TV
98072018-08-04 Tom de Vries <tdevries@suse.de>
9808
9809 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9810
3e1d3d8c
TT
98112018-08-02 Tom Tromey <tom@tromey.com>
9812
9813 PR symtab/16842.
9814 * gdb.cp/temargs.exp: Test "info address" of a template
9815 parameter.
9816
5abe0f0c
JV
98172018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9818
9819 * gdb.python/py-mi-var-info-path-expression.c: New file.
9820 * gdb.python/py-mi-var-info-path-expression.py: New file.
9821 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9822
fb66cde8
SDJ
98232018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9824
9825 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9826 error after "cannot resolve name" string.
9827
c708f4d2
AB
98282018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9829
9830 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9831 started.
9832 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9833
37cc0cae
TV
98342018-07-28 Tom de Vries <tdevries@suse.de>
9835
9836 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9837
63b4ecf7
TV
98382018-07-26 Tom de Vries <tdevries@suse.de>
9839
9840 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9841
3c3bb058
AB
98422018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9843
9844 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9845 is visible.
9846
9e7f3bbb
TV
98472018-07-26 Tom de Vries <tdevries@suse.de>
9848
9849 PR breakpoints/23366
9850 * gdb.base/catch-follow-exec.c: New test.
9851 * gdb.base/catch-follow-exec.exp: New file.
9852
16f808ec
TV
98532018-07-25 Tom de Vries <tdevries@suse.de>
9854
9855 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9856 vla-optimized-out.c.
9857
d7154a8d
JV
98582018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9859
9860 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9861 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9862
232a0032
TV
98632018-07-20 Tom de Vries <tdevries@suse.de>
9864
9865 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9866 NOCLONE macro.
9867 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9868
fbb1d502
TV
98692018-07-19 Tom de Vries <tdevries@suse.de>
9870
9871 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9872 regular expression.
9873
42dc7699
TV
98742018-07-18 Tom de Vries <tdevries@suse.de>
9875
9876 * gdb.base/vla-optimized-out.c: New test.
9877 * gdb.base/vla-optimized-out.exp: New file.
9878
7f1f7e23
SDJ
98792018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9880
9881 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9882 message "No address associated with hostname" when gdbserver
9883 cannot resolve the hostname.
9884
5759ebb3
PW
98852018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9886
9887 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9888 Add some test prefixes to make tests unique.
9889
3606ccab
PW
98902018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9891
9892 * gdb.base/frameapply.c: New file.
9893 * gdb.base/frameapply.exp: New file.
9894
529c08b2
PW
98952018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9896
9897 * gdb.base/skip.exp: Update expected error message.
9898
c7ab0aef
SDJ
98992018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9900 Jan Kratochvil <jan.kratochvil@redhat.com>
9901 Paul Fertser <fercerpav@gmail.com>
9902 Tsutomu Seki <sekiriki@gmail.com>
9903
9904 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9905 parameter.
9906 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9907 by default.
9908 * boards/native-gdbserver.exp: Likewise.
9909 * gdb.server/run-without-local-binary.exp: Improve regexp used
9910 for detecting when a remote debugging connection succeeds.
9911 * gdb.server/server-connect.exp: New file.
9912 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9913 Do not prefix the port number with ":".
9914 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9915 support for detecting and using it. Add '$debughost_gdbserver'
9916 to the list of arguments used to start gdbserver. Handle case
9917 when gdbserver cannot resolve a network name.
9918
16ff70dd
SDJ
99192018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9920
9921 PR c++/23373
9922 * gdb.base/ptype-offsets.cc (struct static_member): New
9923 struct.
9924 (main) <stmember>: New variable.
9925 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9926 with a static member in it.
9927
3541979f
AB
99282018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9929
9930 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9931 watchpoints enabled and disabled.
9932
c8ad9b9a
AB
99332018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9934
9935 * gdb.base/examine-backward.exp: Still run tests around address
9936 0x0, even if address 0x0 is not readable. Update the pattern for
9937 matching address 0x0 in expected output.
9938
e0e5e971
AB
99392018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9940
9941 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9942 malloc/free.
9943
1ea5da02
TV
99442018-07-04 Tom de Vries <tdevries@suse.de>
9945
9946 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9947
471b9d15
MR
99482018-07-02 Maciej W. Rozycki <macro@mips.com>
9949
9950 PR tdep/8282
9951 * gdb.arch/mips-disassembler-options.exp: New test.
9952 * gdb.arch/mips-disassembler-options.s: New test source.
9953
75acb486
PA
99542018-06-29 Pedro Alves <palves@redhat.com>
9955
9956 * gdb.threads/names.exp: Adjust expected "info threads" output.
9957
cd2bb709
PA
99582018-06-29 Pedro Alves <palves@redhat.com>
9959
9960 * gdb.opt/inline-break.exp (line number, address): Add "info
9961 break" tests.
9962
991ff292
PA
99632018-06-29 Pedro Alves <palves@redhat.com>
9964
9965 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9966 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9967 number and address and running to them.
9968
356819b6 99692018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9970
9971 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9972
2512d7ef
JK
99732018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9974
9975 * lib/compiler.c: Remove executable permission flag.
9976
be1b6474
RB
99772018-06-28 Richard Bunt <richard.bunt@arm.com>
9978
9979 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9980 code.
9981 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9982
291f9a96
PT
99832018-06-28 Petr Tesarik <ptesarik@suse.cz>
9984
9985 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9986
ed6dfe51
PT
99872018-06-28 Petr Tesarik <ptesarik@suse.cz>
9988
9989 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9990 address argument is omitted.
9991
d4d429d5
PT
99922018-06-28 Petr Tesarik <ptesarik@suse.cz>
9993
9994 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9995
7ab6656f
OJ
99962018-06-27 Omair Javaid <omair.javaid@linaro.org>
9997
9998 PR gdb/21695
9999 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10000 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10001
a33ccfc7
TT
100022018-06-26 Tom Tromey <tom@tromey.com>
10003
10004 PR rust/22574:
10005 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10006 * gdb.rust/simple.rs (struct SimpleLayout): New.
10007
6d72d289
SM
100082018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10009
10010 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10011 "info registers" output.
10012
8363f9d5
RB
100132018-06-21 Richard Bunt <richard.bunt@arm.com>
10014
10015 * gdb.base/watchpoint-hw-attach.c: New test.
10016 * gdb.base/watchpoint-hw-attach.exp: New file.
10017
f00674fe
SM
100182018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10019
10020 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10021 through /bin/sh.
10022 * boards/dwarf4-gdb-index.exp: Likewise.
10023 * boards/fission-dwp.exp: Likewise.
10024
1d554008
UW
100252018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10026
10027 * gdb.base/float128.exp: Add comment and improved fail message
10028 to the failure case of "print large128" test.
10029
d0ac1c44
SM
100302018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10031
10032 * configure.ac: Remove AC_PREREQ.
10033 * configure: Re-generate.
10034
61b04dd0
PA
100352018-06-19 Pedro Alves <palves@redhat.com>
10036
10037 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10038 (func_extern_caller): New.
10039 (main): Call func_extern_caller.
10040 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10041 logic change.
10042
f63b508a
SM
100432018-06-18 Weimin Pan <weimin.pan@oracle.com>
10044
10045 PR gdb/16841
10046 * gdb.cp/typedef-base.cc: New file.
10047 * gdb.cp/typedef-base.exp: New file.
10048
0fe3a558
TV
100492018-06-18 Tom de Vries <tdevries@suse.de>
10050
10051 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10052
7010835a
AB
100532018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10054 Richard Bunt <Richard.Bunt@arm.com>
10055
10056 * gdb.threads/attach-slow-waitpid.c: New file.
10057 * gdb.threads/attach-slow-waitpid.exp: New file.
10058 * gdb.threads/slow-waitpid.c: New file.
10059
14897d65
PA
100602018-06-14 Pedro Alves <palves@redhat.com>
10061
10062 * gdb.base/fork-running-state.c: Include <errno.h>.
10063 (exit_if_relative_exits): New.
10064 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10065 exits.
10066 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10067 child exits.
10068
5d9a0608
TV
100692018-06-14 Tom de Vries <tdevries@suse.de>
10070
10071 PR cli/22573
10072 * gdb.base/finish-pretty.c: New test.
10073 * gdb.base/finish-pretty.exp: New file.
10074
11ae5818
PA
100752018-06-14 Pedro Alves <palves@redhat.com>
10076
10077 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10078 gdb's expected startup output.
10079
1d39de44
PA
100802018-06-14 Pedro Alves <palves@redhat.com>
10081
10082 * lib/selftest-support.exp (selftest_setup): Remove inlined
10083 function handling.
10084
70ee0000
TV
100852018-06-14 Tom de Vries <tdevries@suse.de>
10086
10087 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10088 matching of breakpoint printing.
10089
11f4b608
TV
100902018-06-13 Tom de Vries <tdevries@suse.de>
10091
10092 PR testsuite/23269
10093 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10094 (fork_child): ... here, and ...
10095 (fork_parent): ... here.
10096
100972018-06-12 Tom de Vries <tdevries@suse.de>
10098
10099 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10100
9516f85a
AB
101012018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10102 Stephen Roberts <stephen.roberts@arm.com>
10103
10104 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10105 rewrite test to describe action performed, rather than possible
10106 failure.
10107
5045b3d7
GB
101082018-06-08 Gary Benson <gbenson@redhat.com>
10109
10110 * gdb.threads/check-libthread-db.exp: New file.
10111 * gdb.threads/check-libthread-db.c: Likewise.
10112
c61b06a1
TT
101132018-06-05 Tom Tromey <tom@tromey.com>
10114
10115 * gdb.base/default.exp: Update expected "show version" output.
10116
eb6af809
TT
101172018-06-05 Tom Tromey <tom@tromey.com>
10118
10119 PR cli/12326:
10120 * gdb.cp/static-print-quit.exp: Update.
10121 * lib/gdb.exp (pagination_prompt): Update.
10122 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10123 * gdb.python/python.exp: Update.
10124
178d6a63
JB
101252018-06-04 Joel Brobecker <brobecker@adacore.com>
10126
10127 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10128
8e817061
JB
101292018-06-01 Joel Brobecker <brobecker@adacore.com>
10130
10131 * gdb.ada/bp_fun_addr: New testcase.
10132
e86ca25f
TT
101332018-06-01 Tom Tromey <tom@tromey.com>
10134
10135 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10136 results.
10137 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10138 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10139 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10140 * gdb.base/maint.exp (maint_pass_if): Update.
10141
4b2dfa9d
MR
101422018-05-31 Maciej W. Rozycki <macro@mips.com>
10143
10144 * gdb.base/endian.exp: New test.
10145 * gdb.base/endian.c: New test source.
10146
45f25d6c
AB
101472018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10148
10149 PR gdb/23203
10150 * gdb.base/bt-selected-frame.c: New file.
10151 * gdb.base/bt-selected-frame.exp: New file.
10152 * lib/gdb.exp (get_current_frame_number): New function.
10153
d9f6d7f8
MR
101542018-05-24 Maciej W. Rozycki <macro@mips.com>
10155 Pedro Alves <palves@redhat.com>
10156
10157 * gdb.threads/tls-core.c: Include <stdlib.h>
10158 (thread_proc): Call `abort'.
10159 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10160 (tls_core_test): New procedure, bits factored out from ...
10161 (top level): ... here. Test both native cores and gcore cores.
10162
ff1cf532
TT
101632018-05-23 Tom Tromey <tom@tromey.com>
10164
10165 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10166
b98664d3
TT
101672018-05-23 Tom Tromey <tom@tromey.com>
10168
10169 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10170 symfile_complaints.
10171 (test_short_complaints): Likewise.
10172 (test_empty_complaints): Likewise.
10173 (test_initial_complaints): Update.
10174
4e9668d0
TT
101752018-05-23 Tom Tromey <tom@tromey.com>
10176
10177 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10178
43ba33c7
TT
101792018-05-23 Tom Tromey <tom@tromey.com>
10180
10181 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10182 (test_short_complaints): Update.
10183
035522c0
PA
101842018-05-22 Pedro Alves <palves@redhat.com>
10185
10186 * gdb.base/remote.exp: Only gdb_start after compiling the
10187 testcase. Issue "disconnect" before testing "set remote" command
10188 defaults. Issue clean_restart before running to main.
10189
cc0be08f
PA
101902018-05-22 Pedro Alves <palves@redhat.com>
10191
10192 * gdb.base/remote.exp: Adjust expected output of "show remote
10193 memory-write-packet-size". Add tests for "set remote
10194 memory-write-packet-size 0" and "set remote
10195 memory-write-packet-size fixed/limit".
10196
b1b60145
PA
101972018-05-22 Pedro Alves <palves@redhat.com>
10198
10199 PR gdb/22973
10200 * gdb.base/utf8-identifiers.c: New file.
10201 * gdb.base/utf8-identifiers.exp: New file.
10202
0ec848ad
PFC
102032018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10204
10205 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10206
2c3305f6
PFC
102072018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10208
10209 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10210
ce1e8424
TT
102112018-05-18 Tom Tromey <tom@tromey.com>
10212
10213 * gdb.base/ptype-offsets.exp: Update.
10214
ddfe970e
KS
102152018-05-17 Keith Seitz <keiths@redhat.com>
10216
10217 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10218 in expected breakpoint stop locations.
10219 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10220 move to proper scope to test variable values.
10221 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10222 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10223 New functions.
10224 (main): Call not_inline_func3.
10225 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10226 inline_func1, inline_func2, and inline_func3. Test that when each
10227 breakpoint is hit, GDB properly reports both the stop location
10228 and the backtrace. Repeat tests for temporary breakpoints.
10229
0726fcc6
MR
102302018-05-15 Maciej W. Rozycki <macro@mips.com>
10231
10232 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10233 rather then trying to access it in determining whether the PID
10234 of `gdbserver' could have been retrieved.
10235
8ee22052
AB
102362018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10237
10238 * gdb.arch/amd64-init-x87-values.S: New file.
10239 * gdb.arch/amd64-init-x87-values.exp: New file.
10240
7785df48
JK
102412018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10242
10243 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10244
56bcdbea
TT
102452018-05-04 Tom Tromey <tom@tromey.com>
10246
10247 PR python/22730:
10248 * gdb.python/python.exp: Test multi-line execute.
10249
a913fffb
TT
102502018-05-04 Tom Tromey <tom@tromey.com>
10251
10252 PR python/22731:
10253 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10254
7a2c85f2
TT
102552018-05-04 Tom Tromey <tom@tromey.com>
10256
10257 PR gdb/11750:
10258 * gdb.base/define.exp: Test defining a user command inside a user
10259 command.
10260 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10261
a3b60e45
JK
102622018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10263 Pedro Alves <palves@redhat.com>
10264
10265 PR breakpoints/19806 and support for PR external/20207.
10266 * gdb.base/watchpoint-unaligned.c: New file.
10267 * gdb.base/watchpoint-unaligned.exp: New file.
10268
45fe4a03
AB
102692018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10270
10271 * gdb.base/maint.exp: Make test names unique, use
10272 test_prefix_command_help to test 'help maint info', and remove
10273 repeated test of 'help maint'.
10274
9be2ae8f
TT
102752018-05-04 Tom Tromey <tom@tromey.com>
10276
10277 PR gdb/22619:
10278 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10279 behavior.
10280
11859c31
AB
102812018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10282
10283 * gdb.base/maint.exp: Process output from 'maint print registers'
10284 line at a time.
10285
089a9490
AB
102862018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10287
10288 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10289 timeout.
10290
9b0797e2
AB
102912018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10292
10293 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10294 filter pattern.
10295
f6ac5f3d
PA
102962018-05-02 Pedro Alves <palves@redhat.com>
10297
10298 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10299 to_log_command renames.
10300 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10301
77d3c63b
TT
103022018-05-02 Tom Tromey <tom@tromey.com>
10303
10304 * gdb.python/py-parameter.exp: Set test message.
10305
0489430a
TT
103062018-05-02 Tom Tromey <tom@tromey.com>
10307
10308 PR python/20084:
10309 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10310 PARAM_ZUINTEGER_UNLIMITED tests.
10311
1632f8ba
DR
103122018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10313
10314 PR rust/23124
10315 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10316 when casting.
10317
6d7bb824
TT
103182018-04-30 Tom Tromey <tom@tromey.com>
10319
10320 * gdb.python/py-type.exp: Check align attribute.
10321 * gdb.python/py-type.c: New "aligncheck" global.
10322
007e1530
TT
103232018-04-30 Tom Tromey <tom@tromey.com>
10324
10325 PR exp/17095:
10326 * gdb.dwarf2/dw2-align.exp: New file.
10327 * gdb.cp/align.exp: New file.
10328 * gdb.base/align.exp: New file.
10329 * lib/gdb.exp (gdb_int128_helper): New proc.
10330 (has_int128_c, has_int128_cxx): New caching procs.
10331
6873858b
TT
103322018-04-27 Tom Tromey <tom@tromey.com>
10333
10334 PR rust/22545:
10335 * gdb.rust/simple.exp: Add inclusive range tests.
10336
79188d8d
PA
103372018-04-26 Pedro Alves <palves@redhat.com>
10338
10339 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10340 ifunc breakpoint locations correctly of ifunc breakpoints set
10341 while the program resolves the ifunc.
10342
c7075ad5
PA
103432018-04-26 Pedro Alves <palves@redhat.com>
10344
10345 * gdb.base/gnu-ifunc-final.c: New file.
10346 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10347 * gdb.base/gnu-ifunc.exp (executable): Delete.
10348 (staticexecutable): Adjust.
10349 (lib_opts, exec_opts): Delete.
10350 (make_binsuffix, build, set-break): New procedures.
10351 (misc_tests): New, with tests factored out from the top level.
10352 (top level): Test different combinations of ifunc resolver name,
10353 resolver with and with debug info, and ifunc target with and
10354 without debug info. Wrap static tests with with_target_prefix.
10355
8388016d
PA
103562018-04-26 Pedro Alves <palves@redhat.com>
10357
10358 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10359 return type" warnings.
10360
249b5733
PA
103612018-04-25 Pedro Alves <palves@redhat.com>
10362
10363 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10364 killed".
10365 * gdb.base/kill-after-signal.exp: Likewise.
10366 * gdb.threads/kill.exp: Likewise.
10367
f67c0c91
SDJ
103682018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10369 Sergio Durigan Junior <sergiodj@redhat.com>
10370 Pedro Alves <palves@redhat.com>
10371
10372 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10373 regexps to expect for '[Inferior ... detached]' as well.
10374 * gdb.base/attach.exp: Likewise.
10375 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10376 "gdb_continue_to_end".
10377 (test_catch_syscall_with_wrong_args): Likewise.
10378 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10379 ']'. Don't set 'verbose' on.
10380 * gdb.base/foll-vfork.exp: Likewise.
10381 * gdb.base/fork-print-inferior-events.c: New file.
10382 * gdb.base/fork-print-inferior-events.exp: New file.
10383 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10384 '[Inferior ... has been killed]' message.
10385 * gdb.base/kill-after-signal.exp: Likewise.
10386 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10387 detach message.
10388 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10389 message.
10390 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10391 regexps to expect for '[Inferior ... detached]' as well.
10392 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10393
0a8ddac4
SM
103942018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10395
10396 PR gdb/23104
10397 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10398
701adfb0
PA
103992018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10400
10401 PR gdb/23095
10402 * gdb.base/break-probes.exp: Pass shlib_load to
10403 prepare_for_testing. Set normal_bp to r_debug_state if target is
10404 bsd.
10405
d27d16bf
RB
104062018-04-19 Richard Bunt <richard.bunt@arm.com>
10407
10408 * gdb.threads/multiple-successive-infcall.c: New test.
10409 * gdb.threads/multiple-successive-infcall.exp: New file.
10410
a037790e
TT
104112018-04-17 Tom Tromey <tom@tromey.com>
10412
10413 * gdb.rust/simple.rs (Union): New type.
10414 (main): New local "u".
10415 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10416
e3a91079
AA
104172018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10418
10419 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10420 number information in output of "whereis" command.
10421 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10422
b744723f
AA
104232018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10424
10425 * gdb.ada/info_types.exp: Adjust expected output to the line
10426 numbers now printed by "info var/func/type".
10427 * gdb.base/completion.exp: Likewise.
10428 * gdb.base/included.exp: Likewise.
10429 * gdb.cp/cp-relocate.exp: Likewise.
10430 * gdb.cp/cplusfuncs.exp: Likewise.
10431 * gdb.cp/namespace.exp: Likewise.
10432 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10433
4a4495d6
MM
104342018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10435
10436 * gdb.btrace/cpu.exp: New.
10437
1d509aa6
MM
104382018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10439
10440 * gdb.base/step-indirect-call-thunk.exp: New.
10441 * gdb.base/step-indirect-call-thunk.c: New.
10442 * gdb.reverse/step-indirect-call-thunk.exp: New.
10443 * gdb.reverse/step-indirect-call-thunk.c: New.
10444
6295b6da
SM
104452018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10446
10447 * gdb.base/pie-fork.c: New file.
10448 * gdb.base/pie-fork.exp: New file.
10449
50146e70
TT
104502018-04-11 Tom Tromey <tom@tromey.com>
10451
10452 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10453
f50d8a2e
PA
104542018-04-10 Pedro Alves <palves@redhat.com>
10455
10456 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10457 exits. Instead loop running forever.
10458 (fork_parent): Run forever too.
10459
a0be7a36
SM
104602018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10461
10462 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10463 mi_continue_to_line.
10464 * gdb.mi/mi-stack.c (callee4): Add comment.
10465
9b73db36
SM
104662018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10467
10468 * gdb.mi/mi-stack.exp: Fix indentation.
10469
c912f608
SM
104702018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10471
10472 PR gdb/22979
10473 * gdb.arch/amd64-osabi.exp: New file.
10474
26540402
SM
104752018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10476
10477 PR gdb/22980
10478 * gdb.base/osabi.exp: New file.
10479
121ad66c 104802018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10481
10482 * gdb.cp/static-typedef-print.exp: New file.
10483 * gdb.cp/static-typedef-print.cc: New file.
10484
3fcded8f
JB
104852018-03-27 Joel Brobecker <brobecker@adacore.com>
10486
10487 * gdb.ada/varsize_limit: New testcase.
10488
59cc4834
JB
104892018-03-27 Joel Brobecker <brobecker@adacore.com>
10490
10491 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10492
10493 * gdb.ada/notcplusplus: New testcase.
10494
10495 * gdb.base/c-linkage-name.c: New file.
10496 * gdb.base/c-linkage-name.exp: New testcase.
10497
4ca59a9f
TT
104982018-03-26 Tom Tromey <tom@tromey.com>
10499
10500 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10501 * gdb.python/py-framefilter.py (name_error): New global.
10502 (ErrorInName.function): Use name_error.
10503
978d6c75
TT
105042018-03-26 Tom Tromey <tom@tromey.com>
10505
10506 PR backtrace/15582:
10507 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10508
b7fee5a3
KS
105092018-03-23 Keith Seitz <keiths@redhat.com>
10510
10511 PR c++/22968
10512 * gdb.cp/subtypes.exp: New file.
10513 * gdb.cp/subtypes.h: New file.
10514 * gdb.cp/subtypes.cc: New file.
10515 * gdb.cp/subtypes-2.cc: New file.
10516
376be529
AB
105172018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10518
10519 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10520 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10521 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10522 -nostartfiles when compiling the test. Confirm that all registers
10523 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10524
066cfa98
AB
105252018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10526
10527 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10528 option, syntax was wrong anyway.
10529 * gdb.arch/arm-disp-step.exp: Likewise.
10530 * gdb.arch/sparc64-regs.exp: Likewise.
10531 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10532 option, syntax was wrong anyway, switch to use
10533 prepare_for_testing.
10534 * gdb.arch/i386-disp-step.exp: Likewise.
10535
079670b9
AA
105362018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10537
10538 * gdb.ada/exec_changed.exp: Replace "target_info exists
10539 use_gdb_stub" by "use_gdb_stub".
10540 * gdb.ada/start.exp: Likewise.
10541 * gdb.base/async-shell.exp: Likewise.
10542 * gdb.base/attach-pie-misread.exp: Likewise.
10543 * gdb.base/attach-wait-input.exp: Likewise.
10544 * gdb.base/break-entry.exp: Likewise.
10545 * gdb.base/break-interp.exp: Likewise.
10546 * gdb.base/dprintf-detach.exp: Likewise.
10547 * gdb.base/nostdlib.exp: Likewise.
10548 * gdb.base/solib-nodir.exp: Likewise.
10549 * gdb.base/statistics.exp: Likewise.
10550 * gdb.base/testenv.exp: Likewise.
10551 * gdb.mi/mi-exec-run.exp: Likewise.
10552 * gdb.mi/mi-start.exp: Likewise.
10553 * gdb.multi/dummy-frame-restore.exp: Likewise.
10554 * gdb.multi/multi-arch-exec.exp: Likewise.
10555 * gdb.multi/multi-arch.exp: Likewise.
10556 * gdb.multi/tids.exp: Likewise.
10557 * gdb.multi/watchpoint-multi.exp: Likewise.
10558 * gdb.python/py-events.exp: Likewise.
10559 * gdb.threads/attach-into-signal.exp: Likewise.
10560 * gdb.threads/attach-stopped.exp: Likewise.
10561 * gdb.threads/threadapply.exp: Likewise.
10562 * lib/selftest-support.exp: Likewise.
10563
26d6cec4
AA
105642018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10565
10566 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10567
4ee89e90
SR
105682018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10569
10570 * gdb.perf/template-breakpoints.cc: New file.
10571 * gdb.perf/template-breakpoints.exp: New file.
10572 * gdb.perf/template-breakpoints.py: New file.
10573
92630041
TT
105742018-03-19 Tom Tromey <tom@tromey.com>
10575
10576 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10577 y0.
10578 * gdb.rust/simple.exp: Test bare identifier form of struct
10579 initializer.
10580
76727919
TT
105812018-03-19 Tom Tromey <tom@tromey.com>
10582
10583 * gdb.gdb/observer.exp: Remove.
10584
194ed413
AA
105852018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10586
10587 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10588 "qualified" option when setting breakpoints.
10589 * gdb.trace/backtrace.exp: Likewise.
10590 * gdb.trace/circ.exp: Likewise.
10591 * gdb.trace/collection.exp: Likewise.
10592 * gdb.trace/disconnected-tracing.exp: Likewise.
10593 * gdb.trace/ftrace-lock.exp: Likewise.
10594 * gdb.trace/ftrace.exp: Likewise.
10595 * gdb.trace/infotrace.exp: Likewise.
10596 * gdb.trace/packetlen.exp: Likewise.
10597 * gdb.trace/passc-dyn.exp: Likewise.
10598 * gdb.trace/qtro.exp: Likewise.
10599 * gdb.trace/read-memory.exp: Likewise.
10600 * gdb.trace/report.exp: Likewise.
10601 * gdb.trace/signal.exp: Likewise.
10602 * gdb.trace/status-stop.exp: Likewise.
10603 * gdb.trace/strace.exp: Likewise.
10604 * gdb.trace/tfind.exp: Likewise.
10605 * gdb.trace/trace-break.exp: Likewise.
10606 * gdb.trace/trace-condition.exp: Likewise.
10607 * gdb.trace/trace-mt.exp: Likewise.
10608 * gdb.trace/tstatus.exp: Likewise.
10609 * gdb.trace/tsv.exp: Likewise.
10610 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10611 * gdb.trace/unavailable.exp: Likewise.
10612 * gdb.trace/while-dyn.exp: Likewise.
10613
8b067d2c
AA
106142018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10615
10616 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10617 that libinproctrace is copied to the target.
10618
3ae9ce5d
TT
106192018-03-14 Tom Tromey <tom@tromey.com>
10620
10621 PR cli/14977:
10622 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10623 a null pointer.
10624 * gdb.base/wchar.exp: Likewise.
10625
b8c2339b
TT
106262018-03-14 Tom Tromey <tom@tromey.com>
10627
10628 PR cli/19918:
10629 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10630 flag.
10631
4872dc46
SM
106322018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10633
10634 PR gdb/22841
10635 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10636 "target" to remote_exec.
10637
e4fe3756
SM
106382018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10639
10640 PR gdb/22841
10641 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10642 ${board}_upload): Remove.
10643
e95a97d4
AA
106442018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10645
10646 * gdb.cp/watch-cp.cc: New test.
10647 * gdb.cp/watch-cp.exp: New file.
10648
dbbb1059
AB
106492018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10650
10651 * gdb.base/infcall-nested-structs.exp: New file.
10652 * gdb.base/infcall-nested-structs.c: New file.
10653 * gdb.base/float.exp: Add riscv support.
10654
ecc054c0
TP
106552018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10656
10657 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10658 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10659
25e3c82c
SDJ
106602018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10661
10662 * gdb.server/abspath.exp: New file.
10663 * lib/gdb.exp (with_cwd): New procedure.
10664
3083294d
SM
106652018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10666
10667 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10668 use it.
10669 (gdb_is_target_remote_prompt): New proc.
10670 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10671 (gdb_is_target_native): Pass prompt parameter to
10672 gdb_is_target_1.
10673
3275ef47
SM
106742018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10675
10676 * gdb.base/load-command.c: New file.
10677 * gdb.base/load-command.exp: New file.
10678 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10679 (gdb_is_target_1): ...this, and generalize for other targets
10680 than just remote.
10681 (gdb_is_target_remote): Use gdb_is_target_1.
10682 (gdb_is_target_native): use gdb_is_target_1.
10683
6893c19a
TT
106842018-02-26 Tom Tromey <tom@tromey.com>
10685
10686 PR python/16497:
10687 * gdb.python/py-framefilter.exp: Update test.
10688
2ddeaf8a
TT
106892018-02-26 Tom Tromey <tom@tromey.com>
10690
10691 * gdb.dwarf2/variant.c: New file.
10692 * gdb.dwarf2/variant.exp: New file.
10693
c9317f21
TT
106942018-02-26 Tom Tromey <tom@tromey.com>
10695
10696 * gdb.rust/simple.exp: Accept more possible results in enum test.
10697
6f6d0c26
SM
106982018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10699
10700 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10701 parentheses.
10702
11b03145
MR
107032018-02-23 Maciej W. Rozycki <macro@mips.com>
10704
10705 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10706 name of a variable: $actual_linejj -> $actual_line.
10707
54a27fe5
JB
107082018-02-21 John Baldwin <jhb@FreeBSD.org>
10709
10710 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10711
de65820c
MM
107122018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10713
10714 * gdb.btrace/buffer-size.exp: Do not force BTS.
10715
980548fd
PA
107162018-02-14 Pedro Alves <palves@redhat.com>
10717
10718 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10719 getting a "Quit".
10720
c4e12631
MM
107212018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10722
10723 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10724 Fix test name.
10725
c2e0e465
SM
107262018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10727
10728 * gdb.cp/m-static.exp: Check type of optimized out static
10729 member.
10730
f7216783
AB
107312018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10732
10733 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10734 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10735
0625771b
LS
107362018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10737 Leszek Swirski <leszeks@google.com>
10738
10739 * gdb.python/py-prettyprint.c
10740 (struct to_string_returns_value_inner,
10741 struct to_string_returns_value_wrapper): New.
10742 (main): Add tsrvw variable.
10743 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10744 ToStringReturnsValueWrapper): New classes.
10745 (register_pretty_printers): Register new pretty-printers.
10746 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10747 recursive pretty printer.
10748 * gdb.python/py-mi.exp: Likewise.
10749
59498c30
LS
107502018-02-01 Leszek Swirski <leszeks@google.com>
10751
10752 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10753 functions with the same name as an include file are parsed
10754 correctly.
10755
d4d38844
YQ
107562018-02-01 Yao Qi <yao.qi@linaro.org>
10757
10758 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10759 "\[^\r\n\]*".
10760
07e5f5cf
NP
107612018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10762
10763 * gdb.arch/powerpc-prologue-frame.s: New file.
10764 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10765 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10766
929b5ad4
JB
107672018-01-31 Joel Brobecker <brobecker@adacore.com>
10768
10769 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10770
e671cd59
PA
107712018-01-30 Pedro Alves <palves@redhat.com>
10772
10773 PR gdb/13211
10774 * gdb.base/interrupt-daemon.c: New.
10775 * gdb.base/interrupt-daemon.exp: New.
10776 * gdb.multi/multi-term-settings.c: New.
10777 * gdb.multi/multi-term-settings.exp: New.
10778
fc413dc4
JB
107792018-01-30 Joel Brobecker <brobecker@adacore.com>
10780
10781 * gdb.base/break.exp: Save the location where the breakpoint
10782 on break.c:47 was actually inserted when debugging the version
10783 compiled at -O2 and use it in the expected output of the "info
10784 break" test performed soon after.
10785
5c319bb2
PA
107862018-01-22 Pedro Alves <palves@redhat.com>
10787 Sergio Durigan Junior <sergiodj@redhat.com>
10788
10789 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10790 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10791
a9e40818
JB
107922018-01-22 Joel Brobecker <brobecker@adacore.com>
10793
10794 * gdb.base/break-include.c, gdb.base/break-include.inc,
10795 gdb.base/break-include.exp: New files.
10796 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10797 line number now being the actual line number where the breakpoint
10798 was inserted.
10799 * gdb.mi/mi-break.exp: Likewise.
10800 * gdb.mi/mi-reverse.exp: Likewise.
10801 * gdb.mi/mi-simplerun.exp: Ditto.
10802
e707fc44
AB
108032018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10804
10805 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10806 varobj.
10807 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10808
ae451627
AB
108092018-01-21 Don Breazeal <donb@codesourcery.com>
10810 Andrew Burgess <andrew.burgess@embecosm.com>
10811
10812 * gdb.mi/basics.c: Add new global.
10813 * gdb.mi/mi-frame-regs.exp: New file.
10814 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10815 case.
10816
b1b189e0
AB
108172018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10818
10819 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10820 non-parameter, and on an unknown symbol.
10821
fcfcc376
TT
108222018-01-19 Tom Tromey <tom@tromey.com>
10823
10824 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10825 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10826
634c1c31
AA
108272018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10828
10829 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10830 setrlimit and chdir to int.
10831
d6ad07fd
AA
108322018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10833
10834 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10835 function.
10836 (my_tend): Likewise.
10837 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10838 rationale of avoiding FP- and vector instructions.
10839
adf8243b
RK
108402018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10841
10842 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10843 "info reg" with "\[ \t\]*".
10844 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10845 "\[ \t\]+".
10846 * gdb.arch/s390-multiarch.exp: Ditto.
10847 * gdb.base/pc-fp.exp: Ditto.
10848 * gdb.reverse/i386-precsave.exp: Ditto.
10849 * gdb.reverse/i386-reverse.exp: Ditto.
10850 * gdb.reverse/i387-env-reverse.exp: Ditto.
10851 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10852
dcc06925
AA
108532018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10854
10855 * lib/gdb.exp (gdb_compile): Re-enable use of
10856 universal_compile_options for languages other than Rust.
10857
25d4fd80
AA
108582018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10859
10860 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10861
ee7f689e 108622018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10863
10864 PR gdb/16577
10865 * gdb.base/solib-vanish.exp: New.
10866 * gdb.base/solib-vanish-main.c: New.
10867 * gdb.base/solib-vanish-lib1.c: New.
10868 * gdb.base/solib-vanish-lib2.c: New.
10869
d8447b6b
YQ
108702018-01-17 Yao Qi <yao.qi@linaro.org>
10871
10872 * gdb.compile/compile.exp: Match the address printed for
10873 frame in the output of command "bt".
10874
86d6a90c
TT
108752018-01-15 Tom Tromey <tom@tromey.com>
10876
10877 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10878 compute sp_reg.
10879
cbcdb1aa
AB
108802018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10881
10882 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10883 to prepare.
10884 (prepare): Return 0 on error, 1 on success.
10885
eea61984
PA
108862018-01-12 Pedro Alves <palves@redhat.com>
10887
10888 * gdb.base/continue-after-aborted-step-over.c: New.
10889 * gdb.base/continue-after-aborted-step-over.exp: New.
10890
6181e9c2
SM
108912018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10892
10893 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10894 options when not creating an executable.
10895
3cada740
PA
108962018-01-11 Pedro Alves <palves@redhat.com>
10897
10898 PR remote/22597
10899 * gdb.server/stop-reply-no-thread.c: New file.
10900 * gdb.server/stop-reply-no-thread.exp: New file.
10901
c63d3e8d
PA
109022018-01-10 Pedro Alves <palves@redhat.com>
10903
10904 PR gdb/22670
10905 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10906 functions too. Test setting breakpoints and printing C functions
10907 with no debug info too.
10908 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10909
d4c2a405
PA
109102018-01-10 Pedro Alves <palves@redhat.com>
10911
10912 PR gdb/22670
10913 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10914 a fail.
10915
8825213e
PA
109162018-01-10 Pedro Alves <palves@redhat.com>
10917
10918 PR gdb/22670
10919 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10920
605fd3c6
YQ
109212018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10922
10923 * gdb.server/unittest.exp: Match the output in non-development
10924 mode.
10925
1e5ded6c
YQ
109262018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10927
10928 * gdb.gdb/unittest.exp: Match output in non-development mode.
10929
30066b0b
JB
109302018-01-08 Joel Brobecker <brobecker@adacore.com>
10931
10932 * gdb.ada/access_tagged_param.exp: Relax expected output
10933 for value of "ObjL" in "continue" to pck.inspect breakpoint
10934 test.
10935
04bafb1e
XR
109362018-01-08 Joel Brobecker <brobecker@adacore.com>
10937
9f86398b
JB
10938 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10939 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10940
e379cee6
PA
109412018-01-05 Pedro Alves <palves@redhat.com>
10942
10943 PR gdb/18653
10944 * gdb.base/libsegfault.exp: New.
10945
de63c46b
PA
109462018-01-05 Joel Brobecker <brobecker@adacore.com>
10947
10948 PR gdb/22670
10949 * gdb.ada/access_tagged_param.exp: New file.
10950 * gdb.ada/access_tagged_param/foo.adb: New file.
10951
f98fc17b
PA
109522018-01-05 Pedro Alves <palves@redhat.com>
10953
10954 PR gdb/22670
10955 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10956 exercise lower case too, and to exercise both full matching and
10957 wild matching.
10958
342f8240
JB
109592018-01-05 Joel Brobecker <brobecker@adacore.com>
10960
10961 * gdb.ada/rename_subscript_param: New testcase.
10962
7150d33c
JG
109632018-01-05 Jerome Guitton <guitton@adacore.com>
10964
10965 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10966
cc0e770c
JB
109672018-01-05 Joel Brobecker <brobecker@adacore.com>
10968
10969 * gdb.ada/convvar_comp: New testcase.
10970
672a41aa 109712018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10972
10973 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10974 (My_Table): New global variable.
10975 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10976
7365ec2f
JB
109772018-01-04 Joel Brobecker <brobecker@adacore.com>
10978
10979 PR gdb/22670
10980 * gdb.ada/maint_with_ada: New testcase.
10981
289483b6
JB
109822018-01-04 Joel Brobecker <brobecker@adacore.com>
10983
10984 PR gdb/22670
10985 * gdb.ada/bp_c_mixed_case: New testcase.
10986
344420da
JB
109872018-01-04 Joel Brobecker <brobecker@adacore.com>
10988
10989 PR gdb/22670
10990 * gdb.ada/complete.exp: Add "complete break ada" test.
10991
66fc87a0
JB
109922018-01-04 Joel Brobecker <brobecker@adacore.com>
10993
10994 PR gdb/22670
10995 * gdb.ada/info_addr_mixed_case: New testcase.
10996
9f757bf7
XR
109972018-01-03 Xavier Roirand <roirand@adacore.com>
10998
10999 * gdb.ada/excep_handle.exp: New testcase.
11000 * gdb.ada/excep_handle/foo.adb: New file.
11001 * gdb.ada/excep_handle/pck.ads: New file.
11002
bd570f80
JB
110032018-01-03 Joel Brobecker <brobecker@adacore.com>
11004
11005 * gdb.base/step-line.c: Add extra empty line in copyright header.
11006 * gdb.base/step-line.inp: Likewise.
11007
9fe561ab
JB
110082018-01-02 Joel Brobecker <brobecker@adacore.com>
11009
11010 * gdb.ada/dyn_stride.exp: Add slice test.
11011
a405673c
JB
110122018-01-02 Joel Brobecker <brobecker@adacore.com>
11013
11014 * gdb.ada/dyn_stride: New testcase.
11015
cef0f868
SH
110162017-12-27 Stafford Horne <shorne@gmail.com>
11017
11018 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11019 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11020
b67d92b0
SH
110212017-12-27 Stafford Horne <shorne@gmail.com>
11022
11023 * gdb.base/reggroups.c: New file.
11024 * gdb.base/reggroups.exp: New file.
11025
eccab96d
JB
110262017-12-18 Joel Brobecker <brobecker@adacore.com>
11027
11028 * gdb.dwarf2/ada-valprint-error.c: New file.
11029 * gdb.dwarf2/ada-valprint-error.exp: New file.
11030
0e2da9f0
JB
110312017-12-18 Joel Brobecker <brobecker@adacore.com>
11032
11033 * gdb.ada/assign_arr: New testcase.
11034
cb923fcc
XR
110352017-12-18 Xavier Roirand <roirand@adacore.com>
11036
11037 * gdb.ada/funcall_ptr: New testcase.
11038
7c161838
SDJ
110392017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11040
11041 PR cli/16224
11042 * gdb.base/ptype-offsets.cc: New file.
11043 * gdb.base/ptype-offsets.exp: New file.
11044
1af17fd9
YQ
110452017-12-15 Yao Qi <yao.qi@linaro.org>
11046
11047 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11048 if XML is disabled.
11049
828d5846
XR
110502017-12-15 Xavier Roirand <roirand@adacore.com>
11051
11052 * gdb.ada/same_component_name: New testcase.
11053
79e8fcaa
JB
110542017-12-14 Joel Brobecker <brobecker@adacore.com>
11055
11056 * gdb.ada/str_binop_equal: New testcase.
11057
e05fa6f9
JB
110582017-12-14 Joel Brobecker <brobecker@adacore.com>
11059
11060 * gdb.ada/task_switch_in_core: New testcase.
11061
b89641ba
SM
110622017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11063
11064 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11065 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11066 call test_bkpt_qualified.
11067 (test_bkpt_qualified): New proc.
11068
6892d2e4
PA
110692017-12-13 Pedro Alves <palves@redhat.com>
11070
11071 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11072 Tighten regexp by matching with an anchor.
11073
a22ecf70
PA
110742017-12-13 Pedro Alves <palves@redhat.com>
11075
11076 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11077 ("expression with namespace"): New set of tests.
11078 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11079 (Nested::Test_NS::qux): New.
11080 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11081 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11082
9937536c
JB
110832017-12-13 Joel Brobecker <brobecker@adacore.com>
11084
11085 * gdb.base/server-del-break.c: New file.
11086 * gdb.base/server-del-break.exp: New file.
11087
fe49c6f5
SH
110882017-12-12 Stafford Horne <shorne@gmail.com>
11089
11090 * gdb.xml/tdesc-regs.exp: Add or1k support.
11091
c3d18620
SH
110922017-12-12 Stafford Horne <shorne@gmail.com>
11093
11094 * gdb.base/bp-permanent.c: Define nop of or1k.
11095
c5f9cfc8
JB
110962017-12-11 Joel Brobecker <brobecker@adacore.com>
11097
11098 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11099 output with components being reordered.
11100
a9c135fc
JB
111012017-12-11 Joel Brobecker <brobecker@adacore.com>
11102
11103 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11104 output with components being reordered.
11105
927aa2e7
JK
111062017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11107 Pedro Alves <palves@redhat.com>
11108
11109 * gdb.base/maint.exp (check for .gdb_index): Check also for
11110 .debug_names.
11111 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11112 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11113 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11114 (.gdb_index used after symbol reloading): Support also .debug_names.
11115 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11116
f17d9474
YQ
111172017-12-08 Yao Qi <yao.qi@linaro.org>
11118
11119 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11120 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11121
a0de8c21
YQ
111222017-12-08 Yao Qi <yao.qi@linaro.org>
11123
11124 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11125 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11126
a738ea1d
YQ
111272017-12-08 Yao Qi <yao.qi@linaro.org>
11128
11129 * gdb.arch/aarch64-tagged-pointer.c: New file.
11130 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11131
1cd9a73b
SDJ
111322017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11133
11134 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11135 "int".
11136
fa6eb693
KS
111372017-12-07 Keith Seitz <keiths@redhat.com>
11138
11139 PR breakpoints/22569
11140 * gdb.linespec/ls-errs.exp: Change expected result of "break
11141 -source this file has spaces.c -line 3".
11142 Check that an explicit source file followed by whitespace is
11143 identified as an invalid explicit location.
11144
883fd55a
KS
111452017-12-07 Keith Seitz <keiths@redhat.com>
11146
11147 * gdb.cp/nested-types.cc: New file.
11148 * gdb.cp/nested-types.exp: New file.
11149 * lib/cp-support.exp: Load data-structures.exp library.
11150 (debug_cp_test_ptype_class): New global.
11151 (cp_ptype_class_verbose, next_line): New procedures.
11152 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11153 Add and document new return value.
11154 Switch the list of lines to a queue.
11155 Add support for new `type' key for nested type definitions.
11156 Add debugging/troubleshooting messages.
11157 * lib/data-structures.exp: New file.
11158
ec72db3e
SM
111592017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11160
11161 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11162 with proc_with_prefix, don't use with_test_prefix.
11163
99598d71
TT
111642017-12-07 Tom Tromey <tom@tromey.com>
11165
11166 * gdb.base/break.exp: Add test for empty "commands".
11167
a8806230
YQ
111682017-12-07 Yao Qi <yao.qi@linaro.org>
11169
11170 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11171 malloc and catch syscall.
11172
824cc835
PM
111732017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11174
e79be6e5 11175 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
11176 tests for explicit locations.
11177
7cc244de
PA
111782017-12-06 Pedro Alves <palves@redhat.com>
11179
11180 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11181 force-disabling XML descriptions.
11182
50a1fdd5
PA
111832017-12-04 Pedro Alves <palves@redhat.com>
11184
11185 PR gdb/22499
11186 * gdb.arch/amd64-disp-step-avx.S: New file.
11187 * gdb.arch/amd64-disp-step-avx.exp: New file.
11188
f0fb2488
PA
111892017-12-03 Pedro Alves <palves@redhat.com>
11190
11191 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11192 and <string.h>.
11193 (parent_function): Print distinct messages when waitpid fails, or
11194 the child exits with a signal, or the child exits for an unhandled
11195 reason.
11196 * gdb.threads/process-dies-while-detaching.exp
11197 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11198 it. Wait for both inferior output and GDB's prompt. Use an
11199 indirect spawn id list.
11200 (do_detach): New parameter 'child_exit'. Use it to compute
11201 expected inferior output.
11202 (test_detach, test_detach_watch, test_detach_killed_outside):
11203 Adjust to pass down the expected child exit kind.
11204
97cbe998
SDJ
112052017-12-01 Joel Brobecker <brobecker@adacore.com>
11206 Sergio Durigan Junior <sergiodj@redhat.com>
11207 Pedro Alves <palves@redhat.com>
11208
11209 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11210
40fc416f
SDJ
112112017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11212
11213 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11214 to 'symbol-file' and 'add-symbol-file' can be
11215 position-independent.
11216
1cc75e92
YQ
112172017-12-01 Yao Qi <yao.qi@linaro.org>
11218
11219 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11220 the URL in copyright header.
11221 * gdb.arch/aarch64-fp.exp: Likewise.
11222 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11223 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11224 * gdb.base/expand-psymtabs.exp: Likewise.
11225 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11226 * gdb.fortran/common-block.exp: Likewise.
11227 * gdb.fortran/common-block.f90: Likewise.
11228 * gdb.fortran/logical.exp: Likewise.
11229 * gdb.fortran/vla-datatypes.f90: Likewise.
11230 * gdb.fortran/vla-sub.f90: Likewise.
11231
875fb7a7
JB
112322017-11-30 Joel Brobecker <brobecker@adacore.com>
11233
11234 * gdb.ada/repeat_dyn: New testcase.
11235
6f14765f
UW
112362017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11237
11238 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11239 Update for changed thread numbering.
11240 * gdb.cell/bt.exp: Update for changed GDB output.
11241
f1af7b94
SM
112422017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11243
11244 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11245 setting isremote by hand.
11246 * boards/dwarf4-gdb-index.exp: Likewise.
11247 * boards/fission.exp: Likewise.
11248 * boards/stabs.exp: Likewise.
11249
e3919f3e
PA
112502017-11-30 Pedro Alves <palves@redhat.com>
11251
11252 * gdb.linespec/cpls-ops.exp
11253 (check_explicit_skips_function_argument): Extract the underlying
11254 type of size_t instead of hardcoding it.
11255
bd69330d
PA
112562017-11-29 Pedro Alves <palves@redhat.com>
11257
11258 PR c++/19436
11259 * gdb.linespec/cpls-abi-tag.cc: New file.
11260 * gdb.linespec/cpls-abi-tag.exp: New file.
11261
a20714ff
PA
112622017-11-29 Pedro Alves <palves@redhat.com>
11263
11264 * gdb.base/langs.exp: Use -qualified.
11265 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11266 it.
11267 * gdb.cp/namespace.exp: Use -qualified.
11268 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11269 (overload-3, template-overload, template-ret-type, const-overload)
11270 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11271 procedures.
11272 (test_driver): Call them.
11273 * gdb.cp/save-bp-qualified.cc: New.
11274 * gdb.cp/save-bp-qualified.exp: New.
11275 * gdb.linespec/explicit.exp: Test -qualified.
11276 * lib/completion-support.exp (completion::explicit_opts_list): Add
11277 "-qualified".
11278 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11279
f6f1d339
PM
112802017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11281
11282 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11283
02ca603a
TT
112842017-11-29 Tom Tromey <tom@tromey.com>
11285
11286 * gdb.base/relocate.exp: Update invalid argument test.
11287 Add new tests for invalid arguments.
11288
ed6c0bfb
TP
112892017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11290
11291 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11292 Return 0 as a long.
11293 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11294
f106e10e
TP
112952017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11296
11297 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11298 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11299 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11300 func ().
11301 * gdb.cp/shadow.cc (B.func): Return 0.
11302
10329bb2
JB
113032017-11-27 Joel Brobecker <brobecker@adacore.com>
11304
11305 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11306 expected output in gdb_expect call to allow the exception
11307 message to be present as well. Fix syntax confusion to avoid
11308 TCL thinking that exception_name is an array.
11309
617cd4bc
UW
113102017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11311
11312 * gdb.arch/spu-info.c: Include <unistd.h>.
11313 (do_signal_test): Fix broken calls to write.
11314 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11315 Fix checks for empty mailboxes. Update signal tests for corrected
11316 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11317 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11318 * gdb.cell/arch.exp: Use standard_output_file.
11319 * gdb.cell/break.exp: Likewise.
11320 * gdb.cell/bt.exp: Likewise.
11321 * gdb.cell/core.exp: Likewise.
11322 * gdb.cell/dwarfaddr.exp: Likewise.
11323 * gdb.cell/ea-cache.exp: Likewise.
11324 * gdb.cell/ea-standalone.exp: Likewise.
11325 * gdb.cell/f-regs.exp: Likewise.
11326 * gdb.cell/fork.exp: Likewise.
11327 * gdb.cell/gcore.exp: Likewise.
11328 * gdb.cell/mem-access.exp: Likewise.
11329 * gdb.cell/ptype.exp: Likewise.
11330 * gdb.cell/registers.exp: Likewise.
11331 * gdb.cell/sizeof.exp: Likewise.
11332 * gdb.cell/solib-symbol.exp: Likewise.
11333 * gdb.cell/solib.exp: Likewise.
617cd4bc 11334
a81aaca0
PA
113352017-11-25 Pedro Alves <palves@redhat.com>
11336
11337 * gdb.base/complete-empty.exp: New file.
11338 * gdb.base/completion.exp: Adjust.
11339
6a3c6ee4
PA
113402017-11-25 Pedro Alves <palves@redhat.com>
11341
11342 * gdb.linespec/cpls-ops.cc: New file.
11343 * gdb.linespec/cpls-ops.exp: New file.
11344 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11345 factored out from ...
11346 (test_complete_prefix_range): ... this.
11347
8955eb2d
PA
113482017-11-24 Pedro Alves <palves@redhat.com>
11349
11350 * gdb.linespec/cpcompletion.exp: New file.
11351 * gdb.linespec/cpls-hyphen.cc: New file.
11352 * gdb.linespec/cpls.cc: New file.
11353 * gdb.linespec/cpls2.cc: New file.
11354 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11355 test to use test_gdb_complete_unique. Add label completion,
11356 keyword completion and explicit location completion tests.
11357 * lib/completion-support.exp: New file.
11358
e547c119
JB
113592017-11-24 Joel Brobecker <brobecker@adacore.com>
11360
11361 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11362 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11363 when hitting an exception catchpoint.
11364
7c3c1aa8
YQ
113652017-11-22 Yao Qi <yao.qi@linaro.org>
11366
11367 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11368
41bd68f5
SM
113692017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11370
11371 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11372 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11373 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11374
1daad298
YQ
113752017-11-22 Yao Qi <yao.qi@linaro.org>
11376
11377 * gdb.base/info-os.exp: Pass pthreads.
11378 * gdb.multi/multi-attach.exp: Likewise.
11379
88465e87
YQ
113802017-11-22 Yao Qi <yao.qi@linaro.org>
11381
11382 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11383 compiler.
11384
dc196b23
YQ
113852017-11-22 Yao Qi <yao.qi@linaro.org>
11386
11387 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11388 * gdb.base/break-interp.exp: Likewise.
11389 * gdb.base/jit-attach-pie.exp: Likewise.
11390
2400729e
UW
113912017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11392
11393 * gdb.base/float128.c (large128): New variable.
11394 * gdb.base/float128.exp: Add test to print largest __float128 value.
11395
7a26362d
UW
113962017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11397
11398 * gdb.arch/vsx-regs.exp: Update register content checks.
11399
ed0f4273
UW
114002017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11401
11402 * gdb.arch/ppc-longdouble.exp: New file.
11403 * gdb.arch/ppc-longdouble.c: Likewise.
11404
a25d69c6
PA
114052017-11-21 Pedro Alves <palves@redhat.com>
11406
11407 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11408
73fcf641
PA
114092017-11-20 Pedro Alves <palves@redhat.com>
11410
11411 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11412 (long_double_typedef): New typedefs.
11413 Use DEF on double and long double.
11414 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11415 cases.
11416 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11417 and 'long_double_ptr_same_size' locals. Use them to decide
11418 whether cast from array/function to float is valid/invalid.
11419
71a3c369
TT
114202017-11-17 Tom Tromey <tom@tromey.com>
11421
11422 * gdb.rust/traits.rs: New file.
11423 * gdb.rust/traits.exp: New file.
11424
ced9779b
JB
114252017-11-17 Joel Brobecker <brobecker@adacore.com>
11426
11427 * gdb.ada/minsyms: New testcase.
11428
a0922d80
PA
114292017-11-16 Pedro Alves <palves@redhat.com>
11430
11431 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11432 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11433
ea04e54c
PA
114342017-11-16 Pedro Alves <palves@redhat.com>
11435
11436 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11437 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11438
e849ea89
PA
114392017-11-16 Pedro Alves <palves@redhat.com>
11440
11441 * gdb.server/reconnect-ctrl-c.c: New file.
11442 * gdb.server/reconnect-ctrl-c.exp: New file.
11443
d8ae99a7
PM
114442017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11445
11446 * gdb.python/py-rbreak.exp: New file.
11447 * gdb.python/py-rbreak.c: New file.
11448 * gdb.python/py-rbreak-func2.c: New file.
11449
968a13f8
PA
114502017-11-16 Pedro Alves <palves@redhat.com>
11451
11452 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11453 pattern.
11454 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11455 GDB.
11456
71774bc9
SM
114572017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11458
11459 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11460 regex.
11461
ddbb44cf
SM
114622017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11463
11464 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11465 test names.
11466
584a564f
PA
114672017-11-09 Pedro Alves <palves@redhat.com>
11468
11469 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11470 factored out from ...
11471 (top level): ... here, and adjusted to avoid expecting beyond the
11472 prompt in a single gdb_test_multiple.
11473
5ed7a928
PA
114742017-11-09 Pedro Alves <palves@redhat.com>
11475
11476 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11477 output.
11478 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11479 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11480 * gdb.server/ext-run.exp ("kill" test): Likewise.
11481 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11482
a60e0738
PA
114832017-11-09 Pedro Alves <palves@redhat.com>
11484
11485 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11486 match till end of line.
11487
2c88253f
PA
114882017-11-09 Pedro Alves <palves@redhat.com>
11489
11490 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11491
c7a38517
PA
114922017-11-09 Pedro Alves <palves@redhat.com>
11493
11494 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11495 New procedures, factored out from ...
11496 (top level): ... here, and adjusted to avoid expecting beyond the
11497 prompt in one go.
11498
f29f4b6b
PA
114992017-11-09 Pedro Alves <palves@redhat.com>
11500
11501 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11502 output. Fix '?' match.
11503
286acbb5
JB
115042017-11-08 Joel Brobecker <brobecker@adacore.com>
11505
11506 * gdb.ada/scoped_watch: New testcase.
11507 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11508 which is actually correct.
11509 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11510 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11511
62d7ae92
PA
115122017-11-08 Pedro Alves <palves@redhat.com>
11513
11514 * gdb.gdb/complaints.exp (test_initial_complaints)
11515 (test_serial_complaints, test_short_complaints): Call
11516 complaint_internal instead of complaint.
11517
280ca31f
DT
115182017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11519
11520 * gdb.threads/tls-core.c: New file.
11521 * gdb.threads/tls-core.exp: Likewise.
11522
b5ec771e
PA
115232017-11-08 Pedro Alves <palves@redhat.com>
11524
11525 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11526 (p Exported_Capitalized): New test.
11527 (p exported_capitalized): New test.
11528
a02b41a7
PA
115292017-11-07 Pedro Alves <palves@redhat.com>
11530
11531 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11532
95e95a6d
PA
115332017-11-07 Pedro Alves <palves@redhat.com>
11534
11535 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11536 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11537 (disable_invalid, disable_inverted, disable_negative): New
11538 procedures.
11539 ("bad numbers"): New set of tests.
11540
cee62dbd
PA
115412017-11-07 Pedro Alves <palves@redhat.com>
11542
11543 * gdb.cp/ena-dis-br-range.exp: Add tests.
11544
cc638e86
PA
115452017-11-07 Pedro Alves <palves@redhat.com>
11546
11547 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11548
d0fe4701
XR
115492017-11-07 Xavier Roirand <roirand@adacore.com>
11550 Pedro Alves <palves@redhat.com>
11551
11552 * gdb.base/ena-dis-br.exp: Add reference to
11553 gdb.cp/ena-dis-br-range.exp.
11554 * gdb.cp/ena-dis-br-range.exp: New file.
11555 * gdb.cp/ena-dis-br-range.cc: New file.
11556
46f67f80
PA
115572017-11-06 Pedro Alves <palves@redhat.com>
11558
11559 * gdb.base/attach-non-pgrp-leader.c: New.
11560 * gdb.base/attach-non-pgrp-leader.exp: New.
11561
726e1356
PA
115622017-11-06 Pedro Alves <palves@redhat.com>
11563
11564 * configure.ac: No longer check for termio.h and sgtty.h.
11565 * configure: Regenerate.
11566 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11567 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11568 Remove termio and sgtty code.
11569
50ab6ace
YQ
115702017-11-03 Yao Qi <yao.qi@linaro.org>
11571
11572 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11573 in GDB is disabled.
11574
8e68731c
YQ
115752017-11-03 Yao Qi <yao.qi@linaro.org>
11576
11577 * gdb.python/py-thrhandle.exp: Skip it if python is not
11578 enabled.
11579
3a87ae65
SM
115802017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11581
11582 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11583 as a breakpoint command.
11584
484d8d36
MD
115852017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11586
11587 PR python/21213
11588 * gdb.python/py-infthread.exp: Test calling
11589 InferiorThread.inferior () multiple times in a row.
11590
4a27f119
KS
115912017-10-27 Keith Seitz <keiths@redhat.com>
11592
11593 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11594 Test "info break" for every inlined function breakpoint.
11595
bb11dd58
YQ
115962017-10-27 Yao Qi <yao.qi@linaro.org>
11597
11598 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11599
a43f3893
PF
116002017-10-26 Patrick Frants <osscontribute@gmail.com>
11601
11602 * gdb.cp/classes.exp (test_static_members): Test printing
11603 Outer::instance.
11604 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11605 (Inner::instance, Outer::instance): New.
11606
792ccf00
PA
116072017-10-24 Pedro Alves <palves@redhat.com>
11608
11609 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11610 extra console" test in two stages.
11611
eb2bfbad
PA
116122017-10-24 Pedro Alves <palves@redhat.com>
11613
11614 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11615
1f75a651
PA
116162017-10-24 Pedro Alves <palves@redhat.com>
11617
11618 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11619 loop.
11620
779990d9
PA
116212017-10-24 Pedro Alves <palves@redhat.com>
11622
11623 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11624 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11625
ad9b8f5d
PA
116262017-10-24 Pedro Alves <palves@redhat.com>
11627
11628 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11629 parameter and handle it. Don't output read value in test name.
11630
fee6da6e
PA
116312017-10-24 Pedro Alves <palves@redhat.com>
11632
11633 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11634 custom test name.
11635
10389c2c
PA
116362017-10-24 Pedro Alves <palves@redhat.com>
11637
11638 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11639 include the unstable output directory name in the test's name.
11640 (initial_setup_simple) <'set args'>: Use custom test name.
11641
a80e65a9
PA
116422017-10-24 Pedro Alves <palves@redhat.com>
11643
11644 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11645 with explicit test name.
11646
15763a09
PA
116472017-10-20 Pedro Alves <palves@redhat.com>
11648
11649 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11650 'wait -i'. Use gdb_assert and remote_close.
11651
49a4ce2e
AB
116522017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11653
11654 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11655 number from variable rather than hard-coded.
11656
a75868f5
PA
116572017-10-19 Pedro Alves <palves@redhat.com>
11658
11659 * gdb.base/long-inferior-output.c: New file.
11660 * gdb.base/long-inferior-output.exp: New file.
11661
c8ba13ad
KS
116622017-11-18 Keith Seitz <keiths@redhat.com>
11663
11664 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11665 method.
11666 (main): Call it.
11667 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11668 Add additional user-defined conversion operator tests.
11669
b27de576
PA
116702017-10-17 Pedro Alves <palves@redhat.com>
11671
11672 * boards/native-stdio-gdbserver.exp: Load "local-board".
11673
8484c955
PA
116742017-10-17 Pedro Alves <palves@redhat.com>
11675
11676 * gdb.base/quit-live.c: New file.
11677 * gdb.base/quit-live.exp: New file.
11678
83d5a34d
KS
116792017-10-16 Keith Seitz <keiths@redhat.com>
11680
11681 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11682 (class_with_protected_typedef, class_with_private_typedef)
11683 (struct_with_public_typedef, struct_with_protected_typedef)
11684 (struct_with_private_typedef): New classes/structs.
11685 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11686 typedefs and access specifiers.
11687
739b3f1d
PA
116882017-10-16 Pedro Alves <palves@redhat.com>
11689 Simon Marchi <simon.marchi@polymtl.ca>
11690
11691 * README (Local vs Remote vs Native): New section.
11692 * boards/local-board.exp: New file, with bits factored out from
11693 ...
11694 * boards/native-extended-gdbserver.exp: ... here. Load
11695 "local-board".
11696 * boards/native-gdbserver.exp: Load "local-board".
11697 (${board}_spawn, ${board}_exec): Delete.
11698 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11699 ...
11700 * boards/stdio-gdbserver-base.exp: ... this new file.
11701 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11702 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11703 procedure.
11704 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11705 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11706 stdio_gdbserver_command.
11707 (${board}_get_remote_address, ${board}_get_comm_port)
11708 (${board}_download, ${board}_upload): Delete.
11709 (get_target_remote_pipe_cmd): New.
11710
fe68b953
SM
117112017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11712
11713 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11714 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11715 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11716 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11717 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11718 remove with_test_prefix.
11719
300b6685
PA
117202017-10-13 Pedro Alves <palves@redhat.com>
11721
11722 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11723 * gdb.base/annota1.exp: Use it instead of is_remote.
11724 * gdb.base/annota3.exp: Use it instead of is_remote.
11725 * gdb.cp/annota2.exp: Use it instead of is_remote.
11726 * gdb.cp/annota3.exp: Use it instead of is_remote.
11727 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11728
50500caf
PA
117292017-10-13 Pedro Alves <palves@redhat.com>
11730
11731 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11732 (test_num_test_vars, run_and_count_vars, find_env)
11733 (test_set_unset_env, test_inherit_env_var): New procedures.
11734 (top level): Use them.
11735
dad0c6d2
PA
117362017-10-13 Pedro Alves <palves@redhat.com>
11737
11738 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11739 also skip on stub-like targets.
11740
8b0553c1
PA
117412017-10-13 Pedro Alves <palves@redhat.com>
11742
11743 PR gdb/22293
11744 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11745 (top level): Move some tests to ...
11746 (test_not_found): ... this new procedure.
11747 (top level): Call it.
11748
7594f623
PA
117492017-10-13 Pedro Alves <palves@redhat.com>
11750
11751 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11752 expect different "info terminal" output if testing with a
11753 non-native target.
11754
ebe3b402
PA
117552017-10-13 Pedro Alves <palves@redhat.com>
11756 Simon Marchi <simon.marchi@polymtl.ca>
11757
11758 PR python/12966
11759 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11760
42f1b161
PA
117612017-10-13 Pedro Alves <palves@redhat.com>
11762
11763 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11764 already.
11765
8d6ef72b
PA
117662017-10-13 Pedro Alves <palves@redhat.com>
11767
11768 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11769 is_remote.
11770
d7bcd5b8
PA
117712017-10-13 Pedro Alves <palves@redhat.com>
11772
11773 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11774 is_remote.
11775
df479dc6
PA
117762017-10-13 Pedro Alves <palves@redhat.com>
11777
11778 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11779 is set.
11780 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11781 instead of is_remote.
11782
23fb630a
PA
117832017-10-13 Pedro Alves <palves@redhat.com>
11784
11785 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11786 (top level): Add comment.
11787
cc77b1dc
PA
117882017-10-13 Pedro Alves <palves@redhat.com>
11789
11790 * gdb.base/remote.exp (top level): Fix comment typo and add
11791 missing return.
11792
27c9e813
PA
117932017-10-13 Pedro Alves <palves@redhat.com>
11794 Simon Marchi <simon.marchi@polymtl.ca>
11795
11796 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11797 calls and add comments. Skip test if use_gdb_stub is set.
11798 (top level): Use "set cwd" command instead of "cd" command.
11799
5e830d98
PA
118002017-10-13 Pedro Alves <palves@redhat.com>
11801
11802 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11803 is_remote target check.
11804
f5ca0032
PA
118052017-10-13 Pedro Alves <palves@redhat.com>
11806
11807 * gdb.base/scope.exp: Use build_executable + clean_restart +
11808 gdb_file_cmd instead of prepare_for_testing and no longer skip
11809 "before run" tests on is_remote target boards. Update comments.
11810 * boards/native-extended-gdbserver.exp
11811 (extended_gdbserver_load_last_file): New, factored out from ...
11812 (gdb_load): ... this. Move further below and add comment.
11813 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11814
8aed1c0d
PA
118152017-10-12 Pedro Alves <palves@redhat.com>
11816
11817 * gdb.base/attach.exp: Remove references to gdb64.
11818 * gdb.base/dbx.exp: Remove references to gdb64.
11819
cfa34c87
SM
118202017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11821 Pedro Alves <palves@redhat.com>
11822
11823 * gdb.base/label.exp: Remove is_remote target check.
11824
9192b7de
PA
118252017-10-12 Pedro Alves <palves@redhat.com>
11826
11827 * gdb.base/auvx.exp (coredir): Update comment.
11828 (top level) <core_works>: Use "set cwd" command instead of "cd"
11829 command.
11830
6bf0052d
PA
118312017-10-12 Pedro Alves <palves@redhat.com>
11832 Simon Marchi <simon.marchi@polymtl.ca>
11833
11834 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11835 target boards.
11836
e48ef82d
PA
118372017-10-12 Pedro Alves <palves@redhat.com>
11838 Simon Marchi <simon.marchi@polymtl.ca>
11839
11840 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11841 Instead skip if there's any gdb_protocol set.
11842
8d7aea57
SM
118432017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11844 Pedro Alves <palves@redhat.com>
11845
11846 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11847
30440677
PA
118482017-10-12 Pedro Alves <palves@redhat.com>
11849 Simon Marchi <simon.marchi@polymtl.ca>
11850
11851 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11852 instead of on dejagnu remote boards.
11853
4e04f045 118542017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11855 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11856
11857 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11858 checks. Use build_executable + clean_restart instead of
11859 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11860 of enabling non-stop after starting gdb.
11861
871a186e
PA
118622017-10-12 Pedro Alves <palves@redhat.com>
11863
11864 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11865 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11866 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11867 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11868
56d704da
AK
118692017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11870
11871 * gdb.arch/arc-tdesc-cpu.exp: New file.
11872 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11873
2f20e312
SM
118742017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11875
11876 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11877
65630365
PA
118782017-10-10 Pedro Alves <palves@redhat.com>
11879
11880 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11881 expect CLI output.
11882
bf469271
PA
118832017-10-10 Pedro Alves <palves@redhat.com>
11884
11885 * lib/selftest-support.exp (selftest_setup): Update for
11886 captured_command_loop's prototype change.
11887
777a42f1
PA
118882017-10-09 Pedro Alves <palves@redhat.com>
11889
11890 Test both arch1=>arch2 and arch2=>arch1.
11891
11892 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11893 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11894 factored out to...
11895 (append_arch1_options, append_arch2_options, append_arch_options)
11896 (build_executables): New procedures.
11897 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11898 local.
11899 (top level): Add new 'first_arch' testing axis.
11900
cbd2b4e3
PA
119012017-10-09 Pedro Alves <palves@redhat.com>
11902
11903 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11904 (barrier): New.
11905 (thread_start, all_started): New functions.
11906 (main): Spawn new thread and wait until it is scheduled.
11907 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11908 option.
11909 (do_test): Add 'selected_thread' parameter. Run to all_started
11910 instead of main. Explicitly set the breakpoint at main. Switch
11911 to the SELECTED_THREAD thread.
11912 (top level): Test handling the exec event with either the main
11913 thread or the second thread selected.
11914
5c9e4427
PA
119152017-10-09 Pedro Alves <palves@redhat.com>
11916
11917 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11918 logic. Move STOP marker after the value checks.
11919 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11920 regexp.
11921
b3b7c423
SL
119222017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11923
11924 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11925
3b4b2f16
UW
119262017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11927
11928 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11929 integer-to-dfp conversion.
11930 * gdb.base/dfp-test.exp: Likewise.
11931
5cd63fda
PA
119322017-10-04 Pedro Alves <palves@redhat.com>
11933
11934 * gdb.multi/hangout.c: Include <unistd.h>.
11935 (hangout_loop): New function.
11936 (main): Call alarm. Call hangout_loop in a loop.
11937 * gdb.multi/hello.c: Include <unistd.h>.
11938 (hello_loop): New function.
11939 (main): Call alarm. Call hangout_loop in a loop.
11940 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11941 inferior with the other selected.
11942
4c71c105
SM
119432017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11944
11945 * gdb.mi/list-thread-groups-available.exp: New file.
11946 * gdb.mi/list-thread-groups-available.c: New file.
11947
bc3b087d
SDJ
119482017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11949
11950 * gdb.base/set-cwd.exp: Make it available on
11951 native-extended-gdbserver.
11952
d092c5a2
SDJ
119532017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11954
11955 * gdb.base/set-cwd.c: New file.
11956 * gdb.base/set-cwd.exp: Likewise.
11957
45320ffa
TT
119582017-10-02 Tom Tromey <tom@tromey.com>
11959
11960 PR rust/22236:
11961 * gdb.rust/simple.rs (main): New variable "fslice".
11962 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11963
b3e3859b
TT
119642017-10-02 Tom Tromey <tom@tromey.com>
11965
11966 * gdb.rust/simple.exp: Test ptype of a slice.
11967
01af5e0d
TT
119682017-10-02 Tom Tromey <tom@tromey.com>
11969
11970 * gdb.rust/simple.exp: Test index of slice.
11971
a9bbfbd8
TT
119722017-09-27 Tom Tromey <tom@tromey.com>
11973
11974 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11975
df8899e5
TP
119762017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11977 Pedro Alves <palves@redhat.com>
11978
11979 * gdb.base/compare-sections.exp (get value of read-only section): Read
11980 as unsigned value.
11981 (corrupt read-only section): Likewise and don't set written if patching
11982 failed.
11983
757bf54b
KB
119842017-09-21 Kevin Buettner <kevinb@redhat.com>
11985
11986 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11987 files.
11988
06871ae8
PA
119892017-09-20 Pedro Alves <palves@redhat.com>
11990
11991 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11992 symbol names in gdb's output.
11993 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11994
e5f25bc5
PA
119952017-09-20 Pedro Alves <palves@redhat.com>
11996
11997 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11998 Rename to ...
11999 (test_list_ambiguous_symbol): ... this and add a symbol name
12000 parameter. Adjust.
12001 (test_list_ambiguous_function): Reimplement on top of
12002 test_list_ambiguous_symbol and also test listing ambiguous
12003 variables.
12004 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12005 (ambiguous_fun): ... this.
12006 (ambiguous_var): New.
12007 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12008 (ambiguous_fun): ... this.
12009 (ambiguous_var): New.
12010
4e5a4f58
JB
120112017-09-19 John Baldwin <jhb@FreeBSD.org>
12012
12013 * gdb.base/starti.c: New file.
12014 * gdb.base/starti.exp: New file.
12015 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12016
26e53f3e
PA
120172017-09-14 Pedro Alves <palves@redhat.com>
12018
12019 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12020 (top level): Use it instead of runto.
12021
cb791d59
TT
120222017-09-11 Tom Tromey <tom@tromey.com>
12023
12024 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12025
7c96f8c1
TT
120262017-09-11 Tom Tromey <tom@tromey.com>
12027
12028 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12029 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12030
469412dd
CW
120312017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12032
12033 * gdb.fortran/printing-types.exp: New file.
12034 * gdb.fortran/printing-types.exp: New file.
12035
e0f86435
BH
120362017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12037
12038 * gdb.fortran/vla-ptype.exp: Fix typos.
12039 * gdb.fortran/vla-value.exp: Same.
12040
9e9af4be
BH
120412017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12042
12043 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12044 * gdb.mi/mi-var-child-f.exp: Likewise.
12045 * gdb.mi/mi-vla-fortran.exp: Likewise.
12046
a5ad232b 120472017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
12048 Christoph Weinmann <christoph.t.weinmann@intel.com>
12049 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
12050
12051 * gdb.fortran/ptr-indentation.f90: New file.
12052 * gdb.fortran/ptr-indentation.exp: New file.
12053
5aec60eb
TT
120542017-09-05 Tom Tromey <tom@tromey.com>
12055
12056 PR gdb/22010:
12057 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12058
8f8f8152
TP
120592017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12060
12061 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12062
fbd1b771
JK
120632017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12064
12065 * gdb.threads/tls-nodebug-pie.c: New file.
12066 * gdb.threads/tls-nodebug-pie.exp: New file.
12067
5eb5f850
TT
120682017-09-05 Tom Tromey <tom@tromey.com>
12069
12070 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12071 for rust.
12072
ae780a21
SM
120732017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12074
12075 * gdb.multi/multi-arch-exec.exp: Test with different
12076 "follow-exec-mode" settings.
12077 (do_test): New procedure.
12078
3693fdb3
PA
120792017-09-04 Pedro Alves <palves@redhat.com>
12080
12081 * gdb.base/func-static.c (S::method const, S::method volatile)
12082 (S::method volatile const): New methods.
12083 (c_s, v_s, cv_s): New instances.
12084 (main): Call method() on them.
12085 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12086 (cannot_resolve): New procedure.
12087 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12088 print-quote-unquoted columns.
12089 (do_test): Test printing each scope too.
12090
e68cb8e0
PA
120912017-09-04 Pedro Alves <palves@redhat.com>
12092
12093 * gdb.base/local-static.exp: Also test with
12094 class::method::variable wholly quoted.
12095 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12096
858be34c
PA
120972017-09-04 Pedro Alves <palves@redhat.com>
12098
12099 * gdb.base/local-static.c: New.
12100 * gdb.base/local-static.cc: New.
12101 * gdb.base/local-static.exp: New.
12102
46a4882b
PA
121032017-09-04 Pedro Alves <palves@redhat.com>
12104
12105 * gdb.asm/asm-source.exp: Add casts to int.
12106 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12107 (dataglobal64_1, dataglobal64_2): New globals.
12108 * gdb.base/nodebug.exp: Test different expressions involving the
12109 new globals, with print, whatis and ptype. Add casts to int.
12110 * gdb.base/solib-display.exp: Add casts to int.
12111 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12112 * gdb.cp/m-static.exp: Add cast to int.
12113 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12114 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12115 tls variable with no debug info without a cast. Test with a cast
12116 to int too.
12117 * gdb.trace/entry-values.exp: Add casts.
12118
2c5a2be1
PA
121192017-09-04 Pedro Alves <palves@redhat.com>
12120
12121 * gdb.base/nodebug.exp: Test that ptype's error about functions
12122 with unknown return type includes the function name too.
12123
7022349d
PA
121242017-09-04 Pedro Alves <palves@redhat.com>
12125
12126 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12127 return type of munmap in infcall.
12128 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12129 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12130 type of ftell in infcall.
12131 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12132 type of getpid in infcall.
12133 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12134 infcall.
12135 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12136 Bail on failure to extract the pid.
12137 * gdb.base/nodebug.c: #include <stdint.h>.
12138 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12139 New functions.
12140 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12141 Change expected output of print/whatis/ptype with functions with
12142 no debug info. Test all supported languages. Call
12143 test_call_promotion.
12144 * gdb.compile/compile.exp: Adjust expected output to expect
12145 warning.
12146 * gdb.threads/siginfo-threads.exp: Likewise.
12147
54990598
PA
121482017-09-04 Pedro Alves <palves@redhat.com>
12149
12150 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12151 "prototypes". Test calling float functions via prototyped and
12152 unprototyped function pointers.
12153 (perform_all_tests): New parameter "prototypes". Pass it down.
12154 (top level): Pass down "prototypes" parameter to
12155 perform_all_tests.
12156
34d16ea2
SM
121572017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12158
12159 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12160 Test with nested loops.
12161
9521ecda
SM
121622017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12163
12164 * gdb.base/commands.exp: Call the new procedures.
12165 (loop_break_test, loop_continue_test): New procedures.
12166
80a65e9b
SM
121672017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12168
12169 * gdb.base/commands.exp: Call new procedure.
12170 (define_if_without_arg_test): New procedure.
12171
e439fa14
PA
121722017-09-04 Pedro Alves <palves@redhat.com>
12173
12174 * gdb.base/list-ambiguous.exp: New file.
12175 * gdb.base/list-ambiguous0.c: New file.
12176 * gdb.base/list-ambiguous1.c: New file.
12177 * gdb.base/list.exp (test_list_range): Adjust expected output.
12178
0a2dde4a
SDJ
121792017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12180
12181 * gdb.base/share-env-with-gdbserver.c: New file.
12182 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12183
5e89eb3a
SM
121842017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12185
12186 * gdb.base/commands.exp (gdbvar_simple_if_test,
12187 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12188 progvar_simple_if_test, progvar_simple_while_test,
12189 progvar_complex_if_while_test, user_defined_command_test,
12190 user_defined_command_args_eval,
12191 user_defined_command_args_stack_test,
12192 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12193 temporary_breakpoint_commands,
12194 gdb_test_no_prompt, redefine_hook_test,
12195 redefine_backtrace_test): Remove "global gdb_prompt".
12196
fd437cbc
SM
121972017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12198
12199 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12200 New proc, call it from toplevel.
12201
87215ad1
SDJ
122022017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12203
12204 PR remote/21852
12205 * gdb.server/normal.c: New file, copied from gdb.base.
12206 * gdb.server/run-without-local-binary.exp: New file.
12207
58afddc6
WP
122082017-08-07 Weimin Pan <weimin.pan@oracle.com>
12209
12210 * gdb.arch/sparc64-adi.exp: New file.
12211 * gdb.arch/sparc64-adi.c: New file.
12212
5277199a
PA
122132017-08-22 Pedro Alves <palves@redhat.com>
12214
12215 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12216 (top level): Add "list all overloads" tests.
12217
14278e1f
TT
122182017-08-22 Tom Tromey <tom@tromey.com>
12219
12220 * gdb.gdb/xfullpath.exp: Remove.
12221
bf223d3e
PA
122222017-08-21 Pedro Alves <palves@redhat.com>
12223
12224 PR gdb/19487
12225 * gdb.base/symbol-alias.c: New.
12226 * gdb.base/symbol-alias2.c: New.
12227 * gdb.base/symbol-alias.exp: New.
12228
c973d0aa
PA
122292017-08-21 Pedro Alves <palves@redhat.com>
12230
12231 * gdb.base/dfp-test.c
12232 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12233 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12234 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12235 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12236 * gdb.base/whatis-ptype-typedefs.c: New.
12237 * gdb.base/whatis-ptype-typedefs.exp: New.
12238 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12239 (an_int, an_int_type, an_int_type2): New globals.
12240 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12241 involving typedefs and cast expressions.
12242 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12243 (lookup_typedefs_function): New.
12244 (typedefs_pretty_printers_dict): New.
12245 (top level): Register lookup_typedefs_function in
12246 gdb.pretty_printers.
12247
6d580b63
YQ
122482017-08-18 Yao Qi <yao.qi@linaro.org>
12249
12250 * gdb.server/unittest.exp: New.
12251
206726fb
SDJ
122522017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12253
12254 PR gdb/21954
12255 * gdb.base/environ.exp: Add test to check if 'unset environment'
12256 works.
12257
bf0ec4c2
AA
122582017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12259
12260 * lib/gdb.exp (universal_compile_options): New caching proc.
12261 (gdb_compile): Suppress GCC's coloring of messages.
12262
d6382fff
TT
122632017-08-14 Tom Tromey <tom@tromey.com>
12264
12265 PR gdb/21675:
12266 * gdb.base/printcmds.exp (test_radices): New function.
12267 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12268 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12269 * lib/gdb.exp (get_integer_valueof): Use p/d.
12270
c2c2dd9f
SM
122712017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12272
12273 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12274 characters.
12275
fdffd6f4
TT
122762017-08-05 Tom Tromey <tom@tromey.com>
12277
12278 * gdb.rust/simple.exp: Allow String to appear in a different
12279 namespace.
12280
27d41eac
YQ
122812017-07-26 Yao Qi <yao.qi@linaro.org>
12282
12283 * gdb.gdb/unittest.exp: Invoke command
12284 "maintenance check xml-descriptions".
12285
031ed05d
AA
122862017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12287
12288 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12289 calling context.
12290 (hex128): Drop erroneous calculation of parameters.
12291
dcd27ddf
SM
122922017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12293
12294 * gdb.python/py-unwind.exp: Disable stack protection when
12295 building test file.
12296
47e77640
PA
122972017-07-20 Pedro Alves <palves@redhat.com>
12298
12299 * gdb.base/default.exp (set language): Adjust expected output.
12300
62d2a18a
PA
123012017-07-20 Pedro Alves <palves@redhat.com>
12302
12303 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12304 (test_minsym): ... this, and make static.
12305 (get_pck__foo__bar__minsym): Rename to ...
12306 (get_test_minsym): ... this.
12307 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12308 symbol names and comments.
12309 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12310 (get_test_minsym): ... this.
12311 (pck__foo__bar__minsym__2): Rename to ...
12312 (test_minsym): ... this.
12313 (main): Adjust.
12314
c45ec17c
PA
123152017-07-17 Pedro Alves <palves@redhat.com>
12316
12317 * gdb.base/completion.exp: Adjust expected output.
12318 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12319 the completer works.
12320
c6756f62
PA
123212017-07-17 Pedro Alves <palves@redhat.com>
12322
12323 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12324
5bd68487
AB
123252017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12326
12327 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12328
8880f2a9
TT
123292017-07-14 Tom Tromey <tom@tromey.com>
12330
12331 PR rust/21764:
12332 * gdb.rust/simple.exp: Add tests.
12333
65547233
TT
123342017-07-14 Tom Tromey <tom@tromey.com>
12335
12336 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12337
8f14146e
PA
123382017-07-14 Pedro Alves <palves@redhat.com>
12339
12340 * gdb.linespec/base/one/thefile.cc (z1): New function.
12341 * gdb.linespec/base/two/thefile.cc (z2): New function.
12342 * gdb.linespec/linespec.exp: Add tests.
12343
b4365d02
AB
123442017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12345
12346 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12347 to mi_create_breakpoint.
12348
5d2cbaa5
AB
123492017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12350
12351 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12352 mi_create_breakpoint.
12353
11cb5716
IB
123542017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12355
12356 * gdb.dlang/demangle.exp: Update for demangling changes.
12357
03278692
TT
123582017-07-09 Tom Tromey <tom@tromey.com>
12359
12360 * gdb.dwarf2/shortpiece.exp: New file.
12361
33c5cd75
DB
123622017-07-06 David Blaikie <dblaikie@gmail.com>
12363
12364 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12365 built from fissiont-multi-cu{1,2}.c.
12366 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12367 except putting 'main' and 'func' in separate CUs in the same DWO file.
12368 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12369 test.
12370 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12371 test.
12372
8455d262
PA
123732017-07-06 Pedro Alves <palves@redhat.com>
12374
12375 * gdb.python/py-unwind.exp: Test flushregs.
12376
dc4bde35
SDJ
123772017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12378
12379 PR cli/21688
12380 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12381 tests for alias commands and trailing whitespace.
12382
51ed89aa
SDJ
123832017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12384
12385 PR cli/21688
12386 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12387 procedure. Call it.
12388
eb17d413
PA
123892017-06-29 Pedro Alves <palves@redhat.com>
12390
12391 * gdb.base/printcmds.exp: Add tests.
12392
41664b45
DG
123932017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12394
12395 PR gdb/21337
12396 * gdb.base/reread-readsym.exp: New file.
12397 * gdb.base/reread-readsym.c: New file.
12398
75312ae3
KB
123992017-06-21 Kevin Buettner <kevinb@redhat.com>
12400
12401 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12402 subpattern.
12403
66953522
PB
124042017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12405
12406 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12407 extended mnemonic.
12408 * gdb.arch/powerpc-power9.s: Likewise.
12409
5524b525
AA
124102017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12411
12412 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12413 on 32-bit x86 targets. Exploit is_*_target macros where
12414 appropriate.
12415
03c8af18
AA
124162017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12417
12418 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12419 register pieces.
12420
3bf31011
AA
124212017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12422
12423 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12424 located in one or more DWARF pieces.
12425
805acca0
AA
124262017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12427
12428 * lib/gdb.exp (get_endianness): New proc.
12429 * gdb.arch/aarch64-fp.exp: Use it.
12430 * gdb.arch/altivec-regs.exp: Likewise.
12431 * gdb.arch/e500-regs.exp: Likewise.
12432 * gdb.arch/vsx-regs.exp: Likewise.
12433 * gdb.base/dump.exp: Likewise.
12434 * gdb.base/funcargs.exp: Likewise.
12435 * gdb.base/gnu_vector.exp: Likewise.
12436 * gdb.dwarf2/formdata16.exp: Likewise.
12437 * gdb.dwarf2/implptrpiece.exp: Likewise.
12438 * gdb.dwarf2/nonvar-access.exp: Likewise.
12439 * gdb.python/py-inferior.exp: Likewise.
12440 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12441
e9352324
AA
124422017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12443
12444 PR gdb/21226
12445 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12446 stack value pieces are taken from the LSB end.
12447
d5d1163e
AA
124482017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12449
12450 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12451 variable at nonzero offset.
12452
0567c986
AA
124532017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12454
12455 * gdb.dwarf2/var-access.c: New file.
12456 * gdb.dwarf2/var-access.exp: New test.
12457 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12458
973e9aab
TT
124592017-06-12 Tom Tromey <tom@tromey.com>
12460
12461 * gdb.dwarf2/formdata16.exp: Add tests.
12462
d9109c80
TT
124632017-06-12 Tom Tromey <tom@tromey.com>
12464
12465 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12466
30a25466
TT
124672017-06-12 Tom Tromey <tom@tromey.com>
12468
12469 PR exp/16225:
12470 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12471 * gdb.arch/vsx-regs.exp: Update tests.
12472 * gdb.arch/s390-vregs.exp (hex128): New proc.
12473 Update test.
12474 * gdb.arch/altivec-regs.exp: Update tests.
12475
aefd8b33
SDJ
124762017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12477
12478 * gdb.base/startup-with-shell.c: New file.
12479 * gdb.base/startup-with-shell.exp: Likewise.
12480
2090129c
SDJ
124812017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12482
12483 * gdb.server/non-existing-program.exp: Update regex in order to
12484 reflect the fact that gdbserver is now using fork_inferior (with a
12485 shell) to startup the inferior.
12486
8e86a419
SM
124872017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12488
12489 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12490 support function calls from GDB.
12491
e6cf65f2
TT
124922017-05-21 Tom Tromey <tom@tromey.com>
12493
12494 PR rust/21466:
12495 * gdb.rust/unsized.exp: New file.
12496 * gdb.rust/unsized.rs: New file.
12497
43cc5389
TT
124982017-05-19 Tom Tromey <tom@tromey.com>
12499
12500 PR rust/21484:
12501 * gdb.rust/watch.exp: New file.
12502 * gdb.rust/watch.rs: New file.
12503
ec8df234
TT
125042017-05-18 Tom Tromey <tom@tromey.com>
12505
12506 * gdb.rust/simple.exp: Allow Box to be qualified.
12507
3e3e7fae
TP
125082017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12509
12510 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12511
59cc050d
PA
125122017-05-18 Pedro Alves <palves@redhat.com>
12513
12514 * gdb.base/fileio.c (test_write, test_read, test_close)
12515 (test_fstat): Don't print 'ret' in the fail path.
12516
c8f6abd1
PA
125172017-05-18 Pedro Alves <palves@redhat.com>
12518
12519 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12520 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12521 (test_system, test_rename, test_unlink, test_time): Change
12522 prototypes.
12523 * gdb.base/fileio.exp (stop_msg): Adjust.
12524
d2a03b77
PA
125252017-05-18 Pedro Alves <palves@redhat.com>
12526
12527 * gdb.base/fileio.c (null_str): New global.
12528 (test_stat): Use it.
12529 * gdb.base/fileio.exp: Remove nowarnings.
12530
0d5c6999
YQ
125312017-05-17 Yao Qi <yao.qi@linaro.org>
12532
12533 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12534
21873064
YQ
125352017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12536
12537 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12538 argument command.
12539 (top-level): Invoke test_set_inferior_tty.
12540
d512d31c
PA
125412017-05-04 Pedro Alves <palves@redhat.com>
12542
12543 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12544 Add parens to print call for Python 3.
12545
90cef2ed
KS
125462017-05-03 Keith Seitz <keiths@redhat.com>
12547
12548 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12549 (main): Call it.
12550
14f819c8
TW
125512017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12552
12553 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12554 to prev and next.
12555
913aeadd
TW
125562017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12557
12558 * gdb.python/py-record-btrace.exp: Remove test for
12559 gdb.BtraceInstruction.error.
12560
a3be24ad
TW
125612017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12562
12563 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12564
ae20e79a
TW
125652017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12566
12567 * gdb.python/py-record-btrace-threads.c: New file.
12568 * gdb.python/py-record-btrace-threads.exp: New file.
12569
45ce1b47
SDJ
125702017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12571
12572 PR testsuite/8595
12573 * gdb.base/environ.exp: Make test available in all architectures.
12574 Move bits related to "info program" testing to
12575 gdb.base/info-program.exp. Rewrite tests to use the two new
12576 procedures mentione below.
12577 (test_set_show_env_var) New procedure.
12578 (test_set_show_env_var_equal): Likewise.
12579 * gdb.base/info-program.exp: New file.
12580
e15c3eb4
KS
125812017-04-27 Keith Seitz <keiths@redhat.com>
12582
12583 * gdb.cp/oranking.cc (test15): New function.
12584 (main): Call test15 and declare additional variables for testing.
12585 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12586 "p foo101('abc')" tests.
12587 Add tests for cv qualifier overloads.
12588 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12589 "lvalue reference overload" test.
12590 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12591 "print value of f1 on Child&& in f2" test.
12592
3a3fd0fd
PA
125932017-04-19 Pedro Alves <palves@redhat.com>
12594
12595 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12596 procedure.
12597 (top level): Call it.
12598 * lib/gdb.exp (gdb_define_cmd): New procedure.
12599
53375380
PA
126002017-04-12 Pedro Alves <palves@redhat.com>
12601
12602 PR gdb/21323
12603 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12604 (wchar): New global.
12605 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12606 (do_test_wide_char, wide_char_types_no_program, top level): Add
12607 wchar_t testing.
12608
53e710ac
PA
126092017-04-12 Pedro Alves <palves@redhat.com>
12610
12611 PR c++/21323
12612 * gdb.cp/wide_char_types.c: New file.
12613 * gdb.cp/wide_char_types.exp: New file.
12614
0ad9d8c7
SDJ
126152017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12616
12617 PR gdb/21352
12618 * gdb.trace/tsv.exp: Add test for "tsave -r".
12619
b1b45502
IB
126202017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12621
12622 * gdb.dlang/watch-loc.c: New file.
12623 * gdb.dlang/watch-loc.exp: New file.
12624
ec13808e
JK
126252017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12626
12627 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12628
fe5f7374
AK
126292017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12630
12631 * gdb.arch/arc-analyze-prologue.S: New file.
12632 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12633
eea78757
AK
126342017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12635
12636 * gdb.arch/arc-decode-insn.S: New file.
12637 * gdb.arch/arc-decode-insn.exp: Likewise.
12638
5badf10a
IR
126392017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12640
12641 PR tdep/20928
12642 * gdb.arch/sparc64-regs.exp: New file.
12643 * gdb.arch/sparc64-regs.S: Likewise.
12644
cee59b3f
TW
126452017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12646
12647 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12648 and memory view on Python 3.
12649
c0f55cc6
AV
126502017-03-20 Artemiy Volkov <artemiyv@acm.org>
12651 Keith Seitz <keiths@redhat.com>
12652
12653 PR gdb/14441
12654 * gdb.cp/demangle.exp: Add rvalue reference tests.
12655 * gdb.cp/rvalue-ref-casts.cc: New file.
12656 * gdb.cp/rvalue-ref-casts.exp: New file.
12657 * gdb.cp/rvalue-ref-overload.cc: New file.
12658 * gdb.cp/rvalue-ref-overload.exp: New file.
12659 * gdb.cp/rvalue-ref-params.cc: New file.
12660 * gdb.cp/rvalue-ref-params.exp: New file.
12661 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12662 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12663 * gdb.cp/rvalue-ref-types.cc: New file.
12664 * gdb.cp/rvalue-ref-types.exp: New file.
12665 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12666 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12667
51457a05
MAL
126682017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12669
12670 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12671 New procedure.
12672
5b291c04
MAL
126732017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12674
12675 * lib/mi-support.exp (mi_gdb_test): Add additional message
12676 for unexpected output.
12677
59a56148
AA
126782017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12679
12680 * gdb.base/examine-backward.c (Barrier): New character array
12681 constant, to ensure that TestStrings is preceded by a string
12682 terminator.
12683
7942e96e
AA
126842017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12685
12686 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12687 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12688 and implicit pointer into such a location.
12689
6ebac3fb
DE
126902017-03-16 Doug Evans <dje@google.com>
12691
12692 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12693
ec3b243d
TP
126942017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12695
12696 * gdb.cp/m-static.exp: Fix expectation for prototype of
12697 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12698
126992017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12700
12701 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12702 * gdb.guile/scm-lazy-string.c: New file.
12703 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12704 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12705 for pointer, array, typedef lazy strings.
12706
2cc36e25 127072017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12708
12709 PR python/17728, python/18439, python/18779
12710 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12711 * gdb.python/py-lazy-string.c (pointer): New typedef.
12712 (main): New locals ptr, array, typedef_ptr.
12713 * gdb.python/py-value.exp: Move lazy string tests to ...
12714 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12715 array, typedef lazy strings.
ec3b243d 12716
0efcde63
AK
127172017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12718
12719 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12720 Add optional 'test' parameter.
12721
7978d7c3
SM
127222017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12723
12724 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12725 Skip for versions of DejaGnu < 1.5.
12726
896c0c1e
SM
127272017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12728
12729 * lib/gdb.exp (dejagnu_version): New proc.
12730 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12731 Use dejagnu_version.
12732
5f4d1085
KS
127332017-03-10 Keith Seitz <keiths@redhat.com>
12734
12735 PR c++/8128
12736 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12737 type from destructor regexps.
12738 Add a branch which actually passes the test.
12739 Adjust "ptype t5i" test names.
12740
1de05205
PA
127412017-03-08 Pedro Alves <palves@redhat.com>
12742
12743 * gdb.base/step-over-exit.exp: Add explicit test message.
12744
c65d6b55
PA
127452017-03-08 Pedro Alves <palves@redhat.com>
12746
12747 PR gdb/18360
12748 * gdb.threads/interrupt-while-step-over.c: New file.
12749 * gdb.threads/interrupt-while-step-over.exp: New file.
12750
2e86a283
PA
127512017-03-08 Pedro Alves <palves@redhat.com>
12752
12753 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12754 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12755
25dcbff6
PA
127562017-03-08 Pedro Alves <palves@redhat.com>
12757
12758 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12759 PKRU as not supported as a PASS.
12760
dc9366eb
PA
127612017-03-08 Pedro Alves <palves@redhat.com>
12762
12763 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12764 prefix instead of $binfile1/$binfile2.
12765 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12766 in test message.
12767 * gdb.python/py-completion.exp: Use "load python file" as test
12768 messages instead of unstable path names.
12769
6e5d74e7
PA
127702017-03-08 Pedro Alves <palves@redhat.com>
12771 Jan Kratochvil <jan.kratochvil@redhat.com>
12772
12773 PR cli/21218
12774 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12775 New proc.
12776 (top level): Call it.
12777
9753a2f6
PA
127782017-03-08 Pedro Alves <palves@redhat.com>
12779
12780 PR tui/21216
12781 * gdb.tui/tui-nl-filtered-output.exp: New file.
12782
1a4dd9dd
PA
127832017-03-08 Pedro Alves <palves@redhat.com>
12784
12785 * gdb.base/completion.exp: Move TUI completion tests to ...
12786 * gdb.tui/completion.exp: ... this new file.
12787
7cbbff33
PA
127882017-03-08 Pedro Alves <palves@redhat.com>
12789
12790 * gdb.base/tui-disasm-long-lines.c,
12791 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12792 gdb.base/tui-layout.exp: Move to ...
12793 * gdb.tui/: ... this new directory.
12794
5f6fd321
PA
127952017-03-07 Pedro Alves <palves@redhat.com>
12796
12797 * gdb.base/tui-layout.c: New file.
12798 * gdb.base/tui-layout.exp: New file.
12799
44959fa8
PA
128002017-03-07 Pedro Alves <palves@redhat.com>
12801
12802 * gdb.base/tui-layout.c: Rename to ...
12803 * gdb.base/tui-disasm-long-lines.c: ... this.
12804 * gdb.base/tui-layout.exp: Rename to ...
12805 * gdb.base/tui-disasm-long-lines.exp: ... this.
12806
f8c4e718
PA
128072017-03-07 Pedro Alves <palves@redhat.com>
12808
12809 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12810
6dbb839a 128112017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12812
12813 * i386-mpx-call.c: New file.
12814 * i386-mpx-call.exp: New file.
12815
65b48a81
PB
128162017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12817
12818 * gdb.arch/powerpc-power.exp: Delete test.
12819 * gdb.arch/powerpc-power.s: Likewise.
12820 * gdb.disasm/disassembler-options.exp: New test.
12821 * gdb.arch/powerpc-altivec.exp: Likewise.
12822 * gdb.arch/powerpc-altivec.s: Likewise.
12823 * gdb.arch/powerpc-altivec2.exp: Likewise.
12824 * gdb.arch/powerpc-altivec2.s: Likewise.
12825 * gdb.arch/powerpc-altivec3.exp: Likewise.
12826 * gdb.arch/powerpc-altivec3.s: Likewise.
12827 * gdb.arch/powerpc-power7.exp: Likewise.
12828 * gdb.arch/powerpc-power7.s: Likewise.
12829 * gdb.arch/powerpc-power8.exp: Likewise.
12830 * gdb.arch/powerpc-power8.s: Likewise.
12831 * gdb.arch/powerpc-power9.exp: Likewise.
12832 * gdb.arch/powerpc-power9.s: Likewise.
12833 * gdb.arch/powerpc-vsx.exp: Likewise.
12834 * gdb.arch/powerpc-vsx.s: Likewise.
12835 * gdb.arch/powerpc-vsx2.exp: Likewise.
12836 * gdb.arch/powerpc-vsx2.s: Likewise.
12837 * gdb.arch/powerpc-vsx3.exp: Likewise.
12838 * gdb.arch/powerpc-vsx3.s: Likewise.
12839 * gdb.arch/arm-disassembler-options.exp: Likewise.
12840 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12841 * gdb.arch/s390-disassembler-options.exp: Likewise.
12842
17cd4947
LM
128432017-02-23 Luis Machado <lgustavo@codesourcery.com>
12844
12845 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12846 (check_supported_features): ... this. Changed return type to void.
12847 (supports_rdseed): New static global.
12848 (rdseed): Check supports_rdseed.
12849 (initialize): Call check_supported_features.
12850
2039d74e
EBM
128512017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12852
12853 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12854 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12855 and lqarx/stqcx.
12856 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12857 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12858
a51d7ecf
EBM
128592017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12860
12861 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12862 uppercase.
12863
0224619f
JK
128642017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12865
12866 * gdb.dwarf2/formdata16.c: New file.
12867 * gdb.dwarf2/formdata16.exp: New file.
12868 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12869
216f72a1
JK
128702017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12871
12872 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12873 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12874 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12875 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12876 DW_AT_GNU_*.
12877
43988095
JK
128782017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12879
12880 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12881
99e8a4f9
SDJ
128822017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12883
12884 PR gdb/21164
12885 * gdb.base/maint.exp: Add testcases for when the commands do
12886 not have arguments.
12887
b58a8c0c
TP
128882017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12889
12890 * gdb.cp/chained-calls.exp: Use p instead of P.
12891
4e746bb6
TW
128922017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12893
12894 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12895 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12896
3f77c769
TT
128972017-02-14 Tom Tromey <tom@tromey.com>
12898
12899 PR python/13598:
12900 * gdb.python/py-events.exp: Add before_prompt event tests.
12901
075beec0
AA
129022017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12903
12904 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12905
bf5f525c
LM
129062017-02-13 Luis Machado <lgustavo@codesourcery.com>
12907
12908 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12909 (main): Call my_unique_function_name.
12910 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12911 completion of patterns with a single match.
12912 Add missing -re switches to gdb_test_multiple calls.
12913
13a66184
LM
129142017-02-13 Luis Machado <lgustavo@codesourcery.com>
12915
12916 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12917 return if core file is not recognized.
12918
26a06916
SM
129192017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12920
12921 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12922 and extra UIs.
12923
b761ca9e
SM
129242017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12925
12926 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12927 proc_with_prefix.
12928
b964bee0
TT
129292017-02-10 Tom Tromey <tom@tromey.com>
12930
12931 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12932
18da0c51
MG
129332017-02-10 Martin Galvan <martingalvan@sourceware.org>
12934
12935 PR gdb/21122
12936 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12937
604c4576
JG
129382017-02-08 Jerome Guitton <guitton@adacore.com>
12939
12940 * gdb.base/define.exp: Add test for command abbreviations
12941 in define.
12942
20b477a7
LM
129432017-02-06 Luis Machado <lgustavo@codesourcery.com>
12944
12945 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12946 * gdb.reverse/insn-reverse-x86.c: New file.
12947
3f7b46f2
IR
129482017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12949
12950 PR tdep/20936
12951 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12952
f0fd41c1
TT
129532017-02-03 Tom Tromey <tom@tromey.com>
12954
12955 PR rust/21097:
12956 * gdb.rust/simple.exp: Add new tests.
12957
5be5dbf0
PA
129582017-02-02 Pedro Alves <palves@redhat.com>
12959
12960 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12961 tests.
12962
7346ef59
AA
129632017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12964
12965 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12966 taking a 2-byte value out of a 4-byte DWARF implicit value on
12967 big-endian targets.
12968 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12969 logic. Add test cases for DW_OP_implicit.
12970
787f0025
MM
129712017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12972
12973 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12974
68777c29
MM
129752017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12976
12977 * gdb.btrace/enable.exp: Call gdb_exit before
12978 skip_gdbserver_tests.
12979
0a1c7e28
MM
129802017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12981
12982 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12983 GDBFLAGS.
12984
b5ac99b0
MM
129852017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12986
12987 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12988 the test is skipped.
12989 * gdb.btrace/data.exp: Likewise.
12990 * gdb.btrace/delta.exp: Likewise.
12991 * gdb.btrace/dlopen.exp: Likewise.
12992 * gdb.btrace/enable-running.exp: Likewise.
12993 * gdb.btrace/enable.exp: Likewise.
12994 * gdb.btrace/exception.exp: Likewise.
12995 * gdb.btrace/function_call_history.exp: Likewise.
12996 * gdb.btrace/gcore.exp: Likewise.
12997 * gdb.btrace/instruction_history.exp: Likewise.
12998 * gdb.btrace/multi-thread-step.exp: Likewise.
12999 * gdb.btrace/nohist.exp: Likewise.
13000 * gdb.btrace/non-stop.exp: Likewise.
13001 * gdb.btrace/reconnect.exp: Likewise.
13002 * gdb.btrace/record_goto-step.exp: Likewise.
13003 * gdb.btrace/record_goto.exp: Likewise.
13004 * gdb.btrace/rn-dl-bind.exp: Likewise.
13005 * gdb.btrace/segv.exp: Likewise.
13006 * gdb.btrace/step.exp: Likewise.
13007 * gdb.btrace/stepi.exp: Likewise.
13008 * gdb.btrace/tailcall-only.exp: Likewise.
13009 * gdb.btrace/tailcall.exp: Likewise.
13010 * gdb.btrace/tsx.exp: Likewise.
13011 * gdb.btrace/unknown_functions.exp: Likewise.
13012 * gdb.btrace/vdso.exp: Likewise.
13013
cd4007e4
MM
130142017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13015
13016 * gdb.btrace/enable-running.c: New.
13017 * gdb.btrace/enable-running.exp: New.
13018
2735833d
WT
130192017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13020
13021 * gdb.arch/amd64-gs_base.c: New file.
13022 * gdb.arch/amd64-gs_base.exp: New file.
13023
b51e1e94
LM
130242017-01-26 Luis Machado <lgustavo@codesourcery.com>
13025
13026 * lib/memory.exp: Remove spurious empty newlines.
13027
72ca0410
SM
130282017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13029
13030 * gdb.python/py-bad-printers.exp: Load python file using "source".
13031 * gdb.python/py-events.exp: Likewise.
13032 * gdb.python/py-evsignal.exp: Likewise.
13033 * gdb.python/py-evthreads.exp: Likewise.
13034 * gdb.python/py-frame-args.exp: Likewise.
13035 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13036 * gdb.python/py-framefilter-mi.exp: Likewise.
13037 * gdb.python/py-framefilter.exp: Likewise.
13038 * gdb.python/py-mi.exp: Likewise.
13039 * gdb.python/py-pp-maint.exp: Likewise.
13040 * gdb.python/py-pp-registration.exp: Likewise.
13041 * gdb.python/py-prettyprint.exp: Likewise.
13042 (run_lang_tests): Likewise.
13043 * gdb.python/py-typeprint.exp: Likewise.
13044
e309aa65
LM
130452017-01-26 Luis Machado <lgustavo@codesourcery.com>
13046
13047 * lib/memory.exp: New file.
13048 * lib/gdb.exp: Load memory.exp.
13049 * gdb.base/memattr.exp (delete_memory): Move proc to
13050 lib/memory.exp and rename to delete_memory_regions.
13051 Replace delete_memory with delete_memory_regions.
13052 Cleanup memory regions before tests.
13053 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13054 before tests.
13055
515aff23
LM
130562017-01-26 Luis Machado <lgustavo@codesourcery.com>
13057
13058 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13059 files.
13060 (initialize): New function conditionally defined.
13061 (testcases): Move within conditional block.
13062 (main): Call initialize.
13063 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13064 of gdb.reverse/insn-reverse.c.
13065 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13066 gdb.reverse/insn-reverse.c.
13067
d8b49cf0
YQ
130682017-01-26 Yao Qi <yao.qi@linaro.org>
13069
13070 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13071 disassemble on address 0.
13072
f13a9a0c
YQ
130732017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13074 Yao Qi <yao.qi@linaro.org>
13075
13076 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13077 * gdb.dwarf2/implptr-64bit.S: Remove.
13078 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13079 variables in caller's context. Add DW_OP_implicit_value.
13080
5ac95241
YQ
130812017-01-25 Yao Qi <yao.qi@linaro.org>
13082
13083 * lib/dwarf.exp (Dwarf::_location): Handle
13084 DW_OP_GNU_implicit_pointer with proper size.
13085
23e82930
LM
130862017-01-20 Luis Machado <lgustavo@codesourcery.com>
13087
13088 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13089 and add untested calls.
13090
d334ae25
LM
130912017-01-20 Luis Machado <lgustavo@codesourcery.com>
13092
13093 * gdb.python/python.exp: Check line number against what GDB thinks
13094 the line number is for func1.
13095
f5e6296e
IB
130962017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13097
13098 * gdb.dlang/debug-expr.exp: New file.
13099
5b362f04
LM
131002016-12-23 Luis Machado <lgustavo@codesourcery.com>
13101
13102 Fix test names for the following files:
13103
13104 * gdb.ada/exec_changed.exp
13105 * gdb.ada/info_types.exp
13106 * gdb.arch/aarch64-atomic-inst.exp
13107 * gdb.arch/aarch64-fp.exp
13108 * gdb.arch/altivec-abi.exp
13109 * gdb.arch/altivec-regs.exp
13110 * gdb.arch/amd64-byte.exp
13111 * gdb.arch/amd64-disp-step.exp
13112 * gdb.arch/amd64-dword.exp
13113 * gdb.arch/amd64-entry-value-inline.exp
13114 * gdb.arch/amd64-entry-value-param.exp
13115 * gdb.arch/amd64-entry-value-paramref.exp
13116 * gdb.arch/amd64-entry-value.exp
13117 * gdb.arch/amd64-i386-address.exp
13118 * gdb.arch/amd64-invalid-stack-middle.exp
13119 * gdb.arch/amd64-invalid-stack-top.exp
13120 * gdb.arch/amd64-optimout-repeat.exp
13121 * gdb.arch/amd64-prologue-skip.exp
13122 * gdb.arch/amd64-prologue-xmm.exp
13123 * gdb.arch/amd64-stap-special-operands.exp
13124 * gdb.arch/amd64-stap-wrong-subexp.exp
13125 * gdb.arch/amd64-tailcall-cxx.exp
13126 * gdb.arch/amd64-tailcall-noret.exp
13127 * gdb.arch/amd64-tailcall-ret.exp
13128 * gdb.arch/amd64-tailcall-self.exp
13129 * gdb.arch/amd64-word.exp
13130 * gdb.arch/arm-bl-branch-dest.exp
13131 * gdb.arch/arm-disp-step.exp
13132 * gdb.arch/arm-neon.exp
13133 * gdb.arch/arm-single-step-kernel-helper.exp
13134 * gdb.arch/avr-flash-qualifier.exp
13135 * gdb.arch/disp-step-insn-reloc.exp
13136 * gdb.arch/e500-abi.exp
13137 * gdb.arch/e500-regs.exp
13138 * gdb.arch/ftrace-insn-reloc.exp
13139 * gdb.arch/i386-avx512.exp
13140 * gdb.arch/i386-bp_permanent.exp
13141 * gdb.arch/i386-byte.exp
13142 * gdb.arch/i386-cfi-notcurrent.exp
13143 * gdb.arch/i386-disp-step.exp
13144 * gdb.arch/i386-dr3-watch.exp
13145 * gdb.arch/i386-float.exp
13146 * gdb.arch/i386-gnu-cfi.exp
13147 * gdb.arch/i386-mpx-map.exp
13148 * gdb.arch/i386-mpx-sigsegv.exp
13149 * gdb.arch/i386-mpx-simple_segv.exp
13150 * gdb.arch/i386-mpx.exp
13151 * gdb.arch/i386-permbkpt.exp
13152 * gdb.arch/i386-prologue.exp
13153 * gdb.arch/i386-signal.exp
13154 * gdb.arch/i386-size-overlap.exp
13155 * gdb.arch/i386-unwind.exp
13156 * gdb.arch/i386-word.exp
13157 * gdb.arch/mips-fcr.exp
13158 * gdb.arch/powerpc-d128-regs.exp
13159 * gdb.arch/powerpc-stackless.exp
13160 * gdb.arch/ppc64-atomic-inst.exp
13161 * gdb.arch/s390-stackless.exp
13162 * gdb.arch/s390-tdbregs.exp
13163 * gdb.arch/s390-vregs.exp
13164 * gdb.arch/sparc-sysstep.exp
13165 * gdb.arch/thumb-bx-pc.exp
13166 * gdb.arch/thumb-singlestep.exp
13167 * gdb.arch/thumb2-it.exp
13168 * gdb.arch/vsx-regs.exp
13169 * gdb.asm/asm-source.exp
13170 * gdb.base/a2-run.exp
13171 * gdb.base/advance.exp
13172 * gdb.base/all-bin.exp
13173 * gdb.base/anon.exp
13174 * gdb.base/args.exp
13175 * gdb.base/arithmet.exp
13176 * gdb.base/async-shell.exp
13177 * gdb.base/async.exp
13178 * gdb.base/attach-pie-noexec.exp
13179 * gdb.base/attach-twice.exp
13180 * gdb.base/auto-load.exp
13181 * gdb.base/bang.exp
13182 * gdb.base/bitfields.exp
13183 * gdb.base/break-always.exp
13184 * gdb.base/break-caller-line.exp
13185 * gdb.base/break-entry.exp
13186 * gdb.base/break-inline.exp
13187 * gdb.base/break-on-linker-gcd-function.exp
13188 * gdb.base/break-probes.exp
13189 * gdb.base/break.exp
13190 * gdb.base/breakpoint-shadow.exp
13191 * gdb.base/call-ar-st.exp
13192 * gdb.base/call-sc.exp
13193 * gdb.base/call-signal-resume.exp
13194 * gdb.base/call-strs.exp
13195 * gdb.base/callfuncs.exp
13196 * gdb.base/catch-fork-static.exp
13197 * gdb.base/catch-gdb-caused-signals.exp
13198 * gdb.base/catch-load.exp
13199 * gdb.base/catch-signal-fork.exp
13200 * gdb.base/catch-signal.exp
13201 * gdb.base/catch-syscall.exp
13202 * gdb.base/charset.exp
13203 * gdb.base/checkpoint.exp
13204 * gdb.base/chng-syms.exp
13205 * gdb.base/code-expr.exp
13206 * gdb.base/code_elim.exp
13207 * gdb.base/commands.exp
13208 * gdb.base/completion.exp
13209 * gdb.base/complex.exp
13210 * gdb.base/cond-expr.exp
13211 * gdb.base/condbreak.exp
13212 * gdb.base/consecutive.exp
13213 * gdb.base/continue-all-already-running.exp
13214 * gdb.base/coredump-filter.exp
13215 * gdb.base/corefile.exp
13216 * gdb.base/dbx.exp
13217 * gdb.base/debug-expr.exp
13218 * gdb.base/define.exp
13219 * gdb.base/del.exp
13220 * gdb.base/disabled-location.exp
13221 * gdb.base/disasm-end-cu.exp
13222 * gdb.base/disasm-optim.exp
13223 * gdb.base/display.exp
13224 * gdb.base/duplicate-bp.exp
13225 * gdb.base/ena-dis-br.exp
13226 * gdb.base/ending-run.exp
13227 * gdb.base/enumval.exp
13228 * gdb.base/environ.exp
13229 * gdb.base/eu-strip-infcall.exp
13230 * gdb.base/eval-avoid-side-effects.exp
13231 * gdb.base/eval-skip.exp
13232 * gdb.base/exitsignal.exp
13233 * gdb.base/expand-psymtabs.exp
13234 * gdb.base/filesym.exp
13235 * gdb.base/find-unmapped.exp
13236 * gdb.base/finish.exp
13237 * gdb.base/float.exp
13238 * gdb.base/foll-exec-mode.exp
13239 * gdb.base/foll-exec.exp
13240 * gdb.base/foll-fork.exp
13241 * gdb.base/fortran-sym-case.exp
13242 * gdb.base/freebpcmd.exp
13243 * gdb.base/func-ptr.exp
13244 * gdb.base/func-ptrs.exp
13245 * gdb.base/funcargs.exp
13246 * gdb.base/gcore-buffer-overflow.exp
13247 * gdb.base/gcore-relro-pie.exp
13248 * gdb.base/gcore-relro.exp
13249 * gdb.base/gcore.exp
13250 * gdb.base/gdb1090.exp
13251 * gdb.base/gdb11530.exp
13252 * gdb.base/gdb11531.exp
13253 * gdb.base/gdb1821.exp
13254 * gdb.base/gdbindex-stabs.exp
13255 * gdb.base/gdbvars.exp
13256 * gdb.base/hbreak.exp
13257 * gdb.base/hbreak2.exp
13258 * gdb.base/included.exp
13259 * gdb.base/infcall-input.exp
13260 * gdb.base/inferior-died.exp
13261 * gdb.base/infnan.exp
13262 * gdb.base/info-macros.exp
13263 * gdb.base/info-os.exp
13264 * gdb.base/info-proc.exp
13265 * gdb.base/info-shared.exp
13266 * gdb.base/info-target.exp
13267 * gdb.base/infoline.exp
13268 * gdb.base/interp.exp
13269 * gdb.base/interrupt.exp
13270 * gdb.base/jit-reader.exp
13271 * gdb.base/jit-simple.exp
13272 * gdb.base/kill-after-signal.exp
13273 * gdb.base/kill-detach-inferiors-cmd.exp
13274 * gdb.base/label.exp
13275 * gdb.base/langs.exp
13276 * gdb.base/ldbl_e308.exp
13277 * gdb.base/line-symtabs.exp
13278 * gdb.base/linespecs.exp
13279 * gdb.base/list.exp
13280 * gdb.base/long_long.exp
13281 * gdb.base/longest-types.exp
13282 * gdb.base/maint.exp
13283 * gdb.base/max-value-size.exp
13284 * gdb.base/memattr.exp
13285 * gdb.base/mips_pro.exp
13286 * gdb.base/morestack.exp
13287 * gdb.base/moribund-step.exp
13288 * gdb.base/multi-forks.exp
13289 * gdb.base/nested-addr.exp
13290 * gdb.base/nextoverexit.exp
13291 * gdb.base/noreturn-finish.exp
13292 * gdb.base/noreturn-return.exp
13293 * gdb.base/nostdlib.exp
13294 * gdb.base/offsets.exp
13295 * gdb.base/opaque.exp
13296 * gdb.base/pc-fp.exp
13297 * gdb.base/permissions.exp
13298 * gdb.base/print-symbol-loading.exp
13299 * gdb.base/prologue-include.exp
13300 * gdb.base/psymtab.exp
13301 * gdb.base/ptype.exp
13302 * gdb.base/random-signal.exp
13303 * gdb.base/randomize.exp
13304 * gdb.base/range-stepping.exp
13305 * gdb.base/readline-ask.exp
13306 * gdb.base/recpar.exp
13307 * gdb.base/recurse.exp
13308 * gdb.base/relational.exp
13309 * gdb.base/restore.exp
13310 * gdb.base/return-nodebug.exp
13311 * gdb.base/return.exp
13312 * gdb.base/run-after-attach.exp
13313 * gdb.base/save-bp.exp
13314 * gdb.base/scope.exp
13315 * gdb.base/sect-cmd.exp
13316 * gdb.base/set-lang-auto.exp
13317 * gdb.base/set-noassign.exp
13318 * gdb.base/setvar.exp
13319 * gdb.base/sigall.exp
13320 * gdb.base/sigbpt.exp
13321 * gdb.base/siginfo-addr.exp
13322 * gdb.base/siginfo-infcall.exp
13323 * gdb.base/siginfo-obj.exp
13324 * gdb.base/siginfo.exp
13325 * gdb.base/signals-state-child.exp
13326 * gdb.base/signest.exp
13327 * gdb.base/sigstep.exp
13328 * gdb.base/sizeof.exp
13329 * gdb.base/skip.exp
13330 * gdb.base/solib-corrupted.exp
13331 * gdb.base/solib-nodir.exp
13332 * gdb.base/solib-search.exp
13333 * gdb.base/stack-checking.exp
13334 * gdb.base/stale-infcall.exp
13335 * gdb.base/stap-probe.exp
13336 * gdb.base/start.exp
13337 * gdb.base/step-break.exp
13338 * gdb.base/step-bt.exp
13339 * gdb.base/step-line.exp
13340 * gdb.base/step-over-exit.exp
13341 * gdb.base/step-over-syscall.exp
13342 * gdb.base/step-resume-infcall.exp
13343 * gdb.base/step-test.exp
13344 * gdb.base/store.exp
13345 * gdb.base/structs3.exp
13346 * gdb.base/sym-file.exp
13347 * gdb.base/symbol-without-target_section.exp
13348 * gdb.base/term.exp
13349 * gdb.base/testenv.exp
13350 * gdb.base/ui-redirect.exp
13351 * gdb.base/until.exp
13352 * gdb.base/unwindonsignal.exp
13353 * gdb.base/value-double-free.exp
13354 * gdb.base/vla-datatypes.exp
13355 * gdb.base/vla-ptr.exp
13356 * gdb.base/vla-sideeffect.exp
13357 * gdb.base/volatile.exp
13358 * gdb.base/watch-cond-infcall.exp
13359 * gdb.base/watch-cond.exp
13360 * gdb.base/watch-non-mem.exp
13361 * gdb.base/watch-read.exp
13362 * gdb.base/watch-vfork.exp
13363 * gdb.base/watchpoint-cond-gone.exp
13364 * gdb.base/watchpoint-delete.exp
13365 * gdb.base/watchpoint-hw-hit-once.exp
13366 * gdb.base/watchpoint-hw.exp
13367 * gdb.base/watchpoint-stops-at-right-insn.exp
13368 * gdb.base/watchpoints.exp
13369 * gdb.base/wchar.exp
13370 * gdb.base/whatis-exp.exp
13371 * gdb.btrace/buffer-size.exp
13372 * gdb.btrace/data.exp
13373 * gdb.btrace/delta.exp
13374 * gdb.btrace/dlopen.exp
13375 * gdb.btrace/enable.exp
13376 * gdb.btrace/exception.exp
13377 * gdb.btrace/function_call_history.exp
13378 * gdb.btrace/gcore.exp
13379 * gdb.btrace/instruction_history.exp
13380 * gdb.btrace/nohist.exp
13381 * gdb.btrace/reconnect.exp
13382 * gdb.btrace/record_goto-step.exp
13383 * gdb.btrace/record_goto.exp
13384 * gdb.btrace/rn-dl-bind.exp
13385 * gdb.btrace/segv.exp
13386 * gdb.btrace/step.exp
13387 * gdb.btrace/stepi.exp
13388 * gdb.btrace/tailcall-only.exp
13389 * gdb.btrace/tailcall.exp
13390 * gdb.btrace/tsx.exp
13391 * gdb.btrace/unknown_functions.exp
13392 * gdb.btrace/vdso.exp
13393 * gdb.compile/compile-ifunc.exp
13394 * gdb.compile/compile-ops.exp
13395 * gdb.compile/compile-print.exp
13396 * gdb.compile/compile-setjmp.exp
13397 * gdb.cp/abstract-origin.exp
13398 * gdb.cp/ambiguous.exp
13399 * gdb.cp/annota2.exp
13400 * gdb.cp/annota3.exp
13401 * gdb.cp/anon-ns.exp
13402 * gdb.cp/anon-struct.exp
13403 * gdb.cp/anon-union.exp
13404 * gdb.cp/arg-reference.exp
13405 * gdb.cp/baseenum.exp
13406 * gdb.cp/bool.exp
13407 * gdb.cp/breakpoint.exp
13408 * gdb.cp/bs15503.exp
13409 * gdb.cp/call-c.exp
13410 * gdb.cp/casts.exp
13411 * gdb.cp/chained-calls.exp
13412 * gdb.cp/class2.exp
13413 * gdb.cp/classes.exp
13414 * gdb.cp/cmpd-minsyms.exp
13415 * gdb.cp/converts.exp
13416 * gdb.cp/cp-relocate.exp
13417 * gdb.cp/cpcompletion.exp
13418 * gdb.cp/cpexprs.exp
13419 * gdb.cp/cplabel.exp
13420 * gdb.cp/cplusfuncs.exp
13421 * gdb.cp/cpsizeof.exp
13422 * gdb.cp/ctti.exp
13423 * gdb.cp/derivation.exp
13424 * gdb.cp/destrprint.exp
13425 * gdb.cp/dispcxx.exp
13426 * gdb.cp/enum-class.exp
13427 * gdb.cp/exception.exp
13428 * gdb.cp/exceptprint.exp
13429 * gdb.cp/expand-psymtabs-cxx.exp
13430 * gdb.cp/expand-sals.exp
13431 * gdb.cp/extern-c.exp
13432 * gdb.cp/filename.exp
13433 * gdb.cp/formatted-ref.exp
13434 * gdb.cp/fpointer.exp
13435 * gdb.cp/gdb1355.exp
13436 * gdb.cp/gdb2495.exp
13437 * gdb.cp/hang.exp
13438 * gdb.cp/impl-this.exp
13439 * gdb.cp/infcall-dlopen.exp
13440 * gdb.cp/inherit.exp
13441 * gdb.cp/iostream.exp
13442 * gdb.cp/koenig.exp
13443 * gdb.cp/local.exp
13444 * gdb.cp/m-data.exp
13445 * gdb.cp/m-static.exp
13446 * gdb.cp/mb-ctor.exp
13447 * gdb.cp/mb-inline.exp
13448 * gdb.cp/mb-templates.exp
13449 * gdb.cp/member-name.exp
13450 * gdb.cp/member-ptr.exp
13451 * gdb.cp/meth-typedefs.exp
13452 * gdb.cp/method.exp
13453 * gdb.cp/method2.exp
13454 * gdb.cp/minsym-fallback.exp
13455 * gdb.cp/misc.exp
13456 * gdb.cp/namelessclass.exp
13457 * gdb.cp/namespace-enum.exp
13458 * gdb.cp/namespace-nested-import.exp
13459 * gdb.cp/namespace.exp
13460 * gdb.cp/nextoverthrow.exp
13461 * gdb.cp/no-dmgl-verbose.exp
13462 * gdb.cp/non-trivial-retval.exp
13463 * gdb.cp/noparam.exp
13464 * gdb.cp/nsdecl.exp
13465 * gdb.cp/nsimport.exp
13466 * gdb.cp/nsnested.exp
13467 * gdb.cp/nsnoimports.exp
13468 * gdb.cp/nsrecurs.exp
13469 * gdb.cp/nsstress.exp
13470 * gdb.cp/nsusing.exp
13471 * gdb.cp/operator.exp
13472 * gdb.cp/oranking.exp
13473 * gdb.cp/overload-const.exp
13474 * gdb.cp/overload.exp
13475 * gdb.cp/ovldbreak.exp
13476 * gdb.cp/ovsrch.exp
13477 * gdb.cp/paren-type.exp
13478 * gdb.cp/parse-lang.exp
13479 * gdb.cp/pass-by-ref.exp
13480 * gdb.cp/pr-1023.exp
13481 * gdb.cp/pr-1210.exp
13482 * gdb.cp/pr-574.exp
13483 * gdb.cp/pr10687.exp
13484 * gdb.cp/pr12028.exp
13485 * gdb.cp/pr17132.exp
13486 * gdb.cp/pr17494.exp
13487 * gdb.cp/pr9067.exp
13488 * gdb.cp/pr9167.exp
13489 * gdb.cp/pr9631.exp
13490 * gdb.cp/printmethod.exp
13491 * gdb.cp/psmang.exp
13492 * gdb.cp/psymtab-parameter.exp
13493 * gdb.cp/ptype-cv-cp.exp
13494 * gdb.cp/ptype-flags.exp
13495 * gdb.cp/re-set-overloaded.exp
13496 * gdb.cp/ref-types.exp
13497 * gdb.cp/rtti.exp
13498 * gdb.cp/scope-err.exp
13499 * gdb.cp/shadow.exp
13500 * gdb.cp/smartp.exp
13501 * gdb.cp/static-method.exp
13502 * gdb.cp/static-print-quit.exp
13503 * gdb.cp/temargs.exp
13504 * gdb.cp/templates.exp
13505 * gdb.cp/try_catch.exp
13506 * gdb.cp/typedef-operator.exp
13507 * gdb.cp/typeid.exp
13508 * gdb.cp/userdef.exp
13509 * gdb.cp/using-crash.exp
13510 * gdb.cp/var-tag.exp
13511 * gdb.cp/virtbase.exp
13512 * gdb.cp/virtfunc.exp
13513 * gdb.cp/virtfunc2.exp
13514 * gdb.cp/vla-cxx.exp
13515 * gdb.disasm/t01_mov.exp
13516 * gdb.disasm/t02_mova.exp
13517 * gdb.disasm/t03_add.exp
13518 * gdb.disasm/t04_sub.exp
13519 * gdb.disasm/t05_cmp.exp
13520 * gdb.disasm/t06_ari2.exp
13521 * gdb.disasm/t07_ari3.exp
13522 * gdb.disasm/t08_or.exp
13523 * gdb.disasm/t09_xor.exp
13524 * gdb.disasm/t10_and.exp
13525 * gdb.disasm/t11_logs.exp
13526 * gdb.disasm/t12_bit.exp
13527 * gdb.disasm/t13_otr.exp
13528 * gdb.dlang/circular.exp
13529 * gdb.dwarf2/arr-stride.exp
13530 * gdb.dwarf2/arr-subrange.exp
13531 * gdb.dwarf2/atomic-type.exp
13532 * gdb.dwarf2/bad-regnum.exp
13533 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13534 * gdb.dwarf2/callframecfa.exp
13535 * gdb.dwarf2/clztest.exp
13536 * gdb.dwarf2/corrupt.exp
13537 * gdb.dwarf2/data-loc.exp
13538 * gdb.dwarf2/dup-psym.exp
13539 * gdb.dwarf2/dw2-anon-mptr.exp
13540 * gdb.dwarf2/dw2-anonymous-func.exp
13541 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13542 * gdb.dwarf2/dw2-bad-unresolved.exp
13543 * gdb.dwarf2/dw2-basic.exp
13544 * gdb.dwarf2/dw2-canonicalize-type.exp
13545 * gdb.dwarf2/dw2-case-insensitive.exp
13546 * gdb.dwarf2/dw2-common-block.exp
13547 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13548 * gdb.dwarf2/dw2-compressed.exp
13549 * gdb.dwarf2/dw2-const.exp
13550 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13551 * gdb.dwarf2/dw2-cu-size.exp
13552 * gdb.dwarf2/dw2-dup-frame.exp
13553 * gdb.dwarf2/dw2-entry-value.exp
13554 * gdb.dwarf2/dw2-icycle.exp
13555 * gdb.dwarf2/dw2-ifort-parameter.exp
13556 * gdb.dwarf2/dw2-inline-break.exp
13557 * gdb.dwarf2/dw2-inline-param.exp
13558 * gdb.dwarf2/dw2-intercu.exp
13559 * gdb.dwarf2/dw2-intermix.exp
13560 * gdb.dwarf2/dw2-lexical-block-bare.exp
13561 * gdb.dwarf2/dw2-linkage-name-trust.exp
13562 * gdb.dwarf2/dw2-minsym-in-cu.exp
13563 * gdb.dwarf2/dw2-noloc.exp
13564 * gdb.dwarf2/dw2-op-call.exp
13565 * gdb.dwarf2/dw2-op-out-param.exp
13566 * gdb.dwarf2/dw2-opt-structptr.exp
13567 * gdb.dwarf2/dw2-param-error.exp
13568 * gdb.dwarf2/dw2-producer.exp
13569 * gdb.dwarf2/dw2-ranges-base.exp
13570 * gdb.dwarf2/dw2-ref-missing-frame.exp
13571 * gdb.dwarf2/dw2-reg-undefined.exp
13572 * gdb.dwarf2/dw2-regno-invalid.exp
13573 * gdb.dwarf2/dw2-restore.exp
13574 * gdb.dwarf2/dw2-restrict.exp
13575 * gdb.dwarf2/dw2-single-line-discriminators.exp
13576 * gdb.dwarf2/dw2-strp.exp
13577 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13578 * gdb.dwarf2/dw2-unresolved.exp
13579 * gdb.dwarf2/dw2-var-zero-addr.exp
13580 * gdb.dwarf2/dw4-sig-types.exp
13581 * gdb.dwarf2/dwz.exp
13582 * gdb.dwarf2/dynarr-ptr.exp
13583 * gdb.dwarf2/enum-type.exp
13584 * gdb.dwarf2/gdb-index.exp
13585 * gdb.dwarf2/implptr-64bit.exp
13586 * gdb.dwarf2/implptr-optimized-out.exp
13587 * gdb.dwarf2/implptr.exp
13588 * gdb.dwarf2/implref-array.exp
13589 * gdb.dwarf2/implref-const.exp
13590 * gdb.dwarf2/implref-global.exp
13591 * gdb.dwarf2/implref-struct.exp
13592 * gdb.dwarf2/mac-fileno.exp
13593 * gdb.dwarf2/main-subprogram.exp
13594 * gdb.dwarf2/member-ptr-forwardref.exp
13595 * gdb.dwarf2/method-ptr.exp
13596 * gdb.dwarf2/missing-sig-type.exp
13597 * gdb.dwarf2/nonvar-access.exp
13598 * gdb.dwarf2/opaque-type-lookup.exp
13599 * gdb.dwarf2/pieces-optimized-out.exp
13600 * gdb.dwarf2/pieces.exp
13601 * gdb.dwarf2/pr10770.exp
13602 * gdb.dwarf2/pr13961.exp
13603 * gdb.dwarf2/staticvirtual.exp
13604 * gdb.dwarf2/subrange.exp
13605 * gdb.dwarf2/symtab-producer.exp
13606 * gdb.dwarf2/trace-crash.exp
13607 * gdb.dwarf2/typeddwarf.exp
13608 * gdb.dwarf2/valop.exp
13609 * gdb.dwarf2/watch-notconst.exp
13610 * gdb.fortran/array-element.exp
13611 * gdb.fortran/charset.exp
13612 * gdb.fortran/common-block.exp
13613 * gdb.fortran/complex.exp
13614 * gdb.fortran/derived-type-function.exp
13615 * gdb.fortran/derived-type.exp
13616 * gdb.fortran/logical.exp
13617 * gdb.fortran/module.exp
13618 * gdb.fortran/multi-dim.exp
13619 * gdb.fortran/nested-funcs.exp
13620 * gdb.fortran/print-formatted.exp
13621 * gdb.fortran/subarray.exp
13622 * gdb.fortran/vla-alloc-assoc.exp
13623 * gdb.fortran/vla-datatypes.exp
13624 * gdb.fortran/vla-history.exp
13625 * gdb.fortran/vla-ptr-info.exp
13626 * gdb.fortran/vla-ptype-sub.exp
13627 * gdb.fortran/vla-ptype.exp
13628 * gdb.fortran/vla-sizeof.exp
13629 * gdb.fortran/vla-type.exp
13630 * gdb.fortran/vla-value-sub-arbitrary.exp
13631 * gdb.fortran/vla-value-sub-finish.exp
13632 * gdb.fortran/vla-value-sub.exp
13633 * gdb.fortran/vla-value.exp
13634 * gdb.fortran/whatis_type.exp
13635 * gdb.go/chan.exp
13636 * gdb.go/handcall.exp
13637 * gdb.go/hello.exp
13638 * gdb.go/integers.exp
13639 * gdb.go/methods.exp
13640 * gdb.go/package.exp
13641 * gdb.go/strings.exp
13642 * gdb.go/types.exp
13643 * gdb.go/unsafe.exp
13644 * gdb.guile/scm-arch.exp
13645 * gdb.guile/scm-block.exp
13646 * gdb.guile/scm-breakpoint.exp
13647 * gdb.guile/scm-cmd.exp
13648 * gdb.guile/scm-disasm.exp
13649 * gdb.guile/scm-equal.exp
13650 * gdb.guile/scm-frame-args.exp
13651 * gdb.guile/scm-frame-inline.exp
13652 * gdb.guile/scm-frame.exp
13653 * gdb.guile/scm-iterator.exp
13654 * gdb.guile/scm-math.exp
13655 * gdb.guile/scm-objfile.exp
13656 * gdb.guile/scm-ports.exp
13657 * gdb.guile/scm-symbol.exp
13658 * gdb.guile/scm-symtab.exp
13659 * gdb.guile/scm-value-cc.exp
13660 * gdb.guile/types-module.exp
13661 * gdb.linespec/break-ask.exp
13662 * gdb.linespec/cpexplicit.exp
13663 * gdb.linespec/explicit.exp
13664 * gdb.linespec/keywords.exp
13665 * gdb.linespec/linespec.exp
13666 * gdb.linespec/ls-dollar.exp
13667 * gdb.linespec/ls-errs.exp
13668 * gdb.linespec/skip-two.exp
13669 * gdb.linespec/thread.exp
13670 * gdb.mi/mi-async.exp
13671 * gdb.mi/mi-basics.exp
13672 * gdb.mi/mi-break.exp
13673 * gdb.mi/mi-catch-load.exp
13674 * gdb.mi/mi-cli.exp
13675 * gdb.mi/mi-cmd-param-changed.exp
13676 * gdb.mi/mi-console.exp
13677 * gdb.mi/mi-detach.exp
13678 * gdb.mi/mi-disassemble.exp
13679 * gdb.mi/mi-eval.exp
13680 * gdb.mi/mi-file-transfer.exp
13681 * gdb.mi/mi-file.exp
13682 * gdb.mi/mi-fill-memory.exp
13683 * gdb.mi/mi-inheritance-syntax-error.exp
13684 * gdb.mi/mi-linespec-err-cp.exp
13685 * gdb.mi/mi-logging.exp
13686 * gdb.mi/mi-memory-changed.exp
13687 * gdb.mi/mi-read-memory.exp
13688 * gdb.mi/mi-record-changed.exp
13689 * gdb.mi/mi-reg-undefined.exp
13690 * gdb.mi/mi-regs.exp
13691 * gdb.mi/mi-return.exp
13692 * gdb.mi/mi-reverse.exp
13693 * gdb.mi/mi-simplerun.exp
13694 * gdb.mi/mi-solib.exp
13695 * gdb.mi/mi-stack.exp
13696 * gdb.mi/mi-stepi.exp
13697 * gdb.mi/mi-syn-frame.exp
13698 * gdb.mi/mi-until.exp
13699 * gdb.mi/mi-var-block.exp
13700 * gdb.mi/mi-var-child.exp
13701 * gdb.mi/mi-var-cmd.exp
13702 * gdb.mi/mi-var-cp.exp
13703 * gdb.mi/mi-var-display.exp
13704 * gdb.mi/mi-var-invalidate.exp
13705 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13706 * gdb.mi/mi-vla-fortran.exp
13707 * gdb.mi/mi-watch.exp
13708 * gdb.mi/mi2-var-child.exp
13709 * gdb.mi/user-selected-context-sync.exp
13710 * gdb.modula2/unbounded-array.exp
13711 * gdb.multi/dummy-frame-restore.exp
13712 * gdb.multi/multi-arch-exec.exp
13713 * gdb.multi/multi-arch.exp
13714 * gdb.multi/tids.exp
13715 * gdb.multi/watchpoint-multi.exp
13716 * gdb.opencl/callfuncs.exp
13717 * gdb.opencl/convs_casts.exp
13718 * gdb.opencl/datatypes.exp
13719 * gdb.opencl/operators.exp
13720 * gdb.opencl/vec_comps.exp
13721 * gdb.opt/clobbered-registers-O2.exp
13722 * gdb.opt/inline-break.exp
13723 * gdb.opt/inline-bt.exp
13724 * gdb.opt/inline-cmds.exp
13725 * gdb.opt/inline-locals.exp
13726 * gdb.pascal/case-insensitive-symbols.exp
13727 * gdb.pascal/floats.exp
13728 * gdb.pascal/gdb11492.exp
13729 * gdb.python/lib-types.exp
13730 * gdb.python/py-arch.exp
13731 * gdb.python/py-as-string.exp
13732 * gdb.python/py-bad-printers.exp
13733 * gdb.python/py-block.exp
13734 * gdb.python/py-breakpoint-create-fail.exp
13735 * gdb.python/py-breakpoint.exp
13736 * gdb.python/py-caller-is.exp
13737 * gdb.python/py-cmd.exp
13738 * gdb.python/py-explore-cc.exp
13739 * gdb.python/py-explore.exp
13740 * gdb.python/py-finish-breakpoint.exp
13741 * gdb.python/py-finish-breakpoint2.exp
13742 * gdb.python/py-frame-args.exp
13743 * gdb.python/py-frame-inline.exp
13744 * gdb.python/py-frame.exp
13745 * gdb.python/py-framefilter-mi.exp
13746 * gdb.python/py-infthread.exp
13747 * gdb.python/py-lazy-string.exp
13748 * gdb.python/py-linetable.exp
13749 * gdb.python/py-mi-events.exp
13750 * gdb.python/py-mi-objfile.exp
13751 * gdb.python/py-mi.exp
13752 * gdb.python/py-objfile.exp
13753 * gdb.python/py-pp-integral.exp
13754 * gdb.python/py-pp-maint.exp
13755 * gdb.python/py-pp-re-notag.exp
13756 * gdb.python/py-pp-registration.exp
13757 * gdb.python/py-recurse-unwind.exp
13758 * gdb.python/py-strfns.exp
13759 * gdb.python/py-symbol.exp
13760 * gdb.python/py-symtab.exp
13761 * gdb.python/py-sync-interp.exp
13762 * gdb.python/py-typeprint.exp
13763 * gdb.python/py-unwind-maint.exp
13764 * gdb.python/py-unwind.exp
13765 * gdb.python/py-value-cc.exp
13766 * gdb.python/py-xmethods.exp
13767 * gdb.reverse/amd64-tailcall-reverse.exp
13768 * gdb.reverse/break-precsave.exp
13769 * gdb.reverse/break-reverse.exp
13770 * gdb.reverse/consecutive-precsave.exp
13771 * gdb.reverse/consecutive-reverse.exp
13772 * gdb.reverse/finish-precsave.exp
13773 * gdb.reverse/finish-reverse-bkpt.exp
13774 * gdb.reverse/finish-reverse.exp
13775 * gdb.reverse/fstatat-reverse.exp
13776 * gdb.reverse/getresuid-reverse.exp
13777 * gdb.reverse/i386-precsave.exp
13778 * gdb.reverse/i386-reverse.exp
13779 * gdb.reverse/i386-sse-reverse.exp
13780 * gdb.reverse/i387-env-reverse.exp
13781 * gdb.reverse/i387-stack-reverse.exp
13782 * gdb.reverse/insn-reverse.exp
13783 * gdb.reverse/machinestate-precsave.exp
13784 * gdb.reverse/machinestate.exp
13785 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13786 * gdb.reverse/pipe-reverse.exp
13787 * gdb.reverse/readv-reverse.exp
13788 * gdb.reverse/recvmsg-reverse.exp
13789 * gdb.reverse/rerun-prec.exp
13790 * gdb.reverse/s390-mvcle.exp
13791 * gdb.reverse/step-precsave.exp
13792 * gdb.reverse/step-reverse.exp
13793 * gdb.reverse/time-reverse.exp
13794 * gdb.reverse/until-precsave.exp
13795 * gdb.reverse/until-reverse.exp
13796 * gdb.reverse/waitpid-reverse.exp
13797 * gdb.reverse/watch-precsave.exp
13798 * gdb.reverse/watch-reverse.exp
13799 * gdb.rust/generics.exp
13800 * gdb.rust/methods.exp
13801 * gdb.rust/modules.exp
13802 * gdb.rust/simple.exp
13803 * gdb.server/connect-with-no-symbol-file.exp
13804 * gdb.server/ext-attach.exp
13805 * gdb.server/ext-restart.exp
13806 * gdb.server/ext-wrapper.exp
13807 * gdb.server/file-transfer.exp
13808 * gdb.server/server-exec-info.exp
13809 * gdb.server/server-kill.exp
13810 * gdb.server/server-mon.exp
13811 * gdb.server/wrapper.exp
13812 * gdb.stabs/exclfwd.exp
13813 * gdb.stabs/gdb11479.exp
13814 * gdb.threads/clone-new-thread-event.exp
13815 * gdb.threads/corethreads.exp
13816 * gdb.threads/current-lwp-dead.exp
13817 * gdb.threads/dlopen-libpthread.exp
13818 * gdb.threads/gcore-thread.exp
13819 * gdb.threads/sigstep-threads.exp
13820 * gdb.threads/watchpoint-fork.exp
13821 * gdb.trace/actions-changed.exp
13822 * gdb.trace/backtrace.exp
13823 * gdb.trace/change-loc.exp
13824 * gdb.trace/circ.exp
13825 * gdb.trace/collection.exp
13826 * gdb.trace/disconnected-tracing.exp
13827 * gdb.trace/ftrace.exp
13828 * gdb.trace/mi-trace-frame-collected.exp
13829 * gdb.trace/mi-trace-unavailable.exp
13830 * gdb.trace/mi-traceframe-changed.exp
13831 * gdb.trace/mi-tsv-changed.exp
13832 * gdb.trace/no-attach-trace.exp
13833 * gdb.trace/passc-dyn.exp
13834 * gdb.trace/qtro.exp
13835 * gdb.trace/range-stepping.exp
13836 * gdb.trace/read-memory.exp
13837 * gdb.trace/save-trace.exp
13838 * gdb.trace/signal.exp
13839 * gdb.trace/status-stop.exp
13840 * gdb.trace/tfile.exp
13841 * gdb.trace/trace-break.exp
13842 * gdb.trace/trace-buffer-size.exp
13843 * gdb.trace/trace-condition.exp
13844 * gdb.trace/tracefile-pseudo-reg.exp
13845 * gdb.trace/tstatus.exp
13846 * gdb.trace/unavailable.exp
13847 * gdb.trace/while-dyn.exp
13848 * gdb.trace/while-stepping.exp
13849
34c41c68
DE
138502016-12-22 Doug Evans <xdje42@gmail.com>
13851
13852 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13853 and msymbols.
13854
16e69324
YQ
138552016-12-19 Yao Qi <yao.qi@linaro.org>
13856
13857 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13858 (test_with_self): Don't call do_steps_and_nexts, and remove
13859 code about stepping into xmalloc.
13860
f94f411b
YQ
138612016-12-09 Yao Qi <yao.qi@linaro.org>
13862
13863 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13864
138652016-12-09 Yao Qi <yao.qi@linaro.org>
13866
13867 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13868
f1b5deee
PA
138692016-12-09 Pedro Alves <palves@redhat.com>
13870
13871 * gdb.base/all-architectures-0.exp: New file.
13872 * gdb.base/all-architectures-1.exp: New file.
13873 * gdb.base/all-architectures-2.exp: New file.
13874 * gdb.base/all-architectures-3.exp: New file.
13875 * gdb.base/all-architectures-4.exp: New file.
13876 * gdb.base/all-architectures-5.exp: New file.
13877 * gdb.base/all-architectures-6.exp: New file.
13878 * gdb.base/all-architectures-7.exp: New file.
13879 * gdb.base/all-architectures.exp.in: New file.
13880
364ca42e
YQ
138812016-12-09 Yao Qi <yao.qi@linaro.org>
13882
13883 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13884
107c2d62
LM
138852016-12-02 Luis Machado <lgustavo@codesourcery.com>
13886
13887 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13888 possible.
13889 Remove useless pattern-matching code.
13890
df3ee9ca
PA
138912016-12-02 Pedro Alves <palves@redhat.com>
13892
13893 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13894 procedure.
13895 (top level): Call it.
13896
ec835369
PA
138972016-12-02 Pedro Alves <palves@redhat.com>
13898
13899 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13900 New procedure.
13901 (top level): Call it.
13902
01770bbd
PA
139032016-12-02 Pedro Alves <palves@redhat.com>
13904
13905 PR cli/20559
13906 * gdb.base/commands.exp (user_defined_command_args_eval): New
13907 procedure.
13908 (top level): Call it.
13909
008459ea
LM
139102016-12-02 Luis Machado <lgustavo@codesourcery.com>
13911
13912 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13913 timeout handling.
13914
0c1b455e
TT
139152016-12-02 Tom Tromey <tom@tromey.com>
13916
13917 * gdb.dwarf2/main-subprogram.c: New file.
13918 * gdb.dwarf2/main-subprogram.exp: New file.
13919
018572b8
LM
139202016-12-01 Luis Machado <lgustavo@codesourcery.com>
13921
13922 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13923 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13924 gdb_test_no_output for a couple of cases.
13925 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13926
84c93cd5
LM
139272016-12-01 Luis Machado <lgustavo@codesourcery.com>
13928
13929 Fix test names and standardize compilation error messages throughout
13930 the following files:
13931
13932 * gdb.ada/start.exp
13933 * gdb.arch/alpha-step.exp
13934 * gdb.arch/e500-prologue.exp
13935 * gdb.arch/ftrace-insn-reloc.exp
13936 * gdb.arch/gdb1291.exp
13937 * gdb.arch/gdb1431.exp
13938 * gdb.arch/gdb1558.exp
13939 * gdb.arch/i386-dr3-watch.exp
13940 * gdb.arch/i386-sse-stack-align.exp
13941 * gdb.arch/ia64-breakpoint-shadow.exp
13942 * gdb.arch/pa-nullify.exp
13943 * gdb.arch/powerpc-aix-prologue.exp
13944 * gdb.arch/thumb-bx-pc.exp
13945 * gdb.base/annota1.exp
13946 * gdb.base/annota3.exp
13947 * gdb.base/arrayidx.exp
13948 * gdb.base/assign.exp
13949 * gdb.base/attach.exp
13950 * gdb.base/auxv.exp
13951 * gdb.base/bang.exp
13952 * gdb.base/bfp-test.exp
13953 * gdb.base/bigcore.exp
13954 * gdb.base/bitfields2.exp
13955 * gdb.base/break-fun-addr.exp
13956 * gdb.base/break-probes.exp
13957 * gdb.base/call-rt-st.exp
13958 * gdb.base/callexit.exp
13959 * gdb.base/catch-fork-kill.exp
13960 * gdb.base/charset.exp
13961 * gdb.base/checkpoint.exp
13962 * gdb.base/comprdebug.exp
13963 * gdb.base/constvars.exp
13964 * gdb.base/coredump-filter.exp
13965 * gdb.base/cursal.exp
13966 * gdb.base/cvexpr.exp
13967 * gdb.base/detach.exp
13968 * gdb.base/display.exp
13969 * gdb.base/dmsym.exp
13970 * gdb.base/dprintf-pending.exp
13971 * gdb.base/dso2dso.exp
13972 * gdb.base/dtrace-probe.exp
13973 * gdb.base/dump.exp
13974 * gdb.base/enum_cond.exp
13975 * gdb.base/exe-lock.exp
13976 * gdb.base/exec-invalid-sysroot.exp
13977 * gdb.base/execl-update-breakpoints.exp
13978 * gdb.base/exprs.exp
13979 * gdb.base/fileio.exp
13980 * gdb.base/find.exp
13981 * gdb.base/finish.exp
13982 * gdb.base/fixsection.exp
13983 * gdb.base/foll-vfork.exp
13984 * gdb.base/frame-args.exp
13985 * gdb.base/gcore.exp
13986 * gdb.base/gdb1250.exp
13987 * gdb.base/global-var-nested-by-dso.exp
13988 * gdb.base/gnu-ifunc.exp
13989 * gdb.base/hashline1.exp
13990 * gdb.base/hashline2.exp
13991 * gdb.base/hashline3.exp
13992 * gdb.base/hbreak-in-shr-unsupported.exp
13993 * gdb.base/huge.exp
13994 * gdb.base/infcall-input.exp
13995 * gdb.base/info-fun.exp
13996 * gdb.base/info-shared.exp
13997 * gdb.base/jit-simple.exp
13998 * gdb.base/jit-so.exp
13999 * gdb.base/jit.exp
14000 * gdb.base/jump.exp
14001 * gdb.base/label.exp
14002 * gdb.base/lineinc.exp
14003 * gdb.base/logical.exp
14004 * gdb.base/longjmp.exp
14005 * gdb.base/macscp.exp
14006 * gdb.base/miscexprs.exp
14007 * gdb.base/new-ui-echo.exp
14008 * gdb.base/new-ui-pending-input.exp
14009 * gdb.base/new-ui.exp
14010 * gdb.base/nodebug.exp
14011 * gdb.base/nofield.exp
14012 * gdb.base/offsets.exp
14013 * gdb.base/overlays.exp
14014 * gdb.base/pending.exp
14015 * gdb.base/pointers.exp
14016 * gdb.base/pr11022.exp
14017 * gdb.base/printcmds.exp
14018 * gdb.base/prologue.exp
14019 * gdb.base/ptr-typedef.exp
14020 * gdb.base/realname-expand.exp
14021 * gdb.base/relativedebug.exp
14022 * gdb.base/relocate.exp
14023 * gdb.base/remote.exp
14024 * gdb.base/reread.exp
14025 * gdb.base/return2.exp
14026 * gdb.base/savedregs.exp
14027 * gdb.base/sep.exp
14028 * gdb.base/sepdebug.exp
14029 * gdb.base/sepsymtab.exp
14030 * gdb.base/set-inferior-tty.exp
14031 * gdb.base/setshow.exp
14032 * gdb.base/shlib-call.exp
14033 * gdb.base/sigaltstack.exp
14034 * gdb.base/siginfo-addr.exp
14035 * gdb.base/signals.exp
14036 * gdb.base/signull.exp
14037 * gdb.base/sigrepeat.exp
14038 * gdb.base/so-impl-ld.exp
14039 * gdb.base/solib-display.exp
14040 * gdb.base/solib-overlap.exp
14041 * gdb.base/solib-search.exp
14042 * gdb.base/solib-symbol.exp
14043 * gdb.base/structs.exp
14044 * gdb.base/structs2.exp
14045 * gdb.base/symtab-search-order.exp
14046 * gdb.base/twice.exp
14047 * gdb.base/unload.exp
14048 * gdb.base/varargs.exp
14049 * gdb.base/watchpoint-solib.exp
14050 * gdb.base/watchpoint.exp
14051 * gdb.base/whatis.exp
14052 * gdb.base/wrong_frame_bt_full.exp
14053 * gdb.btrace/dlopen.exp
14054 * gdb.cell/ea-standalone.exp
14055 * gdb.cell/ea-test.exp
14056 * gdb.cp/dispcxx.exp
14057 * gdb.cp/gdb2384.exp
14058 * gdb.cp/method2.exp
14059 * gdb.cp/nextoverthrow.exp
14060 * gdb.cp/pr10728.exp
14061 * gdb.disasm/am33.exp
14062 * gdb.disasm/h8300s.exp
14063 * gdb.disasm/mn10300.exp
14064 * gdb.disasm/sh3.exp
14065 * gdb.dwarf2/dw2-dir-file-name.exp
14066 * gdb.fortran/complex.exp
14067 * gdb.fortran/library-module.exp
14068 * gdb.guile/scm-pretty-print.exp
14069 * gdb.guile/scm-symbol.exp
14070 * gdb.guile/scm-type.exp
14071 * gdb.guile/scm-value.exp
14072 * gdb.linespec/linespec.exp
14073 * gdb.mi/gdb701.exp
14074 * gdb.mi/gdb792.exp
14075 * gdb.mi/mi-breakpoint-changed.exp
14076 * gdb.mi/mi-dprintf-pending.exp
14077 * gdb.mi/mi-dprintf.exp
14078 * gdb.mi/mi-exit-code.exp
14079 * gdb.mi/mi-pending.exp
14080 * gdb.mi/mi-solib.exp
14081 * gdb.mi/new-ui-mi-sync.exp
14082 * gdb.mi/pr11022.exp
14083 * gdb.mi/user-selected-context-sync.exp
14084 * gdb.opt/solib-intra-step.exp
14085 * gdb.python/py-events.exp
14086 * gdb.python/py-finish-breakpoint.exp
14087 * gdb.python/py-mi.exp
14088 * gdb.python/py-prettyprint.exp
14089 * gdb.python/py-shared.exp
14090 * gdb.python/py-symbol.exp
14091 * gdb.python/py-template.exp
14092 * gdb.python/py-type.exp
14093 * gdb.python/py-value.exp
14094 * gdb.reverse/solib-precsave.exp
14095 * gdb.reverse/solib-reverse.exp
14096 * gdb.server/solib-list.exp
14097 * gdb.stabs/weird.exp
14098 * gdb.threads/reconnect-signal.exp
14099 * gdb.threads/stepi-random-signal.exp
14100 * gdb.trace/actions.exp
14101 * gdb.trace/ax.exp
14102 * gdb.trace/backtrace.exp
14103 * gdb.trace/change-loc.exp
14104 * gdb.trace/deltrace.exp
14105 * gdb.trace/ftrace-lock.exp
14106 * gdb.trace/ftrace.exp
14107 * gdb.trace/infotrace.exp
14108 * gdb.trace/mi-tracepoint-changed.exp
14109 * gdb.trace/packetlen.exp
14110 * gdb.trace/passcount.exp
14111 * gdb.trace/pending.exp
14112 * gdb.trace/range-stepping.exp
14113 * gdb.trace/report.exp
14114 * gdb.trace/stap-trace.exp
14115 * gdb.trace/tfind.exp
14116 * gdb.trace/trace-break.exp
14117 * gdb.trace/trace-condition.exp
14118 * gdb.trace/trace-enable-disable.exp
14119 * gdb.trace/trace-mt.exp
14120 * gdb.trace/tracecmd.exp
14121 * gdb.trace/tspeed.exp
14122 * gdb.trace/tsv.exp
14123 * lib/perftest.exp
14124
fb9feb35
LM
141252016-12-01 Luis Machado <lgustavo@codesourcery.com>
14126
14127 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14128 with gdb_test_no_output.
14129 Use command as test name.
14130
cd2ddb6c
LM
141312016-12-01 Luis Machado <lgustavo@codesourcery.com>
14132
14133 Fix test names starting with uppercase throughout the files.
14134
14135 * gdb.ada/assign_1.exp
14136 * gdb.ada/boolean_expr.exp
14137 * gdb.base/arrayidx.exp
14138 * gdb.base/del.exp
14139 * gdb.base/gcore-buffer-overflow.exp
14140 * gdb.base/testenv.exp
14141 * gdb.compile/compile.exp
14142 * gdb.python/py-framefilter-invalidarg.exp
14143 * gdb.python/py-framefilter.exp
14144
bb95117e
LM
141452016-12-01 Luis Machado <lgustavo@codesourcery.com>
14146
14147 Fix test names starting with uppercase throughout the files.
14148
14149 * gdb.ada/array_return.exp
14150 * gdb.ada/expr_delims.exp
14151 * gdb.ada/mi_dyn_arr.exp
14152 * gdb.ada/mi_interface.exp
14153 * gdb.ada/mi_var_array.exp
14154 * gdb.ada/watch_arg.exp
14155 * gdb.arch/alpha-step.exp
14156 * gdb.arch/altivec-regs.exp
14157 * gdb.arch/e500-regs.exp
14158 * gdb.arch/powerpc-d128-regs.exp
14159 * gdb.base/arrayidx.exp
14160 * gdb.base/break.exp
14161 * gdb.base/checkpoint.exp
14162 * gdb.base/debug-expr.exp
14163 * gdb.base/dmsym.exp
14164 * gdb.base/radix.exp
14165 * gdb.base/sepdebug.exp
14166 * gdb.base/testenv.exp
14167 * gdb.base/watch_thread_num.exp
14168 * gdb.base/watchpoint-cond-gone.exp
14169 * gdb.cell/break.exp
14170 * gdb.cell/ea-cache.exp
14171 * gdb.compile/compile.exp
14172 * gdb.cp/gdb2495.exp
14173 * gdb.gdb/selftest.exp
14174 * gdb.gdb/xfullpath.exp
14175 * gdb.go/hello.exp
14176 * gdb.go/integers.exp
14177 * gdb.objc/basicclass.exp
14178 * gdb.pascal/hello.exp
14179 * gdb.pascal/integers.exp
14180 * gdb.python/py-breakpoint.exp
14181 * gdb.python/py-cmd.exp
14182 * gdb.python/py-linetable.exp
14183 * gdb.python/py-xmethods.exp
14184 * gdb.python/python.exp
14185 * gdb.reverse/consecutive-precsave.exp
14186 * gdb.reverse/finish-precsave.exp
14187 * gdb.reverse/i386-precsave.exp
14188 * gdb.reverse/machinestate-precsave.exp
14189 * gdb.reverse/sigall-precsave.exp
14190 * gdb.reverse/solib-precsave.exp
14191 * gdb.reverse/step-precsave.exp
14192 * gdb.reverse/until-precsave.exp
14193 * gdb.reverse/watch-precsave.exp
14194 * gdb.threads/leader-exit.exp
14195 * gdb.threads/pthreads.exp
14196 * gdb.threads/wp-replication.exp
14197 * gdb.trace/actions.exp
14198 * gdb.trace/mi-tsv-changed.exp
14199 * gdb.trace/tsv.exp
14200
de97fdd4
LM
142012016-12-01 Luis Machado <lgustavo@codesourcery.com>
14202
14203 Fix test names starting with uppercase throughout the files.
14204
14205 * gdb.arch/i386-bp_permanent.exp
14206 * gdb.arch/i386-gnu-cfi.exp
14207 * gdb.base/disasm-end-cu.exp
14208 * gdb.base/macscp.exp
14209 * gdb.base/pending.exp
14210 * gdb.base/watch_thread_num.exp
14211 * gdb.cp/exception.exp
14212 * gdb.cp/gdb2495.exp
14213 * gdb.cp/local.exp
14214 * gdb.python/py-evsignal.exp
14215 * gdb.python/python.exp
14216 * gdb.trace/tracecmd.exp
14217
9f058c10
LM
142182016-12-01 Luis Machado <lgustavo@codesourcery.com>
14219
14220 Fix test names starting with uppercase throughout the files.
14221
14222 * gdb.base/charset.exp
14223 * gdb.base/eval.exp
14224 * gdb.base/multi-forks.exp
14225 * gdb.guile/scm-progspace.exp
14226 * gdb.opencl/datatypes.exp
14227 * gdb.python/py-block.exp
14228 * gdb.python/py-function.exp
14229 * gdb.python/py-symbol.exp
14230 * gdb.python/py-symtab.exp
14231 * gdb.python/py-xmethods.exp
14232 * gdb.reverse/break-precsave.exp
14233 * gdb.reverse/break-reverse.exp
14234 * gdb.reverse/consecutive-precsave.exp
14235 * gdb.reverse/consecutive-reverse.exp
14236 * gdb.reverse/finish-precsave.exp
14237 * gdb.reverse/finish-reverse-bkpt.exp
14238 * gdb.reverse/finish-reverse.exp
14239 * gdb.reverse/fstatat-reverse.exp
14240 * gdb.reverse/getresuid-reverse.exp
14241 * gdb.reverse/i386-precsave.exp
14242 * gdb.reverse/i386-reverse.exp
14243 * gdb.reverse/i386-sse-reverse.exp
14244 * gdb.reverse/i387-stack-reverse.exp
14245 * gdb.reverse/insn-reverse.exp
14246 * gdb.reverse/machinestate-precsave.exp
14247 * gdb.reverse/machinestate.exp
14248 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14249 * gdb.reverse/pipe-reverse.exp
14250 * gdb.reverse/readv-reverse.exp
14251 * gdb.reverse/recvmsg-reverse.exp
14252 * gdb.reverse/rerun-prec.exp
14253 * gdb.reverse/s390-mvcle.exp
14254 * gdb.reverse/sigall-precsave.exp
14255 * gdb.reverse/sigall-reverse.exp
14256 * gdb.reverse/solib-precsave.exp
14257 * gdb.reverse/solib-reverse.exp
14258 * gdb.reverse/step-precsave.exp
14259 * gdb.reverse/step-reverse.exp
14260 * gdb.reverse/time-reverse.exp
14261 * gdb.reverse/until-precsave.exp
14262 * gdb.reverse/until-reverse.exp
14263 * gdb.reverse/waitpid-reverse.exp
14264 * gdb.reverse/watch-precsave.exp
14265 * gdb.reverse/watch-reverse.exp
14266
cdc7edd7
LM
142672016-12-01 Luis Machado <lgustavo@codesourcery.com>
14268
14269 Fix test names starting with uppercase throughout the files.
14270
14271 * gdb.arch/i386-mpx-simple_segv.exp
14272 * gdb.arch/i386-mpx.exp
14273 * gdb.arch/i386-permbkpt.exp
14274 * gdb.arch/pa-nullify.exp
14275 * gdb.arch/powerpc-d128-regs.exp
14276 * gdb.arch/vsx-regs.exp
14277 * gdb.base/bfp-test.exp
14278 * gdb.base/break.exp
14279 * gdb.base/breakpoint-shadow.exp
14280 * gdb.base/callfuncs.exp
14281 * gdb.base/charset.exp
14282 * gdb.base/commands.exp
14283 * gdb.base/completion.exp
14284 * gdb.base/dfp-test.exp
14285 * gdb.base/echo.exp
14286 * gdb.base/ending-run.exp
14287 * gdb.base/eval.exp
14288 * gdb.base/expand-psymtabs.exp
14289 * gdb.base/float128.exp
14290 * gdb.base/floatn.exp
14291 * gdb.base/foll-exec-mode.exp
14292 * gdb.base/gdb1056.exp
14293 * gdb.base/gdb11531.exp
14294 * gdb.base/kill-after-signal.exp
14295 * gdb.base/multi-forks.exp
14296 * gdb.base/overlays.exp
14297 * gdb.base/pending.exp
14298 * gdb.base/sepdebug.exp
14299 * gdb.base/testenv.exp
14300 * gdb.base/valgrind-db-attach.exp
14301 * gdb.base/watch_thread_num.exp
14302 * gdb.base/watchpoint-cond-gone.exp
14303 * gdb.base/watchpoint.exp
14304 * gdb.base/watchpoints.exp
14305 * gdb.cp/arg-reference.exp
14306 * gdb.cp/baseenum.exp
14307 * gdb.cp/operator.exp
14308 * gdb.cp/shadow.exp
14309 * gdb.dwarf2/dw2-op-out-param.exp
14310 * gdb.dwarf2/dw2-reg-undefined.exp
14311 * gdb.go/chan.exp
14312 * gdb.go/hello.exp
14313 * gdb.go/integers.exp
14314 * gdb.go/methods.exp
14315 * gdb.go/package.exp
14316 * gdb.guile/scm-parameter.exp
14317 * gdb.guile/scm-progspace.exp
14318 * gdb.guile/scm-value.exp
14319 * gdb.mi/mi-pending.exp
14320 * gdb.mi/user-selected-context-sync.exp
14321 * gdb.multi/multi-attach.exp
14322 * gdb.multi/tids.exp
14323 * gdb.opt/clobbered-registers-O2.exp
14324 * gdb.pascal/floats.exp
14325 * gdb.pascal/integers.exp
14326 * gdb.python/py-block.exp
14327 * gdb.python/py-events.exp
14328 * gdb.python/py-parameter.exp
14329 * gdb.python/py-symbol.exp
14330 * gdb.python/py-symtab.exp
14331 * gdb.python/py-type.exp
14332 * gdb.python/py-value.exp
14333 * gdb.python/py-xmethods.exp
14334 * gdb.python/python.exp
14335 * gdb.reverse/break-precsave.exp
14336 * gdb.reverse/consecutive-precsave.exp
14337 * gdb.reverse/finish-precsave.exp
14338 * gdb.reverse/i386-precsave.exp
14339 * gdb.reverse/machinestate-precsave.exp
14340 * gdb.reverse/sigall-precsave.exp
14341 * gdb.reverse/solib-precsave.exp
14342 * gdb.reverse/step-precsave.exp
14343 * gdb.reverse/until-precsave.exp
14344 * gdb.reverse/watch-precsave.exp
14345 * gdb.server/ext-attach.exp
14346 * gdb.server/ext-restart.exp
14347 * gdb.server/ext-run.exp
14348 * gdb.server/ext-wrapper.exp
14349 * gdb.stabs/gdb11479.exp
14350 * gdb.stabs/weird.exp
14351 * gdb.threads/attach-many-short-lived-threads.exp
14352 * gdb.threads/kill.exp
14353 * gdb.threads/watchpoint-fork.exp
14354
bc6c7af4
LM
143552016-12-01 Luis Machado <lgustavo@codesourcery.com>
14356
14357 Fix test names starting with uppercase throughout all the files below.
14358
14359 * gdb.ada/array_return.exp
14360 * gdb.ada/catch_ex.exp
14361 * gdb.ada/info_exc.exp
14362 * gdb.ada/mi_catch_ex.exp
14363 * gdb.ada/mi_dyn_arr.exp
14364 * gdb.ada/mi_ex_cond.exp
14365 * gdb.ada/mi_exc_info.exp
14366 * gdb.ada/mi_interface.exp
14367 * gdb.ada/mi_task_arg.exp
14368 * gdb.ada/mi_task_info.exp
14369 * gdb.ada/mi_var_array.exp
14370 * gdb.arch/alpha-step.exp
14371 * gdb.arch/amd64-disp-step.exp
14372 * gdb.arch/arm-disp-step.exp
14373 * gdb.arch/disp-step-insn-reloc.exp
14374 * gdb.arch/e500-prologue.exp
14375 * gdb.arch/ftrace-insn-reloc.exp
14376 * gdb.arch/gdb1558.exp
14377 * gdb.arch/i386-bp_permanent.exp
14378 * gdb.arch/i386-disp-step.exp
14379 * gdb.arch/i386-float.exp
14380 * gdb.arch/i386-gnu-cfi.exp
14381 * gdb.arch/ia64-breakpoint-shadow.exp
14382 * gdb.arch/mips16-thunks.exp
14383 * gdb.arch/pa-nullify.exp
14384 * gdb.arch/powerpc-aix-prologue.exp
14385 * gdb.arch/powerpc-power.exp
14386 * gdb.arch/ppc-dfp.exp
14387 * gdb.arch/s390-tdbregs.exp
14388 * gdb.arch/spu-info.exp
14389 * gdb.arch/spu-ls.exp
14390 * gdb.arch/thumb-bx-pc.exp
14391 * gdb.base/advance.exp
14392 * gdb.base/annota-input-while-running.exp
14393 * gdb.base/arrayidx.exp
14394 * gdb.base/asmlabel.exp
14395 * gdb.base/async.exp
14396 * gdb.base/attach-wait-input.exp
14397 * gdb.base/auto-connect-native-target.exp
14398 * gdb.base/batch-preserve-term-settings.exp
14399 * gdb.base/bfp-test.exp
14400 * gdb.base/bigcore.exp
14401 * gdb.base/bp-permanent.exp
14402 * gdb.base/break-always.exp
14403 * gdb.base/break-fun-addr.exp
14404 * gdb.base/break-idempotent.exp
14405 * gdb.base/break-main-file-remove-fail.exp
14406 * gdb.base/break-probes.exp
14407 * gdb.base/break-unload-file.exp
14408 * gdb.base/break.exp
14409 * gdb.base/call-ar-st.exp
14410 * gdb.base/call-rt-st.exp
14411 * gdb.base/call-sc.exp
14412 * gdb.base/call-signal-resume.exp
14413 * gdb.base/call-strs.exp
14414 * gdb.base/callexit.exp
14415 * gdb.base/callfuncs.exp
14416 * gdb.base/catch-gdb-caused-signals.exp
14417 * gdb.base/catch-signal-siginfo-cond.exp
14418 * gdb.base/catch-syscall.exp
14419 * gdb.base/compare-sections.exp
14420 * gdb.base/cond-eval-mode.exp
14421 * gdb.base/condbreak-call-false.exp
14422 * gdb.base/consecutive-step-over.exp
14423 * gdb.base/cursal.exp
14424 * gdb.base/disabled-location.exp
14425 * gdb.base/disasm-end-cu.exp
14426 * gdb.base/display.exp
14427 * gdb.base/double-prompt-target-event-error.exp
14428 * gdb.base/dprintf-bp-same-addr.exp
14429 * gdb.base/dprintf-detach.exp
14430 * gdb.base/dprintf-next.exp
14431 * gdb.base/dprintf-non-stop.exp
14432 * gdb.base/dprintf-pending.exp
14433 * gdb.base/dso2dso.exp
14434 * gdb.base/ending-run.exp
14435 * gdb.base/enum_cond.exp
14436 * gdb.base/examine-backward.exp
14437 * gdb.base/exe-lock.exp
14438 * gdb.base/exec-invalid-sysroot.exp
14439 * gdb.base/execl-update-breakpoints.exp
14440 * gdb.base/execution-termios.exp
14441 * gdb.base/fileio.exp
14442 * gdb.base/fixsection.exp
14443 * gdb.base/foll-exec-mode.exp
14444 * gdb.base/foll-exec.exp
14445 * gdb.base/fork-running-state.exp
14446 * gdb.base/frame-args.exp
14447 * gdb.base/fullpath-expand.exp
14448 * gdb.base/func-ptr.exp
14449 * gdb.base/gcore-relro-pie.exp
14450 * gdb.base/gdb1090.exp
14451 * gdb.base/gdb1555.exp
14452 * gdb.base/global-var-nested-by-dso.exp
14453 * gdb.base/gnu-ifunc.exp
14454 * gdb.base/hbreak-in-shr-unsupported.exp
14455 * gdb.base/hbreak-unmapped.exp
14456 * gdb.base/hook-stop.exp
14457 * gdb.base/infcall-input.exp
14458 * gdb.base/info-fun.exp
14459 * gdb.base/info-shared.exp
14460 * gdb.base/interrupt-noterm.exp
14461 * gdb.base/jit-so.exp
14462 * gdb.base/jit.exp
14463 * gdb.base/line-symtabs.exp
14464 * gdb.base/list.exp
14465 * gdb.base/longjmp.exp
14466 * gdb.base/macscp.exp
14467 * gdb.base/max-value-size.exp
14468 * gdb.base/nodebug.exp
14469 * gdb.base/nofield.exp
14470 * gdb.base/overlays.exp
14471 * gdb.base/paginate-after-ctrl-c-running.exp
14472 * gdb.base/paginate-bg-execution.exp
14473 * gdb.base/paginate-inferior-exit.exp
14474 * gdb.base/pending.exp
14475 * gdb.base/pr11022.exp
14476 * gdb.base/printcmds.exp
14477 * gdb.base/ptr-typedef.exp
14478 * gdb.base/ptype.exp
14479 * gdb.base/randomize.exp
14480 * gdb.base/range-stepping.exp
14481 * gdb.base/realname-expand.exp
14482 * gdb.base/relativedebug.exp
14483 * gdb.base/remote.exp
14484 * gdb.base/savedregs.exp
14485 * gdb.base/sepdebug.exp
14486 * gdb.base/set-noassign.exp
14487 * gdb.base/shlib-call.exp
14488 * gdb.base/shreloc.exp
14489 * gdb.base/sigaltstack.exp
14490 * gdb.base/sigbpt.exp
14491 * gdb.base/siginfo-addr.exp
14492 * gdb.base/siginfo-obj.exp
14493 * gdb.base/siginfo-thread.exp
14494 * gdb.base/signest.exp
14495 * gdb.base/signull.exp
14496 * gdb.base/sigrepeat.exp
14497 * gdb.base/skip.exp
14498 * gdb.base/so-impl-ld.exp
14499 * gdb.base/solib-corrupted.exp
14500 * gdb.base/solib-disc.exp
14501 * gdb.base/solib-display.exp
14502 * gdb.base/solib-overlap.exp
14503 * gdb.base/solib-search.exp
14504 * gdb.base/solib-symbol.exp
14505 * gdb.base/source-execution.exp
14506 * gdb.base/sss-bp-on-user-bp-2.exp
14507 * gdb.base/sss-bp-on-user-bp.exp
14508 * gdb.base/stack-checking.exp
14509 * gdb.base/stale-infcall.exp
14510 * gdb.base/step-break.exp
14511 * gdb.base/step-line.exp
14512 * gdb.base/step-over-exit.exp
14513 * gdb.base/step-test.exp
14514 * gdb.base/structs.exp
14515 * gdb.base/sym-file.exp
14516 * gdb.base/symtab-search-order.exp
14517 * gdb.base/term.exp
14518 * gdb.base/type-opaque.exp
14519 * gdb.base/unload.exp
14520 * gdb.base/until-nodebug.exp
14521 * gdb.base/until.exp
14522 * gdb.base/unwindonsignal.exp
14523 * gdb.base/watch-cond.exp
14524 * gdb.base/watch-non-mem.exp
14525 * gdb.base/watch_thread_num.exp
14526 * gdb.base/watchpoint-reuse-slot.exp
14527 * gdb.base/watchpoint-solib.exp
14528 * gdb.base/watchpoint.exp
14529 * gdb.btrace/dlopen.exp
14530 * gdb.cell/arch.exp
14531 * gdb.cell/break.exp
14532 * gdb.cell/bt.exp
14533 * gdb.cell/core.exp
14534 * gdb.cell/data.exp
14535 * gdb.cell/dwarfaddr.exp
14536 * gdb.cell/ea-cache.exp
14537 * gdb.cell/ea-standalone.exp
14538 * gdb.cell/ea-test.exp
14539 * gdb.cell/f-regs.exp
14540 * gdb.cell/fork.exp
14541 * gdb.cell/gcore.exp
14542 * gdb.cell/mem-access.exp
14543 * gdb.cell/ptype.exp
14544 * gdb.cell/registers.exp
14545 * gdb.cell/sizeof.exp
14546 * gdb.cell/solib-symbol.exp
14547 * gdb.cell/solib.exp
14548 * gdb.compile/compile-tls.exp
14549 * gdb.cp/exception.exp
14550 * gdb.cp/gdb2495.exp
14551 * gdb.cp/local.exp
14552 * gdb.cp/mb-inline.exp
14553 * gdb.cp/mb-templates.exp
14554 * gdb.cp/pr10687.exp
14555 * gdb.cp/pr9167.exp
14556 * gdb.cp/scope-err.exp
14557 * gdb.cp/templates.exp
14558 * gdb.cp/virtfunc.exp
14559 * gdb.dwarf2/dw2-dir-file-name.exp
14560 * gdb.dwarf2/dw2-single-line-discriminators.exp
14561 * gdb.fortran/complex.exp
14562 * gdb.fortran/library-module.exp
14563 * gdb.guile/guile.exp
14564 * gdb.guile/scm-cmd.exp
14565 * gdb.guile/scm-frame-inline.exp
14566 * gdb.guile/scm-objfile.exp
14567 * gdb.guile/scm-pretty-print.exp
14568 * gdb.guile/scm-symbol.exp
14569 * gdb.guile/scm-type.exp
14570 * gdb.guile/scm-value.exp
14571 * gdb.linespec/keywords.exp
14572 * gdb.linespec/ls-errs.exp
14573 * gdb.linespec/macro-relative.exp
14574 * gdb.linespec/thread.exp
14575 * gdb.mi/mi-breakpoint-changed.exp
14576 * gdb.mi/mi-dprintf-pending.exp
14577 * gdb.mi/mi-fullname-deleted.exp
14578 * gdb.mi/mi-logging.exp
14579 * gdb.mi/mi-pending.exp
14580 * gdb.mi/mi-solib.exp
14581 * gdb.mi/new-ui-mi-sync.exp
14582 * gdb.mi/user-selected-context-sync.exp
14583 * gdb.multi/dummy-frame-restore.exp
14584 * gdb.multi/multi-arch-exec.exp
14585 * gdb.multi/remove-inferiors.exp
14586 * gdb.multi/watchpoint-multi-exit.exp
14587 * gdb.opt/solib-intra-step.exp
14588 * gdb.perf/backtrace.exp
14589 * gdb.perf/single-step.exp
14590 * gdb.perf/skip-command.exp
14591 * gdb.perf/skip-prologue.exp
14592 * gdb.perf/solib.exp
14593 * gdb.python/lib-types.exp
14594 * gdb.python/py-as-string.exp
14595 * gdb.python/py-bad-printers.exp
14596 * gdb.python/py-block.exp
14597 * gdb.python/py-breakpoint.exp
14598 * gdb.python/py-cmd.exp
14599 * gdb.python/py-events.exp
14600 * gdb.python/py-evthreads.exp
14601 * gdb.python/py-finish-breakpoint.exp
14602 * gdb.python/py-finish-breakpoint2.exp
14603 * gdb.python/py-frame-inline.exp
14604 * gdb.python/py-frame.exp
14605 * gdb.python/py-inferior.exp
14606 * gdb.python/py-infthread.exp
14607 * gdb.python/py-mi.exp
14608 * gdb.python/py-objfile.exp
14609 * gdb.python/py-pp-maint.exp
14610 * gdb.python/py-pp-registration.exp
14611 * gdb.python/py-prettyprint.exp
14612 * gdb.python/py-recurse-unwind.exp
14613 * gdb.python/py-shared.exp
14614 * gdb.python/py-symbol.exp
14615 * gdb.python/py-symtab.exp
14616 * gdb.python/py-template.exp
14617 * gdb.python/py-type.exp
14618 * gdb.python/py-unwind-maint.exp
14619 * gdb.python/py-unwind.exp
14620 * gdb.python/py-value.exp
14621 * gdb.python/python.exp
14622 * gdb.reverse/finish-reverse-bkpt.exp
14623 * gdb.reverse/insn-reverse.exp
14624 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14625 * gdb.reverse/solib-precsave.exp
14626 * gdb.reverse/solib-reverse.exp
14627 * gdb.stabs/gdb11479.exp
14628 * gdb.stabs/weird.exp
14629 * gdb.threads/fork-child-threads.exp
14630 * gdb.threads/fork-plus-threads.exp
14631 * gdb.threads/fork-thread-pending.exp
14632 * gdb.threads/forking-threads-plus-breakpoint.exp
14633 * gdb.threads/hand-call-in-threads.exp
14634 * gdb.threads/interrupted-hand-call.exp
14635 * gdb.threads/linux-dp.exp
14636 * gdb.threads/local-watch-wrong-thread.exp
14637 * gdb.threads/next-while-other-thread-longjmps.exp
14638 * gdb.threads/non-ldr-exit.exp
14639 * gdb.threads/pending-step.exp
14640 * gdb.threads/print-threads.exp
14641 * gdb.threads/process-dies-while-detaching.exp
14642 * gdb.threads/process-dies-while-handling-bp.exp
14643 * gdb.threads/pthreads.exp
14644 * gdb.threads/queue-signal.exp
14645 * gdb.threads/reconnect-signal.exp
14646 * gdb.threads/signal-command-handle-nopass.exp
14647 * gdb.threads/signal-command-multiple-signals-pending.exp
14648 * gdb.threads/signal-delivered-right-thread.exp
14649 * gdb.threads/signal-sigtrap.exp
14650 * gdb.threads/sigthread.exp
14651 * gdb.threads/staticthreads.exp
14652 * gdb.threads/stepi-random-signal.exp
14653 * gdb.threads/thread-unwindonsignal.exp
14654 * gdb.threads/thread_check.exp
14655 * gdb.threads/thread_events.exp
14656 * gdb.threads/tid-reuse.exp
14657 * gdb.threads/tls-nodebug.exp
14658 * gdb.threads/tls-shared.exp
14659 * gdb.threads/tls-so_extern.exp
14660 * gdb.threads/tls.exp
14661 * gdb.threads/wp-replication.exp
14662 * gdb.trace/actions-changed.exp
14663 * gdb.trace/actions.exp
14664 * gdb.trace/backtrace.exp
14665 * gdb.trace/change-loc.exp
14666 * gdb.trace/collection.exp
14667 * gdb.trace/deltrace.exp
14668 * gdb.trace/disconnected-tracing.exp
14669 * gdb.trace/entry-values.exp
14670 * gdb.trace/ftrace-lock.exp
14671 * gdb.trace/ftrace.exp
14672 * gdb.trace/infotrace.exp
14673 * gdb.trace/mi-trace-frame-collected.exp
14674 * gdb.trace/mi-trace-unavailable.exp
14675 * gdb.trace/mi-traceframe-changed.exp
14676 * gdb.trace/mi-tracepoint-changed.exp
14677 * gdb.trace/mi-tsv-changed.exp
14678 * gdb.trace/no-attach-trace.exp
14679 * gdb.trace/packetlen.exp
14680 * gdb.trace/passc-dyn.exp
14681 * gdb.trace/passcount.exp
14682 * gdb.trace/pending.exp
14683 * gdb.trace/pr16508.exp
14684 * gdb.trace/qtro.exp
14685 * gdb.trace/range-stepping.exp
14686 * gdb.trace/read-memory.exp
14687 * gdb.trace/report.exp
14688 * gdb.trace/save-trace.exp
14689 * gdb.trace/signal.exp
14690 * gdb.trace/stap-trace.exp
14691 * gdb.trace/status-stop.exp
14692 * gdb.trace/strace.exp
14693 * gdb.trace/tfile.exp
14694 * gdb.trace/tfind.exp
14695 * gdb.trace/trace-break.exp
14696 * gdb.trace/trace-condition.exp
14697 * gdb.trace/trace-enable-disable.exp
14698 * gdb.trace/trace-mt.exp
14699 * gdb.trace/tracecmd.exp
14700 * gdb.trace/tracefile-pseudo-reg.exp
14701 * gdb.trace/tspeed.exp
14702 * gdb.trace/tstatus.exp
14703 * gdb.trace/tsv.exp
14704 * gdb.trace/unavailable.exp
14705 * gdb.trace/while-dyn.exp
14706 * gdb.trace/while-stepping.exp
14707 * lib/gdb-guile.exp
14708 * lib/gdb.exp
14709 * lib/mi-support.exp
14710 * lib/pascal.exp
14711 * lib/perftest.exp
14712 * lib/prelink-support.exp
14713 * lib/selftest-support.exp
14714
ad02e4fe
SM
147152016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14716
14717 * Makefile.in: Include disable-implicit-rules.mk.
14718
22347e55
AA
147192016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14720
14721 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14722 non-byte-aligned bit fields.
14723
da5b30da
AA
147242016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14725
14726 PR gdb/12616
14727 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14728 respects the DW_AT_data_bit_offset attribute.
14729
b593ecca
SM
147302016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14731
14732 * gdb.base/default.exp: Fix output of "set language".
14733
3b165252
SM
147342016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14735
14736 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14737 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14738 make.
14739 * configure.ac: Remove checks for the make program.
14740 * configure: Re-generate.
14741
1a2f3d7f
KB
147422016-11-16 Kevin Buettner <kevinb@redhat.com>
14743
14744 * gdb.python/py-recurse-unwind.c (main): Add loop.
14745 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14746 to read_register() and gdb.parse_and_eval(). Make each code
14747 call a separate case that can be individually tested.
14748 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14749 proc. Call cont_and_backtrace for each of the code paths that
14750 we want to test in the unwinder.
14751
b7f38fda
AA
147522016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14753
14754 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14755 the definition of struct S.
14756
1f8db343
CM
147572016-11-11 Catherine Moore <clm@codesourcery.com>
14758
14759 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14760
fad0c9fb
PA
147612016-11-09 Pedro Alves <palves@redhat.com>
14762
14763 * gdb.base/commands.exp (runto_or_return): New procedure.
14764 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14765 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14766 (progvar_simple_while_test, progvar_complex_if_while_test)
14767 (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, redefine_hook_test)
14771 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14772 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14773 multi_line_input and multi_line. Remove gdb_expect and
14774 gdb_stop_suppressing_tests uses.
14775 * lib/gdb.exp (valnum_re): New global.
14776 (multi_line_input): New procedure.
14777
8354c62c
SM
147782016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14779
14780 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14781 Remove.
14782 (test_setup): Define with proc_with_prefix.
14783 (test_cli_inferior): Likewise.
14784 (test_cli_thread): Likewise.
14785 (test_cli_frame): Likewise.
14786 (test_cli_select_frame): Likewise.
14787 (test_cli_up_down): Likewise.
14788 (test_mi_thread_select): Likewise.
14789 (test_mi_stack_select_frame): Likewise.
14790 (test_cli_in_mi_inferior): Likewise.
14791 (test_cli_in_mi_thread): Likewise.
14792 (test_cli_in_mi_frame): Likewise.
14793 (top level): Do not use with_test_prefix_procname.
14794
64f367a2
PA
147952016-11-09 Pedro Alves <palves@redhat.com>
14796
14797 * gdb.base/commands.exp (gdbvar_simple_if_test)
14798 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14799 (progvar_simple_if_test, progvar_simple_while_test)
14800 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14801 (infrun_breakpoint_command_test, breakpoint_command_test)
14802 (user_defined_command_test, watchpoint_command_test)
14803 (test_command_prompt_position, deprecated_command_test)
14804 (bp_deleted_in_command, temporary_breakpoint_commands)
14805 (stray_arg0_test, source_file_with_indented_comment)
14806 (recursive_source_test, if_commands_test)
14807 (error_clears_commands_left, redefine_hook_test)
14808 (redefine_backtrace_test): Use proc_with_prefix.
14809 * lib/gdb.exp (proc_with_prefix): New proc.
14810
0bb65f1e
AA
148112016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14812
14813 * gdb.base/tui-layout.c: New file.
14814 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14815 disassembly window contains very long lines.
14816
7353f247
TT
148172016-11-08 Tom Tromey <tom@tromey.com>
14818
14819 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14820 depend on Python 2.
14821
30a7bb83
TT
148222016-11-08 Tom Tromey <tom@tromey.com>
14823
14824 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14825 New method.
14826
cdf5a07c
MG
148272016-10-29 Manish Goregaokar <manish@mozilla.com>
14828
2806dc7e 14829 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14830
51a789c3
MG
148312016-10-27 Manish Goregaokar <manish@mozilla.com>
14832
2806dc7e
PA
14833 * gdb.rust/simple.rs: Add test for univariant enums without
14834 discriminants and for encoded struct-like enums.
51a789c3 14835
f610ab6d
PA
148362016-10-28 Pedro Alves <palves@redhat.com>
14837
14838 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14839 gdb_test_multiple, tighten regexps and match symtabs and line
14840 tables incrementally.
14841
b129b0ca
LM
148422016-10-28 Luis Machado <lgustavo@codesourcery.com>
14843
14844 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14845 general.
14846
ecf45d2c
SL
148472016-10-25 Luis Machado <lgustavo@codesourcery.com>
14848
14849 * gdb.base/exec-invalid-sysroot.exp: New file.
14850
b8d38ee4
JK
148512016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14852
14853 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14854
f90fd8c2
JK
148552016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14856
14857 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14858
2d2476aa
MR
148592016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14860
2806dc7e
PA
14861 * gdb.base/killed-outside.exp: Remove $options from a call to
14862 `prepare_for_testing'.
2d2476aa 14863
e42b25a0
SM
148642016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14865
14866 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14867 Change test message.
14868
3ccdb432
SM
148692016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14870
14871 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14872 Update comment.
14873
5bad3170
SM
148742016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14875
14876 * gdb.trace/mi-trace-save.exp: New file.
14877
5ad9dba7
YQ
148782016-10-13 Yao Qi <yao.qi@linaro.org>
14879
14880 * gdb.base/code_elim.exp (get_var_address): Remove.
14881 * gdb.base/relocate.exp: Likewise.
14882 * gdb.base/shreloc.exp: Likewise.
14883 * lib/gdb.exp (get_var_address): New.
14884
62df7e21
YQ
148852016-10-13 Yao Qi <yao.qi@linaro.org>
14886
14887 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14888 floating point tests if $skip_float_test is false.
14889
4dac951e
LM
148902016-10-12 Luis Machado <lgustavo@codesourcery.com>
14891
14892 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14893 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14894 argc values.
14895 Add 1 to argc so we guarantee distinct initial/modified argc values.
14896
8f1a8fc4
JK
148972016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14898
14899 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14900
16c85b5d
JK
149012016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14902
14903 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14904 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14905 * gdb.arch/vsx-regs.exp: Likewise.
14906
1d0e042a
YQ
149072016-10-07 Yao Qi <yao.qi@linaro.org>
14908
14909 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14910
68dadef5
MM
149112016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14912
14913 * gdb.python/python.exp: Test decode_line("*0").
14914
33fa2c6e
DE
149152016-10-06 Doug Evans <dje@google.com>
14916
14917 * gdb.python/py-value.exp (test_value_creation): Add test for large
14918 unsigned 64-bit value.
14919
9c37b5ae
TT
149202016-10-06 Tom Tromey <tom@tromey.com>
14921
14922 * gdb.compile/compile.exp: Change java tests to rust.
14923 * gdb.base/setshow.exp: Change java tests to rust.
14924 * gdb.base/default.exp: Remove java from language list.
14925 * README (Examples): Update language example.
14926 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14927 test.
14928 * lib/gdb.exp (skip_java_tests): Remove.
14929 * lib/java.exp: Remove.
14930 * gdb.java: Remove.
14931
78b86327
MR
149322016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14933
14934 * gdb.arch/mips-fcr.exp: New test.
14935 * gdb.arch/mips-fcr.c: Source for the new test.
14936
7470adbb
MR
149372016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14938
14939 * gdb.base/solib-disc.exp: Use `standard_output_file'
14940 throughout.
14941
4a556533
PA
149422016-10-06 Pedro Alves <palves@redhat.com>
14943
14944 * gdb.base/jit-simple-dl.c: New file.
14945 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14946 * gdb.base/jit-simple.c: ... this.
14947 * gdb.base/jit-simple.exp (jit_run): Delete.
14948 (build_jit): New proc.
14949 (jit_test_reread): Recompile either the main program or the shared
14950 library, depending on what is being tested. Skip changing address
14951 if caller wants to. Compare before/after addresses. If testing
14952 standalone, explicitly load the binary. Test "maint info
14953 breakpoints".
14954 (top level): Add "standalone vs shared lib" and "change address"
14955 vs "same address" axes.
14956
5a122fbc
PA
149572016-10-06 Pedro Alves <palves@redhat.com>
14958
14959 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14960 call.
14961 (jit_run): Delete.
14962 (jit_test_reread): Use with_test_prefix. Reload the main binary
14963 explicitly. Compare the before/after addresses of the JIT
14964 descriptor.
14965
ee8da4b8
DE
149662016-08-15 Doug Evans <dje@google.com>
14967
14968 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14969 for single bitfields is bool.
14970 * gdb.xml/tdesc-regs.exp: Ditto.
14971
f389f6fe
JK
149722016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14973
14974 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14975
fdebf1a4
YQ
149762016-10-05 Yao Qi <yao.qi@linaro.org>
14977
14978 * lib/gdb.exp (support_complex_tests): Return zero if
14979 gdb_skip_float_test return true.
14980
9c36d954 149812016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14982 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14983
14984 PR gdb/20487
14985 * gdb.mi/user-selected-context-sync.exp: New file.
14986 * gdb.mi/user-selected-context-sync.c: New file.
14987
4034d0ff 149882016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14989 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14990
14991 PR gdb/20487
14992 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14993 =thread-select-event check.
14994
a4297203
PB
149952016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14996
14997 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14998 the compulsory L operand changes.
14999 * gdb.arch/powerpc-power.s: Likewise.
15000
bb805577
JK
150012016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15002
15003 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15004 * gdb.base/jit-attach-pie.c: New file.
15005 * gdb.base/jit-attach-pie.exp: New file.
15006
6d61dee5
PA
150072016-09-28 Pedro Alves <palves@redhat.com>
15008
15009 * gdb.base/infcall-input.c: New file.
15010 * gdb.base/infcall-input.exp: New file.
15011
f73842fc
YQ
150122016-09-22 Yao Qi <yao.qi@linaro.org>
15013
15014 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15015 (gdb_exit): Rename it to ...
15016 (gdbserver_gdb_exit): ... Close GDBserver.
15017 (gdb_exit): New proc, call gdbserver_gdb_exit.
15018 (mi_gdb_exit): Likewise.
15019
90681dab
YQ
150202016-09-22 Yao Qi <yao.qi@linaro.org>
15021
15022 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15023 path.
15024 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15025 Remove duplication.
15026
9c211fd8
YQ
150272016-09-22 Yao Qi <yao.qi@linaro.org>
15028
15029 * lib/gdbserver-support.exp: Check the existence of
15030 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15031
ad0a504f
AK
150322016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15033
15034 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15035
36cf1806
TT
150362016-09-21 Tom Tromey <tom@tromey.com>
15037
15038 PR gdb/20604:
15039 * gdb.base/quit.exp: New file.
15040
74172ecf
SM
150412016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15042
15043 * .gitignore: New file.
15044
3d0ec882
MR
150452016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15046
15047 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15048 throughout.
15049
8193adea
AA
150502016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15051
15052 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15053
d41a5c09
JK
150542016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15055
15056 * gdb.cp/casts.cc (decltype): Move it ...
15057 (main): ... with its call to ...
15058 * gdb.cp/casts03.cc: ... a new file.
15059 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15060
d2dfe700
JK
150612016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15062
15063 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15064
e2a92b16
PB
150652016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15066
15067 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15068 and sync up the test with tests in gas/testsuite/gas/ppc.
15069 * gdb.arch/powerpc-power.exp: Likewise.
15070
49b4de64
JK
150712016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15072
15073 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15074
2c29df25
SDJ
150752016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15076 Jan Kratochvil <jan.kratochvil@redhat.com>
15077
15078 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15079 make m1's definition to be different from m2's. Use 'dummy' as an
15080 argument for probe 'two'.
15081
cc3c2846
JB
150822016-09-10 Jon Beniston <jon@beniston.com>
15083
15084 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15085 for sim target.
15086
e1b2624a
AA
150872016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15088
15089 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15090 variable declaration.
15091 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15092 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15093 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15094 received HWCAP as its argument.
15095
4295e285
PA
150962016-09-06 Pedro Alves <palves@redhat.com>
15097
15098 * gdb.base/new-ui-pending-input.c: New file.
15099 * gdb.base/new-ui-pending-input.exp: New file.
15100 * gdb.exp (clear_gdb_spawn_id): New procedure.
15101 (with_spawn_id): Check whether gdb_spawn_id exists before
15102 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15103 on exit.
15104
00d5215e
UW
151052016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15106
15107 * gdb.base/float128.c: New file.
15108 * gdb.base/float128.exp: Likewise.
15109 * gdb.base/floatn.c: Likewise.
15110 * gdb.base/floatn.exp: Likewise.
15111
a9ff5f12
UW
151122016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15113
15114 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15115
f245535c
PA
151162016-09-05 Pedro Alves <palves@redhat.com>
15117
15118 PR backtrace/19927
15119 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15120 unwinders are immediately called as side effect of "source" or
15121 "disable unwinder" commands.
15122 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15123
ae9cf263
YQ
151242016-09-02 Yao Qi <yao.qi@linaro.org>
15125
15126 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15127 is true and $type is "float" or "double".
15128
27aba047
YQ
151292016-09-02 Yao Qi <yao.qi@linaro.org>
15130
15131 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15132 true.
15133 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15134 * gdb.base/call-rt-st.exp: Likewise.
15135 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15136 return value instead of gdb,skip_float_test.
15137 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15138 (do_function_calls): Use its return value instead of
15139 gdb,skip_float_test.
15140 * gdb.base/finish.exp: Likewise.
15141 * gdb.base/funcargs.exp: Likewise.
15142 * gdb.base/return.exp: Likewise.
15143 * gdb.base/return2.exp: Likewise.
15144 * gdb.base/varargs.exp: Likewise.
15145 * lib/gdb.exp (gdb_skip_float_test): Change it to
15146 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15147
5af962df
AA
151482016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15149
15150 * gdb.multi/tids.exp: Test "thread apply all".
15151
7fac6910
JK
151522016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15153
15154 * gdb.base/default.exp (tty): Remove.
15155
bb1fe4ac
KB
151562016-08-24 Kevin Buettner <kevinb@redhat.com>
15157
2806dc7e
PA
15158 * gdb.python/py-recurse-unwind.c: New file.
15159 * gdb.python/py-recurse-unwind.py: New file.
15160 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15161
0a1ddfa6
SM
151622016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15163
15164 * gdb.base/set-inferior-tty.exp: New file.
15165 * gdb.base/set-inferior-tty.c: New file.
15166
d9de1fe3
PA
151672016-08-23 Pedro Alves <palves@redhat.com>
15168
15169 PR gdb/20494
15170 * gdb.base/new-ui-echo.c: New file.
15171 * gdb.base/new-ui-echo.exp: New file.
15172
e9d9abd7
YQ
151732016-08-23 Yao Qi <yao.qi@linaro.org>
15174
15175 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15176 gdbserver_spawn.
15177 * gdb.server/connect-without-multi-process.exp (do_test):
15178 Likewise.
15179
3589529e
YQ
151802016-08-23 Yao Qi <yao.qi@linaro.org>
15181
15182 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15183 standalone_txt. Delete gdb_txt and standalone_txt on host
15184 and target. Spawn the binary on target. Copy files from
15185 target to host.
15186
6bb90213
PA
151872016-08-22 Pedro Alves <palves@redhat.com>
15188
15189 PR gdb/20505
15190 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15191 with_test_prefix. Factor out bits to ...
15192 (test_no_vdso): ... this new procedure.
15193
20c2c024
CL
151942016-08-19 Carl Love <cel@us.ibm.com>
15195
15196 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15197 maintaining separate logic for constructing the output path.
15198 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15199 * gdb.arch/ppc-dfp.exp: Likewise.
15200 * gdb.arch/ppc-fp.exp: Likewise.
15201 * gdb.arch/vsx-regs.exp: Likewise.
15202 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15203 binprefix for generating the additional binary files.
15204
0646e07d
PA
152052016-08-19 Pedro Alves <palves@redhat.com>
15206
15207 * gdb.trace/mi-trace-frame-collected.exp
15208 (test_trace_frame_collected): On x32, expect two registers.
15209
46da9242
CL
152102016-08-18 Carl Love <cel@us.ibm.com>
15211
15212 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15213 and sync up the test with tests in gas/testsuite/gas/ppc.
15214 * gdb.arch/powerpc-power.exp: Likewise.
15215
eb2332d7
SM
152162016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15217
15218 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15219 expected error message.
15220
63c61e04
SM
152212016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15222
15223 * gdb.multi/remove-inferiors.exp: New file.
15224 * gdb.multi/remove-inferiors.c: New file.
15225
7b17065f
YQ
152262016-08-12 Yao Qi <yao.qi@linaro.org>
15227
15228 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15229 argument list.
15230
01d3dedf
PA
152312016-08-10 Pedro Alves <palves@redhat.com>
15232
15233 PR gdb/19187
15234 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15235 setup_kfails.
15236
3eb7562a
PA
152372016-08-09 Pedro Alves <palves@redhat.com>
15238 Simon Marchi <simon.marchi@ericsson.com>
15239
15240 PR gdb/20418
15241 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15242 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15243
80614914
PA
152442016-08-09 Pedro Alves <palves@redhat.com>
15245
15246 PR mi/20431
15247 * gdb.mi/mi-cmd-error.exp: New file.
15248
f348d89a
PA
152492016-08-09 Pedro Alves <palves@redhat.com>
15250
15251 PR gdb/18653
15252 * gdb.base/signals-state-child.c: New file.
15253 * gdb.base/signals-state-child.exp: New file.
15254 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15255
e5ca03b4
PA
152562016-08-09 Pedro Alves <palves@redhat.com>
15257
15258 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15259
282a0691
TT
152602016-08-03 Tom Tromey <tom@tromey.com>
15261
15262 PR python/18565:
15263 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15264
41bfcd63
YQ
152652016-08-01 Yao Qi <yao.qi@linaro.org>
15266
15267 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15268 variable mode to "multi-process" if $multi_process is 1, otherwise
15269 set it to "single-process".
15270
e3465b24
YQ
152712016-08-01 Yao Qi <yao.qi@linaro.org>
15272
15273 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15274 * gdb.cp/cpexprs.exp: Likewise.
15275 * gdb.cp/m-static.exp: Likewise.
15276
0b31a4bc
TT
152772016-07-26 Tom Tromey <tom@tromey.com>
15278
15279 PR python/20190:
15280 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15281 test.
15282
e0461dbb
MM
152832016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15284
15285 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15286 selecting assembly source files.
15287 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15288 assembly source files.
15289 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15290 assembly source files.
15291 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15292 selecting assembly source files.
15293
8194e927
SM
152942016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15295
15296 * gdb.base/new-ui.exp (do_test_invalid_args): New
15297 procedure.
15298
c0272db5
TW
152992016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15300
15301 * gdb.btrace/reconnect.c: New file.
15302 * gdb.btrace/reconnect.exp: New file.
15303
e3487908
GKB
153042016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15305
15306 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15307 to test_catch_syscall_group.
15308 (test_catch_syscall_group): New.
15309
12df5c00
TT
153102016-07-21 Tom Tromey <tom@tromey.com>
15311
15312 * gdb.rust/simple.rs (main): Use empty struct expression.
15313 * gdb.rust/simple.exp: Add tests for empty struct expression.
15314
bae62ee2
YQ
153152016-07-21 Yao Qi <yao.qi@linaro.org>
15316
15317 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15318 if gdb_skip_xml_test is true on some targets.
15319
b1b53fb3
YQ
153202016-07-21 Yao Qi <yao.qi@linaro.org>
15321
15322 * gdb.server/solib-list.exp: Unset last_loaded_file.
15323
027d97f8
JK
153242016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15325
15326 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15327 "step into captured_main (args)".
15328
7674d381
JK
153292016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15330
15331 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15332
72b5d099
JK
153332016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15334
15335 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15336
1f960ced
PA
153372016-07-19 Pedro Alves <palves@redhat.com>
15338
15339 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15340 * gdb.opt/inline-bt.exp: Likewise.
15341 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15342 additional_flags=-Winline.
15343 * gdb.opt/inline-locals.exp: Likewise.
15344 * gdb.opt/inline-markers.c (ATTR): Define.
15345 (inlined_fn): Use it.
15346
f25827c1
YQ
153472016-07-19 Yao Qi <yao.qi@linaro.org>
15348
15349 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15350 (test_with_self): Remove some code. Remove argument executable.
15351 (top-level): Use do_self_tests.
15352
37539ebe
DB
153532016-07-15 Zachary Welch <zwelch@codesourcery.com>
15354 Don Breazeal <donb@codesourcery.com>
15355
15356 * gdb.base/maint.exp: Escape paths used in regular expressions.
15357 * gdb.stabs/weird.exp: Likewise.
15358
dac790e1
TT
153592016-07-13 Tom Tromey <tom@tromey.com>
15360
15361 PR python/15620, PR python/18620:
15362 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15363 (test_bkpt_events): New procs.
15364
93daf339
TT
153652016-07-13 Tom Tromey <tom@tromey.com>
15366
15367 PR python/17698:
15368 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15369 test.
15370 (test_watchpoints): Likewise.
15371 (test_bkpt_pending): New proc.
15372
6571a381
TT
153732016-07-13 Tom Tromey <tom@tromey.com>
15374
15375 PR cli/18053:
15376 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15377 completion test.
15378
e8732474
JK
153792016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15380
15381 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15382 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15383 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15384 f_label.
15385 (g): Rename g_end_lbl to g_label.
15386 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15387 low_pc and high_pc.
15388 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15389
e0f3fd7c
TT
153902016-07-12 Tom Tromey <tom@tromey.com>
15391
15392 PR python/19293:
15393 * gdb.python/py-unwind-maint.exp: Update tests.
15394
3cfe46b6
YQ
153952016-07-12 Yao Qi <yao.qi@linaro.org>
15396
15397 * lib/selftest-support.exp (selftest_setup): Match the output
15398 when captured_main is inlined.
15399
4f19a0e6
WT
154002016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15401
15402 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15403 New variables.
15404 (print this%a, print this%b, print this): New tests.
15405 * gdb.fortran/derived-types.f90 (this): New object and
15406 initialization.
15407
986cf455
SM
154082016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15409
15410 * gdb.ada/arraydim.exp: Remove extra directory level in build
15411 directory.
15412
f0464b23
SM
154132016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15414
15415 * lib/ada.exp: Remove extra directory level in build directory.
15416 * gdb.ada/cond_lang.exp: Likewise.
15417 * gdb.ada/exec_changed.exp: Likewise.
15418 * gdb.ada/lang_switch.exp: Likewise.
15419
42d94011
MG
154202016-07-06 Manish Goregaokar <manish@mozilla.com>
15421
2806dc7e
PA
15422 * simple.rs: Add test for raw pointer subscripting.
15423 * simple.exp: Add test expectations.
42d94011 15424
647c264c
YQ
154252016-07-05 Yao Qi <yao.qi@linaro.org>
15426
15427 * gdb.mi/mi-reverse.exp: Match =record-started output.
15428
20aa2c60
PA
154292016-07-01 Pedro Alves <palves@redhat.com>
15430
15431 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15432 procedure.
15433 (jit_reader_test): Test the jit reader's unwinder.
15434 * gdb.base/jithost.c (jit_function_00_code): New global.
15435 (main): Use memcpy to fill in the mmapped code, instead of poking
15436 bytes manually here.
15437 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15438 value.
15439 (read_debug_info): Save the function's range.
15440 (read_sp): New function.
15441 (unwind_frame): Use it. Also unwind RBP.
15442 (get_frame_id): Use read_sp.
15443 (gdb_init_reader): Use calloc instead of malloc.
15444 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15445 parameter. Use gdb_test_multiple.
15446
ced2dffb
PA
154472016-07-01 Pedro Alves <palves@redhat.com>
15448 Antoine Tremblay <antoine.tremblay@ericsson.com>
15449
15450 * gdb.threads/process-dies-while-detaching.c: New file.
15451 * gdb.threads/process-dies-while-detaching.exp: New file.
15452
63000888
PA
154532016-07-01 Pedro Alves <palves@redhat.com>
15454
15455 * gdb.multi/watchpoint-multi-exit.c: New file.
15456 * gdb.multi/watchpoint-multi-exit.exp: New file.
15457
038d4868
PA
154582016-06-30 Pedro Alves <palves@redhat.com>
15459
15460 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15461 unset inferior_spawn_id.
15462
994e9c83
PA
154632016-06-30 Pedro Alves <palves@redhat.com>
15464
15465 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15466 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15467
e5653468
YQ
154682016-06-29 Yao Qi <yao.qi@linaro.org>
15469
15470 * gdb.base/return.c: Add copyright header.
15471
803b47e5
TT
154722016-06-29 Tom Tromey <tom@tromey.com>
15473
15474 PR python/20129:
15475 * gdb.python/py-framefilter.exp: Add tests for setting priority
15476 and disabling of non-existent frame filter.
15477
28244707
YQ
154782016-06-29 Yao Qi <yao.qi@linaro.org>
15479
15480 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15481 0x0f07ff.
15482
a31d2f06
YQ
154832016-06-28 Yao Qi <yao.qi@linaro.org>
15484
15485 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15486 triplets. Start gdb, execute catch syscall, and continue. Check
15487 gdb's output to determine catch syscall is supported.
15488
921d8f54
MG
154892016-06-27 Manish Goregaokar <manish@mozilla.com>
15490
25d49b86
PA
15491 * gdb.rust/simple.rs: Add test for returning unit in a function.
15492 * gdb.rust/simple.exp: Add expectation for functions returning
15493 unit.
921d8f54 15494
f4952523
PMR
154952016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15496
15497 * gdb.python/py-breakpoint-create-fail.c,
15498 gdb.python/py-breakpoint-create-fail.exp,
15499 gdb.python/py-breakpoint-create-fail.py: New testcase.
15500
fccb08f8
MG
155012016-06-25 Manish Goregaokar <manish@mozilla.com>
15502
15503 PR gdb/20239
15504 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15505 * gdb.rust/simple.exp: Add test expectations for new NonZero
15506 tests.
fccb08f8 15507
6b850546
DT
155082016-06-24 David Taylor <dtaylor@emc.com>
15509
15510 * gdb.base/offsets.exp: New file.
15511 * gdb.base/offsets.c: New file.
15512
17621150
TT
155132016-06-23 Tom Tromey <tom@tromey.com>
15514
15515 PR gdb/16483:
15516 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15517 before any filters are loaded.
15518
04d59df6
WT
155192016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15520
15521 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15522 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15523 structs.
15524 * gdb.fortran/derived-type-function.exp: New file.
15525 * gdb.fortran/derived-type-function.f90: New file.
15526
15527
ac69f786
PA
155282016-06-21 Pedro Alves <palves@redhat.com>
15529
15530 * gdb.base/new-ui.exp: New file.
15531 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15532 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15533 (with_spawn_id): New procedure.
15534
49940788
PA
155352016-06-21 Pedro Alves <palves@redhat.com>
15536
15537 * gdb.mi/mi-exec-run.exp: New file.
15538
ef274d26
PA
155392016-06-21 Pedro Alves <palves@redhat.com>
15540
15541 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15542 breakpoint command's output on the main UI.
15543 (test_break): New procedure, factored out from calls in the top
15544 level.
15545 (top level): Use foreach_with_prefix to test MI as main UI and as
15546 separate UI.
15547
468afe6c
PA
155482016-06-21 Pedro Alves <palves@redhat.com>
15549
15550 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15551 (test_awatch_creation_and_listing)
15552 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15553 Remove 'type' parameter.
15554 (test_watchpoint_all): New parameter mi_mode. Remove
15555 with_test_prefix.
15556 (top level): Use foreach_with_prefix, and add main/separate UI MI
15557 testing axis.
15558
51f77c37
PA
155592016-06-21 Pedro Alves <palves@redhat.com>
15560
15561 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15562 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15563 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15564 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15565 (gdb_main_spawn_id, mi_spawn_id): Declare and
15566 comment.
15567 (mi_create_inferior_pty): New procedure,
15568 factored out from default_mi_gdb_start.
15569 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15570 procedures.
15571 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15572 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15573 Use mi_create_inferior_pty.
15574 (mi_gdb_start): Use eval to pass down args list.
15575
8980e177
PA
155762016-06-21 Pedro Alves <palves@redhat.com>
15577
15578 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15579 * gdb.opt/inline-cmds.exp: Add MI tests.
15580
f38d3ad1
PA
155812016-06-21 Pedro Alves <palves@redhat.com>
15582
15583 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15584
45db7c09
PA
155852016-06-21 Pedro Alves <palves@redhat.com>
15586
15587 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15588 (top level): Use it instead of mi_execute_to.
15589
5a069ab3
PA
155902016-06-21 Pedro Alves <palves@redhat.com>
15591
15592 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15593 (cont_handler_str): New.
15594 (signal_stop_handler): Set stop_handler_str instead of printing to
15595 stdout.
15596 (continue_handler): Set cont_handler_str instead of printing to
15597 stdout.
15598 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15599 mi_send_resuming_command. Print stop_handler_str and
15600 cont_handler_str instead of expecting the python events print
15601 directly.
15602
2838cc1d
SD
156032016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15604
15605 * gdb.base/jit-reader.exp: New file.
15606 * gdb.base/jithost.c: New file.
15607 * gdb.base/jithost.h: New file.
15608 * gdb.base/jitreader.c : New file.
15609 * gdb.base/jit-protocol.h: New file.
15610
21a77091
YQ
156112016-06-17 Yao Qi <yao.qi@linaro.org>
15612
15613 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15614 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15615 and detach-on-fork. Adjust tests.
15616 (top level): Invoke break_cond_on_syscall with combinations of
15617 syscall, follow-fork-mode and detach-on-fork.
15618
f50bf8e5
YQ
156192016-06-17 Yao Qi <yao.qi@linaro.org>
15620
15621 * gdb.base/step-over-exit.c: New.
15622 * gdb.base/step-over-exit.exp: New.
15623
a28d8e50
YTL
156242016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15625
15626 * gdb.base/float.exp: Add target check for nds32*-*-*.
15627 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15628
cad8e26d
AB
156292016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15630
15631 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15632 for unsupported target features.
15633 * gdb.base/call-rt-st.exp: Likewise.
15634 * gdb.base/call-sc.exp: Likewise.
15635 * gdb.base/call-signal-resume.exp: Likewise.
15636 * gdb.base/call-strs.exp: Likewise.
15637 * gdb.base/callexit.exp: Likewise.
15638 * gdb.base/callfuncs.exp: Likewise.
15639 * gdb.base/nodebug.exp: Likewise.
15640 * gdb.base/printcmds.exp: Likewise.
15641 * gdb.base/ptype.exp: Likewise.
15642 * gdb.base/structs.exp: Likewise.
15643 * gdb.base/unwindonsignal.exp: Likewise.
15644 * gdb.cp/gdb2495.exp: Likewise.
15645 * gdb.cp/templates.exp: Likewise.
15646 * gdb.cp/virtfunc.exp: Likewise.
15647 * gdb.threads/hand-call-in-threads.exp: Likewise.
15648 * gdb.threads/interrupted-hand-call.exp: Likewise.
15649 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15650
347dc102
TT
156512016-06-10 Tom Tromey <tom@tromey.com>
15652
15653 PR rust/20110:
15654 * gdb.rust/expr.exp: Add test for integer constant larger than
15655 i32.
15656
5e13cf25
BH
156572016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15658
15659 * gdb.fortran/nested-funcs.exp: New.
15660 * gdb.fortran/nested-funcs.f90: New.
15661
bb556f1f
TK
156622016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15663
15664 * gdb.base/examine-backward.c: New file.
15665 * gdb.base/examine-backward.exp: New file.
15666
38b022b4
SM
156672016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15668
15669 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15670 matching.
15671
1b40ec05
TT
156722016-06-02 Tom Tromey <tom@tromey.com>
15673
15674 PR python/18984:
15675 * gdb.python/py-shared.exp: Add solib_name test.
15676
193bd378
SM
156772016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15678
15679 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15680
3326303b
MG
156812016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15682
15683 PR c++/19893
15684 * gdb.dwarf2/implref.exp: Rename to...
15685 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15686 * gdb.dwarf2/implref-array.c: New file.
15687 * gdb.dwarf2/implref-array.exp: Likewise.
15688 * gdb.dwarf2/implref-global.c: Likewise.
15689 * gdb.dwarf2/implref-global.exp: Likewise.
15690 * gdb.dwarf2/implref-struct.c: Likewise.
15691 * gdb.dwarf2/implref-struct.exp: Likewise.
15692
825c8ef2
AT
156932016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15694
15695 * gdb.trace/trace-condition.exp: Add 64bit tests.
15696
2320162a
AT
156972016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15698
15699 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15700 bits types.
15701 (main): Adapt to 8 to 64 bits types.
15702 * gdb.trace/trace-condition.exp: Add new tests.
15703
a7818233
AT
157042016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15705
15706 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15707
0d336466
AT
157082016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15709
15710 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15711 Move condition tests...
15712 * gdb.trace/trace-condition.exp: Here.
15713
7faeb45a
AT
157142016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15715
15716 * gdb.trace/trace-condition.exp: Add counter-case tests.
15717
e385593e
JK
157182016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15719
15720 PR c++/15231
15721 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15722 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15723
744608cc
PA
157242016-05-27 Pedro Alves <palves@redhat.com>
15725
15726 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15727 New procedure.
15728 (top level): Call it, and bail out of DejaGnu is known to be bad.
15729
ac775bf4
AB
157302016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15731
15732 * gdb.base/whatis.c: Extend the test case.
15733 * gdb.base/whatis.exp: Add additional tests.
15734
2bbad2ea
BH
157352016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15736
15737* gdb.fortran/type.f90: Add pointer variable.
15738* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15739
8b70175d
BH
157402016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15741
15742 * gdb.fortran/vla-type.exp: Fix testcase name.
15743
86d8a848
BH
157442016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15745
15746 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15747
e188eb36
BH
157482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15749
15750 * gdb.fortran/type.f90: Add nested structures.
15751 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15752 * gdb.fortran/derived-type.exp: Adapt expected output.
15753 * gdb.fortran/vla-type.exp: Adapt expected output.
15754
9b2db1fd
BH
157552016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15756
15757 * gdb.fortran/whatis_type.exp: Adapt expected output.
15758
72b17055
BH
157592016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15760
15761 * gdb.fortran/print_type.exp: Fix expected output.
15762 * gdb.fortran/whatis_type.exp: Fix expected output.
15763
3cd81d8d
BH
157642016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15765
15766 * gdb.fortran/whatis_type.exp: Use multi_line.
15767
ddae9462
TT
157682016-05-24 Tom Tromey <tom@tromey.com>
15769
15770 PR python/17386:
15771 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15772 use value as an index.
15773
1957f6b8
TT
157742016-05-23 Tom Tromey <tom@tromey.com>
15775
15776 PR python/17981:
15777 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15778 no-breakpoint case.
15779
026a9174
PA
157802016-05-24 Pedro Alves <palves@redhat.com>
15781
15782 PR gdb/19828
15783 * gdb.threads/clone-attach-detach.c: New file.
15784 * gdb.threads/clone-attach-detach.exp: New file.
15785
e70a7231
FR
157862016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15787
15788 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15789
0f6ed0e0
TT
157902016-05-23 Tom Tromey <tom@tromey.com>
15791
15792 PR python/19438, PR python/18393:
15793 * gdb.python/py-progspace.exp: Add "dir" test.
15794 * gdb.python/py-objfile.exp: Add "dir" test.
15795
ffd19d61
YQ
157962016-05-23 Yao Qi <yao.qi@linaro.org>
15797
15798 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15799 * gdb.arch/thumb2-it.exp: Likewise.
15800
9e8f9b05
SM
158012016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15802
15803 * gdb.mi/mi-threads-interrupt.c: New file.
15804 * gdb.mi/mi-threads-interrupt.exp: New file.
15805
61c6156d
SM
158062016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15807
15808 PR gdb/18077
15809 * gdb.mi/mi-async-run.exp: New file.
15810 * gdb.mi/mi-async-run.c: New file.
15811
67218854
TT
158122016-05-17 Tom Tromey <tom@tromey.com>
15813 Manish Goregaokar <manishsmail@gmail.com>
15814
15815 * lib/rust-support.exp: New file.
15816 * lib/gdb.exp (skip_rust_tests): New proc.
15817 (build_executable_from_specs): Handle rust.
15818 * lib/future.exp (gdb_find_rustc): New proc.
15819 (gdb_default_target_compile): Handle rust.
15820 * gdb.rust/expr.exp: New file.
15821 * gdb.rust/generics.exp: New file.
15822 * gdb.rust/generics.rs: New file.
15823 * gdb.rust/methods.exp: New file.
15824 * gdb.rust/methods.rs: New file.
15825 * gdb.rust/modules.exp: New file.
15826 * gdb.rust/modules.rs: New file.
15827 * gdb.rust/simple.exp: New file.
15828 * gdb.rust/simple.rs: New file.
15829
c44af4eb
TT
158302016-05-17 Tom Tromey <tom@tromey.com>
15831
15832 * gdb.base/default.exp (set language): Add rust.
15833
dcd1f979
TT
158342016-05-17 Tom Tromey <tom@tromey.com>
15835
15836 * gdb.gdb/unittest.exp: New file.
15837
155b7f57
YQ
158382016-05-16 Yao Qi <yao.qi@linaro.org>
15839
15840 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15841 shell_prompt. Update shell_prompt_re.
15842
8ddd5a6c
DE
158432016-05-12 Doug Evans <dje@google.com>
15844
15845 PR symtab/19999
15846 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15847 $options when building executable.
15848 * gdb.dwarf2/fission-loclists-pie.S: New file.
15849 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15850
02e370d9
SM
158512016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15852
15853 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15854 of [is_remote target],
15855
8929ad8b
SM
158562016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15857
15858 * lib/gdb.exp (use_gdb_stub): New procedure.
15859
6c447423
DE
158602016-05-03 Yunlian Jiang <yunlian@google.com>
15861 Doug Evans <dje@google.com>
15862
15863 PR symtab/19914
15864 * gdb.dwarf2/dwp-sepdebug.c: New file.
15865 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15866
444e826c
SM
158672016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15868
15869 * gdb.base/detach.exp: Remove is_remote check.
15870
740feeaa
SM
158712016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15872
15873 * gdb.base/annota-input-while-running.exp: Don't check for
15874 [is_remote target]. Enable annotations after running to main.
15875 Remove unused "set test..." line.
15876
9080ac9d
SM
158772016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15878
15879 * gdb.trace/trace-enable-disable.exp: New file.
15880 * gdb.trace/trace-enable-disable.c: New file.
15881
952ebca5
SM
158822016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15883
15884 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15885 use it in info sharedlibrary test.
15886 * gdb.trace/ftrace-lock.exp: Likewise.
15887 * gdb.trace/ftrace.exp: Likewise.
15888 * gdb.trace/range-stepping.exp: Likewise.
15889 * gdb.trace/trace-break.exp: Likewise.
15890 * gdb.trace/trace-condition.exp: Likewise.
15891 * gdb.trace/trace-mt.exp: Likewise.
15892
d9019901
SM
158932016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15894
15895 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15896 (gdb_load_shlib): ... this.
15897 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15898 gdb_load_shlib.
15899 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15900 * gdb.base/ctxobj.exp: Likewise.
15901 * gdb.base/dprintf-pending.exp: Likewise.
15902 * gdb.base/dso2dso.exp: Likewise.
15903 * gdb.base/fixsection.exp: Likewise.
15904 * gdb.base/gcore-relro.exp: Likewise.
15905 * gdb.base/gdb1555.exp: Likewise.
15906 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15907 * gdb.base/gnu-ifunc.exp: Likewise.
15908 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15909 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15910 * gdb.base/pending.exp: Likewise.
15911 * gdb.base/print-file-var.exp: Likewise.
15912 * gdb.base/print-symbol-loading.exp: Likewise.
15913 * gdb.base/shlib-call.exp: Likewise.
15914 * gdb.base/shreloc.exp: Likewise.
15915 * gdb.base/so-impl-ld.exp: Likewise.
15916 * gdb.base/solib-disc.exp: Likewise.
15917 * gdb.base/solib-nodir.exp: Likewise.
15918 * gdb.base/solib-overlap.exp: Likewise.
15919 * gdb.base/solib-symbol.exp: Likewise.
15920 * gdb.base/solib-weak.exp (do_test): Likewise.
15921 * gdb.base/sym-file.exp: Likewise.
15922 * gdb.base/symtab-search-order.exp: Likewise.
15923 * gdb.base/type-opaque.exp: Likewise.
15924 * gdb.base/unload.exp: Likewise.
15925 * gdb.base/watchpoint-solib.exp: Likewise.
15926 * gdb.compile/compile.exp: Likewise.
15927 * gdb.cp/gdb2384.exp: Likewise.
15928 * gdb.cp/infcall-dlopen.exp: Likewise.
15929 * gdb.cp/re-set-overloaded.exp: Likewise.
15930 * gdb.fortran/library-module.exp: Likewise.
15931 * gdb.opt/solib-intra-step.exp: Likewise.
15932 * gdb.python/py-finish-breakpoint.exp: Likewise.
15933 * gdb.python/py-shared.exp: Likewise.
15934 * gdb.reverse/solib-precsave.exp: Likewise.
15935 * gdb.reverse/solib-reverse.exp: Likewise.
15936 * gdb.server/solib-list.exp: Likewise.
15937 * gdb.threads/dlopen-libpthread.exp: Likewise.
15938 * gdb.threads/tls-shared.exp: Likewise.
15939 * gdb.threads/tls-so_extern.exp: Likewise.
15940 * gdb.trace/change-loc.exp: Likewise.
15941 * gdb.trace/ftrace-lock.exp: Likewise.
15942 * gdb.trace/ftrace.exp: Likewise.
15943 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15944 * gdb.trace/pending.exp: Likewise.
15945 * gdb.trace/range-stepping.exp: Likewise.
15946 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15947 (strace_info_marker): Likewise.
15948 (strace_probe_marker): Likewise.
15949 (strace_trace_on_same_addr): Likewise.
15950 (strace_trace_on_diff_addr): Likewise.
15951 * gdb.trace/trace-break.exp: Likewise.
15952 * gdb.trace/trace-condition.exp: Likewise.
15953 * gdb.trace/trace-mt.exp: Likewise.
15954
fca4cfd9
SM
159552016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15956
15957 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15958 result of gdb_remote_download.
15959 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15960 * gdb.base/dso2dso.exp: Likewise.
15961 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15962 * gdb.base/print-file-var.exp: Likewise.
15963 * gdb.base/shlib-call.exp: Likewise.
15964 * gdb.base/shreloc.exp: Likewise.
15965 * gdb.base/solib-overlap.exp: Likewise.
15966 * gdb.base/solib-weak.exp (do_test): Likewise.
15967 * gdb.base/unload.exp: Likewise.
15968
11cf4ffb
YQ
159692016-04-27 Yao Qi <yao.qi@linaro.org>
15970
15971 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15972 exists.
15973
3e2e34f8
KB
159742016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15975
15976 * vla-type.exp: Print structure from toplevel.
15977
8f07e298
BH
159782016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15979
15980 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15981 of dynamic types.
15982 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15983 of dynamic types.
15984
9920b434
BH
159852016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15986
15987 * gdb.fortran/vla-type.f90: New file.
15988 * gdb.fortran/vla-type.exp: New file.
15989
f3abeff5
YQ
159902016-04-25 Yao Qi <yao.qi@linaro.org>
15991
15992 * gdb.base/branch-to-self.c: New file.
15993 * gdb.base/branch-to-self.exp: New file.
15994
0a5d52f0
YQ
159952016-04-22 Yao Qi <yao.qi@linaro.org>
15996
15997 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15998 more after $hex.
15999
495346f6
YQ
160002016-04-22 Yao Qi <yao.qi@linaro.org>
16001
16002 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16003 * gdb.base/annota3.exp: Likewise.
16004
4a7e075c
YQ
160052016-04-22 Yao Qi <yao.qi@linaro.org>
16006
16007 * gdb.reverse/step-precsave.exp: Do one step and test program
16008 stops in "callee" and do multiple steps until program goes out
16009 of "callee".
16010 * gdb.reverse/step-reverse.exp: Likewise.
16011
5b061e98
YQ
160122016-04-22 Yao Qi <yao.qi@linaro.org>
16013
16014 * gdb.trace/signal.exp: Also pass if
16015 $tracepoint_hits($i) > $iterations.
16016
5c5dc57f
YQ
160172016-04-22 Yao Qi <yao.qi@linaro.org>
16018
16019 * gdb.trace/signal.c: New file.
16020 * gdb.trace/signal.exp: New file.
16021
a55411b9
DE
160222016-04-19 Doug Evans <xdje42@gmail.com>
16023
16024 * gdb.base/bad-file.exp: New file.
16025
a22df60a
MG
160262016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16027
16028 * gdb.dwarf2/implref.exp: New file.
16029
0c13f7e5
BH
160302016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16031
16032 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16033 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16034 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16035 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16036 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16037 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16038 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16039 * lib/fortran.exp (fortran_int4): New procedure.
16040 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16041 (fortran_logical4): Likewise.
16042
9b9b09e9
BH
160432016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16044
16045 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16046
a14d1f4d
BH
160472016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16048
16049 * lib/compiler.c: Add Intel specific preprocessor macros.
16050 * lib/compiler.cc: Likewise.
25d49b86 16051
7d49b1d0
LM
160522016-04-13 Luis Machado <lgustavo@codesourcery.com>
16053
16054 * gdb.server/connect-with-no-symbol-file.c: New file.
16055 * gdb.server/connect-with-no-symbol-file.exp: New file.
16056
8392fa22
SM
160572016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16058
16059 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16060
8c4c4aeb
SM
160612016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16062
16063 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16064 standard output directory.
16065
45e3745e
AT
160662016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16067
16068 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16069
e26b7e41
MM
160702016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16071
16072 * gdb.btrace/instruction_history.c (loop): Add declaration.
16073
8ce09462
AT
160742016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16075
16076 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16077
2e88a1ea
SM
160782016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16079
16080 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16081 parentheses to print.
16082 (continue_handler): Likewise.
16083
f48e22e3
SM
160842016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16085
16086 * gdb.server/solib-list.exp: Remove is_remote check.
16087 Pass shlib= to gdb_compile. Don't link shared library with
16088 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16089 Run binary filename through "readlink -f" on the target.
16090
096be756
PA
160912016-04-08 Pedro Alves <palves@redhat.com>
16092
16093 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16094 interpreter filename as argument to gdbserver_spawn.
16095 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16096 Return empty if $last_loaded_file does not exist.
16097
06500533
JK
160982016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16099
16100 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16101 * gdb.base/jit-main.c: Use exit after usage.
16102
2d35e871
JK
161032016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16104
16105 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16106 GDBHISTSIZE prior to the tests.
16107 * gdb.base/gdbinit-history.exp: Likewise.
16108
161092016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
16110
16111 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16112 instead of build_executable. Use gdb_load_shlibs.
16113
c8064e7e
YQ
161142016-04-07 Yao Qi <yao.qi@linaro.org>
16115
16116 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16117 Execute "si" command.
16118
bde47561
YQ
161192016-04-07 Yao Qi <yao.qi@linaro.org>
16120
16121 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16122 number instead of the comments on some line.
16123
b16f8a3b
DB
161242016-04-06 Don Breazeal <donb@codesourcery.com>
16125
16126 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16127 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16128
c2f901df
SM
161292016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16130
16131 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16132 standard_output_file. Remove unused binfile variable.
16133
ac17fda0
CU
161342016-04-05 Catalin Udma <catalin.udma@freescale.com>
16135
16136 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16137 * gdb.python/py-mi-objfile.exp: Match "list main" output
16138 in console format.
16139
03a8c4df
SM
161402016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16141
16142 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16143 absolute.
16144
6e774b13
SM
161452016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16146
16147 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16148 absolute.
16149 * gdb.trace/ftrace.exp: Likewise.
16150 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16151 targets as well.
16152 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16153 (gdb_load_shlibs): Copy libraries to test directory when testing
16154 natively. Only set solib-search-path if testing remotely.
16155 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16156
7817ea46
SM
161572016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16158
16159 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16160 gdb_download. Use it even if the target is not remote.
16161 * gdb.base/jit.exp (compile_jit_test): Likewise.
16162 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16163 output directory if the destination board is local, otherwise use
16164 the standard remote_download from DejaGnu.
16165 (gdb_download): Remove.
16166 (gdb_load_shlibs): Use gdb_remote_download instead of
16167 gdb_download.
16168 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16169 Use gdb_remote_download instead of gdb_download. Use it even if
16170 the target is not remote.
16171 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16172 instead of gdb_download.
16173
7beb7f68
SM
161742016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16175
16176 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16177 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16178 run.
16179
cc63428a
AV
161802016-04-01 Artemiy Volkov <artemiyv@acm.org>
16181
16182 PR gdb/19820
16183 * gdb.base/printcmds.exp: Add artificial arrays tests.
16184
64cdf930
PA
161852016-03-31 Pedro Alves <palves@redhat.com>
16186
16187 PR gdb/19858
16188 * gdb.base/jit-main.c: Include unistd.h.
16189 (ATTACH): Define to 0 if not already defined.
16190 (wait_for_gdb, mypid): New globals.
16191 (WAIT_FOR_GDB): New macro.
16192 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16193 some breakpoint locations.
16194 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16195 New procedures.
16196 (one_jit_test): Add REATTACH parameter, and handle it. Use
16197 continue_to_test_location.
16198 (top level): Test attach, and adjusts calls to one_jit_test.
16199
40dea8cb
PA
162002016-03-31 Pedro Alves <palves@redhat.com>
16201
16202 PR gdb/19858
16203 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16204 BINSUFFIX parameter, and handle it.
16205 (top level): Adjust calls compile_jit_test.
16206
e7ea3ec7
CU
162072016-03-31 Catalin Udma <catalin.udma@freescale.com>
16208
16209 PR python/19743
16210 * gdb.python/py-mi-events-gdb.py: New file.
16211 * gdb.python/py-mi-events.c: New file.
16212 * gdb.python/py-mi-events.exp: New file.
16213
e6359af3
YQ
162142016-03-30 Yao Qi <yao.qi@linaro.org>
16215
16216 * gdb.reverse/until-precsave.exp: Match function name only.
16217 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16218 Move malloc to a condition block.
16219 * gdb.reverse/until-reverse.exp: Match function name only.
16220
a4105d04
MK
162212016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16222
16223 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16224 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16225 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16226 variable for GPR 0 instead of assuming it is register 0.
16227 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16228 * lib/trace-support.exp: Add s390 registers.
16229
bfa6adb9
YQ
162302016-03-29 Yao Qi <yao.qi@linaro.org>
16231
16232 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16233
1e6697ea
YQ
162342016-03-24 Yao Qi <yao.qi@linaro.org>
16235
16236 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16237 test message.
16238
64bcd522
AA
162392016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16240
16241 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16242 maintaining separate logic for constructing the output path.
16243
7868401b
DB
162442016-03-16 Don Breazeal <donb@codesourcery.com>
16245
16246 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16247 Retry fork and waitpid on interrupted system call errors.
16248 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16249 Use with_timeout_factor to increase timeout by factor of 10.
16250
1cafadb4
DB
162512016-03-15 Don Breazeal <donb@codesourcery.com>
16252
16253 * gdb.cp/scope-err.cc: New test program.
16254 * gdb.cp/scope-err.exp: New test script.
16255 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16256 lines and "set breakpoint here" comment.
16257 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16258 Fixed some whitespace and format issues.
16259 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16260 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16261
81516450
DE
162622016-03-15 Doug Evans <dje@google.com>
16263
16264 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16265 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16266 All callers updated. Add tests for enums, mixed flags register.
16267
aa52b601
DE
162682016-03-15 Doug Evans <dje@google.com>
16269
16270 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16271 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16272
fa4ff313
SM
162732016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16274
16275 * gdb.base/default.exp: Add $_as_string to the list of expected
16276 convenience functions.
16277
f2403c39
AB
162782016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16279
16280 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16281
f2f3ccb9
SM
162822016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16283
16284 * gdb.python/py-as-string.exp: New file.
16285 * gdb.python/py-as-string.c: New file.
16286
00dbd492
PA
162872016-03-09 Pedro Alves <palves@redhat.com>
16288
16289 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16290 signal" -> "Thread NN received signal" output change.
16291 * gdb.threads/ia64-sigill.exp: Likewise.
16292 * gdb.threads/linux-dp.exp: Likewise.
16293 * gdb.threads/manythreads.exp: Likewise.
16294 * gdb.threads/pending-step.exp: Likewise.
16295 * gdb.threads/print-threads.exp: Likewise.
16296 * gdb.threads/sigstep-threads.exp: Likewise.
16297 * gdb.threads/staticthreads.exp: Likewise.
16298 * gdb.threads/tls.exp: Likewise.
16299
1e6697ea
YQ
163002016-03-09 Pedro Alves <palves@redhat.com>
16301
16302 * gdb.base/command-line-input.exp: New file.
16303
b04fd3be
MK
163042016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16305
16306 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16307 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16308 * gdb.trace/pending.exp: Accept leading dot before function name.
16309 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16310 * lib/trace-support.exp: Set registers for ppc.
16311
98fa59e9
MK
163122016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16313
16314 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16315 use it for disassembly; accept .main in addition to main in backtrace.
16316
f77198c8
MK
163172016-03-09 Wei-cheng Wang <cole945@gmail.com>
16318 Marcin Kościelnicki <koriakin@0x04.net>
16319
16320 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16321 (gdb_recursion_test_ptr): New global variable.
16322 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16323 gdb_recursion_test.
16324 (gdb_c_test): Ditto.
16325
ba84e0da
MK
163262016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16327
16328 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16329 ordering.
16330
4366d36e
MK
163312016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16332
16333 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16334 (bar): Add bar_start_lbl label.
16335 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16336 of foo/bar for emitting DWARF and tracing.
16337
5eb264df
SDJ
163382016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16339
16340 * analyze-racy-logs.py: Set executable bit.
16341
fb6a751f
SDJ
163422016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16343
16344 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16345 (CHECK_TARGET_TMP): Likewise.
16346 (check-single-racy): New rule.
16347 (check-parallel-racy): Likewise.
16348 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16349 (do-check-parallel-racy): New rule.
16350 (check-racy/%.exp): Likewise.
16351 * README (Racy testcases): New section.
16352 * analyze-racy-logs.py: New file.
16353
bdf7e230
DE
163542016-03-03 Doug Evans <dje@google.com>
16355
16356 * gdb.base/skip.exp: Use with_test_prefix.
16357
4719d415
YQ
163582016-03-03 Yao Qi <yao.qi@linaro.org>
16359
16360 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16361 Invoke step_over_syscall "clone" and break_cond_on_syscall
16362 "clone".
16363 * gdb.base/step-over-clone.c: New file.
16364
ea507862
YQ
163652016-03-03 Yao Qi <yao.qi@linaro.org>
16366
16367 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16368 code format.
16369
8fc8cbda
YQ
163702016-03-03 Yao Qi <yao.qi@linaro.org>
16371
16372 * gdb.base/disp-step-fork.c: Rename to ...
16373 * gdb.base/step-over-fork.c: ... it. New file.
16374 * gdb.base/disp-step-vfork.c: Rename to ...
16375 * gdb.base/step-over-vfork.c: ... it. New file.
16376 * gdb.base/disp-step-syscall.exp: Rename to ...
16377 * gdb.base/step-over-syscall.exp: ... it. New file.
16378 (disp_step_cross_syscall): Rename to ...
16379 (step_over_syscall): ... it.
16380
92fa70b0
YQ
163812016-03-03 Yao Qi <yao.qi@linaro.org>
16382
16383 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16384 If target supports condition evaluation on target, invoke
16385 break_cond_on_syscall for fork and vfork.
16386
e197ad3c
YQ
163872016-03-03 Yao Qi <yao.qi@linaro.org>
16388
16389 * gdb.base/disp-step-syscall.exp: Don't invoke
16390 support_displaced_stepping.
16391 (disp_step_cross_syscall): Test with displaced stepping off and
16392 on if supported.
16393
0b47da9f
YQ
163942016-03-03 Yao Qi <yao.qi@linaro.org>
16395
16396 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16397 proc.
16398 (setup): New proc.
16399 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16400 and setup.
16401
065ab6dc
BH
164022016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16403
16404 * gdb.fortran/vla-history.exp: Remove breakpoint.
16405
07e448ad 164062016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16407
25d49b86
PA
16408 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16409 exceeds timeout.
07e448ad 16410
9ac2d526 164112016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16412
25d49b86
PA
16413 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16414 breakpoint.
9ac2d526 16415
17807369
BH
164162016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16417
16418 * gdb.mi/vla.f90: Nullify pointer after declaration.
16419
86e501af
PA
164202016-03-01 Pedro Alves <palves@redhat.com>
16421
16422 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16423
1e903e32
PA
164242016-03-01 Pedro Alves <palves@redhat.com>
16425
16426 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16427 before anything else.
16428 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16429 _GNU_SOURCE here.
16430 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16431 before anything else.
16432 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16433
6ccb54e2
PA
164342016-03-01 Pedro Alves <palves@redhat.com>
16435
16436 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16437
30ca9da1
YQ
164382016-03-01 Yao Qi <yao.qi@linaro.org>
16439
16440 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16441 prepare_for_testing.
16442
dc856b38
YQ
164432016-03-01 Yao Qi <yao.qi@linaro.org>
16444
16445 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16446
4a932159
AA
164472016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16448
16449 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16450 manually constructing the output path.
16451
f2489477
AA
164522016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16453
16454 * gdb.arch/s390-stackless.S: New.
16455 * gdb.arch/s390-stackless.exp: New.
16456
38899f16
IB
164572016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16458
16459 * gdb.dlang/circular.c: New file.
16460 * gdb.dlang/circular.exp: New file.
16461
9fde51ed
YQ
164622016-02-26 Yao Qi <yao.qi@linaro.org>
16463
16464 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16465 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16466 (testcases): Update.
16467
ce90fefe
YQ
164682016-02-26 Yao Qi <yao.qi@linaro.org>
16469
16470 * gdb.reverse/aarch64.c: Rename to ...
16471 * gdb.reverse/insn-reverse.c: ... it.
16472 * gdb.reverse/aarch64.exp: Rename to ...
16473 * gdb.reverse/insn-reverse.exp: ... it.
16474
3263bceb
YQ
164752016-02-26 Yao Qi <yao.qi@linaro.org>
16476
16477 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16478 (testcase_ftype): New.
16479 (testcases): New array.
16480 (n_testcases): New.
16481 (main): Call each element in testcases.
16482 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16483 (read_testcase): New.
16484 Do the tests in a loop.
16485
6cb59ff1
YQ
164862016-02-25 Yao Qi <yao.qi@linaro.org>
16487
16488 * gdb.base/branches.c: Remove.
16489
ae91f625
MK
164902016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16491
16492 PR gdb/13808
16493 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16494
678b48b7
MK
164952016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16496
16497 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16498
7337a6f2
MK
164992016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16500
16501 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16502 change x86_64 call_insn to 'callq'.
16503
861ca91f
AT
165042016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16505
16506 * gdb.trace/tfile-avx.c: Move to...
16507 * gdb.trace/tracefile-pseudo-reg.c: Here.
16508 * gdb.trace/tfile-avx.exp: Move to...
16509 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16510
bf74e428
GB
165112016-02-24 Gary Benson <gbenson@redhat.com>
16512
16513 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16514 message on attach.
16515
cce0e923
DE
165162016-02-23 Doug Evans <dje@google.com>
16517
16518 * gdb.base/skip.c (test_skip): New function.
16519 (end_test_skip_file_and_function): New function.
16520 (test_skip_file_and_function): New function.
16521 * gdb.base/skip1.c (test_skip): New function.
16522 (skip1_test_skip_file_and_function): New function.
16523 * gdb.base/skip.exp: Add tests for new skip options.
16524 * gdb.base/skip-solib.exp: Update expected output.
16525 * gdb.perf/skip-command.cc: New file.
16526 * gdb.perf/skip-command.exp: New file.
16527 * gdb.perf/skip-command.py: New file.
16528
4000e47e
MK
165292016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16530
16531 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16532 info registers pattern.
16533
24f75ead
IB
165342016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16535
16536 * lib/future.exp: Add D support.
16537 (gdb_find_gdc): New proc.
16538 (gdb_default_target_compile): Add D support.
16539
fbb7bcbe
WW
165402016-02-18 Wei-cheng Wang <cole945@gmail.com>
16541
16542 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16543 user+system time.
16544 (trace_speed_test): Determine the iteration count for a time
16545 between 15..30 seconds.
16546
012b3a21
WT
165472016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16548
16549 * gdb.arch/i386-mpx-sigsegv.c: New file.
16550 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16551 * gdb.arch/i386-mpx-simple_segv.c: New file.
16552 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16553
2d5189bd
YQ
165542016-02-18 Yao Qi <yao.qi@linaro.org>
16555
16556 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16557 Don't call setup_kfail.
16558
40fb20d0
YQ
165592016-02-18 Yao Qi <yao.qi@linaro.org>
16560
16561 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16562 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16563
21b1f8d2
DE
165642016-02-16 Doug Evans <dje@google.com>
16565
16566 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16567 * gdb.base/skip1.c: Ditto.
16568 * gdb.base/skip.exp: Whitespace cleanup.
16569
4041ed77
DB
165702016-02-16 Don Breazeal <donb@codesourcery.com>
16571
16572 PR remote/19496
16573 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16574 Remove kfail for PR remote/19496.
16575
c4ef31bf
SM
165762016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16577
16578 * lib/gdb.exp (standard_temp_file): Return a path specific to
16579 the runtest invocation.
16580
266b65b3
SM
165812016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16582
16583 * gdb.trace/save-trace.exp: Change relative path to be in the
16584 standard output directory.
16585
a7a0a6a9
JK
165862016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16587
16588 * gdb.arch/i386-prologue.c: Add missing prototypes.
16589
c99dbb42
JK
165902016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16591
16592 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16593 * gdb.arch/i386-prologue.exp: Likewise.
16594 * gdb.arch/i386-size.exp: Likewise.
16595
aa480355
SM
165962016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16597
16598 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16599 define object file path.
16600 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16601 file path.
16602 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16603 standard_output_file to define binfile.
16604
ba881f50
JK
166052016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16606
16607 Fix compatibility with recent gfortran-5.3.1.
16608 * gdb.fortran/vla-history.exp (print vla1 allocated)
16609 (print vla2 allocated, print $2, print $3): Remove
16610 (print $4): Rename to ...
16611 (print $2): ... here.
16612 (print $9): Rename to ...
16613 (print $5): ... here.
16614 (print $10): Rename to ...
16615 (print $6): ... here.
16616 * gdb.fortran/vla.f90: Add pvla initialization.
16617
e9fb005c
JK
166182016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16619
16620 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16621 New test.
16622 * gdb.fortran/vla-value-sub.exp: Likewise.
16623
e44e00ff
MK
166242016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16625
16626 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16627
97e94151
SM
166282016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16629
16630 * i386-biarch-core.exp: Define corefile using
16631 standard_output_file.
16632
01113bc1
YQ
166332016-02-12 Yao Qi <yao.qi@linaro.org>
16634
16635 * gdb.arch/arm-single-step-kernel-helper.c: New.
16636 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16637
33b4777c
MM
166382016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16639
16640 * gdb.btrace/tailcall-only.exp: New.
16641 * gdb.btrace/tailcall-only.c: New.
16642 * gdb.btrace/x86_64-tailcall-only.S: New.
16643 * gdb.btrace/i686-tailcall-only.S: New.
16644
acc23c11
PA
166452016-02-11 Pedro Alves <palves@redhat.com>
16646
16647 * README (Parallel testing): Add missing double quotes.
16648
e352bf0a
PA
166492016-02-11 Pedro Alves <palves@redhat.com>
16650
16651 * README (Parallel testing): New section.
16652 (GDB_PARALLEL): Rewrite.
16653 (FORCE_PARALLEL): Document.
16654
9f5fed78
MK
166552016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16656
16657 * gdb.trace/tfile-avx.c: New test.
16658 * gdb.trace/tfile-avx.exp: New test.
16659
9ef9e6a6
KS
166602016-02-09 Keith Seitz <keiths@redhat.com>
16661
16662 PR breakpoints/19546
16663 * gdb.base/infcall-exec.c: New file.
16664 * gdb.base/infcall-exec2.c: New file.
16665 * gdb.base/infcall-exec.exp: New file.
16666
a96e36da
KS
166672016-02-09 Keith Seitz <keiths@redhat.com>
16668
16669 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16670 (toplevel): Call test_bkpt_address.
16671
9f61929f
KS
166722016-02-09 Keith Seitz <keiths@redhat.com>
16673
16674 PR python/19506
16675 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16676 (toplevel): Call test_bkpt_address.
16677
1e94266c
SM
166782016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16679
16680 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16681 to AC_OUTPUT.
16682 * configure: Regenerate.
16683
2a7f3dff
PA
166842016-02-09 Pedro Alves <palves@redhat.com>
16685
16686 PR breakpoints/19548
16687 * gdb.base/execl-update-breakpoints.c (some_function): New
16688 function.
16689 (main): Call it.
16690 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16691 Tighten expected GDB output.
16692
2151ccc5
SM
166932016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16694
16695 * Makefile.in (ALL_SUBDIRS): Remove.
16696 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16697 (distclean maintainer-clean realclean): Likewise.
16698 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16699 * configure: Regenerate.
16700 * gdb.ada/Makefile.in: Delete.
16701 * gdb.arch/Makefile.in: Likewise.
16702 * gdb.asm/Makefile.in: Likewise.
16703 * gdb.base/Makefile.in: Likewise.
16704 * gdb.btrace/Makefile.in: Likewise.
16705 * gdb.cell/Makefile.in: Likewise.
16706 * gdb.compile/Makefile.in: Likewise.
16707 * gdb.cp/Makefile.in: Likewise.
16708 * gdb.disasm/Makefile.in: Likewise.
16709 * gdb.dlang/Makefile.in: Likewise.
16710 * gdb.dwarf2/Makefile.in: Likewise.
16711 * gdb.fortran/Makefile.in: Likewise.
16712 * gdb.gdb/Makefile.in: Likewise.
16713 * gdb.go/Makefile.in: Likewise.
16714 * gdb.guile/Makefile.in: Likewise.
16715 * gdb.java/Makefile.in: Likewise.
16716 * gdb.linespec/Makefile.in: Likewise.
16717 * gdb.mi/Makefile.in: Likewise.
16718 * gdb.modula2/Makefile.in: Likewise.
16719 * gdb.multi/Makefile.in: Likewise.
16720 * gdb.objc/Makefile.in: Likewise.
16721 * gdb.opencl/Makefile.in: Likewise.
16722 * gdb.opt/Makefile.in: Likewise.
16723 * gdb.pascal/Makefile.in: Likewise.
16724 * gdb.perf/Makefile.in: Likewise.
16725 * gdb.python/Makefile.in: Likewise.
16726 * gdb.reverse/Makefile.in: Likewise.
16727 * gdb.server/Makefile.in: Likewise.
16728 * gdb.stabs/Makefile.in: Likewise.
16729 * gdb.threads/Makefile.in: Likewise.
16730 * gdb.trace/Makefile.in: Likewise.
16731 * gdb.xml/Makefile.in: Likewise.
16732 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16733 GDB_PARALLEL.
16734 (standard_output_file): Remove check for GDB_PARALLEL, always
16735 return path in outputs/$subdir/$testname.
16736
437277d4
SM
167372016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16738
16739 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16740 (site.exp): Assign abs_srcdir to tcl's srcdir.
16741
31d913c7
YQ
167422016-02-04 Yao Qi <yao.qi@linaro.org>
16743
16744 * gdb.base/foll-exec-mode.c: Include limits.h.
16745 (main): Add parameters argc and argv. Get directory from
16746 argv[0].
16747 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16748 compilation.
16749 * gdb.base/foll-exec.c: Include limits.h.
16750 (main): Add parameters argc and argv.
16751 Get directory from argv[0].
16752 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16753 Adjust tests on the number of lines as source code changed.
16754 * gdb.base/foll-vfork-exit.c: Include limits.h.
16755 (main): Add one line of statement before vfork.
16756 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16757 (main): Add parameters argc and argv. Get directory from
16758 argv[0].
16759 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16760 (setup_gdb): Set tbreak to skip some source lines.
16761 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16762 (main): Add parameters argc and argv. Get directory from
16763 argv[0].
16764 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16765 compilation.
16766 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16767 (main): Add parameters argc and argv. Get directory from
16768 argv[0].
16769 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16770 compilation.
16771
9482b9fb
DE
167722016-02-01 Doug Evans <dje@google.com>
16773
16774 * gdb.base/skip.exp: Clean up multiple references to same test name.
16775
6b2e4f10
PA
167762016-02-01 Pedro Alves <palves@redhat.com>
16777
ccb6afd6 16778 PR remote/19496
6b2e4f10
PA
16779 * gdb.threads/forking-threads-plus-breakpoint.exp
16780 (displaced_stepping_supported): New global.
16781 (probe_displaced_stepping_support): New procedure.
16782 (do_test): Add 'displaced' parameter, and use it.
16783 (top level): Check for displaced stepping support. Add displaced
16784 stepping on/off testing axis.
16785
37a8db1a
AB
167862016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16787
16788 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16789 pointer. Don't perform further tests on the unassociated pointer
16790 if the first test fails.
16791
5fdf6324
AB
167922016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16793
16794 * gdb.base/max-value-size.c: New file.
16795 * gdb.base/max-value-size.exp: New file.
16796 * gdb.base/huge.exp: Disable max-value-size for this test.
16797
935c6144
IB
167982016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16799
16800 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16801
7fe8399d
YQ
168022016-01-28 Yao Qi <yao.qi@linaro.org>
16803
16804 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16805
a2077e25
PA
168062016-01-25 Pedro Alves <palves@redhat.com>
16807
16808 PR threads/19461
16809 * gdb.base/fork-running-state.c: New file.
16810 * gdb.base/fork-running-state.exp: New file.
16811
1d2736d4
PA
168122016-01-25 Pedro Alves <palves@redhat.com>
16813
16814 PR gdb/19494
16815 * gdb.base/catch-fork-kill.c: New file.
16816 * gdb.base/catch-fork-kill.exp: New file.
16817
f1da4b11
PA
168182016-01-25 Pedro Alves <palves@redhat.com>
16819
16820 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16821 Delete, moved to lib/gdb.exp.
16822 * gdb.threads/forking-threads-plus-breakpoint.exp
16823 (foreach_with_prefix): Likewise.
16824 * gdb.threads/process-dies-while-handling-bp.exp
16825 (foreach_with_prefix): Likewise.
16826 * lib/gdb.exp (foreach_with_prefix): New procedure.
16827
45f38546
MK
168282016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16829
16830 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16831 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16832
dc29a1ce
MK
168332016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16834
16835 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16836 endian targets.
16837
092127d7
JK
168382016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16839 Pedro Alves <palves@redhat.com>
16840
16841 Fix testsuite compatibility with Guile.
16842 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16843 number.
16844
31d765d3
JK
168452016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16846
16847 Fix testsuite compatibility with Guile.
16848 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16849 (thread 1): New test for backtrace through signal handler.
16850
1ac78c04
YQ
168512016-01-22 Yao Qi <yao.qi@linaro.org>
16852
16853 PR testsuite/19491
16854 * gdb.base/multi-forks.c: Include
16855 ../lib/unbuffer_output.c
16856 (main): Call gdb_unbuffer_output.
16857
4f5946a8
DE
168582016-01-21 Doug Evans <dje@google.com>
16859
16860 * lib/ada.exp (gdb_compile_ada): Fix typo.
16861
305e13e6
JB
168622016-01-21 Joel Brobecker <brobecker@adacore.com>
16863
16864 * gdb.base/break-fun-addr.exp: New file.
16865 * gdb.base/break-fun-addr1.c: New file.
16866 * gdb.base/break-fun-addr2.c: New file.
16867
5f5dfff6
SM
168682016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16869
16870 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16871 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16872 enum flag values.
16873
fd356fa2
AA
168742016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16875
16876 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16877 when GDB can not set the vector return value. Add more comments
16878 for clarification.
16879
9df22175
AT
168802016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16881
16882 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16883 command.
16884
41d1845e
SM
168852016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16886
16887 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16888
01ac6840
SM
168892016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16890
16891 * Makefile.in (check-single): Pass --status to runtest.
16892 (check/%.exp): Likewise.
16893
168942016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16895
16896 * Makefile.in (check-parallel): Propagate return code from make
16897 do-check-parallel.
16898
bd0a71fa
MK
168992016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16900
16901 * gdb.trace/ftrace.exp: Fix expected message on continue.
16902 * gdb.trace/pending.exp: Fix expected message on continue.
16903 * gdb.trace/trace-break.exp: Fix expected message on continue.
16904
8bcbad33
SM
169052016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16906
16907 * lib/gdb.exp (gdb_test): Remove unused global references.
16908
f303dbd6
PA
169092016-01-18 Pedro Alves <palves@redhat.com>
16910
16911 * gdb.base/async-shell.exp: Adjust expected output.
16912 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16913 * gdb.base/siginfo-thread.exp: Adjust expected output.
16914 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16915 * gdb.java/jnpe.exp: Adjust expected output.
16916 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16917 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16918 * gdb.threads/leader-exit.exp: Adjust expected output.
16919 * gdb.threads/manythreads.exp: Adjust expected output.
16920 * gdb.threads/pthreads.exp: Adjust expected output.
16921 * gdb.threads/schedlock.exp: Adjust expected output.
16922 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16923 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16924 expected output.
16925 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16926 output.
16927 * gdb.threads/sigthread.exp: Adjust expected output.
16928 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16929
b2789696
YQ
169302016-01-18 Yao Qi <yao.qi@linaro.org>
16931
16932 * gdb.guile/scm-section-script.c: Replace @progbits with
16933 %progbits.
16934 * gdb.python/py-section-script.c: Likewise.
16935
71ef29a8
PA
169362016-01-15 Pedro Alves <palves@redhat.com>
16937
16938 * gdb.multi/tids.exp: Test star wildcard ranges.
16939
3f5b7598
PA
169402016-01-15 Pedro Alves <palves@redhat.com>
16941
16942 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16943 command from "thread apply" invocation.
16944 (thr_apply_info_thr_invalid): Default the expected output to the
16945 input tid list.
16946 (top level): Add tests that use convenience variables. Add tests
16947 for "thread apply" with a valid TID list, but missing the command.
16948
663f6d42
PA
169492016-01-13 Pedro Alves <palves@redhat.com>
16950
16951 * gdb.base/default.exp: Expect $_gthread as well.
16952 * gdb.multi/tids.exp: Test $_gthread.
16953 * gdb.threads/thread-specific.exp: Test $_gthread.
16954
c84f6bbf
PA
169552016-01-13 Pedro Alves <palves@redhat.com>
16956
16957 * gdb.multi/tids.exp: Test "info threads -gid".
16958
22a02324
PA
169592016-01-13 Pedro Alves <palves@redhat.com>
16960
16961 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16962 Breakpoint.thread.
16963 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16964
5d5658a1
PA
169652016-01-07 Pedro Alves <palves@redhat.com>
16966
16967 * gdb.base/break.exp: Adjust to output changes.
16968 * gdb.base/hbreak2.exp: Likewise.
16969 * gdb.base/sepdebug.exp: Likewise.
16970 * gdb.base/watch_thread_num.exp: Likewise.
16971 * gdb.linespec/keywords.exp: Likewise.
16972 * gdb.multi/info-threads.exp: Likewise.
16973 * gdb.threads/thread-find.exp: Likewise.
16974 * gdb.multi/tids.c: New file.
16975 * gdb.multi/tids.exp: New file.
16976
84654457
PA
169772016-01-13 Pedro Alves <palves@redhat.com>
16978
16979 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16980
e3940304
PA
169812016-01-13 Pedro Alves <palves@redhat.com>
16982
16983 * gdb.base/default.exp: Expect $_inferior as well.
16984 * gdb.multi/base.exp: Test $_inferior.
16985
a911d87a
PA
169862016-01-13 Pedro Alves <palves@redhat.com>
16987
16988 PR breakpoints/19388
16989 * gdb.base/catch-signal-siginfo-cond.c: New file.
16990 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16991
82075af2
JS
169922016-01-12 Josh Stone <jistone@redhat.com>
16993 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16994
16995 * gdb.base/catch-syscall.c (do_execve): New variable.
16996 (main): Conditionally trigger an execve.
16997 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16998 (test_catch_syscall_execve): New, check entry/return across execve.
16999 (do_syscall_tests): Call test_catch_syscall_execve.
17000
e46eeedd
PA
170012016-01-12 Pedro Alves <palves@redhat.com>
17002
17003 * gdb.base/random-signal.exp (do_test): New procedure, with body
17004 of testcase moved in.
17005
01d8c27e
JK
170062016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17007 Pedro Alves <palves@redhat.com>
17008
17009 * gdb.base/funcargs.exp (finish from indirectly called function):
17010 Reintroduce the case for 'First'.
17011
9a706302
JK
170122016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17013 Pedro Alves <palves@redhat.com>
17014
17015 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17016 (tcatch_vfork_then_child_follow_exec)
17017 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17018 identification.
17019
c0ecb95f
JK
170202016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17021
17022 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17023 and repeats to unlimited.
17024 * gdb.python/py-value.exp: Likewise.
17025 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17026 and repeats to unlimited.
17027
6cfc1fcb
JK
170282016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17029
17030 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17031 and reordering the functions.
17032 * gdb.multi/hangout.c: Likewise.
17033 * gdb.multi/hello.c: Likewise.
17034
582a1b00
SM
170352016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17036
17037 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17038 absolute.
17039 (SingleStatisticTestResult.report): Use dict.keys instead of
17040 dict.iterkeys.
17041
79bc59cb
PA
170422016-01-06 Pedro Alves <palves@redhat.com>
17043
17044 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17045
43368e1d
MM
170462016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17047
17048 * gdb.btrace/dlopen.exp: New.
17049 * gdb.btrace/dlopen.c: New.
17050 * gdb.btrace/dlopen-dso.c: New.
17051
79fad5b8
SL
170522015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17053
17054 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17055 PATTERN argument is optional.
17056
ab8314b3
JB
170572015-12-24 Joel Brobecker <brobecker@adacore.com>
17058
17059 * lib/ada.exp (target_compile_ada_from_dir): New function.
17060 (gdb_compile_ada): Reimplement avoiding the use of project files.
17061 * gdb.ada/gnat_ada.gpr: Delete.
17062 * gdb.ada/cond_lang.exp: Adjust test to make path before
17063 filename optional.
17064 * gdb.ada/small_reg_param.exp: Likewise.
17065
fe33faff
SM
170662015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17067
17068 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17069
6d265cb4
TP
170702015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17071
17072 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17073 case.
17074
10125099
SM
170752015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17076
17077 * gdb.base/break.exp: Remove dead code.
17078 * gdb.base/sepdebug.exp: Likewise.
17079
3ca22649
SM
170802015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17081
17082 * gdb.asm/asm-source.exp: Remove HP-UX references.
17083 * gdb.base/annota1.exp: Likewise.
17084 * gdb.base/annota3.exp: Likewise.
17085 * gdb.base/attach.exp: Likewise.
17086 * gdb.base/bigcore.exp: Likewise.
17087 * gdb.base/break.exp: Likewise.
17088 * gdb.base/call-ar-st.exp: Likewise.
17089 * gdb.base/callfuncs.exp: Likewise.
17090 * gdb.base/catch-fork-static.exp: Likewise.
17091 * gdb.base/display.exp: Likewise.
17092 * gdb.base/foll-exec-mode.exp: Likewise.
17093 * gdb.base/foll-exec.exp: Likewise.
17094 * gdb.base/foll-fork.exp: Likewise.
17095 * gdb.base/foll-vfork.exp: Likewise.
17096 * gdb.base/funcargs.exp: Likewise.
17097 * gdb.base/hbreak2.exp: Likewise.
17098 * gdb.base/inferior-died.exp: Likewise.
17099 * gdb.base/interrupt.exp: Likewise.
17100 * gdb.base/multi-forks.exp: Likewise.
17101 * gdb.base/nodebug.exp: Likewise.
17102 * gdb.base/sepdebug.exp: Likewise.
17103 * gdb.base/solib1.c: Likewise.
17104 * gdb.base/step-test.exp: Likewise.
17105 * gdb.mi/non-stop.c: Likewise.
17106 * gdb.mi/pthreads.c: Likewise.
17107 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17108 * gdb.threads/pthreads.c: Likewise.
17109 * gdb.threads/staticthreads.exp: Likewise.
17110 * lib/future.exp: Likewise.
17111 * lib/gdb.exp: Likewise.
17112 * gdb.base/so-indr-cl.c: Remove.
17113 * gdb.base/so-indr-cl.exp: Likewise.
17114 * gdb.base/solib.c: Likewise.
17115 * gdb.base/solib.exp: Likewise.
17116 * gdb.base/solib2.c: Likewise.
17117
b6304613
SM
171182015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17119
17120 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17121 * gdb.base/call-ar-st.exp: Likewise.
17122 * gdb.base/callfuncs.exp: Likewise.
17123 * gdb.base/condbreak.exp: Likewise.
17124 * gdb.base/constvars.exp: Likewise.
17125 * gdb.base/hbreak2.exp: Likewise.
17126 * gdb.base/langs.exp: Likewise.
17127 * gdb.base/list.exp: Likewise.
17128 * gdb.base/long_long.exp: Likewise.
17129 * gdb.base/ptype.exp: Likewise.
17130 * gdb.base/scope.exp: Likewise.
17131 * gdb.base/signals.exp: Likewise.
17132 * gdb.base/so-impl-ld.exp: Likewise.
17133 * gdb.base/varargs.exp: Likewise.
17134 * gdb.base/volatile.exp: Likewise.
17135 * gdb.base/whatis.exp: Likewise.
17136 * gdb.cp/cplusfuncs.exp: Likewise.
17137 * gdb.cp/inherit.exp: Likewise.
17138 * gdb.cp/local.exp: Likewise.
17139 * gdb.cp/member-ptr.exp: Likewise.
17140 * gdb.cp/method.exp: Likewise.
17141 * gdb.cp/overload.exp: Likewise.
17142 * gdb.cp/templates.exp: Likewise.
17143 * gdb.stabs/weird.exp: Likewise.
17144 * lib/compiler.c: Likewise.
17145 * lib/compiler.cc: Likewise.
17146 * lib/cp-support.exp: Likewise.
17147 * lib/gdb.exp: Likewise.
17148
bf401b07
SM
171492015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17150
17151 * configure.ac: Remove HP-UX case.
17152 * configure: Regenerate.
17153
aff9c0f8
SM
171542015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17155
17156 * lib/gdb.exp (gdb_compile): Add function doc.
17157
a6904d5a
PA
171582015-12-17 Pedro Alves <palves@redhat.com>
17159
17160 PR threads/19354
17161 * gdb.multi/info-threads.exp: New file.
17162
a22279dd
YQ
171632015-12-15 Yao Qi <yao.qi@linaro.org>
17164
17165 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17166 is aarch64*-*-*.
17167
0588c796
SL
171682015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17169
17170 * gdb.base/history-duplicates.exp: Skip if no readline support.
17171
5d978e17
SL
171722015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17173
17174 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17175
7e763b86
SL
171762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17177
17178 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17179
87a3a92c
SL
171802015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17181
17182 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17183 ctrl-C if nointerrupts target property is set.
17184 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17185 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17186 * gdb.base/paginate-bg-execution.exp: Likewise.
17187 * gdb.base/paginate-execution-startup.exp: Likewise.
17188 * gdb.base/random-signal.exp: Likewise.
17189 * gdb.base/range-stepping.exp: Likewise.
17190 * gdb.cp/annota2.exp: Likewise.
17191 * gdb.cp/annota3.exp: Likewise.
17192 * gdb.gdb/selftest.exp: Likewise.
17193 * gdb.threads/continue-pending-status.exp: Likewise.
17194 * gdb.threads/leader-exit.exp: Likewise.
17195 * gdb.threads/manythreads.exp: Likewise.
17196 * gdb.threads/pthreads.exp: Likewise.
17197 * gdb.threads/schedlock.exp: Likewise.
17198 * gdb.threads/sigthread.exp: Likewise.
17199
a8f077dc
DB
172002015-12-11 Don Breazeal <donb@codesourcery.com>
17201
17202 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17203 remote.
17204 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17205 * gdb.base/foll-exec.exp (main): Enable for target remote.
17206 * gdb.base/foll-fork.exp (main): Likewise.
17207 * gdb.base/foll-vfork.exp (main): Likewise.
17208 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17209 (proc continue_to_exit_bp_loc): Use clean_restart.
17210 * gdb.base/pie-execl.exp (main): Disable for target remote.
17211 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17212 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17213 * gdb.threads/execl.exp (main): Likewise.
17214 * gdb.threads/fork-child-threads.exp (main): Likewise.
17215 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17216 remote.
17217 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17218 remote.
17219 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17220 pid.tid style ptids, instead of just tid.
17221 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17222 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17223 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17224 ptids, instead of just tid.
17225
3b2464a8
AB
172262015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17227
17228 * gdb.base/list.exp (test_list_forward): Add end of file error
17229 test.
17230 (test_repeat_list_command): Add end of file error test.
17231 (test_list_backwards): Add beginning of file error test.
17232
a0def019
AB
172332015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17234
17235 * gdb.base/list.exp (test_list_invalid_args): New function,
17236 defined, and called.
17237
5c000dff
AB
172382015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17239
17240 * gdb.base/list.exp (test_list): Make test names unique.
17241
f1637ebe
YQ
172422015-12-11 Yao Qi <yao.qi@linaro.org>
17243
17244 * gdb.base/coremaker2.c: Remove.
17245
36d6fc0a
PA
172462015-12-10 Pedro Alves <palves@redhat.com>
17247
17248 * gdb.multi/base.exp: Remove stale "spaces" references.
17249
762f7747
PA
172502015-12-10 Pedro Alves <palves@redhat.com>
17251
17252 * gdb.multi/base.exp: Don't use nowarnings.
17253 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17254 * gdb.multi/hangout.c: Include stdio.h.
17255 * gdb.multi/hello.c: Include stdlib.h.
17256 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17257 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17258 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17259
28d2bfb9
AB
172602015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17261
17262 * gdb.dwarf2/dw2-ranges-base.c: New file.
17263 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17264 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17265 support additional line table, and debug ranges generation.
17266 (Dwarf::ranges): New function, generate .debug_ranges.
17267 (Dwarf::lines): Support generating simple line table programs.
17268 (Dwarf::assemble): Initialise new namespace variables.
17269
5fc2beac
KB
172702015-12-09 Kevin Buettner <kevinb@redhat.com>
17271
17272 * gdb.base/async.exp (proc test_background): Add case for
17273 asynchronous execution not supported.
17274
1c35a88f
LM
172752015-12-09 Luis Machado <lgustavo@codesourcery.com>
17276
17277 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17278 format and change test names to make them unique.
17279
b593e3d9
RK
172802015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17281 Pedro Alves <pedro@redhat.com>
17282
17283 PR gdb/18702
17284 Add checking of floatformats setup on x86_64 hosts.
17285 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17286 (smallval, bigval): New labels/constants.
17287 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17288 float" after loading bigval and smallval.
17289
d72413e6
PMR
172902015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17291
17292 * gdb.ada/fun_overload_menu.exp: New testcase.
17293 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17294
ece66d65
JS
172952015-12-04 Josh Stone <jistone@redhat.com>
17296
17297 * gdb.base/catch-fork-static.exp: New.
17298
41d0efca
YQ
172992015-12-03 Yao Qi <yao.qi@linaro.org>
17300
17301 * gdb.base/sizeof.c: Don't include stdio.h and
17302 ../lib/unbuffer_output.c.
17303 (main): New variable 'size' and 'value'. Remove printf and
17304 gdb_unbuffer_output. Assign return value to size and value.
17305 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17306 at the beginning.
17307 (check_sizeof): Check the result by printing variable 'size'.
17308 (check_valueof): Check the result by printing variable 'value'.
17309
99fd02d9
YQ
173102015-12-01 Yao Qi <yao.qi@linaro.org>
17311
17312 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17313 for aarch64*-*-linux* target.
17314
f2faf941
PA
173152015-11-30 Pedro Alves <palves@redhat.com>
17316
17317 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17318
04bf20c5
PA
173192015-11-30 Pedro Alves <palves@redhat.com>
17320
17321 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17322 Handle non-stop mode vCont replies.
17323
09df4675
PA
173242015-11-30 Pedro Alves <palves@redhat.com>
17325
17326 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17327 prepare_for_testing. Start gdb with "set non-stop on" appended to
17328 GDBFLAGS. Lax expected stop output.
17329
58b584af
YQ
173302015-11-27 Yao Qi <yao.qi@linaro.org>
17331
17332 * gdb.arch/arm-neon.exp: New.
17333 * gdb.arch/arm-neon.c: New.
17334
dfcb77a8
YQ
173352015-11-27 Yao Qi <yao.qi@linaro.org>
17336
17337 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17338
88e8ec1b
YQ
173392015-11-27 Yao Qi <yao.qi@linaro.org>
17340
17341 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17342 frames-invalid annotation.
17343
bfde72c2
YQ
173442015-11-27 Yao Qi <yao.qi@linaro.org>
17345
17346 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17347
f6512a69
SM
173482015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17349
17350 * gdb.threads/names.exp: New file.
17351 * gdb.threads/names.c: New file.
17352 * README: Mention gdb,no_thread_names.
17353
46a3515b
MM
173542015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17355
17356 PR 19297
17357 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17358 support" error.
17359
62147a22
PA
173602015-11-24 Pedro Alves <palves@redhat.com>
17361
17362 PR 17539
17363 * gdb.base/display.exp: Expect displays to be sorted in ascending
17364 order. Use multi_line.
17365 * gdb.base/solib-display.exp: Likewise.
17366
2f341b6e
PA
173672015-11-24 Pedro Alves <palves@redhat.com>
17368
17369 PR 17539
25d49b86
PA
17370 * gdb.base/display.exp: Expect displays to be sorted in ascending
17371 order. Use multi_line.
17372 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17373
7e0aa6aa
PA
173742015-11-24 Pedro Alves <palves@redhat.com>
17375
17376 PR 17539
17377 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17378 threads in ascending order.
17379 * gdb.base/foll-fork.exp: Likewise.
17380 * gdb.base/foll-vfork.exp: Likewise.
17381 * gdb.base/multi-forks.exp: Likewise.
17382 * gdb.mi/mi-nonstop.exp: Likewise.
17383 * gdb.mi/mi-nsintrall.exp: Likewise.
17384 * gdb.multi/base.exp: Likewise.
17385 * gdb.multi/multi-arch.exp: Likewise.
17386 * gdb.python/py-inferior.exp: Likewise.
17387 * gdb.threads/break-while-running.exp: Likewise.
17388 * gdb.threads/execl.exp: Likewise.
17389 * gdb.threads/gcore-thread.exp: Likewise.
17390 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17391 * gdb.threads/kill.exp: Likewise.
17392 * gdb.threads/linux-dp.exp: Likewise.
17393 * gdb.threads/multiple-step-overs.exp: Likewise.
17394 * gdb.threads/next-bp-other-thread.exp: Likewise.
17395 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17396 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17397 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17398 * gdb.threads/thread-find.exp: Likewise.
17399 * gdb.threads/tls.exp: Likewise.
17400 * lib/mi-support.exp (mi_reverse_list): Delete.
17401 (mi_check_thread_states): No longer reverse list.
17402
2cc57ad8
PA
174032015-11-24 Pedro Alves <palves@redhat.com>
17404
17405 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17406 use lowercase.
17407
c93e8391
SM
174082015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17409
17410 * gdb.trace/actions.c: Include trace-common.h.
17411 (main): Add a location for a fast tracepoint.
17412 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17413 the normal tracepoints.
17414 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17415
045ccf91
SM
174162015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17417
17418 * save-trace.exp: Factor out code to these...
17419 (gdb_save_tracepoints): New.
17420 (gdb_load_tracepoints): New.
17421 (do_save_load_test): New.
17422
5506f9f6
KB
174232015-11-23 Kevin Buettner <kevinb@redhat.com>
17424
17425 * gdb.base/asmlabel.exp: New test.
17426 * gdb.base/asmlabel.c: New test case.
17427
16c3b12f
JB
174282015-11-23 Joel Brobecker <brobecker@adacore.com>
17429
17430 * gdb.base/wrong_frame_bt_full-main.c: New file.
17431 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17432 * gdb.base/wrong_frame_bt_full.exp: New file.
17433
155bfbd3
JB
174342015-11-23 Joel Brobecker <brobecker@adacore.com>
17435
17436 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17437
bb097445
JM
174382015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17439
206853a0 17440 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17441 pstate register when comparing registers values in
17442 sparc64-*-linux-gnu targets to avoid spurious differences.
17443
9c88ed8f
JM
174442015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17445
206853a0 17446 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17447
96161e25
SL
174482015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17449
17450 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17451 as type argument to gdb_compile.
17452 * gdb.base/nested-subp2.exp: Likewise.
17453 * gdb.base/nested-subp3.exp: Likewise.
17454
340c2830
DV
174552015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17456
17457 * lib/dwarf.exp (_note): Fix left shift of negative value.
17458 * gdb.trace/trace-condition.exp: Likewise.
17459
c1862d0f
YQ
174602015-11-13 Yao Qi <yao.qi@linaro.org>
17461
17462 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17463 comments about d10v.
17464 (test_scalar_returns): Likewise.
17465 * gdb.base/d10v.ld: Remove.
17466 * gdb.base/overlays.exp: Remove the target triplet checking for
17467 d10v-*-*.
17468 * gdb.base/structs.exp (test_struct_returns): Remove the
17469 comments about d10v.
17470 (test_struct_calls): Likewise.
17471
77ae9c19
YQ
174722015-11-13 Yao Qi <yao.qi@linaro.org>
17473
17474 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17475 * gdb.base/gnu_vector.c: Don't include stdio.h.
17476 (main): Don't print res and call add_some_intvecs.
17477
430e004e
MK
174782015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17479
17480 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17481 macro.
17482 (func5): Removed.
17483 (func4): Use FAST_TRACEPOINT_LABEL.
17484 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17485 macro.
17486 (func): Removed.
17487 (thread_function): Use FAST_TRACEPOINT_LABEL.
17488 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17489 (func): Remove.
17490 (marker): Use FAST_TRACEPOINT_LABEL.
17491 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17492 (pendfunc1): Remove.
17493 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17494 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17495 (foo): Remove.
17496 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17497 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17498 macro.
17499 (func): Remove.
17500 (marker): Use FAST_TRACEPOINT_LABEL.
17501 * gdb.trace/trace-common.h: New header.
17502 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17503 macro.
17504 (func): Remove.
17505 (marker): Use FAST_TRACEPOINT_LABEL.
17506 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17507 (func): Remove.
17508 (thread_function): Use FAST_TRACEPOINT_LABEL.
17509
6e7675a7
MK
175102015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17511
17512 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17513 in front.
17514 * gdb.trace/change-loc.exp: Use global pcreg definition.
17515 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17516 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17517 in front.
17518 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17519 * gdb.trace/pending.exp: Likewise.
17520 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17521 * gdb.trace/trace-break.exp: Likewise.
17522 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17523 in front.
17524 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17525 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17526 in front.
17527 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17528
dddc0e16
JB
175292015-11-09 Joel Brobecker <brobecker@adacore.com>
17530
17531 * gdb.ada/fin_fun_out: New testcase.
17532
c6f0b406
KB
175332015-11-07 Kevin Buettner <kevinb@redhat.com>
17534
17535 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17536 value associated with DW_AT_byte_size.
17537 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17538 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17539 DW_AT_upper_bound.
17540
f01dcfd9
KB
175412015-11-07 Kevin Buettner <kevinb@redhat.com>
17542
17543 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17544 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17545 version.
17546 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17547 gdb.dwarf2/dw2-canonicalize-type.exp,
17548 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17549 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17550 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17551 provided by gdb_target_symbol_prefix_flags_asm.
17552 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17553 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17554 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17555 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17556 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17557 macros where needed). Use this macro for symbols which require
17558 the prefix provided by SYMBOL_PREFIX.
17559
2223449a
KB
175602015-11-05 Kevin Buettner <kevinb@redhat.com>
17561
17562 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17563 New procs.
17564 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17565 representing expressions, of more than one list element.
17566 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17567 to prepend linker symbol prefix to f.
17568 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17569 table_1 and table_2.
17570 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17571 Likewise, for f and g.
17572 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17573 for ptr.
17574 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17575 for main.
17576 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17577 table_1_ptr and table_2_ptr.
17578
6f2f1a3a
JK
175792015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17580 Joel Brobecker <brobecker@adacore.com>
17581
17582 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17583
566c56c9
MK
175842015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17585
17586 * gdb.reverse/s390-mvcle.c: New test.
17587 * gdb.reverse/s390-mvcle.exp: New file.
17588 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17589
d5f0636b
MK
175902015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17591
17592 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17593
7ad8b86c
MK
175942015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17595
17596 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17597 reaching marker2.
17598 * gdb.reverse/getresuid-reverse.exp: Likewise.
17599 * gdb.reverse/pipe-reverse.exp: Likewise.
17600 * gdb.reverse/readv-reverse.exp: Likewise.
17601 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17602 * gdb.reverse/time-reverse.exp: Likewise.
17603 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17604
4081c0f1
YQ
176052015-10-30 Yao Qi <yao.qi@linaro.org>
17606
17607 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17608 (empty_cycle): Remove.
17609 (main): Don't call empty_cycle. Don't use watch_count_done.
17610 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17611 empty_cycle. Rewrite the code counting HW watchpoints.
17612
452b4ba5
MK
176132015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17614
17615 * gdb.reverse/fstatat-reverse.c: New test.
17616 * gdb.reverse/fstatat-reverse.exp: New file.
17617 * gdb.reverse/getresuid-reverse.c: New test.
17618 * gdb.reverse/getresuid-reverse.exp: New file.
17619 * gdb.reverse/pipe-reverse.c: New test.
17620 * gdb.reverse/pipe-reverse.exp: New file.
17621 * gdb.reverse/readv-reverse.c: New test.
17622 * gdb.reverse/readv-reverse.exp: New file.
17623 * gdb.reverse/recvmsg-reverse.c: New test.
17624 * gdb.reverse/recvmsg-reverse.exp: New file.
17625 * gdb.reverse/time-reverse.c: New test.
17626 * gdb.reverse/time-reverse.exp: New file.
17627 * gdb.reverse/waitpid-reverse.c: New test.
17628 * gdb.reverse/waitpid-reverse.exp: New file.
17629
5e2e7507
JK
176302015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17631
17632 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17633
0fde2c53
DE
176342015-10-26 Doug Evans <dje@google.com>
17635
17636 PR symtab/17391
17637 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17638 * gdb.dwarf2/bad-regnum.c: New file.
17639 * gdb.dwarf2/bad-regnum.exp: New file.
17640
1a70ae97
DE
176412015-10-26 Doug Evans <dje@google.com>
17642
17643 PR python/18938
17644 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17645 file.
17646
27dc26ab
JK
176472015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17648
17649 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17650 for a change by "Mention language in compile error message".
17651
bed91f4d
SM
176522015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17653
17654 PR python/18073
17655 * gdb.python/py-type.c (C::a_method): New.
17656 (C::a_const_method): New.
17657 (C::a_static_method): New.
17658 (a_function): New.
17659 * gdb.python/py-type.exp (test_fields): Test getting fields
17660 from function and method.
17661
3f2f83dd
KB
176622015-10-21 Keven Boell <keven.boell@intel.com>
17663
17664 * gdb.fortran/vla-alloc-assoc.exp: New file.
17665 * gdb.fortran/vla-datatypes.exp: New file.
17666 * gdb.fortran/vla-datatypes.f90: New file.
17667 * gdb.fortran/vla-history.exp: New file.
17668 * gdb.fortran/vla-ptype-sub.exp: New file.
17669 * gdb.fortran/vla-ptype.exp: New file.
17670 * gdb.fortran/vla-sizeof.exp: New file.
17671 * gdb.fortran/vla-sub.f90: New file.
17672 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17673 * gdb.fortran/vla-value-sub-finish.exp: New file.
17674 * gdb.fortran/vla-value-sub.exp: New file.
17675 * gdb.fortran/vla-value.exp: New file.
17676 * gdb.fortran/vla-ptr-info.exp: New file.
17677 * gdb.mi/mi-vla-fortran.exp: New file.
17678 * gdb.mi/vla.f90: New file.
17679
27145d50
SL
176802015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17681
17682 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17683 of hardwired timeout value.
17684
5f3ff4f8
JK
176852015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17686 Pedro Alves <palves@redhat.com>
17687
17688 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17689 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17690
bfd09d20
JS
176912015-10-19 Josh Stone <jistone@redhat.com>
17692
17693 * gdb.base/catch-syscall.c: Include <sched.h>.
17694 (unknown_syscall): New variable.
17695 (main): Trigger a vfork and an unknown syscall.
17696 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17697 (unknown_syscall_number): Likewise.
17698 (check_call_to_syscall): Accept an optional syscall pattern.
17699 (check_return_from_syscall): Likewise.
17700 (check_continue): Likewise.
17701 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17702 (test_catch_syscall_skipping_return): New test toggling off 'catch
17703 syscall' to step over the syscall return, then toggling back on.
17704 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17705 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17706 (do_syscall_tests): Call test_catch_syscall_without_args and
17707 test_catch_syscall_mid_vfork.
17708 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17709 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17710
b32b93c6
AS
177112015-10-19 Andrew Stubbs <ams@codesourcery.com>
17712
17713 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17714 print g_vE): Add new pass patterns.
17715 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17716 print various symbol names for vptr fields.
17717
9d622bda
AB
177182015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17719
17720 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17721 results.
17722
0fd8ac1c
YQ
177232015-10-12 Yao Qi <yao.qi@linaro.org>
17724
17725 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17726
34240514
YQ
177272015-10-12 Yao Qi <yao.qi@linaro.org>
17728
17729 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17730 is aarch64*-*-linux*.
17731
8240f442
YQ
177322015-10-12 Yao Qi <yao.qi@linaro.org>
17733
17734 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17735 (can_relocate_bcond_true): ... it.
17736 (can_relocate_bcond_false): New function.
17737 (foo): Likewise.
17738 (can_relocate_bl): Likewise.
17739 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17740 can_relocate_bl.
17741
2520f728
PMR
177422015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17743
17744 * gdb.base/nested-addr.c: New file.
17745 * gdb.base/nested-addr.exp: New testcase.
17746
abcef95a
MM
177472015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17748
17749 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17750 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17751 its output. Ignore the output of "record goto begin" and instead
17752 check that GDB is replaying.
17753
145e3ddb
PA
177542015-10-09 Pedro Alves <palves@redhat.com>
17755
17756 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17757 (top level): Use it in the run with no args test.
17758
d5d8c4e1
IB
177592015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17760
17761 * gdb.dlang/properties.exp: New file.
17762
06e635ef
SL
177632015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17764
17765 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17766 whether or not address 0x1000 is mapped on the target.
17767
e019fd1d
SM
177682015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17769
17770 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17771 build.
17772
77ba2a67
MM
177732015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17774
17775 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17776 instruction-history test.
17777
c60eb31f
DE
177782015-09-28 Doug Evans <dje@google.com>
17779
17780 * gdb.base/gcore.c (array_func): Add reference to static_array.
17781
9a3c8263
SM
177822015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17783
17784 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17785 source line.
17786
9720e656
SL
177872015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17788
17789 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17790 short or char as base type.
17791
938d3bf2
SL
177922015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17793
17794 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17795 to allow any size enum.
17796
e6c2c623
PMR
177972015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17798
17799 * gdb.ada/array_ptr_renaming.exp: New testcase.
17800 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17801 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17802
06da0f77
PL
178032015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17804
17805 * gdb.trace/ftrace-lock.c: New file.
17806 * gdb.trace/ftrace-lock.exp: New file.
17807
4f51c22a
PL
178082015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17809
17810 * gdb.arch/insn-reloc.c: New file.
17811 * gdb.arch/ftrace-insn-reloc.exp: New file.
17812
7041adf4
PL
178132015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17814
17815 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17816 instruction.
17817 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17818 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17819 * gdb.trace/range-stepping.c: Likewise.
17820 * gdb.trace/trace-break.c: Likewise.
17821 * gdb.trace/trace-mt.c (thread_function): Likewise.
17822 * gdb.trace/ftrace.c (marker): Likewise.
17823 * gdb.trace/trace-condition.c (marker): Likewise.
17824 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17825 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17826 is_aarch64_target.
17827
015d2e7e
DE
178282015-09-18 Doug Evans <xdje42@gmail.com>
17829
17830 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17831 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17832
26b188a2
SL
178332015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17834
17835 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17836 the breakpoint.
17837
79dc332b
SL
178382015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17839
17840 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17841 the pending breakpoint. Remove timeout override for "Run till
17842 MI pending breakpoint on pendfunc3 on thread 2" test.
17843
f57929f2
SL
178442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17845
17846 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17847 filename pattern.
17848
3f469b17
SL
178492015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17850
17851 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17852 in breakpoint filename pattern.
17853
515b89b3
SL
178542015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17855
7800dbe4
SL
17856 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17857
178582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17859
515b89b3
SL
17860 * gdb.linespec/explicit.exp: Check for readline support for
17861 tab-completion tests. Fix obvious typo.
17862
d2939ba2
MM
178632015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17864
17865 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17866 and replay.
17867
cbb55fa7
MM
178682015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17869
17870 * gdb.btrace/non-stop.c: New.
17871 * gdb.btrace/non-stop.exp: New.
17872
43691ca1
PL
178732015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17874 Yao Qi <yao.qi@linaro.org>
17875
17876 * gdb.trace/trace-condition.c: New file.
17877 * gdb.trace/trace-condition.exp: New file.
17878
d78908cf
WW
178792015-09-16 Wei-cheng Wang <cole945@gmail.com>
17880
17881 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17882 for testing bytecode compilation.
17883
1ed415e2
PA
178842015-09-16 Pedro Alves <palves@redhat.com>
17885 Sandra Loosemore <sandra@codesourcery.com>
17886
17887 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17888 (SECONDS): Redefine.
17889 (main): Call pthread_kill and alarm early.
17890 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17891 support.
17892 (test): If the target can't hardware step and doesn't support
17893 displaced stepping, increase the timeout.
17894
d136eff5
PA
178952015-09-16 Pedro Alves <palves@redhat.com>
17896
17897 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17898 (enable_debug): New procedures.
17899 (test): Use them. Bail out if waiting for threads fails.
17900 (top level): Bail out if a test fails.
17901
991f019c
YQ
179022015-09-16 Yao Qi <yao.qi@linaro.org>
17903
17904 * gdb.asm/asm-source.exp: Set asm-arch for
17905 aarch64*-*-* target.
17906 * gdb.asm/aarch64.inc: New file.
17907
bfca584f
PMR
179082015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17909
17910 * gdb.ada/array_of_variable_length.exp: New testcase.
17911 * gdb.ada/array_of_variable_length/foo.adb: New file.
17912 * gdb.ada/array_of_variable_length/pck.adb: New file.
17913 * gdb.ada/array_of_variable_length/pck.ads: New file.
17914
b326e587
DE
179152015-09-15 Doug Evans <dje@google.com>
17916
17917 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17918 of function static local variable.
17919
5382cfab
PW
179202015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17921
17922 * gdb.threads/tls-so_extern.exp: New test file.
17923 * gdb.threads/tls-so_extern.c: New test file.
17924 * gdb.threads/tls-so_extern_main.c: New test file.
17925
141c5cc4
JK
179262015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17927
17928 * gdb.opt/solib-intra-step-lib.c: New file.
17929 * gdb.opt/solib-intra-step-main.c: New file.
17930 * gdb.opt/solib-intra-step.exp: New file.
17931
d15dcecd
PA
179322015-09-15 Pedro Alves <palves@redhat.com>
17933
17934 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17935 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17936
4c2f2a79
PA
179372015-09-14 Pedro Alves <palves@redhat.com>
17938
17939 * gdb.base/hook-stop-continue.c: Delete.
17940 * gdb.base/hook-stop-continue.exp: Delete.
17941 * gdb.base/hook-stop-frame.c: Delete.
17942 * gdb.base/hook-stop-frame.exp: Delete.
17943 * gdb.base/hook-stop.c: New file.
17944 * gdb.base/hook-stop.exp: New file.
17945
919e6dbe
PMR
179462015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17947
17948 * gdb.ada/access_to_packed_array.exp: New testcase.
17949 * gdb.ada/access_to_packed_array/foo.adb: New file.
17950 * gdb.ada/access_to_packed_array/pack.adb: New file.
17951 * gdb.ada/access_to_packed_array/pack.ads: New file.
17952
157280a4
MM
179532015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17954
17955 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17956 buffer size test.
17957
2fd33e94
DB
179582015-09-11 Don Breazeal <donb@codesourcery.com>
17959
17960 * gdb.base/foll-exec.c: Add copyright header. Fix
17961 formatting issues.
17962 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17963 (do_exec_tests): Use clean_restart in place of zap_session,
17964 and for test initialization. Fix formatting issues. Use
17965 fail in place of perror.
17966 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17967 an expect statement to match an expression with output from
17968 the program under debug.
17969 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17970 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17971 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17972 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17973 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17974
e70b6e8e
DE
179752015-09-09 Doug Evans <dje@google.com>
17976
17977 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17978
7a551a51
DE
179792015-09-09 Doug Evans <dje@google.com>
17980
17981 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17982
4c666f84
DE
179832015-09-09 Doug Evans <dje@google.com>
17984
17985 * gdb.base/savedregs.exp: Fix typo.
17986
243a9253
PA
179872015-09-09 Pedro Alves <palves@redhat.com>
17988
17989 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17990
c0fa8fbd
SL
179912015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17992
17993 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17994 command actually switches threads. Give up on remaining
17995 tests if target fails to stop at breakpoint.
17996
cd7c1778
PMR
179972015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17998
17999 * gdb.ada/funcall_char.exp: New testcase.
18000 * gdb.ada/funcall_char/foo.adb: New file.
18001
dc5c8746
PMR
180022015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18003
18004 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18005 expected outputs. Add two testcases for completing ambiguous
18006 functions.
18007 * gdb.ada/complete/aux_pck.adb: New file.
18008 * gdb.ada/complete/aux_pck.ads: New file.
18009 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18010 Ambiguous_Func functions.
18011 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18012 * gdb.ada/complete/pck.adb: Likewise.
18013
4e83a1e7
UW
180142015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18015
18016 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18017 failures to run the test program under GDB.
18018
8ce74153
LM
180192015-08-26 Luis Machado <lgustavo@codesourcery.com>
18020
18021 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18022 to C.
18023
e9756d52
PP
180242015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18025
18026 * gdb.base/run-after-attach.exp: New test file.
18027 * gdb.base/run-after-attach.c: New test file.
18028
8d37573b
DB
180292015-08-26 Don Breazeal <donb@codesourcery.com>
18030
18031 * gdb.base/foll-exec-2.c: New test program.
18032 * gdb.base/foll-exec-2.exp: New test.
18033
63e43d3a
PMR
180342015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18035
18036 * gdb.base/nested-subp1.exp: New file.
18037 * gdb.base/nested-subp1.c: New file.
18038 * gdb.base/nested-subp2.exp: New file.
18039 * gdb.base/nested-subp2.c: New file.
18040 * gdb.base/nested-subp3.exp: New file.
18041 * gdb.base/nested-subp3.c: New file.
18042
3d40fbb5
PA
180432015-08-24 Pedro Alves <palves@redhat.com>
18044
18045 * gdb.server/connect-without-multi-process.c: New file.
18046 * gdb.server/connect-without-multi-process.exp: New file.
18047
4422ac93
LM
180482015-08-24 Luis Machado <lgustavo@codesourcery.com>
18049
18050 * gdb.opt/inline-markers.c: Make z int.
18051
91dddb86
LM
180522015-08-24 Luis Machado <lgustavo@codesourcery.com>
18053
18054 * gdb.opt/inline-markers.c: Make z volatile.
18055
a48847ee
LM
180562015-08-24 Luis Machado <lgustavo@codesourcery.com>
18057
18058 * gdb.opt/inline-bt.c: New volatile global z.
18059 * gdb.opt/inline-cmds.c: Likewise.
18060 * gdb.opt/inline-locals.c: Likewise.
18061 * gdb.opt/inline-markers.c: New extern global z.
18062 (marker): Use z.
18063 (inline_fn): Likewise.
18064
0ebbc52b
PA
180652015-08-24 Pedro Alves <palves@redhat.com>
18066
18067 * config/m32r-stub.exp: Remove file.
18068 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18069 * gdb.base/call-rt-st.exp: Likewise.
18070 * gdb.base/call-strs.exp: Likewise.
18071 * gdb.base/default.exp: Remove references to h8300-*-hms and
18072 *-*-udi*.
18073 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18074
77c365df
AA
180752015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18076
18077 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18078 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18079 and "return" use KFAIL when GDB can not read/write the vector
18080 return value.
18081
4313b8c0
GB
180822015-08-21 Gary Benson <gbenson@redhat.com>
18083
18084 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18085
0e433b32
PA
180862015-08-20 Pedro Alves <palves@redhat.com>
18087
18088 * gdb.server/solib-list.exp: No longer expect an interior stop in
18089 non-stop mode.
18090
221e1a37
PA
180912015-08-20 Pedro Alves <palves@redhat.com>
18092
18093 * gdb.server/connect-stopped-target.c: New file.
18094 * gdb.server/connect-stopped-target.exp: New file.
18095
40e3ad0e
PA
180962015-08-20 Pedro Alves <palves@redhat.com>
18097
18098 * gdb.dwarf2/comp-unit-lang.exp: New file.
18099 * gdb.dwarf2/comp-unit-lang.c: New file.
18100
af39b327
PMR
181012015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18102
18103 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18104 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18105
7d45c7c3 181062015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 18107
7d45c7c3
KB
18108 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18109 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18110
4d6cceb4
DE
181112015-08-18 Doug Evans <dje@google.com>
18112 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18113
18114 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18115 skip_python_tests. New arg prompt_regexp.
18116 (skip_python_tests): New function.
18117 * lib/mi-support.exp (mi_skip_python_tests): New function.
18118 * gdb.python/py-mi-objfile-gdb.py: New file.
18119 * gdb.python/py-mi-objfile.c: New file.
18120 * gdb.python/py-mi-objfile.exp: New file.
18121
ad89c2aa
KS
181222015-08-17 Keith Seitz <keiths@redhat.com>
18123
18124 * gdb.linespec/explicit.exp: Move strace test from here ...
18125 * gdb.trace/strace.exp: ... to here.
18126
e3ae3c43
PP
181272015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18128
18129 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18130 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18131
604b2636
DE
181322015-08-14 Doug Evans <xdje42@gmail.com>
18133
18134 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18135 inferior before selecting a new file.
18136
6ff0ba5f
DE
181372015-08-14 Doug Evans <xdje42@gmail.com>
18138
18139 * gdb.mi/mi-disassemble.exp: Update.
18140 * gdb.base/disasm-optim.S: New file.
18141 * gdb.base/disasm-optim.c: New file.
18142 * gdb.base/disasm-optim.h: New file.
18143 * gdb.base/disasm-optim.exp: New file.
18144
9ca98f92
KS
181452015-08-14 Keith Seitz <keiths@redhat.com>
18146
18147 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18148 "evaluated-by".
18149
52bbc560
JB
181502015-08-13 Joel Brobecker <brobecker@adacore.com>
18151
18152 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18153
5d8c3ed3
PMR
181542015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18155
18156 * gdb.ada/fun_renaming.exp: New testcase.
18157 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18158 * gdb.ada/fun_renaming/pack.adb: New file.
18159 * gdb.ada/fun_renaming/pack.ads: New file.
18160
ea8812bc
KS
181612015-08-12 Keith Seitz <keiths@redhat.com>
18162
18163 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18164 gdb_get_line_number.
18165
4dafcdeb
JB
181662015-08-12 Joel Brobecker <brobecker@adacore.com>
18167
18168 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18169 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18170 gdb.base/dso2dso.exp: New files.
18171
5ba32597
SDJ
181722015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18173 Pedro Alves <palves@redhat.com>
18174 Keith Seitz <keiths@redhat.com>
18175
18176 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18177 GDBFLAGS.
18178
b6dafabf
PP
181792015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18180
18181 * gdb.base/gdbhistsize-history.exp
18182 (test_histsize_history_setting): Use save_vars.
18183 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18184 Use save_vars.
18185 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18186 * gdb.base/readline.exp: Use save_vars.
18187
abe8e607
PP
181882015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18189
18190 * lib/gdb.exp (save_vars): New proc.
18191
629500fa
KS
181922015-08-11 Keith Seitz <keiths@redhat.com>
18193
18194 * gdb.base/help.exp: Update help_breakpoint_text.
18195
eb8c4e2e
KS
181962015-08-11 Keith Seitz <keiths@redhat.com>
18197
18198 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18199 (at toplevel): Call test_explicit_breakpoints.
18200 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18201 breakpoints.
18202 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18203 breakpoint conditions, "-cond".
18204
87f0e720
KS
182052015-08-11 Keith Seitz <keiths@redhat.com>
18206
18207 * gdb.linespec/3explicit.c: New file.
18208 * gdb.linespec/cpexplicit.cc: New file.
18209 * gdb.linespec/cpexplicit.exp: New file.
18210 * gdb.linespec/explicit.c: New file.
18211 * gdb.linespec/explicit.exp: New file.
18212 * gdb.linespec/explicit2.c: New file.
18213 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18214 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18215 before using in the matching pattern.
18216 Clarify that `prefix' is a regular expression.
18217
f00aae0f
KS
182182015-08-11 Keith Seitz <keiths@redhat.com>
18219
18220 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18221 test.
18222 Add tests for missing ",FMT" and ",".
18223
e27852be
DE
182242015-08-10 Doug Evans <dje@google.com>
18225 Keith Seitz <keiths@redhat.com>
18226
18227 PR gdb/17960
18228 * gdb.base/completion.exp: Add location completer tests.
18229
7f03bd92
PA
182302015-08-07 Pedro Alves <palves@redhat.com>
18231
18232 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18233 tests here.
18234 (top level): Run do_test with and without displaced stepping.
18235
3fc8eb30
PA
182362015-08-07 Pedro Alves <palves@redhat.com>
18237
18238 * gdb.base/valgrind-disp-step.c: New file.
18239 * gdb.base/valgrind-disp-step.exp: New file.
18240
d4569d7b
PA
182412015-08-07 Pedro Alves <palves@redhat.com>
18242
18243 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18244 Delete function.
18245 (main): Add alarm. Run an infinite loop instead of calling
18246 wait_threads.
18247 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18248 comment.
18249 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18250 Delete function.
18251 (main): Add alarm. Run an infinite loop instead of calling
18252 wait_threads.
18253 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18254 comment.
18255
e1316e60
PA
182562015-08-07 Pedro Alves <palves@redhat.com>
18257
18258 * gdb.base/checkpoint-ns.exp: New file.
18259 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18260 standard_testfile.
18261
da8c46d2
MM
182622015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18263
18264 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18265 * gdb.btrace/instruction_history.exp: Update.
18266 * gdb.btrace/tsx.exp: New.
18267 * gdb.btrace/tsx.c: New.
18268
de1c2c52
PA
182692015-08-06 Pedro Alves <palves@redhat.com>
18270
18271 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18272 increase timeout.
18273 * gdb.reverse/until-precsave.exp: Bump timeouts.
18274
782e0bf4
PA
182752015-08-06 Pedro Alves <palves@redhat.com>
18276
18277 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18278
83e97ed0
PA
182792015-08-06 Pedro Alves <palves@redhat.com>
18280
18281 PR gdb/18749
18282 * gdb.threads/process-dies-while-handling-bp.c: New file.
18283 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18284
863d01bd
PA
182852015-08-06 Pedro Alves <palves@redhat.com>
18286
18287 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18288 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18289
0a39bb32
PA
182902015-08-05 Pedro Alves <palves@redhat.com>
18291
18292 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18293 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18294
ee2d2b10
SL
182952015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18296
18297 * gdb.base/bp-permanent.exp: Report test as unsupported if
18298 the target cannot stop at the permanent breakpoint.
18299
4e1bdb00
DE
183002015-08-03 Doug Evans <dje@google.com>
18301
18302 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18303 10000.
18304
3d338901
DE
183052015-08-03 Doug Evans <dje@google.com>
18306
18307 * Makefile.in (workers/%.worker, build-perf): New rule.
18308 (GDB_PERFTEST_MODE): New variable.
18309 (check-perf): Use it.
18310 (clean): Clean up gdb.perf parallel build subdirs.
18311 * lib/build-piece.exp: New file.
18312 * lib/gdb.exp (make_gdb_parallel_path): New function
18313 (standard_output_file, standard_temp_file): Call it.
18314 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18315 of $GDB_PARALLEL.
18316 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18317
af061d3e
DE
183182015-08-03 Doug Evans <dje@google.com>
18319
8e1afc81 18320 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18321 (LOG_FILE_NAME): New global.
18322 (TextReporter.__init__): Initialize self.txt_sum.
18323 (TextReporter.report): Add support for multiple data-points.
18324 Move report to perftest.sum, put raw data in perftest.log.
18325 (TextReporter.start): Open sum and log files.
18326 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18327 * gdb.perf/lib/perftest/testresult.py
18328 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18329
2c8c5d37
PA
183302015-07-31 Pedro Alves <palves@redhat.com>
18331
18332 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18333 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18334 kill_wait_spawned_process instead of explicit "kill -9".
18335 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18336 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18337 kill_wait_spawned_process.
18338 * gdb.base/attach-twice.exp: Likewise.
18339 * gdb.base/attach.exp: Likewise.
18340 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18341 gdb_test_multiple.
18342 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18343 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18344 kill_wait_spawned_process.
18345 * gdb.base/valgrind-infcall.exp: Likewise.
18346 * gdb.multi/multi-attach.exp: Likewise.
18347 * gdb.python/py-prompt.exp: Likewise.
18348 * gdb.python/py-sync-interp.exp: Likewise.
18349 * gdb.server/ext-attach.exp: Likewise.
18350 * gdb.threads/attach-into-signal.exp (corefunc): Use
18351 spawn_wait_for_attach, spawn_id_get_pid and
18352 kill_wait_spawned_process.
18353 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18354 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18355 spawn_id_get_pid and kill_wait_spawned_process.
18356 * gdb.threads/attach-stopped.exp (corefunc): Use
18357 spawn_wait_for_attach, spawn_id_get_pid and
18358 kill_wait_spawned_process.
18359 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18360 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18361 kill_wait_spawned_process instead of explicit "kill -9".
18362 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18363 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18364 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18365 processes. Don't map cygwin/windows pids here. Now returns a
18366 spawn id list.
18367
032a0fca
SL
183682015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18369
18370 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18371 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18372 correct patch.
18373
61a934ca
SL
183742015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18375
18376 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18377
4bc4d428
SL
183782015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18379
18380 Reapply:
18381 2014-05-21 Mark Wielaard <mjw@redhat.com>
18382
18383 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18384
998d452a
PA
183852015-07-30 Pedro Alves <palves@redhat.com>
18386
18387 * linux-low.c (handle_extended_wait): Set the child's last
18388 reported status to TARGET_WAITKIND_STOPPED.
18389
69dde7dc
PA
183902015-07-30 Pedro Alves <palves@redhat.com>
18391
18392 PR threads/18600
18393 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18394 only shows inferior 1.
18395
4dd63d48
PA
183962015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18397 Pedro Alves <palves@redhat.com>
18398
18399 PR threads/18600
18400 * gdb.threads/fork-plus-threads.c: New file.
18401 * gdb.threads/fork-plus-threads.exp: New file.
18402
d618e4c5
PP
184032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18404
18405 * gdb.base/batch-preserve-term-settings.exp
18406 (test_terminal_settings_preserved_after_cli_exit): Use
18407 send_quit_command.
18408
1eef6428
PA
184092015-07-29 Pedro Alves <palves@redhat.com>
18410 Don Breazeal <donb@codesourcery.com>
18411
18412 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18413 output from both inferior_spawn_id and gdb_spawn_id.
18414
7da5b897
SDJ
184152015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18416
18417 * gdb.threads/attach-into-signal.exp (corefunc): Use
18418 with_test_prefix on nested loops, uniquefying the test messages.
18419
dac804df
SDJ
184202015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18421
18422 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18423 commit.
18424
06265e53
PP
184252015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18426
18427 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18428 New proc.
18429 (test_terminal_settings_preserved_after_sigterm): New test.
18430
18206ca3
PP
184312015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18432
18433 * gdb.base/batch-preserve-term-settings.exp
18434 (test_terminal_settings_preserved_after_cli_exit): New test.
18435
90074d11
PP
184362015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18437
18438 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18439 manipulation of saved_gdbflags.
18440 (test_terminal_settings_preserved): Remove global declaration of
18441 the unused variable pagination_prompt. Remove manipulation of
18442 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18443 GDBFLAGS.
18444
eb1a7902
PA
184452015-07-29 Pedro Alves <palves@redhat.com>
18446
18447 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18448
8b75dd3b
PA
184492015-07-29 Pedro Alves <palves@redhat.com>
18450
18451 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18452 at the top.
18453
dedad4e3
PA
184542015-07-29 Pedro Alves <palves@redhat.com>
18455
18456 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18457 (main): Call gdb_unbuffer_output.
18458 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18459 (main): Call gdb_unbuffer_output.
18460 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18461 (main): Call gdb_unbuffer_output.
18462 * gdb.base/call-strs.exp: Adjust to step over the
18463 gdb_unbuffer_output call.
18464 * gdb.base/catch-gdb-caused-signals.c: Include
18465 "../lib/unbuffer_output.c".
18466 (main): Call gdb_unbuffer_output.
18467 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18468 (main): Call gdb_unbuffer_output.
18469 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18470 (main): Call gdb_unbuffer_output.
18471 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18472 (main): Call gdb_unbuffer_output.
18473 * gdb.base/shlib-call.exp: Adjust to step over the
18474 gdb_unbuffer_output call.
18475 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18476 (main): Call gdb_unbuffer_output.
18477 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18478 (main): Call gdb_unbuffer_output.
18479 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18480 (main): Rename to ...
18481 (test): ... this.
18482 (main): Reimplement.
18483 * gdb.base/varargs.exp: Run to test instead of to main.
18484 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18485 (main): Call gdb_unbuffer_output.
18486
58789a91
PA
184872015-07-29 Pedro Alves <palves@redhat.com>
18488
18489 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18490 factore out from mi_continue_dprintf. For call-style dprintfs,
18491 expect dprintf output out of $inferior_spawn_id.
18492 (mi_continue_dprintf): Use mi_expect_dprintf.
18493 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18494 (main): Call gdb_unbuffer_output.
18495
e8376742
PA
184962015-07-29 Pedro Alves <palves@redhat.com>
18497
18498 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18499 (default_mi_gdb_start): Set inferior_spawn_id instead of
18500 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18501 gdb_spawn_id.
18502 (mi_gdb_test): Always expect inferior output from both
18503 $inferior_spawn_id and $gdb_spawn_id.
18504
08280010
PA
185052015-07-29 Pedro Alves <palves@redhat.com>
18506
18507 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18508 send_inferior and $inferior_spawn_id.
18509
4d30e432
PA
185102015-07-29 Pedro Alves <palves@redhat.com>
18511
18512 * gdb.gdb/complaints.exp (test_initial_complaints)
18513 (test_serial_complaints, test_short_complaints): Use
18514 gdb_test_stdio.
18515 (test_empty_complaint): Handle $inferior_spawn_id !=
18516 $gdb_spawn_id.
18517
0d30a335
PA
185182015-07-29 Pedro Alves <palves@redhat.com>
18519
18520 * gdb.base/varargs.exp: Use gdb_test_stdio.
18521
39413b29
PA
185222015-07-29 Pedro Alves <palves@redhat.com>
18523
18524 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18525
7cb000a9
PA
185262015-07-29 Pedro Alves <palves@redhat.com>
18527
18528 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18529
d7b8ac82
PA
185302015-07-29 Pedro Alves <palves@redhat.com>
18531
18532 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18533 parameter into two new parameters, "inf_result" and "gdb_result".
18534 Expect inferior output and gdb output from $inferior_spawn_id and
18535 $gdb_spawn_id, respectively. Adjust all callers.
18536
789c3a0c
PA
185372015-07-29 Pedro Alves <palves@redhat.com>
18538
18539 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18540 of gdb_test_sequence.
18541
77e760c3
PA
185422015-07-29 Pedro Alves <palves@redhat.com>
18543
18544 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18545 (saw_spurious_output): Expect inferior output from
18546 $inferior_spawn_id. Use gdb_test_stdio.
18547
8396d2cd
PA
185482015-07-29 Pedro Alves <palves@redhat.com>
18549
18550 * gdb.base/dprintf.exp: Use standard_testfile. Change
18551 prepare_for_testing call.
18552 (srcfile): Don't set.
18553 (restart): New procedure.
18554 (test_dprintf): New procecure, use to continue over dprintfs.
18555 (test_call, test_agent): New procedures, tests moved here.
18556 Restart gdb and recreate dprintfs. Adjust expected output.
18557
2051d61f
PA
185582015-07-29 Pedro Alves <palves@redhat.com>
18559
18560 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18561
452397af
PA
185622015-07-29 Pedro Alves <palves@redhat.com>
18563
18564 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18565
8aed9555
PA
185662015-07-29 Pedro Alves <palves@redhat.com>
18567
18568 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18569 gdb_test_stdio.
18570
188a61b4
PA
185712015-07-29 Pedro Alves <palves@redhat.com>
18572
18573 * lib/gdb.exp (gdb_test_stdio): New procedure.
18574
12264a45
PA
185752015-07-29 Pedro Alves <palves@redhat.com>
18576
18577 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18578
23ffc893
PA
185792015-07-29 Pedro Alves <palves@redhat.com>
18580
18581 * gdb.base/call-signal-resume.exp: Remove check for
18582 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18583 * gdb.base/unwindonsignal.exp: Likewise.
18584 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18585 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18586
65566918
PA
185872015-07-29 Pedro Alves <palves@redhat.com>
18588
18589 * gdb.base/siginfo-addr.c (pass): New function.
18590 (handler): Call it iff si_addr is correct.
18591 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18592 Set a breakpoint at "pass" and continue to it.
18593
d60a9221
SDJ
185942015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18595
18596 * gdb.python/py-objfile.exp: Make some tests have unique names.
18597 * gdb.python/py-pp-registration.exp: Likewise.
18598
bde40b8f
PA
185992015-07-28 Pedro Alves <palves@redhat.com>
18600
18601 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18602
13e1dec8
SM
186032015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18604
18605 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18606
da33c9a7
SM
186072015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18608
18609 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18610
077836f7
PP
186112015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18612
18613 * gdb.base/gdb-sigterm-2.exp: New test.
18614
b8cc7b2e
DE
186152015-07-25 Doug Evans <xdje42@gmail.com>
18616
18617 Revert:
18618 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18619 (workers/%.worker, build-perf): New rule.
18620 (GDB_PERFTEST_MODE): New variable.
18621 (check-perf): Use it.
18622 (clean): Clean up gdb.perf parallel build subdirs.
18623 * lib/build-piece.exp: New file.
18624 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18625 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18626 name.
18627 (standard_temp_file): Ditto.
18628 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18629 of $GDB_PARALLEL.
18630
c8bd4544
DE
186312015-07-24 Doug Evans <dje@google.com>
18632
18633 * gdb.perf/lib/perftest/utils.py: New file.
18634 * gdb.perf/gm-hello.cc: New file.
18635 * gdb.perf/gm-pervasive-typedef.cc: New file.
18636 * gdb.perf/gm-pervasive-typedef.h: New file.
18637 * gdb.perf/gm-std.cc: New file.
18638 * gdb.perf/gm-std.h: New file.
18639 * gdb.perf/gm-use-cerr.cc: New file.
18640 * gdb.perf/gm-utils.h: New file.
18641 * gdb.perf/gmonster-null-lookup.py: New file.
18642 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18643 * gdb.perf/gmonster-print-cerr.py: New file.
18644 * gdb.perf/gmonster-ptype-string.py: New file.
18645 * gdb.perf/gmonster-runto-main.py: New file.
18646 * gdb.perf/gmonster-select-file.py: New file.
18647 * gdb.perf/gmonster1-null-lookup.exp: New file.
18648 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18649 * gdb.perf/gmonster1-print-cerr.exp: New file.
18650 * gdb.perf/gmonster1-ptype-string.exp: New file.
18651 * gdb.perf/gmonster1-runto-main.exp: New file.
18652 * gdb.perf/gmonster1-select-file.exp: New file.
18653 * gdb.perf/gmonster1.cc: New file.
18654 * gdb.perf/gmonster1.exp: New file.
18655 * gdb.perf/gmonster2-null-lookup.exp: New file.
18656 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18657 * gdb.perf/gmonster2-print-cerr.exp: New file.
18658 * gdb.perf/gmonster2-ptype-string.exp: New file.
18659 * gdb.perf/gmonster2-runto-main.exp: New file.
18660 * gdb.perf/gmonster2-select-file.exp: New file.
18661 * gdb.perf/gmonster2.cc: New file.
18662 * gdb.perf/gmonster2.exp: New file.
18663
6eab34f3
DE
186642015-07-24 Doug Evans <dje@google.com>
18665
18666 * gdb.perf/README: New file.
18667 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18668 * lib/gen-perf-test.exp: New file.
18669
63738bfd
DE
186702015-07-24 Doug Evans <dje@google.com>
18671
18672 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18673 (PerfTest::startup): New function.
18674 (PerfTest::run): Return result of calling body.
18675 (PerfTest::assemble): Rewrite.
18676 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18677 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18678 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18679 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18680 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18681
7b606f95
DE
186822015-07-24 Doug Evans <dje@google.com>
18683
18684 * lib/gdb.exp (clean_restart): Make executable optional.
18685
a97b16b8
DE
186862015-07-24 Doug Evans <dje@google.com>
18687
18688 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18689 compiler_info references.
18690 * gdb.cp/temargs.exp: Ditto.
18691 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18692 (get_compiler_info): Early exit if already computed. Set compiler_info
18693 to "unknown" if there was a problem.
18694 (test_compiler_info): Add function comment. Call get_compiler_info.
18695
35baa57f
DE
186962015-07-24 Doug Evans <dje@google.com>
18697
18698 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18699 (workers/%.worker, build-perf): New rule.
18700 (GDB_PERFTEST_MODE): New variable.
18701 (check-perf): Use it.
18702 (clean): Clean up gdb.perf parallel build subdirs.
18703 * lib/build-piece.exp: New file.
18704 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18705 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18706 name.
18707 (standard_temp_file): Ditto.
18708 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18709 of $GDB_PARALLEL.
18710
6ebea266
DE
187112015-07-24 Doug Evans <dje@google.com>
18712
18713 * lib/future.exp (gdb_default_target_compile): New option
18714 "early_flags".
18715 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18716 --as-needed.
18717
1e76a7e9
SDJ
187182015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18719
18720 * gdb.base/catch-syscall.exp: Call gdb_exit before
18721 gdb_skip_xml_test.
18722
5068630a
PA
187232015-07-24 Pedro Alves <palves@redhat.com>
18724
18725 * gdb.python/py-events.exp: Accept output between the stop event
18726 and the prompt.
18727 * gdb.python/py-evsignal.exp: Likewise.
18728 * gdb.python/py-evthreads.exp: Likewise.
18729
77598427
PA
187302015-07-24 Pedro Alves <palves@redhat.com>
18731
18732 PR gdb/18717
18733 * gdb.threads/non-ldr-exit.c: New file.
18734 * gdb.threads/non-ldr-exit.exp: New file.
18735
11e6c98f
YQ
187362015-07-24 Yao Qi <yao.qi@linaro.org>
18737
18738 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18739 restarting process.
18740
51aee833
YQ
187412015-07-24 Yao Qi <yao.qi@linaro.org>
18742
18743 * gdb.server/ext-restart.exp: New file.
18744
8cfe207c
YQ
187452015-07-24 Yao Qi <yao.qi@linaro.org>
18746
18747 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18748 argument options.
18749 * gdb.server/ext-wrapper.exp: New file.
18750
cc12ce38
DE
187512015-07-23 Doug Evans <dje@google.com>
18752
18753 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18754 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18755
d0d84780
PMR
187562015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18757
18758 * gdb.ada/var_arr_typedef.exp: New testcase.
18759 * gdb.ada/var_arr_typedef/pack.adb: New file.
18760 * gdb.ada/var_arr_typedef/pack.ads: New file.
18761 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18762
8b558f79
JB
187632015-07-20 Joel Brobecker <brobecker@adacore.com>
18764
18765 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18766
775a3298
JK
187672015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18768
18769 * gdb.arch/i386-biarch-core.exp: Replace istarget
18770 by "complete set gnutarget". Remove expectation for the "core-file"
18771 command.
18772
db1ff28b
JK
187732015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18774
18775 Revert the previous commit:
18776 Tests for validate symbol file using build-id.
18777
0a94970d
JK
187782015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18779
18780 Tests for validate symbol file using build-id.
18781 * gdb.base/solib-mismatch-lib.c: New file.
18782 * gdb.base/solib-mismatch-libmod.c: New file.
18783 * gdb.base/solib-mismatch.c: New file.
18784 * gdb.base/solib-mismatch.exp: New file.
18785
03346981
SL
187862015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18787
18788 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18789 nios2-*-linux*.
18790 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18791 * gdb.base/siginfo.exp: Likewise.
18792 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18793
42422cc7
PL
187942015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18795
18796 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18797 Move it to ...
18798 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18799 ... here.
18800 * gdb.trace/range-stepping.exp: Check that the target supports
18801 range stepping.
18802
cfa68bae
JK
188032015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18804
18805 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18806
8ffdba26
PA
188072015-07-14 Pedro Alves <palves@redhat.com>
18808
18809 * gdb.base/killed-outside.exp: New file.
18810 * gdb.base/killed-outside.c: New file.
18811
218a5a11
JK
188122015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18813
18814 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18815 (n at main): New.
18816 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18817
e03ed3c6
AA
188182015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18819
18820 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18821 infcall tests instead of setting up for KFAIL.
18822
485668e5
MM
188232015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18824
18825 * gdb.btrace/record_goto-step.exp: New.
18826
08464196
JK
188272015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18828
18829 PR compile/18484
18830 * gdb.compile/compile.c (struct struct_type): Add volatile to
18831 selffield's type.
18832 * gdb.compile/compile.exp
18833 (compile code struct_object.selffield = &struct_object): Skip further
18834 struct_object tests if this one xfails.
18835
bcf5c1d9
RC
188362015-07-08 Robert O'Callahan <robert@ocallahan.org>
18837
18838 PR exp/18617
18839 * gdb.trace/ax.exp: Add test.
18840
4931af25
YQ
188412015-07-07 Yao Qi <yao.qi@linaro.org>
18842
18843 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18844 instead of istarget "aarch64*-*-*".
18845 * gdb.arch/aarch64-fp.exp: Likewise.
18846 * gdb.base/float.exp: Likewise.
18847 * gdb.reverse/aarch64.exp: Likewise.
18848 * lib/gdb.exp (is_aarch64_target): New proc.
18849
9fcf688e
YQ
188502015-07-07 Yao Qi <yao.qi@linaro.org>
18851
18852 * lib/gdb.exp (is_aarch32_target): New proc.
18853 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18854 instead of "istarget "arm*-*-*"".
18855 * gdb.arch/arm-disp-step.exp: Likewise.
18856 * gdb.arch/thumb-bx-pc.exp: Likewise.
18857 * gdb.arch/thumb-prologue.exp: Likewise.
18858 * gdb.arch/thumb-singlestep.exp: Likewise.
18859 * gdb.base/disp-step-syscall.exp: Likewise.
18860 * gdb.base/float.exp: Likewise.
18861
fbd8d50d
YQ
188622015-07-07 Yao Qi <yao.qi@linaro.org>
18863
18864 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18865 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18866
71be1fdc
YQ
188672015-07-07 Yao Qi <yao.qi@linaro.org>
18868
18869 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18870 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18871 if it exists.
18872 * gdb.multi/multi-arch.exp: Likewise.
18873
3e221d36
SM
188742015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18875
18876 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18877 print.
18878
d441430b
YQ
188792015-07-07 Yao Qi <yao.qi@linaro.org>
18880
18881 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18882
06f810bd
MG
188832015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18884
18885 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18886 '[' and ']' characters.
18887
5e61e7c0
IB
188882015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18889
18890 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18891
28bf096c
PA
188922015-06-29 Pedro Alves <palves@redhat.com>
18893
18894 PR threads/18127
18895 * gdb.threads/hand-call-new-thread.c: New file.
18896 * gdb.threads/hand-call-new-thread.c: New file.
18897
ee93cd5e
KS
188982015-06-26 Keith Seitz <keiths@redhat.com>
18899 Doug Evans <dje@google.com>
18900
18901 PR 16253
18902 * gdb.cp/var-tag-2.cc: New file.
18903 * gdb.cp/var-tag-3.cc: New file.
18904 * gdb.cp/var-tag-4.cc: New file.
18905 * gdb.cp/var-tag.cc: New file.
18906 * gdb.cp/var-tag.exp: New file.
18907
fc637f04
PP
189082015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18909
18910 * gdb.base/history-duplicates.exp: New test.
18911
2e52ae68
PP
189122015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18913
18914 * gdb.base/completion.exp: Test the completion of the "focus"
18915 command.
18916
6e22494e
JK
189172015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18918
18919 * gdb.arch/amd64-prologue-skip.S: New file.
18920 * gdb.arch/amd64-prologue-skip.exp: New file.
18921
bf7b9cd9
SM
189222015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18923
18924 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18925 is_address_zero_readable check.
18926
201e8dfd
PB
189272015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18928
18929 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18930 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18931
5cd867b4
YQ
189322015-06-24 Yao Qi <yao.qi@linaro.org>
18933
18934 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18935 linux targets.
18936
4d7be007
YQ
189372015-06-24 Yao Qi <yao.qi@linaro.org>
18938
18939 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18940 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18941 * gdb.base/siginfo-thread.exp: Likewise.
18942
07fcd301
YQ
189432015-06-22 Yao Qi <yao.qi@linaro.org>
18944
18945 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18946
52042a00
YQ
189472015-06-22 Yao Qi <yao.qi@linaro.org>
18948
18949 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18950 aarch64*-*-*.
18951 (skip_hw_watchpoint_tests): Likewise.
18952
74bd41ce
PP
189532015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18954
18955 * gdb.base/gdbinit-history.exp: Test the interaction between
18956 setting GDBHISTSIZE and setting the history size via .gdbinit.
18957
bc460514
PP
189582015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18959
18960 PR gdb/16999
18961 * gdb.base/gdbhistsize-history.exp: New test.
18962
b58c513b
PP
189632015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18964
18965 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18966 with GDBHISTSIZE.
18967 * gdb.base/readline.exp: Likewise.
18968
92046791
YQ
189692015-06-17 Yao Qi <yao.qi@linaro.org>
18970
18971 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18972 line.
18973
2093d2d3
PP
189742015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18975
18976 * gdb.base/gdbinit-history.exp: Add test case to check that
18977 an unlimited history file does not get truncated on exit.
18978
e6c693af
AA
189792015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18980
18981 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18982 (VECTOR): New macro. Use it...
18983 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18984 ...for these typedefs.
18985 (int8, char1, int1, double1): New typedefs.
18986 (struct just_int2, struct two_int2): New structures.
18987 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18988 (add_structvecs, add_singlevecs): New functions.
18989 (main): Call add_some_intvecs twice.
18990 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18991 the compile and exit upon failure. Try compiling for the "native"
18992 architecture. Test inferior function calls with vector arguments
18993 and vector return value handling with "finish" and "return".
18994
c74f7d1c
JT
189952015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18996
18997 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18998 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18999 PE file.
19000 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19001
98aa42ee
AT
190022015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19003
19004 PR breakpoints/16465
19005 * gdb.mi/mi-dprintf-pending.c: New file.
19006 * gdb.mi/mi-dprintf-pending.exp: New test.
19007 * gdb.mi/mi-dprintf-pendshr.c: New file.
19008
7d73c23c 190092015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 19010 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
19011
19012 * gdb.arch/i386-mpx-map.c: New file.
19013 * gdb.arch/i386-mpx-map.exp: New File.
19014
190152015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19016
19017 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19018 * gdb.arch/i386-mpx.exp: Indentation fixed.
19019
190202015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19021
19022 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19023 function and improved indentation.
19024 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19025 gdb_test_multiple. Added additional tests to skip the test.
19026
190272015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19028
19029 * gdb.arch/i386-avx512.c: Change path in include file.
19030 * gdb.arch/i386-avx512.exp: Change include dir path
19031 compilation flag.
19032 * gdb.arch/i386-mpx.c: Change path in include file.
19033 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19034 flag.
19035
d5eba19a
JK
190362015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19037
19038 * gdb.compile/compile-print.exp (compile print *vararray@3)
19039 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19040
7f361056
JK
190412015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19042
19043 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19044 (do not keep jit in memory): ... this.
19045 (expect 5): Change it to ...
19046 (expect no 5): ... this.
19047
3b462ec2
SM
190482015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19049
19050 PR gdb/15564
19051 * gdb.mi/mi-detach.exp: New file.
19052
e0619de6
JK
190532015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19054
19055 PR symtab/18392
19056 * gdb.arch/amd64-tailcall-self.S: New file.
19057 * gdb.arch/amd64-tailcall-self.c: New file.
19058 * gdb.arch/amd64-tailcall-self.exp: New file.
19059
e970cb34
DB
190602015-05-28 Don Breazeal <donb@codesourcery.com>
19061
19062 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19063 tests for remote targets by checking is_target_gdbserver.
19064
b2e2f908
DE
190652015-05-27 Doug Evans <dje@google.com>
19066
19067 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19068 * gdb.dwarf2/opaque-type-lookup.c: New file.
19069 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19070
82c7be31
DE
190712015-05-26 Doug Evans <dje@google.com>
19072
19073 * gdb.cp/iostream.cc: New file.
19074 * gdb.cp/iostream.exp: New file.
19075
b4f54984
DE
190762015-05-26 Doug Evans <dje@google.com>
19077
19078 * gdb.dwarf2/dw2-op-call.exp: Update.
19079 * gdb.dwarf2/dw4-sig-types.exp: Update.
19080 * gdb.dwarf2/implptr.exp: Update.
19081 * gdb.mi/mi-cmd-param-changed.exp: Update.
19082
4ea6efe9
DE
190832015-05-26 Doug Evans <dje@google.com>
19084
19085 * gdb.python/py-lazy-string.c: New file.
19086 * gdb.python/py-lazy-string.exp: New file.
19087 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19088 (main): Update. Add estring3.
19089 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19090 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19091
f6bb7db3
YQ
190922015-05-26 Omair Javaid <omair.javaid@linaro.org>
19093 Yao Qi <yao.qi@linaro.org>
19094
19095 * gdb.reverse/aarch64.c: New.
19096 * gdb.reverse/aarch64.exp: New.
19097
a81bfbd0
OJ
190982015-05-26 Omair Javaid <omair.javaid@linaro.org>
19099
25d49b86
PA
19100 * lib/gdb.exp (supports_process_record): Return true for
19101 aarch64*-linux*.
a81bfbd0
OJ
19102 (supports_reverse): Likewise.
19103
158bf1b4
PP
191042015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19105
19106 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19107 Use with_test_prefix.
19108
a0145030
AB
191092015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19110
19111 * gdb.base/completion.exp: Add test for completion of layout
19112 names.
19113
ebe3b578
AB
191142015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19115
19116 * lib/gdb.exp (skip_tui_tests): New proc.
19117 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19118
84204ed7
PA
191192015-05-19 Pedro Alves <palves@redhat.com>
19120
19121 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19122 Save the whole env array instead of just HOME. Unset HISTSIZE in
19123 the environment while testing. Restore whole environment
19124 afterwards.
19125
37442ce1
DE
191262015-05-16 Doug Evans <xdje42@gmail.com>
19127
19128 * gdb.guile/scm-ports.c: New file.
19129 * gdb.guile/scm-ports.exp: Add memory port tests.
19130
36de76f9
JK
191312015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19132
19133 * gdb.compile/compile-print.c: New file.
19134 * gdb.compile/compile-print.exp: New file.
19135
3a9558c4
JK
191362015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19137
19138 * gdb.compile/compile-ops.exp: Cast param to void.
19139 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19140 (compile code struct_object.selffield = &struct_object): Add xfail.
19141
aa715135
JG
191422015-05-15 Joel Brobecker <brobecker@adacore.com>
19143
19144 * gdb.ada/arr_enum_with_gap: New testcase.
19145
931e5bc3
JG
191462015-05-15 Joel Brobecker <brobecker@adacore.com>
19147
19148 * gdb.ada/byte_packed_arr: New testcase.
19149
9cd4d857
JB
191502015-05-15 Joel Brobecker <brobecker@adacore.com>
19151
19152 * gdb.ada/pckd_neg: New testcase.
19153
ebfd00d2
PP
191542015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19155
19156 PR gdb/17820
19157 * gdb.base/gdbinit-history.exp: New test.
19158 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19159 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19160
4c082a81
SC
191612015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19162
19163 * gdb.python/py-xmethods.cc: Enhance test case.
19164 * gdb.python/py-xmethods.exp: New tests.
19165 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19166 function.
19167 (B_indexoper): Likewise.
19168 (global_dm_list) : Add new xmethod worker functions.
19169
f7797074
SDJ
191702015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19171
19172 * gdb.base/coredump-filter.exp: Correctly unset
19173 "coredump_var_addr" array.
19174
a4674e4e
PA
191752015-05-08 Pedro Alves <palves@redhat.com>
19176
19177 * gdb.server/non-existing-program.exp: Unset spawn_id.
19178
df2eb078
SC
191792015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19180
19181 PR python/18291
19182 * gdb.python/py-xmethods.exp: Add tests.
19183
422349a3
YQ
191842015-05-08 Yao Qi <yao.qi@linaro.org>
19185
19186 PR gdb/18208
19187 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19188 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19189 function set_coredump_filter, and remove remote_exec call.
19190 Remove argument ipid. Callers update.
19191 (top level): Don't get inferior's PID.
19192
63fc80ce
AA
191932015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19194
19195 * gdb.base/watch_thread_num.exp: Skip test on targets without
19196 access watchpoints.
19197
80ad801e
PA
191982015-05-06 Pedro Alves <palves@redhat.com>
19199
19200 PR server/18081
19201 * gdb.server/non-existing-program.exp: New file.
19202
0fa7fe50
JB
192032015-05-05 Joel Brobecker <brobecker@adacore.com>
19204
19205 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19206
3ea89b92
PMR
192072015-05-05 Joel Brobecker <brobecker@adacore.com>
19208
19209 * gdb.ada/out_of_line_in_inlined: New testcase.
19210
87b8eff0
JB
192112015-05-05 Joel Brobecker <brobecker@adacore.com>
19212
19213 * gdb.ada/var_rec_arr: New testcase.
19214
5fccc635
YQ
192152015-04-30 Yao Qi <yao.qi@linaro.org>
19216
19217 * gdb.base/break-idempotent.exp: If
19218 skip_hw_watchpoint_multi_tests returns true, skip the tests
19219 on "rwatch" and "awatch".
19220
42d38f42
YQ
192212015-04-30 Yao Qi <yao.qi@linaro.org>
19222
19223 * gdb.base/relativedebug.exp: Invoke gdb command
19224 "info sharedlibrary", and if libc.so doesn't have debug info,
19225 skip the test.
19226
2ce1cdbf
DE
192272015-04-29 Doug Evans <dje@google.com>
19228
19229 * gdb.python/py-xmethods.exp: Add ptype tests.
19230 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19231 get_result_type method.
19232
f24a38c5
LM
192332015-04-29 Luis Machado <lgustavo@codesourcery.com>
19234
19235 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19236 the target does not support hardware watchpoints.
19237
ecbf2b3c
LM
192382015-04-29 Luis Machado <lgustavo@codesourcery.com>
19239
19240 * gdb.base/break-always.exp: Abort testing if writing to memory
19241 causes an error.
19242
34f5f757
DE
192432015-04-28 Doug Evans <dje@google.com>
19244
19245 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19246 * gdb.python/py-pp-registration.exp: ... here. New file.
19247 * gdb.python/py-pp-registration.c: New file.
19248 * gdb.python/py-pp-registration.py: New file.
19249
69b4374a
DE
192502015-04-28 Doug Evans <dje@google.com>
19251
19252 * gdb.python/py-bad-printers.c: New file.
19253 * gdb.python/py-bad-printers.py: New file.
19254 * gdb.python/py-bad-printers.exp: New file.
19255
59fb7612
SS
192562015-04-28 Sasha Smundak <asmundak@google.com>
19257
19258 * gdb.python/py-type.exp: New test.
19259
2631b16a
AW
192602015-04-28 Andy Wingo <wingo@igalia.com>
19261
19262 * gdb.python/py-parameter.exp:
19263 * gdb.guile/scm-parameter.exp: Escape the path that we are
19264 matching against, as it might contain characters that are special
19265 to regular expressions.
19266
460efde1
JB
192672015-04-27 Joel Brobecker <brobecker@adacore.com>
19268
19269 * gdb.ada/rec_comp: New testcase.
19270
2d369d8e
SDJ
192712015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19272
19273 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19274 before using it.
19275
cf75d6c3
AB
192762015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19277
19278 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19279 new tests for verilog output.
19280
8dbe7ca5
YQ
192812015-04-24 Yao Qi <yao.qi@linaro.org>
19282
19283 * boards/remote-gdbserver-on-localhost.exp: New file.
19284
4ef9fb2f
PA
192852015-04-23 Pedro Alves <palves@redhat.com>
19286
19287 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19288 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19289 "end of file", remove $inferior_spawn_id from the indirect list.
19290
0a803169
PA
192912015-04-23 Pedro Alves <palves@redhat.com>
19292
19293 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19294
749ef8f8
PA
192952015-04-23 Pedro Alves <palves@redhat.com>
19296
19297 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19298 on $any_spawn_id instead of only on $gdb_spawn_id.
19299
8aae4344
PM
193002015-04-21 Pierre Muller <muller@sourceware.org>
19301
19302 PR pascal/17815
19303 * lib/pascal.exp (gpc_compile): Add new option "class".
19304 (fpc_compile): Likewise.
19305 * gdb.pascal/case-insensitive-symbols.pas: New file.
19306 * gdb.pascal/case-insensitive-symbols.exp: New file.
19307
1586c8fb
GB
193082015-04-20 Gary Benson <gbenson@redhat.com>
19309
19310 * gdb.base/attach.exp: Fix three extended remote failures.
19311
1b6e6f5c
GB
193122015-04-17 Gary Benson <gbenson@redhat.com>
19313
19314 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19315 the main executable over the remote protocol.
19316
e797481d
PA
193172015-04-16 Pedro Alves <palves@redhat.com>
19318
19319 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19320 a new gdbserver if gdbserver_reconnect_p is set.
19321
1ca99c42
PA
193222015-04-16 Pedro Alves <palves@redhat.com>
19323
19324 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19325 is set, don't exit gdbserver.
19326
af9fd6f8
AA
193272015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19328
19329 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19330 appropriate .insn, such that an older assembler can be used.
19331 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19332 the z/Architecture instruction set on 31-bit targets as well.
19333
04ff1e61
AA
193342015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19335
19336 * gdb.go/handcall.exp: Remove all logic related to the first
19337 breakpoint and rely on go_runto_main instead.
19338 * gdb.go/strings.exp: Likewise.
19339 * gdb.go/unsafe.exp: Likewise.
19340 * gdb.go/hello.exp: Likewise. Also rename the remaining
19341 breakpoint marker to "breakpoint 1".
19342 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19343 * gdb.go/strings.go: Likewise.
19344 * gdb.go/unsafe.go: Likewise.
19345 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19346 "set breakpoint 2 here" and rename the remaining breakpoint marker
19347 to "breakpoint 1".
19348
40d2f8d6
SM
193492015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19350
19351 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19352 if itertools.imap is not present.
19353 * gdb.python/py-objfile.exp: Add parentheses.
19354 * gdb.python/py-type.exp: Same.
19355 * gdb.python/py-unwind-maint.py: Same.
19356
8cbc97c6
YQ
193572015-04-15 Yao Qi <yao.qi@linaro.org>
19358
19359 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19360 of ":$ptr_size" and set its form explicitly.
19361
45fd756c
YQ
193622015-04-15 Pedro Alves <palves@redhat.com>
19363 Yao Qi <yao.qi@linaro.org>
19364
19365 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19366 timeout by factor of 4.
19367 (test_regular_watch): Likewise.
19368 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19369 * gdb.reverse/sigall-reverse.exp: Likewise.
19370 * gdb.reverse/until-precsave.exp: Likewise.
19371 * lib/gdb.exp (with_timeout_factor): New proc.
19372 (gdb_expect): Move some code to ...
19373 (get_largest_timeout): ... here. New procedure.
19374
9e811bc3
LM
193752015-04-14 Luis Machado <lgustavo@codesourcery.com>
19376
19377 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19378
0ff6fcb2
LM
193792015-04-13 Luis Machado <lgustavo@codesourcery.com>
19380
19381 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19382 to write to the .text section.
19383
7578d5f7
LM
193842015-04-13 Luis Machado <lgustavo@codesourcery.com>
19385
19386 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19387 Handle the case of targets that do not provide PID information.
19388
2efe15c4
YQ
193892015-04-13 Yao Qi <yao.qi@linaro.org>
19390
19391 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19392 and use expect instead of gdb_expect.
19393
8cd8f2f8
SDJ
193942015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19395
19396 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19397 "coredump_var_addr" to avoid naming conflict with other testcases.
19398
9ee41772
PA
193992015-04-10 Pedro Alves <palves@redhat.com>
19400
19401 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19402 gdb_test_sequence and gdb_assert.
19403
07473109
PA
194042015-04-10 Pedro Alves <palves@redhat.com>
19405
19406 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19407 test messages that don't include the breakpoint address.
19408
de3db44c
YQ
194092015-04-10 Yao Qi <yao.qi@linaro.org>
19410
19411 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19412 false for some offset and width combinations which aren't
19413 supported by linux kernel.
19414
c79d856c
PA
194152015-04-10 Pedro Alves <palves@redhat.com>
19416
19417 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19418 procedure, factored out from ...
19419 (top level): ... here. Add "set displaced-stepping" testing axis.
19420 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19421 parameter "displaced". Use it.
19422 (top level): Use foreach and add "set displaced-stepping" testing
19423 axis.
19424
ebc90b50
PA
194252015-04-10 Pedro Alves <palves@redhat.com>
19426
19427 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19428 Remove comment.
19429 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19430 both the address of the instruction that triggers the watchpoint
19431 and the address of the instruction immediately after, and use
19432 those addresses for the test. Fix comment.
19433
8f572e5c
PA
194342015-04-10 Pedro Alves <palves@redhat.com>
19435
19436 * gdb.base/sigstep.exp (breakpoint_to_handler)
19437 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19438 Test "backtrace" in handler.
19439 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19440 (top level): Add new "displaced" test axis to
19441 breakpoint_to_handler, breakpoint_to_handler_entry and
19442 breakpoint_over_handler.
19443
8d707a12
PA
194442015-04-10 Pedro Alves <palves@redhat.com>
19445
19446 PR gdb/18216
19447 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19448
ef713951
YQ
194492015-04-10 Yao Qi <yao.qi@linaro.org>
19450
19451 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19452 (test_add_rn_pc): New function.
19453 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19454 (top level): Invoke test_add_rn_pc.
19455
906d60cf
PA
194562015-04-10 Pedro Alves <palves@redhat.com>
19457
19458 PR gdb/13858
19459 * gdb.base/step-over-no-symbols.exp: New file.
19460
f2983cc3
AW
194612015-04-09 Andy Wingo <wingo@igalia.com>
19462
19463 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19464 after the Python tests.
19465
6d62641c
SDJ
194662015-04-08 Keith Seitz <keiths@redhat.com>
19467
19468 PR python/16699
19469 * gdb.python/py-completion.exp: New tests for completion.
19470 * gdb.python/py-completion.py (CompleteLimit1): New class.
19471 (CompleteLimit2): Likewise.
19472 (CompleteLimit3): Likewise.
19473 (CompleteLimit4): Likewise.
19474 (CompleteLimit5): Likewise.
19475 (CompleteLimit6): Likewise.
19476 (CompleteLimit7): Likewise.
19477
f3770638
PA
194782015-04-08 Pedro Alves <palves@redhat.com>
19479
19480 PR gdb/18214
19481 PR gdb/18216
19482 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19483 function.
19484 (main): Install it as SIGUSR1 handler.
19485 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19486 parameter. Always use "setup" as prefix. Toggle "set
19487 displaced-stepping" off/on depending on global. Don't switch to
19488 thread 1 here.
19489 (top level): Add displaced stepping "off/on" test axis. Update
19490 "setup" calls. Wrap each subtest with with_test_prefix. Test
19491 continuing with a queued signal in each thread.
19492
4496bed7
PA
194932015-04-08 Pedro Alves <palves@redhat.com>
19494
19495 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19496 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19497 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19498 Return early if running to main fails.
19499 * gdb.trace/while-stepping.exp: Likewise.
19500
b97fde92
PA
195012015-04-07 Pedro Alves <palves@redhat.com>
19502
19503 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19504 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19505 interact with inferior program.
19506
f71c18e7
PA
195072015-04-07 Pedro Alves <palves@redhat.com>
19508
19509 * lib/gdb.exp (inferior_spawn_id): New global.
19510 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19511 spawn id after processing the user code.
19512 (default_gdb_start): Set inferior_spawn_id.
19513 (send_inferior): New procedure.
19514 * lib/gdbserver-support.exp (gdbserver_start): Set
19515 inferior_spawn_id.
19516 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19517
6423214f
PA
195182015-04-07 Pedro Alves <palves@redhat.com>
19519
19520 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19521 * lib/gdbserver-support.exp (gdbserver_start): Make
19522 $server_spawn_id global.
19523 (gdbserver_start): Don't wait for gdbserver's spawn id with
19524 expect_background.
19525 (close_gdbserver): New procedure.
19526 (gdb_exit): Rename the default version and reimplement.
19527
71c0ee8c
PA
195282015-04-07 Pedro Alves <palves@redhat.com>
19529
72f4393d 19530 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19531 append the substituted item, not the original item.
19532
203bc29b
PA
195332015-04-07 Pedro Alves <palves@redhat.com>
19534
19535 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19536 gdb_expect.
19537
508a3ddf
PA
195382015-04-07 Pedro Alves <palves@redhat.com>
19539
19540 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19541 output appearing once only.
19542
9f6dbe2b
PA
195432015-04-07 Pedro Alves <palves@redhat.com>
19544
19545 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19546 that doesn't expect anything. Return early if running to main
19547 fails.
19548
337532fa
YQ
195492015-04-07 Yao Qi <yao.qi@linaro.org>
19550
19551 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19552 (child_function): Call alarm.
19553 (main): Move call to alarm into the loop.
19554 * gdb.threads/non-stop-fair-events.exp: Build program with
19555 -DTIMEOUT=$timeout.
19556
01b622d4
DE
195572015-04-06 Doug Evans <xdje42@gmail.com>
19558
19559 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19560 Fix dest parameter to board_info.
19561 (fpc_compile): Ditto.
19562 (gdb_compile_pascal): Rename dest arg to destfile.
19563
961f4160
PMR
195642015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19565
19566 * gdb.ada/funcall_ref.exp: New file.
19567 * gdb.ada/funcall_ref/foo.adb: New file.
19568
cafda597
YQ
195692015-04-02 Yao Qi <yao.qi@linaro.org>
19570
19571 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19572 is remote.
19573
fed040c6
GB
195742015-04-02 Gary Benson <gbenson@redhat.com>
19575
19576 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19577
d11916aa
SS
195782015-04-01 Sasha Smundak <asmundak@google.com>
19579
19580 * gdb.python/py-unwind-maint.c: New file.
19581 * gdb.python/py-unwind-maint.exp: New test.
19582 * gdb.python/py-unwind-maint.py: New file.
19583 * gdb.python/py-unwind.c: New file.
19584 * gdb.python/py-unwind.exp: New test.
19585 * gdb.python/py-unwind.py: New test.
19586
a1471180
PA
195872015-04-01 Pedro Alves <palves@redhat.com>
19588
19589 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19590 to fail instead of non-existent $test.
19591
0bbeccb1
PA
195922015-04-01 Pedro Alves <palves@redhat.com>
19593
19594 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19595 GDBFLAGS if not empty.
19596
3c724c8c
PMR
195972015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19598
19599 * gdb.ada/complete.exp: Remove "multi_line".
19600 * gdb.ada/info_exc.exp: Remove "multi_line".
19601 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19602 * gdb.ada/ptype_field.exp: Remove "multi_line".
19603 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19604 * gdb.ada/tagged.exp: Remove "multi_line".
19605 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19606 [multi_line ...]
19607 * gdb.btrace/delta.exp: Likewise.
19608 * gdb.btrace/exception.exp: Likewise.
19609 * gdb.btrace/function_call_history.exp: Likewise.
19610 * gdb.btrace/instruction_history.exp: Likewise.
19611 * gdb.btrace/nohist.exp: Likewise.
19612 * gdb.btrace/record_goto.exp: Likewise.
19613 * gdb.btrace/segv.exp: Likewise.
19614 * gdb.btrace/stepi.exp: Likewise.
19615 * gdb.btrace/tailcall.exp: Likewise.
19616 * gdb.btrace/unknown_functions.exp: Likewise.
19617 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19618 * lib/gdb.exp: Add the "multi_line" helper.
19619
4eec2deb
PA
196202015-04-01 Pedro Alves <palves@redhat.com>
19621
19622 * gdb.threads/tid-reuse.c: New file.
19623 * gdb.threads/tid-reuse.exp: New file.
19624
df8411da
SDJ
196252015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19626
19627 PR corefiles/16092
19628 * gdb.base/coredump-filter.c: New file.
19629 * gdb.base/coredump-filter.exp: Likewise.
19630
6ef37366
PM
196312015-03-27 Petr Machata <pmachata@redhat.com>
19632
19633 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19634 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19635 (Dwarf::assemble): Initialize them.
19636 (Dwarf::lines): New function.
19637
7ec911b0
JT
196382015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19639
19640 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19641 SYMBOL_PREFIX for x86_64-*-cygwin.
19642
ff908ebf
AW
196432015-03-26 Andy Wingo <wingo@igalia.com>
19644
19645 PR symtab/18148
19646 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19647 const_value but not a location.
19648 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19649 location defined in non-main CUs are visible.
19650
6d5f0679
YQ
196512015-03-26 Yao Qi <yao.qi@linaro.org>
19652
19653 PR testsuite/18139
19654 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19655 Add a line number entry for the same line.
19656 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19657 Add a line number entry for the same line.
19658
2898689b
YQ
196592015-03-26 Yao Qi <yao.qi@linaro.org>
19660
19661 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19662 .int 0.
19663 (func): Likewise. Add .Lfunc_1 label.
19664 Use .Lfunc_1 label.
19665 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19666 .int 0.
19667 (func): Likewise.
19668 Use .Lfunc_1 label.
19669
85180498
YQ
196702015-03-26 Yao Qi <yao.qi@linaro.org>
19671
19672 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19673 Call gdb_compile instead to compile each .s files without debug
19674 information.
19675
8aa08a8d
YQ
196762015-03-26 Yao Qi <yao.qi@linaro.org>
19677
19678 * gdb.base/savedregs.exp (process_saved_regs): Make
19679 "Saved registers:" optional in the pattern.
19680
66849923
MM
196812015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19682
19683 * gdb.btrace/next.exp: Merged into step.exp.
19684 * gdb.btrace/finish.exp: Merged into step.exp.
19685 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19686 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19687 "record goto" and checking the exact replay position.
19688 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19689 check for "Recording format" in "info record" output.
19690 * gdb.btrace/record_goto.exp: Choose test file based on target.
19691 * gdb.btrace/x86-record_goto.S: Renamed into ...
19692 * gdb.btrace/x86_64-record_goto.S: ... this.
19693 * gdb.btrace/i686-record_goto.S: New.
19694 * gdb.btrace/x86-tailcall.S: Renamed into ...
19695 * gdb.btrace/x86_64-tailcall.S: ... this.
19696 * gdb.btrace/i686-tailcall.S: New.
19697 * gdb.btrace/x86-tailcall.c: Renamed into ...
19698 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19699 separate statements. Update test.
19700 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19701 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19702 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19703 * gdb.btrace/tailcall.exp: Choose test file based on target.
19704 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19705
11cc1b74
MM
197062015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19707
19708 * gdb.btrace/exception.exp: Increase BTS buffer size.
19709
a25d8bf9
PA
197102015-03-24 Pedro Alves <palves@redhat.com>
19711
19712 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19713
856e7dd6
PA
197142015-03-24 Pedro Alves <palves@redhat.com>
19715
19716 * gdb.threads/schedlock.exp (test_step): No longer expect that
19717 "set scheduler-locking step" with "next" over a function call runs
19718 threads unlocked.
19719
ad235a41
AT
197202015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19721
19722 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19723
15630549
AT
197242015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19725
19726 PR breakpoints/16466
19727 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19728 * gdb.mi/mi-pending.c (thread_func): New function.
19729 (int main): Add threading support required.
19730 * gdb.mi/mi-pending.exp: Add tests for this issue.
19731 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19732 (pendfunc2): Remove stdio dependency.
19733 * gdb.mi/mi-pendshr2.c: New file.
19734
693dca06
KS
197352015-03-23 Keith Seitz <keiths@redhat.com>
19736
19737 * gdb.linespec/keywords.c: New file.
19738 * gdb.linespec/keywords.exp: New file.
19739
7e993ebf
KS
197402015-03-23 Keith Seitz <keiths@redhat.com>
19741
19742 PR gdb/18021
19743 * gdb.dwarf2/staticvirtual.exp: New test.
19744
bc23328c
JK
197452015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19746
19747 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19748 * README: Remove HP-UX and gdb.hp.
19749 (configuration):
19750 * configure: Regenerate.
19751 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19752 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19753 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19754 gdb.hp/gdb.defects/Makefile.
19755 * gdb.hp/Makefile.in: File deleted.
19756 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19757 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19758 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19759 * gdb.hp/gdb.aCC/run.c: File deleted.
19760 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19761 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19762 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19763 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19764 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19765 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19766 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19767 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19768 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19769 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19770 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19771 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19772 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19773 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19774 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19775 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19776 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19777 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19778 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19779 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19780 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19781 * gdb.hp/gdb.compat/average.c: File deleted.
19782 * gdb.hp/gdb.compat/sum.c: File deleted.
19783 * gdb.hp/gdb.compat/xdb.c: File deleted.
19784 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19785 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19786 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19787 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19788 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19789 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19790 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19791 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19792 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19793 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19794 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19795 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19796 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19797 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19798 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19799 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19800 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19801 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19802 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19803 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19804 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19805 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19806 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19807 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19808 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19809 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19810 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19811 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19812 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19813 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19814 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19815 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19816 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19817 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19818 * gdb.hp/tools/odump: File deleted.
19819
8bf3b159
PA
198202015-03-19 Pedro Alves <palves@redhat.com>
19821
19822 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19823 (saw_thread_3): New globals.
19824 (top level): Increment them when an event for the corresponding
19825 thread is seen.
19826 (no thread starvation): New test.
19827
eb54c8bf
PA
198282015-03-19 Pedro Alves <palves@redhat.com>
19829
19830 * gdb.threads/continue-pending-status.c: New file.
19831 * gdb.threads/continue-pending-status.exp: New file.
19832
32d2e5d6
PA
198332015-03-18 Pedro Alves <palves@redhat.com>
19834
19835 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19836 Use gdb_is_target_remote instead of is_remote. Use
19837 gdb_test_multiple instead of gdb_expect. Exit early if
19838 gdb_test_multiple hits its internal matches. Tighten stepi tests
19839 expected output. Fail on exit with any signal, instead of just
19840 SIGILL.
19841
f68f11b7
YQ
198422015-03-18 Yao Qi <yao.qi@linaro.org>
19843
19844 PR tdep/18107
19845 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19846 variable.
19847 * gdb.base/catch-syscall.exp: Don't skip it on
19848 aarch64*-*-linux* target. Remove elements in all_syscalls.
19849 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19850 target.
19851 (setup_all_syscalls): New proc.
19852
ca5fd19b
YQ
198532015-03-16 Yao Qi <yao.qi@linaro.org>
19854
19855 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19856 (top level): Skip tests if valid_addr_p returns false for
19857 $cmd1 or $cmd2.
19858
85642ba0
AW
198592015-03-11 Andy Wingo <wingo@igalia.com>
19860
19861 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19862
e03f9645
YQ
198632015-03-11 Yao Qi <yao.qi@linaro.org>
19864
19865 * gdb.base/catch-syscall.exp: Fix typo in comments.
19866
5d0962b2
YQ
198672015-03-11 Yao Qi <yao.qi@linaro.org>
19868
19869 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19870
b2df3cef
PA
198712015-03-09 Pedro Alves <palves@redhat.com>
19872
19873 * dg-extract-results.py: Delete.
19874
ef878e53
PA
198752015-03-09 Pedro Alves <palves@redhat.com>
19876
19877 Merge dg-extract-results.sh from GCC upstream (r218843).
19878
19879 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19880 * dg-extract-results.sh: Use --text with grep to avoid issues with
19881 binary files. Fall back to cat -v, if that doesn't work.
19882
9494d219
PA
198832015-03-05 Pedro Alves <palves@redhat.com>
19884
19885 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19886
a8d9763a
SM
198872015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19888
19889 * lib/mi-support.exp (mi_expect_interrupt): Accept
19890 alternative event for when in all-stop mode.
19891
be9957b8
PA
198922015-03-04 Pedro Alves <palves@redhat.com>
19893
19894 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19895
d57be0f4 198962015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19897
19898 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19899
c214c7cf
AA
199002015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19901
19902 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19903 regexps for GDB's current line display, accept a hex address
19904 preceding the line number.
19905
6d74a497
AA
199062015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19907
19908 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19909 the 'arch1' variable for "s390*-linux*" targets.
19910
511aee7c
PA
199112015-03-04 Pedro Alves <palves@redhat.com>
19912
19913 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19914 (main): Pass missing retval argument to pthread_join call.
19915
95e50b27
PA
199162015-03-02 Pedro Alves <palves@redhat.com>
19917
19918 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19919 (top level): Call do_test with non-stop as well.
19920
28054d69
PA
199212015-03-02 Pedro Alves <palves@redhat.com>
19922
19923 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19924 -1.
19925
4fa5d7b4
AA
199262015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19927
19928 * gdb.arch/s390-vregs.exp: New test.
19929 * gdb.arch/s390-vregs.S: New file.
19930
97c18565
PA
199312015-02-27 Pedro Alves <palves@redhat.com>
19932
19933 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19934 call to catch_command_errors.
19935 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19936 catch_command_errors.
19937
a37bfa30
PA
199382015-02-27 Pedro Alves <palves@redhat.com>
19939
19940 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19941 "true" for boolean result.
19942 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19943 prototype of main.
19944
6f98576f
PA
199452015-02-27 Pedro Alves <palves@redhat.com>
19946
19947 * lib/unbuffer_output.c: New file.
19948 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19949 (main): Call gdb_unbuffer_output.
19950
eba5ab56
YQ
199512015-02-27 Yao Qi <yao.qi@linaro.org>
19952
19953 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19954 target.
19955
0def5aaa
DE
199562015-02-26 Doug Evans <dje@google.com>
19957
19958 * gdb.cp/class2.cc (Dbase, D): New classes.
19959 (main): New local delta.
19960 * gdb.cp/class2.exp: Test printing delta.
19961 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19962 (dynbar): New global.
19963 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19964
081a1c2c
JK
199652015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19966
19967 * gdb.compile/compile-ifunc.c: New file.
19968 * gdb.compile/compile-ifunc.exp: New file.
19969
2f41223f
AT
199702015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19971
19972 * gdb.base/structs.exp: Check for correct struct on finish.
19973
03eddd80
YQ
199742015-02-26 Yao Qi <yao.qi@linaro.org>
19975
19976 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19977 is zero.
19978
80c57053
JK
199792015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19980
19981 * gdb.arch/cordic.ko.bz2: New file.
19982 * gdb.arch/cordic.ko.debug.bz2: New file.
19983 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19984
21613c12
YQ
199852015-02-25 Yao Qi <yao.qi@linaro.org>
19986
19987 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19988 aarch64*-*-* target.
19989
d8b901ed
PA
199902015-02-23 Pedro Alves <palves@redhat.com>
19991
19992 * lib/gdb.exp (delete_breakpoints): Rewrite using
19993 gdb_test_multiple.
19994
e5b85ead
PA
199952015-02-23 Pedro Alves <palves@redhat.com>
19996
19997 * gdb.base/info-os.c: Include stdlib.h.
19998
85c3a371
DE
199992015-02-22 Doug Evans <xdje42@gmail.com>
20000
20001 PR symtab/17855
20002 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20003 is read after symbols have been re-read.
20004 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20005 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20006
96553a0c
DE
200072015-02-21 Doug Evans <dje@google.com>
20008
20009 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20010
97a0c697
JK
200112015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20012
20013 PR corefiles/17808
20014 * gdb.arch/i386-biarch-core.core.bz2: New file.
20015 * gdb.arch/i386-biarch-core.exp: New file.
20016
a47cd6e9
PA
200172015-02-21 Pedro Alves <palves@redhat.com>
20018
20019 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20020 runto_main fails.
20021
c5facdc4
PA
200222015-02-20 Pedro Alves <palves@redhat.com>
20023
20024 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20025 info probes.
20026
2db9a427
PA
200272015-02-20 Pedro Alves <palves@redhat.com>
20028
20029 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20030
60fb7e9e
PA
200312015-02-20 Pedro Alves <palves@redhat.com>
20032
20033 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20034 clean_restart before gdb_target_supports_trace.
20035
5c5019c2
PA
200362015-02-20 Pedro Alves <palves@redhat.com>
20037
20038 PR threads/18006
20039 * gdb.threads/clone-thread_db.c: New file.
20040 * gdb.threads/clone-thread_db.exp: New file.
20041
c9587f88
AT
200422015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20043
20044 PR breakpoints/16812
20045 * gdb.base/catch-gdb-caused-signals.c: New file.
20046 * gdb.base/catch-gdb-caused-signals.exp: New file.
20047
f6a88844
JM
200482015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20049
20050 * configure: Regenerated.
20051 * configure.ac: Use GDB_AC_TRANSFORM.
20052 * aclocal.m4: sinclude ../transform.m4.
20053
497c491b
JM
200542015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20055
20056 * lib/dtrace.exp: New file.
20057 * gdb.base/dtrace-probe.exp: Likewise.
20058 * gdb.base/dtrace-probe.d: Likewise.
20059 * gdb.base/dtrace-probe.c: Likewise.
20060 * lib/pdtrace.in: Likewise.
20061 * configure.ac: Output variables with the transformed names of
20062 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20063 * configure: Regenerated.
20064
03e98035
JM
200652015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20066
20067 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20068 expected message when trying to access $_probe_* convenience
20069 variables while not on a probe.
20070
63cc30e9
JK
200712015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20072
20073 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20074
0703599a
PA
200752015-02-11 Pedro Alves <pedro@codesourcery.com>
20076
20077 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20078 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20079
7e60a48e
DE
200802015-02-10 Doug Evans <xdje42@gmail.com>
20081
20082 * lib/gdb.exp (gdb_load): Always return a result.
20083
01b088bc
PA
200842015-02-10 Pedro Alves <palves@redhat.com>
20085
20086 * gdb.threads/signal-sigtrap.c: New file.
20087 * gdb.threads/signal-sigtrap.exp: New file.
20088
b05ec7a5
AT
200892015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20090
20091 * gdb.trace/no-attach-trace.c: New file.
20092 * gdb.trace/no-attach-trace.exp: New file.
20093
a2c2acaf
MW
200942015-02-09 Mark Wielaard <mjw@redhat.com>
20095
20096 * gdb.dwarf2/atomic.c: New file.
20097 * gdb.dwarf2/atomic-type.exp: Likewise.
20098
31fd9caa
MM
200992015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20100
20101 * gdb.btrace/buffer-size.exp: Update "info record" output.
20102 * gdb.btrace/delta.exp: Update "info record" output.
20103 * gdb.btrace/enable.exp: Update "info record" output.
20104 * gdb.btrace/finish.exp: Update "info record" output.
20105 * gdb.btrace/instruction_history.exp: Update "info record" output.
20106 * gdb.btrace/next.exp: Update "info record" output.
20107 * gdb.btrace/nexti.exp: Update "info record" output.
20108 * gdb.btrace/step.exp: Update "info record" output.
20109 * gdb.btrace/stepi.exp: Update "info record" output.
20110 * gdb.btrace/nohist.exp: Update "info record" output.
20111
d33501a5
MM
201122015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20113
20114 * gdb.btrace/buffer-size: New.
20115
f4abbc16
MM
201162015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20117
20118 * gdb.btrace/delta.exp: Update "info record" output.
20119 * gdb.btrace/enable.exp: Update "info record" output.
20120 * gdb.btrace/finish.exp: Update "info record" output.
20121 * gdb.btrace/instruction_history.exp: Update "info record" output.
20122 * gdb.btrace/next.exp: Update "info record" output.
20123 * gdb.btrace/nexti.exp: Update "info record" output.
20124 * gdb.btrace/step.exp: Update "info record" output.
20125 * gdb.btrace/stepi.exp: Update "info record" output.
20126 * gdb.btrace/nohist.exp: Update "info record" output.
20127
b9d61307
SM
201282015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20129
20130 PR gdb/15678
20131 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20132
e584fdbc
PA
201332015-02-06 Pedro Alves <palves@redhat.com>
20134
20135 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20136 macro.
20137 (seconds_left, again): New globals.
20138 (main): Wait seconds_left in a 1-second sleep loop instead of
20139 sleeping 180 seconds. If 'again' is set, reset the seconds
20140 counter.
20141 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20142 'again' in the inferior before detaching. Print the seconds left.
20143 (options): New global.
20144 (top level): Build program with -DTIMEOUT=$timeout.
20145
77f41761
PA
201462015-02-06 Pedro Alves <palves@redhat.com>
20147
20148 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20149 determine how many seconds to pass to 'alarm'.
20150 * gdb.base/gdb-sigterm.exp (top level): Build program with
20151 -DTIMEOUT=$timeout.
20152 (do_test): Return success/failure indication. Add more verbose
20153 logging. Don't fail if 200 single steps are seen. Instead, fail
20154 when the test times out.
20155 (passes): New global.
20156 (top level): Break the testing loop if testing fails on any
20157 iteration. Use gdb_assert.
20158
b9394193
DB
201592015-02-04 Don Breazeal <donb@codesourcery.com>
20160
20161 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20162 and initialize them.
20163 (ipc_cleanup): New function.
20164 (main): Don't declare shmid, semid, and msqid. Add a call to
20165 atexit so that we call ipc_cleanup on exit.
20166
42d9e528
PA
201672015-02-04 Pedro Alves <palves@redhat.com>
20168
20169 * boards/native-extended-gdbserver.exp: Remove any target variant
20170 specifications from the board name before clearing the isremote
20171 flag from board_info.
20172
ae6ae975
DE
201732015-01-31 Doug Evans <xdje42@gmail.com>
20174
20175 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20176
cfb069a8
GB
201772015-01-31 Gary Benson <gbenson@redhat.com>
20178
20179 * gdb.base/completion.exp: Disable completion limiting for
20180 existing tests. Add new tests to check completion limiting.
20181 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20182
5dd31d79
DE
201832015-01-31 Doug Evans <xdje42@gmail.com>
20184
20185 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20186
9f050062
DE
201872015-01-31 Doug Evans <xdje42@gmail.com>
20188
20189 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20190 entries. Duplicate file section script entries.
20191 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20192 inlined entries. Add test for safe-path rejection.
20193 * gdb.python/py-section-script.c: Add duplicate inlined section script
20194 entries. Duplicate file section script entries.
20195 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20196 inlined entries. Add test for safe-path rejection.
20197
df25ebbd
JB
201982015-01-29 Joel Brobecker <brobecker@adacore.com>
20199
20200 * gdb.ada/disc_arr_bound: New testcase.
20201
4a0ca9ec
JB
202022015-01-29 Joel Brobecker <brobecker@adacore.com>
20203
20204 * gdb.ada/mi_var_array: New testcase.
20205
3a8b707a
DE
202062015-01-27 Doug Evans <dje@google.com>
20207
20208 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20209 Add test for objfile.filename, objfile.username after objfile
20210 has been unloaded.
20211
f8313f6e
JB
202122015-01-26 Joel Brobecker <brobecker@adacore.com>
20213
20214 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20215 the second test to print the name attribute of value
20216 returned by the call to gdb.lookup_type, and adjust
20217 the expected output accordingly.
20218
37bc665e
MW
202192015-01-25 Mark Wielaard <mjw@redhat.com>
20220
20221 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20222 * gdb.base/disp-step-fork.c: Include unistd.h.
20223 * gdb.base/siginfo-obj.c: Include stdio.h.
20224 * gdb.base/siginfo-thread.c: Likewise.
20225 * gdb.mi/non-stop.c: Include unistd.h.
20226 * gdb.mi/nsthrexec.c: Include stdio.h.
20227 * gdb.mi/pthreads.c: Include unistd.h.
20228 * gdb.modula2/unbounded1.c (main): Declare returns int.
20229 * gdb.reverse/consecutive-reverse.c: Likewise.
20230 * gdb.threads/create-fail.c: Include unistd.h.
20231 * gdb.threads/killed.c: Likewise.
20232 * gdb.threads/linux-dp.c: Likewise.
20233 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20234 * gdb.threads/non-ldr-exc-2.c: Likewise.
20235 * gdb.threads/non-ldr-exc-3.c: Likewise.
20236 * gdb.threads/non-ldr-exc-4.c: Likewise.
20237 * gdb.threads/pthreads.c: Include unistd.h.
20238 (main): Declare returns int.
20239 * gdb.threads/tls-main.c (foo): New declaration.
20240 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20241
f7e5394d
SM
202422015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20243
20244 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20245 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20246
743649fd
MW
202472015-01-15 Mark Wielaard <mjw@redhat.com>
20248
20249 * gdb.base/noreturn-return.c: New file.
20250 * gdb.base/noreturn-return.exp: New file.
20251 * gdb.base/noreturn-finish.c: New file.
20252 * gdb.base/noreturn-finish.exp: New file.
20253
198297aa
PA
202542015-01-23 Pedro Alves <palves@redhat.com>
20255
20256 * gdb.threads/continue-pending-after-query.c: New file.
20257 * gdb.threads/continue-pending-after-query.exp: New file.
20258
717cf30c
AG
202592015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20260 Simon Marchi <simon.marchi@ericsson.com>
20261
20262 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20263 * gdb.base/valgrind-db-attach.exp: Same.
20264 * gdb.base/valgrind-infcall.exp: Same.
20265 * lib/mi-support.exp (default_mi_gdb_start): Same.
20266 * lib/prompt.exp (default_prompt_gdb_start): Same.
20267 * lib/gdb.exp (default_gdb_spawn): Same.
20268 (gdb_interact): New.
20269
20270
4b62a76e
JK
202712015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20272
20273 * gdb.compile/compile.exp (pointer to jit function): New test.
20274
b4cdae6f
WW
202752015-01-17 Wei-cheng Wang <cole945@gmail.com>
20276
20277 * lib/gdb.exp (supports_process_record): Return true for
20278 powerpc*-*-linux*.
20279 (supports_reverse): Likewise.
20280
d221e7ef
DB
202812015-01-15 Don Breazeal <donb@codesourcery.com>
20282
20283 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20284 instead of checking whether the target board is remote and
20285 use spawn_wait_for_attach instead of exec/sleep.
20286 * gdb.base/attach-twice.exp: Likewise.
20287
bafffb51
JB
202882015-01-15 Joel Brobecker <brobecker@adacore.com>
20289
20290 * gdb.ada/var_arr_attrs: New testcase.
20291
5589af0e
PA
202922015-01-14 Pedro Alves <palves@redhat.com>
20293 Joel Brobecker <brobecker@adacore.com>
20294
20295 PR gdb/17525
20296 * gdb.base/bp-cmds-execution-x-script.c: New file.
20297 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20298 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20299
6c400b59
PA
203002015-01-14 Pedro Alves <palves@redhat.com>
20301
20302 PR cli/17828
20303 * gdb.base/batch-preserve-term-settings.c: New file.
20304 * gdb.base/batch-preserve-term-settings.exp: New file.
20305
e02c96a7
DE
203062015-01-13 Doug Evans <dje@google.com>
20307
20308 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20309 binary.
20310
576fd14c
JB
203112015-01-13 Joel Brobecker <brobecker@adacore.com>
20312
20313 * Makefile.in (clean mostlyclean): Do not delete *.py.
20314
04dccad0
JB
203152015-01-13 Joel Brobecker <brobecker@adacore.com>
20316
20317 * gdb.python/py-lookup-type.exp: New file.
20318
3d230f71
PA
203192015-01-12 Pedro Alves <palves@redhat.com>
20320
20321 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20322 restore GDBFLAGS before returning.
20323
7e67715d
JK
203242015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20325
20326 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20327 is_amd64_regs_target and is_x86_like_target.
20328
f2e0d4b4
DE
203292015-01-11 Doug Evans <xdje42@gmail.com>
20330
20331 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20332 is given without an explicit form.
20333 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20334 attributes.
20335 * gdb.dwarf/corrupt.exp: Ditto.
20336 * gdb.dwarf2/enum-type.exp: Ditto.
20337 * gdb.trace/entry-values.exp: Ditto.
20338 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20339
439250fb
DE
203402015-01-11 Doug Evans <xdje42@gmail.com>
20341
20342 PR gdb/15830
20343 * gdb.base/maint.exp: Remove references to "maint demangle".
20344 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20345 Add tests for explicitly specifying language to demangle.
20346 * gdb.dlang/demangle.exp: Ditto.
20347
ede9f622
PA
203482015-01-09 Pedro Alves <palves@redhat.com>
20349
20350 * gdb.threads/non-stop-fair-events.c: New file.
20351 * gdb.threads/non-stop-fair-events.exp: New file.
20352
a7b796db
PA
203532015-01-09 Pedro Alves <palves@redhat.com>
20354
20355 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20356 the global scope. Set a breakpoint after all threads are started
20357 rather than stepping over two source lines. Expect the prompt.
20358 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20359 global.
20360 (NUM): Now 15.
20361 (main): Use threads_started_barrier to wait for all threads to
20362 start. Main thread no longer calls thread_function. Exit after
20363 180 seconds.
20364 (loop): New function.
20365 (thread_function): Wait on threads_started_barrier barrier. Call
20366 'loop' at each iteration.
20367 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20368 threads have started, instead of hardcoding number of "next"
20369 steps. Use an access watchpoint instead of a write watchpoint.
20370
9665ffdd
PA
203712015-01-09 Pedro Alves <palves@redhat.com>
20372
20373 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20374 (thread_func): Wait on barrier.
20375 (main): Wait for all threads to start before stopping GDB.
20376 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20377 global.
20378 (thread1_func, thread2_func): Wait on barrier.
20379 (main): Wait for all threads to start before stopping GDB.
20380 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20381 New global.
20382 (thread1_func, thread2_func): Wait on barrier.
20383 (main): Wait for all threads to start before stopping GDB.
20384
c945a99f
PA
203852015-01-09 Pedro Alves <palves@redhat.com>
20386
20387 * gdb.threads/attach-many-short-lived-threads.c: New file.
20388 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20389
c1a747c1
PA
203902014-01-09 Pedro Alves <palves@redhat.com>
20391
20392 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20393 instead of to thread 2.
20394 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20395 Add barrier around each pthread_create call instead of around all
20396 calls.
20397 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20398 Set a break on thread_function and have the child threads hit it
20399 one at at a time.
20400
60b3033e
PA
204012015-01-09 Pedro Alves <palves@redhat.com>
20402
20403 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20404 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20405 false.
20406 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20407 checking whether the target board is remote.
20408 * gdb.multi/multi-attach.exp: Likewise.
20409 * gdb.python/py-sync-interp.exp: Likewise.
20410 * gdb.server/ext-attach.exp: Likewise.
20411 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20412 tests that need to attach, instead of checking whether the target
20413 board is remote at the top of the file.
20414
acc018ac
YQ
204152015-01-08 Yao Qi <yao@codesourcery.com>
20416
20417 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20418
50a18af8
JK
204192015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20420
20421 Fix testcase compilation.
20422 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20423
8503d6e1
JB
204242015-01-06 Joel Brobecker <brobecker@adacore.com>
20425
20426 * gdb.python/py-type.exp: Add a couple test about empty
20427 array creation, and negative-length array creation.
20428
cc73dbcc
DE
204292015-01-02 Doug Evans <xdje42@gmail.com>
20430
20431 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20432
0300bbc7
DE
204332015-01-02 Doug Evans <dje@google.com>
20434
20435 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20436
9d85a0ec
YQ
204372014-12-29 Yao Qi <yao@codesourcery.com>
20438
20439 * gdb.trace/entry-values.exp: Update comments. Rename variable
20440 bar_call_foo to returned_from_foo.
20441
87186c6a
MMN
204422014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20443
20444 PR gdb/17394
20445 * gdb.linespec/break-asm-file.c: New file.
20446 * gdb.linespec/break-asm-file.exp: New file.
20447 * gdb.linespec/break-asm-file0.s: New file.
20448 * gdb.linespec/break-asm-file1.s: New file.
20449
1bab7383
YQ
204502014-12-18 Nigel Stephens <nigel@mips.com>
20451 Maciej W. Rozycki <macro@codesourcery.com>
20452
20453 * gdb.base/float.exp: Handle the new output from "info float" on
20454 MIPS targets.
20455
1bc1068a
JK
204562014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20457
20458 Fix MinGW compilation.
20459 * gdb.compile/compile-ops.exp: Update untested message if
20460 !skip_compile_feature_tests.
20461 * gdb.compile/compile-setjmp.exp: Likewise.
20462 * gdb.compile/compile-tls.exp: Likewise.
20463 * gdb.compile/compile.exp: Likewise.
20464 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20465 supported on this host".
20466
b6615d10
DE
204672014-12-16 Doug Evans <xdje42@gmail.com>
20468
20469 * boards/stabs.exp: New file.
20470
25dda427
AA
204712014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20472
20473 * gdb.base/completion.exp: Adjust to format changes of "maint
20474 print user-registers".
20475
bf330350
CU
204762014-12-16 Catalin Udma <catalin.udma@freescale.com>
20477
20478 PR server/17457
20479 * gdb.arch/aarch64-fp.c: New file.
20480 * gdb.arch/aarch64-fp.exp: New file.
20481
395cf596
SDJ
204822014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20483
20484 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20485 r210637, r210913, r211666, r215400, r215817).
20486
20487 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20488 * dg-extract-results.py: New file.
20489 * dg-extract-results.sh: Use it if the environment seems
20490 suitable.
20491
20492 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20493
20494 * dg-extract-results.py (parse_run): Handle warnings that
20495 are printed before a test harness is run.
20496
20497 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20498
20499 * dg-extract-results.py (Named): Remove __cmp__ method.
20500 (output_variation): Use a key to sort variation.harnesses.
20501
20502 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20503
20504 * dg-extract-results.py: For Python 3, force sys.stdout to
20505 handle surrogate escape sequences.
20506 (safe_open): New function.
20507 (output_segment, main): Use it.
20508
20509 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20510
20511 * dg-extract-results.py (Prog.result_re): Include options
20512 in test name.
20513
20514 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20515
20516 * dg-extract-results.py (output_variation): Always sort if
20517 do_sum.
20518
e882ef3c
SM
205192014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20520
20521 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20522 as long as we get pagination notifications.
20523
4992aa20
JM
205242014-12-15 Jason Merrill <jason@redhat.com>
20525
20526 * Makefile.in (check-gdb.%): Restore.
20527 * README: Mention it.
20528
c1b5a1a6
JB
205292014-12-13 Joel Brobecker <brobecker@adacore.com>
20530
20531 * gdb.ada/str_uninit: New testcase.
20532
5537b577
JK
205332014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20534
20535 PR symtab/17642
20536 * gdb.base/vla-stub-define.c: New file.
20537 * gdb.base/vla-stub.c: New file.
20538 * gdb.base/vla-stub.exp: New file.
20539
bb2ec1b3
TT
205402014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20541 Jan Kratochvil <jan.kratochvil@redhat.com>
20542 Tom Tromey <tromey@redhat.com>
20543
20544 * configure.ac: Add gdb.compile/.
20545 * configure: Regenerate.
20546 * gdb.compile/Makefile.in: New file.
20547 * gdb.compile/compile-ops.exp: New file.
20548 * gdb.compile/compile-ops.c: New file.
20549 * gdb.compile/compile-tls.c: New file.
20550 * gdb.compile/compile-tls.exp: New file.
20551 * gdb.compile/compile-constvar.S: New file.
20552 * gdb.compile/compile-constvar.c: New file.
20553 * gdb.compile/compile-mod.c: New file.
20554 * gdb.compile/compile-nodebug.c: New file.
20555 * gdb.compile/compile-setjmp-mod.c: New file.
20556 * gdb.compile/compile-setjmp.c: New file.
20557 * gdb.compile/compile-setjmp.exp: New file.
20558 * gdb.compile/compile-shlib.c: New file.
20559 * gdb.compile/compile.c: New file.
20560 * gdb.compile/compile.exp: New file.
20561 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20562
4ff709eb
TT
205632014-12-12 Tom Tromey <tromey@redhat.com>
20564
20565 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20566 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20567
6dddd6a5
DE
205682014-12-12 Doug Evans <dje@google.com>
20569
20570 * lib/gdb-python.exp (get_python_valueof): New function.
20571 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20572
71c24708
AA
205732014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20574
20575 * gdb.base/completion.exp: Add test for completion of "info
20576 registers ".
20577
3e29f34a
MR
205782014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20579
20580 * gdb.base/func-ptrs.c: New file.
20581 * gdb.base/func-ptrs.exp: New file.
20582
fc126975
SM
205832014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20584
20585 PR breakpoints/17012
20586 * gdb.base/dprintf-detach.c: New file.
20587 * gdb.base/dprintf-detach.exp: New file.
20588
0a46d518
SM
205892014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20590
20591 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20592 * lib/gdb.exp (target_is_gdbserver): New procedure.
20593
a0be3e44
DE
205942014-12-08 Doug Evans <dje@google.com>
20595
20596 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20597
df1b803a
YQ
205982014-12-05 Yao Qi <yao@codesourcery.com>
20599
20600 * gdb.guile/scm-error.exp: Remove the third argument to
20601 gdb_remote_download.
20602 * gdb.guile/scm-frame-args.exp: Likewise.
20603 * gdb.guile/scm-section-script.exp: Likewise.
20604
ddb9f679
YQ
206052014-12-05 Yao Qi <yao@codesourcery.com>
20606
20607 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20608
86e4ed39
DE
206092014-12-04 Doug Evans <dje@google.com>
20610
20611 * gdb.python/py-objfile.exp: Add tests for
20612 objfile.add_separate_debug_file.
20613
7c50a931
DE
206142014-12-04 Doug Evans <dje@google.com>
20615
20616 * lib/gdb.exp (get_build_id): New function.
20617 (build_id_debug_filename_get): Rewrite to use it.
20618 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20619
621661e3
MR
206202014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20621
20622 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20623 `method(long)', not just 0x0.
20624 * gdb.cp/nsalias.exp: Align code labels to 4.
20625 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20626 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20627 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20628 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20629 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20630 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20631
29f0c3b7
DE
206322014-12-02 Doug Evans <dje@google.com>
20633
e1e061e7 20634 PR symtab/17602
29f0c3b7 20635 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20636 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20637 * gdb.cp/anon-ns.exp: Update.
20638
162078c8
NB
206392014-12-02 Nick Bull <nicholaspbull@gmail.com>
20640
20641 * gdb.python/py-events.py (inferior_call_handler): New.
20642 (register_changed_handler, memory_changed_handler): New.
20643 (test_events.invoke): Register new handlers.
20644 * gdb.python/py-events.exp: Add tests for inferior call,
20645 memory_changed and register_changed events.
20646
fdb09caf
AA
206472014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20648
20649 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20650 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20651 if the linker doesn't understand this.
20652
55cfb2c4
SM
206532014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20654
20655 * gdb.python/python.exp: Change expected reply to help().
20656
9e8cd6df
YQ
206572014-12-01 Yao Qi <yao@codesourcery.com>
20658
20659 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20660 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20661 * configure: Re-generated.
20662
6c659fc2
SC
206632014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20664
20665 * gdb.cp/chained-calls.cc: New file.
20666 * gdb.cp/chained-calls.exp: New file.
20667 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20668
d7fc3181
SM
206692014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20670
20671 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20672 * gdb.dwarf2/symtab-producer.exp: Same.
20673 * gdb.gdb/python-interrupts.exp: Same.
20674 * gdb.gdb/python-selftest.exp: Same.
20675 * gdb.python/py-linetable.exp: Same.
20676 * gdb.python/py-type.exp: Same.
20677 * gdb.python/py-value-cc.exp: Same.
20678 * gdb.python/py-value.exp: Same.
20679
10e79639
YQ
206802014-11-28 Yao Qi <yao@codesourcery.com>
20681
20682 * gdb.base/break-probes.exp: Match library name prefixed with
20683 sysroot.
20684
f28a0564
SM
206852014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20686
20687 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20688 test expected output. Add parentheses for the call to print.
20689 Remove L suffix from integers.
20690
3fe1ce1d
DE
206912014-11-26 Doug Evans <dje@google.com>
20692
20693 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20694
84429e27
YQ
206952014-11-22 Yao Qi <yao@codesourcery.com>
20696
20697 * gdb.trace/entry-values.c: Remove asms.
20698 (foo): Add foo_label.
20699 (bar): Add bar_label.
20700 * gdb.trace/entry-values.exp: Remove code computing foo's
20701 length and bar's length.
20702 (Dwarf::assemble): Invoke function_range for bar and use
20703 MACRO_AT_func for foo.
20704
26741859
YQ
207052014-11-22 Yao Qi <yao@codesourcery.com>
20706
20707 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20708 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20709 Use .Lgcc43_procstart instead of gcc43.
20710
45e44d27
JB
207112014-11-21 Joel Brobecker <brobecker@adacore.com>
20712
20713 * gdb.ada/n_arr_bound: New testcase.
20714
458c8db8
SDJ
207152014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20716
20717 PR breakpoints/10737
20718 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20719 test_catch_syscall_multi_arch.
20720 (test_catch_syscall_multi_arch): New function.
20721
43f3e411
DE
207222014-11-20 Doug Evans <xdje42@gmail.com>
20723
20724 * gdb.base/maint.exp: Update expected output.
20725
0d7b2549
AA
207262014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20727
20728 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20729 4-byte instruction on S390.
20730
8908fca5
JB
207312014-11-19 Joel Brobecker <brobecker@adacore.com>
20732
20733 * gdb.ada/arr_arr: New testcase.
20734
4a46959e
JB
207352014-11-19 Joel Brobecker <brobecker@adacore.com>
20736
20737 * gdb.ada/pkd_arr_elem: New Testcase.
20738
470e2f4e
LM
207392014-11-18 Luis Machado <lgustavo@codesourcery.com>
20740
20741 * gdb.reverse/break-precsave: Expect completion message for
20742 core file reads.
20743 * gdb.reverse/consecutive-precsave.exp: Likewise.
20744 * gdb.reverse/finish-precsave.exp: Likewise.
20745 * gdb.reverse/i386-precsave.exp: Likewise.
20746 * gdb.reverse/machinestate-precsave.exp: Likewise.
20747 * gdb.reverse/sigall-precsave.exp: Likewise.
20748 * gdb.reverse/solib-precsave.exp: Likewise.
20749 * gdb.reverse/step-precsave.exp: Likewise.
20750 * gdb.reverse/until-precsave.exp: Likewise.
20751 * gdb.reverse/watch-precsave.exp: Likewise.
20752
a267f3ad
AA
207532014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20754
20755 * gdb.base/bp-permanent.c: Include unistd.h.
20756 * gdb.python/py-framefilter-mi.c (main): Add return type.
20757 * gdb.python/py-framefilter.c (main): Likewise.
20758 * gdb.trace/actions-changed.c (main): Likewise.
20759
12084a9a
AA
207602014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20761
20762 * gdb.mi/until.c: Add eye-catchers.
20763 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20764 line numbers.
20765
dc7e1a77
AA
207662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20767
20768 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20769 function header variants in break1.c.
20770 * gdb.base/ena-dis-br.exp: Likewise.
20771 * gdb.base/hbreak2.exp: Likewise.
20772 * gdb.reverse/until-precsave.exp: Drop references to removed
20773 non-prototype function header variants in ur1.c.
20774 * gdb.reverse/until-reverse.exp: Likewise.
20775
41c77605
PM
207762014-11-17 Petr Machata <pmachata@redhat.com>
20777
20778 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20779 ${_cu_offset_size} bytes abbrev offset.
20780
34248c3a
DE
207812014-11-15 Doug Evans <xdje42@gmail.com>
20782
20783 PR symtab/17559
20784 * gdb.base/line-symtabs.exp: New file.
20785 * gdb.base/line-symtabs.c: New file.
20786 * gdb.base/line-symtabs.h: New file.
20787
646da059
YQ
207882014-11-14 Yao Qi <yao@codesourcery.com>
20789
20790 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20791 (func): Add label func_label.
20792 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20793 Replace low_pc and high_pc with MACRO_AT_range.
20794 Replace name, low_pc and high_pc with MACRO_AT_func.
20795
9301ebe6
YQ
207962014-11-14 Yao Qi <yao@codesourcery.com>
20797
20798 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20799 Replace name, low_pc and high_pc with MACRO_AT_func.
20800
f166b542
YQ
208012014-11-14 Yao Qi <yao@codesourcery.com>
20802
20803 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20804 produce debug information.
20805 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20806
0f6e71e3
YQ
208072014-11-14 Yao Qi <yao@codesourcery.com>
20808
20809 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20810 object and get function length.
20811 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20812 with MACRO_AT_func.
20813 (top-level): Replace gdb_compile and clean_restart with
20814 prepare_for_testing.
20815 * gdb.dwarf2/main.c (main): Add label main_label.
20816
876c4df9
YQ
208172014-11-14 Yao Qi <yao@codesourcery.com>
20818
20819 * lib/dwarf.exp (function_range): New procedure.
20820 (Dwarf::_handle_macro_at_func): New procedure.
20821 (Dwarf::_handle_macro_at_range): New procedure.
20822 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20823
02ad9cf1
YQ
208242014-11-14 Yao Qi <yao@codesourcery.com>
20825
20826 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20827 (_handle_attribute): New procedure.
20828
a59add0c
AA
208292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20830
20831 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20832 * gdb.base/call-sc.c (zed): Likewise.
20833 * gdb.base/checkpoint.c (main): Likewise.
20834 * gdb.base/dump.c (main): Likewise.
20835 * gdb.base/gcore.c (main): Likewise.
20836 * gdb.base/huge.c (main): Likewise.
20837 * gdb.base/multi-forks.c (main): Likewise.
20838 * gdb.base/pr10179-a.c (main): Likewise.
20839 * gdb.base/savedregs.c (main): Likewise.
20840 * gdb.base/sigaltstack.c (main): Likewise.
20841 * gdb.base/siginfo.c (main): Likewise.
20842 * gdb.base/structs.c (zed): Likewise.
20843 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20844 * gdb.mi/mi-syn-frame.c (main): Likewise.
20845 * gdb.mi/until.c (foo, main): Likewise.
20846 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20847 * gdb.base/solib-weak.c (foo): Declare.
20848 * gdb.base/attach-twice.c: Include stdio.h.
20849 * gdb.base/weaklib1.c: Likewise.
20850 * gdb.base/weaklib2.c: Likewise.
20851 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20852 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20853 unistd.h.
20854 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20855 * gdb.mi/mi-exit-code.c: Likewise.
20856 * gdb.base/break-interp-lib.c: Include string.h.
20857 * gdb.base/coremaker.c: Likewise.
20858 * gdb.base/testenv.c: Likewise.
20859 * gdb.python/py-finish-breakpoint.c: Likewise.
20860 * gdb.base/inferior-died.c: Include sys/wait.h.
20861 * gdb.base/fileio.c: Include time.h.
20862 * gdb.base/async-shell.c: Include unistd.h.
20863 * gdb.base/dprintf-non-stop.c: Likewise.
20864 * gdb.base/info-os.c: Likewise.
20865 * gdb.mi/mi-console.c: Likewise.
20866 * gdb.mi/watch-nonstop.c: Likewise.
20867 * gdb.python/py-events.c: Likewise.
20868 * gdb.base/async.c (baz): Move up before its invocation.
20869 * gdb.base/code_elim2.c (my_global_func): Likewise.
20870 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20871 * gdb.base/advance.c (func2): Likewise.
20872
3b5d5997
AA
208732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20874
20875 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20876 variant.
20877 * gdb.base/annota3.c: Likewise.
20878 * gdb.base/async.c: Likewise.
20879 * gdb.base/average.c: Likewise.
20880 * gdb.base/call-ar-st.c: Likewise.
20881 * gdb.base/call-rt-st.c: Likewise.
20882 * gdb.base/call-sc.c: Likewise.
20883 * gdb.base/call-strs.c: Likewise.
20884 * gdb.base/ending-run.c: Likewise.
20885 * gdb.base/execd-prog.c: Likewise.
20886 * gdb.base/exprs.c: Likewise.
20887 * gdb.base/foll-exec.c: Likewise.
20888 * gdb.base/foll-fork.c: Likewise.
20889 * gdb.base/foll-vfork.c: Likewise.
20890 * gdb.base/funcargs.c: Likewise.
20891 * gdb.base/gcore.c: Likewise.
20892 * gdb.base/jump.c: Likewise.
20893 * gdb.base/langs0.c: Likewise.
20894 * gdb.base/langs1.c: Likewise.
20895 * gdb.base/langs2.c: Likewise.
20896 * gdb.base/mips_pro.c: Likewise.
20897 * gdb.base/nodebug.c: Likewise.
20898 * gdb.base/opaque0.c: Likewise.
20899 * gdb.base/opaque1.c: Likewise.
20900 * gdb.base/recurse.c: Likewise.
20901 * gdb.base/run.c: Likewise.
20902 * gdb.base/scope0.c: Likewise.
20903 * gdb.base/scope1.c: Likewise.
20904 * gdb.base/setshow.c: Likewise.
20905 * gdb.base/setvar.c: Likewise.
20906 * gdb.base/shmain.c: Likewise.
20907 * gdb.base/shr1.c: Likewise.
20908 * gdb.base/shr2.c: Likewise.
20909 * gdb.base/sigall.c: Likewise.
20910 * gdb.base/signals.c: Likewise.
20911 * gdb.base/so-indr-cl.c: Likewise.
20912 * gdb.base/solib2.c: Likewise.
20913 * gdb.base/structs.c: Likewise.
20914 * gdb.base/sum.c: Likewise.
20915 * gdb.base/vforked-prog.c: Likewise.
20916 * gdb.base/watchpoint.c: Likewise.
20917 * gdb.reverse/shr2.c: Likewise.
20918 * gdb.reverse/until-reverse.c: Likewise.
20919 * gdb.reverse/ur1.c: Likewise.
20920 * gdb.reverse/watch-reverse.c: Likewise.
20921
066a77c5
AA
209222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20923
20924 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20925 variant.
20926 * gdb.base/sepdebug.exp: Drop references to removed code.
20927
4f204ea5
AA
209282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20929
20930 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20931 variant. Preserve original line numbering.
20932 * gdb.base/list1.c: Likewise.
20933
3b377a3a
AA
209342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20935
20936 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20937 variant.
20938 * gdb.base/break1.c: Likewise.
20939 * gdb.base/break.exp: Drop references to removed code.
20940
e444df73
AA
209412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20942
20943 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20944 variant.
20945
8008f2a7
AA
209462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20947
20948 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20949
a5a06887
AA
209502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20951
20952 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20953 logic into perform_all_tests() and invoke it with and without
20954 function header prototypes.
20955 (do_function_calls): Remove conditional XFAIL for PR 5318.
20956 (rerun_and_prepare): Remove duplicate code.
20957 (perform_all_tests): New. Main logic moved here.
20958
44dba9b9
AA
209592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20960
20961 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20962 code guarded by #ifdef NO_PROTOTYPES.
20963 (t_double_many_args): Likewise.
20964 (DEF_FUNC_MANY_ARGS_1): Likewise.
20965 (DEF_FUNC_VALUES_1): Likewise.
20966 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20967 guarded by #ifdef PROTOTYPES.
20968
d1fbcd56
AA
209692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20970
20971 * gdb.mi/mi-console.c: Add eye-catcher.
20972 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20973 instead of literal line number.
20974
b0e59b8f
AA
209752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20976
20977 * gdb.base/shr2.c: Add eye-catcher.
20978 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20979 line number.
20980
78f98cca
AA
209812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20982
20983 * gdb.base/jump.c: Add eye-catchers.
20984 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20985 numbers.
20986
58fa2af0
AA
209872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20988
20989 * gdb.base/execd-prog.c: Add eye-catchers.
20990 * gdb.base/foll-exec.c: Likewise.
20991 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20992 line numbers.
20993
04e5059b
AA
209942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20995
20996 * gdb.base/ending-run.c: Add eye-catchers.
20997 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20998 literal line numbers.
20999
dbfdb174
AA
210002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21001
21002 * gdb.base/call-rt-st.c: Add eye-catchers.
21003 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21004 literal line numbers.
21005
888a2ade
AA
210062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21007
21008 * gdb.base/call-ar-st.c: Add eye-catchers.
21009 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21010 literal line numbers.
21011
6acc2dde
AA
210122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21013
21014 * gdb.base/average.c: Add eye-catchers.
21015 * gdb.base/sum.c: Likewise.
21016 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21017 regexps dynamically.
21018
9ecfcd1d
AA
210192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21020
21021 * gdb.base/solib1.c: Add eye-catchers.
21022 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21023 literal line numbers.
21024
78708b7c
PA
210252014-11-12 Pedro Alves <palves@redhat.com>
21026
21027 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21028 leader has exited.
21029
af48d08f
PA
210302014-11-12 Pedro Alves <palves@redhat.com>
21031
21032 * gdb.arch/i386-bp_permanent.c: New file.
21033 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21034 (srcfile): Set to i386-bp_permanent.c.
21035 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21036 that stepi does not execute the 'leave' instruction, instead of
21037 testing it does execute.
21038 * gdb.base/bp-permanent.c: New file.
21039 * gdb.base/bp-permanent.exp: New file.
21040
af3768e9
DE
210412014-11-10 Doug Evans <xdje42@gmail.com>
21042
21043 PR symtab/17564
21044 * gdb.base/symtab-search-order.exp: New file.
21045 * gdb.base/symtab-search-order.c: New file.
21046 * gdb.base/symtab-search-order-1.c: New file.
21047 * gdb.base/symtab-search-order-shlib-1.c: New file.
21048
9de00a4a
PA
210492014-11-07 Pedro Alves <palves@redhat.com>
21050
21051 PR gdb/17511
21052 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21053 i?86-*-linux*.
21054
e0f52461
SC
210552014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21056
21057 PR c++/17494
21058 * gdb.cp/pr17494.cc: New file.
21059 * gdb.cp/pr17494.exp: New file.
21060
6ce8c980
YQ
210612014-11-02 Yao Qi <yao@codesourcery.com>
21062
21063 * gdb.python/python.exp: Get working directory and match the
21064 output of "set extended-prompt \\w " with it.
21065
02be9a71
DE
210662014-10-30 Doug Evans <dje@google.com>
21067
21068 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21069 in objfiles.
21070 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21071 in progspaces.
21072
3bdff46b
LM
210732014-10-30 Janis Johnson <janisjo@codesourcery.com>
21074
21075 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21076 * gdb.base/realname-expand.exp: Likewise.
21077 * gdb.linespec/macro-relative.exp: Likewise.
21078
ab917dfb
PA
210792014-10-29 Pedro Alves <palves@redhat.com>
21080
21081 PR gdb/17408
21082 * gdb.threads/schedlock.c (some_function): New function.
21083 (call_function): New global.
21084 (MAYBE_CALL_SOME_FUNCTION): New macro.
21085 (thread_function): Call it.
21086 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21087 and use it instead of a global counter. Adjust all callers.
21088 (get_current_thread): Use "find current thread" for test message
21089 here rather than having all callers pass down the same string.
21090 (goto_loop): New procedure, factored out from ...
21091 (my_continue): ... this.
21092 (step_ten_loops): Change parameter from test message to command to
21093 use. Adjust.
21094 (list_count): Delete global.
21095 (check_result): New procedure, factored out from duplicate top
21096 level code.
21097 (continue tests): Wrap in with_test_prefix.
21098 (test_step): New procedure, factored out from duplicate top level
21099 code.
21100 (top level): Test "step" in combination with all scheduler-locking
21101 modes. Test "next" in combination with all scheduler-locking
21102 modes, and in combination with stepping over a function call or
21103 not.
21104 * gdb.threads/next-bp-other-thread.c: New file.
21105 * gdb.threads/next-bp-other-thread.exp: New file.
21106
d3d4baed
PA
211072014-10-29 Pedro Alves <palves@redhat.com>
21108
21109 PR python/17372
21110 * gdb.python/python.exp: Test a multi-line command that spawns
21111 interactive Python.
21112 * gdb.base/multi-line-starts-subshell.exp: New file.
21113
563e8d85
YQ
211142014-10-29 Yao Qi <yao@codesourcery.com>
21115
21116 * gdb.base/fileio.exp: Make directories on host.
21117
0ea4d52e
YQ
211182014-10-29 Yao Qi <yao@codesourcery.com>
21119
21120 * gdb.base/fileio.c (test_write): Close the file.
21121
7f5ef605
PA
211222014-10-28 Pedro Alves <palves@redhat.com>
21123
21124 PR gdb/12623
21125 * gdb.base/sigstep.c (no_handler): New global.
21126 (main): If 'no_handler is true, set the signal handlers to
21127 SIG_IGN.
21128 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21129 with_sw_watch and no_handler parameters. Handle them.
21130 (top level) <stepping over handler when stopped at a breakpoint
21131 test>: Add a test axis for testing with a software watchpoint, and
21132 another for testing with the signal handler set to SIG_IGN.
21133 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21134 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21135
abbdbd03
PA
211362014-10-28 Pedro Alves <palves@redhat.com>
21137
21138 PR gdb/17511
21139 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21140 * gdb.base/sigstep.exp (other_handler_location): New global.
21141 (advance): Support stepping into the signal handler, and running
21142 commands while in the handler.
21143 (in_handler_map): New global.
21144 (top level): In the advance test, add combinations for getting
21145 into the handler with stepping commands, and for running commands
21146 in the handler. Add comment descripting the advancei tests.
21147
1df4399f
PA
211482014-10-28 Pedro Alves <palves@redhat.com>
21149
21150 * gdb.base/sigstep.exp: Use build_executable instead of
21151 prepare_for_testing.
21152 (top level): Move code that starts GDB, runs to main and creates a
21153 display to ...
21154 (restart): ... this new procedure.
21155 (top level): Move backtrace from signal handler test to ...
21156 (validate_backtrace): ... this new procedure.
21157 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21158 with_test_prefix. Always restart GDB.
21159 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21160 with_test_prefix. Always restart GDB. No need to delete
21161 breakpoints after the test.
21162 (test_skip_handler): Remove prefix parameter.
21163 (skip_over_handler, breakpoint_to_handler)
21164 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21165 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21166 restart GDB. No need to delete breakpoints after the test.
21167 (top level): Use foreach to call the test procedures with
21168 different commands.
21169
a5b6e449
PA
211702014-10-28 Pedro Alves <palves@redhat.com>
21171
21172 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21173 instead of GNATS numbers.
21174 * gdb.base/sigbpt.exp: Likewise.
21175 * gdb.base/siginfo.exp: Likewise.
21176 * gdb.base/sigstep.exp: Likewise.
21177
e5f8a7cc
PA
211782014-10-27 Pedro Alves <palves@redhat.com>
21179
21180 * gdb.base/sigstep.c (dummy): New global.
21181 (main): Issue a couple writes to the new global.
21182 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21183 procedures.
21184 (skip_over_handler): Use test_skip_handler.
21185 (top level): Call skip_over_handler for stepi and nexti too.
21186 (breakpoint_over_handler): Use test_skip_handler.
21187 (top level): Call breakpoint_over_handler for stepi and nexti too.
21188
763905a3
YQ
211892014-10-27 Yao Qi <yao@codesourcery.com>
21190
21191 * gdb.trace/tfile.c (adjust_function_address)
21192 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21193 function descriptor.
21194
6f259a23
DB
211952014-10-24 Don Breazeal <donb@codesourcery.com>
21196
21197 * gdb.base/foll-fork.exp (test_follow_fork,
21198 catch_fork_child_follow): Check for updated fork messages emitted
21199 from infrun.c.
21200 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21201 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21202 vfork_and_exec_child_follow_through_step): Check for updated vfork
21203 messages emitted from infrun.c.
21204
09dd9a69
PA
212052014-10-24 Pedro Alves <palves@redhat.com>
21206
21207 * gdb.base/corefile.exp: Remove references to ultrix.
21208 * gdb.base/interrupt.exp: Likewise.
21209 * gdb.base/whatis.exp: Likewise.
21210 * gdb.gdb/selftest.exp: Likewise.
21211 * gdb.threads/manythreads.exp: Likewise.
21212 * gdb.threads/print-threads.exp: Likewise.
21213 * gdb.threads/pthreads.exp:: Likewise.
21214 * gdb.threads/schedlock.exp: Likewise.
21215
3433cfa5
SC
212162014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21217
21218 * gdb.cp/non-trivial-retval.cc: Add a test case.
21219 * gdb.cp/non-trivial-retval.exp: Add a test.
21220
092f880b
YQ
212212014-10-20 Yao Qi <yao@codesourcery.com>
21222
21223 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21224 * gdb.python/py-objfile-script-gdb.py: New file.
21225 * gdb.python/py-objfile-script.exp: Update reference to
21226 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21227 of remote_download. Remove the dest file.
21228
acbdb7f3
YQ
212292014-10-20 Yao Qi <yao@codesourcery.com>
21230
21231 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21232 * gdb.base/step-line.exp: Likewise.
21233 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21234 * gdb.dwarf2/dw2-basic.exp: Likewise.
21235 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21236 * gdb.dwarf2/dw2-filename.exp: Likewise.
21237 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21238 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21239 * gdb.dwarf2/dw2-producer.exp: Likewise.
21240 * gdb.dwarf2/mac-fileno.exp: Likewise.
21241 * gdb.python/py-frame-args.exp: Likewise.
21242 * gdb.python/py-framefilter.exp: Likewise.
21243 * gdb.python/py-mi.exp: Likewise.
21244 * gdb.python/py-objfile-script.exp: Likewise
21245 * gdb.python/py-pp-integral.exp: Likewise.
21246 * gdb.python/py-pp-re-notag.exp: Likewise.
21247 * gdb.python/py-prettyprint.exp: Likewise.
21248 * gdb.python/py-section-script.exp: Likewise.
21249 * gdb.python/py-typeprint.exp: Likewise.
21250 * gdb.python/py-xmethods.exp: Likewise.
21251 * gdb.stabs/weird.exp: Likewise.
21252 * gdb.xml/tdesc-regs.exp: Likewise.
21253
bd286a29
KCY
212542014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21255
21256 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21257 (out_cu): Use addr_len for the size of addresses.
21258 (out_line): Likewise. Size DW_LNE_set_address instruction
21259 according to addr_len.
21260 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21261 (FUNC): Add START_INSNS to definition.
21262
673dc4a0
YQ
212632014-10-18 Yao Qi <yao@codesourcery.com>
21264
21265 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21266 gdb_has_argv0 return true.
21267 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21268 check [target_info exists noargs], check [gdb_has_argv0]
21269 instead.
21270 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21271 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21272 procedures.
21273
4ffbba72
DE
212742014-10-17 Doug Evans <dje@google.com>
21275
21276 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21277 event.
21278 * gdb.python/py-events.py: Add clear_objfiles event.
21279
d096d8c1
DE
212802014-10-17 Doug Evans <dje@google.com>
21281
21282 * gdb.python/py-objfile.exp: Test progspace attribute.
21283
a80db015
LM
212842014-10-17 Luis Machado <lgustavo@codesourcery.com>
21285
21286 * gdb.guile/scm-breakpoint.exp: Do not assume any
21287 directory separators when matching source file paths.
21288 * gdb.python/py-breakpoint.exp: Likewise.
21289 * gdb.reverse/break-precsave.exp: Likewise.
21290 * gdb.reverse/break-reverse.exp: Likewise.
21291 * gdb.reverse/consecutive-precsave.exp: Likewise.
21292 * gdb.reverse/finish-precsave.exp: Likewise.
21293 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21294 * gdb.reverse/finish-reverse.exp: Likewise.
21295 * gdb.reverse/i386-precsave.exp: Likewise.
21296 * gdb.reverse/i387-env-reverse.exp: Likewise.
21297 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21298 * gdb.reverse/machinestate-precsave.exp: Likewise.
21299 * gdb.reverse/machinestate.exp: Likewise.
21300 * gdb.reverse/sigall-precsave.exp: Likewise.
21301 * gdb.reverse/solib-precsave.exp: Likewise.
21302 * gdb.reverse/step-precsave.exp: Likewise.
21303 * gdb.reverse/until-precsave.exp: Likewise.
21304 * gdb.reverse/watch-precsave.exp: Likewise.
21305 * gdb.reverse/watch-reverse.exp: Likewise.
21306
b22089ab
YQ
213072014-10-17 Yao Qi <yao@codesourcery.com>
21308
21309 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21310 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21311
6c4486e6
PA
213122014-10-17 Pedro Alves <palves@redhat.com>
21313
21314 PR gdb/17471
21315 * gdb.base/bg-execution-repeat.c: New file.
21316 * gdb.base/bg-execution-repeat.exp: New file.
21317
0ff33695
PA
213182014-10-17 Pedro Alves <palves@redhat.com>
21319
21320 PR gdb/17300
21321 * gdb.base/continue-all-already-running.c: New file.
21322 * gdb.base/continue-all-already-running.exp: New file.
21323
6fdebc3d
PA
213242014-10-17 Pedro Alves <palves@redhat.com>
21325
21326 PR gdb/17472
21327 * gdb.base/annota-input-while-running.c: New file.
21328 * gdb.base/annota-input-while-running.exp: New file.
21329
32a8097b
PA
213302014-10-17 Pedro Alves <palves@redhat.com>
21331
21332 * gdb.base/callfuncs.exp: emove references to osf.
21333 * gdb.base/sigall.exp: Likewise.
21334 * gdb.gdb/selftest.exp: Likewise.
21335 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21336 * gdb.mi/non-stop.c: Likewise.
21337 * gdb.mi/pthreads.c: Likewise.
21338 * gdb.reverse/sigall-precsave.exp: Likewise.
21339 * gdb.reverse/sigall-reverse.exp: Likewise.
21340 * gdb.threads/pthreads.c: Likewise.
21341 * gdb.threads/pthreads.exp: Likewise.
21342
7a3517ff
YQ
213432014-10-17 Yao Qi <yao@codesourcery.com>
21344
21345 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21346 check 'target_info exists noargs'.
21347 (test_command_prompt_position): Likewise.
21348 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21349 Remove "set args".
21350 (progvar_simple_while_test): Likewise.
21351 (progvar_complex_if_while_test): Likewise.
21352 (if_while_breakpoint_command_test): Likewise.
21353 (infrun_breakpoint_command_test): Likewise.
21354 (breakpoint_command_test): Likewise.
21355 (watchpoint_command_test): Likewise.
21356 (bp_deleted_in_command_test): Likewise.
21357 (temporary_breakpoint_commands): Likewise.
21358
bb99c472
YQ
213592014-10-16 Yao Qi <yao@codesourcery.com>
21360
21361 * gdb.base/remotetimeout.exp: Remove noargs checking.
21362
7c16b83e
PA
213632014-10-15 Pedro Alves <palves@redhat.com>
21364
21365 PR breakpoints/9649
21366 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21367 * gdb.base/breakpoint-in-ro-region.exp
21368 (probe_target_hardware_step): New procedure.
21369 (top level): Probe hardware stepping and hardware breakpoint
21370 support. Test stepping through a read-only region, with both
21371 "breakpoint auto-hw" on and off and both "always-inserted" on and
21372 off.
21373
35a49624
IB
213742014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21375
21376 * gdb.dlang/demangle.exp: Update for demangling changes.
21377
2d1c107c
SC
213782014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21379
21380 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21381 * gdb.cp/non-trivial-retval.exp: Add new tests.
21382
778811d5
SC
213832014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21384
21385 PR c++/13403
21386 PR c++/15154
21387 * gdb.cp/non-trivial-retval.cc: New file.
21388 * gdb.cp/non-trivial-retval.exp: New file.
21389
10c5f0a8
YQ
213902014-10-15 Yao Qi <yao@codesourcery.com>
21391
21392 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21393 remote host.
21394
65d7b369
YQ
213952014-10-15 Yao Qi <yao@codesourcery.com>
21396
21397 * gdb.python/py-symbol.exp: Match file base name if host is
21398 remote, otherwise match file name with dir name.
21399 * gdb.python/py-symtab.exp: Likewise.
21400 * gdb.python/python.exp: Likewise.
21401
46dc1394
YQ
214022014-10-15 Yao Qi <yao@codesourcery.com>
21403
21404 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21405 pattern.
21406 * gdb.python/py-symtab.exp: Likewise.
21407 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21408 locationn.
21409
c40cc657
JB
214102014-10-14 Joel Brobecker <brobecker@adacore.com>
21411
21412 * gdb.ada/addr_arith: New testcase.
21413
2abf49e1
MR
214142014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21415
21416 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21417 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21418 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21419 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21420
f7088df3
SDJ
214212014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21422
21423 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21424 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21425 * gdb.arch/stap-eval-lang-ada.exp: New file.
21426
4dc06805
YQ
214272014-10-14 Yao Qi <yao@codesourcery.com>
21428
21429 * gdb.mi/mi-var-child.c (nothing1): New function.
21430 (nothing2): New function.
21431 (do_children_tests): Set function pointers by nothing1 and
21432 nothing2.
21433 * gdb.mi/mi-var-child.exp: Step over new added statements.
21434 Update test to match the new output.
21435 * gdb.mi/var-cmd.c (nothing1): New function.
21436 (nothing2): New function.
21437 (do_children_tests): Set function pointers by nothing1 and
21438 nothing2.
21439 * gdb.mi/mi-var-display.exp: Update test to match output.
21440 Step to the line specified by $line_dct_nothing.
21441 Increase the number of lines to step.
21442
46a93de2
YQ
214432014-10-14 Yao Qi <yao@codesourcery.com>
21444
21445 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21446 tests.
21447 * gdb.mi/mi2-var-child.exp: Likewise.
21448
14ea52ee
DE
214492014-10-13 Doug Evans <dje@google.com>
21450
21451 * gdb.python/py-objfile.exp: Change name of file name test.
21452
e5c6e92b
DE
214532014-10-13 Doug Evans <dje@google.com>
21454
21455 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21456 from the start of the CU.
21457
c780cc2f
JK
214582014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21459 Yao Qi <yao@codesourcery.com>
21460
21461 Fix "save breakpoints" for "catch" command.
21462 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21463 Remove -nonewline. Match also the added "main" line.
21464
99894e11
JK
214652014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21466
21467 Fix "save breakpoints" for "disable $bpnum" command.
21468 * gdb.base/save-bp.c (main): Add label.
21469 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21470
6e1ac5a3
JK
214712014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21472
21473 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21474
754dd2b0
YQ
214752014-10-11 Yao Qi <yao@codesourcery.com>
21476
21477 * gdb.server/server-kill.exp: Execute command
21478 "set remote trace-status-packet on" before "tstatus".
21479
f90183d7
YQ
214802014-10-11 Yao Qi <yao@codesourcery.com>
21481
21482 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21483 (main): Call getppid.
21484 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21485 and continue to it. Read variable "server_pid".
21486
bf40a607
YQ
214872014-10-11 Yao Qi <yao@codesourcery.com>
21488
21489 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21490
052ca370
YQ
214912014-10-11 Yao Qi <yao@codesourcery.com>
21492
21493 * gdb.threads/thread-find.exp: Don't execute command
21494 "info threads".
21495 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21496 * gdb.threads/linux-dp.exp: Don't check the condition
21497 $threads_created equals to zero.
21498
3831839c
PA
214992014-10-10 Pedro Alves <palves@redhat.com>
21500
21501 * gdb.base/bigcore.exp: Remove references to IRIX.
21502 * gdb.base/funcargs.exp: Likewise.
21503 * gdb.base/interrupt.exp: Likewise.
21504 * gdb.base/mips_pro.exp: Likewise.
21505 * gdb.base/nodebug.exp: Likewise.
21506 * gdb.base/setvar.exp: Likewise.
21507 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21508
8b9a549d
PA
215092014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21510 Pedro Alves <palves@redhat.com>
21511
21512 PR symtab/14466
21513 * gdb.base/vdso-warning.c: New file.
21514 * gdb.base/vdso-warning.exp: New file.
21515
d48ba5e8
DE
215162014-10-02 Doug Evans <dje@google.com>
21517
21518 * gdb.base/structs.c (main): Don't run forever.
21519
2278c276
PA
215202014-10-02 Pedro Alves <palves@redhat.com>
21521
21522 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21523 (top level) <stop threads 1, stop threads 2>: Use it.
21524
b57bacec
PA
215252014-10-02 Pedro Alves <palves@redhat.com>
21526
21527 * gdb.threads/break-while-running.exp (test): Add new
21528 'update_thread_list' argument. Skip "info threads" if false.
21529 (top level): Add new 'update_thread_list' axis.
21530
13fd3ff3
PA
215312014-10-02 Pedro Alves <palves@redhat.com>
21532
21533 PR breakpoints/17431
21534 * gdb.base/execl-update-breakpoints.c: New file.
21535 * gdb.base/execl-update-breakpoints.exp: New file.
21536
0fec99e8
PA
215372014-10-01 Pedro Alves <palves@redhat.com>
21538
21539 * gdb.base/breakpoint-in-ro-region.c: New file.
21540 * gdb.base/breakpoint-in-ro-region.exp: New file.
21541
2ddf4301
SM
215422014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21543
21544 * gdb.mi/mi-exit-code.exp: New file.
21545 * gdb.mi/mi-exit-code.c: New file.
21546
6a5f3f43
YQ
215472014-09-30 Yao Qi <yao@codesourcery.com>
21548
21549 * lib/prelink-support.exp (build_executable_own_libs): Error if
21550 the target isn't native.
21551
345bcc73
YQ
215522014-09-30 Yao Qi <yao@codesourcery.com>
21553
21554 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21555 false.
21556
a25a5a45
PA
215572014-09-22 Pedro Alves <palves@redhat.com>
21558
21559 * gdb.threads/break-while-running.exp: New file.
21560 * gdb.threads/break-while-running.c: New file.
21561
00ba3162
YQ
215622014-09-19 Yao Qi <yao@codesourcery.com>
21563
21564 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21565 Invoke test. Restart GDB with --readnow and invoke test again.
21566
c3b7b696
YQ
215672014-09-19 Yao Qi <yao@codesourcery.com>
21568
21569 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21570 proc set_breakpoint_on_gcd_function. Invoke
21571 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21572 invoke set_breakpoint_on_gcd_function again.
21573
2b4fd423
DE
215742014-09-18 Doug Evans <dje@google.com>
21575
21576 * gdb.dwarf2/symtab-producer.exp: New file.
21577
a5947601
SDJ
215782014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21579
21580 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21581 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21582 * gdb.base/global-var-nested-by-dso.c: Likewise.
21583 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21584
91c19059
SDJ
215852014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21586 Pedro Alves <palves@redhat.com>
21587
21588 * gdb.base/watch-bitfields.exp: Pass string other than test file
21589 name to prepare_for_testing.
21590 (watch): New procedure.
21591 (expect_watchpoint): Use with_test_prefix.
21592 (top level): Factor out tests to ...
21593 (test_watch_location, test_regular_watch): ... these new
21594 procedures, and use with_test_prefix and gdb_continue_to_end.
21595
bb9d5f81
PP
215962014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21597
21598 PR breakpoints/12526
21599 * gdb.base/watch-bitfields.exp: New file.
21600 * gdb.base/watch-bitfields.c: New file.
21601
635856f5
PA
216022014-09-16 Pedro Alves <palves@redhat.com>
21603
21604 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21605 software and hardware addresses, not software address against
21606 itself.
21607
7280ceea
PA
216082014-09-16 Pedro Alves <palves@redhat.com>
21609
21610 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21611 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21612
428b16bd
PA
216132014-09-16 Pedro Alves <palves@redhat.com>
21614
21615 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21616 files.
21617 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21618 "*-*-vxworks*" throughout.
21619 * gdb.base/break.exp: Likewise.
21620 * gdb.base/default.exp: Likewise.
21621 * gdb.base/scope.exp: Likewise.
21622 * gdb.base/sepdebug.exp: Likewise.
21623 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21624 throughout.
21625 * gdb.base/run.c: Likewise.
21626 * gdb.base/sepdebug.c: Likewise.
21627 * gdb.hp/gdb.aCC/run.c: Likewise.
21628 * gdb.reverse/until-reverse.c: Likewise.
21629 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21630
666d413c
YQ
216312014-09-16 Yao Qi <yao@codesourcery.com>
21632
21633 * boards/local-remote-host-native.exp: New file.
21634
57cbd724
DE
216352014-09-14 Doug Evans <xdje42@gmail.com>
21636
21637 * gdb.threads/queue-signal.c (thread_count): New variable.
21638 (thread_count_mutex, thread_count_condvar): New variables.
21639 (incr_thread_count, wait_all_threads_running): New functions.
21640 (main): Wait for all threads to be in their thread functions.
21641
81219e53
DE
216422014-09-13 Doug Evans <xdje42@gmail.com>
21643
21644 * gdb.threads/queue-signal.c: New file.
21645 * gdb.threads/queue-signal.exp: New file.
21646
3714cea7
DE
216472014-09-13 Doug Evans <xdje42@gmail.com>
21648
21649 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21650 be consistent with what default_gdb_init uses.
21651 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21652 the plain text of the prompt. Add some logging printfs.
21653 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21654
fa43b1d7
PA
216552014-09-12 Pedro Alves <palves@redhat.com>
21656
21657 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21658 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21659 * gdb.arch/i386-size-overlap.exp: Likewise.
21660 * gdb.arch/i386-size.exp: Likewise.
21661 * gdb.arch/i386-unwind.exp: Likewise.
21662 * gdb.base/a2-run.exp: Likewise.
21663 * gdb.base/break.exp: Likewise.
21664 * gdb.base/charset.exp: Likewise.
21665 * gdb.base/chng-syms.exp: Likewise.
21666 * gdb.base/commands.exp: Likewise.
21667 * gdb.base/dbx.exp: Likewise.
21668 * gdb.base/find.exp: Likewise.
21669 * gdb.base/funcargs.exp: Likewise.
21670 * gdb.base/jit-simple.exp: Likewise.
21671 * gdb.base/reread.exp: Likewise.
21672 * gdb.base/sepdebug.exp: Likewise.
21673 * gdb.base/step-bt.exp: Likewise.
21674 * gdb.cp/mb-inline.exp: Likewise.
21675 * gdb.cp/mb-templates.exp: Likewise.
21676 * gdb.objc/basicclass.exp: Likewise.
21677 * gdb.threads/killed.exp: Likewise.
21678
9d9bf2df
EBM
216792014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21680
21681 PR tdep/17379
21682 * gdb.arch/powerpc-stackless.S: New file.
21683 * gdb.arch/powerpc-stackless.exp: New file.
21684
1cf2f1b0
JK
216852014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21686
21687 * gdb.base/attach.c: Include unistd.h.
21688 (main): Call alarm. Add label postloop.
21689 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21690 gdb_breakpoint, gdb_continue_to_breakpoint.
21691 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21692
98880d46
PA
216932014-09-11 Pedro Alves <palves@redhat.com>
21694
21695 PR gdb/17347
21696 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21697 * gdb.base/attach.exp (test_command_line_attach_run): New
21698 procedure.
21699 (top level): Call it.
21700
4c92ff2c
PA
217012014-09-11 Pedro Alves <palves@redhat.com>
21702
21703 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21704 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21705 (do_command_attach_tests): Use spawn_wait_for_attach.
21706 * gdb.base/solib-overlap.exp: Likewise.
21707 * gdb.multi/multi-attach.exp: Likewise.
21708 * gdb.python/py-prompt.exp: Likewise.
21709 * gdb.python/py-sync-interp.exp: Likewise.
21710 * gdb.server/ext-attach.exp: Likewise.
21711
3adc1a7d
GKB
217122014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21713
21714 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21715 command in testcase. Simplify testcase.
21716
96334934
JB
217172014-09-10 Joel Brobecker <brobecker@adacore.com>
21718
21719 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21720
eb479039
JB
217212014-09-10 Joel Brobecker <brobecker@adacore.com>
21722
21723 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21724
deede10c
JB
217252014-09-10 Joel Brobecker <brobecker@adacore.com>
21726
21727 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21728
7828a5f5
JB
217292014-09-10 Joel Brobecker <brobecker@adacore.com>
21730
21731 * gdb.dwarf2/dynarr-ptr.c: New file.
21732 * gdb.dwarf2/dynarr-ptr.exp: New file.
21733
33aeebcf
MR
217342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21735
21736 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21737 of 30 rather than hardcoding 120 for a slow test case. Take the
21738 `gdb,timeout' target setting into account for this calculation.
21739 Don't extend the timeout for the test cases that don't need it.
21740
7b415901
MR
217412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21742
21743 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21744 a factor of 2 for a slow test case. Take the `gdb,timeout'
21745 target setting into account for this calculation.
21746 * gdb.reverse/until-precsave.exp: Increase the timeout by
21747 a factor of 15 and 3 respectively rather than adding 120
21748 for a pair of slow test cases. Take the `gdb,timeout'
21749 target setting into account for this calculation.
21750
4a40f85a
MR
217512014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21752
21753 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21754 timeout, don't pass one down to gdb_expect.
21755 (gdb_expect): Rework timeout selection.
21756
09635af7
MR
217572014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21758
21759 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21760 exception on timeout.
21761 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21762 (gdbserver_start_extended): Catch any `gdbserver_start' error
21763 exceptions.
21764 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21765 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21766 `gdbserver_gdb_load' error exceptions.
21767
2bdd10b7
MR
217682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21769
21770 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21771 120 on waiting for the TCP socket to open.
21772
316935f0
DE
217732014-09-09 Doug Evans <xdje42@gmail.com>
21774
21775 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21776 _caller_matches, _any_caller_is, _any_caller_matches.
21777
83740597
DE
217782014-09-09 Doug Evans <xdje42@gmail.com>
21779
21780 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21781
4c122fc3
YQ
217822014-09-09 Yao Qi <yao@codesourcery.com>
21783
21784 * gdb.mi/mi-var-display.exp: Set print symbol off.
21785
a9f116cb
GKB
217862014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21787
21788 PR gdb/17035
21789 * gdb.base/commands.exp: Add tests to verify user-defined
21790 commands with empty bodies.
21791 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21792 python commands in `show user command`.
21793 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21794 scheme commands in `show user command`.
21795
c75bd3a2
JK
217962014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21797
21798 PR python/17355
21799 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21800 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21801 * gdb.python/py-framefilter-invalidarg.exp: New file.
21802 * gdb.python/py-framefilter-invalidarg.py: New file.
21803
faa42425
DE
218042014-09-06 Doug Evans <xdje42@gmail.com>
21805
21806 PR 15276
21807 * gdb.python/py-caller-is.c: New file.
21808 * gdb.python/py-caller-is.exp: New file.
21809
474ca4f6
SDJ
218102014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21811
21812 PR gdb/17235
21813 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21814 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21815
eb0b0463
SDJ
218162014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21817
21818 PR fortran/17237
21819 * gdb.fortran/print-formatted.exp: New file.
21820 * gdb.fortran/print-formatted.f90: Likewise.
21821
5f3b99cf
SS
218222014-09-03 Sasha Smundak <asmundak@google.com>
21823
21824 * gdb.python/py-frame.exp: Test Frame.read_register.
21825
7d793aa9
SDJ
218262014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21827
21828 PR python/16699
21829 * gdb.python/py-completion.exp: New file.
21830 * gdb.python/py-completion.py: Likewise.
21831
fb0576e9
DE
218322014-08-28 Doug Evans <dje@google.com>
21833
21834 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21835 eax,etc. are live with values set by gdb and thus the compiler can't
21836 use them.
21837 * gdb.arch/i386-pseudo.c (main): Ditto.
21838
ee92b0dd
DE
218392014-08-27 Doug Evans <dje@google.com>
21840
21841 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21842
6649db35
DE
218432014-08-25 Doug Evans <dje@google.com>
21844
21845 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21846 (main): Ditto.
21847
564b7600
DE
218482014-08-25 Doug Evans <dje@google.com>
21849
21850 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21851
3881fb67
YQ
218522014-08-24 Yao Qi <yao@codesourcery.com>
21853
21854 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21855 symbol off.
21856 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21857
a05a36a5
DE
218582014-08-22 Doug Evans <dje@google.com>
21859
21860 PR 17276
21861 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21862 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21863 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21864
7c343b48
YQ
218652014-08-22 Yao Qi <yao@codesourcery.com>
21866
21867 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21868 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21869 * gdb.python/python.exp: Likewise. Use .py file on the host
21870 instead of the build.
21871
22fd09ae
JK
218722014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21873
21874 * gdb.threads/gcore-stale-thread.c: New file.
21875 * gdb.threads/gcore-stale-thread.exp: New file.
21876
a8454a7c
PA
218772014-08-21 Pedro Alves <palves@redhat.com>
21878
21879 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21880 * gdb.base/gcore-relro-pie.exp: Likewise.
21881 * gdb.base/gcore-relro.exp: Likewise.
21882 * gdb.base/gcore.exp: Likewise.
21883 * gdb.base/print-symbol-loading.exp: Likewise.
21884 * gdb.threads/gcore-thread.exp: Likewise.
21885 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21886
2a31c623
PA
218872014-08-20 Pedro Alves <palves@redhat.com>
21888 Jan Kratochvil <jan.kratochvil@redhat.com>
21889
21890 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21891 configure.
21892 (EXPECT): Handle READ1 being set.
21893 (all): Depend on EXTRA_RULES.
21894 (check-read1, expect-read1, read1.so, read1): New rules.
21895 * README (Testsuite Parameters): Document the READ1 make variable.
21896 (Race detection): New section.
21897 * configure: Regenerate.
21898 * configure.ac: If build==host==target, and running under a
21899 GNU/glibc system, add read1 to the extra Makefile rules.
21900 (EXTRA_RULES): AC_SUBST it.
21901 * lib/read1.c: New file.
21902
d36430db
JB
219032014-08-20 Joel Brobecker <brobecker@adacore.com>
21904
21905 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21906 the handling of variables declared as a typedef to an array
21907 which a DW_AT_data_location attribute.
21908
9a0dc9e3
PA
219092014-08-19 Andrew Burgess <aburgess@broadcom.com>
21910 Pedro Alves <palves@redhat.com>
21911
21912 PR symtab/14604
21913 PR symtab/14605
21914 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21915 gdb_test.
21916
0718a8da
PA
219172014-08-19 Pedro Alves <palves@redhat.com>
21918
21919 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21920
13b448cd
YQ
219212014-08-19 Yao Qi <yao@codesourcery.com>
21922
21923 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21924 right line.
21925
1cbf5077
DB
219262014-08-18 David Blaikie <dblaikie@gmail.com>
21927
21928 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21929
bf0fae19
JB
219302014-08-18 Joel Brobecker <brobecker@adacore.com>
21931
21932 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21933 attribute in array range.
21934
3c8c5dcc
JB
219352014-08-18 Joel Brobecker <brobecker@adacore.com>
21936
21937 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21938
e66d4446
SC
219392014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21940
21941 PR c++/17132
21942 * gdb.cp/pr17132.cc: New file.
21943 * gdb.cp/pr17132.exp: New file.
21944
940df408
SC
219452014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21946
21947 * gdb.python/py-xmethods.py (A_getarrayind)
21948 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21949 Use 'print' with function call syntax.
21950 (E_method_matcher.match): Fix tab vs space indentation mixup.
21951
ebcc6c3a
YQ
219522014-08-15 Yao Qi <yao@codesourcery.com>
21953
21954 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21955 false.
21956
775e0f04
YQ
219572014-08-15 Yao Qi <yao@codesourcery.com>
21958
21959 * gdb.cp/casts.exp: Set print symbol off.
21960 * gdb.cp/class2.exp: Likewise.
21961 * gdb.cp/overload.exp: Likewise.
21962 * gdb.cp/templates.exp: Likewise.
21963
d769e349
DE
219642014-08-11 Doug Evans <dje@google.com>
21965
21966 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21967 (test_load_shlib): Update.
21968
20c6f1e1
YQ
219692014-08-09 Yao Qi <yao@codesourcery.com>
21970
21971 * gdb.base/display.exp: Invoke is_address_zero_readable.
21972 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21973 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21974 * gdb.base/hbreak-unmapped.exp: Return if
21975 is_address_zero_readable returns true.
21976 * gdb.base/signest.exp: Likewise.
21977 * gdb.base/signull.exp: Likewise.
21978 * gdb.base/sigbpt.exp: Likewise.
21979 * gdb.guile/scm-disasm.exp: Do the test if
21980 is_address_zero_readable returns false.
21981 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21982 * gdb.python/py-arch.exp: Likewise.
21983 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21984 * lib/gdb.exp (is_address_zero_readable): New proc.
21985
5792e8e3
YQ
219862014-08-09 Yao Qi <yao@codesourcery.com>
21987
21988 PR testsuite/13443
21989 * gdb.mi/mi-var-display.exp: Make test messages unique.
21990
3cecbbbe
TT
219912014-08-04 Tom Tromey <tromey@redhat.com>
21992
21993 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21994 target 0".
21995
00b51ff5
TT
219962014-08-04 Tom Tromey <tromey@redhat.com>
21997
21998 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21999 "target_resume".
22000
6908c509
JB
220012014-08-01 Joel Brobecker <brobecker@adacore.com>
22002
22003 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22004 inner_vla_struct_object_size.
22005 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22006 as xfail.
22007
cc6563d2
PA
220082014-07-30 Pedro Alves <palves@redhat.com>
22009
22010 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22011 comment.
22012
7e09a223
YQ
220132014-07-29 Yao Qi <yao@codesourcery.com>
22014
22015 PR gdb/17206
22016 * gdb.base/until-nodebug.exp: New.
22017
7ebdbe92
DE
220182014-07-28 Doug Evans <xdje42@gmail.com>
22019
22020 PR guile/17203
22021 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22022 previously existing parameter, and previously ambiguously spelled
22023 parameter.
22024
fdb1adc6
WN
220252014-07-28 Will Newton <will.newton@linaro.org>
22026
22027 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22028
186fcde0
DE
220292014-07-26 Ludovic Courtès <ludo@gnu.org>
22030 Doug Evans <xdje42@gmail.com>
22031
22032 PR guile/17146
22033 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22034
70509625
PA
220352014-07-25 Pedro Alves <palves@redhat.com>
22036
22037 * gdb.threads/signal-command-handle-nopass.c: New file.
22038 * gdb.threads/signal-command-handle-nopass.exp: New file.
22039 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22040 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22041 * gdb.threads/signal-delivered-right-thread.c: New file.
22042 * gdb.threads/signal-delivered-right-thread.exp: New file.
22043
c3f814a1
PA
220442014-07-25 Pedro Alves <palves@redhat.com>
22045
22046 * gdb.base/double-prompt-target-event-error.exp
22047 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22048 match.
22049 (cancel_pagination_in_target_event): Rework double prompt
22050 detection.
22051 * gdb.base/paginate-after-ctrl-c-running.exp
22052 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22053 <return>' match.
22054 * gdb.base/paginate-bg-execution.exp
22055 (test_bg_execution_pagination_return)
22056 (test_bg_execution_pagination_cancel): Remove '-notransfer
22057 <return>' matches.
22058 * gdb.base/paginate-execution-startup.exp
22059 (test_fg_execution_pagination_return)
22060 (test_fg_execution_pagination_cancel): Remove '-notransfer
22061 <return>' matches.
22062 * gdb.base/paginate-inferior-exit.exp
22063 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22064 match.
22065 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22066 * lib/gdb.exp (pagination_prompt): Run text through
22067 string_to_regexp.
22068 (gdb_test_multiple): Match $pagination_prompt instead of
22069 "<return>".
22070 (string_to_regexp): Move to lib/gdb-utils.exp.
22071
e214cf6c
JK
220722014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22073
22074 * gdb.arch/amd64-entry-value-paramref.S: New file.
22075 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22076 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22077 * gdb.arch/amd64-optimout-repeat.S: New file.
22078 * gdb.arch/amd64-optimout-repeat.c: New file.
22079 * gdb.arch/amd64-optimout-repeat.exp: New file.
22080
17d0c5c8
JK
220812014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22082
22083 PR gdb/17170
22084 * gdb.base/statistics.exp: New file.
22085
b8b8facf
DE
220862014-07-17 Doug Evans <dje@google.com>
22087
74b49205 22088 PR gdb/17170
b8b8facf
DE
22089 * gdb.base/maint.exp: Update testing of per-command stats.
22090
1b5d0ab3
PA
220912014-07-16 Pedro Alves <palves@redhat.com>
22092
22093 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22094 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22095 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22096 (tfile_write_buf): New functions.
22097 (add_memory_block): Rewrite using the above.
22098 (adjust_function_address): New function.
22099 (FUNCTION_ADDRESS): New macro.
22100 (write_basic_trace_file): Remove short_x local, and use
22101 tfile_write_16. Change type of func_addr local to unsigned long
22102 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22103 here. Cast argument of add_memory_block to char pointer.
22104 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22105 (main): Remove parameters.
22106 * gdb.trace/tfile.exp: Remove nowarnings.
22107
4d974e88
SM
221082014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22109
22110 * gdb.base/debug-expr.exp: Test string evaluation with
22111 "debug expression" on.
22112
41e99568
PA
221132014-07-15 Pedro Alves <palves@redhat.com>
22114
22115 * gdb.base/reread.exp: Use clean_restart.
22116
487d9753
PL
221172014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22118
22119 * gdb.arch/avr-flash-qualifer.c: New.
22120 * gdb.arch/avr-flash-qualifer.exp: New.
22121
cc1c52ad
PA
221222014-07-14 Pedro Alves <palves@redhat.com>
22123
22124 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22125 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22126
1e973570
PA
221272014-07-14 Pedro Alves <palves@redhat.com>
22128
22129 * gdb.base/double-prompt-target-event-error.c: New file.
22130 * gdb.base/double-prompt-target-event-error.exp: New file.
22131
93d6eb10
PA
221322014-07-14 Pedro Alves <palves@redhat.com>
22133
22134 PR gdb/17072
22135 * gdb.base/paginate-inferior-exit.c: New file.
22136 * gdb.base/paginate-inferior-exit.exp: New file.
22137
0017922d
PA
221382014-07-14 Pedro Alves <palves@redhat.com>
22139
22140 PR gdb/17072
22141 * gdb.base/paginate-bg-execution.c: New file.
22142 * gdb.base/paginate-bg-execution.exp: New file.
22143
94696ad3
PA
221442014-07-14 Pedro Alves <palves@redhat.com>
22145
22146 PR gdb/17072
22147 * gdb.base/paginate-execution-startup.c: New file.
22148 * gdb.base/paginate-execution-startup.exp: New file.
22149 * lib/gdb.exp (pagination_prompt): New global.
22150 (default_gdb_spawn): New procedure, factored out from
22151 default_gdb_spawn.
22152 (default_gdb_start): Adjust to call default_gdb_spawn.
22153 (gdb_spawn): New procedure.
22154
bd293940
PA
221552014-07-14 Pedro Alves <palves@redhat.com>
22156
22157 * lib/gdb.exp (gdb_assert): New procedure.
22158 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22159
c933f875
PA
221602014-07-14 Pedro Alves <palves@redhat.com>
22161
22162 * gdb.base/execution-termios.c: New file.
22163 * gdb.base/execution-termios.exp: New file.
22164
d98b7a16
TT
221652014-07-14 Tom Tromey <tromey@redhat.com>
22166
22167 * gdb.cp/vla-cxx.cc: New file.
22168 * gdb.cp/vla-cxx.exp: New file.
22169
548740d6
TT
221702014-07-14 Tom Tromey <tromey@redhat.com>
22171
22172 * gdb.reverse/rerun-prec.c: New file.
22173 * gdb.reverse/rerun-prec.exp: New file.
22174
a25eb028
MR
221752014-07-12 Maciej W. Rozycki <macro@mips.com>
22176 Maciej W. Rozycki <macro@codesourcery.com>
22177
22178 * lib/gdb-utils.exp: New file.
22179 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22180 inline `gdb_init_command' processing.
22181 (gdb_start_cmd): Likewise.
22182 * lib/mi-support.exp (mi_run_cmd): Likewise.
22183 * README: Document `gdb_init_command' and `gdb_init_commands'.
22184
218c2655
JK
221852014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22186
22187 Fix false FAIL running under a very long directory name.
22188 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22189 and "set print elements 10000". Twice.
22190
5401fde3
YQ
221912014-07-11 Yao Qi <yao@codesourcery.com>
22192
22193 * gdb.base/exprs.exp: "set print symbol off".
22194
e76126e8
PA
221952014-07-11 Pedro Alves <palves@redhat.com>
22196
22197 * gdb.threads/kill.c: New file.
22198 * gdb.threads/kill.exp: New file.
22199
2d6f0de6
YQ
222002014-07-10 Yao Qi <yao@codesourcery.com>
22201
22202 * gdb.trace/tfile.c (write_basic_trace_file)
22203 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22204 address written to trace file.
22205
7180e04a
PA
222062014-07-09 Pedro Alves <palves@redhat.com>
22207
22208 * gdb.base/attach-wait-input.exp: New file.
22209 * gdb.base/attach-wait-input.c: New file.
22210
9a9a7608
AB
222112014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22212
22213 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22214 setting up test structures.
22215 (main): Call new test function.
22216 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22217 test function, continue into test function and walk test
22218 structures.
22219
161ac41e
YQ
222202014-07-02 Yao Qi <yao@codesourcery.com>
22221
22222 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22223 'bar_start' at the beginning of functions 'foo' and 'bar'
22224 respectively.
22225 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22226 instead of 'foo' and 'bar'.
22227
1f267ae3
MM
222282014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22229
22230 * gdb.btrace/segv.exp: New.
22231 * gdb.btrace/segv.c: New.
22232
2b239efb
LM
222332014-07-02 Luis Machado <lgustavo@codesourcery.com>
22234
22235 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22236 instruction.
22237
cf363f18
MW
222382014-06-30 Mark Wielaard <mjw@redhat.com>
22239
22240 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22241 vulture, vilify, villar): New volatile array constants.
22242 (vindictive, vegetation): New const volatile array constants.
22243 * gdb.base/volatile.exp: Test volatile and const volatile array
22244 types.
22245
aebf9d24
AA
222462014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22247
22248 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22249 target lacks support for awatch, rwatch, or hbreak.
22250
b67a2c6f
YQ
222512014-06-27 Yao Qi <yao@codesourcery.com>
22252
22253 * gdb.multi/dummy-frame-restore.exp: New.
22254 * gdb.multi/dummy-frame-restore.c: New.
22255
aef92902
MM
222562014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22257
22258 * gdb.btrace/gcore.exp: New.
22259
8e9db26e
PA
222602014-06-23 Pedro Alves <palves@redhat.com>
22261
22262 * gdb.base/watchpoint-reuse-slot.c: New file.
22263 * gdb.base/watchpoint-reuse-slot.exp: New file.
22264
70afc5b7
SC
222652014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22266
22267 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22268 progspace's filename in 'info', 'enable' and 'disable' command
22269 tests.
22270
b972bd9c
JK
222712014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22272
22273 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22274 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22275 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22276
125f8a3d
GB
222772014-06-20 Gary Benson <gbenson@redhat.com>
22278
22279 * gdb.arch/i386-avx.exp: Fix include file location.
22280 * gdb.arch/i386-sse.exp: Likewise.
22281
3ed9baed
IB
222822014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22283
22284 * gdb.dlang/expression.exp: New file.
22285
034f788c
PA
222862014-06-19 Pedro Alves <palves@redhat.com>
22287
22288 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22289 out from ...
22290 (top level): ... here. Iterate running tests under different
22291 scheduler-locking settings.
22292
45371d0c
LM
222932014-06-18 Luis Machado <lgustavo@codesourcery.com>
22294
22295 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22296 to DW_FORM_addr and use non-zero addresses.
22297
5d376983
SC
222982014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22299
22300 PR gdb/17017
22301 * gdb.python/py-xmethods.cc: Add global function call counters and
22302 increment them in their respective functions. Remove "cout"
22303 statements.
22304 * gdb.python/py-xmethods.exp: Make tests check the global function
22305 call counters instead of depending on inferior IO.
22306
a1aa2221
LM
223072014-06-18 Don Breazeal <donb@codesourcery.com>
22308
22309 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22310 Deleted procedure.
22311 (explicit_fork_parent_follow): Deleted procedure.
22312 (explicit_fork_child_follow): Deleted procedure.
22313 (test_follow_fork): New procedure.
22314 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22315 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22316 procedure calls.
22317
0fc05997
YQ
223182014-06-17 Yao Qi <yao@codesourcery.com>
22319
22320 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22321 CP1252.
22322
70795c52
LM
223232014-06-17 Luis Machado <lgustavo@codesourcery.com>
22324
22325 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22326 Initialize ptr and S explicitly.
22327 (skip_type_update_when_not_use_rtti_test): Likewise.
22328
6be47f0c
KS
223292014-06-16 Keith Seitz <keiths@redhat.com>
22330
22331 PR mi/15863
22332 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22333 the inferior is started.
22334
d03de421
PA
223352014-06-16 Pedro Alves <palves@redhat.com>
22336
22337 * gdb.base/break-main-file-remove-fail.c: New file.
22338 * gdb.base/break-main-file-remove-fail.exp: New file.
22339 * gdb.base/break-unload-file.exp: Use build_executable instead of
22340 prepare_for_testing.
22341 (test_break): New parameter "initial_load". Handle it.
22342 (top level): Add initial_load cmdline/file axis.
22343
f9579b99
TT
223442014-06-12 Tom Tromey <tromey@redhat.com>
22345
22346 * gdb.base/completion.exp: Don't use directory name in test.
22347
3657956b
GB
223482014-06-09 Gary Benson <gbenson@redhat.com>
22349
22350 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22351 separate the always-available ANSI-standard signals from the
22352 signals that require checking.
22353 (main): Likewise.
22354 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22355 Likewise.
22356 (main): Likewise.
22357
4186eb54
KS
223582014-06-07 Keith Seitz <keiths@redhat.com>
22359
22360 Revert:
22361 PR c++/16253
22362 * gdb.cp/var-tag.cc: New file.
22363 * gdb.cp/var-tag.exp: New file.
22364 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22365 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22366 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22367 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22368
25326a28 223692014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22370
22371 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22372
829155c9
PA
223732014-06-06 Pedro Alves <palves@redhat.com>
22374
22375 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22376 in target debug output instead of looking at RSP packets,
22377 disabling the test on any target that uses hardware stepping.
22378 Update comments.
22379
61c8d22e
PA
223802014-06-06 Pedro Alves <palves@redhat.com>
22381
22382 * gdb.base/break-unload-file.exp: Fix typo.
22383
d9a47287
YQ
223842014-06-06 Yao Qi <yao@codesourcery.com>
22385
22386 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22387 from "jit_function" to "^jit_function".
22388
e5e01dbf
YQ
223892014-06-06 Yao Qi <yao@codesourcery.com>
22390
22391 * gdb.base/async.c (foo): Add one statement.
22392 * gdb.base/async.exp: Get the next instruction address and
22393 match the output of "nexti" by instruction address. Match
22394 the hex address in the output of "finish".
22395
73ba372c
GB
223962014-06-06 Gary Benson <gbenson@redhat.com>
22397
22398 * gdb.base/call-signals.c: Remove preprocessor conditionals
22399 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22400 SIGSEGV and SIGTERM.
22401 * gdb.base/sigall.c: Likewise.
22402 * gdb.base/unwindonsignal.c: Likewise.
22403 * gdb.reverse/sigall-reverse.c: Likewise.
22404
831517df
YQ
224052014-06-06 Yao Qi <yao@codesourcery.com>
22406
22407 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22408 readable, skip the test.
22409
b8b91e98
YQ
224102014-06-06 Yao Qi <yao@codesourcery.com>
22411
22412 * gdb.threads/staticthreads.c (thread_function): Move the line
22413 setting breakpoint on forward.
22414 * gdb.threads/staticthreads.exp: Update comments.
22415
fb934770
LC
224162014-06-05 Ludovic Courtès <ludo@gnu.org>
22417
22418 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22419 "history-append! type error".
22420
6ef284bd
SM
224212014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22422
22423 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22424 erroneous dprintf expected input.
22425
a872e241
DE
224262014-06-04 Doug Evans <xdje42@gmail.com>
22427
22428 * gdb.guile/scm-generics.exp: Delete.
22429
16f691fb
DE
224302014-06-04 Doug Evans <xdje42@gmail.com>
22431
22432 * gdb.guile/scm-breakpoint.exp: Update.
22433 Add tests for breakpoint registration.
22434
012370f6
TT
224352014-06-04 Tom Tromey <tromey@redhat.com>
22436
22437 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22438 VLA-in-union.
22439 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22440 inner_vla_struct, vla_union types. Initialize objects of those
22441 types and compute their sizes.
22442
9f5a4cef
HZ
224432014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22444 Hui Zhu <hui@codesourcery.com>
22445
22446 * gdb.base/fileio.exp: Add test for shell not available as well as
22447 available.
22448 * gdb.base/fileio.c (test_system): Check for shell twice.
22449
90a45c4d
YQ
224502014-06-04 Yao Qi <yao@codesourcery.com>
22451
22452 * gdb.base/auto-connect-native-target.exp: Remove redundant
22453 space from the regexp pattern.
22454
70017e41
YQ
224552014-06-04 Yao Qi <yao@codesourcery.com>
22456
22457 * gdb.base/default.exp: Replace "child" with "native" in
22458 regexp pattern.
22459
883964a7
SC
224602014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22461
22462 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22463 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22464 * gdb.python/py-xmethods.py: Python script supporting the
22465 new testcase and tests.
22466
ef370185
JB
224672014-06-03 Joel Brobecker <brobecker@adacore.com>
22468 Pedro Alves <palves@redhat.com>
22469
22470 PR breakpoints/17000
22471 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22472 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22473
1e2ccb61
BM
224742014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22475
22476 * gdb.base/subst.exp: Add tests to verify partial path matching
22477 output.
22478
c6ec5ab2
PA
224792014-06-03 Pedro Alves <palves@redhat.com>
22480
22481 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22482 target that doesn't use software single-stepping.
22483
835c559f
PA
224842014-06-03 Pedro Alves <palves@redhat.com>
22485
22486 PR breakpoints/17000
22487 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22488 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22489
06eb1586
DE
224902014-06-02 Doug Evans <xdje42@gmail.com>
22491
22492 * gdb.guile/scm-parameter.exp: New file.
22493
e698b8c4
DE
224942014-06-02 Doug Evans <xdje42@gmail.com>
22495
22496 * gdb.guile/scm-cmd.c: New file.
22497 * gdb.guile/scm-cmd.exp: New file.
22498
ded03782
DE
224992014-06-02 Doug Evans <xdje42@gmail.com>
22500
22501 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22502 pretty-printer lookup.
22503 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22504 (make-pp_s-printer): Call it.
22505 (make-pretty-printer-from-dict): New function.
22506 (lookup-pretty-printer-maker-from-dict): New function.
22507 (*pretty-printer*): Simplify.
22508 (make-objfile-pp_s-printer): New function.
22509 (install-objfile-pretty-printers!): New function.
22510 (make-progspace-pp_s-printer): New function.
22511 (install-progspace-pretty-printers!): New function.
22512 * gdb.guile/scm-progspace.c: New file.
22513 * gdb.guile/scm-progspace.exp: New file.
22514
41fac0cf
PA
225152014-06-02 Pedro Alves <palves@redhat.com>
22516
22517 * gdb.base/dprintf-bp-same-addr.c: New file.
22518 * gdb.base/dprintf-bp-same-addr.exp: New file.
22519
96ae5695
EBM
225202014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22521
22522 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22523 * gdb.arch/powerpc-power.s: Likewise.
22524
da02b3a8
JB
225252014-06-02 Joel Brobecker <brobecker@adacore.com>
22526
22527 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22528
c72b2e7b
YQ
225292014-06-01 Yao Qi <yao@codesourcery.com>
22530
22531 * gdb.base/watchpoint.exp (test_watch_location): Check null
22532 pointer can be dereferenced. If not, do the test, otherwise
22533 skip it.
22534
53e8a631
AB
225352014-05-30 Andrew Burgess <aburgess@broadcom.com>
22536
22537 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22538 results.
22539 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22540
938f0e2f
AB
225412014-05-30 Andrew Burgess <aburgess@broadcom.com>
22542
22543 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22544 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22545 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22546 * gdb.arch/amd64-invalid-stack-top.c: New file.
22547 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22548
9ba6657a
PA
225492014-05-30 Pedro Alves <palves@redhat.com>
22550
22551 PR breakpoints/17000
22552 * gdb.base/sss-bp-on-user-bp.c: New file.
22553 * gdb.base/sss-bp-on-user-bp.exp: New file.
22554
522c09bf
DB
225552014-05-30 David Blaikie <dblaikie@gmail.com>
22556
22557 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22558 gnu_inline semantics via attribute.
22559 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22560 source explicitly specifies the required semantics.
22561
bf4ef81e
MR
225622014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22563
22564 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22565
329ea579
PA
225662014-05-29 Pedro Alves <palves@redhat.com>
22567 Tom Tromey <tromey@redhat.com>
22568
22569 * gdb.base/async-shell.exp: Don't enable target-async.
22570 * gdb.base/async.exp
22571 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22572 parameter. Adjust.
22573 (top level): Don't test with "target-async".
22574 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22575 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22576 * gdb.base/inferior-died.exp: Don't enable target-async.
22577 * gdb.base/interrupt-noterm.exp: Likewise.
22578 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22579 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22580 * gdb.mi/mi-nonstop.exp: Likewise.
22581 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22582 * gdb.mi/mi-nsintrall.exp: Likewise.
22583 * gdb.mi/mi-nsmoribund.exp: Likewise.
22584 * gdb.mi/mi-nsthrexec.exp: Likewise.
22585 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22586 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22587 * gdb.python/py-evsignal.exp: Don't enable target-async.
22588 * gdb.python/py-evthreads.exp: Likewise.
22589 * gdb.python/py-prompt.exp: Likewise.
22590 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22591 * gdb.server/solib-list.exp: Don't enable target-async.
22592 * gdb.threads/thread-specific-bp.exp: Likewise.
22593 * lib/mi-support.exp: Adjust to use mi-async.
22594
fd664c91
PA
225952014-05-29 Pedro Alves <palves@redhat.com>
22596
22597 PR gdb/13860
22598 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22599 reason, even in sync mode.
22600
251bde03
PA
226012014-05-29 Pedro Alves <palves@redhat.com>
22602 Hui Zhu <hui@codesourcery.com>
22603
22604 PR PR15693
22605 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22606 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22607 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22608 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22609
7f3c0343
JB
226102014-05-28 Joel Brobecker <brobecker@adacore.com>
22611
22612 * config/monitor.exp (gdb_target_monitor): Replace use of
22613 "set remotebaud" by "set serial baud".
22614
b2715b27
AW
226152014-05-26 Andy Wingo <wingo@igalia.com>
22616
22617 * gdb.guile/scm-breakpoint.exp:
22618 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22619 properties instead of gdb-object-properties.
22620
498a4489
YQ
226212014-05-26 Yao Qi <yao@codesourcery.com>
22622
22623 * gdb.server/no-thread-db.exp: Specify source file name
22624 explicitly when setting a breakpoint.
22625
589fdceb
MM
226262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22627
22628 * gdb.btrace/vdso.c: New.
22629 * gdb.btrace/vdso.exp: New.
22630
e9089e05
MM
226312014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22632
22633 * gdb.base/gcore.exp (capture_command_output): Move ...
22634 * lib/gdb.exp (capture_command_output): ... here.
22635
67b5c0c1
MM
226362014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22637
22638 * gdb.btrace/data.exp: Test memory access during btrace replay.
22639
a2199296
SM
226402014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22641
22642 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22643
17b2616c
PA
226442014-05-21 Pedro Alves <palves@redhat.com>
22645
22646 PR gdb/13860
22647 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22648 (top level): Test that output related to execution commands is
22649 sent to the console with CLI commands, but not with MI commands.
22650 Test that breakpoint events are always mirrored to the console.
22651 Also expect the new source line to be output after a "next" in
22652 async mode too. Make it a pass/fail test.
22653 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22654 output.
22655 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22656
5166082f
PA
226572014-05-21 Pedro Alves <palves@redhat.com>
22658
22659 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22660 Use them to test variations of "list" after reaching a breakpoint.
22661 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22662 Test "list" with listsize 10 after reaching a breakpoint.
22663 * gdb.python/python.exp (decode_line current location line
22664 number): Adjust expected line number.
22665
2f25d70f
SM
226662014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22667
22668 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22669 behavior for $args, pass it directly to "run".
22670
ff604a67
MR
226712014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22672
22673 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22674 30000 to 65536.
22675
6a3cb8e8
PA
226762014-05-21 Pedro Alves <palves@redhat.com>
22677
22678 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22679 auto-connect-native-target off".
22680 * gdb.base/auto-connect-native-target.c: New file.
22681 * gdb.base/auto-connect-native-target.exp: New file.
22682
4ebfc96e
PA
226832014-05-21 Pedro Alves <palves@redhat.com>
22684
22685 * gdb.base/default.exp: Test "target native" instead of "target
22686 child".
22687
36d46afb
MW
226882014-05-21 Mark Wielaard <mjw@redhat.com>
22689
22690 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22691
5876f503
JK
226922014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22693
22694 Fix TLS access for -static -pthread.
22695 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22696 <HAVE_TLS> (thread_function, main): Initialize it.
22697 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22698 Add clean_restart.
22699 <$have_tls != "">: Check TLSVAR.
22700
0256a6ac
PA
227012014-05-21 Pedro Alves <palves@redhat.com>
22702
22703 * gdb.base/dcache-line-read-error.c: New.
22704 * gdb.base/dcache-line-read-error.exp: New.
22705
936d2992
PA
227062014-05-20 Pedro Alves <palves@redhat.com>
22707
22708 * gdb.base/compare-sections.c: New file.
22709 * gdb.base/compare-sections.exp: New file.
22710
802e8e6d
PA
227112014-05-20 Pedro Alves <palves@redhat.com>
22712
22713 * gdb.base/break-idempotent.c: New file.
22714 * gdb.base/break-idempotent.exp: New file.
22715
e59fa00f
MM
227162014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22717
22718 * gdb.btrace/nohist.exp: New.
22719
8b696e31
YQ
227202014-05-20 Yao Qi <yao@codesourcery.com>
22721
22722 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22723 gdb.reverse directory and gdb_reverse_timeout exists in board
22724 setting.
22725 * README: Document gdb_reverse_timeout.
22726
73c9764f
YQ
227272014-05-20 Yao Qi <yao@codesourcery.com>
22728
22729 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22730 'test_file_name'. Treat args as a string instead of a list.
22731 (gdb_init): Rename argument 'args' by 'test_file_name'.
22732
f1f4348a
JK
227332014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22734
22735 * gdb.arch/powerpc-power.exp: New file.
22736 * gdb.arch/powerpc-power.s: New file.
22737
0dbe70ce
DE
227382014-05-16 Doug Evans <dje@google.com>
22739
22740 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22741 * gdb.base/completion.exp: Check that all expected files exist
22742 before doing file completion.
0dbe70ce 22743
8d551b02
DE
227442014-05-16 Doug Evans <dje@google.com>
22745
22746 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22747 Update.
22748 (do_syscall_tests_without_xml): Update.
22749
73eb7709
PA
227502014-05-16 Pedro Alves <palves@redhat.com>
22751
22752 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22753 instead of "unknown output after running".
22754
3fae92fc
YQ
227552014-05-16 Yao Qi <yao@codesourcery.com>
22756
22757 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22758 file1.txt from host at the end.
22759 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22760
c2b2ccc5
DE
227612014-05-15 Doug Evans <dje@google.com>
22762
22763 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22764 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22765 loading file. Add test for TU lookup.
22766
8c217a4b
SM
227672014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22768
22769 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22770 calling "-exec-arguments" or "set args" before running the
22771 inferior.
22772
3deb39c6
SM
227732014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22774
22775 * lib/mi-support.exp (mi_expect_stop): Expect message for
22776 inferiors that exit with non-zero exit code.
22777
71a79f8c
YQ
227782014-05-14 Yao Qi <yao@codesourcery.com>
22779
22780 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22781 match absolute path on remote host.
22782 (test_file_list_exec_source_files): Remove "/" from the
22783 pattern.
22784
f23fcd46
YQ
227852014-05-14 Yao Qi <yao@codesourcery.com>
22786
22787 * boards/local-remote-host-notty.exp (${board}_file): New
22788 proc.
22789
9404b58f
KM
227902014-05-07 Kyle McMartin <kyle@redhat.com>
22791
22792 Pushed by Joel Brobecker <brobecker@adacore.com>.
22793 * gdb.arch/aarch64-atomic-inst.c: New file.
22794 * gdb.arch/aarch64-atomic-inst.exp: New file.
22795
5e45f04c
YQ
227962014-05-07 Yao Qi <yao@codesourcery.com>
22797
22798 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22799 in current context" too.
22800
c888a17d
KS
228012014-05-05 Keith Seitz <keiths@redhat.com>
22802
22803 * gdb.linespec/ls-dollar.exp: Add test for linespec
22804 file:convenience_variable.
22805
290a839c
YQ
228062014-05-05 Yao Qi <yao@codesourcery.com>
22807
22808 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22809 traceframes into tfile and ctf trace files. Read data from
22810 trace file and test collected data.
22811 (gdb_collect_locals_test): Likewise.
22812 (gdb_unavailable_registers_test): Likewise.
22813 (gdb_unavailable_floats): Likewise.
22814 (gdb_collect_globals_test): Likewise.
22815 (top-level): Append "ctf" to trace_file_targets if GDB
22816 supports.
22817
b5262cd0
YQ
228182014-05-05 Yao Qi <yao@codesourcery.com>
22819
22820 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22821 code to ...
22822 (gdb_collect_args_test_1): ... it. New proc.
22823 (gdb_collect_locals_test): Move some code to ...
22824 (gdb_collect_locals_test_1): ... it. New proc.
22825 (gdb_unavailable_registers_test): Move some code to ...
22826 (gdb_unavailable_registers_test_1): ... it. New proc.
22827 (gdb_unavailable_floats): Move some code to ...
22828 (gdb_unavailable_floats_1): ... it. New proc.
22829
30a1e6cc
SDJ
228302014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22831
22832 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22833 probes to test for bitness recognition.
22834 * gdb.arch/amd64-stap-optional-prefix.exp
22835 (test_probe_value_without_reg): New procedure.
22836 Add code to test for different kinds of bitness.
22837
f33da99a
SDJ
228382014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22839
22840 PR breakpoints/16889
22841 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22842 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22843
5b80f00d
PA
228442014-05-01 Pedro Alves <palves@redhat.com>
22845
22846 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22847 gdb_file_cmd if no file is specified.
22848 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22849 last_loaded_file to set the remote exec-file.
22850
f8c2a73c
PA
228512014-05-01 Pedro Alves <palves@redhat.com>
22852
22853 * boards/local-remote-host.exp: New file.
22854
be6e8ac7
PA
228552014-05-01 Pedro Alves <palves@redhat.com>
22856
22857 * boards/local-remote-host.exp: Rename to ...
22858 * boards/local-remote-host-notty.exp: ... this.
22859
cac0dc8f
JB
228602014-04-28 Joel Brobecker <brobecker@adacore.com>
22861
22862 * gdb.ada/dyn_arrayidx: New testcase.
22863
9730e6cc
YQ
228642014-04-26 Yao Qi <yao@codesourcery.com>
22865
22866 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22867 and compute the length of function main. Save it in
22868 $main_length.
22869 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22870 (top-level): Use gdb_compile to compile objects into
22871 executable and restart GDB. Remove invocation to
22872 prepare_for_testing.
22873
7ae1a6a6
PA
228742014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22875 Pedro Alves <palves@redhat.com>
22876
22877 PR server/16255
22878 * gdb.multi/multi-attach.c: New file.
22879 * gdb.multi/multi-attach.exp: New file.
22880
4082afcc
PA
228812014-04-25 Pedro Alves <palves@redhat.com>
22882
22883 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22884 user.
22885 (top level): Test that "set remote conditional-breakpoints-packet
22886 off" works as intended.
22887 * gdb.base/dprintf.exp: Test that "set remote
22888 breakpoint-commands-packet off" works as intended.
22889 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22890 New function.
22891 (top level): Call it.
22892 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22893 remote fast-tracepoints-packet off" works as intended.
22894 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22895 * lib/gdb.exp (gdb_is_target_remote): ... here.
22896
2abc3f8d
DB
228972014-04-24 David Blaikie <dblaikie@gmail.com>
22898
22899 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22900 ensure clang would not discard them.
22901 * gdb.base/gdbvars.c: Ditto.
22902 * gdb.base/memattr.c: Ditto.
22903 * gdb.base/whatis.c: Ditto.
22904 * gdb.python/py-prettyprint.c: Ditto.
22905 * gdb.trace/actions.c: Ditto.
22906 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22907 ensure clang would not discard it.
22908
bfd39632
DB
229092014-04-24 David Blaikie <dblaikie@gmail.com>
22910
22911 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22912 clang to emit the full definition of type required by the test
22913 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22914
22842ff6
DB
229152014-04-24 David Blaikie <dblaikie@gmail.com>
22916
22917 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22918 coax Clang into emitting the definition of the type.
22919 * gdb.cp/pr10728-x.h (y): Ditto.
22920 * gdb.cp/pr10728-y.cc (y): Ditto.
22921
c2e827ad
DB
229222014-04-24 David Blaikie <dblaikie@gmail.com>
22923
22924 * gdb.base/label.exp: XFAIL label related tests under Clang.
22925 * gdb.cp/cplabel.exp: Ditto.
22926 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22927 under Clang those using labels.
22928
4c2d33e7
YQ
229292014-04-25 Yao Qi <yao@codesourcery.com>
22930
22931 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22932 double_label.
22933 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22934 partial_label and double_label.
22935
56083b99
DB
229362014-04-24 David Blaikie <dblaikie@gmail.com>
22937
22938 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22939
25d4e99d
DB
229402014-04-24 David Blaikie <dblaikie@gmail.com>
22941
22942 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22943 of the function to work across GCC and Clang.
22944 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22945 pointer types (const void ** const V void **).
22946
01f9f808
MS
229472014-04-24 Michael Sturm <michael.sturm@mintel.com>
22948 Walfred Tedeschi <walfred.tedeschi@intel.com>
22949
22950 * Makefile.in (EXECUTABLES): Added i386-avx512.
22951 * gdb.arch/i386-avx512.c: New file.
22952 * gdb.arch/i386-avx512.exp: Likewise.
22953
4b48d439
KS
229542014-04-23 Keith Seitz <keiths@redhat.com>
22955
22956 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22957 (mi_make_breakpoint_table): New procedure.
22958 (mi_create_breakpoint): Use mi_make_breakpoint
22959 and return the result.
22960 (mi_make_breakpoint): New procedure.
22961 (mi_build_kv_pairs): New procedure.
22962
22963 * gdb.mi/mi-break.exp: Remove unused globals,
22964 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22965 All callers updated.
22966 * gdb.mi/mi-dprintf.exp: Use variable to track command
22967 number.
22968 Update all callers of mi_create_breakpoint and use
22969 mi_make_breakpoint_table.
22970 Remove any unused global variables.
22971 * gdb.mi/mi-nonstop.exp: Likewise.
22972 * gdb.mi/mi-nsintrall.exp: Likewise.
22973 * gdb.mi/mi-nsmoribund.exp: Likewise.
22974 * gdb.mi/mi-nsthrexec.exp: Likewise.
22975 * gdb.mi/mi-reverse.exp: Likewise.
22976 * gdb.mi/mi-simplerun.exp: Likewise.
22977 * gdb.mi/mi-stepn.exp: Likewise.
22978 * gdb.mi/mi-syn-frame.exp: Likewise.
22979 * gdb.mi/mi-until.exp: Likewise.
22980 * gdb.mi/mi-var-cp.exp: Likewise.
22981 * gdb.mi/mi-var-display.exp: Likewise.
22982 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22983 * gdb.mi/mi2-var-child.exp: Likewise.
22984 * gdb.mi/mi-vla-c99.exp: Likewise.
22985 * lib/mi-support.exp: Likewise.
22986
22987 From Ian Lance Taylor <iant@cygnus.com>:
22988 * lib/gdb.exp (parse_args): New procedure.
22989
08351840
PA
229902014-04-23 Pedro Alves <palves@redhat.com>
22991
22992 * gdb.base/break-unload-file.c: New file.
22993 * gdb.base/break-unload-file.exp: New file.
22994 * gdb.base/sym-file-lib.c (baz): New function.
22995 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22996 field.
22997 (load): Store the segment's mapped size.
22998 (unload): New function.
22999 (unload_shlib): New function.
23000 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23001 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23002 set a breakpoint at baz, and call it.
23003 * gdb.base/sym-file.exp: New tests for stale breakpoint
23004 instructions.
23005
076855f9
PA
230062014-04-23 Pedro Alves <palves@redhat.com>
23007
23008 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23009 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23010 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23011 * gdb.base/hbreak-unmapped.c: New file.
23012 * gdb.base/hbreak-unmapped.exp: New file.
23013 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23014 * lib/gdb.exp (gdb_is_target_remote): ... here.
23015
483805cf
PA
230162014-04-22 Pedro Alves <palves@redhat.com>
23017
23018 * gdb.base/consecutive-step-over.c: New file.
23019 * gdb.base/consecutive-step-over.exp: New file.
23020
06d97543
PA
230212014-04-22 Pedro Alves <palves@redhat.com>
23022
23023 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23024 instead of send_gdb/gdb_expect.
23025
b4429ea2
YQ
230262014-04-22 Yao Qi <yao@codesourcery.com>
23027
23028 * lib/trace-support.exp (generate_tracefile): New procedure.
23029 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23030 return 0.
23031 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23032 if generate_tracefile returns 1.
23033
51d48146
PA
230342014-04-18 Tom Tromey <palves@redhat.com>
23035 Pedro alves <tromey@redhat.com>
23036
23037 PR backtrace/15558
23038 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23039 with a backtrace limit.
23040 * gdb.python/py-frame-inline.exp: Test running to an inline
23041 function with a backtrace limit, and printing the newest frame.
23042 * gdb.python/py-frame-inline.c (main): Call f.
23043
bd1dce5f
MS
230442014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23045
23046 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23047
40d1a503
MS
230482014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23049
23050 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23051 Drop prefix from unsupported source file path.
23052
389b98f7
YQ
230532014-04-17 Yao Qi <yao@codesourcery.com>
23054
23055 * lib/gdb.exp (with_target_charset): New proc.
23056 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23057 with_target_charset.
23058 (test_print_strings): Likewise.
23059 (test_repeat_bytes): Likewise.
23060 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23061 for some tests.
23062
22869d73
KS
230632014-04-16 Keith Seitz <keiths@redhat.com>
23064
23065 PR gdb/15827
23066 * gdb.dwarf2/corrupt.c: New file.
23067 * gdb.dwarf2/corrupt.exp: New file.
23068
c4f87ca6
KS
230692014-04-16 Keith Seitz <keiths@redhat.com>
23070
23071 PR c++/16597
23072 * gdb.cp/namelessclass.cc: New file.
23073 * gdb.cp/namelessclass.exp: New file.
23074 * gdb.cp/namelessclass.S: New file.
23075
ab19de87
DE
230762014-04-16 Doug Evans <dje@google.com>
23077
23078 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23079 Add comment.
23080 (gdbserver_default_get_comm_port): New function.
23081 (gdbserver_start): Check if board file provided
23082 "gdbserver,get_comm_port" and use it if so.
23083 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23084 (gdb,socketport): Set to "stdio".
23085 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23086 (stdio_gdbserver_template): Delete.
23087 (${board}_get_remote_address): Update.
23088 (${board}_build_remote_cmd): Delete.
23089 (${board}_get_comm_port): New function.
23090 (${board}_spawn): Update.
23091 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23092 Delete.
23093 (${board}_get_remote_address): Update.
23094 (${board}_get_comm_port): New function.
23095
fc98a809
AB
230962014-04-16 Andrew Burgess <aburgess@broadcom.com>
23097
23098 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23099 appearing in any order.
23100
87fd9e6e
DE
231012014-04-15 Doug Evans <dje@google.com>
23102
23103 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23104 uninitialized value of "description".
23105
099fc3ea
KS
231062014-04-15 Keith Seitz <keiths@redhat.com>
23107
23108 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23109 Remove unused globals.
23110 (test_running_the_program): Likewise.
23111 (test_controlled_execution): Likewise.
23112 (test_controlling_breakpoints): Likewise.
23113 (test_program_termination): Likewise.
23114
5da151d4
KS
231152014-04-15 Keith Seitz <keiths@redhat.com>
23116
23117 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23118 unused globals.
23119 (test_rbreak_creation_and_listing): Likewise.
23120 (test_ignore_count): Likewise.
23121 (test_error): Likewise.
23122
35e5d2f0
PA
231232014-04-15 Pedro Alves <palves@redhat.com>
23124
23125 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23126 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23127 sym-file-loader.c.
23128 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23129 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23130 to sym-file-loader.c.
23131 (struct library): Forward declare.
23132 (load_shlib, lookup_function): Change prototypes.
23133 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23134 (translate_offset): Remove declarations.
23135 (get_text_addr): New declaration.
23136 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23137 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23138 sym-file-loader.h.
23139 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23140 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23141 here from sym-file-loader.h.
23142 (struct library): New structure.
23143 (load_shlib, lookup_function): Change prototypes and adjust to
23144 work with a struct library.
23145 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23146 (translate_offset): Make static.
23147 (get_text_addr): New function.
23148 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23149
eb4c1710
PA
231502014-04-15 Pedro Alves <palves@redhat.com>
23151
23152 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23153
2d1baf52
PA
231542014-04-15 Pedro Alves <palves@redhat.com>
23155
23156 * gdb.base/sym-file-loader.c: Include <limits.h>.
23157 (SELF_LINK): New define.
23158 (get_origin): New function.
23159 (load_shlib): Use it.
23160 * gdb.base/sym-file.exp: Don't early return if the target is
23161 remote. Use runto_main, and issue fail is that fails. Use
23162 gdb_load_shlibs.
23163 (shlib_name): Delete.
23164 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23165
7dd6df01
PA
231662014-04-15 Pedro Alves <palves@redhat.com>
23167
23168 * gdb.base/sym-file.exp: Remove regex characters from test
23169 message. Don't refer to breakpoint numbers in test messages.
23170
b50c8614
KS
231712014-04-14 Keith Seitz <keiths@redhat.com>
23172
23173 PR c++/16253
23174 * gdb.cp/var-tag.cc: New file.
23175 * gdb.cp/var-tag.exp: New file.
23176 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23177 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23178 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23179 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23180
3d567982
TT
231812014-04-14 Tom Tromey <tromey@redhat.com>
23182
23183 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23184 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23185 type.
23186 * gdb.cp/enum-class.exp: New file.
23187 * gdb.cp/enum-class.cc: New file.
23188
0626fc76
TT
231892014-04-14 Tom Tromey <tromey@redhat.com>
23190
23191 * gdb.dwarf2/enum-type.exp: New file.
23192
dca325b3
SA
231932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23194
23195 * gdb.mi/mi-vla-c99.exp: New file.
23196 * gdb.mi/vla.c: New file.
23197
5854b38a
SA
231982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23199
23200 * gdb.base/vla-datatypes.c: New file.
23201 * gdb.base/vla-datatypes.exp: New file.
23202
463bb957
SA
232032014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23204
23205 * gdb.base/vla-ptr.c: New file.
23206 * gdb.base/vla-ptr.exp: New file.
23207
3dd170be
SA
232082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23209
23210 * gdb.dwarf2/count.exp: New file.
23211
5ecaaa66
SA
232122014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23213
23214 * gdb.base/vla-sideeffect.c: New file.
23215 * gdb.base/vla-sideeffect.exp: New file.
23216
41f1ada5
DB
232172014-04-14 David Blaikie <dblaikie@gmail.com>
23218
23219 * gdb.mi/non-stop.c: Add return value for non-void function return
23220 statement.
23221 * gdb.threads/staticthreads.c: Ditto.
23222
0be03e84
DE
232232014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23224 Doug Evans <xdje42@gmail.com>
23225
23226 * gdb.guile/scm-value.c: Improve test case.
23227 * gdb.guile/scm-value.exp: Add new test.
23228
f180a1fb
DB
232292014-04-11 David Blaikie <dblaikie@gmail.com>
23230
23231 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23232 override Clang's default.
23233
6b662e19
JB
232342014-04-11 Joel Brobecker <brobecker@adacore.com>
23235
23236 Revert the following changes (regressions):
23237
23238 * gdb.base/vla-sideeffect.c: New file.
23239 * gdb.base/vla-sideeffect.exp: New file.
23240
23241 * gdb.dwarf2/count.exp: New file.
23242
23243 * gdb.base/vla-multi.c: New file.
23244 * gdb.base/vla-multi.exp: New file.
23245
23246 * gdb.base/vla-ptr.c: New file.
23247 * gdb.base/vla-ptr.exp: New file.
23248
23249 * gdb.base/vla-datatypes.c: New file.
23250 * gdb.base/vla-datatypes.exp: New file.
23251
23252 * gdb.mi/mi-vla-c99.exp: New file.
23253 * gdb.mi/vla.c: New file.
23254
245a5f0b
KS
232552014-04-11 Keith Seitz <keiths@redhat.com>
23256
23257 PR c++/16675
23258 * gdb.cp/cpsizeof.exp: New file.
23259 * gdb.cp/cpsizeof.cc: New file.
23260
58a84dcf
SA
232612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23262
191a8a90
JB
23263 * gdb.mi/mi-vla-c99.exp: New file.
23264 * gdb.mi/vla.c: New file.
58a84dcf 23265
c8655f75
SA
232662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23267
23268 * gdb.base/vla-datatypes.c: New file.
23269 * gdb.base/vla-datatypes.exp: New file.
23270
024e13b4
SA
232712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23272
23273 * gdb.base/vla-ptr.c: New file.
23274 * gdb.base/vla-ptr.exp: New file.
23275
1a237e0e
SA
232762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23277
23278 * gdb.base/vla-multi.c: New file.
23279 * gdb.base/vla-multi.exp: New file.
23280
504f3432
SA
232812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23282
23283 * gdb.dwarf2/count.exp: New file.
23284
3bce8237
SA
232852014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23286
191a8a90
JB
23287 * gdb.base/vla-sideeffect.c: New file.
23288 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23289
322f9c21
YQ
232902014-04-11 Yao Qi <yao@codesourcery.com>
23291
23292 * gdb.base/completion.exp: Check file exists before running tests
23293 on file completion.
23294
d708bcd1
PA
232952014-04-10 Pedro Alves <palves@redhat.com>
23296
23297 * gdb.base/cond-eval-mode.c: New file.
23298 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23299 prepare_for_testing to build the new file. Check result of
23300 runto_main.
23301 (test_break, test_watch): New procedures.
23302 (top level): Use them.
23303
ae1d2761
PM
233042014-04-08 Pierre Muller <muller@sourceware.org>
23305
23306 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23307 Ctrl-V use for mingw hosts.
23308
7af389b8
SC
233092014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23310
23311 * gdb.python/py-value.c: Improve test case.
23312 * gdb.python/py-value.exp: Add new test.
23313
5e703181
DE
233142014-04-07 David Blaikie <dblaikie@gmail.com>
23315
23316 * lib/compiler.c: Identify the clang compiler.
23317 * lib/compiler.cc: Ditto.
23318
9810b410
YQ
233192014-04-03 Yao Qi <yao@codesourcery.com>
23320
23321 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23322
98d1b8dc
AB
233232014-04-01 Anton Blanchard <anton@samba.org>
23324
23325 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23326 messages unique.
23327
3114cea1
AB
233282014-04-01 Anton Blanchard <anton@samba.org>
23329
23330 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23331 prepare_for_testing.
23332
62f7182c
AB
233332014-04-01 Anton Blanchard <anton@samba.org>
23334
23335 * gdb.arch/ppc64-atomic-inst.c: Remove.
23336 * gdb.arch/ppc64-atomic-inst.S: New file.
23337 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23338
770e7fc7
DE
233392014-03-31 Doug Evans <dje@google.com>
23340
23341 * gdb.base/print-symbol-loading-lib.c: New file.
23342 * gdb.base/print-symbol-loading-main.c: New file.
23343 * gdb.base/print-symbol-loading.exp: New file.
23344
46e2bafa
YQ
233452014-03-31 Yao Qi <yao@codesourcery.com>
23346
23347 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23348
8776cfe9
JB
233492014-03-28 Joel Brobecker <brobecker@adacore.com>
23350
23351 * gdb.ada/mi_dyn_arr: New testcase.
23352
5d1ef361
DE
233532014-03-27 Doug Evans <dje@google.com>
23354
23355 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23356
b5bee914
YQ
233572014-03-27 Yao Qi <yao@codesourcery.com>
23358
23359 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23360 if target is nios2-*-*.
23361
0d4d0e77
YQ
233622014-03-26 Yao Qi <yao@codesourcery.com>
23363
23364 * lib/gdb.exp (readline_is_used): New proc.
23365 * gdb.base/completion.exp: Move tests on command complete up.
23366 Skip the rest of tests if readline is not used.
23367 * gdb.ada/complete.exp: Skp the test if readline is not
23368 used.
23369 * gdb.base/filesym.exp: Likewise.
23370 * gdb.base/macscp.exp: Likewise.
23371 * gdb.base/readline-ask.exp: Likewise.
23372 * gdb.base/readline.exp: Likewise.
23373 * gdb.python/py-cmd.exp: Likewise.
23374 * gdb.trace/tfile.exp: Likewise.
23375
29361eee
YQ
233762014-03-26 Yao Qi <yao@codesourcery.com>
23377
23378 * gdb.base/macscp.exp: Fix code format issues.
23379
bc9a5525
UW
233802014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23381
23382 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23383 * gdb.asm/powerpc64le.inc: New file.
23384
d3839ede
PA
233852014-03-25 Pedro Alves <palves@redhat.com>
23386 Doug Evans <dje@google.com>
23387
23388 * gdb.base/source-execution.c: New file.
23389 * gdb.base/source-execution.exp: New file.
23390 * gdb.base/source-execution.gdb: New file.
23391
01672a57
DE
233922014-03-24 Doug Evans <dje@google.com>
23393
23394 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23395 using fission.
23396
88bbeca9
HZ
233972014-03-24 Hui Zhu <hui@codesourcery.com>
23398 Pedro Alves <palves@redhat.com>
23399
23400 PR breakpoints/16101
23401 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23402 test pass/fail messages. Detect missing support for dprintf when
23403 breakpoints are actually inserted.
23404 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23405 breakpoints are actually inserted.
23406 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23407 fails.
23408
d2348791
JK
234092014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23410
23411 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23412
feef67ab
DE
234132014-03-22 Doug Evans <xdje42@gmail.com>
23414
23415 * gdb.python/python.exp (python not supported): Verify multi-line
23416 python command issues an error.
25d743f9 23417 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23418 guile command issues an error.
feef67ab 23419
ecebef6a
MR
234202014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23421
23422 * gdb.threads/thread-specific.exp: Handle the lack of usable
23423 $this_breakpoint and $this_thread.
23424
ccdd1909
HZ
234252014-03-21 Hui Zhu <hui@codesourcery.com>
23426
23427 * gdb.base/attach.exp (do_command_attach_tests): New.
23428
beb460e8
PA
234292014-03-20 Tom Tromey <tromey@redhat.com>
23430 Pedro Alves <palves@redhat.com>
23431
23432 PR cli/15718
23433 * gdb.base/condbreak-call-false.c: New file.
23434 * gdb.base/condbreak-call-false.exp: New file.
23435
40acf43a
PA
234362014-03-20 Pedro Alves <palves@redhat.com>
23437
23438 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23439 Delete.
23440 (block_signals, unblock_signals): Delete.
23441 (child_function_2, main): Remove references to deleted variable
23442 and functions.
23443
9f5e1e02
PA
234442014-03-20 Pedro Alves <palves@redhat.com>
23445
23446 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23447 Use pthread_kill to signal thread 2.
23448 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23449 Adjust to make the test send itself a signal rather than using the
23450 host's "kill" command.
23451
99619bea
PA
234522014-03-20 Pedro Alves <palves@redhat.com>
23453
23454 * gdb.threads/multiple-step-overs.c: New file.
23455 * gdb.threads/multiple-step-overs.exp: New file.
23456 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23457 Adjust expected infrun debug output.
23458
2adfaa28
PA
234592014-03-20 Pedro Alves <palves@redhat.com>
23460
23461 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23462 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23463
31e77af2
PA
234642014-03-20 Pedro Alves <palves@redhat.com>
23465
23466 PR breakpoints/7143
23467 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23468 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23469 of gdb_test_multiple.
23470 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23471 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23472
b9f437de
PA
234732014-03-20 Pedro Alves <palves@redhat.com>
23474
23475 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23476 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23477
05adc73e
PA
234782014-03-19 Pedro Alves <palves@redhat.com>
23479
23480 * gdb.base/async.exp: Remove early return.
23481
6048b950
PA
234822014-03-19 Pedro Alves <palves@redhat.com>
23483
23484 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23485
8bcfb00a
PA
234862014-03-19 Pedro Alves <palves@redhat.com>
23487
23488 * gdb.base/async.exp (test_background): Expect \r\n after
23489 "completed." in the fail pattern.
23490
884e37dc
PA
234912014-03-19 Pedro Alves <palves@redhat.com>
23492
23493 * gdb.base/async.exp (test_background): New procedure.
23494 Use it for all background execution command tests.
23495
148e57e2
PA
234962014-03-19 Pedro Alves <palves@redhat.com>
23497
23498 * gdb.base/async.exp: Use prepare_for_testing.
23499
f48088c7
PA
235002014-03-19 Pedro Alves <palves@redhat.com>
23501
23502 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23503 the same line.
23504
e2f6c966
PA
235052014-03-19 Pedro Alves <palves@redhat.com>
23506
23507 * gdb.base/async.c (main): Add "jump here" and "until here" line
23508 marker comments.
23509 * gdb.base/async.exp (jump_here): New global.
23510 (jump& test): Use it.
23511 (until_here): New global.
23512 (until& test): Use it.
23513
c30568d4
PA
235142014-03-19 Pedro Alves <palves@redhat.com>
23515
23516 * gdb.base/async.exp: Don't frob gdb_protocol.
23517
0172b6a7
DE
235182014-03-18 Doug Evans <xdje42@gmail.com>
23519
23520 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23521 Fix spelling of exec-done-display.
23522
06c868a8
JK
235232014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23524
23525 PR gdb/15358
23526 * gdb.base/gdb-sigterm.c: New file.
23527 * gdb.base/gdb-sigterm.exp: New file.
23528
0c7e1a46
PA
235292014-03-18 Pedro Alves <palves@redhat.com>
23530
23531 PR gdb/13860
23532 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23533 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23534 solib-event.
23535
f7c77d93
JB
235362014-03-17 Joel Brobecker <brobecker@adacore.com>
23537
23538 * gdb.ada/pckd_arr_ren: New testcase.
23539
5a1e8c7a
DE
235402014-03-13 Doug Evans <xdje42@gmail.com>
23541
23542 PR guile/16612
23543 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23544 collect after discarding symbols.
23545
350e1a76
DE
235462014-03-13 Ludovic Courtès <ludo@gnu.org>
23547 Doug Evans <xdje42@gmail.com>
23548
23549 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23550 to history survives a gc.
23551
a69900ae
PA
235522014-03-13 Pedro Alves <palves@redhat.com>
23553
23554 * gdb.base/default.exp: Don't test "target procfs".
23555
5db9f0bd
PA
235562014-03-13 Pedro Alves <palves@redhat.com>
23557
23558 * gdb.base/default.exp: Update "target child" and "target procfs"
23559 tests to not expect "Unix".
23560
b3ccfe11
TT
235612014-03-12 Tom Tromey <tromey@redhat.com>
23562
23563 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23564 New procs. Add target-async tests.
23565 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23566 Add target-async tests.
23567
646f4417
AA
235682014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23569
23570 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23571 'func_start' and 'func_end' for the beginning and end of the
23572 function code, respectively.
23573 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23574 'func_end' instead of 'func' and 'main'.
23575
288c211f
AA
235762014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23577
23578 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23579 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23580 generate the debug info assembler source.
23581
e0c0f156
AA
235822014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23583
23584 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23585 * gdb.dwarf2/arr-subrange.exp: Likewise.
23586 * gdb.dwarf2/dwz.exp: Likewise.
23587 * gdb.dwarf2/method-ptr.exp: Likewise.
23588 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23589 * gdb.dwarf2/subrange.exp: Likewise.
23590 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23591 * gdb.dwarf2/implptrpiece.exp: Likewise.
23592 * gdb.dwarf2/nostaticblock.exp: Likewise.
23593
0e5c4555
AA
235942014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23595
23596 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23597 directory to absolute path name arguments.
23598
5ec18f2b
JG
235992014-03-10 Joel Brobecker <brobecker@adacore.com>
23600
23601 * gdb.ada/tagged_access: New testcase.
23602
847fc4f2
MM
236032014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23604
23605 * gdb.btrace/data.exp: Update expected output.
23606
cc3da688
YQ
236072014-03-06 Yao Qi <yao@codesourcery.com>
23608
23609 * gdb.trace/pr16508.exp: New file.
23610
0f26cec1
PA
236112014-03-05 Pedro Alves <palves@redhat.com>
23612
23613 PR gdb/16575
23614 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23615 procedure.
23616 (top level): Adjust to use it. Add tests that exercise breakpoint
23617 interaction with the code-cache.
23618
7a5a839f
LC
236192014-02-26 Ludovic Courtès <ludo@gnu.org>
23620
23621 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23622 test for 'history-append!'.
23623
31aa7e4e
JB
236242014-02-26 Joel Brobecker <brobecker@adacore.com>
23625
23626 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23627 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23628 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23629 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23630 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23631 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23632
1b588015
JB
236332014-02-26 Joel Brobecker <brobecker@adacore.com>
23634
23635 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23636 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23637 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23638
55426c9d
JB
236392014-02-26 Joel Brobecker <brobecker@adacore.com>
23640
23641 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23642
dc53a7ad
JB
236432014-02-26 Joel Brobecker <brobecker@adacore.com>
23644
23645 * gdb.dwarf2/arr-stride.c: New file.
23646 * gdb.dwarf2/arr-stride.exp: New file.
23647
12ab52e9
PA
236482014-02-26 Pedro Alves <palves@redhat.com>
23649
23650 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23651 that won't ever trigger. Make sure that GDB reports the correct
23652 breakpoint that caused the stop.
23653
849c862e
JK
236542014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23655
23656 PR gdb/16626
23657 * gdb.base/auto-load-script: New file.
23658 * gdb.base/auto-load.c: New file.
23659 * gdb.base/auto-load.exp: New file.
23660
71b7d793
JK
23661 PR gdb/16626
23662 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23663
e2f0d509
JK
236642014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23665
23666 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23667 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23668
50cc37c8
DE
236692014-02-24 Doug Evans <dje@google.com>
23670
23671 * lib/gdb.exp (run_on_host): Log error output if program fails.
23672
ea4758f2
PA
236732014-02-21 Pedro Alves <palves@redhat.com>
23674
23675 * gdb.threads/step-after-sr-lock.c: Rename to ...
23676 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23677 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23678 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23679 ... this.
23680
d7b30f67
SDJ
236812014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23682
23683 PR tdep/16397
23684 * gdb.arch/amd64-stap-special-operands.exp: New file.
23685 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23686 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23687 * gdb.arch/amd64-stap-triplet.S: Likewise.
23688 * gdb.arch/amd64-stap-triplet.c: Likewise.
23689
83deb43f
JB
236902014-02-20 Joel Brobecker <brobecker@adacore.com>
23691
23692 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23693 in .section pseudo-op.
23694
adde2bff
DE
236952014-02-20 lin zuojian <manjian2006@gmail.com>
23696 Joel Brobecker <brobecker@adacore.com>
23697 Doug Evans <xdje42@gmail.com>
23698
23699 PR symtab/16581
23700 * gdb.dwarf2/dw2-icycle.S: New file.
23701 * gdb.dwarf2/dw2-icycle.c: New file.
23702 * gdb.dwarf2/dw2-icycle.exp: New file.
23703
f7bd0f78
SC
237042014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23705
23706 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23707 operations on gdb.Value objects.
23708 * gdb.python/py-value-cc.exp: Add new test to test operations on
23709 gdb.Value objects.
23710
c17ef0d5
DE
237112014-02-18 Doug Evans <dje@google.com>
23712
23713 * Makefile.in (TESTS): New variable.
23714 (expanded_tests, expanded_tests_or_none): New variables
23715 (check-single): Pass $(expanded_tests_or_none) to runtest.
23716 (check-parallel): Only run tests in $(TESTS) if non-empty.
23717 (check/no-matching-tests-found): New rule.
23718 * README: Document TESTS makefile variable.
23719
5dd3176f
DE
237202014-02-18 Doug Evans <dje@google.com>
23721
23722 * Makefile.in (check-parallel): rm -rf outputs temp.
23723
0b10be4f
JK
237242014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23725
23726 Fix "ERROR: no fileid for" in the testsuite.
23727 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23728
85f224e7
DE
237292014-02-12 Doug Evans <dje@google.com>
23730
23731 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23732 (MISCELLANEOUS): New variable.
23733 (clean): rm -rf $(MISCELLANEOUS).
23734 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23735 dwp live in the same directory as symlinks, with each symlink pointed
23736 to a differently named file in a different directory.
23737
149b30ff
DE
237382014-02-11 Doug Evans <dje@google.com>
23739
23740 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23741 of Tcl file commands.
23742
1dfdac32
MK
237432014-02-10 Mark Kettenis <kettenis@gnu.org>
23744
23745 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23746 "kill -SIGUSR1 -1".
23747
aa4fb036
JB
237482014-02-10 Joel Brobecker <brobecker@adacore.com>
23749
23750 * gdb.ada/tick_length_array_enum_idx: New testcase.
23751
ed3ef339
DE
237522014-02-10 Doug Evans <xdje42@gmail.com>
23753
23754 * configure.ac (AC_OUTPUT): Add gdb.guile.
23755 * configure: Regenerate.
23756 * lib/gdb-guile.exp: New file.
23757 * lib/gdb.exp (get_target_charset): New function.
23758 * gdb.base/help.exp: Update expected output from "apropos apropos".
23759 * gdb.guile/Makefile.in: New file.
23760 * gdb.guile/guile.exp: New file.
23761 * gdb.guile/scm-arch.c: New file.
23762 * gdb.guile/scm-arch.exp: New file.
23763 * gdb.guile/scm-block.c: New file.
23764 * gdb.guile/scm-block.exp: New file.
23765 * gdb.guile/scm-breakpoint.c: New file.
23766 * gdb.guile/scm-breakpoint.exp: New file.
23767 * gdb.guile/scm-disasm.c: New file.
23768 * gdb.guile/scm-disasm.exp: New file.
23769 * gdb.guile/scm-equal.c: New file.
23770 * gdb.guile/scm-equal.exp: New file.
23771 * gdb.guile/scm-error.exp: New file.
23772 * gdb.guile/scm-error.scm: New file.
23773 * gdb.guile/scm-frame-args.c: New file.
23774 * gdb.guile/scm-frame-args.exp: New file.
23775 * gdb.guile/scm-frame-args.scm: New file.
23776 * gdb.guile/scm-frame-inline.c: New file.
23777 * gdb.guile/scm-frame-inline.exp: New file.
23778 * gdb.guile/scm-frame.c: New file.
23779 * gdb.guile/scm-frame.exp: New file.
23780 * gdb.guile/scm-generics.exp: New file.
23781 * gdb.guile/scm-gsmob.exp: New file.
23782 * gdb.guile/scm-iterator.c: New file.
23783 * gdb.guile/scm-iterator.exp: New file.
23784 * gdb.guile/scm-math.c: New file.
23785 * gdb.guile/scm-math.exp: New file.
23786 * gdb.guile/scm-objfile-script-gdb.in: New file.
23787 * gdb.guile/scm-objfile-script.c: New file.
23788 * gdb.guile/scm-objfile-script.exp: New file.
23789 * gdb.guile/scm-objfile.c: New file.
23790 * gdb.guile/scm-objfile.exp: New file.
23791 * gdb.guile/scm-ports.exp: New file.
23792 * gdb.guile/scm-pretty-print.c: New file.
23793 * gdb.guile/scm-pretty-print.exp: New file.
23794 * gdb.guile/scm-pretty-print.scm: New file.
23795 * gdb.guile/scm-section-script.c: New file.
23796 * gdb.guile/scm-section-script.exp: New file.
23797 * gdb.guile/scm-section-script.scm: New file.
23798 * gdb.guile/scm-symbol.c: New file.
23799 * gdb.guile/scm-symbol.exp: New file.
23800 * gdb.guile/scm-symtab-2.c: New file.
23801 * gdb.guile/scm-symtab.c: New file.
23802 * gdb.guile/scm-symtab.exp: New file.
23803 * gdb.guile/scm-type.c: New file.
23804 * gdb.guile/scm-type.exp: New file.
23805 * gdb.guile/scm-value-cc.cc: New file.
23806 * gdb.guile/scm-value-cc.exp: New file.
23807 * gdb.guile/scm-value.c: New file.
23808 * gdb.guile/scm-value.exp: New file.
23809 * gdb.guile/source2.scm: New file.
23810 * gdb.guile/types-module.cc: New file.
23811 * gdb.guile/types-module.exp: New file.
23812
7026a7c1
YQ
238132014-02-10 Yao Qi <yao@codesourcery.com>
23814
23815 PR testsuite/16543
23816 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23817 * configure: Regenerated.
23818 * Makefile.in: New file.
23819
6c466447
AS
238202014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23821
23822 * gdb.python/py-framefilter.exp: Fix typo.
23823
6e854735
YQ
238242014-02-08 Yao Qi <yao@codesourcery.com>
23825
23826 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23827 that no =breakpoint-modified is emitted when breakpoints are
23828 modified through MI commands.
23829
d137e6dc
PA
238302014-02-07 Pedro Alves <pedro@codesourcery.com>
23831 Pedro Alves <palves@redhat.com>
23832
23833 * gdb.threads/step-after-sr-lock.c: New file.
23834 * gdb.threads/step-after-sr-lock.exp: New file.
23835
b5ee5a50
PA
238362014-02-07 Pedro Alves <palves@redhat.com>
23837
23838 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23839
3c77faf3
JK
238402014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23841
23842 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23843 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23844
6dddc817
DE
238452014-02-06 Doug Evans <xdje42@gmail.com>
23846
23847 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23848 output.
23849
23850 * gdb.gdb/python-interrupts.exp: New file.
23851
de7b2893
YQ
238522014-02-05 Yao Qi <yao@codesourcery.com>
23853
23854 * gdb.trace/report.exp (use_collected_data): Test the output
23855 of "info threads" and "info inferiors".
23856
66d032ac
YQ
238572014-02-05 Yao Qi <yao@codesourcery.com>
23858
23859 Revert this patch:
23860
23861 2013-05-24 Yao Qi <yao@codesourcery.com>
23862
23863 * gdb.trace/tfile.exp: Test inferior and thread.
23864
591a12a1
UW
238652014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23866
23867 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23868 on a function.
23869 * gdb.base/step-bt.c: Call hello via function pointer to make
23870 sure its first instruction is executed on powerpc64le-linux.
23871
0ff3e01f
UW
238722014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23873
23874 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23875
084ee545
UW
238762014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23877
23878 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23879 of the test patterns for use on little-endian systems.
23880
6ed14ff3
UW
238812014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23882
23883 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23884 (decimal_vector): Fix for little-endian.
23885
401e27fd
JM
238862014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23887
23888 * gdb.arch/sparc-sysstep.exp: New file.
23889 * gdb.arch/sparc-sysstep.c: Likewise.
23890
23891 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23892
8b924729
EBM
238932014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23894
23895 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23896
fb151210
JB
238972014-01-23 Tom Tromey <tromey@redhat.com>
23898
23899 * gdb.ada/array_char_idx: New testcase.
23900
0740f8d8
TT
239012014-01-23 Tom Tromey <tromey@redhat.com>
23902
23903 PR python/16487:
23904 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23905 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23906 classes.
23907
21909fa1
TT
239082014-01-23 Tom Tromey <tromey@redhat.com>
23909
23910 PR python/16491:
23911 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23912 string from an inferior frame.
23913 * gdb.python/py-framefilter-mi.exp: Update.
23914
87ce2a04
DE
239152014-01-22 Doug Evans <dje@google.com>
23916
23917 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23918
237b092b
AA
239192014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23920
23921 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23922
d674a709
AA
239232014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23924
23925 * gdb.trace/entry-values.exp: Remove excess space character from
23926 regex patterns. Handle s390 call instruction.
23927
20fa3390
AA
239282014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23929
23930 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23931 define "*_start" label. Make "name" static.
23932 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23933 ${name} by references to ${name}_start.
23934
78466714
AA
239352014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23936
23937 * gdb.base/info-macros.exp: Remove "debug" from the compile
23938 options.
23939
ec9f644a
IB
239402014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23941
23942 * gdb.dlang/demangle.exp: New file.
23943
94b1b47e
IB
239442014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23945
23946 * gdb.dlang/primitive-types.exp: New file.
23947
7f420862
IB
239482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23949
23950 * configure.ac: Create gdb.dlang/Makefile.
23951 * configure: Regenerate.
23952 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23953 * gdb.dlang/Makefile.in: New file.
23954 * lib/d-support.exp: New file.
23955 * lib/gdb.exp (skip_d_tests): New proc.
23956
52834460
MM
239572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23958
23959 * gdb.btrace/delta.exp: Check reverse stepi.
23960 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23961 * gdb.btrace/finish.exp: New.
23962 * gdb.btrace/next.exp: New.
23963 * gdb.btrace/nexti.exp: New.
23964 * gdb.btrace/record_goto.c: Add comments.
23965 * gdb.btrace/step.exp: New.
23966 * gdb.btrace/stepi.exp: New.
23967 * gdb.btrace/multi-thread-step.c: New.
23968 * gdb.btrace/multi-thread-step.exp: New.
23969 * gdb.btrace/rn-dl-bind.c: New.
23970 * gdb.btrace/rn-dl-bind.exp: New.
23971 * gdb.btrace/data.c: New.
23972 * gdb.btrace/data.exp: New.
23973 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23974
6e07b1d2
MM
239752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23976
23977 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23978 * gdb.btrace/exception.exp: Update.
23979 * gdb.btrace/instruction_history.exp: Update.
23980 * gdb.btrace/record_goto.exp: Update.
23981 * gdb.btrace/tailcall.exp: Update.
23982 * gdb.btrace/unknown_functions.exp: Update.
23983 * gdb.btrace/delta.exp: New.
23984
0b722aec
MM
239852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23986
23987 * gdb.btrace/record_goto.exp: Add backtrace test.
23988 * gdb.btrace/tailcall.exp: Add backtrace test.
23989
066ce621
MM
239902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23991
23992 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23993 * gdb.btrace/record_goto.c: New.
23994 * gdb.btrace/record_goto.exp: New.
23995 * gdb.btrace/x86-record_goto.S: New.
23996
0688d04e
MM
239972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23998
23999 * gdb.btrace/function_call_history.exp: Update tests.
24000 * gdb.btrace/instruction_history.exp: Update tests.
24001
8710b709
MM
240022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24003
24004 * gdb.btrace/function_call_history.exp: Fix expected field
24005 order for "record function-call-history".
24006 Add new tests for "record function-call-history /c".
24007 * gdb.btrace/exception.cc: New.
24008 * gdb.btrace/exception.exp: New.
24009 * gdb.btrace/tailcall.exp: New.
24010 * gdb.btrace/x86-tailcall.S: New.
24011 * gdb.btrace/x86-tailcall.c: New.
24012 * gdb.btrace/unknown_functions.c: New.
24013 * gdb.btrace/unknown_functions.exp: New.
24014 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24015
5de9129b
MM
240162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24017
24018 * gdb.btrace/instruction_history.exp: Update.
24019 * gdb.btrace/function_call_history.exp: Update.
24020
23a7fe75
MM
240212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24022
24023 * gdb.btrace/function_call_history.exp: Fix expected function
24024 trace.
24025 * gdb.btrace/instruction_history.exp: Initialize traced.
24026 Remove traced_functions.
24027
724c7dd8
MM
240282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24029
24030 * gdb.btrace/function_call_history.exp: Update
24031 * gdb.btrace/instruction_history.exp: Update.
24032
6d78d93b
MM
240332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24034
24035 * gdb.btrace/enable.exp: Update expected text.
24036
93a360cc
OJ
240372014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24038
24039 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24040 bytes.
24041
3772b53f
MR
240422014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24043
24044 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24045
596662fa
OJ
240462014-01-15 Omair Javaid <omair.javaid@linaro.org>
24047
24048 * lib/gdb.exp (supports_process_record): Return true for
24049 arm*-linux*. (supports_reverse): Likewise.
24050
b5b08fb4
SC
240512014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24052
24053 PR python/15464
24054 PR python/16113
24055 * gdb.python/py-type.c: Enhance test case.
24056 * gdb.python/py-value-cc.cc: Likewise
24057 * gdb.python/py-type.exp: Add new tests.
24058 * gdb.python/py-value-cc.exp: Likewise
24059
52d7fb13
AA
240602014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24061 Pedro Alves <palves@redhat.com>
24062
24063 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24064 Make "name" extern.
24065 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24066 references to ${name}_start by references to ${name}.
24067
a2cd8cfe
JB
240682014-01-10 Joel Brobecker <brobecker@adacore.com>
24069
24070 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24071
4e23fced
JB
240722014-01-10 Joel Brobecker <brobecker@adacore.com>
24073
24074 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24075
c6a9e42c
PA
240762014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24077 Pedro Alves <palves@redhat.com>
24078
24079 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 24080 mi_gdb_target_load.
c6a9e42c 24081
b7ea362b
PA
240822014-01-08 Pedro Alves <palves@redhat.com>
24083
24084 * gdb.threads/reconnect-signal.c: New file.
24085 * gdb.threads/reconnect-signal.exp: New file.
24086
5e3f4fab
EBM
240872014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24088
24089 * gdb.base/source-dir.exp: New file.
24090
79301218
JB
240912014-01-07 Joel Brobecker <brobecker@adacore.com>
24092
24093 * gdb.ada/mi_interface: New testcase.
24094
8e355c5d
JB
240952014-01-07 Joel Brobecker <brobecker@adacore.com>
24096
24097 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24098 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24099 gdb.ada/pp-rec-component/pck.ads: New files.
24100
c0d48811
JB
241012014-01-07 Joel Brobecker <brobecker@adacore.com>
24102
24103 * gdb.python/py-pp-integral.c: New file.
24104 * gdb.python/py-pp-integral.py: New file.
24105 * gdb.python/py-pp-integral.exp: New file.
24106
17b609c3 24107For older changes see ChangeLog-1993-2013.
c906108c 24108\f
8d8cb839
EZ
24109;; Local Variables:
24110;; mode: change-log
24111;; left-margin: 8
24112;; fill-column: 74
24113;; version-control: never
24114;; End:
902f2ccb 24115
3666a048 24116 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
24117 Copying and distribution of this file, with or without modification,
24118 are permitted provided the copyright notice and this notice are preserved.
This page took 4.001136 seconds and 4 git commands to generate.