]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Guile: add value-{rvalue-,}reference-value
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
9d4fc61d
GB
12021-05-12 George Barrett <bob@bob131.so>
2
3 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
4 value-reference-value. Add test for value-rvalue-reference-value.
5
5048549a
TV
62021-05-11 Tom de Vries <tdevries@suse.de>
7
8 * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs.
9 Add "set debug infrun 1" commented out.
10
2302f963
TV
112021-05-11 Tom de Vries <tdevries@suse.de>
12
13 * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp.
14
abb894a4
BK
152021-05-11 Bhuvanendra Kumar <Bhuvanendra.KumarN@amd.com>
16
17 * gdb.fortran/array-element.exp: Breakpoint location is modified.
18
db1f6cd6
LS
192021-05-10 Lancelot Six <lsix@lancelotsix.com>
20
21 PR gdb/27614
22 * gdb.dwarf2/gdb-add-index-symlink.exp: New test.
23
9344937b
AB
242021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
25
26 * gdb.guile/guile.exp: Don't use the source directory as a
27 temporary HOME directory.
28
0709cf68
SM
292021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
30
31 * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
32 parameters.
33
1845e254
AB
342021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
35
36 * gdb.guile/guile.exp: Add an extra test.
37
a3237c7c
AB
382021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
39
40 * gdb.base/ptype-offsets.exp: Replace use of send_gdb with
41 gdb_test_no_output.
42
13123da8
SM
432021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
44
45 * Re-format all Python files using black.
46 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust.
47
0618ecf6
AB
482021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
49
50 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the
51 watchpoint object before and after registering it with GDB.
52
a7ed4ea6
AB
532021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
54
55 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to
56 'proc_with_prefix', remove use of 'with_test_prefix', and
57 reindent.
58 (test_bkpt_deletion): Likewise.
59 (test_bkpt_cond_and_cmds): Likewise.
60 (test_bkpt_invisible): Likewise.
61 (test_watchpoints): Likewise.
62 (test_bkpt_internal): Likewise.
63 (test_bkpt_eval_funcs): Likewise.
64 (test_bkpt_registration): Likewise.
65 (test_bkpt_address): Convert to 'proc_with_prefix'.
66 (test_bkpt_probe): Likewise.
67
7ebbaa1c
AB
682021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
69
70 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test
71 names to avoid duplicates.
72 (test_bkpt_cond_and_cmds): Likewise.
73 (test_bkpt_eval_funcs): Likewise.
74
79aabb73
TBA
752021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
76
77 * gdb.mi/mi-break.exp (test_forced_conditions): Add a test
78 for the -break-condition command's "--force" flag.
79
10e578d7
TBA
802021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
81
82 * gdb.mi/mi-break.exp (test_forced_conditions): New proc that
83 is called by the test.
84
2f000c80
TV
852021-05-05 Tom de Vries <tdevries@suse.de>
86
87 * gdb.threads/detach-step-over.exp: Do exp_continue when encountering
88 "Reading symbols" or "Expanding full symbols" lines. Using timeout
89 factor of 2 for attach.
90
09f83f79
TV
912021-05-05 Tom de Vries <tdevries@suse.de>
92
93 * gdb.threads/fork-plus-threads.exp: Handle "New LWP <n>" and
94 "LWP <n> exited" messages.
95
fa94b3a7
SM
962021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
97
98 * gdb.python/py-type.exp (test_fields): Test calling fields on
99 an int type.
100
858c8f2c
SM
1012021-05-04 Simon Marchi <simon.marchi@efficios.com>
102
103 * gdb.python/flexible-array-member.exp: Adjust expected range
104 value for member declared with 0 size. Test accessing range
105 tuple through range type.
106
d389a1a7
AB
1072021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
108
109 PR testsuite/27788
110 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
111 expected results when environment variable PYTHONDONTWRITEBYTECODE
112 is set.
113
2869ac4b
TT
1142021-04-30 Tom Tromey <tromey@adacore.com>
115
116 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
117 (Confused_Array): New types.
118 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
119 * gdb.ada/enum_idx_packed.exp: Add new tests.
120
5536f0cc
TV
1212021-04-30 Tom de Vries <tdevries@suse.de>
122
123 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
124 existing timeout factors.
125
7f7f284d
TV
1262021-04-30 Tom de Vries <tdevries@suse.de>
127
128 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
129
3f334074
TV
1302021-04-29 Tom de Vries <tdevries@suse.de>
131
132 PR testsuite/27786
133 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
134 remotetimeout to 4.
135
db2534b7
TT
1362021-04-28 Tom Tromey <tromey@adacore.com>
137
138 * gdb.ada/null_overload.exp: New file.
139 * gdb.ada/null_overload/foo.adb: New file.
140
edeaceda
AB
1412021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
142
143 * gdb.python/py-startup-opt.exp: New file.
144
b9f90c72
LM
1452021-04-27 Luis Machado <luis.machado@linaro.org>
146
147 * gdb.base/maint.exp: Drop a pattern that is not needed.
148 * lib/gdb.exp (readnow): Match line-by-line.
149
4b62a30d
LM
1502021-04-27 Luis Machado <luis.machado@linaro.org>
151
152 * gdb.xml/tdesc-reload.exp: Pass -lbl.
153
2c473def
MW
1542021-04-27 Michael Weghorn <m.weghorn@posteo.de>
155 Simon Marchi <simon.marchi@polymtl.ca>
156
157 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
158 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
159 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
160 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
161 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
162 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
163
e8b6c1da
TT
1642021-04-26 Tom Tromey <tromey@adacore.com>
165
166 PR gdb/27743:
167 * gdb.dwarf2/imported-unit-bp.exp: New file.
168 * gdb.dwarf2/imported-unit-bp-main.c: New file.
169 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
170
bea3329b
SM
1712021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
172
173 PR gdb/27773
174 * gdb.base/dump.exp: Test dump to non-existent dir.
175
21f91785
LM
1762021-04-26 Luis Machado <luis.machado@linaro.org>
177
178 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
179 comparison.
180
fbb46296
LS
1812021-04-25 Lancelot Six <lsix@lancelotsix.com>
182
183 PR gdb/22640
184 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
185 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
186 changes the default behavior of 'ptype/o'. Update to take into
187 account new horizontal layout.
188 * gdb.rust/simple.exp: Update ptype test to check new horizontal
189 layout.
190 * gdb.rust/union.exp: Same.
191
9fc29955
AB
1922021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
193
194 * gdb.base/info_sources.exp: Add new tests.
195
432ce4cf
TT
1962021-04-22 Tom Tromey <tom@tromey.com>
197
198 * gdb.base/ptype-offsets.cc (struct empty_member): New.
199 (main): Use empty_member.
200 * gdb.base/ptype-offsets.exp: Add new test.
201
a87caa6d
SM
2022021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
203
204 * gdb.python/flexible-array-member.exp: Add check for Python
205 support.
206
e25d6d93
SM
2072021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
208
209 PR gdb/27757
210 * gdb.python/flexible-array-member.c: New test.
211 * gdb.python/flexible-array-member.exp: New test.
212 * gdb.guile/scm-type.exp (test_range): Add test for flexible
213 array member.
214 * gdb.guile/scm-type.c (struct flex_member): New.
215 (main): Use it.
216
22f80c0f
TT
2172021-04-22 Tom Tromey <tom@tromey.com>
218
219 * gdb.rust/modules.exp: Add checks for syntax errors.
220 * gdb.rust/expr.exp: Add checks for syntax errors.
221 * gdb.rust/simple.exp: Add checks for syntax errors.
222
6d5702a5
CL
2232021-04-21 Carl Love <cel@us.ibm.com>
224
225 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
226 Update expected string for gdb_test "bt".
227
228 * lib/valgrind.exp: Add set remotetimeout 3.
229 Increase vgdb wait from 1 to 2.
230 Add max-invoke-ms option to vgdb command line.
231
10a636cc
TBA
2322021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
233
234 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
235 conditions.
236
98e713ab
SM
2372021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
238 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
239
240 * gdb.mi/mi-break.exp: Fix the duplicate test names.
241
525174e8
FW
2422021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
243
244 * gdb.base/address_space_qualifier.exp: New file.
245
392e0bcc
TT
2462021-04-19 Tom Tromey <tromey@adacore.com>
247
248 PR gdb/27742:
249 * gdb.opt/inline-locals.exp: Update kfail patterns.
250
da314dd3
TT
2512021-04-17 Tom Tromey <tom@tromey.com>
252
253 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
254
3cbc7ac3
TT
2552021-04-16 Tom Tromey <tom@tromey.com>
256
257 * gdb.rust/simple.exp: Change error text.
258 * gdb.rust/expr.exp: Change error text.
259
458620aa
TT
2602021-04-16 Tom Tromey <tom@tromey.com>
261
262 * gdb.rust/simple.exp: Add parens to 'as' test.
263
321d0cd7
SM
2642021-04-16 Simon Marchi <simon.marchi@efficios.com>
265
266 * boards/simavr.exp: Set debug_flags.
267
1b6b755e
LM
2682021-04-16 Luis Machado <luis.machado@linaro.org>
269
270 * gdb.dwarf2/dw2-bfloat16.exp: New file.
271
fd5c30cd
AB
2722021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
273
274 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
275 including a path in the test name.
276
41f14dc8
SM
2772021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
278
279 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
280
a15a276b
TT
2812021-04-15 Tom Tromey <tromey@adacore.com>
282
283 * gdb.dwarf2/arr-stride.exp: Add test.
284
5809fbf2
TT
2852021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
286
287 * gdb.base/startup-file.exp: Add more tests.
288
92e4e97a
AB
2892021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
290
291 PR cli/25956
292 * gdb.base/early-init-file.c: New file.
293 * gdb.base/early-init-file.exp: New file.
294 * lib/gdb-utils.exp (style): Handle style 'none'.
295
fcc99c42
TBA
2962021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
297
298 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
299 @DW_INL_declared_inlined for the inline attribute.
300
34dc0f95
TBA
3012021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
302
303 * gdb.opt/inline-locals.c (scoped): New function.
304 (main): Call 'scoped'.
305 * gdb.opt/inline-locals.exp: Update with "info locals" tests
306 for scoped variables.
307 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
308 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
309
ac4d323e
TBA
3102021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
311
312 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
313
6b142048
WS
3142021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
315
316 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
317
82d9b280 3182021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
c8a37944
WS
319
320 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
321 non-relative plxv instructions.
322 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
323
3242021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
82d9b280 325
e3d528d7
WS
326 PR gdb/27525
327 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
328 exercise single-stepping over subpcis,lnia,addpcis instructions
329 with displacement.
330 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
331 of addpcis/lnia/subpcis instructions.
332 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
333 exercise single-stepping over lnia instructions with displacement.
334 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
335 lnia instructions.
336
3372021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
338
82d9b280
WS
339 * gdb.arch/powerpc-power10.s: New test for instructions.
340 * gdb.arch/powerpc-power10.exp: Harness to run the test.
341
6ba4cb84
CL
3422021-4-12 Carl Love <cel@us.ibm.com>
343
344 * gdb.arch/vsx-vsr-float128.c: New test file.
345 * gdb.arch/vsx-vsr-float128.exp: New expect file.
346
9d8f3022
MM
3472021-04-12 Markus Metzger <markus.t.metzger@intel.com>
348
349 * gdb.btrace/reconnect.exp: Relax expected stepi output.
350
dc2b480f
WP
3512021-04-07 Weimin Pan <weimin.pan@oracle.com>
352
353 * gdb.base/ctf-ptype.c: Add struct link containing a forward
354 reference type.
355 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
356
0a703a4c
AB
3572021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
358
359 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
360 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
361
30ab3586
AB
3622021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
363
364 * gdb.cp/rvalue-ref-params.cc (f3): New function.
365 (f4): New function.
366 (global_int): New global variable.
367 (global_float): Likeiwse.
368 (main): Call both new functions.
369 * gdb.cp/rvalue-ref-params.exp: Add new tests.
370
56d467f4
CT
3712021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
372
373 * gdb.dwarf2/fission-relative-dwo.c: New file.
374 * gdb.dwarf2/fission-relative-dwo.exp: New file.
375
61dee722
AB
3762021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
377
378 * gdb.dwarf2/fission-absolute-dwo.c: New file.
379 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
380 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
381 instead of build_executable_from_fission_assembler.
382 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
383 * gdb.dwarf2/fission-loclists.exp: Likewise.
384
385 * gdb.dwarf2/fission-multi-cu.S: Delete file.
386 * gdb.dwarf2/fission-multi-cu.c: New file based on old
387 fission-multi-cu1.c and fission-multi-cu2.c files.
388 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
389 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
390 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
391 * gdb.dwarf2/fission-reread.exp: Likewise.
392 * lib/dwarf.exp (extract_dwo_information): New proc.
393 (strip_dwo_information): New proc.
394 (build_executable_and_dwo_files): New proc.
395 (build_executable_from_fission_assembler): Delete.
396 (Dwarf::_debug_addr_index): New variable.
397 (Dwarf::_cu_is_fission): New variable.
398 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
399 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
400 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
401 if this is a fission CU.
402 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
403 (Dwarf::debug_addr_label): New proc.
404 (Dwarf::cu): Initialise _cu_is_fission.
405 (Dwarf::tu): Likewise.
406 (Dwarf::assemble): Initialise _debug_addr_index.
407
1fd999d9
AB
4082021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
409
410 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
411
79c02443
AB
4122021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
413
414 * gdb.python/py-parameter.exp: Add test for reading data-directory
415 using gdb.parameter API.
416
340d00fb
TV
4172021-04-06 Tom de Vries <tdevries@suse.de>
418
419 PR breakpoints/25884
420 * gdb.opt/inline-cmds.exp: Remove kfail.
421
043bcbaf
TV
4222021-04-06 Tom de Vries <tdevries@suse.de>
423
424 PR testsuite/27691
425 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
426 file "".
427
ac628a06
EB
4282021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
429
430 * lib/pdtrace.in: Fix obvious typo.
431
3f49d080
TT
4322021-03-31 Tom Tromey <tromey@adacore.com>
433
434 * lib/dwarf.exp (Dwarf::_get_args): New proc.
435 (Dwarf::_location): Use it.
436
cfcbd506
TV
4372021-03-31 Tom de Vries <tdevries@suse.de>
438
439 PR testsuite/27667
440 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
441
8a91fbdf
SM
4422021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
443
444 PR gdb/27541
445 * gdb.base/index-cache-load-twice.exp: Remove.
446 * gdb.base/index-cache-load-twice.c: Remove.
447 * gdb.dwarf2/per-bfd-sharing.exp: New.
448 * gdb.dwarf2/per-bfd-sharing.c: New.
449
b953e703
TV
4502021-03-30 Tom de Vries <tdevries@suse.de>
451
452 PR testsuite/27604
453 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
454
aa33ea68
TBA
4552021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
456
457 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
458 the infinite loop to avoid a Clang bug.
459
99066782
WS
4602021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
461
462 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
463 names for uniqueness.
464 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
465 uniqueness.
466
b1f3973b
AB
4672021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
468
469 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
470 member.
471 (make_container): Initialise is_array_p.
472 * gdb.python/py-prettyprint.exp: Add new tests.
473 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
474 Check is_array_p and possibly return 'array'.
475
3c2dcf90
AB
4762021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
477
478 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
479 * gdb.cp/casts.exp: Give tests unique names.
480 * gdb.cp/filename.exp: Likewise.
481 * gdb.cp/gdb2495.exp: Likewise.
482 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
483 * gdb.cp/misc.exp: Rename test to make it unique.
484 * gdb.cp/nsnested.exp: Give tests unique names.
485 * gdb.cp/ovldbreak.exp: Likewise.
486 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
487 being tested. This also removes the duplicate test name.
488 * gdb.cp/ref-types.exp: Likewise.
489 * gdb.cp/temargs.exp: Likewise.
490
6b78370d
AB
4912021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
492
493 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
494 square brackets in test.
495
baecbb3d
AB
4962021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
497
498 * gdb.cp/maint.exp (test_first_component): Run more tests with a
499 variable number of spaces, this removes the duplicate testing of
500 'operator ->' which existed before.
501
6e892297
AB
5022021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
503
504 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
505 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
506 duplicates, and also to avoid having a string inside parentheses
507 at the end of test names.
508
ac45a6ca
AB
5092021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
510
511 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
512 Avoid repeated uses of 'runto', and instread just progress once
513 through the test stopping at different breakpoints. Give comments
514 a capital letter and full stop. Give duplicate tests unique names.
515
323fd5b9
PA
5162021-03-25 Pedro Alves <pedro@palves.net>
517
518 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
519 "target_non_stop" parameter and use it.
520 (top level): Add "maint set target-non-stop on/off" testing axis.
521
ba3c61fc
AB
5222021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
523
524 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
525 gdb_test_multiple.
526
bf0aecce
LM
5272021-03-24 Luis Machado <luis.machado@linaro.org>
528
529 * gdb.arch/aarch64-mte.c: New file.
530 * gdb.arch/aarch64-mte.exp: New test.
531 * gdb.base/memtag.c: New file.
532 * gdb.base/memtag.exp: New test.
533 * lib/gdb.exp (supports_memtag): New function.
534
bef382e6
LM
5352021-03-24 Luis Machado <luis.machado@linaro.org>
536
537 * gdb.base/options.exp: Adjust for new print options.
538 * gdb.base/with.exp: Likewise.
539
702cf3f5
AB
5402021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
541
542 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
543 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
544
1e7fcccb
AB
5452021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
546
547 * gdb.dwarf2/dw2-using-debug-str.c: New file.
548 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
549 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
550 not .debug_string.
551
4829711b
TT
5522021-03-20 Tom Tromey <tom@tromey.com>
553
554 * gdb.base/maint.exp: Update "maint print statistics" output.
555
e0d6d274
KB
5562021-03-19 Kevin Buettner <kevinb@redhat.com>
557
558 * lib/gdbserver-support.exp (gdbserver_exit): Use the
559 "-nowait" flag when waiting for gdbserver to exit.
560
a088215a
SST
5612021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
562
563 * gdb.base/info-macros.exp: Append -fdebug-macro to
564 additional_flags for clang.
565 * gdb.base/macscp.exp: Likewise.
566 * gdb.base/style.exp: Likewise.
567 * gdb.linespec/macro-relative.exp: Likewise.
568
d0c99a23
SM
5692021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
570 Pedro Alves <pedro@palves.net>
571
572 * gdb.base/run-attach-while-running.exp: New.
573 * gdb.base/run-attach-while-running.c: New.
574
7807d76a
AB
5752021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
576
577 * gdb.python/py-framefilter-addr.c: New file.
578 * gdb.python/py-framefilter-addr.exp: New file.
579 * gdb.python/py-framefilter-addr.py: New file.
580
f302f9e2
AB
5812021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
582
583 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
584 Make use of $gdb_test_name instead of creating a separate $test
585 variable.
586 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
587 adding a '($name)' at the end of each test. This also catches the
588 one place where '($name)' was missing, and so caused a duplicate
589 test name.
590 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
591 duplicate test names based on the command being tested.
592 * gdb.threads/signal-command-multiple-signals-pending.exp:
593 Likewise.
594 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
595 avoid duplicate testnames when a test script uses this proc and
596 also gdb_compile_pthreads.
597 * lib/prelink-support.exp (build_executable_own_libs): Use
598 with_test_prefix to avoid duplicate test names when we call
599 build_executable twice.
600
6813ceb0
TT
6012021-03-15 Tom Tromey <tromey@adacore.com>
602
603 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
604
3b5c4de0
TT
6052021-03-15 Tom Tromey <tromey@adacore.com>
606
607 * gdb.ada/varsize_limit.exp: Add new test.
608 * gdb.ada/varsize_limit/vsizelim.adb: Update.
609
c04da66c
TT
6102021-03-15 Tom Tromey <tromey@adacore.com>
611
612 * gdb.ada/operator_call/twovecs.ads: New file.
613 * gdb.ada/operator_call/twovecs.adb: New file.
614 * gdb.ada/operator_call/opcall.adb: New file.
615 * gdb.ada/operator_call.exp: New file.
616
1ac74522
TT
6172021-03-15 Tom Tromey <tromey@adacore.com>
618
619 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
620 * gdb.ada/enums_overload/enums_overload.ads: New file.
621 * gdb.ada/enums_overload/enums_overload.adb: New file.
622 * gdb.ada/enums_overload.exp: New file.
623
207582c0
TT
6242021-03-15 Tom Tromey <tromey@adacore.com>
625
626 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
627 Declare.
628 * gdb.ada/assign_arr/target_wrapper.adb: New file.
629 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
630 Call Put.
631 * gdb.ada/assign_arr.exp: Update.
632
ba6a0ef3
AB
6332021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
634
635 * gdb.python/py-auto-load-chaining-f1.c: New file.
636 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
637 * gdb.python/py-auto-load-chaining-f2.c: New file.
638 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
639 * gdb.python/py-auto-load-chaining.c: New file.
640 * gdb.python/py-auto-load-chaining.exp: New file.
641
7f99d636
AB
6422021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
643
644 * gdb.python/py-bad-printers.exp: Extend test names to make them
645 unique.
646 * gdb.python/py-events.exp: Likewise.
647 * gdb.python/py-finish-breakpoint2.exp: Likewise.
648 * gdb.python/py-frame-inline.exp: Likewise.
649 * gdb.python/py-frame.exp: Likewise.
650 * gdb.python/py-infthread.exp: Likewise.
651
323b848c
AB
6522021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
653
654 * gdb.python/py-value-cc.exp: Remove a duplicate test.
655
8a4efb36
AB
6562021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
657
658 * gdb.python/lib-types.exp: Update the test to check the correct
659 python variable.
660
66bb1dd9
AB
6612021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
662
663 * gdb.python/py-explore-cc.exp: Extend test names to make them
664 unique.
665
0125fabc
AB
6662021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
667
668 * gdb.python/py-lookup-type.exp: Remove duplicate test.
669
79d04157
AB
6702021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
671
672 * gdb.python/py-symtab.exp: Extend test names to make them
673 unique.
674
e3e48d8f
AB
6752021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
676
677 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
678 names unique.
679
2cb60e74
AB
6802021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
681
682 * gdb.python/py-block.exp: Give tests unique names.
683
8b12ded4
AB
6842021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
685
686 * gdb.python/py-pp-maint.exp: Extend test names to make them
687 unique.
688
93598ea4
AB
6892021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
690
691 * gdb.python/py-explore.exp: Add with_test_prefix to make test
692 names unique.
693
f35d6971
AB
6942021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
695
696 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
697
22d3e7f6
AB
6982021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
699
700 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
701 names unique.
702
5fc5a1b8
AB
7032021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
704
705 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
706 test names unique.
707
e3141a4d
AB
7082021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
709
710 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
711 unique.
712
ccdc02ed
TT
7132021-03-09 Tom Tromey <tromey@adacore.com>
714
715 * gdb.base/cast-call.exp: New file.
716 * gdb.base/cast-call.c: New file.
717
fbb1aace
AB
7182021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
719
720 * gdb.gdb/python-helper.exp: New file.
721
611aa09d
FW
7222020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
723
724 * gdb.fortran/intrinsics.exp: Add LOC tests.
725
eef32f59
AB
7262021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
727
728 * gdb.fortran/shape.exp: New file.
729 * gdb.fortran/shape.f90: New file.
730
7ba155b3
AB
7312021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
732
733 * gdb.fortran/size.exp: New file.
734 * gdb.fortran/size.f90: New file.
735
e14816a8
AB
7362021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
737
738 * gdb.fortran/rank.exp: New file.
739 * gdb.fortran/rank.f90: New file.
740
d308ba78
TT
7412021-03-08 Tom Tromey <tom@tromey.com>
742
743 * gdb.fortran/debug-expr.exp: Update tests.
744
d182f279
TT
7452021-03-08 Tom Tromey <tom@tromey.com>
746
747 * gdb.base/debug-expr.exp: Update expected dump output.
748
a7308ce0
TT
7492021-03-06 Tom Tromey <tom@tromey.com>
750
751 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
752 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
753 * gdb.dwarf2/dwznolink.exp: New file.
754
b0a8c2ff
MW
7552021-03-05 Mark Wielaard <mark@klomp.org>
756
757 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
758
844be3f2
WP
7592021-03-06 Weimin Pan <weimin.pan@oracle.com>
760
761 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
762
82333781
MM
7632021-03-03 Markus Metzger <markus.t.metzger@intel.com>
764
765 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
766
32c52999
MM
7672021-03-03 Markus Metzger <markus.t.metzger@intel.com>
768
769 * gdb.btrace/non-stop.exp: Adjust expected source lines.
770
26ed1478
MM
7712021-03-03 Markus Metzger <markus.t.metzger@intel.com>
772
773 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
774
d2c5f24e
MM
7752021-03-03 Markus Metzger <markus.t.metzger@intel.com>
776
777 * gdb.btrace/exception.cc (main): Update test source.
778 * gdb.btrace/exception.exp: Update patterns.
779 * gdb.btrace/function_call_history.exp: Likewise.
780
c7c7253a
MM
7812021-03-03 Markus Metzger <markus.t.metzger@intel.com>
782
783 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
784
f0778fc1
MM
7852021-03-03 Markus Metzger <markus.t.metzger@intel.com>
786
787 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
788 reverse-continue to breakpoint.
789
e71dbd03
MM
7902021-03-03 Markus Metzger <markus.t.metzger@intel.com>
791
792 * gdb.btrace/delta.exp: Remove instruction-history and
793 function-call-history checks.
794
b93a3ed0
MM
7952021-03-03 Markus Metzger <markus.t.metzger@intel.com>
796
797 * README (Note): Add nopie_ldflag.
798 * lib/gdb.exp (gdb_compile): Extend nopie handling.
799
bbcdf9ab
TT
8002021-03-02 Tom Tromey <tromey@adacore.com>
801
802 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
803 encodings.
804
bb3a4efe
LS
8052021-02-27 Lancelot Six <lsix@lancelotix.com>
806
807 PR gdb/27393
808 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
809
810
573dc0cc
TT
8112021-02-26 Tom Tromey <tom@tromey.com>
812
813 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
814
f8218786
JV
8152021-02-26 Jan Vrany <jan.vrany@labware.com>
816
817 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
818 Remove trailing \n from expected output.
819
cb51b708
MM
8202021-02-26 Markus Metzger <markus.t.metzger@intel.com>
821
822 * lib/gdb.exp (use_gdb_stub): Extend comment.
823
64d38fdd
JM
8242021-02-25 Jan Matyas <jmatyas@codasip.com>
825
826 PR gdb/26819
827 * gdb.server/stop-reply-no-thread.exp: Add two test
828 scenarios that cover remote targets which do not have
829 the concept of threads.
830
d4ff3cbf
AB
8312021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
832
833 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
834
68337b8b
AB
8352021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
836
837 PR fortran/26155
838 * gdb.fortran/call-no-debug-func.f90: New file.
839 * gdb.fortran/call-no-debug-prog.f90: New file.
840 * gdb.fortran/call-no-debug.exp: New file.
841
faeb9f13
AB
8422021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
843
844 * gdb.fortran/associated.exp: New file.
845 * gdb.fortran/associated.f90: New file.
846
170f4b23
AB
8472021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
850
dd80d750
AB
8512021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
852
853 * gdb.base/sect-cmd.exp: Update expected results.
854
b91919ac
AB
8552021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
856
857 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
858 techniques. Enable the test for all targets.
859
02a79309
AB
8602021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
861
862 * gdb.base/maint-info-sections.exp: Add new tests.
863 (check_maint_info_target_sections_output): New proc.
864
895b7b4e
AB
8652021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
866
867 * gdb.arch/riscv-default-tdesc.exp: New file.
868
bc3c0632
AB
8692021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
870
871 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
872
acde2092
AB
8732021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
874
875 * gdb.arch/i386-biarch-core.exp: Add target check.
876
7d2e5095
AKS
8772021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
878
879 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
880
96df3e28
AB
8812021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
882
883 * gdb.fortran/allocated.exp: New file.
884 * gdb.fortran/allocated.f90: New file.
885
a1670b72
AB
8862021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
887
888 * gdb.fortran/lbound-ubound.exp: Remove old comment.
889
bf3386f0
AB
8902021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
891
892 * gdb.base/maint-info-sections.exp: Update expected output, and
893 add additional tests. Again.
894
4790db14
AB
8952021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
896
897 * gdb.base/maint-info-sections.exp: Update expected output, and
898 add additional tests.
899
f4be6772
AB
9002021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
901
902 * gdb.base/maint-info-sections.exp: New file, content is moved
903 from gdb.base/maint.exp and cleaned up to use latest testsuite
904 techniques.
905 * gdb.base/maint.exp: Tests moved out to
906 gdb.base/maint-info-sections.exp.
907
25ad1e83
SM
9082021-02-10 Simon Marchi <simon.marchi@efficios.com>
909
910 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
911 GDBFLAGS.
912
e92c8eb8
AB
9132021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
914
915 * gdb.fortran/lbound-ubound.F90: New file.
916 * gdb.fortran/lbound-ubound.exp: New file.
917
ee4c3d88
TV
9182021-02-10 Tom de Vries <tdevries@suse.de>
919
920 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
921 "Restore saved setting of complaints".
922
cf2b2075
TV
9232021-02-09 Tom de Vries <tdevries@suse.de>
924
925 PR symtab/27341
926 * lib/gdb.exp (with_complaints): New proc, factored out of ...
927 (gdb_load_no_complaints): ... here.
928 * gdb.fortran/function-calls.exp: Add test-case.
929
b61f7811
HAQ
9302021-02-09 Abid Qadeer <abidh@codesourcery.com>
931
932 * gdb.threads/signal-command-handle-nopass.exp: Call
933 'standard_testfile' before using 'testfile'.
934 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
935 * gdb.threads/signal-delivered-right-thread.exp: Likewise
936 * gdb.threads/signal-sigtrap.exp: Likewise
937
3d4aae48
LM
9382021-02-08 Luis Machado <luis.machado@linaro.org>
939
940 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
941
4001d90d
TV
9422021-02-08 Tom de Vries <tdevries@suse.de>
943
944 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
945
29db1eb3
AB
9462021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
947
948 * gdb.python/tui-window-disabled.c: New file.
949 * gdb.python/tui-window-disabled.exp: New file.
950 * gdb.python/tui-window-disabled.py: New file.
951
e0c23e11
AB
9522021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
953
954 * gdb.python/tui-window.exp: Add new tests.
955 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
956 TestWindow object into global the_window.
957 <remote_title>: New method.
958 (delete_window_title): New function.
959
1cf23996
AB
9602021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
961
962 * gdb.tui/winheight.exp: Add more tests.
963
2708dbbd
AB
9642021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
965
966 * gdb.python/py-framefilter.exp: Update expected results.
967 * gdb.python/python.exp: Update expected results.
968
cd074e04
AB
9692021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
970
971 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
972 about bug in GDB, update expected results, and add more tests.
973
5fb97639
AB
9742021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
975
976 * gdb.tui/scroll.exp: New file.
977 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
978 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
979 remaining lines up.
980 (Term::check_region_contents): New proc.
981 (Term::check_box_contents): Use check_region_contents.
982
c0e56745
TV
9832021-02-06 Tom de Vries <tdevries@suse.de>
984
985 PR testsuite/26922
986 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
987 scrolling.
988
0e857c82
TV
9892021-02-05 Tom de Vries <tdevries@suse.de>
990
991 PR breakpoints/27313
992 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
993 rejected.
994
a22ec6e8
TV
9952021-02-05 Tom de Vries <tdevries@suse.de>
996
997 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
998 * gdb.fortran/mixed-lang-stack.exp: Same.
999
ae710496
TV
10002021-02-05 Tom de Vries <tdevries@suse.de>
1001
1002 PR exp/27265
1003 * gdb.base/complex-parts.exp: Add tests.
1004
d3b54e63
TV
10052021-02-05 Tom de Vries <tdevries@suse.de>
1006
1007 PR symtab/27307
1008 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
1009
3eccb1c8
SV
10102021-02-04 Shahab Vahedi <shahab@synopsys.com>
1011
1012 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
1013
a71501e2
PA
10142021-02-03 Pedro Alves <pedro@palves.net>
1015
1016 * gdb.threads/detach-step-over.c: New file.
1017 * gdb.threads/detach-step-over.exp: New file.
1018
92234eb1
PA
10192021-02-03 Pedro Alves <pedro@palves.net>
1020
1021 * gdb.threads/attach-non-stop.c: New file.
1022 * gdb.threads/attach-non-stop.exp: New file.
1023
2e3773ff
LS
10242021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1025
1026 * gdb.base/inferior-noarg.c: New test.
1027 * gdb.base/inferior-noarg.exp: New test.
1028
e0bd9202
SM
10292021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
1030
1031 * gdb.base/scope.exp: Use proc_with_prefix.
1032
9307efbe
SM
10332021-02-02 Simon Marchi <simon.marchi@efficios.com>
1034
1035 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
1036 table proc.
1037 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
1038 .debug_rnglists table without offset array.
1039 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1040 .debug_loclists table without offset array.
1041
2b0c7f41
SM
10422021-02-02 Simon Marchi <simon.marchi@efficios.com>
1043
1044 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
1045 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
1046 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1047 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
1048 attribute
1049
ecfda20d
SM
10502021-02-02 Simon Marchi <simon.marchi@efficios.com>
1051
1052 PR gdb/26813
1053 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
1054 (loclists): New proc.
1055 * gdb.dwarf2/loclists-multiple-cus.c: New.
1056 * gdb.dwarf2/loclists-multiple-cus.exp: New.
1057 * gdb.dwarf2/loclists-sec-offset.c: New.
1058 * gdb.dwarf2/loclists-sec-offset.exp: New.
1059
6b0933da
SM
10602021-02-02 Simon Marchi <simon.marchi@efficios.com>
1061
1062 * lib/dwarf.exp (_location): Add parameters.
1063 (_handle_DW_FORM): Adjust.
1064
962effa7
SM
10652021-02-02 Simon Marchi <simon.marchi@efficios.com>
1066
1067 PR gdb/26813
1068 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
1069 (cu): Generate header for DWARF 5.
1070 (rnglists): New proc.
1071 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
1072 * gdb.dwarf2/rnglists-sec-offset.exp: New.
1073
2bd3e4b8
TV
10742021-02-02 Tom de Vries <tdevries@suse.de>
1075
1076 PR symtab/24620
1077 * gdb.dwarf2/fission-reread.exp: Add test-case.
1078
c39c8637
TV
10792021-02-01 Tom de Vries <tdevries@suse.de>
1080
1081 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
1082 * gdb.dwarf2/fission-loclists-pie.S: Same.
1083 * gdb.dwarf2/fission-loclists.S: Same.
1084 * gdb.dwarf2/fission-multi-cu.S: Same.
1085 * gdb.dwarf2/fission-reread.S: Same.
1086 * gdb.dwarf2/fission-base.exp: Use DWO.
1087 * gdb.dwarf2/fission-loclists-pie.exp: Same.
1088 * gdb.dwarf2/fission-loclists.exp: Same.
1089 * gdb.dwarf2/fission-multi-cu.exp: Same.
1090 * gdb.dwarf2/fission-reread.exp: Same.
1091
ebde6f2d
TV
10922021-01-29 Tom de Vries <tdevries@suse.de>
1093
1094 PR breakpoints/26063
1095 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1096 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1097
620ec3ca
TV
10982021-01-29 Tom de Vries <tdevries@suse.de>
1099
1100 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1101
cdeba395
TV
11022021-01-28 Tom de Vries <tdevries@suse.de>
1103
1104 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1105 in the backtrace, and use that in the rest of the test instead of
1106 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1107
c47b145e
TV
11082021-01-28 Tom de Vries <tdevries@suse.de>
1109
1110 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1111 * gdb.arch/i386-sse-stack-align.c: Same.
1112 * gdb.arch/i386-sse-stack-align.exp: Same.
1113
47918cca
AB
11142021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1115
1116 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1117
2f985dd1
TV
11182021-01-28 Tom de Vries <tdevries@suse.de>
1119
1120 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1121
22efa3d3
TV
11222021-01-28 Tom de Vries <tdevries@suse.de>
1123
1124 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1125 "maint info line-table". Make PASS pattern more specific. Make
1126 FAIL pattern work for -m32.
1127
59b59f08
LS
11282021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1129
1130 PR gdb/27133
1131 * gdb.base/ui-redirect.exp: Add test case that ensures that
1132 redirecting both logging and debug does not cause gdb to crash.
1133
1134
807f647c
MM
11352021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1136
1137 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1138
4ca40594
TV
11392021-01-26 Tom de Vries <tdevries@suse.de>
1140
1141 * gdb.threads/killed-outside.exp: Allow regular output.
1142
d0021af3
TV
11432021-01-26 Tom de Vries <tdevries@suse.de>
1144
1145 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1146
9f6c202e
TV
11472021-01-25 Tom de Vries <tdevries@suse.de>
1148
1149 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1150 * lib/gdb.exp: Use gdb_load_no_complaints.
1151
a625a8c9
TT
11522021-01-25 Tom Tromey <tromey@adacore.com>
1153
1154 * gdb.ada/fixed_points.exp: Add regression test.
1155 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1156 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1157
19184910
TT
11582021-01-25 Tom Tromey <tromey@adacore.com>
1159
1160 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1161
acd6125f
TT
11622021-01-25 Tom Tromey <tromey@adacore.com>
1163
1164 * gdb.ada/local-enum.exp: New file.
1165 * gdb.ada/local-enum/local.adb: New file.
1166
1af4c9c4
TT
11672021-01-23 Tom Tromey <tom@tromey.com>
1168
1169 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1170
705646c0
BE
11712021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1172
1173 * gdb.base/line65535.exp: Fix test expectation.
1174
0ac85db5
SM
11752021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1176
1177 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1178 suppression.
1179 (default_gdb_exit): Likewise.
1180 (default_gdb_spawn): Likewise.
1181 (send_gdb): Likewise.
1182 (gdb_expect): Likewise.
1183 (gdb_expect_list): Likewise.
1184 (default_gdb_init): Likewise.
1185 (gdb_suppress_entire_file): Remove.
1186 (gdb_suppress_tests): Remove.
1187 (gdb_stop_suppressing_tests): Remove.
1188 (gdb_clear_suppressed): Remove.
1189 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1190 related to test suppression.
1191 (default_mi_gdb_start): Likewise.
1192 (mi_gdb_reinitialize_dir): Likewise.
1193 (mi_gdb_test): Likewise.
1194 (mi_run_cmd_full): Likewise.
1195 (mi_runto_helper): Likewise.
1196 (mi_execute_to): Likewise.
1197 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1198 * gdb.base/bitfields.exp: Likewise.
1199 * gdb.base/bitfields2.exp: Likewise.
1200 * gdb.base/break.exp: Likewise.
1201 * gdb.base/call-sc.exp: Likewise.
1202 * gdb.base/callfuncs.exp: Likewise.
1203 * gdb.base/dfp-test.exp: Likewise.
1204 * gdb.base/endian.exp: Likewise.
1205 * gdb.base/exprs.exp: Likewise.
1206 * gdb.base/funcargs.exp: Likewise.
1207 * gdb.base/hbreak2.exp: Likewise.
1208 * gdb.base/recurse.exp: Likewise.
1209 * gdb.base/scope.exp: Likewise.
1210 * gdb.base/sepdebug.exp: Likewise.
1211 * gdb.base/structs.exp: Likewise.
1212 * gdb.base/until.exp: Likewise.
1213 * gdb.cp/misc.exp: Likewise.
1214
9d2d8a16
AB
12152021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1216
1217 PR cli/25956
1218 * gdb.base/style.exp (run_style_tests): Add version string test.
1219 (test_startup_version_string): Use version style name.
1220 * lib/gdb-utils.exp (style): Handle version style name.
1221
e7b43072
AB
12222021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1223
1224 * gdb.base/style.exp (limited_style): New proc.
1225 (clean_restart_and_disable): New proc.
1226 (run_style_tests): New proc. Most of the old tests from this file
1227 are now in this proc.
1228 (test_startup_version_string): New proc. Reamining test from the
1229 old file is in this proc.
1230
2189c312
SM
12312021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1232
1233 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1234 Adjust to "set debug remote" changes.
1235
cd211c75
LM
12362021-01-21 Luis Machado <luis.machado@linaro.org>
1237
1238 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1239 message.
1240
730af663
SM
12412021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1242
1243 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1244
325d39e4
HD
12452021-01-21 Hannes Domani <ssbssa@yahoo.de>
1246
1247 PR python/19151
1248 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1249
c3e96aa7
SM
12502021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1251
1252 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1253
6571ffc6
SM
12542021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1255
1256 * lib/tuiterm.exp: Add links in comments.
1257
7c794afd
TV
12582021-01-20 Tom de Vries <tdevries@suse.de>
1259
1260 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1261 offset.
1262
1402665c
TV
12632021-01-20 Tom de Vries <tdevries@suse.de>
1264
1265 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1266
6f52fdf4
SDJ
12672021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1268
1269 * gdb.arch/amd64-stap-expressions.S: New file.
1270 * gdb.arch/amd64-stap-expressions.exp: New file.
1271
14852123
TV
12722021-01-19 Tom de Vries <tdevries@suse.de>
1273
1274 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1275 sequence.
1276
0c4e2c6c
TV
12772021-01-19 Tom de Vries <tdevries@suse.de>
1278
1279 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1280
02baa133
AB
12812021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1282
1283 * gdb.fortran/array-slices.exp (run_test): Avoid including
1284 addresses in test names.
1285
10f92414
TV
12862021-01-15 Tom de Vries <tdevries@suse.de>
1287
1288 PR testsuite/26997
1289 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1290 when adding sizeof.
1291
116d0cf1
TV
12922021-01-14 Tom de Vries <tdevries@suse.de>
1293
1294 PR testsuite/24590
1295 * gdb.base/style.exp: Handle shorter argv in frame command output.
1296
8f66807b
AB
12972021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1298
1299 PR gdb/26819
1300 * gdb.server/stop-reply-no-thread-multi.c: New file.
1301 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1302
3f94e588
TV
13032021-01-12 Tom de Vries <tdevries@suse.de>
1304
1305 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1306 (main): Remove call to have_mpx.
1307 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1308 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1309 (main): Remote call to have_mpx.
1310 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1311 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1312 (main): Remove call to have_mpx.
1313 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1314 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1315 (main): Remove call to have_mpx.
1316 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1317 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1318 (main): Remote call to have_mpx.
1319 * gdb.arch/i386-mpx.exp: Use have_mpx.
1320 * lib/gdb.exp (have_mpx): New proc.
1321
5291fe3c
SP
13222021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1323
1324 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1325
18bfb505
TV
13262021-01-12 Tom de Vries <tdevries@suse.de>
1327
1328 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1329
ce38f5ed
AB
13302021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1331
1332 * gdb.fortran/debug-expr.exp: Add new tests.
1333
7c654b71
AB
13342021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1335
1336 * gdb.fortran/dot-ops.exp: Add new tests.
1337
10dadadc
TV
13382021-01-11 Tom de Vries <tdevries@suse.de>
1339
1340 PR testsuite/26968
1341 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1342 Move insn setting $eax to before probe point.
1343
66beed02
TT
13442021-01-09 Tom Tromey <tom@tromey.com>
1345
1346 * gdb.trace/ax.exp: Do not require an "ext".
1347
8fc48b79
TT
13482021-01-08 Tom Tromey <tromey@adacore.com>
1349
1350 * gdb.ada/voidctx/pck.adb: New file.
1351 * gdb.ada/voidctx/pck.ads: New file.
1352 * gdb.ada/voidctx/voidctx.adb: New file.
1353 * gdb.ada/voidctx.exp: New file.
1354
6abd4cf2
SM
13552021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1356
1357 PR gdb/27157
1358 * gdb.base/empty-host-env-vars.exp: New test.
1359
d00f0868
AB
13602021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1361
1362 * gdb.base/completion.exp: Add a new test.
1363
3c8c6de2
AB
13642021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1365
1366 * gdb.fortran/intvar-dynamic-types.exp: New file.
1367 * gdb.fortran/intvar-dynamic-types.f90: New file.
1368
e3436813
AB
13692021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1370
1371 * gdb.fortran/intvar-array.exp: New file.
1372 * gdb.fortran/intvar-array.f90: New file.
1373
d4813f10
TT
13742021-01-07 Tom Tromey <tromey@adacore.com>
1375
1376 * gdb.ada/assign_arr.exp: Add 'others' test.
1377
b49180ac
TT
13782021-01-06 Tom Tromey <tromey@adacore.com>
1379
1380 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1381 (FP4_Type): New type.
1382 (FP4_Var): New variable.
1383 * gdb.ada/fixed_points/fixed_points.adb: Update.
1384 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1385
3c55062c
SM
13862021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1387
1388 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1389 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1390 Pass prompt containing debug print to gdb_test_sequence.
1391
e4ad960a
TV
13922021-01-04 Tom de Vries <tdevries@suse.de>
1393
1394 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1395
3ec3145c
SM
13962021-01-04 Simon Marchi <simon.marchi@efficios.com>
1397
1398
1399
8dc558a0
SM
14002021-01-04 Simon Marchi <simon.marchi@efficios.com>
1401
1402 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1403 * gdb.server/connect-without-multi-process.exp: Likewise.
1404 * gdb.server/exit-multiple-threads.exp: Likewise.
1405 * gdb.server/ext-attach.exp: Likewise.
1406 * gdb.server/ext-restart.exp: Likewise.
1407 * gdb.server/ext-run.exp: Likewise.
1408 * gdb.server/ext-wrapper.exp: Likewise.
1409 * gdb.server/multi-ui-errors.exp: Likewise.
1410 * gdb.server/no-thread-db.exp: Likewise.
1411 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1412 * gdb.server/run-without-local-binary.exp: Likewise.
1413 * gdb.server/server-kill.exp: Likewise.
1414 * gdb.server/server-run.exp: Likewise.
1415 * gdb.server/solib-list.exp: Likewise.
1416 * gdb.server/stop-reply-no-thread.exp: Likewise.
1417 * gdb.server/wrapper.exp: Likewise.
1418 * gdb.server/sysroot.exp: Increase timeout when testing the
1419 target: sysroot.
1420
d8387cc8
SM
14212021-01-04 Simon Marchi <simon.marchi@efficios.com>
1422
1423 * gdb.server/server-run.exp: Use clean_restart.
1424
5169ae34
SM
14252021-01-04 Simon Marchi <simon.marchi@efficios.com>
1426
1427 * gdb.server/ext-run.exp: Use clean_restart.
1428
7b0ff8a2
SM
14292021-01-04 Simon Marchi <simon.marchi@efficios.com>
1430
1431 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1432 instead of prepare_for_testing.
1433
a754fbdf
SM
14342021-01-04 Simon Marchi <simon.marchi@efficios.com>
1435
1436 * gdb.server/solib-list.exp: Use clean_restart.
1437
c5e71b33
TV
14382021-01-04 Tom de Vries <tdevries@suse.de>
1439
1440 * gdb.base/morestack.c: Remove printf.
1441 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1442
9b243007
TT
14432020-12-31 Tom Tromey <tom@tromey.com>
1444
1445 * gdb.rust/simple.exp: Update output for Rust 1.49.
1446
4ff509e7
BE
14472020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1448
1449 * gdb.cp/step-and-next-inline.exp: Fix test case.
1450
391750c3
SM
14512020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1452
1453 * gdb.python/py-frame-args.exp: De-duplicate test names.
1454
b7874836
AB
14552020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1456
1457 PR gdb/27059
1458 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1459 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1460
e1ff6226
PW
14612020-12-21 Peter Waller <p@pwaller.net>
1462
1463 * gdb.base/style-interp-exec-mi.exp: New.
1464 * gdb.base/style-interp-exec-mi.c: New.
1465
ca01f1bf
SM
14662020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1467
1468 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1469 gdb_test. Use proc_with_prefix.
1470
0fe69a94
MM
14712020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1472
1473 * gdb.btrace/exception.exp: Build with nopie.
1474 * gdb.btrace/function_call_history.exp: Likewise.
1475 * gdb.btrace/unknown_functions.exp: Likewise.
1476
806e7575
MM
14772020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1478
1479 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1480
493d2172
MM
14812020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1482
1483 * gdb.python/py-record-btrace.exp: Make test names unique.
1484 * gdb.python/py-record-full.exp: Likewise.
1485
1a1c0afc
MM
14862020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1487
1488 * gdb.btrace/data.exp: Make test names unique.
1489 * gdb.btrace/delta.exp: Likewise.
1490 * gdb.btrace/enable.exp: Likewise.
1491 * gdb.btrace/function_call_history.exp: Likewise.
1492 * gdb.btrace/nohist.exp: Likewise.
1493 * gdb.btrace/non-stop.exp: Likewise.
1494 * gdb.btrace/rn-dl-bind.exp: Likewise.
1495 * gdb.btrace/step.exp: Likewise.
1496 * gdb.btrace/stepi.exp: Likewise.
1497 * gdb.btrace/tailcall.exp: Likewise.
1498
98d837f0
MM
14992020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1500
1501 * gdb.btrace/enable.exp: Update error message.
1502 * gdb.btrace/multi-inferior.exp: Likewise.
1503 * gdb.btrace/reconnect.exp: Likewise.
1504 * gdb.python/py-record-btrace.exp: Likewise.
1505 * gdb.python/py-record-full.exp: Likewise.
1506
c541fa7c
TV
15072020-12-20 Tom de Vries <tdevries@suse.de>
1508
1509 * lib/gdb.exp (save_target_board_info): New proc.
1510 (gdb_compile_shlib): Use save_target_board_info.
1511
60108e47
TV
15122020-12-19 Tom de Vries <tdevries@suse.de>
1513
1514 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1515 (supports_gnuc): New proc.
1516 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1517 test_compiler_info calls. Add unsupported message.
1518 * gdb.base/endianity.c: Use TEST_SSO.
1519
fa639f55
HD
15202020-12-19 Hannes Domani <ssbssa@yahoo.de>
1521
1522 PR exp/27070
1523 * gdb.python/compare-enum-type-a.c: New test.
1524 * gdb.python/compare-enum-type-b.c: New test.
1525 * gdb.python/compare-enum-type.exp: New file.
1526 * gdb.python/compare-enum-type.h: New test.
1527
4aea001f
HD
15282020-12-18 Hannes Domani <ssbssa@yahoo.de>
1529
1530 * gdb.python/py-format-string.exp: Add tests for address keyword.
1531
b3f9469b
HD
15322020-12-18 Hannes Domani <ssbssa@yahoo.de>
1533
1534 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1535
86ef42bd
TT
15362020-12-18 Tom Tromey <tromey@adacore.com>
1537
1538 * gdb.ada/fixed_points.exp: Also run with
1539 -fgnat-encodings=minimal. Update expected output.
1540
93df4a1d
SM
15412020-12-16 Simon Marchi <simon.marchi@efficios.com>
1542
1543 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1544 * gdb.base/continue-all-already-running.exp: Likewise.
1545 * gdb.base/moribund-step.exp: Likewise.
1546 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1547
592995fa
TV
15482020-12-16 Tom de Vries <tdevries@suse.de>
1549
1550 * gdb.base/batch-preserve-term-settings.exp:
1551
1e61189d
TV
15522020-12-16 Tom de Vries <tdevries@suse.de>
1553
1554 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1555 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1556
19007d95
LM
15572020-12-16 Luis Machado <luis.machado@linaro.org>
1558
1559 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1560 pointer-based memory accesses.
1561 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1562 hw watchpoint cases.
1563
a33fc9ae
RK
15642020-12-15 Rae Kim <rae.kim@gmail.com>
1565
1566 * gdb.base/document.exp: New test.
1567
0e5ad442
TT
15682020-12-15 Tom Tromey <tromey@adacore.com>
1569
1570 * gdb.base/style.exp: Add deprecation tests.
1571
60598dbd
SM
15722020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1573
1574 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1575
8cd6d968
MW
15762020-12-14 Mark Wielaard <mark@klomp.org>
1577
1578 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1579 specially, set attr_form_comment to the actual FORM string used.
1580
eab9267c
MW
15812020-12-14 Mark Wielaard <mark@klomp.org>
1582
1583 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1584 _constants(SPECIAL_expr) here, but set it...
1585 (Dwarf::cu): ...here based on _cu_version.
1586
2f413264
TV
15872020-12-14 Tom de Vries <tdevries@suse.de>
1588
1589 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1590 pass -fPIC.
1591 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1592 * gdb.base/break-probes.exp: Same.
1593 * gdb.base/ctxobj.exp: Same.
1594 * gdb.base/dso2dso.exp: Same.
1595 * gdb.base/global-var-nested-by-dso.exp: Same.
1596 * gdb.base/info-shared.exp: Same.
1597 * gdb.base/jit-reader-simple.exp: Same.
1598 * gdb.base/print-file-var.exp: Same.
1599 * gdb.base/skip-solib.exp: Same.
1600 * gdb.btrace/dlopen.exp: Same.
1601
18f1cb1f
TV
16022020-12-14 Tom de Vries <tdevries@suse.de>
1603
1604 PR testsuite/26963
1605 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1606
519155c9
TV
16072020-12-14 Tom de Vries <tdevries@suse.de>
1608
1609 PR testsuite/26962
1610 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1611 cast it to its declared type".
1612
153f6e6c
TV
16132020-12-14 Tom de Vries <tdevries@suse.de>
1614
1615 PR testsuite/26951
1616 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1617 shell prompt.
1618
86b44259
TT
16192020-12-14 Tom Tromey <tromey@adacore.com>
1620
1621 * gdb.ada/nested.exp: Add new tests.
1622 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1623
e26624c6
TT
16242020-12-14 Tom Tromey <tromey@adacore.com>
1625
1626 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1627
a3bdae4e
TT
16282020-12-14 Tom Tromey <tromey@adacore.com>
1629
1630 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1631
862fcbd8
TV
16322020-12-13 Tom de Vries <tdevries@suse.de>
1633
1634 PR testsuite/26953
1635 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1636 attribute support if compiler doesn't support it.
1637
a406a98e
TV
16382020-12-13 Tom de Vries <tdevries@suse.de>
1639
1640 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1641 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1642 source to shared lib. Add ada to options.
1643
5d7e6ed0
TV
16442020-12-13 Tom de Vries <tdevries@suse.de>
1645
1646 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1647 calling gnatbind and gnatlink.
1648
ee9812a0
AB
16492020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1650
1651 * gdb.base/dcache-flush.c: New file.
1652 * gdb.base/dcache-flush.exp: New file.
1653
50a5f187
AB
16542020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1655
1656 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1657 commands.
1658 * gdb.base/killed-outside.exp: Likewise.
1659 * gdb.opt/inline-bt.exp: Likewise.
1660 * gdb.perf/gmonster-null-lookup.py: Likewise.
1661 * gdb.perf/gmonster-print-cerr.py: Likewise.
1662 * gdb.perf/gmonster-ptype-string.py: Likewise.
1663 * gdb.python/py-unwind.exp: Likewise.
1664
19c659f1
AB
16652020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1666
1667 * gdb.base/commands.exp: Update expected results.
1668
9ef6d4a1
AB
16692020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1670
1671 PR cli/15104
1672 * gdb.base/commands.exp: Add additional tests.
1673 * gdb.base/completion.exp: Add additional tests.
1674
1536146f
AB
16752020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1676
1677 * gdb.base/completion.exp: Add additional tests.
1678
346e7e19
TV
16792020-12-11 Tom de Vries <tdevries@suse.de>
1680
1681 PR testsuite/26991
1682 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1683 violations by setting bounds registers if the bounds are passed in the
1684 Bounds Table.
1685
9cd7a95a
TV
16862020-12-11 Tom de Vries <tdevries@suse.de>
1687
1688 PR testsuite/26954
1689 * gdb.base/float128.exp: Detect and handle no mpfr support.
1690
4483a8e7
SM
16912020-12-10 Simon Marchi <simon.marchi@efficios.com>
1692
1693 PR gdb/24694
1694 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1695 calls.
1696
10067028
TV
16972020-12-10 Tom de Vries <tdevries@suse.de>
1698
1699 PR testsuite/26947
1700 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1701 braces for tcl 8.5 and earlier.
1702
5b56203a
SM
17032020-12-09 Simon Marchi <simon.marchi@efficios.com>
1704
1705 PR 26875, PR 26901
1706 * gdb.base/flexible-array-member.c: New test.
1707 * gdb.base/flexible-array-member.exp: New test.
1708
b46551b2
TV
17092020-12-08 Tom de Vries <tdevries@suse.de>
1710
1711 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1712 using is_amd64_regs_target.
1713
8439f446
TV
17142020-12-08 Tom de Vries <tdevries@suse.de>
1715
1716 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1717 self_id.
1718
bc545da7
PA
17192020-12-07 Pedro Alves <pedro@palves.net>
1720
1721 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1722 'additional_flags' variable.
1723
1f58f6c2
TBA
17242020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1725
1726 * gdb.linespec/explicit.exp: Extend with a test to check completing
1727 '-' after seemingly complete options.
1728
5759831a
TBA
17292020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1730
1731 * gdb.linespec/keywords.exp: Add tests to check positional
1732 flexibility of "-force-condition".
1733
21e051b3
TBA
17342020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1735
1736 * gdb.base/bp-cmds-run-with-ex.c: New file.
1737 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1738 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1739 * gdb.gdb/python-interrupts.exp: Update the call to
1740 'catch_command_errors' with the new argument.
1741 * gdb.gdb/python-selftest.exp: Ditto.
1742
187b041e
SM
17432020-12-04 Simon Marchi <simon.marchi@efficios.com>
1744
1745 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1746 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1747 * gdb.threads/non-stop-fair-events.exp: Likewise.
1748
3b7a962d
SM
17492020-12-04 Simon Marchi <simon.marchi@efficios.com>
1750
1751 * gdb.threads/step-over-exec.exp: New.
1752 * gdb.threads/step-over-exec.c: New.
1753 * gdb.threads/step-over-exec-execd.c: New.
1754 * lib/my-syscalls.S: New.
1755 * lib/my-syscalls.h: New.
1756
e633b117
SM
17572020-12-04 Simon Marchi <simon.marchi@efficios.com>
1758
1759 * lib/dwarf.exp (declare_labels): Use name as text if text is
1760 not provided.
1761
67748e0f
TV
17622020-12-04 Tom de Vries <tdevries@suse.de>
1763
1764 PR testsuite/26990
1765 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1766 are unsupported.
1767
a8d13675
TV
17682020-12-04 Tom de Vries <tdevries@suse.de>
1769
1770 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1771 clause.
1772
f17727b3
TV
17732020-12-04 Tom de Vries <tdevries@suse.de>
1774
1775 * gdb.reverse/insn-reverse.exp: Fix count handling.
1776
a1499830
TV
17772020-12-04 Tom de Vries <tdevries@suse.de>
1778
1779 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1780 __x86_64__.
1781
9c027c2f
TV
17822020-12-04 Tom de Vries <tdevries@suse.de>
1783
1784 * gdb.reverse/insn-reverse.c (test_nr): New var.
1785 (usage, parse_args): New function.
1786 (main): Call parse_args. Only run test for test_nr.
1787 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1788 and bail out. Run subtests individually, using an inferior arg
1789 specifying the subtest.
1790
533b2ae0
AB
17912020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1792
1793 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1794
e4502042
AB
17952020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1796
1797 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1798 update test to use this.
1799
f55a9a37
SM
18002020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1801
1802 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1803
0a6155a0
SM
18042020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1805
1806 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1807 (do_test): Don't use with_test_prefix.
1808 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1809 (do_test): Don't use with_test_prefix.
1810 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1811 (do_test): Don't use with_test_prefix.
1812 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1813 (do_test): Don't use with_test_prefix.
1814
4d56d64a
SM
18152020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1816
1817 * gdb.threads/non-ldr-exit.exp: Fix comment.
1818
54e75f29
AB
18192020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1820
1821 * gdb.xml/maint-xml-dump-03.xml: New file.
1822
7ce05d21
TV
18232020-11-30 Tom de Vries <tdevries@suse.de>
1824
1825 PR symtab/26905
1826 * gdb.dwarf2/count.exp: Remove kfails.
1827
50757f95
TBA
18282020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1829
1830 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1831 indices.
1832
4afa9fd9
JB
18332020-11-24 Joel Brobecker <brobecker@adacore.com>
1834
1835 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1836 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1837 languages. Remove the associated setup_xfail.
1838
15a491af
SM
18392020-11-23 Simon Marchi <simon.marchi@efficios.com>
1840
1841 * lib/gdb.exp (gdb_assert): Show error message on error.
1842
891615f0
TV
18432020-11-23 Tom de Vries <tdevries@suse.de>
1844
1845 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1846 * gdb.ada/mod_from_name.exp: Same.
1847 * gdb.ada/pckd_arr_ren.exp: Same.
1848
19922582
SM
18492020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1850
1851 * gdb.base/template.exp: New.
1852 * gdb.base/template.c: New.
1853
117c628d
GB
18542020-11-22 Gary Benson <gbenson@redhat.com>
1855
1856 PR gdb/26905
1857 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1858 is defined using a DW_AT_count which references another DIE.
1859
da39d3ba
TV
18602020-11-21 Tom de Vries <tdevries@suse.de>
1861
1862 * gdb.base/vla-ptr.exp: Add XFAIL.
1863
a5c641b5
AB
18642020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1865
1866 * gdb.fortran/array-slices-bad.exp: New file.
1867 * gdb.fortran/array-slices-bad.f90: New file.
1868 * gdb.fortran/array-slices-sub-slices.exp: New file.
1869 * gdb.fortran/array-slices-sub-slices.f90: New file.
1870 * gdb.fortran/array-slices.exp: Rewrite tests.
1871 * gdb.fortran/array-slices.f90: Rewrite tests.
1872 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1873
a15a5258
AB
18742020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1875
1876 * gdb.base/completion.exp: Add new completion tests.
1877
7cb2893d
SM
18782020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1879
1880 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1881 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1882 * gdb.mi/mi-nsintrall.exp: Likewise.
1883 * gdb.mi/mi-nsmoribund.exp: Likewise.
1884 * gdb.mi/mi-nsthrexec.exp: Likewise.
1885 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1886
cf144ec8
SM
18872020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1888
1889 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1890 of perror.
1891
6b6a3e05
JM
18922020-11-18 Joseph Myers <joseph@codesourcery.com>
1893
1894 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1895 $arg.exe exists but $arg does not.
1896
811bdca0
GB
18972020-11-17 Gary Benson <gbenson@redhat.com>
1898
1899 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1900 __attribute__ ((used)).
1901
c72e3136
AB
19022020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1903
1904 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1905
037d7135
AB
19062020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1907
1908 * gdb.base/completion.exp: Add new tests.
1909
119e99bb
TT
19102020-11-16 Tom Tromey <tromey@adacore.com>
1911
1912 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1913 tests.
1914
b74dbc20
JB
19152020-11-15 Joel Brobecker <brobecker@adacore.com>
1916
1917 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1918 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1919 (main): Add reference to pck__fp1_var2.
1920 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1921
0a12719e
JB
19222020-11-15 Joel Brobecker <brobecker@adacore.com>
1923
1924 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1925
0c9150e4
JB
19262020-11-15 Joel Brobecker <brobecker@adacore.com>
1927
1928 * gdb.ada/fixed_points.exp: Add ptype tests.
1929 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1930
b26daff9
JB
19312020-11-15 Joel Brobecker <brobecker@adacore.com>
1932
1933 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1934
09584414
JB
19352020-11-15 Joel Brobecker <brobecker@adacore.com>
1936
1937 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1938 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1939 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1940 New files.
1941 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1942
1943 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1944 New files.
1945
9dd02fc0
AB
19462020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1947
1948 PR cli/26879
1949 * gdb.fortran/completion.exp: New file.
1950 * gdb.fortran/completion.f90: New file.
1951
5643c500
JM
19522020-11-12 Joseph Myers <joseph@codesourcery.com>
1953
1954 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1955 but $arg does not.
1956
7bea47f0
AB
19572020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1958
1959 * gdb.fortran/types.exp: Add more tests.
1960
1f2624a3
TT
19612020-11-12 Tom Tromey <tom@tromey.com>
1962
1963 PR rust/26799:
1964 * gdb.rust/traits.exp: Remove kfails.
1965
9e74f0ae
GB
19662020-11-12 Gary Benson <gbenson@redhat.com>
1967
1968 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1969 statement.
1970
acb994fa
SM
19712020-11-11 Simon Marchi <simon.marchi@efficios.com>
1972
1973 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1974 always-inserted" axis.
1975 (do_test): Add breakpoint_always_inserted parameter.
1976
95016fd2
TT
19772020-11-10 Tom Tromey <tromey@adacore.com>
1978
1979 * gdb.ada/bias.exp: Update.
1980 * gdb.ada/bias/bias.adb (X): Change value.
1981
83100a74
GB
19822020-11-10 Gary Benson <gbenson@redhat.com>
1983
1984 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1985 regexp fragment in parentheses to prevent false matching.
1986
6ff174a7
GB
19872020-11-10 Gary Benson <gbenson@redhat.com>
1988
1989 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1990
eb24648c
GB
19912020-11-10 Gary Benson <gbenson@redhat.com>
1992
1993 * gdb.cp/step-and-next-inline.exp: Only require
1994 -gstatement-frontiers when building with GCC.
1995 Only setup KFAIL's for GCC issues when using
1996 a GCC-built executable.
1997
86775fab
AB
19982020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1999
2000 * gdb.base/debug-expr.c: Add extra function to allow for an
2001 additional test.
2002 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
2003 to this proc with gdb_test_debug_expr. Add an extra test.
2004 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
2005 to this proc with gdb_test_debug_expr, give the tests names
2006 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
2007 calls to this proc with gdb_test_debug_expr, give the tests names
2008 * gdb.fortran/debug-expr.exp: New file.
2009 * gdb.fortran/debug-expr.f90: New file.
2010 * lib/gdb.exp (gdb_test_debug_expr): New proc.
2011
a1945bd4
SM
20122020-11-06 Simon Marchi <simon.marchi@efficios.com>
2013
2014 * lib/dwarf.exp (ranges): Handle "base" and "range" as
2015 proceduresu.
2016 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
2017 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
2018 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
2019 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
2020 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
2021 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
2022 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
2023 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
2024
9c91c725
TT
20252020-11-04 Tom Tromey <tromey@adacore.com>
2026
2027 * gdb.ada/funcall_ref.exp: Update.
2028 * gdb.ada/var_rec_arr.exp: Update.
2029
8d9fd3a1
TT
20302020-11-04 Tom Tromey <tromey@adacore.com>
2031
2032 * gdb.ada/rec_ptype.exp: New file.
2033 * gdb.ada/rec_ptype/main.adb: New file.
2034 * gdb.ada/rec_ptype/p.ads: New file.
2035
d8f62e84
TT
20362020-11-04 Tom Tromey <tromey@adacore.com>
2037
2038 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
2039 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
2040 (PT_Full): New variable.
2041 * gdb.ada/tick_length_array_enum_idx/pck.adb
2042 (Full_PT): New type.
2043
7ff5b937
TT
20442020-11-04 Tom Tromey <tromey@adacore.com>
2045
2046 * gdb.ada/array_of_variant.exp: New file.
2047 * gdb.ada/array_of_variant/p.adb: New file.
2048 * gdb.ada/array_of_variant/pck.ads: New file.
2049 * gdb.ada/array_of_variant/pck.adb: New file.
2050
10f6a3ad
TT
20512020-11-04 Tom Tromey <tromey@adacore.com>
2052
2053 * gdb.ada/enum_idx_packed.exp: Add test.
2054 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
2055 New variable.
2056 * gdb.ada/enum_idx_packed/pck.ads (Short)
2057 (Multi_Dimension, Multi_Dimension_Access): New types.
2058
b72795a8
TT
20592020-11-04 Tom Tromey <tromey@adacore.com>
2060
2061 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
2062
24aa1b02
TT
20632020-11-04 Tom Tromey <tromey@adacore.com>
2064
2065 * gdb.ada/set_pckd_arr_elt.exp: Also test
2066 -fgnat-encodings=minimal. Add tests.
2067 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
2068 Call Update_Small a second time.
2069 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
2070 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
2071 (Variant_Access): New types.
2072 (New_Variant): Declare.
2073
c9a28cbe
TT
20742020-11-04 Tom Tromey <tromey@adacore.com>
2075
2076 * gdb.ada/mod_from_name.exp: Test printing slice.
2077
57567375
TT
20782020-11-04 Tom Tromey <tromey@adacore.com>
2079
2080 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
2081 values.
2082 * gdb.ada/access_to_unbounded_array.exp: Test different
2083 -fgnat-encodings values.
2084 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
2085 values.
2086 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
2087 values.
2088 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
2089 values.
2090 * gdb.ada/array_of_variable_length.exp: Test different
2091 -fgnat-encodings values.
2092 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
2093 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
2094 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2095 change.
2096 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2097 values.
2098 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2099 * gdb.ada/out_of_line_in_inlined.exp: Test different
2100 -fgnat-encodings values.
2101 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2102 values.
2103 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2104 values.
2105 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2106 -fgnat-encodings values.
2107 * gdb.ada/variant_record_packed_array.exp: Test different
2108 -fgnat-encodings values.
2109
a7400e44
TT
21102020-11-04 Tom Tromey <tromey@adacore.com>
2111
2112 * gdb.ada/enum_idx_packed.exp: Add tests.
2113 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2114 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2115 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2116 declarations.
2117
c40907bf
TV
21182020-11-03 Tom de Vries <tdevries@suse.de>
2119
2120 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2121 terminator comments.
2122 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2123 terminator.
2124
f468977a
SM
21252020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2126
2127 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2128 integer format test with regexp.
2129
1c2bec19
GB
21302020-11-02 Gary Benson <gbenson@redhat.com>
2131
2132 * gdb.base/print-file-var.exp (test): Separate compiler and
2133 linker options, and build using build_executable_from_specs
2134 to accommodate this.
2135
6539a36d
GB
21362020-11-02 Gary Benson <gbenson@redhat.com>
2137
2138 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2139 for .c files compiled as C++ with Clang if any shared
2140 libraries are specified.
2141
7ea44a51
GB
21422020-11-02 Gary Benson <gbenson@redhat.com>
2143
2144 * lib/attributes.h: New header.
2145 * gdb.base/backtrace.c: Include the above. Replace
2146 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2147 * gdb.base/infcall-nested-structs.c: Likewise.
2148 * gdb.base/vla-optimized-out.c: Likewise.
2149
ab8f783d
TV
21502020-11-02 Tom de Vries <tdevries@suse.de>
2151
2152 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2153
d77c9224
JB
21542020-11-01 Joel Brobecker <brobecker@adacore.com>
2155
2156 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2157 System.Min_Int and System.Max_Int with smaller hardcoded
2158 constants.
2159
0e5b0dd0
SM
21602020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2161
2162 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2163 * configure: Re-generate.
2164
136821d9
SM
21652020-10-30 Simon Marchi <simon.marchi@efficios.com>
2166
2167 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2168 expected output.
2169
b78b3a29
TBA
21702020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2171
2172 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2173 behavior.
2174 * gdb.base/paginate-bg-execution.exp: Ditto.
2175 * gdb.base/paginate-inferior-exit.exp: Ditto.
2176 * gdb.base/double-prompt-target-event-error.c: Remove.
2177 * gdb.base/double-prompt-target-event-error.exp: Remove.
2178
cfaa8f76
TBA
21792020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2180
2181 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2182 inferiors' and 'detach inferiors' do not change the current
2183 inferior.
2184
0ad0e70c
TV
21852020-10-29 Tom de Vries <tdevries@suse.de>
2186
2187 * gdb.threads/tls.exp: Fix DUPLICATEs.
2188
99cc6b2a
TV
21892020-10-28 Tom de Vries <tdevries@suse.de>
2190
2191 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2192
efe9b873
TV
21932020-10-28 Tom de Vries <tdevries@suse.de>
2194
2195 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2196 * gdb.base/reread.exp: Same.
2197
6b68fd45
TV
21982020-10-28 Tom de Vries <tdevries@suse.de>
2199
2200 * lib/gdb.exp (readnow): Handle arg.
2201 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2202
32a5f98a
TV
22032020-10-28 Tom de Vries <tdevries@suse.de>
2204
2205 * gdb.base/relocate.exp: Update regexp for -readnow.
2206
f93b8760
TV
22072020-10-28 Tom de Vries <tdevries@suse.de>
2208
2209 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2210 -readnow.
2211
1b00ef06
TV
22122020-10-28 Tom de Vries <tdevries@suse.de>
2213
2214 PR symtab/26772
2215 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2216 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2217
364bb903
TV
22182020-10-28 Tom de Vries <tdevries@suse.de>
2219
2220 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2221 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2222 complaint during file command for -readnow.
2223
445a033f
TV
22242020-10-28 Tom de Vries <tdevries@suse.de>
2225
2226 * gdb.cp/nsalias.exp: Fix typo in test name.
2227
fdd67a42
TV
22282020-10-28 Tom de Vries <tdevries@suse.de>
2229
2230 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2231
706baf4c
TV
22322020-10-28 Tom de Vries <tdevries@suse.de>
2233
2234 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2235 -readnow.
2236
b448cca5
TV
22372020-10-27 Tom de Vries <tdevries@suse.de>
2238
2239 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2240
5868da03
TV
22412020-10-27 Tom de Vries <tdevries@suse.de>
2242
2243 * gdb.base/maint.exp: Update for -readnow.
2244
06db6ec3
TV
22452020-10-27 Tom de Vries <tdevries@suse.de>
2246
2247 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2248 -readnow.
2249
934a1764
GB
22502020-10-14 Gary Benson <gbenson@redhat.com>
2251
2252 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2253 "_vptr$Base" as correct, in addition to "_vptr.Base".
2254 (test_mixed): Likewise.
2255
0bf21fbd
GB
22562020-10-27 Gary Benson <gbenson@redhat.com>
2257
2258 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2259 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2260
b1d4d8d1
TBA
22612020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2262
2263 * gdb.base/condbreak.exp: Update the completion tests to
2264 consider the '-force' flag.
2265
bd24c5d6
TV
22662020-10-27 Tom de Vries <tdevries@suse.de>
2267
2268 * gdb.base/list-ambiguous-readnow.exp: New file.
2269
733d554a
TBA
22702020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2271
2272 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2273 the condition.
2274 * gdb.linespec/cpcompletion.exp: Update to consider the
2275 '-force-condition' keyword.
2276 * gdb.linespec/explicit.exp: Ditto.
2277 * lib/completion-support.exp: Ditto.
2278
b5fa468f
TBA
22792020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2280
2281 * gdb.base/condbreak-multi-context.cc: New file.
2282 * gdb.base/condbreak-multi-context.exp: New file.
2283
b3247276
TT
22842020-10-26 Tom Tromey <tom@tromey.com>
2285
2286 * lib/mi-support.exp (default_mi_gdb_start): Call
2287 gdb_stdin_log_init.
2288 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2289 subtract one from gdb_instances.
2290 (gdb_stdin_log_write): Flush in_file.
2291
1c47ec3e
TV
22922020-10-26 Tom de Vries <tdevries@suse.de>
2293
2294 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2295
6390859c
TT
22962020-10-26 Tom Tromey <tromey@adacore.com>
2297
2298 * gdb.ada/unsigned_range/foo.adb: New file.
2299 * gdb.ada/unsigned_range/pack.adb: New file.
2300 * gdb.ada/unsigned_range/pack.ads: New file.
2301 * gdb.ada/unsigned_range.exp: New file.
2302
55c3ad88
TV
23032020-10-26 Tom de Vries <tdevries@suse.de>
2304
2305 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2306
1612c4bb
TV
23072020-10-26 Tom de Vries <tdevries@suse.de>
2308
2309 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2310 for CU.
2311 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2312
7d72802b
TV
23132020-10-23 Tom de Vries <tdevries@suse.de>
2314
2315 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2316 DW_FORM_string.
2317 (Dwarf::_default_form): New proc.
2318 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2319 guessed.
2320
9476b583
TV
23212020-10-23 Tom de Vries <tdevries@suse.de>
2322
2323 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2324 * gdb.dwarf2/atomic-type.exp: Same.
2325 * gdb.dwarf2/bad-regnum.exp: Same.
2326 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2327 * gdb.dwarf2/dw2-align.exp: Same.
2328 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2329 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2330 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2331 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2332 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2333 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2334 * gdb.dwarf2/enum-type.exp: Same.
2335 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2336 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2337 * gdb.dwarf2/main-subprogram.exp: Same.
2338 * gdb.dwarf2/missing-type-name.exp: Same.
2339 * gdb.dwarf2/nonvar-access.exp: Same.
2340 * gdb.dwarf2/typedef-void-finish.exp: Same.
2341 * gdb.dwarf2/var-access.exp: Same.
2342 * gdb.dwarf2/void-type.exp: Same.
2343
4a636814
SM
23442020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2345
2346 PR gdb/26693
2347 * gdb.dwarf2/template-specification-full-name.exp: New test.
2348
557fc257
LM
23492020-10-22 Luis Machado <luis.machado@linaro.org>
2350
2351 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2352 expected an offset from the function.
2353 * gdb.base/msym-bp.exp (test): Likewise.
2354
6b4c676c
AB
23552020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2356
2357 * gdb.fortran/array-slices.exp: Add a new test.
2358
98cec4f6
GB
23592020-10-21 Gary Benson <gbenson@redhat.com>
2360
2361 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2362 fullname test with Clang. Also expand comments generally.
2363
ae86f581
TV
23642020-10-20 Tom de Vries <tdevries@suse.de>
2365
2366 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2367
8c161360
TV
23682020-10-20 Tom de Vries <tdevries@suse.de>
2369
2370 * gdb.dwarf2/arr-stride.c: Remove.
2371 * gdb.dwarf2/arr-stride.exp: Use main.c.
2372 * gdb.dwarf2/arr-subrange.c: Remove.
2373 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2374 * gdb.dwarf2/bad-regnum.c: Remove.
2375 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2376 * gdb.dwarf2/corrupt.c: Remove.
2377 * gdb.dwarf2/corrupt.exp: Use main.c.
2378 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2379 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2380 * gdb.dwarf2/dw2-icycle.c: Remove.
2381 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2382 * gdb.dwarf2/formdata16.c: Remove.
2383 * gdb.dwarf2/formdata16.exp: Use main.c.
2384 * gdb.dwarf2/implptrconst.c: Remove.
2385 * gdb.dwarf2/implptrconst.exp: Use main.c.
2386 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2387 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2388 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2389 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2390
9c2412ec
TV
23912020-10-20 Tom de Vries <tdevries@suse.de>
2392
2393 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2394 file.
2395 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2396
0cd2ad78
TV
23972020-10-20 Tom de Vries <tdevries@suse.de>
2398
2399 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2400 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2401 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2402 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2403 * gdb.dwarf2/dw2-ranges.exp: Same.
2404 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2405 * gdb.dwarf2/var-access.exp: Same.
2406
22cc388e
TT
24072020-10-19 Tom Tromey <tromey@adacore.com>
2408
2409 PR tui/26719
2410 * gdb.tui/list.exp: Check source window contents after focus
2411 change.
2412
520596f2
TV
24132020-10-17 Tom de Vries <tdevries@suse.de>
2414
2415 PR symtab/26317
2416 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2417
d1c8a76d
TV
24182020-10-17 Tom de Vries <tdevries@suse.de>
2419
2420 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2421 as suffix.
2422 * gdb.dwarf2/atomic.c: Rename to ...
2423 * gdb.dwarf2/atomic-type.c: ... this.
2424 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2425 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2426 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2427 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2428 * gdb.dwarf2/fission-mix2.c: Rename to ...
2429 * gdb.dwarf2/fission-mix-2.c: ... this.
2430 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2431 standard_testfile.
2432 * gdb.dwarf2/ada-valprint-error.exp: Same.
2433 * gdb.dwarf2/arr-stride.exp: Same.
2434 * gdb.dwarf2/arr-subrange.exp: Same.
2435 * gdb.dwarf2/atomic-type.exp: Same.
2436 * gdb.dwarf2/bad-regnum.exp: Same.
2437 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2438 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2439 * gdb.dwarf2/clang-debug-names.exp: Same.
2440 * gdb.dwarf2/comp-unit-lang.exp: Same.
2441 * gdb.dwarf2/corrupt.exp: Same.
2442 * gdb.dwarf2/count.exp: Same.
2443 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2444 * gdb.dwarf2/data-loc.exp: Same.
2445 * gdb.dwarf2/dw2-align.exp: Same.
2446 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2447 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2448 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2449 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2450 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2451 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2452 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2453 * gdb.dwarf2/dw2-inline-param.exp: Same.
2454 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2455 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2456 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2457 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2458 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2459 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2460 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2461 * gdb.dwarf2/dw2-param-error.exp: Same.
2462 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2463 * gdb.dwarf2/dw2-ranges.exp: Same.
2464 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2465 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2466 * gdb.dwarf2/dw4-sig-types.exp: Same.
2467 * gdb.dwarf2/dynarr-ptr.exp: Same.
2468 * gdb.dwarf2/enum-type.exp: Same.
2469 * gdb.dwarf2/fission-mix.exp: Same.
2470 * gdb.dwarf2/formdata16.exp: Same.
2471 * gdb.dwarf2/implptrconst.exp: Same.
2472 * gdb.dwarf2/implptrpiece.exp: Same.
2473 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2474 * gdb.dwarf2/main-subprogram.exp: Same.
2475 * gdb.dwarf2/method-ptr.exp: Same.
2476 * gdb.dwarf2/missing-sig-type.exp: Same.
2477 * gdb.dwarf2/nonvar-access.exp: Same.
2478 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2479 * gdb.dwarf2/shortpiece.exp: Same.
2480 * gdb.dwarf2/staticvirtual.exp: Same.
2481 * gdb.dwarf2/subrange.exp: Same.
2482 * gdb.dwarf2/symtab-producer.exp: Same.
2483 * gdb.dwarf2/typedef-void-finish.exp: Same.
2484 * gdb.dwarf2/var-access.exp: Same.
2485 * gdb.dwarf2/variant.exp: Same.
2486 * gdb.dwarf2/void-type.exp: Same.
2487 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2488 dw2-ranges-main.c.
2489 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2490
472d09c1
TV
24912020-10-16 Tom de Vries <tdevries@suse.de>
2492
2493 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2494
afe75f6d
TV
24952020-10-16 Tom de Vries <tdevries@suse.de>
2496
2497 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2498
8c8bd0ba
TV
24992020-10-14 Tom de Vries <tdevries@suse.de>
2500
2501 PR testsuite/26732
2502 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2503 scenario 2.
2504 * gdb.ada/mi_catch_ex_hand.exp: Same.
2505
b75d55d4
PA
25062020-10-13 Pedro Alves <pedro@palves.net>
2507
2508 * lib/mi-support.exp (mi_clean_restart): New.
2509 (mi_run_to_main): Delete.
2510 All callers adjust to use mi_clean_restart / mi_runto_main.
2511
e777225b
PA
25122020-10-13 Pedro Alves <pedro@palves.net>
2513
2514 * config/monitor.exp: Use "list -q".
2515 * gdb.arch/gdb1558.exp: Use "break -q".
2516 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2517 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2518 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2519 * gdb.base/commands.exp: Use "break -q".
2520 * gdb.base/condbreak.exp: Use "break -q".
2521 * gdb.base/ctf-ptype.exp: Use "list -q".
2522 * gdb.base/define.exp: Use "break -q".
2523 * gdb.base/del.exp: Use "break -q".
2524 * gdb.base/fullname.exp: Use "break -q".
2525 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2526 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2527 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2528 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2529 "hbreak -q".
2530 * gdb.base/included.exp: Use "list -q".
2531 * gdb.base/label.exp: Use "break -q".
2532 * gdb.base/lineinc.exp: Use "break -q".
2533 * gdb.base/list.exp: Use "list -q".
2534 * gdb.base/macscp.exp: Use "list -q".
2535 * gdb.base/pending.exp: Use "break -q".
2536 * gdb.base/prologue-include.exp: Use "break -q".
2537 * gdb.base/ptype.exp: Use "list -q".
2538 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2539 * gdb.base/server-del-break.exp: Use "break -q".
2540 * gdb.base/style.exp: Use "break -q".
2541 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2542 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2543 * gdb.cp/exception.exp: Use "tbreak -q".
2544 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2545 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2546 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2547 * gdb.dwarf2/pr13961.exp: Use "break -q".
2548 * gdb.linespec/explicit.exp: Use "list -q".
2549 * gdb.linespec/linespec.exp: Use "break -q".
2550 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2551 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2552 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2553 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2554 * gdb.trace/change-loc.exp: Use "break -q".
2555 * gdb.trace/pending.exp: Use "break -q".
2556 * gdb.tui/basic.exp: Use "list -q".
2557 * gdb.tui/list-before.exp: Use "list -q".
2558 * gdb.tui/list.exp: Use "list -q".
2559 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2560
8abd8ee8
PA
25612020-10-13 Pedro Alves <pedro@palves.net>
2562
2563 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2564 saved breakpoints file.
2565 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2566 inspecting breakpoint list.
2567 * lib/gdb.exp (runto_main): Add "qualified" to options.
2568 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2569 and handle it.
2570 (mi_runto_main): Pass 1 as qualified argument.
2571
f71e6719
PA
25722020-10-13 Pedro Alves <pedro@palves.net>
2573
2574 * lib/mi-support.exp (mi_runto_main): New proc.
2575 (mi_run_to_main): Use it.
2576 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2577 * gdb.mi/mi-var-cmd.exp: Likewise.
2578 * gdb.mi/mi-var-invalidate.exp: Likewise.
2579 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2580 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2581 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2582 * gdb.mi/user-selected-context-sync.exp: Likewise.
2583 * gdb.opt/inline-cmds.exp: Likewise.
2584 * gdb.python/py-framefilter-mi.exp: Likewise.
2585 * gdb.python/py-mi.exp: Likewise.
2586
50441f0f
PA
25872020-10-13 Pedro Alves <pedro@palves.net>
2588
2589 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2590 "runto main".
2591 * gdb.ada/small_reg_param.exp: Likewise.
2592 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2593 * gdb.base/annota1.exp: Likewise.
2594 * gdb.base/anon.exp: Likewise.
2595 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2596 * gdb.base/dprintf-non-stop.exp: Likewise.
2597 * gdb.base/dprintf.exp: Likewise.
2598 * gdb.base/gdb11530.exp: Likewise.
2599 * gdb.base/gdb11531.exp: Likewise.
2600 * gdb.base/gnu_vector.exp: Likewise.
2601 * gdb.base/interrupt-noterm.exp: Likewise.
2602 * gdb.base/memattr.exp: Likewise.
2603 * gdb.base/step-over-syscall.exp: Likewise.
2604 * gdb.base/watch-cond-infcall.exp: Likewise.
2605 * gdb.base/watch-read.exp: Likewise.
2606 * gdb.base/watch-vfork.exp: Likewise.
2607 * gdb.base/watch_thread_num.exp: Likewise.
2608 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2609 * gdb.guile/scm-frame-inline.exp: Likewise.
2610 * gdb.linespec/explicit.exp: Likewise.
2611 * gdb.opt/inline-break.exp: Likewise.
2612 * gdb.python/py-frame-inline.exp: Likewise.
2613 * gdb.reverse/break-precsave.exp: Likewise.
2614 * gdb.reverse/break-reverse.exp: Likewise.
2615 * gdb.reverse/consecutive-precsave.exp: Likewise.
2616 * gdb.reverse/consecutive-reverse.exp: Likewise.
2617 * gdb.reverse/finish-precsave.exp: Likewise.
2618 * gdb.reverse/finish-reverse.exp: Likewise.
2619 * gdb.reverse/fstatat-reverse.exp: Likewise.
2620 * gdb.reverse/getresuid-reverse.exp: Likewise.
2621 * gdb.reverse/i386-precsave.exp: Likewise.
2622 * gdb.reverse/i386-reverse.exp: Likewise.
2623 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2624 * gdb.reverse/i387-env-reverse.exp: Likewise.
2625 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2626 * gdb.reverse/insn-reverse.exp: Likewise.
2627 * gdb.reverse/machinestate-precsave.exp: Likewise.
2628 * gdb.reverse/machinestate.exp: Likewise.
2629 * gdb.reverse/pipe-reverse.exp: Likewise.
2630 * gdb.reverse/readv-reverse.exp: Likewise.
2631 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2632 * gdb.reverse/rerun-prec.exp: Likewise.
2633 * gdb.reverse/s390-mvcle.exp: Likewise.
2634 * gdb.reverse/solib-precsave.exp: Likewise.
2635 * gdb.reverse/solib-reverse.exp: Likewise.
2636 * gdb.reverse/step-precsave.exp: Likewise.
2637 * gdb.reverse/step-reverse.exp: Likewise.
2638 * gdb.reverse/time-reverse.exp: Likewise.
2639 * gdb.reverse/until-precsave.exp: Likewise.
2640 * gdb.reverse/until-reverse.exp: Likewise.
2641 * gdb.reverse/waitpid-reverse.exp: Likewise.
2642 * gdb.reverse/watch-precsave.exp: Likewise.
2643 * gdb.reverse/watch-reverse.exp: Likewise.
2644 * gdb.threads/kill.exp: Likewise.
2645 * gdb.threads/tid-reuse.exp: Likewise.
2646
d3a07122
SM
26472020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2648
2649 PR gdb/26642
2650 * gdb.base/maint-target-async-off.c: New test.
2651 * gdb.base/maint-target-async-off.exp: New test.
2652
c65c6c42
AM
26532020-10-13 Alan Modra <amodra@gmail.com>
2654
2655 * gdb.arch/powerpc-altivec.s,
2656 * gdb.arch/powerpc-power7.s,
2657 * gdb.arch/powerpc-power8.s,
2658 * gdb.arch/powerpc-power9.s,
2659 * gdb.arch/powerpc-vsx.s,
2660 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2661 * gdb.arch/powerpc-altivec.exp,
2662 * gdb.arch/powerpc-power7.exp,
2663 * gdb.arch/powerpc-power8.exp,
2664 * gdb.arch/powerpc-power9.exp,
2665 * gdb.arch/powerpc-vsx.exp,
2666 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2667 disassembly of mfvsrd/mtvsrd.
2668
f4a0f710
AM
26692020-10-13 Alan Modra <amodra@gmail.com>
2670
2671 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2672 "target architecture" output.
2673 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2674 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2675 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2676 * gdb.arch/s390-disassembler-options.exp: Likewise.
2677
87a37e5e
PA
26782020-10-12 Pedro Alves <pedro@palves.net>
2679
2680 PR exp/26602
2681 PR c++/26550
2682 * gdb.cp/ambiguous.cc (marker1): Delete.
2683 (main): Initialize all the fields of the locals. Replace marker1
2684 call with a "set breakpoint here" marker.
2685 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2686 instead of running to marker1. Add tests printing all the
2687 variables and all the fields of the variables.
2688 (test_ambiguous): New proc, expecting the new GDB output when a
2689 field access is ambiguous. Change all "warning: X ambiguous"
2690 tests to use it.
2691
71e1b6b0
GB
26922020-10-12 Gary Benson <gbenson@redhat.com>
2693
2694 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2695 * gdb.base/msym-bp-2.c (foo): Likewise.
2696 * gdb.base/msym-lang.c (foo): Likewise.
2697 * gdb.base/msym-lang-main.c (foo): Likewise.
2698 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2699 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2700 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2701 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2702 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2703 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2704 * gdb.python/py-objfile.c (static_var): Likewise.
2705 * gdb.python/py-symbol.c (rr): Likewise.
2706 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2707 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2708
9370fd51
AB
27092020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2710
2711 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2712 output of backtrace.
2713
7c184d33
TT
27142020-10-09 Tom Tromey <tromey@adacore.com>
2715
2716 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2717 (Rec): Add field. Fix range.
2718 * gdb.ada/scalar_storage.exp: Update.
2719
3d87245c
HD
27202020-10-09 Hannes Domani <ssbssa@yahoo.de>
2721
2722 PR exp/26714
2723 * gdb.base/printcmds.exp: Add tests for void results.
2724
f5c4b229
JV
27252020-10-09 Jan Vrany <jan.vrany@labware.com>
2726
2727 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2728 is emmited for both 'set directories' and 'directory' commands.
2729
b2701685
TT
27302020-10-08 Tom Tromey <tom@tromey.com>
2731
2732 * gdb.base/style.exp: Check that "main"'s name is styled.
2733
e86efb33
TT
27342020-10-07 Tom Tromey <tromey@adacore.com>
2735
2736 * gdb.base/find.exp: Rename some tests.
2737
30897591
GB
27382020-10-06 Gary Benson <gbenson@redhat.com>
2739
2740 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2741 * gdb.base/list1.c (unused): Likewise.
2742
ced4a4c1
GB
27432020-10-06 Gary Benson <gbenson@redhat.com>
2744
2745 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2746 __attribute__ ((used)).
2747 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2748
ed3bdac4
AB
27492020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2750
2751 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2752 make use of regions throughout.
2753 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2754 not {...}.
2755 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2756
cd096ec8
HD
27572020-10-05 Hannes Domani <ssbssa@yahoo.de>
2758
2759 * gdb.base/call-sc.c: Fix return struct on stack test case.
2760 * gdb.base/call-sc.exp: Likewise.
2761
3ee6f75d
GB
27622020-10-02 Gary Benson <gbenson@redhat.com>
2763
2764 * README: Fix "paralell".
2765
f65825ec
GB
27662020-09-30 Gary Benson <gbenson@redhat.com>
2767
2768 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2769 Convert directive to lowercase.
2770 (.Labbrev1_begin): Add missing label.
2771 (abbrev code 0x1): Remove DW_AT_stmt_list.
2772 (.Ldie_b): Likewise.
2773
5f278258
TT
27742020-09-27 Tom Tromey <tom@tromey.com>
2775
2776 * gdb.tui/new-layout.exp: Use with_test_prefix.
2777
8f9929bb
GR
27782020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2779
2780 PR python/26586
2781 * gdb.python/python.exp: add test cases for the from_tty
2782 argument to gdb.execute.
2783
c20c017b
GB
27842020-09-25 Gary Benson <gbenson@redhat.com>
2785
2786 * gdb.base/infcall-nested-structs.exp.tcl: Add
2787 additional_flags=-Wno-tautological-compare for C++
2788 tests when compiling using Clang.
2789
68d654af
GB
27902020-09-25 Gary Benson <gbenson@redhat.com>
2791
2792 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2793 for .c files.
2794
b551a89f
TT
27952020-09-24 Tom Tromey <tromey@adacore.com>
2796
2797 PR tui/26638:
2798 * gdb.tui/list.exp: Check output of "focus next".
2799
20a5fcbd
TT
28002020-09-23 Tom Tromey <tom@tromey.com>
2801
2802 * gdb.dwarf2/intbits.exp: New file.
2803 * gdb.dwarf2/intbits.c: New file.
2804
b167e53f
PA
28052020-09-20 Pedro Alves <pedro@palves.net>
2806
2807 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2808 spawn_id before calling remote_close. Close secondary MI channel.
2809
dbc49e9f
PA
28102020-09-20 Pedro Alves <pedro@palves.net>
2811
2812 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2813 fails.
2814
c8d5abea
AB
28152020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2816
2817 * gdb.fortran/array-slices.exp: Update expected results.
2818 * gdb.fortran/class-allocatable-array.exp: Likewise.
2819 * gdb.fortran/multi-dim.exp: Likewise.
2820 * gdb.fortran/vla-type.exp: Likewise.
2821 * gdb.mi/mi-vla-fortran.exp: Likewise.
2822
14f9473c
VC
28232020-09-18 Victor Collod <vcollod@nvidia.com>
2824
2825 PR gdb/26635
2826 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2827 compatible with i386, and move it to...
2828 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2829 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2830 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2831
e8ef12b9
PA
28322020-09-18 Pedro Alves <pedro@palves.net>
2833
2834 PR gdb/26631
2835 * gdb.multi/multi-target-thread-find.exp: New file.
2836
e11daf7a
PA
28372020-09-18 Pedro Alves <pedro@palves.net>
2838
2839 * gdb.multi/multi-target-continue.exp: New file, factored out from
2840 multi-target.exp.
2841 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2842 multi-target.exp.
2843 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2844 multi-target.exp.
2845 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2846 multi-target.exp.
2847 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2848 multi-target.exp.
2849 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2850 multi-target.exp.
2851 * gdb.multi/multi-target.exp: Delete.
2852
d0edc2b8
AB
28532020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2854
2855 * gdb.fortran/array-slices.exp: Add missing message data.
2856
7474326c
PA
28572020-09-17 Pedro Alves <pedro@palves.net>
2858
2859 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2860
dd23068d
PA
28612020-09-17 Pedro Alves <pedro@palves.net>
2862
2863 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2864 full prototype.
2865
0640a543
PA
28662020-09-17 Pedro Alves <pedro@palves.net>
2867
2868 * gdb.python/py-as-string.c: Add cast.
2869
ef0cdbc1
PA
28702020-09-17 Pedro Alves <pedro@palves.net>
2871
2872 * gdb.base/sizeof.c (fill): Add cast.
2873
3a5eeb8b
PA
28742020-09-17 Pedro Alves <pedro@palves.net>
2875
2876 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2877
a8129512
PA
28782020-09-17 Pedro Alves <pedro@palves.net>
2879
2880 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2881 linkage name.
2882 * gdb.base/prologue.exp: Use print /d.
2883 * gdb.base/symbol-alias.exp: Handle C++ output.
2884 * gdb.base/symbol-alias2.c: Handle C++ output.
2885 [__cplusplus] (func): Explicitly specify linkage name.
2886
a83cdcb6
PA
28872020-09-17 Pedro Alves <pedro@palves.net>
2888
2889 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2890 (struct my_key_t): ... this. Adjust all references.
2891 (struct value_t): Rename to ...
2892 (struct my_value_t): ... this. Adjust all references.
2893 (create_map, add_map_element, create_map_map)
2894 (add_map_map_element): Add casts.
2895
d4bcee5c
PA
28962020-09-17 Pedro Alves <pedro@palves.net>
2897
2898 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2899 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2900
81f90489
PA
29012020-09-17 Pedro Alves <pedro@palves.net>
2902
2903 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2904
0a229804
PA
29052020-09-17 Pedro Alves <pedro@palves.net>
2906
2907 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2908 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2909 (charfoo, intfoo): Define full prototype.
2910 * gdb.base/ptype1.c (charfoo): Define full prototype.
2911 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2912 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2913
c3e5138d
PA
29142020-09-17 Pedro Alves <pedro@palves.net>
2915
2916 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2917 Don't define.
2918 (utf_32_string): Compile for both C and C++.
2919 * gdb.base/charset.exp: Use "print /d".
2920
151fdbad
PA
29212020-09-17 Pedro Alves <pedro@palves.net>
2922
2923 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2924 (nullptr): Rename to ...
2925 (null_ptr): ... this.
2926 * gdb.base/watchpoint.exp: Adjust to rename.
2927
18a25b64
PA
29282020-09-17 Pedro Alves <pedro@palves.net>
2929
2930 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2931 (three_not_flag): Add casts.
2932
11fac337
PA
29332020-09-17 Pedro Alves <pedro@palves.net>
2934
2935 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2936 char array.
2937 (main): Add references to Barrier, TestStrings, TestStringsH and
2938 TestStringsW.
2939 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2940 and expect a full prototype in C++.
2941
52626c58
PA
29422020-09-17 Pedro Alves <pedro@palves.net>
2943
2944 * gdb.base/nested-addr.c (main): Add cast.
2945 * gdb.base/nested-addr.exp: Use "print /d".
2946
52bb0902
PA
29472020-09-17 Pedro Alves <pedro@palves.net>
2948
2949 * gdb.base/break.exp (func): New. Use it throughout when
2950 expecting a function name.
2951
73e18ac9
PA
29522020-09-17 Pedro Alves <pedro@palves.net>
2953
2954 * gdb.base/display.exp: Issue "set print asm-demangle on".
2955
c8b18808
PA
29562020-09-17 Pedro Alves <pedro@palves.net>
2957
2958 * gdb.base/find.c: Include <string.h>.
2959 (init_bufs): Add cast.
2960 * gdb.base/find.exp: Issue "set print asm-demangle on".
2961
fe830662
TT
29622020-09-16 Tom Tromey <tromey@adacore.com>
2963
2964 PR gdb/26598:
2965 * gdb.base/skipcxx.exp: New file.
2966 * gdb.base/skipcxx.cc: New file.
2967
945ff6e2
TV
29682020-09-16 Tom de Vries <tdevries@suse.de>
2969
2970 PR testsuite/26617
2971 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2972 WITH_DEBUG_SECTIONS is defined.
2973 (xstr, str): New macro.
2974 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2975 to get start and size of _Dmain.
2976 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2977 using additional_flags.
2978
da1df1db
TBA
29792020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2980
2981 * gdb.base/bp-cmds-sourced-script.c: New file.
2982 * gdb.base/bp-cmds-sourced-script.exp: New test.
2983 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2984
337882d4
TV
29852020-09-16 Tom de Vries <tdevries@suse.de>
2986
2987 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2988 get the gdb prompt after issuing "monitor exit".
2989
7361f908
TV
29902020-09-16 Tom de Vries <tdevries@suse.de>
2991
2992 PR testsuite/26624
2993 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2994
4d91ddd3
TV
29952020-09-16 Tom de Vries <tdevries@suse.de>
2996
2997 PR testsuite/26618
2998 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2999
08cc37dd
TT
30002020-09-15 Tom Tromey <tromey@adacore.com>
3001
3002 PR rust/26197:
3003 * lib/rust-support.exp (rust_llvm_version): New proc.
3004 * gdb.rust/simple.exp: Check rust_llvm_version.
3005
ee6372f2
TV
30062020-09-14 Tom de Vries <tdevries@suse.de>
3007
3008 * gdb.rust/traits.exp: Fix PATH warning.
3009
dc3a371e
PA
30102020-09-13 Pedro Alves <pedro@palves.net>
3011
3012 * gdb.base/catch-follow-exec.c (main): Add explicit return
3013 statement.
3014 * gdb.base/catch-signal.c (main): Likewise.
3015 * gdb.base/condbreak-call-false.c (main): Likewise.
3016 * gdb.base/consecutive.c (main): Add explicit return
3017 statement and return type.
3018 * gdb.base/cursal.c (main): Add explicit return statement.
3019 * gdb.base/cvexpr.c (main): Likewise.
3020 * gdb.base/display.c (main): Add explicit return statement and
3021 return type.
3022 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
3023 * gdb.base/endianity.c (main): Likewise.
3024 * gdb.base/execd-prog.c (main): Likewise.
3025 * gdb.base/gdb1090.c (main): Likewise.
3026 * gdb.base/info_qt.c (main): Likewise.
3027 * gdb.base/lineinc.c (main): Likewise.
3028 * gdb.base/load-command.c (main): Likewise.
3029 * gdb.base/macscp1.c (main): Likewise.
3030 * gdb.base/pr10179-a.c (main): Likewise.
3031 * gdb.base/quit-live.c (main): Likewise.
3032 * gdb.base/scope0.c (main): Likewise.
3033 * gdb.base/settings.c (main): Likewise.
3034 * gdb.base/stack-checking.c (main): Return int.
3035 * gdb.base/varargs.c (main): Add explicit return statement.
3036 * gdb.cp/ambiguous.cc (main): Likewise.
3037 * gdb.cp/anon-struct.cc (main): Likewise.
3038 * gdb.cp/anon-union.cc (main): Likewise.
3039 * gdb.cp/bool.cc (main): Likewise.
3040 * gdb.cp/bs15503.cc (main): Likewise.
3041 * gdb.cp/cplusfuncs.cc (main): Likewise.
3042 * gdb.cp/cttiadd.cc (main): Likewise.
3043 * gdb.cp/extern-c.cc (main): Likewise.
3044 * gdb.cp/filename.cc (main): Likewise.
3045 * gdb.cp/formatted-ref.cc (main): Likewise.
3046 * gdb.cp/mb-ctor.cc (main): Likewise.
3047 * gdb.cp/member-ptr.cc (main): Likewise.
3048 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
3049 * gdb.cp/overload-const.cc (main): Likewise.
3050 * gdb.cp/paren-type.cc (main): Likewise.
3051 * gdb.cp/parse-lang.cc (main): Likewise.
3052 * gdb.cp/pr-1023.cc (main): Likewise.
3053 * gdb.cp/psmang1.cc (main): Likewise.
3054 * gdb.cp/readnow-language.cc (main): Likewise.
3055 * gdb.cp/ref-params.cc (main): Likewise.
3056 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
3057 * gdb.cp/virtbase2.cc (main): Likewise.
3058 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
3059 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
3060 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
3061 * gdb.mi/mi-console.c (main): Likewise.
3062 * gdb.mi/mi-read-memory.c (main): Likewise.
3063 * gdb.modula2/multidim.c (main): Likewise.
3064 * gdb.opt/inline-small-func.c (main): Likewise.
3065 * gdb.python/py-rbreak.c (main): Likewise.
3066 * gdb.stabs/exclfwd1.c (main): Likewise.
3067 * gdb.trace/qtro.c (main): Likewise.
3068
af26601c
PA
30692020-09-13 Pedro Alves <pedro@palves.net>
3070
3071 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
3072 instead of getenv.
3073
2f4b83cd
PA
30742020-09-13 Pedro Alves <pedro@palves.net>
3075
3076 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
3077 instead of spawning GDB with remote_spawn.
3078 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
3079 gdb_spawn instead of spawning GDB with remote_spawn.
3080
c49da0e4
PA
30812020-09-13 Pedro Alves <pedro@palves.net>
3082
3083 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
3084 file and add calls to first and second.
3085 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
3086 add call to f.
3087
6791b117
PA
30882020-09-13 Pedro Alves <pedro@palves.net>
3089
3090 * gdb.mi/mi-break-qualified.cc: New file.
3091 * gdb.mi/mi-break-qualified.exp: New file.
3092 * lib/mi-support.exp (mi_create_breakpoint_multi)
3093 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
3094 procedures.
3095 (mi_create_breakpoint_1): New, factored out from
3096 mi_create_breakpoint.
3097
3b8d4c5c
PA
30982020-09-13 Pedro Alves <pedro@palves.net>
3099
3100 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3101 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3102 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3103 (register_class): Delete.
3104 (main): Don't call register_class.
3105
d5f96005
PA
31062020-09-13 Pedro Alves <pedro@palves.net>
3107
3108 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3109 (do_tests): Remove "calling method for small class" test.
3110 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3111 (register_class): Delete.
3112 (main): Don't call register_class.
3113 * gdb.cp/call-method-register.exp: New file, based on bits removed
3114 from classes.exp.
3115 * gdb.cp/call-method-register.cc: New file, based on bits removed
3116 from classes.cc.
3117
77f2120b
PA
31182020-09-13 Pedro Alves <pedro@palves.net>
3119
3120 * gdb.base/msym-bp-2.c: New.
3121 * gdb.base/msym-bp-shl-lib.c: New file.
3122 * gdb.base/msym-bp-shl-main-2.c: New file.
3123 * gdb.base/msym-bp-shl-main.c: New file.
3124 * gdb.base/msym-bp-shl.exp: New file.
3125 * gdb.base/msym-bp.c: New file.
3126 * gdb.base/msym-bp.exp: New file.
3127
32aea73e
JB
31282020-09-13 Joel Brobecker <brobecker@adacore.com>
3129
3130 * gdb.base/default.exp: Change $_gdb_major to 11.
3131
2a67f09d
FW
31322020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3133 Felix Willgerodt <Felix.Willgerodt@intel.com>
3134
3135 * x86-avx512bf16.c: New file.
3136 * x86-avx512bf16.exp: Likewise.
3137 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3138
ad570dd7
TV
31392020-09-11 Tom de Vries <tdevries@suse.de>
3140
3141 PR exp/26602
3142 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3143
a56f7391
TBA
31442020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3145
3146 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3147
918619e5
AM
31482020-09-10 Alan Modra <amodra@gmail.com>
3149
3150 PR 26597
3151 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3152
cac1e71d
TV
31532020-09-08 Tom de Vries <tdevries@suse.de>
3154
3155 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3156 after gdb_starti_cmd.
3157
c5cd900e
AKS
31582020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3159
3160 * lib/fortran.exp (fortran_complex8): New proc.
3161 (fortran_complex16): New proc.
3162 * gdb.fortran/complex.exp: Use routines from fortran.exp
3163 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3164 * gdb.fortran/vla-ptr-info.exp: Likewise.
3165
8f5c6526
TV
31662020-09-03 Tom de Vries <tdevries@suse.de>
3167
3168 PR breakpoint/26546
3169 * gdb.base/label-without-address.exp: Runto main first.
3170
02c6f3f1
TT
31712020-09-02 Tom Tromey <tromey@adacore.com>
3172
3173 * gdb.ada/mi_var_access.exp: Test children of access variable.
3174 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3175 * gdb.ada/mi_var_array.exp: Update.
3176
efe24f05
KB
31772020-08-31 Kevin Buettner <kevinb@redhat.com>
3178
3179 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3180 on docker w/ AUFS storage driver.
3181
973695d6
KB
31822020-08-31 Kevin Buettner <kevinb@redhat.com>
3183
3184 * gdb.base/corefile2.exp (renamed binfile): New tests.
3185
f3bd50f1
SM
31862020-08-31 Simon Marchi <simon.marchi@efficios.com>
3187
3188 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3189
22b9b4b0
SL
31902020-08-31 Simon Marchi <simon.marchi@efficios.com>
3191
3192 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3193 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3194
8efaf6b3
SM
31952020-08-31 Simon Marchi <simon.marchi@efficios.com>
3196
3197 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3198 output, printing a "not saved" value from history and printing a
3199 convenience variable created from a "not saved" value.
3200
e840f2e3
TV
32012020-08-31 Tom de Vries <tdevries@suse.de>
3202
3203 * gdb.base/eh_return.exp: Use nopie.
3204
8f57f343
PA
32052020-08-28 Pedro Alves <pedro@palves.net>
3206
3207 * gdb.base/advance-until-multiple-locations.exp
3208 (advance_overload, until_overload): Adjust to match the
3209 frame/function header instead of the source line text.
3210
626d2320
TV
32112020-08-28 Tom de Vries <tdevries@suse.de>
3212
3213 * gdb.base/label-without-address.c: New test.
3214 * gdb.base/label-without-address.exp: New file.
3215
df631783
PA
32162020-08-27 Pedro Alves <pedro@palves.net>
3217
3218 PR gdb/26523
3219 PR gdb/26524
3220 * gdb.base/advance-until-multiple-locations.cc: New.
3221 * gdb.base/advance-until-multiple-locations.exp: New.
3222
48b076bb
SM
32232020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3224
3225 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3226
c2015ce4
AB
32272020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3228
3229 * gdb.arch/amd64-byte.exp: Make test names unique, use
3230 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3231 * gdb.arch/amd64-dword.exp: Likewise.
3232 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3233 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3234 unique.
3235 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3236 * gdb.arch/amd64-word.exp: Make test names unique, use
3237 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3238 * gdb.arch/i386-byte.exp: Make test names unique, use
3239 gdb_breakpoint.
3240 * gdb.arch/i386-word.exp: Likewise.
3241
995d3a19
SV
32422020-08-25 Shahab Vahedi <shahab@synopsys.com>
3243
3244 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3245
8cac2b31
SM
32462020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3247
3248 PR gdb/26532
3249 * gdb.threads/stepi-random-signal.exp: Update pattern.
3250
2bc19622
SM
32512020-08-25 Simon Marchi <simon.marchi@efficios.com>
3252
3253 PR gdb/26532
3254 * gdb.base/ui-redirect.exp: Update pattern.
3255
b04aa1fc
GB
32562020-08-25 Gary Benson <gbenson@redhat.com>
3257
3258 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3259 when compiling with clang.
8571e9c8 3260 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 3261
9f68b453
GB
32622020-08-25 Gary Benson <gbenson@redhat.com>
3263
3264 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3265 Add additional_flags=-Wno-inaccessible-base when compiling
3266 with GCC >= 10.1 or clang. Add additional_flags=-w when
3267 compiling with GCC < 10.
3268
3945d2d7
GM
32692020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3270
3271 PR m2/26372
fc5d6901
SM
3272 * gdb.modula2/multidim.c: New file.
3273 * gdb.modula2/multidim.exp: New file.
3945d2d7 3274
60122dbe
SM
32752020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3276
3277 * lib/gdb.exp (runto): Always emit fail on internal error.
3278
1eb8556f
SM
32792020-08-24 Simon Marchi <simon.marchi@efficios.com>
3280
3281 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3282 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3283 Likewise.
3284 * gdb.threads/stepi-random-signal.exp: Likewise.
3285
33bf4c5c
TBA
32862020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3287
3288 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3289 * gdb.trace/strace.exp: Ditto.
3290
c2fd7fae
AKS
32912020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3292
3293 * gdb.fortran/vla-type.exp: Skip commands not required for
3294 the Flang compiled binaries after prologue fix.
3295
326afb72
TT
32962020-08-17 Tom de Vries <tdevries@suse.de>
3297 Tom Tromey <tromey@adacore.com>
3298
3299 PR rust/26197:
3300 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3301
3ae7ab99
TT
33022020-08-17 Tom Tromey <tromey@adacore.com>
3303
3304 * gdb.ada/mi_var_access.exp: New file.
3305 * gdb.ada/mi_var_access/mi_access.adb: New file.
3306 * gdb.ada/mi_var_access/pck.adb: New file.
3307 * gdb.ada/mi_var_access/pck.ads: New file.
3308
f569c1c5
TV
33092020-08-16 Tom de Vries <tdevries@suse.de>
3310
3311 PR gdb/25350
3312 * gdb.base/eh_return.c: New test.
3313 * gdb.base/eh_return.exp: New file.
3314
3d11c30a
TV
33152020-08-15 Tom de Vries <tdevries@suse.de>
3316
3317 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3318 (mixed_func_1d_): Use fortran_charlen_t in decl.
3319
547ce8f0
TV
33202020-08-15 Tom de Vries <tdevries@suse.de>
3321
3322 PR backtrace/26390
3323 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3324 Update expected pattern.
3325
a54a7f13
PA
33262020-08-13 Pedro Alves <pedro@palves.net>
3327
3328 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3329 * gdb.fortran/library-module.exp: Likewise.
3330 * gdb.fortran/logical.exp: Likewise.
3331 * gdb.fortran/module.exp: Likewise.
3332 * gdb.fortran/print_type.exp: Likewise.
3333 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3334 * gdb.fortran/vla-datatypes.exp: Likewise.
3335 * gdb.fortran/vla-history.exp: Likewise.
3336 * gdb.fortran/vla-ptr-info.exp: Likewise.
3337 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3338 * gdb.fortran/vla-ptype.exp: Likewise.
3339 * gdb.fortran/vla-sizeof.exp: Likewise.
3340 * gdb.fortran/vla-type.exp: Likewise.
3341 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3342 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3343 * gdb.fortran/vla-value-sub.exp: Likewise.
3344 * gdb.fortran/vla-value.exp: Likewise.
3345
7a82e903
PA
33462020-08-13 Pedro Alves <pedro@palves.net>
3347
3348 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3349 * gdb.ada/access_to_packed_array.exp: Likewise.
3350 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3351 * gdb.ada/addr_arith.exp: Likewise.
3352 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3353 * gdb.ada/arr_arr.exp: Likewise.
3354 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3355 * gdb.ada/array_bounds.exp: Likewise.
3356 * gdb.ada/array_of_variable_length.exp: Likewise.
3357 * gdb.ada/array_ptr_renaming.exp: Likewise.
3358 * gdb.ada/array_subscript_addr.exp: Likewise.
3359 * gdb.ada/arraydim.exp: Likewise.
3360 * gdb.ada/arrayparam.exp: Likewise.
3361 * gdb.ada/arrayptr.exp: Likewise.
3362 * gdb.ada/assign_1.exp: Likewise.
3363 * gdb.ada/assign_arr.exp: Likewise.
3364 * gdb.ada/atomic_enum.exp: Likewise.
3365 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3366 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3367 * gdb.ada/bias.exp: Likewise.
3368 * gdb.ada/boolean_expr.exp: Likewise.
3369 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3370 * gdb.ada/bp_enum_homonym.exp: Likewise.
3371 * gdb.ada/bp_inlined_func.exp: Likewise.
3372 * gdb.ada/bp_on_var.exp: Likewise.
3373 * gdb.ada/bp_range_type.exp: Likewise.
3374 * gdb.ada/bp_reset.exp: Likewise.
3375 * gdb.ada/call_pn.exp: Likewise.
3376 * gdb.ada/catch_assert_if.exp: Likewise.
3377 * gdb.ada/catch_ex.exp: Likewise.
3378 * gdb.ada/catch_ex_std.exp: Likewise.
3379 * gdb.ada/char_enum.exp: Likewise.
3380 * gdb.ada/char_param.exp: Likewise.
3381 * gdb.ada/complete.exp: Likewise.
3382 * gdb.ada/cond_lang.exp: Likewise.
3383 * gdb.ada/convvar_comp.exp: Likewise.
3384 * gdb.ada/dgopt.exp: Likewise.
3385 * gdb.ada/disc_arr_bound.exp: Likewise.
3386 * gdb.ada/display_nested.exp: Likewise.
3387 * gdb.ada/dot_all.exp: Likewise.
3388 * gdb.ada/dyn_loc.exp: Likewise.
3389 * gdb.ada/dyn_stride.exp: Likewise.
3390 * gdb.ada/excep_handle.exp: Likewise.
3391 * gdb.ada/expr_delims.exp: Likewise.
3392 * gdb.ada/expr_with_funcall.exp: Likewise.
3393 * gdb.ada/exprs.exp: Likewise.
3394 * gdb.ada/fin_fun_out.exp: Likewise.
3395 * gdb.ada/fixed_cmp.exp: Likewise.
3396 * gdb.ada/formatted_ref.exp: Likewise.
3397 * gdb.ada/frame_arg_lang.exp: Likewise.
3398 * gdb.ada/frame_args.exp: Likewise.
3399 * gdb.ada/fullname_bp.exp: Likewise.
3400 * gdb.ada/fun_addr.exp: Likewise.
3401 * gdb.ada/fun_in_declare.exp: Likewise.
3402 * gdb.ada/fun_overload_menu.exp: Likewise.
3403 * gdb.ada/fun_renaming.exp: Likewise.
3404 * gdb.ada/funcall_char.exp: Likewise.
3405 * gdb.ada/funcall_param.exp: Likewise.
3406 * gdb.ada/funcall_ptr.exp: Likewise.
3407 * gdb.ada/funcall_ref.exp: Likewise.
3408 * gdb.ada/homonym.exp: Likewise.
3409 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3410 * gdb.ada/info_auto_lang.exp: Likewise.
3411 * gdb.ada/info_exc.exp: Likewise.
3412 * gdb.ada/info_types.exp: Likewise.
3413 * gdb.ada/int_deref.exp: Likewise.
3414 * gdb.ada/interface.exp: Likewise.
3415 * gdb.ada/iwide.exp: Likewise.
3416 * gdb.ada/lang_switch.exp: Likewise.
3417 * gdb.ada/length_cond.exp: Likewise.
3418 * gdb.ada/maint_with_ada.exp: Likewise.
3419 * gdb.ada/mi_catch_assert.exp: Likewise.
3420 * gdb.ada/mi_catch_ex.exp: Likewise.
3421 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3422 * gdb.ada/mi_dyn_arr.exp: Likewise.
3423 * gdb.ada/mi_ex_cond.exp: Likewise.
3424 * gdb.ada/mi_exc_info.exp: Likewise.
3425 * gdb.ada/mi_interface.exp: Likewise.
3426 * gdb.ada/mi_prot.exp: Likewise.
3427 * gdb.ada/mi_ref_changeable.exp: Likewise.
3428 * gdb.ada/mi_string_access.exp: Likewise.
3429 * gdb.ada/mi_task_arg.exp: Likewise.
3430 * gdb.ada/mi_task_info.exp: Likewise.
3431 * gdb.ada/mi_var_array.exp: Likewise.
3432 * gdb.ada/mi_var_union.exp: Likewise.
3433 * gdb.ada/mi_variant.exp: Likewise.
3434 * gdb.ada/minsyms.exp: Likewise.
3435 * gdb.ada/mod_from_name.exp: Likewise.
3436 * gdb.ada/nested.exp: Likewise.
3437 * gdb.ada/null_array.exp: Likewise.
3438 * gdb.ada/optim_drec.exp: Likewise.
3439 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3440 * gdb.ada/packed_array_assign.exp: Likewise.
3441 * gdb.ada/packed_tagged.exp: Likewise.
3442 * gdb.ada/pp-rec-component.exp: Likewise.
3443 * gdb.ada/print_chars.exp: Likewise.
3444 * gdb.ada/print_pc.exp: Likewise.
3445 * gdb.ada/ptr_typedef.exp: Likewise.
3446 * gdb.ada/ptype_arith_binop.exp: Likewise.
3447 * gdb.ada/ptype_array.exp: Likewise.
3448 * gdb.ada/ptype_field.exp: Likewise.
3449 * gdb.ada/ptype_tagged_param.exp: Likewise.
3450 * gdb.ada/ptype_union.exp: Likewise.
3451 * gdb.ada/py_range.exp: Likewise.
3452 * gdb.ada/py_taft.exp: Likewise.
3453 * gdb.ada/rdv_wait.exp: Likewise.
3454 * gdb.ada/rec_comp.exp: Likewise.
3455 * gdb.ada/rec_return.exp: Likewise.
3456 * gdb.ada/ref_param.exp: Likewise.
3457 * gdb.ada/ref_tick_size.exp: Likewise.
3458 * gdb.ada/rename_subscript_param.exp: Likewise.
3459 * gdb.ada/repeat_dyn.exp: Likewise.
3460 * gdb.ada/same_component_name.exp: Likewise.
3461 * gdb.ada/same_enum.exp: Likewise.
3462 * gdb.ada/scalar_storage.exp: Likewise.
3463 * gdb.ada/set_wstr.exp: Likewise.
3464 * gdb.ada/small_reg_param.exp: Likewise.
3465 * gdb.ada/str_binop_equal.exp: Likewise.
3466 * gdb.ada/str_ref_cmp.exp: Likewise.
3467 * gdb.ada/str_uninit.exp: Likewise.
3468 * gdb.ada/sub_variant.exp: Likewise.
3469 * gdb.ada/sym_print_name.exp: Likewise.
3470 * gdb.ada/taft_type.exp: Likewise.
3471 * gdb.ada/tagged.exp: Likewise.
3472 * gdb.ada/tagged_access.exp: Likewise.
3473 * gdb.ada/task_bp.exp: Likewise.
3474 * gdb.ada/task_switch_in_core.exp: Likewise.
3475 * gdb.ada/tasks.exp: Likewise.
3476 * gdb.ada/tick_last_segv.exp: Likewise.
3477 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3478 * gdb.ada/type_coercion.exp: Likewise.
3479 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3480 * gdb.ada/unchecked_union.exp: Likewise.
3481 * gdb.ada/uninitialized_vars.exp: Likewise.
3482 * gdb.ada/var_arr_attrs.exp: Likewise.
3483 * gdb.ada/var_arr_typedef.exp: Likewise.
3484 * gdb.ada/var_rec_arr.exp: Likewise.
3485 * gdb.ada/variant-record.exp: Likewise.
3486 * gdb.ada/variant.exp: Likewise.
3487 * gdb.ada/variant_record_packed_array.exp: Likewise.
3488 * gdb.ada/varsize_limit.exp: Likewise.
3489 * gdb.ada/whatis_array_val.exp: Likewise.
3490 * gdb.ada/widewide.exp: Likewise.
3491 * gdb.ada/win_fu_syms.exp: Likewise.
3492
34932020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3494
3495 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3496
10c381b5
AB
34972020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3498
3499 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3500 unset the array variable.
3501
8f34b746
TV
35022020-08-03 Tom de Vries <tdevries@suse.de>
3503
3504 PR symtab/26333
3505 * lib/dwarf.exp (DW_LNE_user): New proc.
3506 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3507 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3508
0245e136
KB
35092020-07-31 Kevin Buettner <kevinb@redhat.com>
3510
3511 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3512 to 'uintptr_t'
3513 (inttypes.h): Include.
3514
9ef1ec5d
KB
35152020-07-31 Kevin Buettner <kevinb@redhat.com>
3516
3517 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3518 (C5_24k): Delete.
3519 (C5_8k, C5_64k, C5_256k): New macros.
3520 (buf_ro): Allocate 256 KiB of initialized data.
3521
4c55e970
TBA
35222020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3523
3524 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3525 that attempt to overwrite an existing condition with a condition
3526 that fails parsing and also with a condition that parses fine
3527 but contains junk at the end.
3528
1e620590
TBA
35292020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3530
3531 * gdb.base/condbreak-bad.c: New test.
3532 * gdb.base/condbreak-bad.exp: New file.
3533
e12dcc50
TV
35342020-07-30 Tom de Vries <tdevries@suse.de>
3535
3536 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3537 out of ...
3538 (GDBInfoModuleSymbols::check_entry): ... here.
3539 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3540 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3541 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3542
6cc64caa
TV
35432020-07-30 Tom de Vries <tdevries@suse.de>
3544
3545 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3546 "__class_some_module_Number_t" optional.
3547
90fd07fc
TV
35482020-07-29 Tom de Vries <tdevries@suse.de>
3549
3550 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3551 multiple locations.
3552
f5c79e97
TV
35532020-07-29 Tom de Vries <tdevries@suse.de>
3554
3555 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3556 rather than function name.
3557
f75a0693
AB
35582020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3559
3560 PR symtab/26270:
3561 * gdb.cp/disasm-func-name.cc: New file.
3562 * gdb.cp/disasm-func-name.exp: New file.
3563
4888741a
TT
35642020-07-28 Tom Tromey <tromey@adacore.com>
3565
3566 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3567 'varval' location.
3568
43d5901d
AB
35692020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3570
3571 * gdb.python/py-unwind.py: Update to make use of a register
3572 descriptor.
3573
14fa8fb3
AB
35742020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3575
3576 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3577
e79eb02f
AB
35782020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3579
3580 PR fortran/23051
3581 PR fortran/26139
3582 * gdb.fortran/class-allocatable-array.exp: New file.
3583 * gdb.fortran/class-allocatable-array.f90: New file.
3584 * gdb.fortran/pointer-to-pointer.exp: New file.
3585 * gdb.fortran/pointer-to-pointer.f90: New file.
3586
876518dd
TV
35872020-07-25 Tom de Vries <tdevries@suse.de>
3588
3589 PR symtab/26243
3590 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3591 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3592
6dcfb80a
TV
35932020-07-24 Tom de Vries <tdevries@suse.de>
3594
3595 PR testsuite/26293
3596 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3597
e7bc9db8
PA
35982020-07-23 Pedro Alves <pedro@palves.net>
3599
3600 * gdb.server/server-kill.exp (prepare): New, factored out from the
3601 top level.
3602 (kill_server): New.
3603 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3604 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3605
78344df7
AB
36062020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3607
3608 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3609
25dfed24
SL
36102020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3611
3612 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3613 Initialize to empty string at top level.
3614 (gdb_wrapper_init): Revert check for file existence on build.
3615 Build the wrapper in its default place, not a build-specific
3616 location. When host == build, make the pathname absolute.
3617 (gdb_compile): Delete leftover declaration of
3618 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3619 string instead of uninitialized.
3620
7da515fd
KB
36212020-07-22 Kevin Buettner <kevinb@redhat.com>
3622
3623 * gdb.base/corefile2.exp: New file.
3624 * gdb.base/coremaker2.exp: New file.
3625
9c5ec5c2
KB
36262020-07-22 Kevin Buettner <kevinb@redhat.com>
3627
3628 * gdb.base/coredump-filter.exp: Add second
3629 non-Private-Shared-Anon-File test.
3630 (test_disasm): Rename binfile for test which is expected
3631 to fail.
3632
f9e233c9
KB
36332020-07-22 Kevin Buettner <kevinb@redhat.com>
3634
3635 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3636 data in core file".
3637 * gdb.base/coremaker.c (buf2ro): New global.
3638 (mmapdata): Add a read-only mmap mapping.
3639
94c265d7
KB
36402020-07-22 Kevin Buettner <kevinb@redhat.com>
3641
3642 PR corefiles/25631
3643 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3644 New test.
3645 * gdb.base/coremaker.c (buf3): New global.
3646 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3647 flags.
3648
36492020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3650
3651 * gdb.base/coremaker.c (filler_ro): New global constant.
3652
32fa152e
TT
36532020-07-22 Tom Tromey <tromey@adacore.com>
3654
3655 * gdb.ada/mi_prot.exp: New file.
3656 * gdb.ada/mi_prot/pkg.adb: New file.
3657 * gdb.ada/mi_prot/pkg.ads: New file.
3658 * gdb.ada/mi_prot/prot.adb: New file.
3659
c8474dc3
TBA
36602020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3661
3662 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3663 loads two JITers.
3664
baf8791e
AB
36652020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3666
3667 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3668
f7306dac
AB
36692020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3670
3671 * gdb.python/py-arch-reg-names.exp: Additional tests.
3672
6d3d6e4b
TV
36732020-07-21 Tom de Vries <tdevries@suse.de>
3674
3675 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3676 breakpoint locations".
3677 * gdb.reverse/solib-reverse.exp: Same.
3678
803d0592
TV
36792020-07-21 Tom de Vries <tdevries@suse.de>
3680
3681 * gdb.reverse/step-reverse.c (callee): Merge statements.
3682
e9bdc510
TV
36832020-07-21 Tom de Vries <tdevries@suse.de>
3684
3685 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3686 line numbers for some variables.
3687
f0f9e75a
TV
36882020-07-21 Tom de Vries <tdevries@suse.de>
3689
3690 * gdb.opt/inline-locals.c (init_array): New func.
3691 (func1): Use init_array.
3692 * gdb.opt/inline-locals.exp: Update pattern.
3693
bd460ecb
TV
36942020-07-21 Tom de Vries <tdevries@suse.de>
3695
3696 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3697 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3698
ae5369e7
LC
36992020-07-20 Ludovic Courtès <ludo@gnu.org>
3700
3701 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3702 * gdb.guile/types-module.exp: Remove "ERROR:" from
3703 regexps since Guile 3.0 no longer prints that.
3704
68cf161c
LC
37052020-07-20 Ludovic Courtès <ludo@gnu.org>
3706
3707 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3708 error regexp to match on Guile 2.2.
3709
c14b4913
GB
37102020-07-20 Gary Benson <gbenson@redhat.com>
3711
3712 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3713 with clang.
3714
b243ba58
TV
37152020-07-20 Tom de Vries <tdevries@suse.de>
3716
3717 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3718 (omp_set_lock_in_order): New function.
3719 (single_scope, multi_scope, nested_func, nested_parallel): Use
3720 omp_set_lock_in_order and omp_unset_lock.
3721 (main): Init and destroy lock and lock2.
3722
c06ad8b5
TV
37232020-07-20 Tom de Vries <tdevries@suse.de>
3724
3725 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3726
6e22f117
TV
37272020-07-20 Tom de Vries <tdevries@suse.de>
3728
3729 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3730
33176ea7
TV
37312020-07-17 Tom de Vries <tdevries@suse.de>
3732
3733 * gdb.base/valgrind-infcall-2.c: New test.
3734 * gdb.base/valgrind-infcall-2.exp: New file.
3735 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3736
90c3ec2d
TV
37372020-07-17 Tom de Vries <tdevries@suse.de>
3738
3739 * gdb.dlang/circular.c (found): Use found_label as label name.
3740 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3741 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3742 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3743 * gdb.dwarf2/ada-linkage-name.exp: Same.
3744 * gdb.dwarf2/arr-subrange.exp: Same.
3745 * gdb.dwarf2/atomic-type.exp: Same.
3746 * gdb.dwarf2/comp-unit-lang.exp: Same.
3747 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3748 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3749 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3750 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3751 * gdb.dwarf2/implptr-64bit.exp: Same.
3752 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3753 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3754 * gdb.dwarf2/imported-unit.exp: Same.
3755 * gdb.dwarf2/main-subprogram.exp: Same.
3756 * gdb.dwarf2/missing-type-name.exp: Same.
3757 * gdb.dwarf2/nonvar-access.exp: Same.
3758 * gdb.dwarf2/struct-with-sig.exp: Same.
3759 * gdb.dwarf2/typedef-void-finish.exp: Same.
3760 * gdb.dwarf2/void-type.exp: Same.
3761
10da644d
TV
37622020-07-17 Tom de Vries <tdevries@suse.de>
3763
3764 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3765 src parameter.
3766 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3767 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3768 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3769 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3770 * gdb.dwarf2/dwz.exp: Same.
3771 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3772 * gdb.dwarf2/implref-array.exp: Same.
3773 * gdb.dwarf2/implref-const.exp: Same.
3774 * gdb.dwarf2/implref-global.exp: Same.
3775 * gdb.dwarf2/implref-struct.exp: Same.
3776 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3777 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3778 * gdb.dwarf2/var-access.exp: Same.
3779 * gdb.dwarf2/varval.exp: Same.
3780 * gdb.trace/entry-values.exp: Same.
3781
315e6afc
TV
37822020-07-17 Tom de Vries <tdevries@suse.de>
3783
3784 * lib/dwarf.exp (Dwarf::extern): Remove.
3785 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3786 * gdb.dlang/circular.exp: Same.
3787 * gdb.dwarf2/comp-unit-lang.exp: Same.
3788 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3789 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3790 * gdb.dwarf2/dwz.exp: Same.
3791 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3792 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3793 * gdb.dwarf2/imported-unit.exp: Same.
3794 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3795
5597c940
SL
37962020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3797
3798 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3799 Use double quotes instead of single quotes.
3800
d0ce17d8
CT
38012020-07-16 Caroline Tice <cmtice@google.com>
3802
3803 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3804 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3805
853772cc
TV
38062020-07-16 Tom de Vries <tdevries@suse.de>
3807
3808 * lib/dwarf.exp (program): Initialize _line.
3809 (DW_LNE_end_sequence): Reinitialize _line.
3810 (DW_LNS_advance_line): Update _line.
3811 (line): New proc.
3812 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3813 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3814 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3815 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3816 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3817 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3818
fe07b572
AB
38192020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3820
3821 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3822 generic.
3823
52781cce
TV
38242020-07-15 Tom de Vries <tdevries@suse.de>
3825
3826 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3827 is_amd64_regs_target.
3828
3dcc261c
AB
38292020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3830
3831 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3832 * gdb.fortran/ptype-on-functions.f90: Likewise.
3833
054a0959
SM
38342020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3835
3836 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3837 values in documentation for addr_size to 4 and 8.
3838
ccb9eba6
AB
38392020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3840
3841 * gdb.arch/amd64-osabi.exp: Update.
3842 * gdb.arch/arm-disassembler-options.exp: Update.
3843 * gdb.arch/powerpc-disassembler-options.exp: Update.
3844 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3845 * gdb.arch/s390-disassembler-options.exp: Update.
3846 * gdb.base/all-architectures.exp.tcl: Update.
3847 * gdb.base/attach-pie-noexec.exp: Update.
3848 * gdb.base/catch-syscall.exp: Update.
3849 * gdb.xml/tdesc-arch.exp: Update.
3850
025a39a7
TV
38512020-07-14 Tom de Vries <tdevries@suse.de>
3852
3853 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3854 (local_gettid): ... this.
3855 (fn): Update.
3856
74e4b667
SL
38572020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3858
3859 * gdb.base/info_sources.exp: Skip directory match tests on
3860 remote hosts.
3861
f413dd74
GB
38622020-07-13 Gary Benson <gbenson@redhat.com>
3863
3864 * gdb.base/savedregs.exp (caller): Use parentheses to
3865 make expected expression evaluation ordering explicit.
3866
915771bb
GB
38672020-07-13 Gary Benson <gbenson@redhat.com>
3868
3869 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3870
2a122642
GB
38712020-07-13 Gary Benson <gbenson@redhat.com>
3872
3873 * gdb.base/bigcore.c (main): Use a volatile pointer when
3874 attempting to trigger a SIGSEGV.
3875 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3876 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3877 * gdb.base/savedregs.c (thrower): Likewise.
3878 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3879
3f00c730
GB
38802020-07-13 Gary Benson <gbenson@redhat.com>
3881
3882 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3883 defining and using VLA structure fields into...
3884 * gdb.base/vla-struct-fields.c: New file.
3885 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3886 tests into...
3887 * gdb.base/vla-struct-fields.exp: New file.
3888
963eeee4
TV
38892020-07-13 Tom de Vries <tdevries@suse.de>
3890
3891 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3892 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3893 * gdb.base/gold-gdb-index.exp: Same.
3894 * gdb.base/morestack.exp: Same.
3895
0ed35c9a
DX
38962020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3897
3898 PR rust/26121
3899 * gdb.rust/modules.rs: Prevent linker from discarding test
3900 symbol.
3901
4fdba23d
PA
39022020-07-10 Pedro Alves <pedro@palves.net>
3903
3904 PR gdb/26199
3905 * gdb.multi/multi-target.c (exit_thread): New.
3906 (thread_start): Break loop if EXIT_THREAD.
3907 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3908 (top level) Call test_no_resumed.
3909
15f3b077
TT
39102020-07-08 Tom Tromey <tromey@adacore.com>
3911
3912 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3913 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3914
9fc501fd
AB
39152020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3916
3917 PR python/22748
3918 * gdb.opt/inline-frame-tailcall.c: New file.
3919 * gdb.opt/inline-frame-tailcall.exp: New file.
3920 * gdb.python/py-unwind-inline.c: New file.
3921 * gdb.python/py-unwind-inline.exp: New file.
3922 * gdb.python/py-unwind-inline.py: New file.
3923
64cb3757
AB
39242020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3925
3926 * gdb.python/py-arch-reg-groups.exp: New file.
3927
0f767f94
AB
39282020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3929
3930 * gdb.python/py-arch-reg-names.exp: New file.
3931
87dbc774
AB
39322020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3933
3934 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3935 gdb.PendingFrame.architecture method.
3936
d8cc8af6
TV
39372020-07-06 Tom de Vries <tdevries@suse.de>
3938
3939 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3940
3c8ea5be
PA
39412020-07-03 Pedro Alves <palves@redhat.com>
3942
3943 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3944 explicitly write negative numbers.
3945 * gdb.base/structs2.exp: Adjust expected output.
3946
bf90c83a
PA
39472020-07-03 Pedro Alves <palves@redhat.com>
3948
3949 * gdb.base/charset.c (init_string): Change all char parameters to
3950 unsigned char parameters.
3951
2eb82157
PA
39522020-07-03 Pedro Alves <palves@redhat.com>
3953
3954 * gdb.base/call-sc.exp (start_scalars_test): Use
3955 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3956 * gdb.base/overlays.c: Remove references to PARAMS.
3957 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3958 * gdb.base/reread.exp: Don't set 'prototypes' global.
3959 * gdb.base/structs.exp (start_structs_test): Use
3960 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3961 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3962 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3963 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3964 call.
3965 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3966
9adda7af
PA
39672020-07-03 Pedro Alves <palves@redhat.com>
3968
3969 * gdb.base/m32rovly.c: Delete.
3970 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3971
2a17c803
PW
39722020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3973
3974 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3975 of gdb_py_test_multiple.
3976 * gdb.python/py-cmd.exp: Likewise.
3977 * gdb.python/py-events.exp: Likewise.
3978 * gdb.python/py-function.exp: Likewise.
3979 * gdb.python/py-inferior.exp: Likewise.
3980 * gdb.python/py-infthread.exp: Likewise.
3981 * gdb.python/py-linetable.exp: Likewise.
3982 * gdb.python/py-parameter.exp: Likewise.
3983 * gdb.python/py-value.exp: Likewise.
3984
b011fe1a
TV
39852020-06-30 Tom de Vries <tdevries@suse.de>
3986
3987 PR testsuite/26175
3988 * lib/future.exp (gdb_default_target_compile): Detect and handle
3989 early_flags.
3990
df5b8876
SM
39912020-06-29 Simon Marchi <simon.marchi@efficios.com>
3992
3993 * boards/simavr.exp (gdb_load): Catch errors when closing
3994 previous connection. Close connection, wait for process and
3995 unset simavr_spawn_id on failure.
3996
a3ca48cd
TV
39972020-06-29 Tom de Vries <tdevries@suse.de>
3998
3999 * lib/gdb.exp (unknown): Make test-case unresolved.
4000
b0237c0e
TV
40012020-06-29 Tom de Vries <tdevries@suse.de>
4002
4003 PR gdb/25475
4004 * gdb.server/solib-list.exp: Verify that the symbol reload
4005 confirmation question is asked.
4006
c0b3b3bd
PW
40072020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4008
4009 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
4010 have a input seq nr in each pass message.
fe4c3d43 4011 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
4012 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
4013 * gdb.python/python.exp: Make test names unique,
4014 use gdb_test_multiline instead of gdb_py_test_multiple,
4015 use $gdb_test_name.
4016 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
4017
1776e3e5
NA
40182020-06-26 Nick Alcock <nick.alcock@oracle.com>
4019
4020 * configure.ac: Add --enable-libctf.
4021 * aclocal.m4: sinclude ../config/enable.m4.
4022 * Makefile.in (site.exp): Add enable_libctf to site.exp.
4023 * lib/gdb.exp (skip_ctf_tests): Use it.
4024 * gdb.base/ctf-constvars.exp: Error message tweak.
4025 * gdb.base/ctf-ptype.exp: Likewise.
4026 * configure: Regenerate.
4027
f53b3eeb
GB
40282020-06-26 Gary Benson <gbenson@redhat.com>
4029
4030 * gdb.cp/try_catch.cc: Include string.h.
4031 (main): Replace comparison against string literal with
4032 strcmp, avoiding build failure with -Wstring-compare.
4033 Add "marker test-complete".
4034 * gdb.cp/try_catch.exp: Run the test to the above marker,
4035 then verify that the value of "test" is still true.
4036
6d74da72
AB
40372020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4038
4039 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
4040
2e52d038
AB
40412020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4042
4043 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4044
3b9fce96
AB
40452020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4046
4047 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
4048 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
4049 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
4050 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
4051 * gdb.arch/riscv-tdesc-loading.exp: New file.
4052
ed69cbc8
AB
40532020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4054
4055 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4056
767a879e
AB
40572020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4058
4059 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
4060 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
4061 * gdb.arch/riscv-tdesc-regs.c: New file.
4062 * gdb.arch/riscv-tdesc-regs.exp: New file.
4063
221db974
PA
40642020-06-24 Pedro Alves <palves@redhat.com>
4065
4066 * gdb.arch/amd64-entry-value-paramref.exp: Use
4067 prepare_for_testing_full and don't pass "c++" for the .S file
4068 build spec.
4069 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
4070 $options, since it's an assembly file. Remove -Wno-deprecated.
4071 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
4072 compiling C++ programs.
4073
331733cd
PA
40742020-06-24 Pedro Alves <palves@redhat.com>
4075
4076 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
4077 Clang, add "-Wno-unknown-warning-option" to the options.
4078
caa7fd04
AB
40792020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
4080
4081 * gdb.xml/tdesc-reload.c: New file.
4082 * gdb.xml/tdesc-reload.exp: New file.
4083 * gdb.xml/maint-xml-dump-01.xml: New file.
4084 * gdb.xml/maint-xml-dump-02.xml: New file.
4085 * gdb.xml/maint-xml-dump.exp: New file.
4086
bb8d1260
SL
40872020-06-23 Sandra Loosemore <sandra@codesourcery.com>
4088
4089 * lib/completion-support.exp (test_gdb_completion_offers_commands):
4090 Adjust for omitted commands when TUI is disabled.
4091
7e4b9c4c
GB
40922020-06-23 Gary Benson <gbenson@redhat.com>
4093 Pedro Alves <palves@redhat.com>
4094
4095 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4096 * gdb.cp/nsimport.cc: Likewise.
4097 * gdb.cp/nsnested.cc: Likewise.
4098 * gdb.cp/nsnoimports.cc: Likewise.
4099 * gdb.cp/nsusing.cc: Likewise.
4100 * gdb.cp/smartp.cc: Likewise.
4101 * gdb.python/py-pp-integral.c: Likewise.
4102 * gdb.python/py-pp-re-notag.c: Likewise.
4103
2e573c0a
GB
41042020-06-23 Gary Benson <gbenson@redhat.com>
4105
4106 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4107 * gdb.cp/nsimport.cc: Likewise.
4108 * gdb.cp/nsnested.cc: Likewise.
4109 * gdb.cp/nsnoimports.cc: Likewise.
4110 * gdb.cp/nsusing.cc: Likewise.
4111 * gdb.cp/smartp.cc: Likewise.
4112 * gdb.python/py-pp-integral.c: Likewise.
4113 * gdb.python/py-pp-re-notag.c: Likewise.
4114
746ebfe8
PW
41152020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4116
4117 * gdb.base/default-args.exp: New test.
4118 * gdb.base/default-args.c: New file.
4119 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4120 * gdb.base/default.exp: Update to new help text.
4121 * gdb.base/help.exp: Likewise.
4122 * gdb.base/page.exp: Likewise.
4123 * gdb.base/style.exp: Likewise.
4124 * gdb.guile/guile.exp: Likewise.
4125 * gdb.python/python.exp: Likewise.
4126
e822f2cd
SL
41272020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4128
4129 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4130 remote host. Fix search path syntax on Windows host.
4131
48e9cc84
PW
41322020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4133
4134 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4135 over 'exec-file-mismatch'.
4136 * gdb.base/attach.c: Mark should_exit volatile.
4137 * gdb.base/attach2.c: Likewise. Add a comment explaining
4138 why the sleep cannot be big.
4139 * gdb.base/attach3.c: New file.
4140
160f8a8f
SL
41412020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4142
4143 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4144 prefix optional.
4145
4d91c2a4
SL
41462020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4147
4148 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4149 for remote host.
4150
87f83f20
SL
41512020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4152 Hafiz Abid Qadeer <abidh@codesourcery.com>
4153
4154 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4155 file sent to remote host.
4156 (top level): Allow int32_t as type of 32-bit register.
4157
37ab8655
TV
41582020-06-19 Tom de Vries <tdevries@suse.de>
4159
4160 * lib/gdb.exp (gdb_note): New proc.
4161 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4162 (gdb_default_target_compile): ... here. Only call
4163 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4164 (use_gdb_compile): Change to array.
4165 (toplevel): Update sets of use_gdb_compile to specify language.
4166 Warn about default_target_compile override. Store dejagnu's version
4167 of default_target_compile in dejagnu_default_target_compile.
4168
a8a56685
TV
41692020-06-18 Tom de Vries <tdevries@suse.de>
4170
4171 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4172 (default_gdb_init): ... here.
4173
581bea2c
SL
41742020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4175
4176 Fix TUI support checks in gdb.tui tests.
4177
4178 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4179 just say UNSUPPORTED.
4180 * gdb.tui/corefile-run.exp: Likewise.
4181 * gdb.tui/empty.exp: Likewise.
4182 * gdb.tui/list-before.exp: Likewise.
4183 * gdb.tui/list.exp: Likewise.
4184 * gdb.tui/main.exp: Likewise.
4185 * gdb.tui/regs.exp: Likewise.
4186 * gdb.tui/resize.exp: Likewise.
4187 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4188 * gdb.tui/tui-layout-asm.exp: Likewise.
4189 * gdb.tui/tui-missing-src.exp: Likewise.
4190 * gdb.tui/winheight.exp: Likewise.
4191 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4192
05e682e3
SL
41932020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4194
4195 Fix TCL error in gdb.python/py-format-string.exp.
4196
4197 * gdb.python/py-format-string.exp: Move test for python support
4198 earlier, out of function body.
4199
efb763a5
SM
42002020-06-15 Simon Marchi <simon.marchi@efficios.com>
4201
4202 * gdb.base/index-cache-load-twice.c: New.
4203 * gdb.base/index-cache-load-twice.exp: New.
4204
43327b20
KS
42052020-06-17 Keith Seitz <keiths@redhat.com>
4206
99cf27cf 4207 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
4208 when executing "gdb --configuration".
4209
081e778c
TV
42102020-06-17 Tom de Vries <tdevries@suse.de>
4211
4212 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4213 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4214 conditional on presence of gdb_tcl_unknown.
4215 (gdb_finish): Make override undo conditional on presence of
4216 gdb_tcl_unknown.
4217
d2d1ea20
TT
42182020-06-16 Tom Tromey <tom@tromey.com>
4219
4220 * gdb.python/tui-window.py (failwin): New function. Register it
4221 as a TUI window type.
4222 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4223
c802e8a7
GB
42242020-06-16 Gary Benson <gbenson@redhat.com>
4225
4226 * gdb.python/py-nested-maps.c (create_map): Add missing return
4227 value.
4228 (create_map_map): Likewise.
4229
ff08abb8
TBA
42302020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4231
4232 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4233 variable.
4234 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4235 and use the already-defined 'options' variable.
4236
a29d5112
AB
42372020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4238 Tom de Vries <tdevries@suse.de>
4239
4240 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4241 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4242 (gdb_setup_known_globals): New proc.
4243 (gdb_cleanup_globals): New proc.
4244 * lib/gdb.exp (load_lib): New override proc.
4245 (gdb_stdin_log_init): Set var in_file as persistent global.
4246 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4247 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4248 fpc_compiler as persistent global.
4249
8c74a764
TV
42502020-06-12 Tom de Vries <tdevries@suse.de>
4251
4252 * lib/tuiterm.exp (spawn): Rename to ...
4253 (tui_spawn): ... this.
4254 (toplevel): Move rename of spawn ...
4255 (gdb_init_tuiterm): ... here. New proc.
4256 (gdb_finish_tuiterm): New proc.
4257 * lib/gdb.exp (gdb_finish_hooks): New global var.
4258 (gdb_finish): Handle gdb_finish_hooks.
4259 (tuiterm_env): New proc.
4260 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4261 tuiterm_env.
4262 * gdb.tui/basic.exp: Same.
4263 * gdb.tui/corefile-run.exp: Same.
4264 * gdb.tui/empty.exp: Same.
4265 * gdb.tui/list-before.exp: Same.
4266 * gdb.tui/list.exp: Same.
4267 * gdb.tui/main.exp: Same.
4268 * gdb.tui/new-layout.exp: Same.
4269 * gdb.tui/regs.exp: Same.
4270 * gdb.tui/resize.exp: Same.
4271 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4272 * gdb.tui/tui-layout-asm.exp: Same.
4273 * gdb.tui/tui-missing-src.exp: Same.
4274 * gdb.tui/winheight.exp: Same.
4275
26783bce
TV
42762020-06-12 Tom de Vries <tdevries@suse.de>
4277
4278 PR testsuite/26110
4279 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4280 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4281
2b4e6a3f
TT
42822020-06-11 Tom Tromey <tom@tromey.com>
4283
4284 PR gdb/18318:
4285 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4286 floating point tests.
4287
2f33032a
KS
42882020-06-11 Keith Seitz <keiths@redhat.com>
4289
4290 PR gdb/21356
4291 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4292 vla_struct.
4293 Add new struct vla_typedef and union vla_typedef_union and
4294 corresponding instantiation objects.
4295 Initialize new objects.
4296 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4297 and vla_typedef_union_object.
4298 Fixup type for vla_struct_object.
4299
a8baf0a3
TV
43002020-06-11 Tom de Vries <tdevries@suse.de>
4301
4302 * lib/gdb.exp (with_override): New proc, factored out of ...
4303 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4304
7ab96794
TV
43052020-06-10 Tom de Vries <tdevries@suse.de>
4306
4307 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4308
cab5c3b7
SM
43092020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4310
4311 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4312 parameter, update callers.
4313
f8c41851
SM
43142020-06-04 Simon Marchi <simon.marchi@efficios.com>
4315
4316 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4317 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4318 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4319
1c07a73f
TV
43202020-06-04 Tom de Vries <tdevries@suse.de>
4321
4322 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4323
95146b5d
TV
43242020-06-04 Tom de Vries <tdevries@suse.de>
4325
4326 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4327 exp_continue.
4328
0cfcd4f0
TV
43292020-06-04 Tom de Vries <tdevries@suse.de>
4330
4331 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4332
f9b5d5ea
TV
43332020-06-03 Tom de Vries <tdevries@suse.de>
4334
4335 PR symtab/26046
4336 * gdb.cp/breakpoint-locs-2.cc: New test.
4337 * gdb.cp/breakpoint-locs.cc: New test.
4338 * gdb.cp/breakpoint-locs.exp: New file.
4339 * gdb.cp/breakpoint-locs.h: New test.
4340
5144dfba
TV
43412020-06-03 Tom de Vries <tdevries@suse.de>
4342
4343 PR testsuite/25609
4344 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4345 value of global verbose.
4346 * gdb.base/jit-elf.exp: Same.
4347 * gdb.base/jit-reader.exp: Same.
4348
621eacdf
TV
43492020-06-02 Tom de Vries <tdevries@suse.de>
4350
4351 * gdb.dwarf2/multidictionary.exp: Don't use
4352 gdb_spawn_with_cmdline_opts.
4353
1313c56e
AB
43542020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4355
4356 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4357 use_header case.
4358 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4359 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4360 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4361 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4362 * gdb.dwarf2/dw2-inline-header.c: New file.
4363 * gdb.dwarf2/dw2-inline-header.h: New file.
4364
f68f85b5
PA
43652020-05-30 Pedro Alves <palves@redhat.com>
4366
4367 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4368 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4369
678048e8
GB
43702020-05-29 Gary Benson <gbenson@redhat.com>
4371
4372 * gdb.compile/compile-cplus.exp (additional_flags): Also
4373 set when building with clang.
4374 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4375 when building with clang.
4376
9fcafd23
GB
43772020-05-29 Gary Benson <gbenson@redhat.com>
4378
4379 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4380 building with clang.
4381 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4382
735d5a07
GB
43832020-05-29 Gary Benson <gbenson@redhat.com>
4384
4385 * gdb.cp/koenig.exp (prepare_for_testing): Add
4386 additional_flags=-Wno-unused-comparison.
4387 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4388
4ad2c6a0
GB
43892020-05-28 Gary Benson <gbenson@redhat.com>
4390
4391 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4392 statement.
4393
09fe663e
GB
43942020-05-28 Gary Benson <gbenson@redhat.com>
4395
4396 * gdb.cp/classes.exp (prepare_for_testing): Add
4397 additional_flags=-Wno-deprecated-register.
4398 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4399 * gdb.cp/misc.exp: Likewise.
4400
cee00f17
GB
44012020-05-28 Gary Benson <gbenson@redhat.com>
4402
4403 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4404 (test_op_new::operator new): Add return statement.
4405 (test_op_new_array::operator new[]): Likewise.
4406
636edd00
PA
44072020-05-27 Pedro Alves <palves@redhat.com>
4408
4409 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4410 check. Use test_gdb_complete_unique instead of
4411 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4412 test_gdb_complete_multiple instead of
4413 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4414
c2b75043
LM
44152020-05-27 Luis Machado <luis.machado@linaro.org>
4416
4417 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4418 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4419 * gdb.arch/arm-disassembler-options.exp: Likewise.
4420 * gdb.arch/arm-disp-step.exp: Likewise.
4421 * gdb.arch/thumb-prologue.exp: Likewise.
4422 * gdb.base/async.exp: Likewise.
4423 * gdb.base/auxv.exp: Likewise.
4424 * gdb.base/complex-parts.exp: Likewise.
4425 * gdb.base/ena-dis-br.exp: Likewise.
4426 * gdb.base/foll-exec.exp: Likewise.
4427 * gdb.base/permissions.exp: Likewise.
4428 * gdb.base/relocate.exp: Likewise.
4429 * gdb.base/return2.exp: Likewise.
4430 * gdb.base/sigbpt.exp: Likewise.
4431 * gdb.base/siginfo-obj.exp: Likewise.
4432 * gdb.cp/converts.exp: Likewise.
4433 * gdb.cp/exceptprint.exp: Likewise.
4434 * gdb.cp/inherit.exp: Likewise.
4435 * gdb.cp/nsnoimports.exp: Likewise.
4436 * gdb.cp/virtbase2.exp: Likewise.
4437 * gdb.mi/mi-var-cmd.exp: Likewise.
4438 * gdb.mi/var-cmd.c: Likewise.
4439
53a47a3e
TT
44402020-05-26 Tom Tromey <tromey@adacore.com>
4441
4442 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4443
0bc2354b
TT
44442020-05-26 Tom Tromey <tromey@adacore.com>
4445
4446 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4447 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4448 type.
4449 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4450 variable.
4451
0db49895
CBG
44522020-05-26 Christian Biesinger <cbiesinger@google.com>
4453
4454 * Makefile.in: Use = instead of == for the test command
4455 for portability.
4456
40d22035
TV
44572020-05-26 Tom de Vries <tdevries@suse.de>
4458
4459 * gdb.base/gold-gdb-index-2.c: New test.
4460 * gdb.base/gold-gdb-index.c: New test.
4461 * gdb.base/gold-gdb-index.exp: New file.
4462 * gdb.base/gold-gdb-index.h: New test.
4463
043e2e02
TV
44642020-05-25 Tom de Vries <tdevries@suse.de>
4465
4466 * boards/gold-gdb-index.exp: New file.
4467
462f72c5
SM
44682020-05-25 Simon Marchi <simon.marchi@efficios.com>
4469
4470 * boards/simavr.exp: New file.
4471
6cf66e76
SM
44722020-05-25 Simon Marchi <simon.marchi@efficios.com>
4473
4474 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4475 * gdb.base/inferior-args.exp: New file.
4476 * gdb.base/inferior-args.c: New file.
4477
75d04512
SM
44782020-05-25 Simon Marchi <simon.marchi@efficios.com>
4479
4480 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4481 inferior_args. Pass it to gdb_reload.
4482 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4483 inferior_args.
4484 (gdb_reload): Add inferior_args argument.
4485 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4486 pass it to gdbserver_run.
4487 * boards/native-gdbserver.exp: Do not set noargs.
4488 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4489 inferior_args argument.
4490 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4491 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4492 * gdb.base/args.exp: Likewise.
4493
42cf1844
TV
44942020-05-25 Tom de Vries <tdevries@suse.de>
4495
4496 * lib/gdb.exp (exec_is_pie): Add comment.
4497
8f7d38ef
TV
44982020-05-25 Tom de Vries <tdevries@suse.de>
4499
4500 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4501 instead of $binfile in the untested message.
4502
465e1b0f
TV
45032020-05-25 Tom de Vries <tdevries@suse.de>
4504
4505 PR testsuite/26031
4506 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4507
3c5a0e02
TV
45082020-05-25 Tom de Vries <tdevries@suse.de>
4509
4510 * boards/gold.exp: New file.
4511
0a4f5f8c
TT
45122020-05-23 Tom Tromey <tom@tromey.com>
4513
4514 * gdb.base/style.exp: Remove completion styling test.
4515 * lib/gdb-utils.exp (style): Remove completion styles.
4516
eca1f90c
TT
45172020-05-23 Tom Tromey <tom@tromey.com>
4518
4519 * gdb.base/style.exp: Add completion styling test.
4520 * lib/gdb-utils.exp (style): Add completion styles.
4521
7c13f4e8
AB
45222020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4523
4524 * gdb.base/annota1.exp: Update expected results.
4525 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4526 test name.
4527 * gdb.cp/annota3.exp: Update expected results.
4528
41977d16
SM
45292020-05-20 Simon Marchi <simon.marchi@efficios.com>
4530
4531 PR gdb/26016
4532 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4533 against MAP_FAILED.
4534 * gdb.base/coremaker.c (mmapdata): Likewise.
4535 * gdb.base/jit-reader-host.c (main): Likewise.
4536 * gdb.base/sym-file-loader.c (load): Likewise.
4537 (load_shlib): Likewise.
4538
b4757f2e
TT
45392020-05-20 Tom Tromey <tromey@adacore.com>
4540
4541 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4542
9a0bacfb
TV
45432020-05-20 Tom de Vries <tdevries@suse.de>
4544
4545 PR symtab/25833
4546 * gdb.base/with-mf-inc.c: New test.
4547 * gdb.base/with-mf-main.c: New test.
4548 * gdb.base/with-mf.exp: New file.
4549
76571211
TT
45502020-05-19 Tom Tromey <tromey@adacore.com>
4551
4552 * gdb.rust/simple.exp: Restore missing test result.
4553
4cd9f3d5
TV
45542020-05-19 Tom de Vries <tdevries@suse.de>
4555
4556 * gdb.base/gdb-caching-proc.exp: Fix typo.
4557
7d874253
TT
45582020-05-19 Tom Tromey <tromey@adacore.com>
4559
4560 * gdb.rust/simple.exp: Add some test descriptions.
4561 (test_one_slice): Use with_test_prefix.
4562
1d727695
TV
45632020-05-18 Tom de Vries <tdevries@suse.de>
4564
4565 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4566
7f32a4d5
PA
45672020-05-17 Pedro Alves <palves@redhat.com>
4568
4569 PR gdb/25741
4570 * gdb.base/hw-sw-break-same-address.exp: New file.
4571
7cfd74cf
PA
45722020-05-16 Pedro Alves <palves@redhat.com>
4573
4574 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4575 LAST_LOADED_FILE accordingly.
4576
57b4f16e
PW
45772020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4578
4579 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4580
7c05caf7
PW
45812020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4582
4583 * gdb.base/help.exp: Test apropos and help for commands
4584 having aliases. Fixed comments not starting with an
4585 upper-case letter or not finishing with a dot.
4586
7aa1b46f
PW
45872020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4588
3b3aaacb
PW
4589 * gdb.base/alias.exp: Update help output check.
4590
57b4f16e 45912020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4592
7aa1b46f
PW
4593 * gdb.base/default.exp: Update output following fixes.
4594
0605465f
PW
45952020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4596
4597 * gdb.base/alias.exp: Test aliases starting with a prefix of
4598 another alias.
4599
86e4e63d
GB
46002020-05-15 Gary Benson <gbenson@redhat.com>
4601
4602 * gdb.base/info-os.c (main): Add return statement.
4603 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4604 * gdb.base/large-frame-2.c (func): Likewise.
4605 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4606 * gdb.base/pr10179-b.c (foo2): Likewise.
4607 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4608 * gdb.base/watch-cond.c (func): Likewise.
4609 * gdb.multi/goodbye.c (verylongfun): Likewise.
4610 * gdb.multi/hello.c (commonfun): Likewise.
4611 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4612 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4613 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4614 Likewise.
4615 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4616 * gdb.threads/interrupt-while-step-over.c (child_function):
4617 Likewise.
4618 * gdb.trace/actions-changed.c (end): Likewise.
4619
163df4df
GB
46202020-05-15 Gary Benson <gbenson@redhat.com>
4621
4622 * gdb.opencl/callfuncs.exp: Report when test skipped.
4623 * gdb.opencl/convs_casts.exp: Likewise.
4624 * gdb.opencl/datatypes.exp: Likewise.
4625 * gdb.opencl/operators.exp: Likewise.
4626 * gdb.opencl/vec_comps.exp: Likewise.
4627
6dbc505a
TV
46282020-05-15 Tom de Vries <tdevries@suse.de>
4629
4630 * gdb.base/align.exp.in: Rename to ...
4631 * gdb.base/align.exp.tcl: ... this.
4632 * gdb.base/align-c++.exp: Update.
4633 * gdb.base/align-c.exp: Update.
4634 * gdb.base/all-architectures.exp.in: Rename to ...
4635 * gdb.base/all-architectures.exp: ... this.
4636 * gdb.base/all-architectures-0.exp: Update.
4637 * gdb.base/all-architectures-1.exp: Update.
4638 * gdb.base/all-architectures-2.exp: Update.
4639 * gdb.base/all-architectures-3.exp: Update.
4640 * gdb.base/all-architectures-4.exp: Update.
4641 * gdb.base/all-architectures-5.exp: Update.
4642 * gdb.base/all-architectures-6.exp: Update.
4643 * gdb.base/all-architectures-7.exp: Update.
4644 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4645 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4646 * gdb.base/infcall-nested-structs-c++.exp: Update.
4647 * gdb.base/infcall-nested-structs-c.exp: Update.
4648 * gdb.base/info-types.exp.in: Rename to ...
4649 * gdb.base/info-types.exp.tcl: ... this.
4650 * gdb.base/info-types-c++.exp: Update.
4651 * gdb.base/info-types-c.exp: Update.
4652 * gdb.base/max-depth.exp.in: Rename to ...
4653 * gdb.base/max-depth.exp.tcl: ... this.
4654 * gdb.base/max-depth-c++.exp: Update.
4655 * gdb.base/max-depth-c.exp: Update.
4656 * gdb.cp/cpexprs.exp.in: Rename to ...
4657 * gdb.cp/cpexprs.exp.tcl: ... this.
4658 * gdb.cp/cpexprs-debug-types.exp: Update.
4659 * gdb.cp/cpexprs.exp: Update.
4660 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4661 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4662 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4663 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4664 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4665 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4666 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4667 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4668 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4669 * gdb.dwarf2/clang-debug-names.exp: Update.
4670
d1034d78
AB
46712020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4672
4673 * lib/check-test-names.exp: Remove code that prevents this file
4674 loading when tests are run in parallel.
4675
3c5c3649
PA
46762020-05-15 Pedro Alves <palves@redhat.com>
4677
4678 * gdb.multi/multi-kill.exp (start_inferior): Remove
4679 'testpid' parameter. Refer to namespace variable directly.
4680 (testpid): Declare as namespace variable.
4681
272c36b8
PA
46822020-05-15 Pedro Alves <palves@redhat.com>
4683
4684 * gdb.multi/multi-kill.exp: Wrap in namespace.
4685 (start_inferior): Add TESTPID parameter. Use it instead of the
4686 testpid global.
4687 (top level): Define empty TESTPID array, and pass it down to
4688 start_inferior.
4689
02eba61a
TV
46902020-05-14 Tom de Vries <tdevries@suse.de>
4691
4692 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4693 output.
4694
971a3747
TV
46952020-05-14 Tom de Vries <tdevries@suse.de>
4696
4697 * gdb.base/align.exp: Split into ...
4698 * gdb.base/align.exp.in: ...
4699 * gdb.base/align-c++.exp: ...
4700 * gdb.base/align-c.exp: ... these.
4701 * gdb.base/infcall-nested-structs.exp: Split into ...
4702 * gdb.base/infcall-nested-structs.exp.in: ...
4703 * gdb.base/infcall-nested-structs-c++.exp: ...
4704 * gdb.base/infcall-nested-structs-c.exp: ... these.
4705 * gdb.base/info-types.exp: Split into ...
4706 * gdb.base/info-types.exp.in: ...
4707 * gdb.base/info-types-c++.exp: ...
4708 * gdb.base/info-types-c.exp: ... these.
4709 * gdb.base/max-depth.exp: Split into ...
4710 * gdb.base/max-depth.exp.in: ...
4711 * gdb.base/max-depth-c++.exp: ...
4712 * gdb.base/max-depth-c.exp: ... these.
4713 * gdb.cp/infcall-nodebug.exp: Split into ...
4714 * gdb.cp/infcall-nodebug.exp.in: ...
4715 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4716 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4717 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4718 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4719
a05575d3
TBA
47202020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4721 Pedro Alves <palves@redhat.com>
4722
4723 * gdb.multi/multi-exit.c: New file.
4724 * gdb.multi/multi-exit.exp: New file.
4725 * gdb.multi/multi-kill.c: New file.
4726 * gdb.multi/multi-kill.exp: New file.
4727
6ad82919
TBA
47282020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4729
4730 * gdb.base/annota1.exp: Update the expected output.
4731 * gdb.cp/annota2.exp: Ditto.
4732
843f4d93
AB
47332020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4734
4735 * lib/check-test-names.exp: Disable when testing is being run in
4736 parallel.
4737
c7c66341
TV
47382020-05-12 Tom de Vries <tdevries@suse.de>
4739
4740 * gdb.base/jit-elf.exp: Fix string concat.
4741
1b59ca1c
TV
47422020-05-12 Tom de Vries <tdevries@suse.de>
4743
4744 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4745 messages.
4746
b4991d29
TV
47472020-05-12 Tom de Vries <tdevries@suse.de>
4748
4749 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4750
dbb0ab10
TV
47512020-05-12 Tom de Vries <tdevries@suse.de>
4752
4753 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4754 * gdb.ada/mi_catch_ex.exp: Same.
4755 * gdb.ada/mi_catch_ex_hand.exp: Same.
4756
7549fed8
TV
47572020-05-12 Tom de Vries <tdevries@suse.de>
4758
4759 * gdb.fortran/complex.exp: Use with_test_prefix.
4760
af2d5cd8
TV
47612020-05-12 Tom de Vries <tdevries@suse.de>
4762
4763 * gdb.trace/passcount.exp: Fix test-names.
4764
7c121311
TV
47652020-05-12 Tom de Vries <tdevries@suse.de>
4766
4767 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4768
c9f3b40e
TV
47692020-05-12 Tom de Vries <tdevries@suse.de>
4770
4771 * gdb.gdb/complaints.exp: Use with_test_prefix.
4772 * gdb.xml/tdesc-regs.exp: Same.
4773 * gdb.opt/inline-locals.exp: Fix test name.
4774
111b33f0
TV
47752020-05-12 Tom de Vries <tdevries@suse.de>
4776
4777 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4778 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4779 * gdb.dwarf2/implref-struct.exp: Same.
4780 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4781 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4782
ebf47080
SM
47832020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4784
4785 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4786
d30dcd12
AB
47872020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4788
4789 * lib/check-test-names.exp (all_test_names): New module variable.
4790 (counts): Add 'duplicates' field.
4791 (_check_duplicates): New procedure.
4792 (check): Also check for duplicates.
4793 (do_log_summary): Print duplicates count.
4794 (do_reset_vars): Reset counter for duplicate test names, and
4795 discard all know test names.
4796
34584c09
AB
47972020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4798
4799 * lib/gdb.exp: Include check-test-names.exp library.
4800 * lib/check-test-names.exp: New file.
4801
e0002117
TV
48022020-05-11 Tom de Vries <tdevries@suse.de>
4803
4804 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4805
53f539a3
KS
48062020-05-11 Keith Seitz <keiths@redhat.com>
4807
4808 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4809
113ee09a
TV
48102020-05-11 Tom de Vries <tdevries@suse.de>
4811
4812 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4813 * gdb.cp/cpexprs.exp.in: .. here.
4814 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4815 cpexprs.exp.
4816
ba3e70b0
KS
48172020-05-11 Keith Seitz <keiths@redhat.com>
4818
4819 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4820 test names.
4821 * gdb.ada/arrayptr.exp: Likewise.
4822 * gdb.ada/assign_arr.exp: Likewise.
4823 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4824 * gdb.ada/bp_on_var.exp: Likewise.
4825 * gdb.ada/call_pn.exp: Likewise.
4826 * gdb.ada/complete.exp: Likewise.
4827 * gdb.ada/fun_overload_menu.exp: Likewise.
4828 * gdb.ada/funcall_param.exp: Likewise.
4829 * gdb.ada/funcall_ref.exp: Likewise.
4830 * gdb.ada/packed_array_assign.exp: Likewise.
4831 * gdb.ada/same_component_name.exp: Likewise.
4832 * gdb.ada/type_coercion.exp: Likewise.
4833 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4834 * gdb.ada/variant_record_packed_array.exp: Likewise.
4835
3ee6bb11
TV
48362020-05-11 Tom de Vries <tdevries@suse.de>
4837
4838 PR symtab/25941
4839 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4840 out of ...
4841 * gdb.dwarf2/clang-debug-names.exp: ... here.
4842 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4843 clang-debug-names.exp.in.
4844 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4845 * gdb.dwarf2/clang-debug-names-2.c: New test.
4846
86cd6bc8
AKS
48472020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4848
4849 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4850 (fortran_runto_main): New Proc, fortran version of runto_main.
4851 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4852 * gdb.fortran/array-bounds.exp: Likewise.
4853 * gdb.fortran/array-slices.exp: Likewise.
4854 * gdb.fortran/block-data.exp: Likewise.
4855 * gdb.fortran/charset.exp: Likewise.
4856 * gdb.fortran/common-block.exp: Likewise.
4857 * gdb.fortran/complex.exp: Likewise.
4858 * gdb.fortran/derived-type-function.exp: Likewise.
4859 * gdb.fortran/derived-type.exp: Likewise.
4860 * gdb.fortran/info-modules.exp: Likewise.
4861 * gdb.fortran/info-types.exp: Likewise.
4862 * gdb.fortran/intrinsics.exp: Likewise.
4863 * gdb.fortran/library-module.exp: Likewise.
4864 * gdb.fortran/logical.exp: Likewise.
4865 * gdb.fortran/max-depth.exp: Likewise.
4866 * gdb.fortran/module.exp: Likewise.
4867 * gdb.fortran/multi-dim.exp: Likewise.
4868 * gdb.fortran/nested-funcs.exp: Likewise.
4869 * gdb.fortran/print-formatted.exp: Likewise.
4870 * gdb.fortran/print_type.exp: Likewise.
4871 * gdb.fortran/printing-types.exp: Likewise.
4872 * gdb.fortran/ptr-indentation.exp: Likewise.
4873 * gdb.fortran/ptype-on-functions.exp: Likewise.
4874 * gdb.fortran/subarray.exp: Likewise.
4875 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4876 * gdb.fortran/vla-datatypes.exp: Likewise.
4877 * gdb.fortran/vla-history.exp: Likewise.
4878 * gdb.fortran/vla-ptr-info.exp: Likewise.
4879 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4880 * gdb.fortran/vla-ptype.exp: Likewise.
4881 * gdb.fortran/vla-sizeof.exp: Likewise.
4882 * gdb.fortran/vla-type.exp: Likewise.
4883 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4884 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4885 * gdb.fortran/vla-value-sub.exp: Likewise.
4886 * gdb.fortran/vla-value.exp: Likewise.
4887 * gdb.fortran/whatis_type.exp: Likewise.
4888 * gdb.mi/mi-var-child-f.exp: Likewise.
4889
6dc55ce9 48902020-05-09 Tom de Vries <tdevries@suse.de>
4891
4892 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4893
283cb58c
TV
48942020-05-08 Tom de Vries <tdevries@suse.de>
4895
4896 * gdb.dwarf2/clang-debug-names.c: New test.
4897 * gdb.dwarf2/clang-debug-names.exp: New file.
4898
ac4a4f1c
SM
48992020-05-06 Simon Marchi <simon.marchi@efficios.com>
4900
4901 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4902 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4903
24fe640b
TV
49042020-05-06 Tom de Vries <tdevries@suse.de>
4905
4906 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4907 breakpoint is at a "recommended breakpoint location".
4908 * gdb.reverse/consecutive-reverse.exp: Same.
4909
0d8683a3
TV
49102020-05-06 Tom de Vries <tdevries@suse.de>
4911
4912 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4913 address.
4914
b8983c46
TV
49152020-05-06 Tom de Vries <tdevries@suse.de>
4916
4917 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4918
abf6d805
TV
49192020-05-06 Tom de Vries <tdevries@suse.de>
4920
4921 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4922 info for r.
4923
0fc2a808
TV
49242020-05-06 Tom de Vries <tdevries@suse.de>
4925
4926 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4927 necessary.
4928
873dd427
TV
49292020-05-06 Tom de Vries <tdevries@suse.de>
4930
4931 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4932 void.
4933
7c99e7e2
TV
49342020-05-06 Tom de Vries <tdevries@suse.de>
4935
4936 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4937 of ...
4938 * gdb.base/async.exp: ... here.
4939 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4940 "recommended breakpoint location".
4941
6173d6a6
TV
49422020-05-06 Tom de Vries <tdevries@suse.de>
4943
4944 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4945
6015a067
TV
49462020-05-04 Tom de Vries <tdevries@suse.de>
4947
4948 * gdb.base/async.exp: Check whether instruction addresses are a
4949 "recommended breakpoint location".
4950
3b6acaee
TT
49512020-05-03 Tom Tromey <tom@tromey.com>
4952
4953 * gdb.base/sepdebug.exp: Remove "catch" test.
4954 * gdb.base/break.exp: Remove "catch" test.
4955 * gdb.base/default.exp: Update expected output.
4956
5beb4d17
TV
49572020-05-02 Tom de Vries <tdevries@suse.de>
4958
4959 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4960 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4961 * gdb.arch/i386-mpx-map.exp: Same.
4962 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4963 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4964 * gdb.arch/i386-mpx.exp: Same.
4965
8caf140d
TV
49662020-05-02 Tom de Vries <tdevries@suse.de>
4967
4968 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4969
693196cb
TV
49702020-05-01 Tom de Vries <tdevries@suse.de>
4971
4972 * gdb.ada/operator_bp.exp: Allow more than required amount of
4973 breakpoint.
4974
53ae0aa9
TV
49752020-05-01 Tom de Vries <tdevries@suse.de>
4976
4977 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4978
ee9d1e5f
HD
49792020-04-30 Hannes Domani <ssbssa@yahoo.de>
4980
4981 PR gdb/18706
4982 * gdb.cp/stub-array-size.cc: New test.
4983 * gdb.cp/stub-array-size.exp: New file.
4984 * gdb.cp/stub-array-size.h: New test.
4985 * gdb.cp/stub-array-size2.cc: New test.
4986
d5cf82c0
HD
49872020-04-30 Hannes Domani <ssbssa@yahoo.de>
4988
4989 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4990 output to the new format.
4991
42e165c3
SM
49922020-04-29 Simon Marchi <simon.marchi@efficios.com>
4993
4994 * gdb.base/break.exp: Use with_test_prefix.
4995
6e4e3fe1
TV
49962020-04-29 Tom de Vries <tdevries@suse.de>
4997
4998 * lib/gdb.exp (debug_types): New proc.
4999 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
5000 * gdb.python/py-symtab.exp: Same.
5001
d642b692
HD
50022020-04-29 Hannes Domani <ssbssa@yahoo.de>
5003
5004 PR gdb/17320
5005 * gdb.base/pretty-array.c: New test.
5006 * gdb.base/pretty-array.exp: New file.
5007
ea90f227
TV
50082020-04-29 Tom de Vries <tdevries@suse.de>
5009
5010 PR symtab/25889
5011 * gdb.cp/cpexprs.exp: Adapt for inclusion.
5012 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
5013 and include cpexprs.exp.
5014
a65189c9
TV
50152020-04-28 Mark Williams <mark@myosotissp.com>
5016
5017 PR gdb/24480
5018 * dw4-toplevel-types.exp: Test for top level types.
5019 * dw4-toplevel-types.cc: Test for top level types.
5020
32d1f47a
TBA
50212020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5022
5023 * gdb.threads/stop-with-handle.exp: Fix typo in comment
5024 (theads -> threads).
5025
56a4f5a1
TV
50262020-04-28 Tom de Vries <tdevries@suse.de>
5027
5028 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
5029
0b2f8a3b
TV
50302020-04-28 Tom de Vries <tdevries@suse.de>
5031
5032 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
5033
5390c717
TV
50342020-04-28 Tom de Vries <tdevries@suse.de>
5035
5036 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
5037
15cd93d0
TV
50382020-04-28 Tom de Vries <tdevries@suse.de>
5039
5040 * gdb.dwarf2/main-foo.c: New test.
5041 * gdb.dwarf2/struct-with-sig.exp: New file.
5042
d472f0fb
TV
50432020-04-25 Tom de Vries <tdevries@suse.de>
5044
5045 * boards/debug-types.exp: New file.
5046
8d840e05
AB
50472020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
5048
5049 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
5050
bcfe6157
TT
50512020-04-24 Tom Tromey <tom@tromey.com>
5052
5053 PR symtab/12707:
5054 * gdb.python/py-symbol.exp: Update expected results for
5055 linkage_name test.
5056 * gdb.cp/print-demangle.exp: New file.
5057 * gdb.base/c-linkage-name.exp: Fix test.
5058 * gdb.guile/scm-symbol.exp: Update expected results for
5059 linkage_name test.
5060
f049a313
TT
50612020-04-24 Tom Tromey <tom@tromey.com>
5062
5063 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
5064 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
5065 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
5066 assembler.
5067
7cf28874
TV
50682020-04-24 Tom de Vries <tdevries@suse.de>
5069
5070 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
5071 C++.
5072
dac2fef7
TT
50732020-04-24 Tom Tromey <tromey@adacore.com>
5074
5075 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
5076 values.
5077 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
5078 values. Update test for minimal encodings.
5079 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
5080 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
5081 values. Update test for minimal encodings.
5082
1acda803
TT
50832020-04-24 Tom Tromey <tromey@adacore.com>
5084
5085 PR python/23662:
5086 * gdb.ada/variant.exp: Add Python checks.
5087 * gdb.rust/simple.exp: Add dynamic type checks.
5088
adfb9815
TT
50892020-04-24 Tom Tromey <tromey@adacore.com>
5090
5091 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
5092 Make array type matching more lax.
5093 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
5094 * gdb.ada/mi_variant.exp: New file.
5095 * gdb.ada/mi_variant/pck.ads: New file.
5096 * gdb.ada/mi_variant/pkg.adb: New file.
5097 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5098 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5099
7d79de9a
TT
51002020-04-24 Tom Tromey <tromey@adacore.com>
5101
5102 * gdb.ada/variant.exp: Add dynamic field offset tests.
5103 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5104 * gdb.ada/variant/pkg.adb: Add new variables.
5105
f8e89861
TT
51062020-04-24 Tom Tromey <tromey@adacore.com>
5107
5108 * gdb.ada/variant.exp: New file
5109 * gdb.ada/variant/pkg.adb: New file
5110 * gdb.ada/variant/pck.adb: New file
5111
86e887ae
TV
51122020-04-24 Tom de Vries <tdevries@suse.de>
5113
5114 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5115
88428775
TV
51162020-04-24 Tom de Vries <tdevries@suse.de>
5117
5118 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5119 flags.
5120
4e86f6e7
TV
51212020-04-24 Tom de Vries <tdevries@suse.de>
5122
5123 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5124
2016d3e6
TV
51252020-04-24 Tom de Vries <tdevries@suse.de>
5126
5127 * lib/gdb.exp (default_gdb_start): Handle eof.
5128 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5129 failure.
5130 * gdb.base/readnever.exp: Handle clean_restart failure.
5131
70bc38f5
TV
51322020-04-23 Tom de Vries <tdevries@suse.de>
5133
5134 * gdb.base/decl-before-def.exp: Run to main and print a again.
5135
de82891c
TV
51362020-04-23 Tom de Vries <tdevries@suse.de>
5137
5138 * gdb.base/decl-before-def-decl.c: New test.
5139 * gdb.base/decl-before-def-def.c: New test.
5140 * gdb.base/decl-before-def.exp: New file.
5141
96038148
TV
51422020-04-23 Tom de Vries <tdevries@suse.de>
5143
5144 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5145
54ac3df1
TV
51462020-04-22 Tom de Vries <tdevries@suse.de>
5147
5148 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5149 debug_info_offset.
5150 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5151 before $objsfile in the line line.
5152
714534e1
TV
51532020-04-22 Tom de Vries <tdevries@suse.de>
5154
5155 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5156
16a7dbf4
MS
51572020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5158
5159 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5160 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5161 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5162 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5163 * gdb.base/jit-protocol.h: Update definitions to match all usage
5164 contexts.
5165
51662020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5167
5168 * gdb.base: Rename all jit related test and source files.
5169
51702020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5171
5172 * gdb.base/jit-reader.exp: Relax register output check.
5173
317d2668
TV
51742020-04-22 Tom de Vries <tdevries@suse.de>
5175
5176 PR symtab/25764
5177 * gdb.base/psym-external-decl-2.c: New test.
5178 * gdb.base/psym-external-decl.c: New test.
5179 * gdb.base/psym-external-decl.exp: New file.
5180 * gdb.threads/tls.exp: Add PR25807 kfail.
5181
eea9e357
TV
51822020-04-22 Tom de Vries <tdevries@suse.de>
5183
5184 PR symtab/25801
5185 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5186 in "info source" output.
5187
3d5afab3
TV
51882020-04-22 Tom de Vries <tdevries@suse.de>
5189
5190 PR symtab/25700
5191 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5192 symtab for imported_unit.c.
5193
b32102f6
GB
51942020-04-21 Gary Benson <gbenson@redhat.com>
5195
5196 * gdb.base/advance.c (func): New argument, to match call site.
5197 (func2, func3): Add return statements.
5198
d43b7a2d
TBA
51992020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5200
5201 * gdb.multi/run-only-second-inf.c: New file.
5202 * gdb.multi/run-only-second-inf.exp: New file.
5203
d89edf9b
MM
52042020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5205
5206 * gdb.btrace/multi-inferior.c: New test.
5207 * gdb.btrace/multi-inferior.exp: New file.
5208
1a476b6d
MM
52092020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5210
5211 * gdb.btrace/enable-new-thread.c: New test.
5212 * gdb.btrace/enable-new-thread.exp: New file.
5213
4778a5f8
TV
52142020-04-21 Tom de Vries <tdevries@suse.de>
5215
5216 PR gdb/25471
5217 * gdb.threads/killed-outside.c: New test.
5218 * gdb.threads/killed-outside.exp: New file.
5219
9b2c992c
GB
52202020-04-20 Gary Benson <gbenson@redhat.com>
5221
5222 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5223 * gdb.base/nested-subp2.exp: Likewise.
5224 * gdb.base/nested-subp3.exp: Likewise.
5225
b5d1d6f7
GB
52262020-04-20 Gary Benson <gbenson@redhat.com>
5227
5228 * gdb.base/nested-subp1.exp: Disable test when using clang.
5229 * gdb.base/nested-subp2.exp: Likewise.
5230 * gdb.base/nested-subp3.exp: Likewise.
5231
25230285
GB
52322020-04-20 Gary Benson <gbenson@redhat.com>
5233
5234 * gdb.cp/exception.cc: Fix compilation error with clang.
5235
fa93cc8f
GB
52362020-04-20 Gary Benson <gbenson@redhat.com>
5237
809730f3 5238 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 5239
e0c45f30
GB
52402020-04-20 Gary Benson <gbenson@redhat.com>
5241
5242 * gdb.base/jit-main.c: Fix compilation error with clang.
5243
4ddfec93
KR
52442020-04-17 Kamil Rytarowski <n54@gmx.com>
5245
5246 * gdb.base/attach-twice.c: Include "sys/types.h".
5247 (PTRACE_ATTACH): Add fallback definition.
5248 (main): Pass `0' to the 4th argument of `ptrace'.
5249
2bed205e
KR
52502020-04-17 Kamil Rytarowski <n54@gmx.com>
5251
5252 * gdb.base/fork-running-state.c: Include "signal.h".
5253
0743fc83
TT
52542020-04-17 Tom Tromey <tromey@adacore.com>
5255
5256 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5257 Update tests.
5258 * gdb.btrace/cpu.exp: Update tests.
5259 * gdb.base/maint.exp: Update tests.
5260 * gdb.base/default.exp: Update tests.
5261 * gdb.base/completion.exp: Update tests.
5262
efba5c23
TV
52632020-04-16 Tom de Vries <tdevries@suse.de>
5264
5265 PR symtab/25791
5266 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5267 (ensure_gdb_index): and factor out and move ...
5268 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5269 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5270
d191d716
TV
52712020-04-16 Tom de Vries <tdevries@suse.de>
5272
5273 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5274 loading exec.
5275
99f1bc6a
AB
52762020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5277
5278 * gdb.base/many-completions.exp: New file.
5279
194d088f
TV
52802020-04-14 Tom de Vries <tdevries@suse.de>
5281
5282 PR symtab/25718
5283 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5284
c1a66c06
TV
52852020-04-14 Tom de Vries <tdevries@suse.de>
5286
5287 PR symtab/25720
5288 * gdb.base/maint-expand-symbols-header-file.c: New test.
5289 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5290 * gdb.base/maint-expand-symbols-header-file.h: New test.
5291
21b0982c
AB
52922020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5293
5294 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5295 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5296 get_func_info.
5297 (get_func_info): Delete.
5298 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5299 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5300 * lib/dwarf.exp (get_func_info): New function.
5301
dd1cab06
TV
53022020-04-13 Tom de Vries <tdevries@suse.de>
5303
5304 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5305 to what find_gnatmake does.
5306
71ea2b6b
TV
53072020-04-10 Tom de Vries <tdevries@suse.de>
5308
5309 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5310 -readnow.
5311
bdfc1e8a
TV
53122020-04-10 Tom de Vries <tdevries@suse.de>
5313
5314 PR cli/25808
5315 * gdb.base/style.c: Add leading newlines.
5316 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5317 Check listing of main's one-line body.
5318
14ca8ecf
TV
53192020-04-08 Tom de Vries <tdevries@suse.de>
5320
5321 * lib/gdb.exp (psymtabs_p): New proc.
5322 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5323 importing unit" unsupported if there are no partial symbols.
5324
e21d048f
TV
53252020-04-08 Tom de Vries <tdevries@suse.de>
5326
5327 PR testsuite/25760
5328 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5329
25c11aca
TV
53302020-04-07 Tom de Vries <tdevries@suse.de>
5331
5332 PR symtab/25796
5333 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5334
5707e24b
TV
53352020-04-07 Tom de Vries <tdevries@suse.de>
5336
5337 * gdb.base/check-psymtab.c: New test.
5338 * gdb.base/check-psymtab.exp: New file.
5339
6ee448cc
TT
53402020-04-06 Tom Tromey <tromey@adacore.com>
5341
5342 * gdb.ada/variant-record/proc.adb: New file.
5343 * gdb.ada/variant-record/value.adb: New file.
5344 * gdb.ada/variant-record/value.s: New file.
5345 * gdb.ada/variant-record.exp: New file.
5346
9e7c9a03
HD
53472020-04-03 Hannes Domani <ssbssa@yahoo.de>
5348
5349 PR gdb/25325
5350 * gdb.cp/typed-enum.cc: New test.
5351 * gdb.cp/typed-enum.exp: New file.
5352
c90d28ac
AB
53532020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5354
5355 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5356 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5357 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5358 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5359 * gdb.opt/inline-small-func.c: New file.
5360 * gdb.opt/inline-small-func.exp: New file.
5361 * gdb.opt/inline-small-func.h: New file.
5362
34e9a9fa
AB
53632020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5364
5365 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5366 function.
5367
6a354911
AB
53682020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5369
5370 * lib/dwarf.exp (function_range): Allow compiler options to be
5371 specified.
5372
880d9777
TV
53732020-04-02 Tom de Vries <tdevries@suse.de>
5374
5375 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5376 __attribute__((always_inline)).
5377 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5378
f32682ea
TV
53792020-04-02 Tom de Vries <tdevries@suse.de>
5380
5381 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5382 (gdbserver_gdb_exit): ... here. Add timeout warning.
5383 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5384 (connect_target_extended_remote): Append new server_spawn_id to
5385 server_spawn_ids.
5386 (cleanup): New proc.
5387 (setup, <toplevel>): Call cleanup.
5388
d3214198
TV
53892020-04-02 Tom de Vries <tdevries@suse.de>
5390
5391 * gdb.base/main-psymtab.exp: New file.
5392
cc77ed24
TV
53932020-04-02 Tom de Vries <tdevries@suse.de>
5394
5395 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5396
3638a098
TT
53972020-04-01 Tom Tromey <tom@tromey.com>
5398
5399 * gdb.base/complex-parts.exp: Add type tests.
5400
c34e8714
TT
54012020-04-01 Tom Tromey <tom@tromey.com>
5402
5403 * gdb.base/complex-parts.exp: Add arithmetic tests.
5404
981c08ce
TT
54052020-04-01 Tom Tromey <tom@tromey.com>
5406
5407 * gdb.compile/compile.exp: Update.
5408 * gdb.compile/compile-cplus.exp: Update.
5409 * gdb.base/varargs.exp: Update.
5410 * gdb.base/floatn.exp: Update.
5411 * gdb.base/endianity.exp: Update.
5412 * gdb.base/callfuncs.exp (do_function_calls): Update.
5413 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5414 (complex_float_integral_args): Update.
5415 * gdb.base/complex.exp: Update.
5416 * gdb.base/complex-parts.exp: Update.
5417
3d1cfd43
TT
54182020-04-01 Tom Tromey <tromey@adacore.com>
5419
5420 * gdb.rust/union.rs: New file.
5421 * gdb.rust/union.exp: New file.
5422 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5423 (main): Update.
5424 * gdb.rust/simple.exp: Move union tests to union.exp.
5425
e033dfa9
TT
54262020-04-01 Tom Tromey <tromey@adacore.com>
5427
5428 * gdb.rust/simple.rs (main): Remove "y0".
5429
53cccef1
TBA
54302020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5431
5432 * gdb.multi/stop-all-on-exit.c: New test.
5433 * gdb.multi/stop-all-on-exit.exp: New file.
5434
60e22c1e
HD
54352020-04-01 Hannes Domani <ssbssa@yahoo.de>
5436
5437 PR gdb/24789
5438 * gdb.cp/misc.cc: Add integer reference variable.
5439 * gdb.cp/misc.exp: Add test.
5440
e139a727
TBA
54412020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5442
5443 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5444 scenario to cover execution until the end and also the case
5445
16b0db75
TV
54462020-03-31 Tom de Vries <tdevries@suse.de>
5447
5448 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5449 c. Use "maint info symtabs" to check symtab expansion.
5450
c0502da6
TV
54512020-03-30 Tom de Vries <tdevries@suse.de>
5452
5453 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5454 unsupported.
5455 (verify_psymtab_expanded): Move ...
5456 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5457 test.
5458 (readnow): New proc.
5459
5935fd15
AB
54602020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5461
5462 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5463 with $hex.
5464
1773be9e
TT
54652020-03-20 Tom Tromey <tromey@adacore.com>
5466
5467 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5468
70304be9
TT
54692020-03-20 Tom Tromey <tromey@adacore.com>
5470
5471 * gdb.ada/sub_variant/subv.adb: New file.
5472 * gdb.ada/sub_variant.exp: New file.
5473
0dd7b8f7
TV
54742020-03-20 Tom de Vries <tdevries@suse.de>
5475
5476 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5477 first break fails.
5478 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5479
cada5fc9
AB
54802020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5481
5482 * gdb.server/exit-multiple-threads.c: New file.
5483 * gdb.server/exit-multiple-threads.exp: New file.
5484
6b8c53f2
AB
54852020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5486
5487 * gdb.fortran/mixed-lang-stack.c: New file.
5488 * gdb.fortran/mixed-lang-stack.cpp: New file.
5489 * gdb.fortran/mixed-lang-stack.exp: New file.
5490 * gdb.fortran/mixed-lang-stack.f90: New file.
5491
19a2740f
AB
54922020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5493
5494 * gdb.linespec/cp-completion-aliases.cc: New file.
5495 * gdb.linespec/cp-completion-aliases.exp: New file.
5496
d8c8b848
TV
54972020-03-19 Tom de Vries <tdevries@suse.de>
5498
5499 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5500 more precise.
5501
a9933ccf
TV
55022020-03-18 Tom de Vries <tdevries@suse.de>
5503
5504 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5505 * gdb.dwarf2/break-inline-psymtab.c: New test.
5506 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5507
2f89101f
TV
55082020-03-16 Tom de Vries <tdevries@suse.de>
5509
5510 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5511 cache_verify and cache_verify_proc.
5512
6b9374f1
TV
55132020-03-15 Tom de Vries <tdevries@suse.de>
5514
5515 * gdb.server/solib-list.exp: Handle
5516 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5517
eaeaf44c
TV
55182020-03-15 Tom de Vries <tdevries@suse.de>
5519
5520 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5521 objfiles".
5522
3293bbaf
TT
55232020-03-14 Tom Tromey <tom@tromey.com>
5524
5525 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5526
ab44624c
TV
55272020-03-14 Tom de Vries <tdevries@suse.de>
5528
5529 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5530
54c43825
TV
55312020-03-14 Tom de Vries <tdevries@suse.de>
5532
5533 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5534 result in line-by-line fashion.
5535
2ac70237
TV
55362020-03-14 Tom de Vries <tdevries@suse.de>
5537
5538 * lib/gdb.exp (supports_statement_frontiers): New proc.
5539 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5540
09546b56
TV
55412020-03-14 Tom de Vries <tdevries@suse.de>
5542
5543 * gdb.base/printcmds.exp: Add missing quoting for "print
5544 teststring2".
5545
a1f6a07c
TT
55462020-03-13 Tom Tromey <tom@tromey.com>
5547
5548 * gdb.base/printcmds.exp (test_print_strings): Add regression
5549 test.
5550 * gdb.base/printcmds.c (charptr): New typedef.
5551 (teststring2): New global.
5552
1b83d09c
AB
55532020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5554
5555 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5556 full path in the test name.
5557 (test_ld): Add some with_test_prefix blocks to make test names
5558 unique.
5559
2d61316c
TV
55602020-03-13 Tom de Vries <tdevries@suse.de>
5561
5562 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5563
2e9145ac
TV
55642020-03-13 Tom de Vries <tdevries@suse.de>
5565
5566 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5567
96c7f873
TV
55682020-03-13 Tom de Vries <tdevries@suse.de>
5569
5570 PR symtab/25646
5571 * gdb.dwarf2/imported-unit.exp: Add test.
5572
49ba92c0
TV
55732020-03-13 Tom de Vries <tdevries@suse.de>
5574
5575 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5576 (var1, var2): New variable.
5577 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5578 matching symbols.
5579
301b21e0
TV
55802020-03-13 Tom de Vries <tdevries@suse.de>
5581
5582 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5583 (Term::command): Use prompt prefix.
5584 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5585 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5586 command_no_prompt_prefix instead of prefix.
5587 * gdb.tui/tui-layout-asm.exp: Same.
5588
3f512721
SM
55892020-03-12 Simon Marchi <simon.marchi@efficios.com>
5590
5591 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5592
40310f30
SM
55932020-03-12 Simon Marchi <simon.marchi@efficios.com>
5594
5595 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5596 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5597 on" while stepping over the test instruction, match printed
5598 message.
5599
09252140
TV
56002020-03-12 Tom de Vries <tdevries@suse.de>
5601
5602 * gdb.base/info-types.exp: Use exp_continue during matching of output
5603 of "info types".
5604
14e9c72c
TV
56052020-03-12 Tom de Vries <tdevries@suse.de>
5606
5607 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5608
e515d67e
TV
56092020-03-12 Tom de Vries <tdevries@suse.de>
5610
5611 * gdb.fortran/module.exp: Use exp_continue during matching of output
5612 of "info variable -n".
5613
307eafd8
TV
56142020-03-12 Tom de Vries <tdevries@suse.de>
5615
5616 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5617 gdb.dwarf2/dw2-ranges-base.c.
5618
9a2de3fc
TV
56192020-03-12 Tom de Vries <tdevries@suse.de>
5620
5621 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5622 in presence of GLIBC debuginfo.
5623
3217502e
TV
56242020-03-12 Tom de Vries <tdevries@suse.de>
5625
5626 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5627 $core.
5628
1281424c
TV
56292020-03-12 Tom de Vries <tdevries@suse.de>
5630
5631 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5632 more precise.
5633
038b97fc
SM
56342020-03-11 Simon Marchi <simon.marchi@efficios.com>
5635
5636 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5637 from Unix to Windows path.
5638
5308d1e7
TV
56392020-03-11 Tom de Vries <tdevries@suse.de>
5640
5641 * gdb.ada/minsyms.exp: Set language to ada.
5642
f870f78f
TV
56432020-03-11 Tom de Vries <tdevries@suse.de>
5644
5645 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5646
5a13315d
TV
56472020-03-11 Tom de Vries <tdevries@suse.de>
5648
5649 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5650
976862ed
TT
56512020-03-11 Tom Tromey <tromey@adacore.com>
5652
5653 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5654
7462c383
TV
56552020-03-11 Tom de Vries <tdevries@suse.de>
5656
5657 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5658
1c6c46a0
TV
56592020-03-11 Tom de Vries <tdevries@suse.de>
5660
5661 * gdb.base/break-interp.exp: Limit verbose scope.
5662
44f41bb7
TV
56632020-03-11 Tom de Vries <tdevries@suse.de>
5664
5665 * gdb.fortran/logical.f90: Define variable with character type.
5666 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5667
b76f3a42
TV
56682020-03-11 Tom de Vries <tdevries@suse.de>
5669
5670 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5671
1c33af77
TV
56722020-03-11 Tom de Vries <tdevries@suse.de>
5673
5674 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5675 symtabs.
5676
8c95582d
AB
56772020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5678 Bernd Edlinger <bernd.edlinger@hotmail.de>
5679
5680 * gdb.cp/step-and-next-inline.cc: New file.
5681 * gdb.cp/step-and-next-inline.exp: New file.
5682 * gdb.cp/step-and-next-inline.h: New file.
5683 * gdb.dwarf2/dw2-is-stmt.c: New file.
5684 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5685 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5686 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5687 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5688
cecf8547
AB
56892020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5690
5691 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5692 is-stmt flag in the line table.
5693
0ba678c9
TV
56942020-03-09 Tom de Vries <tdevries@suse.de>
5695
5696 * lib/gdb.exp (cached_file): Create cache dir.
5697
72fbdf83
TV
56982020-03-07 Tom de Vries <tdevries@suse.de>
5699
5700 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5701 * gdb.cp/rvalue-ref-params.exp: Same.
5702
436b5e99
TV
57032020-03-06 Tom de Vries <tdevries@suse.de>
5704
5705 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5706 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5707
09f2921c
TV
57082020-03-06 Tom de Vries <tdevries@suse.de>
5709
5710 * README: Fix "the the".
5711 * gdb.base/dprintf.exp: Same.
5712
50a3cc5d
TV
57132020-03-05 Tom de Vries <tdevries@suse.de>
5714
5715 * gdb.base/maint.exp: Update "main print statistics" expected output.
5716
0a709cba
AKS
57172020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5718
5719 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5720 (fortran_int8): Likewise.
5721 (fortran_real4): Likewise.
5722 (fortran_real8): Likewise.
5723 (fortran_complex4): Likewise.
5724 (fortran_logical4): Likewise.
5725 (fortran_character1): Likewise.
5726
5e5d66b6
AB
57272020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5728
5729 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5730 printed as true.
5731
7b973adc
SDJ
57322020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5733
5734 * gdb.base/printcmds.exp: Add test to verify printf of a
5735 variable holding an address.
5736
478e490a
TV
57372020-03-03 Tom de Vries <tdevries@suse.de>
5738
5739 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5740
1ef44e86
TV
57412020-03-03 Tom de Vries <tdevries@suse.de>
5742
5743 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5744 gdb_test_multiple call.
5745
b98cc2cf
TV
57462020-03-03 Tom de Vries <tdevries@suse.de>
5747
5748 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5749 gdb_test_multiple calls.
5750
63e163f2
AB
57512020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5752
5753 * gdb.base/default.exp: Remove test of 'set history filename'.
5754 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5755 filename to the empty string.
5756 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5757 and GDBHISTSIZE.
5758
24ed6739
AB
57592020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5760
5761 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5762 disabled.
5763
590003dc 57642020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5765 Tom de Vries <tdevries@suse.de>
590003dc
TV
5766
5767 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5768 -prompt prefix, before user_code argument. Add -lbl option likewise.
5769 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5770 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5771 argument.
5772 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5773 have "\r\n" at start-of-line, instead of at end-of-line.
5774
f5e46084
SM
57752020-02-28 Simon Marchi <simon.marchi@efficios.com>
5776
5777 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5778 libinproctrace.so.
5779
f7a7000d
LM
57802020-02-28 Luis Machado <luis.machado@linaro.org>
5781
5782 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5783 to "p/x".
5784
718e0816
LM
57852020-02-28 Luis Machado <luis.machado@linaro.org>
5786
5787 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5788 asm/ptrace.h and error.h.
5789
13c3a74a
TV
57902020-02-28 Tom de Vries <tdevries@suse.de>
5791
5792 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5793 (struct wrapper, do_something, mundane/symada__cS): Move ...
5794 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5795 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5796 Update "print symada__cS before partial symtab expansion" regexp.
5797 Update breakpoint location. Flush symbol cache after expansion.
5798
85d2d5bb
LM
57992020-02-28 Luis Machado <luis.machado@linaro.org>
5800
5801 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5802
3608f86c
TV
58032020-02-27 Tom de Vries <tdevries@suse.de>
5804
5805 * config/sid.exp: Remove unused globals.
5806 * gdb.base/attach.exp: Same.
5807 * gdb.base/catch-load.exp: Same.
5808 * gdb.base/dbx.exp: Same.
5809 * lib/gdb.exp: Same.
5810 * lib/mi-support.exp: Same.
5811 * lib/prompt.exp: Same.
5812
c8d4f6df
TV
58132020-02-27 Tom de Vries <tdevries@suse.de>
5814
5815 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5816 not set.
5817
0d79cdc4
AM
58182020-02-26 Aaron Merey <amerey@redhat.com>
5819
5820 * gdb.debuginfod: New directory for debuginfod tests.
5821 * gdb.debuginfod/main.c: New test file.
5822 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5823
0dce4280
TV
58242020-02-26 Tom de Vries <tdevries@suse.de>
5825
5826 PR gdb/25603
5827 * gdb.base/persistent-lang.cc: New test.
5828 * gdb.base/persistent-lang.exp: New file.
5829
9e80cfa1
AB
58302020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5831
5832 * gdb.fortran/derived-type-striding.exp: Add a new test.
5833 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5834 new test.
5835
2078dbb2
AB
58362020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5837
5838 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5839 names.
5840
70d49700
TV
58412020-02-25 Tom de Vries <tdevries@suse.de>
5842
5843 PR go/18926
5844 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5845
a88ef40d
TV
58462020-02-24 Tom de Vries <tdevries@suse.de>
5847
5848 PR gdb/25592
5849 * gdb.base/info-locals-unused-static-var.c: New test.
5850 * gdb.base/info-locals-unused-static-var.exp: New file.
5851
01b1af32
TT
58522020-02-22 Tom Tromey <tom@tromey.com>
5853
5854 * gdb.python/tui-window.exp: New file.
5855 * gdb.python/tui-window.py: New file.
5856
7c043ba6
TT
58572020-02-22 Tom Tromey <tom@tromey.com>
5858
5859 PR tui/17850:
5860 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5861 tests.
5862
c22fef7e
TT
58632020-02-22 Tom Tromey <tom@tromey.com>
5864
5865 * gdb.tui/new-layout.exp: Add sub-layout tests.
5866
ee325b61
TT
58672020-02-22 Tom Tromey <tom@tromey.com>
5868
5869 * gdb.tui/new-layout.exp: New file.
5870
3f0cbb04
TT
58712020-02-22 Tom Tromey <tom@tromey.com>
5872
5873 * gdb.rust/rust-style.rs: New file.
5874 * gdb.rust/rust-style.exp: New file.
5875 * gdb.base/style.exp: Test structure printing.
5876 * gdb.base/style.c (struct some_struct): New type.
5877 (enum etype): New type.
5878 (struct_value): New global.
5879
75525152
TV
58802020-02-21 Tom de Vries <tdevries@suse.de>
5881
5882 PR go/18926
5883 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5884 Remove blanket xfails. Use message argument for gdb_breakpoint.
5885 Make continuing to breakpoint test conditional on setting breakpoint.
5886 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5887 DW_AT_name attribute. Add xfail for GCC PR93866.
5888
bd360d30
AB
58892020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5890
5891 * gdb.dwarf2/cpp-linkage-name.c: New file.
5892 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5893
c7adb09f 58942020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5895
5896 * lib/gdb.exp (gdb_wrapper_init): Reset
5897 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5898 not exist.
5899
a9c79803
TV
59002020-02-20 Tom de Vries <tdevries@suse.de>
5901
5902 PR go/17018
5903 * gdb.go/hello.exp: Copy ...
5904 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5905 print of st to print value of global definition. Add xfail for GCC
5906 PR93844.
5907 * gdb.go/hello.exp: Remove printing of st before definition.
5908 * gdb.go/hello.go: Copy ...
5909 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5910 to st.
5911 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5912
d7445728
TV
59132020-02-20 Tom de Vries <tdevries@suse.de>
5914
5915 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5916 (gdb_simple_compile): Handle compile_flags go by using .go extension
5917 for source file.
5918 * gdb.go/chan.exp: Use support_go_compile.
5919 * gdb.go/handcall.exp: Same.
5920 * gdb.go/hello.exp: Same.
5921 * gdb.go/integers.exp: Same.
5922 * gdb.go/max-depth.exp: Same.
5923 * gdb.go/methods.exp: Same.
5924 * gdb.go/package.exp: Same.
5925 * gdb.go/strings.exp: Same.
5926 * gdb.go/types.exp: Same.
5927 * gdb.go/unsafe.exp: Same.
5928
c9c41e6d
TV
59292020-02-19 Tom de Vries <tdevries@suse.de>
5930
5931 * gdb.python/lib-types.exp: Make xfail more strict.
5932
f20ff837
TV
59332020-02-19 Tom de Vries <tdevries@suse.de>
5934
5935 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5936
08410482
DE
59372020-02-19 Doug Evans <dje@google.com>
5938
5939 PR rust/25535
5940 * gdb.rust/simple.exp: Add test.
5941 * gdb.rust/simple.rs: Add test.
5942
623563f7
TV
59432020-02-19 Tom de Vries <tdevries@suse.de>
5944
5945 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5946 output line-by-line.
5947
d3308cfd
TV
59482020-02-19 Tom de Vries <tdevries@suse.de>
5949
5950 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5951
86cbc5dc
TV
59522020-02-19 Tom de Vries <tdevries@suse.de>
5953
5954 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5955 prelink.
5956
9db2b96b
TV
59572020-02-19 Tom de Vries <tdevries@suse.de>
5958
5959 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5960 (gdb_do_cache): Use gdb_do_cache_wrap.
5961 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5962
89e2fdc5
TV
59632020-02-19 Tom de Vries <tdevries@suse.de>
5964
5965 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5966 gdb_compile option.
5967
373d7ac0
SM
59682020-02-18 Simon Marchi <simon.marchi@efficios.com>
5969
5970 * gdb.base/printcmds.exp (test_print_enums): Update expected
5971 output.
5972
b29a2df0
SM
59732020-02-18 Simon Marchi <simon.marchi@efficios.com>
5974
5975 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5976 for "unknown".
5977
6740f0cc
SM
59782020-02-18 Simon Marchi <simon.marchi@efficios.com>
5979
5980 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5981 enumerator.
5982
edd45eb0
SM
59832020-02-18 Simon Marchi <simon.marchi@efficios.com>
5984
5985 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5986 FE_, add FE_NONE.
5987 (three): Update.
5988 (enum flag_enum_without_zero): New enum.
5989 (flag_enum_without_zero): New variable.
5990 (enum not_flag_enum): New enum.
5991 (three_not_flag): New variable.
5992 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5993 (test_print_enums): Add more tests for printing flag enums.
5994
d4295de4
TV
59952020-02-18 Tom de Vries <tdevries@suse.de>
5996
5997 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5998 (gdb_compile_ada): ... here.
5999 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
6000 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
6001
f251f505
TT
60022020-02-14 Tom Tromey <tom@tromey.com>
6003
6004 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
6005 build directory.
6006 * boards/gdbserver-base.exp: Update path to gdbserver.
6007
8f432634
TV
60082020-02-13 Tom de Vries <tdevries@suse.de>
6009
6010 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
6011
92b6eaf7
TV
60122020-02-13 Tom de Vries <tdevries@suse.de>
6013
6014 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
6015 are missing.
6016
f3b0f7fe
TV
60172020-02-13 Tom de Vries <tdevries@suse.de>
6018
6019 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
6020 call.
6021
f6be8713
SDJ
60222020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
6023
6024 PR tui/25126
6025 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
6026 * gdb.base/cached-source-file.c: New file.
6027 * gdb.base/cached-source-file.exp: New file.
6028
b2770d5e
TV
60292020-02-11 Tom de Vries <tdevries@suse.de>
6030
6031 PR testsuite/25488
6032 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
6033
44f6938e
TV
60342020-02-10 Tom de Vries <tdevries@suse.de>
6035
6036 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
6037
5f0e2eb7
MR
60382020-02-10 Maciej W. Rozycki <macro@wdc.com>
6039
6040 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
6041 and $after_addr are both integers before making a comparison.
6042
46ce2b6f
TV
60432020-02-09 Tom de Vries <tdevries@suse.de>
6044
6045 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
6046 command output and paste it into gdb.log. If any, paste catch message
6047 to gdb.log.
6048
5abbbe1d
TT
60492020-02-07 Tom Tromey <tromey@adacore.com>
6050
6051 PR breakpoints/24915:
6052 * gdb.base/annotate-symlink.exp: Use setup_xfail.
6053
1d5d29e7
SV
60542020-02-06 Shahab Vahedi <shahab@synopsys.com>
6055
6056 * gdb.tui/tui-missing-src.exp: Add the "missing source
6057 file" test for the TUI.
6058
b0999b9b
AB
60592020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
6060
6061 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
6062 including a port number in the output.
6063
c3b149eb
AKS
60642020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
6065
6066 * lib/fortran.exp (fortran_int4): Handle clang.
6067 (fortran_int8): Likewise.
6068 (fortran_real4): Likewise.
6069 (fortran_real8): Likewise.
6070 (fortran_complex4): Likewise.
6071 (fortran_logical4): Likewise.
6072 (fortran_character1): Likewise.
6073
f8dcc90b
TV
60742020-02-04 Tom de Vries <tdevries@suse.de>
6075
6076 * README (Race detection): Add note.
6077
f90ac7c2
TV
60782020-02-04 Tom de Vries <tdevries@suse.de>
6079
6080 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
6081
780636ae
TV
60822020-02-04 Tom de Vries <tdevries@suse.de>
6083
6084 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
6085
5d2e1193
RA
60862020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6087
6088 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
6089 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
6090 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
6091 blttar, bnetarl.
6092 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
6093 binary for blttar, bnetarl.
6094 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6095 wait instruction. Delete ldmx test.
6096 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6097
e409c542
AKS
60982020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6099
6100 * gdb.fortran/array-bounds-high.exp: New file.
6101 * gdb.fortran/array-bounds-high.f90: New file.
6102
b0029748
LD
61032020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6104
6105 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6106 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6107
195a8287
TV
61082020-02-01 Tom de Vries <tdevries@suse.de>
6109
6110 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6111
42330a68
AB
61122020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6113
6114 PR tui/9765
6115 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6116 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6117
b62a8028
LM
61182020-01-29 Luis Machado <luis.machado@linaro.org>
6119
6120 * gdb.arch/aarch64-brk-patterns.c: New source file.
6121 * gdb.arch/aarch64-brk-patterns.exp: New test.
6122
5f440116
TBA
61232020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6124
6125 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6126 GCC/Clang version.
6127 * gdb.cp/pass-by-ref.exp: Ditto.
6128
ee2a6fc6
TV
61292020-01-29 Tom de Vries <tdevries@suse.de>
6130
6131 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6132 * gdb.threads/watchpoint-fork-mt.c: Same.
6133 * gdb.threads/watchpoint-fork-parent.c: Same.
6134 * gdb.threads/watchpoint-fork-st.c: Same.
6135 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6136
16b10d6e
LM
61372020-01-27 Luis Machado <luis.machado@linaro.org>
6138
6139 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6140 sitting at a syscall instruction when we hit the syscall function's
6141 breakpoint.
6142 Check PC against one obtained with the x command.
6143 Validate syscall number.
6144 (step_over_syscall): Don't continue to the syscall instruction if
6145 we're already there.
6146
b1468492
PW
61472020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6148
6149 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6150
7ffa82e1
AB
61512020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6152
6153 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6154 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6155
3d92a3e3
AB
61562020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6157
6158 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6159 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6160
94a72be7
AB
61612020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6162
6163 * gdb.base/maint.exp: Update line table parsing test.
6164 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6165
53af73bf
PA
61662020-01-24 Pedro Alves <palves@redhat.com>
6167
6168 PR gdb/25410
6169 * gdb.multi/multi-re-run-1.c: New.
6170 * gdb.multi/multi-re-run-2.c: New.
6171 * gdb.multi/multi-re-run.exp: New.
6172
1ba1ac88
AB
61732020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6174
6175 PR gdb/23718
6176 * gdb.server/server-kill-python.exp: New file.
6177
f3364a6d
AB
61782020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6179
6180 * gdb.server/multi-ui-errors.c: New file.
6181 * gdb.server/multi-ui-errors.exp: New file.
6182
733d0a67
AB
61832020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6184
6185 PR tui/9765
6186 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6187
4f13c1c0
TT
61882020-01-19 Tom Tromey <tom@tromey.com>
6189
6190 * gdb.tui/main.exp: Add check for plain "file".
6191
40c94099
CB
61922020-01-16 Christian Biesinger <cbiesinger@google.com>
6193
6194 * lib/gdb.exp: Fix spelling error (seperatelly).
6195
ff47f4f0
TT
61962020-01-14 Tom Tromey <tom@tromey.com>
6197
6198 PR symtab/12535:
6199 * gdb.python/python.exp: Test decode_line with empty string
6200 argument.
6201
717c684d
BE
62022020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6203
6204 * gdb.base/skip-inline.exp: Extend test.
6205
44e4c775
AB
62062020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6207
6208 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6209 * gdb.dwarf2/dw2-bad-elf.c: New file.
6210 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6211
d93c6db7
AB
62122020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6213
6214 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6215 _line_saw_file.
6216
9a6d629c
AB
62172020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6218
6219 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6220 border.
6221
d9ebdab7
TBA
62222020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6223
6224 * gdb.multi/multi-target.exp (setup): Factor out "info
6225 connections" and "info inferiors" tests to ...
6226 (test_info_inferiors): ... this new procedure.
6227 (top level): Run new "info-inferiors" tests.
6228
f3c469b9
PA
62292020-01-10 Pedro Alves <palves@redhat.com>
6230
6231 * gdb.server/bkpt-other-inferior.exp: New file.
6232
121b3efd
PA
62332020-01-10 Pedro Alves <palves@redhat.com>
6234
6235 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6236 of "add-inferior".
6237 * gdb.base/quit-live.exp: Likewise.
6238 * gdb.base/remote-exec-file.exp: Likewise.
6239 * gdb.guile/scm-progspace.exp: Likewise.
6240 * gdb.linespec/linespec.exp: Likewise.
6241 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6242 * gdb.mi/user-selected-context-sync.exp: Likewise.
6243 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6244 "info inferiors" tests.
6245 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6246 "add-inferior".
6247 * gdb.multi/watchpoint-multi.exp: Likewise.
6248 * gdb.python/py-inferior.exp: Likewise.
6249 * gdb.server/extended-remote-restart.exp: Likewise.
6250 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6251 "info inferiors".
6252 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6253 * gdb.trace/report.exp: Likewise.
6254
1dadb1dd
PA
62552020-01-10 Pedro Alves <palves@redhat.com>
6256
6257 * gdb.multi/multi-target.c: New file.
6258 * gdb.multi/multi-target.exp: New file.
6259 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6260 mode requested, but remote does not support non-stop".
6261
78f2c40a
PA
62622020-01-10 Pedro Alves <palves@redhat.com>
6263
6264 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6265 disconnect before reconnecting.
6266
e7af6c70
TBA
62672020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6268 Pedro Alves <palves@redhat.com>
6269
6270 * gdb.server/connect-without-multi-process.exp: Also test
6271 continuing to end.
6272
acdf84a6
PA
62732020-01-10 Pedro Alves <palves@redhat.com>
6274
6275 * gdb.base/remote-exec-file.exp: New file.
6276
873657b9
PA
62772020-01-10 Pedro Alves <palves@redhat.com>
6278
6279 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6280 output.
6281 * gdb.threads/async.c: New.
6282 * gdb.threads/async.exp: New.
6283 * gdb.multi/tids-gid-reset.c: New.
6284 * gdb.multi/tids-gid-reset.exp: New.
6285
7f0ae84c
GB
62862020-01-10 George Barrett <bob@bob131.so>
6287
6288 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6289 to help in finding the image relocation offset.
6290 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6291 options in arguments.
6292 (stap_test_no_debuginfo): Likewise.
6293 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6294 test variants.
6295 (stap_test): Add null semaphore relocation test.
6296
47e9d49d
GB
62972020-01-10 George Barrett <bob@bob131.so>
6298
6299 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6300 * gdb.base/stap-probe.exp: Likewise.
6301 (stap_test): Pass argument as an additional flag.
6302 (stap_test_no_debuginfo): Likewise.
6303 (stap_test): Check `info probes stap' output for semaphore
6304 addresses if the test binary is supposed to have them.
6305
f5a7c406
AB
63062020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6307
6308 * gdb.tui/basic.exp: Add more scrolling tests.
6309
9ae6bf64
TT
63102020-01-09 Tom Tromey <tom@tromey.com>
6311
6312 PR tui/18932:
6313 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6314 meangingful value.
6315 (Term::command, Term::resize): Update.
6316 * gdb.tui/basic.exp: Add scrolling test.
6317
b2efe70c
AB
63182020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6319
6320 * gdb.tui/tui-layout-asm.exp: New file.
6321
3804da7e
AB
63222020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6323
6324 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6325
b40aa28f
AB
63262020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6327
6328 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6329 (Term::enter_tui): Use Term::prepare_for_tui.
6330
63ffd7c9
AB
63312020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6332
6333 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6334 called.
6335
3be966f6
AB
63362020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6337
6338 * gdb.base/skip.exp: Fix race condition in test.
6339
153d79c4
AB
63402020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6341
6342 * gdb.base/backtrace.c: New file.
6343 * gdb.base/backtrace.exp: New file.
6344
f2302a34
AB
63452020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6346
6347 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6348
6ec1d75e
PW
63492020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6350
6351 * gdb.base/style.exp: Test that warnings are styled.
6352
c296cbe6
BE
63532019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6354
6355 * gdb.base/line65535.exp: New file.
6356 * gdb.base/line65535.c: New file.
6357
b28a729d
SM
63582019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6359
6360 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6361 * lib/gnat_debug_info_test.adb: New file.
6362 * gdb.ada/ptype_tagged_param.exp: Use
6363 gnat_runtime_has_debug_info, expect a different output if
6364 runtime does not have debug info.
6365
7f2d7a0d
SM
63662019-12-20 Simon Marchi <simon.marchi@efficios.com>
6367
6368 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6369 (another) quote in test name.
6370
f3bce483
SM
63712019-12-20 Simon Marchi <simon.marchi@efficios.com>
6372
6373 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6374 Add quote in test name.
6375
c855a912
TBA
63762019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6377
6378 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6379 directory instead.
6380 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6381 * gdb.cp/pass-by-ref-2.cc: New file.
6382 * gdb.cp/pass-by-ref-2.exp: New file.
6383
fc9d2d72
TT
63842019-12-20 Tom Tromey <tom@tromey.com>
6385
6386 * gdb.tui/list-before.exp: New file.
6387
77b97e00
TT
63882019-12-20 Tom Tromey <tom@tromey.com>
6389
6390 * gdb.tui/list.exp: Check for source on initial listing.
6391
f69656d0
TT
63922019-12-11 Tom Tromey <tromey@adacore.com>
6393
6394 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6395 Add crlf test.
6396
99a55965
SM
63972019-12-18 Simon Marchi <simon.marchi@efficios.com>
6398
6399 * gdb.base/default.exp: Update value of $_gdb_major.
6400
5024637f
BE
64012019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6402
6403 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6404
b63634be
BE
64052019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6406
6407 * gdb.base/skip.exp: Whitespace fix.
6408
45d73523
BE
64092019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6410
6411 * gdb.base/skip-inline.c: New file.
6412 * gdb.base/skip-inline.exp: New file.
6413
d043f8c8
SM
64142019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6415
6416 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6417 jit_function_00 to jit_function_stack_mangle.
6418 * gdb.base/jithost.c (jit_function_t): Rename to...
6419 (jit_function_stack_mangle_t): ... this.
6420 (jit_function_add_t): New typedef.
6421 (jit_function_00_code): Rename to...
6422 (jit_function_stack_mangle_code): ... this, make static.
6423 (jit_function_add_code): New.
6424 (main): Generate "add" function and call it. Adjust to changes
6425 in jithost_abi.
6426 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6427 (struct jithost_abi) <begin, end>: Remove fields.
6428 <object, function_stack_mangle, function_add>: New fields.
6429 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6430 code_end>: Remove fields.
6431 <func_stack_mangle>: New field.
6432 (read_debug_info): Adjust to renaming, create block for "add"
6433 function.
6434 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6435
873de05c
TT
64362019-12-11 Tom Tromey <tom@tromey.com>
6437
6438 * gdb.tui/resize.exp: Fix regexp.
6439 * gdb.tui/regs.exp: Fix regexps.
6440 * gdb.tui/main.exp: Fix regexp.
6441
3d979945
TT
64422019-12-11 Tom Tromey <tom@tromey.com>
6443
6444 * gdb.tui/resize.exp: Update.
6445 * gdb.tui/empty.exp (layouts): Update.
6446
2192a9d3
TT
64472019-12-11 Tom Tromey <tom@tromey.com>
6448
6449 * gdb.tui/regs.exp: Update.
6450 * gdb.tui/empty.exp (layouts): Update.
6451 * gdb.tui/basic.exp: Update.
6452 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6453
d8edc8b7
PW
64542019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6455
6456 * gdb.base/options.exp: Add -raw-values in the print completion list.
6457 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6458
4c12d936
KB
64592019-12-10 Kevin Buettner <kevinb@redhat.com>
6460
6461 * gdb.threads/omp-par-scope.c: New file.
6462 * gdb/threads/omp-par-scope.exp: New file.
6463
26b911fb
KB
64642019-12-10 Kevin Buettner <kevinb@redhat.com>
6465
bb47f919
KB
6466 * lib/gdb.exp (support_nested_function_tests): New proc.
6467
64682019-12-10 Kevin Buettner <kevinb@redhat.com>
6469
6470 * lib/gdb.exp (gdb_compile_openmp): New proc.
6471 (build_executable_from_specs): Add an "openmp" option.
6472 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6473
6c71eb7d
TT
64742019-12-10 Tom Tromey <tromey@adacore.com>
6475
6476 * gdb.ada/unchecked_union.exp: New file.
6477 * gdb.ada/unchecked_union/pck.adb: New file.
6478 * gdb.ada/unchecked_union/pck.ads: New file.
6479 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6480 * gdb-utils.exp (string_to_regexp): Also quote "?".
6481
bac7c5cf
GB
64822019-12-10 George Barrett <bob@bob131.so>
6483
6484 Test scripted probe breakpoints.
6485 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6486 * gdb.python/py-breakpoint.c (main): Likewise.
6487 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6488 specifier test.
6489 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6490
330f1d38
TBA
64912019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6492
6493 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6494 an rvalue parameter.
6495 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6496 parameter.
6497
b43315e2
AB
64982019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6499
6500 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6501 modules.
6502
54f73dad
AB
65032019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6504
6505 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6506 broken version of GCC.
6507
d57cbee9
AB
65082019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6509
6510 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6511 sym-info-cmds library.
6512 * gdb.fortran/info-types.exp: Likewise.
6513 * lib/sym-info-cmds.exp: New file.
6514
c14aab8c
TV
65152019-12-08 Tom de Vries <tdevries@suse.de>
6516
6517 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6518
aa2d5a42
KS
65192019-12-07 Keith Seitz <keiths@redhat.com>
6520
6521 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6522 * gdb.base/corefile-buildid-shlib.c: New file.
6523 * gdb.base/corefile-buildid.c: New file.
6524 * gdb.base/corefile-buildid.exp: New file.
6525
93e55f0a
TV
65262019-12-06 Tom de Vries <tdevries@suse.de>
6527
6528 * gdb.dwarf2/varval.exp: Add decl before def test.
6529
c7d12402
TBA
65302019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6531
6532 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6533
06acc08f
TBA
65342019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6535
6536 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6537 CV and reference conversion for overload resolution.
6538 * gdb.cp/rvalue-ref-overload.exp: Test it.
6539
e0fad1ea
PW
65402019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6541
6542 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6543 * gdb.base/frameapply.exp: Test faas without command.
6544
8d70a9f0
AB
65452019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6546
6547 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6548 Fortran tests.
6549 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6550 order.
6551
36c8fb93
AB
65522019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6553
6554 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6555 casting to type with no kind specified.
6556 (test_basic_parsing_of_type_kinds): Additional tests for types
6557 with no kind specified, and add tests for single/double
6558 precision/complex types.
6559
4139ff00
TT
65602019-12-04 Tom Tromey <tromey@adacore.com>
6561
6562 * gdb.base/endianity.c (struct other) <x>: New field.
6563 (main): Initialize it.
6564 * gdb.base/endianity.exp: Update.
6565
a05cf17a
TT
65662019-12-04 Tom Tromey <tromey@adacore.com>
6567
6568 * gdb.ada/scalar_storage/storage.adb: New file.
6569 * gdb.ada/scalar_storage/pck.adb: New file.
6570 * gdb.ada/scalar_storage/pck.ads: New file.
6571 * gdb.ada/scalar_storage.exp: New file.
6572
103a685e
TT
65732019-12-04 Tom Tromey <tromey@adacore.com>
6574
6575 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6576 (main): Initialize it.
6577 * gdb.base/endianity.exp: Update.
6578
c2512106
AB
65792019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6580
6581 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6582
293b38d6
AB
65832019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6584
6585 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6586 -symbol-info-module-functions and -symbol-info-module-variables.
6587
216a7e6b
AB
65882019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6589
6590 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6591
5bbd8269
AB
65922019-12-01 Richard Bunt <richard.bunt@arm.com>
6593 Andrew Burgess <andrew.burgess@embecosm.com>
6594
6595 * gdb.fortran/derived-type-striding.exp: New file.
6596 * gdb.fortran/derived-type-striding.f90: New file.
6597 * gdb.fortran/array-slices.exp: New file.
6598 * gdb.fortran/array-slices.f90: New file.
6599
be09caf1
PW
66002019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6601
6602 * gdb.base/define.exp: Test . in command names.
6603 * gdb.base/setshow.exp: Update test, as . is now part of
6604 command name.
6605
643c0cbe
PW
66062019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6607
6608 * gdb.base/define-prefix.exp: New file.
6609
dcdec678
AB
66102019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6611
6612 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6613 compile.
6614 (skip_btrace_pt_tests): Likewise.
6615
640ab947
AB
66162019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6617
6618 * gdb.fortran/info-modules.exp: Compile source files in correct
6619 order.
6620
d22670f0
KB
66212019-11-27 Kevin Buettner <kevinb@redhat.com>
6622
6623 * gdb.dwarf2/imported-unit.exp: New file.
6624 * gdb.dwarf2/imported-unit.c: New file.
6625
db5960b4
AB
66262019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6627
6628 * gdb.mi/mi-fortran-modules-2.f90: New file.
6629 * gdb.mi/mi-fortran-modules.exp: New file.
6630 * gdb.mi/mi-fortran-modules.f90: New file.
6631
7dc42066
AB
66322019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6633
6634 * gdb.mi/mi-sym-info-1.c: New file.
6635 * gdb.mi/mi-sym-info-2.c: New file.
6636 * gdb.mi/mi-sym-info.exp: New file.
6637
0dfeecca
TT
66382019-11-22 Tom Tromey <tromey@adacore.com>
6639
6640 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6641 * gdb.ada/tasks/foo.adb: Add another stopping location.
6642
34877895
PJ
66432019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6644
6645 * gdb.base/endianity.c: New test.
6646 * gdb.base/endianity.exp: New file.
6647
2e84f897
LD
66482019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6649
6650 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6651
65d1cd5f
TV
66522019-11-21 Tom de Vries <tdevries@suse.de>
6653
6654 PR gdb/24956
6655 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6656
4f22c3f4
SDJ
66572019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6658
6659 * gdb.python/py-progspace.exp: Add missing parentheses on some
6660 'print' commands.
6661
9f6ad286
TT
66622019-11-19 Tom Tromey <tom@tromey.com>
6663
6664 * gdb.tui/winheight.exp: New file.
6665
0b8dbf3f
AB
66662019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6667
6668 * gdb.base/ctf-whatis.c: Delete.
6669 * gdb.base/ctf-whatis.exp: Delete.
6670 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6671
f833b7a7
AB
66722019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6673
6674 * gdb.base/ctf-cvexpr.exp: Delete.
6675 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6676
30d0a636
AB
66772019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6678
6679 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6680 the compiler. Clean up header comment a little.
6681 * gdb.base/ctf-ptype.exp: Likewise.
6682 * gdb.base/ctf-whatis.exp: Likewise.
6683 * lib/gdb.exp (skip_ctf_tests): New proc.
6684
494409bb
SDJ
66852019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6686
6687 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6688 * gdb.tui/corefile-run.exp: New file.
6689
55708e99
TT
66902019-11-14 Tom Tromey <tromey@adacore.com>
6691
6692 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6693 regression tests.
6694
45e42163
TT
66952019-11-12 Tom Tromey <tom@tromey.com>
6696
6697 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6698 after any command. Expect prompt after WAIT_FOR is seen.
6699 (enter_tui): Enable resize messages.
6700 (command): Expect command in output.
6701 (get_line): Avoid error when cursor appears to be off-screen.
6702 (dump_screen): Include screen size in title.
6703 (_do_resize): New proc, from "resize".
6704 (resize): Rewrite. Do resize in two steps.
6705 * gdb.tui/empty.exp (layouts): Fix entries.
6706 (check_boxes): Remove xfail.
6707 (check_text): Dump screen on failure.
6708
086baaf1
AB
67092019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6710
6711 * gdb.python/py-symbol.exp: Add test for
6712 gdb.lookup_static_symbols.
6713
09ff83af
AB
67142019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6715
6716 * gdb.python/py-symbol.c: Declare and call function from new
6717 py-symbol-2.c file.
6718 * gdb.python/py-symbol.exp: Compile both source files, and add new
6719 tests for gdb.lookup_static_symbol.
6720 * gdb.python/py-symbol-2.c: New file.
6721
11af934b
TV
67222019-11-02 Tom de Vries <tdevries@suse.de>
6723
6724 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6725 * gdb.base/anon.exp: Same.
6726 * gdb.base/auto-connect-native-target.exp: Same.
6727 * gdb.base/call-ar-st.exp: Same.
6728 * gdb.base/catch-syscall.exp: Same.
6729 * gdb.base/commands.exp: Same.
6730 * gdb.base/default.exp: Same.
6731 * gdb.base/display.exp: Same.
6732 * gdb.base/float.exp: Same.
6733 * gdb.base/foll-fork.exp: Same.
6734 * gdb.base/help.exp: Same.
6735 * gdb.base/info-macros.exp: Same.
6736 * gdb.base/info-proc.exp: Same.
6737 * gdb.base/info-target.exp: Same.
6738 * gdb.base/long_long.exp: Same.
6739 * gdb.base/macscp.exp: Same.
6740 * gdb.base/memattr.exp: Same.
6741 * gdb.base/nofield.exp: Same.
6742 * gdb.base/pointers.exp: Same.
6743 * gdb.base/printcmds.exp: Same.
6744 * gdb.base/ptype.exp: Same.
6745 * gdb.base/restore.exp: Same.
6746 * gdb.base/return.exp: Same.
6747 * gdb.base/scope.exp: Same.
6748 * gdb.base/set-noassign.exp: Same.
6749 * gdb.base/setshow.exp: Same.
6750 * gdb.base/shlib-call.exp: Same.
6751 * gdb.base/signals.exp: Same.
6752 * gdb.base/sigstep.exp: Same.
6753 * gdb.base/skip.exp: Same.
6754 * gdb.base/solib-symbol.exp: Same.
6755 * gdb.base/stap-probe.exp: Same.
6756 * gdb.base/step-line.exp: Same.
6757 * gdb.base/step-test.exp: Same.
6758 * gdb.base/style.exp: Same.
6759 * gdb.base/varargs.exp: Same.
6760 * gdb.base/vla-datatypes.exp: Same.
6761 * gdb.base/vla-ptr.exp: Same.
6762 * gdb.base/vla-sideeffect.exp: Same.
6763 * gdb.base/volatile.exp: Same.
6764 * gdb.base/watch-cond-infcall.exp: Same.
6765 * gdb.base/watchpoint.exp: Same.
6766
e96ec2ba
TV
67672019-11-02 Tom de Vries <tdevries@suse.de>
6768
6769 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6770 * gdb.cp/cpexprs.exp: Same.
6771 * gdb.cp/except-multi-location.exp: Same.
6772 * gdb.cp/exceptprint.exp: Same.
6773 * gdb.cp/gdb2384.exp: Same.
6774 * gdb.cp/inherit.exp: Same.
6775 * gdb.cp/m-static.exp: Same.
6776 * gdb.cp/meth-typedefs.exp: Same.
6777 * gdb.cp/misc.exp: Same.
6778 * gdb.cp/namespace.exp: Same.
6779 * gdb.cp/non-trivial-retval.exp: Same.
6780 * gdb.cp/overload.exp: Same.
6781 * gdb.cp/pr17132.exp: Same.
6782 * gdb.cp/re-set-overloaded.exp: Same.
6783 * gdb.cp/rvalue-ref-types.exp: Same.
6784 * gdb.cp/templates.exp: Same.
6785
bd5766ec
LM
67862019-11-01 Luis Machado <luis.machado@linaro.org>
6787
6788 PR gdb/25124
6789
6790 * gdb.arch/pr25124.S: New file.
6791 * gdb.arch/pr25124.exp: New file.
6792
165f8965
AB
67932019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6794
6795 * gdb.fortran/info-modules.exp: Update expected results, and add
6796 additional tests for 'info module functinos', and 'info module
6797 variables'.
6798 * gdb.fortran/info-types.exp: Update expected results.
6799 * gdb.fortran/info-types.f90: Extend testcase with additional
6800 module variables and functions.
6801
59c35742
AB
68022019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6803
6804 * gdb.fortran/info-modules.exp: New file.
6805 * gdb.fortran/info-types.exp: Build with new file.
6806 * gdb.fortran/info-types.f90: Include and use new module.
6807 * gdb.fortran/info-types-2.f90: New file.
6808
f3fb2519
PW
68092019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6810
6811 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6812 * gdb.base/settings.exp: Test all settings types using
6813 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6814 that now verifies that the value of "maint show" is the same as
6815 returned by the settings functions. Test the type of the
6816 maintenance settings.
6817 * gdb.base/default.exp: Update show_conv_list.
6818
d1e36019
TV
68192019-10-31 Tom de Vries <tdevries@suse.de>
6820
6821 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6822 gdb_test.
6823 * gdb.arch/amd64-disp-step.exp: Same.
6824 * gdb.asm/asm-source.exp: Same.
6825 * gdb.btrace/buffer-size.exp: Same.
6826 * gdb.btrace/cpu.exp: Same.
6827 * gdb.btrace/enable.exp: Same.
6828 * gdb.dwarf2/count.exp: Same.
6829 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6830 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6831 * gdb.fortran/vla-datatypes.exp: Same.
6832 * gdb.fortran/vla-history.exp: Same.
6833 * gdb.fortran/vla-ptype.exp: Same.
6834 * gdb.fortran/vla-value.exp: Same.
6835 * gdb.fortran/whatis_type.exp: Same.
6836 * gdb.guile/guile.exp: Same.
6837 * gdb.multi/tids.exp: Same.
6838 * gdb.python/py-finish-breakpoint.exp: Same.
6839 * gdb.python/py-framefilter.exp: Same.
6840 * gdb.python/py-pp-registration.exp: Same.
6841 * gdb.python/py-xmethods.exp: Same.
6842 * gdb.python/python.exp: Same.
6843 * gdb.server/connect-with-no-symbol-file.exp: Same.
6844 * gdb.server/no-thread-db.exp: Same.
6845 * gdb.server/run-without-local-binary.exp: Same.
6846 * gdb.stabs/weird.exp: Same.
6847 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6848 * gdb.threads/thread-find.exp: Same.
6849 * gdb.threads/tls-shared.exp: Same.
6850 * gdb.threads/tls.exp: Same.
6851 * gdb.threads/wp-replication.exp: Same.
6852 * gdb.trace/ax.exp: Same.
6853 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6854
3d11e68e
TV
68552019-10-31 Tom de Vries <tdevries@suse.de>
6856
6857 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6858 * gdb.ada/array_subscript_addr.exp: Same.
6859 * gdb.ada/arrayidx.exp: Same.
6860 * gdb.ada/arrayparam.exp: Same.
6861 * gdb.ada/arrayptr.exp: Same.
6862 * gdb.ada/boolean_expr.exp: Same.
6863 * gdb.ada/call_pn.exp: Same.
6864 * gdb.ada/complete.exp: Same.
6865 * gdb.ada/fixed_cmp.exp: Same.
6866 * gdb.ada/fun_addr.exp: Same.
6867 * gdb.ada/funcall_param.exp: Same.
6868 * gdb.ada/interface.exp: Same.
6869 * gdb.ada/mod_from_name.exp: Same.
6870 * gdb.ada/null_array.exp: Same.
6871 * gdb.ada/packed_array.exp: Same.
6872 * gdb.ada/packed_tagged.exp: Same.
6873 * gdb.ada/print_chars.exp: Same.
6874 * gdb.ada/print_pc.exp: Same.
6875 * gdb.ada/ptype_arith_binop.exp: Same.
6876 * gdb.ada/ptype_field.exp: Same.
6877 * gdb.ada/ptype_tagged_param.exp: Same.
6878 * gdb.ada/rec_return.exp: Same.
6879 * gdb.ada/ref_tick_size.exp: Same.
6880 * gdb.ada/str_ref_cmp.exp: Same.
6881 * gdb.ada/taft_type.exp: Same.
6882 * gdb.ada/tagged.exp: Same.
6883 * gdb.ada/type_coercion.exp: Same.
6884 * gdb.ada/uninitialized_vars.exp: Same.
6885
60b6ede8
TV
68862019-10-30 Tom de Vries <tdevries@suse.de>
6887
6888 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6889
30baf67b
TV
68902019-10-26 Tom de Vries <tdevries@suse.de>
6891
6892 * gdb.base/bigcore.c: Fix typos in comments.
6893 * gdb.base/ctf-ptype.c: Same.
6894 * gdb.base/long_long.c: Same.
6895 * gdb.dwarf2/dw2-op-out-param.S: Same.
6896 * gdb.python/py-evthreads.c: Same.
6897 * gdb.reverse/i387-stack-reverse.c: Same.
6898 * gdb.trace/tfile.c: Same.
6899 * lib/compiler.c: Same.
6900 * lib/compiler.cc: Same.
6901
158da0d1
TV
69022019-10-25 Tom de Vries <tdevries@suse.de>
6903
6904 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6905 gdb_test_multiple calls.
6906 * gdb.reverse/sigall-reverse.exp: Same.
6907 * gdb.reverse/solib-precsave.exp: Same.
6908 * gdb.reverse/solib-reverse.exp: Same.
6909 * gdb.reverse/until-precsave.exp: Same.
6910 * gdb.reverse/until-reverse.exp: Same.
6911
4ccdfbec
TV
69122019-10-24 Tom de Vries <tdevries@suse.de>
6913
6914 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6915 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6916 kfail using -wrap pattern flag and convenience variable
6917 gdb_test_name.
6918
33d569b7
AB
69192019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6920
6921 * gdb.python/py-progspace.exp: Add tests for the
6922 Progspace.block_for_pc method.
6923
4d0b984b
TT
69242019-10-23 Tom Tromey <tom@tromey.com>
6925
6926 * configure: Rebuild.
6927 * aclocal.m4: Use m4_include, not sinclude.
6928
94cb3754
TV
69292019-10-21 Tom de Vries <tdevries@suse.de>
6930
6931 * gdb.base/infcall-nested-structs.c: Add
6932 __attribute__((noinline,noclone)) to all functions.
6933 (call_all): Add missing variable initialization. Simplify return value.
6934 (breakpt): Increment volatile variable, to prevent call from being
6935 optimized out.
6936 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6937
062f1fc1
TV
69382019-10-17 Tom de Vries <tdevries@suse.de>
6939
6940 * gdb.fortran/module.exp: Allow info variables to print info for files
6941 other than module.f90.
6942
0b54364d
AB
69432019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6944
6945 * gdb.fortran/module.exp: Extend with 'info variables' test.
6946
7ff5fae7
AB
69472019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6948
6949 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6950 F77_FOR_TARGET.
6951
d10eccaa
TV
69522019-10-16 Tom de Vries <tdevries@suse.de>
6953
6954 PR tdep/25096
6955 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6956
745ff14e
TV
69572019-10-16 Tom de Vries <tdevries@suse.de>
6958
6959 PR tdep/24104
6960 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6961 Add KFAIL for PR tdep/25096.
6962
03e1ab94
TV
69632019-10-16 Tom de Vries <tdevries@suse.de>
6964
6965 PR testsuite/25059
6966 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6967
b17fcc10
TV
69682019-10-16 Tom de Vries <tdevries@suse.de>
6969
6970 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6971 as signed.
6972
9223170f
SM
69732019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6974
6975 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6976 one instead of increasing timeout.
6977
d6e76313
TV
69782019-10-13 Tom de Vries <tdevries@suse.de>
6979
6980 PR record/25038
6981 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6982 * gdb.reverse/sigall-reverse.exp: Same.
6983 * gdb.reverse/solib-precsave.exp: Same.
6984 * gdb.reverse/solib-reverse.exp: Same.
6985 * gdb.reverse/step-precsave.exp: Same.
6986 * gdb.reverse/until-precsave.exp: Same.
6987 * gdb.reverse/until-reverse.exp: Same.
6988 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6989
6dfc0041
AA
69902019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6991
6992 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6993 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6994 (cmp_struct_05_01, cmp_struct_static_02_01)
6995 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6996 comparisons.
6997
abcf2cc8
TV
69982019-10-10 Tom de Vries <tdevries@suse.de>
6999
7000 PR testsuite/24888
7001 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
7002 gnatlink.
7003
a50faaf6
TV
70042019-10-09 Tom de Vries <tdevries@suse.de>
7005
7006 PR testsuite/25048
7007 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
7008
60ff3cd7
AB
70092019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7010
7011 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
7012 exceptions due to missing debug information.
7013
dfee8566
TV
70142019-10-07 Tom de Vries <tdevries@suse.de>
7015
7016 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
7017
3d63690a
AB
70182019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7019
7020 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
7021 * gdb.base/annota1.exp: Update to use gdb_test_name.
7022
30d1f018
WP
70232019-10-07 Weimin Pan <weimin.pan@oracle.com>
7024
7025 * gdb.base/ctf-whatis.exp: New file.
7026 * gdb.base/ctf-whatis.c: New file.
7027 * gdb.base/ctf-ptype.exp: New file.
7028 * gdb.base/ctf-ptype.c: New file.
7029 * gdb.base/ctf-constvars.exp: New file.
7030 * gdb.base/ctf-constvars.c: New file.
7031 * gdb.base/ctf-cvexpr.exp: New file.
7032
4dbbb47c
TV
70332019-10-04 Tom de Vries <tdevries@suse.de>
7034
7035 * gdb.cp/local-static.c (main): Move declaration of int i out of the
7036 for loop.
7037
77c2dba3
TT
70382019-10-03 Tom Tromey <tom@tromey.com>
7039
7040 PR rust/24976:
7041 * gdb.rust/simple.rs (Union2): New type.
7042 (main): Use Union2.
7043 * gdb.rust/simple.exp: Add test.
7044
179aed7f
AB
70452019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7046
7047 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
7048 nested function prefix.
7049
0a4b0913
AB
70502019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7051 Richard Bunt <richard.bunt@arm.com>
7052 Andrew Burgess <andrew.burgess@embecosm.com>
7053
7054 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
7055 nested functions.
7056 * gdb.fortran/nested-funcs.f90: Update expected results.
7057 * gdb.fortran/nested-funcs-2.exp: New file.
7058 * gdb.fortran/nested-funcs-2.f90: New file.
7059
082cce05
AB
70602019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7061
7062 * gdb.python/py-parameter.exp: Make test names unique.
7063 * gdb.python/py-template.exp: Likewise.
7064 * gdb.python/py-value.exp: Likewise.
7065
2b74ba5a
AB
70662019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7067
7068 * gdb.base/break-interp.exp: Reduce test name duplication.
7069 * gdb.base/call-sc.exp: Likewise.
7070 * gdb.base/callfuncs.exp: Likewise.
7071 * gdb.base/charset.exp: Likewise.
7072 * gdb.base/dump.exp: Likewise.
7073 * gdb.base/ena-dis-br.exp: Likewise.
7074 * gdb.base/relational.exp: Likewise.
7075 * gdb.base/step-over-syscall.exp: Likewise.
7076 * gdb.base/structs.exp: Likewise.
7077
58eb20d5
AB
70782019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7079
7080 * gdb.linespec/explicit.exp: Make test names unique.
7081 * gdb.linespec/ls-errs.exp: Likewise.
7082
4d421147
AB
70832019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7084
7085 * gdb.reverse/break-precsave.exp: Make test names unique.
7086 * gdb.reverse/break-reverse.exp: Likewise.
7087 * gdb.reverse/finish-precsave.exp: Likewise.
7088 * gdb.reverse/finish-reverse.exp: Likewise.
7089 * gdb.reverse/machinestate-precsave.exp: Likewise.
7090 * gdb.reverse/machinestate.exp: Likewise.
7091 * gdb.reverse/readv-reverse.exp: Likewise.
7092 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7093 * gdb.reverse/sigall-precsave.exp: Likewise.
7094 * gdb.reverse/sigall-reverse.exp: Likewise.
7095 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7096 * gdb.reverse/watch-precsave.exp: Likewise.
7097 * gdb.reverse/watch-reverse.exp: Likewise.
7098
d8c06f22
AB
70992019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7100
7101 * gdb.threads/stop-with-handle.c: New file.
7102 * gdb.threads/stop-with-handle.exp: New file.
7103
3a56ed86
TV
71042019-10-03 Tom de Vries <tdevries@suse.de>
7105
7106 PR testsuite/25059
7107 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7108 directory" line to be missing.
7109
42275044
TV
71102019-10-03 Tom de Vries <tdevries@suse.de>
7111
7112 PR testsuite/25059
7113 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7114 type optional.
7115
9ef62df0
AA
71162019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7117
7118 * gdb.python/py-format-string.c (string.h): New include.
7119 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7120 the same value, for endianness-independence.
7121 * gdb.python/py-format-string.exp (default_regexp_dict)
7122 (test_pretty_structs, test_format): Adjust expected output to the
7123 changed initialization.
7124
37f6a7f4
TT
71252019-10-02 Tom Tromey <tromey@adacore.com>
7126
7127 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7128
1d58d6a2
PA
71292019-10-02 Pedro Alves <palves@redhat.com>
7130 Andrew Burgess <andrew.burgess@embecosm.com>
7131
7132 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7133 "print-file-var.h".
7134 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7135 (get_version_1): Print this_version_id and its address.
7136 Add extern "C" wrappers around interface functions.
7137 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7138 "print-file-var.h".
7139 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7140 (get_version_2): Print this_version_id and its address.
7141 Add extern "C" wrappers around interface functions.
7142 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7143 <stddef.h> and "print-file-var.h".
7144 Add extern "C" wrappers around interface functions.
7145 [VERSION_ID_MAIN] (this_version_id): Define.
7146 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7147 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7148 up extern "C" blocks.
7149 * gdb.base/print-file-var.exp (test): New, factored out from top
7150 level.
7151 (top level): Test all combinations of attribute hidden or not,
7152 dlopen or not, and this_version_id symbol in main file or not.
7153 Compile tests as both C++ and C, make test names unique.
7154
d770d56f
TT
71552019-10-01 Tom Tromey <tom@tromey.com>
7156
7157 * gdb.base/style.exp: Test "show logging filename".
7158
7f6aba03
TT
71592019-10-01 Tom Tromey <tom@tromey.com>
7160
7161 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7162 * gdb.base/style.exp: Add metadata style test.
7163
14309bb6
TT
71642019-10-01 Tom Tromey <tom@tromey.com>
7165
7166 * gdb.base/style.exp: Test "pwd".
7167
2a3c1174
PA
71682019-10-01 Tom Tromey <tom@tromey.com>
7169
7170 * gdb.base/style.exp: Update tests.
7171
53d666ec
AA
71722019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7173
7174 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7175 'six' to unsigned.
7176 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7177 'five'. Use an all-ones bit pattern for each.
7178 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7179 to its changed values.
7180
4a56a520
TT
71812019-09-30 Tom Tromey <tromey@adacore.com>
7182
7183 * gdb.rust/traits.rs: Disable all warnings.
7184
0df0352a
TV
71852019-09-29 Tom de Vries <tdevries@suse.de>
7186
aac66a4c 7187 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 7188
73d9a918
TV
71892019-09-29 Tom de Vries <tdevries@suse.de>
7190
7191 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7192
060b3ab4
TV
71932019-09-27 Tom de Vries <tdevries@suse.de>
7194
7195 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7196
68f7d34d
TV
71972019-09-27 Tom de Vries <tdevries@suse.de>
7198
7199 PR record/23188
7200 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7201
5d63b30a
TT
72022019-09-26 Tom Tromey <tromey@adacore.com>
7203
7204 * gdb.ada/py_taft.exp: New file.
7205 * gdb.ada/py_taft/main.adb: New file.
7206 * gdb.ada/py_taft/pkg.adb: New file.
7207 * gdb.ada/py_taft/pkg.ads: New file.
7208
3d435220
TV
72092019-09-24 Tom de Vries <tdevries@suse.de>
7210
7211 PR gdb/24598
7212 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7213
77d03678
TV
72142019-09-22 Tom de Vries <tdevries@suse.de>
7215
7216 * gdb.base/restore.exp: Allow register variables to be optimized out at
7217 -O0.
7218
abf516c6
UW
72192019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7220
7221 * gdb.arch/spu-info.exp: Remove file.
7222 * gdb.arch/spu-info.c: Remove file.
7223 * gdb.arch/spu-ls.exp: Remove file.
7224 * gdb.arch/spu-ls.c: Remove file.
7225
7226 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7227 * gdb.asm/spu.inc: Remove file.
7228
7229 * gdb.base/dump.exp: Remove support for spu*-*-*.
7230 * gdb.base/stack-checking.exp: Likewise.
7231 * gdb.base/overlays.exp: Likewise.
7232 * gdb.base/ovlymgr.c: Likewise.
7233 * gdb.base/spu.ld: Remove file.
7234
7235 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7236 * gdb.cp/cpexprs.exp: Likewise.
7237 * gdb.cp/exception.exp: Likewise.
7238 * gdb.cp/gdb2495.exp: Likewise.
7239 * gdb.cp/mb-templates.exp: Likewise.
7240 * gdb.cp/pr9167.exp: Likewise.
7241 * gdb.cp/userdef.exp: Likewise.
7242
7243 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7244
7245 * gdb.cell: Remove directory.
7246 * lib/cell.exp: Remove file.
7247
e452e88f
TV
72482019-09-19 Tom de Vries <tdevries@suse.de>
7249
7250 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7251
8a625130
TV
72522019-09-19 Tom de Vries <tdevries@suse.de>
7253
7254 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7255
81dc3ab5
TV
72562019-09-19 Tom de Vries <tdevries@suse.de>
7257
7258 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7259 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7260 (gdb_target_cmd): ... here.
7261 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7262 value 2.
7263
b078f3ac
AB
72642019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7265
7266 * gdb.base/source-dir.exp: Avoid having directory names in test
7267 names.
7268
f1b620e9
MG
72692019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7270
7271 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7272 directory.
7273
67f3ed6a
AB
72742019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7275
7276 * gdb.base/list-missing-source.exp: New file.
7277
d1b70248
TV
72782019-09-14 Tom de Vries <tdevries@suse.de>
7279
7280 PR teststuite/24599
7281 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7282 * lib/ada.exp (gnatmake_version_at_least): New proc.
7283
5fabdcd6
AB
72842019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7285
7286 * gdb.base/maint.exp: Use exec_has_index_section.
7287
aa17805f
AB
72882019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7289
7290 * gdb.base/maint.exp: Add test for 'maint info sections'.
7291
25e5c209
TV
72922019-09-12 Tom de Vries <tdevries@suse.de>
7293
7294 * gdb.base/store.exp: Allow register variables to be optimized out at
7295 -O0.
7296
4993045d
PW
72972019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7298
7299 * gdb.ada/rdv_wait.exp: Update to new task names.
7300 * gdb.base/task_switch_in_core.exp: Likewise.
7301 * gdb.base/info_sources_base.c: Likewise.
7302
8a516164
TT
73032019-09-10 Tom Tromey <tromey@adacore.com>
7304
7305 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7306
aa391654
TT
73072019-09-10 Tom Tromey <tromey@adacore.com>
7308
7309 * gdb.ada/dgopt.exp: New file.
7310 * gdb.ada/dgopt/x.adb: New file.
7311
8634b462
TT
73122019-09-08 Tom Tromey <tom@tromey.com>
7313
7314 * gdb.tui/resize.exp: Remove setup_xfail.
7315 * gdb.tui/regs.exp: Remove setup_xfail.
7316 * gdb.tui/basic.exp: Remove setup_xfail.
7317
736b0f76
DB
73182019-09-06 David Blaikie <dblaikie@gmail.com>
7319
7320 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7321 * gdb.cp/cplabel.exp: Ditto.
7322 * gdb.linespec/ls-errs.exp: Ditto.
7323
30331a6c
TV
73242019-09-05 Tom de Vries <tdevries@suse.de>
7325
7326 * lib/gdb.exp (cmp_file_string): New proc.
7327 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7328 runto_main. Verify save breakpoints output.
7329
98b0ebab
PW
73302019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7331
7332 * gdb.base/info-var.exp: Test info variables without running
7333 to main, to avoid expect's buffer overflow.
7334
4e962e74
TT
73352019-09-03 Tom Tromey <tromey@adacore.com>
7336
7337 * gdb.ada/bias.exp: New file.
7338 * gdb.ada/bias/bias.adb: New file.
7339 * gdb.ada/print_chars.exp: Add regression test.
7340 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7341 (MC): New variable.
7342
2ea1a07a
SL
73432019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7344
7345 * gdb.base/argv0-symlink.exp: Run only on native target
7346 and local host.
7347
8077c50d
TV
73482019-08-29 Tom de Vries <tdevries@suse.de>
7349
7350 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7351 diverse debug info.
7352 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7353
48352473
TV
73542019-08-28 Tom de Vries <tdevries@suse.de>
7355
7356 * gdb.base/info-var.exp: Allow info variables to print info for files
7357 other than info-var-f1.c and info-var-f2.c.
7358
d8f27c60
AB
73592019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7360
7361 * gdb.fortran/info-types.exp: Add module.
7362 * gdb.fortran/info-types.f90: Update expected results.
7363
1f20c35e
AB
73642019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7365
7366 * gdb.fortran/info-types.exp: New file.
7367 * gdb.fortran/info-types.f90: New file.
7368 * lib/fortran.exp (fortran_character1): New proc.
7369
4acfdd20
AB
73702019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7371
7372 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7373 functions'. Reindent as needed.
7374 * gdb.base/info-var-f1.c: New file.
7375 * gdb.base/info-var-f2.c: New file.
7376 * gdb.base/info-var.exp: New file.
7377 * gdb.base/info-var.h: New file.
7378
5c31b358
TV
73792019-08-26 Tom de Vries <tdevries@suse.de>
7380
7381 PR c++/24852
7382 * gdb.cp/no-libstdcxx-probe.exp: New test.
7383
b694989f
TV
73842019-08-26 Tom de Vries <tdevries@suse.de>
7385
7386 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7387 * tests need to be skipped.
7388 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7389 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7390 mi_skip_libstdcxx_probe_tests.
7391
d9c4ba53
SDJ
73922019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7393
7394 * gdb.python/py-xmethods.exp: Use raw strings when passing
7395 arguments to SimpleXMethodMatcher.
7396
395fad09
TV
73972019-08-22 Tom de Vries <tdevries@suse.de>
7398
7399 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7400 more informative.
7401
26c957f1
PA
74022019-08-21 Pedro Alves <palves@redhat.com>
7403
7404 * gdb.base/with.exp: Test "with" with no arguments.
7405
61f80d5d
TV
74062019-08-21 Tom de Vries <tdevries@suse.de>
7407
7408 * gdb.base/gdb-caching-proc.exp: Sort files.
7409
d7a11d13
TV
74102019-08-20 Tom de Vries <tdevries@suse.de>
7411
7412 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7413 compilation.
7414
34dafe9f
TV
74152019-08-16 Tom de Vries <tdevries@suse.de>
7416
7417 * gdb.base/compare-sections.exp ("after run to main"): Allow
7418 mismatched read-only sections for PIE executables.
7419
398fdd60
TT
74202019-08-16 Tom Tromey <tom@tromey.com>
7421
7422 * lib/tuiterm.exp (_csi_Z): New proc.
7423 * gdb.tui/basic.exp: Update window positions.
7424 * gdb.tui/empty.exp: Update window positions.
7425
d8f9e51c
SL
74262019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7427
7428 * gdb.base/examine-backward.exp: Correct regexp for
7429 "examine 3 bytes backward from ${address_zero}".
7430
3df505f6
TT
74312019-08-15 Tom Tromey <tom@tromey.com>
7432
7433 * gdb.tui/empty.exp: Enable resizing tests.
7434
272560b5
TT
74352019-08-15 Tom Tromey <tromey@adacore.com>
7436
7437 * gdb.ada/char_enum.exp: Add regression tests.
7438 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7439 and '0'.
7440 (Char, Gchar): Update.
7441 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7442
08235187
CB
74432019-08-15 Christian Biesinger <cbiesinger@google.com>
7444
7445 * gdb.python/python.exp: Expect a leading underscore on
7446 GdbOutput{,Error}File.
7447
22a2ab04
SL
74482019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7449
7450 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7451 Windows host.
7452
835b995b
SL
74532019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7454
7455 * gdb.base/batch-preserve-term-settings.exp
7456 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7457
97dd8e07
CB
74582019-08-15 Christian Biesinger <cbiesinger@google.com>
7459
7460 * lib/gdb.exp: When running on a mingw target, replace
7461 /x/ with x:/.
7462
75faf5c4
AH
74632019-08-14 Alan Hayward <alan.hayward@arm.com>
7464
7465 * gdb.arch/aarch64-prologue.c: New test.
7466 * gdb.arch/aarch64-prologue.exp: New file.
7467
abc6c00f
TV
74682019-08-13 Tom de Vries <tdevries@suse.de>
7469
7470 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7471 Thread.
7472
74c2c1f4
SL
74732019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7474
7475 * gdb.python/py-completion.exp: Download the .py file to the host
7476 and use its host pathname. Conditionalize tests that use
7477 tab completion and manipulate files on the build machine.
7478 * gdb.python/py-events.exp: Download the .py file to the host
7479 and use its host pathname.
7480 * gdb.python/py-evsignal.exp: Likewise.
7481 * gdb.python/py-evthreads.exp: Likewise.
7482 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7483 pathname syntax.
7484 * gdb.python/py-framefilter.exp: Download the .py file to the right
7485 place on the host. Match Windows pathname syntax.
7486 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7487 .py file to the host and use its host pathname.
7488 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7489 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7490 build pathname. Skip symlink test on Windows host. Add missing
7491 newline at end of file.
7492 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7493 and use its host pathname.
7494 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7495 * gdb.python/py-section-script.exp: Use host location of binfile
7496 on safe-path. Use correct path separator on Windows host.
7497 Reorder alternatives in gdb_test_multiple to prevent matching
7498 the wrong alternative on success.
7499 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7500
ca2589f3
PP
75012019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7502
7503 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7504 expect the GDB inferior to no longer immediately stop after
7505 being resumed with "signal SIGINT".
7506
020a839d
SL
75072019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7508
7509 * gdb.linespec/break-ask.exp: Generalize regexps to match
7510 Windows pathnames too.
7511
128d6509
TV
75122019-08-08 Tom de Vries <tdevries@suse.de>
7513
7514 PR testsuite/24862
7515 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7516
590042fc
PW
75172019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7518
7519 * gdb.base/style.exp: Update tests for help doc new invariants.
7520 * gdb.base/help.exp: Likewise.
7521
046bebe1
TT
75222019-08-06 Tom Tromey <tom@tromey.com>
7523
7524 * gdb.base/style.exp: Add disassemble test.
7525 * gdb.base/style.c (some_called_function): New function.
7526 (main): Use it.
7527
0b27c27d
CB
75282019-08-05 Christian Biesinger <cbiesinger@google.com>
7529
7530 * gdb.python/py-block.exp: Test dictionary access on blocks.
7531
580f1034
SM
75322019-08-05 Simon Marchi <simon.marchi@efficios.com>
7533
7534 PR gdb/24863
7535 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7536 -list-thread-groups --available test when running under
7537 check-read1.
7538
d86bd7cb
TV
75392019-08-05 Tom de Vries <tdevries@suse.de>
7540
7541 PR testsuite/24863
7542 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7543 * gdb.base/help.exp: Use with_read1_timeout_factor.
7544 * gdb.base/info-macros.exp: Same.
7545 * gdb.cp/nested-types.exp: Same.
7546
a80cf5d8
TV
75472019-08-05 Tom de Vries <tdevries@suse.de>
7548
7549 * lib/gdb.exp (version_at_least): Factor out of ...
7550 (tcl_version_at_least): ... here.
7551 (gdb_compile): Fail if pie results in non-PIE executable.
7552 (readelf_version, readelf_prints_pie): New proc.
7553 (exec_is_pie): Return -1 if unknown.
7554
d0962838
TV
75552019-08-05 Tom de Vries <tdevries@suse.de>
7556
7557 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7558
2252ff3d
SL
75592019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7560
7561 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7562
26655f53
SL
75632019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7564
7565 * lib/completion-support.exp (test_gdb_complete_none): Skip
7566 tab completion tests if no readline support.
7567 (test_gdb_complete_unique_re): Likewise.
7568 (test_gdb_complete_multiple): Likewise.
7569
db4dc13e
PW
75702019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7571
7572 * gdb.base/info_sources.exp: New file.
7573 * gdb.base/info_sources.c: New file.
7574 * gdb.base/info_sources_base.c: New file.
7575
0eba165a
PFC
75762019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7577
7578 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7579 prefix argument.
7580 (test_exit_status): Add prefix argument.
7581
59bd512b
TV
75822019-08-01 Tom de Vries <tdevries@suse.de>
7583
7584 PR testsuite/24863
7585 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7586 calling exp_continue for new thread and thread exited messages.
7587
2a3ad588
TV
75882019-08-01 Tom de Vries <tdevries@suse.de>
7589
7590 PR testsuite/24863
7591 * gdb.base/structs.exp: Fix check-read1 timeout using
7592 gdb_test_sequence.
7593 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7594
117eb594
TV
75952019-08-01 Tom de Vries <tdevries@suse.de>
7596
7597 PR testsuite/24863
7598 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7599 line.
7600
ed591340
TV
76012019-08-01 Tom de Vries <tdevries@suse.de>
7602
7603 PR testsuite/24863
7604 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7605
aa3b6533
TT
76062019-07-30 Tom Tromey <tromey@adacore.com>
7607
7608 * gdb.ada/display_nested.exp: New file.
7609 * gdb.ada/display_nested/foo.adb: New file.
7610 * gdb.ada/display_nested/pack.adb: New file.
7611 * gdb.ada/display_nested/pack.ads: New file.
7612
2906593f
CB
76132019-07-30 Christian Biesinger <cbiesinger@google.com>
7614
7615 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7616 namespace.
7617 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7618
0f575925
TV
76192019-07-30 Tom de Vries <tdevries@suse.de>
7620
7621 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7622 instead.
7623
b13057d9
TV
76242019-07-30 Tom de Vries <tdevries@suse.de>
7625
7626 PR testsuite/24834
7627 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7628 (exec_is_pie): New proc.
7629
5c4dde85
CB
76302019-07-29 Christian Biesinger <cbiesinger@google.com>
7631
7632 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7633
c620ed88
CB
76342019-07-29 Christian Biesinger <cbiesinger@google.com>
7635
7636 * gdb.python/py-objfile.c: Add global and static vars.
7637 * gdb.python/py-objfile.exp: Test new functions Objfile.
7638 lookup_global_symbol and lookup_static_symbol.
7639
3d235706
TT
76402019-07-29 Tom Tromey <tom@tromey.com>
7641
7642 * lib/tuiterm.exp (Term::_csi_@): New proc.
7643 (Term::_csi_X): Don't move cursor.
7644
c7e4c0a6
PW
76452019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7646
7647 * gdb.base/options.exp: Update backtrace - completion to
7648 new option -frame-info.
7649 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7650 Test new 'set print frame-info'. Test backtrace -frame-info
7651 overriding 'set print frame-info'.
7652 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7653 Test new 'set print frame-info'.
7654 Verify consistency of backtrace with and without filters, with and
7655 without -no-filters.
7656 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7657 default.
7658
de28a3b7
TV
76592019-07-29 Tom de Vries <tdevries@suse.de>
7660
7661 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7662 no arguments".
7663
507dd60e
TV
76642019-07-29 Tom de Vries <tdevries@suse.de>
7665
7666 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7667 is a substring of the first for "complete non-unique file name".
7668
5beafce9
TV
76692019-07-29 Tom de Vries <tdevries@suse.de>
7670
7671 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7672 with ".*".
7673
2d274232
TV
76742019-07-29 Tom de Vries <tdevries@suse.de>
7675
7676 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7677 Pass prompt_regexp parameter to gdb_test_multiple calls.
7678
9197cd8b
TV
76792019-07-29 Tom de Vries <tdevries@suse.de>
7680
7681 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7682 print registers" regexps.
9197cd8b 7683
b528dae0
TV
76842019-07-29 Tom de Vries <tdevries@suse.de>
7685
7686 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7687
d17725d7
TV
76882019-07-29 Tom de Vries <tdevries@suse.de>
7689
7690 PR gdb/24855
7691 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7692 (skip_python_tests_prompt): Add prompt_regexp argument to
7693 gdb_test_multiple calls.
7694
52b75bf1
TT
76952019-07-27 Tom Tromey <tom@tromey.com>
7696
7697 * gdb.tui/main.exp: New file.
7698
2b1d00c2
TT
76992019-07-27 Tom Tromey <tom@tromey.com>
7700
7701 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7702 optional.
7703 * gdb.tui/empty.exp: New file.
7704
ded631d5
TT
77052019-07-27 Tom Tromey <tom@tromey.com>
7706
7707 * lib/tuiterm.exp (spawn): New proc.
7708 (Term::resize): New proc.
7709 * gdb.tui/resize.exp: New file.
7710
58ac439d
TT
77112019-07-27 Tom Tromey <tom@tromey.com>
7712
7713 * gdb.tui/list.exp: New file.
7714
fe1f56ee
TT
77152019-07-27 Tom Tromey <tom@tromey.com>
7716
7717 * gdb.tui/regs.exp: New file.
7718
f790b310
TT
77192019-07-27 Tom Tromey <tom@tromey.com>
7720
7721 * gdb.tui/basic.exp: Add "layout split" test.
7722
d95fc6ee
TT
77232019-07-27 Tom Tromey <tom@tromey.com>
7724
7725 * gdb.tui/basic.exp: Add "layout asm" test.
7726
c3786b3a
TT
77272019-07-27 Tom Tromey <tom@tromey.com>
7728
7729 * lib/tuiterm.exp: New file.
7730 * gdb.tui/basic.exp: New file.
7731
98a617f8
KB
77322019-07-27 Kevin Buettner <kevinb@redhat.com>
7733
7734 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7735 Enable tests associated with this flag. Adjust regex
7736 referencing "foo_low" to now refer to "foo_cold" instead.
7737
5c076da4
KB
77382019-07-27 Kevin Buettner <kevinb@redhat.com>
7739
7740 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7741 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7742 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7743 foo_cold. Revise comments to match.
7744 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7745 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7746 were wrapped into this proc; Call do_test in loop from outermost
7747 level.
7748 (foo_low): Rename all occurrences to "foo_cold".
7749 (backtrace from baz): New test.
7750 (x2/i foo_cold): New test.
7751 (info line *foo_cold): New test.
7752
1512d3b7
TV
77532019-07-26 Tom de Vries <tdevries@suse.de>
7754
7755 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7756
297989a1
TV
77572019-07-25 Tom de Vries <tdevries@suse.de>
7758
7759 PR testsuite/24830
7760 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7761 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7762 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7763 (skip_libstdcxx_probe_tests): ... here.
7764 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7765
b3b965fb
TV
77662019-07-24 Tom de Vries <tdevries@suse.de>
7767
7768 PR testsuite/24807
7769 * gdb.objc/basicclass.m: Include stdio.h.
7770 * gdb.objc/nondebug.m: Same.
7771 * gdb.objc/objcdecode.m: Same.
7772
4625b4d0
TV
77732019-07-24 Tom de Vries <tdevries@suse.de>
7774
7775 PR testsuite/24612
7776 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7777 additional_flags.
7778
024a5840
TV
77792019-07-24 Tom de Vries <tdevries@suse.de>
7780
7781 PR testsuite/24831
7782 * gdb.multi/tids.exp: Update error messages for info threads.
7783
c76ddaa3
TV
77842019-07-24 Tom de Vries <tdevries@suse.de>
7785
7786 * gdb.base/info-types.exp: Allow info types to print info for more than
7787 one file.
7788
9a618ef6
TV
77892019-07-23 Tom de Vries <tdevries@suse.de>
7790
7791 PR testsuite/24842
7792 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7793 gdb_spawn_with_cmdline_opts.
7794
40eadf04
SP
77952019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7796
7797 * gdb.arch/arm-cmse-sgstubs.c: New test.
7798 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7799
5ba29434
TV
78002019-07-23 Tom de Vries <tdevries@suse.de>
7801
7802 PR testsuite/24711
7803 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7804 issuing next command.
7805
a8e9d247
AB
78062019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7807
7808 * gdb.ada/info_auto_lang.exp: Update expected results.
7809 * gdb.base/info-types.c: Add additional types to check.
7810 * gdb.base/info-types.exp: Update expected results.
7811
eb86c5e2
AB
78122019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7813
7814 * gdb.base/info-types.c: New file.
7815 * gdb.base/info-types.exp: New file.
7816
01e175fe
AB
78172019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7818
7819 * gdb.arch/riscv-bp-infcall.c: New file.
7820 * gdb.arch/riscv-bp-infcall.exp: New file.
7821
6b78c3f8
AB
78222019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7823
7824 PR breakpoints/24541
7825 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7826
da738167
TV
78272019-07-14 Tom de Vries <tdevries@suse.de>
7828
7829 PR testsuite/24760
7830 * gdb.objc/basicclass.exp: Fix unterminated string.
7831
0d4e84ed
AB
78322019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7833 Andrew Burgess <andrew.burgess@embecosm.com>
7834
7835 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7836 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7837 negative bounds.
7838 * gdb.fortran/vla-value.exp: Print elements of an array with
7839 negative bounds.
7840 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7841 testing.
7842
021d8588
AB
78432019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7844
7845 * gdb.base/options.exp (expect_string): Dequote strings in
7846 results.
7847 (test-string): Test strings with different quoting and reindent.
7848
f06f1252
TT
78492019-07-10 Tom Tromey <tromey@adacore.com>
7850
7851 * gdb.ada/mi_ex_cond.exp: Update expected results.
7852 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7853 * gdb.ada/mi_catch_ex.exp: Update expected results.
7854 * gdb.ada/mi_catch_assert.exp: Update expected results.
7855 * gdb.ada/catch_ex.exp (catch_exception_info)
7856 (catch_exception_entry, catch_assert_entry)
7857 (catch_unhandled_entry): Update.
7858 * gdb.ada/catch_assert_if.exp: Update expected results.
7859
b863685d
RB
78602019-07-10 Richard Bunt <richard.bunt@arm.com>
7861 Stephen Roberts <stephen.roberts@arm.com>
7862
7863 * gdb.base/define.exp: Restore original prompt.
7864
cb1e4e32
PA
78652019-07-09 Pedro Alves <palves@redhat.com>
7866
7867 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7868 breakpoints" output.
7869 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7870 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7871 throw" creates breakpoint.
7872 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7873 'type="catchpoint"'.
7874
b58a68fe
PA
78752019-07-09 Pedro Alves <palves@redhat.com>
7876
7877 PR c++/15468
7878 * gdb.cp/except-multi-location-lib.cc: New.
7879 * gdb.cp/except-multi-location-main.cc: New.
7880 * gdb.cp/except-multi-location.exp: New.
7881
0826779b
PW
78822019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7883
7884 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7885 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7886 argument and update callers.
7887
5b0e2db4
AB
78882019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7889
7890 * gdb.arch/amd64-break-on-asm-line.S: New file.
7891 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7892
1f6f6e21
PW
78932019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7894
7895 * gdb.base/printcmds.exp: Test printing C string and
7896 C wide string convenience vars without transiting via the inferior.
7897 Also make test names unique.
7898
ea142fbf
AH
78992019-07-08 Alan Hayward <alan.hayward@arm.com>
7900
5862c886 7901 PR breakpoints/25011
ea142fbf
AH
7902 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7903
213fd9fa
PA
79042019-07-04 Pedro Alves <palves@redhat.com>
7905
7906 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7907 body returned ok(0), break(3) or continue(4).
7908 * gdb.testsuite/foreach_with_prefix.exp: New file.
7909
2b40fda7
AH
79102019-07-04 Alan Hayward <alan.hayward@arm.com>
7911
7912 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7913
a26c8de0
PA
79142019-07-03 Pedro Alves <palves@redhat.com>
7915
7916 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7917 "return -code".
7918
5f4ba3e7
PA
79192019-07-03 Pedro Alves <palves@redhat.com>
7920
7921 PR cli/24732
7922 * gdb.base/shell.exp: Load completion-support.exp.
7923 Adjust expected error output. Add completion tests.
7924
a994424f
PA
79252019-07-03 Pedro Alves <palves@redhat.com>
7926
7927 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7928 string_to_regexp.
7929
3d9be6f5
PA
79302019-07-03 Pedro Alves <palves@redhat.com>
7931
7932 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7933 (expect_integer): Adjust to expect "-string".
7934 (expect_string): New.
7935 (all_options): Expect "-string".
7936 (test-flag, test-boolean): Adjust to expect "-string".
7937 (test-string): New proc.
7938 (top level): Call it.
7939
41fc454c
PA
79402019-07-03 Pedro Alves <palves@redhat.com>
7941
7942 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7943 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7944 the expected output in the success.
7945
b2b2a215
PA
79462019-07-03 Pedro Alves <palves@redhat.com>
7947
7948 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7949 Split one gdb_test_multiple call in two to avoid a race.
7950
fdbc9870
PA
79512019-07-03 Pedro Alves <palves@redhat.com>
7952
7953 * gdb.base/with.c: New file.
7954 * gdb.base/with.exp: New file.
7955
c6ac8931
PA
79562019-07-03 Pedro Alves <palves@redhat.com>
7957
7958 * gdb.base/settings.exp: Replace all references to "maint
7959 test-settings set" with references to "maint set test-settings",
7960 and all references to "maint test-settings show" with references
7961 to "maint show test-settings".
7962
970f9d09
PA
79632019-07-03 Pedro Alves <palves@redhat.com>
7964
7965 * gdb.base/settings.exp (test-string): Adjust expected out when
7966 testing "maint test-settings show filename"
7967
54d66006
PA
79682019-07-02 Pedro Alves <palves@redhat.com>
7969
7970 * gdb.base/options.exp (test-info-threads): New procedure.
7971 (top level): Call it.
7972
10d06d82
TT
79732019-06-28 Tom Tromey <tromey@adacore.com>
7974
7975 * gdb.dwarf2/ada-linkage-name.c: New file.
7976 * gdb.dwarf2/ada-linkage-name.exp: New file.
7977
3d507ff2
TT
79782019-06-27 Tom Tromey <tromey@adacore.com>
7979
d039f014 7980 PR c++/20020:
3d507ff2
TT
7981 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7982
8af58ffe
TV
79832019-06-26 Tom de Vries <tdevries@suse.de>
7984
7985 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7986
22e21752
TV
79872019-06-26 Tom de Vries <tdevries@suse.de>
7988
7989 * gdb.base/index-cache.exp: Add back missing debug option.
7990
b65b566c
PW
79912019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7992
7993 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7994
5c2c8c69
TV
79952019-06-25 Tom de Vries <tdevries@suse.de>
7996
7997 PR testsuite/24727
7998 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7999
164e3873
TV
80002019-06-24 Tom de Vries <tdevries@suse.de>
8001
8002 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
8003
824eacee
TV
80042019-06-24 Tom de Vries <tdevries@suse.de>
8005
8006 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
8007 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
8008 * gdb.trace/unavailable-dwarf-piece.exp: Same.
8009
385b97d3
TV
80102019-06-24 Tom de Vries <tdevries@suse.de>
8011
8012 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
8013
c596f180
TV
80142019-06-21 Tom de Vries <tdevries@suse.de>
8015
8016 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
8017
b13a7d03
TV
80182019-06-21 Tom de Vries <tdevries@suse.de>
8019
8020 PR testsuite/24518
8021 PR ada/24713
8022 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
8023 index.
8024
899277ae
TT
80252019-06-19 Tom Tromey <tromey@adacore.com>
8026
8027 * gdb.ada/length_cond.exp: Add intro comment.
8028
680e1bee
TT
80292019-06-19 Tom Tromey <tromey@adacore.com>
8030
8031 * gdb.ada/length_cond.exp: New file.
8032 * gdb.ada/length_cond/length_cond.adb: New file.
8033 * gdb.ada/length_cond/pck.adb: New file.
8034 * gdb.ada/length_cond/pck.ads: New file.
8035
0ed4690a
TV
80362019-06-18 Tom de Vries <tdevries@suse.de>
8037
8038 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
8039
d20ed5fd
TT
80402019-06-18 Tom Tromey <tromey@adacore.com>
8041
8042 * gdb.base/list0.h: Add comment explaining control character.
8043
86e04673
TV
80442019-06-18 Tom de Vries <tdevries@suse.de>
8045
8046 * boards/fission.exp: Break up long debug_flags line.
8047
c4973306
SM
80482019-06-16 Tom de Vries <tdevries@suse.de>
8049
8050 PR gdb/24445
8051 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
8052 generated index.
8053
93cb9841
AB
80542019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8055
8056 PR gdb/24686
8057 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
8058 improve detection of bug gdb/24541.
8059
399aaebd
SM
80602019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
8061
8062 PR gdb/24669
8063 * gdb.base/index-cache.exp (uses_readnow,
8064 expecting_index_cache_use): Define global variable.
8065 (test_cache_enabled_miss, test_cache_enabled_hit): Use
8066 expecting_index_cache_use.
8067
584a927c
AB
80682019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
8069 Andrew Burgess <andrew.burgess@embecosm.com>
8070
8071 * gdb.fortran/pointers.f90: New file.
8072 * gdb.fortran/print_type.exp: New file.
8073 * gdb.fortran/vla-ptype.exp: Adapt expected results.
8074 * gdb.fortran/vla-type.exp: Likewise.
8075 * gdb.fortran/vla-value.exp: Likewise.
8076 * gdb.mi/mi-vla-fortran.exp: Likewise.
8077
30056ea0
AB
80782019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8079
8080 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
8081 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
8082 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8083 as a stop reason.
8084
ec8e2b6d
AB
80852019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8086
8087 * gdb.base/annota1.exp: Update expected results.
8088 * gdb.cp/annota2.exp: Likewise.
8089 * gdb.cp/annota3.exp: Likewise.
8090
09e4c4e1
AB
80912019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8092
8093 * gdb.base/style-logging.exp: Remove path from test name.
8094
0735b091
TT
80952019-06-14 Tom Tromey <tromey@adacore.com>
8096
8097 PR gdb/24502:
8098 * gdb.base/style-logging.exp: New file.
8099
f5686554
TT
81002019-06-14 Tom Tromey <tromey@adacore.com>
8101
8102 * gdb.base/symfile-warn.exp: New file.
8103 * gdb.base/symfile-warn.c: New file.
8104
a0c1ffed
TT
81052019-06-14 Tom Tromey <tromey@adacore.com>
8106
8107 * gdb.base/annotate-symlink.exp: New file.
8108
f411722c
TT
81092019-06-14 Tom Tromey <tromey@adacore.com>
8110
8111 * gdb.ada/set_wstr.exp: Add reassignment test.
8112
4268ec18
TT
81132019-06-14 Tom Tromey <tromey@adacore.com>
8114
8115 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8116 'unchecked_access and 'unrestricted_access as well.
8117
9a9e394b
TT
81182019-06-14 Tom Tromey <tromey@adacore.com>
8119
8120 PR ada/24539:
8121 * gdb.ada/vla.exp: Update tests.
8122 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8123 pragma.
8124
4c048731
PA
81252019-06-13 Pedro Alves <palves@redhat.com>
8126
8127 * gdb.base/settings.exp (test-integer): Test junk after
8128 "unlimited".
8129
6665660a
PA
81302019-06-13 Pedro Alves <palves@redhat.com>
8131
8132 * gdb.base/options.exp (test-thread-apply): New.
8133 (top level): Call it.
8134
5d707134
PA
81352019-06-13 Pedro Alves <palves@redhat.com>
8136
8137 * gdb.base/options.exp (test-frame-apply): New.
8138 (top level): Test print commands with different "frame apply"
8139 prefixes.
8140
e2a689da
PA
81412019-06-13 Pedro Alves <palves@redhat.com>
8142
e79be6e5 8143 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
8144 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8145 'max_completions' parameter and handle it.
8146 (test_gdb_completion_offers_commands): New.
8147
90a1ef87
PA
81482019-06-13 Pedro Alves <palves@redhat.com>
8149
8150 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8151
d4c16835
PA
81522019-06-13 Pedro Alves <palves@redhat.com>
8153
8154 * gdb.base/options.exp (test-backtrace): New.
8155 (top level): Call it.
8156
2daf894e
PA
81572019-06-13 Pedro Alves <palves@redhat.com>
8158
8159 * gdb.guile/scm-frame-args.exp: Use "set print
8160 raw-frame-arguments" instead of "set print raw frame-arguments".
8161 * gdb.python/py-frame-args.exp: Likewise.
8162
e6ed716c
PA
81632019-06-13 Pedro Alves <palves@redhat.com>
8164
8165 * gdb.compile/compile.exp: Adjust expected output to option
8166 processing changes.
8167
7d8062de
PA
81682019-06-13 Pedro Alves <palves@redhat.com>
8169
8170 * gdb.base/options.exp: Build executable.
8171 (test-print): New procedure.
8172 (top level): Call it, once for "print" and another for "compile
8173 print".
8174
9d0faba9
PA
81752019-06-13 Pedro Alves <palves@redhat.com>
8176
8177 * gdb.base/options.c: New file.
8178 * gdb.base/options.exp: New file.
8179
dee7b4c8
PA
81802019-06-13 Pedro Alves <palves@redhat.com>
8181
8182 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8183 that "o" is ambiguous.
8184
dca0f6c0
PA
81852019-06-13 Pedro Alves <palves@redhat.com>
8186
8187 * gdb.base/settings.c: New file.
8188 * gdb.base/settings.exp: New file.
8189
ccf46844
PA
81902019-06-13 Pedro Alves <palves@redhat.com>
8191
8192 * gdb.base/completion.exp: Fix comment typo.
8193
b9a3f842
PA
81942019-06-13 Pedro Alves <palves@redhat.com>
8195
8196 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8197 foo --1" test.
8198
d106773e
PA
81992019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8200
8201 * gdb.fortran/block-data.f: New.
8202 * gdb.fortran/block-data.exp: New.
8203
fea82da0
TV
82042019-06-11 Tom de Vries <tdevries@suse.de>
8205
8206 PR testsuite/24521
8207 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8208 message.
8209
8c2e74f1
TV
82102019-06-11 Tom de Vries <tdevries@suse.de>
8211
8212 PR testsuite/24521
8213 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8214
b49851c8
TV
82152019-06-11 Tom de Vries <tdevries@suse.de>
8216
8217 * boards/readnow.exp: New file.
8218
a7067863
AB
82192019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8220
8221 * gdb.fortran/vla-sizeof.exp: Update expected results.
8222
1a3da2cd
AB
82232019-06-06 Amos Bird <amosbird@gmail.com>
8224
8225 * gdb.base/annota1.exp (thread_switch): Add test for
8226 thread-exited annotation.
8227
3847a7bf
TT
82282019-06-06 Tom Tromey <tromey@adacore.com>
8229
8230 * gdb.base/maint.exp: Expect command started/finished output.
8231
0088ba59
AB
82322019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8233
8234 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8235 comment.
8236 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8237
312617a3
AB
82382019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8239
8240 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8241 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8242 * gdb.arch/riscv-unwind-long-insn.c: New file.
8243 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8244
e1f2e1a2
CB
82452019-06-04 Christian Biesinger <cbiesinger@google.com>
8246
d3238f7d 8247 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 8248
206584bd
PW
82492019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8250
8251 * lib/gdb.exp (help_list_trailer): New regexp variable
8252 factorizing the help trailer message.
8253 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8254 arg to allow to better factorize various tests.
8255 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8256 (test_prefix_command_help): Use help_list_trailer.
8257 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8258 * gdb.guile/scm-cmd.exp: Likewise.
8259 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8260 * gdb.base/help.exp: Use test_user_defined_class_help.
8261 * gdb.base/style.exp: Add tests for styling of help and apropos.
8262 * lib/gdb-utils.exp (style): Add title and highlight styles.
8263
708dc93e
PW
82642019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8265
8266 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8267 $_shell_exitsignal.
8268 * gdb.base/default.exp: Update for new convenience variables.
8269
f49055a5
TT
82702019-05-29 Tom Tromey <tromey@adacore.com>
8271
8272 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8273 to "break complete ada" test case's regexp.
8274
4330d61d
TT
82752019-05-29 Tom Tromey <tromey@adacore.com>
8276
8277 PR c++/20020:
8278 * gdb.cp/constexpr-field.exp: New file.
8279 * gdb.cp/constexpr-field.cc: New file.
8280
000439d5
TT
82812019-05-29 Tom Tromey <tromey@adacore.com>
8282
8283 * gdb.base/finish.exp (finish_no_print): New proc.
8284 (finish_tests): Call it.
8285
5a01c34c
TV
82862019-05-24 Tom de Vries <tdevries@suse.de>
8287
8288 * gdb.dwarf2/gdb-add-index.exp: New file.
8289
18125b16
TT
82902019-05-22 Tom Tromey <tromey@adacore.com>
8291
8292 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8293 * gdb.base/style.exp: Use "style".
8294 * lib/gdb-utils.exp (style): New proc.
8295
af1a8d03
TV
82962019-05-22 Tom de Vries <tdevries@suse.de>
8297
8298 * gdb.base/align.exp: Require c++11.
8299
e7fe496b
TV
83002019-05-22 Tom de Vries <tdevries@suse.de>
8301
8302 PR testsuite/24586
8303 * gdb.python/py-mi-var-info-path-expression.exp: Call
8304 mi_skip_python_tests to check if python is supported.
8305
8fca4da0
AH
83062019-05-22 Alan Hayward <alan.hayward@arm.com>
8307
8308 * gdb.arch/aarch64-pauth.c: New test.
8309 * gdb.arch/aarch64-pauth.exp: New file.
8310
b7060614
AH
83112019-05-22 Alan Hayward <alan.hayward@arm.com>
8312
8313 * README (Re-running Tests Outside The Testsuite): New section.
8314
669d0468
TV
83152019-05-21 Tom de Vries <tdevries@suse.de>
8316
8317 * gdb.arch/amd64-eval.exp: Require c++11.
8318 * gdb.base/max-depth.exp: Same.
8319 * gdb.compile/compile-cplus-array-decay.exp: Same.
8320 * gdb.cp/meth-typedefs.exp: Same.
8321 * gdb.cp/subtypes.exp: Same.
8322 * gdb.cp/temargs.exp: Same.
8323
ce3ebcaa
AH
83242019-05-21 Alan Hayward <alan.hayward@arm.com>
8325
8326 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8327
34d11c68
AB
83282019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8329
8330 PR gdb/18644
8331 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8332 * gdb.fortran/printing-types.exp: Add new test.
8333 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8334 testing.
8335 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8336 setup_kfail call.
8337
87781e84
AH
83382019-05-17 Alan Hayward <alan.hayward@arm.com>
8339
8340 * README (Running the Testsuite): Change example.
8341 (Testsuite Parameters): Remove TRANSCRIPT.
8342 * lib/gdb.exp: Remove TRANSCRIPT check.
8343
b420b89e
AH
83442019-05-17 Alan Hayward <alan.hayward@arm.com>
8345
8346 * README (Testsuite Parameters): Add replay logging to
8347 GDBSERVER_DEBUG.
8348 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8349 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8350 as a comma separated list.
8351 (gdb_debug_init): Override procedure.
8352
408e9b8b
AH
83532019-05-17 Alan Hayward <alan.hayward@arm.com>
8354
8355 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8356 (gdb_write_cmd_file): New procedure.
8357 * lib/gdbserver-support.exp (gdbserver_start): Call
8358 gdbserver_write_cmd_file.
8359 (gdbserver_write_cmd_file): New procedure.
8360
f9e2e39d
AH
83612019-05-17 Alan Hayward <alan.hayward@arm.com>
8362
8363 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8364 (delete_breakpoints): Likewise.
8365 (gdb_run_cmd): Likewise.
8366 (gdb_start_cmd): Likewise.
8367 (gdb_starti_cmd): Likewise.
8368 (gdb_internal_error_resync): Likewise.
8369 (gdb_test_multiple): Likewise.
8370 (gdb_reinitialize_dir): Likewise.
8371 (default_gdb_exit): Likewise.
8372 (gdb_file_cmd): Mark kill as optional.
8373 (default_gdb_start): Call gdb_stdin_log_init.
8374 (send_gdb): Call gdb_stdin_log_write.
8375 (rerun_to_main): Mark Y as an answer.
8376 (gdb_stdin_log_init): New function.
8377 (gdb_stdin_log_write): Likewise.
8378
81f47ac2
AH
83792019-05-17 Alan Hayward <alan.hayward@arm.com>
8380
8381 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8382 * gdb.base/debug-expr.exp: Likewise.
8383 * gdb.base/foll-fork.exp: Likewise.
8384 * gdb.base/foll-vfork.exp: Likewise.
8385 * gdb.base/fork-print-inferior-events.exp: Likewise.
8386 * gdb.base/gdb-sigterm.exp: Likewise.
8387 * gdb.base/gdbinit-history.exp: Likewise.
8388 * gdb.base/osabi.exp: Likewise.
8389 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8390 * gdb.base/ui-redirect.exp: Likewise.
8391 * gdb.gdb/unittest.exp: Likewise.
8392 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8393 * gdb.mi/mi-watch.exp: Likewise.
8394 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8395 * gdb.mi/user-selected-context-sync.exp: Likewise.
8396 * gdb.python/python.exp: Disable debug test when debugging.
8397 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8398 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8399 Likewise.
8400 * gdb.threads/stepi-random-signal.exp: Likewise.
8401
29b52314
AH
84022019-05-17 Alan Hayward <alan.hayward@arm.com>
8403
8404 * Makefile.in: Pass through GDB_DEBUG.
8405 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8406 (gdb,debug): Add board setting.
8407 * lib/gdb.exp (default_gdb_start): Start debugging.
8408 (gdb_debug_enabled): New procedure.
8409 (gdb_debug_init): Likewise.
29b52314
AH
8410
84112019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 8412
29b52314
AH
8413 * Makefile.in: Pass through GDB_DEBUG.
8414 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8415 (gdb,debug): Add board setting.
8416 * lib/gdb.exp (default_gdb_start): Start debugging.
8417 (gdb_debug_enabled): New procedure.
8418 (gdb_debug_init): Likewise.
29b52314 8419
ca1285d1
AH
84202019-05-17 Alan Hayward <alan.hayward@arm.com>
8421
8422 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8423
f3a09c80
AH
84242019-05-17 Alan Hayward <alan.hayward@arm.com>
8425
8426 * gdb.base/ui-redirect.exp: Test redirection.
8427
26648588
JV
84282019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8429
8430 * gdb.mi/mi-complete.exp: New file.
8431 * gdb.mi/mi-complete.cc: Likewise.
8432
14237686
AB
84332019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8434
8435 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8436 indexed and sliced arrays, and pointers to arrays.
8437
e7bd7fba
TT
84382019-05-14 Tom Tromey <tromey@adacore.com>
8439
8440 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8441 styling test.
8442
2764128d
TV
84432019-05-14 Tom de Vries <tdevries@suse.de>
8444
8445 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8446 selection entry encoding.
8447
71bed2db
TT
84482019-05-10 Tom Tromey <tromey@adacore.com>
8449
8450 * gdb.ada/info_exc.exp: Add "complete" test.
8451
63b667ad
TV
84522019-05-09 Tom de Vries <tdevries@suse.de>
8453
8454 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8455 CU-relative.
8456
9cfd2b89
TV
84572019-05-09 Tom de Vries <tdevries@suse.de>
8458
8459 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8460 CU-relative.
8461
2228ef77
XR
84622019-05-08 Joel Brobecker <brobecker@adacore.com>
8463
8464 * gdb.ada/frame_arg_lang.exp: New testcase.
8465 * gdb.ada/frame_arg_lang/bla.adb: New file.
8466 * gdb.ada/frame_arg_lang/pck.ads: New file.
8467 * gdb.ada/frame_arg_lang/pck.adb: New file.
8468 * gdb.ada/frame_arg_lang/foo.c: New file.
8469
80e55b13
TT
84702019-05-08 Tom Tromey <tromey@adacore.com>
8471
8472 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8473
9d3421af
TT
84742019-05-08 Tom Tromey <tromey@adacore.com>
8475
8476 * gdb.base/ptype-offsets.exp: Update tests.
8477
844333e2
TT
84782019-05-08 Tom Tromey <tromey@adacore.com>
8479
8480 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8481 cases.
8482 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8483 "short".
8484
988915ee
TT
84852019-05-08 Tom Tromey <tromey@adacore.com>
8486
8487 * gdb.ada/vla.exp: New file.
8488 * gdb.ada/vla/vla.adb: New file.
8489
7bd55dac
TV
84902019-05-07 Tom de Vries <tdevries@suse.de>
8491
8492 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8493
75f06e9d
TV
84942019-05-07 Tom de Vries <tdevries@suse.de>
8495
8496 PR testsuite/24522
8497 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8498 section.
8499
77e7aaa4
TV
85002019-05-07 Tom de Vries <tdevries@suse.de>
8501
8502 PR testsuite/24522
8503 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8504 .debug_aranges section.
8505
456ba0fa
TV
85062019-05-07 Tom de Vries <tdevries@suse.de>
8507
8508 PR testsuite/24159
8509 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8510
5a56d6a6
TV
85112019-05-06 Tom de Vries <tdevries@suse.de>
8512
8513 * lib/gdb.exp (exec_has_index_section): New proc.
8514 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8515 section.
8516
9d6d4be8
TV
85172019-05-04 Tom de Vries <tdevries@suse.de>
8518
8519 * boards/cc-with-debug-names.exp: New file.
8520
222a8d25
TT
85212019-05-03 Tom Tromey <tromey@adacore.com>
8522
8523 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8524 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8525 * gdb.ada/char_enum.exp: Add test.
8526
0fdfd794
TV
85272019-05-03 Tom de Vries <tdevries@suse.de>
8528
8529 * boards/cc-with-gdb-index.exp: New file.
8530
80062eb9
AB
85312019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8532
8533 * gdb.rust/simple.exp: Add new test case.
8534 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8535 (main): Initialise an instance of the new struct.
8536
4504bbde
TT
85372019-05-01 Tom Tromey <tromey@adacore.com>
8538
8539 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8540 record.
8541 (NPR): New variable.
8542 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8543 test.
8544
d48e62f4
TT
85452019-05-01 Tom Tromey <tromey@adacore.com>
8546
8547 * gdb.ada/packed_array_assign.exp: Add packed assignment
8548 regression test.
8549
f59f30f5
TV
85502019-05-01 Tom de Vries <tdevries@suse.de>
8551
8552 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8553
b70bfc54
TV
85542019-05-01 Tom de Vries <tdevries@suse.de>
8555
8556 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8557
15f18d14
AT
85582019-04-30 Ali Tamur <tamur@google.com>
8559
8560 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8561
2ff0a947
TT
85622019-04-30 Tom Tromey <tromey@adacore.com>
8563
8564 * lib/ada.exp (find_ada_tool): New proc.
8565 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8566 * gdb.ada/catch_ex_std.exp: New file.
8567 * gdb.ada/catch_ex_std/foo.adb: New file.
8568 * gdb.ada/catch_ex_std/some_package.adb: New file.
8569 * gdb.ada/catch_ex_std/some_package.ads: New file.
8570
a776957c
TT
85712019-04-30 Tom Tromey <tromey@adacore.com>
8572
8573 PR c++/24470:
8574 * gdb.cp/temargs.cc: Add test code from PR.
8575
bc68014d
AB
85762019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8577
8578 * gdb.fortran/vla-datatypes.exp: Update expected results.
8579 * gdb.fortran/vla-ptype.exp: Likewise.
8580 * gdb.fortran/vla-type.exp: Likewise.
8581 * gdb.fortran/vla-value.exp: Likewise.
8582
f1fdc960
AB
85832019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8584
8585 * gdb.fortran/ptr-indentation.exp: Update expected results.
8586 * gdb.fortran/ptype-on-functions.exp: Likewise.
8587 * gdb.fortran/vla-ptr-info.exp: Likewise.
8588 * gdb.fortran/vla-value.exp: Likewise.
8589
bf7a4de1
AB
85902019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8591
8592 * gdb.fortran/ptype-on-functions.exp: New file.
8593 * gdb.fortran/ptype-on-functions.f90: New file.
8594
bbe75b9d
AB
85952019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8596
8597 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8598 case void string.
8599
1db455a7
AB
86002019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8601
8602 * gdb.fortran/complex.exp: Expand.
8603 * gdb.fortran/complex.f: Renamed to...
8604 * gdb.fortran/complex.f90: ...this, and extended to add more
8605 complex values.
8606
b6d03bb2
AB
86072019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8608
8609 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8610 MODULO, CMPLX.
8611
2e62ab40
AB
86122019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8613 Richard Bunt <richard.bunt@arm.com>
8614
8615 * gdb.base/max-depth.c: New file.
8616 * gdb.base/max-depth.exp: New file.
8617 * gdb.python/py-nested-maps.c: New file.
8618 * gdb.python/py-nested-maps.exp: New file.
8619 * gdb.python/py-nested-maps.py: New file.
8620 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8621 (test_all_common): Call test_max_depth.
8622 * gdb.fortran/max-depth.exp: New file.
8623 * gdb.fortran/max-depth.f90: New file.
8624 * gdb.go/max-depth.exp: New file.
8625 * gdb.go/max-depth.go: New file.
8626 * gdb.modula2/max-depth.exp: New file.
8627 * gdb.modula2/max-depth.c: New file.
8628 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8629
d2b584a5
TV
86302019-04-29 Tom de Vries <tdevries@suse.de>
8631
8632 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8633
136afab8
PW
86342019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8635
8636 * gdb.base/callexit.exp: Test may-call-functions off.
8637
725cbb63
KS
86382019-04-25 Keith Seitz <keiths@redhat.com>
8639
8640 PR c++/24367
8641 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8642 (another_incomplete_struct, test_incomplete): New definitions.
8643 (main): Use new definitions.
8644 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8645 functions.
8646
701adfb0
PA
86472019-04-25 Ali Tamur <tamur@google.com>
8648
8649 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8650
82433e3e
SDJ
86512019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8652
8653 PR corefiles/11608
8654 PR corefiles/18187
8655 * gdb.base/coredump-filter-build-id.exp: New file.
8656
dd06d4d6
AH
86572019-04-25 Alan Hayward <alan.hayward@arm.com>
8658
e79be6e5
SM
8659 * Makefile.in: Pass through GDBSERVER_DEBUG.
8660 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8661 (gdbserver,debug): Add board setting.
8662 * gdb.trace/tspeed.exp: Skip when debugging.
8663 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8664 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8665
1670072e
TT
86662019-04-24 Tom Tromey <tromey@adacore.com>
8667
8668 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8669 Rust.
8670
a59240a4
TT
86712019-04-24 Tom Tromey <tromey@adacore.com>
8672
8673 * gdb.arch/amd64-eval.exp: Test bitfield return.
8674 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8675 (class Foo) <return_bitfields>: New method.
8676 (main): Call it.
8677
b907456c
AB
86782019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8679
8680 * gdb.cp/many-args.cc: New file.
8681 * gdb.cp/many-args.exp: New file.
8682
5c565afd
TV
86832019-04-23 Tom de Vries <tdevries@suse.de>
8684
8685 PR gdb/24433
8686 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8687
ba22ff86
AH
86882019-04-23 Alan Hayward <alan.hayward@arm.com>
8689
8690 * gdb.trace/backtrace.exp: Use nopie flag.
8691 * gdb.trace/circ.exp: Likewise.
8692 * gdb.trace/collection.exp: Likewise.
8693 * gdb.trace/ftrace.exp: Likewise.
8694 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8695 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8696 * gdb.trace/qtro.exp: Likewise.
8697 * gdb.trace/read-memory.exp: Likewise.
8698 * gdb.trace/report.exp: Likewise.
8699 * gdb.trace/tfile.exp: Likewise.
8700 * gdb.trace/tfind.exp: Likewise.
8701 * gdb.trace/unavailable.exp: Likewise.
8702
7905fc35
PA
87032019-04-22 Pedro Alves <palves@redhat.com>
8704
8705 * gdb.base/solib-probes-nosharedlibrary.c,
8706 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8707
8ecb59f8
TT
87082019-04-19 Tom Tromey <tromey@adacore.com>
8709
8710 * gdb.ada/ptype_union.c: New file.
8711 * gdb.ada/ptype_union.exp: New file.
8712
62160ec9
TT
87132019-04-19 Tom Tromey <tromey@adacore.com>
8714
8715 PR symtab/24423:
8716 * gdb.base/list0.h (foo): Add a control-l character.
8717
36cd4ba5
TV
87182019-04-18 Tom de Vries <tdevries@suse.de>
8719
8720 PR gdb/24433
8721 * boards/local-board.exp: Set sysroot to "".
8722
b73715df
TV
87232019-04-18 Tom de Vries <tdevries@suse.de>
8724 Pedro Alves <palves@redhat.com>
8725
8726 PR gdb/24454
8727 * gdb.threads/vfork-follow-child-exec.c: New file.
8728 * gdb.threads/vfork-follow-child-exec.exp: New file.
8729 * gdb.threads/vfork-follow-child-exit.c: New file.
8730 * gdb.threads/vfork-follow-child-exit.exp: New file.
8731
4aa866af
LS
87322019-04-15 Leszek Swirski <leszeks@google.com>
8733
8734 * gdb.arch/amd64-eval.cc: New file.
8735 * gdb.arch/amd64-eval.exp: New file.
8736
e5a1a79a
AH
87372019-04-11 Alan Hayward <alan.hayward@arm.com>
8738
8739 * gdb.server/sysroot.c: New test.
8740 * gdb.server/sysroot.exp: New file.
8741 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8742 matching param.
8743
41077b66
AB
87442019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8745
8746 * gdb.base/align.exp: Extend test to cover structures containing
8747 only static fields.
8748
c30391f8
TV
87492019-04-11 Tom de Vries <tdevries@suse.de>
8750
8751 * boards/cc-with-dwz-m.exp: New file.
8752 * boards/cc-with-dwz.exp: New file.
8753 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8754
e242fd12
SM
87552019-04-09 Simon Marchi <simon.marchi@efficios.com>
8756
8757 * gdb.base/start-cpp.exp: New file.
8758 * gdb.base/start-cpp.cc: New file.
8759
2b0c8b01
KB
87602019-04-08 Kevin Buettner <kevinb@redhat.com>
8761
8762 * gdb.python/py-thrhandle.exp: Adjust tests to call
8763 thread_from_handle instead of thread_from_thread_handle.
8764
947210e5
KB
87652019-04-08 Kevin Buettner <kevinb@redhat.com>
8766
8767 * gdb.python/py-thrhandle.exp: Add tests for
8768 gdb.InferiorThread.handle.
8769
d7df6549
AB
87702019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8771
8772 * gdb.python/py-function.exp: Check calling helper function from
8773 all languages.
8774 * lib/gdb.exp (gdb_supported_languages): New proc.
8775
8bdc1658
AB
87762019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8777
8778 * gdb.base/complex-parts.c: New file.
8779 * gdb.base/complex-parts.exp: New file.
8780
05caa1d2
TT
87812019-04-01 Tom Tromey <tromey@adacore.com>
8782
8783 PR symtab/23331:
8784 * gdb.dwarf2/dw2-ranges-main.c: New file.
8785 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8786 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8787
7734102d
EZ
87882019-03-30 Simon Marchi <simark@simark.ca>
8789
8790 * gdb.base/default.exp: Add values for $_gdb_major and
8791 $_gdb_minor.
8792
188e1fa9
TT
87932019-03-29 Tom Tromey <tromey@adacore.com>
8794
8795 * gdb.base/help.exp: Tighten apropos regexp.
8796
2880242d
KS
87972019-03-29 Keith Seitz <keiths@redhat.com>
8798
8799 * gdb.fortran/array-bounds.exp: New file.
8800 * gdb.fortran/array-bounds.f90: New file.
8801
077cad8e
PW
88022019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8803
8804 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8805
80047cfc
PW
88062019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8807
8808 * gdb.multi/hello.c (main): Increase alarm timer.
8809
f489207e
SL
88102019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8811
8812 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8813 factor when no hardware watchpoint support.
8814
c92df149
AH
88152019-03-28 Alan Hayward <alan.hayward@arm.com>
8816 Pedro Alves <palves@redhat.com>
8817
8818 * boards/local-board.exp: set sysroot to /.
8819
933aebfa
AH
88202019-03-27 Alan Hayward <alan.hayward@arm.com>
8821
8822 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8823 in child.
8824
9f9aa852
AB
88252019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8826
8827 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8828 field.
8829 (make_container): Initialise new field.
8830 * gdb.python/py-prettyprint.exp: Add new tests.
8831 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8832 <display_hint>: New method.
8833
3714a195
AB
88342019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8835
8836 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8837 gdb_continue_to_breakpoint more throughout this test.
8838 (run_lang_tests) Supply unique test names, and use
8839 gdb_test_no_output.
8840
18c77628
AB
88412019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8842
8843 * gdb.base/finish-pretty.exp: Update expected results.
8844 * gdb.base/pretty-print.c: New file.
8845 * gdb.base/pretty-print.exp: New file.
8846
9a93502f
PA
88472019-03-25 Pedro Alves <palves@redhat.com>
8848
8849 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8850 move comments outside list. Append '-i "" eof' section.
8851
968aa7ae
AH
88522019-03-22 Alan Hayward <alan.hayward@arm.com>
8853
34a7f2a4 8854 PR testsuite/25016
968aa7ae
AH
8855 * README: Add pie options.
8856 * gdb.base/break-interp.exp: Ensure pie is disabled.
8857 * gdb.base/dump.exp: Likewise.
8858 * lib/gdb.exp (gdb_compile): Add pie option.
8859
4c7d57e7
TT
88602019-03-19 Tom Tromey <tromey@adacore.com>
8861
8862 * gdb.mi/mi2-cli-display.c: New file.
8863 * gdb.mi/mi2-cli-display.exp: New file.
8864
bff8c71f
TT
88652019-03-18 Joel Brobecker <brobecker@adacore.com>
8866 Tom Tromey <tromey@adacore.com>
8867
8868 * gdb.ada/ptype_array/pck.adb: New file.
8869 * gdb.ada/ptype_array/pck.ads: New file.
8870 * gdb.ada/ptype_array/foo.adb: New file.
8871 * gdb.ada/ptype_array.exp: New file.
8872
d085f989
TT
88732019-03-14 Tom Tromey <tromey@adacore.com>
8874
8875 * gdb.base/style.exp: Add "set style sources" test.
8876
b4be1b06
SM
88772019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8878
8879 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8880 * mi-breakpoint-multiple-locations.exp: ... this.
8881 (make_breakpoints_pattern): New proc.
8882 (do_test): Add mi_version parameter, test -break-insert,
8883 -break-info and =breakpoint-created.
8884
7cde5fc2
AB
88852019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8886
8887 * config/default.exp: Remove 'load_lib gdb.exp'.
8888 * config/monitor.exp: Likewise.
8889 * config/sid.exp: Likewise.
8890 * config/sim.exp: Likewise.
8891 * config/slite.exp: Likewise.
8892 * config/unix.exp: Likewise.
8893 * gdb.base/default.exp: Remove unhelpful comment.
8894
efbecbc1
AB
88952019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8896
8897 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8898
0841c79a
AB
88992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8900
8901 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8902
4a270568
AB
89032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8904
8905 * gdb.fortran/type-kinds.exp: Update expected results.
8906
067630bd
AB
89072019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8908
8909 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8910
3be47f7a
AB
89112019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8912
8913 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8914 function.
8915 (test_basic_parsing_of_type_kinds): Expand types tested.
8916 (test_parsing_invalid_type_kinds): New function.
8917
4d00f5d8
AB
89182019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8919
8920 * gdb.fortran/intrinsics.exp: New file.
8921 * gdb.fortran/intrinsics.f90: New file.
8922 * gdb.fortran/type-kinds.exp: New file.
8923
c8f91604
AB
89242019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8925
8926 * gdb.fortran/dot-ops.exp: New file.
8927
dd9f2c76
AB
89282019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8929
8930 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8931 Check upper and lower case logical literals.
8932
84ec9724
AB
89332019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8934
8935 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8936 Remove duplicate tests.
8937
c3734e09
AH
89382019-03-06 Alan Hayward <alan.hayward@arm.com>
8939
8940 * lib/gdb.exp (builtin_cd): rename of cd.
8941 (cd): Override builtin.
8942
aa3cfbda
RB
89432019-03-06 Richard Bunt <richard.bunt@arm.com>
8944
8945 * gdb.fortran/function-calls.exp: New file.
8946 * gdb.fortran/function-calls.f90: New test.
8947
7b63ad86
RB
89482019-03-04 Richard Bunt <richard.bunt@arm.com>
8949
8950 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8951 on user program standard output.
8952 * gdb.fortran/short-circuit-argument-list.f90: Record function
8953 calls.
8954
01abb042
AH
89552019-02-28 Alan Hayward <alan.hayward@arm.com>
8956
c3734e09
AH
8957 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8958 failure.
01abb042 8959
92137da0
RO
89602019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8961
8962 PR gdb/8527
8963 * gdb.base/interrupt-daemon-attach.c,
8964 gdb.base/interrupt-daemon-attach.exp: New test.
8965
5862844d
PA
89662019-02-27 Pedro Alves <palves@redhat.com>
8967
8968 * gdb.base/page.exp: Add tests for "set width/height -1".
8969
8ed25214
PA
89702019-02-27 Pedro Alves <palves@redhat.com>
8971
8972 * gdb.base/page.exp: Add tests for "set/show width/height" with
8973 "infinite" values.
8974
6c28e44a
TT
89752019-02-27 Tom Tromey <tromey@adacore.com>
8976
8977 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8978 2.4.
8979 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8980 workaround.
8981
bf9a735e
AB
89822019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8983
8984 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8985 tests for structs with static members.
8986
8791793c
TT
89872019-02-26 Tom Tromey <tromey@adacore.com>
8988
8989 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8990 ValueError, not TypeError.
8991
bc2a507e
KB
89922019-02-26 Kevin Buettner <kevinb@redhat.com>
8993
8994 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8995 call from main program.
8996
e0e7d3bd
JB
89972019-02-23 Joel Brobecker <brobecker@adacore.com>
8998
8999 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
9000 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
9001 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
9002 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
9003 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
9004
9600246d
KS
90052019-02-22 Keith Seitz <keiths@redhat.com>
9006
9007 PR symtab/23853
9008 * gdb.base/symlink-sourcefile.c: New file.
9009 * gdb.base/symlink-sourcefile.exp: New file.
9010
0c95f9ed
TT
90112019-02-20 Tom Tromey <tom@tromey.com>
9012
9013 * gdb.base/info_qt.exp: Update.
9014
6caa91b6
SM
90152019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
9016
9017 * gdb.base/source.exp: Move "error in sourced script" code to
9018 the end.
9019 * gdb.base/source-error.gdb: Move contents to
9020 source-error-1.gdb. Add new code to source source-error-1.gdb.
9021 * gdb.base/source-error-1.gdb: New file, from previous
9022 source-error.gdb.
9023
6506371f
TT
90242019-02-17 Tom Tromey <tom@tromey.com>
9025
9026 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
9027 for macro styling.
9028 * gdb.base/style.c (SOME_MACRO): New macro.
9029
a0087920
TT
90302019-02-17 Tom Tromey <tom@tromey.com>
9031
9032 * gdb.base/style.exp: Add line-wrapping tests.
9033 * gdb.base/page.exp: Add test for quitting during pagination.
9034
a2cd4f14
JB
90352019-02-17 Joel Brobecker <brobecker@adacore.com>
9036
9037 * gdb.ada/big_packed_array: New testcase.
9038 * gdb.ada/homonym.exp: Fix incorrect expected output for
9039 "break <homonym__get_value>" test.
9040
9d70ffbc
WP
90412019-02-13 Weimin Pan <weimin.pan@oracle.com>
9042
9043 PR breakpoints/21870
9044 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
9045 and prepare_for_testing. Add comment.
9046 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
9047 redundant cleanup call. Clean up comment.
9048
01c7ae81
WP
90492019-02-12 Weimin Pan <weimin.pan@oracle.com>
9050
9051 PR breakpoints/21870
9052 * gdb.arch/aarch64-dbreg-contents.exp: New file.
9053 * gdb.arch/aarch64-dbreg-contents.c: New file.
9054
aff29d1c
JB
90552019-02-10 Joel Brobecker <brobecker@adacore.com>
9056
9057 * gdb.ada/mi_ref_changeable: New testcase.
9058
df0da8a2
AH
90592019-02-07 Alan Hayward <alan.hayward@arm.com>
9060
9061 * gdb.base/attach.exp: Add double attach test.
9062
bd447abb
SM
90632019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
9064
9065 * lib/gdb.exp (default_gdb_start): Don't match pagination
9066 prompt.
9067 (gdb_init): Set stty_init.
9068
1dbc40b9
TT
90692019-01-27 Tom Tromey <tom@tromey.com>
9070
9071 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
9072 skip_python_tests.
9073
353229bf
AH
90742019-01-24 Alan Hayward <alan.hayward@arm.com>
9075
9076 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
9077 New structure.
9078 (struct struct_static_02_02): Likewise.
9079 (struct struct_static_02_03): Likewise.
9080 (struct struct_static_02_04): Likewise.
9081 (struct struct_static_04_01): Likewise.
9082 (struct struct_static_04_02): Likewise.
9083 (struct struct_static_04_03): Likewise.
9084 (struct struct_static_04_04): Likewise.
9085 (struct struct_static_06_01): Likewise.
9086 (struct struct_static_06_02): Likewise.
9087 (struct struct_static_06_03): Likewise.
9088 (struct struct_static_06_04): Likewise.
9089 (cmp_struct_static_02_01): Likewise.
9090 (cmp_struct_static_02_02): Likewise.
9091 (cmp_struct_static_02_03): Likewise.
9092 (cmp_struct_static_02_04): Likewise.
9093 (cmp_struct_static_04_01): Likewise.
9094 (cmp_struct_static_04_02): Likewise.
9095 (cmp_struct_static_04_03): Likewise.
9096 (cmp_struct_static_04_04): Likewise.
9097 (cmp_struct_static_06_01): Likewise.
9098 (cmp_struct_static_06_02): Likewise.
9099 (cmp_struct_static_06_03): Likewise.
9100 (cmp_struct_static_06_04): Likewise.
9101 (call_all): Test new structs.
9102 * gdb.base/infcall-nested-structs.exp: Likewise.
9103
73021deb
AH
91042019-01-21 Alan Hayward <alan.hayward@arm.com>
9105 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9106
fc65c7db
AH
91072019-01-21 Alan Hayward <alan.hayward@arm.com>
9108 * gdb.base/stack-protector.c: New test.
9109 * gdb.base/stack-protector.exp: New file.
9110 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9111 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9112 option.
9113 (gdb_compile): Remove stack protector for GCC and prevent
9114 recursion.
9115
c24bdb02
KS
91162019-01-16 Keith Seitz <keiths@redhat.com>
9117
9118 PR gdb/23773
9119 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9120
6f072a10
PFC
91212019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9122
9123 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9124 aliases.
9125 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9126 tests.
9127 * gdb.arch/powerpc-vector-regs.c: New file.
9128 * gdb.arch/powerpc-vector-regs.exp: New file.
9129
a7b8d682
PFC
91302019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9131
9132 * gdb.arch/altivec-regs.exp: Fix the list passed to
9133 gdb_expect_list when testing "info vector".
9134
6eb6fb67
AB
91352019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9136
9137 * gdb.base/style.exp: Don't include path in testname.
9138
b56f80d8
KS
91392019-01-10 Keith Seitz <keiths@redhat.com>
9140
9141 PR gdb/23712
9142 PR symtab/23010
9143 * gdb.dwarf2/multidictionary.exp: New file.
9144
041be526
SM
91452019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9146
9147 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9148 (test_gnuv3_style_demangling): ... this.
9149 (test_lucid_style_demangling): Remove.
9150 (test_arm_style_demangling): Remove.
9151 (test_hp_style_demangling): Remove.
9152 (do_tests): Remove calls to the above.
9153
d820d0c3
AB
91542019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9155
9156 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9157 case.
9158
f097f5ad
TT
91592019-01-06 Tom Tromey <tom@tromey.com>
9160
9161 PR gdb/28155:
9162 * gdb.dwarf2/typedef-void-finish.exp: New file.
9163
2cd8cc0b
TT
91642018-12-28 Tom Tromey <tom@tromey.com>
9165 Simon Marchi <simark@simark.ca>
9166
9167 * gdb.base/jit-exec.exp: New file.
9168 * gdb.base/jit-exec.c: New file.
9169 * gdb.base/jit-execd.c: New file.
9170
35fb8261
TT
91712018-12-28 Tom Tromey <tom@tromey.com>
9172
9173 * gdb.base/style.exp: Update test to check for address styling.
9174
47fd17cd
TT
91752018-12-28 Tom Tromey <tom@tromey.com>
9176
9177 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9178 message.
9179
d47032b7
TT
91802018-12-28 Tom Tromey <tom@tromey.com>
9181
9182 * gdb.base/style.exp: Add test for version number styling.
9183
af79b68d
TT
91842018-12-28 Tom Tromey <tom@tromey.com>
9185
9186 * gdb.base/style.exp: Add test for print_address_symbolic.
9187
0bb296cb
TT
91882018-12-28 Tom Tromey <tom@tromey.com>
9189
9190 * gdb.base/style.exp: Add test for breakpoint setting.
9191
80ae2043
TT
91922018-12-28 Tom Tromey <tom@tromey.com>
9193
9194 * gdb.base/style.exp: Add test for variable names.
9195
cbe56571
TT
91962018-12-28 Tom Tromey <tom@tromey.com>
9197
9198 * gdb.base/style.exp: New file.
9199 * gdb.base/style.c: New file.
9200
9162a27c
TT
92012018-12-28 Tom Tromey <tom@tromey.com>
9202
9203 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9204 "dumb".
9205 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9206 the TERM environment variable.
9207
bc543c90
TT
92082018-12-27 Tom Tromey <tom@tromey.com>
9209
9210 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9211 pagination test.
9212
6f0ffe50
AB
92132018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9214
9215 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9216 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9217
b5a1e557
PW
92182018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9219
9220 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9221 Filename a.adb changed to bp_fun_addr.adb.
9222 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9223
6e8b1ab2
JV
92242018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9225
9226 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9227 non-PIE executables.
9228 * README: Mention the gdb,nopie_flag board setting.
9229 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9230 non-PIE executable.
9231 * gdb.arch/amd64-entry-value.exp: Likewise.
9232 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9233 * gdb.arch/i386-float.exp: Likewise.
9234 * gdb.arch/i386-signal.exp: Likewise.
9235 * gdb.mi/mi-reg-undefined.exp: Likewise.
9236
d00a27c5
PM
92372018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9238
9239 PR gdb/23974
9240 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9241
161d081c
PW
92422018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9243
9244 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9245 Update order of results accordingly.
9246
b001de23
AB
92472018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9248
9249 * gdb.base/annota1.exp: Update a test regexp.
9250
99e1a184
AB
92512018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9252
9253 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9254
7a81c1e2
PW
92552018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9256
9257 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9258 (reuse_time): Initialize to REUSE_TIME_CAP.
9259 (check_rc): New function.
9260 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9261 Check pthread_create rc.
9262 (spawner_thread_func): Check pthread_create and pthread_join rc.
9263
73e8dc90
PA
92642018-12-08 Pedro Alves <palves@redhat.com>
9265
9266 * gdb.base/list.exp (test_forward_search): Rename to ...
9267 (test_forward_reverse_search): ... this. Also test reverse-search
9268 and the forward-search alias.
9269
13f2ed32
AB
92702018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9271
9272 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9273 local timeout variable before return, and remove all local timeout
9274 variable entirely.
9275 (gdb_load): Likewise.
9276
64d27cfc
TV
92772018-12-01 Tom de Vries <tdevries@suse.de>
9278
9279 * gdb.base/gdb-caching-proc.exp: New file.
9280
f63c03b4
SDJ
92812018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9282
9283 * Makefile.in (TIMESTAMP): New variable.
9284 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9285 command.
9286 (check-single-racy): Likewise.
9287 (check/%.exp): Likewise.
9288 (check-racy/%.exp): Likewise.
9289 (workers/%.worker): Likewise.
9290 (build-perf): Likewise.
9291 (check-perf): Likewise.
9292 * README: Describe new "TS" and "TS_FORMAT" variables.
9293 * print-ts.py: New file.
9294
1c97054b
BF
92952018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9296
9297 PR python/23714
9298 * gdb.python/python.exp: Test command repetition after
9299 gdb.execute.
9300
1871a62d
AB
93012018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9302
9303 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9304 is correctly aligned.
9305
fb5e1ed9
PW
93062018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9307
9308 * gdb.ada/info_auto_lang.exp: New testcase.
9309 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9310 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9311 * gdb.ada/info_auto_lang/some_c.c: New file.
9312
43d397ca
PW
93132018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9314
9315 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9316 FUNC_lang language syntax.
9317
beddd671
PW
93182018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9319
9320 * gdb.base/info_minsym.c: New file.
9321 * gdb.base/info_minsym.exp: New file.
9322
73fc52c4
TT
93232018-11-19 Tom Tromey <tom@tromey.com>
9324
9325 PR rust/23625:
9326 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9327 * gdb.rust/expr.exp: Update expected output. Change one test.
9328
994b876a
TT
93292018-11-19 Tom Tromey <tom@tromey.com>
9330
9331 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9332
6769f276
PA
93332018-11-19 Pedro Alves <palves@redhat.com>
9334
9335 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9336 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9337 see the expected warning.
9338
38a72da0
AH
93392018-11-16 Alan Hayward <alan.hayward@arm.com>
9340
9341 PR gdb/22736:
9342 * gdb.cp/infcall-nodebug-lib.c: New test.
9343 * gdb.cp/infcall-nodebug-main.c: New test.
9344 * gdb.cp/infcall-nodebug.exp: New file.
9345
53a89d6e
SM
93462018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9347
9348 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9349 completer tests.
9350
9325300d
TV
93512018-11-09 Tom de Vries <tdevries@suse.de>
9352
9353 * gdb.base/msym-lang.c: New test.
9354 * gdb.base/msym-lang.exp: New file.
9355 * gdb.base/msym-lang-main.c: New test.
9356
20f0d60d
TT
93572018-11-08 Tom Tromey <tom@tromey.com>
9358
9359 PR gdb/23555:
9360 PR gdb/23838:
9361 * gdb.base/warning.exp: New file.
9362
b5420128
JB
93632018-11-08 Jan Beulich <jbeulich@suse.com>
9364
9365 * testsuite/gdb.arch/i386-avx512.c,
9366 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9367
cd115d61
AB
93682018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9369
9370 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9371 point hardware.
9372
35ee2dc2
AB
93732018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9374
9375 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9376 * gdb.dwarf2/missing-type-name.exp: New file.
9377
31aceee8
TV
93782018-11-06 Tom de Vries <tdevries@suse.de>
9379
9380 * gdb.base/many-headers.c: New test.
9381 * gdb.base/many-headers.exp: New file.
9382
109be305
JW
93832018-11-06 Jim Wilson <jimw@sifive.com>
9384
9385 * gdb.base/code_elim.exp: For riscv, set additional_flags
9386 to include -msmall-data-limit=0.
9387
e2b7af72
JB
93882018-11-01 Joel Brobecker <brobecker@adacore.com>
9389
9390 * gdb.ada/watch_minus_l: New testcase.
9391
cdcda965
SM
93922018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9393
9394 * gdb.arch/aix-sighandle.c: New file.
9395 * gdb.arch/aix-sighandle.exp: New file.
9396
92dcebf3
AB
93972018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9398
9399 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9400 registers being unions.
9401
68b9ac18
TV
94022018-10-31 Tom de Vries <tdevries@suse.de>
9403
9404 * lib/valgrind.exp: New file.
9405 (vgdb_start, vgdb_stop): New procs, factored out of ...
9406 * gdb.base/valgrind-bt.exp: ... here, ...
9407 * gdb.base/valgrind-disp-step.exp: ... here and ...
9408 * gdb.base/valgrind-infcall.exp: ... here.
9409
1443936e
TV
94102018-10-31 Tom de Vries <tdevries@suse.de>
9411
9412 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9413
eb77c9df
AB
94142018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9415
9416 * gdb.dwarf2/void-type.c: New file.
9417 * gdb.dwarf2/void-type.exp: New file.
9418
82b5e646
PW
94192018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9420
9421 * gdb.base/info_qt.c: New file.
9422 * gdb.base/info_qt.exp: New file.
9423
8d619c01
EBM
94242018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9425
9426 * gdb.arch/powerpc-htm-regs.c: New file.
9427 * gdb.arch/powerpc-htm-regs.exp: New file.
9428
f2cf6173
EBM
94292018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9430
9431 * gdb.arch/powerpc-tar.c: New file.
9432 * gdb.arch/powerpc-tar.exp: New file.
9433
7ca18ed6
EBM
94342018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9435
9436 * gdb.arch/powerpc-ppr-dscr.c: New file.
9437 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9438
bfcc0eba
TV
94392018-10-25 Tom de Vries <tdevries@suse.de>
9440
9441 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9442
fe1a5cad
TV
94432018-10-24 Tom de Vries <tdevries@suse.de>
9444
9445 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9446 longer exists error.
9447
a76dc3b7
TV
94482018-10-24 Tom de Vries <tdevries@suse.de>
9449
9450 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9451
4df46df7
TV
94522018-10-24 Tom de Vries <tdevries@suse.de>
9453
9454 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9455 --db-attach in valgrind.
9456
0dbfcfff
AB
94572018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9458
9459 * gdb.arch/riscv-reg-aliases.c: New file.
9460 * gdb.arch/riscv-reg-aliases.exp: New file.
9461
b04480b1
AH
94622018-10-19 Alan Hayward <alan.hayward@arm.com>
9463
9464 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9465
2c6ac8d7
AH
94662018-10-19 Alan Hayward <alan.hayward@arm.com>
9467
9468 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9469
2bc69f25
AH
94702018-10-19 Alan Hayward <alan.hayward@arm.com>
9471
9472 * gdb.cp/ovldbreak.exp: Fix regexps.
9473
1f1ae3a3
AH
94742018-10-19 Alan Hayward <alan.hayward@arm.com>
9475
9476 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9477
94c18618
SDJ
94782018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9479
9480 PR cli/23785
9481 * gdb.base/restore.exp: New test to check if "restore" with an
9482 invalid file doesn't segfault.
9483
812cd6eb
TV
94842018-10-18 Tom de Vries <tdevries@suse.de>
9485
9486 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9487 * gdb.ada/excep_handle.exp: Same.
9488 * gdb.ada/mi_string_access.exp: Same.
9489 * gdb.ada/mi_var_union.exp: Same.
9490 * gdb.arch/arc-analyze-prologue.exp: Same.
9491 * gdb.arch/arc-decode-insn.exp: Same.
9492 * gdb.base/readnever.exp: Same.
9493 * gdb.fortran/printing-types.exp: Same.
9494 * gdb.guile/scm-lazy-string.exp: Same.
9495
c4b90788
TV
94962018-10-16 Tom de Vries <tdevries@suse.de>
9497
9498 PR gdb/23730
9499 * gdb.base/catch-follow-exec.c: Add copyright notice.
9500 * gdb.base/catch-follow-exec.exp: Rewrite to use
9501 gdb_spawn_with_cmdline_opts. Require gdb-native.
9502
8bca2978
SL
95032018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9504
9505 * gdb.trace/actions-changed.exp: Check for arch support.
9506 * gdb.trace/actions.exp: Likewise.
9507 * gdb.trace/ax.exp: Likewise.
9508 * gdb.trace/backtrace.exp: Likewise.
9509 * gdb.trace/change-loc.exp: Likewise.
9510 * gdb.trace/deltrace.exp: Likewise.
9511 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9512 * gdb.trace/ftrace.exp: Likewise.
9513 * gdb.trace/infotrace.exp: Check for arch support.
9514 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9515 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9516 * gdb.trace/mi-tsv-changed.exp: Likewise.
9517 * gdb.trace/packetlen.exp: Likewise.
9518 * gdb.trace/passc-dyn.exp: Likewise.
9519 * gdb.trace/passcount.exp: Likewise.
9520 * gdb.trace/pending.exp: Likewise.
9521 * gdb.trace/range-stepping.exp: Check for shlib support.
9522 * gdb.trace/report.exp: Check for arch support.
9523 * gdb.trace/save-trace.exp: Likewise.
9524 * gdb.trace/signal.exp: Check for signal support.
9525 * gdb.trace/tfind.exp: Check for arch support.
9526 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9527 * gdb.trace/trace-common.h: Add comment.
9528 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9529 * gdb.trace/trace-enable-disable.exp: Likewise.
9530 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9531 * gdb.trace/tracecmd.exp: Check for arch support.
9532 * gdb.trace/tspeed.exp: Check for shlib and target support.
9533 * gdb.trace/tstatus.exp: Check for arch support.
9534 * gdb.trace/tsv.exp: Likewise.
9535 * gdb.trace/while-dyn.exp: Likewise.
9536 * gdb.trace/while-stepping.exp: Likewise.
9537 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9538
f9c49bff
SM
95392018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9540
9541 * gdb.trace/tspeed.exp: Remove nowarnings.
9542 (prepare_for_trace_test): Declare "global ipalib".
9543 * gdb.trace/tspeed.c: Include unistd.h.
9544 (main): Remove superfluous printf argument.
9545
d4330bde
SL
95462018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9547
9548 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9549 directory prefix on the filename.
9550
8ecfd7bd
SDJ
95512018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9552
9553 * gdb.gdb/unittest.exp: Update expected message informing that
9554 selftests have been disabled.
9555 * gdb.server/unittest.exp: Likewise.
9556
58bbcd02
TV
95572018-10-09 Tom de Vries <tdevries@suse.de>
9558
9559 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9560 with runto_main.
9561
9f6b697b
WP
95622018-10-08 Weimin Pan <weimin.pan@oracle.com>
9563
9564 PR c++/16841
9565 * gdb.cp/virtbase2.cc: New file.
9566 * gdb.cp/virtbase2.exp: New file.
9567
add5ded5
TT
95682018-10-06 Tom Tromey <tom@tromey.com>
9569
9570 PR python/19399:
9571 * gdb.python/py-inferior.exp: Add architecture test.
9572
f9e48344
TT
95732018-10-06 Tom Tromey <tom@tromey.com>
9574
9575 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9576 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9577
2a8be203
TT
95782018-10-06 Tom Tromey <tom@tromey.com>
9579
9580 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9581 of a "throw" catchpoint.
9582
e04caa70
SDJ
95832018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9584
9585 * gdb.base/info-proc.exp: Update string expected from "help info
9586 proc".
9587
5ca8c39f
TT
95882018-10-04 Tom Tromey <tom@tromey.com>
9589
9590 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9591 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9592 (test_initial_complaints, test_empty_complaints): Update.
9593 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9594
3453e7e4
TT
95952018-10-04 Tom Tromey <tom@tromey.com>
9596
9597 PR cli/19551:
9598 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9599 * lib/gdb.exp (gdb_file_cmd): Update.
9600 * gdb.stabs/weird.exp (print_weird_var): Update.
9601 * gdb.server/solib-list.exp: Update.
9602 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9603 * gdb.mi/mi-cli.exp: Update.
9604 * gdb.linespec/linespec.exp: Update.
9605 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9606 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9607 * gdb.cp/cp-relocate.exp: Update.
9608 * gdb.base/sym-file.exp: Update.
9609 * gdb.base/relocate.exp: Update.
9610 * gdb.base/readnever.exp: Update.
9611 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9612 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9613 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9614 * gdb.base/code_elim.exp: Update.
9615 * gdb.base/break-unload-file.exp (test_break): Update.
9616 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9617 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9618 Update.
9619 * gdb.base/attach.exp (do_attach_tests): Update.
9620 * gdb.base/sepdebug.exp: Update.
9621 * gdb.python/py-section-script.exp: Update.
9622
6afcf761
TT
96232018-10-04 Tom Tromey <tom@tromey.com>
9624
9625 PR cli/22234:
9626 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9627 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9628 output.
9629
fef1b293
TT
96302018-10-04 Tom Tromey <tom@tromey.com>
9631
9632 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9633 set width and height to 0.
9634 (test_command_line_attach_run): Use -quiet.
9635
ca98345e
SL
96362018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9637
9638 * lib/gdb.exp (skip_ifunc_tests): New.
9639 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9640 other compile failures.
9641 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9642
ff34e6ae
SM
96432018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9644
9645 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9646 is_amd64_regs_target.
9647
6bb8890e
AH
96482018-10-01 Alan Hayward <alan.hayward@arm.com>
9649
9650 * gdb.arch/aarch64-sighandler-regs.c: New test.
9651 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9652 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9653
224d30d3
MM
96542018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9655
9656 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9657 assembly.
9658
f67ffa6a
AB
96592018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9660
9661 * gdb.base/frame-selection.exp: New file.
9662 * gdb.base/frame-selection.c: New file.
9663
9fc3183f
AH
96642018-09-27 Alan Hayward <alan.hayward@arm.com>
9665
9666 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9667 pthread barrier.
9668 (main): Likewise.
9669
d354055e
AB
96702018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9671
9672 * gdb.base/large-frame-1.c: New file.
9673 * gdb.base/large-frame-2.c: New file.
9674 * gdb.base/large-frame.exp: New file.
9675 * gdb.base/large-frame.h: New file.
9676
db727370
JL
96772018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9678
9679 PR gdb/20948
9680 * gdb.base/write_mem.exp: New test.
9681 * gdb.base/write_mem.c: Likewise.
9682
ae778caf
TT
96832018-09-23 Tom Tromey <tom@tromey.com>
9684
9685 PR python/18852:
9686 * gdb.python/py-parameter.exp: Add test for parameter that throws
9687 on "set".
9688
fd3ba736
TT
96892018-09-23 Tom Tromey <tom@tromey.com>
9690
9691 PR python/17284:
9692 * gdb.python/py-template.exp (test_template_arg): Add test for
9693 negative template argument number.
9694
39a24317
TT
96952018-09-23 Tom Tromey <tom@tromey.com>
9696
9697 PR python/14062:
9698 * gdb.python/python.exp: Add test for post_event error.
9699
f5769a2c
TT
97002018-09-23 Tom Tromey <tom@tromey.com>
9701
9702 PR python/18170:
9703 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9704 convert pointers to int and long.
9705
1c1e54f6
TT
97062018-09-23 Tom Tromey <tom@tromey.com>
9707
9708 PR python/20126:
9709 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9710 signed-ness conversion tests.
9711
fb4fa946
TT
97122018-09-23 Tom Tromey <tom@tromey.com>
9713
9714 PR python/18352;
9715 * gdb.python/py-value.exp (test_float_conversion): New proc.
9716 Use it.
9717
a466edac
HAQ
97182018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9719
9720 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9721
4ee9b0c5
SL
97222018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9723
9724 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9725 no readline.
9726 * gdb.base/utf8-identifiers.exp: Likewise.
9727 * gdb.cp/cpcompletion.exp: Likewise.
9728 * gdb.linespec/cpcompletion.exp: Likewise.
9729 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9730 * gdb.linespec/cpls-ops.exp: Likewise.
9731
23be8da7
RB
97322018-09-19 Richard Bunt <richard.bunt@arm.com>
9733 Chris January <chris.january@arm.com>
9734
9735 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9736 * gdb.fortran/short-circuit-argument-list.exp: New file.
9737 * gdb.fortran/short-circuit-argument-list.f90: New test.
9738
5031d0ae
SDJ
97392018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9740
9741 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9742 "arch=" keyword when executing "-stack-list-frames".
9743
b4c0d1a4
SDJ
97442018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9745
9746 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9747 "arch=" keyword when executing "-stack-list-frames".
9748
7a6d2b45
SDJ
97492018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9750
9751 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9752 break ada".
9753
8588b356
SM
97542018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9755
9756 PR python/23669
9757 * gdb.python/python.exp: Test gdb.execute("show commands").
9758
65e65158
TT
97592018-09-16 Tom Tromey <tom@tromey.com>
9760
9761 * gdb.base/new-ui.exp (do_execution_tests): Update.
9762 * gdb.base/dbx.exp (test_breakpoints): Update.
9763
bf326452
AH
97642018-09-14 Alan Hayward <alan.hayward@arm.com>
9765
9766 * lib/gdb.exp (gdb_simple_compile): Add proc.
9767 (is_elf_target): Use gdb_simple_compile.
9768 (skip_altivec_tests): Likewise.
9769 (skip_vsx_tests): Likewise.
9770 (skip_tsx_tests): Likewise.
9771 (skip_btrace_tests): Likewise.
9772 (skip_btrace_pt_tests): Likewise.
9773 (gdb_can_simple_compile): Likewise.
9774 (gdb_has_argv0): Likewise.
9775 (gdb_target_symbol_prefix): Likewise.
9776 (target_supports_scheduler_locking): Likewise.
9777
2361b0fb
TT
97782018-09-13 Tom Tromey <tom@tromey.com>
9779
9780 * Makefile.in (TAGS): Recognize proc_with_prefix and
9781 gdb_caching_proc.
9782
0ae1a321
SM
97832018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9784
9785 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9786 method.
9787
a40bf0c2
SM
97882018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9789
9790 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9791 and a few other Inferior properties when the Inferior is no
9792 longer valid.
9793
4a3fe98f
TT
97942018-09-13 Tom Tromey <tom@tromey.com>
9795
9796 PR rust/23650:
9797 * gdb.rust/simple.exp: Add test for enum field access error.
9798
098b2108
TT
97992018-09-13 Tom Tromey <tom@tromey.com>
9800
9801 PR rust/23626:
9802 * gdb.rust/simple.rs (EmptyEnum): New type.
9803 (main): Use it.
9804 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9805
1256af7d
SM
98062018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9807
9808 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9809 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9810 * gdb.python/py-symtab.exp: Update test printing an objfile.
9811
4aa8e6c2
SM
98122018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9813
9814 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9815 object.
9816
c221b2f7
AH
98172018-09-12 Alan Hayward <alan.hayward@arm.com>
9818
9819 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9820 (support_complex_tests): Use gdb_can_simple_compile.
9821 (is_ilp32_target): Likewise.
9822 (is_lp64_target): Likewise.
9823 (is_64_target): Likewise.
9824 (is_amd64_regs_target): Likewise.
9825 (is_aarch32_target): Likewise.
9826 (gdb_int128_helper): Likewise.
9827
6f1107b5
JK
98282018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9829
9830 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9831
1f5d1570
JG
98322018-09-10 Jerome Guitton <guitton@adacore.com>
9833
9834 * gdb.ada/same_component_name: Add test for case of tagged record
9835 with variable-length fields.
9836
cc330e39
XR
98372018-09-10 Xavier Roirand <roirand@adacore.com>
9838
9839 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9840 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9841 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9842 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9843
b9c50e9a
XR
98442018-09-10 Xavier Roirand <roirand@adacore.com>
9845
9846 * gdb.ada/mi_string_access.exp: New testcase.
9847 * gdb.ada/mi_string_access/bar.adb: New file.
9848 * gdb.ada/mi_string_access/pck.adb: New file.
9849 * gdb.ada/mi_string_access/pck.asd: New file.
9850
2963898f
XR
98512018-09-10 Xavier Roirand <roirand@adacore.com>
9852
9853 * gdb.ada/mi_var_union.exp: New testcase.
9854 * gdb.ada/mi_var_union/bar.adb: New file.
9855 * gdb.ada/mi_var_union/pck.adb: New file.
9856 * gdb.ada/mi_var_union/pck.asd: New file.
9857
1aac008f
TT
98582018-09-08 Tom Tromey <tom@tromey.com>
9859
9860 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9861
332cf4c9
TT
98622018-09-08 Tom Tromey <tom@tromey.com>
9863
9864 PR python/16047:
9865 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9866 (register_pretty_printers): Register new printer.
9867 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9868 test.
9869 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9870 (an_int_type3): New global.
9871
424da6cf
JB
98722018-09-08 Joel Brobecker <brobecker@adacore.com>
9873
9874 * gdb.ada/expr_with_funcall: New testcase.
9875
2a62dfa9
JB
98762018-09-08 Joel Brobecker <brobecker@adacore.com>
9877
9878 * gdb.ada/packed_array_assign: New testcase.
9879
96b6697f
AB
98802018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9881
9882 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9883 names, and add test prefixes to make test names unique.
9884
e4a62c65
TV
98852018-09-05 Tom de Vries <tdevries@suse.de>
9886
9887 * gdb.dwarf2/varval.exp: Add test.
9888
dd083ee2
GB
98892018-09-04 Gary Benson <gbenson@redhat.com>
9890
9891 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9892 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9893
aef9346c
TT
98942018-08-31 Tom Tromey <tom@tromey.com>
9895
9896 * gdb.rust/simple.rs: Rename second variable "v".
9897
c67f2e15
AB
98982018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9899
9900 * gdb.base/funcargs.c (use_a): New function.
9901 (recurse): Call use_a.
9902
078a0207
KS
99032018-08-29 Keith Seitz <keiths@redhat.com>
9904
9905 * gdb.compile/compile-cplus-anonymous.cc: New file.
9906 * gdb.compile/compile-cplus-anonymous.exp: New file.
9907 * gdb.compile/compile-cplus-array-decay.cc: New file.
9908 * gdb.compile/compile-cplus-array-decay.exp: New file.
9909 * gdb.compile/compile-cplus-inherit.cc: New file.
9910 * gdb.compile/compile-cplus-inherit.exp: New file.
9911 * gdb.compile/compile-cplus-member.cc: New file.
9912 * gdb.compile/compile-cplus-member.exp: New file.
9913 * gdb.compile/compile-cplus-method.cc: New file.
9914 * gdb.compile/compile-cplus-method.exp: New file.
9915 * gdb.compile/compile-cplus-mod.c: "New" file.
9916 * gdb.compile/compile-cplus-namespace.cc: New file.
9917 * gdb.compile/compile-cplus-namespace.exp: New file.
9918 * gdb.compile/compile-cplus-nested.cc: New file.
9919 * gdb.compile/compile-cplus-nested.exp: New file.
9920 * gdb.compile/compile-cplus-print.c: "New" file.
9921 * gdb.compile/compile-cplus-print.exp: "New" file.
9922 * gdb.compile/compile-cplus-virtual.cc: New file.
9923 * gdb.compile/compile-cplus-virtual.exp: New file.
9924 * gdb.compile/compile-cplus.c: "New" file.
9925 * gdb.compile/compile-cplus.exp: "New" file.
9926 * lib/compile-support.exp: New file.
9927
b0f492b9
GB
99282018-08-16 Gary Benson <gbenson@redhat.com>
9929
9930 PR gdb/13000:
9931 * gdb.base/batch-exit-status.exp: New file.
9932 * gdb.base/batch-exit-status.good-commands: Likewise.
9933 * gdb.base/batch-exit-status.bad-commands: Likewise.
9934
36eb4c5f
AH
99352018-08-29 Alan Hayward <alan.hayward@arm.com>
9936
9937 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9938 (struct struct02): Likewise.
9939 (struct struct03): Likewise.
9940 (struct struct04): Likewise.
9941 (struct struct_01_01): New struct.
9942 (struct struct_01_02): Likewise.
9943 (struct struct_01_03): Likewise.
9944 (struct struct_01_04): Likewise.
9945 (struct struct_02_01): Likewise.
9946 (struct struct_02_02): Likewise.
9947 (struct struct_02_03): Likewise.
9948 (struct struct_02_04): Likewise.
9949 (struct struct_04_01): Likewise.
9950 (struct struct_04_02): Likewise.
9951 (struct struct_04_03): Likewise.
9952 (struct struct_04_04): Likewise.
9953 (struct struct_05_01): Likewise.
9954 (struct struct_05_02): Likewise.
9955 (struct struct_05_03): Likewise.
9956 (struct struct_05_04): Likewise.
9957 (cmp_struct01): Remove function.
9958 (cmp_struct02): Likewise.
9959 (cmp_struct03): Likewise.
9960 (cmp_struct04): Likewise.
9961 (cmp_struct_01_01): Add Function.
9962 (cmp_struct_01_02): Likewise.
9963 (cmp_struct_01_03): Likewise.
9964 (cmp_struct_01_04): Likewise.
9965 (cmp_struct_02_01): Likewise.
9966 (cmp_struct_02_02): Likewise.
9967 (cmp_struct_02_03): Likewise.
9968 (cmp_struct_02_04): Likewise.
9969 (cmp_struct_04_01): Likewise.
9970 (cmp_struct_04_02): Likewise.
9971 (cmp_struct_04_03): Likewise.
9972 (cmp_struct_04_04): Likewise.
9973 (cmp_struct_05_01): Likewise.
9974 (cmp_struct_05_02): Likewise.
9975 (cmp_struct_05_03): Likewise.
9976 (cmp_struct_05_04): Likewise.
9977 (call_all): Add new structs.
9978 * gdb.base/infcall-nested-structs.exp: Likewise.
9979
3bf9c013
JV
99802018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9981
9982 * gdb.python/py-framefilter-mi.exp: Update regexp to
9983 check for "arch" field in frame output.
9984
450d1e88
KB
99852018-08-23 Kevin Buettner <kevinb@redhat.com>
9986
9987 * gdb.dwarf2/dw2-ranges-func.c: New file.
9988 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9989
ae739fe7
SM
99902018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9991
9992 * gdb.base/term.exp: Compare terminal settings with values from
9993 the inferior.
9994 * gdb.base/term.c: Get and set terminal settings.
9995
6d52907e
JV
99962018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9997
9998 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9999 accommodate new "arch" field in frame output.
10000 * gdb.mi/mi-return.exp: Likewise.
10001 * gdb.mi/mi-stack.exp: Likewise.
10002 * gdb.mi/mi-syn-frame.exp: Likewise.
10003 * gdb.mi/user-selected-context-sync.exp: Likewise.
10004
be2d111a
MS
100052018-08-19 Michael Spang <spang@google.com>
10006
10007 PR gdb/11786
10008 * gdb.base/gcore-tls-pie.c: New file.
10009 * gdb.base/gcore-tls-pie.exp: New file.
10010
ae3a7c47
KB
100112018-08-18 Kevin Buettner <kevinb@redhat.com>
10012
10013 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
10014 * gdb.dwarf2/varval.c: New file.
10015 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 10016
2ecae92e
AH
100172018-08-17 Alan Hayward <alan.hayward@arm.com>
10018
10019 PR gdb/18931
10020 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
10021
c1854f1d
KS
100222018-08-16 Keith Seitz <keiths@redhat.com>
10023
10024 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
10025 tests expected to pass.
10026
26fb3983
JV
100272018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
10028
10029 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
10030 -data-disassemble -a.
10031 (test_disassembly_bogus_args): Likewise.
10032
67943c00
AB
100332018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
10034
10035 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
10036
5ff2bbae
AB
100372018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10038
10039 * gdb.base/vla-optimized-out.exp: Add new test.
10040
e5bbcd0f
AB
100412018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10042
10043 * gdb.base/vla-optimized-out-o3.exp: Delete.
10044 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
10045 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
10046 deleted tests.
10047
9d4a934c
AB
100482018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
10049
10050 PR gdb/18050:
10051 * gdb.server/extended-remote-restart.c: New file.
10052 * gdb.server/extended-remote-restart.exp: New file.
10053
045cf012
SM
100542018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
10055
10056 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
10057 "set variable index = 42".
10058
87d6a7aa
SM
100592018-08-07 Simon Marchi <simon.marchi@ericsson.com>
10060
10061 * boards/index-cache-gdb.exp: New file.
10062 * gdb.dwarf2/index-cache.exp: New file.
10063 * gdb.dwarf2/index-cache.c: New file.
10064 * gdb.base/maint.exp: Check if we are using the index cache.
10065
96d68bd4
RO
100662018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10067
10068 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
10069 MAKEFLAGS.
10070
5a699617
RO
100712018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10072
10073 * dg-extract-results.sh: Move to toplevel contrib.
10074 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
10075 * Makefile.in (check-parallel-racy): Likewise.
10076
5bd18990
AB
100772018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
10078
10079 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
10080 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
10081 tests if the target supports scheduler locking.
10082
3fbbcf47
TV
100832018-08-04 Tom de Vries <tdevries@suse.de>
10084
10085 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
10086
3e1d3d8c
TT
100872018-08-02 Tom Tromey <tom@tromey.com>
10088
10089 PR symtab/16842.
10090 * gdb.cp/temargs.exp: Test "info address" of a template
10091 parameter.
10092
5abe0f0c
JV
100932018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
10094
10095 * gdb.python/py-mi-var-info-path-expression.c: New file.
10096 * gdb.python/py-mi-var-info-path-expression.py: New file.
10097 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10098
fb66cde8
SDJ
100992018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10100
10101 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10102 error after "cannot resolve name" string.
10103
c708f4d2
AB
101042018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10105
10106 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10107 started.
10108 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10109
37cc0cae
TV
101102018-07-28 Tom de Vries <tdevries@suse.de>
10111
10112 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10113
63b4ecf7
TV
101142018-07-26 Tom de Vries <tdevries@suse.de>
10115
10116 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10117
3c3bb058
AB
101182018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10119
10120 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10121 is visible.
10122
9e7f3bbb
TV
101232018-07-26 Tom de Vries <tdevries@suse.de>
10124
10125 PR breakpoints/23366
10126 * gdb.base/catch-follow-exec.c: New test.
10127 * gdb.base/catch-follow-exec.exp: New file.
10128
16f808ec
TV
101292018-07-25 Tom de Vries <tdevries@suse.de>
10130
10131 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10132 vla-optimized-out.c.
10133
d7154a8d
JV
101342018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10135
10136 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10137 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10138
232a0032
TV
101392018-07-20 Tom de Vries <tdevries@suse.de>
10140
10141 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10142 NOCLONE macro.
10143 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10144
fbb1d502
TV
101452018-07-19 Tom de Vries <tdevries@suse.de>
10146
10147 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10148 regular expression.
10149
42dc7699
TV
101502018-07-18 Tom de Vries <tdevries@suse.de>
10151
10152 * gdb.base/vla-optimized-out.c: New test.
10153 * gdb.base/vla-optimized-out.exp: New file.
10154
7f1f7e23
SDJ
101552018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10156
10157 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10158 message "No address associated with hostname" when gdbserver
10159 cannot resolve the hostname.
10160
5759ebb3
PW
101612018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10162
10163 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10164 Add some test prefixes to make tests unique.
10165
3606ccab
PW
101662018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10167
10168 * gdb.base/frameapply.c: New file.
10169 * gdb.base/frameapply.exp: New file.
10170
529c08b2
PW
101712018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10172
10173 * gdb.base/skip.exp: Update expected error message.
10174
c7ab0aef
SDJ
101752018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10176 Jan Kratochvil <jan.kratochvil@redhat.com>
10177 Paul Fertser <fercerpav@gmail.com>
10178 Tsutomu Seki <sekiriki@gmail.com>
10179
10180 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10181 parameter.
10182 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10183 by default.
10184 * boards/native-gdbserver.exp: Likewise.
10185 * gdb.server/run-without-local-binary.exp: Improve regexp used
10186 for detecting when a remote debugging connection succeeds.
10187 * gdb.server/server-connect.exp: New file.
10188 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10189 Do not prefix the port number with ":".
10190 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10191 support for detecting and using it. Add '$debughost_gdbserver'
10192 to the list of arguments used to start gdbserver. Handle case
10193 when gdbserver cannot resolve a network name.
10194
16ff70dd
SDJ
101952018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10196
10197 PR c++/23373
10198 * gdb.base/ptype-offsets.cc (struct static_member): New
10199 struct.
10200 (main) <stmember>: New variable.
10201 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10202 with a static member in it.
10203
3541979f
AB
102042018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10205
10206 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10207 watchpoints enabled and disabled.
10208
c8ad9b9a
AB
102092018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10210
10211 * gdb.base/examine-backward.exp: Still run tests around address
10212 0x0, even if address 0x0 is not readable. Update the pattern for
10213 matching address 0x0 in expected output.
10214
e0e5e971
AB
102152018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10216
10217 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10218 malloc/free.
10219
1ea5da02
TV
102202018-07-04 Tom de Vries <tdevries@suse.de>
10221
10222 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10223
471b9d15
MR
102242018-07-02 Maciej W. Rozycki <macro@mips.com>
10225
10226 PR tdep/8282
10227 * gdb.arch/mips-disassembler-options.exp: New test.
10228 * gdb.arch/mips-disassembler-options.s: New test source.
10229
75acb486
PA
102302018-06-29 Pedro Alves <palves@redhat.com>
10231
10232 * gdb.threads/names.exp: Adjust expected "info threads" output.
10233
cd2bb709
PA
102342018-06-29 Pedro Alves <palves@redhat.com>
10235
10236 * gdb.opt/inline-break.exp (line number, address): Add "info
10237 break" tests.
10238
991ff292
PA
102392018-06-29 Pedro Alves <palves@redhat.com>
10240
10241 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10242 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10243 number and address and running to them.
10244
356819b6 102452018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
10246
10247 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10248
2512d7ef
JK
102492018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10250
10251 * lib/compiler.c: Remove executable permission flag.
10252
be1b6474
RB
102532018-06-28 Richard Bunt <richard.bunt@arm.com>
10254
10255 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10256 code.
10257 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10258
291f9a96
PT
102592018-06-28 Petr Tesarik <ptesarik@suse.cz>
10260
10261 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10262
ed6dfe51
PT
102632018-06-28 Petr Tesarik <ptesarik@suse.cz>
10264
10265 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10266 address argument is omitted.
10267
d4d429d5
PT
102682018-06-28 Petr Tesarik <ptesarik@suse.cz>
10269
10270 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10271
7ab6656f
OJ
102722018-06-27 Omair Javaid <omair.javaid@linaro.org>
10273
10274 PR gdb/21695
10275 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10276 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10277
a33ccfc7
TT
102782018-06-26 Tom Tromey <tom@tromey.com>
10279
10280 PR rust/22574:
10281 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10282 * gdb.rust/simple.rs (struct SimpleLayout): New.
10283
6d72d289
SM
102842018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10285
10286 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10287 "info registers" output.
10288
8363f9d5
RB
102892018-06-21 Richard Bunt <richard.bunt@arm.com>
10290
10291 * gdb.base/watchpoint-hw-attach.c: New test.
10292 * gdb.base/watchpoint-hw-attach.exp: New file.
10293
f00674fe
SM
102942018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10295
10296 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10297 through /bin/sh.
10298 * boards/dwarf4-gdb-index.exp: Likewise.
10299 * boards/fission-dwp.exp: Likewise.
10300
1d554008
UW
103012018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10302
10303 * gdb.base/float128.exp: Add comment and improved fail message
10304 to the failure case of "print large128" test.
10305
d0ac1c44
SM
103062018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10307
10308 * configure.ac: Remove AC_PREREQ.
10309 * configure: Re-generate.
10310
61b04dd0
PA
103112018-06-19 Pedro Alves <palves@redhat.com>
10312
10313 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10314 (func_extern_caller): New.
10315 (main): Call func_extern_caller.
10316 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10317 logic change.
10318
f63b508a
SM
103192018-06-18 Weimin Pan <weimin.pan@oracle.com>
10320
10321 PR gdb/16841
10322 * gdb.cp/typedef-base.cc: New file.
10323 * gdb.cp/typedef-base.exp: New file.
10324
0fe3a558
TV
103252018-06-18 Tom de Vries <tdevries@suse.de>
10326
10327 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10328
7010835a
AB
103292018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10330 Richard Bunt <Richard.Bunt@arm.com>
10331
10332 * gdb.threads/attach-slow-waitpid.c: New file.
10333 * gdb.threads/attach-slow-waitpid.exp: New file.
10334 * gdb.threads/slow-waitpid.c: New file.
10335
14897d65
PA
103362018-06-14 Pedro Alves <palves@redhat.com>
10337
10338 * gdb.base/fork-running-state.c: Include <errno.h>.
10339 (exit_if_relative_exits): New.
10340 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10341 exits.
10342 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10343 child exits.
10344
5d9a0608
TV
103452018-06-14 Tom de Vries <tdevries@suse.de>
10346
10347 PR cli/22573
10348 * gdb.base/finish-pretty.c: New test.
10349 * gdb.base/finish-pretty.exp: New file.
10350
11ae5818
PA
103512018-06-14 Pedro Alves <palves@redhat.com>
10352
10353 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10354 gdb's expected startup output.
10355
1d39de44
PA
103562018-06-14 Pedro Alves <palves@redhat.com>
10357
10358 * lib/selftest-support.exp (selftest_setup): Remove inlined
10359 function handling.
10360
70ee0000
TV
103612018-06-14 Tom de Vries <tdevries@suse.de>
10362
10363 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10364 matching of breakpoint printing.
10365
11f4b608
TV
103662018-06-13 Tom de Vries <tdevries@suse.de>
10367
10368 PR testsuite/23269
10369 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10370 (fork_child): ... here, and ...
10371 (fork_parent): ... here.
10372
103732018-06-12 Tom de Vries <tdevries@suse.de>
10374
10375 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10376
9516f85a
AB
103772018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10378 Stephen Roberts <stephen.roberts@arm.com>
10379
10380 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10381 rewrite test to describe action performed, rather than possible
10382 failure.
10383
5045b3d7
GB
103842018-06-08 Gary Benson <gbenson@redhat.com>
10385
10386 * gdb.threads/check-libthread-db.exp: New file.
10387 * gdb.threads/check-libthread-db.c: Likewise.
10388
c61b06a1
TT
103892018-06-05 Tom Tromey <tom@tromey.com>
10390
10391 * gdb.base/default.exp: Update expected "show version" output.
10392
eb6af809
TT
103932018-06-05 Tom Tromey <tom@tromey.com>
10394
10395 PR cli/12326:
10396 * gdb.cp/static-print-quit.exp: Update.
10397 * lib/gdb.exp (pagination_prompt): Update.
10398 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10399 * gdb.python/python.exp: Update.
10400
178d6a63
JB
104012018-06-04 Joel Brobecker <brobecker@adacore.com>
10402
10403 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10404
8e817061
JB
104052018-06-01 Joel Brobecker <brobecker@adacore.com>
10406
10407 * gdb.ada/bp_fun_addr: New testcase.
10408
e86ca25f
TT
104092018-06-01 Tom Tromey <tom@tromey.com>
10410
10411 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10412 results.
10413 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10414 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10415 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10416 * gdb.base/maint.exp (maint_pass_if): Update.
10417
4b2dfa9d
MR
104182018-05-31 Maciej W. Rozycki <macro@mips.com>
10419
10420 * gdb.base/endian.exp: New test.
10421 * gdb.base/endian.c: New test source.
10422
45f25d6c
AB
104232018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10424
10425 PR gdb/23203
10426 * gdb.base/bt-selected-frame.c: New file.
10427 * gdb.base/bt-selected-frame.exp: New file.
10428 * lib/gdb.exp (get_current_frame_number): New function.
10429
d9f6d7f8
MR
104302018-05-24 Maciej W. Rozycki <macro@mips.com>
10431 Pedro Alves <palves@redhat.com>
10432
10433 * gdb.threads/tls-core.c: Include <stdlib.h>
10434 (thread_proc): Call `abort'.
10435 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10436 (tls_core_test): New procedure, bits factored out from ...
10437 (top level): ... here. Test both native cores and gcore cores.
10438
ff1cf532
TT
104392018-05-23 Tom Tromey <tom@tromey.com>
10440
10441 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10442
b98664d3
TT
104432018-05-23 Tom Tromey <tom@tromey.com>
10444
10445 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10446 symfile_complaints.
10447 (test_short_complaints): Likewise.
10448 (test_empty_complaints): Likewise.
10449 (test_initial_complaints): Update.
10450
4e9668d0
TT
104512018-05-23 Tom Tromey <tom@tromey.com>
10452
10453 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10454
43ba33c7
TT
104552018-05-23 Tom Tromey <tom@tromey.com>
10456
10457 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10458 (test_short_complaints): Update.
10459
035522c0
PA
104602018-05-22 Pedro Alves <palves@redhat.com>
10461
10462 * gdb.base/remote.exp: Only gdb_start after compiling the
10463 testcase. Issue "disconnect" before testing "set remote" command
10464 defaults. Issue clean_restart before running to main.
10465
cc0be08f
PA
104662018-05-22 Pedro Alves <palves@redhat.com>
10467
10468 * gdb.base/remote.exp: Adjust expected output of "show remote
10469 memory-write-packet-size". Add tests for "set remote
10470 memory-write-packet-size 0" and "set remote
10471 memory-write-packet-size fixed/limit".
10472
b1b60145
PA
104732018-05-22 Pedro Alves <palves@redhat.com>
10474
10475 PR gdb/22973
10476 * gdb.base/utf8-identifiers.c: New file.
10477 * gdb.base/utf8-identifiers.exp: New file.
10478
0ec848ad
PFC
104792018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10480
10481 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10482
2c3305f6
PFC
104832018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10484
10485 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10486
ce1e8424
TT
104872018-05-18 Tom Tromey <tom@tromey.com>
10488
10489 * gdb.base/ptype-offsets.exp: Update.
10490
ddfe970e
KS
104912018-05-17 Keith Seitz <keiths@redhat.com>
10492
10493 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10494 in expected breakpoint stop locations.
10495 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10496 move to proper scope to test variable values.
10497 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10498 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10499 New functions.
10500 (main): Call not_inline_func3.
10501 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10502 inline_func1, inline_func2, and inline_func3. Test that when each
10503 breakpoint is hit, GDB properly reports both the stop location
10504 and the backtrace. Repeat tests for temporary breakpoints.
10505
0726fcc6
MR
105062018-05-15 Maciej W. Rozycki <macro@mips.com>
10507
10508 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10509 rather then trying to access it in determining whether the PID
10510 of `gdbserver' could have been retrieved.
10511
8ee22052
AB
105122018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10513
10514 * gdb.arch/amd64-init-x87-values.S: New file.
10515 * gdb.arch/amd64-init-x87-values.exp: New file.
10516
7785df48
JK
105172018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10518
10519 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10520
56bcdbea
TT
105212018-05-04 Tom Tromey <tom@tromey.com>
10522
10523 PR python/22730:
10524 * gdb.python/python.exp: Test multi-line execute.
10525
a913fffb
TT
105262018-05-04 Tom Tromey <tom@tromey.com>
10527
10528 PR python/22731:
10529 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10530
7a2c85f2
TT
105312018-05-04 Tom Tromey <tom@tromey.com>
10532
10533 PR gdb/11750:
10534 * gdb.base/define.exp: Test defining a user command inside a user
10535 command.
10536 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10537
a3b60e45
JK
105382018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10539 Pedro Alves <palves@redhat.com>
10540
10541 PR breakpoints/19806 and support for PR external/20207.
10542 * gdb.base/watchpoint-unaligned.c: New file.
10543 * gdb.base/watchpoint-unaligned.exp: New file.
10544
45fe4a03
AB
105452018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10546
10547 * gdb.base/maint.exp: Make test names unique, use
10548 test_prefix_command_help to test 'help maint info', and remove
10549 repeated test of 'help maint'.
10550
9be2ae8f
TT
105512018-05-04 Tom Tromey <tom@tromey.com>
10552
10553 PR gdb/22619:
10554 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10555 behavior.
10556
11859c31
AB
105572018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10558
10559 * gdb.base/maint.exp: Process output from 'maint print registers'
10560 line at a time.
10561
089a9490
AB
105622018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10563
10564 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10565 timeout.
10566
9b0797e2
AB
105672018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10568
10569 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10570 filter pattern.
10571
f6ac5f3d
PA
105722018-05-02 Pedro Alves <palves@redhat.com>
10573
10574 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10575 to_log_command renames.
10576 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10577
77d3c63b
TT
105782018-05-02 Tom Tromey <tom@tromey.com>
10579
10580 * gdb.python/py-parameter.exp: Set test message.
10581
0489430a
TT
105822018-05-02 Tom Tromey <tom@tromey.com>
10583
10584 PR python/20084:
10585 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10586 PARAM_ZUINTEGER_UNLIMITED tests.
10587
1632f8ba
DR
105882018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10589
10590 PR rust/23124
10591 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10592 when casting.
10593
6d7bb824
TT
105942018-04-30 Tom Tromey <tom@tromey.com>
10595
10596 * gdb.python/py-type.exp: Check align attribute.
10597 * gdb.python/py-type.c: New "aligncheck" global.
10598
007e1530
TT
105992018-04-30 Tom Tromey <tom@tromey.com>
10600
10601 PR exp/17095:
10602 * gdb.dwarf2/dw2-align.exp: New file.
10603 * gdb.cp/align.exp: New file.
10604 * gdb.base/align.exp: New file.
10605 * lib/gdb.exp (gdb_int128_helper): New proc.
10606 (has_int128_c, has_int128_cxx): New caching procs.
10607
6873858b
TT
106082018-04-27 Tom Tromey <tom@tromey.com>
10609
10610 PR rust/22545:
10611 * gdb.rust/simple.exp: Add inclusive range tests.
10612
79188d8d
PA
106132018-04-26 Pedro Alves <palves@redhat.com>
10614
10615 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10616 ifunc breakpoint locations correctly of ifunc breakpoints set
10617 while the program resolves the ifunc.
10618
c7075ad5
PA
106192018-04-26 Pedro Alves <palves@redhat.com>
10620
10621 * gdb.base/gnu-ifunc-final.c: New file.
10622 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10623 * gdb.base/gnu-ifunc.exp (executable): Delete.
10624 (staticexecutable): Adjust.
10625 (lib_opts, exec_opts): Delete.
10626 (make_binsuffix, build, set-break): New procedures.
10627 (misc_tests): New, with tests factored out from the top level.
10628 (top level): Test different combinations of ifunc resolver name,
10629 resolver with and with debug info, and ifunc target with and
10630 without debug info. Wrap static tests with with_target_prefix.
10631
8388016d
PA
106322018-04-26 Pedro Alves <palves@redhat.com>
10633
10634 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10635 return type" warnings.
10636
249b5733
PA
106372018-04-25 Pedro Alves <palves@redhat.com>
10638
10639 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10640 killed".
10641 * gdb.base/kill-after-signal.exp: Likewise.
10642 * gdb.threads/kill.exp: Likewise.
10643
f67c0c91
SDJ
106442018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10645 Sergio Durigan Junior <sergiodj@redhat.com>
10646 Pedro Alves <palves@redhat.com>
10647
10648 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10649 regexps to expect for '[Inferior ... detached]' as well.
10650 * gdb.base/attach.exp: Likewise.
10651 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10652 "gdb_continue_to_end".
10653 (test_catch_syscall_with_wrong_args): Likewise.
10654 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10655 ']'. Don't set 'verbose' on.
10656 * gdb.base/foll-vfork.exp: Likewise.
10657 * gdb.base/fork-print-inferior-events.c: New file.
10658 * gdb.base/fork-print-inferior-events.exp: New file.
10659 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10660 '[Inferior ... has been killed]' message.
10661 * gdb.base/kill-after-signal.exp: Likewise.
10662 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10663 detach message.
10664 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10665 message.
10666 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10667 regexps to expect for '[Inferior ... detached]' as well.
10668 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10669
0a8ddac4
SM
106702018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10671
10672 PR gdb/23104
10673 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10674
701adfb0
PA
106752018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10676
10677 PR gdb/23095
10678 * gdb.base/break-probes.exp: Pass shlib_load to
10679 prepare_for_testing. Set normal_bp to r_debug_state if target is
10680 bsd.
10681
d27d16bf
RB
106822018-04-19 Richard Bunt <richard.bunt@arm.com>
10683
10684 * gdb.threads/multiple-successive-infcall.c: New test.
10685 * gdb.threads/multiple-successive-infcall.exp: New file.
10686
a037790e
TT
106872018-04-17 Tom Tromey <tom@tromey.com>
10688
10689 * gdb.rust/simple.rs (Union): New type.
10690 (main): New local "u".
10691 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10692
e3a91079
AA
106932018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10694
10695 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10696 number information in output of "whereis" command.
10697 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10698
b744723f
AA
106992018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10700
10701 * gdb.ada/info_types.exp: Adjust expected output to the line
10702 numbers now printed by "info var/func/type".
10703 * gdb.base/completion.exp: Likewise.
10704 * gdb.base/included.exp: Likewise.
10705 * gdb.cp/cp-relocate.exp: Likewise.
10706 * gdb.cp/cplusfuncs.exp: Likewise.
10707 * gdb.cp/namespace.exp: Likewise.
10708 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10709
4a4495d6
MM
107102018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10711
10712 * gdb.btrace/cpu.exp: New.
10713
1d509aa6
MM
107142018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10715
10716 * gdb.base/step-indirect-call-thunk.exp: New.
10717 * gdb.base/step-indirect-call-thunk.c: New.
10718 * gdb.reverse/step-indirect-call-thunk.exp: New.
10719 * gdb.reverse/step-indirect-call-thunk.c: New.
10720
6295b6da
SM
107212018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10722
10723 * gdb.base/pie-fork.c: New file.
10724 * gdb.base/pie-fork.exp: New file.
10725
50146e70
TT
107262018-04-11 Tom Tromey <tom@tromey.com>
10727
10728 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10729
f50d8a2e
PA
107302018-04-10 Pedro Alves <palves@redhat.com>
10731
10732 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10733 exits. Instead loop running forever.
10734 (fork_parent): Run forever too.
10735
a0be7a36
SM
107362018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10737
10738 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10739 mi_continue_to_line.
10740 * gdb.mi/mi-stack.c (callee4): Add comment.
10741
9b73db36
SM
107422018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10743
10744 * gdb.mi/mi-stack.exp: Fix indentation.
10745
c912f608
SM
107462018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10747
10748 PR gdb/22979
10749 * gdb.arch/amd64-osabi.exp: New file.
10750
26540402
SM
107512018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10752
10753 PR gdb/22980
10754 * gdb.base/osabi.exp: New file.
10755
121ad66c 107562018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10757
10758 * gdb.cp/static-typedef-print.exp: New file.
10759 * gdb.cp/static-typedef-print.cc: New file.
10760
3fcded8f
JB
107612018-03-27 Joel Brobecker <brobecker@adacore.com>
10762
10763 * gdb.ada/varsize_limit: New testcase.
10764
59cc4834
JB
107652018-03-27 Joel Brobecker <brobecker@adacore.com>
10766
10767 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10768
10769 * gdb.ada/notcplusplus: New testcase.
10770
10771 * gdb.base/c-linkage-name.c: New file.
10772 * gdb.base/c-linkage-name.exp: New testcase.
10773
4ca59a9f
TT
107742018-03-26 Tom Tromey <tom@tromey.com>
10775
10776 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10777 * gdb.python/py-framefilter.py (name_error): New global.
10778 (ErrorInName.function): Use name_error.
10779
978d6c75
TT
107802018-03-26 Tom Tromey <tom@tromey.com>
10781
10782 PR backtrace/15582:
10783 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10784
b7fee5a3
KS
107852018-03-23 Keith Seitz <keiths@redhat.com>
10786
10787 PR c++/22968
10788 * gdb.cp/subtypes.exp: New file.
10789 * gdb.cp/subtypes.h: New file.
10790 * gdb.cp/subtypes.cc: New file.
10791 * gdb.cp/subtypes-2.cc: New file.
10792
376be529
AB
107932018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10794
10795 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10796 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10797 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10798 -nostartfiles when compiling the test. Confirm that all registers
10799 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10800
066cfa98
AB
108012018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10802
10803 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10804 option, syntax was wrong anyway.
10805 * gdb.arch/arm-disp-step.exp: Likewise.
10806 * gdb.arch/sparc64-regs.exp: Likewise.
10807 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10808 option, syntax was wrong anyway, switch to use
10809 prepare_for_testing.
10810 * gdb.arch/i386-disp-step.exp: Likewise.
10811
079670b9
AA
108122018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10813
10814 * gdb.ada/exec_changed.exp: Replace "target_info exists
10815 use_gdb_stub" by "use_gdb_stub".
10816 * gdb.ada/start.exp: Likewise.
10817 * gdb.base/async-shell.exp: Likewise.
10818 * gdb.base/attach-pie-misread.exp: Likewise.
10819 * gdb.base/attach-wait-input.exp: Likewise.
10820 * gdb.base/break-entry.exp: Likewise.
10821 * gdb.base/break-interp.exp: Likewise.
10822 * gdb.base/dprintf-detach.exp: Likewise.
10823 * gdb.base/nostdlib.exp: Likewise.
10824 * gdb.base/solib-nodir.exp: Likewise.
10825 * gdb.base/statistics.exp: Likewise.
10826 * gdb.base/testenv.exp: Likewise.
10827 * gdb.mi/mi-exec-run.exp: Likewise.
10828 * gdb.mi/mi-start.exp: Likewise.
10829 * gdb.multi/dummy-frame-restore.exp: Likewise.
10830 * gdb.multi/multi-arch-exec.exp: Likewise.
10831 * gdb.multi/multi-arch.exp: Likewise.
10832 * gdb.multi/tids.exp: Likewise.
10833 * gdb.multi/watchpoint-multi.exp: Likewise.
10834 * gdb.python/py-events.exp: Likewise.
10835 * gdb.threads/attach-into-signal.exp: Likewise.
10836 * gdb.threads/attach-stopped.exp: Likewise.
10837 * gdb.threads/threadapply.exp: Likewise.
10838 * lib/selftest-support.exp: Likewise.
10839
26d6cec4
AA
108402018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10841
10842 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10843
4ee89e90
SR
108442018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10845
10846 * gdb.perf/template-breakpoints.cc: New file.
10847 * gdb.perf/template-breakpoints.exp: New file.
10848 * gdb.perf/template-breakpoints.py: New file.
10849
92630041
TT
108502018-03-19 Tom Tromey <tom@tromey.com>
10851
10852 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10853 y0.
10854 * gdb.rust/simple.exp: Test bare identifier form of struct
10855 initializer.
10856
76727919
TT
108572018-03-19 Tom Tromey <tom@tromey.com>
10858
10859 * gdb.gdb/observer.exp: Remove.
10860
194ed413
AA
108612018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10862
10863 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10864 "qualified" option when setting breakpoints.
10865 * gdb.trace/backtrace.exp: Likewise.
10866 * gdb.trace/circ.exp: Likewise.
10867 * gdb.trace/collection.exp: Likewise.
10868 * gdb.trace/disconnected-tracing.exp: Likewise.
10869 * gdb.trace/ftrace-lock.exp: Likewise.
10870 * gdb.trace/ftrace.exp: Likewise.
10871 * gdb.trace/infotrace.exp: Likewise.
10872 * gdb.trace/packetlen.exp: Likewise.
10873 * gdb.trace/passc-dyn.exp: Likewise.
10874 * gdb.trace/qtro.exp: Likewise.
10875 * gdb.trace/read-memory.exp: Likewise.
10876 * gdb.trace/report.exp: Likewise.
10877 * gdb.trace/signal.exp: Likewise.
10878 * gdb.trace/status-stop.exp: Likewise.
10879 * gdb.trace/strace.exp: Likewise.
10880 * gdb.trace/tfind.exp: Likewise.
10881 * gdb.trace/trace-break.exp: Likewise.
10882 * gdb.trace/trace-condition.exp: Likewise.
10883 * gdb.trace/trace-mt.exp: Likewise.
10884 * gdb.trace/tstatus.exp: Likewise.
10885 * gdb.trace/tsv.exp: Likewise.
10886 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10887 * gdb.trace/unavailable.exp: Likewise.
10888 * gdb.trace/while-dyn.exp: Likewise.
10889
8b067d2c
AA
108902018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10891
10892 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10893 that libinproctrace is copied to the target.
10894
3ae9ce5d
TT
108952018-03-14 Tom Tromey <tom@tromey.com>
10896
10897 PR cli/14977:
10898 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10899 a null pointer.
10900 * gdb.base/wchar.exp: Likewise.
10901
b8c2339b
TT
109022018-03-14 Tom Tromey <tom@tromey.com>
10903
10904 PR cli/19918:
10905 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10906 flag.
10907
4872dc46
SM
109082018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10909
10910 PR gdb/22841
10911 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10912 "target" to remote_exec.
10913
e4fe3756
SM
109142018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10915
10916 PR gdb/22841
10917 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10918 ${board}_upload): Remove.
10919
e95a97d4
AA
109202018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10921
10922 * gdb.cp/watch-cp.cc: New test.
10923 * gdb.cp/watch-cp.exp: New file.
10924
dbbb1059
AB
109252018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10926
10927 * gdb.base/infcall-nested-structs.exp: New file.
10928 * gdb.base/infcall-nested-structs.c: New file.
10929 * gdb.base/float.exp: Add riscv support.
10930
ecc054c0
TP
109312018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10932
10933 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10934 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10935
25e3c82c
SDJ
109362018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10937
10938 * gdb.server/abspath.exp: New file.
10939 * lib/gdb.exp (with_cwd): New procedure.
10940
3083294d
SM
109412018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10942
10943 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10944 use it.
10945 (gdb_is_target_remote_prompt): New proc.
10946 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10947 (gdb_is_target_native): Pass prompt parameter to
10948 gdb_is_target_1.
10949
3275ef47
SM
109502018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10951
10952 * gdb.base/load-command.c: New file.
10953 * gdb.base/load-command.exp: New file.
10954 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10955 (gdb_is_target_1): ...this, and generalize for other targets
10956 than just remote.
10957 (gdb_is_target_remote): Use gdb_is_target_1.
10958 (gdb_is_target_native): use gdb_is_target_1.
10959
6893c19a
TT
109602018-02-26 Tom Tromey <tom@tromey.com>
10961
10962 PR python/16497:
10963 * gdb.python/py-framefilter.exp: Update test.
10964
2ddeaf8a
TT
109652018-02-26 Tom Tromey <tom@tromey.com>
10966
10967 * gdb.dwarf2/variant.c: New file.
10968 * gdb.dwarf2/variant.exp: New file.
10969
c9317f21
TT
109702018-02-26 Tom Tromey <tom@tromey.com>
10971
10972 * gdb.rust/simple.exp: Accept more possible results in enum test.
10973
6f6d0c26
SM
109742018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10975
10976 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10977 parentheses.
10978
11b03145
MR
109792018-02-23 Maciej W. Rozycki <macro@mips.com>
10980
10981 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10982 name of a variable: $actual_linejj -> $actual_line.
10983
54a27fe5
JB
109842018-02-21 John Baldwin <jhb@FreeBSD.org>
10985
10986 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10987
de65820c
MM
109882018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10989
10990 * gdb.btrace/buffer-size.exp: Do not force BTS.
10991
980548fd
PA
109922018-02-14 Pedro Alves <palves@redhat.com>
10993
10994 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10995 getting a "Quit".
10996
c4e12631
MM
109972018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10998
10999 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
11000 Fix test name.
11001
c2e0e465
SM
110022018-02-07 Simon Marchi <simon.marchi@ericsson.com>
11003
11004 * gdb.cp/m-static.exp: Check type of optimized out static
11005 member.
11006
f7216783
AB
110072018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
11008
11009 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
11010 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
11011
0625771b
LS
110122018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
11013 Leszek Swirski <leszeks@google.com>
11014
11015 * gdb.python/py-prettyprint.c
11016 (struct to_string_returns_value_inner,
11017 struct to_string_returns_value_wrapper): New.
11018 (main): Add tsrvw variable.
11019 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
11020 ToStringReturnsValueWrapper): New classes.
11021 (register_pretty_printers): Register new pretty-printers.
11022 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
11023 recursive pretty printer.
11024 * gdb.python/py-mi.exp: Likewise.
11025
59498c30
LS
110262018-02-01 Leszek Swirski <leszeks@google.com>
11027
11028 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
11029 functions with the same name as an include file are parsed
11030 correctly.
11031
d4d38844
YQ
110322018-02-01 Yao Qi <yao.qi@linaro.org>
11033
11034 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
11035 "\[^\r\n\]*".
11036
07e5f5cf
NP
110372018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
11038
11039 * gdb.arch/powerpc-prologue-frame.s: New file.
11040 * gdb.arch/powerpc-prologue-frame.c: Likewise.
11041 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
11042
929b5ad4
JB
110432018-01-31 Joel Brobecker <brobecker@adacore.com>
11044
11045 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
11046
e671cd59
PA
110472018-01-30 Pedro Alves <palves@redhat.com>
11048
11049 PR gdb/13211
11050 * gdb.base/interrupt-daemon.c: New.
11051 * gdb.base/interrupt-daemon.exp: New.
11052 * gdb.multi/multi-term-settings.c: New.
11053 * gdb.multi/multi-term-settings.exp: New.
11054
fc413dc4
JB
110552018-01-30 Joel Brobecker <brobecker@adacore.com>
11056
11057 * gdb.base/break.exp: Save the location where the breakpoint
11058 on break.c:47 was actually inserted when debugging the version
11059 compiled at -O2 and use it in the expected output of the "info
11060 break" test performed soon after.
11061
5c319bb2
PA
110622018-01-22 Pedro Alves <palves@redhat.com>
11063 Sergio Durigan Junior <sergiodj@redhat.com>
11064
11065 * gdb.base/whatis.exp: Add tests for 'set print object on' +
11066 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
11067
a9e40818
JB
110682018-01-22 Joel Brobecker <brobecker@adacore.com>
11069
11070 * gdb.base/break-include.c, gdb.base/break-include.inc,
11071 gdb.base/break-include.exp: New files.
11072 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
11073 line number now being the actual line number where the breakpoint
11074 was inserted.
11075 * gdb.mi/mi-break.exp: Likewise.
11076 * gdb.mi/mi-reverse.exp: Likewise.
11077 * gdb.mi/mi-simplerun.exp: Ditto.
11078
e707fc44
AB
110792018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11080
11081 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
11082 varobj.
11083 * gdb.mi/mi-var-create-rtti.exp: Likewise.
11084
ae451627
AB
110852018-01-21 Don Breazeal <donb@codesourcery.com>
11086 Andrew Burgess <andrew.burgess@embecosm.com>
11087
11088 * gdb.mi/basics.c: Add new global.
11089 * gdb.mi/mi-frame-regs.exp: New file.
11090 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
11091 case.
11092
b1b189e0
AB
110932018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11094
11095 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11096 non-parameter, and on an unknown symbol.
11097
fcfcc376
TT
110982018-01-19 Tom Tromey <tom@tromey.com>
11099
11100 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11101 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11102
634c1c31
AA
111032018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11104
11105 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11106 setrlimit and chdir to int.
11107
d6ad07fd
AA
111082018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11109
11110 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11111 function.
11112 (my_tend): Likewise.
11113 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11114 rationale of avoiding FP- and vector instructions.
11115
adf8243b
RK
111162018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11117
11118 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11119 "info reg" with "\[ \t\]*".
11120 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11121 "\[ \t\]+".
11122 * gdb.arch/s390-multiarch.exp: Ditto.
11123 * gdb.base/pc-fp.exp: Ditto.
11124 * gdb.reverse/i386-precsave.exp: Ditto.
11125 * gdb.reverse/i386-reverse.exp: Ditto.
11126 * gdb.reverse/i387-env-reverse.exp: Ditto.
11127 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11128
dcc06925
AA
111292018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11130
11131 * lib/gdb.exp (gdb_compile): Re-enable use of
11132 universal_compile_options for languages other than Rust.
11133
25d4fd80
AA
111342018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11135
11136 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11137
ee7f689e 111382018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
11139
11140 PR gdb/16577
11141 * gdb.base/solib-vanish.exp: New.
11142 * gdb.base/solib-vanish-main.c: New.
11143 * gdb.base/solib-vanish-lib1.c: New.
11144 * gdb.base/solib-vanish-lib2.c: New.
11145
d8447b6b
YQ
111462018-01-17 Yao Qi <yao.qi@linaro.org>
11147
11148 * gdb.compile/compile.exp: Match the address printed for
11149 frame in the output of command "bt".
11150
86d6a90c
TT
111512018-01-15 Tom Tromey <tom@tromey.com>
11152
11153 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11154 compute sp_reg.
11155
cbcdb1aa
AB
111562018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11157
11158 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11159 to prepare.
11160 (prepare): Return 0 on error, 1 on success.
11161
eea61984
PA
111622018-01-12 Pedro Alves <palves@redhat.com>
11163
11164 * gdb.base/continue-after-aborted-step-over.c: New.
11165 * gdb.base/continue-after-aborted-step-over.exp: New.
11166
6181e9c2
SM
111672018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11168
11169 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11170 options when not creating an executable.
11171
3cada740
PA
111722018-01-11 Pedro Alves <palves@redhat.com>
11173
11174 PR remote/22597
11175 * gdb.server/stop-reply-no-thread.c: New file.
11176 * gdb.server/stop-reply-no-thread.exp: New file.
11177
c63d3e8d
PA
111782018-01-10 Pedro Alves <palves@redhat.com>
11179
11180 PR gdb/22670
11181 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11182 functions too. Test setting breakpoints and printing C functions
11183 with no debug info too.
11184 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11185
d4c2a405
PA
111862018-01-10 Pedro Alves <palves@redhat.com>
11187
11188 PR gdb/22670
11189 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11190 a fail.
11191
8825213e
PA
111922018-01-10 Pedro Alves <palves@redhat.com>
11193
11194 PR gdb/22670
11195 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11196
605fd3c6
YQ
111972018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11198
11199 * gdb.server/unittest.exp: Match the output in non-development
11200 mode.
11201
1e5ded6c
YQ
112022018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11203
11204 * gdb.gdb/unittest.exp: Match output in non-development mode.
11205
30066b0b
JB
112062018-01-08 Joel Brobecker <brobecker@adacore.com>
11207
11208 * gdb.ada/access_tagged_param.exp: Relax expected output
11209 for value of "ObjL" in "continue" to pck.inspect breakpoint
11210 test.
11211
04bafb1e
XR
112122018-01-08 Joel Brobecker <brobecker@adacore.com>
11213
9f86398b
JB
11214 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11215 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 11216
e379cee6
PA
112172018-01-05 Pedro Alves <palves@redhat.com>
11218
11219 PR gdb/18653
11220 * gdb.base/libsegfault.exp: New.
11221
de63c46b
PA
112222018-01-05 Joel Brobecker <brobecker@adacore.com>
11223
11224 PR gdb/22670
11225 * gdb.ada/access_tagged_param.exp: New file.
11226 * gdb.ada/access_tagged_param/foo.adb: New file.
11227
f98fc17b
PA
112282018-01-05 Pedro Alves <palves@redhat.com>
11229
11230 PR gdb/22670
11231 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11232 exercise lower case too, and to exercise both full matching and
11233 wild matching.
11234
342f8240
JB
112352018-01-05 Joel Brobecker <brobecker@adacore.com>
11236
11237 * gdb.ada/rename_subscript_param: New testcase.
11238
7150d33c
JG
112392018-01-05 Jerome Guitton <guitton@adacore.com>
11240
11241 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11242
cc0e770c
JB
112432018-01-05 Joel Brobecker <brobecker@adacore.com>
11244
11245 * gdb.ada/convvar_comp: New testcase.
11246
672a41aa 112472018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
11248
11249 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11250 (My_Table): New global variable.
11251 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11252
7365ec2f
JB
112532018-01-04 Joel Brobecker <brobecker@adacore.com>
11254
11255 PR gdb/22670
11256 * gdb.ada/maint_with_ada: New testcase.
11257
289483b6
JB
112582018-01-04 Joel Brobecker <brobecker@adacore.com>
11259
11260 PR gdb/22670
11261 * gdb.ada/bp_c_mixed_case: New testcase.
11262
344420da
JB
112632018-01-04 Joel Brobecker <brobecker@adacore.com>
11264
11265 PR gdb/22670
11266 * gdb.ada/complete.exp: Add "complete break ada" test.
11267
66fc87a0
JB
112682018-01-04 Joel Brobecker <brobecker@adacore.com>
11269
11270 PR gdb/22670
11271 * gdb.ada/info_addr_mixed_case: New testcase.
11272
9f757bf7
XR
112732018-01-03 Xavier Roirand <roirand@adacore.com>
11274
11275 * gdb.ada/excep_handle.exp: New testcase.
11276 * gdb.ada/excep_handle/foo.adb: New file.
11277 * gdb.ada/excep_handle/pck.ads: New file.
11278
bd570f80
JB
112792018-01-03 Joel Brobecker <brobecker@adacore.com>
11280
11281 * gdb.base/step-line.c: Add extra empty line in copyright header.
11282 * gdb.base/step-line.inp: Likewise.
11283
9fe561ab
JB
112842018-01-02 Joel Brobecker <brobecker@adacore.com>
11285
11286 * gdb.ada/dyn_stride.exp: Add slice test.
11287
a405673c
JB
112882018-01-02 Joel Brobecker <brobecker@adacore.com>
11289
11290 * gdb.ada/dyn_stride: New testcase.
11291
cef0f868
SH
112922017-12-27 Stafford Horne <shorne@gmail.com>
11293
11294 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11295 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11296
b67d92b0
SH
112972017-12-27 Stafford Horne <shorne@gmail.com>
11298
11299 * gdb.base/reggroups.c: New file.
11300 * gdb.base/reggroups.exp: New file.
11301
eccab96d
JB
113022017-12-18 Joel Brobecker <brobecker@adacore.com>
11303
11304 * gdb.dwarf2/ada-valprint-error.c: New file.
11305 * gdb.dwarf2/ada-valprint-error.exp: New file.
11306
0e2da9f0
JB
113072017-12-18 Joel Brobecker <brobecker@adacore.com>
11308
11309 * gdb.ada/assign_arr: New testcase.
11310
cb923fcc
XR
113112017-12-18 Xavier Roirand <roirand@adacore.com>
11312
11313 * gdb.ada/funcall_ptr: New testcase.
11314
7c161838
SDJ
113152017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11316
11317 PR cli/16224
11318 * gdb.base/ptype-offsets.cc: New file.
11319 * gdb.base/ptype-offsets.exp: New file.
11320
1af17fd9
YQ
113212017-12-15 Yao Qi <yao.qi@linaro.org>
11322
11323 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11324 if XML is disabled.
11325
828d5846
XR
113262017-12-15 Xavier Roirand <roirand@adacore.com>
11327
11328 * gdb.ada/same_component_name: New testcase.
11329
79e8fcaa
JB
113302017-12-14 Joel Brobecker <brobecker@adacore.com>
11331
11332 * gdb.ada/str_binop_equal: New testcase.
11333
e05fa6f9
JB
113342017-12-14 Joel Brobecker <brobecker@adacore.com>
11335
11336 * gdb.ada/task_switch_in_core: New testcase.
11337
b89641ba
SM
113382017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11339
11340 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11341 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11342 call test_bkpt_qualified.
11343 (test_bkpt_qualified): New proc.
11344
6892d2e4
PA
113452017-12-13 Pedro Alves <palves@redhat.com>
11346
11347 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11348 Tighten regexp by matching with an anchor.
11349
a22ecf70
PA
113502017-12-13 Pedro Alves <palves@redhat.com>
11351
11352 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11353 ("expression with namespace"): New set of tests.
11354 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11355 (Nested::Test_NS::qux): New.
11356 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11357 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11358
9937536c
JB
113592017-12-13 Joel Brobecker <brobecker@adacore.com>
11360
11361 * gdb.base/server-del-break.c: New file.
11362 * gdb.base/server-del-break.exp: New file.
11363
fe49c6f5
SH
113642017-12-12 Stafford Horne <shorne@gmail.com>
11365
11366 * gdb.xml/tdesc-regs.exp: Add or1k support.
11367
c3d18620
SH
113682017-12-12 Stafford Horne <shorne@gmail.com>
11369
11370 * gdb.base/bp-permanent.c: Define nop of or1k.
11371
c5f9cfc8
JB
113722017-12-11 Joel Brobecker <brobecker@adacore.com>
11373
11374 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11375 output with components being reordered.
11376
a9c135fc
JB
113772017-12-11 Joel Brobecker <brobecker@adacore.com>
11378
11379 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11380 output with components being reordered.
11381
927aa2e7
JK
113822017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11383 Pedro Alves <palves@redhat.com>
11384
11385 * gdb.base/maint.exp (check for .gdb_index): Check also for
11386 .debug_names.
11387 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11388 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11389 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11390 (.gdb_index used after symbol reloading): Support also .debug_names.
11391 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11392
f17d9474
YQ
113932017-12-08 Yao Qi <yao.qi@linaro.org>
11394
11395 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11396 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11397
a0de8c21
YQ
113982017-12-08 Yao Qi <yao.qi@linaro.org>
11399
11400 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11401 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11402
a738ea1d
YQ
114032017-12-08 Yao Qi <yao.qi@linaro.org>
11404
11405 * gdb.arch/aarch64-tagged-pointer.c: New file.
11406 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11407
1cd9a73b
SDJ
114082017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11409
11410 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11411 "int".
11412
fa6eb693
KS
114132017-12-07 Keith Seitz <keiths@redhat.com>
11414
11415 PR breakpoints/22569
11416 * gdb.linespec/ls-errs.exp: Change expected result of "break
11417 -source this file has spaces.c -line 3".
11418 Check that an explicit source file followed by whitespace is
11419 identified as an invalid explicit location.
11420
883fd55a
KS
114212017-12-07 Keith Seitz <keiths@redhat.com>
11422
11423 * gdb.cp/nested-types.cc: New file.
11424 * gdb.cp/nested-types.exp: New file.
11425 * lib/cp-support.exp: Load data-structures.exp library.
11426 (debug_cp_test_ptype_class): New global.
11427 (cp_ptype_class_verbose, next_line): New procedures.
11428 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11429 Add and document new return value.
11430 Switch the list of lines to a queue.
11431 Add support for new `type' key for nested type definitions.
11432 Add debugging/troubleshooting messages.
11433 * lib/data-structures.exp: New file.
11434
ec72db3e
SM
114352017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11436
11437 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11438 with proc_with_prefix, don't use with_test_prefix.
11439
99598d71
TT
114402017-12-07 Tom Tromey <tom@tromey.com>
11441
11442 * gdb.base/break.exp: Add test for empty "commands".
11443
a8806230
YQ
114442017-12-07 Yao Qi <yao.qi@linaro.org>
11445
11446 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11447 malloc and catch syscall.
11448
824cc835
PM
114492017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11450
e79be6e5 11451 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
11452 tests for explicit locations.
11453
7cc244de
PA
114542017-12-06 Pedro Alves <palves@redhat.com>
11455
11456 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11457 force-disabling XML descriptions.
11458
50a1fdd5
PA
114592017-12-04 Pedro Alves <palves@redhat.com>
11460
11461 PR gdb/22499
11462 * gdb.arch/amd64-disp-step-avx.S: New file.
11463 * gdb.arch/amd64-disp-step-avx.exp: New file.
11464
f0fb2488
PA
114652017-12-03 Pedro Alves <palves@redhat.com>
11466
11467 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11468 and <string.h>.
11469 (parent_function): Print distinct messages when waitpid fails, or
11470 the child exits with a signal, or the child exits for an unhandled
11471 reason.
11472 * gdb.threads/process-dies-while-detaching.exp
11473 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11474 it. Wait for both inferior output and GDB's prompt. Use an
11475 indirect spawn id list.
11476 (do_detach): New parameter 'child_exit'. Use it to compute
11477 expected inferior output.
11478 (test_detach, test_detach_watch, test_detach_killed_outside):
11479 Adjust to pass down the expected child exit kind.
11480
97cbe998
SDJ
114812017-12-01 Joel Brobecker <brobecker@adacore.com>
11482 Sergio Durigan Junior <sergiodj@redhat.com>
11483 Pedro Alves <palves@redhat.com>
11484
11485 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11486
40fc416f
SDJ
114872017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11488
11489 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11490 to 'symbol-file' and 'add-symbol-file' can be
11491 position-independent.
11492
1cc75e92
YQ
114932017-12-01 Yao Qi <yao.qi@linaro.org>
11494
11495 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11496 the URL in copyright header.
11497 * gdb.arch/aarch64-fp.exp: Likewise.
11498 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11499 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11500 * gdb.base/expand-psymtabs.exp: Likewise.
11501 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11502 * gdb.fortran/common-block.exp: Likewise.
11503 * gdb.fortran/common-block.f90: Likewise.
11504 * gdb.fortran/logical.exp: Likewise.
11505 * gdb.fortran/vla-datatypes.f90: Likewise.
11506 * gdb.fortran/vla-sub.f90: Likewise.
11507
875fb7a7
JB
115082017-11-30 Joel Brobecker <brobecker@adacore.com>
11509
11510 * gdb.ada/repeat_dyn: New testcase.
11511
6f14765f
UW
115122017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11513
11514 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11515 Update for changed thread numbering.
11516 * gdb.cell/bt.exp: Update for changed GDB output.
11517
f1af7b94
SM
115182017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11519
11520 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11521 setting isremote by hand.
11522 * boards/dwarf4-gdb-index.exp: Likewise.
11523 * boards/fission.exp: Likewise.
11524 * boards/stabs.exp: Likewise.
11525
e3919f3e
PA
115262017-11-30 Pedro Alves <palves@redhat.com>
11527
11528 * gdb.linespec/cpls-ops.exp
11529 (check_explicit_skips_function_argument): Extract the underlying
11530 type of size_t instead of hardcoding it.
11531
bd69330d
PA
115322017-11-29 Pedro Alves <palves@redhat.com>
11533
11534 PR c++/19436
11535 * gdb.linespec/cpls-abi-tag.cc: New file.
11536 * gdb.linespec/cpls-abi-tag.exp: New file.
11537
a20714ff
PA
115382017-11-29 Pedro Alves <palves@redhat.com>
11539
11540 * gdb.base/langs.exp: Use -qualified.
11541 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11542 it.
11543 * gdb.cp/namespace.exp: Use -qualified.
11544 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11545 (overload-3, template-overload, template-ret-type, const-overload)
11546 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11547 procedures.
11548 (test_driver): Call them.
11549 * gdb.cp/save-bp-qualified.cc: New.
11550 * gdb.cp/save-bp-qualified.exp: New.
11551 * gdb.linespec/explicit.exp: Test -qualified.
11552 * lib/completion-support.exp (completion::explicit_opts_list): Add
11553 "-qualified".
11554 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11555
f6f1d339
PM
115562017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11557
11558 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11559
02ca603a
TT
115602017-11-29 Tom Tromey <tom@tromey.com>
11561
11562 * gdb.base/relocate.exp: Update invalid argument test.
11563 Add new tests for invalid arguments.
11564
ed6c0bfb
TP
115652017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11566
11567 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11568 Return 0 as a long.
11569 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11570
f106e10e
TP
115712017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11572
11573 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11574 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11575 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11576 func ().
11577 * gdb.cp/shadow.cc (B.func): Return 0.
11578
10329bb2
JB
115792017-11-27 Joel Brobecker <brobecker@adacore.com>
11580
11581 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11582 expected output in gdb_expect call to allow the exception
11583 message to be present as well. Fix syntax confusion to avoid
11584 TCL thinking that exception_name is an array.
11585
617cd4bc
UW
115862017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11587
11588 * gdb.arch/spu-info.c: Include <unistd.h>.
11589 (do_signal_test): Fix broken calls to write.
11590 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11591 Fix checks for empty mailboxes. Update signal tests for corrected
11592 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11593 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11594 * gdb.cell/arch.exp: Use standard_output_file.
11595 * gdb.cell/break.exp: Likewise.
11596 * gdb.cell/bt.exp: Likewise.
11597 * gdb.cell/core.exp: Likewise.
11598 * gdb.cell/dwarfaddr.exp: Likewise.
11599 * gdb.cell/ea-cache.exp: Likewise.
11600 * gdb.cell/ea-standalone.exp: Likewise.
11601 * gdb.cell/f-regs.exp: Likewise.
11602 * gdb.cell/fork.exp: Likewise.
11603 * gdb.cell/gcore.exp: Likewise.
11604 * gdb.cell/mem-access.exp: Likewise.
11605 * gdb.cell/ptype.exp: Likewise.
11606 * gdb.cell/registers.exp: Likewise.
11607 * gdb.cell/sizeof.exp: Likewise.
11608 * gdb.cell/solib-symbol.exp: Likewise.
11609 * gdb.cell/solib.exp: Likewise.
617cd4bc 11610
a81aaca0
PA
116112017-11-25 Pedro Alves <palves@redhat.com>
11612
11613 * gdb.base/complete-empty.exp: New file.
11614 * gdb.base/completion.exp: Adjust.
11615
6a3c6ee4
PA
116162017-11-25 Pedro Alves <palves@redhat.com>
11617
11618 * gdb.linespec/cpls-ops.cc: New file.
11619 * gdb.linespec/cpls-ops.exp: New file.
11620 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11621 factored out from ...
11622 (test_complete_prefix_range): ... this.
11623
8955eb2d
PA
116242017-11-24 Pedro Alves <palves@redhat.com>
11625
11626 * gdb.linespec/cpcompletion.exp: New file.
11627 * gdb.linespec/cpls-hyphen.cc: New file.
11628 * gdb.linespec/cpls.cc: New file.
11629 * gdb.linespec/cpls2.cc: New file.
11630 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11631 test to use test_gdb_complete_unique. Add label completion,
11632 keyword completion and explicit location completion tests.
11633 * lib/completion-support.exp: New file.
11634
e547c119
JB
116352017-11-24 Joel Brobecker <brobecker@adacore.com>
11636
11637 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11638 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11639 when hitting an exception catchpoint.
11640
7c3c1aa8
YQ
116412017-11-22 Yao Qi <yao.qi@linaro.org>
11642
11643 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11644
41bd68f5
SM
116452017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11646
11647 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11648 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11649 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11650
1daad298
YQ
116512017-11-22 Yao Qi <yao.qi@linaro.org>
11652
11653 * gdb.base/info-os.exp: Pass pthreads.
11654 * gdb.multi/multi-attach.exp: Likewise.
11655
88465e87
YQ
116562017-11-22 Yao Qi <yao.qi@linaro.org>
11657
11658 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11659 compiler.
11660
dc196b23
YQ
116612017-11-22 Yao Qi <yao.qi@linaro.org>
11662
11663 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11664 * gdb.base/break-interp.exp: Likewise.
11665 * gdb.base/jit-attach-pie.exp: Likewise.
11666
2400729e
UW
116672017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11668
11669 * gdb.base/float128.c (large128): New variable.
11670 * gdb.base/float128.exp: Add test to print largest __float128 value.
11671
7a26362d
UW
116722017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11673
11674 * gdb.arch/vsx-regs.exp: Update register content checks.
11675
ed0f4273
UW
116762017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11677
11678 * gdb.arch/ppc-longdouble.exp: New file.
11679 * gdb.arch/ppc-longdouble.c: Likewise.
11680
a25d69c6
PA
116812017-11-21 Pedro Alves <palves@redhat.com>
11682
11683 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11684
73fcf641
PA
116852017-11-20 Pedro Alves <palves@redhat.com>
11686
11687 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11688 (long_double_typedef): New typedefs.
11689 Use DEF on double and long double.
11690 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11691 cases.
11692 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11693 and 'long_double_ptr_same_size' locals. Use them to decide
11694 whether cast from array/function to float is valid/invalid.
11695
71a3c369
TT
116962017-11-17 Tom Tromey <tom@tromey.com>
11697
11698 * gdb.rust/traits.rs: New file.
11699 * gdb.rust/traits.exp: New file.
11700
ced9779b
JB
117012017-11-17 Joel Brobecker <brobecker@adacore.com>
11702
11703 * gdb.ada/minsyms: New testcase.
11704
a0922d80
PA
117052017-11-16 Pedro Alves <palves@redhat.com>
11706
11707 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11708 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11709
ea04e54c
PA
117102017-11-16 Pedro Alves <palves@redhat.com>
11711
11712 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11713 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11714
e849ea89
PA
117152017-11-16 Pedro Alves <palves@redhat.com>
11716
11717 * gdb.server/reconnect-ctrl-c.c: New file.
11718 * gdb.server/reconnect-ctrl-c.exp: New file.
11719
d8ae99a7
PM
117202017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11721
11722 * gdb.python/py-rbreak.exp: New file.
11723 * gdb.python/py-rbreak.c: New file.
11724 * gdb.python/py-rbreak-func2.c: New file.
11725
968a13f8
PA
117262017-11-16 Pedro Alves <palves@redhat.com>
11727
11728 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11729 pattern.
11730 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11731 GDB.
11732
71774bc9
SM
117332017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11734
11735 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11736 regex.
11737
ddbb44cf
SM
117382017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11739
11740 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11741 test names.
11742
584a564f
PA
117432017-11-09 Pedro Alves <palves@redhat.com>
11744
11745 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11746 factored out from ...
11747 (top level): ... here, and adjusted to avoid expecting beyond the
11748 prompt in a single gdb_test_multiple.
11749
5ed7a928
PA
117502017-11-09 Pedro Alves <palves@redhat.com>
11751
11752 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11753 output.
11754 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11755 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11756 * gdb.server/ext-run.exp ("kill" test): Likewise.
11757 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11758
a60e0738
PA
117592017-11-09 Pedro Alves <palves@redhat.com>
11760
11761 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11762 match till end of line.
11763
2c88253f
PA
117642017-11-09 Pedro Alves <palves@redhat.com>
11765
11766 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11767
c7a38517
PA
117682017-11-09 Pedro Alves <palves@redhat.com>
11769
11770 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11771 New procedures, factored out from ...
11772 (top level): ... here, and adjusted to avoid expecting beyond the
11773 prompt in one go.
11774
f29f4b6b
PA
117752017-11-09 Pedro Alves <palves@redhat.com>
11776
11777 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11778 output. Fix '?' match.
11779
286acbb5
JB
117802017-11-08 Joel Brobecker <brobecker@adacore.com>
11781
11782 * gdb.ada/scoped_watch: New testcase.
11783 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11784 which is actually correct.
11785 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11786 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11787
62d7ae92
PA
117882017-11-08 Pedro Alves <palves@redhat.com>
11789
11790 * gdb.gdb/complaints.exp (test_initial_complaints)
11791 (test_serial_complaints, test_short_complaints): Call
11792 complaint_internal instead of complaint.
11793
280ca31f
DT
117942017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11795
11796 * gdb.threads/tls-core.c: New file.
11797 * gdb.threads/tls-core.exp: Likewise.
11798
b5ec771e
PA
117992017-11-08 Pedro Alves <palves@redhat.com>
11800
11801 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11802 (p Exported_Capitalized): New test.
11803 (p exported_capitalized): New test.
11804
a02b41a7
PA
118052017-11-07 Pedro Alves <palves@redhat.com>
11806
11807 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11808
95e95a6d
PA
118092017-11-07 Pedro Alves <palves@redhat.com>
11810
11811 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11812 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11813 (disable_invalid, disable_inverted, disable_negative): New
11814 procedures.
11815 ("bad numbers"): New set of tests.
11816
cee62dbd
PA
118172017-11-07 Pedro Alves <palves@redhat.com>
11818
11819 * gdb.cp/ena-dis-br-range.exp: Add tests.
11820
cc638e86
PA
118212017-11-07 Pedro Alves <palves@redhat.com>
11822
11823 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11824
d0fe4701
XR
118252017-11-07 Xavier Roirand <roirand@adacore.com>
11826 Pedro Alves <palves@redhat.com>
11827
11828 * gdb.base/ena-dis-br.exp: Add reference to
11829 gdb.cp/ena-dis-br-range.exp.
11830 * gdb.cp/ena-dis-br-range.exp: New file.
11831 * gdb.cp/ena-dis-br-range.cc: New file.
11832
46f67f80
PA
118332017-11-06 Pedro Alves <palves@redhat.com>
11834
11835 * gdb.base/attach-non-pgrp-leader.c: New.
11836 * gdb.base/attach-non-pgrp-leader.exp: New.
11837
726e1356
PA
118382017-11-06 Pedro Alves <palves@redhat.com>
11839
11840 * configure.ac: No longer check for termio.h and sgtty.h.
11841 * configure: Regenerate.
11842 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11843 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11844 Remove termio and sgtty code.
11845
50ab6ace
YQ
118462017-11-03 Yao Qi <yao.qi@linaro.org>
11847
11848 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11849 in GDB is disabled.
11850
8e68731c
YQ
118512017-11-03 Yao Qi <yao.qi@linaro.org>
11852
11853 * gdb.python/py-thrhandle.exp: Skip it if python is not
11854 enabled.
11855
3a87ae65
SM
118562017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11857
11858 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11859 as a breakpoint command.
11860
484d8d36
MD
118612017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11862
11863 PR python/21213
11864 * gdb.python/py-infthread.exp: Test calling
11865 InferiorThread.inferior () multiple times in a row.
11866
4a27f119
KS
118672017-10-27 Keith Seitz <keiths@redhat.com>
11868
11869 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11870 Test "info break" for every inlined function breakpoint.
11871
bb11dd58
YQ
118722017-10-27 Yao Qi <yao.qi@linaro.org>
11873
11874 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11875
a43f3893
PF
118762017-10-26 Patrick Frants <osscontribute@gmail.com>
11877
11878 * gdb.cp/classes.exp (test_static_members): Test printing
11879 Outer::instance.
11880 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11881 (Inner::instance, Outer::instance): New.
11882
792ccf00
PA
118832017-10-24 Pedro Alves <palves@redhat.com>
11884
11885 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11886 extra console" test in two stages.
11887
eb2bfbad
PA
118882017-10-24 Pedro Alves <palves@redhat.com>
11889
11890 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11891
1f75a651
PA
118922017-10-24 Pedro Alves <palves@redhat.com>
11893
11894 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11895 loop.
11896
779990d9
PA
118972017-10-24 Pedro Alves <palves@redhat.com>
11898
11899 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11900 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11901
ad9b8f5d
PA
119022017-10-24 Pedro Alves <palves@redhat.com>
11903
11904 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11905 parameter and handle it. Don't output read value in test name.
11906
fee6da6e
PA
119072017-10-24 Pedro Alves <palves@redhat.com>
11908
11909 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11910 custom test name.
11911
10389c2c
PA
119122017-10-24 Pedro Alves <palves@redhat.com>
11913
11914 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11915 include the unstable output directory name in the test's name.
11916 (initial_setup_simple) <'set args'>: Use custom test name.
11917
a80e65a9
PA
119182017-10-24 Pedro Alves <palves@redhat.com>
11919
11920 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11921 with explicit test name.
11922
15763a09
PA
119232017-10-20 Pedro Alves <palves@redhat.com>
11924
11925 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11926 'wait -i'. Use gdb_assert and remote_close.
11927
49a4ce2e
AB
119282017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11929
11930 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11931 number from variable rather than hard-coded.
11932
a75868f5
PA
119332017-10-19 Pedro Alves <palves@redhat.com>
11934
11935 * gdb.base/long-inferior-output.c: New file.
11936 * gdb.base/long-inferior-output.exp: New file.
11937
c8ba13ad
KS
119382017-11-18 Keith Seitz <keiths@redhat.com>
11939
11940 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11941 method.
11942 (main): Call it.
11943 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11944 Add additional user-defined conversion operator tests.
11945
b27de576
PA
119462017-10-17 Pedro Alves <palves@redhat.com>
11947
11948 * boards/native-stdio-gdbserver.exp: Load "local-board".
11949
8484c955
PA
119502017-10-17 Pedro Alves <palves@redhat.com>
11951
11952 * gdb.base/quit-live.c: New file.
11953 * gdb.base/quit-live.exp: New file.
11954
83d5a34d
KS
119552017-10-16 Keith Seitz <keiths@redhat.com>
11956
11957 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11958 (class_with_protected_typedef, class_with_private_typedef)
11959 (struct_with_public_typedef, struct_with_protected_typedef)
11960 (struct_with_private_typedef): New classes/structs.
11961 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11962 typedefs and access specifiers.
11963
739b3f1d
PA
119642017-10-16 Pedro Alves <palves@redhat.com>
11965 Simon Marchi <simon.marchi@polymtl.ca>
11966
11967 * README (Local vs Remote vs Native): New section.
11968 * boards/local-board.exp: New file, with bits factored out from
11969 ...
11970 * boards/native-extended-gdbserver.exp: ... here. Load
11971 "local-board".
11972 * boards/native-gdbserver.exp: Load "local-board".
11973 (${board}_spawn, ${board}_exec): Delete.
11974 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11975 ...
11976 * boards/stdio-gdbserver-base.exp: ... this new file.
11977 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11978 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11979 procedure.
11980 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11981 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11982 stdio_gdbserver_command.
11983 (${board}_get_remote_address, ${board}_get_comm_port)
11984 (${board}_download, ${board}_upload): Delete.
11985 (get_target_remote_pipe_cmd): New.
11986
fe68b953
SM
119872017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11988
11989 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11990 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11991 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11992 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11993 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11994 remove with_test_prefix.
11995
300b6685
PA
119962017-10-13 Pedro Alves <palves@redhat.com>
11997
11998 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11999 * gdb.base/annota1.exp: Use it instead of is_remote.
12000 * gdb.base/annota3.exp: Use it instead of is_remote.
12001 * gdb.cp/annota2.exp: Use it instead of is_remote.
12002 * gdb.cp/annota3.exp: Use it instead of is_remote.
12003 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
12004
50500caf
PA
120052017-10-13 Pedro Alves <palves@redhat.com>
12006
12007 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
12008 (test_num_test_vars, run_and_count_vars, find_env)
12009 (test_set_unset_env, test_inherit_env_var): New procedures.
12010 (top level): Use them.
12011
dad0c6d2
PA
120122017-10-13 Pedro Alves <palves@redhat.com>
12013
12014 * lib/selftest-support.exp (selftest_setup): Extend comments, and
12015 also skip on stub-like targets.
12016
8b0553c1
PA
120172017-10-13 Pedro Alves <palves@redhat.com>
12018
12019 PR gdb/22293
12020 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
12021 (top level): Move some tests to ...
12022 (test_not_found): ... this new procedure.
12023 (top level): Call it.
12024
7594f623
PA
120252017-10-13 Pedro Alves <palves@redhat.com>
12026
12027 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
12028 expect different "info terminal" output if testing with a
12029 non-native target.
12030
ebe3b402
PA
120312017-10-13 Pedro Alves <palves@redhat.com>
12032 Simon Marchi <simon.marchi@polymtl.ca>
12033
12034 PR python/12966
12035 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
12036
42f1b161
PA
120372017-10-13 Pedro Alves <palves@redhat.com>
12038
12039 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
12040 already.
12041
8d6ef72b
PA
120422017-10-13 Pedro Alves <palves@redhat.com>
12043
12044 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
12045 is_remote.
12046
d7bcd5b8
PA
120472017-10-13 Pedro Alves <palves@redhat.com>
12048
12049 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
12050 is_remote.
12051
df479dc6
PA
120522017-10-13 Pedro Alves <palves@redhat.com>
12053
12054 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
12055 is set.
12056 (corefile_test_attach): Likewise. Check can_spawn_for_attach
12057 instead of is_remote.
12058
23fb630a
PA
120592017-10-13 Pedro Alves <palves@redhat.com>
12060
12061 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
12062 (top level): Add comment.
12063
cc77b1dc
PA
120642017-10-13 Pedro Alves <palves@redhat.com>
12065
12066 * gdb.base/remote.exp (top level): Fix comment typo and add
12067 missing return.
12068
27c9e813
PA
120692017-10-13 Pedro Alves <palves@redhat.com>
12070 Simon Marchi <simon.marchi@polymtl.ca>
12071
12072 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
12073 calls and add comments. Skip test if use_gdb_stub is set.
12074 (top level): Use "set cwd" command instead of "cd" command.
12075
5e830d98
PA
120762017-10-13 Pedro Alves <palves@redhat.com>
12077
12078 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
12079 is_remote target check.
12080
f5ca0032
PA
120812017-10-13 Pedro Alves <palves@redhat.com>
12082
12083 * gdb.base/scope.exp: Use build_executable + clean_restart +
12084 gdb_file_cmd instead of prepare_for_testing and no longer skip
12085 "before run" tests on is_remote target boards. Update comments.
12086 * boards/native-extended-gdbserver.exp
12087 (extended_gdbserver_load_last_file): New, factored out from ...
12088 (gdb_load): ... this. Move further below and add comment.
12089 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
12090
8aed1c0d
PA
120912017-10-12 Pedro Alves <palves@redhat.com>
12092
12093 * gdb.base/attach.exp: Remove references to gdb64.
12094 * gdb.base/dbx.exp: Remove references to gdb64.
12095
cfa34c87
SM
120962017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12097 Pedro Alves <palves@redhat.com>
12098
12099 * gdb.base/label.exp: Remove is_remote target check.
12100
9192b7de
PA
121012017-10-12 Pedro Alves <palves@redhat.com>
12102
12103 * gdb.base/auvx.exp (coredir): Update comment.
12104 (top level) <core_works>: Use "set cwd" command instead of "cd"
12105 command.
12106
6bf0052d
PA
121072017-10-12 Pedro Alves <palves@redhat.com>
12108 Simon Marchi <simon.marchi@polymtl.ca>
12109
12110 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12111 target boards.
12112
e48ef82d
PA
121132017-10-12 Pedro Alves <palves@redhat.com>
12114 Simon Marchi <simon.marchi@polymtl.ca>
12115
12116 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12117 Instead skip if there's any gdb_protocol set.
12118
8d7aea57
SM
121192017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12120 Pedro Alves <palves@redhat.com>
12121
12122 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12123
30440677
PA
121242017-10-12 Pedro Alves <palves@redhat.com>
12125 Simon Marchi <simon.marchi@polymtl.ca>
12126
12127 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12128 instead of on dejagnu remote boards.
12129
4e04f045 121302017-10-12 Pedro Alves <palves@redhat.com>
175654b9 12131 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
12132
12133 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12134 checks. Use build_executable + clean_restart instead of
12135 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12136 of enabling non-stop after starting gdb.
12137
871a186e
PA
121382017-10-12 Pedro Alves <palves@redhat.com>
12139
12140 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12141 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12142 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12143 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12144
56d704da
AK
121452017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12146
12147 * gdb.arch/arc-tdesc-cpu.exp: New file.
12148 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12149
2f20e312
SM
121502017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12151
12152 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12153
65630365
PA
121542017-10-10 Pedro Alves <palves@redhat.com>
12155
12156 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12157 expect CLI output.
12158
bf469271
PA
121592017-10-10 Pedro Alves <palves@redhat.com>
12160
12161 * lib/selftest-support.exp (selftest_setup): Update for
12162 captured_command_loop's prototype change.
12163
777a42f1
PA
121642017-10-09 Pedro Alves <palves@redhat.com>
12165
12166 Test both arch1=>arch2 and arch2=>arch1.
12167
12168 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12169 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12170 factored out to...
12171 (append_arch1_options, append_arch2_options, append_arch_options)
12172 (build_executables): New procedures.
12173 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12174 local.
12175 (top level): Add new 'first_arch' testing axis.
12176
cbd2b4e3
PA
121772017-10-09 Pedro Alves <palves@redhat.com>
12178
12179 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12180 (barrier): New.
12181 (thread_start, all_started): New functions.
12182 (main): Spawn new thread and wait until it is scheduled.
12183 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12184 option.
12185 (do_test): Add 'selected_thread' parameter. Run to all_started
12186 instead of main. Explicitly set the breakpoint at main. Switch
12187 to the SELECTED_THREAD thread.
12188 (top level): Test handling the exec event with either the main
12189 thread or the second thread selected.
12190
5c9e4427
PA
121912017-10-09 Pedro Alves <palves@redhat.com>
12192
12193 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12194 logic. Move STOP marker after the value checks.
12195 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12196 regexp.
12197
b3b7c423
SL
121982017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12199
12200 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12201
3b4b2f16
UW
122022017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12203
12204 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12205 integer-to-dfp conversion.
12206 * gdb.base/dfp-test.exp: Likewise.
12207
5cd63fda
PA
122082017-10-04 Pedro Alves <palves@redhat.com>
12209
12210 * gdb.multi/hangout.c: Include <unistd.h>.
12211 (hangout_loop): New function.
12212 (main): Call alarm. Call hangout_loop in a loop.
12213 * gdb.multi/hello.c: Include <unistd.h>.
12214 (hello_loop): New function.
12215 (main): Call alarm. Call hangout_loop in a loop.
12216 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12217 inferior with the other selected.
12218
4c71c105
SM
122192017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12220
12221 * gdb.mi/list-thread-groups-available.exp: New file.
12222 * gdb.mi/list-thread-groups-available.c: New file.
12223
bc3b087d
SDJ
122242017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12225
12226 * gdb.base/set-cwd.exp: Make it available on
12227 native-extended-gdbserver.
12228
d092c5a2
SDJ
122292017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12230
12231 * gdb.base/set-cwd.c: New file.
12232 * gdb.base/set-cwd.exp: Likewise.
12233
45320ffa
TT
122342017-10-02 Tom Tromey <tom@tromey.com>
12235
12236 PR rust/22236:
12237 * gdb.rust/simple.rs (main): New variable "fslice".
12238 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12239
b3e3859b
TT
122402017-10-02 Tom Tromey <tom@tromey.com>
12241
12242 * gdb.rust/simple.exp: Test ptype of a slice.
12243
01af5e0d
TT
122442017-10-02 Tom Tromey <tom@tromey.com>
12245
12246 * gdb.rust/simple.exp: Test index of slice.
12247
a9bbfbd8
TT
122482017-09-27 Tom Tromey <tom@tromey.com>
12249
12250 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12251
df8899e5
TP
122522017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12253 Pedro Alves <palves@redhat.com>
12254
12255 * gdb.base/compare-sections.exp (get value of read-only section): Read
12256 as unsigned value.
12257 (corrupt read-only section): Likewise and don't set written if patching
12258 failed.
12259
757bf54b
KB
122602017-09-21 Kevin Buettner <kevinb@redhat.com>
12261
12262 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12263 files.
12264
06871ae8
PA
122652017-09-20 Pedro Alves <palves@redhat.com>
12266
12267 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12268 symbol names in gdb's output.
12269 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12270
e5f25bc5
PA
122712017-09-20 Pedro Alves <palves@redhat.com>
12272
12273 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12274 Rename to ...
12275 (test_list_ambiguous_symbol): ... this and add a symbol name
12276 parameter. Adjust.
12277 (test_list_ambiguous_function): Reimplement on top of
12278 test_list_ambiguous_symbol and also test listing ambiguous
12279 variables.
12280 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12281 (ambiguous_fun): ... this.
12282 (ambiguous_var): New.
12283 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12284 (ambiguous_fun): ... this.
12285 (ambiguous_var): New.
12286
4e5a4f58
JB
122872017-09-19 John Baldwin <jhb@FreeBSD.org>
12288
12289 * gdb.base/starti.c: New file.
12290 * gdb.base/starti.exp: New file.
12291 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12292
26e53f3e
PA
122932017-09-14 Pedro Alves <palves@redhat.com>
12294
12295 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12296 (top level): Use it instead of runto.
12297
cb791d59
TT
122982017-09-11 Tom Tromey <tom@tromey.com>
12299
12300 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12301
7c96f8c1
TT
123022017-09-11 Tom Tromey <tom@tromey.com>
12303
12304 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12305 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12306
469412dd
CW
123072017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12308
12309 * gdb.fortran/printing-types.exp: New file.
12310 * gdb.fortran/printing-types.exp: New file.
12311
e0f86435
BH
123122017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12313
12314 * gdb.fortran/vla-ptype.exp: Fix typos.
12315 * gdb.fortran/vla-value.exp: Same.
12316
9e9af4be
BH
123172017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12318
12319 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12320 * gdb.mi/mi-var-child-f.exp: Likewise.
12321 * gdb.mi/mi-vla-fortran.exp: Likewise.
12322
a5ad232b 123232017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
12324 Christoph Weinmann <christoph.t.weinmann@intel.com>
12325 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
12326
12327 * gdb.fortran/ptr-indentation.f90: New file.
12328 * gdb.fortran/ptr-indentation.exp: New file.
12329
5aec60eb
TT
123302017-09-05 Tom Tromey <tom@tromey.com>
12331
12332 PR gdb/22010:
12333 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12334
8f8f8152
TP
123352017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12336
12337 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12338
fbd1b771
JK
123392017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12340
12341 * gdb.threads/tls-nodebug-pie.c: New file.
12342 * gdb.threads/tls-nodebug-pie.exp: New file.
12343
5eb5f850
TT
123442017-09-05 Tom Tromey <tom@tromey.com>
12345
12346 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12347 for rust.
12348
ae780a21
SM
123492017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12350
12351 * gdb.multi/multi-arch-exec.exp: Test with different
12352 "follow-exec-mode" settings.
12353 (do_test): New procedure.
12354
3693fdb3
PA
123552017-09-04 Pedro Alves <palves@redhat.com>
12356
12357 * gdb.base/func-static.c (S::method const, S::method volatile)
12358 (S::method volatile const): New methods.
12359 (c_s, v_s, cv_s): New instances.
12360 (main): Call method() on them.
12361 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12362 (cannot_resolve): New procedure.
12363 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12364 print-quote-unquoted columns.
12365 (do_test): Test printing each scope too.
12366
e68cb8e0
PA
123672017-09-04 Pedro Alves <palves@redhat.com>
12368
12369 * gdb.base/local-static.exp: Also test with
12370 class::method::variable wholly quoted.
12371 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12372
858be34c
PA
123732017-09-04 Pedro Alves <palves@redhat.com>
12374
12375 * gdb.base/local-static.c: New.
12376 * gdb.base/local-static.cc: New.
12377 * gdb.base/local-static.exp: New.
12378
46a4882b
PA
123792017-09-04 Pedro Alves <palves@redhat.com>
12380
12381 * gdb.asm/asm-source.exp: Add casts to int.
12382 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12383 (dataglobal64_1, dataglobal64_2): New globals.
12384 * gdb.base/nodebug.exp: Test different expressions involving the
12385 new globals, with print, whatis and ptype. Add casts to int.
12386 * gdb.base/solib-display.exp: Add casts to int.
12387 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12388 * gdb.cp/m-static.exp: Add cast to int.
12389 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12390 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12391 tls variable with no debug info without a cast. Test with a cast
12392 to int too.
12393 * gdb.trace/entry-values.exp: Add casts.
12394
2c5a2be1
PA
123952017-09-04 Pedro Alves <palves@redhat.com>
12396
12397 * gdb.base/nodebug.exp: Test that ptype's error about functions
12398 with unknown return type includes the function name too.
12399
7022349d
PA
124002017-09-04 Pedro Alves <palves@redhat.com>
12401
12402 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12403 return type of munmap in infcall.
12404 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12405 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12406 type of ftell in infcall.
12407 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12408 type of getpid in infcall.
12409 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12410 infcall.
12411 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12412 Bail on failure to extract the pid.
12413 * gdb.base/nodebug.c: #include <stdint.h>.
12414 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12415 New functions.
12416 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12417 Change expected output of print/whatis/ptype with functions with
12418 no debug info. Test all supported languages. Call
12419 test_call_promotion.
12420 * gdb.compile/compile.exp: Adjust expected output to expect
12421 warning.
12422 * gdb.threads/siginfo-threads.exp: Likewise.
12423
54990598
PA
124242017-09-04 Pedro Alves <palves@redhat.com>
12425
12426 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12427 "prototypes". Test calling float functions via prototyped and
12428 unprototyped function pointers.
12429 (perform_all_tests): New parameter "prototypes". Pass it down.
12430 (top level): Pass down "prototypes" parameter to
12431 perform_all_tests.
12432
34d16ea2
SM
124332017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12434
12435 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12436 Test with nested loops.
12437
9521ecda
SM
124382017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12439
12440 * gdb.base/commands.exp: Call the new procedures.
12441 (loop_break_test, loop_continue_test): New procedures.
12442
80a65e9b
SM
124432017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12444
12445 * gdb.base/commands.exp: Call new procedure.
12446 (define_if_without_arg_test): New procedure.
12447
e439fa14
PA
124482017-09-04 Pedro Alves <palves@redhat.com>
12449
12450 * gdb.base/list-ambiguous.exp: New file.
12451 * gdb.base/list-ambiguous0.c: New file.
12452 * gdb.base/list-ambiguous1.c: New file.
12453 * gdb.base/list.exp (test_list_range): Adjust expected output.
12454
0a2dde4a
SDJ
124552017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12456
12457 * gdb.base/share-env-with-gdbserver.c: New file.
12458 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12459
5e89eb3a
SM
124602017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12461
12462 * gdb.base/commands.exp (gdbvar_simple_if_test,
12463 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12464 progvar_simple_if_test, progvar_simple_while_test,
12465 progvar_complex_if_while_test, user_defined_command_test,
12466 user_defined_command_args_eval,
12467 user_defined_command_args_stack_test,
12468 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12469 temporary_breakpoint_commands,
12470 gdb_test_no_prompt, redefine_hook_test,
12471 redefine_backtrace_test): Remove "global gdb_prompt".
12472
fd437cbc
SM
124732017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12474
12475 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12476 New proc, call it from toplevel.
12477
87215ad1
SDJ
124782017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12479
12480 PR remote/21852
12481 * gdb.server/normal.c: New file, copied from gdb.base.
12482 * gdb.server/run-without-local-binary.exp: New file.
12483
58afddc6
WP
124842017-08-07 Weimin Pan <weimin.pan@oracle.com>
12485
12486 * gdb.arch/sparc64-adi.exp: New file.
12487 * gdb.arch/sparc64-adi.c: New file.
12488
5277199a
PA
124892017-08-22 Pedro Alves <palves@redhat.com>
12490
12491 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12492 (top level): Add "list all overloads" tests.
12493
14278e1f
TT
124942017-08-22 Tom Tromey <tom@tromey.com>
12495
12496 * gdb.gdb/xfullpath.exp: Remove.
12497
bf223d3e
PA
124982017-08-21 Pedro Alves <palves@redhat.com>
12499
12500 PR gdb/19487
12501 * gdb.base/symbol-alias.c: New.
12502 * gdb.base/symbol-alias2.c: New.
12503 * gdb.base/symbol-alias.exp: New.
12504
c973d0aa
PA
125052017-08-21 Pedro Alves <palves@redhat.com>
12506
12507 * gdb.base/dfp-test.c
12508 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12509 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12510 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12511 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12512 * gdb.base/whatis-ptype-typedefs.c: New.
12513 * gdb.base/whatis-ptype-typedefs.exp: New.
12514 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12515 (an_int, an_int_type, an_int_type2): New globals.
12516 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12517 involving typedefs and cast expressions.
12518 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12519 (lookup_typedefs_function): New.
12520 (typedefs_pretty_printers_dict): New.
12521 (top level): Register lookup_typedefs_function in
12522 gdb.pretty_printers.
12523
6d580b63
YQ
125242017-08-18 Yao Qi <yao.qi@linaro.org>
12525
12526 * gdb.server/unittest.exp: New.
12527
206726fb
SDJ
125282017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12529
12530 PR gdb/21954
12531 * gdb.base/environ.exp: Add test to check if 'unset environment'
12532 works.
12533
bf0ec4c2
AA
125342017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12535
12536 * lib/gdb.exp (universal_compile_options): New caching proc.
12537 (gdb_compile): Suppress GCC's coloring of messages.
12538
d6382fff
TT
125392017-08-14 Tom Tromey <tom@tromey.com>
12540
12541 PR gdb/21675:
12542 * gdb.base/printcmds.exp (test_radices): New function.
12543 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12544 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12545 * lib/gdb.exp (get_integer_valueof): Use p/d.
12546
c2c2dd9f
SM
125472017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12548
12549 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12550 characters.
12551
fdffd6f4
TT
125522017-08-05 Tom Tromey <tom@tromey.com>
12553
12554 * gdb.rust/simple.exp: Allow String to appear in a different
12555 namespace.
12556
27d41eac
YQ
125572017-07-26 Yao Qi <yao.qi@linaro.org>
12558
12559 * gdb.gdb/unittest.exp: Invoke command
12560 "maintenance check xml-descriptions".
12561
031ed05d
AA
125622017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12563
12564 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12565 calling context.
12566 (hex128): Drop erroneous calculation of parameters.
12567
dcd27ddf
SM
125682017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12569
12570 * gdb.python/py-unwind.exp: Disable stack protection when
12571 building test file.
12572
47e77640
PA
125732017-07-20 Pedro Alves <palves@redhat.com>
12574
12575 * gdb.base/default.exp (set language): Adjust expected output.
12576
62d2a18a
PA
125772017-07-20 Pedro Alves <palves@redhat.com>
12578
12579 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12580 (test_minsym): ... this, and make static.
12581 (get_pck__foo__bar__minsym): Rename to ...
12582 (get_test_minsym): ... this.
12583 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12584 symbol names and comments.
12585 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12586 (get_test_minsym): ... this.
12587 (pck__foo__bar__minsym__2): Rename to ...
12588 (test_minsym): ... this.
12589 (main): Adjust.
12590
c45ec17c
PA
125912017-07-17 Pedro Alves <palves@redhat.com>
12592
12593 * gdb.base/completion.exp: Adjust expected output.
12594 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12595 the completer works.
12596
c6756f62
PA
125972017-07-17 Pedro Alves <palves@redhat.com>
12598
12599 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12600
5bd68487
AB
126012017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12602
12603 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12604
8880f2a9
TT
126052017-07-14 Tom Tromey <tom@tromey.com>
12606
12607 PR rust/21764:
12608 * gdb.rust/simple.exp: Add tests.
12609
65547233
TT
126102017-07-14 Tom Tromey <tom@tromey.com>
12611
12612 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12613
8f14146e
PA
126142017-07-14 Pedro Alves <palves@redhat.com>
12615
12616 * gdb.linespec/base/one/thefile.cc (z1): New function.
12617 * gdb.linespec/base/two/thefile.cc (z2): New function.
12618 * gdb.linespec/linespec.exp: Add tests.
12619
b4365d02
AB
126202017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12621
12622 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12623 to mi_create_breakpoint.
12624
5d2cbaa5
AB
126252017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12626
12627 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12628 mi_create_breakpoint.
12629
11cb5716
IB
126302017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12631
12632 * gdb.dlang/demangle.exp: Update for demangling changes.
12633
03278692
TT
126342017-07-09 Tom Tromey <tom@tromey.com>
12635
12636 * gdb.dwarf2/shortpiece.exp: New file.
12637
33c5cd75
DB
126382017-07-06 David Blaikie <dblaikie@gmail.com>
12639
12640 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12641 built from fissiont-multi-cu{1,2}.c.
12642 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12643 except putting 'main' and 'func' in separate CUs in the same DWO file.
12644 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12645 test.
12646 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12647 test.
12648
8455d262
PA
126492017-07-06 Pedro Alves <palves@redhat.com>
12650
12651 * gdb.python/py-unwind.exp: Test flushregs.
12652
dc4bde35
SDJ
126532017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12654
12655 PR cli/21688
12656 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12657 tests for alias commands and trailing whitespace.
12658
51ed89aa
SDJ
126592017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12660
12661 PR cli/21688
12662 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12663 procedure. Call it.
12664
eb17d413
PA
126652017-06-29 Pedro Alves <palves@redhat.com>
12666
12667 * gdb.base/printcmds.exp: Add tests.
12668
41664b45
DG
126692017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12670
12671 PR gdb/21337
12672 * gdb.base/reread-readsym.exp: New file.
12673 * gdb.base/reread-readsym.c: New file.
12674
75312ae3
KB
126752017-06-21 Kevin Buettner <kevinb@redhat.com>
12676
12677 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12678 subpattern.
12679
66953522
PB
126802017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12681
12682 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12683 extended mnemonic.
12684 * gdb.arch/powerpc-power9.s: Likewise.
12685
5524b525
AA
126862017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12687
12688 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12689 on 32-bit x86 targets. Exploit is_*_target macros where
12690 appropriate.
12691
03c8af18
AA
126922017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12693
12694 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12695 register pieces.
12696
3bf31011
AA
126972017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12698
12699 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12700 located in one or more DWARF pieces.
12701
805acca0
AA
127022017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12703
12704 * lib/gdb.exp (get_endianness): New proc.
12705 * gdb.arch/aarch64-fp.exp: Use it.
12706 * gdb.arch/altivec-regs.exp: Likewise.
12707 * gdb.arch/e500-regs.exp: Likewise.
12708 * gdb.arch/vsx-regs.exp: Likewise.
12709 * gdb.base/dump.exp: Likewise.
12710 * gdb.base/funcargs.exp: Likewise.
12711 * gdb.base/gnu_vector.exp: Likewise.
12712 * gdb.dwarf2/formdata16.exp: Likewise.
12713 * gdb.dwarf2/implptrpiece.exp: Likewise.
12714 * gdb.dwarf2/nonvar-access.exp: Likewise.
12715 * gdb.python/py-inferior.exp: Likewise.
12716 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12717
e9352324
AA
127182017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12719
12720 PR gdb/21226
12721 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12722 stack value pieces are taken from the LSB end.
12723
d5d1163e
AA
127242017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12725
12726 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12727 variable at nonzero offset.
12728
0567c986
AA
127292017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12730
12731 * gdb.dwarf2/var-access.c: New file.
12732 * gdb.dwarf2/var-access.exp: New test.
12733 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12734
973e9aab
TT
127352017-06-12 Tom Tromey <tom@tromey.com>
12736
12737 * gdb.dwarf2/formdata16.exp: Add tests.
12738
d9109c80
TT
127392017-06-12 Tom Tromey <tom@tromey.com>
12740
12741 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12742
30a25466
TT
127432017-06-12 Tom Tromey <tom@tromey.com>
12744
12745 PR exp/16225:
12746 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12747 * gdb.arch/vsx-regs.exp: Update tests.
12748 * gdb.arch/s390-vregs.exp (hex128): New proc.
12749 Update test.
12750 * gdb.arch/altivec-regs.exp: Update tests.
12751
aefd8b33
SDJ
127522017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12753
12754 * gdb.base/startup-with-shell.c: New file.
12755 * gdb.base/startup-with-shell.exp: Likewise.
12756
2090129c
SDJ
127572017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12758
12759 * gdb.server/non-existing-program.exp: Update regex in order to
12760 reflect the fact that gdbserver is now using fork_inferior (with a
12761 shell) to startup the inferior.
12762
8e86a419
SM
127632017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12764
12765 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12766 support function calls from GDB.
12767
e6cf65f2
TT
127682017-05-21 Tom Tromey <tom@tromey.com>
12769
12770 PR rust/21466:
12771 * gdb.rust/unsized.exp: New file.
12772 * gdb.rust/unsized.rs: New file.
12773
43cc5389
TT
127742017-05-19 Tom Tromey <tom@tromey.com>
12775
12776 PR rust/21484:
12777 * gdb.rust/watch.exp: New file.
12778 * gdb.rust/watch.rs: New file.
12779
ec8df234
TT
127802017-05-18 Tom Tromey <tom@tromey.com>
12781
12782 * gdb.rust/simple.exp: Allow Box to be qualified.
12783
3e3e7fae
TP
127842017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12785
12786 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12787
59cc050d
PA
127882017-05-18 Pedro Alves <palves@redhat.com>
12789
12790 * gdb.base/fileio.c (test_write, test_read, test_close)
12791 (test_fstat): Don't print 'ret' in the fail path.
12792
c8f6abd1
PA
127932017-05-18 Pedro Alves <palves@redhat.com>
12794
12795 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12796 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12797 (test_system, test_rename, test_unlink, test_time): Change
12798 prototypes.
12799 * gdb.base/fileio.exp (stop_msg): Adjust.
12800
d2a03b77
PA
128012017-05-18 Pedro Alves <palves@redhat.com>
12802
12803 * gdb.base/fileio.c (null_str): New global.
12804 (test_stat): Use it.
12805 * gdb.base/fileio.exp: Remove nowarnings.
12806
0d5c6999
YQ
128072017-05-17 Yao Qi <yao.qi@linaro.org>
12808
12809 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12810
21873064
YQ
128112017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12812
12813 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12814 argument command.
12815 (top-level): Invoke test_set_inferior_tty.
12816
d512d31c
PA
128172017-05-04 Pedro Alves <palves@redhat.com>
12818
12819 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12820 Add parens to print call for Python 3.
12821
90cef2ed
KS
128222017-05-03 Keith Seitz <keiths@redhat.com>
12823
12824 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12825 (main): Call it.
12826
14f819c8
TW
128272017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12828
12829 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12830 to prev and next.
12831
913aeadd
TW
128322017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12833
12834 * gdb.python/py-record-btrace.exp: Remove test for
12835 gdb.BtraceInstruction.error.
12836
a3be24ad
TW
128372017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12838
12839 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12840
ae20e79a
TW
128412017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12842
12843 * gdb.python/py-record-btrace-threads.c: New file.
12844 * gdb.python/py-record-btrace-threads.exp: New file.
12845
45ce1b47
SDJ
128462017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12847
12848 PR testsuite/8595
12849 * gdb.base/environ.exp: Make test available in all architectures.
12850 Move bits related to "info program" testing to
12851 gdb.base/info-program.exp. Rewrite tests to use the two new
12852 procedures mentione below.
12853 (test_set_show_env_var) New procedure.
12854 (test_set_show_env_var_equal): Likewise.
12855 * gdb.base/info-program.exp: New file.
12856
e15c3eb4
KS
128572017-04-27 Keith Seitz <keiths@redhat.com>
12858
12859 * gdb.cp/oranking.cc (test15): New function.
12860 (main): Call test15 and declare additional variables for testing.
12861 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12862 "p foo101('abc')" tests.
12863 Add tests for cv qualifier overloads.
12864 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12865 "lvalue reference overload" test.
12866 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12867 "print value of f1 on Child&& in f2" test.
12868
3a3fd0fd
PA
128692017-04-19 Pedro Alves <palves@redhat.com>
12870
12871 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12872 procedure.
12873 (top level): Call it.
12874 * lib/gdb.exp (gdb_define_cmd): New procedure.
12875
53375380
PA
128762017-04-12 Pedro Alves <palves@redhat.com>
12877
12878 PR gdb/21323
12879 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12880 (wchar): New global.
12881 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12882 (do_test_wide_char, wide_char_types_no_program, top level): Add
12883 wchar_t testing.
12884
53e710ac
PA
128852017-04-12 Pedro Alves <palves@redhat.com>
12886
12887 PR c++/21323
12888 * gdb.cp/wide_char_types.c: New file.
12889 * gdb.cp/wide_char_types.exp: New file.
12890
0ad9d8c7
SDJ
128912017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12892
12893 PR gdb/21352
12894 * gdb.trace/tsv.exp: Add test for "tsave -r".
12895
b1b45502
IB
128962017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12897
12898 * gdb.dlang/watch-loc.c: New file.
12899 * gdb.dlang/watch-loc.exp: New file.
12900
ec13808e
JK
129012017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12902
12903 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12904
fe5f7374
AK
129052017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12906
12907 * gdb.arch/arc-analyze-prologue.S: New file.
12908 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12909
eea78757
AK
129102017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12911
12912 * gdb.arch/arc-decode-insn.S: New file.
12913 * gdb.arch/arc-decode-insn.exp: Likewise.
12914
5badf10a
IR
129152017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12916
12917 PR tdep/20928
12918 * gdb.arch/sparc64-regs.exp: New file.
12919 * gdb.arch/sparc64-regs.S: Likewise.
12920
cee59b3f
TW
129212017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12922
12923 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12924 and memory view on Python 3.
12925
c0f55cc6
AV
129262017-03-20 Artemiy Volkov <artemiyv@acm.org>
12927 Keith Seitz <keiths@redhat.com>
12928
12929 PR gdb/14441
12930 * gdb.cp/demangle.exp: Add rvalue reference tests.
12931 * gdb.cp/rvalue-ref-casts.cc: New file.
12932 * gdb.cp/rvalue-ref-casts.exp: New file.
12933 * gdb.cp/rvalue-ref-overload.cc: New file.
12934 * gdb.cp/rvalue-ref-overload.exp: New file.
12935 * gdb.cp/rvalue-ref-params.cc: New file.
12936 * gdb.cp/rvalue-ref-params.exp: New file.
12937 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12938 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12939 * gdb.cp/rvalue-ref-types.cc: New file.
12940 * gdb.cp/rvalue-ref-types.exp: New file.
12941 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12942 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12943
51457a05
MAL
129442017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12945
12946 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12947 New procedure.
12948
5b291c04
MAL
129492017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12950
12951 * lib/mi-support.exp (mi_gdb_test): Add additional message
12952 for unexpected output.
12953
59a56148
AA
129542017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12955
12956 * gdb.base/examine-backward.c (Barrier): New character array
12957 constant, to ensure that TestStrings is preceded by a string
12958 terminator.
12959
7942e96e
AA
129602017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12961
12962 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12963 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12964 and implicit pointer into such a location.
12965
6ebac3fb
DE
129662017-03-16 Doug Evans <dje@google.com>
12967
12968 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12969
ec3b243d
TP
129702017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12971
12972 * gdb.cp/m-static.exp: Fix expectation for prototype of
12973 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12974
129752017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12976
12977 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12978 * gdb.guile/scm-lazy-string.c: New file.
12979 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12980 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12981 for pointer, array, typedef lazy strings.
12982
2cc36e25 129832017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12984
12985 PR python/17728, python/18439, python/18779
12986 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12987 * gdb.python/py-lazy-string.c (pointer): New typedef.
12988 (main): New locals ptr, array, typedef_ptr.
12989 * gdb.python/py-value.exp: Move lazy string tests to ...
12990 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12991 array, typedef lazy strings.
ec3b243d 12992
0efcde63
AK
129932017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12994
12995 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12996 Add optional 'test' parameter.
12997
7978d7c3
SM
129982017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12999
13000 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13001 Skip for versions of DejaGnu < 1.5.
13002
896c0c1e
SM
130032017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13004
13005 * lib/gdb.exp (dejagnu_version): New proc.
13006 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13007 Use dejagnu_version.
13008
5f4d1085
KS
130092017-03-10 Keith Seitz <keiths@redhat.com>
13010
13011 PR c++/8128
13012 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
13013 type from destructor regexps.
13014 Add a branch which actually passes the test.
13015 Adjust "ptype t5i" test names.
13016
1de05205
PA
130172017-03-08 Pedro Alves <palves@redhat.com>
13018
13019 * gdb.base/step-over-exit.exp: Add explicit test message.
13020
c65d6b55
PA
130212017-03-08 Pedro Alves <palves@redhat.com>
13022
13023 PR gdb/18360
13024 * gdb.threads/interrupt-while-step-over.c: New file.
13025 * gdb.threads/interrupt-while-step-over.exp: New file.
13026
2e86a283
PA
130272017-03-08 Pedro Alves <palves@redhat.com>
13028
13029 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
13030 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
13031
25dcbff6
PA
130322017-03-08 Pedro Alves <palves@redhat.com>
13033
13034 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
13035 PKRU as not supported as a PASS.
13036
dc9366eb
PA
130372017-03-08 Pedro Alves <palves@redhat.com>
13038
13039 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
13040 prefix instead of $binfile1/$binfile2.
13041 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
13042 in test message.
13043 * gdb.python/py-completion.exp: Use "load python file" as test
13044 messages instead of unstable path names.
13045
6e5d74e7
PA
130462017-03-08 Pedro Alves <palves@redhat.com>
13047 Jan Kratochvil <jan.kratochvil@redhat.com>
13048
13049 PR cli/21218
13050 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13051 New proc.
13052 (top level): Call it.
13053
9753a2f6
PA
130542017-03-08 Pedro Alves <palves@redhat.com>
13055
13056 PR tui/21216
13057 * gdb.tui/tui-nl-filtered-output.exp: New file.
13058
1a4dd9dd
PA
130592017-03-08 Pedro Alves <palves@redhat.com>
13060
13061 * gdb.base/completion.exp: Move TUI completion tests to ...
13062 * gdb.tui/completion.exp: ... this new file.
13063
7cbbff33
PA
130642017-03-08 Pedro Alves <palves@redhat.com>
13065
13066 * gdb.base/tui-disasm-long-lines.c,
13067 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
13068 gdb.base/tui-layout.exp: Move to ...
13069 * gdb.tui/: ... this new directory.
13070
5f6fd321
PA
130712017-03-07 Pedro Alves <palves@redhat.com>
13072
13073 * gdb.base/tui-layout.c: New file.
13074 * gdb.base/tui-layout.exp: New file.
13075
44959fa8
PA
130762017-03-07 Pedro Alves <palves@redhat.com>
13077
13078 * gdb.base/tui-layout.c: Rename to ...
13079 * gdb.base/tui-disasm-long-lines.c: ... this.
13080 * gdb.base/tui-layout.exp: Rename to ...
13081 * gdb.base/tui-disasm-long-lines.exp: ... this.
13082
f8c4e718
PA
130832017-03-07 Pedro Alves <palves@redhat.com>
13084
13085 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
13086
6dbb839a 130872017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
13088
13089 * i386-mpx-call.c: New file.
13090 * i386-mpx-call.exp: New file.
13091
65b48a81
PB
130922017-02-28 Peter Bergner <bergner@vnet.ibm.com>
13093
13094 * gdb.arch/powerpc-power.exp: Delete test.
13095 * gdb.arch/powerpc-power.s: Likewise.
13096 * gdb.disasm/disassembler-options.exp: New test.
13097 * gdb.arch/powerpc-altivec.exp: Likewise.
13098 * gdb.arch/powerpc-altivec.s: Likewise.
13099 * gdb.arch/powerpc-altivec2.exp: Likewise.
13100 * gdb.arch/powerpc-altivec2.s: Likewise.
13101 * gdb.arch/powerpc-altivec3.exp: Likewise.
13102 * gdb.arch/powerpc-altivec3.s: Likewise.
13103 * gdb.arch/powerpc-power7.exp: Likewise.
13104 * gdb.arch/powerpc-power7.s: Likewise.
13105 * gdb.arch/powerpc-power8.exp: Likewise.
13106 * gdb.arch/powerpc-power8.s: Likewise.
13107 * gdb.arch/powerpc-power9.exp: Likewise.
13108 * gdb.arch/powerpc-power9.s: Likewise.
13109 * gdb.arch/powerpc-vsx.exp: Likewise.
13110 * gdb.arch/powerpc-vsx.s: Likewise.
13111 * gdb.arch/powerpc-vsx2.exp: Likewise.
13112 * gdb.arch/powerpc-vsx2.s: Likewise.
13113 * gdb.arch/powerpc-vsx3.exp: Likewise.
13114 * gdb.arch/powerpc-vsx3.s: Likewise.
13115 * gdb.arch/arm-disassembler-options.exp: Likewise.
13116 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13117 * gdb.arch/s390-disassembler-options.exp: Likewise.
13118
17cd4947
LM
131192017-02-23 Luis Machado <lgustavo@codesourcery.com>
13120
13121 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13122 (check_supported_features): ... this. Changed return type to void.
13123 (supports_rdseed): New static global.
13124 (rdseed): Check supports_rdseed.
13125 (initialize): Call check_supported_features.
13126
2039d74e
EBM
131272017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13128
13129 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13130 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13131 and lqarx/stqcx.
13132 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13133 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13134
a51d7ecf
EBM
131352017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13136
13137 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13138 uppercase.
13139
0224619f
JK
131402017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13141
13142 * gdb.dwarf2/formdata16.c: New file.
13143 * gdb.dwarf2/formdata16.exp: New file.
13144 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13145
216f72a1
JK
131462017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13147
13148 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13149 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13150 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13151 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13152 DW_AT_GNU_*.
13153
43988095
JK
131542017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13155
13156 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13157
99e8a4f9
SDJ
131582017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13159
13160 PR gdb/21164
13161 * gdb.base/maint.exp: Add testcases for when the commands do
13162 not have arguments.
13163
b58a8c0c
TP
131642017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13165
13166 * gdb.cp/chained-calls.exp: Use p instead of P.
13167
4e746bb6
TW
131682017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13169
13170 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13171 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13172
3f77c769
TT
131732017-02-14 Tom Tromey <tom@tromey.com>
13174
13175 PR python/13598:
13176 * gdb.python/py-events.exp: Add before_prompt event tests.
13177
075beec0
AA
131782017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13179
13180 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13181
bf5f525c
LM
131822017-02-13 Luis Machado <lgustavo@codesourcery.com>
13183
13184 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13185 (main): Call my_unique_function_name.
13186 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13187 completion of patterns with a single match.
13188 Add missing -re switches to gdb_test_multiple calls.
13189
13a66184
LM
131902017-02-13 Luis Machado <lgustavo@codesourcery.com>
13191
13192 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13193 return if core file is not recognized.
13194
26a06916
SM
131952017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13196
13197 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13198 and extra UIs.
13199
b761ca9e
SM
132002017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13201
13202 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13203 proc_with_prefix.
13204
b964bee0
TT
132052017-02-10 Tom Tromey <tom@tromey.com>
13206
13207 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13208
18da0c51
MG
132092017-02-10 Martin Galvan <martingalvan@sourceware.org>
13210
13211 PR gdb/21122
13212 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13213
604c4576
JG
132142017-02-08 Jerome Guitton <guitton@adacore.com>
13215
13216 * gdb.base/define.exp: Add test for command abbreviations
13217 in define.
13218
20b477a7
LM
132192017-02-06 Luis Machado <lgustavo@codesourcery.com>
13220
13221 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13222 * gdb.reverse/insn-reverse-x86.c: New file.
13223
3f7b46f2
IR
132242017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13225
13226 PR tdep/20936
13227 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13228
f0fd41c1
TT
132292017-02-03 Tom Tromey <tom@tromey.com>
13230
13231 PR rust/21097:
13232 * gdb.rust/simple.exp: Add new tests.
13233
5be5dbf0
PA
132342017-02-02 Pedro Alves <palves@redhat.com>
13235
13236 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13237 tests.
13238
7346ef59
AA
132392017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13240
13241 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13242 taking a 2-byte value out of a 4-byte DWARF implicit value on
13243 big-endian targets.
13244 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13245 logic. Add test cases for DW_OP_implicit.
13246
787f0025
MM
132472017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13248
13249 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13250
68777c29
MM
132512017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13252
13253 * gdb.btrace/enable.exp: Call gdb_exit before
13254 skip_gdbserver_tests.
13255
0a1c7e28
MM
132562017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13257
13258 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13259 GDBFLAGS.
13260
b5ac99b0
MM
132612017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13262
13263 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13264 the test is skipped.
13265 * gdb.btrace/data.exp: Likewise.
13266 * gdb.btrace/delta.exp: Likewise.
13267 * gdb.btrace/dlopen.exp: Likewise.
13268 * gdb.btrace/enable-running.exp: Likewise.
13269 * gdb.btrace/enable.exp: Likewise.
13270 * gdb.btrace/exception.exp: Likewise.
13271 * gdb.btrace/function_call_history.exp: Likewise.
13272 * gdb.btrace/gcore.exp: Likewise.
13273 * gdb.btrace/instruction_history.exp: Likewise.
13274 * gdb.btrace/multi-thread-step.exp: Likewise.
13275 * gdb.btrace/nohist.exp: Likewise.
13276 * gdb.btrace/non-stop.exp: Likewise.
13277 * gdb.btrace/reconnect.exp: Likewise.
13278 * gdb.btrace/record_goto-step.exp: Likewise.
13279 * gdb.btrace/record_goto.exp: Likewise.
13280 * gdb.btrace/rn-dl-bind.exp: Likewise.
13281 * gdb.btrace/segv.exp: Likewise.
13282 * gdb.btrace/step.exp: Likewise.
13283 * gdb.btrace/stepi.exp: Likewise.
13284 * gdb.btrace/tailcall-only.exp: Likewise.
13285 * gdb.btrace/tailcall.exp: Likewise.
13286 * gdb.btrace/tsx.exp: Likewise.
13287 * gdb.btrace/unknown_functions.exp: Likewise.
13288 * gdb.btrace/vdso.exp: Likewise.
13289
cd4007e4
MM
132902017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13291
13292 * gdb.btrace/enable-running.c: New.
13293 * gdb.btrace/enable-running.exp: New.
13294
2735833d
WT
132952017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13296
13297 * gdb.arch/amd64-gs_base.c: New file.
13298 * gdb.arch/amd64-gs_base.exp: New file.
13299
b51e1e94
LM
133002017-01-26 Luis Machado <lgustavo@codesourcery.com>
13301
13302 * lib/memory.exp: Remove spurious empty newlines.
13303
72ca0410
SM
133042017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13305
13306 * gdb.python/py-bad-printers.exp: Load python file using "source".
13307 * gdb.python/py-events.exp: Likewise.
13308 * gdb.python/py-evsignal.exp: Likewise.
13309 * gdb.python/py-evthreads.exp: Likewise.
13310 * gdb.python/py-frame-args.exp: Likewise.
13311 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13312 * gdb.python/py-framefilter-mi.exp: Likewise.
13313 * gdb.python/py-framefilter.exp: Likewise.
13314 * gdb.python/py-mi.exp: Likewise.
13315 * gdb.python/py-pp-maint.exp: Likewise.
13316 * gdb.python/py-pp-registration.exp: Likewise.
13317 * gdb.python/py-prettyprint.exp: Likewise.
13318 (run_lang_tests): Likewise.
13319 * gdb.python/py-typeprint.exp: Likewise.
13320
e309aa65
LM
133212017-01-26 Luis Machado <lgustavo@codesourcery.com>
13322
13323 * lib/memory.exp: New file.
13324 * lib/gdb.exp: Load memory.exp.
13325 * gdb.base/memattr.exp (delete_memory): Move proc to
13326 lib/memory.exp and rename to delete_memory_regions.
13327 Replace delete_memory with delete_memory_regions.
13328 Cleanup memory regions before tests.
13329 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13330 before tests.
13331
515aff23
LM
133322017-01-26 Luis Machado <lgustavo@codesourcery.com>
13333
13334 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13335 files.
13336 (initialize): New function conditionally defined.
13337 (testcases): Move within conditional block.
13338 (main): Call initialize.
13339 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13340 of gdb.reverse/insn-reverse.c.
13341 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13342 gdb.reverse/insn-reverse.c.
13343
d8b49cf0
YQ
133442017-01-26 Yao Qi <yao.qi@linaro.org>
13345
13346 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13347 disassemble on address 0.
13348
f13a9a0c
YQ
133492017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13350 Yao Qi <yao.qi@linaro.org>
13351
13352 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13353 * gdb.dwarf2/implptr-64bit.S: Remove.
13354 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13355 variables in caller's context. Add DW_OP_implicit_value.
13356
5ac95241
YQ
133572017-01-25 Yao Qi <yao.qi@linaro.org>
13358
13359 * lib/dwarf.exp (Dwarf::_location): Handle
13360 DW_OP_GNU_implicit_pointer with proper size.
13361
23e82930
LM
133622017-01-20 Luis Machado <lgustavo@codesourcery.com>
13363
13364 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13365 and add untested calls.
13366
d334ae25
LM
133672017-01-20 Luis Machado <lgustavo@codesourcery.com>
13368
13369 * gdb.python/python.exp: Check line number against what GDB thinks
13370 the line number is for func1.
13371
f5e6296e
IB
133722017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13373
13374 * gdb.dlang/debug-expr.exp: New file.
13375
5b362f04
LM
133762016-12-23 Luis Machado <lgustavo@codesourcery.com>
13377
13378 Fix test names for the following files:
13379
13380 * gdb.ada/exec_changed.exp
13381 * gdb.ada/info_types.exp
13382 * gdb.arch/aarch64-atomic-inst.exp
13383 * gdb.arch/aarch64-fp.exp
13384 * gdb.arch/altivec-abi.exp
13385 * gdb.arch/altivec-regs.exp
13386 * gdb.arch/amd64-byte.exp
13387 * gdb.arch/amd64-disp-step.exp
13388 * gdb.arch/amd64-dword.exp
13389 * gdb.arch/amd64-entry-value-inline.exp
13390 * gdb.arch/amd64-entry-value-param.exp
13391 * gdb.arch/amd64-entry-value-paramref.exp
13392 * gdb.arch/amd64-entry-value.exp
13393 * gdb.arch/amd64-i386-address.exp
13394 * gdb.arch/amd64-invalid-stack-middle.exp
13395 * gdb.arch/amd64-invalid-stack-top.exp
13396 * gdb.arch/amd64-optimout-repeat.exp
13397 * gdb.arch/amd64-prologue-skip.exp
13398 * gdb.arch/amd64-prologue-xmm.exp
13399 * gdb.arch/amd64-stap-special-operands.exp
13400 * gdb.arch/amd64-stap-wrong-subexp.exp
13401 * gdb.arch/amd64-tailcall-cxx.exp
13402 * gdb.arch/amd64-tailcall-noret.exp
13403 * gdb.arch/amd64-tailcall-ret.exp
13404 * gdb.arch/amd64-tailcall-self.exp
13405 * gdb.arch/amd64-word.exp
13406 * gdb.arch/arm-bl-branch-dest.exp
13407 * gdb.arch/arm-disp-step.exp
13408 * gdb.arch/arm-neon.exp
13409 * gdb.arch/arm-single-step-kernel-helper.exp
13410 * gdb.arch/avr-flash-qualifier.exp
13411 * gdb.arch/disp-step-insn-reloc.exp
13412 * gdb.arch/e500-abi.exp
13413 * gdb.arch/e500-regs.exp
13414 * gdb.arch/ftrace-insn-reloc.exp
13415 * gdb.arch/i386-avx512.exp
13416 * gdb.arch/i386-bp_permanent.exp
13417 * gdb.arch/i386-byte.exp
13418 * gdb.arch/i386-cfi-notcurrent.exp
13419 * gdb.arch/i386-disp-step.exp
13420 * gdb.arch/i386-dr3-watch.exp
13421 * gdb.arch/i386-float.exp
13422 * gdb.arch/i386-gnu-cfi.exp
13423 * gdb.arch/i386-mpx-map.exp
13424 * gdb.arch/i386-mpx-sigsegv.exp
13425 * gdb.arch/i386-mpx-simple_segv.exp
13426 * gdb.arch/i386-mpx.exp
13427 * gdb.arch/i386-permbkpt.exp
13428 * gdb.arch/i386-prologue.exp
13429 * gdb.arch/i386-signal.exp
13430 * gdb.arch/i386-size-overlap.exp
13431 * gdb.arch/i386-unwind.exp
13432 * gdb.arch/i386-word.exp
13433 * gdb.arch/mips-fcr.exp
13434 * gdb.arch/powerpc-d128-regs.exp
13435 * gdb.arch/powerpc-stackless.exp
13436 * gdb.arch/ppc64-atomic-inst.exp
13437 * gdb.arch/s390-stackless.exp
13438 * gdb.arch/s390-tdbregs.exp
13439 * gdb.arch/s390-vregs.exp
13440 * gdb.arch/sparc-sysstep.exp
13441 * gdb.arch/thumb-bx-pc.exp
13442 * gdb.arch/thumb-singlestep.exp
13443 * gdb.arch/thumb2-it.exp
13444 * gdb.arch/vsx-regs.exp
13445 * gdb.asm/asm-source.exp
13446 * gdb.base/a2-run.exp
13447 * gdb.base/advance.exp
13448 * gdb.base/all-bin.exp
13449 * gdb.base/anon.exp
13450 * gdb.base/args.exp
13451 * gdb.base/arithmet.exp
13452 * gdb.base/async-shell.exp
13453 * gdb.base/async.exp
13454 * gdb.base/attach-pie-noexec.exp
13455 * gdb.base/attach-twice.exp
13456 * gdb.base/auto-load.exp
13457 * gdb.base/bang.exp
13458 * gdb.base/bitfields.exp
13459 * gdb.base/break-always.exp
13460 * gdb.base/break-caller-line.exp
13461 * gdb.base/break-entry.exp
13462 * gdb.base/break-inline.exp
13463 * gdb.base/break-on-linker-gcd-function.exp
13464 * gdb.base/break-probes.exp
13465 * gdb.base/break.exp
13466 * gdb.base/breakpoint-shadow.exp
13467 * gdb.base/call-ar-st.exp
13468 * gdb.base/call-sc.exp
13469 * gdb.base/call-signal-resume.exp
13470 * gdb.base/call-strs.exp
13471 * gdb.base/callfuncs.exp
13472 * gdb.base/catch-fork-static.exp
13473 * gdb.base/catch-gdb-caused-signals.exp
13474 * gdb.base/catch-load.exp
13475 * gdb.base/catch-signal-fork.exp
13476 * gdb.base/catch-signal.exp
13477 * gdb.base/catch-syscall.exp
13478 * gdb.base/charset.exp
13479 * gdb.base/checkpoint.exp
13480 * gdb.base/chng-syms.exp
13481 * gdb.base/code-expr.exp
13482 * gdb.base/code_elim.exp
13483 * gdb.base/commands.exp
13484 * gdb.base/completion.exp
13485 * gdb.base/complex.exp
13486 * gdb.base/cond-expr.exp
13487 * gdb.base/condbreak.exp
13488 * gdb.base/consecutive.exp
13489 * gdb.base/continue-all-already-running.exp
13490 * gdb.base/coredump-filter.exp
13491 * gdb.base/corefile.exp
13492 * gdb.base/dbx.exp
13493 * gdb.base/debug-expr.exp
13494 * gdb.base/define.exp
13495 * gdb.base/del.exp
13496 * gdb.base/disabled-location.exp
13497 * gdb.base/disasm-end-cu.exp
13498 * gdb.base/disasm-optim.exp
13499 * gdb.base/display.exp
13500 * gdb.base/duplicate-bp.exp
13501 * gdb.base/ena-dis-br.exp
13502 * gdb.base/ending-run.exp
13503 * gdb.base/enumval.exp
13504 * gdb.base/environ.exp
13505 * gdb.base/eu-strip-infcall.exp
13506 * gdb.base/eval-avoid-side-effects.exp
13507 * gdb.base/eval-skip.exp
13508 * gdb.base/exitsignal.exp
13509 * gdb.base/expand-psymtabs.exp
13510 * gdb.base/filesym.exp
13511 * gdb.base/find-unmapped.exp
13512 * gdb.base/finish.exp
13513 * gdb.base/float.exp
13514 * gdb.base/foll-exec-mode.exp
13515 * gdb.base/foll-exec.exp
13516 * gdb.base/foll-fork.exp
13517 * gdb.base/fortran-sym-case.exp
13518 * gdb.base/freebpcmd.exp
13519 * gdb.base/func-ptr.exp
13520 * gdb.base/func-ptrs.exp
13521 * gdb.base/funcargs.exp
13522 * gdb.base/gcore-buffer-overflow.exp
13523 * gdb.base/gcore-relro-pie.exp
13524 * gdb.base/gcore-relro.exp
13525 * gdb.base/gcore.exp
13526 * gdb.base/gdb1090.exp
13527 * gdb.base/gdb11530.exp
13528 * gdb.base/gdb11531.exp
13529 * gdb.base/gdb1821.exp
13530 * gdb.base/gdbindex-stabs.exp
13531 * gdb.base/gdbvars.exp
13532 * gdb.base/hbreak.exp
13533 * gdb.base/hbreak2.exp
13534 * gdb.base/included.exp
13535 * gdb.base/infcall-input.exp
13536 * gdb.base/inferior-died.exp
13537 * gdb.base/infnan.exp
13538 * gdb.base/info-macros.exp
13539 * gdb.base/info-os.exp
13540 * gdb.base/info-proc.exp
13541 * gdb.base/info-shared.exp
13542 * gdb.base/info-target.exp
13543 * gdb.base/infoline.exp
13544 * gdb.base/interp.exp
13545 * gdb.base/interrupt.exp
13546 * gdb.base/jit-reader.exp
13547 * gdb.base/jit-simple.exp
13548 * gdb.base/kill-after-signal.exp
13549 * gdb.base/kill-detach-inferiors-cmd.exp
13550 * gdb.base/label.exp
13551 * gdb.base/langs.exp
13552 * gdb.base/ldbl_e308.exp
13553 * gdb.base/line-symtabs.exp
13554 * gdb.base/linespecs.exp
13555 * gdb.base/list.exp
13556 * gdb.base/long_long.exp
13557 * gdb.base/longest-types.exp
13558 * gdb.base/maint.exp
13559 * gdb.base/max-value-size.exp
13560 * gdb.base/memattr.exp
13561 * gdb.base/mips_pro.exp
13562 * gdb.base/morestack.exp
13563 * gdb.base/moribund-step.exp
13564 * gdb.base/multi-forks.exp
13565 * gdb.base/nested-addr.exp
13566 * gdb.base/nextoverexit.exp
13567 * gdb.base/noreturn-finish.exp
13568 * gdb.base/noreturn-return.exp
13569 * gdb.base/nostdlib.exp
13570 * gdb.base/offsets.exp
13571 * gdb.base/opaque.exp
13572 * gdb.base/pc-fp.exp
13573 * gdb.base/permissions.exp
13574 * gdb.base/print-symbol-loading.exp
13575 * gdb.base/prologue-include.exp
13576 * gdb.base/psymtab.exp
13577 * gdb.base/ptype.exp
13578 * gdb.base/random-signal.exp
13579 * gdb.base/randomize.exp
13580 * gdb.base/range-stepping.exp
13581 * gdb.base/readline-ask.exp
13582 * gdb.base/recpar.exp
13583 * gdb.base/recurse.exp
13584 * gdb.base/relational.exp
13585 * gdb.base/restore.exp
13586 * gdb.base/return-nodebug.exp
13587 * gdb.base/return.exp
13588 * gdb.base/run-after-attach.exp
13589 * gdb.base/save-bp.exp
13590 * gdb.base/scope.exp
13591 * gdb.base/sect-cmd.exp
13592 * gdb.base/set-lang-auto.exp
13593 * gdb.base/set-noassign.exp
13594 * gdb.base/setvar.exp
13595 * gdb.base/sigall.exp
13596 * gdb.base/sigbpt.exp
13597 * gdb.base/siginfo-addr.exp
13598 * gdb.base/siginfo-infcall.exp
13599 * gdb.base/siginfo-obj.exp
13600 * gdb.base/siginfo.exp
13601 * gdb.base/signals-state-child.exp
13602 * gdb.base/signest.exp
13603 * gdb.base/sigstep.exp
13604 * gdb.base/sizeof.exp
13605 * gdb.base/skip.exp
13606 * gdb.base/solib-corrupted.exp
13607 * gdb.base/solib-nodir.exp
13608 * gdb.base/solib-search.exp
13609 * gdb.base/stack-checking.exp
13610 * gdb.base/stale-infcall.exp
13611 * gdb.base/stap-probe.exp
13612 * gdb.base/start.exp
13613 * gdb.base/step-break.exp
13614 * gdb.base/step-bt.exp
13615 * gdb.base/step-line.exp
13616 * gdb.base/step-over-exit.exp
13617 * gdb.base/step-over-syscall.exp
13618 * gdb.base/step-resume-infcall.exp
13619 * gdb.base/step-test.exp
13620 * gdb.base/store.exp
13621 * gdb.base/structs3.exp
13622 * gdb.base/sym-file.exp
13623 * gdb.base/symbol-without-target_section.exp
13624 * gdb.base/term.exp
13625 * gdb.base/testenv.exp
13626 * gdb.base/ui-redirect.exp
13627 * gdb.base/until.exp
13628 * gdb.base/unwindonsignal.exp
13629 * gdb.base/value-double-free.exp
13630 * gdb.base/vla-datatypes.exp
13631 * gdb.base/vla-ptr.exp
13632 * gdb.base/vla-sideeffect.exp
13633 * gdb.base/volatile.exp
13634 * gdb.base/watch-cond-infcall.exp
13635 * gdb.base/watch-cond.exp
13636 * gdb.base/watch-non-mem.exp
13637 * gdb.base/watch-read.exp
13638 * gdb.base/watch-vfork.exp
13639 * gdb.base/watchpoint-cond-gone.exp
13640 * gdb.base/watchpoint-delete.exp
13641 * gdb.base/watchpoint-hw-hit-once.exp
13642 * gdb.base/watchpoint-hw.exp
13643 * gdb.base/watchpoint-stops-at-right-insn.exp
13644 * gdb.base/watchpoints.exp
13645 * gdb.base/wchar.exp
13646 * gdb.base/whatis-exp.exp
13647 * gdb.btrace/buffer-size.exp
13648 * gdb.btrace/data.exp
13649 * gdb.btrace/delta.exp
13650 * gdb.btrace/dlopen.exp
13651 * gdb.btrace/enable.exp
13652 * gdb.btrace/exception.exp
13653 * gdb.btrace/function_call_history.exp
13654 * gdb.btrace/gcore.exp
13655 * gdb.btrace/instruction_history.exp
13656 * gdb.btrace/nohist.exp
13657 * gdb.btrace/reconnect.exp
13658 * gdb.btrace/record_goto-step.exp
13659 * gdb.btrace/record_goto.exp
13660 * gdb.btrace/rn-dl-bind.exp
13661 * gdb.btrace/segv.exp
13662 * gdb.btrace/step.exp
13663 * gdb.btrace/stepi.exp
13664 * gdb.btrace/tailcall-only.exp
13665 * gdb.btrace/tailcall.exp
13666 * gdb.btrace/tsx.exp
13667 * gdb.btrace/unknown_functions.exp
13668 * gdb.btrace/vdso.exp
13669 * gdb.compile/compile-ifunc.exp
13670 * gdb.compile/compile-ops.exp
13671 * gdb.compile/compile-print.exp
13672 * gdb.compile/compile-setjmp.exp
13673 * gdb.cp/abstract-origin.exp
13674 * gdb.cp/ambiguous.exp
13675 * gdb.cp/annota2.exp
13676 * gdb.cp/annota3.exp
13677 * gdb.cp/anon-ns.exp
13678 * gdb.cp/anon-struct.exp
13679 * gdb.cp/anon-union.exp
13680 * gdb.cp/arg-reference.exp
13681 * gdb.cp/baseenum.exp
13682 * gdb.cp/bool.exp
13683 * gdb.cp/breakpoint.exp
13684 * gdb.cp/bs15503.exp
13685 * gdb.cp/call-c.exp
13686 * gdb.cp/casts.exp
13687 * gdb.cp/chained-calls.exp
13688 * gdb.cp/class2.exp
13689 * gdb.cp/classes.exp
13690 * gdb.cp/cmpd-minsyms.exp
13691 * gdb.cp/converts.exp
13692 * gdb.cp/cp-relocate.exp
13693 * gdb.cp/cpcompletion.exp
13694 * gdb.cp/cpexprs.exp
13695 * gdb.cp/cplabel.exp
13696 * gdb.cp/cplusfuncs.exp
13697 * gdb.cp/cpsizeof.exp
13698 * gdb.cp/ctti.exp
13699 * gdb.cp/derivation.exp
13700 * gdb.cp/destrprint.exp
13701 * gdb.cp/dispcxx.exp
13702 * gdb.cp/enum-class.exp
13703 * gdb.cp/exception.exp
13704 * gdb.cp/exceptprint.exp
13705 * gdb.cp/expand-psymtabs-cxx.exp
13706 * gdb.cp/expand-sals.exp
13707 * gdb.cp/extern-c.exp
13708 * gdb.cp/filename.exp
13709 * gdb.cp/formatted-ref.exp
13710 * gdb.cp/fpointer.exp
13711 * gdb.cp/gdb1355.exp
13712 * gdb.cp/gdb2495.exp
13713 * gdb.cp/hang.exp
13714 * gdb.cp/impl-this.exp
13715 * gdb.cp/infcall-dlopen.exp
13716 * gdb.cp/inherit.exp
13717 * gdb.cp/iostream.exp
13718 * gdb.cp/koenig.exp
13719 * gdb.cp/local.exp
13720 * gdb.cp/m-data.exp
13721 * gdb.cp/m-static.exp
13722 * gdb.cp/mb-ctor.exp
13723 * gdb.cp/mb-inline.exp
13724 * gdb.cp/mb-templates.exp
13725 * gdb.cp/member-name.exp
13726 * gdb.cp/member-ptr.exp
13727 * gdb.cp/meth-typedefs.exp
13728 * gdb.cp/method.exp
13729 * gdb.cp/method2.exp
13730 * gdb.cp/minsym-fallback.exp
13731 * gdb.cp/misc.exp
13732 * gdb.cp/namelessclass.exp
13733 * gdb.cp/namespace-enum.exp
13734 * gdb.cp/namespace-nested-import.exp
13735 * gdb.cp/namespace.exp
13736 * gdb.cp/nextoverthrow.exp
13737 * gdb.cp/no-dmgl-verbose.exp
13738 * gdb.cp/non-trivial-retval.exp
13739 * gdb.cp/noparam.exp
13740 * gdb.cp/nsdecl.exp
13741 * gdb.cp/nsimport.exp
13742 * gdb.cp/nsnested.exp
13743 * gdb.cp/nsnoimports.exp
13744 * gdb.cp/nsrecurs.exp
13745 * gdb.cp/nsstress.exp
13746 * gdb.cp/nsusing.exp
13747 * gdb.cp/operator.exp
13748 * gdb.cp/oranking.exp
13749 * gdb.cp/overload-const.exp
13750 * gdb.cp/overload.exp
13751 * gdb.cp/ovldbreak.exp
13752 * gdb.cp/ovsrch.exp
13753 * gdb.cp/paren-type.exp
13754 * gdb.cp/parse-lang.exp
13755 * gdb.cp/pass-by-ref.exp
13756 * gdb.cp/pr-1023.exp
13757 * gdb.cp/pr-1210.exp
13758 * gdb.cp/pr-574.exp
13759 * gdb.cp/pr10687.exp
13760 * gdb.cp/pr12028.exp
13761 * gdb.cp/pr17132.exp
13762 * gdb.cp/pr17494.exp
13763 * gdb.cp/pr9067.exp
13764 * gdb.cp/pr9167.exp
13765 * gdb.cp/pr9631.exp
13766 * gdb.cp/printmethod.exp
13767 * gdb.cp/psmang.exp
13768 * gdb.cp/psymtab-parameter.exp
13769 * gdb.cp/ptype-cv-cp.exp
13770 * gdb.cp/ptype-flags.exp
13771 * gdb.cp/re-set-overloaded.exp
13772 * gdb.cp/ref-types.exp
13773 * gdb.cp/rtti.exp
13774 * gdb.cp/scope-err.exp
13775 * gdb.cp/shadow.exp
13776 * gdb.cp/smartp.exp
13777 * gdb.cp/static-method.exp
13778 * gdb.cp/static-print-quit.exp
13779 * gdb.cp/temargs.exp
13780 * gdb.cp/templates.exp
13781 * gdb.cp/try_catch.exp
13782 * gdb.cp/typedef-operator.exp
13783 * gdb.cp/typeid.exp
13784 * gdb.cp/userdef.exp
13785 * gdb.cp/using-crash.exp
13786 * gdb.cp/var-tag.exp
13787 * gdb.cp/virtbase.exp
13788 * gdb.cp/virtfunc.exp
13789 * gdb.cp/virtfunc2.exp
13790 * gdb.cp/vla-cxx.exp
13791 * gdb.disasm/t01_mov.exp
13792 * gdb.disasm/t02_mova.exp
13793 * gdb.disasm/t03_add.exp
13794 * gdb.disasm/t04_sub.exp
13795 * gdb.disasm/t05_cmp.exp
13796 * gdb.disasm/t06_ari2.exp
13797 * gdb.disasm/t07_ari3.exp
13798 * gdb.disasm/t08_or.exp
13799 * gdb.disasm/t09_xor.exp
13800 * gdb.disasm/t10_and.exp
13801 * gdb.disasm/t11_logs.exp
13802 * gdb.disasm/t12_bit.exp
13803 * gdb.disasm/t13_otr.exp
13804 * gdb.dlang/circular.exp
13805 * gdb.dwarf2/arr-stride.exp
13806 * gdb.dwarf2/arr-subrange.exp
13807 * gdb.dwarf2/atomic-type.exp
13808 * gdb.dwarf2/bad-regnum.exp
13809 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13810 * gdb.dwarf2/callframecfa.exp
13811 * gdb.dwarf2/clztest.exp
13812 * gdb.dwarf2/corrupt.exp
13813 * gdb.dwarf2/data-loc.exp
13814 * gdb.dwarf2/dup-psym.exp
13815 * gdb.dwarf2/dw2-anon-mptr.exp
13816 * gdb.dwarf2/dw2-anonymous-func.exp
13817 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13818 * gdb.dwarf2/dw2-bad-unresolved.exp
13819 * gdb.dwarf2/dw2-basic.exp
13820 * gdb.dwarf2/dw2-canonicalize-type.exp
13821 * gdb.dwarf2/dw2-case-insensitive.exp
13822 * gdb.dwarf2/dw2-common-block.exp
13823 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13824 * gdb.dwarf2/dw2-compressed.exp
13825 * gdb.dwarf2/dw2-const.exp
13826 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13827 * gdb.dwarf2/dw2-cu-size.exp
13828 * gdb.dwarf2/dw2-dup-frame.exp
13829 * gdb.dwarf2/dw2-entry-value.exp
13830 * gdb.dwarf2/dw2-icycle.exp
13831 * gdb.dwarf2/dw2-ifort-parameter.exp
13832 * gdb.dwarf2/dw2-inline-break.exp
13833 * gdb.dwarf2/dw2-inline-param.exp
13834 * gdb.dwarf2/dw2-intercu.exp
13835 * gdb.dwarf2/dw2-intermix.exp
13836 * gdb.dwarf2/dw2-lexical-block-bare.exp
13837 * gdb.dwarf2/dw2-linkage-name-trust.exp
13838 * gdb.dwarf2/dw2-minsym-in-cu.exp
13839 * gdb.dwarf2/dw2-noloc.exp
13840 * gdb.dwarf2/dw2-op-call.exp
13841 * gdb.dwarf2/dw2-op-out-param.exp
13842 * gdb.dwarf2/dw2-opt-structptr.exp
13843 * gdb.dwarf2/dw2-param-error.exp
13844 * gdb.dwarf2/dw2-producer.exp
13845 * gdb.dwarf2/dw2-ranges-base.exp
13846 * gdb.dwarf2/dw2-ref-missing-frame.exp
13847 * gdb.dwarf2/dw2-reg-undefined.exp
13848 * gdb.dwarf2/dw2-regno-invalid.exp
13849 * gdb.dwarf2/dw2-restore.exp
13850 * gdb.dwarf2/dw2-restrict.exp
13851 * gdb.dwarf2/dw2-single-line-discriminators.exp
13852 * gdb.dwarf2/dw2-strp.exp
13853 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13854 * gdb.dwarf2/dw2-unresolved.exp
13855 * gdb.dwarf2/dw2-var-zero-addr.exp
13856 * gdb.dwarf2/dw4-sig-types.exp
13857 * gdb.dwarf2/dwz.exp
13858 * gdb.dwarf2/dynarr-ptr.exp
13859 * gdb.dwarf2/enum-type.exp
13860 * gdb.dwarf2/gdb-index.exp
13861 * gdb.dwarf2/implptr-64bit.exp
13862 * gdb.dwarf2/implptr-optimized-out.exp
13863 * gdb.dwarf2/implptr.exp
13864 * gdb.dwarf2/implref-array.exp
13865 * gdb.dwarf2/implref-const.exp
13866 * gdb.dwarf2/implref-global.exp
13867 * gdb.dwarf2/implref-struct.exp
13868 * gdb.dwarf2/mac-fileno.exp
13869 * gdb.dwarf2/main-subprogram.exp
13870 * gdb.dwarf2/member-ptr-forwardref.exp
13871 * gdb.dwarf2/method-ptr.exp
13872 * gdb.dwarf2/missing-sig-type.exp
13873 * gdb.dwarf2/nonvar-access.exp
13874 * gdb.dwarf2/opaque-type-lookup.exp
13875 * gdb.dwarf2/pieces-optimized-out.exp
13876 * gdb.dwarf2/pieces.exp
13877 * gdb.dwarf2/pr10770.exp
13878 * gdb.dwarf2/pr13961.exp
13879 * gdb.dwarf2/staticvirtual.exp
13880 * gdb.dwarf2/subrange.exp
13881 * gdb.dwarf2/symtab-producer.exp
13882 * gdb.dwarf2/trace-crash.exp
13883 * gdb.dwarf2/typeddwarf.exp
13884 * gdb.dwarf2/valop.exp
13885 * gdb.dwarf2/watch-notconst.exp
13886 * gdb.fortran/array-element.exp
13887 * gdb.fortran/charset.exp
13888 * gdb.fortran/common-block.exp
13889 * gdb.fortran/complex.exp
13890 * gdb.fortran/derived-type-function.exp
13891 * gdb.fortran/derived-type.exp
13892 * gdb.fortran/logical.exp
13893 * gdb.fortran/module.exp
13894 * gdb.fortran/multi-dim.exp
13895 * gdb.fortran/nested-funcs.exp
13896 * gdb.fortran/print-formatted.exp
13897 * gdb.fortran/subarray.exp
13898 * gdb.fortran/vla-alloc-assoc.exp
13899 * gdb.fortran/vla-datatypes.exp
13900 * gdb.fortran/vla-history.exp
13901 * gdb.fortran/vla-ptr-info.exp
13902 * gdb.fortran/vla-ptype-sub.exp
13903 * gdb.fortran/vla-ptype.exp
13904 * gdb.fortran/vla-sizeof.exp
13905 * gdb.fortran/vla-type.exp
13906 * gdb.fortran/vla-value-sub-arbitrary.exp
13907 * gdb.fortran/vla-value-sub-finish.exp
13908 * gdb.fortran/vla-value-sub.exp
13909 * gdb.fortran/vla-value.exp
13910 * gdb.fortran/whatis_type.exp
13911 * gdb.go/chan.exp
13912 * gdb.go/handcall.exp
13913 * gdb.go/hello.exp
13914 * gdb.go/integers.exp
13915 * gdb.go/methods.exp
13916 * gdb.go/package.exp
13917 * gdb.go/strings.exp
13918 * gdb.go/types.exp
13919 * gdb.go/unsafe.exp
13920 * gdb.guile/scm-arch.exp
13921 * gdb.guile/scm-block.exp
13922 * gdb.guile/scm-breakpoint.exp
13923 * gdb.guile/scm-cmd.exp
13924 * gdb.guile/scm-disasm.exp
13925 * gdb.guile/scm-equal.exp
13926 * gdb.guile/scm-frame-args.exp
13927 * gdb.guile/scm-frame-inline.exp
13928 * gdb.guile/scm-frame.exp
13929 * gdb.guile/scm-iterator.exp
13930 * gdb.guile/scm-math.exp
13931 * gdb.guile/scm-objfile.exp
13932 * gdb.guile/scm-ports.exp
13933 * gdb.guile/scm-symbol.exp
13934 * gdb.guile/scm-symtab.exp
13935 * gdb.guile/scm-value-cc.exp
13936 * gdb.guile/types-module.exp
13937 * gdb.linespec/break-ask.exp
13938 * gdb.linespec/cpexplicit.exp
13939 * gdb.linespec/explicit.exp
13940 * gdb.linespec/keywords.exp
13941 * gdb.linespec/linespec.exp
13942 * gdb.linespec/ls-dollar.exp
13943 * gdb.linespec/ls-errs.exp
13944 * gdb.linespec/skip-two.exp
13945 * gdb.linespec/thread.exp
13946 * gdb.mi/mi-async.exp
13947 * gdb.mi/mi-basics.exp
13948 * gdb.mi/mi-break.exp
13949 * gdb.mi/mi-catch-load.exp
13950 * gdb.mi/mi-cli.exp
13951 * gdb.mi/mi-cmd-param-changed.exp
13952 * gdb.mi/mi-console.exp
13953 * gdb.mi/mi-detach.exp
13954 * gdb.mi/mi-disassemble.exp
13955 * gdb.mi/mi-eval.exp
13956 * gdb.mi/mi-file-transfer.exp
13957 * gdb.mi/mi-file.exp
13958 * gdb.mi/mi-fill-memory.exp
13959 * gdb.mi/mi-inheritance-syntax-error.exp
13960 * gdb.mi/mi-linespec-err-cp.exp
13961 * gdb.mi/mi-logging.exp
13962 * gdb.mi/mi-memory-changed.exp
13963 * gdb.mi/mi-read-memory.exp
13964 * gdb.mi/mi-record-changed.exp
13965 * gdb.mi/mi-reg-undefined.exp
13966 * gdb.mi/mi-regs.exp
13967 * gdb.mi/mi-return.exp
13968 * gdb.mi/mi-reverse.exp
13969 * gdb.mi/mi-simplerun.exp
13970 * gdb.mi/mi-solib.exp
13971 * gdb.mi/mi-stack.exp
13972 * gdb.mi/mi-stepi.exp
13973 * gdb.mi/mi-syn-frame.exp
13974 * gdb.mi/mi-until.exp
13975 * gdb.mi/mi-var-block.exp
13976 * gdb.mi/mi-var-child.exp
13977 * gdb.mi/mi-var-cmd.exp
13978 * gdb.mi/mi-var-cp.exp
13979 * gdb.mi/mi-var-display.exp
13980 * gdb.mi/mi-var-invalidate.exp
13981 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13982 * gdb.mi/mi-vla-fortran.exp
13983 * gdb.mi/mi-watch.exp
13984 * gdb.mi/mi2-var-child.exp
13985 * gdb.mi/user-selected-context-sync.exp
13986 * gdb.modula2/unbounded-array.exp
13987 * gdb.multi/dummy-frame-restore.exp
13988 * gdb.multi/multi-arch-exec.exp
13989 * gdb.multi/multi-arch.exp
13990 * gdb.multi/tids.exp
13991 * gdb.multi/watchpoint-multi.exp
13992 * gdb.opencl/callfuncs.exp
13993 * gdb.opencl/convs_casts.exp
13994 * gdb.opencl/datatypes.exp
13995 * gdb.opencl/operators.exp
13996 * gdb.opencl/vec_comps.exp
13997 * gdb.opt/clobbered-registers-O2.exp
13998 * gdb.opt/inline-break.exp
13999 * gdb.opt/inline-bt.exp
14000 * gdb.opt/inline-cmds.exp
14001 * gdb.opt/inline-locals.exp
14002 * gdb.pascal/case-insensitive-symbols.exp
14003 * gdb.pascal/floats.exp
14004 * gdb.pascal/gdb11492.exp
14005 * gdb.python/lib-types.exp
14006 * gdb.python/py-arch.exp
14007 * gdb.python/py-as-string.exp
14008 * gdb.python/py-bad-printers.exp
14009 * gdb.python/py-block.exp
14010 * gdb.python/py-breakpoint-create-fail.exp
14011 * gdb.python/py-breakpoint.exp
14012 * gdb.python/py-caller-is.exp
14013 * gdb.python/py-cmd.exp
14014 * gdb.python/py-explore-cc.exp
14015 * gdb.python/py-explore.exp
14016 * gdb.python/py-finish-breakpoint.exp
14017 * gdb.python/py-finish-breakpoint2.exp
14018 * gdb.python/py-frame-args.exp
14019 * gdb.python/py-frame-inline.exp
14020 * gdb.python/py-frame.exp
14021 * gdb.python/py-framefilter-mi.exp
14022 * gdb.python/py-infthread.exp
14023 * gdb.python/py-lazy-string.exp
14024 * gdb.python/py-linetable.exp
14025 * gdb.python/py-mi-events.exp
14026 * gdb.python/py-mi-objfile.exp
14027 * gdb.python/py-mi.exp
14028 * gdb.python/py-objfile.exp
14029 * gdb.python/py-pp-integral.exp
14030 * gdb.python/py-pp-maint.exp
14031 * gdb.python/py-pp-re-notag.exp
14032 * gdb.python/py-pp-registration.exp
14033 * gdb.python/py-recurse-unwind.exp
14034 * gdb.python/py-strfns.exp
14035 * gdb.python/py-symbol.exp
14036 * gdb.python/py-symtab.exp
14037 * gdb.python/py-sync-interp.exp
14038 * gdb.python/py-typeprint.exp
14039 * gdb.python/py-unwind-maint.exp
14040 * gdb.python/py-unwind.exp
14041 * gdb.python/py-value-cc.exp
14042 * gdb.python/py-xmethods.exp
14043 * gdb.reverse/amd64-tailcall-reverse.exp
14044 * gdb.reverse/break-precsave.exp
14045 * gdb.reverse/break-reverse.exp
14046 * gdb.reverse/consecutive-precsave.exp
14047 * gdb.reverse/consecutive-reverse.exp
14048 * gdb.reverse/finish-precsave.exp
14049 * gdb.reverse/finish-reverse-bkpt.exp
14050 * gdb.reverse/finish-reverse.exp
14051 * gdb.reverse/fstatat-reverse.exp
14052 * gdb.reverse/getresuid-reverse.exp
14053 * gdb.reverse/i386-precsave.exp
14054 * gdb.reverse/i386-reverse.exp
14055 * gdb.reverse/i386-sse-reverse.exp
14056 * gdb.reverse/i387-env-reverse.exp
14057 * gdb.reverse/i387-stack-reverse.exp
14058 * gdb.reverse/insn-reverse.exp
14059 * gdb.reverse/machinestate-precsave.exp
14060 * gdb.reverse/machinestate.exp
14061 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14062 * gdb.reverse/pipe-reverse.exp
14063 * gdb.reverse/readv-reverse.exp
14064 * gdb.reverse/recvmsg-reverse.exp
14065 * gdb.reverse/rerun-prec.exp
14066 * gdb.reverse/s390-mvcle.exp
14067 * gdb.reverse/step-precsave.exp
14068 * gdb.reverse/step-reverse.exp
14069 * gdb.reverse/time-reverse.exp
14070 * gdb.reverse/until-precsave.exp
14071 * gdb.reverse/until-reverse.exp
14072 * gdb.reverse/waitpid-reverse.exp
14073 * gdb.reverse/watch-precsave.exp
14074 * gdb.reverse/watch-reverse.exp
14075 * gdb.rust/generics.exp
14076 * gdb.rust/methods.exp
14077 * gdb.rust/modules.exp
14078 * gdb.rust/simple.exp
14079 * gdb.server/connect-with-no-symbol-file.exp
14080 * gdb.server/ext-attach.exp
14081 * gdb.server/ext-restart.exp
14082 * gdb.server/ext-wrapper.exp
14083 * gdb.server/file-transfer.exp
14084 * gdb.server/server-exec-info.exp
14085 * gdb.server/server-kill.exp
14086 * gdb.server/server-mon.exp
14087 * gdb.server/wrapper.exp
14088 * gdb.stabs/exclfwd.exp
14089 * gdb.stabs/gdb11479.exp
14090 * gdb.threads/clone-new-thread-event.exp
14091 * gdb.threads/corethreads.exp
14092 * gdb.threads/current-lwp-dead.exp
14093 * gdb.threads/dlopen-libpthread.exp
14094 * gdb.threads/gcore-thread.exp
14095 * gdb.threads/sigstep-threads.exp
14096 * gdb.threads/watchpoint-fork.exp
14097 * gdb.trace/actions-changed.exp
14098 * gdb.trace/backtrace.exp
14099 * gdb.trace/change-loc.exp
14100 * gdb.trace/circ.exp
14101 * gdb.trace/collection.exp
14102 * gdb.trace/disconnected-tracing.exp
14103 * gdb.trace/ftrace.exp
14104 * gdb.trace/mi-trace-frame-collected.exp
14105 * gdb.trace/mi-trace-unavailable.exp
14106 * gdb.trace/mi-traceframe-changed.exp
14107 * gdb.trace/mi-tsv-changed.exp
14108 * gdb.trace/no-attach-trace.exp
14109 * gdb.trace/passc-dyn.exp
14110 * gdb.trace/qtro.exp
14111 * gdb.trace/range-stepping.exp
14112 * gdb.trace/read-memory.exp
14113 * gdb.trace/save-trace.exp
14114 * gdb.trace/signal.exp
14115 * gdb.trace/status-stop.exp
14116 * gdb.trace/tfile.exp
14117 * gdb.trace/trace-break.exp
14118 * gdb.trace/trace-buffer-size.exp
14119 * gdb.trace/trace-condition.exp
14120 * gdb.trace/tracefile-pseudo-reg.exp
14121 * gdb.trace/tstatus.exp
14122 * gdb.trace/unavailable.exp
14123 * gdb.trace/while-dyn.exp
14124 * gdb.trace/while-stepping.exp
14125
34c41c68
DE
141262016-12-22 Doug Evans <xdje42@gmail.com>
14127
14128 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14129 and msymbols.
14130
16e69324
YQ
141312016-12-19 Yao Qi <yao.qi@linaro.org>
14132
14133 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14134 (test_with_self): Don't call do_steps_and_nexts, and remove
14135 code about stepping into xmalloc.
14136
f94f411b
YQ
141372016-12-09 Yao Qi <yao.qi@linaro.org>
14138
14139 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14140
141412016-12-09 Yao Qi <yao.qi@linaro.org>
14142
14143 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14144
f1b5deee
PA
141452016-12-09 Pedro Alves <palves@redhat.com>
14146
14147 * gdb.base/all-architectures-0.exp: New file.
14148 * gdb.base/all-architectures-1.exp: New file.
14149 * gdb.base/all-architectures-2.exp: New file.
14150 * gdb.base/all-architectures-3.exp: New file.
14151 * gdb.base/all-architectures-4.exp: New file.
14152 * gdb.base/all-architectures-5.exp: New file.
14153 * gdb.base/all-architectures-6.exp: New file.
14154 * gdb.base/all-architectures-7.exp: New file.
14155 * gdb.base/all-architectures.exp.in: New file.
14156
364ca42e
YQ
141572016-12-09 Yao Qi <yao.qi@linaro.org>
14158
14159 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14160
107c2d62
LM
141612016-12-02 Luis Machado <lgustavo@codesourcery.com>
14162
14163 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14164 possible.
14165 Remove useless pattern-matching code.
14166
df3ee9ca
PA
141672016-12-02 Pedro Alves <palves@redhat.com>
14168
14169 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14170 procedure.
14171 (top level): Call it.
14172
ec835369
PA
141732016-12-02 Pedro Alves <palves@redhat.com>
14174
14175 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14176 New procedure.
14177 (top level): Call it.
14178
01770bbd
PA
141792016-12-02 Pedro Alves <palves@redhat.com>
14180
14181 PR cli/20559
14182 * gdb.base/commands.exp (user_defined_command_args_eval): New
14183 procedure.
14184 (top level): Call it.
14185
008459ea
LM
141862016-12-02 Luis Machado <lgustavo@codesourcery.com>
14187
14188 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14189 timeout handling.
14190
0c1b455e
TT
141912016-12-02 Tom Tromey <tom@tromey.com>
14192
14193 * gdb.dwarf2/main-subprogram.c: New file.
14194 * gdb.dwarf2/main-subprogram.exp: New file.
14195
018572b8
LM
141962016-12-01 Luis Machado <lgustavo@codesourcery.com>
14197
14198 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14199 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14200 gdb_test_no_output for a couple of cases.
14201 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14202
84c93cd5
LM
142032016-12-01 Luis Machado <lgustavo@codesourcery.com>
14204
14205 Fix test names and standardize compilation error messages throughout
14206 the following files:
14207
14208 * gdb.ada/start.exp
14209 * gdb.arch/alpha-step.exp
14210 * gdb.arch/e500-prologue.exp
14211 * gdb.arch/ftrace-insn-reloc.exp
14212 * gdb.arch/gdb1291.exp
14213 * gdb.arch/gdb1431.exp
14214 * gdb.arch/gdb1558.exp
14215 * gdb.arch/i386-dr3-watch.exp
14216 * gdb.arch/i386-sse-stack-align.exp
14217 * gdb.arch/ia64-breakpoint-shadow.exp
14218 * gdb.arch/pa-nullify.exp
14219 * gdb.arch/powerpc-aix-prologue.exp
14220 * gdb.arch/thumb-bx-pc.exp
14221 * gdb.base/annota1.exp
14222 * gdb.base/annota3.exp
14223 * gdb.base/arrayidx.exp
14224 * gdb.base/assign.exp
14225 * gdb.base/attach.exp
14226 * gdb.base/auxv.exp
14227 * gdb.base/bang.exp
14228 * gdb.base/bfp-test.exp
14229 * gdb.base/bigcore.exp
14230 * gdb.base/bitfields2.exp
14231 * gdb.base/break-fun-addr.exp
14232 * gdb.base/break-probes.exp
14233 * gdb.base/call-rt-st.exp
14234 * gdb.base/callexit.exp
14235 * gdb.base/catch-fork-kill.exp
14236 * gdb.base/charset.exp
14237 * gdb.base/checkpoint.exp
14238 * gdb.base/comprdebug.exp
14239 * gdb.base/constvars.exp
14240 * gdb.base/coredump-filter.exp
14241 * gdb.base/cursal.exp
14242 * gdb.base/cvexpr.exp
14243 * gdb.base/detach.exp
14244 * gdb.base/display.exp
14245 * gdb.base/dmsym.exp
14246 * gdb.base/dprintf-pending.exp
14247 * gdb.base/dso2dso.exp
14248 * gdb.base/dtrace-probe.exp
14249 * gdb.base/dump.exp
14250 * gdb.base/enum_cond.exp
14251 * gdb.base/exe-lock.exp
14252 * gdb.base/exec-invalid-sysroot.exp
14253 * gdb.base/execl-update-breakpoints.exp
14254 * gdb.base/exprs.exp
14255 * gdb.base/fileio.exp
14256 * gdb.base/find.exp
14257 * gdb.base/finish.exp
14258 * gdb.base/fixsection.exp
14259 * gdb.base/foll-vfork.exp
14260 * gdb.base/frame-args.exp
14261 * gdb.base/gcore.exp
14262 * gdb.base/gdb1250.exp
14263 * gdb.base/global-var-nested-by-dso.exp
14264 * gdb.base/gnu-ifunc.exp
14265 * gdb.base/hashline1.exp
14266 * gdb.base/hashline2.exp
14267 * gdb.base/hashline3.exp
14268 * gdb.base/hbreak-in-shr-unsupported.exp
14269 * gdb.base/huge.exp
14270 * gdb.base/infcall-input.exp
14271 * gdb.base/info-fun.exp
14272 * gdb.base/info-shared.exp
14273 * gdb.base/jit-simple.exp
14274 * gdb.base/jit-so.exp
14275 * gdb.base/jit.exp
14276 * gdb.base/jump.exp
14277 * gdb.base/label.exp
14278 * gdb.base/lineinc.exp
14279 * gdb.base/logical.exp
14280 * gdb.base/longjmp.exp
14281 * gdb.base/macscp.exp
14282 * gdb.base/miscexprs.exp
14283 * gdb.base/new-ui-echo.exp
14284 * gdb.base/new-ui-pending-input.exp
14285 * gdb.base/new-ui.exp
14286 * gdb.base/nodebug.exp
14287 * gdb.base/nofield.exp
14288 * gdb.base/offsets.exp
14289 * gdb.base/overlays.exp
14290 * gdb.base/pending.exp
14291 * gdb.base/pointers.exp
14292 * gdb.base/pr11022.exp
14293 * gdb.base/printcmds.exp
14294 * gdb.base/prologue.exp
14295 * gdb.base/ptr-typedef.exp
14296 * gdb.base/realname-expand.exp
14297 * gdb.base/relativedebug.exp
14298 * gdb.base/relocate.exp
14299 * gdb.base/remote.exp
14300 * gdb.base/reread.exp
14301 * gdb.base/return2.exp
14302 * gdb.base/savedregs.exp
14303 * gdb.base/sep.exp
14304 * gdb.base/sepdebug.exp
14305 * gdb.base/sepsymtab.exp
14306 * gdb.base/set-inferior-tty.exp
14307 * gdb.base/setshow.exp
14308 * gdb.base/shlib-call.exp
14309 * gdb.base/sigaltstack.exp
14310 * gdb.base/siginfo-addr.exp
14311 * gdb.base/signals.exp
14312 * gdb.base/signull.exp
14313 * gdb.base/sigrepeat.exp
14314 * gdb.base/so-impl-ld.exp
14315 * gdb.base/solib-display.exp
14316 * gdb.base/solib-overlap.exp
14317 * gdb.base/solib-search.exp
14318 * gdb.base/solib-symbol.exp
14319 * gdb.base/structs.exp
14320 * gdb.base/structs2.exp
14321 * gdb.base/symtab-search-order.exp
14322 * gdb.base/twice.exp
14323 * gdb.base/unload.exp
14324 * gdb.base/varargs.exp
14325 * gdb.base/watchpoint-solib.exp
14326 * gdb.base/watchpoint.exp
14327 * gdb.base/whatis.exp
14328 * gdb.base/wrong_frame_bt_full.exp
14329 * gdb.btrace/dlopen.exp
14330 * gdb.cell/ea-standalone.exp
14331 * gdb.cell/ea-test.exp
14332 * gdb.cp/dispcxx.exp
14333 * gdb.cp/gdb2384.exp
14334 * gdb.cp/method2.exp
14335 * gdb.cp/nextoverthrow.exp
14336 * gdb.cp/pr10728.exp
14337 * gdb.disasm/am33.exp
14338 * gdb.disasm/h8300s.exp
14339 * gdb.disasm/mn10300.exp
14340 * gdb.disasm/sh3.exp
14341 * gdb.dwarf2/dw2-dir-file-name.exp
14342 * gdb.fortran/complex.exp
14343 * gdb.fortran/library-module.exp
14344 * gdb.guile/scm-pretty-print.exp
14345 * gdb.guile/scm-symbol.exp
14346 * gdb.guile/scm-type.exp
14347 * gdb.guile/scm-value.exp
14348 * gdb.linespec/linespec.exp
14349 * gdb.mi/gdb701.exp
14350 * gdb.mi/gdb792.exp
14351 * gdb.mi/mi-breakpoint-changed.exp
14352 * gdb.mi/mi-dprintf-pending.exp
14353 * gdb.mi/mi-dprintf.exp
14354 * gdb.mi/mi-exit-code.exp
14355 * gdb.mi/mi-pending.exp
14356 * gdb.mi/mi-solib.exp
14357 * gdb.mi/new-ui-mi-sync.exp
14358 * gdb.mi/pr11022.exp
14359 * gdb.mi/user-selected-context-sync.exp
14360 * gdb.opt/solib-intra-step.exp
14361 * gdb.python/py-events.exp
14362 * gdb.python/py-finish-breakpoint.exp
14363 * gdb.python/py-mi.exp
14364 * gdb.python/py-prettyprint.exp
14365 * gdb.python/py-shared.exp
14366 * gdb.python/py-symbol.exp
14367 * gdb.python/py-template.exp
14368 * gdb.python/py-type.exp
14369 * gdb.python/py-value.exp
14370 * gdb.reverse/solib-precsave.exp
14371 * gdb.reverse/solib-reverse.exp
14372 * gdb.server/solib-list.exp
14373 * gdb.stabs/weird.exp
14374 * gdb.threads/reconnect-signal.exp
14375 * gdb.threads/stepi-random-signal.exp
14376 * gdb.trace/actions.exp
14377 * gdb.trace/ax.exp
14378 * gdb.trace/backtrace.exp
14379 * gdb.trace/change-loc.exp
14380 * gdb.trace/deltrace.exp
14381 * gdb.trace/ftrace-lock.exp
14382 * gdb.trace/ftrace.exp
14383 * gdb.trace/infotrace.exp
14384 * gdb.trace/mi-tracepoint-changed.exp
14385 * gdb.trace/packetlen.exp
14386 * gdb.trace/passcount.exp
14387 * gdb.trace/pending.exp
14388 * gdb.trace/range-stepping.exp
14389 * gdb.trace/report.exp
14390 * gdb.trace/stap-trace.exp
14391 * gdb.trace/tfind.exp
14392 * gdb.trace/trace-break.exp
14393 * gdb.trace/trace-condition.exp
14394 * gdb.trace/trace-enable-disable.exp
14395 * gdb.trace/trace-mt.exp
14396 * gdb.trace/tracecmd.exp
14397 * gdb.trace/tspeed.exp
14398 * gdb.trace/tsv.exp
14399 * lib/perftest.exp
14400
fb9feb35
LM
144012016-12-01 Luis Machado <lgustavo@codesourcery.com>
14402
14403 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14404 with gdb_test_no_output.
14405 Use command as test name.
14406
cd2ddb6c
LM
144072016-12-01 Luis Machado <lgustavo@codesourcery.com>
14408
14409 Fix test names starting with uppercase throughout the files.
14410
14411 * gdb.ada/assign_1.exp
14412 * gdb.ada/boolean_expr.exp
14413 * gdb.base/arrayidx.exp
14414 * gdb.base/del.exp
14415 * gdb.base/gcore-buffer-overflow.exp
14416 * gdb.base/testenv.exp
14417 * gdb.compile/compile.exp
14418 * gdb.python/py-framefilter-invalidarg.exp
14419 * gdb.python/py-framefilter.exp
14420
bb95117e
LM
144212016-12-01 Luis Machado <lgustavo@codesourcery.com>
14422
14423 Fix test names starting with uppercase throughout the files.
14424
14425 * gdb.ada/array_return.exp
14426 * gdb.ada/expr_delims.exp
14427 * gdb.ada/mi_dyn_arr.exp
14428 * gdb.ada/mi_interface.exp
14429 * gdb.ada/mi_var_array.exp
14430 * gdb.ada/watch_arg.exp
14431 * gdb.arch/alpha-step.exp
14432 * gdb.arch/altivec-regs.exp
14433 * gdb.arch/e500-regs.exp
14434 * gdb.arch/powerpc-d128-regs.exp
14435 * gdb.base/arrayidx.exp
14436 * gdb.base/break.exp
14437 * gdb.base/checkpoint.exp
14438 * gdb.base/debug-expr.exp
14439 * gdb.base/dmsym.exp
14440 * gdb.base/radix.exp
14441 * gdb.base/sepdebug.exp
14442 * gdb.base/testenv.exp
14443 * gdb.base/watch_thread_num.exp
14444 * gdb.base/watchpoint-cond-gone.exp
14445 * gdb.cell/break.exp
14446 * gdb.cell/ea-cache.exp
14447 * gdb.compile/compile.exp
14448 * gdb.cp/gdb2495.exp
14449 * gdb.gdb/selftest.exp
14450 * gdb.gdb/xfullpath.exp
14451 * gdb.go/hello.exp
14452 * gdb.go/integers.exp
14453 * gdb.objc/basicclass.exp
14454 * gdb.pascal/hello.exp
14455 * gdb.pascal/integers.exp
14456 * gdb.python/py-breakpoint.exp
14457 * gdb.python/py-cmd.exp
14458 * gdb.python/py-linetable.exp
14459 * gdb.python/py-xmethods.exp
14460 * gdb.python/python.exp
14461 * gdb.reverse/consecutive-precsave.exp
14462 * gdb.reverse/finish-precsave.exp
14463 * gdb.reverse/i386-precsave.exp
14464 * gdb.reverse/machinestate-precsave.exp
14465 * gdb.reverse/sigall-precsave.exp
14466 * gdb.reverse/solib-precsave.exp
14467 * gdb.reverse/step-precsave.exp
14468 * gdb.reverse/until-precsave.exp
14469 * gdb.reverse/watch-precsave.exp
14470 * gdb.threads/leader-exit.exp
14471 * gdb.threads/pthreads.exp
14472 * gdb.threads/wp-replication.exp
14473 * gdb.trace/actions.exp
14474 * gdb.trace/mi-tsv-changed.exp
14475 * gdb.trace/tsv.exp
14476
de97fdd4
LM
144772016-12-01 Luis Machado <lgustavo@codesourcery.com>
14478
14479 Fix test names starting with uppercase throughout the files.
14480
14481 * gdb.arch/i386-bp_permanent.exp
14482 * gdb.arch/i386-gnu-cfi.exp
14483 * gdb.base/disasm-end-cu.exp
14484 * gdb.base/macscp.exp
14485 * gdb.base/pending.exp
14486 * gdb.base/watch_thread_num.exp
14487 * gdb.cp/exception.exp
14488 * gdb.cp/gdb2495.exp
14489 * gdb.cp/local.exp
14490 * gdb.python/py-evsignal.exp
14491 * gdb.python/python.exp
14492 * gdb.trace/tracecmd.exp
14493
9f058c10
LM
144942016-12-01 Luis Machado <lgustavo@codesourcery.com>
14495
14496 Fix test names starting with uppercase throughout the files.
14497
14498 * gdb.base/charset.exp
14499 * gdb.base/eval.exp
14500 * gdb.base/multi-forks.exp
14501 * gdb.guile/scm-progspace.exp
14502 * gdb.opencl/datatypes.exp
14503 * gdb.python/py-block.exp
14504 * gdb.python/py-function.exp
14505 * gdb.python/py-symbol.exp
14506 * gdb.python/py-symtab.exp
14507 * gdb.python/py-xmethods.exp
14508 * gdb.reverse/break-precsave.exp
14509 * gdb.reverse/break-reverse.exp
14510 * gdb.reverse/consecutive-precsave.exp
14511 * gdb.reverse/consecutive-reverse.exp
14512 * gdb.reverse/finish-precsave.exp
14513 * gdb.reverse/finish-reverse-bkpt.exp
14514 * gdb.reverse/finish-reverse.exp
14515 * gdb.reverse/fstatat-reverse.exp
14516 * gdb.reverse/getresuid-reverse.exp
14517 * gdb.reverse/i386-precsave.exp
14518 * gdb.reverse/i386-reverse.exp
14519 * gdb.reverse/i386-sse-reverse.exp
14520 * gdb.reverse/i387-stack-reverse.exp
14521 * gdb.reverse/insn-reverse.exp
14522 * gdb.reverse/machinestate-precsave.exp
14523 * gdb.reverse/machinestate.exp
14524 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14525 * gdb.reverse/pipe-reverse.exp
14526 * gdb.reverse/readv-reverse.exp
14527 * gdb.reverse/recvmsg-reverse.exp
14528 * gdb.reverse/rerun-prec.exp
14529 * gdb.reverse/s390-mvcle.exp
14530 * gdb.reverse/sigall-precsave.exp
14531 * gdb.reverse/sigall-reverse.exp
14532 * gdb.reverse/solib-precsave.exp
14533 * gdb.reverse/solib-reverse.exp
14534 * gdb.reverse/step-precsave.exp
14535 * gdb.reverse/step-reverse.exp
14536 * gdb.reverse/time-reverse.exp
14537 * gdb.reverse/until-precsave.exp
14538 * gdb.reverse/until-reverse.exp
14539 * gdb.reverse/waitpid-reverse.exp
14540 * gdb.reverse/watch-precsave.exp
14541 * gdb.reverse/watch-reverse.exp
14542
cdc7edd7
LM
145432016-12-01 Luis Machado <lgustavo@codesourcery.com>
14544
14545 Fix test names starting with uppercase throughout the files.
14546
14547 * gdb.arch/i386-mpx-simple_segv.exp
14548 * gdb.arch/i386-mpx.exp
14549 * gdb.arch/i386-permbkpt.exp
14550 * gdb.arch/pa-nullify.exp
14551 * gdb.arch/powerpc-d128-regs.exp
14552 * gdb.arch/vsx-regs.exp
14553 * gdb.base/bfp-test.exp
14554 * gdb.base/break.exp
14555 * gdb.base/breakpoint-shadow.exp
14556 * gdb.base/callfuncs.exp
14557 * gdb.base/charset.exp
14558 * gdb.base/commands.exp
14559 * gdb.base/completion.exp
14560 * gdb.base/dfp-test.exp
14561 * gdb.base/echo.exp
14562 * gdb.base/ending-run.exp
14563 * gdb.base/eval.exp
14564 * gdb.base/expand-psymtabs.exp
14565 * gdb.base/float128.exp
14566 * gdb.base/floatn.exp
14567 * gdb.base/foll-exec-mode.exp
14568 * gdb.base/gdb1056.exp
14569 * gdb.base/gdb11531.exp
14570 * gdb.base/kill-after-signal.exp
14571 * gdb.base/multi-forks.exp
14572 * gdb.base/overlays.exp
14573 * gdb.base/pending.exp
14574 * gdb.base/sepdebug.exp
14575 * gdb.base/testenv.exp
14576 * gdb.base/valgrind-db-attach.exp
14577 * gdb.base/watch_thread_num.exp
14578 * gdb.base/watchpoint-cond-gone.exp
14579 * gdb.base/watchpoint.exp
14580 * gdb.base/watchpoints.exp
14581 * gdb.cp/arg-reference.exp
14582 * gdb.cp/baseenum.exp
14583 * gdb.cp/operator.exp
14584 * gdb.cp/shadow.exp
14585 * gdb.dwarf2/dw2-op-out-param.exp
14586 * gdb.dwarf2/dw2-reg-undefined.exp
14587 * gdb.go/chan.exp
14588 * gdb.go/hello.exp
14589 * gdb.go/integers.exp
14590 * gdb.go/methods.exp
14591 * gdb.go/package.exp
14592 * gdb.guile/scm-parameter.exp
14593 * gdb.guile/scm-progspace.exp
14594 * gdb.guile/scm-value.exp
14595 * gdb.mi/mi-pending.exp
14596 * gdb.mi/user-selected-context-sync.exp
14597 * gdb.multi/multi-attach.exp
14598 * gdb.multi/tids.exp
14599 * gdb.opt/clobbered-registers-O2.exp
14600 * gdb.pascal/floats.exp
14601 * gdb.pascal/integers.exp
14602 * gdb.python/py-block.exp
14603 * gdb.python/py-events.exp
14604 * gdb.python/py-parameter.exp
14605 * gdb.python/py-symbol.exp
14606 * gdb.python/py-symtab.exp
14607 * gdb.python/py-type.exp
14608 * gdb.python/py-value.exp
14609 * gdb.python/py-xmethods.exp
14610 * gdb.python/python.exp
14611 * gdb.reverse/break-precsave.exp
14612 * gdb.reverse/consecutive-precsave.exp
14613 * gdb.reverse/finish-precsave.exp
14614 * gdb.reverse/i386-precsave.exp
14615 * gdb.reverse/machinestate-precsave.exp
14616 * gdb.reverse/sigall-precsave.exp
14617 * gdb.reverse/solib-precsave.exp
14618 * gdb.reverse/step-precsave.exp
14619 * gdb.reverse/until-precsave.exp
14620 * gdb.reverse/watch-precsave.exp
14621 * gdb.server/ext-attach.exp
14622 * gdb.server/ext-restart.exp
14623 * gdb.server/ext-run.exp
14624 * gdb.server/ext-wrapper.exp
14625 * gdb.stabs/gdb11479.exp
14626 * gdb.stabs/weird.exp
14627 * gdb.threads/attach-many-short-lived-threads.exp
14628 * gdb.threads/kill.exp
14629 * gdb.threads/watchpoint-fork.exp
14630
bc6c7af4
LM
146312016-12-01 Luis Machado <lgustavo@codesourcery.com>
14632
14633 Fix test names starting with uppercase throughout all the files below.
14634
14635 * gdb.ada/array_return.exp
14636 * gdb.ada/catch_ex.exp
14637 * gdb.ada/info_exc.exp
14638 * gdb.ada/mi_catch_ex.exp
14639 * gdb.ada/mi_dyn_arr.exp
14640 * gdb.ada/mi_ex_cond.exp
14641 * gdb.ada/mi_exc_info.exp
14642 * gdb.ada/mi_interface.exp
14643 * gdb.ada/mi_task_arg.exp
14644 * gdb.ada/mi_task_info.exp
14645 * gdb.ada/mi_var_array.exp
14646 * gdb.arch/alpha-step.exp
14647 * gdb.arch/amd64-disp-step.exp
14648 * gdb.arch/arm-disp-step.exp
14649 * gdb.arch/disp-step-insn-reloc.exp
14650 * gdb.arch/e500-prologue.exp
14651 * gdb.arch/ftrace-insn-reloc.exp
14652 * gdb.arch/gdb1558.exp
14653 * gdb.arch/i386-bp_permanent.exp
14654 * gdb.arch/i386-disp-step.exp
14655 * gdb.arch/i386-float.exp
14656 * gdb.arch/i386-gnu-cfi.exp
14657 * gdb.arch/ia64-breakpoint-shadow.exp
14658 * gdb.arch/mips16-thunks.exp
14659 * gdb.arch/pa-nullify.exp
14660 * gdb.arch/powerpc-aix-prologue.exp
14661 * gdb.arch/powerpc-power.exp
14662 * gdb.arch/ppc-dfp.exp
14663 * gdb.arch/s390-tdbregs.exp
14664 * gdb.arch/spu-info.exp
14665 * gdb.arch/spu-ls.exp
14666 * gdb.arch/thumb-bx-pc.exp
14667 * gdb.base/advance.exp
14668 * gdb.base/annota-input-while-running.exp
14669 * gdb.base/arrayidx.exp
14670 * gdb.base/asmlabel.exp
14671 * gdb.base/async.exp
14672 * gdb.base/attach-wait-input.exp
14673 * gdb.base/auto-connect-native-target.exp
14674 * gdb.base/batch-preserve-term-settings.exp
14675 * gdb.base/bfp-test.exp
14676 * gdb.base/bigcore.exp
14677 * gdb.base/bp-permanent.exp
14678 * gdb.base/break-always.exp
14679 * gdb.base/break-fun-addr.exp
14680 * gdb.base/break-idempotent.exp
14681 * gdb.base/break-main-file-remove-fail.exp
14682 * gdb.base/break-probes.exp
14683 * gdb.base/break-unload-file.exp
14684 * gdb.base/break.exp
14685 * gdb.base/call-ar-st.exp
14686 * gdb.base/call-rt-st.exp
14687 * gdb.base/call-sc.exp
14688 * gdb.base/call-signal-resume.exp
14689 * gdb.base/call-strs.exp
14690 * gdb.base/callexit.exp
14691 * gdb.base/callfuncs.exp
14692 * gdb.base/catch-gdb-caused-signals.exp
14693 * gdb.base/catch-signal-siginfo-cond.exp
14694 * gdb.base/catch-syscall.exp
14695 * gdb.base/compare-sections.exp
14696 * gdb.base/cond-eval-mode.exp
14697 * gdb.base/condbreak-call-false.exp
14698 * gdb.base/consecutive-step-over.exp
14699 * gdb.base/cursal.exp
14700 * gdb.base/disabled-location.exp
14701 * gdb.base/disasm-end-cu.exp
14702 * gdb.base/display.exp
14703 * gdb.base/double-prompt-target-event-error.exp
14704 * gdb.base/dprintf-bp-same-addr.exp
14705 * gdb.base/dprintf-detach.exp
14706 * gdb.base/dprintf-next.exp
14707 * gdb.base/dprintf-non-stop.exp
14708 * gdb.base/dprintf-pending.exp
14709 * gdb.base/dso2dso.exp
14710 * gdb.base/ending-run.exp
14711 * gdb.base/enum_cond.exp
14712 * gdb.base/examine-backward.exp
14713 * gdb.base/exe-lock.exp
14714 * gdb.base/exec-invalid-sysroot.exp
14715 * gdb.base/execl-update-breakpoints.exp
14716 * gdb.base/execution-termios.exp
14717 * gdb.base/fileio.exp
14718 * gdb.base/fixsection.exp
14719 * gdb.base/foll-exec-mode.exp
14720 * gdb.base/foll-exec.exp
14721 * gdb.base/fork-running-state.exp
14722 * gdb.base/frame-args.exp
14723 * gdb.base/fullpath-expand.exp
14724 * gdb.base/func-ptr.exp
14725 * gdb.base/gcore-relro-pie.exp
14726 * gdb.base/gdb1090.exp
14727 * gdb.base/gdb1555.exp
14728 * gdb.base/global-var-nested-by-dso.exp
14729 * gdb.base/gnu-ifunc.exp
14730 * gdb.base/hbreak-in-shr-unsupported.exp
14731 * gdb.base/hbreak-unmapped.exp
14732 * gdb.base/hook-stop.exp
14733 * gdb.base/infcall-input.exp
14734 * gdb.base/info-fun.exp
14735 * gdb.base/info-shared.exp
14736 * gdb.base/interrupt-noterm.exp
14737 * gdb.base/jit-so.exp
14738 * gdb.base/jit.exp
14739 * gdb.base/line-symtabs.exp
14740 * gdb.base/list.exp
14741 * gdb.base/longjmp.exp
14742 * gdb.base/macscp.exp
14743 * gdb.base/max-value-size.exp
14744 * gdb.base/nodebug.exp
14745 * gdb.base/nofield.exp
14746 * gdb.base/overlays.exp
14747 * gdb.base/paginate-after-ctrl-c-running.exp
14748 * gdb.base/paginate-bg-execution.exp
14749 * gdb.base/paginate-inferior-exit.exp
14750 * gdb.base/pending.exp
14751 * gdb.base/pr11022.exp
14752 * gdb.base/printcmds.exp
14753 * gdb.base/ptr-typedef.exp
14754 * gdb.base/ptype.exp
14755 * gdb.base/randomize.exp
14756 * gdb.base/range-stepping.exp
14757 * gdb.base/realname-expand.exp
14758 * gdb.base/relativedebug.exp
14759 * gdb.base/remote.exp
14760 * gdb.base/savedregs.exp
14761 * gdb.base/sepdebug.exp
14762 * gdb.base/set-noassign.exp
14763 * gdb.base/shlib-call.exp
14764 * gdb.base/shreloc.exp
14765 * gdb.base/sigaltstack.exp
14766 * gdb.base/sigbpt.exp
14767 * gdb.base/siginfo-addr.exp
14768 * gdb.base/siginfo-obj.exp
14769 * gdb.base/siginfo-thread.exp
14770 * gdb.base/signest.exp
14771 * gdb.base/signull.exp
14772 * gdb.base/sigrepeat.exp
14773 * gdb.base/skip.exp
14774 * gdb.base/so-impl-ld.exp
14775 * gdb.base/solib-corrupted.exp
14776 * gdb.base/solib-disc.exp
14777 * gdb.base/solib-display.exp
14778 * gdb.base/solib-overlap.exp
14779 * gdb.base/solib-search.exp
14780 * gdb.base/solib-symbol.exp
14781 * gdb.base/source-execution.exp
14782 * gdb.base/sss-bp-on-user-bp-2.exp
14783 * gdb.base/sss-bp-on-user-bp.exp
14784 * gdb.base/stack-checking.exp
14785 * gdb.base/stale-infcall.exp
14786 * gdb.base/step-break.exp
14787 * gdb.base/step-line.exp
14788 * gdb.base/step-over-exit.exp
14789 * gdb.base/step-test.exp
14790 * gdb.base/structs.exp
14791 * gdb.base/sym-file.exp
14792 * gdb.base/symtab-search-order.exp
14793 * gdb.base/term.exp
14794 * gdb.base/type-opaque.exp
14795 * gdb.base/unload.exp
14796 * gdb.base/until-nodebug.exp
14797 * gdb.base/until.exp
14798 * gdb.base/unwindonsignal.exp
14799 * gdb.base/watch-cond.exp
14800 * gdb.base/watch-non-mem.exp
14801 * gdb.base/watch_thread_num.exp
14802 * gdb.base/watchpoint-reuse-slot.exp
14803 * gdb.base/watchpoint-solib.exp
14804 * gdb.base/watchpoint.exp
14805 * gdb.btrace/dlopen.exp
14806 * gdb.cell/arch.exp
14807 * gdb.cell/break.exp
14808 * gdb.cell/bt.exp
14809 * gdb.cell/core.exp
14810 * gdb.cell/data.exp
14811 * gdb.cell/dwarfaddr.exp
14812 * gdb.cell/ea-cache.exp
14813 * gdb.cell/ea-standalone.exp
14814 * gdb.cell/ea-test.exp
14815 * gdb.cell/f-regs.exp
14816 * gdb.cell/fork.exp
14817 * gdb.cell/gcore.exp
14818 * gdb.cell/mem-access.exp
14819 * gdb.cell/ptype.exp
14820 * gdb.cell/registers.exp
14821 * gdb.cell/sizeof.exp
14822 * gdb.cell/solib-symbol.exp
14823 * gdb.cell/solib.exp
14824 * gdb.compile/compile-tls.exp
14825 * gdb.cp/exception.exp
14826 * gdb.cp/gdb2495.exp
14827 * gdb.cp/local.exp
14828 * gdb.cp/mb-inline.exp
14829 * gdb.cp/mb-templates.exp
14830 * gdb.cp/pr10687.exp
14831 * gdb.cp/pr9167.exp
14832 * gdb.cp/scope-err.exp
14833 * gdb.cp/templates.exp
14834 * gdb.cp/virtfunc.exp
14835 * gdb.dwarf2/dw2-dir-file-name.exp
14836 * gdb.dwarf2/dw2-single-line-discriminators.exp
14837 * gdb.fortran/complex.exp
14838 * gdb.fortran/library-module.exp
14839 * gdb.guile/guile.exp
14840 * gdb.guile/scm-cmd.exp
14841 * gdb.guile/scm-frame-inline.exp
14842 * gdb.guile/scm-objfile.exp
14843 * gdb.guile/scm-pretty-print.exp
14844 * gdb.guile/scm-symbol.exp
14845 * gdb.guile/scm-type.exp
14846 * gdb.guile/scm-value.exp
14847 * gdb.linespec/keywords.exp
14848 * gdb.linespec/ls-errs.exp
14849 * gdb.linespec/macro-relative.exp
14850 * gdb.linespec/thread.exp
14851 * gdb.mi/mi-breakpoint-changed.exp
14852 * gdb.mi/mi-dprintf-pending.exp
14853 * gdb.mi/mi-fullname-deleted.exp
14854 * gdb.mi/mi-logging.exp
14855 * gdb.mi/mi-pending.exp
14856 * gdb.mi/mi-solib.exp
14857 * gdb.mi/new-ui-mi-sync.exp
14858 * gdb.mi/user-selected-context-sync.exp
14859 * gdb.multi/dummy-frame-restore.exp
14860 * gdb.multi/multi-arch-exec.exp
14861 * gdb.multi/remove-inferiors.exp
14862 * gdb.multi/watchpoint-multi-exit.exp
14863 * gdb.opt/solib-intra-step.exp
14864 * gdb.perf/backtrace.exp
14865 * gdb.perf/single-step.exp
14866 * gdb.perf/skip-command.exp
14867 * gdb.perf/skip-prologue.exp
14868 * gdb.perf/solib.exp
14869 * gdb.python/lib-types.exp
14870 * gdb.python/py-as-string.exp
14871 * gdb.python/py-bad-printers.exp
14872 * gdb.python/py-block.exp
14873 * gdb.python/py-breakpoint.exp
14874 * gdb.python/py-cmd.exp
14875 * gdb.python/py-events.exp
14876 * gdb.python/py-evthreads.exp
14877 * gdb.python/py-finish-breakpoint.exp
14878 * gdb.python/py-finish-breakpoint2.exp
14879 * gdb.python/py-frame-inline.exp
14880 * gdb.python/py-frame.exp
14881 * gdb.python/py-inferior.exp
14882 * gdb.python/py-infthread.exp
14883 * gdb.python/py-mi.exp
14884 * gdb.python/py-objfile.exp
14885 * gdb.python/py-pp-maint.exp
14886 * gdb.python/py-pp-registration.exp
14887 * gdb.python/py-prettyprint.exp
14888 * gdb.python/py-recurse-unwind.exp
14889 * gdb.python/py-shared.exp
14890 * gdb.python/py-symbol.exp
14891 * gdb.python/py-symtab.exp
14892 * gdb.python/py-template.exp
14893 * gdb.python/py-type.exp
14894 * gdb.python/py-unwind-maint.exp
14895 * gdb.python/py-unwind.exp
14896 * gdb.python/py-value.exp
14897 * gdb.python/python.exp
14898 * gdb.reverse/finish-reverse-bkpt.exp
14899 * gdb.reverse/insn-reverse.exp
14900 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14901 * gdb.reverse/solib-precsave.exp
14902 * gdb.reverse/solib-reverse.exp
14903 * gdb.stabs/gdb11479.exp
14904 * gdb.stabs/weird.exp
14905 * gdb.threads/fork-child-threads.exp
14906 * gdb.threads/fork-plus-threads.exp
14907 * gdb.threads/fork-thread-pending.exp
14908 * gdb.threads/forking-threads-plus-breakpoint.exp
14909 * gdb.threads/hand-call-in-threads.exp
14910 * gdb.threads/interrupted-hand-call.exp
14911 * gdb.threads/linux-dp.exp
14912 * gdb.threads/local-watch-wrong-thread.exp
14913 * gdb.threads/next-while-other-thread-longjmps.exp
14914 * gdb.threads/non-ldr-exit.exp
14915 * gdb.threads/pending-step.exp
14916 * gdb.threads/print-threads.exp
14917 * gdb.threads/process-dies-while-detaching.exp
14918 * gdb.threads/process-dies-while-handling-bp.exp
14919 * gdb.threads/pthreads.exp
14920 * gdb.threads/queue-signal.exp
14921 * gdb.threads/reconnect-signal.exp
14922 * gdb.threads/signal-command-handle-nopass.exp
14923 * gdb.threads/signal-command-multiple-signals-pending.exp
14924 * gdb.threads/signal-delivered-right-thread.exp
14925 * gdb.threads/signal-sigtrap.exp
14926 * gdb.threads/sigthread.exp
14927 * gdb.threads/staticthreads.exp
14928 * gdb.threads/stepi-random-signal.exp
14929 * gdb.threads/thread-unwindonsignal.exp
14930 * gdb.threads/thread_check.exp
14931 * gdb.threads/thread_events.exp
14932 * gdb.threads/tid-reuse.exp
14933 * gdb.threads/tls-nodebug.exp
14934 * gdb.threads/tls-shared.exp
14935 * gdb.threads/tls-so_extern.exp
14936 * gdb.threads/tls.exp
14937 * gdb.threads/wp-replication.exp
14938 * gdb.trace/actions-changed.exp
14939 * gdb.trace/actions.exp
14940 * gdb.trace/backtrace.exp
14941 * gdb.trace/change-loc.exp
14942 * gdb.trace/collection.exp
14943 * gdb.trace/deltrace.exp
14944 * gdb.trace/disconnected-tracing.exp
14945 * gdb.trace/entry-values.exp
14946 * gdb.trace/ftrace-lock.exp
14947 * gdb.trace/ftrace.exp
14948 * gdb.trace/infotrace.exp
14949 * gdb.trace/mi-trace-frame-collected.exp
14950 * gdb.trace/mi-trace-unavailable.exp
14951 * gdb.trace/mi-traceframe-changed.exp
14952 * gdb.trace/mi-tracepoint-changed.exp
14953 * gdb.trace/mi-tsv-changed.exp
14954 * gdb.trace/no-attach-trace.exp
14955 * gdb.trace/packetlen.exp
14956 * gdb.trace/passc-dyn.exp
14957 * gdb.trace/passcount.exp
14958 * gdb.trace/pending.exp
14959 * gdb.trace/pr16508.exp
14960 * gdb.trace/qtro.exp
14961 * gdb.trace/range-stepping.exp
14962 * gdb.trace/read-memory.exp
14963 * gdb.trace/report.exp
14964 * gdb.trace/save-trace.exp
14965 * gdb.trace/signal.exp
14966 * gdb.trace/stap-trace.exp
14967 * gdb.trace/status-stop.exp
14968 * gdb.trace/strace.exp
14969 * gdb.trace/tfile.exp
14970 * gdb.trace/tfind.exp
14971 * gdb.trace/trace-break.exp
14972 * gdb.trace/trace-condition.exp
14973 * gdb.trace/trace-enable-disable.exp
14974 * gdb.trace/trace-mt.exp
14975 * gdb.trace/tracecmd.exp
14976 * gdb.trace/tracefile-pseudo-reg.exp
14977 * gdb.trace/tspeed.exp
14978 * gdb.trace/tstatus.exp
14979 * gdb.trace/tsv.exp
14980 * gdb.trace/unavailable.exp
14981 * gdb.trace/while-dyn.exp
14982 * gdb.trace/while-stepping.exp
14983 * lib/gdb-guile.exp
14984 * lib/gdb.exp
14985 * lib/mi-support.exp
14986 * lib/pascal.exp
14987 * lib/perftest.exp
14988 * lib/prelink-support.exp
14989 * lib/selftest-support.exp
14990
ad02e4fe
SM
149912016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14992
14993 * Makefile.in: Include disable-implicit-rules.mk.
14994
22347e55
AA
149952016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14996
14997 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14998 non-byte-aligned bit fields.
14999
da5b30da
AA
150002016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15001
15002 PR gdb/12616
15003 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
15004 respects the DW_AT_data_bit_offset attribute.
15005
b593ecca
SM
150062016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
15007
15008 * gdb.base/default.exp: Fix output of "set language".
15009
3b165252
SM
150102016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
15011
15012 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
15013 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
15014 make.
15015 * configure.ac: Remove checks for the make program.
15016 * configure: Re-generate.
15017
1a2f3d7f
KB
150182016-11-16 Kevin Buettner <kevinb@redhat.com>
15019
15020 * gdb.python/py-recurse-unwind.c (main): Add loop.
15021 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
15022 to read_register() and gdb.parse_and_eval(). Make each code
15023 call a separate case that can be individually tested.
15024 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
15025 proc. Call cont_and_backtrace for each of the code paths that
15026 we want to test in the unwinder.
15027
b7f38fda
AA
150282016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
15029
15030 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
15031 the definition of struct S.
15032
1f8db343
CM
150332016-11-11 Catherine Moore <clm@codesourcery.com>
15034
15035 * gdb.base/dump.exp: Identify verilog format dump tests as such.
15036
fad0c9fb
PA
150372016-11-09 Pedro Alves <palves@redhat.com>
15038
15039 * gdb.base/commands.exp (runto_or_return): New procedure.
15040 (gdbvar_simple_if_test, gdbvar_simple_while_test)
15041 (gdbvar_complex_if_while_test, progvar_simple_if_test)
15042 (progvar_simple_while_test, progvar_complex_if_while_test)
15043 (if_while_breakpoint_command_test)
15044 (infrun_breakpoint_command_test, breakpoint_command_test)
15045 (user_defined_command_test, watchpoint_command_test)
15046 (test_command_prompt_position, redefine_hook_test)
15047 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
15048 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
15049 multi_line_input and multi_line. Remove gdb_expect and
15050 gdb_stop_suppressing_tests uses.
15051 * lib/gdb.exp (valnum_re): New global.
15052 (multi_line_input): New procedure.
15053
8354c62c
SM
150542016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
15055
15056 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
15057 Remove.
15058 (test_setup): Define with proc_with_prefix.
15059 (test_cli_inferior): Likewise.
15060 (test_cli_thread): Likewise.
15061 (test_cli_frame): Likewise.
15062 (test_cli_select_frame): Likewise.
15063 (test_cli_up_down): Likewise.
15064 (test_mi_thread_select): Likewise.
15065 (test_mi_stack_select_frame): Likewise.
15066 (test_cli_in_mi_inferior): Likewise.
15067 (test_cli_in_mi_thread): Likewise.
15068 (test_cli_in_mi_frame): Likewise.
15069 (top level): Do not use with_test_prefix_procname.
15070
64f367a2
PA
150712016-11-09 Pedro Alves <palves@redhat.com>
15072
15073 * gdb.base/commands.exp (gdbvar_simple_if_test)
15074 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
15075 (progvar_simple_if_test, progvar_simple_while_test)
15076 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
15077 (infrun_breakpoint_command_test, breakpoint_command_test)
15078 (user_defined_command_test, watchpoint_command_test)
15079 (test_command_prompt_position, deprecated_command_test)
15080 (bp_deleted_in_command, temporary_breakpoint_commands)
15081 (stray_arg0_test, source_file_with_indented_comment)
15082 (recursive_source_test, if_commands_test)
15083 (error_clears_commands_left, redefine_hook_test)
15084 (redefine_backtrace_test): Use proc_with_prefix.
15085 * lib/gdb.exp (proc_with_prefix): New proc.
15086
0bb65f1e
AA
150872016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15088
15089 * gdb.base/tui-layout.c: New file.
15090 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
15091 disassembly window contains very long lines.
15092
7353f247
TT
150932016-11-08 Tom Tromey <tom@tromey.com>
15094
15095 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15096 depend on Python 2.
15097
30a7bb83
TT
150982016-11-08 Tom Tromey <tom@tromey.com>
15099
15100 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15101 New method.
15102
cdf5a07c
MG
151032016-10-29 Manish Goregaokar <manish@mozilla.com>
15104
2806dc7e 15105 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 15106
51a789c3
MG
151072016-10-27 Manish Goregaokar <manish@mozilla.com>
15108
2806dc7e
PA
15109 * gdb.rust/simple.rs: Add test for univariant enums without
15110 discriminants and for encoded struct-like enums.
51a789c3 15111
f610ab6d
PA
151122016-10-28 Pedro Alves <palves@redhat.com>
15113
15114 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15115 gdb_test_multiple, tighten regexps and match symtabs and line
15116 tables incrementally.
15117
b129b0ca
LM
151182016-10-28 Luis Machado <lgustavo@codesourcery.com>
15119
15120 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15121 general.
15122
ecf45d2c
SL
151232016-10-25 Luis Machado <lgustavo@codesourcery.com>
15124
15125 * gdb.base/exec-invalid-sysroot.exp: New file.
15126
b8d38ee4
JK
151272016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15128
15129 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15130
f90fd8c2
JK
151312016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15132
15133 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15134
2d2476aa
MR
151352016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15136
2806dc7e
PA
15137 * gdb.base/killed-outside.exp: Remove $options from a call to
15138 `prepare_for_testing'.
2d2476aa 15139
e42b25a0
SM
151402016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15141
15142 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15143 Change test message.
15144
3ccdb432
SM
151452016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15146
15147 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15148 Update comment.
15149
5bad3170
SM
151502016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15151
15152 * gdb.trace/mi-trace-save.exp: New file.
15153
5ad9dba7
YQ
151542016-10-13 Yao Qi <yao.qi@linaro.org>
15155
15156 * gdb.base/code_elim.exp (get_var_address): Remove.
15157 * gdb.base/relocate.exp: Likewise.
15158 * gdb.base/shreloc.exp: Likewise.
15159 * lib/gdb.exp (get_var_address): New.
15160
62df7e21
YQ
151612016-10-13 Yao Qi <yao.qi@linaro.org>
15162
15163 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15164 floating point tests if $skip_float_test is false.
15165
4dac951e
LM
151662016-10-12 Luis Machado <lgustavo@codesourcery.com>
15167
15168 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15169 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15170 argc values.
15171 Add 1 to argc so we guarantee distinct initial/modified argc values.
15172
8f1a8fc4
JK
151732016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15174
15175 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15176
16c85b5d
JK
151772016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15178
15179 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15180 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15181 * gdb.arch/vsx-regs.exp: Likewise.
15182
1d0e042a
YQ
151832016-10-07 Yao Qi <yao.qi@linaro.org>
15184
15185 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15186
68dadef5
MM
151872016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15188
15189 * gdb.python/python.exp: Test decode_line("*0").
15190
33fa2c6e
DE
151912016-10-06 Doug Evans <dje@google.com>
15192
15193 * gdb.python/py-value.exp (test_value_creation): Add test for large
15194 unsigned 64-bit value.
15195
9c37b5ae
TT
151962016-10-06 Tom Tromey <tom@tromey.com>
15197
15198 * gdb.compile/compile.exp: Change java tests to rust.
15199 * gdb.base/setshow.exp: Change java tests to rust.
15200 * gdb.base/default.exp: Remove java from language list.
15201 * README (Examples): Update language example.
15202 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15203 test.
15204 * lib/gdb.exp (skip_java_tests): Remove.
15205 * lib/java.exp: Remove.
15206 * gdb.java: Remove.
15207
78b86327
MR
152082016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15209
15210 * gdb.arch/mips-fcr.exp: New test.
15211 * gdb.arch/mips-fcr.c: Source for the new test.
15212
7470adbb
MR
152132016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15214
15215 * gdb.base/solib-disc.exp: Use `standard_output_file'
15216 throughout.
15217
4a556533
PA
152182016-10-06 Pedro Alves <palves@redhat.com>
15219
15220 * gdb.base/jit-simple-dl.c: New file.
15221 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15222 * gdb.base/jit-simple.c: ... this.
15223 * gdb.base/jit-simple.exp (jit_run): Delete.
15224 (build_jit): New proc.
15225 (jit_test_reread): Recompile either the main program or the shared
15226 library, depending on what is being tested. Skip changing address
15227 if caller wants to. Compare before/after addresses. If testing
15228 standalone, explicitly load the binary. Test "maint info
15229 breakpoints".
15230 (top level): Add "standalone vs shared lib" and "change address"
15231 vs "same address" axes.
15232
5a122fbc
PA
152332016-10-06 Pedro Alves <palves@redhat.com>
15234
15235 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15236 call.
15237 (jit_run): Delete.
15238 (jit_test_reread): Use with_test_prefix. Reload the main binary
15239 explicitly. Compare the before/after addresses of the JIT
15240 descriptor.
15241
ee8da4b8
DE
152422016-08-15 Doug Evans <dje@google.com>
15243
15244 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15245 for single bitfields is bool.
15246 * gdb.xml/tdesc-regs.exp: Ditto.
15247
f389f6fe
JK
152482016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15249
15250 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15251
fdebf1a4
YQ
152522016-10-05 Yao Qi <yao.qi@linaro.org>
15253
15254 * lib/gdb.exp (support_complex_tests): Return zero if
15255 gdb_skip_float_test return true.
15256
9c36d954 152572016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15258 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
15259
15260 PR gdb/20487
15261 * gdb.mi/user-selected-context-sync.exp: New file.
15262 * gdb.mi/user-selected-context-sync.c: New file.
15263
4034d0ff 152642016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15265 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
15266
15267 PR gdb/20487
15268 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15269 =thread-select-event check.
15270
a4297203
PB
152712016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15272
15273 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15274 the compulsory L operand changes.
15275 * gdb.arch/powerpc-power.s: Likewise.
15276
bb805577
JK
152772016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15278
15279 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15280 * gdb.base/jit-attach-pie.c: New file.
15281 * gdb.base/jit-attach-pie.exp: New file.
15282
6d61dee5
PA
152832016-09-28 Pedro Alves <palves@redhat.com>
15284
15285 * gdb.base/infcall-input.c: New file.
15286 * gdb.base/infcall-input.exp: New file.
15287
f73842fc
YQ
152882016-09-22 Yao Qi <yao.qi@linaro.org>
15289
15290 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15291 (gdb_exit): Rename it to ...
15292 (gdbserver_gdb_exit): ... Close GDBserver.
15293 (gdb_exit): New proc, call gdbserver_gdb_exit.
15294 (mi_gdb_exit): Likewise.
15295
90681dab
YQ
152962016-09-22 Yao Qi <yao.qi@linaro.org>
15297
15298 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15299 path.
15300 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15301 Remove duplication.
15302
9c211fd8
YQ
153032016-09-22 Yao Qi <yao.qi@linaro.org>
15304
15305 * lib/gdbserver-support.exp: Check the existence of
15306 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15307
ad0a504f
AK
153082016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15309
15310 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15311
36cf1806
TT
153122016-09-21 Tom Tromey <tom@tromey.com>
15313
15314 PR gdb/20604:
15315 * gdb.base/quit.exp: New file.
15316
74172ecf
SM
153172016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15318
15319 * .gitignore: New file.
15320
3d0ec882
MR
153212016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15322
15323 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15324 throughout.
15325
8193adea
AA
153262016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15327
15328 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15329
d41a5c09
JK
153302016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15331
15332 * gdb.cp/casts.cc (decltype): Move it ...
15333 (main): ... with its call to ...
15334 * gdb.cp/casts03.cc: ... a new file.
15335 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15336
d2dfe700
JK
153372016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15338
15339 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15340
e2a92b16
PB
153412016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15342
15343 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15344 and sync up the test with tests in gas/testsuite/gas/ppc.
15345 * gdb.arch/powerpc-power.exp: Likewise.
15346
49b4de64
JK
153472016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15348
15349 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15350
2c29df25
SDJ
153512016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15352 Jan Kratochvil <jan.kratochvil@redhat.com>
15353
15354 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15355 make m1's definition to be different from m2's. Use 'dummy' as an
15356 argument for probe 'two'.
15357
cc3c2846
JB
153582016-09-10 Jon Beniston <jon@beniston.com>
15359
15360 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15361 for sim target.
15362
e1b2624a
AA
153632016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15364
15365 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15366 variable declaration.
15367 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15368 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15369 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15370 received HWCAP as its argument.
15371
4295e285
PA
153722016-09-06 Pedro Alves <palves@redhat.com>
15373
15374 * gdb.base/new-ui-pending-input.c: New file.
15375 * gdb.base/new-ui-pending-input.exp: New file.
15376 * gdb.exp (clear_gdb_spawn_id): New procedure.
15377 (with_spawn_id): Check whether gdb_spawn_id exists before
15378 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15379 on exit.
15380
00d5215e
UW
153812016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15382
15383 * gdb.base/float128.c: New file.
15384 * gdb.base/float128.exp: Likewise.
15385 * gdb.base/floatn.c: Likewise.
15386 * gdb.base/floatn.exp: Likewise.
15387
a9ff5f12
UW
153882016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15389
15390 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15391
f245535c
PA
153922016-09-05 Pedro Alves <palves@redhat.com>
15393
15394 PR backtrace/19927
15395 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15396 unwinders are immediately called as side effect of "source" or
15397 "disable unwinder" commands.
15398 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15399
ae9cf263
YQ
154002016-09-02 Yao Qi <yao.qi@linaro.org>
15401
15402 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15403 is true and $type is "float" or "double".
15404
27aba047
YQ
154052016-09-02 Yao Qi <yao.qi@linaro.org>
15406
15407 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15408 true.
15409 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15410 * gdb.base/call-rt-st.exp: Likewise.
15411 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15412 return value instead of gdb,skip_float_test.
15413 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15414 (do_function_calls): Use its return value instead of
15415 gdb,skip_float_test.
15416 * gdb.base/finish.exp: Likewise.
15417 * gdb.base/funcargs.exp: Likewise.
15418 * gdb.base/return.exp: Likewise.
15419 * gdb.base/return2.exp: Likewise.
15420 * gdb.base/varargs.exp: Likewise.
15421 * lib/gdb.exp (gdb_skip_float_test): Change it to
15422 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15423
5af962df
AA
154242016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15425
15426 * gdb.multi/tids.exp: Test "thread apply all".
15427
7fac6910
JK
154282016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15429
15430 * gdb.base/default.exp (tty): Remove.
15431
bb1fe4ac
KB
154322016-08-24 Kevin Buettner <kevinb@redhat.com>
15433
2806dc7e
PA
15434 * gdb.python/py-recurse-unwind.c: New file.
15435 * gdb.python/py-recurse-unwind.py: New file.
15436 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15437
0a1ddfa6
SM
154382016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15439
15440 * gdb.base/set-inferior-tty.exp: New file.
15441 * gdb.base/set-inferior-tty.c: New file.
15442
d9de1fe3
PA
154432016-08-23 Pedro Alves <palves@redhat.com>
15444
15445 PR gdb/20494
15446 * gdb.base/new-ui-echo.c: New file.
15447 * gdb.base/new-ui-echo.exp: New file.
15448
e9d9abd7
YQ
154492016-08-23 Yao Qi <yao.qi@linaro.org>
15450
15451 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15452 gdbserver_spawn.
15453 * gdb.server/connect-without-multi-process.exp (do_test):
15454 Likewise.
15455
3589529e
YQ
154562016-08-23 Yao Qi <yao.qi@linaro.org>
15457
15458 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15459 standalone_txt. Delete gdb_txt and standalone_txt on host
15460 and target. Spawn the binary on target. Copy files from
15461 target to host.
15462
6bb90213
PA
154632016-08-22 Pedro Alves <palves@redhat.com>
15464
15465 PR gdb/20505
15466 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15467 with_test_prefix. Factor out bits to ...
15468 (test_no_vdso): ... this new procedure.
15469
20c2c024
CL
154702016-08-19 Carl Love <cel@us.ibm.com>
15471
15472 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15473 maintaining separate logic for constructing the output path.
15474 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15475 * gdb.arch/ppc-dfp.exp: Likewise.
15476 * gdb.arch/ppc-fp.exp: Likewise.
15477 * gdb.arch/vsx-regs.exp: Likewise.
15478 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15479 binprefix for generating the additional binary files.
15480
0646e07d
PA
154812016-08-19 Pedro Alves <palves@redhat.com>
15482
15483 * gdb.trace/mi-trace-frame-collected.exp
15484 (test_trace_frame_collected): On x32, expect two registers.
15485
46da9242
CL
154862016-08-18 Carl Love <cel@us.ibm.com>
15487
15488 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15489 and sync up the test with tests in gas/testsuite/gas/ppc.
15490 * gdb.arch/powerpc-power.exp: Likewise.
15491
eb2332d7
SM
154922016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15493
15494 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15495 expected error message.
15496
63c61e04
SM
154972016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15498
15499 * gdb.multi/remove-inferiors.exp: New file.
15500 * gdb.multi/remove-inferiors.c: New file.
15501
7b17065f
YQ
155022016-08-12 Yao Qi <yao.qi@linaro.org>
15503
15504 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15505 argument list.
15506
01d3dedf
PA
155072016-08-10 Pedro Alves <palves@redhat.com>
15508
15509 PR gdb/19187
15510 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15511 setup_kfails.
15512
3eb7562a
PA
155132016-08-09 Pedro Alves <palves@redhat.com>
15514 Simon Marchi <simon.marchi@ericsson.com>
15515
15516 PR gdb/20418
15517 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15518 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15519
80614914
PA
155202016-08-09 Pedro Alves <palves@redhat.com>
15521
15522 PR mi/20431
15523 * gdb.mi/mi-cmd-error.exp: New file.
15524
f348d89a
PA
155252016-08-09 Pedro Alves <palves@redhat.com>
15526
15527 PR gdb/18653
15528 * gdb.base/signals-state-child.c: New file.
15529 * gdb.base/signals-state-child.exp: New file.
15530 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15531
e5ca03b4
PA
155322016-08-09 Pedro Alves <palves@redhat.com>
15533
15534 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15535
282a0691
TT
155362016-08-03 Tom Tromey <tom@tromey.com>
15537
15538 PR python/18565:
15539 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15540
41bfcd63
YQ
155412016-08-01 Yao Qi <yao.qi@linaro.org>
15542
15543 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15544 variable mode to "multi-process" if $multi_process is 1, otherwise
15545 set it to "single-process".
15546
e3465b24
YQ
155472016-08-01 Yao Qi <yao.qi@linaro.org>
15548
15549 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15550 * gdb.cp/cpexprs.exp: Likewise.
15551 * gdb.cp/m-static.exp: Likewise.
15552
0b31a4bc
TT
155532016-07-26 Tom Tromey <tom@tromey.com>
15554
15555 PR python/20190:
15556 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15557 test.
15558
e0461dbb
MM
155592016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15560
15561 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15562 selecting assembly source files.
15563 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15564 assembly source files.
15565 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15566 assembly source files.
15567 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15568 selecting assembly source files.
15569
8194e927
SM
155702016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15571
15572 * gdb.base/new-ui.exp (do_test_invalid_args): New
15573 procedure.
15574
c0272db5
TW
155752016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15576
15577 * gdb.btrace/reconnect.c: New file.
15578 * gdb.btrace/reconnect.exp: New file.
15579
e3487908
GKB
155802016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15581
15582 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15583 to test_catch_syscall_group.
15584 (test_catch_syscall_group): New.
15585
12df5c00
TT
155862016-07-21 Tom Tromey <tom@tromey.com>
15587
15588 * gdb.rust/simple.rs (main): Use empty struct expression.
15589 * gdb.rust/simple.exp: Add tests for empty struct expression.
15590
bae62ee2
YQ
155912016-07-21 Yao Qi <yao.qi@linaro.org>
15592
15593 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15594 if gdb_skip_xml_test is true on some targets.
15595
b1b53fb3
YQ
155962016-07-21 Yao Qi <yao.qi@linaro.org>
15597
15598 * gdb.server/solib-list.exp: Unset last_loaded_file.
15599
027d97f8
JK
156002016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15601
15602 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15603 "step into captured_main (args)".
15604
7674d381
JK
156052016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15606
15607 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15608
72b5d099
JK
156092016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15610
15611 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15612
1f960ced
PA
156132016-07-19 Pedro Alves <palves@redhat.com>
15614
15615 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15616 * gdb.opt/inline-bt.exp: Likewise.
15617 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15618 additional_flags=-Winline.
15619 * gdb.opt/inline-locals.exp: Likewise.
15620 * gdb.opt/inline-markers.c (ATTR): Define.
15621 (inlined_fn): Use it.
15622
f25827c1
YQ
156232016-07-19 Yao Qi <yao.qi@linaro.org>
15624
15625 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15626 (test_with_self): Remove some code. Remove argument executable.
15627 (top-level): Use do_self_tests.
15628
37539ebe
DB
156292016-07-15 Zachary Welch <zwelch@codesourcery.com>
15630 Don Breazeal <donb@codesourcery.com>
15631
15632 * gdb.base/maint.exp: Escape paths used in regular expressions.
15633 * gdb.stabs/weird.exp: Likewise.
15634
dac790e1
TT
156352016-07-13 Tom Tromey <tom@tromey.com>
15636
15637 PR python/15620, PR python/18620:
15638 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15639 (test_bkpt_events): New procs.
15640
93daf339
TT
156412016-07-13 Tom Tromey <tom@tromey.com>
15642
15643 PR python/17698:
15644 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15645 test.
15646 (test_watchpoints): Likewise.
15647 (test_bkpt_pending): New proc.
15648
6571a381
TT
156492016-07-13 Tom Tromey <tom@tromey.com>
15650
15651 PR cli/18053:
15652 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15653 completion test.
15654
e8732474
JK
156552016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15656
15657 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15658 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15659 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15660 f_label.
15661 (g): Rename g_end_lbl to g_label.
15662 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15663 low_pc and high_pc.
15664 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15665
e0f3fd7c
TT
156662016-07-12 Tom Tromey <tom@tromey.com>
15667
15668 PR python/19293:
15669 * gdb.python/py-unwind-maint.exp: Update tests.
15670
3cfe46b6
YQ
156712016-07-12 Yao Qi <yao.qi@linaro.org>
15672
15673 * lib/selftest-support.exp (selftest_setup): Match the output
15674 when captured_main is inlined.
15675
4f19a0e6
WT
156762016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15677
15678 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15679 New variables.
15680 (print this%a, print this%b, print this): New tests.
15681 * gdb.fortran/derived-types.f90 (this): New object and
15682 initialization.
15683
986cf455
SM
156842016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15685
15686 * gdb.ada/arraydim.exp: Remove extra directory level in build
15687 directory.
15688
f0464b23
SM
156892016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15690
15691 * lib/ada.exp: Remove extra directory level in build directory.
15692 * gdb.ada/cond_lang.exp: Likewise.
15693 * gdb.ada/exec_changed.exp: Likewise.
15694 * gdb.ada/lang_switch.exp: Likewise.
15695
42d94011
MG
156962016-07-06 Manish Goregaokar <manish@mozilla.com>
15697
2806dc7e
PA
15698 * simple.rs: Add test for raw pointer subscripting.
15699 * simple.exp: Add test expectations.
42d94011 15700
647c264c
YQ
157012016-07-05 Yao Qi <yao.qi@linaro.org>
15702
15703 * gdb.mi/mi-reverse.exp: Match =record-started output.
15704
20aa2c60
PA
157052016-07-01 Pedro Alves <palves@redhat.com>
15706
15707 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15708 procedure.
15709 (jit_reader_test): Test the jit reader's unwinder.
15710 * gdb.base/jithost.c (jit_function_00_code): New global.
15711 (main): Use memcpy to fill in the mmapped code, instead of poking
15712 bytes manually here.
15713 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15714 value.
15715 (read_debug_info): Save the function's range.
15716 (read_sp): New function.
15717 (unwind_frame): Use it. Also unwind RBP.
15718 (get_frame_id): Use read_sp.
15719 (gdb_init_reader): Use calloc instead of malloc.
15720 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15721 parameter. Use gdb_test_multiple.
15722
ced2dffb
PA
157232016-07-01 Pedro Alves <palves@redhat.com>
15724 Antoine Tremblay <antoine.tremblay@ericsson.com>
15725
15726 * gdb.threads/process-dies-while-detaching.c: New file.
15727 * gdb.threads/process-dies-while-detaching.exp: New file.
15728
63000888
PA
157292016-07-01 Pedro Alves <palves@redhat.com>
15730
15731 * gdb.multi/watchpoint-multi-exit.c: New file.
15732 * gdb.multi/watchpoint-multi-exit.exp: New file.
15733
038d4868
PA
157342016-06-30 Pedro Alves <palves@redhat.com>
15735
15736 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15737 unset inferior_spawn_id.
15738
994e9c83
PA
157392016-06-30 Pedro Alves <palves@redhat.com>
15740
15741 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15742 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15743
e5653468
YQ
157442016-06-29 Yao Qi <yao.qi@linaro.org>
15745
15746 * gdb.base/return.c: Add copyright header.
15747
803b47e5
TT
157482016-06-29 Tom Tromey <tom@tromey.com>
15749
15750 PR python/20129:
15751 * gdb.python/py-framefilter.exp: Add tests for setting priority
15752 and disabling of non-existent frame filter.
15753
28244707
YQ
157542016-06-29 Yao Qi <yao.qi@linaro.org>
15755
15756 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15757 0x0f07ff.
15758
a31d2f06
YQ
157592016-06-28 Yao Qi <yao.qi@linaro.org>
15760
15761 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15762 triplets. Start gdb, execute catch syscall, and continue. Check
15763 gdb's output to determine catch syscall is supported.
15764
921d8f54
MG
157652016-06-27 Manish Goregaokar <manish@mozilla.com>
15766
25d49b86
PA
15767 * gdb.rust/simple.rs: Add test for returning unit in a function.
15768 * gdb.rust/simple.exp: Add expectation for functions returning
15769 unit.
921d8f54 15770
f4952523
PMR
157712016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15772
15773 * gdb.python/py-breakpoint-create-fail.c,
15774 gdb.python/py-breakpoint-create-fail.exp,
15775 gdb.python/py-breakpoint-create-fail.py: New testcase.
15776
fccb08f8
MG
157772016-06-25 Manish Goregaokar <manish@mozilla.com>
15778
15779 PR gdb/20239
15780 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15781 * gdb.rust/simple.exp: Add test expectations for new NonZero
15782 tests.
fccb08f8 15783
6b850546
DT
157842016-06-24 David Taylor <dtaylor@emc.com>
15785
15786 * gdb.base/offsets.exp: New file.
15787 * gdb.base/offsets.c: New file.
15788
17621150
TT
157892016-06-23 Tom Tromey <tom@tromey.com>
15790
15791 PR gdb/16483:
15792 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15793 before any filters are loaded.
15794
04d59df6
WT
157952016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15796
15797 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15798 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15799 structs.
15800 * gdb.fortran/derived-type-function.exp: New file.
15801 * gdb.fortran/derived-type-function.f90: New file.
15802
15803
ac69f786
PA
158042016-06-21 Pedro Alves <palves@redhat.com>
15805
15806 * gdb.base/new-ui.exp: New file.
15807 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15808 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15809 (with_spawn_id): New procedure.
15810
49940788
PA
158112016-06-21 Pedro Alves <palves@redhat.com>
15812
15813 * gdb.mi/mi-exec-run.exp: New file.
15814
ef274d26
PA
158152016-06-21 Pedro Alves <palves@redhat.com>
15816
15817 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15818 breakpoint command's output on the main UI.
15819 (test_break): New procedure, factored out from calls in the top
15820 level.
15821 (top level): Use foreach_with_prefix to test MI as main UI and as
15822 separate UI.
15823
468afe6c
PA
158242016-06-21 Pedro Alves <palves@redhat.com>
15825
15826 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15827 (test_awatch_creation_and_listing)
15828 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15829 Remove 'type' parameter.
15830 (test_watchpoint_all): New parameter mi_mode. Remove
15831 with_test_prefix.
15832 (top level): Use foreach_with_prefix, and add main/separate UI MI
15833 testing axis.
15834
51f77c37
PA
158352016-06-21 Pedro Alves <palves@redhat.com>
15836
15837 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15838 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15839 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15840 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15841 (gdb_main_spawn_id, mi_spawn_id): Declare and
15842 comment.
15843 (mi_create_inferior_pty): New procedure,
15844 factored out from default_mi_gdb_start.
15845 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15846 procedures.
15847 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15848 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15849 Use mi_create_inferior_pty.
15850 (mi_gdb_start): Use eval to pass down args list.
15851
8980e177
PA
158522016-06-21 Pedro Alves <palves@redhat.com>
15853
15854 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15855 * gdb.opt/inline-cmds.exp: Add MI tests.
15856
f38d3ad1
PA
158572016-06-21 Pedro Alves <palves@redhat.com>
15858
15859 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15860
45db7c09
PA
158612016-06-21 Pedro Alves <palves@redhat.com>
15862
15863 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15864 (top level): Use it instead of mi_execute_to.
15865
5a069ab3
PA
158662016-06-21 Pedro Alves <palves@redhat.com>
15867
15868 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15869 (cont_handler_str): New.
15870 (signal_stop_handler): Set stop_handler_str instead of printing to
15871 stdout.
15872 (continue_handler): Set cont_handler_str instead of printing to
15873 stdout.
15874 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15875 mi_send_resuming_command. Print stop_handler_str and
15876 cont_handler_str instead of expecting the python events print
15877 directly.
15878
2838cc1d
SD
158792016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15880
15881 * gdb.base/jit-reader.exp: New file.
15882 * gdb.base/jithost.c: New file.
15883 * gdb.base/jithost.h: New file.
15884 * gdb.base/jitreader.c : New file.
15885 * gdb.base/jit-protocol.h: New file.
15886
21a77091
YQ
158872016-06-17 Yao Qi <yao.qi@linaro.org>
15888
15889 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15890 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15891 and detach-on-fork. Adjust tests.
15892 (top level): Invoke break_cond_on_syscall with combinations of
15893 syscall, follow-fork-mode and detach-on-fork.
15894
f50bf8e5
YQ
158952016-06-17 Yao Qi <yao.qi@linaro.org>
15896
15897 * gdb.base/step-over-exit.c: New.
15898 * gdb.base/step-over-exit.exp: New.
15899
a28d8e50
YTL
159002016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15901
15902 * gdb.base/float.exp: Add target check for nds32*-*-*.
15903 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15904
cad8e26d
AB
159052016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15906
15907 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15908 for unsupported target features.
15909 * gdb.base/call-rt-st.exp: Likewise.
15910 * gdb.base/call-sc.exp: Likewise.
15911 * gdb.base/call-signal-resume.exp: Likewise.
15912 * gdb.base/call-strs.exp: Likewise.
15913 * gdb.base/callexit.exp: Likewise.
15914 * gdb.base/callfuncs.exp: Likewise.
15915 * gdb.base/nodebug.exp: Likewise.
15916 * gdb.base/printcmds.exp: Likewise.
15917 * gdb.base/ptype.exp: Likewise.
15918 * gdb.base/structs.exp: Likewise.
15919 * gdb.base/unwindonsignal.exp: Likewise.
15920 * gdb.cp/gdb2495.exp: Likewise.
15921 * gdb.cp/templates.exp: Likewise.
15922 * gdb.cp/virtfunc.exp: Likewise.
15923 * gdb.threads/hand-call-in-threads.exp: Likewise.
15924 * gdb.threads/interrupted-hand-call.exp: Likewise.
15925 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15926
347dc102
TT
159272016-06-10 Tom Tromey <tom@tromey.com>
15928
15929 PR rust/20110:
15930 * gdb.rust/expr.exp: Add test for integer constant larger than
15931 i32.
15932
5e13cf25
BH
159332016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15934
15935 * gdb.fortran/nested-funcs.exp: New.
15936 * gdb.fortran/nested-funcs.f90: New.
15937
bb556f1f
TK
159382016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15939
15940 * gdb.base/examine-backward.c: New file.
15941 * gdb.base/examine-backward.exp: New file.
15942
38b022b4
SM
159432016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15944
15945 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15946 matching.
15947
1b40ec05
TT
159482016-06-02 Tom Tromey <tom@tromey.com>
15949
15950 PR python/18984:
15951 * gdb.python/py-shared.exp: Add solib_name test.
15952
193bd378
SM
159532016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15954
15955 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15956
3326303b
MG
159572016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15958
15959 PR c++/19893
15960 * gdb.dwarf2/implref.exp: Rename to...
15961 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15962 * gdb.dwarf2/implref-array.c: New file.
15963 * gdb.dwarf2/implref-array.exp: Likewise.
15964 * gdb.dwarf2/implref-global.c: Likewise.
15965 * gdb.dwarf2/implref-global.exp: Likewise.
15966 * gdb.dwarf2/implref-struct.c: Likewise.
15967 * gdb.dwarf2/implref-struct.exp: Likewise.
15968
825c8ef2
AT
159692016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15970
15971 * gdb.trace/trace-condition.exp: Add 64bit tests.
15972
2320162a
AT
159732016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15974
15975 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15976 bits types.
15977 (main): Adapt to 8 to 64 bits types.
15978 * gdb.trace/trace-condition.exp: Add new tests.
15979
a7818233
AT
159802016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15981
15982 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15983
0d336466
AT
159842016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15985
15986 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15987 Move condition tests...
15988 * gdb.trace/trace-condition.exp: Here.
15989
7faeb45a
AT
159902016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15991
15992 * gdb.trace/trace-condition.exp: Add counter-case tests.
15993
e385593e
JK
159942016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15995
15996 PR c++/15231
15997 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15998 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15999
744608cc
PA
160002016-05-27 Pedro Alves <palves@redhat.com>
16001
16002 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
16003 New procedure.
16004 (top level): Call it, and bail out of DejaGnu is known to be bad.
16005
ac775bf4
AB
160062016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
16007
16008 * gdb.base/whatis.c: Extend the test case.
16009 * gdb.base/whatis.exp: Add additional tests.
16010
2bbad2ea
BH
160112016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16012
16013* gdb.fortran/type.f90: Add pointer variable.
16014* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
16015
8b70175d
BH
160162016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16017
16018 * gdb.fortran/vla-type.exp: Fix testcase name.
16019
86d8a848
BH
160202016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16021
16022 * gdb.fortran/vla-type.exp: Access elements in nested structs.
16023
e188eb36
BH
160242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16025
16026 * gdb.fortran/type.f90: Add nested structures.
16027 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
16028 * gdb.fortran/derived-type.exp: Adapt expected output.
16029 * gdb.fortran/vla-type.exp: Adapt expected output.
16030
9b2db1fd
BH
160312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16032
16033 * gdb.fortran/whatis_type.exp: Adapt expected output.
16034
72b17055
BH
160352016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16036
16037 * gdb.fortran/print_type.exp: Fix expected output.
16038 * gdb.fortran/whatis_type.exp: Fix expected output.
16039
3cd81d8d
BH
160402016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16041
16042 * gdb.fortran/whatis_type.exp: Use multi_line.
16043
ddae9462
TT
160442016-05-24 Tom Tromey <tom@tromey.com>
16045
16046 PR python/17386:
16047 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
16048 use value as an index.
16049
1957f6b8
TT
160502016-05-23 Tom Tromey <tom@tromey.com>
16051
16052 PR python/17981:
16053 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
16054 no-breakpoint case.
16055
026a9174
PA
160562016-05-24 Pedro Alves <palves@redhat.com>
16057
16058 PR gdb/19828
16059 * gdb.threads/clone-attach-detach.c: New file.
16060 * gdb.threads/clone-attach-detach.exp: New file.
16061
e70a7231
FR
160622016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
16063
16064 * gdb.base/annota-input-while-running.exp: Fix syntax error.
16065
0f6ed0e0
TT
160662016-05-23 Tom Tromey <tom@tromey.com>
16067
16068 PR python/19438, PR python/18393:
16069 * gdb.python/py-progspace.exp: Add "dir" test.
16070 * gdb.python/py-objfile.exp: Add "dir" test.
16071
ffd19d61
YQ
160722016-05-23 Yao Qi <yao.qi@linaro.org>
16073
16074 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
16075 * gdb.arch/thumb2-it.exp: Likewise.
16076
9e8f9b05
SM
160772016-05-18 Simon Marchi <simon.marchi@ericsson.com>
16078
16079 * gdb.mi/mi-threads-interrupt.c: New file.
16080 * gdb.mi/mi-threads-interrupt.exp: New file.
16081
61c6156d
SM
160822016-05-17 Simon Marchi <simon.marchi@ericsson.com>
16083
16084 PR gdb/18077
16085 * gdb.mi/mi-async-run.exp: New file.
16086 * gdb.mi/mi-async-run.c: New file.
16087
67218854
TT
160882016-05-17 Tom Tromey <tom@tromey.com>
16089 Manish Goregaokar <manishsmail@gmail.com>
16090
16091 * lib/rust-support.exp: New file.
16092 * lib/gdb.exp (skip_rust_tests): New proc.
16093 (build_executable_from_specs): Handle rust.
16094 * lib/future.exp (gdb_find_rustc): New proc.
16095 (gdb_default_target_compile): Handle rust.
16096 * gdb.rust/expr.exp: New file.
16097 * gdb.rust/generics.exp: New file.
16098 * gdb.rust/generics.rs: New file.
16099 * gdb.rust/methods.exp: New file.
16100 * gdb.rust/methods.rs: New file.
16101 * gdb.rust/modules.exp: New file.
16102 * gdb.rust/modules.rs: New file.
16103 * gdb.rust/simple.exp: New file.
16104 * gdb.rust/simple.rs: New file.
16105
c44af4eb
TT
161062016-05-17 Tom Tromey <tom@tromey.com>
16107
16108 * gdb.base/default.exp (set language): Add rust.
16109
dcd1f979
TT
161102016-05-17 Tom Tromey <tom@tromey.com>
16111
16112 * gdb.gdb/unittest.exp: New file.
16113
155b7f57
YQ
161142016-05-16 Yao Qi <yao.qi@linaro.org>
16115
16116 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16117 shell_prompt. Update shell_prompt_re.
16118
8ddd5a6c
DE
161192016-05-12 Doug Evans <dje@google.com>
16120
16121 PR symtab/19999
16122 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16123 $options when building executable.
16124 * gdb.dwarf2/fission-loclists-pie.S: New file.
16125 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16126
02e370d9
SM
161272016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16128
16129 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
16130 of [is_remote target],
16131
8929ad8b
SM
161322016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16133
16134 * lib/gdb.exp (use_gdb_stub): New procedure.
16135
6c447423
DE
161362016-05-03 Yunlian Jiang <yunlian@google.com>
16137 Doug Evans <dje@google.com>
16138
16139 PR symtab/19914
16140 * gdb.dwarf2/dwp-sepdebug.c: New file.
16141 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16142
444e826c
SM
161432016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16144
16145 * gdb.base/detach.exp: Remove is_remote check.
16146
740feeaa
SM
161472016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16148
16149 * gdb.base/annota-input-while-running.exp: Don't check for
16150 [is_remote target]. Enable annotations after running to main.
16151 Remove unused "set test..." line.
16152
9080ac9d
SM
161532016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16154
16155 * gdb.trace/trace-enable-disable.exp: New file.
16156 * gdb.trace/trace-enable-disable.c: New file.
16157
952ebca5
SM
161582016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16159
16160 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16161 use it in info sharedlibrary test.
16162 * gdb.trace/ftrace-lock.exp: Likewise.
16163 * gdb.trace/ftrace.exp: Likewise.
16164 * gdb.trace/range-stepping.exp: Likewise.
16165 * gdb.trace/trace-break.exp: Likewise.
16166 * gdb.trace/trace-condition.exp: Likewise.
16167 * gdb.trace/trace-mt.exp: Likewise.
16168
d9019901
SM
161692016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16170
16171 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16172 (gdb_load_shlib): ... this.
16173 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16174 gdb_load_shlib.
16175 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16176 * gdb.base/ctxobj.exp: Likewise.
16177 * gdb.base/dprintf-pending.exp: Likewise.
16178 * gdb.base/dso2dso.exp: Likewise.
16179 * gdb.base/fixsection.exp: Likewise.
16180 * gdb.base/gcore-relro.exp: Likewise.
16181 * gdb.base/gdb1555.exp: Likewise.
16182 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16183 * gdb.base/gnu-ifunc.exp: Likewise.
16184 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16185 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16186 * gdb.base/pending.exp: Likewise.
16187 * gdb.base/print-file-var.exp: Likewise.
16188 * gdb.base/print-symbol-loading.exp: Likewise.
16189 * gdb.base/shlib-call.exp: Likewise.
16190 * gdb.base/shreloc.exp: Likewise.
16191 * gdb.base/so-impl-ld.exp: Likewise.
16192 * gdb.base/solib-disc.exp: Likewise.
16193 * gdb.base/solib-nodir.exp: Likewise.
16194 * gdb.base/solib-overlap.exp: Likewise.
16195 * gdb.base/solib-symbol.exp: Likewise.
16196 * gdb.base/solib-weak.exp (do_test): Likewise.
16197 * gdb.base/sym-file.exp: Likewise.
16198 * gdb.base/symtab-search-order.exp: Likewise.
16199 * gdb.base/type-opaque.exp: Likewise.
16200 * gdb.base/unload.exp: Likewise.
16201 * gdb.base/watchpoint-solib.exp: Likewise.
16202 * gdb.compile/compile.exp: Likewise.
16203 * gdb.cp/gdb2384.exp: Likewise.
16204 * gdb.cp/infcall-dlopen.exp: Likewise.
16205 * gdb.cp/re-set-overloaded.exp: Likewise.
16206 * gdb.fortran/library-module.exp: Likewise.
16207 * gdb.opt/solib-intra-step.exp: Likewise.
16208 * gdb.python/py-finish-breakpoint.exp: Likewise.
16209 * gdb.python/py-shared.exp: Likewise.
16210 * gdb.reverse/solib-precsave.exp: Likewise.
16211 * gdb.reverse/solib-reverse.exp: Likewise.
16212 * gdb.server/solib-list.exp: Likewise.
16213 * gdb.threads/dlopen-libpthread.exp: Likewise.
16214 * gdb.threads/tls-shared.exp: Likewise.
16215 * gdb.threads/tls-so_extern.exp: Likewise.
16216 * gdb.trace/change-loc.exp: Likewise.
16217 * gdb.trace/ftrace-lock.exp: Likewise.
16218 * gdb.trace/ftrace.exp: Likewise.
16219 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16220 * gdb.trace/pending.exp: Likewise.
16221 * gdb.trace/range-stepping.exp: Likewise.
16222 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16223 (strace_info_marker): Likewise.
16224 (strace_probe_marker): Likewise.
16225 (strace_trace_on_same_addr): Likewise.
16226 (strace_trace_on_diff_addr): Likewise.
16227 * gdb.trace/trace-break.exp: Likewise.
16228 * gdb.trace/trace-condition.exp: Likewise.
16229 * gdb.trace/trace-mt.exp: Likewise.
16230
fca4cfd9
SM
162312016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16232
16233 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16234 result of gdb_remote_download.
16235 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16236 * gdb.base/dso2dso.exp: Likewise.
16237 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16238 * gdb.base/print-file-var.exp: Likewise.
16239 * gdb.base/shlib-call.exp: Likewise.
16240 * gdb.base/shreloc.exp: Likewise.
16241 * gdb.base/solib-overlap.exp: Likewise.
16242 * gdb.base/solib-weak.exp (do_test): Likewise.
16243 * gdb.base/unload.exp: Likewise.
16244
11cf4ffb
YQ
162452016-04-27 Yao Qi <yao.qi@linaro.org>
16246
16247 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16248 exists.
16249
3e2e34f8
KB
162502016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16251
16252 * vla-type.exp: Print structure from toplevel.
16253
8f07e298
BH
162542016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16255
16256 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16257 of dynamic types.
16258 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16259 of dynamic types.
16260
9920b434
BH
162612016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16262
16263 * gdb.fortran/vla-type.f90: New file.
16264 * gdb.fortran/vla-type.exp: New file.
16265
f3abeff5
YQ
162662016-04-25 Yao Qi <yao.qi@linaro.org>
16267
16268 * gdb.base/branch-to-self.c: New file.
16269 * gdb.base/branch-to-self.exp: New file.
16270
0a5d52f0
YQ
162712016-04-22 Yao Qi <yao.qi@linaro.org>
16272
16273 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16274 more after $hex.
16275
495346f6
YQ
162762016-04-22 Yao Qi <yao.qi@linaro.org>
16277
16278 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16279 * gdb.base/annota3.exp: Likewise.
16280
4a7e075c
YQ
162812016-04-22 Yao Qi <yao.qi@linaro.org>
16282
16283 * gdb.reverse/step-precsave.exp: Do one step and test program
16284 stops in "callee" and do multiple steps until program goes out
16285 of "callee".
16286 * gdb.reverse/step-reverse.exp: Likewise.
16287
5b061e98
YQ
162882016-04-22 Yao Qi <yao.qi@linaro.org>
16289
16290 * gdb.trace/signal.exp: Also pass if
16291 $tracepoint_hits($i) > $iterations.
16292
5c5dc57f
YQ
162932016-04-22 Yao Qi <yao.qi@linaro.org>
16294
16295 * gdb.trace/signal.c: New file.
16296 * gdb.trace/signal.exp: New file.
16297
a55411b9
DE
162982016-04-19 Doug Evans <xdje42@gmail.com>
16299
16300 * gdb.base/bad-file.exp: New file.
16301
a22df60a
MG
163022016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16303
16304 * gdb.dwarf2/implref.exp: New file.
16305
0c13f7e5
BH
163062016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16307
16308 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16309 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16310 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16311 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16312 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16313 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16314 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16315 * lib/fortran.exp (fortran_int4): New procedure.
16316 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16317 (fortran_logical4): Likewise.
16318
9b9b09e9
BH
163192016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16320
16321 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16322
a14d1f4d
BH
163232016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16324
16325 * lib/compiler.c: Add Intel specific preprocessor macros.
16326 * lib/compiler.cc: Likewise.
25d49b86 16327
7d49b1d0
LM
163282016-04-13 Luis Machado <lgustavo@codesourcery.com>
16329
16330 * gdb.server/connect-with-no-symbol-file.c: New file.
16331 * gdb.server/connect-with-no-symbol-file.exp: New file.
16332
8392fa22
SM
163332016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16334
16335 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16336
8c4c4aeb
SM
163372016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16338
16339 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16340 standard output directory.
16341
45e3745e
AT
163422016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16343
16344 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16345
e26b7e41
MM
163462016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16347
16348 * gdb.btrace/instruction_history.c (loop): Add declaration.
16349
8ce09462
AT
163502016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16351
16352 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16353
2e88a1ea
SM
163542016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16355
16356 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16357 parentheses to print.
16358 (continue_handler): Likewise.
16359
f48e22e3
SM
163602016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16361
16362 * gdb.server/solib-list.exp: Remove is_remote check.
16363 Pass shlib= to gdb_compile. Don't link shared library with
16364 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16365 Run binary filename through "readlink -f" on the target.
16366
096be756
PA
163672016-04-08 Pedro Alves <palves@redhat.com>
16368
16369 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16370 interpreter filename as argument to gdbserver_spawn.
16371 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16372 Return empty if $last_loaded_file does not exist.
16373
06500533
JK
163742016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16375
16376 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16377 * gdb.base/jit-main.c: Use exit after usage.
16378
2d35e871
JK
163792016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16380
16381 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16382 GDBHISTSIZE prior to the tests.
16383 * gdb.base/gdbinit-history.exp: Likewise.
16384
163852016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
16386
16387 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16388 instead of build_executable. Use gdb_load_shlibs.
16389
c8064e7e
YQ
163902016-04-07 Yao Qi <yao.qi@linaro.org>
16391
16392 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16393 Execute "si" command.
16394
bde47561
YQ
163952016-04-07 Yao Qi <yao.qi@linaro.org>
16396
16397 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16398 number instead of the comments on some line.
16399
b16f8a3b
DB
164002016-04-06 Don Breazeal <donb@codesourcery.com>
16401
16402 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16403 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16404
c2f901df
SM
164052016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16406
16407 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16408 standard_output_file. Remove unused binfile variable.
16409
ac17fda0
CU
164102016-04-05 Catalin Udma <catalin.udma@freescale.com>
16411
16412 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16413 * gdb.python/py-mi-objfile.exp: Match "list main" output
16414 in console format.
16415
03a8c4df
SM
164162016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16417
16418 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16419 absolute.
16420
6e774b13
SM
164212016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16422
16423 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16424 absolute.
16425 * gdb.trace/ftrace.exp: Likewise.
16426 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16427 targets as well.
16428 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16429 (gdb_load_shlibs): Copy libraries to test directory when testing
16430 natively. Only set solib-search-path if testing remotely.
16431 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16432
7817ea46
SM
164332016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16434
16435 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16436 gdb_download. Use it even if the target is not remote.
16437 * gdb.base/jit.exp (compile_jit_test): Likewise.
16438 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16439 output directory if the destination board is local, otherwise use
16440 the standard remote_download from DejaGnu.
16441 (gdb_download): Remove.
16442 (gdb_load_shlibs): Use gdb_remote_download instead of
16443 gdb_download.
16444 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16445 Use gdb_remote_download instead of gdb_download. Use it even if
16446 the target is not remote.
16447 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16448 instead of gdb_download.
16449
7beb7f68
SM
164502016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16451
16452 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16453 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16454 run.
16455
cc63428a
AV
164562016-04-01 Artemiy Volkov <artemiyv@acm.org>
16457
16458 PR gdb/19820
16459 * gdb.base/printcmds.exp: Add artificial arrays tests.
16460
64cdf930
PA
164612016-03-31 Pedro Alves <palves@redhat.com>
16462
16463 PR gdb/19858
16464 * gdb.base/jit-main.c: Include unistd.h.
16465 (ATTACH): Define to 0 if not already defined.
16466 (wait_for_gdb, mypid): New globals.
16467 (WAIT_FOR_GDB): New macro.
16468 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16469 some breakpoint locations.
16470 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16471 New procedures.
16472 (one_jit_test): Add REATTACH parameter, and handle it. Use
16473 continue_to_test_location.
16474 (top level): Test attach, and adjusts calls to one_jit_test.
16475
40dea8cb
PA
164762016-03-31 Pedro Alves <palves@redhat.com>
16477
16478 PR gdb/19858
16479 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16480 BINSUFFIX parameter, and handle it.
16481 (top level): Adjust calls compile_jit_test.
16482
e7ea3ec7
CU
164832016-03-31 Catalin Udma <catalin.udma@freescale.com>
16484
16485 PR python/19743
16486 * gdb.python/py-mi-events-gdb.py: New file.
16487 * gdb.python/py-mi-events.c: New file.
16488 * gdb.python/py-mi-events.exp: New file.
16489
e6359af3
YQ
164902016-03-30 Yao Qi <yao.qi@linaro.org>
16491
16492 * gdb.reverse/until-precsave.exp: Match function name only.
16493 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16494 Move malloc to a condition block.
16495 * gdb.reverse/until-reverse.exp: Match function name only.
16496
a4105d04
MK
164972016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16498
16499 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16500 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16501 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16502 variable for GPR 0 instead of assuming it is register 0.
16503 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16504 * lib/trace-support.exp: Add s390 registers.
16505
bfa6adb9
YQ
165062016-03-29 Yao Qi <yao.qi@linaro.org>
16507
16508 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16509
1e6697ea
YQ
165102016-03-24 Yao Qi <yao.qi@linaro.org>
16511
16512 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16513 test message.
16514
64bcd522
AA
165152016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16516
16517 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16518 maintaining separate logic for constructing the output path.
16519
7868401b
DB
165202016-03-16 Don Breazeal <donb@codesourcery.com>
16521
16522 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16523 Retry fork and waitpid on interrupted system call errors.
16524 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16525 Use with_timeout_factor to increase timeout by factor of 10.
16526
1cafadb4
DB
165272016-03-15 Don Breazeal <donb@codesourcery.com>
16528
16529 * gdb.cp/scope-err.cc: New test program.
16530 * gdb.cp/scope-err.exp: New test script.
16531 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16532 lines and "set breakpoint here" comment.
16533 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16534 Fixed some whitespace and format issues.
16535 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16536 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16537
81516450
DE
165382016-03-15 Doug Evans <dje@google.com>
16539
16540 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16541 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16542 All callers updated. Add tests for enums, mixed flags register.
16543
aa52b601
DE
165442016-03-15 Doug Evans <dje@google.com>
16545
16546 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16547 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16548
fa4ff313
SM
165492016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16550
16551 * gdb.base/default.exp: Add $_as_string to the list of expected
16552 convenience functions.
16553
f2403c39
AB
165542016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16555
16556 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16557
f2f3ccb9
SM
165582016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16559
16560 * gdb.python/py-as-string.exp: New file.
16561 * gdb.python/py-as-string.c: New file.
16562
00dbd492
PA
165632016-03-09 Pedro Alves <palves@redhat.com>
16564
16565 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16566 signal" -> "Thread NN received signal" output change.
16567 * gdb.threads/ia64-sigill.exp: Likewise.
16568 * gdb.threads/linux-dp.exp: Likewise.
16569 * gdb.threads/manythreads.exp: Likewise.
16570 * gdb.threads/pending-step.exp: Likewise.
16571 * gdb.threads/print-threads.exp: Likewise.
16572 * gdb.threads/sigstep-threads.exp: Likewise.
16573 * gdb.threads/staticthreads.exp: Likewise.
16574 * gdb.threads/tls.exp: Likewise.
16575
1e6697ea
YQ
165762016-03-09 Pedro Alves <palves@redhat.com>
16577
16578 * gdb.base/command-line-input.exp: New file.
16579
b04fd3be
MK
165802016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16581
16582 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16583 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16584 * gdb.trace/pending.exp: Accept leading dot before function name.
16585 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16586 * lib/trace-support.exp: Set registers for ppc.
16587
98fa59e9
MK
165882016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16589
16590 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16591 use it for disassembly; accept .main in addition to main in backtrace.
16592
f77198c8
MK
165932016-03-09 Wei-cheng Wang <cole945@gmail.com>
16594 Marcin Kościelnicki <koriakin@0x04.net>
16595
16596 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16597 (gdb_recursion_test_ptr): New global variable.
16598 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16599 gdb_recursion_test.
16600 (gdb_c_test): Ditto.
16601
ba84e0da
MK
166022016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16603
16604 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16605 ordering.
16606
4366d36e
MK
166072016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16608
16609 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16610 (bar): Add bar_start_lbl label.
16611 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16612 of foo/bar for emitting DWARF and tracing.
16613
5eb264df
SDJ
166142016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16615
16616 * analyze-racy-logs.py: Set executable bit.
16617
fb6a751f
SDJ
166182016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16619
16620 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16621 (CHECK_TARGET_TMP): Likewise.
16622 (check-single-racy): New rule.
16623 (check-parallel-racy): Likewise.
16624 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16625 (do-check-parallel-racy): New rule.
16626 (check-racy/%.exp): Likewise.
16627 * README (Racy testcases): New section.
16628 * analyze-racy-logs.py: New file.
16629
bdf7e230
DE
166302016-03-03 Doug Evans <dje@google.com>
16631
16632 * gdb.base/skip.exp: Use with_test_prefix.
16633
4719d415
YQ
166342016-03-03 Yao Qi <yao.qi@linaro.org>
16635
16636 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16637 Invoke step_over_syscall "clone" and break_cond_on_syscall
16638 "clone".
16639 * gdb.base/step-over-clone.c: New file.
16640
ea507862
YQ
166412016-03-03 Yao Qi <yao.qi@linaro.org>
16642
16643 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16644 code format.
16645
8fc8cbda
YQ
166462016-03-03 Yao Qi <yao.qi@linaro.org>
16647
16648 * gdb.base/disp-step-fork.c: Rename to ...
16649 * gdb.base/step-over-fork.c: ... it. New file.
16650 * gdb.base/disp-step-vfork.c: Rename to ...
16651 * gdb.base/step-over-vfork.c: ... it. New file.
16652 * gdb.base/disp-step-syscall.exp: Rename to ...
16653 * gdb.base/step-over-syscall.exp: ... it. New file.
16654 (disp_step_cross_syscall): Rename to ...
16655 (step_over_syscall): ... it.
16656
92fa70b0
YQ
166572016-03-03 Yao Qi <yao.qi@linaro.org>
16658
16659 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16660 If target supports condition evaluation on target, invoke
16661 break_cond_on_syscall for fork and vfork.
16662
e197ad3c
YQ
166632016-03-03 Yao Qi <yao.qi@linaro.org>
16664
16665 * gdb.base/disp-step-syscall.exp: Don't invoke
16666 support_displaced_stepping.
16667 (disp_step_cross_syscall): Test with displaced stepping off and
16668 on if supported.
16669
0b47da9f
YQ
166702016-03-03 Yao Qi <yao.qi@linaro.org>
16671
16672 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16673 proc.
16674 (setup): New proc.
16675 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16676 and setup.
16677
065ab6dc
BH
166782016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16679
16680 * gdb.fortran/vla-history.exp: Remove breakpoint.
16681
07e448ad 166822016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16683
25d49b86
PA
16684 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16685 exceeds timeout.
07e448ad 16686
9ac2d526 166872016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16688
25d49b86
PA
16689 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16690 breakpoint.
9ac2d526 16691
17807369
BH
166922016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16693
16694 * gdb.mi/vla.f90: Nullify pointer after declaration.
16695
86e501af
PA
166962016-03-01 Pedro Alves <palves@redhat.com>
16697
16698 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16699
1e903e32
PA
167002016-03-01 Pedro Alves <palves@redhat.com>
16701
16702 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16703 before anything else.
16704 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16705 _GNU_SOURCE here.
16706 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16707 before anything else.
16708 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16709
6ccb54e2
PA
167102016-03-01 Pedro Alves <palves@redhat.com>
16711
16712 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16713
30ca9da1
YQ
167142016-03-01 Yao Qi <yao.qi@linaro.org>
16715
16716 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16717 prepare_for_testing.
16718
dc856b38
YQ
167192016-03-01 Yao Qi <yao.qi@linaro.org>
16720
16721 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16722
4a932159
AA
167232016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16724
16725 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16726 manually constructing the output path.
16727
f2489477
AA
167282016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16729
16730 * gdb.arch/s390-stackless.S: New.
16731 * gdb.arch/s390-stackless.exp: New.
16732
38899f16
IB
167332016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16734
16735 * gdb.dlang/circular.c: New file.
16736 * gdb.dlang/circular.exp: New file.
16737
9fde51ed
YQ
167382016-02-26 Yao Qi <yao.qi@linaro.org>
16739
16740 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16741 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16742 (testcases): Update.
16743
ce90fefe
YQ
167442016-02-26 Yao Qi <yao.qi@linaro.org>
16745
16746 * gdb.reverse/aarch64.c: Rename to ...
16747 * gdb.reverse/insn-reverse.c: ... it.
16748 * gdb.reverse/aarch64.exp: Rename to ...
16749 * gdb.reverse/insn-reverse.exp: ... it.
16750
3263bceb
YQ
167512016-02-26 Yao Qi <yao.qi@linaro.org>
16752
16753 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16754 (testcase_ftype): New.
16755 (testcases): New array.
16756 (n_testcases): New.
16757 (main): Call each element in testcases.
16758 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16759 (read_testcase): New.
16760 Do the tests in a loop.
16761
6cb59ff1
YQ
167622016-02-25 Yao Qi <yao.qi@linaro.org>
16763
16764 * gdb.base/branches.c: Remove.
16765
ae91f625
MK
167662016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16767
16768 PR gdb/13808
16769 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16770
678b48b7
MK
167712016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16772
16773 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16774
7337a6f2
MK
167752016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16776
16777 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16778 change x86_64 call_insn to 'callq'.
16779
861ca91f
AT
167802016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16781
16782 * gdb.trace/tfile-avx.c: Move to...
16783 * gdb.trace/tracefile-pseudo-reg.c: Here.
16784 * gdb.trace/tfile-avx.exp: Move to...
16785 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16786
bf74e428
GB
167872016-02-24 Gary Benson <gbenson@redhat.com>
16788
16789 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16790 message on attach.
16791
cce0e923
DE
167922016-02-23 Doug Evans <dje@google.com>
16793
16794 * gdb.base/skip.c (test_skip): New function.
16795 (end_test_skip_file_and_function): New function.
16796 (test_skip_file_and_function): New function.
16797 * gdb.base/skip1.c (test_skip): New function.
16798 (skip1_test_skip_file_and_function): New function.
16799 * gdb.base/skip.exp: Add tests for new skip options.
16800 * gdb.base/skip-solib.exp: Update expected output.
16801 * gdb.perf/skip-command.cc: New file.
16802 * gdb.perf/skip-command.exp: New file.
16803 * gdb.perf/skip-command.py: New file.
16804
4000e47e
MK
168052016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16806
16807 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16808 info registers pattern.
16809
24f75ead
IB
168102016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16811
16812 * lib/future.exp: Add D support.
16813 (gdb_find_gdc): New proc.
16814 (gdb_default_target_compile): Add D support.
16815
fbb7bcbe
WW
168162016-02-18 Wei-cheng Wang <cole945@gmail.com>
16817
16818 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16819 user+system time.
16820 (trace_speed_test): Determine the iteration count for a time
16821 between 15..30 seconds.
16822
012b3a21
WT
168232016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16824
16825 * gdb.arch/i386-mpx-sigsegv.c: New file.
16826 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16827 * gdb.arch/i386-mpx-simple_segv.c: New file.
16828 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16829
2d5189bd
YQ
168302016-02-18 Yao Qi <yao.qi@linaro.org>
16831
16832 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16833 Don't call setup_kfail.
16834
40fb20d0
YQ
168352016-02-18 Yao Qi <yao.qi@linaro.org>
16836
16837 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16838 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16839
21b1f8d2
DE
168402016-02-16 Doug Evans <dje@google.com>
16841
16842 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16843 * gdb.base/skip1.c: Ditto.
16844 * gdb.base/skip.exp: Whitespace cleanup.
16845
4041ed77
DB
168462016-02-16 Don Breazeal <donb@codesourcery.com>
16847
16848 PR remote/19496
16849 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16850 Remove kfail for PR remote/19496.
16851
c4ef31bf
SM
168522016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16853
16854 * lib/gdb.exp (standard_temp_file): Return a path specific to
16855 the runtest invocation.
16856
266b65b3
SM
168572016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16858
16859 * gdb.trace/save-trace.exp: Change relative path to be in the
16860 standard output directory.
16861
a7a0a6a9
JK
168622016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16863
16864 * gdb.arch/i386-prologue.c: Add missing prototypes.
16865
c99dbb42
JK
168662016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16867
16868 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16869 * gdb.arch/i386-prologue.exp: Likewise.
16870 * gdb.arch/i386-size.exp: Likewise.
16871
aa480355
SM
168722016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16873
16874 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16875 define object file path.
16876 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16877 file path.
16878 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16879 standard_output_file to define binfile.
16880
ba881f50
JK
168812016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16882
16883 Fix compatibility with recent gfortran-5.3.1.
16884 * gdb.fortran/vla-history.exp (print vla1 allocated)
16885 (print vla2 allocated, print $2, print $3): Remove
16886 (print $4): Rename to ...
16887 (print $2): ... here.
16888 (print $9): Rename to ...
16889 (print $5): ... here.
16890 (print $10): Rename to ...
16891 (print $6): ... here.
16892 * gdb.fortran/vla.f90: Add pvla initialization.
16893
e9fb005c
JK
168942016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16895
16896 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16897 New test.
16898 * gdb.fortran/vla-value-sub.exp: Likewise.
16899
e44e00ff
MK
169002016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16901
16902 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16903
97e94151
SM
169042016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16905
16906 * i386-biarch-core.exp: Define corefile using
16907 standard_output_file.
16908
01113bc1
YQ
169092016-02-12 Yao Qi <yao.qi@linaro.org>
16910
16911 * gdb.arch/arm-single-step-kernel-helper.c: New.
16912 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16913
33b4777c
MM
169142016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16915
16916 * gdb.btrace/tailcall-only.exp: New.
16917 * gdb.btrace/tailcall-only.c: New.
16918 * gdb.btrace/x86_64-tailcall-only.S: New.
16919 * gdb.btrace/i686-tailcall-only.S: New.
16920
acc23c11
PA
169212016-02-11 Pedro Alves <palves@redhat.com>
16922
16923 * README (Parallel testing): Add missing double quotes.
16924
e352bf0a
PA
169252016-02-11 Pedro Alves <palves@redhat.com>
16926
16927 * README (Parallel testing): New section.
16928 (GDB_PARALLEL): Rewrite.
16929 (FORCE_PARALLEL): Document.
16930
9f5fed78
MK
169312016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16932
16933 * gdb.trace/tfile-avx.c: New test.
16934 * gdb.trace/tfile-avx.exp: New test.
16935
9ef9e6a6
KS
169362016-02-09 Keith Seitz <keiths@redhat.com>
16937
16938 PR breakpoints/19546
16939 * gdb.base/infcall-exec.c: New file.
16940 * gdb.base/infcall-exec2.c: New file.
16941 * gdb.base/infcall-exec.exp: New file.
16942
a96e36da
KS
169432016-02-09 Keith Seitz <keiths@redhat.com>
16944
16945 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16946 (toplevel): Call test_bkpt_address.
16947
9f61929f
KS
169482016-02-09 Keith Seitz <keiths@redhat.com>
16949
16950 PR python/19506
16951 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16952 (toplevel): Call test_bkpt_address.
16953
1e94266c
SM
169542016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16955
16956 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16957 to AC_OUTPUT.
16958 * configure: Regenerate.
16959
2a7f3dff
PA
169602016-02-09 Pedro Alves <palves@redhat.com>
16961
16962 PR breakpoints/19548
16963 * gdb.base/execl-update-breakpoints.c (some_function): New
16964 function.
16965 (main): Call it.
16966 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16967 Tighten expected GDB output.
16968
2151ccc5
SM
169692016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16970
16971 * Makefile.in (ALL_SUBDIRS): Remove.
16972 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16973 (distclean maintainer-clean realclean): Likewise.
16974 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16975 * configure: Regenerate.
16976 * gdb.ada/Makefile.in: Delete.
16977 * gdb.arch/Makefile.in: Likewise.
16978 * gdb.asm/Makefile.in: Likewise.
16979 * gdb.base/Makefile.in: Likewise.
16980 * gdb.btrace/Makefile.in: Likewise.
16981 * gdb.cell/Makefile.in: Likewise.
16982 * gdb.compile/Makefile.in: Likewise.
16983 * gdb.cp/Makefile.in: Likewise.
16984 * gdb.disasm/Makefile.in: Likewise.
16985 * gdb.dlang/Makefile.in: Likewise.
16986 * gdb.dwarf2/Makefile.in: Likewise.
16987 * gdb.fortran/Makefile.in: Likewise.
16988 * gdb.gdb/Makefile.in: Likewise.
16989 * gdb.go/Makefile.in: Likewise.
16990 * gdb.guile/Makefile.in: Likewise.
16991 * gdb.java/Makefile.in: Likewise.
16992 * gdb.linespec/Makefile.in: Likewise.
16993 * gdb.mi/Makefile.in: Likewise.
16994 * gdb.modula2/Makefile.in: Likewise.
16995 * gdb.multi/Makefile.in: Likewise.
16996 * gdb.objc/Makefile.in: Likewise.
16997 * gdb.opencl/Makefile.in: Likewise.
16998 * gdb.opt/Makefile.in: Likewise.
16999 * gdb.pascal/Makefile.in: Likewise.
17000 * gdb.perf/Makefile.in: Likewise.
17001 * gdb.python/Makefile.in: Likewise.
17002 * gdb.reverse/Makefile.in: Likewise.
17003 * gdb.server/Makefile.in: Likewise.
17004 * gdb.stabs/Makefile.in: Likewise.
17005 * gdb.threads/Makefile.in: Likewise.
17006 * gdb.trace/Makefile.in: Likewise.
17007 * gdb.xml/Makefile.in: Likewise.
17008 * lib/gdb.exp (make_gdb_parallel_path): Add check for
17009 GDB_PARALLEL.
17010 (standard_output_file): Remove check for GDB_PARALLEL, always
17011 return path in outputs/$subdir/$testname.
17012
437277d4
SM
170132016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17014
17015 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
17016 (site.exp): Assign abs_srcdir to tcl's srcdir.
17017
31d913c7
YQ
170182016-02-04 Yao Qi <yao.qi@linaro.org>
17019
17020 * gdb.base/foll-exec-mode.c: Include limits.h.
17021 (main): Add parameters argc and argv. Get directory from
17022 argv[0].
17023 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
17024 compilation.
17025 * gdb.base/foll-exec.c: Include limits.h.
17026 (main): Add parameters argc and argv.
17027 Get directory from argv[0].
17028 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17029 Adjust tests on the number of lines as source code changed.
17030 * gdb.base/foll-vfork-exit.c: Include limits.h.
17031 (main): Add one line of statement before vfork.
17032 * gdb.base/foll-vfork.c: Include limits.h and string.h.
17033 (main): Add parameters argc and argv. Get directory from
17034 argv[0].
17035 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
17036 (setup_gdb): Set tbreak to skip some source lines.
17037 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
17038 (main): Add parameters argc and argv. Get directory from
17039 argv[0].
17040 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
17041 compilation.
17042 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
17043 (main): Add parameters argc and argv. Get directory from
17044 argv[0].
17045 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
17046 compilation.
17047
9482b9fb
DE
170482016-02-01 Doug Evans <dje@google.com>
17049
17050 * gdb.base/skip.exp: Clean up multiple references to same test name.
17051
6b2e4f10
PA
170522016-02-01 Pedro Alves <palves@redhat.com>
17053
ccb6afd6 17054 PR remote/19496
6b2e4f10
PA
17055 * gdb.threads/forking-threads-plus-breakpoint.exp
17056 (displaced_stepping_supported): New global.
17057 (probe_displaced_stepping_support): New procedure.
17058 (do_test): Add 'displaced' parameter, and use it.
17059 (top level): Check for displaced stepping support. Add displaced
17060 stepping on/off testing axis.
17061
37a8db1a
AB
170622016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17063
17064 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
17065 pointer. Don't perform further tests on the unassociated pointer
17066 if the first test fails.
17067
5fdf6324
AB
170682016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17069
17070 * gdb.base/max-value-size.c: New file.
17071 * gdb.base/max-value-size.exp: New file.
17072 * gdb.base/huge.exp: Disable max-value-size for this test.
17073
935c6144
IB
170742016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
17075
17076 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17077
7fe8399d
YQ
170782016-01-28 Yao Qi <yao.qi@linaro.org>
17079
17080 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
17081
a2077e25
PA
170822016-01-25 Pedro Alves <palves@redhat.com>
17083
17084 PR threads/19461
17085 * gdb.base/fork-running-state.c: New file.
17086 * gdb.base/fork-running-state.exp: New file.
17087
1d2736d4
PA
170882016-01-25 Pedro Alves <palves@redhat.com>
17089
17090 PR gdb/19494
17091 * gdb.base/catch-fork-kill.c: New file.
17092 * gdb.base/catch-fork-kill.exp: New file.
17093
f1da4b11
PA
170942016-01-25 Pedro Alves <palves@redhat.com>
17095
17096 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17097 Delete, moved to lib/gdb.exp.
17098 * gdb.threads/forking-threads-plus-breakpoint.exp
17099 (foreach_with_prefix): Likewise.
17100 * gdb.threads/process-dies-while-handling-bp.exp
17101 (foreach_with_prefix): Likewise.
17102 * lib/gdb.exp (foreach_with_prefix): New procedure.
17103
45f38546
MK
171042016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17105
17106 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17107 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17108
dc29a1ce
MK
171092016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17110
17111 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17112 endian targets.
17113
092127d7
JK
171142016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17115 Pedro Alves <palves@redhat.com>
17116
17117 Fix testsuite compatibility with Guile.
17118 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17119 number.
17120
31d765d3
JK
171212016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17122
17123 Fix testsuite compatibility with Guile.
17124 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17125 (thread 1): New test for backtrace through signal handler.
17126
1ac78c04
YQ
171272016-01-22 Yao Qi <yao.qi@linaro.org>
17128
17129 PR testsuite/19491
17130 * gdb.base/multi-forks.c: Include
17131 ../lib/unbuffer_output.c
17132 (main): Call gdb_unbuffer_output.
17133
4f5946a8
DE
171342016-01-21 Doug Evans <dje@google.com>
17135
17136 * lib/ada.exp (gdb_compile_ada): Fix typo.
17137
305e13e6
JB
171382016-01-21 Joel Brobecker <brobecker@adacore.com>
17139
17140 * gdb.base/break-fun-addr.exp: New file.
17141 * gdb.base/break-fun-addr1.c: New file.
17142 * gdb.base/break-fun-addr2.c: New file.
17143
5f5dfff6
SM
171442016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17145
17146 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17147 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17148 enum flag values.
17149
fd356fa2
AA
171502016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17151
17152 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17153 when GDB can not set the vector return value. Add more comments
17154 for clarification.
17155
9df22175
AT
171562016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17157
17158 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17159 command.
17160
41d1845e
SM
171612016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17162
17163 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17164
01ac6840
SM
171652016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17166
17167 * Makefile.in (check-single): Pass --status to runtest.
17168 (check/%.exp): Likewise.
17169
171702016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17171
17172 * Makefile.in (check-parallel): Propagate return code from make
17173 do-check-parallel.
17174
bd0a71fa
MK
171752016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17176
17177 * gdb.trace/ftrace.exp: Fix expected message on continue.
17178 * gdb.trace/pending.exp: Fix expected message on continue.
17179 * gdb.trace/trace-break.exp: Fix expected message on continue.
17180
8bcbad33
SM
171812016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17182
17183 * lib/gdb.exp (gdb_test): Remove unused global references.
17184
f303dbd6
PA
171852016-01-18 Pedro Alves <palves@redhat.com>
17186
17187 * gdb.base/async-shell.exp: Adjust expected output.
17188 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17189 * gdb.base/siginfo-thread.exp: Adjust expected output.
17190 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17191 * gdb.java/jnpe.exp: Adjust expected output.
17192 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17193 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17194 * gdb.threads/leader-exit.exp: Adjust expected output.
17195 * gdb.threads/manythreads.exp: Adjust expected output.
17196 * gdb.threads/pthreads.exp: Adjust expected output.
17197 * gdb.threads/schedlock.exp: Adjust expected output.
17198 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17199 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17200 expected output.
17201 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17202 output.
17203 * gdb.threads/sigthread.exp: Adjust expected output.
17204 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17205
b2789696
YQ
172062016-01-18 Yao Qi <yao.qi@linaro.org>
17207
17208 * gdb.guile/scm-section-script.c: Replace @progbits with
17209 %progbits.
17210 * gdb.python/py-section-script.c: Likewise.
17211
71ef29a8
PA
172122016-01-15 Pedro Alves <palves@redhat.com>
17213
17214 * gdb.multi/tids.exp: Test star wildcard ranges.
17215
3f5b7598
PA
172162016-01-15 Pedro Alves <palves@redhat.com>
17217
17218 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17219 command from "thread apply" invocation.
17220 (thr_apply_info_thr_invalid): Default the expected output to the
17221 input tid list.
17222 (top level): Add tests that use convenience variables. Add tests
17223 for "thread apply" with a valid TID list, but missing the command.
17224
663f6d42
PA
172252016-01-13 Pedro Alves <palves@redhat.com>
17226
17227 * gdb.base/default.exp: Expect $_gthread as well.
17228 * gdb.multi/tids.exp: Test $_gthread.
17229 * gdb.threads/thread-specific.exp: Test $_gthread.
17230
c84f6bbf
PA
172312016-01-13 Pedro Alves <palves@redhat.com>
17232
17233 * gdb.multi/tids.exp: Test "info threads -gid".
17234
22a02324
PA
172352016-01-13 Pedro Alves <palves@redhat.com>
17236
17237 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17238 Breakpoint.thread.
17239 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17240
5d5658a1
PA
172412016-01-07 Pedro Alves <palves@redhat.com>
17242
17243 * gdb.base/break.exp: Adjust to output changes.
17244 * gdb.base/hbreak2.exp: Likewise.
17245 * gdb.base/sepdebug.exp: Likewise.
17246 * gdb.base/watch_thread_num.exp: Likewise.
17247 * gdb.linespec/keywords.exp: Likewise.
17248 * gdb.multi/info-threads.exp: Likewise.
17249 * gdb.threads/thread-find.exp: Likewise.
17250 * gdb.multi/tids.c: New file.
17251 * gdb.multi/tids.exp: New file.
17252
84654457
PA
172532016-01-13 Pedro Alves <palves@redhat.com>
17254
17255 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17256
e3940304
PA
172572016-01-13 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.base/default.exp: Expect $_inferior as well.
17260 * gdb.multi/base.exp: Test $_inferior.
17261
a911d87a
PA
172622016-01-13 Pedro Alves <palves@redhat.com>
17263
17264 PR breakpoints/19388
17265 * gdb.base/catch-signal-siginfo-cond.c: New file.
17266 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17267
82075af2
JS
172682016-01-12 Josh Stone <jistone@redhat.com>
17269 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17270
17271 * gdb.base/catch-syscall.c (do_execve): New variable.
17272 (main): Conditionally trigger an execve.
17273 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17274 (test_catch_syscall_execve): New, check entry/return across execve.
17275 (do_syscall_tests): Call test_catch_syscall_execve.
17276
e46eeedd
PA
172772016-01-12 Pedro Alves <palves@redhat.com>
17278
17279 * gdb.base/random-signal.exp (do_test): New procedure, with body
17280 of testcase moved in.
17281
01d8c27e
JK
172822016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17283 Pedro Alves <palves@redhat.com>
17284
17285 * gdb.base/funcargs.exp (finish from indirectly called function):
17286 Reintroduce the case for 'First'.
17287
9a706302
JK
172882016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17289 Pedro Alves <palves@redhat.com>
17290
17291 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17292 (tcatch_vfork_then_child_follow_exec)
17293 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17294 identification.
17295
c0ecb95f
JK
172962016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17297
17298 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17299 and repeats to unlimited.
17300 * gdb.python/py-value.exp: Likewise.
17301 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17302 and repeats to unlimited.
17303
6cfc1fcb
JK
173042016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17305
17306 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17307 and reordering the functions.
17308 * gdb.multi/hangout.c: Likewise.
17309 * gdb.multi/hello.c: Likewise.
17310
582a1b00
SM
173112016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17312
17313 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17314 absolute.
17315 (SingleStatisticTestResult.report): Use dict.keys instead of
17316 dict.iterkeys.
17317
79bc59cb
PA
173182016-01-06 Pedro Alves <palves@redhat.com>
17319
17320 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17321
43368e1d
MM
173222016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17323
17324 * gdb.btrace/dlopen.exp: New.
17325 * gdb.btrace/dlopen.c: New.
17326 * gdb.btrace/dlopen-dso.c: New.
17327
79fad5b8
SL
173282015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17329
17330 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17331 PATTERN argument is optional.
17332
ab8314b3
JB
173332015-12-24 Joel Brobecker <brobecker@adacore.com>
17334
17335 * lib/ada.exp (target_compile_ada_from_dir): New function.
17336 (gdb_compile_ada): Reimplement avoiding the use of project files.
17337 * gdb.ada/gnat_ada.gpr: Delete.
17338 * gdb.ada/cond_lang.exp: Adjust test to make path before
17339 filename optional.
17340 * gdb.ada/small_reg_param.exp: Likewise.
17341
fe33faff
SM
173422015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17343
17344 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17345
6d265cb4
TP
173462015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17347
17348 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17349 case.
17350
10125099
SM
173512015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17352
17353 * gdb.base/break.exp: Remove dead code.
17354 * gdb.base/sepdebug.exp: Likewise.
17355
3ca22649
SM
173562015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17357
17358 * gdb.asm/asm-source.exp: Remove HP-UX references.
17359 * gdb.base/annota1.exp: Likewise.
17360 * gdb.base/annota3.exp: Likewise.
17361 * gdb.base/attach.exp: Likewise.
17362 * gdb.base/bigcore.exp: Likewise.
17363 * gdb.base/break.exp: Likewise.
17364 * gdb.base/call-ar-st.exp: Likewise.
17365 * gdb.base/callfuncs.exp: Likewise.
17366 * gdb.base/catch-fork-static.exp: Likewise.
17367 * gdb.base/display.exp: Likewise.
17368 * gdb.base/foll-exec-mode.exp: Likewise.
17369 * gdb.base/foll-exec.exp: Likewise.
17370 * gdb.base/foll-fork.exp: Likewise.
17371 * gdb.base/foll-vfork.exp: Likewise.
17372 * gdb.base/funcargs.exp: Likewise.
17373 * gdb.base/hbreak2.exp: Likewise.
17374 * gdb.base/inferior-died.exp: Likewise.
17375 * gdb.base/interrupt.exp: Likewise.
17376 * gdb.base/multi-forks.exp: Likewise.
17377 * gdb.base/nodebug.exp: Likewise.
17378 * gdb.base/sepdebug.exp: Likewise.
17379 * gdb.base/solib1.c: Likewise.
17380 * gdb.base/step-test.exp: Likewise.
17381 * gdb.mi/non-stop.c: Likewise.
17382 * gdb.mi/pthreads.c: Likewise.
17383 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17384 * gdb.threads/pthreads.c: Likewise.
17385 * gdb.threads/staticthreads.exp: Likewise.
17386 * lib/future.exp: Likewise.
17387 * lib/gdb.exp: Likewise.
17388 * gdb.base/so-indr-cl.c: Remove.
17389 * gdb.base/so-indr-cl.exp: Likewise.
17390 * gdb.base/solib.c: Likewise.
17391 * gdb.base/solib.exp: Likewise.
17392 * gdb.base/solib2.c: Likewise.
17393
b6304613
SM
173942015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17395
17396 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17397 * gdb.base/call-ar-st.exp: Likewise.
17398 * gdb.base/callfuncs.exp: Likewise.
17399 * gdb.base/condbreak.exp: Likewise.
17400 * gdb.base/constvars.exp: Likewise.
17401 * gdb.base/hbreak2.exp: Likewise.
17402 * gdb.base/langs.exp: Likewise.
17403 * gdb.base/list.exp: Likewise.
17404 * gdb.base/long_long.exp: Likewise.
17405 * gdb.base/ptype.exp: Likewise.
17406 * gdb.base/scope.exp: Likewise.
17407 * gdb.base/signals.exp: Likewise.
17408 * gdb.base/so-impl-ld.exp: Likewise.
17409 * gdb.base/varargs.exp: Likewise.
17410 * gdb.base/volatile.exp: Likewise.
17411 * gdb.base/whatis.exp: Likewise.
17412 * gdb.cp/cplusfuncs.exp: Likewise.
17413 * gdb.cp/inherit.exp: Likewise.
17414 * gdb.cp/local.exp: Likewise.
17415 * gdb.cp/member-ptr.exp: Likewise.
17416 * gdb.cp/method.exp: Likewise.
17417 * gdb.cp/overload.exp: Likewise.
17418 * gdb.cp/templates.exp: Likewise.
17419 * gdb.stabs/weird.exp: Likewise.
17420 * lib/compiler.c: Likewise.
17421 * lib/compiler.cc: Likewise.
17422 * lib/cp-support.exp: Likewise.
17423 * lib/gdb.exp: Likewise.
17424
bf401b07
SM
174252015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17426
17427 * configure.ac: Remove HP-UX case.
17428 * configure: Regenerate.
17429
aff9c0f8
SM
174302015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17431
17432 * lib/gdb.exp (gdb_compile): Add function doc.
17433
a6904d5a
PA
174342015-12-17 Pedro Alves <palves@redhat.com>
17435
17436 PR threads/19354
17437 * gdb.multi/info-threads.exp: New file.
17438
a22279dd
YQ
174392015-12-15 Yao Qi <yao.qi@linaro.org>
17440
17441 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17442 is aarch64*-*-*.
17443
0588c796
SL
174442015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17445
17446 * gdb.base/history-duplicates.exp: Skip if no readline support.
17447
5d978e17
SL
174482015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17449
17450 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17451
7e763b86
SL
174522015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17453
17454 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17455
87a3a92c
SL
174562015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17457
17458 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17459 ctrl-C if nointerrupts target property is set.
17460 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17461 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17462 * gdb.base/paginate-bg-execution.exp: Likewise.
17463 * gdb.base/paginate-execution-startup.exp: Likewise.
17464 * gdb.base/random-signal.exp: Likewise.
17465 * gdb.base/range-stepping.exp: Likewise.
17466 * gdb.cp/annota2.exp: Likewise.
17467 * gdb.cp/annota3.exp: Likewise.
17468 * gdb.gdb/selftest.exp: Likewise.
17469 * gdb.threads/continue-pending-status.exp: Likewise.
17470 * gdb.threads/leader-exit.exp: Likewise.
17471 * gdb.threads/manythreads.exp: Likewise.
17472 * gdb.threads/pthreads.exp: Likewise.
17473 * gdb.threads/schedlock.exp: Likewise.
17474 * gdb.threads/sigthread.exp: Likewise.
17475
a8f077dc
DB
174762015-12-11 Don Breazeal <donb@codesourcery.com>
17477
17478 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17479 remote.
17480 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17481 * gdb.base/foll-exec.exp (main): Enable for target remote.
17482 * gdb.base/foll-fork.exp (main): Likewise.
17483 * gdb.base/foll-vfork.exp (main): Likewise.
17484 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17485 (proc continue_to_exit_bp_loc): Use clean_restart.
17486 * gdb.base/pie-execl.exp (main): Disable for target remote.
17487 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17488 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17489 * gdb.threads/execl.exp (main): Likewise.
17490 * gdb.threads/fork-child-threads.exp (main): Likewise.
17491 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17492 remote.
17493 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17494 remote.
17495 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17496 pid.tid style ptids, instead of just tid.
17497 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17498 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17499 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17500 ptids, instead of just tid.
17501
3b2464a8
AB
175022015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17503
17504 * gdb.base/list.exp (test_list_forward): Add end of file error
17505 test.
17506 (test_repeat_list_command): Add end of file error test.
17507 (test_list_backwards): Add beginning of file error test.
17508
a0def019
AB
175092015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17510
17511 * gdb.base/list.exp (test_list_invalid_args): New function,
17512 defined, and called.
17513
5c000dff
AB
175142015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17515
17516 * gdb.base/list.exp (test_list): Make test names unique.
17517
f1637ebe
YQ
175182015-12-11 Yao Qi <yao.qi@linaro.org>
17519
17520 * gdb.base/coremaker2.c: Remove.
17521
36d6fc0a
PA
175222015-12-10 Pedro Alves <palves@redhat.com>
17523
17524 * gdb.multi/base.exp: Remove stale "spaces" references.
17525
762f7747
PA
175262015-12-10 Pedro Alves <palves@redhat.com>
17527
17528 * gdb.multi/base.exp: Don't use nowarnings.
17529 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17530 * gdb.multi/hangout.c: Include stdio.h.
17531 * gdb.multi/hello.c: Include stdlib.h.
17532 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17533 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17534 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17535
28d2bfb9
AB
175362015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17537
17538 * gdb.dwarf2/dw2-ranges-base.c: New file.
17539 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17540 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17541 support additional line table, and debug ranges generation.
17542 (Dwarf::ranges): New function, generate .debug_ranges.
17543 (Dwarf::lines): Support generating simple line table programs.
17544 (Dwarf::assemble): Initialise new namespace variables.
17545
5fc2beac
KB
175462015-12-09 Kevin Buettner <kevinb@redhat.com>
17547
17548 * gdb.base/async.exp (proc test_background): Add case for
17549 asynchronous execution not supported.
17550
1c35a88f
LM
175512015-12-09 Luis Machado <lgustavo@codesourcery.com>
17552
17553 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17554 format and change test names to make them unique.
17555
b593e3d9
RK
175562015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17557 Pedro Alves <pedro@redhat.com>
17558
17559 PR gdb/18702
17560 Add checking of floatformats setup on x86_64 hosts.
17561 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17562 (smallval, bigval): New labels/constants.
17563 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17564 float" after loading bigval and smallval.
17565
d72413e6
PMR
175662015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17567
17568 * gdb.ada/fun_overload_menu.exp: New testcase.
17569 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17570
ece66d65
JS
175712015-12-04 Josh Stone <jistone@redhat.com>
17572
17573 * gdb.base/catch-fork-static.exp: New.
17574
41d0efca
YQ
175752015-12-03 Yao Qi <yao.qi@linaro.org>
17576
17577 * gdb.base/sizeof.c: Don't include stdio.h and
17578 ../lib/unbuffer_output.c.
17579 (main): New variable 'size' and 'value'. Remove printf and
17580 gdb_unbuffer_output. Assign return value to size and value.
17581 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17582 at the beginning.
17583 (check_sizeof): Check the result by printing variable 'size'.
17584 (check_valueof): Check the result by printing variable 'value'.
17585
99fd02d9
YQ
175862015-12-01 Yao Qi <yao.qi@linaro.org>
17587
17588 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17589 for aarch64*-*-linux* target.
17590
f2faf941
PA
175912015-11-30 Pedro Alves <palves@redhat.com>
17592
17593 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17594
04bf20c5
PA
175952015-11-30 Pedro Alves <palves@redhat.com>
17596
17597 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17598 Handle non-stop mode vCont replies.
17599
09df4675
PA
176002015-11-30 Pedro Alves <palves@redhat.com>
17601
17602 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17603 prepare_for_testing. Start gdb with "set non-stop on" appended to
17604 GDBFLAGS. Lax expected stop output.
17605
58b584af
YQ
176062015-11-27 Yao Qi <yao.qi@linaro.org>
17607
17608 * gdb.arch/arm-neon.exp: New.
17609 * gdb.arch/arm-neon.c: New.
17610
dfcb77a8
YQ
176112015-11-27 Yao Qi <yao.qi@linaro.org>
17612
17613 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17614
88e8ec1b
YQ
176152015-11-27 Yao Qi <yao.qi@linaro.org>
17616
17617 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17618 frames-invalid annotation.
17619
bfde72c2
YQ
176202015-11-27 Yao Qi <yao.qi@linaro.org>
17621
17622 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17623
f6512a69
SM
176242015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17625
17626 * gdb.threads/names.exp: New file.
17627 * gdb.threads/names.c: New file.
17628 * README: Mention gdb,no_thread_names.
17629
46a3515b
MM
176302015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17631
17632 PR 19297
17633 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17634 support" error.
17635
62147a22
PA
176362015-11-24 Pedro Alves <palves@redhat.com>
17637
17638 PR 17539
17639 * gdb.base/display.exp: Expect displays to be sorted in ascending
17640 order. Use multi_line.
17641 * gdb.base/solib-display.exp: Likewise.
17642
2f341b6e
PA
176432015-11-24 Pedro Alves <palves@redhat.com>
17644
17645 PR 17539
25d49b86
PA
17646 * gdb.base/display.exp: Expect displays to be sorted in ascending
17647 order. Use multi_line.
17648 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17649
7e0aa6aa
PA
176502015-11-24 Pedro Alves <palves@redhat.com>
17651
17652 PR 17539
17653 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17654 threads in ascending order.
17655 * gdb.base/foll-fork.exp: Likewise.
17656 * gdb.base/foll-vfork.exp: Likewise.
17657 * gdb.base/multi-forks.exp: Likewise.
17658 * gdb.mi/mi-nonstop.exp: Likewise.
17659 * gdb.mi/mi-nsintrall.exp: Likewise.
17660 * gdb.multi/base.exp: Likewise.
17661 * gdb.multi/multi-arch.exp: Likewise.
17662 * gdb.python/py-inferior.exp: Likewise.
17663 * gdb.threads/break-while-running.exp: Likewise.
17664 * gdb.threads/execl.exp: Likewise.
17665 * gdb.threads/gcore-thread.exp: Likewise.
17666 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17667 * gdb.threads/kill.exp: Likewise.
17668 * gdb.threads/linux-dp.exp: Likewise.
17669 * gdb.threads/multiple-step-overs.exp: Likewise.
17670 * gdb.threads/next-bp-other-thread.exp: Likewise.
17671 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17672 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17673 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17674 * gdb.threads/thread-find.exp: Likewise.
17675 * gdb.threads/tls.exp: Likewise.
17676 * lib/mi-support.exp (mi_reverse_list): Delete.
17677 (mi_check_thread_states): No longer reverse list.
17678
2cc57ad8
PA
176792015-11-24 Pedro Alves <palves@redhat.com>
17680
17681 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17682 use lowercase.
17683
c93e8391
SM
176842015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17685
17686 * gdb.trace/actions.c: Include trace-common.h.
17687 (main): Add a location for a fast tracepoint.
17688 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17689 the normal tracepoints.
17690 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17691
045ccf91
SM
176922015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17693
17694 * save-trace.exp: Factor out code to these...
17695 (gdb_save_tracepoints): New.
17696 (gdb_load_tracepoints): New.
17697 (do_save_load_test): New.
17698
5506f9f6
KB
176992015-11-23 Kevin Buettner <kevinb@redhat.com>
17700
17701 * gdb.base/asmlabel.exp: New test.
17702 * gdb.base/asmlabel.c: New test case.
17703
16c3b12f
JB
177042015-11-23 Joel Brobecker <brobecker@adacore.com>
17705
17706 * gdb.base/wrong_frame_bt_full-main.c: New file.
17707 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17708 * gdb.base/wrong_frame_bt_full.exp: New file.
17709
155bfbd3
JB
177102015-11-23 Joel Brobecker <brobecker@adacore.com>
17711
17712 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17713
bb097445
JM
177142015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17715
206853a0 17716 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17717 pstate register when comparing registers values in
17718 sparc64-*-linux-gnu targets to avoid spurious differences.
17719
9c88ed8f
JM
177202015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17721
206853a0 17722 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17723
96161e25
SL
177242015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17725
17726 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17727 as type argument to gdb_compile.
17728 * gdb.base/nested-subp2.exp: Likewise.
17729 * gdb.base/nested-subp3.exp: Likewise.
17730
340c2830
DV
177312015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17732
17733 * lib/dwarf.exp (_note): Fix left shift of negative value.
17734 * gdb.trace/trace-condition.exp: Likewise.
17735
c1862d0f
YQ
177362015-11-13 Yao Qi <yao.qi@linaro.org>
17737
17738 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17739 comments about d10v.
17740 (test_scalar_returns): Likewise.
17741 * gdb.base/d10v.ld: Remove.
17742 * gdb.base/overlays.exp: Remove the target triplet checking for
17743 d10v-*-*.
17744 * gdb.base/structs.exp (test_struct_returns): Remove the
17745 comments about d10v.
17746 (test_struct_calls): Likewise.
17747
77ae9c19
YQ
177482015-11-13 Yao Qi <yao.qi@linaro.org>
17749
17750 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17751 * gdb.base/gnu_vector.c: Don't include stdio.h.
17752 (main): Don't print res and call add_some_intvecs.
17753
430e004e
MK
177542015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17755
17756 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17757 macro.
17758 (func5): Removed.
17759 (func4): Use FAST_TRACEPOINT_LABEL.
17760 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17761 macro.
17762 (func): Removed.
17763 (thread_function): Use FAST_TRACEPOINT_LABEL.
17764 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17765 (func): Remove.
17766 (marker): Use FAST_TRACEPOINT_LABEL.
17767 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17768 (pendfunc1): Remove.
17769 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17770 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17771 (foo): Remove.
17772 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17773 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17774 macro.
17775 (func): Remove.
17776 (marker): Use FAST_TRACEPOINT_LABEL.
17777 * gdb.trace/trace-common.h: New header.
17778 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17779 macro.
17780 (func): Remove.
17781 (marker): Use FAST_TRACEPOINT_LABEL.
17782 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17783 (func): Remove.
17784 (thread_function): Use FAST_TRACEPOINT_LABEL.
17785
6e7675a7
MK
177862015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17787
17788 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17789 in front.
17790 * gdb.trace/change-loc.exp: Use global pcreg definition.
17791 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17792 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17793 in front.
17794 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17795 * gdb.trace/pending.exp: Likewise.
17796 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17797 * gdb.trace/trace-break.exp: Likewise.
17798 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17799 in front.
17800 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17801 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17802 in front.
17803 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17804
dddc0e16
JB
178052015-11-09 Joel Brobecker <brobecker@adacore.com>
17806
17807 * gdb.ada/fin_fun_out: New testcase.
17808
c6f0b406
KB
178092015-11-07 Kevin Buettner <kevinb@redhat.com>
17810
17811 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17812 value associated with DW_AT_byte_size.
17813 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17814 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17815 DW_AT_upper_bound.
17816
f01dcfd9
KB
178172015-11-07 Kevin Buettner <kevinb@redhat.com>
17818
17819 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17820 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17821 version.
17822 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17823 gdb.dwarf2/dw2-canonicalize-type.exp,
17824 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17825 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17826 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17827 provided by gdb_target_symbol_prefix_flags_asm.
17828 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17829 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17830 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17831 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17832 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17833 macros where needed). Use this macro for symbols which require
17834 the prefix provided by SYMBOL_PREFIX.
17835
2223449a
KB
178362015-11-05 Kevin Buettner <kevinb@redhat.com>
17837
17838 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17839 New procs.
17840 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17841 representing expressions, of more than one list element.
17842 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17843 to prepend linker symbol prefix to f.
17844 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17845 table_1 and table_2.
17846 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17847 Likewise, for f and g.
17848 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17849 for ptr.
17850 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17851 for main.
17852 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17853 table_1_ptr and table_2_ptr.
17854
6f2f1a3a
JK
178552015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17856 Joel Brobecker <brobecker@adacore.com>
17857
17858 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17859
566c56c9
MK
178602015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17861
17862 * gdb.reverse/s390-mvcle.c: New test.
17863 * gdb.reverse/s390-mvcle.exp: New file.
17864 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17865
d5f0636b
MK
178662015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17867
17868 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17869
7ad8b86c
MK
178702015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17871
17872 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17873 reaching marker2.
17874 * gdb.reverse/getresuid-reverse.exp: Likewise.
17875 * gdb.reverse/pipe-reverse.exp: Likewise.
17876 * gdb.reverse/readv-reverse.exp: Likewise.
17877 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17878 * gdb.reverse/time-reverse.exp: Likewise.
17879 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17880
4081c0f1
YQ
178812015-10-30 Yao Qi <yao.qi@linaro.org>
17882
17883 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17884 (empty_cycle): Remove.
17885 (main): Don't call empty_cycle. Don't use watch_count_done.
17886 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17887 empty_cycle. Rewrite the code counting HW watchpoints.
17888
452b4ba5
MK
178892015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17890
17891 * gdb.reverse/fstatat-reverse.c: New test.
17892 * gdb.reverse/fstatat-reverse.exp: New file.
17893 * gdb.reverse/getresuid-reverse.c: New test.
17894 * gdb.reverse/getresuid-reverse.exp: New file.
17895 * gdb.reverse/pipe-reverse.c: New test.
17896 * gdb.reverse/pipe-reverse.exp: New file.
17897 * gdb.reverse/readv-reverse.c: New test.
17898 * gdb.reverse/readv-reverse.exp: New file.
17899 * gdb.reverse/recvmsg-reverse.c: New test.
17900 * gdb.reverse/recvmsg-reverse.exp: New file.
17901 * gdb.reverse/time-reverse.c: New test.
17902 * gdb.reverse/time-reverse.exp: New file.
17903 * gdb.reverse/waitpid-reverse.c: New test.
17904 * gdb.reverse/waitpid-reverse.exp: New file.
17905
5e2e7507
JK
179062015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17907
17908 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17909
0fde2c53
DE
179102015-10-26 Doug Evans <dje@google.com>
17911
17912 PR symtab/17391
17913 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17914 * gdb.dwarf2/bad-regnum.c: New file.
17915 * gdb.dwarf2/bad-regnum.exp: New file.
17916
1a70ae97
DE
179172015-10-26 Doug Evans <dje@google.com>
17918
17919 PR python/18938
17920 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17921 file.
17922
27dc26ab
JK
179232015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17924
17925 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17926 for a change by "Mention language in compile error message".
17927
bed91f4d
SM
179282015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17929
17930 PR python/18073
17931 * gdb.python/py-type.c (C::a_method): New.
17932 (C::a_const_method): New.
17933 (C::a_static_method): New.
17934 (a_function): New.
17935 * gdb.python/py-type.exp (test_fields): Test getting fields
17936 from function and method.
17937
3f2f83dd
KB
179382015-10-21 Keven Boell <keven.boell@intel.com>
17939
17940 * gdb.fortran/vla-alloc-assoc.exp: New file.
17941 * gdb.fortran/vla-datatypes.exp: New file.
17942 * gdb.fortran/vla-datatypes.f90: New file.
17943 * gdb.fortran/vla-history.exp: New file.
17944 * gdb.fortran/vla-ptype-sub.exp: New file.
17945 * gdb.fortran/vla-ptype.exp: New file.
17946 * gdb.fortran/vla-sizeof.exp: New file.
17947 * gdb.fortran/vla-sub.f90: New file.
17948 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17949 * gdb.fortran/vla-value-sub-finish.exp: New file.
17950 * gdb.fortran/vla-value-sub.exp: New file.
17951 * gdb.fortran/vla-value.exp: New file.
17952 * gdb.fortran/vla-ptr-info.exp: New file.
17953 * gdb.mi/mi-vla-fortran.exp: New file.
17954 * gdb.mi/vla.f90: New file.
17955
27145d50
SL
179562015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17957
17958 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17959 of hardwired timeout value.
17960
5f3ff4f8
JK
179612015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17962 Pedro Alves <palves@redhat.com>
17963
17964 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17965 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17966
bfd09d20
JS
179672015-10-19 Josh Stone <jistone@redhat.com>
17968
17969 * gdb.base/catch-syscall.c: Include <sched.h>.
17970 (unknown_syscall): New variable.
17971 (main): Trigger a vfork and an unknown syscall.
17972 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17973 (unknown_syscall_number): Likewise.
17974 (check_call_to_syscall): Accept an optional syscall pattern.
17975 (check_return_from_syscall): Likewise.
17976 (check_continue): Likewise.
17977 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17978 (test_catch_syscall_skipping_return): New test toggling off 'catch
17979 syscall' to step over the syscall return, then toggling back on.
17980 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17981 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17982 (do_syscall_tests): Call test_catch_syscall_without_args and
17983 test_catch_syscall_mid_vfork.
17984 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17985 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17986
b32b93c6
AS
179872015-10-19 Andrew Stubbs <ams@codesourcery.com>
17988
17989 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17990 print g_vE): Add new pass patterns.
17991 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17992 print various symbol names for vptr fields.
17993
9d622bda
AB
179942015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17995
17996 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17997 results.
17998
0fd8ac1c
YQ
179992015-10-12 Yao Qi <yao.qi@linaro.org>
18000
18001 * gdb.arch/disp-step-insn-reloc.exp: New test case.
18002
34240514
YQ
180032015-10-12 Yao Qi <yao.qi@linaro.org>
18004
18005 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
18006 is aarch64*-*-linux*.
18007
8240f442
YQ
180082015-10-12 Yao Qi <yao.qi@linaro.org>
18009
18010 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
18011 (can_relocate_bcond_true): ... it.
18012 (can_relocate_bcond_false): New function.
18013 (foo): Likewise.
18014 (can_relocate_bl): Likewise.
18015 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
18016 can_relocate_bl.
18017
2520f728
PMR
180182015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
18019
18020 * gdb.base/nested-addr.c: New file.
18021 * gdb.base/nested-addr.exp: New testcase.
18022
abcef95a
MM
180232015-10-09 Markus Metzger <markus.t.metzger@intel.com>
18024
18025 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
18026 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
18027 its output. Ignore the output of "record goto begin" and instead
18028 check that GDB is replaying.
18029
145e3ddb
PA
180302015-10-09 Pedro Alves <palves@redhat.com>
18031
18032 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
18033 (top level): Use it in the run with no args test.
18034
d5d8c4e1
IB
180352015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
18036
18037 * gdb.dlang/properties.exp: New file.
18038
06e635ef
SL
180392015-10-02 Sandra Loosemore <sandra@codesourcery.com>
18040
18041 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
18042 whether or not address 0x1000 is mapped on the target.
18043
e019fd1d
SM
180442015-09-30 Simon Marchi <simon.marchi@ericsson.com>
18045
18046 * gdb.python/py-type.exp: Do not run tests if binaries fail to
18047 build.
18048
77ba2a67
MM
180492015-09-30 Markus Metzger <markus.t.metzger@intel.com>
18050
18051 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
18052 instruction-history test.
18053
c60eb31f
DE
180542015-09-28 Doug Evans <dje@google.com>
18055
18056 * gdb.base/gcore.c (array_func): Add reference to static_array.
18057
9a3c8263
SM
180582015-09-25 Simon Marchi <simon.marchi@ericsson.com>
18059
18060 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
18061 source line.
18062
9720e656
SL
180632015-09-24 Sandra Loosemore <sandra@codesourcery.com>
18064
18065 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
18066 short or char as base type.
18067
938d3bf2
SL
180682015-09-23 Sandra Loosemore <sandra@codesourcery.com>
18069
18070 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
18071 to allow any size enum.
18072
e6c2c623
PMR
180732015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
18074
18075 * gdb.ada/array_ptr_renaming.exp: New testcase.
18076 * gdb.ada/array_ptr_renaming/foo.adb: New file.
18077 * gdb.ada/array_ptr_renaming/pack.ads: New file.
18078
06da0f77
PL
180792015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18080
18081 * gdb.trace/ftrace-lock.c: New file.
18082 * gdb.trace/ftrace-lock.exp: New file.
18083
4f51c22a
PL
180842015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18085
18086 * gdb.arch/insn-reloc.c: New file.
18087 * gdb.arch/ftrace-insn-reloc.exp: New file.
18088
7041adf4
PL
180892015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18090
18091 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
18092 instruction.
18093 * gdb.trace/pendshr1.c (pendfunc): Likewise.
18094 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18095 * gdb.trace/range-stepping.c: Likewise.
18096 * gdb.trace/trace-break.c: Likewise.
18097 * gdb.trace/trace-mt.c (thread_function): Likewise.
18098 * gdb.trace/ftrace.c (marker): Likewise.
18099 * gdb.trace/trace-condition.c (marker): Likewise.
18100 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18101 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18102 is_aarch64_target.
18103
015d2e7e
DE
181042015-09-18 Doug Evans <xdje42@gmail.com>
18105
18106 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18107 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18108
26b188a2
SL
181092015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18110
18111 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18112 the breakpoint.
18113
79dc332b
SL
181142015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18115
18116 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18117 the pending breakpoint. Remove timeout override for "Run till
18118 MI pending breakpoint on pendfunc3 on thread 2" test.
18119
f57929f2
SL
181202015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18121
18122 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18123 filename pattern.
18124
3f469b17
SL
181252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18126
18127 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18128 in breakpoint filename pattern.
18129
515b89b3
SL
181302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18131
7800dbe4
SL
18132 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18133
181342015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18135
515b89b3
SL
18136 * gdb.linespec/explicit.exp: Check for readline support for
18137 tab-completion tests. Fix obvious typo.
18138
d2939ba2
MM
181392015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18140
18141 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18142 and replay.
18143
cbb55fa7
MM
181442015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18145
18146 * gdb.btrace/non-stop.c: New.
18147 * gdb.btrace/non-stop.exp: New.
18148
43691ca1
PL
181492015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18150 Yao Qi <yao.qi@linaro.org>
18151
18152 * gdb.trace/trace-condition.c: New file.
18153 * gdb.trace/trace-condition.exp: New file.
18154
d78908cf
WW
181552015-09-16 Wei-cheng Wang <cole945@gmail.com>
18156
18157 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18158 for testing bytecode compilation.
18159
1ed415e2
PA
181602015-09-16 Pedro Alves <palves@redhat.com>
18161 Sandra Loosemore <sandra@codesourcery.com>
18162
18163 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18164 (SECONDS): Redefine.
18165 (main): Call pthread_kill and alarm early.
18166 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18167 support.
18168 (test): If the target can't hardware step and doesn't support
18169 displaced stepping, increase the timeout.
18170
d136eff5
PA
181712015-09-16 Pedro Alves <palves@redhat.com>
18172
18173 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18174 (enable_debug): New procedures.
18175 (test): Use them. Bail out if waiting for threads fails.
18176 (top level): Bail out if a test fails.
18177
991f019c
YQ
181782015-09-16 Yao Qi <yao.qi@linaro.org>
18179
18180 * gdb.asm/asm-source.exp: Set asm-arch for
18181 aarch64*-*-* target.
18182 * gdb.asm/aarch64.inc: New file.
18183
bfca584f
PMR
181842015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18185
18186 * gdb.ada/array_of_variable_length.exp: New testcase.
18187 * gdb.ada/array_of_variable_length/foo.adb: New file.
18188 * gdb.ada/array_of_variable_length/pck.adb: New file.
18189 * gdb.ada/array_of_variable_length/pck.ads: New file.
18190
b326e587
DE
181912015-09-15 Doug Evans <dje@google.com>
18192
18193 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18194 of function static local variable.
18195
5382cfab
PW
181962015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18197
18198 * gdb.threads/tls-so_extern.exp: New test file.
18199 * gdb.threads/tls-so_extern.c: New test file.
18200 * gdb.threads/tls-so_extern_main.c: New test file.
18201
141c5cc4
JK
182022015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18203
18204 * gdb.opt/solib-intra-step-lib.c: New file.
18205 * gdb.opt/solib-intra-step-main.c: New file.
18206 * gdb.opt/solib-intra-step.exp: New file.
18207
d15dcecd
PA
182082015-09-15 Pedro Alves <palves@redhat.com>
18209
18210 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18211 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18212
4c2f2a79
PA
182132015-09-14 Pedro Alves <palves@redhat.com>
18214
18215 * gdb.base/hook-stop-continue.c: Delete.
18216 * gdb.base/hook-stop-continue.exp: Delete.
18217 * gdb.base/hook-stop-frame.c: Delete.
18218 * gdb.base/hook-stop-frame.exp: Delete.
18219 * gdb.base/hook-stop.c: New file.
18220 * gdb.base/hook-stop.exp: New file.
18221
919e6dbe
PMR
182222015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18223
18224 * gdb.ada/access_to_packed_array.exp: New testcase.
18225 * gdb.ada/access_to_packed_array/foo.adb: New file.
18226 * gdb.ada/access_to_packed_array/pack.adb: New file.
18227 * gdb.ada/access_to_packed_array/pack.ads: New file.
18228
157280a4
MM
182292015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18230
18231 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18232 buffer size test.
18233
2fd33e94
DB
182342015-09-11 Don Breazeal <donb@codesourcery.com>
18235
18236 * gdb.base/foll-exec.c: Add copyright header. Fix
18237 formatting issues.
18238 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18239 (do_exec_tests): Use clean_restart in place of zap_session,
18240 and for test initialization. Fix formatting issues. Use
18241 fail in place of perror.
18242 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18243 an expect statement to match an expression with output from
18244 the program under debug.
18245 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18246 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18247 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18248 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18249 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18250
e70b6e8e
DE
182512015-09-09 Doug Evans <dje@google.com>
18252
18253 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18254
7a551a51
DE
182552015-09-09 Doug Evans <dje@google.com>
18256
18257 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18258
4c666f84
DE
182592015-09-09 Doug Evans <dje@google.com>
18260
18261 * gdb.base/savedregs.exp: Fix typo.
18262
243a9253
PA
182632015-09-09 Pedro Alves <palves@redhat.com>
18264
18265 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18266
c0fa8fbd
SL
182672015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18268
18269 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18270 command actually switches threads. Give up on remaining
18271 tests if target fails to stop at breakpoint.
18272
cd7c1778
PMR
182732015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18274
18275 * gdb.ada/funcall_char.exp: New testcase.
18276 * gdb.ada/funcall_char/foo.adb: New file.
18277
dc5c8746
PMR
182782015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18279
18280 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18281 expected outputs. Add two testcases for completing ambiguous
18282 functions.
18283 * gdb.ada/complete/aux_pck.adb: New file.
18284 * gdb.ada/complete/aux_pck.ads: New file.
18285 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18286 Ambiguous_Func functions.
18287 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18288 * gdb.ada/complete/pck.adb: Likewise.
18289
4e83a1e7
UW
182902015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18291
18292 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18293 failures to run the test program under GDB.
18294
8ce74153
LM
182952015-08-26 Luis Machado <lgustavo@codesourcery.com>
18296
18297 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18298 to C.
18299
e9756d52
PP
183002015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18301
18302 * gdb.base/run-after-attach.exp: New test file.
18303 * gdb.base/run-after-attach.c: New test file.
18304
8d37573b
DB
183052015-08-26 Don Breazeal <donb@codesourcery.com>
18306
18307 * gdb.base/foll-exec-2.c: New test program.
18308 * gdb.base/foll-exec-2.exp: New test.
18309
63e43d3a
PMR
183102015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18311
18312 * gdb.base/nested-subp1.exp: New file.
18313 * gdb.base/nested-subp1.c: New file.
18314 * gdb.base/nested-subp2.exp: New file.
18315 * gdb.base/nested-subp2.c: New file.
18316 * gdb.base/nested-subp3.exp: New file.
18317 * gdb.base/nested-subp3.c: New file.
18318
3d40fbb5
PA
183192015-08-24 Pedro Alves <palves@redhat.com>
18320
18321 * gdb.server/connect-without-multi-process.c: New file.
18322 * gdb.server/connect-without-multi-process.exp: New file.
18323
4422ac93
LM
183242015-08-24 Luis Machado <lgustavo@codesourcery.com>
18325
18326 * gdb.opt/inline-markers.c: Make z int.
18327
91dddb86
LM
183282015-08-24 Luis Machado <lgustavo@codesourcery.com>
18329
18330 * gdb.opt/inline-markers.c: Make z volatile.
18331
a48847ee
LM
183322015-08-24 Luis Machado <lgustavo@codesourcery.com>
18333
18334 * gdb.opt/inline-bt.c: New volatile global z.
18335 * gdb.opt/inline-cmds.c: Likewise.
18336 * gdb.opt/inline-locals.c: Likewise.
18337 * gdb.opt/inline-markers.c: New extern global z.
18338 (marker): Use z.
18339 (inline_fn): Likewise.
18340
0ebbc52b
PA
183412015-08-24 Pedro Alves <palves@redhat.com>
18342
18343 * config/m32r-stub.exp: Remove file.
18344 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18345 * gdb.base/call-rt-st.exp: Likewise.
18346 * gdb.base/call-strs.exp: Likewise.
18347 * gdb.base/default.exp: Remove references to h8300-*-hms and
18348 *-*-udi*.
18349 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18350
77c365df
AA
183512015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18352
18353 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18354 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18355 and "return" use KFAIL when GDB can not read/write the vector
18356 return value.
18357
4313b8c0
GB
183582015-08-21 Gary Benson <gbenson@redhat.com>
18359
18360 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18361
0e433b32
PA
183622015-08-20 Pedro Alves <palves@redhat.com>
18363
18364 * gdb.server/solib-list.exp: No longer expect an interior stop in
18365 non-stop mode.
18366
221e1a37
PA
183672015-08-20 Pedro Alves <palves@redhat.com>
18368
18369 * gdb.server/connect-stopped-target.c: New file.
18370 * gdb.server/connect-stopped-target.exp: New file.
18371
40e3ad0e
PA
183722015-08-20 Pedro Alves <palves@redhat.com>
18373
18374 * gdb.dwarf2/comp-unit-lang.exp: New file.
18375 * gdb.dwarf2/comp-unit-lang.c: New file.
18376
af39b327
PMR
183772015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18378
18379 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18380 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18381
7d45c7c3 183822015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 18383
7d45c7c3
KB
18384 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18385 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18386
4d6cceb4
DE
183872015-08-18 Doug Evans <dje@google.com>
18388 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18389
18390 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18391 skip_python_tests. New arg prompt_regexp.
18392 (skip_python_tests): New function.
18393 * lib/mi-support.exp (mi_skip_python_tests): New function.
18394 * gdb.python/py-mi-objfile-gdb.py: New file.
18395 * gdb.python/py-mi-objfile.c: New file.
18396 * gdb.python/py-mi-objfile.exp: New file.
18397
ad89c2aa
KS
183982015-08-17 Keith Seitz <keiths@redhat.com>
18399
18400 * gdb.linespec/explicit.exp: Move strace test from here ...
18401 * gdb.trace/strace.exp: ... to here.
18402
e3ae3c43
PP
184032015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18404
18405 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18406 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18407
604b2636
DE
184082015-08-14 Doug Evans <xdje42@gmail.com>
18409
18410 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18411 inferior before selecting a new file.
18412
6ff0ba5f
DE
184132015-08-14 Doug Evans <xdje42@gmail.com>
18414
18415 * gdb.mi/mi-disassemble.exp: Update.
18416 * gdb.base/disasm-optim.S: New file.
18417 * gdb.base/disasm-optim.c: New file.
18418 * gdb.base/disasm-optim.h: New file.
18419 * gdb.base/disasm-optim.exp: New file.
18420
9ca98f92
KS
184212015-08-14 Keith Seitz <keiths@redhat.com>
18422
18423 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18424 "evaluated-by".
18425
52bbc560
JB
184262015-08-13 Joel Brobecker <brobecker@adacore.com>
18427
18428 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18429
5d8c3ed3
PMR
184302015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18431
18432 * gdb.ada/fun_renaming.exp: New testcase.
18433 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18434 * gdb.ada/fun_renaming/pack.adb: New file.
18435 * gdb.ada/fun_renaming/pack.ads: New file.
18436
ea8812bc
KS
184372015-08-12 Keith Seitz <keiths@redhat.com>
18438
18439 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18440 gdb_get_line_number.
18441
4dafcdeb
JB
184422015-08-12 Joel Brobecker <brobecker@adacore.com>
18443
18444 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18445 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18446 gdb.base/dso2dso.exp: New files.
18447
5ba32597
SDJ
184482015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18449 Pedro Alves <palves@redhat.com>
18450 Keith Seitz <keiths@redhat.com>
18451
18452 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18453 GDBFLAGS.
18454
b6dafabf
PP
184552015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18456
18457 * gdb.base/gdbhistsize-history.exp
18458 (test_histsize_history_setting): Use save_vars.
18459 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18460 Use save_vars.
18461 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18462 * gdb.base/readline.exp: Use save_vars.
18463
abe8e607
PP
184642015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18465
18466 * lib/gdb.exp (save_vars): New proc.
18467
629500fa
KS
184682015-08-11 Keith Seitz <keiths@redhat.com>
18469
18470 * gdb.base/help.exp: Update help_breakpoint_text.
18471
eb8c4e2e
KS
184722015-08-11 Keith Seitz <keiths@redhat.com>
18473
18474 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18475 (at toplevel): Call test_explicit_breakpoints.
18476 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18477 breakpoints.
18478 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18479 breakpoint conditions, "-cond".
18480
87f0e720
KS
184812015-08-11 Keith Seitz <keiths@redhat.com>
18482
18483 * gdb.linespec/3explicit.c: New file.
18484 * gdb.linespec/cpexplicit.cc: New file.
18485 * gdb.linespec/cpexplicit.exp: New file.
18486 * gdb.linespec/explicit.c: New file.
18487 * gdb.linespec/explicit.exp: New file.
18488 * gdb.linespec/explicit2.c: New file.
18489 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18490 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18491 before using in the matching pattern.
18492 Clarify that `prefix' is a regular expression.
18493
f00aae0f
KS
184942015-08-11 Keith Seitz <keiths@redhat.com>
18495
18496 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18497 test.
18498 Add tests for missing ",FMT" and ",".
18499
e27852be
DE
185002015-08-10 Doug Evans <dje@google.com>
18501 Keith Seitz <keiths@redhat.com>
18502
18503 PR gdb/17960
18504 * gdb.base/completion.exp: Add location completer tests.
18505
7f03bd92
PA
185062015-08-07 Pedro Alves <palves@redhat.com>
18507
18508 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18509 tests here.
18510 (top level): Run do_test with and without displaced stepping.
18511
3fc8eb30
PA
185122015-08-07 Pedro Alves <palves@redhat.com>
18513
18514 * gdb.base/valgrind-disp-step.c: New file.
18515 * gdb.base/valgrind-disp-step.exp: New file.
18516
d4569d7b
PA
185172015-08-07 Pedro Alves <palves@redhat.com>
18518
18519 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18520 Delete function.
18521 (main): Add alarm. Run an infinite loop instead of calling
18522 wait_threads.
18523 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18524 comment.
18525 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18526 Delete function.
18527 (main): Add alarm. Run an infinite loop instead of calling
18528 wait_threads.
18529 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18530 comment.
18531
e1316e60
PA
185322015-08-07 Pedro Alves <palves@redhat.com>
18533
18534 * gdb.base/checkpoint-ns.exp: New file.
18535 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18536 standard_testfile.
18537
da8c46d2
MM
185382015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18539
18540 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18541 * gdb.btrace/instruction_history.exp: Update.
18542 * gdb.btrace/tsx.exp: New.
18543 * gdb.btrace/tsx.c: New.
18544
de1c2c52
PA
185452015-08-06 Pedro Alves <palves@redhat.com>
18546
18547 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18548 increase timeout.
18549 * gdb.reverse/until-precsave.exp: Bump timeouts.
18550
782e0bf4
PA
185512015-08-06 Pedro Alves <palves@redhat.com>
18552
18553 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18554
83e97ed0
PA
185552015-08-06 Pedro Alves <palves@redhat.com>
18556
18557 PR gdb/18749
18558 * gdb.threads/process-dies-while-handling-bp.c: New file.
18559 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18560
863d01bd
PA
185612015-08-06 Pedro Alves <palves@redhat.com>
18562
18563 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18564 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18565
0a39bb32
PA
185662015-08-05 Pedro Alves <palves@redhat.com>
18567
18568 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18569 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18570
ee2d2b10
SL
185712015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18572
18573 * gdb.base/bp-permanent.exp: Report test as unsupported if
18574 the target cannot stop at the permanent breakpoint.
18575
4e1bdb00
DE
185762015-08-03 Doug Evans <dje@google.com>
18577
18578 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18579 10000.
18580
3d338901
DE
185812015-08-03 Doug Evans <dje@google.com>
18582
18583 * Makefile.in (workers/%.worker, build-perf): New rule.
18584 (GDB_PERFTEST_MODE): New variable.
18585 (check-perf): Use it.
18586 (clean): Clean up gdb.perf parallel build subdirs.
18587 * lib/build-piece.exp: New file.
18588 * lib/gdb.exp (make_gdb_parallel_path): New function
18589 (standard_output_file, standard_temp_file): Call it.
18590 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18591 of $GDB_PARALLEL.
18592 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18593
af061d3e
DE
185942015-08-03 Doug Evans <dje@google.com>
18595
8e1afc81 18596 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18597 (LOG_FILE_NAME): New global.
18598 (TextReporter.__init__): Initialize self.txt_sum.
18599 (TextReporter.report): Add support for multiple data-points.
18600 Move report to perftest.sum, put raw data in perftest.log.
18601 (TextReporter.start): Open sum and log files.
18602 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18603 * gdb.perf/lib/perftest/testresult.py
18604 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18605
2c8c5d37
PA
186062015-07-31 Pedro Alves <palves@redhat.com>
18607
18608 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18609 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18610 kill_wait_spawned_process instead of explicit "kill -9".
18611 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18612 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18613 kill_wait_spawned_process.
18614 * gdb.base/attach-twice.exp: Likewise.
18615 * gdb.base/attach.exp: Likewise.
18616 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18617 gdb_test_multiple.
18618 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18619 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18620 kill_wait_spawned_process.
18621 * gdb.base/valgrind-infcall.exp: Likewise.
18622 * gdb.multi/multi-attach.exp: Likewise.
18623 * gdb.python/py-prompt.exp: Likewise.
18624 * gdb.python/py-sync-interp.exp: Likewise.
18625 * gdb.server/ext-attach.exp: Likewise.
18626 * gdb.threads/attach-into-signal.exp (corefunc): Use
18627 spawn_wait_for_attach, spawn_id_get_pid and
18628 kill_wait_spawned_process.
18629 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18630 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18631 spawn_id_get_pid and kill_wait_spawned_process.
18632 * gdb.threads/attach-stopped.exp (corefunc): Use
18633 spawn_wait_for_attach, spawn_id_get_pid and
18634 kill_wait_spawned_process.
18635 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18636 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18637 kill_wait_spawned_process instead of explicit "kill -9".
18638 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18639 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18640 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18641 processes. Don't map cygwin/windows pids here. Now returns a
18642 spawn id list.
18643
032a0fca
SL
186442015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18645
18646 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18647 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18648 correct patch.
18649
61a934ca
SL
186502015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18651
18652 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18653
4bc4d428
SL
186542015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18655
18656 Reapply:
18657 2014-05-21 Mark Wielaard <mjw@redhat.com>
18658
18659 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18660
998d452a
PA
186612015-07-30 Pedro Alves <palves@redhat.com>
18662
18663 * linux-low.c (handle_extended_wait): Set the child's last
18664 reported status to TARGET_WAITKIND_STOPPED.
18665
69dde7dc
PA
186662015-07-30 Pedro Alves <palves@redhat.com>
18667
18668 PR threads/18600
18669 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18670 only shows inferior 1.
18671
4dd63d48
PA
186722015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18673 Pedro Alves <palves@redhat.com>
18674
18675 PR threads/18600
18676 * gdb.threads/fork-plus-threads.c: New file.
18677 * gdb.threads/fork-plus-threads.exp: New file.
18678
d618e4c5
PP
186792015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18680
18681 * gdb.base/batch-preserve-term-settings.exp
18682 (test_terminal_settings_preserved_after_cli_exit): Use
18683 send_quit_command.
18684
1eef6428
PA
186852015-07-29 Pedro Alves <palves@redhat.com>
18686 Don Breazeal <donb@codesourcery.com>
18687
18688 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18689 output from both inferior_spawn_id and gdb_spawn_id.
18690
7da5b897
SDJ
186912015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18692
18693 * gdb.threads/attach-into-signal.exp (corefunc): Use
18694 with_test_prefix on nested loops, uniquefying the test messages.
18695
dac804df
SDJ
186962015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18697
18698 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18699 commit.
18700
06265e53
PP
187012015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18702
18703 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18704 New proc.
18705 (test_terminal_settings_preserved_after_sigterm): New test.
18706
18206ca3
PP
187072015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18708
18709 * gdb.base/batch-preserve-term-settings.exp
18710 (test_terminal_settings_preserved_after_cli_exit): New test.
18711
90074d11
PP
187122015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18713
18714 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18715 manipulation of saved_gdbflags.
18716 (test_terminal_settings_preserved): Remove global declaration of
18717 the unused variable pagination_prompt. Remove manipulation of
18718 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18719 GDBFLAGS.
18720
eb1a7902
PA
187212015-07-29 Pedro Alves <palves@redhat.com>
18722
18723 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18724
8b75dd3b
PA
187252015-07-29 Pedro Alves <palves@redhat.com>
18726
18727 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18728 at the top.
18729
dedad4e3
PA
187302015-07-29 Pedro Alves <palves@redhat.com>
18731
18732 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18733 (main): Call gdb_unbuffer_output.
18734 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18735 (main): Call gdb_unbuffer_output.
18736 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18737 (main): Call gdb_unbuffer_output.
18738 * gdb.base/call-strs.exp: Adjust to step over the
18739 gdb_unbuffer_output call.
18740 * gdb.base/catch-gdb-caused-signals.c: Include
18741 "../lib/unbuffer_output.c".
18742 (main): Call gdb_unbuffer_output.
18743 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18744 (main): Call gdb_unbuffer_output.
18745 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18746 (main): Call gdb_unbuffer_output.
18747 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18748 (main): Call gdb_unbuffer_output.
18749 * gdb.base/shlib-call.exp: Adjust to step over the
18750 gdb_unbuffer_output call.
18751 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18752 (main): Call gdb_unbuffer_output.
18753 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18754 (main): Call gdb_unbuffer_output.
18755 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18756 (main): Rename to ...
18757 (test): ... this.
18758 (main): Reimplement.
18759 * gdb.base/varargs.exp: Run to test instead of to main.
18760 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18761 (main): Call gdb_unbuffer_output.
18762
58789a91
PA
187632015-07-29 Pedro Alves <palves@redhat.com>
18764
18765 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18766 factore out from mi_continue_dprintf. For call-style dprintfs,
18767 expect dprintf output out of $inferior_spawn_id.
18768 (mi_continue_dprintf): Use mi_expect_dprintf.
18769 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18770 (main): Call gdb_unbuffer_output.
18771
e8376742
PA
187722015-07-29 Pedro Alves <palves@redhat.com>
18773
18774 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18775 (default_mi_gdb_start): Set inferior_spawn_id instead of
18776 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18777 gdb_spawn_id.
18778 (mi_gdb_test): Always expect inferior output from both
18779 $inferior_spawn_id and $gdb_spawn_id.
18780
08280010
PA
187812015-07-29 Pedro Alves <palves@redhat.com>
18782
18783 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18784 send_inferior and $inferior_spawn_id.
18785
4d30e432
PA
187862015-07-29 Pedro Alves <palves@redhat.com>
18787
18788 * gdb.gdb/complaints.exp (test_initial_complaints)
18789 (test_serial_complaints, test_short_complaints): Use
18790 gdb_test_stdio.
18791 (test_empty_complaint): Handle $inferior_spawn_id !=
18792 $gdb_spawn_id.
18793
0d30a335
PA
187942015-07-29 Pedro Alves <palves@redhat.com>
18795
18796 * gdb.base/varargs.exp: Use gdb_test_stdio.
18797
39413b29
PA
187982015-07-29 Pedro Alves <palves@redhat.com>
18799
18800 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18801
7cb000a9
PA
188022015-07-29 Pedro Alves <palves@redhat.com>
18803
18804 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18805
d7b8ac82
PA
188062015-07-29 Pedro Alves <palves@redhat.com>
18807
18808 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18809 parameter into two new parameters, "inf_result" and "gdb_result".
18810 Expect inferior output and gdb output from $inferior_spawn_id and
18811 $gdb_spawn_id, respectively. Adjust all callers.
18812
789c3a0c
PA
188132015-07-29 Pedro Alves <palves@redhat.com>
18814
18815 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18816 of gdb_test_sequence.
18817
77e760c3
PA
188182015-07-29 Pedro Alves <palves@redhat.com>
18819
18820 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18821 (saw_spurious_output): Expect inferior output from
18822 $inferior_spawn_id. Use gdb_test_stdio.
18823
8396d2cd
PA
188242015-07-29 Pedro Alves <palves@redhat.com>
18825
18826 * gdb.base/dprintf.exp: Use standard_testfile. Change
18827 prepare_for_testing call.
18828 (srcfile): Don't set.
18829 (restart): New procedure.
18830 (test_dprintf): New procecure, use to continue over dprintfs.
18831 (test_call, test_agent): New procedures, tests moved here.
18832 Restart gdb and recreate dprintfs. Adjust expected output.
18833
2051d61f
PA
188342015-07-29 Pedro Alves <palves@redhat.com>
18835
18836 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18837
452397af
PA
188382015-07-29 Pedro Alves <palves@redhat.com>
18839
18840 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18841
8aed9555
PA
188422015-07-29 Pedro Alves <palves@redhat.com>
18843
18844 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18845 gdb_test_stdio.
18846
188a61b4
PA
188472015-07-29 Pedro Alves <palves@redhat.com>
18848
18849 * lib/gdb.exp (gdb_test_stdio): New procedure.
18850
12264a45
PA
188512015-07-29 Pedro Alves <palves@redhat.com>
18852
18853 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18854
23ffc893
PA
188552015-07-29 Pedro Alves <palves@redhat.com>
18856
18857 * gdb.base/call-signal-resume.exp: Remove check for
18858 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18859 * gdb.base/unwindonsignal.exp: Likewise.
18860 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18861 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18862
65566918
PA
188632015-07-29 Pedro Alves <palves@redhat.com>
18864
18865 * gdb.base/siginfo-addr.c (pass): New function.
18866 (handler): Call it iff si_addr is correct.
18867 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18868 Set a breakpoint at "pass" and continue to it.
18869
d60a9221
SDJ
188702015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18871
18872 * gdb.python/py-objfile.exp: Make some tests have unique names.
18873 * gdb.python/py-pp-registration.exp: Likewise.
18874
bde40b8f
PA
188752015-07-28 Pedro Alves <palves@redhat.com>
18876
18877 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18878
13e1dec8
SM
188792015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18880
18881 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18882
da33c9a7
SM
188832015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18884
18885 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18886
077836f7
PP
188872015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18888
18889 * gdb.base/gdb-sigterm-2.exp: New test.
18890
b8cc7b2e
DE
188912015-07-25 Doug Evans <xdje42@gmail.com>
18892
18893 Revert:
18894 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18895 (workers/%.worker, build-perf): New rule.
18896 (GDB_PERFTEST_MODE): New variable.
18897 (check-perf): Use it.
18898 (clean): Clean up gdb.perf parallel build subdirs.
18899 * lib/build-piece.exp: New file.
18900 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18901 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18902 name.
18903 (standard_temp_file): Ditto.
18904 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18905 of $GDB_PARALLEL.
18906
c8bd4544
DE
189072015-07-24 Doug Evans <dje@google.com>
18908
18909 * gdb.perf/lib/perftest/utils.py: New file.
18910 * gdb.perf/gm-hello.cc: New file.
18911 * gdb.perf/gm-pervasive-typedef.cc: New file.
18912 * gdb.perf/gm-pervasive-typedef.h: New file.
18913 * gdb.perf/gm-std.cc: New file.
18914 * gdb.perf/gm-std.h: New file.
18915 * gdb.perf/gm-use-cerr.cc: New file.
18916 * gdb.perf/gm-utils.h: New file.
18917 * gdb.perf/gmonster-null-lookup.py: New file.
18918 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18919 * gdb.perf/gmonster-print-cerr.py: New file.
18920 * gdb.perf/gmonster-ptype-string.py: New file.
18921 * gdb.perf/gmonster-runto-main.py: New file.
18922 * gdb.perf/gmonster-select-file.py: New file.
18923 * gdb.perf/gmonster1-null-lookup.exp: New file.
18924 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18925 * gdb.perf/gmonster1-print-cerr.exp: New file.
18926 * gdb.perf/gmonster1-ptype-string.exp: New file.
18927 * gdb.perf/gmonster1-runto-main.exp: New file.
18928 * gdb.perf/gmonster1-select-file.exp: New file.
18929 * gdb.perf/gmonster1.cc: New file.
18930 * gdb.perf/gmonster1.exp: New file.
18931 * gdb.perf/gmonster2-null-lookup.exp: New file.
18932 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18933 * gdb.perf/gmonster2-print-cerr.exp: New file.
18934 * gdb.perf/gmonster2-ptype-string.exp: New file.
18935 * gdb.perf/gmonster2-runto-main.exp: New file.
18936 * gdb.perf/gmonster2-select-file.exp: New file.
18937 * gdb.perf/gmonster2.cc: New file.
18938 * gdb.perf/gmonster2.exp: New file.
18939
6eab34f3
DE
189402015-07-24 Doug Evans <dje@google.com>
18941
18942 * gdb.perf/README: New file.
18943 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18944 * lib/gen-perf-test.exp: New file.
18945
63738bfd
DE
189462015-07-24 Doug Evans <dje@google.com>
18947
18948 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18949 (PerfTest::startup): New function.
18950 (PerfTest::run): Return result of calling body.
18951 (PerfTest::assemble): Rewrite.
18952 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18953 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18954 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18955 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18956 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18957
7b606f95
DE
189582015-07-24 Doug Evans <dje@google.com>
18959
18960 * lib/gdb.exp (clean_restart): Make executable optional.
18961
a97b16b8
DE
189622015-07-24 Doug Evans <dje@google.com>
18963
18964 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18965 compiler_info references.
18966 * gdb.cp/temargs.exp: Ditto.
18967 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18968 (get_compiler_info): Early exit if already computed. Set compiler_info
18969 to "unknown" if there was a problem.
18970 (test_compiler_info): Add function comment. Call get_compiler_info.
18971
35baa57f
DE
189722015-07-24 Doug Evans <dje@google.com>
18973
18974 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18975 (workers/%.worker, build-perf): New rule.
18976 (GDB_PERFTEST_MODE): New variable.
18977 (check-perf): Use it.
18978 (clean): Clean up gdb.perf parallel build subdirs.
18979 * lib/build-piece.exp: New file.
18980 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18981 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18982 name.
18983 (standard_temp_file): Ditto.
18984 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18985 of $GDB_PARALLEL.
18986
6ebea266
DE
189872015-07-24 Doug Evans <dje@google.com>
18988
18989 * lib/future.exp (gdb_default_target_compile): New option
18990 "early_flags".
18991 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18992 --as-needed.
18993
1e76a7e9
SDJ
189942015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18995
18996 * gdb.base/catch-syscall.exp: Call gdb_exit before
18997 gdb_skip_xml_test.
18998
5068630a
PA
189992015-07-24 Pedro Alves <palves@redhat.com>
19000
19001 * gdb.python/py-events.exp: Accept output between the stop event
19002 and the prompt.
19003 * gdb.python/py-evsignal.exp: Likewise.
19004 * gdb.python/py-evthreads.exp: Likewise.
19005
77598427
PA
190062015-07-24 Pedro Alves <palves@redhat.com>
19007
19008 PR gdb/18717
19009 * gdb.threads/non-ldr-exit.c: New file.
19010 * gdb.threads/non-ldr-exit.exp: New file.
19011
11e6c98f
YQ
190122015-07-24 Yao Qi <yao.qi@linaro.org>
19013
19014 * gdb.server/ext-wrapper.exp: Test --wrapper option when
19015 restarting process.
19016
51aee833
YQ
190172015-07-24 Yao Qi <yao.qi@linaro.org>
19018
19019 * gdb.server/ext-restart.exp: New file.
19020
8cfe207c
YQ
190212015-07-24 Yao Qi <yao.qi@linaro.org>
19022
19023 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
19024 argument options.
19025 * gdb.server/ext-wrapper.exp: New file.
19026
cc12ce38
DE
190272015-07-23 Doug Evans <dje@google.com>
19028
19029 * gdb.dwarf2/dw2-dummy-cu.S: New file.
19030 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
19031
d0d84780
PMR
190322015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
19033
19034 * gdb.ada/var_arr_typedef.exp: New testcase.
19035 * gdb.ada/var_arr_typedef/pack.adb: New file.
19036 * gdb.ada/var_arr_typedef/pack.ads: New file.
19037 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
19038
8b558f79
JB
190392015-07-20 Joel Brobecker <brobecker@adacore.com>
19040
19041 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
19042
775a3298
JK
190432015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19044
19045 * gdb.arch/i386-biarch-core.exp: Replace istarget
19046 by "complete set gnutarget". Remove expectation for the "core-file"
19047 command.
19048
db1ff28b
JK
190492015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
19050
19051 Revert the previous commit:
19052 Tests for validate symbol file using build-id.
19053
0a94970d
JK
190542015-07-15 Aleksandar Ristovski <aristovski@qnx.com
19055
19056 Tests for validate symbol file using build-id.
19057 * gdb.base/solib-mismatch-lib.c: New file.
19058 * gdb.base/solib-mismatch-libmod.c: New file.
19059 * gdb.base/solib-mismatch.c: New file.
19060 * gdb.base/solib-mismatch.exp: New file.
19061
03346981
SL
190622015-07-15 Sandra Loosemore <sandra@codesourcery.com>
19063
19064 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
19065 nios2-*-linux*.
19066 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19067 * gdb.base/siginfo.exp: Likewise.
19068 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19069
42422cc7
PL
190702015-07-15 Pierre Langlois <pierre.langlois@arm.com>
19071
19072 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
19073 Move it to ...
19074 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
19075 ... here.
19076 * gdb.trace/range-stepping.exp: Check that the target supports
19077 range stepping.
19078
cfa68bae
JK
190792015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19080
19081 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
19082
8ffdba26
PA
190832015-07-14 Pedro Alves <palves@redhat.com>
19084
19085 * gdb.base/killed-outside.exp: New file.
19086 * gdb.base/killed-outside.c: New file.
19087
218a5a11
JK
190882015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19089
19090 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
19091 (n at main): New.
19092 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
19093
e03ed3c6
AA
190942015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19095
19096 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19097 infcall tests instead of setting up for KFAIL.
19098
485668e5
MM
190992015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19100
19101 * gdb.btrace/record_goto-step.exp: New.
19102
08464196
JK
191032015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19104
19105 PR compile/18484
19106 * gdb.compile/compile.c (struct struct_type): Add volatile to
19107 selffield's type.
19108 * gdb.compile/compile.exp
19109 (compile code struct_object.selffield = &struct_object): Skip further
19110 struct_object tests if this one xfails.
19111
bcf5c1d9
RC
191122015-07-08 Robert O'Callahan <robert@ocallahan.org>
19113
19114 PR exp/18617
19115 * gdb.trace/ax.exp: Add test.
19116
4931af25
YQ
191172015-07-07 Yao Qi <yao.qi@linaro.org>
19118
19119 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19120 instead of istarget "aarch64*-*-*".
19121 * gdb.arch/aarch64-fp.exp: Likewise.
19122 * gdb.base/float.exp: Likewise.
19123 * gdb.reverse/aarch64.exp: Likewise.
19124 * lib/gdb.exp (is_aarch64_target): New proc.
19125
9fcf688e
YQ
191262015-07-07 Yao Qi <yao.qi@linaro.org>
19127
19128 * lib/gdb.exp (is_aarch32_target): New proc.
19129 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19130 instead of "istarget "arm*-*-*"".
19131 * gdb.arch/arm-disp-step.exp: Likewise.
19132 * gdb.arch/thumb-bx-pc.exp: Likewise.
19133 * gdb.arch/thumb-prologue.exp: Likewise.
19134 * gdb.arch/thumb-singlestep.exp: Likewise.
19135 * gdb.base/disp-step-syscall.exp: Likewise.
19136 * gdb.base/float.exp: Likewise.
19137
fbd8d50d
YQ
191382015-07-07 Yao Qi <yao.qi@linaro.org>
19139
19140 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19141 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19142
71be1fdc
YQ
191432015-07-07 Yao Qi <yao.qi@linaro.org>
19144
19145 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19146 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19147 if it exists.
19148 * gdb.multi/multi-arch.exp: Likewise.
19149
3e221d36
SM
191502015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19151
19152 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19153 print.
19154
d441430b
YQ
191552015-07-07 Yao Qi <yao.qi@linaro.org>
19156
19157 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19158
06f810bd
MG
191592015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19160
19161 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19162 '[' and ']' characters.
19163
5e61e7c0
IB
191642015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19165
19166 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19167
28bf096c
PA
191682015-06-29 Pedro Alves <palves@redhat.com>
19169
19170 PR threads/18127
19171 * gdb.threads/hand-call-new-thread.c: New file.
19172 * gdb.threads/hand-call-new-thread.c: New file.
19173
ee93cd5e
KS
191742015-06-26 Keith Seitz <keiths@redhat.com>
19175 Doug Evans <dje@google.com>
19176
19177 PR 16253
19178 * gdb.cp/var-tag-2.cc: New file.
19179 * gdb.cp/var-tag-3.cc: New file.
19180 * gdb.cp/var-tag-4.cc: New file.
19181 * gdb.cp/var-tag.cc: New file.
19182 * gdb.cp/var-tag.exp: New file.
19183
fc637f04
PP
191842015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19185
19186 * gdb.base/history-duplicates.exp: New test.
19187
2e52ae68
PP
191882015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19189
19190 * gdb.base/completion.exp: Test the completion of the "focus"
19191 command.
19192
6e22494e
JK
191932015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19194
19195 * gdb.arch/amd64-prologue-skip.S: New file.
19196 * gdb.arch/amd64-prologue-skip.exp: New file.
19197
bf7b9cd9
SM
191982015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19199
19200 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19201 is_address_zero_readable check.
19202
201e8dfd
PB
192032015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19204
19205 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19206 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19207
5cd867b4
YQ
192082015-06-24 Yao Qi <yao.qi@linaro.org>
19209
19210 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19211 linux targets.
19212
4d7be007
YQ
192132015-06-24 Yao Qi <yao.qi@linaro.org>
19214
19215 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19216 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19217 * gdb.base/siginfo-thread.exp: Likewise.
19218
07fcd301
YQ
192192015-06-22 Yao Qi <yao.qi@linaro.org>
19220
19221 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19222
52042a00
YQ
192232015-06-22 Yao Qi <yao.qi@linaro.org>
19224
19225 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19226 aarch64*-*-*.
19227 (skip_hw_watchpoint_tests): Likewise.
19228
74bd41ce
PP
192292015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19230
19231 * gdb.base/gdbinit-history.exp: Test the interaction between
19232 setting GDBHISTSIZE and setting the history size via .gdbinit.
19233
bc460514
PP
192342015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19235
19236 PR gdb/16999
19237 * gdb.base/gdbhistsize-history.exp: New test.
19238
b58c513b
PP
192392015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19240
19241 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19242 with GDBHISTSIZE.
19243 * gdb.base/readline.exp: Likewise.
19244
92046791
YQ
192452015-06-17 Yao Qi <yao.qi@linaro.org>
19246
19247 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19248 line.
19249
2093d2d3
PP
192502015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19251
19252 * gdb.base/gdbinit-history.exp: Add test case to check that
19253 an unlimited history file does not get truncated on exit.
19254
e6c693af
AA
192552015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19256
19257 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19258 (VECTOR): New macro. Use it...
19259 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19260 ...for these typedefs.
19261 (int8, char1, int1, double1): New typedefs.
19262 (struct just_int2, struct two_int2): New structures.
19263 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19264 (add_structvecs, add_singlevecs): New functions.
19265 (main): Call add_some_intvecs twice.
19266 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19267 the compile and exit upon failure. Try compiling for the "native"
19268 architecture. Test inferior function calls with vector arguments
19269 and vector return value handling with "finish" and "return".
19270
c74f7d1c
JT
192712015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19272
19273 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19274 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19275 PE file.
19276 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19277
98aa42ee
AT
192782015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19279
19280 PR breakpoints/16465
19281 * gdb.mi/mi-dprintf-pending.c: New file.
19282 * gdb.mi/mi-dprintf-pending.exp: New test.
19283 * gdb.mi/mi-dprintf-pendshr.c: New file.
19284
7d73c23c 192852015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 19286 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
19287
19288 * gdb.arch/i386-mpx-map.c: New file.
19289 * gdb.arch/i386-mpx-map.exp: New File.
19290
192912015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19292
19293 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19294 * gdb.arch/i386-mpx.exp: Indentation fixed.
19295
192962015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19297
19298 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19299 function and improved indentation.
19300 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19301 gdb_test_multiple. Added additional tests to skip the test.
19302
193032015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19304
19305 * gdb.arch/i386-avx512.c: Change path in include file.
19306 * gdb.arch/i386-avx512.exp: Change include dir path
19307 compilation flag.
19308 * gdb.arch/i386-mpx.c: Change path in include file.
19309 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19310 flag.
19311
d5eba19a
JK
193122015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19313
19314 * gdb.compile/compile-print.exp (compile print *vararray@3)
19315 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19316
7f361056
JK
193172015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19318
19319 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19320 (do not keep jit in memory): ... this.
19321 (expect 5): Change it to ...
19322 (expect no 5): ... this.
19323
3b462ec2
SM
193242015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19325
19326 PR gdb/15564
19327 * gdb.mi/mi-detach.exp: New file.
19328
e0619de6
JK
193292015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19330
19331 PR symtab/18392
19332 * gdb.arch/amd64-tailcall-self.S: New file.
19333 * gdb.arch/amd64-tailcall-self.c: New file.
19334 * gdb.arch/amd64-tailcall-self.exp: New file.
19335
e970cb34
DB
193362015-05-28 Don Breazeal <donb@codesourcery.com>
19337
19338 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19339 tests for remote targets by checking is_target_gdbserver.
19340
b2e2f908
DE
193412015-05-27 Doug Evans <dje@google.com>
19342
19343 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19344 * gdb.dwarf2/opaque-type-lookup.c: New file.
19345 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19346
82c7be31
DE
193472015-05-26 Doug Evans <dje@google.com>
19348
19349 * gdb.cp/iostream.cc: New file.
19350 * gdb.cp/iostream.exp: New file.
19351
b4f54984
DE
193522015-05-26 Doug Evans <dje@google.com>
19353
19354 * gdb.dwarf2/dw2-op-call.exp: Update.
19355 * gdb.dwarf2/dw4-sig-types.exp: Update.
19356 * gdb.dwarf2/implptr.exp: Update.
19357 * gdb.mi/mi-cmd-param-changed.exp: Update.
19358
4ea6efe9
DE
193592015-05-26 Doug Evans <dje@google.com>
19360
19361 * gdb.python/py-lazy-string.c: New file.
19362 * gdb.python/py-lazy-string.exp: New file.
19363 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19364 (main): Update. Add estring3.
19365 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19366 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19367
f6bb7db3
YQ
193682015-05-26 Omair Javaid <omair.javaid@linaro.org>
19369 Yao Qi <yao.qi@linaro.org>
19370
19371 * gdb.reverse/aarch64.c: New.
19372 * gdb.reverse/aarch64.exp: New.
19373
a81bfbd0
OJ
193742015-05-26 Omair Javaid <omair.javaid@linaro.org>
19375
25d49b86
PA
19376 * lib/gdb.exp (supports_process_record): Return true for
19377 aarch64*-linux*.
a81bfbd0
OJ
19378 (supports_reverse): Likewise.
19379
158bf1b4
PP
193802015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19381
19382 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19383 Use with_test_prefix.
19384
a0145030
AB
193852015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19386
19387 * gdb.base/completion.exp: Add test for completion of layout
19388 names.
19389
ebe3b578
AB
193902015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19391
19392 * lib/gdb.exp (skip_tui_tests): New proc.
19393 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19394
84204ed7
PA
193952015-05-19 Pedro Alves <palves@redhat.com>
19396
19397 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19398 Save the whole env array instead of just HOME. Unset HISTSIZE in
19399 the environment while testing. Restore whole environment
19400 afterwards.
19401
37442ce1
DE
194022015-05-16 Doug Evans <xdje42@gmail.com>
19403
19404 * gdb.guile/scm-ports.c: New file.
19405 * gdb.guile/scm-ports.exp: Add memory port tests.
19406
36de76f9
JK
194072015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19408
19409 * gdb.compile/compile-print.c: New file.
19410 * gdb.compile/compile-print.exp: New file.
19411
3a9558c4
JK
194122015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19413
19414 * gdb.compile/compile-ops.exp: Cast param to void.
19415 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19416 (compile code struct_object.selffield = &struct_object): Add xfail.
19417
aa715135
JG
194182015-05-15 Joel Brobecker <brobecker@adacore.com>
19419
19420 * gdb.ada/arr_enum_with_gap: New testcase.
19421
931e5bc3
JG
194222015-05-15 Joel Brobecker <brobecker@adacore.com>
19423
19424 * gdb.ada/byte_packed_arr: New testcase.
19425
9cd4d857
JB
194262015-05-15 Joel Brobecker <brobecker@adacore.com>
19427
19428 * gdb.ada/pckd_neg: New testcase.
19429
ebfd00d2
PP
194302015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19431
19432 PR gdb/17820
19433 * gdb.base/gdbinit-history.exp: New test.
19434 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19435 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19436
4c082a81
SC
194372015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19438
19439 * gdb.python/py-xmethods.cc: Enhance test case.
19440 * gdb.python/py-xmethods.exp: New tests.
19441 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19442 function.
19443 (B_indexoper): Likewise.
19444 (global_dm_list) : Add new xmethod worker functions.
19445
f7797074
SDJ
194462015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19447
19448 * gdb.base/coredump-filter.exp: Correctly unset
19449 "coredump_var_addr" array.
19450
a4674e4e
PA
194512015-05-08 Pedro Alves <palves@redhat.com>
19452
19453 * gdb.server/non-existing-program.exp: Unset spawn_id.
19454
df2eb078
SC
194552015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19456
19457 PR python/18291
19458 * gdb.python/py-xmethods.exp: Add tests.
19459
422349a3
YQ
194602015-05-08 Yao Qi <yao.qi@linaro.org>
19461
19462 PR gdb/18208
19463 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19464 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19465 function set_coredump_filter, and remove remote_exec call.
19466 Remove argument ipid. Callers update.
19467 (top level): Don't get inferior's PID.
19468
63fc80ce
AA
194692015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19470
19471 * gdb.base/watch_thread_num.exp: Skip test on targets without
19472 access watchpoints.
19473
80ad801e
PA
194742015-05-06 Pedro Alves <palves@redhat.com>
19475
19476 PR server/18081
19477 * gdb.server/non-existing-program.exp: New file.
19478
0fa7fe50
JB
194792015-05-05 Joel Brobecker <brobecker@adacore.com>
19480
19481 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19482
3ea89b92
PMR
194832015-05-05 Joel Brobecker <brobecker@adacore.com>
19484
19485 * gdb.ada/out_of_line_in_inlined: New testcase.
19486
87b8eff0
JB
194872015-05-05 Joel Brobecker <brobecker@adacore.com>
19488
19489 * gdb.ada/var_rec_arr: New testcase.
19490
5fccc635
YQ
194912015-04-30 Yao Qi <yao.qi@linaro.org>
19492
19493 * gdb.base/break-idempotent.exp: If
19494 skip_hw_watchpoint_multi_tests returns true, skip the tests
19495 on "rwatch" and "awatch".
19496
42d38f42
YQ
194972015-04-30 Yao Qi <yao.qi@linaro.org>
19498
19499 * gdb.base/relativedebug.exp: Invoke gdb command
19500 "info sharedlibrary", and if libc.so doesn't have debug info,
19501 skip the test.
19502
2ce1cdbf
DE
195032015-04-29 Doug Evans <dje@google.com>
19504
19505 * gdb.python/py-xmethods.exp: Add ptype tests.
19506 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19507 get_result_type method.
19508
f24a38c5
LM
195092015-04-29 Luis Machado <lgustavo@codesourcery.com>
19510
19511 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19512 the target does not support hardware watchpoints.
19513
ecbf2b3c
LM
195142015-04-29 Luis Machado <lgustavo@codesourcery.com>
19515
19516 * gdb.base/break-always.exp: Abort testing if writing to memory
19517 causes an error.
19518
34f5f757
DE
195192015-04-28 Doug Evans <dje@google.com>
19520
19521 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19522 * gdb.python/py-pp-registration.exp: ... here. New file.
19523 * gdb.python/py-pp-registration.c: New file.
19524 * gdb.python/py-pp-registration.py: New file.
19525
69b4374a
DE
195262015-04-28 Doug Evans <dje@google.com>
19527
19528 * gdb.python/py-bad-printers.c: New file.
19529 * gdb.python/py-bad-printers.py: New file.
19530 * gdb.python/py-bad-printers.exp: New file.
19531
59fb7612
SS
195322015-04-28 Sasha Smundak <asmundak@google.com>
19533
19534 * gdb.python/py-type.exp: New test.
19535
2631b16a
AW
195362015-04-28 Andy Wingo <wingo@igalia.com>
19537
19538 * gdb.python/py-parameter.exp:
19539 * gdb.guile/scm-parameter.exp: Escape the path that we are
19540 matching against, as it might contain characters that are special
19541 to regular expressions.
19542
460efde1
JB
195432015-04-27 Joel Brobecker <brobecker@adacore.com>
19544
19545 * gdb.ada/rec_comp: New testcase.
19546
2d369d8e
SDJ
195472015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19548
19549 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19550 before using it.
19551
cf75d6c3
AB
195522015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19553
19554 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19555 new tests for verilog output.
19556
8dbe7ca5
YQ
195572015-04-24 Yao Qi <yao.qi@linaro.org>
19558
19559 * boards/remote-gdbserver-on-localhost.exp: New file.
19560
4ef9fb2f
PA
195612015-04-23 Pedro Alves <palves@redhat.com>
19562
19563 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19564 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19565 "end of file", remove $inferior_spawn_id from the indirect list.
19566
0a803169
PA
195672015-04-23 Pedro Alves <palves@redhat.com>
19568
19569 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19570
749ef8f8
PA
195712015-04-23 Pedro Alves <palves@redhat.com>
19572
19573 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19574 on $any_spawn_id instead of only on $gdb_spawn_id.
19575
8aae4344
PM
195762015-04-21 Pierre Muller <muller@sourceware.org>
19577
19578 PR pascal/17815
19579 * lib/pascal.exp (gpc_compile): Add new option "class".
19580 (fpc_compile): Likewise.
19581 * gdb.pascal/case-insensitive-symbols.pas: New file.
19582 * gdb.pascal/case-insensitive-symbols.exp: New file.
19583
1586c8fb
GB
195842015-04-20 Gary Benson <gbenson@redhat.com>
19585
19586 * gdb.base/attach.exp: Fix three extended remote failures.
19587
1b6e6f5c
GB
195882015-04-17 Gary Benson <gbenson@redhat.com>
19589
19590 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19591 the main executable over the remote protocol.
19592
e797481d
PA
195932015-04-16 Pedro Alves <palves@redhat.com>
19594
19595 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19596 a new gdbserver if gdbserver_reconnect_p is set.
19597
1ca99c42
PA
195982015-04-16 Pedro Alves <palves@redhat.com>
19599
19600 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19601 is set, don't exit gdbserver.
19602
af9fd6f8
AA
196032015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19604
19605 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19606 appropriate .insn, such that an older assembler can be used.
19607 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19608 the z/Architecture instruction set on 31-bit targets as well.
19609
04ff1e61
AA
196102015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19611
19612 * gdb.go/handcall.exp: Remove all logic related to the first
19613 breakpoint and rely on go_runto_main instead.
19614 * gdb.go/strings.exp: Likewise.
19615 * gdb.go/unsafe.exp: Likewise.
19616 * gdb.go/hello.exp: Likewise. Also rename the remaining
19617 breakpoint marker to "breakpoint 1".
19618 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19619 * gdb.go/strings.go: Likewise.
19620 * gdb.go/unsafe.go: Likewise.
19621 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19622 "set breakpoint 2 here" and rename the remaining breakpoint marker
19623 to "breakpoint 1".
19624
40d2f8d6
SM
196252015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19626
19627 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19628 if itertools.imap is not present.
19629 * gdb.python/py-objfile.exp: Add parentheses.
19630 * gdb.python/py-type.exp: Same.
19631 * gdb.python/py-unwind-maint.py: Same.
19632
8cbc97c6
YQ
196332015-04-15 Yao Qi <yao.qi@linaro.org>
19634
19635 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19636 of ":$ptr_size" and set its form explicitly.
19637
45fd756c
YQ
196382015-04-15 Pedro Alves <palves@redhat.com>
19639 Yao Qi <yao.qi@linaro.org>
19640
19641 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19642 timeout by factor of 4.
19643 (test_regular_watch): Likewise.
19644 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19645 * gdb.reverse/sigall-reverse.exp: Likewise.
19646 * gdb.reverse/until-precsave.exp: Likewise.
19647 * lib/gdb.exp (with_timeout_factor): New proc.
19648 (gdb_expect): Move some code to ...
19649 (get_largest_timeout): ... here. New procedure.
19650
9e811bc3
LM
196512015-04-14 Luis Machado <lgustavo@codesourcery.com>
19652
19653 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19654
0ff6fcb2
LM
196552015-04-13 Luis Machado <lgustavo@codesourcery.com>
19656
19657 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19658 to write to the .text section.
19659
7578d5f7
LM
196602015-04-13 Luis Machado <lgustavo@codesourcery.com>
19661
19662 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19663 Handle the case of targets that do not provide PID information.
19664
2efe15c4
YQ
196652015-04-13 Yao Qi <yao.qi@linaro.org>
19666
19667 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19668 and use expect instead of gdb_expect.
19669
8cd8f2f8
SDJ
196702015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19671
19672 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19673 "coredump_var_addr" to avoid naming conflict with other testcases.
19674
9ee41772
PA
196752015-04-10 Pedro Alves <palves@redhat.com>
19676
19677 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19678 gdb_test_sequence and gdb_assert.
19679
07473109
PA
196802015-04-10 Pedro Alves <palves@redhat.com>
19681
19682 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19683 test messages that don't include the breakpoint address.
19684
de3db44c
YQ
196852015-04-10 Yao Qi <yao.qi@linaro.org>
19686
19687 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19688 false for some offset and width combinations which aren't
19689 supported by linux kernel.
19690
c79d856c
PA
196912015-04-10 Pedro Alves <palves@redhat.com>
19692
19693 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19694 procedure, factored out from ...
19695 (top level): ... here. Add "set displaced-stepping" testing axis.
19696 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19697 parameter "displaced". Use it.
19698 (top level): Use foreach and add "set displaced-stepping" testing
19699 axis.
19700
ebc90b50
PA
197012015-04-10 Pedro Alves <palves@redhat.com>
19702
19703 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19704 Remove comment.
19705 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19706 both the address of the instruction that triggers the watchpoint
19707 and the address of the instruction immediately after, and use
19708 those addresses for the test. Fix comment.
19709
8f572e5c
PA
197102015-04-10 Pedro Alves <palves@redhat.com>
19711
19712 * gdb.base/sigstep.exp (breakpoint_to_handler)
19713 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19714 Test "backtrace" in handler.
19715 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19716 (top level): Add new "displaced" test axis to
19717 breakpoint_to_handler, breakpoint_to_handler_entry and
19718 breakpoint_over_handler.
19719
8d707a12
PA
197202015-04-10 Pedro Alves <palves@redhat.com>
19721
19722 PR gdb/18216
19723 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19724
ef713951
YQ
197252015-04-10 Yao Qi <yao.qi@linaro.org>
19726
19727 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19728 (test_add_rn_pc): New function.
19729 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19730 (top level): Invoke test_add_rn_pc.
19731
906d60cf
PA
197322015-04-10 Pedro Alves <palves@redhat.com>
19733
19734 PR gdb/13858
19735 * gdb.base/step-over-no-symbols.exp: New file.
19736
f2983cc3
AW
197372015-04-09 Andy Wingo <wingo@igalia.com>
19738
19739 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19740 after the Python tests.
19741
6d62641c
SDJ
197422015-04-08 Keith Seitz <keiths@redhat.com>
19743
19744 PR python/16699
19745 * gdb.python/py-completion.exp: New tests for completion.
19746 * gdb.python/py-completion.py (CompleteLimit1): New class.
19747 (CompleteLimit2): Likewise.
19748 (CompleteLimit3): Likewise.
19749 (CompleteLimit4): Likewise.
19750 (CompleteLimit5): Likewise.
19751 (CompleteLimit6): Likewise.
19752 (CompleteLimit7): Likewise.
19753
f3770638
PA
197542015-04-08 Pedro Alves <palves@redhat.com>
19755
19756 PR gdb/18214
19757 PR gdb/18216
19758 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19759 function.
19760 (main): Install it as SIGUSR1 handler.
19761 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19762 parameter. Always use "setup" as prefix. Toggle "set
19763 displaced-stepping" off/on depending on global. Don't switch to
19764 thread 1 here.
19765 (top level): Add displaced stepping "off/on" test axis. Update
19766 "setup" calls. Wrap each subtest with with_test_prefix. Test
19767 continuing with a queued signal in each thread.
19768
4496bed7
PA
197692015-04-08 Pedro Alves <palves@redhat.com>
19770
19771 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19772 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19773 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19774 Return early if running to main fails.
19775 * gdb.trace/while-stepping.exp: Likewise.
19776
b97fde92
PA
197772015-04-07 Pedro Alves <palves@redhat.com>
19778
19779 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19780 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19781 interact with inferior program.
19782
f71c18e7
PA
197832015-04-07 Pedro Alves <palves@redhat.com>
19784
19785 * lib/gdb.exp (inferior_spawn_id): New global.
19786 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19787 spawn id after processing the user code.
19788 (default_gdb_start): Set inferior_spawn_id.
19789 (send_inferior): New procedure.
19790 * lib/gdbserver-support.exp (gdbserver_start): Set
19791 inferior_spawn_id.
19792 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19793
6423214f
PA
197942015-04-07 Pedro Alves <palves@redhat.com>
19795
19796 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19797 * lib/gdbserver-support.exp (gdbserver_start): Make
19798 $server_spawn_id global.
19799 (gdbserver_start): Don't wait for gdbserver's spawn id with
19800 expect_background.
19801 (close_gdbserver): New procedure.
19802 (gdb_exit): Rename the default version and reimplement.
19803
71c0ee8c
PA
198042015-04-07 Pedro Alves <palves@redhat.com>
19805
72f4393d 19806 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19807 append the substituted item, not the original item.
19808
203bc29b
PA
198092015-04-07 Pedro Alves <palves@redhat.com>
19810
19811 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19812 gdb_expect.
19813
508a3ddf
PA
198142015-04-07 Pedro Alves <palves@redhat.com>
19815
19816 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19817 output appearing once only.
19818
9f6dbe2b
PA
198192015-04-07 Pedro Alves <palves@redhat.com>
19820
19821 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19822 that doesn't expect anything. Return early if running to main
19823 fails.
19824
337532fa
YQ
198252015-04-07 Yao Qi <yao.qi@linaro.org>
19826
19827 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19828 (child_function): Call alarm.
19829 (main): Move call to alarm into the loop.
19830 * gdb.threads/non-stop-fair-events.exp: Build program with
19831 -DTIMEOUT=$timeout.
19832
01b622d4
DE
198332015-04-06 Doug Evans <xdje42@gmail.com>
19834
19835 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19836 Fix dest parameter to board_info.
19837 (fpc_compile): Ditto.
19838 (gdb_compile_pascal): Rename dest arg to destfile.
19839
961f4160
PMR
198402015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19841
19842 * gdb.ada/funcall_ref.exp: New file.
19843 * gdb.ada/funcall_ref/foo.adb: New file.
19844
cafda597
YQ
198452015-04-02 Yao Qi <yao.qi@linaro.org>
19846
19847 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19848 is remote.
19849
fed040c6
GB
198502015-04-02 Gary Benson <gbenson@redhat.com>
19851
19852 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19853
d11916aa
SS
198542015-04-01 Sasha Smundak <asmundak@google.com>
19855
19856 * gdb.python/py-unwind-maint.c: New file.
19857 * gdb.python/py-unwind-maint.exp: New test.
19858 * gdb.python/py-unwind-maint.py: New file.
19859 * gdb.python/py-unwind.c: New file.
19860 * gdb.python/py-unwind.exp: New test.
19861 * gdb.python/py-unwind.py: New test.
19862
a1471180
PA
198632015-04-01 Pedro Alves <palves@redhat.com>
19864
19865 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19866 to fail instead of non-existent $test.
19867
0bbeccb1
PA
198682015-04-01 Pedro Alves <palves@redhat.com>
19869
19870 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19871 GDBFLAGS if not empty.
19872
3c724c8c
PMR
198732015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19874
19875 * gdb.ada/complete.exp: Remove "multi_line".
19876 * gdb.ada/info_exc.exp: Remove "multi_line".
19877 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19878 * gdb.ada/ptype_field.exp: Remove "multi_line".
19879 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19880 * gdb.ada/tagged.exp: Remove "multi_line".
19881 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19882 [multi_line ...]
19883 * gdb.btrace/delta.exp: Likewise.
19884 * gdb.btrace/exception.exp: Likewise.
19885 * gdb.btrace/function_call_history.exp: Likewise.
19886 * gdb.btrace/instruction_history.exp: Likewise.
19887 * gdb.btrace/nohist.exp: Likewise.
19888 * gdb.btrace/record_goto.exp: Likewise.
19889 * gdb.btrace/segv.exp: Likewise.
19890 * gdb.btrace/stepi.exp: Likewise.
19891 * gdb.btrace/tailcall.exp: Likewise.
19892 * gdb.btrace/unknown_functions.exp: Likewise.
19893 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19894 * lib/gdb.exp: Add the "multi_line" helper.
19895
4eec2deb
PA
198962015-04-01 Pedro Alves <palves@redhat.com>
19897
19898 * gdb.threads/tid-reuse.c: New file.
19899 * gdb.threads/tid-reuse.exp: New file.
19900
df8411da
SDJ
199012015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19902
19903 PR corefiles/16092
19904 * gdb.base/coredump-filter.c: New file.
19905 * gdb.base/coredump-filter.exp: Likewise.
19906
6ef37366
PM
199072015-03-27 Petr Machata <pmachata@redhat.com>
19908
19909 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19910 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19911 (Dwarf::assemble): Initialize them.
19912 (Dwarf::lines): New function.
19913
7ec911b0
JT
199142015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19915
19916 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19917 SYMBOL_PREFIX for x86_64-*-cygwin.
19918
ff908ebf
AW
199192015-03-26 Andy Wingo <wingo@igalia.com>
19920
19921 PR symtab/18148
19922 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19923 const_value but not a location.
19924 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19925 location defined in non-main CUs are visible.
19926
6d5f0679
YQ
199272015-03-26 Yao Qi <yao.qi@linaro.org>
19928
19929 PR testsuite/18139
19930 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19931 Add a line number entry for the same line.
19932 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19933 Add a line number entry for the same line.
19934
2898689b
YQ
199352015-03-26 Yao Qi <yao.qi@linaro.org>
19936
19937 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19938 .int 0.
19939 (func): Likewise. Add .Lfunc_1 label.
19940 Use .Lfunc_1 label.
19941 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19942 .int 0.
19943 (func): Likewise.
19944 Use .Lfunc_1 label.
19945
85180498
YQ
199462015-03-26 Yao Qi <yao.qi@linaro.org>
19947
19948 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19949 Call gdb_compile instead to compile each .s files without debug
19950 information.
19951
8aa08a8d
YQ
199522015-03-26 Yao Qi <yao.qi@linaro.org>
19953
19954 * gdb.base/savedregs.exp (process_saved_regs): Make
19955 "Saved registers:" optional in the pattern.
19956
66849923
MM
199572015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19958
19959 * gdb.btrace/next.exp: Merged into step.exp.
19960 * gdb.btrace/finish.exp: Merged into step.exp.
19961 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19962 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19963 "record goto" and checking the exact replay position.
19964 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19965 check for "Recording format" in "info record" output.
19966 * gdb.btrace/record_goto.exp: Choose test file based on target.
19967 * gdb.btrace/x86-record_goto.S: Renamed into ...
19968 * gdb.btrace/x86_64-record_goto.S: ... this.
19969 * gdb.btrace/i686-record_goto.S: New.
19970 * gdb.btrace/x86-tailcall.S: Renamed into ...
19971 * gdb.btrace/x86_64-tailcall.S: ... this.
19972 * gdb.btrace/i686-tailcall.S: New.
19973 * gdb.btrace/x86-tailcall.c: Renamed into ...
19974 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19975 separate statements. Update test.
19976 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19977 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19978 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19979 * gdb.btrace/tailcall.exp: Choose test file based on target.
19980 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19981
11cc1b74
MM
199822015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19983
19984 * gdb.btrace/exception.exp: Increase BTS buffer size.
19985
a25d8bf9
PA
199862015-03-24 Pedro Alves <palves@redhat.com>
19987
19988 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19989
856e7dd6
PA
199902015-03-24 Pedro Alves <palves@redhat.com>
19991
19992 * gdb.threads/schedlock.exp (test_step): No longer expect that
19993 "set scheduler-locking step" with "next" over a function call runs
19994 threads unlocked.
19995
ad235a41
AT
199962015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19997
19998 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19999
15630549
AT
200002015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20001
20002 PR breakpoints/16466
20003 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
20004 * gdb.mi/mi-pending.c (thread_func): New function.
20005 (int main): Add threading support required.
20006 * gdb.mi/mi-pending.exp: Add tests for this issue.
20007 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
20008 (pendfunc2): Remove stdio dependency.
20009 * gdb.mi/mi-pendshr2.c: New file.
20010
693dca06
KS
200112015-03-23 Keith Seitz <keiths@redhat.com>
20012
20013 * gdb.linespec/keywords.c: New file.
20014 * gdb.linespec/keywords.exp: New file.
20015
7e993ebf
KS
200162015-03-23 Keith Seitz <keiths@redhat.com>
20017
20018 PR gdb/18021
20019 * gdb.dwarf2/staticvirtual.exp: New test.
20020
bc23328c
JK
200212015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20022
20023 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
20024 * README: Remove HP-UX and gdb.hp.
20025 (configuration):
20026 * configure: Regenerate.
20027 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
20028 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
20029 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
20030 gdb.hp/gdb.defects/Makefile.
20031 * gdb.hp/Makefile.in: File deleted.
20032 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
20033 * gdb.hp/gdb.aCC/optimize.c: File deleted.
20034 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
20035 * gdb.hp/gdb.aCC/run.c: File deleted.
20036 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
20037 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
20038 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
20039 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20040 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
20041 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
20042 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
20043 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
20044 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
20045 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
20046 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
20047 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
20048 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
20049 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
20050 * gdb.hp/gdb.base-hp/reg.s: File deleted.
20051 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
20052 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
20053 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
20054 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
20055 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
20056 * gdb.hp/gdb.compat/Makefile.in: File deleted.
20057 * gdb.hp/gdb.compat/average.c: File deleted.
20058 * gdb.hp/gdb.compat/sum.c: File deleted.
20059 * gdb.hp/gdb.compat/xdb.c: File deleted.
20060 * gdb.hp/gdb.compat/xdb0.c: File deleted.
20061 * gdb.hp/gdb.compat/xdb0.h: File deleted.
20062 * gdb.hp/gdb.compat/xdb1.c: File deleted.
20063 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
20064 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
20065 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
20066 * gdb.hp/gdb.defects/Makefile.in: File deleted.
20067 * gdb.hp/gdb.defects/bs14602.c: File deleted.
20068 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
20069 * gdb.hp/gdb.defects/solib-d.c: File deleted.
20070 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
20071 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
20072 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
20073 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
20074 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
20075 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
20076 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
20077 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
20078 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
20079 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
20080 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
20081 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
20082 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
20083 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
20084 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
20085 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
20086 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
20087 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
20088 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
20089 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
20090 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
20091 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
20092 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
20093 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
20094 * gdb.hp/tools/odump: File deleted.
20095
8bf3b159
PA
200962015-03-19 Pedro Alves <palves@redhat.com>
20097
20098 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20099 (saw_thread_3): New globals.
20100 (top level): Increment them when an event for the corresponding
20101 thread is seen.
20102 (no thread starvation): New test.
20103
eb54c8bf
PA
201042015-03-19 Pedro Alves <palves@redhat.com>
20105
20106 * gdb.threads/continue-pending-status.c: New file.
20107 * gdb.threads/continue-pending-status.exp: New file.
20108
32d2e5d6
PA
201092015-03-18 Pedro Alves <palves@redhat.com>
20110
20111 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20112 Use gdb_is_target_remote instead of is_remote. Use
20113 gdb_test_multiple instead of gdb_expect. Exit early if
20114 gdb_test_multiple hits its internal matches. Tighten stepi tests
20115 expected output. Fail on exit with any signal, instead of just
20116 SIGILL.
20117
f68f11b7
YQ
201182015-03-18 Yao Qi <yao.qi@linaro.org>
20119
20120 PR tdep/18107
20121 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20122 variable.
20123 * gdb.base/catch-syscall.exp: Don't skip it on
20124 aarch64*-*-linux* target. Remove elements in all_syscalls.
20125 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20126 target.
20127 (setup_all_syscalls): New proc.
20128
ca5fd19b
YQ
201292015-03-16 Yao Qi <yao.qi@linaro.org>
20130
20131 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20132 (top level): Skip tests if valid_addr_p returns false for
20133 $cmd1 or $cmd2.
20134
85642ba0
AW
201352015-03-11 Andy Wingo <wingo@igalia.com>
20136
20137 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20138
e03f9645
YQ
201392015-03-11 Yao Qi <yao.qi@linaro.org>
20140
20141 * gdb.base/catch-syscall.exp: Fix typo in comments.
20142
5d0962b2
YQ
201432015-03-11 Yao Qi <yao.qi@linaro.org>
20144
20145 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20146
b2df3cef
PA
201472015-03-09 Pedro Alves <palves@redhat.com>
20148
20149 * dg-extract-results.py: Delete.
20150
ef878e53
PA
201512015-03-09 Pedro Alves <palves@redhat.com>
20152
20153 Merge dg-extract-results.sh from GCC upstream (r218843).
20154
20155 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20156 * dg-extract-results.sh: Use --text with grep to avoid issues with
20157 binary files. Fall back to cat -v, if that doesn't work.
20158
9494d219
PA
201592015-03-05 Pedro Alves <palves@redhat.com>
20160
20161 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20162
a8d9763a
SM
201632015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20164
20165 * lib/mi-support.exp (mi_expect_interrupt): Accept
20166 alternative event for when in all-stop mode.
20167
be9957b8
PA
201682015-03-04 Pedro Alves <palves@redhat.com>
20169
20170 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20171
d57be0f4 201722015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
20173
20174 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20175
c214c7cf
AA
201762015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20177
20178 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20179 regexps for GDB's current line display, accept a hex address
20180 preceding the line number.
20181
6d74a497
AA
201822015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20183
20184 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20185 the 'arch1' variable for "s390*-linux*" targets.
20186
511aee7c
PA
201872015-03-04 Pedro Alves <palves@redhat.com>
20188
20189 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20190 (main): Pass missing retval argument to pthread_join call.
20191
95e50b27
PA
201922015-03-02 Pedro Alves <palves@redhat.com>
20193
20194 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20195 (top level): Call do_test with non-stop as well.
20196
28054d69
PA
201972015-03-02 Pedro Alves <palves@redhat.com>
20198
20199 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20200 -1.
20201
4fa5d7b4
AA
202022015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20203
20204 * gdb.arch/s390-vregs.exp: New test.
20205 * gdb.arch/s390-vregs.S: New file.
20206
97c18565
PA
202072015-02-27 Pedro Alves <palves@redhat.com>
20208
20209 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20210 call to catch_command_errors.
20211 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20212 catch_command_errors.
20213
a37bfa30
PA
202142015-02-27 Pedro Alves <palves@redhat.com>
20215
20216 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20217 "true" for boolean result.
20218 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20219 prototype of main.
20220
6f98576f
PA
202212015-02-27 Pedro Alves <palves@redhat.com>
20222
20223 * lib/unbuffer_output.c: New file.
20224 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20225 (main): Call gdb_unbuffer_output.
20226
eba5ab56
YQ
202272015-02-27 Yao Qi <yao.qi@linaro.org>
20228
20229 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20230 target.
20231
0def5aaa
DE
202322015-02-26 Doug Evans <dje@google.com>
20233
20234 * gdb.cp/class2.cc (Dbase, D): New classes.
20235 (main): New local delta.
20236 * gdb.cp/class2.exp: Test printing delta.
20237 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20238 (dynbar): New global.
20239 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20240
081a1c2c
JK
202412015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20242
20243 * gdb.compile/compile-ifunc.c: New file.
20244 * gdb.compile/compile-ifunc.exp: New file.
20245
2f41223f
AT
202462015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20247
20248 * gdb.base/structs.exp: Check for correct struct on finish.
20249
03eddd80
YQ
202502015-02-26 Yao Qi <yao.qi@linaro.org>
20251
20252 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20253 is zero.
20254
80c57053
JK
202552015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20256
20257 * gdb.arch/cordic.ko.bz2: New file.
20258 * gdb.arch/cordic.ko.debug.bz2: New file.
20259 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20260
21613c12
YQ
202612015-02-25 Yao Qi <yao.qi@linaro.org>
20262
20263 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20264 aarch64*-*-* target.
20265
d8b901ed
PA
202662015-02-23 Pedro Alves <palves@redhat.com>
20267
20268 * lib/gdb.exp (delete_breakpoints): Rewrite using
20269 gdb_test_multiple.
20270
e5b85ead
PA
202712015-02-23 Pedro Alves <palves@redhat.com>
20272
20273 * gdb.base/info-os.c: Include stdlib.h.
20274
85c3a371
DE
202752015-02-22 Doug Evans <xdje42@gmail.com>
20276
20277 PR symtab/17855
20278 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20279 is read after symbols have been re-read.
20280 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20281 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20282
96553a0c
DE
202832015-02-21 Doug Evans <dje@google.com>
20284
20285 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20286
97a0c697
JK
202872015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20288
20289 PR corefiles/17808
20290 * gdb.arch/i386-biarch-core.core.bz2: New file.
20291 * gdb.arch/i386-biarch-core.exp: New file.
20292
a47cd6e9
PA
202932015-02-21 Pedro Alves <palves@redhat.com>
20294
20295 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20296 runto_main fails.
20297
c5facdc4
PA
202982015-02-20 Pedro Alves <palves@redhat.com>
20299
20300 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20301 info probes.
20302
2db9a427
PA
203032015-02-20 Pedro Alves <palves@redhat.com>
20304
20305 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20306
60fb7e9e
PA
203072015-02-20 Pedro Alves <palves@redhat.com>
20308
20309 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20310 clean_restart before gdb_target_supports_trace.
20311
5c5019c2
PA
203122015-02-20 Pedro Alves <palves@redhat.com>
20313
20314 PR threads/18006
20315 * gdb.threads/clone-thread_db.c: New file.
20316 * gdb.threads/clone-thread_db.exp: New file.
20317
c9587f88
AT
203182015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20319
20320 PR breakpoints/16812
20321 * gdb.base/catch-gdb-caused-signals.c: New file.
20322 * gdb.base/catch-gdb-caused-signals.exp: New file.
20323
f6a88844
JM
203242015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20325
20326 * configure: Regenerated.
20327 * configure.ac: Use GDB_AC_TRANSFORM.
20328 * aclocal.m4: sinclude ../transform.m4.
20329
497c491b
JM
203302015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20331
20332 * lib/dtrace.exp: New file.
20333 * gdb.base/dtrace-probe.exp: Likewise.
20334 * gdb.base/dtrace-probe.d: Likewise.
20335 * gdb.base/dtrace-probe.c: Likewise.
20336 * lib/pdtrace.in: Likewise.
20337 * configure.ac: Output variables with the transformed names of
20338 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20339 * configure: Regenerated.
20340
03e98035
JM
203412015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20342
20343 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20344 expected message when trying to access $_probe_* convenience
20345 variables while not on a probe.
20346
63cc30e9
JK
203472015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20348
20349 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20350
0703599a
PA
203512015-02-11 Pedro Alves <pedro@codesourcery.com>
20352
20353 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20354 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20355
7e60a48e
DE
203562015-02-10 Doug Evans <xdje42@gmail.com>
20357
20358 * lib/gdb.exp (gdb_load): Always return a result.
20359
01b088bc
PA
203602015-02-10 Pedro Alves <palves@redhat.com>
20361
20362 * gdb.threads/signal-sigtrap.c: New file.
20363 * gdb.threads/signal-sigtrap.exp: New file.
20364
b05ec7a5
AT
203652015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20366
20367 * gdb.trace/no-attach-trace.c: New file.
20368 * gdb.trace/no-attach-trace.exp: New file.
20369
a2c2acaf
MW
203702015-02-09 Mark Wielaard <mjw@redhat.com>
20371
20372 * gdb.dwarf2/atomic.c: New file.
20373 * gdb.dwarf2/atomic-type.exp: Likewise.
20374
31fd9caa
MM
203752015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20376
20377 * gdb.btrace/buffer-size.exp: Update "info record" output.
20378 * gdb.btrace/delta.exp: Update "info record" output.
20379 * gdb.btrace/enable.exp: Update "info record" output.
20380 * gdb.btrace/finish.exp: Update "info record" output.
20381 * gdb.btrace/instruction_history.exp: Update "info record" output.
20382 * gdb.btrace/next.exp: Update "info record" output.
20383 * gdb.btrace/nexti.exp: Update "info record" output.
20384 * gdb.btrace/step.exp: Update "info record" output.
20385 * gdb.btrace/stepi.exp: Update "info record" output.
20386 * gdb.btrace/nohist.exp: Update "info record" output.
20387
d33501a5
MM
203882015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20389
20390 * gdb.btrace/buffer-size: New.
20391
f4abbc16
MM
203922015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20393
20394 * gdb.btrace/delta.exp: Update "info record" output.
20395 * gdb.btrace/enable.exp: Update "info record" output.
20396 * gdb.btrace/finish.exp: Update "info record" output.
20397 * gdb.btrace/instruction_history.exp: Update "info record" output.
20398 * gdb.btrace/next.exp: Update "info record" output.
20399 * gdb.btrace/nexti.exp: Update "info record" output.
20400 * gdb.btrace/step.exp: Update "info record" output.
20401 * gdb.btrace/stepi.exp: Update "info record" output.
20402 * gdb.btrace/nohist.exp: Update "info record" output.
20403
b9d61307
SM
204042015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20405
20406 PR gdb/15678
20407 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20408
e584fdbc
PA
204092015-02-06 Pedro Alves <palves@redhat.com>
20410
20411 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20412 macro.
20413 (seconds_left, again): New globals.
20414 (main): Wait seconds_left in a 1-second sleep loop instead of
20415 sleeping 180 seconds. If 'again' is set, reset the seconds
20416 counter.
20417 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20418 'again' in the inferior before detaching. Print the seconds left.
20419 (options): New global.
20420 (top level): Build program with -DTIMEOUT=$timeout.
20421
77f41761
PA
204222015-02-06 Pedro Alves <palves@redhat.com>
20423
20424 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20425 determine how many seconds to pass to 'alarm'.
20426 * gdb.base/gdb-sigterm.exp (top level): Build program with
20427 -DTIMEOUT=$timeout.
20428 (do_test): Return success/failure indication. Add more verbose
20429 logging. Don't fail if 200 single steps are seen. Instead, fail
20430 when the test times out.
20431 (passes): New global.
20432 (top level): Break the testing loop if testing fails on any
20433 iteration. Use gdb_assert.
20434
b9394193
DB
204352015-02-04 Don Breazeal <donb@codesourcery.com>
20436
20437 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20438 and initialize them.
20439 (ipc_cleanup): New function.
20440 (main): Don't declare shmid, semid, and msqid. Add a call to
20441 atexit so that we call ipc_cleanup on exit.
20442
42d9e528
PA
204432015-02-04 Pedro Alves <palves@redhat.com>
20444
20445 * boards/native-extended-gdbserver.exp: Remove any target variant
20446 specifications from the board name before clearing the isremote
20447 flag from board_info.
20448
ae6ae975
DE
204492015-01-31 Doug Evans <xdje42@gmail.com>
20450
20451 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20452
cfb069a8
GB
204532015-01-31 Gary Benson <gbenson@redhat.com>
20454
20455 * gdb.base/completion.exp: Disable completion limiting for
20456 existing tests. Add new tests to check completion limiting.
20457 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20458
5dd31d79
DE
204592015-01-31 Doug Evans <xdje42@gmail.com>
20460
20461 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20462
9f050062
DE
204632015-01-31 Doug Evans <xdje42@gmail.com>
20464
20465 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20466 entries. Duplicate file section script entries.
20467 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20468 inlined entries. Add test for safe-path rejection.
20469 * gdb.python/py-section-script.c: Add duplicate inlined section script
20470 entries. Duplicate file section script entries.
20471 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20472 inlined entries. Add test for safe-path rejection.
20473
df25ebbd
JB
204742015-01-29 Joel Brobecker <brobecker@adacore.com>
20475
20476 * gdb.ada/disc_arr_bound: New testcase.
20477
4a0ca9ec
JB
204782015-01-29 Joel Brobecker <brobecker@adacore.com>
20479
20480 * gdb.ada/mi_var_array: New testcase.
20481
3a8b707a
DE
204822015-01-27 Doug Evans <dje@google.com>
20483
20484 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20485 Add test for objfile.filename, objfile.username after objfile
20486 has been unloaded.
20487
f8313f6e
JB
204882015-01-26 Joel Brobecker <brobecker@adacore.com>
20489
20490 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20491 the second test to print the name attribute of value
20492 returned by the call to gdb.lookup_type, and adjust
20493 the expected output accordingly.
20494
37bc665e
MW
204952015-01-25 Mark Wielaard <mjw@redhat.com>
20496
20497 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20498 * gdb.base/disp-step-fork.c: Include unistd.h.
20499 * gdb.base/siginfo-obj.c: Include stdio.h.
20500 * gdb.base/siginfo-thread.c: Likewise.
20501 * gdb.mi/non-stop.c: Include unistd.h.
20502 * gdb.mi/nsthrexec.c: Include stdio.h.
20503 * gdb.mi/pthreads.c: Include unistd.h.
20504 * gdb.modula2/unbounded1.c (main): Declare returns int.
20505 * gdb.reverse/consecutive-reverse.c: Likewise.
20506 * gdb.threads/create-fail.c: Include unistd.h.
20507 * gdb.threads/killed.c: Likewise.
20508 * gdb.threads/linux-dp.c: Likewise.
20509 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20510 * gdb.threads/non-ldr-exc-2.c: Likewise.
20511 * gdb.threads/non-ldr-exc-3.c: Likewise.
20512 * gdb.threads/non-ldr-exc-4.c: Likewise.
20513 * gdb.threads/pthreads.c: Include unistd.h.
20514 (main): Declare returns int.
20515 * gdb.threads/tls-main.c (foo): New declaration.
20516 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20517
f7e5394d
SM
205182015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20519
20520 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20521 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20522
743649fd
MW
205232015-01-15 Mark Wielaard <mjw@redhat.com>
20524
20525 * gdb.base/noreturn-return.c: New file.
20526 * gdb.base/noreturn-return.exp: New file.
20527 * gdb.base/noreturn-finish.c: New file.
20528 * gdb.base/noreturn-finish.exp: New file.
20529
198297aa
PA
205302015-01-23 Pedro Alves <palves@redhat.com>
20531
20532 * gdb.threads/continue-pending-after-query.c: New file.
20533 * gdb.threads/continue-pending-after-query.exp: New file.
20534
717cf30c
AG
205352015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20536 Simon Marchi <simon.marchi@ericsson.com>
20537
20538 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20539 * gdb.base/valgrind-db-attach.exp: Same.
20540 * gdb.base/valgrind-infcall.exp: Same.
20541 * lib/mi-support.exp (default_mi_gdb_start): Same.
20542 * lib/prompt.exp (default_prompt_gdb_start): Same.
20543 * lib/gdb.exp (default_gdb_spawn): Same.
20544 (gdb_interact): New.
20545
20546
4b62a76e
JK
205472015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20548
20549 * gdb.compile/compile.exp (pointer to jit function): New test.
20550
b4cdae6f
WW
205512015-01-17 Wei-cheng Wang <cole945@gmail.com>
20552
20553 * lib/gdb.exp (supports_process_record): Return true for
20554 powerpc*-*-linux*.
20555 (supports_reverse): Likewise.
20556
d221e7ef
DB
205572015-01-15 Don Breazeal <donb@codesourcery.com>
20558
20559 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20560 instead of checking whether the target board is remote and
20561 use spawn_wait_for_attach instead of exec/sleep.
20562 * gdb.base/attach-twice.exp: Likewise.
20563
bafffb51
JB
205642015-01-15 Joel Brobecker <brobecker@adacore.com>
20565
20566 * gdb.ada/var_arr_attrs: New testcase.
20567
5589af0e
PA
205682015-01-14 Pedro Alves <palves@redhat.com>
20569 Joel Brobecker <brobecker@adacore.com>
20570
20571 PR gdb/17525
20572 * gdb.base/bp-cmds-execution-x-script.c: New file.
20573 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20574 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20575
6c400b59
PA
205762015-01-14 Pedro Alves <palves@redhat.com>
20577
20578 PR cli/17828
20579 * gdb.base/batch-preserve-term-settings.c: New file.
20580 * gdb.base/batch-preserve-term-settings.exp: New file.
20581
e02c96a7
DE
205822015-01-13 Doug Evans <dje@google.com>
20583
20584 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20585 binary.
20586
576fd14c
JB
205872015-01-13 Joel Brobecker <brobecker@adacore.com>
20588
20589 * Makefile.in (clean mostlyclean): Do not delete *.py.
20590
04dccad0
JB
205912015-01-13 Joel Brobecker <brobecker@adacore.com>
20592
20593 * gdb.python/py-lookup-type.exp: New file.
20594
3d230f71
PA
205952015-01-12 Pedro Alves <palves@redhat.com>
20596
20597 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20598 restore GDBFLAGS before returning.
20599
7e67715d
JK
206002015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20601
20602 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20603 is_amd64_regs_target and is_x86_like_target.
20604
f2e0d4b4
DE
206052015-01-11 Doug Evans <xdje42@gmail.com>
20606
20607 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20608 is given without an explicit form.
20609 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20610 attributes.
20611 * gdb.dwarf/corrupt.exp: Ditto.
20612 * gdb.dwarf2/enum-type.exp: Ditto.
20613 * gdb.trace/entry-values.exp: Ditto.
20614 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20615
439250fb
DE
206162015-01-11 Doug Evans <xdje42@gmail.com>
20617
20618 PR gdb/15830
20619 * gdb.base/maint.exp: Remove references to "maint demangle".
20620 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20621 Add tests for explicitly specifying language to demangle.
20622 * gdb.dlang/demangle.exp: Ditto.
20623
ede9f622
PA
206242015-01-09 Pedro Alves <palves@redhat.com>
20625
20626 * gdb.threads/non-stop-fair-events.c: New file.
20627 * gdb.threads/non-stop-fair-events.exp: New file.
20628
a7b796db
PA
206292015-01-09 Pedro Alves <palves@redhat.com>
20630
20631 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20632 the global scope. Set a breakpoint after all threads are started
20633 rather than stepping over two source lines. Expect the prompt.
20634 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20635 global.
20636 (NUM): Now 15.
20637 (main): Use threads_started_barrier to wait for all threads to
20638 start. Main thread no longer calls thread_function. Exit after
20639 180 seconds.
20640 (loop): New function.
20641 (thread_function): Wait on threads_started_barrier barrier. Call
20642 'loop' at each iteration.
20643 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20644 threads have started, instead of hardcoding number of "next"
20645 steps. Use an access watchpoint instead of a write watchpoint.
20646
9665ffdd
PA
206472015-01-09 Pedro Alves <palves@redhat.com>
20648
20649 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20650 (thread_func): Wait on barrier.
20651 (main): Wait for all threads to start before stopping GDB.
20652 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20653 global.
20654 (thread1_func, thread2_func): Wait on barrier.
20655 (main): Wait for all threads to start before stopping GDB.
20656 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20657 New global.
20658 (thread1_func, thread2_func): Wait on barrier.
20659 (main): Wait for all threads to start before stopping GDB.
20660
c945a99f
PA
206612015-01-09 Pedro Alves <palves@redhat.com>
20662
20663 * gdb.threads/attach-many-short-lived-threads.c: New file.
20664 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20665
c1a747c1
PA
206662014-01-09 Pedro Alves <palves@redhat.com>
20667
20668 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20669 instead of to thread 2.
20670 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20671 Add barrier around each pthread_create call instead of around all
20672 calls.
20673 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20674 Set a break on thread_function and have the child threads hit it
20675 one at at a time.
20676
60b3033e
PA
206772015-01-09 Pedro Alves <palves@redhat.com>
20678
20679 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20680 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20681 false.
20682 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20683 checking whether the target board is remote.
20684 * gdb.multi/multi-attach.exp: Likewise.
20685 * gdb.python/py-sync-interp.exp: Likewise.
20686 * gdb.server/ext-attach.exp: Likewise.
20687 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20688 tests that need to attach, instead of checking whether the target
20689 board is remote at the top of the file.
20690
acc018ac
YQ
206912015-01-08 Yao Qi <yao@codesourcery.com>
20692
20693 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20694
50a18af8
JK
206952015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20696
20697 Fix testcase compilation.
20698 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20699
8503d6e1
JB
207002015-01-06 Joel Brobecker <brobecker@adacore.com>
20701
20702 * gdb.python/py-type.exp: Add a couple test about empty
20703 array creation, and negative-length array creation.
20704
cc73dbcc
DE
207052015-01-02 Doug Evans <xdje42@gmail.com>
20706
20707 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20708
0300bbc7
DE
207092015-01-02 Doug Evans <dje@google.com>
20710
20711 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20712
9d85a0ec
YQ
207132014-12-29 Yao Qi <yao@codesourcery.com>
20714
20715 * gdb.trace/entry-values.exp: Update comments. Rename variable
20716 bar_call_foo to returned_from_foo.
20717
87186c6a
MMN
207182014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20719
20720 PR gdb/17394
20721 * gdb.linespec/break-asm-file.c: New file.
20722 * gdb.linespec/break-asm-file.exp: New file.
20723 * gdb.linespec/break-asm-file0.s: New file.
20724 * gdb.linespec/break-asm-file1.s: New file.
20725
1bab7383
YQ
207262014-12-18 Nigel Stephens <nigel@mips.com>
20727 Maciej W. Rozycki <macro@codesourcery.com>
20728
20729 * gdb.base/float.exp: Handle the new output from "info float" on
20730 MIPS targets.
20731
1bc1068a
JK
207322014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20733
20734 Fix MinGW compilation.
20735 * gdb.compile/compile-ops.exp: Update untested message if
20736 !skip_compile_feature_tests.
20737 * gdb.compile/compile-setjmp.exp: Likewise.
20738 * gdb.compile/compile-tls.exp: Likewise.
20739 * gdb.compile/compile.exp: Likewise.
20740 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20741 supported on this host".
20742
b6615d10
DE
207432014-12-16 Doug Evans <xdje42@gmail.com>
20744
20745 * boards/stabs.exp: New file.
20746
25dda427
AA
207472014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20748
20749 * gdb.base/completion.exp: Adjust to format changes of "maint
20750 print user-registers".
20751
bf330350
CU
207522014-12-16 Catalin Udma <catalin.udma@freescale.com>
20753
20754 PR server/17457
20755 * gdb.arch/aarch64-fp.c: New file.
20756 * gdb.arch/aarch64-fp.exp: New file.
20757
395cf596
SDJ
207582014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20759
20760 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20761 r210637, r210913, r211666, r215400, r215817).
20762
20763 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20764 * dg-extract-results.py: New file.
20765 * dg-extract-results.sh: Use it if the environment seems
20766 suitable.
20767
20768 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20769
20770 * dg-extract-results.py (parse_run): Handle warnings that
20771 are printed before a test harness is run.
20772
20773 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20774
20775 * dg-extract-results.py (Named): Remove __cmp__ method.
20776 (output_variation): Use a key to sort variation.harnesses.
20777
20778 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20779
20780 * dg-extract-results.py: For Python 3, force sys.stdout to
20781 handle surrogate escape sequences.
20782 (safe_open): New function.
20783 (output_segment, main): Use it.
20784
20785 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20786
20787 * dg-extract-results.py (Prog.result_re): Include options
20788 in test name.
20789
20790 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20791
20792 * dg-extract-results.py (output_variation): Always sort if
20793 do_sum.
20794
e882ef3c
SM
207952014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20796
20797 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20798 as long as we get pagination notifications.
20799
4992aa20
JM
208002014-12-15 Jason Merrill <jason@redhat.com>
20801
20802 * Makefile.in (check-gdb.%): Restore.
20803 * README: Mention it.
20804
c1b5a1a6
JB
208052014-12-13 Joel Brobecker <brobecker@adacore.com>
20806
20807 * gdb.ada/str_uninit: New testcase.
20808
5537b577
JK
208092014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20810
20811 PR symtab/17642
20812 * gdb.base/vla-stub-define.c: New file.
20813 * gdb.base/vla-stub.c: New file.
20814 * gdb.base/vla-stub.exp: New file.
20815
bb2ec1b3
TT
208162014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20817 Jan Kratochvil <jan.kratochvil@redhat.com>
20818 Tom Tromey <tromey@redhat.com>
20819
20820 * configure.ac: Add gdb.compile/.
20821 * configure: Regenerate.
20822 * gdb.compile/Makefile.in: New file.
20823 * gdb.compile/compile-ops.exp: New file.
20824 * gdb.compile/compile-ops.c: New file.
20825 * gdb.compile/compile-tls.c: New file.
20826 * gdb.compile/compile-tls.exp: New file.
20827 * gdb.compile/compile-constvar.S: New file.
20828 * gdb.compile/compile-constvar.c: New file.
20829 * gdb.compile/compile-mod.c: New file.
20830 * gdb.compile/compile-nodebug.c: New file.
20831 * gdb.compile/compile-setjmp-mod.c: New file.
20832 * gdb.compile/compile-setjmp.c: New file.
20833 * gdb.compile/compile-setjmp.exp: New file.
20834 * gdb.compile/compile-shlib.c: New file.
20835 * gdb.compile/compile.c: New file.
20836 * gdb.compile/compile.exp: New file.
20837 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20838
4ff709eb
TT
208392014-12-12 Tom Tromey <tromey@redhat.com>
20840
20841 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20842 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20843
6dddd6a5
DE
208442014-12-12 Doug Evans <dje@google.com>
20845
20846 * lib/gdb-python.exp (get_python_valueof): New function.
20847 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20848
71c24708
AA
208492014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20850
20851 * gdb.base/completion.exp: Add test for completion of "info
20852 registers ".
20853
3e29f34a
MR
208542014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20855
20856 * gdb.base/func-ptrs.c: New file.
20857 * gdb.base/func-ptrs.exp: New file.
20858
fc126975
SM
208592014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20860
20861 PR breakpoints/17012
20862 * gdb.base/dprintf-detach.c: New file.
20863 * gdb.base/dprintf-detach.exp: New file.
20864
0a46d518
SM
208652014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20866
20867 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20868 * lib/gdb.exp (target_is_gdbserver): New procedure.
20869
a0be3e44
DE
208702014-12-08 Doug Evans <dje@google.com>
20871
20872 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20873
df1b803a
YQ
208742014-12-05 Yao Qi <yao@codesourcery.com>
20875
20876 * gdb.guile/scm-error.exp: Remove the third argument to
20877 gdb_remote_download.
20878 * gdb.guile/scm-frame-args.exp: Likewise.
20879 * gdb.guile/scm-section-script.exp: Likewise.
20880
ddb9f679
YQ
208812014-12-05 Yao Qi <yao@codesourcery.com>
20882
20883 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20884
86e4ed39
DE
208852014-12-04 Doug Evans <dje@google.com>
20886
20887 * gdb.python/py-objfile.exp: Add tests for
20888 objfile.add_separate_debug_file.
20889
7c50a931
DE
208902014-12-04 Doug Evans <dje@google.com>
20891
20892 * lib/gdb.exp (get_build_id): New function.
20893 (build_id_debug_filename_get): Rewrite to use it.
20894 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20895
621661e3
MR
208962014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20897
20898 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20899 `method(long)', not just 0x0.
20900 * gdb.cp/nsalias.exp: Align code labels to 4.
20901 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20902 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20903 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20904 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20905 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20906 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20907
29f0c3b7
DE
209082014-12-02 Doug Evans <dje@google.com>
20909
e1e061e7 20910 PR symtab/17602
29f0c3b7 20911 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20912 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20913 * gdb.cp/anon-ns.exp: Update.
20914
162078c8
NB
209152014-12-02 Nick Bull <nicholaspbull@gmail.com>
20916
20917 * gdb.python/py-events.py (inferior_call_handler): New.
20918 (register_changed_handler, memory_changed_handler): New.
20919 (test_events.invoke): Register new handlers.
20920 * gdb.python/py-events.exp: Add tests for inferior call,
20921 memory_changed and register_changed events.
20922
fdb09caf
AA
209232014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20924
20925 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20926 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20927 if the linker doesn't understand this.
20928
55cfb2c4
SM
209292014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20930
20931 * gdb.python/python.exp: Change expected reply to help().
20932
9e8cd6df
YQ
209332014-12-01 Yao Qi <yao@codesourcery.com>
20934
20935 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20936 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20937 * configure: Re-generated.
20938
6c659fc2
SC
209392014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20940
20941 * gdb.cp/chained-calls.cc: New file.
20942 * gdb.cp/chained-calls.exp: New file.
20943 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20944
d7fc3181
SM
209452014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20946
20947 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20948 * gdb.dwarf2/symtab-producer.exp: Same.
20949 * gdb.gdb/python-interrupts.exp: Same.
20950 * gdb.gdb/python-selftest.exp: Same.
20951 * gdb.python/py-linetable.exp: Same.
20952 * gdb.python/py-type.exp: Same.
20953 * gdb.python/py-value-cc.exp: Same.
20954 * gdb.python/py-value.exp: Same.
20955
10e79639
YQ
209562014-11-28 Yao Qi <yao@codesourcery.com>
20957
20958 * gdb.base/break-probes.exp: Match library name prefixed with
20959 sysroot.
20960
f28a0564
SM
209612014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20962
20963 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20964 test expected output. Add parentheses for the call to print.
20965 Remove L suffix from integers.
20966
3fe1ce1d
DE
209672014-11-26 Doug Evans <dje@google.com>
20968
20969 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20970
84429e27
YQ
209712014-11-22 Yao Qi <yao@codesourcery.com>
20972
20973 * gdb.trace/entry-values.c: Remove asms.
20974 (foo): Add foo_label.
20975 (bar): Add bar_label.
20976 * gdb.trace/entry-values.exp: Remove code computing foo's
20977 length and bar's length.
20978 (Dwarf::assemble): Invoke function_range for bar and use
20979 MACRO_AT_func for foo.
20980
26741859
YQ
209812014-11-22 Yao Qi <yao@codesourcery.com>
20982
20983 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20984 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20985 Use .Lgcc43_procstart instead of gcc43.
20986
45e44d27
JB
209872014-11-21 Joel Brobecker <brobecker@adacore.com>
20988
20989 * gdb.ada/n_arr_bound: New testcase.
20990
458c8db8
SDJ
209912014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20992
20993 PR breakpoints/10737
20994 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20995 test_catch_syscall_multi_arch.
20996 (test_catch_syscall_multi_arch): New function.
20997
43f3e411
DE
209982014-11-20 Doug Evans <xdje42@gmail.com>
20999
21000 * gdb.base/maint.exp: Update expected output.
21001
0d7b2549
AA
210022014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
21003
21004 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
21005 4-byte instruction on S390.
21006
8908fca5
JB
210072014-11-19 Joel Brobecker <brobecker@adacore.com>
21008
21009 * gdb.ada/arr_arr: New testcase.
21010
4a46959e
JB
210112014-11-19 Joel Brobecker <brobecker@adacore.com>
21012
21013 * gdb.ada/pkd_arr_elem: New Testcase.
21014
470e2f4e
LM
210152014-11-18 Luis Machado <lgustavo@codesourcery.com>
21016
21017 * gdb.reverse/break-precsave: Expect completion message for
21018 core file reads.
21019 * gdb.reverse/consecutive-precsave.exp: Likewise.
21020 * gdb.reverse/finish-precsave.exp: Likewise.
21021 * gdb.reverse/i386-precsave.exp: Likewise.
21022 * gdb.reverse/machinestate-precsave.exp: Likewise.
21023 * gdb.reverse/sigall-precsave.exp: Likewise.
21024 * gdb.reverse/solib-precsave.exp: Likewise.
21025 * gdb.reverse/step-precsave.exp: Likewise.
21026 * gdb.reverse/until-precsave.exp: Likewise.
21027 * gdb.reverse/watch-precsave.exp: Likewise.
21028
a267f3ad
AA
210292014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21030
21031 * gdb.base/bp-permanent.c: Include unistd.h.
21032 * gdb.python/py-framefilter-mi.c (main): Add return type.
21033 * gdb.python/py-framefilter.c (main): Likewise.
21034 * gdb.trace/actions-changed.c (main): Likewise.
21035
12084a9a
AA
210362014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21037
21038 * gdb.mi/until.c: Add eye-catchers.
21039 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
21040 line numbers.
21041
dc7e1a77
AA
210422014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21043
21044 * gdb.base/condbreak.exp: Drop references to removed non-prototype
21045 function header variants in break1.c.
21046 * gdb.base/ena-dis-br.exp: Likewise.
21047 * gdb.base/hbreak2.exp: Likewise.
21048 * gdb.reverse/until-precsave.exp: Drop references to removed
21049 non-prototype function header variants in ur1.c.
21050 * gdb.reverse/until-reverse.exp: Likewise.
21051
41c77605
PM
210522014-11-17 Petr Machata <pmachata@redhat.com>
21053
21054 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
21055 ${_cu_offset_size} bytes abbrev offset.
21056
34248c3a
DE
210572014-11-15 Doug Evans <xdje42@gmail.com>
21058
21059 PR symtab/17559
21060 * gdb.base/line-symtabs.exp: New file.
21061 * gdb.base/line-symtabs.c: New file.
21062 * gdb.base/line-symtabs.h: New file.
21063
646da059
YQ
210642014-11-14 Yao Qi <yao@codesourcery.com>
21065
21066 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
21067 (func): Add label func_label.
21068 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
21069 Replace low_pc and high_pc with MACRO_AT_range.
21070 Replace name, low_pc and high_pc with MACRO_AT_func.
21071
9301ebe6
YQ
210722014-11-14 Yao Qi <yao@codesourcery.com>
21073
21074 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
21075 Replace name, low_pc and high_pc with MACRO_AT_func.
21076
f166b542
YQ
210772014-11-14 Yao Qi <yao@codesourcery.com>
21078
21079 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
21080 produce debug information.
21081 * gdb.dwarf2/implptr-optimized-out.S: Removed.
21082
0f6e71e3
YQ
210832014-11-14 Yao Qi <yao@codesourcery.com>
21084
21085 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
21086 object and get function length.
21087 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
21088 with MACRO_AT_func.
21089 (top-level): Replace gdb_compile and clean_restart with
21090 prepare_for_testing.
21091 * gdb.dwarf2/main.c (main): Add label main_label.
21092
876c4df9
YQ
210932014-11-14 Yao Qi <yao@codesourcery.com>
21094
21095 * lib/dwarf.exp (function_range): New procedure.
21096 (Dwarf::_handle_macro_at_func): New procedure.
21097 (Dwarf::_handle_macro_at_range): New procedure.
21098 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21099
02ad9cf1
YQ
211002014-11-14 Yao Qi <yao@codesourcery.com>
21101
21102 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21103 (_handle_attribute): New procedure.
21104
a59add0c
AA
211052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21106
21107 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21108 * gdb.base/call-sc.c (zed): Likewise.
21109 * gdb.base/checkpoint.c (main): Likewise.
21110 * gdb.base/dump.c (main): Likewise.
21111 * gdb.base/gcore.c (main): Likewise.
21112 * gdb.base/huge.c (main): Likewise.
21113 * gdb.base/multi-forks.c (main): Likewise.
21114 * gdb.base/pr10179-a.c (main): Likewise.
21115 * gdb.base/savedregs.c (main): Likewise.
21116 * gdb.base/sigaltstack.c (main): Likewise.
21117 * gdb.base/siginfo.c (main): Likewise.
21118 * gdb.base/structs.c (zed): Likewise.
21119 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21120 * gdb.mi/mi-syn-frame.c (main): Likewise.
21121 * gdb.mi/until.c (foo, main): Likewise.
21122 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21123 * gdb.base/solib-weak.c (foo): Declare.
21124 * gdb.base/attach-twice.c: Include stdio.h.
21125 * gdb.base/weaklib1.c: Likewise.
21126 * gdb.base/weaklib2.c: Likewise.
21127 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21128 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21129 unistd.h.
21130 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21131 * gdb.mi/mi-exit-code.c: Likewise.
21132 * gdb.base/break-interp-lib.c: Include string.h.
21133 * gdb.base/coremaker.c: Likewise.
21134 * gdb.base/testenv.c: Likewise.
21135 * gdb.python/py-finish-breakpoint.c: Likewise.
21136 * gdb.base/inferior-died.c: Include sys/wait.h.
21137 * gdb.base/fileio.c: Include time.h.
21138 * gdb.base/async-shell.c: Include unistd.h.
21139 * gdb.base/dprintf-non-stop.c: Likewise.
21140 * gdb.base/info-os.c: Likewise.
21141 * gdb.mi/mi-console.c: Likewise.
21142 * gdb.mi/watch-nonstop.c: Likewise.
21143 * gdb.python/py-events.c: Likewise.
21144 * gdb.base/async.c (baz): Move up before its invocation.
21145 * gdb.base/code_elim2.c (my_global_func): Likewise.
21146 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21147 * gdb.base/advance.c (func2): Likewise.
21148
3b5d5997
AA
211492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21150
21151 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21152 variant.
21153 * gdb.base/annota3.c: Likewise.
21154 * gdb.base/async.c: Likewise.
21155 * gdb.base/average.c: Likewise.
21156 * gdb.base/call-ar-st.c: Likewise.
21157 * gdb.base/call-rt-st.c: Likewise.
21158 * gdb.base/call-sc.c: Likewise.
21159 * gdb.base/call-strs.c: Likewise.
21160 * gdb.base/ending-run.c: Likewise.
21161 * gdb.base/execd-prog.c: Likewise.
21162 * gdb.base/exprs.c: Likewise.
21163 * gdb.base/foll-exec.c: Likewise.
21164 * gdb.base/foll-fork.c: Likewise.
21165 * gdb.base/foll-vfork.c: Likewise.
21166 * gdb.base/funcargs.c: Likewise.
21167 * gdb.base/gcore.c: Likewise.
21168 * gdb.base/jump.c: Likewise.
21169 * gdb.base/langs0.c: Likewise.
21170 * gdb.base/langs1.c: Likewise.
21171 * gdb.base/langs2.c: Likewise.
21172 * gdb.base/mips_pro.c: Likewise.
21173 * gdb.base/nodebug.c: Likewise.
21174 * gdb.base/opaque0.c: Likewise.
21175 * gdb.base/opaque1.c: Likewise.
21176 * gdb.base/recurse.c: Likewise.
21177 * gdb.base/run.c: Likewise.
21178 * gdb.base/scope0.c: Likewise.
21179 * gdb.base/scope1.c: Likewise.
21180 * gdb.base/setshow.c: Likewise.
21181 * gdb.base/setvar.c: Likewise.
21182 * gdb.base/shmain.c: Likewise.
21183 * gdb.base/shr1.c: Likewise.
21184 * gdb.base/shr2.c: Likewise.
21185 * gdb.base/sigall.c: Likewise.
21186 * gdb.base/signals.c: Likewise.
21187 * gdb.base/so-indr-cl.c: Likewise.
21188 * gdb.base/solib2.c: Likewise.
21189 * gdb.base/structs.c: Likewise.
21190 * gdb.base/sum.c: Likewise.
21191 * gdb.base/vforked-prog.c: Likewise.
21192 * gdb.base/watchpoint.c: Likewise.
21193 * gdb.reverse/shr2.c: Likewise.
21194 * gdb.reverse/until-reverse.c: Likewise.
21195 * gdb.reverse/ur1.c: Likewise.
21196 * gdb.reverse/watch-reverse.c: Likewise.
21197
066a77c5
AA
211982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21199
21200 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21201 variant.
21202 * gdb.base/sepdebug.exp: Drop references to removed code.
21203
4f204ea5
AA
212042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21205
21206 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21207 variant. Preserve original line numbering.
21208 * gdb.base/list1.c: Likewise.
21209
3b377a3a
AA
212102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21211
21212 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21213 variant.
21214 * gdb.base/break1.c: Likewise.
21215 * gdb.base/break.exp: Drop references to removed code.
21216
e444df73
AA
212172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21218
21219 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21220 variant.
21221
8008f2a7
AA
212222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21223
21224 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21225
a5a06887
AA
212262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21227
21228 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21229 logic into perform_all_tests() and invoke it with and without
21230 function header prototypes.
21231 (do_function_calls): Remove conditional XFAIL for PR 5318.
21232 (rerun_and_prepare): Remove duplicate code.
21233 (perform_all_tests): New. Main logic moved here.
21234
44dba9b9
AA
212352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21236
21237 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21238 code guarded by #ifdef NO_PROTOTYPES.
21239 (t_double_many_args): Likewise.
21240 (DEF_FUNC_MANY_ARGS_1): Likewise.
21241 (DEF_FUNC_VALUES_1): Likewise.
21242 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21243 guarded by #ifdef PROTOTYPES.
21244
d1fbcd56
AA
212452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21246
21247 * gdb.mi/mi-console.c: Add eye-catcher.
21248 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21249 instead of literal line number.
21250
b0e59b8f
AA
212512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21252
21253 * gdb.base/shr2.c: Add eye-catcher.
21254 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21255 line number.
21256
78f98cca
AA
212572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21258
21259 * gdb.base/jump.c: Add eye-catchers.
21260 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21261 numbers.
21262
58fa2af0
AA
212632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21264
21265 * gdb.base/execd-prog.c: Add eye-catchers.
21266 * gdb.base/foll-exec.c: Likewise.
21267 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21268 line numbers.
21269
04e5059b
AA
212702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21271
21272 * gdb.base/ending-run.c: Add eye-catchers.
21273 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21274 literal line numbers.
21275
dbfdb174
AA
212762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21277
21278 * gdb.base/call-rt-st.c: Add eye-catchers.
21279 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21280 literal line numbers.
21281
888a2ade
AA
212822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21283
21284 * gdb.base/call-ar-st.c: Add eye-catchers.
21285 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21286 literal line numbers.
21287
6acc2dde
AA
212882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21289
21290 * gdb.base/average.c: Add eye-catchers.
21291 * gdb.base/sum.c: Likewise.
21292 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21293 regexps dynamically.
21294
9ecfcd1d
AA
212952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21296
21297 * gdb.base/solib1.c: Add eye-catchers.
21298 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21299 literal line numbers.
21300
78708b7c
PA
213012014-11-12 Pedro Alves <palves@redhat.com>
21302
21303 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21304 leader has exited.
21305
af48d08f
PA
213062014-11-12 Pedro Alves <palves@redhat.com>
21307
21308 * gdb.arch/i386-bp_permanent.c: New file.
21309 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21310 (srcfile): Set to i386-bp_permanent.c.
21311 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21312 that stepi does not execute the 'leave' instruction, instead of
21313 testing it does execute.
21314 * gdb.base/bp-permanent.c: New file.
21315 * gdb.base/bp-permanent.exp: New file.
21316
af3768e9
DE
213172014-11-10 Doug Evans <xdje42@gmail.com>
21318
21319 PR symtab/17564
21320 * gdb.base/symtab-search-order.exp: New file.
21321 * gdb.base/symtab-search-order.c: New file.
21322 * gdb.base/symtab-search-order-1.c: New file.
21323 * gdb.base/symtab-search-order-shlib-1.c: New file.
21324
9de00a4a
PA
213252014-11-07 Pedro Alves <palves@redhat.com>
21326
21327 PR gdb/17511
21328 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21329 i?86-*-linux*.
21330
e0f52461
SC
213312014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21332
21333 PR c++/17494
21334 * gdb.cp/pr17494.cc: New file.
21335 * gdb.cp/pr17494.exp: New file.
21336
6ce8c980
YQ
213372014-11-02 Yao Qi <yao@codesourcery.com>
21338
21339 * gdb.python/python.exp: Get working directory and match the
21340 output of "set extended-prompt \\w " with it.
21341
02be9a71
DE
213422014-10-30 Doug Evans <dje@google.com>
21343
21344 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21345 in objfiles.
21346 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21347 in progspaces.
21348
3bdff46b
LM
213492014-10-30 Janis Johnson <janisjo@codesourcery.com>
21350
21351 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21352 * gdb.base/realname-expand.exp: Likewise.
21353 * gdb.linespec/macro-relative.exp: Likewise.
21354
ab917dfb
PA
213552014-10-29 Pedro Alves <palves@redhat.com>
21356
21357 PR gdb/17408
21358 * gdb.threads/schedlock.c (some_function): New function.
21359 (call_function): New global.
21360 (MAYBE_CALL_SOME_FUNCTION): New macro.
21361 (thread_function): Call it.
21362 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21363 and use it instead of a global counter. Adjust all callers.
21364 (get_current_thread): Use "find current thread" for test message
21365 here rather than having all callers pass down the same string.
21366 (goto_loop): New procedure, factored out from ...
21367 (my_continue): ... this.
21368 (step_ten_loops): Change parameter from test message to command to
21369 use. Adjust.
21370 (list_count): Delete global.
21371 (check_result): New procedure, factored out from duplicate top
21372 level code.
21373 (continue tests): Wrap in with_test_prefix.
21374 (test_step): New procedure, factored out from duplicate top level
21375 code.
21376 (top level): Test "step" in combination with all scheduler-locking
21377 modes. Test "next" in combination with all scheduler-locking
21378 modes, and in combination with stepping over a function call or
21379 not.
21380 * gdb.threads/next-bp-other-thread.c: New file.
21381 * gdb.threads/next-bp-other-thread.exp: New file.
21382
d3d4baed
PA
213832014-10-29 Pedro Alves <palves@redhat.com>
21384
21385 PR python/17372
21386 * gdb.python/python.exp: Test a multi-line command that spawns
21387 interactive Python.
21388 * gdb.base/multi-line-starts-subshell.exp: New file.
21389
563e8d85
YQ
213902014-10-29 Yao Qi <yao@codesourcery.com>
21391
21392 * gdb.base/fileio.exp: Make directories on host.
21393
0ea4d52e
YQ
213942014-10-29 Yao Qi <yao@codesourcery.com>
21395
21396 * gdb.base/fileio.c (test_write): Close the file.
21397
7f5ef605
PA
213982014-10-28 Pedro Alves <palves@redhat.com>
21399
21400 PR gdb/12623
21401 * gdb.base/sigstep.c (no_handler): New global.
21402 (main): If 'no_handler is true, set the signal handlers to
21403 SIG_IGN.
21404 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21405 with_sw_watch and no_handler parameters. Handle them.
21406 (top level) <stepping over handler when stopped at a breakpoint
21407 test>: Add a test axis for testing with a software watchpoint, and
21408 another for testing with the signal handler set to SIG_IGN.
21409 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21410 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21411
abbdbd03
PA
214122014-10-28 Pedro Alves <palves@redhat.com>
21413
21414 PR gdb/17511
21415 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21416 * gdb.base/sigstep.exp (other_handler_location): New global.
21417 (advance): Support stepping into the signal handler, and running
21418 commands while in the handler.
21419 (in_handler_map): New global.
21420 (top level): In the advance test, add combinations for getting
21421 into the handler with stepping commands, and for running commands
21422 in the handler. Add comment descripting the advancei tests.
21423
1df4399f
PA
214242014-10-28 Pedro Alves <palves@redhat.com>
21425
21426 * gdb.base/sigstep.exp: Use build_executable instead of
21427 prepare_for_testing.
21428 (top level): Move code that starts GDB, runs to main and creates a
21429 display to ...
21430 (restart): ... this new procedure.
21431 (top level): Move backtrace from signal handler test to ...
21432 (validate_backtrace): ... this new procedure.
21433 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21434 with_test_prefix. Always restart GDB.
21435 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21436 with_test_prefix. Always restart GDB. No need to delete
21437 breakpoints after the test.
21438 (test_skip_handler): Remove prefix parameter.
21439 (skip_over_handler, breakpoint_to_handler)
21440 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21441 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21442 restart GDB. No need to delete breakpoints after the test.
21443 (top level): Use foreach to call the test procedures with
21444 different commands.
21445
a5b6e449
PA
214462014-10-28 Pedro Alves <palves@redhat.com>
21447
21448 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21449 instead of GNATS numbers.
21450 * gdb.base/sigbpt.exp: Likewise.
21451 * gdb.base/siginfo.exp: Likewise.
21452 * gdb.base/sigstep.exp: Likewise.
21453
e5f8a7cc
PA
214542014-10-27 Pedro Alves <palves@redhat.com>
21455
21456 * gdb.base/sigstep.c (dummy): New global.
21457 (main): Issue a couple writes to the new global.
21458 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21459 procedures.
21460 (skip_over_handler): Use test_skip_handler.
21461 (top level): Call skip_over_handler for stepi and nexti too.
21462 (breakpoint_over_handler): Use test_skip_handler.
21463 (top level): Call breakpoint_over_handler for stepi and nexti too.
21464
763905a3
YQ
214652014-10-27 Yao Qi <yao@codesourcery.com>
21466
21467 * gdb.trace/tfile.c (adjust_function_address)
21468 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21469 function descriptor.
21470
6f259a23
DB
214712014-10-24 Don Breazeal <donb@codesourcery.com>
21472
21473 * gdb.base/foll-fork.exp (test_follow_fork,
21474 catch_fork_child_follow): Check for updated fork messages emitted
21475 from infrun.c.
21476 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21477 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21478 vfork_and_exec_child_follow_through_step): Check for updated vfork
21479 messages emitted from infrun.c.
21480
09dd9a69
PA
214812014-10-24 Pedro Alves <palves@redhat.com>
21482
21483 * gdb.base/corefile.exp: Remove references to ultrix.
21484 * gdb.base/interrupt.exp: Likewise.
21485 * gdb.base/whatis.exp: Likewise.
21486 * gdb.gdb/selftest.exp: Likewise.
21487 * gdb.threads/manythreads.exp: Likewise.
21488 * gdb.threads/print-threads.exp: Likewise.
21489 * gdb.threads/pthreads.exp:: Likewise.
21490 * gdb.threads/schedlock.exp: Likewise.
21491
3433cfa5
SC
214922014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21493
21494 * gdb.cp/non-trivial-retval.cc: Add a test case.
21495 * gdb.cp/non-trivial-retval.exp: Add a test.
21496
092f880b
YQ
214972014-10-20 Yao Qi <yao@codesourcery.com>
21498
21499 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21500 * gdb.python/py-objfile-script-gdb.py: New file.
21501 * gdb.python/py-objfile-script.exp: Update reference to
21502 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21503 of remote_download. Remove the dest file.
21504
acbdb7f3
YQ
215052014-10-20 Yao Qi <yao@codesourcery.com>
21506
21507 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21508 * gdb.base/step-line.exp: Likewise.
21509 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21510 * gdb.dwarf2/dw2-basic.exp: Likewise.
21511 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21512 * gdb.dwarf2/dw2-filename.exp: Likewise.
21513 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21514 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21515 * gdb.dwarf2/dw2-producer.exp: Likewise.
21516 * gdb.dwarf2/mac-fileno.exp: Likewise.
21517 * gdb.python/py-frame-args.exp: Likewise.
21518 * gdb.python/py-framefilter.exp: Likewise.
21519 * gdb.python/py-mi.exp: Likewise.
21520 * gdb.python/py-objfile-script.exp: Likewise
21521 * gdb.python/py-pp-integral.exp: Likewise.
21522 * gdb.python/py-pp-re-notag.exp: Likewise.
21523 * gdb.python/py-prettyprint.exp: Likewise.
21524 * gdb.python/py-section-script.exp: Likewise.
21525 * gdb.python/py-typeprint.exp: Likewise.
21526 * gdb.python/py-xmethods.exp: Likewise.
21527 * gdb.stabs/weird.exp: Likewise.
21528 * gdb.xml/tdesc-regs.exp: Likewise.
21529
bd286a29
KCY
215302014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21531
21532 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21533 (out_cu): Use addr_len for the size of addresses.
21534 (out_line): Likewise. Size DW_LNE_set_address instruction
21535 according to addr_len.
21536 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21537 (FUNC): Add START_INSNS to definition.
21538
673dc4a0
YQ
215392014-10-18 Yao Qi <yao@codesourcery.com>
21540
21541 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21542 gdb_has_argv0 return true.
21543 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21544 check [target_info exists noargs], check [gdb_has_argv0]
21545 instead.
21546 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21547 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21548 procedures.
21549
4ffbba72
DE
215502014-10-17 Doug Evans <dje@google.com>
21551
21552 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21553 event.
21554 * gdb.python/py-events.py: Add clear_objfiles event.
21555
d096d8c1
DE
215562014-10-17 Doug Evans <dje@google.com>
21557
21558 * gdb.python/py-objfile.exp: Test progspace attribute.
21559
a80db015
LM
215602014-10-17 Luis Machado <lgustavo@codesourcery.com>
21561
21562 * gdb.guile/scm-breakpoint.exp: Do not assume any
21563 directory separators when matching source file paths.
21564 * gdb.python/py-breakpoint.exp: Likewise.
21565 * gdb.reverse/break-precsave.exp: Likewise.
21566 * gdb.reverse/break-reverse.exp: Likewise.
21567 * gdb.reverse/consecutive-precsave.exp: Likewise.
21568 * gdb.reverse/finish-precsave.exp: Likewise.
21569 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21570 * gdb.reverse/finish-reverse.exp: Likewise.
21571 * gdb.reverse/i386-precsave.exp: Likewise.
21572 * gdb.reverse/i387-env-reverse.exp: Likewise.
21573 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21574 * gdb.reverse/machinestate-precsave.exp: Likewise.
21575 * gdb.reverse/machinestate.exp: Likewise.
21576 * gdb.reverse/sigall-precsave.exp: Likewise.
21577 * gdb.reverse/solib-precsave.exp: Likewise.
21578 * gdb.reverse/step-precsave.exp: Likewise.
21579 * gdb.reverse/until-precsave.exp: Likewise.
21580 * gdb.reverse/watch-precsave.exp: Likewise.
21581 * gdb.reverse/watch-reverse.exp: Likewise.
21582
b22089ab
YQ
215832014-10-17 Yao Qi <yao@codesourcery.com>
21584
21585 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21586 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21587
6c4486e6
PA
215882014-10-17 Pedro Alves <palves@redhat.com>
21589
21590 PR gdb/17471
21591 * gdb.base/bg-execution-repeat.c: New file.
21592 * gdb.base/bg-execution-repeat.exp: New file.
21593
0ff33695
PA
215942014-10-17 Pedro Alves <palves@redhat.com>
21595
21596 PR gdb/17300
21597 * gdb.base/continue-all-already-running.c: New file.
21598 * gdb.base/continue-all-already-running.exp: New file.
21599
6fdebc3d
PA
216002014-10-17 Pedro Alves <palves@redhat.com>
21601
21602 PR gdb/17472
21603 * gdb.base/annota-input-while-running.c: New file.
21604 * gdb.base/annota-input-while-running.exp: New file.
21605
32a8097b
PA
216062014-10-17 Pedro Alves <palves@redhat.com>
21607
21608 * gdb.base/callfuncs.exp: emove references to osf.
21609 * gdb.base/sigall.exp: Likewise.
21610 * gdb.gdb/selftest.exp: Likewise.
21611 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21612 * gdb.mi/non-stop.c: Likewise.
21613 * gdb.mi/pthreads.c: Likewise.
21614 * gdb.reverse/sigall-precsave.exp: Likewise.
21615 * gdb.reverse/sigall-reverse.exp: Likewise.
21616 * gdb.threads/pthreads.c: Likewise.
21617 * gdb.threads/pthreads.exp: Likewise.
21618
7a3517ff
YQ
216192014-10-17 Yao Qi <yao@codesourcery.com>
21620
21621 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21622 check 'target_info exists noargs'.
21623 (test_command_prompt_position): Likewise.
21624 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21625 Remove "set args".
21626 (progvar_simple_while_test): Likewise.
21627 (progvar_complex_if_while_test): Likewise.
21628 (if_while_breakpoint_command_test): Likewise.
21629 (infrun_breakpoint_command_test): Likewise.
21630 (breakpoint_command_test): Likewise.
21631 (watchpoint_command_test): Likewise.
21632 (bp_deleted_in_command_test): Likewise.
21633 (temporary_breakpoint_commands): Likewise.
21634
bb99c472
YQ
216352014-10-16 Yao Qi <yao@codesourcery.com>
21636
21637 * gdb.base/remotetimeout.exp: Remove noargs checking.
21638
7c16b83e
PA
216392014-10-15 Pedro Alves <palves@redhat.com>
21640
21641 PR breakpoints/9649
21642 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21643 * gdb.base/breakpoint-in-ro-region.exp
21644 (probe_target_hardware_step): New procedure.
21645 (top level): Probe hardware stepping and hardware breakpoint
21646 support. Test stepping through a read-only region, with both
21647 "breakpoint auto-hw" on and off and both "always-inserted" on and
21648 off.
21649
35a49624
IB
216502014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21651
21652 * gdb.dlang/demangle.exp: Update for demangling changes.
21653
2d1c107c
SC
216542014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21655
21656 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21657 * gdb.cp/non-trivial-retval.exp: Add new tests.
21658
778811d5
SC
216592014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21660
21661 PR c++/13403
21662 PR c++/15154
21663 * gdb.cp/non-trivial-retval.cc: New file.
21664 * gdb.cp/non-trivial-retval.exp: New file.
21665
10c5f0a8
YQ
216662014-10-15 Yao Qi <yao@codesourcery.com>
21667
21668 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21669 remote host.
21670
65d7b369
YQ
216712014-10-15 Yao Qi <yao@codesourcery.com>
21672
21673 * gdb.python/py-symbol.exp: Match file base name if host is
21674 remote, otherwise match file name with dir name.
21675 * gdb.python/py-symtab.exp: Likewise.
21676 * gdb.python/python.exp: Likewise.
21677
46dc1394
YQ
216782014-10-15 Yao Qi <yao@codesourcery.com>
21679
21680 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21681 pattern.
21682 * gdb.python/py-symtab.exp: Likewise.
21683 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21684 locationn.
21685
c40cc657
JB
216862014-10-14 Joel Brobecker <brobecker@adacore.com>
21687
21688 * gdb.ada/addr_arith: New testcase.
21689
2abf49e1
MR
216902014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21691
21692 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21693 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21694 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21695 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21696
f7088df3
SDJ
216972014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21698
21699 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21700 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21701 * gdb.arch/stap-eval-lang-ada.exp: New file.
21702
4dc06805
YQ
217032014-10-14 Yao Qi <yao@codesourcery.com>
21704
21705 * gdb.mi/mi-var-child.c (nothing1): New function.
21706 (nothing2): New function.
21707 (do_children_tests): Set function pointers by nothing1 and
21708 nothing2.
21709 * gdb.mi/mi-var-child.exp: Step over new added statements.
21710 Update test to match the new output.
21711 * gdb.mi/var-cmd.c (nothing1): New function.
21712 (nothing2): New function.
21713 (do_children_tests): Set function pointers by nothing1 and
21714 nothing2.
21715 * gdb.mi/mi-var-display.exp: Update test to match output.
21716 Step to the line specified by $line_dct_nothing.
21717 Increase the number of lines to step.
21718
46a93de2
YQ
217192014-10-14 Yao Qi <yao@codesourcery.com>
21720
21721 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21722 tests.
21723 * gdb.mi/mi2-var-child.exp: Likewise.
21724
14ea52ee
DE
217252014-10-13 Doug Evans <dje@google.com>
21726
21727 * gdb.python/py-objfile.exp: Change name of file name test.
21728
e5c6e92b
DE
217292014-10-13 Doug Evans <dje@google.com>
21730
21731 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21732 from the start of the CU.
21733
c780cc2f
JK
217342014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21735 Yao Qi <yao@codesourcery.com>
21736
21737 Fix "save breakpoints" for "catch" command.
21738 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21739 Remove -nonewline. Match also the added "main" line.
21740
99894e11
JK
217412014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21742
21743 Fix "save breakpoints" for "disable $bpnum" command.
21744 * gdb.base/save-bp.c (main): Add label.
21745 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21746
6e1ac5a3
JK
217472014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21748
21749 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21750
754dd2b0
YQ
217512014-10-11 Yao Qi <yao@codesourcery.com>
21752
21753 * gdb.server/server-kill.exp: Execute command
21754 "set remote trace-status-packet on" before "tstatus".
21755
f90183d7
YQ
217562014-10-11 Yao Qi <yao@codesourcery.com>
21757
21758 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21759 (main): Call getppid.
21760 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21761 and continue to it. Read variable "server_pid".
21762
bf40a607
YQ
217632014-10-11 Yao Qi <yao@codesourcery.com>
21764
21765 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21766
052ca370
YQ
217672014-10-11 Yao Qi <yao@codesourcery.com>
21768
21769 * gdb.threads/thread-find.exp: Don't execute command
21770 "info threads".
21771 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21772 * gdb.threads/linux-dp.exp: Don't check the condition
21773 $threads_created equals to zero.
21774
3831839c
PA
217752014-10-10 Pedro Alves <palves@redhat.com>
21776
21777 * gdb.base/bigcore.exp: Remove references to IRIX.
21778 * gdb.base/funcargs.exp: Likewise.
21779 * gdb.base/interrupt.exp: Likewise.
21780 * gdb.base/mips_pro.exp: Likewise.
21781 * gdb.base/nodebug.exp: Likewise.
21782 * gdb.base/setvar.exp: Likewise.
21783 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21784
8b9a549d
PA
217852014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21786 Pedro Alves <palves@redhat.com>
21787
21788 PR symtab/14466
21789 * gdb.base/vdso-warning.c: New file.
21790 * gdb.base/vdso-warning.exp: New file.
21791
d48ba5e8
DE
217922014-10-02 Doug Evans <dje@google.com>
21793
21794 * gdb.base/structs.c (main): Don't run forever.
21795
2278c276
PA
217962014-10-02 Pedro Alves <palves@redhat.com>
21797
21798 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21799 (top level) <stop threads 1, stop threads 2>: Use it.
21800
b57bacec
PA
218012014-10-02 Pedro Alves <palves@redhat.com>
21802
21803 * gdb.threads/break-while-running.exp (test): Add new
21804 'update_thread_list' argument. Skip "info threads" if false.
21805 (top level): Add new 'update_thread_list' axis.
21806
13fd3ff3
PA
218072014-10-02 Pedro Alves <palves@redhat.com>
21808
21809 PR breakpoints/17431
21810 * gdb.base/execl-update-breakpoints.c: New file.
21811 * gdb.base/execl-update-breakpoints.exp: New file.
21812
0fec99e8
PA
218132014-10-01 Pedro Alves <palves@redhat.com>
21814
21815 * gdb.base/breakpoint-in-ro-region.c: New file.
21816 * gdb.base/breakpoint-in-ro-region.exp: New file.
21817
2ddf4301
SM
218182014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21819
21820 * gdb.mi/mi-exit-code.exp: New file.
21821 * gdb.mi/mi-exit-code.c: New file.
21822
6a5f3f43
YQ
218232014-09-30 Yao Qi <yao@codesourcery.com>
21824
21825 * lib/prelink-support.exp (build_executable_own_libs): Error if
21826 the target isn't native.
21827
345bcc73
YQ
218282014-09-30 Yao Qi <yao@codesourcery.com>
21829
21830 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21831 false.
21832
a25a5a45
PA
218332014-09-22 Pedro Alves <palves@redhat.com>
21834
21835 * gdb.threads/break-while-running.exp: New file.
21836 * gdb.threads/break-while-running.c: New file.
21837
00ba3162
YQ
218382014-09-19 Yao Qi <yao@codesourcery.com>
21839
21840 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21841 Invoke test. Restart GDB with --readnow and invoke test again.
21842
c3b7b696
YQ
218432014-09-19 Yao Qi <yao@codesourcery.com>
21844
21845 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21846 proc set_breakpoint_on_gcd_function. Invoke
21847 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21848 invoke set_breakpoint_on_gcd_function again.
21849
2b4fd423
DE
218502014-09-18 Doug Evans <dje@google.com>
21851
21852 * gdb.dwarf2/symtab-producer.exp: New file.
21853
a5947601
SDJ
218542014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21855
21856 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21857 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21858 * gdb.base/global-var-nested-by-dso.c: Likewise.
21859 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21860
91c19059
SDJ
218612014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21862 Pedro Alves <palves@redhat.com>
21863
21864 * gdb.base/watch-bitfields.exp: Pass string other than test file
21865 name to prepare_for_testing.
21866 (watch): New procedure.
21867 (expect_watchpoint): Use with_test_prefix.
21868 (top level): Factor out tests to ...
21869 (test_watch_location, test_regular_watch): ... these new
21870 procedures, and use with_test_prefix and gdb_continue_to_end.
21871
bb9d5f81
PP
218722014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21873
21874 PR breakpoints/12526
21875 * gdb.base/watch-bitfields.exp: New file.
21876 * gdb.base/watch-bitfields.c: New file.
21877
635856f5
PA
218782014-09-16 Pedro Alves <palves@redhat.com>
21879
21880 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21881 software and hardware addresses, not software address against
21882 itself.
21883
7280ceea
PA
218842014-09-16 Pedro Alves <palves@redhat.com>
21885
21886 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21887 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21888
428b16bd
PA
218892014-09-16 Pedro Alves <palves@redhat.com>
21890
21891 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21892 files.
21893 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21894 "*-*-vxworks*" throughout.
21895 * gdb.base/break.exp: Likewise.
21896 * gdb.base/default.exp: Likewise.
21897 * gdb.base/scope.exp: Likewise.
21898 * gdb.base/sepdebug.exp: Likewise.
21899 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21900 throughout.
21901 * gdb.base/run.c: Likewise.
21902 * gdb.base/sepdebug.c: Likewise.
21903 * gdb.hp/gdb.aCC/run.c: Likewise.
21904 * gdb.reverse/until-reverse.c: Likewise.
21905 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21906
666d413c
YQ
219072014-09-16 Yao Qi <yao@codesourcery.com>
21908
21909 * boards/local-remote-host-native.exp: New file.
21910
57cbd724
DE
219112014-09-14 Doug Evans <xdje42@gmail.com>
21912
21913 * gdb.threads/queue-signal.c (thread_count): New variable.
21914 (thread_count_mutex, thread_count_condvar): New variables.
21915 (incr_thread_count, wait_all_threads_running): New functions.
21916 (main): Wait for all threads to be in their thread functions.
21917
81219e53
DE
219182014-09-13 Doug Evans <xdje42@gmail.com>
21919
21920 * gdb.threads/queue-signal.c: New file.
21921 * gdb.threads/queue-signal.exp: New file.
21922
3714cea7
DE
219232014-09-13 Doug Evans <xdje42@gmail.com>
21924
21925 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21926 be consistent with what default_gdb_init uses.
21927 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21928 the plain text of the prompt. Add some logging printfs.
21929 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21930
fa43b1d7
PA
219312014-09-12 Pedro Alves <palves@redhat.com>
21932
21933 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21934 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21935 * gdb.arch/i386-size-overlap.exp: Likewise.
21936 * gdb.arch/i386-size.exp: Likewise.
21937 * gdb.arch/i386-unwind.exp: Likewise.
21938 * gdb.base/a2-run.exp: Likewise.
21939 * gdb.base/break.exp: Likewise.
21940 * gdb.base/charset.exp: Likewise.
21941 * gdb.base/chng-syms.exp: Likewise.
21942 * gdb.base/commands.exp: Likewise.
21943 * gdb.base/dbx.exp: Likewise.
21944 * gdb.base/find.exp: Likewise.
21945 * gdb.base/funcargs.exp: Likewise.
21946 * gdb.base/jit-simple.exp: Likewise.
21947 * gdb.base/reread.exp: Likewise.
21948 * gdb.base/sepdebug.exp: Likewise.
21949 * gdb.base/step-bt.exp: Likewise.
21950 * gdb.cp/mb-inline.exp: Likewise.
21951 * gdb.cp/mb-templates.exp: Likewise.
21952 * gdb.objc/basicclass.exp: Likewise.
21953 * gdb.threads/killed.exp: Likewise.
21954
9d9bf2df
EBM
219552014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21956
21957 PR tdep/17379
21958 * gdb.arch/powerpc-stackless.S: New file.
21959 * gdb.arch/powerpc-stackless.exp: New file.
21960
1cf2f1b0
JK
219612014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21962
21963 * gdb.base/attach.c: Include unistd.h.
21964 (main): Call alarm. Add label postloop.
21965 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21966 gdb_breakpoint, gdb_continue_to_breakpoint.
21967 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21968
98880d46
PA
219692014-09-11 Pedro Alves <palves@redhat.com>
21970
21971 PR gdb/17347
21972 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21973 * gdb.base/attach.exp (test_command_line_attach_run): New
21974 procedure.
21975 (top level): Call it.
21976
4c92ff2c
PA
219772014-09-11 Pedro Alves <palves@redhat.com>
21978
21979 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21980 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21981 (do_command_attach_tests): Use spawn_wait_for_attach.
21982 * gdb.base/solib-overlap.exp: Likewise.
21983 * gdb.multi/multi-attach.exp: Likewise.
21984 * gdb.python/py-prompt.exp: Likewise.
21985 * gdb.python/py-sync-interp.exp: Likewise.
21986 * gdb.server/ext-attach.exp: Likewise.
21987
3adc1a7d
GKB
219882014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21989
21990 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21991 command in testcase. Simplify testcase.
21992
96334934
JB
219932014-09-10 Joel Brobecker <brobecker@adacore.com>
21994
21995 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21996
eb479039
JB
219972014-09-10 Joel Brobecker <brobecker@adacore.com>
21998
21999 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
22000
deede10c
JB
220012014-09-10 Joel Brobecker <brobecker@adacore.com>
22002
22003 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
22004
7828a5f5
JB
220052014-09-10 Joel Brobecker <brobecker@adacore.com>
22006
22007 * gdb.dwarf2/dynarr-ptr.c: New file.
22008 * gdb.dwarf2/dynarr-ptr.exp: New file.
22009
33aeebcf
MR
220102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22011
22012 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
22013 of 30 rather than hardcoding 120 for a slow test case. Take the
22014 `gdb,timeout' target setting into account for this calculation.
22015 Don't extend the timeout for the test cases that don't need it.
22016
7b415901
MR
220172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22018
22019 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
22020 a factor of 2 for a slow test case. Take the `gdb,timeout'
22021 target setting into account for this calculation.
22022 * gdb.reverse/until-precsave.exp: Increase the timeout by
22023 a factor of 15 and 3 respectively rather than adding 120
22024 for a pair of slow test cases. Take the `gdb,timeout'
22025 target setting into account for this calculation.
22026
4a40f85a
MR
220272014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22028
22029 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
22030 timeout, don't pass one down to gdb_expect.
22031 (gdb_expect): Rework timeout selection.
22032
09635af7
MR
220332014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22034
22035 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
22036 exception on timeout.
22037 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
22038 (gdbserver_start_extended): Catch any `gdbserver_start' error
22039 exceptions.
22040 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
22041 * lib/mi-support.exp (mi_gdb_target_load): Catch any
22042 `gdbserver_gdb_load' error exceptions.
22043
2bdd10b7
MR
220442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22045
22046 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
22047 120 on waiting for the TCP socket to open.
22048
316935f0
DE
220492014-09-09 Doug Evans <xdje42@gmail.com>
22050
22051 * gdb.base/default.exp (show_conv_list): Add _caller_is,
22052 _caller_matches, _any_caller_is, _any_caller_matches.
22053
83740597
DE
220542014-09-09 Doug Evans <xdje42@gmail.com>
22055
22056 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
22057
4c122fc3
YQ
220582014-09-09 Yao Qi <yao@codesourcery.com>
22059
22060 * gdb.mi/mi-var-display.exp: Set print symbol off.
22061
a9f116cb
GKB
220622014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
22063
22064 PR gdb/17035
22065 * gdb.base/commands.exp: Add tests to verify user-defined
22066 commands with empty bodies.
22067 * gdb.python/py-cmd.exp: Test that we don't show user-defined
22068 python commands in `show user command`.
22069 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
22070 scheme commands in `show user command`.
22071
c75bd3a2
JK
220722014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22073
22074 PR python/17355
22075 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
22076 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
22077 * gdb.python/py-framefilter-invalidarg.exp: New file.
22078 * gdb.python/py-framefilter-invalidarg.py: New file.
22079
faa42425
DE
220802014-09-06 Doug Evans <xdje42@gmail.com>
22081
22082 PR 15276
22083 * gdb.python/py-caller-is.c: New file.
22084 * gdb.python/py-caller-is.exp: New file.
22085
474ca4f6
SDJ
220862014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
22087
22088 PR gdb/17235
22089 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
22090 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
22091
eb0b0463
SDJ
220922014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
22093
22094 PR fortran/17237
22095 * gdb.fortran/print-formatted.exp: New file.
22096 * gdb.fortran/print-formatted.f90: Likewise.
22097
5f3b99cf
SS
220982014-09-03 Sasha Smundak <asmundak@google.com>
22099
22100 * gdb.python/py-frame.exp: Test Frame.read_register.
22101
7d793aa9
SDJ
221022014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22103
22104 PR python/16699
22105 * gdb.python/py-completion.exp: New file.
22106 * gdb.python/py-completion.py: Likewise.
22107
fb0576e9
DE
221082014-08-28 Doug Evans <dje@google.com>
22109
22110 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22111 eax,etc. are live with values set by gdb and thus the compiler can't
22112 use them.
22113 * gdb.arch/i386-pseudo.c (main): Ditto.
22114
ee92b0dd
DE
221152014-08-27 Doug Evans <dje@google.com>
22116
22117 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22118
6649db35
DE
221192014-08-25 Doug Evans <dje@google.com>
22120
22121 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22122 (main): Ditto.
22123
564b7600
DE
221242014-08-25 Doug Evans <dje@google.com>
22125
22126 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22127
3881fb67
YQ
221282014-08-24 Yao Qi <yao@codesourcery.com>
22129
22130 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22131 symbol off.
22132 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22133
a05a36a5
DE
221342014-08-22 Doug Evans <dje@google.com>
22135
22136 PR 17276
22137 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22138 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22139 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22140
7c343b48
YQ
221412014-08-22 Yao Qi <yao@codesourcery.com>
22142
22143 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22144 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22145 * gdb.python/python.exp: Likewise. Use .py file on the host
22146 instead of the build.
22147
22fd09ae
JK
221482014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22149
22150 * gdb.threads/gcore-stale-thread.c: New file.
22151 * gdb.threads/gcore-stale-thread.exp: New file.
22152
a8454a7c
PA
221532014-08-21 Pedro Alves <palves@redhat.com>
22154
22155 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22156 * gdb.base/gcore-relro-pie.exp: Likewise.
22157 * gdb.base/gcore-relro.exp: Likewise.
22158 * gdb.base/gcore.exp: Likewise.
22159 * gdb.base/print-symbol-loading.exp: Likewise.
22160 * gdb.threads/gcore-thread.exp: Likewise.
22161 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22162
2a31c623
PA
221632014-08-20 Pedro Alves <palves@redhat.com>
22164 Jan Kratochvil <jan.kratochvil@redhat.com>
22165
22166 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22167 configure.
22168 (EXPECT): Handle READ1 being set.
22169 (all): Depend on EXTRA_RULES.
22170 (check-read1, expect-read1, read1.so, read1): New rules.
22171 * README (Testsuite Parameters): Document the READ1 make variable.
22172 (Race detection): New section.
22173 * configure: Regenerate.
22174 * configure.ac: If build==host==target, and running under a
22175 GNU/glibc system, add read1 to the extra Makefile rules.
22176 (EXTRA_RULES): AC_SUBST it.
22177 * lib/read1.c: New file.
22178
d36430db
JB
221792014-08-20 Joel Brobecker <brobecker@adacore.com>
22180
22181 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22182 the handling of variables declared as a typedef to an array
22183 which a DW_AT_data_location attribute.
22184
9a0dc9e3
PA
221852014-08-19 Andrew Burgess <aburgess@broadcom.com>
22186 Pedro Alves <palves@redhat.com>
22187
22188 PR symtab/14604
22189 PR symtab/14605
22190 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22191 gdb_test.
22192
0718a8da
PA
221932014-08-19 Pedro Alves <palves@redhat.com>
22194
22195 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22196
13b448cd
YQ
221972014-08-19 Yao Qi <yao@codesourcery.com>
22198
22199 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22200 right line.
22201
1cbf5077
DB
222022014-08-18 David Blaikie <dblaikie@gmail.com>
22203
22204 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22205
bf0fae19
JB
222062014-08-18 Joel Brobecker <brobecker@adacore.com>
22207
22208 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22209 attribute in array range.
22210
3c8c5dcc
JB
222112014-08-18 Joel Brobecker <brobecker@adacore.com>
22212
22213 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22214
e66d4446
SC
222152014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22216
22217 PR c++/17132
22218 * gdb.cp/pr17132.cc: New file.
22219 * gdb.cp/pr17132.exp: New file.
22220
940df408
SC
222212014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22222
22223 * gdb.python/py-xmethods.py (A_getarrayind)
22224 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22225 Use 'print' with function call syntax.
22226 (E_method_matcher.match): Fix tab vs space indentation mixup.
22227
ebcc6c3a
YQ
222282014-08-15 Yao Qi <yao@codesourcery.com>
22229
22230 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22231 false.
22232
775e0f04
YQ
222332014-08-15 Yao Qi <yao@codesourcery.com>
22234
22235 * gdb.cp/casts.exp: Set print symbol off.
22236 * gdb.cp/class2.exp: Likewise.
22237 * gdb.cp/overload.exp: Likewise.
22238 * gdb.cp/templates.exp: Likewise.
22239
d769e349
DE
222402014-08-11 Doug Evans <dje@google.com>
22241
22242 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22243 (test_load_shlib): Update.
22244
20c6f1e1
YQ
222452014-08-09 Yao Qi <yao@codesourcery.com>
22246
22247 * gdb.base/display.exp: Invoke is_address_zero_readable.
22248 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22249 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22250 * gdb.base/hbreak-unmapped.exp: Return if
22251 is_address_zero_readable returns true.
22252 * gdb.base/signest.exp: Likewise.
22253 * gdb.base/signull.exp: Likewise.
22254 * gdb.base/sigbpt.exp: Likewise.
22255 * gdb.guile/scm-disasm.exp: Do the test if
22256 is_address_zero_readable returns false.
22257 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22258 * gdb.python/py-arch.exp: Likewise.
22259 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22260 * lib/gdb.exp (is_address_zero_readable): New proc.
22261
5792e8e3
YQ
222622014-08-09 Yao Qi <yao@codesourcery.com>
22263
22264 PR testsuite/13443
22265 * gdb.mi/mi-var-display.exp: Make test messages unique.
22266
3cecbbbe
TT
222672014-08-04 Tom Tromey <tromey@redhat.com>
22268
22269 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22270 target 0".
22271
00b51ff5
TT
222722014-08-04 Tom Tromey <tromey@redhat.com>
22273
22274 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22275 "target_resume".
22276
6908c509
JB
222772014-08-01 Joel Brobecker <brobecker@adacore.com>
22278
22279 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22280 inner_vla_struct_object_size.
22281 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22282 as xfail.
22283
cc6563d2
PA
222842014-07-30 Pedro Alves <palves@redhat.com>
22285
22286 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22287 comment.
22288
7e09a223
YQ
222892014-07-29 Yao Qi <yao@codesourcery.com>
22290
22291 PR gdb/17206
22292 * gdb.base/until-nodebug.exp: New.
22293
7ebdbe92
DE
222942014-07-28 Doug Evans <xdje42@gmail.com>
22295
22296 PR guile/17203
22297 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22298 previously existing parameter, and previously ambiguously spelled
22299 parameter.
22300
fdb1adc6
WN
223012014-07-28 Will Newton <will.newton@linaro.org>
22302
22303 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22304
186fcde0
DE
223052014-07-26 Ludovic Courtès <ludo@gnu.org>
22306 Doug Evans <xdje42@gmail.com>
22307
22308 PR guile/17146
22309 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22310
70509625
PA
223112014-07-25 Pedro Alves <palves@redhat.com>
22312
22313 * gdb.threads/signal-command-handle-nopass.c: New file.
22314 * gdb.threads/signal-command-handle-nopass.exp: New file.
22315 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22316 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22317 * gdb.threads/signal-delivered-right-thread.c: New file.
22318 * gdb.threads/signal-delivered-right-thread.exp: New file.
22319
c3f814a1
PA
223202014-07-25 Pedro Alves <palves@redhat.com>
22321
22322 * gdb.base/double-prompt-target-event-error.exp
22323 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22324 match.
22325 (cancel_pagination_in_target_event): Rework double prompt
22326 detection.
22327 * gdb.base/paginate-after-ctrl-c-running.exp
22328 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22329 <return>' match.
22330 * gdb.base/paginate-bg-execution.exp
22331 (test_bg_execution_pagination_return)
22332 (test_bg_execution_pagination_cancel): Remove '-notransfer
22333 <return>' matches.
22334 * gdb.base/paginate-execution-startup.exp
22335 (test_fg_execution_pagination_return)
22336 (test_fg_execution_pagination_cancel): Remove '-notransfer
22337 <return>' matches.
22338 * gdb.base/paginate-inferior-exit.exp
22339 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22340 match.
22341 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22342 * lib/gdb.exp (pagination_prompt): Run text through
22343 string_to_regexp.
22344 (gdb_test_multiple): Match $pagination_prompt instead of
22345 "<return>".
22346 (string_to_regexp): Move to lib/gdb-utils.exp.
22347
e214cf6c
JK
223482014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22349
22350 * gdb.arch/amd64-entry-value-paramref.S: New file.
22351 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22352 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22353 * gdb.arch/amd64-optimout-repeat.S: New file.
22354 * gdb.arch/amd64-optimout-repeat.c: New file.
22355 * gdb.arch/amd64-optimout-repeat.exp: New file.
22356
17d0c5c8
JK
223572014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22358
22359 PR gdb/17170
22360 * gdb.base/statistics.exp: New file.
22361
b8b8facf
DE
223622014-07-17 Doug Evans <dje@google.com>
22363
74b49205 22364 PR gdb/17170
b8b8facf
DE
22365 * gdb.base/maint.exp: Update testing of per-command stats.
22366
1b5d0ab3
PA
223672014-07-16 Pedro Alves <palves@redhat.com>
22368
22369 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22370 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22371 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22372 (tfile_write_buf): New functions.
22373 (add_memory_block): Rewrite using the above.
22374 (adjust_function_address): New function.
22375 (FUNCTION_ADDRESS): New macro.
22376 (write_basic_trace_file): Remove short_x local, and use
22377 tfile_write_16. Change type of func_addr local to unsigned long
22378 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22379 here. Cast argument of add_memory_block to char pointer.
22380 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22381 (main): Remove parameters.
22382 * gdb.trace/tfile.exp: Remove nowarnings.
22383
4d974e88
SM
223842014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22385
22386 * gdb.base/debug-expr.exp: Test string evaluation with
22387 "debug expression" on.
22388
41e99568
PA
223892014-07-15 Pedro Alves <palves@redhat.com>
22390
22391 * gdb.base/reread.exp: Use clean_restart.
22392
487d9753
PL
223932014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22394
22395 * gdb.arch/avr-flash-qualifer.c: New.
22396 * gdb.arch/avr-flash-qualifer.exp: New.
22397
cc1c52ad
PA
223982014-07-14 Pedro Alves <palves@redhat.com>
22399
22400 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22401 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22402
1e973570
PA
224032014-07-14 Pedro Alves <palves@redhat.com>
22404
22405 * gdb.base/double-prompt-target-event-error.c: New file.
22406 * gdb.base/double-prompt-target-event-error.exp: New file.
22407
93d6eb10
PA
224082014-07-14 Pedro Alves <palves@redhat.com>
22409
22410 PR gdb/17072
22411 * gdb.base/paginate-inferior-exit.c: New file.
22412 * gdb.base/paginate-inferior-exit.exp: New file.
22413
0017922d
PA
224142014-07-14 Pedro Alves <palves@redhat.com>
22415
22416 PR gdb/17072
22417 * gdb.base/paginate-bg-execution.c: New file.
22418 * gdb.base/paginate-bg-execution.exp: New file.
22419
94696ad3
PA
224202014-07-14 Pedro Alves <palves@redhat.com>
22421
22422 PR gdb/17072
22423 * gdb.base/paginate-execution-startup.c: New file.
22424 * gdb.base/paginate-execution-startup.exp: New file.
22425 * lib/gdb.exp (pagination_prompt): New global.
22426 (default_gdb_spawn): New procedure, factored out from
22427 default_gdb_spawn.
22428 (default_gdb_start): Adjust to call default_gdb_spawn.
22429 (gdb_spawn): New procedure.
22430
bd293940
PA
224312014-07-14 Pedro Alves <palves@redhat.com>
22432
22433 * lib/gdb.exp (gdb_assert): New procedure.
22434 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22435
c933f875
PA
224362014-07-14 Pedro Alves <palves@redhat.com>
22437
22438 * gdb.base/execution-termios.c: New file.
22439 * gdb.base/execution-termios.exp: New file.
22440
d98b7a16
TT
224412014-07-14 Tom Tromey <tromey@redhat.com>
22442
22443 * gdb.cp/vla-cxx.cc: New file.
22444 * gdb.cp/vla-cxx.exp: New file.
22445
548740d6
TT
224462014-07-14 Tom Tromey <tromey@redhat.com>
22447
22448 * gdb.reverse/rerun-prec.c: New file.
22449 * gdb.reverse/rerun-prec.exp: New file.
22450
a25eb028
MR
224512014-07-12 Maciej W. Rozycki <macro@mips.com>
22452 Maciej W. Rozycki <macro@codesourcery.com>
22453
22454 * lib/gdb-utils.exp: New file.
22455 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22456 inline `gdb_init_command' processing.
22457 (gdb_start_cmd): Likewise.
22458 * lib/mi-support.exp (mi_run_cmd): Likewise.
22459 * README: Document `gdb_init_command' and `gdb_init_commands'.
22460
218c2655
JK
224612014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22462
22463 Fix false FAIL running under a very long directory name.
22464 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22465 and "set print elements 10000". Twice.
22466
5401fde3
YQ
224672014-07-11 Yao Qi <yao@codesourcery.com>
22468
22469 * gdb.base/exprs.exp: "set print symbol off".
22470
e76126e8
PA
224712014-07-11 Pedro Alves <palves@redhat.com>
22472
22473 * gdb.threads/kill.c: New file.
22474 * gdb.threads/kill.exp: New file.
22475
2d6f0de6
YQ
224762014-07-10 Yao Qi <yao@codesourcery.com>
22477
22478 * gdb.trace/tfile.c (write_basic_trace_file)
22479 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22480 address written to trace file.
22481
7180e04a
PA
224822014-07-09 Pedro Alves <palves@redhat.com>
22483
22484 * gdb.base/attach-wait-input.exp: New file.
22485 * gdb.base/attach-wait-input.c: New file.
22486
9a9a7608
AB
224872014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22488
22489 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22490 setting up test structures.
22491 (main): Call new test function.
22492 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22493 test function, continue into test function and walk test
22494 structures.
22495
161ac41e
YQ
224962014-07-02 Yao Qi <yao@codesourcery.com>
22497
22498 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22499 'bar_start' at the beginning of functions 'foo' and 'bar'
22500 respectively.
22501 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22502 instead of 'foo' and 'bar'.
22503
1f267ae3
MM
225042014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22505
22506 * gdb.btrace/segv.exp: New.
22507 * gdb.btrace/segv.c: New.
22508
2b239efb
LM
225092014-07-02 Luis Machado <lgustavo@codesourcery.com>
22510
22511 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22512 instruction.
22513
cf363f18
MW
225142014-06-30 Mark Wielaard <mjw@redhat.com>
22515
22516 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22517 vulture, vilify, villar): New volatile array constants.
22518 (vindictive, vegetation): New const volatile array constants.
22519 * gdb.base/volatile.exp: Test volatile and const volatile array
22520 types.
22521
aebf9d24
AA
225222014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22523
22524 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22525 target lacks support for awatch, rwatch, or hbreak.
22526
b67a2c6f
YQ
225272014-06-27 Yao Qi <yao@codesourcery.com>
22528
22529 * gdb.multi/dummy-frame-restore.exp: New.
22530 * gdb.multi/dummy-frame-restore.c: New.
22531
aef92902
MM
225322014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22533
22534 * gdb.btrace/gcore.exp: New.
22535
8e9db26e
PA
225362014-06-23 Pedro Alves <palves@redhat.com>
22537
22538 * gdb.base/watchpoint-reuse-slot.c: New file.
22539 * gdb.base/watchpoint-reuse-slot.exp: New file.
22540
70afc5b7
SC
225412014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22542
22543 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22544 progspace's filename in 'info', 'enable' and 'disable' command
22545 tests.
22546
b972bd9c
JK
225472014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22548
22549 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22550 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22551 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22552
125f8a3d
GB
225532014-06-20 Gary Benson <gbenson@redhat.com>
22554
22555 * gdb.arch/i386-avx.exp: Fix include file location.
22556 * gdb.arch/i386-sse.exp: Likewise.
22557
3ed9baed
IB
225582014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22559
22560 * gdb.dlang/expression.exp: New file.
22561
034f788c
PA
225622014-06-19 Pedro Alves <palves@redhat.com>
22563
22564 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22565 out from ...
22566 (top level): ... here. Iterate running tests under different
22567 scheduler-locking settings.
22568
45371d0c
LM
225692014-06-18 Luis Machado <lgustavo@codesourcery.com>
22570
22571 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22572 to DW_FORM_addr and use non-zero addresses.
22573
5d376983
SC
225742014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22575
22576 PR gdb/17017
22577 * gdb.python/py-xmethods.cc: Add global function call counters and
22578 increment them in their respective functions. Remove "cout"
22579 statements.
22580 * gdb.python/py-xmethods.exp: Make tests check the global function
22581 call counters instead of depending on inferior IO.
22582
a1aa2221
LM
225832014-06-18 Don Breazeal <donb@codesourcery.com>
22584
22585 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22586 Deleted procedure.
22587 (explicit_fork_parent_follow): Deleted procedure.
22588 (explicit_fork_child_follow): Deleted procedure.
22589 (test_follow_fork): New procedure.
22590 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22591 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22592 procedure calls.
22593
0fc05997
YQ
225942014-06-17 Yao Qi <yao@codesourcery.com>
22595
22596 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22597 CP1252.
22598
70795c52
LM
225992014-06-17 Luis Machado <lgustavo@codesourcery.com>
22600
22601 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22602 Initialize ptr and S explicitly.
22603 (skip_type_update_when_not_use_rtti_test): Likewise.
22604
6be47f0c
KS
226052014-06-16 Keith Seitz <keiths@redhat.com>
22606
22607 PR mi/15863
22608 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22609 the inferior is started.
22610
d03de421
PA
226112014-06-16 Pedro Alves <palves@redhat.com>
22612
22613 * gdb.base/break-main-file-remove-fail.c: New file.
22614 * gdb.base/break-main-file-remove-fail.exp: New file.
22615 * gdb.base/break-unload-file.exp: Use build_executable instead of
22616 prepare_for_testing.
22617 (test_break): New parameter "initial_load". Handle it.
22618 (top level): Add initial_load cmdline/file axis.
22619
f9579b99
TT
226202014-06-12 Tom Tromey <tromey@redhat.com>
22621
22622 * gdb.base/completion.exp: Don't use directory name in test.
22623
3657956b
GB
226242014-06-09 Gary Benson <gbenson@redhat.com>
22625
22626 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22627 separate the always-available ANSI-standard signals from the
22628 signals that require checking.
22629 (main): Likewise.
22630 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22631 Likewise.
22632 (main): Likewise.
22633
4186eb54
KS
226342014-06-07 Keith Seitz <keiths@redhat.com>
22635
22636 Revert:
22637 PR c++/16253
22638 * gdb.cp/var-tag.cc: New file.
22639 * gdb.cp/var-tag.exp: New file.
22640 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22641 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22642 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22643 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22644
25326a28 226452014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22646
22647 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22648
829155c9
PA
226492014-06-06 Pedro Alves <palves@redhat.com>
22650
22651 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22652 in target debug output instead of looking at RSP packets,
22653 disabling the test on any target that uses hardware stepping.
22654 Update comments.
22655
61c8d22e
PA
226562014-06-06 Pedro Alves <palves@redhat.com>
22657
22658 * gdb.base/break-unload-file.exp: Fix typo.
22659
d9a47287
YQ
226602014-06-06 Yao Qi <yao@codesourcery.com>
22661
22662 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22663 from "jit_function" to "^jit_function".
22664
e5e01dbf
YQ
226652014-06-06 Yao Qi <yao@codesourcery.com>
22666
22667 * gdb.base/async.c (foo): Add one statement.
22668 * gdb.base/async.exp: Get the next instruction address and
22669 match the output of "nexti" by instruction address. Match
22670 the hex address in the output of "finish".
22671
73ba372c
GB
226722014-06-06 Gary Benson <gbenson@redhat.com>
22673
22674 * gdb.base/call-signals.c: Remove preprocessor conditionals
22675 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22676 SIGSEGV and SIGTERM.
22677 * gdb.base/sigall.c: Likewise.
22678 * gdb.base/unwindonsignal.c: Likewise.
22679 * gdb.reverse/sigall-reverse.c: Likewise.
22680
831517df
YQ
226812014-06-06 Yao Qi <yao@codesourcery.com>
22682
22683 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22684 readable, skip the test.
22685
b8b91e98
YQ
226862014-06-06 Yao Qi <yao@codesourcery.com>
22687
22688 * gdb.threads/staticthreads.c (thread_function): Move the line
22689 setting breakpoint on forward.
22690 * gdb.threads/staticthreads.exp: Update comments.
22691
fb934770
LC
226922014-06-05 Ludovic Courtès <ludo@gnu.org>
22693
22694 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22695 "history-append! type error".
22696
6ef284bd
SM
226972014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22698
22699 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22700 erroneous dprintf expected input.
22701
a872e241
DE
227022014-06-04 Doug Evans <xdje42@gmail.com>
22703
22704 * gdb.guile/scm-generics.exp: Delete.
22705
16f691fb
DE
227062014-06-04 Doug Evans <xdje42@gmail.com>
22707
22708 * gdb.guile/scm-breakpoint.exp: Update.
22709 Add tests for breakpoint registration.
22710
012370f6
TT
227112014-06-04 Tom Tromey <tromey@redhat.com>
22712
22713 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22714 VLA-in-union.
22715 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22716 inner_vla_struct, vla_union types. Initialize objects of those
22717 types and compute their sizes.
22718
9f5a4cef
HZ
227192014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22720 Hui Zhu <hui@codesourcery.com>
22721
22722 * gdb.base/fileio.exp: Add test for shell not available as well as
22723 available.
22724 * gdb.base/fileio.c (test_system): Check for shell twice.
22725
90a45c4d
YQ
227262014-06-04 Yao Qi <yao@codesourcery.com>
22727
22728 * gdb.base/auto-connect-native-target.exp: Remove redundant
22729 space from the regexp pattern.
22730
70017e41
YQ
227312014-06-04 Yao Qi <yao@codesourcery.com>
22732
22733 * gdb.base/default.exp: Replace "child" with "native" in
22734 regexp pattern.
22735
883964a7
SC
227362014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22737
22738 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22739 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22740 * gdb.python/py-xmethods.py: Python script supporting the
22741 new testcase and tests.
22742
ef370185
JB
227432014-06-03 Joel Brobecker <brobecker@adacore.com>
22744 Pedro Alves <palves@redhat.com>
22745
22746 PR breakpoints/17000
22747 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22748 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22749
1e2ccb61
BM
227502014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22751
22752 * gdb.base/subst.exp: Add tests to verify partial path matching
22753 output.
22754
c6ec5ab2
PA
227552014-06-03 Pedro Alves <palves@redhat.com>
22756
22757 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22758 target that doesn't use software single-stepping.
22759
835c559f
PA
227602014-06-03 Pedro Alves <palves@redhat.com>
22761
22762 PR breakpoints/17000
22763 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22764 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22765
06eb1586
DE
227662014-06-02 Doug Evans <xdje42@gmail.com>
22767
22768 * gdb.guile/scm-parameter.exp: New file.
22769
e698b8c4
DE
227702014-06-02 Doug Evans <xdje42@gmail.com>
22771
22772 * gdb.guile/scm-cmd.c: New file.
22773 * gdb.guile/scm-cmd.exp: New file.
22774
ded03782
DE
227752014-06-02 Doug Evans <xdje42@gmail.com>
22776
22777 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22778 pretty-printer lookup.
22779 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22780 (make-pp_s-printer): Call it.
22781 (make-pretty-printer-from-dict): New function.
22782 (lookup-pretty-printer-maker-from-dict): New function.
22783 (*pretty-printer*): Simplify.
22784 (make-objfile-pp_s-printer): New function.
22785 (install-objfile-pretty-printers!): New function.
22786 (make-progspace-pp_s-printer): New function.
22787 (install-progspace-pretty-printers!): New function.
22788 * gdb.guile/scm-progspace.c: New file.
22789 * gdb.guile/scm-progspace.exp: New file.
22790
41fac0cf
PA
227912014-06-02 Pedro Alves <palves@redhat.com>
22792
22793 * gdb.base/dprintf-bp-same-addr.c: New file.
22794 * gdb.base/dprintf-bp-same-addr.exp: New file.
22795
96ae5695
EBM
227962014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22797
22798 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22799 * gdb.arch/powerpc-power.s: Likewise.
22800
da02b3a8
JB
228012014-06-02 Joel Brobecker <brobecker@adacore.com>
22802
22803 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22804
c72b2e7b
YQ
228052014-06-01 Yao Qi <yao@codesourcery.com>
22806
22807 * gdb.base/watchpoint.exp (test_watch_location): Check null
22808 pointer can be dereferenced. If not, do the test, otherwise
22809 skip it.
22810
53e8a631
AB
228112014-05-30 Andrew Burgess <aburgess@broadcom.com>
22812
22813 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22814 results.
22815 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22816
938f0e2f
AB
228172014-05-30 Andrew Burgess <aburgess@broadcom.com>
22818
22819 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22820 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22821 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22822 * gdb.arch/amd64-invalid-stack-top.c: New file.
22823 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22824
9ba6657a
PA
228252014-05-30 Pedro Alves <palves@redhat.com>
22826
22827 PR breakpoints/17000
22828 * gdb.base/sss-bp-on-user-bp.c: New file.
22829 * gdb.base/sss-bp-on-user-bp.exp: New file.
22830
522c09bf
DB
228312014-05-30 David Blaikie <dblaikie@gmail.com>
22832
22833 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22834 gnu_inline semantics via attribute.
22835 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22836 source explicitly specifies the required semantics.
22837
bf4ef81e
MR
228382014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22839
22840 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22841
329ea579
PA
228422014-05-29 Pedro Alves <palves@redhat.com>
22843 Tom Tromey <tromey@redhat.com>
22844
22845 * gdb.base/async-shell.exp: Don't enable target-async.
22846 * gdb.base/async.exp
22847 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22848 parameter. Adjust.
22849 (top level): Don't test with "target-async".
22850 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22851 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22852 * gdb.base/inferior-died.exp: Don't enable target-async.
22853 * gdb.base/interrupt-noterm.exp: Likewise.
22854 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22855 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22856 * gdb.mi/mi-nonstop.exp: Likewise.
22857 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22858 * gdb.mi/mi-nsintrall.exp: Likewise.
22859 * gdb.mi/mi-nsmoribund.exp: Likewise.
22860 * gdb.mi/mi-nsthrexec.exp: Likewise.
22861 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22862 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22863 * gdb.python/py-evsignal.exp: Don't enable target-async.
22864 * gdb.python/py-evthreads.exp: Likewise.
22865 * gdb.python/py-prompt.exp: Likewise.
22866 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22867 * gdb.server/solib-list.exp: Don't enable target-async.
22868 * gdb.threads/thread-specific-bp.exp: Likewise.
22869 * lib/mi-support.exp: Adjust to use mi-async.
22870
fd664c91
PA
228712014-05-29 Pedro Alves <palves@redhat.com>
22872
22873 PR gdb/13860
22874 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22875 reason, even in sync mode.
22876
251bde03
PA
228772014-05-29 Pedro Alves <palves@redhat.com>
22878 Hui Zhu <hui@codesourcery.com>
22879
22880 PR PR15693
22881 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22882 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22883 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22884 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22885
7f3c0343
JB
228862014-05-28 Joel Brobecker <brobecker@adacore.com>
22887
22888 * config/monitor.exp (gdb_target_monitor): Replace use of
22889 "set remotebaud" by "set serial baud".
22890
b2715b27
AW
228912014-05-26 Andy Wingo <wingo@igalia.com>
22892
22893 * gdb.guile/scm-breakpoint.exp:
22894 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22895 properties instead of gdb-object-properties.
22896
498a4489
YQ
228972014-05-26 Yao Qi <yao@codesourcery.com>
22898
22899 * gdb.server/no-thread-db.exp: Specify source file name
22900 explicitly when setting a breakpoint.
22901
589fdceb
MM
229022014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22903
22904 * gdb.btrace/vdso.c: New.
22905 * gdb.btrace/vdso.exp: New.
22906
e9089e05
MM
229072014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22908
22909 * gdb.base/gcore.exp (capture_command_output): Move ...
22910 * lib/gdb.exp (capture_command_output): ... here.
22911
67b5c0c1
MM
229122014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22913
22914 * gdb.btrace/data.exp: Test memory access during btrace replay.
22915
a2199296
SM
229162014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22917
22918 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22919
17b2616c
PA
229202014-05-21 Pedro Alves <palves@redhat.com>
22921
22922 PR gdb/13860
22923 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22924 (top level): Test that output related to execution commands is
22925 sent to the console with CLI commands, but not with MI commands.
22926 Test that breakpoint events are always mirrored to the console.
22927 Also expect the new source line to be output after a "next" in
22928 async mode too. Make it a pass/fail test.
22929 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22930 output.
22931 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22932
5166082f
PA
229332014-05-21 Pedro Alves <palves@redhat.com>
22934
22935 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22936 Use them to test variations of "list" after reaching a breakpoint.
22937 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22938 Test "list" with listsize 10 after reaching a breakpoint.
22939 * gdb.python/python.exp (decode_line current location line
22940 number): Adjust expected line number.
22941
2f25d70f
SM
229422014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22943
22944 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22945 behavior for $args, pass it directly to "run".
22946
ff604a67
MR
229472014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22948
22949 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22950 30000 to 65536.
22951
6a3cb8e8
PA
229522014-05-21 Pedro Alves <palves@redhat.com>
22953
22954 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22955 auto-connect-native-target off".
22956 * gdb.base/auto-connect-native-target.c: New file.
22957 * gdb.base/auto-connect-native-target.exp: New file.
22958
4ebfc96e
PA
229592014-05-21 Pedro Alves <palves@redhat.com>
22960
22961 * gdb.base/default.exp: Test "target native" instead of "target
22962 child".
22963
36d46afb
MW
229642014-05-21 Mark Wielaard <mjw@redhat.com>
22965
22966 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22967
5876f503
JK
229682014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22969
22970 Fix TLS access for -static -pthread.
22971 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22972 <HAVE_TLS> (thread_function, main): Initialize it.
22973 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22974 Add clean_restart.
22975 <$have_tls != "">: Check TLSVAR.
22976
0256a6ac
PA
229772014-05-21 Pedro Alves <palves@redhat.com>
22978
22979 * gdb.base/dcache-line-read-error.c: New.
22980 * gdb.base/dcache-line-read-error.exp: New.
22981
936d2992
PA
229822014-05-20 Pedro Alves <palves@redhat.com>
22983
22984 * gdb.base/compare-sections.c: New file.
22985 * gdb.base/compare-sections.exp: New file.
22986
802e8e6d
PA
229872014-05-20 Pedro Alves <palves@redhat.com>
22988
22989 * gdb.base/break-idempotent.c: New file.
22990 * gdb.base/break-idempotent.exp: New file.
22991
e59fa00f
MM
229922014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22993
22994 * gdb.btrace/nohist.exp: New.
22995
8b696e31
YQ
229962014-05-20 Yao Qi <yao@codesourcery.com>
22997
22998 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22999 gdb.reverse directory and gdb_reverse_timeout exists in board
23000 setting.
23001 * README: Document gdb_reverse_timeout.
23002
73c9764f
YQ
230032014-05-20 Yao Qi <yao@codesourcery.com>
23004
23005 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
23006 'test_file_name'. Treat args as a string instead of a list.
23007 (gdb_init): Rename argument 'args' by 'test_file_name'.
23008
f1f4348a
JK
230092014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
23010
23011 * gdb.arch/powerpc-power.exp: New file.
23012 * gdb.arch/powerpc-power.s: New file.
23013
0dbe70ce
DE
230142014-05-16 Doug Evans <dje@google.com>
23015
23016 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
23017 * gdb.base/completion.exp: Check that all expected files exist
23018 before doing file completion.
0dbe70ce 23019
8d551b02
DE
230202014-05-16 Doug Evans <dje@google.com>
23021
23022 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
23023 Update.
23024 (do_syscall_tests_without_xml): Update.
23025
73eb7709
PA
230262014-05-16 Pedro Alves <palves@redhat.com>
23027
23028 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
23029 instead of "unknown output after running".
23030
3fae92fc
YQ
230312014-05-16 Yao Qi <yao@codesourcery.com>
23032
23033 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
23034 file1.txt from host at the end.
23035 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
23036
c2b2ccc5
DE
230372014-05-15 Doug Evans <dje@google.com>
23038
23039 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
23040 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
23041 loading file. Add test for TU lookup.
23042
8c217a4b
SM
230432014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23044
23045 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
23046 calling "-exec-arguments" or "set args" before running the
23047 inferior.
23048
3deb39c6
SM
230492014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23050
23051 * lib/mi-support.exp (mi_expect_stop): Expect message for
23052 inferiors that exit with non-zero exit code.
23053
71a79f8c
YQ
230542014-05-14 Yao Qi <yao@codesourcery.com>
23055
23056 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
23057 match absolute path on remote host.
23058 (test_file_list_exec_source_files): Remove "/" from the
23059 pattern.
23060
f23fcd46
YQ
230612014-05-14 Yao Qi <yao@codesourcery.com>
23062
23063 * boards/local-remote-host-notty.exp (${board}_file): New
23064 proc.
23065
9404b58f
KM
230662014-05-07 Kyle McMartin <kyle@redhat.com>
23067
23068 Pushed by Joel Brobecker <brobecker@adacore.com>.
23069 * gdb.arch/aarch64-atomic-inst.c: New file.
23070 * gdb.arch/aarch64-atomic-inst.exp: New file.
23071
5e45f04c
YQ
230722014-05-07 Yao Qi <yao@codesourcery.com>
23073
23074 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
23075 in current context" too.
23076
c888a17d
KS
230772014-05-05 Keith Seitz <keiths@redhat.com>
23078
23079 * gdb.linespec/ls-dollar.exp: Add test for linespec
23080 file:convenience_variable.
23081
290a839c
YQ
230822014-05-05 Yao Qi <yao@codesourcery.com>
23083
23084 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
23085 traceframes into tfile and ctf trace files. Read data from
23086 trace file and test collected data.
23087 (gdb_collect_locals_test): Likewise.
23088 (gdb_unavailable_registers_test): Likewise.
23089 (gdb_unavailable_floats): Likewise.
23090 (gdb_collect_globals_test): Likewise.
23091 (top-level): Append "ctf" to trace_file_targets if GDB
23092 supports.
23093
b5262cd0
YQ
230942014-05-05 Yao Qi <yao@codesourcery.com>
23095
23096 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23097 code to ...
23098 (gdb_collect_args_test_1): ... it. New proc.
23099 (gdb_collect_locals_test): Move some code to ...
23100 (gdb_collect_locals_test_1): ... it. New proc.
23101 (gdb_unavailable_registers_test): Move some code to ...
23102 (gdb_unavailable_registers_test_1): ... it. New proc.
23103 (gdb_unavailable_floats): Move some code to ...
23104 (gdb_unavailable_floats_1): ... it. New proc.
23105
30a1e6cc
SDJ
231062014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23107
23108 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23109 probes to test for bitness recognition.
23110 * gdb.arch/amd64-stap-optional-prefix.exp
23111 (test_probe_value_without_reg): New procedure.
23112 Add code to test for different kinds of bitness.
23113
f33da99a
SDJ
231142014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23115
23116 PR breakpoints/16889
23117 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23118 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23119
5b80f00d
PA
231202014-05-01 Pedro Alves <palves@redhat.com>
23121
23122 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23123 gdb_file_cmd if no file is specified.
23124 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23125 last_loaded_file to set the remote exec-file.
23126
f8c2a73c
PA
231272014-05-01 Pedro Alves <palves@redhat.com>
23128
23129 * boards/local-remote-host.exp: New file.
23130
be6e8ac7
PA
231312014-05-01 Pedro Alves <palves@redhat.com>
23132
23133 * boards/local-remote-host.exp: Rename to ...
23134 * boards/local-remote-host-notty.exp: ... this.
23135
cac0dc8f
JB
231362014-04-28 Joel Brobecker <brobecker@adacore.com>
23137
23138 * gdb.ada/dyn_arrayidx: New testcase.
23139
9730e6cc
YQ
231402014-04-26 Yao Qi <yao@codesourcery.com>
23141
23142 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23143 and compute the length of function main. Save it in
23144 $main_length.
23145 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23146 (top-level): Use gdb_compile to compile objects into
23147 executable and restart GDB. Remove invocation to
23148 prepare_for_testing.
23149
7ae1a6a6
PA
231502014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23151 Pedro Alves <palves@redhat.com>
23152
23153 PR server/16255
23154 * gdb.multi/multi-attach.c: New file.
23155 * gdb.multi/multi-attach.exp: New file.
23156
4082afcc
PA
231572014-04-25 Pedro Alves <palves@redhat.com>
23158
23159 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23160 user.
23161 (top level): Test that "set remote conditional-breakpoints-packet
23162 off" works as intended.
23163 * gdb.base/dprintf.exp: Test that "set remote
23164 breakpoint-commands-packet off" works as intended.
23165 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23166 New function.
23167 (top level): Call it.
23168 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23169 remote fast-tracepoints-packet off" works as intended.
23170 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23171 * lib/gdb.exp (gdb_is_target_remote): ... here.
23172
2abc3f8d
DB
231732014-04-24 David Blaikie <dblaikie@gmail.com>
23174
23175 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23176 ensure clang would not discard them.
23177 * gdb.base/gdbvars.c: Ditto.
23178 * gdb.base/memattr.c: Ditto.
23179 * gdb.base/whatis.c: Ditto.
23180 * gdb.python/py-prettyprint.c: Ditto.
23181 * gdb.trace/actions.c: Ditto.
23182 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23183 ensure clang would not discard it.
23184
bfd39632
DB
231852014-04-24 David Blaikie <dblaikie@gmail.com>
23186
23187 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23188 clang to emit the full definition of type required by the test
23189 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23190
22842ff6
DB
231912014-04-24 David Blaikie <dblaikie@gmail.com>
23192
23193 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23194 coax Clang into emitting the definition of the type.
23195 * gdb.cp/pr10728-x.h (y): Ditto.
23196 * gdb.cp/pr10728-y.cc (y): Ditto.
23197
c2e827ad
DB
231982014-04-24 David Blaikie <dblaikie@gmail.com>
23199
23200 * gdb.base/label.exp: XFAIL label related tests under Clang.
23201 * gdb.cp/cplabel.exp: Ditto.
23202 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23203 under Clang those using labels.
23204
4c2d33e7
YQ
232052014-04-25 Yao Qi <yao@codesourcery.com>
23206
23207 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23208 double_label.
23209 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23210 partial_label and double_label.
23211
56083b99
DB
232122014-04-24 David Blaikie <dblaikie@gmail.com>
23213
23214 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23215
25d4e99d
DB
232162014-04-24 David Blaikie <dblaikie@gmail.com>
23217
23218 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23219 of the function to work across GCC and Clang.
23220 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23221 pointer types (const void ** const V void **).
23222
01f9f808
MS
232232014-04-24 Michael Sturm <michael.sturm@mintel.com>
23224 Walfred Tedeschi <walfred.tedeschi@intel.com>
23225
23226 * Makefile.in (EXECUTABLES): Added i386-avx512.
23227 * gdb.arch/i386-avx512.c: New file.
23228 * gdb.arch/i386-avx512.exp: Likewise.
23229
4b48d439
KS
232302014-04-23 Keith Seitz <keiths@redhat.com>
23231
23232 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23233 (mi_make_breakpoint_table): New procedure.
23234 (mi_create_breakpoint): Use mi_make_breakpoint
23235 and return the result.
23236 (mi_make_breakpoint): New procedure.
23237 (mi_build_kv_pairs): New procedure.
23238
23239 * gdb.mi/mi-break.exp: Remove unused globals,
23240 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23241 All callers updated.
23242 * gdb.mi/mi-dprintf.exp: Use variable to track command
23243 number.
23244 Update all callers of mi_create_breakpoint and use
23245 mi_make_breakpoint_table.
23246 Remove any unused global variables.
23247 * gdb.mi/mi-nonstop.exp: Likewise.
23248 * gdb.mi/mi-nsintrall.exp: Likewise.
23249 * gdb.mi/mi-nsmoribund.exp: Likewise.
23250 * gdb.mi/mi-nsthrexec.exp: Likewise.
23251 * gdb.mi/mi-reverse.exp: Likewise.
23252 * gdb.mi/mi-simplerun.exp: Likewise.
23253 * gdb.mi/mi-stepn.exp: Likewise.
23254 * gdb.mi/mi-syn-frame.exp: Likewise.
23255 * gdb.mi/mi-until.exp: Likewise.
23256 * gdb.mi/mi-var-cp.exp: Likewise.
23257 * gdb.mi/mi-var-display.exp: Likewise.
23258 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23259 * gdb.mi/mi2-var-child.exp: Likewise.
23260 * gdb.mi/mi-vla-c99.exp: Likewise.
23261 * lib/mi-support.exp: Likewise.
23262
23263 From Ian Lance Taylor <iant@cygnus.com>:
23264 * lib/gdb.exp (parse_args): New procedure.
23265
08351840
PA
232662014-04-23 Pedro Alves <palves@redhat.com>
23267
23268 * gdb.base/break-unload-file.c: New file.
23269 * gdb.base/break-unload-file.exp: New file.
23270 * gdb.base/sym-file-lib.c (baz): New function.
23271 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23272 field.
23273 (load): Store the segment's mapped size.
23274 (unload): New function.
23275 (unload_shlib): New function.
23276 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23277 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23278 set a breakpoint at baz, and call it.
23279 * gdb.base/sym-file.exp: New tests for stale breakpoint
23280 instructions.
23281
076855f9
PA
232822014-04-23 Pedro Alves <palves@redhat.com>
23283
23284 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23285 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23286 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23287 * gdb.base/hbreak-unmapped.c: New file.
23288 * gdb.base/hbreak-unmapped.exp: New file.
23289 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23290 * lib/gdb.exp (gdb_is_target_remote): ... here.
23291
483805cf
PA
232922014-04-22 Pedro Alves <palves@redhat.com>
23293
23294 * gdb.base/consecutive-step-over.c: New file.
23295 * gdb.base/consecutive-step-over.exp: New file.
23296
06d97543
PA
232972014-04-22 Pedro Alves <palves@redhat.com>
23298
23299 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23300 instead of send_gdb/gdb_expect.
23301
b4429ea2
YQ
233022014-04-22 Yao Qi <yao@codesourcery.com>
23303
23304 * lib/trace-support.exp (generate_tracefile): New procedure.
23305 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23306 return 0.
23307 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23308 if generate_tracefile returns 1.
23309
51d48146
PA
233102014-04-18 Tom Tromey <palves@redhat.com>
23311 Pedro alves <tromey@redhat.com>
23312
23313 PR backtrace/15558
23314 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23315 with a backtrace limit.
23316 * gdb.python/py-frame-inline.exp: Test running to an inline
23317 function with a backtrace limit, and printing the newest frame.
23318 * gdb.python/py-frame-inline.c (main): Call f.
23319
bd1dce5f
MS
233202014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23321
23322 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23323
40d1a503
MS
233242014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23325
23326 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23327 Drop prefix from unsupported source file path.
23328
389b98f7
YQ
233292014-04-17 Yao Qi <yao@codesourcery.com>
23330
23331 * lib/gdb.exp (with_target_charset): New proc.
23332 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23333 with_target_charset.
23334 (test_print_strings): Likewise.
23335 (test_repeat_bytes): Likewise.
23336 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23337 for some tests.
23338
22869d73
KS
233392014-04-16 Keith Seitz <keiths@redhat.com>
23340
23341 PR gdb/15827
23342 * gdb.dwarf2/corrupt.c: New file.
23343 * gdb.dwarf2/corrupt.exp: New file.
23344
c4f87ca6
KS
233452014-04-16 Keith Seitz <keiths@redhat.com>
23346
23347 PR c++/16597
23348 * gdb.cp/namelessclass.cc: New file.
23349 * gdb.cp/namelessclass.exp: New file.
23350 * gdb.cp/namelessclass.S: New file.
23351
ab19de87
DE
233522014-04-16 Doug Evans <dje@google.com>
23353
23354 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23355 Add comment.
23356 (gdbserver_default_get_comm_port): New function.
23357 (gdbserver_start): Check if board file provided
23358 "gdbserver,get_comm_port" and use it if so.
23359 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23360 (gdb,socketport): Set to "stdio".
23361 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23362 (stdio_gdbserver_template): Delete.
23363 (${board}_get_remote_address): Update.
23364 (${board}_build_remote_cmd): Delete.
23365 (${board}_get_comm_port): New function.
23366 (${board}_spawn): Update.
23367 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23368 Delete.
23369 (${board}_get_remote_address): Update.
23370 (${board}_get_comm_port): New function.
23371
fc98a809
AB
233722014-04-16 Andrew Burgess <aburgess@broadcom.com>
23373
23374 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23375 appearing in any order.
23376
87fd9e6e
DE
233772014-04-15 Doug Evans <dje@google.com>
23378
23379 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23380 uninitialized value of "description".
23381
099fc3ea
KS
233822014-04-15 Keith Seitz <keiths@redhat.com>
23383
23384 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23385 Remove unused globals.
23386 (test_running_the_program): Likewise.
23387 (test_controlled_execution): Likewise.
23388 (test_controlling_breakpoints): Likewise.
23389 (test_program_termination): Likewise.
23390
5da151d4
KS
233912014-04-15 Keith Seitz <keiths@redhat.com>
23392
23393 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23394 unused globals.
23395 (test_rbreak_creation_and_listing): Likewise.
23396 (test_ignore_count): Likewise.
23397 (test_error): Likewise.
23398
35e5d2f0
PA
233992014-04-15 Pedro Alves <palves@redhat.com>
23400
23401 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23402 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23403 sym-file-loader.c.
23404 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23405 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23406 to sym-file-loader.c.
23407 (struct library): Forward declare.
23408 (load_shlib, lookup_function): Change prototypes.
23409 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23410 (translate_offset): Remove declarations.
23411 (get_text_addr): New declaration.
23412 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23413 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23414 sym-file-loader.h.
23415 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23416 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23417 here from sym-file-loader.h.
23418 (struct library): New structure.
23419 (load_shlib, lookup_function): Change prototypes and adjust to
23420 work with a struct library.
23421 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23422 (translate_offset): Make static.
23423 (get_text_addr): New function.
23424 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23425
eb4c1710
PA
234262014-04-15 Pedro Alves <palves@redhat.com>
23427
23428 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23429
2d1baf52
PA
234302014-04-15 Pedro Alves <palves@redhat.com>
23431
23432 * gdb.base/sym-file-loader.c: Include <limits.h>.
23433 (SELF_LINK): New define.
23434 (get_origin): New function.
23435 (load_shlib): Use it.
23436 * gdb.base/sym-file.exp: Don't early return if the target is
23437 remote. Use runto_main, and issue fail is that fails. Use
23438 gdb_load_shlibs.
23439 (shlib_name): Delete.
23440 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23441
7dd6df01
PA
234422014-04-15 Pedro Alves <palves@redhat.com>
23443
23444 * gdb.base/sym-file.exp: Remove regex characters from test
23445 message. Don't refer to breakpoint numbers in test messages.
23446
b50c8614
KS
234472014-04-14 Keith Seitz <keiths@redhat.com>
23448
23449 PR c++/16253
23450 * gdb.cp/var-tag.cc: New file.
23451 * gdb.cp/var-tag.exp: New file.
23452 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23453 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23454 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23455 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23456
3d567982
TT
234572014-04-14 Tom Tromey <tromey@redhat.com>
23458
23459 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23460 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23461 type.
23462 * gdb.cp/enum-class.exp: New file.
23463 * gdb.cp/enum-class.cc: New file.
23464
0626fc76
TT
234652014-04-14 Tom Tromey <tromey@redhat.com>
23466
23467 * gdb.dwarf2/enum-type.exp: New file.
23468
dca325b3
SA
234692014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23470
23471 * gdb.mi/mi-vla-c99.exp: New file.
23472 * gdb.mi/vla.c: New file.
23473
5854b38a
SA
234742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23475
23476 * gdb.base/vla-datatypes.c: New file.
23477 * gdb.base/vla-datatypes.exp: New file.
23478
463bb957
SA
234792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23480
23481 * gdb.base/vla-ptr.c: New file.
23482 * gdb.base/vla-ptr.exp: New file.
23483
3dd170be
SA
234842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23485
23486 * gdb.dwarf2/count.exp: New file.
23487
5ecaaa66
SA
234882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23489
23490 * gdb.base/vla-sideeffect.c: New file.
23491 * gdb.base/vla-sideeffect.exp: New file.
23492
41f1ada5
DB
234932014-04-14 David Blaikie <dblaikie@gmail.com>
23494
23495 * gdb.mi/non-stop.c: Add return value for non-void function return
23496 statement.
23497 * gdb.threads/staticthreads.c: Ditto.
23498
0be03e84
DE
234992014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23500 Doug Evans <xdje42@gmail.com>
23501
23502 * gdb.guile/scm-value.c: Improve test case.
23503 * gdb.guile/scm-value.exp: Add new test.
23504
f180a1fb
DB
235052014-04-11 David Blaikie <dblaikie@gmail.com>
23506
23507 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23508 override Clang's default.
23509
6b662e19
JB
235102014-04-11 Joel Brobecker <brobecker@adacore.com>
23511
23512 Revert the following changes (regressions):
23513
23514 * gdb.base/vla-sideeffect.c: New file.
23515 * gdb.base/vla-sideeffect.exp: New file.
23516
23517 * gdb.dwarf2/count.exp: New file.
23518
23519 * gdb.base/vla-multi.c: New file.
23520 * gdb.base/vla-multi.exp: New file.
23521
23522 * gdb.base/vla-ptr.c: New file.
23523 * gdb.base/vla-ptr.exp: New file.
23524
23525 * gdb.base/vla-datatypes.c: New file.
23526 * gdb.base/vla-datatypes.exp: New file.
23527
23528 * gdb.mi/mi-vla-c99.exp: New file.
23529 * gdb.mi/vla.c: New file.
23530
245a5f0b
KS
235312014-04-11 Keith Seitz <keiths@redhat.com>
23532
23533 PR c++/16675
23534 * gdb.cp/cpsizeof.exp: New file.
23535 * gdb.cp/cpsizeof.cc: New file.
23536
58a84dcf
SA
235372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23538
191a8a90
JB
23539 * gdb.mi/mi-vla-c99.exp: New file.
23540 * gdb.mi/vla.c: New file.
58a84dcf 23541
c8655f75
SA
235422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23543
23544 * gdb.base/vla-datatypes.c: New file.
23545 * gdb.base/vla-datatypes.exp: New file.
23546
024e13b4
SA
235472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23548
23549 * gdb.base/vla-ptr.c: New file.
23550 * gdb.base/vla-ptr.exp: New file.
23551
1a237e0e
SA
235522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23553
23554 * gdb.base/vla-multi.c: New file.
23555 * gdb.base/vla-multi.exp: New file.
23556
504f3432
SA
235572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23558
23559 * gdb.dwarf2/count.exp: New file.
23560
3bce8237
SA
235612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23562
191a8a90
JB
23563 * gdb.base/vla-sideeffect.c: New file.
23564 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23565
322f9c21
YQ
235662014-04-11 Yao Qi <yao@codesourcery.com>
23567
23568 * gdb.base/completion.exp: Check file exists before running tests
23569 on file completion.
23570
d708bcd1
PA
235712014-04-10 Pedro Alves <palves@redhat.com>
23572
23573 * gdb.base/cond-eval-mode.c: New file.
23574 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23575 prepare_for_testing to build the new file. Check result of
23576 runto_main.
23577 (test_break, test_watch): New procedures.
23578 (top level): Use them.
23579
ae1d2761
PM
235802014-04-08 Pierre Muller <muller@sourceware.org>
23581
23582 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23583 Ctrl-V use for mingw hosts.
23584
7af389b8
SC
235852014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23586
23587 * gdb.python/py-value.c: Improve test case.
23588 * gdb.python/py-value.exp: Add new test.
23589
5e703181
DE
235902014-04-07 David Blaikie <dblaikie@gmail.com>
23591
23592 * lib/compiler.c: Identify the clang compiler.
23593 * lib/compiler.cc: Ditto.
23594
9810b410
YQ
235952014-04-03 Yao Qi <yao@codesourcery.com>
23596
23597 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23598
98d1b8dc
AB
235992014-04-01 Anton Blanchard <anton@samba.org>
23600
23601 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23602 messages unique.
23603
3114cea1
AB
236042014-04-01 Anton Blanchard <anton@samba.org>
23605
23606 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23607 prepare_for_testing.
23608
62f7182c
AB
236092014-04-01 Anton Blanchard <anton@samba.org>
23610
23611 * gdb.arch/ppc64-atomic-inst.c: Remove.
23612 * gdb.arch/ppc64-atomic-inst.S: New file.
23613 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23614
770e7fc7
DE
236152014-03-31 Doug Evans <dje@google.com>
23616
23617 * gdb.base/print-symbol-loading-lib.c: New file.
23618 * gdb.base/print-symbol-loading-main.c: New file.
23619 * gdb.base/print-symbol-loading.exp: New file.
23620
46e2bafa
YQ
236212014-03-31 Yao Qi <yao@codesourcery.com>
23622
23623 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23624
8776cfe9
JB
236252014-03-28 Joel Brobecker <brobecker@adacore.com>
23626
23627 * gdb.ada/mi_dyn_arr: New testcase.
23628
5d1ef361
DE
236292014-03-27 Doug Evans <dje@google.com>
23630
23631 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23632
b5bee914
YQ
236332014-03-27 Yao Qi <yao@codesourcery.com>
23634
23635 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23636 if target is nios2-*-*.
23637
0d4d0e77
YQ
236382014-03-26 Yao Qi <yao@codesourcery.com>
23639
23640 * lib/gdb.exp (readline_is_used): New proc.
23641 * gdb.base/completion.exp: Move tests on command complete up.
23642 Skip the rest of tests if readline is not used.
23643 * gdb.ada/complete.exp: Skp the test if readline is not
23644 used.
23645 * gdb.base/filesym.exp: Likewise.
23646 * gdb.base/macscp.exp: Likewise.
23647 * gdb.base/readline-ask.exp: Likewise.
23648 * gdb.base/readline.exp: Likewise.
23649 * gdb.python/py-cmd.exp: Likewise.
23650 * gdb.trace/tfile.exp: Likewise.
23651
29361eee
YQ
236522014-03-26 Yao Qi <yao@codesourcery.com>
23653
23654 * gdb.base/macscp.exp: Fix code format issues.
23655
bc9a5525
UW
236562014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23657
23658 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23659 * gdb.asm/powerpc64le.inc: New file.
23660
d3839ede
PA
236612014-03-25 Pedro Alves <palves@redhat.com>
23662 Doug Evans <dje@google.com>
23663
23664 * gdb.base/source-execution.c: New file.
23665 * gdb.base/source-execution.exp: New file.
23666 * gdb.base/source-execution.gdb: New file.
23667
01672a57
DE
236682014-03-24 Doug Evans <dje@google.com>
23669
23670 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23671 using fission.
23672
88bbeca9
HZ
236732014-03-24 Hui Zhu <hui@codesourcery.com>
23674 Pedro Alves <palves@redhat.com>
23675
23676 PR breakpoints/16101
23677 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23678 test pass/fail messages. Detect missing support for dprintf when
23679 breakpoints are actually inserted.
23680 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23681 breakpoints are actually inserted.
23682 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23683 fails.
23684
d2348791
JK
236852014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23686
23687 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23688
feef67ab
DE
236892014-03-22 Doug Evans <xdje42@gmail.com>
23690
23691 * gdb.python/python.exp (python not supported): Verify multi-line
23692 python command issues an error.
25d743f9 23693 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23694 guile command issues an error.
feef67ab 23695
ecebef6a
MR
236962014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23697
23698 * gdb.threads/thread-specific.exp: Handle the lack of usable
23699 $this_breakpoint and $this_thread.
23700
ccdd1909
HZ
237012014-03-21 Hui Zhu <hui@codesourcery.com>
23702
23703 * gdb.base/attach.exp (do_command_attach_tests): New.
23704
beb460e8
PA
237052014-03-20 Tom Tromey <tromey@redhat.com>
23706 Pedro Alves <palves@redhat.com>
23707
23708 PR cli/15718
23709 * gdb.base/condbreak-call-false.c: New file.
23710 * gdb.base/condbreak-call-false.exp: New file.
23711
40acf43a
PA
237122014-03-20 Pedro Alves <palves@redhat.com>
23713
23714 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23715 Delete.
23716 (block_signals, unblock_signals): Delete.
23717 (child_function_2, main): Remove references to deleted variable
23718 and functions.
23719
9f5e1e02
PA
237202014-03-20 Pedro Alves <palves@redhat.com>
23721
23722 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23723 Use pthread_kill to signal thread 2.
23724 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23725 Adjust to make the test send itself a signal rather than using the
23726 host's "kill" command.
23727
99619bea
PA
237282014-03-20 Pedro Alves <palves@redhat.com>
23729
23730 * gdb.threads/multiple-step-overs.c: New file.
23731 * gdb.threads/multiple-step-overs.exp: New file.
23732 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23733 Adjust expected infrun debug output.
23734
2adfaa28
PA
237352014-03-20 Pedro Alves <palves@redhat.com>
23736
23737 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23738 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23739
31e77af2
PA
237402014-03-20 Pedro Alves <palves@redhat.com>
23741
23742 PR breakpoints/7143
23743 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23744 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23745 of gdb_test_multiple.
23746 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23747 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23748
b9f437de
PA
237492014-03-20 Pedro Alves <palves@redhat.com>
23750
23751 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23752 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23753
05adc73e
PA
237542014-03-19 Pedro Alves <palves@redhat.com>
23755
23756 * gdb.base/async.exp: Remove early return.
23757
6048b950
PA
237582014-03-19 Pedro Alves <palves@redhat.com>
23759
23760 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23761
8bcfb00a
PA
237622014-03-19 Pedro Alves <palves@redhat.com>
23763
23764 * gdb.base/async.exp (test_background): Expect \r\n after
23765 "completed." in the fail pattern.
23766
884e37dc
PA
237672014-03-19 Pedro Alves <palves@redhat.com>
23768
23769 * gdb.base/async.exp (test_background): New procedure.
23770 Use it for all background execution command tests.
23771
148e57e2
PA
237722014-03-19 Pedro Alves <palves@redhat.com>
23773
23774 * gdb.base/async.exp: Use prepare_for_testing.
23775
f48088c7
PA
237762014-03-19 Pedro Alves <palves@redhat.com>
23777
23778 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23779 the same line.
23780
e2f6c966
PA
237812014-03-19 Pedro Alves <palves@redhat.com>
23782
23783 * gdb.base/async.c (main): Add "jump here" and "until here" line
23784 marker comments.
23785 * gdb.base/async.exp (jump_here): New global.
23786 (jump& test): Use it.
23787 (until_here): New global.
23788 (until& test): Use it.
23789
c30568d4
PA
237902014-03-19 Pedro Alves <palves@redhat.com>
23791
23792 * gdb.base/async.exp: Don't frob gdb_protocol.
23793
0172b6a7
DE
237942014-03-18 Doug Evans <xdje42@gmail.com>
23795
23796 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23797 Fix spelling of exec-done-display.
23798
06c868a8
JK
237992014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23800
23801 PR gdb/15358
23802 * gdb.base/gdb-sigterm.c: New file.
23803 * gdb.base/gdb-sigterm.exp: New file.
23804
0c7e1a46
PA
238052014-03-18 Pedro Alves <palves@redhat.com>
23806
23807 PR gdb/13860
23808 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23809 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23810 solib-event.
23811
f7c77d93
JB
238122014-03-17 Joel Brobecker <brobecker@adacore.com>
23813
23814 * gdb.ada/pckd_arr_ren: New testcase.
23815
5a1e8c7a
DE
238162014-03-13 Doug Evans <xdje42@gmail.com>
23817
23818 PR guile/16612
23819 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23820 collect after discarding symbols.
23821
350e1a76
DE
238222014-03-13 Ludovic Courtès <ludo@gnu.org>
23823 Doug Evans <xdje42@gmail.com>
23824
23825 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23826 to history survives a gc.
23827
a69900ae
PA
238282014-03-13 Pedro Alves <palves@redhat.com>
23829
23830 * gdb.base/default.exp: Don't test "target procfs".
23831
5db9f0bd
PA
238322014-03-13 Pedro Alves <palves@redhat.com>
23833
23834 * gdb.base/default.exp: Update "target child" and "target procfs"
23835 tests to not expect "Unix".
23836
b3ccfe11
TT
238372014-03-12 Tom Tromey <tromey@redhat.com>
23838
23839 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23840 New procs. Add target-async tests.
23841 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23842 Add target-async tests.
23843
646f4417
AA
238442014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23845
23846 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23847 'func_start' and 'func_end' for the beginning and end of the
23848 function code, respectively.
23849 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23850 'func_end' instead of 'func' and 'main'.
23851
288c211f
AA
238522014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23853
23854 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23855 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23856 generate the debug info assembler source.
23857
e0c0f156
AA
238582014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23859
23860 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23861 * gdb.dwarf2/arr-subrange.exp: Likewise.
23862 * gdb.dwarf2/dwz.exp: Likewise.
23863 * gdb.dwarf2/method-ptr.exp: Likewise.
23864 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23865 * gdb.dwarf2/subrange.exp: Likewise.
23866 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23867 * gdb.dwarf2/implptrpiece.exp: Likewise.
23868 * gdb.dwarf2/nostaticblock.exp: Likewise.
23869
0e5c4555
AA
238702014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23871
23872 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23873 directory to absolute path name arguments.
23874
5ec18f2b
JG
238752014-03-10 Joel Brobecker <brobecker@adacore.com>
23876
23877 * gdb.ada/tagged_access: New testcase.
23878
847fc4f2
MM
238792014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23880
23881 * gdb.btrace/data.exp: Update expected output.
23882
cc3da688
YQ
238832014-03-06 Yao Qi <yao@codesourcery.com>
23884
23885 * gdb.trace/pr16508.exp: New file.
23886
0f26cec1
PA
238872014-03-05 Pedro Alves <palves@redhat.com>
23888
23889 PR gdb/16575
23890 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23891 procedure.
23892 (top level): Adjust to use it. Add tests that exercise breakpoint
23893 interaction with the code-cache.
23894
7a5a839f
LC
238952014-02-26 Ludovic Courtès <ludo@gnu.org>
23896
23897 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23898 test for 'history-append!'.
23899
31aa7e4e
JB
239002014-02-26 Joel Brobecker <brobecker@adacore.com>
23901
23902 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23903 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23904 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23905 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23906 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23907 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23908
1b588015
JB
239092014-02-26 Joel Brobecker <brobecker@adacore.com>
23910
23911 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23912 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23913 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23914
55426c9d
JB
239152014-02-26 Joel Brobecker <brobecker@adacore.com>
23916
23917 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23918
dc53a7ad
JB
239192014-02-26 Joel Brobecker <brobecker@adacore.com>
23920
23921 * gdb.dwarf2/arr-stride.c: New file.
23922 * gdb.dwarf2/arr-stride.exp: New file.
23923
12ab52e9
PA
239242014-02-26 Pedro Alves <palves@redhat.com>
23925
23926 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23927 that won't ever trigger. Make sure that GDB reports the correct
23928 breakpoint that caused the stop.
23929
849c862e
JK
239302014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23931
23932 PR gdb/16626
23933 * gdb.base/auto-load-script: New file.
23934 * gdb.base/auto-load.c: New file.
23935 * gdb.base/auto-load.exp: New file.
23936
71b7d793
JK
23937 PR gdb/16626
23938 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23939
e2f0d509
JK
239402014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23941
23942 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23943 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23944
50cc37c8
DE
239452014-02-24 Doug Evans <dje@google.com>
23946
23947 * lib/gdb.exp (run_on_host): Log error output if program fails.
23948
ea4758f2
PA
239492014-02-21 Pedro Alves <palves@redhat.com>
23950
23951 * gdb.threads/step-after-sr-lock.c: Rename to ...
23952 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23953 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23954 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23955 ... this.
23956
d7b30f67
SDJ
239572014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23958
23959 PR tdep/16397
23960 * gdb.arch/amd64-stap-special-operands.exp: New file.
23961 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23962 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23963 * gdb.arch/amd64-stap-triplet.S: Likewise.
23964 * gdb.arch/amd64-stap-triplet.c: Likewise.
23965
83deb43f
JB
239662014-02-20 Joel Brobecker <brobecker@adacore.com>
23967
23968 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23969 in .section pseudo-op.
23970
adde2bff
DE
239712014-02-20 lin zuojian <manjian2006@gmail.com>
23972 Joel Brobecker <brobecker@adacore.com>
23973 Doug Evans <xdje42@gmail.com>
23974
23975 PR symtab/16581
23976 * gdb.dwarf2/dw2-icycle.S: New file.
23977 * gdb.dwarf2/dw2-icycle.c: New file.
23978 * gdb.dwarf2/dw2-icycle.exp: New file.
23979
f7bd0f78
SC
239802014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23981
23982 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23983 operations on gdb.Value objects.
23984 * gdb.python/py-value-cc.exp: Add new test to test operations on
23985 gdb.Value objects.
23986
c17ef0d5
DE
239872014-02-18 Doug Evans <dje@google.com>
23988
23989 * Makefile.in (TESTS): New variable.
23990 (expanded_tests, expanded_tests_or_none): New variables
23991 (check-single): Pass $(expanded_tests_or_none) to runtest.
23992 (check-parallel): Only run tests in $(TESTS) if non-empty.
23993 (check/no-matching-tests-found): New rule.
23994 * README: Document TESTS makefile variable.
23995
5dd3176f
DE
239962014-02-18 Doug Evans <dje@google.com>
23997
23998 * Makefile.in (check-parallel): rm -rf outputs temp.
23999
0b10be4f
JK
240002014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24001
24002 Fix "ERROR: no fileid for" in the testsuite.
24003 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
24004
85f224e7
DE
240052014-02-12 Doug Evans <dje@google.com>
24006
24007 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
24008 (MISCELLANEOUS): New variable.
24009 (clean): rm -rf $(MISCELLANEOUS).
24010 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
24011 dwp live in the same directory as symlinks, with each symlink pointed
24012 to a differently named file in a different directory.
24013
149b30ff
DE
240142014-02-11 Doug Evans <dje@google.com>
24015
24016 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
24017 of Tcl file commands.
24018
1dfdac32
MK
240192014-02-10 Mark Kettenis <kettenis@gnu.org>
24020
24021 * gdb.threads/step-after-sr-lock.exp: Avoid executing
24022 "kill -SIGUSR1 -1".
24023
aa4fb036
JB
240242014-02-10 Joel Brobecker <brobecker@adacore.com>
24025
24026 * gdb.ada/tick_length_array_enum_idx: New testcase.
24027
ed3ef339
DE
240282014-02-10 Doug Evans <xdje42@gmail.com>
24029
24030 * configure.ac (AC_OUTPUT): Add gdb.guile.
24031 * configure: Regenerate.
24032 * lib/gdb-guile.exp: New file.
24033 * lib/gdb.exp (get_target_charset): New function.
24034 * gdb.base/help.exp: Update expected output from "apropos apropos".
24035 * gdb.guile/Makefile.in: New file.
24036 * gdb.guile/guile.exp: New file.
24037 * gdb.guile/scm-arch.c: New file.
24038 * gdb.guile/scm-arch.exp: New file.
24039 * gdb.guile/scm-block.c: New file.
24040 * gdb.guile/scm-block.exp: New file.
24041 * gdb.guile/scm-breakpoint.c: New file.
24042 * gdb.guile/scm-breakpoint.exp: New file.
24043 * gdb.guile/scm-disasm.c: New file.
24044 * gdb.guile/scm-disasm.exp: New file.
24045 * gdb.guile/scm-equal.c: New file.
24046 * gdb.guile/scm-equal.exp: New file.
24047 * gdb.guile/scm-error.exp: New file.
24048 * gdb.guile/scm-error.scm: New file.
24049 * gdb.guile/scm-frame-args.c: New file.
24050 * gdb.guile/scm-frame-args.exp: New file.
24051 * gdb.guile/scm-frame-args.scm: New file.
24052 * gdb.guile/scm-frame-inline.c: New file.
24053 * gdb.guile/scm-frame-inline.exp: New file.
24054 * gdb.guile/scm-frame.c: New file.
24055 * gdb.guile/scm-frame.exp: New file.
24056 * gdb.guile/scm-generics.exp: New file.
24057 * gdb.guile/scm-gsmob.exp: New file.
24058 * gdb.guile/scm-iterator.c: New file.
24059 * gdb.guile/scm-iterator.exp: New file.
24060 * gdb.guile/scm-math.c: New file.
24061 * gdb.guile/scm-math.exp: New file.
24062 * gdb.guile/scm-objfile-script-gdb.in: New file.
24063 * gdb.guile/scm-objfile-script.c: New file.
24064 * gdb.guile/scm-objfile-script.exp: New file.
24065 * gdb.guile/scm-objfile.c: New file.
24066 * gdb.guile/scm-objfile.exp: New file.
24067 * gdb.guile/scm-ports.exp: New file.
24068 * gdb.guile/scm-pretty-print.c: New file.
24069 * gdb.guile/scm-pretty-print.exp: New file.
24070 * gdb.guile/scm-pretty-print.scm: New file.
24071 * gdb.guile/scm-section-script.c: New file.
24072 * gdb.guile/scm-section-script.exp: New file.
24073 * gdb.guile/scm-section-script.scm: New file.
24074 * gdb.guile/scm-symbol.c: New file.
24075 * gdb.guile/scm-symbol.exp: New file.
24076 * gdb.guile/scm-symtab-2.c: New file.
24077 * gdb.guile/scm-symtab.c: New file.
24078 * gdb.guile/scm-symtab.exp: New file.
24079 * gdb.guile/scm-type.c: New file.
24080 * gdb.guile/scm-type.exp: New file.
24081 * gdb.guile/scm-value-cc.cc: New file.
24082 * gdb.guile/scm-value-cc.exp: New file.
24083 * gdb.guile/scm-value.c: New file.
24084 * gdb.guile/scm-value.exp: New file.
24085 * gdb.guile/source2.scm: New file.
24086 * gdb.guile/types-module.cc: New file.
24087 * gdb.guile/types-module.exp: New file.
24088
7026a7c1
YQ
240892014-02-10 Yao Qi <yao@codesourcery.com>
24090
24091 PR testsuite/16543
24092 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
24093 * configure: Regenerated.
24094 * Makefile.in: New file.
24095
6c466447
AS
240962014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24097
24098 * gdb.python/py-framefilter.exp: Fix typo.
24099
6e854735
YQ
241002014-02-08 Yao Qi <yao@codesourcery.com>
24101
24102 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24103 that no =breakpoint-modified is emitted when breakpoints are
24104 modified through MI commands.
24105
d137e6dc
PA
241062014-02-07 Pedro Alves <pedro@codesourcery.com>
24107 Pedro Alves <palves@redhat.com>
24108
24109 * gdb.threads/step-after-sr-lock.c: New file.
24110 * gdb.threads/step-after-sr-lock.exp: New file.
24111
b5ee5a50
PA
241122014-02-07 Pedro Alves <palves@redhat.com>
24113
24114 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24115
3c77faf3
JK
241162014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24117
24118 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24119 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24120
6dddc817
DE
241212014-02-06 Doug Evans <xdje42@gmail.com>
24122
24123 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24124 output.
24125
24126 * gdb.gdb/python-interrupts.exp: New file.
24127
de7b2893
YQ
241282014-02-05 Yao Qi <yao@codesourcery.com>
24129
24130 * gdb.trace/report.exp (use_collected_data): Test the output
24131 of "info threads" and "info inferiors".
24132
66d032ac
YQ
241332014-02-05 Yao Qi <yao@codesourcery.com>
24134
24135 Revert this patch:
24136
24137 2013-05-24 Yao Qi <yao@codesourcery.com>
24138
24139 * gdb.trace/tfile.exp: Test inferior and thread.
24140
591a12a1
UW
241412014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24142
24143 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24144 on a function.
24145 * gdb.base/step-bt.c: Call hello via function pointer to make
24146 sure its first instruction is executed on powerpc64le-linux.
24147
0ff3e01f
UW
241482014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24149
24150 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24151
084ee545
UW
241522014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24153
24154 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24155 of the test patterns for use on little-endian systems.
24156
6ed14ff3
UW
241572014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24158
24159 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24160 (decimal_vector): Fix for little-endian.
24161
401e27fd
JM
241622014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24163
24164 * gdb.arch/sparc-sysstep.exp: New file.
24165 * gdb.arch/sparc-sysstep.c: Likewise.
24166
24167 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24168
8b924729
EBM
241692014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24170
24171 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24172
fb151210
JB
241732014-01-23 Tom Tromey <tromey@redhat.com>
24174
24175 * gdb.ada/array_char_idx: New testcase.
24176
0740f8d8
TT
241772014-01-23 Tom Tromey <tromey@redhat.com>
24178
24179 PR python/16487:
24180 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24181 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24182 classes.
24183
21909fa1
TT
241842014-01-23 Tom Tromey <tromey@redhat.com>
24185
24186 PR python/16491:
24187 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24188 string from an inferior frame.
24189 * gdb.python/py-framefilter-mi.exp: Update.
24190
87ce2a04
DE
241912014-01-22 Doug Evans <dje@google.com>
24192
24193 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24194
237b092b
AA
241952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24196
24197 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24198
d674a709
AA
241992014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24200
24201 * gdb.trace/entry-values.exp: Remove excess space character from
24202 regex patterns. Handle s390 call instruction.
24203
20fa3390
AA
242042014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24205
24206 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24207 define "*_start" label. Make "name" static.
24208 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24209 ${name} by references to ${name}_start.
24210
78466714
AA
242112014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24212
24213 * gdb.base/info-macros.exp: Remove "debug" from the compile
24214 options.
24215
ec9f644a
IB
242162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24217
24218 * gdb.dlang/demangle.exp: New file.
24219
94b1b47e
IB
242202014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24221
24222 * gdb.dlang/primitive-types.exp: New file.
24223
7f420862
IB
242242014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24225
24226 * configure.ac: Create gdb.dlang/Makefile.
24227 * configure: Regenerate.
24228 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24229 * gdb.dlang/Makefile.in: New file.
24230 * lib/d-support.exp: New file.
24231 * lib/gdb.exp (skip_d_tests): New proc.
24232
52834460
MM
242332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24234
24235 * gdb.btrace/delta.exp: Check reverse stepi.
24236 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24237 * gdb.btrace/finish.exp: New.
24238 * gdb.btrace/next.exp: New.
24239 * gdb.btrace/nexti.exp: New.
24240 * gdb.btrace/record_goto.c: Add comments.
24241 * gdb.btrace/step.exp: New.
24242 * gdb.btrace/stepi.exp: New.
24243 * gdb.btrace/multi-thread-step.c: New.
24244 * gdb.btrace/multi-thread-step.exp: New.
24245 * gdb.btrace/rn-dl-bind.c: New.
24246 * gdb.btrace/rn-dl-bind.exp: New.
24247 * gdb.btrace/data.c: New.
24248 * gdb.btrace/data.exp: New.
24249 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24250
6e07b1d2
MM
242512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24252
24253 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24254 * gdb.btrace/exception.exp: Update.
24255 * gdb.btrace/instruction_history.exp: Update.
24256 * gdb.btrace/record_goto.exp: Update.
24257 * gdb.btrace/tailcall.exp: Update.
24258 * gdb.btrace/unknown_functions.exp: Update.
24259 * gdb.btrace/delta.exp: New.
24260
0b722aec
MM
242612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24262
24263 * gdb.btrace/record_goto.exp: Add backtrace test.
24264 * gdb.btrace/tailcall.exp: Add backtrace test.
24265
066ce621
MM
242662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24267
24268 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24269 * gdb.btrace/record_goto.c: New.
24270 * gdb.btrace/record_goto.exp: New.
24271 * gdb.btrace/x86-record_goto.S: New.
24272
0688d04e
MM
242732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24274
24275 * gdb.btrace/function_call_history.exp: Update tests.
24276 * gdb.btrace/instruction_history.exp: Update tests.
24277
8710b709
MM
242782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24279
24280 * gdb.btrace/function_call_history.exp: Fix expected field
24281 order for "record function-call-history".
24282 Add new tests for "record function-call-history /c".
24283 * gdb.btrace/exception.cc: New.
24284 * gdb.btrace/exception.exp: New.
24285 * gdb.btrace/tailcall.exp: New.
24286 * gdb.btrace/x86-tailcall.S: New.
24287 * gdb.btrace/x86-tailcall.c: New.
24288 * gdb.btrace/unknown_functions.c: New.
24289 * gdb.btrace/unknown_functions.exp: New.
24290 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24291
5de9129b
MM
242922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24293
24294 * gdb.btrace/instruction_history.exp: Update.
24295 * gdb.btrace/function_call_history.exp: Update.
24296
23a7fe75
MM
242972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24298
24299 * gdb.btrace/function_call_history.exp: Fix expected function
24300 trace.
24301 * gdb.btrace/instruction_history.exp: Initialize traced.
24302 Remove traced_functions.
24303
724c7dd8
MM
243042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24305
24306 * gdb.btrace/function_call_history.exp: Update
24307 * gdb.btrace/instruction_history.exp: Update.
24308
6d78d93b
MM
243092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24310
24311 * gdb.btrace/enable.exp: Update expected text.
24312
93a360cc
OJ
243132014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24314
24315 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24316 bytes.
24317
3772b53f
MR
243182014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24319
24320 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24321
596662fa
OJ
243222014-01-15 Omair Javaid <omair.javaid@linaro.org>
24323
24324 * lib/gdb.exp (supports_process_record): Return true for
24325 arm*-linux*. (supports_reverse): Likewise.
24326
b5b08fb4
SC
243272014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24328
24329 PR python/15464
24330 PR python/16113
24331 * gdb.python/py-type.c: Enhance test case.
24332 * gdb.python/py-value-cc.cc: Likewise
24333 * gdb.python/py-type.exp: Add new tests.
24334 * gdb.python/py-value-cc.exp: Likewise
24335
52d7fb13
AA
243362014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24337 Pedro Alves <palves@redhat.com>
24338
24339 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24340 Make "name" extern.
24341 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24342 references to ${name}_start by references to ${name}.
24343
a2cd8cfe
JB
243442014-01-10 Joel Brobecker <brobecker@adacore.com>
24345
24346 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24347
4e23fced
JB
243482014-01-10 Joel Brobecker <brobecker@adacore.com>
24349
24350 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24351
c6a9e42c
PA
243522014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24353 Pedro Alves <palves@redhat.com>
24354
24355 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 24356 mi_gdb_target_load.
c6a9e42c 24357
b7ea362b
PA
243582014-01-08 Pedro Alves <palves@redhat.com>
24359
24360 * gdb.threads/reconnect-signal.c: New file.
24361 * gdb.threads/reconnect-signal.exp: New file.
24362
5e3f4fab
EBM
243632014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24364
24365 * gdb.base/source-dir.exp: New file.
24366
79301218
JB
243672014-01-07 Joel Brobecker <brobecker@adacore.com>
24368
24369 * gdb.ada/mi_interface: New testcase.
24370
8e355c5d
JB
243712014-01-07 Joel Brobecker <brobecker@adacore.com>
24372
24373 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24374 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24375 gdb.ada/pp-rec-component/pck.ads: New files.
24376
c0d48811
JB
243772014-01-07 Joel Brobecker <brobecker@adacore.com>
24378
24379 * gdb.python/py-pp-integral.c: New file.
24380 * gdb.python/py-pp-integral.py: New file.
24381 * gdb.python/py-pp-integral.exp: New file.
24382
17b609c3 24383For older changes see ChangeLog-1993-2013.
c906108c 24384\f
8d8cb839
EZ
24385;; Local Variables:
24386;; mode: change-log
24387;; left-margin: 8
24388;; fill-column: 74
24389;; version-control: never
24390;; End:
902f2ccb 24391
3666a048 24392 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
24393 Copying and distribution of this file, with or without modification,
24394 are permitted provided the copyright notice and this notice are preserved.