]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR27844, Unstable symbol name in objdump outputs
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
db1f6cd6
LS
12021-05-10 Lancelot Six <lsix@lancelotsix.com>
2
3 PR gdb/27614
4 * gdb.dwarf2/gdb-add-index-symlink.exp: New test.
5
9344937b
AB
62021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * gdb.guile/guile.exp: Don't use the source directory as a
9 temporary HOME directory.
10
0709cf68
SM
112021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
12
13 * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
14 parameters.
15
1845e254
AB
162021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
17
18 * gdb.guile/guile.exp: Add an extra test.
19
a3237c7c
AB
202021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
21
22 * gdb.base/ptype-offsets.exp: Replace use of send_gdb with
23 gdb_test_no_output.
24
13123da8
SM
252021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
26
27 * Re-format all Python files using black.
28 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust.
29
0618ecf6
AB
302021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
31
32 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the
33 watchpoint object before and after registering it with GDB.
34
a7ed4ea6
AB
352021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
36
37 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to
38 'proc_with_prefix', remove use of 'with_test_prefix', and
39 reindent.
40 (test_bkpt_deletion): Likewise.
41 (test_bkpt_cond_and_cmds): Likewise.
42 (test_bkpt_invisible): Likewise.
43 (test_watchpoints): Likewise.
44 (test_bkpt_internal): Likewise.
45 (test_bkpt_eval_funcs): Likewise.
46 (test_bkpt_registration): Likewise.
47 (test_bkpt_address): Convert to 'proc_with_prefix'.
48 (test_bkpt_probe): Likewise.
49
7ebbaa1c
AB
502021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
51
52 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test
53 names to avoid duplicates.
54 (test_bkpt_cond_and_cmds): Likewise.
55 (test_bkpt_eval_funcs): Likewise.
56
79aabb73
TBA
572021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
58
59 * gdb.mi/mi-break.exp (test_forced_conditions): Add a test
60 for the -break-condition command's "--force" flag.
61
10e578d7
TBA
622021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
63
64 * gdb.mi/mi-break.exp (test_forced_conditions): New proc that
65 is called by the test.
66
2f000c80
TV
672021-05-05 Tom de Vries <tdevries@suse.de>
68
69 * gdb.threads/detach-step-over.exp: Do exp_continue when encountering
70 "Reading symbols" or "Expanding full symbols" lines. Using timeout
71 factor of 2 for attach.
72
09f83f79
TV
732021-05-05 Tom de Vries <tdevries@suse.de>
74
75 * gdb.threads/fork-plus-threads.exp: Handle "New LWP <n>" and
76 "LWP <n> exited" messages.
77
fa94b3a7
SM
782021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
79
80 * gdb.python/py-type.exp (test_fields): Test calling fields on
81 an int type.
82
858c8f2c
SM
832021-05-04 Simon Marchi <simon.marchi@efficios.com>
84
85 * gdb.python/flexible-array-member.exp: Adjust expected range
86 value for member declared with 0 size. Test accessing range
87 tuple through range type.
88
d389a1a7
AB
892021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 PR testsuite/27788
92 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
93 expected results when environment variable PYTHONDONTWRITEBYTECODE
94 is set.
95
2869ac4b
TT
962021-04-30 Tom Tromey <tromey@adacore.com>
97
98 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
99 (Confused_Array): New types.
100 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
101 * gdb.ada/enum_idx_packed.exp: Add new tests.
102
5536f0cc
TV
1032021-04-30 Tom de Vries <tdevries@suse.de>
104
105 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
106 existing timeout factors.
107
7f7f284d
TV
1082021-04-30 Tom de Vries <tdevries@suse.de>
109
110 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
111
3f334074
TV
1122021-04-29 Tom de Vries <tdevries@suse.de>
113
114 PR testsuite/27786
115 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
116 remotetimeout to 4.
117
db2534b7
TT
1182021-04-28 Tom Tromey <tromey@adacore.com>
119
120 * gdb.ada/null_overload.exp: New file.
121 * gdb.ada/null_overload/foo.adb: New file.
122
edeaceda
AB
1232021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
124
125 * gdb.python/py-startup-opt.exp: New file.
126
b9f90c72
LM
1272021-04-27 Luis Machado <luis.machado@linaro.org>
128
129 * gdb.base/maint.exp: Drop a pattern that is not needed.
130 * lib/gdb.exp (readnow): Match line-by-line.
131
4b62a30d
LM
1322021-04-27 Luis Machado <luis.machado@linaro.org>
133
134 * gdb.xml/tdesc-reload.exp: Pass -lbl.
135
2c473def
MW
1362021-04-27 Michael Weghorn <m.weghorn@posteo.de>
137 Simon Marchi <simon.marchi@polymtl.ca>
138
139 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
140 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
141 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
142 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
143 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
144 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
145
e8b6c1da
TT
1462021-04-26 Tom Tromey <tromey@adacore.com>
147
148 PR gdb/27743:
149 * gdb.dwarf2/imported-unit-bp.exp: New file.
150 * gdb.dwarf2/imported-unit-bp-main.c: New file.
151 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
152
bea3329b
SM
1532021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
154
155 PR gdb/27773
156 * gdb.base/dump.exp: Test dump to non-existent dir.
157
21f91785
LM
1582021-04-26 Luis Machado <luis.machado@linaro.org>
159
160 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
161 comparison.
162
fbb46296
LS
1632021-04-25 Lancelot Six <lsix@lancelotsix.com>
164
165 PR gdb/22640
166 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
167 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
168 changes the default behavior of 'ptype/o'. Update to take into
169 account new horizontal layout.
170 * gdb.rust/simple.exp: Update ptype test to check new horizontal
171 layout.
172 * gdb.rust/union.exp: Same.
173
9fc29955
AB
1742021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
175
176 * gdb.base/info_sources.exp: Add new tests.
177
432ce4cf
TT
1782021-04-22 Tom Tromey <tom@tromey.com>
179
180 * gdb.base/ptype-offsets.cc (struct empty_member): New.
181 (main): Use empty_member.
182 * gdb.base/ptype-offsets.exp: Add new test.
183
a87caa6d
SM
1842021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
185
186 * gdb.python/flexible-array-member.exp: Add check for Python
187 support.
188
e25d6d93
SM
1892021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
190
191 PR gdb/27757
192 * gdb.python/flexible-array-member.c: New test.
193 * gdb.python/flexible-array-member.exp: New test.
194 * gdb.guile/scm-type.exp (test_range): Add test for flexible
195 array member.
196 * gdb.guile/scm-type.c (struct flex_member): New.
197 (main): Use it.
198
22f80c0f
TT
1992021-04-22 Tom Tromey <tom@tromey.com>
200
201 * gdb.rust/modules.exp: Add checks for syntax errors.
202 * gdb.rust/expr.exp: Add checks for syntax errors.
203 * gdb.rust/simple.exp: Add checks for syntax errors.
204
6d5702a5
CL
2052021-04-21 Carl Love <cel@us.ibm.com>
206
207 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
208 Update expected string for gdb_test "bt".
209
210 * lib/valgrind.exp: Add set remotetimeout 3.
211 Increase vgdb wait from 1 to 2.
212 Add max-invoke-ms option to vgdb command line.
213
10a636cc
TBA
2142021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
215
216 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
217 conditions.
218
98e713ab
SM
2192021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
220 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
221
222 * gdb.mi/mi-break.exp: Fix the duplicate test names.
223
525174e8
FW
2242021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
225
226 * gdb.base/address_space_qualifier.exp: New file.
227
392e0bcc
TT
2282021-04-19 Tom Tromey <tromey@adacore.com>
229
230 PR gdb/27742:
231 * gdb.opt/inline-locals.exp: Update kfail patterns.
232
da314dd3
TT
2332021-04-17 Tom Tromey <tom@tromey.com>
234
235 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
236
3cbc7ac3
TT
2372021-04-16 Tom Tromey <tom@tromey.com>
238
239 * gdb.rust/simple.exp: Change error text.
240 * gdb.rust/expr.exp: Change error text.
241
458620aa
TT
2422021-04-16 Tom Tromey <tom@tromey.com>
243
244 * gdb.rust/simple.exp: Add parens to 'as' test.
245
321d0cd7
SM
2462021-04-16 Simon Marchi <simon.marchi@efficios.com>
247
248 * boards/simavr.exp: Set debug_flags.
249
1b6b755e
LM
2502021-04-16 Luis Machado <luis.machado@linaro.org>
251
252 * gdb.dwarf2/dw2-bfloat16.exp: New file.
253
fd5c30cd
AB
2542021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
255
256 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
257 including a path in the test name.
258
41f14dc8
SM
2592021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
260
261 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
262
a15a276b
TT
2632021-04-15 Tom Tromey <tromey@adacore.com>
264
265 * gdb.dwarf2/arr-stride.exp: Add test.
266
5809fbf2
TT
2672021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
268
269 * gdb.base/startup-file.exp: Add more tests.
270
92e4e97a
AB
2712021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
272
273 PR cli/25956
274 * gdb.base/early-init-file.c: New file.
275 * gdb.base/early-init-file.exp: New file.
276 * lib/gdb-utils.exp (style): Handle style 'none'.
277
fcc99c42
TBA
2782021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
279
280 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
281 @DW_INL_declared_inlined for the inline attribute.
282
34dc0f95
TBA
2832021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
284
285 * gdb.opt/inline-locals.c (scoped): New function.
286 (main): Call 'scoped'.
287 * gdb.opt/inline-locals.exp: Update with "info locals" tests
288 for scoped variables.
289 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
290 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
291
ac4d323e
TBA
2922021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
293
294 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
295
6b142048
WS
2962021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
297
298 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
299
82d9b280 3002021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
c8a37944
WS
301
302 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
303 non-relative plxv instructions.
304 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
305
3062021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
82d9b280 307
e3d528d7
WS
308 PR gdb/27525
309 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
310 exercise single-stepping over subpcis,lnia,addpcis instructions
311 with displacement.
312 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
313 of addpcis/lnia/subpcis instructions.
314 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
315 exercise single-stepping over lnia instructions with displacement.
316 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
317 lnia instructions.
318
3192021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
320
82d9b280
WS
321 * gdb.arch/powerpc-power10.s: New test for instructions.
322 * gdb.arch/powerpc-power10.exp: Harness to run the test.
323
6ba4cb84
CL
3242021-4-12 Carl Love <cel@us.ibm.com>
325
326 * gdb.arch/vsx-vsr-float128.c: New test file.
327 * gdb.arch/vsx-vsr-float128.exp: New expect file.
328
9d8f3022
MM
3292021-04-12 Markus Metzger <markus.t.metzger@intel.com>
330
331 * gdb.btrace/reconnect.exp: Relax expected stepi output.
332
dc2b480f
WP
3332021-04-07 Weimin Pan <weimin.pan@oracle.com>
334
335 * gdb.base/ctf-ptype.c: Add struct link containing a forward
336 reference type.
337 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
338
0a703a4c
AB
3392021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
340
341 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
342 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
343
30ab3586
AB
3442021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
345
346 * gdb.cp/rvalue-ref-params.cc (f3): New function.
347 (f4): New function.
348 (global_int): New global variable.
349 (global_float): Likeiwse.
350 (main): Call both new functions.
351 * gdb.cp/rvalue-ref-params.exp: Add new tests.
352
56d467f4
CT
3532021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
354
355 * gdb.dwarf2/fission-relative-dwo.c: New file.
356 * gdb.dwarf2/fission-relative-dwo.exp: New file.
357
61dee722
AB
3582021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
359
360 * gdb.dwarf2/fission-absolute-dwo.c: New file.
361 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
362 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
363 instead of build_executable_from_fission_assembler.
364 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
365 * gdb.dwarf2/fission-loclists.exp: Likewise.
366
367 * gdb.dwarf2/fission-multi-cu.S: Delete file.
368 * gdb.dwarf2/fission-multi-cu.c: New file based on old
369 fission-multi-cu1.c and fission-multi-cu2.c files.
370 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
371 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
372 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
373 * gdb.dwarf2/fission-reread.exp: Likewise.
374 * lib/dwarf.exp (extract_dwo_information): New proc.
375 (strip_dwo_information): New proc.
376 (build_executable_and_dwo_files): New proc.
377 (build_executable_from_fission_assembler): Delete.
378 (Dwarf::_debug_addr_index): New variable.
379 (Dwarf::_cu_is_fission): New variable.
380 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
381 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
382 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
383 if this is a fission CU.
384 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
385 (Dwarf::debug_addr_label): New proc.
386 (Dwarf::cu): Initialise _cu_is_fission.
387 (Dwarf::tu): Likewise.
388 (Dwarf::assemble): Initialise _debug_addr_index.
389
1fd999d9
AB
3902021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
391
392 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
393
79c02443
AB
3942021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
395
396 * gdb.python/py-parameter.exp: Add test for reading data-directory
397 using gdb.parameter API.
398
340d00fb
TV
3992021-04-06 Tom de Vries <tdevries@suse.de>
400
401 PR breakpoints/25884
402 * gdb.opt/inline-cmds.exp: Remove kfail.
403
043bcbaf
TV
4042021-04-06 Tom de Vries <tdevries@suse.de>
405
406 PR testsuite/27691
407 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
408 file "".
409
ac628a06
EB
4102021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
411
412 * lib/pdtrace.in: Fix obvious typo.
413
3f49d080
TT
4142021-03-31 Tom Tromey <tromey@adacore.com>
415
416 * lib/dwarf.exp (Dwarf::_get_args): New proc.
417 (Dwarf::_location): Use it.
418
cfcbd506
TV
4192021-03-31 Tom de Vries <tdevries@suse.de>
420
421 PR testsuite/27667
422 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
423
8a91fbdf
SM
4242021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
425
426 PR gdb/27541
427 * gdb.base/index-cache-load-twice.exp: Remove.
428 * gdb.base/index-cache-load-twice.c: Remove.
429 * gdb.dwarf2/per-bfd-sharing.exp: New.
430 * gdb.dwarf2/per-bfd-sharing.c: New.
431
b953e703
TV
4322021-03-30 Tom de Vries <tdevries@suse.de>
433
434 PR testsuite/27604
435 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
436
aa33ea68
TBA
4372021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
438
439 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
440 the infinite loop to avoid a Clang bug.
441
99066782
WS
4422021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
443
444 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
445 names for uniqueness.
446 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
447 uniqueness.
448
b1f3973b
AB
4492021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
450
451 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
452 member.
453 (make_container): Initialise is_array_p.
454 * gdb.python/py-prettyprint.exp: Add new tests.
455 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
456 Check is_array_p and possibly return 'array'.
457
3c2dcf90
AB
4582021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
459
460 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
461 * gdb.cp/casts.exp: Give tests unique names.
462 * gdb.cp/filename.exp: Likewise.
463 * gdb.cp/gdb2495.exp: Likewise.
464 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
465 * gdb.cp/misc.exp: Rename test to make it unique.
466 * gdb.cp/nsnested.exp: Give tests unique names.
467 * gdb.cp/ovldbreak.exp: Likewise.
468 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
469 being tested. This also removes the duplicate test name.
470 * gdb.cp/ref-types.exp: Likewise.
471 * gdb.cp/temargs.exp: Likewise.
472
6b78370d
AB
4732021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
474
475 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
476 square brackets in test.
477
baecbb3d
AB
4782021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
479
480 * gdb.cp/maint.exp (test_first_component): Run more tests with a
481 variable number of spaces, this removes the duplicate testing of
482 'operator ->' which existed before.
483
6e892297
AB
4842021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
485
486 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
487 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
488 duplicates, and also to avoid having a string inside parentheses
489 at the end of test names.
490
ac45a6ca
AB
4912021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
492
493 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
494 Avoid repeated uses of 'runto', and instread just progress once
495 through the test stopping at different breakpoints. Give comments
496 a capital letter and full stop. Give duplicate tests unique names.
497
323fd5b9
PA
4982021-03-25 Pedro Alves <pedro@palves.net>
499
500 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
501 "target_non_stop" parameter and use it.
502 (top level): Add "maint set target-non-stop on/off" testing axis.
503
ba3c61fc
AB
5042021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
505
506 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
507 gdb_test_multiple.
508
bf0aecce
LM
5092021-03-24 Luis Machado <luis.machado@linaro.org>
510
511 * gdb.arch/aarch64-mte.c: New file.
512 * gdb.arch/aarch64-mte.exp: New test.
513 * gdb.base/memtag.c: New file.
514 * gdb.base/memtag.exp: New test.
515 * lib/gdb.exp (supports_memtag): New function.
516
bef382e6
LM
5172021-03-24 Luis Machado <luis.machado@linaro.org>
518
519 * gdb.base/options.exp: Adjust for new print options.
520 * gdb.base/with.exp: Likewise.
521
702cf3f5
AB
5222021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
523
524 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
525 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
526
1e7fcccb
AB
5272021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
528
529 * gdb.dwarf2/dw2-using-debug-str.c: New file.
530 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
531 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
532 not .debug_string.
533
4829711b
TT
5342021-03-20 Tom Tromey <tom@tromey.com>
535
536 * gdb.base/maint.exp: Update "maint print statistics" output.
537
e0d6d274
KB
5382021-03-19 Kevin Buettner <kevinb@redhat.com>
539
540 * lib/gdbserver-support.exp (gdbserver_exit): Use the
541 "-nowait" flag when waiting for gdbserver to exit.
542
a088215a
SST
5432021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
544
545 * gdb.base/info-macros.exp: Append -fdebug-macro to
546 additional_flags for clang.
547 * gdb.base/macscp.exp: Likewise.
548 * gdb.base/style.exp: Likewise.
549 * gdb.linespec/macro-relative.exp: Likewise.
550
d0c99a23
SM
5512021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
552 Pedro Alves <pedro@palves.net>
553
554 * gdb.base/run-attach-while-running.exp: New.
555 * gdb.base/run-attach-while-running.c: New.
556
7807d76a
AB
5572021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
558
559 * gdb.python/py-framefilter-addr.c: New file.
560 * gdb.python/py-framefilter-addr.exp: New file.
561 * gdb.python/py-framefilter-addr.py: New file.
562
f302f9e2
AB
5632021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
564
565 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
566 Make use of $gdb_test_name instead of creating a separate $test
567 variable.
568 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
569 adding a '($name)' at the end of each test. This also catches the
570 one place where '($name)' was missing, and so caused a duplicate
571 test name.
572 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
573 duplicate test names based on the command being tested.
574 * gdb.threads/signal-command-multiple-signals-pending.exp:
575 Likewise.
576 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
577 avoid duplicate testnames when a test script uses this proc and
578 also gdb_compile_pthreads.
579 * lib/prelink-support.exp (build_executable_own_libs): Use
580 with_test_prefix to avoid duplicate test names when we call
581 build_executable twice.
582
6813ceb0
TT
5832021-03-15 Tom Tromey <tromey@adacore.com>
584
585 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
586
3b5c4de0
TT
5872021-03-15 Tom Tromey <tromey@adacore.com>
588
589 * gdb.ada/varsize_limit.exp: Add new test.
590 * gdb.ada/varsize_limit/vsizelim.adb: Update.
591
c04da66c
TT
5922021-03-15 Tom Tromey <tromey@adacore.com>
593
594 * gdb.ada/operator_call/twovecs.ads: New file.
595 * gdb.ada/operator_call/twovecs.adb: New file.
596 * gdb.ada/operator_call/opcall.adb: New file.
597 * gdb.ada/operator_call.exp: New file.
598
1ac74522
TT
5992021-03-15 Tom Tromey <tromey@adacore.com>
600
601 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
602 * gdb.ada/enums_overload/enums_overload.ads: New file.
603 * gdb.ada/enums_overload/enums_overload.adb: New file.
604 * gdb.ada/enums_overload.exp: New file.
605
207582c0
TT
6062021-03-15 Tom Tromey <tromey@adacore.com>
607
608 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
609 Declare.
610 * gdb.ada/assign_arr/target_wrapper.adb: New file.
611 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
612 Call Put.
613 * gdb.ada/assign_arr.exp: Update.
614
ba6a0ef3
AB
6152021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
616
617 * gdb.python/py-auto-load-chaining-f1.c: New file.
618 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
619 * gdb.python/py-auto-load-chaining-f2.c: New file.
620 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
621 * gdb.python/py-auto-load-chaining.c: New file.
622 * gdb.python/py-auto-load-chaining.exp: New file.
623
7f99d636
AB
6242021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
625
626 * gdb.python/py-bad-printers.exp: Extend test names to make them
627 unique.
628 * gdb.python/py-events.exp: Likewise.
629 * gdb.python/py-finish-breakpoint2.exp: Likewise.
630 * gdb.python/py-frame-inline.exp: Likewise.
631 * gdb.python/py-frame.exp: Likewise.
632 * gdb.python/py-infthread.exp: Likewise.
633
323b848c
AB
6342021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
635
636 * gdb.python/py-value-cc.exp: Remove a duplicate test.
637
8a4efb36
AB
6382021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
639
640 * gdb.python/lib-types.exp: Update the test to check the correct
641 python variable.
642
66bb1dd9
AB
6432021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
644
645 * gdb.python/py-explore-cc.exp: Extend test names to make them
646 unique.
647
0125fabc
AB
6482021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
649
650 * gdb.python/py-lookup-type.exp: Remove duplicate test.
651
79d04157
AB
6522021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
653
654 * gdb.python/py-symtab.exp: Extend test names to make them
655 unique.
656
e3e48d8f
AB
6572021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
658
659 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
660 names unique.
661
2cb60e74
AB
6622021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
663
664 * gdb.python/py-block.exp: Give tests unique names.
665
8b12ded4
AB
6662021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
667
668 * gdb.python/py-pp-maint.exp: Extend test names to make them
669 unique.
670
93598ea4
AB
6712021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
672
673 * gdb.python/py-explore.exp: Add with_test_prefix to make test
674 names unique.
675
f35d6971
AB
6762021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
677
678 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
679
22d3e7f6
AB
6802021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
681
682 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
683 names unique.
684
5fc5a1b8
AB
6852021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
686
687 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
688 test names unique.
689
e3141a4d
AB
6902021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
691
692 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
693 unique.
694
ccdc02ed
TT
6952021-03-09 Tom Tromey <tromey@adacore.com>
696
697 * gdb.base/cast-call.exp: New file.
698 * gdb.base/cast-call.c: New file.
699
fbb1aace
AB
7002021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
701
702 * gdb.gdb/python-helper.exp: New file.
703
611aa09d
FW
7042020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
705
706 * gdb.fortran/intrinsics.exp: Add LOC tests.
707
eef32f59
AB
7082021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
709
710 * gdb.fortran/shape.exp: New file.
711 * gdb.fortran/shape.f90: New file.
712
7ba155b3
AB
7132021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
714
715 * gdb.fortran/size.exp: New file.
716 * gdb.fortran/size.f90: New file.
717
e14816a8
AB
7182021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
719
720 * gdb.fortran/rank.exp: New file.
721 * gdb.fortran/rank.f90: New file.
722
d308ba78
TT
7232021-03-08 Tom Tromey <tom@tromey.com>
724
725 * gdb.fortran/debug-expr.exp: Update tests.
726
d182f279
TT
7272021-03-08 Tom Tromey <tom@tromey.com>
728
729 * gdb.base/debug-expr.exp: Update expected dump output.
730
a7308ce0
TT
7312021-03-06 Tom Tromey <tom@tromey.com>
732
733 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
734 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
735 * gdb.dwarf2/dwznolink.exp: New file.
736
b0a8c2ff
MW
7372021-03-05 Mark Wielaard <mark@klomp.org>
738
739 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
740
844be3f2
WP
7412021-03-06 Weimin Pan <weimin.pan@oracle.com>
742
743 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
744
82333781
MM
7452021-03-03 Markus Metzger <markus.t.metzger@intel.com>
746
747 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
748
32c52999
MM
7492021-03-03 Markus Metzger <markus.t.metzger@intel.com>
750
751 * gdb.btrace/non-stop.exp: Adjust expected source lines.
752
26ed1478
MM
7532021-03-03 Markus Metzger <markus.t.metzger@intel.com>
754
755 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
756
d2c5f24e
MM
7572021-03-03 Markus Metzger <markus.t.metzger@intel.com>
758
759 * gdb.btrace/exception.cc (main): Update test source.
760 * gdb.btrace/exception.exp: Update patterns.
761 * gdb.btrace/function_call_history.exp: Likewise.
762
c7c7253a
MM
7632021-03-03 Markus Metzger <markus.t.metzger@intel.com>
764
765 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
766
f0778fc1
MM
7672021-03-03 Markus Metzger <markus.t.metzger@intel.com>
768
769 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
770 reverse-continue to breakpoint.
771
e71dbd03
MM
7722021-03-03 Markus Metzger <markus.t.metzger@intel.com>
773
774 * gdb.btrace/delta.exp: Remove instruction-history and
775 function-call-history checks.
776
b93a3ed0
MM
7772021-03-03 Markus Metzger <markus.t.metzger@intel.com>
778
779 * README (Note): Add nopie_ldflag.
780 * lib/gdb.exp (gdb_compile): Extend nopie handling.
781
bbcdf9ab
TT
7822021-03-02 Tom Tromey <tromey@adacore.com>
783
784 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
785 encodings.
786
bb3a4efe
LS
7872021-02-27 Lancelot Six <lsix@lancelotix.com>
788
789 PR gdb/27393
790 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
791
792
573dc0cc
TT
7932021-02-26 Tom Tromey <tom@tromey.com>
794
795 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
796
f8218786
JV
7972021-02-26 Jan Vrany <jan.vrany@labware.com>
798
799 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
800 Remove trailing \n from expected output.
801
cb51b708
MM
8022021-02-26 Markus Metzger <markus.t.metzger@intel.com>
803
804 * lib/gdb.exp (use_gdb_stub): Extend comment.
805
64d38fdd
JM
8062021-02-25 Jan Matyas <jmatyas@codasip.com>
807
808 PR gdb/26819
809 * gdb.server/stop-reply-no-thread.exp: Add two test
810 scenarios that cover remote targets which do not have
811 the concept of threads.
812
d4ff3cbf
AB
8132021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
814
815 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
816
68337b8b
AB
8172021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
818
819 PR fortran/26155
820 * gdb.fortran/call-no-debug-func.f90: New file.
821 * gdb.fortran/call-no-debug-prog.f90: New file.
822 * gdb.fortran/call-no-debug.exp: New file.
823
faeb9f13
AB
8242021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
825
826 * gdb.fortran/associated.exp: New file.
827 * gdb.fortran/associated.f90: New file.
828
170f4b23
AB
8292021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
830
831 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
832
dd80d750
AB
8332021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
834
835 * gdb.base/sect-cmd.exp: Update expected results.
836
b91919ac
AB
8372021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
838
839 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
840 techniques. Enable the test for all targets.
841
02a79309
AB
8422021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
843
844 * gdb.base/maint-info-sections.exp: Add new tests.
845 (check_maint_info_target_sections_output): New proc.
846
895b7b4e
AB
8472021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * gdb.arch/riscv-default-tdesc.exp: New file.
850
bc3c0632
AB
8512021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
852
853 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
854
acde2092
AB
8552021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
856
857 * gdb.arch/i386-biarch-core.exp: Add target check.
858
7d2e5095
AKS
8592021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
860
861 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
862
96df3e28
AB
8632021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
864
865 * gdb.fortran/allocated.exp: New file.
866 * gdb.fortran/allocated.f90: New file.
867
a1670b72
AB
8682021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
869
870 * gdb.fortran/lbound-ubound.exp: Remove old comment.
871
bf3386f0
AB
8722021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
873
874 * gdb.base/maint-info-sections.exp: Update expected output, and
875 add additional tests. Again.
876
4790db14
AB
8772021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
878
879 * gdb.base/maint-info-sections.exp: Update expected output, and
880 add additional tests.
881
f4be6772
AB
8822021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
883
884 * gdb.base/maint-info-sections.exp: New file, content is moved
885 from gdb.base/maint.exp and cleaned up to use latest testsuite
886 techniques.
887 * gdb.base/maint.exp: Tests moved out to
888 gdb.base/maint-info-sections.exp.
889
25ad1e83
SM
8902021-02-10 Simon Marchi <simon.marchi@efficios.com>
891
892 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
893 GDBFLAGS.
894
e92c8eb8
AB
8952021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
896
897 * gdb.fortran/lbound-ubound.F90: New file.
898 * gdb.fortran/lbound-ubound.exp: New file.
899
ee4c3d88
TV
9002021-02-10 Tom de Vries <tdevries@suse.de>
901
902 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
903 "Restore saved setting of complaints".
904
cf2b2075
TV
9052021-02-09 Tom de Vries <tdevries@suse.de>
906
907 PR symtab/27341
908 * lib/gdb.exp (with_complaints): New proc, factored out of ...
909 (gdb_load_no_complaints): ... here.
910 * gdb.fortran/function-calls.exp: Add test-case.
911
b61f7811
HAQ
9122021-02-09 Abid Qadeer <abidh@codesourcery.com>
913
914 * gdb.threads/signal-command-handle-nopass.exp: Call
915 'standard_testfile' before using 'testfile'.
916 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
917 * gdb.threads/signal-delivered-right-thread.exp: Likewise
918 * gdb.threads/signal-sigtrap.exp: Likewise
919
3d4aae48
LM
9202021-02-08 Luis Machado <luis.machado@linaro.org>
921
922 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
923
4001d90d
TV
9242021-02-08 Tom de Vries <tdevries@suse.de>
925
926 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
927
29db1eb3
AB
9282021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
929
930 * gdb.python/tui-window-disabled.c: New file.
931 * gdb.python/tui-window-disabled.exp: New file.
932 * gdb.python/tui-window-disabled.py: New file.
933
e0c23e11
AB
9342021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
935
936 * gdb.python/tui-window.exp: Add new tests.
937 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
938 TestWindow object into global the_window.
939 <remote_title>: New method.
940 (delete_window_title): New function.
941
1cf23996
AB
9422021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
943
944 * gdb.tui/winheight.exp: Add more tests.
945
2708dbbd
AB
9462021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
947
948 * gdb.python/py-framefilter.exp: Update expected results.
949 * gdb.python/python.exp: Update expected results.
950
cd074e04
AB
9512021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
952
953 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
954 about bug in GDB, update expected results, and add more tests.
955
5fb97639
AB
9562021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
957
958 * gdb.tui/scroll.exp: New file.
959 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
960 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
961 remaining lines up.
962 (Term::check_region_contents): New proc.
963 (Term::check_box_contents): Use check_region_contents.
964
c0e56745
TV
9652021-02-06 Tom de Vries <tdevries@suse.de>
966
967 PR testsuite/26922
968 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
969 scrolling.
970
0e857c82
TV
9712021-02-05 Tom de Vries <tdevries@suse.de>
972
973 PR breakpoints/27313
974 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
975 rejected.
976
a22ec6e8
TV
9772021-02-05 Tom de Vries <tdevries@suse.de>
978
979 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
980 * gdb.fortran/mixed-lang-stack.exp: Same.
981
ae710496
TV
9822021-02-05 Tom de Vries <tdevries@suse.de>
983
984 PR exp/27265
985 * gdb.base/complex-parts.exp: Add tests.
986
d3b54e63
TV
9872021-02-05 Tom de Vries <tdevries@suse.de>
988
989 PR symtab/27307
990 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
991
3eccb1c8
SV
9922021-02-04 Shahab Vahedi <shahab@synopsys.com>
993
994 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
995
a71501e2
PA
9962021-02-03 Pedro Alves <pedro@palves.net>
997
998 * gdb.threads/detach-step-over.c: New file.
999 * gdb.threads/detach-step-over.exp: New file.
1000
92234eb1
PA
10012021-02-03 Pedro Alves <pedro@palves.net>
1002
1003 * gdb.threads/attach-non-stop.c: New file.
1004 * gdb.threads/attach-non-stop.exp: New file.
1005
2e3773ff
LS
10062021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1007
1008 * gdb.base/inferior-noarg.c: New test.
1009 * gdb.base/inferior-noarg.exp: New test.
1010
e0bd9202
SM
10112021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
1012
1013 * gdb.base/scope.exp: Use proc_with_prefix.
1014
9307efbe
SM
10152021-02-02 Simon Marchi <simon.marchi@efficios.com>
1016
1017 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
1018 table proc.
1019 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
1020 .debug_rnglists table without offset array.
1021 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1022 .debug_loclists table without offset array.
1023
2b0c7f41
SM
10242021-02-02 Simon Marchi <simon.marchi@efficios.com>
1025
1026 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
1027 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
1028 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1029 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
1030 attribute
1031
ecfda20d
SM
10322021-02-02 Simon Marchi <simon.marchi@efficios.com>
1033
1034 PR gdb/26813
1035 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
1036 (loclists): New proc.
1037 * gdb.dwarf2/loclists-multiple-cus.c: New.
1038 * gdb.dwarf2/loclists-multiple-cus.exp: New.
1039 * gdb.dwarf2/loclists-sec-offset.c: New.
1040 * gdb.dwarf2/loclists-sec-offset.exp: New.
1041
6b0933da
SM
10422021-02-02 Simon Marchi <simon.marchi@efficios.com>
1043
1044 * lib/dwarf.exp (_location): Add parameters.
1045 (_handle_DW_FORM): Adjust.
1046
962effa7
SM
10472021-02-02 Simon Marchi <simon.marchi@efficios.com>
1048
1049 PR gdb/26813
1050 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
1051 (cu): Generate header for DWARF 5.
1052 (rnglists): New proc.
1053 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
1054 * gdb.dwarf2/rnglists-sec-offset.exp: New.
1055
2bd3e4b8
TV
10562021-02-02 Tom de Vries <tdevries@suse.de>
1057
1058 PR symtab/24620
1059 * gdb.dwarf2/fission-reread.exp: Add test-case.
1060
c39c8637
TV
10612021-02-01 Tom de Vries <tdevries@suse.de>
1062
1063 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
1064 * gdb.dwarf2/fission-loclists-pie.S: Same.
1065 * gdb.dwarf2/fission-loclists.S: Same.
1066 * gdb.dwarf2/fission-multi-cu.S: Same.
1067 * gdb.dwarf2/fission-reread.S: Same.
1068 * gdb.dwarf2/fission-base.exp: Use DWO.
1069 * gdb.dwarf2/fission-loclists-pie.exp: Same.
1070 * gdb.dwarf2/fission-loclists.exp: Same.
1071 * gdb.dwarf2/fission-multi-cu.exp: Same.
1072 * gdb.dwarf2/fission-reread.exp: Same.
1073
ebde6f2d
TV
10742021-01-29 Tom de Vries <tdevries@suse.de>
1075
1076 PR breakpoints/26063
1077 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1078 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1079
620ec3ca
TV
10802021-01-29 Tom de Vries <tdevries@suse.de>
1081
1082 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1083
cdeba395
TV
10842021-01-28 Tom de Vries <tdevries@suse.de>
1085
1086 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1087 in the backtrace, and use that in the rest of the test instead of
1088 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1089
c47b145e
TV
10902021-01-28 Tom de Vries <tdevries@suse.de>
1091
1092 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1093 * gdb.arch/i386-sse-stack-align.c: Same.
1094 * gdb.arch/i386-sse-stack-align.exp: Same.
1095
47918cca
AB
10962021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1097
1098 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1099
2f985dd1
TV
11002021-01-28 Tom de Vries <tdevries@suse.de>
1101
1102 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1103
22efa3d3
TV
11042021-01-28 Tom de Vries <tdevries@suse.de>
1105
1106 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1107 "maint info line-table". Make PASS pattern more specific. Make
1108 FAIL pattern work for -m32.
1109
59b59f08
LS
11102021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1111
1112 PR gdb/27133
1113 * gdb.base/ui-redirect.exp: Add test case that ensures that
1114 redirecting both logging and debug does not cause gdb to crash.
1115
1116
807f647c
MM
11172021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1118
1119 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1120
4ca40594
TV
11212021-01-26 Tom de Vries <tdevries@suse.de>
1122
1123 * gdb.threads/killed-outside.exp: Allow regular output.
1124
d0021af3
TV
11252021-01-26 Tom de Vries <tdevries@suse.de>
1126
1127 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1128
9f6c202e
TV
11292021-01-25 Tom de Vries <tdevries@suse.de>
1130
1131 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1132 * lib/gdb.exp: Use gdb_load_no_complaints.
1133
a625a8c9
TT
11342021-01-25 Tom Tromey <tromey@adacore.com>
1135
1136 * gdb.ada/fixed_points.exp: Add regression test.
1137 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1138 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1139
19184910
TT
11402021-01-25 Tom Tromey <tromey@adacore.com>
1141
1142 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1143
acd6125f
TT
11442021-01-25 Tom Tromey <tromey@adacore.com>
1145
1146 * gdb.ada/local-enum.exp: New file.
1147 * gdb.ada/local-enum/local.adb: New file.
1148
1af4c9c4
TT
11492021-01-23 Tom Tromey <tom@tromey.com>
1150
1151 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1152
705646c0
BE
11532021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1154
1155 * gdb.base/line65535.exp: Fix test expectation.
1156
0ac85db5
SM
11572021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1158
1159 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1160 suppression.
1161 (default_gdb_exit): Likewise.
1162 (default_gdb_spawn): Likewise.
1163 (send_gdb): Likewise.
1164 (gdb_expect): Likewise.
1165 (gdb_expect_list): Likewise.
1166 (default_gdb_init): Likewise.
1167 (gdb_suppress_entire_file): Remove.
1168 (gdb_suppress_tests): Remove.
1169 (gdb_stop_suppressing_tests): Remove.
1170 (gdb_clear_suppressed): Remove.
1171 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1172 related to test suppression.
1173 (default_mi_gdb_start): Likewise.
1174 (mi_gdb_reinitialize_dir): Likewise.
1175 (mi_gdb_test): Likewise.
1176 (mi_run_cmd_full): Likewise.
1177 (mi_runto_helper): Likewise.
1178 (mi_execute_to): Likewise.
1179 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1180 * gdb.base/bitfields.exp: Likewise.
1181 * gdb.base/bitfields2.exp: Likewise.
1182 * gdb.base/break.exp: Likewise.
1183 * gdb.base/call-sc.exp: Likewise.
1184 * gdb.base/callfuncs.exp: Likewise.
1185 * gdb.base/dfp-test.exp: Likewise.
1186 * gdb.base/endian.exp: Likewise.
1187 * gdb.base/exprs.exp: Likewise.
1188 * gdb.base/funcargs.exp: Likewise.
1189 * gdb.base/hbreak2.exp: Likewise.
1190 * gdb.base/recurse.exp: Likewise.
1191 * gdb.base/scope.exp: Likewise.
1192 * gdb.base/sepdebug.exp: Likewise.
1193 * gdb.base/structs.exp: Likewise.
1194 * gdb.base/until.exp: Likewise.
1195 * gdb.cp/misc.exp: Likewise.
1196
9d2d8a16
AB
11972021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1198
1199 PR cli/25956
1200 * gdb.base/style.exp (run_style_tests): Add version string test.
1201 (test_startup_version_string): Use version style name.
1202 * lib/gdb-utils.exp (style): Handle version style name.
1203
e7b43072
AB
12042021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1205
1206 * gdb.base/style.exp (limited_style): New proc.
1207 (clean_restart_and_disable): New proc.
1208 (run_style_tests): New proc. Most of the old tests from this file
1209 are now in this proc.
1210 (test_startup_version_string): New proc. Reamining test from the
1211 old file is in this proc.
1212
2189c312
SM
12132021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1214
1215 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1216 Adjust to "set debug remote" changes.
1217
cd211c75
LM
12182021-01-21 Luis Machado <luis.machado@linaro.org>
1219
1220 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1221 message.
1222
730af663
SM
12232021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1224
1225 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1226
325d39e4
HD
12272021-01-21 Hannes Domani <ssbssa@yahoo.de>
1228
1229 PR python/19151
1230 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1231
c3e96aa7
SM
12322021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1233
1234 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1235
6571ffc6
SM
12362021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1237
1238 * lib/tuiterm.exp: Add links in comments.
1239
7c794afd
TV
12402021-01-20 Tom de Vries <tdevries@suse.de>
1241
1242 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1243 offset.
1244
1402665c
TV
12452021-01-20 Tom de Vries <tdevries@suse.de>
1246
1247 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1248
6f52fdf4
SDJ
12492021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1250
1251 * gdb.arch/amd64-stap-expressions.S: New file.
1252 * gdb.arch/amd64-stap-expressions.exp: New file.
1253
14852123
TV
12542021-01-19 Tom de Vries <tdevries@suse.de>
1255
1256 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1257 sequence.
1258
0c4e2c6c
TV
12592021-01-19 Tom de Vries <tdevries@suse.de>
1260
1261 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1262
02baa133
AB
12632021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1264
1265 * gdb.fortran/array-slices.exp (run_test): Avoid including
1266 addresses in test names.
1267
10f92414
TV
12682021-01-15 Tom de Vries <tdevries@suse.de>
1269
1270 PR testsuite/26997
1271 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1272 when adding sizeof.
1273
116d0cf1
TV
12742021-01-14 Tom de Vries <tdevries@suse.de>
1275
1276 PR testsuite/24590
1277 * gdb.base/style.exp: Handle shorter argv in frame command output.
1278
8f66807b
AB
12792021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1280
1281 PR gdb/26819
1282 * gdb.server/stop-reply-no-thread-multi.c: New file.
1283 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1284
3f94e588
TV
12852021-01-12 Tom de Vries <tdevries@suse.de>
1286
1287 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1288 (main): Remove call to have_mpx.
1289 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1290 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1291 (main): Remote call to have_mpx.
1292 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1293 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1294 (main): Remove call to have_mpx.
1295 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1296 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1297 (main): Remove call to have_mpx.
1298 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1299 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1300 (main): Remote call to have_mpx.
1301 * gdb.arch/i386-mpx.exp: Use have_mpx.
1302 * lib/gdb.exp (have_mpx): New proc.
1303
5291fe3c
SP
13042021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1305
1306 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1307
18bfb505
TV
13082021-01-12 Tom de Vries <tdevries@suse.de>
1309
1310 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1311
ce38f5ed
AB
13122021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1313
1314 * gdb.fortran/debug-expr.exp: Add new tests.
1315
7c654b71
AB
13162021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1317
1318 * gdb.fortran/dot-ops.exp: Add new tests.
1319
10dadadc
TV
13202021-01-11 Tom de Vries <tdevries@suse.de>
1321
1322 PR testsuite/26968
1323 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1324 Move insn setting $eax to before probe point.
1325
66beed02
TT
13262021-01-09 Tom Tromey <tom@tromey.com>
1327
1328 * gdb.trace/ax.exp: Do not require an "ext".
1329
8fc48b79
TT
13302021-01-08 Tom Tromey <tromey@adacore.com>
1331
1332 * gdb.ada/voidctx/pck.adb: New file.
1333 * gdb.ada/voidctx/pck.ads: New file.
1334 * gdb.ada/voidctx/voidctx.adb: New file.
1335 * gdb.ada/voidctx.exp: New file.
1336
6abd4cf2
SM
13372021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1338
1339 PR gdb/27157
1340 * gdb.base/empty-host-env-vars.exp: New test.
1341
d00f0868
AB
13422021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1343
1344 * gdb.base/completion.exp: Add a new test.
1345
3c8c6de2
AB
13462021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1347
1348 * gdb.fortran/intvar-dynamic-types.exp: New file.
1349 * gdb.fortran/intvar-dynamic-types.f90: New file.
1350
e3436813
AB
13512021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1352
1353 * gdb.fortran/intvar-array.exp: New file.
1354 * gdb.fortran/intvar-array.f90: New file.
1355
d4813f10
TT
13562021-01-07 Tom Tromey <tromey@adacore.com>
1357
1358 * gdb.ada/assign_arr.exp: Add 'others' test.
1359
b49180ac
TT
13602021-01-06 Tom Tromey <tromey@adacore.com>
1361
1362 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1363 (FP4_Type): New type.
1364 (FP4_Var): New variable.
1365 * gdb.ada/fixed_points/fixed_points.adb: Update.
1366 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1367
3c55062c
SM
13682021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1369
1370 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1371 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1372 Pass prompt containing debug print to gdb_test_sequence.
1373
e4ad960a
TV
13742021-01-04 Tom de Vries <tdevries@suse.de>
1375
1376 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1377
3ec3145c
SM
13782021-01-04 Simon Marchi <simon.marchi@efficios.com>
1379
1380
1381
8dc558a0
SM
13822021-01-04 Simon Marchi <simon.marchi@efficios.com>
1383
1384 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1385 * gdb.server/connect-without-multi-process.exp: Likewise.
1386 * gdb.server/exit-multiple-threads.exp: Likewise.
1387 * gdb.server/ext-attach.exp: Likewise.
1388 * gdb.server/ext-restart.exp: Likewise.
1389 * gdb.server/ext-run.exp: Likewise.
1390 * gdb.server/ext-wrapper.exp: Likewise.
1391 * gdb.server/multi-ui-errors.exp: Likewise.
1392 * gdb.server/no-thread-db.exp: Likewise.
1393 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1394 * gdb.server/run-without-local-binary.exp: Likewise.
1395 * gdb.server/server-kill.exp: Likewise.
1396 * gdb.server/server-run.exp: Likewise.
1397 * gdb.server/solib-list.exp: Likewise.
1398 * gdb.server/stop-reply-no-thread.exp: Likewise.
1399 * gdb.server/wrapper.exp: Likewise.
1400 * gdb.server/sysroot.exp: Increase timeout when testing the
1401 target: sysroot.
1402
d8387cc8
SM
14032021-01-04 Simon Marchi <simon.marchi@efficios.com>
1404
1405 * gdb.server/server-run.exp: Use clean_restart.
1406
5169ae34
SM
14072021-01-04 Simon Marchi <simon.marchi@efficios.com>
1408
1409 * gdb.server/ext-run.exp: Use clean_restart.
1410
7b0ff8a2
SM
14112021-01-04 Simon Marchi <simon.marchi@efficios.com>
1412
1413 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1414 instead of prepare_for_testing.
1415
a754fbdf
SM
14162021-01-04 Simon Marchi <simon.marchi@efficios.com>
1417
1418 * gdb.server/solib-list.exp: Use clean_restart.
1419
c5e71b33
TV
14202021-01-04 Tom de Vries <tdevries@suse.de>
1421
1422 * gdb.base/morestack.c: Remove printf.
1423 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1424
9b243007
TT
14252020-12-31 Tom Tromey <tom@tromey.com>
1426
1427 * gdb.rust/simple.exp: Update output for Rust 1.49.
1428
4ff509e7
BE
14292020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1430
1431 * gdb.cp/step-and-next-inline.exp: Fix test case.
1432
391750c3
SM
14332020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1434
1435 * gdb.python/py-frame-args.exp: De-duplicate test names.
1436
b7874836
AB
14372020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1438
1439 PR gdb/27059
1440 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1441 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1442
e1ff6226
PW
14432020-12-21 Peter Waller <p@pwaller.net>
1444
1445 * gdb.base/style-interp-exec-mi.exp: New.
1446 * gdb.base/style-interp-exec-mi.c: New.
1447
ca01f1bf
SM
14482020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1449
1450 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1451 gdb_test. Use proc_with_prefix.
1452
0fe69a94
MM
14532020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1454
1455 * gdb.btrace/exception.exp: Build with nopie.
1456 * gdb.btrace/function_call_history.exp: Likewise.
1457 * gdb.btrace/unknown_functions.exp: Likewise.
1458
806e7575
MM
14592020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1460
1461 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1462
493d2172
MM
14632020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1464
1465 * gdb.python/py-record-btrace.exp: Make test names unique.
1466 * gdb.python/py-record-full.exp: Likewise.
1467
1a1c0afc
MM
14682020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1469
1470 * gdb.btrace/data.exp: Make test names unique.
1471 * gdb.btrace/delta.exp: Likewise.
1472 * gdb.btrace/enable.exp: Likewise.
1473 * gdb.btrace/function_call_history.exp: Likewise.
1474 * gdb.btrace/nohist.exp: Likewise.
1475 * gdb.btrace/non-stop.exp: Likewise.
1476 * gdb.btrace/rn-dl-bind.exp: Likewise.
1477 * gdb.btrace/step.exp: Likewise.
1478 * gdb.btrace/stepi.exp: Likewise.
1479 * gdb.btrace/tailcall.exp: Likewise.
1480
98d837f0
MM
14812020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1482
1483 * gdb.btrace/enable.exp: Update error message.
1484 * gdb.btrace/multi-inferior.exp: Likewise.
1485 * gdb.btrace/reconnect.exp: Likewise.
1486 * gdb.python/py-record-btrace.exp: Likewise.
1487 * gdb.python/py-record-full.exp: Likewise.
1488
c541fa7c
TV
14892020-12-20 Tom de Vries <tdevries@suse.de>
1490
1491 * lib/gdb.exp (save_target_board_info): New proc.
1492 (gdb_compile_shlib): Use save_target_board_info.
1493
60108e47
TV
14942020-12-19 Tom de Vries <tdevries@suse.de>
1495
1496 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1497 (supports_gnuc): New proc.
1498 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1499 test_compiler_info calls. Add unsupported message.
1500 * gdb.base/endianity.c: Use TEST_SSO.
1501
fa639f55
HD
15022020-12-19 Hannes Domani <ssbssa@yahoo.de>
1503
1504 PR exp/27070
1505 * gdb.python/compare-enum-type-a.c: New test.
1506 * gdb.python/compare-enum-type-b.c: New test.
1507 * gdb.python/compare-enum-type.exp: New file.
1508 * gdb.python/compare-enum-type.h: New test.
1509
4aea001f
HD
15102020-12-18 Hannes Domani <ssbssa@yahoo.de>
1511
1512 * gdb.python/py-format-string.exp: Add tests for address keyword.
1513
b3f9469b
HD
15142020-12-18 Hannes Domani <ssbssa@yahoo.de>
1515
1516 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1517
86ef42bd
TT
15182020-12-18 Tom Tromey <tromey@adacore.com>
1519
1520 * gdb.ada/fixed_points.exp: Also run with
1521 -fgnat-encodings=minimal. Update expected output.
1522
93df4a1d
SM
15232020-12-16 Simon Marchi <simon.marchi@efficios.com>
1524
1525 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1526 * gdb.base/continue-all-already-running.exp: Likewise.
1527 * gdb.base/moribund-step.exp: Likewise.
1528 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1529
592995fa
TV
15302020-12-16 Tom de Vries <tdevries@suse.de>
1531
1532 * gdb.base/batch-preserve-term-settings.exp:
1533
1e61189d
TV
15342020-12-16 Tom de Vries <tdevries@suse.de>
1535
1536 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1537 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1538
19007d95
LM
15392020-12-16 Luis Machado <luis.machado@linaro.org>
1540
1541 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1542 pointer-based memory accesses.
1543 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1544 hw watchpoint cases.
1545
a33fc9ae
RK
15462020-12-15 Rae Kim <rae.kim@gmail.com>
1547
1548 * gdb.base/document.exp: New test.
1549
0e5ad442
TT
15502020-12-15 Tom Tromey <tromey@adacore.com>
1551
1552 * gdb.base/style.exp: Add deprecation tests.
1553
60598dbd
SM
15542020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1555
1556 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1557
8cd6d968
MW
15582020-12-14 Mark Wielaard <mark@klomp.org>
1559
1560 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1561 specially, set attr_form_comment to the actual FORM string used.
1562
eab9267c
MW
15632020-12-14 Mark Wielaard <mark@klomp.org>
1564
1565 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1566 _constants(SPECIAL_expr) here, but set it...
1567 (Dwarf::cu): ...here based on _cu_version.
1568
2f413264
TV
15692020-12-14 Tom de Vries <tdevries@suse.de>
1570
1571 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1572 pass -fPIC.
1573 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1574 * gdb.base/break-probes.exp: Same.
1575 * gdb.base/ctxobj.exp: Same.
1576 * gdb.base/dso2dso.exp: Same.
1577 * gdb.base/global-var-nested-by-dso.exp: Same.
1578 * gdb.base/info-shared.exp: Same.
1579 * gdb.base/jit-reader-simple.exp: Same.
1580 * gdb.base/print-file-var.exp: Same.
1581 * gdb.base/skip-solib.exp: Same.
1582 * gdb.btrace/dlopen.exp: Same.
1583
18f1cb1f
TV
15842020-12-14 Tom de Vries <tdevries@suse.de>
1585
1586 PR testsuite/26963
1587 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1588
519155c9
TV
15892020-12-14 Tom de Vries <tdevries@suse.de>
1590
1591 PR testsuite/26962
1592 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1593 cast it to its declared type".
1594
153f6e6c
TV
15952020-12-14 Tom de Vries <tdevries@suse.de>
1596
1597 PR testsuite/26951
1598 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1599 shell prompt.
1600
86b44259
TT
16012020-12-14 Tom Tromey <tromey@adacore.com>
1602
1603 * gdb.ada/nested.exp: Add new tests.
1604 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1605
e26624c6
TT
16062020-12-14 Tom Tromey <tromey@adacore.com>
1607
1608 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1609
a3bdae4e
TT
16102020-12-14 Tom Tromey <tromey@adacore.com>
1611
1612 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1613
862fcbd8
TV
16142020-12-13 Tom de Vries <tdevries@suse.de>
1615
1616 PR testsuite/26953
1617 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1618 attribute support if compiler doesn't support it.
1619
a406a98e
TV
16202020-12-13 Tom de Vries <tdevries@suse.de>
1621
1622 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1623 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1624 source to shared lib. Add ada to options.
1625
5d7e6ed0
TV
16262020-12-13 Tom de Vries <tdevries@suse.de>
1627
1628 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1629 calling gnatbind and gnatlink.
1630
ee9812a0
AB
16312020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1632
1633 * gdb.base/dcache-flush.c: New file.
1634 * gdb.base/dcache-flush.exp: New file.
1635
50a5f187
AB
16362020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1637
1638 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1639 commands.
1640 * gdb.base/killed-outside.exp: Likewise.
1641 * gdb.opt/inline-bt.exp: Likewise.
1642 * gdb.perf/gmonster-null-lookup.py: Likewise.
1643 * gdb.perf/gmonster-print-cerr.py: Likewise.
1644 * gdb.perf/gmonster-ptype-string.py: Likewise.
1645 * gdb.python/py-unwind.exp: Likewise.
1646
19c659f1
AB
16472020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1648
1649 * gdb.base/commands.exp: Update expected results.
1650
9ef6d4a1
AB
16512020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1652
1653 PR cli/15104
1654 * gdb.base/commands.exp: Add additional tests.
1655 * gdb.base/completion.exp: Add additional tests.
1656
1536146f
AB
16572020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1658
1659 * gdb.base/completion.exp: Add additional tests.
1660
346e7e19
TV
16612020-12-11 Tom de Vries <tdevries@suse.de>
1662
1663 PR testsuite/26991
1664 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1665 violations by setting bounds registers if the bounds are passed in the
1666 Bounds Table.
1667
9cd7a95a
TV
16682020-12-11 Tom de Vries <tdevries@suse.de>
1669
1670 PR testsuite/26954
1671 * gdb.base/float128.exp: Detect and handle no mpfr support.
1672
4483a8e7
SM
16732020-12-10 Simon Marchi <simon.marchi@efficios.com>
1674
1675 PR gdb/24694
1676 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1677 calls.
1678
10067028
TV
16792020-12-10 Tom de Vries <tdevries@suse.de>
1680
1681 PR testsuite/26947
1682 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1683 braces for tcl 8.5 and earlier.
1684
5b56203a
SM
16852020-12-09 Simon Marchi <simon.marchi@efficios.com>
1686
1687 PR 26875, PR 26901
1688 * gdb.base/flexible-array-member.c: New test.
1689 * gdb.base/flexible-array-member.exp: New test.
1690
b46551b2
TV
16912020-12-08 Tom de Vries <tdevries@suse.de>
1692
1693 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1694 using is_amd64_regs_target.
1695
8439f446
TV
16962020-12-08 Tom de Vries <tdevries@suse.de>
1697
1698 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1699 self_id.
1700
bc545da7
PA
17012020-12-07 Pedro Alves <pedro@palves.net>
1702
1703 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1704 'additional_flags' variable.
1705
1f58f6c2
TBA
17062020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1707
1708 * gdb.linespec/explicit.exp: Extend with a test to check completing
1709 '-' after seemingly complete options.
1710
5759831a
TBA
17112020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1712
1713 * gdb.linespec/keywords.exp: Add tests to check positional
1714 flexibility of "-force-condition".
1715
21e051b3
TBA
17162020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1717
1718 * gdb.base/bp-cmds-run-with-ex.c: New file.
1719 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1720 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1721 * gdb.gdb/python-interrupts.exp: Update the call to
1722 'catch_command_errors' with the new argument.
1723 * gdb.gdb/python-selftest.exp: Ditto.
1724
187b041e
SM
17252020-12-04 Simon Marchi <simon.marchi@efficios.com>
1726
1727 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1728 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1729 * gdb.threads/non-stop-fair-events.exp: Likewise.
1730
3b7a962d
SM
17312020-12-04 Simon Marchi <simon.marchi@efficios.com>
1732
1733 * gdb.threads/step-over-exec.exp: New.
1734 * gdb.threads/step-over-exec.c: New.
1735 * gdb.threads/step-over-exec-execd.c: New.
1736 * lib/my-syscalls.S: New.
1737 * lib/my-syscalls.h: New.
1738
e633b117
SM
17392020-12-04 Simon Marchi <simon.marchi@efficios.com>
1740
1741 * lib/dwarf.exp (declare_labels): Use name as text if text is
1742 not provided.
1743
67748e0f
TV
17442020-12-04 Tom de Vries <tdevries@suse.de>
1745
1746 PR testsuite/26990
1747 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1748 are unsupported.
1749
a8d13675
TV
17502020-12-04 Tom de Vries <tdevries@suse.de>
1751
1752 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1753 clause.
1754
f17727b3
TV
17552020-12-04 Tom de Vries <tdevries@suse.de>
1756
1757 * gdb.reverse/insn-reverse.exp: Fix count handling.
1758
a1499830
TV
17592020-12-04 Tom de Vries <tdevries@suse.de>
1760
1761 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1762 __x86_64__.
1763
9c027c2f
TV
17642020-12-04 Tom de Vries <tdevries@suse.de>
1765
1766 * gdb.reverse/insn-reverse.c (test_nr): New var.
1767 (usage, parse_args): New function.
1768 (main): Call parse_args. Only run test for test_nr.
1769 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1770 and bail out. Run subtests individually, using an inferior arg
1771 specifying the subtest.
1772
533b2ae0
AB
17732020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1774
1775 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1776
e4502042
AB
17772020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1778
1779 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1780 update test to use this.
1781
f55a9a37
SM
17822020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1783
1784 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1785
0a6155a0
SM
17862020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1787
1788 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1789 (do_test): Don't use with_test_prefix.
1790 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1791 (do_test): Don't use with_test_prefix.
1792 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1793 (do_test): Don't use with_test_prefix.
1794 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1795 (do_test): Don't use with_test_prefix.
1796
4d56d64a
SM
17972020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1798
1799 * gdb.threads/non-ldr-exit.exp: Fix comment.
1800
54e75f29
AB
18012020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1802
1803 * gdb.xml/maint-xml-dump-03.xml: New file.
1804
7ce05d21
TV
18052020-11-30 Tom de Vries <tdevries@suse.de>
1806
1807 PR symtab/26905
1808 * gdb.dwarf2/count.exp: Remove kfails.
1809
50757f95
TBA
18102020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1811
1812 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1813 indices.
1814
4afa9fd9
JB
18152020-11-24 Joel Brobecker <brobecker@adacore.com>
1816
1817 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1818 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1819 languages. Remove the associated setup_xfail.
1820
15a491af
SM
18212020-11-23 Simon Marchi <simon.marchi@efficios.com>
1822
1823 * lib/gdb.exp (gdb_assert): Show error message on error.
1824
891615f0
TV
18252020-11-23 Tom de Vries <tdevries@suse.de>
1826
1827 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1828 * gdb.ada/mod_from_name.exp: Same.
1829 * gdb.ada/pckd_arr_ren.exp: Same.
1830
19922582
SM
18312020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1832
1833 * gdb.base/template.exp: New.
1834 * gdb.base/template.c: New.
1835
117c628d
GB
18362020-11-22 Gary Benson <gbenson@redhat.com>
1837
1838 PR gdb/26905
1839 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1840 is defined using a DW_AT_count which references another DIE.
1841
da39d3ba
TV
18422020-11-21 Tom de Vries <tdevries@suse.de>
1843
1844 * gdb.base/vla-ptr.exp: Add XFAIL.
1845
a5c641b5
AB
18462020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1847
1848 * gdb.fortran/array-slices-bad.exp: New file.
1849 * gdb.fortran/array-slices-bad.f90: New file.
1850 * gdb.fortran/array-slices-sub-slices.exp: New file.
1851 * gdb.fortran/array-slices-sub-slices.f90: New file.
1852 * gdb.fortran/array-slices.exp: Rewrite tests.
1853 * gdb.fortran/array-slices.f90: Rewrite tests.
1854 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1855
a15a5258
AB
18562020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1857
1858 * gdb.base/completion.exp: Add new completion tests.
1859
7cb2893d
SM
18602020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1861
1862 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1863 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1864 * gdb.mi/mi-nsintrall.exp: Likewise.
1865 * gdb.mi/mi-nsmoribund.exp: Likewise.
1866 * gdb.mi/mi-nsthrexec.exp: Likewise.
1867 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1868
cf144ec8
SM
18692020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1870
1871 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1872 of perror.
1873
6b6a3e05
JM
18742020-11-18 Joseph Myers <joseph@codesourcery.com>
1875
1876 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1877 $arg.exe exists but $arg does not.
1878
811bdca0
GB
18792020-11-17 Gary Benson <gbenson@redhat.com>
1880
1881 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1882 __attribute__ ((used)).
1883
c72e3136
AB
18842020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1885
1886 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1887
037d7135
AB
18882020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1889
1890 * gdb.base/completion.exp: Add new tests.
1891
119e99bb
TT
18922020-11-16 Tom Tromey <tromey@adacore.com>
1893
1894 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1895 tests.
1896
b74dbc20
JB
18972020-11-15 Joel Brobecker <brobecker@adacore.com>
1898
1899 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1900 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1901 (main): Add reference to pck__fp1_var2.
1902 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1903
0a12719e
JB
19042020-11-15 Joel Brobecker <brobecker@adacore.com>
1905
1906 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1907
0c9150e4
JB
19082020-11-15 Joel Brobecker <brobecker@adacore.com>
1909
1910 * gdb.ada/fixed_points.exp: Add ptype tests.
1911 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1912
b26daff9
JB
19132020-11-15 Joel Brobecker <brobecker@adacore.com>
1914
1915 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1916
09584414
JB
19172020-11-15 Joel Brobecker <brobecker@adacore.com>
1918
1919 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1920 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1921 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1922 New files.
1923 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1924
1925 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1926 New files.
1927
9dd02fc0
AB
19282020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1929
1930 PR cli/26879
1931 * gdb.fortran/completion.exp: New file.
1932 * gdb.fortran/completion.f90: New file.
1933
5643c500
JM
19342020-11-12 Joseph Myers <joseph@codesourcery.com>
1935
1936 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1937 but $arg does not.
1938
7bea47f0
AB
19392020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1940
1941 * gdb.fortran/types.exp: Add more tests.
1942
1f2624a3
TT
19432020-11-12 Tom Tromey <tom@tromey.com>
1944
1945 PR rust/26799:
1946 * gdb.rust/traits.exp: Remove kfails.
1947
9e74f0ae
GB
19482020-11-12 Gary Benson <gbenson@redhat.com>
1949
1950 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1951 statement.
1952
acb994fa
SM
19532020-11-11 Simon Marchi <simon.marchi@efficios.com>
1954
1955 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1956 always-inserted" axis.
1957 (do_test): Add breakpoint_always_inserted parameter.
1958
95016fd2
TT
19592020-11-10 Tom Tromey <tromey@adacore.com>
1960
1961 * gdb.ada/bias.exp: Update.
1962 * gdb.ada/bias/bias.adb (X): Change value.
1963
83100a74
GB
19642020-11-10 Gary Benson <gbenson@redhat.com>
1965
1966 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1967 regexp fragment in parentheses to prevent false matching.
1968
6ff174a7
GB
19692020-11-10 Gary Benson <gbenson@redhat.com>
1970
1971 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1972
eb24648c
GB
19732020-11-10 Gary Benson <gbenson@redhat.com>
1974
1975 * gdb.cp/step-and-next-inline.exp: Only require
1976 -gstatement-frontiers when building with GCC.
1977 Only setup KFAIL's for GCC issues when using
1978 a GCC-built executable.
1979
86775fab
AB
19802020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1981
1982 * gdb.base/debug-expr.c: Add extra function to allow for an
1983 additional test.
1984 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1985 to this proc with gdb_test_debug_expr. Add an extra test.
1986 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1987 to this proc with gdb_test_debug_expr, give the tests names
1988 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1989 calls to this proc with gdb_test_debug_expr, give the tests names
1990 * gdb.fortran/debug-expr.exp: New file.
1991 * gdb.fortran/debug-expr.f90: New file.
1992 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1993
a1945bd4
SM
19942020-11-06 Simon Marchi <simon.marchi@efficios.com>
1995
1996 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1997 proceduresu.
1998 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1999 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
2000 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
2001 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
2002 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
2003 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
2004 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
2005 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
2006
9c91c725
TT
20072020-11-04 Tom Tromey <tromey@adacore.com>
2008
2009 * gdb.ada/funcall_ref.exp: Update.
2010 * gdb.ada/var_rec_arr.exp: Update.
2011
8d9fd3a1
TT
20122020-11-04 Tom Tromey <tromey@adacore.com>
2013
2014 * gdb.ada/rec_ptype.exp: New file.
2015 * gdb.ada/rec_ptype/main.adb: New file.
2016 * gdb.ada/rec_ptype/p.ads: New file.
2017
d8f62e84
TT
20182020-11-04 Tom Tromey <tromey@adacore.com>
2019
2020 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
2021 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
2022 (PT_Full): New variable.
2023 * gdb.ada/tick_length_array_enum_idx/pck.adb
2024 (Full_PT): New type.
2025
7ff5b937
TT
20262020-11-04 Tom Tromey <tromey@adacore.com>
2027
2028 * gdb.ada/array_of_variant.exp: New file.
2029 * gdb.ada/array_of_variant/p.adb: New file.
2030 * gdb.ada/array_of_variant/pck.ads: New file.
2031 * gdb.ada/array_of_variant/pck.adb: New file.
2032
10f6a3ad
TT
20332020-11-04 Tom Tromey <tromey@adacore.com>
2034
2035 * gdb.ada/enum_idx_packed.exp: Add test.
2036 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
2037 New variable.
2038 * gdb.ada/enum_idx_packed/pck.ads (Short)
2039 (Multi_Dimension, Multi_Dimension_Access): New types.
2040
b72795a8
TT
20412020-11-04 Tom Tromey <tromey@adacore.com>
2042
2043 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
2044
24aa1b02
TT
20452020-11-04 Tom Tromey <tromey@adacore.com>
2046
2047 * gdb.ada/set_pckd_arr_elt.exp: Also test
2048 -fgnat-encodings=minimal. Add tests.
2049 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
2050 Call Update_Small a second time.
2051 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
2052 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
2053 (Variant_Access): New types.
2054 (New_Variant): Declare.
2055
c9a28cbe
TT
20562020-11-04 Tom Tromey <tromey@adacore.com>
2057
2058 * gdb.ada/mod_from_name.exp: Test printing slice.
2059
57567375
TT
20602020-11-04 Tom Tromey <tromey@adacore.com>
2061
2062 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
2063 values.
2064 * gdb.ada/access_to_unbounded_array.exp: Test different
2065 -fgnat-encodings values.
2066 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
2067 values.
2068 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
2069 values.
2070 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
2071 values.
2072 * gdb.ada/array_of_variable_length.exp: Test different
2073 -fgnat-encodings values.
2074 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
2075 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
2076 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2077 change.
2078 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2079 values.
2080 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2081 * gdb.ada/out_of_line_in_inlined.exp: Test different
2082 -fgnat-encodings values.
2083 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2084 values.
2085 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2086 values.
2087 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2088 -fgnat-encodings values.
2089 * gdb.ada/variant_record_packed_array.exp: Test different
2090 -fgnat-encodings values.
2091
a7400e44
TT
20922020-11-04 Tom Tromey <tromey@adacore.com>
2093
2094 * gdb.ada/enum_idx_packed.exp: Add tests.
2095 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2096 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2097 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2098 declarations.
2099
c40907bf
TV
21002020-11-03 Tom de Vries <tdevries@suse.de>
2101
2102 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2103 terminator comments.
2104 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2105 terminator.
2106
f468977a
SM
21072020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2108
2109 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2110 integer format test with regexp.
2111
1c2bec19
GB
21122020-11-02 Gary Benson <gbenson@redhat.com>
2113
2114 * gdb.base/print-file-var.exp (test): Separate compiler and
2115 linker options, and build using build_executable_from_specs
2116 to accommodate this.
2117
6539a36d
GB
21182020-11-02 Gary Benson <gbenson@redhat.com>
2119
2120 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2121 for .c files compiled as C++ with Clang if any shared
2122 libraries are specified.
2123
7ea44a51
GB
21242020-11-02 Gary Benson <gbenson@redhat.com>
2125
2126 * lib/attributes.h: New header.
2127 * gdb.base/backtrace.c: Include the above. Replace
2128 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2129 * gdb.base/infcall-nested-structs.c: Likewise.
2130 * gdb.base/vla-optimized-out.c: Likewise.
2131
ab8f783d
TV
21322020-11-02 Tom de Vries <tdevries@suse.de>
2133
2134 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2135
d77c9224
JB
21362020-11-01 Joel Brobecker <brobecker@adacore.com>
2137
2138 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2139 System.Min_Int and System.Max_Int with smaller hardcoded
2140 constants.
2141
0e5b0dd0
SM
21422020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2143
2144 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2145 * configure: Re-generate.
2146
136821d9
SM
21472020-10-30 Simon Marchi <simon.marchi@efficios.com>
2148
2149 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2150 expected output.
2151
b78b3a29
TBA
21522020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2153
2154 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2155 behavior.
2156 * gdb.base/paginate-bg-execution.exp: Ditto.
2157 * gdb.base/paginate-inferior-exit.exp: Ditto.
2158 * gdb.base/double-prompt-target-event-error.c: Remove.
2159 * gdb.base/double-prompt-target-event-error.exp: Remove.
2160
cfaa8f76
TBA
21612020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2162
2163 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2164 inferiors' and 'detach inferiors' do not change the current
2165 inferior.
2166
0ad0e70c
TV
21672020-10-29 Tom de Vries <tdevries@suse.de>
2168
2169 * gdb.threads/tls.exp: Fix DUPLICATEs.
2170
99cc6b2a
TV
21712020-10-28 Tom de Vries <tdevries@suse.de>
2172
2173 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2174
efe9b873
TV
21752020-10-28 Tom de Vries <tdevries@suse.de>
2176
2177 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2178 * gdb.base/reread.exp: Same.
2179
6b68fd45
TV
21802020-10-28 Tom de Vries <tdevries@suse.de>
2181
2182 * lib/gdb.exp (readnow): Handle arg.
2183 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2184
32a5f98a
TV
21852020-10-28 Tom de Vries <tdevries@suse.de>
2186
2187 * gdb.base/relocate.exp: Update regexp for -readnow.
2188
f93b8760
TV
21892020-10-28 Tom de Vries <tdevries@suse.de>
2190
2191 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2192 -readnow.
2193
1b00ef06
TV
21942020-10-28 Tom de Vries <tdevries@suse.de>
2195
2196 PR symtab/26772
2197 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2198 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2199
364bb903
TV
22002020-10-28 Tom de Vries <tdevries@suse.de>
2201
2202 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2203 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2204 complaint during file command for -readnow.
2205
445a033f
TV
22062020-10-28 Tom de Vries <tdevries@suse.de>
2207
2208 * gdb.cp/nsalias.exp: Fix typo in test name.
2209
fdd67a42
TV
22102020-10-28 Tom de Vries <tdevries@suse.de>
2211
2212 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2213
706baf4c
TV
22142020-10-28 Tom de Vries <tdevries@suse.de>
2215
2216 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2217 -readnow.
2218
b448cca5
TV
22192020-10-27 Tom de Vries <tdevries@suse.de>
2220
2221 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2222
5868da03
TV
22232020-10-27 Tom de Vries <tdevries@suse.de>
2224
2225 * gdb.base/maint.exp: Update for -readnow.
2226
06db6ec3
TV
22272020-10-27 Tom de Vries <tdevries@suse.de>
2228
2229 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2230 -readnow.
2231
934a1764
GB
22322020-10-14 Gary Benson <gbenson@redhat.com>
2233
2234 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2235 "_vptr$Base" as correct, in addition to "_vptr.Base".
2236 (test_mixed): Likewise.
2237
0bf21fbd
GB
22382020-10-27 Gary Benson <gbenson@redhat.com>
2239
2240 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2241 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2242
b1d4d8d1
TBA
22432020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2244
2245 * gdb.base/condbreak.exp: Update the completion tests to
2246 consider the '-force' flag.
2247
bd24c5d6
TV
22482020-10-27 Tom de Vries <tdevries@suse.de>
2249
2250 * gdb.base/list-ambiguous-readnow.exp: New file.
2251
733d554a
TBA
22522020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2253
2254 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2255 the condition.
2256 * gdb.linespec/cpcompletion.exp: Update to consider the
2257 '-force-condition' keyword.
2258 * gdb.linespec/explicit.exp: Ditto.
2259 * lib/completion-support.exp: Ditto.
2260
b5fa468f
TBA
22612020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2262
2263 * gdb.base/condbreak-multi-context.cc: New file.
2264 * gdb.base/condbreak-multi-context.exp: New file.
2265
b3247276
TT
22662020-10-26 Tom Tromey <tom@tromey.com>
2267
2268 * lib/mi-support.exp (default_mi_gdb_start): Call
2269 gdb_stdin_log_init.
2270 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2271 subtract one from gdb_instances.
2272 (gdb_stdin_log_write): Flush in_file.
2273
1c47ec3e
TV
22742020-10-26 Tom de Vries <tdevries@suse.de>
2275
2276 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2277
6390859c
TT
22782020-10-26 Tom Tromey <tromey@adacore.com>
2279
2280 * gdb.ada/unsigned_range/foo.adb: New file.
2281 * gdb.ada/unsigned_range/pack.adb: New file.
2282 * gdb.ada/unsigned_range/pack.ads: New file.
2283 * gdb.ada/unsigned_range.exp: New file.
2284
55c3ad88
TV
22852020-10-26 Tom de Vries <tdevries@suse.de>
2286
2287 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2288
1612c4bb
TV
22892020-10-26 Tom de Vries <tdevries@suse.de>
2290
2291 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2292 for CU.
2293 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2294
7d72802b
TV
22952020-10-23 Tom de Vries <tdevries@suse.de>
2296
2297 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2298 DW_FORM_string.
2299 (Dwarf::_default_form): New proc.
2300 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2301 guessed.
2302
9476b583
TV
23032020-10-23 Tom de Vries <tdevries@suse.de>
2304
2305 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2306 * gdb.dwarf2/atomic-type.exp: Same.
2307 * gdb.dwarf2/bad-regnum.exp: Same.
2308 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2309 * gdb.dwarf2/dw2-align.exp: Same.
2310 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2311 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2312 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2313 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2314 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2315 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2316 * gdb.dwarf2/enum-type.exp: Same.
2317 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2318 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2319 * gdb.dwarf2/main-subprogram.exp: Same.
2320 * gdb.dwarf2/missing-type-name.exp: Same.
2321 * gdb.dwarf2/nonvar-access.exp: Same.
2322 * gdb.dwarf2/typedef-void-finish.exp: Same.
2323 * gdb.dwarf2/var-access.exp: Same.
2324 * gdb.dwarf2/void-type.exp: Same.
2325
4a636814
SM
23262020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2327
2328 PR gdb/26693
2329 * gdb.dwarf2/template-specification-full-name.exp: New test.
2330
557fc257
LM
23312020-10-22 Luis Machado <luis.machado@linaro.org>
2332
2333 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2334 expected an offset from the function.
2335 * gdb.base/msym-bp.exp (test): Likewise.
2336
6b4c676c
AB
23372020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2338
2339 * gdb.fortran/array-slices.exp: Add a new test.
2340
98cec4f6
GB
23412020-10-21 Gary Benson <gbenson@redhat.com>
2342
2343 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2344 fullname test with Clang. Also expand comments generally.
2345
ae86f581
TV
23462020-10-20 Tom de Vries <tdevries@suse.de>
2347
2348 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2349
8c161360
TV
23502020-10-20 Tom de Vries <tdevries@suse.de>
2351
2352 * gdb.dwarf2/arr-stride.c: Remove.
2353 * gdb.dwarf2/arr-stride.exp: Use main.c.
2354 * gdb.dwarf2/arr-subrange.c: Remove.
2355 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2356 * gdb.dwarf2/bad-regnum.c: Remove.
2357 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2358 * gdb.dwarf2/corrupt.c: Remove.
2359 * gdb.dwarf2/corrupt.exp: Use main.c.
2360 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2361 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2362 * gdb.dwarf2/dw2-icycle.c: Remove.
2363 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2364 * gdb.dwarf2/formdata16.c: Remove.
2365 * gdb.dwarf2/formdata16.exp: Use main.c.
2366 * gdb.dwarf2/implptrconst.c: Remove.
2367 * gdb.dwarf2/implptrconst.exp: Use main.c.
2368 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2369 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2370 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2371 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2372
9c2412ec
TV
23732020-10-20 Tom de Vries <tdevries@suse.de>
2374
2375 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2376 file.
2377 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2378
0cd2ad78
TV
23792020-10-20 Tom de Vries <tdevries@suse.de>
2380
2381 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2382 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2383 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2384 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2385 * gdb.dwarf2/dw2-ranges.exp: Same.
2386 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2387 * gdb.dwarf2/var-access.exp: Same.
2388
22cc388e
TT
23892020-10-19 Tom Tromey <tromey@adacore.com>
2390
2391 PR tui/26719
2392 * gdb.tui/list.exp: Check source window contents after focus
2393 change.
2394
520596f2
TV
23952020-10-17 Tom de Vries <tdevries@suse.de>
2396
2397 PR symtab/26317
2398 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2399
d1c8a76d
TV
24002020-10-17 Tom de Vries <tdevries@suse.de>
2401
2402 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2403 as suffix.
2404 * gdb.dwarf2/atomic.c: Rename to ...
2405 * gdb.dwarf2/atomic-type.c: ... this.
2406 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2407 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2408 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2409 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2410 * gdb.dwarf2/fission-mix2.c: Rename to ...
2411 * gdb.dwarf2/fission-mix-2.c: ... this.
2412 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2413 standard_testfile.
2414 * gdb.dwarf2/ada-valprint-error.exp: Same.
2415 * gdb.dwarf2/arr-stride.exp: Same.
2416 * gdb.dwarf2/arr-subrange.exp: Same.
2417 * gdb.dwarf2/atomic-type.exp: Same.
2418 * gdb.dwarf2/bad-regnum.exp: Same.
2419 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2420 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2421 * gdb.dwarf2/clang-debug-names.exp: Same.
2422 * gdb.dwarf2/comp-unit-lang.exp: Same.
2423 * gdb.dwarf2/corrupt.exp: Same.
2424 * gdb.dwarf2/count.exp: Same.
2425 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2426 * gdb.dwarf2/data-loc.exp: Same.
2427 * gdb.dwarf2/dw2-align.exp: Same.
2428 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2429 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2430 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2431 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2432 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2433 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2434 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2435 * gdb.dwarf2/dw2-inline-param.exp: Same.
2436 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2437 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2438 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2439 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2440 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2441 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2442 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2443 * gdb.dwarf2/dw2-param-error.exp: Same.
2444 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2445 * gdb.dwarf2/dw2-ranges.exp: Same.
2446 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2447 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2448 * gdb.dwarf2/dw4-sig-types.exp: Same.
2449 * gdb.dwarf2/dynarr-ptr.exp: Same.
2450 * gdb.dwarf2/enum-type.exp: Same.
2451 * gdb.dwarf2/fission-mix.exp: Same.
2452 * gdb.dwarf2/formdata16.exp: Same.
2453 * gdb.dwarf2/implptrconst.exp: Same.
2454 * gdb.dwarf2/implptrpiece.exp: Same.
2455 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2456 * gdb.dwarf2/main-subprogram.exp: Same.
2457 * gdb.dwarf2/method-ptr.exp: Same.
2458 * gdb.dwarf2/missing-sig-type.exp: Same.
2459 * gdb.dwarf2/nonvar-access.exp: Same.
2460 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2461 * gdb.dwarf2/shortpiece.exp: Same.
2462 * gdb.dwarf2/staticvirtual.exp: Same.
2463 * gdb.dwarf2/subrange.exp: Same.
2464 * gdb.dwarf2/symtab-producer.exp: Same.
2465 * gdb.dwarf2/typedef-void-finish.exp: Same.
2466 * gdb.dwarf2/var-access.exp: Same.
2467 * gdb.dwarf2/variant.exp: Same.
2468 * gdb.dwarf2/void-type.exp: Same.
2469 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2470 dw2-ranges-main.c.
2471 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2472
472d09c1
TV
24732020-10-16 Tom de Vries <tdevries@suse.de>
2474
2475 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2476
afe75f6d
TV
24772020-10-16 Tom de Vries <tdevries@suse.de>
2478
2479 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2480
8c8bd0ba
TV
24812020-10-14 Tom de Vries <tdevries@suse.de>
2482
2483 PR testsuite/26732
2484 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2485 scenario 2.
2486 * gdb.ada/mi_catch_ex_hand.exp: Same.
2487
b75d55d4
PA
24882020-10-13 Pedro Alves <pedro@palves.net>
2489
2490 * lib/mi-support.exp (mi_clean_restart): New.
2491 (mi_run_to_main): Delete.
2492 All callers adjust to use mi_clean_restart / mi_runto_main.
2493
e777225b
PA
24942020-10-13 Pedro Alves <pedro@palves.net>
2495
2496 * config/monitor.exp: Use "list -q".
2497 * gdb.arch/gdb1558.exp: Use "break -q".
2498 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2499 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2500 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2501 * gdb.base/commands.exp: Use "break -q".
2502 * gdb.base/condbreak.exp: Use "break -q".
2503 * gdb.base/ctf-ptype.exp: Use "list -q".
2504 * gdb.base/define.exp: Use "break -q".
2505 * gdb.base/del.exp: Use "break -q".
2506 * gdb.base/fullname.exp: Use "break -q".
2507 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2508 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2509 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2510 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2511 "hbreak -q".
2512 * gdb.base/included.exp: Use "list -q".
2513 * gdb.base/label.exp: Use "break -q".
2514 * gdb.base/lineinc.exp: Use "break -q".
2515 * gdb.base/list.exp: Use "list -q".
2516 * gdb.base/macscp.exp: Use "list -q".
2517 * gdb.base/pending.exp: Use "break -q".
2518 * gdb.base/prologue-include.exp: Use "break -q".
2519 * gdb.base/ptype.exp: Use "list -q".
2520 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2521 * gdb.base/server-del-break.exp: Use "break -q".
2522 * gdb.base/style.exp: Use "break -q".
2523 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2524 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2525 * gdb.cp/exception.exp: Use "tbreak -q".
2526 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2527 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2528 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2529 * gdb.dwarf2/pr13961.exp: Use "break -q".
2530 * gdb.linespec/explicit.exp: Use "list -q".
2531 * gdb.linespec/linespec.exp: Use "break -q".
2532 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2533 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2534 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2535 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2536 * gdb.trace/change-loc.exp: Use "break -q".
2537 * gdb.trace/pending.exp: Use "break -q".
2538 * gdb.tui/basic.exp: Use "list -q".
2539 * gdb.tui/list-before.exp: Use "list -q".
2540 * gdb.tui/list.exp: Use "list -q".
2541 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2542
8abd8ee8
PA
25432020-10-13 Pedro Alves <pedro@palves.net>
2544
2545 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2546 saved breakpoints file.
2547 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2548 inspecting breakpoint list.
2549 * lib/gdb.exp (runto_main): Add "qualified" to options.
2550 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2551 and handle it.
2552 (mi_runto_main): Pass 1 as qualified argument.
2553
f71e6719
PA
25542020-10-13 Pedro Alves <pedro@palves.net>
2555
2556 * lib/mi-support.exp (mi_runto_main): New proc.
2557 (mi_run_to_main): Use it.
2558 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2559 * gdb.mi/mi-var-cmd.exp: Likewise.
2560 * gdb.mi/mi-var-invalidate.exp: Likewise.
2561 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2562 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2563 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2564 * gdb.mi/user-selected-context-sync.exp: Likewise.
2565 * gdb.opt/inline-cmds.exp: Likewise.
2566 * gdb.python/py-framefilter-mi.exp: Likewise.
2567 * gdb.python/py-mi.exp: Likewise.
2568
50441f0f
PA
25692020-10-13 Pedro Alves <pedro@palves.net>
2570
2571 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2572 "runto main".
2573 * gdb.ada/small_reg_param.exp: Likewise.
2574 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2575 * gdb.base/annota1.exp: Likewise.
2576 * gdb.base/anon.exp: Likewise.
2577 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2578 * gdb.base/dprintf-non-stop.exp: Likewise.
2579 * gdb.base/dprintf.exp: Likewise.
2580 * gdb.base/gdb11530.exp: Likewise.
2581 * gdb.base/gdb11531.exp: Likewise.
2582 * gdb.base/gnu_vector.exp: Likewise.
2583 * gdb.base/interrupt-noterm.exp: Likewise.
2584 * gdb.base/memattr.exp: Likewise.
2585 * gdb.base/step-over-syscall.exp: Likewise.
2586 * gdb.base/watch-cond-infcall.exp: Likewise.
2587 * gdb.base/watch-read.exp: Likewise.
2588 * gdb.base/watch-vfork.exp: Likewise.
2589 * gdb.base/watch_thread_num.exp: Likewise.
2590 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2591 * gdb.guile/scm-frame-inline.exp: Likewise.
2592 * gdb.linespec/explicit.exp: Likewise.
2593 * gdb.opt/inline-break.exp: Likewise.
2594 * gdb.python/py-frame-inline.exp: Likewise.
2595 * gdb.reverse/break-precsave.exp: Likewise.
2596 * gdb.reverse/break-reverse.exp: Likewise.
2597 * gdb.reverse/consecutive-precsave.exp: Likewise.
2598 * gdb.reverse/consecutive-reverse.exp: Likewise.
2599 * gdb.reverse/finish-precsave.exp: Likewise.
2600 * gdb.reverse/finish-reverse.exp: Likewise.
2601 * gdb.reverse/fstatat-reverse.exp: Likewise.
2602 * gdb.reverse/getresuid-reverse.exp: Likewise.
2603 * gdb.reverse/i386-precsave.exp: Likewise.
2604 * gdb.reverse/i386-reverse.exp: Likewise.
2605 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2606 * gdb.reverse/i387-env-reverse.exp: Likewise.
2607 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2608 * gdb.reverse/insn-reverse.exp: Likewise.
2609 * gdb.reverse/machinestate-precsave.exp: Likewise.
2610 * gdb.reverse/machinestate.exp: Likewise.
2611 * gdb.reverse/pipe-reverse.exp: Likewise.
2612 * gdb.reverse/readv-reverse.exp: Likewise.
2613 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2614 * gdb.reverse/rerun-prec.exp: Likewise.
2615 * gdb.reverse/s390-mvcle.exp: Likewise.
2616 * gdb.reverse/solib-precsave.exp: Likewise.
2617 * gdb.reverse/solib-reverse.exp: Likewise.
2618 * gdb.reverse/step-precsave.exp: Likewise.
2619 * gdb.reverse/step-reverse.exp: Likewise.
2620 * gdb.reverse/time-reverse.exp: Likewise.
2621 * gdb.reverse/until-precsave.exp: Likewise.
2622 * gdb.reverse/until-reverse.exp: Likewise.
2623 * gdb.reverse/waitpid-reverse.exp: Likewise.
2624 * gdb.reverse/watch-precsave.exp: Likewise.
2625 * gdb.reverse/watch-reverse.exp: Likewise.
2626 * gdb.threads/kill.exp: Likewise.
2627 * gdb.threads/tid-reuse.exp: Likewise.
2628
d3a07122
SM
26292020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2630
2631 PR gdb/26642
2632 * gdb.base/maint-target-async-off.c: New test.
2633 * gdb.base/maint-target-async-off.exp: New test.
2634
c65c6c42
AM
26352020-10-13 Alan Modra <amodra@gmail.com>
2636
2637 * gdb.arch/powerpc-altivec.s,
2638 * gdb.arch/powerpc-power7.s,
2639 * gdb.arch/powerpc-power8.s,
2640 * gdb.arch/powerpc-power9.s,
2641 * gdb.arch/powerpc-vsx.s,
2642 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2643 * gdb.arch/powerpc-altivec.exp,
2644 * gdb.arch/powerpc-power7.exp,
2645 * gdb.arch/powerpc-power8.exp,
2646 * gdb.arch/powerpc-power9.exp,
2647 * gdb.arch/powerpc-vsx.exp,
2648 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2649 disassembly of mfvsrd/mtvsrd.
2650
f4a0f710
AM
26512020-10-13 Alan Modra <amodra@gmail.com>
2652
2653 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2654 "target architecture" output.
2655 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2656 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2657 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2658 * gdb.arch/s390-disassembler-options.exp: Likewise.
2659
87a37e5e
PA
26602020-10-12 Pedro Alves <pedro@palves.net>
2661
2662 PR exp/26602
2663 PR c++/26550
2664 * gdb.cp/ambiguous.cc (marker1): Delete.
2665 (main): Initialize all the fields of the locals. Replace marker1
2666 call with a "set breakpoint here" marker.
2667 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2668 instead of running to marker1. Add tests printing all the
2669 variables and all the fields of the variables.
2670 (test_ambiguous): New proc, expecting the new GDB output when a
2671 field access is ambiguous. Change all "warning: X ambiguous"
2672 tests to use it.
2673
71e1b6b0
GB
26742020-10-12 Gary Benson <gbenson@redhat.com>
2675
2676 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2677 * gdb.base/msym-bp-2.c (foo): Likewise.
2678 * gdb.base/msym-lang.c (foo): Likewise.
2679 * gdb.base/msym-lang-main.c (foo): Likewise.
2680 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2681 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2682 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2683 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2684 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2685 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2686 * gdb.python/py-objfile.c (static_var): Likewise.
2687 * gdb.python/py-symbol.c (rr): Likewise.
2688 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2689 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2690
9370fd51
AB
26912020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2692
2693 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2694 output of backtrace.
2695
7c184d33
TT
26962020-10-09 Tom Tromey <tromey@adacore.com>
2697
2698 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2699 (Rec): Add field. Fix range.
2700 * gdb.ada/scalar_storage.exp: Update.
2701
3d87245c
HD
27022020-10-09 Hannes Domani <ssbssa@yahoo.de>
2703
2704 PR exp/26714
2705 * gdb.base/printcmds.exp: Add tests for void results.
2706
f5c4b229
JV
27072020-10-09 Jan Vrany <jan.vrany@labware.com>
2708
2709 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2710 is emmited for both 'set directories' and 'directory' commands.
2711
b2701685
TT
27122020-10-08 Tom Tromey <tom@tromey.com>
2713
2714 * gdb.base/style.exp: Check that "main"'s name is styled.
2715
e86efb33
TT
27162020-10-07 Tom Tromey <tromey@adacore.com>
2717
2718 * gdb.base/find.exp: Rename some tests.
2719
30897591
GB
27202020-10-06 Gary Benson <gbenson@redhat.com>
2721
2722 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2723 * gdb.base/list1.c (unused): Likewise.
2724
ced4a4c1
GB
27252020-10-06 Gary Benson <gbenson@redhat.com>
2726
2727 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2728 __attribute__ ((used)).
2729 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2730
ed3bdac4
AB
27312020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2732
2733 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2734 make use of regions throughout.
2735 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2736 not {...}.
2737 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2738
cd096ec8
HD
27392020-10-05 Hannes Domani <ssbssa@yahoo.de>
2740
2741 * gdb.base/call-sc.c: Fix return struct on stack test case.
2742 * gdb.base/call-sc.exp: Likewise.
2743
3ee6f75d
GB
27442020-10-02 Gary Benson <gbenson@redhat.com>
2745
2746 * README: Fix "paralell".
2747
f65825ec
GB
27482020-09-30 Gary Benson <gbenson@redhat.com>
2749
2750 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2751 Convert directive to lowercase.
2752 (.Labbrev1_begin): Add missing label.
2753 (abbrev code 0x1): Remove DW_AT_stmt_list.
2754 (.Ldie_b): Likewise.
2755
5f278258
TT
27562020-09-27 Tom Tromey <tom@tromey.com>
2757
2758 * gdb.tui/new-layout.exp: Use with_test_prefix.
2759
8f9929bb
GR
27602020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2761
2762 PR python/26586
2763 * gdb.python/python.exp: add test cases for the from_tty
2764 argument to gdb.execute.
2765
c20c017b
GB
27662020-09-25 Gary Benson <gbenson@redhat.com>
2767
2768 * gdb.base/infcall-nested-structs.exp.tcl: Add
2769 additional_flags=-Wno-tautological-compare for C++
2770 tests when compiling using Clang.
2771
68d654af
GB
27722020-09-25 Gary Benson <gbenson@redhat.com>
2773
2774 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2775 for .c files.
2776
b551a89f
TT
27772020-09-24 Tom Tromey <tromey@adacore.com>
2778
2779 PR tui/26638:
2780 * gdb.tui/list.exp: Check output of "focus next".
2781
20a5fcbd
TT
27822020-09-23 Tom Tromey <tom@tromey.com>
2783
2784 * gdb.dwarf2/intbits.exp: New file.
2785 * gdb.dwarf2/intbits.c: New file.
2786
b167e53f
PA
27872020-09-20 Pedro Alves <pedro@palves.net>
2788
2789 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2790 spawn_id before calling remote_close. Close secondary MI channel.
2791
dbc49e9f
PA
27922020-09-20 Pedro Alves <pedro@palves.net>
2793
2794 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2795 fails.
2796
c8d5abea
AB
27972020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2798
2799 * gdb.fortran/array-slices.exp: Update expected results.
2800 * gdb.fortran/class-allocatable-array.exp: Likewise.
2801 * gdb.fortran/multi-dim.exp: Likewise.
2802 * gdb.fortran/vla-type.exp: Likewise.
2803 * gdb.mi/mi-vla-fortran.exp: Likewise.
2804
14f9473c
VC
28052020-09-18 Victor Collod <vcollod@nvidia.com>
2806
2807 PR gdb/26635
2808 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2809 compatible with i386, and move it to...
2810 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2811 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2812 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2813
e8ef12b9
PA
28142020-09-18 Pedro Alves <pedro@palves.net>
2815
2816 PR gdb/26631
2817 * gdb.multi/multi-target-thread-find.exp: New file.
2818
e11daf7a
PA
28192020-09-18 Pedro Alves <pedro@palves.net>
2820
2821 * gdb.multi/multi-target-continue.exp: New file, factored out from
2822 multi-target.exp.
2823 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2824 multi-target.exp.
2825 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2826 multi-target.exp.
2827 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2828 multi-target.exp.
2829 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2830 multi-target.exp.
2831 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2832 multi-target.exp.
2833 * gdb.multi/multi-target.exp: Delete.
2834
d0edc2b8
AB
28352020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2836
2837 * gdb.fortran/array-slices.exp: Add missing message data.
2838
7474326c
PA
28392020-09-17 Pedro Alves <pedro@palves.net>
2840
2841 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2842
dd23068d
PA
28432020-09-17 Pedro Alves <pedro@palves.net>
2844
2845 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2846 full prototype.
2847
0640a543
PA
28482020-09-17 Pedro Alves <pedro@palves.net>
2849
2850 * gdb.python/py-as-string.c: Add cast.
2851
ef0cdbc1
PA
28522020-09-17 Pedro Alves <pedro@palves.net>
2853
2854 * gdb.base/sizeof.c (fill): Add cast.
2855
3a5eeb8b
PA
28562020-09-17 Pedro Alves <pedro@palves.net>
2857
2858 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2859
a8129512
PA
28602020-09-17 Pedro Alves <pedro@palves.net>
2861
2862 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2863 linkage name.
2864 * gdb.base/prologue.exp: Use print /d.
2865 * gdb.base/symbol-alias.exp: Handle C++ output.
2866 * gdb.base/symbol-alias2.c: Handle C++ output.
2867 [__cplusplus] (func): Explicitly specify linkage name.
2868
a83cdcb6
PA
28692020-09-17 Pedro Alves <pedro@palves.net>
2870
2871 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2872 (struct my_key_t): ... this. Adjust all references.
2873 (struct value_t): Rename to ...
2874 (struct my_value_t): ... this. Adjust all references.
2875 (create_map, add_map_element, create_map_map)
2876 (add_map_map_element): Add casts.
2877
d4bcee5c
PA
28782020-09-17 Pedro Alves <pedro@palves.net>
2879
2880 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2881 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2882
81f90489
PA
28832020-09-17 Pedro Alves <pedro@palves.net>
2884
2885 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2886
0a229804
PA
28872020-09-17 Pedro Alves <pedro@palves.net>
2888
2889 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2890 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2891 (charfoo, intfoo): Define full prototype.
2892 * gdb.base/ptype1.c (charfoo): Define full prototype.
2893 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2894 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2895
c3e5138d
PA
28962020-09-17 Pedro Alves <pedro@palves.net>
2897
2898 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2899 Don't define.
2900 (utf_32_string): Compile for both C and C++.
2901 * gdb.base/charset.exp: Use "print /d".
2902
151fdbad
PA
29032020-09-17 Pedro Alves <pedro@palves.net>
2904
2905 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2906 (nullptr): Rename to ...
2907 (null_ptr): ... this.
2908 * gdb.base/watchpoint.exp: Adjust to rename.
2909
18a25b64
PA
29102020-09-17 Pedro Alves <pedro@palves.net>
2911
2912 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2913 (three_not_flag): Add casts.
2914
11fac337
PA
29152020-09-17 Pedro Alves <pedro@palves.net>
2916
2917 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2918 char array.
2919 (main): Add references to Barrier, TestStrings, TestStringsH and
2920 TestStringsW.
2921 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2922 and expect a full prototype in C++.
2923
52626c58
PA
29242020-09-17 Pedro Alves <pedro@palves.net>
2925
2926 * gdb.base/nested-addr.c (main): Add cast.
2927 * gdb.base/nested-addr.exp: Use "print /d".
2928
52bb0902
PA
29292020-09-17 Pedro Alves <pedro@palves.net>
2930
2931 * gdb.base/break.exp (func): New. Use it throughout when
2932 expecting a function name.
2933
73e18ac9
PA
29342020-09-17 Pedro Alves <pedro@palves.net>
2935
2936 * gdb.base/display.exp: Issue "set print asm-demangle on".
2937
c8b18808
PA
29382020-09-17 Pedro Alves <pedro@palves.net>
2939
2940 * gdb.base/find.c: Include <string.h>.
2941 (init_bufs): Add cast.
2942 * gdb.base/find.exp: Issue "set print asm-demangle on".
2943
fe830662
TT
29442020-09-16 Tom Tromey <tromey@adacore.com>
2945
2946 PR gdb/26598:
2947 * gdb.base/skipcxx.exp: New file.
2948 * gdb.base/skipcxx.cc: New file.
2949
945ff6e2
TV
29502020-09-16 Tom de Vries <tdevries@suse.de>
2951
2952 PR testsuite/26617
2953 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2954 WITH_DEBUG_SECTIONS is defined.
2955 (xstr, str): New macro.
2956 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2957 to get start and size of _Dmain.
2958 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2959 using additional_flags.
2960
da1df1db
TBA
29612020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2962
2963 * gdb.base/bp-cmds-sourced-script.c: New file.
2964 * gdb.base/bp-cmds-sourced-script.exp: New test.
2965 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2966
337882d4
TV
29672020-09-16 Tom de Vries <tdevries@suse.de>
2968
2969 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2970 get the gdb prompt after issuing "monitor exit".
2971
7361f908
TV
29722020-09-16 Tom de Vries <tdevries@suse.de>
2973
2974 PR testsuite/26624
2975 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2976
4d91ddd3
TV
29772020-09-16 Tom de Vries <tdevries@suse.de>
2978
2979 PR testsuite/26618
2980 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2981
08cc37dd
TT
29822020-09-15 Tom Tromey <tromey@adacore.com>
2983
2984 PR rust/26197:
2985 * lib/rust-support.exp (rust_llvm_version): New proc.
2986 * gdb.rust/simple.exp: Check rust_llvm_version.
2987
ee6372f2
TV
29882020-09-14 Tom de Vries <tdevries@suse.de>
2989
2990 * gdb.rust/traits.exp: Fix PATH warning.
2991
dc3a371e
PA
29922020-09-13 Pedro Alves <pedro@palves.net>
2993
2994 * gdb.base/catch-follow-exec.c (main): Add explicit return
2995 statement.
2996 * gdb.base/catch-signal.c (main): Likewise.
2997 * gdb.base/condbreak-call-false.c (main): Likewise.
2998 * gdb.base/consecutive.c (main): Add explicit return
2999 statement and return type.
3000 * gdb.base/cursal.c (main): Add explicit return statement.
3001 * gdb.base/cvexpr.c (main): Likewise.
3002 * gdb.base/display.c (main): Add explicit return statement and
3003 return type.
3004 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
3005 * gdb.base/endianity.c (main): Likewise.
3006 * gdb.base/execd-prog.c (main): Likewise.
3007 * gdb.base/gdb1090.c (main): Likewise.
3008 * gdb.base/info_qt.c (main): Likewise.
3009 * gdb.base/lineinc.c (main): Likewise.
3010 * gdb.base/load-command.c (main): Likewise.
3011 * gdb.base/macscp1.c (main): Likewise.
3012 * gdb.base/pr10179-a.c (main): Likewise.
3013 * gdb.base/quit-live.c (main): Likewise.
3014 * gdb.base/scope0.c (main): Likewise.
3015 * gdb.base/settings.c (main): Likewise.
3016 * gdb.base/stack-checking.c (main): Return int.
3017 * gdb.base/varargs.c (main): Add explicit return statement.
3018 * gdb.cp/ambiguous.cc (main): Likewise.
3019 * gdb.cp/anon-struct.cc (main): Likewise.
3020 * gdb.cp/anon-union.cc (main): Likewise.
3021 * gdb.cp/bool.cc (main): Likewise.
3022 * gdb.cp/bs15503.cc (main): Likewise.
3023 * gdb.cp/cplusfuncs.cc (main): Likewise.
3024 * gdb.cp/cttiadd.cc (main): Likewise.
3025 * gdb.cp/extern-c.cc (main): Likewise.
3026 * gdb.cp/filename.cc (main): Likewise.
3027 * gdb.cp/formatted-ref.cc (main): Likewise.
3028 * gdb.cp/mb-ctor.cc (main): Likewise.
3029 * gdb.cp/member-ptr.cc (main): Likewise.
3030 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
3031 * gdb.cp/overload-const.cc (main): Likewise.
3032 * gdb.cp/paren-type.cc (main): Likewise.
3033 * gdb.cp/parse-lang.cc (main): Likewise.
3034 * gdb.cp/pr-1023.cc (main): Likewise.
3035 * gdb.cp/psmang1.cc (main): Likewise.
3036 * gdb.cp/readnow-language.cc (main): Likewise.
3037 * gdb.cp/ref-params.cc (main): Likewise.
3038 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
3039 * gdb.cp/virtbase2.cc (main): Likewise.
3040 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
3041 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
3042 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
3043 * gdb.mi/mi-console.c (main): Likewise.
3044 * gdb.mi/mi-read-memory.c (main): Likewise.
3045 * gdb.modula2/multidim.c (main): Likewise.
3046 * gdb.opt/inline-small-func.c (main): Likewise.
3047 * gdb.python/py-rbreak.c (main): Likewise.
3048 * gdb.stabs/exclfwd1.c (main): Likewise.
3049 * gdb.trace/qtro.c (main): Likewise.
3050
af26601c
PA
30512020-09-13 Pedro Alves <pedro@palves.net>
3052
3053 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
3054 instead of getenv.
3055
2f4b83cd
PA
30562020-09-13 Pedro Alves <pedro@palves.net>
3057
3058 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
3059 instead of spawning GDB with remote_spawn.
3060 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
3061 gdb_spawn instead of spawning GDB with remote_spawn.
3062
c49da0e4
PA
30632020-09-13 Pedro Alves <pedro@palves.net>
3064
3065 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
3066 file and add calls to first and second.
3067 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
3068 add call to f.
3069
6791b117
PA
30702020-09-13 Pedro Alves <pedro@palves.net>
3071
3072 * gdb.mi/mi-break-qualified.cc: New file.
3073 * gdb.mi/mi-break-qualified.exp: New file.
3074 * lib/mi-support.exp (mi_create_breakpoint_multi)
3075 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
3076 procedures.
3077 (mi_create_breakpoint_1): New, factored out from
3078 mi_create_breakpoint.
3079
3b8d4c5c
PA
30802020-09-13 Pedro Alves <pedro@palves.net>
3081
3082 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3083 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3084 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3085 (register_class): Delete.
3086 (main): Don't call register_class.
3087
d5f96005
PA
30882020-09-13 Pedro Alves <pedro@palves.net>
3089
3090 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3091 (do_tests): Remove "calling method for small class" test.
3092 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3093 (register_class): Delete.
3094 (main): Don't call register_class.
3095 * gdb.cp/call-method-register.exp: New file, based on bits removed
3096 from classes.exp.
3097 * gdb.cp/call-method-register.cc: New file, based on bits removed
3098 from classes.cc.
3099
77f2120b
PA
31002020-09-13 Pedro Alves <pedro@palves.net>
3101
3102 * gdb.base/msym-bp-2.c: New.
3103 * gdb.base/msym-bp-shl-lib.c: New file.
3104 * gdb.base/msym-bp-shl-main-2.c: New file.
3105 * gdb.base/msym-bp-shl-main.c: New file.
3106 * gdb.base/msym-bp-shl.exp: New file.
3107 * gdb.base/msym-bp.c: New file.
3108 * gdb.base/msym-bp.exp: New file.
3109
32aea73e
JB
31102020-09-13 Joel Brobecker <brobecker@adacore.com>
3111
3112 * gdb.base/default.exp: Change $_gdb_major to 11.
3113
2a67f09d
FW
31142020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3115 Felix Willgerodt <Felix.Willgerodt@intel.com>
3116
3117 * x86-avx512bf16.c: New file.
3118 * x86-avx512bf16.exp: Likewise.
3119 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3120
ad570dd7
TV
31212020-09-11 Tom de Vries <tdevries@suse.de>
3122
3123 PR exp/26602
3124 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3125
a56f7391
TBA
31262020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3127
3128 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3129
918619e5
AM
31302020-09-10 Alan Modra <amodra@gmail.com>
3131
3132 PR 26597
3133 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3134
cac1e71d
TV
31352020-09-08 Tom de Vries <tdevries@suse.de>
3136
3137 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3138 after gdb_starti_cmd.
3139
c5cd900e
AKS
31402020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3141
3142 * lib/fortran.exp (fortran_complex8): New proc.
3143 (fortran_complex16): New proc.
3144 * gdb.fortran/complex.exp: Use routines from fortran.exp
3145 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3146 * gdb.fortran/vla-ptr-info.exp: Likewise.
3147
8f5c6526
TV
31482020-09-03 Tom de Vries <tdevries@suse.de>
3149
3150 PR breakpoint/26546
3151 * gdb.base/label-without-address.exp: Runto main first.
3152
02c6f3f1
TT
31532020-09-02 Tom Tromey <tromey@adacore.com>
3154
3155 * gdb.ada/mi_var_access.exp: Test children of access variable.
3156 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3157 * gdb.ada/mi_var_array.exp: Update.
3158
efe24f05
KB
31592020-08-31 Kevin Buettner <kevinb@redhat.com>
3160
3161 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3162 on docker w/ AUFS storage driver.
3163
973695d6
KB
31642020-08-31 Kevin Buettner <kevinb@redhat.com>
3165
3166 * gdb.base/corefile2.exp (renamed binfile): New tests.
3167
f3bd50f1
SM
31682020-08-31 Simon Marchi <simon.marchi@efficios.com>
3169
3170 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3171
22b9b4b0
SL
31722020-08-31 Simon Marchi <simon.marchi@efficios.com>
3173
3174 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3175 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3176
8efaf6b3
SM
31772020-08-31 Simon Marchi <simon.marchi@efficios.com>
3178
3179 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3180 output, printing a "not saved" value from history and printing a
3181 convenience variable created from a "not saved" value.
3182
e840f2e3
TV
31832020-08-31 Tom de Vries <tdevries@suse.de>
3184
3185 * gdb.base/eh_return.exp: Use nopie.
3186
8f57f343
PA
31872020-08-28 Pedro Alves <pedro@palves.net>
3188
3189 * gdb.base/advance-until-multiple-locations.exp
3190 (advance_overload, until_overload): Adjust to match the
3191 frame/function header instead of the source line text.
3192
626d2320
TV
31932020-08-28 Tom de Vries <tdevries@suse.de>
3194
3195 * gdb.base/label-without-address.c: New test.
3196 * gdb.base/label-without-address.exp: New file.
3197
df631783
PA
31982020-08-27 Pedro Alves <pedro@palves.net>
3199
3200 PR gdb/26523
3201 PR gdb/26524
3202 * gdb.base/advance-until-multiple-locations.cc: New.
3203 * gdb.base/advance-until-multiple-locations.exp: New.
3204
48b076bb
SM
32052020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3206
3207 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3208
c2015ce4
AB
32092020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3210
3211 * gdb.arch/amd64-byte.exp: Make test names unique, use
3212 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3213 * gdb.arch/amd64-dword.exp: Likewise.
3214 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3215 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3216 unique.
3217 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3218 * gdb.arch/amd64-word.exp: Make test names unique, use
3219 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3220 * gdb.arch/i386-byte.exp: Make test names unique, use
3221 gdb_breakpoint.
3222 * gdb.arch/i386-word.exp: Likewise.
3223
995d3a19
SV
32242020-08-25 Shahab Vahedi <shahab@synopsys.com>
3225
3226 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3227
8cac2b31
SM
32282020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3229
3230 PR gdb/26532
3231 * gdb.threads/stepi-random-signal.exp: Update pattern.
3232
2bc19622
SM
32332020-08-25 Simon Marchi <simon.marchi@efficios.com>
3234
3235 PR gdb/26532
3236 * gdb.base/ui-redirect.exp: Update pattern.
3237
b04aa1fc
GB
32382020-08-25 Gary Benson <gbenson@redhat.com>
3239
3240 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3241 when compiling with clang.
8571e9c8 3242 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 3243
9f68b453
GB
32442020-08-25 Gary Benson <gbenson@redhat.com>
3245
3246 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3247 Add additional_flags=-Wno-inaccessible-base when compiling
3248 with GCC >= 10.1 or clang. Add additional_flags=-w when
3249 compiling with GCC < 10.
3250
3945d2d7
GM
32512020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3252
3253 PR m2/26372
fc5d6901
SM
3254 * gdb.modula2/multidim.c: New file.
3255 * gdb.modula2/multidim.exp: New file.
3945d2d7 3256
60122dbe
SM
32572020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3258
3259 * lib/gdb.exp (runto): Always emit fail on internal error.
3260
1eb8556f
SM
32612020-08-24 Simon Marchi <simon.marchi@efficios.com>
3262
3263 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3264 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3265 Likewise.
3266 * gdb.threads/stepi-random-signal.exp: Likewise.
3267
33bf4c5c
TBA
32682020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3269
3270 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3271 * gdb.trace/strace.exp: Ditto.
3272
c2fd7fae
AKS
32732020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3274
3275 * gdb.fortran/vla-type.exp: Skip commands not required for
3276 the Flang compiled binaries after prologue fix.
3277
326afb72
TT
32782020-08-17 Tom de Vries <tdevries@suse.de>
3279 Tom Tromey <tromey@adacore.com>
3280
3281 PR rust/26197:
3282 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3283
3ae7ab99
TT
32842020-08-17 Tom Tromey <tromey@adacore.com>
3285
3286 * gdb.ada/mi_var_access.exp: New file.
3287 * gdb.ada/mi_var_access/mi_access.adb: New file.
3288 * gdb.ada/mi_var_access/pck.adb: New file.
3289 * gdb.ada/mi_var_access/pck.ads: New file.
3290
f569c1c5
TV
32912020-08-16 Tom de Vries <tdevries@suse.de>
3292
3293 PR gdb/25350
3294 * gdb.base/eh_return.c: New test.
3295 * gdb.base/eh_return.exp: New file.
3296
3d11c30a
TV
32972020-08-15 Tom de Vries <tdevries@suse.de>
3298
3299 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3300 (mixed_func_1d_): Use fortran_charlen_t in decl.
3301
547ce8f0
TV
33022020-08-15 Tom de Vries <tdevries@suse.de>
3303
3304 PR backtrace/26390
3305 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3306 Update expected pattern.
3307
a54a7f13
PA
33082020-08-13 Pedro Alves <pedro@palves.net>
3309
3310 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3311 * gdb.fortran/library-module.exp: Likewise.
3312 * gdb.fortran/logical.exp: Likewise.
3313 * gdb.fortran/module.exp: Likewise.
3314 * gdb.fortran/print_type.exp: Likewise.
3315 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3316 * gdb.fortran/vla-datatypes.exp: Likewise.
3317 * gdb.fortran/vla-history.exp: Likewise.
3318 * gdb.fortran/vla-ptr-info.exp: Likewise.
3319 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3320 * gdb.fortran/vla-ptype.exp: Likewise.
3321 * gdb.fortran/vla-sizeof.exp: Likewise.
3322 * gdb.fortran/vla-type.exp: Likewise.
3323 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3324 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3325 * gdb.fortran/vla-value-sub.exp: Likewise.
3326 * gdb.fortran/vla-value.exp: Likewise.
3327
7a82e903
PA
33282020-08-13 Pedro Alves <pedro@palves.net>
3329
3330 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3331 * gdb.ada/access_to_packed_array.exp: Likewise.
3332 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3333 * gdb.ada/addr_arith.exp: Likewise.
3334 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3335 * gdb.ada/arr_arr.exp: Likewise.
3336 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3337 * gdb.ada/array_bounds.exp: Likewise.
3338 * gdb.ada/array_of_variable_length.exp: Likewise.
3339 * gdb.ada/array_ptr_renaming.exp: Likewise.
3340 * gdb.ada/array_subscript_addr.exp: Likewise.
3341 * gdb.ada/arraydim.exp: Likewise.
3342 * gdb.ada/arrayparam.exp: Likewise.
3343 * gdb.ada/arrayptr.exp: Likewise.
3344 * gdb.ada/assign_1.exp: Likewise.
3345 * gdb.ada/assign_arr.exp: Likewise.
3346 * gdb.ada/atomic_enum.exp: Likewise.
3347 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3348 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3349 * gdb.ada/bias.exp: Likewise.
3350 * gdb.ada/boolean_expr.exp: Likewise.
3351 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3352 * gdb.ada/bp_enum_homonym.exp: Likewise.
3353 * gdb.ada/bp_inlined_func.exp: Likewise.
3354 * gdb.ada/bp_on_var.exp: Likewise.
3355 * gdb.ada/bp_range_type.exp: Likewise.
3356 * gdb.ada/bp_reset.exp: Likewise.
3357 * gdb.ada/call_pn.exp: Likewise.
3358 * gdb.ada/catch_assert_if.exp: Likewise.
3359 * gdb.ada/catch_ex.exp: Likewise.
3360 * gdb.ada/catch_ex_std.exp: Likewise.
3361 * gdb.ada/char_enum.exp: Likewise.
3362 * gdb.ada/char_param.exp: Likewise.
3363 * gdb.ada/complete.exp: Likewise.
3364 * gdb.ada/cond_lang.exp: Likewise.
3365 * gdb.ada/convvar_comp.exp: Likewise.
3366 * gdb.ada/dgopt.exp: Likewise.
3367 * gdb.ada/disc_arr_bound.exp: Likewise.
3368 * gdb.ada/display_nested.exp: Likewise.
3369 * gdb.ada/dot_all.exp: Likewise.
3370 * gdb.ada/dyn_loc.exp: Likewise.
3371 * gdb.ada/dyn_stride.exp: Likewise.
3372 * gdb.ada/excep_handle.exp: Likewise.
3373 * gdb.ada/expr_delims.exp: Likewise.
3374 * gdb.ada/expr_with_funcall.exp: Likewise.
3375 * gdb.ada/exprs.exp: Likewise.
3376 * gdb.ada/fin_fun_out.exp: Likewise.
3377 * gdb.ada/fixed_cmp.exp: Likewise.
3378 * gdb.ada/formatted_ref.exp: Likewise.
3379 * gdb.ada/frame_arg_lang.exp: Likewise.
3380 * gdb.ada/frame_args.exp: Likewise.
3381 * gdb.ada/fullname_bp.exp: Likewise.
3382 * gdb.ada/fun_addr.exp: Likewise.
3383 * gdb.ada/fun_in_declare.exp: Likewise.
3384 * gdb.ada/fun_overload_menu.exp: Likewise.
3385 * gdb.ada/fun_renaming.exp: Likewise.
3386 * gdb.ada/funcall_char.exp: Likewise.
3387 * gdb.ada/funcall_param.exp: Likewise.
3388 * gdb.ada/funcall_ptr.exp: Likewise.
3389 * gdb.ada/funcall_ref.exp: Likewise.
3390 * gdb.ada/homonym.exp: Likewise.
3391 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3392 * gdb.ada/info_auto_lang.exp: Likewise.
3393 * gdb.ada/info_exc.exp: Likewise.
3394 * gdb.ada/info_types.exp: Likewise.
3395 * gdb.ada/int_deref.exp: Likewise.
3396 * gdb.ada/interface.exp: Likewise.
3397 * gdb.ada/iwide.exp: Likewise.
3398 * gdb.ada/lang_switch.exp: Likewise.
3399 * gdb.ada/length_cond.exp: Likewise.
3400 * gdb.ada/maint_with_ada.exp: Likewise.
3401 * gdb.ada/mi_catch_assert.exp: Likewise.
3402 * gdb.ada/mi_catch_ex.exp: Likewise.
3403 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3404 * gdb.ada/mi_dyn_arr.exp: Likewise.
3405 * gdb.ada/mi_ex_cond.exp: Likewise.
3406 * gdb.ada/mi_exc_info.exp: Likewise.
3407 * gdb.ada/mi_interface.exp: Likewise.
3408 * gdb.ada/mi_prot.exp: Likewise.
3409 * gdb.ada/mi_ref_changeable.exp: Likewise.
3410 * gdb.ada/mi_string_access.exp: Likewise.
3411 * gdb.ada/mi_task_arg.exp: Likewise.
3412 * gdb.ada/mi_task_info.exp: Likewise.
3413 * gdb.ada/mi_var_array.exp: Likewise.
3414 * gdb.ada/mi_var_union.exp: Likewise.
3415 * gdb.ada/mi_variant.exp: Likewise.
3416 * gdb.ada/minsyms.exp: Likewise.
3417 * gdb.ada/mod_from_name.exp: Likewise.
3418 * gdb.ada/nested.exp: Likewise.
3419 * gdb.ada/null_array.exp: Likewise.
3420 * gdb.ada/optim_drec.exp: Likewise.
3421 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3422 * gdb.ada/packed_array_assign.exp: Likewise.
3423 * gdb.ada/packed_tagged.exp: Likewise.
3424 * gdb.ada/pp-rec-component.exp: Likewise.
3425 * gdb.ada/print_chars.exp: Likewise.
3426 * gdb.ada/print_pc.exp: Likewise.
3427 * gdb.ada/ptr_typedef.exp: Likewise.
3428 * gdb.ada/ptype_arith_binop.exp: Likewise.
3429 * gdb.ada/ptype_array.exp: Likewise.
3430 * gdb.ada/ptype_field.exp: Likewise.
3431 * gdb.ada/ptype_tagged_param.exp: Likewise.
3432 * gdb.ada/ptype_union.exp: Likewise.
3433 * gdb.ada/py_range.exp: Likewise.
3434 * gdb.ada/py_taft.exp: Likewise.
3435 * gdb.ada/rdv_wait.exp: Likewise.
3436 * gdb.ada/rec_comp.exp: Likewise.
3437 * gdb.ada/rec_return.exp: Likewise.
3438 * gdb.ada/ref_param.exp: Likewise.
3439 * gdb.ada/ref_tick_size.exp: Likewise.
3440 * gdb.ada/rename_subscript_param.exp: Likewise.
3441 * gdb.ada/repeat_dyn.exp: Likewise.
3442 * gdb.ada/same_component_name.exp: Likewise.
3443 * gdb.ada/same_enum.exp: Likewise.
3444 * gdb.ada/scalar_storage.exp: Likewise.
3445 * gdb.ada/set_wstr.exp: Likewise.
3446 * gdb.ada/small_reg_param.exp: Likewise.
3447 * gdb.ada/str_binop_equal.exp: Likewise.
3448 * gdb.ada/str_ref_cmp.exp: Likewise.
3449 * gdb.ada/str_uninit.exp: Likewise.
3450 * gdb.ada/sub_variant.exp: Likewise.
3451 * gdb.ada/sym_print_name.exp: Likewise.
3452 * gdb.ada/taft_type.exp: Likewise.
3453 * gdb.ada/tagged.exp: Likewise.
3454 * gdb.ada/tagged_access.exp: Likewise.
3455 * gdb.ada/task_bp.exp: Likewise.
3456 * gdb.ada/task_switch_in_core.exp: Likewise.
3457 * gdb.ada/tasks.exp: Likewise.
3458 * gdb.ada/tick_last_segv.exp: Likewise.
3459 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3460 * gdb.ada/type_coercion.exp: Likewise.
3461 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3462 * gdb.ada/unchecked_union.exp: Likewise.
3463 * gdb.ada/uninitialized_vars.exp: Likewise.
3464 * gdb.ada/var_arr_attrs.exp: Likewise.
3465 * gdb.ada/var_arr_typedef.exp: Likewise.
3466 * gdb.ada/var_rec_arr.exp: Likewise.
3467 * gdb.ada/variant-record.exp: Likewise.
3468 * gdb.ada/variant.exp: Likewise.
3469 * gdb.ada/variant_record_packed_array.exp: Likewise.
3470 * gdb.ada/varsize_limit.exp: Likewise.
3471 * gdb.ada/whatis_array_val.exp: Likewise.
3472 * gdb.ada/widewide.exp: Likewise.
3473 * gdb.ada/win_fu_syms.exp: Likewise.
3474
34752020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3476
3477 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3478
10c381b5
AB
34792020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3480
3481 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3482 unset the array variable.
3483
8f34b746
TV
34842020-08-03 Tom de Vries <tdevries@suse.de>
3485
3486 PR symtab/26333
3487 * lib/dwarf.exp (DW_LNE_user): New proc.
3488 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3489 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3490
0245e136
KB
34912020-07-31 Kevin Buettner <kevinb@redhat.com>
3492
3493 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3494 to 'uintptr_t'
3495 (inttypes.h): Include.
3496
9ef1ec5d
KB
34972020-07-31 Kevin Buettner <kevinb@redhat.com>
3498
3499 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3500 (C5_24k): Delete.
3501 (C5_8k, C5_64k, C5_256k): New macros.
3502 (buf_ro): Allocate 256 KiB of initialized data.
3503
4c55e970
TBA
35042020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3505
3506 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3507 that attempt to overwrite an existing condition with a condition
3508 that fails parsing and also with a condition that parses fine
3509 but contains junk at the end.
3510
1e620590
TBA
35112020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3512
3513 * gdb.base/condbreak-bad.c: New test.
3514 * gdb.base/condbreak-bad.exp: New file.
3515
e12dcc50
TV
35162020-07-30 Tom de Vries <tdevries@suse.de>
3517
3518 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3519 out of ...
3520 (GDBInfoModuleSymbols::check_entry): ... here.
3521 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3522 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3523 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3524
6cc64caa
TV
35252020-07-30 Tom de Vries <tdevries@suse.de>
3526
3527 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3528 "__class_some_module_Number_t" optional.
3529
90fd07fc
TV
35302020-07-29 Tom de Vries <tdevries@suse.de>
3531
3532 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3533 multiple locations.
3534
f5c79e97
TV
35352020-07-29 Tom de Vries <tdevries@suse.de>
3536
3537 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3538 rather than function name.
3539
f75a0693
AB
35402020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3541
3542 PR symtab/26270:
3543 * gdb.cp/disasm-func-name.cc: New file.
3544 * gdb.cp/disasm-func-name.exp: New file.
3545
4888741a
TT
35462020-07-28 Tom Tromey <tromey@adacore.com>
3547
3548 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3549 'varval' location.
3550
43d5901d
AB
35512020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3552
3553 * gdb.python/py-unwind.py: Update to make use of a register
3554 descriptor.
3555
14fa8fb3
AB
35562020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3557
3558 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3559
e79eb02f
AB
35602020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3561
3562 PR fortran/23051
3563 PR fortran/26139
3564 * gdb.fortran/class-allocatable-array.exp: New file.
3565 * gdb.fortran/class-allocatable-array.f90: New file.
3566 * gdb.fortran/pointer-to-pointer.exp: New file.
3567 * gdb.fortran/pointer-to-pointer.f90: New file.
3568
876518dd
TV
35692020-07-25 Tom de Vries <tdevries@suse.de>
3570
3571 PR symtab/26243
3572 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3573 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3574
6dcfb80a
TV
35752020-07-24 Tom de Vries <tdevries@suse.de>
3576
3577 PR testsuite/26293
3578 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3579
e7bc9db8
PA
35802020-07-23 Pedro Alves <pedro@palves.net>
3581
3582 * gdb.server/server-kill.exp (prepare): New, factored out from the
3583 top level.
3584 (kill_server): New.
3585 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3586 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3587
78344df7
AB
35882020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3589
3590 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3591
25dfed24
SL
35922020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3593
3594 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3595 Initialize to empty string at top level.
3596 (gdb_wrapper_init): Revert check for file existence on build.
3597 Build the wrapper in its default place, not a build-specific
3598 location. When host == build, make the pathname absolute.
3599 (gdb_compile): Delete leftover declaration of
3600 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3601 string instead of uninitialized.
3602
7da515fd
KB
36032020-07-22 Kevin Buettner <kevinb@redhat.com>
3604
3605 * gdb.base/corefile2.exp: New file.
3606 * gdb.base/coremaker2.exp: New file.
3607
9c5ec5c2
KB
36082020-07-22 Kevin Buettner <kevinb@redhat.com>
3609
3610 * gdb.base/coredump-filter.exp: Add second
3611 non-Private-Shared-Anon-File test.
3612 (test_disasm): Rename binfile for test which is expected
3613 to fail.
3614
f9e233c9
KB
36152020-07-22 Kevin Buettner <kevinb@redhat.com>
3616
3617 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3618 data in core file".
3619 * gdb.base/coremaker.c (buf2ro): New global.
3620 (mmapdata): Add a read-only mmap mapping.
3621
94c265d7
KB
36222020-07-22 Kevin Buettner <kevinb@redhat.com>
3623
3624 PR corefiles/25631
3625 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3626 New test.
3627 * gdb.base/coremaker.c (buf3): New global.
3628 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3629 flags.
3630
36312020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3632
3633 * gdb.base/coremaker.c (filler_ro): New global constant.
3634
32fa152e
TT
36352020-07-22 Tom Tromey <tromey@adacore.com>
3636
3637 * gdb.ada/mi_prot.exp: New file.
3638 * gdb.ada/mi_prot/pkg.adb: New file.
3639 * gdb.ada/mi_prot/pkg.ads: New file.
3640 * gdb.ada/mi_prot/prot.adb: New file.
3641
c8474dc3
TBA
36422020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3643
3644 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3645 loads two JITers.
3646
baf8791e
AB
36472020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3648
3649 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3650
f7306dac
AB
36512020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3652
3653 * gdb.python/py-arch-reg-names.exp: Additional tests.
3654
6d3d6e4b
TV
36552020-07-21 Tom de Vries <tdevries@suse.de>
3656
3657 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3658 breakpoint locations".
3659 * gdb.reverse/solib-reverse.exp: Same.
3660
803d0592
TV
36612020-07-21 Tom de Vries <tdevries@suse.de>
3662
3663 * gdb.reverse/step-reverse.c (callee): Merge statements.
3664
e9bdc510
TV
36652020-07-21 Tom de Vries <tdevries@suse.de>
3666
3667 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3668 line numbers for some variables.
3669
f0f9e75a
TV
36702020-07-21 Tom de Vries <tdevries@suse.de>
3671
3672 * gdb.opt/inline-locals.c (init_array): New func.
3673 (func1): Use init_array.
3674 * gdb.opt/inline-locals.exp: Update pattern.
3675
bd460ecb
TV
36762020-07-21 Tom de Vries <tdevries@suse.de>
3677
3678 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3679 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3680
ae5369e7
LC
36812020-07-20 Ludovic Courtès <ludo@gnu.org>
3682
3683 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3684 * gdb.guile/types-module.exp: Remove "ERROR:" from
3685 regexps since Guile 3.0 no longer prints that.
3686
68cf161c
LC
36872020-07-20 Ludovic Courtès <ludo@gnu.org>
3688
3689 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3690 error regexp to match on Guile 2.2.
3691
c14b4913
GB
36922020-07-20 Gary Benson <gbenson@redhat.com>
3693
3694 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3695 with clang.
3696
b243ba58
TV
36972020-07-20 Tom de Vries <tdevries@suse.de>
3698
3699 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3700 (omp_set_lock_in_order): New function.
3701 (single_scope, multi_scope, nested_func, nested_parallel): Use
3702 omp_set_lock_in_order and omp_unset_lock.
3703 (main): Init and destroy lock and lock2.
3704
c06ad8b5
TV
37052020-07-20 Tom de Vries <tdevries@suse.de>
3706
3707 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3708
6e22f117
TV
37092020-07-20 Tom de Vries <tdevries@suse.de>
3710
3711 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3712
33176ea7
TV
37132020-07-17 Tom de Vries <tdevries@suse.de>
3714
3715 * gdb.base/valgrind-infcall-2.c: New test.
3716 * gdb.base/valgrind-infcall-2.exp: New file.
3717 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3718
90c3ec2d
TV
37192020-07-17 Tom de Vries <tdevries@suse.de>
3720
3721 * gdb.dlang/circular.c (found): Use found_label as label name.
3722 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3723 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3724 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3725 * gdb.dwarf2/ada-linkage-name.exp: Same.
3726 * gdb.dwarf2/arr-subrange.exp: Same.
3727 * gdb.dwarf2/atomic-type.exp: Same.
3728 * gdb.dwarf2/comp-unit-lang.exp: Same.
3729 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3730 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3731 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3732 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3733 * gdb.dwarf2/implptr-64bit.exp: Same.
3734 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3735 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3736 * gdb.dwarf2/imported-unit.exp: Same.
3737 * gdb.dwarf2/main-subprogram.exp: Same.
3738 * gdb.dwarf2/missing-type-name.exp: Same.
3739 * gdb.dwarf2/nonvar-access.exp: Same.
3740 * gdb.dwarf2/struct-with-sig.exp: Same.
3741 * gdb.dwarf2/typedef-void-finish.exp: Same.
3742 * gdb.dwarf2/void-type.exp: Same.
3743
10da644d
TV
37442020-07-17 Tom de Vries <tdevries@suse.de>
3745
3746 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3747 src parameter.
3748 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3749 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3750 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3751 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3752 * gdb.dwarf2/dwz.exp: Same.
3753 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3754 * gdb.dwarf2/implref-array.exp: Same.
3755 * gdb.dwarf2/implref-const.exp: Same.
3756 * gdb.dwarf2/implref-global.exp: Same.
3757 * gdb.dwarf2/implref-struct.exp: Same.
3758 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3759 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3760 * gdb.dwarf2/var-access.exp: Same.
3761 * gdb.dwarf2/varval.exp: Same.
3762 * gdb.trace/entry-values.exp: Same.
3763
315e6afc
TV
37642020-07-17 Tom de Vries <tdevries@suse.de>
3765
3766 * lib/dwarf.exp (Dwarf::extern): Remove.
3767 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3768 * gdb.dlang/circular.exp: Same.
3769 * gdb.dwarf2/comp-unit-lang.exp: Same.
3770 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3771 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3772 * gdb.dwarf2/dwz.exp: Same.
3773 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3774 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3775 * gdb.dwarf2/imported-unit.exp: Same.
3776 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3777
5597c940
SL
37782020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3779
3780 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3781 Use double quotes instead of single quotes.
3782
d0ce17d8
CT
37832020-07-16 Caroline Tice <cmtice@google.com>
3784
3785 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3786 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3787
853772cc
TV
37882020-07-16 Tom de Vries <tdevries@suse.de>
3789
3790 * lib/dwarf.exp (program): Initialize _line.
3791 (DW_LNE_end_sequence): Reinitialize _line.
3792 (DW_LNS_advance_line): Update _line.
3793 (line): New proc.
3794 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3795 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3796 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3797 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3798 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3799 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3800
fe07b572
AB
38012020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3802
3803 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3804 generic.
3805
52781cce
TV
38062020-07-15 Tom de Vries <tdevries@suse.de>
3807
3808 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3809 is_amd64_regs_target.
3810
3dcc261c
AB
38112020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3812
3813 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3814 * gdb.fortran/ptype-on-functions.f90: Likewise.
3815
054a0959
SM
38162020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3817
3818 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3819 values in documentation for addr_size to 4 and 8.
3820
ccb9eba6
AB
38212020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3822
3823 * gdb.arch/amd64-osabi.exp: Update.
3824 * gdb.arch/arm-disassembler-options.exp: Update.
3825 * gdb.arch/powerpc-disassembler-options.exp: Update.
3826 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3827 * gdb.arch/s390-disassembler-options.exp: Update.
3828 * gdb.base/all-architectures.exp.tcl: Update.
3829 * gdb.base/attach-pie-noexec.exp: Update.
3830 * gdb.base/catch-syscall.exp: Update.
3831 * gdb.xml/tdesc-arch.exp: Update.
3832
025a39a7
TV
38332020-07-14 Tom de Vries <tdevries@suse.de>
3834
3835 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3836 (local_gettid): ... this.
3837 (fn): Update.
3838
74e4b667
SL
38392020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3840
3841 * gdb.base/info_sources.exp: Skip directory match tests on
3842 remote hosts.
3843
f413dd74
GB
38442020-07-13 Gary Benson <gbenson@redhat.com>
3845
3846 * gdb.base/savedregs.exp (caller): Use parentheses to
3847 make expected expression evaluation ordering explicit.
3848
915771bb
GB
38492020-07-13 Gary Benson <gbenson@redhat.com>
3850
3851 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3852
2a122642
GB
38532020-07-13 Gary Benson <gbenson@redhat.com>
3854
3855 * gdb.base/bigcore.c (main): Use a volatile pointer when
3856 attempting to trigger a SIGSEGV.
3857 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3858 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3859 * gdb.base/savedregs.c (thrower): Likewise.
3860 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3861
3f00c730
GB
38622020-07-13 Gary Benson <gbenson@redhat.com>
3863
3864 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3865 defining and using VLA structure fields into...
3866 * gdb.base/vla-struct-fields.c: New file.
3867 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3868 tests into...
3869 * gdb.base/vla-struct-fields.exp: New file.
3870
963eeee4
TV
38712020-07-13 Tom de Vries <tdevries@suse.de>
3872
3873 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3874 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3875 * gdb.base/gold-gdb-index.exp: Same.
3876 * gdb.base/morestack.exp: Same.
3877
0ed35c9a
DX
38782020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3879
3880 PR rust/26121
3881 * gdb.rust/modules.rs: Prevent linker from discarding test
3882 symbol.
3883
4fdba23d
PA
38842020-07-10 Pedro Alves <pedro@palves.net>
3885
3886 PR gdb/26199
3887 * gdb.multi/multi-target.c (exit_thread): New.
3888 (thread_start): Break loop if EXIT_THREAD.
3889 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3890 (top level) Call test_no_resumed.
3891
15f3b077
TT
38922020-07-08 Tom Tromey <tromey@adacore.com>
3893
3894 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3895 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3896
9fc501fd
AB
38972020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3898
3899 PR python/22748
3900 * gdb.opt/inline-frame-tailcall.c: New file.
3901 * gdb.opt/inline-frame-tailcall.exp: New file.
3902 * gdb.python/py-unwind-inline.c: New file.
3903 * gdb.python/py-unwind-inline.exp: New file.
3904 * gdb.python/py-unwind-inline.py: New file.
3905
64cb3757
AB
39062020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3907
3908 * gdb.python/py-arch-reg-groups.exp: New file.
3909
0f767f94
AB
39102020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3911
3912 * gdb.python/py-arch-reg-names.exp: New file.
3913
87dbc774
AB
39142020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3915
3916 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3917 gdb.PendingFrame.architecture method.
3918
d8cc8af6
TV
39192020-07-06 Tom de Vries <tdevries@suse.de>
3920
3921 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3922
3c8ea5be
PA
39232020-07-03 Pedro Alves <palves@redhat.com>
3924
3925 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3926 explicitly write negative numbers.
3927 * gdb.base/structs2.exp: Adjust expected output.
3928
bf90c83a
PA
39292020-07-03 Pedro Alves <palves@redhat.com>
3930
3931 * gdb.base/charset.c (init_string): Change all char parameters to
3932 unsigned char parameters.
3933
2eb82157
PA
39342020-07-03 Pedro Alves <palves@redhat.com>
3935
3936 * gdb.base/call-sc.exp (start_scalars_test): Use
3937 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3938 * gdb.base/overlays.c: Remove references to PARAMS.
3939 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3940 * gdb.base/reread.exp: Don't set 'prototypes' global.
3941 * gdb.base/structs.exp (start_structs_test): Use
3942 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3943 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3944 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3945 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3946 call.
3947 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3948
9adda7af
PA
39492020-07-03 Pedro Alves <palves@redhat.com>
3950
3951 * gdb.base/m32rovly.c: Delete.
3952 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3953
2a17c803
PW
39542020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3955
3956 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3957 of gdb_py_test_multiple.
3958 * gdb.python/py-cmd.exp: Likewise.
3959 * gdb.python/py-events.exp: Likewise.
3960 * gdb.python/py-function.exp: Likewise.
3961 * gdb.python/py-inferior.exp: Likewise.
3962 * gdb.python/py-infthread.exp: Likewise.
3963 * gdb.python/py-linetable.exp: Likewise.
3964 * gdb.python/py-parameter.exp: Likewise.
3965 * gdb.python/py-value.exp: Likewise.
3966
b011fe1a
TV
39672020-06-30 Tom de Vries <tdevries@suse.de>
3968
3969 PR testsuite/26175
3970 * lib/future.exp (gdb_default_target_compile): Detect and handle
3971 early_flags.
3972
df5b8876
SM
39732020-06-29 Simon Marchi <simon.marchi@efficios.com>
3974
3975 * boards/simavr.exp (gdb_load): Catch errors when closing
3976 previous connection. Close connection, wait for process and
3977 unset simavr_spawn_id on failure.
3978
a3ca48cd
TV
39792020-06-29 Tom de Vries <tdevries@suse.de>
3980
3981 * lib/gdb.exp (unknown): Make test-case unresolved.
3982
b0237c0e
TV
39832020-06-29 Tom de Vries <tdevries@suse.de>
3984
3985 PR gdb/25475
3986 * gdb.server/solib-list.exp: Verify that the symbol reload
3987 confirmation question is asked.
3988
c0b3b3bd
PW
39892020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3990
3991 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3992 have a input seq nr in each pass message.
fe4c3d43 3993 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3994 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3995 * gdb.python/python.exp: Make test names unique,
3996 use gdb_test_multiline instead of gdb_py_test_multiple,
3997 use $gdb_test_name.
3998 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3999
1776e3e5
NA
40002020-06-26 Nick Alcock <nick.alcock@oracle.com>
4001
4002 * configure.ac: Add --enable-libctf.
4003 * aclocal.m4: sinclude ../config/enable.m4.
4004 * Makefile.in (site.exp): Add enable_libctf to site.exp.
4005 * lib/gdb.exp (skip_ctf_tests): Use it.
4006 * gdb.base/ctf-constvars.exp: Error message tweak.
4007 * gdb.base/ctf-ptype.exp: Likewise.
4008 * configure: Regenerate.
4009
f53b3eeb
GB
40102020-06-26 Gary Benson <gbenson@redhat.com>
4011
4012 * gdb.cp/try_catch.cc: Include string.h.
4013 (main): Replace comparison against string literal with
4014 strcmp, avoiding build failure with -Wstring-compare.
4015 Add "marker test-complete".
4016 * gdb.cp/try_catch.exp: Run the test to the above marker,
4017 then verify that the value of "test" is still true.
4018
6d74da72
AB
40192020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4020
4021 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
4022
2e52d038
AB
40232020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4024
4025 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4026
3b9fce96
AB
40272020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4028
4029 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
4030 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
4031 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
4032 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
4033 * gdb.arch/riscv-tdesc-loading.exp: New file.
4034
ed69cbc8
AB
40352020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4036
4037 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4038
767a879e
AB
40392020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4040
4041 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
4042 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
4043 * gdb.arch/riscv-tdesc-regs.c: New file.
4044 * gdb.arch/riscv-tdesc-regs.exp: New file.
4045
221db974
PA
40462020-06-24 Pedro Alves <palves@redhat.com>
4047
4048 * gdb.arch/amd64-entry-value-paramref.exp: Use
4049 prepare_for_testing_full and don't pass "c++" for the .S file
4050 build spec.
4051 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
4052 $options, since it's an assembly file. Remove -Wno-deprecated.
4053 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
4054 compiling C++ programs.
4055
331733cd
PA
40562020-06-24 Pedro Alves <palves@redhat.com>
4057
4058 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
4059 Clang, add "-Wno-unknown-warning-option" to the options.
4060
caa7fd04
AB
40612020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
4062
4063 * gdb.xml/tdesc-reload.c: New file.
4064 * gdb.xml/tdesc-reload.exp: New file.
4065 * gdb.xml/maint-xml-dump-01.xml: New file.
4066 * gdb.xml/maint-xml-dump-02.xml: New file.
4067 * gdb.xml/maint-xml-dump.exp: New file.
4068
bb8d1260
SL
40692020-06-23 Sandra Loosemore <sandra@codesourcery.com>
4070
4071 * lib/completion-support.exp (test_gdb_completion_offers_commands):
4072 Adjust for omitted commands when TUI is disabled.
4073
7e4b9c4c
GB
40742020-06-23 Gary Benson <gbenson@redhat.com>
4075 Pedro Alves <palves@redhat.com>
4076
4077 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4078 * gdb.cp/nsimport.cc: Likewise.
4079 * gdb.cp/nsnested.cc: Likewise.
4080 * gdb.cp/nsnoimports.cc: Likewise.
4081 * gdb.cp/nsusing.cc: Likewise.
4082 * gdb.cp/smartp.cc: Likewise.
4083 * gdb.python/py-pp-integral.c: Likewise.
4084 * gdb.python/py-pp-re-notag.c: Likewise.
4085
2e573c0a
GB
40862020-06-23 Gary Benson <gbenson@redhat.com>
4087
4088 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4089 * gdb.cp/nsimport.cc: Likewise.
4090 * gdb.cp/nsnested.cc: Likewise.
4091 * gdb.cp/nsnoimports.cc: Likewise.
4092 * gdb.cp/nsusing.cc: Likewise.
4093 * gdb.cp/smartp.cc: Likewise.
4094 * gdb.python/py-pp-integral.c: Likewise.
4095 * gdb.python/py-pp-re-notag.c: Likewise.
4096
746ebfe8
PW
40972020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4098
4099 * gdb.base/default-args.exp: New test.
4100 * gdb.base/default-args.c: New file.
4101 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4102 * gdb.base/default.exp: Update to new help text.
4103 * gdb.base/help.exp: Likewise.
4104 * gdb.base/page.exp: Likewise.
4105 * gdb.base/style.exp: Likewise.
4106 * gdb.guile/guile.exp: Likewise.
4107 * gdb.python/python.exp: Likewise.
4108
e822f2cd
SL
41092020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4110
4111 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4112 remote host. Fix search path syntax on Windows host.
4113
48e9cc84
PW
41142020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4115
4116 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4117 over 'exec-file-mismatch'.
4118 * gdb.base/attach.c: Mark should_exit volatile.
4119 * gdb.base/attach2.c: Likewise. Add a comment explaining
4120 why the sleep cannot be big.
4121 * gdb.base/attach3.c: New file.
4122
160f8a8f
SL
41232020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4124
4125 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4126 prefix optional.
4127
4d91c2a4
SL
41282020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4129
4130 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4131 for remote host.
4132
87f83f20
SL
41332020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4134 Hafiz Abid Qadeer <abidh@codesourcery.com>
4135
4136 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4137 file sent to remote host.
4138 (top level): Allow int32_t as type of 32-bit register.
4139
37ab8655
TV
41402020-06-19 Tom de Vries <tdevries@suse.de>
4141
4142 * lib/gdb.exp (gdb_note): New proc.
4143 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4144 (gdb_default_target_compile): ... here. Only call
4145 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4146 (use_gdb_compile): Change to array.
4147 (toplevel): Update sets of use_gdb_compile to specify language.
4148 Warn about default_target_compile override. Store dejagnu's version
4149 of default_target_compile in dejagnu_default_target_compile.
4150
a8a56685
TV
41512020-06-18 Tom de Vries <tdevries@suse.de>
4152
4153 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4154 (default_gdb_init): ... here.
4155
581bea2c
SL
41562020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4157
4158 Fix TUI support checks in gdb.tui tests.
4159
4160 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4161 just say UNSUPPORTED.
4162 * gdb.tui/corefile-run.exp: Likewise.
4163 * gdb.tui/empty.exp: Likewise.
4164 * gdb.tui/list-before.exp: Likewise.
4165 * gdb.tui/list.exp: Likewise.
4166 * gdb.tui/main.exp: Likewise.
4167 * gdb.tui/regs.exp: Likewise.
4168 * gdb.tui/resize.exp: Likewise.
4169 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4170 * gdb.tui/tui-layout-asm.exp: Likewise.
4171 * gdb.tui/tui-missing-src.exp: Likewise.
4172 * gdb.tui/winheight.exp: Likewise.
4173 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4174
05e682e3
SL
41752020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4176
4177 Fix TCL error in gdb.python/py-format-string.exp.
4178
4179 * gdb.python/py-format-string.exp: Move test for python support
4180 earlier, out of function body.
4181
efb763a5
SM
41822020-06-15 Simon Marchi <simon.marchi@efficios.com>
4183
4184 * gdb.base/index-cache-load-twice.c: New.
4185 * gdb.base/index-cache-load-twice.exp: New.
4186
43327b20
KS
41872020-06-17 Keith Seitz <keiths@redhat.com>
4188
99cf27cf 4189 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
4190 when executing "gdb --configuration".
4191
081e778c
TV
41922020-06-17 Tom de Vries <tdevries@suse.de>
4193
4194 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4195 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4196 conditional on presence of gdb_tcl_unknown.
4197 (gdb_finish): Make override undo conditional on presence of
4198 gdb_tcl_unknown.
4199
d2d1ea20
TT
42002020-06-16 Tom Tromey <tom@tromey.com>
4201
4202 * gdb.python/tui-window.py (failwin): New function. Register it
4203 as a TUI window type.
4204 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4205
c802e8a7
GB
42062020-06-16 Gary Benson <gbenson@redhat.com>
4207
4208 * gdb.python/py-nested-maps.c (create_map): Add missing return
4209 value.
4210 (create_map_map): Likewise.
4211
ff08abb8
TBA
42122020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4213
4214 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4215 variable.
4216 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4217 and use the already-defined 'options' variable.
4218
a29d5112
AB
42192020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4220 Tom de Vries <tdevries@suse.de>
4221
4222 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4223 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4224 (gdb_setup_known_globals): New proc.
4225 (gdb_cleanup_globals): New proc.
4226 * lib/gdb.exp (load_lib): New override proc.
4227 (gdb_stdin_log_init): Set var in_file as persistent global.
4228 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4229 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4230 fpc_compiler as persistent global.
4231
8c74a764
TV
42322020-06-12 Tom de Vries <tdevries@suse.de>
4233
4234 * lib/tuiterm.exp (spawn): Rename to ...
4235 (tui_spawn): ... this.
4236 (toplevel): Move rename of spawn ...
4237 (gdb_init_tuiterm): ... here. New proc.
4238 (gdb_finish_tuiterm): New proc.
4239 * lib/gdb.exp (gdb_finish_hooks): New global var.
4240 (gdb_finish): Handle gdb_finish_hooks.
4241 (tuiterm_env): New proc.
4242 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4243 tuiterm_env.
4244 * gdb.tui/basic.exp: Same.
4245 * gdb.tui/corefile-run.exp: Same.
4246 * gdb.tui/empty.exp: Same.
4247 * gdb.tui/list-before.exp: Same.
4248 * gdb.tui/list.exp: Same.
4249 * gdb.tui/main.exp: Same.
4250 * gdb.tui/new-layout.exp: Same.
4251 * gdb.tui/regs.exp: Same.
4252 * gdb.tui/resize.exp: Same.
4253 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4254 * gdb.tui/tui-layout-asm.exp: Same.
4255 * gdb.tui/tui-missing-src.exp: Same.
4256 * gdb.tui/winheight.exp: Same.
4257
26783bce
TV
42582020-06-12 Tom de Vries <tdevries@suse.de>
4259
4260 PR testsuite/26110
4261 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4262 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4263
2b4e6a3f
TT
42642020-06-11 Tom Tromey <tom@tromey.com>
4265
4266 PR gdb/18318:
4267 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4268 floating point tests.
4269
2f33032a
KS
42702020-06-11 Keith Seitz <keiths@redhat.com>
4271
4272 PR gdb/21356
4273 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4274 vla_struct.
4275 Add new struct vla_typedef and union vla_typedef_union and
4276 corresponding instantiation objects.
4277 Initialize new objects.
4278 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4279 and vla_typedef_union_object.
4280 Fixup type for vla_struct_object.
4281
a8baf0a3
TV
42822020-06-11 Tom de Vries <tdevries@suse.de>
4283
4284 * lib/gdb.exp (with_override): New proc, factored out of ...
4285 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4286
7ab96794
TV
42872020-06-10 Tom de Vries <tdevries@suse.de>
4288
4289 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4290
cab5c3b7
SM
42912020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4292
4293 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4294 parameter, update callers.
4295
f8c41851
SM
42962020-06-04 Simon Marchi <simon.marchi@efficios.com>
4297
4298 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4299 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4300 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4301
1c07a73f
TV
43022020-06-04 Tom de Vries <tdevries@suse.de>
4303
4304 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4305
95146b5d
TV
43062020-06-04 Tom de Vries <tdevries@suse.de>
4307
4308 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4309 exp_continue.
4310
0cfcd4f0
TV
43112020-06-04 Tom de Vries <tdevries@suse.de>
4312
4313 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4314
f9b5d5ea
TV
43152020-06-03 Tom de Vries <tdevries@suse.de>
4316
4317 PR symtab/26046
4318 * gdb.cp/breakpoint-locs-2.cc: New test.
4319 * gdb.cp/breakpoint-locs.cc: New test.
4320 * gdb.cp/breakpoint-locs.exp: New file.
4321 * gdb.cp/breakpoint-locs.h: New test.
4322
5144dfba
TV
43232020-06-03 Tom de Vries <tdevries@suse.de>
4324
4325 PR testsuite/25609
4326 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4327 value of global verbose.
4328 * gdb.base/jit-elf.exp: Same.
4329 * gdb.base/jit-reader.exp: Same.
4330
621eacdf
TV
43312020-06-02 Tom de Vries <tdevries@suse.de>
4332
4333 * gdb.dwarf2/multidictionary.exp: Don't use
4334 gdb_spawn_with_cmdline_opts.
4335
1313c56e
AB
43362020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4337
4338 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4339 use_header case.
4340 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4341 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4342 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4343 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4344 * gdb.dwarf2/dw2-inline-header.c: New file.
4345 * gdb.dwarf2/dw2-inline-header.h: New file.
4346
f68f85b5
PA
43472020-05-30 Pedro Alves <palves@redhat.com>
4348
4349 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4350 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4351
678048e8
GB
43522020-05-29 Gary Benson <gbenson@redhat.com>
4353
4354 * gdb.compile/compile-cplus.exp (additional_flags): Also
4355 set when building with clang.
4356 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4357 when building with clang.
4358
9fcafd23
GB
43592020-05-29 Gary Benson <gbenson@redhat.com>
4360
4361 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4362 building with clang.
4363 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4364
735d5a07
GB
43652020-05-29 Gary Benson <gbenson@redhat.com>
4366
4367 * gdb.cp/koenig.exp (prepare_for_testing): Add
4368 additional_flags=-Wno-unused-comparison.
4369 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4370
4ad2c6a0
GB
43712020-05-28 Gary Benson <gbenson@redhat.com>
4372
4373 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4374 statement.
4375
09fe663e
GB
43762020-05-28 Gary Benson <gbenson@redhat.com>
4377
4378 * gdb.cp/classes.exp (prepare_for_testing): Add
4379 additional_flags=-Wno-deprecated-register.
4380 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4381 * gdb.cp/misc.exp: Likewise.
4382
cee00f17
GB
43832020-05-28 Gary Benson <gbenson@redhat.com>
4384
4385 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4386 (test_op_new::operator new): Add return statement.
4387 (test_op_new_array::operator new[]): Likewise.
4388
636edd00
PA
43892020-05-27 Pedro Alves <palves@redhat.com>
4390
4391 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4392 check. Use test_gdb_complete_unique instead of
4393 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4394 test_gdb_complete_multiple instead of
4395 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4396
c2b75043
LM
43972020-05-27 Luis Machado <luis.machado@linaro.org>
4398
4399 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4400 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4401 * gdb.arch/arm-disassembler-options.exp: Likewise.
4402 * gdb.arch/arm-disp-step.exp: Likewise.
4403 * gdb.arch/thumb-prologue.exp: Likewise.
4404 * gdb.base/async.exp: Likewise.
4405 * gdb.base/auxv.exp: Likewise.
4406 * gdb.base/complex-parts.exp: Likewise.
4407 * gdb.base/ena-dis-br.exp: Likewise.
4408 * gdb.base/foll-exec.exp: Likewise.
4409 * gdb.base/permissions.exp: Likewise.
4410 * gdb.base/relocate.exp: Likewise.
4411 * gdb.base/return2.exp: Likewise.
4412 * gdb.base/sigbpt.exp: Likewise.
4413 * gdb.base/siginfo-obj.exp: Likewise.
4414 * gdb.cp/converts.exp: Likewise.
4415 * gdb.cp/exceptprint.exp: Likewise.
4416 * gdb.cp/inherit.exp: Likewise.
4417 * gdb.cp/nsnoimports.exp: Likewise.
4418 * gdb.cp/virtbase2.exp: Likewise.
4419 * gdb.mi/mi-var-cmd.exp: Likewise.
4420 * gdb.mi/var-cmd.c: Likewise.
4421
53a47a3e
TT
44222020-05-26 Tom Tromey <tromey@adacore.com>
4423
4424 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4425
0bc2354b
TT
44262020-05-26 Tom Tromey <tromey@adacore.com>
4427
4428 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4429 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4430 type.
4431 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4432 variable.
4433
0db49895
CBG
44342020-05-26 Christian Biesinger <cbiesinger@google.com>
4435
4436 * Makefile.in: Use = instead of == for the test command
4437 for portability.
4438
40d22035
TV
44392020-05-26 Tom de Vries <tdevries@suse.de>
4440
4441 * gdb.base/gold-gdb-index-2.c: New test.
4442 * gdb.base/gold-gdb-index.c: New test.
4443 * gdb.base/gold-gdb-index.exp: New file.
4444 * gdb.base/gold-gdb-index.h: New test.
4445
043e2e02
TV
44462020-05-25 Tom de Vries <tdevries@suse.de>
4447
4448 * boards/gold-gdb-index.exp: New file.
4449
462f72c5
SM
44502020-05-25 Simon Marchi <simon.marchi@efficios.com>
4451
4452 * boards/simavr.exp: New file.
4453
6cf66e76
SM
44542020-05-25 Simon Marchi <simon.marchi@efficios.com>
4455
4456 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4457 * gdb.base/inferior-args.exp: New file.
4458 * gdb.base/inferior-args.c: New file.
4459
75d04512
SM
44602020-05-25 Simon Marchi <simon.marchi@efficios.com>
4461
4462 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4463 inferior_args. Pass it to gdb_reload.
4464 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4465 inferior_args.
4466 (gdb_reload): Add inferior_args argument.
4467 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4468 pass it to gdbserver_run.
4469 * boards/native-gdbserver.exp: Do not set noargs.
4470 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4471 inferior_args argument.
4472 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4473 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4474 * gdb.base/args.exp: Likewise.
4475
42cf1844
TV
44762020-05-25 Tom de Vries <tdevries@suse.de>
4477
4478 * lib/gdb.exp (exec_is_pie): Add comment.
4479
8f7d38ef
TV
44802020-05-25 Tom de Vries <tdevries@suse.de>
4481
4482 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4483 instead of $binfile in the untested message.
4484
465e1b0f
TV
44852020-05-25 Tom de Vries <tdevries@suse.de>
4486
4487 PR testsuite/26031
4488 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4489
3c5a0e02
TV
44902020-05-25 Tom de Vries <tdevries@suse.de>
4491
4492 * boards/gold.exp: New file.
4493
0a4f5f8c
TT
44942020-05-23 Tom Tromey <tom@tromey.com>
4495
4496 * gdb.base/style.exp: Remove completion styling test.
4497 * lib/gdb-utils.exp (style): Remove completion styles.
4498
eca1f90c
TT
44992020-05-23 Tom Tromey <tom@tromey.com>
4500
4501 * gdb.base/style.exp: Add completion styling test.
4502 * lib/gdb-utils.exp (style): Add completion styles.
4503
7c13f4e8
AB
45042020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4505
4506 * gdb.base/annota1.exp: Update expected results.
4507 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4508 test name.
4509 * gdb.cp/annota3.exp: Update expected results.
4510
41977d16
SM
45112020-05-20 Simon Marchi <simon.marchi@efficios.com>
4512
4513 PR gdb/26016
4514 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4515 against MAP_FAILED.
4516 * gdb.base/coremaker.c (mmapdata): Likewise.
4517 * gdb.base/jit-reader-host.c (main): Likewise.
4518 * gdb.base/sym-file-loader.c (load): Likewise.
4519 (load_shlib): Likewise.
4520
b4757f2e
TT
45212020-05-20 Tom Tromey <tromey@adacore.com>
4522
4523 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4524
9a0bacfb
TV
45252020-05-20 Tom de Vries <tdevries@suse.de>
4526
4527 PR symtab/25833
4528 * gdb.base/with-mf-inc.c: New test.
4529 * gdb.base/with-mf-main.c: New test.
4530 * gdb.base/with-mf.exp: New file.
4531
76571211
TT
45322020-05-19 Tom Tromey <tromey@adacore.com>
4533
4534 * gdb.rust/simple.exp: Restore missing test result.
4535
4cd9f3d5
TV
45362020-05-19 Tom de Vries <tdevries@suse.de>
4537
4538 * gdb.base/gdb-caching-proc.exp: Fix typo.
4539
7d874253
TT
45402020-05-19 Tom Tromey <tromey@adacore.com>
4541
4542 * gdb.rust/simple.exp: Add some test descriptions.
4543 (test_one_slice): Use with_test_prefix.
4544
1d727695
TV
45452020-05-18 Tom de Vries <tdevries@suse.de>
4546
4547 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4548
7f32a4d5
PA
45492020-05-17 Pedro Alves <palves@redhat.com>
4550
4551 PR gdb/25741
4552 * gdb.base/hw-sw-break-same-address.exp: New file.
4553
7cfd74cf
PA
45542020-05-16 Pedro Alves <palves@redhat.com>
4555
4556 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4557 LAST_LOADED_FILE accordingly.
4558
57b4f16e
PW
45592020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4560
4561 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4562
7c05caf7
PW
45632020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4564
4565 * gdb.base/help.exp: Test apropos and help for commands
4566 having aliases. Fixed comments not starting with an
4567 upper-case letter or not finishing with a dot.
4568
7aa1b46f
PW
45692020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4570
3b3aaacb
PW
4571 * gdb.base/alias.exp: Update help output check.
4572
57b4f16e 45732020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4574
7aa1b46f
PW
4575 * gdb.base/default.exp: Update output following fixes.
4576
0605465f
PW
45772020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4578
4579 * gdb.base/alias.exp: Test aliases starting with a prefix of
4580 another alias.
4581
86e4e63d
GB
45822020-05-15 Gary Benson <gbenson@redhat.com>
4583
4584 * gdb.base/info-os.c (main): Add return statement.
4585 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4586 * gdb.base/large-frame-2.c (func): Likewise.
4587 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4588 * gdb.base/pr10179-b.c (foo2): Likewise.
4589 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4590 * gdb.base/watch-cond.c (func): Likewise.
4591 * gdb.multi/goodbye.c (verylongfun): Likewise.
4592 * gdb.multi/hello.c (commonfun): Likewise.
4593 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4594 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4595 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4596 Likewise.
4597 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4598 * gdb.threads/interrupt-while-step-over.c (child_function):
4599 Likewise.
4600 * gdb.trace/actions-changed.c (end): Likewise.
4601
163df4df
GB
46022020-05-15 Gary Benson <gbenson@redhat.com>
4603
4604 * gdb.opencl/callfuncs.exp: Report when test skipped.
4605 * gdb.opencl/convs_casts.exp: Likewise.
4606 * gdb.opencl/datatypes.exp: Likewise.
4607 * gdb.opencl/operators.exp: Likewise.
4608 * gdb.opencl/vec_comps.exp: Likewise.
4609
6dbc505a
TV
46102020-05-15 Tom de Vries <tdevries@suse.de>
4611
4612 * gdb.base/align.exp.in: Rename to ...
4613 * gdb.base/align.exp.tcl: ... this.
4614 * gdb.base/align-c++.exp: Update.
4615 * gdb.base/align-c.exp: Update.
4616 * gdb.base/all-architectures.exp.in: Rename to ...
4617 * gdb.base/all-architectures.exp: ... this.
4618 * gdb.base/all-architectures-0.exp: Update.
4619 * gdb.base/all-architectures-1.exp: Update.
4620 * gdb.base/all-architectures-2.exp: Update.
4621 * gdb.base/all-architectures-3.exp: Update.
4622 * gdb.base/all-architectures-4.exp: Update.
4623 * gdb.base/all-architectures-5.exp: Update.
4624 * gdb.base/all-architectures-6.exp: Update.
4625 * gdb.base/all-architectures-7.exp: Update.
4626 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4627 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4628 * gdb.base/infcall-nested-structs-c++.exp: Update.
4629 * gdb.base/infcall-nested-structs-c.exp: Update.
4630 * gdb.base/info-types.exp.in: Rename to ...
4631 * gdb.base/info-types.exp.tcl: ... this.
4632 * gdb.base/info-types-c++.exp: Update.
4633 * gdb.base/info-types-c.exp: Update.
4634 * gdb.base/max-depth.exp.in: Rename to ...
4635 * gdb.base/max-depth.exp.tcl: ... this.
4636 * gdb.base/max-depth-c++.exp: Update.
4637 * gdb.base/max-depth-c.exp: Update.
4638 * gdb.cp/cpexprs.exp.in: Rename to ...
4639 * gdb.cp/cpexprs.exp.tcl: ... this.
4640 * gdb.cp/cpexprs-debug-types.exp: Update.
4641 * gdb.cp/cpexprs.exp: Update.
4642 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4643 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4644 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4645 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4646 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4647 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4648 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4649 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4650 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4651 * gdb.dwarf2/clang-debug-names.exp: Update.
4652
d1034d78
AB
46532020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4654
4655 * lib/check-test-names.exp: Remove code that prevents this file
4656 loading when tests are run in parallel.
4657
3c5c3649
PA
46582020-05-15 Pedro Alves <palves@redhat.com>
4659
4660 * gdb.multi/multi-kill.exp (start_inferior): Remove
4661 'testpid' parameter. Refer to namespace variable directly.
4662 (testpid): Declare as namespace variable.
4663
272c36b8
PA
46642020-05-15 Pedro Alves <palves@redhat.com>
4665
4666 * gdb.multi/multi-kill.exp: Wrap in namespace.
4667 (start_inferior): Add TESTPID parameter. Use it instead of the
4668 testpid global.
4669 (top level): Define empty TESTPID array, and pass it down to
4670 start_inferior.
4671
02eba61a
TV
46722020-05-14 Tom de Vries <tdevries@suse.de>
4673
4674 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4675 output.
4676
971a3747
TV
46772020-05-14 Tom de Vries <tdevries@suse.de>
4678
4679 * gdb.base/align.exp: Split into ...
4680 * gdb.base/align.exp.in: ...
4681 * gdb.base/align-c++.exp: ...
4682 * gdb.base/align-c.exp: ... these.
4683 * gdb.base/infcall-nested-structs.exp: Split into ...
4684 * gdb.base/infcall-nested-structs.exp.in: ...
4685 * gdb.base/infcall-nested-structs-c++.exp: ...
4686 * gdb.base/infcall-nested-structs-c.exp: ... these.
4687 * gdb.base/info-types.exp: Split into ...
4688 * gdb.base/info-types.exp.in: ...
4689 * gdb.base/info-types-c++.exp: ...
4690 * gdb.base/info-types-c.exp: ... these.
4691 * gdb.base/max-depth.exp: Split into ...
4692 * gdb.base/max-depth.exp.in: ...
4693 * gdb.base/max-depth-c++.exp: ...
4694 * gdb.base/max-depth-c.exp: ... these.
4695 * gdb.cp/infcall-nodebug.exp: Split into ...
4696 * gdb.cp/infcall-nodebug.exp.in: ...
4697 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4698 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4699 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4700 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4701
a05575d3
TBA
47022020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4703 Pedro Alves <palves@redhat.com>
4704
4705 * gdb.multi/multi-exit.c: New file.
4706 * gdb.multi/multi-exit.exp: New file.
4707 * gdb.multi/multi-kill.c: New file.
4708 * gdb.multi/multi-kill.exp: New file.
4709
6ad82919
TBA
47102020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4711
4712 * gdb.base/annota1.exp: Update the expected output.
4713 * gdb.cp/annota2.exp: Ditto.
4714
843f4d93
AB
47152020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4716
4717 * lib/check-test-names.exp: Disable when testing is being run in
4718 parallel.
4719
c7c66341
TV
47202020-05-12 Tom de Vries <tdevries@suse.de>
4721
4722 * gdb.base/jit-elf.exp: Fix string concat.
4723
1b59ca1c
TV
47242020-05-12 Tom de Vries <tdevries@suse.de>
4725
4726 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4727 messages.
4728
b4991d29
TV
47292020-05-12 Tom de Vries <tdevries@suse.de>
4730
4731 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4732
dbb0ab10
TV
47332020-05-12 Tom de Vries <tdevries@suse.de>
4734
4735 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4736 * gdb.ada/mi_catch_ex.exp: Same.
4737 * gdb.ada/mi_catch_ex_hand.exp: Same.
4738
7549fed8
TV
47392020-05-12 Tom de Vries <tdevries@suse.de>
4740
4741 * gdb.fortran/complex.exp: Use with_test_prefix.
4742
af2d5cd8
TV
47432020-05-12 Tom de Vries <tdevries@suse.de>
4744
4745 * gdb.trace/passcount.exp: Fix test-names.
4746
7c121311
TV
47472020-05-12 Tom de Vries <tdevries@suse.de>
4748
4749 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4750
c9f3b40e
TV
47512020-05-12 Tom de Vries <tdevries@suse.de>
4752
4753 * gdb.gdb/complaints.exp: Use with_test_prefix.
4754 * gdb.xml/tdesc-regs.exp: Same.
4755 * gdb.opt/inline-locals.exp: Fix test name.
4756
111b33f0
TV
47572020-05-12 Tom de Vries <tdevries@suse.de>
4758
4759 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4760 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4761 * gdb.dwarf2/implref-struct.exp: Same.
4762 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4763 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4764
ebf47080
SM
47652020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4766
4767 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4768
d30dcd12
AB
47692020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4770
4771 * lib/check-test-names.exp (all_test_names): New module variable.
4772 (counts): Add 'duplicates' field.
4773 (_check_duplicates): New procedure.
4774 (check): Also check for duplicates.
4775 (do_log_summary): Print duplicates count.
4776 (do_reset_vars): Reset counter for duplicate test names, and
4777 discard all know test names.
4778
34584c09
AB
47792020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4780
4781 * lib/gdb.exp: Include check-test-names.exp library.
4782 * lib/check-test-names.exp: New file.
4783
e0002117
TV
47842020-05-11 Tom de Vries <tdevries@suse.de>
4785
4786 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4787
53f539a3
KS
47882020-05-11 Keith Seitz <keiths@redhat.com>
4789
4790 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4791
113ee09a
TV
47922020-05-11 Tom de Vries <tdevries@suse.de>
4793
4794 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4795 * gdb.cp/cpexprs.exp.in: .. here.
4796 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4797 cpexprs.exp.
4798
ba3e70b0
KS
47992020-05-11 Keith Seitz <keiths@redhat.com>
4800
4801 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4802 test names.
4803 * gdb.ada/arrayptr.exp: Likewise.
4804 * gdb.ada/assign_arr.exp: Likewise.
4805 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4806 * gdb.ada/bp_on_var.exp: Likewise.
4807 * gdb.ada/call_pn.exp: Likewise.
4808 * gdb.ada/complete.exp: Likewise.
4809 * gdb.ada/fun_overload_menu.exp: Likewise.
4810 * gdb.ada/funcall_param.exp: Likewise.
4811 * gdb.ada/funcall_ref.exp: Likewise.
4812 * gdb.ada/packed_array_assign.exp: Likewise.
4813 * gdb.ada/same_component_name.exp: Likewise.
4814 * gdb.ada/type_coercion.exp: Likewise.
4815 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4816 * gdb.ada/variant_record_packed_array.exp: Likewise.
4817
3ee6bb11
TV
48182020-05-11 Tom de Vries <tdevries@suse.de>
4819
4820 PR symtab/25941
4821 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4822 out of ...
4823 * gdb.dwarf2/clang-debug-names.exp: ... here.
4824 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4825 clang-debug-names.exp.in.
4826 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4827 * gdb.dwarf2/clang-debug-names-2.c: New test.
4828
86cd6bc8
AKS
48292020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4830
4831 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4832 (fortran_runto_main): New Proc, fortran version of runto_main.
4833 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4834 * gdb.fortran/array-bounds.exp: Likewise.
4835 * gdb.fortran/array-slices.exp: Likewise.
4836 * gdb.fortran/block-data.exp: Likewise.
4837 * gdb.fortran/charset.exp: Likewise.
4838 * gdb.fortran/common-block.exp: Likewise.
4839 * gdb.fortran/complex.exp: Likewise.
4840 * gdb.fortran/derived-type-function.exp: Likewise.
4841 * gdb.fortran/derived-type.exp: Likewise.
4842 * gdb.fortran/info-modules.exp: Likewise.
4843 * gdb.fortran/info-types.exp: Likewise.
4844 * gdb.fortran/intrinsics.exp: Likewise.
4845 * gdb.fortran/library-module.exp: Likewise.
4846 * gdb.fortran/logical.exp: Likewise.
4847 * gdb.fortran/max-depth.exp: Likewise.
4848 * gdb.fortran/module.exp: Likewise.
4849 * gdb.fortran/multi-dim.exp: Likewise.
4850 * gdb.fortran/nested-funcs.exp: Likewise.
4851 * gdb.fortran/print-formatted.exp: Likewise.
4852 * gdb.fortran/print_type.exp: Likewise.
4853 * gdb.fortran/printing-types.exp: Likewise.
4854 * gdb.fortran/ptr-indentation.exp: Likewise.
4855 * gdb.fortran/ptype-on-functions.exp: Likewise.
4856 * gdb.fortran/subarray.exp: Likewise.
4857 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4858 * gdb.fortran/vla-datatypes.exp: Likewise.
4859 * gdb.fortran/vla-history.exp: Likewise.
4860 * gdb.fortran/vla-ptr-info.exp: Likewise.
4861 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4862 * gdb.fortran/vla-ptype.exp: Likewise.
4863 * gdb.fortran/vla-sizeof.exp: Likewise.
4864 * gdb.fortran/vla-type.exp: Likewise.
4865 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4866 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4867 * gdb.fortran/vla-value-sub.exp: Likewise.
4868 * gdb.fortran/vla-value.exp: Likewise.
4869 * gdb.fortran/whatis_type.exp: Likewise.
4870 * gdb.mi/mi-var-child-f.exp: Likewise.
4871
6dc55ce9 48722020-05-09 Tom de Vries <tdevries@suse.de>
4873
4874 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4875
283cb58c
TV
48762020-05-08 Tom de Vries <tdevries@suse.de>
4877
4878 * gdb.dwarf2/clang-debug-names.c: New test.
4879 * gdb.dwarf2/clang-debug-names.exp: New file.
4880
ac4a4f1c
SM
48812020-05-06 Simon Marchi <simon.marchi@efficios.com>
4882
4883 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4884 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4885
24fe640b
TV
48862020-05-06 Tom de Vries <tdevries@suse.de>
4887
4888 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4889 breakpoint is at a "recommended breakpoint location".
4890 * gdb.reverse/consecutive-reverse.exp: Same.
4891
0d8683a3
TV
48922020-05-06 Tom de Vries <tdevries@suse.de>
4893
4894 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4895 address.
4896
b8983c46
TV
48972020-05-06 Tom de Vries <tdevries@suse.de>
4898
4899 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4900
abf6d805
TV
49012020-05-06 Tom de Vries <tdevries@suse.de>
4902
4903 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4904 info for r.
4905
0fc2a808
TV
49062020-05-06 Tom de Vries <tdevries@suse.de>
4907
4908 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4909 necessary.
4910
873dd427
TV
49112020-05-06 Tom de Vries <tdevries@suse.de>
4912
4913 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4914 void.
4915
7c99e7e2
TV
49162020-05-06 Tom de Vries <tdevries@suse.de>
4917
4918 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4919 of ...
4920 * gdb.base/async.exp: ... here.
4921 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4922 "recommended breakpoint location".
4923
6173d6a6
TV
49242020-05-06 Tom de Vries <tdevries@suse.de>
4925
4926 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4927
6015a067
TV
49282020-05-04 Tom de Vries <tdevries@suse.de>
4929
4930 * gdb.base/async.exp: Check whether instruction addresses are a
4931 "recommended breakpoint location".
4932
3b6acaee
TT
49332020-05-03 Tom Tromey <tom@tromey.com>
4934
4935 * gdb.base/sepdebug.exp: Remove "catch" test.
4936 * gdb.base/break.exp: Remove "catch" test.
4937 * gdb.base/default.exp: Update expected output.
4938
5beb4d17
TV
49392020-05-02 Tom de Vries <tdevries@suse.de>
4940
4941 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4942 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4943 * gdb.arch/i386-mpx-map.exp: Same.
4944 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4945 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4946 * gdb.arch/i386-mpx.exp: Same.
4947
8caf140d
TV
49482020-05-02 Tom de Vries <tdevries@suse.de>
4949
4950 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4951
693196cb
TV
49522020-05-01 Tom de Vries <tdevries@suse.de>
4953
4954 * gdb.ada/operator_bp.exp: Allow more than required amount of
4955 breakpoint.
4956
53ae0aa9
TV
49572020-05-01 Tom de Vries <tdevries@suse.de>
4958
4959 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4960
ee9d1e5f
HD
49612020-04-30 Hannes Domani <ssbssa@yahoo.de>
4962
4963 PR gdb/18706
4964 * gdb.cp/stub-array-size.cc: New test.
4965 * gdb.cp/stub-array-size.exp: New file.
4966 * gdb.cp/stub-array-size.h: New test.
4967 * gdb.cp/stub-array-size2.cc: New test.
4968
d5cf82c0
HD
49692020-04-30 Hannes Domani <ssbssa@yahoo.de>
4970
4971 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4972 output to the new format.
4973
42e165c3
SM
49742020-04-29 Simon Marchi <simon.marchi@efficios.com>
4975
4976 * gdb.base/break.exp: Use with_test_prefix.
4977
6e4e3fe1
TV
49782020-04-29 Tom de Vries <tdevries@suse.de>
4979
4980 * lib/gdb.exp (debug_types): New proc.
4981 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4982 * gdb.python/py-symtab.exp: Same.
4983
d642b692
HD
49842020-04-29 Hannes Domani <ssbssa@yahoo.de>
4985
4986 PR gdb/17320
4987 * gdb.base/pretty-array.c: New test.
4988 * gdb.base/pretty-array.exp: New file.
4989
ea90f227
TV
49902020-04-29 Tom de Vries <tdevries@suse.de>
4991
4992 PR symtab/25889
4993 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4994 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4995 and include cpexprs.exp.
4996
a65189c9
TV
49972020-04-28 Mark Williams <mark@myosotissp.com>
4998
4999 PR gdb/24480
5000 * dw4-toplevel-types.exp: Test for top level types.
5001 * dw4-toplevel-types.cc: Test for top level types.
5002
32d1f47a
TBA
50032020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5004
5005 * gdb.threads/stop-with-handle.exp: Fix typo in comment
5006 (theads -> threads).
5007
56a4f5a1
TV
50082020-04-28 Tom de Vries <tdevries@suse.de>
5009
5010 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
5011
0b2f8a3b
TV
50122020-04-28 Tom de Vries <tdevries@suse.de>
5013
5014 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
5015
5390c717
TV
50162020-04-28 Tom de Vries <tdevries@suse.de>
5017
5018 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
5019
15cd93d0
TV
50202020-04-28 Tom de Vries <tdevries@suse.de>
5021
5022 * gdb.dwarf2/main-foo.c: New test.
5023 * gdb.dwarf2/struct-with-sig.exp: New file.
5024
d472f0fb
TV
50252020-04-25 Tom de Vries <tdevries@suse.de>
5026
5027 * boards/debug-types.exp: New file.
5028
8d840e05
AB
50292020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
5030
5031 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
5032
bcfe6157
TT
50332020-04-24 Tom Tromey <tom@tromey.com>
5034
5035 PR symtab/12707:
5036 * gdb.python/py-symbol.exp: Update expected results for
5037 linkage_name test.
5038 * gdb.cp/print-demangle.exp: New file.
5039 * gdb.base/c-linkage-name.exp: Fix test.
5040 * gdb.guile/scm-symbol.exp: Update expected results for
5041 linkage_name test.
5042
f049a313
TT
50432020-04-24 Tom Tromey <tom@tromey.com>
5044
5045 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
5046 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
5047 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
5048 assembler.
5049
7cf28874
TV
50502020-04-24 Tom de Vries <tdevries@suse.de>
5051
5052 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
5053 C++.
5054
dac2fef7
TT
50552020-04-24 Tom Tromey <tromey@adacore.com>
5056
5057 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
5058 values.
5059 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
5060 values. Update test for minimal encodings.
5061 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
5062 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
5063 values. Update test for minimal encodings.
5064
1acda803
TT
50652020-04-24 Tom Tromey <tromey@adacore.com>
5066
5067 PR python/23662:
5068 * gdb.ada/variant.exp: Add Python checks.
5069 * gdb.rust/simple.exp: Add dynamic type checks.
5070
adfb9815
TT
50712020-04-24 Tom Tromey <tromey@adacore.com>
5072
5073 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
5074 Make array type matching more lax.
5075 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
5076 * gdb.ada/mi_variant.exp: New file.
5077 * gdb.ada/mi_variant/pck.ads: New file.
5078 * gdb.ada/mi_variant/pkg.adb: New file.
5079 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5080 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5081
7d79de9a
TT
50822020-04-24 Tom Tromey <tromey@adacore.com>
5083
5084 * gdb.ada/variant.exp: Add dynamic field offset tests.
5085 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5086 * gdb.ada/variant/pkg.adb: Add new variables.
5087
f8e89861
TT
50882020-04-24 Tom Tromey <tromey@adacore.com>
5089
5090 * gdb.ada/variant.exp: New file
5091 * gdb.ada/variant/pkg.adb: New file
5092 * gdb.ada/variant/pck.adb: New file
5093
86e887ae
TV
50942020-04-24 Tom de Vries <tdevries@suse.de>
5095
5096 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5097
88428775
TV
50982020-04-24 Tom de Vries <tdevries@suse.de>
5099
5100 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5101 flags.
5102
4e86f6e7
TV
51032020-04-24 Tom de Vries <tdevries@suse.de>
5104
5105 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5106
2016d3e6
TV
51072020-04-24 Tom de Vries <tdevries@suse.de>
5108
5109 * lib/gdb.exp (default_gdb_start): Handle eof.
5110 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5111 failure.
5112 * gdb.base/readnever.exp: Handle clean_restart failure.
5113
70bc38f5
TV
51142020-04-23 Tom de Vries <tdevries@suse.de>
5115
5116 * gdb.base/decl-before-def.exp: Run to main and print a again.
5117
de82891c
TV
51182020-04-23 Tom de Vries <tdevries@suse.de>
5119
5120 * gdb.base/decl-before-def-decl.c: New test.
5121 * gdb.base/decl-before-def-def.c: New test.
5122 * gdb.base/decl-before-def.exp: New file.
5123
96038148
TV
51242020-04-23 Tom de Vries <tdevries@suse.de>
5125
5126 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5127
54ac3df1
TV
51282020-04-22 Tom de Vries <tdevries@suse.de>
5129
5130 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5131 debug_info_offset.
5132 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5133 before $objsfile in the line line.
5134
714534e1
TV
51352020-04-22 Tom de Vries <tdevries@suse.de>
5136
5137 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5138
16a7dbf4
MS
51392020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5140
5141 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5142 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5143 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5144 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5145 * gdb.base/jit-protocol.h: Update definitions to match all usage
5146 contexts.
5147
51482020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5149
5150 * gdb.base: Rename all jit related test and source files.
5151
51522020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5153
5154 * gdb.base/jit-reader.exp: Relax register output check.
5155
317d2668
TV
51562020-04-22 Tom de Vries <tdevries@suse.de>
5157
5158 PR symtab/25764
5159 * gdb.base/psym-external-decl-2.c: New test.
5160 * gdb.base/psym-external-decl.c: New test.
5161 * gdb.base/psym-external-decl.exp: New file.
5162 * gdb.threads/tls.exp: Add PR25807 kfail.
5163
eea9e357
TV
51642020-04-22 Tom de Vries <tdevries@suse.de>
5165
5166 PR symtab/25801
5167 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5168 in "info source" output.
5169
3d5afab3
TV
51702020-04-22 Tom de Vries <tdevries@suse.de>
5171
5172 PR symtab/25700
5173 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5174 symtab for imported_unit.c.
5175
b32102f6
GB
51762020-04-21 Gary Benson <gbenson@redhat.com>
5177
5178 * gdb.base/advance.c (func): New argument, to match call site.
5179 (func2, func3): Add return statements.
5180
d43b7a2d
TBA
51812020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5182
5183 * gdb.multi/run-only-second-inf.c: New file.
5184 * gdb.multi/run-only-second-inf.exp: New file.
5185
d89edf9b
MM
51862020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5187
5188 * gdb.btrace/multi-inferior.c: New test.
5189 * gdb.btrace/multi-inferior.exp: New file.
5190
1a476b6d
MM
51912020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5192
5193 * gdb.btrace/enable-new-thread.c: New test.
5194 * gdb.btrace/enable-new-thread.exp: New file.
5195
4778a5f8
TV
51962020-04-21 Tom de Vries <tdevries@suse.de>
5197
5198 PR gdb/25471
5199 * gdb.threads/killed-outside.c: New test.
5200 * gdb.threads/killed-outside.exp: New file.
5201
9b2c992c
GB
52022020-04-20 Gary Benson <gbenson@redhat.com>
5203
5204 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5205 * gdb.base/nested-subp2.exp: Likewise.
5206 * gdb.base/nested-subp3.exp: Likewise.
5207
b5d1d6f7
GB
52082020-04-20 Gary Benson <gbenson@redhat.com>
5209
5210 * gdb.base/nested-subp1.exp: Disable test when using clang.
5211 * gdb.base/nested-subp2.exp: Likewise.
5212 * gdb.base/nested-subp3.exp: Likewise.
5213
25230285
GB
52142020-04-20 Gary Benson <gbenson@redhat.com>
5215
5216 * gdb.cp/exception.cc: Fix compilation error with clang.
5217
fa93cc8f
GB
52182020-04-20 Gary Benson <gbenson@redhat.com>
5219
809730f3 5220 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 5221
e0c45f30
GB
52222020-04-20 Gary Benson <gbenson@redhat.com>
5223
5224 * gdb.base/jit-main.c: Fix compilation error with clang.
5225
4ddfec93
KR
52262020-04-17 Kamil Rytarowski <n54@gmx.com>
5227
5228 * gdb.base/attach-twice.c: Include "sys/types.h".
5229 (PTRACE_ATTACH): Add fallback definition.
5230 (main): Pass `0' to the 4th argument of `ptrace'.
5231
2bed205e
KR
52322020-04-17 Kamil Rytarowski <n54@gmx.com>
5233
5234 * gdb.base/fork-running-state.c: Include "signal.h".
5235
0743fc83
TT
52362020-04-17 Tom Tromey <tromey@adacore.com>
5237
5238 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5239 Update tests.
5240 * gdb.btrace/cpu.exp: Update tests.
5241 * gdb.base/maint.exp: Update tests.
5242 * gdb.base/default.exp: Update tests.
5243 * gdb.base/completion.exp: Update tests.
5244
efba5c23
TV
52452020-04-16 Tom de Vries <tdevries@suse.de>
5246
5247 PR symtab/25791
5248 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5249 (ensure_gdb_index): and factor out and move ...
5250 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5251 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5252
d191d716
TV
52532020-04-16 Tom de Vries <tdevries@suse.de>
5254
5255 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5256 loading exec.
5257
99f1bc6a
AB
52582020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5259
5260 * gdb.base/many-completions.exp: New file.
5261
194d088f
TV
52622020-04-14 Tom de Vries <tdevries@suse.de>
5263
5264 PR symtab/25718
5265 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5266
c1a66c06
TV
52672020-04-14 Tom de Vries <tdevries@suse.de>
5268
5269 PR symtab/25720
5270 * gdb.base/maint-expand-symbols-header-file.c: New test.
5271 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5272 * gdb.base/maint-expand-symbols-header-file.h: New test.
5273
21b0982c
AB
52742020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5275
5276 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5277 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5278 get_func_info.
5279 (get_func_info): Delete.
5280 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5281 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5282 * lib/dwarf.exp (get_func_info): New function.
5283
dd1cab06
TV
52842020-04-13 Tom de Vries <tdevries@suse.de>
5285
5286 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5287 to what find_gnatmake does.
5288
71ea2b6b
TV
52892020-04-10 Tom de Vries <tdevries@suse.de>
5290
5291 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5292 -readnow.
5293
bdfc1e8a
TV
52942020-04-10 Tom de Vries <tdevries@suse.de>
5295
5296 PR cli/25808
5297 * gdb.base/style.c: Add leading newlines.
5298 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5299 Check listing of main's one-line body.
5300
14ca8ecf
TV
53012020-04-08 Tom de Vries <tdevries@suse.de>
5302
5303 * lib/gdb.exp (psymtabs_p): New proc.
5304 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5305 importing unit" unsupported if there are no partial symbols.
5306
e21d048f
TV
53072020-04-08 Tom de Vries <tdevries@suse.de>
5308
5309 PR testsuite/25760
5310 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5311
25c11aca
TV
53122020-04-07 Tom de Vries <tdevries@suse.de>
5313
5314 PR symtab/25796
5315 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5316
5707e24b
TV
53172020-04-07 Tom de Vries <tdevries@suse.de>
5318
5319 * gdb.base/check-psymtab.c: New test.
5320 * gdb.base/check-psymtab.exp: New file.
5321
6ee448cc
TT
53222020-04-06 Tom Tromey <tromey@adacore.com>
5323
5324 * gdb.ada/variant-record/proc.adb: New file.
5325 * gdb.ada/variant-record/value.adb: New file.
5326 * gdb.ada/variant-record/value.s: New file.
5327 * gdb.ada/variant-record.exp: New file.
5328
9e7c9a03
HD
53292020-04-03 Hannes Domani <ssbssa@yahoo.de>
5330
5331 PR gdb/25325
5332 * gdb.cp/typed-enum.cc: New test.
5333 * gdb.cp/typed-enum.exp: New file.
5334
c90d28ac
AB
53352020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5336
5337 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5338 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5339 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5340 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5341 * gdb.opt/inline-small-func.c: New file.
5342 * gdb.opt/inline-small-func.exp: New file.
5343 * gdb.opt/inline-small-func.h: New file.
5344
34e9a9fa
AB
53452020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5346
5347 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5348 function.
5349
6a354911
AB
53502020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5351
5352 * lib/dwarf.exp (function_range): Allow compiler options to be
5353 specified.
5354
880d9777
TV
53552020-04-02 Tom de Vries <tdevries@suse.de>
5356
5357 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5358 __attribute__((always_inline)).
5359 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5360
f32682ea
TV
53612020-04-02 Tom de Vries <tdevries@suse.de>
5362
5363 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5364 (gdbserver_gdb_exit): ... here. Add timeout warning.
5365 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5366 (connect_target_extended_remote): Append new server_spawn_id to
5367 server_spawn_ids.
5368 (cleanup): New proc.
5369 (setup, <toplevel>): Call cleanup.
5370
d3214198
TV
53712020-04-02 Tom de Vries <tdevries@suse.de>
5372
5373 * gdb.base/main-psymtab.exp: New file.
5374
cc77ed24
TV
53752020-04-02 Tom de Vries <tdevries@suse.de>
5376
5377 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5378
3638a098
TT
53792020-04-01 Tom Tromey <tom@tromey.com>
5380
5381 * gdb.base/complex-parts.exp: Add type tests.
5382
c34e8714
TT
53832020-04-01 Tom Tromey <tom@tromey.com>
5384
5385 * gdb.base/complex-parts.exp: Add arithmetic tests.
5386
981c08ce
TT
53872020-04-01 Tom Tromey <tom@tromey.com>
5388
5389 * gdb.compile/compile.exp: Update.
5390 * gdb.compile/compile-cplus.exp: Update.
5391 * gdb.base/varargs.exp: Update.
5392 * gdb.base/floatn.exp: Update.
5393 * gdb.base/endianity.exp: Update.
5394 * gdb.base/callfuncs.exp (do_function_calls): Update.
5395 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5396 (complex_float_integral_args): Update.
5397 * gdb.base/complex.exp: Update.
5398 * gdb.base/complex-parts.exp: Update.
5399
3d1cfd43
TT
54002020-04-01 Tom Tromey <tromey@adacore.com>
5401
5402 * gdb.rust/union.rs: New file.
5403 * gdb.rust/union.exp: New file.
5404 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5405 (main): Update.
5406 * gdb.rust/simple.exp: Move union tests to union.exp.
5407
e033dfa9
TT
54082020-04-01 Tom Tromey <tromey@adacore.com>
5409
5410 * gdb.rust/simple.rs (main): Remove "y0".
5411
53cccef1
TBA
54122020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5413
5414 * gdb.multi/stop-all-on-exit.c: New test.
5415 * gdb.multi/stop-all-on-exit.exp: New file.
5416
60e22c1e
HD
54172020-04-01 Hannes Domani <ssbssa@yahoo.de>
5418
5419 PR gdb/24789
5420 * gdb.cp/misc.cc: Add integer reference variable.
5421 * gdb.cp/misc.exp: Add test.
5422
e139a727
TBA
54232020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5424
5425 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5426 scenario to cover execution until the end and also the case
5427
16b0db75
TV
54282020-03-31 Tom de Vries <tdevries@suse.de>
5429
5430 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5431 c. Use "maint info symtabs" to check symtab expansion.
5432
c0502da6
TV
54332020-03-30 Tom de Vries <tdevries@suse.de>
5434
5435 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5436 unsupported.
5437 (verify_psymtab_expanded): Move ...
5438 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5439 test.
5440 (readnow): New proc.
5441
5935fd15
AB
54422020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5443
5444 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5445 with $hex.
5446
1773be9e
TT
54472020-03-20 Tom Tromey <tromey@adacore.com>
5448
5449 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5450
70304be9
TT
54512020-03-20 Tom Tromey <tromey@adacore.com>
5452
5453 * gdb.ada/sub_variant/subv.adb: New file.
5454 * gdb.ada/sub_variant.exp: New file.
5455
0dd7b8f7
TV
54562020-03-20 Tom de Vries <tdevries@suse.de>
5457
5458 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5459 first break fails.
5460 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5461
cada5fc9
AB
54622020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5463
5464 * gdb.server/exit-multiple-threads.c: New file.
5465 * gdb.server/exit-multiple-threads.exp: New file.
5466
6b8c53f2
AB
54672020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5468
5469 * gdb.fortran/mixed-lang-stack.c: New file.
5470 * gdb.fortran/mixed-lang-stack.cpp: New file.
5471 * gdb.fortran/mixed-lang-stack.exp: New file.
5472 * gdb.fortran/mixed-lang-stack.f90: New file.
5473
19a2740f
AB
54742020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5475
5476 * gdb.linespec/cp-completion-aliases.cc: New file.
5477 * gdb.linespec/cp-completion-aliases.exp: New file.
5478
d8c8b848
TV
54792020-03-19 Tom de Vries <tdevries@suse.de>
5480
5481 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5482 more precise.
5483
a9933ccf
TV
54842020-03-18 Tom de Vries <tdevries@suse.de>
5485
5486 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5487 * gdb.dwarf2/break-inline-psymtab.c: New test.
5488 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5489
2f89101f
TV
54902020-03-16 Tom de Vries <tdevries@suse.de>
5491
5492 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5493 cache_verify and cache_verify_proc.
5494
6b9374f1
TV
54952020-03-15 Tom de Vries <tdevries@suse.de>
5496
5497 * gdb.server/solib-list.exp: Handle
5498 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5499
eaeaf44c
TV
55002020-03-15 Tom de Vries <tdevries@suse.de>
5501
5502 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5503 objfiles".
5504
3293bbaf
TT
55052020-03-14 Tom Tromey <tom@tromey.com>
5506
5507 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5508
ab44624c
TV
55092020-03-14 Tom de Vries <tdevries@suse.de>
5510
5511 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5512
54c43825
TV
55132020-03-14 Tom de Vries <tdevries@suse.de>
5514
5515 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5516 result in line-by-line fashion.
5517
2ac70237
TV
55182020-03-14 Tom de Vries <tdevries@suse.de>
5519
5520 * lib/gdb.exp (supports_statement_frontiers): New proc.
5521 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5522
09546b56
TV
55232020-03-14 Tom de Vries <tdevries@suse.de>
5524
5525 * gdb.base/printcmds.exp: Add missing quoting for "print
5526 teststring2".
5527
a1f6a07c
TT
55282020-03-13 Tom Tromey <tom@tromey.com>
5529
5530 * gdb.base/printcmds.exp (test_print_strings): Add regression
5531 test.
5532 * gdb.base/printcmds.c (charptr): New typedef.
5533 (teststring2): New global.
5534
1b83d09c
AB
55352020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5536
5537 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5538 full path in the test name.
5539 (test_ld): Add some with_test_prefix blocks to make test names
5540 unique.
5541
2d61316c
TV
55422020-03-13 Tom de Vries <tdevries@suse.de>
5543
5544 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5545
2e9145ac
TV
55462020-03-13 Tom de Vries <tdevries@suse.de>
5547
5548 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5549
96c7f873
TV
55502020-03-13 Tom de Vries <tdevries@suse.de>
5551
5552 PR symtab/25646
5553 * gdb.dwarf2/imported-unit.exp: Add test.
5554
49ba92c0
TV
55552020-03-13 Tom de Vries <tdevries@suse.de>
5556
5557 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5558 (var1, var2): New variable.
5559 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5560 matching symbols.
5561
301b21e0
TV
55622020-03-13 Tom de Vries <tdevries@suse.de>
5563
5564 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5565 (Term::command): Use prompt prefix.
5566 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5567 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5568 command_no_prompt_prefix instead of prefix.
5569 * gdb.tui/tui-layout-asm.exp: Same.
5570
3f512721
SM
55712020-03-12 Simon Marchi <simon.marchi@efficios.com>
5572
5573 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5574
40310f30
SM
55752020-03-12 Simon Marchi <simon.marchi@efficios.com>
5576
5577 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5578 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5579 on" while stepping over the test instruction, match printed
5580 message.
5581
09252140
TV
55822020-03-12 Tom de Vries <tdevries@suse.de>
5583
5584 * gdb.base/info-types.exp: Use exp_continue during matching of output
5585 of "info types".
5586
14e9c72c
TV
55872020-03-12 Tom de Vries <tdevries@suse.de>
5588
5589 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5590
e515d67e
TV
55912020-03-12 Tom de Vries <tdevries@suse.de>
5592
5593 * gdb.fortran/module.exp: Use exp_continue during matching of output
5594 of "info variable -n".
5595
307eafd8
TV
55962020-03-12 Tom de Vries <tdevries@suse.de>
5597
5598 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5599 gdb.dwarf2/dw2-ranges-base.c.
5600
9a2de3fc
TV
56012020-03-12 Tom de Vries <tdevries@suse.de>
5602
5603 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5604 in presence of GLIBC debuginfo.
5605
3217502e
TV
56062020-03-12 Tom de Vries <tdevries@suse.de>
5607
5608 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5609 $core.
5610
1281424c
TV
56112020-03-12 Tom de Vries <tdevries@suse.de>
5612
5613 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5614 more precise.
5615
038b97fc
SM
56162020-03-11 Simon Marchi <simon.marchi@efficios.com>
5617
5618 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5619 from Unix to Windows path.
5620
5308d1e7
TV
56212020-03-11 Tom de Vries <tdevries@suse.de>
5622
5623 * gdb.ada/minsyms.exp: Set language to ada.
5624
f870f78f
TV
56252020-03-11 Tom de Vries <tdevries@suse.de>
5626
5627 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5628
5a13315d
TV
56292020-03-11 Tom de Vries <tdevries@suse.de>
5630
5631 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5632
976862ed
TT
56332020-03-11 Tom Tromey <tromey@adacore.com>
5634
5635 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5636
7462c383
TV
56372020-03-11 Tom de Vries <tdevries@suse.de>
5638
5639 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5640
1c6c46a0
TV
56412020-03-11 Tom de Vries <tdevries@suse.de>
5642
5643 * gdb.base/break-interp.exp: Limit verbose scope.
5644
44f41bb7
TV
56452020-03-11 Tom de Vries <tdevries@suse.de>
5646
5647 * gdb.fortran/logical.f90: Define variable with character type.
5648 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5649
b76f3a42
TV
56502020-03-11 Tom de Vries <tdevries@suse.de>
5651
5652 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5653
1c33af77
TV
56542020-03-11 Tom de Vries <tdevries@suse.de>
5655
5656 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5657 symtabs.
5658
8c95582d
AB
56592020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5660 Bernd Edlinger <bernd.edlinger@hotmail.de>
5661
5662 * gdb.cp/step-and-next-inline.cc: New file.
5663 * gdb.cp/step-and-next-inline.exp: New file.
5664 * gdb.cp/step-and-next-inline.h: New file.
5665 * gdb.dwarf2/dw2-is-stmt.c: New file.
5666 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5667 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5668 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5669 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5670
cecf8547
AB
56712020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5672
5673 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5674 is-stmt flag in the line table.
5675
0ba678c9
TV
56762020-03-09 Tom de Vries <tdevries@suse.de>
5677
5678 * lib/gdb.exp (cached_file): Create cache dir.
5679
72fbdf83
TV
56802020-03-07 Tom de Vries <tdevries@suse.de>
5681
5682 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5683 * gdb.cp/rvalue-ref-params.exp: Same.
5684
436b5e99
TV
56852020-03-06 Tom de Vries <tdevries@suse.de>
5686
5687 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5688 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5689
09f2921c
TV
56902020-03-06 Tom de Vries <tdevries@suse.de>
5691
5692 * README: Fix "the the".
5693 * gdb.base/dprintf.exp: Same.
5694
50a3cc5d
TV
56952020-03-05 Tom de Vries <tdevries@suse.de>
5696
5697 * gdb.base/maint.exp: Update "main print statistics" expected output.
5698
0a709cba
AKS
56992020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5700
5701 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5702 (fortran_int8): Likewise.
5703 (fortran_real4): Likewise.
5704 (fortran_real8): Likewise.
5705 (fortran_complex4): Likewise.
5706 (fortran_logical4): Likewise.
5707 (fortran_character1): Likewise.
5708
5e5d66b6
AB
57092020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5710
5711 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5712 printed as true.
5713
7b973adc
SDJ
57142020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5715
5716 * gdb.base/printcmds.exp: Add test to verify printf of a
5717 variable holding an address.
5718
478e490a
TV
57192020-03-03 Tom de Vries <tdevries@suse.de>
5720
5721 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5722
1ef44e86
TV
57232020-03-03 Tom de Vries <tdevries@suse.de>
5724
5725 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5726 gdb_test_multiple call.
5727
b98cc2cf
TV
57282020-03-03 Tom de Vries <tdevries@suse.de>
5729
5730 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5731 gdb_test_multiple calls.
5732
63e163f2
AB
57332020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5734
5735 * gdb.base/default.exp: Remove test of 'set history filename'.
5736 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5737 filename to the empty string.
5738 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5739 and GDBHISTSIZE.
5740
24ed6739
AB
57412020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5742
5743 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5744 disabled.
5745
590003dc 57462020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5747 Tom de Vries <tdevries@suse.de>
590003dc
TV
5748
5749 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5750 -prompt prefix, before user_code argument. Add -lbl option likewise.
5751 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5752 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5753 argument.
5754 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5755 have "\r\n" at start-of-line, instead of at end-of-line.
5756
f5e46084
SM
57572020-02-28 Simon Marchi <simon.marchi@efficios.com>
5758
5759 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5760 libinproctrace.so.
5761
f7a7000d
LM
57622020-02-28 Luis Machado <luis.machado@linaro.org>
5763
5764 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5765 to "p/x".
5766
718e0816
LM
57672020-02-28 Luis Machado <luis.machado@linaro.org>
5768
5769 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5770 asm/ptrace.h and error.h.
5771
13c3a74a
TV
57722020-02-28 Tom de Vries <tdevries@suse.de>
5773
5774 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5775 (struct wrapper, do_something, mundane/symada__cS): Move ...
5776 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5777 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5778 Update "print symada__cS before partial symtab expansion" regexp.
5779 Update breakpoint location. Flush symbol cache after expansion.
5780
85d2d5bb
LM
57812020-02-28 Luis Machado <luis.machado@linaro.org>
5782
5783 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5784
3608f86c
TV
57852020-02-27 Tom de Vries <tdevries@suse.de>
5786
5787 * config/sid.exp: Remove unused globals.
5788 * gdb.base/attach.exp: Same.
5789 * gdb.base/catch-load.exp: Same.
5790 * gdb.base/dbx.exp: Same.
5791 * lib/gdb.exp: Same.
5792 * lib/mi-support.exp: Same.
5793 * lib/prompt.exp: Same.
5794
c8d4f6df
TV
57952020-02-27 Tom de Vries <tdevries@suse.de>
5796
5797 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5798 not set.
5799
0d79cdc4
AM
58002020-02-26 Aaron Merey <amerey@redhat.com>
5801
5802 * gdb.debuginfod: New directory for debuginfod tests.
5803 * gdb.debuginfod/main.c: New test file.
5804 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5805
0dce4280
TV
58062020-02-26 Tom de Vries <tdevries@suse.de>
5807
5808 PR gdb/25603
5809 * gdb.base/persistent-lang.cc: New test.
5810 * gdb.base/persistent-lang.exp: New file.
5811
9e80cfa1
AB
58122020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5813
5814 * gdb.fortran/derived-type-striding.exp: Add a new test.
5815 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5816 new test.
5817
2078dbb2
AB
58182020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5819
5820 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5821 names.
5822
70d49700
TV
58232020-02-25 Tom de Vries <tdevries@suse.de>
5824
5825 PR go/18926
5826 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5827
a88ef40d
TV
58282020-02-24 Tom de Vries <tdevries@suse.de>
5829
5830 PR gdb/25592
5831 * gdb.base/info-locals-unused-static-var.c: New test.
5832 * gdb.base/info-locals-unused-static-var.exp: New file.
5833
01b1af32
TT
58342020-02-22 Tom Tromey <tom@tromey.com>
5835
5836 * gdb.python/tui-window.exp: New file.
5837 * gdb.python/tui-window.py: New file.
5838
7c043ba6
TT
58392020-02-22 Tom Tromey <tom@tromey.com>
5840
5841 PR tui/17850:
5842 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5843 tests.
5844
c22fef7e
TT
58452020-02-22 Tom Tromey <tom@tromey.com>
5846
5847 * gdb.tui/new-layout.exp: Add sub-layout tests.
5848
ee325b61
TT
58492020-02-22 Tom Tromey <tom@tromey.com>
5850
5851 * gdb.tui/new-layout.exp: New file.
5852
3f0cbb04
TT
58532020-02-22 Tom Tromey <tom@tromey.com>
5854
5855 * gdb.rust/rust-style.rs: New file.
5856 * gdb.rust/rust-style.exp: New file.
5857 * gdb.base/style.exp: Test structure printing.
5858 * gdb.base/style.c (struct some_struct): New type.
5859 (enum etype): New type.
5860 (struct_value): New global.
5861
75525152
TV
58622020-02-21 Tom de Vries <tdevries@suse.de>
5863
5864 PR go/18926
5865 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5866 Remove blanket xfails. Use message argument for gdb_breakpoint.
5867 Make continuing to breakpoint test conditional on setting breakpoint.
5868 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5869 DW_AT_name attribute. Add xfail for GCC PR93866.
5870
bd360d30
AB
58712020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5872
5873 * gdb.dwarf2/cpp-linkage-name.c: New file.
5874 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5875
c7adb09f 58762020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5877
5878 * lib/gdb.exp (gdb_wrapper_init): Reset
5879 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5880 not exist.
5881
a9c79803
TV
58822020-02-20 Tom de Vries <tdevries@suse.de>
5883
5884 PR go/17018
5885 * gdb.go/hello.exp: Copy ...
5886 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5887 print of st to print value of global definition. Add xfail for GCC
5888 PR93844.
5889 * gdb.go/hello.exp: Remove printing of st before definition.
5890 * gdb.go/hello.go: Copy ...
5891 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5892 to st.
5893 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5894
d7445728
TV
58952020-02-20 Tom de Vries <tdevries@suse.de>
5896
5897 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5898 (gdb_simple_compile): Handle compile_flags go by using .go extension
5899 for source file.
5900 * gdb.go/chan.exp: Use support_go_compile.
5901 * gdb.go/handcall.exp: Same.
5902 * gdb.go/hello.exp: Same.
5903 * gdb.go/integers.exp: Same.
5904 * gdb.go/max-depth.exp: Same.
5905 * gdb.go/methods.exp: Same.
5906 * gdb.go/package.exp: Same.
5907 * gdb.go/strings.exp: Same.
5908 * gdb.go/types.exp: Same.
5909 * gdb.go/unsafe.exp: Same.
5910
c9c41e6d
TV
59112020-02-19 Tom de Vries <tdevries@suse.de>
5912
5913 * gdb.python/lib-types.exp: Make xfail more strict.
5914
f20ff837
TV
59152020-02-19 Tom de Vries <tdevries@suse.de>
5916
5917 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5918
08410482
DE
59192020-02-19 Doug Evans <dje@google.com>
5920
5921 PR rust/25535
5922 * gdb.rust/simple.exp: Add test.
5923 * gdb.rust/simple.rs: Add test.
5924
623563f7
TV
59252020-02-19 Tom de Vries <tdevries@suse.de>
5926
5927 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5928 output line-by-line.
5929
d3308cfd
TV
59302020-02-19 Tom de Vries <tdevries@suse.de>
5931
5932 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5933
86cbc5dc
TV
59342020-02-19 Tom de Vries <tdevries@suse.de>
5935
5936 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5937 prelink.
5938
9db2b96b
TV
59392020-02-19 Tom de Vries <tdevries@suse.de>
5940
5941 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5942 (gdb_do_cache): Use gdb_do_cache_wrap.
5943 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5944
89e2fdc5
TV
59452020-02-19 Tom de Vries <tdevries@suse.de>
5946
5947 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5948 gdb_compile option.
5949
373d7ac0
SM
59502020-02-18 Simon Marchi <simon.marchi@efficios.com>
5951
5952 * gdb.base/printcmds.exp (test_print_enums): Update expected
5953 output.
5954
b29a2df0
SM
59552020-02-18 Simon Marchi <simon.marchi@efficios.com>
5956
5957 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5958 for "unknown".
5959
6740f0cc
SM
59602020-02-18 Simon Marchi <simon.marchi@efficios.com>
5961
5962 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5963 enumerator.
5964
edd45eb0
SM
59652020-02-18 Simon Marchi <simon.marchi@efficios.com>
5966
5967 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5968 FE_, add FE_NONE.
5969 (three): Update.
5970 (enum flag_enum_without_zero): New enum.
5971 (flag_enum_without_zero): New variable.
5972 (enum not_flag_enum): New enum.
5973 (three_not_flag): New variable.
5974 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5975 (test_print_enums): Add more tests for printing flag enums.
5976
d4295de4
TV
59772020-02-18 Tom de Vries <tdevries@suse.de>
5978
5979 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5980 (gdb_compile_ada): ... here.
5981 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5982 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5983
f251f505
TT
59842020-02-14 Tom Tromey <tom@tromey.com>
5985
5986 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5987 build directory.
5988 * boards/gdbserver-base.exp: Update path to gdbserver.
5989
8f432634
TV
59902020-02-13 Tom de Vries <tdevries@suse.de>
5991
5992 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5993
92b6eaf7
TV
59942020-02-13 Tom de Vries <tdevries@suse.de>
5995
5996 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5997 are missing.
5998
f3b0f7fe
TV
59992020-02-13 Tom de Vries <tdevries@suse.de>
6000
6001 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
6002 call.
6003
f6be8713
SDJ
60042020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
6005
6006 PR tui/25126
6007 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
6008 * gdb.base/cached-source-file.c: New file.
6009 * gdb.base/cached-source-file.exp: New file.
6010
b2770d5e
TV
60112020-02-11 Tom de Vries <tdevries@suse.de>
6012
6013 PR testsuite/25488
6014 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
6015
44f6938e
TV
60162020-02-10 Tom de Vries <tdevries@suse.de>
6017
6018 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
6019
5f0e2eb7
MR
60202020-02-10 Maciej W. Rozycki <macro@wdc.com>
6021
6022 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
6023 and $after_addr are both integers before making a comparison.
6024
46ce2b6f
TV
60252020-02-09 Tom de Vries <tdevries@suse.de>
6026
6027 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
6028 command output and paste it into gdb.log. If any, paste catch message
6029 to gdb.log.
6030
5abbbe1d
TT
60312020-02-07 Tom Tromey <tromey@adacore.com>
6032
6033 PR breakpoints/24915:
6034 * gdb.base/annotate-symlink.exp: Use setup_xfail.
6035
1d5d29e7
SV
60362020-02-06 Shahab Vahedi <shahab@synopsys.com>
6037
6038 * gdb.tui/tui-missing-src.exp: Add the "missing source
6039 file" test for the TUI.
6040
b0999b9b
AB
60412020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
6042
6043 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
6044 including a port number in the output.
6045
c3b149eb
AKS
60462020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
6047
6048 * lib/fortran.exp (fortran_int4): Handle clang.
6049 (fortran_int8): Likewise.
6050 (fortran_real4): Likewise.
6051 (fortran_real8): Likewise.
6052 (fortran_complex4): Likewise.
6053 (fortran_logical4): Likewise.
6054 (fortran_character1): Likewise.
6055
f8dcc90b
TV
60562020-02-04 Tom de Vries <tdevries@suse.de>
6057
6058 * README (Race detection): Add note.
6059
f90ac7c2
TV
60602020-02-04 Tom de Vries <tdevries@suse.de>
6061
6062 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
6063
780636ae
TV
60642020-02-04 Tom de Vries <tdevries@suse.de>
6065
6066 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
6067
5d2e1193
RA
60682020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6069
6070 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
6071 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
6072 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
6073 blttar, bnetarl.
6074 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
6075 binary for blttar, bnetarl.
6076 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6077 wait instruction. Delete ldmx test.
6078 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6079
e409c542
AKS
60802020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6081
6082 * gdb.fortran/array-bounds-high.exp: New file.
6083 * gdb.fortran/array-bounds-high.f90: New file.
6084
b0029748
LD
60852020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6086
6087 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6088 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6089
195a8287
TV
60902020-02-01 Tom de Vries <tdevries@suse.de>
6091
6092 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6093
42330a68
AB
60942020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6095
6096 PR tui/9765
6097 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6098 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6099
b62a8028
LM
61002020-01-29 Luis Machado <luis.machado@linaro.org>
6101
6102 * gdb.arch/aarch64-brk-patterns.c: New source file.
6103 * gdb.arch/aarch64-brk-patterns.exp: New test.
6104
5f440116
TBA
61052020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6106
6107 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6108 GCC/Clang version.
6109 * gdb.cp/pass-by-ref.exp: Ditto.
6110
ee2a6fc6
TV
61112020-01-29 Tom de Vries <tdevries@suse.de>
6112
6113 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6114 * gdb.threads/watchpoint-fork-mt.c: Same.
6115 * gdb.threads/watchpoint-fork-parent.c: Same.
6116 * gdb.threads/watchpoint-fork-st.c: Same.
6117 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6118
16b10d6e
LM
61192020-01-27 Luis Machado <luis.machado@linaro.org>
6120
6121 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6122 sitting at a syscall instruction when we hit the syscall function's
6123 breakpoint.
6124 Check PC against one obtained with the x command.
6125 Validate syscall number.
6126 (step_over_syscall): Don't continue to the syscall instruction if
6127 we're already there.
6128
b1468492
PW
61292020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6130
6131 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6132
7ffa82e1
AB
61332020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6134
6135 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6136 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6137
3d92a3e3
AB
61382020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6139
6140 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6141 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6142
94a72be7
AB
61432020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6144
6145 * gdb.base/maint.exp: Update line table parsing test.
6146 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6147
53af73bf
PA
61482020-01-24 Pedro Alves <palves@redhat.com>
6149
6150 PR gdb/25410
6151 * gdb.multi/multi-re-run-1.c: New.
6152 * gdb.multi/multi-re-run-2.c: New.
6153 * gdb.multi/multi-re-run.exp: New.
6154
1ba1ac88
AB
61552020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6156
6157 PR gdb/23718
6158 * gdb.server/server-kill-python.exp: New file.
6159
f3364a6d
AB
61602020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6161
6162 * gdb.server/multi-ui-errors.c: New file.
6163 * gdb.server/multi-ui-errors.exp: New file.
6164
733d0a67
AB
61652020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6166
6167 PR tui/9765
6168 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6169
4f13c1c0
TT
61702020-01-19 Tom Tromey <tom@tromey.com>
6171
6172 * gdb.tui/main.exp: Add check for plain "file".
6173
40c94099
CB
61742020-01-16 Christian Biesinger <cbiesinger@google.com>
6175
6176 * lib/gdb.exp: Fix spelling error (seperatelly).
6177
ff47f4f0
TT
61782020-01-14 Tom Tromey <tom@tromey.com>
6179
6180 PR symtab/12535:
6181 * gdb.python/python.exp: Test decode_line with empty string
6182 argument.
6183
717c684d
BE
61842020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6185
6186 * gdb.base/skip-inline.exp: Extend test.
6187
44e4c775
AB
61882020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6189
6190 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6191 * gdb.dwarf2/dw2-bad-elf.c: New file.
6192 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6193
d93c6db7
AB
61942020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6195
6196 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6197 _line_saw_file.
6198
9a6d629c
AB
61992020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6200
6201 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6202 border.
6203
d9ebdab7
TBA
62042020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6205
6206 * gdb.multi/multi-target.exp (setup): Factor out "info
6207 connections" and "info inferiors" tests to ...
6208 (test_info_inferiors): ... this new procedure.
6209 (top level): Run new "info-inferiors" tests.
6210
f3c469b9
PA
62112020-01-10 Pedro Alves <palves@redhat.com>
6212
6213 * gdb.server/bkpt-other-inferior.exp: New file.
6214
121b3efd
PA
62152020-01-10 Pedro Alves <palves@redhat.com>
6216
6217 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6218 of "add-inferior".
6219 * gdb.base/quit-live.exp: Likewise.
6220 * gdb.base/remote-exec-file.exp: Likewise.
6221 * gdb.guile/scm-progspace.exp: Likewise.
6222 * gdb.linespec/linespec.exp: Likewise.
6223 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6224 * gdb.mi/user-selected-context-sync.exp: Likewise.
6225 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6226 "info inferiors" tests.
6227 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6228 "add-inferior".
6229 * gdb.multi/watchpoint-multi.exp: Likewise.
6230 * gdb.python/py-inferior.exp: Likewise.
6231 * gdb.server/extended-remote-restart.exp: Likewise.
6232 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6233 "info inferiors".
6234 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6235 * gdb.trace/report.exp: Likewise.
6236
1dadb1dd
PA
62372020-01-10 Pedro Alves <palves@redhat.com>
6238
6239 * gdb.multi/multi-target.c: New file.
6240 * gdb.multi/multi-target.exp: New file.
6241 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6242 mode requested, but remote does not support non-stop".
6243
78f2c40a
PA
62442020-01-10 Pedro Alves <palves@redhat.com>
6245
6246 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6247 disconnect before reconnecting.
6248
e7af6c70
TBA
62492020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6250 Pedro Alves <palves@redhat.com>
6251
6252 * gdb.server/connect-without-multi-process.exp: Also test
6253 continuing to end.
6254
acdf84a6
PA
62552020-01-10 Pedro Alves <palves@redhat.com>
6256
6257 * gdb.base/remote-exec-file.exp: New file.
6258
873657b9
PA
62592020-01-10 Pedro Alves <palves@redhat.com>
6260
6261 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6262 output.
6263 * gdb.threads/async.c: New.
6264 * gdb.threads/async.exp: New.
6265 * gdb.multi/tids-gid-reset.c: New.
6266 * gdb.multi/tids-gid-reset.exp: New.
6267
7f0ae84c
GB
62682020-01-10 George Barrett <bob@bob131.so>
6269
6270 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6271 to help in finding the image relocation offset.
6272 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6273 options in arguments.
6274 (stap_test_no_debuginfo): Likewise.
6275 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6276 test variants.
6277 (stap_test): Add null semaphore relocation test.
6278
47e9d49d
GB
62792020-01-10 George Barrett <bob@bob131.so>
6280
6281 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6282 * gdb.base/stap-probe.exp: Likewise.
6283 (stap_test): Pass argument as an additional flag.
6284 (stap_test_no_debuginfo): Likewise.
6285 (stap_test): Check `info probes stap' output for semaphore
6286 addresses if the test binary is supposed to have them.
6287
f5a7c406
AB
62882020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6289
6290 * gdb.tui/basic.exp: Add more scrolling tests.
6291
9ae6bf64
TT
62922020-01-09 Tom Tromey <tom@tromey.com>
6293
6294 PR tui/18932:
6295 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6296 meangingful value.
6297 (Term::command, Term::resize): Update.
6298 * gdb.tui/basic.exp: Add scrolling test.
6299
b2efe70c
AB
63002020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6301
6302 * gdb.tui/tui-layout-asm.exp: New file.
6303
3804da7e
AB
63042020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6305
6306 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6307
b40aa28f
AB
63082020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6309
6310 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6311 (Term::enter_tui): Use Term::prepare_for_tui.
6312
63ffd7c9
AB
63132020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6314
6315 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6316 called.
6317
3be966f6
AB
63182020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6319
6320 * gdb.base/skip.exp: Fix race condition in test.
6321
153d79c4
AB
63222020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6323
6324 * gdb.base/backtrace.c: New file.
6325 * gdb.base/backtrace.exp: New file.
6326
f2302a34
AB
63272020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6328
6329 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6330
6ec1d75e
PW
63312020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6332
6333 * gdb.base/style.exp: Test that warnings are styled.
6334
c296cbe6
BE
63352019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6336
6337 * gdb.base/line65535.exp: New file.
6338 * gdb.base/line65535.c: New file.
6339
b28a729d
SM
63402019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6341
6342 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6343 * lib/gnat_debug_info_test.adb: New file.
6344 * gdb.ada/ptype_tagged_param.exp: Use
6345 gnat_runtime_has_debug_info, expect a different output if
6346 runtime does not have debug info.
6347
7f2d7a0d
SM
63482019-12-20 Simon Marchi <simon.marchi@efficios.com>
6349
6350 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6351 (another) quote in test name.
6352
f3bce483
SM
63532019-12-20 Simon Marchi <simon.marchi@efficios.com>
6354
6355 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6356 Add quote in test name.
6357
c855a912
TBA
63582019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6359
6360 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6361 directory instead.
6362 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6363 * gdb.cp/pass-by-ref-2.cc: New file.
6364 * gdb.cp/pass-by-ref-2.exp: New file.
6365
fc9d2d72
TT
63662019-12-20 Tom Tromey <tom@tromey.com>
6367
6368 * gdb.tui/list-before.exp: New file.
6369
77b97e00
TT
63702019-12-20 Tom Tromey <tom@tromey.com>
6371
6372 * gdb.tui/list.exp: Check for source on initial listing.
6373
f69656d0
TT
63742019-12-11 Tom Tromey <tromey@adacore.com>
6375
6376 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6377 Add crlf test.
6378
99a55965
SM
63792019-12-18 Simon Marchi <simon.marchi@efficios.com>
6380
6381 * gdb.base/default.exp: Update value of $_gdb_major.
6382
5024637f
BE
63832019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6384
6385 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6386
b63634be
BE
63872019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6388
6389 * gdb.base/skip.exp: Whitespace fix.
6390
45d73523
BE
63912019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6392
6393 * gdb.base/skip-inline.c: New file.
6394 * gdb.base/skip-inline.exp: New file.
6395
d043f8c8
SM
63962019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6397
6398 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6399 jit_function_00 to jit_function_stack_mangle.
6400 * gdb.base/jithost.c (jit_function_t): Rename to...
6401 (jit_function_stack_mangle_t): ... this.
6402 (jit_function_add_t): New typedef.
6403 (jit_function_00_code): Rename to...
6404 (jit_function_stack_mangle_code): ... this, make static.
6405 (jit_function_add_code): New.
6406 (main): Generate "add" function and call it. Adjust to changes
6407 in jithost_abi.
6408 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6409 (struct jithost_abi) <begin, end>: Remove fields.
6410 <object, function_stack_mangle, function_add>: New fields.
6411 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6412 code_end>: Remove fields.
6413 <func_stack_mangle>: New field.
6414 (read_debug_info): Adjust to renaming, create block for "add"
6415 function.
6416 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6417
873de05c
TT
64182019-12-11 Tom Tromey <tom@tromey.com>
6419
6420 * gdb.tui/resize.exp: Fix regexp.
6421 * gdb.tui/regs.exp: Fix regexps.
6422 * gdb.tui/main.exp: Fix regexp.
6423
3d979945
TT
64242019-12-11 Tom Tromey <tom@tromey.com>
6425
6426 * gdb.tui/resize.exp: Update.
6427 * gdb.tui/empty.exp (layouts): Update.
6428
2192a9d3
TT
64292019-12-11 Tom Tromey <tom@tromey.com>
6430
6431 * gdb.tui/regs.exp: Update.
6432 * gdb.tui/empty.exp (layouts): Update.
6433 * gdb.tui/basic.exp: Update.
6434 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6435
d8edc8b7
PW
64362019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6437
6438 * gdb.base/options.exp: Add -raw-values in the print completion list.
6439 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6440
4c12d936
KB
64412019-12-10 Kevin Buettner <kevinb@redhat.com>
6442
6443 * gdb.threads/omp-par-scope.c: New file.
6444 * gdb/threads/omp-par-scope.exp: New file.
6445
26b911fb
KB
64462019-12-10 Kevin Buettner <kevinb@redhat.com>
6447
bb47f919
KB
6448 * lib/gdb.exp (support_nested_function_tests): New proc.
6449
64502019-12-10 Kevin Buettner <kevinb@redhat.com>
6451
6452 * lib/gdb.exp (gdb_compile_openmp): New proc.
6453 (build_executable_from_specs): Add an "openmp" option.
6454 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6455
6c71eb7d
TT
64562019-12-10 Tom Tromey <tromey@adacore.com>
6457
6458 * gdb.ada/unchecked_union.exp: New file.
6459 * gdb.ada/unchecked_union/pck.adb: New file.
6460 * gdb.ada/unchecked_union/pck.ads: New file.
6461 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6462 * gdb-utils.exp (string_to_regexp): Also quote "?".
6463
bac7c5cf
GB
64642019-12-10 George Barrett <bob@bob131.so>
6465
6466 Test scripted probe breakpoints.
6467 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6468 * gdb.python/py-breakpoint.c (main): Likewise.
6469 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6470 specifier test.
6471 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6472
330f1d38
TBA
64732019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6474
6475 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6476 an rvalue parameter.
6477 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6478 parameter.
6479
b43315e2
AB
64802019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6481
6482 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6483 modules.
6484
54f73dad
AB
64852019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6486
6487 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6488 broken version of GCC.
6489
d57cbee9
AB
64902019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6491
6492 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6493 sym-info-cmds library.
6494 * gdb.fortran/info-types.exp: Likewise.
6495 * lib/sym-info-cmds.exp: New file.
6496
c14aab8c
TV
64972019-12-08 Tom de Vries <tdevries@suse.de>
6498
6499 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6500
aa2d5a42
KS
65012019-12-07 Keith Seitz <keiths@redhat.com>
6502
6503 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6504 * gdb.base/corefile-buildid-shlib.c: New file.
6505 * gdb.base/corefile-buildid.c: New file.
6506 * gdb.base/corefile-buildid.exp: New file.
6507
93e55f0a
TV
65082019-12-06 Tom de Vries <tdevries@suse.de>
6509
6510 * gdb.dwarf2/varval.exp: Add decl before def test.
6511
c7d12402
TBA
65122019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6513
6514 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6515
06acc08f
TBA
65162019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6517
6518 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6519 CV and reference conversion for overload resolution.
6520 * gdb.cp/rvalue-ref-overload.exp: Test it.
6521
e0fad1ea
PW
65222019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6523
6524 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6525 * gdb.base/frameapply.exp: Test faas without command.
6526
8d70a9f0
AB
65272019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6528
6529 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6530 Fortran tests.
6531 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6532 order.
6533
36c8fb93
AB
65342019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6535
6536 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6537 casting to type with no kind specified.
6538 (test_basic_parsing_of_type_kinds): Additional tests for types
6539 with no kind specified, and add tests for single/double
6540 precision/complex types.
6541
4139ff00
TT
65422019-12-04 Tom Tromey <tromey@adacore.com>
6543
6544 * gdb.base/endianity.c (struct other) <x>: New field.
6545 (main): Initialize it.
6546 * gdb.base/endianity.exp: Update.
6547
a05cf17a
TT
65482019-12-04 Tom Tromey <tromey@adacore.com>
6549
6550 * gdb.ada/scalar_storage/storage.adb: New file.
6551 * gdb.ada/scalar_storage/pck.adb: New file.
6552 * gdb.ada/scalar_storage/pck.ads: New file.
6553 * gdb.ada/scalar_storage.exp: New file.
6554
103a685e
TT
65552019-12-04 Tom Tromey <tromey@adacore.com>
6556
6557 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6558 (main): Initialize it.
6559 * gdb.base/endianity.exp: Update.
6560
c2512106
AB
65612019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6562
6563 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6564
293b38d6
AB
65652019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6566
6567 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6568 -symbol-info-module-functions and -symbol-info-module-variables.
6569
216a7e6b
AB
65702019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6571
6572 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6573
5bbd8269
AB
65742019-12-01 Richard Bunt <richard.bunt@arm.com>
6575 Andrew Burgess <andrew.burgess@embecosm.com>
6576
6577 * gdb.fortran/derived-type-striding.exp: New file.
6578 * gdb.fortran/derived-type-striding.f90: New file.
6579 * gdb.fortran/array-slices.exp: New file.
6580 * gdb.fortran/array-slices.f90: New file.
6581
be09caf1
PW
65822019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6583
6584 * gdb.base/define.exp: Test . in command names.
6585 * gdb.base/setshow.exp: Update test, as . is now part of
6586 command name.
6587
643c0cbe
PW
65882019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6589
6590 * gdb.base/define-prefix.exp: New file.
6591
dcdec678
AB
65922019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6593
6594 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6595 compile.
6596 (skip_btrace_pt_tests): Likewise.
6597
640ab947
AB
65982019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6599
6600 * gdb.fortran/info-modules.exp: Compile source files in correct
6601 order.
6602
d22670f0
KB
66032019-11-27 Kevin Buettner <kevinb@redhat.com>
6604
6605 * gdb.dwarf2/imported-unit.exp: New file.
6606 * gdb.dwarf2/imported-unit.c: New file.
6607
db5960b4
AB
66082019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6609
6610 * gdb.mi/mi-fortran-modules-2.f90: New file.
6611 * gdb.mi/mi-fortran-modules.exp: New file.
6612 * gdb.mi/mi-fortran-modules.f90: New file.
6613
7dc42066
AB
66142019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6615
6616 * gdb.mi/mi-sym-info-1.c: New file.
6617 * gdb.mi/mi-sym-info-2.c: New file.
6618 * gdb.mi/mi-sym-info.exp: New file.
6619
0dfeecca
TT
66202019-11-22 Tom Tromey <tromey@adacore.com>
6621
6622 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6623 * gdb.ada/tasks/foo.adb: Add another stopping location.
6624
34877895
PJ
66252019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6626
6627 * gdb.base/endianity.c: New test.
6628 * gdb.base/endianity.exp: New file.
6629
2e84f897
LD
66302019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6631
6632 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6633
65d1cd5f
TV
66342019-11-21 Tom de Vries <tdevries@suse.de>
6635
6636 PR gdb/24956
6637 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6638
4f22c3f4
SDJ
66392019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6640
6641 * gdb.python/py-progspace.exp: Add missing parentheses on some
6642 'print' commands.
6643
9f6ad286
TT
66442019-11-19 Tom Tromey <tom@tromey.com>
6645
6646 * gdb.tui/winheight.exp: New file.
6647
0b8dbf3f
AB
66482019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6649
6650 * gdb.base/ctf-whatis.c: Delete.
6651 * gdb.base/ctf-whatis.exp: Delete.
6652 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6653
f833b7a7
AB
66542019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6655
6656 * gdb.base/ctf-cvexpr.exp: Delete.
6657 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6658
30d0a636
AB
66592019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6660
6661 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6662 the compiler. Clean up header comment a little.
6663 * gdb.base/ctf-ptype.exp: Likewise.
6664 * gdb.base/ctf-whatis.exp: Likewise.
6665 * lib/gdb.exp (skip_ctf_tests): New proc.
6666
494409bb
SDJ
66672019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6668
6669 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6670 * gdb.tui/corefile-run.exp: New file.
6671
55708e99
TT
66722019-11-14 Tom Tromey <tromey@adacore.com>
6673
6674 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6675 regression tests.
6676
45e42163
TT
66772019-11-12 Tom Tromey <tom@tromey.com>
6678
6679 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6680 after any command. Expect prompt after WAIT_FOR is seen.
6681 (enter_tui): Enable resize messages.
6682 (command): Expect command in output.
6683 (get_line): Avoid error when cursor appears to be off-screen.
6684 (dump_screen): Include screen size in title.
6685 (_do_resize): New proc, from "resize".
6686 (resize): Rewrite. Do resize in two steps.
6687 * gdb.tui/empty.exp (layouts): Fix entries.
6688 (check_boxes): Remove xfail.
6689 (check_text): Dump screen on failure.
6690
086baaf1
AB
66912019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6692
6693 * gdb.python/py-symbol.exp: Add test for
6694 gdb.lookup_static_symbols.
6695
09ff83af
AB
66962019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6697
6698 * gdb.python/py-symbol.c: Declare and call function from new
6699 py-symbol-2.c file.
6700 * gdb.python/py-symbol.exp: Compile both source files, and add new
6701 tests for gdb.lookup_static_symbol.
6702 * gdb.python/py-symbol-2.c: New file.
6703
11af934b
TV
67042019-11-02 Tom de Vries <tdevries@suse.de>
6705
6706 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6707 * gdb.base/anon.exp: Same.
6708 * gdb.base/auto-connect-native-target.exp: Same.
6709 * gdb.base/call-ar-st.exp: Same.
6710 * gdb.base/catch-syscall.exp: Same.
6711 * gdb.base/commands.exp: Same.
6712 * gdb.base/default.exp: Same.
6713 * gdb.base/display.exp: Same.
6714 * gdb.base/float.exp: Same.
6715 * gdb.base/foll-fork.exp: Same.
6716 * gdb.base/help.exp: Same.
6717 * gdb.base/info-macros.exp: Same.
6718 * gdb.base/info-proc.exp: Same.
6719 * gdb.base/info-target.exp: Same.
6720 * gdb.base/long_long.exp: Same.
6721 * gdb.base/macscp.exp: Same.
6722 * gdb.base/memattr.exp: Same.
6723 * gdb.base/nofield.exp: Same.
6724 * gdb.base/pointers.exp: Same.
6725 * gdb.base/printcmds.exp: Same.
6726 * gdb.base/ptype.exp: Same.
6727 * gdb.base/restore.exp: Same.
6728 * gdb.base/return.exp: Same.
6729 * gdb.base/scope.exp: Same.
6730 * gdb.base/set-noassign.exp: Same.
6731 * gdb.base/setshow.exp: Same.
6732 * gdb.base/shlib-call.exp: Same.
6733 * gdb.base/signals.exp: Same.
6734 * gdb.base/sigstep.exp: Same.
6735 * gdb.base/skip.exp: Same.
6736 * gdb.base/solib-symbol.exp: Same.
6737 * gdb.base/stap-probe.exp: Same.
6738 * gdb.base/step-line.exp: Same.
6739 * gdb.base/step-test.exp: Same.
6740 * gdb.base/style.exp: Same.
6741 * gdb.base/varargs.exp: Same.
6742 * gdb.base/vla-datatypes.exp: Same.
6743 * gdb.base/vla-ptr.exp: Same.
6744 * gdb.base/vla-sideeffect.exp: Same.
6745 * gdb.base/volatile.exp: Same.
6746 * gdb.base/watch-cond-infcall.exp: Same.
6747 * gdb.base/watchpoint.exp: Same.
6748
e96ec2ba
TV
67492019-11-02 Tom de Vries <tdevries@suse.de>
6750
6751 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6752 * gdb.cp/cpexprs.exp: Same.
6753 * gdb.cp/except-multi-location.exp: Same.
6754 * gdb.cp/exceptprint.exp: Same.
6755 * gdb.cp/gdb2384.exp: Same.
6756 * gdb.cp/inherit.exp: Same.
6757 * gdb.cp/m-static.exp: Same.
6758 * gdb.cp/meth-typedefs.exp: Same.
6759 * gdb.cp/misc.exp: Same.
6760 * gdb.cp/namespace.exp: Same.
6761 * gdb.cp/non-trivial-retval.exp: Same.
6762 * gdb.cp/overload.exp: Same.
6763 * gdb.cp/pr17132.exp: Same.
6764 * gdb.cp/re-set-overloaded.exp: Same.
6765 * gdb.cp/rvalue-ref-types.exp: Same.
6766 * gdb.cp/templates.exp: Same.
6767
bd5766ec
LM
67682019-11-01 Luis Machado <luis.machado@linaro.org>
6769
6770 PR gdb/25124
6771
6772 * gdb.arch/pr25124.S: New file.
6773 * gdb.arch/pr25124.exp: New file.
6774
165f8965
AB
67752019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6776
6777 * gdb.fortran/info-modules.exp: Update expected results, and add
6778 additional tests for 'info module functinos', and 'info module
6779 variables'.
6780 * gdb.fortran/info-types.exp: Update expected results.
6781 * gdb.fortran/info-types.f90: Extend testcase with additional
6782 module variables and functions.
6783
59c35742
AB
67842019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6785
6786 * gdb.fortran/info-modules.exp: New file.
6787 * gdb.fortran/info-types.exp: Build with new file.
6788 * gdb.fortran/info-types.f90: Include and use new module.
6789 * gdb.fortran/info-types-2.f90: New file.
6790
f3fb2519
PW
67912019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6792
6793 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6794 * gdb.base/settings.exp: Test all settings types using
6795 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6796 that now verifies that the value of "maint show" is the same as
6797 returned by the settings functions. Test the type of the
6798 maintenance settings.
6799 * gdb.base/default.exp: Update show_conv_list.
6800
d1e36019
TV
68012019-10-31 Tom de Vries <tdevries@suse.de>
6802
6803 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6804 gdb_test.
6805 * gdb.arch/amd64-disp-step.exp: Same.
6806 * gdb.asm/asm-source.exp: Same.
6807 * gdb.btrace/buffer-size.exp: Same.
6808 * gdb.btrace/cpu.exp: Same.
6809 * gdb.btrace/enable.exp: Same.
6810 * gdb.dwarf2/count.exp: Same.
6811 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6812 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6813 * gdb.fortran/vla-datatypes.exp: Same.
6814 * gdb.fortran/vla-history.exp: Same.
6815 * gdb.fortran/vla-ptype.exp: Same.
6816 * gdb.fortran/vla-value.exp: Same.
6817 * gdb.fortran/whatis_type.exp: Same.
6818 * gdb.guile/guile.exp: Same.
6819 * gdb.multi/tids.exp: Same.
6820 * gdb.python/py-finish-breakpoint.exp: Same.
6821 * gdb.python/py-framefilter.exp: Same.
6822 * gdb.python/py-pp-registration.exp: Same.
6823 * gdb.python/py-xmethods.exp: Same.
6824 * gdb.python/python.exp: Same.
6825 * gdb.server/connect-with-no-symbol-file.exp: Same.
6826 * gdb.server/no-thread-db.exp: Same.
6827 * gdb.server/run-without-local-binary.exp: Same.
6828 * gdb.stabs/weird.exp: Same.
6829 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6830 * gdb.threads/thread-find.exp: Same.
6831 * gdb.threads/tls-shared.exp: Same.
6832 * gdb.threads/tls.exp: Same.
6833 * gdb.threads/wp-replication.exp: Same.
6834 * gdb.trace/ax.exp: Same.
6835 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6836
3d11e68e
TV
68372019-10-31 Tom de Vries <tdevries@suse.de>
6838
6839 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6840 * gdb.ada/array_subscript_addr.exp: Same.
6841 * gdb.ada/arrayidx.exp: Same.
6842 * gdb.ada/arrayparam.exp: Same.
6843 * gdb.ada/arrayptr.exp: Same.
6844 * gdb.ada/boolean_expr.exp: Same.
6845 * gdb.ada/call_pn.exp: Same.
6846 * gdb.ada/complete.exp: Same.
6847 * gdb.ada/fixed_cmp.exp: Same.
6848 * gdb.ada/fun_addr.exp: Same.
6849 * gdb.ada/funcall_param.exp: Same.
6850 * gdb.ada/interface.exp: Same.
6851 * gdb.ada/mod_from_name.exp: Same.
6852 * gdb.ada/null_array.exp: Same.
6853 * gdb.ada/packed_array.exp: Same.
6854 * gdb.ada/packed_tagged.exp: Same.
6855 * gdb.ada/print_chars.exp: Same.
6856 * gdb.ada/print_pc.exp: Same.
6857 * gdb.ada/ptype_arith_binop.exp: Same.
6858 * gdb.ada/ptype_field.exp: Same.
6859 * gdb.ada/ptype_tagged_param.exp: Same.
6860 * gdb.ada/rec_return.exp: Same.
6861 * gdb.ada/ref_tick_size.exp: Same.
6862 * gdb.ada/str_ref_cmp.exp: Same.
6863 * gdb.ada/taft_type.exp: Same.
6864 * gdb.ada/tagged.exp: Same.
6865 * gdb.ada/type_coercion.exp: Same.
6866 * gdb.ada/uninitialized_vars.exp: Same.
6867
60b6ede8
TV
68682019-10-30 Tom de Vries <tdevries@suse.de>
6869
6870 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6871
30baf67b
TV
68722019-10-26 Tom de Vries <tdevries@suse.de>
6873
6874 * gdb.base/bigcore.c: Fix typos in comments.
6875 * gdb.base/ctf-ptype.c: Same.
6876 * gdb.base/long_long.c: Same.
6877 * gdb.dwarf2/dw2-op-out-param.S: Same.
6878 * gdb.python/py-evthreads.c: Same.
6879 * gdb.reverse/i387-stack-reverse.c: Same.
6880 * gdb.trace/tfile.c: Same.
6881 * lib/compiler.c: Same.
6882 * lib/compiler.cc: Same.
6883
158da0d1
TV
68842019-10-25 Tom de Vries <tdevries@suse.de>
6885
6886 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6887 gdb_test_multiple calls.
6888 * gdb.reverse/sigall-reverse.exp: Same.
6889 * gdb.reverse/solib-precsave.exp: Same.
6890 * gdb.reverse/solib-reverse.exp: Same.
6891 * gdb.reverse/until-precsave.exp: Same.
6892 * gdb.reverse/until-reverse.exp: Same.
6893
4ccdfbec
TV
68942019-10-24 Tom de Vries <tdevries@suse.de>
6895
6896 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6897 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6898 kfail using -wrap pattern flag and convenience variable
6899 gdb_test_name.
6900
33d569b7
AB
69012019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6902
6903 * gdb.python/py-progspace.exp: Add tests for the
6904 Progspace.block_for_pc method.
6905
4d0b984b
TT
69062019-10-23 Tom Tromey <tom@tromey.com>
6907
6908 * configure: Rebuild.
6909 * aclocal.m4: Use m4_include, not sinclude.
6910
94cb3754
TV
69112019-10-21 Tom de Vries <tdevries@suse.de>
6912
6913 * gdb.base/infcall-nested-structs.c: Add
6914 __attribute__((noinline,noclone)) to all functions.
6915 (call_all): Add missing variable initialization. Simplify return value.
6916 (breakpt): Increment volatile variable, to prevent call from being
6917 optimized out.
6918 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6919
062f1fc1
TV
69202019-10-17 Tom de Vries <tdevries@suse.de>
6921
6922 * gdb.fortran/module.exp: Allow info variables to print info for files
6923 other than module.f90.
6924
0b54364d
AB
69252019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6926
6927 * gdb.fortran/module.exp: Extend with 'info variables' test.
6928
7ff5fae7
AB
69292019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6930
6931 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6932 F77_FOR_TARGET.
6933
d10eccaa
TV
69342019-10-16 Tom de Vries <tdevries@suse.de>
6935
6936 PR tdep/25096
6937 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6938
745ff14e
TV
69392019-10-16 Tom de Vries <tdevries@suse.de>
6940
6941 PR tdep/24104
6942 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6943 Add KFAIL for PR tdep/25096.
6944
03e1ab94
TV
69452019-10-16 Tom de Vries <tdevries@suse.de>
6946
6947 PR testsuite/25059
6948 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6949
b17fcc10
TV
69502019-10-16 Tom de Vries <tdevries@suse.de>
6951
6952 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6953 as signed.
6954
9223170f
SM
69552019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6956
6957 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6958 one instead of increasing timeout.
6959
d6e76313
TV
69602019-10-13 Tom de Vries <tdevries@suse.de>
6961
6962 PR record/25038
6963 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6964 * gdb.reverse/sigall-reverse.exp: Same.
6965 * gdb.reverse/solib-precsave.exp: Same.
6966 * gdb.reverse/solib-reverse.exp: Same.
6967 * gdb.reverse/step-precsave.exp: Same.
6968 * gdb.reverse/until-precsave.exp: Same.
6969 * gdb.reverse/until-reverse.exp: Same.
6970 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6971
6dfc0041
AA
69722019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6973
6974 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6975 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6976 (cmp_struct_05_01, cmp_struct_static_02_01)
6977 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6978 comparisons.
6979
abcf2cc8
TV
69802019-10-10 Tom de Vries <tdevries@suse.de>
6981
6982 PR testsuite/24888
6983 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6984 gnatlink.
6985
a50faaf6
TV
69862019-10-09 Tom de Vries <tdevries@suse.de>
6987
6988 PR testsuite/25048
6989 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6990
60ff3cd7
AB
69912019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6992
6993 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6994 exceptions due to missing debug information.
6995
dfee8566
TV
69962019-10-07 Tom de Vries <tdevries@suse.de>
6997
6998 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6999
3d63690a
AB
70002019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7001
7002 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
7003 * gdb.base/annota1.exp: Update to use gdb_test_name.
7004
30d1f018
WP
70052019-10-07 Weimin Pan <weimin.pan@oracle.com>
7006
7007 * gdb.base/ctf-whatis.exp: New file.
7008 * gdb.base/ctf-whatis.c: New file.
7009 * gdb.base/ctf-ptype.exp: New file.
7010 * gdb.base/ctf-ptype.c: New file.
7011 * gdb.base/ctf-constvars.exp: New file.
7012 * gdb.base/ctf-constvars.c: New file.
7013 * gdb.base/ctf-cvexpr.exp: New file.
7014
4dbbb47c
TV
70152019-10-04 Tom de Vries <tdevries@suse.de>
7016
7017 * gdb.cp/local-static.c (main): Move declaration of int i out of the
7018 for loop.
7019
77c2dba3
TT
70202019-10-03 Tom Tromey <tom@tromey.com>
7021
7022 PR rust/24976:
7023 * gdb.rust/simple.rs (Union2): New type.
7024 (main): Use Union2.
7025 * gdb.rust/simple.exp: Add test.
7026
179aed7f
AB
70272019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7028
7029 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
7030 nested function prefix.
7031
0a4b0913
AB
70322019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7033 Richard Bunt <richard.bunt@arm.com>
7034 Andrew Burgess <andrew.burgess@embecosm.com>
7035
7036 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
7037 nested functions.
7038 * gdb.fortran/nested-funcs.f90: Update expected results.
7039 * gdb.fortran/nested-funcs-2.exp: New file.
7040 * gdb.fortran/nested-funcs-2.f90: New file.
7041
082cce05
AB
70422019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7043
7044 * gdb.python/py-parameter.exp: Make test names unique.
7045 * gdb.python/py-template.exp: Likewise.
7046 * gdb.python/py-value.exp: Likewise.
7047
2b74ba5a
AB
70482019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7049
7050 * gdb.base/break-interp.exp: Reduce test name duplication.
7051 * gdb.base/call-sc.exp: Likewise.
7052 * gdb.base/callfuncs.exp: Likewise.
7053 * gdb.base/charset.exp: Likewise.
7054 * gdb.base/dump.exp: Likewise.
7055 * gdb.base/ena-dis-br.exp: Likewise.
7056 * gdb.base/relational.exp: Likewise.
7057 * gdb.base/step-over-syscall.exp: Likewise.
7058 * gdb.base/structs.exp: Likewise.
7059
58eb20d5
AB
70602019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7061
7062 * gdb.linespec/explicit.exp: Make test names unique.
7063 * gdb.linespec/ls-errs.exp: Likewise.
7064
4d421147
AB
70652019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7066
7067 * gdb.reverse/break-precsave.exp: Make test names unique.
7068 * gdb.reverse/break-reverse.exp: Likewise.
7069 * gdb.reverse/finish-precsave.exp: Likewise.
7070 * gdb.reverse/finish-reverse.exp: Likewise.
7071 * gdb.reverse/machinestate-precsave.exp: Likewise.
7072 * gdb.reverse/machinestate.exp: Likewise.
7073 * gdb.reverse/readv-reverse.exp: Likewise.
7074 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7075 * gdb.reverse/sigall-precsave.exp: Likewise.
7076 * gdb.reverse/sigall-reverse.exp: Likewise.
7077 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7078 * gdb.reverse/watch-precsave.exp: Likewise.
7079 * gdb.reverse/watch-reverse.exp: Likewise.
7080
d8c06f22
AB
70812019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7082
7083 * gdb.threads/stop-with-handle.c: New file.
7084 * gdb.threads/stop-with-handle.exp: New file.
7085
3a56ed86
TV
70862019-10-03 Tom de Vries <tdevries@suse.de>
7087
7088 PR testsuite/25059
7089 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7090 directory" line to be missing.
7091
42275044
TV
70922019-10-03 Tom de Vries <tdevries@suse.de>
7093
7094 PR testsuite/25059
7095 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7096 type optional.
7097
9ef62df0
AA
70982019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7099
7100 * gdb.python/py-format-string.c (string.h): New include.
7101 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7102 the same value, for endianness-independence.
7103 * gdb.python/py-format-string.exp (default_regexp_dict)
7104 (test_pretty_structs, test_format): Adjust expected output to the
7105 changed initialization.
7106
37f6a7f4
TT
71072019-10-02 Tom Tromey <tromey@adacore.com>
7108
7109 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7110
1d58d6a2
PA
71112019-10-02 Pedro Alves <palves@redhat.com>
7112 Andrew Burgess <andrew.burgess@embecosm.com>
7113
7114 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7115 "print-file-var.h".
7116 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7117 (get_version_1): Print this_version_id and its address.
7118 Add extern "C" wrappers around interface functions.
7119 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7120 "print-file-var.h".
7121 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7122 (get_version_2): Print this_version_id and its address.
7123 Add extern "C" wrappers around interface functions.
7124 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7125 <stddef.h> and "print-file-var.h".
7126 Add extern "C" wrappers around interface functions.
7127 [VERSION_ID_MAIN] (this_version_id): Define.
7128 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7129 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7130 up extern "C" blocks.
7131 * gdb.base/print-file-var.exp (test): New, factored out from top
7132 level.
7133 (top level): Test all combinations of attribute hidden or not,
7134 dlopen or not, and this_version_id symbol in main file or not.
7135 Compile tests as both C++ and C, make test names unique.
7136
d770d56f
TT
71372019-10-01 Tom Tromey <tom@tromey.com>
7138
7139 * gdb.base/style.exp: Test "show logging filename".
7140
7f6aba03
TT
71412019-10-01 Tom Tromey <tom@tromey.com>
7142
7143 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7144 * gdb.base/style.exp: Add metadata style test.
7145
14309bb6
TT
71462019-10-01 Tom Tromey <tom@tromey.com>
7147
7148 * gdb.base/style.exp: Test "pwd".
7149
2a3c1174
PA
71502019-10-01 Tom Tromey <tom@tromey.com>
7151
7152 * gdb.base/style.exp: Update tests.
7153
53d666ec
AA
71542019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7155
7156 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7157 'six' to unsigned.
7158 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7159 'five'. Use an all-ones bit pattern for each.
7160 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7161 to its changed values.
7162
4a56a520
TT
71632019-09-30 Tom Tromey <tromey@adacore.com>
7164
7165 * gdb.rust/traits.rs: Disable all warnings.
7166
0df0352a
TV
71672019-09-29 Tom de Vries <tdevries@suse.de>
7168
aac66a4c 7169 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 7170
73d9a918
TV
71712019-09-29 Tom de Vries <tdevries@suse.de>
7172
7173 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7174
060b3ab4
TV
71752019-09-27 Tom de Vries <tdevries@suse.de>
7176
7177 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7178
68f7d34d
TV
71792019-09-27 Tom de Vries <tdevries@suse.de>
7180
7181 PR record/23188
7182 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7183
5d63b30a
TT
71842019-09-26 Tom Tromey <tromey@adacore.com>
7185
7186 * gdb.ada/py_taft.exp: New file.
7187 * gdb.ada/py_taft/main.adb: New file.
7188 * gdb.ada/py_taft/pkg.adb: New file.
7189 * gdb.ada/py_taft/pkg.ads: New file.
7190
3d435220
TV
71912019-09-24 Tom de Vries <tdevries@suse.de>
7192
7193 PR gdb/24598
7194 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7195
77d03678
TV
71962019-09-22 Tom de Vries <tdevries@suse.de>
7197
7198 * gdb.base/restore.exp: Allow register variables to be optimized out at
7199 -O0.
7200
abf516c6
UW
72012019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7202
7203 * gdb.arch/spu-info.exp: Remove file.
7204 * gdb.arch/spu-info.c: Remove file.
7205 * gdb.arch/spu-ls.exp: Remove file.
7206 * gdb.arch/spu-ls.c: Remove file.
7207
7208 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7209 * gdb.asm/spu.inc: Remove file.
7210
7211 * gdb.base/dump.exp: Remove support for spu*-*-*.
7212 * gdb.base/stack-checking.exp: Likewise.
7213 * gdb.base/overlays.exp: Likewise.
7214 * gdb.base/ovlymgr.c: Likewise.
7215 * gdb.base/spu.ld: Remove file.
7216
7217 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7218 * gdb.cp/cpexprs.exp: Likewise.
7219 * gdb.cp/exception.exp: Likewise.
7220 * gdb.cp/gdb2495.exp: Likewise.
7221 * gdb.cp/mb-templates.exp: Likewise.
7222 * gdb.cp/pr9167.exp: Likewise.
7223 * gdb.cp/userdef.exp: Likewise.
7224
7225 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7226
7227 * gdb.cell: Remove directory.
7228 * lib/cell.exp: Remove file.
7229
e452e88f
TV
72302019-09-19 Tom de Vries <tdevries@suse.de>
7231
7232 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7233
8a625130
TV
72342019-09-19 Tom de Vries <tdevries@suse.de>
7235
7236 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7237
81dc3ab5
TV
72382019-09-19 Tom de Vries <tdevries@suse.de>
7239
7240 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7241 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7242 (gdb_target_cmd): ... here.
7243 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7244 value 2.
7245
b078f3ac
AB
72462019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7247
7248 * gdb.base/source-dir.exp: Avoid having directory names in test
7249 names.
7250
f1b620e9
MG
72512019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7252
7253 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7254 directory.
7255
67f3ed6a
AB
72562019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7257
7258 * gdb.base/list-missing-source.exp: New file.
7259
d1b70248
TV
72602019-09-14 Tom de Vries <tdevries@suse.de>
7261
7262 PR teststuite/24599
7263 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7264 * lib/ada.exp (gnatmake_version_at_least): New proc.
7265
5fabdcd6
AB
72662019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7267
7268 * gdb.base/maint.exp: Use exec_has_index_section.
7269
aa17805f
AB
72702019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7271
7272 * gdb.base/maint.exp: Add test for 'maint info sections'.
7273
25e5c209
TV
72742019-09-12 Tom de Vries <tdevries@suse.de>
7275
7276 * gdb.base/store.exp: Allow register variables to be optimized out at
7277 -O0.
7278
4993045d
PW
72792019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7280
7281 * gdb.ada/rdv_wait.exp: Update to new task names.
7282 * gdb.base/task_switch_in_core.exp: Likewise.
7283 * gdb.base/info_sources_base.c: Likewise.
7284
8a516164
TT
72852019-09-10 Tom Tromey <tromey@adacore.com>
7286
7287 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7288
aa391654
TT
72892019-09-10 Tom Tromey <tromey@adacore.com>
7290
7291 * gdb.ada/dgopt.exp: New file.
7292 * gdb.ada/dgopt/x.adb: New file.
7293
8634b462
TT
72942019-09-08 Tom Tromey <tom@tromey.com>
7295
7296 * gdb.tui/resize.exp: Remove setup_xfail.
7297 * gdb.tui/regs.exp: Remove setup_xfail.
7298 * gdb.tui/basic.exp: Remove setup_xfail.
7299
736b0f76
DB
73002019-09-06 David Blaikie <dblaikie@gmail.com>
7301
7302 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7303 * gdb.cp/cplabel.exp: Ditto.
7304 * gdb.linespec/ls-errs.exp: Ditto.
7305
30331a6c
TV
73062019-09-05 Tom de Vries <tdevries@suse.de>
7307
7308 * lib/gdb.exp (cmp_file_string): New proc.
7309 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7310 runto_main. Verify save breakpoints output.
7311
98b0ebab
PW
73122019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7313
7314 * gdb.base/info-var.exp: Test info variables without running
7315 to main, to avoid expect's buffer overflow.
7316
4e962e74
TT
73172019-09-03 Tom Tromey <tromey@adacore.com>
7318
7319 * gdb.ada/bias.exp: New file.
7320 * gdb.ada/bias/bias.adb: New file.
7321 * gdb.ada/print_chars.exp: Add regression test.
7322 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7323 (MC): New variable.
7324
2ea1a07a
SL
73252019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7326
7327 * gdb.base/argv0-symlink.exp: Run only on native target
7328 and local host.
7329
8077c50d
TV
73302019-08-29 Tom de Vries <tdevries@suse.de>
7331
7332 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7333 diverse debug info.
7334 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7335
48352473
TV
73362019-08-28 Tom de Vries <tdevries@suse.de>
7337
7338 * gdb.base/info-var.exp: Allow info variables to print info for files
7339 other than info-var-f1.c and info-var-f2.c.
7340
d8f27c60
AB
73412019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7342
7343 * gdb.fortran/info-types.exp: Add module.
7344 * gdb.fortran/info-types.f90: Update expected results.
7345
1f20c35e
AB
73462019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7347
7348 * gdb.fortran/info-types.exp: New file.
7349 * gdb.fortran/info-types.f90: New file.
7350 * lib/fortran.exp (fortran_character1): New proc.
7351
4acfdd20
AB
73522019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7353
7354 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7355 functions'. Reindent as needed.
7356 * gdb.base/info-var-f1.c: New file.
7357 * gdb.base/info-var-f2.c: New file.
7358 * gdb.base/info-var.exp: New file.
7359 * gdb.base/info-var.h: New file.
7360
5c31b358
TV
73612019-08-26 Tom de Vries <tdevries@suse.de>
7362
7363 PR c++/24852
7364 * gdb.cp/no-libstdcxx-probe.exp: New test.
7365
b694989f
TV
73662019-08-26 Tom de Vries <tdevries@suse.de>
7367
7368 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7369 * tests need to be skipped.
7370 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7371 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7372 mi_skip_libstdcxx_probe_tests.
7373
d9c4ba53
SDJ
73742019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7375
7376 * gdb.python/py-xmethods.exp: Use raw strings when passing
7377 arguments to SimpleXMethodMatcher.
7378
395fad09
TV
73792019-08-22 Tom de Vries <tdevries@suse.de>
7380
7381 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7382 more informative.
7383
26c957f1
PA
73842019-08-21 Pedro Alves <palves@redhat.com>
7385
7386 * gdb.base/with.exp: Test "with" with no arguments.
7387
61f80d5d
TV
73882019-08-21 Tom de Vries <tdevries@suse.de>
7389
7390 * gdb.base/gdb-caching-proc.exp: Sort files.
7391
d7a11d13
TV
73922019-08-20 Tom de Vries <tdevries@suse.de>
7393
7394 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7395 compilation.
7396
34dafe9f
TV
73972019-08-16 Tom de Vries <tdevries@suse.de>
7398
7399 * gdb.base/compare-sections.exp ("after run to main"): Allow
7400 mismatched read-only sections for PIE executables.
7401
398fdd60
TT
74022019-08-16 Tom Tromey <tom@tromey.com>
7403
7404 * lib/tuiterm.exp (_csi_Z): New proc.
7405 * gdb.tui/basic.exp: Update window positions.
7406 * gdb.tui/empty.exp: Update window positions.
7407
d8f9e51c
SL
74082019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7409
7410 * gdb.base/examine-backward.exp: Correct regexp for
7411 "examine 3 bytes backward from ${address_zero}".
7412
3df505f6
TT
74132019-08-15 Tom Tromey <tom@tromey.com>
7414
7415 * gdb.tui/empty.exp: Enable resizing tests.
7416
272560b5
TT
74172019-08-15 Tom Tromey <tromey@adacore.com>
7418
7419 * gdb.ada/char_enum.exp: Add regression tests.
7420 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7421 and '0'.
7422 (Char, Gchar): Update.
7423 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7424
08235187
CB
74252019-08-15 Christian Biesinger <cbiesinger@google.com>
7426
7427 * gdb.python/python.exp: Expect a leading underscore on
7428 GdbOutput{,Error}File.
7429
22a2ab04
SL
74302019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7431
7432 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7433 Windows host.
7434
835b995b
SL
74352019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7436
7437 * gdb.base/batch-preserve-term-settings.exp
7438 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7439
97dd8e07
CB
74402019-08-15 Christian Biesinger <cbiesinger@google.com>
7441
7442 * lib/gdb.exp: When running on a mingw target, replace
7443 /x/ with x:/.
7444
75faf5c4
AH
74452019-08-14 Alan Hayward <alan.hayward@arm.com>
7446
7447 * gdb.arch/aarch64-prologue.c: New test.
7448 * gdb.arch/aarch64-prologue.exp: New file.
7449
abc6c00f
TV
74502019-08-13 Tom de Vries <tdevries@suse.de>
7451
7452 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7453 Thread.
7454
74c2c1f4
SL
74552019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7456
7457 * gdb.python/py-completion.exp: Download the .py file to the host
7458 and use its host pathname. Conditionalize tests that use
7459 tab completion and manipulate files on the build machine.
7460 * gdb.python/py-events.exp: Download the .py file to the host
7461 and use its host pathname.
7462 * gdb.python/py-evsignal.exp: Likewise.
7463 * gdb.python/py-evthreads.exp: Likewise.
7464 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7465 pathname syntax.
7466 * gdb.python/py-framefilter.exp: Download the .py file to the right
7467 place on the host. Match Windows pathname syntax.
7468 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7469 .py file to the host and use its host pathname.
7470 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7471 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7472 build pathname. Skip symlink test on Windows host. Add missing
7473 newline at end of file.
7474 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7475 and use its host pathname.
7476 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7477 * gdb.python/py-section-script.exp: Use host location of binfile
7478 on safe-path. Use correct path separator on Windows host.
7479 Reorder alternatives in gdb_test_multiple to prevent matching
7480 the wrong alternative on success.
7481 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7482
ca2589f3
PP
74832019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7484
7485 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7486 expect the GDB inferior to no longer immediately stop after
7487 being resumed with "signal SIGINT".
7488
020a839d
SL
74892019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7490
7491 * gdb.linespec/break-ask.exp: Generalize regexps to match
7492 Windows pathnames too.
7493
128d6509
TV
74942019-08-08 Tom de Vries <tdevries@suse.de>
7495
7496 PR testsuite/24862
7497 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7498
590042fc
PW
74992019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7500
7501 * gdb.base/style.exp: Update tests for help doc new invariants.
7502 * gdb.base/help.exp: Likewise.
7503
046bebe1
TT
75042019-08-06 Tom Tromey <tom@tromey.com>
7505
7506 * gdb.base/style.exp: Add disassemble test.
7507 * gdb.base/style.c (some_called_function): New function.
7508 (main): Use it.
7509
0b27c27d
CB
75102019-08-05 Christian Biesinger <cbiesinger@google.com>
7511
7512 * gdb.python/py-block.exp: Test dictionary access on blocks.
7513
580f1034
SM
75142019-08-05 Simon Marchi <simon.marchi@efficios.com>
7515
7516 PR gdb/24863
7517 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7518 -list-thread-groups --available test when running under
7519 check-read1.
7520
d86bd7cb
TV
75212019-08-05 Tom de Vries <tdevries@suse.de>
7522
7523 PR testsuite/24863
7524 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7525 * gdb.base/help.exp: Use with_read1_timeout_factor.
7526 * gdb.base/info-macros.exp: Same.
7527 * gdb.cp/nested-types.exp: Same.
7528
a80cf5d8
TV
75292019-08-05 Tom de Vries <tdevries@suse.de>
7530
7531 * lib/gdb.exp (version_at_least): Factor out of ...
7532 (tcl_version_at_least): ... here.
7533 (gdb_compile): Fail if pie results in non-PIE executable.
7534 (readelf_version, readelf_prints_pie): New proc.
7535 (exec_is_pie): Return -1 if unknown.
7536
d0962838
TV
75372019-08-05 Tom de Vries <tdevries@suse.de>
7538
7539 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7540
2252ff3d
SL
75412019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7542
7543 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7544
26655f53
SL
75452019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7546
7547 * lib/completion-support.exp (test_gdb_complete_none): Skip
7548 tab completion tests if no readline support.
7549 (test_gdb_complete_unique_re): Likewise.
7550 (test_gdb_complete_multiple): Likewise.
7551
db4dc13e
PW
75522019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7553
7554 * gdb.base/info_sources.exp: New file.
7555 * gdb.base/info_sources.c: New file.
7556 * gdb.base/info_sources_base.c: New file.
7557
0eba165a
PFC
75582019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7559
7560 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7561 prefix argument.
7562 (test_exit_status): Add prefix argument.
7563
59bd512b
TV
75642019-08-01 Tom de Vries <tdevries@suse.de>
7565
7566 PR testsuite/24863
7567 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7568 calling exp_continue for new thread and thread exited messages.
7569
2a3ad588
TV
75702019-08-01 Tom de Vries <tdevries@suse.de>
7571
7572 PR testsuite/24863
7573 * gdb.base/structs.exp: Fix check-read1 timeout using
7574 gdb_test_sequence.
7575 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7576
117eb594
TV
75772019-08-01 Tom de Vries <tdevries@suse.de>
7578
7579 PR testsuite/24863
7580 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7581 line.
7582
ed591340
TV
75832019-08-01 Tom de Vries <tdevries@suse.de>
7584
7585 PR testsuite/24863
7586 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7587
aa3b6533
TT
75882019-07-30 Tom Tromey <tromey@adacore.com>
7589
7590 * gdb.ada/display_nested.exp: New file.
7591 * gdb.ada/display_nested/foo.adb: New file.
7592 * gdb.ada/display_nested/pack.adb: New file.
7593 * gdb.ada/display_nested/pack.ads: New file.
7594
2906593f
CB
75952019-07-30 Christian Biesinger <cbiesinger@google.com>
7596
7597 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7598 namespace.
7599 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7600
0f575925
TV
76012019-07-30 Tom de Vries <tdevries@suse.de>
7602
7603 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7604 instead.
7605
b13057d9
TV
76062019-07-30 Tom de Vries <tdevries@suse.de>
7607
7608 PR testsuite/24834
7609 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7610 (exec_is_pie): New proc.
7611
5c4dde85
CB
76122019-07-29 Christian Biesinger <cbiesinger@google.com>
7613
7614 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7615
c620ed88
CB
76162019-07-29 Christian Biesinger <cbiesinger@google.com>
7617
7618 * gdb.python/py-objfile.c: Add global and static vars.
7619 * gdb.python/py-objfile.exp: Test new functions Objfile.
7620 lookup_global_symbol and lookup_static_symbol.
7621
3d235706
TT
76222019-07-29 Tom Tromey <tom@tromey.com>
7623
7624 * lib/tuiterm.exp (Term::_csi_@): New proc.
7625 (Term::_csi_X): Don't move cursor.
7626
c7e4c0a6
PW
76272019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7628
7629 * gdb.base/options.exp: Update backtrace - completion to
7630 new option -frame-info.
7631 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7632 Test new 'set print frame-info'. Test backtrace -frame-info
7633 overriding 'set print frame-info'.
7634 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7635 Test new 'set print frame-info'.
7636 Verify consistency of backtrace with and without filters, with and
7637 without -no-filters.
7638 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7639 default.
7640
de28a3b7
TV
76412019-07-29 Tom de Vries <tdevries@suse.de>
7642
7643 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7644 no arguments".
7645
507dd60e
TV
76462019-07-29 Tom de Vries <tdevries@suse.de>
7647
7648 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7649 is a substring of the first for "complete non-unique file name".
7650
5beafce9
TV
76512019-07-29 Tom de Vries <tdevries@suse.de>
7652
7653 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7654 with ".*".
7655
2d274232
TV
76562019-07-29 Tom de Vries <tdevries@suse.de>
7657
7658 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7659 Pass prompt_regexp parameter to gdb_test_multiple calls.
7660
9197cd8b
TV
76612019-07-29 Tom de Vries <tdevries@suse.de>
7662
7663 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7664 print registers" regexps.
9197cd8b 7665
b528dae0
TV
76662019-07-29 Tom de Vries <tdevries@suse.de>
7667
7668 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7669
d17725d7
TV
76702019-07-29 Tom de Vries <tdevries@suse.de>
7671
7672 PR gdb/24855
7673 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7674 (skip_python_tests_prompt): Add prompt_regexp argument to
7675 gdb_test_multiple calls.
7676
52b75bf1
TT
76772019-07-27 Tom Tromey <tom@tromey.com>
7678
7679 * gdb.tui/main.exp: New file.
7680
2b1d00c2
TT
76812019-07-27 Tom Tromey <tom@tromey.com>
7682
7683 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7684 optional.
7685 * gdb.tui/empty.exp: New file.
7686
ded631d5
TT
76872019-07-27 Tom Tromey <tom@tromey.com>
7688
7689 * lib/tuiterm.exp (spawn): New proc.
7690 (Term::resize): New proc.
7691 * gdb.tui/resize.exp: New file.
7692
58ac439d
TT
76932019-07-27 Tom Tromey <tom@tromey.com>
7694
7695 * gdb.tui/list.exp: New file.
7696
fe1f56ee
TT
76972019-07-27 Tom Tromey <tom@tromey.com>
7698
7699 * gdb.tui/regs.exp: New file.
7700
f790b310
TT
77012019-07-27 Tom Tromey <tom@tromey.com>
7702
7703 * gdb.tui/basic.exp: Add "layout split" test.
7704
d95fc6ee
TT
77052019-07-27 Tom Tromey <tom@tromey.com>
7706
7707 * gdb.tui/basic.exp: Add "layout asm" test.
7708
c3786b3a
TT
77092019-07-27 Tom Tromey <tom@tromey.com>
7710
7711 * lib/tuiterm.exp: New file.
7712 * gdb.tui/basic.exp: New file.
7713
98a617f8
KB
77142019-07-27 Kevin Buettner <kevinb@redhat.com>
7715
7716 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7717 Enable tests associated with this flag. Adjust regex
7718 referencing "foo_low" to now refer to "foo_cold" instead.
7719
5c076da4
KB
77202019-07-27 Kevin Buettner <kevinb@redhat.com>
7721
7722 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7723 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7724 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7725 foo_cold. Revise comments to match.
7726 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7727 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7728 were wrapped into this proc; Call do_test in loop from outermost
7729 level.
7730 (foo_low): Rename all occurrences to "foo_cold".
7731 (backtrace from baz): New test.
7732 (x2/i foo_cold): New test.
7733 (info line *foo_cold): New test.
7734
1512d3b7
TV
77352019-07-26 Tom de Vries <tdevries@suse.de>
7736
7737 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7738
297989a1
TV
77392019-07-25 Tom de Vries <tdevries@suse.de>
7740
7741 PR testsuite/24830
7742 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7743 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7744 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7745 (skip_libstdcxx_probe_tests): ... here.
7746 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7747
b3b965fb
TV
77482019-07-24 Tom de Vries <tdevries@suse.de>
7749
7750 PR testsuite/24807
7751 * gdb.objc/basicclass.m: Include stdio.h.
7752 * gdb.objc/nondebug.m: Same.
7753 * gdb.objc/objcdecode.m: Same.
7754
4625b4d0
TV
77552019-07-24 Tom de Vries <tdevries@suse.de>
7756
7757 PR testsuite/24612
7758 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7759 additional_flags.
7760
024a5840
TV
77612019-07-24 Tom de Vries <tdevries@suse.de>
7762
7763 PR testsuite/24831
7764 * gdb.multi/tids.exp: Update error messages for info threads.
7765
c76ddaa3
TV
77662019-07-24 Tom de Vries <tdevries@suse.de>
7767
7768 * gdb.base/info-types.exp: Allow info types to print info for more than
7769 one file.
7770
9a618ef6
TV
77712019-07-23 Tom de Vries <tdevries@suse.de>
7772
7773 PR testsuite/24842
7774 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7775 gdb_spawn_with_cmdline_opts.
7776
40eadf04
SP
77772019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7778
7779 * gdb.arch/arm-cmse-sgstubs.c: New test.
7780 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7781
5ba29434
TV
77822019-07-23 Tom de Vries <tdevries@suse.de>
7783
7784 PR testsuite/24711
7785 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7786 issuing next command.
7787
a8e9d247
AB
77882019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7789
7790 * gdb.ada/info_auto_lang.exp: Update expected results.
7791 * gdb.base/info-types.c: Add additional types to check.
7792 * gdb.base/info-types.exp: Update expected results.
7793
eb86c5e2
AB
77942019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7795
7796 * gdb.base/info-types.c: New file.
7797 * gdb.base/info-types.exp: New file.
7798
01e175fe
AB
77992019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7800
7801 * gdb.arch/riscv-bp-infcall.c: New file.
7802 * gdb.arch/riscv-bp-infcall.exp: New file.
7803
6b78c3f8
AB
78042019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7805
7806 PR breakpoints/24541
7807 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7808
da738167
TV
78092019-07-14 Tom de Vries <tdevries@suse.de>
7810
7811 PR testsuite/24760
7812 * gdb.objc/basicclass.exp: Fix unterminated string.
7813
0d4e84ed
AB
78142019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7815 Andrew Burgess <andrew.burgess@embecosm.com>
7816
7817 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7818 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7819 negative bounds.
7820 * gdb.fortran/vla-value.exp: Print elements of an array with
7821 negative bounds.
7822 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7823 testing.
7824
021d8588
AB
78252019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7826
7827 * gdb.base/options.exp (expect_string): Dequote strings in
7828 results.
7829 (test-string): Test strings with different quoting and reindent.
7830
f06f1252
TT
78312019-07-10 Tom Tromey <tromey@adacore.com>
7832
7833 * gdb.ada/mi_ex_cond.exp: Update expected results.
7834 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7835 * gdb.ada/mi_catch_ex.exp: Update expected results.
7836 * gdb.ada/mi_catch_assert.exp: Update expected results.
7837 * gdb.ada/catch_ex.exp (catch_exception_info)
7838 (catch_exception_entry, catch_assert_entry)
7839 (catch_unhandled_entry): Update.
7840 * gdb.ada/catch_assert_if.exp: Update expected results.
7841
b863685d
RB
78422019-07-10 Richard Bunt <richard.bunt@arm.com>
7843 Stephen Roberts <stephen.roberts@arm.com>
7844
7845 * gdb.base/define.exp: Restore original prompt.
7846
cb1e4e32
PA
78472019-07-09 Pedro Alves <palves@redhat.com>
7848
7849 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7850 breakpoints" output.
7851 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7852 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7853 throw" creates breakpoint.
7854 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7855 'type="catchpoint"'.
7856
b58a68fe
PA
78572019-07-09 Pedro Alves <palves@redhat.com>
7858
7859 PR c++/15468
7860 * gdb.cp/except-multi-location-lib.cc: New.
7861 * gdb.cp/except-multi-location-main.cc: New.
7862 * gdb.cp/except-multi-location.exp: New.
7863
0826779b
PW
78642019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7865
7866 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7867 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7868 argument and update callers.
7869
5b0e2db4
AB
78702019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7871
7872 * gdb.arch/amd64-break-on-asm-line.S: New file.
7873 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7874
1f6f6e21
PW
78752019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7876
7877 * gdb.base/printcmds.exp: Test printing C string and
7878 C wide string convenience vars without transiting via the inferior.
7879 Also make test names unique.
7880
ea142fbf
AH
78812019-07-08 Alan Hayward <alan.hayward@arm.com>
7882
5862c886 7883 PR breakpoints/25011
ea142fbf
AH
7884 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7885
213fd9fa
PA
78862019-07-04 Pedro Alves <palves@redhat.com>
7887
7888 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7889 body returned ok(0), break(3) or continue(4).
7890 * gdb.testsuite/foreach_with_prefix.exp: New file.
7891
2b40fda7
AH
78922019-07-04 Alan Hayward <alan.hayward@arm.com>
7893
7894 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7895
a26c8de0
PA
78962019-07-03 Pedro Alves <palves@redhat.com>
7897
7898 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7899 "return -code".
7900
5f4ba3e7
PA
79012019-07-03 Pedro Alves <palves@redhat.com>
7902
7903 PR cli/24732
7904 * gdb.base/shell.exp: Load completion-support.exp.
7905 Adjust expected error output. Add completion tests.
7906
a994424f
PA
79072019-07-03 Pedro Alves <palves@redhat.com>
7908
7909 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7910 string_to_regexp.
7911
3d9be6f5
PA
79122019-07-03 Pedro Alves <palves@redhat.com>
7913
7914 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7915 (expect_integer): Adjust to expect "-string".
7916 (expect_string): New.
7917 (all_options): Expect "-string".
7918 (test-flag, test-boolean): Adjust to expect "-string".
7919 (test-string): New proc.
7920 (top level): Call it.
7921
41fc454c
PA
79222019-07-03 Pedro Alves <palves@redhat.com>
7923
7924 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7925 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7926 the expected output in the success.
7927
b2b2a215
PA
79282019-07-03 Pedro Alves <palves@redhat.com>
7929
7930 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7931 Split one gdb_test_multiple call in two to avoid a race.
7932
fdbc9870
PA
79332019-07-03 Pedro Alves <palves@redhat.com>
7934
7935 * gdb.base/with.c: New file.
7936 * gdb.base/with.exp: New file.
7937
c6ac8931
PA
79382019-07-03 Pedro Alves <palves@redhat.com>
7939
7940 * gdb.base/settings.exp: Replace all references to "maint
7941 test-settings set" with references to "maint set test-settings",
7942 and all references to "maint test-settings show" with references
7943 to "maint show test-settings".
7944
970f9d09
PA
79452019-07-03 Pedro Alves <palves@redhat.com>
7946
7947 * gdb.base/settings.exp (test-string): Adjust expected out when
7948 testing "maint test-settings show filename"
7949
54d66006
PA
79502019-07-02 Pedro Alves <palves@redhat.com>
7951
7952 * gdb.base/options.exp (test-info-threads): New procedure.
7953 (top level): Call it.
7954
10d06d82
TT
79552019-06-28 Tom Tromey <tromey@adacore.com>
7956
7957 * gdb.dwarf2/ada-linkage-name.c: New file.
7958 * gdb.dwarf2/ada-linkage-name.exp: New file.
7959
3d507ff2
TT
79602019-06-27 Tom Tromey <tromey@adacore.com>
7961
d039f014 7962 PR c++/20020:
3d507ff2
TT
7963 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7964
8af58ffe
TV
79652019-06-26 Tom de Vries <tdevries@suse.de>
7966
7967 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7968
22e21752
TV
79692019-06-26 Tom de Vries <tdevries@suse.de>
7970
7971 * gdb.base/index-cache.exp: Add back missing debug option.
7972
b65b566c
PW
79732019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7974
7975 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7976
5c2c8c69
TV
79772019-06-25 Tom de Vries <tdevries@suse.de>
7978
7979 PR testsuite/24727
7980 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7981
164e3873
TV
79822019-06-24 Tom de Vries <tdevries@suse.de>
7983
7984 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7985
824eacee
TV
79862019-06-24 Tom de Vries <tdevries@suse.de>
7987
7988 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7989 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7990 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7991
385b97d3
TV
79922019-06-24 Tom de Vries <tdevries@suse.de>
7993
7994 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7995
c596f180
TV
79962019-06-21 Tom de Vries <tdevries@suse.de>
7997
7998 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7999
b13a7d03
TV
80002019-06-21 Tom de Vries <tdevries@suse.de>
8001
8002 PR testsuite/24518
8003 PR ada/24713
8004 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
8005 index.
8006
899277ae
TT
80072019-06-19 Tom Tromey <tromey@adacore.com>
8008
8009 * gdb.ada/length_cond.exp: Add intro comment.
8010
680e1bee
TT
80112019-06-19 Tom Tromey <tromey@adacore.com>
8012
8013 * gdb.ada/length_cond.exp: New file.
8014 * gdb.ada/length_cond/length_cond.adb: New file.
8015 * gdb.ada/length_cond/pck.adb: New file.
8016 * gdb.ada/length_cond/pck.ads: New file.
8017
0ed4690a
TV
80182019-06-18 Tom de Vries <tdevries@suse.de>
8019
8020 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
8021
d20ed5fd
TT
80222019-06-18 Tom Tromey <tromey@adacore.com>
8023
8024 * gdb.base/list0.h: Add comment explaining control character.
8025
86e04673
TV
80262019-06-18 Tom de Vries <tdevries@suse.de>
8027
8028 * boards/fission.exp: Break up long debug_flags line.
8029
c4973306
SM
80302019-06-16 Tom de Vries <tdevries@suse.de>
8031
8032 PR gdb/24445
8033 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
8034 generated index.
8035
93cb9841
AB
80362019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8037
8038 PR gdb/24686
8039 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
8040 improve detection of bug gdb/24541.
8041
399aaebd
SM
80422019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
8043
8044 PR gdb/24669
8045 * gdb.base/index-cache.exp (uses_readnow,
8046 expecting_index_cache_use): Define global variable.
8047 (test_cache_enabled_miss, test_cache_enabled_hit): Use
8048 expecting_index_cache_use.
8049
584a927c
AB
80502019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
8051 Andrew Burgess <andrew.burgess@embecosm.com>
8052
8053 * gdb.fortran/pointers.f90: New file.
8054 * gdb.fortran/print_type.exp: New file.
8055 * gdb.fortran/vla-ptype.exp: Adapt expected results.
8056 * gdb.fortran/vla-type.exp: Likewise.
8057 * gdb.fortran/vla-value.exp: Likewise.
8058 * gdb.mi/mi-vla-fortran.exp: Likewise.
8059
30056ea0
AB
80602019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8061
8062 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
8063 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
8064 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8065 as a stop reason.
8066
ec8e2b6d
AB
80672019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8068
8069 * gdb.base/annota1.exp: Update expected results.
8070 * gdb.cp/annota2.exp: Likewise.
8071 * gdb.cp/annota3.exp: Likewise.
8072
09e4c4e1
AB
80732019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8074
8075 * gdb.base/style-logging.exp: Remove path from test name.
8076
0735b091
TT
80772019-06-14 Tom Tromey <tromey@adacore.com>
8078
8079 PR gdb/24502:
8080 * gdb.base/style-logging.exp: New file.
8081
f5686554
TT
80822019-06-14 Tom Tromey <tromey@adacore.com>
8083
8084 * gdb.base/symfile-warn.exp: New file.
8085 * gdb.base/symfile-warn.c: New file.
8086
a0c1ffed
TT
80872019-06-14 Tom Tromey <tromey@adacore.com>
8088
8089 * gdb.base/annotate-symlink.exp: New file.
8090
f411722c
TT
80912019-06-14 Tom Tromey <tromey@adacore.com>
8092
8093 * gdb.ada/set_wstr.exp: Add reassignment test.
8094
4268ec18
TT
80952019-06-14 Tom Tromey <tromey@adacore.com>
8096
8097 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8098 'unchecked_access and 'unrestricted_access as well.
8099
9a9e394b
TT
81002019-06-14 Tom Tromey <tromey@adacore.com>
8101
8102 PR ada/24539:
8103 * gdb.ada/vla.exp: Update tests.
8104 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8105 pragma.
8106
4c048731
PA
81072019-06-13 Pedro Alves <palves@redhat.com>
8108
8109 * gdb.base/settings.exp (test-integer): Test junk after
8110 "unlimited".
8111
6665660a
PA
81122019-06-13 Pedro Alves <palves@redhat.com>
8113
8114 * gdb.base/options.exp (test-thread-apply): New.
8115 (top level): Call it.
8116
5d707134
PA
81172019-06-13 Pedro Alves <palves@redhat.com>
8118
8119 * gdb.base/options.exp (test-frame-apply): New.
8120 (top level): Test print commands with different "frame apply"
8121 prefixes.
8122
e2a689da
PA
81232019-06-13 Pedro Alves <palves@redhat.com>
8124
e79be6e5 8125 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
8126 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8127 'max_completions' parameter and handle it.
8128 (test_gdb_completion_offers_commands): New.
8129
90a1ef87
PA
81302019-06-13 Pedro Alves <palves@redhat.com>
8131
8132 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8133
d4c16835
PA
81342019-06-13 Pedro Alves <palves@redhat.com>
8135
8136 * gdb.base/options.exp (test-backtrace): New.
8137 (top level): Call it.
8138
2daf894e
PA
81392019-06-13 Pedro Alves <palves@redhat.com>
8140
8141 * gdb.guile/scm-frame-args.exp: Use "set print
8142 raw-frame-arguments" instead of "set print raw frame-arguments".
8143 * gdb.python/py-frame-args.exp: Likewise.
8144
e6ed716c
PA
81452019-06-13 Pedro Alves <palves@redhat.com>
8146
8147 * gdb.compile/compile.exp: Adjust expected output to option
8148 processing changes.
8149
7d8062de
PA
81502019-06-13 Pedro Alves <palves@redhat.com>
8151
8152 * gdb.base/options.exp: Build executable.
8153 (test-print): New procedure.
8154 (top level): Call it, once for "print" and another for "compile
8155 print".
8156
9d0faba9
PA
81572019-06-13 Pedro Alves <palves@redhat.com>
8158
8159 * gdb.base/options.c: New file.
8160 * gdb.base/options.exp: New file.
8161
dee7b4c8
PA
81622019-06-13 Pedro Alves <palves@redhat.com>
8163
8164 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8165 that "o" is ambiguous.
8166
dca0f6c0
PA
81672019-06-13 Pedro Alves <palves@redhat.com>
8168
8169 * gdb.base/settings.c: New file.
8170 * gdb.base/settings.exp: New file.
8171
ccf46844
PA
81722019-06-13 Pedro Alves <palves@redhat.com>
8173
8174 * gdb.base/completion.exp: Fix comment typo.
8175
b9a3f842
PA
81762019-06-13 Pedro Alves <palves@redhat.com>
8177
8178 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8179 foo --1" test.
8180
d106773e
PA
81812019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8182
8183 * gdb.fortran/block-data.f: New.
8184 * gdb.fortran/block-data.exp: New.
8185
fea82da0
TV
81862019-06-11 Tom de Vries <tdevries@suse.de>
8187
8188 PR testsuite/24521
8189 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8190 message.
8191
8c2e74f1
TV
81922019-06-11 Tom de Vries <tdevries@suse.de>
8193
8194 PR testsuite/24521
8195 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8196
b49851c8
TV
81972019-06-11 Tom de Vries <tdevries@suse.de>
8198
8199 * boards/readnow.exp: New file.
8200
a7067863
AB
82012019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8202
8203 * gdb.fortran/vla-sizeof.exp: Update expected results.
8204
1a3da2cd
AB
82052019-06-06 Amos Bird <amosbird@gmail.com>
8206
8207 * gdb.base/annota1.exp (thread_switch): Add test for
8208 thread-exited annotation.
8209
3847a7bf
TT
82102019-06-06 Tom Tromey <tromey@adacore.com>
8211
8212 * gdb.base/maint.exp: Expect command started/finished output.
8213
0088ba59
AB
82142019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8215
8216 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8217 comment.
8218 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8219
312617a3
AB
82202019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8221
8222 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8223 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8224 * gdb.arch/riscv-unwind-long-insn.c: New file.
8225 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8226
e1f2e1a2
CB
82272019-06-04 Christian Biesinger <cbiesinger@google.com>
8228
d3238f7d 8229 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 8230
206584bd
PW
82312019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8232
8233 * lib/gdb.exp (help_list_trailer): New regexp variable
8234 factorizing the help trailer message.
8235 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8236 arg to allow to better factorize various tests.
8237 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8238 (test_prefix_command_help): Use help_list_trailer.
8239 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8240 * gdb.guile/scm-cmd.exp: Likewise.
8241 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8242 * gdb.base/help.exp: Use test_user_defined_class_help.
8243 * gdb.base/style.exp: Add tests for styling of help and apropos.
8244 * lib/gdb-utils.exp (style): Add title and highlight styles.
8245
708dc93e
PW
82462019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8247
8248 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8249 $_shell_exitsignal.
8250 * gdb.base/default.exp: Update for new convenience variables.
8251
f49055a5
TT
82522019-05-29 Tom Tromey <tromey@adacore.com>
8253
8254 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8255 to "break complete ada" test case's regexp.
8256
4330d61d
TT
82572019-05-29 Tom Tromey <tromey@adacore.com>
8258
8259 PR c++/20020:
8260 * gdb.cp/constexpr-field.exp: New file.
8261 * gdb.cp/constexpr-field.cc: New file.
8262
000439d5
TT
82632019-05-29 Tom Tromey <tromey@adacore.com>
8264
8265 * gdb.base/finish.exp (finish_no_print): New proc.
8266 (finish_tests): Call it.
8267
5a01c34c
TV
82682019-05-24 Tom de Vries <tdevries@suse.de>
8269
8270 * gdb.dwarf2/gdb-add-index.exp: New file.
8271
18125b16
TT
82722019-05-22 Tom Tromey <tromey@adacore.com>
8273
8274 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8275 * gdb.base/style.exp: Use "style".
8276 * lib/gdb-utils.exp (style): New proc.
8277
af1a8d03
TV
82782019-05-22 Tom de Vries <tdevries@suse.de>
8279
8280 * gdb.base/align.exp: Require c++11.
8281
e7fe496b
TV
82822019-05-22 Tom de Vries <tdevries@suse.de>
8283
8284 PR testsuite/24586
8285 * gdb.python/py-mi-var-info-path-expression.exp: Call
8286 mi_skip_python_tests to check if python is supported.
8287
8fca4da0
AH
82882019-05-22 Alan Hayward <alan.hayward@arm.com>
8289
8290 * gdb.arch/aarch64-pauth.c: New test.
8291 * gdb.arch/aarch64-pauth.exp: New file.
8292
b7060614
AH
82932019-05-22 Alan Hayward <alan.hayward@arm.com>
8294
8295 * README (Re-running Tests Outside The Testsuite): New section.
8296
669d0468
TV
82972019-05-21 Tom de Vries <tdevries@suse.de>
8298
8299 * gdb.arch/amd64-eval.exp: Require c++11.
8300 * gdb.base/max-depth.exp: Same.
8301 * gdb.compile/compile-cplus-array-decay.exp: Same.
8302 * gdb.cp/meth-typedefs.exp: Same.
8303 * gdb.cp/subtypes.exp: Same.
8304 * gdb.cp/temargs.exp: Same.
8305
ce3ebcaa
AH
83062019-05-21 Alan Hayward <alan.hayward@arm.com>
8307
8308 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8309
34d11c68
AB
83102019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8311
8312 PR gdb/18644
8313 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8314 * gdb.fortran/printing-types.exp: Add new test.
8315 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8316 testing.
8317 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8318 setup_kfail call.
8319
87781e84
AH
83202019-05-17 Alan Hayward <alan.hayward@arm.com>
8321
8322 * README (Running the Testsuite): Change example.
8323 (Testsuite Parameters): Remove TRANSCRIPT.
8324 * lib/gdb.exp: Remove TRANSCRIPT check.
8325
b420b89e
AH
83262019-05-17 Alan Hayward <alan.hayward@arm.com>
8327
8328 * README (Testsuite Parameters): Add replay logging to
8329 GDBSERVER_DEBUG.
8330 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8331 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8332 as a comma separated list.
8333 (gdb_debug_init): Override procedure.
8334
408e9b8b
AH
83352019-05-17 Alan Hayward <alan.hayward@arm.com>
8336
8337 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8338 (gdb_write_cmd_file): New procedure.
8339 * lib/gdbserver-support.exp (gdbserver_start): Call
8340 gdbserver_write_cmd_file.
8341 (gdbserver_write_cmd_file): New procedure.
8342
f9e2e39d
AH
83432019-05-17 Alan Hayward <alan.hayward@arm.com>
8344
8345 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8346 (delete_breakpoints): Likewise.
8347 (gdb_run_cmd): Likewise.
8348 (gdb_start_cmd): Likewise.
8349 (gdb_starti_cmd): Likewise.
8350 (gdb_internal_error_resync): Likewise.
8351 (gdb_test_multiple): Likewise.
8352 (gdb_reinitialize_dir): Likewise.
8353 (default_gdb_exit): Likewise.
8354 (gdb_file_cmd): Mark kill as optional.
8355 (default_gdb_start): Call gdb_stdin_log_init.
8356 (send_gdb): Call gdb_stdin_log_write.
8357 (rerun_to_main): Mark Y as an answer.
8358 (gdb_stdin_log_init): New function.
8359 (gdb_stdin_log_write): Likewise.
8360
81f47ac2
AH
83612019-05-17 Alan Hayward <alan.hayward@arm.com>
8362
8363 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8364 * gdb.base/debug-expr.exp: Likewise.
8365 * gdb.base/foll-fork.exp: Likewise.
8366 * gdb.base/foll-vfork.exp: Likewise.
8367 * gdb.base/fork-print-inferior-events.exp: Likewise.
8368 * gdb.base/gdb-sigterm.exp: Likewise.
8369 * gdb.base/gdbinit-history.exp: Likewise.
8370 * gdb.base/osabi.exp: Likewise.
8371 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8372 * gdb.base/ui-redirect.exp: Likewise.
8373 * gdb.gdb/unittest.exp: Likewise.
8374 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8375 * gdb.mi/mi-watch.exp: Likewise.
8376 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8377 * gdb.mi/user-selected-context-sync.exp: Likewise.
8378 * gdb.python/python.exp: Disable debug test when debugging.
8379 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8380 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8381 Likewise.
8382 * gdb.threads/stepi-random-signal.exp: Likewise.
8383
29b52314
AH
83842019-05-17 Alan Hayward <alan.hayward@arm.com>
8385
8386 * Makefile.in: Pass through GDB_DEBUG.
8387 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8388 (gdb,debug): Add board setting.
8389 * lib/gdb.exp (default_gdb_start): Start debugging.
8390 (gdb_debug_enabled): New procedure.
8391 (gdb_debug_init): Likewise.
29b52314
AH
8392
83932019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 8394
29b52314
AH
8395 * Makefile.in: Pass through GDB_DEBUG.
8396 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8397 (gdb,debug): Add board setting.
8398 * lib/gdb.exp (default_gdb_start): Start debugging.
8399 (gdb_debug_enabled): New procedure.
8400 (gdb_debug_init): Likewise.
29b52314 8401
ca1285d1
AH
84022019-05-17 Alan Hayward <alan.hayward@arm.com>
8403
8404 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8405
f3a09c80
AH
84062019-05-17 Alan Hayward <alan.hayward@arm.com>
8407
8408 * gdb.base/ui-redirect.exp: Test redirection.
8409
26648588
JV
84102019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8411
8412 * gdb.mi/mi-complete.exp: New file.
8413 * gdb.mi/mi-complete.cc: Likewise.
8414
14237686
AB
84152019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8416
8417 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8418 indexed and sliced arrays, and pointers to arrays.
8419
e7bd7fba
TT
84202019-05-14 Tom Tromey <tromey@adacore.com>
8421
8422 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8423 styling test.
8424
2764128d
TV
84252019-05-14 Tom de Vries <tdevries@suse.de>
8426
8427 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8428 selection entry encoding.
8429
71bed2db
TT
84302019-05-10 Tom Tromey <tromey@adacore.com>
8431
8432 * gdb.ada/info_exc.exp: Add "complete" test.
8433
63b667ad
TV
84342019-05-09 Tom de Vries <tdevries@suse.de>
8435
8436 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8437 CU-relative.
8438
9cfd2b89
TV
84392019-05-09 Tom de Vries <tdevries@suse.de>
8440
8441 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8442 CU-relative.
8443
2228ef77
XR
84442019-05-08 Joel Brobecker <brobecker@adacore.com>
8445
8446 * gdb.ada/frame_arg_lang.exp: New testcase.
8447 * gdb.ada/frame_arg_lang/bla.adb: New file.
8448 * gdb.ada/frame_arg_lang/pck.ads: New file.
8449 * gdb.ada/frame_arg_lang/pck.adb: New file.
8450 * gdb.ada/frame_arg_lang/foo.c: New file.
8451
80e55b13
TT
84522019-05-08 Tom Tromey <tromey@adacore.com>
8453
8454 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8455
9d3421af
TT
84562019-05-08 Tom Tromey <tromey@adacore.com>
8457
8458 * gdb.base/ptype-offsets.exp: Update tests.
8459
844333e2
TT
84602019-05-08 Tom Tromey <tromey@adacore.com>
8461
8462 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8463 cases.
8464 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8465 "short".
8466
988915ee
TT
84672019-05-08 Tom Tromey <tromey@adacore.com>
8468
8469 * gdb.ada/vla.exp: New file.
8470 * gdb.ada/vla/vla.adb: New file.
8471
7bd55dac
TV
84722019-05-07 Tom de Vries <tdevries@suse.de>
8473
8474 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8475
75f06e9d
TV
84762019-05-07 Tom de Vries <tdevries@suse.de>
8477
8478 PR testsuite/24522
8479 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8480 section.
8481
77e7aaa4
TV
84822019-05-07 Tom de Vries <tdevries@suse.de>
8483
8484 PR testsuite/24522
8485 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8486 .debug_aranges section.
8487
456ba0fa
TV
84882019-05-07 Tom de Vries <tdevries@suse.de>
8489
8490 PR testsuite/24159
8491 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8492
5a56d6a6
TV
84932019-05-06 Tom de Vries <tdevries@suse.de>
8494
8495 * lib/gdb.exp (exec_has_index_section): New proc.
8496 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8497 section.
8498
9d6d4be8
TV
84992019-05-04 Tom de Vries <tdevries@suse.de>
8500
8501 * boards/cc-with-debug-names.exp: New file.
8502
222a8d25
TT
85032019-05-03 Tom Tromey <tromey@adacore.com>
8504
8505 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8506 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8507 * gdb.ada/char_enum.exp: Add test.
8508
0fdfd794
TV
85092019-05-03 Tom de Vries <tdevries@suse.de>
8510
8511 * boards/cc-with-gdb-index.exp: New file.
8512
80062eb9
AB
85132019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8514
8515 * gdb.rust/simple.exp: Add new test case.
8516 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8517 (main): Initialise an instance of the new struct.
8518
4504bbde
TT
85192019-05-01 Tom Tromey <tromey@adacore.com>
8520
8521 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8522 record.
8523 (NPR): New variable.
8524 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8525 test.
8526
d48e62f4
TT
85272019-05-01 Tom Tromey <tromey@adacore.com>
8528
8529 * gdb.ada/packed_array_assign.exp: Add packed assignment
8530 regression test.
8531
f59f30f5
TV
85322019-05-01 Tom de Vries <tdevries@suse.de>
8533
8534 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8535
b70bfc54
TV
85362019-05-01 Tom de Vries <tdevries@suse.de>
8537
8538 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8539
15f18d14
AT
85402019-04-30 Ali Tamur <tamur@google.com>
8541
8542 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8543
2ff0a947
TT
85442019-04-30 Tom Tromey <tromey@adacore.com>
8545
8546 * lib/ada.exp (find_ada_tool): New proc.
8547 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8548 * gdb.ada/catch_ex_std.exp: New file.
8549 * gdb.ada/catch_ex_std/foo.adb: New file.
8550 * gdb.ada/catch_ex_std/some_package.adb: New file.
8551 * gdb.ada/catch_ex_std/some_package.ads: New file.
8552
a776957c
TT
85532019-04-30 Tom Tromey <tromey@adacore.com>
8554
8555 PR c++/24470:
8556 * gdb.cp/temargs.cc: Add test code from PR.
8557
bc68014d
AB
85582019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8559
8560 * gdb.fortran/vla-datatypes.exp: Update expected results.
8561 * gdb.fortran/vla-ptype.exp: Likewise.
8562 * gdb.fortran/vla-type.exp: Likewise.
8563 * gdb.fortran/vla-value.exp: Likewise.
8564
f1fdc960
AB
85652019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8566
8567 * gdb.fortran/ptr-indentation.exp: Update expected results.
8568 * gdb.fortran/ptype-on-functions.exp: Likewise.
8569 * gdb.fortran/vla-ptr-info.exp: Likewise.
8570 * gdb.fortran/vla-value.exp: Likewise.
8571
bf7a4de1
AB
85722019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8573
8574 * gdb.fortran/ptype-on-functions.exp: New file.
8575 * gdb.fortran/ptype-on-functions.f90: New file.
8576
bbe75b9d
AB
85772019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8578
8579 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8580 case void string.
8581
1db455a7
AB
85822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8583
8584 * gdb.fortran/complex.exp: Expand.
8585 * gdb.fortran/complex.f: Renamed to...
8586 * gdb.fortran/complex.f90: ...this, and extended to add more
8587 complex values.
8588
b6d03bb2
AB
85892019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8590
8591 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8592 MODULO, CMPLX.
8593
2e62ab40
AB
85942019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8595 Richard Bunt <richard.bunt@arm.com>
8596
8597 * gdb.base/max-depth.c: New file.
8598 * gdb.base/max-depth.exp: New file.
8599 * gdb.python/py-nested-maps.c: New file.
8600 * gdb.python/py-nested-maps.exp: New file.
8601 * gdb.python/py-nested-maps.py: New file.
8602 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8603 (test_all_common): Call test_max_depth.
8604 * gdb.fortran/max-depth.exp: New file.
8605 * gdb.fortran/max-depth.f90: New file.
8606 * gdb.go/max-depth.exp: New file.
8607 * gdb.go/max-depth.go: New file.
8608 * gdb.modula2/max-depth.exp: New file.
8609 * gdb.modula2/max-depth.c: New file.
8610 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8611
d2b584a5
TV
86122019-04-29 Tom de Vries <tdevries@suse.de>
8613
8614 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8615
136afab8
PW
86162019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8617
8618 * gdb.base/callexit.exp: Test may-call-functions off.
8619
725cbb63
KS
86202019-04-25 Keith Seitz <keiths@redhat.com>
8621
8622 PR c++/24367
8623 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8624 (another_incomplete_struct, test_incomplete): New definitions.
8625 (main): Use new definitions.
8626 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8627 functions.
8628
701adfb0
PA
86292019-04-25 Ali Tamur <tamur@google.com>
8630
8631 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8632
82433e3e
SDJ
86332019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8634
8635 PR corefiles/11608
8636 PR corefiles/18187
8637 * gdb.base/coredump-filter-build-id.exp: New file.
8638
dd06d4d6
AH
86392019-04-25 Alan Hayward <alan.hayward@arm.com>
8640
e79be6e5
SM
8641 * Makefile.in: Pass through GDBSERVER_DEBUG.
8642 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8643 (gdbserver,debug): Add board setting.
8644 * gdb.trace/tspeed.exp: Skip when debugging.
8645 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8646 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8647
1670072e
TT
86482019-04-24 Tom Tromey <tromey@adacore.com>
8649
8650 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8651 Rust.
8652
a59240a4
TT
86532019-04-24 Tom Tromey <tromey@adacore.com>
8654
8655 * gdb.arch/amd64-eval.exp: Test bitfield return.
8656 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8657 (class Foo) <return_bitfields>: New method.
8658 (main): Call it.
8659
b907456c
AB
86602019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8661
8662 * gdb.cp/many-args.cc: New file.
8663 * gdb.cp/many-args.exp: New file.
8664
5c565afd
TV
86652019-04-23 Tom de Vries <tdevries@suse.de>
8666
8667 PR gdb/24433
8668 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8669
ba22ff86
AH
86702019-04-23 Alan Hayward <alan.hayward@arm.com>
8671
8672 * gdb.trace/backtrace.exp: Use nopie flag.
8673 * gdb.trace/circ.exp: Likewise.
8674 * gdb.trace/collection.exp: Likewise.
8675 * gdb.trace/ftrace.exp: Likewise.
8676 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8677 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8678 * gdb.trace/qtro.exp: Likewise.
8679 * gdb.trace/read-memory.exp: Likewise.
8680 * gdb.trace/report.exp: Likewise.
8681 * gdb.trace/tfile.exp: Likewise.
8682 * gdb.trace/tfind.exp: Likewise.
8683 * gdb.trace/unavailable.exp: Likewise.
8684
7905fc35
PA
86852019-04-22 Pedro Alves <palves@redhat.com>
8686
8687 * gdb.base/solib-probes-nosharedlibrary.c,
8688 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8689
8ecb59f8
TT
86902019-04-19 Tom Tromey <tromey@adacore.com>
8691
8692 * gdb.ada/ptype_union.c: New file.
8693 * gdb.ada/ptype_union.exp: New file.
8694
62160ec9
TT
86952019-04-19 Tom Tromey <tromey@adacore.com>
8696
8697 PR symtab/24423:
8698 * gdb.base/list0.h (foo): Add a control-l character.
8699
36cd4ba5
TV
87002019-04-18 Tom de Vries <tdevries@suse.de>
8701
8702 PR gdb/24433
8703 * boards/local-board.exp: Set sysroot to "".
8704
b73715df
TV
87052019-04-18 Tom de Vries <tdevries@suse.de>
8706 Pedro Alves <palves@redhat.com>
8707
8708 PR gdb/24454
8709 * gdb.threads/vfork-follow-child-exec.c: New file.
8710 * gdb.threads/vfork-follow-child-exec.exp: New file.
8711 * gdb.threads/vfork-follow-child-exit.c: New file.
8712 * gdb.threads/vfork-follow-child-exit.exp: New file.
8713
4aa866af
LS
87142019-04-15 Leszek Swirski <leszeks@google.com>
8715
8716 * gdb.arch/amd64-eval.cc: New file.
8717 * gdb.arch/amd64-eval.exp: New file.
8718
e5a1a79a
AH
87192019-04-11 Alan Hayward <alan.hayward@arm.com>
8720
8721 * gdb.server/sysroot.c: New test.
8722 * gdb.server/sysroot.exp: New file.
8723 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8724 matching param.
8725
41077b66
AB
87262019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8727
8728 * gdb.base/align.exp: Extend test to cover structures containing
8729 only static fields.
8730
c30391f8
TV
87312019-04-11 Tom de Vries <tdevries@suse.de>
8732
8733 * boards/cc-with-dwz-m.exp: New file.
8734 * boards/cc-with-dwz.exp: New file.
8735 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8736
e242fd12
SM
87372019-04-09 Simon Marchi <simon.marchi@efficios.com>
8738
8739 * gdb.base/start-cpp.exp: New file.
8740 * gdb.base/start-cpp.cc: New file.
8741
2b0c8b01
KB
87422019-04-08 Kevin Buettner <kevinb@redhat.com>
8743
8744 * gdb.python/py-thrhandle.exp: Adjust tests to call
8745 thread_from_handle instead of thread_from_thread_handle.
8746
947210e5
KB
87472019-04-08 Kevin Buettner <kevinb@redhat.com>
8748
8749 * gdb.python/py-thrhandle.exp: Add tests for
8750 gdb.InferiorThread.handle.
8751
d7df6549
AB
87522019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8753
8754 * gdb.python/py-function.exp: Check calling helper function from
8755 all languages.
8756 * lib/gdb.exp (gdb_supported_languages): New proc.
8757
8bdc1658
AB
87582019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8759
8760 * gdb.base/complex-parts.c: New file.
8761 * gdb.base/complex-parts.exp: New file.
8762
05caa1d2
TT
87632019-04-01 Tom Tromey <tromey@adacore.com>
8764
8765 PR symtab/23331:
8766 * gdb.dwarf2/dw2-ranges-main.c: New file.
8767 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8768 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8769
7734102d
EZ
87702019-03-30 Simon Marchi <simark@simark.ca>
8771
8772 * gdb.base/default.exp: Add values for $_gdb_major and
8773 $_gdb_minor.
8774
188e1fa9
TT
87752019-03-29 Tom Tromey <tromey@adacore.com>
8776
8777 * gdb.base/help.exp: Tighten apropos regexp.
8778
2880242d
KS
87792019-03-29 Keith Seitz <keiths@redhat.com>
8780
8781 * gdb.fortran/array-bounds.exp: New file.
8782 * gdb.fortran/array-bounds.f90: New file.
8783
077cad8e
PW
87842019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8785
8786 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8787
80047cfc
PW
87882019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8789
8790 * gdb.multi/hello.c (main): Increase alarm timer.
8791
f489207e
SL
87922019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8793
8794 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8795 factor when no hardware watchpoint support.
8796
c92df149
AH
87972019-03-28 Alan Hayward <alan.hayward@arm.com>
8798 Pedro Alves <palves@redhat.com>
8799
8800 * boards/local-board.exp: set sysroot to /.
8801
933aebfa
AH
88022019-03-27 Alan Hayward <alan.hayward@arm.com>
8803
8804 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8805 in child.
8806
9f9aa852
AB
88072019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8808
8809 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8810 field.
8811 (make_container): Initialise new field.
8812 * gdb.python/py-prettyprint.exp: Add new tests.
8813 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8814 <display_hint>: New method.
8815
3714a195
AB
88162019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8817
8818 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8819 gdb_continue_to_breakpoint more throughout this test.
8820 (run_lang_tests) Supply unique test names, and use
8821 gdb_test_no_output.
8822
18c77628
AB
88232019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8824
8825 * gdb.base/finish-pretty.exp: Update expected results.
8826 * gdb.base/pretty-print.c: New file.
8827 * gdb.base/pretty-print.exp: New file.
8828
9a93502f
PA
88292019-03-25 Pedro Alves <palves@redhat.com>
8830
8831 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8832 move comments outside list. Append '-i "" eof' section.
8833
968aa7ae
AH
88342019-03-22 Alan Hayward <alan.hayward@arm.com>
8835
34a7f2a4 8836 PR testsuite/25016
968aa7ae
AH
8837 * README: Add pie options.
8838 * gdb.base/break-interp.exp: Ensure pie is disabled.
8839 * gdb.base/dump.exp: Likewise.
8840 * lib/gdb.exp (gdb_compile): Add pie option.
8841
4c7d57e7
TT
88422019-03-19 Tom Tromey <tromey@adacore.com>
8843
8844 * gdb.mi/mi2-cli-display.c: New file.
8845 * gdb.mi/mi2-cli-display.exp: New file.
8846
bff8c71f
TT
88472019-03-18 Joel Brobecker <brobecker@adacore.com>
8848 Tom Tromey <tromey@adacore.com>
8849
8850 * gdb.ada/ptype_array/pck.adb: New file.
8851 * gdb.ada/ptype_array/pck.ads: New file.
8852 * gdb.ada/ptype_array/foo.adb: New file.
8853 * gdb.ada/ptype_array.exp: New file.
8854
d085f989
TT
88552019-03-14 Tom Tromey <tromey@adacore.com>
8856
8857 * gdb.base/style.exp: Add "set style sources" test.
8858
b4be1b06
SM
88592019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8860
8861 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8862 * mi-breakpoint-multiple-locations.exp: ... this.
8863 (make_breakpoints_pattern): New proc.
8864 (do_test): Add mi_version parameter, test -break-insert,
8865 -break-info and =breakpoint-created.
8866
7cde5fc2
AB
88672019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8868
8869 * config/default.exp: Remove 'load_lib gdb.exp'.
8870 * config/monitor.exp: Likewise.
8871 * config/sid.exp: Likewise.
8872 * config/sim.exp: Likewise.
8873 * config/slite.exp: Likewise.
8874 * config/unix.exp: Likewise.
8875 * gdb.base/default.exp: Remove unhelpful comment.
8876
efbecbc1
AB
88772019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8878
8879 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8880
0841c79a
AB
88812019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8882
8883 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8884
4a270568
AB
88852019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8886
8887 * gdb.fortran/type-kinds.exp: Update expected results.
8888
067630bd
AB
88892019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8890
8891 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8892
3be47f7a
AB
88932019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8894
8895 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8896 function.
8897 (test_basic_parsing_of_type_kinds): Expand types tested.
8898 (test_parsing_invalid_type_kinds): New function.
8899
4d00f5d8
AB
89002019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8901
8902 * gdb.fortran/intrinsics.exp: New file.
8903 * gdb.fortran/intrinsics.f90: New file.
8904 * gdb.fortran/type-kinds.exp: New file.
8905
c8f91604
AB
89062019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8907
8908 * gdb.fortran/dot-ops.exp: New file.
8909
dd9f2c76
AB
89102019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8911
8912 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8913 Check upper and lower case logical literals.
8914
84ec9724
AB
89152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8916
8917 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8918 Remove duplicate tests.
8919
c3734e09
AH
89202019-03-06 Alan Hayward <alan.hayward@arm.com>
8921
8922 * lib/gdb.exp (builtin_cd): rename of cd.
8923 (cd): Override builtin.
8924
aa3cfbda
RB
89252019-03-06 Richard Bunt <richard.bunt@arm.com>
8926
8927 * gdb.fortran/function-calls.exp: New file.
8928 * gdb.fortran/function-calls.f90: New test.
8929
7b63ad86
RB
89302019-03-04 Richard Bunt <richard.bunt@arm.com>
8931
8932 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8933 on user program standard output.
8934 * gdb.fortran/short-circuit-argument-list.f90: Record function
8935 calls.
8936
01abb042
AH
89372019-02-28 Alan Hayward <alan.hayward@arm.com>
8938
c3734e09
AH
8939 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8940 failure.
01abb042 8941
92137da0
RO
89422019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8943
8944 PR gdb/8527
8945 * gdb.base/interrupt-daemon-attach.c,
8946 gdb.base/interrupt-daemon-attach.exp: New test.
8947
5862844d
PA
89482019-02-27 Pedro Alves <palves@redhat.com>
8949
8950 * gdb.base/page.exp: Add tests for "set width/height -1".
8951
8ed25214
PA
89522019-02-27 Pedro Alves <palves@redhat.com>
8953
8954 * gdb.base/page.exp: Add tests for "set/show width/height" with
8955 "infinite" values.
8956
6c28e44a
TT
89572019-02-27 Tom Tromey <tromey@adacore.com>
8958
8959 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8960 2.4.
8961 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8962 workaround.
8963
bf9a735e
AB
89642019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8965
8966 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8967 tests for structs with static members.
8968
8791793c
TT
89692019-02-26 Tom Tromey <tromey@adacore.com>
8970
8971 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8972 ValueError, not TypeError.
8973
bc2a507e
KB
89742019-02-26 Kevin Buettner <kevinb@redhat.com>
8975
8976 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8977 call from main program.
8978
e0e7d3bd
JB
89792019-02-23 Joel Brobecker <brobecker@adacore.com>
8980
8981 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8982 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8983 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8984 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8985 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8986
9600246d
KS
89872019-02-22 Keith Seitz <keiths@redhat.com>
8988
8989 PR symtab/23853
8990 * gdb.base/symlink-sourcefile.c: New file.
8991 * gdb.base/symlink-sourcefile.exp: New file.
8992
0c95f9ed
TT
89932019-02-20 Tom Tromey <tom@tromey.com>
8994
8995 * gdb.base/info_qt.exp: Update.
8996
6caa91b6
SM
89972019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8998
8999 * gdb.base/source.exp: Move "error in sourced script" code to
9000 the end.
9001 * gdb.base/source-error.gdb: Move contents to
9002 source-error-1.gdb. Add new code to source source-error-1.gdb.
9003 * gdb.base/source-error-1.gdb: New file, from previous
9004 source-error.gdb.
9005
6506371f
TT
90062019-02-17 Tom Tromey <tom@tromey.com>
9007
9008 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
9009 for macro styling.
9010 * gdb.base/style.c (SOME_MACRO): New macro.
9011
a0087920
TT
90122019-02-17 Tom Tromey <tom@tromey.com>
9013
9014 * gdb.base/style.exp: Add line-wrapping tests.
9015 * gdb.base/page.exp: Add test for quitting during pagination.
9016
a2cd4f14
JB
90172019-02-17 Joel Brobecker <brobecker@adacore.com>
9018
9019 * gdb.ada/big_packed_array: New testcase.
9020 * gdb.ada/homonym.exp: Fix incorrect expected output for
9021 "break <homonym__get_value>" test.
9022
9d70ffbc
WP
90232019-02-13 Weimin Pan <weimin.pan@oracle.com>
9024
9025 PR breakpoints/21870
9026 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
9027 and prepare_for_testing. Add comment.
9028 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
9029 redundant cleanup call. Clean up comment.
9030
01c7ae81
WP
90312019-02-12 Weimin Pan <weimin.pan@oracle.com>
9032
9033 PR breakpoints/21870
9034 * gdb.arch/aarch64-dbreg-contents.exp: New file.
9035 * gdb.arch/aarch64-dbreg-contents.c: New file.
9036
aff29d1c
JB
90372019-02-10 Joel Brobecker <brobecker@adacore.com>
9038
9039 * gdb.ada/mi_ref_changeable: New testcase.
9040
df0da8a2
AH
90412019-02-07 Alan Hayward <alan.hayward@arm.com>
9042
9043 * gdb.base/attach.exp: Add double attach test.
9044
bd447abb
SM
90452019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
9046
9047 * lib/gdb.exp (default_gdb_start): Don't match pagination
9048 prompt.
9049 (gdb_init): Set stty_init.
9050
1dbc40b9
TT
90512019-01-27 Tom Tromey <tom@tromey.com>
9052
9053 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
9054 skip_python_tests.
9055
353229bf
AH
90562019-01-24 Alan Hayward <alan.hayward@arm.com>
9057
9058 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
9059 New structure.
9060 (struct struct_static_02_02): Likewise.
9061 (struct struct_static_02_03): Likewise.
9062 (struct struct_static_02_04): Likewise.
9063 (struct struct_static_04_01): Likewise.
9064 (struct struct_static_04_02): Likewise.
9065 (struct struct_static_04_03): Likewise.
9066 (struct struct_static_04_04): Likewise.
9067 (struct struct_static_06_01): Likewise.
9068 (struct struct_static_06_02): Likewise.
9069 (struct struct_static_06_03): Likewise.
9070 (struct struct_static_06_04): Likewise.
9071 (cmp_struct_static_02_01): Likewise.
9072 (cmp_struct_static_02_02): Likewise.
9073 (cmp_struct_static_02_03): Likewise.
9074 (cmp_struct_static_02_04): Likewise.
9075 (cmp_struct_static_04_01): Likewise.
9076 (cmp_struct_static_04_02): Likewise.
9077 (cmp_struct_static_04_03): Likewise.
9078 (cmp_struct_static_04_04): Likewise.
9079 (cmp_struct_static_06_01): Likewise.
9080 (cmp_struct_static_06_02): Likewise.
9081 (cmp_struct_static_06_03): Likewise.
9082 (cmp_struct_static_06_04): Likewise.
9083 (call_all): Test new structs.
9084 * gdb.base/infcall-nested-structs.exp: Likewise.
9085
73021deb
AH
90862019-01-21 Alan Hayward <alan.hayward@arm.com>
9087 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9088
fc65c7db
AH
90892019-01-21 Alan Hayward <alan.hayward@arm.com>
9090 * gdb.base/stack-protector.c: New test.
9091 * gdb.base/stack-protector.exp: New file.
9092 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9093 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9094 option.
9095 (gdb_compile): Remove stack protector for GCC and prevent
9096 recursion.
9097
c24bdb02
KS
90982019-01-16 Keith Seitz <keiths@redhat.com>
9099
9100 PR gdb/23773
9101 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9102
6f072a10
PFC
91032019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9104
9105 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9106 aliases.
9107 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9108 tests.
9109 * gdb.arch/powerpc-vector-regs.c: New file.
9110 * gdb.arch/powerpc-vector-regs.exp: New file.
9111
a7b8d682
PFC
91122019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9113
9114 * gdb.arch/altivec-regs.exp: Fix the list passed to
9115 gdb_expect_list when testing "info vector".
9116
6eb6fb67
AB
91172019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9118
9119 * gdb.base/style.exp: Don't include path in testname.
9120
b56f80d8
KS
91212019-01-10 Keith Seitz <keiths@redhat.com>
9122
9123 PR gdb/23712
9124 PR symtab/23010
9125 * gdb.dwarf2/multidictionary.exp: New file.
9126
041be526
SM
91272019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9128
9129 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9130 (test_gnuv3_style_demangling): ... this.
9131 (test_lucid_style_demangling): Remove.
9132 (test_arm_style_demangling): Remove.
9133 (test_hp_style_demangling): Remove.
9134 (do_tests): Remove calls to the above.
9135
d820d0c3
AB
91362019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9137
9138 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9139 case.
9140
f097f5ad
TT
91412019-01-06 Tom Tromey <tom@tromey.com>
9142
9143 PR gdb/28155:
9144 * gdb.dwarf2/typedef-void-finish.exp: New file.
9145
2cd8cc0b
TT
91462018-12-28 Tom Tromey <tom@tromey.com>
9147 Simon Marchi <simark@simark.ca>
9148
9149 * gdb.base/jit-exec.exp: New file.
9150 * gdb.base/jit-exec.c: New file.
9151 * gdb.base/jit-execd.c: New file.
9152
35fb8261
TT
91532018-12-28 Tom Tromey <tom@tromey.com>
9154
9155 * gdb.base/style.exp: Update test to check for address styling.
9156
47fd17cd
TT
91572018-12-28 Tom Tromey <tom@tromey.com>
9158
9159 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9160 message.
9161
d47032b7
TT
91622018-12-28 Tom Tromey <tom@tromey.com>
9163
9164 * gdb.base/style.exp: Add test for version number styling.
9165
af79b68d
TT
91662018-12-28 Tom Tromey <tom@tromey.com>
9167
9168 * gdb.base/style.exp: Add test for print_address_symbolic.
9169
0bb296cb
TT
91702018-12-28 Tom Tromey <tom@tromey.com>
9171
9172 * gdb.base/style.exp: Add test for breakpoint setting.
9173
80ae2043
TT
91742018-12-28 Tom Tromey <tom@tromey.com>
9175
9176 * gdb.base/style.exp: Add test for variable names.
9177
cbe56571
TT
91782018-12-28 Tom Tromey <tom@tromey.com>
9179
9180 * gdb.base/style.exp: New file.
9181 * gdb.base/style.c: New file.
9182
9162a27c
TT
91832018-12-28 Tom Tromey <tom@tromey.com>
9184
9185 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9186 "dumb".
9187 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9188 the TERM environment variable.
9189
bc543c90
TT
91902018-12-27 Tom Tromey <tom@tromey.com>
9191
9192 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9193 pagination test.
9194
6f0ffe50
AB
91952018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9196
9197 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9198 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9199
b5a1e557
PW
92002018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9201
9202 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9203 Filename a.adb changed to bp_fun_addr.adb.
9204 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9205
6e8b1ab2
JV
92062018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9207
9208 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9209 non-PIE executables.
9210 * README: Mention the gdb,nopie_flag board setting.
9211 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9212 non-PIE executable.
9213 * gdb.arch/amd64-entry-value.exp: Likewise.
9214 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9215 * gdb.arch/i386-float.exp: Likewise.
9216 * gdb.arch/i386-signal.exp: Likewise.
9217 * gdb.mi/mi-reg-undefined.exp: Likewise.
9218
d00a27c5
PM
92192018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9220
9221 PR gdb/23974
9222 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9223
161d081c
PW
92242018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9225
9226 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9227 Update order of results accordingly.
9228
b001de23
AB
92292018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9230
9231 * gdb.base/annota1.exp: Update a test regexp.
9232
99e1a184
AB
92332018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9234
9235 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9236
7a81c1e2
PW
92372018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9238
9239 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9240 (reuse_time): Initialize to REUSE_TIME_CAP.
9241 (check_rc): New function.
9242 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9243 Check pthread_create rc.
9244 (spawner_thread_func): Check pthread_create and pthread_join rc.
9245
73e8dc90
PA
92462018-12-08 Pedro Alves <palves@redhat.com>
9247
9248 * gdb.base/list.exp (test_forward_search): Rename to ...
9249 (test_forward_reverse_search): ... this. Also test reverse-search
9250 and the forward-search alias.
9251
13f2ed32
AB
92522018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9253
9254 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9255 local timeout variable before return, and remove all local timeout
9256 variable entirely.
9257 (gdb_load): Likewise.
9258
64d27cfc
TV
92592018-12-01 Tom de Vries <tdevries@suse.de>
9260
9261 * gdb.base/gdb-caching-proc.exp: New file.
9262
f63c03b4
SDJ
92632018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9264
9265 * Makefile.in (TIMESTAMP): New variable.
9266 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9267 command.
9268 (check-single-racy): Likewise.
9269 (check/%.exp): Likewise.
9270 (check-racy/%.exp): Likewise.
9271 (workers/%.worker): Likewise.
9272 (build-perf): Likewise.
9273 (check-perf): Likewise.
9274 * README: Describe new "TS" and "TS_FORMAT" variables.
9275 * print-ts.py: New file.
9276
1c97054b
BF
92772018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9278
9279 PR python/23714
9280 * gdb.python/python.exp: Test command repetition after
9281 gdb.execute.
9282
1871a62d
AB
92832018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9284
9285 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9286 is correctly aligned.
9287
fb5e1ed9
PW
92882018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9289
9290 * gdb.ada/info_auto_lang.exp: New testcase.
9291 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9292 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9293 * gdb.ada/info_auto_lang/some_c.c: New file.
9294
43d397ca
PW
92952018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9296
9297 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9298 FUNC_lang language syntax.
9299
beddd671
PW
93002018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9301
9302 * gdb.base/info_minsym.c: New file.
9303 * gdb.base/info_minsym.exp: New file.
9304
73fc52c4
TT
93052018-11-19 Tom Tromey <tom@tromey.com>
9306
9307 PR rust/23625:
9308 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9309 * gdb.rust/expr.exp: Update expected output. Change one test.
9310
994b876a
TT
93112018-11-19 Tom Tromey <tom@tromey.com>
9312
9313 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9314
6769f276
PA
93152018-11-19 Pedro Alves <palves@redhat.com>
9316
9317 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9318 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9319 see the expected warning.
9320
38a72da0
AH
93212018-11-16 Alan Hayward <alan.hayward@arm.com>
9322
9323 PR gdb/22736:
9324 * gdb.cp/infcall-nodebug-lib.c: New test.
9325 * gdb.cp/infcall-nodebug-main.c: New test.
9326 * gdb.cp/infcall-nodebug.exp: New file.
9327
53a89d6e
SM
93282018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9329
9330 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9331 completer tests.
9332
9325300d
TV
93332018-11-09 Tom de Vries <tdevries@suse.de>
9334
9335 * gdb.base/msym-lang.c: New test.
9336 * gdb.base/msym-lang.exp: New file.
9337 * gdb.base/msym-lang-main.c: New test.
9338
20f0d60d
TT
93392018-11-08 Tom Tromey <tom@tromey.com>
9340
9341 PR gdb/23555:
9342 PR gdb/23838:
9343 * gdb.base/warning.exp: New file.
9344
b5420128
JB
93452018-11-08 Jan Beulich <jbeulich@suse.com>
9346
9347 * testsuite/gdb.arch/i386-avx512.c,
9348 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9349
cd115d61
AB
93502018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9351
9352 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9353 point hardware.
9354
35ee2dc2
AB
93552018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9356
9357 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9358 * gdb.dwarf2/missing-type-name.exp: New file.
9359
31aceee8
TV
93602018-11-06 Tom de Vries <tdevries@suse.de>
9361
9362 * gdb.base/many-headers.c: New test.
9363 * gdb.base/many-headers.exp: New file.
9364
109be305
JW
93652018-11-06 Jim Wilson <jimw@sifive.com>
9366
9367 * gdb.base/code_elim.exp: For riscv, set additional_flags
9368 to include -msmall-data-limit=0.
9369
e2b7af72
JB
93702018-11-01 Joel Brobecker <brobecker@adacore.com>
9371
9372 * gdb.ada/watch_minus_l: New testcase.
9373
cdcda965
SM
93742018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9375
9376 * gdb.arch/aix-sighandle.c: New file.
9377 * gdb.arch/aix-sighandle.exp: New file.
9378
92dcebf3
AB
93792018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9380
9381 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9382 registers being unions.
9383
68b9ac18
TV
93842018-10-31 Tom de Vries <tdevries@suse.de>
9385
9386 * lib/valgrind.exp: New file.
9387 (vgdb_start, vgdb_stop): New procs, factored out of ...
9388 * gdb.base/valgrind-bt.exp: ... here, ...
9389 * gdb.base/valgrind-disp-step.exp: ... here and ...
9390 * gdb.base/valgrind-infcall.exp: ... here.
9391
1443936e
TV
93922018-10-31 Tom de Vries <tdevries@suse.de>
9393
9394 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9395
eb77c9df
AB
93962018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9397
9398 * gdb.dwarf2/void-type.c: New file.
9399 * gdb.dwarf2/void-type.exp: New file.
9400
82b5e646
PW
94012018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9402
9403 * gdb.base/info_qt.c: New file.
9404 * gdb.base/info_qt.exp: New file.
9405
8d619c01
EBM
94062018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9407
9408 * gdb.arch/powerpc-htm-regs.c: New file.
9409 * gdb.arch/powerpc-htm-regs.exp: New file.
9410
f2cf6173
EBM
94112018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9412
9413 * gdb.arch/powerpc-tar.c: New file.
9414 * gdb.arch/powerpc-tar.exp: New file.
9415
7ca18ed6
EBM
94162018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9417
9418 * gdb.arch/powerpc-ppr-dscr.c: New file.
9419 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9420
bfcc0eba
TV
94212018-10-25 Tom de Vries <tdevries@suse.de>
9422
9423 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9424
fe1a5cad
TV
94252018-10-24 Tom de Vries <tdevries@suse.de>
9426
9427 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9428 longer exists error.
9429
a76dc3b7
TV
94302018-10-24 Tom de Vries <tdevries@suse.de>
9431
9432 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9433
4df46df7
TV
94342018-10-24 Tom de Vries <tdevries@suse.de>
9435
9436 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9437 --db-attach in valgrind.
9438
0dbfcfff
AB
94392018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9440
9441 * gdb.arch/riscv-reg-aliases.c: New file.
9442 * gdb.arch/riscv-reg-aliases.exp: New file.
9443
b04480b1
AH
94442018-10-19 Alan Hayward <alan.hayward@arm.com>
9445
9446 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9447
2c6ac8d7
AH
94482018-10-19 Alan Hayward <alan.hayward@arm.com>
9449
9450 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9451
2bc69f25
AH
94522018-10-19 Alan Hayward <alan.hayward@arm.com>
9453
9454 * gdb.cp/ovldbreak.exp: Fix regexps.
9455
1f1ae3a3
AH
94562018-10-19 Alan Hayward <alan.hayward@arm.com>
9457
9458 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9459
94c18618
SDJ
94602018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9461
9462 PR cli/23785
9463 * gdb.base/restore.exp: New test to check if "restore" with an
9464 invalid file doesn't segfault.
9465
812cd6eb
TV
94662018-10-18 Tom de Vries <tdevries@suse.de>
9467
9468 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9469 * gdb.ada/excep_handle.exp: Same.
9470 * gdb.ada/mi_string_access.exp: Same.
9471 * gdb.ada/mi_var_union.exp: Same.
9472 * gdb.arch/arc-analyze-prologue.exp: Same.
9473 * gdb.arch/arc-decode-insn.exp: Same.
9474 * gdb.base/readnever.exp: Same.
9475 * gdb.fortran/printing-types.exp: Same.
9476 * gdb.guile/scm-lazy-string.exp: Same.
9477
c4b90788
TV
94782018-10-16 Tom de Vries <tdevries@suse.de>
9479
9480 PR gdb/23730
9481 * gdb.base/catch-follow-exec.c: Add copyright notice.
9482 * gdb.base/catch-follow-exec.exp: Rewrite to use
9483 gdb_spawn_with_cmdline_opts. Require gdb-native.
9484
8bca2978
SL
94852018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9486
9487 * gdb.trace/actions-changed.exp: Check for arch support.
9488 * gdb.trace/actions.exp: Likewise.
9489 * gdb.trace/ax.exp: Likewise.
9490 * gdb.trace/backtrace.exp: Likewise.
9491 * gdb.trace/change-loc.exp: Likewise.
9492 * gdb.trace/deltrace.exp: Likewise.
9493 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9494 * gdb.trace/ftrace.exp: Likewise.
9495 * gdb.trace/infotrace.exp: Check for arch support.
9496 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9497 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9498 * gdb.trace/mi-tsv-changed.exp: Likewise.
9499 * gdb.trace/packetlen.exp: Likewise.
9500 * gdb.trace/passc-dyn.exp: Likewise.
9501 * gdb.trace/passcount.exp: Likewise.
9502 * gdb.trace/pending.exp: Likewise.
9503 * gdb.trace/range-stepping.exp: Check for shlib support.
9504 * gdb.trace/report.exp: Check for arch support.
9505 * gdb.trace/save-trace.exp: Likewise.
9506 * gdb.trace/signal.exp: Check for signal support.
9507 * gdb.trace/tfind.exp: Check for arch support.
9508 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9509 * gdb.trace/trace-common.h: Add comment.
9510 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9511 * gdb.trace/trace-enable-disable.exp: Likewise.
9512 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9513 * gdb.trace/tracecmd.exp: Check for arch support.
9514 * gdb.trace/tspeed.exp: Check for shlib and target support.
9515 * gdb.trace/tstatus.exp: Check for arch support.
9516 * gdb.trace/tsv.exp: Likewise.
9517 * gdb.trace/while-dyn.exp: Likewise.
9518 * gdb.trace/while-stepping.exp: Likewise.
9519 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9520
f9c49bff
SM
95212018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9522
9523 * gdb.trace/tspeed.exp: Remove nowarnings.
9524 (prepare_for_trace_test): Declare "global ipalib".
9525 * gdb.trace/tspeed.c: Include unistd.h.
9526 (main): Remove superfluous printf argument.
9527
d4330bde
SL
95282018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9529
9530 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9531 directory prefix on the filename.
9532
8ecfd7bd
SDJ
95332018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9534
9535 * gdb.gdb/unittest.exp: Update expected message informing that
9536 selftests have been disabled.
9537 * gdb.server/unittest.exp: Likewise.
9538
58bbcd02
TV
95392018-10-09 Tom de Vries <tdevries@suse.de>
9540
9541 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9542 with runto_main.
9543
9f6b697b
WP
95442018-10-08 Weimin Pan <weimin.pan@oracle.com>
9545
9546 PR c++/16841
9547 * gdb.cp/virtbase2.cc: New file.
9548 * gdb.cp/virtbase2.exp: New file.
9549
add5ded5
TT
95502018-10-06 Tom Tromey <tom@tromey.com>
9551
9552 PR python/19399:
9553 * gdb.python/py-inferior.exp: Add architecture test.
9554
f9e48344
TT
95552018-10-06 Tom Tromey <tom@tromey.com>
9556
9557 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9558 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9559
2a8be203
TT
95602018-10-06 Tom Tromey <tom@tromey.com>
9561
9562 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9563 of a "throw" catchpoint.
9564
e04caa70
SDJ
95652018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9566
9567 * gdb.base/info-proc.exp: Update string expected from "help info
9568 proc".
9569
5ca8c39f
TT
95702018-10-04 Tom Tromey <tom@tromey.com>
9571
9572 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9573 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9574 (test_initial_complaints, test_empty_complaints): Update.
9575 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9576
3453e7e4
TT
95772018-10-04 Tom Tromey <tom@tromey.com>
9578
9579 PR cli/19551:
9580 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9581 * lib/gdb.exp (gdb_file_cmd): Update.
9582 * gdb.stabs/weird.exp (print_weird_var): Update.
9583 * gdb.server/solib-list.exp: Update.
9584 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9585 * gdb.mi/mi-cli.exp: Update.
9586 * gdb.linespec/linespec.exp: Update.
9587 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9588 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9589 * gdb.cp/cp-relocate.exp: Update.
9590 * gdb.base/sym-file.exp: Update.
9591 * gdb.base/relocate.exp: Update.
9592 * gdb.base/readnever.exp: Update.
9593 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9594 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9595 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9596 * gdb.base/code_elim.exp: Update.
9597 * gdb.base/break-unload-file.exp (test_break): Update.
9598 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9599 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9600 Update.
9601 * gdb.base/attach.exp (do_attach_tests): Update.
9602 * gdb.base/sepdebug.exp: Update.
9603 * gdb.python/py-section-script.exp: Update.
9604
6afcf761
TT
96052018-10-04 Tom Tromey <tom@tromey.com>
9606
9607 PR cli/22234:
9608 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9609 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9610 output.
9611
fef1b293
TT
96122018-10-04 Tom Tromey <tom@tromey.com>
9613
9614 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9615 set width and height to 0.
9616 (test_command_line_attach_run): Use -quiet.
9617
ca98345e
SL
96182018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9619
9620 * lib/gdb.exp (skip_ifunc_tests): New.
9621 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9622 other compile failures.
9623 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9624
ff34e6ae
SM
96252018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9626
9627 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9628 is_amd64_regs_target.
9629
6bb8890e
AH
96302018-10-01 Alan Hayward <alan.hayward@arm.com>
9631
9632 * gdb.arch/aarch64-sighandler-regs.c: New test.
9633 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9634 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9635
224d30d3
MM
96362018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9637
9638 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9639 assembly.
9640
f67ffa6a
AB
96412018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9642
9643 * gdb.base/frame-selection.exp: New file.
9644 * gdb.base/frame-selection.c: New file.
9645
9fc3183f
AH
96462018-09-27 Alan Hayward <alan.hayward@arm.com>
9647
9648 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9649 pthread barrier.
9650 (main): Likewise.
9651
d354055e
AB
96522018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9653
9654 * gdb.base/large-frame-1.c: New file.
9655 * gdb.base/large-frame-2.c: New file.
9656 * gdb.base/large-frame.exp: New file.
9657 * gdb.base/large-frame.h: New file.
9658
db727370
JL
96592018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9660
9661 PR gdb/20948
9662 * gdb.base/write_mem.exp: New test.
9663 * gdb.base/write_mem.c: Likewise.
9664
ae778caf
TT
96652018-09-23 Tom Tromey <tom@tromey.com>
9666
9667 PR python/18852:
9668 * gdb.python/py-parameter.exp: Add test for parameter that throws
9669 on "set".
9670
fd3ba736
TT
96712018-09-23 Tom Tromey <tom@tromey.com>
9672
9673 PR python/17284:
9674 * gdb.python/py-template.exp (test_template_arg): Add test for
9675 negative template argument number.
9676
39a24317
TT
96772018-09-23 Tom Tromey <tom@tromey.com>
9678
9679 PR python/14062:
9680 * gdb.python/python.exp: Add test for post_event error.
9681
f5769a2c
TT
96822018-09-23 Tom Tromey <tom@tromey.com>
9683
9684 PR python/18170:
9685 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9686 convert pointers to int and long.
9687
1c1e54f6
TT
96882018-09-23 Tom Tromey <tom@tromey.com>
9689
9690 PR python/20126:
9691 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9692 signed-ness conversion tests.
9693
fb4fa946
TT
96942018-09-23 Tom Tromey <tom@tromey.com>
9695
9696 PR python/18352;
9697 * gdb.python/py-value.exp (test_float_conversion): New proc.
9698 Use it.
9699
a466edac
HAQ
97002018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9701
9702 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9703
4ee9b0c5
SL
97042018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9705
9706 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9707 no readline.
9708 * gdb.base/utf8-identifiers.exp: Likewise.
9709 * gdb.cp/cpcompletion.exp: Likewise.
9710 * gdb.linespec/cpcompletion.exp: Likewise.
9711 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9712 * gdb.linespec/cpls-ops.exp: Likewise.
9713
23be8da7
RB
97142018-09-19 Richard Bunt <richard.bunt@arm.com>
9715 Chris January <chris.january@arm.com>
9716
9717 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9718 * gdb.fortran/short-circuit-argument-list.exp: New file.
9719 * gdb.fortran/short-circuit-argument-list.f90: New test.
9720
5031d0ae
SDJ
97212018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9722
9723 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9724 "arch=" keyword when executing "-stack-list-frames".
9725
b4c0d1a4
SDJ
97262018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9727
9728 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9729 "arch=" keyword when executing "-stack-list-frames".
9730
7a6d2b45
SDJ
97312018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9732
9733 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9734 break ada".
9735
8588b356
SM
97362018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9737
9738 PR python/23669
9739 * gdb.python/python.exp: Test gdb.execute("show commands").
9740
65e65158
TT
97412018-09-16 Tom Tromey <tom@tromey.com>
9742
9743 * gdb.base/new-ui.exp (do_execution_tests): Update.
9744 * gdb.base/dbx.exp (test_breakpoints): Update.
9745
bf326452
AH
97462018-09-14 Alan Hayward <alan.hayward@arm.com>
9747
9748 * lib/gdb.exp (gdb_simple_compile): Add proc.
9749 (is_elf_target): Use gdb_simple_compile.
9750 (skip_altivec_tests): Likewise.
9751 (skip_vsx_tests): Likewise.
9752 (skip_tsx_tests): Likewise.
9753 (skip_btrace_tests): Likewise.
9754 (skip_btrace_pt_tests): Likewise.
9755 (gdb_can_simple_compile): Likewise.
9756 (gdb_has_argv0): Likewise.
9757 (gdb_target_symbol_prefix): Likewise.
9758 (target_supports_scheduler_locking): Likewise.
9759
2361b0fb
TT
97602018-09-13 Tom Tromey <tom@tromey.com>
9761
9762 * Makefile.in (TAGS): Recognize proc_with_prefix and
9763 gdb_caching_proc.
9764
0ae1a321
SM
97652018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9766
9767 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9768 method.
9769
a40bf0c2
SM
97702018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9771
9772 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9773 and a few other Inferior properties when the Inferior is no
9774 longer valid.
9775
4a3fe98f
TT
97762018-09-13 Tom Tromey <tom@tromey.com>
9777
9778 PR rust/23650:
9779 * gdb.rust/simple.exp: Add test for enum field access error.
9780
098b2108
TT
97812018-09-13 Tom Tromey <tom@tromey.com>
9782
9783 PR rust/23626:
9784 * gdb.rust/simple.rs (EmptyEnum): New type.
9785 (main): Use it.
9786 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9787
1256af7d
SM
97882018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9789
9790 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9791 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9792 * gdb.python/py-symtab.exp: Update test printing an objfile.
9793
4aa8e6c2
SM
97942018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9795
9796 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9797 object.
9798
c221b2f7
AH
97992018-09-12 Alan Hayward <alan.hayward@arm.com>
9800
9801 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9802 (support_complex_tests): Use gdb_can_simple_compile.
9803 (is_ilp32_target): Likewise.
9804 (is_lp64_target): Likewise.
9805 (is_64_target): Likewise.
9806 (is_amd64_regs_target): Likewise.
9807 (is_aarch32_target): Likewise.
9808 (gdb_int128_helper): Likewise.
9809
6f1107b5
JK
98102018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9811
9812 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9813
1f5d1570
JG
98142018-09-10 Jerome Guitton <guitton@adacore.com>
9815
9816 * gdb.ada/same_component_name: Add test for case of tagged record
9817 with variable-length fields.
9818
cc330e39
XR
98192018-09-10 Xavier Roirand <roirand@adacore.com>
9820
9821 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9822 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9823 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9824 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9825
b9c50e9a
XR
98262018-09-10 Xavier Roirand <roirand@adacore.com>
9827
9828 * gdb.ada/mi_string_access.exp: New testcase.
9829 * gdb.ada/mi_string_access/bar.adb: New file.
9830 * gdb.ada/mi_string_access/pck.adb: New file.
9831 * gdb.ada/mi_string_access/pck.asd: New file.
9832
2963898f
XR
98332018-09-10 Xavier Roirand <roirand@adacore.com>
9834
9835 * gdb.ada/mi_var_union.exp: New testcase.
9836 * gdb.ada/mi_var_union/bar.adb: New file.
9837 * gdb.ada/mi_var_union/pck.adb: New file.
9838 * gdb.ada/mi_var_union/pck.asd: New file.
9839
1aac008f
TT
98402018-09-08 Tom Tromey <tom@tromey.com>
9841
9842 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9843
332cf4c9
TT
98442018-09-08 Tom Tromey <tom@tromey.com>
9845
9846 PR python/16047:
9847 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9848 (register_pretty_printers): Register new printer.
9849 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9850 test.
9851 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9852 (an_int_type3): New global.
9853
424da6cf
JB
98542018-09-08 Joel Brobecker <brobecker@adacore.com>
9855
9856 * gdb.ada/expr_with_funcall: New testcase.
9857
2a62dfa9
JB
98582018-09-08 Joel Brobecker <brobecker@adacore.com>
9859
9860 * gdb.ada/packed_array_assign: New testcase.
9861
96b6697f
AB
98622018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9863
9864 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9865 names, and add test prefixes to make test names unique.
9866
e4a62c65
TV
98672018-09-05 Tom de Vries <tdevries@suse.de>
9868
9869 * gdb.dwarf2/varval.exp: Add test.
9870
dd083ee2
GB
98712018-09-04 Gary Benson <gbenson@redhat.com>
9872
9873 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9874 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9875
aef9346c
TT
98762018-08-31 Tom Tromey <tom@tromey.com>
9877
9878 * gdb.rust/simple.rs: Rename second variable "v".
9879
c67f2e15
AB
98802018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9881
9882 * gdb.base/funcargs.c (use_a): New function.
9883 (recurse): Call use_a.
9884
078a0207
KS
98852018-08-29 Keith Seitz <keiths@redhat.com>
9886
9887 * gdb.compile/compile-cplus-anonymous.cc: New file.
9888 * gdb.compile/compile-cplus-anonymous.exp: New file.
9889 * gdb.compile/compile-cplus-array-decay.cc: New file.
9890 * gdb.compile/compile-cplus-array-decay.exp: New file.
9891 * gdb.compile/compile-cplus-inherit.cc: New file.
9892 * gdb.compile/compile-cplus-inherit.exp: New file.
9893 * gdb.compile/compile-cplus-member.cc: New file.
9894 * gdb.compile/compile-cplus-member.exp: New file.
9895 * gdb.compile/compile-cplus-method.cc: New file.
9896 * gdb.compile/compile-cplus-method.exp: New file.
9897 * gdb.compile/compile-cplus-mod.c: "New" file.
9898 * gdb.compile/compile-cplus-namespace.cc: New file.
9899 * gdb.compile/compile-cplus-namespace.exp: New file.
9900 * gdb.compile/compile-cplus-nested.cc: New file.
9901 * gdb.compile/compile-cplus-nested.exp: New file.
9902 * gdb.compile/compile-cplus-print.c: "New" file.
9903 * gdb.compile/compile-cplus-print.exp: "New" file.
9904 * gdb.compile/compile-cplus-virtual.cc: New file.
9905 * gdb.compile/compile-cplus-virtual.exp: New file.
9906 * gdb.compile/compile-cplus.c: "New" file.
9907 * gdb.compile/compile-cplus.exp: "New" file.
9908 * lib/compile-support.exp: New file.
9909
b0f492b9
GB
99102018-08-16 Gary Benson <gbenson@redhat.com>
9911
9912 PR gdb/13000:
9913 * gdb.base/batch-exit-status.exp: New file.
9914 * gdb.base/batch-exit-status.good-commands: Likewise.
9915 * gdb.base/batch-exit-status.bad-commands: Likewise.
9916
36eb4c5f
AH
99172018-08-29 Alan Hayward <alan.hayward@arm.com>
9918
9919 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9920 (struct struct02): Likewise.
9921 (struct struct03): Likewise.
9922 (struct struct04): Likewise.
9923 (struct struct_01_01): New struct.
9924 (struct struct_01_02): Likewise.
9925 (struct struct_01_03): Likewise.
9926 (struct struct_01_04): Likewise.
9927 (struct struct_02_01): Likewise.
9928 (struct struct_02_02): Likewise.
9929 (struct struct_02_03): Likewise.
9930 (struct struct_02_04): Likewise.
9931 (struct struct_04_01): Likewise.
9932 (struct struct_04_02): Likewise.
9933 (struct struct_04_03): Likewise.
9934 (struct struct_04_04): Likewise.
9935 (struct struct_05_01): Likewise.
9936 (struct struct_05_02): Likewise.
9937 (struct struct_05_03): Likewise.
9938 (struct struct_05_04): Likewise.
9939 (cmp_struct01): Remove function.
9940 (cmp_struct02): Likewise.
9941 (cmp_struct03): Likewise.
9942 (cmp_struct04): Likewise.
9943 (cmp_struct_01_01): Add Function.
9944 (cmp_struct_01_02): Likewise.
9945 (cmp_struct_01_03): Likewise.
9946 (cmp_struct_01_04): Likewise.
9947 (cmp_struct_02_01): Likewise.
9948 (cmp_struct_02_02): Likewise.
9949 (cmp_struct_02_03): Likewise.
9950 (cmp_struct_02_04): Likewise.
9951 (cmp_struct_04_01): Likewise.
9952 (cmp_struct_04_02): Likewise.
9953 (cmp_struct_04_03): Likewise.
9954 (cmp_struct_04_04): Likewise.
9955 (cmp_struct_05_01): Likewise.
9956 (cmp_struct_05_02): Likewise.
9957 (cmp_struct_05_03): Likewise.
9958 (cmp_struct_05_04): Likewise.
9959 (call_all): Add new structs.
9960 * gdb.base/infcall-nested-structs.exp: Likewise.
9961
3bf9c013
JV
99622018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9963
9964 * gdb.python/py-framefilter-mi.exp: Update regexp to
9965 check for "arch" field in frame output.
9966
450d1e88
KB
99672018-08-23 Kevin Buettner <kevinb@redhat.com>
9968
9969 * gdb.dwarf2/dw2-ranges-func.c: New file.
9970 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9971
ae739fe7
SM
99722018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9973
9974 * gdb.base/term.exp: Compare terminal settings with values from
9975 the inferior.
9976 * gdb.base/term.c: Get and set terminal settings.
9977
6d52907e
JV
99782018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9979
9980 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9981 accommodate new "arch" field in frame output.
9982 * gdb.mi/mi-return.exp: Likewise.
9983 * gdb.mi/mi-stack.exp: Likewise.
9984 * gdb.mi/mi-syn-frame.exp: Likewise.
9985 * gdb.mi/user-selected-context-sync.exp: Likewise.
9986
be2d111a
MS
99872018-08-19 Michael Spang <spang@google.com>
9988
9989 PR gdb/11786
9990 * gdb.base/gcore-tls-pie.c: New file.
9991 * gdb.base/gcore-tls-pie.exp: New file.
9992
ae3a7c47
KB
99932018-08-18 Kevin Buettner <kevinb@redhat.com>
9994
9995 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9996 * gdb.dwarf2/varval.c: New file.
9997 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9998
2ecae92e
AH
99992018-08-17 Alan Hayward <alan.hayward@arm.com>
10000
10001 PR gdb/18931
10002 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
10003
c1854f1d
KS
100042018-08-16 Keith Seitz <keiths@redhat.com>
10005
10006 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
10007 tests expected to pass.
10008
26fb3983
JV
100092018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
10010
10011 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
10012 -data-disassemble -a.
10013 (test_disassembly_bogus_args): Likewise.
10014
67943c00
AB
100152018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
10016
10017 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
10018
5ff2bbae
AB
100192018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10020
10021 * gdb.base/vla-optimized-out.exp: Add new test.
10022
e5bbcd0f
AB
100232018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10024
10025 * gdb.base/vla-optimized-out-o3.exp: Delete.
10026 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
10027 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
10028 deleted tests.
10029
9d4a934c
AB
100302018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
10031
10032 PR gdb/18050:
10033 * gdb.server/extended-remote-restart.c: New file.
10034 * gdb.server/extended-remote-restart.exp: New file.
10035
045cf012
SM
100362018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
10037
10038 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
10039 "set variable index = 42".
10040
87d6a7aa
SM
100412018-08-07 Simon Marchi <simon.marchi@ericsson.com>
10042
10043 * boards/index-cache-gdb.exp: New file.
10044 * gdb.dwarf2/index-cache.exp: New file.
10045 * gdb.dwarf2/index-cache.c: New file.
10046 * gdb.base/maint.exp: Check if we are using the index cache.
10047
96d68bd4
RO
100482018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10049
10050 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
10051 MAKEFLAGS.
10052
5a699617
RO
100532018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10054
10055 * dg-extract-results.sh: Move to toplevel contrib.
10056 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
10057 * Makefile.in (check-parallel-racy): Likewise.
10058
5bd18990
AB
100592018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
10060
10061 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
10062 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
10063 tests if the target supports scheduler locking.
10064
3fbbcf47
TV
100652018-08-04 Tom de Vries <tdevries@suse.de>
10066
10067 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
10068
3e1d3d8c
TT
100692018-08-02 Tom Tromey <tom@tromey.com>
10070
10071 PR symtab/16842.
10072 * gdb.cp/temargs.exp: Test "info address" of a template
10073 parameter.
10074
5abe0f0c
JV
100752018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
10076
10077 * gdb.python/py-mi-var-info-path-expression.c: New file.
10078 * gdb.python/py-mi-var-info-path-expression.py: New file.
10079 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10080
fb66cde8
SDJ
100812018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10082
10083 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10084 error after "cannot resolve name" string.
10085
c708f4d2
AB
100862018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10087
10088 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10089 started.
10090 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10091
37cc0cae
TV
100922018-07-28 Tom de Vries <tdevries@suse.de>
10093
10094 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10095
63b4ecf7
TV
100962018-07-26 Tom de Vries <tdevries@suse.de>
10097
10098 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10099
3c3bb058
AB
101002018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10101
10102 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10103 is visible.
10104
9e7f3bbb
TV
101052018-07-26 Tom de Vries <tdevries@suse.de>
10106
10107 PR breakpoints/23366
10108 * gdb.base/catch-follow-exec.c: New test.
10109 * gdb.base/catch-follow-exec.exp: New file.
10110
16f808ec
TV
101112018-07-25 Tom de Vries <tdevries@suse.de>
10112
10113 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10114 vla-optimized-out.c.
10115
d7154a8d
JV
101162018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10117
10118 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10119 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10120
232a0032
TV
101212018-07-20 Tom de Vries <tdevries@suse.de>
10122
10123 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10124 NOCLONE macro.
10125 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10126
fbb1d502
TV
101272018-07-19 Tom de Vries <tdevries@suse.de>
10128
10129 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10130 regular expression.
10131
42dc7699
TV
101322018-07-18 Tom de Vries <tdevries@suse.de>
10133
10134 * gdb.base/vla-optimized-out.c: New test.
10135 * gdb.base/vla-optimized-out.exp: New file.
10136
7f1f7e23
SDJ
101372018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10138
10139 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10140 message "No address associated with hostname" when gdbserver
10141 cannot resolve the hostname.
10142
5759ebb3
PW
101432018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10144
10145 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10146 Add some test prefixes to make tests unique.
10147
3606ccab
PW
101482018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10149
10150 * gdb.base/frameapply.c: New file.
10151 * gdb.base/frameapply.exp: New file.
10152
529c08b2
PW
101532018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10154
10155 * gdb.base/skip.exp: Update expected error message.
10156
c7ab0aef
SDJ
101572018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10158 Jan Kratochvil <jan.kratochvil@redhat.com>
10159 Paul Fertser <fercerpav@gmail.com>
10160 Tsutomu Seki <sekiriki@gmail.com>
10161
10162 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10163 parameter.
10164 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10165 by default.
10166 * boards/native-gdbserver.exp: Likewise.
10167 * gdb.server/run-without-local-binary.exp: Improve regexp used
10168 for detecting when a remote debugging connection succeeds.
10169 * gdb.server/server-connect.exp: New file.
10170 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10171 Do not prefix the port number with ":".
10172 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10173 support for detecting and using it. Add '$debughost_gdbserver'
10174 to the list of arguments used to start gdbserver. Handle case
10175 when gdbserver cannot resolve a network name.
10176
16ff70dd
SDJ
101772018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10178
10179 PR c++/23373
10180 * gdb.base/ptype-offsets.cc (struct static_member): New
10181 struct.
10182 (main) <stmember>: New variable.
10183 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10184 with a static member in it.
10185
3541979f
AB
101862018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10187
10188 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10189 watchpoints enabled and disabled.
10190
c8ad9b9a
AB
101912018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10192
10193 * gdb.base/examine-backward.exp: Still run tests around address
10194 0x0, even if address 0x0 is not readable. Update the pattern for
10195 matching address 0x0 in expected output.
10196
e0e5e971
AB
101972018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10198
10199 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10200 malloc/free.
10201
1ea5da02
TV
102022018-07-04 Tom de Vries <tdevries@suse.de>
10203
10204 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10205
471b9d15
MR
102062018-07-02 Maciej W. Rozycki <macro@mips.com>
10207
10208 PR tdep/8282
10209 * gdb.arch/mips-disassembler-options.exp: New test.
10210 * gdb.arch/mips-disassembler-options.s: New test source.
10211
75acb486
PA
102122018-06-29 Pedro Alves <palves@redhat.com>
10213
10214 * gdb.threads/names.exp: Adjust expected "info threads" output.
10215
cd2bb709
PA
102162018-06-29 Pedro Alves <palves@redhat.com>
10217
10218 * gdb.opt/inline-break.exp (line number, address): Add "info
10219 break" tests.
10220
991ff292
PA
102212018-06-29 Pedro Alves <palves@redhat.com>
10222
10223 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10224 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10225 number and address and running to them.
10226
356819b6 102272018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
10228
10229 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10230
2512d7ef
JK
102312018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10232
10233 * lib/compiler.c: Remove executable permission flag.
10234
be1b6474
RB
102352018-06-28 Richard Bunt <richard.bunt@arm.com>
10236
10237 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10238 code.
10239 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10240
291f9a96
PT
102412018-06-28 Petr Tesarik <ptesarik@suse.cz>
10242
10243 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10244
ed6dfe51
PT
102452018-06-28 Petr Tesarik <ptesarik@suse.cz>
10246
10247 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10248 address argument is omitted.
10249
d4d429d5
PT
102502018-06-28 Petr Tesarik <ptesarik@suse.cz>
10251
10252 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10253
7ab6656f
OJ
102542018-06-27 Omair Javaid <omair.javaid@linaro.org>
10255
10256 PR gdb/21695
10257 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10258 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10259
a33ccfc7
TT
102602018-06-26 Tom Tromey <tom@tromey.com>
10261
10262 PR rust/22574:
10263 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10264 * gdb.rust/simple.rs (struct SimpleLayout): New.
10265
6d72d289
SM
102662018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10267
10268 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10269 "info registers" output.
10270
8363f9d5
RB
102712018-06-21 Richard Bunt <richard.bunt@arm.com>
10272
10273 * gdb.base/watchpoint-hw-attach.c: New test.
10274 * gdb.base/watchpoint-hw-attach.exp: New file.
10275
f00674fe
SM
102762018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10277
10278 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10279 through /bin/sh.
10280 * boards/dwarf4-gdb-index.exp: Likewise.
10281 * boards/fission-dwp.exp: Likewise.
10282
1d554008
UW
102832018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10284
10285 * gdb.base/float128.exp: Add comment and improved fail message
10286 to the failure case of "print large128" test.
10287
d0ac1c44
SM
102882018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10289
10290 * configure.ac: Remove AC_PREREQ.
10291 * configure: Re-generate.
10292
61b04dd0
PA
102932018-06-19 Pedro Alves <palves@redhat.com>
10294
10295 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10296 (func_extern_caller): New.
10297 (main): Call func_extern_caller.
10298 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10299 logic change.
10300
f63b508a
SM
103012018-06-18 Weimin Pan <weimin.pan@oracle.com>
10302
10303 PR gdb/16841
10304 * gdb.cp/typedef-base.cc: New file.
10305 * gdb.cp/typedef-base.exp: New file.
10306
0fe3a558
TV
103072018-06-18 Tom de Vries <tdevries@suse.de>
10308
10309 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10310
7010835a
AB
103112018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10312 Richard Bunt <Richard.Bunt@arm.com>
10313
10314 * gdb.threads/attach-slow-waitpid.c: New file.
10315 * gdb.threads/attach-slow-waitpid.exp: New file.
10316 * gdb.threads/slow-waitpid.c: New file.
10317
14897d65
PA
103182018-06-14 Pedro Alves <palves@redhat.com>
10319
10320 * gdb.base/fork-running-state.c: Include <errno.h>.
10321 (exit_if_relative_exits): New.
10322 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10323 exits.
10324 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10325 child exits.
10326
5d9a0608
TV
103272018-06-14 Tom de Vries <tdevries@suse.de>
10328
10329 PR cli/22573
10330 * gdb.base/finish-pretty.c: New test.
10331 * gdb.base/finish-pretty.exp: New file.
10332
11ae5818
PA
103332018-06-14 Pedro Alves <palves@redhat.com>
10334
10335 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10336 gdb's expected startup output.
10337
1d39de44
PA
103382018-06-14 Pedro Alves <palves@redhat.com>
10339
10340 * lib/selftest-support.exp (selftest_setup): Remove inlined
10341 function handling.
10342
70ee0000
TV
103432018-06-14 Tom de Vries <tdevries@suse.de>
10344
10345 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10346 matching of breakpoint printing.
10347
11f4b608
TV
103482018-06-13 Tom de Vries <tdevries@suse.de>
10349
10350 PR testsuite/23269
10351 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10352 (fork_child): ... here, and ...
10353 (fork_parent): ... here.
10354
103552018-06-12 Tom de Vries <tdevries@suse.de>
10356
10357 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10358
9516f85a
AB
103592018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10360 Stephen Roberts <stephen.roberts@arm.com>
10361
10362 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10363 rewrite test to describe action performed, rather than possible
10364 failure.
10365
5045b3d7
GB
103662018-06-08 Gary Benson <gbenson@redhat.com>
10367
10368 * gdb.threads/check-libthread-db.exp: New file.
10369 * gdb.threads/check-libthread-db.c: Likewise.
10370
c61b06a1
TT
103712018-06-05 Tom Tromey <tom@tromey.com>
10372
10373 * gdb.base/default.exp: Update expected "show version" output.
10374
eb6af809
TT
103752018-06-05 Tom Tromey <tom@tromey.com>
10376
10377 PR cli/12326:
10378 * gdb.cp/static-print-quit.exp: Update.
10379 * lib/gdb.exp (pagination_prompt): Update.
10380 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10381 * gdb.python/python.exp: Update.
10382
178d6a63
JB
103832018-06-04 Joel Brobecker <brobecker@adacore.com>
10384
10385 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10386
8e817061
JB
103872018-06-01 Joel Brobecker <brobecker@adacore.com>
10388
10389 * gdb.ada/bp_fun_addr: New testcase.
10390
e86ca25f
TT
103912018-06-01 Tom Tromey <tom@tromey.com>
10392
10393 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10394 results.
10395 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10396 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10397 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10398 * gdb.base/maint.exp (maint_pass_if): Update.
10399
4b2dfa9d
MR
104002018-05-31 Maciej W. Rozycki <macro@mips.com>
10401
10402 * gdb.base/endian.exp: New test.
10403 * gdb.base/endian.c: New test source.
10404
45f25d6c
AB
104052018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10406
10407 PR gdb/23203
10408 * gdb.base/bt-selected-frame.c: New file.
10409 * gdb.base/bt-selected-frame.exp: New file.
10410 * lib/gdb.exp (get_current_frame_number): New function.
10411
d9f6d7f8
MR
104122018-05-24 Maciej W. Rozycki <macro@mips.com>
10413 Pedro Alves <palves@redhat.com>
10414
10415 * gdb.threads/tls-core.c: Include <stdlib.h>
10416 (thread_proc): Call `abort'.
10417 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10418 (tls_core_test): New procedure, bits factored out from ...
10419 (top level): ... here. Test both native cores and gcore cores.
10420
ff1cf532
TT
104212018-05-23 Tom Tromey <tom@tromey.com>
10422
10423 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10424
b98664d3
TT
104252018-05-23 Tom Tromey <tom@tromey.com>
10426
10427 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10428 symfile_complaints.
10429 (test_short_complaints): Likewise.
10430 (test_empty_complaints): Likewise.
10431 (test_initial_complaints): Update.
10432
4e9668d0
TT
104332018-05-23 Tom Tromey <tom@tromey.com>
10434
10435 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10436
43ba33c7
TT
104372018-05-23 Tom Tromey <tom@tromey.com>
10438
10439 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10440 (test_short_complaints): Update.
10441
035522c0
PA
104422018-05-22 Pedro Alves <palves@redhat.com>
10443
10444 * gdb.base/remote.exp: Only gdb_start after compiling the
10445 testcase. Issue "disconnect" before testing "set remote" command
10446 defaults. Issue clean_restart before running to main.
10447
cc0be08f
PA
104482018-05-22 Pedro Alves <palves@redhat.com>
10449
10450 * gdb.base/remote.exp: Adjust expected output of "show remote
10451 memory-write-packet-size". Add tests for "set remote
10452 memory-write-packet-size 0" and "set remote
10453 memory-write-packet-size fixed/limit".
10454
b1b60145
PA
104552018-05-22 Pedro Alves <palves@redhat.com>
10456
10457 PR gdb/22973
10458 * gdb.base/utf8-identifiers.c: New file.
10459 * gdb.base/utf8-identifiers.exp: New file.
10460
0ec848ad
PFC
104612018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10462
10463 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10464
2c3305f6
PFC
104652018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10466
10467 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10468
ce1e8424
TT
104692018-05-18 Tom Tromey <tom@tromey.com>
10470
10471 * gdb.base/ptype-offsets.exp: Update.
10472
ddfe970e
KS
104732018-05-17 Keith Seitz <keiths@redhat.com>
10474
10475 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10476 in expected breakpoint stop locations.
10477 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10478 move to proper scope to test variable values.
10479 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10480 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10481 New functions.
10482 (main): Call not_inline_func3.
10483 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10484 inline_func1, inline_func2, and inline_func3. Test that when each
10485 breakpoint is hit, GDB properly reports both the stop location
10486 and the backtrace. Repeat tests for temporary breakpoints.
10487
0726fcc6
MR
104882018-05-15 Maciej W. Rozycki <macro@mips.com>
10489
10490 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10491 rather then trying to access it in determining whether the PID
10492 of `gdbserver' could have been retrieved.
10493
8ee22052
AB
104942018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10495
10496 * gdb.arch/amd64-init-x87-values.S: New file.
10497 * gdb.arch/amd64-init-x87-values.exp: New file.
10498
7785df48
JK
104992018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10500
10501 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10502
56bcdbea
TT
105032018-05-04 Tom Tromey <tom@tromey.com>
10504
10505 PR python/22730:
10506 * gdb.python/python.exp: Test multi-line execute.
10507
a913fffb
TT
105082018-05-04 Tom Tromey <tom@tromey.com>
10509
10510 PR python/22731:
10511 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10512
7a2c85f2
TT
105132018-05-04 Tom Tromey <tom@tromey.com>
10514
10515 PR gdb/11750:
10516 * gdb.base/define.exp: Test defining a user command inside a user
10517 command.
10518 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10519
a3b60e45
JK
105202018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10521 Pedro Alves <palves@redhat.com>
10522
10523 PR breakpoints/19806 and support for PR external/20207.
10524 * gdb.base/watchpoint-unaligned.c: New file.
10525 * gdb.base/watchpoint-unaligned.exp: New file.
10526
45fe4a03
AB
105272018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10528
10529 * gdb.base/maint.exp: Make test names unique, use
10530 test_prefix_command_help to test 'help maint info', and remove
10531 repeated test of 'help maint'.
10532
9be2ae8f
TT
105332018-05-04 Tom Tromey <tom@tromey.com>
10534
10535 PR gdb/22619:
10536 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10537 behavior.
10538
11859c31
AB
105392018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10540
10541 * gdb.base/maint.exp: Process output from 'maint print registers'
10542 line at a time.
10543
089a9490
AB
105442018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10545
10546 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10547 timeout.
10548
9b0797e2
AB
105492018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10550
10551 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10552 filter pattern.
10553
f6ac5f3d
PA
105542018-05-02 Pedro Alves <palves@redhat.com>
10555
10556 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10557 to_log_command renames.
10558 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10559
77d3c63b
TT
105602018-05-02 Tom Tromey <tom@tromey.com>
10561
10562 * gdb.python/py-parameter.exp: Set test message.
10563
0489430a
TT
105642018-05-02 Tom Tromey <tom@tromey.com>
10565
10566 PR python/20084:
10567 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10568 PARAM_ZUINTEGER_UNLIMITED tests.
10569
1632f8ba
DR
105702018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10571
10572 PR rust/23124
10573 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10574 when casting.
10575
6d7bb824
TT
105762018-04-30 Tom Tromey <tom@tromey.com>
10577
10578 * gdb.python/py-type.exp: Check align attribute.
10579 * gdb.python/py-type.c: New "aligncheck" global.
10580
007e1530
TT
105812018-04-30 Tom Tromey <tom@tromey.com>
10582
10583 PR exp/17095:
10584 * gdb.dwarf2/dw2-align.exp: New file.
10585 * gdb.cp/align.exp: New file.
10586 * gdb.base/align.exp: New file.
10587 * lib/gdb.exp (gdb_int128_helper): New proc.
10588 (has_int128_c, has_int128_cxx): New caching procs.
10589
6873858b
TT
105902018-04-27 Tom Tromey <tom@tromey.com>
10591
10592 PR rust/22545:
10593 * gdb.rust/simple.exp: Add inclusive range tests.
10594
79188d8d
PA
105952018-04-26 Pedro Alves <palves@redhat.com>
10596
10597 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10598 ifunc breakpoint locations correctly of ifunc breakpoints set
10599 while the program resolves the ifunc.
10600
c7075ad5
PA
106012018-04-26 Pedro Alves <palves@redhat.com>
10602
10603 * gdb.base/gnu-ifunc-final.c: New file.
10604 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10605 * gdb.base/gnu-ifunc.exp (executable): Delete.
10606 (staticexecutable): Adjust.
10607 (lib_opts, exec_opts): Delete.
10608 (make_binsuffix, build, set-break): New procedures.
10609 (misc_tests): New, with tests factored out from the top level.
10610 (top level): Test different combinations of ifunc resolver name,
10611 resolver with and with debug info, and ifunc target with and
10612 without debug info. Wrap static tests with with_target_prefix.
10613
8388016d
PA
106142018-04-26 Pedro Alves <palves@redhat.com>
10615
10616 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10617 return type" warnings.
10618
249b5733
PA
106192018-04-25 Pedro Alves <palves@redhat.com>
10620
10621 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10622 killed".
10623 * gdb.base/kill-after-signal.exp: Likewise.
10624 * gdb.threads/kill.exp: Likewise.
10625
f67c0c91
SDJ
106262018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10627 Sergio Durigan Junior <sergiodj@redhat.com>
10628 Pedro Alves <palves@redhat.com>
10629
10630 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10631 regexps to expect for '[Inferior ... detached]' as well.
10632 * gdb.base/attach.exp: Likewise.
10633 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10634 "gdb_continue_to_end".
10635 (test_catch_syscall_with_wrong_args): Likewise.
10636 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10637 ']'. Don't set 'verbose' on.
10638 * gdb.base/foll-vfork.exp: Likewise.
10639 * gdb.base/fork-print-inferior-events.c: New file.
10640 * gdb.base/fork-print-inferior-events.exp: New file.
10641 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10642 '[Inferior ... has been killed]' message.
10643 * gdb.base/kill-after-signal.exp: Likewise.
10644 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10645 detach message.
10646 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10647 message.
10648 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10649 regexps to expect for '[Inferior ... detached]' as well.
10650 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10651
0a8ddac4
SM
106522018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10653
10654 PR gdb/23104
10655 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10656
701adfb0
PA
106572018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10658
10659 PR gdb/23095
10660 * gdb.base/break-probes.exp: Pass shlib_load to
10661 prepare_for_testing. Set normal_bp to r_debug_state if target is
10662 bsd.
10663
d27d16bf
RB
106642018-04-19 Richard Bunt <richard.bunt@arm.com>
10665
10666 * gdb.threads/multiple-successive-infcall.c: New test.
10667 * gdb.threads/multiple-successive-infcall.exp: New file.
10668
a037790e
TT
106692018-04-17 Tom Tromey <tom@tromey.com>
10670
10671 * gdb.rust/simple.rs (Union): New type.
10672 (main): New local "u".
10673 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10674
e3a91079
AA
106752018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10676
10677 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10678 number information in output of "whereis" command.
10679 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10680
b744723f
AA
106812018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10682
10683 * gdb.ada/info_types.exp: Adjust expected output to the line
10684 numbers now printed by "info var/func/type".
10685 * gdb.base/completion.exp: Likewise.
10686 * gdb.base/included.exp: Likewise.
10687 * gdb.cp/cp-relocate.exp: Likewise.
10688 * gdb.cp/cplusfuncs.exp: Likewise.
10689 * gdb.cp/namespace.exp: Likewise.
10690 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10691
4a4495d6
MM
106922018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10693
10694 * gdb.btrace/cpu.exp: New.
10695
1d509aa6
MM
106962018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10697
10698 * gdb.base/step-indirect-call-thunk.exp: New.
10699 * gdb.base/step-indirect-call-thunk.c: New.
10700 * gdb.reverse/step-indirect-call-thunk.exp: New.
10701 * gdb.reverse/step-indirect-call-thunk.c: New.
10702
6295b6da
SM
107032018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10704
10705 * gdb.base/pie-fork.c: New file.
10706 * gdb.base/pie-fork.exp: New file.
10707
50146e70
TT
107082018-04-11 Tom Tromey <tom@tromey.com>
10709
10710 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10711
f50d8a2e
PA
107122018-04-10 Pedro Alves <palves@redhat.com>
10713
10714 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10715 exits. Instead loop running forever.
10716 (fork_parent): Run forever too.
10717
a0be7a36
SM
107182018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10719
10720 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10721 mi_continue_to_line.
10722 * gdb.mi/mi-stack.c (callee4): Add comment.
10723
9b73db36
SM
107242018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10725
10726 * gdb.mi/mi-stack.exp: Fix indentation.
10727
c912f608
SM
107282018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10729
10730 PR gdb/22979
10731 * gdb.arch/amd64-osabi.exp: New file.
10732
26540402
SM
107332018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10734
10735 PR gdb/22980
10736 * gdb.base/osabi.exp: New file.
10737
121ad66c 107382018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10739
10740 * gdb.cp/static-typedef-print.exp: New file.
10741 * gdb.cp/static-typedef-print.cc: New file.
10742
3fcded8f
JB
107432018-03-27 Joel Brobecker <brobecker@adacore.com>
10744
10745 * gdb.ada/varsize_limit: New testcase.
10746
59cc4834
JB
107472018-03-27 Joel Brobecker <brobecker@adacore.com>
10748
10749 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10750
10751 * gdb.ada/notcplusplus: New testcase.
10752
10753 * gdb.base/c-linkage-name.c: New file.
10754 * gdb.base/c-linkage-name.exp: New testcase.
10755
4ca59a9f
TT
107562018-03-26 Tom Tromey <tom@tromey.com>
10757
10758 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10759 * gdb.python/py-framefilter.py (name_error): New global.
10760 (ErrorInName.function): Use name_error.
10761
978d6c75
TT
107622018-03-26 Tom Tromey <tom@tromey.com>
10763
10764 PR backtrace/15582:
10765 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10766
b7fee5a3
KS
107672018-03-23 Keith Seitz <keiths@redhat.com>
10768
10769 PR c++/22968
10770 * gdb.cp/subtypes.exp: New file.
10771 * gdb.cp/subtypes.h: New file.
10772 * gdb.cp/subtypes.cc: New file.
10773 * gdb.cp/subtypes-2.cc: New file.
10774
376be529
AB
107752018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10776
10777 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10778 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10779 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10780 -nostartfiles when compiling the test. Confirm that all registers
10781 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10782
066cfa98
AB
107832018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10784
10785 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10786 option, syntax was wrong anyway.
10787 * gdb.arch/arm-disp-step.exp: Likewise.
10788 * gdb.arch/sparc64-regs.exp: Likewise.
10789 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10790 option, syntax was wrong anyway, switch to use
10791 prepare_for_testing.
10792 * gdb.arch/i386-disp-step.exp: Likewise.
10793
079670b9
AA
107942018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10795
10796 * gdb.ada/exec_changed.exp: Replace "target_info exists
10797 use_gdb_stub" by "use_gdb_stub".
10798 * gdb.ada/start.exp: Likewise.
10799 * gdb.base/async-shell.exp: Likewise.
10800 * gdb.base/attach-pie-misread.exp: Likewise.
10801 * gdb.base/attach-wait-input.exp: Likewise.
10802 * gdb.base/break-entry.exp: Likewise.
10803 * gdb.base/break-interp.exp: Likewise.
10804 * gdb.base/dprintf-detach.exp: Likewise.
10805 * gdb.base/nostdlib.exp: Likewise.
10806 * gdb.base/solib-nodir.exp: Likewise.
10807 * gdb.base/statistics.exp: Likewise.
10808 * gdb.base/testenv.exp: Likewise.
10809 * gdb.mi/mi-exec-run.exp: Likewise.
10810 * gdb.mi/mi-start.exp: Likewise.
10811 * gdb.multi/dummy-frame-restore.exp: Likewise.
10812 * gdb.multi/multi-arch-exec.exp: Likewise.
10813 * gdb.multi/multi-arch.exp: Likewise.
10814 * gdb.multi/tids.exp: Likewise.
10815 * gdb.multi/watchpoint-multi.exp: Likewise.
10816 * gdb.python/py-events.exp: Likewise.
10817 * gdb.threads/attach-into-signal.exp: Likewise.
10818 * gdb.threads/attach-stopped.exp: Likewise.
10819 * gdb.threads/threadapply.exp: Likewise.
10820 * lib/selftest-support.exp: Likewise.
10821
26d6cec4
AA
108222018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10823
10824 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10825
4ee89e90
SR
108262018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10827
10828 * gdb.perf/template-breakpoints.cc: New file.
10829 * gdb.perf/template-breakpoints.exp: New file.
10830 * gdb.perf/template-breakpoints.py: New file.
10831
92630041
TT
108322018-03-19 Tom Tromey <tom@tromey.com>
10833
10834 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10835 y0.
10836 * gdb.rust/simple.exp: Test bare identifier form of struct
10837 initializer.
10838
76727919
TT
108392018-03-19 Tom Tromey <tom@tromey.com>
10840
10841 * gdb.gdb/observer.exp: Remove.
10842
194ed413
AA
108432018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10844
10845 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10846 "qualified" option when setting breakpoints.
10847 * gdb.trace/backtrace.exp: Likewise.
10848 * gdb.trace/circ.exp: Likewise.
10849 * gdb.trace/collection.exp: Likewise.
10850 * gdb.trace/disconnected-tracing.exp: Likewise.
10851 * gdb.trace/ftrace-lock.exp: Likewise.
10852 * gdb.trace/ftrace.exp: Likewise.
10853 * gdb.trace/infotrace.exp: Likewise.
10854 * gdb.trace/packetlen.exp: Likewise.
10855 * gdb.trace/passc-dyn.exp: Likewise.
10856 * gdb.trace/qtro.exp: Likewise.
10857 * gdb.trace/read-memory.exp: Likewise.
10858 * gdb.trace/report.exp: Likewise.
10859 * gdb.trace/signal.exp: Likewise.
10860 * gdb.trace/status-stop.exp: Likewise.
10861 * gdb.trace/strace.exp: Likewise.
10862 * gdb.trace/tfind.exp: Likewise.
10863 * gdb.trace/trace-break.exp: Likewise.
10864 * gdb.trace/trace-condition.exp: Likewise.
10865 * gdb.trace/trace-mt.exp: Likewise.
10866 * gdb.trace/tstatus.exp: Likewise.
10867 * gdb.trace/tsv.exp: Likewise.
10868 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10869 * gdb.trace/unavailable.exp: Likewise.
10870 * gdb.trace/while-dyn.exp: Likewise.
10871
8b067d2c
AA
108722018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10873
10874 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10875 that libinproctrace is copied to the target.
10876
3ae9ce5d
TT
108772018-03-14 Tom Tromey <tom@tromey.com>
10878
10879 PR cli/14977:
10880 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10881 a null pointer.
10882 * gdb.base/wchar.exp: Likewise.
10883
b8c2339b
TT
108842018-03-14 Tom Tromey <tom@tromey.com>
10885
10886 PR cli/19918:
10887 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10888 flag.
10889
4872dc46
SM
108902018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10891
10892 PR gdb/22841
10893 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10894 "target" to remote_exec.
10895
e4fe3756
SM
108962018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10897
10898 PR gdb/22841
10899 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10900 ${board}_upload): Remove.
10901
e95a97d4
AA
109022018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10903
10904 * gdb.cp/watch-cp.cc: New test.
10905 * gdb.cp/watch-cp.exp: New file.
10906
dbbb1059
AB
109072018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10908
10909 * gdb.base/infcall-nested-structs.exp: New file.
10910 * gdb.base/infcall-nested-structs.c: New file.
10911 * gdb.base/float.exp: Add riscv support.
10912
ecc054c0
TP
109132018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10914
10915 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10916 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10917
25e3c82c
SDJ
109182018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10919
10920 * gdb.server/abspath.exp: New file.
10921 * lib/gdb.exp (with_cwd): New procedure.
10922
3083294d
SM
109232018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10924
10925 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10926 use it.
10927 (gdb_is_target_remote_prompt): New proc.
10928 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10929 (gdb_is_target_native): Pass prompt parameter to
10930 gdb_is_target_1.
10931
3275ef47
SM
109322018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10933
10934 * gdb.base/load-command.c: New file.
10935 * gdb.base/load-command.exp: New file.
10936 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10937 (gdb_is_target_1): ...this, and generalize for other targets
10938 than just remote.
10939 (gdb_is_target_remote): Use gdb_is_target_1.
10940 (gdb_is_target_native): use gdb_is_target_1.
10941
6893c19a
TT
109422018-02-26 Tom Tromey <tom@tromey.com>
10943
10944 PR python/16497:
10945 * gdb.python/py-framefilter.exp: Update test.
10946
2ddeaf8a
TT
109472018-02-26 Tom Tromey <tom@tromey.com>
10948
10949 * gdb.dwarf2/variant.c: New file.
10950 * gdb.dwarf2/variant.exp: New file.
10951
c9317f21
TT
109522018-02-26 Tom Tromey <tom@tromey.com>
10953
10954 * gdb.rust/simple.exp: Accept more possible results in enum test.
10955
6f6d0c26
SM
109562018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10957
10958 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10959 parentheses.
10960
11b03145
MR
109612018-02-23 Maciej W. Rozycki <macro@mips.com>
10962
10963 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10964 name of a variable: $actual_linejj -> $actual_line.
10965
54a27fe5
JB
109662018-02-21 John Baldwin <jhb@FreeBSD.org>
10967
10968 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10969
de65820c
MM
109702018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10971
10972 * gdb.btrace/buffer-size.exp: Do not force BTS.
10973
980548fd
PA
109742018-02-14 Pedro Alves <palves@redhat.com>
10975
10976 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10977 getting a "Quit".
10978
c4e12631
MM
109792018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10980
10981 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10982 Fix test name.
10983
c2e0e465
SM
109842018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10985
10986 * gdb.cp/m-static.exp: Check type of optimized out static
10987 member.
10988
f7216783
AB
109892018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10990
10991 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10992 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10993
0625771b
LS
109942018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10995 Leszek Swirski <leszeks@google.com>
10996
10997 * gdb.python/py-prettyprint.c
10998 (struct to_string_returns_value_inner,
10999 struct to_string_returns_value_wrapper): New.
11000 (main): Add tsrvw variable.
11001 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
11002 ToStringReturnsValueWrapper): New classes.
11003 (register_pretty_printers): Register new pretty-printers.
11004 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
11005 recursive pretty printer.
11006 * gdb.python/py-mi.exp: Likewise.
11007
59498c30
LS
110082018-02-01 Leszek Swirski <leszeks@google.com>
11009
11010 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
11011 functions with the same name as an include file are parsed
11012 correctly.
11013
d4d38844
YQ
110142018-02-01 Yao Qi <yao.qi@linaro.org>
11015
11016 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
11017 "\[^\r\n\]*".
11018
07e5f5cf
NP
110192018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
11020
11021 * gdb.arch/powerpc-prologue-frame.s: New file.
11022 * gdb.arch/powerpc-prologue-frame.c: Likewise.
11023 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
11024
929b5ad4
JB
110252018-01-31 Joel Brobecker <brobecker@adacore.com>
11026
11027 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
11028
e671cd59
PA
110292018-01-30 Pedro Alves <palves@redhat.com>
11030
11031 PR gdb/13211
11032 * gdb.base/interrupt-daemon.c: New.
11033 * gdb.base/interrupt-daemon.exp: New.
11034 * gdb.multi/multi-term-settings.c: New.
11035 * gdb.multi/multi-term-settings.exp: New.
11036
fc413dc4
JB
110372018-01-30 Joel Brobecker <brobecker@adacore.com>
11038
11039 * gdb.base/break.exp: Save the location where the breakpoint
11040 on break.c:47 was actually inserted when debugging the version
11041 compiled at -O2 and use it in the expected output of the "info
11042 break" test performed soon after.
11043
5c319bb2
PA
110442018-01-22 Pedro Alves <palves@redhat.com>
11045 Sergio Durigan Junior <sergiodj@redhat.com>
11046
11047 * gdb.base/whatis.exp: Add tests for 'set print object on' +
11048 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
11049
a9e40818
JB
110502018-01-22 Joel Brobecker <brobecker@adacore.com>
11051
11052 * gdb.base/break-include.c, gdb.base/break-include.inc,
11053 gdb.base/break-include.exp: New files.
11054 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
11055 line number now being the actual line number where the breakpoint
11056 was inserted.
11057 * gdb.mi/mi-break.exp: Likewise.
11058 * gdb.mi/mi-reverse.exp: Likewise.
11059 * gdb.mi/mi-simplerun.exp: Ditto.
11060
e707fc44
AB
110612018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11062
11063 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
11064 varobj.
11065 * gdb.mi/mi-var-create-rtti.exp: Likewise.
11066
ae451627
AB
110672018-01-21 Don Breazeal <donb@codesourcery.com>
11068 Andrew Burgess <andrew.burgess@embecosm.com>
11069
11070 * gdb.mi/basics.c: Add new global.
11071 * gdb.mi/mi-frame-regs.exp: New file.
11072 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
11073 case.
11074
b1b189e0
AB
110752018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11076
11077 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11078 non-parameter, and on an unknown symbol.
11079
fcfcc376
TT
110802018-01-19 Tom Tromey <tom@tromey.com>
11081
11082 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11083 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11084
634c1c31
AA
110852018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11086
11087 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11088 setrlimit and chdir to int.
11089
d6ad07fd
AA
110902018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11091
11092 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11093 function.
11094 (my_tend): Likewise.
11095 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11096 rationale of avoiding FP- and vector instructions.
11097
adf8243b
RK
110982018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11099
11100 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11101 "info reg" with "\[ \t\]*".
11102 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11103 "\[ \t\]+".
11104 * gdb.arch/s390-multiarch.exp: Ditto.
11105 * gdb.base/pc-fp.exp: Ditto.
11106 * gdb.reverse/i386-precsave.exp: Ditto.
11107 * gdb.reverse/i386-reverse.exp: Ditto.
11108 * gdb.reverse/i387-env-reverse.exp: Ditto.
11109 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11110
dcc06925
AA
111112018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11112
11113 * lib/gdb.exp (gdb_compile): Re-enable use of
11114 universal_compile_options for languages other than Rust.
11115
25d4fd80
AA
111162018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11117
11118 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11119
ee7f689e 111202018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
11121
11122 PR gdb/16577
11123 * gdb.base/solib-vanish.exp: New.
11124 * gdb.base/solib-vanish-main.c: New.
11125 * gdb.base/solib-vanish-lib1.c: New.
11126 * gdb.base/solib-vanish-lib2.c: New.
11127
d8447b6b
YQ
111282018-01-17 Yao Qi <yao.qi@linaro.org>
11129
11130 * gdb.compile/compile.exp: Match the address printed for
11131 frame in the output of command "bt".
11132
86d6a90c
TT
111332018-01-15 Tom Tromey <tom@tromey.com>
11134
11135 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11136 compute sp_reg.
11137
cbcdb1aa
AB
111382018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11139
11140 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11141 to prepare.
11142 (prepare): Return 0 on error, 1 on success.
11143
eea61984
PA
111442018-01-12 Pedro Alves <palves@redhat.com>
11145
11146 * gdb.base/continue-after-aborted-step-over.c: New.
11147 * gdb.base/continue-after-aborted-step-over.exp: New.
11148
6181e9c2
SM
111492018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11150
11151 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11152 options when not creating an executable.
11153
3cada740
PA
111542018-01-11 Pedro Alves <palves@redhat.com>
11155
11156 PR remote/22597
11157 * gdb.server/stop-reply-no-thread.c: New file.
11158 * gdb.server/stop-reply-no-thread.exp: New file.
11159
c63d3e8d
PA
111602018-01-10 Pedro Alves <palves@redhat.com>
11161
11162 PR gdb/22670
11163 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11164 functions too. Test setting breakpoints and printing C functions
11165 with no debug info too.
11166 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11167
d4c2a405
PA
111682018-01-10 Pedro Alves <palves@redhat.com>
11169
11170 PR gdb/22670
11171 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11172 a fail.
11173
8825213e
PA
111742018-01-10 Pedro Alves <palves@redhat.com>
11175
11176 PR gdb/22670
11177 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11178
605fd3c6
YQ
111792018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11180
11181 * gdb.server/unittest.exp: Match the output in non-development
11182 mode.
11183
1e5ded6c
YQ
111842018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11185
11186 * gdb.gdb/unittest.exp: Match output in non-development mode.
11187
30066b0b
JB
111882018-01-08 Joel Brobecker <brobecker@adacore.com>
11189
11190 * gdb.ada/access_tagged_param.exp: Relax expected output
11191 for value of "ObjL" in "continue" to pck.inspect breakpoint
11192 test.
11193
04bafb1e
XR
111942018-01-08 Joel Brobecker <brobecker@adacore.com>
11195
9f86398b
JB
11196 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11197 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 11198
e379cee6
PA
111992018-01-05 Pedro Alves <palves@redhat.com>
11200
11201 PR gdb/18653
11202 * gdb.base/libsegfault.exp: New.
11203
de63c46b
PA
112042018-01-05 Joel Brobecker <brobecker@adacore.com>
11205
11206 PR gdb/22670
11207 * gdb.ada/access_tagged_param.exp: New file.
11208 * gdb.ada/access_tagged_param/foo.adb: New file.
11209
f98fc17b
PA
112102018-01-05 Pedro Alves <palves@redhat.com>
11211
11212 PR gdb/22670
11213 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11214 exercise lower case too, and to exercise both full matching and
11215 wild matching.
11216
342f8240
JB
112172018-01-05 Joel Brobecker <brobecker@adacore.com>
11218
11219 * gdb.ada/rename_subscript_param: New testcase.
11220
7150d33c
JG
112212018-01-05 Jerome Guitton <guitton@adacore.com>
11222
11223 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11224
cc0e770c
JB
112252018-01-05 Joel Brobecker <brobecker@adacore.com>
11226
11227 * gdb.ada/convvar_comp: New testcase.
11228
672a41aa 112292018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
11230
11231 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11232 (My_Table): New global variable.
11233 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11234
7365ec2f
JB
112352018-01-04 Joel Brobecker <brobecker@adacore.com>
11236
11237 PR gdb/22670
11238 * gdb.ada/maint_with_ada: New testcase.
11239
289483b6
JB
112402018-01-04 Joel Brobecker <brobecker@adacore.com>
11241
11242 PR gdb/22670
11243 * gdb.ada/bp_c_mixed_case: New testcase.
11244
344420da
JB
112452018-01-04 Joel Brobecker <brobecker@adacore.com>
11246
11247 PR gdb/22670
11248 * gdb.ada/complete.exp: Add "complete break ada" test.
11249
66fc87a0
JB
112502018-01-04 Joel Brobecker <brobecker@adacore.com>
11251
11252 PR gdb/22670
11253 * gdb.ada/info_addr_mixed_case: New testcase.
11254
9f757bf7
XR
112552018-01-03 Xavier Roirand <roirand@adacore.com>
11256
11257 * gdb.ada/excep_handle.exp: New testcase.
11258 * gdb.ada/excep_handle/foo.adb: New file.
11259 * gdb.ada/excep_handle/pck.ads: New file.
11260
bd570f80
JB
112612018-01-03 Joel Brobecker <brobecker@adacore.com>
11262
11263 * gdb.base/step-line.c: Add extra empty line in copyright header.
11264 * gdb.base/step-line.inp: Likewise.
11265
9fe561ab
JB
112662018-01-02 Joel Brobecker <brobecker@adacore.com>
11267
11268 * gdb.ada/dyn_stride.exp: Add slice test.
11269
a405673c
JB
112702018-01-02 Joel Brobecker <brobecker@adacore.com>
11271
11272 * gdb.ada/dyn_stride: New testcase.
11273
cef0f868
SH
112742017-12-27 Stafford Horne <shorne@gmail.com>
11275
11276 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11277 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11278
b67d92b0
SH
112792017-12-27 Stafford Horne <shorne@gmail.com>
11280
11281 * gdb.base/reggroups.c: New file.
11282 * gdb.base/reggroups.exp: New file.
11283
eccab96d
JB
112842017-12-18 Joel Brobecker <brobecker@adacore.com>
11285
11286 * gdb.dwarf2/ada-valprint-error.c: New file.
11287 * gdb.dwarf2/ada-valprint-error.exp: New file.
11288
0e2da9f0
JB
112892017-12-18 Joel Brobecker <brobecker@adacore.com>
11290
11291 * gdb.ada/assign_arr: New testcase.
11292
cb923fcc
XR
112932017-12-18 Xavier Roirand <roirand@adacore.com>
11294
11295 * gdb.ada/funcall_ptr: New testcase.
11296
7c161838
SDJ
112972017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11298
11299 PR cli/16224
11300 * gdb.base/ptype-offsets.cc: New file.
11301 * gdb.base/ptype-offsets.exp: New file.
11302
1af17fd9
YQ
113032017-12-15 Yao Qi <yao.qi@linaro.org>
11304
11305 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11306 if XML is disabled.
11307
828d5846
XR
113082017-12-15 Xavier Roirand <roirand@adacore.com>
11309
11310 * gdb.ada/same_component_name: New testcase.
11311
79e8fcaa
JB
113122017-12-14 Joel Brobecker <brobecker@adacore.com>
11313
11314 * gdb.ada/str_binop_equal: New testcase.
11315
e05fa6f9
JB
113162017-12-14 Joel Brobecker <brobecker@adacore.com>
11317
11318 * gdb.ada/task_switch_in_core: New testcase.
11319
b89641ba
SM
113202017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11321
11322 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11323 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11324 call test_bkpt_qualified.
11325 (test_bkpt_qualified): New proc.
11326
6892d2e4
PA
113272017-12-13 Pedro Alves <palves@redhat.com>
11328
11329 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11330 Tighten regexp by matching with an anchor.
11331
a22ecf70
PA
113322017-12-13 Pedro Alves <palves@redhat.com>
11333
11334 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11335 ("expression with namespace"): New set of tests.
11336 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11337 (Nested::Test_NS::qux): New.
11338 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11339 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11340
9937536c
JB
113412017-12-13 Joel Brobecker <brobecker@adacore.com>
11342
11343 * gdb.base/server-del-break.c: New file.
11344 * gdb.base/server-del-break.exp: New file.
11345
fe49c6f5
SH
113462017-12-12 Stafford Horne <shorne@gmail.com>
11347
11348 * gdb.xml/tdesc-regs.exp: Add or1k support.
11349
c3d18620
SH
113502017-12-12 Stafford Horne <shorne@gmail.com>
11351
11352 * gdb.base/bp-permanent.c: Define nop of or1k.
11353
c5f9cfc8
JB
113542017-12-11 Joel Brobecker <brobecker@adacore.com>
11355
11356 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11357 output with components being reordered.
11358
a9c135fc
JB
113592017-12-11 Joel Brobecker <brobecker@adacore.com>
11360
11361 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11362 output with components being reordered.
11363
927aa2e7
JK
113642017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11365 Pedro Alves <palves@redhat.com>
11366
11367 * gdb.base/maint.exp (check for .gdb_index): Check also for
11368 .debug_names.
11369 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11370 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11371 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11372 (.gdb_index used after symbol reloading): Support also .debug_names.
11373 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11374
f17d9474
YQ
113752017-12-08 Yao Qi <yao.qi@linaro.org>
11376
11377 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11378 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11379
a0de8c21
YQ
113802017-12-08 Yao Qi <yao.qi@linaro.org>
11381
11382 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11383 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11384
a738ea1d
YQ
113852017-12-08 Yao Qi <yao.qi@linaro.org>
11386
11387 * gdb.arch/aarch64-tagged-pointer.c: New file.
11388 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11389
1cd9a73b
SDJ
113902017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11391
11392 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11393 "int".
11394
fa6eb693
KS
113952017-12-07 Keith Seitz <keiths@redhat.com>
11396
11397 PR breakpoints/22569
11398 * gdb.linespec/ls-errs.exp: Change expected result of "break
11399 -source this file has spaces.c -line 3".
11400 Check that an explicit source file followed by whitespace is
11401 identified as an invalid explicit location.
11402
883fd55a
KS
114032017-12-07 Keith Seitz <keiths@redhat.com>
11404
11405 * gdb.cp/nested-types.cc: New file.
11406 * gdb.cp/nested-types.exp: New file.
11407 * lib/cp-support.exp: Load data-structures.exp library.
11408 (debug_cp_test_ptype_class): New global.
11409 (cp_ptype_class_verbose, next_line): New procedures.
11410 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11411 Add and document new return value.
11412 Switch the list of lines to a queue.
11413 Add support for new `type' key for nested type definitions.
11414 Add debugging/troubleshooting messages.
11415 * lib/data-structures.exp: New file.
11416
ec72db3e
SM
114172017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11418
11419 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11420 with proc_with_prefix, don't use with_test_prefix.
11421
99598d71
TT
114222017-12-07 Tom Tromey <tom@tromey.com>
11423
11424 * gdb.base/break.exp: Add test for empty "commands".
11425
a8806230
YQ
114262017-12-07 Yao Qi <yao.qi@linaro.org>
11427
11428 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11429 malloc and catch syscall.
11430
824cc835
PM
114312017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11432
e79be6e5 11433 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
11434 tests for explicit locations.
11435
7cc244de
PA
114362017-12-06 Pedro Alves <palves@redhat.com>
11437
11438 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11439 force-disabling XML descriptions.
11440
50a1fdd5
PA
114412017-12-04 Pedro Alves <palves@redhat.com>
11442
11443 PR gdb/22499
11444 * gdb.arch/amd64-disp-step-avx.S: New file.
11445 * gdb.arch/amd64-disp-step-avx.exp: New file.
11446
f0fb2488
PA
114472017-12-03 Pedro Alves <palves@redhat.com>
11448
11449 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11450 and <string.h>.
11451 (parent_function): Print distinct messages when waitpid fails, or
11452 the child exits with a signal, or the child exits for an unhandled
11453 reason.
11454 * gdb.threads/process-dies-while-detaching.exp
11455 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11456 it. Wait for both inferior output and GDB's prompt. Use an
11457 indirect spawn id list.
11458 (do_detach): New parameter 'child_exit'. Use it to compute
11459 expected inferior output.
11460 (test_detach, test_detach_watch, test_detach_killed_outside):
11461 Adjust to pass down the expected child exit kind.
11462
97cbe998
SDJ
114632017-12-01 Joel Brobecker <brobecker@adacore.com>
11464 Sergio Durigan Junior <sergiodj@redhat.com>
11465 Pedro Alves <palves@redhat.com>
11466
11467 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11468
40fc416f
SDJ
114692017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11470
11471 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11472 to 'symbol-file' and 'add-symbol-file' can be
11473 position-independent.
11474
1cc75e92
YQ
114752017-12-01 Yao Qi <yao.qi@linaro.org>
11476
11477 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11478 the URL in copyright header.
11479 * gdb.arch/aarch64-fp.exp: Likewise.
11480 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11481 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11482 * gdb.base/expand-psymtabs.exp: Likewise.
11483 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11484 * gdb.fortran/common-block.exp: Likewise.
11485 * gdb.fortran/common-block.f90: Likewise.
11486 * gdb.fortran/logical.exp: Likewise.
11487 * gdb.fortran/vla-datatypes.f90: Likewise.
11488 * gdb.fortran/vla-sub.f90: Likewise.
11489
875fb7a7
JB
114902017-11-30 Joel Brobecker <brobecker@adacore.com>
11491
11492 * gdb.ada/repeat_dyn: New testcase.
11493
6f14765f
UW
114942017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11495
11496 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11497 Update for changed thread numbering.
11498 * gdb.cell/bt.exp: Update for changed GDB output.
11499
f1af7b94
SM
115002017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11501
11502 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11503 setting isremote by hand.
11504 * boards/dwarf4-gdb-index.exp: Likewise.
11505 * boards/fission.exp: Likewise.
11506 * boards/stabs.exp: Likewise.
11507
e3919f3e
PA
115082017-11-30 Pedro Alves <palves@redhat.com>
11509
11510 * gdb.linespec/cpls-ops.exp
11511 (check_explicit_skips_function_argument): Extract the underlying
11512 type of size_t instead of hardcoding it.
11513
bd69330d
PA
115142017-11-29 Pedro Alves <palves@redhat.com>
11515
11516 PR c++/19436
11517 * gdb.linespec/cpls-abi-tag.cc: New file.
11518 * gdb.linespec/cpls-abi-tag.exp: New file.
11519
a20714ff
PA
115202017-11-29 Pedro Alves <palves@redhat.com>
11521
11522 * gdb.base/langs.exp: Use -qualified.
11523 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11524 it.
11525 * gdb.cp/namespace.exp: Use -qualified.
11526 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11527 (overload-3, template-overload, template-ret-type, const-overload)
11528 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11529 procedures.
11530 (test_driver): Call them.
11531 * gdb.cp/save-bp-qualified.cc: New.
11532 * gdb.cp/save-bp-qualified.exp: New.
11533 * gdb.linespec/explicit.exp: Test -qualified.
11534 * lib/completion-support.exp (completion::explicit_opts_list): Add
11535 "-qualified".
11536 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11537
f6f1d339
PM
115382017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11539
11540 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11541
02ca603a
TT
115422017-11-29 Tom Tromey <tom@tromey.com>
11543
11544 * gdb.base/relocate.exp: Update invalid argument test.
11545 Add new tests for invalid arguments.
11546
ed6c0bfb
TP
115472017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11548
11549 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11550 Return 0 as a long.
11551 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11552
f106e10e
TP
115532017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11554
11555 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11556 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11557 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11558 func ().
11559 * gdb.cp/shadow.cc (B.func): Return 0.
11560
10329bb2
JB
115612017-11-27 Joel Brobecker <brobecker@adacore.com>
11562
11563 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11564 expected output in gdb_expect call to allow the exception
11565 message to be present as well. Fix syntax confusion to avoid
11566 TCL thinking that exception_name is an array.
11567
617cd4bc
UW
115682017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11569
11570 * gdb.arch/spu-info.c: Include <unistd.h>.
11571 (do_signal_test): Fix broken calls to write.
11572 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11573 Fix checks for empty mailboxes. Update signal tests for corrected
11574 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11575 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11576 * gdb.cell/arch.exp: Use standard_output_file.
11577 * gdb.cell/break.exp: Likewise.
11578 * gdb.cell/bt.exp: Likewise.
11579 * gdb.cell/core.exp: Likewise.
11580 * gdb.cell/dwarfaddr.exp: Likewise.
11581 * gdb.cell/ea-cache.exp: Likewise.
11582 * gdb.cell/ea-standalone.exp: Likewise.
11583 * gdb.cell/f-regs.exp: Likewise.
11584 * gdb.cell/fork.exp: Likewise.
11585 * gdb.cell/gcore.exp: Likewise.
11586 * gdb.cell/mem-access.exp: Likewise.
11587 * gdb.cell/ptype.exp: Likewise.
11588 * gdb.cell/registers.exp: Likewise.
11589 * gdb.cell/sizeof.exp: Likewise.
11590 * gdb.cell/solib-symbol.exp: Likewise.
11591 * gdb.cell/solib.exp: Likewise.
617cd4bc 11592
a81aaca0
PA
115932017-11-25 Pedro Alves <palves@redhat.com>
11594
11595 * gdb.base/complete-empty.exp: New file.
11596 * gdb.base/completion.exp: Adjust.
11597
6a3c6ee4
PA
115982017-11-25 Pedro Alves <palves@redhat.com>
11599
11600 * gdb.linespec/cpls-ops.cc: New file.
11601 * gdb.linespec/cpls-ops.exp: New file.
11602 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11603 factored out from ...
11604 (test_complete_prefix_range): ... this.
11605
8955eb2d
PA
116062017-11-24 Pedro Alves <palves@redhat.com>
11607
11608 * gdb.linespec/cpcompletion.exp: New file.
11609 * gdb.linespec/cpls-hyphen.cc: New file.
11610 * gdb.linespec/cpls.cc: New file.
11611 * gdb.linespec/cpls2.cc: New file.
11612 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11613 test to use test_gdb_complete_unique. Add label completion,
11614 keyword completion and explicit location completion tests.
11615 * lib/completion-support.exp: New file.
11616
e547c119
JB
116172017-11-24 Joel Brobecker <brobecker@adacore.com>
11618
11619 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11620 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11621 when hitting an exception catchpoint.
11622
7c3c1aa8
YQ
116232017-11-22 Yao Qi <yao.qi@linaro.org>
11624
11625 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11626
41bd68f5
SM
116272017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11628
11629 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11630 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11631 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11632
1daad298
YQ
116332017-11-22 Yao Qi <yao.qi@linaro.org>
11634
11635 * gdb.base/info-os.exp: Pass pthreads.
11636 * gdb.multi/multi-attach.exp: Likewise.
11637
88465e87
YQ
116382017-11-22 Yao Qi <yao.qi@linaro.org>
11639
11640 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11641 compiler.
11642
dc196b23
YQ
116432017-11-22 Yao Qi <yao.qi@linaro.org>
11644
11645 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11646 * gdb.base/break-interp.exp: Likewise.
11647 * gdb.base/jit-attach-pie.exp: Likewise.
11648
2400729e
UW
116492017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11650
11651 * gdb.base/float128.c (large128): New variable.
11652 * gdb.base/float128.exp: Add test to print largest __float128 value.
11653
7a26362d
UW
116542017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11655
11656 * gdb.arch/vsx-regs.exp: Update register content checks.
11657
ed0f4273
UW
116582017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11659
11660 * gdb.arch/ppc-longdouble.exp: New file.
11661 * gdb.arch/ppc-longdouble.c: Likewise.
11662
a25d69c6
PA
116632017-11-21 Pedro Alves <palves@redhat.com>
11664
11665 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11666
73fcf641
PA
116672017-11-20 Pedro Alves <palves@redhat.com>
11668
11669 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11670 (long_double_typedef): New typedefs.
11671 Use DEF on double and long double.
11672 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11673 cases.
11674 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11675 and 'long_double_ptr_same_size' locals. Use them to decide
11676 whether cast from array/function to float is valid/invalid.
11677
71a3c369
TT
116782017-11-17 Tom Tromey <tom@tromey.com>
11679
11680 * gdb.rust/traits.rs: New file.
11681 * gdb.rust/traits.exp: New file.
11682
ced9779b
JB
116832017-11-17 Joel Brobecker <brobecker@adacore.com>
11684
11685 * gdb.ada/minsyms: New testcase.
11686
a0922d80
PA
116872017-11-16 Pedro Alves <palves@redhat.com>
11688
11689 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11690 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11691
ea04e54c
PA
116922017-11-16 Pedro Alves <palves@redhat.com>
11693
11694 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11695 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11696
e849ea89
PA
116972017-11-16 Pedro Alves <palves@redhat.com>
11698
11699 * gdb.server/reconnect-ctrl-c.c: New file.
11700 * gdb.server/reconnect-ctrl-c.exp: New file.
11701
d8ae99a7
PM
117022017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11703
11704 * gdb.python/py-rbreak.exp: New file.
11705 * gdb.python/py-rbreak.c: New file.
11706 * gdb.python/py-rbreak-func2.c: New file.
11707
968a13f8
PA
117082017-11-16 Pedro Alves <palves@redhat.com>
11709
11710 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11711 pattern.
11712 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11713 GDB.
11714
71774bc9
SM
117152017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11716
11717 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11718 regex.
11719
ddbb44cf
SM
117202017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11721
11722 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11723 test names.
11724
584a564f
PA
117252017-11-09 Pedro Alves <palves@redhat.com>
11726
11727 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11728 factored out from ...
11729 (top level): ... here, and adjusted to avoid expecting beyond the
11730 prompt in a single gdb_test_multiple.
11731
5ed7a928
PA
117322017-11-09 Pedro Alves <palves@redhat.com>
11733
11734 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11735 output.
11736 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11737 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11738 * gdb.server/ext-run.exp ("kill" test): Likewise.
11739 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11740
a60e0738
PA
117412017-11-09 Pedro Alves <palves@redhat.com>
11742
11743 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11744 match till end of line.
11745
2c88253f
PA
117462017-11-09 Pedro Alves <palves@redhat.com>
11747
11748 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11749
c7a38517
PA
117502017-11-09 Pedro Alves <palves@redhat.com>
11751
11752 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11753 New procedures, factored out from ...
11754 (top level): ... here, and adjusted to avoid expecting beyond the
11755 prompt in one go.
11756
f29f4b6b
PA
117572017-11-09 Pedro Alves <palves@redhat.com>
11758
11759 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11760 output. Fix '?' match.
11761
286acbb5
JB
117622017-11-08 Joel Brobecker <brobecker@adacore.com>
11763
11764 * gdb.ada/scoped_watch: New testcase.
11765 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11766 which is actually correct.
11767 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11768 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11769
62d7ae92
PA
117702017-11-08 Pedro Alves <palves@redhat.com>
11771
11772 * gdb.gdb/complaints.exp (test_initial_complaints)
11773 (test_serial_complaints, test_short_complaints): Call
11774 complaint_internal instead of complaint.
11775
280ca31f
DT
117762017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11777
11778 * gdb.threads/tls-core.c: New file.
11779 * gdb.threads/tls-core.exp: Likewise.
11780
b5ec771e
PA
117812017-11-08 Pedro Alves <palves@redhat.com>
11782
11783 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11784 (p Exported_Capitalized): New test.
11785 (p exported_capitalized): New test.
11786
a02b41a7
PA
117872017-11-07 Pedro Alves <palves@redhat.com>
11788
11789 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11790
95e95a6d
PA
117912017-11-07 Pedro Alves <palves@redhat.com>
11792
11793 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11794 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11795 (disable_invalid, disable_inverted, disable_negative): New
11796 procedures.
11797 ("bad numbers"): New set of tests.
11798
cee62dbd
PA
117992017-11-07 Pedro Alves <palves@redhat.com>
11800
11801 * gdb.cp/ena-dis-br-range.exp: Add tests.
11802
cc638e86
PA
118032017-11-07 Pedro Alves <palves@redhat.com>
11804
11805 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11806
d0fe4701
XR
118072017-11-07 Xavier Roirand <roirand@adacore.com>
11808 Pedro Alves <palves@redhat.com>
11809
11810 * gdb.base/ena-dis-br.exp: Add reference to
11811 gdb.cp/ena-dis-br-range.exp.
11812 * gdb.cp/ena-dis-br-range.exp: New file.
11813 * gdb.cp/ena-dis-br-range.cc: New file.
11814
46f67f80
PA
118152017-11-06 Pedro Alves <palves@redhat.com>
11816
11817 * gdb.base/attach-non-pgrp-leader.c: New.
11818 * gdb.base/attach-non-pgrp-leader.exp: New.
11819
726e1356
PA
118202017-11-06 Pedro Alves <palves@redhat.com>
11821
11822 * configure.ac: No longer check for termio.h and sgtty.h.
11823 * configure: Regenerate.
11824 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11825 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11826 Remove termio and sgtty code.
11827
50ab6ace
YQ
118282017-11-03 Yao Qi <yao.qi@linaro.org>
11829
11830 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11831 in GDB is disabled.
11832
8e68731c
YQ
118332017-11-03 Yao Qi <yao.qi@linaro.org>
11834
11835 * gdb.python/py-thrhandle.exp: Skip it if python is not
11836 enabled.
11837
3a87ae65
SM
118382017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11839
11840 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11841 as a breakpoint command.
11842
484d8d36
MD
118432017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11844
11845 PR python/21213
11846 * gdb.python/py-infthread.exp: Test calling
11847 InferiorThread.inferior () multiple times in a row.
11848
4a27f119
KS
118492017-10-27 Keith Seitz <keiths@redhat.com>
11850
11851 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11852 Test "info break" for every inlined function breakpoint.
11853
bb11dd58
YQ
118542017-10-27 Yao Qi <yao.qi@linaro.org>
11855
11856 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11857
a43f3893
PF
118582017-10-26 Patrick Frants <osscontribute@gmail.com>
11859
11860 * gdb.cp/classes.exp (test_static_members): Test printing
11861 Outer::instance.
11862 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11863 (Inner::instance, Outer::instance): New.
11864
792ccf00
PA
118652017-10-24 Pedro Alves <palves@redhat.com>
11866
11867 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11868 extra console" test in two stages.
11869
eb2bfbad
PA
118702017-10-24 Pedro Alves <palves@redhat.com>
11871
11872 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11873
1f75a651
PA
118742017-10-24 Pedro Alves <palves@redhat.com>
11875
11876 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11877 loop.
11878
779990d9
PA
118792017-10-24 Pedro Alves <palves@redhat.com>
11880
11881 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11882 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11883
ad9b8f5d
PA
118842017-10-24 Pedro Alves <palves@redhat.com>
11885
11886 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11887 parameter and handle it. Don't output read value in test name.
11888
fee6da6e
PA
118892017-10-24 Pedro Alves <palves@redhat.com>
11890
11891 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11892 custom test name.
11893
10389c2c
PA
118942017-10-24 Pedro Alves <palves@redhat.com>
11895
11896 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11897 include the unstable output directory name in the test's name.
11898 (initial_setup_simple) <'set args'>: Use custom test name.
11899
a80e65a9
PA
119002017-10-24 Pedro Alves <palves@redhat.com>
11901
11902 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11903 with explicit test name.
11904
15763a09
PA
119052017-10-20 Pedro Alves <palves@redhat.com>
11906
11907 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11908 'wait -i'. Use gdb_assert and remote_close.
11909
49a4ce2e
AB
119102017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11911
11912 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11913 number from variable rather than hard-coded.
11914
a75868f5
PA
119152017-10-19 Pedro Alves <palves@redhat.com>
11916
11917 * gdb.base/long-inferior-output.c: New file.
11918 * gdb.base/long-inferior-output.exp: New file.
11919
c8ba13ad
KS
119202017-11-18 Keith Seitz <keiths@redhat.com>
11921
11922 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11923 method.
11924 (main): Call it.
11925 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11926 Add additional user-defined conversion operator tests.
11927
b27de576
PA
119282017-10-17 Pedro Alves <palves@redhat.com>
11929
11930 * boards/native-stdio-gdbserver.exp: Load "local-board".
11931
8484c955
PA
119322017-10-17 Pedro Alves <palves@redhat.com>
11933
11934 * gdb.base/quit-live.c: New file.
11935 * gdb.base/quit-live.exp: New file.
11936
83d5a34d
KS
119372017-10-16 Keith Seitz <keiths@redhat.com>
11938
11939 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11940 (class_with_protected_typedef, class_with_private_typedef)
11941 (struct_with_public_typedef, struct_with_protected_typedef)
11942 (struct_with_private_typedef): New classes/structs.
11943 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11944 typedefs and access specifiers.
11945
739b3f1d
PA
119462017-10-16 Pedro Alves <palves@redhat.com>
11947 Simon Marchi <simon.marchi@polymtl.ca>
11948
11949 * README (Local vs Remote vs Native): New section.
11950 * boards/local-board.exp: New file, with bits factored out from
11951 ...
11952 * boards/native-extended-gdbserver.exp: ... here. Load
11953 "local-board".
11954 * boards/native-gdbserver.exp: Load "local-board".
11955 (${board}_spawn, ${board}_exec): Delete.
11956 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11957 ...
11958 * boards/stdio-gdbserver-base.exp: ... this new file.
11959 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11960 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11961 procedure.
11962 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11963 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11964 stdio_gdbserver_command.
11965 (${board}_get_remote_address, ${board}_get_comm_port)
11966 (${board}_download, ${board}_upload): Delete.
11967 (get_target_remote_pipe_cmd): New.
11968
fe68b953
SM
119692017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11970
11971 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11972 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11973 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11974 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11975 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11976 remove with_test_prefix.
11977
300b6685
PA
119782017-10-13 Pedro Alves <palves@redhat.com>
11979
11980 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11981 * gdb.base/annota1.exp: Use it instead of is_remote.
11982 * gdb.base/annota3.exp: Use it instead of is_remote.
11983 * gdb.cp/annota2.exp: Use it instead of is_remote.
11984 * gdb.cp/annota3.exp: Use it instead of is_remote.
11985 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11986
50500caf
PA
119872017-10-13 Pedro Alves <palves@redhat.com>
11988
11989 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11990 (test_num_test_vars, run_and_count_vars, find_env)
11991 (test_set_unset_env, test_inherit_env_var): New procedures.
11992 (top level): Use them.
11993
dad0c6d2
PA
119942017-10-13 Pedro Alves <palves@redhat.com>
11995
11996 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11997 also skip on stub-like targets.
11998
8b0553c1
PA
119992017-10-13 Pedro Alves <palves@redhat.com>
12000
12001 PR gdb/22293
12002 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
12003 (top level): Move some tests to ...
12004 (test_not_found): ... this new procedure.
12005 (top level): Call it.
12006
7594f623
PA
120072017-10-13 Pedro Alves <palves@redhat.com>
12008
12009 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
12010 expect different "info terminal" output if testing with a
12011 non-native target.
12012
ebe3b402
PA
120132017-10-13 Pedro Alves <palves@redhat.com>
12014 Simon Marchi <simon.marchi@polymtl.ca>
12015
12016 PR python/12966
12017 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
12018
42f1b161
PA
120192017-10-13 Pedro Alves <palves@redhat.com>
12020
12021 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
12022 already.
12023
8d6ef72b
PA
120242017-10-13 Pedro Alves <palves@redhat.com>
12025
12026 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
12027 is_remote.
12028
d7bcd5b8
PA
120292017-10-13 Pedro Alves <palves@redhat.com>
12030
12031 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
12032 is_remote.
12033
df479dc6
PA
120342017-10-13 Pedro Alves <palves@redhat.com>
12035
12036 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
12037 is set.
12038 (corefile_test_attach): Likewise. Check can_spawn_for_attach
12039 instead of is_remote.
12040
23fb630a
PA
120412017-10-13 Pedro Alves <palves@redhat.com>
12042
12043 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
12044 (top level): Add comment.
12045
cc77b1dc
PA
120462017-10-13 Pedro Alves <palves@redhat.com>
12047
12048 * gdb.base/remote.exp (top level): Fix comment typo and add
12049 missing return.
12050
27c9e813
PA
120512017-10-13 Pedro Alves <palves@redhat.com>
12052 Simon Marchi <simon.marchi@polymtl.ca>
12053
12054 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
12055 calls and add comments. Skip test if use_gdb_stub is set.
12056 (top level): Use "set cwd" command instead of "cd" command.
12057
5e830d98
PA
120582017-10-13 Pedro Alves <palves@redhat.com>
12059
12060 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
12061 is_remote target check.
12062
f5ca0032
PA
120632017-10-13 Pedro Alves <palves@redhat.com>
12064
12065 * gdb.base/scope.exp: Use build_executable + clean_restart +
12066 gdb_file_cmd instead of prepare_for_testing and no longer skip
12067 "before run" tests on is_remote target boards. Update comments.
12068 * boards/native-extended-gdbserver.exp
12069 (extended_gdbserver_load_last_file): New, factored out from ...
12070 (gdb_load): ... this. Move further below and add comment.
12071 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
12072
8aed1c0d
PA
120732017-10-12 Pedro Alves <palves@redhat.com>
12074
12075 * gdb.base/attach.exp: Remove references to gdb64.
12076 * gdb.base/dbx.exp: Remove references to gdb64.
12077
cfa34c87
SM
120782017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12079 Pedro Alves <palves@redhat.com>
12080
12081 * gdb.base/label.exp: Remove is_remote target check.
12082
9192b7de
PA
120832017-10-12 Pedro Alves <palves@redhat.com>
12084
12085 * gdb.base/auvx.exp (coredir): Update comment.
12086 (top level) <core_works>: Use "set cwd" command instead of "cd"
12087 command.
12088
6bf0052d
PA
120892017-10-12 Pedro Alves <palves@redhat.com>
12090 Simon Marchi <simon.marchi@polymtl.ca>
12091
12092 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12093 target boards.
12094
e48ef82d
PA
120952017-10-12 Pedro Alves <palves@redhat.com>
12096 Simon Marchi <simon.marchi@polymtl.ca>
12097
12098 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12099 Instead skip if there's any gdb_protocol set.
12100
8d7aea57
SM
121012017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12102 Pedro Alves <palves@redhat.com>
12103
12104 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12105
30440677
PA
121062017-10-12 Pedro Alves <palves@redhat.com>
12107 Simon Marchi <simon.marchi@polymtl.ca>
12108
12109 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12110 instead of on dejagnu remote boards.
12111
4e04f045 121122017-10-12 Pedro Alves <palves@redhat.com>
175654b9 12113 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
12114
12115 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12116 checks. Use build_executable + clean_restart instead of
12117 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12118 of enabling non-stop after starting gdb.
12119
871a186e
PA
121202017-10-12 Pedro Alves <palves@redhat.com>
12121
12122 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12123 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12124 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12125 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12126
56d704da
AK
121272017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12128
12129 * gdb.arch/arc-tdesc-cpu.exp: New file.
12130 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12131
2f20e312
SM
121322017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12133
12134 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12135
65630365
PA
121362017-10-10 Pedro Alves <palves@redhat.com>
12137
12138 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12139 expect CLI output.
12140
bf469271
PA
121412017-10-10 Pedro Alves <palves@redhat.com>
12142
12143 * lib/selftest-support.exp (selftest_setup): Update for
12144 captured_command_loop's prototype change.
12145
777a42f1
PA
121462017-10-09 Pedro Alves <palves@redhat.com>
12147
12148 Test both arch1=>arch2 and arch2=>arch1.
12149
12150 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12151 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12152 factored out to...
12153 (append_arch1_options, append_arch2_options, append_arch_options)
12154 (build_executables): New procedures.
12155 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12156 local.
12157 (top level): Add new 'first_arch' testing axis.
12158
cbd2b4e3
PA
121592017-10-09 Pedro Alves <palves@redhat.com>
12160
12161 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12162 (barrier): New.
12163 (thread_start, all_started): New functions.
12164 (main): Spawn new thread and wait until it is scheduled.
12165 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12166 option.
12167 (do_test): Add 'selected_thread' parameter. Run to all_started
12168 instead of main. Explicitly set the breakpoint at main. Switch
12169 to the SELECTED_THREAD thread.
12170 (top level): Test handling the exec event with either the main
12171 thread or the second thread selected.
12172
5c9e4427
PA
121732017-10-09 Pedro Alves <palves@redhat.com>
12174
12175 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12176 logic. Move STOP marker after the value checks.
12177 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12178 regexp.
12179
b3b7c423
SL
121802017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12181
12182 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12183
3b4b2f16
UW
121842017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12185
12186 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12187 integer-to-dfp conversion.
12188 * gdb.base/dfp-test.exp: Likewise.
12189
5cd63fda
PA
121902017-10-04 Pedro Alves <palves@redhat.com>
12191
12192 * gdb.multi/hangout.c: Include <unistd.h>.
12193 (hangout_loop): New function.
12194 (main): Call alarm. Call hangout_loop in a loop.
12195 * gdb.multi/hello.c: Include <unistd.h>.
12196 (hello_loop): New function.
12197 (main): Call alarm. Call hangout_loop in a loop.
12198 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12199 inferior with the other selected.
12200
4c71c105
SM
122012017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12202
12203 * gdb.mi/list-thread-groups-available.exp: New file.
12204 * gdb.mi/list-thread-groups-available.c: New file.
12205
bc3b087d
SDJ
122062017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12207
12208 * gdb.base/set-cwd.exp: Make it available on
12209 native-extended-gdbserver.
12210
d092c5a2
SDJ
122112017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12212
12213 * gdb.base/set-cwd.c: New file.
12214 * gdb.base/set-cwd.exp: Likewise.
12215
45320ffa
TT
122162017-10-02 Tom Tromey <tom@tromey.com>
12217
12218 PR rust/22236:
12219 * gdb.rust/simple.rs (main): New variable "fslice".
12220 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12221
b3e3859b
TT
122222017-10-02 Tom Tromey <tom@tromey.com>
12223
12224 * gdb.rust/simple.exp: Test ptype of a slice.
12225
01af5e0d
TT
122262017-10-02 Tom Tromey <tom@tromey.com>
12227
12228 * gdb.rust/simple.exp: Test index of slice.
12229
a9bbfbd8
TT
122302017-09-27 Tom Tromey <tom@tromey.com>
12231
12232 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12233
df8899e5
TP
122342017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12235 Pedro Alves <palves@redhat.com>
12236
12237 * gdb.base/compare-sections.exp (get value of read-only section): Read
12238 as unsigned value.
12239 (corrupt read-only section): Likewise and don't set written if patching
12240 failed.
12241
757bf54b
KB
122422017-09-21 Kevin Buettner <kevinb@redhat.com>
12243
12244 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12245 files.
12246
06871ae8
PA
122472017-09-20 Pedro Alves <palves@redhat.com>
12248
12249 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12250 symbol names in gdb's output.
12251 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12252
e5f25bc5
PA
122532017-09-20 Pedro Alves <palves@redhat.com>
12254
12255 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12256 Rename to ...
12257 (test_list_ambiguous_symbol): ... this and add a symbol name
12258 parameter. Adjust.
12259 (test_list_ambiguous_function): Reimplement on top of
12260 test_list_ambiguous_symbol and also test listing ambiguous
12261 variables.
12262 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12263 (ambiguous_fun): ... this.
12264 (ambiguous_var): New.
12265 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12266 (ambiguous_fun): ... this.
12267 (ambiguous_var): New.
12268
4e5a4f58
JB
122692017-09-19 John Baldwin <jhb@FreeBSD.org>
12270
12271 * gdb.base/starti.c: New file.
12272 * gdb.base/starti.exp: New file.
12273 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12274
26e53f3e
PA
122752017-09-14 Pedro Alves <palves@redhat.com>
12276
12277 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12278 (top level): Use it instead of runto.
12279
cb791d59
TT
122802017-09-11 Tom Tromey <tom@tromey.com>
12281
12282 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12283
7c96f8c1
TT
122842017-09-11 Tom Tromey <tom@tromey.com>
12285
12286 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12287 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12288
469412dd
CW
122892017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12290
12291 * gdb.fortran/printing-types.exp: New file.
12292 * gdb.fortran/printing-types.exp: New file.
12293
e0f86435
BH
122942017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12295
12296 * gdb.fortran/vla-ptype.exp: Fix typos.
12297 * gdb.fortran/vla-value.exp: Same.
12298
9e9af4be
BH
122992017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12300
12301 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12302 * gdb.mi/mi-var-child-f.exp: Likewise.
12303 * gdb.mi/mi-vla-fortran.exp: Likewise.
12304
a5ad232b 123052017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
12306 Christoph Weinmann <christoph.t.weinmann@intel.com>
12307 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
12308
12309 * gdb.fortran/ptr-indentation.f90: New file.
12310 * gdb.fortran/ptr-indentation.exp: New file.
12311
5aec60eb
TT
123122017-09-05 Tom Tromey <tom@tromey.com>
12313
12314 PR gdb/22010:
12315 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12316
8f8f8152
TP
123172017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12318
12319 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12320
fbd1b771
JK
123212017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12322
12323 * gdb.threads/tls-nodebug-pie.c: New file.
12324 * gdb.threads/tls-nodebug-pie.exp: New file.
12325
5eb5f850
TT
123262017-09-05 Tom Tromey <tom@tromey.com>
12327
12328 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12329 for rust.
12330
ae780a21
SM
123312017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12332
12333 * gdb.multi/multi-arch-exec.exp: Test with different
12334 "follow-exec-mode" settings.
12335 (do_test): New procedure.
12336
3693fdb3
PA
123372017-09-04 Pedro Alves <palves@redhat.com>
12338
12339 * gdb.base/func-static.c (S::method const, S::method volatile)
12340 (S::method volatile const): New methods.
12341 (c_s, v_s, cv_s): New instances.
12342 (main): Call method() on them.
12343 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12344 (cannot_resolve): New procedure.
12345 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12346 print-quote-unquoted columns.
12347 (do_test): Test printing each scope too.
12348
e68cb8e0
PA
123492017-09-04 Pedro Alves <palves@redhat.com>
12350
12351 * gdb.base/local-static.exp: Also test with
12352 class::method::variable wholly quoted.
12353 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12354
858be34c
PA
123552017-09-04 Pedro Alves <palves@redhat.com>
12356
12357 * gdb.base/local-static.c: New.
12358 * gdb.base/local-static.cc: New.
12359 * gdb.base/local-static.exp: New.
12360
46a4882b
PA
123612017-09-04 Pedro Alves <palves@redhat.com>
12362
12363 * gdb.asm/asm-source.exp: Add casts to int.
12364 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12365 (dataglobal64_1, dataglobal64_2): New globals.
12366 * gdb.base/nodebug.exp: Test different expressions involving the
12367 new globals, with print, whatis and ptype. Add casts to int.
12368 * gdb.base/solib-display.exp: Add casts to int.
12369 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12370 * gdb.cp/m-static.exp: Add cast to int.
12371 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12372 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12373 tls variable with no debug info without a cast. Test with a cast
12374 to int too.
12375 * gdb.trace/entry-values.exp: Add casts.
12376
2c5a2be1
PA
123772017-09-04 Pedro Alves <palves@redhat.com>
12378
12379 * gdb.base/nodebug.exp: Test that ptype's error about functions
12380 with unknown return type includes the function name too.
12381
7022349d
PA
123822017-09-04 Pedro Alves <palves@redhat.com>
12383
12384 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12385 return type of munmap in infcall.
12386 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12387 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12388 type of ftell in infcall.
12389 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12390 type of getpid in infcall.
12391 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12392 infcall.
12393 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12394 Bail on failure to extract the pid.
12395 * gdb.base/nodebug.c: #include <stdint.h>.
12396 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12397 New functions.
12398 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12399 Change expected output of print/whatis/ptype with functions with
12400 no debug info. Test all supported languages. Call
12401 test_call_promotion.
12402 * gdb.compile/compile.exp: Adjust expected output to expect
12403 warning.
12404 * gdb.threads/siginfo-threads.exp: Likewise.
12405
54990598
PA
124062017-09-04 Pedro Alves <palves@redhat.com>
12407
12408 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12409 "prototypes". Test calling float functions via prototyped and
12410 unprototyped function pointers.
12411 (perform_all_tests): New parameter "prototypes". Pass it down.
12412 (top level): Pass down "prototypes" parameter to
12413 perform_all_tests.
12414
34d16ea2
SM
124152017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12416
12417 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12418 Test with nested loops.
12419
9521ecda
SM
124202017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12421
12422 * gdb.base/commands.exp: Call the new procedures.
12423 (loop_break_test, loop_continue_test): New procedures.
12424
80a65e9b
SM
124252017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12426
12427 * gdb.base/commands.exp: Call new procedure.
12428 (define_if_without_arg_test): New procedure.
12429
e439fa14
PA
124302017-09-04 Pedro Alves <palves@redhat.com>
12431
12432 * gdb.base/list-ambiguous.exp: New file.
12433 * gdb.base/list-ambiguous0.c: New file.
12434 * gdb.base/list-ambiguous1.c: New file.
12435 * gdb.base/list.exp (test_list_range): Adjust expected output.
12436
0a2dde4a
SDJ
124372017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12438
12439 * gdb.base/share-env-with-gdbserver.c: New file.
12440 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12441
5e89eb3a
SM
124422017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12443
12444 * gdb.base/commands.exp (gdbvar_simple_if_test,
12445 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12446 progvar_simple_if_test, progvar_simple_while_test,
12447 progvar_complex_if_while_test, user_defined_command_test,
12448 user_defined_command_args_eval,
12449 user_defined_command_args_stack_test,
12450 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12451 temporary_breakpoint_commands,
12452 gdb_test_no_prompt, redefine_hook_test,
12453 redefine_backtrace_test): Remove "global gdb_prompt".
12454
fd437cbc
SM
124552017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12456
12457 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12458 New proc, call it from toplevel.
12459
87215ad1
SDJ
124602017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12461
12462 PR remote/21852
12463 * gdb.server/normal.c: New file, copied from gdb.base.
12464 * gdb.server/run-without-local-binary.exp: New file.
12465
58afddc6
WP
124662017-08-07 Weimin Pan <weimin.pan@oracle.com>
12467
12468 * gdb.arch/sparc64-adi.exp: New file.
12469 * gdb.arch/sparc64-adi.c: New file.
12470
5277199a
PA
124712017-08-22 Pedro Alves <palves@redhat.com>
12472
12473 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12474 (top level): Add "list all overloads" tests.
12475
14278e1f
TT
124762017-08-22 Tom Tromey <tom@tromey.com>
12477
12478 * gdb.gdb/xfullpath.exp: Remove.
12479
bf223d3e
PA
124802017-08-21 Pedro Alves <palves@redhat.com>
12481
12482 PR gdb/19487
12483 * gdb.base/symbol-alias.c: New.
12484 * gdb.base/symbol-alias2.c: New.
12485 * gdb.base/symbol-alias.exp: New.
12486
c973d0aa
PA
124872017-08-21 Pedro Alves <palves@redhat.com>
12488
12489 * gdb.base/dfp-test.c
12490 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12491 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12492 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12493 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12494 * gdb.base/whatis-ptype-typedefs.c: New.
12495 * gdb.base/whatis-ptype-typedefs.exp: New.
12496 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12497 (an_int, an_int_type, an_int_type2): New globals.
12498 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12499 involving typedefs and cast expressions.
12500 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12501 (lookup_typedefs_function): New.
12502 (typedefs_pretty_printers_dict): New.
12503 (top level): Register lookup_typedefs_function in
12504 gdb.pretty_printers.
12505
6d580b63
YQ
125062017-08-18 Yao Qi <yao.qi@linaro.org>
12507
12508 * gdb.server/unittest.exp: New.
12509
206726fb
SDJ
125102017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12511
12512 PR gdb/21954
12513 * gdb.base/environ.exp: Add test to check if 'unset environment'
12514 works.
12515
bf0ec4c2
AA
125162017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12517
12518 * lib/gdb.exp (universal_compile_options): New caching proc.
12519 (gdb_compile): Suppress GCC's coloring of messages.
12520
d6382fff
TT
125212017-08-14 Tom Tromey <tom@tromey.com>
12522
12523 PR gdb/21675:
12524 * gdb.base/printcmds.exp (test_radices): New function.
12525 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12526 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12527 * lib/gdb.exp (get_integer_valueof): Use p/d.
12528
c2c2dd9f
SM
125292017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12530
12531 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12532 characters.
12533
fdffd6f4
TT
125342017-08-05 Tom Tromey <tom@tromey.com>
12535
12536 * gdb.rust/simple.exp: Allow String to appear in a different
12537 namespace.
12538
27d41eac
YQ
125392017-07-26 Yao Qi <yao.qi@linaro.org>
12540
12541 * gdb.gdb/unittest.exp: Invoke command
12542 "maintenance check xml-descriptions".
12543
031ed05d
AA
125442017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12545
12546 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12547 calling context.
12548 (hex128): Drop erroneous calculation of parameters.
12549
dcd27ddf
SM
125502017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12551
12552 * gdb.python/py-unwind.exp: Disable stack protection when
12553 building test file.
12554
47e77640
PA
125552017-07-20 Pedro Alves <palves@redhat.com>
12556
12557 * gdb.base/default.exp (set language): Adjust expected output.
12558
62d2a18a
PA
125592017-07-20 Pedro Alves <palves@redhat.com>
12560
12561 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12562 (test_minsym): ... this, and make static.
12563 (get_pck__foo__bar__minsym): Rename to ...
12564 (get_test_minsym): ... this.
12565 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12566 symbol names and comments.
12567 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12568 (get_test_minsym): ... this.
12569 (pck__foo__bar__minsym__2): Rename to ...
12570 (test_minsym): ... this.
12571 (main): Adjust.
12572
c45ec17c
PA
125732017-07-17 Pedro Alves <palves@redhat.com>
12574
12575 * gdb.base/completion.exp: Adjust expected output.
12576 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12577 the completer works.
12578
c6756f62
PA
125792017-07-17 Pedro Alves <palves@redhat.com>
12580
12581 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12582
5bd68487
AB
125832017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12584
12585 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12586
8880f2a9
TT
125872017-07-14 Tom Tromey <tom@tromey.com>
12588
12589 PR rust/21764:
12590 * gdb.rust/simple.exp: Add tests.
12591
65547233
TT
125922017-07-14 Tom Tromey <tom@tromey.com>
12593
12594 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12595
8f14146e
PA
125962017-07-14 Pedro Alves <palves@redhat.com>
12597
12598 * gdb.linespec/base/one/thefile.cc (z1): New function.
12599 * gdb.linespec/base/two/thefile.cc (z2): New function.
12600 * gdb.linespec/linespec.exp: Add tests.
12601
b4365d02
AB
126022017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12603
12604 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12605 to mi_create_breakpoint.
12606
5d2cbaa5
AB
126072017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12608
12609 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12610 mi_create_breakpoint.
12611
11cb5716
IB
126122017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12613
12614 * gdb.dlang/demangle.exp: Update for demangling changes.
12615
03278692
TT
126162017-07-09 Tom Tromey <tom@tromey.com>
12617
12618 * gdb.dwarf2/shortpiece.exp: New file.
12619
33c5cd75
DB
126202017-07-06 David Blaikie <dblaikie@gmail.com>
12621
12622 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12623 built from fissiont-multi-cu{1,2}.c.
12624 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12625 except putting 'main' and 'func' in separate CUs in the same DWO file.
12626 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12627 test.
12628 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12629 test.
12630
8455d262
PA
126312017-07-06 Pedro Alves <palves@redhat.com>
12632
12633 * gdb.python/py-unwind.exp: Test flushregs.
12634
dc4bde35
SDJ
126352017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12636
12637 PR cli/21688
12638 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12639 tests for alias commands and trailing whitespace.
12640
51ed89aa
SDJ
126412017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12642
12643 PR cli/21688
12644 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12645 procedure. Call it.
12646
eb17d413
PA
126472017-06-29 Pedro Alves <palves@redhat.com>
12648
12649 * gdb.base/printcmds.exp: Add tests.
12650
41664b45
DG
126512017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12652
12653 PR gdb/21337
12654 * gdb.base/reread-readsym.exp: New file.
12655 * gdb.base/reread-readsym.c: New file.
12656
75312ae3
KB
126572017-06-21 Kevin Buettner <kevinb@redhat.com>
12658
12659 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12660 subpattern.
12661
66953522
PB
126622017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12663
12664 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12665 extended mnemonic.
12666 * gdb.arch/powerpc-power9.s: Likewise.
12667
5524b525
AA
126682017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12669
12670 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12671 on 32-bit x86 targets. Exploit is_*_target macros where
12672 appropriate.
12673
03c8af18
AA
126742017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12675
12676 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12677 register pieces.
12678
3bf31011
AA
126792017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12680
12681 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12682 located in one or more DWARF pieces.
12683
805acca0
AA
126842017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12685
12686 * lib/gdb.exp (get_endianness): New proc.
12687 * gdb.arch/aarch64-fp.exp: Use it.
12688 * gdb.arch/altivec-regs.exp: Likewise.
12689 * gdb.arch/e500-regs.exp: Likewise.
12690 * gdb.arch/vsx-regs.exp: Likewise.
12691 * gdb.base/dump.exp: Likewise.
12692 * gdb.base/funcargs.exp: Likewise.
12693 * gdb.base/gnu_vector.exp: Likewise.
12694 * gdb.dwarf2/formdata16.exp: Likewise.
12695 * gdb.dwarf2/implptrpiece.exp: Likewise.
12696 * gdb.dwarf2/nonvar-access.exp: Likewise.
12697 * gdb.python/py-inferior.exp: Likewise.
12698 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12699
e9352324
AA
127002017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12701
12702 PR gdb/21226
12703 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12704 stack value pieces are taken from the LSB end.
12705
d5d1163e
AA
127062017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12707
12708 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12709 variable at nonzero offset.
12710
0567c986
AA
127112017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12712
12713 * gdb.dwarf2/var-access.c: New file.
12714 * gdb.dwarf2/var-access.exp: New test.
12715 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12716
973e9aab
TT
127172017-06-12 Tom Tromey <tom@tromey.com>
12718
12719 * gdb.dwarf2/formdata16.exp: Add tests.
12720
d9109c80
TT
127212017-06-12 Tom Tromey <tom@tromey.com>
12722
12723 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12724
30a25466
TT
127252017-06-12 Tom Tromey <tom@tromey.com>
12726
12727 PR exp/16225:
12728 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12729 * gdb.arch/vsx-regs.exp: Update tests.
12730 * gdb.arch/s390-vregs.exp (hex128): New proc.
12731 Update test.
12732 * gdb.arch/altivec-regs.exp: Update tests.
12733
aefd8b33
SDJ
127342017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12735
12736 * gdb.base/startup-with-shell.c: New file.
12737 * gdb.base/startup-with-shell.exp: Likewise.
12738
2090129c
SDJ
127392017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12740
12741 * gdb.server/non-existing-program.exp: Update regex in order to
12742 reflect the fact that gdbserver is now using fork_inferior (with a
12743 shell) to startup the inferior.
12744
8e86a419
SM
127452017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12746
12747 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12748 support function calls from GDB.
12749
e6cf65f2
TT
127502017-05-21 Tom Tromey <tom@tromey.com>
12751
12752 PR rust/21466:
12753 * gdb.rust/unsized.exp: New file.
12754 * gdb.rust/unsized.rs: New file.
12755
43cc5389
TT
127562017-05-19 Tom Tromey <tom@tromey.com>
12757
12758 PR rust/21484:
12759 * gdb.rust/watch.exp: New file.
12760 * gdb.rust/watch.rs: New file.
12761
ec8df234
TT
127622017-05-18 Tom Tromey <tom@tromey.com>
12763
12764 * gdb.rust/simple.exp: Allow Box to be qualified.
12765
3e3e7fae
TP
127662017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12767
12768 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12769
59cc050d
PA
127702017-05-18 Pedro Alves <palves@redhat.com>
12771
12772 * gdb.base/fileio.c (test_write, test_read, test_close)
12773 (test_fstat): Don't print 'ret' in the fail path.
12774
c8f6abd1
PA
127752017-05-18 Pedro Alves <palves@redhat.com>
12776
12777 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12778 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12779 (test_system, test_rename, test_unlink, test_time): Change
12780 prototypes.
12781 * gdb.base/fileio.exp (stop_msg): Adjust.
12782
d2a03b77
PA
127832017-05-18 Pedro Alves <palves@redhat.com>
12784
12785 * gdb.base/fileio.c (null_str): New global.
12786 (test_stat): Use it.
12787 * gdb.base/fileio.exp: Remove nowarnings.
12788
0d5c6999
YQ
127892017-05-17 Yao Qi <yao.qi@linaro.org>
12790
12791 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12792
21873064
YQ
127932017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12794
12795 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12796 argument command.
12797 (top-level): Invoke test_set_inferior_tty.
12798
d512d31c
PA
127992017-05-04 Pedro Alves <palves@redhat.com>
12800
12801 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12802 Add parens to print call for Python 3.
12803
90cef2ed
KS
128042017-05-03 Keith Seitz <keiths@redhat.com>
12805
12806 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12807 (main): Call it.
12808
14f819c8
TW
128092017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12810
12811 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12812 to prev and next.
12813
913aeadd
TW
128142017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12815
12816 * gdb.python/py-record-btrace.exp: Remove test for
12817 gdb.BtraceInstruction.error.
12818
a3be24ad
TW
128192017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12820
12821 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12822
ae20e79a
TW
128232017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12824
12825 * gdb.python/py-record-btrace-threads.c: New file.
12826 * gdb.python/py-record-btrace-threads.exp: New file.
12827
45ce1b47
SDJ
128282017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12829
12830 PR testsuite/8595
12831 * gdb.base/environ.exp: Make test available in all architectures.
12832 Move bits related to "info program" testing to
12833 gdb.base/info-program.exp. Rewrite tests to use the two new
12834 procedures mentione below.
12835 (test_set_show_env_var) New procedure.
12836 (test_set_show_env_var_equal): Likewise.
12837 * gdb.base/info-program.exp: New file.
12838
e15c3eb4
KS
128392017-04-27 Keith Seitz <keiths@redhat.com>
12840
12841 * gdb.cp/oranking.cc (test15): New function.
12842 (main): Call test15 and declare additional variables for testing.
12843 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12844 "p foo101('abc')" tests.
12845 Add tests for cv qualifier overloads.
12846 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12847 "lvalue reference overload" test.
12848 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12849 "print value of f1 on Child&& in f2" test.
12850
3a3fd0fd
PA
128512017-04-19 Pedro Alves <palves@redhat.com>
12852
12853 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12854 procedure.
12855 (top level): Call it.
12856 * lib/gdb.exp (gdb_define_cmd): New procedure.
12857
53375380
PA
128582017-04-12 Pedro Alves <palves@redhat.com>
12859
12860 PR gdb/21323
12861 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12862 (wchar): New global.
12863 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12864 (do_test_wide_char, wide_char_types_no_program, top level): Add
12865 wchar_t testing.
12866
53e710ac
PA
128672017-04-12 Pedro Alves <palves@redhat.com>
12868
12869 PR c++/21323
12870 * gdb.cp/wide_char_types.c: New file.
12871 * gdb.cp/wide_char_types.exp: New file.
12872
0ad9d8c7
SDJ
128732017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12874
12875 PR gdb/21352
12876 * gdb.trace/tsv.exp: Add test for "tsave -r".
12877
b1b45502
IB
128782017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12879
12880 * gdb.dlang/watch-loc.c: New file.
12881 * gdb.dlang/watch-loc.exp: New file.
12882
ec13808e
JK
128832017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12884
12885 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12886
fe5f7374
AK
128872017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12888
12889 * gdb.arch/arc-analyze-prologue.S: New file.
12890 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12891
eea78757
AK
128922017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12893
12894 * gdb.arch/arc-decode-insn.S: New file.
12895 * gdb.arch/arc-decode-insn.exp: Likewise.
12896
5badf10a
IR
128972017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12898
12899 PR tdep/20928
12900 * gdb.arch/sparc64-regs.exp: New file.
12901 * gdb.arch/sparc64-regs.S: Likewise.
12902
cee59b3f
TW
129032017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12904
12905 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12906 and memory view on Python 3.
12907
c0f55cc6
AV
129082017-03-20 Artemiy Volkov <artemiyv@acm.org>
12909 Keith Seitz <keiths@redhat.com>
12910
12911 PR gdb/14441
12912 * gdb.cp/demangle.exp: Add rvalue reference tests.
12913 * gdb.cp/rvalue-ref-casts.cc: New file.
12914 * gdb.cp/rvalue-ref-casts.exp: New file.
12915 * gdb.cp/rvalue-ref-overload.cc: New file.
12916 * gdb.cp/rvalue-ref-overload.exp: New file.
12917 * gdb.cp/rvalue-ref-params.cc: New file.
12918 * gdb.cp/rvalue-ref-params.exp: New file.
12919 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12920 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12921 * gdb.cp/rvalue-ref-types.cc: New file.
12922 * gdb.cp/rvalue-ref-types.exp: New file.
12923 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12924 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12925
51457a05
MAL
129262017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12927
12928 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12929 New procedure.
12930
5b291c04
MAL
129312017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12932
12933 * lib/mi-support.exp (mi_gdb_test): Add additional message
12934 for unexpected output.
12935
59a56148
AA
129362017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12937
12938 * gdb.base/examine-backward.c (Barrier): New character array
12939 constant, to ensure that TestStrings is preceded by a string
12940 terminator.
12941
7942e96e
AA
129422017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12943
12944 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12945 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12946 and implicit pointer into such a location.
12947
6ebac3fb
DE
129482017-03-16 Doug Evans <dje@google.com>
12949
12950 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12951
ec3b243d
TP
129522017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12953
12954 * gdb.cp/m-static.exp: Fix expectation for prototype of
12955 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12956
129572017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12958
12959 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12960 * gdb.guile/scm-lazy-string.c: New file.
12961 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12962 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12963 for pointer, array, typedef lazy strings.
12964
2cc36e25 129652017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12966
12967 PR python/17728, python/18439, python/18779
12968 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12969 * gdb.python/py-lazy-string.c (pointer): New typedef.
12970 (main): New locals ptr, array, typedef_ptr.
12971 * gdb.python/py-value.exp: Move lazy string tests to ...
12972 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12973 array, typedef lazy strings.
ec3b243d 12974
0efcde63
AK
129752017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12976
12977 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12978 Add optional 'test' parameter.
12979
7978d7c3
SM
129802017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12981
12982 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12983 Skip for versions of DejaGnu < 1.5.
12984
896c0c1e
SM
129852017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12986
12987 * lib/gdb.exp (dejagnu_version): New proc.
12988 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12989 Use dejagnu_version.
12990
5f4d1085
KS
129912017-03-10 Keith Seitz <keiths@redhat.com>
12992
12993 PR c++/8128
12994 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12995 type from destructor regexps.
12996 Add a branch which actually passes the test.
12997 Adjust "ptype t5i" test names.
12998
1de05205
PA
129992017-03-08 Pedro Alves <palves@redhat.com>
13000
13001 * gdb.base/step-over-exit.exp: Add explicit test message.
13002
c65d6b55
PA
130032017-03-08 Pedro Alves <palves@redhat.com>
13004
13005 PR gdb/18360
13006 * gdb.threads/interrupt-while-step-over.c: New file.
13007 * gdb.threads/interrupt-while-step-over.exp: New file.
13008
2e86a283
PA
130092017-03-08 Pedro Alves <palves@redhat.com>
13010
13011 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
13012 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
13013
25dcbff6
PA
130142017-03-08 Pedro Alves <palves@redhat.com>
13015
13016 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
13017 PKRU as not supported as a PASS.
13018
dc9366eb
PA
130192017-03-08 Pedro Alves <palves@redhat.com>
13020
13021 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
13022 prefix instead of $binfile1/$binfile2.
13023 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
13024 in test message.
13025 * gdb.python/py-completion.exp: Use "load python file" as test
13026 messages instead of unstable path names.
13027
6e5d74e7
PA
130282017-03-08 Pedro Alves <palves@redhat.com>
13029 Jan Kratochvil <jan.kratochvil@redhat.com>
13030
13031 PR cli/21218
13032 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13033 New proc.
13034 (top level): Call it.
13035
9753a2f6
PA
130362017-03-08 Pedro Alves <palves@redhat.com>
13037
13038 PR tui/21216
13039 * gdb.tui/tui-nl-filtered-output.exp: New file.
13040
1a4dd9dd
PA
130412017-03-08 Pedro Alves <palves@redhat.com>
13042
13043 * gdb.base/completion.exp: Move TUI completion tests to ...
13044 * gdb.tui/completion.exp: ... this new file.
13045
7cbbff33
PA
130462017-03-08 Pedro Alves <palves@redhat.com>
13047
13048 * gdb.base/tui-disasm-long-lines.c,
13049 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
13050 gdb.base/tui-layout.exp: Move to ...
13051 * gdb.tui/: ... this new directory.
13052
5f6fd321
PA
130532017-03-07 Pedro Alves <palves@redhat.com>
13054
13055 * gdb.base/tui-layout.c: New file.
13056 * gdb.base/tui-layout.exp: New file.
13057
44959fa8
PA
130582017-03-07 Pedro Alves <palves@redhat.com>
13059
13060 * gdb.base/tui-layout.c: Rename to ...
13061 * gdb.base/tui-disasm-long-lines.c: ... this.
13062 * gdb.base/tui-layout.exp: Rename to ...
13063 * gdb.base/tui-disasm-long-lines.exp: ... this.
13064
f8c4e718
PA
130652017-03-07 Pedro Alves <palves@redhat.com>
13066
13067 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
13068
6dbb839a 130692017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
13070
13071 * i386-mpx-call.c: New file.
13072 * i386-mpx-call.exp: New file.
13073
65b48a81
PB
130742017-02-28 Peter Bergner <bergner@vnet.ibm.com>
13075
13076 * gdb.arch/powerpc-power.exp: Delete test.
13077 * gdb.arch/powerpc-power.s: Likewise.
13078 * gdb.disasm/disassembler-options.exp: New test.
13079 * gdb.arch/powerpc-altivec.exp: Likewise.
13080 * gdb.arch/powerpc-altivec.s: Likewise.
13081 * gdb.arch/powerpc-altivec2.exp: Likewise.
13082 * gdb.arch/powerpc-altivec2.s: Likewise.
13083 * gdb.arch/powerpc-altivec3.exp: Likewise.
13084 * gdb.arch/powerpc-altivec3.s: Likewise.
13085 * gdb.arch/powerpc-power7.exp: Likewise.
13086 * gdb.arch/powerpc-power7.s: Likewise.
13087 * gdb.arch/powerpc-power8.exp: Likewise.
13088 * gdb.arch/powerpc-power8.s: Likewise.
13089 * gdb.arch/powerpc-power9.exp: Likewise.
13090 * gdb.arch/powerpc-power9.s: Likewise.
13091 * gdb.arch/powerpc-vsx.exp: Likewise.
13092 * gdb.arch/powerpc-vsx.s: Likewise.
13093 * gdb.arch/powerpc-vsx2.exp: Likewise.
13094 * gdb.arch/powerpc-vsx2.s: Likewise.
13095 * gdb.arch/powerpc-vsx3.exp: Likewise.
13096 * gdb.arch/powerpc-vsx3.s: Likewise.
13097 * gdb.arch/arm-disassembler-options.exp: Likewise.
13098 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13099 * gdb.arch/s390-disassembler-options.exp: Likewise.
13100
17cd4947
LM
131012017-02-23 Luis Machado <lgustavo@codesourcery.com>
13102
13103 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13104 (check_supported_features): ... this. Changed return type to void.
13105 (supports_rdseed): New static global.
13106 (rdseed): Check supports_rdseed.
13107 (initialize): Call check_supported_features.
13108
2039d74e
EBM
131092017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13110
13111 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13112 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13113 and lqarx/stqcx.
13114 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13115 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13116
a51d7ecf
EBM
131172017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13118
13119 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13120 uppercase.
13121
0224619f
JK
131222017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13123
13124 * gdb.dwarf2/formdata16.c: New file.
13125 * gdb.dwarf2/formdata16.exp: New file.
13126 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13127
216f72a1
JK
131282017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13129
13130 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13131 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13132 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13133 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13134 DW_AT_GNU_*.
13135
43988095
JK
131362017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13137
13138 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13139
99e8a4f9
SDJ
131402017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13141
13142 PR gdb/21164
13143 * gdb.base/maint.exp: Add testcases for when the commands do
13144 not have arguments.
13145
b58a8c0c
TP
131462017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13147
13148 * gdb.cp/chained-calls.exp: Use p instead of P.
13149
4e746bb6
TW
131502017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13151
13152 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13153 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13154
3f77c769
TT
131552017-02-14 Tom Tromey <tom@tromey.com>
13156
13157 PR python/13598:
13158 * gdb.python/py-events.exp: Add before_prompt event tests.
13159
075beec0
AA
131602017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13161
13162 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13163
bf5f525c
LM
131642017-02-13 Luis Machado <lgustavo@codesourcery.com>
13165
13166 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13167 (main): Call my_unique_function_name.
13168 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13169 completion of patterns with a single match.
13170 Add missing -re switches to gdb_test_multiple calls.
13171
13a66184
LM
131722017-02-13 Luis Machado <lgustavo@codesourcery.com>
13173
13174 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13175 return if core file is not recognized.
13176
26a06916
SM
131772017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13178
13179 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13180 and extra UIs.
13181
b761ca9e
SM
131822017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13183
13184 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13185 proc_with_prefix.
13186
b964bee0
TT
131872017-02-10 Tom Tromey <tom@tromey.com>
13188
13189 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13190
18da0c51
MG
131912017-02-10 Martin Galvan <martingalvan@sourceware.org>
13192
13193 PR gdb/21122
13194 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13195
604c4576
JG
131962017-02-08 Jerome Guitton <guitton@adacore.com>
13197
13198 * gdb.base/define.exp: Add test for command abbreviations
13199 in define.
13200
20b477a7
LM
132012017-02-06 Luis Machado <lgustavo@codesourcery.com>
13202
13203 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13204 * gdb.reverse/insn-reverse-x86.c: New file.
13205
3f7b46f2
IR
132062017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13207
13208 PR tdep/20936
13209 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13210
f0fd41c1
TT
132112017-02-03 Tom Tromey <tom@tromey.com>
13212
13213 PR rust/21097:
13214 * gdb.rust/simple.exp: Add new tests.
13215
5be5dbf0
PA
132162017-02-02 Pedro Alves <palves@redhat.com>
13217
13218 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13219 tests.
13220
7346ef59
AA
132212017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13222
13223 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13224 taking a 2-byte value out of a 4-byte DWARF implicit value on
13225 big-endian targets.
13226 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13227 logic. Add test cases for DW_OP_implicit.
13228
787f0025
MM
132292017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13230
13231 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13232
68777c29
MM
132332017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13234
13235 * gdb.btrace/enable.exp: Call gdb_exit before
13236 skip_gdbserver_tests.
13237
0a1c7e28
MM
132382017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13239
13240 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13241 GDBFLAGS.
13242
b5ac99b0
MM
132432017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13244
13245 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13246 the test is skipped.
13247 * gdb.btrace/data.exp: Likewise.
13248 * gdb.btrace/delta.exp: Likewise.
13249 * gdb.btrace/dlopen.exp: Likewise.
13250 * gdb.btrace/enable-running.exp: Likewise.
13251 * gdb.btrace/enable.exp: Likewise.
13252 * gdb.btrace/exception.exp: Likewise.
13253 * gdb.btrace/function_call_history.exp: Likewise.
13254 * gdb.btrace/gcore.exp: Likewise.
13255 * gdb.btrace/instruction_history.exp: Likewise.
13256 * gdb.btrace/multi-thread-step.exp: Likewise.
13257 * gdb.btrace/nohist.exp: Likewise.
13258 * gdb.btrace/non-stop.exp: Likewise.
13259 * gdb.btrace/reconnect.exp: Likewise.
13260 * gdb.btrace/record_goto-step.exp: Likewise.
13261 * gdb.btrace/record_goto.exp: Likewise.
13262 * gdb.btrace/rn-dl-bind.exp: Likewise.
13263 * gdb.btrace/segv.exp: Likewise.
13264 * gdb.btrace/step.exp: Likewise.
13265 * gdb.btrace/stepi.exp: Likewise.
13266 * gdb.btrace/tailcall-only.exp: Likewise.
13267 * gdb.btrace/tailcall.exp: Likewise.
13268 * gdb.btrace/tsx.exp: Likewise.
13269 * gdb.btrace/unknown_functions.exp: Likewise.
13270 * gdb.btrace/vdso.exp: Likewise.
13271
cd4007e4
MM
132722017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13273
13274 * gdb.btrace/enable-running.c: New.
13275 * gdb.btrace/enable-running.exp: New.
13276
2735833d
WT
132772017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13278
13279 * gdb.arch/amd64-gs_base.c: New file.
13280 * gdb.arch/amd64-gs_base.exp: New file.
13281
b51e1e94
LM
132822017-01-26 Luis Machado <lgustavo@codesourcery.com>
13283
13284 * lib/memory.exp: Remove spurious empty newlines.
13285
72ca0410
SM
132862017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13287
13288 * gdb.python/py-bad-printers.exp: Load python file using "source".
13289 * gdb.python/py-events.exp: Likewise.
13290 * gdb.python/py-evsignal.exp: Likewise.
13291 * gdb.python/py-evthreads.exp: Likewise.
13292 * gdb.python/py-frame-args.exp: Likewise.
13293 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13294 * gdb.python/py-framefilter-mi.exp: Likewise.
13295 * gdb.python/py-framefilter.exp: Likewise.
13296 * gdb.python/py-mi.exp: Likewise.
13297 * gdb.python/py-pp-maint.exp: Likewise.
13298 * gdb.python/py-pp-registration.exp: Likewise.
13299 * gdb.python/py-prettyprint.exp: Likewise.
13300 (run_lang_tests): Likewise.
13301 * gdb.python/py-typeprint.exp: Likewise.
13302
e309aa65
LM
133032017-01-26 Luis Machado <lgustavo@codesourcery.com>
13304
13305 * lib/memory.exp: New file.
13306 * lib/gdb.exp: Load memory.exp.
13307 * gdb.base/memattr.exp (delete_memory): Move proc to
13308 lib/memory.exp and rename to delete_memory_regions.
13309 Replace delete_memory with delete_memory_regions.
13310 Cleanup memory regions before tests.
13311 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13312 before tests.
13313
515aff23
LM
133142017-01-26 Luis Machado <lgustavo@codesourcery.com>
13315
13316 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13317 files.
13318 (initialize): New function conditionally defined.
13319 (testcases): Move within conditional block.
13320 (main): Call initialize.
13321 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13322 of gdb.reverse/insn-reverse.c.
13323 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13324 gdb.reverse/insn-reverse.c.
13325
d8b49cf0
YQ
133262017-01-26 Yao Qi <yao.qi@linaro.org>
13327
13328 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13329 disassemble on address 0.
13330
f13a9a0c
YQ
133312017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13332 Yao Qi <yao.qi@linaro.org>
13333
13334 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13335 * gdb.dwarf2/implptr-64bit.S: Remove.
13336 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13337 variables in caller's context. Add DW_OP_implicit_value.
13338
5ac95241
YQ
133392017-01-25 Yao Qi <yao.qi@linaro.org>
13340
13341 * lib/dwarf.exp (Dwarf::_location): Handle
13342 DW_OP_GNU_implicit_pointer with proper size.
13343
23e82930
LM
133442017-01-20 Luis Machado <lgustavo@codesourcery.com>
13345
13346 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13347 and add untested calls.
13348
d334ae25
LM
133492017-01-20 Luis Machado <lgustavo@codesourcery.com>
13350
13351 * gdb.python/python.exp: Check line number against what GDB thinks
13352 the line number is for func1.
13353
f5e6296e
IB
133542017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13355
13356 * gdb.dlang/debug-expr.exp: New file.
13357
5b362f04
LM
133582016-12-23 Luis Machado <lgustavo@codesourcery.com>
13359
13360 Fix test names for the following files:
13361
13362 * gdb.ada/exec_changed.exp
13363 * gdb.ada/info_types.exp
13364 * gdb.arch/aarch64-atomic-inst.exp
13365 * gdb.arch/aarch64-fp.exp
13366 * gdb.arch/altivec-abi.exp
13367 * gdb.arch/altivec-regs.exp
13368 * gdb.arch/amd64-byte.exp
13369 * gdb.arch/amd64-disp-step.exp
13370 * gdb.arch/amd64-dword.exp
13371 * gdb.arch/amd64-entry-value-inline.exp
13372 * gdb.arch/amd64-entry-value-param.exp
13373 * gdb.arch/amd64-entry-value-paramref.exp
13374 * gdb.arch/amd64-entry-value.exp
13375 * gdb.arch/amd64-i386-address.exp
13376 * gdb.arch/amd64-invalid-stack-middle.exp
13377 * gdb.arch/amd64-invalid-stack-top.exp
13378 * gdb.arch/amd64-optimout-repeat.exp
13379 * gdb.arch/amd64-prologue-skip.exp
13380 * gdb.arch/amd64-prologue-xmm.exp
13381 * gdb.arch/amd64-stap-special-operands.exp
13382 * gdb.arch/amd64-stap-wrong-subexp.exp
13383 * gdb.arch/amd64-tailcall-cxx.exp
13384 * gdb.arch/amd64-tailcall-noret.exp
13385 * gdb.arch/amd64-tailcall-ret.exp
13386 * gdb.arch/amd64-tailcall-self.exp
13387 * gdb.arch/amd64-word.exp
13388 * gdb.arch/arm-bl-branch-dest.exp
13389 * gdb.arch/arm-disp-step.exp
13390 * gdb.arch/arm-neon.exp
13391 * gdb.arch/arm-single-step-kernel-helper.exp
13392 * gdb.arch/avr-flash-qualifier.exp
13393 * gdb.arch/disp-step-insn-reloc.exp
13394 * gdb.arch/e500-abi.exp
13395 * gdb.arch/e500-regs.exp
13396 * gdb.arch/ftrace-insn-reloc.exp
13397 * gdb.arch/i386-avx512.exp
13398 * gdb.arch/i386-bp_permanent.exp
13399 * gdb.arch/i386-byte.exp
13400 * gdb.arch/i386-cfi-notcurrent.exp
13401 * gdb.arch/i386-disp-step.exp
13402 * gdb.arch/i386-dr3-watch.exp
13403 * gdb.arch/i386-float.exp
13404 * gdb.arch/i386-gnu-cfi.exp
13405 * gdb.arch/i386-mpx-map.exp
13406 * gdb.arch/i386-mpx-sigsegv.exp
13407 * gdb.arch/i386-mpx-simple_segv.exp
13408 * gdb.arch/i386-mpx.exp
13409 * gdb.arch/i386-permbkpt.exp
13410 * gdb.arch/i386-prologue.exp
13411 * gdb.arch/i386-signal.exp
13412 * gdb.arch/i386-size-overlap.exp
13413 * gdb.arch/i386-unwind.exp
13414 * gdb.arch/i386-word.exp
13415 * gdb.arch/mips-fcr.exp
13416 * gdb.arch/powerpc-d128-regs.exp
13417 * gdb.arch/powerpc-stackless.exp
13418 * gdb.arch/ppc64-atomic-inst.exp
13419 * gdb.arch/s390-stackless.exp
13420 * gdb.arch/s390-tdbregs.exp
13421 * gdb.arch/s390-vregs.exp
13422 * gdb.arch/sparc-sysstep.exp
13423 * gdb.arch/thumb-bx-pc.exp
13424 * gdb.arch/thumb-singlestep.exp
13425 * gdb.arch/thumb2-it.exp
13426 * gdb.arch/vsx-regs.exp
13427 * gdb.asm/asm-source.exp
13428 * gdb.base/a2-run.exp
13429 * gdb.base/advance.exp
13430 * gdb.base/all-bin.exp
13431 * gdb.base/anon.exp
13432 * gdb.base/args.exp
13433 * gdb.base/arithmet.exp
13434 * gdb.base/async-shell.exp
13435 * gdb.base/async.exp
13436 * gdb.base/attach-pie-noexec.exp
13437 * gdb.base/attach-twice.exp
13438 * gdb.base/auto-load.exp
13439 * gdb.base/bang.exp
13440 * gdb.base/bitfields.exp
13441 * gdb.base/break-always.exp
13442 * gdb.base/break-caller-line.exp
13443 * gdb.base/break-entry.exp
13444 * gdb.base/break-inline.exp
13445 * gdb.base/break-on-linker-gcd-function.exp
13446 * gdb.base/break-probes.exp
13447 * gdb.base/break.exp
13448 * gdb.base/breakpoint-shadow.exp
13449 * gdb.base/call-ar-st.exp
13450 * gdb.base/call-sc.exp
13451 * gdb.base/call-signal-resume.exp
13452 * gdb.base/call-strs.exp
13453 * gdb.base/callfuncs.exp
13454 * gdb.base/catch-fork-static.exp
13455 * gdb.base/catch-gdb-caused-signals.exp
13456 * gdb.base/catch-load.exp
13457 * gdb.base/catch-signal-fork.exp
13458 * gdb.base/catch-signal.exp
13459 * gdb.base/catch-syscall.exp
13460 * gdb.base/charset.exp
13461 * gdb.base/checkpoint.exp
13462 * gdb.base/chng-syms.exp
13463 * gdb.base/code-expr.exp
13464 * gdb.base/code_elim.exp
13465 * gdb.base/commands.exp
13466 * gdb.base/completion.exp
13467 * gdb.base/complex.exp
13468 * gdb.base/cond-expr.exp
13469 * gdb.base/condbreak.exp
13470 * gdb.base/consecutive.exp
13471 * gdb.base/continue-all-already-running.exp
13472 * gdb.base/coredump-filter.exp
13473 * gdb.base/corefile.exp
13474 * gdb.base/dbx.exp
13475 * gdb.base/debug-expr.exp
13476 * gdb.base/define.exp
13477 * gdb.base/del.exp
13478 * gdb.base/disabled-location.exp
13479 * gdb.base/disasm-end-cu.exp
13480 * gdb.base/disasm-optim.exp
13481 * gdb.base/display.exp
13482 * gdb.base/duplicate-bp.exp
13483 * gdb.base/ena-dis-br.exp
13484 * gdb.base/ending-run.exp
13485 * gdb.base/enumval.exp
13486 * gdb.base/environ.exp
13487 * gdb.base/eu-strip-infcall.exp
13488 * gdb.base/eval-avoid-side-effects.exp
13489 * gdb.base/eval-skip.exp
13490 * gdb.base/exitsignal.exp
13491 * gdb.base/expand-psymtabs.exp
13492 * gdb.base/filesym.exp
13493 * gdb.base/find-unmapped.exp
13494 * gdb.base/finish.exp
13495 * gdb.base/float.exp
13496 * gdb.base/foll-exec-mode.exp
13497 * gdb.base/foll-exec.exp
13498 * gdb.base/foll-fork.exp
13499 * gdb.base/fortran-sym-case.exp
13500 * gdb.base/freebpcmd.exp
13501 * gdb.base/func-ptr.exp
13502 * gdb.base/func-ptrs.exp
13503 * gdb.base/funcargs.exp
13504 * gdb.base/gcore-buffer-overflow.exp
13505 * gdb.base/gcore-relro-pie.exp
13506 * gdb.base/gcore-relro.exp
13507 * gdb.base/gcore.exp
13508 * gdb.base/gdb1090.exp
13509 * gdb.base/gdb11530.exp
13510 * gdb.base/gdb11531.exp
13511 * gdb.base/gdb1821.exp
13512 * gdb.base/gdbindex-stabs.exp
13513 * gdb.base/gdbvars.exp
13514 * gdb.base/hbreak.exp
13515 * gdb.base/hbreak2.exp
13516 * gdb.base/included.exp
13517 * gdb.base/infcall-input.exp
13518 * gdb.base/inferior-died.exp
13519 * gdb.base/infnan.exp
13520 * gdb.base/info-macros.exp
13521 * gdb.base/info-os.exp
13522 * gdb.base/info-proc.exp
13523 * gdb.base/info-shared.exp
13524 * gdb.base/info-target.exp
13525 * gdb.base/infoline.exp
13526 * gdb.base/interp.exp
13527 * gdb.base/interrupt.exp
13528 * gdb.base/jit-reader.exp
13529 * gdb.base/jit-simple.exp
13530 * gdb.base/kill-after-signal.exp
13531 * gdb.base/kill-detach-inferiors-cmd.exp
13532 * gdb.base/label.exp
13533 * gdb.base/langs.exp
13534 * gdb.base/ldbl_e308.exp
13535 * gdb.base/line-symtabs.exp
13536 * gdb.base/linespecs.exp
13537 * gdb.base/list.exp
13538 * gdb.base/long_long.exp
13539 * gdb.base/longest-types.exp
13540 * gdb.base/maint.exp
13541 * gdb.base/max-value-size.exp
13542 * gdb.base/memattr.exp
13543 * gdb.base/mips_pro.exp
13544 * gdb.base/morestack.exp
13545 * gdb.base/moribund-step.exp
13546 * gdb.base/multi-forks.exp
13547 * gdb.base/nested-addr.exp
13548 * gdb.base/nextoverexit.exp
13549 * gdb.base/noreturn-finish.exp
13550 * gdb.base/noreturn-return.exp
13551 * gdb.base/nostdlib.exp
13552 * gdb.base/offsets.exp
13553 * gdb.base/opaque.exp
13554 * gdb.base/pc-fp.exp
13555 * gdb.base/permissions.exp
13556 * gdb.base/print-symbol-loading.exp
13557 * gdb.base/prologue-include.exp
13558 * gdb.base/psymtab.exp
13559 * gdb.base/ptype.exp
13560 * gdb.base/random-signal.exp
13561 * gdb.base/randomize.exp
13562 * gdb.base/range-stepping.exp
13563 * gdb.base/readline-ask.exp
13564 * gdb.base/recpar.exp
13565 * gdb.base/recurse.exp
13566 * gdb.base/relational.exp
13567 * gdb.base/restore.exp
13568 * gdb.base/return-nodebug.exp
13569 * gdb.base/return.exp
13570 * gdb.base/run-after-attach.exp
13571 * gdb.base/save-bp.exp
13572 * gdb.base/scope.exp
13573 * gdb.base/sect-cmd.exp
13574 * gdb.base/set-lang-auto.exp
13575 * gdb.base/set-noassign.exp
13576 * gdb.base/setvar.exp
13577 * gdb.base/sigall.exp
13578 * gdb.base/sigbpt.exp
13579 * gdb.base/siginfo-addr.exp
13580 * gdb.base/siginfo-infcall.exp
13581 * gdb.base/siginfo-obj.exp
13582 * gdb.base/siginfo.exp
13583 * gdb.base/signals-state-child.exp
13584 * gdb.base/signest.exp
13585 * gdb.base/sigstep.exp
13586 * gdb.base/sizeof.exp
13587 * gdb.base/skip.exp
13588 * gdb.base/solib-corrupted.exp
13589 * gdb.base/solib-nodir.exp
13590 * gdb.base/solib-search.exp
13591 * gdb.base/stack-checking.exp
13592 * gdb.base/stale-infcall.exp
13593 * gdb.base/stap-probe.exp
13594 * gdb.base/start.exp
13595 * gdb.base/step-break.exp
13596 * gdb.base/step-bt.exp
13597 * gdb.base/step-line.exp
13598 * gdb.base/step-over-exit.exp
13599 * gdb.base/step-over-syscall.exp
13600 * gdb.base/step-resume-infcall.exp
13601 * gdb.base/step-test.exp
13602 * gdb.base/store.exp
13603 * gdb.base/structs3.exp
13604 * gdb.base/sym-file.exp
13605 * gdb.base/symbol-without-target_section.exp
13606 * gdb.base/term.exp
13607 * gdb.base/testenv.exp
13608 * gdb.base/ui-redirect.exp
13609 * gdb.base/until.exp
13610 * gdb.base/unwindonsignal.exp
13611 * gdb.base/value-double-free.exp
13612 * gdb.base/vla-datatypes.exp
13613 * gdb.base/vla-ptr.exp
13614 * gdb.base/vla-sideeffect.exp
13615 * gdb.base/volatile.exp
13616 * gdb.base/watch-cond-infcall.exp
13617 * gdb.base/watch-cond.exp
13618 * gdb.base/watch-non-mem.exp
13619 * gdb.base/watch-read.exp
13620 * gdb.base/watch-vfork.exp
13621 * gdb.base/watchpoint-cond-gone.exp
13622 * gdb.base/watchpoint-delete.exp
13623 * gdb.base/watchpoint-hw-hit-once.exp
13624 * gdb.base/watchpoint-hw.exp
13625 * gdb.base/watchpoint-stops-at-right-insn.exp
13626 * gdb.base/watchpoints.exp
13627 * gdb.base/wchar.exp
13628 * gdb.base/whatis-exp.exp
13629 * gdb.btrace/buffer-size.exp
13630 * gdb.btrace/data.exp
13631 * gdb.btrace/delta.exp
13632 * gdb.btrace/dlopen.exp
13633 * gdb.btrace/enable.exp
13634 * gdb.btrace/exception.exp
13635 * gdb.btrace/function_call_history.exp
13636 * gdb.btrace/gcore.exp
13637 * gdb.btrace/instruction_history.exp
13638 * gdb.btrace/nohist.exp
13639 * gdb.btrace/reconnect.exp
13640 * gdb.btrace/record_goto-step.exp
13641 * gdb.btrace/record_goto.exp
13642 * gdb.btrace/rn-dl-bind.exp
13643 * gdb.btrace/segv.exp
13644 * gdb.btrace/step.exp
13645 * gdb.btrace/stepi.exp
13646 * gdb.btrace/tailcall-only.exp
13647 * gdb.btrace/tailcall.exp
13648 * gdb.btrace/tsx.exp
13649 * gdb.btrace/unknown_functions.exp
13650 * gdb.btrace/vdso.exp
13651 * gdb.compile/compile-ifunc.exp
13652 * gdb.compile/compile-ops.exp
13653 * gdb.compile/compile-print.exp
13654 * gdb.compile/compile-setjmp.exp
13655 * gdb.cp/abstract-origin.exp
13656 * gdb.cp/ambiguous.exp
13657 * gdb.cp/annota2.exp
13658 * gdb.cp/annota3.exp
13659 * gdb.cp/anon-ns.exp
13660 * gdb.cp/anon-struct.exp
13661 * gdb.cp/anon-union.exp
13662 * gdb.cp/arg-reference.exp
13663 * gdb.cp/baseenum.exp
13664 * gdb.cp/bool.exp
13665 * gdb.cp/breakpoint.exp
13666 * gdb.cp/bs15503.exp
13667 * gdb.cp/call-c.exp
13668 * gdb.cp/casts.exp
13669 * gdb.cp/chained-calls.exp
13670 * gdb.cp/class2.exp
13671 * gdb.cp/classes.exp
13672 * gdb.cp/cmpd-minsyms.exp
13673 * gdb.cp/converts.exp
13674 * gdb.cp/cp-relocate.exp
13675 * gdb.cp/cpcompletion.exp
13676 * gdb.cp/cpexprs.exp
13677 * gdb.cp/cplabel.exp
13678 * gdb.cp/cplusfuncs.exp
13679 * gdb.cp/cpsizeof.exp
13680 * gdb.cp/ctti.exp
13681 * gdb.cp/derivation.exp
13682 * gdb.cp/destrprint.exp
13683 * gdb.cp/dispcxx.exp
13684 * gdb.cp/enum-class.exp
13685 * gdb.cp/exception.exp
13686 * gdb.cp/exceptprint.exp
13687 * gdb.cp/expand-psymtabs-cxx.exp
13688 * gdb.cp/expand-sals.exp
13689 * gdb.cp/extern-c.exp
13690 * gdb.cp/filename.exp
13691 * gdb.cp/formatted-ref.exp
13692 * gdb.cp/fpointer.exp
13693 * gdb.cp/gdb1355.exp
13694 * gdb.cp/gdb2495.exp
13695 * gdb.cp/hang.exp
13696 * gdb.cp/impl-this.exp
13697 * gdb.cp/infcall-dlopen.exp
13698 * gdb.cp/inherit.exp
13699 * gdb.cp/iostream.exp
13700 * gdb.cp/koenig.exp
13701 * gdb.cp/local.exp
13702 * gdb.cp/m-data.exp
13703 * gdb.cp/m-static.exp
13704 * gdb.cp/mb-ctor.exp
13705 * gdb.cp/mb-inline.exp
13706 * gdb.cp/mb-templates.exp
13707 * gdb.cp/member-name.exp
13708 * gdb.cp/member-ptr.exp
13709 * gdb.cp/meth-typedefs.exp
13710 * gdb.cp/method.exp
13711 * gdb.cp/method2.exp
13712 * gdb.cp/minsym-fallback.exp
13713 * gdb.cp/misc.exp
13714 * gdb.cp/namelessclass.exp
13715 * gdb.cp/namespace-enum.exp
13716 * gdb.cp/namespace-nested-import.exp
13717 * gdb.cp/namespace.exp
13718 * gdb.cp/nextoverthrow.exp
13719 * gdb.cp/no-dmgl-verbose.exp
13720 * gdb.cp/non-trivial-retval.exp
13721 * gdb.cp/noparam.exp
13722 * gdb.cp/nsdecl.exp
13723 * gdb.cp/nsimport.exp
13724 * gdb.cp/nsnested.exp
13725 * gdb.cp/nsnoimports.exp
13726 * gdb.cp/nsrecurs.exp
13727 * gdb.cp/nsstress.exp
13728 * gdb.cp/nsusing.exp
13729 * gdb.cp/operator.exp
13730 * gdb.cp/oranking.exp
13731 * gdb.cp/overload-const.exp
13732 * gdb.cp/overload.exp
13733 * gdb.cp/ovldbreak.exp
13734 * gdb.cp/ovsrch.exp
13735 * gdb.cp/paren-type.exp
13736 * gdb.cp/parse-lang.exp
13737 * gdb.cp/pass-by-ref.exp
13738 * gdb.cp/pr-1023.exp
13739 * gdb.cp/pr-1210.exp
13740 * gdb.cp/pr-574.exp
13741 * gdb.cp/pr10687.exp
13742 * gdb.cp/pr12028.exp
13743 * gdb.cp/pr17132.exp
13744 * gdb.cp/pr17494.exp
13745 * gdb.cp/pr9067.exp
13746 * gdb.cp/pr9167.exp
13747 * gdb.cp/pr9631.exp
13748 * gdb.cp/printmethod.exp
13749 * gdb.cp/psmang.exp
13750 * gdb.cp/psymtab-parameter.exp
13751 * gdb.cp/ptype-cv-cp.exp
13752 * gdb.cp/ptype-flags.exp
13753 * gdb.cp/re-set-overloaded.exp
13754 * gdb.cp/ref-types.exp
13755 * gdb.cp/rtti.exp
13756 * gdb.cp/scope-err.exp
13757 * gdb.cp/shadow.exp
13758 * gdb.cp/smartp.exp
13759 * gdb.cp/static-method.exp
13760 * gdb.cp/static-print-quit.exp
13761 * gdb.cp/temargs.exp
13762 * gdb.cp/templates.exp
13763 * gdb.cp/try_catch.exp
13764 * gdb.cp/typedef-operator.exp
13765 * gdb.cp/typeid.exp
13766 * gdb.cp/userdef.exp
13767 * gdb.cp/using-crash.exp
13768 * gdb.cp/var-tag.exp
13769 * gdb.cp/virtbase.exp
13770 * gdb.cp/virtfunc.exp
13771 * gdb.cp/virtfunc2.exp
13772 * gdb.cp/vla-cxx.exp
13773 * gdb.disasm/t01_mov.exp
13774 * gdb.disasm/t02_mova.exp
13775 * gdb.disasm/t03_add.exp
13776 * gdb.disasm/t04_sub.exp
13777 * gdb.disasm/t05_cmp.exp
13778 * gdb.disasm/t06_ari2.exp
13779 * gdb.disasm/t07_ari3.exp
13780 * gdb.disasm/t08_or.exp
13781 * gdb.disasm/t09_xor.exp
13782 * gdb.disasm/t10_and.exp
13783 * gdb.disasm/t11_logs.exp
13784 * gdb.disasm/t12_bit.exp
13785 * gdb.disasm/t13_otr.exp
13786 * gdb.dlang/circular.exp
13787 * gdb.dwarf2/arr-stride.exp
13788 * gdb.dwarf2/arr-subrange.exp
13789 * gdb.dwarf2/atomic-type.exp
13790 * gdb.dwarf2/bad-regnum.exp
13791 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13792 * gdb.dwarf2/callframecfa.exp
13793 * gdb.dwarf2/clztest.exp
13794 * gdb.dwarf2/corrupt.exp
13795 * gdb.dwarf2/data-loc.exp
13796 * gdb.dwarf2/dup-psym.exp
13797 * gdb.dwarf2/dw2-anon-mptr.exp
13798 * gdb.dwarf2/dw2-anonymous-func.exp
13799 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13800 * gdb.dwarf2/dw2-bad-unresolved.exp
13801 * gdb.dwarf2/dw2-basic.exp
13802 * gdb.dwarf2/dw2-canonicalize-type.exp
13803 * gdb.dwarf2/dw2-case-insensitive.exp
13804 * gdb.dwarf2/dw2-common-block.exp
13805 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13806 * gdb.dwarf2/dw2-compressed.exp
13807 * gdb.dwarf2/dw2-const.exp
13808 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13809 * gdb.dwarf2/dw2-cu-size.exp
13810 * gdb.dwarf2/dw2-dup-frame.exp
13811 * gdb.dwarf2/dw2-entry-value.exp
13812 * gdb.dwarf2/dw2-icycle.exp
13813 * gdb.dwarf2/dw2-ifort-parameter.exp
13814 * gdb.dwarf2/dw2-inline-break.exp
13815 * gdb.dwarf2/dw2-inline-param.exp
13816 * gdb.dwarf2/dw2-intercu.exp
13817 * gdb.dwarf2/dw2-intermix.exp
13818 * gdb.dwarf2/dw2-lexical-block-bare.exp
13819 * gdb.dwarf2/dw2-linkage-name-trust.exp
13820 * gdb.dwarf2/dw2-minsym-in-cu.exp
13821 * gdb.dwarf2/dw2-noloc.exp
13822 * gdb.dwarf2/dw2-op-call.exp
13823 * gdb.dwarf2/dw2-op-out-param.exp
13824 * gdb.dwarf2/dw2-opt-structptr.exp
13825 * gdb.dwarf2/dw2-param-error.exp
13826 * gdb.dwarf2/dw2-producer.exp
13827 * gdb.dwarf2/dw2-ranges-base.exp
13828 * gdb.dwarf2/dw2-ref-missing-frame.exp
13829 * gdb.dwarf2/dw2-reg-undefined.exp
13830 * gdb.dwarf2/dw2-regno-invalid.exp
13831 * gdb.dwarf2/dw2-restore.exp
13832 * gdb.dwarf2/dw2-restrict.exp
13833 * gdb.dwarf2/dw2-single-line-discriminators.exp
13834 * gdb.dwarf2/dw2-strp.exp
13835 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13836 * gdb.dwarf2/dw2-unresolved.exp
13837 * gdb.dwarf2/dw2-var-zero-addr.exp
13838 * gdb.dwarf2/dw4-sig-types.exp
13839 * gdb.dwarf2/dwz.exp
13840 * gdb.dwarf2/dynarr-ptr.exp
13841 * gdb.dwarf2/enum-type.exp
13842 * gdb.dwarf2/gdb-index.exp
13843 * gdb.dwarf2/implptr-64bit.exp
13844 * gdb.dwarf2/implptr-optimized-out.exp
13845 * gdb.dwarf2/implptr.exp
13846 * gdb.dwarf2/implref-array.exp
13847 * gdb.dwarf2/implref-const.exp
13848 * gdb.dwarf2/implref-global.exp
13849 * gdb.dwarf2/implref-struct.exp
13850 * gdb.dwarf2/mac-fileno.exp
13851 * gdb.dwarf2/main-subprogram.exp
13852 * gdb.dwarf2/member-ptr-forwardref.exp
13853 * gdb.dwarf2/method-ptr.exp
13854 * gdb.dwarf2/missing-sig-type.exp
13855 * gdb.dwarf2/nonvar-access.exp
13856 * gdb.dwarf2/opaque-type-lookup.exp
13857 * gdb.dwarf2/pieces-optimized-out.exp
13858 * gdb.dwarf2/pieces.exp
13859 * gdb.dwarf2/pr10770.exp
13860 * gdb.dwarf2/pr13961.exp
13861 * gdb.dwarf2/staticvirtual.exp
13862 * gdb.dwarf2/subrange.exp
13863 * gdb.dwarf2/symtab-producer.exp
13864 * gdb.dwarf2/trace-crash.exp
13865 * gdb.dwarf2/typeddwarf.exp
13866 * gdb.dwarf2/valop.exp
13867 * gdb.dwarf2/watch-notconst.exp
13868 * gdb.fortran/array-element.exp
13869 * gdb.fortran/charset.exp
13870 * gdb.fortran/common-block.exp
13871 * gdb.fortran/complex.exp
13872 * gdb.fortran/derived-type-function.exp
13873 * gdb.fortran/derived-type.exp
13874 * gdb.fortran/logical.exp
13875 * gdb.fortran/module.exp
13876 * gdb.fortran/multi-dim.exp
13877 * gdb.fortran/nested-funcs.exp
13878 * gdb.fortran/print-formatted.exp
13879 * gdb.fortran/subarray.exp
13880 * gdb.fortran/vla-alloc-assoc.exp
13881 * gdb.fortran/vla-datatypes.exp
13882 * gdb.fortran/vla-history.exp
13883 * gdb.fortran/vla-ptr-info.exp
13884 * gdb.fortran/vla-ptype-sub.exp
13885 * gdb.fortran/vla-ptype.exp
13886 * gdb.fortran/vla-sizeof.exp
13887 * gdb.fortran/vla-type.exp
13888 * gdb.fortran/vla-value-sub-arbitrary.exp
13889 * gdb.fortran/vla-value-sub-finish.exp
13890 * gdb.fortran/vla-value-sub.exp
13891 * gdb.fortran/vla-value.exp
13892 * gdb.fortran/whatis_type.exp
13893 * gdb.go/chan.exp
13894 * gdb.go/handcall.exp
13895 * gdb.go/hello.exp
13896 * gdb.go/integers.exp
13897 * gdb.go/methods.exp
13898 * gdb.go/package.exp
13899 * gdb.go/strings.exp
13900 * gdb.go/types.exp
13901 * gdb.go/unsafe.exp
13902 * gdb.guile/scm-arch.exp
13903 * gdb.guile/scm-block.exp
13904 * gdb.guile/scm-breakpoint.exp
13905 * gdb.guile/scm-cmd.exp
13906 * gdb.guile/scm-disasm.exp
13907 * gdb.guile/scm-equal.exp
13908 * gdb.guile/scm-frame-args.exp
13909 * gdb.guile/scm-frame-inline.exp
13910 * gdb.guile/scm-frame.exp
13911 * gdb.guile/scm-iterator.exp
13912 * gdb.guile/scm-math.exp
13913 * gdb.guile/scm-objfile.exp
13914 * gdb.guile/scm-ports.exp
13915 * gdb.guile/scm-symbol.exp
13916 * gdb.guile/scm-symtab.exp
13917 * gdb.guile/scm-value-cc.exp
13918 * gdb.guile/types-module.exp
13919 * gdb.linespec/break-ask.exp
13920 * gdb.linespec/cpexplicit.exp
13921 * gdb.linespec/explicit.exp
13922 * gdb.linespec/keywords.exp
13923 * gdb.linespec/linespec.exp
13924 * gdb.linespec/ls-dollar.exp
13925 * gdb.linespec/ls-errs.exp
13926 * gdb.linespec/skip-two.exp
13927 * gdb.linespec/thread.exp
13928 * gdb.mi/mi-async.exp
13929 * gdb.mi/mi-basics.exp
13930 * gdb.mi/mi-break.exp
13931 * gdb.mi/mi-catch-load.exp
13932 * gdb.mi/mi-cli.exp
13933 * gdb.mi/mi-cmd-param-changed.exp
13934 * gdb.mi/mi-console.exp
13935 * gdb.mi/mi-detach.exp
13936 * gdb.mi/mi-disassemble.exp
13937 * gdb.mi/mi-eval.exp
13938 * gdb.mi/mi-file-transfer.exp
13939 * gdb.mi/mi-file.exp
13940 * gdb.mi/mi-fill-memory.exp
13941 * gdb.mi/mi-inheritance-syntax-error.exp
13942 * gdb.mi/mi-linespec-err-cp.exp
13943 * gdb.mi/mi-logging.exp
13944 * gdb.mi/mi-memory-changed.exp
13945 * gdb.mi/mi-read-memory.exp
13946 * gdb.mi/mi-record-changed.exp
13947 * gdb.mi/mi-reg-undefined.exp
13948 * gdb.mi/mi-regs.exp
13949 * gdb.mi/mi-return.exp
13950 * gdb.mi/mi-reverse.exp
13951 * gdb.mi/mi-simplerun.exp
13952 * gdb.mi/mi-solib.exp
13953 * gdb.mi/mi-stack.exp
13954 * gdb.mi/mi-stepi.exp
13955 * gdb.mi/mi-syn-frame.exp
13956 * gdb.mi/mi-until.exp
13957 * gdb.mi/mi-var-block.exp
13958 * gdb.mi/mi-var-child.exp
13959 * gdb.mi/mi-var-cmd.exp
13960 * gdb.mi/mi-var-cp.exp
13961 * gdb.mi/mi-var-display.exp
13962 * gdb.mi/mi-var-invalidate.exp
13963 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13964 * gdb.mi/mi-vla-fortran.exp
13965 * gdb.mi/mi-watch.exp
13966 * gdb.mi/mi2-var-child.exp
13967 * gdb.mi/user-selected-context-sync.exp
13968 * gdb.modula2/unbounded-array.exp
13969 * gdb.multi/dummy-frame-restore.exp
13970 * gdb.multi/multi-arch-exec.exp
13971 * gdb.multi/multi-arch.exp
13972 * gdb.multi/tids.exp
13973 * gdb.multi/watchpoint-multi.exp
13974 * gdb.opencl/callfuncs.exp
13975 * gdb.opencl/convs_casts.exp
13976 * gdb.opencl/datatypes.exp
13977 * gdb.opencl/operators.exp
13978 * gdb.opencl/vec_comps.exp
13979 * gdb.opt/clobbered-registers-O2.exp
13980 * gdb.opt/inline-break.exp
13981 * gdb.opt/inline-bt.exp
13982 * gdb.opt/inline-cmds.exp
13983 * gdb.opt/inline-locals.exp
13984 * gdb.pascal/case-insensitive-symbols.exp
13985 * gdb.pascal/floats.exp
13986 * gdb.pascal/gdb11492.exp
13987 * gdb.python/lib-types.exp
13988 * gdb.python/py-arch.exp
13989 * gdb.python/py-as-string.exp
13990 * gdb.python/py-bad-printers.exp
13991 * gdb.python/py-block.exp
13992 * gdb.python/py-breakpoint-create-fail.exp
13993 * gdb.python/py-breakpoint.exp
13994 * gdb.python/py-caller-is.exp
13995 * gdb.python/py-cmd.exp
13996 * gdb.python/py-explore-cc.exp
13997 * gdb.python/py-explore.exp
13998 * gdb.python/py-finish-breakpoint.exp
13999 * gdb.python/py-finish-breakpoint2.exp
14000 * gdb.python/py-frame-args.exp
14001 * gdb.python/py-frame-inline.exp
14002 * gdb.python/py-frame.exp
14003 * gdb.python/py-framefilter-mi.exp
14004 * gdb.python/py-infthread.exp
14005 * gdb.python/py-lazy-string.exp
14006 * gdb.python/py-linetable.exp
14007 * gdb.python/py-mi-events.exp
14008 * gdb.python/py-mi-objfile.exp
14009 * gdb.python/py-mi.exp
14010 * gdb.python/py-objfile.exp
14011 * gdb.python/py-pp-integral.exp
14012 * gdb.python/py-pp-maint.exp
14013 * gdb.python/py-pp-re-notag.exp
14014 * gdb.python/py-pp-registration.exp
14015 * gdb.python/py-recurse-unwind.exp
14016 * gdb.python/py-strfns.exp
14017 * gdb.python/py-symbol.exp
14018 * gdb.python/py-symtab.exp
14019 * gdb.python/py-sync-interp.exp
14020 * gdb.python/py-typeprint.exp
14021 * gdb.python/py-unwind-maint.exp
14022 * gdb.python/py-unwind.exp
14023 * gdb.python/py-value-cc.exp
14024 * gdb.python/py-xmethods.exp
14025 * gdb.reverse/amd64-tailcall-reverse.exp
14026 * gdb.reverse/break-precsave.exp
14027 * gdb.reverse/break-reverse.exp
14028 * gdb.reverse/consecutive-precsave.exp
14029 * gdb.reverse/consecutive-reverse.exp
14030 * gdb.reverse/finish-precsave.exp
14031 * gdb.reverse/finish-reverse-bkpt.exp
14032 * gdb.reverse/finish-reverse.exp
14033 * gdb.reverse/fstatat-reverse.exp
14034 * gdb.reverse/getresuid-reverse.exp
14035 * gdb.reverse/i386-precsave.exp
14036 * gdb.reverse/i386-reverse.exp
14037 * gdb.reverse/i386-sse-reverse.exp
14038 * gdb.reverse/i387-env-reverse.exp
14039 * gdb.reverse/i387-stack-reverse.exp
14040 * gdb.reverse/insn-reverse.exp
14041 * gdb.reverse/machinestate-precsave.exp
14042 * gdb.reverse/machinestate.exp
14043 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14044 * gdb.reverse/pipe-reverse.exp
14045 * gdb.reverse/readv-reverse.exp
14046 * gdb.reverse/recvmsg-reverse.exp
14047 * gdb.reverse/rerun-prec.exp
14048 * gdb.reverse/s390-mvcle.exp
14049 * gdb.reverse/step-precsave.exp
14050 * gdb.reverse/step-reverse.exp
14051 * gdb.reverse/time-reverse.exp
14052 * gdb.reverse/until-precsave.exp
14053 * gdb.reverse/until-reverse.exp
14054 * gdb.reverse/waitpid-reverse.exp
14055 * gdb.reverse/watch-precsave.exp
14056 * gdb.reverse/watch-reverse.exp
14057 * gdb.rust/generics.exp
14058 * gdb.rust/methods.exp
14059 * gdb.rust/modules.exp
14060 * gdb.rust/simple.exp
14061 * gdb.server/connect-with-no-symbol-file.exp
14062 * gdb.server/ext-attach.exp
14063 * gdb.server/ext-restart.exp
14064 * gdb.server/ext-wrapper.exp
14065 * gdb.server/file-transfer.exp
14066 * gdb.server/server-exec-info.exp
14067 * gdb.server/server-kill.exp
14068 * gdb.server/server-mon.exp
14069 * gdb.server/wrapper.exp
14070 * gdb.stabs/exclfwd.exp
14071 * gdb.stabs/gdb11479.exp
14072 * gdb.threads/clone-new-thread-event.exp
14073 * gdb.threads/corethreads.exp
14074 * gdb.threads/current-lwp-dead.exp
14075 * gdb.threads/dlopen-libpthread.exp
14076 * gdb.threads/gcore-thread.exp
14077 * gdb.threads/sigstep-threads.exp
14078 * gdb.threads/watchpoint-fork.exp
14079 * gdb.trace/actions-changed.exp
14080 * gdb.trace/backtrace.exp
14081 * gdb.trace/change-loc.exp
14082 * gdb.trace/circ.exp
14083 * gdb.trace/collection.exp
14084 * gdb.trace/disconnected-tracing.exp
14085 * gdb.trace/ftrace.exp
14086 * gdb.trace/mi-trace-frame-collected.exp
14087 * gdb.trace/mi-trace-unavailable.exp
14088 * gdb.trace/mi-traceframe-changed.exp
14089 * gdb.trace/mi-tsv-changed.exp
14090 * gdb.trace/no-attach-trace.exp
14091 * gdb.trace/passc-dyn.exp
14092 * gdb.trace/qtro.exp
14093 * gdb.trace/range-stepping.exp
14094 * gdb.trace/read-memory.exp
14095 * gdb.trace/save-trace.exp
14096 * gdb.trace/signal.exp
14097 * gdb.trace/status-stop.exp
14098 * gdb.trace/tfile.exp
14099 * gdb.trace/trace-break.exp
14100 * gdb.trace/trace-buffer-size.exp
14101 * gdb.trace/trace-condition.exp
14102 * gdb.trace/tracefile-pseudo-reg.exp
14103 * gdb.trace/tstatus.exp
14104 * gdb.trace/unavailable.exp
14105 * gdb.trace/while-dyn.exp
14106 * gdb.trace/while-stepping.exp
14107
34c41c68
DE
141082016-12-22 Doug Evans <xdje42@gmail.com>
14109
14110 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14111 and msymbols.
14112
16e69324
YQ
141132016-12-19 Yao Qi <yao.qi@linaro.org>
14114
14115 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14116 (test_with_self): Don't call do_steps_and_nexts, and remove
14117 code about stepping into xmalloc.
14118
f94f411b
YQ
141192016-12-09 Yao Qi <yao.qi@linaro.org>
14120
14121 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14122
141232016-12-09 Yao Qi <yao.qi@linaro.org>
14124
14125 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14126
f1b5deee
PA
141272016-12-09 Pedro Alves <palves@redhat.com>
14128
14129 * gdb.base/all-architectures-0.exp: New file.
14130 * gdb.base/all-architectures-1.exp: New file.
14131 * gdb.base/all-architectures-2.exp: New file.
14132 * gdb.base/all-architectures-3.exp: New file.
14133 * gdb.base/all-architectures-4.exp: New file.
14134 * gdb.base/all-architectures-5.exp: New file.
14135 * gdb.base/all-architectures-6.exp: New file.
14136 * gdb.base/all-architectures-7.exp: New file.
14137 * gdb.base/all-architectures.exp.in: New file.
14138
364ca42e
YQ
141392016-12-09 Yao Qi <yao.qi@linaro.org>
14140
14141 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14142
107c2d62
LM
141432016-12-02 Luis Machado <lgustavo@codesourcery.com>
14144
14145 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14146 possible.
14147 Remove useless pattern-matching code.
14148
df3ee9ca
PA
141492016-12-02 Pedro Alves <palves@redhat.com>
14150
14151 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14152 procedure.
14153 (top level): Call it.
14154
ec835369
PA
141552016-12-02 Pedro Alves <palves@redhat.com>
14156
14157 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14158 New procedure.
14159 (top level): Call it.
14160
01770bbd
PA
141612016-12-02 Pedro Alves <palves@redhat.com>
14162
14163 PR cli/20559
14164 * gdb.base/commands.exp (user_defined_command_args_eval): New
14165 procedure.
14166 (top level): Call it.
14167
008459ea
LM
141682016-12-02 Luis Machado <lgustavo@codesourcery.com>
14169
14170 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14171 timeout handling.
14172
0c1b455e
TT
141732016-12-02 Tom Tromey <tom@tromey.com>
14174
14175 * gdb.dwarf2/main-subprogram.c: New file.
14176 * gdb.dwarf2/main-subprogram.exp: New file.
14177
018572b8
LM
141782016-12-01 Luis Machado <lgustavo@codesourcery.com>
14179
14180 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14181 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14182 gdb_test_no_output for a couple of cases.
14183 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14184
84c93cd5
LM
141852016-12-01 Luis Machado <lgustavo@codesourcery.com>
14186
14187 Fix test names and standardize compilation error messages throughout
14188 the following files:
14189
14190 * gdb.ada/start.exp
14191 * gdb.arch/alpha-step.exp
14192 * gdb.arch/e500-prologue.exp
14193 * gdb.arch/ftrace-insn-reloc.exp
14194 * gdb.arch/gdb1291.exp
14195 * gdb.arch/gdb1431.exp
14196 * gdb.arch/gdb1558.exp
14197 * gdb.arch/i386-dr3-watch.exp
14198 * gdb.arch/i386-sse-stack-align.exp
14199 * gdb.arch/ia64-breakpoint-shadow.exp
14200 * gdb.arch/pa-nullify.exp
14201 * gdb.arch/powerpc-aix-prologue.exp
14202 * gdb.arch/thumb-bx-pc.exp
14203 * gdb.base/annota1.exp
14204 * gdb.base/annota3.exp
14205 * gdb.base/arrayidx.exp
14206 * gdb.base/assign.exp
14207 * gdb.base/attach.exp
14208 * gdb.base/auxv.exp
14209 * gdb.base/bang.exp
14210 * gdb.base/bfp-test.exp
14211 * gdb.base/bigcore.exp
14212 * gdb.base/bitfields2.exp
14213 * gdb.base/break-fun-addr.exp
14214 * gdb.base/break-probes.exp
14215 * gdb.base/call-rt-st.exp
14216 * gdb.base/callexit.exp
14217 * gdb.base/catch-fork-kill.exp
14218 * gdb.base/charset.exp
14219 * gdb.base/checkpoint.exp
14220 * gdb.base/comprdebug.exp
14221 * gdb.base/constvars.exp
14222 * gdb.base/coredump-filter.exp
14223 * gdb.base/cursal.exp
14224 * gdb.base/cvexpr.exp
14225 * gdb.base/detach.exp
14226 * gdb.base/display.exp
14227 * gdb.base/dmsym.exp
14228 * gdb.base/dprintf-pending.exp
14229 * gdb.base/dso2dso.exp
14230 * gdb.base/dtrace-probe.exp
14231 * gdb.base/dump.exp
14232 * gdb.base/enum_cond.exp
14233 * gdb.base/exe-lock.exp
14234 * gdb.base/exec-invalid-sysroot.exp
14235 * gdb.base/execl-update-breakpoints.exp
14236 * gdb.base/exprs.exp
14237 * gdb.base/fileio.exp
14238 * gdb.base/find.exp
14239 * gdb.base/finish.exp
14240 * gdb.base/fixsection.exp
14241 * gdb.base/foll-vfork.exp
14242 * gdb.base/frame-args.exp
14243 * gdb.base/gcore.exp
14244 * gdb.base/gdb1250.exp
14245 * gdb.base/global-var-nested-by-dso.exp
14246 * gdb.base/gnu-ifunc.exp
14247 * gdb.base/hashline1.exp
14248 * gdb.base/hashline2.exp
14249 * gdb.base/hashline3.exp
14250 * gdb.base/hbreak-in-shr-unsupported.exp
14251 * gdb.base/huge.exp
14252 * gdb.base/infcall-input.exp
14253 * gdb.base/info-fun.exp
14254 * gdb.base/info-shared.exp
14255 * gdb.base/jit-simple.exp
14256 * gdb.base/jit-so.exp
14257 * gdb.base/jit.exp
14258 * gdb.base/jump.exp
14259 * gdb.base/label.exp
14260 * gdb.base/lineinc.exp
14261 * gdb.base/logical.exp
14262 * gdb.base/longjmp.exp
14263 * gdb.base/macscp.exp
14264 * gdb.base/miscexprs.exp
14265 * gdb.base/new-ui-echo.exp
14266 * gdb.base/new-ui-pending-input.exp
14267 * gdb.base/new-ui.exp
14268 * gdb.base/nodebug.exp
14269 * gdb.base/nofield.exp
14270 * gdb.base/offsets.exp
14271 * gdb.base/overlays.exp
14272 * gdb.base/pending.exp
14273 * gdb.base/pointers.exp
14274 * gdb.base/pr11022.exp
14275 * gdb.base/printcmds.exp
14276 * gdb.base/prologue.exp
14277 * gdb.base/ptr-typedef.exp
14278 * gdb.base/realname-expand.exp
14279 * gdb.base/relativedebug.exp
14280 * gdb.base/relocate.exp
14281 * gdb.base/remote.exp
14282 * gdb.base/reread.exp
14283 * gdb.base/return2.exp
14284 * gdb.base/savedregs.exp
14285 * gdb.base/sep.exp
14286 * gdb.base/sepdebug.exp
14287 * gdb.base/sepsymtab.exp
14288 * gdb.base/set-inferior-tty.exp
14289 * gdb.base/setshow.exp
14290 * gdb.base/shlib-call.exp
14291 * gdb.base/sigaltstack.exp
14292 * gdb.base/siginfo-addr.exp
14293 * gdb.base/signals.exp
14294 * gdb.base/signull.exp
14295 * gdb.base/sigrepeat.exp
14296 * gdb.base/so-impl-ld.exp
14297 * gdb.base/solib-display.exp
14298 * gdb.base/solib-overlap.exp
14299 * gdb.base/solib-search.exp
14300 * gdb.base/solib-symbol.exp
14301 * gdb.base/structs.exp
14302 * gdb.base/structs2.exp
14303 * gdb.base/symtab-search-order.exp
14304 * gdb.base/twice.exp
14305 * gdb.base/unload.exp
14306 * gdb.base/varargs.exp
14307 * gdb.base/watchpoint-solib.exp
14308 * gdb.base/watchpoint.exp
14309 * gdb.base/whatis.exp
14310 * gdb.base/wrong_frame_bt_full.exp
14311 * gdb.btrace/dlopen.exp
14312 * gdb.cell/ea-standalone.exp
14313 * gdb.cell/ea-test.exp
14314 * gdb.cp/dispcxx.exp
14315 * gdb.cp/gdb2384.exp
14316 * gdb.cp/method2.exp
14317 * gdb.cp/nextoverthrow.exp
14318 * gdb.cp/pr10728.exp
14319 * gdb.disasm/am33.exp
14320 * gdb.disasm/h8300s.exp
14321 * gdb.disasm/mn10300.exp
14322 * gdb.disasm/sh3.exp
14323 * gdb.dwarf2/dw2-dir-file-name.exp
14324 * gdb.fortran/complex.exp
14325 * gdb.fortran/library-module.exp
14326 * gdb.guile/scm-pretty-print.exp
14327 * gdb.guile/scm-symbol.exp
14328 * gdb.guile/scm-type.exp
14329 * gdb.guile/scm-value.exp
14330 * gdb.linespec/linespec.exp
14331 * gdb.mi/gdb701.exp
14332 * gdb.mi/gdb792.exp
14333 * gdb.mi/mi-breakpoint-changed.exp
14334 * gdb.mi/mi-dprintf-pending.exp
14335 * gdb.mi/mi-dprintf.exp
14336 * gdb.mi/mi-exit-code.exp
14337 * gdb.mi/mi-pending.exp
14338 * gdb.mi/mi-solib.exp
14339 * gdb.mi/new-ui-mi-sync.exp
14340 * gdb.mi/pr11022.exp
14341 * gdb.mi/user-selected-context-sync.exp
14342 * gdb.opt/solib-intra-step.exp
14343 * gdb.python/py-events.exp
14344 * gdb.python/py-finish-breakpoint.exp
14345 * gdb.python/py-mi.exp
14346 * gdb.python/py-prettyprint.exp
14347 * gdb.python/py-shared.exp
14348 * gdb.python/py-symbol.exp
14349 * gdb.python/py-template.exp
14350 * gdb.python/py-type.exp
14351 * gdb.python/py-value.exp
14352 * gdb.reverse/solib-precsave.exp
14353 * gdb.reverse/solib-reverse.exp
14354 * gdb.server/solib-list.exp
14355 * gdb.stabs/weird.exp
14356 * gdb.threads/reconnect-signal.exp
14357 * gdb.threads/stepi-random-signal.exp
14358 * gdb.trace/actions.exp
14359 * gdb.trace/ax.exp
14360 * gdb.trace/backtrace.exp
14361 * gdb.trace/change-loc.exp
14362 * gdb.trace/deltrace.exp
14363 * gdb.trace/ftrace-lock.exp
14364 * gdb.trace/ftrace.exp
14365 * gdb.trace/infotrace.exp
14366 * gdb.trace/mi-tracepoint-changed.exp
14367 * gdb.trace/packetlen.exp
14368 * gdb.trace/passcount.exp
14369 * gdb.trace/pending.exp
14370 * gdb.trace/range-stepping.exp
14371 * gdb.trace/report.exp
14372 * gdb.trace/stap-trace.exp
14373 * gdb.trace/tfind.exp
14374 * gdb.trace/trace-break.exp
14375 * gdb.trace/trace-condition.exp
14376 * gdb.trace/trace-enable-disable.exp
14377 * gdb.trace/trace-mt.exp
14378 * gdb.trace/tracecmd.exp
14379 * gdb.trace/tspeed.exp
14380 * gdb.trace/tsv.exp
14381 * lib/perftest.exp
14382
fb9feb35
LM
143832016-12-01 Luis Machado <lgustavo@codesourcery.com>
14384
14385 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14386 with gdb_test_no_output.
14387 Use command as test name.
14388
cd2ddb6c
LM
143892016-12-01 Luis Machado <lgustavo@codesourcery.com>
14390
14391 Fix test names starting with uppercase throughout the files.
14392
14393 * gdb.ada/assign_1.exp
14394 * gdb.ada/boolean_expr.exp
14395 * gdb.base/arrayidx.exp
14396 * gdb.base/del.exp
14397 * gdb.base/gcore-buffer-overflow.exp
14398 * gdb.base/testenv.exp
14399 * gdb.compile/compile.exp
14400 * gdb.python/py-framefilter-invalidarg.exp
14401 * gdb.python/py-framefilter.exp
14402
bb95117e
LM
144032016-12-01 Luis Machado <lgustavo@codesourcery.com>
14404
14405 Fix test names starting with uppercase throughout the files.
14406
14407 * gdb.ada/array_return.exp
14408 * gdb.ada/expr_delims.exp
14409 * gdb.ada/mi_dyn_arr.exp
14410 * gdb.ada/mi_interface.exp
14411 * gdb.ada/mi_var_array.exp
14412 * gdb.ada/watch_arg.exp
14413 * gdb.arch/alpha-step.exp
14414 * gdb.arch/altivec-regs.exp
14415 * gdb.arch/e500-regs.exp
14416 * gdb.arch/powerpc-d128-regs.exp
14417 * gdb.base/arrayidx.exp
14418 * gdb.base/break.exp
14419 * gdb.base/checkpoint.exp
14420 * gdb.base/debug-expr.exp
14421 * gdb.base/dmsym.exp
14422 * gdb.base/radix.exp
14423 * gdb.base/sepdebug.exp
14424 * gdb.base/testenv.exp
14425 * gdb.base/watch_thread_num.exp
14426 * gdb.base/watchpoint-cond-gone.exp
14427 * gdb.cell/break.exp
14428 * gdb.cell/ea-cache.exp
14429 * gdb.compile/compile.exp
14430 * gdb.cp/gdb2495.exp
14431 * gdb.gdb/selftest.exp
14432 * gdb.gdb/xfullpath.exp
14433 * gdb.go/hello.exp
14434 * gdb.go/integers.exp
14435 * gdb.objc/basicclass.exp
14436 * gdb.pascal/hello.exp
14437 * gdb.pascal/integers.exp
14438 * gdb.python/py-breakpoint.exp
14439 * gdb.python/py-cmd.exp
14440 * gdb.python/py-linetable.exp
14441 * gdb.python/py-xmethods.exp
14442 * gdb.python/python.exp
14443 * gdb.reverse/consecutive-precsave.exp
14444 * gdb.reverse/finish-precsave.exp
14445 * gdb.reverse/i386-precsave.exp
14446 * gdb.reverse/machinestate-precsave.exp
14447 * gdb.reverse/sigall-precsave.exp
14448 * gdb.reverse/solib-precsave.exp
14449 * gdb.reverse/step-precsave.exp
14450 * gdb.reverse/until-precsave.exp
14451 * gdb.reverse/watch-precsave.exp
14452 * gdb.threads/leader-exit.exp
14453 * gdb.threads/pthreads.exp
14454 * gdb.threads/wp-replication.exp
14455 * gdb.trace/actions.exp
14456 * gdb.trace/mi-tsv-changed.exp
14457 * gdb.trace/tsv.exp
14458
de97fdd4
LM
144592016-12-01 Luis Machado <lgustavo@codesourcery.com>
14460
14461 Fix test names starting with uppercase throughout the files.
14462
14463 * gdb.arch/i386-bp_permanent.exp
14464 * gdb.arch/i386-gnu-cfi.exp
14465 * gdb.base/disasm-end-cu.exp
14466 * gdb.base/macscp.exp
14467 * gdb.base/pending.exp
14468 * gdb.base/watch_thread_num.exp
14469 * gdb.cp/exception.exp
14470 * gdb.cp/gdb2495.exp
14471 * gdb.cp/local.exp
14472 * gdb.python/py-evsignal.exp
14473 * gdb.python/python.exp
14474 * gdb.trace/tracecmd.exp
14475
9f058c10
LM
144762016-12-01 Luis Machado <lgustavo@codesourcery.com>
14477
14478 Fix test names starting with uppercase throughout the files.
14479
14480 * gdb.base/charset.exp
14481 * gdb.base/eval.exp
14482 * gdb.base/multi-forks.exp
14483 * gdb.guile/scm-progspace.exp
14484 * gdb.opencl/datatypes.exp
14485 * gdb.python/py-block.exp
14486 * gdb.python/py-function.exp
14487 * gdb.python/py-symbol.exp
14488 * gdb.python/py-symtab.exp
14489 * gdb.python/py-xmethods.exp
14490 * gdb.reverse/break-precsave.exp
14491 * gdb.reverse/break-reverse.exp
14492 * gdb.reverse/consecutive-precsave.exp
14493 * gdb.reverse/consecutive-reverse.exp
14494 * gdb.reverse/finish-precsave.exp
14495 * gdb.reverse/finish-reverse-bkpt.exp
14496 * gdb.reverse/finish-reverse.exp
14497 * gdb.reverse/fstatat-reverse.exp
14498 * gdb.reverse/getresuid-reverse.exp
14499 * gdb.reverse/i386-precsave.exp
14500 * gdb.reverse/i386-reverse.exp
14501 * gdb.reverse/i386-sse-reverse.exp
14502 * gdb.reverse/i387-stack-reverse.exp
14503 * gdb.reverse/insn-reverse.exp
14504 * gdb.reverse/machinestate-precsave.exp
14505 * gdb.reverse/machinestate.exp
14506 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14507 * gdb.reverse/pipe-reverse.exp
14508 * gdb.reverse/readv-reverse.exp
14509 * gdb.reverse/recvmsg-reverse.exp
14510 * gdb.reverse/rerun-prec.exp
14511 * gdb.reverse/s390-mvcle.exp
14512 * gdb.reverse/sigall-precsave.exp
14513 * gdb.reverse/sigall-reverse.exp
14514 * gdb.reverse/solib-precsave.exp
14515 * gdb.reverse/solib-reverse.exp
14516 * gdb.reverse/step-precsave.exp
14517 * gdb.reverse/step-reverse.exp
14518 * gdb.reverse/time-reverse.exp
14519 * gdb.reverse/until-precsave.exp
14520 * gdb.reverse/until-reverse.exp
14521 * gdb.reverse/waitpid-reverse.exp
14522 * gdb.reverse/watch-precsave.exp
14523 * gdb.reverse/watch-reverse.exp
14524
cdc7edd7
LM
145252016-12-01 Luis Machado <lgustavo@codesourcery.com>
14526
14527 Fix test names starting with uppercase throughout the files.
14528
14529 * gdb.arch/i386-mpx-simple_segv.exp
14530 * gdb.arch/i386-mpx.exp
14531 * gdb.arch/i386-permbkpt.exp
14532 * gdb.arch/pa-nullify.exp
14533 * gdb.arch/powerpc-d128-regs.exp
14534 * gdb.arch/vsx-regs.exp
14535 * gdb.base/bfp-test.exp
14536 * gdb.base/break.exp
14537 * gdb.base/breakpoint-shadow.exp
14538 * gdb.base/callfuncs.exp
14539 * gdb.base/charset.exp
14540 * gdb.base/commands.exp
14541 * gdb.base/completion.exp
14542 * gdb.base/dfp-test.exp
14543 * gdb.base/echo.exp
14544 * gdb.base/ending-run.exp
14545 * gdb.base/eval.exp
14546 * gdb.base/expand-psymtabs.exp
14547 * gdb.base/float128.exp
14548 * gdb.base/floatn.exp
14549 * gdb.base/foll-exec-mode.exp
14550 * gdb.base/gdb1056.exp
14551 * gdb.base/gdb11531.exp
14552 * gdb.base/kill-after-signal.exp
14553 * gdb.base/multi-forks.exp
14554 * gdb.base/overlays.exp
14555 * gdb.base/pending.exp
14556 * gdb.base/sepdebug.exp
14557 * gdb.base/testenv.exp
14558 * gdb.base/valgrind-db-attach.exp
14559 * gdb.base/watch_thread_num.exp
14560 * gdb.base/watchpoint-cond-gone.exp
14561 * gdb.base/watchpoint.exp
14562 * gdb.base/watchpoints.exp
14563 * gdb.cp/arg-reference.exp
14564 * gdb.cp/baseenum.exp
14565 * gdb.cp/operator.exp
14566 * gdb.cp/shadow.exp
14567 * gdb.dwarf2/dw2-op-out-param.exp
14568 * gdb.dwarf2/dw2-reg-undefined.exp
14569 * gdb.go/chan.exp
14570 * gdb.go/hello.exp
14571 * gdb.go/integers.exp
14572 * gdb.go/methods.exp
14573 * gdb.go/package.exp
14574 * gdb.guile/scm-parameter.exp
14575 * gdb.guile/scm-progspace.exp
14576 * gdb.guile/scm-value.exp
14577 * gdb.mi/mi-pending.exp
14578 * gdb.mi/user-selected-context-sync.exp
14579 * gdb.multi/multi-attach.exp
14580 * gdb.multi/tids.exp
14581 * gdb.opt/clobbered-registers-O2.exp
14582 * gdb.pascal/floats.exp
14583 * gdb.pascal/integers.exp
14584 * gdb.python/py-block.exp
14585 * gdb.python/py-events.exp
14586 * gdb.python/py-parameter.exp
14587 * gdb.python/py-symbol.exp
14588 * gdb.python/py-symtab.exp
14589 * gdb.python/py-type.exp
14590 * gdb.python/py-value.exp
14591 * gdb.python/py-xmethods.exp
14592 * gdb.python/python.exp
14593 * gdb.reverse/break-precsave.exp
14594 * gdb.reverse/consecutive-precsave.exp
14595 * gdb.reverse/finish-precsave.exp
14596 * gdb.reverse/i386-precsave.exp
14597 * gdb.reverse/machinestate-precsave.exp
14598 * gdb.reverse/sigall-precsave.exp
14599 * gdb.reverse/solib-precsave.exp
14600 * gdb.reverse/step-precsave.exp
14601 * gdb.reverse/until-precsave.exp
14602 * gdb.reverse/watch-precsave.exp
14603 * gdb.server/ext-attach.exp
14604 * gdb.server/ext-restart.exp
14605 * gdb.server/ext-run.exp
14606 * gdb.server/ext-wrapper.exp
14607 * gdb.stabs/gdb11479.exp
14608 * gdb.stabs/weird.exp
14609 * gdb.threads/attach-many-short-lived-threads.exp
14610 * gdb.threads/kill.exp
14611 * gdb.threads/watchpoint-fork.exp
14612
bc6c7af4
LM
146132016-12-01 Luis Machado <lgustavo@codesourcery.com>
14614
14615 Fix test names starting with uppercase throughout all the files below.
14616
14617 * gdb.ada/array_return.exp
14618 * gdb.ada/catch_ex.exp
14619 * gdb.ada/info_exc.exp
14620 * gdb.ada/mi_catch_ex.exp
14621 * gdb.ada/mi_dyn_arr.exp
14622 * gdb.ada/mi_ex_cond.exp
14623 * gdb.ada/mi_exc_info.exp
14624 * gdb.ada/mi_interface.exp
14625 * gdb.ada/mi_task_arg.exp
14626 * gdb.ada/mi_task_info.exp
14627 * gdb.ada/mi_var_array.exp
14628 * gdb.arch/alpha-step.exp
14629 * gdb.arch/amd64-disp-step.exp
14630 * gdb.arch/arm-disp-step.exp
14631 * gdb.arch/disp-step-insn-reloc.exp
14632 * gdb.arch/e500-prologue.exp
14633 * gdb.arch/ftrace-insn-reloc.exp
14634 * gdb.arch/gdb1558.exp
14635 * gdb.arch/i386-bp_permanent.exp
14636 * gdb.arch/i386-disp-step.exp
14637 * gdb.arch/i386-float.exp
14638 * gdb.arch/i386-gnu-cfi.exp
14639 * gdb.arch/ia64-breakpoint-shadow.exp
14640 * gdb.arch/mips16-thunks.exp
14641 * gdb.arch/pa-nullify.exp
14642 * gdb.arch/powerpc-aix-prologue.exp
14643 * gdb.arch/powerpc-power.exp
14644 * gdb.arch/ppc-dfp.exp
14645 * gdb.arch/s390-tdbregs.exp
14646 * gdb.arch/spu-info.exp
14647 * gdb.arch/spu-ls.exp
14648 * gdb.arch/thumb-bx-pc.exp
14649 * gdb.base/advance.exp
14650 * gdb.base/annota-input-while-running.exp
14651 * gdb.base/arrayidx.exp
14652 * gdb.base/asmlabel.exp
14653 * gdb.base/async.exp
14654 * gdb.base/attach-wait-input.exp
14655 * gdb.base/auto-connect-native-target.exp
14656 * gdb.base/batch-preserve-term-settings.exp
14657 * gdb.base/bfp-test.exp
14658 * gdb.base/bigcore.exp
14659 * gdb.base/bp-permanent.exp
14660 * gdb.base/break-always.exp
14661 * gdb.base/break-fun-addr.exp
14662 * gdb.base/break-idempotent.exp
14663 * gdb.base/break-main-file-remove-fail.exp
14664 * gdb.base/break-probes.exp
14665 * gdb.base/break-unload-file.exp
14666 * gdb.base/break.exp
14667 * gdb.base/call-ar-st.exp
14668 * gdb.base/call-rt-st.exp
14669 * gdb.base/call-sc.exp
14670 * gdb.base/call-signal-resume.exp
14671 * gdb.base/call-strs.exp
14672 * gdb.base/callexit.exp
14673 * gdb.base/callfuncs.exp
14674 * gdb.base/catch-gdb-caused-signals.exp
14675 * gdb.base/catch-signal-siginfo-cond.exp
14676 * gdb.base/catch-syscall.exp
14677 * gdb.base/compare-sections.exp
14678 * gdb.base/cond-eval-mode.exp
14679 * gdb.base/condbreak-call-false.exp
14680 * gdb.base/consecutive-step-over.exp
14681 * gdb.base/cursal.exp
14682 * gdb.base/disabled-location.exp
14683 * gdb.base/disasm-end-cu.exp
14684 * gdb.base/display.exp
14685 * gdb.base/double-prompt-target-event-error.exp
14686 * gdb.base/dprintf-bp-same-addr.exp
14687 * gdb.base/dprintf-detach.exp
14688 * gdb.base/dprintf-next.exp
14689 * gdb.base/dprintf-non-stop.exp
14690 * gdb.base/dprintf-pending.exp
14691 * gdb.base/dso2dso.exp
14692 * gdb.base/ending-run.exp
14693 * gdb.base/enum_cond.exp
14694 * gdb.base/examine-backward.exp
14695 * gdb.base/exe-lock.exp
14696 * gdb.base/exec-invalid-sysroot.exp
14697 * gdb.base/execl-update-breakpoints.exp
14698 * gdb.base/execution-termios.exp
14699 * gdb.base/fileio.exp
14700 * gdb.base/fixsection.exp
14701 * gdb.base/foll-exec-mode.exp
14702 * gdb.base/foll-exec.exp
14703 * gdb.base/fork-running-state.exp
14704 * gdb.base/frame-args.exp
14705 * gdb.base/fullpath-expand.exp
14706 * gdb.base/func-ptr.exp
14707 * gdb.base/gcore-relro-pie.exp
14708 * gdb.base/gdb1090.exp
14709 * gdb.base/gdb1555.exp
14710 * gdb.base/global-var-nested-by-dso.exp
14711 * gdb.base/gnu-ifunc.exp
14712 * gdb.base/hbreak-in-shr-unsupported.exp
14713 * gdb.base/hbreak-unmapped.exp
14714 * gdb.base/hook-stop.exp
14715 * gdb.base/infcall-input.exp
14716 * gdb.base/info-fun.exp
14717 * gdb.base/info-shared.exp
14718 * gdb.base/interrupt-noterm.exp
14719 * gdb.base/jit-so.exp
14720 * gdb.base/jit.exp
14721 * gdb.base/line-symtabs.exp
14722 * gdb.base/list.exp
14723 * gdb.base/longjmp.exp
14724 * gdb.base/macscp.exp
14725 * gdb.base/max-value-size.exp
14726 * gdb.base/nodebug.exp
14727 * gdb.base/nofield.exp
14728 * gdb.base/overlays.exp
14729 * gdb.base/paginate-after-ctrl-c-running.exp
14730 * gdb.base/paginate-bg-execution.exp
14731 * gdb.base/paginate-inferior-exit.exp
14732 * gdb.base/pending.exp
14733 * gdb.base/pr11022.exp
14734 * gdb.base/printcmds.exp
14735 * gdb.base/ptr-typedef.exp
14736 * gdb.base/ptype.exp
14737 * gdb.base/randomize.exp
14738 * gdb.base/range-stepping.exp
14739 * gdb.base/realname-expand.exp
14740 * gdb.base/relativedebug.exp
14741 * gdb.base/remote.exp
14742 * gdb.base/savedregs.exp
14743 * gdb.base/sepdebug.exp
14744 * gdb.base/set-noassign.exp
14745 * gdb.base/shlib-call.exp
14746 * gdb.base/shreloc.exp
14747 * gdb.base/sigaltstack.exp
14748 * gdb.base/sigbpt.exp
14749 * gdb.base/siginfo-addr.exp
14750 * gdb.base/siginfo-obj.exp
14751 * gdb.base/siginfo-thread.exp
14752 * gdb.base/signest.exp
14753 * gdb.base/signull.exp
14754 * gdb.base/sigrepeat.exp
14755 * gdb.base/skip.exp
14756 * gdb.base/so-impl-ld.exp
14757 * gdb.base/solib-corrupted.exp
14758 * gdb.base/solib-disc.exp
14759 * gdb.base/solib-display.exp
14760 * gdb.base/solib-overlap.exp
14761 * gdb.base/solib-search.exp
14762 * gdb.base/solib-symbol.exp
14763 * gdb.base/source-execution.exp
14764 * gdb.base/sss-bp-on-user-bp-2.exp
14765 * gdb.base/sss-bp-on-user-bp.exp
14766 * gdb.base/stack-checking.exp
14767 * gdb.base/stale-infcall.exp
14768 * gdb.base/step-break.exp
14769 * gdb.base/step-line.exp
14770 * gdb.base/step-over-exit.exp
14771 * gdb.base/step-test.exp
14772 * gdb.base/structs.exp
14773 * gdb.base/sym-file.exp
14774 * gdb.base/symtab-search-order.exp
14775 * gdb.base/term.exp
14776 * gdb.base/type-opaque.exp
14777 * gdb.base/unload.exp
14778 * gdb.base/until-nodebug.exp
14779 * gdb.base/until.exp
14780 * gdb.base/unwindonsignal.exp
14781 * gdb.base/watch-cond.exp
14782 * gdb.base/watch-non-mem.exp
14783 * gdb.base/watch_thread_num.exp
14784 * gdb.base/watchpoint-reuse-slot.exp
14785 * gdb.base/watchpoint-solib.exp
14786 * gdb.base/watchpoint.exp
14787 * gdb.btrace/dlopen.exp
14788 * gdb.cell/arch.exp
14789 * gdb.cell/break.exp
14790 * gdb.cell/bt.exp
14791 * gdb.cell/core.exp
14792 * gdb.cell/data.exp
14793 * gdb.cell/dwarfaddr.exp
14794 * gdb.cell/ea-cache.exp
14795 * gdb.cell/ea-standalone.exp
14796 * gdb.cell/ea-test.exp
14797 * gdb.cell/f-regs.exp
14798 * gdb.cell/fork.exp
14799 * gdb.cell/gcore.exp
14800 * gdb.cell/mem-access.exp
14801 * gdb.cell/ptype.exp
14802 * gdb.cell/registers.exp
14803 * gdb.cell/sizeof.exp
14804 * gdb.cell/solib-symbol.exp
14805 * gdb.cell/solib.exp
14806 * gdb.compile/compile-tls.exp
14807 * gdb.cp/exception.exp
14808 * gdb.cp/gdb2495.exp
14809 * gdb.cp/local.exp
14810 * gdb.cp/mb-inline.exp
14811 * gdb.cp/mb-templates.exp
14812 * gdb.cp/pr10687.exp
14813 * gdb.cp/pr9167.exp
14814 * gdb.cp/scope-err.exp
14815 * gdb.cp/templates.exp
14816 * gdb.cp/virtfunc.exp
14817 * gdb.dwarf2/dw2-dir-file-name.exp
14818 * gdb.dwarf2/dw2-single-line-discriminators.exp
14819 * gdb.fortran/complex.exp
14820 * gdb.fortran/library-module.exp
14821 * gdb.guile/guile.exp
14822 * gdb.guile/scm-cmd.exp
14823 * gdb.guile/scm-frame-inline.exp
14824 * gdb.guile/scm-objfile.exp
14825 * gdb.guile/scm-pretty-print.exp
14826 * gdb.guile/scm-symbol.exp
14827 * gdb.guile/scm-type.exp
14828 * gdb.guile/scm-value.exp
14829 * gdb.linespec/keywords.exp
14830 * gdb.linespec/ls-errs.exp
14831 * gdb.linespec/macro-relative.exp
14832 * gdb.linespec/thread.exp
14833 * gdb.mi/mi-breakpoint-changed.exp
14834 * gdb.mi/mi-dprintf-pending.exp
14835 * gdb.mi/mi-fullname-deleted.exp
14836 * gdb.mi/mi-logging.exp
14837 * gdb.mi/mi-pending.exp
14838 * gdb.mi/mi-solib.exp
14839 * gdb.mi/new-ui-mi-sync.exp
14840 * gdb.mi/user-selected-context-sync.exp
14841 * gdb.multi/dummy-frame-restore.exp
14842 * gdb.multi/multi-arch-exec.exp
14843 * gdb.multi/remove-inferiors.exp
14844 * gdb.multi/watchpoint-multi-exit.exp
14845 * gdb.opt/solib-intra-step.exp
14846 * gdb.perf/backtrace.exp
14847 * gdb.perf/single-step.exp
14848 * gdb.perf/skip-command.exp
14849 * gdb.perf/skip-prologue.exp
14850 * gdb.perf/solib.exp
14851 * gdb.python/lib-types.exp
14852 * gdb.python/py-as-string.exp
14853 * gdb.python/py-bad-printers.exp
14854 * gdb.python/py-block.exp
14855 * gdb.python/py-breakpoint.exp
14856 * gdb.python/py-cmd.exp
14857 * gdb.python/py-events.exp
14858 * gdb.python/py-evthreads.exp
14859 * gdb.python/py-finish-breakpoint.exp
14860 * gdb.python/py-finish-breakpoint2.exp
14861 * gdb.python/py-frame-inline.exp
14862 * gdb.python/py-frame.exp
14863 * gdb.python/py-inferior.exp
14864 * gdb.python/py-infthread.exp
14865 * gdb.python/py-mi.exp
14866 * gdb.python/py-objfile.exp
14867 * gdb.python/py-pp-maint.exp
14868 * gdb.python/py-pp-registration.exp
14869 * gdb.python/py-prettyprint.exp
14870 * gdb.python/py-recurse-unwind.exp
14871 * gdb.python/py-shared.exp
14872 * gdb.python/py-symbol.exp
14873 * gdb.python/py-symtab.exp
14874 * gdb.python/py-template.exp
14875 * gdb.python/py-type.exp
14876 * gdb.python/py-unwind-maint.exp
14877 * gdb.python/py-unwind.exp
14878 * gdb.python/py-value.exp
14879 * gdb.python/python.exp
14880 * gdb.reverse/finish-reverse-bkpt.exp
14881 * gdb.reverse/insn-reverse.exp
14882 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14883 * gdb.reverse/solib-precsave.exp
14884 * gdb.reverse/solib-reverse.exp
14885 * gdb.stabs/gdb11479.exp
14886 * gdb.stabs/weird.exp
14887 * gdb.threads/fork-child-threads.exp
14888 * gdb.threads/fork-plus-threads.exp
14889 * gdb.threads/fork-thread-pending.exp
14890 * gdb.threads/forking-threads-plus-breakpoint.exp
14891 * gdb.threads/hand-call-in-threads.exp
14892 * gdb.threads/interrupted-hand-call.exp
14893 * gdb.threads/linux-dp.exp
14894 * gdb.threads/local-watch-wrong-thread.exp
14895 * gdb.threads/next-while-other-thread-longjmps.exp
14896 * gdb.threads/non-ldr-exit.exp
14897 * gdb.threads/pending-step.exp
14898 * gdb.threads/print-threads.exp
14899 * gdb.threads/process-dies-while-detaching.exp
14900 * gdb.threads/process-dies-while-handling-bp.exp
14901 * gdb.threads/pthreads.exp
14902 * gdb.threads/queue-signal.exp
14903 * gdb.threads/reconnect-signal.exp
14904 * gdb.threads/signal-command-handle-nopass.exp
14905 * gdb.threads/signal-command-multiple-signals-pending.exp
14906 * gdb.threads/signal-delivered-right-thread.exp
14907 * gdb.threads/signal-sigtrap.exp
14908 * gdb.threads/sigthread.exp
14909 * gdb.threads/staticthreads.exp
14910 * gdb.threads/stepi-random-signal.exp
14911 * gdb.threads/thread-unwindonsignal.exp
14912 * gdb.threads/thread_check.exp
14913 * gdb.threads/thread_events.exp
14914 * gdb.threads/tid-reuse.exp
14915 * gdb.threads/tls-nodebug.exp
14916 * gdb.threads/tls-shared.exp
14917 * gdb.threads/tls-so_extern.exp
14918 * gdb.threads/tls.exp
14919 * gdb.threads/wp-replication.exp
14920 * gdb.trace/actions-changed.exp
14921 * gdb.trace/actions.exp
14922 * gdb.trace/backtrace.exp
14923 * gdb.trace/change-loc.exp
14924 * gdb.trace/collection.exp
14925 * gdb.trace/deltrace.exp
14926 * gdb.trace/disconnected-tracing.exp
14927 * gdb.trace/entry-values.exp
14928 * gdb.trace/ftrace-lock.exp
14929 * gdb.trace/ftrace.exp
14930 * gdb.trace/infotrace.exp
14931 * gdb.trace/mi-trace-frame-collected.exp
14932 * gdb.trace/mi-trace-unavailable.exp
14933 * gdb.trace/mi-traceframe-changed.exp
14934 * gdb.trace/mi-tracepoint-changed.exp
14935 * gdb.trace/mi-tsv-changed.exp
14936 * gdb.trace/no-attach-trace.exp
14937 * gdb.trace/packetlen.exp
14938 * gdb.trace/passc-dyn.exp
14939 * gdb.trace/passcount.exp
14940 * gdb.trace/pending.exp
14941 * gdb.trace/pr16508.exp
14942 * gdb.trace/qtro.exp
14943 * gdb.trace/range-stepping.exp
14944 * gdb.trace/read-memory.exp
14945 * gdb.trace/report.exp
14946 * gdb.trace/save-trace.exp
14947 * gdb.trace/signal.exp
14948 * gdb.trace/stap-trace.exp
14949 * gdb.trace/status-stop.exp
14950 * gdb.trace/strace.exp
14951 * gdb.trace/tfile.exp
14952 * gdb.trace/tfind.exp
14953 * gdb.trace/trace-break.exp
14954 * gdb.trace/trace-condition.exp
14955 * gdb.trace/trace-enable-disable.exp
14956 * gdb.trace/trace-mt.exp
14957 * gdb.trace/tracecmd.exp
14958 * gdb.trace/tracefile-pseudo-reg.exp
14959 * gdb.trace/tspeed.exp
14960 * gdb.trace/tstatus.exp
14961 * gdb.trace/tsv.exp
14962 * gdb.trace/unavailable.exp
14963 * gdb.trace/while-dyn.exp
14964 * gdb.trace/while-stepping.exp
14965 * lib/gdb-guile.exp
14966 * lib/gdb.exp
14967 * lib/mi-support.exp
14968 * lib/pascal.exp
14969 * lib/perftest.exp
14970 * lib/prelink-support.exp
14971 * lib/selftest-support.exp
14972
ad02e4fe
SM
149732016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14974
14975 * Makefile.in: Include disable-implicit-rules.mk.
14976
22347e55
AA
149772016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14978
14979 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14980 non-byte-aligned bit fields.
14981
da5b30da
AA
149822016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14983
14984 PR gdb/12616
14985 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14986 respects the DW_AT_data_bit_offset attribute.
14987
b593ecca
SM
149882016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14989
14990 * gdb.base/default.exp: Fix output of "set language".
14991
3b165252
SM
149922016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14993
14994 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14995 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14996 make.
14997 * configure.ac: Remove checks for the make program.
14998 * configure: Re-generate.
14999
1a2f3d7f
KB
150002016-11-16 Kevin Buettner <kevinb@redhat.com>
15001
15002 * gdb.python/py-recurse-unwind.c (main): Add loop.
15003 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
15004 to read_register() and gdb.parse_and_eval(). Make each code
15005 call a separate case that can be individually tested.
15006 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
15007 proc. Call cont_and_backtrace for each of the code paths that
15008 we want to test in the unwinder.
15009
b7f38fda
AA
150102016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
15011
15012 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
15013 the definition of struct S.
15014
1f8db343
CM
150152016-11-11 Catherine Moore <clm@codesourcery.com>
15016
15017 * gdb.base/dump.exp: Identify verilog format dump tests as such.
15018
fad0c9fb
PA
150192016-11-09 Pedro Alves <palves@redhat.com>
15020
15021 * gdb.base/commands.exp (runto_or_return): New procedure.
15022 (gdbvar_simple_if_test, gdbvar_simple_while_test)
15023 (gdbvar_complex_if_while_test, progvar_simple_if_test)
15024 (progvar_simple_while_test, progvar_complex_if_while_test)
15025 (if_while_breakpoint_command_test)
15026 (infrun_breakpoint_command_test, breakpoint_command_test)
15027 (user_defined_command_test, watchpoint_command_test)
15028 (test_command_prompt_position, redefine_hook_test)
15029 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
15030 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
15031 multi_line_input and multi_line. Remove gdb_expect and
15032 gdb_stop_suppressing_tests uses.
15033 * lib/gdb.exp (valnum_re): New global.
15034 (multi_line_input): New procedure.
15035
8354c62c
SM
150362016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
15037
15038 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
15039 Remove.
15040 (test_setup): Define with proc_with_prefix.
15041 (test_cli_inferior): Likewise.
15042 (test_cli_thread): Likewise.
15043 (test_cli_frame): Likewise.
15044 (test_cli_select_frame): Likewise.
15045 (test_cli_up_down): Likewise.
15046 (test_mi_thread_select): Likewise.
15047 (test_mi_stack_select_frame): Likewise.
15048 (test_cli_in_mi_inferior): Likewise.
15049 (test_cli_in_mi_thread): Likewise.
15050 (test_cli_in_mi_frame): Likewise.
15051 (top level): Do not use with_test_prefix_procname.
15052
64f367a2
PA
150532016-11-09 Pedro Alves <palves@redhat.com>
15054
15055 * gdb.base/commands.exp (gdbvar_simple_if_test)
15056 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
15057 (progvar_simple_if_test, progvar_simple_while_test)
15058 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
15059 (infrun_breakpoint_command_test, breakpoint_command_test)
15060 (user_defined_command_test, watchpoint_command_test)
15061 (test_command_prompt_position, deprecated_command_test)
15062 (bp_deleted_in_command, temporary_breakpoint_commands)
15063 (stray_arg0_test, source_file_with_indented_comment)
15064 (recursive_source_test, if_commands_test)
15065 (error_clears_commands_left, redefine_hook_test)
15066 (redefine_backtrace_test): Use proc_with_prefix.
15067 * lib/gdb.exp (proc_with_prefix): New proc.
15068
0bb65f1e
AA
150692016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15070
15071 * gdb.base/tui-layout.c: New file.
15072 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
15073 disassembly window contains very long lines.
15074
7353f247
TT
150752016-11-08 Tom Tromey <tom@tromey.com>
15076
15077 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15078 depend on Python 2.
15079
30a7bb83
TT
150802016-11-08 Tom Tromey <tom@tromey.com>
15081
15082 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15083 New method.
15084
cdf5a07c
MG
150852016-10-29 Manish Goregaokar <manish@mozilla.com>
15086
2806dc7e 15087 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 15088
51a789c3
MG
150892016-10-27 Manish Goregaokar <manish@mozilla.com>
15090
2806dc7e
PA
15091 * gdb.rust/simple.rs: Add test for univariant enums without
15092 discriminants and for encoded struct-like enums.
51a789c3 15093
f610ab6d
PA
150942016-10-28 Pedro Alves <palves@redhat.com>
15095
15096 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15097 gdb_test_multiple, tighten regexps and match symtabs and line
15098 tables incrementally.
15099
b129b0ca
LM
151002016-10-28 Luis Machado <lgustavo@codesourcery.com>
15101
15102 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15103 general.
15104
ecf45d2c
SL
151052016-10-25 Luis Machado <lgustavo@codesourcery.com>
15106
15107 * gdb.base/exec-invalid-sysroot.exp: New file.
15108
b8d38ee4
JK
151092016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15110
15111 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15112
f90fd8c2
JK
151132016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15114
15115 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15116
2d2476aa
MR
151172016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15118
2806dc7e
PA
15119 * gdb.base/killed-outside.exp: Remove $options from a call to
15120 `prepare_for_testing'.
2d2476aa 15121
e42b25a0
SM
151222016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15123
15124 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15125 Change test message.
15126
3ccdb432
SM
151272016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15128
15129 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15130 Update comment.
15131
5bad3170
SM
151322016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15133
15134 * gdb.trace/mi-trace-save.exp: New file.
15135
5ad9dba7
YQ
151362016-10-13 Yao Qi <yao.qi@linaro.org>
15137
15138 * gdb.base/code_elim.exp (get_var_address): Remove.
15139 * gdb.base/relocate.exp: Likewise.
15140 * gdb.base/shreloc.exp: Likewise.
15141 * lib/gdb.exp (get_var_address): New.
15142
62df7e21
YQ
151432016-10-13 Yao Qi <yao.qi@linaro.org>
15144
15145 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15146 floating point tests if $skip_float_test is false.
15147
4dac951e
LM
151482016-10-12 Luis Machado <lgustavo@codesourcery.com>
15149
15150 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15151 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15152 argc values.
15153 Add 1 to argc so we guarantee distinct initial/modified argc values.
15154
8f1a8fc4
JK
151552016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15156
15157 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15158
16c85b5d
JK
151592016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15160
15161 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15162 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15163 * gdb.arch/vsx-regs.exp: Likewise.
15164
1d0e042a
YQ
151652016-10-07 Yao Qi <yao.qi@linaro.org>
15166
15167 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15168
68dadef5
MM
151692016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15170
15171 * gdb.python/python.exp: Test decode_line("*0").
15172
33fa2c6e
DE
151732016-10-06 Doug Evans <dje@google.com>
15174
15175 * gdb.python/py-value.exp (test_value_creation): Add test for large
15176 unsigned 64-bit value.
15177
9c37b5ae
TT
151782016-10-06 Tom Tromey <tom@tromey.com>
15179
15180 * gdb.compile/compile.exp: Change java tests to rust.
15181 * gdb.base/setshow.exp: Change java tests to rust.
15182 * gdb.base/default.exp: Remove java from language list.
15183 * README (Examples): Update language example.
15184 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15185 test.
15186 * lib/gdb.exp (skip_java_tests): Remove.
15187 * lib/java.exp: Remove.
15188 * gdb.java: Remove.
15189
78b86327
MR
151902016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15191
15192 * gdb.arch/mips-fcr.exp: New test.
15193 * gdb.arch/mips-fcr.c: Source for the new test.
15194
7470adbb
MR
151952016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15196
15197 * gdb.base/solib-disc.exp: Use `standard_output_file'
15198 throughout.
15199
4a556533
PA
152002016-10-06 Pedro Alves <palves@redhat.com>
15201
15202 * gdb.base/jit-simple-dl.c: New file.
15203 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15204 * gdb.base/jit-simple.c: ... this.
15205 * gdb.base/jit-simple.exp (jit_run): Delete.
15206 (build_jit): New proc.
15207 (jit_test_reread): Recompile either the main program or the shared
15208 library, depending on what is being tested. Skip changing address
15209 if caller wants to. Compare before/after addresses. If testing
15210 standalone, explicitly load the binary. Test "maint info
15211 breakpoints".
15212 (top level): Add "standalone vs shared lib" and "change address"
15213 vs "same address" axes.
15214
5a122fbc
PA
152152016-10-06 Pedro Alves <palves@redhat.com>
15216
15217 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15218 call.
15219 (jit_run): Delete.
15220 (jit_test_reread): Use with_test_prefix. Reload the main binary
15221 explicitly. Compare the before/after addresses of the JIT
15222 descriptor.
15223
ee8da4b8
DE
152242016-08-15 Doug Evans <dje@google.com>
15225
15226 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15227 for single bitfields is bool.
15228 * gdb.xml/tdesc-regs.exp: Ditto.
15229
f389f6fe
JK
152302016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15231
15232 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15233
fdebf1a4
YQ
152342016-10-05 Yao Qi <yao.qi@linaro.org>
15235
15236 * lib/gdb.exp (support_complex_tests): Return zero if
15237 gdb_skip_float_test return true.
15238
9c36d954 152392016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15240 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
15241
15242 PR gdb/20487
15243 * gdb.mi/user-selected-context-sync.exp: New file.
15244 * gdb.mi/user-selected-context-sync.c: New file.
15245
4034d0ff 152462016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15247 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
15248
15249 PR gdb/20487
15250 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15251 =thread-select-event check.
15252
a4297203
PB
152532016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15254
15255 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15256 the compulsory L operand changes.
15257 * gdb.arch/powerpc-power.s: Likewise.
15258
bb805577
JK
152592016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15260
15261 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15262 * gdb.base/jit-attach-pie.c: New file.
15263 * gdb.base/jit-attach-pie.exp: New file.
15264
6d61dee5
PA
152652016-09-28 Pedro Alves <palves@redhat.com>
15266
15267 * gdb.base/infcall-input.c: New file.
15268 * gdb.base/infcall-input.exp: New file.
15269
f73842fc
YQ
152702016-09-22 Yao Qi <yao.qi@linaro.org>
15271
15272 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15273 (gdb_exit): Rename it to ...
15274 (gdbserver_gdb_exit): ... Close GDBserver.
15275 (gdb_exit): New proc, call gdbserver_gdb_exit.
15276 (mi_gdb_exit): Likewise.
15277
90681dab
YQ
152782016-09-22 Yao Qi <yao.qi@linaro.org>
15279
15280 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15281 path.
15282 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15283 Remove duplication.
15284
9c211fd8
YQ
152852016-09-22 Yao Qi <yao.qi@linaro.org>
15286
15287 * lib/gdbserver-support.exp: Check the existence of
15288 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15289
ad0a504f
AK
152902016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15291
15292 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15293
36cf1806
TT
152942016-09-21 Tom Tromey <tom@tromey.com>
15295
15296 PR gdb/20604:
15297 * gdb.base/quit.exp: New file.
15298
74172ecf
SM
152992016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15300
15301 * .gitignore: New file.
15302
3d0ec882
MR
153032016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15304
15305 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15306 throughout.
15307
8193adea
AA
153082016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15309
15310 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15311
d41a5c09
JK
153122016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15313
15314 * gdb.cp/casts.cc (decltype): Move it ...
15315 (main): ... with its call to ...
15316 * gdb.cp/casts03.cc: ... a new file.
15317 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15318
d2dfe700
JK
153192016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15320
15321 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15322
e2a92b16
PB
153232016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15324
15325 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15326 and sync up the test with tests in gas/testsuite/gas/ppc.
15327 * gdb.arch/powerpc-power.exp: Likewise.
15328
49b4de64
JK
153292016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15330
15331 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15332
2c29df25
SDJ
153332016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15334 Jan Kratochvil <jan.kratochvil@redhat.com>
15335
15336 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15337 make m1's definition to be different from m2's. Use 'dummy' as an
15338 argument for probe 'two'.
15339
cc3c2846
JB
153402016-09-10 Jon Beniston <jon@beniston.com>
15341
15342 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15343 for sim target.
15344
e1b2624a
AA
153452016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15346
15347 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15348 variable declaration.
15349 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15350 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15351 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15352 received HWCAP as its argument.
15353
4295e285
PA
153542016-09-06 Pedro Alves <palves@redhat.com>
15355
15356 * gdb.base/new-ui-pending-input.c: New file.
15357 * gdb.base/new-ui-pending-input.exp: New file.
15358 * gdb.exp (clear_gdb_spawn_id): New procedure.
15359 (with_spawn_id): Check whether gdb_spawn_id exists before
15360 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15361 on exit.
15362
00d5215e
UW
153632016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15364
15365 * gdb.base/float128.c: New file.
15366 * gdb.base/float128.exp: Likewise.
15367 * gdb.base/floatn.c: Likewise.
15368 * gdb.base/floatn.exp: Likewise.
15369
a9ff5f12
UW
153702016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15371
15372 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15373
f245535c
PA
153742016-09-05 Pedro Alves <palves@redhat.com>
15375
15376 PR backtrace/19927
15377 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15378 unwinders are immediately called as side effect of "source" or
15379 "disable unwinder" commands.
15380 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15381
ae9cf263
YQ
153822016-09-02 Yao Qi <yao.qi@linaro.org>
15383
15384 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15385 is true and $type is "float" or "double".
15386
27aba047
YQ
153872016-09-02 Yao Qi <yao.qi@linaro.org>
15388
15389 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15390 true.
15391 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15392 * gdb.base/call-rt-st.exp: Likewise.
15393 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15394 return value instead of gdb,skip_float_test.
15395 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15396 (do_function_calls): Use its return value instead of
15397 gdb,skip_float_test.
15398 * gdb.base/finish.exp: Likewise.
15399 * gdb.base/funcargs.exp: Likewise.
15400 * gdb.base/return.exp: Likewise.
15401 * gdb.base/return2.exp: Likewise.
15402 * gdb.base/varargs.exp: Likewise.
15403 * lib/gdb.exp (gdb_skip_float_test): Change it to
15404 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15405
5af962df
AA
154062016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15407
15408 * gdb.multi/tids.exp: Test "thread apply all".
15409
7fac6910
JK
154102016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15411
15412 * gdb.base/default.exp (tty): Remove.
15413
bb1fe4ac
KB
154142016-08-24 Kevin Buettner <kevinb@redhat.com>
15415
2806dc7e
PA
15416 * gdb.python/py-recurse-unwind.c: New file.
15417 * gdb.python/py-recurse-unwind.py: New file.
15418 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15419
0a1ddfa6
SM
154202016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15421
15422 * gdb.base/set-inferior-tty.exp: New file.
15423 * gdb.base/set-inferior-tty.c: New file.
15424
d9de1fe3
PA
154252016-08-23 Pedro Alves <palves@redhat.com>
15426
15427 PR gdb/20494
15428 * gdb.base/new-ui-echo.c: New file.
15429 * gdb.base/new-ui-echo.exp: New file.
15430
e9d9abd7
YQ
154312016-08-23 Yao Qi <yao.qi@linaro.org>
15432
15433 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15434 gdbserver_spawn.
15435 * gdb.server/connect-without-multi-process.exp (do_test):
15436 Likewise.
15437
3589529e
YQ
154382016-08-23 Yao Qi <yao.qi@linaro.org>
15439
15440 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15441 standalone_txt. Delete gdb_txt and standalone_txt on host
15442 and target. Spawn the binary on target. Copy files from
15443 target to host.
15444
6bb90213
PA
154452016-08-22 Pedro Alves <palves@redhat.com>
15446
15447 PR gdb/20505
15448 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15449 with_test_prefix. Factor out bits to ...
15450 (test_no_vdso): ... this new procedure.
15451
20c2c024
CL
154522016-08-19 Carl Love <cel@us.ibm.com>
15453
15454 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15455 maintaining separate logic for constructing the output path.
15456 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15457 * gdb.arch/ppc-dfp.exp: Likewise.
15458 * gdb.arch/ppc-fp.exp: Likewise.
15459 * gdb.arch/vsx-regs.exp: Likewise.
15460 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15461 binprefix for generating the additional binary files.
15462
0646e07d
PA
154632016-08-19 Pedro Alves <palves@redhat.com>
15464
15465 * gdb.trace/mi-trace-frame-collected.exp
15466 (test_trace_frame_collected): On x32, expect two registers.
15467
46da9242
CL
154682016-08-18 Carl Love <cel@us.ibm.com>
15469
15470 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15471 and sync up the test with tests in gas/testsuite/gas/ppc.
15472 * gdb.arch/powerpc-power.exp: Likewise.
15473
eb2332d7
SM
154742016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15475
15476 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15477 expected error message.
15478
63c61e04
SM
154792016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15480
15481 * gdb.multi/remove-inferiors.exp: New file.
15482 * gdb.multi/remove-inferiors.c: New file.
15483
7b17065f
YQ
154842016-08-12 Yao Qi <yao.qi@linaro.org>
15485
15486 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15487 argument list.
15488
01d3dedf
PA
154892016-08-10 Pedro Alves <palves@redhat.com>
15490
15491 PR gdb/19187
15492 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15493 setup_kfails.
15494
3eb7562a
PA
154952016-08-09 Pedro Alves <palves@redhat.com>
15496 Simon Marchi <simon.marchi@ericsson.com>
15497
15498 PR gdb/20418
15499 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15500 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15501
80614914
PA
155022016-08-09 Pedro Alves <palves@redhat.com>
15503
15504 PR mi/20431
15505 * gdb.mi/mi-cmd-error.exp: New file.
15506
f348d89a
PA
155072016-08-09 Pedro Alves <palves@redhat.com>
15508
15509 PR gdb/18653
15510 * gdb.base/signals-state-child.c: New file.
15511 * gdb.base/signals-state-child.exp: New file.
15512 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15513
e5ca03b4
PA
155142016-08-09 Pedro Alves <palves@redhat.com>
15515
15516 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15517
282a0691
TT
155182016-08-03 Tom Tromey <tom@tromey.com>
15519
15520 PR python/18565:
15521 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15522
41bfcd63
YQ
155232016-08-01 Yao Qi <yao.qi@linaro.org>
15524
15525 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15526 variable mode to "multi-process" if $multi_process is 1, otherwise
15527 set it to "single-process".
15528
e3465b24
YQ
155292016-08-01 Yao Qi <yao.qi@linaro.org>
15530
15531 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15532 * gdb.cp/cpexprs.exp: Likewise.
15533 * gdb.cp/m-static.exp: Likewise.
15534
0b31a4bc
TT
155352016-07-26 Tom Tromey <tom@tromey.com>
15536
15537 PR python/20190:
15538 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15539 test.
15540
e0461dbb
MM
155412016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15542
15543 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15544 selecting assembly source files.
15545 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15546 assembly source files.
15547 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15548 assembly source files.
15549 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15550 selecting assembly source files.
15551
8194e927
SM
155522016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15553
15554 * gdb.base/new-ui.exp (do_test_invalid_args): New
15555 procedure.
15556
c0272db5
TW
155572016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15558
15559 * gdb.btrace/reconnect.c: New file.
15560 * gdb.btrace/reconnect.exp: New file.
15561
e3487908
GKB
155622016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15563
15564 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15565 to test_catch_syscall_group.
15566 (test_catch_syscall_group): New.
15567
12df5c00
TT
155682016-07-21 Tom Tromey <tom@tromey.com>
15569
15570 * gdb.rust/simple.rs (main): Use empty struct expression.
15571 * gdb.rust/simple.exp: Add tests for empty struct expression.
15572
bae62ee2
YQ
155732016-07-21 Yao Qi <yao.qi@linaro.org>
15574
15575 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15576 if gdb_skip_xml_test is true on some targets.
15577
b1b53fb3
YQ
155782016-07-21 Yao Qi <yao.qi@linaro.org>
15579
15580 * gdb.server/solib-list.exp: Unset last_loaded_file.
15581
027d97f8
JK
155822016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15583
15584 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15585 "step into captured_main (args)".
15586
7674d381
JK
155872016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15588
15589 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15590
72b5d099
JK
155912016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15592
15593 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15594
1f960ced
PA
155952016-07-19 Pedro Alves <palves@redhat.com>
15596
15597 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15598 * gdb.opt/inline-bt.exp: Likewise.
15599 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15600 additional_flags=-Winline.
15601 * gdb.opt/inline-locals.exp: Likewise.
15602 * gdb.opt/inline-markers.c (ATTR): Define.
15603 (inlined_fn): Use it.
15604
f25827c1
YQ
156052016-07-19 Yao Qi <yao.qi@linaro.org>
15606
15607 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15608 (test_with_self): Remove some code. Remove argument executable.
15609 (top-level): Use do_self_tests.
15610
37539ebe
DB
156112016-07-15 Zachary Welch <zwelch@codesourcery.com>
15612 Don Breazeal <donb@codesourcery.com>
15613
15614 * gdb.base/maint.exp: Escape paths used in regular expressions.
15615 * gdb.stabs/weird.exp: Likewise.
15616
dac790e1
TT
156172016-07-13 Tom Tromey <tom@tromey.com>
15618
15619 PR python/15620, PR python/18620:
15620 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15621 (test_bkpt_events): New procs.
15622
93daf339
TT
156232016-07-13 Tom Tromey <tom@tromey.com>
15624
15625 PR python/17698:
15626 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15627 test.
15628 (test_watchpoints): Likewise.
15629 (test_bkpt_pending): New proc.
15630
6571a381
TT
156312016-07-13 Tom Tromey <tom@tromey.com>
15632
15633 PR cli/18053:
15634 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15635 completion test.
15636
e8732474
JK
156372016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15638
15639 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15640 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15641 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15642 f_label.
15643 (g): Rename g_end_lbl to g_label.
15644 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15645 low_pc and high_pc.
15646 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15647
e0f3fd7c
TT
156482016-07-12 Tom Tromey <tom@tromey.com>
15649
15650 PR python/19293:
15651 * gdb.python/py-unwind-maint.exp: Update tests.
15652
3cfe46b6
YQ
156532016-07-12 Yao Qi <yao.qi@linaro.org>
15654
15655 * lib/selftest-support.exp (selftest_setup): Match the output
15656 when captured_main is inlined.
15657
4f19a0e6
WT
156582016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15659
15660 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15661 New variables.
15662 (print this%a, print this%b, print this): New tests.
15663 * gdb.fortran/derived-types.f90 (this): New object and
15664 initialization.
15665
986cf455
SM
156662016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15667
15668 * gdb.ada/arraydim.exp: Remove extra directory level in build
15669 directory.
15670
f0464b23
SM
156712016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15672
15673 * lib/ada.exp: Remove extra directory level in build directory.
15674 * gdb.ada/cond_lang.exp: Likewise.
15675 * gdb.ada/exec_changed.exp: Likewise.
15676 * gdb.ada/lang_switch.exp: Likewise.
15677
42d94011
MG
156782016-07-06 Manish Goregaokar <manish@mozilla.com>
15679
2806dc7e
PA
15680 * simple.rs: Add test for raw pointer subscripting.
15681 * simple.exp: Add test expectations.
42d94011 15682
647c264c
YQ
156832016-07-05 Yao Qi <yao.qi@linaro.org>
15684
15685 * gdb.mi/mi-reverse.exp: Match =record-started output.
15686
20aa2c60
PA
156872016-07-01 Pedro Alves <palves@redhat.com>
15688
15689 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15690 procedure.
15691 (jit_reader_test): Test the jit reader's unwinder.
15692 * gdb.base/jithost.c (jit_function_00_code): New global.
15693 (main): Use memcpy to fill in the mmapped code, instead of poking
15694 bytes manually here.
15695 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15696 value.
15697 (read_debug_info): Save the function's range.
15698 (read_sp): New function.
15699 (unwind_frame): Use it. Also unwind RBP.
15700 (get_frame_id): Use read_sp.
15701 (gdb_init_reader): Use calloc instead of malloc.
15702 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15703 parameter. Use gdb_test_multiple.
15704
ced2dffb
PA
157052016-07-01 Pedro Alves <palves@redhat.com>
15706 Antoine Tremblay <antoine.tremblay@ericsson.com>
15707
15708 * gdb.threads/process-dies-while-detaching.c: New file.
15709 * gdb.threads/process-dies-while-detaching.exp: New file.
15710
63000888
PA
157112016-07-01 Pedro Alves <palves@redhat.com>
15712
15713 * gdb.multi/watchpoint-multi-exit.c: New file.
15714 * gdb.multi/watchpoint-multi-exit.exp: New file.
15715
038d4868
PA
157162016-06-30 Pedro Alves <palves@redhat.com>
15717
15718 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15719 unset inferior_spawn_id.
15720
994e9c83
PA
157212016-06-30 Pedro Alves <palves@redhat.com>
15722
15723 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15724 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15725
e5653468
YQ
157262016-06-29 Yao Qi <yao.qi@linaro.org>
15727
15728 * gdb.base/return.c: Add copyright header.
15729
803b47e5
TT
157302016-06-29 Tom Tromey <tom@tromey.com>
15731
15732 PR python/20129:
15733 * gdb.python/py-framefilter.exp: Add tests for setting priority
15734 and disabling of non-existent frame filter.
15735
28244707
YQ
157362016-06-29 Yao Qi <yao.qi@linaro.org>
15737
15738 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15739 0x0f07ff.
15740
a31d2f06
YQ
157412016-06-28 Yao Qi <yao.qi@linaro.org>
15742
15743 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15744 triplets. Start gdb, execute catch syscall, and continue. Check
15745 gdb's output to determine catch syscall is supported.
15746
921d8f54
MG
157472016-06-27 Manish Goregaokar <manish@mozilla.com>
15748
25d49b86
PA
15749 * gdb.rust/simple.rs: Add test for returning unit in a function.
15750 * gdb.rust/simple.exp: Add expectation for functions returning
15751 unit.
921d8f54 15752
f4952523
PMR
157532016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15754
15755 * gdb.python/py-breakpoint-create-fail.c,
15756 gdb.python/py-breakpoint-create-fail.exp,
15757 gdb.python/py-breakpoint-create-fail.py: New testcase.
15758
fccb08f8
MG
157592016-06-25 Manish Goregaokar <manish@mozilla.com>
15760
15761 PR gdb/20239
15762 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15763 * gdb.rust/simple.exp: Add test expectations for new NonZero
15764 tests.
fccb08f8 15765
6b850546
DT
157662016-06-24 David Taylor <dtaylor@emc.com>
15767
15768 * gdb.base/offsets.exp: New file.
15769 * gdb.base/offsets.c: New file.
15770
17621150
TT
157712016-06-23 Tom Tromey <tom@tromey.com>
15772
15773 PR gdb/16483:
15774 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15775 before any filters are loaded.
15776
04d59df6
WT
157772016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15778
15779 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15780 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15781 structs.
15782 * gdb.fortran/derived-type-function.exp: New file.
15783 * gdb.fortran/derived-type-function.f90: New file.
15784
15785
ac69f786
PA
157862016-06-21 Pedro Alves <palves@redhat.com>
15787
15788 * gdb.base/new-ui.exp: New file.
15789 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15790 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15791 (with_spawn_id): New procedure.
15792
49940788
PA
157932016-06-21 Pedro Alves <palves@redhat.com>
15794
15795 * gdb.mi/mi-exec-run.exp: New file.
15796
ef274d26
PA
157972016-06-21 Pedro Alves <palves@redhat.com>
15798
15799 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15800 breakpoint command's output on the main UI.
15801 (test_break): New procedure, factored out from calls in the top
15802 level.
15803 (top level): Use foreach_with_prefix to test MI as main UI and as
15804 separate UI.
15805
468afe6c
PA
158062016-06-21 Pedro Alves <palves@redhat.com>
15807
15808 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15809 (test_awatch_creation_and_listing)
15810 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15811 Remove 'type' parameter.
15812 (test_watchpoint_all): New parameter mi_mode. Remove
15813 with_test_prefix.
15814 (top level): Use foreach_with_prefix, and add main/separate UI MI
15815 testing axis.
15816
51f77c37
PA
158172016-06-21 Pedro Alves <palves@redhat.com>
15818
15819 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15820 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15821 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15822 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15823 (gdb_main_spawn_id, mi_spawn_id): Declare and
15824 comment.
15825 (mi_create_inferior_pty): New procedure,
15826 factored out from default_mi_gdb_start.
15827 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15828 procedures.
15829 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15830 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15831 Use mi_create_inferior_pty.
15832 (mi_gdb_start): Use eval to pass down args list.
15833
8980e177
PA
158342016-06-21 Pedro Alves <palves@redhat.com>
15835
15836 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15837 * gdb.opt/inline-cmds.exp: Add MI tests.
15838
f38d3ad1
PA
158392016-06-21 Pedro Alves <palves@redhat.com>
15840
15841 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15842
45db7c09
PA
158432016-06-21 Pedro Alves <palves@redhat.com>
15844
15845 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15846 (top level): Use it instead of mi_execute_to.
15847
5a069ab3
PA
158482016-06-21 Pedro Alves <palves@redhat.com>
15849
15850 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15851 (cont_handler_str): New.
15852 (signal_stop_handler): Set stop_handler_str instead of printing to
15853 stdout.
15854 (continue_handler): Set cont_handler_str instead of printing to
15855 stdout.
15856 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15857 mi_send_resuming_command. Print stop_handler_str and
15858 cont_handler_str instead of expecting the python events print
15859 directly.
15860
2838cc1d
SD
158612016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15862
15863 * gdb.base/jit-reader.exp: New file.
15864 * gdb.base/jithost.c: New file.
15865 * gdb.base/jithost.h: New file.
15866 * gdb.base/jitreader.c : New file.
15867 * gdb.base/jit-protocol.h: New file.
15868
21a77091
YQ
158692016-06-17 Yao Qi <yao.qi@linaro.org>
15870
15871 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15872 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15873 and detach-on-fork. Adjust tests.
15874 (top level): Invoke break_cond_on_syscall with combinations of
15875 syscall, follow-fork-mode and detach-on-fork.
15876
f50bf8e5
YQ
158772016-06-17 Yao Qi <yao.qi@linaro.org>
15878
15879 * gdb.base/step-over-exit.c: New.
15880 * gdb.base/step-over-exit.exp: New.
15881
a28d8e50
YTL
158822016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15883
15884 * gdb.base/float.exp: Add target check for nds32*-*-*.
15885 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15886
cad8e26d
AB
158872016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15888
15889 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15890 for unsupported target features.
15891 * gdb.base/call-rt-st.exp: Likewise.
15892 * gdb.base/call-sc.exp: Likewise.
15893 * gdb.base/call-signal-resume.exp: Likewise.
15894 * gdb.base/call-strs.exp: Likewise.
15895 * gdb.base/callexit.exp: Likewise.
15896 * gdb.base/callfuncs.exp: Likewise.
15897 * gdb.base/nodebug.exp: Likewise.
15898 * gdb.base/printcmds.exp: Likewise.
15899 * gdb.base/ptype.exp: Likewise.
15900 * gdb.base/structs.exp: Likewise.
15901 * gdb.base/unwindonsignal.exp: Likewise.
15902 * gdb.cp/gdb2495.exp: Likewise.
15903 * gdb.cp/templates.exp: Likewise.
15904 * gdb.cp/virtfunc.exp: Likewise.
15905 * gdb.threads/hand-call-in-threads.exp: Likewise.
15906 * gdb.threads/interrupted-hand-call.exp: Likewise.
15907 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15908
347dc102
TT
159092016-06-10 Tom Tromey <tom@tromey.com>
15910
15911 PR rust/20110:
15912 * gdb.rust/expr.exp: Add test for integer constant larger than
15913 i32.
15914
5e13cf25
BH
159152016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15916
15917 * gdb.fortran/nested-funcs.exp: New.
15918 * gdb.fortran/nested-funcs.f90: New.
15919
bb556f1f
TK
159202016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15921
15922 * gdb.base/examine-backward.c: New file.
15923 * gdb.base/examine-backward.exp: New file.
15924
38b022b4
SM
159252016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15926
15927 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15928 matching.
15929
1b40ec05
TT
159302016-06-02 Tom Tromey <tom@tromey.com>
15931
15932 PR python/18984:
15933 * gdb.python/py-shared.exp: Add solib_name test.
15934
193bd378
SM
159352016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15936
15937 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15938
3326303b
MG
159392016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15940
15941 PR c++/19893
15942 * gdb.dwarf2/implref.exp: Rename to...
15943 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15944 * gdb.dwarf2/implref-array.c: New file.
15945 * gdb.dwarf2/implref-array.exp: Likewise.
15946 * gdb.dwarf2/implref-global.c: Likewise.
15947 * gdb.dwarf2/implref-global.exp: Likewise.
15948 * gdb.dwarf2/implref-struct.c: Likewise.
15949 * gdb.dwarf2/implref-struct.exp: Likewise.
15950
825c8ef2
AT
159512016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15952
15953 * gdb.trace/trace-condition.exp: Add 64bit tests.
15954
2320162a
AT
159552016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15956
15957 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15958 bits types.
15959 (main): Adapt to 8 to 64 bits types.
15960 * gdb.trace/trace-condition.exp: Add new tests.
15961
a7818233
AT
159622016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15963
15964 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15965
0d336466
AT
159662016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15967
15968 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15969 Move condition tests...
15970 * gdb.trace/trace-condition.exp: Here.
15971
7faeb45a
AT
159722016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15973
15974 * gdb.trace/trace-condition.exp: Add counter-case tests.
15975
e385593e
JK
159762016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15977
15978 PR c++/15231
15979 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15980 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15981
744608cc
PA
159822016-05-27 Pedro Alves <palves@redhat.com>
15983
15984 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15985 New procedure.
15986 (top level): Call it, and bail out of DejaGnu is known to be bad.
15987
ac775bf4
AB
159882016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15989
15990 * gdb.base/whatis.c: Extend the test case.
15991 * gdb.base/whatis.exp: Add additional tests.
15992
2bbad2ea
BH
159932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15994
15995* gdb.fortran/type.f90: Add pointer variable.
15996* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15997
8b70175d
BH
159982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15999
16000 * gdb.fortran/vla-type.exp: Fix testcase name.
16001
86d8a848
BH
160022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16003
16004 * gdb.fortran/vla-type.exp: Access elements in nested structs.
16005
e188eb36
BH
160062016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16007
16008 * gdb.fortran/type.f90: Add nested structures.
16009 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
16010 * gdb.fortran/derived-type.exp: Adapt expected output.
16011 * gdb.fortran/vla-type.exp: Adapt expected output.
16012
9b2db1fd
BH
160132016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16014
16015 * gdb.fortran/whatis_type.exp: Adapt expected output.
16016
72b17055
BH
160172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16018
16019 * gdb.fortran/print_type.exp: Fix expected output.
16020 * gdb.fortran/whatis_type.exp: Fix expected output.
16021
3cd81d8d
BH
160222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16023
16024 * gdb.fortran/whatis_type.exp: Use multi_line.
16025
ddae9462
TT
160262016-05-24 Tom Tromey <tom@tromey.com>
16027
16028 PR python/17386:
16029 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
16030 use value as an index.
16031
1957f6b8
TT
160322016-05-23 Tom Tromey <tom@tromey.com>
16033
16034 PR python/17981:
16035 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
16036 no-breakpoint case.
16037
026a9174
PA
160382016-05-24 Pedro Alves <palves@redhat.com>
16039
16040 PR gdb/19828
16041 * gdb.threads/clone-attach-detach.c: New file.
16042 * gdb.threads/clone-attach-detach.exp: New file.
16043
e70a7231
FR
160442016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
16045
16046 * gdb.base/annota-input-while-running.exp: Fix syntax error.
16047
0f6ed0e0
TT
160482016-05-23 Tom Tromey <tom@tromey.com>
16049
16050 PR python/19438, PR python/18393:
16051 * gdb.python/py-progspace.exp: Add "dir" test.
16052 * gdb.python/py-objfile.exp: Add "dir" test.
16053
ffd19d61
YQ
160542016-05-23 Yao Qi <yao.qi@linaro.org>
16055
16056 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
16057 * gdb.arch/thumb2-it.exp: Likewise.
16058
9e8f9b05
SM
160592016-05-18 Simon Marchi <simon.marchi@ericsson.com>
16060
16061 * gdb.mi/mi-threads-interrupt.c: New file.
16062 * gdb.mi/mi-threads-interrupt.exp: New file.
16063
61c6156d
SM
160642016-05-17 Simon Marchi <simon.marchi@ericsson.com>
16065
16066 PR gdb/18077
16067 * gdb.mi/mi-async-run.exp: New file.
16068 * gdb.mi/mi-async-run.c: New file.
16069
67218854
TT
160702016-05-17 Tom Tromey <tom@tromey.com>
16071 Manish Goregaokar <manishsmail@gmail.com>
16072
16073 * lib/rust-support.exp: New file.
16074 * lib/gdb.exp (skip_rust_tests): New proc.
16075 (build_executable_from_specs): Handle rust.
16076 * lib/future.exp (gdb_find_rustc): New proc.
16077 (gdb_default_target_compile): Handle rust.
16078 * gdb.rust/expr.exp: New file.
16079 * gdb.rust/generics.exp: New file.
16080 * gdb.rust/generics.rs: New file.
16081 * gdb.rust/methods.exp: New file.
16082 * gdb.rust/methods.rs: New file.
16083 * gdb.rust/modules.exp: New file.
16084 * gdb.rust/modules.rs: New file.
16085 * gdb.rust/simple.exp: New file.
16086 * gdb.rust/simple.rs: New file.
16087
c44af4eb
TT
160882016-05-17 Tom Tromey <tom@tromey.com>
16089
16090 * gdb.base/default.exp (set language): Add rust.
16091
dcd1f979
TT
160922016-05-17 Tom Tromey <tom@tromey.com>
16093
16094 * gdb.gdb/unittest.exp: New file.
16095
155b7f57
YQ
160962016-05-16 Yao Qi <yao.qi@linaro.org>
16097
16098 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16099 shell_prompt. Update shell_prompt_re.
16100
8ddd5a6c
DE
161012016-05-12 Doug Evans <dje@google.com>
16102
16103 PR symtab/19999
16104 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16105 $options when building executable.
16106 * gdb.dwarf2/fission-loclists-pie.S: New file.
16107 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16108
02e370d9
SM
161092016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16110
16111 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
16112 of [is_remote target],
16113
8929ad8b
SM
161142016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16115
16116 * lib/gdb.exp (use_gdb_stub): New procedure.
16117
6c447423
DE
161182016-05-03 Yunlian Jiang <yunlian@google.com>
16119 Doug Evans <dje@google.com>
16120
16121 PR symtab/19914
16122 * gdb.dwarf2/dwp-sepdebug.c: New file.
16123 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16124
444e826c
SM
161252016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16126
16127 * gdb.base/detach.exp: Remove is_remote check.
16128
740feeaa
SM
161292016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16130
16131 * gdb.base/annota-input-while-running.exp: Don't check for
16132 [is_remote target]. Enable annotations after running to main.
16133 Remove unused "set test..." line.
16134
9080ac9d
SM
161352016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16136
16137 * gdb.trace/trace-enable-disable.exp: New file.
16138 * gdb.trace/trace-enable-disable.c: New file.
16139
952ebca5
SM
161402016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16141
16142 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16143 use it in info sharedlibrary test.
16144 * gdb.trace/ftrace-lock.exp: Likewise.
16145 * gdb.trace/ftrace.exp: Likewise.
16146 * gdb.trace/range-stepping.exp: Likewise.
16147 * gdb.trace/trace-break.exp: Likewise.
16148 * gdb.trace/trace-condition.exp: Likewise.
16149 * gdb.trace/trace-mt.exp: Likewise.
16150
d9019901
SM
161512016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16152
16153 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16154 (gdb_load_shlib): ... this.
16155 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16156 gdb_load_shlib.
16157 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16158 * gdb.base/ctxobj.exp: Likewise.
16159 * gdb.base/dprintf-pending.exp: Likewise.
16160 * gdb.base/dso2dso.exp: Likewise.
16161 * gdb.base/fixsection.exp: Likewise.
16162 * gdb.base/gcore-relro.exp: Likewise.
16163 * gdb.base/gdb1555.exp: Likewise.
16164 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16165 * gdb.base/gnu-ifunc.exp: Likewise.
16166 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16167 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16168 * gdb.base/pending.exp: Likewise.
16169 * gdb.base/print-file-var.exp: Likewise.
16170 * gdb.base/print-symbol-loading.exp: Likewise.
16171 * gdb.base/shlib-call.exp: Likewise.
16172 * gdb.base/shreloc.exp: Likewise.
16173 * gdb.base/so-impl-ld.exp: Likewise.
16174 * gdb.base/solib-disc.exp: Likewise.
16175 * gdb.base/solib-nodir.exp: Likewise.
16176 * gdb.base/solib-overlap.exp: Likewise.
16177 * gdb.base/solib-symbol.exp: Likewise.
16178 * gdb.base/solib-weak.exp (do_test): Likewise.
16179 * gdb.base/sym-file.exp: Likewise.
16180 * gdb.base/symtab-search-order.exp: Likewise.
16181 * gdb.base/type-opaque.exp: Likewise.
16182 * gdb.base/unload.exp: Likewise.
16183 * gdb.base/watchpoint-solib.exp: Likewise.
16184 * gdb.compile/compile.exp: Likewise.
16185 * gdb.cp/gdb2384.exp: Likewise.
16186 * gdb.cp/infcall-dlopen.exp: Likewise.
16187 * gdb.cp/re-set-overloaded.exp: Likewise.
16188 * gdb.fortran/library-module.exp: Likewise.
16189 * gdb.opt/solib-intra-step.exp: Likewise.
16190 * gdb.python/py-finish-breakpoint.exp: Likewise.
16191 * gdb.python/py-shared.exp: Likewise.
16192 * gdb.reverse/solib-precsave.exp: Likewise.
16193 * gdb.reverse/solib-reverse.exp: Likewise.
16194 * gdb.server/solib-list.exp: Likewise.
16195 * gdb.threads/dlopen-libpthread.exp: Likewise.
16196 * gdb.threads/tls-shared.exp: Likewise.
16197 * gdb.threads/tls-so_extern.exp: Likewise.
16198 * gdb.trace/change-loc.exp: Likewise.
16199 * gdb.trace/ftrace-lock.exp: Likewise.
16200 * gdb.trace/ftrace.exp: Likewise.
16201 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16202 * gdb.trace/pending.exp: Likewise.
16203 * gdb.trace/range-stepping.exp: Likewise.
16204 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16205 (strace_info_marker): Likewise.
16206 (strace_probe_marker): Likewise.
16207 (strace_trace_on_same_addr): Likewise.
16208 (strace_trace_on_diff_addr): Likewise.
16209 * gdb.trace/trace-break.exp: Likewise.
16210 * gdb.trace/trace-condition.exp: Likewise.
16211 * gdb.trace/trace-mt.exp: Likewise.
16212
fca4cfd9
SM
162132016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16214
16215 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16216 result of gdb_remote_download.
16217 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16218 * gdb.base/dso2dso.exp: Likewise.
16219 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16220 * gdb.base/print-file-var.exp: Likewise.
16221 * gdb.base/shlib-call.exp: Likewise.
16222 * gdb.base/shreloc.exp: Likewise.
16223 * gdb.base/solib-overlap.exp: Likewise.
16224 * gdb.base/solib-weak.exp (do_test): Likewise.
16225 * gdb.base/unload.exp: Likewise.
16226
11cf4ffb
YQ
162272016-04-27 Yao Qi <yao.qi@linaro.org>
16228
16229 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16230 exists.
16231
3e2e34f8
KB
162322016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16233
16234 * vla-type.exp: Print structure from toplevel.
16235
8f07e298
BH
162362016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16237
16238 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16239 of dynamic types.
16240 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16241 of dynamic types.
16242
9920b434
BH
162432016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16244
16245 * gdb.fortran/vla-type.f90: New file.
16246 * gdb.fortran/vla-type.exp: New file.
16247
f3abeff5
YQ
162482016-04-25 Yao Qi <yao.qi@linaro.org>
16249
16250 * gdb.base/branch-to-self.c: New file.
16251 * gdb.base/branch-to-self.exp: New file.
16252
0a5d52f0
YQ
162532016-04-22 Yao Qi <yao.qi@linaro.org>
16254
16255 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16256 more after $hex.
16257
495346f6
YQ
162582016-04-22 Yao Qi <yao.qi@linaro.org>
16259
16260 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16261 * gdb.base/annota3.exp: Likewise.
16262
4a7e075c
YQ
162632016-04-22 Yao Qi <yao.qi@linaro.org>
16264
16265 * gdb.reverse/step-precsave.exp: Do one step and test program
16266 stops in "callee" and do multiple steps until program goes out
16267 of "callee".
16268 * gdb.reverse/step-reverse.exp: Likewise.
16269
5b061e98
YQ
162702016-04-22 Yao Qi <yao.qi@linaro.org>
16271
16272 * gdb.trace/signal.exp: Also pass if
16273 $tracepoint_hits($i) > $iterations.
16274
5c5dc57f
YQ
162752016-04-22 Yao Qi <yao.qi@linaro.org>
16276
16277 * gdb.trace/signal.c: New file.
16278 * gdb.trace/signal.exp: New file.
16279
a55411b9
DE
162802016-04-19 Doug Evans <xdje42@gmail.com>
16281
16282 * gdb.base/bad-file.exp: New file.
16283
a22df60a
MG
162842016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16285
16286 * gdb.dwarf2/implref.exp: New file.
16287
0c13f7e5
BH
162882016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16289
16290 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16291 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16292 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16293 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16294 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16295 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16296 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16297 * lib/fortran.exp (fortran_int4): New procedure.
16298 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16299 (fortran_logical4): Likewise.
16300
9b9b09e9
BH
163012016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16302
16303 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16304
a14d1f4d
BH
163052016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16306
16307 * lib/compiler.c: Add Intel specific preprocessor macros.
16308 * lib/compiler.cc: Likewise.
25d49b86 16309
7d49b1d0
LM
163102016-04-13 Luis Machado <lgustavo@codesourcery.com>
16311
16312 * gdb.server/connect-with-no-symbol-file.c: New file.
16313 * gdb.server/connect-with-no-symbol-file.exp: New file.
16314
8392fa22
SM
163152016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16316
16317 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16318
8c4c4aeb
SM
163192016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16320
16321 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16322 standard output directory.
16323
45e3745e
AT
163242016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16325
16326 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16327
e26b7e41
MM
163282016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16329
16330 * gdb.btrace/instruction_history.c (loop): Add declaration.
16331
8ce09462
AT
163322016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16333
16334 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16335
2e88a1ea
SM
163362016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16337
16338 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16339 parentheses to print.
16340 (continue_handler): Likewise.
16341
f48e22e3
SM
163422016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16343
16344 * gdb.server/solib-list.exp: Remove is_remote check.
16345 Pass shlib= to gdb_compile. Don't link shared library with
16346 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16347 Run binary filename through "readlink -f" on the target.
16348
096be756
PA
163492016-04-08 Pedro Alves <palves@redhat.com>
16350
16351 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16352 interpreter filename as argument to gdbserver_spawn.
16353 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16354 Return empty if $last_loaded_file does not exist.
16355
06500533
JK
163562016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16357
16358 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16359 * gdb.base/jit-main.c: Use exit after usage.
16360
2d35e871
JK
163612016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16362
16363 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16364 GDBHISTSIZE prior to the tests.
16365 * gdb.base/gdbinit-history.exp: Likewise.
16366
163672016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
16368
16369 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16370 instead of build_executable. Use gdb_load_shlibs.
16371
c8064e7e
YQ
163722016-04-07 Yao Qi <yao.qi@linaro.org>
16373
16374 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16375 Execute "si" command.
16376
bde47561
YQ
163772016-04-07 Yao Qi <yao.qi@linaro.org>
16378
16379 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16380 number instead of the comments on some line.
16381
b16f8a3b
DB
163822016-04-06 Don Breazeal <donb@codesourcery.com>
16383
16384 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16385 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16386
c2f901df
SM
163872016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16388
16389 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16390 standard_output_file. Remove unused binfile variable.
16391
ac17fda0
CU
163922016-04-05 Catalin Udma <catalin.udma@freescale.com>
16393
16394 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16395 * gdb.python/py-mi-objfile.exp: Match "list main" output
16396 in console format.
16397
03a8c4df
SM
163982016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16399
16400 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16401 absolute.
16402
6e774b13
SM
164032016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16404
16405 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16406 absolute.
16407 * gdb.trace/ftrace.exp: Likewise.
16408 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16409 targets as well.
16410 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16411 (gdb_load_shlibs): Copy libraries to test directory when testing
16412 natively. Only set solib-search-path if testing remotely.
16413 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16414
7817ea46
SM
164152016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16416
16417 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16418 gdb_download. Use it even if the target is not remote.
16419 * gdb.base/jit.exp (compile_jit_test): Likewise.
16420 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16421 output directory if the destination board is local, otherwise use
16422 the standard remote_download from DejaGnu.
16423 (gdb_download): Remove.
16424 (gdb_load_shlibs): Use gdb_remote_download instead of
16425 gdb_download.
16426 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16427 Use gdb_remote_download instead of gdb_download. Use it even if
16428 the target is not remote.
16429 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16430 instead of gdb_download.
16431
7beb7f68
SM
164322016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16433
16434 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16435 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16436 run.
16437
cc63428a
AV
164382016-04-01 Artemiy Volkov <artemiyv@acm.org>
16439
16440 PR gdb/19820
16441 * gdb.base/printcmds.exp: Add artificial arrays tests.
16442
64cdf930
PA
164432016-03-31 Pedro Alves <palves@redhat.com>
16444
16445 PR gdb/19858
16446 * gdb.base/jit-main.c: Include unistd.h.
16447 (ATTACH): Define to 0 if not already defined.
16448 (wait_for_gdb, mypid): New globals.
16449 (WAIT_FOR_GDB): New macro.
16450 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16451 some breakpoint locations.
16452 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16453 New procedures.
16454 (one_jit_test): Add REATTACH parameter, and handle it. Use
16455 continue_to_test_location.
16456 (top level): Test attach, and adjusts calls to one_jit_test.
16457
40dea8cb
PA
164582016-03-31 Pedro Alves <palves@redhat.com>
16459
16460 PR gdb/19858
16461 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16462 BINSUFFIX parameter, and handle it.
16463 (top level): Adjust calls compile_jit_test.
16464
e7ea3ec7
CU
164652016-03-31 Catalin Udma <catalin.udma@freescale.com>
16466
16467 PR python/19743
16468 * gdb.python/py-mi-events-gdb.py: New file.
16469 * gdb.python/py-mi-events.c: New file.
16470 * gdb.python/py-mi-events.exp: New file.
16471
e6359af3
YQ
164722016-03-30 Yao Qi <yao.qi@linaro.org>
16473
16474 * gdb.reverse/until-precsave.exp: Match function name only.
16475 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16476 Move malloc to a condition block.
16477 * gdb.reverse/until-reverse.exp: Match function name only.
16478
a4105d04
MK
164792016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16480
16481 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16482 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16483 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16484 variable for GPR 0 instead of assuming it is register 0.
16485 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16486 * lib/trace-support.exp: Add s390 registers.
16487
bfa6adb9
YQ
164882016-03-29 Yao Qi <yao.qi@linaro.org>
16489
16490 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16491
1e6697ea
YQ
164922016-03-24 Yao Qi <yao.qi@linaro.org>
16493
16494 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16495 test message.
16496
64bcd522
AA
164972016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16498
16499 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16500 maintaining separate logic for constructing the output path.
16501
7868401b
DB
165022016-03-16 Don Breazeal <donb@codesourcery.com>
16503
16504 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16505 Retry fork and waitpid on interrupted system call errors.
16506 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16507 Use with_timeout_factor to increase timeout by factor of 10.
16508
1cafadb4
DB
165092016-03-15 Don Breazeal <donb@codesourcery.com>
16510
16511 * gdb.cp/scope-err.cc: New test program.
16512 * gdb.cp/scope-err.exp: New test script.
16513 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16514 lines and "set breakpoint here" comment.
16515 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16516 Fixed some whitespace and format issues.
16517 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16518 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16519
81516450
DE
165202016-03-15 Doug Evans <dje@google.com>
16521
16522 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16523 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16524 All callers updated. Add tests for enums, mixed flags register.
16525
aa52b601
DE
165262016-03-15 Doug Evans <dje@google.com>
16527
16528 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16529 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16530
fa4ff313
SM
165312016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16532
16533 * gdb.base/default.exp: Add $_as_string to the list of expected
16534 convenience functions.
16535
f2403c39
AB
165362016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16537
16538 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16539
f2f3ccb9
SM
165402016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16541
16542 * gdb.python/py-as-string.exp: New file.
16543 * gdb.python/py-as-string.c: New file.
16544
00dbd492
PA
165452016-03-09 Pedro Alves <palves@redhat.com>
16546
16547 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16548 signal" -> "Thread NN received signal" output change.
16549 * gdb.threads/ia64-sigill.exp: Likewise.
16550 * gdb.threads/linux-dp.exp: Likewise.
16551 * gdb.threads/manythreads.exp: Likewise.
16552 * gdb.threads/pending-step.exp: Likewise.
16553 * gdb.threads/print-threads.exp: Likewise.
16554 * gdb.threads/sigstep-threads.exp: Likewise.
16555 * gdb.threads/staticthreads.exp: Likewise.
16556 * gdb.threads/tls.exp: Likewise.
16557
1e6697ea
YQ
165582016-03-09 Pedro Alves <palves@redhat.com>
16559
16560 * gdb.base/command-line-input.exp: New file.
16561
b04fd3be
MK
165622016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16563
16564 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16565 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16566 * gdb.trace/pending.exp: Accept leading dot before function name.
16567 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16568 * lib/trace-support.exp: Set registers for ppc.
16569
98fa59e9
MK
165702016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16571
16572 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16573 use it for disassembly; accept .main in addition to main in backtrace.
16574
f77198c8
MK
165752016-03-09 Wei-cheng Wang <cole945@gmail.com>
16576 Marcin Kościelnicki <koriakin@0x04.net>
16577
16578 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16579 (gdb_recursion_test_ptr): New global variable.
16580 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16581 gdb_recursion_test.
16582 (gdb_c_test): Ditto.
16583
ba84e0da
MK
165842016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16585
16586 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16587 ordering.
16588
4366d36e
MK
165892016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16590
16591 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16592 (bar): Add bar_start_lbl label.
16593 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16594 of foo/bar for emitting DWARF and tracing.
16595
5eb264df
SDJ
165962016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16597
16598 * analyze-racy-logs.py: Set executable bit.
16599
fb6a751f
SDJ
166002016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16601
16602 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16603 (CHECK_TARGET_TMP): Likewise.
16604 (check-single-racy): New rule.
16605 (check-parallel-racy): Likewise.
16606 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16607 (do-check-parallel-racy): New rule.
16608 (check-racy/%.exp): Likewise.
16609 * README (Racy testcases): New section.
16610 * analyze-racy-logs.py: New file.
16611
bdf7e230
DE
166122016-03-03 Doug Evans <dje@google.com>
16613
16614 * gdb.base/skip.exp: Use with_test_prefix.
16615
4719d415
YQ
166162016-03-03 Yao Qi <yao.qi@linaro.org>
16617
16618 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16619 Invoke step_over_syscall "clone" and break_cond_on_syscall
16620 "clone".
16621 * gdb.base/step-over-clone.c: New file.
16622
ea507862
YQ
166232016-03-03 Yao Qi <yao.qi@linaro.org>
16624
16625 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16626 code format.
16627
8fc8cbda
YQ
166282016-03-03 Yao Qi <yao.qi@linaro.org>
16629
16630 * gdb.base/disp-step-fork.c: Rename to ...
16631 * gdb.base/step-over-fork.c: ... it. New file.
16632 * gdb.base/disp-step-vfork.c: Rename to ...
16633 * gdb.base/step-over-vfork.c: ... it. New file.
16634 * gdb.base/disp-step-syscall.exp: Rename to ...
16635 * gdb.base/step-over-syscall.exp: ... it. New file.
16636 (disp_step_cross_syscall): Rename to ...
16637 (step_over_syscall): ... it.
16638
92fa70b0
YQ
166392016-03-03 Yao Qi <yao.qi@linaro.org>
16640
16641 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16642 If target supports condition evaluation on target, invoke
16643 break_cond_on_syscall for fork and vfork.
16644
e197ad3c
YQ
166452016-03-03 Yao Qi <yao.qi@linaro.org>
16646
16647 * gdb.base/disp-step-syscall.exp: Don't invoke
16648 support_displaced_stepping.
16649 (disp_step_cross_syscall): Test with displaced stepping off and
16650 on if supported.
16651
0b47da9f
YQ
166522016-03-03 Yao Qi <yao.qi@linaro.org>
16653
16654 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16655 proc.
16656 (setup): New proc.
16657 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16658 and setup.
16659
065ab6dc
BH
166602016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16661
16662 * gdb.fortran/vla-history.exp: Remove breakpoint.
16663
07e448ad 166642016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16665
25d49b86
PA
16666 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16667 exceeds timeout.
07e448ad 16668
9ac2d526 166692016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16670
25d49b86
PA
16671 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16672 breakpoint.
9ac2d526 16673
17807369
BH
166742016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16675
16676 * gdb.mi/vla.f90: Nullify pointer after declaration.
16677
86e501af
PA
166782016-03-01 Pedro Alves <palves@redhat.com>
16679
16680 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16681
1e903e32
PA
166822016-03-01 Pedro Alves <palves@redhat.com>
16683
16684 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16685 before anything else.
16686 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16687 _GNU_SOURCE here.
16688 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16689 before anything else.
16690 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16691
6ccb54e2
PA
166922016-03-01 Pedro Alves <palves@redhat.com>
16693
16694 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16695
30ca9da1
YQ
166962016-03-01 Yao Qi <yao.qi@linaro.org>
16697
16698 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16699 prepare_for_testing.
16700
dc856b38
YQ
167012016-03-01 Yao Qi <yao.qi@linaro.org>
16702
16703 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16704
4a932159
AA
167052016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16706
16707 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16708 manually constructing the output path.
16709
f2489477
AA
167102016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16711
16712 * gdb.arch/s390-stackless.S: New.
16713 * gdb.arch/s390-stackless.exp: New.
16714
38899f16
IB
167152016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16716
16717 * gdb.dlang/circular.c: New file.
16718 * gdb.dlang/circular.exp: New file.
16719
9fde51ed
YQ
167202016-02-26 Yao Qi <yao.qi@linaro.org>
16721
16722 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16723 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16724 (testcases): Update.
16725
ce90fefe
YQ
167262016-02-26 Yao Qi <yao.qi@linaro.org>
16727
16728 * gdb.reverse/aarch64.c: Rename to ...
16729 * gdb.reverse/insn-reverse.c: ... it.
16730 * gdb.reverse/aarch64.exp: Rename to ...
16731 * gdb.reverse/insn-reverse.exp: ... it.
16732
3263bceb
YQ
167332016-02-26 Yao Qi <yao.qi@linaro.org>
16734
16735 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16736 (testcase_ftype): New.
16737 (testcases): New array.
16738 (n_testcases): New.
16739 (main): Call each element in testcases.
16740 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16741 (read_testcase): New.
16742 Do the tests in a loop.
16743
6cb59ff1
YQ
167442016-02-25 Yao Qi <yao.qi@linaro.org>
16745
16746 * gdb.base/branches.c: Remove.
16747
ae91f625
MK
167482016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16749
16750 PR gdb/13808
16751 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16752
678b48b7
MK
167532016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16754
16755 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16756
7337a6f2
MK
167572016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16758
16759 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16760 change x86_64 call_insn to 'callq'.
16761
861ca91f
AT
167622016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16763
16764 * gdb.trace/tfile-avx.c: Move to...
16765 * gdb.trace/tracefile-pseudo-reg.c: Here.
16766 * gdb.trace/tfile-avx.exp: Move to...
16767 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16768
bf74e428
GB
167692016-02-24 Gary Benson <gbenson@redhat.com>
16770
16771 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16772 message on attach.
16773
cce0e923
DE
167742016-02-23 Doug Evans <dje@google.com>
16775
16776 * gdb.base/skip.c (test_skip): New function.
16777 (end_test_skip_file_and_function): New function.
16778 (test_skip_file_and_function): New function.
16779 * gdb.base/skip1.c (test_skip): New function.
16780 (skip1_test_skip_file_and_function): New function.
16781 * gdb.base/skip.exp: Add tests for new skip options.
16782 * gdb.base/skip-solib.exp: Update expected output.
16783 * gdb.perf/skip-command.cc: New file.
16784 * gdb.perf/skip-command.exp: New file.
16785 * gdb.perf/skip-command.py: New file.
16786
4000e47e
MK
167872016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16788
16789 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16790 info registers pattern.
16791
24f75ead
IB
167922016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16793
16794 * lib/future.exp: Add D support.
16795 (gdb_find_gdc): New proc.
16796 (gdb_default_target_compile): Add D support.
16797
fbb7bcbe
WW
167982016-02-18 Wei-cheng Wang <cole945@gmail.com>
16799
16800 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16801 user+system time.
16802 (trace_speed_test): Determine the iteration count for a time
16803 between 15..30 seconds.
16804
012b3a21
WT
168052016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16806
16807 * gdb.arch/i386-mpx-sigsegv.c: New file.
16808 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16809 * gdb.arch/i386-mpx-simple_segv.c: New file.
16810 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16811
2d5189bd
YQ
168122016-02-18 Yao Qi <yao.qi@linaro.org>
16813
16814 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16815 Don't call setup_kfail.
16816
40fb20d0
YQ
168172016-02-18 Yao Qi <yao.qi@linaro.org>
16818
16819 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16820 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16821
21b1f8d2
DE
168222016-02-16 Doug Evans <dje@google.com>
16823
16824 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16825 * gdb.base/skip1.c: Ditto.
16826 * gdb.base/skip.exp: Whitespace cleanup.
16827
4041ed77
DB
168282016-02-16 Don Breazeal <donb@codesourcery.com>
16829
16830 PR remote/19496
16831 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16832 Remove kfail for PR remote/19496.
16833
c4ef31bf
SM
168342016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16835
16836 * lib/gdb.exp (standard_temp_file): Return a path specific to
16837 the runtest invocation.
16838
266b65b3
SM
168392016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16840
16841 * gdb.trace/save-trace.exp: Change relative path to be in the
16842 standard output directory.
16843
a7a0a6a9
JK
168442016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16845
16846 * gdb.arch/i386-prologue.c: Add missing prototypes.
16847
c99dbb42
JK
168482016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16849
16850 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16851 * gdb.arch/i386-prologue.exp: Likewise.
16852 * gdb.arch/i386-size.exp: Likewise.
16853
aa480355
SM
168542016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16855
16856 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16857 define object file path.
16858 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16859 file path.
16860 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16861 standard_output_file to define binfile.
16862
ba881f50
JK
168632016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16864
16865 Fix compatibility with recent gfortran-5.3.1.
16866 * gdb.fortran/vla-history.exp (print vla1 allocated)
16867 (print vla2 allocated, print $2, print $3): Remove
16868 (print $4): Rename to ...
16869 (print $2): ... here.
16870 (print $9): Rename to ...
16871 (print $5): ... here.
16872 (print $10): Rename to ...
16873 (print $6): ... here.
16874 * gdb.fortran/vla.f90: Add pvla initialization.
16875
e9fb005c
JK
168762016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16877
16878 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16879 New test.
16880 * gdb.fortran/vla-value-sub.exp: Likewise.
16881
e44e00ff
MK
168822016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16883
16884 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16885
97e94151
SM
168862016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16887
16888 * i386-biarch-core.exp: Define corefile using
16889 standard_output_file.
16890
01113bc1
YQ
168912016-02-12 Yao Qi <yao.qi@linaro.org>
16892
16893 * gdb.arch/arm-single-step-kernel-helper.c: New.
16894 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16895
33b4777c
MM
168962016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16897
16898 * gdb.btrace/tailcall-only.exp: New.
16899 * gdb.btrace/tailcall-only.c: New.
16900 * gdb.btrace/x86_64-tailcall-only.S: New.
16901 * gdb.btrace/i686-tailcall-only.S: New.
16902
acc23c11
PA
169032016-02-11 Pedro Alves <palves@redhat.com>
16904
16905 * README (Parallel testing): Add missing double quotes.
16906
e352bf0a
PA
169072016-02-11 Pedro Alves <palves@redhat.com>
16908
16909 * README (Parallel testing): New section.
16910 (GDB_PARALLEL): Rewrite.
16911 (FORCE_PARALLEL): Document.
16912
9f5fed78
MK
169132016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16914
16915 * gdb.trace/tfile-avx.c: New test.
16916 * gdb.trace/tfile-avx.exp: New test.
16917
9ef9e6a6
KS
169182016-02-09 Keith Seitz <keiths@redhat.com>
16919
16920 PR breakpoints/19546
16921 * gdb.base/infcall-exec.c: New file.
16922 * gdb.base/infcall-exec2.c: New file.
16923 * gdb.base/infcall-exec.exp: New file.
16924
a96e36da
KS
169252016-02-09 Keith Seitz <keiths@redhat.com>
16926
16927 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16928 (toplevel): Call test_bkpt_address.
16929
9f61929f
KS
169302016-02-09 Keith Seitz <keiths@redhat.com>
16931
16932 PR python/19506
16933 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16934 (toplevel): Call test_bkpt_address.
16935
1e94266c
SM
169362016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16937
16938 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16939 to AC_OUTPUT.
16940 * configure: Regenerate.
16941
2a7f3dff
PA
169422016-02-09 Pedro Alves <palves@redhat.com>
16943
16944 PR breakpoints/19548
16945 * gdb.base/execl-update-breakpoints.c (some_function): New
16946 function.
16947 (main): Call it.
16948 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16949 Tighten expected GDB output.
16950
2151ccc5
SM
169512016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16952
16953 * Makefile.in (ALL_SUBDIRS): Remove.
16954 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16955 (distclean maintainer-clean realclean): Likewise.
16956 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16957 * configure: Regenerate.
16958 * gdb.ada/Makefile.in: Delete.
16959 * gdb.arch/Makefile.in: Likewise.
16960 * gdb.asm/Makefile.in: Likewise.
16961 * gdb.base/Makefile.in: Likewise.
16962 * gdb.btrace/Makefile.in: Likewise.
16963 * gdb.cell/Makefile.in: Likewise.
16964 * gdb.compile/Makefile.in: Likewise.
16965 * gdb.cp/Makefile.in: Likewise.
16966 * gdb.disasm/Makefile.in: Likewise.
16967 * gdb.dlang/Makefile.in: Likewise.
16968 * gdb.dwarf2/Makefile.in: Likewise.
16969 * gdb.fortran/Makefile.in: Likewise.
16970 * gdb.gdb/Makefile.in: Likewise.
16971 * gdb.go/Makefile.in: Likewise.
16972 * gdb.guile/Makefile.in: Likewise.
16973 * gdb.java/Makefile.in: Likewise.
16974 * gdb.linespec/Makefile.in: Likewise.
16975 * gdb.mi/Makefile.in: Likewise.
16976 * gdb.modula2/Makefile.in: Likewise.
16977 * gdb.multi/Makefile.in: Likewise.
16978 * gdb.objc/Makefile.in: Likewise.
16979 * gdb.opencl/Makefile.in: Likewise.
16980 * gdb.opt/Makefile.in: Likewise.
16981 * gdb.pascal/Makefile.in: Likewise.
16982 * gdb.perf/Makefile.in: Likewise.
16983 * gdb.python/Makefile.in: Likewise.
16984 * gdb.reverse/Makefile.in: Likewise.
16985 * gdb.server/Makefile.in: Likewise.
16986 * gdb.stabs/Makefile.in: Likewise.
16987 * gdb.threads/Makefile.in: Likewise.
16988 * gdb.trace/Makefile.in: Likewise.
16989 * gdb.xml/Makefile.in: Likewise.
16990 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16991 GDB_PARALLEL.
16992 (standard_output_file): Remove check for GDB_PARALLEL, always
16993 return path in outputs/$subdir/$testname.
16994
437277d4
SM
169952016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16996
16997 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16998 (site.exp): Assign abs_srcdir to tcl's srcdir.
16999
31d913c7
YQ
170002016-02-04 Yao Qi <yao.qi@linaro.org>
17001
17002 * gdb.base/foll-exec-mode.c: Include limits.h.
17003 (main): Add parameters argc and argv. Get directory from
17004 argv[0].
17005 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
17006 compilation.
17007 * gdb.base/foll-exec.c: Include limits.h.
17008 (main): Add parameters argc and argv.
17009 Get directory from argv[0].
17010 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17011 Adjust tests on the number of lines as source code changed.
17012 * gdb.base/foll-vfork-exit.c: Include limits.h.
17013 (main): Add one line of statement before vfork.
17014 * gdb.base/foll-vfork.c: Include limits.h and string.h.
17015 (main): Add parameters argc and argv. Get directory from
17016 argv[0].
17017 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
17018 (setup_gdb): Set tbreak to skip some source lines.
17019 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
17020 (main): Add parameters argc and argv. Get directory from
17021 argv[0].
17022 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
17023 compilation.
17024 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
17025 (main): Add parameters argc and argv. Get directory from
17026 argv[0].
17027 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
17028 compilation.
17029
9482b9fb
DE
170302016-02-01 Doug Evans <dje@google.com>
17031
17032 * gdb.base/skip.exp: Clean up multiple references to same test name.
17033
6b2e4f10
PA
170342016-02-01 Pedro Alves <palves@redhat.com>
17035
ccb6afd6 17036 PR remote/19496
6b2e4f10
PA
17037 * gdb.threads/forking-threads-plus-breakpoint.exp
17038 (displaced_stepping_supported): New global.
17039 (probe_displaced_stepping_support): New procedure.
17040 (do_test): Add 'displaced' parameter, and use it.
17041 (top level): Check for displaced stepping support. Add displaced
17042 stepping on/off testing axis.
17043
37a8db1a
AB
170442016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17045
17046 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
17047 pointer. Don't perform further tests on the unassociated pointer
17048 if the first test fails.
17049
5fdf6324
AB
170502016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17051
17052 * gdb.base/max-value-size.c: New file.
17053 * gdb.base/max-value-size.exp: New file.
17054 * gdb.base/huge.exp: Disable max-value-size for this test.
17055
935c6144
IB
170562016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
17057
17058 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17059
7fe8399d
YQ
170602016-01-28 Yao Qi <yao.qi@linaro.org>
17061
17062 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
17063
a2077e25
PA
170642016-01-25 Pedro Alves <palves@redhat.com>
17065
17066 PR threads/19461
17067 * gdb.base/fork-running-state.c: New file.
17068 * gdb.base/fork-running-state.exp: New file.
17069
1d2736d4
PA
170702016-01-25 Pedro Alves <palves@redhat.com>
17071
17072 PR gdb/19494
17073 * gdb.base/catch-fork-kill.c: New file.
17074 * gdb.base/catch-fork-kill.exp: New file.
17075
f1da4b11
PA
170762016-01-25 Pedro Alves <palves@redhat.com>
17077
17078 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17079 Delete, moved to lib/gdb.exp.
17080 * gdb.threads/forking-threads-plus-breakpoint.exp
17081 (foreach_with_prefix): Likewise.
17082 * gdb.threads/process-dies-while-handling-bp.exp
17083 (foreach_with_prefix): Likewise.
17084 * lib/gdb.exp (foreach_with_prefix): New procedure.
17085
45f38546
MK
170862016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17087
17088 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17089 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17090
dc29a1ce
MK
170912016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17092
17093 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17094 endian targets.
17095
092127d7
JK
170962016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17097 Pedro Alves <palves@redhat.com>
17098
17099 Fix testsuite compatibility with Guile.
17100 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17101 number.
17102
31d765d3
JK
171032016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17104
17105 Fix testsuite compatibility with Guile.
17106 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17107 (thread 1): New test for backtrace through signal handler.
17108
1ac78c04
YQ
171092016-01-22 Yao Qi <yao.qi@linaro.org>
17110
17111 PR testsuite/19491
17112 * gdb.base/multi-forks.c: Include
17113 ../lib/unbuffer_output.c
17114 (main): Call gdb_unbuffer_output.
17115
4f5946a8
DE
171162016-01-21 Doug Evans <dje@google.com>
17117
17118 * lib/ada.exp (gdb_compile_ada): Fix typo.
17119
305e13e6
JB
171202016-01-21 Joel Brobecker <brobecker@adacore.com>
17121
17122 * gdb.base/break-fun-addr.exp: New file.
17123 * gdb.base/break-fun-addr1.c: New file.
17124 * gdb.base/break-fun-addr2.c: New file.
17125
5f5dfff6
SM
171262016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17127
17128 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17129 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17130 enum flag values.
17131
fd356fa2
AA
171322016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17133
17134 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17135 when GDB can not set the vector return value. Add more comments
17136 for clarification.
17137
9df22175
AT
171382016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17139
17140 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17141 command.
17142
41d1845e
SM
171432016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17144
17145 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17146
01ac6840
SM
171472016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17148
17149 * Makefile.in (check-single): Pass --status to runtest.
17150 (check/%.exp): Likewise.
17151
171522016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17153
17154 * Makefile.in (check-parallel): Propagate return code from make
17155 do-check-parallel.
17156
bd0a71fa
MK
171572016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17158
17159 * gdb.trace/ftrace.exp: Fix expected message on continue.
17160 * gdb.trace/pending.exp: Fix expected message on continue.
17161 * gdb.trace/trace-break.exp: Fix expected message on continue.
17162
8bcbad33
SM
171632016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17164
17165 * lib/gdb.exp (gdb_test): Remove unused global references.
17166
f303dbd6
PA
171672016-01-18 Pedro Alves <palves@redhat.com>
17168
17169 * gdb.base/async-shell.exp: Adjust expected output.
17170 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17171 * gdb.base/siginfo-thread.exp: Adjust expected output.
17172 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17173 * gdb.java/jnpe.exp: Adjust expected output.
17174 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17175 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17176 * gdb.threads/leader-exit.exp: Adjust expected output.
17177 * gdb.threads/manythreads.exp: Adjust expected output.
17178 * gdb.threads/pthreads.exp: Adjust expected output.
17179 * gdb.threads/schedlock.exp: Adjust expected output.
17180 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17181 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17182 expected output.
17183 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17184 output.
17185 * gdb.threads/sigthread.exp: Adjust expected output.
17186 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17187
b2789696
YQ
171882016-01-18 Yao Qi <yao.qi@linaro.org>
17189
17190 * gdb.guile/scm-section-script.c: Replace @progbits with
17191 %progbits.
17192 * gdb.python/py-section-script.c: Likewise.
17193
71ef29a8
PA
171942016-01-15 Pedro Alves <palves@redhat.com>
17195
17196 * gdb.multi/tids.exp: Test star wildcard ranges.
17197
3f5b7598
PA
171982016-01-15 Pedro Alves <palves@redhat.com>
17199
17200 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17201 command from "thread apply" invocation.
17202 (thr_apply_info_thr_invalid): Default the expected output to the
17203 input tid list.
17204 (top level): Add tests that use convenience variables. Add tests
17205 for "thread apply" with a valid TID list, but missing the command.
17206
663f6d42
PA
172072016-01-13 Pedro Alves <palves@redhat.com>
17208
17209 * gdb.base/default.exp: Expect $_gthread as well.
17210 * gdb.multi/tids.exp: Test $_gthread.
17211 * gdb.threads/thread-specific.exp: Test $_gthread.
17212
c84f6bbf
PA
172132016-01-13 Pedro Alves <palves@redhat.com>
17214
17215 * gdb.multi/tids.exp: Test "info threads -gid".
17216
22a02324
PA
172172016-01-13 Pedro Alves <palves@redhat.com>
17218
17219 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17220 Breakpoint.thread.
17221 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17222
5d5658a1
PA
172232016-01-07 Pedro Alves <palves@redhat.com>
17224
17225 * gdb.base/break.exp: Adjust to output changes.
17226 * gdb.base/hbreak2.exp: Likewise.
17227 * gdb.base/sepdebug.exp: Likewise.
17228 * gdb.base/watch_thread_num.exp: Likewise.
17229 * gdb.linespec/keywords.exp: Likewise.
17230 * gdb.multi/info-threads.exp: Likewise.
17231 * gdb.threads/thread-find.exp: Likewise.
17232 * gdb.multi/tids.c: New file.
17233 * gdb.multi/tids.exp: New file.
17234
84654457
PA
172352016-01-13 Pedro Alves <palves@redhat.com>
17236
17237 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17238
e3940304
PA
172392016-01-13 Pedro Alves <palves@redhat.com>
17240
17241 * gdb.base/default.exp: Expect $_inferior as well.
17242 * gdb.multi/base.exp: Test $_inferior.
17243
a911d87a
PA
172442016-01-13 Pedro Alves <palves@redhat.com>
17245
17246 PR breakpoints/19388
17247 * gdb.base/catch-signal-siginfo-cond.c: New file.
17248 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17249
82075af2
JS
172502016-01-12 Josh Stone <jistone@redhat.com>
17251 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17252
17253 * gdb.base/catch-syscall.c (do_execve): New variable.
17254 (main): Conditionally trigger an execve.
17255 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17256 (test_catch_syscall_execve): New, check entry/return across execve.
17257 (do_syscall_tests): Call test_catch_syscall_execve.
17258
e46eeedd
PA
172592016-01-12 Pedro Alves <palves@redhat.com>
17260
17261 * gdb.base/random-signal.exp (do_test): New procedure, with body
17262 of testcase moved in.
17263
01d8c27e
JK
172642016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17265 Pedro Alves <palves@redhat.com>
17266
17267 * gdb.base/funcargs.exp (finish from indirectly called function):
17268 Reintroduce the case for 'First'.
17269
9a706302
JK
172702016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17271 Pedro Alves <palves@redhat.com>
17272
17273 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17274 (tcatch_vfork_then_child_follow_exec)
17275 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17276 identification.
17277
c0ecb95f
JK
172782016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17279
17280 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17281 and repeats to unlimited.
17282 * gdb.python/py-value.exp: Likewise.
17283 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17284 and repeats to unlimited.
17285
6cfc1fcb
JK
172862016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17287
17288 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17289 and reordering the functions.
17290 * gdb.multi/hangout.c: Likewise.
17291 * gdb.multi/hello.c: Likewise.
17292
582a1b00
SM
172932016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17294
17295 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17296 absolute.
17297 (SingleStatisticTestResult.report): Use dict.keys instead of
17298 dict.iterkeys.
17299
79bc59cb
PA
173002016-01-06 Pedro Alves <palves@redhat.com>
17301
17302 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17303
43368e1d
MM
173042016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17305
17306 * gdb.btrace/dlopen.exp: New.
17307 * gdb.btrace/dlopen.c: New.
17308 * gdb.btrace/dlopen-dso.c: New.
17309
79fad5b8
SL
173102015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17311
17312 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17313 PATTERN argument is optional.
17314
ab8314b3
JB
173152015-12-24 Joel Brobecker <brobecker@adacore.com>
17316
17317 * lib/ada.exp (target_compile_ada_from_dir): New function.
17318 (gdb_compile_ada): Reimplement avoiding the use of project files.
17319 * gdb.ada/gnat_ada.gpr: Delete.
17320 * gdb.ada/cond_lang.exp: Adjust test to make path before
17321 filename optional.
17322 * gdb.ada/small_reg_param.exp: Likewise.
17323
fe33faff
SM
173242015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17325
17326 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17327
6d265cb4
TP
173282015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17329
17330 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17331 case.
17332
10125099
SM
173332015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17334
17335 * gdb.base/break.exp: Remove dead code.
17336 * gdb.base/sepdebug.exp: Likewise.
17337
3ca22649
SM
173382015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17339
17340 * gdb.asm/asm-source.exp: Remove HP-UX references.
17341 * gdb.base/annota1.exp: Likewise.
17342 * gdb.base/annota3.exp: Likewise.
17343 * gdb.base/attach.exp: Likewise.
17344 * gdb.base/bigcore.exp: Likewise.
17345 * gdb.base/break.exp: Likewise.
17346 * gdb.base/call-ar-st.exp: Likewise.
17347 * gdb.base/callfuncs.exp: Likewise.
17348 * gdb.base/catch-fork-static.exp: Likewise.
17349 * gdb.base/display.exp: Likewise.
17350 * gdb.base/foll-exec-mode.exp: Likewise.
17351 * gdb.base/foll-exec.exp: Likewise.
17352 * gdb.base/foll-fork.exp: Likewise.
17353 * gdb.base/foll-vfork.exp: Likewise.
17354 * gdb.base/funcargs.exp: Likewise.
17355 * gdb.base/hbreak2.exp: Likewise.
17356 * gdb.base/inferior-died.exp: Likewise.
17357 * gdb.base/interrupt.exp: Likewise.
17358 * gdb.base/multi-forks.exp: Likewise.
17359 * gdb.base/nodebug.exp: Likewise.
17360 * gdb.base/sepdebug.exp: Likewise.
17361 * gdb.base/solib1.c: Likewise.
17362 * gdb.base/step-test.exp: Likewise.
17363 * gdb.mi/non-stop.c: Likewise.
17364 * gdb.mi/pthreads.c: Likewise.
17365 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17366 * gdb.threads/pthreads.c: Likewise.
17367 * gdb.threads/staticthreads.exp: Likewise.
17368 * lib/future.exp: Likewise.
17369 * lib/gdb.exp: Likewise.
17370 * gdb.base/so-indr-cl.c: Remove.
17371 * gdb.base/so-indr-cl.exp: Likewise.
17372 * gdb.base/solib.c: Likewise.
17373 * gdb.base/solib.exp: Likewise.
17374 * gdb.base/solib2.c: Likewise.
17375
b6304613
SM
173762015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17377
17378 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17379 * gdb.base/call-ar-st.exp: Likewise.
17380 * gdb.base/callfuncs.exp: Likewise.
17381 * gdb.base/condbreak.exp: Likewise.
17382 * gdb.base/constvars.exp: Likewise.
17383 * gdb.base/hbreak2.exp: Likewise.
17384 * gdb.base/langs.exp: Likewise.
17385 * gdb.base/list.exp: Likewise.
17386 * gdb.base/long_long.exp: Likewise.
17387 * gdb.base/ptype.exp: Likewise.
17388 * gdb.base/scope.exp: Likewise.
17389 * gdb.base/signals.exp: Likewise.
17390 * gdb.base/so-impl-ld.exp: Likewise.
17391 * gdb.base/varargs.exp: Likewise.
17392 * gdb.base/volatile.exp: Likewise.
17393 * gdb.base/whatis.exp: Likewise.
17394 * gdb.cp/cplusfuncs.exp: Likewise.
17395 * gdb.cp/inherit.exp: Likewise.
17396 * gdb.cp/local.exp: Likewise.
17397 * gdb.cp/member-ptr.exp: Likewise.
17398 * gdb.cp/method.exp: Likewise.
17399 * gdb.cp/overload.exp: Likewise.
17400 * gdb.cp/templates.exp: Likewise.
17401 * gdb.stabs/weird.exp: Likewise.
17402 * lib/compiler.c: Likewise.
17403 * lib/compiler.cc: Likewise.
17404 * lib/cp-support.exp: Likewise.
17405 * lib/gdb.exp: Likewise.
17406
bf401b07
SM
174072015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17408
17409 * configure.ac: Remove HP-UX case.
17410 * configure: Regenerate.
17411
aff9c0f8
SM
174122015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17413
17414 * lib/gdb.exp (gdb_compile): Add function doc.
17415
a6904d5a
PA
174162015-12-17 Pedro Alves <palves@redhat.com>
17417
17418 PR threads/19354
17419 * gdb.multi/info-threads.exp: New file.
17420
a22279dd
YQ
174212015-12-15 Yao Qi <yao.qi@linaro.org>
17422
17423 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17424 is aarch64*-*-*.
17425
0588c796
SL
174262015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17427
17428 * gdb.base/history-duplicates.exp: Skip if no readline support.
17429
5d978e17
SL
174302015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17431
17432 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17433
7e763b86
SL
174342015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17435
17436 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17437
87a3a92c
SL
174382015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17439
17440 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17441 ctrl-C if nointerrupts target property is set.
17442 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17443 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17444 * gdb.base/paginate-bg-execution.exp: Likewise.
17445 * gdb.base/paginate-execution-startup.exp: Likewise.
17446 * gdb.base/random-signal.exp: Likewise.
17447 * gdb.base/range-stepping.exp: Likewise.
17448 * gdb.cp/annota2.exp: Likewise.
17449 * gdb.cp/annota3.exp: Likewise.
17450 * gdb.gdb/selftest.exp: Likewise.
17451 * gdb.threads/continue-pending-status.exp: Likewise.
17452 * gdb.threads/leader-exit.exp: Likewise.
17453 * gdb.threads/manythreads.exp: Likewise.
17454 * gdb.threads/pthreads.exp: Likewise.
17455 * gdb.threads/schedlock.exp: Likewise.
17456 * gdb.threads/sigthread.exp: Likewise.
17457
a8f077dc
DB
174582015-12-11 Don Breazeal <donb@codesourcery.com>
17459
17460 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17461 remote.
17462 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17463 * gdb.base/foll-exec.exp (main): Enable for target remote.
17464 * gdb.base/foll-fork.exp (main): Likewise.
17465 * gdb.base/foll-vfork.exp (main): Likewise.
17466 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17467 (proc continue_to_exit_bp_loc): Use clean_restart.
17468 * gdb.base/pie-execl.exp (main): Disable for target remote.
17469 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17470 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17471 * gdb.threads/execl.exp (main): Likewise.
17472 * gdb.threads/fork-child-threads.exp (main): Likewise.
17473 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17474 remote.
17475 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17476 remote.
17477 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17478 pid.tid style ptids, instead of just tid.
17479 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17480 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17481 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17482 ptids, instead of just tid.
17483
3b2464a8
AB
174842015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17485
17486 * gdb.base/list.exp (test_list_forward): Add end of file error
17487 test.
17488 (test_repeat_list_command): Add end of file error test.
17489 (test_list_backwards): Add beginning of file error test.
17490
a0def019
AB
174912015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17492
17493 * gdb.base/list.exp (test_list_invalid_args): New function,
17494 defined, and called.
17495
5c000dff
AB
174962015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17497
17498 * gdb.base/list.exp (test_list): Make test names unique.
17499
f1637ebe
YQ
175002015-12-11 Yao Qi <yao.qi@linaro.org>
17501
17502 * gdb.base/coremaker2.c: Remove.
17503
36d6fc0a
PA
175042015-12-10 Pedro Alves <palves@redhat.com>
17505
17506 * gdb.multi/base.exp: Remove stale "spaces" references.
17507
762f7747
PA
175082015-12-10 Pedro Alves <palves@redhat.com>
17509
17510 * gdb.multi/base.exp: Don't use nowarnings.
17511 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17512 * gdb.multi/hangout.c: Include stdio.h.
17513 * gdb.multi/hello.c: Include stdlib.h.
17514 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17515 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17516 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17517
28d2bfb9
AB
175182015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17519
17520 * gdb.dwarf2/dw2-ranges-base.c: New file.
17521 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17522 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17523 support additional line table, and debug ranges generation.
17524 (Dwarf::ranges): New function, generate .debug_ranges.
17525 (Dwarf::lines): Support generating simple line table programs.
17526 (Dwarf::assemble): Initialise new namespace variables.
17527
5fc2beac
KB
175282015-12-09 Kevin Buettner <kevinb@redhat.com>
17529
17530 * gdb.base/async.exp (proc test_background): Add case for
17531 asynchronous execution not supported.
17532
1c35a88f
LM
175332015-12-09 Luis Machado <lgustavo@codesourcery.com>
17534
17535 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17536 format and change test names to make them unique.
17537
b593e3d9
RK
175382015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17539 Pedro Alves <pedro@redhat.com>
17540
17541 PR gdb/18702
17542 Add checking of floatformats setup on x86_64 hosts.
17543 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17544 (smallval, bigval): New labels/constants.
17545 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17546 float" after loading bigval and smallval.
17547
d72413e6
PMR
175482015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17549
17550 * gdb.ada/fun_overload_menu.exp: New testcase.
17551 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17552
ece66d65
JS
175532015-12-04 Josh Stone <jistone@redhat.com>
17554
17555 * gdb.base/catch-fork-static.exp: New.
17556
41d0efca
YQ
175572015-12-03 Yao Qi <yao.qi@linaro.org>
17558
17559 * gdb.base/sizeof.c: Don't include stdio.h and
17560 ../lib/unbuffer_output.c.
17561 (main): New variable 'size' and 'value'. Remove printf and
17562 gdb_unbuffer_output. Assign return value to size and value.
17563 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17564 at the beginning.
17565 (check_sizeof): Check the result by printing variable 'size'.
17566 (check_valueof): Check the result by printing variable 'value'.
17567
99fd02d9
YQ
175682015-12-01 Yao Qi <yao.qi@linaro.org>
17569
17570 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17571 for aarch64*-*-linux* target.
17572
f2faf941
PA
175732015-11-30 Pedro Alves <palves@redhat.com>
17574
17575 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17576
04bf20c5
PA
175772015-11-30 Pedro Alves <palves@redhat.com>
17578
17579 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17580 Handle non-stop mode vCont replies.
17581
09df4675
PA
175822015-11-30 Pedro Alves <palves@redhat.com>
17583
17584 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17585 prepare_for_testing. Start gdb with "set non-stop on" appended to
17586 GDBFLAGS. Lax expected stop output.
17587
58b584af
YQ
175882015-11-27 Yao Qi <yao.qi@linaro.org>
17589
17590 * gdb.arch/arm-neon.exp: New.
17591 * gdb.arch/arm-neon.c: New.
17592
dfcb77a8
YQ
175932015-11-27 Yao Qi <yao.qi@linaro.org>
17594
17595 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17596
88e8ec1b
YQ
175972015-11-27 Yao Qi <yao.qi@linaro.org>
17598
17599 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17600 frames-invalid annotation.
17601
bfde72c2
YQ
176022015-11-27 Yao Qi <yao.qi@linaro.org>
17603
17604 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17605
f6512a69
SM
176062015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17607
17608 * gdb.threads/names.exp: New file.
17609 * gdb.threads/names.c: New file.
17610 * README: Mention gdb,no_thread_names.
17611
46a3515b
MM
176122015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17613
17614 PR 19297
17615 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17616 support" error.
17617
62147a22
PA
176182015-11-24 Pedro Alves <palves@redhat.com>
17619
17620 PR 17539
17621 * gdb.base/display.exp: Expect displays to be sorted in ascending
17622 order. Use multi_line.
17623 * gdb.base/solib-display.exp: Likewise.
17624
2f341b6e
PA
176252015-11-24 Pedro Alves <palves@redhat.com>
17626
17627 PR 17539
25d49b86
PA
17628 * gdb.base/display.exp: Expect displays to be sorted in ascending
17629 order. Use multi_line.
17630 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17631
7e0aa6aa
PA
176322015-11-24 Pedro Alves <palves@redhat.com>
17633
17634 PR 17539
17635 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17636 threads in ascending order.
17637 * gdb.base/foll-fork.exp: Likewise.
17638 * gdb.base/foll-vfork.exp: Likewise.
17639 * gdb.base/multi-forks.exp: Likewise.
17640 * gdb.mi/mi-nonstop.exp: Likewise.
17641 * gdb.mi/mi-nsintrall.exp: Likewise.
17642 * gdb.multi/base.exp: Likewise.
17643 * gdb.multi/multi-arch.exp: Likewise.
17644 * gdb.python/py-inferior.exp: Likewise.
17645 * gdb.threads/break-while-running.exp: Likewise.
17646 * gdb.threads/execl.exp: Likewise.
17647 * gdb.threads/gcore-thread.exp: Likewise.
17648 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17649 * gdb.threads/kill.exp: Likewise.
17650 * gdb.threads/linux-dp.exp: Likewise.
17651 * gdb.threads/multiple-step-overs.exp: Likewise.
17652 * gdb.threads/next-bp-other-thread.exp: Likewise.
17653 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17654 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17655 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17656 * gdb.threads/thread-find.exp: Likewise.
17657 * gdb.threads/tls.exp: Likewise.
17658 * lib/mi-support.exp (mi_reverse_list): Delete.
17659 (mi_check_thread_states): No longer reverse list.
17660
2cc57ad8
PA
176612015-11-24 Pedro Alves <palves@redhat.com>
17662
17663 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17664 use lowercase.
17665
c93e8391
SM
176662015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17667
17668 * gdb.trace/actions.c: Include trace-common.h.
17669 (main): Add a location for a fast tracepoint.
17670 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17671 the normal tracepoints.
17672 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17673
045ccf91
SM
176742015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17675
17676 * save-trace.exp: Factor out code to these...
17677 (gdb_save_tracepoints): New.
17678 (gdb_load_tracepoints): New.
17679 (do_save_load_test): New.
17680
5506f9f6
KB
176812015-11-23 Kevin Buettner <kevinb@redhat.com>
17682
17683 * gdb.base/asmlabel.exp: New test.
17684 * gdb.base/asmlabel.c: New test case.
17685
16c3b12f
JB
176862015-11-23 Joel Brobecker <brobecker@adacore.com>
17687
17688 * gdb.base/wrong_frame_bt_full-main.c: New file.
17689 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17690 * gdb.base/wrong_frame_bt_full.exp: New file.
17691
155bfbd3
JB
176922015-11-23 Joel Brobecker <brobecker@adacore.com>
17693
17694 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17695
bb097445
JM
176962015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17697
206853a0 17698 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17699 pstate register when comparing registers values in
17700 sparc64-*-linux-gnu targets to avoid spurious differences.
17701
9c88ed8f
JM
177022015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17703
206853a0 17704 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17705
96161e25
SL
177062015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17707
17708 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17709 as type argument to gdb_compile.
17710 * gdb.base/nested-subp2.exp: Likewise.
17711 * gdb.base/nested-subp3.exp: Likewise.
17712
340c2830
DV
177132015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17714
17715 * lib/dwarf.exp (_note): Fix left shift of negative value.
17716 * gdb.trace/trace-condition.exp: Likewise.
17717
c1862d0f
YQ
177182015-11-13 Yao Qi <yao.qi@linaro.org>
17719
17720 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17721 comments about d10v.
17722 (test_scalar_returns): Likewise.
17723 * gdb.base/d10v.ld: Remove.
17724 * gdb.base/overlays.exp: Remove the target triplet checking for
17725 d10v-*-*.
17726 * gdb.base/structs.exp (test_struct_returns): Remove the
17727 comments about d10v.
17728 (test_struct_calls): Likewise.
17729
77ae9c19
YQ
177302015-11-13 Yao Qi <yao.qi@linaro.org>
17731
17732 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17733 * gdb.base/gnu_vector.c: Don't include stdio.h.
17734 (main): Don't print res and call add_some_intvecs.
17735
430e004e
MK
177362015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17737
17738 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17739 macro.
17740 (func5): Removed.
17741 (func4): Use FAST_TRACEPOINT_LABEL.
17742 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17743 macro.
17744 (func): Removed.
17745 (thread_function): Use FAST_TRACEPOINT_LABEL.
17746 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17747 (func): Remove.
17748 (marker): Use FAST_TRACEPOINT_LABEL.
17749 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17750 (pendfunc1): Remove.
17751 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17752 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17753 (foo): Remove.
17754 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17755 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17756 macro.
17757 (func): Remove.
17758 (marker): Use FAST_TRACEPOINT_LABEL.
17759 * gdb.trace/trace-common.h: New header.
17760 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17761 macro.
17762 (func): Remove.
17763 (marker): Use FAST_TRACEPOINT_LABEL.
17764 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17765 (func): Remove.
17766 (thread_function): Use FAST_TRACEPOINT_LABEL.
17767
6e7675a7
MK
177682015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17769
17770 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17771 in front.
17772 * gdb.trace/change-loc.exp: Use global pcreg definition.
17773 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17774 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17775 in front.
17776 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17777 * gdb.trace/pending.exp: Likewise.
17778 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17779 * gdb.trace/trace-break.exp: Likewise.
17780 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17781 in front.
17782 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17783 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17784 in front.
17785 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17786
dddc0e16
JB
177872015-11-09 Joel Brobecker <brobecker@adacore.com>
17788
17789 * gdb.ada/fin_fun_out: New testcase.
17790
c6f0b406
KB
177912015-11-07 Kevin Buettner <kevinb@redhat.com>
17792
17793 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17794 value associated with DW_AT_byte_size.
17795 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17796 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17797 DW_AT_upper_bound.
17798
f01dcfd9
KB
177992015-11-07 Kevin Buettner <kevinb@redhat.com>
17800
17801 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17802 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17803 version.
17804 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17805 gdb.dwarf2/dw2-canonicalize-type.exp,
17806 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17807 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17808 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17809 provided by gdb_target_symbol_prefix_flags_asm.
17810 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17811 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17812 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17813 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17814 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17815 macros where needed). Use this macro for symbols which require
17816 the prefix provided by SYMBOL_PREFIX.
17817
2223449a
KB
178182015-11-05 Kevin Buettner <kevinb@redhat.com>
17819
17820 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17821 New procs.
17822 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17823 representing expressions, of more than one list element.
17824 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17825 to prepend linker symbol prefix to f.
17826 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17827 table_1 and table_2.
17828 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17829 Likewise, for f and g.
17830 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17831 for ptr.
17832 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17833 for main.
17834 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17835 table_1_ptr and table_2_ptr.
17836
6f2f1a3a
JK
178372015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17838 Joel Brobecker <brobecker@adacore.com>
17839
17840 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17841
566c56c9
MK
178422015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17843
17844 * gdb.reverse/s390-mvcle.c: New test.
17845 * gdb.reverse/s390-mvcle.exp: New file.
17846 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17847
d5f0636b
MK
178482015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17849
17850 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17851
7ad8b86c
MK
178522015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17853
17854 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17855 reaching marker2.
17856 * gdb.reverse/getresuid-reverse.exp: Likewise.
17857 * gdb.reverse/pipe-reverse.exp: Likewise.
17858 * gdb.reverse/readv-reverse.exp: Likewise.
17859 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17860 * gdb.reverse/time-reverse.exp: Likewise.
17861 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17862
4081c0f1
YQ
178632015-10-30 Yao Qi <yao.qi@linaro.org>
17864
17865 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17866 (empty_cycle): Remove.
17867 (main): Don't call empty_cycle. Don't use watch_count_done.
17868 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17869 empty_cycle. Rewrite the code counting HW watchpoints.
17870
452b4ba5
MK
178712015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17872
17873 * gdb.reverse/fstatat-reverse.c: New test.
17874 * gdb.reverse/fstatat-reverse.exp: New file.
17875 * gdb.reverse/getresuid-reverse.c: New test.
17876 * gdb.reverse/getresuid-reverse.exp: New file.
17877 * gdb.reverse/pipe-reverse.c: New test.
17878 * gdb.reverse/pipe-reverse.exp: New file.
17879 * gdb.reverse/readv-reverse.c: New test.
17880 * gdb.reverse/readv-reverse.exp: New file.
17881 * gdb.reverse/recvmsg-reverse.c: New test.
17882 * gdb.reverse/recvmsg-reverse.exp: New file.
17883 * gdb.reverse/time-reverse.c: New test.
17884 * gdb.reverse/time-reverse.exp: New file.
17885 * gdb.reverse/waitpid-reverse.c: New test.
17886 * gdb.reverse/waitpid-reverse.exp: New file.
17887
5e2e7507
JK
178882015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17889
17890 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17891
0fde2c53
DE
178922015-10-26 Doug Evans <dje@google.com>
17893
17894 PR symtab/17391
17895 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17896 * gdb.dwarf2/bad-regnum.c: New file.
17897 * gdb.dwarf2/bad-regnum.exp: New file.
17898
1a70ae97
DE
178992015-10-26 Doug Evans <dje@google.com>
17900
17901 PR python/18938
17902 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17903 file.
17904
27dc26ab
JK
179052015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17906
17907 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17908 for a change by "Mention language in compile error message".
17909
bed91f4d
SM
179102015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17911
17912 PR python/18073
17913 * gdb.python/py-type.c (C::a_method): New.
17914 (C::a_const_method): New.
17915 (C::a_static_method): New.
17916 (a_function): New.
17917 * gdb.python/py-type.exp (test_fields): Test getting fields
17918 from function and method.
17919
3f2f83dd
KB
179202015-10-21 Keven Boell <keven.boell@intel.com>
17921
17922 * gdb.fortran/vla-alloc-assoc.exp: New file.
17923 * gdb.fortran/vla-datatypes.exp: New file.
17924 * gdb.fortran/vla-datatypes.f90: New file.
17925 * gdb.fortran/vla-history.exp: New file.
17926 * gdb.fortran/vla-ptype-sub.exp: New file.
17927 * gdb.fortran/vla-ptype.exp: New file.
17928 * gdb.fortran/vla-sizeof.exp: New file.
17929 * gdb.fortran/vla-sub.f90: New file.
17930 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17931 * gdb.fortran/vla-value-sub-finish.exp: New file.
17932 * gdb.fortran/vla-value-sub.exp: New file.
17933 * gdb.fortran/vla-value.exp: New file.
17934 * gdb.fortran/vla-ptr-info.exp: New file.
17935 * gdb.mi/mi-vla-fortran.exp: New file.
17936 * gdb.mi/vla.f90: New file.
17937
27145d50
SL
179382015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17939
17940 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17941 of hardwired timeout value.
17942
5f3ff4f8
JK
179432015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17944 Pedro Alves <palves@redhat.com>
17945
17946 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17947 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17948
bfd09d20
JS
179492015-10-19 Josh Stone <jistone@redhat.com>
17950
17951 * gdb.base/catch-syscall.c: Include <sched.h>.
17952 (unknown_syscall): New variable.
17953 (main): Trigger a vfork and an unknown syscall.
17954 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17955 (unknown_syscall_number): Likewise.
17956 (check_call_to_syscall): Accept an optional syscall pattern.
17957 (check_return_from_syscall): Likewise.
17958 (check_continue): Likewise.
17959 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17960 (test_catch_syscall_skipping_return): New test toggling off 'catch
17961 syscall' to step over the syscall return, then toggling back on.
17962 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17963 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17964 (do_syscall_tests): Call test_catch_syscall_without_args and
17965 test_catch_syscall_mid_vfork.
17966 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17967 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17968
b32b93c6
AS
179692015-10-19 Andrew Stubbs <ams@codesourcery.com>
17970
17971 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17972 print g_vE): Add new pass patterns.
17973 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17974 print various symbol names for vptr fields.
17975
9d622bda
AB
179762015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17977
17978 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17979 results.
17980
0fd8ac1c
YQ
179812015-10-12 Yao Qi <yao.qi@linaro.org>
17982
17983 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17984
34240514
YQ
179852015-10-12 Yao Qi <yao.qi@linaro.org>
17986
17987 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17988 is aarch64*-*-linux*.
17989
8240f442
YQ
179902015-10-12 Yao Qi <yao.qi@linaro.org>
17991
17992 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17993 (can_relocate_bcond_true): ... it.
17994 (can_relocate_bcond_false): New function.
17995 (foo): Likewise.
17996 (can_relocate_bl): Likewise.
17997 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17998 can_relocate_bl.
17999
2520f728
PMR
180002015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
18001
18002 * gdb.base/nested-addr.c: New file.
18003 * gdb.base/nested-addr.exp: New testcase.
18004
abcef95a
MM
180052015-10-09 Markus Metzger <markus.t.metzger@intel.com>
18006
18007 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
18008 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
18009 its output. Ignore the output of "record goto begin" and instead
18010 check that GDB is replaying.
18011
145e3ddb
PA
180122015-10-09 Pedro Alves <palves@redhat.com>
18013
18014 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
18015 (top level): Use it in the run with no args test.
18016
d5d8c4e1
IB
180172015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
18018
18019 * gdb.dlang/properties.exp: New file.
18020
06e635ef
SL
180212015-10-02 Sandra Loosemore <sandra@codesourcery.com>
18022
18023 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
18024 whether or not address 0x1000 is mapped on the target.
18025
e019fd1d
SM
180262015-09-30 Simon Marchi <simon.marchi@ericsson.com>
18027
18028 * gdb.python/py-type.exp: Do not run tests if binaries fail to
18029 build.
18030
77ba2a67
MM
180312015-09-30 Markus Metzger <markus.t.metzger@intel.com>
18032
18033 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
18034 instruction-history test.
18035
c60eb31f
DE
180362015-09-28 Doug Evans <dje@google.com>
18037
18038 * gdb.base/gcore.c (array_func): Add reference to static_array.
18039
9a3c8263
SM
180402015-09-25 Simon Marchi <simon.marchi@ericsson.com>
18041
18042 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
18043 source line.
18044
9720e656
SL
180452015-09-24 Sandra Loosemore <sandra@codesourcery.com>
18046
18047 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
18048 short or char as base type.
18049
938d3bf2
SL
180502015-09-23 Sandra Loosemore <sandra@codesourcery.com>
18051
18052 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
18053 to allow any size enum.
18054
e6c2c623
PMR
180552015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
18056
18057 * gdb.ada/array_ptr_renaming.exp: New testcase.
18058 * gdb.ada/array_ptr_renaming/foo.adb: New file.
18059 * gdb.ada/array_ptr_renaming/pack.ads: New file.
18060
06da0f77
PL
180612015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18062
18063 * gdb.trace/ftrace-lock.c: New file.
18064 * gdb.trace/ftrace-lock.exp: New file.
18065
4f51c22a
PL
180662015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18067
18068 * gdb.arch/insn-reloc.c: New file.
18069 * gdb.arch/ftrace-insn-reloc.exp: New file.
18070
7041adf4
PL
180712015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18072
18073 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
18074 instruction.
18075 * gdb.trace/pendshr1.c (pendfunc): Likewise.
18076 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18077 * gdb.trace/range-stepping.c: Likewise.
18078 * gdb.trace/trace-break.c: Likewise.
18079 * gdb.trace/trace-mt.c (thread_function): Likewise.
18080 * gdb.trace/ftrace.c (marker): Likewise.
18081 * gdb.trace/trace-condition.c (marker): Likewise.
18082 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18083 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18084 is_aarch64_target.
18085
015d2e7e
DE
180862015-09-18 Doug Evans <xdje42@gmail.com>
18087
18088 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18089 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18090
26b188a2
SL
180912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18092
18093 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18094 the breakpoint.
18095
79dc332b
SL
180962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18097
18098 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18099 the pending breakpoint. Remove timeout override for "Run till
18100 MI pending breakpoint on pendfunc3 on thread 2" test.
18101
f57929f2
SL
181022015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18103
18104 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18105 filename pattern.
18106
3f469b17
SL
181072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18108
18109 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18110 in breakpoint filename pattern.
18111
515b89b3
SL
181122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18113
7800dbe4
SL
18114 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18115
181162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18117
515b89b3
SL
18118 * gdb.linespec/explicit.exp: Check for readline support for
18119 tab-completion tests. Fix obvious typo.
18120
d2939ba2
MM
181212015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18122
18123 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18124 and replay.
18125
cbb55fa7
MM
181262015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18127
18128 * gdb.btrace/non-stop.c: New.
18129 * gdb.btrace/non-stop.exp: New.
18130
43691ca1
PL
181312015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18132 Yao Qi <yao.qi@linaro.org>
18133
18134 * gdb.trace/trace-condition.c: New file.
18135 * gdb.trace/trace-condition.exp: New file.
18136
d78908cf
WW
181372015-09-16 Wei-cheng Wang <cole945@gmail.com>
18138
18139 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18140 for testing bytecode compilation.
18141
1ed415e2
PA
181422015-09-16 Pedro Alves <palves@redhat.com>
18143 Sandra Loosemore <sandra@codesourcery.com>
18144
18145 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18146 (SECONDS): Redefine.
18147 (main): Call pthread_kill and alarm early.
18148 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18149 support.
18150 (test): If the target can't hardware step and doesn't support
18151 displaced stepping, increase the timeout.
18152
d136eff5
PA
181532015-09-16 Pedro Alves <palves@redhat.com>
18154
18155 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18156 (enable_debug): New procedures.
18157 (test): Use them. Bail out if waiting for threads fails.
18158 (top level): Bail out if a test fails.
18159
991f019c
YQ
181602015-09-16 Yao Qi <yao.qi@linaro.org>
18161
18162 * gdb.asm/asm-source.exp: Set asm-arch for
18163 aarch64*-*-* target.
18164 * gdb.asm/aarch64.inc: New file.
18165
bfca584f
PMR
181662015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18167
18168 * gdb.ada/array_of_variable_length.exp: New testcase.
18169 * gdb.ada/array_of_variable_length/foo.adb: New file.
18170 * gdb.ada/array_of_variable_length/pck.adb: New file.
18171 * gdb.ada/array_of_variable_length/pck.ads: New file.
18172
b326e587
DE
181732015-09-15 Doug Evans <dje@google.com>
18174
18175 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18176 of function static local variable.
18177
5382cfab
PW
181782015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18179
18180 * gdb.threads/tls-so_extern.exp: New test file.
18181 * gdb.threads/tls-so_extern.c: New test file.
18182 * gdb.threads/tls-so_extern_main.c: New test file.
18183
141c5cc4
JK
181842015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18185
18186 * gdb.opt/solib-intra-step-lib.c: New file.
18187 * gdb.opt/solib-intra-step-main.c: New file.
18188 * gdb.opt/solib-intra-step.exp: New file.
18189
d15dcecd
PA
181902015-09-15 Pedro Alves <palves@redhat.com>
18191
18192 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18193 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18194
4c2f2a79
PA
181952015-09-14 Pedro Alves <palves@redhat.com>
18196
18197 * gdb.base/hook-stop-continue.c: Delete.
18198 * gdb.base/hook-stop-continue.exp: Delete.
18199 * gdb.base/hook-stop-frame.c: Delete.
18200 * gdb.base/hook-stop-frame.exp: Delete.
18201 * gdb.base/hook-stop.c: New file.
18202 * gdb.base/hook-stop.exp: New file.
18203
919e6dbe
PMR
182042015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18205
18206 * gdb.ada/access_to_packed_array.exp: New testcase.
18207 * gdb.ada/access_to_packed_array/foo.adb: New file.
18208 * gdb.ada/access_to_packed_array/pack.adb: New file.
18209 * gdb.ada/access_to_packed_array/pack.ads: New file.
18210
157280a4
MM
182112015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18212
18213 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18214 buffer size test.
18215
2fd33e94
DB
182162015-09-11 Don Breazeal <donb@codesourcery.com>
18217
18218 * gdb.base/foll-exec.c: Add copyright header. Fix
18219 formatting issues.
18220 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18221 (do_exec_tests): Use clean_restart in place of zap_session,
18222 and for test initialization. Fix formatting issues. Use
18223 fail in place of perror.
18224 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18225 an expect statement to match an expression with output from
18226 the program under debug.
18227 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18228 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18229 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18230 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18231 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18232
e70b6e8e
DE
182332015-09-09 Doug Evans <dje@google.com>
18234
18235 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18236
7a551a51
DE
182372015-09-09 Doug Evans <dje@google.com>
18238
18239 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18240
4c666f84
DE
182412015-09-09 Doug Evans <dje@google.com>
18242
18243 * gdb.base/savedregs.exp: Fix typo.
18244
243a9253
PA
182452015-09-09 Pedro Alves <palves@redhat.com>
18246
18247 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18248
c0fa8fbd
SL
182492015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18250
18251 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18252 command actually switches threads. Give up on remaining
18253 tests if target fails to stop at breakpoint.
18254
cd7c1778
PMR
182552015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18256
18257 * gdb.ada/funcall_char.exp: New testcase.
18258 * gdb.ada/funcall_char/foo.adb: New file.
18259
dc5c8746
PMR
182602015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18261
18262 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18263 expected outputs. Add two testcases for completing ambiguous
18264 functions.
18265 * gdb.ada/complete/aux_pck.adb: New file.
18266 * gdb.ada/complete/aux_pck.ads: New file.
18267 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18268 Ambiguous_Func functions.
18269 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18270 * gdb.ada/complete/pck.adb: Likewise.
18271
4e83a1e7
UW
182722015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18273
18274 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18275 failures to run the test program under GDB.
18276
8ce74153
LM
182772015-08-26 Luis Machado <lgustavo@codesourcery.com>
18278
18279 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18280 to C.
18281
e9756d52
PP
182822015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18283
18284 * gdb.base/run-after-attach.exp: New test file.
18285 * gdb.base/run-after-attach.c: New test file.
18286
8d37573b
DB
182872015-08-26 Don Breazeal <donb@codesourcery.com>
18288
18289 * gdb.base/foll-exec-2.c: New test program.
18290 * gdb.base/foll-exec-2.exp: New test.
18291
63e43d3a
PMR
182922015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18293
18294 * gdb.base/nested-subp1.exp: New file.
18295 * gdb.base/nested-subp1.c: New file.
18296 * gdb.base/nested-subp2.exp: New file.
18297 * gdb.base/nested-subp2.c: New file.
18298 * gdb.base/nested-subp3.exp: New file.
18299 * gdb.base/nested-subp3.c: New file.
18300
3d40fbb5
PA
183012015-08-24 Pedro Alves <palves@redhat.com>
18302
18303 * gdb.server/connect-without-multi-process.c: New file.
18304 * gdb.server/connect-without-multi-process.exp: New file.
18305
4422ac93
LM
183062015-08-24 Luis Machado <lgustavo@codesourcery.com>
18307
18308 * gdb.opt/inline-markers.c: Make z int.
18309
91dddb86
LM
183102015-08-24 Luis Machado <lgustavo@codesourcery.com>
18311
18312 * gdb.opt/inline-markers.c: Make z volatile.
18313
a48847ee
LM
183142015-08-24 Luis Machado <lgustavo@codesourcery.com>
18315
18316 * gdb.opt/inline-bt.c: New volatile global z.
18317 * gdb.opt/inline-cmds.c: Likewise.
18318 * gdb.opt/inline-locals.c: Likewise.
18319 * gdb.opt/inline-markers.c: New extern global z.
18320 (marker): Use z.
18321 (inline_fn): Likewise.
18322
0ebbc52b
PA
183232015-08-24 Pedro Alves <palves@redhat.com>
18324
18325 * config/m32r-stub.exp: Remove file.
18326 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18327 * gdb.base/call-rt-st.exp: Likewise.
18328 * gdb.base/call-strs.exp: Likewise.
18329 * gdb.base/default.exp: Remove references to h8300-*-hms and
18330 *-*-udi*.
18331 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18332
77c365df
AA
183332015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18334
18335 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18336 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18337 and "return" use KFAIL when GDB can not read/write the vector
18338 return value.
18339
4313b8c0
GB
183402015-08-21 Gary Benson <gbenson@redhat.com>
18341
18342 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18343
0e433b32
PA
183442015-08-20 Pedro Alves <palves@redhat.com>
18345
18346 * gdb.server/solib-list.exp: No longer expect an interior stop in
18347 non-stop mode.
18348
221e1a37
PA
183492015-08-20 Pedro Alves <palves@redhat.com>
18350
18351 * gdb.server/connect-stopped-target.c: New file.
18352 * gdb.server/connect-stopped-target.exp: New file.
18353
40e3ad0e
PA
183542015-08-20 Pedro Alves <palves@redhat.com>
18355
18356 * gdb.dwarf2/comp-unit-lang.exp: New file.
18357 * gdb.dwarf2/comp-unit-lang.c: New file.
18358
af39b327
PMR
183592015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18360
18361 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18362 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18363
7d45c7c3 183642015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 18365
7d45c7c3
KB
18366 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18367 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18368
4d6cceb4
DE
183692015-08-18 Doug Evans <dje@google.com>
18370 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18371
18372 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18373 skip_python_tests. New arg prompt_regexp.
18374 (skip_python_tests): New function.
18375 * lib/mi-support.exp (mi_skip_python_tests): New function.
18376 * gdb.python/py-mi-objfile-gdb.py: New file.
18377 * gdb.python/py-mi-objfile.c: New file.
18378 * gdb.python/py-mi-objfile.exp: New file.
18379
ad89c2aa
KS
183802015-08-17 Keith Seitz <keiths@redhat.com>
18381
18382 * gdb.linespec/explicit.exp: Move strace test from here ...
18383 * gdb.trace/strace.exp: ... to here.
18384
e3ae3c43
PP
183852015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18386
18387 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18388 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18389
604b2636
DE
183902015-08-14 Doug Evans <xdje42@gmail.com>
18391
18392 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18393 inferior before selecting a new file.
18394
6ff0ba5f
DE
183952015-08-14 Doug Evans <xdje42@gmail.com>
18396
18397 * gdb.mi/mi-disassemble.exp: Update.
18398 * gdb.base/disasm-optim.S: New file.
18399 * gdb.base/disasm-optim.c: New file.
18400 * gdb.base/disasm-optim.h: New file.
18401 * gdb.base/disasm-optim.exp: New file.
18402
9ca98f92
KS
184032015-08-14 Keith Seitz <keiths@redhat.com>
18404
18405 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18406 "evaluated-by".
18407
52bbc560
JB
184082015-08-13 Joel Brobecker <brobecker@adacore.com>
18409
18410 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18411
5d8c3ed3
PMR
184122015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18413
18414 * gdb.ada/fun_renaming.exp: New testcase.
18415 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18416 * gdb.ada/fun_renaming/pack.adb: New file.
18417 * gdb.ada/fun_renaming/pack.ads: New file.
18418
ea8812bc
KS
184192015-08-12 Keith Seitz <keiths@redhat.com>
18420
18421 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18422 gdb_get_line_number.
18423
4dafcdeb
JB
184242015-08-12 Joel Brobecker <brobecker@adacore.com>
18425
18426 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18427 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18428 gdb.base/dso2dso.exp: New files.
18429
5ba32597
SDJ
184302015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18431 Pedro Alves <palves@redhat.com>
18432 Keith Seitz <keiths@redhat.com>
18433
18434 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18435 GDBFLAGS.
18436
b6dafabf
PP
184372015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18438
18439 * gdb.base/gdbhistsize-history.exp
18440 (test_histsize_history_setting): Use save_vars.
18441 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18442 Use save_vars.
18443 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18444 * gdb.base/readline.exp: Use save_vars.
18445
abe8e607
PP
184462015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18447
18448 * lib/gdb.exp (save_vars): New proc.
18449
629500fa
KS
184502015-08-11 Keith Seitz <keiths@redhat.com>
18451
18452 * gdb.base/help.exp: Update help_breakpoint_text.
18453
eb8c4e2e
KS
184542015-08-11 Keith Seitz <keiths@redhat.com>
18455
18456 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18457 (at toplevel): Call test_explicit_breakpoints.
18458 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18459 breakpoints.
18460 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18461 breakpoint conditions, "-cond".
18462
87f0e720
KS
184632015-08-11 Keith Seitz <keiths@redhat.com>
18464
18465 * gdb.linespec/3explicit.c: New file.
18466 * gdb.linespec/cpexplicit.cc: New file.
18467 * gdb.linespec/cpexplicit.exp: New file.
18468 * gdb.linespec/explicit.c: New file.
18469 * gdb.linespec/explicit.exp: New file.
18470 * gdb.linespec/explicit2.c: New file.
18471 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18472 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18473 before using in the matching pattern.
18474 Clarify that `prefix' is a regular expression.
18475
f00aae0f
KS
184762015-08-11 Keith Seitz <keiths@redhat.com>
18477
18478 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18479 test.
18480 Add tests for missing ",FMT" and ",".
18481
e27852be
DE
184822015-08-10 Doug Evans <dje@google.com>
18483 Keith Seitz <keiths@redhat.com>
18484
18485 PR gdb/17960
18486 * gdb.base/completion.exp: Add location completer tests.
18487
7f03bd92
PA
184882015-08-07 Pedro Alves <palves@redhat.com>
18489
18490 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18491 tests here.
18492 (top level): Run do_test with and without displaced stepping.
18493
3fc8eb30
PA
184942015-08-07 Pedro Alves <palves@redhat.com>
18495
18496 * gdb.base/valgrind-disp-step.c: New file.
18497 * gdb.base/valgrind-disp-step.exp: New file.
18498
d4569d7b
PA
184992015-08-07 Pedro Alves <palves@redhat.com>
18500
18501 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18502 Delete function.
18503 (main): Add alarm. Run an infinite loop instead of calling
18504 wait_threads.
18505 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18506 comment.
18507 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18508 Delete function.
18509 (main): Add alarm. Run an infinite loop instead of calling
18510 wait_threads.
18511 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18512 comment.
18513
e1316e60
PA
185142015-08-07 Pedro Alves <palves@redhat.com>
18515
18516 * gdb.base/checkpoint-ns.exp: New file.
18517 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18518 standard_testfile.
18519
da8c46d2
MM
185202015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18521
18522 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18523 * gdb.btrace/instruction_history.exp: Update.
18524 * gdb.btrace/tsx.exp: New.
18525 * gdb.btrace/tsx.c: New.
18526
de1c2c52
PA
185272015-08-06 Pedro Alves <palves@redhat.com>
18528
18529 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18530 increase timeout.
18531 * gdb.reverse/until-precsave.exp: Bump timeouts.
18532
782e0bf4
PA
185332015-08-06 Pedro Alves <palves@redhat.com>
18534
18535 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18536
83e97ed0
PA
185372015-08-06 Pedro Alves <palves@redhat.com>
18538
18539 PR gdb/18749
18540 * gdb.threads/process-dies-while-handling-bp.c: New file.
18541 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18542
863d01bd
PA
185432015-08-06 Pedro Alves <palves@redhat.com>
18544
18545 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18546 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18547
0a39bb32
PA
185482015-08-05 Pedro Alves <palves@redhat.com>
18549
18550 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18551 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18552
ee2d2b10
SL
185532015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18554
18555 * gdb.base/bp-permanent.exp: Report test as unsupported if
18556 the target cannot stop at the permanent breakpoint.
18557
4e1bdb00
DE
185582015-08-03 Doug Evans <dje@google.com>
18559
18560 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18561 10000.
18562
3d338901
DE
185632015-08-03 Doug Evans <dje@google.com>
18564
18565 * Makefile.in (workers/%.worker, build-perf): New rule.
18566 (GDB_PERFTEST_MODE): New variable.
18567 (check-perf): Use it.
18568 (clean): Clean up gdb.perf parallel build subdirs.
18569 * lib/build-piece.exp: New file.
18570 * lib/gdb.exp (make_gdb_parallel_path): New function
18571 (standard_output_file, standard_temp_file): Call it.
18572 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18573 of $GDB_PARALLEL.
18574 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18575
af061d3e
DE
185762015-08-03 Doug Evans <dje@google.com>
18577
8e1afc81 18578 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18579 (LOG_FILE_NAME): New global.
18580 (TextReporter.__init__): Initialize self.txt_sum.
18581 (TextReporter.report): Add support for multiple data-points.
18582 Move report to perftest.sum, put raw data in perftest.log.
18583 (TextReporter.start): Open sum and log files.
18584 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18585 * gdb.perf/lib/perftest/testresult.py
18586 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18587
2c8c5d37
PA
185882015-07-31 Pedro Alves <palves@redhat.com>
18589
18590 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18591 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18592 kill_wait_spawned_process instead of explicit "kill -9".
18593 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18594 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18595 kill_wait_spawned_process.
18596 * gdb.base/attach-twice.exp: Likewise.
18597 * gdb.base/attach.exp: Likewise.
18598 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18599 gdb_test_multiple.
18600 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18601 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18602 kill_wait_spawned_process.
18603 * gdb.base/valgrind-infcall.exp: Likewise.
18604 * gdb.multi/multi-attach.exp: Likewise.
18605 * gdb.python/py-prompt.exp: Likewise.
18606 * gdb.python/py-sync-interp.exp: Likewise.
18607 * gdb.server/ext-attach.exp: Likewise.
18608 * gdb.threads/attach-into-signal.exp (corefunc): Use
18609 spawn_wait_for_attach, spawn_id_get_pid and
18610 kill_wait_spawned_process.
18611 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18612 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18613 spawn_id_get_pid and kill_wait_spawned_process.
18614 * gdb.threads/attach-stopped.exp (corefunc): Use
18615 spawn_wait_for_attach, spawn_id_get_pid and
18616 kill_wait_spawned_process.
18617 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18618 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18619 kill_wait_spawned_process instead of explicit "kill -9".
18620 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18621 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18622 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18623 processes. Don't map cygwin/windows pids here. Now returns a
18624 spawn id list.
18625
032a0fca
SL
186262015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18627
18628 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18629 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18630 correct patch.
18631
61a934ca
SL
186322015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18633
18634 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18635
4bc4d428
SL
186362015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18637
18638 Reapply:
18639 2014-05-21 Mark Wielaard <mjw@redhat.com>
18640
18641 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18642
998d452a
PA
186432015-07-30 Pedro Alves <palves@redhat.com>
18644
18645 * linux-low.c (handle_extended_wait): Set the child's last
18646 reported status to TARGET_WAITKIND_STOPPED.
18647
69dde7dc
PA
186482015-07-30 Pedro Alves <palves@redhat.com>
18649
18650 PR threads/18600
18651 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18652 only shows inferior 1.
18653
4dd63d48
PA
186542015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18655 Pedro Alves <palves@redhat.com>
18656
18657 PR threads/18600
18658 * gdb.threads/fork-plus-threads.c: New file.
18659 * gdb.threads/fork-plus-threads.exp: New file.
18660
d618e4c5
PP
186612015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18662
18663 * gdb.base/batch-preserve-term-settings.exp
18664 (test_terminal_settings_preserved_after_cli_exit): Use
18665 send_quit_command.
18666
1eef6428
PA
186672015-07-29 Pedro Alves <palves@redhat.com>
18668 Don Breazeal <donb@codesourcery.com>
18669
18670 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18671 output from both inferior_spawn_id and gdb_spawn_id.
18672
7da5b897
SDJ
186732015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18674
18675 * gdb.threads/attach-into-signal.exp (corefunc): Use
18676 with_test_prefix on nested loops, uniquefying the test messages.
18677
dac804df
SDJ
186782015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18679
18680 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18681 commit.
18682
06265e53
PP
186832015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18684
18685 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18686 New proc.
18687 (test_terminal_settings_preserved_after_sigterm): New test.
18688
18206ca3
PP
186892015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18690
18691 * gdb.base/batch-preserve-term-settings.exp
18692 (test_terminal_settings_preserved_after_cli_exit): New test.
18693
90074d11
PP
186942015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18695
18696 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18697 manipulation of saved_gdbflags.
18698 (test_terminal_settings_preserved): Remove global declaration of
18699 the unused variable pagination_prompt. Remove manipulation of
18700 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18701 GDBFLAGS.
18702
eb1a7902
PA
187032015-07-29 Pedro Alves <palves@redhat.com>
18704
18705 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18706
8b75dd3b
PA
187072015-07-29 Pedro Alves <palves@redhat.com>
18708
18709 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18710 at the top.
18711
dedad4e3
PA
187122015-07-29 Pedro Alves <palves@redhat.com>
18713
18714 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18715 (main): Call gdb_unbuffer_output.
18716 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18717 (main): Call gdb_unbuffer_output.
18718 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18719 (main): Call gdb_unbuffer_output.
18720 * gdb.base/call-strs.exp: Adjust to step over the
18721 gdb_unbuffer_output call.
18722 * gdb.base/catch-gdb-caused-signals.c: Include
18723 "../lib/unbuffer_output.c".
18724 (main): Call gdb_unbuffer_output.
18725 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18726 (main): Call gdb_unbuffer_output.
18727 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18728 (main): Call gdb_unbuffer_output.
18729 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18730 (main): Call gdb_unbuffer_output.
18731 * gdb.base/shlib-call.exp: Adjust to step over the
18732 gdb_unbuffer_output call.
18733 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18734 (main): Call gdb_unbuffer_output.
18735 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18736 (main): Call gdb_unbuffer_output.
18737 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18738 (main): Rename to ...
18739 (test): ... this.
18740 (main): Reimplement.
18741 * gdb.base/varargs.exp: Run to test instead of to main.
18742 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18743 (main): Call gdb_unbuffer_output.
18744
58789a91
PA
187452015-07-29 Pedro Alves <palves@redhat.com>
18746
18747 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18748 factore out from mi_continue_dprintf. For call-style dprintfs,
18749 expect dprintf output out of $inferior_spawn_id.
18750 (mi_continue_dprintf): Use mi_expect_dprintf.
18751 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18752 (main): Call gdb_unbuffer_output.
18753
e8376742
PA
187542015-07-29 Pedro Alves <palves@redhat.com>
18755
18756 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18757 (default_mi_gdb_start): Set inferior_spawn_id instead of
18758 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18759 gdb_spawn_id.
18760 (mi_gdb_test): Always expect inferior output from both
18761 $inferior_spawn_id and $gdb_spawn_id.
18762
08280010
PA
187632015-07-29 Pedro Alves <palves@redhat.com>
18764
18765 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18766 send_inferior and $inferior_spawn_id.
18767
4d30e432
PA
187682015-07-29 Pedro Alves <palves@redhat.com>
18769
18770 * gdb.gdb/complaints.exp (test_initial_complaints)
18771 (test_serial_complaints, test_short_complaints): Use
18772 gdb_test_stdio.
18773 (test_empty_complaint): Handle $inferior_spawn_id !=
18774 $gdb_spawn_id.
18775
0d30a335
PA
187762015-07-29 Pedro Alves <palves@redhat.com>
18777
18778 * gdb.base/varargs.exp: Use gdb_test_stdio.
18779
39413b29
PA
187802015-07-29 Pedro Alves <palves@redhat.com>
18781
18782 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18783
7cb000a9
PA
187842015-07-29 Pedro Alves <palves@redhat.com>
18785
18786 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18787
d7b8ac82
PA
187882015-07-29 Pedro Alves <palves@redhat.com>
18789
18790 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18791 parameter into two new parameters, "inf_result" and "gdb_result".
18792 Expect inferior output and gdb output from $inferior_spawn_id and
18793 $gdb_spawn_id, respectively. Adjust all callers.
18794
789c3a0c
PA
187952015-07-29 Pedro Alves <palves@redhat.com>
18796
18797 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18798 of gdb_test_sequence.
18799
77e760c3
PA
188002015-07-29 Pedro Alves <palves@redhat.com>
18801
18802 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18803 (saw_spurious_output): Expect inferior output from
18804 $inferior_spawn_id. Use gdb_test_stdio.
18805
8396d2cd
PA
188062015-07-29 Pedro Alves <palves@redhat.com>
18807
18808 * gdb.base/dprintf.exp: Use standard_testfile. Change
18809 prepare_for_testing call.
18810 (srcfile): Don't set.
18811 (restart): New procedure.
18812 (test_dprintf): New procecure, use to continue over dprintfs.
18813 (test_call, test_agent): New procedures, tests moved here.
18814 Restart gdb and recreate dprintfs. Adjust expected output.
18815
2051d61f
PA
188162015-07-29 Pedro Alves <palves@redhat.com>
18817
18818 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18819
452397af
PA
188202015-07-29 Pedro Alves <palves@redhat.com>
18821
18822 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18823
8aed9555
PA
188242015-07-29 Pedro Alves <palves@redhat.com>
18825
18826 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18827 gdb_test_stdio.
18828
188a61b4
PA
188292015-07-29 Pedro Alves <palves@redhat.com>
18830
18831 * lib/gdb.exp (gdb_test_stdio): New procedure.
18832
12264a45
PA
188332015-07-29 Pedro Alves <palves@redhat.com>
18834
18835 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18836
23ffc893
PA
188372015-07-29 Pedro Alves <palves@redhat.com>
18838
18839 * gdb.base/call-signal-resume.exp: Remove check for
18840 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18841 * gdb.base/unwindonsignal.exp: Likewise.
18842 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18843 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18844
65566918
PA
188452015-07-29 Pedro Alves <palves@redhat.com>
18846
18847 * gdb.base/siginfo-addr.c (pass): New function.
18848 (handler): Call it iff si_addr is correct.
18849 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18850 Set a breakpoint at "pass" and continue to it.
18851
d60a9221
SDJ
188522015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18853
18854 * gdb.python/py-objfile.exp: Make some tests have unique names.
18855 * gdb.python/py-pp-registration.exp: Likewise.
18856
bde40b8f
PA
188572015-07-28 Pedro Alves <palves@redhat.com>
18858
18859 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18860
13e1dec8
SM
188612015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18862
18863 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18864
da33c9a7
SM
188652015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18866
18867 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18868
077836f7
PP
188692015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18870
18871 * gdb.base/gdb-sigterm-2.exp: New test.
18872
b8cc7b2e
DE
188732015-07-25 Doug Evans <xdje42@gmail.com>
18874
18875 Revert:
18876 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18877 (workers/%.worker, build-perf): New rule.
18878 (GDB_PERFTEST_MODE): New variable.
18879 (check-perf): Use it.
18880 (clean): Clean up gdb.perf parallel build subdirs.
18881 * lib/build-piece.exp: New file.
18882 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18883 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18884 name.
18885 (standard_temp_file): Ditto.
18886 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18887 of $GDB_PARALLEL.
18888
c8bd4544
DE
188892015-07-24 Doug Evans <dje@google.com>
18890
18891 * gdb.perf/lib/perftest/utils.py: New file.
18892 * gdb.perf/gm-hello.cc: New file.
18893 * gdb.perf/gm-pervasive-typedef.cc: New file.
18894 * gdb.perf/gm-pervasive-typedef.h: New file.
18895 * gdb.perf/gm-std.cc: New file.
18896 * gdb.perf/gm-std.h: New file.
18897 * gdb.perf/gm-use-cerr.cc: New file.
18898 * gdb.perf/gm-utils.h: New file.
18899 * gdb.perf/gmonster-null-lookup.py: New file.
18900 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18901 * gdb.perf/gmonster-print-cerr.py: New file.
18902 * gdb.perf/gmonster-ptype-string.py: New file.
18903 * gdb.perf/gmonster-runto-main.py: New file.
18904 * gdb.perf/gmonster-select-file.py: New file.
18905 * gdb.perf/gmonster1-null-lookup.exp: New file.
18906 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18907 * gdb.perf/gmonster1-print-cerr.exp: New file.
18908 * gdb.perf/gmonster1-ptype-string.exp: New file.
18909 * gdb.perf/gmonster1-runto-main.exp: New file.
18910 * gdb.perf/gmonster1-select-file.exp: New file.
18911 * gdb.perf/gmonster1.cc: New file.
18912 * gdb.perf/gmonster1.exp: New file.
18913 * gdb.perf/gmonster2-null-lookup.exp: New file.
18914 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18915 * gdb.perf/gmonster2-print-cerr.exp: New file.
18916 * gdb.perf/gmonster2-ptype-string.exp: New file.
18917 * gdb.perf/gmonster2-runto-main.exp: New file.
18918 * gdb.perf/gmonster2-select-file.exp: New file.
18919 * gdb.perf/gmonster2.cc: New file.
18920 * gdb.perf/gmonster2.exp: New file.
18921
6eab34f3
DE
189222015-07-24 Doug Evans <dje@google.com>
18923
18924 * gdb.perf/README: New file.
18925 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18926 * lib/gen-perf-test.exp: New file.
18927
63738bfd
DE
189282015-07-24 Doug Evans <dje@google.com>
18929
18930 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18931 (PerfTest::startup): New function.
18932 (PerfTest::run): Return result of calling body.
18933 (PerfTest::assemble): Rewrite.
18934 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18935 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18936 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18937 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18938 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18939
7b606f95
DE
189402015-07-24 Doug Evans <dje@google.com>
18941
18942 * lib/gdb.exp (clean_restart): Make executable optional.
18943
a97b16b8
DE
189442015-07-24 Doug Evans <dje@google.com>
18945
18946 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18947 compiler_info references.
18948 * gdb.cp/temargs.exp: Ditto.
18949 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18950 (get_compiler_info): Early exit if already computed. Set compiler_info
18951 to "unknown" if there was a problem.
18952 (test_compiler_info): Add function comment. Call get_compiler_info.
18953
35baa57f
DE
189542015-07-24 Doug Evans <dje@google.com>
18955
18956 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18957 (workers/%.worker, build-perf): New rule.
18958 (GDB_PERFTEST_MODE): New variable.
18959 (check-perf): Use it.
18960 (clean): Clean up gdb.perf parallel build subdirs.
18961 * lib/build-piece.exp: New file.
18962 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18963 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18964 name.
18965 (standard_temp_file): Ditto.
18966 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18967 of $GDB_PARALLEL.
18968
6ebea266
DE
189692015-07-24 Doug Evans <dje@google.com>
18970
18971 * lib/future.exp (gdb_default_target_compile): New option
18972 "early_flags".
18973 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18974 --as-needed.
18975
1e76a7e9
SDJ
189762015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18977
18978 * gdb.base/catch-syscall.exp: Call gdb_exit before
18979 gdb_skip_xml_test.
18980
5068630a
PA
189812015-07-24 Pedro Alves <palves@redhat.com>
18982
18983 * gdb.python/py-events.exp: Accept output between the stop event
18984 and the prompt.
18985 * gdb.python/py-evsignal.exp: Likewise.
18986 * gdb.python/py-evthreads.exp: Likewise.
18987
77598427
PA
189882015-07-24 Pedro Alves <palves@redhat.com>
18989
18990 PR gdb/18717
18991 * gdb.threads/non-ldr-exit.c: New file.
18992 * gdb.threads/non-ldr-exit.exp: New file.
18993
11e6c98f
YQ
189942015-07-24 Yao Qi <yao.qi@linaro.org>
18995
18996 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18997 restarting process.
18998
51aee833
YQ
189992015-07-24 Yao Qi <yao.qi@linaro.org>
19000
19001 * gdb.server/ext-restart.exp: New file.
19002
8cfe207c
YQ
190032015-07-24 Yao Qi <yao.qi@linaro.org>
19004
19005 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
19006 argument options.
19007 * gdb.server/ext-wrapper.exp: New file.
19008
cc12ce38
DE
190092015-07-23 Doug Evans <dje@google.com>
19010
19011 * gdb.dwarf2/dw2-dummy-cu.S: New file.
19012 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
19013
d0d84780
PMR
190142015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
19015
19016 * gdb.ada/var_arr_typedef.exp: New testcase.
19017 * gdb.ada/var_arr_typedef/pack.adb: New file.
19018 * gdb.ada/var_arr_typedef/pack.ads: New file.
19019 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
19020
8b558f79
JB
190212015-07-20 Joel Brobecker <brobecker@adacore.com>
19022
19023 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
19024
775a3298
JK
190252015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19026
19027 * gdb.arch/i386-biarch-core.exp: Replace istarget
19028 by "complete set gnutarget". Remove expectation for the "core-file"
19029 command.
19030
db1ff28b
JK
190312015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
19032
19033 Revert the previous commit:
19034 Tests for validate symbol file using build-id.
19035
0a94970d
JK
190362015-07-15 Aleksandar Ristovski <aristovski@qnx.com
19037
19038 Tests for validate symbol file using build-id.
19039 * gdb.base/solib-mismatch-lib.c: New file.
19040 * gdb.base/solib-mismatch-libmod.c: New file.
19041 * gdb.base/solib-mismatch.c: New file.
19042 * gdb.base/solib-mismatch.exp: New file.
19043
03346981
SL
190442015-07-15 Sandra Loosemore <sandra@codesourcery.com>
19045
19046 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
19047 nios2-*-linux*.
19048 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19049 * gdb.base/siginfo.exp: Likewise.
19050 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19051
42422cc7
PL
190522015-07-15 Pierre Langlois <pierre.langlois@arm.com>
19053
19054 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
19055 Move it to ...
19056 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
19057 ... here.
19058 * gdb.trace/range-stepping.exp: Check that the target supports
19059 range stepping.
19060
cfa68bae
JK
190612015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19062
19063 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
19064
8ffdba26
PA
190652015-07-14 Pedro Alves <palves@redhat.com>
19066
19067 * gdb.base/killed-outside.exp: New file.
19068 * gdb.base/killed-outside.c: New file.
19069
218a5a11
JK
190702015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19071
19072 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
19073 (n at main): New.
19074 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
19075
e03ed3c6
AA
190762015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19077
19078 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19079 infcall tests instead of setting up for KFAIL.
19080
485668e5
MM
190812015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19082
19083 * gdb.btrace/record_goto-step.exp: New.
19084
08464196
JK
190852015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19086
19087 PR compile/18484
19088 * gdb.compile/compile.c (struct struct_type): Add volatile to
19089 selffield's type.
19090 * gdb.compile/compile.exp
19091 (compile code struct_object.selffield = &struct_object): Skip further
19092 struct_object tests if this one xfails.
19093
bcf5c1d9
RC
190942015-07-08 Robert O'Callahan <robert@ocallahan.org>
19095
19096 PR exp/18617
19097 * gdb.trace/ax.exp: Add test.
19098
4931af25
YQ
190992015-07-07 Yao Qi <yao.qi@linaro.org>
19100
19101 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19102 instead of istarget "aarch64*-*-*".
19103 * gdb.arch/aarch64-fp.exp: Likewise.
19104 * gdb.base/float.exp: Likewise.
19105 * gdb.reverse/aarch64.exp: Likewise.
19106 * lib/gdb.exp (is_aarch64_target): New proc.
19107
9fcf688e
YQ
191082015-07-07 Yao Qi <yao.qi@linaro.org>
19109
19110 * lib/gdb.exp (is_aarch32_target): New proc.
19111 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19112 instead of "istarget "arm*-*-*"".
19113 * gdb.arch/arm-disp-step.exp: Likewise.
19114 * gdb.arch/thumb-bx-pc.exp: Likewise.
19115 * gdb.arch/thumb-prologue.exp: Likewise.
19116 * gdb.arch/thumb-singlestep.exp: Likewise.
19117 * gdb.base/disp-step-syscall.exp: Likewise.
19118 * gdb.base/float.exp: Likewise.
19119
fbd8d50d
YQ
191202015-07-07 Yao Qi <yao.qi@linaro.org>
19121
19122 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19123 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19124
71be1fdc
YQ
191252015-07-07 Yao Qi <yao.qi@linaro.org>
19126
19127 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19128 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19129 if it exists.
19130 * gdb.multi/multi-arch.exp: Likewise.
19131
3e221d36
SM
191322015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19133
19134 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19135 print.
19136
d441430b
YQ
191372015-07-07 Yao Qi <yao.qi@linaro.org>
19138
19139 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19140
06f810bd
MG
191412015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19142
19143 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19144 '[' and ']' characters.
19145
5e61e7c0
IB
191462015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19147
19148 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19149
28bf096c
PA
191502015-06-29 Pedro Alves <palves@redhat.com>
19151
19152 PR threads/18127
19153 * gdb.threads/hand-call-new-thread.c: New file.
19154 * gdb.threads/hand-call-new-thread.c: New file.
19155
ee93cd5e
KS
191562015-06-26 Keith Seitz <keiths@redhat.com>
19157 Doug Evans <dje@google.com>
19158
19159 PR 16253
19160 * gdb.cp/var-tag-2.cc: New file.
19161 * gdb.cp/var-tag-3.cc: New file.
19162 * gdb.cp/var-tag-4.cc: New file.
19163 * gdb.cp/var-tag.cc: New file.
19164 * gdb.cp/var-tag.exp: New file.
19165
fc637f04
PP
191662015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19167
19168 * gdb.base/history-duplicates.exp: New test.
19169
2e52ae68
PP
191702015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19171
19172 * gdb.base/completion.exp: Test the completion of the "focus"
19173 command.
19174
6e22494e
JK
191752015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19176
19177 * gdb.arch/amd64-prologue-skip.S: New file.
19178 * gdb.arch/amd64-prologue-skip.exp: New file.
19179
bf7b9cd9
SM
191802015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19181
19182 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19183 is_address_zero_readable check.
19184
201e8dfd
PB
191852015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19186
19187 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19188 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19189
5cd867b4
YQ
191902015-06-24 Yao Qi <yao.qi@linaro.org>
19191
19192 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19193 linux targets.
19194
4d7be007
YQ
191952015-06-24 Yao Qi <yao.qi@linaro.org>
19196
19197 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19198 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19199 * gdb.base/siginfo-thread.exp: Likewise.
19200
07fcd301
YQ
192012015-06-22 Yao Qi <yao.qi@linaro.org>
19202
19203 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19204
52042a00
YQ
192052015-06-22 Yao Qi <yao.qi@linaro.org>
19206
19207 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19208 aarch64*-*-*.
19209 (skip_hw_watchpoint_tests): Likewise.
19210
74bd41ce
PP
192112015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19212
19213 * gdb.base/gdbinit-history.exp: Test the interaction between
19214 setting GDBHISTSIZE and setting the history size via .gdbinit.
19215
bc460514
PP
192162015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19217
19218 PR gdb/16999
19219 * gdb.base/gdbhistsize-history.exp: New test.
19220
b58c513b
PP
192212015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19222
19223 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19224 with GDBHISTSIZE.
19225 * gdb.base/readline.exp: Likewise.
19226
92046791
YQ
192272015-06-17 Yao Qi <yao.qi@linaro.org>
19228
19229 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19230 line.
19231
2093d2d3
PP
192322015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19233
19234 * gdb.base/gdbinit-history.exp: Add test case to check that
19235 an unlimited history file does not get truncated on exit.
19236
e6c693af
AA
192372015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19238
19239 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19240 (VECTOR): New macro. Use it...
19241 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19242 ...for these typedefs.
19243 (int8, char1, int1, double1): New typedefs.
19244 (struct just_int2, struct two_int2): New structures.
19245 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19246 (add_structvecs, add_singlevecs): New functions.
19247 (main): Call add_some_intvecs twice.
19248 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19249 the compile and exit upon failure. Try compiling for the "native"
19250 architecture. Test inferior function calls with vector arguments
19251 and vector return value handling with "finish" and "return".
19252
c74f7d1c
JT
192532015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19254
19255 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19256 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19257 PE file.
19258 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19259
98aa42ee
AT
192602015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19261
19262 PR breakpoints/16465
19263 * gdb.mi/mi-dprintf-pending.c: New file.
19264 * gdb.mi/mi-dprintf-pending.exp: New test.
19265 * gdb.mi/mi-dprintf-pendshr.c: New file.
19266
7d73c23c 192672015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 19268 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
19269
19270 * gdb.arch/i386-mpx-map.c: New file.
19271 * gdb.arch/i386-mpx-map.exp: New File.
19272
192732015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19274
19275 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19276 * gdb.arch/i386-mpx.exp: Indentation fixed.
19277
192782015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19279
19280 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19281 function and improved indentation.
19282 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19283 gdb_test_multiple. Added additional tests to skip the test.
19284
192852015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19286
19287 * gdb.arch/i386-avx512.c: Change path in include file.
19288 * gdb.arch/i386-avx512.exp: Change include dir path
19289 compilation flag.
19290 * gdb.arch/i386-mpx.c: Change path in include file.
19291 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19292 flag.
19293
d5eba19a
JK
192942015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19295
19296 * gdb.compile/compile-print.exp (compile print *vararray@3)
19297 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19298
7f361056
JK
192992015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19300
19301 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19302 (do not keep jit in memory): ... this.
19303 (expect 5): Change it to ...
19304 (expect no 5): ... this.
19305
3b462ec2
SM
193062015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19307
19308 PR gdb/15564
19309 * gdb.mi/mi-detach.exp: New file.
19310
e0619de6
JK
193112015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19312
19313 PR symtab/18392
19314 * gdb.arch/amd64-tailcall-self.S: New file.
19315 * gdb.arch/amd64-tailcall-self.c: New file.
19316 * gdb.arch/amd64-tailcall-self.exp: New file.
19317
e970cb34
DB
193182015-05-28 Don Breazeal <donb@codesourcery.com>
19319
19320 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19321 tests for remote targets by checking is_target_gdbserver.
19322
b2e2f908
DE
193232015-05-27 Doug Evans <dje@google.com>
19324
19325 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19326 * gdb.dwarf2/opaque-type-lookup.c: New file.
19327 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19328
82c7be31
DE
193292015-05-26 Doug Evans <dje@google.com>
19330
19331 * gdb.cp/iostream.cc: New file.
19332 * gdb.cp/iostream.exp: New file.
19333
b4f54984
DE
193342015-05-26 Doug Evans <dje@google.com>
19335
19336 * gdb.dwarf2/dw2-op-call.exp: Update.
19337 * gdb.dwarf2/dw4-sig-types.exp: Update.
19338 * gdb.dwarf2/implptr.exp: Update.
19339 * gdb.mi/mi-cmd-param-changed.exp: Update.
19340
4ea6efe9
DE
193412015-05-26 Doug Evans <dje@google.com>
19342
19343 * gdb.python/py-lazy-string.c: New file.
19344 * gdb.python/py-lazy-string.exp: New file.
19345 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19346 (main): Update. Add estring3.
19347 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19348 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19349
f6bb7db3
YQ
193502015-05-26 Omair Javaid <omair.javaid@linaro.org>
19351 Yao Qi <yao.qi@linaro.org>
19352
19353 * gdb.reverse/aarch64.c: New.
19354 * gdb.reverse/aarch64.exp: New.
19355
a81bfbd0
OJ
193562015-05-26 Omair Javaid <omair.javaid@linaro.org>
19357
25d49b86
PA
19358 * lib/gdb.exp (supports_process_record): Return true for
19359 aarch64*-linux*.
a81bfbd0
OJ
19360 (supports_reverse): Likewise.
19361
158bf1b4
PP
193622015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19363
19364 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19365 Use with_test_prefix.
19366
a0145030
AB
193672015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19368
19369 * gdb.base/completion.exp: Add test for completion of layout
19370 names.
19371
ebe3b578
AB
193722015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19373
19374 * lib/gdb.exp (skip_tui_tests): New proc.
19375 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19376
84204ed7
PA
193772015-05-19 Pedro Alves <palves@redhat.com>
19378
19379 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19380 Save the whole env array instead of just HOME. Unset HISTSIZE in
19381 the environment while testing. Restore whole environment
19382 afterwards.
19383
37442ce1
DE
193842015-05-16 Doug Evans <xdje42@gmail.com>
19385
19386 * gdb.guile/scm-ports.c: New file.
19387 * gdb.guile/scm-ports.exp: Add memory port tests.
19388
36de76f9
JK
193892015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19390
19391 * gdb.compile/compile-print.c: New file.
19392 * gdb.compile/compile-print.exp: New file.
19393
3a9558c4
JK
193942015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19395
19396 * gdb.compile/compile-ops.exp: Cast param to void.
19397 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19398 (compile code struct_object.selffield = &struct_object): Add xfail.
19399
aa715135
JG
194002015-05-15 Joel Brobecker <brobecker@adacore.com>
19401
19402 * gdb.ada/arr_enum_with_gap: New testcase.
19403
931e5bc3
JG
194042015-05-15 Joel Brobecker <brobecker@adacore.com>
19405
19406 * gdb.ada/byte_packed_arr: New testcase.
19407
9cd4d857
JB
194082015-05-15 Joel Brobecker <brobecker@adacore.com>
19409
19410 * gdb.ada/pckd_neg: New testcase.
19411
ebfd00d2
PP
194122015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19413
19414 PR gdb/17820
19415 * gdb.base/gdbinit-history.exp: New test.
19416 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19417 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19418
4c082a81
SC
194192015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19420
19421 * gdb.python/py-xmethods.cc: Enhance test case.
19422 * gdb.python/py-xmethods.exp: New tests.
19423 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19424 function.
19425 (B_indexoper): Likewise.
19426 (global_dm_list) : Add new xmethod worker functions.
19427
f7797074
SDJ
194282015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19429
19430 * gdb.base/coredump-filter.exp: Correctly unset
19431 "coredump_var_addr" array.
19432
a4674e4e
PA
194332015-05-08 Pedro Alves <palves@redhat.com>
19434
19435 * gdb.server/non-existing-program.exp: Unset spawn_id.
19436
df2eb078
SC
194372015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19438
19439 PR python/18291
19440 * gdb.python/py-xmethods.exp: Add tests.
19441
422349a3
YQ
194422015-05-08 Yao Qi <yao.qi@linaro.org>
19443
19444 PR gdb/18208
19445 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19446 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19447 function set_coredump_filter, and remove remote_exec call.
19448 Remove argument ipid. Callers update.
19449 (top level): Don't get inferior's PID.
19450
63fc80ce
AA
194512015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19452
19453 * gdb.base/watch_thread_num.exp: Skip test on targets without
19454 access watchpoints.
19455
80ad801e
PA
194562015-05-06 Pedro Alves <palves@redhat.com>
19457
19458 PR server/18081
19459 * gdb.server/non-existing-program.exp: New file.
19460
0fa7fe50
JB
194612015-05-05 Joel Brobecker <brobecker@adacore.com>
19462
19463 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19464
3ea89b92
PMR
194652015-05-05 Joel Brobecker <brobecker@adacore.com>
19466
19467 * gdb.ada/out_of_line_in_inlined: New testcase.
19468
87b8eff0
JB
194692015-05-05 Joel Brobecker <brobecker@adacore.com>
19470
19471 * gdb.ada/var_rec_arr: New testcase.
19472
5fccc635
YQ
194732015-04-30 Yao Qi <yao.qi@linaro.org>
19474
19475 * gdb.base/break-idempotent.exp: If
19476 skip_hw_watchpoint_multi_tests returns true, skip the tests
19477 on "rwatch" and "awatch".
19478
42d38f42
YQ
194792015-04-30 Yao Qi <yao.qi@linaro.org>
19480
19481 * gdb.base/relativedebug.exp: Invoke gdb command
19482 "info sharedlibrary", and if libc.so doesn't have debug info,
19483 skip the test.
19484
2ce1cdbf
DE
194852015-04-29 Doug Evans <dje@google.com>
19486
19487 * gdb.python/py-xmethods.exp: Add ptype tests.
19488 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19489 get_result_type method.
19490
f24a38c5
LM
194912015-04-29 Luis Machado <lgustavo@codesourcery.com>
19492
19493 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19494 the target does not support hardware watchpoints.
19495
ecbf2b3c
LM
194962015-04-29 Luis Machado <lgustavo@codesourcery.com>
19497
19498 * gdb.base/break-always.exp: Abort testing if writing to memory
19499 causes an error.
19500
34f5f757
DE
195012015-04-28 Doug Evans <dje@google.com>
19502
19503 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19504 * gdb.python/py-pp-registration.exp: ... here. New file.
19505 * gdb.python/py-pp-registration.c: New file.
19506 * gdb.python/py-pp-registration.py: New file.
19507
69b4374a
DE
195082015-04-28 Doug Evans <dje@google.com>
19509
19510 * gdb.python/py-bad-printers.c: New file.
19511 * gdb.python/py-bad-printers.py: New file.
19512 * gdb.python/py-bad-printers.exp: New file.
19513
59fb7612
SS
195142015-04-28 Sasha Smundak <asmundak@google.com>
19515
19516 * gdb.python/py-type.exp: New test.
19517
2631b16a
AW
195182015-04-28 Andy Wingo <wingo@igalia.com>
19519
19520 * gdb.python/py-parameter.exp:
19521 * gdb.guile/scm-parameter.exp: Escape the path that we are
19522 matching against, as it might contain characters that are special
19523 to regular expressions.
19524
460efde1
JB
195252015-04-27 Joel Brobecker <brobecker@adacore.com>
19526
19527 * gdb.ada/rec_comp: New testcase.
19528
2d369d8e
SDJ
195292015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19530
19531 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19532 before using it.
19533
cf75d6c3
AB
195342015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19535
19536 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19537 new tests for verilog output.
19538
8dbe7ca5
YQ
195392015-04-24 Yao Qi <yao.qi@linaro.org>
19540
19541 * boards/remote-gdbserver-on-localhost.exp: New file.
19542
4ef9fb2f
PA
195432015-04-23 Pedro Alves <palves@redhat.com>
19544
19545 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19546 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19547 "end of file", remove $inferior_spawn_id from the indirect list.
19548
0a803169
PA
195492015-04-23 Pedro Alves <palves@redhat.com>
19550
19551 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19552
749ef8f8
PA
195532015-04-23 Pedro Alves <palves@redhat.com>
19554
19555 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19556 on $any_spawn_id instead of only on $gdb_spawn_id.
19557
8aae4344
PM
195582015-04-21 Pierre Muller <muller@sourceware.org>
19559
19560 PR pascal/17815
19561 * lib/pascal.exp (gpc_compile): Add new option "class".
19562 (fpc_compile): Likewise.
19563 * gdb.pascal/case-insensitive-symbols.pas: New file.
19564 * gdb.pascal/case-insensitive-symbols.exp: New file.
19565
1586c8fb
GB
195662015-04-20 Gary Benson <gbenson@redhat.com>
19567
19568 * gdb.base/attach.exp: Fix three extended remote failures.
19569
1b6e6f5c
GB
195702015-04-17 Gary Benson <gbenson@redhat.com>
19571
19572 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19573 the main executable over the remote protocol.
19574
e797481d
PA
195752015-04-16 Pedro Alves <palves@redhat.com>
19576
19577 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19578 a new gdbserver if gdbserver_reconnect_p is set.
19579
1ca99c42
PA
195802015-04-16 Pedro Alves <palves@redhat.com>
19581
19582 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19583 is set, don't exit gdbserver.
19584
af9fd6f8
AA
195852015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19586
19587 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19588 appropriate .insn, such that an older assembler can be used.
19589 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19590 the z/Architecture instruction set on 31-bit targets as well.
19591
04ff1e61
AA
195922015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19593
19594 * gdb.go/handcall.exp: Remove all logic related to the first
19595 breakpoint and rely on go_runto_main instead.
19596 * gdb.go/strings.exp: Likewise.
19597 * gdb.go/unsafe.exp: Likewise.
19598 * gdb.go/hello.exp: Likewise. Also rename the remaining
19599 breakpoint marker to "breakpoint 1".
19600 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19601 * gdb.go/strings.go: Likewise.
19602 * gdb.go/unsafe.go: Likewise.
19603 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19604 "set breakpoint 2 here" and rename the remaining breakpoint marker
19605 to "breakpoint 1".
19606
40d2f8d6
SM
196072015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19608
19609 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19610 if itertools.imap is not present.
19611 * gdb.python/py-objfile.exp: Add parentheses.
19612 * gdb.python/py-type.exp: Same.
19613 * gdb.python/py-unwind-maint.py: Same.
19614
8cbc97c6
YQ
196152015-04-15 Yao Qi <yao.qi@linaro.org>
19616
19617 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19618 of ":$ptr_size" and set its form explicitly.
19619
45fd756c
YQ
196202015-04-15 Pedro Alves <palves@redhat.com>
19621 Yao Qi <yao.qi@linaro.org>
19622
19623 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19624 timeout by factor of 4.
19625 (test_regular_watch): Likewise.
19626 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19627 * gdb.reverse/sigall-reverse.exp: Likewise.
19628 * gdb.reverse/until-precsave.exp: Likewise.
19629 * lib/gdb.exp (with_timeout_factor): New proc.
19630 (gdb_expect): Move some code to ...
19631 (get_largest_timeout): ... here. New procedure.
19632
9e811bc3
LM
196332015-04-14 Luis Machado <lgustavo@codesourcery.com>
19634
19635 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19636
0ff6fcb2
LM
196372015-04-13 Luis Machado <lgustavo@codesourcery.com>
19638
19639 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19640 to write to the .text section.
19641
7578d5f7
LM
196422015-04-13 Luis Machado <lgustavo@codesourcery.com>
19643
19644 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19645 Handle the case of targets that do not provide PID information.
19646
2efe15c4
YQ
196472015-04-13 Yao Qi <yao.qi@linaro.org>
19648
19649 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19650 and use expect instead of gdb_expect.
19651
8cd8f2f8
SDJ
196522015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19653
19654 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19655 "coredump_var_addr" to avoid naming conflict with other testcases.
19656
9ee41772
PA
196572015-04-10 Pedro Alves <palves@redhat.com>
19658
19659 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19660 gdb_test_sequence and gdb_assert.
19661
07473109
PA
196622015-04-10 Pedro Alves <palves@redhat.com>
19663
19664 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19665 test messages that don't include the breakpoint address.
19666
de3db44c
YQ
196672015-04-10 Yao Qi <yao.qi@linaro.org>
19668
19669 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19670 false for some offset and width combinations which aren't
19671 supported by linux kernel.
19672
c79d856c
PA
196732015-04-10 Pedro Alves <palves@redhat.com>
19674
19675 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19676 procedure, factored out from ...
19677 (top level): ... here. Add "set displaced-stepping" testing axis.
19678 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19679 parameter "displaced". Use it.
19680 (top level): Use foreach and add "set displaced-stepping" testing
19681 axis.
19682
ebc90b50
PA
196832015-04-10 Pedro Alves <palves@redhat.com>
19684
19685 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19686 Remove comment.
19687 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19688 both the address of the instruction that triggers the watchpoint
19689 and the address of the instruction immediately after, and use
19690 those addresses for the test. Fix comment.
19691
8f572e5c
PA
196922015-04-10 Pedro Alves <palves@redhat.com>
19693
19694 * gdb.base/sigstep.exp (breakpoint_to_handler)
19695 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19696 Test "backtrace" in handler.
19697 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19698 (top level): Add new "displaced" test axis to
19699 breakpoint_to_handler, breakpoint_to_handler_entry and
19700 breakpoint_over_handler.
19701
8d707a12
PA
197022015-04-10 Pedro Alves <palves@redhat.com>
19703
19704 PR gdb/18216
19705 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19706
ef713951
YQ
197072015-04-10 Yao Qi <yao.qi@linaro.org>
19708
19709 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19710 (test_add_rn_pc): New function.
19711 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19712 (top level): Invoke test_add_rn_pc.
19713
906d60cf
PA
197142015-04-10 Pedro Alves <palves@redhat.com>
19715
19716 PR gdb/13858
19717 * gdb.base/step-over-no-symbols.exp: New file.
19718
f2983cc3
AW
197192015-04-09 Andy Wingo <wingo@igalia.com>
19720
19721 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19722 after the Python tests.
19723
6d62641c
SDJ
197242015-04-08 Keith Seitz <keiths@redhat.com>
19725
19726 PR python/16699
19727 * gdb.python/py-completion.exp: New tests for completion.
19728 * gdb.python/py-completion.py (CompleteLimit1): New class.
19729 (CompleteLimit2): Likewise.
19730 (CompleteLimit3): Likewise.
19731 (CompleteLimit4): Likewise.
19732 (CompleteLimit5): Likewise.
19733 (CompleteLimit6): Likewise.
19734 (CompleteLimit7): Likewise.
19735
f3770638
PA
197362015-04-08 Pedro Alves <palves@redhat.com>
19737
19738 PR gdb/18214
19739 PR gdb/18216
19740 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19741 function.
19742 (main): Install it as SIGUSR1 handler.
19743 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19744 parameter. Always use "setup" as prefix. Toggle "set
19745 displaced-stepping" off/on depending on global. Don't switch to
19746 thread 1 here.
19747 (top level): Add displaced stepping "off/on" test axis. Update
19748 "setup" calls. Wrap each subtest with with_test_prefix. Test
19749 continuing with a queued signal in each thread.
19750
4496bed7
PA
197512015-04-08 Pedro Alves <palves@redhat.com>
19752
19753 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19754 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19755 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19756 Return early if running to main fails.
19757 * gdb.trace/while-stepping.exp: Likewise.
19758
b97fde92
PA
197592015-04-07 Pedro Alves <palves@redhat.com>
19760
19761 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19762 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19763 interact with inferior program.
19764
f71c18e7
PA
197652015-04-07 Pedro Alves <palves@redhat.com>
19766
19767 * lib/gdb.exp (inferior_spawn_id): New global.
19768 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19769 spawn id after processing the user code.
19770 (default_gdb_start): Set inferior_spawn_id.
19771 (send_inferior): New procedure.
19772 * lib/gdbserver-support.exp (gdbserver_start): Set
19773 inferior_spawn_id.
19774 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19775
6423214f
PA
197762015-04-07 Pedro Alves <palves@redhat.com>
19777
19778 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19779 * lib/gdbserver-support.exp (gdbserver_start): Make
19780 $server_spawn_id global.
19781 (gdbserver_start): Don't wait for gdbserver's spawn id with
19782 expect_background.
19783 (close_gdbserver): New procedure.
19784 (gdb_exit): Rename the default version and reimplement.
19785
71c0ee8c
PA
197862015-04-07 Pedro Alves <palves@redhat.com>
19787
72f4393d 19788 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19789 append the substituted item, not the original item.
19790
203bc29b
PA
197912015-04-07 Pedro Alves <palves@redhat.com>
19792
19793 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19794 gdb_expect.
19795
508a3ddf
PA
197962015-04-07 Pedro Alves <palves@redhat.com>
19797
19798 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19799 output appearing once only.
19800
9f6dbe2b
PA
198012015-04-07 Pedro Alves <palves@redhat.com>
19802
19803 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19804 that doesn't expect anything. Return early if running to main
19805 fails.
19806
337532fa
YQ
198072015-04-07 Yao Qi <yao.qi@linaro.org>
19808
19809 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19810 (child_function): Call alarm.
19811 (main): Move call to alarm into the loop.
19812 * gdb.threads/non-stop-fair-events.exp: Build program with
19813 -DTIMEOUT=$timeout.
19814
01b622d4
DE
198152015-04-06 Doug Evans <xdje42@gmail.com>
19816
19817 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19818 Fix dest parameter to board_info.
19819 (fpc_compile): Ditto.
19820 (gdb_compile_pascal): Rename dest arg to destfile.
19821
961f4160
PMR
198222015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19823
19824 * gdb.ada/funcall_ref.exp: New file.
19825 * gdb.ada/funcall_ref/foo.adb: New file.
19826
cafda597
YQ
198272015-04-02 Yao Qi <yao.qi@linaro.org>
19828
19829 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19830 is remote.
19831
fed040c6
GB
198322015-04-02 Gary Benson <gbenson@redhat.com>
19833
19834 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19835
d11916aa
SS
198362015-04-01 Sasha Smundak <asmundak@google.com>
19837
19838 * gdb.python/py-unwind-maint.c: New file.
19839 * gdb.python/py-unwind-maint.exp: New test.
19840 * gdb.python/py-unwind-maint.py: New file.
19841 * gdb.python/py-unwind.c: New file.
19842 * gdb.python/py-unwind.exp: New test.
19843 * gdb.python/py-unwind.py: New test.
19844
a1471180
PA
198452015-04-01 Pedro Alves <palves@redhat.com>
19846
19847 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19848 to fail instead of non-existent $test.
19849
0bbeccb1
PA
198502015-04-01 Pedro Alves <palves@redhat.com>
19851
19852 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19853 GDBFLAGS if not empty.
19854
3c724c8c
PMR
198552015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19856
19857 * gdb.ada/complete.exp: Remove "multi_line".
19858 * gdb.ada/info_exc.exp: Remove "multi_line".
19859 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19860 * gdb.ada/ptype_field.exp: Remove "multi_line".
19861 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19862 * gdb.ada/tagged.exp: Remove "multi_line".
19863 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19864 [multi_line ...]
19865 * gdb.btrace/delta.exp: Likewise.
19866 * gdb.btrace/exception.exp: Likewise.
19867 * gdb.btrace/function_call_history.exp: Likewise.
19868 * gdb.btrace/instruction_history.exp: Likewise.
19869 * gdb.btrace/nohist.exp: Likewise.
19870 * gdb.btrace/record_goto.exp: Likewise.
19871 * gdb.btrace/segv.exp: Likewise.
19872 * gdb.btrace/stepi.exp: Likewise.
19873 * gdb.btrace/tailcall.exp: Likewise.
19874 * gdb.btrace/unknown_functions.exp: Likewise.
19875 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19876 * lib/gdb.exp: Add the "multi_line" helper.
19877
4eec2deb
PA
198782015-04-01 Pedro Alves <palves@redhat.com>
19879
19880 * gdb.threads/tid-reuse.c: New file.
19881 * gdb.threads/tid-reuse.exp: New file.
19882
df8411da
SDJ
198832015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19884
19885 PR corefiles/16092
19886 * gdb.base/coredump-filter.c: New file.
19887 * gdb.base/coredump-filter.exp: Likewise.
19888
6ef37366
PM
198892015-03-27 Petr Machata <pmachata@redhat.com>
19890
19891 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19892 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19893 (Dwarf::assemble): Initialize them.
19894 (Dwarf::lines): New function.
19895
7ec911b0
JT
198962015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19897
19898 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19899 SYMBOL_PREFIX for x86_64-*-cygwin.
19900
ff908ebf
AW
199012015-03-26 Andy Wingo <wingo@igalia.com>
19902
19903 PR symtab/18148
19904 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19905 const_value but not a location.
19906 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19907 location defined in non-main CUs are visible.
19908
6d5f0679
YQ
199092015-03-26 Yao Qi <yao.qi@linaro.org>
19910
19911 PR testsuite/18139
19912 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19913 Add a line number entry for the same line.
19914 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19915 Add a line number entry for the same line.
19916
2898689b
YQ
199172015-03-26 Yao Qi <yao.qi@linaro.org>
19918
19919 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19920 .int 0.
19921 (func): Likewise. Add .Lfunc_1 label.
19922 Use .Lfunc_1 label.
19923 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19924 .int 0.
19925 (func): Likewise.
19926 Use .Lfunc_1 label.
19927
85180498
YQ
199282015-03-26 Yao Qi <yao.qi@linaro.org>
19929
19930 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19931 Call gdb_compile instead to compile each .s files without debug
19932 information.
19933
8aa08a8d
YQ
199342015-03-26 Yao Qi <yao.qi@linaro.org>
19935
19936 * gdb.base/savedregs.exp (process_saved_regs): Make
19937 "Saved registers:" optional in the pattern.
19938
66849923
MM
199392015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19940
19941 * gdb.btrace/next.exp: Merged into step.exp.
19942 * gdb.btrace/finish.exp: Merged into step.exp.
19943 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19944 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19945 "record goto" and checking the exact replay position.
19946 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19947 check for "Recording format" in "info record" output.
19948 * gdb.btrace/record_goto.exp: Choose test file based on target.
19949 * gdb.btrace/x86-record_goto.S: Renamed into ...
19950 * gdb.btrace/x86_64-record_goto.S: ... this.
19951 * gdb.btrace/i686-record_goto.S: New.
19952 * gdb.btrace/x86-tailcall.S: Renamed into ...
19953 * gdb.btrace/x86_64-tailcall.S: ... this.
19954 * gdb.btrace/i686-tailcall.S: New.
19955 * gdb.btrace/x86-tailcall.c: Renamed into ...
19956 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19957 separate statements. Update test.
19958 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19959 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19960 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19961 * gdb.btrace/tailcall.exp: Choose test file based on target.
19962 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19963
11cc1b74
MM
199642015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19965
19966 * gdb.btrace/exception.exp: Increase BTS buffer size.
19967
a25d8bf9
PA
199682015-03-24 Pedro Alves <palves@redhat.com>
19969
19970 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19971
856e7dd6
PA
199722015-03-24 Pedro Alves <palves@redhat.com>
19973
19974 * gdb.threads/schedlock.exp (test_step): No longer expect that
19975 "set scheduler-locking step" with "next" over a function call runs
19976 threads unlocked.
19977
ad235a41
AT
199782015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19979
19980 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19981
15630549
AT
199822015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19983
19984 PR breakpoints/16466
19985 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19986 * gdb.mi/mi-pending.c (thread_func): New function.
19987 (int main): Add threading support required.
19988 * gdb.mi/mi-pending.exp: Add tests for this issue.
19989 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19990 (pendfunc2): Remove stdio dependency.
19991 * gdb.mi/mi-pendshr2.c: New file.
19992
693dca06
KS
199932015-03-23 Keith Seitz <keiths@redhat.com>
19994
19995 * gdb.linespec/keywords.c: New file.
19996 * gdb.linespec/keywords.exp: New file.
19997
7e993ebf
KS
199982015-03-23 Keith Seitz <keiths@redhat.com>
19999
20000 PR gdb/18021
20001 * gdb.dwarf2/staticvirtual.exp: New test.
20002
bc23328c
JK
200032015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20004
20005 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
20006 * README: Remove HP-UX and gdb.hp.
20007 (configuration):
20008 * configure: Regenerate.
20009 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
20010 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
20011 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
20012 gdb.hp/gdb.defects/Makefile.
20013 * gdb.hp/Makefile.in: File deleted.
20014 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
20015 * gdb.hp/gdb.aCC/optimize.c: File deleted.
20016 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
20017 * gdb.hp/gdb.aCC/run.c: File deleted.
20018 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
20019 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
20020 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
20021 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20022 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
20023 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
20024 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
20025 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
20026 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
20027 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
20028 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
20029 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
20030 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
20031 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
20032 * gdb.hp/gdb.base-hp/reg.s: File deleted.
20033 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
20034 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
20035 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
20036 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
20037 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
20038 * gdb.hp/gdb.compat/Makefile.in: File deleted.
20039 * gdb.hp/gdb.compat/average.c: File deleted.
20040 * gdb.hp/gdb.compat/sum.c: File deleted.
20041 * gdb.hp/gdb.compat/xdb.c: File deleted.
20042 * gdb.hp/gdb.compat/xdb0.c: File deleted.
20043 * gdb.hp/gdb.compat/xdb0.h: File deleted.
20044 * gdb.hp/gdb.compat/xdb1.c: File deleted.
20045 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
20046 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
20047 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
20048 * gdb.hp/gdb.defects/Makefile.in: File deleted.
20049 * gdb.hp/gdb.defects/bs14602.c: File deleted.
20050 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
20051 * gdb.hp/gdb.defects/solib-d.c: File deleted.
20052 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
20053 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
20054 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
20055 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
20056 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
20057 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
20058 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
20059 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
20060 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
20061 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
20062 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
20063 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
20064 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
20065 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
20066 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
20067 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
20068 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
20069 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
20070 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
20071 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
20072 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
20073 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
20074 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
20075 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
20076 * gdb.hp/tools/odump: File deleted.
20077
8bf3b159
PA
200782015-03-19 Pedro Alves <palves@redhat.com>
20079
20080 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20081 (saw_thread_3): New globals.
20082 (top level): Increment them when an event for the corresponding
20083 thread is seen.
20084 (no thread starvation): New test.
20085
eb54c8bf
PA
200862015-03-19 Pedro Alves <palves@redhat.com>
20087
20088 * gdb.threads/continue-pending-status.c: New file.
20089 * gdb.threads/continue-pending-status.exp: New file.
20090
32d2e5d6
PA
200912015-03-18 Pedro Alves <palves@redhat.com>
20092
20093 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20094 Use gdb_is_target_remote instead of is_remote. Use
20095 gdb_test_multiple instead of gdb_expect. Exit early if
20096 gdb_test_multiple hits its internal matches. Tighten stepi tests
20097 expected output. Fail on exit with any signal, instead of just
20098 SIGILL.
20099
f68f11b7
YQ
201002015-03-18 Yao Qi <yao.qi@linaro.org>
20101
20102 PR tdep/18107
20103 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20104 variable.
20105 * gdb.base/catch-syscall.exp: Don't skip it on
20106 aarch64*-*-linux* target. Remove elements in all_syscalls.
20107 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20108 target.
20109 (setup_all_syscalls): New proc.
20110
ca5fd19b
YQ
201112015-03-16 Yao Qi <yao.qi@linaro.org>
20112
20113 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20114 (top level): Skip tests if valid_addr_p returns false for
20115 $cmd1 or $cmd2.
20116
85642ba0
AW
201172015-03-11 Andy Wingo <wingo@igalia.com>
20118
20119 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20120
e03f9645
YQ
201212015-03-11 Yao Qi <yao.qi@linaro.org>
20122
20123 * gdb.base/catch-syscall.exp: Fix typo in comments.
20124
5d0962b2
YQ
201252015-03-11 Yao Qi <yao.qi@linaro.org>
20126
20127 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20128
b2df3cef
PA
201292015-03-09 Pedro Alves <palves@redhat.com>
20130
20131 * dg-extract-results.py: Delete.
20132
ef878e53
PA
201332015-03-09 Pedro Alves <palves@redhat.com>
20134
20135 Merge dg-extract-results.sh from GCC upstream (r218843).
20136
20137 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20138 * dg-extract-results.sh: Use --text with grep to avoid issues with
20139 binary files. Fall back to cat -v, if that doesn't work.
20140
9494d219
PA
201412015-03-05 Pedro Alves <palves@redhat.com>
20142
20143 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20144
a8d9763a
SM
201452015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20146
20147 * lib/mi-support.exp (mi_expect_interrupt): Accept
20148 alternative event for when in all-stop mode.
20149
be9957b8
PA
201502015-03-04 Pedro Alves <palves@redhat.com>
20151
20152 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20153
d57be0f4 201542015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
20155
20156 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20157
c214c7cf
AA
201582015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20159
20160 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20161 regexps for GDB's current line display, accept a hex address
20162 preceding the line number.
20163
6d74a497
AA
201642015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20165
20166 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20167 the 'arch1' variable for "s390*-linux*" targets.
20168
511aee7c
PA
201692015-03-04 Pedro Alves <palves@redhat.com>
20170
20171 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20172 (main): Pass missing retval argument to pthread_join call.
20173
95e50b27
PA
201742015-03-02 Pedro Alves <palves@redhat.com>
20175
20176 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20177 (top level): Call do_test with non-stop as well.
20178
28054d69
PA
201792015-03-02 Pedro Alves <palves@redhat.com>
20180
20181 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20182 -1.
20183
4fa5d7b4
AA
201842015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20185
20186 * gdb.arch/s390-vregs.exp: New test.
20187 * gdb.arch/s390-vregs.S: New file.
20188
97c18565
PA
201892015-02-27 Pedro Alves <palves@redhat.com>
20190
20191 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20192 call to catch_command_errors.
20193 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20194 catch_command_errors.
20195
a37bfa30
PA
201962015-02-27 Pedro Alves <palves@redhat.com>
20197
20198 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20199 "true" for boolean result.
20200 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20201 prototype of main.
20202
6f98576f
PA
202032015-02-27 Pedro Alves <palves@redhat.com>
20204
20205 * lib/unbuffer_output.c: New file.
20206 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20207 (main): Call gdb_unbuffer_output.
20208
eba5ab56
YQ
202092015-02-27 Yao Qi <yao.qi@linaro.org>
20210
20211 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20212 target.
20213
0def5aaa
DE
202142015-02-26 Doug Evans <dje@google.com>
20215
20216 * gdb.cp/class2.cc (Dbase, D): New classes.
20217 (main): New local delta.
20218 * gdb.cp/class2.exp: Test printing delta.
20219 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20220 (dynbar): New global.
20221 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20222
081a1c2c
JK
202232015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20224
20225 * gdb.compile/compile-ifunc.c: New file.
20226 * gdb.compile/compile-ifunc.exp: New file.
20227
2f41223f
AT
202282015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20229
20230 * gdb.base/structs.exp: Check for correct struct on finish.
20231
03eddd80
YQ
202322015-02-26 Yao Qi <yao.qi@linaro.org>
20233
20234 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20235 is zero.
20236
80c57053
JK
202372015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20238
20239 * gdb.arch/cordic.ko.bz2: New file.
20240 * gdb.arch/cordic.ko.debug.bz2: New file.
20241 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20242
21613c12
YQ
202432015-02-25 Yao Qi <yao.qi@linaro.org>
20244
20245 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20246 aarch64*-*-* target.
20247
d8b901ed
PA
202482015-02-23 Pedro Alves <palves@redhat.com>
20249
20250 * lib/gdb.exp (delete_breakpoints): Rewrite using
20251 gdb_test_multiple.
20252
e5b85ead
PA
202532015-02-23 Pedro Alves <palves@redhat.com>
20254
20255 * gdb.base/info-os.c: Include stdlib.h.
20256
85c3a371
DE
202572015-02-22 Doug Evans <xdje42@gmail.com>
20258
20259 PR symtab/17855
20260 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20261 is read after symbols have been re-read.
20262 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20263 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20264
96553a0c
DE
202652015-02-21 Doug Evans <dje@google.com>
20266
20267 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20268
97a0c697
JK
202692015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20270
20271 PR corefiles/17808
20272 * gdb.arch/i386-biarch-core.core.bz2: New file.
20273 * gdb.arch/i386-biarch-core.exp: New file.
20274
a47cd6e9
PA
202752015-02-21 Pedro Alves <palves@redhat.com>
20276
20277 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20278 runto_main fails.
20279
c5facdc4
PA
202802015-02-20 Pedro Alves <palves@redhat.com>
20281
20282 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20283 info probes.
20284
2db9a427
PA
202852015-02-20 Pedro Alves <palves@redhat.com>
20286
20287 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20288
60fb7e9e
PA
202892015-02-20 Pedro Alves <palves@redhat.com>
20290
20291 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20292 clean_restart before gdb_target_supports_trace.
20293
5c5019c2
PA
202942015-02-20 Pedro Alves <palves@redhat.com>
20295
20296 PR threads/18006
20297 * gdb.threads/clone-thread_db.c: New file.
20298 * gdb.threads/clone-thread_db.exp: New file.
20299
c9587f88
AT
203002015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20301
20302 PR breakpoints/16812
20303 * gdb.base/catch-gdb-caused-signals.c: New file.
20304 * gdb.base/catch-gdb-caused-signals.exp: New file.
20305
f6a88844
JM
203062015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20307
20308 * configure: Regenerated.
20309 * configure.ac: Use GDB_AC_TRANSFORM.
20310 * aclocal.m4: sinclude ../transform.m4.
20311
497c491b
JM
203122015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20313
20314 * lib/dtrace.exp: New file.
20315 * gdb.base/dtrace-probe.exp: Likewise.
20316 * gdb.base/dtrace-probe.d: Likewise.
20317 * gdb.base/dtrace-probe.c: Likewise.
20318 * lib/pdtrace.in: Likewise.
20319 * configure.ac: Output variables with the transformed names of
20320 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20321 * configure: Regenerated.
20322
03e98035
JM
203232015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20324
20325 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20326 expected message when trying to access $_probe_* convenience
20327 variables while not on a probe.
20328
63cc30e9
JK
203292015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20330
20331 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20332
0703599a
PA
203332015-02-11 Pedro Alves <pedro@codesourcery.com>
20334
20335 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20336 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20337
7e60a48e
DE
203382015-02-10 Doug Evans <xdje42@gmail.com>
20339
20340 * lib/gdb.exp (gdb_load): Always return a result.
20341
01b088bc
PA
203422015-02-10 Pedro Alves <palves@redhat.com>
20343
20344 * gdb.threads/signal-sigtrap.c: New file.
20345 * gdb.threads/signal-sigtrap.exp: New file.
20346
b05ec7a5
AT
203472015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20348
20349 * gdb.trace/no-attach-trace.c: New file.
20350 * gdb.trace/no-attach-trace.exp: New file.
20351
a2c2acaf
MW
203522015-02-09 Mark Wielaard <mjw@redhat.com>
20353
20354 * gdb.dwarf2/atomic.c: New file.
20355 * gdb.dwarf2/atomic-type.exp: Likewise.
20356
31fd9caa
MM
203572015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20358
20359 * gdb.btrace/buffer-size.exp: Update "info record" output.
20360 * gdb.btrace/delta.exp: Update "info record" output.
20361 * gdb.btrace/enable.exp: Update "info record" output.
20362 * gdb.btrace/finish.exp: Update "info record" output.
20363 * gdb.btrace/instruction_history.exp: Update "info record" output.
20364 * gdb.btrace/next.exp: Update "info record" output.
20365 * gdb.btrace/nexti.exp: Update "info record" output.
20366 * gdb.btrace/step.exp: Update "info record" output.
20367 * gdb.btrace/stepi.exp: Update "info record" output.
20368 * gdb.btrace/nohist.exp: Update "info record" output.
20369
d33501a5
MM
203702015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20371
20372 * gdb.btrace/buffer-size: New.
20373
f4abbc16
MM
203742015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20375
20376 * gdb.btrace/delta.exp: Update "info record" output.
20377 * gdb.btrace/enable.exp: Update "info record" output.
20378 * gdb.btrace/finish.exp: Update "info record" output.
20379 * gdb.btrace/instruction_history.exp: Update "info record" output.
20380 * gdb.btrace/next.exp: Update "info record" output.
20381 * gdb.btrace/nexti.exp: Update "info record" output.
20382 * gdb.btrace/step.exp: Update "info record" output.
20383 * gdb.btrace/stepi.exp: Update "info record" output.
20384 * gdb.btrace/nohist.exp: Update "info record" output.
20385
b9d61307
SM
203862015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20387
20388 PR gdb/15678
20389 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20390
e584fdbc
PA
203912015-02-06 Pedro Alves <palves@redhat.com>
20392
20393 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20394 macro.
20395 (seconds_left, again): New globals.
20396 (main): Wait seconds_left in a 1-second sleep loop instead of
20397 sleeping 180 seconds. If 'again' is set, reset the seconds
20398 counter.
20399 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20400 'again' in the inferior before detaching. Print the seconds left.
20401 (options): New global.
20402 (top level): Build program with -DTIMEOUT=$timeout.
20403
77f41761
PA
204042015-02-06 Pedro Alves <palves@redhat.com>
20405
20406 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20407 determine how many seconds to pass to 'alarm'.
20408 * gdb.base/gdb-sigterm.exp (top level): Build program with
20409 -DTIMEOUT=$timeout.
20410 (do_test): Return success/failure indication. Add more verbose
20411 logging. Don't fail if 200 single steps are seen. Instead, fail
20412 when the test times out.
20413 (passes): New global.
20414 (top level): Break the testing loop if testing fails on any
20415 iteration. Use gdb_assert.
20416
b9394193
DB
204172015-02-04 Don Breazeal <donb@codesourcery.com>
20418
20419 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20420 and initialize them.
20421 (ipc_cleanup): New function.
20422 (main): Don't declare shmid, semid, and msqid. Add a call to
20423 atexit so that we call ipc_cleanup on exit.
20424
42d9e528
PA
204252015-02-04 Pedro Alves <palves@redhat.com>
20426
20427 * boards/native-extended-gdbserver.exp: Remove any target variant
20428 specifications from the board name before clearing the isremote
20429 flag from board_info.
20430
ae6ae975
DE
204312015-01-31 Doug Evans <xdje42@gmail.com>
20432
20433 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20434
cfb069a8
GB
204352015-01-31 Gary Benson <gbenson@redhat.com>
20436
20437 * gdb.base/completion.exp: Disable completion limiting for
20438 existing tests. Add new tests to check completion limiting.
20439 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20440
5dd31d79
DE
204412015-01-31 Doug Evans <xdje42@gmail.com>
20442
20443 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20444
9f050062
DE
204452015-01-31 Doug Evans <xdje42@gmail.com>
20446
20447 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20448 entries. Duplicate file section script entries.
20449 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20450 inlined entries. Add test for safe-path rejection.
20451 * gdb.python/py-section-script.c: Add duplicate inlined section script
20452 entries. Duplicate file section script entries.
20453 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20454 inlined entries. Add test for safe-path rejection.
20455
df25ebbd
JB
204562015-01-29 Joel Brobecker <brobecker@adacore.com>
20457
20458 * gdb.ada/disc_arr_bound: New testcase.
20459
4a0ca9ec
JB
204602015-01-29 Joel Brobecker <brobecker@adacore.com>
20461
20462 * gdb.ada/mi_var_array: New testcase.
20463
3a8b707a
DE
204642015-01-27 Doug Evans <dje@google.com>
20465
20466 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20467 Add test for objfile.filename, objfile.username after objfile
20468 has been unloaded.
20469
f8313f6e
JB
204702015-01-26 Joel Brobecker <brobecker@adacore.com>
20471
20472 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20473 the second test to print the name attribute of value
20474 returned by the call to gdb.lookup_type, and adjust
20475 the expected output accordingly.
20476
37bc665e
MW
204772015-01-25 Mark Wielaard <mjw@redhat.com>
20478
20479 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20480 * gdb.base/disp-step-fork.c: Include unistd.h.
20481 * gdb.base/siginfo-obj.c: Include stdio.h.
20482 * gdb.base/siginfo-thread.c: Likewise.
20483 * gdb.mi/non-stop.c: Include unistd.h.
20484 * gdb.mi/nsthrexec.c: Include stdio.h.
20485 * gdb.mi/pthreads.c: Include unistd.h.
20486 * gdb.modula2/unbounded1.c (main): Declare returns int.
20487 * gdb.reverse/consecutive-reverse.c: Likewise.
20488 * gdb.threads/create-fail.c: Include unistd.h.
20489 * gdb.threads/killed.c: Likewise.
20490 * gdb.threads/linux-dp.c: Likewise.
20491 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20492 * gdb.threads/non-ldr-exc-2.c: Likewise.
20493 * gdb.threads/non-ldr-exc-3.c: Likewise.
20494 * gdb.threads/non-ldr-exc-4.c: Likewise.
20495 * gdb.threads/pthreads.c: Include unistd.h.
20496 (main): Declare returns int.
20497 * gdb.threads/tls-main.c (foo): New declaration.
20498 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20499
f7e5394d
SM
205002015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20501
20502 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20503 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20504
743649fd
MW
205052015-01-15 Mark Wielaard <mjw@redhat.com>
20506
20507 * gdb.base/noreturn-return.c: New file.
20508 * gdb.base/noreturn-return.exp: New file.
20509 * gdb.base/noreturn-finish.c: New file.
20510 * gdb.base/noreturn-finish.exp: New file.
20511
198297aa
PA
205122015-01-23 Pedro Alves <palves@redhat.com>
20513
20514 * gdb.threads/continue-pending-after-query.c: New file.
20515 * gdb.threads/continue-pending-after-query.exp: New file.
20516
717cf30c
AG
205172015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20518 Simon Marchi <simon.marchi@ericsson.com>
20519
20520 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20521 * gdb.base/valgrind-db-attach.exp: Same.
20522 * gdb.base/valgrind-infcall.exp: Same.
20523 * lib/mi-support.exp (default_mi_gdb_start): Same.
20524 * lib/prompt.exp (default_prompt_gdb_start): Same.
20525 * lib/gdb.exp (default_gdb_spawn): Same.
20526 (gdb_interact): New.
20527
20528
4b62a76e
JK
205292015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20530
20531 * gdb.compile/compile.exp (pointer to jit function): New test.
20532
b4cdae6f
WW
205332015-01-17 Wei-cheng Wang <cole945@gmail.com>
20534
20535 * lib/gdb.exp (supports_process_record): Return true for
20536 powerpc*-*-linux*.
20537 (supports_reverse): Likewise.
20538
d221e7ef
DB
205392015-01-15 Don Breazeal <donb@codesourcery.com>
20540
20541 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20542 instead of checking whether the target board is remote and
20543 use spawn_wait_for_attach instead of exec/sleep.
20544 * gdb.base/attach-twice.exp: Likewise.
20545
bafffb51
JB
205462015-01-15 Joel Brobecker <brobecker@adacore.com>
20547
20548 * gdb.ada/var_arr_attrs: New testcase.
20549
5589af0e
PA
205502015-01-14 Pedro Alves <palves@redhat.com>
20551 Joel Brobecker <brobecker@adacore.com>
20552
20553 PR gdb/17525
20554 * gdb.base/bp-cmds-execution-x-script.c: New file.
20555 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20556 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20557
6c400b59
PA
205582015-01-14 Pedro Alves <palves@redhat.com>
20559
20560 PR cli/17828
20561 * gdb.base/batch-preserve-term-settings.c: New file.
20562 * gdb.base/batch-preserve-term-settings.exp: New file.
20563
e02c96a7
DE
205642015-01-13 Doug Evans <dje@google.com>
20565
20566 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20567 binary.
20568
576fd14c
JB
205692015-01-13 Joel Brobecker <brobecker@adacore.com>
20570
20571 * Makefile.in (clean mostlyclean): Do not delete *.py.
20572
04dccad0
JB
205732015-01-13 Joel Brobecker <brobecker@adacore.com>
20574
20575 * gdb.python/py-lookup-type.exp: New file.
20576
3d230f71
PA
205772015-01-12 Pedro Alves <palves@redhat.com>
20578
20579 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20580 restore GDBFLAGS before returning.
20581
7e67715d
JK
205822015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20583
20584 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20585 is_amd64_regs_target and is_x86_like_target.
20586
f2e0d4b4
DE
205872015-01-11 Doug Evans <xdje42@gmail.com>
20588
20589 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20590 is given without an explicit form.
20591 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20592 attributes.
20593 * gdb.dwarf/corrupt.exp: Ditto.
20594 * gdb.dwarf2/enum-type.exp: Ditto.
20595 * gdb.trace/entry-values.exp: Ditto.
20596 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20597
439250fb
DE
205982015-01-11 Doug Evans <xdje42@gmail.com>
20599
20600 PR gdb/15830
20601 * gdb.base/maint.exp: Remove references to "maint demangle".
20602 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20603 Add tests for explicitly specifying language to demangle.
20604 * gdb.dlang/demangle.exp: Ditto.
20605
ede9f622
PA
206062015-01-09 Pedro Alves <palves@redhat.com>
20607
20608 * gdb.threads/non-stop-fair-events.c: New file.
20609 * gdb.threads/non-stop-fair-events.exp: New file.
20610
a7b796db
PA
206112015-01-09 Pedro Alves <palves@redhat.com>
20612
20613 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20614 the global scope. Set a breakpoint after all threads are started
20615 rather than stepping over two source lines. Expect the prompt.
20616 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20617 global.
20618 (NUM): Now 15.
20619 (main): Use threads_started_barrier to wait for all threads to
20620 start. Main thread no longer calls thread_function. Exit after
20621 180 seconds.
20622 (loop): New function.
20623 (thread_function): Wait on threads_started_barrier barrier. Call
20624 'loop' at each iteration.
20625 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20626 threads have started, instead of hardcoding number of "next"
20627 steps. Use an access watchpoint instead of a write watchpoint.
20628
9665ffdd
PA
206292015-01-09 Pedro Alves <palves@redhat.com>
20630
20631 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20632 (thread_func): Wait on barrier.
20633 (main): Wait for all threads to start before stopping GDB.
20634 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20635 global.
20636 (thread1_func, thread2_func): Wait on barrier.
20637 (main): Wait for all threads to start before stopping GDB.
20638 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20639 New global.
20640 (thread1_func, thread2_func): Wait on barrier.
20641 (main): Wait for all threads to start before stopping GDB.
20642
c945a99f
PA
206432015-01-09 Pedro Alves <palves@redhat.com>
20644
20645 * gdb.threads/attach-many-short-lived-threads.c: New file.
20646 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20647
c1a747c1
PA
206482014-01-09 Pedro Alves <palves@redhat.com>
20649
20650 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20651 instead of to thread 2.
20652 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20653 Add barrier around each pthread_create call instead of around all
20654 calls.
20655 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20656 Set a break on thread_function and have the child threads hit it
20657 one at at a time.
20658
60b3033e
PA
206592015-01-09 Pedro Alves <palves@redhat.com>
20660
20661 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20662 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20663 false.
20664 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20665 checking whether the target board is remote.
20666 * gdb.multi/multi-attach.exp: Likewise.
20667 * gdb.python/py-sync-interp.exp: Likewise.
20668 * gdb.server/ext-attach.exp: Likewise.
20669 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20670 tests that need to attach, instead of checking whether the target
20671 board is remote at the top of the file.
20672
acc018ac
YQ
206732015-01-08 Yao Qi <yao@codesourcery.com>
20674
20675 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20676
50a18af8
JK
206772015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20678
20679 Fix testcase compilation.
20680 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20681
8503d6e1
JB
206822015-01-06 Joel Brobecker <brobecker@adacore.com>
20683
20684 * gdb.python/py-type.exp: Add a couple test about empty
20685 array creation, and negative-length array creation.
20686
cc73dbcc
DE
206872015-01-02 Doug Evans <xdje42@gmail.com>
20688
20689 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20690
0300bbc7
DE
206912015-01-02 Doug Evans <dje@google.com>
20692
20693 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20694
9d85a0ec
YQ
206952014-12-29 Yao Qi <yao@codesourcery.com>
20696
20697 * gdb.trace/entry-values.exp: Update comments. Rename variable
20698 bar_call_foo to returned_from_foo.
20699
87186c6a
MMN
207002014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20701
20702 PR gdb/17394
20703 * gdb.linespec/break-asm-file.c: New file.
20704 * gdb.linespec/break-asm-file.exp: New file.
20705 * gdb.linespec/break-asm-file0.s: New file.
20706 * gdb.linespec/break-asm-file1.s: New file.
20707
1bab7383
YQ
207082014-12-18 Nigel Stephens <nigel@mips.com>
20709 Maciej W. Rozycki <macro@codesourcery.com>
20710
20711 * gdb.base/float.exp: Handle the new output from "info float" on
20712 MIPS targets.
20713
1bc1068a
JK
207142014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20715
20716 Fix MinGW compilation.
20717 * gdb.compile/compile-ops.exp: Update untested message if
20718 !skip_compile_feature_tests.
20719 * gdb.compile/compile-setjmp.exp: Likewise.
20720 * gdb.compile/compile-tls.exp: Likewise.
20721 * gdb.compile/compile.exp: Likewise.
20722 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20723 supported on this host".
20724
b6615d10
DE
207252014-12-16 Doug Evans <xdje42@gmail.com>
20726
20727 * boards/stabs.exp: New file.
20728
25dda427
AA
207292014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20730
20731 * gdb.base/completion.exp: Adjust to format changes of "maint
20732 print user-registers".
20733
bf330350
CU
207342014-12-16 Catalin Udma <catalin.udma@freescale.com>
20735
20736 PR server/17457
20737 * gdb.arch/aarch64-fp.c: New file.
20738 * gdb.arch/aarch64-fp.exp: New file.
20739
395cf596
SDJ
207402014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20741
20742 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20743 r210637, r210913, r211666, r215400, r215817).
20744
20745 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20746 * dg-extract-results.py: New file.
20747 * dg-extract-results.sh: Use it if the environment seems
20748 suitable.
20749
20750 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20751
20752 * dg-extract-results.py (parse_run): Handle warnings that
20753 are printed before a test harness is run.
20754
20755 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20756
20757 * dg-extract-results.py (Named): Remove __cmp__ method.
20758 (output_variation): Use a key to sort variation.harnesses.
20759
20760 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20761
20762 * dg-extract-results.py: For Python 3, force sys.stdout to
20763 handle surrogate escape sequences.
20764 (safe_open): New function.
20765 (output_segment, main): Use it.
20766
20767 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20768
20769 * dg-extract-results.py (Prog.result_re): Include options
20770 in test name.
20771
20772 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20773
20774 * dg-extract-results.py (output_variation): Always sort if
20775 do_sum.
20776
e882ef3c
SM
207772014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20778
20779 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20780 as long as we get pagination notifications.
20781
4992aa20
JM
207822014-12-15 Jason Merrill <jason@redhat.com>
20783
20784 * Makefile.in (check-gdb.%): Restore.
20785 * README: Mention it.
20786
c1b5a1a6
JB
207872014-12-13 Joel Brobecker <brobecker@adacore.com>
20788
20789 * gdb.ada/str_uninit: New testcase.
20790
5537b577
JK
207912014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20792
20793 PR symtab/17642
20794 * gdb.base/vla-stub-define.c: New file.
20795 * gdb.base/vla-stub.c: New file.
20796 * gdb.base/vla-stub.exp: New file.
20797
bb2ec1b3
TT
207982014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20799 Jan Kratochvil <jan.kratochvil@redhat.com>
20800 Tom Tromey <tromey@redhat.com>
20801
20802 * configure.ac: Add gdb.compile/.
20803 * configure: Regenerate.
20804 * gdb.compile/Makefile.in: New file.
20805 * gdb.compile/compile-ops.exp: New file.
20806 * gdb.compile/compile-ops.c: New file.
20807 * gdb.compile/compile-tls.c: New file.
20808 * gdb.compile/compile-tls.exp: New file.
20809 * gdb.compile/compile-constvar.S: New file.
20810 * gdb.compile/compile-constvar.c: New file.
20811 * gdb.compile/compile-mod.c: New file.
20812 * gdb.compile/compile-nodebug.c: New file.
20813 * gdb.compile/compile-setjmp-mod.c: New file.
20814 * gdb.compile/compile-setjmp.c: New file.
20815 * gdb.compile/compile-setjmp.exp: New file.
20816 * gdb.compile/compile-shlib.c: New file.
20817 * gdb.compile/compile.c: New file.
20818 * gdb.compile/compile.exp: New file.
20819 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20820
4ff709eb
TT
208212014-12-12 Tom Tromey <tromey@redhat.com>
20822
20823 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20824 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20825
6dddd6a5
DE
208262014-12-12 Doug Evans <dje@google.com>
20827
20828 * lib/gdb-python.exp (get_python_valueof): New function.
20829 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20830
71c24708
AA
208312014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20832
20833 * gdb.base/completion.exp: Add test for completion of "info
20834 registers ".
20835
3e29f34a
MR
208362014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20837
20838 * gdb.base/func-ptrs.c: New file.
20839 * gdb.base/func-ptrs.exp: New file.
20840
fc126975
SM
208412014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20842
20843 PR breakpoints/17012
20844 * gdb.base/dprintf-detach.c: New file.
20845 * gdb.base/dprintf-detach.exp: New file.
20846
0a46d518
SM
208472014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20848
20849 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20850 * lib/gdb.exp (target_is_gdbserver): New procedure.
20851
a0be3e44
DE
208522014-12-08 Doug Evans <dje@google.com>
20853
20854 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20855
df1b803a
YQ
208562014-12-05 Yao Qi <yao@codesourcery.com>
20857
20858 * gdb.guile/scm-error.exp: Remove the third argument to
20859 gdb_remote_download.
20860 * gdb.guile/scm-frame-args.exp: Likewise.
20861 * gdb.guile/scm-section-script.exp: Likewise.
20862
ddb9f679
YQ
208632014-12-05 Yao Qi <yao@codesourcery.com>
20864
20865 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20866
86e4ed39
DE
208672014-12-04 Doug Evans <dje@google.com>
20868
20869 * gdb.python/py-objfile.exp: Add tests for
20870 objfile.add_separate_debug_file.
20871
7c50a931
DE
208722014-12-04 Doug Evans <dje@google.com>
20873
20874 * lib/gdb.exp (get_build_id): New function.
20875 (build_id_debug_filename_get): Rewrite to use it.
20876 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20877
621661e3
MR
208782014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20879
20880 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20881 `method(long)', not just 0x0.
20882 * gdb.cp/nsalias.exp: Align code labels to 4.
20883 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20884 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20885 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20886 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20887 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20888 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20889
29f0c3b7
DE
208902014-12-02 Doug Evans <dje@google.com>
20891
e1e061e7 20892 PR symtab/17602
29f0c3b7 20893 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20894 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20895 * gdb.cp/anon-ns.exp: Update.
20896
162078c8
NB
208972014-12-02 Nick Bull <nicholaspbull@gmail.com>
20898
20899 * gdb.python/py-events.py (inferior_call_handler): New.
20900 (register_changed_handler, memory_changed_handler): New.
20901 (test_events.invoke): Register new handlers.
20902 * gdb.python/py-events.exp: Add tests for inferior call,
20903 memory_changed and register_changed events.
20904
fdb09caf
AA
209052014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20906
20907 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20908 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20909 if the linker doesn't understand this.
20910
55cfb2c4
SM
209112014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20912
20913 * gdb.python/python.exp: Change expected reply to help().
20914
9e8cd6df
YQ
209152014-12-01 Yao Qi <yao@codesourcery.com>
20916
20917 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20918 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20919 * configure: Re-generated.
20920
6c659fc2
SC
209212014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20922
20923 * gdb.cp/chained-calls.cc: New file.
20924 * gdb.cp/chained-calls.exp: New file.
20925 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20926
d7fc3181
SM
209272014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20928
20929 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20930 * gdb.dwarf2/symtab-producer.exp: Same.
20931 * gdb.gdb/python-interrupts.exp: Same.
20932 * gdb.gdb/python-selftest.exp: Same.
20933 * gdb.python/py-linetable.exp: Same.
20934 * gdb.python/py-type.exp: Same.
20935 * gdb.python/py-value-cc.exp: Same.
20936 * gdb.python/py-value.exp: Same.
20937
10e79639
YQ
209382014-11-28 Yao Qi <yao@codesourcery.com>
20939
20940 * gdb.base/break-probes.exp: Match library name prefixed with
20941 sysroot.
20942
f28a0564
SM
209432014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20944
20945 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20946 test expected output. Add parentheses for the call to print.
20947 Remove L suffix from integers.
20948
3fe1ce1d
DE
209492014-11-26 Doug Evans <dje@google.com>
20950
20951 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20952
84429e27
YQ
209532014-11-22 Yao Qi <yao@codesourcery.com>
20954
20955 * gdb.trace/entry-values.c: Remove asms.
20956 (foo): Add foo_label.
20957 (bar): Add bar_label.
20958 * gdb.trace/entry-values.exp: Remove code computing foo's
20959 length and bar's length.
20960 (Dwarf::assemble): Invoke function_range for bar and use
20961 MACRO_AT_func for foo.
20962
26741859
YQ
209632014-11-22 Yao Qi <yao@codesourcery.com>
20964
20965 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20966 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20967 Use .Lgcc43_procstart instead of gcc43.
20968
45e44d27
JB
209692014-11-21 Joel Brobecker <brobecker@adacore.com>
20970
20971 * gdb.ada/n_arr_bound: New testcase.
20972
458c8db8
SDJ
209732014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20974
20975 PR breakpoints/10737
20976 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20977 test_catch_syscall_multi_arch.
20978 (test_catch_syscall_multi_arch): New function.
20979
43f3e411
DE
209802014-11-20 Doug Evans <xdje42@gmail.com>
20981
20982 * gdb.base/maint.exp: Update expected output.
20983
0d7b2549
AA
209842014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20985
20986 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20987 4-byte instruction on S390.
20988
8908fca5
JB
209892014-11-19 Joel Brobecker <brobecker@adacore.com>
20990
20991 * gdb.ada/arr_arr: New testcase.
20992
4a46959e
JB
209932014-11-19 Joel Brobecker <brobecker@adacore.com>
20994
20995 * gdb.ada/pkd_arr_elem: New Testcase.
20996
470e2f4e
LM
209972014-11-18 Luis Machado <lgustavo@codesourcery.com>
20998
20999 * gdb.reverse/break-precsave: Expect completion message for
21000 core file reads.
21001 * gdb.reverse/consecutive-precsave.exp: Likewise.
21002 * gdb.reverse/finish-precsave.exp: Likewise.
21003 * gdb.reverse/i386-precsave.exp: Likewise.
21004 * gdb.reverse/machinestate-precsave.exp: Likewise.
21005 * gdb.reverse/sigall-precsave.exp: Likewise.
21006 * gdb.reverse/solib-precsave.exp: Likewise.
21007 * gdb.reverse/step-precsave.exp: Likewise.
21008 * gdb.reverse/until-precsave.exp: Likewise.
21009 * gdb.reverse/watch-precsave.exp: Likewise.
21010
a267f3ad
AA
210112014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21012
21013 * gdb.base/bp-permanent.c: Include unistd.h.
21014 * gdb.python/py-framefilter-mi.c (main): Add return type.
21015 * gdb.python/py-framefilter.c (main): Likewise.
21016 * gdb.trace/actions-changed.c (main): Likewise.
21017
12084a9a
AA
210182014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21019
21020 * gdb.mi/until.c: Add eye-catchers.
21021 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
21022 line numbers.
21023
dc7e1a77
AA
210242014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21025
21026 * gdb.base/condbreak.exp: Drop references to removed non-prototype
21027 function header variants in break1.c.
21028 * gdb.base/ena-dis-br.exp: Likewise.
21029 * gdb.base/hbreak2.exp: Likewise.
21030 * gdb.reverse/until-precsave.exp: Drop references to removed
21031 non-prototype function header variants in ur1.c.
21032 * gdb.reverse/until-reverse.exp: Likewise.
21033
41c77605
PM
210342014-11-17 Petr Machata <pmachata@redhat.com>
21035
21036 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
21037 ${_cu_offset_size} bytes abbrev offset.
21038
34248c3a
DE
210392014-11-15 Doug Evans <xdje42@gmail.com>
21040
21041 PR symtab/17559
21042 * gdb.base/line-symtabs.exp: New file.
21043 * gdb.base/line-symtabs.c: New file.
21044 * gdb.base/line-symtabs.h: New file.
21045
646da059
YQ
210462014-11-14 Yao Qi <yao@codesourcery.com>
21047
21048 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
21049 (func): Add label func_label.
21050 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
21051 Replace low_pc and high_pc with MACRO_AT_range.
21052 Replace name, low_pc and high_pc with MACRO_AT_func.
21053
9301ebe6
YQ
210542014-11-14 Yao Qi <yao@codesourcery.com>
21055
21056 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
21057 Replace name, low_pc and high_pc with MACRO_AT_func.
21058
f166b542
YQ
210592014-11-14 Yao Qi <yao@codesourcery.com>
21060
21061 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
21062 produce debug information.
21063 * gdb.dwarf2/implptr-optimized-out.S: Removed.
21064
0f6e71e3
YQ
210652014-11-14 Yao Qi <yao@codesourcery.com>
21066
21067 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
21068 object and get function length.
21069 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
21070 with MACRO_AT_func.
21071 (top-level): Replace gdb_compile and clean_restart with
21072 prepare_for_testing.
21073 * gdb.dwarf2/main.c (main): Add label main_label.
21074
876c4df9
YQ
210752014-11-14 Yao Qi <yao@codesourcery.com>
21076
21077 * lib/dwarf.exp (function_range): New procedure.
21078 (Dwarf::_handle_macro_at_func): New procedure.
21079 (Dwarf::_handle_macro_at_range): New procedure.
21080 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21081
02ad9cf1
YQ
210822014-11-14 Yao Qi <yao@codesourcery.com>
21083
21084 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21085 (_handle_attribute): New procedure.
21086
a59add0c
AA
210872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21088
21089 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21090 * gdb.base/call-sc.c (zed): Likewise.
21091 * gdb.base/checkpoint.c (main): Likewise.
21092 * gdb.base/dump.c (main): Likewise.
21093 * gdb.base/gcore.c (main): Likewise.
21094 * gdb.base/huge.c (main): Likewise.
21095 * gdb.base/multi-forks.c (main): Likewise.
21096 * gdb.base/pr10179-a.c (main): Likewise.
21097 * gdb.base/savedregs.c (main): Likewise.
21098 * gdb.base/sigaltstack.c (main): Likewise.
21099 * gdb.base/siginfo.c (main): Likewise.
21100 * gdb.base/structs.c (zed): Likewise.
21101 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21102 * gdb.mi/mi-syn-frame.c (main): Likewise.
21103 * gdb.mi/until.c (foo, main): Likewise.
21104 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21105 * gdb.base/solib-weak.c (foo): Declare.
21106 * gdb.base/attach-twice.c: Include stdio.h.
21107 * gdb.base/weaklib1.c: Likewise.
21108 * gdb.base/weaklib2.c: Likewise.
21109 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21110 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21111 unistd.h.
21112 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21113 * gdb.mi/mi-exit-code.c: Likewise.
21114 * gdb.base/break-interp-lib.c: Include string.h.
21115 * gdb.base/coremaker.c: Likewise.
21116 * gdb.base/testenv.c: Likewise.
21117 * gdb.python/py-finish-breakpoint.c: Likewise.
21118 * gdb.base/inferior-died.c: Include sys/wait.h.
21119 * gdb.base/fileio.c: Include time.h.
21120 * gdb.base/async-shell.c: Include unistd.h.
21121 * gdb.base/dprintf-non-stop.c: Likewise.
21122 * gdb.base/info-os.c: Likewise.
21123 * gdb.mi/mi-console.c: Likewise.
21124 * gdb.mi/watch-nonstop.c: Likewise.
21125 * gdb.python/py-events.c: Likewise.
21126 * gdb.base/async.c (baz): Move up before its invocation.
21127 * gdb.base/code_elim2.c (my_global_func): Likewise.
21128 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21129 * gdb.base/advance.c (func2): Likewise.
21130
3b5d5997
AA
211312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21132
21133 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21134 variant.
21135 * gdb.base/annota3.c: Likewise.
21136 * gdb.base/async.c: Likewise.
21137 * gdb.base/average.c: Likewise.
21138 * gdb.base/call-ar-st.c: Likewise.
21139 * gdb.base/call-rt-st.c: Likewise.
21140 * gdb.base/call-sc.c: Likewise.
21141 * gdb.base/call-strs.c: Likewise.
21142 * gdb.base/ending-run.c: Likewise.
21143 * gdb.base/execd-prog.c: Likewise.
21144 * gdb.base/exprs.c: Likewise.
21145 * gdb.base/foll-exec.c: Likewise.
21146 * gdb.base/foll-fork.c: Likewise.
21147 * gdb.base/foll-vfork.c: Likewise.
21148 * gdb.base/funcargs.c: Likewise.
21149 * gdb.base/gcore.c: Likewise.
21150 * gdb.base/jump.c: Likewise.
21151 * gdb.base/langs0.c: Likewise.
21152 * gdb.base/langs1.c: Likewise.
21153 * gdb.base/langs2.c: Likewise.
21154 * gdb.base/mips_pro.c: Likewise.
21155 * gdb.base/nodebug.c: Likewise.
21156 * gdb.base/opaque0.c: Likewise.
21157 * gdb.base/opaque1.c: Likewise.
21158 * gdb.base/recurse.c: Likewise.
21159 * gdb.base/run.c: Likewise.
21160 * gdb.base/scope0.c: Likewise.
21161 * gdb.base/scope1.c: Likewise.
21162 * gdb.base/setshow.c: Likewise.
21163 * gdb.base/setvar.c: Likewise.
21164 * gdb.base/shmain.c: Likewise.
21165 * gdb.base/shr1.c: Likewise.
21166 * gdb.base/shr2.c: Likewise.
21167 * gdb.base/sigall.c: Likewise.
21168 * gdb.base/signals.c: Likewise.
21169 * gdb.base/so-indr-cl.c: Likewise.
21170 * gdb.base/solib2.c: Likewise.
21171 * gdb.base/structs.c: Likewise.
21172 * gdb.base/sum.c: Likewise.
21173 * gdb.base/vforked-prog.c: Likewise.
21174 * gdb.base/watchpoint.c: Likewise.
21175 * gdb.reverse/shr2.c: Likewise.
21176 * gdb.reverse/until-reverse.c: Likewise.
21177 * gdb.reverse/ur1.c: Likewise.
21178 * gdb.reverse/watch-reverse.c: Likewise.
21179
066a77c5
AA
211802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21181
21182 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21183 variant.
21184 * gdb.base/sepdebug.exp: Drop references to removed code.
21185
4f204ea5
AA
211862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21187
21188 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21189 variant. Preserve original line numbering.
21190 * gdb.base/list1.c: Likewise.
21191
3b377a3a
AA
211922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21193
21194 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21195 variant.
21196 * gdb.base/break1.c: Likewise.
21197 * gdb.base/break.exp: Drop references to removed code.
21198
e444df73
AA
211992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21200
21201 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21202 variant.
21203
8008f2a7
AA
212042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21205
21206 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21207
a5a06887
AA
212082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21209
21210 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21211 logic into perform_all_tests() and invoke it with and without
21212 function header prototypes.
21213 (do_function_calls): Remove conditional XFAIL for PR 5318.
21214 (rerun_and_prepare): Remove duplicate code.
21215 (perform_all_tests): New. Main logic moved here.
21216
44dba9b9
AA
212172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21218
21219 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21220 code guarded by #ifdef NO_PROTOTYPES.
21221 (t_double_many_args): Likewise.
21222 (DEF_FUNC_MANY_ARGS_1): Likewise.
21223 (DEF_FUNC_VALUES_1): Likewise.
21224 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21225 guarded by #ifdef PROTOTYPES.
21226
d1fbcd56
AA
212272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21228
21229 * gdb.mi/mi-console.c: Add eye-catcher.
21230 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21231 instead of literal line number.
21232
b0e59b8f
AA
212332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21234
21235 * gdb.base/shr2.c: Add eye-catcher.
21236 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21237 line number.
21238
78f98cca
AA
212392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21240
21241 * gdb.base/jump.c: Add eye-catchers.
21242 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21243 numbers.
21244
58fa2af0
AA
212452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21246
21247 * gdb.base/execd-prog.c: Add eye-catchers.
21248 * gdb.base/foll-exec.c: Likewise.
21249 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21250 line numbers.
21251
04e5059b
AA
212522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21253
21254 * gdb.base/ending-run.c: Add eye-catchers.
21255 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21256 literal line numbers.
21257
dbfdb174
AA
212582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21259
21260 * gdb.base/call-rt-st.c: Add eye-catchers.
21261 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21262 literal line numbers.
21263
888a2ade
AA
212642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21265
21266 * gdb.base/call-ar-st.c: Add eye-catchers.
21267 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21268 literal line numbers.
21269
6acc2dde
AA
212702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21271
21272 * gdb.base/average.c: Add eye-catchers.
21273 * gdb.base/sum.c: Likewise.
21274 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21275 regexps dynamically.
21276
9ecfcd1d
AA
212772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21278
21279 * gdb.base/solib1.c: Add eye-catchers.
21280 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21281 literal line numbers.
21282
78708b7c
PA
212832014-11-12 Pedro Alves <palves@redhat.com>
21284
21285 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21286 leader has exited.
21287
af48d08f
PA
212882014-11-12 Pedro Alves <palves@redhat.com>
21289
21290 * gdb.arch/i386-bp_permanent.c: New file.
21291 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21292 (srcfile): Set to i386-bp_permanent.c.
21293 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21294 that stepi does not execute the 'leave' instruction, instead of
21295 testing it does execute.
21296 * gdb.base/bp-permanent.c: New file.
21297 * gdb.base/bp-permanent.exp: New file.
21298
af3768e9
DE
212992014-11-10 Doug Evans <xdje42@gmail.com>
21300
21301 PR symtab/17564
21302 * gdb.base/symtab-search-order.exp: New file.
21303 * gdb.base/symtab-search-order.c: New file.
21304 * gdb.base/symtab-search-order-1.c: New file.
21305 * gdb.base/symtab-search-order-shlib-1.c: New file.
21306
9de00a4a
PA
213072014-11-07 Pedro Alves <palves@redhat.com>
21308
21309 PR gdb/17511
21310 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21311 i?86-*-linux*.
21312
e0f52461
SC
213132014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21314
21315 PR c++/17494
21316 * gdb.cp/pr17494.cc: New file.
21317 * gdb.cp/pr17494.exp: New file.
21318
6ce8c980
YQ
213192014-11-02 Yao Qi <yao@codesourcery.com>
21320
21321 * gdb.python/python.exp: Get working directory and match the
21322 output of "set extended-prompt \\w " with it.
21323
02be9a71
DE
213242014-10-30 Doug Evans <dje@google.com>
21325
21326 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21327 in objfiles.
21328 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21329 in progspaces.
21330
3bdff46b
LM
213312014-10-30 Janis Johnson <janisjo@codesourcery.com>
21332
21333 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21334 * gdb.base/realname-expand.exp: Likewise.
21335 * gdb.linespec/macro-relative.exp: Likewise.
21336
ab917dfb
PA
213372014-10-29 Pedro Alves <palves@redhat.com>
21338
21339 PR gdb/17408
21340 * gdb.threads/schedlock.c (some_function): New function.
21341 (call_function): New global.
21342 (MAYBE_CALL_SOME_FUNCTION): New macro.
21343 (thread_function): Call it.
21344 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21345 and use it instead of a global counter. Adjust all callers.
21346 (get_current_thread): Use "find current thread" for test message
21347 here rather than having all callers pass down the same string.
21348 (goto_loop): New procedure, factored out from ...
21349 (my_continue): ... this.
21350 (step_ten_loops): Change parameter from test message to command to
21351 use. Adjust.
21352 (list_count): Delete global.
21353 (check_result): New procedure, factored out from duplicate top
21354 level code.
21355 (continue tests): Wrap in with_test_prefix.
21356 (test_step): New procedure, factored out from duplicate top level
21357 code.
21358 (top level): Test "step" in combination with all scheduler-locking
21359 modes. Test "next" in combination with all scheduler-locking
21360 modes, and in combination with stepping over a function call or
21361 not.
21362 * gdb.threads/next-bp-other-thread.c: New file.
21363 * gdb.threads/next-bp-other-thread.exp: New file.
21364
d3d4baed
PA
213652014-10-29 Pedro Alves <palves@redhat.com>
21366
21367 PR python/17372
21368 * gdb.python/python.exp: Test a multi-line command that spawns
21369 interactive Python.
21370 * gdb.base/multi-line-starts-subshell.exp: New file.
21371
563e8d85
YQ
213722014-10-29 Yao Qi <yao@codesourcery.com>
21373
21374 * gdb.base/fileio.exp: Make directories on host.
21375
0ea4d52e
YQ
213762014-10-29 Yao Qi <yao@codesourcery.com>
21377
21378 * gdb.base/fileio.c (test_write): Close the file.
21379
7f5ef605
PA
213802014-10-28 Pedro Alves <palves@redhat.com>
21381
21382 PR gdb/12623
21383 * gdb.base/sigstep.c (no_handler): New global.
21384 (main): If 'no_handler is true, set the signal handlers to
21385 SIG_IGN.
21386 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21387 with_sw_watch and no_handler parameters. Handle them.
21388 (top level) <stepping over handler when stopped at a breakpoint
21389 test>: Add a test axis for testing with a software watchpoint, and
21390 another for testing with the signal handler set to SIG_IGN.
21391 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21392 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21393
abbdbd03
PA
213942014-10-28 Pedro Alves <palves@redhat.com>
21395
21396 PR gdb/17511
21397 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21398 * gdb.base/sigstep.exp (other_handler_location): New global.
21399 (advance): Support stepping into the signal handler, and running
21400 commands while in the handler.
21401 (in_handler_map): New global.
21402 (top level): In the advance test, add combinations for getting
21403 into the handler with stepping commands, and for running commands
21404 in the handler. Add comment descripting the advancei tests.
21405
1df4399f
PA
214062014-10-28 Pedro Alves <palves@redhat.com>
21407
21408 * gdb.base/sigstep.exp: Use build_executable instead of
21409 prepare_for_testing.
21410 (top level): Move code that starts GDB, runs to main and creates a
21411 display to ...
21412 (restart): ... this new procedure.
21413 (top level): Move backtrace from signal handler test to ...
21414 (validate_backtrace): ... this new procedure.
21415 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21416 with_test_prefix. Always restart GDB.
21417 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21418 with_test_prefix. Always restart GDB. No need to delete
21419 breakpoints after the test.
21420 (test_skip_handler): Remove prefix parameter.
21421 (skip_over_handler, breakpoint_to_handler)
21422 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21423 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21424 restart GDB. No need to delete breakpoints after the test.
21425 (top level): Use foreach to call the test procedures with
21426 different commands.
21427
a5b6e449
PA
214282014-10-28 Pedro Alves <palves@redhat.com>
21429
21430 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21431 instead of GNATS numbers.
21432 * gdb.base/sigbpt.exp: Likewise.
21433 * gdb.base/siginfo.exp: Likewise.
21434 * gdb.base/sigstep.exp: Likewise.
21435
e5f8a7cc
PA
214362014-10-27 Pedro Alves <palves@redhat.com>
21437
21438 * gdb.base/sigstep.c (dummy): New global.
21439 (main): Issue a couple writes to the new global.
21440 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21441 procedures.
21442 (skip_over_handler): Use test_skip_handler.
21443 (top level): Call skip_over_handler for stepi and nexti too.
21444 (breakpoint_over_handler): Use test_skip_handler.
21445 (top level): Call breakpoint_over_handler for stepi and nexti too.
21446
763905a3
YQ
214472014-10-27 Yao Qi <yao@codesourcery.com>
21448
21449 * gdb.trace/tfile.c (adjust_function_address)
21450 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21451 function descriptor.
21452
6f259a23
DB
214532014-10-24 Don Breazeal <donb@codesourcery.com>
21454
21455 * gdb.base/foll-fork.exp (test_follow_fork,
21456 catch_fork_child_follow): Check for updated fork messages emitted
21457 from infrun.c.
21458 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21459 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21460 vfork_and_exec_child_follow_through_step): Check for updated vfork
21461 messages emitted from infrun.c.
21462
09dd9a69
PA
214632014-10-24 Pedro Alves <palves@redhat.com>
21464
21465 * gdb.base/corefile.exp: Remove references to ultrix.
21466 * gdb.base/interrupt.exp: Likewise.
21467 * gdb.base/whatis.exp: Likewise.
21468 * gdb.gdb/selftest.exp: Likewise.
21469 * gdb.threads/manythreads.exp: Likewise.
21470 * gdb.threads/print-threads.exp: Likewise.
21471 * gdb.threads/pthreads.exp:: Likewise.
21472 * gdb.threads/schedlock.exp: Likewise.
21473
3433cfa5
SC
214742014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21475
21476 * gdb.cp/non-trivial-retval.cc: Add a test case.
21477 * gdb.cp/non-trivial-retval.exp: Add a test.
21478
092f880b
YQ
214792014-10-20 Yao Qi <yao@codesourcery.com>
21480
21481 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21482 * gdb.python/py-objfile-script-gdb.py: New file.
21483 * gdb.python/py-objfile-script.exp: Update reference to
21484 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21485 of remote_download. Remove the dest file.
21486
acbdb7f3
YQ
214872014-10-20 Yao Qi <yao@codesourcery.com>
21488
21489 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21490 * gdb.base/step-line.exp: Likewise.
21491 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21492 * gdb.dwarf2/dw2-basic.exp: Likewise.
21493 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21494 * gdb.dwarf2/dw2-filename.exp: Likewise.
21495 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21496 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21497 * gdb.dwarf2/dw2-producer.exp: Likewise.
21498 * gdb.dwarf2/mac-fileno.exp: Likewise.
21499 * gdb.python/py-frame-args.exp: Likewise.
21500 * gdb.python/py-framefilter.exp: Likewise.
21501 * gdb.python/py-mi.exp: Likewise.
21502 * gdb.python/py-objfile-script.exp: Likewise
21503 * gdb.python/py-pp-integral.exp: Likewise.
21504 * gdb.python/py-pp-re-notag.exp: Likewise.
21505 * gdb.python/py-prettyprint.exp: Likewise.
21506 * gdb.python/py-section-script.exp: Likewise.
21507 * gdb.python/py-typeprint.exp: Likewise.
21508 * gdb.python/py-xmethods.exp: Likewise.
21509 * gdb.stabs/weird.exp: Likewise.
21510 * gdb.xml/tdesc-regs.exp: Likewise.
21511
bd286a29
KCY
215122014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21513
21514 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21515 (out_cu): Use addr_len for the size of addresses.
21516 (out_line): Likewise. Size DW_LNE_set_address instruction
21517 according to addr_len.
21518 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21519 (FUNC): Add START_INSNS to definition.
21520
673dc4a0
YQ
215212014-10-18 Yao Qi <yao@codesourcery.com>
21522
21523 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21524 gdb_has_argv0 return true.
21525 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21526 check [target_info exists noargs], check [gdb_has_argv0]
21527 instead.
21528 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21529 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21530 procedures.
21531
4ffbba72
DE
215322014-10-17 Doug Evans <dje@google.com>
21533
21534 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21535 event.
21536 * gdb.python/py-events.py: Add clear_objfiles event.
21537
d096d8c1
DE
215382014-10-17 Doug Evans <dje@google.com>
21539
21540 * gdb.python/py-objfile.exp: Test progspace attribute.
21541
a80db015
LM
215422014-10-17 Luis Machado <lgustavo@codesourcery.com>
21543
21544 * gdb.guile/scm-breakpoint.exp: Do not assume any
21545 directory separators when matching source file paths.
21546 * gdb.python/py-breakpoint.exp: Likewise.
21547 * gdb.reverse/break-precsave.exp: Likewise.
21548 * gdb.reverse/break-reverse.exp: Likewise.
21549 * gdb.reverse/consecutive-precsave.exp: Likewise.
21550 * gdb.reverse/finish-precsave.exp: Likewise.
21551 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21552 * gdb.reverse/finish-reverse.exp: Likewise.
21553 * gdb.reverse/i386-precsave.exp: Likewise.
21554 * gdb.reverse/i387-env-reverse.exp: Likewise.
21555 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21556 * gdb.reverse/machinestate-precsave.exp: Likewise.
21557 * gdb.reverse/machinestate.exp: Likewise.
21558 * gdb.reverse/sigall-precsave.exp: Likewise.
21559 * gdb.reverse/solib-precsave.exp: Likewise.
21560 * gdb.reverse/step-precsave.exp: Likewise.
21561 * gdb.reverse/until-precsave.exp: Likewise.
21562 * gdb.reverse/watch-precsave.exp: Likewise.
21563 * gdb.reverse/watch-reverse.exp: Likewise.
21564
b22089ab
YQ
215652014-10-17 Yao Qi <yao@codesourcery.com>
21566
21567 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21568 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21569
6c4486e6
PA
215702014-10-17 Pedro Alves <palves@redhat.com>
21571
21572 PR gdb/17471
21573 * gdb.base/bg-execution-repeat.c: New file.
21574 * gdb.base/bg-execution-repeat.exp: New file.
21575
0ff33695
PA
215762014-10-17 Pedro Alves <palves@redhat.com>
21577
21578 PR gdb/17300
21579 * gdb.base/continue-all-already-running.c: New file.
21580 * gdb.base/continue-all-already-running.exp: New file.
21581
6fdebc3d
PA
215822014-10-17 Pedro Alves <palves@redhat.com>
21583
21584 PR gdb/17472
21585 * gdb.base/annota-input-while-running.c: New file.
21586 * gdb.base/annota-input-while-running.exp: New file.
21587
32a8097b
PA
215882014-10-17 Pedro Alves <palves@redhat.com>
21589
21590 * gdb.base/callfuncs.exp: emove references to osf.
21591 * gdb.base/sigall.exp: Likewise.
21592 * gdb.gdb/selftest.exp: Likewise.
21593 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21594 * gdb.mi/non-stop.c: Likewise.
21595 * gdb.mi/pthreads.c: Likewise.
21596 * gdb.reverse/sigall-precsave.exp: Likewise.
21597 * gdb.reverse/sigall-reverse.exp: Likewise.
21598 * gdb.threads/pthreads.c: Likewise.
21599 * gdb.threads/pthreads.exp: Likewise.
21600
7a3517ff
YQ
216012014-10-17 Yao Qi <yao@codesourcery.com>
21602
21603 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21604 check 'target_info exists noargs'.
21605 (test_command_prompt_position): Likewise.
21606 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21607 Remove "set args".
21608 (progvar_simple_while_test): Likewise.
21609 (progvar_complex_if_while_test): Likewise.
21610 (if_while_breakpoint_command_test): Likewise.
21611 (infrun_breakpoint_command_test): Likewise.
21612 (breakpoint_command_test): Likewise.
21613 (watchpoint_command_test): Likewise.
21614 (bp_deleted_in_command_test): Likewise.
21615 (temporary_breakpoint_commands): Likewise.
21616
bb99c472
YQ
216172014-10-16 Yao Qi <yao@codesourcery.com>
21618
21619 * gdb.base/remotetimeout.exp: Remove noargs checking.
21620
7c16b83e
PA
216212014-10-15 Pedro Alves <palves@redhat.com>
21622
21623 PR breakpoints/9649
21624 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21625 * gdb.base/breakpoint-in-ro-region.exp
21626 (probe_target_hardware_step): New procedure.
21627 (top level): Probe hardware stepping and hardware breakpoint
21628 support. Test stepping through a read-only region, with both
21629 "breakpoint auto-hw" on and off and both "always-inserted" on and
21630 off.
21631
35a49624
IB
216322014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21633
21634 * gdb.dlang/demangle.exp: Update for demangling changes.
21635
2d1c107c
SC
216362014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21637
21638 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21639 * gdb.cp/non-trivial-retval.exp: Add new tests.
21640
778811d5
SC
216412014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21642
21643 PR c++/13403
21644 PR c++/15154
21645 * gdb.cp/non-trivial-retval.cc: New file.
21646 * gdb.cp/non-trivial-retval.exp: New file.
21647
10c5f0a8
YQ
216482014-10-15 Yao Qi <yao@codesourcery.com>
21649
21650 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21651 remote host.
21652
65d7b369
YQ
216532014-10-15 Yao Qi <yao@codesourcery.com>
21654
21655 * gdb.python/py-symbol.exp: Match file base name if host is
21656 remote, otherwise match file name with dir name.
21657 * gdb.python/py-symtab.exp: Likewise.
21658 * gdb.python/python.exp: Likewise.
21659
46dc1394
YQ
216602014-10-15 Yao Qi <yao@codesourcery.com>
21661
21662 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21663 pattern.
21664 * gdb.python/py-symtab.exp: Likewise.
21665 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21666 locationn.
21667
c40cc657
JB
216682014-10-14 Joel Brobecker <brobecker@adacore.com>
21669
21670 * gdb.ada/addr_arith: New testcase.
21671
2abf49e1
MR
216722014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21673
21674 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21675 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21676 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21677 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21678
f7088df3
SDJ
216792014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21680
21681 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21682 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21683 * gdb.arch/stap-eval-lang-ada.exp: New file.
21684
4dc06805
YQ
216852014-10-14 Yao Qi <yao@codesourcery.com>
21686
21687 * gdb.mi/mi-var-child.c (nothing1): New function.
21688 (nothing2): New function.
21689 (do_children_tests): Set function pointers by nothing1 and
21690 nothing2.
21691 * gdb.mi/mi-var-child.exp: Step over new added statements.
21692 Update test to match the new output.
21693 * gdb.mi/var-cmd.c (nothing1): New function.
21694 (nothing2): New function.
21695 (do_children_tests): Set function pointers by nothing1 and
21696 nothing2.
21697 * gdb.mi/mi-var-display.exp: Update test to match output.
21698 Step to the line specified by $line_dct_nothing.
21699 Increase the number of lines to step.
21700
46a93de2
YQ
217012014-10-14 Yao Qi <yao@codesourcery.com>
21702
21703 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21704 tests.
21705 * gdb.mi/mi2-var-child.exp: Likewise.
21706
14ea52ee
DE
217072014-10-13 Doug Evans <dje@google.com>
21708
21709 * gdb.python/py-objfile.exp: Change name of file name test.
21710
e5c6e92b
DE
217112014-10-13 Doug Evans <dje@google.com>
21712
21713 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21714 from the start of the CU.
21715
c780cc2f
JK
217162014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21717 Yao Qi <yao@codesourcery.com>
21718
21719 Fix "save breakpoints" for "catch" command.
21720 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21721 Remove -nonewline. Match also the added "main" line.
21722
99894e11
JK
217232014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21724
21725 Fix "save breakpoints" for "disable $bpnum" command.
21726 * gdb.base/save-bp.c (main): Add label.
21727 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21728
6e1ac5a3
JK
217292014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21730
21731 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21732
754dd2b0
YQ
217332014-10-11 Yao Qi <yao@codesourcery.com>
21734
21735 * gdb.server/server-kill.exp: Execute command
21736 "set remote trace-status-packet on" before "tstatus".
21737
f90183d7
YQ
217382014-10-11 Yao Qi <yao@codesourcery.com>
21739
21740 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21741 (main): Call getppid.
21742 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21743 and continue to it. Read variable "server_pid".
21744
bf40a607
YQ
217452014-10-11 Yao Qi <yao@codesourcery.com>
21746
21747 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21748
052ca370
YQ
217492014-10-11 Yao Qi <yao@codesourcery.com>
21750
21751 * gdb.threads/thread-find.exp: Don't execute command
21752 "info threads".
21753 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21754 * gdb.threads/linux-dp.exp: Don't check the condition
21755 $threads_created equals to zero.
21756
3831839c
PA
217572014-10-10 Pedro Alves <palves@redhat.com>
21758
21759 * gdb.base/bigcore.exp: Remove references to IRIX.
21760 * gdb.base/funcargs.exp: Likewise.
21761 * gdb.base/interrupt.exp: Likewise.
21762 * gdb.base/mips_pro.exp: Likewise.
21763 * gdb.base/nodebug.exp: Likewise.
21764 * gdb.base/setvar.exp: Likewise.
21765 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21766
8b9a549d
PA
217672014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21768 Pedro Alves <palves@redhat.com>
21769
21770 PR symtab/14466
21771 * gdb.base/vdso-warning.c: New file.
21772 * gdb.base/vdso-warning.exp: New file.
21773
d48ba5e8
DE
217742014-10-02 Doug Evans <dje@google.com>
21775
21776 * gdb.base/structs.c (main): Don't run forever.
21777
2278c276
PA
217782014-10-02 Pedro Alves <palves@redhat.com>
21779
21780 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21781 (top level) <stop threads 1, stop threads 2>: Use it.
21782
b57bacec
PA
217832014-10-02 Pedro Alves <palves@redhat.com>
21784
21785 * gdb.threads/break-while-running.exp (test): Add new
21786 'update_thread_list' argument. Skip "info threads" if false.
21787 (top level): Add new 'update_thread_list' axis.
21788
13fd3ff3
PA
217892014-10-02 Pedro Alves <palves@redhat.com>
21790
21791 PR breakpoints/17431
21792 * gdb.base/execl-update-breakpoints.c: New file.
21793 * gdb.base/execl-update-breakpoints.exp: New file.
21794
0fec99e8
PA
217952014-10-01 Pedro Alves <palves@redhat.com>
21796
21797 * gdb.base/breakpoint-in-ro-region.c: New file.
21798 * gdb.base/breakpoint-in-ro-region.exp: New file.
21799
2ddf4301
SM
218002014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21801
21802 * gdb.mi/mi-exit-code.exp: New file.
21803 * gdb.mi/mi-exit-code.c: New file.
21804
6a5f3f43
YQ
218052014-09-30 Yao Qi <yao@codesourcery.com>
21806
21807 * lib/prelink-support.exp (build_executable_own_libs): Error if
21808 the target isn't native.
21809
345bcc73
YQ
218102014-09-30 Yao Qi <yao@codesourcery.com>
21811
21812 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21813 false.
21814
a25a5a45
PA
218152014-09-22 Pedro Alves <palves@redhat.com>
21816
21817 * gdb.threads/break-while-running.exp: New file.
21818 * gdb.threads/break-while-running.c: New file.
21819
00ba3162
YQ
218202014-09-19 Yao Qi <yao@codesourcery.com>
21821
21822 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21823 Invoke test. Restart GDB with --readnow and invoke test again.
21824
c3b7b696
YQ
218252014-09-19 Yao Qi <yao@codesourcery.com>
21826
21827 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21828 proc set_breakpoint_on_gcd_function. Invoke
21829 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21830 invoke set_breakpoint_on_gcd_function again.
21831
2b4fd423
DE
218322014-09-18 Doug Evans <dje@google.com>
21833
21834 * gdb.dwarf2/symtab-producer.exp: New file.
21835
a5947601
SDJ
218362014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21837
21838 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21839 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21840 * gdb.base/global-var-nested-by-dso.c: Likewise.
21841 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21842
91c19059
SDJ
218432014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21844 Pedro Alves <palves@redhat.com>
21845
21846 * gdb.base/watch-bitfields.exp: Pass string other than test file
21847 name to prepare_for_testing.
21848 (watch): New procedure.
21849 (expect_watchpoint): Use with_test_prefix.
21850 (top level): Factor out tests to ...
21851 (test_watch_location, test_regular_watch): ... these new
21852 procedures, and use with_test_prefix and gdb_continue_to_end.
21853
bb9d5f81
PP
218542014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21855
21856 PR breakpoints/12526
21857 * gdb.base/watch-bitfields.exp: New file.
21858 * gdb.base/watch-bitfields.c: New file.
21859
635856f5
PA
218602014-09-16 Pedro Alves <palves@redhat.com>
21861
21862 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21863 software and hardware addresses, not software address against
21864 itself.
21865
7280ceea
PA
218662014-09-16 Pedro Alves <palves@redhat.com>
21867
21868 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21869 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21870
428b16bd
PA
218712014-09-16 Pedro Alves <palves@redhat.com>
21872
21873 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21874 files.
21875 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21876 "*-*-vxworks*" throughout.
21877 * gdb.base/break.exp: Likewise.
21878 * gdb.base/default.exp: Likewise.
21879 * gdb.base/scope.exp: Likewise.
21880 * gdb.base/sepdebug.exp: Likewise.
21881 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21882 throughout.
21883 * gdb.base/run.c: Likewise.
21884 * gdb.base/sepdebug.c: Likewise.
21885 * gdb.hp/gdb.aCC/run.c: Likewise.
21886 * gdb.reverse/until-reverse.c: Likewise.
21887 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21888
666d413c
YQ
218892014-09-16 Yao Qi <yao@codesourcery.com>
21890
21891 * boards/local-remote-host-native.exp: New file.
21892
57cbd724
DE
218932014-09-14 Doug Evans <xdje42@gmail.com>
21894
21895 * gdb.threads/queue-signal.c (thread_count): New variable.
21896 (thread_count_mutex, thread_count_condvar): New variables.
21897 (incr_thread_count, wait_all_threads_running): New functions.
21898 (main): Wait for all threads to be in their thread functions.
21899
81219e53
DE
219002014-09-13 Doug Evans <xdje42@gmail.com>
21901
21902 * gdb.threads/queue-signal.c: New file.
21903 * gdb.threads/queue-signal.exp: New file.
21904
3714cea7
DE
219052014-09-13 Doug Evans <xdje42@gmail.com>
21906
21907 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21908 be consistent with what default_gdb_init uses.
21909 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21910 the plain text of the prompt. Add some logging printfs.
21911 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21912
fa43b1d7
PA
219132014-09-12 Pedro Alves <palves@redhat.com>
21914
21915 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21916 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21917 * gdb.arch/i386-size-overlap.exp: Likewise.
21918 * gdb.arch/i386-size.exp: Likewise.
21919 * gdb.arch/i386-unwind.exp: Likewise.
21920 * gdb.base/a2-run.exp: Likewise.
21921 * gdb.base/break.exp: Likewise.
21922 * gdb.base/charset.exp: Likewise.
21923 * gdb.base/chng-syms.exp: Likewise.
21924 * gdb.base/commands.exp: Likewise.
21925 * gdb.base/dbx.exp: Likewise.
21926 * gdb.base/find.exp: Likewise.
21927 * gdb.base/funcargs.exp: Likewise.
21928 * gdb.base/jit-simple.exp: Likewise.
21929 * gdb.base/reread.exp: Likewise.
21930 * gdb.base/sepdebug.exp: Likewise.
21931 * gdb.base/step-bt.exp: Likewise.
21932 * gdb.cp/mb-inline.exp: Likewise.
21933 * gdb.cp/mb-templates.exp: Likewise.
21934 * gdb.objc/basicclass.exp: Likewise.
21935 * gdb.threads/killed.exp: Likewise.
21936
9d9bf2df
EBM
219372014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21938
21939 PR tdep/17379
21940 * gdb.arch/powerpc-stackless.S: New file.
21941 * gdb.arch/powerpc-stackless.exp: New file.
21942
1cf2f1b0
JK
219432014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21944
21945 * gdb.base/attach.c: Include unistd.h.
21946 (main): Call alarm. Add label postloop.
21947 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21948 gdb_breakpoint, gdb_continue_to_breakpoint.
21949 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21950
98880d46
PA
219512014-09-11 Pedro Alves <palves@redhat.com>
21952
21953 PR gdb/17347
21954 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21955 * gdb.base/attach.exp (test_command_line_attach_run): New
21956 procedure.
21957 (top level): Call it.
21958
4c92ff2c
PA
219592014-09-11 Pedro Alves <palves@redhat.com>
21960
21961 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21962 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21963 (do_command_attach_tests): Use spawn_wait_for_attach.
21964 * gdb.base/solib-overlap.exp: Likewise.
21965 * gdb.multi/multi-attach.exp: Likewise.
21966 * gdb.python/py-prompt.exp: Likewise.
21967 * gdb.python/py-sync-interp.exp: Likewise.
21968 * gdb.server/ext-attach.exp: Likewise.
21969
3adc1a7d
GKB
219702014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21971
21972 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21973 command in testcase. Simplify testcase.
21974
96334934
JB
219752014-09-10 Joel Brobecker <brobecker@adacore.com>
21976
21977 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21978
eb479039
JB
219792014-09-10 Joel Brobecker <brobecker@adacore.com>
21980
21981 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21982
deede10c
JB
219832014-09-10 Joel Brobecker <brobecker@adacore.com>
21984
21985 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21986
7828a5f5
JB
219872014-09-10 Joel Brobecker <brobecker@adacore.com>
21988
21989 * gdb.dwarf2/dynarr-ptr.c: New file.
21990 * gdb.dwarf2/dynarr-ptr.exp: New file.
21991
33aeebcf
MR
219922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21993
21994 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21995 of 30 rather than hardcoding 120 for a slow test case. Take the
21996 `gdb,timeout' target setting into account for this calculation.
21997 Don't extend the timeout for the test cases that don't need it.
21998
7b415901
MR
219992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22000
22001 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
22002 a factor of 2 for a slow test case. Take the `gdb,timeout'
22003 target setting into account for this calculation.
22004 * gdb.reverse/until-precsave.exp: Increase the timeout by
22005 a factor of 15 and 3 respectively rather than adding 120
22006 for a pair of slow test cases. Take the `gdb,timeout'
22007 target setting into account for this calculation.
22008
4a40f85a
MR
220092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22010
22011 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
22012 timeout, don't pass one down to gdb_expect.
22013 (gdb_expect): Rework timeout selection.
22014
09635af7
MR
220152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22016
22017 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
22018 exception on timeout.
22019 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
22020 (gdbserver_start_extended): Catch any `gdbserver_start' error
22021 exceptions.
22022 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
22023 * lib/mi-support.exp (mi_gdb_target_load): Catch any
22024 `gdbserver_gdb_load' error exceptions.
22025
2bdd10b7
MR
220262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22027
22028 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
22029 120 on waiting for the TCP socket to open.
22030
316935f0
DE
220312014-09-09 Doug Evans <xdje42@gmail.com>
22032
22033 * gdb.base/default.exp (show_conv_list): Add _caller_is,
22034 _caller_matches, _any_caller_is, _any_caller_matches.
22035
83740597
DE
220362014-09-09 Doug Evans <xdje42@gmail.com>
22037
22038 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
22039
4c122fc3
YQ
220402014-09-09 Yao Qi <yao@codesourcery.com>
22041
22042 * gdb.mi/mi-var-display.exp: Set print symbol off.
22043
a9f116cb
GKB
220442014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
22045
22046 PR gdb/17035
22047 * gdb.base/commands.exp: Add tests to verify user-defined
22048 commands with empty bodies.
22049 * gdb.python/py-cmd.exp: Test that we don't show user-defined
22050 python commands in `show user command`.
22051 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
22052 scheme commands in `show user command`.
22053
c75bd3a2
JK
220542014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22055
22056 PR python/17355
22057 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
22058 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
22059 * gdb.python/py-framefilter-invalidarg.exp: New file.
22060 * gdb.python/py-framefilter-invalidarg.py: New file.
22061
faa42425
DE
220622014-09-06 Doug Evans <xdje42@gmail.com>
22063
22064 PR 15276
22065 * gdb.python/py-caller-is.c: New file.
22066 * gdb.python/py-caller-is.exp: New file.
22067
474ca4f6
SDJ
220682014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
22069
22070 PR gdb/17235
22071 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
22072 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
22073
eb0b0463
SDJ
220742014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
22075
22076 PR fortran/17237
22077 * gdb.fortran/print-formatted.exp: New file.
22078 * gdb.fortran/print-formatted.f90: Likewise.
22079
5f3b99cf
SS
220802014-09-03 Sasha Smundak <asmundak@google.com>
22081
22082 * gdb.python/py-frame.exp: Test Frame.read_register.
22083
7d793aa9
SDJ
220842014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22085
22086 PR python/16699
22087 * gdb.python/py-completion.exp: New file.
22088 * gdb.python/py-completion.py: Likewise.
22089
fb0576e9
DE
220902014-08-28 Doug Evans <dje@google.com>
22091
22092 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22093 eax,etc. are live with values set by gdb and thus the compiler can't
22094 use them.
22095 * gdb.arch/i386-pseudo.c (main): Ditto.
22096
ee92b0dd
DE
220972014-08-27 Doug Evans <dje@google.com>
22098
22099 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22100
6649db35
DE
221012014-08-25 Doug Evans <dje@google.com>
22102
22103 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22104 (main): Ditto.
22105
564b7600
DE
221062014-08-25 Doug Evans <dje@google.com>
22107
22108 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22109
3881fb67
YQ
221102014-08-24 Yao Qi <yao@codesourcery.com>
22111
22112 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22113 symbol off.
22114 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22115
a05a36a5
DE
221162014-08-22 Doug Evans <dje@google.com>
22117
22118 PR 17276
22119 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22120 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22121 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22122
7c343b48
YQ
221232014-08-22 Yao Qi <yao@codesourcery.com>
22124
22125 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22126 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22127 * gdb.python/python.exp: Likewise. Use .py file on the host
22128 instead of the build.
22129
22fd09ae
JK
221302014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22131
22132 * gdb.threads/gcore-stale-thread.c: New file.
22133 * gdb.threads/gcore-stale-thread.exp: New file.
22134
a8454a7c
PA
221352014-08-21 Pedro Alves <palves@redhat.com>
22136
22137 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22138 * gdb.base/gcore-relro-pie.exp: Likewise.
22139 * gdb.base/gcore-relro.exp: Likewise.
22140 * gdb.base/gcore.exp: Likewise.
22141 * gdb.base/print-symbol-loading.exp: Likewise.
22142 * gdb.threads/gcore-thread.exp: Likewise.
22143 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22144
2a31c623
PA
221452014-08-20 Pedro Alves <palves@redhat.com>
22146 Jan Kratochvil <jan.kratochvil@redhat.com>
22147
22148 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22149 configure.
22150 (EXPECT): Handle READ1 being set.
22151 (all): Depend on EXTRA_RULES.
22152 (check-read1, expect-read1, read1.so, read1): New rules.
22153 * README (Testsuite Parameters): Document the READ1 make variable.
22154 (Race detection): New section.
22155 * configure: Regenerate.
22156 * configure.ac: If build==host==target, and running under a
22157 GNU/glibc system, add read1 to the extra Makefile rules.
22158 (EXTRA_RULES): AC_SUBST it.
22159 * lib/read1.c: New file.
22160
d36430db
JB
221612014-08-20 Joel Brobecker <brobecker@adacore.com>
22162
22163 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22164 the handling of variables declared as a typedef to an array
22165 which a DW_AT_data_location attribute.
22166
9a0dc9e3
PA
221672014-08-19 Andrew Burgess <aburgess@broadcom.com>
22168 Pedro Alves <palves@redhat.com>
22169
22170 PR symtab/14604
22171 PR symtab/14605
22172 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22173 gdb_test.
22174
0718a8da
PA
221752014-08-19 Pedro Alves <palves@redhat.com>
22176
22177 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22178
13b448cd
YQ
221792014-08-19 Yao Qi <yao@codesourcery.com>
22180
22181 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22182 right line.
22183
1cbf5077
DB
221842014-08-18 David Blaikie <dblaikie@gmail.com>
22185
22186 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22187
bf0fae19
JB
221882014-08-18 Joel Brobecker <brobecker@adacore.com>
22189
22190 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22191 attribute in array range.
22192
3c8c5dcc
JB
221932014-08-18 Joel Brobecker <brobecker@adacore.com>
22194
22195 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22196
e66d4446
SC
221972014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22198
22199 PR c++/17132
22200 * gdb.cp/pr17132.cc: New file.
22201 * gdb.cp/pr17132.exp: New file.
22202
940df408
SC
222032014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22204
22205 * gdb.python/py-xmethods.py (A_getarrayind)
22206 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22207 Use 'print' with function call syntax.
22208 (E_method_matcher.match): Fix tab vs space indentation mixup.
22209
ebcc6c3a
YQ
222102014-08-15 Yao Qi <yao@codesourcery.com>
22211
22212 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22213 false.
22214
775e0f04
YQ
222152014-08-15 Yao Qi <yao@codesourcery.com>
22216
22217 * gdb.cp/casts.exp: Set print symbol off.
22218 * gdb.cp/class2.exp: Likewise.
22219 * gdb.cp/overload.exp: Likewise.
22220 * gdb.cp/templates.exp: Likewise.
22221
d769e349
DE
222222014-08-11 Doug Evans <dje@google.com>
22223
22224 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22225 (test_load_shlib): Update.
22226
20c6f1e1
YQ
222272014-08-09 Yao Qi <yao@codesourcery.com>
22228
22229 * gdb.base/display.exp: Invoke is_address_zero_readable.
22230 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22231 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22232 * gdb.base/hbreak-unmapped.exp: Return if
22233 is_address_zero_readable returns true.
22234 * gdb.base/signest.exp: Likewise.
22235 * gdb.base/signull.exp: Likewise.
22236 * gdb.base/sigbpt.exp: Likewise.
22237 * gdb.guile/scm-disasm.exp: Do the test if
22238 is_address_zero_readable returns false.
22239 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22240 * gdb.python/py-arch.exp: Likewise.
22241 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22242 * lib/gdb.exp (is_address_zero_readable): New proc.
22243
5792e8e3
YQ
222442014-08-09 Yao Qi <yao@codesourcery.com>
22245
22246 PR testsuite/13443
22247 * gdb.mi/mi-var-display.exp: Make test messages unique.
22248
3cecbbbe
TT
222492014-08-04 Tom Tromey <tromey@redhat.com>
22250
22251 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22252 target 0".
22253
00b51ff5
TT
222542014-08-04 Tom Tromey <tromey@redhat.com>
22255
22256 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22257 "target_resume".
22258
6908c509
JB
222592014-08-01 Joel Brobecker <brobecker@adacore.com>
22260
22261 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22262 inner_vla_struct_object_size.
22263 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22264 as xfail.
22265
cc6563d2
PA
222662014-07-30 Pedro Alves <palves@redhat.com>
22267
22268 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22269 comment.
22270
7e09a223
YQ
222712014-07-29 Yao Qi <yao@codesourcery.com>
22272
22273 PR gdb/17206
22274 * gdb.base/until-nodebug.exp: New.
22275
7ebdbe92
DE
222762014-07-28 Doug Evans <xdje42@gmail.com>
22277
22278 PR guile/17203
22279 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22280 previously existing parameter, and previously ambiguously spelled
22281 parameter.
22282
fdb1adc6
WN
222832014-07-28 Will Newton <will.newton@linaro.org>
22284
22285 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22286
186fcde0
DE
222872014-07-26 Ludovic Courtès <ludo@gnu.org>
22288 Doug Evans <xdje42@gmail.com>
22289
22290 PR guile/17146
22291 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22292
70509625
PA
222932014-07-25 Pedro Alves <palves@redhat.com>
22294
22295 * gdb.threads/signal-command-handle-nopass.c: New file.
22296 * gdb.threads/signal-command-handle-nopass.exp: New file.
22297 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22298 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22299 * gdb.threads/signal-delivered-right-thread.c: New file.
22300 * gdb.threads/signal-delivered-right-thread.exp: New file.
22301
c3f814a1
PA
223022014-07-25 Pedro Alves <palves@redhat.com>
22303
22304 * gdb.base/double-prompt-target-event-error.exp
22305 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22306 match.
22307 (cancel_pagination_in_target_event): Rework double prompt
22308 detection.
22309 * gdb.base/paginate-after-ctrl-c-running.exp
22310 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22311 <return>' match.
22312 * gdb.base/paginate-bg-execution.exp
22313 (test_bg_execution_pagination_return)
22314 (test_bg_execution_pagination_cancel): Remove '-notransfer
22315 <return>' matches.
22316 * gdb.base/paginate-execution-startup.exp
22317 (test_fg_execution_pagination_return)
22318 (test_fg_execution_pagination_cancel): Remove '-notransfer
22319 <return>' matches.
22320 * gdb.base/paginate-inferior-exit.exp
22321 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22322 match.
22323 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22324 * lib/gdb.exp (pagination_prompt): Run text through
22325 string_to_regexp.
22326 (gdb_test_multiple): Match $pagination_prompt instead of
22327 "<return>".
22328 (string_to_regexp): Move to lib/gdb-utils.exp.
22329
e214cf6c
JK
223302014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22331
22332 * gdb.arch/amd64-entry-value-paramref.S: New file.
22333 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22334 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22335 * gdb.arch/amd64-optimout-repeat.S: New file.
22336 * gdb.arch/amd64-optimout-repeat.c: New file.
22337 * gdb.arch/amd64-optimout-repeat.exp: New file.
22338
17d0c5c8
JK
223392014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22340
22341 PR gdb/17170
22342 * gdb.base/statistics.exp: New file.
22343
b8b8facf
DE
223442014-07-17 Doug Evans <dje@google.com>
22345
74b49205 22346 PR gdb/17170
b8b8facf
DE
22347 * gdb.base/maint.exp: Update testing of per-command stats.
22348
1b5d0ab3
PA
223492014-07-16 Pedro Alves <palves@redhat.com>
22350
22351 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22352 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22353 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22354 (tfile_write_buf): New functions.
22355 (add_memory_block): Rewrite using the above.
22356 (adjust_function_address): New function.
22357 (FUNCTION_ADDRESS): New macro.
22358 (write_basic_trace_file): Remove short_x local, and use
22359 tfile_write_16. Change type of func_addr local to unsigned long
22360 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22361 here. Cast argument of add_memory_block to char pointer.
22362 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22363 (main): Remove parameters.
22364 * gdb.trace/tfile.exp: Remove nowarnings.
22365
4d974e88
SM
223662014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22367
22368 * gdb.base/debug-expr.exp: Test string evaluation with
22369 "debug expression" on.
22370
41e99568
PA
223712014-07-15 Pedro Alves <palves@redhat.com>
22372
22373 * gdb.base/reread.exp: Use clean_restart.
22374
487d9753
PL
223752014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22376
22377 * gdb.arch/avr-flash-qualifer.c: New.
22378 * gdb.arch/avr-flash-qualifer.exp: New.
22379
cc1c52ad
PA
223802014-07-14 Pedro Alves <palves@redhat.com>
22381
22382 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22383 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22384
1e973570
PA
223852014-07-14 Pedro Alves <palves@redhat.com>
22386
22387 * gdb.base/double-prompt-target-event-error.c: New file.
22388 * gdb.base/double-prompt-target-event-error.exp: New file.
22389
93d6eb10
PA
223902014-07-14 Pedro Alves <palves@redhat.com>
22391
22392 PR gdb/17072
22393 * gdb.base/paginate-inferior-exit.c: New file.
22394 * gdb.base/paginate-inferior-exit.exp: New file.
22395
0017922d
PA
223962014-07-14 Pedro Alves <palves@redhat.com>
22397
22398 PR gdb/17072
22399 * gdb.base/paginate-bg-execution.c: New file.
22400 * gdb.base/paginate-bg-execution.exp: New file.
22401
94696ad3
PA
224022014-07-14 Pedro Alves <palves@redhat.com>
22403
22404 PR gdb/17072
22405 * gdb.base/paginate-execution-startup.c: New file.
22406 * gdb.base/paginate-execution-startup.exp: New file.
22407 * lib/gdb.exp (pagination_prompt): New global.
22408 (default_gdb_spawn): New procedure, factored out from
22409 default_gdb_spawn.
22410 (default_gdb_start): Adjust to call default_gdb_spawn.
22411 (gdb_spawn): New procedure.
22412
bd293940
PA
224132014-07-14 Pedro Alves <palves@redhat.com>
22414
22415 * lib/gdb.exp (gdb_assert): New procedure.
22416 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22417
c933f875
PA
224182014-07-14 Pedro Alves <palves@redhat.com>
22419
22420 * gdb.base/execution-termios.c: New file.
22421 * gdb.base/execution-termios.exp: New file.
22422
d98b7a16
TT
224232014-07-14 Tom Tromey <tromey@redhat.com>
22424
22425 * gdb.cp/vla-cxx.cc: New file.
22426 * gdb.cp/vla-cxx.exp: New file.
22427
548740d6
TT
224282014-07-14 Tom Tromey <tromey@redhat.com>
22429
22430 * gdb.reverse/rerun-prec.c: New file.
22431 * gdb.reverse/rerun-prec.exp: New file.
22432
a25eb028
MR
224332014-07-12 Maciej W. Rozycki <macro@mips.com>
22434 Maciej W. Rozycki <macro@codesourcery.com>
22435
22436 * lib/gdb-utils.exp: New file.
22437 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22438 inline `gdb_init_command' processing.
22439 (gdb_start_cmd): Likewise.
22440 * lib/mi-support.exp (mi_run_cmd): Likewise.
22441 * README: Document `gdb_init_command' and `gdb_init_commands'.
22442
218c2655
JK
224432014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22444
22445 Fix false FAIL running under a very long directory name.
22446 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22447 and "set print elements 10000". Twice.
22448
5401fde3
YQ
224492014-07-11 Yao Qi <yao@codesourcery.com>
22450
22451 * gdb.base/exprs.exp: "set print symbol off".
22452
e76126e8
PA
224532014-07-11 Pedro Alves <palves@redhat.com>
22454
22455 * gdb.threads/kill.c: New file.
22456 * gdb.threads/kill.exp: New file.
22457
2d6f0de6
YQ
224582014-07-10 Yao Qi <yao@codesourcery.com>
22459
22460 * gdb.trace/tfile.c (write_basic_trace_file)
22461 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22462 address written to trace file.
22463
7180e04a
PA
224642014-07-09 Pedro Alves <palves@redhat.com>
22465
22466 * gdb.base/attach-wait-input.exp: New file.
22467 * gdb.base/attach-wait-input.c: New file.
22468
9a9a7608
AB
224692014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22470
22471 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22472 setting up test structures.
22473 (main): Call new test function.
22474 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22475 test function, continue into test function and walk test
22476 structures.
22477
161ac41e
YQ
224782014-07-02 Yao Qi <yao@codesourcery.com>
22479
22480 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22481 'bar_start' at the beginning of functions 'foo' and 'bar'
22482 respectively.
22483 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22484 instead of 'foo' and 'bar'.
22485
1f267ae3
MM
224862014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22487
22488 * gdb.btrace/segv.exp: New.
22489 * gdb.btrace/segv.c: New.
22490
2b239efb
LM
224912014-07-02 Luis Machado <lgustavo@codesourcery.com>
22492
22493 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22494 instruction.
22495
cf363f18
MW
224962014-06-30 Mark Wielaard <mjw@redhat.com>
22497
22498 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22499 vulture, vilify, villar): New volatile array constants.
22500 (vindictive, vegetation): New const volatile array constants.
22501 * gdb.base/volatile.exp: Test volatile and const volatile array
22502 types.
22503
aebf9d24
AA
225042014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22505
22506 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22507 target lacks support for awatch, rwatch, or hbreak.
22508
b67a2c6f
YQ
225092014-06-27 Yao Qi <yao@codesourcery.com>
22510
22511 * gdb.multi/dummy-frame-restore.exp: New.
22512 * gdb.multi/dummy-frame-restore.c: New.
22513
aef92902
MM
225142014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22515
22516 * gdb.btrace/gcore.exp: New.
22517
8e9db26e
PA
225182014-06-23 Pedro Alves <palves@redhat.com>
22519
22520 * gdb.base/watchpoint-reuse-slot.c: New file.
22521 * gdb.base/watchpoint-reuse-slot.exp: New file.
22522
70afc5b7
SC
225232014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22524
22525 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22526 progspace's filename in 'info', 'enable' and 'disable' command
22527 tests.
22528
b972bd9c
JK
225292014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22530
22531 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22532 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22533 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22534
125f8a3d
GB
225352014-06-20 Gary Benson <gbenson@redhat.com>
22536
22537 * gdb.arch/i386-avx.exp: Fix include file location.
22538 * gdb.arch/i386-sse.exp: Likewise.
22539
3ed9baed
IB
225402014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22541
22542 * gdb.dlang/expression.exp: New file.
22543
034f788c
PA
225442014-06-19 Pedro Alves <palves@redhat.com>
22545
22546 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22547 out from ...
22548 (top level): ... here. Iterate running tests under different
22549 scheduler-locking settings.
22550
45371d0c
LM
225512014-06-18 Luis Machado <lgustavo@codesourcery.com>
22552
22553 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22554 to DW_FORM_addr and use non-zero addresses.
22555
5d376983
SC
225562014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22557
22558 PR gdb/17017
22559 * gdb.python/py-xmethods.cc: Add global function call counters and
22560 increment them in their respective functions. Remove "cout"
22561 statements.
22562 * gdb.python/py-xmethods.exp: Make tests check the global function
22563 call counters instead of depending on inferior IO.
22564
a1aa2221
LM
225652014-06-18 Don Breazeal <donb@codesourcery.com>
22566
22567 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22568 Deleted procedure.
22569 (explicit_fork_parent_follow): Deleted procedure.
22570 (explicit_fork_child_follow): Deleted procedure.
22571 (test_follow_fork): New procedure.
22572 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22573 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22574 procedure calls.
22575
0fc05997
YQ
225762014-06-17 Yao Qi <yao@codesourcery.com>
22577
22578 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22579 CP1252.
22580
70795c52
LM
225812014-06-17 Luis Machado <lgustavo@codesourcery.com>
22582
22583 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22584 Initialize ptr and S explicitly.
22585 (skip_type_update_when_not_use_rtti_test): Likewise.
22586
6be47f0c
KS
225872014-06-16 Keith Seitz <keiths@redhat.com>
22588
22589 PR mi/15863
22590 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22591 the inferior is started.
22592
d03de421
PA
225932014-06-16 Pedro Alves <palves@redhat.com>
22594
22595 * gdb.base/break-main-file-remove-fail.c: New file.
22596 * gdb.base/break-main-file-remove-fail.exp: New file.
22597 * gdb.base/break-unload-file.exp: Use build_executable instead of
22598 prepare_for_testing.
22599 (test_break): New parameter "initial_load". Handle it.
22600 (top level): Add initial_load cmdline/file axis.
22601
f9579b99
TT
226022014-06-12 Tom Tromey <tromey@redhat.com>
22603
22604 * gdb.base/completion.exp: Don't use directory name in test.
22605
3657956b
GB
226062014-06-09 Gary Benson <gbenson@redhat.com>
22607
22608 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22609 separate the always-available ANSI-standard signals from the
22610 signals that require checking.
22611 (main): Likewise.
22612 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22613 Likewise.
22614 (main): Likewise.
22615
4186eb54
KS
226162014-06-07 Keith Seitz <keiths@redhat.com>
22617
22618 Revert:
22619 PR c++/16253
22620 * gdb.cp/var-tag.cc: New file.
22621 * gdb.cp/var-tag.exp: New file.
22622 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22623 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22624 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22625 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22626
25326a28 226272014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22628
22629 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22630
829155c9
PA
226312014-06-06 Pedro Alves <palves@redhat.com>
22632
22633 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22634 in target debug output instead of looking at RSP packets,
22635 disabling the test on any target that uses hardware stepping.
22636 Update comments.
22637
61c8d22e
PA
226382014-06-06 Pedro Alves <palves@redhat.com>
22639
22640 * gdb.base/break-unload-file.exp: Fix typo.
22641
d9a47287
YQ
226422014-06-06 Yao Qi <yao@codesourcery.com>
22643
22644 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22645 from "jit_function" to "^jit_function".
22646
e5e01dbf
YQ
226472014-06-06 Yao Qi <yao@codesourcery.com>
22648
22649 * gdb.base/async.c (foo): Add one statement.
22650 * gdb.base/async.exp: Get the next instruction address and
22651 match the output of "nexti" by instruction address. Match
22652 the hex address in the output of "finish".
22653
73ba372c
GB
226542014-06-06 Gary Benson <gbenson@redhat.com>
22655
22656 * gdb.base/call-signals.c: Remove preprocessor conditionals
22657 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22658 SIGSEGV and SIGTERM.
22659 * gdb.base/sigall.c: Likewise.
22660 * gdb.base/unwindonsignal.c: Likewise.
22661 * gdb.reverse/sigall-reverse.c: Likewise.
22662
831517df
YQ
226632014-06-06 Yao Qi <yao@codesourcery.com>
22664
22665 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22666 readable, skip the test.
22667
b8b91e98
YQ
226682014-06-06 Yao Qi <yao@codesourcery.com>
22669
22670 * gdb.threads/staticthreads.c (thread_function): Move the line
22671 setting breakpoint on forward.
22672 * gdb.threads/staticthreads.exp: Update comments.
22673
fb934770
LC
226742014-06-05 Ludovic Courtès <ludo@gnu.org>
22675
22676 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22677 "history-append! type error".
22678
6ef284bd
SM
226792014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22680
22681 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22682 erroneous dprintf expected input.
22683
a872e241
DE
226842014-06-04 Doug Evans <xdje42@gmail.com>
22685
22686 * gdb.guile/scm-generics.exp: Delete.
22687
16f691fb
DE
226882014-06-04 Doug Evans <xdje42@gmail.com>
22689
22690 * gdb.guile/scm-breakpoint.exp: Update.
22691 Add tests for breakpoint registration.
22692
012370f6
TT
226932014-06-04 Tom Tromey <tromey@redhat.com>
22694
22695 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22696 VLA-in-union.
22697 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22698 inner_vla_struct, vla_union types. Initialize objects of those
22699 types and compute their sizes.
22700
9f5a4cef
HZ
227012014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22702 Hui Zhu <hui@codesourcery.com>
22703
22704 * gdb.base/fileio.exp: Add test for shell not available as well as
22705 available.
22706 * gdb.base/fileio.c (test_system): Check for shell twice.
22707
90a45c4d
YQ
227082014-06-04 Yao Qi <yao@codesourcery.com>
22709
22710 * gdb.base/auto-connect-native-target.exp: Remove redundant
22711 space from the regexp pattern.
22712
70017e41
YQ
227132014-06-04 Yao Qi <yao@codesourcery.com>
22714
22715 * gdb.base/default.exp: Replace "child" with "native" in
22716 regexp pattern.
22717
883964a7
SC
227182014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22719
22720 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22721 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22722 * gdb.python/py-xmethods.py: Python script supporting the
22723 new testcase and tests.
22724
ef370185
JB
227252014-06-03 Joel Brobecker <brobecker@adacore.com>
22726 Pedro Alves <palves@redhat.com>
22727
22728 PR breakpoints/17000
22729 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22730 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22731
1e2ccb61
BM
227322014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22733
22734 * gdb.base/subst.exp: Add tests to verify partial path matching
22735 output.
22736
c6ec5ab2
PA
227372014-06-03 Pedro Alves <palves@redhat.com>
22738
22739 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22740 target that doesn't use software single-stepping.
22741
835c559f
PA
227422014-06-03 Pedro Alves <palves@redhat.com>
22743
22744 PR breakpoints/17000
22745 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22746 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22747
06eb1586
DE
227482014-06-02 Doug Evans <xdje42@gmail.com>
22749
22750 * gdb.guile/scm-parameter.exp: New file.
22751
e698b8c4
DE
227522014-06-02 Doug Evans <xdje42@gmail.com>
22753
22754 * gdb.guile/scm-cmd.c: New file.
22755 * gdb.guile/scm-cmd.exp: New file.
22756
ded03782
DE
227572014-06-02 Doug Evans <xdje42@gmail.com>
22758
22759 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22760 pretty-printer lookup.
22761 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22762 (make-pp_s-printer): Call it.
22763 (make-pretty-printer-from-dict): New function.
22764 (lookup-pretty-printer-maker-from-dict): New function.
22765 (*pretty-printer*): Simplify.
22766 (make-objfile-pp_s-printer): New function.
22767 (install-objfile-pretty-printers!): New function.
22768 (make-progspace-pp_s-printer): New function.
22769 (install-progspace-pretty-printers!): New function.
22770 * gdb.guile/scm-progspace.c: New file.
22771 * gdb.guile/scm-progspace.exp: New file.
22772
41fac0cf
PA
227732014-06-02 Pedro Alves <palves@redhat.com>
22774
22775 * gdb.base/dprintf-bp-same-addr.c: New file.
22776 * gdb.base/dprintf-bp-same-addr.exp: New file.
22777
96ae5695
EBM
227782014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22779
22780 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22781 * gdb.arch/powerpc-power.s: Likewise.
22782
da02b3a8
JB
227832014-06-02 Joel Brobecker <brobecker@adacore.com>
22784
22785 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22786
c72b2e7b
YQ
227872014-06-01 Yao Qi <yao@codesourcery.com>
22788
22789 * gdb.base/watchpoint.exp (test_watch_location): Check null
22790 pointer can be dereferenced. If not, do the test, otherwise
22791 skip it.
22792
53e8a631
AB
227932014-05-30 Andrew Burgess <aburgess@broadcom.com>
22794
22795 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22796 results.
22797 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22798
938f0e2f
AB
227992014-05-30 Andrew Burgess <aburgess@broadcom.com>
22800
22801 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22802 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22803 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22804 * gdb.arch/amd64-invalid-stack-top.c: New file.
22805 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22806
9ba6657a
PA
228072014-05-30 Pedro Alves <palves@redhat.com>
22808
22809 PR breakpoints/17000
22810 * gdb.base/sss-bp-on-user-bp.c: New file.
22811 * gdb.base/sss-bp-on-user-bp.exp: New file.
22812
522c09bf
DB
228132014-05-30 David Blaikie <dblaikie@gmail.com>
22814
22815 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22816 gnu_inline semantics via attribute.
22817 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22818 source explicitly specifies the required semantics.
22819
bf4ef81e
MR
228202014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22821
22822 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22823
329ea579
PA
228242014-05-29 Pedro Alves <palves@redhat.com>
22825 Tom Tromey <tromey@redhat.com>
22826
22827 * gdb.base/async-shell.exp: Don't enable target-async.
22828 * gdb.base/async.exp
22829 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22830 parameter. Adjust.
22831 (top level): Don't test with "target-async".
22832 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22833 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22834 * gdb.base/inferior-died.exp: Don't enable target-async.
22835 * gdb.base/interrupt-noterm.exp: Likewise.
22836 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22837 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22838 * gdb.mi/mi-nonstop.exp: Likewise.
22839 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22840 * gdb.mi/mi-nsintrall.exp: Likewise.
22841 * gdb.mi/mi-nsmoribund.exp: Likewise.
22842 * gdb.mi/mi-nsthrexec.exp: Likewise.
22843 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22844 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22845 * gdb.python/py-evsignal.exp: Don't enable target-async.
22846 * gdb.python/py-evthreads.exp: Likewise.
22847 * gdb.python/py-prompt.exp: Likewise.
22848 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22849 * gdb.server/solib-list.exp: Don't enable target-async.
22850 * gdb.threads/thread-specific-bp.exp: Likewise.
22851 * lib/mi-support.exp: Adjust to use mi-async.
22852
fd664c91
PA
228532014-05-29 Pedro Alves <palves@redhat.com>
22854
22855 PR gdb/13860
22856 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22857 reason, even in sync mode.
22858
251bde03
PA
228592014-05-29 Pedro Alves <palves@redhat.com>
22860 Hui Zhu <hui@codesourcery.com>
22861
22862 PR PR15693
22863 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22864 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22865 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22866 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22867
7f3c0343
JB
228682014-05-28 Joel Brobecker <brobecker@adacore.com>
22869
22870 * config/monitor.exp (gdb_target_monitor): Replace use of
22871 "set remotebaud" by "set serial baud".
22872
b2715b27
AW
228732014-05-26 Andy Wingo <wingo@igalia.com>
22874
22875 * gdb.guile/scm-breakpoint.exp:
22876 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22877 properties instead of gdb-object-properties.
22878
498a4489
YQ
228792014-05-26 Yao Qi <yao@codesourcery.com>
22880
22881 * gdb.server/no-thread-db.exp: Specify source file name
22882 explicitly when setting a breakpoint.
22883
589fdceb
MM
228842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22885
22886 * gdb.btrace/vdso.c: New.
22887 * gdb.btrace/vdso.exp: New.
22888
e9089e05
MM
228892014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22890
22891 * gdb.base/gcore.exp (capture_command_output): Move ...
22892 * lib/gdb.exp (capture_command_output): ... here.
22893
67b5c0c1
MM
228942014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22895
22896 * gdb.btrace/data.exp: Test memory access during btrace replay.
22897
a2199296
SM
228982014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22899
22900 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22901
17b2616c
PA
229022014-05-21 Pedro Alves <palves@redhat.com>
22903
22904 PR gdb/13860
22905 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22906 (top level): Test that output related to execution commands is
22907 sent to the console with CLI commands, but not with MI commands.
22908 Test that breakpoint events are always mirrored to the console.
22909 Also expect the new source line to be output after a "next" in
22910 async mode too. Make it a pass/fail test.
22911 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22912 output.
22913 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22914
5166082f
PA
229152014-05-21 Pedro Alves <palves@redhat.com>
22916
22917 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22918 Use them to test variations of "list" after reaching a breakpoint.
22919 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22920 Test "list" with listsize 10 after reaching a breakpoint.
22921 * gdb.python/python.exp (decode_line current location line
22922 number): Adjust expected line number.
22923
2f25d70f
SM
229242014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22925
22926 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22927 behavior for $args, pass it directly to "run".
22928
ff604a67
MR
229292014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22930
22931 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22932 30000 to 65536.
22933
6a3cb8e8
PA
229342014-05-21 Pedro Alves <palves@redhat.com>
22935
22936 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22937 auto-connect-native-target off".
22938 * gdb.base/auto-connect-native-target.c: New file.
22939 * gdb.base/auto-connect-native-target.exp: New file.
22940
4ebfc96e
PA
229412014-05-21 Pedro Alves <palves@redhat.com>
22942
22943 * gdb.base/default.exp: Test "target native" instead of "target
22944 child".
22945
36d46afb
MW
229462014-05-21 Mark Wielaard <mjw@redhat.com>
22947
22948 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22949
5876f503
JK
229502014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22951
22952 Fix TLS access for -static -pthread.
22953 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22954 <HAVE_TLS> (thread_function, main): Initialize it.
22955 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22956 Add clean_restart.
22957 <$have_tls != "">: Check TLSVAR.
22958
0256a6ac
PA
229592014-05-21 Pedro Alves <palves@redhat.com>
22960
22961 * gdb.base/dcache-line-read-error.c: New.
22962 * gdb.base/dcache-line-read-error.exp: New.
22963
936d2992
PA
229642014-05-20 Pedro Alves <palves@redhat.com>
22965
22966 * gdb.base/compare-sections.c: New file.
22967 * gdb.base/compare-sections.exp: New file.
22968
802e8e6d
PA
229692014-05-20 Pedro Alves <palves@redhat.com>
22970
22971 * gdb.base/break-idempotent.c: New file.
22972 * gdb.base/break-idempotent.exp: New file.
22973
e59fa00f
MM
229742014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22975
22976 * gdb.btrace/nohist.exp: New.
22977
8b696e31
YQ
229782014-05-20 Yao Qi <yao@codesourcery.com>
22979
22980 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22981 gdb.reverse directory and gdb_reverse_timeout exists in board
22982 setting.
22983 * README: Document gdb_reverse_timeout.
22984
73c9764f
YQ
229852014-05-20 Yao Qi <yao@codesourcery.com>
22986
22987 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22988 'test_file_name'. Treat args as a string instead of a list.
22989 (gdb_init): Rename argument 'args' by 'test_file_name'.
22990
f1f4348a
JK
229912014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22992
22993 * gdb.arch/powerpc-power.exp: New file.
22994 * gdb.arch/powerpc-power.s: New file.
22995
0dbe70ce
DE
229962014-05-16 Doug Evans <dje@google.com>
22997
22998 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22999 * gdb.base/completion.exp: Check that all expected files exist
23000 before doing file completion.
0dbe70ce 23001
8d551b02
DE
230022014-05-16 Doug Evans <dje@google.com>
23003
23004 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
23005 Update.
23006 (do_syscall_tests_without_xml): Update.
23007
73eb7709
PA
230082014-05-16 Pedro Alves <palves@redhat.com>
23009
23010 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
23011 instead of "unknown output after running".
23012
3fae92fc
YQ
230132014-05-16 Yao Qi <yao@codesourcery.com>
23014
23015 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
23016 file1.txt from host at the end.
23017 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
23018
c2b2ccc5
DE
230192014-05-15 Doug Evans <dje@google.com>
23020
23021 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
23022 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
23023 loading file. Add test for TU lookup.
23024
8c217a4b
SM
230252014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23026
23027 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
23028 calling "-exec-arguments" or "set args" before running the
23029 inferior.
23030
3deb39c6
SM
230312014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23032
23033 * lib/mi-support.exp (mi_expect_stop): Expect message for
23034 inferiors that exit with non-zero exit code.
23035
71a79f8c
YQ
230362014-05-14 Yao Qi <yao@codesourcery.com>
23037
23038 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
23039 match absolute path on remote host.
23040 (test_file_list_exec_source_files): Remove "/" from the
23041 pattern.
23042
f23fcd46
YQ
230432014-05-14 Yao Qi <yao@codesourcery.com>
23044
23045 * boards/local-remote-host-notty.exp (${board}_file): New
23046 proc.
23047
9404b58f
KM
230482014-05-07 Kyle McMartin <kyle@redhat.com>
23049
23050 Pushed by Joel Brobecker <brobecker@adacore.com>.
23051 * gdb.arch/aarch64-atomic-inst.c: New file.
23052 * gdb.arch/aarch64-atomic-inst.exp: New file.
23053
5e45f04c
YQ
230542014-05-07 Yao Qi <yao@codesourcery.com>
23055
23056 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
23057 in current context" too.
23058
c888a17d
KS
230592014-05-05 Keith Seitz <keiths@redhat.com>
23060
23061 * gdb.linespec/ls-dollar.exp: Add test for linespec
23062 file:convenience_variable.
23063
290a839c
YQ
230642014-05-05 Yao Qi <yao@codesourcery.com>
23065
23066 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
23067 traceframes into tfile and ctf trace files. Read data from
23068 trace file and test collected data.
23069 (gdb_collect_locals_test): Likewise.
23070 (gdb_unavailable_registers_test): Likewise.
23071 (gdb_unavailable_floats): Likewise.
23072 (gdb_collect_globals_test): Likewise.
23073 (top-level): Append "ctf" to trace_file_targets if GDB
23074 supports.
23075
b5262cd0
YQ
230762014-05-05 Yao Qi <yao@codesourcery.com>
23077
23078 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23079 code to ...
23080 (gdb_collect_args_test_1): ... it. New proc.
23081 (gdb_collect_locals_test): Move some code to ...
23082 (gdb_collect_locals_test_1): ... it. New proc.
23083 (gdb_unavailable_registers_test): Move some code to ...
23084 (gdb_unavailable_registers_test_1): ... it. New proc.
23085 (gdb_unavailable_floats): Move some code to ...
23086 (gdb_unavailable_floats_1): ... it. New proc.
23087
30a1e6cc
SDJ
230882014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23089
23090 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23091 probes to test for bitness recognition.
23092 * gdb.arch/amd64-stap-optional-prefix.exp
23093 (test_probe_value_without_reg): New procedure.
23094 Add code to test for different kinds of bitness.
23095
f33da99a
SDJ
230962014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23097
23098 PR breakpoints/16889
23099 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23100 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23101
5b80f00d
PA
231022014-05-01 Pedro Alves <palves@redhat.com>
23103
23104 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23105 gdb_file_cmd if no file is specified.
23106 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23107 last_loaded_file to set the remote exec-file.
23108
f8c2a73c
PA
231092014-05-01 Pedro Alves <palves@redhat.com>
23110
23111 * boards/local-remote-host.exp: New file.
23112
be6e8ac7
PA
231132014-05-01 Pedro Alves <palves@redhat.com>
23114
23115 * boards/local-remote-host.exp: Rename to ...
23116 * boards/local-remote-host-notty.exp: ... this.
23117
cac0dc8f
JB
231182014-04-28 Joel Brobecker <brobecker@adacore.com>
23119
23120 * gdb.ada/dyn_arrayidx: New testcase.
23121
9730e6cc
YQ
231222014-04-26 Yao Qi <yao@codesourcery.com>
23123
23124 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23125 and compute the length of function main. Save it in
23126 $main_length.
23127 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23128 (top-level): Use gdb_compile to compile objects into
23129 executable and restart GDB. Remove invocation to
23130 prepare_for_testing.
23131
7ae1a6a6
PA
231322014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23133 Pedro Alves <palves@redhat.com>
23134
23135 PR server/16255
23136 * gdb.multi/multi-attach.c: New file.
23137 * gdb.multi/multi-attach.exp: New file.
23138
4082afcc
PA
231392014-04-25 Pedro Alves <palves@redhat.com>
23140
23141 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23142 user.
23143 (top level): Test that "set remote conditional-breakpoints-packet
23144 off" works as intended.
23145 * gdb.base/dprintf.exp: Test that "set remote
23146 breakpoint-commands-packet off" works as intended.
23147 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23148 New function.
23149 (top level): Call it.
23150 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23151 remote fast-tracepoints-packet off" works as intended.
23152 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23153 * lib/gdb.exp (gdb_is_target_remote): ... here.
23154
2abc3f8d
DB
231552014-04-24 David Blaikie <dblaikie@gmail.com>
23156
23157 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23158 ensure clang would not discard them.
23159 * gdb.base/gdbvars.c: Ditto.
23160 * gdb.base/memattr.c: Ditto.
23161 * gdb.base/whatis.c: Ditto.
23162 * gdb.python/py-prettyprint.c: Ditto.
23163 * gdb.trace/actions.c: Ditto.
23164 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23165 ensure clang would not discard it.
23166
bfd39632
DB
231672014-04-24 David Blaikie <dblaikie@gmail.com>
23168
23169 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23170 clang to emit the full definition of type required by the test
23171 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23172
22842ff6
DB
231732014-04-24 David Blaikie <dblaikie@gmail.com>
23174
23175 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23176 coax Clang into emitting the definition of the type.
23177 * gdb.cp/pr10728-x.h (y): Ditto.
23178 * gdb.cp/pr10728-y.cc (y): Ditto.
23179
c2e827ad
DB
231802014-04-24 David Blaikie <dblaikie@gmail.com>
23181
23182 * gdb.base/label.exp: XFAIL label related tests under Clang.
23183 * gdb.cp/cplabel.exp: Ditto.
23184 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23185 under Clang those using labels.
23186
4c2d33e7
YQ
231872014-04-25 Yao Qi <yao@codesourcery.com>
23188
23189 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23190 double_label.
23191 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23192 partial_label and double_label.
23193
56083b99
DB
231942014-04-24 David Blaikie <dblaikie@gmail.com>
23195
23196 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23197
25d4e99d
DB
231982014-04-24 David Blaikie <dblaikie@gmail.com>
23199
23200 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23201 of the function to work across GCC and Clang.
23202 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23203 pointer types (const void ** const V void **).
23204
01f9f808
MS
232052014-04-24 Michael Sturm <michael.sturm@mintel.com>
23206 Walfred Tedeschi <walfred.tedeschi@intel.com>
23207
23208 * Makefile.in (EXECUTABLES): Added i386-avx512.
23209 * gdb.arch/i386-avx512.c: New file.
23210 * gdb.arch/i386-avx512.exp: Likewise.
23211
4b48d439
KS
232122014-04-23 Keith Seitz <keiths@redhat.com>
23213
23214 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23215 (mi_make_breakpoint_table): New procedure.
23216 (mi_create_breakpoint): Use mi_make_breakpoint
23217 and return the result.
23218 (mi_make_breakpoint): New procedure.
23219 (mi_build_kv_pairs): New procedure.
23220
23221 * gdb.mi/mi-break.exp: Remove unused globals,
23222 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23223 All callers updated.
23224 * gdb.mi/mi-dprintf.exp: Use variable to track command
23225 number.
23226 Update all callers of mi_create_breakpoint and use
23227 mi_make_breakpoint_table.
23228 Remove any unused global variables.
23229 * gdb.mi/mi-nonstop.exp: Likewise.
23230 * gdb.mi/mi-nsintrall.exp: Likewise.
23231 * gdb.mi/mi-nsmoribund.exp: Likewise.
23232 * gdb.mi/mi-nsthrexec.exp: Likewise.
23233 * gdb.mi/mi-reverse.exp: Likewise.
23234 * gdb.mi/mi-simplerun.exp: Likewise.
23235 * gdb.mi/mi-stepn.exp: Likewise.
23236 * gdb.mi/mi-syn-frame.exp: Likewise.
23237 * gdb.mi/mi-until.exp: Likewise.
23238 * gdb.mi/mi-var-cp.exp: Likewise.
23239 * gdb.mi/mi-var-display.exp: Likewise.
23240 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23241 * gdb.mi/mi2-var-child.exp: Likewise.
23242 * gdb.mi/mi-vla-c99.exp: Likewise.
23243 * lib/mi-support.exp: Likewise.
23244
23245 From Ian Lance Taylor <iant@cygnus.com>:
23246 * lib/gdb.exp (parse_args): New procedure.
23247
08351840
PA
232482014-04-23 Pedro Alves <palves@redhat.com>
23249
23250 * gdb.base/break-unload-file.c: New file.
23251 * gdb.base/break-unload-file.exp: New file.
23252 * gdb.base/sym-file-lib.c (baz): New function.
23253 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23254 field.
23255 (load): Store the segment's mapped size.
23256 (unload): New function.
23257 (unload_shlib): New function.
23258 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23259 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23260 set a breakpoint at baz, and call it.
23261 * gdb.base/sym-file.exp: New tests for stale breakpoint
23262 instructions.
23263
076855f9
PA
232642014-04-23 Pedro Alves <palves@redhat.com>
23265
23266 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23267 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23268 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23269 * gdb.base/hbreak-unmapped.c: New file.
23270 * gdb.base/hbreak-unmapped.exp: New file.
23271 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23272 * lib/gdb.exp (gdb_is_target_remote): ... here.
23273
483805cf
PA
232742014-04-22 Pedro Alves <palves@redhat.com>
23275
23276 * gdb.base/consecutive-step-over.c: New file.
23277 * gdb.base/consecutive-step-over.exp: New file.
23278
06d97543
PA
232792014-04-22 Pedro Alves <palves@redhat.com>
23280
23281 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23282 instead of send_gdb/gdb_expect.
23283
b4429ea2
YQ
232842014-04-22 Yao Qi <yao@codesourcery.com>
23285
23286 * lib/trace-support.exp (generate_tracefile): New procedure.
23287 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23288 return 0.
23289 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23290 if generate_tracefile returns 1.
23291
51d48146
PA
232922014-04-18 Tom Tromey <palves@redhat.com>
23293 Pedro alves <tromey@redhat.com>
23294
23295 PR backtrace/15558
23296 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23297 with a backtrace limit.
23298 * gdb.python/py-frame-inline.exp: Test running to an inline
23299 function with a backtrace limit, and printing the newest frame.
23300 * gdb.python/py-frame-inline.c (main): Call f.
23301
bd1dce5f
MS
233022014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23303
23304 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23305
40d1a503
MS
233062014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23307
23308 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23309 Drop prefix from unsupported source file path.
23310
389b98f7
YQ
233112014-04-17 Yao Qi <yao@codesourcery.com>
23312
23313 * lib/gdb.exp (with_target_charset): New proc.
23314 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23315 with_target_charset.
23316 (test_print_strings): Likewise.
23317 (test_repeat_bytes): Likewise.
23318 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23319 for some tests.
23320
22869d73
KS
233212014-04-16 Keith Seitz <keiths@redhat.com>
23322
23323 PR gdb/15827
23324 * gdb.dwarf2/corrupt.c: New file.
23325 * gdb.dwarf2/corrupt.exp: New file.
23326
c4f87ca6
KS
233272014-04-16 Keith Seitz <keiths@redhat.com>
23328
23329 PR c++/16597
23330 * gdb.cp/namelessclass.cc: New file.
23331 * gdb.cp/namelessclass.exp: New file.
23332 * gdb.cp/namelessclass.S: New file.
23333
ab19de87
DE
233342014-04-16 Doug Evans <dje@google.com>
23335
23336 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23337 Add comment.
23338 (gdbserver_default_get_comm_port): New function.
23339 (gdbserver_start): Check if board file provided
23340 "gdbserver,get_comm_port" and use it if so.
23341 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23342 (gdb,socketport): Set to "stdio".
23343 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23344 (stdio_gdbserver_template): Delete.
23345 (${board}_get_remote_address): Update.
23346 (${board}_build_remote_cmd): Delete.
23347 (${board}_get_comm_port): New function.
23348 (${board}_spawn): Update.
23349 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23350 Delete.
23351 (${board}_get_remote_address): Update.
23352 (${board}_get_comm_port): New function.
23353
fc98a809
AB
233542014-04-16 Andrew Burgess <aburgess@broadcom.com>
23355
23356 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23357 appearing in any order.
23358
87fd9e6e
DE
233592014-04-15 Doug Evans <dje@google.com>
23360
23361 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23362 uninitialized value of "description".
23363
099fc3ea
KS
233642014-04-15 Keith Seitz <keiths@redhat.com>
23365
23366 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23367 Remove unused globals.
23368 (test_running_the_program): Likewise.
23369 (test_controlled_execution): Likewise.
23370 (test_controlling_breakpoints): Likewise.
23371 (test_program_termination): Likewise.
23372
5da151d4
KS
233732014-04-15 Keith Seitz <keiths@redhat.com>
23374
23375 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23376 unused globals.
23377 (test_rbreak_creation_and_listing): Likewise.
23378 (test_ignore_count): Likewise.
23379 (test_error): Likewise.
23380
35e5d2f0
PA
233812014-04-15 Pedro Alves <palves@redhat.com>
23382
23383 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23384 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23385 sym-file-loader.c.
23386 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23387 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23388 to sym-file-loader.c.
23389 (struct library): Forward declare.
23390 (load_shlib, lookup_function): Change prototypes.
23391 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23392 (translate_offset): Remove declarations.
23393 (get_text_addr): New declaration.
23394 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23395 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23396 sym-file-loader.h.
23397 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23398 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23399 here from sym-file-loader.h.
23400 (struct library): New structure.
23401 (load_shlib, lookup_function): Change prototypes and adjust to
23402 work with a struct library.
23403 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23404 (translate_offset): Make static.
23405 (get_text_addr): New function.
23406 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23407
eb4c1710
PA
234082014-04-15 Pedro Alves <palves@redhat.com>
23409
23410 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23411
2d1baf52
PA
234122014-04-15 Pedro Alves <palves@redhat.com>
23413
23414 * gdb.base/sym-file-loader.c: Include <limits.h>.
23415 (SELF_LINK): New define.
23416 (get_origin): New function.
23417 (load_shlib): Use it.
23418 * gdb.base/sym-file.exp: Don't early return if the target is
23419 remote. Use runto_main, and issue fail is that fails. Use
23420 gdb_load_shlibs.
23421 (shlib_name): Delete.
23422 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23423
7dd6df01
PA
234242014-04-15 Pedro Alves <palves@redhat.com>
23425
23426 * gdb.base/sym-file.exp: Remove regex characters from test
23427 message. Don't refer to breakpoint numbers in test messages.
23428
b50c8614
KS
234292014-04-14 Keith Seitz <keiths@redhat.com>
23430
23431 PR c++/16253
23432 * gdb.cp/var-tag.cc: New file.
23433 * gdb.cp/var-tag.exp: New file.
23434 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23435 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23436 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23437 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23438
3d567982
TT
234392014-04-14 Tom Tromey <tromey@redhat.com>
23440
23441 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23442 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23443 type.
23444 * gdb.cp/enum-class.exp: New file.
23445 * gdb.cp/enum-class.cc: New file.
23446
0626fc76
TT
234472014-04-14 Tom Tromey <tromey@redhat.com>
23448
23449 * gdb.dwarf2/enum-type.exp: New file.
23450
dca325b3
SA
234512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23452
23453 * gdb.mi/mi-vla-c99.exp: New file.
23454 * gdb.mi/vla.c: New file.
23455
5854b38a
SA
234562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23457
23458 * gdb.base/vla-datatypes.c: New file.
23459 * gdb.base/vla-datatypes.exp: New file.
23460
463bb957
SA
234612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23462
23463 * gdb.base/vla-ptr.c: New file.
23464 * gdb.base/vla-ptr.exp: New file.
23465
3dd170be
SA
234662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23467
23468 * gdb.dwarf2/count.exp: New file.
23469
5ecaaa66
SA
234702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23471
23472 * gdb.base/vla-sideeffect.c: New file.
23473 * gdb.base/vla-sideeffect.exp: New file.
23474
41f1ada5
DB
234752014-04-14 David Blaikie <dblaikie@gmail.com>
23476
23477 * gdb.mi/non-stop.c: Add return value for non-void function return
23478 statement.
23479 * gdb.threads/staticthreads.c: Ditto.
23480
0be03e84
DE
234812014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23482 Doug Evans <xdje42@gmail.com>
23483
23484 * gdb.guile/scm-value.c: Improve test case.
23485 * gdb.guile/scm-value.exp: Add new test.
23486
f180a1fb
DB
234872014-04-11 David Blaikie <dblaikie@gmail.com>
23488
23489 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23490 override Clang's default.
23491
6b662e19
JB
234922014-04-11 Joel Brobecker <brobecker@adacore.com>
23493
23494 Revert the following changes (regressions):
23495
23496 * gdb.base/vla-sideeffect.c: New file.
23497 * gdb.base/vla-sideeffect.exp: New file.
23498
23499 * gdb.dwarf2/count.exp: New file.
23500
23501 * gdb.base/vla-multi.c: New file.
23502 * gdb.base/vla-multi.exp: New file.
23503
23504 * gdb.base/vla-ptr.c: New file.
23505 * gdb.base/vla-ptr.exp: New file.
23506
23507 * gdb.base/vla-datatypes.c: New file.
23508 * gdb.base/vla-datatypes.exp: New file.
23509
23510 * gdb.mi/mi-vla-c99.exp: New file.
23511 * gdb.mi/vla.c: New file.
23512
245a5f0b
KS
235132014-04-11 Keith Seitz <keiths@redhat.com>
23514
23515 PR c++/16675
23516 * gdb.cp/cpsizeof.exp: New file.
23517 * gdb.cp/cpsizeof.cc: New file.
23518
58a84dcf
SA
235192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23520
191a8a90
JB
23521 * gdb.mi/mi-vla-c99.exp: New file.
23522 * gdb.mi/vla.c: New file.
58a84dcf 23523
c8655f75
SA
235242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23525
23526 * gdb.base/vla-datatypes.c: New file.
23527 * gdb.base/vla-datatypes.exp: New file.
23528
024e13b4
SA
235292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23530
23531 * gdb.base/vla-ptr.c: New file.
23532 * gdb.base/vla-ptr.exp: New file.
23533
1a237e0e
SA
235342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23535
23536 * gdb.base/vla-multi.c: New file.
23537 * gdb.base/vla-multi.exp: New file.
23538
504f3432
SA
235392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23540
23541 * gdb.dwarf2/count.exp: New file.
23542
3bce8237
SA
235432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23544
191a8a90
JB
23545 * gdb.base/vla-sideeffect.c: New file.
23546 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23547
322f9c21
YQ
235482014-04-11 Yao Qi <yao@codesourcery.com>
23549
23550 * gdb.base/completion.exp: Check file exists before running tests
23551 on file completion.
23552
d708bcd1
PA
235532014-04-10 Pedro Alves <palves@redhat.com>
23554
23555 * gdb.base/cond-eval-mode.c: New file.
23556 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23557 prepare_for_testing to build the new file. Check result of
23558 runto_main.
23559 (test_break, test_watch): New procedures.
23560 (top level): Use them.
23561
ae1d2761
PM
235622014-04-08 Pierre Muller <muller@sourceware.org>
23563
23564 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23565 Ctrl-V use for mingw hosts.
23566
7af389b8
SC
235672014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23568
23569 * gdb.python/py-value.c: Improve test case.
23570 * gdb.python/py-value.exp: Add new test.
23571
5e703181
DE
235722014-04-07 David Blaikie <dblaikie@gmail.com>
23573
23574 * lib/compiler.c: Identify the clang compiler.
23575 * lib/compiler.cc: Ditto.
23576
9810b410
YQ
235772014-04-03 Yao Qi <yao@codesourcery.com>
23578
23579 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23580
98d1b8dc
AB
235812014-04-01 Anton Blanchard <anton@samba.org>
23582
23583 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23584 messages unique.
23585
3114cea1
AB
235862014-04-01 Anton Blanchard <anton@samba.org>
23587
23588 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23589 prepare_for_testing.
23590
62f7182c
AB
235912014-04-01 Anton Blanchard <anton@samba.org>
23592
23593 * gdb.arch/ppc64-atomic-inst.c: Remove.
23594 * gdb.arch/ppc64-atomic-inst.S: New file.
23595 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23596
770e7fc7
DE
235972014-03-31 Doug Evans <dje@google.com>
23598
23599 * gdb.base/print-symbol-loading-lib.c: New file.
23600 * gdb.base/print-symbol-loading-main.c: New file.
23601 * gdb.base/print-symbol-loading.exp: New file.
23602
46e2bafa
YQ
236032014-03-31 Yao Qi <yao@codesourcery.com>
23604
23605 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23606
8776cfe9
JB
236072014-03-28 Joel Brobecker <brobecker@adacore.com>
23608
23609 * gdb.ada/mi_dyn_arr: New testcase.
23610
5d1ef361
DE
236112014-03-27 Doug Evans <dje@google.com>
23612
23613 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23614
b5bee914
YQ
236152014-03-27 Yao Qi <yao@codesourcery.com>
23616
23617 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23618 if target is nios2-*-*.
23619
0d4d0e77
YQ
236202014-03-26 Yao Qi <yao@codesourcery.com>
23621
23622 * lib/gdb.exp (readline_is_used): New proc.
23623 * gdb.base/completion.exp: Move tests on command complete up.
23624 Skip the rest of tests if readline is not used.
23625 * gdb.ada/complete.exp: Skp the test if readline is not
23626 used.
23627 * gdb.base/filesym.exp: Likewise.
23628 * gdb.base/macscp.exp: Likewise.
23629 * gdb.base/readline-ask.exp: Likewise.
23630 * gdb.base/readline.exp: Likewise.
23631 * gdb.python/py-cmd.exp: Likewise.
23632 * gdb.trace/tfile.exp: Likewise.
23633
29361eee
YQ
236342014-03-26 Yao Qi <yao@codesourcery.com>
23635
23636 * gdb.base/macscp.exp: Fix code format issues.
23637
bc9a5525
UW
236382014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23639
23640 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23641 * gdb.asm/powerpc64le.inc: New file.
23642
d3839ede
PA
236432014-03-25 Pedro Alves <palves@redhat.com>
23644 Doug Evans <dje@google.com>
23645
23646 * gdb.base/source-execution.c: New file.
23647 * gdb.base/source-execution.exp: New file.
23648 * gdb.base/source-execution.gdb: New file.
23649
01672a57
DE
236502014-03-24 Doug Evans <dje@google.com>
23651
23652 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23653 using fission.
23654
88bbeca9
HZ
236552014-03-24 Hui Zhu <hui@codesourcery.com>
23656 Pedro Alves <palves@redhat.com>
23657
23658 PR breakpoints/16101
23659 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23660 test pass/fail messages. Detect missing support for dprintf when
23661 breakpoints are actually inserted.
23662 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23663 breakpoints are actually inserted.
23664 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23665 fails.
23666
d2348791
JK
236672014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23668
23669 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23670
feef67ab
DE
236712014-03-22 Doug Evans <xdje42@gmail.com>
23672
23673 * gdb.python/python.exp (python not supported): Verify multi-line
23674 python command issues an error.
25d743f9 23675 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23676 guile command issues an error.
feef67ab 23677
ecebef6a
MR
236782014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23679
23680 * gdb.threads/thread-specific.exp: Handle the lack of usable
23681 $this_breakpoint and $this_thread.
23682
ccdd1909
HZ
236832014-03-21 Hui Zhu <hui@codesourcery.com>
23684
23685 * gdb.base/attach.exp (do_command_attach_tests): New.
23686
beb460e8
PA
236872014-03-20 Tom Tromey <tromey@redhat.com>
23688 Pedro Alves <palves@redhat.com>
23689
23690 PR cli/15718
23691 * gdb.base/condbreak-call-false.c: New file.
23692 * gdb.base/condbreak-call-false.exp: New file.
23693
40acf43a
PA
236942014-03-20 Pedro Alves <palves@redhat.com>
23695
23696 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23697 Delete.
23698 (block_signals, unblock_signals): Delete.
23699 (child_function_2, main): Remove references to deleted variable
23700 and functions.
23701
9f5e1e02
PA
237022014-03-20 Pedro Alves <palves@redhat.com>
23703
23704 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23705 Use pthread_kill to signal thread 2.
23706 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23707 Adjust to make the test send itself a signal rather than using the
23708 host's "kill" command.
23709
99619bea
PA
237102014-03-20 Pedro Alves <palves@redhat.com>
23711
23712 * gdb.threads/multiple-step-overs.c: New file.
23713 * gdb.threads/multiple-step-overs.exp: New file.
23714 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23715 Adjust expected infrun debug output.
23716
2adfaa28
PA
237172014-03-20 Pedro Alves <palves@redhat.com>
23718
23719 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23720 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23721
31e77af2
PA
237222014-03-20 Pedro Alves <palves@redhat.com>
23723
23724 PR breakpoints/7143
23725 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23726 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23727 of gdb_test_multiple.
23728 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23729 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23730
b9f437de
PA
237312014-03-20 Pedro Alves <palves@redhat.com>
23732
23733 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23734 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23735
05adc73e
PA
237362014-03-19 Pedro Alves <palves@redhat.com>
23737
23738 * gdb.base/async.exp: Remove early return.
23739
6048b950
PA
237402014-03-19 Pedro Alves <palves@redhat.com>
23741
23742 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23743
8bcfb00a
PA
237442014-03-19 Pedro Alves <palves@redhat.com>
23745
23746 * gdb.base/async.exp (test_background): Expect \r\n after
23747 "completed." in the fail pattern.
23748
884e37dc
PA
237492014-03-19 Pedro Alves <palves@redhat.com>
23750
23751 * gdb.base/async.exp (test_background): New procedure.
23752 Use it for all background execution command tests.
23753
148e57e2
PA
237542014-03-19 Pedro Alves <palves@redhat.com>
23755
23756 * gdb.base/async.exp: Use prepare_for_testing.
23757
f48088c7
PA
237582014-03-19 Pedro Alves <palves@redhat.com>
23759
23760 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23761 the same line.
23762
e2f6c966
PA
237632014-03-19 Pedro Alves <palves@redhat.com>
23764
23765 * gdb.base/async.c (main): Add "jump here" and "until here" line
23766 marker comments.
23767 * gdb.base/async.exp (jump_here): New global.
23768 (jump& test): Use it.
23769 (until_here): New global.
23770 (until& test): Use it.
23771
c30568d4
PA
237722014-03-19 Pedro Alves <palves@redhat.com>
23773
23774 * gdb.base/async.exp: Don't frob gdb_protocol.
23775
0172b6a7
DE
237762014-03-18 Doug Evans <xdje42@gmail.com>
23777
23778 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23779 Fix spelling of exec-done-display.
23780
06c868a8
JK
237812014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23782
23783 PR gdb/15358
23784 * gdb.base/gdb-sigterm.c: New file.
23785 * gdb.base/gdb-sigterm.exp: New file.
23786
0c7e1a46
PA
237872014-03-18 Pedro Alves <palves@redhat.com>
23788
23789 PR gdb/13860
23790 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23791 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23792 solib-event.
23793
f7c77d93
JB
237942014-03-17 Joel Brobecker <brobecker@adacore.com>
23795
23796 * gdb.ada/pckd_arr_ren: New testcase.
23797
5a1e8c7a
DE
237982014-03-13 Doug Evans <xdje42@gmail.com>
23799
23800 PR guile/16612
23801 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23802 collect after discarding symbols.
23803
350e1a76
DE
238042014-03-13 Ludovic Courtès <ludo@gnu.org>
23805 Doug Evans <xdje42@gmail.com>
23806
23807 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23808 to history survives a gc.
23809
a69900ae
PA
238102014-03-13 Pedro Alves <palves@redhat.com>
23811
23812 * gdb.base/default.exp: Don't test "target procfs".
23813
5db9f0bd
PA
238142014-03-13 Pedro Alves <palves@redhat.com>
23815
23816 * gdb.base/default.exp: Update "target child" and "target procfs"
23817 tests to not expect "Unix".
23818
b3ccfe11
TT
238192014-03-12 Tom Tromey <tromey@redhat.com>
23820
23821 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23822 New procs. Add target-async tests.
23823 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23824 Add target-async tests.
23825
646f4417
AA
238262014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23827
23828 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23829 'func_start' and 'func_end' for the beginning and end of the
23830 function code, respectively.
23831 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23832 'func_end' instead of 'func' and 'main'.
23833
288c211f
AA
238342014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23835
23836 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23837 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23838 generate the debug info assembler source.
23839
e0c0f156
AA
238402014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23841
23842 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23843 * gdb.dwarf2/arr-subrange.exp: Likewise.
23844 * gdb.dwarf2/dwz.exp: Likewise.
23845 * gdb.dwarf2/method-ptr.exp: Likewise.
23846 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23847 * gdb.dwarf2/subrange.exp: Likewise.
23848 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23849 * gdb.dwarf2/implptrpiece.exp: Likewise.
23850 * gdb.dwarf2/nostaticblock.exp: Likewise.
23851
0e5c4555
AA
238522014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23853
23854 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23855 directory to absolute path name arguments.
23856
5ec18f2b
JG
238572014-03-10 Joel Brobecker <brobecker@adacore.com>
23858
23859 * gdb.ada/tagged_access: New testcase.
23860
847fc4f2
MM
238612014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23862
23863 * gdb.btrace/data.exp: Update expected output.
23864
cc3da688
YQ
238652014-03-06 Yao Qi <yao@codesourcery.com>
23866
23867 * gdb.trace/pr16508.exp: New file.
23868
0f26cec1
PA
238692014-03-05 Pedro Alves <palves@redhat.com>
23870
23871 PR gdb/16575
23872 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23873 procedure.
23874 (top level): Adjust to use it. Add tests that exercise breakpoint
23875 interaction with the code-cache.
23876
7a5a839f
LC
238772014-02-26 Ludovic Courtès <ludo@gnu.org>
23878
23879 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23880 test for 'history-append!'.
23881
31aa7e4e
JB
238822014-02-26 Joel Brobecker <brobecker@adacore.com>
23883
23884 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23885 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23886 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23887 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23888 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23889 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23890
1b588015
JB
238912014-02-26 Joel Brobecker <brobecker@adacore.com>
23892
23893 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23894 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23895 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23896
55426c9d
JB
238972014-02-26 Joel Brobecker <brobecker@adacore.com>
23898
23899 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23900
dc53a7ad
JB
239012014-02-26 Joel Brobecker <brobecker@adacore.com>
23902
23903 * gdb.dwarf2/arr-stride.c: New file.
23904 * gdb.dwarf2/arr-stride.exp: New file.
23905
12ab52e9
PA
239062014-02-26 Pedro Alves <palves@redhat.com>
23907
23908 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23909 that won't ever trigger. Make sure that GDB reports the correct
23910 breakpoint that caused the stop.
23911
849c862e
JK
239122014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23913
23914 PR gdb/16626
23915 * gdb.base/auto-load-script: New file.
23916 * gdb.base/auto-load.c: New file.
23917 * gdb.base/auto-load.exp: New file.
23918
71b7d793
JK
23919 PR gdb/16626
23920 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23921
e2f0d509
JK
239222014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23923
23924 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23925 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23926
50cc37c8
DE
239272014-02-24 Doug Evans <dje@google.com>
23928
23929 * lib/gdb.exp (run_on_host): Log error output if program fails.
23930
ea4758f2
PA
239312014-02-21 Pedro Alves <palves@redhat.com>
23932
23933 * gdb.threads/step-after-sr-lock.c: Rename to ...
23934 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23935 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23936 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23937 ... this.
23938
d7b30f67
SDJ
239392014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23940
23941 PR tdep/16397
23942 * gdb.arch/amd64-stap-special-operands.exp: New file.
23943 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23944 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23945 * gdb.arch/amd64-stap-triplet.S: Likewise.
23946 * gdb.arch/amd64-stap-triplet.c: Likewise.
23947
83deb43f
JB
239482014-02-20 Joel Brobecker <brobecker@adacore.com>
23949
23950 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23951 in .section pseudo-op.
23952
adde2bff
DE
239532014-02-20 lin zuojian <manjian2006@gmail.com>
23954 Joel Brobecker <brobecker@adacore.com>
23955 Doug Evans <xdje42@gmail.com>
23956
23957 PR symtab/16581
23958 * gdb.dwarf2/dw2-icycle.S: New file.
23959 * gdb.dwarf2/dw2-icycle.c: New file.
23960 * gdb.dwarf2/dw2-icycle.exp: New file.
23961
f7bd0f78
SC
239622014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23963
23964 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23965 operations on gdb.Value objects.
23966 * gdb.python/py-value-cc.exp: Add new test to test operations on
23967 gdb.Value objects.
23968
c17ef0d5
DE
239692014-02-18 Doug Evans <dje@google.com>
23970
23971 * Makefile.in (TESTS): New variable.
23972 (expanded_tests, expanded_tests_or_none): New variables
23973 (check-single): Pass $(expanded_tests_or_none) to runtest.
23974 (check-parallel): Only run tests in $(TESTS) if non-empty.
23975 (check/no-matching-tests-found): New rule.
23976 * README: Document TESTS makefile variable.
23977
5dd3176f
DE
239782014-02-18 Doug Evans <dje@google.com>
23979
23980 * Makefile.in (check-parallel): rm -rf outputs temp.
23981
0b10be4f
JK
239822014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23983
23984 Fix "ERROR: no fileid for" in the testsuite.
23985 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23986
85f224e7
DE
239872014-02-12 Doug Evans <dje@google.com>
23988
23989 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23990 (MISCELLANEOUS): New variable.
23991 (clean): rm -rf $(MISCELLANEOUS).
23992 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23993 dwp live in the same directory as symlinks, with each symlink pointed
23994 to a differently named file in a different directory.
23995
149b30ff
DE
239962014-02-11 Doug Evans <dje@google.com>
23997
23998 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23999 of Tcl file commands.
24000
1dfdac32
MK
240012014-02-10 Mark Kettenis <kettenis@gnu.org>
24002
24003 * gdb.threads/step-after-sr-lock.exp: Avoid executing
24004 "kill -SIGUSR1 -1".
24005
aa4fb036
JB
240062014-02-10 Joel Brobecker <brobecker@adacore.com>
24007
24008 * gdb.ada/tick_length_array_enum_idx: New testcase.
24009
ed3ef339
DE
240102014-02-10 Doug Evans <xdje42@gmail.com>
24011
24012 * configure.ac (AC_OUTPUT): Add gdb.guile.
24013 * configure: Regenerate.
24014 * lib/gdb-guile.exp: New file.
24015 * lib/gdb.exp (get_target_charset): New function.
24016 * gdb.base/help.exp: Update expected output from "apropos apropos".
24017 * gdb.guile/Makefile.in: New file.
24018 * gdb.guile/guile.exp: New file.
24019 * gdb.guile/scm-arch.c: New file.
24020 * gdb.guile/scm-arch.exp: New file.
24021 * gdb.guile/scm-block.c: New file.
24022 * gdb.guile/scm-block.exp: New file.
24023 * gdb.guile/scm-breakpoint.c: New file.
24024 * gdb.guile/scm-breakpoint.exp: New file.
24025 * gdb.guile/scm-disasm.c: New file.
24026 * gdb.guile/scm-disasm.exp: New file.
24027 * gdb.guile/scm-equal.c: New file.
24028 * gdb.guile/scm-equal.exp: New file.
24029 * gdb.guile/scm-error.exp: New file.
24030 * gdb.guile/scm-error.scm: New file.
24031 * gdb.guile/scm-frame-args.c: New file.
24032 * gdb.guile/scm-frame-args.exp: New file.
24033 * gdb.guile/scm-frame-args.scm: New file.
24034 * gdb.guile/scm-frame-inline.c: New file.
24035 * gdb.guile/scm-frame-inline.exp: New file.
24036 * gdb.guile/scm-frame.c: New file.
24037 * gdb.guile/scm-frame.exp: New file.
24038 * gdb.guile/scm-generics.exp: New file.
24039 * gdb.guile/scm-gsmob.exp: New file.
24040 * gdb.guile/scm-iterator.c: New file.
24041 * gdb.guile/scm-iterator.exp: New file.
24042 * gdb.guile/scm-math.c: New file.
24043 * gdb.guile/scm-math.exp: New file.
24044 * gdb.guile/scm-objfile-script-gdb.in: New file.
24045 * gdb.guile/scm-objfile-script.c: New file.
24046 * gdb.guile/scm-objfile-script.exp: New file.
24047 * gdb.guile/scm-objfile.c: New file.
24048 * gdb.guile/scm-objfile.exp: New file.
24049 * gdb.guile/scm-ports.exp: New file.
24050 * gdb.guile/scm-pretty-print.c: New file.
24051 * gdb.guile/scm-pretty-print.exp: New file.
24052 * gdb.guile/scm-pretty-print.scm: New file.
24053 * gdb.guile/scm-section-script.c: New file.
24054 * gdb.guile/scm-section-script.exp: New file.
24055 * gdb.guile/scm-section-script.scm: New file.
24056 * gdb.guile/scm-symbol.c: New file.
24057 * gdb.guile/scm-symbol.exp: New file.
24058 * gdb.guile/scm-symtab-2.c: New file.
24059 * gdb.guile/scm-symtab.c: New file.
24060 * gdb.guile/scm-symtab.exp: New file.
24061 * gdb.guile/scm-type.c: New file.
24062 * gdb.guile/scm-type.exp: New file.
24063 * gdb.guile/scm-value-cc.cc: New file.
24064 * gdb.guile/scm-value-cc.exp: New file.
24065 * gdb.guile/scm-value.c: New file.
24066 * gdb.guile/scm-value.exp: New file.
24067 * gdb.guile/source2.scm: New file.
24068 * gdb.guile/types-module.cc: New file.
24069 * gdb.guile/types-module.exp: New file.
24070
7026a7c1
YQ
240712014-02-10 Yao Qi <yao@codesourcery.com>
24072
24073 PR testsuite/16543
24074 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
24075 * configure: Regenerated.
24076 * Makefile.in: New file.
24077
6c466447
AS
240782014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24079
24080 * gdb.python/py-framefilter.exp: Fix typo.
24081
6e854735
YQ
240822014-02-08 Yao Qi <yao@codesourcery.com>
24083
24084 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24085 that no =breakpoint-modified is emitted when breakpoints are
24086 modified through MI commands.
24087
d137e6dc
PA
240882014-02-07 Pedro Alves <pedro@codesourcery.com>
24089 Pedro Alves <palves@redhat.com>
24090
24091 * gdb.threads/step-after-sr-lock.c: New file.
24092 * gdb.threads/step-after-sr-lock.exp: New file.
24093
b5ee5a50
PA
240942014-02-07 Pedro Alves <palves@redhat.com>
24095
24096 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24097
3c77faf3
JK
240982014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24099
24100 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24101 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24102
6dddc817
DE
241032014-02-06 Doug Evans <xdje42@gmail.com>
24104
24105 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24106 output.
24107
24108 * gdb.gdb/python-interrupts.exp: New file.
24109
de7b2893
YQ
241102014-02-05 Yao Qi <yao@codesourcery.com>
24111
24112 * gdb.trace/report.exp (use_collected_data): Test the output
24113 of "info threads" and "info inferiors".
24114
66d032ac
YQ
241152014-02-05 Yao Qi <yao@codesourcery.com>
24116
24117 Revert this patch:
24118
24119 2013-05-24 Yao Qi <yao@codesourcery.com>
24120
24121 * gdb.trace/tfile.exp: Test inferior and thread.
24122
591a12a1
UW
241232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24124
24125 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24126 on a function.
24127 * gdb.base/step-bt.c: Call hello via function pointer to make
24128 sure its first instruction is executed on powerpc64le-linux.
24129
0ff3e01f
UW
241302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24131
24132 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24133
084ee545
UW
241342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24135
24136 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24137 of the test patterns for use on little-endian systems.
24138
6ed14ff3
UW
241392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24140
24141 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24142 (decimal_vector): Fix for little-endian.
24143
401e27fd
JM
241442014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24145
24146 * gdb.arch/sparc-sysstep.exp: New file.
24147 * gdb.arch/sparc-sysstep.c: Likewise.
24148
24149 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24150
8b924729
EBM
241512014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24152
24153 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24154
fb151210
JB
241552014-01-23 Tom Tromey <tromey@redhat.com>
24156
24157 * gdb.ada/array_char_idx: New testcase.
24158
0740f8d8
TT
241592014-01-23 Tom Tromey <tromey@redhat.com>
24160
24161 PR python/16487:
24162 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24163 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24164 classes.
24165
21909fa1
TT
241662014-01-23 Tom Tromey <tromey@redhat.com>
24167
24168 PR python/16491:
24169 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24170 string from an inferior frame.
24171 * gdb.python/py-framefilter-mi.exp: Update.
24172
87ce2a04
DE
241732014-01-22 Doug Evans <dje@google.com>
24174
24175 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24176
237b092b
AA
241772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24178
24179 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24180
d674a709
AA
241812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24182
24183 * gdb.trace/entry-values.exp: Remove excess space character from
24184 regex patterns. Handle s390 call instruction.
24185
20fa3390
AA
241862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24187
24188 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24189 define "*_start" label. Make "name" static.
24190 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24191 ${name} by references to ${name}_start.
24192
78466714
AA
241932014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24194
24195 * gdb.base/info-macros.exp: Remove "debug" from the compile
24196 options.
24197
ec9f644a
IB
241982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24199
24200 * gdb.dlang/demangle.exp: New file.
24201
94b1b47e
IB
242022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24203
24204 * gdb.dlang/primitive-types.exp: New file.
24205
7f420862
IB
242062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24207
24208 * configure.ac: Create gdb.dlang/Makefile.
24209 * configure: Regenerate.
24210 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24211 * gdb.dlang/Makefile.in: New file.
24212 * lib/d-support.exp: New file.
24213 * lib/gdb.exp (skip_d_tests): New proc.
24214
52834460
MM
242152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24216
24217 * gdb.btrace/delta.exp: Check reverse stepi.
24218 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24219 * gdb.btrace/finish.exp: New.
24220 * gdb.btrace/next.exp: New.
24221 * gdb.btrace/nexti.exp: New.
24222 * gdb.btrace/record_goto.c: Add comments.
24223 * gdb.btrace/step.exp: New.
24224 * gdb.btrace/stepi.exp: New.
24225 * gdb.btrace/multi-thread-step.c: New.
24226 * gdb.btrace/multi-thread-step.exp: New.
24227 * gdb.btrace/rn-dl-bind.c: New.
24228 * gdb.btrace/rn-dl-bind.exp: New.
24229 * gdb.btrace/data.c: New.
24230 * gdb.btrace/data.exp: New.
24231 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24232
6e07b1d2
MM
242332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24234
24235 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24236 * gdb.btrace/exception.exp: Update.
24237 * gdb.btrace/instruction_history.exp: Update.
24238 * gdb.btrace/record_goto.exp: Update.
24239 * gdb.btrace/tailcall.exp: Update.
24240 * gdb.btrace/unknown_functions.exp: Update.
24241 * gdb.btrace/delta.exp: New.
24242
0b722aec
MM
242432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24244
24245 * gdb.btrace/record_goto.exp: Add backtrace test.
24246 * gdb.btrace/tailcall.exp: Add backtrace test.
24247
066ce621
MM
242482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24249
24250 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24251 * gdb.btrace/record_goto.c: New.
24252 * gdb.btrace/record_goto.exp: New.
24253 * gdb.btrace/x86-record_goto.S: New.
24254
0688d04e
MM
242552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24256
24257 * gdb.btrace/function_call_history.exp: Update tests.
24258 * gdb.btrace/instruction_history.exp: Update tests.
24259
8710b709
MM
242602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24261
24262 * gdb.btrace/function_call_history.exp: Fix expected field
24263 order for "record function-call-history".
24264 Add new tests for "record function-call-history /c".
24265 * gdb.btrace/exception.cc: New.
24266 * gdb.btrace/exception.exp: New.
24267 * gdb.btrace/tailcall.exp: New.
24268 * gdb.btrace/x86-tailcall.S: New.
24269 * gdb.btrace/x86-tailcall.c: New.
24270 * gdb.btrace/unknown_functions.c: New.
24271 * gdb.btrace/unknown_functions.exp: New.
24272 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24273
5de9129b
MM
242742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24275
24276 * gdb.btrace/instruction_history.exp: Update.
24277 * gdb.btrace/function_call_history.exp: Update.
24278
23a7fe75
MM
242792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24280
24281 * gdb.btrace/function_call_history.exp: Fix expected function
24282 trace.
24283 * gdb.btrace/instruction_history.exp: Initialize traced.
24284 Remove traced_functions.
24285
724c7dd8
MM
242862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24287
24288 * gdb.btrace/function_call_history.exp: Update
24289 * gdb.btrace/instruction_history.exp: Update.
24290
6d78d93b
MM
242912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24292
24293 * gdb.btrace/enable.exp: Update expected text.
24294
93a360cc
OJ
242952014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24296
24297 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24298 bytes.
24299
3772b53f
MR
243002014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24301
24302 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24303
596662fa
OJ
243042014-01-15 Omair Javaid <omair.javaid@linaro.org>
24305
24306 * lib/gdb.exp (supports_process_record): Return true for
24307 arm*-linux*. (supports_reverse): Likewise.
24308
b5b08fb4
SC
243092014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24310
24311 PR python/15464
24312 PR python/16113
24313 * gdb.python/py-type.c: Enhance test case.
24314 * gdb.python/py-value-cc.cc: Likewise
24315 * gdb.python/py-type.exp: Add new tests.
24316 * gdb.python/py-value-cc.exp: Likewise
24317
52d7fb13
AA
243182014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24319 Pedro Alves <palves@redhat.com>
24320
24321 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24322 Make "name" extern.
24323 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24324 references to ${name}_start by references to ${name}.
24325
a2cd8cfe
JB
243262014-01-10 Joel Brobecker <brobecker@adacore.com>
24327
24328 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24329
4e23fced
JB
243302014-01-10 Joel Brobecker <brobecker@adacore.com>
24331
24332 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24333
c6a9e42c
PA
243342014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24335 Pedro Alves <palves@redhat.com>
24336
24337 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 24338 mi_gdb_target_load.
c6a9e42c 24339
b7ea362b
PA
243402014-01-08 Pedro Alves <palves@redhat.com>
24341
24342 * gdb.threads/reconnect-signal.c: New file.
24343 * gdb.threads/reconnect-signal.exp: New file.
24344
5e3f4fab
EBM
243452014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24346
24347 * gdb.base/source-dir.exp: New file.
24348
79301218
JB
243492014-01-07 Joel Brobecker <brobecker@adacore.com>
24350
24351 * gdb.ada/mi_interface: New testcase.
24352
8e355c5d
JB
243532014-01-07 Joel Brobecker <brobecker@adacore.com>
24354
24355 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24356 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24357 gdb.ada/pp-rec-component/pck.ads: New files.
24358
c0d48811
JB
243592014-01-07 Joel Brobecker <brobecker@adacore.com>
24360
24361 * gdb.python/py-pp-integral.c: New file.
24362 * gdb.python/py-pp-integral.py: New file.
24363 * gdb.python/py-pp-integral.exp: New file.
24364
17b609c3 24365For older changes see ChangeLog-1993-2013.
c906108c 24366\f
8d8cb839
EZ
24367;; Local Variables:
24368;; mode: change-log
24369;; left-margin: 8
24370;; fill-column: 74
24371;; version-control: never
24372;; End:
902f2ccb 24373
3666a048 24374 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
24375 Copying and distribution of this file, with or without modification,
24376 are permitted provided the copyright notice and this notice are preserved.