]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/testsuite: escape '*' character in pattern used by flang
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8a222a6b
AB
12021-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * lib/fortran.exp (fortran_int8): Escape '*' in pattern.
4
2adf1781
TT
52021-06-01 Tom Tromey <tromey@adacore.com>
6
7 * Makefile.in (all): Don't print anything.
8 ($(abs_builddir)/site.exp site.exp): Use $(ECHO_GEN).
9 (expect-read1): Likewise.
10 (read1.so): Use $(ECHO_CC).
11 Include silent-rules.mk.
12
f99d1d37
TT
132021-06-01 Tom Tromey <tromey@adacore.com>
14
15 * aclocal.m4, configure.ac, configure: Remove.
16 * Makefile.in (EXTRA_RULES): Remove.
17 ($(abs_builddir)/site.exp site.exp): Don't depend on
18 config.status.
19 (distclean maintainer-clean realclean, Makefile): Update.
20 (config.status): Remove target.
21 (lib/pdtrace): New target.
22 (all): Don't depend on EXTRA_RULES.
23 (check-read1): Depend on read1.so, expect-read1.
24
17d305ef
TV
252021-06-01 Tom de Vries <tdevries@suse.de>
26
27 PR symtab/26096
28 * gdb.cp/cold-clone.cc: New test.
29 * gdb.cp/cold-clone.exp: New file.
30
b97eff8f
AB
312021-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
32
33 * gdb.gdb/unittest.c: New file.
34 * gdb.gdb/unittest.exp: Run with and without a binary file loaded
35 into GDB.
36
b4b3e2de
AB
372021-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
38
39 * gdb.base/premature-dummy-frame-removal.c: New file.
40 * gdb.base/premature-dummy-frame-removal.exp: New file.
41 * gdb.base/premature-dummy-frame-removal.py: New file.
42
d5a6313e
SM
432021-05-27 Simon Marchi <simon.marchi@polymtl.ca>
44
45 * gdb.base/reverse-init-functions.exp: New.
46
248f7165
TV
472021-05-27 Tom de Vries <tdevries@suse.de>
48
49 PR symtab/27919
50 PR testsuite/27920
51 * gdb.dwarf2/dw2-dummy-cu.exp: Use maint expand-symtabs instead of
52 -readnow.
53
e453275c
TV
542021-05-27 Tom de Vries <tdevries@suse.de>
55
56 PR testsuite/27921
57 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Rename to ...
58 (local_add_gdb_index): ... this.
59
778ae9cc
TV
602021-05-21 Tom de Vries <tdevries@suse.de>
61
62 PR testsuite/25047
63 * boards/cc-with-gnu-debuglink.exp: New file.
64
ca43e660
TBA
652021-05-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
66
67 * gdb.dwarf2/dw2-inline-with-lexical-scope.c (func): Replace
68 a dead code with an assignment to a global var. Fix a
69 whitespacing problem around an assignment operator.
70
7f2b8718
WS
712021-05-19 Will Schmidt <will_schmidt@vnet.ibm.com>
72
73 * gdb.arch/powerpc64-prologue.c: New test to exercise prologues
74 for the powerpc64 LE target.
75 * gdb.arch/powerpc-prologue.exp: Test Harness.
76
d9211df2
AB
772021-05-19 Andrew Burgess <andrew.burgess@embecosm.com>
78
79 * gdb.guile/scm-pretty-print.exp: Add test names to resolve
80 duplicate test names.
81
2129a942
TV
822021-05-19 Tom de Vries <tdevries@suse.de>
83
84 * gdb.base/info-types.exp.tcl: Scan info types output line-by-line.
85
5277208d
SM
862021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
87
88 * gdb.python/py-framefilter-gdb.py.in: Rename to:
89 * gdb.python/py-framefilter-gdb.py: ... this.
90 * gdb.python/py-framefilter-invalidarg-gdb.py.in: Rename to:
91 * gdb.python/py-framefilter-invalidarg-gdb.py: ... this.
92
91e159e9
SM
932021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
94
95 * gdb.python/py-framefilter-gdb.py.in: Re-format.
96 * gdb.python/py-framefilter-invalidarg-gdb.py.in: Re-format.
97
467f8eb2
BK
982021-05-17 Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>
99
100 * gdb.base/class-allocatable-array.exp: Modified test for clang.
101
ea11a98d
WP
1022021-05-16 Weimin Pan <weimin.pan@oracle.com>
103
104 * gdb.ctf/funcreturn.exp: New file.
105 * gdb.ctf/whatis.c: Copy from gdb.base.
106
887e7158
TT
1072021-05-14 Tom Tromey <tom@tromey.com>
108
109 * gdb.rust/pp.exp: New file.
110 * gdb.rust/pp.py: New file.
111 * gdb.rust/pp.rs: New file.
112
f8eec398
BE
1132021-05-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
114
115 * gdb.base/index-cache.exp: Cleanup $cache_dir/*.gdb-index and
116 remove the directory.
117 * gdb.dwarf2/per-bfd-sharing.exp: Likewise.
118
55789354
TBA
1192021-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
120
121 * gdb.python/py-inferior.exp: Add test cases for 'connection_num'.
122
ecf25064
KC
1232021-05-14 Kent Cheung <kent.cheung@arm.com>
124 Andrew Burgess <andrew.burgess@embecosm.com>
125
126 * gdb.python/py-format-string.c: Added a variable to test.
127 * gdb.python/py-format-string.exp: Check string representation is
128 printed at appropriate max_depth settings.
129 * gdb.python/py-nested-maps.exp: Likewise.
130 * gdb.guile/scm-pretty-print.exp: Add additional tests.
131
bab9eb49 1322021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
4a0a0bd2
AB
133
134 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Give some tests
135 unique names, also wrap proc body in with_test_prefix.
136
bab9eb49 1372021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
62f2f198
AB
138
139 * gdb.guile/scm-frame-args.exp: Add with_test_prefix to resolve
140 duplicate test names.
141 * gdb.guile/scm-parameter.exp: Provide test names to avoid
142 duplicate names based on the command being run.
143 * gdb.guile/scm-symbol.exp: Extend test name to make it unique.
144 * gdb.guile/scm-type.exp (restart_gdb): Don't print PASS line when
145 loading a support module.
146 (test_equality): Update test name to match the actual test, making
147 the name unique in the process.
148 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test names
149 to resolve duplicate tests.
150 (test_inferior_function_call): Likewise.
151 (test_subscript_regression): Likewise.
152
bab9eb49 1532021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
5c6f801d
AB
154
155 * lib/guile.exp (gdb_scm_load_file): Use empty test name to
156 silence PASS lines.
157 (gdb_install_guile_module): Likewise.
158
ee35ce82
GB
1592021-05-12 George Barrett <bob@bob131.so>
160
161 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
162 value-const-value.
163
9d4fc61d
GB
1642021-05-12 George Barrett <bob@bob131.so>
165
166 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
167 value-reference-value. Add test for value-rvalue-reference-value.
168
5048549a
TV
1692021-05-11 Tom de Vries <tdevries@suse.de>
170
171 * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs.
172 Add "set debug infrun 1" commented out.
173
2302f963
TV
1742021-05-11 Tom de Vries <tdevries@suse.de>
175
176 * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp.
177
abb894a4
BK
1782021-05-11 Bhuvanendra Kumar <Bhuvanendra.KumarN@amd.com>
179
180 * gdb.fortran/array-element.exp: Breakpoint location is modified.
181
db1f6cd6
LS
1822021-05-10 Lancelot Six <lsix@lancelotsix.com>
183
184 PR gdb/27614
185 * gdb.dwarf2/gdb-add-index-symlink.exp: New test.
186
9344937b
AB
1872021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
188
189 * gdb.guile/guile.exp: Don't use the source directory as a
190 temporary HOME directory.
191
0709cf68
SM
1922021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
193
194 * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
195 parameters.
196
1845e254
AB
1972021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
198
199 * gdb.guile/guile.exp: Add an extra test.
200
a3237c7c
AB
2012021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * gdb.base/ptype-offsets.exp: Replace use of send_gdb with
204 gdb_test_no_output.
205
13123da8
SM
2062021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
207
208 * Re-format all Python files using black.
209 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust.
210
0618ecf6
AB
2112021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
212
213 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the
214 watchpoint object before and after registering it with GDB.
215
a7ed4ea6
AB
2162021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
217
218 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to
219 'proc_with_prefix', remove use of 'with_test_prefix', and
220 reindent.
221 (test_bkpt_deletion): Likewise.
222 (test_bkpt_cond_and_cmds): Likewise.
223 (test_bkpt_invisible): Likewise.
224 (test_watchpoints): Likewise.
225 (test_bkpt_internal): Likewise.
226 (test_bkpt_eval_funcs): Likewise.
227 (test_bkpt_registration): Likewise.
228 (test_bkpt_address): Convert to 'proc_with_prefix'.
229 (test_bkpt_probe): Likewise.
230
7ebbaa1c
AB
2312021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
232
233 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test
234 names to avoid duplicates.
235 (test_bkpt_cond_and_cmds): Likewise.
236 (test_bkpt_eval_funcs): Likewise.
237
79aabb73
TBA
2382021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
239
240 * gdb.mi/mi-break.exp (test_forced_conditions): Add a test
241 for the -break-condition command's "--force" flag.
242
10e578d7
TBA
2432021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
244
245 * gdb.mi/mi-break.exp (test_forced_conditions): New proc that
246 is called by the test.
247
2f000c80
TV
2482021-05-05 Tom de Vries <tdevries@suse.de>
249
250 * gdb.threads/detach-step-over.exp: Do exp_continue when encountering
251 "Reading symbols" or "Expanding full symbols" lines. Using timeout
252 factor of 2 for attach.
253
09f83f79
TV
2542021-05-05 Tom de Vries <tdevries@suse.de>
255
256 * gdb.threads/fork-plus-threads.exp: Handle "New LWP <n>" and
257 "LWP <n> exited" messages.
258
fa94b3a7
SM
2592021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
260
261 * gdb.python/py-type.exp (test_fields): Test calling fields on
262 an int type.
263
858c8f2c
SM
2642021-05-04 Simon Marchi <simon.marchi@efficios.com>
265
266 * gdb.python/flexible-array-member.exp: Adjust expected range
267 value for member declared with 0 size. Test accessing range
268 tuple through range type.
269
d389a1a7
AB
2702021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
271
272 PR testsuite/27788
273 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
274 expected results when environment variable PYTHONDONTWRITEBYTECODE
275 is set.
276
2869ac4b
TT
2772021-04-30 Tom Tromey <tromey@adacore.com>
278
279 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
280 (Confused_Array): New types.
281 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
282 * gdb.ada/enum_idx_packed.exp: Add new tests.
283
5536f0cc
TV
2842021-04-30 Tom de Vries <tdevries@suse.de>
285
286 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
287 existing timeout factors.
288
7f7f284d
TV
2892021-04-30 Tom de Vries <tdevries@suse.de>
290
291 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
292
3f334074
TV
2932021-04-29 Tom de Vries <tdevries@suse.de>
294
295 PR testsuite/27786
296 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
297 remotetimeout to 4.
298
db2534b7
TT
2992021-04-28 Tom Tromey <tromey@adacore.com>
300
301 * gdb.ada/null_overload.exp: New file.
302 * gdb.ada/null_overload/foo.adb: New file.
303
edeaceda
AB
3042021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
305
306 * gdb.python/py-startup-opt.exp: New file.
307
b9f90c72
LM
3082021-04-27 Luis Machado <luis.machado@linaro.org>
309
310 * gdb.base/maint.exp: Drop a pattern that is not needed.
311 * lib/gdb.exp (readnow): Match line-by-line.
312
4b62a30d
LM
3132021-04-27 Luis Machado <luis.machado@linaro.org>
314
315 * gdb.xml/tdesc-reload.exp: Pass -lbl.
316
2c473def
MW
3172021-04-27 Michael Weghorn <m.weghorn@posteo.de>
318 Simon Marchi <simon.marchi@polymtl.ca>
319
320 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
321 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
322 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
323 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
324 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
325 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
326
e8b6c1da
TT
3272021-04-26 Tom Tromey <tromey@adacore.com>
328
329 PR gdb/27743:
330 * gdb.dwarf2/imported-unit-bp.exp: New file.
331 * gdb.dwarf2/imported-unit-bp-main.c: New file.
332 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
333
bea3329b
SM
3342021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
335
336 PR gdb/27773
337 * gdb.base/dump.exp: Test dump to non-existent dir.
338
21f91785
LM
3392021-04-26 Luis Machado <luis.machado@linaro.org>
340
341 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
342 comparison.
343
fbb46296
LS
3442021-04-25 Lancelot Six <lsix@lancelotsix.com>
345
346 PR gdb/22640
347 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
348 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
349 changes the default behavior of 'ptype/o'. Update to take into
350 account new horizontal layout.
351 * gdb.rust/simple.exp: Update ptype test to check new horizontal
352 layout.
353 * gdb.rust/union.exp: Same.
354
9fc29955
AB
3552021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
356
357 * gdb.base/info_sources.exp: Add new tests.
358
432ce4cf
TT
3592021-04-22 Tom Tromey <tom@tromey.com>
360
361 * gdb.base/ptype-offsets.cc (struct empty_member): New.
362 (main): Use empty_member.
363 * gdb.base/ptype-offsets.exp: Add new test.
364
a87caa6d
SM
3652021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
366
367 * gdb.python/flexible-array-member.exp: Add check for Python
368 support.
369
e25d6d93
SM
3702021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
371
372 PR gdb/27757
373 * gdb.python/flexible-array-member.c: New test.
374 * gdb.python/flexible-array-member.exp: New test.
375 * gdb.guile/scm-type.exp (test_range): Add test for flexible
376 array member.
377 * gdb.guile/scm-type.c (struct flex_member): New.
378 (main): Use it.
379
22f80c0f
TT
3802021-04-22 Tom Tromey <tom@tromey.com>
381
382 * gdb.rust/modules.exp: Add checks for syntax errors.
383 * gdb.rust/expr.exp: Add checks for syntax errors.
384 * gdb.rust/simple.exp: Add checks for syntax errors.
385
6d5702a5
CL
3862021-04-21 Carl Love <cel@us.ibm.com>
387
388 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
389 Update expected string for gdb_test "bt".
390
391 * lib/valgrind.exp: Add set remotetimeout 3.
392 Increase vgdb wait from 1 to 2.
393 Add max-invoke-ms option to vgdb command line.
394
10a636cc
TBA
3952021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
396
397 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
398 conditions.
399
98e713ab
SM
4002021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
401 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
402
403 * gdb.mi/mi-break.exp: Fix the duplicate test names.
404
525174e8
FW
4052021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
406
407 * gdb.base/address_space_qualifier.exp: New file.
408
392e0bcc
TT
4092021-04-19 Tom Tromey <tromey@adacore.com>
410
411 PR gdb/27742:
412 * gdb.opt/inline-locals.exp: Update kfail patterns.
413
da314dd3
TT
4142021-04-17 Tom Tromey <tom@tromey.com>
415
416 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
417
3cbc7ac3
TT
4182021-04-16 Tom Tromey <tom@tromey.com>
419
420 * gdb.rust/simple.exp: Change error text.
421 * gdb.rust/expr.exp: Change error text.
422
458620aa
TT
4232021-04-16 Tom Tromey <tom@tromey.com>
424
425 * gdb.rust/simple.exp: Add parens to 'as' test.
426
321d0cd7
SM
4272021-04-16 Simon Marchi <simon.marchi@efficios.com>
428
429 * boards/simavr.exp: Set debug_flags.
430
1b6b755e
LM
4312021-04-16 Luis Machado <luis.machado@linaro.org>
432
433 * gdb.dwarf2/dw2-bfloat16.exp: New file.
434
fd5c30cd
AB
4352021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
436
437 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
438 including a path in the test name.
439
41f14dc8
SM
4402021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
441
442 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
443
a15a276b
TT
4442021-04-15 Tom Tromey <tromey@adacore.com>
445
446 * gdb.dwarf2/arr-stride.exp: Add test.
447
5809fbf2
TT
4482021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
449
450 * gdb.base/startup-file.exp: Add more tests.
451
92e4e97a
AB
4522021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
453
454 PR cli/25956
455 * gdb.base/early-init-file.c: New file.
456 * gdb.base/early-init-file.exp: New file.
457 * lib/gdb-utils.exp (style): Handle style 'none'.
458
fcc99c42
TBA
4592021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
460
461 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
462 @DW_INL_declared_inlined for the inline attribute.
463
34dc0f95
TBA
4642021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
465
466 * gdb.opt/inline-locals.c (scoped): New function.
467 (main): Call 'scoped'.
468 * gdb.opt/inline-locals.exp: Update with "info locals" tests
469 for scoped variables.
470 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
471 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
472
ac4d323e
TBA
4732021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
474
475 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
476
6b142048
WS
4772021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
478
479 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
480
82d9b280 4812021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
c8a37944
WS
482
483 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
484 non-relative plxv instructions.
485 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
486
4872021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
82d9b280 488
e3d528d7
WS
489 PR gdb/27525
490 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
491 exercise single-stepping over subpcis,lnia,addpcis instructions
492 with displacement.
493 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
494 of addpcis/lnia/subpcis instructions.
495 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
496 exercise single-stepping over lnia instructions with displacement.
497 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
498 lnia instructions.
499
5002021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
501
82d9b280
WS
502 * gdb.arch/powerpc-power10.s: New test for instructions.
503 * gdb.arch/powerpc-power10.exp: Harness to run the test.
504
6ba4cb84
CL
5052021-4-12 Carl Love <cel@us.ibm.com>
506
507 * gdb.arch/vsx-vsr-float128.c: New test file.
508 * gdb.arch/vsx-vsr-float128.exp: New expect file.
509
9d8f3022
MM
5102021-04-12 Markus Metzger <markus.t.metzger@intel.com>
511
512 * gdb.btrace/reconnect.exp: Relax expected stepi output.
513
dc2b480f
WP
5142021-04-07 Weimin Pan <weimin.pan@oracle.com>
515
516 * gdb.base/ctf-ptype.c: Add struct link containing a forward
517 reference type.
518 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
519
0a703a4c
AB
5202021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
521
522 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
523 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
524
30ab3586
AB
5252021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
526
527 * gdb.cp/rvalue-ref-params.cc (f3): New function.
528 (f4): New function.
529 (global_int): New global variable.
530 (global_float): Likeiwse.
531 (main): Call both new functions.
532 * gdb.cp/rvalue-ref-params.exp: Add new tests.
533
56d467f4
CT
5342021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
535
536 * gdb.dwarf2/fission-relative-dwo.c: New file.
537 * gdb.dwarf2/fission-relative-dwo.exp: New file.
538
61dee722
AB
5392021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
540
541 * gdb.dwarf2/fission-absolute-dwo.c: New file.
542 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
543 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
544 instead of build_executable_from_fission_assembler.
545 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
546 * gdb.dwarf2/fission-loclists.exp: Likewise.
547
548 * gdb.dwarf2/fission-multi-cu.S: Delete file.
549 * gdb.dwarf2/fission-multi-cu.c: New file based on old
550 fission-multi-cu1.c and fission-multi-cu2.c files.
551 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
552 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
553 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
554 * gdb.dwarf2/fission-reread.exp: Likewise.
555 * lib/dwarf.exp (extract_dwo_information): New proc.
556 (strip_dwo_information): New proc.
557 (build_executable_and_dwo_files): New proc.
558 (build_executable_from_fission_assembler): Delete.
559 (Dwarf::_debug_addr_index): New variable.
560 (Dwarf::_cu_is_fission): New variable.
561 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
562 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
563 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
564 if this is a fission CU.
565 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
566 (Dwarf::debug_addr_label): New proc.
567 (Dwarf::cu): Initialise _cu_is_fission.
568 (Dwarf::tu): Likewise.
569 (Dwarf::assemble): Initialise _debug_addr_index.
570
1fd999d9
AB
5712021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
572
573 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
574
79c02443
AB
5752021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
576
577 * gdb.python/py-parameter.exp: Add test for reading data-directory
578 using gdb.parameter API.
579
340d00fb
TV
5802021-04-06 Tom de Vries <tdevries@suse.de>
581
582 PR breakpoints/25884
583 * gdb.opt/inline-cmds.exp: Remove kfail.
584
043bcbaf
TV
5852021-04-06 Tom de Vries <tdevries@suse.de>
586
587 PR testsuite/27691
588 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
589 file "".
590
ac628a06
EB
5912021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
592
593 * lib/pdtrace.in: Fix obvious typo.
594
3f49d080
TT
5952021-03-31 Tom Tromey <tromey@adacore.com>
596
597 * lib/dwarf.exp (Dwarf::_get_args): New proc.
598 (Dwarf::_location): Use it.
599
cfcbd506
TV
6002021-03-31 Tom de Vries <tdevries@suse.de>
601
602 PR testsuite/27667
603 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
604
8a91fbdf
SM
6052021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
606
607 PR gdb/27541
608 * gdb.base/index-cache-load-twice.exp: Remove.
609 * gdb.base/index-cache-load-twice.c: Remove.
610 * gdb.dwarf2/per-bfd-sharing.exp: New.
611 * gdb.dwarf2/per-bfd-sharing.c: New.
612
b953e703
TV
6132021-03-30 Tom de Vries <tdevries@suse.de>
614
615 PR testsuite/27604
616 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
617
aa33ea68
TBA
6182021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
619
620 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
621 the infinite loop to avoid a Clang bug.
622
99066782
WS
6232021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
624
625 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
626 names for uniqueness.
627 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
628 uniqueness.
629
b1f3973b
AB
6302021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
631
632 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
633 member.
634 (make_container): Initialise is_array_p.
635 * gdb.python/py-prettyprint.exp: Add new tests.
636 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
637 Check is_array_p and possibly return 'array'.
638
3c2dcf90
AB
6392021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
640
641 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
642 * gdb.cp/casts.exp: Give tests unique names.
643 * gdb.cp/filename.exp: Likewise.
644 * gdb.cp/gdb2495.exp: Likewise.
645 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
646 * gdb.cp/misc.exp: Rename test to make it unique.
647 * gdb.cp/nsnested.exp: Give tests unique names.
648 * gdb.cp/ovldbreak.exp: Likewise.
649 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
650 being tested. This also removes the duplicate test name.
651 * gdb.cp/ref-types.exp: Likewise.
652 * gdb.cp/temargs.exp: Likewise.
653
6b78370d
AB
6542021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
655
656 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
657 square brackets in test.
658
baecbb3d
AB
6592021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
660
661 * gdb.cp/maint.exp (test_first_component): Run more tests with a
662 variable number of spaces, this removes the duplicate testing of
663 'operator ->' which existed before.
664
6e892297
AB
6652021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
668 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
669 duplicates, and also to avoid having a string inside parentheses
670 at the end of test names.
671
ac45a6ca
AB
6722021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
673
674 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
675 Avoid repeated uses of 'runto', and instread just progress once
676 through the test stopping at different breakpoints. Give comments
677 a capital letter and full stop. Give duplicate tests unique names.
678
323fd5b9
PA
6792021-03-25 Pedro Alves <pedro@palves.net>
680
681 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
682 "target_non_stop" parameter and use it.
683 (top level): Add "maint set target-non-stop on/off" testing axis.
684
ba3c61fc
AB
6852021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
686
687 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
688 gdb_test_multiple.
689
bf0aecce
LM
6902021-03-24 Luis Machado <luis.machado@linaro.org>
691
692 * gdb.arch/aarch64-mte.c: New file.
693 * gdb.arch/aarch64-mte.exp: New test.
694 * gdb.base/memtag.c: New file.
695 * gdb.base/memtag.exp: New test.
696 * lib/gdb.exp (supports_memtag): New function.
697
bef382e6
LM
6982021-03-24 Luis Machado <luis.machado@linaro.org>
699
700 * gdb.base/options.exp: Adjust for new print options.
701 * gdb.base/with.exp: Likewise.
702
702cf3f5
AB
7032021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
704
705 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
706 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
707
1e7fcccb
AB
7082021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
709
710 * gdb.dwarf2/dw2-using-debug-str.c: New file.
711 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
712 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
713 not .debug_string.
714
4829711b
TT
7152021-03-20 Tom Tromey <tom@tromey.com>
716
717 * gdb.base/maint.exp: Update "maint print statistics" output.
718
e0d6d274
KB
7192021-03-19 Kevin Buettner <kevinb@redhat.com>
720
721 * lib/gdbserver-support.exp (gdbserver_exit): Use the
722 "-nowait" flag when waiting for gdbserver to exit.
723
a088215a
SST
7242021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
725
726 * gdb.base/info-macros.exp: Append -fdebug-macro to
727 additional_flags for clang.
728 * gdb.base/macscp.exp: Likewise.
729 * gdb.base/style.exp: Likewise.
730 * gdb.linespec/macro-relative.exp: Likewise.
731
d0c99a23
SM
7322021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
733 Pedro Alves <pedro@palves.net>
734
735 * gdb.base/run-attach-while-running.exp: New.
736 * gdb.base/run-attach-while-running.c: New.
737
7807d76a
AB
7382021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
739
740 * gdb.python/py-framefilter-addr.c: New file.
741 * gdb.python/py-framefilter-addr.exp: New file.
742 * gdb.python/py-framefilter-addr.py: New file.
743
f302f9e2
AB
7442021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
745
746 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
747 Make use of $gdb_test_name instead of creating a separate $test
748 variable.
749 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
750 adding a '($name)' at the end of each test. This also catches the
751 one place where '($name)' was missing, and so caused a duplicate
752 test name.
753 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
754 duplicate test names based on the command being tested.
755 * gdb.threads/signal-command-multiple-signals-pending.exp:
756 Likewise.
757 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
758 avoid duplicate testnames when a test script uses this proc and
759 also gdb_compile_pthreads.
760 * lib/prelink-support.exp (build_executable_own_libs): Use
761 with_test_prefix to avoid duplicate test names when we call
762 build_executable twice.
763
6813ceb0
TT
7642021-03-15 Tom Tromey <tromey@adacore.com>
765
766 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
767
3b5c4de0
TT
7682021-03-15 Tom Tromey <tromey@adacore.com>
769
770 * gdb.ada/varsize_limit.exp: Add new test.
771 * gdb.ada/varsize_limit/vsizelim.adb: Update.
772
c04da66c
TT
7732021-03-15 Tom Tromey <tromey@adacore.com>
774
775 * gdb.ada/operator_call/twovecs.ads: New file.
776 * gdb.ada/operator_call/twovecs.adb: New file.
777 * gdb.ada/operator_call/opcall.adb: New file.
778 * gdb.ada/operator_call.exp: New file.
779
1ac74522
TT
7802021-03-15 Tom Tromey <tromey@adacore.com>
781
782 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
783 * gdb.ada/enums_overload/enums_overload.ads: New file.
784 * gdb.ada/enums_overload/enums_overload.adb: New file.
785 * gdb.ada/enums_overload.exp: New file.
786
207582c0
TT
7872021-03-15 Tom Tromey <tromey@adacore.com>
788
789 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
790 Declare.
791 * gdb.ada/assign_arr/target_wrapper.adb: New file.
792 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
793 Call Put.
794 * gdb.ada/assign_arr.exp: Update.
795
ba6a0ef3
AB
7962021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
797
798 * gdb.python/py-auto-load-chaining-f1.c: New file.
799 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
800 * gdb.python/py-auto-load-chaining-f2.c: New file.
801 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
802 * gdb.python/py-auto-load-chaining.c: New file.
803 * gdb.python/py-auto-load-chaining.exp: New file.
804
7f99d636
AB
8052021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
806
807 * gdb.python/py-bad-printers.exp: Extend test names to make them
808 unique.
809 * gdb.python/py-events.exp: Likewise.
810 * gdb.python/py-finish-breakpoint2.exp: Likewise.
811 * gdb.python/py-frame-inline.exp: Likewise.
812 * gdb.python/py-frame.exp: Likewise.
813 * gdb.python/py-infthread.exp: Likewise.
814
323b848c
AB
8152021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
816
817 * gdb.python/py-value-cc.exp: Remove a duplicate test.
818
8a4efb36
AB
8192021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
820
821 * gdb.python/lib-types.exp: Update the test to check the correct
822 python variable.
823
66bb1dd9
AB
8242021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
825
826 * gdb.python/py-explore-cc.exp: Extend test names to make them
827 unique.
828
0125fabc
AB
8292021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
830
831 * gdb.python/py-lookup-type.exp: Remove duplicate test.
832
79d04157
AB
8332021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
834
835 * gdb.python/py-symtab.exp: Extend test names to make them
836 unique.
837
e3e48d8f
AB
8382021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
839
840 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
841 names unique.
842
2cb60e74
AB
8432021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
844
845 * gdb.python/py-block.exp: Give tests unique names.
846
8b12ded4
AB
8472021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * gdb.python/py-pp-maint.exp: Extend test names to make them
850 unique.
851
93598ea4
AB
8522021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
853
854 * gdb.python/py-explore.exp: Add with_test_prefix to make test
855 names unique.
856
f35d6971
AB
8572021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
858
859 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
860
22d3e7f6
AB
8612021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
862
863 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
864 names unique.
865
5fc5a1b8
AB
8662021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
867
868 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
869 test names unique.
870
e3141a4d
AB
8712021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
872
873 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
874 unique.
875
ccdc02ed
TT
8762021-03-09 Tom Tromey <tromey@adacore.com>
877
878 * gdb.base/cast-call.exp: New file.
879 * gdb.base/cast-call.c: New file.
880
fbb1aace
AB
8812021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
882
883 * gdb.gdb/python-helper.exp: New file.
884
611aa09d
FW
8852020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
886
887 * gdb.fortran/intrinsics.exp: Add LOC tests.
888
eef32f59
AB
8892021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
890
891 * gdb.fortran/shape.exp: New file.
892 * gdb.fortran/shape.f90: New file.
893
7ba155b3
AB
8942021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
895
896 * gdb.fortran/size.exp: New file.
897 * gdb.fortran/size.f90: New file.
898
e14816a8
AB
8992021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
900
901 * gdb.fortran/rank.exp: New file.
902 * gdb.fortran/rank.f90: New file.
903
d308ba78
TT
9042021-03-08 Tom Tromey <tom@tromey.com>
905
906 * gdb.fortran/debug-expr.exp: Update tests.
907
d182f279
TT
9082021-03-08 Tom Tromey <tom@tromey.com>
909
910 * gdb.base/debug-expr.exp: Update expected dump output.
911
a7308ce0
TT
9122021-03-06 Tom Tromey <tom@tromey.com>
913
914 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
915 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
916 * gdb.dwarf2/dwznolink.exp: New file.
917
b0a8c2ff
MW
9182021-03-05 Mark Wielaard <mark@klomp.org>
919
920 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
921
844be3f2
WP
9222021-03-06 Weimin Pan <weimin.pan@oracle.com>
923
924 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
925
82333781
MM
9262021-03-03 Markus Metzger <markus.t.metzger@intel.com>
927
928 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
929
32c52999
MM
9302021-03-03 Markus Metzger <markus.t.metzger@intel.com>
931
932 * gdb.btrace/non-stop.exp: Adjust expected source lines.
933
26ed1478
MM
9342021-03-03 Markus Metzger <markus.t.metzger@intel.com>
935
936 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
937
d2c5f24e
MM
9382021-03-03 Markus Metzger <markus.t.metzger@intel.com>
939
940 * gdb.btrace/exception.cc (main): Update test source.
941 * gdb.btrace/exception.exp: Update patterns.
942 * gdb.btrace/function_call_history.exp: Likewise.
943
c7c7253a
MM
9442021-03-03 Markus Metzger <markus.t.metzger@intel.com>
945
946 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
947
f0778fc1
MM
9482021-03-03 Markus Metzger <markus.t.metzger@intel.com>
949
950 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
951 reverse-continue to breakpoint.
952
e71dbd03
MM
9532021-03-03 Markus Metzger <markus.t.metzger@intel.com>
954
955 * gdb.btrace/delta.exp: Remove instruction-history and
956 function-call-history checks.
957
b93a3ed0
MM
9582021-03-03 Markus Metzger <markus.t.metzger@intel.com>
959
960 * README (Note): Add nopie_ldflag.
961 * lib/gdb.exp (gdb_compile): Extend nopie handling.
962
bbcdf9ab
TT
9632021-03-02 Tom Tromey <tromey@adacore.com>
964
965 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
966 encodings.
967
bb3a4efe
LS
9682021-02-27 Lancelot Six <lsix@lancelotix.com>
969
970 PR gdb/27393
971 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
972
973
573dc0cc
TT
9742021-02-26 Tom Tromey <tom@tromey.com>
975
976 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
977
f8218786
JV
9782021-02-26 Jan Vrany <jan.vrany@labware.com>
979
980 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
981 Remove trailing \n from expected output.
982
cb51b708
MM
9832021-02-26 Markus Metzger <markus.t.metzger@intel.com>
984
985 * lib/gdb.exp (use_gdb_stub): Extend comment.
986
64d38fdd
JM
9872021-02-25 Jan Matyas <jmatyas@codasip.com>
988
989 PR gdb/26819
990 * gdb.server/stop-reply-no-thread.exp: Add two test
991 scenarios that cover remote targets which do not have
992 the concept of threads.
993
d4ff3cbf
AB
9942021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
995
996 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
997
68337b8b
AB
9982021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
999
1000 PR fortran/26155
1001 * gdb.fortran/call-no-debug-func.f90: New file.
1002 * gdb.fortran/call-no-debug-prog.f90: New file.
1003 * gdb.fortran/call-no-debug.exp: New file.
1004
faeb9f13
AB
10052021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1006
1007 * gdb.fortran/associated.exp: New file.
1008 * gdb.fortran/associated.f90: New file.
1009
170f4b23
AB
10102021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1011
1012 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
1013
dd80d750
AB
10142021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1015
1016 * gdb.base/sect-cmd.exp: Update expected results.
1017
b91919ac
AB
10182021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1019
1020 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
1021 techniques. Enable the test for all targets.
1022
02a79309
AB
10232021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1024
1025 * gdb.base/maint-info-sections.exp: Add new tests.
1026 (check_maint_info_target_sections_output): New proc.
1027
895b7b4e
AB
10282021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1029
1030 * gdb.arch/riscv-default-tdesc.exp: New file.
1031
bc3c0632
AB
10322021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1033
1034 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
1035
acde2092
AB
10362021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1037
1038 * gdb.arch/i386-biarch-core.exp: Add target check.
1039
7d2e5095
AKS
10402021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1041
1042 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
1043
96df3e28
AB
10442021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
1045
1046 * gdb.fortran/allocated.exp: New file.
1047 * gdb.fortran/allocated.f90: New file.
1048
a1670b72
AB
10492021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1050
1051 * gdb.fortran/lbound-ubound.exp: Remove old comment.
1052
bf3386f0
AB
10532021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1054
1055 * gdb.base/maint-info-sections.exp: Update expected output, and
1056 add additional tests. Again.
1057
4790db14
AB
10582021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1059
1060 * gdb.base/maint-info-sections.exp: Update expected output, and
1061 add additional tests.
1062
f4be6772
AB
10632021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1064
1065 * gdb.base/maint-info-sections.exp: New file, content is moved
1066 from gdb.base/maint.exp and cleaned up to use latest testsuite
1067 techniques.
1068 * gdb.base/maint.exp: Tests moved out to
1069 gdb.base/maint-info-sections.exp.
1070
25ad1e83
SM
10712021-02-10 Simon Marchi <simon.marchi@efficios.com>
1072
1073 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
1074 GDBFLAGS.
1075
e92c8eb8
AB
10762021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1077
1078 * gdb.fortran/lbound-ubound.F90: New file.
1079 * gdb.fortran/lbound-ubound.exp: New file.
1080
ee4c3d88
TV
10812021-02-10 Tom de Vries <tdevries@suse.de>
1082
1083 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
1084 "Restore saved setting of complaints".
1085
cf2b2075
TV
10862021-02-09 Tom de Vries <tdevries@suse.de>
1087
1088 PR symtab/27341
1089 * lib/gdb.exp (with_complaints): New proc, factored out of ...
1090 (gdb_load_no_complaints): ... here.
1091 * gdb.fortran/function-calls.exp: Add test-case.
1092
b61f7811
HAQ
10932021-02-09 Abid Qadeer <abidh@codesourcery.com>
1094
1095 * gdb.threads/signal-command-handle-nopass.exp: Call
1096 'standard_testfile' before using 'testfile'.
1097 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
1098 * gdb.threads/signal-delivered-right-thread.exp: Likewise
1099 * gdb.threads/signal-sigtrap.exp: Likewise
1100
3d4aae48
LM
11012021-02-08 Luis Machado <luis.machado@linaro.org>
1102
1103 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
1104
4001d90d
TV
11052021-02-08 Tom de Vries <tdevries@suse.de>
1106
1107 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
1108
29db1eb3
AB
11092021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1110
1111 * gdb.python/tui-window-disabled.c: New file.
1112 * gdb.python/tui-window-disabled.exp: New file.
1113 * gdb.python/tui-window-disabled.py: New file.
1114
e0c23e11
AB
11152021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1116
1117 * gdb.python/tui-window.exp: Add new tests.
1118 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
1119 TestWindow object into global the_window.
1120 <remote_title>: New method.
1121 (delete_window_title): New function.
1122
1cf23996
AB
11232021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1124
1125 * gdb.tui/winheight.exp: Add more tests.
1126
2708dbbd
AB
11272021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1128
1129 * gdb.python/py-framefilter.exp: Update expected results.
1130 * gdb.python/python.exp: Update expected results.
1131
cd074e04
AB
11322021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1133
1134 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
1135 about bug in GDB, update expected results, and add more tests.
1136
5fb97639
AB
11372021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1138
1139 * gdb.tui/scroll.exp: New file.
1140 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
1141 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
1142 remaining lines up.
1143 (Term::check_region_contents): New proc.
1144 (Term::check_box_contents): Use check_region_contents.
1145
c0e56745
TV
11462021-02-06 Tom de Vries <tdevries@suse.de>
1147
1148 PR testsuite/26922
1149 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
1150 scrolling.
1151
0e857c82
TV
11522021-02-05 Tom de Vries <tdevries@suse.de>
1153
1154 PR breakpoints/27313
1155 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
1156 rejected.
1157
a22ec6e8
TV
11582021-02-05 Tom de Vries <tdevries@suse.de>
1159
1160 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
1161 * gdb.fortran/mixed-lang-stack.exp: Same.
1162
ae710496
TV
11632021-02-05 Tom de Vries <tdevries@suse.de>
1164
1165 PR exp/27265
1166 * gdb.base/complex-parts.exp: Add tests.
1167
d3b54e63
TV
11682021-02-05 Tom de Vries <tdevries@suse.de>
1169
1170 PR symtab/27307
1171 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
1172
3eccb1c8
SV
11732021-02-04 Shahab Vahedi <shahab@synopsys.com>
1174
1175 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
1176
a71501e2
PA
11772021-02-03 Pedro Alves <pedro@palves.net>
1178
1179 * gdb.threads/detach-step-over.c: New file.
1180 * gdb.threads/detach-step-over.exp: New file.
1181
92234eb1
PA
11822021-02-03 Pedro Alves <pedro@palves.net>
1183
1184 * gdb.threads/attach-non-stop.c: New file.
1185 * gdb.threads/attach-non-stop.exp: New file.
1186
2e3773ff
LS
11872021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1188
1189 * gdb.base/inferior-noarg.c: New test.
1190 * gdb.base/inferior-noarg.exp: New test.
1191
e0bd9202
SM
11922021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
1193
1194 * gdb.base/scope.exp: Use proc_with_prefix.
1195
9307efbe
SM
11962021-02-02 Simon Marchi <simon.marchi@efficios.com>
1197
1198 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
1199 table proc.
1200 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
1201 .debug_rnglists table without offset array.
1202 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1203 .debug_loclists table without offset array.
1204
2b0c7f41
SM
12052021-02-02 Simon Marchi <simon.marchi@efficios.com>
1206
1207 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
1208 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
1209 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1210 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
1211 attribute
1212
ecfda20d
SM
12132021-02-02 Simon Marchi <simon.marchi@efficios.com>
1214
1215 PR gdb/26813
1216 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
1217 (loclists): New proc.
1218 * gdb.dwarf2/loclists-multiple-cus.c: New.
1219 * gdb.dwarf2/loclists-multiple-cus.exp: New.
1220 * gdb.dwarf2/loclists-sec-offset.c: New.
1221 * gdb.dwarf2/loclists-sec-offset.exp: New.
1222
6b0933da
SM
12232021-02-02 Simon Marchi <simon.marchi@efficios.com>
1224
1225 * lib/dwarf.exp (_location): Add parameters.
1226 (_handle_DW_FORM): Adjust.
1227
962effa7
SM
12282021-02-02 Simon Marchi <simon.marchi@efficios.com>
1229
1230 PR gdb/26813
1231 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
1232 (cu): Generate header for DWARF 5.
1233 (rnglists): New proc.
1234 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
1235 * gdb.dwarf2/rnglists-sec-offset.exp: New.
1236
2bd3e4b8
TV
12372021-02-02 Tom de Vries <tdevries@suse.de>
1238
1239 PR symtab/24620
1240 * gdb.dwarf2/fission-reread.exp: Add test-case.
1241
c39c8637
TV
12422021-02-01 Tom de Vries <tdevries@suse.de>
1243
1244 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
1245 * gdb.dwarf2/fission-loclists-pie.S: Same.
1246 * gdb.dwarf2/fission-loclists.S: Same.
1247 * gdb.dwarf2/fission-multi-cu.S: Same.
1248 * gdb.dwarf2/fission-reread.S: Same.
1249 * gdb.dwarf2/fission-base.exp: Use DWO.
1250 * gdb.dwarf2/fission-loclists-pie.exp: Same.
1251 * gdb.dwarf2/fission-loclists.exp: Same.
1252 * gdb.dwarf2/fission-multi-cu.exp: Same.
1253 * gdb.dwarf2/fission-reread.exp: Same.
1254
ebde6f2d
TV
12552021-01-29 Tom de Vries <tdevries@suse.de>
1256
1257 PR breakpoints/26063
1258 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1259 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1260
620ec3ca
TV
12612021-01-29 Tom de Vries <tdevries@suse.de>
1262
1263 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1264
cdeba395
TV
12652021-01-28 Tom de Vries <tdevries@suse.de>
1266
1267 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1268 in the backtrace, and use that in the rest of the test instead of
1269 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1270
c47b145e
TV
12712021-01-28 Tom de Vries <tdevries@suse.de>
1272
1273 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1274 * gdb.arch/i386-sse-stack-align.c: Same.
1275 * gdb.arch/i386-sse-stack-align.exp: Same.
1276
47918cca
AB
12772021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1278
1279 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1280
2f985dd1
TV
12812021-01-28 Tom de Vries <tdevries@suse.de>
1282
1283 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1284
22efa3d3
TV
12852021-01-28 Tom de Vries <tdevries@suse.de>
1286
1287 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1288 "maint info line-table". Make PASS pattern more specific. Make
1289 FAIL pattern work for -m32.
1290
59b59f08
LS
12912021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1292
1293 PR gdb/27133
1294 * gdb.base/ui-redirect.exp: Add test case that ensures that
1295 redirecting both logging and debug does not cause gdb to crash.
1296
1297
807f647c
MM
12982021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1299
1300 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1301
4ca40594
TV
13022021-01-26 Tom de Vries <tdevries@suse.de>
1303
1304 * gdb.threads/killed-outside.exp: Allow regular output.
1305
d0021af3
TV
13062021-01-26 Tom de Vries <tdevries@suse.de>
1307
1308 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1309
9f6c202e
TV
13102021-01-25 Tom de Vries <tdevries@suse.de>
1311
1312 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1313 * lib/gdb.exp: Use gdb_load_no_complaints.
1314
a625a8c9
TT
13152021-01-25 Tom Tromey <tromey@adacore.com>
1316
1317 * gdb.ada/fixed_points.exp: Add regression test.
1318 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1319 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1320
19184910
TT
13212021-01-25 Tom Tromey <tromey@adacore.com>
1322
1323 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1324
acd6125f
TT
13252021-01-25 Tom Tromey <tromey@adacore.com>
1326
1327 * gdb.ada/local-enum.exp: New file.
1328 * gdb.ada/local-enum/local.adb: New file.
1329
1af4c9c4
TT
13302021-01-23 Tom Tromey <tom@tromey.com>
1331
1332 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1333
705646c0
BE
13342021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1335
1336 * gdb.base/line65535.exp: Fix test expectation.
1337
0ac85db5
SM
13382021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1339
1340 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1341 suppression.
1342 (default_gdb_exit): Likewise.
1343 (default_gdb_spawn): Likewise.
1344 (send_gdb): Likewise.
1345 (gdb_expect): Likewise.
1346 (gdb_expect_list): Likewise.
1347 (default_gdb_init): Likewise.
1348 (gdb_suppress_entire_file): Remove.
1349 (gdb_suppress_tests): Remove.
1350 (gdb_stop_suppressing_tests): Remove.
1351 (gdb_clear_suppressed): Remove.
1352 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1353 related to test suppression.
1354 (default_mi_gdb_start): Likewise.
1355 (mi_gdb_reinitialize_dir): Likewise.
1356 (mi_gdb_test): Likewise.
1357 (mi_run_cmd_full): Likewise.
1358 (mi_runto_helper): Likewise.
1359 (mi_execute_to): Likewise.
1360 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1361 * gdb.base/bitfields.exp: Likewise.
1362 * gdb.base/bitfields2.exp: Likewise.
1363 * gdb.base/break.exp: Likewise.
1364 * gdb.base/call-sc.exp: Likewise.
1365 * gdb.base/callfuncs.exp: Likewise.
1366 * gdb.base/dfp-test.exp: Likewise.
1367 * gdb.base/endian.exp: Likewise.
1368 * gdb.base/exprs.exp: Likewise.
1369 * gdb.base/funcargs.exp: Likewise.
1370 * gdb.base/hbreak2.exp: Likewise.
1371 * gdb.base/recurse.exp: Likewise.
1372 * gdb.base/scope.exp: Likewise.
1373 * gdb.base/sepdebug.exp: Likewise.
1374 * gdb.base/structs.exp: Likewise.
1375 * gdb.base/until.exp: Likewise.
1376 * gdb.cp/misc.exp: Likewise.
1377
9d2d8a16
AB
13782021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1379
1380 PR cli/25956
1381 * gdb.base/style.exp (run_style_tests): Add version string test.
1382 (test_startup_version_string): Use version style name.
1383 * lib/gdb-utils.exp (style): Handle version style name.
1384
e7b43072
AB
13852021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1386
1387 * gdb.base/style.exp (limited_style): New proc.
1388 (clean_restart_and_disable): New proc.
1389 (run_style_tests): New proc. Most of the old tests from this file
1390 are now in this proc.
1391 (test_startup_version_string): New proc. Reamining test from the
1392 old file is in this proc.
1393
2189c312
SM
13942021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1395
1396 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1397 Adjust to "set debug remote" changes.
1398
cd211c75
LM
13992021-01-21 Luis Machado <luis.machado@linaro.org>
1400
1401 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1402 message.
1403
730af663
SM
14042021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1405
1406 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1407
325d39e4
HD
14082021-01-21 Hannes Domani <ssbssa@yahoo.de>
1409
1410 PR python/19151
1411 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1412
c3e96aa7
SM
14132021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1414
1415 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1416
6571ffc6
SM
14172021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1418
1419 * lib/tuiterm.exp: Add links in comments.
1420
7c794afd
TV
14212021-01-20 Tom de Vries <tdevries@suse.de>
1422
1423 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1424 offset.
1425
1402665c
TV
14262021-01-20 Tom de Vries <tdevries@suse.de>
1427
1428 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1429
6f52fdf4
SDJ
14302021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1431
1432 * gdb.arch/amd64-stap-expressions.S: New file.
1433 * gdb.arch/amd64-stap-expressions.exp: New file.
1434
14852123
TV
14352021-01-19 Tom de Vries <tdevries@suse.de>
1436
1437 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1438 sequence.
1439
0c4e2c6c
TV
14402021-01-19 Tom de Vries <tdevries@suse.de>
1441
1442 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1443
02baa133
AB
14442021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1445
1446 * gdb.fortran/array-slices.exp (run_test): Avoid including
1447 addresses in test names.
1448
10f92414
TV
14492021-01-15 Tom de Vries <tdevries@suse.de>
1450
1451 PR testsuite/26997
1452 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1453 when adding sizeof.
1454
116d0cf1
TV
14552021-01-14 Tom de Vries <tdevries@suse.de>
1456
1457 PR testsuite/24590
1458 * gdb.base/style.exp: Handle shorter argv in frame command output.
1459
8f66807b
AB
14602021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1461
1462 PR gdb/26819
1463 * gdb.server/stop-reply-no-thread-multi.c: New file.
1464 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1465
3f94e588
TV
14662021-01-12 Tom de Vries <tdevries@suse.de>
1467
1468 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1469 (main): Remove call to have_mpx.
1470 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1471 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1472 (main): Remote call to have_mpx.
1473 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1474 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1475 (main): Remove call to have_mpx.
1476 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1477 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1478 (main): Remove call to have_mpx.
1479 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1480 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1481 (main): Remote call to have_mpx.
1482 * gdb.arch/i386-mpx.exp: Use have_mpx.
1483 * lib/gdb.exp (have_mpx): New proc.
1484
5291fe3c
SP
14852021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1486
1487 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1488
18bfb505
TV
14892021-01-12 Tom de Vries <tdevries@suse.de>
1490
1491 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1492
ce38f5ed
AB
14932021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1494
1495 * gdb.fortran/debug-expr.exp: Add new tests.
1496
7c654b71
AB
14972021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1498
1499 * gdb.fortran/dot-ops.exp: Add new tests.
1500
10dadadc
TV
15012021-01-11 Tom de Vries <tdevries@suse.de>
1502
1503 PR testsuite/26968
1504 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1505 Move insn setting $eax to before probe point.
1506
66beed02
TT
15072021-01-09 Tom Tromey <tom@tromey.com>
1508
1509 * gdb.trace/ax.exp: Do not require an "ext".
1510
8fc48b79
TT
15112021-01-08 Tom Tromey <tromey@adacore.com>
1512
1513 * gdb.ada/voidctx/pck.adb: New file.
1514 * gdb.ada/voidctx/pck.ads: New file.
1515 * gdb.ada/voidctx/voidctx.adb: New file.
1516 * gdb.ada/voidctx.exp: New file.
1517
6abd4cf2
SM
15182021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1519
1520 PR gdb/27157
1521 * gdb.base/empty-host-env-vars.exp: New test.
1522
d00f0868
AB
15232021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1524
1525 * gdb.base/completion.exp: Add a new test.
1526
3c8c6de2
AB
15272021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1528
1529 * gdb.fortran/intvar-dynamic-types.exp: New file.
1530 * gdb.fortran/intvar-dynamic-types.f90: New file.
1531
e3436813
AB
15322021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1533
1534 * gdb.fortran/intvar-array.exp: New file.
1535 * gdb.fortran/intvar-array.f90: New file.
1536
d4813f10
TT
15372021-01-07 Tom Tromey <tromey@adacore.com>
1538
1539 * gdb.ada/assign_arr.exp: Add 'others' test.
1540
b49180ac
TT
15412021-01-06 Tom Tromey <tromey@adacore.com>
1542
1543 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1544 (FP4_Type): New type.
1545 (FP4_Var): New variable.
1546 * gdb.ada/fixed_points/fixed_points.adb: Update.
1547 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1548
3c55062c
SM
15492021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1550
1551 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1552 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1553 Pass prompt containing debug print to gdb_test_sequence.
1554
e4ad960a
TV
15552021-01-04 Tom de Vries <tdevries@suse.de>
1556
1557 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1558
3ec3145c
SM
15592021-01-04 Simon Marchi <simon.marchi@efficios.com>
1560
1561
1562
8dc558a0
SM
15632021-01-04 Simon Marchi <simon.marchi@efficios.com>
1564
1565 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1566 * gdb.server/connect-without-multi-process.exp: Likewise.
1567 * gdb.server/exit-multiple-threads.exp: Likewise.
1568 * gdb.server/ext-attach.exp: Likewise.
1569 * gdb.server/ext-restart.exp: Likewise.
1570 * gdb.server/ext-run.exp: Likewise.
1571 * gdb.server/ext-wrapper.exp: Likewise.
1572 * gdb.server/multi-ui-errors.exp: Likewise.
1573 * gdb.server/no-thread-db.exp: Likewise.
1574 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1575 * gdb.server/run-without-local-binary.exp: Likewise.
1576 * gdb.server/server-kill.exp: Likewise.
1577 * gdb.server/server-run.exp: Likewise.
1578 * gdb.server/solib-list.exp: Likewise.
1579 * gdb.server/stop-reply-no-thread.exp: Likewise.
1580 * gdb.server/wrapper.exp: Likewise.
1581 * gdb.server/sysroot.exp: Increase timeout when testing the
1582 target: sysroot.
1583
d8387cc8
SM
15842021-01-04 Simon Marchi <simon.marchi@efficios.com>
1585
1586 * gdb.server/server-run.exp: Use clean_restart.
1587
5169ae34
SM
15882021-01-04 Simon Marchi <simon.marchi@efficios.com>
1589
1590 * gdb.server/ext-run.exp: Use clean_restart.
1591
7b0ff8a2
SM
15922021-01-04 Simon Marchi <simon.marchi@efficios.com>
1593
1594 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1595 instead of prepare_for_testing.
1596
a754fbdf
SM
15972021-01-04 Simon Marchi <simon.marchi@efficios.com>
1598
1599 * gdb.server/solib-list.exp: Use clean_restart.
1600
c5e71b33
TV
16012021-01-04 Tom de Vries <tdevries@suse.de>
1602
1603 * gdb.base/morestack.c: Remove printf.
1604 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1605
9b243007
TT
16062020-12-31 Tom Tromey <tom@tromey.com>
1607
1608 * gdb.rust/simple.exp: Update output for Rust 1.49.
1609
4ff509e7
BE
16102020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1611
1612 * gdb.cp/step-and-next-inline.exp: Fix test case.
1613
391750c3
SM
16142020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1615
1616 * gdb.python/py-frame-args.exp: De-duplicate test names.
1617
b7874836
AB
16182020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1619
1620 PR gdb/27059
1621 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1622 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1623
e1ff6226
PW
16242020-12-21 Peter Waller <p@pwaller.net>
1625
1626 * gdb.base/style-interp-exec-mi.exp: New.
1627 * gdb.base/style-interp-exec-mi.c: New.
1628
ca01f1bf
SM
16292020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1630
1631 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1632 gdb_test. Use proc_with_prefix.
1633
0fe69a94
MM
16342020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1635
1636 * gdb.btrace/exception.exp: Build with nopie.
1637 * gdb.btrace/function_call_history.exp: Likewise.
1638 * gdb.btrace/unknown_functions.exp: Likewise.
1639
806e7575
MM
16402020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1641
1642 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1643
493d2172
MM
16442020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1645
1646 * gdb.python/py-record-btrace.exp: Make test names unique.
1647 * gdb.python/py-record-full.exp: Likewise.
1648
1a1c0afc
MM
16492020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1650
1651 * gdb.btrace/data.exp: Make test names unique.
1652 * gdb.btrace/delta.exp: Likewise.
1653 * gdb.btrace/enable.exp: Likewise.
1654 * gdb.btrace/function_call_history.exp: Likewise.
1655 * gdb.btrace/nohist.exp: Likewise.
1656 * gdb.btrace/non-stop.exp: Likewise.
1657 * gdb.btrace/rn-dl-bind.exp: Likewise.
1658 * gdb.btrace/step.exp: Likewise.
1659 * gdb.btrace/stepi.exp: Likewise.
1660 * gdb.btrace/tailcall.exp: Likewise.
1661
98d837f0
MM
16622020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1663
1664 * gdb.btrace/enable.exp: Update error message.
1665 * gdb.btrace/multi-inferior.exp: Likewise.
1666 * gdb.btrace/reconnect.exp: Likewise.
1667 * gdb.python/py-record-btrace.exp: Likewise.
1668 * gdb.python/py-record-full.exp: Likewise.
1669
c541fa7c
TV
16702020-12-20 Tom de Vries <tdevries@suse.de>
1671
1672 * lib/gdb.exp (save_target_board_info): New proc.
1673 (gdb_compile_shlib): Use save_target_board_info.
1674
60108e47
TV
16752020-12-19 Tom de Vries <tdevries@suse.de>
1676
1677 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1678 (supports_gnuc): New proc.
1679 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1680 test_compiler_info calls. Add unsupported message.
1681 * gdb.base/endianity.c: Use TEST_SSO.
1682
fa639f55
HD
16832020-12-19 Hannes Domani <ssbssa@yahoo.de>
1684
1685 PR exp/27070
1686 * gdb.python/compare-enum-type-a.c: New test.
1687 * gdb.python/compare-enum-type-b.c: New test.
1688 * gdb.python/compare-enum-type.exp: New file.
1689 * gdb.python/compare-enum-type.h: New test.
1690
4aea001f
HD
16912020-12-18 Hannes Domani <ssbssa@yahoo.de>
1692
1693 * gdb.python/py-format-string.exp: Add tests for address keyword.
1694
b3f9469b
HD
16952020-12-18 Hannes Domani <ssbssa@yahoo.de>
1696
1697 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1698
86ef42bd
TT
16992020-12-18 Tom Tromey <tromey@adacore.com>
1700
1701 * gdb.ada/fixed_points.exp: Also run with
1702 -fgnat-encodings=minimal. Update expected output.
1703
93df4a1d
SM
17042020-12-16 Simon Marchi <simon.marchi@efficios.com>
1705
1706 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1707 * gdb.base/continue-all-already-running.exp: Likewise.
1708 * gdb.base/moribund-step.exp: Likewise.
1709 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1710
592995fa
TV
17112020-12-16 Tom de Vries <tdevries@suse.de>
1712
1713 * gdb.base/batch-preserve-term-settings.exp:
1714
1e61189d
TV
17152020-12-16 Tom de Vries <tdevries@suse.de>
1716
1717 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1718 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1719
19007d95
LM
17202020-12-16 Luis Machado <luis.machado@linaro.org>
1721
1722 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1723 pointer-based memory accesses.
1724 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1725 hw watchpoint cases.
1726
a33fc9ae
RK
17272020-12-15 Rae Kim <rae.kim@gmail.com>
1728
1729 * gdb.base/document.exp: New test.
1730
0e5ad442
TT
17312020-12-15 Tom Tromey <tromey@adacore.com>
1732
1733 * gdb.base/style.exp: Add deprecation tests.
1734
60598dbd
SM
17352020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1736
1737 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1738
8cd6d968
MW
17392020-12-14 Mark Wielaard <mark@klomp.org>
1740
1741 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1742 specially, set attr_form_comment to the actual FORM string used.
1743
eab9267c
MW
17442020-12-14 Mark Wielaard <mark@klomp.org>
1745
1746 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1747 _constants(SPECIAL_expr) here, but set it...
1748 (Dwarf::cu): ...here based on _cu_version.
1749
2f413264
TV
17502020-12-14 Tom de Vries <tdevries@suse.de>
1751
1752 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1753 pass -fPIC.
1754 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1755 * gdb.base/break-probes.exp: Same.
1756 * gdb.base/ctxobj.exp: Same.
1757 * gdb.base/dso2dso.exp: Same.
1758 * gdb.base/global-var-nested-by-dso.exp: Same.
1759 * gdb.base/info-shared.exp: Same.
1760 * gdb.base/jit-reader-simple.exp: Same.
1761 * gdb.base/print-file-var.exp: Same.
1762 * gdb.base/skip-solib.exp: Same.
1763 * gdb.btrace/dlopen.exp: Same.
1764
18f1cb1f
TV
17652020-12-14 Tom de Vries <tdevries@suse.de>
1766
1767 PR testsuite/26963
1768 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1769
519155c9
TV
17702020-12-14 Tom de Vries <tdevries@suse.de>
1771
1772 PR testsuite/26962
1773 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1774 cast it to its declared type".
1775
153f6e6c
TV
17762020-12-14 Tom de Vries <tdevries@suse.de>
1777
1778 PR testsuite/26951
1779 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1780 shell prompt.
1781
86b44259
TT
17822020-12-14 Tom Tromey <tromey@adacore.com>
1783
1784 * gdb.ada/nested.exp: Add new tests.
1785 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1786
e26624c6
TT
17872020-12-14 Tom Tromey <tromey@adacore.com>
1788
1789 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1790
a3bdae4e
TT
17912020-12-14 Tom Tromey <tromey@adacore.com>
1792
1793 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1794
862fcbd8
TV
17952020-12-13 Tom de Vries <tdevries@suse.de>
1796
1797 PR testsuite/26953
1798 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1799 attribute support if compiler doesn't support it.
1800
a406a98e
TV
18012020-12-13 Tom de Vries <tdevries@suse.de>
1802
1803 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1804 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1805 source to shared lib. Add ada to options.
1806
5d7e6ed0
TV
18072020-12-13 Tom de Vries <tdevries@suse.de>
1808
1809 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1810 calling gnatbind and gnatlink.
1811
ee9812a0
AB
18122020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1813
1814 * gdb.base/dcache-flush.c: New file.
1815 * gdb.base/dcache-flush.exp: New file.
1816
50a5f187
AB
18172020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1818
1819 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1820 commands.
1821 * gdb.base/killed-outside.exp: Likewise.
1822 * gdb.opt/inline-bt.exp: Likewise.
1823 * gdb.perf/gmonster-null-lookup.py: Likewise.
1824 * gdb.perf/gmonster-print-cerr.py: Likewise.
1825 * gdb.perf/gmonster-ptype-string.py: Likewise.
1826 * gdb.python/py-unwind.exp: Likewise.
1827
19c659f1
AB
18282020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1829
1830 * gdb.base/commands.exp: Update expected results.
1831
9ef6d4a1
AB
18322020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1833
1834 PR cli/15104
1835 * gdb.base/commands.exp: Add additional tests.
1836 * gdb.base/completion.exp: Add additional tests.
1837
1536146f
AB
18382020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1839
1840 * gdb.base/completion.exp: Add additional tests.
1841
346e7e19
TV
18422020-12-11 Tom de Vries <tdevries@suse.de>
1843
1844 PR testsuite/26991
1845 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1846 violations by setting bounds registers if the bounds are passed in the
1847 Bounds Table.
1848
9cd7a95a
TV
18492020-12-11 Tom de Vries <tdevries@suse.de>
1850
1851 PR testsuite/26954
1852 * gdb.base/float128.exp: Detect and handle no mpfr support.
1853
4483a8e7
SM
18542020-12-10 Simon Marchi <simon.marchi@efficios.com>
1855
1856 PR gdb/24694
1857 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1858 calls.
1859
10067028
TV
18602020-12-10 Tom de Vries <tdevries@suse.de>
1861
1862 PR testsuite/26947
1863 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1864 braces for tcl 8.5 and earlier.
1865
5b56203a
SM
18662020-12-09 Simon Marchi <simon.marchi@efficios.com>
1867
1868 PR 26875, PR 26901
1869 * gdb.base/flexible-array-member.c: New test.
1870 * gdb.base/flexible-array-member.exp: New test.
1871
b46551b2
TV
18722020-12-08 Tom de Vries <tdevries@suse.de>
1873
1874 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1875 using is_amd64_regs_target.
1876
8439f446
TV
18772020-12-08 Tom de Vries <tdevries@suse.de>
1878
1879 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1880 self_id.
1881
bc545da7
PA
18822020-12-07 Pedro Alves <pedro@palves.net>
1883
1884 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1885 'additional_flags' variable.
1886
1f58f6c2
TBA
18872020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1888
1889 * gdb.linespec/explicit.exp: Extend with a test to check completing
1890 '-' after seemingly complete options.
1891
5759831a
TBA
18922020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1893
1894 * gdb.linespec/keywords.exp: Add tests to check positional
1895 flexibility of "-force-condition".
1896
21e051b3
TBA
18972020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1898
1899 * gdb.base/bp-cmds-run-with-ex.c: New file.
1900 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1901 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1902 * gdb.gdb/python-interrupts.exp: Update the call to
1903 'catch_command_errors' with the new argument.
1904 * gdb.gdb/python-selftest.exp: Ditto.
1905
187b041e
SM
19062020-12-04 Simon Marchi <simon.marchi@efficios.com>
1907
1908 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1909 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1910 * gdb.threads/non-stop-fair-events.exp: Likewise.
1911
3b7a962d
SM
19122020-12-04 Simon Marchi <simon.marchi@efficios.com>
1913
1914 * gdb.threads/step-over-exec.exp: New.
1915 * gdb.threads/step-over-exec.c: New.
1916 * gdb.threads/step-over-exec-execd.c: New.
1917 * lib/my-syscalls.S: New.
1918 * lib/my-syscalls.h: New.
1919
e633b117
SM
19202020-12-04 Simon Marchi <simon.marchi@efficios.com>
1921
1922 * lib/dwarf.exp (declare_labels): Use name as text if text is
1923 not provided.
1924
67748e0f
TV
19252020-12-04 Tom de Vries <tdevries@suse.de>
1926
1927 PR testsuite/26990
1928 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1929 are unsupported.
1930
a8d13675
TV
19312020-12-04 Tom de Vries <tdevries@suse.de>
1932
1933 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1934 clause.
1935
f17727b3
TV
19362020-12-04 Tom de Vries <tdevries@suse.de>
1937
1938 * gdb.reverse/insn-reverse.exp: Fix count handling.
1939
a1499830
TV
19402020-12-04 Tom de Vries <tdevries@suse.de>
1941
1942 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1943 __x86_64__.
1944
9c027c2f
TV
19452020-12-04 Tom de Vries <tdevries@suse.de>
1946
1947 * gdb.reverse/insn-reverse.c (test_nr): New var.
1948 (usage, parse_args): New function.
1949 (main): Call parse_args. Only run test for test_nr.
1950 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1951 and bail out. Run subtests individually, using an inferior arg
1952 specifying the subtest.
1953
533b2ae0
AB
19542020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1955
1956 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1957
e4502042
AB
19582020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1959
1960 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1961 update test to use this.
1962
f55a9a37
SM
19632020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1964
1965 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1966
0a6155a0
SM
19672020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1968
1969 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1970 (do_test): Don't use with_test_prefix.
1971 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1972 (do_test): Don't use with_test_prefix.
1973 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1974 (do_test): Don't use with_test_prefix.
1975 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1976 (do_test): Don't use with_test_prefix.
1977
4d56d64a
SM
19782020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1979
1980 * gdb.threads/non-ldr-exit.exp: Fix comment.
1981
54e75f29
AB
19822020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1983
1984 * gdb.xml/maint-xml-dump-03.xml: New file.
1985
7ce05d21
TV
19862020-11-30 Tom de Vries <tdevries@suse.de>
1987
1988 PR symtab/26905
1989 * gdb.dwarf2/count.exp: Remove kfails.
1990
50757f95
TBA
19912020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1992
1993 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1994 indices.
1995
4afa9fd9
JB
19962020-11-24 Joel Brobecker <brobecker@adacore.com>
1997
1998 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1999 the "ptype pck__fp1_range_var" test for the module-2 and pascal
2000 languages. Remove the associated setup_xfail.
2001
15a491af
SM
20022020-11-23 Simon Marchi <simon.marchi@efficios.com>
2003
2004 * lib/gdb.exp (gdb_assert): Show error message on error.
2005
891615f0
TV
20062020-11-23 Tom de Vries <tdevries@suse.de>
2007
2008 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
2009 * gdb.ada/mod_from_name.exp: Same.
2010 * gdb.ada/pckd_arr_ren.exp: Same.
2011
19922582
SM
20122020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2013
2014 * gdb.base/template.exp: New.
2015 * gdb.base/template.c: New.
2016
117c628d
GB
20172020-11-22 Gary Benson <gbenson@redhat.com>
2018
2019 PR gdb/26905
2020 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
2021 is defined using a DW_AT_count which references another DIE.
2022
da39d3ba
TV
20232020-11-21 Tom de Vries <tdevries@suse.de>
2024
2025 * gdb.base/vla-ptr.exp: Add XFAIL.
2026
a5c641b5
AB
20272020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2028
2029 * gdb.fortran/array-slices-bad.exp: New file.
2030 * gdb.fortran/array-slices-bad.f90: New file.
2031 * gdb.fortran/array-slices-sub-slices.exp: New file.
2032 * gdb.fortran/array-slices-sub-slices.f90: New file.
2033 * gdb.fortran/array-slices.exp: Rewrite tests.
2034 * gdb.fortran/array-slices.f90: Rewrite tests.
2035 * gdb.fortran/vla-sizeof.exp: Correct expected results.
2036
a15a5258
AB
20372020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2038
2039 * gdb.base/completion.exp: Add new completion tests.
2040
7cb2893d
SM
20412020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
2042
2043 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
2044 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2045 * gdb.mi/mi-nsintrall.exp: Likewise.
2046 * gdb.mi/mi-nsmoribund.exp: Likewise.
2047 * gdb.mi/mi-nsthrexec.exp: Likewise.
2048 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2049
cf144ec8
SM
20502020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
2051
2052 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
2053 of perror.
2054
6b6a3e05
JM
20552020-11-18 Joseph Myers <joseph@codesourcery.com>
2056
2057 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
2058 $arg.exe exists but $arg does not.
2059
811bdca0
GB
20602020-11-17 Gary Benson <gbenson@redhat.com>
2061
2062 * gdb.trace/trace-common.h (x86_trace_dummy): Add
2063 __attribute__ ((used)).
2064
c72e3136
AB
20652020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
2066
2067 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
2068
037d7135
AB
20692020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
2070
2071 * gdb.base/completion.exp: Add new tests.
2072
119e99bb
TT
20732020-11-16 Tom Tromey <tromey@adacore.com>
2074
2075 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
2076 tests.
2077
b74dbc20
JB
20782020-11-15 Joel Brobecker <brobecker@adacore.com>
2079
2080 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
2081 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
2082 (main): Add reference to pck__fp1_var2.
2083 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
2084
0a12719e
JB
20852020-11-15 Joel Brobecker <brobecker@adacore.com>
2086
2087 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
2088
0c9150e4
JB
20892020-11-15 Joel Brobecker <brobecker@adacore.com>
2090
2091 * gdb.ada/fixed_points.exp: Add ptype tests.
2092 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
2093
b26daff9
JB
20942020-11-15 Joel Brobecker <brobecker@adacore.com>
2095
2096 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
2097
09584414
JB
20982020-11-15 Joel Brobecker <brobecker@adacore.com>
2099
2100 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
2101 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
2102 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
2103 New files.
2104 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
2105
2106 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
2107 New files.
2108
9dd02fc0
AB
21092020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
2110
2111 PR cli/26879
2112 * gdb.fortran/completion.exp: New file.
2113 * gdb.fortran/completion.f90: New file.
2114
5643c500
JM
21152020-11-12 Joseph Myers <joseph@codesourcery.com>
2116
2117 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
2118 but $arg does not.
2119
7bea47f0
AB
21202020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
2121
2122 * gdb.fortran/types.exp: Add more tests.
2123
1f2624a3
TT
21242020-11-12 Tom Tromey <tom@tromey.com>
2125
2126 PR rust/26799:
2127 * gdb.rust/traits.exp: Remove kfails.
2128
9e74f0ae
GB
21292020-11-12 Gary Benson <gbenson@redhat.com>
2130
2131 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
2132 statement.
2133
acb994fa
SM
21342020-11-11 Simon Marchi <simon.marchi@efficios.com>
2135
2136 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
2137 always-inserted" axis.
2138 (do_test): Add breakpoint_always_inserted parameter.
2139
95016fd2
TT
21402020-11-10 Tom Tromey <tromey@adacore.com>
2141
2142 * gdb.ada/bias.exp: Update.
2143 * gdb.ada/bias/bias.adb (X): Change value.
2144
83100a74
GB
21452020-11-10 Gary Benson <gbenson@redhat.com>
2146
2147 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
2148 regexp fragment in parentheses to prevent false matching.
2149
6ff174a7
GB
21502020-11-10 Gary Benson <gbenson@redhat.com>
2151
2152 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
2153
eb24648c
GB
21542020-11-10 Gary Benson <gbenson@redhat.com>
2155
2156 * gdb.cp/step-and-next-inline.exp: Only require
2157 -gstatement-frontiers when building with GCC.
2158 Only setup KFAIL's for GCC issues when using
2159 a GCC-built executable.
2160
86775fab
AB
21612020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
2162
2163 * gdb.base/debug-expr.c: Add extra function to allow for an
2164 additional test.
2165 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
2166 to this proc with gdb_test_debug_expr. Add an extra test.
2167 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
2168 to this proc with gdb_test_debug_expr, give the tests names
2169 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
2170 calls to this proc with gdb_test_debug_expr, give the tests names
2171 * gdb.fortran/debug-expr.exp: New file.
2172 * gdb.fortran/debug-expr.f90: New file.
2173 * lib/gdb.exp (gdb_test_debug_expr): New proc.
2174
a1945bd4
SM
21752020-11-06 Simon Marchi <simon.marchi@efficios.com>
2176
2177 * lib/dwarf.exp (ranges): Handle "base" and "range" as
2178 proceduresu.
2179 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
2180 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
2181 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
2182 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
2183 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
2184 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
2185 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
2186 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
2187
9c91c725
TT
21882020-11-04 Tom Tromey <tromey@adacore.com>
2189
2190 * gdb.ada/funcall_ref.exp: Update.
2191 * gdb.ada/var_rec_arr.exp: Update.
2192
8d9fd3a1
TT
21932020-11-04 Tom Tromey <tromey@adacore.com>
2194
2195 * gdb.ada/rec_ptype.exp: New file.
2196 * gdb.ada/rec_ptype/main.adb: New file.
2197 * gdb.ada/rec_ptype/p.ads: New file.
2198
d8f62e84
TT
21992020-11-04 Tom Tromey <tromey@adacore.com>
2200
2201 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
2202 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
2203 (PT_Full): New variable.
2204 * gdb.ada/tick_length_array_enum_idx/pck.adb
2205 (Full_PT): New type.
2206
7ff5b937
TT
22072020-11-04 Tom Tromey <tromey@adacore.com>
2208
2209 * gdb.ada/array_of_variant.exp: New file.
2210 * gdb.ada/array_of_variant/p.adb: New file.
2211 * gdb.ada/array_of_variant/pck.ads: New file.
2212 * gdb.ada/array_of_variant/pck.adb: New file.
2213
10f6a3ad
TT
22142020-11-04 Tom Tromey <tromey@adacore.com>
2215
2216 * gdb.ada/enum_idx_packed.exp: Add test.
2217 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
2218 New variable.
2219 * gdb.ada/enum_idx_packed/pck.ads (Short)
2220 (Multi_Dimension, Multi_Dimension_Access): New types.
2221
b72795a8
TT
22222020-11-04 Tom Tromey <tromey@adacore.com>
2223
2224 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
2225
24aa1b02
TT
22262020-11-04 Tom Tromey <tromey@adacore.com>
2227
2228 * gdb.ada/set_pckd_arr_elt.exp: Also test
2229 -fgnat-encodings=minimal. Add tests.
2230 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
2231 Call Update_Small a second time.
2232 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
2233 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
2234 (Variant_Access): New types.
2235 (New_Variant): Declare.
2236
c9a28cbe
TT
22372020-11-04 Tom Tromey <tromey@adacore.com>
2238
2239 * gdb.ada/mod_from_name.exp: Test printing slice.
2240
57567375
TT
22412020-11-04 Tom Tromey <tromey@adacore.com>
2242
2243 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
2244 values.
2245 * gdb.ada/access_to_unbounded_array.exp: Test different
2246 -fgnat-encodings values.
2247 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
2248 values.
2249 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
2250 values.
2251 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
2252 values.
2253 * gdb.ada/array_of_variable_length.exp: Test different
2254 -fgnat-encodings values.
2255 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
2256 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
2257 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2258 change.
2259 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2260 values.
2261 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2262 * gdb.ada/out_of_line_in_inlined.exp: Test different
2263 -fgnat-encodings values.
2264 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2265 values.
2266 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2267 values.
2268 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2269 -fgnat-encodings values.
2270 * gdb.ada/variant_record_packed_array.exp: Test different
2271 -fgnat-encodings values.
2272
a7400e44
TT
22732020-11-04 Tom Tromey <tromey@adacore.com>
2274
2275 * gdb.ada/enum_idx_packed.exp: Add tests.
2276 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2277 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2278 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2279 declarations.
2280
c40907bf
TV
22812020-11-03 Tom de Vries <tdevries@suse.de>
2282
2283 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2284 terminator comments.
2285 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2286 terminator.
2287
f468977a
SM
22882020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2289
2290 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2291 integer format test with regexp.
2292
1c2bec19
GB
22932020-11-02 Gary Benson <gbenson@redhat.com>
2294
2295 * gdb.base/print-file-var.exp (test): Separate compiler and
2296 linker options, and build using build_executable_from_specs
2297 to accommodate this.
2298
6539a36d
GB
22992020-11-02 Gary Benson <gbenson@redhat.com>
2300
2301 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2302 for .c files compiled as C++ with Clang if any shared
2303 libraries are specified.
2304
7ea44a51
GB
23052020-11-02 Gary Benson <gbenson@redhat.com>
2306
2307 * lib/attributes.h: New header.
2308 * gdb.base/backtrace.c: Include the above. Replace
2309 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2310 * gdb.base/infcall-nested-structs.c: Likewise.
2311 * gdb.base/vla-optimized-out.c: Likewise.
2312
ab8f783d
TV
23132020-11-02 Tom de Vries <tdevries@suse.de>
2314
2315 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2316
d77c9224
JB
23172020-11-01 Joel Brobecker <brobecker@adacore.com>
2318
2319 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2320 System.Min_Int and System.Max_Int with smaller hardcoded
2321 constants.
2322
0e5b0dd0
SM
23232020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2324
2325 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2326 * configure: Re-generate.
2327
136821d9
SM
23282020-10-30 Simon Marchi <simon.marchi@efficios.com>
2329
2330 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2331 expected output.
2332
b78b3a29
TBA
23332020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2334
2335 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2336 behavior.
2337 * gdb.base/paginate-bg-execution.exp: Ditto.
2338 * gdb.base/paginate-inferior-exit.exp: Ditto.
2339 * gdb.base/double-prompt-target-event-error.c: Remove.
2340 * gdb.base/double-prompt-target-event-error.exp: Remove.
2341
cfaa8f76
TBA
23422020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2343
2344 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2345 inferiors' and 'detach inferiors' do not change the current
2346 inferior.
2347
0ad0e70c
TV
23482020-10-29 Tom de Vries <tdevries@suse.de>
2349
2350 * gdb.threads/tls.exp: Fix DUPLICATEs.
2351
99cc6b2a
TV
23522020-10-28 Tom de Vries <tdevries@suse.de>
2353
2354 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2355
efe9b873
TV
23562020-10-28 Tom de Vries <tdevries@suse.de>
2357
2358 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2359 * gdb.base/reread.exp: Same.
2360
6b68fd45
TV
23612020-10-28 Tom de Vries <tdevries@suse.de>
2362
2363 * lib/gdb.exp (readnow): Handle arg.
2364 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2365
32a5f98a
TV
23662020-10-28 Tom de Vries <tdevries@suse.de>
2367
2368 * gdb.base/relocate.exp: Update regexp for -readnow.
2369
f93b8760
TV
23702020-10-28 Tom de Vries <tdevries@suse.de>
2371
2372 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2373 -readnow.
2374
1b00ef06
TV
23752020-10-28 Tom de Vries <tdevries@suse.de>
2376
2377 PR symtab/26772
2378 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2379 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2380
364bb903
TV
23812020-10-28 Tom de Vries <tdevries@suse.de>
2382
2383 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2384 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2385 complaint during file command for -readnow.
2386
445a033f
TV
23872020-10-28 Tom de Vries <tdevries@suse.de>
2388
2389 * gdb.cp/nsalias.exp: Fix typo in test name.
2390
fdd67a42
TV
23912020-10-28 Tom de Vries <tdevries@suse.de>
2392
2393 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2394
706baf4c
TV
23952020-10-28 Tom de Vries <tdevries@suse.de>
2396
2397 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2398 -readnow.
2399
b448cca5
TV
24002020-10-27 Tom de Vries <tdevries@suse.de>
2401
2402 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2403
5868da03
TV
24042020-10-27 Tom de Vries <tdevries@suse.de>
2405
2406 * gdb.base/maint.exp: Update for -readnow.
2407
06db6ec3
TV
24082020-10-27 Tom de Vries <tdevries@suse.de>
2409
2410 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2411 -readnow.
2412
934a1764
GB
24132020-10-14 Gary Benson <gbenson@redhat.com>
2414
2415 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2416 "_vptr$Base" as correct, in addition to "_vptr.Base".
2417 (test_mixed): Likewise.
2418
0bf21fbd
GB
24192020-10-27 Gary Benson <gbenson@redhat.com>
2420
2421 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2422 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2423
b1d4d8d1
TBA
24242020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2425
2426 * gdb.base/condbreak.exp: Update the completion tests to
2427 consider the '-force' flag.
2428
bd24c5d6
TV
24292020-10-27 Tom de Vries <tdevries@suse.de>
2430
2431 * gdb.base/list-ambiguous-readnow.exp: New file.
2432
733d554a
TBA
24332020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2434
2435 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2436 the condition.
2437 * gdb.linespec/cpcompletion.exp: Update to consider the
2438 '-force-condition' keyword.
2439 * gdb.linespec/explicit.exp: Ditto.
2440 * lib/completion-support.exp: Ditto.
2441
b5fa468f
TBA
24422020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2443
2444 * gdb.base/condbreak-multi-context.cc: New file.
2445 * gdb.base/condbreak-multi-context.exp: New file.
2446
b3247276
TT
24472020-10-26 Tom Tromey <tom@tromey.com>
2448
2449 * lib/mi-support.exp (default_mi_gdb_start): Call
2450 gdb_stdin_log_init.
2451 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2452 subtract one from gdb_instances.
2453 (gdb_stdin_log_write): Flush in_file.
2454
1c47ec3e
TV
24552020-10-26 Tom de Vries <tdevries@suse.de>
2456
2457 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2458
6390859c
TT
24592020-10-26 Tom Tromey <tromey@adacore.com>
2460
2461 * gdb.ada/unsigned_range/foo.adb: New file.
2462 * gdb.ada/unsigned_range/pack.adb: New file.
2463 * gdb.ada/unsigned_range/pack.ads: New file.
2464 * gdb.ada/unsigned_range.exp: New file.
2465
55c3ad88
TV
24662020-10-26 Tom de Vries <tdevries@suse.de>
2467
2468 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2469
1612c4bb
TV
24702020-10-26 Tom de Vries <tdevries@suse.de>
2471
2472 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2473 for CU.
2474 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2475
7d72802b
TV
24762020-10-23 Tom de Vries <tdevries@suse.de>
2477
2478 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2479 DW_FORM_string.
2480 (Dwarf::_default_form): New proc.
2481 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2482 guessed.
2483
9476b583
TV
24842020-10-23 Tom de Vries <tdevries@suse.de>
2485
2486 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2487 * gdb.dwarf2/atomic-type.exp: Same.
2488 * gdb.dwarf2/bad-regnum.exp: Same.
2489 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2490 * gdb.dwarf2/dw2-align.exp: Same.
2491 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2492 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2493 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2494 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2495 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2496 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2497 * gdb.dwarf2/enum-type.exp: Same.
2498 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2499 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2500 * gdb.dwarf2/main-subprogram.exp: Same.
2501 * gdb.dwarf2/missing-type-name.exp: Same.
2502 * gdb.dwarf2/nonvar-access.exp: Same.
2503 * gdb.dwarf2/typedef-void-finish.exp: Same.
2504 * gdb.dwarf2/var-access.exp: Same.
2505 * gdb.dwarf2/void-type.exp: Same.
2506
4a636814
SM
25072020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2508
2509 PR gdb/26693
2510 * gdb.dwarf2/template-specification-full-name.exp: New test.
2511
557fc257
LM
25122020-10-22 Luis Machado <luis.machado@linaro.org>
2513
2514 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2515 expected an offset from the function.
2516 * gdb.base/msym-bp.exp (test): Likewise.
2517
6b4c676c
AB
25182020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2519
2520 * gdb.fortran/array-slices.exp: Add a new test.
2521
98cec4f6
GB
25222020-10-21 Gary Benson <gbenson@redhat.com>
2523
2524 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2525 fullname test with Clang. Also expand comments generally.
2526
ae86f581
TV
25272020-10-20 Tom de Vries <tdevries@suse.de>
2528
2529 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2530
8c161360
TV
25312020-10-20 Tom de Vries <tdevries@suse.de>
2532
2533 * gdb.dwarf2/arr-stride.c: Remove.
2534 * gdb.dwarf2/arr-stride.exp: Use main.c.
2535 * gdb.dwarf2/arr-subrange.c: Remove.
2536 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2537 * gdb.dwarf2/bad-regnum.c: Remove.
2538 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2539 * gdb.dwarf2/corrupt.c: Remove.
2540 * gdb.dwarf2/corrupt.exp: Use main.c.
2541 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2542 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2543 * gdb.dwarf2/dw2-icycle.c: Remove.
2544 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2545 * gdb.dwarf2/formdata16.c: Remove.
2546 * gdb.dwarf2/formdata16.exp: Use main.c.
2547 * gdb.dwarf2/implptrconst.c: Remove.
2548 * gdb.dwarf2/implptrconst.exp: Use main.c.
2549 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2550 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2551 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2552 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2553
9c2412ec
TV
25542020-10-20 Tom de Vries <tdevries@suse.de>
2555
2556 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2557 file.
2558 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2559
0cd2ad78
TV
25602020-10-20 Tom de Vries <tdevries@suse.de>
2561
2562 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2563 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2564 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2565 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2566 * gdb.dwarf2/dw2-ranges.exp: Same.
2567 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2568 * gdb.dwarf2/var-access.exp: Same.
2569
22cc388e
TT
25702020-10-19 Tom Tromey <tromey@adacore.com>
2571
2572 PR tui/26719
2573 * gdb.tui/list.exp: Check source window contents after focus
2574 change.
2575
520596f2
TV
25762020-10-17 Tom de Vries <tdevries@suse.de>
2577
2578 PR symtab/26317
2579 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2580
d1c8a76d
TV
25812020-10-17 Tom de Vries <tdevries@suse.de>
2582
2583 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2584 as suffix.
2585 * gdb.dwarf2/atomic.c: Rename to ...
2586 * gdb.dwarf2/atomic-type.c: ... this.
2587 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2588 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2589 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2590 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2591 * gdb.dwarf2/fission-mix2.c: Rename to ...
2592 * gdb.dwarf2/fission-mix-2.c: ... this.
2593 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2594 standard_testfile.
2595 * gdb.dwarf2/ada-valprint-error.exp: Same.
2596 * gdb.dwarf2/arr-stride.exp: Same.
2597 * gdb.dwarf2/arr-subrange.exp: Same.
2598 * gdb.dwarf2/atomic-type.exp: Same.
2599 * gdb.dwarf2/bad-regnum.exp: Same.
2600 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2601 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2602 * gdb.dwarf2/clang-debug-names.exp: Same.
2603 * gdb.dwarf2/comp-unit-lang.exp: Same.
2604 * gdb.dwarf2/corrupt.exp: Same.
2605 * gdb.dwarf2/count.exp: Same.
2606 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2607 * gdb.dwarf2/data-loc.exp: Same.
2608 * gdb.dwarf2/dw2-align.exp: Same.
2609 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2610 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2611 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2612 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2613 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2614 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2615 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2616 * gdb.dwarf2/dw2-inline-param.exp: Same.
2617 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2618 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2619 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2620 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2621 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2622 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2623 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2624 * gdb.dwarf2/dw2-param-error.exp: Same.
2625 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2626 * gdb.dwarf2/dw2-ranges.exp: Same.
2627 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2628 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2629 * gdb.dwarf2/dw4-sig-types.exp: Same.
2630 * gdb.dwarf2/dynarr-ptr.exp: Same.
2631 * gdb.dwarf2/enum-type.exp: Same.
2632 * gdb.dwarf2/fission-mix.exp: Same.
2633 * gdb.dwarf2/formdata16.exp: Same.
2634 * gdb.dwarf2/implptrconst.exp: Same.
2635 * gdb.dwarf2/implptrpiece.exp: Same.
2636 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2637 * gdb.dwarf2/main-subprogram.exp: Same.
2638 * gdb.dwarf2/method-ptr.exp: Same.
2639 * gdb.dwarf2/missing-sig-type.exp: Same.
2640 * gdb.dwarf2/nonvar-access.exp: Same.
2641 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2642 * gdb.dwarf2/shortpiece.exp: Same.
2643 * gdb.dwarf2/staticvirtual.exp: Same.
2644 * gdb.dwarf2/subrange.exp: Same.
2645 * gdb.dwarf2/symtab-producer.exp: Same.
2646 * gdb.dwarf2/typedef-void-finish.exp: Same.
2647 * gdb.dwarf2/var-access.exp: Same.
2648 * gdb.dwarf2/variant.exp: Same.
2649 * gdb.dwarf2/void-type.exp: Same.
2650 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2651 dw2-ranges-main.c.
2652 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2653
472d09c1
TV
26542020-10-16 Tom de Vries <tdevries@suse.de>
2655
2656 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2657
afe75f6d
TV
26582020-10-16 Tom de Vries <tdevries@suse.de>
2659
2660 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2661
8c8bd0ba
TV
26622020-10-14 Tom de Vries <tdevries@suse.de>
2663
2664 PR testsuite/26732
2665 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2666 scenario 2.
2667 * gdb.ada/mi_catch_ex_hand.exp: Same.
2668
b75d55d4
PA
26692020-10-13 Pedro Alves <pedro@palves.net>
2670
2671 * lib/mi-support.exp (mi_clean_restart): New.
2672 (mi_run_to_main): Delete.
2673 All callers adjust to use mi_clean_restart / mi_runto_main.
2674
e777225b
PA
26752020-10-13 Pedro Alves <pedro@palves.net>
2676
2677 * config/monitor.exp: Use "list -q".
2678 * gdb.arch/gdb1558.exp: Use "break -q".
2679 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2680 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2681 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2682 * gdb.base/commands.exp: Use "break -q".
2683 * gdb.base/condbreak.exp: Use "break -q".
2684 * gdb.base/ctf-ptype.exp: Use "list -q".
2685 * gdb.base/define.exp: Use "break -q".
2686 * gdb.base/del.exp: Use "break -q".
2687 * gdb.base/fullname.exp: Use "break -q".
2688 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2689 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2690 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2691 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2692 "hbreak -q".
2693 * gdb.base/included.exp: Use "list -q".
2694 * gdb.base/label.exp: Use "break -q".
2695 * gdb.base/lineinc.exp: Use "break -q".
2696 * gdb.base/list.exp: Use "list -q".
2697 * gdb.base/macscp.exp: Use "list -q".
2698 * gdb.base/pending.exp: Use "break -q".
2699 * gdb.base/prologue-include.exp: Use "break -q".
2700 * gdb.base/ptype.exp: Use "list -q".
2701 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2702 * gdb.base/server-del-break.exp: Use "break -q".
2703 * gdb.base/style.exp: Use "break -q".
2704 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2705 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2706 * gdb.cp/exception.exp: Use "tbreak -q".
2707 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2708 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2709 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2710 * gdb.dwarf2/pr13961.exp: Use "break -q".
2711 * gdb.linespec/explicit.exp: Use "list -q".
2712 * gdb.linespec/linespec.exp: Use "break -q".
2713 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2714 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2715 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2716 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2717 * gdb.trace/change-loc.exp: Use "break -q".
2718 * gdb.trace/pending.exp: Use "break -q".
2719 * gdb.tui/basic.exp: Use "list -q".
2720 * gdb.tui/list-before.exp: Use "list -q".
2721 * gdb.tui/list.exp: Use "list -q".
2722 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2723
8abd8ee8
PA
27242020-10-13 Pedro Alves <pedro@palves.net>
2725
2726 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2727 saved breakpoints file.
2728 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2729 inspecting breakpoint list.
2730 * lib/gdb.exp (runto_main): Add "qualified" to options.
2731 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2732 and handle it.
2733 (mi_runto_main): Pass 1 as qualified argument.
2734
f71e6719
PA
27352020-10-13 Pedro Alves <pedro@palves.net>
2736
2737 * lib/mi-support.exp (mi_runto_main): New proc.
2738 (mi_run_to_main): Use it.
2739 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2740 * gdb.mi/mi-var-cmd.exp: Likewise.
2741 * gdb.mi/mi-var-invalidate.exp: Likewise.
2742 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2743 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2744 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2745 * gdb.mi/user-selected-context-sync.exp: Likewise.
2746 * gdb.opt/inline-cmds.exp: Likewise.
2747 * gdb.python/py-framefilter-mi.exp: Likewise.
2748 * gdb.python/py-mi.exp: Likewise.
2749
50441f0f
PA
27502020-10-13 Pedro Alves <pedro@palves.net>
2751
2752 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2753 "runto main".
2754 * gdb.ada/small_reg_param.exp: Likewise.
2755 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2756 * gdb.base/annota1.exp: Likewise.
2757 * gdb.base/anon.exp: Likewise.
2758 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2759 * gdb.base/dprintf-non-stop.exp: Likewise.
2760 * gdb.base/dprintf.exp: Likewise.
2761 * gdb.base/gdb11530.exp: Likewise.
2762 * gdb.base/gdb11531.exp: Likewise.
2763 * gdb.base/gnu_vector.exp: Likewise.
2764 * gdb.base/interrupt-noterm.exp: Likewise.
2765 * gdb.base/memattr.exp: Likewise.
2766 * gdb.base/step-over-syscall.exp: Likewise.
2767 * gdb.base/watch-cond-infcall.exp: Likewise.
2768 * gdb.base/watch-read.exp: Likewise.
2769 * gdb.base/watch-vfork.exp: Likewise.
2770 * gdb.base/watch_thread_num.exp: Likewise.
2771 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2772 * gdb.guile/scm-frame-inline.exp: Likewise.
2773 * gdb.linespec/explicit.exp: Likewise.
2774 * gdb.opt/inline-break.exp: Likewise.
2775 * gdb.python/py-frame-inline.exp: Likewise.
2776 * gdb.reverse/break-precsave.exp: Likewise.
2777 * gdb.reverse/break-reverse.exp: Likewise.
2778 * gdb.reverse/consecutive-precsave.exp: Likewise.
2779 * gdb.reverse/consecutive-reverse.exp: Likewise.
2780 * gdb.reverse/finish-precsave.exp: Likewise.
2781 * gdb.reverse/finish-reverse.exp: Likewise.
2782 * gdb.reverse/fstatat-reverse.exp: Likewise.
2783 * gdb.reverse/getresuid-reverse.exp: Likewise.
2784 * gdb.reverse/i386-precsave.exp: Likewise.
2785 * gdb.reverse/i386-reverse.exp: Likewise.
2786 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2787 * gdb.reverse/i387-env-reverse.exp: Likewise.
2788 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2789 * gdb.reverse/insn-reverse.exp: Likewise.
2790 * gdb.reverse/machinestate-precsave.exp: Likewise.
2791 * gdb.reverse/machinestate.exp: Likewise.
2792 * gdb.reverse/pipe-reverse.exp: Likewise.
2793 * gdb.reverse/readv-reverse.exp: Likewise.
2794 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2795 * gdb.reverse/rerun-prec.exp: Likewise.
2796 * gdb.reverse/s390-mvcle.exp: Likewise.
2797 * gdb.reverse/solib-precsave.exp: Likewise.
2798 * gdb.reverse/solib-reverse.exp: Likewise.
2799 * gdb.reverse/step-precsave.exp: Likewise.
2800 * gdb.reverse/step-reverse.exp: Likewise.
2801 * gdb.reverse/time-reverse.exp: Likewise.
2802 * gdb.reverse/until-precsave.exp: Likewise.
2803 * gdb.reverse/until-reverse.exp: Likewise.
2804 * gdb.reverse/waitpid-reverse.exp: Likewise.
2805 * gdb.reverse/watch-precsave.exp: Likewise.
2806 * gdb.reverse/watch-reverse.exp: Likewise.
2807 * gdb.threads/kill.exp: Likewise.
2808 * gdb.threads/tid-reuse.exp: Likewise.
2809
d3a07122
SM
28102020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2811
2812 PR gdb/26642
2813 * gdb.base/maint-target-async-off.c: New test.
2814 * gdb.base/maint-target-async-off.exp: New test.
2815
c65c6c42
AM
28162020-10-13 Alan Modra <amodra@gmail.com>
2817
2818 * gdb.arch/powerpc-altivec.s,
2819 * gdb.arch/powerpc-power7.s,
2820 * gdb.arch/powerpc-power8.s,
2821 * gdb.arch/powerpc-power9.s,
2822 * gdb.arch/powerpc-vsx.s,
2823 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2824 * gdb.arch/powerpc-altivec.exp,
2825 * gdb.arch/powerpc-power7.exp,
2826 * gdb.arch/powerpc-power8.exp,
2827 * gdb.arch/powerpc-power9.exp,
2828 * gdb.arch/powerpc-vsx.exp,
2829 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2830 disassembly of mfvsrd/mtvsrd.
2831
f4a0f710
AM
28322020-10-13 Alan Modra <amodra@gmail.com>
2833
2834 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2835 "target architecture" output.
2836 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2837 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2838 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2839 * gdb.arch/s390-disassembler-options.exp: Likewise.
2840
87a37e5e
PA
28412020-10-12 Pedro Alves <pedro@palves.net>
2842
2843 PR exp/26602
2844 PR c++/26550
2845 * gdb.cp/ambiguous.cc (marker1): Delete.
2846 (main): Initialize all the fields of the locals. Replace marker1
2847 call with a "set breakpoint here" marker.
2848 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2849 instead of running to marker1. Add tests printing all the
2850 variables and all the fields of the variables.
2851 (test_ambiguous): New proc, expecting the new GDB output when a
2852 field access is ambiguous. Change all "warning: X ambiguous"
2853 tests to use it.
2854
71e1b6b0
GB
28552020-10-12 Gary Benson <gbenson@redhat.com>
2856
2857 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2858 * gdb.base/msym-bp-2.c (foo): Likewise.
2859 * gdb.base/msym-lang.c (foo): Likewise.
2860 * gdb.base/msym-lang-main.c (foo): Likewise.
2861 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2862 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2863 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2864 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2865 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2866 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2867 * gdb.python/py-objfile.c (static_var): Likewise.
2868 * gdb.python/py-symbol.c (rr): Likewise.
2869 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2870 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2871
9370fd51
AB
28722020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2873
2874 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2875 output of backtrace.
2876
7c184d33
TT
28772020-10-09 Tom Tromey <tromey@adacore.com>
2878
2879 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2880 (Rec): Add field. Fix range.
2881 * gdb.ada/scalar_storage.exp: Update.
2882
3d87245c
HD
28832020-10-09 Hannes Domani <ssbssa@yahoo.de>
2884
2885 PR exp/26714
2886 * gdb.base/printcmds.exp: Add tests for void results.
2887
f5c4b229
JV
28882020-10-09 Jan Vrany <jan.vrany@labware.com>
2889
2890 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2891 is emmited for both 'set directories' and 'directory' commands.
2892
b2701685
TT
28932020-10-08 Tom Tromey <tom@tromey.com>
2894
2895 * gdb.base/style.exp: Check that "main"'s name is styled.
2896
e86efb33
TT
28972020-10-07 Tom Tromey <tromey@adacore.com>
2898
2899 * gdb.base/find.exp: Rename some tests.
2900
30897591
GB
29012020-10-06 Gary Benson <gbenson@redhat.com>
2902
2903 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2904 * gdb.base/list1.c (unused): Likewise.
2905
ced4a4c1
GB
29062020-10-06 Gary Benson <gbenson@redhat.com>
2907
2908 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2909 __attribute__ ((used)).
2910 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2911
ed3bdac4
AB
29122020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2913
2914 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2915 make use of regions throughout.
2916 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2917 not {...}.
2918 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2919
cd096ec8
HD
29202020-10-05 Hannes Domani <ssbssa@yahoo.de>
2921
2922 * gdb.base/call-sc.c: Fix return struct on stack test case.
2923 * gdb.base/call-sc.exp: Likewise.
2924
3ee6f75d
GB
29252020-10-02 Gary Benson <gbenson@redhat.com>
2926
2927 * README: Fix "paralell".
2928
f65825ec
GB
29292020-09-30 Gary Benson <gbenson@redhat.com>
2930
2931 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2932 Convert directive to lowercase.
2933 (.Labbrev1_begin): Add missing label.
2934 (abbrev code 0x1): Remove DW_AT_stmt_list.
2935 (.Ldie_b): Likewise.
2936
5f278258
TT
29372020-09-27 Tom Tromey <tom@tromey.com>
2938
2939 * gdb.tui/new-layout.exp: Use with_test_prefix.
2940
8f9929bb
GR
29412020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2942
2943 PR python/26586
2944 * gdb.python/python.exp: add test cases for the from_tty
2945 argument to gdb.execute.
2946
c20c017b
GB
29472020-09-25 Gary Benson <gbenson@redhat.com>
2948
2949 * gdb.base/infcall-nested-structs.exp.tcl: Add
2950 additional_flags=-Wno-tautological-compare for C++
2951 tests when compiling using Clang.
2952
68d654af
GB
29532020-09-25 Gary Benson <gbenson@redhat.com>
2954
2955 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2956 for .c files.
2957
b551a89f
TT
29582020-09-24 Tom Tromey <tromey@adacore.com>
2959
2960 PR tui/26638:
2961 * gdb.tui/list.exp: Check output of "focus next".
2962
20a5fcbd
TT
29632020-09-23 Tom Tromey <tom@tromey.com>
2964
2965 * gdb.dwarf2/intbits.exp: New file.
2966 * gdb.dwarf2/intbits.c: New file.
2967
b167e53f
PA
29682020-09-20 Pedro Alves <pedro@palves.net>
2969
2970 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2971 spawn_id before calling remote_close. Close secondary MI channel.
2972
dbc49e9f
PA
29732020-09-20 Pedro Alves <pedro@palves.net>
2974
2975 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2976 fails.
2977
c8d5abea
AB
29782020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2979
2980 * gdb.fortran/array-slices.exp: Update expected results.
2981 * gdb.fortran/class-allocatable-array.exp: Likewise.
2982 * gdb.fortran/multi-dim.exp: Likewise.
2983 * gdb.fortran/vla-type.exp: Likewise.
2984 * gdb.mi/mi-vla-fortran.exp: Likewise.
2985
14f9473c
VC
29862020-09-18 Victor Collod <vcollod@nvidia.com>
2987
2988 PR gdb/26635
2989 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2990 compatible with i386, and move it to...
2991 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2992 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2993 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2994
e8ef12b9
PA
29952020-09-18 Pedro Alves <pedro@palves.net>
2996
2997 PR gdb/26631
2998 * gdb.multi/multi-target-thread-find.exp: New file.
2999
e11daf7a
PA
30002020-09-18 Pedro Alves <pedro@palves.net>
3001
3002 * gdb.multi/multi-target-continue.exp: New file, factored out from
3003 multi-target.exp.
3004 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
3005 multi-target.exp.
3006 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
3007 multi-target.exp.
3008 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
3009 multi-target.exp.
3010 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
3011 multi-target.exp.
3012 * gdb.multi/multi-target.exp.tcl: New file, factored out from
3013 multi-target.exp.
3014 * gdb.multi/multi-target.exp: Delete.
3015
d0edc2b8
AB
30162020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3017
3018 * gdb.fortran/array-slices.exp: Add missing message data.
3019
7474326c
PA
30202020-09-17 Pedro Alves <pedro@palves.net>
3021
3022 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
3023
dd23068d
PA
30242020-09-17 Pedro Alves <pedro@palves.net>
3025
3026 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
3027 full prototype.
3028
0640a543
PA
30292020-09-17 Pedro Alves <pedro@palves.net>
3030
3031 * gdb.python/py-as-string.c: Add cast.
3032
ef0cdbc1
PA
30332020-09-17 Pedro Alves <pedro@palves.net>
3034
3035 * gdb.base/sizeof.c (fill): Add cast.
3036
3a5eeb8b
PA
30372020-09-17 Pedro Alves <pedro@palves.net>
3038
3039 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
3040
a8129512
PA
30412020-09-17 Pedro Alves <pedro@palves.net>
3042
3043 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
3044 linkage name.
3045 * gdb.base/prologue.exp: Use print /d.
3046 * gdb.base/symbol-alias.exp: Handle C++ output.
3047 * gdb.base/symbol-alias2.c: Handle C++ output.
3048 [__cplusplus] (func): Explicitly specify linkage name.
3049
a83cdcb6
PA
30502020-09-17 Pedro Alves <pedro@palves.net>
3051
3052 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
3053 (struct my_key_t): ... this. Adjust all references.
3054 (struct value_t): Rename to ...
3055 (struct my_value_t): ... this. Adjust all references.
3056 (create_map, add_map_element, create_map_map)
3057 (add_map_map_element): Add casts.
3058
d4bcee5c
PA
30592020-09-17 Pedro Alves <pedro@palves.net>
3060
3061 * gdb.python/py-framefilter-mi.c (funca): Add casts.
3062 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
3063
81f90489
PA
30642020-09-17 Pedro Alves <pedro@palves.net>
3065
3066 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
3067
0a229804
PA
30682020-09-17 Pedro Alves <pedro@palves.net>
3069
3070 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
3071 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
3072 (charfoo, intfoo): Define full prototype.
3073 * gdb.base/ptype1.c (charfoo): Define full prototype.
3074 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
3075 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
3076
c3e5138d
PA
30772020-09-17 Pedro Alves <pedro@palves.net>
3078
3079 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
3080 Don't define.
3081 (utf_32_string): Compile for both C and C++.
3082 * gdb.base/charset.exp: Use "print /d".
3083
151fdbad
PA
30842020-09-17 Pedro Alves <pedro@palves.net>
3085
3086 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
3087 (nullptr): Rename to ...
3088 (null_ptr): ... this.
3089 * gdb.base/watchpoint.exp: Adjust to rename.
3090
18a25b64
PA
30912020-09-17 Pedro Alves <pedro@palves.net>
3092
3093 * gdb.base/printcmds.c (three, flag_enum_without_zero)
3094 (three_not_flag): Add casts.
3095
11fac337
PA
30962020-09-17 Pedro Alves <pedro@palves.net>
3097
3098 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
3099 char array.
3100 (main): Add references to Barrier, TestStrings, TestStringsH and
3101 TestStringsW.
3102 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
3103 and expect a full prototype in C++.
3104
52626c58
PA
31052020-09-17 Pedro Alves <pedro@palves.net>
3106
3107 * gdb.base/nested-addr.c (main): Add cast.
3108 * gdb.base/nested-addr.exp: Use "print /d".
3109
52bb0902
PA
31102020-09-17 Pedro Alves <pedro@palves.net>
3111
3112 * gdb.base/break.exp (func): New. Use it throughout when
3113 expecting a function name.
3114
73e18ac9
PA
31152020-09-17 Pedro Alves <pedro@palves.net>
3116
3117 * gdb.base/display.exp: Issue "set print asm-demangle on".
3118
c8b18808
PA
31192020-09-17 Pedro Alves <pedro@palves.net>
3120
3121 * gdb.base/find.c: Include <string.h>.
3122 (init_bufs): Add cast.
3123 * gdb.base/find.exp: Issue "set print asm-demangle on".
3124
fe830662
TT
31252020-09-16 Tom Tromey <tromey@adacore.com>
3126
3127 PR gdb/26598:
3128 * gdb.base/skipcxx.exp: New file.
3129 * gdb.base/skipcxx.cc: New file.
3130
945ff6e2
TV
31312020-09-16 Tom de Vries <tdevries@suse.de>
3132
3133 PR testsuite/26617
3134 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
3135 WITH_DEBUG_SECTIONS is defined.
3136 (xstr, str): New macro.
3137 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
3138 to get start and size of _Dmain.
3139 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
3140 using additional_flags.
3141
da1df1db
TBA
31422020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3143
3144 * gdb.base/bp-cmds-sourced-script.c: New file.
3145 * gdb.base/bp-cmds-sourced-script.exp: New test.
3146 * gdb.base/bp-cmds-sourced-script.gdb: New file.
3147
337882d4
TV
31482020-09-16 Tom de Vries <tdevries@suse.de>
3149
3150 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
3151 get the gdb prompt after issuing "monitor exit".
3152
7361f908
TV
31532020-09-16 Tom de Vries <tdevries@suse.de>
3154
3155 PR testsuite/26624
3156 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
3157
4d91ddd3
TV
31582020-09-16 Tom de Vries <tdevries@suse.de>
3159
3160 PR testsuite/26618
3161 * gdb.tui/new-layout.exp: Escape unbalanced braces.
3162
08cc37dd
TT
31632020-09-15 Tom Tromey <tromey@adacore.com>
3164
3165 PR rust/26197:
3166 * lib/rust-support.exp (rust_llvm_version): New proc.
3167 * gdb.rust/simple.exp: Check rust_llvm_version.
3168
ee6372f2
TV
31692020-09-14 Tom de Vries <tdevries@suse.de>
3170
3171 * gdb.rust/traits.exp: Fix PATH warning.
3172
dc3a371e
PA
31732020-09-13 Pedro Alves <pedro@palves.net>
3174
3175 * gdb.base/catch-follow-exec.c (main): Add explicit return
3176 statement.
3177 * gdb.base/catch-signal.c (main): Likewise.
3178 * gdb.base/condbreak-call-false.c (main): Likewise.
3179 * gdb.base/consecutive.c (main): Add explicit return
3180 statement and return type.
3181 * gdb.base/cursal.c (main): Add explicit return statement.
3182 * gdb.base/cvexpr.c (main): Likewise.
3183 * gdb.base/display.c (main): Add explicit return statement and
3184 return type.
3185 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
3186 * gdb.base/endianity.c (main): Likewise.
3187 * gdb.base/execd-prog.c (main): Likewise.
3188 * gdb.base/gdb1090.c (main): Likewise.
3189 * gdb.base/info_qt.c (main): Likewise.
3190 * gdb.base/lineinc.c (main): Likewise.
3191 * gdb.base/load-command.c (main): Likewise.
3192 * gdb.base/macscp1.c (main): Likewise.
3193 * gdb.base/pr10179-a.c (main): Likewise.
3194 * gdb.base/quit-live.c (main): Likewise.
3195 * gdb.base/scope0.c (main): Likewise.
3196 * gdb.base/settings.c (main): Likewise.
3197 * gdb.base/stack-checking.c (main): Return int.
3198 * gdb.base/varargs.c (main): Add explicit return statement.
3199 * gdb.cp/ambiguous.cc (main): Likewise.
3200 * gdb.cp/anon-struct.cc (main): Likewise.
3201 * gdb.cp/anon-union.cc (main): Likewise.
3202 * gdb.cp/bool.cc (main): Likewise.
3203 * gdb.cp/bs15503.cc (main): Likewise.
3204 * gdb.cp/cplusfuncs.cc (main): Likewise.
3205 * gdb.cp/cttiadd.cc (main): Likewise.
3206 * gdb.cp/extern-c.cc (main): Likewise.
3207 * gdb.cp/filename.cc (main): Likewise.
3208 * gdb.cp/formatted-ref.cc (main): Likewise.
3209 * gdb.cp/mb-ctor.cc (main): Likewise.
3210 * gdb.cp/member-ptr.cc (main): Likewise.
3211 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
3212 * gdb.cp/overload-const.cc (main): Likewise.
3213 * gdb.cp/paren-type.cc (main): Likewise.
3214 * gdb.cp/parse-lang.cc (main): Likewise.
3215 * gdb.cp/pr-1023.cc (main): Likewise.
3216 * gdb.cp/psmang1.cc (main): Likewise.
3217 * gdb.cp/readnow-language.cc (main): Likewise.
3218 * gdb.cp/ref-params.cc (main): Likewise.
3219 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
3220 * gdb.cp/virtbase2.cc (main): Likewise.
3221 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
3222 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
3223 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
3224 * gdb.mi/mi-console.c (main): Likewise.
3225 * gdb.mi/mi-read-memory.c (main): Likewise.
3226 * gdb.modula2/multidim.c (main): Likewise.
3227 * gdb.opt/inline-small-func.c (main): Likewise.
3228 * gdb.python/py-rbreak.c (main): Likewise.
3229 * gdb.stabs/exclfwd1.c (main): Likewise.
3230 * gdb.trace/qtro.c (main): Likewise.
3231
af26601c
PA
32322020-09-13 Pedro Alves <pedro@palves.net>
3233
3234 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
3235 instead of getenv.
3236
2f4b83cd
PA
32372020-09-13 Pedro Alves <pedro@palves.net>
3238
3239 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
3240 instead of spawning GDB with remote_spawn.
3241 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
3242 gdb_spawn instead of spawning GDB with remote_spawn.
3243
c49da0e4
PA
32442020-09-13 Pedro Alves <pedro@palves.net>
3245
3246 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
3247 file and add calls to first and second.
3248 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
3249 add call to f.
3250
6791b117
PA
32512020-09-13 Pedro Alves <pedro@palves.net>
3252
3253 * gdb.mi/mi-break-qualified.cc: New file.
3254 * gdb.mi/mi-break-qualified.exp: New file.
3255 * lib/mi-support.exp (mi_create_breakpoint_multi)
3256 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
3257 procedures.
3258 (mi_create_breakpoint_1): New, factored out from
3259 mi_create_breakpoint.
3260
3b8d4c5c
PA
32612020-09-13 Pedro Alves <pedro@palves.net>
3262
3263 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3264 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3265 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3266 (register_class): Delete.
3267 (main): Don't call register_class.
3268
d5f96005
PA
32692020-09-13 Pedro Alves <pedro@palves.net>
3270
3271 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3272 (do_tests): Remove "calling method for small class" test.
3273 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3274 (register_class): Delete.
3275 (main): Don't call register_class.
3276 * gdb.cp/call-method-register.exp: New file, based on bits removed
3277 from classes.exp.
3278 * gdb.cp/call-method-register.cc: New file, based on bits removed
3279 from classes.cc.
3280
77f2120b
PA
32812020-09-13 Pedro Alves <pedro@palves.net>
3282
3283 * gdb.base/msym-bp-2.c: New.
3284 * gdb.base/msym-bp-shl-lib.c: New file.
3285 * gdb.base/msym-bp-shl-main-2.c: New file.
3286 * gdb.base/msym-bp-shl-main.c: New file.
3287 * gdb.base/msym-bp-shl.exp: New file.
3288 * gdb.base/msym-bp.c: New file.
3289 * gdb.base/msym-bp.exp: New file.
3290
32aea73e
JB
32912020-09-13 Joel Brobecker <brobecker@adacore.com>
3292
3293 * gdb.base/default.exp: Change $_gdb_major to 11.
3294
2a67f09d
FW
32952020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3296 Felix Willgerodt <Felix.Willgerodt@intel.com>
3297
3298 * x86-avx512bf16.c: New file.
3299 * x86-avx512bf16.exp: Likewise.
3300 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3301
ad570dd7
TV
33022020-09-11 Tom de Vries <tdevries@suse.de>
3303
3304 PR exp/26602
3305 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3306
a56f7391
TBA
33072020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3308
3309 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3310
918619e5
AM
33112020-09-10 Alan Modra <amodra@gmail.com>
3312
3313 PR 26597
3314 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3315
cac1e71d
TV
33162020-09-08 Tom de Vries <tdevries@suse.de>
3317
3318 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3319 after gdb_starti_cmd.
3320
c5cd900e
AKS
33212020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3322
3323 * lib/fortran.exp (fortran_complex8): New proc.
3324 (fortran_complex16): New proc.
3325 * gdb.fortran/complex.exp: Use routines from fortran.exp
3326 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3327 * gdb.fortran/vla-ptr-info.exp: Likewise.
3328
8f5c6526
TV
33292020-09-03 Tom de Vries <tdevries@suse.de>
3330
3331 PR breakpoint/26546
3332 * gdb.base/label-without-address.exp: Runto main first.
3333
02c6f3f1
TT
33342020-09-02 Tom Tromey <tromey@adacore.com>
3335
3336 * gdb.ada/mi_var_access.exp: Test children of access variable.
3337 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3338 * gdb.ada/mi_var_array.exp: Update.
3339
efe24f05
KB
33402020-08-31 Kevin Buettner <kevinb@redhat.com>
3341
3342 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3343 on docker w/ AUFS storage driver.
3344
973695d6
KB
33452020-08-31 Kevin Buettner <kevinb@redhat.com>
3346
3347 * gdb.base/corefile2.exp (renamed binfile): New tests.
3348
f3bd50f1
SM
33492020-08-31 Simon Marchi <simon.marchi@efficios.com>
3350
3351 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3352
22b9b4b0
SL
33532020-08-31 Simon Marchi <simon.marchi@efficios.com>
3354
3355 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3356 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3357
8efaf6b3
SM
33582020-08-31 Simon Marchi <simon.marchi@efficios.com>
3359
3360 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3361 output, printing a "not saved" value from history and printing a
3362 convenience variable created from a "not saved" value.
3363
e840f2e3
TV
33642020-08-31 Tom de Vries <tdevries@suse.de>
3365
3366 * gdb.base/eh_return.exp: Use nopie.
3367
8f57f343
PA
33682020-08-28 Pedro Alves <pedro@palves.net>
3369
3370 * gdb.base/advance-until-multiple-locations.exp
3371 (advance_overload, until_overload): Adjust to match the
3372 frame/function header instead of the source line text.
3373
626d2320
TV
33742020-08-28 Tom de Vries <tdevries@suse.de>
3375
3376 * gdb.base/label-without-address.c: New test.
3377 * gdb.base/label-without-address.exp: New file.
3378
df631783
PA
33792020-08-27 Pedro Alves <pedro@palves.net>
3380
3381 PR gdb/26523
3382 PR gdb/26524
3383 * gdb.base/advance-until-multiple-locations.cc: New.
3384 * gdb.base/advance-until-multiple-locations.exp: New.
3385
48b076bb
SM
33862020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3387
3388 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3389
c2015ce4
AB
33902020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3391
3392 * gdb.arch/amd64-byte.exp: Make test names unique, use
3393 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3394 * gdb.arch/amd64-dword.exp: Likewise.
3395 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3396 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3397 unique.
3398 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3399 * gdb.arch/amd64-word.exp: Make test names unique, use
3400 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3401 * gdb.arch/i386-byte.exp: Make test names unique, use
3402 gdb_breakpoint.
3403 * gdb.arch/i386-word.exp: Likewise.
3404
995d3a19
SV
34052020-08-25 Shahab Vahedi <shahab@synopsys.com>
3406
3407 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3408
8cac2b31
SM
34092020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3410
3411 PR gdb/26532
3412 * gdb.threads/stepi-random-signal.exp: Update pattern.
3413
2bc19622
SM
34142020-08-25 Simon Marchi <simon.marchi@efficios.com>
3415
3416 PR gdb/26532
3417 * gdb.base/ui-redirect.exp: Update pattern.
3418
b04aa1fc
GB
34192020-08-25 Gary Benson <gbenson@redhat.com>
3420
3421 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3422 when compiling with clang.
8571e9c8 3423 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 3424
9f68b453
GB
34252020-08-25 Gary Benson <gbenson@redhat.com>
3426
3427 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3428 Add additional_flags=-Wno-inaccessible-base when compiling
3429 with GCC >= 10.1 or clang. Add additional_flags=-w when
3430 compiling with GCC < 10.
3431
3945d2d7
GM
34322020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3433
3434 PR m2/26372
fc5d6901
SM
3435 * gdb.modula2/multidim.c: New file.
3436 * gdb.modula2/multidim.exp: New file.
3945d2d7 3437
60122dbe
SM
34382020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3439
3440 * lib/gdb.exp (runto): Always emit fail on internal error.
3441
1eb8556f
SM
34422020-08-24 Simon Marchi <simon.marchi@efficios.com>
3443
3444 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3445 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3446 Likewise.
3447 * gdb.threads/stepi-random-signal.exp: Likewise.
3448
33bf4c5c
TBA
34492020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3450
3451 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3452 * gdb.trace/strace.exp: Ditto.
3453
c2fd7fae
AKS
34542020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3455
3456 * gdb.fortran/vla-type.exp: Skip commands not required for
3457 the Flang compiled binaries after prologue fix.
3458
326afb72
TT
34592020-08-17 Tom de Vries <tdevries@suse.de>
3460 Tom Tromey <tromey@adacore.com>
3461
3462 PR rust/26197:
3463 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3464
3ae7ab99
TT
34652020-08-17 Tom Tromey <tromey@adacore.com>
3466
3467 * gdb.ada/mi_var_access.exp: New file.
3468 * gdb.ada/mi_var_access/mi_access.adb: New file.
3469 * gdb.ada/mi_var_access/pck.adb: New file.
3470 * gdb.ada/mi_var_access/pck.ads: New file.
3471
f569c1c5
TV
34722020-08-16 Tom de Vries <tdevries@suse.de>
3473
3474 PR gdb/25350
3475 * gdb.base/eh_return.c: New test.
3476 * gdb.base/eh_return.exp: New file.
3477
3d11c30a
TV
34782020-08-15 Tom de Vries <tdevries@suse.de>
3479
3480 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3481 (mixed_func_1d_): Use fortran_charlen_t in decl.
3482
547ce8f0
TV
34832020-08-15 Tom de Vries <tdevries@suse.de>
3484
3485 PR backtrace/26390
3486 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3487 Update expected pattern.
3488
a54a7f13
PA
34892020-08-13 Pedro Alves <pedro@palves.net>
3490
3491 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3492 * gdb.fortran/library-module.exp: Likewise.
3493 * gdb.fortran/logical.exp: Likewise.
3494 * gdb.fortran/module.exp: Likewise.
3495 * gdb.fortran/print_type.exp: Likewise.
3496 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3497 * gdb.fortran/vla-datatypes.exp: Likewise.
3498 * gdb.fortran/vla-history.exp: Likewise.
3499 * gdb.fortran/vla-ptr-info.exp: Likewise.
3500 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3501 * gdb.fortran/vla-ptype.exp: Likewise.
3502 * gdb.fortran/vla-sizeof.exp: Likewise.
3503 * gdb.fortran/vla-type.exp: Likewise.
3504 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3505 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3506 * gdb.fortran/vla-value-sub.exp: Likewise.
3507 * gdb.fortran/vla-value.exp: Likewise.
3508
7a82e903
PA
35092020-08-13 Pedro Alves <pedro@palves.net>
3510
3511 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3512 * gdb.ada/access_to_packed_array.exp: Likewise.
3513 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3514 * gdb.ada/addr_arith.exp: Likewise.
3515 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3516 * gdb.ada/arr_arr.exp: Likewise.
3517 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3518 * gdb.ada/array_bounds.exp: Likewise.
3519 * gdb.ada/array_of_variable_length.exp: Likewise.
3520 * gdb.ada/array_ptr_renaming.exp: Likewise.
3521 * gdb.ada/array_subscript_addr.exp: Likewise.
3522 * gdb.ada/arraydim.exp: Likewise.
3523 * gdb.ada/arrayparam.exp: Likewise.
3524 * gdb.ada/arrayptr.exp: Likewise.
3525 * gdb.ada/assign_1.exp: Likewise.
3526 * gdb.ada/assign_arr.exp: Likewise.
3527 * gdb.ada/atomic_enum.exp: Likewise.
3528 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3529 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3530 * gdb.ada/bias.exp: Likewise.
3531 * gdb.ada/boolean_expr.exp: Likewise.
3532 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3533 * gdb.ada/bp_enum_homonym.exp: Likewise.
3534 * gdb.ada/bp_inlined_func.exp: Likewise.
3535 * gdb.ada/bp_on_var.exp: Likewise.
3536 * gdb.ada/bp_range_type.exp: Likewise.
3537 * gdb.ada/bp_reset.exp: Likewise.
3538 * gdb.ada/call_pn.exp: Likewise.
3539 * gdb.ada/catch_assert_if.exp: Likewise.
3540 * gdb.ada/catch_ex.exp: Likewise.
3541 * gdb.ada/catch_ex_std.exp: Likewise.
3542 * gdb.ada/char_enum.exp: Likewise.
3543 * gdb.ada/char_param.exp: Likewise.
3544 * gdb.ada/complete.exp: Likewise.
3545 * gdb.ada/cond_lang.exp: Likewise.
3546 * gdb.ada/convvar_comp.exp: Likewise.
3547 * gdb.ada/dgopt.exp: Likewise.
3548 * gdb.ada/disc_arr_bound.exp: Likewise.
3549 * gdb.ada/display_nested.exp: Likewise.
3550 * gdb.ada/dot_all.exp: Likewise.
3551 * gdb.ada/dyn_loc.exp: Likewise.
3552 * gdb.ada/dyn_stride.exp: Likewise.
3553 * gdb.ada/excep_handle.exp: Likewise.
3554 * gdb.ada/expr_delims.exp: Likewise.
3555 * gdb.ada/expr_with_funcall.exp: Likewise.
3556 * gdb.ada/exprs.exp: Likewise.
3557 * gdb.ada/fin_fun_out.exp: Likewise.
3558 * gdb.ada/fixed_cmp.exp: Likewise.
3559 * gdb.ada/formatted_ref.exp: Likewise.
3560 * gdb.ada/frame_arg_lang.exp: Likewise.
3561 * gdb.ada/frame_args.exp: Likewise.
3562 * gdb.ada/fullname_bp.exp: Likewise.
3563 * gdb.ada/fun_addr.exp: Likewise.
3564 * gdb.ada/fun_in_declare.exp: Likewise.
3565 * gdb.ada/fun_overload_menu.exp: Likewise.
3566 * gdb.ada/fun_renaming.exp: Likewise.
3567 * gdb.ada/funcall_char.exp: Likewise.
3568 * gdb.ada/funcall_param.exp: Likewise.
3569 * gdb.ada/funcall_ptr.exp: Likewise.
3570 * gdb.ada/funcall_ref.exp: Likewise.
3571 * gdb.ada/homonym.exp: Likewise.
3572 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3573 * gdb.ada/info_auto_lang.exp: Likewise.
3574 * gdb.ada/info_exc.exp: Likewise.
3575 * gdb.ada/info_types.exp: Likewise.
3576 * gdb.ada/int_deref.exp: Likewise.
3577 * gdb.ada/interface.exp: Likewise.
3578 * gdb.ada/iwide.exp: Likewise.
3579 * gdb.ada/lang_switch.exp: Likewise.
3580 * gdb.ada/length_cond.exp: Likewise.
3581 * gdb.ada/maint_with_ada.exp: Likewise.
3582 * gdb.ada/mi_catch_assert.exp: Likewise.
3583 * gdb.ada/mi_catch_ex.exp: Likewise.
3584 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3585 * gdb.ada/mi_dyn_arr.exp: Likewise.
3586 * gdb.ada/mi_ex_cond.exp: Likewise.
3587 * gdb.ada/mi_exc_info.exp: Likewise.
3588 * gdb.ada/mi_interface.exp: Likewise.
3589 * gdb.ada/mi_prot.exp: Likewise.
3590 * gdb.ada/mi_ref_changeable.exp: Likewise.
3591 * gdb.ada/mi_string_access.exp: Likewise.
3592 * gdb.ada/mi_task_arg.exp: Likewise.
3593 * gdb.ada/mi_task_info.exp: Likewise.
3594 * gdb.ada/mi_var_array.exp: Likewise.
3595 * gdb.ada/mi_var_union.exp: Likewise.
3596 * gdb.ada/mi_variant.exp: Likewise.
3597 * gdb.ada/minsyms.exp: Likewise.
3598 * gdb.ada/mod_from_name.exp: Likewise.
3599 * gdb.ada/nested.exp: Likewise.
3600 * gdb.ada/null_array.exp: Likewise.
3601 * gdb.ada/optim_drec.exp: Likewise.
3602 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3603 * gdb.ada/packed_array_assign.exp: Likewise.
3604 * gdb.ada/packed_tagged.exp: Likewise.
3605 * gdb.ada/pp-rec-component.exp: Likewise.
3606 * gdb.ada/print_chars.exp: Likewise.
3607 * gdb.ada/print_pc.exp: Likewise.
3608 * gdb.ada/ptr_typedef.exp: Likewise.
3609 * gdb.ada/ptype_arith_binop.exp: Likewise.
3610 * gdb.ada/ptype_array.exp: Likewise.
3611 * gdb.ada/ptype_field.exp: Likewise.
3612 * gdb.ada/ptype_tagged_param.exp: Likewise.
3613 * gdb.ada/ptype_union.exp: Likewise.
3614 * gdb.ada/py_range.exp: Likewise.
3615 * gdb.ada/py_taft.exp: Likewise.
3616 * gdb.ada/rdv_wait.exp: Likewise.
3617 * gdb.ada/rec_comp.exp: Likewise.
3618 * gdb.ada/rec_return.exp: Likewise.
3619 * gdb.ada/ref_param.exp: Likewise.
3620 * gdb.ada/ref_tick_size.exp: Likewise.
3621 * gdb.ada/rename_subscript_param.exp: Likewise.
3622 * gdb.ada/repeat_dyn.exp: Likewise.
3623 * gdb.ada/same_component_name.exp: Likewise.
3624 * gdb.ada/same_enum.exp: Likewise.
3625 * gdb.ada/scalar_storage.exp: Likewise.
3626 * gdb.ada/set_wstr.exp: Likewise.
3627 * gdb.ada/small_reg_param.exp: Likewise.
3628 * gdb.ada/str_binop_equal.exp: Likewise.
3629 * gdb.ada/str_ref_cmp.exp: Likewise.
3630 * gdb.ada/str_uninit.exp: Likewise.
3631 * gdb.ada/sub_variant.exp: Likewise.
3632 * gdb.ada/sym_print_name.exp: Likewise.
3633 * gdb.ada/taft_type.exp: Likewise.
3634 * gdb.ada/tagged.exp: Likewise.
3635 * gdb.ada/tagged_access.exp: Likewise.
3636 * gdb.ada/task_bp.exp: Likewise.
3637 * gdb.ada/task_switch_in_core.exp: Likewise.
3638 * gdb.ada/tasks.exp: Likewise.
3639 * gdb.ada/tick_last_segv.exp: Likewise.
3640 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3641 * gdb.ada/type_coercion.exp: Likewise.
3642 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3643 * gdb.ada/unchecked_union.exp: Likewise.
3644 * gdb.ada/uninitialized_vars.exp: Likewise.
3645 * gdb.ada/var_arr_attrs.exp: Likewise.
3646 * gdb.ada/var_arr_typedef.exp: Likewise.
3647 * gdb.ada/var_rec_arr.exp: Likewise.
3648 * gdb.ada/variant-record.exp: Likewise.
3649 * gdb.ada/variant.exp: Likewise.
3650 * gdb.ada/variant_record_packed_array.exp: Likewise.
3651 * gdb.ada/varsize_limit.exp: Likewise.
3652 * gdb.ada/whatis_array_val.exp: Likewise.
3653 * gdb.ada/widewide.exp: Likewise.
3654 * gdb.ada/win_fu_syms.exp: Likewise.
3655
36562020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3657
3658 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3659
10c381b5
AB
36602020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3661
3662 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3663 unset the array variable.
3664
8f34b746
TV
36652020-08-03 Tom de Vries <tdevries@suse.de>
3666
3667 PR symtab/26333
3668 * lib/dwarf.exp (DW_LNE_user): New proc.
3669 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3670 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3671
0245e136
KB
36722020-07-31 Kevin Buettner <kevinb@redhat.com>
3673
3674 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3675 to 'uintptr_t'
3676 (inttypes.h): Include.
3677
9ef1ec5d
KB
36782020-07-31 Kevin Buettner <kevinb@redhat.com>
3679
3680 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3681 (C5_24k): Delete.
3682 (C5_8k, C5_64k, C5_256k): New macros.
3683 (buf_ro): Allocate 256 KiB of initialized data.
3684
4c55e970
TBA
36852020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3686
3687 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3688 that attempt to overwrite an existing condition with a condition
3689 that fails parsing and also with a condition that parses fine
3690 but contains junk at the end.
3691
1e620590
TBA
36922020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3693
3694 * gdb.base/condbreak-bad.c: New test.
3695 * gdb.base/condbreak-bad.exp: New file.
3696
e12dcc50
TV
36972020-07-30 Tom de Vries <tdevries@suse.de>
3698
3699 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3700 out of ...
3701 (GDBInfoModuleSymbols::check_entry): ... here.
3702 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3703 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3704 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3705
6cc64caa
TV
37062020-07-30 Tom de Vries <tdevries@suse.de>
3707
3708 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3709 "__class_some_module_Number_t" optional.
3710
90fd07fc
TV
37112020-07-29 Tom de Vries <tdevries@suse.de>
3712
3713 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3714 multiple locations.
3715
f5c79e97
TV
37162020-07-29 Tom de Vries <tdevries@suse.de>
3717
3718 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3719 rather than function name.
3720
f75a0693
AB
37212020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3722
3723 PR symtab/26270:
3724 * gdb.cp/disasm-func-name.cc: New file.
3725 * gdb.cp/disasm-func-name.exp: New file.
3726
4888741a
TT
37272020-07-28 Tom Tromey <tromey@adacore.com>
3728
3729 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3730 'varval' location.
3731
43d5901d
AB
37322020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3733
3734 * gdb.python/py-unwind.py: Update to make use of a register
3735 descriptor.
3736
14fa8fb3
AB
37372020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3738
3739 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3740
e79eb02f
AB
37412020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3742
3743 PR fortran/23051
3744 PR fortran/26139
3745 * gdb.fortran/class-allocatable-array.exp: New file.
3746 * gdb.fortran/class-allocatable-array.f90: New file.
3747 * gdb.fortran/pointer-to-pointer.exp: New file.
3748 * gdb.fortran/pointer-to-pointer.f90: New file.
3749
876518dd
TV
37502020-07-25 Tom de Vries <tdevries@suse.de>
3751
3752 PR symtab/26243
3753 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3754 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3755
6dcfb80a
TV
37562020-07-24 Tom de Vries <tdevries@suse.de>
3757
3758 PR testsuite/26293
3759 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3760
e7bc9db8
PA
37612020-07-23 Pedro Alves <pedro@palves.net>
3762
3763 * gdb.server/server-kill.exp (prepare): New, factored out from the
3764 top level.
3765 (kill_server): New.
3766 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3767 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3768
78344df7
AB
37692020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3770
3771 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3772
25dfed24
SL
37732020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3774
3775 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3776 Initialize to empty string at top level.
3777 (gdb_wrapper_init): Revert check for file existence on build.
3778 Build the wrapper in its default place, not a build-specific
3779 location. When host == build, make the pathname absolute.
3780 (gdb_compile): Delete leftover declaration of
3781 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3782 string instead of uninitialized.
3783
7da515fd
KB
37842020-07-22 Kevin Buettner <kevinb@redhat.com>
3785
3786 * gdb.base/corefile2.exp: New file.
3787 * gdb.base/coremaker2.exp: New file.
3788
9c5ec5c2
KB
37892020-07-22 Kevin Buettner <kevinb@redhat.com>
3790
3791 * gdb.base/coredump-filter.exp: Add second
3792 non-Private-Shared-Anon-File test.
3793 (test_disasm): Rename binfile for test which is expected
3794 to fail.
3795
f9e233c9
KB
37962020-07-22 Kevin Buettner <kevinb@redhat.com>
3797
3798 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3799 data in core file".
3800 * gdb.base/coremaker.c (buf2ro): New global.
3801 (mmapdata): Add a read-only mmap mapping.
3802
94c265d7
KB
38032020-07-22 Kevin Buettner <kevinb@redhat.com>
3804
3805 PR corefiles/25631
3806 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3807 New test.
3808 * gdb.base/coremaker.c (buf3): New global.
3809 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3810 flags.
3811
38122020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3813
3814 * gdb.base/coremaker.c (filler_ro): New global constant.
3815
32fa152e
TT
38162020-07-22 Tom Tromey <tromey@adacore.com>
3817
3818 * gdb.ada/mi_prot.exp: New file.
3819 * gdb.ada/mi_prot/pkg.adb: New file.
3820 * gdb.ada/mi_prot/pkg.ads: New file.
3821 * gdb.ada/mi_prot/prot.adb: New file.
3822
c8474dc3
TBA
38232020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3824
3825 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3826 loads two JITers.
3827
baf8791e
AB
38282020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3829
3830 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3831
f7306dac
AB
38322020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3833
3834 * gdb.python/py-arch-reg-names.exp: Additional tests.
3835
6d3d6e4b
TV
38362020-07-21 Tom de Vries <tdevries@suse.de>
3837
3838 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3839 breakpoint locations".
3840 * gdb.reverse/solib-reverse.exp: Same.
3841
803d0592
TV
38422020-07-21 Tom de Vries <tdevries@suse.de>
3843
3844 * gdb.reverse/step-reverse.c (callee): Merge statements.
3845
e9bdc510
TV
38462020-07-21 Tom de Vries <tdevries@suse.de>
3847
3848 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3849 line numbers for some variables.
3850
f0f9e75a
TV
38512020-07-21 Tom de Vries <tdevries@suse.de>
3852
3853 * gdb.opt/inline-locals.c (init_array): New func.
3854 (func1): Use init_array.
3855 * gdb.opt/inline-locals.exp: Update pattern.
3856
bd460ecb
TV
38572020-07-21 Tom de Vries <tdevries@suse.de>
3858
3859 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3860 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3861
ae5369e7
LC
38622020-07-20 Ludovic Courtès <ludo@gnu.org>
3863
3864 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3865 * gdb.guile/types-module.exp: Remove "ERROR:" from
3866 regexps since Guile 3.0 no longer prints that.
3867
68cf161c
LC
38682020-07-20 Ludovic Courtès <ludo@gnu.org>
3869
3870 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3871 error regexp to match on Guile 2.2.
3872
c14b4913
GB
38732020-07-20 Gary Benson <gbenson@redhat.com>
3874
3875 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3876 with clang.
3877
b243ba58
TV
38782020-07-20 Tom de Vries <tdevries@suse.de>
3879
3880 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3881 (omp_set_lock_in_order): New function.
3882 (single_scope, multi_scope, nested_func, nested_parallel): Use
3883 omp_set_lock_in_order and omp_unset_lock.
3884 (main): Init and destroy lock and lock2.
3885
c06ad8b5
TV
38862020-07-20 Tom de Vries <tdevries@suse.de>
3887
3888 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3889
6e22f117
TV
38902020-07-20 Tom de Vries <tdevries@suse.de>
3891
3892 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3893
33176ea7
TV
38942020-07-17 Tom de Vries <tdevries@suse.de>
3895
3896 * gdb.base/valgrind-infcall-2.c: New test.
3897 * gdb.base/valgrind-infcall-2.exp: New file.
3898 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3899
90c3ec2d
TV
39002020-07-17 Tom de Vries <tdevries@suse.de>
3901
3902 * gdb.dlang/circular.c (found): Use found_label as label name.
3903 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3904 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3905 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3906 * gdb.dwarf2/ada-linkage-name.exp: Same.
3907 * gdb.dwarf2/arr-subrange.exp: Same.
3908 * gdb.dwarf2/atomic-type.exp: Same.
3909 * gdb.dwarf2/comp-unit-lang.exp: Same.
3910 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3911 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3912 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3913 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3914 * gdb.dwarf2/implptr-64bit.exp: Same.
3915 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3916 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3917 * gdb.dwarf2/imported-unit.exp: Same.
3918 * gdb.dwarf2/main-subprogram.exp: Same.
3919 * gdb.dwarf2/missing-type-name.exp: Same.
3920 * gdb.dwarf2/nonvar-access.exp: Same.
3921 * gdb.dwarf2/struct-with-sig.exp: Same.
3922 * gdb.dwarf2/typedef-void-finish.exp: Same.
3923 * gdb.dwarf2/void-type.exp: Same.
3924
10da644d
TV
39252020-07-17 Tom de Vries <tdevries@suse.de>
3926
3927 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3928 src parameter.
3929 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3930 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3931 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3932 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3933 * gdb.dwarf2/dwz.exp: Same.
3934 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3935 * gdb.dwarf2/implref-array.exp: Same.
3936 * gdb.dwarf2/implref-const.exp: Same.
3937 * gdb.dwarf2/implref-global.exp: Same.
3938 * gdb.dwarf2/implref-struct.exp: Same.
3939 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3940 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3941 * gdb.dwarf2/var-access.exp: Same.
3942 * gdb.dwarf2/varval.exp: Same.
3943 * gdb.trace/entry-values.exp: Same.
3944
315e6afc
TV
39452020-07-17 Tom de Vries <tdevries@suse.de>
3946
3947 * lib/dwarf.exp (Dwarf::extern): Remove.
3948 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3949 * gdb.dlang/circular.exp: Same.
3950 * gdb.dwarf2/comp-unit-lang.exp: Same.
3951 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3952 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3953 * gdb.dwarf2/dwz.exp: Same.
3954 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3955 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3956 * gdb.dwarf2/imported-unit.exp: Same.
3957 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3958
5597c940
SL
39592020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3960
3961 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3962 Use double quotes instead of single quotes.
3963
d0ce17d8
CT
39642020-07-16 Caroline Tice <cmtice@google.com>
3965
3966 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3967 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3968
853772cc
TV
39692020-07-16 Tom de Vries <tdevries@suse.de>
3970
3971 * lib/dwarf.exp (program): Initialize _line.
3972 (DW_LNE_end_sequence): Reinitialize _line.
3973 (DW_LNS_advance_line): Update _line.
3974 (line): New proc.
3975 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3976 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3977 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3978 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3979 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3980 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3981
fe07b572
AB
39822020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3983
3984 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3985 generic.
3986
52781cce
TV
39872020-07-15 Tom de Vries <tdevries@suse.de>
3988
3989 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3990 is_amd64_regs_target.
3991
3dcc261c
AB
39922020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3993
3994 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3995 * gdb.fortran/ptype-on-functions.f90: Likewise.
3996
054a0959
SM
39972020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3998
3999 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
4000 values in documentation for addr_size to 4 and 8.
4001
ccb9eba6
AB
40022020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
4003
4004 * gdb.arch/amd64-osabi.exp: Update.
4005 * gdb.arch/arm-disassembler-options.exp: Update.
4006 * gdb.arch/powerpc-disassembler-options.exp: Update.
4007 * gdb.arch/ppc64-symtab-cordic.exp: Update.
4008 * gdb.arch/s390-disassembler-options.exp: Update.
4009 * gdb.base/all-architectures.exp.tcl: Update.
4010 * gdb.base/attach-pie-noexec.exp: Update.
4011 * gdb.base/catch-syscall.exp: Update.
4012 * gdb.xml/tdesc-arch.exp: Update.
4013
025a39a7
TV
40142020-07-14 Tom de Vries <tdevries@suse.de>
4015
4016 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
4017 (local_gettid): ... this.
4018 (fn): Update.
4019
74e4b667
SL
40202020-07-13 Sandra Loosemore <sandra@codesourcery.com>
4021
4022 * gdb.base/info_sources.exp: Skip directory match tests on
4023 remote hosts.
4024
f413dd74
GB
40252020-07-13 Gary Benson <gbenson@redhat.com>
4026
4027 * gdb.base/savedregs.exp (caller): Use parentheses to
4028 make expected expression evaluation ordering explicit.
4029
915771bb
GB
40302020-07-13 Gary Benson <gbenson@redhat.com>
4031
4032 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
4033
2a122642
GB
40342020-07-13 Gary Benson <gbenson@redhat.com>
4035
4036 * gdb.base/bigcore.c (main): Use a volatile pointer when
4037 attempting to trigger a SIGSEGV.
4038 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
4039 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
4040 * gdb.base/savedregs.c (thrower): Likewise.
4041 * gdb.mi/mi-syn-frame.c (bar): Likewise.
4042
3f00c730
GB
40432020-07-13 Gary Benson <gbenson@redhat.com>
4044
4045 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
4046 defining and using VLA structure fields into...
4047 * gdb.base/vla-struct-fields.c: New file.
4048 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
4049 tests into...
4050 * gdb.base/vla-struct-fields.exp: New file.
4051
963eeee4
TV
40522020-07-13 Tom de Vries <tdevries@suse.de>
4053
4054 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
4055 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
4056 * gdb.base/gold-gdb-index.exp: Same.
4057 * gdb.base/morestack.exp: Same.
4058
0ed35c9a
DX
40592020-07-11 Daniel Xu <dxu@dxuuu.xyz>
4060
4061 PR rust/26121
4062 * gdb.rust/modules.rs: Prevent linker from discarding test
4063 symbol.
4064
4fdba23d
PA
40652020-07-10 Pedro Alves <pedro@palves.net>
4066
4067 PR gdb/26199
4068 * gdb.multi/multi-target.c (exit_thread): New.
4069 (thread_start): Break loop if EXIT_THREAD.
4070 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
4071 (top level) Call test_no_resumed.
4072
15f3b077
TT
40732020-07-08 Tom Tromey <tromey@adacore.com>
4074
4075 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
4076 * gdb.ada/catch_ex.exp: Examine catchpoint text.
4077
9fc501fd
AB
40782020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4079
4080 PR python/22748
4081 * gdb.opt/inline-frame-tailcall.c: New file.
4082 * gdb.opt/inline-frame-tailcall.exp: New file.
4083 * gdb.python/py-unwind-inline.c: New file.
4084 * gdb.python/py-unwind-inline.exp: New file.
4085 * gdb.python/py-unwind-inline.py: New file.
4086
64cb3757
AB
40872020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4088
4089 * gdb.python/py-arch-reg-groups.exp: New file.
4090
0f767f94
AB
40912020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4092
4093 * gdb.python/py-arch-reg-names.exp: New file.
4094
87dbc774
AB
40952020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4096
4097 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
4098 gdb.PendingFrame.architecture method.
4099
d8cc8af6
TV
41002020-07-06 Tom de Vries <tdevries@suse.de>
4101
4102 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
4103
3c8ea5be
PA
41042020-07-03 Pedro Alves <palves@redhat.com>
4105
4106 * gdb.base/structs2.c (main): Adjust second parem_reg call to
4107 explicitly write negative numbers.
4108 * gdb.base/structs2.exp: Adjust expected output.
4109
bf90c83a
PA
41102020-07-03 Pedro Alves <palves@redhat.com>
4111
4112 * gdb.base/charset.c (init_string): Change all char parameters to
4113 unsigned char parameters.
4114
2eb82157
PA
41152020-07-03 Pedro Alves <palves@redhat.com>
4116
4117 * gdb.base/call-sc.exp (start_scalars_test): Use
4118 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4119 * gdb.base/overlays.c: Remove references to PARAMS.
4120 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
4121 * gdb.base/reread.exp: Don't set 'prototypes' global.
4122 * gdb.base/structs.exp (start_structs_test): Use
4123 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4124 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
4125 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4126 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
4127 call.
4128 * gdb.base/varargs.exp: Don't set 'prototypes' global.
4129
9adda7af
PA
41302020-07-03 Pedro Alves <palves@redhat.com>
4131
4132 * gdb.base/m32rovly.c: Delete.
4133 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
4134
2a17c803
PW
41352020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4136
4137 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
4138 of gdb_py_test_multiple.
4139 * gdb.python/py-cmd.exp: Likewise.
4140 * gdb.python/py-events.exp: Likewise.
4141 * gdb.python/py-function.exp: Likewise.
4142 * gdb.python/py-inferior.exp: Likewise.
4143 * gdb.python/py-infthread.exp: Likewise.
4144 * gdb.python/py-linetable.exp: Likewise.
4145 * gdb.python/py-parameter.exp: Likewise.
4146 * gdb.python/py-value.exp: Likewise.
4147
b011fe1a
TV
41482020-06-30 Tom de Vries <tdevries@suse.de>
4149
4150 PR testsuite/26175
4151 * lib/future.exp (gdb_default_target_compile): Detect and handle
4152 early_flags.
4153
df5b8876
SM
41542020-06-29 Simon Marchi <simon.marchi@efficios.com>
4155
4156 * boards/simavr.exp (gdb_load): Catch errors when closing
4157 previous connection. Close connection, wait for process and
4158 unset simavr_spawn_id on failure.
4159
a3ca48cd
TV
41602020-06-29 Tom de Vries <tdevries@suse.de>
4161
4162 * lib/gdb.exp (unknown): Make test-case unresolved.
4163
b0237c0e
TV
41642020-06-29 Tom de Vries <tdevries@suse.de>
4165
4166 PR gdb/25475
4167 * gdb.server/solib-list.exp: Verify that the symbol reload
4168 confirmation question is asked.
4169
c0b3b3bd
PW
41702020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4171
4172 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
4173 have a input seq nr in each pass message.
fe4c3d43 4174 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
4175 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
4176 * gdb.python/python.exp: Make test names unique,
4177 use gdb_test_multiline instead of gdb_py_test_multiple,
4178 use $gdb_test_name.
4179 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
4180
1776e3e5
NA
41812020-06-26 Nick Alcock <nick.alcock@oracle.com>
4182
4183 * configure.ac: Add --enable-libctf.
4184 * aclocal.m4: sinclude ../config/enable.m4.
4185 * Makefile.in (site.exp): Add enable_libctf to site.exp.
4186 * lib/gdb.exp (skip_ctf_tests): Use it.
4187 * gdb.base/ctf-constvars.exp: Error message tweak.
4188 * gdb.base/ctf-ptype.exp: Likewise.
4189 * configure: Regenerate.
4190
f53b3eeb
GB
41912020-06-26 Gary Benson <gbenson@redhat.com>
4192
4193 * gdb.cp/try_catch.cc: Include string.h.
4194 (main): Replace comparison against string literal with
4195 strcmp, avoiding build failure with -Wstring-compare.
4196 Add "marker test-complete".
4197 * gdb.cp/try_catch.exp: Run the test to the above marker,
4198 then verify that the value of "test" is still true.
4199
6d74da72
AB
42002020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4201
4202 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
4203
2e52d038
AB
42042020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4205
4206 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4207
3b9fce96
AB
42082020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4209
4210 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
4211 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
4212 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
4213 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
4214 * gdb.arch/riscv-tdesc-loading.exp: New file.
4215
ed69cbc8
AB
42162020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4217
4218 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4219
767a879e
AB
42202020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4221
4222 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
4223 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
4224 * gdb.arch/riscv-tdesc-regs.c: New file.
4225 * gdb.arch/riscv-tdesc-regs.exp: New file.
4226
221db974
PA
42272020-06-24 Pedro Alves <palves@redhat.com>
4228
4229 * gdb.arch/amd64-entry-value-paramref.exp: Use
4230 prepare_for_testing_full and don't pass "c++" for the .S file
4231 build spec.
4232 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
4233 $options, since it's an assembly file. Remove -Wno-deprecated.
4234 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
4235 compiling C++ programs.
4236
331733cd
PA
42372020-06-24 Pedro Alves <palves@redhat.com>
4238
4239 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
4240 Clang, add "-Wno-unknown-warning-option" to the options.
4241
caa7fd04
AB
42422020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
4243
4244 * gdb.xml/tdesc-reload.c: New file.
4245 * gdb.xml/tdesc-reload.exp: New file.
4246 * gdb.xml/maint-xml-dump-01.xml: New file.
4247 * gdb.xml/maint-xml-dump-02.xml: New file.
4248 * gdb.xml/maint-xml-dump.exp: New file.
4249
bb8d1260
SL
42502020-06-23 Sandra Loosemore <sandra@codesourcery.com>
4251
4252 * lib/completion-support.exp (test_gdb_completion_offers_commands):
4253 Adjust for omitted commands when TUI is disabled.
4254
7e4b9c4c
GB
42552020-06-23 Gary Benson <gbenson@redhat.com>
4256 Pedro Alves <palves@redhat.com>
4257
4258 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4259 * gdb.cp/nsimport.cc: Likewise.
4260 * gdb.cp/nsnested.cc: Likewise.
4261 * gdb.cp/nsnoimports.cc: Likewise.
4262 * gdb.cp/nsusing.cc: Likewise.
4263 * gdb.cp/smartp.cc: Likewise.
4264 * gdb.python/py-pp-integral.c: Likewise.
4265 * gdb.python/py-pp-re-notag.c: Likewise.
4266
2e573c0a
GB
42672020-06-23 Gary Benson <gbenson@redhat.com>
4268
4269 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4270 * gdb.cp/nsimport.cc: Likewise.
4271 * gdb.cp/nsnested.cc: Likewise.
4272 * gdb.cp/nsnoimports.cc: Likewise.
4273 * gdb.cp/nsusing.cc: Likewise.
4274 * gdb.cp/smartp.cc: Likewise.
4275 * gdb.python/py-pp-integral.c: Likewise.
4276 * gdb.python/py-pp-re-notag.c: Likewise.
4277
746ebfe8
PW
42782020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4279
4280 * gdb.base/default-args.exp: New test.
4281 * gdb.base/default-args.c: New file.
4282 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4283 * gdb.base/default.exp: Update to new help text.
4284 * gdb.base/help.exp: Likewise.
4285 * gdb.base/page.exp: Likewise.
4286 * gdb.base/style.exp: Likewise.
4287 * gdb.guile/guile.exp: Likewise.
4288 * gdb.python/python.exp: Likewise.
4289
e822f2cd
SL
42902020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4291
4292 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4293 remote host. Fix search path syntax on Windows host.
4294
48e9cc84
PW
42952020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4296
4297 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4298 over 'exec-file-mismatch'.
4299 * gdb.base/attach.c: Mark should_exit volatile.
4300 * gdb.base/attach2.c: Likewise. Add a comment explaining
4301 why the sleep cannot be big.
4302 * gdb.base/attach3.c: New file.
4303
160f8a8f
SL
43042020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4305
4306 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4307 prefix optional.
4308
4d91c2a4
SL
43092020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4310
4311 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4312 for remote host.
4313
87f83f20
SL
43142020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4315 Hafiz Abid Qadeer <abidh@codesourcery.com>
4316
4317 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4318 file sent to remote host.
4319 (top level): Allow int32_t as type of 32-bit register.
4320
37ab8655
TV
43212020-06-19 Tom de Vries <tdevries@suse.de>
4322
4323 * lib/gdb.exp (gdb_note): New proc.
4324 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4325 (gdb_default_target_compile): ... here. Only call
4326 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4327 (use_gdb_compile): Change to array.
4328 (toplevel): Update sets of use_gdb_compile to specify language.
4329 Warn about default_target_compile override. Store dejagnu's version
4330 of default_target_compile in dejagnu_default_target_compile.
4331
a8a56685
TV
43322020-06-18 Tom de Vries <tdevries@suse.de>
4333
4334 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4335 (default_gdb_init): ... here.
4336
581bea2c
SL
43372020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4338
4339 Fix TUI support checks in gdb.tui tests.
4340
4341 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4342 just say UNSUPPORTED.
4343 * gdb.tui/corefile-run.exp: Likewise.
4344 * gdb.tui/empty.exp: Likewise.
4345 * gdb.tui/list-before.exp: Likewise.
4346 * gdb.tui/list.exp: Likewise.
4347 * gdb.tui/main.exp: Likewise.
4348 * gdb.tui/regs.exp: Likewise.
4349 * gdb.tui/resize.exp: Likewise.
4350 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4351 * gdb.tui/tui-layout-asm.exp: Likewise.
4352 * gdb.tui/tui-missing-src.exp: Likewise.
4353 * gdb.tui/winheight.exp: Likewise.
4354 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4355
05e682e3
SL
43562020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4357
4358 Fix TCL error in gdb.python/py-format-string.exp.
4359
4360 * gdb.python/py-format-string.exp: Move test for python support
4361 earlier, out of function body.
4362
efb763a5
SM
43632020-06-15 Simon Marchi <simon.marchi@efficios.com>
4364
4365 * gdb.base/index-cache-load-twice.c: New.
4366 * gdb.base/index-cache-load-twice.exp: New.
4367
43327b20
KS
43682020-06-17 Keith Seitz <keiths@redhat.com>
4369
99cf27cf 4370 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
4371 when executing "gdb --configuration".
4372
081e778c
TV
43732020-06-17 Tom de Vries <tdevries@suse.de>
4374
4375 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4376 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4377 conditional on presence of gdb_tcl_unknown.
4378 (gdb_finish): Make override undo conditional on presence of
4379 gdb_tcl_unknown.
4380
d2d1ea20
TT
43812020-06-16 Tom Tromey <tom@tromey.com>
4382
4383 * gdb.python/tui-window.py (failwin): New function. Register it
4384 as a TUI window type.
4385 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4386
c802e8a7
GB
43872020-06-16 Gary Benson <gbenson@redhat.com>
4388
4389 * gdb.python/py-nested-maps.c (create_map): Add missing return
4390 value.
4391 (create_map_map): Likewise.
4392
ff08abb8
TBA
43932020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4394
4395 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4396 variable.
4397 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4398 and use the already-defined 'options' variable.
4399
a29d5112
AB
44002020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4401 Tom de Vries <tdevries@suse.de>
4402
4403 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4404 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4405 (gdb_setup_known_globals): New proc.
4406 (gdb_cleanup_globals): New proc.
4407 * lib/gdb.exp (load_lib): New override proc.
4408 (gdb_stdin_log_init): Set var in_file as persistent global.
4409 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4410 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4411 fpc_compiler as persistent global.
4412
8c74a764
TV
44132020-06-12 Tom de Vries <tdevries@suse.de>
4414
4415 * lib/tuiterm.exp (spawn): Rename to ...
4416 (tui_spawn): ... this.
4417 (toplevel): Move rename of spawn ...
4418 (gdb_init_tuiterm): ... here. New proc.
4419 (gdb_finish_tuiterm): New proc.
4420 * lib/gdb.exp (gdb_finish_hooks): New global var.
4421 (gdb_finish): Handle gdb_finish_hooks.
4422 (tuiterm_env): New proc.
4423 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4424 tuiterm_env.
4425 * gdb.tui/basic.exp: Same.
4426 * gdb.tui/corefile-run.exp: Same.
4427 * gdb.tui/empty.exp: Same.
4428 * gdb.tui/list-before.exp: Same.
4429 * gdb.tui/list.exp: Same.
4430 * gdb.tui/main.exp: Same.
4431 * gdb.tui/new-layout.exp: Same.
4432 * gdb.tui/regs.exp: Same.
4433 * gdb.tui/resize.exp: Same.
4434 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4435 * gdb.tui/tui-layout-asm.exp: Same.
4436 * gdb.tui/tui-missing-src.exp: Same.
4437 * gdb.tui/winheight.exp: Same.
4438
26783bce
TV
44392020-06-12 Tom de Vries <tdevries@suse.de>
4440
4441 PR testsuite/26110
4442 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4443 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4444
2b4e6a3f
TT
44452020-06-11 Tom Tromey <tom@tromey.com>
4446
4447 PR gdb/18318:
4448 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4449 floating point tests.
4450
2f33032a
KS
44512020-06-11 Keith Seitz <keiths@redhat.com>
4452
4453 PR gdb/21356
4454 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4455 vla_struct.
4456 Add new struct vla_typedef and union vla_typedef_union and
4457 corresponding instantiation objects.
4458 Initialize new objects.
4459 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4460 and vla_typedef_union_object.
4461 Fixup type for vla_struct_object.
4462
a8baf0a3
TV
44632020-06-11 Tom de Vries <tdevries@suse.de>
4464
4465 * lib/gdb.exp (with_override): New proc, factored out of ...
4466 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4467
7ab96794
TV
44682020-06-10 Tom de Vries <tdevries@suse.de>
4469
4470 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4471
cab5c3b7
SM
44722020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4473
4474 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4475 parameter, update callers.
4476
f8c41851
SM
44772020-06-04 Simon Marchi <simon.marchi@efficios.com>
4478
4479 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4480 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4481 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4482
1c07a73f
TV
44832020-06-04 Tom de Vries <tdevries@suse.de>
4484
4485 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4486
95146b5d
TV
44872020-06-04 Tom de Vries <tdevries@suse.de>
4488
4489 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4490 exp_continue.
4491
0cfcd4f0
TV
44922020-06-04 Tom de Vries <tdevries@suse.de>
4493
4494 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4495
f9b5d5ea
TV
44962020-06-03 Tom de Vries <tdevries@suse.de>
4497
4498 PR symtab/26046
4499 * gdb.cp/breakpoint-locs-2.cc: New test.
4500 * gdb.cp/breakpoint-locs.cc: New test.
4501 * gdb.cp/breakpoint-locs.exp: New file.
4502 * gdb.cp/breakpoint-locs.h: New test.
4503
5144dfba
TV
45042020-06-03 Tom de Vries <tdevries@suse.de>
4505
4506 PR testsuite/25609
4507 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4508 value of global verbose.
4509 * gdb.base/jit-elf.exp: Same.
4510 * gdb.base/jit-reader.exp: Same.
4511
621eacdf
TV
45122020-06-02 Tom de Vries <tdevries@suse.de>
4513
4514 * gdb.dwarf2/multidictionary.exp: Don't use
4515 gdb_spawn_with_cmdline_opts.
4516
1313c56e
AB
45172020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4518
4519 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4520 use_header case.
4521 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4522 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4523 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4524 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4525 * gdb.dwarf2/dw2-inline-header.c: New file.
4526 * gdb.dwarf2/dw2-inline-header.h: New file.
4527
f68f85b5
PA
45282020-05-30 Pedro Alves <palves@redhat.com>
4529
4530 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4531 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4532
678048e8
GB
45332020-05-29 Gary Benson <gbenson@redhat.com>
4534
4535 * gdb.compile/compile-cplus.exp (additional_flags): Also
4536 set when building with clang.
4537 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4538 when building with clang.
4539
9fcafd23
GB
45402020-05-29 Gary Benson <gbenson@redhat.com>
4541
4542 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4543 building with clang.
4544 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4545
735d5a07
GB
45462020-05-29 Gary Benson <gbenson@redhat.com>
4547
4548 * gdb.cp/koenig.exp (prepare_for_testing): Add
4549 additional_flags=-Wno-unused-comparison.
4550 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4551
4ad2c6a0
GB
45522020-05-28 Gary Benson <gbenson@redhat.com>
4553
4554 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4555 statement.
4556
09fe663e
GB
45572020-05-28 Gary Benson <gbenson@redhat.com>
4558
4559 * gdb.cp/classes.exp (prepare_for_testing): Add
4560 additional_flags=-Wno-deprecated-register.
4561 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4562 * gdb.cp/misc.exp: Likewise.
4563
cee00f17
GB
45642020-05-28 Gary Benson <gbenson@redhat.com>
4565
4566 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4567 (test_op_new::operator new): Add return statement.
4568 (test_op_new_array::operator new[]): Likewise.
4569
636edd00
PA
45702020-05-27 Pedro Alves <palves@redhat.com>
4571
4572 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4573 check. Use test_gdb_complete_unique instead of
4574 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4575 test_gdb_complete_multiple instead of
4576 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4577
c2b75043
LM
45782020-05-27 Luis Machado <luis.machado@linaro.org>
4579
4580 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4581 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4582 * gdb.arch/arm-disassembler-options.exp: Likewise.
4583 * gdb.arch/arm-disp-step.exp: Likewise.
4584 * gdb.arch/thumb-prologue.exp: Likewise.
4585 * gdb.base/async.exp: Likewise.
4586 * gdb.base/auxv.exp: Likewise.
4587 * gdb.base/complex-parts.exp: Likewise.
4588 * gdb.base/ena-dis-br.exp: Likewise.
4589 * gdb.base/foll-exec.exp: Likewise.
4590 * gdb.base/permissions.exp: Likewise.
4591 * gdb.base/relocate.exp: Likewise.
4592 * gdb.base/return2.exp: Likewise.
4593 * gdb.base/sigbpt.exp: Likewise.
4594 * gdb.base/siginfo-obj.exp: Likewise.
4595 * gdb.cp/converts.exp: Likewise.
4596 * gdb.cp/exceptprint.exp: Likewise.
4597 * gdb.cp/inherit.exp: Likewise.
4598 * gdb.cp/nsnoimports.exp: Likewise.
4599 * gdb.cp/virtbase2.exp: Likewise.
4600 * gdb.mi/mi-var-cmd.exp: Likewise.
4601 * gdb.mi/var-cmd.c: Likewise.
4602
53a47a3e
TT
46032020-05-26 Tom Tromey <tromey@adacore.com>
4604
4605 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4606
0bc2354b
TT
46072020-05-26 Tom Tromey <tromey@adacore.com>
4608
4609 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4610 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4611 type.
4612 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4613 variable.
4614
0db49895
CBG
46152020-05-26 Christian Biesinger <cbiesinger@google.com>
4616
4617 * Makefile.in: Use = instead of == for the test command
4618 for portability.
4619
40d22035
TV
46202020-05-26 Tom de Vries <tdevries@suse.de>
4621
4622 * gdb.base/gold-gdb-index-2.c: New test.
4623 * gdb.base/gold-gdb-index.c: New test.
4624 * gdb.base/gold-gdb-index.exp: New file.
4625 * gdb.base/gold-gdb-index.h: New test.
4626
043e2e02
TV
46272020-05-25 Tom de Vries <tdevries@suse.de>
4628
4629 * boards/gold-gdb-index.exp: New file.
4630
462f72c5
SM
46312020-05-25 Simon Marchi <simon.marchi@efficios.com>
4632
4633 * boards/simavr.exp: New file.
4634
6cf66e76
SM
46352020-05-25 Simon Marchi <simon.marchi@efficios.com>
4636
4637 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4638 * gdb.base/inferior-args.exp: New file.
4639 * gdb.base/inferior-args.c: New file.
4640
75d04512
SM
46412020-05-25 Simon Marchi <simon.marchi@efficios.com>
4642
4643 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4644 inferior_args. Pass it to gdb_reload.
4645 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4646 inferior_args.
4647 (gdb_reload): Add inferior_args argument.
4648 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4649 pass it to gdbserver_run.
4650 * boards/native-gdbserver.exp: Do not set noargs.
4651 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4652 inferior_args argument.
4653 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4654 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4655 * gdb.base/args.exp: Likewise.
4656
42cf1844
TV
46572020-05-25 Tom de Vries <tdevries@suse.de>
4658
4659 * lib/gdb.exp (exec_is_pie): Add comment.
4660
8f7d38ef
TV
46612020-05-25 Tom de Vries <tdevries@suse.de>
4662
4663 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4664 instead of $binfile in the untested message.
4665
465e1b0f
TV
46662020-05-25 Tom de Vries <tdevries@suse.de>
4667
4668 PR testsuite/26031
4669 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4670
3c5a0e02
TV
46712020-05-25 Tom de Vries <tdevries@suse.de>
4672
4673 * boards/gold.exp: New file.
4674
0a4f5f8c
TT
46752020-05-23 Tom Tromey <tom@tromey.com>
4676
4677 * gdb.base/style.exp: Remove completion styling test.
4678 * lib/gdb-utils.exp (style): Remove completion styles.
4679
eca1f90c
TT
46802020-05-23 Tom Tromey <tom@tromey.com>
4681
4682 * gdb.base/style.exp: Add completion styling test.
4683 * lib/gdb-utils.exp (style): Add completion styles.
4684
7c13f4e8
AB
46852020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4686
4687 * gdb.base/annota1.exp: Update expected results.
4688 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4689 test name.
4690 * gdb.cp/annota3.exp: Update expected results.
4691
41977d16
SM
46922020-05-20 Simon Marchi <simon.marchi@efficios.com>
4693
4694 PR gdb/26016
4695 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4696 against MAP_FAILED.
4697 * gdb.base/coremaker.c (mmapdata): Likewise.
4698 * gdb.base/jit-reader-host.c (main): Likewise.
4699 * gdb.base/sym-file-loader.c (load): Likewise.
4700 (load_shlib): Likewise.
4701
b4757f2e
TT
47022020-05-20 Tom Tromey <tromey@adacore.com>
4703
4704 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4705
9a0bacfb
TV
47062020-05-20 Tom de Vries <tdevries@suse.de>
4707
4708 PR symtab/25833
4709 * gdb.base/with-mf-inc.c: New test.
4710 * gdb.base/with-mf-main.c: New test.
4711 * gdb.base/with-mf.exp: New file.
4712
76571211
TT
47132020-05-19 Tom Tromey <tromey@adacore.com>
4714
4715 * gdb.rust/simple.exp: Restore missing test result.
4716
4cd9f3d5
TV
47172020-05-19 Tom de Vries <tdevries@suse.de>
4718
4719 * gdb.base/gdb-caching-proc.exp: Fix typo.
4720
7d874253
TT
47212020-05-19 Tom Tromey <tromey@adacore.com>
4722
4723 * gdb.rust/simple.exp: Add some test descriptions.
4724 (test_one_slice): Use with_test_prefix.
4725
1d727695
TV
47262020-05-18 Tom de Vries <tdevries@suse.de>
4727
4728 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4729
7f32a4d5
PA
47302020-05-17 Pedro Alves <palves@redhat.com>
4731
4732 PR gdb/25741
4733 * gdb.base/hw-sw-break-same-address.exp: New file.
4734
7cfd74cf
PA
47352020-05-16 Pedro Alves <palves@redhat.com>
4736
4737 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4738 LAST_LOADED_FILE accordingly.
4739
57b4f16e
PW
47402020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4741
4742 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4743
7c05caf7
PW
47442020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4745
4746 * gdb.base/help.exp: Test apropos and help for commands
4747 having aliases. Fixed comments not starting with an
4748 upper-case letter or not finishing with a dot.
4749
7aa1b46f
PW
47502020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4751
3b3aaacb
PW
4752 * gdb.base/alias.exp: Update help output check.
4753
57b4f16e 47542020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4755
7aa1b46f
PW
4756 * gdb.base/default.exp: Update output following fixes.
4757
0605465f
PW
47582020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4759
4760 * gdb.base/alias.exp: Test aliases starting with a prefix of
4761 another alias.
4762
86e4e63d
GB
47632020-05-15 Gary Benson <gbenson@redhat.com>
4764
4765 * gdb.base/info-os.c (main): Add return statement.
4766 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4767 * gdb.base/large-frame-2.c (func): Likewise.
4768 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4769 * gdb.base/pr10179-b.c (foo2): Likewise.
4770 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4771 * gdb.base/watch-cond.c (func): Likewise.
4772 * gdb.multi/goodbye.c (verylongfun): Likewise.
4773 * gdb.multi/hello.c (commonfun): Likewise.
4774 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4775 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4776 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4777 Likewise.
4778 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4779 * gdb.threads/interrupt-while-step-over.c (child_function):
4780 Likewise.
4781 * gdb.trace/actions-changed.c (end): Likewise.
4782
163df4df
GB
47832020-05-15 Gary Benson <gbenson@redhat.com>
4784
4785 * gdb.opencl/callfuncs.exp: Report when test skipped.
4786 * gdb.opencl/convs_casts.exp: Likewise.
4787 * gdb.opencl/datatypes.exp: Likewise.
4788 * gdb.opencl/operators.exp: Likewise.
4789 * gdb.opencl/vec_comps.exp: Likewise.
4790
6dbc505a
TV
47912020-05-15 Tom de Vries <tdevries@suse.de>
4792
4793 * gdb.base/align.exp.in: Rename to ...
4794 * gdb.base/align.exp.tcl: ... this.
4795 * gdb.base/align-c++.exp: Update.
4796 * gdb.base/align-c.exp: Update.
4797 * gdb.base/all-architectures.exp.in: Rename to ...
4798 * gdb.base/all-architectures.exp: ... this.
4799 * gdb.base/all-architectures-0.exp: Update.
4800 * gdb.base/all-architectures-1.exp: Update.
4801 * gdb.base/all-architectures-2.exp: Update.
4802 * gdb.base/all-architectures-3.exp: Update.
4803 * gdb.base/all-architectures-4.exp: Update.
4804 * gdb.base/all-architectures-5.exp: Update.
4805 * gdb.base/all-architectures-6.exp: Update.
4806 * gdb.base/all-architectures-7.exp: Update.
4807 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4808 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4809 * gdb.base/infcall-nested-structs-c++.exp: Update.
4810 * gdb.base/infcall-nested-structs-c.exp: Update.
4811 * gdb.base/info-types.exp.in: Rename to ...
4812 * gdb.base/info-types.exp.tcl: ... this.
4813 * gdb.base/info-types-c++.exp: Update.
4814 * gdb.base/info-types-c.exp: Update.
4815 * gdb.base/max-depth.exp.in: Rename to ...
4816 * gdb.base/max-depth.exp.tcl: ... this.
4817 * gdb.base/max-depth-c++.exp: Update.
4818 * gdb.base/max-depth-c.exp: Update.
4819 * gdb.cp/cpexprs.exp.in: Rename to ...
4820 * gdb.cp/cpexprs.exp.tcl: ... this.
4821 * gdb.cp/cpexprs-debug-types.exp: Update.
4822 * gdb.cp/cpexprs.exp: Update.
4823 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4824 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4825 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4826 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4827 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4828 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4829 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4830 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4831 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4832 * gdb.dwarf2/clang-debug-names.exp: Update.
4833
d1034d78
AB
48342020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4835
4836 * lib/check-test-names.exp: Remove code that prevents this file
4837 loading when tests are run in parallel.
4838
3c5c3649
PA
48392020-05-15 Pedro Alves <palves@redhat.com>
4840
4841 * gdb.multi/multi-kill.exp (start_inferior): Remove
4842 'testpid' parameter. Refer to namespace variable directly.
4843 (testpid): Declare as namespace variable.
4844
272c36b8
PA
48452020-05-15 Pedro Alves <palves@redhat.com>
4846
4847 * gdb.multi/multi-kill.exp: Wrap in namespace.
4848 (start_inferior): Add TESTPID parameter. Use it instead of the
4849 testpid global.
4850 (top level): Define empty TESTPID array, and pass it down to
4851 start_inferior.
4852
02eba61a
TV
48532020-05-14 Tom de Vries <tdevries@suse.de>
4854
4855 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4856 output.
4857
971a3747
TV
48582020-05-14 Tom de Vries <tdevries@suse.de>
4859
4860 * gdb.base/align.exp: Split into ...
4861 * gdb.base/align.exp.in: ...
4862 * gdb.base/align-c++.exp: ...
4863 * gdb.base/align-c.exp: ... these.
4864 * gdb.base/infcall-nested-structs.exp: Split into ...
4865 * gdb.base/infcall-nested-structs.exp.in: ...
4866 * gdb.base/infcall-nested-structs-c++.exp: ...
4867 * gdb.base/infcall-nested-structs-c.exp: ... these.
4868 * gdb.base/info-types.exp: Split into ...
4869 * gdb.base/info-types.exp.in: ...
4870 * gdb.base/info-types-c++.exp: ...
4871 * gdb.base/info-types-c.exp: ... these.
4872 * gdb.base/max-depth.exp: Split into ...
4873 * gdb.base/max-depth.exp.in: ...
4874 * gdb.base/max-depth-c++.exp: ...
4875 * gdb.base/max-depth-c.exp: ... these.
4876 * gdb.cp/infcall-nodebug.exp: Split into ...
4877 * gdb.cp/infcall-nodebug.exp.in: ...
4878 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4879 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4880 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4881 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4882
a05575d3
TBA
48832020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4884 Pedro Alves <palves@redhat.com>
4885
4886 * gdb.multi/multi-exit.c: New file.
4887 * gdb.multi/multi-exit.exp: New file.
4888 * gdb.multi/multi-kill.c: New file.
4889 * gdb.multi/multi-kill.exp: New file.
4890
6ad82919
TBA
48912020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4892
4893 * gdb.base/annota1.exp: Update the expected output.
4894 * gdb.cp/annota2.exp: Ditto.
4895
843f4d93
AB
48962020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4897
4898 * lib/check-test-names.exp: Disable when testing is being run in
4899 parallel.
4900
c7c66341
TV
49012020-05-12 Tom de Vries <tdevries@suse.de>
4902
4903 * gdb.base/jit-elf.exp: Fix string concat.
4904
1b59ca1c
TV
49052020-05-12 Tom de Vries <tdevries@suse.de>
4906
4907 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4908 messages.
4909
b4991d29
TV
49102020-05-12 Tom de Vries <tdevries@suse.de>
4911
4912 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4913
dbb0ab10
TV
49142020-05-12 Tom de Vries <tdevries@suse.de>
4915
4916 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4917 * gdb.ada/mi_catch_ex.exp: Same.
4918 * gdb.ada/mi_catch_ex_hand.exp: Same.
4919
7549fed8
TV
49202020-05-12 Tom de Vries <tdevries@suse.de>
4921
4922 * gdb.fortran/complex.exp: Use with_test_prefix.
4923
af2d5cd8
TV
49242020-05-12 Tom de Vries <tdevries@suse.de>
4925
4926 * gdb.trace/passcount.exp: Fix test-names.
4927
7c121311
TV
49282020-05-12 Tom de Vries <tdevries@suse.de>
4929
4930 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4931
c9f3b40e
TV
49322020-05-12 Tom de Vries <tdevries@suse.de>
4933
4934 * gdb.gdb/complaints.exp: Use with_test_prefix.
4935 * gdb.xml/tdesc-regs.exp: Same.
4936 * gdb.opt/inline-locals.exp: Fix test name.
4937
111b33f0
TV
49382020-05-12 Tom de Vries <tdevries@suse.de>
4939
4940 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4941 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4942 * gdb.dwarf2/implref-struct.exp: Same.
4943 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4944 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4945
ebf47080
SM
49462020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4947
4948 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4949
d30dcd12
AB
49502020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4951
4952 * lib/check-test-names.exp (all_test_names): New module variable.
4953 (counts): Add 'duplicates' field.
4954 (_check_duplicates): New procedure.
4955 (check): Also check for duplicates.
4956 (do_log_summary): Print duplicates count.
4957 (do_reset_vars): Reset counter for duplicate test names, and
4958 discard all know test names.
4959
34584c09
AB
49602020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4961
4962 * lib/gdb.exp: Include check-test-names.exp library.
4963 * lib/check-test-names.exp: New file.
4964
e0002117
TV
49652020-05-11 Tom de Vries <tdevries@suse.de>
4966
4967 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4968
53f539a3
KS
49692020-05-11 Keith Seitz <keiths@redhat.com>
4970
4971 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4972
113ee09a
TV
49732020-05-11 Tom de Vries <tdevries@suse.de>
4974
4975 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4976 * gdb.cp/cpexprs.exp.in: .. here.
4977 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4978 cpexprs.exp.
4979
ba3e70b0
KS
49802020-05-11 Keith Seitz <keiths@redhat.com>
4981
4982 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4983 test names.
4984 * gdb.ada/arrayptr.exp: Likewise.
4985 * gdb.ada/assign_arr.exp: Likewise.
4986 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4987 * gdb.ada/bp_on_var.exp: Likewise.
4988 * gdb.ada/call_pn.exp: Likewise.
4989 * gdb.ada/complete.exp: Likewise.
4990 * gdb.ada/fun_overload_menu.exp: Likewise.
4991 * gdb.ada/funcall_param.exp: Likewise.
4992 * gdb.ada/funcall_ref.exp: Likewise.
4993 * gdb.ada/packed_array_assign.exp: Likewise.
4994 * gdb.ada/same_component_name.exp: Likewise.
4995 * gdb.ada/type_coercion.exp: Likewise.
4996 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4997 * gdb.ada/variant_record_packed_array.exp: Likewise.
4998
3ee6bb11
TV
49992020-05-11 Tom de Vries <tdevries@suse.de>
5000
5001 PR symtab/25941
5002 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
5003 out of ...
5004 * gdb.dwarf2/clang-debug-names.exp: ... here.
5005 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
5006 clang-debug-names.exp.in.
5007 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
5008 * gdb.dwarf2/clang-debug-names-2.c: New test.
5009
86cd6bc8
AKS
50102020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5011
5012 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
5013 (fortran_runto_main): New Proc, fortran version of runto_main.
5014 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
5015 * gdb.fortran/array-bounds.exp: Likewise.
5016 * gdb.fortran/array-slices.exp: Likewise.
5017 * gdb.fortran/block-data.exp: Likewise.
5018 * gdb.fortran/charset.exp: Likewise.
5019 * gdb.fortran/common-block.exp: Likewise.
5020 * gdb.fortran/complex.exp: Likewise.
5021 * gdb.fortran/derived-type-function.exp: Likewise.
5022 * gdb.fortran/derived-type.exp: Likewise.
5023 * gdb.fortran/info-modules.exp: Likewise.
5024 * gdb.fortran/info-types.exp: Likewise.
5025 * gdb.fortran/intrinsics.exp: Likewise.
5026 * gdb.fortran/library-module.exp: Likewise.
5027 * gdb.fortran/logical.exp: Likewise.
5028 * gdb.fortran/max-depth.exp: Likewise.
5029 * gdb.fortran/module.exp: Likewise.
5030 * gdb.fortran/multi-dim.exp: Likewise.
5031 * gdb.fortran/nested-funcs.exp: Likewise.
5032 * gdb.fortran/print-formatted.exp: Likewise.
5033 * gdb.fortran/print_type.exp: Likewise.
5034 * gdb.fortran/printing-types.exp: Likewise.
5035 * gdb.fortran/ptr-indentation.exp: Likewise.
5036 * gdb.fortran/ptype-on-functions.exp: Likewise.
5037 * gdb.fortran/subarray.exp: Likewise.
5038 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
5039 * gdb.fortran/vla-datatypes.exp: Likewise.
5040 * gdb.fortran/vla-history.exp: Likewise.
5041 * gdb.fortran/vla-ptr-info.exp: Likewise.
5042 * gdb.fortran/vla-ptype-sub.exp: Likewise.
5043 * gdb.fortran/vla-ptype.exp: Likewise.
5044 * gdb.fortran/vla-sizeof.exp: Likewise.
5045 * gdb.fortran/vla-type.exp: Likewise.
5046 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
5047 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
5048 * gdb.fortran/vla-value-sub.exp: Likewise.
5049 * gdb.fortran/vla-value.exp: Likewise.
5050 * gdb.fortran/whatis_type.exp: Likewise.
5051 * gdb.mi/mi-var-child-f.exp: Likewise.
5052
6dc55ce9 50532020-05-09 Tom de Vries <tdevries@suse.de>
5054
5055 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
5056
283cb58c
TV
50572020-05-08 Tom de Vries <tdevries@suse.de>
5058
5059 * gdb.dwarf2/clang-debug-names.c: New test.
5060 * gdb.dwarf2/clang-debug-names.exp: New file.
5061
ac4a4f1c
SM
50622020-05-06 Simon Marchi <simon.marchi@efficios.com>
5063
5064 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
5065 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
5066
24fe640b
TV
50672020-05-06 Tom de Vries <tdevries@suse.de>
5068
5069 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
5070 breakpoint is at a "recommended breakpoint location".
5071 * gdb.reverse/consecutive-reverse.exp: Same.
5072
0d8683a3
TV
50732020-05-06 Tom de Vries <tdevries@suse.de>
5074
5075 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
5076 address.
5077
b8983c46
TV
50782020-05-06 Tom de Vries <tdevries@suse.de>
5079
5080 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
5081
abf6d805
TV
50822020-05-06 Tom de Vries <tdevries@suse.de>
5083
5084 * gdb.base/store.exp (check_set, up_set): Allowing missing location
5085 info for r.
5086
0fc2a808
TV
50872020-05-06 Tom de Vries <tdevries@suse.de>
5088
5089 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
5090 necessary.
5091
873dd427
TV
50922020-05-06 Tom de Vries <tdevries@suse.de>
5093
5094 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
5095 void.
5096
7c99e7e2
TV
50972020-05-06 Tom de Vries <tdevries@suse.de>
5098
5099 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
5100 of ...
5101 * gdb.base/async.exp: ... here.
5102 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
5103 "recommended breakpoint location".
5104
6173d6a6
TV
51052020-05-06 Tom de Vries <tdevries@suse.de>
5106
5107 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
5108
6015a067
TV
51092020-05-04 Tom de Vries <tdevries@suse.de>
5110
5111 * gdb.base/async.exp: Check whether instruction addresses are a
5112 "recommended breakpoint location".
5113
3b6acaee
TT
51142020-05-03 Tom Tromey <tom@tromey.com>
5115
5116 * gdb.base/sepdebug.exp: Remove "catch" test.
5117 * gdb.base/break.exp: Remove "catch" test.
5118 * gdb.base/default.exp: Update expected output.
5119
5beb4d17
TV
51202020-05-02 Tom de Vries <tdevries@suse.de>
5121
5122 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
5123 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
5124 * gdb.arch/i386-mpx-map.exp: Same.
5125 * gdb.arch/i386-mpx-sigsegv.exp: Same.
5126 * gdb.arch/i386-mpx-simple_segv.exp: Same.
5127 * gdb.arch/i386-mpx.exp: Same.
5128
8caf140d
TV
51292020-05-02 Tom de Vries <tdevries@suse.de>
5130
5131 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
5132
693196cb
TV
51332020-05-01 Tom de Vries <tdevries@suse.de>
5134
5135 * gdb.ada/operator_bp.exp: Allow more than required amount of
5136 breakpoint.
5137
53ae0aa9
TV
51382020-05-01 Tom de Vries <tdevries@suse.de>
5139
5140 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
5141
ee9d1e5f
HD
51422020-04-30 Hannes Domani <ssbssa@yahoo.de>
5143
5144 PR gdb/18706
5145 * gdb.cp/stub-array-size.cc: New test.
5146 * gdb.cp/stub-array-size.exp: New file.
5147 * gdb.cp/stub-array-size.h: New test.
5148 * gdb.cp/stub-array-size2.cc: New test.
5149
d5cf82c0
HD
51502020-04-30 Hannes Domani <ssbssa@yahoo.de>
5151
5152 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
5153 output to the new format.
5154
42e165c3
SM
51552020-04-29 Simon Marchi <simon.marchi@efficios.com>
5156
5157 * gdb.base/break.exp: Use with_test_prefix.
5158
6e4e3fe1
TV
51592020-04-29 Tom de Vries <tdevries@suse.de>
5160
5161 * lib/gdb.exp (debug_types): New proc.
5162 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
5163 * gdb.python/py-symtab.exp: Same.
5164
d642b692
HD
51652020-04-29 Hannes Domani <ssbssa@yahoo.de>
5166
5167 PR gdb/17320
5168 * gdb.base/pretty-array.c: New test.
5169 * gdb.base/pretty-array.exp: New file.
5170
ea90f227
TV
51712020-04-29 Tom de Vries <tdevries@suse.de>
5172
5173 PR symtab/25889
5174 * gdb.cp/cpexprs.exp: Adapt for inclusion.
5175 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
5176 and include cpexprs.exp.
5177
a65189c9
TV
51782020-04-28 Mark Williams <mark@myosotissp.com>
5179
5180 PR gdb/24480
5181 * dw4-toplevel-types.exp: Test for top level types.
5182 * dw4-toplevel-types.cc: Test for top level types.
5183
32d1f47a
TBA
51842020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5185
5186 * gdb.threads/stop-with-handle.exp: Fix typo in comment
5187 (theads -> threads).
5188
56a4f5a1
TV
51892020-04-28 Tom de Vries <tdevries@suse.de>
5190
5191 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
5192
0b2f8a3b
TV
51932020-04-28 Tom de Vries <tdevries@suse.de>
5194
5195 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
5196
5390c717
TV
51972020-04-28 Tom de Vries <tdevries@suse.de>
5198
5199 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
5200
15cd93d0
TV
52012020-04-28 Tom de Vries <tdevries@suse.de>
5202
5203 * gdb.dwarf2/main-foo.c: New test.
5204 * gdb.dwarf2/struct-with-sig.exp: New file.
5205
d472f0fb
TV
52062020-04-25 Tom de Vries <tdevries@suse.de>
5207
5208 * boards/debug-types.exp: New file.
5209
8d840e05
AB
52102020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
5211
5212 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
5213
bcfe6157
TT
52142020-04-24 Tom Tromey <tom@tromey.com>
5215
5216 PR symtab/12707:
5217 * gdb.python/py-symbol.exp: Update expected results for
5218 linkage_name test.
5219 * gdb.cp/print-demangle.exp: New file.
5220 * gdb.base/c-linkage-name.exp: Fix test.
5221 * gdb.guile/scm-symbol.exp: Update expected results for
5222 linkage_name test.
5223
f049a313
TT
52242020-04-24 Tom Tromey <tom@tromey.com>
5225
5226 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
5227 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
5228 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
5229 assembler.
5230
7cf28874
TV
52312020-04-24 Tom de Vries <tdevries@suse.de>
5232
5233 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
5234 C++.
5235
dac2fef7
TT
52362020-04-24 Tom Tromey <tromey@adacore.com>
5237
5238 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
5239 values.
5240 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
5241 values. Update test for minimal encodings.
5242 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
5243 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
5244 values. Update test for minimal encodings.
5245
1acda803
TT
52462020-04-24 Tom Tromey <tromey@adacore.com>
5247
5248 PR python/23662:
5249 * gdb.ada/variant.exp: Add Python checks.
5250 * gdb.rust/simple.exp: Add dynamic type checks.
5251
adfb9815
TT
52522020-04-24 Tom Tromey <tromey@adacore.com>
5253
5254 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
5255 Make array type matching more lax.
5256 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
5257 * gdb.ada/mi_variant.exp: New file.
5258 * gdb.ada/mi_variant/pck.ads: New file.
5259 * gdb.ada/mi_variant/pkg.adb: New file.
5260 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5261 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5262
7d79de9a
TT
52632020-04-24 Tom Tromey <tromey@adacore.com>
5264
5265 * gdb.ada/variant.exp: Add dynamic field offset tests.
5266 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5267 * gdb.ada/variant/pkg.adb: Add new variables.
5268
f8e89861
TT
52692020-04-24 Tom Tromey <tromey@adacore.com>
5270
5271 * gdb.ada/variant.exp: New file
5272 * gdb.ada/variant/pkg.adb: New file
5273 * gdb.ada/variant/pck.adb: New file
5274
86e887ae
TV
52752020-04-24 Tom de Vries <tdevries@suse.de>
5276
5277 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5278
88428775
TV
52792020-04-24 Tom de Vries <tdevries@suse.de>
5280
5281 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5282 flags.
5283
4e86f6e7
TV
52842020-04-24 Tom de Vries <tdevries@suse.de>
5285
5286 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5287
2016d3e6
TV
52882020-04-24 Tom de Vries <tdevries@suse.de>
5289
5290 * lib/gdb.exp (default_gdb_start): Handle eof.
5291 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5292 failure.
5293 * gdb.base/readnever.exp: Handle clean_restart failure.
5294
70bc38f5
TV
52952020-04-23 Tom de Vries <tdevries@suse.de>
5296
5297 * gdb.base/decl-before-def.exp: Run to main and print a again.
5298
de82891c
TV
52992020-04-23 Tom de Vries <tdevries@suse.de>
5300
5301 * gdb.base/decl-before-def-decl.c: New test.
5302 * gdb.base/decl-before-def-def.c: New test.
5303 * gdb.base/decl-before-def.exp: New file.
5304
96038148
TV
53052020-04-23 Tom de Vries <tdevries@suse.de>
5306
5307 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5308
54ac3df1
TV
53092020-04-22 Tom de Vries <tdevries@suse.de>
5310
5311 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5312 debug_info_offset.
5313 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5314 before $objsfile in the line line.
5315
714534e1
TV
53162020-04-22 Tom de Vries <tdevries@suse.de>
5317
5318 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5319
16a7dbf4
MS
53202020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5321
5322 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5323 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5324 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5325 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5326 * gdb.base/jit-protocol.h: Update definitions to match all usage
5327 contexts.
5328
53292020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5330
5331 * gdb.base: Rename all jit related test and source files.
5332
53332020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5334
5335 * gdb.base/jit-reader.exp: Relax register output check.
5336
317d2668
TV
53372020-04-22 Tom de Vries <tdevries@suse.de>
5338
5339 PR symtab/25764
5340 * gdb.base/psym-external-decl-2.c: New test.
5341 * gdb.base/psym-external-decl.c: New test.
5342 * gdb.base/psym-external-decl.exp: New file.
5343 * gdb.threads/tls.exp: Add PR25807 kfail.
5344
eea9e357
TV
53452020-04-22 Tom de Vries <tdevries@suse.de>
5346
5347 PR symtab/25801
5348 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5349 in "info source" output.
5350
3d5afab3
TV
53512020-04-22 Tom de Vries <tdevries@suse.de>
5352
5353 PR symtab/25700
5354 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5355 symtab for imported_unit.c.
5356
b32102f6
GB
53572020-04-21 Gary Benson <gbenson@redhat.com>
5358
5359 * gdb.base/advance.c (func): New argument, to match call site.
5360 (func2, func3): Add return statements.
5361
d43b7a2d
TBA
53622020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5363
5364 * gdb.multi/run-only-second-inf.c: New file.
5365 * gdb.multi/run-only-second-inf.exp: New file.
5366
d89edf9b
MM
53672020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5368
5369 * gdb.btrace/multi-inferior.c: New test.
5370 * gdb.btrace/multi-inferior.exp: New file.
5371
1a476b6d
MM
53722020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5373
5374 * gdb.btrace/enable-new-thread.c: New test.
5375 * gdb.btrace/enable-new-thread.exp: New file.
5376
4778a5f8
TV
53772020-04-21 Tom de Vries <tdevries@suse.de>
5378
5379 PR gdb/25471
5380 * gdb.threads/killed-outside.c: New test.
5381 * gdb.threads/killed-outside.exp: New file.
5382
9b2c992c
GB
53832020-04-20 Gary Benson <gbenson@redhat.com>
5384
5385 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5386 * gdb.base/nested-subp2.exp: Likewise.
5387 * gdb.base/nested-subp3.exp: Likewise.
5388
b5d1d6f7
GB
53892020-04-20 Gary Benson <gbenson@redhat.com>
5390
5391 * gdb.base/nested-subp1.exp: Disable test when using clang.
5392 * gdb.base/nested-subp2.exp: Likewise.
5393 * gdb.base/nested-subp3.exp: Likewise.
5394
25230285
GB
53952020-04-20 Gary Benson <gbenson@redhat.com>
5396
5397 * gdb.cp/exception.cc: Fix compilation error with clang.
5398
fa93cc8f
GB
53992020-04-20 Gary Benson <gbenson@redhat.com>
5400
809730f3 5401 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 5402
e0c45f30
GB
54032020-04-20 Gary Benson <gbenson@redhat.com>
5404
5405 * gdb.base/jit-main.c: Fix compilation error with clang.
5406
4ddfec93
KR
54072020-04-17 Kamil Rytarowski <n54@gmx.com>
5408
5409 * gdb.base/attach-twice.c: Include "sys/types.h".
5410 (PTRACE_ATTACH): Add fallback definition.
5411 (main): Pass `0' to the 4th argument of `ptrace'.
5412
2bed205e
KR
54132020-04-17 Kamil Rytarowski <n54@gmx.com>
5414
5415 * gdb.base/fork-running-state.c: Include "signal.h".
5416
0743fc83
TT
54172020-04-17 Tom Tromey <tromey@adacore.com>
5418
5419 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5420 Update tests.
5421 * gdb.btrace/cpu.exp: Update tests.
5422 * gdb.base/maint.exp: Update tests.
5423 * gdb.base/default.exp: Update tests.
5424 * gdb.base/completion.exp: Update tests.
5425
efba5c23
TV
54262020-04-16 Tom de Vries <tdevries@suse.de>
5427
5428 PR symtab/25791
5429 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5430 (ensure_gdb_index): and factor out and move ...
5431 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5432 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5433
d191d716
TV
54342020-04-16 Tom de Vries <tdevries@suse.de>
5435
5436 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5437 loading exec.
5438
99f1bc6a
AB
54392020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5440
5441 * gdb.base/many-completions.exp: New file.
5442
194d088f
TV
54432020-04-14 Tom de Vries <tdevries@suse.de>
5444
5445 PR symtab/25718
5446 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5447
c1a66c06
TV
54482020-04-14 Tom de Vries <tdevries@suse.de>
5449
5450 PR symtab/25720
5451 * gdb.base/maint-expand-symbols-header-file.c: New test.
5452 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5453 * gdb.base/maint-expand-symbols-header-file.h: New test.
5454
21b0982c
AB
54552020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5456
5457 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5458 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5459 get_func_info.
5460 (get_func_info): Delete.
5461 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5462 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5463 * lib/dwarf.exp (get_func_info): New function.
5464
dd1cab06
TV
54652020-04-13 Tom de Vries <tdevries@suse.de>
5466
5467 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5468 to what find_gnatmake does.
5469
71ea2b6b
TV
54702020-04-10 Tom de Vries <tdevries@suse.de>
5471
5472 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5473 -readnow.
5474
bdfc1e8a
TV
54752020-04-10 Tom de Vries <tdevries@suse.de>
5476
5477 PR cli/25808
5478 * gdb.base/style.c: Add leading newlines.
5479 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5480 Check listing of main's one-line body.
5481
14ca8ecf
TV
54822020-04-08 Tom de Vries <tdevries@suse.de>
5483
5484 * lib/gdb.exp (psymtabs_p): New proc.
5485 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5486 importing unit" unsupported if there are no partial symbols.
5487
e21d048f
TV
54882020-04-08 Tom de Vries <tdevries@suse.de>
5489
5490 PR testsuite/25760
5491 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5492
25c11aca
TV
54932020-04-07 Tom de Vries <tdevries@suse.de>
5494
5495 PR symtab/25796
5496 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5497
5707e24b
TV
54982020-04-07 Tom de Vries <tdevries@suse.de>
5499
5500 * gdb.base/check-psymtab.c: New test.
5501 * gdb.base/check-psymtab.exp: New file.
5502
6ee448cc
TT
55032020-04-06 Tom Tromey <tromey@adacore.com>
5504
5505 * gdb.ada/variant-record/proc.adb: New file.
5506 * gdb.ada/variant-record/value.adb: New file.
5507 * gdb.ada/variant-record/value.s: New file.
5508 * gdb.ada/variant-record.exp: New file.
5509
9e7c9a03
HD
55102020-04-03 Hannes Domani <ssbssa@yahoo.de>
5511
5512 PR gdb/25325
5513 * gdb.cp/typed-enum.cc: New test.
5514 * gdb.cp/typed-enum.exp: New file.
5515
c90d28ac
AB
55162020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5517
5518 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5519 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5520 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5521 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5522 * gdb.opt/inline-small-func.c: New file.
5523 * gdb.opt/inline-small-func.exp: New file.
5524 * gdb.opt/inline-small-func.h: New file.
5525
34e9a9fa
AB
55262020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5527
5528 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5529 function.
5530
6a354911
AB
55312020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5532
5533 * lib/dwarf.exp (function_range): Allow compiler options to be
5534 specified.
5535
880d9777
TV
55362020-04-02 Tom de Vries <tdevries@suse.de>
5537
5538 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5539 __attribute__((always_inline)).
5540 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5541
f32682ea
TV
55422020-04-02 Tom de Vries <tdevries@suse.de>
5543
5544 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5545 (gdbserver_gdb_exit): ... here. Add timeout warning.
5546 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5547 (connect_target_extended_remote): Append new server_spawn_id to
5548 server_spawn_ids.
5549 (cleanup): New proc.
5550 (setup, <toplevel>): Call cleanup.
5551
d3214198
TV
55522020-04-02 Tom de Vries <tdevries@suse.de>
5553
5554 * gdb.base/main-psymtab.exp: New file.
5555
cc77ed24
TV
55562020-04-02 Tom de Vries <tdevries@suse.de>
5557
5558 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5559
3638a098
TT
55602020-04-01 Tom Tromey <tom@tromey.com>
5561
5562 * gdb.base/complex-parts.exp: Add type tests.
5563
c34e8714
TT
55642020-04-01 Tom Tromey <tom@tromey.com>
5565
5566 * gdb.base/complex-parts.exp: Add arithmetic tests.
5567
981c08ce
TT
55682020-04-01 Tom Tromey <tom@tromey.com>
5569
5570 * gdb.compile/compile.exp: Update.
5571 * gdb.compile/compile-cplus.exp: Update.
5572 * gdb.base/varargs.exp: Update.
5573 * gdb.base/floatn.exp: Update.
5574 * gdb.base/endianity.exp: Update.
5575 * gdb.base/callfuncs.exp (do_function_calls): Update.
5576 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5577 (complex_float_integral_args): Update.
5578 * gdb.base/complex.exp: Update.
5579 * gdb.base/complex-parts.exp: Update.
5580
3d1cfd43
TT
55812020-04-01 Tom Tromey <tromey@adacore.com>
5582
5583 * gdb.rust/union.rs: New file.
5584 * gdb.rust/union.exp: New file.
5585 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5586 (main): Update.
5587 * gdb.rust/simple.exp: Move union tests to union.exp.
5588
e033dfa9
TT
55892020-04-01 Tom Tromey <tromey@adacore.com>
5590
5591 * gdb.rust/simple.rs (main): Remove "y0".
5592
53cccef1
TBA
55932020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5594
5595 * gdb.multi/stop-all-on-exit.c: New test.
5596 * gdb.multi/stop-all-on-exit.exp: New file.
5597
60e22c1e
HD
55982020-04-01 Hannes Domani <ssbssa@yahoo.de>
5599
5600 PR gdb/24789
5601 * gdb.cp/misc.cc: Add integer reference variable.
5602 * gdb.cp/misc.exp: Add test.
5603
e139a727
TBA
56042020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5605
5606 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5607 scenario to cover execution until the end and also the case
5608
16b0db75
TV
56092020-03-31 Tom de Vries <tdevries@suse.de>
5610
5611 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5612 c. Use "maint info symtabs" to check symtab expansion.
5613
c0502da6
TV
56142020-03-30 Tom de Vries <tdevries@suse.de>
5615
5616 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5617 unsupported.
5618 (verify_psymtab_expanded): Move ...
5619 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5620 test.
5621 (readnow): New proc.
5622
5935fd15
AB
56232020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5624
5625 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5626 with $hex.
5627
1773be9e
TT
56282020-03-20 Tom Tromey <tromey@adacore.com>
5629
5630 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5631
70304be9
TT
56322020-03-20 Tom Tromey <tromey@adacore.com>
5633
5634 * gdb.ada/sub_variant/subv.adb: New file.
5635 * gdb.ada/sub_variant.exp: New file.
5636
0dd7b8f7
TV
56372020-03-20 Tom de Vries <tdevries@suse.de>
5638
5639 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5640 first break fails.
5641 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5642
cada5fc9
AB
56432020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5644
5645 * gdb.server/exit-multiple-threads.c: New file.
5646 * gdb.server/exit-multiple-threads.exp: New file.
5647
6b8c53f2
AB
56482020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5649
5650 * gdb.fortran/mixed-lang-stack.c: New file.
5651 * gdb.fortran/mixed-lang-stack.cpp: New file.
5652 * gdb.fortran/mixed-lang-stack.exp: New file.
5653 * gdb.fortran/mixed-lang-stack.f90: New file.
5654
19a2740f
AB
56552020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5656
5657 * gdb.linespec/cp-completion-aliases.cc: New file.
5658 * gdb.linespec/cp-completion-aliases.exp: New file.
5659
d8c8b848
TV
56602020-03-19 Tom de Vries <tdevries@suse.de>
5661
5662 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5663 more precise.
5664
a9933ccf
TV
56652020-03-18 Tom de Vries <tdevries@suse.de>
5666
5667 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5668 * gdb.dwarf2/break-inline-psymtab.c: New test.
5669 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5670
2f89101f
TV
56712020-03-16 Tom de Vries <tdevries@suse.de>
5672
5673 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5674 cache_verify and cache_verify_proc.
5675
6b9374f1
TV
56762020-03-15 Tom de Vries <tdevries@suse.de>
5677
5678 * gdb.server/solib-list.exp: Handle
5679 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5680
eaeaf44c
TV
56812020-03-15 Tom de Vries <tdevries@suse.de>
5682
5683 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5684 objfiles".
5685
3293bbaf
TT
56862020-03-14 Tom Tromey <tom@tromey.com>
5687
5688 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5689
ab44624c
TV
56902020-03-14 Tom de Vries <tdevries@suse.de>
5691
5692 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5693
54c43825
TV
56942020-03-14 Tom de Vries <tdevries@suse.de>
5695
5696 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5697 result in line-by-line fashion.
5698
2ac70237
TV
56992020-03-14 Tom de Vries <tdevries@suse.de>
5700
5701 * lib/gdb.exp (supports_statement_frontiers): New proc.
5702 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5703
09546b56
TV
57042020-03-14 Tom de Vries <tdevries@suse.de>
5705
5706 * gdb.base/printcmds.exp: Add missing quoting for "print
5707 teststring2".
5708
a1f6a07c
TT
57092020-03-13 Tom Tromey <tom@tromey.com>
5710
5711 * gdb.base/printcmds.exp (test_print_strings): Add regression
5712 test.
5713 * gdb.base/printcmds.c (charptr): New typedef.
5714 (teststring2): New global.
5715
1b83d09c
AB
57162020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5717
5718 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5719 full path in the test name.
5720 (test_ld): Add some with_test_prefix blocks to make test names
5721 unique.
5722
2d61316c
TV
57232020-03-13 Tom de Vries <tdevries@suse.de>
5724
5725 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5726
2e9145ac
TV
57272020-03-13 Tom de Vries <tdevries@suse.de>
5728
5729 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5730
96c7f873
TV
57312020-03-13 Tom de Vries <tdevries@suse.de>
5732
5733 PR symtab/25646
5734 * gdb.dwarf2/imported-unit.exp: Add test.
5735
49ba92c0
TV
57362020-03-13 Tom de Vries <tdevries@suse.de>
5737
5738 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5739 (var1, var2): New variable.
5740 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5741 matching symbols.
5742
301b21e0
TV
57432020-03-13 Tom de Vries <tdevries@suse.de>
5744
5745 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5746 (Term::command): Use prompt prefix.
5747 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5748 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5749 command_no_prompt_prefix instead of prefix.
5750 * gdb.tui/tui-layout-asm.exp: Same.
5751
3f512721
SM
57522020-03-12 Simon Marchi <simon.marchi@efficios.com>
5753
5754 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5755
40310f30
SM
57562020-03-12 Simon Marchi <simon.marchi@efficios.com>
5757
5758 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5759 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5760 on" while stepping over the test instruction, match printed
5761 message.
5762
09252140
TV
57632020-03-12 Tom de Vries <tdevries@suse.de>
5764
5765 * gdb.base/info-types.exp: Use exp_continue during matching of output
5766 of "info types".
5767
14e9c72c
TV
57682020-03-12 Tom de Vries <tdevries@suse.de>
5769
5770 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5771
e515d67e
TV
57722020-03-12 Tom de Vries <tdevries@suse.de>
5773
5774 * gdb.fortran/module.exp: Use exp_continue during matching of output
5775 of "info variable -n".
5776
307eafd8
TV
57772020-03-12 Tom de Vries <tdevries@suse.de>
5778
5779 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5780 gdb.dwarf2/dw2-ranges-base.c.
5781
9a2de3fc
TV
57822020-03-12 Tom de Vries <tdevries@suse.de>
5783
5784 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5785 in presence of GLIBC debuginfo.
5786
3217502e
TV
57872020-03-12 Tom de Vries <tdevries@suse.de>
5788
5789 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5790 $core.
5791
1281424c
TV
57922020-03-12 Tom de Vries <tdevries@suse.de>
5793
5794 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5795 more precise.
5796
038b97fc
SM
57972020-03-11 Simon Marchi <simon.marchi@efficios.com>
5798
5799 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5800 from Unix to Windows path.
5801
5308d1e7
TV
58022020-03-11 Tom de Vries <tdevries@suse.de>
5803
5804 * gdb.ada/minsyms.exp: Set language to ada.
5805
f870f78f
TV
58062020-03-11 Tom de Vries <tdevries@suse.de>
5807
5808 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5809
5a13315d
TV
58102020-03-11 Tom de Vries <tdevries@suse.de>
5811
5812 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5813
976862ed
TT
58142020-03-11 Tom Tromey <tromey@adacore.com>
5815
5816 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5817
7462c383
TV
58182020-03-11 Tom de Vries <tdevries@suse.de>
5819
5820 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5821
1c6c46a0
TV
58222020-03-11 Tom de Vries <tdevries@suse.de>
5823
5824 * gdb.base/break-interp.exp: Limit verbose scope.
5825
44f41bb7
TV
58262020-03-11 Tom de Vries <tdevries@suse.de>
5827
5828 * gdb.fortran/logical.f90: Define variable with character type.
5829 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5830
b76f3a42
TV
58312020-03-11 Tom de Vries <tdevries@suse.de>
5832
5833 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5834
1c33af77
TV
58352020-03-11 Tom de Vries <tdevries@suse.de>
5836
5837 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5838 symtabs.
5839
8c95582d
AB
58402020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5841 Bernd Edlinger <bernd.edlinger@hotmail.de>
5842
5843 * gdb.cp/step-and-next-inline.cc: New file.
5844 * gdb.cp/step-and-next-inline.exp: New file.
5845 * gdb.cp/step-and-next-inline.h: New file.
5846 * gdb.dwarf2/dw2-is-stmt.c: New file.
5847 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5848 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5849 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5850 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5851
cecf8547
AB
58522020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5853
5854 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5855 is-stmt flag in the line table.
5856
0ba678c9
TV
58572020-03-09 Tom de Vries <tdevries@suse.de>
5858
5859 * lib/gdb.exp (cached_file): Create cache dir.
5860
72fbdf83
TV
58612020-03-07 Tom de Vries <tdevries@suse.de>
5862
5863 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5864 * gdb.cp/rvalue-ref-params.exp: Same.
5865
436b5e99
TV
58662020-03-06 Tom de Vries <tdevries@suse.de>
5867
5868 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5869 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5870
09f2921c
TV
58712020-03-06 Tom de Vries <tdevries@suse.de>
5872
5873 * README: Fix "the the".
5874 * gdb.base/dprintf.exp: Same.
5875
50a3cc5d
TV
58762020-03-05 Tom de Vries <tdevries@suse.de>
5877
5878 * gdb.base/maint.exp: Update "main print statistics" expected output.
5879
0a709cba
AKS
58802020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5881
5882 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5883 (fortran_int8): Likewise.
5884 (fortran_real4): Likewise.
5885 (fortran_real8): Likewise.
5886 (fortran_complex4): Likewise.
5887 (fortran_logical4): Likewise.
5888 (fortran_character1): Likewise.
5889
5e5d66b6
AB
58902020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5891
5892 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5893 printed as true.
5894
7b973adc
SDJ
58952020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5896
5897 * gdb.base/printcmds.exp: Add test to verify printf of a
5898 variable holding an address.
5899
478e490a
TV
59002020-03-03 Tom de Vries <tdevries@suse.de>
5901
5902 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5903
1ef44e86
TV
59042020-03-03 Tom de Vries <tdevries@suse.de>
5905
5906 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5907 gdb_test_multiple call.
5908
b98cc2cf
TV
59092020-03-03 Tom de Vries <tdevries@suse.de>
5910
5911 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5912 gdb_test_multiple calls.
5913
63e163f2
AB
59142020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5915
5916 * gdb.base/default.exp: Remove test of 'set history filename'.
5917 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5918 filename to the empty string.
5919 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5920 and GDBHISTSIZE.
5921
24ed6739
AB
59222020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5923
5924 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5925 disabled.
5926
590003dc 59272020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5928 Tom de Vries <tdevries@suse.de>
590003dc
TV
5929
5930 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5931 -prompt prefix, before user_code argument. Add -lbl option likewise.
5932 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5933 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5934 argument.
5935 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5936 have "\r\n" at start-of-line, instead of at end-of-line.
5937
f5e46084
SM
59382020-02-28 Simon Marchi <simon.marchi@efficios.com>
5939
5940 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5941 libinproctrace.so.
5942
f7a7000d
LM
59432020-02-28 Luis Machado <luis.machado@linaro.org>
5944
5945 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5946 to "p/x".
5947
718e0816
LM
59482020-02-28 Luis Machado <luis.machado@linaro.org>
5949
5950 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5951 asm/ptrace.h and error.h.
5952
13c3a74a
TV
59532020-02-28 Tom de Vries <tdevries@suse.de>
5954
5955 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5956 (struct wrapper, do_something, mundane/symada__cS): Move ...
5957 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5958 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5959 Update "print symada__cS before partial symtab expansion" regexp.
5960 Update breakpoint location. Flush symbol cache after expansion.
5961
85d2d5bb
LM
59622020-02-28 Luis Machado <luis.machado@linaro.org>
5963
5964 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5965
3608f86c
TV
59662020-02-27 Tom de Vries <tdevries@suse.de>
5967
5968 * config/sid.exp: Remove unused globals.
5969 * gdb.base/attach.exp: Same.
5970 * gdb.base/catch-load.exp: Same.
5971 * gdb.base/dbx.exp: Same.
5972 * lib/gdb.exp: Same.
5973 * lib/mi-support.exp: Same.
5974 * lib/prompt.exp: Same.
5975
c8d4f6df
TV
59762020-02-27 Tom de Vries <tdevries@suse.de>
5977
5978 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5979 not set.
5980
0d79cdc4
AM
59812020-02-26 Aaron Merey <amerey@redhat.com>
5982
5983 * gdb.debuginfod: New directory for debuginfod tests.
5984 * gdb.debuginfod/main.c: New test file.
5985 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5986
0dce4280
TV
59872020-02-26 Tom de Vries <tdevries@suse.de>
5988
5989 PR gdb/25603
5990 * gdb.base/persistent-lang.cc: New test.
5991 * gdb.base/persistent-lang.exp: New file.
5992
9e80cfa1
AB
59932020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5994
5995 * gdb.fortran/derived-type-striding.exp: Add a new test.
5996 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5997 new test.
5998
2078dbb2
AB
59992020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
6000
6001 * gdb.base/cached-source-file.exp: Avoid source file paths in test
6002 names.
6003
70d49700
TV
60042020-02-25 Tom de Vries <tdevries@suse.de>
6005
6006 PR go/18926
6007 * gdb.go/methods.exp: Remove gcc/93866 xfail.
6008
a88ef40d
TV
60092020-02-24 Tom de Vries <tdevries@suse.de>
6010
6011 PR gdb/25592
6012 * gdb.base/info-locals-unused-static-var.c: New test.
6013 * gdb.base/info-locals-unused-static-var.exp: New file.
6014
01b1af32
TT
60152020-02-22 Tom Tromey <tom@tromey.com>
6016
6017 * gdb.python/tui-window.exp: New file.
6018 * gdb.python/tui-window.py: New file.
6019
7c043ba6
TT
60202020-02-22 Tom Tromey <tom@tromey.com>
6021
6022 PR tui/17850:
6023 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
6024 tests.
6025
c22fef7e
TT
60262020-02-22 Tom Tromey <tom@tromey.com>
6027
6028 * gdb.tui/new-layout.exp: Add sub-layout tests.
6029
ee325b61
TT
60302020-02-22 Tom Tromey <tom@tromey.com>
6031
6032 * gdb.tui/new-layout.exp: New file.
6033
3f0cbb04
TT
60342020-02-22 Tom Tromey <tom@tromey.com>
6035
6036 * gdb.rust/rust-style.rs: New file.
6037 * gdb.rust/rust-style.exp: New file.
6038 * gdb.base/style.exp: Test structure printing.
6039 * gdb.base/style.c (struct some_struct): New type.
6040 (enum etype): New type.
6041 (struct_value): New global.
6042
75525152
TV
60432020-02-21 Tom de Vries <tdevries@suse.de>
6044
6045 PR go/18926
6046 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
6047 Remove blanket xfails. Use message argument for gdb_breakpoint.
6048 Make continuing to breakpoint test conditional on setting breakpoint.
6049 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
6050 DW_AT_name attribute. Add xfail for GCC PR93866.
6051
bd360d30
AB
60522020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
6053
6054 * gdb.dwarf2/cpp-linkage-name.c: New file.
6055 * gdb.dwarf2/cpp-linkage-name.exp: New file.
6056
c7adb09f 60572020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
6058
6059 * lib/gdb.exp (gdb_wrapper_init): Reset
6060 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
6061 not exist.
6062
a9c79803
TV
60632020-02-20 Tom de Vries <tdevries@suse.de>
6064
6065 PR go/17018
6066 * gdb.go/hello.exp: Copy ...
6067 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
6068 print of st to print value of global definition. Add xfail for GCC
6069 PR93844.
6070 * gdb.go/hello.exp: Remove printing of st before definition.
6071 * gdb.go/hello.go: Copy ...
6072 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
6073 to st.
6074 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
6075
d7445728
TV
60762020-02-20 Tom de Vries <tdevries@suse.de>
6077
6078 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
6079 (gdb_simple_compile): Handle compile_flags go by using .go extension
6080 for source file.
6081 * gdb.go/chan.exp: Use support_go_compile.
6082 * gdb.go/handcall.exp: Same.
6083 * gdb.go/hello.exp: Same.
6084 * gdb.go/integers.exp: Same.
6085 * gdb.go/max-depth.exp: Same.
6086 * gdb.go/methods.exp: Same.
6087 * gdb.go/package.exp: Same.
6088 * gdb.go/strings.exp: Same.
6089 * gdb.go/types.exp: Same.
6090 * gdb.go/unsafe.exp: Same.
6091
c9c41e6d
TV
60922020-02-19 Tom de Vries <tdevries@suse.de>
6093
6094 * gdb.python/lib-types.exp: Make xfail more strict.
6095
f20ff837
TV
60962020-02-19 Tom de Vries <tdevries@suse.de>
6097
6098 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
6099
08410482
DE
61002020-02-19 Doug Evans <dje@google.com>
6101
6102 PR rust/25535
6103 * gdb.rust/simple.exp: Add test.
6104 * gdb.rust/simple.rs: Add test.
6105
623563f7
TV
61062020-02-19 Tom de Vries <tdevries@suse.de>
6107
6108 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
6109 output line-by-line.
6110
d3308cfd
TV
61112020-02-19 Tom de Vries <tdevries@suse.de>
6112
6113 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
6114
86cbc5dc
TV
61152020-02-19 Tom de Vries <tdevries@suse.de>
6116
6117 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
6118 prelink.
6119
9db2b96b
TV
61202020-02-19 Tom de Vries <tdevries@suse.de>
6121
6122 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
6123 (gdb_do_cache): Use gdb_do_cache_wrap.
6124 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
6125
89e2fdc5
TV
61262020-02-19 Tom de Vries <tdevries@suse.de>
6127
6128 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
6129 gdb_compile option.
6130
373d7ac0
SM
61312020-02-18 Simon Marchi <simon.marchi@efficios.com>
6132
6133 * gdb.base/printcmds.exp (test_print_enums): Update expected
6134 output.
6135
b29a2df0
SM
61362020-02-18 Simon Marchi <simon.marchi@efficios.com>
6137
6138 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
6139 for "unknown".
6140
6740f0cc
SM
61412020-02-18 Simon Marchi <simon.marchi@efficios.com>
6142
6143 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
6144 enumerator.
6145
edd45eb0
SM
61462020-02-18 Simon Marchi <simon.marchi@efficios.com>
6147
6148 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
6149 FE_, add FE_NONE.
6150 (three): Update.
6151 (enum flag_enum_without_zero): New enum.
6152 (flag_enum_without_zero): New variable.
6153 (enum not_flag_enum): New enum.
6154 (three_not_flag): New variable.
6155 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
6156 (test_print_enums): Add more tests for printing flag enums.
6157
d4295de4
TV
61582020-02-18 Tom de Vries <tdevries@suse.de>
6159
6160 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
6161 (gdb_compile_ada): ... here.
6162 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
6163 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
6164
f251f505
TT
61652020-02-14 Tom Tromey <tom@tromey.com>
6166
6167 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
6168 build directory.
6169 * boards/gdbserver-base.exp: Update path to gdbserver.
6170
8f432634
TV
61712020-02-13 Tom de Vries <tdevries@suse.de>
6172
6173 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
6174
92b6eaf7
TV
61752020-02-13 Tom de Vries <tdevries@suse.de>
6176
6177 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
6178 are missing.
6179
f3b0f7fe
TV
61802020-02-13 Tom de Vries <tdevries@suse.de>
6181
6182 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
6183 call.
6184
f6be8713
SDJ
61852020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
6186
6187 PR tui/25126
6188 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
6189 * gdb.base/cached-source-file.c: New file.
6190 * gdb.base/cached-source-file.exp: New file.
6191
b2770d5e
TV
61922020-02-11 Tom de Vries <tdevries@suse.de>
6193
6194 PR testsuite/25488
6195 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
6196
44f6938e
TV
61972020-02-10 Tom de Vries <tdevries@suse.de>
6198
6199 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
6200
5f0e2eb7
MR
62012020-02-10 Maciej W. Rozycki <macro@wdc.com>
6202
6203 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
6204 and $after_addr are both integers before making a comparison.
6205
46ce2b6f
TV
62062020-02-09 Tom de Vries <tdevries@suse.de>
6207
6208 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
6209 command output and paste it into gdb.log. If any, paste catch message
6210 to gdb.log.
6211
5abbbe1d
TT
62122020-02-07 Tom Tromey <tromey@adacore.com>
6213
6214 PR breakpoints/24915:
6215 * gdb.base/annotate-symlink.exp: Use setup_xfail.
6216
1d5d29e7
SV
62172020-02-06 Shahab Vahedi <shahab@synopsys.com>
6218
6219 * gdb.tui/tui-missing-src.exp: Add the "missing source
6220 file" test for the TUI.
6221
b0999b9b
AB
62222020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
6223
6224 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
6225 including a port number in the output.
6226
c3b149eb
AKS
62272020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
6228
6229 * lib/fortran.exp (fortran_int4): Handle clang.
6230 (fortran_int8): Likewise.
6231 (fortran_real4): Likewise.
6232 (fortran_real8): Likewise.
6233 (fortran_complex4): Likewise.
6234 (fortran_logical4): Likewise.
6235 (fortran_character1): Likewise.
6236
f8dcc90b
TV
62372020-02-04 Tom de Vries <tdevries@suse.de>
6238
6239 * README (Race detection): Add note.
6240
f90ac7c2
TV
62412020-02-04 Tom de Vries <tdevries@suse.de>
6242
6243 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
6244
780636ae
TV
62452020-02-04 Tom de Vries <tdevries@suse.de>
6246
6247 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
6248
5d2e1193
RA
62492020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6250
6251 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
6252 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
6253 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
6254 blttar, bnetarl.
6255 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
6256 binary for blttar, bnetarl.
6257 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6258 wait instruction. Delete ldmx test.
6259 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6260
e409c542
AKS
62612020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6262
6263 * gdb.fortran/array-bounds-high.exp: New file.
6264 * gdb.fortran/array-bounds-high.f90: New file.
6265
b0029748
LD
62662020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6267
6268 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6269 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6270
195a8287
TV
62712020-02-01 Tom de Vries <tdevries@suse.de>
6272
6273 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6274
42330a68
AB
62752020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6276
6277 PR tui/9765
6278 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6279 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6280
b62a8028
LM
62812020-01-29 Luis Machado <luis.machado@linaro.org>
6282
6283 * gdb.arch/aarch64-brk-patterns.c: New source file.
6284 * gdb.arch/aarch64-brk-patterns.exp: New test.
6285
5f440116
TBA
62862020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6287
6288 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6289 GCC/Clang version.
6290 * gdb.cp/pass-by-ref.exp: Ditto.
6291
ee2a6fc6
TV
62922020-01-29 Tom de Vries <tdevries@suse.de>
6293
6294 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6295 * gdb.threads/watchpoint-fork-mt.c: Same.
6296 * gdb.threads/watchpoint-fork-parent.c: Same.
6297 * gdb.threads/watchpoint-fork-st.c: Same.
6298 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6299
16b10d6e
LM
63002020-01-27 Luis Machado <luis.machado@linaro.org>
6301
6302 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6303 sitting at a syscall instruction when we hit the syscall function's
6304 breakpoint.
6305 Check PC against one obtained with the x command.
6306 Validate syscall number.
6307 (step_over_syscall): Don't continue to the syscall instruction if
6308 we're already there.
6309
b1468492
PW
63102020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6311
6312 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6313
7ffa82e1
AB
63142020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6315
6316 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6317 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6318
3d92a3e3
AB
63192020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6320
6321 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6322 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6323
94a72be7
AB
63242020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6325
6326 * gdb.base/maint.exp: Update line table parsing test.
6327 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6328
53af73bf
PA
63292020-01-24 Pedro Alves <palves@redhat.com>
6330
6331 PR gdb/25410
6332 * gdb.multi/multi-re-run-1.c: New.
6333 * gdb.multi/multi-re-run-2.c: New.
6334 * gdb.multi/multi-re-run.exp: New.
6335
1ba1ac88
AB
63362020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6337
6338 PR gdb/23718
6339 * gdb.server/server-kill-python.exp: New file.
6340
f3364a6d
AB
63412020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6342
6343 * gdb.server/multi-ui-errors.c: New file.
6344 * gdb.server/multi-ui-errors.exp: New file.
6345
733d0a67
AB
63462020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6347
6348 PR tui/9765
6349 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6350
4f13c1c0
TT
63512020-01-19 Tom Tromey <tom@tromey.com>
6352
6353 * gdb.tui/main.exp: Add check for plain "file".
6354
40c94099
CB
63552020-01-16 Christian Biesinger <cbiesinger@google.com>
6356
6357 * lib/gdb.exp: Fix spelling error (seperatelly).
6358
ff47f4f0
TT
63592020-01-14 Tom Tromey <tom@tromey.com>
6360
6361 PR symtab/12535:
6362 * gdb.python/python.exp: Test decode_line with empty string
6363 argument.
6364
717c684d
BE
63652020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6366
6367 * gdb.base/skip-inline.exp: Extend test.
6368
44e4c775
AB
63692020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6370
6371 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6372 * gdb.dwarf2/dw2-bad-elf.c: New file.
6373 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6374
d93c6db7
AB
63752020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6376
6377 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6378 _line_saw_file.
6379
9a6d629c
AB
63802020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6381
6382 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6383 border.
6384
d9ebdab7
TBA
63852020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6386
6387 * gdb.multi/multi-target.exp (setup): Factor out "info
6388 connections" and "info inferiors" tests to ...
6389 (test_info_inferiors): ... this new procedure.
6390 (top level): Run new "info-inferiors" tests.
6391
f3c469b9
PA
63922020-01-10 Pedro Alves <palves@redhat.com>
6393
6394 * gdb.server/bkpt-other-inferior.exp: New file.
6395
121b3efd
PA
63962020-01-10 Pedro Alves <palves@redhat.com>
6397
6398 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6399 of "add-inferior".
6400 * gdb.base/quit-live.exp: Likewise.
6401 * gdb.base/remote-exec-file.exp: Likewise.
6402 * gdb.guile/scm-progspace.exp: Likewise.
6403 * gdb.linespec/linespec.exp: Likewise.
6404 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6405 * gdb.mi/user-selected-context-sync.exp: Likewise.
6406 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6407 "info inferiors" tests.
6408 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6409 "add-inferior".
6410 * gdb.multi/watchpoint-multi.exp: Likewise.
6411 * gdb.python/py-inferior.exp: Likewise.
6412 * gdb.server/extended-remote-restart.exp: Likewise.
6413 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6414 "info inferiors".
6415 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6416 * gdb.trace/report.exp: Likewise.
6417
1dadb1dd
PA
64182020-01-10 Pedro Alves <palves@redhat.com>
6419
6420 * gdb.multi/multi-target.c: New file.
6421 * gdb.multi/multi-target.exp: New file.
6422 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6423 mode requested, but remote does not support non-stop".
6424
78f2c40a
PA
64252020-01-10 Pedro Alves <palves@redhat.com>
6426
6427 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6428 disconnect before reconnecting.
6429
e7af6c70
TBA
64302020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6431 Pedro Alves <palves@redhat.com>
6432
6433 * gdb.server/connect-without-multi-process.exp: Also test
6434 continuing to end.
6435
acdf84a6
PA
64362020-01-10 Pedro Alves <palves@redhat.com>
6437
6438 * gdb.base/remote-exec-file.exp: New file.
6439
873657b9
PA
64402020-01-10 Pedro Alves <palves@redhat.com>
6441
6442 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6443 output.
6444 * gdb.threads/async.c: New.
6445 * gdb.threads/async.exp: New.
6446 * gdb.multi/tids-gid-reset.c: New.
6447 * gdb.multi/tids-gid-reset.exp: New.
6448
7f0ae84c
GB
64492020-01-10 George Barrett <bob@bob131.so>
6450
6451 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6452 to help in finding the image relocation offset.
6453 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6454 options in arguments.
6455 (stap_test_no_debuginfo): Likewise.
6456 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6457 test variants.
6458 (stap_test): Add null semaphore relocation test.
6459
47e9d49d
GB
64602020-01-10 George Barrett <bob@bob131.so>
6461
6462 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6463 * gdb.base/stap-probe.exp: Likewise.
6464 (stap_test): Pass argument as an additional flag.
6465 (stap_test_no_debuginfo): Likewise.
6466 (stap_test): Check `info probes stap' output for semaphore
6467 addresses if the test binary is supposed to have them.
6468
f5a7c406
AB
64692020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6470
6471 * gdb.tui/basic.exp: Add more scrolling tests.
6472
9ae6bf64
TT
64732020-01-09 Tom Tromey <tom@tromey.com>
6474
6475 PR tui/18932:
6476 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6477 meangingful value.
6478 (Term::command, Term::resize): Update.
6479 * gdb.tui/basic.exp: Add scrolling test.
6480
b2efe70c
AB
64812020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6482
6483 * gdb.tui/tui-layout-asm.exp: New file.
6484
3804da7e
AB
64852020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6486
6487 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6488
b40aa28f
AB
64892020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6490
6491 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6492 (Term::enter_tui): Use Term::prepare_for_tui.
6493
63ffd7c9
AB
64942020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6495
6496 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6497 called.
6498
3be966f6
AB
64992020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6500
6501 * gdb.base/skip.exp: Fix race condition in test.
6502
153d79c4
AB
65032020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6504
6505 * gdb.base/backtrace.c: New file.
6506 * gdb.base/backtrace.exp: New file.
6507
f2302a34
AB
65082020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6509
6510 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6511
6ec1d75e
PW
65122020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6513
6514 * gdb.base/style.exp: Test that warnings are styled.
6515
c296cbe6
BE
65162019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6517
6518 * gdb.base/line65535.exp: New file.
6519 * gdb.base/line65535.c: New file.
6520
b28a729d
SM
65212019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6522
6523 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6524 * lib/gnat_debug_info_test.adb: New file.
6525 * gdb.ada/ptype_tagged_param.exp: Use
6526 gnat_runtime_has_debug_info, expect a different output if
6527 runtime does not have debug info.
6528
7f2d7a0d
SM
65292019-12-20 Simon Marchi <simon.marchi@efficios.com>
6530
6531 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6532 (another) quote in test name.
6533
f3bce483
SM
65342019-12-20 Simon Marchi <simon.marchi@efficios.com>
6535
6536 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6537 Add quote in test name.
6538
c855a912
TBA
65392019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6540
6541 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6542 directory instead.
6543 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6544 * gdb.cp/pass-by-ref-2.cc: New file.
6545 * gdb.cp/pass-by-ref-2.exp: New file.
6546
fc9d2d72
TT
65472019-12-20 Tom Tromey <tom@tromey.com>
6548
6549 * gdb.tui/list-before.exp: New file.
6550
77b97e00
TT
65512019-12-20 Tom Tromey <tom@tromey.com>
6552
6553 * gdb.tui/list.exp: Check for source on initial listing.
6554
f69656d0
TT
65552019-12-11 Tom Tromey <tromey@adacore.com>
6556
6557 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6558 Add crlf test.
6559
99a55965
SM
65602019-12-18 Simon Marchi <simon.marchi@efficios.com>
6561
6562 * gdb.base/default.exp: Update value of $_gdb_major.
6563
5024637f
BE
65642019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6565
6566 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6567
b63634be
BE
65682019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6569
6570 * gdb.base/skip.exp: Whitespace fix.
6571
45d73523
BE
65722019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6573
6574 * gdb.base/skip-inline.c: New file.
6575 * gdb.base/skip-inline.exp: New file.
6576
d043f8c8
SM
65772019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6578
6579 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6580 jit_function_00 to jit_function_stack_mangle.
6581 * gdb.base/jithost.c (jit_function_t): Rename to...
6582 (jit_function_stack_mangle_t): ... this.
6583 (jit_function_add_t): New typedef.
6584 (jit_function_00_code): Rename to...
6585 (jit_function_stack_mangle_code): ... this, make static.
6586 (jit_function_add_code): New.
6587 (main): Generate "add" function and call it. Adjust to changes
6588 in jithost_abi.
6589 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6590 (struct jithost_abi) <begin, end>: Remove fields.
6591 <object, function_stack_mangle, function_add>: New fields.
6592 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6593 code_end>: Remove fields.
6594 <func_stack_mangle>: New field.
6595 (read_debug_info): Adjust to renaming, create block for "add"
6596 function.
6597 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6598
873de05c
TT
65992019-12-11 Tom Tromey <tom@tromey.com>
6600
6601 * gdb.tui/resize.exp: Fix regexp.
6602 * gdb.tui/regs.exp: Fix regexps.
6603 * gdb.tui/main.exp: Fix regexp.
6604
3d979945
TT
66052019-12-11 Tom Tromey <tom@tromey.com>
6606
6607 * gdb.tui/resize.exp: Update.
6608 * gdb.tui/empty.exp (layouts): Update.
6609
2192a9d3
TT
66102019-12-11 Tom Tromey <tom@tromey.com>
6611
6612 * gdb.tui/regs.exp: Update.
6613 * gdb.tui/empty.exp (layouts): Update.
6614 * gdb.tui/basic.exp: Update.
6615 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6616
d8edc8b7
PW
66172019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6618
6619 * gdb.base/options.exp: Add -raw-values in the print completion list.
6620 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6621
4c12d936
KB
66222019-12-10 Kevin Buettner <kevinb@redhat.com>
6623
6624 * gdb.threads/omp-par-scope.c: New file.
6625 * gdb/threads/omp-par-scope.exp: New file.
6626
26b911fb
KB
66272019-12-10 Kevin Buettner <kevinb@redhat.com>
6628
bb47f919
KB
6629 * lib/gdb.exp (support_nested_function_tests): New proc.
6630
66312019-12-10 Kevin Buettner <kevinb@redhat.com>
6632
6633 * lib/gdb.exp (gdb_compile_openmp): New proc.
6634 (build_executable_from_specs): Add an "openmp" option.
6635 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6636
6c71eb7d
TT
66372019-12-10 Tom Tromey <tromey@adacore.com>
6638
6639 * gdb.ada/unchecked_union.exp: New file.
6640 * gdb.ada/unchecked_union/pck.adb: New file.
6641 * gdb.ada/unchecked_union/pck.ads: New file.
6642 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6643 * gdb-utils.exp (string_to_regexp): Also quote "?".
6644
bac7c5cf
GB
66452019-12-10 George Barrett <bob@bob131.so>
6646
6647 Test scripted probe breakpoints.
6648 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6649 * gdb.python/py-breakpoint.c (main): Likewise.
6650 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6651 specifier test.
6652 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6653
330f1d38
TBA
66542019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6655
6656 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6657 an rvalue parameter.
6658 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6659 parameter.
6660
b43315e2
AB
66612019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6662
6663 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6664 modules.
6665
54f73dad
AB
66662019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6667
6668 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6669 broken version of GCC.
6670
d57cbee9
AB
66712019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6672
6673 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6674 sym-info-cmds library.
6675 * gdb.fortran/info-types.exp: Likewise.
6676 * lib/sym-info-cmds.exp: New file.
6677
c14aab8c
TV
66782019-12-08 Tom de Vries <tdevries@suse.de>
6679
6680 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6681
aa2d5a42
KS
66822019-12-07 Keith Seitz <keiths@redhat.com>
6683
6684 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6685 * gdb.base/corefile-buildid-shlib.c: New file.
6686 * gdb.base/corefile-buildid.c: New file.
6687 * gdb.base/corefile-buildid.exp: New file.
6688
93e55f0a
TV
66892019-12-06 Tom de Vries <tdevries@suse.de>
6690
6691 * gdb.dwarf2/varval.exp: Add decl before def test.
6692
c7d12402
TBA
66932019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6694
6695 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6696
06acc08f
TBA
66972019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6698
6699 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6700 CV and reference conversion for overload resolution.
6701 * gdb.cp/rvalue-ref-overload.exp: Test it.
6702
e0fad1ea
PW
67032019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6704
6705 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6706 * gdb.base/frameapply.exp: Test faas without command.
6707
8d70a9f0
AB
67082019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6709
6710 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6711 Fortran tests.
6712 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6713 order.
6714
36c8fb93
AB
67152019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6716
6717 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6718 casting to type with no kind specified.
6719 (test_basic_parsing_of_type_kinds): Additional tests for types
6720 with no kind specified, and add tests for single/double
6721 precision/complex types.
6722
4139ff00
TT
67232019-12-04 Tom Tromey <tromey@adacore.com>
6724
6725 * gdb.base/endianity.c (struct other) <x>: New field.
6726 (main): Initialize it.
6727 * gdb.base/endianity.exp: Update.
6728
a05cf17a
TT
67292019-12-04 Tom Tromey <tromey@adacore.com>
6730
6731 * gdb.ada/scalar_storage/storage.adb: New file.
6732 * gdb.ada/scalar_storage/pck.adb: New file.
6733 * gdb.ada/scalar_storage/pck.ads: New file.
6734 * gdb.ada/scalar_storage.exp: New file.
6735
103a685e
TT
67362019-12-04 Tom Tromey <tromey@adacore.com>
6737
6738 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6739 (main): Initialize it.
6740 * gdb.base/endianity.exp: Update.
6741
c2512106
AB
67422019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6743
6744 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6745
293b38d6
AB
67462019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6747
6748 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6749 -symbol-info-module-functions and -symbol-info-module-variables.
6750
216a7e6b
AB
67512019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6752
6753 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6754
5bbd8269
AB
67552019-12-01 Richard Bunt <richard.bunt@arm.com>
6756 Andrew Burgess <andrew.burgess@embecosm.com>
6757
6758 * gdb.fortran/derived-type-striding.exp: New file.
6759 * gdb.fortran/derived-type-striding.f90: New file.
6760 * gdb.fortran/array-slices.exp: New file.
6761 * gdb.fortran/array-slices.f90: New file.
6762
be09caf1
PW
67632019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6764
6765 * gdb.base/define.exp: Test . in command names.
6766 * gdb.base/setshow.exp: Update test, as . is now part of
6767 command name.
6768
643c0cbe
PW
67692019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6770
6771 * gdb.base/define-prefix.exp: New file.
6772
dcdec678
AB
67732019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6774
6775 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6776 compile.
6777 (skip_btrace_pt_tests): Likewise.
6778
640ab947
AB
67792019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6780
6781 * gdb.fortran/info-modules.exp: Compile source files in correct
6782 order.
6783
d22670f0
KB
67842019-11-27 Kevin Buettner <kevinb@redhat.com>
6785
6786 * gdb.dwarf2/imported-unit.exp: New file.
6787 * gdb.dwarf2/imported-unit.c: New file.
6788
db5960b4
AB
67892019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6790
6791 * gdb.mi/mi-fortran-modules-2.f90: New file.
6792 * gdb.mi/mi-fortran-modules.exp: New file.
6793 * gdb.mi/mi-fortran-modules.f90: New file.
6794
7dc42066
AB
67952019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6796
6797 * gdb.mi/mi-sym-info-1.c: New file.
6798 * gdb.mi/mi-sym-info-2.c: New file.
6799 * gdb.mi/mi-sym-info.exp: New file.
6800
0dfeecca
TT
68012019-11-22 Tom Tromey <tromey@adacore.com>
6802
6803 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6804 * gdb.ada/tasks/foo.adb: Add another stopping location.
6805
34877895
PJ
68062019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6807
6808 * gdb.base/endianity.c: New test.
6809 * gdb.base/endianity.exp: New file.
6810
2e84f897
LD
68112019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6812
6813 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6814
65d1cd5f
TV
68152019-11-21 Tom de Vries <tdevries@suse.de>
6816
6817 PR gdb/24956
6818 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6819
4f22c3f4
SDJ
68202019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6821
6822 * gdb.python/py-progspace.exp: Add missing parentheses on some
6823 'print' commands.
6824
9f6ad286
TT
68252019-11-19 Tom Tromey <tom@tromey.com>
6826
6827 * gdb.tui/winheight.exp: New file.
6828
0b8dbf3f
AB
68292019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6830
6831 * gdb.base/ctf-whatis.c: Delete.
6832 * gdb.base/ctf-whatis.exp: Delete.
6833 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6834
f833b7a7
AB
68352019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6836
6837 * gdb.base/ctf-cvexpr.exp: Delete.
6838 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6839
30d0a636
AB
68402019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6841
6842 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6843 the compiler. Clean up header comment a little.
6844 * gdb.base/ctf-ptype.exp: Likewise.
6845 * gdb.base/ctf-whatis.exp: Likewise.
6846 * lib/gdb.exp (skip_ctf_tests): New proc.
6847
494409bb
SDJ
68482019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6849
6850 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6851 * gdb.tui/corefile-run.exp: New file.
6852
55708e99
TT
68532019-11-14 Tom Tromey <tromey@adacore.com>
6854
6855 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6856 regression tests.
6857
45e42163
TT
68582019-11-12 Tom Tromey <tom@tromey.com>
6859
6860 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6861 after any command. Expect prompt after WAIT_FOR is seen.
6862 (enter_tui): Enable resize messages.
6863 (command): Expect command in output.
6864 (get_line): Avoid error when cursor appears to be off-screen.
6865 (dump_screen): Include screen size in title.
6866 (_do_resize): New proc, from "resize".
6867 (resize): Rewrite. Do resize in two steps.
6868 * gdb.tui/empty.exp (layouts): Fix entries.
6869 (check_boxes): Remove xfail.
6870 (check_text): Dump screen on failure.
6871
086baaf1
AB
68722019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6873
6874 * gdb.python/py-symbol.exp: Add test for
6875 gdb.lookup_static_symbols.
6876
09ff83af
AB
68772019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6878
6879 * gdb.python/py-symbol.c: Declare and call function from new
6880 py-symbol-2.c file.
6881 * gdb.python/py-symbol.exp: Compile both source files, and add new
6882 tests for gdb.lookup_static_symbol.
6883 * gdb.python/py-symbol-2.c: New file.
6884
11af934b
TV
68852019-11-02 Tom de Vries <tdevries@suse.de>
6886
6887 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6888 * gdb.base/anon.exp: Same.
6889 * gdb.base/auto-connect-native-target.exp: Same.
6890 * gdb.base/call-ar-st.exp: Same.
6891 * gdb.base/catch-syscall.exp: Same.
6892 * gdb.base/commands.exp: Same.
6893 * gdb.base/default.exp: Same.
6894 * gdb.base/display.exp: Same.
6895 * gdb.base/float.exp: Same.
6896 * gdb.base/foll-fork.exp: Same.
6897 * gdb.base/help.exp: Same.
6898 * gdb.base/info-macros.exp: Same.
6899 * gdb.base/info-proc.exp: Same.
6900 * gdb.base/info-target.exp: Same.
6901 * gdb.base/long_long.exp: Same.
6902 * gdb.base/macscp.exp: Same.
6903 * gdb.base/memattr.exp: Same.
6904 * gdb.base/nofield.exp: Same.
6905 * gdb.base/pointers.exp: Same.
6906 * gdb.base/printcmds.exp: Same.
6907 * gdb.base/ptype.exp: Same.
6908 * gdb.base/restore.exp: Same.
6909 * gdb.base/return.exp: Same.
6910 * gdb.base/scope.exp: Same.
6911 * gdb.base/set-noassign.exp: Same.
6912 * gdb.base/setshow.exp: Same.
6913 * gdb.base/shlib-call.exp: Same.
6914 * gdb.base/signals.exp: Same.
6915 * gdb.base/sigstep.exp: Same.
6916 * gdb.base/skip.exp: Same.
6917 * gdb.base/solib-symbol.exp: Same.
6918 * gdb.base/stap-probe.exp: Same.
6919 * gdb.base/step-line.exp: Same.
6920 * gdb.base/step-test.exp: Same.
6921 * gdb.base/style.exp: Same.
6922 * gdb.base/varargs.exp: Same.
6923 * gdb.base/vla-datatypes.exp: Same.
6924 * gdb.base/vla-ptr.exp: Same.
6925 * gdb.base/vla-sideeffect.exp: Same.
6926 * gdb.base/volatile.exp: Same.
6927 * gdb.base/watch-cond-infcall.exp: Same.
6928 * gdb.base/watchpoint.exp: Same.
6929
e96ec2ba
TV
69302019-11-02 Tom de Vries <tdevries@suse.de>
6931
6932 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6933 * gdb.cp/cpexprs.exp: Same.
6934 * gdb.cp/except-multi-location.exp: Same.
6935 * gdb.cp/exceptprint.exp: Same.
6936 * gdb.cp/gdb2384.exp: Same.
6937 * gdb.cp/inherit.exp: Same.
6938 * gdb.cp/m-static.exp: Same.
6939 * gdb.cp/meth-typedefs.exp: Same.
6940 * gdb.cp/misc.exp: Same.
6941 * gdb.cp/namespace.exp: Same.
6942 * gdb.cp/non-trivial-retval.exp: Same.
6943 * gdb.cp/overload.exp: Same.
6944 * gdb.cp/pr17132.exp: Same.
6945 * gdb.cp/re-set-overloaded.exp: Same.
6946 * gdb.cp/rvalue-ref-types.exp: Same.
6947 * gdb.cp/templates.exp: Same.
6948
bd5766ec
LM
69492019-11-01 Luis Machado <luis.machado@linaro.org>
6950
6951 PR gdb/25124
6952
6953 * gdb.arch/pr25124.S: New file.
6954 * gdb.arch/pr25124.exp: New file.
6955
165f8965
AB
69562019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6957
6958 * gdb.fortran/info-modules.exp: Update expected results, and add
6959 additional tests for 'info module functinos', and 'info module
6960 variables'.
6961 * gdb.fortran/info-types.exp: Update expected results.
6962 * gdb.fortran/info-types.f90: Extend testcase with additional
6963 module variables and functions.
6964
59c35742
AB
69652019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6966
6967 * gdb.fortran/info-modules.exp: New file.
6968 * gdb.fortran/info-types.exp: Build with new file.
6969 * gdb.fortran/info-types.f90: Include and use new module.
6970 * gdb.fortran/info-types-2.f90: New file.
6971
f3fb2519
PW
69722019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6973
6974 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6975 * gdb.base/settings.exp: Test all settings types using
6976 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6977 that now verifies that the value of "maint show" is the same as
6978 returned by the settings functions. Test the type of the
6979 maintenance settings.
6980 * gdb.base/default.exp: Update show_conv_list.
6981
d1e36019
TV
69822019-10-31 Tom de Vries <tdevries@suse.de>
6983
6984 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6985 gdb_test.
6986 * gdb.arch/amd64-disp-step.exp: Same.
6987 * gdb.asm/asm-source.exp: Same.
6988 * gdb.btrace/buffer-size.exp: Same.
6989 * gdb.btrace/cpu.exp: Same.
6990 * gdb.btrace/enable.exp: Same.
6991 * gdb.dwarf2/count.exp: Same.
6992 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6993 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6994 * gdb.fortran/vla-datatypes.exp: Same.
6995 * gdb.fortran/vla-history.exp: Same.
6996 * gdb.fortran/vla-ptype.exp: Same.
6997 * gdb.fortran/vla-value.exp: Same.
6998 * gdb.fortran/whatis_type.exp: Same.
6999 * gdb.guile/guile.exp: Same.
7000 * gdb.multi/tids.exp: Same.
7001 * gdb.python/py-finish-breakpoint.exp: Same.
7002 * gdb.python/py-framefilter.exp: Same.
7003 * gdb.python/py-pp-registration.exp: Same.
7004 * gdb.python/py-xmethods.exp: Same.
7005 * gdb.python/python.exp: Same.
7006 * gdb.server/connect-with-no-symbol-file.exp: Same.
7007 * gdb.server/no-thread-db.exp: Same.
7008 * gdb.server/run-without-local-binary.exp: Same.
7009 * gdb.stabs/weird.exp: Same.
7010 * gdb.threads/attach-many-short-lived-threads.exp: Same.
7011 * gdb.threads/thread-find.exp: Same.
7012 * gdb.threads/tls-shared.exp: Same.
7013 * gdb.threads/tls.exp: Same.
7014 * gdb.threads/wp-replication.exp: Same.
7015 * gdb.trace/ax.exp: Same.
7016 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
7017
3d11e68e
TV
70182019-10-31 Tom de Vries <tdevries@suse.de>
7019
7020 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
7021 * gdb.ada/array_subscript_addr.exp: Same.
7022 * gdb.ada/arrayidx.exp: Same.
7023 * gdb.ada/arrayparam.exp: Same.
7024 * gdb.ada/arrayptr.exp: Same.
7025 * gdb.ada/boolean_expr.exp: Same.
7026 * gdb.ada/call_pn.exp: Same.
7027 * gdb.ada/complete.exp: Same.
7028 * gdb.ada/fixed_cmp.exp: Same.
7029 * gdb.ada/fun_addr.exp: Same.
7030 * gdb.ada/funcall_param.exp: Same.
7031 * gdb.ada/interface.exp: Same.
7032 * gdb.ada/mod_from_name.exp: Same.
7033 * gdb.ada/null_array.exp: Same.
7034 * gdb.ada/packed_array.exp: Same.
7035 * gdb.ada/packed_tagged.exp: Same.
7036 * gdb.ada/print_chars.exp: Same.
7037 * gdb.ada/print_pc.exp: Same.
7038 * gdb.ada/ptype_arith_binop.exp: Same.
7039 * gdb.ada/ptype_field.exp: Same.
7040 * gdb.ada/ptype_tagged_param.exp: Same.
7041 * gdb.ada/rec_return.exp: Same.
7042 * gdb.ada/ref_tick_size.exp: Same.
7043 * gdb.ada/str_ref_cmp.exp: Same.
7044 * gdb.ada/taft_type.exp: Same.
7045 * gdb.ada/tagged.exp: Same.
7046 * gdb.ada/type_coercion.exp: Same.
7047 * gdb.ada/uninitialized_vars.exp: Same.
7048
60b6ede8
TV
70492019-10-30 Tom de Vries <tdevries@suse.de>
7050
7051 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
7052
30baf67b
TV
70532019-10-26 Tom de Vries <tdevries@suse.de>
7054
7055 * gdb.base/bigcore.c: Fix typos in comments.
7056 * gdb.base/ctf-ptype.c: Same.
7057 * gdb.base/long_long.c: Same.
7058 * gdb.dwarf2/dw2-op-out-param.S: Same.
7059 * gdb.python/py-evthreads.c: Same.
7060 * gdb.reverse/i387-stack-reverse.c: Same.
7061 * gdb.trace/tfile.c: Same.
7062 * lib/compiler.c: Same.
7063 * lib/compiler.cc: Same.
7064
158da0d1
TV
70652019-10-25 Tom de Vries <tdevries@suse.de>
7066
7067 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
7068 gdb_test_multiple calls.
7069 * gdb.reverse/sigall-reverse.exp: Same.
7070 * gdb.reverse/solib-precsave.exp: Same.
7071 * gdb.reverse/solib-reverse.exp: Same.
7072 * gdb.reverse/until-precsave.exp: Same.
7073 * gdb.reverse/until-reverse.exp: Same.
7074
4ccdfbec
TV
70752019-10-24 Tom de Vries <tdevries@suse.de>
7076
7077 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
7078 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
7079 kfail using -wrap pattern flag and convenience variable
7080 gdb_test_name.
7081
33d569b7
AB
70822019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
7083
7084 * gdb.python/py-progspace.exp: Add tests for the
7085 Progspace.block_for_pc method.
7086
4d0b984b
TT
70872019-10-23 Tom Tromey <tom@tromey.com>
7088
7089 * configure: Rebuild.
7090 * aclocal.m4: Use m4_include, not sinclude.
7091
94cb3754
TV
70922019-10-21 Tom de Vries <tdevries@suse.de>
7093
7094 * gdb.base/infcall-nested-structs.c: Add
7095 __attribute__((noinline,noclone)) to all functions.
7096 (call_all): Add missing variable initialization. Simplify return value.
7097 (breakpt): Increment volatile variable, to prevent call from being
7098 optimized out.
7099 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
7100
062f1fc1
TV
71012019-10-17 Tom de Vries <tdevries@suse.de>
7102
7103 * gdb.fortran/module.exp: Allow info variables to print info for files
7104 other than module.f90.
7105
0b54364d
AB
71062019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
7107
7108 * gdb.fortran/module.exp: Extend with 'info variables' test.
7109
7ff5fae7
AB
71102019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
7111
7112 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
7113 F77_FOR_TARGET.
7114
d10eccaa
TV
71152019-10-16 Tom de Vries <tdevries@suse.de>
7116
7117 PR tdep/25096
7118 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
7119
745ff14e
TV
71202019-10-16 Tom de Vries <tdevries@suse.de>
7121
7122 PR tdep/24104
7123 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
7124 Add KFAIL for PR tdep/25096.
7125
03e1ab94
TV
71262019-10-16 Tom de Vries <tdevries@suse.de>
7127
7128 PR testsuite/25059
7129 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
7130
b17fcc10
TV
71312019-10-16 Tom de Vries <tdevries@suse.de>
7132
7133 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
7134 as signed.
7135
9223170f
SM
71362019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
7137
7138 * gdb.mi/list-thread-groups-available.exp: Read entries one by
7139 one instead of increasing timeout.
7140
d6e76313
TV
71412019-10-13 Tom de Vries <tdevries@suse.de>
7142
7143 PR record/25038
7144 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
7145 * gdb.reverse/sigall-reverse.exp: Same.
7146 * gdb.reverse/solib-precsave.exp: Same.
7147 * gdb.reverse/solib-reverse.exp: Same.
7148 * gdb.reverse/step-precsave.exp: Same.
7149 * gdb.reverse/until-precsave.exp: Same.
7150 * gdb.reverse/until-reverse.exp: Same.
7151 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
7152
6dfc0041
AA
71532019-10-10 Andreas Arnez <arnez@linux.ibm.com>
7154
7155 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
7156 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
7157 (cmp_struct_05_01, cmp_struct_static_02_01)
7158 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
7159 comparisons.
7160
abcf2cc8
TV
71612019-10-10 Tom de Vries <tdevries@suse.de>
7162
7163 PR testsuite/24888
7164 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
7165 gnatlink.
7166
a50faaf6
TV
71672019-10-09 Tom de Vries <tdevries@suse.de>
7168
7169 PR testsuite/25048
7170 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
7171
60ff3cd7
AB
71722019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7173
7174 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
7175 exceptions due to missing debug information.
7176
dfee8566
TV
71772019-10-07 Tom de Vries <tdevries@suse.de>
7178
7179 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
7180
3d63690a
AB
71812019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7182
7183 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
7184 * gdb.base/annota1.exp: Update to use gdb_test_name.
7185
30d1f018
WP
71862019-10-07 Weimin Pan <weimin.pan@oracle.com>
7187
7188 * gdb.base/ctf-whatis.exp: New file.
7189 * gdb.base/ctf-whatis.c: New file.
7190 * gdb.base/ctf-ptype.exp: New file.
7191 * gdb.base/ctf-ptype.c: New file.
7192 * gdb.base/ctf-constvars.exp: New file.
7193 * gdb.base/ctf-constvars.c: New file.
7194 * gdb.base/ctf-cvexpr.exp: New file.
7195
4dbbb47c
TV
71962019-10-04 Tom de Vries <tdevries@suse.de>
7197
7198 * gdb.cp/local-static.c (main): Move declaration of int i out of the
7199 for loop.
7200
77c2dba3
TT
72012019-10-03 Tom Tromey <tom@tromey.com>
7202
7203 PR rust/24976:
7204 * gdb.rust/simple.rs (Union2): New type.
7205 (main): Use Union2.
7206 * gdb.rust/simple.exp: Add test.
7207
179aed7f
AB
72082019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7209
7210 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
7211 nested function prefix.
7212
0a4b0913
AB
72132019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7214 Richard Bunt <richard.bunt@arm.com>
7215 Andrew Burgess <andrew.burgess@embecosm.com>
7216
7217 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
7218 nested functions.
7219 * gdb.fortran/nested-funcs.f90: Update expected results.
7220 * gdb.fortran/nested-funcs-2.exp: New file.
7221 * gdb.fortran/nested-funcs-2.f90: New file.
7222
082cce05
AB
72232019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7224
7225 * gdb.python/py-parameter.exp: Make test names unique.
7226 * gdb.python/py-template.exp: Likewise.
7227 * gdb.python/py-value.exp: Likewise.
7228
2b74ba5a
AB
72292019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7230
7231 * gdb.base/break-interp.exp: Reduce test name duplication.
7232 * gdb.base/call-sc.exp: Likewise.
7233 * gdb.base/callfuncs.exp: Likewise.
7234 * gdb.base/charset.exp: Likewise.
7235 * gdb.base/dump.exp: Likewise.
7236 * gdb.base/ena-dis-br.exp: Likewise.
7237 * gdb.base/relational.exp: Likewise.
7238 * gdb.base/step-over-syscall.exp: Likewise.
7239 * gdb.base/structs.exp: Likewise.
7240
58eb20d5
AB
72412019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7242
7243 * gdb.linespec/explicit.exp: Make test names unique.
7244 * gdb.linespec/ls-errs.exp: Likewise.
7245
4d421147
AB
72462019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7247
7248 * gdb.reverse/break-precsave.exp: Make test names unique.
7249 * gdb.reverse/break-reverse.exp: Likewise.
7250 * gdb.reverse/finish-precsave.exp: Likewise.
7251 * gdb.reverse/finish-reverse.exp: Likewise.
7252 * gdb.reverse/machinestate-precsave.exp: Likewise.
7253 * gdb.reverse/machinestate.exp: Likewise.
7254 * gdb.reverse/readv-reverse.exp: Likewise.
7255 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7256 * gdb.reverse/sigall-precsave.exp: Likewise.
7257 * gdb.reverse/sigall-reverse.exp: Likewise.
7258 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7259 * gdb.reverse/watch-precsave.exp: Likewise.
7260 * gdb.reverse/watch-reverse.exp: Likewise.
7261
d8c06f22
AB
72622019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7263
7264 * gdb.threads/stop-with-handle.c: New file.
7265 * gdb.threads/stop-with-handle.exp: New file.
7266
3a56ed86
TV
72672019-10-03 Tom de Vries <tdevries@suse.de>
7268
7269 PR testsuite/25059
7270 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7271 directory" line to be missing.
7272
42275044
TV
72732019-10-03 Tom de Vries <tdevries@suse.de>
7274
7275 PR testsuite/25059
7276 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7277 type optional.
7278
9ef62df0
AA
72792019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7280
7281 * gdb.python/py-format-string.c (string.h): New include.
7282 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7283 the same value, for endianness-independence.
7284 * gdb.python/py-format-string.exp (default_regexp_dict)
7285 (test_pretty_structs, test_format): Adjust expected output to the
7286 changed initialization.
7287
37f6a7f4
TT
72882019-10-02 Tom Tromey <tromey@adacore.com>
7289
7290 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7291
1d58d6a2
PA
72922019-10-02 Pedro Alves <palves@redhat.com>
7293 Andrew Burgess <andrew.burgess@embecosm.com>
7294
7295 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7296 "print-file-var.h".
7297 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7298 (get_version_1): Print this_version_id and its address.
7299 Add extern "C" wrappers around interface functions.
7300 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7301 "print-file-var.h".
7302 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7303 (get_version_2): Print this_version_id and its address.
7304 Add extern "C" wrappers around interface functions.
7305 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7306 <stddef.h> and "print-file-var.h".
7307 Add extern "C" wrappers around interface functions.
7308 [VERSION_ID_MAIN] (this_version_id): Define.
7309 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7310 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7311 up extern "C" blocks.
7312 * gdb.base/print-file-var.exp (test): New, factored out from top
7313 level.
7314 (top level): Test all combinations of attribute hidden or not,
7315 dlopen or not, and this_version_id symbol in main file or not.
7316 Compile tests as both C++ and C, make test names unique.
7317
d770d56f
TT
73182019-10-01 Tom Tromey <tom@tromey.com>
7319
7320 * gdb.base/style.exp: Test "show logging filename".
7321
7f6aba03
TT
73222019-10-01 Tom Tromey <tom@tromey.com>
7323
7324 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7325 * gdb.base/style.exp: Add metadata style test.
7326
14309bb6
TT
73272019-10-01 Tom Tromey <tom@tromey.com>
7328
7329 * gdb.base/style.exp: Test "pwd".
7330
2a3c1174
PA
73312019-10-01 Tom Tromey <tom@tromey.com>
7332
7333 * gdb.base/style.exp: Update tests.
7334
53d666ec
AA
73352019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7336
7337 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7338 'six' to unsigned.
7339 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7340 'five'. Use an all-ones bit pattern for each.
7341 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7342 to its changed values.
7343
4a56a520
TT
73442019-09-30 Tom Tromey <tromey@adacore.com>
7345
7346 * gdb.rust/traits.rs: Disable all warnings.
7347
0df0352a
TV
73482019-09-29 Tom de Vries <tdevries@suse.de>
7349
aac66a4c 7350 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 7351
73d9a918
TV
73522019-09-29 Tom de Vries <tdevries@suse.de>
7353
7354 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7355
060b3ab4
TV
73562019-09-27 Tom de Vries <tdevries@suse.de>
7357
7358 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7359
68f7d34d
TV
73602019-09-27 Tom de Vries <tdevries@suse.de>
7361
7362 PR record/23188
7363 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7364
5d63b30a
TT
73652019-09-26 Tom Tromey <tromey@adacore.com>
7366
7367 * gdb.ada/py_taft.exp: New file.
7368 * gdb.ada/py_taft/main.adb: New file.
7369 * gdb.ada/py_taft/pkg.adb: New file.
7370 * gdb.ada/py_taft/pkg.ads: New file.
7371
3d435220
TV
73722019-09-24 Tom de Vries <tdevries@suse.de>
7373
7374 PR gdb/24598
7375 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7376
77d03678
TV
73772019-09-22 Tom de Vries <tdevries@suse.de>
7378
7379 * gdb.base/restore.exp: Allow register variables to be optimized out at
7380 -O0.
7381
abf516c6
UW
73822019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7383
7384 * gdb.arch/spu-info.exp: Remove file.
7385 * gdb.arch/spu-info.c: Remove file.
7386 * gdb.arch/spu-ls.exp: Remove file.
7387 * gdb.arch/spu-ls.c: Remove file.
7388
7389 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7390 * gdb.asm/spu.inc: Remove file.
7391
7392 * gdb.base/dump.exp: Remove support for spu*-*-*.
7393 * gdb.base/stack-checking.exp: Likewise.
7394 * gdb.base/overlays.exp: Likewise.
7395 * gdb.base/ovlymgr.c: Likewise.
7396 * gdb.base/spu.ld: Remove file.
7397
7398 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7399 * gdb.cp/cpexprs.exp: Likewise.
7400 * gdb.cp/exception.exp: Likewise.
7401 * gdb.cp/gdb2495.exp: Likewise.
7402 * gdb.cp/mb-templates.exp: Likewise.
7403 * gdb.cp/pr9167.exp: Likewise.
7404 * gdb.cp/userdef.exp: Likewise.
7405
7406 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7407
7408 * gdb.cell: Remove directory.
7409 * lib/cell.exp: Remove file.
7410
e452e88f
TV
74112019-09-19 Tom de Vries <tdevries@suse.de>
7412
7413 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7414
8a625130
TV
74152019-09-19 Tom de Vries <tdevries@suse.de>
7416
7417 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7418
81dc3ab5
TV
74192019-09-19 Tom de Vries <tdevries@suse.de>
7420
7421 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7422 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7423 (gdb_target_cmd): ... here.
7424 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7425 value 2.
7426
b078f3ac
AB
74272019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7428
7429 * gdb.base/source-dir.exp: Avoid having directory names in test
7430 names.
7431
f1b620e9
MG
74322019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7433
7434 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7435 directory.
7436
67f3ed6a
AB
74372019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7438
7439 * gdb.base/list-missing-source.exp: New file.
7440
d1b70248
TV
74412019-09-14 Tom de Vries <tdevries@suse.de>
7442
7443 PR teststuite/24599
7444 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7445 * lib/ada.exp (gnatmake_version_at_least): New proc.
7446
5fabdcd6
AB
74472019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7448
7449 * gdb.base/maint.exp: Use exec_has_index_section.
7450
aa17805f
AB
74512019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7452
7453 * gdb.base/maint.exp: Add test for 'maint info sections'.
7454
25e5c209
TV
74552019-09-12 Tom de Vries <tdevries@suse.de>
7456
7457 * gdb.base/store.exp: Allow register variables to be optimized out at
7458 -O0.
7459
4993045d
PW
74602019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7461
7462 * gdb.ada/rdv_wait.exp: Update to new task names.
7463 * gdb.base/task_switch_in_core.exp: Likewise.
7464 * gdb.base/info_sources_base.c: Likewise.
7465
8a516164
TT
74662019-09-10 Tom Tromey <tromey@adacore.com>
7467
7468 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7469
aa391654
TT
74702019-09-10 Tom Tromey <tromey@adacore.com>
7471
7472 * gdb.ada/dgopt.exp: New file.
7473 * gdb.ada/dgopt/x.adb: New file.
7474
8634b462
TT
74752019-09-08 Tom Tromey <tom@tromey.com>
7476
7477 * gdb.tui/resize.exp: Remove setup_xfail.
7478 * gdb.tui/regs.exp: Remove setup_xfail.
7479 * gdb.tui/basic.exp: Remove setup_xfail.
7480
736b0f76
DB
74812019-09-06 David Blaikie <dblaikie@gmail.com>
7482
7483 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7484 * gdb.cp/cplabel.exp: Ditto.
7485 * gdb.linespec/ls-errs.exp: Ditto.
7486
30331a6c
TV
74872019-09-05 Tom de Vries <tdevries@suse.de>
7488
7489 * lib/gdb.exp (cmp_file_string): New proc.
7490 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7491 runto_main. Verify save breakpoints output.
7492
98b0ebab
PW
74932019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7494
7495 * gdb.base/info-var.exp: Test info variables without running
7496 to main, to avoid expect's buffer overflow.
7497
4e962e74
TT
74982019-09-03 Tom Tromey <tromey@adacore.com>
7499
7500 * gdb.ada/bias.exp: New file.
7501 * gdb.ada/bias/bias.adb: New file.
7502 * gdb.ada/print_chars.exp: Add regression test.
7503 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7504 (MC): New variable.
7505
2ea1a07a
SL
75062019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7507
7508 * gdb.base/argv0-symlink.exp: Run only on native target
7509 and local host.
7510
8077c50d
TV
75112019-08-29 Tom de Vries <tdevries@suse.de>
7512
7513 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7514 diverse debug info.
7515 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7516
48352473
TV
75172019-08-28 Tom de Vries <tdevries@suse.de>
7518
7519 * gdb.base/info-var.exp: Allow info variables to print info for files
7520 other than info-var-f1.c and info-var-f2.c.
7521
d8f27c60
AB
75222019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7523
7524 * gdb.fortran/info-types.exp: Add module.
7525 * gdb.fortran/info-types.f90: Update expected results.
7526
1f20c35e
AB
75272019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7528
7529 * gdb.fortran/info-types.exp: New file.
7530 * gdb.fortran/info-types.f90: New file.
7531 * lib/fortran.exp (fortran_character1): New proc.
7532
4acfdd20
AB
75332019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7534
7535 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7536 functions'. Reindent as needed.
7537 * gdb.base/info-var-f1.c: New file.
7538 * gdb.base/info-var-f2.c: New file.
7539 * gdb.base/info-var.exp: New file.
7540 * gdb.base/info-var.h: New file.
7541
5c31b358
TV
75422019-08-26 Tom de Vries <tdevries@suse.de>
7543
7544 PR c++/24852
7545 * gdb.cp/no-libstdcxx-probe.exp: New test.
7546
b694989f
TV
75472019-08-26 Tom de Vries <tdevries@suse.de>
7548
7549 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7550 * tests need to be skipped.
7551 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7552 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7553 mi_skip_libstdcxx_probe_tests.
7554
d9c4ba53
SDJ
75552019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7556
7557 * gdb.python/py-xmethods.exp: Use raw strings when passing
7558 arguments to SimpleXMethodMatcher.
7559
395fad09
TV
75602019-08-22 Tom de Vries <tdevries@suse.de>
7561
7562 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7563 more informative.
7564
26c957f1
PA
75652019-08-21 Pedro Alves <palves@redhat.com>
7566
7567 * gdb.base/with.exp: Test "with" with no arguments.
7568
61f80d5d
TV
75692019-08-21 Tom de Vries <tdevries@suse.de>
7570
7571 * gdb.base/gdb-caching-proc.exp: Sort files.
7572
d7a11d13
TV
75732019-08-20 Tom de Vries <tdevries@suse.de>
7574
7575 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7576 compilation.
7577
34dafe9f
TV
75782019-08-16 Tom de Vries <tdevries@suse.de>
7579
7580 * gdb.base/compare-sections.exp ("after run to main"): Allow
7581 mismatched read-only sections for PIE executables.
7582
398fdd60
TT
75832019-08-16 Tom Tromey <tom@tromey.com>
7584
7585 * lib/tuiterm.exp (_csi_Z): New proc.
7586 * gdb.tui/basic.exp: Update window positions.
7587 * gdb.tui/empty.exp: Update window positions.
7588
d8f9e51c
SL
75892019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7590
7591 * gdb.base/examine-backward.exp: Correct regexp for
7592 "examine 3 bytes backward from ${address_zero}".
7593
3df505f6
TT
75942019-08-15 Tom Tromey <tom@tromey.com>
7595
7596 * gdb.tui/empty.exp: Enable resizing tests.
7597
272560b5
TT
75982019-08-15 Tom Tromey <tromey@adacore.com>
7599
7600 * gdb.ada/char_enum.exp: Add regression tests.
7601 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7602 and '0'.
7603 (Char, Gchar): Update.
7604 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7605
08235187
CB
76062019-08-15 Christian Biesinger <cbiesinger@google.com>
7607
7608 * gdb.python/python.exp: Expect a leading underscore on
7609 GdbOutput{,Error}File.
7610
22a2ab04
SL
76112019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7612
7613 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7614 Windows host.
7615
835b995b
SL
76162019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7617
7618 * gdb.base/batch-preserve-term-settings.exp
7619 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7620
97dd8e07
CB
76212019-08-15 Christian Biesinger <cbiesinger@google.com>
7622
7623 * lib/gdb.exp: When running on a mingw target, replace
7624 /x/ with x:/.
7625
75faf5c4
AH
76262019-08-14 Alan Hayward <alan.hayward@arm.com>
7627
7628 * gdb.arch/aarch64-prologue.c: New test.
7629 * gdb.arch/aarch64-prologue.exp: New file.
7630
abc6c00f
TV
76312019-08-13 Tom de Vries <tdevries@suse.de>
7632
7633 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7634 Thread.
7635
74c2c1f4
SL
76362019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7637
7638 * gdb.python/py-completion.exp: Download the .py file to the host
7639 and use its host pathname. Conditionalize tests that use
7640 tab completion and manipulate files on the build machine.
7641 * gdb.python/py-events.exp: Download the .py file to the host
7642 and use its host pathname.
7643 * gdb.python/py-evsignal.exp: Likewise.
7644 * gdb.python/py-evthreads.exp: Likewise.
7645 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7646 pathname syntax.
7647 * gdb.python/py-framefilter.exp: Download the .py file to the right
7648 place on the host. Match Windows pathname syntax.
7649 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7650 .py file to the host and use its host pathname.
7651 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7652 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7653 build pathname. Skip symlink test on Windows host. Add missing
7654 newline at end of file.
7655 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7656 and use its host pathname.
7657 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7658 * gdb.python/py-section-script.exp: Use host location of binfile
7659 on safe-path. Use correct path separator on Windows host.
7660 Reorder alternatives in gdb_test_multiple to prevent matching
7661 the wrong alternative on success.
7662 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7663
ca2589f3
PP
76642019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7665
7666 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7667 expect the GDB inferior to no longer immediately stop after
7668 being resumed with "signal SIGINT".
7669
020a839d
SL
76702019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7671
7672 * gdb.linespec/break-ask.exp: Generalize regexps to match
7673 Windows pathnames too.
7674
128d6509
TV
76752019-08-08 Tom de Vries <tdevries@suse.de>
7676
7677 PR testsuite/24862
7678 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7679
590042fc
PW
76802019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7681
7682 * gdb.base/style.exp: Update tests for help doc new invariants.
7683 * gdb.base/help.exp: Likewise.
7684
046bebe1
TT
76852019-08-06 Tom Tromey <tom@tromey.com>
7686
7687 * gdb.base/style.exp: Add disassemble test.
7688 * gdb.base/style.c (some_called_function): New function.
7689 (main): Use it.
7690
0b27c27d
CB
76912019-08-05 Christian Biesinger <cbiesinger@google.com>
7692
7693 * gdb.python/py-block.exp: Test dictionary access on blocks.
7694
580f1034
SM
76952019-08-05 Simon Marchi <simon.marchi@efficios.com>
7696
7697 PR gdb/24863
7698 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7699 -list-thread-groups --available test when running under
7700 check-read1.
7701
d86bd7cb
TV
77022019-08-05 Tom de Vries <tdevries@suse.de>
7703
7704 PR testsuite/24863
7705 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7706 * gdb.base/help.exp: Use with_read1_timeout_factor.
7707 * gdb.base/info-macros.exp: Same.
7708 * gdb.cp/nested-types.exp: Same.
7709
a80cf5d8
TV
77102019-08-05 Tom de Vries <tdevries@suse.de>
7711
7712 * lib/gdb.exp (version_at_least): Factor out of ...
7713 (tcl_version_at_least): ... here.
7714 (gdb_compile): Fail if pie results in non-PIE executable.
7715 (readelf_version, readelf_prints_pie): New proc.
7716 (exec_is_pie): Return -1 if unknown.
7717
d0962838
TV
77182019-08-05 Tom de Vries <tdevries@suse.de>
7719
7720 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7721
2252ff3d
SL
77222019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7723
7724 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7725
26655f53
SL
77262019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7727
7728 * lib/completion-support.exp (test_gdb_complete_none): Skip
7729 tab completion tests if no readline support.
7730 (test_gdb_complete_unique_re): Likewise.
7731 (test_gdb_complete_multiple): Likewise.
7732
db4dc13e
PW
77332019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7734
7735 * gdb.base/info_sources.exp: New file.
7736 * gdb.base/info_sources.c: New file.
7737 * gdb.base/info_sources_base.c: New file.
7738
0eba165a
PFC
77392019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7740
7741 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7742 prefix argument.
7743 (test_exit_status): Add prefix argument.
7744
59bd512b
TV
77452019-08-01 Tom de Vries <tdevries@suse.de>
7746
7747 PR testsuite/24863
7748 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7749 calling exp_continue for new thread and thread exited messages.
7750
2a3ad588
TV
77512019-08-01 Tom de Vries <tdevries@suse.de>
7752
7753 PR testsuite/24863
7754 * gdb.base/structs.exp: Fix check-read1 timeout using
7755 gdb_test_sequence.
7756 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7757
117eb594
TV
77582019-08-01 Tom de Vries <tdevries@suse.de>
7759
7760 PR testsuite/24863
7761 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7762 line.
7763
ed591340
TV
77642019-08-01 Tom de Vries <tdevries@suse.de>
7765
7766 PR testsuite/24863
7767 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7768
aa3b6533
TT
77692019-07-30 Tom Tromey <tromey@adacore.com>
7770
7771 * gdb.ada/display_nested.exp: New file.
7772 * gdb.ada/display_nested/foo.adb: New file.
7773 * gdb.ada/display_nested/pack.adb: New file.
7774 * gdb.ada/display_nested/pack.ads: New file.
7775
2906593f
CB
77762019-07-30 Christian Biesinger <cbiesinger@google.com>
7777
7778 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7779 namespace.
7780 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7781
0f575925
TV
77822019-07-30 Tom de Vries <tdevries@suse.de>
7783
7784 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7785 instead.
7786
b13057d9
TV
77872019-07-30 Tom de Vries <tdevries@suse.de>
7788
7789 PR testsuite/24834
7790 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7791 (exec_is_pie): New proc.
7792
5c4dde85
CB
77932019-07-29 Christian Biesinger <cbiesinger@google.com>
7794
7795 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7796
c620ed88
CB
77972019-07-29 Christian Biesinger <cbiesinger@google.com>
7798
7799 * gdb.python/py-objfile.c: Add global and static vars.
7800 * gdb.python/py-objfile.exp: Test new functions Objfile.
7801 lookup_global_symbol and lookup_static_symbol.
7802
3d235706
TT
78032019-07-29 Tom Tromey <tom@tromey.com>
7804
7805 * lib/tuiterm.exp (Term::_csi_@): New proc.
7806 (Term::_csi_X): Don't move cursor.
7807
c7e4c0a6
PW
78082019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7809
7810 * gdb.base/options.exp: Update backtrace - completion to
7811 new option -frame-info.
7812 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7813 Test new 'set print frame-info'. Test backtrace -frame-info
7814 overriding 'set print frame-info'.
7815 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7816 Test new 'set print frame-info'.
7817 Verify consistency of backtrace with and without filters, with and
7818 without -no-filters.
7819 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7820 default.
7821
de28a3b7
TV
78222019-07-29 Tom de Vries <tdevries@suse.de>
7823
7824 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7825 no arguments".
7826
507dd60e
TV
78272019-07-29 Tom de Vries <tdevries@suse.de>
7828
7829 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7830 is a substring of the first for "complete non-unique file name".
7831
5beafce9
TV
78322019-07-29 Tom de Vries <tdevries@suse.de>
7833
7834 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7835 with ".*".
7836
2d274232
TV
78372019-07-29 Tom de Vries <tdevries@suse.de>
7838
7839 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7840 Pass prompt_regexp parameter to gdb_test_multiple calls.
7841
9197cd8b
TV
78422019-07-29 Tom de Vries <tdevries@suse.de>
7843
7844 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7845 print registers" regexps.
9197cd8b 7846
b528dae0
TV
78472019-07-29 Tom de Vries <tdevries@suse.de>
7848
7849 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7850
d17725d7
TV
78512019-07-29 Tom de Vries <tdevries@suse.de>
7852
7853 PR gdb/24855
7854 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7855 (skip_python_tests_prompt): Add prompt_regexp argument to
7856 gdb_test_multiple calls.
7857
52b75bf1
TT
78582019-07-27 Tom Tromey <tom@tromey.com>
7859
7860 * gdb.tui/main.exp: New file.
7861
2b1d00c2
TT
78622019-07-27 Tom Tromey <tom@tromey.com>
7863
7864 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7865 optional.
7866 * gdb.tui/empty.exp: New file.
7867
ded631d5
TT
78682019-07-27 Tom Tromey <tom@tromey.com>
7869
7870 * lib/tuiterm.exp (spawn): New proc.
7871 (Term::resize): New proc.
7872 * gdb.tui/resize.exp: New file.
7873
58ac439d
TT
78742019-07-27 Tom Tromey <tom@tromey.com>
7875
7876 * gdb.tui/list.exp: New file.
7877
fe1f56ee
TT
78782019-07-27 Tom Tromey <tom@tromey.com>
7879
7880 * gdb.tui/regs.exp: New file.
7881
f790b310
TT
78822019-07-27 Tom Tromey <tom@tromey.com>
7883
7884 * gdb.tui/basic.exp: Add "layout split" test.
7885
d95fc6ee
TT
78862019-07-27 Tom Tromey <tom@tromey.com>
7887
7888 * gdb.tui/basic.exp: Add "layout asm" test.
7889
c3786b3a
TT
78902019-07-27 Tom Tromey <tom@tromey.com>
7891
7892 * lib/tuiterm.exp: New file.
7893 * gdb.tui/basic.exp: New file.
7894
98a617f8
KB
78952019-07-27 Kevin Buettner <kevinb@redhat.com>
7896
7897 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7898 Enable tests associated with this flag. Adjust regex
7899 referencing "foo_low" to now refer to "foo_cold" instead.
7900
5c076da4
KB
79012019-07-27 Kevin Buettner <kevinb@redhat.com>
7902
7903 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7904 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7905 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7906 foo_cold. Revise comments to match.
7907 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7908 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7909 were wrapped into this proc; Call do_test in loop from outermost
7910 level.
7911 (foo_low): Rename all occurrences to "foo_cold".
7912 (backtrace from baz): New test.
7913 (x2/i foo_cold): New test.
7914 (info line *foo_cold): New test.
7915
1512d3b7
TV
79162019-07-26 Tom de Vries <tdevries@suse.de>
7917
7918 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7919
297989a1
TV
79202019-07-25 Tom de Vries <tdevries@suse.de>
7921
7922 PR testsuite/24830
7923 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7924 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7925 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7926 (skip_libstdcxx_probe_tests): ... here.
7927 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7928
b3b965fb
TV
79292019-07-24 Tom de Vries <tdevries@suse.de>
7930
7931 PR testsuite/24807
7932 * gdb.objc/basicclass.m: Include stdio.h.
7933 * gdb.objc/nondebug.m: Same.
7934 * gdb.objc/objcdecode.m: Same.
7935
4625b4d0
TV
79362019-07-24 Tom de Vries <tdevries@suse.de>
7937
7938 PR testsuite/24612
7939 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7940 additional_flags.
7941
024a5840
TV
79422019-07-24 Tom de Vries <tdevries@suse.de>
7943
7944 PR testsuite/24831
7945 * gdb.multi/tids.exp: Update error messages for info threads.
7946
c76ddaa3
TV
79472019-07-24 Tom de Vries <tdevries@suse.de>
7948
7949 * gdb.base/info-types.exp: Allow info types to print info for more than
7950 one file.
7951
9a618ef6
TV
79522019-07-23 Tom de Vries <tdevries@suse.de>
7953
7954 PR testsuite/24842
7955 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7956 gdb_spawn_with_cmdline_opts.
7957
40eadf04
SP
79582019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7959
7960 * gdb.arch/arm-cmse-sgstubs.c: New test.
7961 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7962
5ba29434
TV
79632019-07-23 Tom de Vries <tdevries@suse.de>
7964
7965 PR testsuite/24711
7966 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7967 issuing next command.
7968
a8e9d247
AB
79692019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7970
7971 * gdb.ada/info_auto_lang.exp: Update expected results.
7972 * gdb.base/info-types.c: Add additional types to check.
7973 * gdb.base/info-types.exp: Update expected results.
7974
eb86c5e2
AB
79752019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7976
7977 * gdb.base/info-types.c: New file.
7978 * gdb.base/info-types.exp: New file.
7979
01e175fe
AB
79802019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7981
7982 * gdb.arch/riscv-bp-infcall.c: New file.
7983 * gdb.arch/riscv-bp-infcall.exp: New file.
7984
6b78c3f8
AB
79852019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7986
7987 PR breakpoints/24541
7988 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7989
da738167
TV
79902019-07-14 Tom de Vries <tdevries@suse.de>
7991
7992 PR testsuite/24760
7993 * gdb.objc/basicclass.exp: Fix unterminated string.
7994
0d4e84ed
AB
79952019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7996 Andrew Burgess <andrew.burgess@embecosm.com>
7997
7998 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7999 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
8000 negative bounds.
8001 * gdb.fortran/vla-value.exp: Print elements of an array with
8002 negative bounds.
8003 * gdb.fortran/vla.f90: Setup an array with negative bounds for
8004 testing.
8005
021d8588
AB
80062019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
8007
8008 * gdb.base/options.exp (expect_string): Dequote strings in
8009 results.
8010 (test-string): Test strings with different quoting and reindent.
8011
f06f1252
TT
80122019-07-10 Tom Tromey <tromey@adacore.com>
8013
8014 * gdb.ada/mi_ex_cond.exp: Update expected results.
8015 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
8016 * gdb.ada/mi_catch_ex.exp: Update expected results.
8017 * gdb.ada/mi_catch_assert.exp: Update expected results.
8018 * gdb.ada/catch_ex.exp (catch_exception_info)
8019 (catch_exception_entry, catch_assert_entry)
8020 (catch_unhandled_entry): Update.
8021 * gdb.ada/catch_assert_if.exp: Update expected results.
8022
b863685d
RB
80232019-07-10 Richard Bunt <richard.bunt@arm.com>
8024 Stephen Roberts <stephen.roberts@arm.com>
8025
8026 * gdb.base/define.exp: Restore original prompt.
8027
cb1e4e32
PA
80282019-07-09 Pedro Alves <palves@redhat.com>
8029
8030 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
8031 breakpoints" output.
8032 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
8033 * gdb.python/py-breakpoint.exp: No longer expect that "catch
8034 throw" creates breakpoint.
8035 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
8036 'type="catchpoint"'.
8037
b58a68fe
PA
80382019-07-09 Pedro Alves <palves@redhat.com>
8039
8040 PR c++/15468
8041 * gdb.cp/except-multi-location-lib.cc: New.
8042 * gdb.cp/except-multi-location-main.cc: New.
8043 * gdb.cp/except-multi-location.exp: New.
8044
0826779b
PW
80452019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
8046
8047 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
8048 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
8049 argument and update callers.
8050
5b0e2db4
AB
80512019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8052
8053 * gdb.arch/amd64-break-on-asm-line.S: New file.
8054 * gdb.arch/amd64-break-on-asm-line.exp: New file.
8055
1f6f6e21
PW
80562019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8057
8058 * gdb.base/printcmds.exp: Test printing C string and
8059 C wide string convenience vars without transiting via the inferior.
8060 Also make test names unique.
8061
ea142fbf
AH
80622019-07-08 Alan Hayward <alan.hayward@arm.com>
8063
5862c886 8064 PR breakpoints/25011
ea142fbf
AH
8065 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
8066
213fd9fa
PA
80672019-07-04 Pedro Alves <palves@redhat.com>
8068
8069 * lib/gdb.exp (foreach_with_prefix): Don't return early if
8070 body returned ok(0), break(3) or continue(4).
8071 * gdb.testsuite/foreach_with_prefix.exp: New file.
8072
2b40fda7
AH
80732019-07-04 Alan Hayward <alan.hayward@arm.com>
8074
8075 * gdb.server/unittest.exp: Allow 0 unit tests to run.
8076
a26c8de0
PA
80772019-07-03 Pedro Alves <palves@redhat.com>
8078
8079 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
8080 "return -code".
8081
5f4ba3e7
PA
80822019-07-03 Pedro Alves <palves@redhat.com>
8083
8084 PR cli/24732
8085 * gdb.base/shell.exp: Load completion-support.exp.
8086 Adjust expected error output. Add completion tests.
8087
a994424f
PA
80882019-07-03 Pedro Alves <palves@redhat.com>
8089
8090 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
8091 string_to_regexp.
8092
3d9be6f5
PA
80932019-07-03 Pedro Alves <palves@redhat.com>
8094
8095 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
8096 (expect_integer): Adjust to expect "-string".
8097 (expect_string): New.
8098 (all_options): Expect "-string".
8099 (test-flag, test-boolean): Adjust to expect "-string".
8100 (test-string): New proc.
8101 (top level): Call it.
8102
41fc454c
PA
81032019-07-03 Pedro Alves <palves@redhat.com>
8104
8105 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
8106 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
8107 the expected output in the success.
8108
b2b2a215
PA
81092019-07-03 Pedro Alves <palves@redhat.com>
8110
8111 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8112 Split one gdb_test_multiple call in two to avoid a race.
8113
fdbc9870
PA
81142019-07-03 Pedro Alves <palves@redhat.com>
8115
8116 * gdb.base/with.c: New file.
8117 * gdb.base/with.exp: New file.
8118
c6ac8931
PA
81192019-07-03 Pedro Alves <palves@redhat.com>
8120
8121 * gdb.base/settings.exp: Replace all references to "maint
8122 test-settings set" with references to "maint set test-settings",
8123 and all references to "maint test-settings show" with references
8124 to "maint show test-settings".
8125
970f9d09
PA
81262019-07-03 Pedro Alves <palves@redhat.com>
8127
8128 * gdb.base/settings.exp (test-string): Adjust expected out when
8129 testing "maint test-settings show filename"
8130
54d66006
PA
81312019-07-02 Pedro Alves <palves@redhat.com>
8132
8133 * gdb.base/options.exp (test-info-threads): New procedure.
8134 (top level): Call it.
8135
10d06d82
TT
81362019-06-28 Tom Tromey <tromey@adacore.com>
8137
8138 * gdb.dwarf2/ada-linkage-name.c: New file.
8139 * gdb.dwarf2/ada-linkage-name.exp: New file.
8140
3d507ff2
TT
81412019-06-27 Tom Tromey <tromey@adacore.com>
8142
d039f014 8143 PR c++/20020:
3d507ff2
TT
8144 * gdb.cp/constexpr-field.exp: Use setup_xfail.
8145
8af58ffe
TV
81462019-06-26 Tom de Vries <tdevries@suse.de>
8147
8148 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
8149
22e21752
TV
81502019-06-26 Tom de Vries <tdevries@suse.de>
8151
8152 * gdb.base/index-cache.exp: Add back missing debug option.
8153
b65b566c
PW
81542019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8155
8156 * gdb.base/alias.exp: Test non matching/non existing prefixes.
8157
5c2c8c69
TV
81582019-06-25 Tom de Vries <tdevries@suse.de>
8159
8160 PR testsuite/24727
8161 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
8162
164e3873
TV
81632019-06-24 Tom de Vries <tdevries@suse.de>
8164
8165 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
8166
824eacee
TV
81672019-06-24 Tom de Vries <tdevries@suse.de>
8168
8169 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
8170 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
8171 * gdb.trace/unavailable-dwarf-piece.exp: Same.
8172
385b97d3
TV
81732019-06-24 Tom de Vries <tdevries@suse.de>
8174
8175 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
8176
c596f180
TV
81772019-06-21 Tom de Vries <tdevries@suse.de>
8178
8179 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
8180
b13a7d03
TV
81812019-06-21 Tom de Vries <tdevries@suse.de>
8182
8183 PR testsuite/24518
8184 PR ada/24713
8185 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
8186 index.
8187
899277ae
TT
81882019-06-19 Tom Tromey <tromey@adacore.com>
8189
8190 * gdb.ada/length_cond.exp: Add intro comment.
8191
680e1bee
TT
81922019-06-19 Tom Tromey <tromey@adacore.com>
8193
8194 * gdb.ada/length_cond.exp: New file.
8195 * gdb.ada/length_cond/length_cond.adb: New file.
8196 * gdb.ada/length_cond/pck.adb: New file.
8197 * gdb.ada/length_cond/pck.ads: New file.
8198
0ed4690a
TV
81992019-06-18 Tom de Vries <tdevries@suse.de>
8200
8201 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
8202
d20ed5fd
TT
82032019-06-18 Tom Tromey <tromey@adacore.com>
8204
8205 * gdb.base/list0.h: Add comment explaining control character.
8206
86e04673
TV
82072019-06-18 Tom de Vries <tdevries@suse.de>
8208
8209 * boards/fission.exp: Break up long debug_flags line.
8210
c4973306
SM
82112019-06-16 Tom de Vries <tdevries@suse.de>
8212
8213 PR gdb/24445
8214 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
8215 generated index.
8216
93cb9841
AB
82172019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8218
8219 PR gdb/24686
8220 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
8221 improve detection of bug gdb/24541.
8222
399aaebd
SM
82232019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
8224
8225 PR gdb/24669
8226 * gdb.base/index-cache.exp (uses_readnow,
8227 expecting_index_cache_use): Define global variable.
8228 (test_cache_enabled_miss, test_cache_enabled_hit): Use
8229 expecting_index_cache_use.
8230
584a927c
AB
82312019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
8232 Andrew Burgess <andrew.burgess@embecosm.com>
8233
8234 * gdb.fortran/pointers.f90: New file.
8235 * gdb.fortran/print_type.exp: New file.
8236 * gdb.fortran/vla-ptype.exp: Adapt expected results.
8237 * gdb.fortran/vla-type.exp: Likewise.
8238 * gdb.fortran/vla-value.exp: Likewise.
8239 * gdb.mi/mi-vla-fortran.exp: Likewise.
8240
30056ea0
AB
82412019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8242
8243 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
8244 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
8245 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8246 as a stop reason.
8247
ec8e2b6d
AB
82482019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8249
8250 * gdb.base/annota1.exp: Update expected results.
8251 * gdb.cp/annota2.exp: Likewise.
8252 * gdb.cp/annota3.exp: Likewise.
8253
09e4c4e1
AB
82542019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8255
8256 * gdb.base/style-logging.exp: Remove path from test name.
8257
0735b091
TT
82582019-06-14 Tom Tromey <tromey@adacore.com>
8259
8260 PR gdb/24502:
8261 * gdb.base/style-logging.exp: New file.
8262
f5686554
TT
82632019-06-14 Tom Tromey <tromey@adacore.com>
8264
8265 * gdb.base/symfile-warn.exp: New file.
8266 * gdb.base/symfile-warn.c: New file.
8267
a0c1ffed
TT
82682019-06-14 Tom Tromey <tromey@adacore.com>
8269
8270 * gdb.base/annotate-symlink.exp: New file.
8271
f411722c
TT
82722019-06-14 Tom Tromey <tromey@adacore.com>
8273
8274 * gdb.ada/set_wstr.exp: Add reassignment test.
8275
4268ec18
TT
82762019-06-14 Tom Tromey <tromey@adacore.com>
8277
8278 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8279 'unchecked_access and 'unrestricted_access as well.
8280
9a9e394b
TT
82812019-06-14 Tom Tromey <tromey@adacore.com>
8282
8283 PR ada/24539:
8284 * gdb.ada/vla.exp: Update tests.
8285 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8286 pragma.
8287
4c048731
PA
82882019-06-13 Pedro Alves <palves@redhat.com>
8289
8290 * gdb.base/settings.exp (test-integer): Test junk after
8291 "unlimited".
8292
6665660a
PA
82932019-06-13 Pedro Alves <palves@redhat.com>
8294
8295 * gdb.base/options.exp (test-thread-apply): New.
8296 (top level): Call it.
8297
5d707134
PA
82982019-06-13 Pedro Alves <palves@redhat.com>
8299
8300 * gdb.base/options.exp (test-frame-apply): New.
8301 (top level): Test print commands with different "frame apply"
8302 prefixes.
8303
e2a689da
PA
83042019-06-13 Pedro Alves <palves@redhat.com>
8305
e79be6e5 8306 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
8307 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8308 'max_completions' parameter and handle it.
8309 (test_gdb_completion_offers_commands): New.
8310
90a1ef87
PA
83112019-06-13 Pedro Alves <palves@redhat.com>
8312
8313 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8314
d4c16835
PA
83152019-06-13 Pedro Alves <palves@redhat.com>
8316
8317 * gdb.base/options.exp (test-backtrace): New.
8318 (top level): Call it.
8319
2daf894e
PA
83202019-06-13 Pedro Alves <palves@redhat.com>
8321
8322 * gdb.guile/scm-frame-args.exp: Use "set print
8323 raw-frame-arguments" instead of "set print raw frame-arguments".
8324 * gdb.python/py-frame-args.exp: Likewise.
8325
e6ed716c
PA
83262019-06-13 Pedro Alves <palves@redhat.com>
8327
8328 * gdb.compile/compile.exp: Adjust expected output to option
8329 processing changes.
8330
7d8062de
PA
83312019-06-13 Pedro Alves <palves@redhat.com>
8332
8333 * gdb.base/options.exp: Build executable.
8334 (test-print): New procedure.
8335 (top level): Call it, once for "print" and another for "compile
8336 print".
8337
9d0faba9
PA
83382019-06-13 Pedro Alves <palves@redhat.com>
8339
8340 * gdb.base/options.c: New file.
8341 * gdb.base/options.exp: New file.
8342
dee7b4c8
PA
83432019-06-13 Pedro Alves <palves@redhat.com>
8344
8345 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8346 that "o" is ambiguous.
8347
dca0f6c0
PA
83482019-06-13 Pedro Alves <palves@redhat.com>
8349
8350 * gdb.base/settings.c: New file.
8351 * gdb.base/settings.exp: New file.
8352
ccf46844
PA
83532019-06-13 Pedro Alves <palves@redhat.com>
8354
8355 * gdb.base/completion.exp: Fix comment typo.
8356
b9a3f842
PA
83572019-06-13 Pedro Alves <palves@redhat.com>
8358
8359 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8360 foo --1" test.
8361
d106773e
PA
83622019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8363
8364 * gdb.fortran/block-data.f: New.
8365 * gdb.fortran/block-data.exp: New.
8366
fea82da0
TV
83672019-06-11 Tom de Vries <tdevries@suse.de>
8368
8369 PR testsuite/24521
8370 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8371 message.
8372
8c2e74f1
TV
83732019-06-11 Tom de Vries <tdevries@suse.de>
8374
8375 PR testsuite/24521
8376 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8377
b49851c8
TV
83782019-06-11 Tom de Vries <tdevries@suse.de>
8379
8380 * boards/readnow.exp: New file.
8381
a7067863
AB
83822019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8383
8384 * gdb.fortran/vla-sizeof.exp: Update expected results.
8385
1a3da2cd
AB
83862019-06-06 Amos Bird <amosbird@gmail.com>
8387
8388 * gdb.base/annota1.exp (thread_switch): Add test for
8389 thread-exited annotation.
8390
3847a7bf
TT
83912019-06-06 Tom Tromey <tromey@adacore.com>
8392
8393 * gdb.base/maint.exp: Expect command started/finished output.
8394
0088ba59
AB
83952019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8396
8397 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8398 comment.
8399 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8400
312617a3
AB
84012019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8402
8403 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8404 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8405 * gdb.arch/riscv-unwind-long-insn.c: New file.
8406 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8407
e1f2e1a2
CB
84082019-06-04 Christian Biesinger <cbiesinger@google.com>
8409
d3238f7d 8410 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 8411
206584bd
PW
84122019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8413
8414 * lib/gdb.exp (help_list_trailer): New regexp variable
8415 factorizing the help trailer message.
8416 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8417 arg to allow to better factorize various tests.
8418 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8419 (test_prefix_command_help): Use help_list_trailer.
8420 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8421 * gdb.guile/scm-cmd.exp: Likewise.
8422 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8423 * gdb.base/help.exp: Use test_user_defined_class_help.
8424 * gdb.base/style.exp: Add tests for styling of help and apropos.
8425 * lib/gdb-utils.exp (style): Add title and highlight styles.
8426
708dc93e
PW
84272019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8428
8429 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8430 $_shell_exitsignal.
8431 * gdb.base/default.exp: Update for new convenience variables.
8432
f49055a5
TT
84332019-05-29 Tom Tromey <tromey@adacore.com>
8434
8435 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8436 to "break complete ada" test case's regexp.
8437
4330d61d
TT
84382019-05-29 Tom Tromey <tromey@adacore.com>
8439
8440 PR c++/20020:
8441 * gdb.cp/constexpr-field.exp: New file.
8442 * gdb.cp/constexpr-field.cc: New file.
8443
000439d5
TT
84442019-05-29 Tom Tromey <tromey@adacore.com>
8445
8446 * gdb.base/finish.exp (finish_no_print): New proc.
8447 (finish_tests): Call it.
8448
5a01c34c
TV
84492019-05-24 Tom de Vries <tdevries@suse.de>
8450
8451 * gdb.dwarf2/gdb-add-index.exp: New file.
8452
18125b16
TT
84532019-05-22 Tom Tromey <tromey@adacore.com>
8454
8455 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8456 * gdb.base/style.exp: Use "style".
8457 * lib/gdb-utils.exp (style): New proc.
8458
af1a8d03
TV
84592019-05-22 Tom de Vries <tdevries@suse.de>
8460
8461 * gdb.base/align.exp: Require c++11.
8462
e7fe496b
TV
84632019-05-22 Tom de Vries <tdevries@suse.de>
8464
8465 PR testsuite/24586
8466 * gdb.python/py-mi-var-info-path-expression.exp: Call
8467 mi_skip_python_tests to check if python is supported.
8468
8fca4da0
AH
84692019-05-22 Alan Hayward <alan.hayward@arm.com>
8470
8471 * gdb.arch/aarch64-pauth.c: New test.
8472 * gdb.arch/aarch64-pauth.exp: New file.
8473
b7060614
AH
84742019-05-22 Alan Hayward <alan.hayward@arm.com>
8475
8476 * README (Re-running Tests Outside The Testsuite): New section.
8477
669d0468
TV
84782019-05-21 Tom de Vries <tdevries@suse.de>
8479
8480 * gdb.arch/amd64-eval.exp: Require c++11.
8481 * gdb.base/max-depth.exp: Same.
8482 * gdb.compile/compile-cplus-array-decay.exp: Same.
8483 * gdb.cp/meth-typedefs.exp: Same.
8484 * gdb.cp/subtypes.exp: Same.
8485 * gdb.cp/temargs.exp: Same.
8486
ce3ebcaa
AH
84872019-05-21 Alan Hayward <alan.hayward@arm.com>
8488
8489 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8490
34d11c68
AB
84912019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8492
8493 PR gdb/18644
8494 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8495 * gdb.fortran/printing-types.exp: Add new test.
8496 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8497 testing.
8498 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8499 setup_kfail call.
8500
87781e84
AH
85012019-05-17 Alan Hayward <alan.hayward@arm.com>
8502
8503 * README (Running the Testsuite): Change example.
8504 (Testsuite Parameters): Remove TRANSCRIPT.
8505 * lib/gdb.exp: Remove TRANSCRIPT check.
8506
b420b89e
AH
85072019-05-17 Alan Hayward <alan.hayward@arm.com>
8508
8509 * README (Testsuite Parameters): Add replay logging to
8510 GDBSERVER_DEBUG.
8511 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8512 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8513 as a comma separated list.
8514 (gdb_debug_init): Override procedure.
8515
408e9b8b
AH
85162019-05-17 Alan Hayward <alan.hayward@arm.com>
8517
8518 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8519 (gdb_write_cmd_file): New procedure.
8520 * lib/gdbserver-support.exp (gdbserver_start): Call
8521 gdbserver_write_cmd_file.
8522 (gdbserver_write_cmd_file): New procedure.
8523
f9e2e39d
AH
85242019-05-17 Alan Hayward <alan.hayward@arm.com>
8525
8526 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8527 (delete_breakpoints): Likewise.
8528 (gdb_run_cmd): Likewise.
8529 (gdb_start_cmd): Likewise.
8530 (gdb_starti_cmd): Likewise.
8531 (gdb_internal_error_resync): Likewise.
8532 (gdb_test_multiple): Likewise.
8533 (gdb_reinitialize_dir): Likewise.
8534 (default_gdb_exit): Likewise.
8535 (gdb_file_cmd): Mark kill as optional.
8536 (default_gdb_start): Call gdb_stdin_log_init.
8537 (send_gdb): Call gdb_stdin_log_write.
8538 (rerun_to_main): Mark Y as an answer.
8539 (gdb_stdin_log_init): New function.
8540 (gdb_stdin_log_write): Likewise.
8541
81f47ac2
AH
85422019-05-17 Alan Hayward <alan.hayward@arm.com>
8543
8544 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8545 * gdb.base/debug-expr.exp: Likewise.
8546 * gdb.base/foll-fork.exp: Likewise.
8547 * gdb.base/foll-vfork.exp: Likewise.
8548 * gdb.base/fork-print-inferior-events.exp: Likewise.
8549 * gdb.base/gdb-sigterm.exp: Likewise.
8550 * gdb.base/gdbinit-history.exp: Likewise.
8551 * gdb.base/osabi.exp: Likewise.
8552 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8553 * gdb.base/ui-redirect.exp: Likewise.
8554 * gdb.gdb/unittest.exp: Likewise.
8555 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8556 * gdb.mi/mi-watch.exp: Likewise.
8557 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8558 * gdb.mi/user-selected-context-sync.exp: Likewise.
8559 * gdb.python/python.exp: Disable debug test when debugging.
8560 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8561 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8562 Likewise.
8563 * gdb.threads/stepi-random-signal.exp: Likewise.
8564
29b52314
AH
85652019-05-17 Alan Hayward <alan.hayward@arm.com>
8566
8567 * Makefile.in: Pass through GDB_DEBUG.
8568 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8569 (gdb,debug): Add board setting.
8570 * lib/gdb.exp (default_gdb_start): Start debugging.
8571 (gdb_debug_enabled): New procedure.
8572 (gdb_debug_init): Likewise.
29b52314
AH
8573
85742019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 8575
29b52314
AH
8576 * Makefile.in: Pass through GDB_DEBUG.
8577 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8578 (gdb,debug): Add board setting.
8579 * lib/gdb.exp (default_gdb_start): Start debugging.
8580 (gdb_debug_enabled): New procedure.
8581 (gdb_debug_init): Likewise.
29b52314 8582
ca1285d1
AH
85832019-05-17 Alan Hayward <alan.hayward@arm.com>
8584
8585 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8586
f3a09c80
AH
85872019-05-17 Alan Hayward <alan.hayward@arm.com>
8588
8589 * gdb.base/ui-redirect.exp: Test redirection.
8590
26648588
JV
85912019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8592
8593 * gdb.mi/mi-complete.exp: New file.
8594 * gdb.mi/mi-complete.cc: Likewise.
8595
14237686
AB
85962019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8597
8598 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8599 indexed and sliced arrays, and pointers to arrays.
8600
e7bd7fba
TT
86012019-05-14 Tom Tromey <tromey@adacore.com>
8602
8603 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8604 styling test.
8605
2764128d
TV
86062019-05-14 Tom de Vries <tdevries@suse.de>
8607
8608 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8609 selection entry encoding.
8610
71bed2db
TT
86112019-05-10 Tom Tromey <tromey@adacore.com>
8612
8613 * gdb.ada/info_exc.exp: Add "complete" test.
8614
63b667ad
TV
86152019-05-09 Tom de Vries <tdevries@suse.de>
8616
8617 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8618 CU-relative.
8619
9cfd2b89
TV
86202019-05-09 Tom de Vries <tdevries@suse.de>
8621
8622 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8623 CU-relative.
8624
2228ef77
XR
86252019-05-08 Joel Brobecker <brobecker@adacore.com>
8626
8627 * gdb.ada/frame_arg_lang.exp: New testcase.
8628 * gdb.ada/frame_arg_lang/bla.adb: New file.
8629 * gdb.ada/frame_arg_lang/pck.ads: New file.
8630 * gdb.ada/frame_arg_lang/pck.adb: New file.
8631 * gdb.ada/frame_arg_lang/foo.c: New file.
8632
80e55b13
TT
86332019-05-08 Tom Tromey <tromey@adacore.com>
8634
8635 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8636
9d3421af
TT
86372019-05-08 Tom Tromey <tromey@adacore.com>
8638
8639 * gdb.base/ptype-offsets.exp: Update tests.
8640
844333e2
TT
86412019-05-08 Tom Tromey <tromey@adacore.com>
8642
8643 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8644 cases.
8645 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8646 "short".
8647
988915ee
TT
86482019-05-08 Tom Tromey <tromey@adacore.com>
8649
8650 * gdb.ada/vla.exp: New file.
8651 * gdb.ada/vla/vla.adb: New file.
8652
7bd55dac
TV
86532019-05-07 Tom de Vries <tdevries@suse.de>
8654
8655 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8656
75f06e9d
TV
86572019-05-07 Tom de Vries <tdevries@suse.de>
8658
8659 PR testsuite/24522
8660 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8661 section.
8662
77e7aaa4
TV
86632019-05-07 Tom de Vries <tdevries@suse.de>
8664
8665 PR testsuite/24522
8666 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8667 .debug_aranges section.
8668
456ba0fa
TV
86692019-05-07 Tom de Vries <tdevries@suse.de>
8670
8671 PR testsuite/24159
8672 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8673
5a56d6a6
TV
86742019-05-06 Tom de Vries <tdevries@suse.de>
8675
8676 * lib/gdb.exp (exec_has_index_section): New proc.
8677 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8678 section.
8679
9d6d4be8
TV
86802019-05-04 Tom de Vries <tdevries@suse.de>
8681
8682 * boards/cc-with-debug-names.exp: New file.
8683
222a8d25
TT
86842019-05-03 Tom Tromey <tromey@adacore.com>
8685
8686 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8687 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8688 * gdb.ada/char_enum.exp: Add test.
8689
0fdfd794
TV
86902019-05-03 Tom de Vries <tdevries@suse.de>
8691
8692 * boards/cc-with-gdb-index.exp: New file.
8693
80062eb9
AB
86942019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8695
8696 * gdb.rust/simple.exp: Add new test case.
8697 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8698 (main): Initialise an instance of the new struct.
8699
4504bbde
TT
87002019-05-01 Tom Tromey <tromey@adacore.com>
8701
8702 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8703 record.
8704 (NPR): New variable.
8705 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8706 test.
8707
d48e62f4
TT
87082019-05-01 Tom Tromey <tromey@adacore.com>
8709
8710 * gdb.ada/packed_array_assign.exp: Add packed assignment
8711 regression test.
8712
f59f30f5
TV
87132019-05-01 Tom de Vries <tdevries@suse.de>
8714
8715 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8716
b70bfc54
TV
87172019-05-01 Tom de Vries <tdevries@suse.de>
8718
8719 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8720
15f18d14
AT
87212019-04-30 Ali Tamur <tamur@google.com>
8722
8723 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8724
2ff0a947
TT
87252019-04-30 Tom Tromey <tromey@adacore.com>
8726
8727 * lib/ada.exp (find_ada_tool): New proc.
8728 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8729 * gdb.ada/catch_ex_std.exp: New file.
8730 * gdb.ada/catch_ex_std/foo.adb: New file.
8731 * gdb.ada/catch_ex_std/some_package.adb: New file.
8732 * gdb.ada/catch_ex_std/some_package.ads: New file.
8733
a776957c
TT
87342019-04-30 Tom Tromey <tromey@adacore.com>
8735
8736 PR c++/24470:
8737 * gdb.cp/temargs.cc: Add test code from PR.
8738
bc68014d
AB
87392019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8740
8741 * gdb.fortran/vla-datatypes.exp: Update expected results.
8742 * gdb.fortran/vla-ptype.exp: Likewise.
8743 * gdb.fortran/vla-type.exp: Likewise.
8744 * gdb.fortran/vla-value.exp: Likewise.
8745
f1fdc960
AB
87462019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8747
8748 * gdb.fortran/ptr-indentation.exp: Update expected results.
8749 * gdb.fortran/ptype-on-functions.exp: Likewise.
8750 * gdb.fortran/vla-ptr-info.exp: Likewise.
8751 * gdb.fortran/vla-value.exp: Likewise.
8752
bf7a4de1
AB
87532019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8754
8755 * gdb.fortran/ptype-on-functions.exp: New file.
8756 * gdb.fortran/ptype-on-functions.f90: New file.
8757
bbe75b9d
AB
87582019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8759
8760 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8761 case void string.
8762
1db455a7
AB
87632019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8764
8765 * gdb.fortran/complex.exp: Expand.
8766 * gdb.fortran/complex.f: Renamed to...
8767 * gdb.fortran/complex.f90: ...this, and extended to add more
8768 complex values.
8769
b6d03bb2
AB
87702019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8771
8772 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8773 MODULO, CMPLX.
8774
2e62ab40
AB
87752019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8776 Richard Bunt <richard.bunt@arm.com>
8777
8778 * gdb.base/max-depth.c: New file.
8779 * gdb.base/max-depth.exp: New file.
8780 * gdb.python/py-nested-maps.c: New file.
8781 * gdb.python/py-nested-maps.exp: New file.
8782 * gdb.python/py-nested-maps.py: New file.
8783 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8784 (test_all_common): Call test_max_depth.
8785 * gdb.fortran/max-depth.exp: New file.
8786 * gdb.fortran/max-depth.f90: New file.
8787 * gdb.go/max-depth.exp: New file.
8788 * gdb.go/max-depth.go: New file.
8789 * gdb.modula2/max-depth.exp: New file.
8790 * gdb.modula2/max-depth.c: New file.
8791 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8792
d2b584a5
TV
87932019-04-29 Tom de Vries <tdevries@suse.de>
8794
8795 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8796
136afab8
PW
87972019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8798
8799 * gdb.base/callexit.exp: Test may-call-functions off.
8800
725cbb63
KS
88012019-04-25 Keith Seitz <keiths@redhat.com>
8802
8803 PR c++/24367
8804 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8805 (another_incomplete_struct, test_incomplete): New definitions.
8806 (main): Use new definitions.
8807 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8808 functions.
8809
701adfb0
PA
88102019-04-25 Ali Tamur <tamur@google.com>
8811
8812 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8813
82433e3e
SDJ
88142019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8815
8816 PR corefiles/11608
8817 PR corefiles/18187
8818 * gdb.base/coredump-filter-build-id.exp: New file.
8819
dd06d4d6
AH
88202019-04-25 Alan Hayward <alan.hayward@arm.com>
8821
e79be6e5
SM
8822 * Makefile.in: Pass through GDBSERVER_DEBUG.
8823 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8824 (gdbserver,debug): Add board setting.
8825 * gdb.trace/tspeed.exp: Skip when debugging.
8826 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8827 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8828
1670072e
TT
88292019-04-24 Tom Tromey <tromey@adacore.com>
8830
8831 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8832 Rust.
8833
a59240a4
TT
88342019-04-24 Tom Tromey <tromey@adacore.com>
8835
8836 * gdb.arch/amd64-eval.exp: Test bitfield return.
8837 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8838 (class Foo) <return_bitfields>: New method.
8839 (main): Call it.
8840
b907456c
AB
88412019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8842
8843 * gdb.cp/many-args.cc: New file.
8844 * gdb.cp/many-args.exp: New file.
8845
5c565afd
TV
88462019-04-23 Tom de Vries <tdevries@suse.de>
8847
8848 PR gdb/24433
8849 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8850
ba22ff86
AH
88512019-04-23 Alan Hayward <alan.hayward@arm.com>
8852
8853 * gdb.trace/backtrace.exp: Use nopie flag.
8854 * gdb.trace/circ.exp: Likewise.
8855 * gdb.trace/collection.exp: Likewise.
8856 * gdb.trace/ftrace.exp: Likewise.
8857 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8858 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8859 * gdb.trace/qtro.exp: Likewise.
8860 * gdb.trace/read-memory.exp: Likewise.
8861 * gdb.trace/report.exp: Likewise.
8862 * gdb.trace/tfile.exp: Likewise.
8863 * gdb.trace/tfind.exp: Likewise.
8864 * gdb.trace/unavailable.exp: Likewise.
8865
7905fc35
PA
88662019-04-22 Pedro Alves <palves@redhat.com>
8867
8868 * gdb.base/solib-probes-nosharedlibrary.c,
8869 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8870
8ecb59f8
TT
88712019-04-19 Tom Tromey <tromey@adacore.com>
8872
8873 * gdb.ada/ptype_union.c: New file.
8874 * gdb.ada/ptype_union.exp: New file.
8875
62160ec9
TT
88762019-04-19 Tom Tromey <tromey@adacore.com>
8877
8878 PR symtab/24423:
8879 * gdb.base/list0.h (foo): Add a control-l character.
8880
36cd4ba5
TV
88812019-04-18 Tom de Vries <tdevries@suse.de>
8882
8883 PR gdb/24433
8884 * boards/local-board.exp: Set sysroot to "".
8885
b73715df
TV
88862019-04-18 Tom de Vries <tdevries@suse.de>
8887 Pedro Alves <palves@redhat.com>
8888
8889 PR gdb/24454
8890 * gdb.threads/vfork-follow-child-exec.c: New file.
8891 * gdb.threads/vfork-follow-child-exec.exp: New file.
8892 * gdb.threads/vfork-follow-child-exit.c: New file.
8893 * gdb.threads/vfork-follow-child-exit.exp: New file.
8894
4aa866af
LS
88952019-04-15 Leszek Swirski <leszeks@google.com>
8896
8897 * gdb.arch/amd64-eval.cc: New file.
8898 * gdb.arch/amd64-eval.exp: New file.
8899
e5a1a79a
AH
89002019-04-11 Alan Hayward <alan.hayward@arm.com>
8901
8902 * gdb.server/sysroot.c: New test.
8903 * gdb.server/sysroot.exp: New file.
8904 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8905 matching param.
8906
41077b66
AB
89072019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8908
8909 * gdb.base/align.exp: Extend test to cover structures containing
8910 only static fields.
8911
c30391f8
TV
89122019-04-11 Tom de Vries <tdevries@suse.de>
8913
8914 * boards/cc-with-dwz-m.exp: New file.
8915 * boards/cc-with-dwz.exp: New file.
8916 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8917
e242fd12
SM
89182019-04-09 Simon Marchi <simon.marchi@efficios.com>
8919
8920 * gdb.base/start-cpp.exp: New file.
8921 * gdb.base/start-cpp.cc: New file.
8922
2b0c8b01
KB
89232019-04-08 Kevin Buettner <kevinb@redhat.com>
8924
8925 * gdb.python/py-thrhandle.exp: Adjust tests to call
8926 thread_from_handle instead of thread_from_thread_handle.
8927
947210e5
KB
89282019-04-08 Kevin Buettner <kevinb@redhat.com>
8929
8930 * gdb.python/py-thrhandle.exp: Add tests for
8931 gdb.InferiorThread.handle.
8932
d7df6549
AB
89332019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8934
8935 * gdb.python/py-function.exp: Check calling helper function from
8936 all languages.
8937 * lib/gdb.exp (gdb_supported_languages): New proc.
8938
8bdc1658
AB
89392019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8940
8941 * gdb.base/complex-parts.c: New file.
8942 * gdb.base/complex-parts.exp: New file.
8943
05caa1d2
TT
89442019-04-01 Tom Tromey <tromey@adacore.com>
8945
8946 PR symtab/23331:
8947 * gdb.dwarf2/dw2-ranges-main.c: New file.
8948 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8949 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8950
7734102d
EZ
89512019-03-30 Simon Marchi <simark@simark.ca>
8952
8953 * gdb.base/default.exp: Add values for $_gdb_major and
8954 $_gdb_minor.
8955
188e1fa9
TT
89562019-03-29 Tom Tromey <tromey@adacore.com>
8957
8958 * gdb.base/help.exp: Tighten apropos regexp.
8959
2880242d
KS
89602019-03-29 Keith Seitz <keiths@redhat.com>
8961
8962 * gdb.fortran/array-bounds.exp: New file.
8963 * gdb.fortran/array-bounds.f90: New file.
8964
077cad8e
PW
89652019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8966
8967 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8968
80047cfc
PW
89692019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8970
8971 * gdb.multi/hello.c (main): Increase alarm timer.
8972
f489207e
SL
89732019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8974
8975 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8976 factor when no hardware watchpoint support.
8977
c92df149
AH
89782019-03-28 Alan Hayward <alan.hayward@arm.com>
8979 Pedro Alves <palves@redhat.com>
8980
8981 * boards/local-board.exp: set sysroot to /.
8982
933aebfa
AH
89832019-03-27 Alan Hayward <alan.hayward@arm.com>
8984
8985 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8986 in child.
8987
9f9aa852
AB
89882019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8989
8990 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8991 field.
8992 (make_container): Initialise new field.
8993 * gdb.python/py-prettyprint.exp: Add new tests.
8994 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8995 <display_hint>: New method.
8996
3714a195
AB
89972019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8998
8999 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
9000 gdb_continue_to_breakpoint more throughout this test.
9001 (run_lang_tests) Supply unique test names, and use
9002 gdb_test_no_output.
9003
18c77628
AB
90042019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9005
9006 * gdb.base/finish-pretty.exp: Update expected results.
9007 * gdb.base/pretty-print.c: New file.
9008 * gdb.base/pretty-print.exp: New file.
9009
9a93502f
PA
90102019-03-25 Pedro Alves <palves@redhat.com>
9011
9012 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
9013 move comments outside list. Append '-i "" eof' section.
9014
968aa7ae
AH
90152019-03-22 Alan Hayward <alan.hayward@arm.com>
9016
34a7f2a4 9017 PR testsuite/25016
968aa7ae
AH
9018 * README: Add pie options.
9019 * gdb.base/break-interp.exp: Ensure pie is disabled.
9020 * gdb.base/dump.exp: Likewise.
9021 * lib/gdb.exp (gdb_compile): Add pie option.
9022
4c7d57e7
TT
90232019-03-19 Tom Tromey <tromey@adacore.com>
9024
9025 * gdb.mi/mi2-cli-display.c: New file.
9026 * gdb.mi/mi2-cli-display.exp: New file.
9027
bff8c71f
TT
90282019-03-18 Joel Brobecker <brobecker@adacore.com>
9029 Tom Tromey <tromey@adacore.com>
9030
9031 * gdb.ada/ptype_array/pck.adb: New file.
9032 * gdb.ada/ptype_array/pck.ads: New file.
9033 * gdb.ada/ptype_array/foo.adb: New file.
9034 * gdb.ada/ptype_array.exp: New file.
9035
d085f989
TT
90362019-03-14 Tom Tromey <tromey@adacore.com>
9037
9038 * gdb.base/style.exp: Add "set style sources" test.
9039
b4be1b06
SM
90402019-03-13 Simon Marchi <simon.marchi@ericsson.com>
9041
9042 * mi-breakpoint-location-ena-dis.exp: Rename to ...
9043 * mi-breakpoint-multiple-locations.exp: ... this.
9044 (make_breakpoints_pattern): New proc.
9045 (do_test): Add mi_version parameter, test -break-insert,
9046 -break-info and =breakpoint-created.
9047
7cde5fc2
AB
90482019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
9049
9050 * config/default.exp: Remove 'load_lib gdb.exp'.
9051 * config/monitor.exp: Likewise.
9052 * config/sid.exp: Likewise.
9053 * config/sim.exp: Likewise.
9054 * config/slite.exp: Likewise.
9055 * config/unix.exp: Likewise.
9056 * gdb.base/default.exp: Remove unhelpful comment.
9057
efbecbc1
AB
90582019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9059
9060 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
9061
0841c79a
AB
90622019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9063
9064 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
9065
4a270568
AB
90662019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9067
9068 * gdb.fortran/type-kinds.exp: Update expected results.
9069
067630bd
AB
90702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9071
9072 * gdb.fortran/type-kinds.exp: Test new integer type kind.
9073
3be47f7a
AB
90742019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9075
9076 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
9077 function.
9078 (test_basic_parsing_of_type_kinds): Expand types tested.
9079 (test_parsing_invalid_type_kinds): New function.
9080
4d00f5d8
AB
90812019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9082
9083 * gdb.fortran/intrinsics.exp: New file.
9084 * gdb.fortran/intrinsics.f90: New file.
9085 * gdb.fortran/type-kinds.exp: New file.
9086
c8f91604
AB
90872019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9088
9089 * gdb.fortran/dot-ops.exp: New file.
9090
dd9f2c76
AB
90912019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9092
9093 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
9094 Check upper and lower case logical literals.
9095
84ec9724
AB
90962019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9097
9098 * gdb.fortran/types.exp (test_float_literal_types_accepted):
9099 Remove duplicate tests.
9100
c3734e09
AH
91012019-03-06 Alan Hayward <alan.hayward@arm.com>
9102
9103 * lib/gdb.exp (builtin_cd): rename of cd.
9104 (cd): Override builtin.
9105
aa3cfbda
RB
91062019-03-06 Richard Bunt <richard.bunt@arm.com>
9107
9108 * gdb.fortran/function-calls.exp: New file.
9109 * gdb.fortran/function-calls.f90: New test.
9110
7b63ad86
RB
91112019-03-04 Richard Bunt <richard.bunt@arm.com>
9112
9113 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
9114 on user program standard output.
9115 * gdb.fortran/short-circuit-argument-list.f90: Record function
9116 calls.
9117
01abb042
AH
91182019-02-28 Alan Hayward <alan.hayward@arm.com>
9119
c3734e09
AH
9120 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
9121 failure.
01abb042 9122
92137da0
RO
91232019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9124
9125 PR gdb/8527
9126 * gdb.base/interrupt-daemon-attach.c,
9127 gdb.base/interrupt-daemon-attach.exp: New test.
9128
5862844d
PA
91292019-02-27 Pedro Alves <palves@redhat.com>
9130
9131 * gdb.base/page.exp: Add tests for "set width/height -1".
9132
8ed25214
PA
91332019-02-27 Pedro Alves <palves@redhat.com>
9134
9135 * gdb.base/page.exp: Add tests for "set/show width/height" with
9136 "infinite" values.
9137
6c28e44a
TT
91382019-02-27 Tom Tromey <tromey@adacore.com>
9139
9140 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
9141 2.4.
9142 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
9143 workaround.
9144
bf9a735e
AB
91452019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
9146
9147 * gdb.base/align.exp: Extend to compile in both C and C++, and add
9148 tests for structs with static members.
9149
8791793c
TT
91502019-02-26 Tom Tromey <tromey@adacore.com>
9151
9152 * gdb.python/py-value.exp (test_value_from_buffer): Check for
9153 ValueError, not TypeError.
9154
bc2a507e
KB
91552019-02-26 Kevin Buettner <kevinb@redhat.com>
9156
9157 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
9158 call from main program.
9159
e0e7d3bd
JB
91602019-02-23 Joel Brobecker <brobecker@adacore.com>
9161
9162 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
9163 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
9164 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
9165 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
9166 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
9167
9600246d
KS
91682019-02-22 Keith Seitz <keiths@redhat.com>
9169
9170 PR symtab/23853
9171 * gdb.base/symlink-sourcefile.c: New file.
9172 * gdb.base/symlink-sourcefile.exp: New file.
9173
0c95f9ed
TT
91742019-02-20 Tom Tromey <tom@tromey.com>
9175
9176 * gdb.base/info_qt.exp: Update.
9177
6caa91b6
SM
91782019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
9179
9180 * gdb.base/source.exp: Move "error in sourced script" code to
9181 the end.
9182 * gdb.base/source-error.gdb: Move contents to
9183 source-error-1.gdb. Add new code to source source-error-1.gdb.
9184 * gdb.base/source-error-1.gdb: New file, from previous
9185 source-error.gdb.
9186
6506371f
TT
91872019-02-17 Tom Tromey <tom@tromey.com>
9188
9189 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
9190 for macro styling.
9191 * gdb.base/style.c (SOME_MACRO): New macro.
9192
a0087920
TT
91932019-02-17 Tom Tromey <tom@tromey.com>
9194
9195 * gdb.base/style.exp: Add line-wrapping tests.
9196 * gdb.base/page.exp: Add test for quitting during pagination.
9197
a2cd4f14
JB
91982019-02-17 Joel Brobecker <brobecker@adacore.com>
9199
9200 * gdb.ada/big_packed_array: New testcase.
9201 * gdb.ada/homonym.exp: Fix incorrect expected output for
9202 "break <homonym__get_value>" test.
9203
9d70ffbc
WP
92042019-02-13 Weimin Pan <weimin.pan@oracle.com>
9205
9206 PR breakpoints/21870
9207 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
9208 and prepare_for_testing. Add comment.
9209 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
9210 redundant cleanup call. Clean up comment.
9211
01c7ae81
WP
92122019-02-12 Weimin Pan <weimin.pan@oracle.com>
9213
9214 PR breakpoints/21870
9215 * gdb.arch/aarch64-dbreg-contents.exp: New file.
9216 * gdb.arch/aarch64-dbreg-contents.c: New file.
9217
aff29d1c
JB
92182019-02-10 Joel Brobecker <brobecker@adacore.com>
9219
9220 * gdb.ada/mi_ref_changeable: New testcase.
9221
df0da8a2
AH
92222019-02-07 Alan Hayward <alan.hayward@arm.com>
9223
9224 * gdb.base/attach.exp: Add double attach test.
9225
bd447abb
SM
92262019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
9227
9228 * lib/gdb.exp (default_gdb_start): Don't match pagination
9229 prompt.
9230 (gdb_init): Set stty_init.
9231
1dbc40b9
TT
92322019-01-27 Tom Tromey <tom@tromey.com>
9233
9234 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
9235 skip_python_tests.
9236
353229bf
AH
92372019-01-24 Alan Hayward <alan.hayward@arm.com>
9238
9239 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
9240 New structure.
9241 (struct struct_static_02_02): Likewise.
9242 (struct struct_static_02_03): Likewise.
9243 (struct struct_static_02_04): Likewise.
9244 (struct struct_static_04_01): Likewise.
9245 (struct struct_static_04_02): Likewise.
9246 (struct struct_static_04_03): Likewise.
9247 (struct struct_static_04_04): Likewise.
9248 (struct struct_static_06_01): Likewise.
9249 (struct struct_static_06_02): Likewise.
9250 (struct struct_static_06_03): Likewise.
9251 (struct struct_static_06_04): Likewise.
9252 (cmp_struct_static_02_01): Likewise.
9253 (cmp_struct_static_02_02): Likewise.
9254 (cmp_struct_static_02_03): Likewise.
9255 (cmp_struct_static_02_04): Likewise.
9256 (cmp_struct_static_04_01): Likewise.
9257 (cmp_struct_static_04_02): Likewise.
9258 (cmp_struct_static_04_03): Likewise.
9259 (cmp_struct_static_04_04): Likewise.
9260 (cmp_struct_static_06_01): Likewise.
9261 (cmp_struct_static_06_02): Likewise.
9262 (cmp_struct_static_06_03): Likewise.
9263 (cmp_struct_static_06_04): Likewise.
9264 (call_all): Test new structs.
9265 * gdb.base/infcall-nested-structs.exp: Likewise.
9266
73021deb
AH
92672019-01-21 Alan Hayward <alan.hayward@arm.com>
9268 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9269
fc65c7db
AH
92702019-01-21 Alan Hayward <alan.hayward@arm.com>
9271 * gdb.base/stack-protector.c: New test.
9272 * gdb.base/stack-protector.exp: New file.
9273 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9274 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9275 option.
9276 (gdb_compile): Remove stack protector for GCC and prevent
9277 recursion.
9278
c24bdb02
KS
92792019-01-16 Keith Seitz <keiths@redhat.com>
9280
9281 PR gdb/23773
9282 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9283
6f072a10
PFC
92842019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9285
9286 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9287 aliases.
9288 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9289 tests.
9290 * gdb.arch/powerpc-vector-regs.c: New file.
9291 * gdb.arch/powerpc-vector-regs.exp: New file.
9292
a7b8d682
PFC
92932019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9294
9295 * gdb.arch/altivec-regs.exp: Fix the list passed to
9296 gdb_expect_list when testing "info vector".
9297
6eb6fb67
AB
92982019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9299
9300 * gdb.base/style.exp: Don't include path in testname.
9301
b56f80d8
KS
93022019-01-10 Keith Seitz <keiths@redhat.com>
9303
9304 PR gdb/23712
9305 PR symtab/23010
9306 * gdb.dwarf2/multidictionary.exp: New file.
9307
041be526
SM
93082019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9309
9310 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9311 (test_gnuv3_style_demangling): ... this.
9312 (test_lucid_style_demangling): Remove.
9313 (test_arm_style_demangling): Remove.
9314 (test_hp_style_demangling): Remove.
9315 (do_tests): Remove calls to the above.
9316
d820d0c3
AB
93172019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9318
9319 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9320 case.
9321
f097f5ad
TT
93222019-01-06 Tom Tromey <tom@tromey.com>
9323
9324 PR gdb/28155:
9325 * gdb.dwarf2/typedef-void-finish.exp: New file.
9326
2cd8cc0b
TT
93272018-12-28 Tom Tromey <tom@tromey.com>
9328 Simon Marchi <simark@simark.ca>
9329
9330 * gdb.base/jit-exec.exp: New file.
9331 * gdb.base/jit-exec.c: New file.
9332 * gdb.base/jit-execd.c: New file.
9333
35fb8261
TT
93342018-12-28 Tom Tromey <tom@tromey.com>
9335
9336 * gdb.base/style.exp: Update test to check for address styling.
9337
47fd17cd
TT
93382018-12-28 Tom Tromey <tom@tromey.com>
9339
9340 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9341 message.
9342
d47032b7
TT
93432018-12-28 Tom Tromey <tom@tromey.com>
9344
9345 * gdb.base/style.exp: Add test for version number styling.
9346
af79b68d
TT
93472018-12-28 Tom Tromey <tom@tromey.com>
9348
9349 * gdb.base/style.exp: Add test for print_address_symbolic.
9350
0bb296cb
TT
93512018-12-28 Tom Tromey <tom@tromey.com>
9352
9353 * gdb.base/style.exp: Add test for breakpoint setting.
9354
80ae2043
TT
93552018-12-28 Tom Tromey <tom@tromey.com>
9356
9357 * gdb.base/style.exp: Add test for variable names.
9358
cbe56571
TT
93592018-12-28 Tom Tromey <tom@tromey.com>
9360
9361 * gdb.base/style.exp: New file.
9362 * gdb.base/style.c: New file.
9363
9162a27c
TT
93642018-12-28 Tom Tromey <tom@tromey.com>
9365
9366 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9367 "dumb".
9368 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9369 the TERM environment variable.
9370
bc543c90
TT
93712018-12-27 Tom Tromey <tom@tromey.com>
9372
9373 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9374 pagination test.
9375
6f0ffe50
AB
93762018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9377
9378 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9379 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9380
b5a1e557
PW
93812018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9382
9383 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9384 Filename a.adb changed to bp_fun_addr.adb.
9385 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9386
6e8b1ab2
JV
93872018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9388
9389 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9390 non-PIE executables.
9391 * README: Mention the gdb,nopie_flag board setting.
9392 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9393 non-PIE executable.
9394 * gdb.arch/amd64-entry-value.exp: Likewise.
9395 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9396 * gdb.arch/i386-float.exp: Likewise.
9397 * gdb.arch/i386-signal.exp: Likewise.
9398 * gdb.mi/mi-reg-undefined.exp: Likewise.
9399
d00a27c5
PM
94002018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9401
9402 PR gdb/23974
9403 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9404
161d081c
PW
94052018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9406
9407 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9408 Update order of results accordingly.
9409
b001de23
AB
94102018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9411
9412 * gdb.base/annota1.exp: Update a test regexp.
9413
99e1a184
AB
94142018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9415
9416 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9417
7a81c1e2
PW
94182018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9419
9420 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9421 (reuse_time): Initialize to REUSE_TIME_CAP.
9422 (check_rc): New function.
9423 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9424 Check pthread_create rc.
9425 (spawner_thread_func): Check pthread_create and pthread_join rc.
9426
73e8dc90
PA
94272018-12-08 Pedro Alves <palves@redhat.com>
9428
9429 * gdb.base/list.exp (test_forward_search): Rename to ...
9430 (test_forward_reverse_search): ... this. Also test reverse-search
9431 and the forward-search alias.
9432
13f2ed32
AB
94332018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9434
9435 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9436 local timeout variable before return, and remove all local timeout
9437 variable entirely.
9438 (gdb_load): Likewise.
9439
64d27cfc
TV
94402018-12-01 Tom de Vries <tdevries@suse.de>
9441
9442 * gdb.base/gdb-caching-proc.exp: New file.
9443
f63c03b4
SDJ
94442018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9445
9446 * Makefile.in (TIMESTAMP): New variable.
9447 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9448 command.
9449 (check-single-racy): Likewise.
9450 (check/%.exp): Likewise.
9451 (check-racy/%.exp): Likewise.
9452 (workers/%.worker): Likewise.
9453 (build-perf): Likewise.
9454 (check-perf): Likewise.
9455 * README: Describe new "TS" and "TS_FORMAT" variables.
9456 * print-ts.py: New file.
9457
1c97054b
BF
94582018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9459
9460 PR python/23714
9461 * gdb.python/python.exp: Test command repetition after
9462 gdb.execute.
9463
1871a62d
AB
94642018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9465
9466 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9467 is correctly aligned.
9468
fb5e1ed9
PW
94692018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9470
9471 * gdb.ada/info_auto_lang.exp: New testcase.
9472 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9473 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9474 * gdb.ada/info_auto_lang/some_c.c: New file.
9475
43d397ca
PW
94762018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9477
9478 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9479 FUNC_lang language syntax.
9480
beddd671
PW
94812018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9482
9483 * gdb.base/info_minsym.c: New file.
9484 * gdb.base/info_minsym.exp: New file.
9485
73fc52c4
TT
94862018-11-19 Tom Tromey <tom@tromey.com>
9487
9488 PR rust/23625:
9489 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9490 * gdb.rust/expr.exp: Update expected output. Change one test.
9491
994b876a
TT
94922018-11-19 Tom Tromey <tom@tromey.com>
9493
9494 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9495
6769f276
PA
94962018-11-19 Pedro Alves <palves@redhat.com>
9497
9498 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9499 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9500 see the expected warning.
9501
38a72da0
AH
95022018-11-16 Alan Hayward <alan.hayward@arm.com>
9503
9504 PR gdb/22736:
9505 * gdb.cp/infcall-nodebug-lib.c: New test.
9506 * gdb.cp/infcall-nodebug-main.c: New test.
9507 * gdb.cp/infcall-nodebug.exp: New file.
9508
53a89d6e
SM
95092018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9510
9511 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9512 completer tests.
9513
9325300d
TV
95142018-11-09 Tom de Vries <tdevries@suse.de>
9515
9516 * gdb.base/msym-lang.c: New test.
9517 * gdb.base/msym-lang.exp: New file.
9518 * gdb.base/msym-lang-main.c: New test.
9519
20f0d60d
TT
95202018-11-08 Tom Tromey <tom@tromey.com>
9521
9522 PR gdb/23555:
9523 PR gdb/23838:
9524 * gdb.base/warning.exp: New file.
9525
b5420128
JB
95262018-11-08 Jan Beulich <jbeulich@suse.com>
9527
9528 * testsuite/gdb.arch/i386-avx512.c,
9529 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9530
cd115d61
AB
95312018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9532
9533 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9534 point hardware.
9535
35ee2dc2
AB
95362018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9537
9538 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9539 * gdb.dwarf2/missing-type-name.exp: New file.
9540
31aceee8
TV
95412018-11-06 Tom de Vries <tdevries@suse.de>
9542
9543 * gdb.base/many-headers.c: New test.
9544 * gdb.base/many-headers.exp: New file.
9545
109be305
JW
95462018-11-06 Jim Wilson <jimw@sifive.com>
9547
9548 * gdb.base/code_elim.exp: For riscv, set additional_flags
9549 to include -msmall-data-limit=0.
9550
e2b7af72
JB
95512018-11-01 Joel Brobecker <brobecker@adacore.com>
9552
9553 * gdb.ada/watch_minus_l: New testcase.
9554
cdcda965
SM
95552018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9556
9557 * gdb.arch/aix-sighandle.c: New file.
9558 * gdb.arch/aix-sighandle.exp: New file.
9559
92dcebf3
AB
95602018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9561
9562 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9563 registers being unions.
9564
68b9ac18
TV
95652018-10-31 Tom de Vries <tdevries@suse.de>
9566
9567 * lib/valgrind.exp: New file.
9568 (vgdb_start, vgdb_stop): New procs, factored out of ...
9569 * gdb.base/valgrind-bt.exp: ... here, ...
9570 * gdb.base/valgrind-disp-step.exp: ... here and ...
9571 * gdb.base/valgrind-infcall.exp: ... here.
9572
1443936e
TV
95732018-10-31 Tom de Vries <tdevries@suse.de>
9574
9575 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9576
eb77c9df
AB
95772018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9578
9579 * gdb.dwarf2/void-type.c: New file.
9580 * gdb.dwarf2/void-type.exp: New file.
9581
82b5e646
PW
95822018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9583
9584 * gdb.base/info_qt.c: New file.
9585 * gdb.base/info_qt.exp: New file.
9586
8d619c01
EBM
95872018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9588
9589 * gdb.arch/powerpc-htm-regs.c: New file.
9590 * gdb.arch/powerpc-htm-regs.exp: New file.
9591
f2cf6173
EBM
95922018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9593
9594 * gdb.arch/powerpc-tar.c: New file.
9595 * gdb.arch/powerpc-tar.exp: New file.
9596
7ca18ed6
EBM
95972018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9598
9599 * gdb.arch/powerpc-ppr-dscr.c: New file.
9600 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9601
bfcc0eba
TV
96022018-10-25 Tom de Vries <tdevries@suse.de>
9603
9604 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9605
fe1a5cad
TV
96062018-10-24 Tom de Vries <tdevries@suse.de>
9607
9608 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9609 longer exists error.
9610
a76dc3b7
TV
96112018-10-24 Tom de Vries <tdevries@suse.de>
9612
9613 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9614
4df46df7
TV
96152018-10-24 Tom de Vries <tdevries@suse.de>
9616
9617 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9618 --db-attach in valgrind.
9619
0dbfcfff
AB
96202018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9621
9622 * gdb.arch/riscv-reg-aliases.c: New file.
9623 * gdb.arch/riscv-reg-aliases.exp: New file.
9624
b04480b1
AH
96252018-10-19 Alan Hayward <alan.hayward@arm.com>
9626
9627 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9628
2c6ac8d7
AH
96292018-10-19 Alan Hayward <alan.hayward@arm.com>
9630
9631 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9632
2bc69f25
AH
96332018-10-19 Alan Hayward <alan.hayward@arm.com>
9634
9635 * gdb.cp/ovldbreak.exp: Fix regexps.
9636
1f1ae3a3
AH
96372018-10-19 Alan Hayward <alan.hayward@arm.com>
9638
9639 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9640
94c18618
SDJ
96412018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9642
9643 PR cli/23785
9644 * gdb.base/restore.exp: New test to check if "restore" with an
9645 invalid file doesn't segfault.
9646
812cd6eb
TV
96472018-10-18 Tom de Vries <tdevries@suse.de>
9648
9649 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9650 * gdb.ada/excep_handle.exp: Same.
9651 * gdb.ada/mi_string_access.exp: Same.
9652 * gdb.ada/mi_var_union.exp: Same.
9653 * gdb.arch/arc-analyze-prologue.exp: Same.
9654 * gdb.arch/arc-decode-insn.exp: Same.
9655 * gdb.base/readnever.exp: Same.
9656 * gdb.fortran/printing-types.exp: Same.
9657 * gdb.guile/scm-lazy-string.exp: Same.
9658
c4b90788
TV
96592018-10-16 Tom de Vries <tdevries@suse.de>
9660
9661 PR gdb/23730
9662 * gdb.base/catch-follow-exec.c: Add copyright notice.
9663 * gdb.base/catch-follow-exec.exp: Rewrite to use
9664 gdb_spawn_with_cmdline_opts. Require gdb-native.
9665
8bca2978
SL
96662018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9667
9668 * gdb.trace/actions-changed.exp: Check for arch support.
9669 * gdb.trace/actions.exp: Likewise.
9670 * gdb.trace/ax.exp: Likewise.
9671 * gdb.trace/backtrace.exp: Likewise.
9672 * gdb.trace/change-loc.exp: Likewise.
9673 * gdb.trace/deltrace.exp: Likewise.
9674 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9675 * gdb.trace/ftrace.exp: Likewise.
9676 * gdb.trace/infotrace.exp: Check for arch support.
9677 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9678 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9679 * gdb.trace/mi-tsv-changed.exp: Likewise.
9680 * gdb.trace/packetlen.exp: Likewise.
9681 * gdb.trace/passc-dyn.exp: Likewise.
9682 * gdb.trace/passcount.exp: Likewise.
9683 * gdb.trace/pending.exp: Likewise.
9684 * gdb.trace/range-stepping.exp: Check for shlib support.
9685 * gdb.trace/report.exp: Check for arch support.
9686 * gdb.trace/save-trace.exp: Likewise.
9687 * gdb.trace/signal.exp: Check for signal support.
9688 * gdb.trace/tfind.exp: Check for arch support.
9689 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9690 * gdb.trace/trace-common.h: Add comment.
9691 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9692 * gdb.trace/trace-enable-disable.exp: Likewise.
9693 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9694 * gdb.trace/tracecmd.exp: Check for arch support.
9695 * gdb.trace/tspeed.exp: Check for shlib and target support.
9696 * gdb.trace/tstatus.exp: Check for arch support.
9697 * gdb.trace/tsv.exp: Likewise.
9698 * gdb.trace/while-dyn.exp: Likewise.
9699 * gdb.trace/while-stepping.exp: Likewise.
9700 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9701
f9c49bff
SM
97022018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9703
9704 * gdb.trace/tspeed.exp: Remove nowarnings.
9705 (prepare_for_trace_test): Declare "global ipalib".
9706 * gdb.trace/tspeed.c: Include unistd.h.
9707 (main): Remove superfluous printf argument.
9708
d4330bde
SL
97092018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9710
9711 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9712 directory prefix on the filename.
9713
8ecfd7bd
SDJ
97142018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9715
9716 * gdb.gdb/unittest.exp: Update expected message informing that
9717 selftests have been disabled.
9718 * gdb.server/unittest.exp: Likewise.
9719
58bbcd02
TV
97202018-10-09 Tom de Vries <tdevries@suse.de>
9721
9722 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9723 with runto_main.
9724
9f6b697b
WP
97252018-10-08 Weimin Pan <weimin.pan@oracle.com>
9726
9727 PR c++/16841
9728 * gdb.cp/virtbase2.cc: New file.
9729 * gdb.cp/virtbase2.exp: New file.
9730
add5ded5
TT
97312018-10-06 Tom Tromey <tom@tromey.com>
9732
9733 PR python/19399:
9734 * gdb.python/py-inferior.exp: Add architecture test.
9735
f9e48344
TT
97362018-10-06 Tom Tromey <tom@tromey.com>
9737
9738 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9739 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9740
2a8be203
TT
97412018-10-06 Tom Tromey <tom@tromey.com>
9742
9743 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9744 of a "throw" catchpoint.
9745
e04caa70
SDJ
97462018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9747
9748 * gdb.base/info-proc.exp: Update string expected from "help info
9749 proc".
9750
5ca8c39f
TT
97512018-10-04 Tom Tromey <tom@tromey.com>
9752
9753 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9754 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9755 (test_initial_complaints, test_empty_complaints): Update.
9756 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9757
3453e7e4
TT
97582018-10-04 Tom Tromey <tom@tromey.com>
9759
9760 PR cli/19551:
9761 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9762 * lib/gdb.exp (gdb_file_cmd): Update.
9763 * gdb.stabs/weird.exp (print_weird_var): Update.
9764 * gdb.server/solib-list.exp: Update.
9765 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9766 * gdb.mi/mi-cli.exp: Update.
9767 * gdb.linespec/linespec.exp: Update.
9768 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9769 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9770 * gdb.cp/cp-relocate.exp: Update.
9771 * gdb.base/sym-file.exp: Update.
9772 * gdb.base/relocate.exp: Update.
9773 * gdb.base/readnever.exp: Update.
9774 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9775 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9776 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9777 * gdb.base/code_elim.exp: Update.
9778 * gdb.base/break-unload-file.exp (test_break): Update.
9779 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9780 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9781 Update.
9782 * gdb.base/attach.exp (do_attach_tests): Update.
9783 * gdb.base/sepdebug.exp: Update.
9784 * gdb.python/py-section-script.exp: Update.
9785
6afcf761
TT
97862018-10-04 Tom Tromey <tom@tromey.com>
9787
9788 PR cli/22234:
9789 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9790 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9791 output.
9792
fef1b293
TT
97932018-10-04 Tom Tromey <tom@tromey.com>
9794
9795 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9796 set width and height to 0.
9797 (test_command_line_attach_run): Use -quiet.
9798
ca98345e
SL
97992018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9800
9801 * lib/gdb.exp (skip_ifunc_tests): New.
9802 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9803 other compile failures.
9804 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9805
ff34e6ae
SM
98062018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9807
9808 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9809 is_amd64_regs_target.
9810
6bb8890e
AH
98112018-10-01 Alan Hayward <alan.hayward@arm.com>
9812
9813 * gdb.arch/aarch64-sighandler-regs.c: New test.
9814 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9815 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9816
224d30d3
MM
98172018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9818
9819 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9820 assembly.
9821
f67ffa6a
AB
98222018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9823
9824 * gdb.base/frame-selection.exp: New file.
9825 * gdb.base/frame-selection.c: New file.
9826
9fc3183f
AH
98272018-09-27 Alan Hayward <alan.hayward@arm.com>
9828
9829 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9830 pthread barrier.
9831 (main): Likewise.
9832
d354055e
AB
98332018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9834
9835 * gdb.base/large-frame-1.c: New file.
9836 * gdb.base/large-frame-2.c: New file.
9837 * gdb.base/large-frame.exp: New file.
9838 * gdb.base/large-frame.h: New file.
9839
db727370
JL
98402018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9841
9842 PR gdb/20948
9843 * gdb.base/write_mem.exp: New test.
9844 * gdb.base/write_mem.c: Likewise.
9845
ae778caf
TT
98462018-09-23 Tom Tromey <tom@tromey.com>
9847
9848 PR python/18852:
9849 * gdb.python/py-parameter.exp: Add test for parameter that throws
9850 on "set".
9851
fd3ba736
TT
98522018-09-23 Tom Tromey <tom@tromey.com>
9853
9854 PR python/17284:
9855 * gdb.python/py-template.exp (test_template_arg): Add test for
9856 negative template argument number.
9857
39a24317
TT
98582018-09-23 Tom Tromey <tom@tromey.com>
9859
9860 PR python/14062:
9861 * gdb.python/python.exp: Add test for post_event error.
9862
f5769a2c
TT
98632018-09-23 Tom Tromey <tom@tromey.com>
9864
9865 PR python/18170:
9866 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9867 convert pointers to int and long.
9868
1c1e54f6
TT
98692018-09-23 Tom Tromey <tom@tromey.com>
9870
9871 PR python/20126:
9872 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9873 signed-ness conversion tests.
9874
fb4fa946
TT
98752018-09-23 Tom Tromey <tom@tromey.com>
9876
9877 PR python/18352;
9878 * gdb.python/py-value.exp (test_float_conversion): New proc.
9879 Use it.
9880
a466edac
HAQ
98812018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9882
9883 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9884
4ee9b0c5
SL
98852018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9886
9887 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9888 no readline.
9889 * gdb.base/utf8-identifiers.exp: Likewise.
9890 * gdb.cp/cpcompletion.exp: Likewise.
9891 * gdb.linespec/cpcompletion.exp: Likewise.
9892 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9893 * gdb.linespec/cpls-ops.exp: Likewise.
9894
23be8da7
RB
98952018-09-19 Richard Bunt <richard.bunt@arm.com>
9896 Chris January <chris.january@arm.com>
9897
9898 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9899 * gdb.fortran/short-circuit-argument-list.exp: New file.
9900 * gdb.fortran/short-circuit-argument-list.f90: New test.
9901
5031d0ae
SDJ
99022018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9903
9904 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9905 "arch=" keyword when executing "-stack-list-frames".
9906
b4c0d1a4
SDJ
99072018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9908
9909 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9910 "arch=" keyword when executing "-stack-list-frames".
9911
7a6d2b45
SDJ
99122018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9913
9914 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9915 break ada".
9916
8588b356
SM
99172018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9918
9919 PR python/23669
9920 * gdb.python/python.exp: Test gdb.execute("show commands").
9921
65e65158
TT
99222018-09-16 Tom Tromey <tom@tromey.com>
9923
9924 * gdb.base/new-ui.exp (do_execution_tests): Update.
9925 * gdb.base/dbx.exp (test_breakpoints): Update.
9926
bf326452
AH
99272018-09-14 Alan Hayward <alan.hayward@arm.com>
9928
9929 * lib/gdb.exp (gdb_simple_compile): Add proc.
9930 (is_elf_target): Use gdb_simple_compile.
9931 (skip_altivec_tests): Likewise.
9932 (skip_vsx_tests): Likewise.
9933 (skip_tsx_tests): Likewise.
9934 (skip_btrace_tests): Likewise.
9935 (skip_btrace_pt_tests): Likewise.
9936 (gdb_can_simple_compile): Likewise.
9937 (gdb_has_argv0): Likewise.
9938 (gdb_target_symbol_prefix): Likewise.
9939 (target_supports_scheduler_locking): Likewise.
9940
2361b0fb
TT
99412018-09-13 Tom Tromey <tom@tromey.com>
9942
9943 * Makefile.in (TAGS): Recognize proc_with_prefix and
9944 gdb_caching_proc.
9945
0ae1a321
SM
99462018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9947
9948 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9949 method.
9950
a40bf0c2
SM
99512018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9952
9953 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9954 and a few other Inferior properties when the Inferior is no
9955 longer valid.
9956
4a3fe98f
TT
99572018-09-13 Tom Tromey <tom@tromey.com>
9958
9959 PR rust/23650:
9960 * gdb.rust/simple.exp: Add test for enum field access error.
9961
098b2108
TT
99622018-09-13 Tom Tromey <tom@tromey.com>
9963
9964 PR rust/23626:
9965 * gdb.rust/simple.rs (EmptyEnum): New type.
9966 (main): Use it.
9967 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9968
1256af7d
SM
99692018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9970
9971 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9972 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9973 * gdb.python/py-symtab.exp: Update test printing an objfile.
9974
4aa8e6c2
SM
99752018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9976
9977 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9978 object.
9979
c221b2f7
AH
99802018-09-12 Alan Hayward <alan.hayward@arm.com>
9981
9982 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9983 (support_complex_tests): Use gdb_can_simple_compile.
9984 (is_ilp32_target): Likewise.
9985 (is_lp64_target): Likewise.
9986 (is_64_target): Likewise.
9987 (is_amd64_regs_target): Likewise.
9988 (is_aarch32_target): Likewise.
9989 (gdb_int128_helper): Likewise.
9990
6f1107b5
JK
99912018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9992
9993 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9994
1f5d1570
JG
99952018-09-10 Jerome Guitton <guitton@adacore.com>
9996
9997 * gdb.ada/same_component_name: Add test for case of tagged record
9998 with variable-length fields.
9999
cc330e39
XR
100002018-09-10 Xavier Roirand <roirand@adacore.com>
10001
10002 * gdb.ada/access_to_unbounded_array.exp: New testcase.
10003 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
10004 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
10005 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
10006
b9c50e9a
XR
100072018-09-10 Xavier Roirand <roirand@adacore.com>
10008
10009 * gdb.ada/mi_string_access.exp: New testcase.
10010 * gdb.ada/mi_string_access/bar.adb: New file.
10011 * gdb.ada/mi_string_access/pck.adb: New file.
10012 * gdb.ada/mi_string_access/pck.asd: New file.
10013
2963898f
XR
100142018-09-10 Xavier Roirand <roirand@adacore.com>
10015
10016 * gdb.ada/mi_var_union.exp: New testcase.
10017 * gdb.ada/mi_var_union/bar.adb: New file.
10018 * gdb.ada/mi_var_union/pck.adb: New file.
10019 * gdb.ada/mi_var_union/pck.asd: New file.
10020
1aac008f
TT
100212018-09-08 Tom Tromey <tom@tromey.com>
10022
10023 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
10024
332cf4c9
TT
100252018-09-08 Tom Tromey <tom@tromey.com>
10026
10027 PR python/16047:
10028 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
10029 (register_pretty_printers): Register new printer.
10030 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
10031 test.
10032 * gdb.python/py-prettyprint.c (int_type3): New typedef.
10033 (an_int_type3): New global.
10034
424da6cf
JB
100352018-09-08 Joel Brobecker <brobecker@adacore.com>
10036
10037 * gdb.ada/expr_with_funcall: New testcase.
10038
2a62dfa9
JB
100392018-09-08 Joel Brobecker <brobecker@adacore.com>
10040
10041 * gdb.ada/packed_array_assign: New testcase.
10042
96b6697f
AB
100432018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
10044
10045 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
10046 names, and add test prefixes to make test names unique.
10047
e4a62c65
TV
100482018-09-05 Tom de Vries <tdevries@suse.de>
10049
10050 * gdb.dwarf2/varval.exp: Add test.
10051
dd083ee2
GB
100522018-09-04 Gary Benson <gbenson@redhat.com>
10053
10054 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
10055 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
10056
aef9346c
TT
100572018-08-31 Tom Tromey <tom@tromey.com>
10058
10059 * gdb.rust/simple.rs: Rename second variable "v".
10060
c67f2e15
AB
100612018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
10062
10063 * gdb.base/funcargs.c (use_a): New function.
10064 (recurse): Call use_a.
10065
078a0207
KS
100662018-08-29 Keith Seitz <keiths@redhat.com>
10067
10068 * gdb.compile/compile-cplus-anonymous.cc: New file.
10069 * gdb.compile/compile-cplus-anonymous.exp: New file.
10070 * gdb.compile/compile-cplus-array-decay.cc: New file.
10071 * gdb.compile/compile-cplus-array-decay.exp: New file.
10072 * gdb.compile/compile-cplus-inherit.cc: New file.
10073 * gdb.compile/compile-cplus-inherit.exp: New file.
10074 * gdb.compile/compile-cplus-member.cc: New file.
10075 * gdb.compile/compile-cplus-member.exp: New file.
10076 * gdb.compile/compile-cplus-method.cc: New file.
10077 * gdb.compile/compile-cplus-method.exp: New file.
10078 * gdb.compile/compile-cplus-mod.c: "New" file.
10079 * gdb.compile/compile-cplus-namespace.cc: New file.
10080 * gdb.compile/compile-cplus-namespace.exp: New file.
10081 * gdb.compile/compile-cplus-nested.cc: New file.
10082 * gdb.compile/compile-cplus-nested.exp: New file.
10083 * gdb.compile/compile-cplus-print.c: "New" file.
10084 * gdb.compile/compile-cplus-print.exp: "New" file.
10085 * gdb.compile/compile-cplus-virtual.cc: New file.
10086 * gdb.compile/compile-cplus-virtual.exp: New file.
10087 * gdb.compile/compile-cplus.c: "New" file.
10088 * gdb.compile/compile-cplus.exp: "New" file.
10089 * lib/compile-support.exp: New file.
10090
b0f492b9
GB
100912018-08-16 Gary Benson <gbenson@redhat.com>
10092
10093 PR gdb/13000:
10094 * gdb.base/batch-exit-status.exp: New file.
10095 * gdb.base/batch-exit-status.good-commands: Likewise.
10096 * gdb.base/batch-exit-status.bad-commands: Likewise.
10097
36eb4c5f
AH
100982018-08-29 Alan Hayward <alan.hayward@arm.com>
10099
10100 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
10101 (struct struct02): Likewise.
10102 (struct struct03): Likewise.
10103 (struct struct04): Likewise.
10104 (struct struct_01_01): New struct.
10105 (struct struct_01_02): Likewise.
10106 (struct struct_01_03): Likewise.
10107 (struct struct_01_04): Likewise.
10108 (struct struct_02_01): Likewise.
10109 (struct struct_02_02): Likewise.
10110 (struct struct_02_03): Likewise.
10111 (struct struct_02_04): Likewise.
10112 (struct struct_04_01): Likewise.
10113 (struct struct_04_02): Likewise.
10114 (struct struct_04_03): Likewise.
10115 (struct struct_04_04): Likewise.
10116 (struct struct_05_01): Likewise.
10117 (struct struct_05_02): Likewise.
10118 (struct struct_05_03): Likewise.
10119 (struct struct_05_04): Likewise.
10120 (cmp_struct01): Remove function.
10121 (cmp_struct02): Likewise.
10122 (cmp_struct03): Likewise.
10123 (cmp_struct04): Likewise.
10124 (cmp_struct_01_01): Add Function.
10125 (cmp_struct_01_02): Likewise.
10126 (cmp_struct_01_03): Likewise.
10127 (cmp_struct_01_04): Likewise.
10128 (cmp_struct_02_01): Likewise.
10129 (cmp_struct_02_02): Likewise.
10130 (cmp_struct_02_03): Likewise.
10131 (cmp_struct_02_04): Likewise.
10132 (cmp_struct_04_01): Likewise.
10133 (cmp_struct_04_02): Likewise.
10134 (cmp_struct_04_03): Likewise.
10135 (cmp_struct_04_04): Likewise.
10136 (cmp_struct_05_01): Likewise.
10137 (cmp_struct_05_02): Likewise.
10138 (cmp_struct_05_03): Likewise.
10139 (cmp_struct_05_04): Likewise.
10140 (call_all): Add new structs.
10141 * gdb.base/infcall-nested-structs.exp: Likewise.
10142
3bf9c013
JV
101432018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
10144
10145 * gdb.python/py-framefilter-mi.exp: Update regexp to
10146 check for "arch" field in frame output.
10147
450d1e88
KB
101482018-08-23 Kevin Buettner <kevinb@redhat.com>
10149
10150 * gdb.dwarf2/dw2-ranges-func.c: New file.
10151 * gdb.dwarf2/dw2-ranges-func.exp: New file.
10152
ae739fe7
SM
101532018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
10154
10155 * gdb.base/term.exp: Compare terminal settings with values from
10156 the inferior.
10157 * gdb.base/term.c: Get and set terminal settings.
10158
6d52907e
JV
101592018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
10160
10161 * lib/mi-support.exp (mi_expect_stop): Update regexp to
10162 accommodate new "arch" field in frame output.
10163 * gdb.mi/mi-return.exp: Likewise.
10164 * gdb.mi/mi-stack.exp: Likewise.
10165 * gdb.mi/mi-syn-frame.exp: Likewise.
10166 * gdb.mi/user-selected-context-sync.exp: Likewise.
10167
be2d111a
MS
101682018-08-19 Michael Spang <spang@google.com>
10169
10170 PR gdb/11786
10171 * gdb.base/gcore-tls-pie.c: New file.
10172 * gdb.base/gcore-tls-pie.exp: New file.
10173
ae3a7c47
KB
101742018-08-18 Kevin Buettner <kevinb@redhat.com>
10175
10176 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
10177 * gdb.dwarf2/varval.c: New file.
10178 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 10179
2ecae92e
AH
101802018-08-17 Alan Hayward <alan.hayward@arm.com>
10181
10182 PR gdb/18931
10183 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
10184
c1854f1d
KS
101852018-08-16 Keith Seitz <keiths@redhat.com>
10186
10187 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
10188 tests expected to pass.
10189
26fb3983
JV
101902018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
10191
10192 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
10193 -data-disassemble -a.
10194 (test_disassembly_bogus_args): Likewise.
10195
67943c00
AB
101962018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
10197
10198 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
10199
5ff2bbae
AB
102002018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10201
10202 * gdb.base/vla-optimized-out.exp: Add new test.
10203
e5bbcd0f
AB
102042018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10205
10206 * gdb.base/vla-optimized-out-o3.exp: Delete.
10207 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
10208 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
10209 deleted tests.
10210
9d4a934c
AB
102112018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
10212
10213 PR gdb/18050:
10214 * gdb.server/extended-remote-restart.c: New file.
10215 * gdb.server/extended-remote-restart.exp: New file.
10216
045cf012
SM
102172018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
10218
10219 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
10220 "set variable index = 42".
10221
87d6a7aa
SM
102222018-08-07 Simon Marchi <simon.marchi@ericsson.com>
10223
10224 * boards/index-cache-gdb.exp: New file.
10225 * gdb.dwarf2/index-cache.exp: New file.
10226 * gdb.dwarf2/index-cache.c: New file.
10227 * gdb.base/maint.exp: Check if we are using the index cache.
10228
96d68bd4
RO
102292018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10230
10231 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
10232 MAKEFLAGS.
10233
5a699617
RO
102342018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10235
10236 * dg-extract-results.sh: Move to toplevel contrib.
10237 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
10238 * Makefile.in (check-parallel-racy): Likewise.
10239
5bd18990
AB
102402018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
10241
10242 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
10243 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
10244 tests if the target supports scheduler locking.
10245
3fbbcf47
TV
102462018-08-04 Tom de Vries <tdevries@suse.de>
10247
10248 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
10249
3e1d3d8c
TT
102502018-08-02 Tom Tromey <tom@tromey.com>
10251
10252 PR symtab/16842.
10253 * gdb.cp/temargs.exp: Test "info address" of a template
10254 parameter.
10255
5abe0f0c
JV
102562018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
10257
10258 * gdb.python/py-mi-var-info-path-expression.c: New file.
10259 * gdb.python/py-mi-var-info-path-expression.py: New file.
10260 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10261
fb66cde8
SDJ
102622018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10263
10264 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10265 error after "cannot resolve name" string.
10266
c708f4d2
AB
102672018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10268
10269 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10270 started.
10271 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10272
37cc0cae
TV
102732018-07-28 Tom de Vries <tdevries@suse.de>
10274
10275 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10276
63b4ecf7
TV
102772018-07-26 Tom de Vries <tdevries@suse.de>
10278
10279 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10280
3c3bb058
AB
102812018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10282
10283 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10284 is visible.
10285
9e7f3bbb
TV
102862018-07-26 Tom de Vries <tdevries@suse.de>
10287
10288 PR breakpoints/23366
10289 * gdb.base/catch-follow-exec.c: New test.
10290 * gdb.base/catch-follow-exec.exp: New file.
10291
16f808ec
TV
102922018-07-25 Tom de Vries <tdevries@suse.de>
10293
10294 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10295 vla-optimized-out.c.
10296
d7154a8d
JV
102972018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10298
10299 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10300 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10301
232a0032
TV
103022018-07-20 Tom de Vries <tdevries@suse.de>
10303
10304 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10305 NOCLONE macro.
10306 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10307
fbb1d502
TV
103082018-07-19 Tom de Vries <tdevries@suse.de>
10309
10310 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10311 regular expression.
10312
42dc7699
TV
103132018-07-18 Tom de Vries <tdevries@suse.de>
10314
10315 * gdb.base/vla-optimized-out.c: New test.
10316 * gdb.base/vla-optimized-out.exp: New file.
10317
7f1f7e23
SDJ
103182018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10319
10320 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10321 message "No address associated with hostname" when gdbserver
10322 cannot resolve the hostname.
10323
5759ebb3
PW
103242018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10325
10326 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10327 Add some test prefixes to make tests unique.
10328
3606ccab
PW
103292018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10330
10331 * gdb.base/frameapply.c: New file.
10332 * gdb.base/frameapply.exp: New file.
10333
529c08b2
PW
103342018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10335
10336 * gdb.base/skip.exp: Update expected error message.
10337
c7ab0aef
SDJ
103382018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10339 Jan Kratochvil <jan.kratochvil@redhat.com>
10340 Paul Fertser <fercerpav@gmail.com>
10341 Tsutomu Seki <sekiriki@gmail.com>
10342
10343 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10344 parameter.
10345 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10346 by default.
10347 * boards/native-gdbserver.exp: Likewise.
10348 * gdb.server/run-without-local-binary.exp: Improve regexp used
10349 for detecting when a remote debugging connection succeeds.
10350 * gdb.server/server-connect.exp: New file.
10351 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10352 Do not prefix the port number with ":".
10353 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10354 support for detecting and using it. Add '$debughost_gdbserver'
10355 to the list of arguments used to start gdbserver. Handle case
10356 when gdbserver cannot resolve a network name.
10357
16ff70dd
SDJ
103582018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10359
10360 PR c++/23373
10361 * gdb.base/ptype-offsets.cc (struct static_member): New
10362 struct.
10363 (main) <stmember>: New variable.
10364 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10365 with a static member in it.
10366
3541979f
AB
103672018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10368
10369 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10370 watchpoints enabled and disabled.
10371
c8ad9b9a
AB
103722018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10373
10374 * gdb.base/examine-backward.exp: Still run tests around address
10375 0x0, even if address 0x0 is not readable. Update the pattern for
10376 matching address 0x0 in expected output.
10377
e0e5e971
AB
103782018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10379
10380 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10381 malloc/free.
10382
1ea5da02
TV
103832018-07-04 Tom de Vries <tdevries@suse.de>
10384
10385 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10386
471b9d15
MR
103872018-07-02 Maciej W. Rozycki <macro@mips.com>
10388
10389 PR tdep/8282
10390 * gdb.arch/mips-disassembler-options.exp: New test.
10391 * gdb.arch/mips-disassembler-options.s: New test source.
10392
75acb486
PA
103932018-06-29 Pedro Alves <palves@redhat.com>
10394
10395 * gdb.threads/names.exp: Adjust expected "info threads" output.
10396
cd2bb709
PA
103972018-06-29 Pedro Alves <palves@redhat.com>
10398
10399 * gdb.opt/inline-break.exp (line number, address): Add "info
10400 break" tests.
10401
991ff292
PA
104022018-06-29 Pedro Alves <palves@redhat.com>
10403
10404 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10405 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10406 number and address and running to them.
10407
356819b6 104082018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
10409
10410 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10411
2512d7ef
JK
104122018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10413
10414 * lib/compiler.c: Remove executable permission flag.
10415
be1b6474
RB
104162018-06-28 Richard Bunt <richard.bunt@arm.com>
10417
10418 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10419 code.
10420 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10421
291f9a96
PT
104222018-06-28 Petr Tesarik <ptesarik@suse.cz>
10423
10424 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10425
ed6dfe51
PT
104262018-06-28 Petr Tesarik <ptesarik@suse.cz>
10427
10428 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10429 address argument is omitted.
10430
d4d429d5
PT
104312018-06-28 Petr Tesarik <ptesarik@suse.cz>
10432
10433 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10434
7ab6656f
OJ
104352018-06-27 Omair Javaid <omair.javaid@linaro.org>
10436
10437 PR gdb/21695
10438 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10439 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10440
a33ccfc7
TT
104412018-06-26 Tom Tromey <tom@tromey.com>
10442
10443 PR rust/22574:
10444 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10445 * gdb.rust/simple.rs (struct SimpleLayout): New.
10446
6d72d289
SM
104472018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10448
10449 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10450 "info registers" output.
10451
8363f9d5
RB
104522018-06-21 Richard Bunt <richard.bunt@arm.com>
10453
10454 * gdb.base/watchpoint-hw-attach.c: New test.
10455 * gdb.base/watchpoint-hw-attach.exp: New file.
10456
f00674fe
SM
104572018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10458
10459 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10460 through /bin/sh.
10461 * boards/dwarf4-gdb-index.exp: Likewise.
10462 * boards/fission-dwp.exp: Likewise.
10463
1d554008
UW
104642018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10465
10466 * gdb.base/float128.exp: Add comment and improved fail message
10467 to the failure case of "print large128" test.
10468
d0ac1c44
SM
104692018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10470
10471 * configure.ac: Remove AC_PREREQ.
10472 * configure: Re-generate.
10473
61b04dd0
PA
104742018-06-19 Pedro Alves <palves@redhat.com>
10475
10476 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10477 (func_extern_caller): New.
10478 (main): Call func_extern_caller.
10479 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10480 logic change.
10481
f63b508a
SM
104822018-06-18 Weimin Pan <weimin.pan@oracle.com>
10483
10484 PR gdb/16841
10485 * gdb.cp/typedef-base.cc: New file.
10486 * gdb.cp/typedef-base.exp: New file.
10487
0fe3a558
TV
104882018-06-18 Tom de Vries <tdevries@suse.de>
10489
10490 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10491
7010835a
AB
104922018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10493 Richard Bunt <Richard.Bunt@arm.com>
10494
10495 * gdb.threads/attach-slow-waitpid.c: New file.
10496 * gdb.threads/attach-slow-waitpid.exp: New file.
10497 * gdb.threads/slow-waitpid.c: New file.
10498
14897d65
PA
104992018-06-14 Pedro Alves <palves@redhat.com>
10500
10501 * gdb.base/fork-running-state.c: Include <errno.h>.
10502 (exit_if_relative_exits): New.
10503 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10504 exits.
10505 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10506 child exits.
10507
5d9a0608
TV
105082018-06-14 Tom de Vries <tdevries@suse.de>
10509
10510 PR cli/22573
10511 * gdb.base/finish-pretty.c: New test.
10512 * gdb.base/finish-pretty.exp: New file.
10513
11ae5818
PA
105142018-06-14 Pedro Alves <palves@redhat.com>
10515
10516 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10517 gdb's expected startup output.
10518
1d39de44
PA
105192018-06-14 Pedro Alves <palves@redhat.com>
10520
10521 * lib/selftest-support.exp (selftest_setup): Remove inlined
10522 function handling.
10523
70ee0000
TV
105242018-06-14 Tom de Vries <tdevries@suse.de>
10525
10526 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10527 matching of breakpoint printing.
10528
11f4b608
TV
105292018-06-13 Tom de Vries <tdevries@suse.de>
10530
10531 PR testsuite/23269
10532 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10533 (fork_child): ... here, and ...
10534 (fork_parent): ... here.
10535
105362018-06-12 Tom de Vries <tdevries@suse.de>
10537
10538 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10539
9516f85a
AB
105402018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10541 Stephen Roberts <stephen.roberts@arm.com>
10542
10543 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10544 rewrite test to describe action performed, rather than possible
10545 failure.
10546
5045b3d7
GB
105472018-06-08 Gary Benson <gbenson@redhat.com>
10548
10549 * gdb.threads/check-libthread-db.exp: New file.
10550 * gdb.threads/check-libthread-db.c: Likewise.
10551
c61b06a1
TT
105522018-06-05 Tom Tromey <tom@tromey.com>
10553
10554 * gdb.base/default.exp: Update expected "show version" output.
10555
eb6af809
TT
105562018-06-05 Tom Tromey <tom@tromey.com>
10557
10558 PR cli/12326:
10559 * gdb.cp/static-print-quit.exp: Update.
10560 * lib/gdb.exp (pagination_prompt): Update.
10561 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10562 * gdb.python/python.exp: Update.
10563
178d6a63
JB
105642018-06-04 Joel Brobecker <brobecker@adacore.com>
10565
10566 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10567
8e817061
JB
105682018-06-01 Joel Brobecker <brobecker@adacore.com>
10569
10570 * gdb.ada/bp_fun_addr: New testcase.
10571
e86ca25f
TT
105722018-06-01 Tom Tromey <tom@tromey.com>
10573
10574 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10575 results.
10576 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10577 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10578 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10579 * gdb.base/maint.exp (maint_pass_if): Update.
10580
4b2dfa9d
MR
105812018-05-31 Maciej W. Rozycki <macro@mips.com>
10582
10583 * gdb.base/endian.exp: New test.
10584 * gdb.base/endian.c: New test source.
10585
45f25d6c
AB
105862018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10587
10588 PR gdb/23203
10589 * gdb.base/bt-selected-frame.c: New file.
10590 * gdb.base/bt-selected-frame.exp: New file.
10591 * lib/gdb.exp (get_current_frame_number): New function.
10592
d9f6d7f8
MR
105932018-05-24 Maciej W. Rozycki <macro@mips.com>
10594 Pedro Alves <palves@redhat.com>
10595
10596 * gdb.threads/tls-core.c: Include <stdlib.h>
10597 (thread_proc): Call `abort'.
10598 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10599 (tls_core_test): New procedure, bits factored out from ...
10600 (top level): ... here. Test both native cores and gcore cores.
10601
ff1cf532
TT
106022018-05-23 Tom Tromey <tom@tromey.com>
10603
10604 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10605
b98664d3
TT
106062018-05-23 Tom Tromey <tom@tromey.com>
10607
10608 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10609 symfile_complaints.
10610 (test_short_complaints): Likewise.
10611 (test_empty_complaints): Likewise.
10612 (test_initial_complaints): Update.
10613
4e9668d0
TT
106142018-05-23 Tom Tromey <tom@tromey.com>
10615
10616 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10617
43ba33c7
TT
106182018-05-23 Tom Tromey <tom@tromey.com>
10619
10620 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10621 (test_short_complaints): Update.
10622
035522c0
PA
106232018-05-22 Pedro Alves <palves@redhat.com>
10624
10625 * gdb.base/remote.exp: Only gdb_start after compiling the
10626 testcase. Issue "disconnect" before testing "set remote" command
10627 defaults. Issue clean_restart before running to main.
10628
cc0be08f
PA
106292018-05-22 Pedro Alves <palves@redhat.com>
10630
10631 * gdb.base/remote.exp: Adjust expected output of "show remote
10632 memory-write-packet-size". Add tests for "set remote
10633 memory-write-packet-size 0" and "set remote
10634 memory-write-packet-size fixed/limit".
10635
b1b60145
PA
106362018-05-22 Pedro Alves <palves@redhat.com>
10637
10638 PR gdb/22973
10639 * gdb.base/utf8-identifiers.c: New file.
10640 * gdb.base/utf8-identifiers.exp: New file.
10641
0ec848ad
PFC
106422018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10643
10644 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10645
2c3305f6
PFC
106462018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10647
10648 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10649
ce1e8424
TT
106502018-05-18 Tom Tromey <tom@tromey.com>
10651
10652 * gdb.base/ptype-offsets.exp: Update.
10653
ddfe970e
KS
106542018-05-17 Keith Seitz <keiths@redhat.com>
10655
10656 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10657 in expected breakpoint stop locations.
10658 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10659 move to proper scope to test variable values.
10660 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10661 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10662 New functions.
10663 (main): Call not_inline_func3.
10664 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10665 inline_func1, inline_func2, and inline_func3. Test that when each
10666 breakpoint is hit, GDB properly reports both the stop location
10667 and the backtrace. Repeat tests for temporary breakpoints.
10668
0726fcc6
MR
106692018-05-15 Maciej W. Rozycki <macro@mips.com>
10670
10671 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10672 rather then trying to access it in determining whether the PID
10673 of `gdbserver' could have been retrieved.
10674
8ee22052
AB
106752018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10676
10677 * gdb.arch/amd64-init-x87-values.S: New file.
10678 * gdb.arch/amd64-init-x87-values.exp: New file.
10679
7785df48
JK
106802018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10681
10682 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10683
56bcdbea
TT
106842018-05-04 Tom Tromey <tom@tromey.com>
10685
10686 PR python/22730:
10687 * gdb.python/python.exp: Test multi-line execute.
10688
a913fffb
TT
106892018-05-04 Tom Tromey <tom@tromey.com>
10690
10691 PR python/22731:
10692 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10693
7a2c85f2
TT
106942018-05-04 Tom Tromey <tom@tromey.com>
10695
10696 PR gdb/11750:
10697 * gdb.base/define.exp: Test defining a user command inside a user
10698 command.
10699 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10700
a3b60e45
JK
107012018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10702 Pedro Alves <palves@redhat.com>
10703
10704 PR breakpoints/19806 and support for PR external/20207.
10705 * gdb.base/watchpoint-unaligned.c: New file.
10706 * gdb.base/watchpoint-unaligned.exp: New file.
10707
45fe4a03
AB
107082018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10709
10710 * gdb.base/maint.exp: Make test names unique, use
10711 test_prefix_command_help to test 'help maint info', and remove
10712 repeated test of 'help maint'.
10713
9be2ae8f
TT
107142018-05-04 Tom Tromey <tom@tromey.com>
10715
10716 PR gdb/22619:
10717 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10718 behavior.
10719
11859c31
AB
107202018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10721
10722 * gdb.base/maint.exp: Process output from 'maint print registers'
10723 line at a time.
10724
089a9490
AB
107252018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10726
10727 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10728 timeout.
10729
9b0797e2
AB
107302018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10731
10732 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10733 filter pattern.
10734
f6ac5f3d
PA
107352018-05-02 Pedro Alves <palves@redhat.com>
10736
10737 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10738 to_log_command renames.
10739 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10740
77d3c63b
TT
107412018-05-02 Tom Tromey <tom@tromey.com>
10742
10743 * gdb.python/py-parameter.exp: Set test message.
10744
0489430a
TT
107452018-05-02 Tom Tromey <tom@tromey.com>
10746
10747 PR python/20084:
10748 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10749 PARAM_ZUINTEGER_UNLIMITED tests.
10750
1632f8ba
DR
107512018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10752
10753 PR rust/23124
10754 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10755 when casting.
10756
6d7bb824
TT
107572018-04-30 Tom Tromey <tom@tromey.com>
10758
10759 * gdb.python/py-type.exp: Check align attribute.
10760 * gdb.python/py-type.c: New "aligncheck" global.
10761
007e1530
TT
107622018-04-30 Tom Tromey <tom@tromey.com>
10763
10764 PR exp/17095:
10765 * gdb.dwarf2/dw2-align.exp: New file.
10766 * gdb.cp/align.exp: New file.
10767 * gdb.base/align.exp: New file.
10768 * lib/gdb.exp (gdb_int128_helper): New proc.
10769 (has_int128_c, has_int128_cxx): New caching procs.
10770
6873858b
TT
107712018-04-27 Tom Tromey <tom@tromey.com>
10772
10773 PR rust/22545:
10774 * gdb.rust/simple.exp: Add inclusive range tests.
10775
79188d8d
PA
107762018-04-26 Pedro Alves <palves@redhat.com>
10777
10778 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10779 ifunc breakpoint locations correctly of ifunc breakpoints set
10780 while the program resolves the ifunc.
10781
c7075ad5
PA
107822018-04-26 Pedro Alves <palves@redhat.com>
10783
10784 * gdb.base/gnu-ifunc-final.c: New file.
10785 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10786 * gdb.base/gnu-ifunc.exp (executable): Delete.
10787 (staticexecutable): Adjust.
10788 (lib_opts, exec_opts): Delete.
10789 (make_binsuffix, build, set-break): New procedures.
10790 (misc_tests): New, with tests factored out from the top level.
10791 (top level): Test different combinations of ifunc resolver name,
10792 resolver with and with debug info, and ifunc target with and
10793 without debug info. Wrap static tests with with_target_prefix.
10794
8388016d
PA
107952018-04-26 Pedro Alves <palves@redhat.com>
10796
10797 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10798 return type" warnings.
10799
249b5733
PA
108002018-04-25 Pedro Alves <palves@redhat.com>
10801
10802 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10803 killed".
10804 * gdb.base/kill-after-signal.exp: Likewise.
10805 * gdb.threads/kill.exp: Likewise.
10806
f67c0c91
SDJ
108072018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10808 Sergio Durigan Junior <sergiodj@redhat.com>
10809 Pedro Alves <palves@redhat.com>
10810
10811 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10812 regexps to expect for '[Inferior ... detached]' as well.
10813 * gdb.base/attach.exp: Likewise.
10814 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10815 "gdb_continue_to_end".
10816 (test_catch_syscall_with_wrong_args): Likewise.
10817 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10818 ']'. Don't set 'verbose' on.
10819 * gdb.base/foll-vfork.exp: Likewise.
10820 * gdb.base/fork-print-inferior-events.c: New file.
10821 * gdb.base/fork-print-inferior-events.exp: New file.
10822 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10823 '[Inferior ... has been killed]' message.
10824 * gdb.base/kill-after-signal.exp: Likewise.
10825 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10826 detach message.
10827 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10828 message.
10829 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10830 regexps to expect for '[Inferior ... detached]' as well.
10831 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10832
0a8ddac4
SM
108332018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10834
10835 PR gdb/23104
10836 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10837
701adfb0
PA
108382018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10839
10840 PR gdb/23095
10841 * gdb.base/break-probes.exp: Pass shlib_load to
10842 prepare_for_testing. Set normal_bp to r_debug_state if target is
10843 bsd.
10844
d27d16bf
RB
108452018-04-19 Richard Bunt <richard.bunt@arm.com>
10846
10847 * gdb.threads/multiple-successive-infcall.c: New test.
10848 * gdb.threads/multiple-successive-infcall.exp: New file.
10849
a037790e
TT
108502018-04-17 Tom Tromey <tom@tromey.com>
10851
10852 * gdb.rust/simple.rs (Union): New type.
10853 (main): New local "u".
10854 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10855
e3a91079
AA
108562018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10857
10858 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10859 number information in output of "whereis" command.
10860 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10861
b744723f
AA
108622018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10863
10864 * gdb.ada/info_types.exp: Adjust expected output to the line
10865 numbers now printed by "info var/func/type".
10866 * gdb.base/completion.exp: Likewise.
10867 * gdb.base/included.exp: Likewise.
10868 * gdb.cp/cp-relocate.exp: Likewise.
10869 * gdb.cp/cplusfuncs.exp: Likewise.
10870 * gdb.cp/namespace.exp: Likewise.
10871 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10872
4a4495d6
MM
108732018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10874
10875 * gdb.btrace/cpu.exp: New.
10876
1d509aa6
MM
108772018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10878
10879 * gdb.base/step-indirect-call-thunk.exp: New.
10880 * gdb.base/step-indirect-call-thunk.c: New.
10881 * gdb.reverse/step-indirect-call-thunk.exp: New.
10882 * gdb.reverse/step-indirect-call-thunk.c: New.
10883
6295b6da
SM
108842018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10885
10886 * gdb.base/pie-fork.c: New file.
10887 * gdb.base/pie-fork.exp: New file.
10888
50146e70
TT
108892018-04-11 Tom Tromey <tom@tromey.com>
10890
10891 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10892
f50d8a2e
PA
108932018-04-10 Pedro Alves <palves@redhat.com>
10894
10895 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10896 exits. Instead loop running forever.
10897 (fork_parent): Run forever too.
10898
a0be7a36
SM
108992018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10900
10901 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10902 mi_continue_to_line.
10903 * gdb.mi/mi-stack.c (callee4): Add comment.
10904
9b73db36
SM
109052018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10906
10907 * gdb.mi/mi-stack.exp: Fix indentation.
10908
c912f608
SM
109092018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10910
10911 PR gdb/22979
10912 * gdb.arch/amd64-osabi.exp: New file.
10913
26540402
SM
109142018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10915
10916 PR gdb/22980
10917 * gdb.base/osabi.exp: New file.
10918
121ad66c 109192018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10920
10921 * gdb.cp/static-typedef-print.exp: New file.
10922 * gdb.cp/static-typedef-print.cc: New file.
10923
3fcded8f
JB
109242018-03-27 Joel Brobecker <brobecker@adacore.com>
10925
10926 * gdb.ada/varsize_limit: New testcase.
10927
59cc4834
JB
109282018-03-27 Joel Brobecker <brobecker@adacore.com>
10929
10930 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10931
10932 * gdb.ada/notcplusplus: New testcase.
10933
10934 * gdb.base/c-linkage-name.c: New file.
10935 * gdb.base/c-linkage-name.exp: New testcase.
10936
4ca59a9f
TT
109372018-03-26 Tom Tromey <tom@tromey.com>
10938
10939 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10940 * gdb.python/py-framefilter.py (name_error): New global.
10941 (ErrorInName.function): Use name_error.
10942
978d6c75
TT
109432018-03-26 Tom Tromey <tom@tromey.com>
10944
10945 PR backtrace/15582:
10946 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10947
b7fee5a3
KS
109482018-03-23 Keith Seitz <keiths@redhat.com>
10949
10950 PR c++/22968
10951 * gdb.cp/subtypes.exp: New file.
10952 * gdb.cp/subtypes.h: New file.
10953 * gdb.cp/subtypes.cc: New file.
10954 * gdb.cp/subtypes-2.cc: New file.
10955
376be529
AB
109562018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10957
10958 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10959 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10960 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10961 -nostartfiles when compiling the test. Confirm that all registers
10962 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10963
066cfa98
AB
109642018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10965
10966 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10967 option, syntax was wrong anyway.
10968 * gdb.arch/arm-disp-step.exp: Likewise.
10969 * gdb.arch/sparc64-regs.exp: Likewise.
10970 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10971 option, syntax was wrong anyway, switch to use
10972 prepare_for_testing.
10973 * gdb.arch/i386-disp-step.exp: Likewise.
10974
079670b9
AA
109752018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10976
10977 * gdb.ada/exec_changed.exp: Replace "target_info exists
10978 use_gdb_stub" by "use_gdb_stub".
10979 * gdb.ada/start.exp: Likewise.
10980 * gdb.base/async-shell.exp: Likewise.
10981 * gdb.base/attach-pie-misread.exp: Likewise.
10982 * gdb.base/attach-wait-input.exp: Likewise.
10983 * gdb.base/break-entry.exp: Likewise.
10984 * gdb.base/break-interp.exp: Likewise.
10985 * gdb.base/dprintf-detach.exp: Likewise.
10986 * gdb.base/nostdlib.exp: Likewise.
10987 * gdb.base/solib-nodir.exp: Likewise.
10988 * gdb.base/statistics.exp: Likewise.
10989 * gdb.base/testenv.exp: Likewise.
10990 * gdb.mi/mi-exec-run.exp: Likewise.
10991 * gdb.mi/mi-start.exp: Likewise.
10992 * gdb.multi/dummy-frame-restore.exp: Likewise.
10993 * gdb.multi/multi-arch-exec.exp: Likewise.
10994 * gdb.multi/multi-arch.exp: Likewise.
10995 * gdb.multi/tids.exp: Likewise.
10996 * gdb.multi/watchpoint-multi.exp: Likewise.
10997 * gdb.python/py-events.exp: Likewise.
10998 * gdb.threads/attach-into-signal.exp: Likewise.
10999 * gdb.threads/attach-stopped.exp: Likewise.
11000 * gdb.threads/threadapply.exp: Likewise.
11001 * lib/selftest-support.exp: Likewise.
11002
26d6cec4
AA
110032018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
11004
11005 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
11006
4ee89e90
SR
110072018-03-20 Stephen Roberts <stephen.roberts@arm.com>
11008
11009 * gdb.perf/template-breakpoints.cc: New file.
11010 * gdb.perf/template-breakpoints.exp: New file.
11011 * gdb.perf/template-breakpoints.py: New file.
11012
92630041
TT
110132018-03-19 Tom Tromey <tom@tromey.com>
11014
11015 * gdb.rust/simple.rs (main): Add local variables field1, field2,
11016 y0.
11017 * gdb.rust/simple.exp: Test bare identifier form of struct
11018 initializer.
11019
76727919
TT
110202018-03-19 Tom Tromey <tom@tromey.com>
11021
11022 * gdb.gdb/observer.exp: Remove.
11023
194ed413
AA
110242018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11025
11026 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
11027 "qualified" option when setting breakpoints.
11028 * gdb.trace/backtrace.exp: Likewise.
11029 * gdb.trace/circ.exp: Likewise.
11030 * gdb.trace/collection.exp: Likewise.
11031 * gdb.trace/disconnected-tracing.exp: Likewise.
11032 * gdb.trace/ftrace-lock.exp: Likewise.
11033 * gdb.trace/ftrace.exp: Likewise.
11034 * gdb.trace/infotrace.exp: Likewise.
11035 * gdb.trace/packetlen.exp: Likewise.
11036 * gdb.trace/passc-dyn.exp: Likewise.
11037 * gdb.trace/qtro.exp: Likewise.
11038 * gdb.trace/read-memory.exp: Likewise.
11039 * gdb.trace/report.exp: Likewise.
11040 * gdb.trace/signal.exp: Likewise.
11041 * gdb.trace/status-stop.exp: Likewise.
11042 * gdb.trace/strace.exp: Likewise.
11043 * gdb.trace/tfind.exp: Likewise.
11044 * gdb.trace/trace-break.exp: Likewise.
11045 * gdb.trace/trace-condition.exp: Likewise.
11046 * gdb.trace/trace-mt.exp: Likewise.
11047 * gdb.trace/tstatus.exp: Likewise.
11048 * gdb.trace/tsv.exp: Likewise.
11049 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11050 * gdb.trace/unavailable.exp: Likewise.
11051 * gdb.trace/while-dyn.exp: Likewise.
11052
8b067d2c
AA
110532018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11054
11055 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
11056 that libinproctrace is copied to the target.
11057
3ae9ce5d
TT
110582018-03-14 Tom Tromey <tom@tromey.com>
11059
11060 PR cli/14977:
11061 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
11062 a null pointer.
11063 * gdb.base/wchar.exp: Likewise.
11064
b8c2339b
TT
110652018-03-14 Tom Tromey <tom@tromey.com>
11066
11067 PR cli/19918:
11068 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
11069 flag.
11070
4872dc46
SM
110712018-03-08 Simon Marchi <simon.marchi@ericsson.com>
11072
11073 PR gdb/22841
11074 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
11075 "target" to remote_exec.
11076
e4fe3756
SM
110772018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
11078
11079 PR gdb/22841
11080 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
11081 ${board}_upload): Remove.
11082
e95a97d4
AA
110832018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
11084
11085 * gdb.cp/watch-cp.cc: New test.
11086 * gdb.cp/watch-cp.exp: New file.
11087
dbbb1059
AB
110882018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
11089
11090 * gdb.base/infcall-nested-structs.exp: New file.
11091 * gdb.base/infcall-nested-structs.c: New file.
11092 * gdb.base/float.exp: Add riscv support.
11093
ecc054c0
TP
110942018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
11095
11096 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
11097 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
11098
25e3c82c
SDJ
110992018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
11100
11101 * gdb.server/abspath.exp: New file.
11102 * lib/gdb.exp (with_cwd): New procedure.
11103
3083294d
SM
111042018-02-28 Simon Marchi <simon.marchi@ericsson.com>
11105
11106 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
11107 use it.
11108 (gdb_is_target_remote_prompt): New proc.
11109 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
11110 (gdb_is_target_native): Pass prompt parameter to
11111 gdb_is_target_1.
11112
3275ef47
SM
111132018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
11114
11115 * gdb.base/load-command.c: New file.
11116 * gdb.base/load-command.exp: New file.
11117 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
11118 (gdb_is_target_1): ...this, and generalize for other targets
11119 than just remote.
11120 (gdb_is_target_remote): Use gdb_is_target_1.
11121 (gdb_is_target_native): use gdb_is_target_1.
11122
6893c19a
TT
111232018-02-26 Tom Tromey <tom@tromey.com>
11124
11125 PR python/16497:
11126 * gdb.python/py-framefilter.exp: Update test.
11127
2ddeaf8a
TT
111282018-02-26 Tom Tromey <tom@tromey.com>
11129
11130 * gdb.dwarf2/variant.c: New file.
11131 * gdb.dwarf2/variant.exp: New file.
11132
c9317f21
TT
111332018-02-26 Tom Tromey <tom@tromey.com>
11134
11135 * gdb.rust/simple.exp: Accept more possible results in enum test.
11136
6f6d0c26
SM
111372018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
11138
11139 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
11140 parentheses.
11141
11b03145
MR
111422018-02-23 Maciej W. Rozycki <macro@mips.com>
11143
11144 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
11145 name of a variable: $actual_linejj -> $actual_line.
11146
54a27fe5
JB
111472018-02-21 John Baldwin <jhb@FreeBSD.org>
11148
11149 * gdb.arch/amd64-i386-address.exp: Fix a typo.
11150
de65820c
MM
111512018-02-20 Markus Metzger <markus.t.metzger@intel.com>
11152
11153 * gdb.btrace/buffer-size.exp: Do not force BTS.
11154
980548fd
PA
111552018-02-14 Pedro Alves <palves@redhat.com>
11156
11157 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
11158 getting a "Quit".
11159
c4e12631
MM
111602018-02-09 Markus Metzger <markus.t.metzger@intel.com>
11161
11162 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
11163 Fix test name.
11164
c2e0e465
SM
111652018-02-07 Simon Marchi <simon.marchi@ericsson.com>
11166
11167 * gdb.cp/m-static.exp: Check type of optimized out static
11168 member.
11169
f7216783
AB
111702018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
11171
11172 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
11173 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
11174
0625771b
LS
111752018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
11176 Leszek Swirski <leszeks@google.com>
11177
11178 * gdb.python/py-prettyprint.c
11179 (struct to_string_returns_value_inner,
11180 struct to_string_returns_value_wrapper): New.
11181 (main): Add tsrvw variable.
11182 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
11183 ToStringReturnsValueWrapper): New classes.
11184 (register_pretty_printers): Register new pretty-printers.
11185 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
11186 recursive pretty printer.
11187 * gdb.python/py-mi.exp: Likewise.
11188
59498c30
LS
111892018-02-01 Leszek Swirski <leszeks@google.com>
11190
11191 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
11192 functions with the same name as an include file are parsed
11193 correctly.
11194
d4d38844
YQ
111952018-02-01 Yao Qi <yao.qi@linaro.org>
11196
11197 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
11198 "\[^\r\n\]*".
11199
07e5f5cf
NP
112002018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
11201
11202 * gdb.arch/powerpc-prologue-frame.s: New file.
11203 * gdb.arch/powerpc-prologue-frame.c: Likewise.
11204 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
11205
929b5ad4
JB
112062018-01-31 Joel Brobecker <brobecker@adacore.com>
11207
11208 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
11209
e671cd59
PA
112102018-01-30 Pedro Alves <palves@redhat.com>
11211
11212 PR gdb/13211
11213 * gdb.base/interrupt-daemon.c: New.
11214 * gdb.base/interrupt-daemon.exp: New.
11215 * gdb.multi/multi-term-settings.c: New.
11216 * gdb.multi/multi-term-settings.exp: New.
11217
fc413dc4
JB
112182018-01-30 Joel Brobecker <brobecker@adacore.com>
11219
11220 * gdb.base/break.exp: Save the location where the breakpoint
11221 on break.c:47 was actually inserted when debugging the version
11222 compiled at -O2 and use it in the expected output of the "info
11223 break" test performed soon after.
11224
5c319bb2
PA
112252018-01-22 Pedro Alves <palves@redhat.com>
11226 Sergio Durigan Junior <sergiodj@redhat.com>
11227
11228 * gdb.base/whatis.exp: Add tests for 'set print object on' +
11229 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
11230
a9e40818
JB
112312018-01-22 Joel Brobecker <brobecker@adacore.com>
11232
11233 * gdb.base/break-include.c, gdb.base/break-include.inc,
11234 gdb.base/break-include.exp: New files.
11235 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
11236 line number now being the actual line number where the breakpoint
11237 was inserted.
11238 * gdb.mi/mi-break.exp: Likewise.
11239 * gdb.mi/mi-reverse.exp: Likewise.
11240 * gdb.mi/mi-simplerun.exp: Ditto.
11241
e707fc44
AB
112422018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11243
11244 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
11245 varobj.
11246 * gdb.mi/mi-var-create-rtti.exp: Likewise.
11247
ae451627
AB
112482018-01-21 Don Breazeal <donb@codesourcery.com>
11249 Andrew Burgess <andrew.burgess@embecosm.com>
11250
11251 * gdb.mi/basics.c: Add new global.
11252 * gdb.mi/mi-frame-regs.exp: New file.
11253 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
11254 case.
11255
b1b189e0
AB
112562018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11257
11258 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11259 non-parameter, and on an unknown symbol.
11260
fcfcc376
TT
112612018-01-19 Tom Tromey <tom@tromey.com>
11262
11263 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11264 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11265
634c1c31
AA
112662018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11267
11268 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11269 setrlimit and chdir to int.
11270
d6ad07fd
AA
112712018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11272
11273 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11274 function.
11275 (my_tend): Likewise.
11276 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11277 rationale of avoiding FP- and vector instructions.
11278
adf8243b
RK
112792018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11280
11281 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11282 "info reg" with "\[ \t\]*".
11283 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11284 "\[ \t\]+".
11285 * gdb.arch/s390-multiarch.exp: Ditto.
11286 * gdb.base/pc-fp.exp: Ditto.
11287 * gdb.reverse/i386-precsave.exp: Ditto.
11288 * gdb.reverse/i386-reverse.exp: Ditto.
11289 * gdb.reverse/i387-env-reverse.exp: Ditto.
11290 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11291
dcc06925
AA
112922018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11293
11294 * lib/gdb.exp (gdb_compile): Re-enable use of
11295 universal_compile_options for languages other than Rust.
11296
25d4fd80
AA
112972018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11298
11299 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11300
ee7f689e 113012018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
11302
11303 PR gdb/16577
11304 * gdb.base/solib-vanish.exp: New.
11305 * gdb.base/solib-vanish-main.c: New.
11306 * gdb.base/solib-vanish-lib1.c: New.
11307 * gdb.base/solib-vanish-lib2.c: New.
11308
d8447b6b
YQ
113092018-01-17 Yao Qi <yao.qi@linaro.org>
11310
11311 * gdb.compile/compile.exp: Match the address printed for
11312 frame in the output of command "bt".
11313
86d6a90c
TT
113142018-01-15 Tom Tromey <tom@tromey.com>
11315
11316 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11317 compute sp_reg.
11318
cbcdb1aa
AB
113192018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11320
11321 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11322 to prepare.
11323 (prepare): Return 0 on error, 1 on success.
11324
eea61984
PA
113252018-01-12 Pedro Alves <palves@redhat.com>
11326
11327 * gdb.base/continue-after-aborted-step-over.c: New.
11328 * gdb.base/continue-after-aborted-step-over.exp: New.
11329
6181e9c2
SM
113302018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11331
11332 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11333 options when not creating an executable.
11334
3cada740
PA
113352018-01-11 Pedro Alves <palves@redhat.com>
11336
11337 PR remote/22597
11338 * gdb.server/stop-reply-no-thread.c: New file.
11339 * gdb.server/stop-reply-no-thread.exp: New file.
11340
c63d3e8d
PA
113412018-01-10 Pedro Alves <palves@redhat.com>
11342
11343 PR gdb/22670
11344 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11345 functions too. Test setting breakpoints and printing C functions
11346 with no debug info too.
11347 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11348
d4c2a405
PA
113492018-01-10 Pedro Alves <palves@redhat.com>
11350
11351 PR gdb/22670
11352 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11353 a fail.
11354
8825213e
PA
113552018-01-10 Pedro Alves <palves@redhat.com>
11356
11357 PR gdb/22670
11358 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11359
605fd3c6
YQ
113602018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11361
11362 * gdb.server/unittest.exp: Match the output in non-development
11363 mode.
11364
1e5ded6c
YQ
113652018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11366
11367 * gdb.gdb/unittest.exp: Match output in non-development mode.
11368
30066b0b
JB
113692018-01-08 Joel Brobecker <brobecker@adacore.com>
11370
11371 * gdb.ada/access_tagged_param.exp: Relax expected output
11372 for value of "ObjL" in "continue" to pck.inspect breakpoint
11373 test.
11374
04bafb1e
XR
113752018-01-08 Joel Brobecker <brobecker@adacore.com>
11376
9f86398b
JB
11377 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11378 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 11379
e379cee6
PA
113802018-01-05 Pedro Alves <palves@redhat.com>
11381
11382 PR gdb/18653
11383 * gdb.base/libsegfault.exp: New.
11384
de63c46b
PA
113852018-01-05 Joel Brobecker <brobecker@adacore.com>
11386
11387 PR gdb/22670
11388 * gdb.ada/access_tagged_param.exp: New file.
11389 * gdb.ada/access_tagged_param/foo.adb: New file.
11390
f98fc17b
PA
113912018-01-05 Pedro Alves <palves@redhat.com>
11392
11393 PR gdb/22670
11394 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11395 exercise lower case too, and to exercise both full matching and
11396 wild matching.
11397
342f8240
JB
113982018-01-05 Joel Brobecker <brobecker@adacore.com>
11399
11400 * gdb.ada/rename_subscript_param: New testcase.
11401
7150d33c
JG
114022018-01-05 Jerome Guitton <guitton@adacore.com>
11403
11404 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11405
cc0e770c
JB
114062018-01-05 Joel Brobecker <brobecker@adacore.com>
11407
11408 * gdb.ada/convvar_comp: New testcase.
11409
672a41aa 114102018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
11411
11412 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11413 (My_Table): New global variable.
11414 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11415
7365ec2f
JB
114162018-01-04 Joel Brobecker <brobecker@adacore.com>
11417
11418 PR gdb/22670
11419 * gdb.ada/maint_with_ada: New testcase.
11420
289483b6
JB
114212018-01-04 Joel Brobecker <brobecker@adacore.com>
11422
11423 PR gdb/22670
11424 * gdb.ada/bp_c_mixed_case: New testcase.
11425
344420da
JB
114262018-01-04 Joel Brobecker <brobecker@adacore.com>
11427
11428 PR gdb/22670
11429 * gdb.ada/complete.exp: Add "complete break ada" test.
11430
66fc87a0
JB
114312018-01-04 Joel Brobecker <brobecker@adacore.com>
11432
11433 PR gdb/22670
11434 * gdb.ada/info_addr_mixed_case: New testcase.
11435
9f757bf7
XR
114362018-01-03 Xavier Roirand <roirand@adacore.com>
11437
11438 * gdb.ada/excep_handle.exp: New testcase.
11439 * gdb.ada/excep_handle/foo.adb: New file.
11440 * gdb.ada/excep_handle/pck.ads: New file.
11441
bd570f80
JB
114422018-01-03 Joel Brobecker <brobecker@adacore.com>
11443
11444 * gdb.base/step-line.c: Add extra empty line in copyright header.
11445 * gdb.base/step-line.inp: Likewise.
11446
9fe561ab
JB
114472018-01-02 Joel Brobecker <brobecker@adacore.com>
11448
11449 * gdb.ada/dyn_stride.exp: Add slice test.
11450
a405673c
JB
114512018-01-02 Joel Brobecker <brobecker@adacore.com>
11452
11453 * gdb.ada/dyn_stride: New testcase.
11454
cef0f868
SH
114552017-12-27 Stafford Horne <shorne@gmail.com>
11456
11457 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11458 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11459
b67d92b0
SH
114602017-12-27 Stafford Horne <shorne@gmail.com>
11461
11462 * gdb.base/reggroups.c: New file.
11463 * gdb.base/reggroups.exp: New file.
11464
eccab96d
JB
114652017-12-18 Joel Brobecker <brobecker@adacore.com>
11466
11467 * gdb.dwarf2/ada-valprint-error.c: New file.
11468 * gdb.dwarf2/ada-valprint-error.exp: New file.
11469
0e2da9f0
JB
114702017-12-18 Joel Brobecker <brobecker@adacore.com>
11471
11472 * gdb.ada/assign_arr: New testcase.
11473
cb923fcc
XR
114742017-12-18 Xavier Roirand <roirand@adacore.com>
11475
11476 * gdb.ada/funcall_ptr: New testcase.
11477
7c161838
SDJ
114782017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11479
11480 PR cli/16224
11481 * gdb.base/ptype-offsets.cc: New file.
11482 * gdb.base/ptype-offsets.exp: New file.
11483
1af17fd9
YQ
114842017-12-15 Yao Qi <yao.qi@linaro.org>
11485
11486 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11487 if XML is disabled.
11488
828d5846
XR
114892017-12-15 Xavier Roirand <roirand@adacore.com>
11490
11491 * gdb.ada/same_component_name: New testcase.
11492
79e8fcaa
JB
114932017-12-14 Joel Brobecker <brobecker@adacore.com>
11494
11495 * gdb.ada/str_binop_equal: New testcase.
11496
e05fa6f9
JB
114972017-12-14 Joel Brobecker <brobecker@adacore.com>
11498
11499 * gdb.ada/task_switch_in_core: New testcase.
11500
b89641ba
SM
115012017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11502
11503 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11504 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11505 call test_bkpt_qualified.
11506 (test_bkpt_qualified): New proc.
11507
6892d2e4
PA
115082017-12-13 Pedro Alves <palves@redhat.com>
11509
11510 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11511 Tighten regexp by matching with an anchor.
11512
a22ecf70
PA
115132017-12-13 Pedro Alves <palves@redhat.com>
11514
11515 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11516 ("expression with namespace"): New set of tests.
11517 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11518 (Nested::Test_NS::qux): New.
11519 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11520 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11521
9937536c
JB
115222017-12-13 Joel Brobecker <brobecker@adacore.com>
11523
11524 * gdb.base/server-del-break.c: New file.
11525 * gdb.base/server-del-break.exp: New file.
11526
fe49c6f5
SH
115272017-12-12 Stafford Horne <shorne@gmail.com>
11528
11529 * gdb.xml/tdesc-regs.exp: Add or1k support.
11530
c3d18620
SH
115312017-12-12 Stafford Horne <shorne@gmail.com>
11532
11533 * gdb.base/bp-permanent.c: Define nop of or1k.
11534
c5f9cfc8
JB
115352017-12-11 Joel Brobecker <brobecker@adacore.com>
11536
11537 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11538 output with components being reordered.
11539
a9c135fc
JB
115402017-12-11 Joel Brobecker <brobecker@adacore.com>
11541
11542 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11543 output with components being reordered.
11544
927aa2e7
JK
115452017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11546 Pedro Alves <palves@redhat.com>
11547
11548 * gdb.base/maint.exp (check for .gdb_index): Check also for
11549 .debug_names.
11550 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11551 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11552 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11553 (.gdb_index used after symbol reloading): Support also .debug_names.
11554 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11555
f17d9474
YQ
115562017-12-08 Yao Qi <yao.qi@linaro.org>
11557
11558 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11559 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11560
a0de8c21
YQ
115612017-12-08 Yao Qi <yao.qi@linaro.org>
11562
11563 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11564 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11565
a738ea1d
YQ
115662017-12-08 Yao Qi <yao.qi@linaro.org>
11567
11568 * gdb.arch/aarch64-tagged-pointer.c: New file.
11569 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11570
1cd9a73b
SDJ
115712017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11572
11573 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11574 "int".
11575
fa6eb693
KS
115762017-12-07 Keith Seitz <keiths@redhat.com>
11577
11578 PR breakpoints/22569
11579 * gdb.linespec/ls-errs.exp: Change expected result of "break
11580 -source this file has spaces.c -line 3".
11581 Check that an explicit source file followed by whitespace is
11582 identified as an invalid explicit location.
11583
883fd55a
KS
115842017-12-07 Keith Seitz <keiths@redhat.com>
11585
11586 * gdb.cp/nested-types.cc: New file.
11587 * gdb.cp/nested-types.exp: New file.
11588 * lib/cp-support.exp: Load data-structures.exp library.
11589 (debug_cp_test_ptype_class): New global.
11590 (cp_ptype_class_verbose, next_line): New procedures.
11591 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11592 Add and document new return value.
11593 Switch the list of lines to a queue.
11594 Add support for new `type' key for nested type definitions.
11595 Add debugging/troubleshooting messages.
11596 * lib/data-structures.exp: New file.
11597
ec72db3e
SM
115982017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11599
11600 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11601 with proc_with_prefix, don't use with_test_prefix.
11602
99598d71
TT
116032017-12-07 Tom Tromey <tom@tromey.com>
11604
11605 * gdb.base/break.exp: Add test for empty "commands".
11606
a8806230
YQ
116072017-12-07 Yao Qi <yao.qi@linaro.org>
11608
11609 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11610 malloc and catch syscall.
11611
824cc835
PM
116122017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11613
e79be6e5 11614 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
11615 tests for explicit locations.
11616
7cc244de
PA
116172017-12-06 Pedro Alves <palves@redhat.com>
11618
11619 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11620 force-disabling XML descriptions.
11621
50a1fdd5
PA
116222017-12-04 Pedro Alves <palves@redhat.com>
11623
11624 PR gdb/22499
11625 * gdb.arch/amd64-disp-step-avx.S: New file.
11626 * gdb.arch/amd64-disp-step-avx.exp: New file.
11627
f0fb2488
PA
116282017-12-03 Pedro Alves <palves@redhat.com>
11629
11630 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11631 and <string.h>.
11632 (parent_function): Print distinct messages when waitpid fails, or
11633 the child exits with a signal, or the child exits for an unhandled
11634 reason.
11635 * gdb.threads/process-dies-while-detaching.exp
11636 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11637 it. Wait for both inferior output and GDB's prompt. Use an
11638 indirect spawn id list.
11639 (do_detach): New parameter 'child_exit'. Use it to compute
11640 expected inferior output.
11641 (test_detach, test_detach_watch, test_detach_killed_outside):
11642 Adjust to pass down the expected child exit kind.
11643
97cbe998
SDJ
116442017-12-01 Joel Brobecker <brobecker@adacore.com>
11645 Sergio Durigan Junior <sergiodj@redhat.com>
11646 Pedro Alves <palves@redhat.com>
11647
11648 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11649
40fc416f
SDJ
116502017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11651
11652 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11653 to 'symbol-file' and 'add-symbol-file' can be
11654 position-independent.
11655
1cc75e92
YQ
116562017-12-01 Yao Qi <yao.qi@linaro.org>
11657
11658 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11659 the URL in copyright header.
11660 * gdb.arch/aarch64-fp.exp: Likewise.
11661 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11662 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11663 * gdb.base/expand-psymtabs.exp: Likewise.
11664 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11665 * gdb.fortran/common-block.exp: Likewise.
11666 * gdb.fortran/common-block.f90: Likewise.
11667 * gdb.fortran/logical.exp: Likewise.
11668 * gdb.fortran/vla-datatypes.f90: Likewise.
11669 * gdb.fortran/vla-sub.f90: Likewise.
11670
875fb7a7
JB
116712017-11-30 Joel Brobecker <brobecker@adacore.com>
11672
11673 * gdb.ada/repeat_dyn: New testcase.
11674
6f14765f
UW
116752017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11676
11677 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11678 Update for changed thread numbering.
11679 * gdb.cell/bt.exp: Update for changed GDB output.
11680
f1af7b94
SM
116812017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11682
11683 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11684 setting isremote by hand.
11685 * boards/dwarf4-gdb-index.exp: Likewise.
11686 * boards/fission.exp: Likewise.
11687 * boards/stabs.exp: Likewise.
11688
e3919f3e
PA
116892017-11-30 Pedro Alves <palves@redhat.com>
11690
11691 * gdb.linespec/cpls-ops.exp
11692 (check_explicit_skips_function_argument): Extract the underlying
11693 type of size_t instead of hardcoding it.
11694
bd69330d
PA
116952017-11-29 Pedro Alves <palves@redhat.com>
11696
11697 PR c++/19436
11698 * gdb.linespec/cpls-abi-tag.cc: New file.
11699 * gdb.linespec/cpls-abi-tag.exp: New file.
11700
a20714ff
PA
117012017-11-29 Pedro Alves <palves@redhat.com>
11702
11703 * gdb.base/langs.exp: Use -qualified.
11704 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11705 it.
11706 * gdb.cp/namespace.exp: Use -qualified.
11707 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11708 (overload-3, template-overload, template-ret-type, const-overload)
11709 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11710 procedures.
11711 (test_driver): Call them.
11712 * gdb.cp/save-bp-qualified.cc: New.
11713 * gdb.cp/save-bp-qualified.exp: New.
11714 * gdb.linespec/explicit.exp: Test -qualified.
11715 * lib/completion-support.exp (completion::explicit_opts_list): Add
11716 "-qualified".
11717 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11718
f6f1d339
PM
117192017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11720
11721 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11722
02ca603a
TT
117232017-11-29 Tom Tromey <tom@tromey.com>
11724
11725 * gdb.base/relocate.exp: Update invalid argument test.
11726 Add new tests for invalid arguments.
11727
ed6c0bfb
TP
117282017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11729
11730 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11731 Return 0 as a long.
11732 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11733
f106e10e
TP
117342017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11735
11736 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11737 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11738 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11739 func ().
11740 * gdb.cp/shadow.cc (B.func): Return 0.
11741
10329bb2
JB
117422017-11-27 Joel Brobecker <brobecker@adacore.com>
11743
11744 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11745 expected output in gdb_expect call to allow the exception
11746 message to be present as well. Fix syntax confusion to avoid
11747 TCL thinking that exception_name is an array.
11748
617cd4bc
UW
117492017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11750
11751 * gdb.arch/spu-info.c: Include <unistd.h>.
11752 (do_signal_test): Fix broken calls to write.
11753 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11754 Fix checks for empty mailboxes. Update signal tests for corrected
11755 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11756 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11757 * gdb.cell/arch.exp: Use standard_output_file.
11758 * gdb.cell/break.exp: Likewise.
11759 * gdb.cell/bt.exp: Likewise.
11760 * gdb.cell/core.exp: Likewise.
11761 * gdb.cell/dwarfaddr.exp: Likewise.
11762 * gdb.cell/ea-cache.exp: Likewise.
11763 * gdb.cell/ea-standalone.exp: Likewise.
11764 * gdb.cell/f-regs.exp: Likewise.
11765 * gdb.cell/fork.exp: Likewise.
11766 * gdb.cell/gcore.exp: Likewise.
11767 * gdb.cell/mem-access.exp: Likewise.
11768 * gdb.cell/ptype.exp: Likewise.
11769 * gdb.cell/registers.exp: Likewise.
11770 * gdb.cell/sizeof.exp: Likewise.
11771 * gdb.cell/solib-symbol.exp: Likewise.
11772 * gdb.cell/solib.exp: Likewise.
617cd4bc 11773
a81aaca0
PA
117742017-11-25 Pedro Alves <palves@redhat.com>
11775
11776 * gdb.base/complete-empty.exp: New file.
11777 * gdb.base/completion.exp: Adjust.
11778
6a3c6ee4
PA
117792017-11-25 Pedro Alves <palves@redhat.com>
11780
11781 * gdb.linespec/cpls-ops.cc: New file.
11782 * gdb.linespec/cpls-ops.exp: New file.
11783 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11784 factored out from ...
11785 (test_complete_prefix_range): ... this.
11786
8955eb2d
PA
117872017-11-24 Pedro Alves <palves@redhat.com>
11788
11789 * gdb.linespec/cpcompletion.exp: New file.
11790 * gdb.linespec/cpls-hyphen.cc: New file.
11791 * gdb.linespec/cpls.cc: New file.
11792 * gdb.linespec/cpls2.cc: New file.
11793 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11794 test to use test_gdb_complete_unique. Add label completion,
11795 keyword completion and explicit location completion tests.
11796 * lib/completion-support.exp: New file.
11797
e547c119
JB
117982017-11-24 Joel Brobecker <brobecker@adacore.com>
11799
11800 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11801 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11802 when hitting an exception catchpoint.
11803
7c3c1aa8
YQ
118042017-11-22 Yao Qi <yao.qi@linaro.org>
11805
11806 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11807
41bd68f5
SM
118082017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11809
11810 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11811 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11812 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11813
1daad298
YQ
118142017-11-22 Yao Qi <yao.qi@linaro.org>
11815
11816 * gdb.base/info-os.exp: Pass pthreads.
11817 * gdb.multi/multi-attach.exp: Likewise.
11818
88465e87
YQ
118192017-11-22 Yao Qi <yao.qi@linaro.org>
11820
11821 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11822 compiler.
11823
dc196b23
YQ
118242017-11-22 Yao Qi <yao.qi@linaro.org>
11825
11826 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11827 * gdb.base/break-interp.exp: Likewise.
11828 * gdb.base/jit-attach-pie.exp: Likewise.
11829
2400729e
UW
118302017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11831
11832 * gdb.base/float128.c (large128): New variable.
11833 * gdb.base/float128.exp: Add test to print largest __float128 value.
11834
7a26362d
UW
118352017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11836
11837 * gdb.arch/vsx-regs.exp: Update register content checks.
11838
ed0f4273
UW
118392017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11840
11841 * gdb.arch/ppc-longdouble.exp: New file.
11842 * gdb.arch/ppc-longdouble.c: Likewise.
11843
a25d69c6
PA
118442017-11-21 Pedro Alves <palves@redhat.com>
11845
11846 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11847
73fcf641
PA
118482017-11-20 Pedro Alves <palves@redhat.com>
11849
11850 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11851 (long_double_typedef): New typedefs.
11852 Use DEF on double and long double.
11853 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11854 cases.
11855 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11856 and 'long_double_ptr_same_size' locals. Use them to decide
11857 whether cast from array/function to float is valid/invalid.
11858
71a3c369
TT
118592017-11-17 Tom Tromey <tom@tromey.com>
11860
11861 * gdb.rust/traits.rs: New file.
11862 * gdb.rust/traits.exp: New file.
11863
ced9779b
JB
118642017-11-17 Joel Brobecker <brobecker@adacore.com>
11865
11866 * gdb.ada/minsyms: New testcase.
11867
a0922d80
PA
118682017-11-16 Pedro Alves <palves@redhat.com>
11869
11870 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11871 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11872
ea04e54c
PA
118732017-11-16 Pedro Alves <palves@redhat.com>
11874
11875 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11876 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11877
e849ea89
PA
118782017-11-16 Pedro Alves <palves@redhat.com>
11879
11880 * gdb.server/reconnect-ctrl-c.c: New file.
11881 * gdb.server/reconnect-ctrl-c.exp: New file.
11882
d8ae99a7
PM
118832017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11884
11885 * gdb.python/py-rbreak.exp: New file.
11886 * gdb.python/py-rbreak.c: New file.
11887 * gdb.python/py-rbreak-func2.c: New file.
11888
968a13f8
PA
118892017-11-16 Pedro Alves <palves@redhat.com>
11890
11891 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11892 pattern.
11893 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11894 GDB.
11895
71774bc9
SM
118962017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11897
11898 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11899 regex.
11900
ddbb44cf
SM
119012017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11902
11903 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11904 test names.
11905
584a564f
PA
119062017-11-09 Pedro Alves <palves@redhat.com>
11907
11908 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11909 factored out from ...
11910 (top level): ... here, and adjusted to avoid expecting beyond the
11911 prompt in a single gdb_test_multiple.
11912
5ed7a928
PA
119132017-11-09 Pedro Alves <palves@redhat.com>
11914
11915 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11916 output.
11917 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11918 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11919 * gdb.server/ext-run.exp ("kill" test): Likewise.
11920 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11921
a60e0738
PA
119222017-11-09 Pedro Alves <palves@redhat.com>
11923
11924 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11925 match till end of line.
11926
2c88253f
PA
119272017-11-09 Pedro Alves <palves@redhat.com>
11928
11929 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11930
c7a38517
PA
119312017-11-09 Pedro Alves <palves@redhat.com>
11932
11933 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11934 New procedures, factored out from ...
11935 (top level): ... here, and adjusted to avoid expecting beyond the
11936 prompt in one go.
11937
f29f4b6b
PA
119382017-11-09 Pedro Alves <palves@redhat.com>
11939
11940 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11941 output. Fix '?' match.
11942
286acbb5
JB
119432017-11-08 Joel Brobecker <brobecker@adacore.com>
11944
11945 * gdb.ada/scoped_watch: New testcase.
11946 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11947 which is actually correct.
11948 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11949 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11950
62d7ae92
PA
119512017-11-08 Pedro Alves <palves@redhat.com>
11952
11953 * gdb.gdb/complaints.exp (test_initial_complaints)
11954 (test_serial_complaints, test_short_complaints): Call
11955 complaint_internal instead of complaint.
11956
280ca31f
DT
119572017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11958
11959 * gdb.threads/tls-core.c: New file.
11960 * gdb.threads/tls-core.exp: Likewise.
11961
b5ec771e
PA
119622017-11-08 Pedro Alves <palves@redhat.com>
11963
11964 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11965 (p Exported_Capitalized): New test.
11966 (p exported_capitalized): New test.
11967
a02b41a7
PA
119682017-11-07 Pedro Alves <palves@redhat.com>
11969
11970 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11971
95e95a6d
PA
119722017-11-07 Pedro Alves <palves@redhat.com>
11973
11974 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11975 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11976 (disable_invalid, disable_inverted, disable_negative): New
11977 procedures.
11978 ("bad numbers"): New set of tests.
11979
cee62dbd
PA
119802017-11-07 Pedro Alves <palves@redhat.com>
11981
11982 * gdb.cp/ena-dis-br-range.exp: Add tests.
11983
cc638e86
PA
119842017-11-07 Pedro Alves <palves@redhat.com>
11985
11986 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11987
d0fe4701
XR
119882017-11-07 Xavier Roirand <roirand@adacore.com>
11989 Pedro Alves <palves@redhat.com>
11990
11991 * gdb.base/ena-dis-br.exp: Add reference to
11992 gdb.cp/ena-dis-br-range.exp.
11993 * gdb.cp/ena-dis-br-range.exp: New file.
11994 * gdb.cp/ena-dis-br-range.cc: New file.
11995
46f67f80
PA
119962017-11-06 Pedro Alves <palves@redhat.com>
11997
11998 * gdb.base/attach-non-pgrp-leader.c: New.
11999 * gdb.base/attach-non-pgrp-leader.exp: New.
12000
726e1356
PA
120012017-11-06 Pedro Alves <palves@redhat.com>
12002
12003 * configure.ac: No longer check for termio.h and sgtty.h.
12004 * configure: Regenerate.
12005 * remote-utils.c: Include termios.h instead of gdb_termios.h.
12006 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
12007 Remove termio and sgtty code.
12008
50ab6ace
YQ
120092017-11-03 Yao Qi <yao.qi@linaro.org>
12010
12011 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
12012 in GDB is disabled.
12013
8e68731c
YQ
120142017-11-03 Yao Qi <yao.qi@linaro.org>
12015
12016 * gdb.python/py-thrhandle.exp: Skip it if python is not
12017 enabled.
12018
3a87ae65
SM
120192017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
12020
12021 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
12022 as a breakpoint command.
12023
484d8d36
MD
120242017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
12025
12026 PR python/21213
12027 * gdb.python/py-infthread.exp: Test calling
12028 InferiorThread.inferior () multiple times in a row.
12029
4a27f119
KS
120302017-10-27 Keith Seitz <keiths@redhat.com>
12031
12032 * gdb.opt/inline-break.exp (break_info_1): New procedure.
12033 Test "info break" for every inlined function breakpoint.
12034
bb11dd58
YQ
120352017-10-27 Yao Qi <yao.qi@linaro.org>
12036
12037 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
12038
a43f3893
PF
120392017-10-26 Patrick Frants <osscontribute@gmail.com>
12040
12041 * gdb.cp/classes.exp (test_static_members): Test printing
12042 Outer::instance.
12043 * gdb.cp/classes.c (struct Inner, struct Outer): New.
12044 (Inner::instance, Outer::instance): New.
12045
792ccf00
PA
120462017-10-24 Pedro Alves <palves@redhat.com>
12047
12048 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
12049 extra console" test in two stages.
12050
eb2bfbad
PA
120512017-10-24 Pedro Alves <palves@redhat.com>
12052
12053 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
12054
1f75a651
PA
120552017-10-24 Pedro Alves <palves@redhat.com>
12056
12057 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
12058 loop.
12059
779990d9
PA
120602017-10-24 Pedro Alves <palves@redhat.com>
12061
12062 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
12063 $attempt" and "stoppedtry $stoppedtry" test prefixes.
12064
ad9b8f5d
PA
120652017-10-24 Pedro Alves <palves@redhat.com>
12066
12067 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
12068 parameter and handle it. Don't output read value in test name.
12069
fee6da6e
PA
120702017-10-24 Pedro Alves <palves@redhat.com>
12071
12072 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
12073 custom test name.
12074
10389c2c
PA
120752017-10-24 Pedro Alves <palves@redhat.com>
12076
12077 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
12078 include the unstable output directory name in the test's name.
12079 (initial_setup_simple) <'set args'>: Use custom test name.
12080
a80e65a9
PA
120812017-10-24 Pedro Alves <palves@redhat.com>
12082
12083 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
12084 with explicit test name.
12085
15763a09
PA
120862017-10-20 Pedro Alves <palves@redhat.com>
12087
12088 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
12089 'wait -i'. Use gdb_assert and remote_close.
12090
49a4ce2e
AB
120912017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
12092
12093 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
12094 number from variable rather than hard-coded.
12095
a75868f5
PA
120962017-10-19 Pedro Alves <palves@redhat.com>
12097
12098 * gdb.base/long-inferior-output.c: New file.
12099 * gdb.base/long-inferior-output.exp: New file.
12100
c8ba13ad
KS
121012017-11-18 Keith Seitz <keiths@redhat.com>
12102
12103 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
12104 method.
12105 (main): Call it.
12106 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
12107 Add additional user-defined conversion operator tests.
12108
b27de576
PA
121092017-10-17 Pedro Alves <palves@redhat.com>
12110
12111 * boards/native-stdio-gdbserver.exp: Load "local-board".
12112
8484c955
PA
121132017-10-17 Pedro Alves <palves@redhat.com>
12114
12115 * gdb.base/quit-live.c: New file.
12116 * gdb.base/quit-live.exp: New file.
12117
83d5a34d
KS
121182017-10-16 Keith Seitz <keiths@redhat.com>
12119
12120 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
12121 (class_with_protected_typedef, class_with_private_typedef)
12122 (struct_with_public_typedef, struct_with_protected_typedef)
12123 (struct_with_private_typedef): New classes/structs.
12124 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
12125 typedefs and access specifiers.
12126
739b3f1d
PA
121272017-10-16 Pedro Alves <palves@redhat.com>
12128 Simon Marchi <simon.marchi@polymtl.ca>
12129
12130 * README (Local vs Remote vs Native): New section.
12131 * boards/local-board.exp: New file, with bits factored out from
12132 ...
12133 * boards/native-extended-gdbserver.exp: ... here. Load
12134 "local-board".
12135 * boards/native-gdbserver.exp: Load "local-board".
12136 (${board}_spawn, ${board}_exec): Delete.
12137 * boards/native-stdio-gdbserver.exp: Most contents factored out to
12138 ...
12139 * boards/stdio-gdbserver-base.exp: ... this new file.
12140 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
12141 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
12142 procedure.
12143 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
12144 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
12145 stdio_gdbserver_command.
12146 (${board}_get_remote_address, ${board}_get_comm_port)
12147 (${board}_download, ${board}_upload): Delete.
12148 (get_target_remote_pipe_cmd): New.
12149
fe68b953
SM
121502017-10-16 Simon Marchi <simon.marchi@ericsson.com>
12151
12152 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
12153 test_bkpt_deletion, test_bkpt_cond_and_cmds,
12154 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
12155 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
12156 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
12157 remove with_test_prefix.
12158
300b6685
PA
121592017-10-13 Pedro Alves <palves@redhat.com>
12160
12161 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
12162 * gdb.base/annota1.exp: Use it instead of is_remote.
12163 * gdb.base/annota3.exp: Use it instead of is_remote.
12164 * gdb.cp/annota2.exp: Use it instead of is_remote.
12165 * gdb.cp/annota3.exp: Use it instead of is_remote.
12166 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
12167
50500caf
PA
121682017-10-13 Pedro Alves <palves@redhat.com>
12169
12170 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
12171 (test_num_test_vars, run_and_count_vars, find_env)
12172 (test_set_unset_env, test_inherit_env_var): New procedures.
12173 (top level): Use them.
12174
dad0c6d2
PA
121752017-10-13 Pedro Alves <palves@redhat.com>
12176
12177 * lib/selftest-support.exp (selftest_setup): Extend comments, and
12178 also skip on stub-like targets.
12179
8b0553c1
PA
121802017-10-13 Pedro Alves <palves@redhat.com>
12181
12182 PR gdb/22293
12183 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
12184 (top level): Move some tests to ...
12185 (test_not_found): ... this new procedure.
12186 (top level): Call it.
12187
7594f623
PA
121882017-10-13 Pedro Alves <palves@redhat.com>
12189
12190 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
12191 expect different "info terminal" output if testing with a
12192 non-native target.
12193
ebe3b402
PA
121942017-10-13 Pedro Alves <palves@redhat.com>
12195 Simon Marchi <simon.marchi@polymtl.ca>
12196
12197 PR python/12966
12198 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
12199
42f1b161
PA
122002017-10-13 Pedro Alves <palves@redhat.com>
12201
12202 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
12203 already.
12204
8d6ef72b
PA
122052017-10-13 Pedro Alves <palves@redhat.com>
12206
12207 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
12208 is_remote.
12209
d7bcd5b8
PA
122102017-10-13 Pedro Alves <palves@redhat.com>
12211
12212 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
12213 is_remote.
12214
df479dc6
PA
122152017-10-13 Pedro Alves <palves@redhat.com>
12216
12217 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
12218 is set.
12219 (corefile_test_attach): Likewise. Check can_spawn_for_attach
12220 instead of is_remote.
12221
23fb630a
PA
122222017-10-13 Pedro Alves <palves@redhat.com>
12223
12224 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
12225 (top level): Add comment.
12226
cc77b1dc
PA
122272017-10-13 Pedro Alves <palves@redhat.com>
12228
12229 * gdb.base/remote.exp (top level): Fix comment typo and add
12230 missing return.
12231
27c9e813
PA
122322017-10-13 Pedro Alves <palves@redhat.com>
12233 Simon Marchi <simon.marchi@polymtl.ca>
12234
12235 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
12236 calls and add comments. Skip test if use_gdb_stub is set.
12237 (top level): Use "set cwd" command instead of "cd" command.
12238
5e830d98
PA
122392017-10-13 Pedro Alves <palves@redhat.com>
12240
12241 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
12242 is_remote target check.
12243
f5ca0032
PA
122442017-10-13 Pedro Alves <palves@redhat.com>
12245
12246 * gdb.base/scope.exp: Use build_executable + clean_restart +
12247 gdb_file_cmd instead of prepare_for_testing and no longer skip
12248 "before run" tests on is_remote target boards. Update comments.
12249 * boards/native-extended-gdbserver.exp
12250 (extended_gdbserver_load_last_file): New, factored out from ...
12251 (gdb_load): ... this. Move further below and add comment.
12252 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
12253
8aed1c0d
PA
122542017-10-12 Pedro Alves <palves@redhat.com>
12255
12256 * gdb.base/attach.exp: Remove references to gdb64.
12257 * gdb.base/dbx.exp: Remove references to gdb64.
12258
cfa34c87
SM
122592017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12260 Pedro Alves <palves@redhat.com>
12261
12262 * gdb.base/label.exp: Remove is_remote target check.
12263
9192b7de
PA
122642017-10-12 Pedro Alves <palves@redhat.com>
12265
12266 * gdb.base/auvx.exp (coredir): Update comment.
12267 (top level) <core_works>: Use "set cwd" command instead of "cd"
12268 command.
12269
6bf0052d
PA
122702017-10-12 Pedro Alves <palves@redhat.com>
12271 Simon Marchi <simon.marchi@polymtl.ca>
12272
12273 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12274 target boards.
12275
e48ef82d
PA
122762017-10-12 Pedro Alves <palves@redhat.com>
12277 Simon Marchi <simon.marchi@polymtl.ca>
12278
12279 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12280 Instead skip if there's any gdb_protocol set.
12281
8d7aea57
SM
122822017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12283 Pedro Alves <palves@redhat.com>
12284
12285 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12286
30440677
PA
122872017-10-12 Pedro Alves <palves@redhat.com>
12288 Simon Marchi <simon.marchi@polymtl.ca>
12289
12290 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12291 instead of on dejagnu remote boards.
12292
4e04f045 122932017-10-12 Pedro Alves <palves@redhat.com>
175654b9 12294 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
12295
12296 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12297 checks. Use build_executable + clean_restart instead of
12298 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12299 of enabling non-stop after starting gdb.
12300
871a186e
PA
123012017-10-12 Pedro Alves <palves@redhat.com>
12302
12303 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12304 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12305 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12306 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12307
56d704da
AK
123082017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12309
12310 * gdb.arch/arc-tdesc-cpu.exp: New file.
12311 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12312
2f20e312
SM
123132017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12314
12315 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12316
65630365
PA
123172017-10-10 Pedro Alves <palves@redhat.com>
12318
12319 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12320 expect CLI output.
12321
bf469271
PA
123222017-10-10 Pedro Alves <palves@redhat.com>
12323
12324 * lib/selftest-support.exp (selftest_setup): Update for
12325 captured_command_loop's prototype change.
12326
777a42f1
PA
123272017-10-09 Pedro Alves <palves@redhat.com>
12328
12329 Test both arch1=>arch2 and arch2=>arch1.
12330
12331 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12332 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12333 factored out to...
12334 (append_arch1_options, append_arch2_options, append_arch_options)
12335 (build_executables): New procedures.
12336 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12337 local.
12338 (top level): Add new 'first_arch' testing axis.
12339
cbd2b4e3
PA
123402017-10-09 Pedro Alves <palves@redhat.com>
12341
12342 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12343 (barrier): New.
12344 (thread_start, all_started): New functions.
12345 (main): Spawn new thread and wait until it is scheduled.
12346 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12347 option.
12348 (do_test): Add 'selected_thread' parameter. Run to all_started
12349 instead of main. Explicitly set the breakpoint at main. Switch
12350 to the SELECTED_THREAD thread.
12351 (top level): Test handling the exec event with either the main
12352 thread or the second thread selected.
12353
5c9e4427
PA
123542017-10-09 Pedro Alves <palves@redhat.com>
12355
12356 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12357 logic. Move STOP marker after the value checks.
12358 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12359 regexp.
12360
b3b7c423
SL
123612017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12362
12363 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12364
3b4b2f16
UW
123652017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12366
12367 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12368 integer-to-dfp conversion.
12369 * gdb.base/dfp-test.exp: Likewise.
12370
5cd63fda
PA
123712017-10-04 Pedro Alves <palves@redhat.com>
12372
12373 * gdb.multi/hangout.c: Include <unistd.h>.
12374 (hangout_loop): New function.
12375 (main): Call alarm. Call hangout_loop in a loop.
12376 * gdb.multi/hello.c: Include <unistd.h>.
12377 (hello_loop): New function.
12378 (main): Call alarm. Call hangout_loop in a loop.
12379 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12380 inferior with the other selected.
12381
4c71c105
SM
123822017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12383
12384 * gdb.mi/list-thread-groups-available.exp: New file.
12385 * gdb.mi/list-thread-groups-available.c: New file.
12386
bc3b087d
SDJ
123872017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12388
12389 * gdb.base/set-cwd.exp: Make it available on
12390 native-extended-gdbserver.
12391
d092c5a2
SDJ
123922017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12393
12394 * gdb.base/set-cwd.c: New file.
12395 * gdb.base/set-cwd.exp: Likewise.
12396
45320ffa
TT
123972017-10-02 Tom Tromey <tom@tromey.com>
12398
12399 PR rust/22236:
12400 * gdb.rust/simple.rs (main): New variable "fslice".
12401 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12402
b3e3859b
TT
124032017-10-02 Tom Tromey <tom@tromey.com>
12404
12405 * gdb.rust/simple.exp: Test ptype of a slice.
12406
01af5e0d
TT
124072017-10-02 Tom Tromey <tom@tromey.com>
12408
12409 * gdb.rust/simple.exp: Test index of slice.
12410
a9bbfbd8
TT
124112017-09-27 Tom Tromey <tom@tromey.com>
12412
12413 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12414
df8899e5
TP
124152017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12416 Pedro Alves <palves@redhat.com>
12417
12418 * gdb.base/compare-sections.exp (get value of read-only section): Read
12419 as unsigned value.
12420 (corrupt read-only section): Likewise and don't set written if patching
12421 failed.
12422
757bf54b
KB
124232017-09-21 Kevin Buettner <kevinb@redhat.com>
12424
12425 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12426 files.
12427
06871ae8
PA
124282017-09-20 Pedro Alves <palves@redhat.com>
12429
12430 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12431 symbol names in gdb's output.
12432 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12433
e5f25bc5
PA
124342017-09-20 Pedro Alves <palves@redhat.com>
12435
12436 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12437 Rename to ...
12438 (test_list_ambiguous_symbol): ... this and add a symbol name
12439 parameter. Adjust.
12440 (test_list_ambiguous_function): Reimplement on top of
12441 test_list_ambiguous_symbol and also test listing ambiguous
12442 variables.
12443 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12444 (ambiguous_fun): ... this.
12445 (ambiguous_var): New.
12446 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12447 (ambiguous_fun): ... this.
12448 (ambiguous_var): New.
12449
4e5a4f58
JB
124502017-09-19 John Baldwin <jhb@FreeBSD.org>
12451
12452 * gdb.base/starti.c: New file.
12453 * gdb.base/starti.exp: New file.
12454 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12455
26e53f3e
PA
124562017-09-14 Pedro Alves <palves@redhat.com>
12457
12458 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12459 (top level): Use it instead of runto.
12460
cb791d59
TT
124612017-09-11 Tom Tromey <tom@tromey.com>
12462
12463 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12464
7c96f8c1
TT
124652017-09-11 Tom Tromey <tom@tromey.com>
12466
12467 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12468 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12469
469412dd
CW
124702017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12471
12472 * gdb.fortran/printing-types.exp: New file.
12473 * gdb.fortran/printing-types.exp: New file.
12474
e0f86435
BH
124752017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12476
12477 * gdb.fortran/vla-ptype.exp: Fix typos.
12478 * gdb.fortran/vla-value.exp: Same.
12479
9e9af4be
BH
124802017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12481
12482 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12483 * gdb.mi/mi-var-child-f.exp: Likewise.
12484 * gdb.mi/mi-vla-fortran.exp: Likewise.
12485
a5ad232b 124862017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
12487 Christoph Weinmann <christoph.t.weinmann@intel.com>
12488 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
12489
12490 * gdb.fortran/ptr-indentation.f90: New file.
12491 * gdb.fortran/ptr-indentation.exp: New file.
12492
5aec60eb
TT
124932017-09-05 Tom Tromey <tom@tromey.com>
12494
12495 PR gdb/22010:
12496 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12497
8f8f8152
TP
124982017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12499
12500 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12501
fbd1b771
JK
125022017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12503
12504 * gdb.threads/tls-nodebug-pie.c: New file.
12505 * gdb.threads/tls-nodebug-pie.exp: New file.
12506
5eb5f850
TT
125072017-09-05 Tom Tromey <tom@tromey.com>
12508
12509 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12510 for rust.
12511
ae780a21
SM
125122017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12513
12514 * gdb.multi/multi-arch-exec.exp: Test with different
12515 "follow-exec-mode" settings.
12516 (do_test): New procedure.
12517
3693fdb3
PA
125182017-09-04 Pedro Alves <palves@redhat.com>
12519
12520 * gdb.base/func-static.c (S::method const, S::method volatile)
12521 (S::method volatile const): New methods.
12522 (c_s, v_s, cv_s): New instances.
12523 (main): Call method() on them.
12524 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12525 (cannot_resolve): New procedure.
12526 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12527 print-quote-unquoted columns.
12528 (do_test): Test printing each scope too.
12529
e68cb8e0
PA
125302017-09-04 Pedro Alves <palves@redhat.com>
12531
12532 * gdb.base/local-static.exp: Also test with
12533 class::method::variable wholly quoted.
12534 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12535
858be34c
PA
125362017-09-04 Pedro Alves <palves@redhat.com>
12537
12538 * gdb.base/local-static.c: New.
12539 * gdb.base/local-static.cc: New.
12540 * gdb.base/local-static.exp: New.
12541
46a4882b
PA
125422017-09-04 Pedro Alves <palves@redhat.com>
12543
12544 * gdb.asm/asm-source.exp: Add casts to int.
12545 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12546 (dataglobal64_1, dataglobal64_2): New globals.
12547 * gdb.base/nodebug.exp: Test different expressions involving the
12548 new globals, with print, whatis and ptype. Add casts to int.
12549 * gdb.base/solib-display.exp: Add casts to int.
12550 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12551 * gdb.cp/m-static.exp: Add cast to int.
12552 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12553 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12554 tls variable with no debug info without a cast. Test with a cast
12555 to int too.
12556 * gdb.trace/entry-values.exp: Add casts.
12557
2c5a2be1
PA
125582017-09-04 Pedro Alves <palves@redhat.com>
12559
12560 * gdb.base/nodebug.exp: Test that ptype's error about functions
12561 with unknown return type includes the function name too.
12562
7022349d
PA
125632017-09-04 Pedro Alves <palves@redhat.com>
12564
12565 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12566 return type of munmap in infcall.
12567 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12568 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12569 type of ftell in infcall.
12570 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12571 type of getpid in infcall.
12572 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12573 infcall.
12574 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12575 Bail on failure to extract the pid.
12576 * gdb.base/nodebug.c: #include <stdint.h>.
12577 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12578 New functions.
12579 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12580 Change expected output of print/whatis/ptype with functions with
12581 no debug info. Test all supported languages. Call
12582 test_call_promotion.
12583 * gdb.compile/compile.exp: Adjust expected output to expect
12584 warning.
12585 * gdb.threads/siginfo-threads.exp: Likewise.
12586
54990598
PA
125872017-09-04 Pedro Alves <palves@redhat.com>
12588
12589 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12590 "prototypes". Test calling float functions via prototyped and
12591 unprototyped function pointers.
12592 (perform_all_tests): New parameter "prototypes". Pass it down.
12593 (top level): Pass down "prototypes" parameter to
12594 perform_all_tests.
12595
34d16ea2
SM
125962017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12597
12598 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12599 Test with nested loops.
12600
9521ecda
SM
126012017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12602
12603 * gdb.base/commands.exp: Call the new procedures.
12604 (loop_break_test, loop_continue_test): New procedures.
12605
80a65e9b
SM
126062017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12607
12608 * gdb.base/commands.exp: Call new procedure.
12609 (define_if_without_arg_test): New procedure.
12610
e439fa14
PA
126112017-09-04 Pedro Alves <palves@redhat.com>
12612
12613 * gdb.base/list-ambiguous.exp: New file.
12614 * gdb.base/list-ambiguous0.c: New file.
12615 * gdb.base/list-ambiguous1.c: New file.
12616 * gdb.base/list.exp (test_list_range): Adjust expected output.
12617
0a2dde4a
SDJ
126182017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12619
12620 * gdb.base/share-env-with-gdbserver.c: New file.
12621 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12622
5e89eb3a
SM
126232017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12624
12625 * gdb.base/commands.exp (gdbvar_simple_if_test,
12626 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12627 progvar_simple_if_test, progvar_simple_while_test,
12628 progvar_complex_if_while_test, user_defined_command_test,
12629 user_defined_command_args_eval,
12630 user_defined_command_args_stack_test,
12631 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12632 temporary_breakpoint_commands,
12633 gdb_test_no_prompt, redefine_hook_test,
12634 redefine_backtrace_test): Remove "global gdb_prompt".
12635
fd437cbc
SM
126362017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12637
12638 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12639 New proc, call it from toplevel.
12640
87215ad1
SDJ
126412017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12642
12643 PR remote/21852
12644 * gdb.server/normal.c: New file, copied from gdb.base.
12645 * gdb.server/run-without-local-binary.exp: New file.
12646
58afddc6
WP
126472017-08-07 Weimin Pan <weimin.pan@oracle.com>
12648
12649 * gdb.arch/sparc64-adi.exp: New file.
12650 * gdb.arch/sparc64-adi.c: New file.
12651
5277199a
PA
126522017-08-22 Pedro Alves <palves@redhat.com>
12653
12654 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12655 (top level): Add "list all overloads" tests.
12656
14278e1f
TT
126572017-08-22 Tom Tromey <tom@tromey.com>
12658
12659 * gdb.gdb/xfullpath.exp: Remove.
12660
bf223d3e
PA
126612017-08-21 Pedro Alves <palves@redhat.com>
12662
12663 PR gdb/19487
12664 * gdb.base/symbol-alias.c: New.
12665 * gdb.base/symbol-alias2.c: New.
12666 * gdb.base/symbol-alias.exp: New.
12667
c973d0aa
PA
126682017-08-21 Pedro Alves <palves@redhat.com>
12669
12670 * gdb.base/dfp-test.c
12671 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12672 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12673 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12674 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12675 * gdb.base/whatis-ptype-typedefs.c: New.
12676 * gdb.base/whatis-ptype-typedefs.exp: New.
12677 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12678 (an_int, an_int_type, an_int_type2): New globals.
12679 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12680 involving typedefs and cast expressions.
12681 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12682 (lookup_typedefs_function): New.
12683 (typedefs_pretty_printers_dict): New.
12684 (top level): Register lookup_typedefs_function in
12685 gdb.pretty_printers.
12686
6d580b63
YQ
126872017-08-18 Yao Qi <yao.qi@linaro.org>
12688
12689 * gdb.server/unittest.exp: New.
12690
206726fb
SDJ
126912017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12692
12693 PR gdb/21954
12694 * gdb.base/environ.exp: Add test to check if 'unset environment'
12695 works.
12696
bf0ec4c2
AA
126972017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12698
12699 * lib/gdb.exp (universal_compile_options): New caching proc.
12700 (gdb_compile): Suppress GCC's coloring of messages.
12701
d6382fff
TT
127022017-08-14 Tom Tromey <tom@tromey.com>
12703
12704 PR gdb/21675:
12705 * gdb.base/printcmds.exp (test_radices): New function.
12706 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12707 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12708 * lib/gdb.exp (get_integer_valueof): Use p/d.
12709
c2c2dd9f
SM
127102017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12711
12712 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12713 characters.
12714
fdffd6f4
TT
127152017-08-05 Tom Tromey <tom@tromey.com>
12716
12717 * gdb.rust/simple.exp: Allow String to appear in a different
12718 namespace.
12719
27d41eac
YQ
127202017-07-26 Yao Qi <yao.qi@linaro.org>
12721
12722 * gdb.gdb/unittest.exp: Invoke command
12723 "maintenance check xml-descriptions".
12724
031ed05d
AA
127252017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12726
12727 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12728 calling context.
12729 (hex128): Drop erroneous calculation of parameters.
12730
dcd27ddf
SM
127312017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12732
12733 * gdb.python/py-unwind.exp: Disable stack protection when
12734 building test file.
12735
47e77640
PA
127362017-07-20 Pedro Alves <palves@redhat.com>
12737
12738 * gdb.base/default.exp (set language): Adjust expected output.
12739
62d2a18a
PA
127402017-07-20 Pedro Alves <palves@redhat.com>
12741
12742 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12743 (test_minsym): ... this, and make static.
12744 (get_pck__foo__bar__minsym): Rename to ...
12745 (get_test_minsym): ... this.
12746 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12747 symbol names and comments.
12748 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12749 (get_test_minsym): ... this.
12750 (pck__foo__bar__minsym__2): Rename to ...
12751 (test_minsym): ... this.
12752 (main): Adjust.
12753
c45ec17c
PA
127542017-07-17 Pedro Alves <palves@redhat.com>
12755
12756 * gdb.base/completion.exp: Adjust expected output.
12757 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12758 the completer works.
12759
c6756f62
PA
127602017-07-17 Pedro Alves <palves@redhat.com>
12761
12762 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12763
5bd68487
AB
127642017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12765
12766 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12767
8880f2a9
TT
127682017-07-14 Tom Tromey <tom@tromey.com>
12769
12770 PR rust/21764:
12771 * gdb.rust/simple.exp: Add tests.
12772
65547233
TT
127732017-07-14 Tom Tromey <tom@tromey.com>
12774
12775 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12776
8f14146e
PA
127772017-07-14 Pedro Alves <palves@redhat.com>
12778
12779 * gdb.linespec/base/one/thefile.cc (z1): New function.
12780 * gdb.linespec/base/two/thefile.cc (z2): New function.
12781 * gdb.linespec/linespec.exp: Add tests.
12782
b4365d02
AB
127832017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12784
12785 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12786 to mi_create_breakpoint.
12787
5d2cbaa5
AB
127882017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12789
12790 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12791 mi_create_breakpoint.
12792
11cb5716
IB
127932017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12794
12795 * gdb.dlang/demangle.exp: Update for demangling changes.
12796
03278692
TT
127972017-07-09 Tom Tromey <tom@tromey.com>
12798
12799 * gdb.dwarf2/shortpiece.exp: New file.
12800
33c5cd75
DB
128012017-07-06 David Blaikie <dblaikie@gmail.com>
12802
12803 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12804 built from fissiont-multi-cu{1,2}.c.
12805 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12806 except putting 'main' and 'func' in separate CUs in the same DWO file.
12807 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12808 test.
12809 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12810 test.
12811
8455d262
PA
128122017-07-06 Pedro Alves <palves@redhat.com>
12813
12814 * gdb.python/py-unwind.exp: Test flushregs.
12815
dc4bde35
SDJ
128162017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12817
12818 PR cli/21688
12819 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12820 tests for alias commands and trailing whitespace.
12821
51ed89aa
SDJ
128222017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12823
12824 PR cli/21688
12825 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12826 procedure. Call it.
12827
eb17d413
PA
128282017-06-29 Pedro Alves <palves@redhat.com>
12829
12830 * gdb.base/printcmds.exp: Add tests.
12831
41664b45
DG
128322017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12833
12834 PR gdb/21337
12835 * gdb.base/reread-readsym.exp: New file.
12836 * gdb.base/reread-readsym.c: New file.
12837
75312ae3
KB
128382017-06-21 Kevin Buettner <kevinb@redhat.com>
12839
12840 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12841 subpattern.
12842
66953522
PB
128432017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12844
12845 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12846 extended mnemonic.
12847 * gdb.arch/powerpc-power9.s: Likewise.
12848
5524b525
AA
128492017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12850
12851 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12852 on 32-bit x86 targets. Exploit is_*_target macros where
12853 appropriate.
12854
03c8af18
AA
128552017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12856
12857 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12858 register pieces.
12859
3bf31011
AA
128602017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12861
12862 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12863 located in one or more DWARF pieces.
12864
805acca0
AA
128652017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12866
12867 * lib/gdb.exp (get_endianness): New proc.
12868 * gdb.arch/aarch64-fp.exp: Use it.
12869 * gdb.arch/altivec-regs.exp: Likewise.
12870 * gdb.arch/e500-regs.exp: Likewise.
12871 * gdb.arch/vsx-regs.exp: Likewise.
12872 * gdb.base/dump.exp: Likewise.
12873 * gdb.base/funcargs.exp: Likewise.
12874 * gdb.base/gnu_vector.exp: Likewise.
12875 * gdb.dwarf2/formdata16.exp: Likewise.
12876 * gdb.dwarf2/implptrpiece.exp: Likewise.
12877 * gdb.dwarf2/nonvar-access.exp: Likewise.
12878 * gdb.python/py-inferior.exp: Likewise.
12879 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12880
e9352324
AA
128812017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12882
12883 PR gdb/21226
12884 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12885 stack value pieces are taken from the LSB end.
12886
d5d1163e
AA
128872017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12888
12889 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12890 variable at nonzero offset.
12891
0567c986
AA
128922017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12893
12894 * gdb.dwarf2/var-access.c: New file.
12895 * gdb.dwarf2/var-access.exp: New test.
12896 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12897
973e9aab
TT
128982017-06-12 Tom Tromey <tom@tromey.com>
12899
12900 * gdb.dwarf2/formdata16.exp: Add tests.
12901
d9109c80
TT
129022017-06-12 Tom Tromey <tom@tromey.com>
12903
12904 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12905
30a25466
TT
129062017-06-12 Tom Tromey <tom@tromey.com>
12907
12908 PR exp/16225:
12909 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12910 * gdb.arch/vsx-regs.exp: Update tests.
12911 * gdb.arch/s390-vregs.exp (hex128): New proc.
12912 Update test.
12913 * gdb.arch/altivec-regs.exp: Update tests.
12914
aefd8b33
SDJ
129152017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12916
12917 * gdb.base/startup-with-shell.c: New file.
12918 * gdb.base/startup-with-shell.exp: Likewise.
12919
2090129c
SDJ
129202017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12921
12922 * gdb.server/non-existing-program.exp: Update regex in order to
12923 reflect the fact that gdbserver is now using fork_inferior (with a
12924 shell) to startup the inferior.
12925
8e86a419
SM
129262017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12927
12928 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12929 support function calls from GDB.
12930
e6cf65f2
TT
129312017-05-21 Tom Tromey <tom@tromey.com>
12932
12933 PR rust/21466:
12934 * gdb.rust/unsized.exp: New file.
12935 * gdb.rust/unsized.rs: New file.
12936
43cc5389
TT
129372017-05-19 Tom Tromey <tom@tromey.com>
12938
12939 PR rust/21484:
12940 * gdb.rust/watch.exp: New file.
12941 * gdb.rust/watch.rs: New file.
12942
ec8df234
TT
129432017-05-18 Tom Tromey <tom@tromey.com>
12944
12945 * gdb.rust/simple.exp: Allow Box to be qualified.
12946
3e3e7fae
TP
129472017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12948
12949 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12950
59cc050d
PA
129512017-05-18 Pedro Alves <palves@redhat.com>
12952
12953 * gdb.base/fileio.c (test_write, test_read, test_close)
12954 (test_fstat): Don't print 'ret' in the fail path.
12955
c8f6abd1
PA
129562017-05-18 Pedro Alves <palves@redhat.com>
12957
12958 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12959 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12960 (test_system, test_rename, test_unlink, test_time): Change
12961 prototypes.
12962 * gdb.base/fileio.exp (stop_msg): Adjust.
12963
d2a03b77
PA
129642017-05-18 Pedro Alves <palves@redhat.com>
12965
12966 * gdb.base/fileio.c (null_str): New global.
12967 (test_stat): Use it.
12968 * gdb.base/fileio.exp: Remove nowarnings.
12969
0d5c6999
YQ
129702017-05-17 Yao Qi <yao.qi@linaro.org>
12971
12972 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12973
21873064
YQ
129742017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12975
12976 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12977 argument command.
12978 (top-level): Invoke test_set_inferior_tty.
12979
d512d31c
PA
129802017-05-04 Pedro Alves <palves@redhat.com>
12981
12982 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12983 Add parens to print call for Python 3.
12984
90cef2ed
KS
129852017-05-03 Keith Seitz <keiths@redhat.com>
12986
12987 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12988 (main): Call it.
12989
14f819c8
TW
129902017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12991
12992 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12993 to prev and next.
12994
913aeadd
TW
129952017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12996
12997 * gdb.python/py-record-btrace.exp: Remove test for
12998 gdb.BtraceInstruction.error.
12999
a3be24ad
TW
130002017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13001
13002 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
13003
ae20e79a
TW
130042017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13005
13006 * gdb.python/py-record-btrace-threads.c: New file.
13007 * gdb.python/py-record-btrace-threads.exp: New file.
13008
45ce1b47
SDJ
130092017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
13010
13011 PR testsuite/8595
13012 * gdb.base/environ.exp: Make test available in all architectures.
13013 Move bits related to "info program" testing to
13014 gdb.base/info-program.exp. Rewrite tests to use the two new
13015 procedures mentione below.
13016 (test_set_show_env_var) New procedure.
13017 (test_set_show_env_var_equal): Likewise.
13018 * gdb.base/info-program.exp: New file.
13019
e15c3eb4
KS
130202017-04-27 Keith Seitz <keiths@redhat.com>
13021
13022 * gdb.cp/oranking.cc (test15): New function.
13023 (main): Call test15 and declare additional variables for testing.
13024 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
13025 "p foo101('abc')" tests.
13026 Add tests for cv qualifier overloads.
13027 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
13028 "lvalue reference overload" test.
13029 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
13030 "print value of f1 on Child&& in f2" test.
13031
3a3fd0fd
PA
130322017-04-19 Pedro Alves <palves@redhat.com>
13033
13034 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
13035 procedure.
13036 (top level): Call it.
13037 * lib/gdb.exp (gdb_define_cmd): New procedure.
13038
53375380
PA
130392017-04-12 Pedro Alves <palves@redhat.com>
13040
13041 PR gdb/21323
13042 * gdb.cp/wide_char_types.c: Include <wchar.h>.
13043 (wchar): New global.
13044 * gdb.cp/wide_char_types.exp (wide_char_types_program)
13045 (do_test_wide_char, wide_char_types_no_program, top level): Add
13046 wchar_t testing.
13047
53e710ac
PA
130482017-04-12 Pedro Alves <palves@redhat.com>
13049
13050 PR c++/21323
13051 * gdb.cp/wide_char_types.c: New file.
13052 * gdb.cp/wide_char_types.exp: New file.
13053
0ad9d8c7
SDJ
130542017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
13055
13056 PR gdb/21352
13057 * gdb.trace/tsv.exp: Add test for "tsave -r".
13058
b1b45502
IB
130592017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
13060
13061 * gdb.dlang/watch-loc.c: New file.
13062 * gdb.dlang/watch-loc.exp: New file.
13063
ec13808e
JK
130642017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13065
13066 * gdb.python/py-section-script.exp (sepdebug): New testcases.
13067
fe5f7374
AK
130682017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
13069
13070 * gdb.arch/arc-analyze-prologue.S: New file.
13071 * gdb.arch/arc-analyze-prologue.exp: Likewise.
13072
eea78757
AK
130732017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
13074
13075 * gdb.arch/arc-decode-insn.S: New file.
13076 * gdb.arch/arc-decode-insn.exp: Likewise.
13077
5badf10a
IR
130782017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
13079
13080 PR tdep/20928
13081 * gdb.arch/sparc64-regs.exp: New file.
13082 * gdb.arch/sparc64-regs.S: Likewise.
13083
cee59b3f
TW
130842017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
13085
13086 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
13087 and memory view on Python 3.
13088
c0f55cc6
AV
130892017-03-20 Artemiy Volkov <artemiyv@acm.org>
13090 Keith Seitz <keiths@redhat.com>
13091
13092 PR gdb/14441
13093 * gdb.cp/demangle.exp: Add rvalue reference tests.
13094 * gdb.cp/rvalue-ref-casts.cc: New file.
13095 * gdb.cp/rvalue-ref-casts.exp: New file.
13096 * gdb.cp/rvalue-ref-overload.cc: New file.
13097 * gdb.cp/rvalue-ref-overload.exp: New file.
13098 * gdb.cp/rvalue-ref-params.cc: New file.
13099 * gdb.cp/rvalue-ref-params.exp: New file.
13100 * gdb.cp/rvalue-ref-sizeof.cc: New file.
13101 * gdb.cp/rvalue-ref-sizeof.exp: New file.
13102 * gdb.cp/rvalue-ref-types.cc: New file.
13103 * gdb.cp/rvalue-ref-types.exp: New file.
13104 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
13105 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
13106
51457a05
MAL
131072017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13108
13109 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
13110 New procedure.
13111
5b291c04
MAL
131122017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13113
13114 * lib/mi-support.exp (mi_gdb_test): Add additional message
13115 for unexpected output.
13116
59a56148
AA
131172017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13118
13119 * gdb.base/examine-backward.c (Barrier): New character array
13120 constant, to ensure that TestStrings is preceded by a string
13121 terminator.
13122
7942e96e
AA
131232017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13124
13125 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
13126 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
13127 and implicit pointer into such a location.
13128
6ebac3fb
DE
131292017-03-16 Doug Evans <dje@google.com>
13130
13131 * gdb.python/py-lazy-string (pointer): Really add new typedef.
13132
ec3b243d
TP
131332017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
13134
13135 * gdb.cp/m-static.exp: Fix expectation for prototype of
13136 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
13137
131382017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
13139
13140 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
13141 * gdb.guile/scm-lazy-string.c: New file.
13142 * gdb.guile/scm-value.exp: Move lazy string tests to ...
13143 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
13144 for pointer, array, typedef lazy strings.
13145
2cc36e25 131462017-03-16 Doug Evans <dje@google.com>
34b43320
DE
13147
13148 PR python/17728, python/18439, python/18779
13149 * gdb.python/py-value.c (main) Delete locals sptr, sn.
13150 * gdb.python/py-lazy-string.c (pointer): New typedef.
13151 (main): New locals ptr, array, typedef_ptr.
13152 * gdb.python/py-value.exp: Move lazy string tests to ...
13153 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
13154 array, typedef lazy strings.
ec3b243d 13155
0efcde63
AK
131562017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
13157
13158 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
13159 Add optional 'test' parameter.
13160
7978d7c3
SM
131612017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13162
13163 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13164 Skip for versions of DejaGnu < 1.5.
13165
896c0c1e
SM
131662017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13167
13168 * lib/gdb.exp (dejagnu_version): New proc.
13169 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13170 Use dejagnu_version.
13171
5f4d1085
KS
131722017-03-10 Keith Seitz <keiths@redhat.com>
13173
13174 PR c++/8128
13175 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
13176 type from destructor regexps.
13177 Add a branch which actually passes the test.
13178 Adjust "ptype t5i" test names.
13179
1de05205
PA
131802017-03-08 Pedro Alves <palves@redhat.com>
13181
13182 * gdb.base/step-over-exit.exp: Add explicit test message.
13183
c65d6b55
PA
131842017-03-08 Pedro Alves <palves@redhat.com>
13185
13186 PR gdb/18360
13187 * gdb.threads/interrupt-while-step-over.c: New file.
13188 * gdb.threads/interrupt-while-step-over.exp: New file.
13189
2e86a283
PA
131902017-03-08 Pedro Alves <palves@redhat.com>
13191
13192 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
13193 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
13194
25dcbff6
PA
131952017-03-08 Pedro Alves <palves@redhat.com>
13196
13197 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
13198 PKRU as not supported as a PASS.
13199
dc9366eb
PA
132002017-03-08 Pedro Alves <palves@redhat.com>
13201
13202 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
13203 prefix instead of $binfile1/$binfile2.
13204 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
13205 in test message.
13206 * gdb.python/py-completion.exp: Use "load python file" as test
13207 messages instead of unstable path names.
13208
6e5d74e7
PA
132092017-03-08 Pedro Alves <palves@redhat.com>
13210 Jan Kratochvil <jan.kratochvil@redhat.com>
13211
13212 PR cli/21218
13213 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13214 New proc.
13215 (top level): Call it.
13216
9753a2f6
PA
132172017-03-08 Pedro Alves <palves@redhat.com>
13218
13219 PR tui/21216
13220 * gdb.tui/tui-nl-filtered-output.exp: New file.
13221
1a4dd9dd
PA
132222017-03-08 Pedro Alves <palves@redhat.com>
13223
13224 * gdb.base/completion.exp: Move TUI completion tests to ...
13225 * gdb.tui/completion.exp: ... this new file.
13226
7cbbff33
PA
132272017-03-08 Pedro Alves <palves@redhat.com>
13228
13229 * gdb.base/tui-disasm-long-lines.c,
13230 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
13231 gdb.base/tui-layout.exp: Move to ...
13232 * gdb.tui/: ... this new directory.
13233
5f6fd321
PA
132342017-03-07 Pedro Alves <palves@redhat.com>
13235
13236 * gdb.base/tui-layout.c: New file.
13237 * gdb.base/tui-layout.exp: New file.
13238
44959fa8
PA
132392017-03-07 Pedro Alves <palves@redhat.com>
13240
13241 * gdb.base/tui-layout.c: Rename to ...
13242 * gdb.base/tui-disasm-long-lines.c: ... this.
13243 * gdb.base/tui-layout.exp: Rename to ...
13244 * gdb.base/tui-disasm-long-lines.exp: ... this.
13245
f8c4e718
PA
132462017-03-07 Pedro Alves <palves@redhat.com>
13247
13248 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
13249
6dbb839a 132502017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
13251
13252 * i386-mpx-call.c: New file.
13253 * i386-mpx-call.exp: New file.
13254
65b48a81
PB
132552017-02-28 Peter Bergner <bergner@vnet.ibm.com>
13256
13257 * gdb.arch/powerpc-power.exp: Delete test.
13258 * gdb.arch/powerpc-power.s: Likewise.
13259 * gdb.disasm/disassembler-options.exp: New test.
13260 * gdb.arch/powerpc-altivec.exp: Likewise.
13261 * gdb.arch/powerpc-altivec.s: Likewise.
13262 * gdb.arch/powerpc-altivec2.exp: Likewise.
13263 * gdb.arch/powerpc-altivec2.s: Likewise.
13264 * gdb.arch/powerpc-altivec3.exp: Likewise.
13265 * gdb.arch/powerpc-altivec3.s: Likewise.
13266 * gdb.arch/powerpc-power7.exp: Likewise.
13267 * gdb.arch/powerpc-power7.s: Likewise.
13268 * gdb.arch/powerpc-power8.exp: Likewise.
13269 * gdb.arch/powerpc-power8.s: Likewise.
13270 * gdb.arch/powerpc-power9.exp: Likewise.
13271 * gdb.arch/powerpc-power9.s: Likewise.
13272 * gdb.arch/powerpc-vsx.exp: Likewise.
13273 * gdb.arch/powerpc-vsx.s: Likewise.
13274 * gdb.arch/powerpc-vsx2.exp: Likewise.
13275 * gdb.arch/powerpc-vsx2.s: Likewise.
13276 * gdb.arch/powerpc-vsx3.exp: Likewise.
13277 * gdb.arch/powerpc-vsx3.s: Likewise.
13278 * gdb.arch/arm-disassembler-options.exp: Likewise.
13279 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13280 * gdb.arch/s390-disassembler-options.exp: Likewise.
13281
17cd4947
LM
132822017-02-23 Luis Machado <lgustavo@codesourcery.com>
13283
13284 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13285 (check_supported_features): ... this. Changed return type to void.
13286 (supports_rdseed): New static global.
13287 (rdseed): Check supports_rdseed.
13288 (initialize): Call check_supported_features.
13289
2039d74e
EBM
132902017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13291
13292 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13293 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13294 and lqarx/stqcx.
13295 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13296 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13297
a51d7ecf
EBM
132982017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13299
13300 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13301 uppercase.
13302
0224619f
JK
133032017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13304
13305 * gdb.dwarf2/formdata16.c: New file.
13306 * gdb.dwarf2/formdata16.exp: New file.
13307 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13308
216f72a1
JK
133092017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13310
13311 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13312 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13313 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13314 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13315 DW_AT_GNU_*.
13316
43988095
JK
133172017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13318
13319 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13320
99e8a4f9
SDJ
133212017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13322
13323 PR gdb/21164
13324 * gdb.base/maint.exp: Add testcases for when the commands do
13325 not have arguments.
13326
b58a8c0c
TP
133272017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13328
13329 * gdb.cp/chained-calls.exp: Use p instead of P.
13330
4e746bb6
TW
133312017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13332
13333 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13334 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13335
3f77c769
TT
133362017-02-14 Tom Tromey <tom@tromey.com>
13337
13338 PR python/13598:
13339 * gdb.python/py-events.exp: Add before_prompt event tests.
13340
075beec0
AA
133412017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13342
13343 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13344
bf5f525c
LM
133452017-02-13 Luis Machado <lgustavo@codesourcery.com>
13346
13347 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13348 (main): Call my_unique_function_name.
13349 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13350 completion of patterns with a single match.
13351 Add missing -re switches to gdb_test_multiple calls.
13352
13a66184
LM
133532017-02-13 Luis Machado <lgustavo@codesourcery.com>
13354
13355 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13356 return if core file is not recognized.
13357
26a06916
SM
133582017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13359
13360 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13361 and extra UIs.
13362
b761ca9e
SM
133632017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13364
13365 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13366 proc_with_prefix.
13367
b964bee0
TT
133682017-02-10 Tom Tromey <tom@tromey.com>
13369
13370 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13371
18da0c51
MG
133722017-02-10 Martin Galvan <martingalvan@sourceware.org>
13373
13374 PR gdb/21122
13375 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13376
604c4576
JG
133772017-02-08 Jerome Guitton <guitton@adacore.com>
13378
13379 * gdb.base/define.exp: Add test for command abbreviations
13380 in define.
13381
20b477a7
LM
133822017-02-06 Luis Machado <lgustavo@codesourcery.com>
13383
13384 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13385 * gdb.reverse/insn-reverse-x86.c: New file.
13386
3f7b46f2
IR
133872017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13388
13389 PR tdep/20936
13390 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13391
f0fd41c1
TT
133922017-02-03 Tom Tromey <tom@tromey.com>
13393
13394 PR rust/21097:
13395 * gdb.rust/simple.exp: Add new tests.
13396
5be5dbf0
PA
133972017-02-02 Pedro Alves <palves@redhat.com>
13398
13399 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13400 tests.
13401
7346ef59
AA
134022017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13403
13404 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13405 taking a 2-byte value out of a 4-byte DWARF implicit value on
13406 big-endian targets.
13407 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13408 logic. Add test cases for DW_OP_implicit.
13409
787f0025
MM
134102017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13411
13412 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13413
68777c29
MM
134142017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13415
13416 * gdb.btrace/enable.exp: Call gdb_exit before
13417 skip_gdbserver_tests.
13418
0a1c7e28
MM
134192017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13420
13421 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13422 GDBFLAGS.
13423
b5ac99b0
MM
134242017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13425
13426 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13427 the test is skipped.
13428 * gdb.btrace/data.exp: Likewise.
13429 * gdb.btrace/delta.exp: Likewise.
13430 * gdb.btrace/dlopen.exp: Likewise.
13431 * gdb.btrace/enable-running.exp: Likewise.
13432 * gdb.btrace/enable.exp: Likewise.
13433 * gdb.btrace/exception.exp: Likewise.
13434 * gdb.btrace/function_call_history.exp: Likewise.
13435 * gdb.btrace/gcore.exp: Likewise.
13436 * gdb.btrace/instruction_history.exp: Likewise.
13437 * gdb.btrace/multi-thread-step.exp: Likewise.
13438 * gdb.btrace/nohist.exp: Likewise.
13439 * gdb.btrace/non-stop.exp: Likewise.
13440 * gdb.btrace/reconnect.exp: Likewise.
13441 * gdb.btrace/record_goto-step.exp: Likewise.
13442 * gdb.btrace/record_goto.exp: Likewise.
13443 * gdb.btrace/rn-dl-bind.exp: Likewise.
13444 * gdb.btrace/segv.exp: Likewise.
13445 * gdb.btrace/step.exp: Likewise.
13446 * gdb.btrace/stepi.exp: Likewise.
13447 * gdb.btrace/tailcall-only.exp: Likewise.
13448 * gdb.btrace/tailcall.exp: Likewise.
13449 * gdb.btrace/tsx.exp: Likewise.
13450 * gdb.btrace/unknown_functions.exp: Likewise.
13451 * gdb.btrace/vdso.exp: Likewise.
13452
cd4007e4
MM
134532017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13454
13455 * gdb.btrace/enable-running.c: New.
13456 * gdb.btrace/enable-running.exp: New.
13457
2735833d
WT
134582017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13459
13460 * gdb.arch/amd64-gs_base.c: New file.
13461 * gdb.arch/amd64-gs_base.exp: New file.
13462
b51e1e94
LM
134632017-01-26 Luis Machado <lgustavo@codesourcery.com>
13464
13465 * lib/memory.exp: Remove spurious empty newlines.
13466
72ca0410
SM
134672017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13468
13469 * gdb.python/py-bad-printers.exp: Load python file using "source".
13470 * gdb.python/py-events.exp: Likewise.
13471 * gdb.python/py-evsignal.exp: Likewise.
13472 * gdb.python/py-evthreads.exp: Likewise.
13473 * gdb.python/py-frame-args.exp: Likewise.
13474 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13475 * gdb.python/py-framefilter-mi.exp: Likewise.
13476 * gdb.python/py-framefilter.exp: Likewise.
13477 * gdb.python/py-mi.exp: Likewise.
13478 * gdb.python/py-pp-maint.exp: Likewise.
13479 * gdb.python/py-pp-registration.exp: Likewise.
13480 * gdb.python/py-prettyprint.exp: Likewise.
13481 (run_lang_tests): Likewise.
13482 * gdb.python/py-typeprint.exp: Likewise.
13483
e309aa65
LM
134842017-01-26 Luis Machado <lgustavo@codesourcery.com>
13485
13486 * lib/memory.exp: New file.
13487 * lib/gdb.exp: Load memory.exp.
13488 * gdb.base/memattr.exp (delete_memory): Move proc to
13489 lib/memory.exp and rename to delete_memory_regions.
13490 Replace delete_memory with delete_memory_regions.
13491 Cleanup memory regions before tests.
13492 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13493 before tests.
13494
515aff23
LM
134952017-01-26 Luis Machado <lgustavo@codesourcery.com>
13496
13497 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13498 files.
13499 (initialize): New function conditionally defined.
13500 (testcases): Move within conditional block.
13501 (main): Call initialize.
13502 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13503 of gdb.reverse/insn-reverse.c.
13504 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13505 gdb.reverse/insn-reverse.c.
13506
d8b49cf0
YQ
135072017-01-26 Yao Qi <yao.qi@linaro.org>
13508
13509 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13510 disassemble on address 0.
13511
f13a9a0c
YQ
135122017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13513 Yao Qi <yao.qi@linaro.org>
13514
13515 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13516 * gdb.dwarf2/implptr-64bit.S: Remove.
13517 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13518 variables in caller's context. Add DW_OP_implicit_value.
13519
5ac95241
YQ
135202017-01-25 Yao Qi <yao.qi@linaro.org>
13521
13522 * lib/dwarf.exp (Dwarf::_location): Handle
13523 DW_OP_GNU_implicit_pointer with proper size.
13524
23e82930
LM
135252017-01-20 Luis Machado <lgustavo@codesourcery.com>
13526
13527 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13528 and add untested calls.
13529
d334ae25
LM
135302017-01-20 Luis Machado <lgustavo@codesourcery.com>
13531
13532 * gdb.python/python.exp: Check line number against what GDB thinks
13533 the line number is for func1.
13534
f5e6296e
IB
135352017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13536
13537 * gdb.dlang/debug-expr.exp: New file.
13538
5b362f04
LM
135392016-12-23 Luis Machado <lgustavo@codesourcery.com>
13540
13541 Fix test names for the following files:
13542
13543 * gdb.ada/exec_changed.exp
13544 * gdb.ada/info_types.exp
13545 * gdb.arch/aarch64-atomic-inst.exp
13546 * gdb.arch/aarch64-fp.exp
13547 * gdb.arch/altivec-abi.exp
13548 * gdb.arch/altivec-regs.exp
13549 * gdb.arch/amd64-byte.exp
13550 * gdb.arch/amd64-disp-step.exp
13551 * gdb.arch/amd64-dword.exp
13552 * gdb.arch/amd64-entry-value-inline.exp
13553 * gdb.arch/amd64-entry-value-param.exp
13554 * gdb.arch/amd64-entry-value-paramref.exp
13555 * gdb.arch/amd64-entry-value.exp
13556 * gdb.arch/amd64-i386-address.exp
13557 * gdb.arch/amd64-invalid-stack-middle.exp
13558 * gdb.arch/amd64-invalid-stack-top.exp
13559 * gdb.arch/amd64-optimout-repeat.exp
13560 * gdb.arch/amd64-prologue-skip.exp
13561 * gdb.arch/amd64-prologue-xmm.exp
13562 * gdb.arch/amd64-stap-special-operands.exp
13563 * gdb.arch/amd64-stap-wrong-subexp.exp
13564 * gdb.arch/amd64-tailcall-cxx.exp
13565 * gdb.arch/amd64-tailcall-noret.exp
13566 * gdb.arch/amd64-tailcall-ret.exp
13567 * gdb.arch/amd64-tailcall-self.exp
13568 * gdb.arch/amd64-word.exp
13569 * gdb.arch/arm-bl-branch-dest.exp
13570 * gdb.arch/arm-disp-step.exp
13571 * gdb.arch/arm-neon.exp
13572 * gdb.arch/arm-single-step-kernel-helper.exp
13573 * gdb.arch/avr-flash-qualifier.exp
13574 * gdb.arch/disp-step-insn-reloc.exp
13575 * gdb.arch/e500-abi.exp
13576 * gdb.arch/e500-regs.exp
13577 * gdb.arch/ftrace-insn-reloc.exp
13578 * gdb.arch/i386-avx512.exp
13579 * gdb.arch/i386-bp_permanent.exp
13580 * gdb.arch/i386-byte.exp
13581 * gdb.arch/i386-cfi-notcurrent.exp
13582 * gdb.arch/i386-disp-step.exp
13583 * gdb.arch/i386-dr3-watch.exp
13584 * gdb.arch/i386-float.exp
13585 * gdb.arch/i386-gnu-cfi.exp
13586 * gdb.arch/i386-mpx-map.exp
13587 * gdb.arch/i386-mpx-sigsegv.exp
13588 * gdb.arch/i386-mpx-simple_segv.exp
13589 * gdb.arch/i386-mpx.exp
13590 * gdb.arch/i386-permbkpt.exp
13591 * gdb.arch/i386-prologue.exp
13592 * gdb.arch/i386-signal.exp
13593 * gdb.arch/i386-size-overlap.exp
13594 * gdb.arch/i386-unwind.exp
13595 * gdb.arch/i386-word.exp
13596 * gdb.arch/mips-fcr.exp
13597 * gdb.arch/powerpc-d128-regs.exp
13598 * gdb.arch/powerpc-stackless.exp
13599 * gdb.arch/ppc64-atomic-inst.exp
13600 * gdb.arch/s390-stackless.exp
13601 * gdb.arch/s390-tdbregs.exp
13602 * gdb.arch/s390-vregs.exp
13603 * gdb.arch/sparc-sysstep.exp
13604 * gdb.arch/thumb-bx-pc.exp
13605 * gdb.arch/thumb-singlestep.exp
13606 * gdb.arch/thumb2-it.exp
13607 * gdb.arch/vsx-regs.exp
13608 * gdb.asm/asm-source.exp
13609 * gdb.base/a2-run.exp
13610 * gdb.base/advance.exp
13611 * gdb.base/all-bin.exp
13612 * gdb.base/anon.exp
13613 * gdb.base/args.exp
13614 * gdb.base/arithmet.exp
13615 * gdb.base/async-shell.exp
13616 * gdb.base/async.exp
13617 * gdb.base/attach-pie-noexec.exp
13618 * gdb.base/attach-twice.exp
13619 * gdb.base/auto-load.exp
13620 * gdb.base/bang.exp
13621 * gdb.base/bitfields.exp
13622 * gdb.base/break-always.exp
13623 * gdb.base/break-caller-line.exp
13624 * gdb.base/break-entry.exp
13625 * gdb.base/break-inline.exp
13626 * gdb.base/break-on-linker-gcd-function.exp
13627 * gdb.base/break-probes.exp
13628 * gdb.base/break.exp
13629 * gdb.base/breakpoint-shadow.exp
13630 * gdb.base/call-ar-st.exp
13631 * gdb.base/call-sc.exp
13632 * gdb.base/call-signal-resume.exp
13633 * gdb.base/call-strs.exp
13634 * gdb.base/callfuncs.exp
13635 * gdb.base/catch-fork-static.exp
13636 * gdb.base/catch-gdb-caused-signals.exp
13637 * gdb.base/catch-load.exp
13638 * gdb.base/catch-signal-fork.exp
13639 * gdb.base/catch-signal.exp
13640 * gdb.base/catch-syscall.exp
13641 * gdb.base/charset.exp
13642 * gdb.base/checkpoint.exp
13643 * gdb.base/chng-syms.exp
13644 * gdb.base/code-expr.exp
13645 * gdb.base/code_elim.exp
13646 * gdb.base/commands.exp
13647 * gdb.base/completion.exp
13648 * gdb.base/complex.exp
13649 * gdb.base/cond-expr.exp
13650 * gdb.base/condbreak.exp
13651 * gdb.base/consecutive.exp
13652 * gdb.base/continue-all-already-running.exp
13653 * gdb.base/coredump-filter.exp
13654 * gdb.base/corefile.exp
13655 * gdb.base/dbx.exp
13656 * gdb.base/debug-expr.exp
13657 * gdb.base/define.exp
13658 * gdb.base/del.exp
13659 * gdb.base/disabled-location.exp
13660 * gdb.base/disasm-end-cu.exp
13661 * gdb.base/disasm-optim.exp
13662 * gdb.base/display.exp
13663 * gdb.base/duplicate-bp.exp
13664 * gdb.base/ena-dis-br.exp
13665 * gdb.base/ending-run.exp
13666 * gdb.base/enumval.exp
13667 * gdb.base/environ.exp
13668 * gdb.base/eu-strip-infcall.exp
13669 * gdb.base/eval-avoid-side-effects.exp
13670 * gdb.base/eval-skip.exp
13671 * gdb.base/exitsignal.exp
13672 * gdb.base/expand-psymtabs.exp
13673 * gdb.base/filesym.exp
13674 * gdb.base/find-unmapped.exp
13675 * gdb.base/finish.exp
13676 * gdb.base/float.exp
13677 * gdb.base/foll-exec-mode.exp
13678 * gdb.base/foll-exec.exp
13679 * gdb.base/foll-fork.exp
13680 * gdb.base/fortran-sym-case.exp
13681 * gdb.base/freebpcmd.exp
13682 * gdb.base/func-ptr.exp
13683 * gdb.base/func-ptrs.exp
13684 * gdb.base/funcargs.exp
13685 * gdb.base/gcore-buffer-overflow.exp
13686 * gdb.base/gcore-relro-pie.exp
13687 * gdb.base/gcore-relro.exp
13688 * gdb.base/gcore.exp
13689 * gdb.base/gdb1090.exp
13690 * gdb.base/gdb11530.exp
13691 * gdb.base/gdb11531.exp
13692 * gdb.base/gdb1821.exp
13693 * gdb.base/gdbindex-stabs.exp
13694 * gdb.base/gdbvars.exp
13695 * gdb.base/hbreak.exp
13696 * gdb.base/hbreak2.exp
13697 * gdb.base/included.exp
13698 * gdb.base/infcall-input.exp
13699 * gdb.base/inferior-died.exp
13700 * gdb.base/infnan.exp
13701 * gdb.base/info-macros.exp
13702 * gdb.base/info-os.exp
13703 * gdb.base/info-proc.exp
13704 * gdb.base/info-shared.exp
13705 * gdb.base/info-target.exp
13706 * gdb.base/infoline.exp
13707 * gdb.base/interp.exp
13708 * gdb.base/interrupt.exp
13709 * gdb.base/jit-reader.exp
13710 * gdb.base/jit-simple.exp
13711 * gdb.base/kill-after-signal.exp
13712 * gdb.base/kill-detach-inferiors-cmd.exp
13713 * gdb.base/label.exp
13714 * gdb.base/langs.exp
13715 * gdb.base/ldbl_e308.exp
13716 * gdb.base/line-symtabs.exp
13717 * gdb.base/linespecs.exp
13718 * gdb.base/list.exp
13719 * gdb.base/long_long.exp
13720 * gdb.base/longest-types.exp
13721 * gdb.base/maint.exp
13722 * gdb.base/max-value-size.exp
13723 * gdb.base/memattr.exp
13724 * gdb.base/mips_pro.exp
13725 * gdb.base/morestack.exp
13726 * gdb.base/moribund-step.exp
13727 * gdb.base/multi-forks.exp
13728 * gdb.base/nested-addr.exp
13729 * gdb.base/nextoverexit.exp
13730 * gdb.base/noreturn-finish.exp
13731 * gdb.base/noreturn-return.exp
13732 * gdb.base/nostdlib.exp
13733 * gdb.base/offsets.exp
13734 * gdb.base/opaque.exp
13735 * gdb.base/pc-fp.exp
13736 * gdb.base/permissions.exp
13737 * gdb.base/print-symbol-loading.exp
13738 * gdb.base/prologue-include.exp
13739 * gdb.base/psymtab.exp
13740 * gdb.base/ptype.exp
13741 * gdb.base/random-signal.exp
13742 * gdb.base/randomize.exp
13743 * gdb.base/range-stepping.exp
13744 * gdb.base/readline-ask.exp
13745 * gdb.base/recpar.exp
13746 * gdb.base/recurse.exp
13747 * gdb.base/relational.exp
13748 * gdb.base/restore.exp
13749 * gdb.base/return-nodebug.exp
13750 * gdb.base/return.exp
13751 * gdb.base/run-after-attach.exp
13752 * gdb.base/save-bp.exp
13753 * gdb.base/scope.exp
13754 * gdb.base/sect-cmd.exp
13755 * gdb.base/set-lang-auto.exp
13756 * gdb.base/set-noassign.exp
13757 * gdb.base/setvar.exp
13758 * gdb.base/sigall.exp
13759 * gdb.base/sigbpt.exp
13760 * gdb.base/siginfo-addr.exp
13761 * gdb.base/siginfo-infcall.exp
13762 * gdb.base/siginfo-obj.exp
13763 * gdb.base/siginfo.exp
13764 * gdb.base/signals-state-child.exp
13765 * gdb.base/signest.exp
13766 * gdb.base/sigstep.exp
13767 * gdb.base/sizeof.exp
13768 * gdb.base/skip.exp
13769 * gdb.base/solib-corrupted.exp
13770 * gdb.base/solib-nodir.exp
13771 * gdb.base/solib-search.exp
13772 * gdb.base/stack-checking.exp
13773 * gdb.base/stale-infcall.exp
13774 * gdb.base/stap-probe.exp
13775 * gdb.base/start.exp
13776 * gdb.base/step-break.exp
13777 * gdb.base/step-bt.exp
13778 * gdb.base/step-line.exp
13779 * gdb.base/step-over-exit.exp
13780 * gdb.base/step-over-syscall.exp
13781 * gdb.base/step-resume-infcall.exp
13782 * gdb.base/step-test.exp
13783 * gdb.base/store.exp
13784 * gdb.base/structs3.exp
13785 * gdb.base/sym-file.exp
13786 * gdb.base/symbol-without-target_section.exp
13787 * gdb.base/term.exp
13788 * gdb.base/testenv.exp
13789 * gdb.base/ui-redirect.exp
13790 * gdb.base/until.exp
13791 * gdb.base/unwindonsignal.exp
13792 * gdb.base/value-double-free.exp
13793 * gdb.base/vla-datatypes.exp
13794 * gdb.base/vla-ptr.exp
13795 * gdb.base/vla-sideeffect.exp
13796 * gdb.base/volatile.exp
13797 * gdb.base/watch-cond-infcall.exp
13798 * gdb.base/watch-cond.exp
13799 * gdb.base/watch-non-mem.exp
13800 * gdb.base/watch-read.exp
13801 * gdb.base/watch-vfork.exp
13802 * gdb.base/watchpoint-cond-gone.exp
13803 * gdb.base/watchpoint-delete.exp
13804 * gdb.base/watchpoint-hw-hit-once.exp
13805 * gdb.base/watchpoint-hw.exp
13806 * gdb.base/watchpoint-stops-at-right-insn.exp
13807 * gdb.base/watchpoints.exp
13808 * gdb.base/wchar.exp
13809 * gdb.base/whatis-exp.exp
13810 * gdb.btrace/buffer-size.exp
13811 * gdb.btrace/data.exp
13812 * gdb.btrace/delta.exp
13813 * gdb.btrace/dlopen.exp
13814 * gdb.btrace/enable.exp
13815 * gdb.btrace/exception.exp
13816 * gdb.btrace/function_call_history.exp
13817 * gdb.btrace/gcore.exp
13818 * gdb.btrace/instruction_history.exp
13819 * gdb.btrace/nohist.exp
13820 * gdb.btrace/reconnect.exp
13821 * gdb.btrace/record_goto-step.exp
13822 * gdb.btrace/record_goto.exp
13823 * gdb.btrace/rn-dl-bind.exp
13824 * gdb.btrace/segv.exp
13825 * gdb.btrace/step.exp
13826 * gdb.btrace/stepi.exp
13827 * gdb.btrace/tailcall-only.exp
13828 * gdb.btrace/tailcall.exp
13829 * gdb.btrace/tsx.exp
13830 * gdb.btrace/unknown_functions.exp
13831 * gdb.btrace/vdso.exp
13832 * gdb.compile/compile-ifunc.exp
13833 * gdb.compile/compile-ops.exp
13834 * gdb.compile/compile-print.exp
13835 * gdb.compile/compile-setjmp.exp
13836 * gdb.cp/abstract-origin.exp
13837 * gdb.cp/ambiguous.exp
13838 * gdb.cp/annota2.exp
13839 * gdb.cp/annota3.exp
13840 * gdb.cp/anon-ns.exp
13841 * gdb.cp/anon-struct.exp
13842 * gdb.cp/anon-union.exp
13843 * gdb.cp/arg-reference.exp
13844 * gdb.cp/baseenum.exp
13845 * gdb.cp/bool.exp
13846 * gdb.cp/breakpoint.exp
13847 * gdb.cp/bs15503.exp
13848 * gdb.cp/call-c.exp
13849 * gdb.cp/casts.exp
13850 * gdb.cp/chained-calls.exp
13851 * gdb.cp/class2.exp
13852 * gdb.cp/classes.exp
13853 * gdb.cp/cmpd-minsyms.exp
13854 * gdb.cp/converts.exp
13855 * gdb.cp/cp-relocate.exp
13856 * gdb.cp/cpcompletion.exp
13857 * gdb.cp/cpexprs.exp
13858 * gdb.cp/cplabel.exp
13859 * gdb.cp/cplusfuncs.exp
13860 * gdb.cp/cpsizeof.exp
13861 * gdb.cp/ctti.exp
13862 * gdb.cp/derivation.exp
13863 * gdb.cp/destrprint.exp
13864 * gdb.cp/dispcxx.exp
13865 * gdb.cp/enum-class.exp
13866 * gdb.cp/exception.exp
13867 * gdb.cp/exceptprint.exp
13868 * gdb.cp/expand-psymtabs-cxx.exp
13869 * gdb.cp/expand-sals.exp
13870 * gdb.cp/extern-c.exp
13871 * gdb.cp/filename.exp
13872 * gdb.cp/formatted-ref.exp
13873 * gdb.cp/fpointer.exp
13874 * gdb.cp/gdb1355.exp
13875 * gdb.cp/gdb2495.exp
13876 * gdb.cp/hang.exp
13877 * gdb.cp/impl-this.exp
13878 * gdb.cp/infcall-dlopen.exp
13879 * gdb.cp/inherit.exp
13880 * gdb.cp/iostream.exp
13881 * gdb.cp/koenig.exp
13882 * gdb.cp/local.exp
13883 * gdb.cp/m-data.exp
13884 * gdb.cp/m-static.exp
13885 * gdb.cp/mb-ctor.exp
13886 * gdb.cp/mb-inline.exp
13887 * gdb.cp/mb-templates.exp
13888 * gdb.cp/member-name.exp
13889 * gdb.cp/member-ptr.exp
13890 * gdb.cp/meth-typedefs.exp
13891 * gdb.cp/method.exp
13892 * gdb.cp/method2.exp
13893 * gdb.cp/minsym-fallback.exp
13894 * gdb.cp/misc.exp
13895 * gdb.cp/namelessclass.exp
13896 * gdb.cp/namespace-enum.exp
13897 * gdb.cp/namespace-nested-import.exp
13898 * gdb.cp/namespace.exp
13899 * gdb.cp/nextoverthrow.exp
13900 * gdb.cp/no-dmgl-verbose.exp
13901 * gdb.cp/non-trivial-retval.exp
13902 * gdb.cp/noparam.exp
13903 * gdb.cp/nsdecl.exp
13904 * gdb.cp/nsimport.exp
13905 * gdb.cp/nsnested.exp
13906 * gdb.cp/nsnoimports.exp
13907 * gdb.cp/nsrecurs.exp
13908 * gdb.cp/nsstress.exp
13909 * gdb.cp/nsusing.exp
13910 * gdb.cp/operator.exp
13911 * gdb.cp/oranking.exp
13912 * gdb.cp/overload-const.exp
13913 * gdb.cp/overload.exp
13914 * gdb.cp/ovldbreak.exp
13915 * gdb.cp/ovsrch.exp
13916 * gdb.cp/paren-type.exp
13917 * gdb.cp/parse-lang.exp
13918 * gdb.cp/pass-by-ref.exp
13919 * gdb.cp/pr-1023.exp
13920 * gdb.cp/pr-1210.exp
13921 * gdb.cp/pr-574.exp
13922 * gdb.cp/pr10687.exp
13923 * gdb.cp/pr12028.exp
13924 * gdb.cp/pr17132.exp
13925 * gdb.cp/pr17494.exp
13926 * gdb.cp/pr9067.exp
13927 * gdb.cp/pr9167.exp
13928 * gdb.cp/pr9631.exp
13929 * gdb.cp/printmethod.exp
13930 * gdb.cp/psmang.exp
13931 * gdb.cp/psymtab-parameter.exp
13932 * gdb.cp/ptype-cv-cp.exp
13933 * gdb.cp/ptype-flags.exp
13934 * gdb.cp/re-set-overloaded.exp
13935 * gdb.cp/ref-types.exp
13936 * gdb.cp/rtti.exp
13937 * gdb.cp/scope-err.exp
13938 * gdb.cp/shadow.exp
13939 * gdb.cp/smartp.exp
13940 * gdb.cp/static-method.exp
13941 * gdb.cp/static-print-quit.exp
13942 * gdb.cp/temargs.exp
13943 * gdb.cp/templates.exp
13944 * gdb.cp/try_catch.exp
13945 * gdb.cp/typedef-operator.exp
13946 * gdb.cp/typeid.exp
13947 * gdb.cp/userdef.exp
13948 * gdb.cp/using-crash.exp
13949 * gdb.cp/var-tag.exp
13950 * gdb.cp/virtbase.exp
13951 * gdb.cp/virtfunc.exp
13952 * gdb.cp/virtfunc2.exp
13953 * gdb.cp/vla-cxx.exp
13954 * gdb.disasm/t01_mov.exp
13955 * gdb.disasm/t02_mova.exp
13956 * gdb.disasm/t03_add.exp
13957 * gdb.disasm/t04_sub.exp
13958 * gdb.disasm/t05_cmp.exp
13959 * gdb.disasm/t06_ari2.exp
13960 * gdb.disasm/t07_ari3.exp
13961 * gdb.disasm/t08_or.exp
13962 * gdb.disasm/t09_xor.exp
13963 * gdb.disasm/t10_and.exp
13964 * gdb.disasm/t11_logs.exp
13965 * gdb.disasm/t12_bit.exp
13966 * gdb.disasm/t13_otr.exp
13967 * gdb.dlang/circular.exp
13968 * gdb.dwarf2/arr-stride.exp
13969 * gdb.dwarf2/arr-subrange.exp
13970 * gdb.dwarf2/atomic-type.exp
13971 * gdb.dwarf2/bad-regnum.exp
13972 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13973 * gdb.dwarf2/callframecfa.exp
13974 * gdb.dwarf2/clztest.exp
13975 * gdb.dwarf2/corrupt.exp
13976 * gdb.dwarf2/data-loc.exp
13977 * gdb.dwarf2/dup-psym.exp
13978 * gdb.dwarf2/dw2-anon-mptr.exp
13979 * gdb.dwarf2/dw2-anonymous-func.exp
13980 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13981 * gdb.dwarf2/dw2-bad-unresolved.exp
13982 * gdb.dwarf2/dw2-basic.exp
13983 * gdb.dwarf2/dw2-canonicalize-type.exp
13984 * gdb.dwarf2/dw2-case-insensitive.exp
13985 * gdb.dwarf2/dw2-common-block.exp
13986 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13987 * gdb.dwarf2/dw2-compressed.exp
13988 * gdb.dwarf2/dw2-const.exp
13989 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13990 * gdb.dwarf2/dw2-cu-size.exp
13991 * gdb.dwarf2/dw2-dup-frame.exp
13992 * gdb.dwarf2/dw2-entry-value.exp
13993 * gdb.dwarf2/dw2-icycle.exp
13994 * gdb.dwarf2/dw2-ifort-parameter.exp
13995 * gdb.dwarf2/dw2-inline-break.exp
13996 * gdb.dwarf2/dw2-inline-param.exp
13997 * gdb.dwarf2/dw2-intercu.exp
13998 * gdb.dwarf2/dw2-intermix.exp
13999 * gdb.dwarf2/dw2-lexical-block-bare.exp
14000 * gdb.dwarf2/dw2-linkage-name-trust.exp
14001 * gdb.dwarf2/dw2-minsym-in-cu.exp
14002 * gdb.dwarf2/dw2-noloc.exp
14003 * gdb.dwarf2/dw2-op-call.exp
14004 * gdb.dwarf2/dw2-op-out-param.exp
14005 * gdb.dwarf2/dw2-opt-structptr.exp
14006 * gdb.dwarf2/dw2-param-error.exp
14007 * gdb.dwarf2/dw2-producer.exp
14008 * gdb.dwarf2/dw2-ranges-base.exp
14009 * gdb.dwarf2/dw2-ref-missing-frame.exp
14010 * gdb.dwarf2/dw2-reg-undefined.exp
14011 * gdb.dwarf2/dw2-regno-invalid.exp
14012 * gdb.dwarf2/dw2-restore.exp
14013 * gdb.dwarf2/dw2-restrict.exp
14014 * gdb.dwarf2/dw2-single-line-discriminators.exp
14015 * gdb.dwarf2/dw2-strp.exp
14016 * gdb.dwarf2/dw2-undefined-ret-addr.exp
14017 * gdb.dwarf2/dw2-unresolved.exp
14018 * gdb.dwarf2/dw2-var-zero-addr.exp
14019 * gdb.dwarf2/dw4-sig-types.exp
14020 * gdb.dwarf2/dwz.exp
14021 * gdb.dwarf2/dynarr-ptr.exp
14022 * gdb.dwarf2/enum-type.exp
14023 * gdb.dwarf2/gdb-index.exp
14024 * gdb.dwarf2/implptr-64bit.exp
14025 * gdb.dwarf2/implptr-optimized-out.exp
14026 * gdb.dwarf2/implptr.exp
14027 * gdb.dwarf2/implref-array.exp
14028 * gdb.dwarf2/implref-const.exp
14029 * gdb.dwarf2/implref-global.exp
14030 * gdb.dwarf2/implref-struct.exp
14031 * gdb.dwarf2/mac-fileno.exp
14032 * gdb.dwarf2/main-subprogram.exp
14033 * gdb.dwarf2/member-ptr-forwardref.exp
14034 * gdb.dwarf2/method-ptr.exp
14035 * gdb.dwarf2/missing-sig-type.exp
14036 * gdb.dwarf2/nonvar-access.exp
14037 * gdb.dwarf2/opaque-type-lookup.exp
14038 * gdb.dwarf2/pieces-optimized-out.exp
14039 * gdb.dwarf2/pieces.exp
14040 * gdb.dwarf2/pr10770.exp
14041 * gdb.dwarf2/pr13961.exp
14042 * gdb.dwarf2/staticvirtual.exp
14043 * gdb.dwarf2/subrange.exp
14044 * gdb.dwarf2/symtab-producer.exp
14045 * gdb.dwarf2/trace-crash.exp
14046 * gdb.dwarf2/typeddwarf.exp
14047 * gdb.dwarf2/valop.exp
14048 * gdb.dwarf2/watch-notconst.exp
14049 * gdb.fortran/array-element.exp
14050 * gdb.fortran/charset.exp
14051 * gdb.fortran/common-block.exp
14052 * gdb.fortran/complex.exp
14053 * gdb.fortran/derived-type-function.exp
14054 * gdb.fortran/derived-type.exp
14055 * gdb.fortran/logical.exp
14056 * gdb.fortran/module.exp
14057 * gdb.fortran/multi-dim.exp
14058 * gdb.fortran/nested-funcs.exp
14059 * gdb.fortran/print-formatted.exp
14060 * gdb.fortran/subarray.exp
14061 * gdb.fortran/vla-alloc-assoc.exp
14062 * gdb.fortran/vla-datatypes.exp
14063 * gdb.fortran/vla-history.exp
14064 * gdb.fortran/vla-ptr-info.exp
14065 * gdb.fortran/vla-ptype-sub.exp
14066 * gdb.fortran/vla-ptype.exp
14067 * gdb.fortran/vla-sizeof.exp
14068 * gdb.fortran/vla-type.exp
14069 * gdb.fortran/vla-value-sub-arbitrary.exp
14070 * gdb.fortran/vla-value-sub-finish.exp
14071 * gdb.fortran/vla-value-sub.exp
14072 * gdb.fortran/vla-value.exp
14073 * gdb.fortran/whatis_type.exp
14074 * gdb.go/chan.exp
14075 * gdb.go/handcall.exp
14076 * gdb.go/hello.exp
14077 * gdb.go/integers.exp
14078 * gdb.go/methods.exp
14079 * gdb.go/package.exp
14080 * gdb.go/strings.exp
14081 * gdb.go/types.exp
14082 * gdb.go/unsafe.exp
14083 * gdb.guile/scm-arch.exp
14084 * gdb.guile/scm-block.exp
14085 * gdb.guile/scm-breakpoint.exp
14086 * gdb.guile/scm-cmd.exp
14087 * gdb.guile/scm-disasm.exp
14088 * gdb.guile/scm-equal.exp
14089 * gdb.guile/scm-frame-args.exp
14090 * gdb.guile/scm-frame-inline.exp
14091 * gdb.guile/scm-frame.exp
14092 * gdb.guile/scm-iterator.exp
14093 * gdb.guile/scm-math.exp
14094 * gdb.guile/scm-objfile.exp
14095 * gdb.guile/scm-ports.exp
14096 * gdb.guile/scm-symbol.exp
14097 * gdb.guile/scm-symtab.exp
14098 * gdb.guile/scm-value-cc.exp
14099 * gdb.guile/types-module.exp
14100 * gdb.linespec/break-ask.exp
14101 * gdb.linespec/cpexplicit.exp
14102 * gdb.linespec/explicit.exp
14103 * gdb.linespec/keywords.exp
14104 * gdb.linespec/linespec.exp
14105 * gdb.linespec/ls-dollar.exp
14106 * gdb.linespec/ls-errs.exp
14107 * gdb.linespec/skip-two.exp
14108 * gdb.linespec/thread.exp
14109 * gdb.mi/mi-async.exp
14110 * gdb.mi/mi-basics.exp
14111 * gdb.mi/mi-break.exp
14112 * gdb.mi/mi-catch-load.exp
14113 * gdb.mi/mi-cli.exp
14114 * gdb.mi/mi-cmd-param-changed.exp
14115 * gdb.mi/mi-console.exp
14116 * gdb.mi/mi-detach.exp
14117 * gdb.mi/mi-disassemble.exp
14118 * gdb.mi/mi-eval.exp
14119 * gdb.mi/mi-file-transfer.exp
14120 * gdb.mi/mi-file.exp
14121 * gdb.mi/mi-fill-memory.exp
14122 * gdb.mi/mi-inheritance-syntax-error.exp
14123 * gdb.mi/mi-linespec-err-cp.exp
14124 * gdb.mi/mi-logging.exp
14125 * gdb.mi/mi-memory-changed.exp
14126 * gdb.mi/mi-read-memory.exp
14127 * gdb.mi/mi-record-changed.exp
14128 * gdb.mi/mi-reg-undefined.exp
14129 * gdb.mi/mi-regs.exp
14130 * gdb.mi/mi-return.exp
14131 * gdb.mi/mi-reverse.exp
14132 * gdb.mi/mi-simplerun.exp
14133 * gdb.mi/mi-solib.exp
14134 * gdb.mi/mi-stack.exp
14135 * gdb.mi/mi-stepi.exp
14136 * gdb.mi/mi-syn-frame.exp
14137 * gdb.mi/mi-until.exp
14138 * gdb.mi/mi-var-block.exp
14139 * gdb.mi/mi-var-child.exp
14140 * gdb.mi/mi-var-cmd.exp
14141 * gdb.mi/mi-var-cp.exp
14142 * gdb.mi/mi-var-display.exp
14143 * gdb.mi/mi-var-invalidate.exp
14144 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
14145 * gdb.mi/mi-vla-fortran.exp
14146 * gdb.mi/mi-watch.exp
14147 * gdb.mi/mi2-var-child.exp
14148 * gdb.mi/user-selected-context-sync.exp
14149 * gdb.modula2/unbounded-array.exp
14150 * gdb.multi/dummy-frame-restore.exp
14151 * gdb.multi/multi-arch-exec.exp
14152 * gdb.multi/multi-arch.exp
14153 * gdb.multi/tids.exp
14154 * gdb.multi/watchpoint-multi.exp
14155 * gdb.opencl/callfuncs.exp
14156 * gdb.opencl/convs_casts.exp
14157 * gdb.opencl/datatypes.exp
14158 * gdb.opencl/operators.exp
14159 * gdb.opencl/vec_comps.exp
14160 * gdb.opt/clobbered-registers-O2.exp
14161 * gdb.opt/inline-break.exp
14162 * gdb.opt/inline-bt.exp
14163 * gdb.opt/inline-cmds.exp
14164 * gdb.opt/inline-locals.exp
14165 * gdb.pascal/case-insensitive-symbols.exp
14166 * gdb.pascal/floats.exp
14167 * gdb.pascal/gdb11492.exp
14168 * gdb.python/lib-types.exp
14169 * gdb.python/py-arch.exp
14170 * gdb.python/py-as-string.exp
14171 * gdb.python/py-bad-printers.exp
14172 * gdb.python/py-block.exp
14173 * gdb.python/py-breakpoint-create-fail.exp
14174 * gdb.python/py-breakpoint.exp
14175 * gdb.python/py-caller-is.exp
14176 * gdb.python/py-cmd.exp
14177 * gdb.python/py-explore-cc.exp
14178 * gdb.python/py-explore.exp
14179 * gdb.python/py-finish-breakpoint.exp
14180 * gdb.python/py-finish-breakpoint2.exp
14181 * gdb.python/py-frame-args.exp
14182 * gdb.python/py-frame-inline.exp
14183 * gdb.python/py-frame.exp
14184 * gdb.python/py-framefilter-mi.exp
14185 * gdb.python/py-infthread.exp
14186 * gdb.python/py-lazy-string.exp
14187 * gdb.python/py-linetable.exp
14188 * gdb.python/py-mi-events.exp
14189 * gdb.python/py-mi-objfile.exp
14190 * gdb.python/py-mi.exp
14191 * gdb.python/py-objfile.exp
14192 * gdb.python/py-pp-integral.exp
14193 * gdb.python/py-pp-maint.exp
14194 * gdb.python/py-pp-re-notag.exp
14195 * gdb.python/py-pp-registration.exp
14196 * gdb.python/py-recurse-unwind.exp
14197 * gdb.python/py-strfns.exp
14198 * gdb.python/py-symbol.exp
14199 * gdb.python/py-symtab.exp
14200 * gdb.python/py-sync-interp.exp
14201 * gdb.python/py-typeprint.exp
14202 * gdb.python/py-unwind-maint.exp
14203 * gdb.python/py-unwind.exp
14204 * gdb.python/py-value-cc.exp
14205 * gdb.python/py-xmethods.exp
14206 * gdb.reverse/amd64-tailcall-reverse.exp
14207 * gdb.reverse/break-precsave.exp
14208 * gdb.reverse/break-reverse.exp
14209 * gdb.reverse/consecutive-precsave.exp
14210 * gdb.reverse/consecutive-reverse.exp
14211 * gdb.reverse/finish-precsave.exp
14212 * gdb.reverse/finish-reverse-bkpt.exp
14213 * gdb.reverse/finish-reverse.exp
14214 * gdb.reverse/fstatat-reverse.exp
14215 * gdb.reverse/getresuid-reverse.exp
14216 * gdb.reverse/i386-precsave.exp
14217 * gdb.reverse/i386-reverse.exp
14218 * gdb.reverse/i386-sse-reverse.exp
14219 * gdb.reverse/i387-env-reverse.exp
14220 * gdb.reverse/i387-stack-reverse.exp
14221 * gdb.reverse/insn-reverse.exp
14222 * gdb.reverse/machinestate-precsave.exp
14223 * gdb.reverse/machinestate.exp
14224 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14225 * gdb.reverse/pipe-reverse.exp
14226 * gdb.reverse/readv-reverse.exp
14227 * gdb.reverse/recvmsg-reverse.exp
14228 * gdb.reverse/rerun-prec.exp
14229 * gdb.reverse/s390-mvcle.exp
14230 * gdb.reverse/step-precsave.exp
14231 * gdb.reverse/step-reverse.exp
14232 * gdb.reverse/time-reverse.exp
14233 * gdb.reverse/until-precsave.exp
14234 * gdb.reverse/until-reverse.exp
14235 * gdb.reverse/waitpid-reverse.exp
14236 * gdb.reverse/watch-precsave.exp
14237 * gdb.reverse/watch-reverse.exp
14238 * gdb.rust/generics.exp
14239 * gdb.rust/methods.exp
14240 * gdb.rust/modules.exp
14241 * gdb.rust/simple.exp
14242 * gdb.server/connect-with-no-symbol-file.exp
14243 * gdb.server/ext-attach.exp
14244 * gdb.server/ext-restart.exp
14245 * gdb.server/ext-wrapper.exp
14246 * gdb.server/file-transfer.exp
14247 * gdb.server/server-exec-info.exp
14248 * gdb.server/server-kill.exp
14249 * gdb.server/server-mon.exp
14250 * gdb.server/wrapper.exp
14251 * gdb.stabs/exclfwd.exp
14252 * gdb.stabs/gdb11479.exp
14253 * gdb.threads/clone-new-thread-event.exp
14254 * gdb.threads/corethreads.exp
14255 * gdb.threads/current-lwp-dead.exp
14256 * gdb.threads/dlopen-libpthread.exp
14257 * gdb.threads/gcore-thread.exp
14258 * gdb.threads/sigstep-threads.exp
14259 * gdb.threads/watchpoint-fork.exp
14260 * gdb.trace/actions-changed.exp
14261 * gdb.trace/backtrace.exp
14262 * gdb.trace/change-loc.exp
14263 * gdb.trace/circ.exp
14264 * gdb.trace/collection.exp
14265 * gdb.trace/disconnected-tracing.exp
14266 * gdb.trace/ftrace.exp
14267 * gdb.trace/mi-trace-frame-collected.exp
14268 * gdb.trace/mi-trace-unavailable.exp
14269 * gdb.trace/mi-traceframe-changed.exp
14270 * gdb.trace/mi-tsv-changed.exp
14271 * gdb.trace/no-attach-trace.exp
14272 * gdb.trace/passc-dyn.exp
14273 * gdb.trace/qtro.exp
14274 * gdb.trace/range-stepping.exp
14275 * gdb.trace/read-memory.exp
14276 * gdb.trace/save-trace.exp
14277 * gdb.trace/signal.exp
14278 * gdb.trace/status-stop.exp
14279 * gdb.trace/tfile.exp
14280 * gdb.trace/trace-break.exp
14281 * gdb.trace/trace-buffer-size.exp
14282 * gdb.trace/trace-condition.exp
14283 * gdb.trace/tracefile-pseudo-reg.exp
14284 * gdb.trace/tstatus.exp
14285 * gdb.trace/unavailable.exp
14286 * gdb.trace/while-dyn.exp
14287 * gdb.trace/while-stepping.exp
14288
34c41c68
DE
142892016-12-22 Doug Evans <xdje42@gmail.com>
14290
14291 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14292 and msymbols.
14293
16e69324
YQ
142942016-12-19 Yao Qi <yao.qi@linaro.org>
14295
14296 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14297 (test_with_self): Don't call do_steps_and_nexts, and remove
14298 code about stepping into xmalloc.
14299
f94f411b
YQ
143002016-12-09 Yao Qi <yao.qi@linaro.org>
14301
14302 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14303
143042016-12-09 Yao Qi <yao.qi@linaro.org>
14305
14306 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14307
f1b5deee
PA
143082016-12-09 Pedro Alves <palves@redhat.com>
14309
14310 * gdb.base/all-architectures-0.exp: New file.
14311 * gdb.base/all-architectures-1.exp: New file.
14312 * gdb.base/all-architectures-2.exp: New file.
14313 * gdb.base/all-architectures-3.exp: New file.
14314 * gdb.base/all-architectures-4.exp: New file.
14315 * gdb.base/all-architectures-5.exp: New file.
14316 * gdb.base/all-architectures-6.exp: New file.
14317 * gdb.base/all-architectures-7.exp: New file.
14318 * gdb.base/all-architectures.exp.in: New file.
14319
364ca42e
YQ
143202016-12-09 Yao Qi <yao.qi@linaro.org>
14321
14322 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14323
107c2d62
LM
143242016-12-02 Luis Machado <lgustavo@codesourcery.com>
14325
14326 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14327 possible.
14328 Remove useless pattern-matching code.
14329
df3ee9ca
PA
143302016-12-02 Pedro Alves <palves@redhat.com>
14331
14332 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14333 procedure.
14334 (top level): Call it.
14335
ec835369
PA
143362016-12-02 Pedro Alves <palves@redhat.com>
14337
14338 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14339 New procedure.
14340 (top level): Call it.
14341
01770bbd
PA
143422016-12-02 Pedro Alves <palves@redhat.com>
14343
14344 PR cli/20559
14345 * gdb.base/commands.exp (user_defined_command_args_eval): New
14346 procedure.
14347 (top level): Call it.
14348
008459ea
LM
143492016-12-02 Luis Machado <lgustavo@codesourcery.com>
14350
14351 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14352 timeout handling.
14353
0c1b455e
TT
143542016-12-02 Tom Tromey <tom@tromey.com>
14355
14356 * gdb.dwarf2/main-subprogram.c: New file.
14357 * gdb.dwarf2/main-subprogram.exp: New file.
14358
018572b8
LM
143592016-12-01 Luis Machado <lgustavo@codesourcery.com>
14360
14361 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14362 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14363 gdb_test_no_output for a couple of cases.
14364 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14365
84c93cd5
LM
143662016-12-01 Luis Machado <lgustavo@codesourcery.com>
14367
14368 Fix test names and standardize compilation error messages throughout
14369 the following files:
14370
14371 * gdb.ada/start.exp
14372 * gdb.arch/alpha-step.exp
14373 * gdb.arch/e500-prologue.exp
14374 * gdb.arch/ftrace-insn-reloc.exp
14375 * gdb.arch/gdb1291.exp
14376 * gdb.arch/gdb1431.exp
14377 * gdb.arch/gdb1558.exp
14378 * gdb.arch/i386-dr3-watch.exp
14379 * gdb.arch/i386-sse-stack-align.exp
14380 * gdb.arch/ia64-breakpoint-shadow.exp
14381 * gdb.arch/pa-nullify.exp
14382 * gdb.arch/powerpc-aix-prologue.exp
14383 * gdb.arch/thumb-bx-pc.exp
14384 * gdb.base/annota1.exp
14385 * gdb.base/annota3.exp
14386 * gdb.base/arrayidx.exp
14387 * gdb.base/assign.exp
14388 * gdb.base/attach.exp
14389 * gdb.base/auxv.exp
14390 * gdb.base/bang.exp
14391 * gdb.base/bfp-test.exp
14392 * gdb.base/bigcore.exp
14393 * gdb.base/bitfields2.exp
14394 * gdb.base/break-fun-addr.exp
14395 * gdb.base/break-probes.exp
14396 * gdb.base/call-rt-st.exp
14397 * gdb.base/callexit.exp
14398 * gdb.base/catch-fork-kill.exp
14399 * gdb.base/charset.exp
14400 * gdb.base/checkpoint.exp
14401 * gdb.base/comprdebug.exp
14402 * gdb.base/constvars.exp
14403 * gdb.base/coredump-filter.exp
14404 * gdb.base/cursal.exp
14405 * gdb.base/cvexpr.exp
14406 * gdb.base/detach.exp
14407 * gdb.base/display.exp
14408 * gdb.base/dmsym.exp
14409 * gdb.base/dprintf-pending.exp
14410 * gdb.base/dso2dso.exp
14411 * gdb.base/dtrace-probe.exp
14412 * gdb.base/dump.exp
14413 * gdb.base/enum_cond.exp
14414 * gdb.base/exe-lock.exp
14415 * gdb.base/exec-invalid-sysroot.exp
14416 * gdb.base/execl-update-breakpoints.exp
14417 * gdb.base/exprs.exp
14418 * gdb.base/fileio.exp
14419 * gdb.base/find.exp
14420 * gdb.base/finish.exp
14421 * gdb.base/fixsection.exp
14422 * gdb.base/foll-vfork.exp
14423 * gdb.base/frame-args.exp
14424 * gdb.base/gcore.exp
14425 * gdb.base/gdb1250.exp
14426 * gdb.base/global-var-nested-by-dso.exp
14427 * gdb.base/gnu-ifunc.exp
14428 * gdb.base/hashline1.exp
14429 * gdb.base/hashline2.exp
14430 * gdb.base/hashline3.exp
14431 * gdb.base/hbreak-in-shr-unsupported.exp
14432 * gdb.base/huge.exp
14433 * gdb.base/infcall-input.exp
14434 * gdb.base/info-fun.exp
14435 * gdb.base/info-shared.exp
14436 * gdb.base/jit-simple.exp
14437 * gdb.base/jit-so.exp
14438 * gdb.base/jit.exp
14439 * gdb.base/jump.exp
14440 * gdb.base/label.exp
14441 * gdb.base/lineinc.exp
14442 * gdb.base/logical.exp
14443 * gdb.base/longjmp.exp
14444 * gdb.base/macscp.exp
14445 * gdb.base/miscexprs.exp
14446 * gdb.base/new-ui-echo.exp
14447 * gdb.base/new-ui-pending-input.exp
14448 * gdb.base/new-ui.exp
14449 * gdb.base/nodebug.exp
14450 * gdb.base/nofield.exp
14451 * gdb.base/offsets.exp
14452 * gdb.base/overlays.exp
14453 * gdb.base/pending.exp
14454 * gdb.base/pointers.exp
14455 * gdb.base/pr11022.exp
14456 * gdb.base/printcmds.exp
14457 * gdb.base/prologue.exp
14458 * gdb.base/ptr-typedef.exp
14459 * gdb.base/realname-expand.exp
14460 * gdb.base/relativedebug.exp
14461 * gdb.base/relocate.exp
14462 * gdb.base/remote.exp
14463 * gdb.base/reread.exp
14464 * gdb.base/return2.exp
14465 * gdb.base/savedregs.exp
14466 * gdb.base/sep.exp
14467 * gdb.base/sepdebug.exp
14468 * gdb.base/sepsymtab.exp
14469 * gdb.base/set-inferior-tty.exp
14470 * gdb.base/setshow.exp
14471 * gdb.base/shlib-call.exp
14472 * gdb.base/sigaltstack.exp
14473 * gdb.base/siginfo-addr.exp
14474 * gdb.base/signals.exp
14475 * gdb.base/signull.exp
14476 * gdb.base/sigrepeat.exp
14477 * gdb.base/so-impl-ld.exp
14478 * gdb.base/solib-display.exp
14479 * gdb.base/solib-overlap.exp
14480 * gdb.base/solib-search.exp
14481 * gdb.base/solib-symbol.exp
14482 * gdb.base/structs.exp
14483 * gdb.base/structs2.exp
14484 * gdb.base/symtab-search-order.exp
14485 * gdb.base/twice.exp
14486 * gdb.base/unload.exp
14487 * gdb.base/varargs.exp
14488 * gdb.base/watchpoint-solib.exp
14489 * gdb.base/watchpoint.exp
14490 * gdb.base/whatis.exp
14491 * gdb.base/wrong_frame_bt_full.exp
14492 * gdb.btrace/dlopen.exp
14493 * gdb.cell/ea-standalone.exp
14494 * gdb.cell/ea-test.exp
14495 * gdb.cp/dispcxx.exp
14496 * gdb.cp/gdb2384.exp
14497 * gdb.cp/method2.exp
14498 * gdb.cp/nextoverthrow.exp
14499 * gdb.cp/pr10728.exp
14500 * gdb.disasm/am33.exp
14501 * gdb.disasm/h8300s.exp
14502 * gdb.disasm/mn10300.exp
14503 * gdb.disasm/sh3.exp
14504 * gdb.dwarf2/dw2-dir-file-name.exp
14505 * gdb.fortran/complex.exp
14506 * gdb.fortran/library-module.exp
14507 * gdb.guile/scm-pretty-print.exp
14508 * gdb.guile/scm-symbol.exp
14509 * gdb.guile/scm-type.exp
14510 * gdb.guile/scm-value.exp
14511 * gdb.linespec/linespec.exp
14512 * gdb.mi/gdb701.exp
14513 * gdb.mi/gdb792.exp
14514 * gdb.mi/mi-breakpoint-changed.exp
14515 * gdb.mi/mi-dprintf-pending.exp
14516 * gdb.mi/mi-dprintf.exp
14517 * gdb.mi/mi-exit-code.exp
14518 * gdb.mi/mi-pending.exp
14519 * gdb.mi/mi-solib.exp
14520 * gdb.mi/new-ui-mi-sync.exp
14521 * gdb.mi/pr11022.exp
14522 * gdb.mi/user-selected-context-sync.exp
14523 * gdb.opt/solib-intra-step.exp
14524 * gdb.python/py-events.exp
14525 * gdb.python/py-finish-breakpoint.exp
14526 * gdb.python/py-mi.exp
14527 * gdb.python/py-prettyprint.exp
14528 * gdb.python/py-shared.exp
14529 * gdb.python/py-symbol.exp
14530 * gdb.python/py-template.exp
14531 * gdb.python/py-type.exp
14532 * gdb.python/py-value.exp
14533 * gdb.reverse/solib-precsave.exp
14534 * gdb.reverse/solib-reverse.exp
14535 * gdb.server/solib-list.exp
14536 * gdb.stabs/weird.exp
14537 * gdb.threads/reconnect-signal.exp
14538 * gdb.threads/stepi-random-signal.exp
14539 * gdb.trace/actions.exp
14540 * gdb.trace/ax.exp
14541 * gdb.trace/backtrace.exp
14542 * gdb.trace/change-loc.exp
14543 * gdb.trace/deltrace.exp
14544 * gdb.trace/ftrace-lock.exp
14545 * gdb.trace/ftrace.exp
14546 * gdb.trace/infotrace.exp
14547 * gdb.trace/mi-tracepoint-changed.exp
14548 * gdb.trace/packetlen.exp
14549 * gdb.trace/passcount.exp
14550 * gdb.trace/pending.exp
14551 * gdb.trace/range-stepping.exp
14552 * gdb.trace/report.exp
14553 * gdb.trace/stap-trace.exp
14554 * gdb.trace/tfind.exp
14555 * gdb.trace/trace-break.exp
14556 * gdb.trace/trace-condition.exp
14557 * gdb.trace/trace-enable-disable.exp
14558 * gdb.trace/trace-mt.exp
14559 * gdb.trace/tracecmd.exp
14560 * gdb.trace/tspeed.exp
14561 * gdb.trace/tsv.exp
14562 * lib/perftest.exp
14563
fb9feb35
LM
145642016-12-01 Luis Machado <lgustavo@codesourcery.com>
14565
14566 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14567 with gdb_test_no_output.
14568 Use command as test name.
14569
cd2ddb6c
LM
145702016-12-01 Luis Machado <lgustavo@codesourcery.com>
14571
14572 Fix test names starting with uppercase throughout the files.
14573
14574 * gdb.ada/assign_1.exp
14575 * gdb.ada/boolean_expr.exp
14576 * gdb.base/arrayidx.exp
14577 * gdb.base/del.exp
14578 * gdb.base/gcore-buffer-overflow.exp
14579 * gdb.base/testenv.exp
14580 * gdb.compile/compile.exp
14581 * gdb.python/py-framefilter-invalidarg.exp
14582 * gdb.python/py-framefilter.exp
14583
bb95117e
LM
145842016-12-01 Luis Machado <lgustavo@codesourcery.com>
14585
14586 Fix test names starting with uppercase throughout the files.
14587
14588 * gdb.ada/array_return.exp
14589 * gdb.ada/expr_delims.exp
14590 * gdb.ada/mi_dyn_arr.exp
14591 * gdb.ada/mi_interface.exp
14592 * gdb.ada/mi_var_array.exp
14593 * gdb.ada/watch_arg.exp
14594 * gdb.arch/alpha-step.exp
14595 * gdb.arch/altivec-regs.exp
14596 * gdb.arch/e500-regs.exp
14597 * gdb.arch/powerpc-d128-regs.exp
14598 * gdb.base/arrayidx.exp
14599 * gdb.base/break.exp
14600 * gdb.base/checkpoint.exp
14601 * gdb.base/debug-expr.exp
14602 * gdb.base/dmsym.exp
14603 * gdb.base/radix.exp
14604 * gdb.base/sepdebug.exp
14605 * gdb.base/testenv.exp
14606 * gdb.base/watch_thread_num.exp
14607 * gdb.base/watchpoint-cond-gone.exp
14608 * gdb.cell/break.exp
14609 * gdb.cell/ea-cache.exp
14610 * gdb.compile/compile.exp
14611 * gdb.cp/gdb2495.exp
14612 * gdb.gdb/selftest.exp
14613 * gdb.gdb/xfullpath.exp
14614 * gdb.go/hello.exp
14615 * gdb.go/integers.exp
14616 * gdb.objc/basicclass.exp
14617 * gdb.pascal/hello.exp
14618 * gdb.pascal/integers.exp
14619 * gdb.python/py-breakpoint.exp
14620 * gdb.python/py-cmd.exp
14621 * gdb.python/py-linetable.exp
14622 * gdb.python/py-xmethods.exp
14623 * gdb.python/python.exp
14624 * gdb.reverse/consecutive-precsave.exp
14625 * gdb.reverse/finish-precsave.exp
14626 * gdb.reverse/i386-precsave.exp
14627 * gdb.reverse/machinestate-precsave.exp
14628 * gdb.reverse/sigall-precsave.exp
14629 * gdb.reverse/solib-precsave.exp
14630 * gdb.reverse/step-precsave.exp
14631 * gdb.reverse/until-precsave.exp
14632 * gdb.reverse/watch-precsave.exp
14633 * gdb.threads/leader-exit.exp
14634 * gdb.threads/pthreads.exp
14635 * gdb.threads/wp-replication.exp
14636 * gdb.trace/actions.exp
14637 * gdb.trace/mi-tsv-changed.exp
14638 * gdb.trace/tsv.exp
14639
de97fdd4
LM
146402016-12-01 Luis Machado <lgustavo@codesourcery.com>
14641
14642 Fix test names starting with uppercase throughout the files.
14643
14644 * gdb.arch/i386-bp_permanent.exp
14645 * gdb.arch/i386-gnu-cfi.exp
14646 * gdb.base/disasm-end-cu.exp
14647 * gdb.base/macscp.exp
14648 * gdb.base/pending.exp
14649 * gdb.base/watch_thread_num.exp
14650 * gdb.cp/exception.exp
14651 * gdb.cp/gdb2495.exp
14652 * gdb.cp/local.exp
14653 * gdb.python/py-evsignal.exp
14654 * gdb.python/python.exp
14655 * gdb.trace/tracecmd.exp
14656
9f058c10
LM
146572016-12-01 Luis Machado <lgustavo@codesourcery.com>
14658
14659 Fix test names starting with uppercase throughout the files.
14660
14661 * gdb.base/charset.exp
14662 * gdb.base/eval.exp
14663 * gdb.base/multi-forks.exp
14664 * gdb.guile/scm-progspace.exp
14665 * gdb.opencl/datatypes.exp
14666 * gdb.python/py-block.exp
14667 * gdb.python/py-function.exp
14668 * gdb.python/py-symbol.exp
14669 * gdb.python/py-symtab.exp
14670 * gdb.python/py-xmethods.exp
14671 * gdb.reverse/break-precsave.exp
14672 * gdb.reverse/break-reverse.exp
14673 * gdb.reverse/consecutive-precsave.exp
14674 * gdb.reverse/consecutive-reverse.exp
14675 * gdb.reverse/finish-precsave.exp
14676 * gdb.reverse/finish-reverse-bkpt.exp
14677 * gdb.reverse/finish-reverse.exp
14678 * gdb.reverse/fstatat-reverse.exp
14679 * gdb.reverse/getresuid-reverse.exp
14680 * gdb.reverse/i386-precsave.exp
14681 * gdb.reverse/i386-reverse.exp
14682 * gdb.reverse/i386-sse-reverse.exp
14683 * gdb.reverse/i387-stack-reverse.exp
14684 * gdb.reverse/insn-reverse.exp
14685 * gdb.reverse/machinestate-precsave.exp
14686 * gdb.reverse/machinestate.exp
14687 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14688 * gdb.reverse/pipe-reverse.exp
14689 * gdb.reverse/readv-reverse.exp
14690 * gdb.reverse/recvmsg-reverse.exp
14691 * gdb.reverse/rerun-prec.exp
14692 * gdb.reverse/s390-mvcle.exp
14693 * gdb.reverse/sigall-precsave.exp
14694 * gdb.reverse/sigall-reverse.exp
14695 * gdb.reverse/solib-precsave.exp
14696 * gdb.reverse/solib-reverse.exp
14697 * gdb.reverse/step-precsave.exp
14698 * gdb.reverse/step-reverse.exp
14699 * gdb.reverse/time-reverse.exp
14700 * gdb.reverse/until-precsave.exp
14701 * gdb.reverse/until-reverse.exp
14702 * gdb.reverse/waitpid-reverse.exp
14703 * gdb.reverse/watch-precsave.exp
14704 * gdb.reverse/watch-reverse.exp
14705
cdc7edd7
LM
147062016-12-01 Luis Machado <lgustavo@codesourcery.com>
14707
14708 Fix test names starting with uppercase throughout the files.
14709
14710 * gdb.arch/i386-mpx-simple_segv.exp
14711 * gdb.arch/i386-mpx.exp
14712 * gdb.arch/i386-permbkpt.exp
14713 * gdb.arch/pa-nullify.exp
14714 * gdb.arch/powerpc-d128-regs.exp
14715 * gdb.arch/vsx-regs.exp
14716 * gdb.base/bfp-test.exp
14717 * gdb.base/break.exp
14718 * gdb.base/breakpoint-shadow.exp
14719 * gdb.base/callfuncs.exp
14720 * gdb.base/charset.exp
14721 * gdb.base/commands.exp
14722 * gdb.base/completion.exp
14723 * gdb.base/dfp-test.exp
14724 * gdb.base/echo.exp
14725 * gdb.base/ending-run.exp
14726 * gdb.base/eval.exp
14727 * gdb.base/expand-psymtabs.exp
14728 * gdb.base/float128.exp
14729 * gdb.base/floatn.exp
14730 * gdb.base/foll-exec-mode.exp
14731 * gdb.base/gdb1056.exp
14732 * gdb.base/gdb11531.exp
14733 * gdb.base/kill-after-signal.exp
14734 * gdb.base/multi-forks.exp
14735 * gdb.base/overlays.exp
14736 * gdb.base/pending.exp
14737 * gdb.base/sepdebug.exp
14738 * gdb.base/testenv.exp
14739 * gdb.base/valgrind-db-attach.exp
14740 * gdb.base/watch_thread_num.exp
14741 * gdb.base/watchpoint-cond-gone.exp
14742 * gdb.base/watchpoint.exp
14743 * gdb.base/watchpoints.exp
14744 * gdb.cp/arg-reference.exp
14745 * gdb.cp/baseenum.exp
14746 * gdb.cp/operator.exp
14747 * gdb.cp/shadow.exp
14748 * gdb.dwarf2/dw2-op-out-param.exp
14749 * gdb.dwarf2/dw2-reg-undefined.exp
14750 * gdb.go/chan.exp
14751 * gdb.go/hello.exp
14752 * gdb.go/integers.exp
14753 * gdb.go/methods.exp
14754 * gdb.go/package.exp
14755 * gdb.guile/scm-parameter.exp
14756 * gdb.guile/scm-progspace.exp
14757 * gdb.guile/scm-value.exp
14758 * gdb.mi/mi-pending.exp
14759 * gdb.mi/user-selected-context-sync.exp
14760 * gdb.multi/multi-attach.exp
14761 * gdb.multi/tids.exp
14762 * gdb.opt/clobbered-registers-O2.exp
14763 * gdb.pascal/floats.exp
14764 * gdb.pascal/integers.exp
14765 * gdb.python/py-block.exp
14766 * gdb.python/py-events.exp
14767 * gdb.python/py-parameter.exp
14768 * gdb.python/py-symbol.exp
14769 * gdb.python/py-symtab.exp
14770 * gdb.python/py-type.exp
14771 * gdb.python/py-value.exp
14772 * gdb.python/py-xmethods.exp
14773 * gdb.python/python.exp
14774 * gdb.reverse/break-precsave.exp
14775 * gdb.reverse/consecutive-precsave.exp
14776 * gdb.reverse/finish-precsave.exp
14777 * gdb.reverse/i386-precsave.exp
14778 * gdb.reverse/machinestate-precsave.exp
14779 * gdb.reverse/sigall-precsave.exp
14780 * gdb.reverse/solib-precsave.exp
14781 * gdb.reverse/step-precsave.exp
14782 * gdb.reverse/until-precsave.exp
14783 * gdb.reverse/watch-precsave.exp
14784 * gdb.server/ext-attach.exp
14785 * gdb.server/ext-restart.exp
14786 * gdb.server/ext-run.exp
14787 * gdb.server/ext-wrapper.exp
14788 * gdb.stabs/gdb11479.exp
14789 * gdb.stabs/weird.exp
14790 * gdb.threads/attach-many-short-lived-threads.exp
14791 * gdb.threads/kill.exp
14792 * gdb.threads/watchpoint-fork.exp
14793
bc6c7af4
LM
147942016-12-01 Luis Machado <lgustavo@codesourcery.com>
14795
14796 Fix test names starting with uppercase throughout all the files below.
14797
14798 * gdb.ada/array_return.exp
14799 * gdb.ada/catch_ex.exp
14800 * gdb.ada/info_exc.exp
14801 * gdb.ada/mi_catch_ex.exp
14802 * gdb.ada/mi_dyn_arr.exp
14803 * gdb.ada/mi_ex_cond.exp
14804 * gdb.ada/mi_exc_info.exp
14805 * gdb.ada/mi_interface.exp
14806 * gdb.ada/mi_task_arg.exp
14807 * gdb.ada/mi_task_info.exp
14808 * gdb.ada/mi_var_array.exp
14809 * gdb.arch/alpha-step.exp
14810 * gdb.arch/amd64-disp-step.exp
14811 * gdb.arch/arm-disp-step.exp
14812 * gdb.arch/disp-step-insn-reloc.exp
14813 * gdb.arch/e500-prologue.exp
14814 * gdb.arch/ftrace-insn-reloc.exp
14815 * gdb.arch/gdb1558.exp
14816 * gdb.arch/i386-bp_permanent.exp
14817 * gdb.arch/i386-disp-step.exp
14818 * gdb.arch/i386-float.exp
14819 * gdb.arch/i386-gnu-cfi.exp
14820 * gdb.arch/ia64-breakpoint-shadow.exp
14821 * gdb.arch/mips16-thunks.exp
14822 * gdb.arch/pa-nullify.exp
14823 * gdb.arch/powerpc-aix-prologue.exp
14824 * gdb.arch/powerpc-power.exp
14825 * gdb.arch/ppc-dfp.exp
14826 * gdb.arch/s390-tdbregs.exp
14827 * gdb.arch/spu-info.exp
14828 * gdb.arch/spu-ls.exp
14829 * gdb.arch/thumb-bx-pc.exp
14830 * gdb.base/advance.exp
14831 * gdb.base/annota-input-while-running.exp
14832 * gdb.base/arrayidx.exp
14833 * gdb.base/asmlabel.exp
14834 * gdb.base/async.exp
14835 * gdb.base/attach-wait-input.exp
14836 * gdb.base/auto-connect-native-target.exp
14837 * gdb.base/batch-preserve-term-settings.exp
14838 * gdb.base/bfp-test.exp
14839 * gdb.base/bigcore.exp
14840 * gdb.base/bp-permanent.exp
14841 * gdb.base/break-always.exp
14842 * gdb.base/break-fun-addr.exp
14843 * gdb.base/break-idempotent.exp
14844 * gdb.base/break-main-file-remove-fail.exp
14845 * gdb.base/break-probes.exp
14846 * gdb.base/break-unload-file.exp
14847 * gdb.base/break.exp
14848 * gdb.base/call-ar-st.exp
14849 * gdb.base/call-rt-st.exp
14850 * gdb.base/call-sc.exp
14851 * gdb.base/call-signal-resume.exp
14852 * gdb.base/call-strs.exp
14853 * gdb.base/callexit.exp
14854 * gdb.base/callfuncs.exp
14855 * gdb.base/catch-gdb-caused-signals.exp
14856 * gdb.base/catch-signal-siginfo-cond.exp
14857 * gdb.base/catch-syscall.exp
14858 * gdb.base/compare-sections.exp
14859 * gdb.base/cond-eval-mode.exp
14860 * gdb.base/condbreak-call-false.exp
14861 * gdb.base/consecutive-step-over.exp
14862 * gdb.base/cursal.exp
14863 * gdb.base/disabled-location.exp
14864 * gdb.base/disasm-end-cu.exp
14865 * gdb.base/display.exp
14866 * gdb.base/double-prompt-target-event-error.exp
14867 * gdb.base/dprintf-bp-same-addr.exp
14868 * gdb.base/dprintf-detach.exp
14869 * gdb.base/dprintf-next.exp
14870 * gdb.base/dprintf-non-stop.exp
14871 * gdb.base/dprintf-pending.exp
14872 * gdb.base/dso2dso.exp
14873 * gdb.base/ending-run.exp
14874 * gdb.base/enum_cond.exp
14875 * gdb.base/examine-backward.exp
14876 * gdb.base/exe-lock.exp
14877 * gdb.base/exec-invalid-sysroot.exp
14878 * gdb.base/execl-update-breakpoints.exp
14879 * gdb.base/execution-termios.exp
14880 * gdb.base/fileio.exp
14881 * gdb.base/fixsection.exp
14882 * gdb.base/foll-exec-mode.exp
14883 * gdb.base/foll-exec.exp
14884 * gdb.base/fork-running-state.exp
14885 * gdb.base/frame-args.exp
14886 * gdb.base/fullpath-expand.exp
14887 * gdb.base/func-ptr.exp
14888 * gdb.base/gcore-relro-pie.exp
14889 * gdb.base/gdb1090.exp
14890 * gdb.base/gdb1555.exp
14891 * gdb.base/global-var-nested-by-dso.exp
14892 * gdb.base/gnu-ifunc.exp
14893 * gdb.base/hbreak-in-shr-unsupported.exp
14894 * gdb.base/hbreak-unmapped.exp
14895 * gdb.base/hook-stop.exp
14896 * gdb.base/infcall-input.exp
14897 * gdb.base/info-fun.exp
14898 * gdb.base/info-shared.exp
14899 * gdb.base/interrupt-noterm.exp
14900 * gdb.base/jit-so.exp
14901 * gdb.base/jit.exp
14902 * gdb.base/line-symtabs.exp
14903 * gdb.base/list.exp
14904 * gdb.base/longjmp.exp
14905 * gdb.base/macscp.exp
14906 * gdb.base/max-value-size.exp
14907 * gdb.base/nodebug.exp
14908 * gdb.base/nofield.exp
14909 * gdb.base/overlays.exp
14910 * gdb.base/paginate-after-ctrl-c-running.exp
14911 * gdb.base/paginate-bg-execution.exp
14912 * gdb.base/paginate-inferior-exit.exp
14913 * gdb.base/pending.exp
14914 * gdb.base/pr11022.exp
14915 * gdb.base/printcmds.exp
14916 * gdb.base/ptr-typedef.exp
14917 * gdb.base/ptype.exp
14918 * gdb.base/randomize.exp
14919 * gdb.base/range-stepping.exp
14920 * gdb.base/realname-expand.exp
14921 * gdb.base/relativedebug.exp
14922 * gdb.base/remote.exp
14923 * gdb.base/savedregs.exp
14924 * gdb.base/sepdebug.exp
14925 * gdb.base/set-noassign.exp
14926 * gdb.base/shlib-call.exp
14927 * gdb.base/shreloc.exp
14928 * gdb.base/sigaltstack.exp
14929 * gdb.base/sigbpt.exp
14930 * gdb.base/siginfo-addr.exp
14931 * gdb.base/siginfo-obj.exp
14932 * gdb.base/siginfo-thread.exp
14933 * gdb.base/signest.exp
14934 * gdb.base/signull.exp
14935 * gdb.base/sigrepeat.exp
14936 * gdb.base/skip.exp
14937 * gdb.base/so-impl-ld.exp
14938 * gdb.base/solib-corrupted.exp
14939 * gdb.base/solib-disc.exp
14940 * gdb.base/solib-display.exp
14941 * gdb.base/solib-overlap.exp
14942 * gdb.base/solib-search.exp
14943 * gdb.base/solib-symbol.exp
14944 * gdb.base/source-execution.exp
14945 * gdb.base/sss-bp-on-user-bp-2.exp
14946 * gdb.base/sss-bp-on-user-bp.exp
14947 * gdb.base/stack-checking.exp
14948 * gdb.base/stale-infcall.exp
14949 * gdb.base/step-break.exp
14950 * gdb.base/step-line.exp
14951 * gdb.base/step-over-exit.exp
14952 * gdb.base/step-test.exp
14953 * gdb.base/structs.exp
14954 * gdb.base/sym-file.exp
14955 * gdb.base/symtab-search-order.exp
14956 * gdb.base/term.exp
14957 * gdb.base/type-opaque.exp
14958 * gdb.base/unload.exp
14959 * gdb.base/until-nodebug.exp
14960 * gdb.base/until.exp
14961 * gdb.base/unwindonsignal.exp
14962 * gdb.base/watch-cond.exp
14963 * gdb.base/watch-non-mem.exp
14964 * gdb.base/watch_thread_num.exp
14965 * gdb.base/watchpoint-reuse-slot.exp
14966 * gdb.base/watchpoint-solib.exp
14967 * gdb.base/watchpoint.exp
14968 * gdb.btrace/dlopen.exp
14969 * gdb.cell/arch.exp
14970 * gdb.cell/break.exp
14971 * gdb.cell/bt.exp
14972 * gdb.cell/core.exp
14973 * gdb.cell/data.exp
14974 * gdb.cell/dwarfaddr.exp
14975 * gdb.cell/ea-cache.exp
14976 * gdb.cell/ea-standalone.exp
14977 * gdb.cell/ea-test.exp
14978 * gdb.cell/f-regs.exp
14979 * gdb.cell/fork.exp
14980 * gdb.cell/gcore.exp
14981 * gdb.cell/mem-access.exp
14982 * gdb.cell/ptype.exp
14983 * gdb.cell/registers.exp
14984 * gdb.cell/sizeof.exp
14985 * gdb.cell/solib-symbol.exp
14986 * gdb.cell/solib.exp
14987 * gdb.compile/compile-tls.exp
14988 * gdb.cp/exception.exp
14989 * gdb.cp/gdb2495.exp
14990 * gdb.cp/local.exp
14991 * gdb.cp/mb-inline.exp
14992 * gdb.cp/mb-templates.exp
14993 * gdb.cp/pr10687.exp
14994 * gdb.cp/pr9167.exp
14995 * gdb.cp/scope-err.exp
14996 * gdb.cp/templates.exp
14997 * gdb.cp/virtfunc.exp
14998 * gdb.dwarf2/dw2-dir-file-name.exp
14999 * gdb.dwarf2/dw2-single-line-discriminators.exp
15000 * gdb.fortran/complex.exp
15001 * gdb.fortran/library-module.exp
15002 * gdb.guile/guile.exp
15003 * gdb.guile/scm-cmd.exp
15004 * gdb.guile/scm-frame-inline.exp
15005 * gdb.guile/scm-objfile.exp
15006 * gdb.guile/scm-pretty-print.exp
15007 * gdb.guile/scm-symbol.exp
15008 * gdb.guile/scm-type.exp
15009 * gdb.guile/scm-value.exp
15010 * gdb.linespec/keywords.exp
15011 * gdb.linespec/ls-errs.exp
15012 * gdb.linespec/macro-relative.exp
15013 * gdb.linespec/thread.exp
15014 * gdb.mi/mi-breakpoint-changed.exp
15015 * gdb.mi/mi-dprintf-pending.exp
15016 * gdb.mi/mi-fullname-deleted.exp
15017 * gdb.mi/mi-logging.exp
15018 * gdb.mi/mi-pending.exp
15019 * gdb.mi/mi-solib.exp
15020 * gdb.mi/new-ui-mi-sync.exp
15021 * gdb.mi/user-selected-context-sync.exp
15022 * gdb.multi/dummy-frame-restore.exp
15023 * gdb.multi/multi-arch-exec.exp
15024 * gdb.multi/remove-inferiors.exp
15025 * gdb.multi/watchpoint-multi-exit.exp
15026 * gdb.opt/solib-intra-step.exp
15027 * gdb.perf/backtrace.exp
15028 * gdb.perf/single-step.exp
15029 * gdb.perf/skip-command.exp
15030 * gdb.perf/skip-prologue.exp
15031 * gdb.perf/solib.exp
15032 * gdb.python/lib-types.exp
15033 * gdb.python/py-as-string.exp
15034 * gdb.python/py-bad-printers.exp
15035 * gdb.python/py-block.exp
15036 * gdb.python/py-breakpoint.exp
15037 * gdb.python/py-cmd.exp
15038 * gdb.python/py-events.exp
15039 * gdb.python/py-evthreads.exp
15040 * gdb.python/py-finish-breakpoint.exp
15041 * gdb.python/py-finish-breakpoint2.exp
15042 * gdb.python/py-frame-inline.exp
15043 * gdb.python/py-frame.exp
15044 * gdb.python/py-inferior.exp
15045 * gdb.python/py-infthread.exp
15046 * gdb.python/py-mi.exp
15047 * gdb.python/py-objfile.exp
15048 * gdb.python/py-pp-maint.exp
15049 * gdb.python/py-pp-registration.exp
15050 * gdb.python/py-prettyprint.exp
15051 * gdb.python/py-recurse-unwind.exp
15052 * gdb.python/py-shared.exp
15053 * gdb.python/py-symbol.exp
15054 * gdb.python/py-symtab.exp
15055 * gdb.python/py-template.exp
15056 * gdb.python/py-type.exp
15057 * gdb.python/py-unwind-maint.exp
15058 * gdb.python/py-unwind.exp
15059 * gdb.python/py-value.exp
15060 * gdb.python/python.exp
15061 * gdb.reverse/finish-reverse-bkpt.exp
15062 * gdb.reverse/insn-reverse.exp
15063 * gdb.reverse/next-reverse-bkpt-over-sr.exp
15064 * gdb.reverse/solib-precsave.exp
15065 * gdb.reverse/solib-reverse.exp
15066 * gdb.stabs/gdb11479.exp
15067 * gdb.stabs/weird.exp
15068 * gdb.threads/fork-child-threads.exp
15069 * gdb.threads/fork-plus-threads.exp
15070 * gdb.threads/fork-thread-pending.exp
15071 * gdb.threads/forking-threads-plus-breakpoint.exp
15072 * gdb.threads/hand-call-in-threads.exp
15073 * gdb.threads/interrupted-hand-call.exp
15074 * gdb.threads/linux-dp.exp
15075 * gdb.threads/local-watch-wrong-thread.exp
15076 * gdb.threads/next-while-other-thread-longjmps.exp
15077 * gdb.threads/non-ldr-exit.exp
15078 * gdb.threads/pending-step.exp
15079 * gdb.threads/print-threads.exp
15080 * gdb.threads/process-dies-while-detaching.exp
15081 * gdb.threads/process-dies-while-handling-bp.exp
15082 * gdb.threads/pthreads.exp
15083 * gdb.threads/queue-signal.exp
15084 * gdb.threads/reconnect-signal.exp
15085 * gdb.threads/signal-command-handle-nopass.exp
15086 * gdb.threads/signal-command-multiple-signals-pending.exp
15087 * gdb.threads/signal-delivered-right-thread.exp
15088 * gdb.threads/signal-sigtrap.exp
15089 * gdb.threads/sigthread.exp
15090 * gdb.threads/staticthreads.exp
15091 * gdb.threads/stepi-random-signal.exp
15092 * gdb.threads/thread-unwindonsignal.exp
15093 * gdb.threads/thread_check.exp
15094 * gdb.threads/thread_events.exp
15095 * gdb.threads/tid-reuse.exp
15096 * gdb.threads/tls-nodebug.exp
15097 * gdb.threads/tls-shared.exp
15098 * gdb.threads/tls-so_extern.exp
15099 * gdb.threads/tls.exp
15100 * gdb.threads/wp-replication.exp
15101 * gdb.trace/actions-changed.exp
15102 * gdb.trace/actions.exp
15103 * gdb.trace/backtrace.exp
15104 * gdb.trace/change-loc.exp
15105 * gdb.trace/collection.exp
15106 * gdb.trace/deltrace.exp
15107 * gdb.trace/disconnected-tracing.exp
15108 * gdb.trace/entry-values.exp
15109 * gdb.trace/ftrace-lock.exp
15110 * gdb.trace/ftrace.exp
15111 * gdb.trace/infotrace.exp
15112 * gdb.trace/mi-trace-frame-collected.exp
15113 * gdb.trace/mi-trace-unavailable.exp
15114 * gdb.trace/mi-traceframe-changed.exp
15115 * gdb.trace/mi-tracepoint-changed.exp
15116 * gdb.trace/mi-tsv-changed.exp
15117 * gdb.trace/no-attach-trace.exp
15118 * gdb.trace/packetlen.exp
15119 * gdb.trace/passc-dyn.exp
15120 * gdb.trace/passcount.exp
15121 * gdb.trace/pending.exp
15122 * gdb.trace/pr16508.exp
15123 * gdb.trace/qtro.exp
15124 * gdb.trace/range-stepping.exp
15125 * gdb.trace/read-memory.exp
15126 * gdb.trace/report.exp
15127 * gdb.trace/save-trace.exp
15128 * gdb.trace/signal.exp
15129 * gdb.trace/stap-trace.exp
15130 * gdb.trace/status-stop.exp
15131 * gdb.trace/strace.exp
15132 * gdb.trace/tfile.exp
15133 * gdb.trace/tfind.exp
15134 * gdb.trace/trace-break.exp
15135 * gdb.trace/trace-condition.exp
15136 * gdb.trace/trace-enable-disable.exp
15137 * gdb.trace/trace-mt.exp
15138 * gdb.trace/tracecmd.exp
15139 * gdb.trace/tracefile-pseudo-reg.exp
15140 * gdb.trace/tspeed.exp
15141 * gdb.trace/tstatus.exp
15142 * gdb.trace/tsv.exp
15143 * gdb.trace/unavailable.exp
15144 * gdb.trace/while-dyn.exp
15145 * gdb.trace/while-stepping.exp
15146 * lib/gdb-guile.exp
15147 * lib/gdb.exp
15148 * lib/mi-support.exp
15149 * lib/pascal.exp
15150 * lib/perftest.exp
15151 * lib/prelink-support.exp
15152 * lib/selftest-support.exp
15153
ad02e4fe
SM
151542016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
15155
15156 * Makefile.in: Include disable-implicit-rules.mk.
15157
22347e55
AA
151582016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15159
15160 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
15161 non-byte-aligned bit fields.
15162
da5b30da
AA
151632016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15164
15165 PR gdb/12616
15166 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
15167 respects the DW_AT_data_bit_offset attribute.
15168
b593ecca
SM
151692016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
15170
15171 * gdb.base/default.exp: Fix output of "set language".
15172
3b165252
SM
151732016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
15174
15175 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
15176 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
15177 make.
15178 * configure.ac: Remove checks for the make program.
15179 * configure: Re-generate.
15180
1a2f3d7f
KB
151812016-11-16 Kevin Buettner <kevinb@redhat.com>
15182
15183 * gdb.python/py-recurse-unwind.c (main): Add loop.
15184 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
15185 to read_register() and gdb.parse_and_eval(). Make each code
15186 call a separate case that can be individually tested.
15187 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
15188 proc. Call cont_and_backtrace for each of the code paths that
15189 we want to test in the unwinder.
15190
b7f38fda
AA
151912016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
15192
15193 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
15194 the definition of struct S.
15195
1f8db343
CM
151962016-11-11 Catherine Moore <clm@codesourcery.com>
15197
15198 * gdb.base/dump.exp: Identify verilog format dump tests as such.
15199
fad0c9fb
PA
152002016-11-09 Pedro Alves <palves@redhat.com>
15201
15202 * gdb.base/commands.exp (runto_or_return): New procedure.
15203 (gdbvar_simple_if_test, gdbvar_simple_while_test)
15204 (gdbvar_complex_if_while_test, progvar_simple_if_test)
15205 (progvar_simple_while_test, progvar_complex_if_while_test)
15206 (if_while_breakpoint_command_test)
15207 (infrun_breakpoint_command_test, breakpoint_command_test)
15208 (user_defined_command_test, watchpoint_command_test)
15209 (test_command_prompt_position, redefine_hook_test)
15210 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
15211 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
15212 multi_line_input and multi_line. Remove gdb_expect and
15213 gdb_stop_suppressing_tests uses.
15214 * lib/gdb.exp (valnum_re): New global.
15215 (multi_line_input): New procedure.
15216
8354c62c
SM
152172016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
15218
15219 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
15220 Remove.
15221 (test_setup): Define with proc_with_prefix.
15222 (test_cli_inferior): Likewise.
15223 (test_cli_thread): Likewise.
15224 (test_cli_frame): Likewise.
15225 (test_cli_select_frame): Likewise.
15226 (test_cli_up_down): Likewise.
15227 (test_mi_thread_select): Likewise.
15228 (test_mi_stack_select_frame): Likewise.
15229 (test_cli_in_mi_inferior): Likewise.
15230 (test_cli_in_mi_thread): Likewise.
15231 (test_cli_in_mi_frame): Likewise.
15232 (top level): Do not use with_test_prefix_procname.
15233
64f367a2
PA
152342016-11-09 Pedro Alves <palves@redhat.com>
15235
15236 * gdb.base/commands.exp (gdbvar_simple_if_test)
15237 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
15238 (progvar_simple_if_test, progvar_simple_while_test)
15239 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
15240 (infrun_breakpoint_command_test, breakpoint_command_test)
15241 (user_defined_command_test, watchpoint_command_test)
15242 (test_command_prompt_position, deprecated_command_test)
15243 (bp_deleted_in_command, temporary_breakpoint_commands)
15244 (stray_arg0_test, source_file_with_indented_comment)
15245 (recursive_source_test, if_commands_test)
15246 (error_clears_commands_left, redefine_hook_test)
15247 (redefine_backtrace_test): Use proc_with_prefix.
15248 * lib/gdb.exp (proc_with_prefix): New proc.
15249
0bb65f1e
AA
152502016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15251
15252 * gdb.base/tui-layout.c: New file.
15253 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
15254 disassembly window contains very long lines.
15255
7353f247
TT
152562016-11-08 Tom Tromey <tom@tromey.com>
15257
15258 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15259 depend on Python 2.
15260
30a7bb83
TT
152612016-11-08 Tom Tromey <tom@tromey.com>
15262
15263 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15264 New method.
15265
cdf5a07c
MG
152662016-10-29 Manish Goregaokar <manish@mozilla.com>
15267
2806dc7e 15268 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 15269
51a789c3
MG
152702016-10-27 Manish Goregaokar <manish@mozilla.com>
15271
2806dc7e
PA
15272 * gdb.rust/simple.rs: Add test for univariant enums without
15273 discriminants and for encoded struct-like enums.
51a789c3 15274
f610ab6d
PA
152752016-10-28 Pedro Alves <palves@redhat.com>
15276
15277 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15278 gdb_test_multiple, tighten regexps and match symtabs and line
15279 tables incrementally.
15280
b129b0ca
LM
152812016-10-28 Luis Machado <lgustavo@codesourcery.com>
15282
15283 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15284 general.
15285
ecf45d2c
SL
152862016-10-25 Luis Machado <lgustavo@codesourcery.com>
15287
15288 * gdb.base/exec-invalid-sysroot.exp: New file.
15289
b8d38ee4
JK
152902016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15291
15292 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15293
f90fd8c2
JK
152942016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15295
15296 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15297
2d2476aa
MR
152982016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15299
2806dc7e
PA
15300 * gdb.base/killed-outside.exp: Remove $options from a call to
15301 `prepare_for_testing'.
2d2476aa 15302
e42b25a0
SM
153032016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15304
15305 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15306 Change test message.
15307
3ccdb432
SM
153082016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15309
15310 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15311 Update comment.
15312
5bad3170
SM
153132016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15314
15315 * gdb.trace/mi-trace-save.exp: New file.
15316
5ad9dba7
YQ
153172016-10-13 Yao Qi <yao.qi@linaro.org>
15318
15319 * gdb.base/code_elim.exp (get_var_address): Remove.
15320 * gdb.base/relocate.exp: Likewise.
15321 * gdb.base/shreloc.exp: Likewise.
15322 * lib/gdb.exp (get_var_address): New.
15323
62df7e21
YQ
153242016-10-13 Yao Qi <yao.qi@linaro.org>
15325
15326 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15327 floating point tests if $skip_float_test is false.
15328
4dac951e
LM
153292016-10-12 Luis Machado <lgustavo@codesourcery.com>
15330
15331 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15332 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15333 argc values.
15334 Add 1 to argc so we guarantee distinct initial/modified argc values.
15335
8f1a8fc4
JK
153362016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15337
15338 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15339
16c85b5d
JK
153402016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15341
15342 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15343 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15344 * gdb.arch/vsx-regs.exp: Likewise.
15345
1d0e042a
YQ
153462016-10-07 Yao Qi <yao.qi@linaro.org>
15347
15348 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15349
68dadef5
MM
153502016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15351
15352 * gdb.python/python.exp: Test decode_line("*0").
15353
33fa2c6e
DE
153542016-10-06 Doug Evans <dje@google.com>
15355
15356 * gdb.python/py-value.exp (test_value_creation): Add test for large
15357 unsigned 64-bit value.
15358
9c37b5ae
TT
153592016-10-06 Tom Tromey <tom@tromey.com>
15360
15361 * gdb.compile/compile.exp: Change java tests to rust.
15362 * gdb.base/setshow.exp: Change java tests to rust.
15363 * gdb.base/default.exp: Remove java from language list.
15364 * README (Examples): Update language example.
15365 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15366 test.
15367 * lib/gdb.exp (skip_java_tests): Remove.
15368 * lib/java.exp: Remove.
15369 * gdb.java: Remove.
15370
78b86327
MR
153712016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15372
15373 * gdb.arch/mips-fcr.exp: New test.
15374 * gdb.arch/mips-fcr.c: Source for the new test.
15375
7470adbb
MR
153762016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15377
15378 * gdb.base/solib-disc.exp: Use `standard_output_file'
15379 throughout.
15380
4a556533
PA
153812016-10-06 Pedro Alves <palves@redhat.com>
15382
15383 * gdb.base/jit-simple-dl.c: New file.
15384 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15385 * gdb.base/jit-simple.c: ... this.
15386 * gdb.base/jit-simple.exp (jit_run): Delete.
15387 (build_jit): New proc.
15388 (jit_test_reread): Recompile either the main program or the shared
15389 library, depending on what is being tested. Skip changing address
15390 if caller wants to. Compare before/after addresses. If testing
15391 standalone, explicitly load the binary. Test "maint info
15392 breakpoints".
15393 (top level): Add "standalone vs shared lib" and "change address"
15394 vs "same address" axes.
15395
5a122fbc
PA
153962016-10-06 Pedro Alves <palves@redhat.com>
15397
15398 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15399 call.
15400 (jit_run): Delete.
15401 (jit_test_reread): Use with_test_prefix. Reload the main binary
15402 explicitly. Compare the before/after addresses of the JIT
15403 descriptor.
15404
ee8da4b8
DE
154052016-08-15 Doug Evans <dje@google.com>
15406
15407 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15408 for single bitfields is bool.
15409 * gdb.xml/tdesc-regs.exp: Ditto.
15410
f389f6fe
JK
154112016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15412
15413 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15414
fdebf1a4
YQ
154152016-10-05 Yao Qi <yao.qi@linaro.org>
15416
15417 * lib/gdb.exp (support_complex_tests): Return zero if
15418 gdb_skip_float_test return true.
15419
9c36d954 154202016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15421 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
15422
15423 PR gdb/20487
15424 * gdb.mi/user-selected-context-sync.exp: New file.
15425 * gdb.mi/user-selected-context-sync.c: New file.
15426
4034d0ff 154272016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15428 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
15429
15430 PR gdb/20487
15431 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15432 =thread-select-event check.
15433
a4297203
PB
154342016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15435
15436 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15437 the compulsory L operand changes.
15438 * gdb.arch/powerpc-power.s: Likewise.
15439
bb805577
JK
154402016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15441
15442 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15443 * gdb.base/jit-attach-pie.c: New file.
15444 * gdb.base/jit-attach-pie.exp: New file.
15445
6d61dee5
PA
154462016-09-28 Pedro Alves <palves@redhat.com>
15447
15448 * gdb.base/infcall-input.c: New file.
15449 * gdb.base/infcall-input.exp: New file.
15450
f73842fc
YQ
154512016-09-22 Yao Qi <yao.qi@linaro.org>
15452
15453 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15454 (gdb_exit): Rename it to ...
15455 (gdbserver_gdb_exit): ... Close GDBserver.
15456 (gdb_exit): New proc, call gdbserver_gdb_exit.
15457 (mi_gdb_exit): Likewise.
15458
90681dab
YQ
154592016-09-22 Yao Qi <yao.qi@linaro.org>
15460
15461 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15462 path.
15463 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15464 Remove duplication.
15465
9c211fd8
YQ
154662016-09-22 Yao Qi <yao.qi@linaro.org>
15467
15468 * lib/gdbserver-support.exp: Check the existence of
15469 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15470
ad0a504f
AK
154712016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15472
15473 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15474
36cf1806
TT
154752016-09-21 Tom Tromey <tom@tromey.com>
15476
15477 PR gdb/20604:
15478 * gdb.base/quit.exp: New file.
15479
74172ecf
SM
154802016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15481
15482 * .gitignore: New file.
15483
3d0ec882
MR
154842016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15485
15486 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15487 throughout.
15488
8193adea
AA
154892016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15490
15491 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15492
d41a5c09
JK
154932016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15494
15495 * gdb.cp/casts.cc (decltype): Move it ...
15496 (main): ... with its call to ...
15497 * gdb.cp/casts03.cc: ... a new file.
15498 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15499
d2dfe700
JK
155002016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15501
15502 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15503
e2a92b16
PB
155042016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15505
15506 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15507 and sync up the test with tests in gas/testsuite/gas/ppc.
15508 * gdb.arch/powerpc-power.exp: Likewise.
15509
49b4de64
JK
155102016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15511
15512 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15513
2c29df25
SDJ
155142016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15515 Jan Kratochvil <jan.kratochvil@redhat.com>
15516
15517 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15518 make m1's definition to be different from m2's. Use 'dummy' as an
15519 argument for probe 'two'.
15520
cc3c2846
JB
155212016-09-10 Jon Beniston <jon@beniston.com>
15522
15523 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15524 for sim target.
15525
e1b2624a
AA
155262016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15527
15528 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15529 variable declaration.
15530 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15531 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15532 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15533 received HWCAP as its argument.
15534
4295e285
PA
155352016-09-06 Pedro Alves <palves@redhat.com>
15536
15537 * gdb.base/new-ui-pending-input.c: New file.
15538 * gdb.base/new-ui-pending-input.exp: New file.
15539 * gdb.exp (clear_gdb_spawn_id): New procedure.
15540 (with_spawn_id): Check whether gdb_spawn_id exists before
15541 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15542 on exit.
15543
00d5215e
UW
155442016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15545
15546 * gdb.base/float128.c: New file.
15547 * gdb.base/float128.exp: Likewise.
15548 * gdb.base/floatn.c: Likewise.
15549 * gdb.base/floatn.exp: Likewise.
15550
a9ff5f12
UW
155512016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15552
15553 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15554
f245535c
PA
155552016-09-05 Pedro Alves <palves@redhat.com>
15556
15557 PR backtrace/19927
15558 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15559 unwinders are immediately called as side effect of "source" or
15560 "disable unwinder" commands.
15561 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15562
ae9cf263
YQ
155632016-09-02 Yao Qi <yao.qi@linaro.org>
15564
15565 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15566 is true and $type is "float" or "double".
15567
27aba047
YQ
155682016-09-02 Yao Qi <yao.qi@linaro.org>
15569
15570 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15571 true.
15572 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15573 * gdb.base/call-rt-st.exp: Likewise.
15574 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15575 return value instead of gdb,skip_float_test.
15576 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15577 (do_function_calls): Use its return value instead of
15578 gdb,skip_float_test.
15579 * gdb.base/finish.exp: Likewise.
15580 * gdb.base/funcargs.exp: Likewise.
15581 * gdb.base/return.exp: Likewise.
15582 * gdb.base/return2.exp: Likewise.
15583 * gdb.base/varargs.exp: Likewise.
15584 * lib/gdb.exp (gdb_skip_float_test): Change it to
15585 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15586
5af962df
AA
155872016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15588
15589 * gdb.multi/tids.exp: Test "thread apply all".
15590
7fac6910
JK
155912016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15592
15593 * gdb.base/default.exp (tty): Remove.
15594
bb1fe4ac
KB
155952016-08-24 Kevin Buettner <kevinb@redhat.com>
15596
2806dc7e
PA
15597 * gdb.python/py-recurse-unwind.c: New file.
15598 * gdb.python/py-recurse-unwind.py: New file.
15599 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15600
0a1ddfa6
SM
156012016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15602
15603 * gdb.base/set-inferior-tty.exp: New file.
15604 * gdb.base/set-inferior-tty.c: New file.
15605
d9de1fe3
PA
156062016-08-23 Pedro Alves <palves@redhat.com>
15607
15608 PR gdb/20494
15609 * gdb.base/new-ui-echo.c: New file.
15610 * gdb.base/new-ui-echo.exp: New file.
15611
e9d9abd7
YQ
156122016-08-23 Yao Qi <yao.qi@linaro.org>
15613
15614 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15615 gdbserver_spawn.
15616 * gdb.server/connect-without-multi-process.exp (do_test):
15617 Likewise.
15618
3589529e
YQ
156192016-08-23 Yao Qi <yao.qi@linaro.org>
15620
15621 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15622 standalone_txt. Delete gdb_txt and standalone_txt on host
15623 and target. Spawn the binary on target. Copy files from
15624 target to host.
15625
6bb90213
PA
156262016-08-22 Pedro Alves <palves@redhat.com>
15627
15628 PR gdb/20505
15629 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15630 with_test_prefix. Factor out bits to ...
15631 (test_no_vdso): ... this new procedure.
15632
20c2c024
CL
156332016-08-19 Carl Love <cel@us.ibm.com>
15634
15635 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15636 maintaining separate logic for constructing the output path.
15637 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15638 * gdb.arch/ppc-dfp.exp: Likewise.
15639 * gdb.arch/ppc-fp.exp: Likewise.
15640 * gdb.arch/vsx-regs.exp: Likewise.
15641 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15642 binprefix for generating the additional binary files.
15643
0646e07d
PA
156442016-08-19 Pedro Alves <palves@redhat.com>
15645
15646 * gdb.trace/mi-trace-frame-collected.exp
15647 (test_trace_frame_collected): On x32, expect two registers.
15648
46da9242
CL
156492016-08-18 Carl Love <cel@us.ibm.com>
15650
15651 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15652 and sync up the test with tests in gas/testsuite/gas/ppc.
15653 * gdb.arch/powerpc-power.exp: Likewise.
15654
eb2332d7
SM
156552016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15656
15657 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15658 expected error message.
15659
63c61e04
SM
156602016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15661
15662 * gdb.multi/remove-inferiors.exp: New file.
15663 * gdb.multi/remove-inferiors.c: New file.
15664
7b17065f
YQ
156652016-08-12 Yao Qi <yao.qi@linaro.org>
15666
15667 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15668 argument list.
15669
01d3dedf
PA
156702016-08-10 Pedro Alves <palves@redhat.com>
15671
15672 PR gdb/19187
15673 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15674 setup_kfails.
15675
3eb7562a
PA
156762016-08-09 Pedro Alves <palves@redhat.com>
15677 Simon Marchi <simon.marchi@ericsson.com>
15678
15679 PR gdb/20418
15680 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15681 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15682
80614914
PA
156832016-08-09 Pedro Alves <palves@redhat.com>
15684
15685 PR mi/20431
15686 * gdb.mi/mi-cmd-error.exp: New file.
15687
f348d89a
PA
156882016-08-09 Pedro Alves <palves@redhat.com>
15689
15690 PR gdb/18653
15691 * gdb.base/signals-state-child.c: New file.
15692 * gdb.base/signals-state-child.exp: New file.
15693 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15694
e5ca03b4
PA
156952016-08-09 Pedro Alves <palves@redhat.com>
15696
15697 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15698
282a0691
TT
156992016-08-03 Tom Tromey <tom@tromey.com>
15700
15701 PR python/18565:
15702 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15703
41bfcd63
YQ
157042016-08-01 Yao Qi <yao.qi@linaro.org>
15705
15706 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15707 variable mode to "multi-process" if $multi_process is 1, otherwise
15708 set it to "single-process".
15709
e3465b24
YQ
157102016-08-01 Yao Qi <yao.qi@linaro.org>
15711
15712 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15713 * gdb.cp/cpexprs.exp: Likewise.
15714 * gdb.cp/m-static.exp: Likewise.
15715
0b31a4bc
TT
157162016-07-26 Tom Tromey <tom@tromey.com>
15717
15718 PR python/20190:
15719 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15720 test.
15721
e0461dbb
MM
157222016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15723
15724 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15725 selecting assembly source files.
15726 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15727 assembly source files.
15728 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15729 assembly source files.
15730 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15731 selecting assembly source files.
15732
8194e927
SM
157332016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15734
15735 * gdb.base/new-ui.exp (do_test_invalid_args): New
15736 procedure.
15737
c0272db5
TW
157382016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15739
15740 * gdb.btrace/reconnect.c: New file.
15741 * gdb.btrace/reconnect.exp: New file.
15742
e3487908
GKB
157432016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15744
15745 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15746 to test_catch_syscall_group.
15747 (test_catch_syscall_group): New.
15748
12df5c00
TT
157492016-07-21 Tom Tromey <tom@tromey.com>
15750
15751 * gdb.rust/simple.rs (main): Use empty struct expression.
15752 * gdb.rust/simple.exp: Add tests for empty struct expression.
15753
bae62ee2
YQ
157542016-07-21 Yao Qi <yao.qi@linaro.org>
15755
15756 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15757 if gdb_skip_xml_test is true on some targets.
15758
b1b53fb3
YQ
157592016-07-21 Yao Qi <yao.qi@linaro.org>
15760
15761 * gdb.server/solib-list.exp: Unset last_loaded_file.
15762
027d97f8
JK
157632016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15764
15765 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15766 "step into captured_main (args)".
15767
7674d381
JK
157682016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15769
15770 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15771
72b5d099
JK
157722016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15773
15774 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15775
1f960ced
PA
157762016-07-19 Pedro Alves <palves@redhat.com>
15777
15778 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15779 * gdb.opt/inline-bt.exp: Likewise.
15780 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15781 additional_flags=-Winline.
15782 * gdb.opt/inline-locals.exp: Likewise.
15783 * gdb.opt/inline-markers.c (ATTR): Define.
15784 (inlined_fn): Use it.
15785
f25827c1
YQ
157862016-07-19 Yao Qi <yao.qi@linaro.org>
15787
15788 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15789 (test_with_self): Remove some code. Remove argument executable.
15790 (top-level): Use do_self_tests.
15791
37539ebe
DB
157922016-07-15 Zachary Welch <zwelch@codesourcery.com>
15793 Don Breazeal <donb@codesourcery.com>
15794
15795 * gdb.base/maint.exp: Escape paths used in regular expressions.
15796 * gdb.stabs/weird.exp: Likewise.
15797
dac790e1
TT
157982016-07-13 Tom Tromey <tom@tromey.com>
15799
15800 PR python/15620, PR python/18620:
15801 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15802 (test_bkpt_events): New procs.
15803
93daf339
TT
158042016-07-13 Tom Tromey <tom@tromey.com>
15805
15806 PR python/17698:
15807 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15808 test.
15809 (test_watchpoints): Likewise.
15810 (test_bkpt_pending): New proc.
15811
6571a381
TT
158122016-07-13 Tom Tromey <tom@tromey.com>
15813
15814 PR cli/18053:
15815 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15816 completion test.
15817
e8732474
JK
158182016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15819
15820 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15821 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15822 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15823 f_label.
15824 (g): Rename g_end_lbl to g_label.
15825 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15826 low_pc and high_pc.
15827 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15828
e0f3fd7c
TT
158292016-07-12 Tom Tromey <tom@tromey.com>
15830
15831 PR python/19293:
15832 * gdb.python/py-unwind-maint.exp: Update tests.
15833
3cfe46b6
YQ
158342016-07-12 Yao Qi <yao.qi@linaro.org>
15835
15836 * lib/selftest-support.exp (selftest_setup): Match the output
15837 when captured_main is inlined.
15838
4f19a0e6
WT
158392016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15840
15841 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15842 New variables.
15843 (print this%a, print this%b, print this): New tests.
15844 * gdb.fortran/derived-types.f90 (this): New object and
15845 initialization.
15846
986cf455
SM
158472016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15848
15849 * gdb.ada/arraydim.exp: Remove extra directory level in build
15850 directory.
15851
f0464b23
SM
158522016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15853
15854 * lib/ada.exp: Remove extra directory level in build directory.
15855 * gdb.ada/cond_lang.exp: Likewise.
15856 * gdb.ada/exec_changed.exp: Likewise.
15857 * gdb.ada/lang_switch.exp: Likewise.
15858
42d94011
MG
158592016-07-06 Manish Goregaokar <manish@mozilla.com>
15860
2806dc7e
PA
15861 * simple.rs: Add test for raw pointer subscripting.
15862 * simple.exp: Add test expectations.
42d94011 15863
647c264c
YQ
158642016-07-05 Yao Qi <yao.qi@linaro.org>
15865
15866 * gdb.mi/mi-reverse.exp: Match =record-started output.
15867
20aa2c60
PA
158682016-07-01 Pedro Alves <palves@redhat.com>
15869
15870 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15871 procedure.
15872 (jit_reader_test): Test the jit reader's unwinder.
15873 * gdb.base/jithost.c (jit_function_00_code): New global.
15874 (main): Use memcpy to fill in the mmapped code, instead of poking
15875 bytes manually here.
15876 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15877 value.
15878 (read_debug_info): Save the function's range.
15879 (read_sp): New function.
15880 (unwind_frame): Use it. Also unwind RBP.
15881 (get_frame_id): Use read_sp.
15882 (gdb_init_reader): Use calloc instead of malloc.
15883 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15884 parameter. Use gdb_test_multiple.
15885
ced2dffb
PA
158862016-07-01 Pedro Alves <palves@redhat.com>
15887 Antoine Tremblay <antoine.tremblay@ericsson.com>
15888
15889 * gdb.threads/process-dies-while-detaching.c: New file.
15890 * gdb.threads/process-dies-while-detaching.exp: New file.
15891
63000888
PA
158922016-07-01 Pedro Alves <palves@redhat.com>
15893
15894 * gdb.multi/watchpoint-multi-exit.c: New file.
15895 * gdb.multi/watchpoint-multi-exit.exp: New file.
15896
038d4868
PA
158972016-06-30 Pedro Alves <palves@redhat.com>
15898
15899 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15900 unset inferior_spawn_id.
15901
994e9c83
PA
159022016-06-30 Pedro Alves <palves@redhat.com>
15903
15904 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15905 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15906
e5653468
YQ
159072016-06-29 Yao Qi <yao.qi@linaro.org>
15908
15909 * gdb.base/return.c: Add copyright header.
15910
803b47e5
TT
159112016-06-29 Tom Tromey <tom@tromey.com>
15912
15913 PR python/20129:
15914 * gdb.python/py-framefilter.exp: Add tests for setting priority
15915 and disabling of non-existent frame filter.
15916
28244707
YQ
159172016-06-29 Yao Qi <yao.qi@linaro.org>
15918
15919 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15920 0x0f07ff.
15921
a31d2f06
YQ
159222016-06-28 Yao Qi <yao.qi@linaro.org>
15923
15924 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15925 triplets. Start gdb, execute catch syscall, and continue. Check
15926 gdb's output to determine catch syscall is supported.
15927
921d8f54
MG
159282016-06-27 Manish Goregaokar <manish@mozilla.com>
15929
25d49b86
PA
15930 * gdb.rust/simple.rs: Add test for returning unit in a function.
15931 * gdb.rust/simple.exp: Add expectation for functions returning
15932 unit.
921d8f54 15933
f4952523
PMR
159342016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15935
15936 * gdb.python/py-breakpoint-create-fail.c,
15937 gdb.python/py-breakpoint-create-fail.exp,
15938 gdb.python/py-breakpoint-create-fail.py: New testcase.
15939
fccb08f8
MG
159402016-06-25 Manish Goregaokar <manish@mozilla.com>
15941
15942 PR gdb/20239
15943 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15944 * gdb.rust/simple.exp: Add test expectations for new NonZero
15945 tests.
fccb08f8 15946
6b850546
DT
159472016-06-24 David Taylor <dtaylor@emc.com>
15948
15949 * gdb.base/offsets.exp: New file.
15950 * gdb.base/offsets.c: New file.
15951
17621150
TT
159522016-06-23 Tom Tromey <tom@tromey.com>
15953
15954 PR gdb/16483:
15955 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15956 before any filters are loaded.
15957
04d59df6
WT
159582016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15959
15960 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15961 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15962 structs.
15963 * gdb.fortran/derived-type-function.exp: New file.
15964 * gdb.fortran/derived-type-function.f90: New file.
15965
15966
ac69f786
PA
159672016-06-21 Pedro Alves <palves@redhat.com>
15968
15969 * gdb.base/new-ui.exp: New file.
15970 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15971 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15972 (with_spawn_id): New procedure.
15973
49940788
PA
159742016-06-21 Pedro Alves <palves@redhat.com>
15975
15976 * gdb.mi/mi-exec-run.exp: New file.
15977
ef274d26
PA
159782016-06-21 Pedro Alves <palves@redhat.com>
15979
15980 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15981 breakpoint command's output on the main UI.
15982 (test_break): New procedure, factored out from calls in the top
15983 level.
15984 (top level): Use foreach_with_prefix to test MI as main UI and as
15985 separate UI.
15986
468afe6c
PA
159872016-06-21 Pedro Alves <palves@redhat.com>
15988
15989 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15990 (test_awatch_creation_and_listing)
15991 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15992 Remove 'type' parameter.
15993 (test_watchpoint_all): New parameter mi_mode. Remove
15994 with_test_prefix.
15995 (top level): Use foreach_with_prefix, and add main/separate UI MI
15996 testing axis.
15997
51f77c37
PA
159982016-06-21 Pedro Alves <palves@redhat.com>
15999
16000 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
16001 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
16002 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
16003 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
16004 (gdb_main_spawn_id, mi_spawn_id): Declare and
16005 comment.
16006 (mi_create_inferior_pty): New procedure,
16007 factored out from default_mi_gdb_start.
16008 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
16009 procedures.
16010 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
16011 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
16012 Use mi_create_inferior_pty.
16013 (mi_gdb_start): Use eval to pass down args list.
16014
8980e177
PA
160152016-06-21 Pedro Alves <palves@redhat.com>
16016
16017 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
16018 * gdb.opt/inline-cmds.exp: Add MI tests.
16019
f38d3ad1
PA
160202016-06-21 Pedro Alves <palves@redhat.com>
16021
16022 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
16023
45db7c09
PA
160242016-06-21 Pedro Alves <palves@redhat.com>
16025
16026 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
16027 (top level): Use it instead of mi_execute_to.
16028
5a069ab3
PA
160292016-06-21 Pedro Alves <palves@redhat.com>
16030
16031 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
16032 (cont_handler_str): New.
16033 (signal_stop_handler): Set stop_handler_str instead of printing to
16034 stdout.
16035 (continue_handler): Set cont_handler_str instead of printing to
16036 stdout.
16037 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
16038 mi_send_resuming_command. Print stop_handler_str and
16039 cont_handler_str instead of expecting the python events print
16040 directly.
16041
2838cc1d
SD
160422016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
16043
16044 * gdb.base/jit-reader.exp: New file.
16045 * gdb.base/jithost.c: New file.
16046 * gdb.base/jithost.h: New file.
16047 * gdb.base/jitreader.c : New file.
16048 * gdb.base/jit-protocol.h: New file.
16049
21a77091
YQ
160502016-06-17 Yao Qi <yao.qi@linaro.org>
16051
16052 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
16053 parameters follow_fork and detach_on_fork. Set follow-fork-mode
16054 and detach-on-fork. Adjust tests.
16055 (top level): Invoke break_cond_on_syscall with combinations of
16056 syscall, follow-fork-mode and detach-on-fork.
16057
f50bf8e5
YQ
160582016-06-17 Yao Qi <yao.qi@linaro.org>
16059
16060 * gdb.base/step-over-exit.c: New.
16061 * gdb.base/step-over-exit.exp: New.
16062
a28d8e50
YTL
160632016-06-17 Yan-Ting Lin <currygt52@gmail.com>
16064
16065 * gdb.base/float.exp: Add target check for nds32*-*-*.
16066 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
16067
cad8e26d
AB
160682016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
16069
16070 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
16071 for unsupported target features.
16072 * gdb.base/call-rt-st.exp: Likewise.
16073 * gdb.base/call-sc.exp: Likewise.
16074 * gdb.base/call-signal-resume.exp: Likewise.
16075 * gdb.base/call-strs.exp: Likewise.
16076 * gdb.base/callexit.exp: Likewise.
16077 * gdb.base/callfuncs.exp: Likewise.
16078 * gdb.base/nodebug.exp: Likewise.
16079 * gdb.base/printcmds.exp: Likewise.
16080 * gdb.base/ptype.exp: Likewise.
16081 * gdb.base/structs.exp: Likewise.
16082 * gdb.base/unwindonsignal.exp: Likewise.
16083 * gdb.cp/gdb2495.exp: Likewise.
16084 * gdb.cp/templates.exp: Likewise.
16085 * gdb.cp/virtfunc.exp: Likewise.
16086 * gdb.threads/hand-call-in-threads.exp: Likewise.
16087 * gdb.threads/interrupted-hand-call.exp: Likewise.
16088 * gdb.threads/thread-unwindonsignal.exp: Likewise.
16089
347dc102
TT
160902016-06-10 Tom Tromey <tom@tromey.com>
16091
16092 PR rust/20110:
16093 * gdb.rust/expr.exp: Add test for integer constant larger than
16094 i32.
16095
5e13cf25
BH
160962016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
16097
16098 * gdb.fortran/nested-funcs.exp: New.
16099 * gdb.fortran/nested-funcs.f90: New.
16100
bb556f1f
TK
161012016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
16102
16103 * gdb.base/examine-backward.c: New file.
16104 * gdb.base/examine-backward.exp: New file.
16105
38b022b4
SM
161062016-06-06 Simon Marchi <simon.marchi@ericsson.com>
16107
16108 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
16109 matching.
16110
1b40ec05
TT
161112016-06-02 Tom Tromey <tom@tromey.com>
16112
16113 PR python/18984:
16114 * gdb.python/py-shared.exp: Add solib_name test.
16115
193bd378
SM
161162016-06-02 Simon Marchi <simon.marchi@ericsson.com>
16117
16118 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
16119
3326303b
MG
161202016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
16121
16122 PR c++/19893
16123 * gdb.dwarf2/implref.exp: Rename to...
16124 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
16125 * gdb.dwarf2/implref-array.c: New file.
16126 * gdb.dwarf2/implref-array.exp: Likewise.
16127 * gdb.dwarf2/implref-global.c: Likewise.
16128 * gdb.dwarf2/implref-global.exp: Likewise.
16129 * gdb.dwarf2/implref-struct.c: Likewise.
16130 * gdb.dwarf2/implref-struct.exp: Likewise.
16131
825c8ef2
AT
161322016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16133
16134 * gdb.trace/trace-condition.exp: Add 64bit tests.
16135
2320162a
AT
161362016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16137
16138 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
16139 bits types.
16140 (main): Adapt to 8 to 64 bits types.
16141 * gdb.trace/trace-condition.exp: Add new tests.
16142
a7818233
AT
161432016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16144
16145 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
16146
0d336466
AT
161472016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16148
16149 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
16150 Move condition tests...
16151 * gdb.trace/trace-condition.exp: Here.
16152
7faeb45a
AT
161532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16154
16155 * gdb.trace/trace-condition.exp: Add counter-case tests.
16156
e385593e
JK
161572016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16158
16159 PR c++/15231
16160 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
16161 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
16162
744608cc
PA
161632016-05-27 Pedro Alves <palves@redhat.com>
16164
16165 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
16166 New procedure.
16167 (top level): Call it, and bail out of DejaGnu is known to be bad.
16168
ac775bf4
AB
161692016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
16170
16171 * gdb.base/whatis.c: Extend the test case.
16172 * gdb.base/whatis.exp: Add additional tests.
16173
2bbad2ea
BH
161742016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16175
16176* gdb.fortran/type.f90: Add pointer variable.
16177* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
16178
8b70175d
BH
161792016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16180
16181 * gdb.fortran/vla-type.exp: Fix testcase name.
16182
86d8a848
BH
161832016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16184
16185 * gdb.fortran/vla-type.exp: Access elements in nested structs.
16186
e188eb36
BH
161872016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16188
16189 * gdb.fortran/type.f90: Add nested structures.
16190 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
16191 * gdb.fortran/derived-type.exp: Adapt expected output.
16192 * gdb.fortran/vla-type.exp: Adapt expected output.
16193
9b2db1fd
BH
161942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16195
16196 * gdb.fortran/whatis_type.exp: Adapt expected output.
16197
72b17055
BH
161982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16199
16200 * gdb.fortran/print_type.exp: Fix expected output.
16201 * gdb.fortran/whatis_type.exp: Fix expected output.
16202
3cd81d8d
BH
162032016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16204
16205 * gdb.fortran/whatis_type.exp: Use multi_line.
16206
ddae9462
TT
162072016-05-24 Tom Tromey <tom@tromey.com>
16208
16209 PR python/17386:
16210 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
16211 use value as an index.
16212
1957f6b8
TT
162132016-05-23 Tom Tromey <tom@tromey.com>
16214
16215 PR python/17981:
16216 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
16217 no-breakpoint case.
16218
026a9174
PA
162192016-05-24 Pedro Alves <palves@redhat.com>
16220
16221 PR gdb/19828
16222 * gdb.threads/clone-attach-detach.c: New file.
16223 * gdb.threads/clone-attach-detach.exp: New file.
16224
e70a7231
FR
162252016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
16226
16227 * gdb.base/annota-input-while-running.exp: Fix syntax error.
16228
0f6ed0e0
TT
162292016-05-23 Tom Tromey <tom@tromey.com>
16230
16231 PR python/19438, PR python/18393:
16232 * gdb.python/py-progspace.exp: Add "dir" test.
16233 * gdb.python/py-objfile.exp: Add "dir" test.
16234
ffd19d61
YQ
162352016-05-23 Yao Qi <yao.qi@linaro.org>
16236
16237 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
16238 * gdb.arch/thumb2-it.exp: Likewise.
16239
9e8f9b05
SM
162402016-05-18 Simon Marchi <simon.marchi@ericsson.com>
16241
16242 * gdb.mi/mi-threads-interrupt.c: New file.
16243 * gdb.mi/mi-threads-interrupt.exp: New file.
16244
61c6156d
SM
162452016-05-17 Simon Marchi <simon.marchi@ericsson.com>
16246
16247 PR gdb/18077
16248 * gdb.mi/mi-async-run.exp: New file.
16249 * gdb.mi/mi-async-run.c: New file.
16250
67218854
TT
162512016-05-17 Tom Tromey <tom@tromey.com>
16252 Manish Goregaokar <manishsmail@gmail.com>
16253
16254 * lib/rust-support.exp: New file.
16255 * lib/gdb.exp (skip_rust_tests): New proc.
16256 (build_executable_from_specs): Handle rust.
16257 * lib/future.exp (gdb_find_rustc): New proc.
16258 (gdb_default_target_compile): Handle rust.
16259 * gdb.rust/expr.exp: New file.
16260 * gdb.rust/generics.exp: New file.
16261 * gdb.rust/generics.rs: New file.
16262 * gdb.rust/methods.exp: New file.
16263 * gdb.rust/methods.rs: New file.
16264 * gdb.rust/modules.exp: New file.
16265 * gdb.rust/modules.rs: New file.
16266 * gdb.rust/simple.exp: New file.
16267 * gdb.rust/simple.rs: New file.
16268
c44af4eb
TT
162692016-05-17 Tom Tromey <tom@tromey.com>
16270
16271 * gdb.base/default.exp (set language): Add rust.
16272
dcd1f979
TT
162732016-05-17 Tom Tromey <tom@tromey.com>
16274
16275 * gdb.gdb/unittest.exp: New file.
16276
155b7f57
YQ
162772016-05-16 Yao Qi <yao.qi@linaro.org>
16278
16279 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16280 shell_prompt. Update shell_prompt_re.
16281
8ddd5a6c
DE
162822016-05-12 Doug Evans <dje@google.com>
16283
16284 PR symtab/19999
16285 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16286 $options when building executable.
16287 * gdb.dwarf2/fission-loclists-pie.S: New file.
16288 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16289
02e370d9
SM
162902016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16291
16292 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
16293 of [is_remote target],
16294
8929ad8b
SM
162952016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16296
16297 * lib/gdb.exp (use_gdb_stub): New procedure.
16298
6c447423
DE
162992016-05-03 Yunlian Jiang <yunlian@google.com>
16300 Doug Evans <dje@google.com>
16301
16302 PR symtab/19914
16303 * gdb.dwarf2/dwp-sepdebug.c: New file.
16304 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16305
444e826c
SM
163062016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16307
16308 * gdb.base/detach.exp: Remove is_remote check.
16309
740feeaa
SM
163102016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16311
16312 * gdb.base/annota-input-while-running.exp: Don't check for
16313 [is_remote target]. Enable annotations after running to main.
16314 Remove unused "set test..." line.
16315
9080ac9d
SM
163162016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16317
16318 * gdb.trace/trace-enable-disable.exp: New file.
16319 * gdb.trace/trace-enable-disable.c: New file.
16320
952ebca5
SM
163212016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16322
16323 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16324 use it in info sharedlibrary test.
16325 * gdb.trace/ftrace-lock.exp: Likewise.
16326 * gdb.trace/ftrace.exp: Likewise.
16327 * gdb.trace/range-stepping.exp: Likewise.
16328 * gdb.trace/trace-break.exp: Likewise.
16329 * gdb.trace/trace-condition.exp: Likewise.
16330 * gdb.trace/trace-mt.exp: Likewise.
16331
d9019901
SM
163322016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16333
16334 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16335 (gdb_load_shlib): ... this.
16336 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16337 gdb_load_shlib.
16338 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16339 * gdb.base/ctxobj.exp: Likewise.
16340 * gdb.base/dprintf-pending.exp: Likewise.
16341 * gdb.base/dso2dso.exp: Likewise.
16342 * gdb.base/fixsection.exp: Likewise.
16343 * gdb.base/gcore-relro.exp: Likewise.
16344 * gdb.base/gdb1555.exp: Likewise.
16345 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16346 * gdb.base/gnu-ifunc.exp: Likewise.
16347 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16348 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16349 * gdb.base/pending.exp: Likewise.
16350 * gdb.base/print-file-var.exp: Likewise.
16351 * gdb.base/print-symbol-loading.exp: Likewise.
16352 * gdb.base/shlib-call.exp: Likewise.
16353 * gdb.base/shreloc.exp: Likewise.
16354 * gdb.base/so-impl-ld.exp: Likewise.
16355 * gdb.base/solib-disc.exp: Likewise.
16356 * gdb.base/solib-nodir.exp: Likewise.
16357 * gdb.base/solib-overlap.exp: Likewise.
16358 * gdb.base/solib-symbol.exp: Likewise.
16359 * gdb.base/solib-weak.exp (do_test): Likewise.
16360 * gdb.base/sym-file.exp: Likewise.
16361 * gdb.base/symtab-search-order.exp: Likewise.
16362 * gdb.base/type-opaque.exp: Likewise.
16363 * gdb.base/unload.exp: Likewise.
16364 * gdb.base/watchpoint-solib.exp: Likewise.
16365 * gdb.compile/compile.exp: Likewise.
16366 * gdb.cp/gdb2384.exp: Likewise.
16367 * gdb.cp/infcall-dlopen.exp: Likewise.
16368 * gdb.cp/re-set-overloaded.exp: Likewise.
16369 * gdb.fortran/library-module.exp: Likewise.
16370 * gdb.opt/solib-intra-step.exp: Likewise.
16371 * gdb.python/py-finish-breakpoint.exp: Likewise.
16372 * gdb.python/py-shared.exp: Likewise.
16373 * gdb.reverse/solib-precsave.exp: Likewise.
16374 * gdb.reverse/solib-reverse.exp: Likewise.
16375 * gdb.server/solib-list.exp: Likewise.
16376 * gdb.threads/dlopen-libpthread.exp: Likewise.
16377 * gdb.threads/tls-shared.exp: Likewise.
16378 * gdb.threads/tls-so_extern.exp: Likewise.
16379 * gdb.trace/change-loc.exp: Likewise.
16380 * gdb.trace/ftrace-lock.exp: Likewise.
16381 * gdb.trace/ftrace.exp: Likewise.
16382 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16383 * gdb.trace/pending.exp: Likewise.
16384 * gdb.trace/range-stepping.exp: Likewise.
16385 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16386 (strace_info_marker): Likewise.
16387 (strace_probe_marker): Likewise.
16388 (strace_trace_on_same_addr): Likewise.
16389 (strace_trace_on_diff_addr): Likewise.
16390 * gdb.trace/trace-break.exp: Likewise.
16391 * gdb.trace/trace-condition.exp: Likewise.
16392 * gdb.trace/trace-mt.exp: Likewise.
16393
fca4cfd9
SM
163942016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16395
16396 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16397 result of gdb_remote_download.
16398 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16399 * gdb.base/dso2dso.exp: Likewise.
16400 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16401 * gdb.base/print-file-var.exp: Likewise.
16402 * gdb.base/shlib-call.exp: Likewise.
16403 * gdb.base/shreloc.exp: Likewise.
16404 * gdb.base/solib-overlap.exp: Likewise.
16405 * gdb.base/solib-weak.exp (do_test): Likewise.
16406 * gdb.base/unload.exp: Likewise.
16407
11cf4ffb
YQ
164082016-04-27 Yao Qi <yao.qi@linaro.org>
16409
16410 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16411 exists.
16412
3e2e34f8
KB
164132016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16414
16415 * vla-type.exp: Print structure from toplevel.
16416
8f07e298
BH
164172016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16418
16419 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16420 of dynamic types.
16421 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16422 of dynamic types.
16423
9920b434
BH
164242016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16425
16426 * gdb.fortran/vla-type.f90: New file.
16427 * gdb.fortran/vla-type.exp: New file.
16428
f3abeff5
YQ
164292016-04-25 Yao Qi <yao.qi@linaro.org>
16430
16431 * gdb.base/branch-to-self.c: New file.
16432 * gdb.base/branch-to-self.exp: New file.
16433
0a5d52f0
YQ
164342016-04-22 Yao Qi <yao.qi@linaro.org>
16435
16436 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16437 more after $hex.
16438
495346f6
YQ
164392016-04-22 Yao Qi <yao.qi@linaro.org>
16440
16441 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16442 * gdb.base/annota3.exp: Likewise.
16443
4a7e075c
YQ
164442016-04-22 Yao Qi <yao.qi@linaro.org>
16445
16446 * gdb.reverse/step-precsave.exp: Do one step and test program
16447 stops in "callee" and do multiple steps until program goes out
16448 of "callee".
16449 * gdb.reverse/step-reverse.exp: Likewise.
16450
5b061e98
YQ
164512016-04-22 Yao Qi <yao.qi@linaro.org>
16452
16453 * gdb.trace/signal.exp: Also pass if
16454 $tracepoint_hits($i) > $iterations.
16455
5c5dc57f
YQ
164562016-04-22 Yao Qi <yao.qi@linaro.org>
16457
16458 * gdb.trace/signal.c: New file.
16459 * gdb.trace/signal.exp: New file.
16460
a55411b9
DE
164612016-04-19 Doug Evans <xdje42@gmail.com>
16462
16463 * gdb.base/bad-file.exp: New file.
16464
a22df60a
MG
164652016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16466
16467 * gdb.dwarf2/implref.exp: New file.
16468
0c13f7e5
BH
164692016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16470
16471 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16472 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16473 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16474 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16475 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16476 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16477 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16478 * lib/fortran.exp (fortran_int4): New procedure.
16479 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16480 (fortran_logical4): Likewise.
16481
9b9b09e9
BH
164822016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16483
16484 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16485
a14d1f4d
BH
164862016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16487
16488 * lib/compiler.c: Add Intel specific preprocessor macros.
16489 * lib/compiler.cc: Likewise.
25d49b86 16490
7d49b1d0
LM
164912016-04-13 Luis Machado <lgustavo@codesourcery.com>
16492
16493 * gdb.server/connect-with-no-symbol-file.c: New file.
16494 * gdb.server/connect-with-no-symbol-file.exp: New file.
16495
8392fa22
SM
164962016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16497
16498 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16499
8c4c4aeb
SM
165002016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16501
16502 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16503 standard output directory.
16504
45e3745e
AT
165052016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16506
16507 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16508
e26b7e41
MM
165092016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16510
16511 * gdb.btrace/instruction_history.c (loop): Add declaration.
16512
8ce09462
AT
165132016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16514
16515 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16516
2e88a1ea
SM
165172016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16518
16519 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16520 parentheses to print.
16521 (continue_handler): Likewise.
16522
f48e22e3
SM
165232016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16524
16525 * gdb.server/solib-list.exp: Remove is_remote check.
16526 Pass shlib= to gdb_compile. Don't link shared library with
16527 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16528 Run binary filename through "readlink -f" on the target.
16529
096be756
PA
165302016-04-08 Pedro Alves <palves@redhat.com>
16531
16532 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16533 interpreter filename as argument to gdbserver_spawn.
16534 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16535 Return empty if $last_loaded_file does not exist.
16536
06500533
JK
165372016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16538
16539 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16540 * gdb.base/jit-main.c: Use exit after usage.
16541
2d35e871
JK
165422016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16543
16544 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16545 GDBHISTSIZE prior to the tests.
16546 * gdb.base/gdbinit-history.exp: Likewise.
16547
165482016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
16549
16550 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16551 instead of build_executable. Use gdb_load_shlibs.
16552
c8064e7e
YQ
165532016-04-07 Yao Qi <yao.qi@linaro.org>
16554
16555 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16556 Execute "si" command.
16557
bde47561
YQ
165582016-04-07 Yao Qi <yao.qi@linaro.org>
16559
16560 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16561 number instead of the comments on some line.
16562
b16f8a3b
DB
165632016-04-06 Don Breazeal <donb@codesourcery.com>
16564
16565 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16566 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16567
c2f901df
SM
165682016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16569
16570 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16571 standard_output_file. Remove unused binfile variable.
16572
ac17fda0
CU
165732016-04-05 Catalin Udma <catalin.udma@freescale.com>
16574
16575 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16576 * gdb.python/py-mi-objfile.exp: Match "list main" output
16577 in console format.
16578
03a8c4df
SM
165792016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16580
16581 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16582 absolute.
16583
6e774b13
SM
165842016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16585
16586 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16587 absolute.
16588 * gdb.trace/ftrace.exp: Likewise.
16589 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16590 targets as well.
16591 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16592 (gdb_load_shlibs): Copy libraries to test directory when testing
16593 natively. Only set solib-search-path if testing remotely.
16594 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16595
7817ea46
SM
165962016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16597
16598 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16599 gdb_download. Use it even if the target is not remote.
16600 * gdb.base/jit.exp (compile_jit_test): Likewise.
16601 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16602 output directory if the destination board is local, otherwise use
16603 the standard remote_download from DejaGnu.
16604 (gdb_download): Remove.
16605 (gdb_load_shlibs): Use gdb_remote_download instead of
16606 gdb_download.
16607 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16608 Use gdb_remote_download instead of gdb_download. Use it even if
16609 the target is not remote.
16610 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16611 instead of gdb_download.
16612
7beb7f68
SM
166132016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16614
16615 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16616 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16617 run.
16618
cc63428a
AV
166192016-04-01 Artemiy Volkov <artemiyv@acm.org>
16620
16621 PR gdb/19820
16622 * gdb.base/printcmds.exp: Add artificial arrays tests.
16623
64cdf930
PA
166242016-03-31 Pedro Alves <palves@redhat.com>
16625
16626 PR gdb/19858
16627 * gdb.base/jit-main.c: Include unistd.h.
16628 (ATTACH): Define to 0 if not already defined.
16629 (wait_for_gdb, mypid): New globals.
16630 (WAIT_FOR_GDB): New macro.
16631 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16632 some breakpoint locations.
16633 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16634 New procedures.
16635 (one_jit_test): Add REATTACH parameter, and handle it. Use
16636 continue_to_test_location.
16637 (top level): Test attach, and adjusts calls to one_jit_test.
16638
40dea8cb
PA
166392016-03-31 Pedro Alves <palves@redhat.com>
16640
16641 PR gdb/19858
16642 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16643 BINSUFFIX parameter, and handle it.
16644 (top level): Adjust calls compile_jit_test.
16645
e7ea3ec7
CU
166462016-03-31 Catalin Udma <catalin.udma@freescale.com>
16647
16648 PR python/19743
16649 * gdb.python/py-mi-events-gdb.py: New file.
16650 * gdb.python/py-mi-events.c: New file.
16651 * gdb.python/py-mi-events.exp: New file.
16652
e6359af3
YQ
166532016-03-30 Yao Qi <yao.qi@linaro.org>
16654
16655 * gdb.reverse/until-precsave.exp: Match function name only.
16656 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16657 Move malloc to a condition block.
16658 * gdb.reverse/until-reverse.exp: Match function name only.
16659
a4105d04
MK
166602016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16661
16662 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16663 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16664 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16665 variable for GPR 0 instead of assuming it is register 0.
16666 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16667 * lib/trace-support.exp: Add s390 registers.
16668
bfa6adb9
YQ
166692016-03-29 Yao Qi <yao.qi@linaro.org>
16670
16671 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16672
1e6697ea
YQ
166732016-03-24 Yao Qi <yao.qi@linaro.org>
16674
16675 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16676 test message.
16677
64bcd522
AA
166782016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16679
16680 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16681 maintaining separate logic for constructing the output path.
16682
7868401b
DB
166832016-03-16 Don Breazeal <donb@codesourcery.com>
16684
16685 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16686 Retry fork and waitpid on interrupted system call errors.
16687 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16688 Use with_timeout_factor to increase timeout by factor of 10.
16689
1cafadb4
DB
166902016-03-15 Don Breazeal <donb@codesourcery.com>
16691
16692 * gdb.cp/scope-err.cc: New test program.
16693 * gdb.cp/scope-err.exp: New test script.
16694 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16695 lines and "set breakpoint here" comment.
16696 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16697 Fixed some whitespace and format issues.
16698 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16699 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16700
81516450
DE
167012016-03-15 Doug Evans <dje@google.com>
16702
16703 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16704 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16705 All callers updated. Add tests for enums, mixed flags register.
16706
aa52b601
DE
167072016-03-15 Doug Evans <dje@google.com>
16708
16709 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16710 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16711
fa4ff313
SM
167122016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16713
16714 * gdb.base/default.exp: Add $_as_string to the list of expected
16715 convenience functions.
16716
f2403c39
AB
167172016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16718
16719 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16720
f2f3ccb9
SM
167212016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16722
16723 * gdb.python/py-as-string.exp: New file.
16724 * gdb.python/py-as-string.c: New file.
16725
00dbd492
PA
167262016-03-09 Pedro Alves <palves@redhat.com>
16727
16728 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16729 signal" -> "Thread NN received signal" output change.
16730 * gdb.threads/ia64-sigill.exp: Likewise.
16731 * gdb.threads/linux-dp.exp: Likewise.
16732 * gdb.threads/manythreads.exp: Likewise.
16733 * gdb.threads/pending-step.exp: Likewise.
16734 * gdb.threads/print-threads.exp: Likewise.
16735 * gdb.threads/sigstep-threads.exp: Likewise.
16736 * gdb.threads/staticthreads.exp: Likewise.
16737 * gdb.threads/tls.exp: Likewise.
16738
1e6697ea
YQ
167392016-03-09 Pedro Alves <palves@redhat.com>
16740
16741 * gdb.base/command-line-input.exp: New file.
16742
b04fd3be
MK
167432016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16744
16745 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16746 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16747 * gdb.trace/pending.exp: Accept leading dot before function name.
16748 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16749 * lib/trace-support.exp: Set registers for ppc.
16750
98fa59e9
MK
167512016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16752
16753 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16754 use it for disassembly; accept .main in addition to main in backtrace.
16755
f77198c8
MK
167562016-03-09 Wei-cheng Wang <cole945@gmail.com>
16757 Marcin Kościelnicki <koriakin@0x04.net>
16758
16759 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16760 (gdb_recursion_test_ptr): New global variable.
16761 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16762 gdb_recursion_test.
16763 (gdb_c_test): Ditto.
16764
ba84e0da
MK
167652016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16766
16767 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16768 ordering.
16769
4366d36e
MK
167702016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16771
16772 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16773 (bar): Add bar_start_lbl label.
16774 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16775 of foo/bar for emitting DWARF and tracing.
16776
5eb264df
SDJ
167772016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16778
16779 * analyze-racy-logs.py: Set executable bit.
16780
fb6a751f
SDJ
167812016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16782
16783 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16784 (CHECK_TARGET_TMP): Likewise.
16785 (check-single-racy): New rule.
16786 (check-parallel-racy): Likewise.
16787 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16788 (do-check-parallel-racy): New rule.
16789 (check-racy/%.exp): Likewise.
16790 * README (Racy testcases): New section.
16791 * analyze-racy-logs.py: New file.
16792
bdf7e230
DE
167932016-03-03 Doug Evans <dje@google.com>
16794
16795 * gdb.base/skip.exp: Use with_test_prefix.
16796
4719d415
YQ
167972016-03-03 Yao Qi <yao.qi@linaro.org>
16798
16799 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16800 Invoke step_over_syscall "clone" and break_cond_on_syscall
16801 "clone".
16802 * gdb.base/step-over-clone.c: New file.
16803
ea507862
YQ
168042016-03-03 Yao Qi <yao.qi@linaro.org>
16805
16806 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16807 code format.
16808
8fc8cbda
YQ
168092016-03-03 Yao Qi <yao.qi@linaro.org>
16810
16811 * gdb.base/disp-step-fork.c: Rename to ...
16812 * gdb.base/step-over-fork.c: ... it. New file.
16813 * gdb.base/disp-step-vfork.c: Rename to ...
16814 * gdb.base/step-over-vfork.c: ... it. New file.
16815 * gdb.base/disp-step-syscall.exp: Rename to ...
16816 * gdb.base/step-over-syscall.exp: ... it. New file.
16817 (disp_step_cross_syscall): Rename to ...
16818 (step_over_syscall): ... it.
16819
92fa70b0
YQ
168202016-03-03 Yao Qi <yao.qi@linaro.org>
16821
16822 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16823 If target supports condition evaluation on target, invoke
16824 break_cond_on_syscall for fork and vfork.
16825
e197ad3c
YQ
168262016-03-03 Yao Qi <yao.qi@linaro.org>
16827
16828 * gdb.base/disp-step-syscall.exp: Don't invoke
16829 support_displaced_stepping.
16830 (disp_step_cross_syscall): Test with displaced stepping off and
16831 on if supported.
16832
0b47da9f
YQ
168332016-03-03 Yao Qi <yao.qi@linaro.org>
16834
16835 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16836 proc.
16837 (setup): New proc.
16838 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16839 and setup.
16840
065ab6dc
BH
168412016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16842
16843 * gdb.fortran/vla-history.exp: Remove breakpoint.
16844
07e448ad 168452016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16846
25d49b86
PA
16847 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16848 exceeds timeout.
07e448ad 16849
9ac2d526 168502016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16851
25d49b86
PA
16852 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16853 breakpoint.
9ac2d526 16854
17807369
BH
168552016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16856
16857 * gdb.mi/vla.f90: Nullify pointer after declaration.
16858
86e501af
PA
168592016-03-01 Pedro Alves <palves@redhat.com>
16860
16861 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16862
1e903e32
PA
168632016-03-01 Pedro Alves <palves@redhat.com>
16864
16865 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16866 before anything else.
16867 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16868 _GNU_SOURCE here.
16869 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16870 before anything else.
16871 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16872
6ccb54e2
PA
168732016-03-01 Pedro Alves <palves@redhat.com>
16874
16875 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16876
30ca9da1
YQ
168772016-03-01 Yao Qi <yao.qi@linaro.org>
16878
16879 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16880 prepare_for_testing.
16881
dc856b38
YQ
168822016-03-01 Yao Qi <yao.qi@linaro.org>
16883
16884 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16885
4a932159
AA
168862016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16887
16888 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16889 manually constructing the output path.
16890
f2489477
AA
168912016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16892
16893 * gdb.arch/s390-stackless.S: New.
16894 * gdb.arch/s390-stackless.exp: New.
16895
38899f16
IB
168962016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16897
16898 * gdb.dlang/circular.c: New file.
16899 * gdb.dlang/circular.exp: New file.
16900
9fde51ed
YQ
169012016-02-26 Yao Qi <yao.qi@linaro.org>
16902
16903 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16904 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16905 (testcases): Update.
16906
ce90fefe
YQ
169072016-02-26 Yao Qi <yao.qi@linaro.org>
16908
16909 * gdb.reverse/aarch64.c: Rename to ...
16910 * gdb.reverse/insn-reverse.c: ... it.
16911 * gdb.reverse/aarch64.exp: Rename to ...
16912 * gdb.reverse/insn-reverse.exp: ... it.
16913
3263bceb
YQ
169142016-02-26 Yao Qi <yao.qi@linaro.org>
16915
16916 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16917 (testcase_ftype): New.
16918 (testcases): New array.
16919 (n_testcases): New.
16920 (main): Call each element in testcases.
16921 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16922 (read_testcase): New.
16923 Do the tests in a loop.
16924
6cb59ff1
YQ
169252016-02-25 Yao Qi <yao.qi@linaro.org>
16926
16927 * gdb.base/branches.c: Remove.
16928
ae91f625
MK
169292016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16930
16931 PR gdb/13808
16932 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16933
678b48b7
MK
169342016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16935
16936 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16937
7337a6f2
MK
169382016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16939
16940 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16941 change x86_64 call_insn to 'callq'.
16942
861ca91f
AT
169432016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16944
16945 * gdb.trace/tfile-avx.c: Move to...
16946 * gdb.trace/tracefile-pseudo-reg.c: Here.
16947 * gdb.trace/tfile-avx.exp: Move to...
16948 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16949
bf74e428
GB
169502016-02-24 Gary Benson <gbenson@redhat.com>
16951
16952 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16953 message on attach.
16954
cce0e923
DE
169552016-02-23 Doug Evans <dje@google.com>
16956
16957 * gdb.base/skip.c (test_skip): New function.
16958 (end_test_skip_file_and_function): New function.
16959 (test_skip_file_and_function): New function.
16960 * gdb.base/skip1.c (test_skip): New function.
16961 (skip1_test_skip_file_and_function): New function.
16962 * gdb.base/skip.exp: Add tests for new skip options.
16963 * gdb.base/skip-solib.exp: Update expected output.
16964 * gdb.perf/skip-command.cc: New file.
16965 * gdb.perf/skip-command.exp: New file.
16966 * gdb.perf/skip-command.py: New file.
16967
4000e47e
MK
169682016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16969
16970 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16971 info registers pattern.
16972
24f75ead
IB
169732016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16974
16975 * lib/future.exp: Add D support.
16976 (gdb_find_gdc): New proc.
16977 (gdb_default_target_compile): Add D support.
16978
fbb7bcbe
WW
169792016-02-18 Wei-cheng Wang <cole945@gmail.com>
16980
16981 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16982 user+system time.
16983 (trace_speed_test): Determine the iteration count for a time
16984 between 15..30 seconds.
16985
012b3a21
WT
169862016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16987
16988 * gdb.arch/i386-mpx-sigsegv.c: New file.
16989 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16990 * gdb.arch/i386-mpx-simple_segv.c: New file.
16991 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16992
2d5189bd
YQ
169932016-02-18 Yao Qi <yao.qi@linaro.org>
16994
16995 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16996 Don't call setup_kfail.
16997
40fb20d0
YQ
169982016-02-18 Yao Qi <yao.qi@linaro.org>
16999
17000 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17001 Set "set breakpoint condition-evaluation" per $cond_bp_target.
17002
21b1f8d2
DE
170032016-02-16 Doug Evans <dje@google.com>
17004
17005 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
17006 * gdb.base/skip1.c: Ditto.
17007 * gdb.base/skip.exp: Whitespace cleanup.
17008
4041ed77
DB
170092016-02-16 Don Breazeal <donb@codesourcery.com>
17010
17011 PR remote/19496
17012 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17013 Remove kfail for PR remote/19496.
17014
c4ef31bf
SM
170152016-02-16 Simon Marchi <simon.marchi@ericsson.com>
17016
17017 * lib/gdb.exp (standard_temp_file): Return a path specific to
17018 the runtest invocation.
17019
266b65b3
SM
170202016-02-16 Simon Marchi <simon.marchi@ericsson.com>
17021
17022 * gdb.trace/save-trace.exp: Change relative path to be in the
17023 standard output directory.
17024
a7a0a6a9
JK
170252016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17026
17027 * gdb.arch/i386-prologue.c: Add missing prototypes.
17028
c99dbb42
JK
170292016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17030
17031 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
17032 * gdb.arch/i386-prologue.exp: Likewise.
17033 * gdb.arch/i386-size.exp: Likewise.
17034
aa480355
SM
170352016-02-15 Simon Marchi <simon.marchi@ericsson.com>
17036
17037 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
17038 define object file path.
17039 * gdb.btrace/gcore.exp: Use standard_output_file to define core
17040 file path.
17041 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
17042 standard_output_file to define binfile.
17043
ba881f50
JK
170442016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17045
17046 Fix compatibility with recent gfortran-5.3.1.
17047 * gdb.fortran/vla-history.exp (print vla1 allocated)
17048 (print vla2 allocated, print $2, print $3): Remove
17049 (print $4): Rename to ...
17050 (print $2): ... here.
17051 (print $9): Rename to ...
17052 (print $5): ... here.
17053 (print $10): Rename to ...
17054 (print $6): ... here.
17055 * gdb.fortran/vla.f90: Add pvla initialization.
17056
e9fb005c
JK
170572016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17058
17059 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
17060 New test.
17061 * gdb.fortran/vla-value-sub.exp: Likewise.
17062
e44e00ff
MK
170632016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
17064
17065 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
17066
97e94151
SM
170672016-02-12 Simon Marchi <simon.marchi@ericsson.com>
17068
17069 * i386-biarch-core.exp: Define corefile using
17070 standard_output_file.
17071
01113bc1
YQ
170722016-02-12 Yao Qi <yao.qi@linaro.org>
17073
17074 * gdb.arch/arm-single-step-kernel-helper.c: New.
17075 * gdb.arch/arm-single-step-kernel-helper.exp: New.
17076
33b4777c
MM
170772016-02-12 Markus Metzger <markus.t.metzger@intel.com>
17078
17079 * gdb.btrace/tailcall-only.exp: New.
17080 * gdb.btrace/tailcall-only.c: New.
17081 * gdb.btrace/x86_64-tailcall-only.S: New.
17082 * gdb.btrace/i686-tailcall-only.S: New.
17083
acc23c11
PA
170842016-02-11 Pedro Alves <palves@redhat.com>
17085
17086 * README (Parallel testing): Add missing double quotes.
17087
e352bf0a
PA
170882016-02-11 Pedro Alves <palves@redhat.com>
17089
17090 * README (Parallel testing): New section.
17091 (GDB_PARALLEL): Rewrite.
17092 (FORCE_PARALLEL): Document.
17093
9f5fed78
MK
170942016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
17095
17096 * gdb.trace/tfile-avx.c: New test.
17097 * gdb.trace/tfile-avx.exp: New test.
17098
9ef9e6a6
KS
170992016-02-09 Keith Seitz <keiths@redhat.com>
17100
17101 PR breakpoints/19546
17102 * gdb.base/infcall-exec.c: New file.
17103 * gdb.base/infcall-exec2.c: New file.
17104 * gdb.base/infcall-exec.exp: New file.
17105
a96e36da
KS
171062016-02-09 Keith Seitz <keiths@redhat.com>
17107
17108 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
17109 (toplevel): Call test_bkpt_address.
17110
9f61929f
KS
171112016-02-09 Keith Seitz <keiths@redhat.com>
17112
17113 PR python/19506
17114 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
17115 (toplevel): Call test_bkpt_address.
17116
1e94266c
SM
171172016-02-09 Simon Marchi <simon.marchi@ericsson.com>
17118
17119 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
17120 to AC_OUTPUT.
17121 * configure: Regenerate.
17122
2a7f3dff
PA
171232016-02-09 Pedro Alves <palves@redhat.com>
17124
17125 PR breakpoints/19548
17126 * gdb.base/execl-update-breakpoints.c (some_function): New
17127 function.
17128 (main): Call it.
17129 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
17130 Tighten expected GDB output.
17131
2151ccc5
SM
171322016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17133
17134 * Makefile.in (ALL_SUBDIRS): Remove.
17135 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
17136 (distclean maintainer-clean realclean): Likewise.
17137 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
17138 * configure: Regenerate.
17139 * gdb.ada/Makefile.in: Delete.
17140 * gdb.arch/Makefile.in: Likewise.
17141 * gdb.asm/Makefile.in: Likewise.
17142 * gdb.base/Makefile.in: Likewise.
17143 * gdb.btrace/Makefile.in: Likewise.
17144 * gdb.cell/Makefile.in: Likewise.
17145 * gdb.compile/Makefile.in: Likewise.
17146 * gdb.cp/Makefile.in: Likewise.
17147 * gdb.disasm/Makefile.in: Likewise.
17148 * gdb.dlang/Makefile.in: Likewise.
17149 * gdb.dwarf2/Makefile.in: Likewise.
17150 * gdb.fortran/Makefile.in: Likewise.
17151 * gdb.gdb/Makefile.in: Likewise.
17152 * gdb.go/Makefile.in: Likewise.
17153 * gdb.guile/Makefile.in: Likewise.
17154 * gdb.java/Makefile.in: Likewise.
17155 * gdb.linespec/Makefile.in: Likewise.
17156 * gdb.mi/Makefile.in: Likewise.
17157 * gdb.modula2/Makefile.in: Likewise.
17158 * gdb.multi/Makefile.in: Likewise.
17159 * gdb.objc/Makefile.in: Likewise.
17160 * gdb.opencl/Makefile.in: Likewise.
17161 * gdb.opt/Makefile.in: Likewise.
17162 * gdb.pascal/Makefile.in: Likewise.
17163 * gdb.perf/Makefile.in: Likewise.
17164 * gdb.python/Makefile.in: Likewise.
17165 * gdb.reverse/Makefile.in: Likewise.
17166 * gdb.server/Makefile.in: Likewise.
17167 * gdb.stabs/Makefile.in: Likewise.
17168 * gdb.threads/Makefile.in: Likewise.
17169 * gdb.trace/Makefile.in: Likewise.
17170 * gdb.xml/Makefile.in: Likewise.
17171 * lib/gdb.exp (make_gdb_parallel_path): Add check for
17172 GDB_PARALLEL.
17173 (standard_output_file): Remove check for GDB_PARALLEL, always
17174 return path in outputs/$subdir/$testname.
17175
437277d4
SM
171762016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17177
17178 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
17179 (site.exp): Assign abs_srcdir to tcl's srcdir.
17180
31d913c7
YQ
171812016-02-04 Yao Qi <yao.qi@linaro.org>
17182
17183 * gdb.base/foll-exec-mode.c: Include limits.h.
17184 (main): Add parameters argc and argv. Get directory from
17185 argv[0].
17186 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
17187 compilation.
17188 * gdb.base/foll-exec.c: Include limits.h.
17189 (main): Add parameters argc and argv.
17190 Get directory from argv[0].
17191 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17192 Adjust tests on the number of lines as source code changed.
17193 * gdb.base/foll-vfork-exit.c: Include limits.h.
17194 (main): Add one line of statement before vfork.
17195 * gdb.base/foll-vfork.c: Include limits.h and string.h.
17196 (main): Add parameters argc and argv. Get directory from
17197 argv[0].
17198 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
17199 (setup_gdb): Set tbreak to skip some source lines.
17200 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
17201 (main): Add parameters argc and argv. Get directory from
17202 argv[0].
17203 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
17204 compilation.
17205 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
17206 (main): Add parameters argc and argv. Get directory from
17207 argv[0].
17208 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
17209 compilation.
17210
9482b9fb
DE
172112016-02-01 Doug Evans <dje@google.com>
17212
17213 * gdb.base/skip.exp: Clean up multiple references to same test name.
17214
6b2e4f10
PA
172152016-02-01 Pedro Alves <palves@redhat.com>
17216
ccb6afd6 17217 PR remote/19496
6b2e4f10
PA
17218 * gdb.threads/forking-threads-plus-breakpoint.exp
17219 (displaced_stepping_supported): New global.
17220 (probe_displaced_stepping_support): New procedure.
17221 (do_test): Add 'displaced' parameter, and use it.
17222 (top level): Check for displaced stepping support. Add displaced
17223 stepping on/off testing axis.
17224
37a8db1a
AB
172252016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17226
17227 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
17228 pointer. Don't perform further tests on the unassociated pointer
17229 if the first test fails.
17230
5fdf6324
AB
172312016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17232
17233 * gdb.base/max-value-size.c: New file.
17234 * gdb.base/max-value-size.exp: New file.
17235 * gdb.base/huge.exp: Disable max-value-size for this test.
17236
935c6144
IB
172372016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
17238
17239 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17240
7fe8399d
YQ
172412016-01-28 Yao Qi <yao.qi@linaro.org>
17242
17243 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
17244
a2077e25
PA
172452016-01-25 Pedro Alves <palves@redhat.com>
17246
17247 PR threads/19461
17248 * gdb.base/fork-running-state.c: New file.
17249 * gdb.base/fork-running-state.exp: New file.
17250
1d2736d4
PA
172512016-01-25 Pedro Alves <palves@redhat.com>
17252
17253 PR gdb/19494
17254 * gdb.base/catch-fork-kill.c: New file.
17255 * gdb.base/catch-fork-kill.exp: New file.
17256
f1da4b11
PA
172572016-01-25 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17260 Delete, moved to lib/gdb.exp.
17261 * gdb.threads/forking-threads-plus-breakpoint.exp
17262 (foreach_with_prefix): Likewise.
17263 * gdb.threads/process-dies-while-handling-bp.exp
17264 (foreach_with_prefix): Likewise.
17265 * lib/gdb.exp (foreach_with_prefix): New procedure.
17266
45f38546
MK
172672016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17268
17269 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17270 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17271
dc29a1ce
MK
172722016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17273
17274 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17275 endian targets.
17276
092127d7
JK
172772016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17278 Pedro Alves <palves@redhat.com>
17279
17280 Fix testsuite compatibility with Guile.
17281 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17282 number.
17283
31d765d3
JK
172842016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17285
17286 Fix testsuite compatibility with Guile.
17287 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17288 (thread 1): New test for backtrace through signal handler.
17289
1ac78c04
YQ
172902016-01-22 Yao Qi <yao.qi@linaro.org>
17291
17292 PR testsuite/19491
17293 * gdb.base/multi-forks.c: Include
17294 ../lib/unbuffer_output.c
17295 (main): Call gdb_unbuffer_output.
17296
4f5946a8
DE
172972016-01-21 Doug Evans <dje@google.com>
17298
17299 * lib/ada.exp (gdb_compile_ada): Fix typo.
17300
305e13e6
JB
173012016-01-21 Joel Brobecker <brobecker@adacore.com>
17302
17303 * gdb.base/break-fun-addr.exp: New file.
17304 * gdb.base/break-fun-addr1.c: New file.
17305 * gdb.base/break-fun-addr2.c: New file.
17306
5f5dfff6
SM
173072016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17308
17309 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17310 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17311 enum flag values.
17312
fd356fa2
AA
173132016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17314
17315 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17316 when GDB can not set the vector return value. Add more comments
17317 for clarification.
17318
9df22175
AT
173192016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17320
17321 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17322 command.
17323
41d1845e
SM
173242016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17325
17326 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17327
01ac6840
SM
173282016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17329
17330 * Makefile.in (check-single): Pass --status to runtest.
17331 (check/%.exp): Likewise.
17332
173332016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17334
17335 * Makefile.in (check-parallel): Propagate return code from make
17336 do-check-parallel.
17337
bd0a71fa
MK
173382016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17339
17340 * gdb.trace/ftrace.exp: Fix expected message on continue.
17341 * gdb.trace/pending.exp: Fix expected message on continue.
17342 * gdb.trace/trace-break.exp: Fix expected message on continue.
17343
8bcbad33
SM
173442016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17345
17346 * lib/gdb.exp (gdb_test): Remove unused global references.
17347
f303dbd6
PA
173482016-01-18 Pedro Alves <palves@redhat.com>
17349
17350 * gdb.base/async-shell.exp: Adjust expected output.
17351 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17352 * gdb.base/siginfo-thread.exp: Adjust expected output.
17353 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17354 * gdb.java/jnpe.exp: Adjust expected output.
17355 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17356 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17357 * gdb.threads/leader-exit.exp: Adjust expected output.
17358 * gdb.threads/manythreads.exp: Adjust expected output.
17359 * gdb.threads/pthreads.exp: Adjust expected output.
17360 * gdb.threads/schedlock.exp: Adjust expected output.
17361 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17362 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17363 expected output.
17364 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17365 output.
17366 * gdb.threads/sigthread.exp: Adjust expected output.
17367 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17368
b2789696
YQ
173692016-01-18 Yao Qi <yao.qi@linaro.org>
17370
17371 * gdb.guile/scm-section-script.c: Replace @progbits with
17372 %progbits.
17373 * gdb.python/py-section-script.c: Likewise.
17374
71ef29a8
PA
173752016-01-15 Pedro Alves <palves@redhat.com>
17376
17377 * gdb.multi/tids.exp: Test star wildcard ranges.
17378
3f5b7598
PA
173792016-01-15 Pedro Alves <palves@redhat.com>
17380
17381 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17382 command from "thread apply" invocation.
17383 (thr_apply_info_thr_invalid): Default the expected output to the
17384 input tid list.
17385 (top level): Add tests that use convenience variables. Add tests
17386 for "thread apply" with a valid TID list, but missing the command.
17387
663f6d42
PA
173882016-01-13 Pedro Alves <palves@redhat.com>
17389
17390 * gdb.base/default.exp: Expect $_gthread as well.
17391 * gdb.multi/tids.exp: Test $_gthread.
17392 * gdb.threads/thread-specific.exp: Test $_gthread.
17393
c84f6bbf
PA
173942016-01-13 Pedro Alves <palves@redhat.com>
17395
17396 * gdb.multi/tids.exp: Test "info threads -gid".
17397
22a02324
PA
173982016-01-13 Pedro Alves <palves@redhat.com>
17399
17400 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17401 Breakpoint.thread.
17402 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17403
5d5658a1
PA
174042016-01-07 Pedro Alves <palves@redhat.com>
17405
17406 * gdb.base/break.exp: Adjust to output changes.
17407 * gdb.base/hbreak2.exp: Likewise.
17408 * gdb.base/sepdebug.exp: Likewise.
17409 * gdb.base/watch_thread_num.exp: Likewise.
17410 * gdb.linespec/keywords.exp: Likewise.
17411 * gdb.multi/info-threads.exp: Likewise.
17412 * gdb.threads/thread-find.exp: Likewise.
17413 * gdb.multi/tids.c: New file.
17414 * gdb.multi/tids.exp: New file.
17415
84654457
PA
174162016-01-13 Pedro Alves <palves@redhat.com>
17417
17418 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17419
e3940304
PA
174202016-01-13 Pedro Alves <palves@redhat.com>
17421
17422 * gdb.base/default.exp: Expect $_inferior as well.
17423 * gdb.multi/base.exp: Test $_inferior.
17424
a911d87a
PA
174252016-01-13 Pedro Alves <palves@redhat.com>
17426
17427 PR breakpoints/19388
17428 * gdb.base/catch-signal-siginfo-cond.c: New file.
17429 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17430
82075af2
JS
174312016-01-12 Josh Stone <jistone@redhat.com>
17432 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17433
17434 * gdb.base/catch-syscall.c (do_execve): New variable.
17435 (main): Conditionally trigger an execve.
17436 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17437 (test_catch_syscall_execve): New, check entry/return across execve.
17438 (do_syscall_tests): Call test_catch_syscall_execve.
17439
e46eeedd
PA
174402016-01-12 Pedro Alves <palves@redhat.com>
17441
17442 * gdb.base/random-signal.exp (do_test): New procedure, with body
17443 of testcase moved in.
17444
01d8c27e
JK
174452016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17446 Pedro Alves <palves@redhat.com>
17447
17448 * gdb.base/funcargs.exp (finish from indirectly called function):
17449 Reintroduce the case for 'First'.
17450
9a706302
JK
174512016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17452 Pedro Alves <palves@redhat.com>
17453
17454 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17455 (tcatch_vfork_then_child_follow_exec)
17456 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17457 identification.
17458
c0ecb95f
JK
174592016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17460
17461 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17462 and repeats to unlimited.
17463 * gdb.python/py-value.exp: Likewise.
17464 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17465 and repeats to unlimited.
17466
6cfc1fcb
JK
174672016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17468
17469 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17470 and reordering the functions.
17471 * gdb.multi/hangout.c: Likewise.
17472 * gdb.multi/hello.c: Likewise.
17473
582a1b00
SM
174742016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17475
17476 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17477 absolute.
17478 (SingleStatisticTestResult.report): Use dict.keys instead of
17479 dict.iterkeys.
17480
79bc59cb
PA
174812016-01-06 Pedro Alves <palves@redhat.com>
17482
17483 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17484
43368e1d
MM
174852016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17486
17487 * gdb.btrace/dlopen.exp: New.
17488 * gdb.btrace/dlopen.c: New.
17489 * gdb.btrace/dlopen-dso.c: New.
17490
79fad5b8
SL
174912015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17492
17493 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17494 PATTERN argument is optional.
17495
ab8314b3
JB
174962015-12-24 Joel Brobecker <brobecker@adacore.com>
17497
17498 * lib/ada.exp (target_compile_ada_from_dir): New function.
17499 (gdb_compile_ada): Reimplement avoiding the use of project files.
17500 * gdb.ada/gnat_ada.gpr: Delete.
17501 * gdb.ada/cond_lang.exp: Adjust test to make path before
17502 filename optional.
17503 * gdb.ada/small_reg_param.exp: Likewise.
17504
fe33faff
SM
175052015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17506
17507 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17508
6d265cb4
TP
175092015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17510
17511 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17512 case.
17513
10125099
SM
175142015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17515
17516 * gdb.base/break.exp: Remove dead code.
17517 * gdb.base/sepdebug.exp: Likewise.
17518
3ca22649
SM
175192015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17520
17521 * gdb.asm/asm-source.exp: Remove HP-UX references.
17522 * gdb.base/annota1.exp: Likewise.
17523 * gdb.base/annota3.exp: Likewise.
17524 * gdb.base/attach.exp: Likewise.
17525 * gdb.base/bigcore.exp: Likewise.
17526 * gdb.base/break.exp: Likewise.
17527 * gdb.base/call-ar-st.exp: Likewise.
17528 * gdb.base/callfuncs.exp: Likewise.
17529 * gdb.base/catch-fork-static.exp: Likewise.
17530 * gdb.base/display.exp: Likewise.
17531 * gdb.base/foll-exec-mode.exp: Likewise.
17532 * gdb.base/foll-exec.exp: Likewise.
17533 * gdb.base/foll-fork.exp: Likewise.
17534 * gdb.base/foll-vfork.exp: Likewise.
17535 * gdb.base/funcargs.exp: Likewise.
17536 * gdb.base/hbreak2.exp: Likewise.
17537 * gdb.base/inferior-died.exp: Likewise.
17538 * gdb.base/interrupt.exp: Likewise.
17539 * gdb.base/multi-forks.exp: Likewise.
17540 * gdb.base/nodebug.exp: Likewise.
17541 * gdb.base/sepdebug.exp: Likewise.
17542 * gdb.base/solib1.c: Likewise.
17543 * gdb.base/step-test.exp: Likewise.
17544 * gdb.mi/non-stop.c: Likewise.
17545 * gdb.mi/pthreads.c: Likewise.
17546 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17547 * gdb.threads/pthreads.c: Likewise.
17548 * gdb.threads/staticthreads.exp: Likewise.
17549 * lib/future.exp: Likewise.
17550 * lib/gdb.exp: Likewise.
17551 * gdb.base/so-indr-cl.c: Remove.
17552 * gdb.base/so-indr-cl.exp: Likewise.
17553 * gdb.base/solib.c: Likewise.
17554 * gdb.base/solib.exp: Likewise.
17555 * gdb.base/solib2.c: Likewise.
17556
b6304613
SM
175572015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17558
17559 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17560 * gdb.base/call-ar-st.exp: Likewise.
17561 * gdb.base/callfuncs.exp: Likewise.
17562 * gdb.base/condbreak.exp: Likewise.
17563 * gdb.base/constvars.exp: Likewise.
17564 * gdb.base/hbreak2.exp: Likewise.
17565 * gdb.base/langs.exp: Likewise.
17566 * gdb.base/list.exp: Likewise.
17567 * gdb.base/long_long.exp: Likewise.
17568 * gdb.base/ptype.exp: Likewise.
17569 * gdb.base/scope.exp: Likewise.
17570 * gdb.base/signals.exp: Likewise.
17571 * gdb.base/so-impl-ld.exp: Likewise.
17572 * gdb.base/varargs.exp: Likewise.
17573 * gdb.base/volatile.exp: Likewise.
17574 * gdb.base/whatis.exp: Likewise.
17575 * gdb.cp/cplusfuncs.exp: Likewise.
17576 * gdb.cp/inherit.exp: Likewise.
17577 * gdb.cp/local.exp: Likewise.
17578 * gdb.cp/member-ptr.exp: Likewise.
17579 * gdb.cp/method.exp: Likewise.
17580 * gdb.cp/overload.exp: Likewise.
17581 * gdb.cp/templates.exp: Likewise.
17582 * gdb.stabs/weird.exp: Likewise.
17583 * lib/compiler.c: Likewise.
17584 * lib/compiler.cc: Likewise.
17585 * lib/cp-support.exp: Likewise.
17586 * lib/gdb.exp: Likewise.
17587
bf401b07
SM
175882015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17589
17590 * configure.ac: Remove HP-UX case.
17591 * configure: Regenerate.
17592
aff9c0f8
SM
175932015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17594
17595 * lib/gdb.exp (gdb_compile): Add function doc.
17596
a6904d5a
PA
175972015-12-17 Pedro Alves <palves@redhat.com>
17598
17599 PR threads/19354
17600 * gdb.multi/info-threads.exp: New file.
17601
a22279dd
YQ
176022015-12-15 Yao Qi <yao.qi@linaro.org>
17603
17604 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17605 is aarch64*-*-*.
17606
0588c796
SL
176072015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17608
17609 * gdb.base/history-duplicates.exp: Skip if no readline support.
17610
5d978e17
SL
176112015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17612
17613 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17614
7e763b86
SL
176152015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17616
17617 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17618
87a3a92c
SL
176192015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17620
17621 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17622 ctrl-C if nointerrupts target property is set.
17623 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17624 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17625 * gdb.base/paginate-bg-execution.exp: Likewise.
17626 * gdb.base/paginate-execution-startup.exp: Likewise.
17627 * gdb.base/random-signal.exp: Likewise.
17628 * gdb.base/range-stepping.exp: Likewise.
17629 * gdb.cp/annota2.exp: Likewise.
17630 * gdb.cp/annota3.exp: Likewise.
17631 * gdb.gdb/selftest.exp: Likewise.
17632 * gdb.threads/continue-pending-status.exp: Likewise.
17633 * gdb.threads/leader-exit.exp: Likewise.
17634 * gdb.threads/manythreads.exp: Likewise.
17635 * gdb.threads/pthreads.exp: Likewise.
17636 * gdb.threads/schedlock.exp: Likewise.
17637 * gdb.threads/sigthread.exp: Likewise.
17638
a8f077dc
DB
176392015-12-11 Don Breazeal <donb@codesourcery.com>
17640
17641 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17642 remote.
17643 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17644 * gdb.base/foll-exec.exp (main): Enable for target remote.
17645 * gdb.base/foll-fork.exp (main): Likewise.
17646 * gdb.base/foll-vfork.exp (main): Likewise.
17647 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17648 (proc continue_to_exit_bp_loc): Use clean_restart.
17649 * gdb.base/pie-execl.exp (main): Disable for target remote.
17650 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17651 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17652 * gdb.threads/execl.exp (main): Likewise.
17653 * gdb.threads/fork-child-threads.exp (main): Likewise.
17654 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17655 remote.
17656 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17657 remote.
17658 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17659 pid.tid style ptids, instead of just tid.
17660 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17661 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17662 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17663 ptids, instead of just tid.
17664
3b2464a8
AB
176652015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17666
17667 * gdb.base/list.exp (test_list_forward): Add end of file error
17668 test.
17669 (test_repeat_list_command): Add end of file error test.
17670 (test_list_backwards): Add beginning of file error test.
17671
a0def019
AB
176722015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17673
17674 * gdb.base/list.exp (test_list_invalid_args): New function,
17675 defined, and called.
17676
5c000dff
AB
176772015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17678
17679 * gdb.base/list.exp (test_list): Make test names unique.
17680
f1637ebe
YQ
176812015-12-11 Yao Qi <yao.qi@linaro.org>
17682
17683 * gdb.base/coremaker2.c: Remove.
17684
36d6fc0a
PA
176852015-12-10 Pedro Alves <palves@redhat.com>
17686
17687 * gdb.multi/base.exp: Remove stale "spaces" references.
17688
762f7747
PA
176892015-12-10 Pedro Alves <palves@redhat.com>
17690
17691 * gdb.multi/base.exp: Don't use nowarnings.
17692 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17693 * gdb.multi/hangout.c: Include stdio.h.
17694 * gdb.multi/hello.c: Include stdlib.h.
17695 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17696 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17697 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17698
28d2bfb9
AB
176992015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17700
17701 * gdb.dwarf2/dw2-ranges-base.c: New file.
17702 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17703 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17704 support additional line table, and debug ranges generation.
17705 (Dwarf::ranges): New function, generate .debug_ranges.
17706 (Dwarf::lines): Support generating simple line table programs.
17707 (Dwarf::assemble): Initialise new namespace variables.
17708
5fc2beac
KB
177092015-12-09 Kevin Buettner <kevinb@redhat.com>
17710
17711 * gdb.base/async.exp (proc test_background): Add case for
17712 asynchronous execution not supported.
17713
1c35a88f
LM
177142015-12-09 Luis Machado <lgustavo@codesourcery.com>
17715
17716 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17717 format and change test names to make them unique.
17718
b593e3d9
RK
177192015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17720 Pedro Alves <pedro@redhat.com>
17721
17722 PR gdb/18702
17723 Add checking of floatformats setup on x86_64 hosts.
17724 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17725 (smallval, bigval): New labels/constants.
17726 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17727 float" after loading bigval and smallval.
17728
d72413e6
PMR
177292015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17730
17731 * gdb.ada/fun_overload_menu.exp: New testcase.
17732 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17733
ece66d65
JS
177342015-12-04 Josh Stone <jistone@redhat.com>
17735
17736 * gdb.base/catch-fork-static.exp: New.
17737
41d0efca
YQ
177382015-12-03 Yao Qi <yao.qi@linaro.org>
17739
17740 * gdb.base/sizeof.c: Don't include stdio.h and
17741 ../lib/unbuffer_output.c.
17742 (main): New variable 'size' and 'value'. Remove printf and
17743 gdb_unbuffer_output. Assign return value to size and value.
17744 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17745 at the beginning.
17746 (check_sizeof): Check the result by printing variable 'size'.
17747 (check_valueof): Check the result by printing variable 'value'.
17748
99fd02d9
YQ
177492015-12-01 Yao Qi <yao.qi@linaro.org>
17750
17751 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17752 for aarch64*-*-linux* target.
17753
f2faf941
PA
177542015-11-30 Pedro Alves <palves@redhat.com>
17755
17756 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17757
04bf20c5
PA
177582015-11-30 Pedro Alves <palves@redhat.com>
17759
17760 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17761 Handle non-stop mode vCont replies.
17762
09df4675
PA
177632015-11-30 Pedro Alves <palves@redhat.com>
17764
17765 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17766 prepare_for_testing. Start gdb with "set non-stop on" appended to
17767 GDBFLAGS. Lax expected stop output.
17768
58b584af
YQ
177692015-11-27 Yao Qi <yao.qi@linaro.org>
17770
17771 * gdb.arch/arm-neon.exp: New.
17772 * gdb.arch/arm-neon.c: New.
17773
dfcb77a8
YQ
177742015-11-27 Yao Qi <yao.qi@linaro.org>
17775
17776 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17777
88e8ec1b
YQ
177782015-11-27 Yao Qi <yao.qi@linaro.org>
17779
17780 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17781 frames-invalid annotation.
17782
bfde72c2
YQ
177832015-11-27 Yao Qi <yao.qi@linaro.org>
17784
17785 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17786
f6512a69
SM
177872015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17788
17789 * gdb.threads/names.exp: New file.
17790 * gdb.threads/names.c: New file.
17791 * README: Mention gdb,no_thread_names.
17792
46a3515b
MM
177932015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17794
17795 PR 19297
17796 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17797 support" error.
17798
62147a22
PA
177992015-11-24 Pedro Alves <palves@redhat.com>
17800
17801 PR 17539
17802 * gdb.base/display.exp: Expect displays to be sorted in ascending
17803 order. Use multi_line.
17804 * gdb.base/solib-display.exp: Likewise.
17805
2f341b6e
PA
178062015-11-24 Pedro Alves <palves@redhat.com>
17807
17808 PR 17539
25d49b86
PA
17809 * gdb.base/display.exp: Expect displays to be sorted in ascending
17810 order. Use multi_line.
17811 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17812
7e0aa6aa
PA
178132015-11-24 Pedro Alves <palves@redhat.com>
17814
17815 PR 17539
17816 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17817 threads in ascending order.
17818 * gdb.base/foll-fork.exp: Likewise.
17819 * gdb.base/foll-vfork.exp: Likewise.
17820 * gdb.base/multi-forks.exp: Likewise.
17821 * gdb.mi/mi-nonstop.exp: Likewise.
17822 * gdb.mi/mi-nsintrall.exp: Likewise.
17823 * gdb.multi/base.exp: Likewise.
17824 * gdb.multi/multi-arch.exp: Likewise.
17825 * gdb.python/py-inferior.exp: Likewise.
17826 * gdb.threads/break-while-running.exp: Likewise.
17827 * gdb.threads/execl.exp: Likewise.
17828 * gdb.threads/gcore-thread.exp: Likewise.
17829 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17830 * gdb.threads/kill.exp: Likewise.
17831 * gdb.threads/linux-dp.exp: Likewise.
17832 * gdb.threads/multiple-step-overs.exp: Likewise.
17833 * gdb.threads/next-bp-other-thread.exp: Likewise.
17834 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17835 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17836 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17837 * gdb.threads/thread-find.exp: Likewise.
17838 * gdb.threads/tls.exp: Likewise.
17839 * lib/mi-support.exp (mi_reverse_list): Delete.
17840 (mi_check_thread_states): No longer reverse list.
17841
2cc57ad8
PA
178422015-11-24 Pedro Alves <palves@redhat.com>
17843
17844 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17845 use lowercase.
17846
c93e8391
SM
178472015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17848
17849 * gdb.trace/actions.c: Include trace-common.h.
17850 (main): Add a location for a fast tracepoint.
17851 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17852 the normal tracepoints.
17853 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17854
045ccf91
SM
178552015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17856
17857 * save-trace.exp: Factor out code to these...
17858 (gdb_save_tracepoints): New.
17859 (gdb_load_tracepoints): New.
17860 (do_save_load_test): New.
17861
5506f9f6
KB
178622015-11-23 Kevin Buettner <kevinb@redhat.com>
17863
17864 * gdb.base/asmlabel.exp: New test.
17865 * gdb.base/asmlabel.c: New test case.
17866
16c3b12f
JB
178672015-11-23 Joel Brobecker <brobecker@adacore.com>
17868
17869 * gdb.base/wrong_frame_bt_full-main.c: New file.
17870 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17871 * gdb.base/wrong_frame_bt_full.exp: New file.
17872
155bfbd3
JB
178732015-11-23 Joel Brobecker <brobecker@adacore.com>
17874
17875 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17876
bb097445
JM
178772015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17878
206853a0 17879 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17880 pstate register when comparing registers values in
17881 sparc64-*-linux-gnu targets to avoid spurious differences.
17882
9c88ed8f
JM
178832015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17884
206853a0 17885 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17886
96161e25
SL
178872015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17888
17889 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17890 as type argument to gdb_compile.
17891 * gdb.base/nested-subp2.exp: Likewise.
17892 * gdb.base/nested-subp3.exp: Likewise.
17893
340c2830
DV
178942015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17895
17896 * lib/dwarf.exp (_note): Fix left shift of negative value.
17897 * gdb.trace/trace-condition.exp: Likewise.
17898
c1862d0f
YQ
178992015-11-13 Yao Qi <yao.qi@linaro.org>
17900
17901 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17902 comments about d10v.
17903 (test_scalar_returns): Likewise.
17904 * gdb.base/d10v.ld: Remove.
17905 * gdb.base/overlays.exp: Remove the target triplet checking for
17906 d10v-*-*.
17907 * gdb.base/structs.exp (test_struct_returns): Remove the
17908 comments about d10v.
17909 (test_struct_calls): Likewise.
17910
77ae9c19
YQ
179112015-11-13 Yao Qi <yao.qi@linaro.org>
17912
17913 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17914 * gdb.base/gnu_vector.c: Don't include stdio.h.
17915 (main): Don't print res and call add_some_intvecs.
17916
430e004e
MK
179172015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17918
17919 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17920 macro.
17921 (func5): Removed.
17922 (func4): Use FAST_TRACEPOINT_LABEL.
17923 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17924 macro.
17925 (func): Removed.
17926 (thread_function): Use FAST_TRACEPOINT_LABEL.
17927 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17928 (func): Remove.
17929 (marker): Use FAST_TRACEPOINT_LABEL.
17930 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17931 (pendfunc1): Remove.
17932 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17933 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17934 (foo): Remove.
17935 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17936 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17937 macro.
17938 (func): Remove.
17939 (marker): Use FAST_TRACEPOINT_LABEL.
17940 * gdb.trace/trace-common.h: New header.
17941 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17942 macro.
17943 (func): Remove.
17944 (marker): Use FAST_TRACEPOINT_LABEL.
17945 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17946 (func): Remove.
17947 (thread_function): Use FAST_TRACEPOINT_LABEL.
17948
6e7675a7
MK
179492015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17950
17951 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17952 in front.
17953 * gdb.trace/change-loc.exp: Use global pcreg definition.
17954 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17955 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17956 in front.
17957 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17958 * gdb.trace/pending.exp: Likewise.
17959 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17960 * gdb.trace/trace-break.exp: Likewise.
17961 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17962 in front.
17963 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17964 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17965 in front.
17966 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17967
dddc0e16
JB
179682015-11-09 Joel Brobecker <brobecker@adacore.com>
17969
17970 * gdb.ada/fin_fun_out: New testcase.
17971
c6f0b406
KB
179722015-11-07 Kevin Buettner <kevinb@redhat.com>
17973
17974 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17975 value associated with DW_AT_byte_size.
17976 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17977 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17978 DW_AT_upper_bound.
17979
f01dcfd9
KB
179802015-11-07 Kevin Buettner <kevinb@redhat.com>
17981
17982 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17983 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17984 version.
17985 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17986 gdb.dwarf2/dw2-canonicalize-type.exp,
17987 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17988 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17989 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17990 provided by gdb_target_symbol_prefix_flags_asm.
17991 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17992 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17993 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17994 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17995 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17996 macros where needed). Use this macro for symbols which require
17997 the prefix provided by SYMBOL_PREFIX.
17998
2223449a
KB
179992015-11-05 Kevin Buettner <kevinb@redhat.com>
18000
18001 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
18002 New procs.
18003 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
18004 representing expressions, of more than one list element.
18005 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
18006 to prepend linker symbol prefix to f.
18007 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
18008 table_1 and table_2.
18009 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
18010 Likewise, for f and g.
18011 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
18012 for ptr.
18013 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
18014 for main.
18015 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
18016 table_1_ptr and table_2_ptr.
18017
6f2f1a3a
JK
180182015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18019 Joel Brobecker <brobecker@adacore.com>
18020
18021 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
18022
566c56c9
MK
180232015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
18024
18025 * gdb.reverse/s390-mvcle.c: New test.
18026 * gdb.reverse/s390-mvcle.exp: New file.
18027 * lib/gdb.exp: Enable reverse tests on s390*-linux.
18028
d5f0636b
MK
180292015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
18030
18031 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
18032
7ad8b86c
MK
180332015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
18034
18035 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
18036 reaching marker2.
18037 * gdb.reverse/getresuid-reverse.exp: Likewise.
18038 * gdb.reverse/pipe-reverse.exp: Likewise.
18039 * gdb.reverse/readv-reverse.exp: Likewise.
18040 * gdb.reverse/recvmsg-reverse.exp: Likewise.
18041 * gdb.reverse/time-reverse.exp: Likewise.
18042 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
18043
4081c0f1
YQ
180442015-10-30 Yao Qi <yao.qi@linaro.org>
18045
18046 * gdb.threads/wp-replication.c (watch_count_done): Remove.
18047 (empty_cycle): Remove.
18048 (main): Don't call empty_cycle. Don't use watch_count_done.
18049 * gdb.threads/wp-replication.exp: Don't set breakpoint on
18050 empty_cycle. Rewrite the code counting HW watchpoints.
18051
452b4ba5
MK
180522015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
18053
18054 * gdb.reverse/fstatat-reverse.c: New test.
18055 * gdb.reverse/fstatat-reverse.exp: New file.
18056 * gdb.reverse/getresuid-reverse.c: New test.
18057 * gdb.reverse/getresuid-reverse.exp: New file.
18058 * gdb.reverse/pipe-reverse.c: New test.
18059 * gdb.reverse/pipe-reverse.exp: New file.
18060 * gdb.reverse/readv-reverse.c: New test.
18061 * gdb.reverse/readv-reverse.exp: New file.
18062 * gdb.reverse/recvmsg-reverse.c: New test.
18063 * gdb.reverse/recvmsg-reverse.exp: New file.
18064 * gdb.reverse/time-reverse.c: New test.
18065 * gdb.reverse/time-reverse.exp: New file.
18066 * gdb.reverse/waitpid-reverse.c: New test.
18067 * gdb.reverse/waitpid-reverse.exp: New file.
18068
5e2e7507
JK
180692015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
18070
18071 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
18072
0fde2c53
DE
180732015-10-26 Doug Evans <dje@google.com>
18074
18075 PR symtab/17391
18076 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
18077 * gdb.dwarf2/bad-regnum.c: New file.
18078 * gdb.dwarf2/bad-regnum.exp: New file.
18079
1a70ae97
DE
180802015-10-26 Doug Evans <dje@google.com>
18081
18082 PR python/18938
18083 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
18084 file.
18085
27dc26ab
JK
180862015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18087
18088 * gdb.compile/compile.exp (compile code globalvar): Update expectation
18089 for a change by "Mention language in compile error message".
18090
bed91f4d
SM
180912015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
18092
18093 PR python/18073
18094 * gdb.python/py-type.c (C::a_method): New.
18095 (C::a_const_method): New.
18096 (C::a_static_method): New.
18097 (a_function): New.
18098 * gdb.python/py-type.exp (test_fields): Test getting fields
18099 from function and method.
18100
3f2f83dd
KB
181012015-10-21 Keven Boell <keven.boell@intel.com>
18102
18103 * gdb.fortran/vla-alloc-assoc.exp: New file.
18104 * gdb.fortran/vla-datatypes.exp: New file.
18105 * gdb.fortran/vla-datatypes.f90: New file.
18106 * gdb.fortran/vla-history.exp: New file.
18107 * gdb.fortran/vla-ptype-sub.exp: New file.
18108 * gdb.fortran/vla-ptype.exp: New file.
18109 * gdb.fortran/vla-sizeof.exp: New file.
18110 * gdb.fortran/vla-sub.f90: New file.
18111 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
18112 * gdb.fortran/vla-value-sub-finish.exp: New file.
18113 * gdb.fortran/vla-value-sub.exp: New file.
18114 * gdb.fortran/vla-value.exp: New file.
18115 * gdb.fortran/vla-ptr-info.exp: New file.
18116 * gdb.mi/mi-vla-fortran.exp: New file.
18117 * gdb.mi/vla.f90: New file.
18118
27145d50
SL
181192015-10-21 Sandra Loosemore <sandra@codesourcery.com>
18120
18121 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
18122 of hardwired timeout value.
18123
5f3ff4f8
JK
181242015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18125 Pedro Alves <palves@redhat.com>
18126
18127 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
18128 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
18129
bfd09d20
JS
181302015-10-19 Josh Stone <jistone@redhat.com>
18131
18132 * gdb.base/catch-syscall.c: Include <sched.h>.
18133 (unknown_syscall): New variable.
18134 (main): Trigger a vfork and an unknown syscall.
18135 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
18136 (unknown_syscall_number): Likewise.
18137 (check_call_to_syscall): Accept an optional syscall pattern.
18138 (check_return_from_syscall): Likewise.
18139 (check_continue): Likewise.
18140 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
18141 (test_catch_syscall_skipping_return): New test toggling off 'catch
18142 syscall' to step over the syscall return, then toggling back on.
18143 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
18144 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
18145 (do_syscall_tests): Call test_catch_syscall_without_args and
18146 test_catch_syscall_mid_vfork.
18147 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
18148 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
18149
b32b93c6
AS
181502015-10-19 Andrew Stubbs <ams@codesourcery.com>
18151
18152 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
18153 print g_vE): Add new pass patterns.
18154 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
18155 print various symbol names for vptr fields.
18156
9d622bda
AB
181572015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
18158
18159 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
18160 results.
18161
0fd8ac1c
YQ
181622015-10-12 Yao Qi <yao.qi@linaro.org>
18163
18164 * gdb.arch/disp-step-insn-reloc.exp: New test case.
18165
34240514
YQ
181662015-10-12 Yao Qi <yao.qi@linaro.org>
18167
18168 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
18169 is aarch64*-*-linux*.
18170
8240f442
YQ
181712015-10-12 Yao Qi <yao.qi@linaro.org>
18172
18173 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
18174 (can_relocate_bcond_true): ... it.
18175 (can_relocate_bcond_false): New function.
18176 (foo): Likewise.
18177 (can_relocate_bl): Likewise.
18178 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
18179 can_relocate_bl.
18180
2520f728
PMR
181812015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
18182
18183 * gdb.base/nested-addr.c: New file.
18184 * gdb.base/nested-addr.exp: New testcase.
18185
abcef95a
MM
181862015-10-09 Markus Metzger <markus.t.metzger@intel.com>
18187
18188 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
18189 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
18190 its output. Ignore the output of "record goto begin" and instead
18191 check that GDB is replaying.
18192
145e3ddb
PA
181932015-10-09 Pedro Alves <palves@redhat.com>
18194
18195 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
18196 (top level): Use it in the run with no args test.
18197
d5d8c4e1
IB
181982015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
18199
18200 * gdb.dlang/properties.exp: New file.
18201
06e635ef
SL
182022015-10-02 Sandra Loosemore <sandra@codesourcery.com>
18203
18204 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
18205 whether or not address 0x1000 is mapped on the target.
18206
e019fd1d
SM
182072015-09-30 Simon Marchi <simon.marchi@ericsson.com>
18208
18209 * gdb.python/py-type.exp: Do not run tests if binaries fail to
18210 build.
18211
77ba2a67
MM
182122015-09-30 Markus Metzger <markus.t.metzger@intel.com>
18213
18214 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
18215 instruction-history test.
18216
c60eb31f
DE
182172015-09-28 Doug Evans <dje@google.com>
18218
18219 * gdb.base/gcore.c (array_func): Add reference to static_array.
18220
9a3c8263
SM
182212015-09-25 Simon Marchi <simon.marchi@ericsson.com>
18222
18223 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
18224 source line.
18225
9720e656
SL
182262015-09-24 Sandra Loosemore <sandra@codesourcery.com>
18227
18228 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
18229 short or char as base type.
18230
938d3bf2
SL
182312015-09-23 Sandra Loosemore <sandra@codesourcery.com>
18232
18233 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
18234 to allow any size enum.
18235
e6c2c623
PMR
182362015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
18237
18238 * gdb.ada/array_ptr_renaming.exp: New testcase.
18239 * gdb.ada/array_ptr_renaming/foo.adb: New file.
18240 * gdb.ada/array_ptr_renaming/pack.ads: New file.
18241
06da0f77
PL
182422015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18243
18244 * gdb.trace/ftrace-lock.c: New file.
18245 * gdb.trace/ftrace-lock.exp: New file.
18246
4f51c22a
PL
182472015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18248
18249 * gdb.arch/insn-reloc.c: New file.
18250 * gdb.arch/ftrace-insn-reloc.exp: New file.
18251
7041adf4
PL
182522015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18253
18254 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
18255 instruction.
18256 * gdb.trace/pendshr1.c (pendfunc): Likewise.
18257 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18258 * gdb.trace/range-stepping.c: Likewise.
18259 * gdb.trace/trace-break.c: Likewise.
18260 * gdb.trace/trace-mt.c (thread_function): Likewise.
18261 * gdb.trace/ftrace.c (marker): Likewise.
18262 * gdb.trace/trace-condition.c (marker): Likewise.
18263 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18264 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18265 is_aarch64_target.
18266
015d2e7e
DE
182672015-09-18 Doug Evans <xdje42@gmail.com>
18268
18269 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18270 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18271
26b188a2
SL
182722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18273
18274 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18275 the breakpoint.
18276
79dc332b
SL
182772015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18278
18279 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18280 the pending breakpoint. Remove timeout override for "Run till
18281 MI pending breakpoint on pendfunc3 on thread 2" test.
18282
f57929f2
SL
182832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18284
18285 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18286 filename pattern.
18287
3f469b17
SL
182882015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18289
18290 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18291 in breakpoint filename pattern.
18292
515b89b3
SL
182932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18294
7800dbe4
SL
18295 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18296
182972015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18298
515b89b3
SL
18299 * gdb.linespec/explicit.exp: Check for readline support for
18300 tab-completion tests. Fix obvious typo.
18301
d2939ba2
MM
183022015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18303
18304 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18305 and replay.
18306
cbb55fa7
MM
183072015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18308
18309 * gdb.btrace/non-stop.c: New.
18310 * gdb.btrace/non-stop.exp: New.
18311
43691ca1
PL
183122015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18313 Yao Qi <yao.qi@linaro.org>
18314
18315 * gdb.trace/trace-condition.c: New file.
18316 * gdb.trace/trace-condition.exp: New file.
18317
d78908cf
WW
183182015-09-16 Wei-cheng Wang <cole945@gmail.com>
18319
18320 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18321 for testing bytecode compilation.
18322
1ed415e2
PA
183232015-09-16 Pedro Alves <palves@redhat.com>
18324 Sandra Loosemore <sandra@codesourcery.com>
18325
18326 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18327 (SECONDS): Redefine.
18328 (main): Call pthread_kill and alarm early.
18329 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18330 support.
18331 (test): If the target can't hardware step and doesn't support
18332 displaced stepping, increase the timeout.
18333
d136eff5
PA
183342015-09-16 Pedro Alves <palves@redhat.com>
18335
18336 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18337 (enable_debug): New procedures.
18338 (test): Use them. Bail out if waiting for threads fails.
18339 (top level): Bail out if a test fails.
18340
991f019c
YQ
183412015-09-16 Yao Qi <yao.qi@linaro.org>
18342
18343 * gdb.asm/asm-source.exp: Set asm-arch for
18344 aarch64*-*-* target.
18345 * gdb.asm/aarch64.inc: New file.
18346
bfca584f
PMR
183472015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18348
18349 * gdb.ada/array_of_variable_length.exp: New testcase.
18350 * gdb.ada/array_of_variable_length/foo.adb: New file.
18351 * gdb.ada/array_of_variable_length/pck.adb: New file.
18352 * gdb.ada/array_of_variable_length/pck.ads: New file.
18353
b326e587
DE
183542015-09-15 Doug Evans <dje@google.com>
18355
18356 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18357 of function static local variable.
18358
5382cfab
PW
183592015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18360
18361 * gdb.threads/tls-so_extern.exp: New test file.
18362 * gdb.threads/tls-so_extern.c: New test file.
18363 * gdb.threads/tls-so_extern_main.c: New test file.
18364
141c5cc4
JK
183652015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18366
18367 * gdb.opt/solib-intra-step-lib.c: New file.
18368 * gdb.opt/solib-intra-step-main.c: New file.
18369 * gdb.opt/solib-intra-step.exp: New file.
18370
d15dcecd
PA
183712015-09-15 Pedro Alves <palves@redhat.com>
18372
18373 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18374 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18375
4c2f2a79
PA
183762015-09-14 Pedro Alves <palves@redhat.com>
18377
18378 * gdb.base/hook-stop-continue.c: Delete.
18379 * gdb.base/hook-stop-continue.exp: Delete.
18380 * gdb.base/hook-stop-frame.c: Delete.
18381 * gdb.base/hook-stop-frame.exp: Delete.
18382 * gdb.base/hook-stop.c: New file.
18383 * gdb.base/hook-stop.exp: New file.
18384
919e6dbe
PMR
183852015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18386
18387 * gdb.ada/access_to_packed_array.exp: New testcase.
18388 * gdb.ada/access_to_packed_array/foo.adb: New file.
18389 * gdb.ada/access_to_packed_array/pack.adb: New file.
18390 * gdb.ada/access_to_packed_array/pack.ads: New file.
18391
157280a4
MM
183922015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18393
18394 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18395 buffer size test.
18396
2fd33e94
DB
183972015-09-11 Don Breazeal <donb@codesourcery.com>
18398
18399 * gdb.base/foll-exec.c: Add copyright header. Fix
18400 formatting issues.
18401 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18402 (do_exec_tests): Use clean_restart in place of zap_session,
18403 and for test initialization. Fix formatting issues. Use
18404 fail in place of perror.
18405 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18406 an expect statement to match an expression with output from
18407 the program under debug.
18408 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18409 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18410 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18411 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18412 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18413
e70b6e8e
DE
184142015-09-09 Doug Evans <dje@google.com>
18415
18416 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18417
7a551a51
DE
184182015-09-09 Doug Evans <dje@google.com>
18419
18420 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18421
4c666f84
DE
184222015-09-09 Doug Evans <dje@google.com>
18423
18424 * gdb.base/savedregs.exp: Fix typo.
18425
243a9253
PA
184262015-09-09 Pedro Alves <palves@redhat.com>
18427
18428 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18429
c0fa8fbd
SL
184302015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18431
18432 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18433 command actually switches threads. Give up on remaining
18434 tests if target fails to stop at breakpoint.
18435
cd7c1778
PMR
184362015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18437
18438 * gdb.ada/funcall_char.exp: New testcase.
18439 * gdb.ada/funcall_char/foo.adb: New file.
18440
dc5c8746
PMR
184412015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18442
18443 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18444 expected outputs. Add two testcases for completing ambiguous
18445 functions.
18446 * gdb.ada/complete/aux_pck.adb: New file.
18447 * gdb.ada/complete/aux_pck.ads: New file.
18448 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18449 Ambiguous_Func functions.
18450 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18451 * gdb.ada/complete/pck.adb: Likewise.
18452
4e83a1e7
UW
184532015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18454
18455 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18456 failures to run the test program under GDB.
18457
8ce74153
LM
184582015-08-26 Luis Machado <lgustavo@codesourcery.com>
18459
18460 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18461 to C.
18462
e9756d52
PP
184632015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18464
18465 * gdb.base/run-after-attach.exp: New test file.
18466 * gdb.base/run-after-attach.c: New test file.
18467
8d37573b
DB
184682015-08-26 Don Breazeal <donb@codesourcery.com>
18469
18470 * gdb.base/foll-exec-2.c: New test program.
18471 * gdb.base/foll-exec-2.exp: New test.
18472
63e43d3a
PMR
184732015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18474
18475 * gdb.base/nested-subp1.exp: New file.
18476 * gdb.base/nested-subp1.c: New file.
18477 * gdb.base/nested-subp2.exp: New file.
18478 * gdb.base/nested-subp2.c: New file.
18479 * gdb.base/nested-subp3.exp: New file.
18480 * gdb.base/nested-subp3.c: New file.
18481
3d40fbb5
PA
184822015-08-24 Pedro Alves <palves@redhat.com>
18483
18484 * gdb.server/connect-without-multi-process.c: New file.
18485 * gdb.server/connect-without-multi-process.exp: New file.
18486
4422ac93
LM
184872015-08-24 Luis Machado <lgustavo@codesourcery.com>
18488
18489 * gdb.opt/inline-markers.c: Make z int.
18490
91dddb86
LM
184912015-08-24 Luis Machado <lgustavo@codesourcery.com>
18492
18493 * gdb.opt/inline-markers.c: Make z volatile.
18494
a48847ee
LM
184952015-08-24 Luis Machado <lgustavo@codesourcery.com>
18496
18497 * gdb.opt/inline-bt.c: New volatile global z.
18498 * gdb.opt/inline-cmds.c: Likewise.
18499 * gdb.opt/inline-locals.c: Likewise.
18500 * gdb.opt/inline-markers.c: New extern global z.
18501 (marker): Use z.
18502 (inline_fn): Likewise.
18503
0ebbc52b
PA
185042015-08-24 Pedro Alves <palves@redhat.com>
18505
18506 * config/m32r-stub.exp: Remove file.
18507 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18508 * gdb.base/call-rt-st.exp: Likewise.
18509 * gdb.base/call-strs.exp: Likewise.
18510 * gdb.base/default.exp: Remove references to h8300-*-hms and
18511 *-*-udi*.
18512 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18513
77c365df
AA
185142015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18515
18516 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18517 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18518 and "return" use KFAIL when GDB can not read/write the vector
18519 return value.
18520
4313b8c0
GB
185212015-08-21 Gary Benson <gbenson@redhat.com>
18522
18523 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18524
0e433b32
PA
185252015-08-20 Pedro Alves <palves@redhat.com>
18526
18527 * gdb.server/solib-list.exp: No longer expect an interior stop in
18528 non-stop mode.
18529
221e1a37
PA
185302015-08-20 Pedro Alves <palves@redhat.com>
18531
18532 * gdb.server/connect-stopped-target.c: New file.
18533 * gdb.server/connect-stopped-target.exp: New file.
18534
40e3ad0e
PA
185352015-08-20 Pedro Alves <palves@redhat.com>
18536
18537 * gdb.dwarf2/comp-unit-lang.exp: New file.
18538 * gdb.dwarf2/comp-unit-lang.c: New file.
18539
af39b327
PMR
185402015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18541
18542 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18543 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18544
7d45c7c3 185452015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 18546
7d45c7c3
KB
18547 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18548 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18549
4d6cceb4
DE
185502015-08-18 Doug Evans <dje@google.com>
18551 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18552
18553 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18554 skip_python_tests. New arg prompt_regexp.
18555 (skip_python_tests): New function.
18556 * lib/mi-support.exp (mi_skip_python_tests): New function.
18557 * gdb.python/py-mi-objfile-gdb.py: New file.
18558 * gdb.python/py-mi-objfile.c: New file.
18559 * gdb.python/py-mi-objfile.exp: New file.
18560
ad89c2aa
KS
185612015-08-17 Keith Seitz <keiths@redhat.com>
18562
18563 * gdb.linespec/explicit.exp: Move strace test from here ...
18564 * gdb.trace/strace.exp: ... to here.
18565
e3ae3c43
PP
185662015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18567
18568 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18569 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18570
604b2636
DE
185712015-08-14 Doug Evans <xdje42@gmail.com>
18572
18573 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18574 inferior before selecting a new file.
18575
6ff0ba5f
DE
185762015-08-14 Doug Evans <xdje42@gmail.com>
18577
18578 * gdb.mi/mi-disassemble.exp: Update.
18579 * gdb.base/disasm-optim.S: New file.
18580 * gdb.base/disasm-optim.c: New file.
18581 * gdb.base/disasm-optim.h: New file.
18582 * gdb.base/disasm-optim.exp: New file.
18583
9ca98f92
KS
185842015-08-14 Keith Seitz <keiths@redhat.com>
18585
18586 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18587 "evaluated-by".
18588
52bbc560
JB
185892015-08-13 Joel Brobecker <brobecker@adacore.com>
18590
18591 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18592
5d8c3ed3
PMR
185932015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18594
18595 * gdb.ada/fun_renaming.exp: New testcase.
18596 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18597 * gdb.ada/fun_renaming/pack.adb: New file.
18598 * gdb.ada/fun_renaming/pack.ads: New file.
18599
ea8812bc
KS
186002015-08-12 Keith Seitz <keiths@redhat.com>
18601
18602 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18603 gdb_get_line_number.
18604
4dafcdeb
JB
186052015-08-12 Joel Brobecker <brobecker@adacore.com>
18606
18607 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18608 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18609 gdb.base/dso2dso.exp: New files.
18610
5ba32597
SDJ
186112015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18612 Pedro Alves <palves@redhat.com>
18613 Keith Seitz <keiths@redhat.com>
18614
18615 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18616 GDBFLAGS.
18617
b6dafabf
PP
186182015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18619
18620 * gdb.base/gdbhistsize-history.exp
18621 (test_histsize_history_setting): Use save_vars.
18622 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18623 Use save_vars.
18624 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18625 * gdb.base/readline.exp: Use save_vars.
18626
abe8e607
PP
186272015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18628
18629 * lib/gdb.exp (save_vars): New proc.
18630
629500fa
KS
186312015-08-11 Keith Seitz <keiths@redhat.com>
18632
18633 * gdb.base/help.exp: Update help_breakpoint_text.
18634
eb8c4e2e
KS
186352015-08-11 Keith Seitz <keiths@redhat.com>
18636
18637 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18638 (at toplevel): Call test_explicit_breakpoints.
18639 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18640 breakpoints.
18641 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18642 breakpoint conditions, "-cond".
18643
87f0e720
KS
186442015-08-11 Keith Seitz <keiths@redhat.com>
18645
18646 * gdb.linespec/3explicit.c: New file.
18647 * gdb.linespec/cpexplicit.cc: New file.
18648 * gdb.linespec/cpexplicit.exp: New file.
18649 * gdb.linespec/explicit.c: New file.
18650 * gdb.linespec/explicit.exp: New file.
18651 * gdb.linespec/explicit2.c: New file.
18652 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18653 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18654 before using in the matching pattern.
18655 Clarify that `prefix' is a regular expression.
18656
f00aae0f
KS
186572015-08-11 Keith Seitz <keiths@redhat.com>
18658
18659 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18660 test.
18661 Add tests for missing ",FMT" and ",".
18662
e27852be
DE
186632015-08-10 Doug Evans <dje@google.com>
18664 Keith Seitz <keiths@redhat.com>
18665
18666 PR gdb/17960
18667 * gdb.base/completion.exp: Add location completer tests.
18668
7f03bd92
PA
186692015-08-07 Pedro Alves <palves@redhat.com>
18670
18671 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18672 tests here.
18673 (top level): Run do_test with and without displaced stepping.
18674
3fc8eb30
PA
186752015-08-07 Pedro Alves <palves@redhat.com>
18676
18677 * gdb.base/valgrind-disp-step.c: New file.
18678 * gdb.base/valgrind-disp-step.exp: New file.
18679
d4569d7b
PA
186802015-08-07 Pedro Alves <palves@redhat.com>
18681
18682 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18683 Delete function.
18684 (main): Add alarm. Run an infinite loop instead of calling
18685 wait_threads.
18686 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18687 comment.
18688 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18689 Delete function.
18690 (main): Add alarm. Run an infinite loop instead of calling
18691 wait_threads.
18692 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18693 comment.
18694
e1316e60
PA
186952015-08-07 Pedro Alves <palves@redhat.com>
18696
18697 * gdb.base/checkpoint-ns.exp: New file.
18698 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18699 standard_testfile.
18700
da8c46d2
MM
187012015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18702
18703 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18704 * gdb.btrace/instruction_history.exp: Update.
18705 * gdb.btrace/tsx.exp: New.
18706 * gdb.btrace/tsx.c: New.
18707
de1c2c52
PA
187082015-08-06 Pedro Alves <palves@redhat.com>
18709
18710 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18711 increase timeout.
18712 * gdb.reverse/until-precsave.exp: Bump timeouts.
18713
782e0bf4
PA
187142015-08-06 Pedro Alves <palves@redhat.com>
18715
18716 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18717
83e97ed0
PA
187182015-08-06 Pedro Alves <palves@redhat.com>
18719
18720 PR gdb/18749
18721 * gdb.threads/process-dies-while-handling-bp.c: New file.
18722 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18723
863d01bd
PA
187242015-08-06 Pedro Alves <palves@redhat.com>
18725
18726 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18727 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18728
0a39bb32
PA
187292015-08-05 Pedro Alves <palves@redhat.com>
18730
18731 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18732 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18733
ee2d2b10
SL
187342015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18735
18736 * gdb.base/bp-permanent.exp: Report test as unsupported if
18737 the target cannot stop at the permanent breakpoint.
18738
4e1bdb00
DE
187392015-08-03 Doug Evans <dje@google.com>
18740
18741 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18742 10000.
18743
3d338901
DE
187442015-08-03 Doug Evans <dje@google.com>
18745
18746 * Makefile.in (workers/%.worker, build-perf): New rule.
18747 (GDB_PERFTEST_MODE): New variable.
18748 (check-perf): Use it.
18749 (clean): Clean up gdb.perf parallel build subdirs.
18750 * lib/build-piece.exp: New file.
18751 * lib/gdb.exp (make_gdb_parallel_path): New function
18752 (standard_output_file, standard_temp_file): Call it.
18753 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18754 of $GDB_PARALLEL.
18755 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18756
af061d3e
DE
187572015-08-03 Doug Evans <dje@google.com>
18758
8e1afc81 18759 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18760 (LOG_FILE_NAME): New global.
18761 (TextReporter.__init__): Initialize self.txt_sum.
18762 (TextReporter.report): Add support for multiple data-points.
18763 Move report to perftest.sum, put raw data in perftest.log.
18764 (TextReporter.start): Open sum and log files.
18765 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18766 * gdb.perf/lib/perftest/testresult.py
18767 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18768
2c8c5d37
PA
187692015-07-31 Pedro Alves <palves@redhat.com>
18770
18771 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18772 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18773 kill_wait_spawned_process instead of explicit "kill -9".
18774 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18775 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18776 kill_wait_spawned_process.
18777 * gdb.base/attach-twice.exp: Likewise.
18778 * gdb.base/attach.exp: Likewise.
18779 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18780 gdb_test_multiple.
18781 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18782 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18783 kill_wait_spawned_process.
18784 * gdb.base/valgrind-infcall.exp: Likewise.
18785 * gdb.multi/multi-attach.exp: Likewise.
18786 * gdb.python/py-prompt.exp: Likewise.
18787 * gdb.python/py-sync-interp.exp: Likewise.
18788 * gdb.server/ext-attach.exp: Likewise.
18789 * gdb.threads/attach-into-signal.exp (corefunc): Use
18790 spawn_wait_for_attach, spawn_id_get_pid and
18791 kill_wait_spawned_process.
18792 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18793 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18794 spawn_id_get_pid and kill_wait_spawned_process.
18795 * gdb.threads/attach-stopped.exp (corefunc): Use
18796 spawn_wait_for_attach, spawn_id_get_pid and
18797 kill_wait_spawned_process.
18798 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18799 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18800 kill_wait_spawned_process instead of explicit "kill -9".
18801 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18802 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18803 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18804 processes. Don't map cygwin/windows pids here. Now returns a
18805 spawn id list.
18806
032a0fca
SL
188072015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18808
18809 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18810 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18811 correct patch.
18812
61a934ca
SL
188132015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18814
18815 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18816
4bc4d428
SL
188172015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18818
18819 Reapply:
18820 2014-05-21 Mark Wielaard <mjw@redhat.com>
18821
18822 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18823
998d452a
PA
188242015-07-30 Pedro Alves <palves@redhat.com>
18825
18826 * linux-low.c (handle_extended_wait): Set the child's last
18827 reported status to TARGET_WAITKIND_STOPPED.
18828
69dde7dc
PA
188292015-07-30 Pedro Alves <palves@redhat.com>
18830
18831 PR threads/18600
18832 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18833 only shows inferior 1.
18834
4dd63d48
PA
188352015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18836 Pedro Alves <palves@redhat.com>
18837
18838 PR threads/18600
18839 * gdb.threads/fork-plus-threads.c: New file.
18840 * gdb.threads/fork-plus-threads.exp: New file.
18841
d618e4c5
PP
188422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18843
18844 * gdb.base/batch-preserve-term-settings.exp
18845 (test_terminal_settings_preserved_after_cli_exit): Use
18846 send_quit_command.
18847
1eef6428
PA
188482015-07-29 Pedro Alves <palves@redhat.com>
18849 Don Breazeal <donb@codesourcery.com>
18850
18851 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18852 output from both inferior_spawn_id and gdb_spawn_id.
18853
7da5b897
SDJ
188542015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18855
18856 * gdb.threads/attach-into-signal.exp (corefunc): Use
18857 with_test_prefix on nested loops, uniquefying the test messages.
18858
dac804df
SDJ
188592015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18860
18861 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18862 commit.
18863
06265e53
PP
188642015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18865
18866 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18867 New proc.
18868 (test_terminal_settings_preserved_after_sigterm): New test.
18869
18206ca3
PP
188702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18871
18872 * gdb.base/batch-preserve-term-settings.exp
18873 (test_terminal_settings_preserved_after_cli_exit): New test.
18874
90074d11
PP
188752015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18876
18877 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18878 manipulation of saved_gdbflags.
18879 (test_terminal_settings_preserved): Remove global declaration of
18880 the unused variable pagination_prompt. Remove manipulation of
18881 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18882 GDBFLAGS.
18883
eb1a7902
PA
188842015-07-29 Pedro Alves <palves@redhat.com>
18885
18886 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18887
8b75dd3b
PA
188882015-07-29 Pedro Alves <palves@redhat.com>
18889
18890 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18891 at the top.
18892
dedad4e3
PA
188932015-07-29 Pedro Alves <palves@redhat.com>
18894
18895 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18896 (main): Call gdb_unbuffer_output.
18897 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18898 (main): Call gdb_unbuffer_output.
18899 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18900 (main): Call gdb_unbuffer_output.
18901 * gdb.base/call-strs.exp: Adjust to step over the
18902 gdb_unbuffer_output call.
18903 * gdb.base/catch-gdb-caused-signals.c: Include
18904 "../lib/unbuffer_output.c".
18905 (main): Call gdb_unbuffer_output.
18906 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18907 (main): Call gdb_unbuffer_output.
18908 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18909 (main): Call gdb_unbuffer_output.
18910 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18911 (main): Call gdb_unbuffer_output.
18912 * gdb.base/shlib-call.exp: Adjust to step over the
18913 gdb_unbuffer_output call.
18914 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18915 (main): Call gdb_unbuffer_output.
18916 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18917 (main): Call gdb_unbuffer_output.
18918 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18919 (main): Rename to ...
18920 (test): ... this.
18921 (main): Reimplement.
18922 * gdb.base/varargs.exp: Run to test instead of to main.
18923 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18924 (main): Call gdb_unbuffer_output.
18925
58789a91
PA
189262015-07-29 Pedro Alves <palves@redhat.com>
18927
18928 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18929 factore out from mi_continue_dprintf. For call-style dprintfs,
18930 expect dprintf output out of $inferior_spawn_id.
18931 (mi_continue_dprintf): Use mi_expect_dprintf.
18932 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18933 (main): Call gdb_unbuffer_output.
18934
e8376742
PA
189352015-07-29 Pedro Alves <palves@redhat.com>
18936
18937 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18938 (default_mi_gdb_start): Set inferior_spawn_id instead of
18939 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18940 gdb_spawn_id.
18941 (mi_gdb_test): Always expect inferior output from both
18942 $inferior_spawn_id and $gdb_spawn_id.
18943
08280010
PA
189442015-07-29 Pedro Alves <palves@redhat.com>
18945
18946 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18947 send_inferior and $inferior_spawn_id.
18948
4d30e432
PA
189492015-07-29 Pedro Alves <palves@redhat.com>
18950
18951 * gdb.gdb/complaints.exp (test_initial_complaints)
18952 (test_serial_complaints, test_short_complaints): Use
18953 gdb_test_stdio.
18954 (test_empty_complaint): Handle $inferior_spawn_id !=
18955 $gdb_spawn_id.
18956
0d30a335
PA
189572015-07-29 Pedro Alves <palves@redhat.com>
18958
18959 * gdb.base/varargs.exp: Use gdb_test_stdio.
18960
39413b29
PA
189612015-07-29 Pedro Alves <palves@redhat.com>
18962
18963 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18964
7cb000a9
PA
189652015-07-29 Pedro Alves <palves@redhat.com>
18966
18967 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18968
d7b8ac82
PA
189692015-07-29 Pedro Alves <palves@redhat.com>
18970
18971 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18972 parameter into two new parameters, "inf_result" and "gdb_result".
18973 Expect inferior output and gdb output from $inferior_spawn_id and
18974 $gdb_spawn_id, respectively. Adjust all callers.
18975
789c3a0c
PA
189762015-07-29 Pedro Alves <palves@redhat.com>
18977
18978 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18979 of gdb_test_sequence.
18980
77e760c3
PA
189812015-07-29 Pedro Alves <palves@redhat.com>
18982
18983 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18984 (saw_spurious_output): Expect inferior output from
18985 $inferior_spawn_id. Use gdb_test_stdio.
18986
8396d2cd
PA
189872015-07-29 Pedro Alves <palves@redhat.com>
18988
18989 * gdb.base/dprintf.exp: Use standard_testfile. Change
18990 prepare_for_testing call.
18991 (srcfile): Don't set.
18992 (restart): New procedure.
18993 (test_dprintf): New procecure, use to continue over dprintfs.
18994 (test_call, test_agent): New procedures, tests moved here.
18995 Restart gdb and recreate dprintfs. Adjust expected output.
18996
2051d61f
PA
189972015-07-29 Pedro Alves <palves@redhat.com>
18998
18999 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
19000
452397af
PA
190012015-07-29 Pedro Alves <palves@redhat.com>
19002
19003 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
19004
8aed9555
PA
190052015-07-29 Pedro Alves <palves@redhat.com>
19006
19007 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
19008 gdb_test_stdio.
19009
188a61b4
PA
190102015-07-29 Pedro Alves <palves@redhat.com>
19011
19012 * lib/gdb.exp (gdb_test_stdio): New procedure.
19013
12264a45
PA
190142015-07-29 Pedro Alves <palves@redhat.com>
19015
19016 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
19017
23ffc893
PA
190182015-07-29 Pedro Alves <palves@redhat.com>
19019
19020 * gdb.base/call-signal-resume.exp: Remove check for
19021 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
19022 * gdb.base/unwindonsignal.exp: Likewise.
19023 * gdb.base/call-signals.c (gen_signal): Remove printf call.
19024 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
19025
65566918
PA
190262015-07-29 Pedro Alves <palves@redhat.com>
19027
19028 * gdb.base/siginfo-addr.c (pass): New function.
19029 (handler): Call it iff si_addr is correct.
19030 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
19031 Set a breakpoint at "pass" and continue to it.
19032
d60a9221
SDJ
190332015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
19034
19035 * gdb.python/py-objfile.exp: Make some tests have unique names.
19036 * gdb.python/py-pp-registration.exp: Likewise.
19037
bde40b8f
PA
190382015-07-28 Pedro Alves <palves@redhat.com>
19039
19040 * gdb.server/server-exec-info.exp: Issue a "disconnect".
19041
13e1dec8
SM
190422015-07-27 Simon Marchi <simon.marchi@ericsson.com>
19043
19044 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
19045
da33c9a7
SM
190462015-07-27 Simon Marchi <simon.marchi@ericsson.com>
19047
19048 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
19049
077836f7
PP
190502015-07-27 Patrick Palka <patrick@parcs.ath.cx>
19051
19052 * gdb.base/gdb-sigterm-2.exp: New test.
19053
b8cc7b2e
DE
190542015-07-25 Doug Evans <xdje42@gmail.com>
19055
19056 Revert:
19057 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19058 (workers/%.worker, build-perf): New rule.
19059 (GDB_PERFTEST_MODE): New variable.
19060 (check-perf): Use it.
19061 (clean): Clean up gdb.perf parallel build subdirs.
19062 * lib/build-piece.exp: New file.
19063 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19064 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19065 name.
19066 (standard_temp_file): Ditto.
19067 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19068 of $GDB_PARALLEL.
19069
c8bd4544
DE
190702015-07-24 Doug Evans <dje@google.com>
19071
19072 * gdb.perf/lib/perftest/utils.py: New file.
19073 * gdb.perf/gm-hello.cc: New file.
19074 * gdb.perf/gm-pervasive-typedef.cc: New file.
19075 * gdb.perf/gm-pervasive-typedef.h: New file.
19076 * gdb.perf/gm-std.cc: New file.
19077 * gdb.perf/gm-std.h: New file.
19078 * gdb.perf/gm-use-cerr.cc: New file.
19079 * gdb.perf/gm-utils.h: New file.
19080 * gdb.perf/gmonster-null-lookup.py: New file.
19081 * gdb.perf/gmonster-pervasive-typedef.py: New file.
19082 * gdb.perf/gmonster-print-cerr.py: New file.
19083 * gdb.perf/gmonster-ptype-string.py: New file.
19084 * gdb.perf/gmonster-runto-main.py: New file.
19085 * gdb.perf/gmonster-select-file.py: New file.
19086 * gdb.perf/gmonster1-null-lookup.exp: New file.
19087 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
19088 * gdb.perf/gmonster1-print-cerr.exp: New file.
19089 * gdb.perf/gmonster1-ptype-string.exp: New file.
19090 * gdb.perf/gmonster1-runto-main.exp: New file.
19091 * gdb.perf/gmonster1-select-file.exp: New file.
19092 * gdb.perf/gmonster1.cc: New file.
19093 * gdb.perf/gmonster1.exp: New file.
19094 * gdb.perf/gmonster2-null-lookup.exp: New file.
19095 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
19096 * gdb.perf/gmonster2-print-cerr.exp: New file.
19097 * gdb.perf/gmonster2-ptype-string.exp: New file.
19098 * gdb.perf/gmonster2-runto-main.exp: New file.
19099 * gdb.perf/gmonster2-select-file.exp: New file.
19100 * gdb.perf/gmonster2.cc: New file.
19101 * gdb.perf/gmonster2.exp: New file.
19102
6eab34f3
DE
191032015-07-24 Doug Evans <dje@google.com>
19104
19105 * gdb.perf/README: New file.
19106 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
19107 * lib/gen-perf-test.exp: New file.
19108
63738bfd
DE
191092015-07-24 Doug Evans <dje@google.com>
19110
19111 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
19112 (PerfTest::startup): New function.
19113 (PerfTest::run): Return result of calling body.
19114 (PerfTest::assemble): Rewrite.
19115 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
19116 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
19117 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
19118 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
19119 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
19120
7b606f95
DE
191212015-07-24 Doug Evans <dje@google.com>
19122
19123 * lib/gdb.exp (clean_restart): Make executable optional.
19124
a97b16b8
DE
191252015-07-24 Doug Evans <dje@google.com>
19126
19127 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
19128 compiler_info references.
19129 * gdb.cp/temargs.exp: Ditto.
19130 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
19131 (get_compiler_info): Early exit if already computed. Set compiler_info
19132 to "unknown" if there was a problem.
19133 (test_compiler_info): Add function comment. Call get_compiler_info.
19134
35baa57f
DE
191352015-07-24 Doug Evans <dje@google.com>
19136
19137 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19138 (workers/%.worker, build-perf): New rule.
19139 (GDB_PERFTEST_MODE): New variable.
19140 (check-perf): Use it.
19141 (clean): Clean up gdb.perf parallel build subdirs.
19142 * lib/build-piece.exp: New file.
19143 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19144 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19145 name.
19146 (standard_temp_file): Ditto.
19147 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19148 of $GDB_PARALLEL.
19149
6ebea266
DE
191502015-07-24 Doug Evans <dje@google.com>
19151
19152 * lib/future.exp (gdb_default_target_compile): New option
19153 "early_flags".
19154 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
19155 --as-needed.
19156
1e76a7e9
SDJ
191572015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
19158
19159 * gdb.base/catch-syscall.exp: Call gdb_exit before
19160 gdb_skip_xml_test.
19161
5068630a
PA
191622015-07-24 Pedro Alves <palves@redhat.com>
19163
19164 * gdb.python/py-events.exp: Accept output between the stop event
19165 and the prompt.
19166 * gdb.python/py-evsignal.exp: Likewise.
19167 * gdb.python/py-evthreads.exp: Likewise.
19168
77598427
PA
191692015-07-24 Pedro Alves <palves@redhat.com>
19170
19171 PR gdb/18717
19172 * gdb.threads/non-ldr-exit.c: New file.
19173 * gdb.threads/non-ldr-exit.exp: New file.
19174
11e6c98f
YQ
191752015-07-24 Yao Qi <yao.qi@linaro.org>
19176
19177 * gdb.server/ext-wrapper.exp: Test --wrapper option when
19178 restarting process.
19179
51aee833
YQ
191802015-07-24 Yao Qi <yao.qi@linaro.org>
19181
19182 * gdb.server/ext-restart.exp: New file.
19183
8cfe207c
YQ
191842015-07-24 Yao Qi <yao.qi@linaro.org>
19185
19186 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
19187 argument options.
19188 * gdb.server/ext-wrapper.exp: New file.
19189
cc12ce38
DE
191902015-07-23 Doug Evans <dje@google.com>
19191
19192 * gdb.dwarf2/dw2-dummy-cu.S: New file.
19193 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
19194
d0d84780
PMR
191952015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
19196
19197 * gdb.ada/var_arr_typedef.exp: New testcase.
19198 * gdb.ada/var_arr_typedef/pack.adb: New file.
19199 * gdb.ada/var_arr_typedef/pack.ads: New file.
19200 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
19201
8b558f79
JB
192022015-07-20 Joel Brobecker <brobecker@adacore.com>
19203
19204 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
19205
775a3298
JK
192062015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19207
19208 * gdb.arch/i386-biarch-core.exp: Replace istarget
19209 by "complete set gnutarget". Remove expectation for the "core-file"
19210 command.
19211
db1ff28b
JK
192122015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
19213
19214 Revert the previous commit:
19215 Tests for validate symbol file using build-id.
19216
0a94970d
JK
192172015-07-15 Aleksandar Ristovski <aristovski@qnx.com
19218
19219 Tests for validate symbol file using build-id.
19220 * gdb.base/solib-mismatch-lib.c: New file.
19221 * gdb.base/solib-mismatch-libmod.c: New file.
19222 * gdb.base/solib-mismatch.c: New file.
19223 * gdb.base/solib-mismatch.exp: New file.
19224
03346981
SL
192252015-07-15 Sandra Loosemore <sandra@codesourcery.com>
19226
19227 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
19228 nios2-*-linux*.
19229 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19230 * gdb.base/siginfo.exp: Likewise.
19231 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19232
42422cc7
PL
192332015-07-15 Pierre Langlois <pierre.langlois@arm.com>
19234
19235 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
19236 Move it to ...
19237 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
19238 ... here.
19239 * gdb.trace/range-stepping.exp: Check that the target supports
19240 range stepping.
19241
cfa68bae
JK
192422015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19243
19244 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
19245
8ffdba26
PA
192462015-07-14 Pedro Alves <palves@redhat.com>
19247
19248 * gdb.base/killed-outside.exp: New file.
19249 * gdb.base/killed-outside.c: New file.
19250
218a5a11
JK
192512015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19252
19253 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
19254 (n at main): New.
19255 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
19256
e03ed3c6
AA
192572015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19258
19259 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19260 infcall tests instead of setting up for KFAIL.
19261
485668e5
MM
192622015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19263
19264 * gdb.btrace/record_goto-step.exp: New.
19265
08464196
JK
192662015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19267
19268 PR compile/18484
19269 * gdb.compile/compile.c (struct struct_type): Add volatile to
19270 selffield's type.
19271 * gdb.compile/compile.exp
19272 (compile code struct_object.selffield = &struct_object): Skip further
19273 struct_object tests if this one xfails.
19274
bcf5c1d9
RC
192752015-07-08 Robert O'Callahan <robert@ocallahan.org>
19276
19277 PR exp/18617
19278 * gdb.trace/ax.exp: Add test.
19279
4931af25
YQ
192802015-07-07 Yao Qi <yao.qi@linaro.org>
19281
19282 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19283 instead of istarget "aarch64*-*-*".
19284 * gdb.arch/aarch64-fp.exp: Likewise.
19285 * gdb.base/float.exp: Likewise.
19286 * gdb.reverse/aarch64.exp: Likewise.
19287 * lib/gdb.exp (is_aarch64_target): New proc.
19288
9fcf688e
YQ
192892015-07-07 Yao Qi <yao.qi@linaro.org>
19290
19291 * lib/gdb.exp (is_aarch32_target): New proc.
19292 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19293 instead of "istarget "arm*-*-*"".
19294 * gdb.arch/arm-disp-step.exp: Likewise.
19295 * gdb.arch/thumb-bx-pc.exp: Likewise.
19296 * gdb.arch/thumb-prologue.exp: Likewise.
19297 * gdb.arch/thumb-singlestep.exp: Likewise.
19298 * gdb.base/disp-step-syscall.exp: Likewise.
19299 * gdb.base/float.exp: Likewise.
19300
fbd8d50d
YQ
193012015-07-07 Yao Qi <yao.qi@linaro.org>
19302
19303 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19304 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19305
71be1fdc
YQ
193062015-07-07 Yao Qi <yao.qi@linaro.org>
19307
19308 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19309 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19310 if it exists.
19311 * gdb.multi/multi-arch.exp: Likewise.
19312
3e221d36
SM
193132015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19314
19315 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19316 print.
19317
d441430b
YQ
193182015-07-07 Yao Qi <yao.qi@linaro.org>
19319
19320 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19321
06f810bd
MG
193222015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19323
19324 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19325 '[' and ']' characters.
19326
5e61e7c0
IB
193272015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19328
19329 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19330
28bf096c
PA
193312015-06-29 Pedro Alves <palves@redhat.com>
19332
19333 PR threads/18127
19334 * gdb.threads/hand-call-new-thread.c: New file.
19335 * gdb.threads/hand-call-new-thread.c: New file.
19336
ee93cd5e
KS
193372015-06-26 Keith Seitz <keiths@redhat.com>
19338 Doug Evans <dje@google.com>
19339
19340 PR 16253
19341 * gdb.cp/var-tag-2.cc: New file.
19342 * gdb.cp/var-tag-3.cc: New file.
19343 * gdb.cp/var-tag-4.cc: New file.
19344 * gdb.cp/var-tag.cc: New file.
19345 * gdb.cp/var-tag.exp: New file.
19346
fc637f04
PP
193472015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19348
19349 * gdb.base/history-duplicates.exp: New test.
19350
2e52ae68
PP
193512015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19352
19353 * gdb.base/completion.exp: Test the completion of the "focus"
19354 command.
19355
6e22494e
JK
193562015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19357
19358 * gdb.arch/amd64-prologue-skip.S: New file.
19359 * gdb.arch/amd64-prologue-skip.exp: New file.
19360
bf7b9cd9
SM
193612015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19362
19363 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19364 is_address_zero_readable check.
19365
201e8dfd
PB
193662015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19367
19368 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19369 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19370
5cd867b4
YQ
193712015-06-24 Yao Qi <yao.qi@linaro.org>
19372
19373 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19374 linux targets.
19375
4d7be007
YQ
193762015-06-24 Yao Qi <yao.qi@linaro.org>
19377
19378 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19379 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19380 * gdb.base/siginfo-thread.exp: Likewise.
19381
07fcd301
YQ
193822015-06-22 Yao Qi <yao.qi@linaro.org>
19383
19384 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19385
52042a00
YQ
193862015-06-22 Yao Qi <yao.qi@linaro.org>
19387
19388 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19389 aarch64*-*-*.
19390 (skip_hw_watchpoint_tests): Likewise.
19391
74bd41ce
PP
193922015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19393
19394 * gdb.base/gdbinit-history.exp: Test the interaction between
19395 setting GDBHISTSIZE and setting the history size via .gdbinit.
19396
bc460514
PP
193972015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19398
19399 PR gdb/16999
19400 * gdb.base/gdbhistsize-history.exp: New test.
19401
b58c513b
PP
194022015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19403
19404 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19405 with GDBHISTSIZE.
19406 * gdb.base/readline.exp: Likewise.
19407
92046791
YQ
194082015-06-17 Yao Qi <yao.qi@linaro.org>
19409
19410 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19411 line.
19412
2093d2d3
PP
194132015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19414
19415 * gdb.base/gdbinit-history.exp: Add test case to check that
19416 an unlimited history file does not get truncated on exit.
19417
e6c693af
AA
194182015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19419
19420 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19421 (VECTOR): New macro. Use it...
19422 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19423 ...for these typedefs.
19424 (int8, char1, int1, double1): New typedefs.
19425 (struct just_int2, struct two_int2): New structures.
19426 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19427 (add_structvecs, add_singlevecs): New functions.
19428 (main): Call add_some_intvecs twice.
19429 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19430 the compile and exit upon failure. Try compiling for the "native"
19431 architecture. Test inferior function calls with vector arguments
19432 and vector return value handling with "finish" and "return".
19433
c74f7d1c
JT
194342015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19435
19436 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19437 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19438 PE file.
19439 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19440
98aa42ee
AT
194412015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19442
19443 PR breakpoints/16465
19444 * gdb.mi/mi-dprintf-pending.c: New file.
19445 * gdb.mi/mi-dprintf-pending.exp: New test.
19446 * gdb.mi/mi-dprintf-pendshr.c: New file.
19447
7d73c23c 194482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 19449 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
19450
19451 * gdb.arch/i386-mpx-map.c: New file.
19452 * gdb.arch/i386-mpx-map.exp: New File.
19453
194542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19455
19456 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19457 * gdb.arch/i386-mpx.exp: Indentation fixed.
19458
194592015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19460
19461 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19462 function and improved indentation.
19463 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19464 gdb_test_multiple. Added additional tests to skip the test.
19465
194662015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19467
19468 * gdb.arch/i386-avx512.c: Change path in include file.
19469 * gdb.arch/i386-avx512.exp: Change include dir path
19470 compilation flag.
19471 * gdb.arch/i386-mpx.c: Change path in include file.
19472 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19473 flag.
19474
d5eba19a
JK
194752015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19476
19477 * gdb.compile/compile-print.exp (compile print *vararray@3)
19478 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19479
7f361056
JK
194802015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19481
19482 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19483 (do not keep jit in memory): ... this.
19484 (expect 5): Change it to ...
19485 (expect no 5): ... this.
19486
3b462ec2
SM
194872015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19488
19489 PR gdb/15564
19490 * gdb.mi/mi-detach.exp: New file.
19491
e0619de6
JK
194922015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19493
19494 PR symtab/18392
19495 * gdb.arch/amd64-tailcall-self.S: New file.
19496 * gdb.arch/amd64-tailcall-self.c: New file.
19497 * gdb.arch/amd64-tailcall-self.exp: New file.
19498
e970cb34
DB
194992015-05-28 Don Breazeal <donb@codesourcery.com>
19500
19501 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19502 tests for remote targets by checking is_target_gdbserver.
19503
b2e2f908
DE
195042015-05-27 Doug Evans <dje@google.com>
19505
19506 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19507 * gdb.dwarf2/opaque-type-lookup.c: New file.
19508 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19509
82c7be31
DE
195102015-05-26 Doug Evans <dje@google.com>
19511
19512 * gdb.cp/iostream.cc: New file.
19513 * gdb.cp/iostream.exp: New file.
19514
b4f54984
DE
195152015-05-26 Doug Evans <dje@google.com>
19516
19517 * gdb.dwarf2/dw2-op-call.exp: Update.
19518 * gdb.dwarf2/dw4-sig-types.exp: Update.
19519 * gdb.dwarf2/implptr.exp: Update.
19520 * gdb.mi/mi-cmd-param-changed.exp: Update.
19521
4ea6efe9
DE
195222015-05-26 Doug Evans <dje@google.com>
19523
19524 * gdb.python/py-lazy-string.c: New file.
19525 * gdb.python/py-lazy-string.exp: New file.
19526 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19527 (main): Update. Add estring3.
19528 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19529 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19530
f6bb7db3
YQ
195312015-05-26 Omair Javaid <omair.javaid@linaro.org>
19532 Yao Qi <yao.qi@linaro.org>
19533
19534 * gdb.reverse/aarch64.c: New.
19535 * gdb.reverse/aarch64.exp: New.
19536
a81bfbd0
OJ
195372015-05-26 Omair Javaid <omair.javaid@linaro.org>
19538
25d49b86
PA
19539 * lib/gdb.exp (supports_process_record): Return true for
19540 aarch64*-linux*.
a81bfbd0
OJ
19541 (supports_reverse): Likewise.
19542
158bf1b4
PP
195432015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19544
19545 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19546 Use with_test_prefix.
19547
a0145030
AB
195482015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19549
19550 * gdb.base/completion.exp: Add test for completion of layout
19551 names.
19552
ebe3b578
AB
195532015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19554
19555 * lib/gdb.exp (skip_tui_tests): New proc.
19556 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19557
84204ed7
PA
195582015-05-19 Pedro Alves <palves@redhat.com>
19559
19560 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19561 Save the whole env array instead of just HOME. Unset HISTSIZE in
19562 the environment while testing. Restore whole environment
19563 afterwards.
19564
37442ce1
DE
195652015-05-16 Doug Evans <xdje42@gmail.com>
19566
19567 * gdb.guile/scm-ports.c: New file.
19568 * gdb.guile/scm-ports.exp: Add memory port tests.
19569
36de76f9
JK
195702015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19571
19572 * gdb.compile/compile-print.c: New file.
19573 * gdb.compile/compile-print.exp: New file.
19574
3a9558c4
JK
195752015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19576
19577 * gdb.compile/compile-ops.exp: Cast param to void.
19578 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19579 (compile code struct_object.selffield = &struct_object): Add xfail.
19580
aa715135
JG
195812015-05-15 Joel Brobecker <brobecker@adacore.com>
19582
19583 * gdb.ada/arr_enum_with_gap: New testcase.
19584
931e5bc3
JG
195852015-05-15 Joel Brobecker <brobecker@adacore.com>
19586
19587 * gdb.ada/byte_packed_arr: New testcase.
19588
9cd4d857
JB
195892015-05-15 Joel Brobecker <brobecker@adacore.com>
19590
19591 * gdb.ada/pckd_neg: New testcase.
19592
ebfd00d2
PP
195932015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19594
19595 PR gdb/17820
19596 * gdb.base/gdbinit-history.exp: New test.
19597 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19598 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19599
4c082a81
SC
196002015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19601
19602 * gdb.python/py-xmethods.cc: Enhance test case.
19603 * gdb.python/py-xmethods.exp: New tests.
19604 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19605 function.
19606 (B_indexoper): Likewise.
19607 (global_dm_list) : Add new xmethod worker functions.
19608
f7797074
SDJ
196092015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19610
19611 * gdb.base/coredump-filter.exp: Correctly unset
19612 "coredump_var_addr" array.
19613
a4674e4e
PA
196142015-05-08 Pedro Alves <palves@redhat.com>
19615
19616 * gdb.server/non-existing-program.exp: Unset spawn_id.
19617
df2eb078
SC
196182015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19619
19620 PR python/18291
19621 * gdb.python/py-xmethods.exp: Add tests.
19622
422349a3
YQ
196232015-05-08 Yao Qi <yao.qi@linaro.org>
19624
19625 PR gdb/18208
19626 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19627 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19628 function set_coredump_filter, and remove remote_exec call.
19629 Remove argument ipid. Callers update.
19630 (top level): Don't get inferior's PID.
19631
63fc80ce
AA
196322015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19633
19634 * gdb.base/watch_thread_num.exp: Skip test on targets without
19635 access watchpoints.
19636
80ad801e
PA
196372015-05-06 Pedro Alves <palves@redhat.com>
19638
19639 PR server/18081
19640 * gdb.server/non-existing-program.exp: New file.
19641
0fa7fe50
JB
196422015-05-05 Joel Brobecker <brobecker@adacore.com>
19643
19644 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19645
3ea89b92
PMR
196462015-05-05 Joel Brobecker <brobecker@adacore.com>
19647
19648 * gdb.ada/out_of_line_in_inlined: New testcase.
19649
87b8eff0
JB
196502015-05-05 Joel Brobecker <brobecker@adacore.com>
19651
19652 * gdb.ada/var_rec_arr: New testcase.
19653
5fccc635
YQ
196542015-04-30 Yao Qi <yao.qi@linaro.org>
19655
19656 * gdb.base/break-idempotent.exp: If
19657 skip_hw_watchpoint_multi_tests returns true, skip the tests
19658 on "rwatch" and "awatch".
19659
42d38f42
YQ
196602015-04-30 Yao Qi <yao.qi@linaro.org>
19661
19662 * gdb.base/relativedebug.exp: Invoke gdb command
19663 "info sharedlibrary", and if libc.so doesn't have debug info,
19664 skip the test.
19665
2ce1cdbf
DE
196662015-04-29 Doug Evans <dje@google.com>
19667
19668 * gdb.python/py-xmethods.exp: Add ptype tests.
19669 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19670 get_result_type method.
19671
f24a38c5
LM
196722015-04-29 Luis Machado <lgustavo@codesourcery.com>
19673
19674 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19675 the target does not support hardware watchpoints.
19676
ecbf2b3c
LM
196772015-04-29 Luis Machado <lgustavo@codesourcery.com>
19678
19679 * gdb.base/break-always.exp: Abort testing if writing to memory
19680 causes an error.
19681
34f5f757
DE
196822015-04-28 Doug Evans <dje@google.com>
19683
19684 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19685 * gdb.python/py-pp-registration.exp: ... here. New file.
19686 * gdb.python/py-pp-registration.c: New file.
19687 * gdb.python/py-pp-registration.py: New file.
19688
69b4374a
DE
196892015-04-28 Doug Evans <dje@google.com>
19690
19691 * gdb.python/py-bad-printers.c: New file.
19692 * gdb.python/py-bad-printers.py: New file.
19693 * gdb.python/py-bad-printers.exp: New file.
19694
59fb7612
SS
196952015-04-28 Sasha Smundak <asmundak@google.com>
19696
19697 * gdb.python/py-type.exp: New test.
19698
2631b16a
AW
196992015-04-28 Andy Wingo <wingo@igalia.com>
19700
19701 * gdb.python/py-parameter.exp:
19702 * gdb.guile/scm-parameter.exp: Escape the path that we are
19703 matching against, as it might contain characters that are special
19704 to regular expressions.
19705
460efde1
JB
197062015-04-27 Joel Brobecker <brobecker@adacore.com>
19707
19708 * gdb.ada/rec_comp: New testcase.
19709
2d369d8e
SDJ
197102015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19711
19712 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19713 before using it.
19714
cf75d6c3
AB
197152015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19716
19717 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19718 new tests for verilog output.
19719
8dbe7ca5
YQ
197202015-04-24 Yao Qi <yao.qi@linaro.org>
19721
19722 * boards/remote-gdbserver-on-localhost.exp: New file.
19723
4ef9fb2f
PA
197242015-04-23 Pedro Alves <palves@redhat.com>
19725
19726 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19727 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19728 "end of file", remove $inferior_spawn_id from the indirect list.
19729
0a803169
PA
197302015-04-23 Pedro Alves <palves@redhat.com>
19731
19732 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19733
749ef8f8
PA
197342015-04-23 Pedro Alves <palves@redhat.com>
19735
19736 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19737 on $any_spawn_id instead of only on $gdb_spawn_id.
19738
8aae4344
PM
197392015-04-21 Pierre Muller <muller@sourceware.org>
19740
19741 PR pascal/17815
19742 * lib/pascal.exp (gpc_compile): Add new option "class".
19743 (fpc_compile): Likewise.
19744 * gdb.pascal/case-insensitive-symbols.pas: New file.
19745 * gdb.pascal/case-insensitive-symbols.exp: New file.
19746
1586c8fb
GB
197472015-04-20 Gary Benson <gbenson@redhat.com>
19748
19749 * gdb.base/attach.exp: Fix three extended remote failures.
19750
1b6e6f5c
GB
197512015-04-17 Gary Benson <gbenson@redhat.com>
19752
19753 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19754 the main executable over the remote protocol.
19755
e797481d
PA
197562015-04-16 Pedro Alves <palves@redhat.com>
19757
19758 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19759 a new gdbserver if gdbserver_reconnect_p is set.
19760
1ca99c42
PA
197612015-04-16 Pedro Alves <palves@redhat.com>
19762
19763 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19764 is set, don't exit gdbserver.
19765
af9fd6f8
AA
197662015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19767
19768 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19769 appropriate .insn, such that an older assembler can be used.
19770 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19771 the z/Architecture instruction set on 31-bit targets as well.
19772
04ff1e61
AA
197732015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19774
19775 * gdb.go/handcall.exp: Remove all logic related to the first
19776 breakpoint and rely on go_runto_main instead.
19777 * gdb.go/strings.exp: Likewise.
19778 * gdb.go/unsafe.exp: Likewise.
19779 * gdb.go/hello.exp: Likewise. Also rename the remaining
19780 breakpoint marker to "breakpoint 1".
19781 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19782 * gdb.go/strings.go: Likewise.
19783 * gdb.go/unsafe.go: Likewise.
19784 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19785 "set breakpoint 2 here" and rename the remaining breakpoint marker
19786 to "breakpoint 1".
19787
40d2f8d6
SM
197882015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19789
19790 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19791 if itertools.imap is not present.
19792 * gdb.python/py-objfile.exp: Add parentheses.
19793 * gdb.python/py-type.exp: Same.
19794 * gdb.python/py-unwind-maint.py: Same.
19795
8cbc97c6
YQ
197962015-04-15 Yao Qi <yao.qi@linaro.org>
19797
19798 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19799 of ":$ptr_size" and set its form explicitly.
19800
45fd756c
YQ
198012015-04-15 Pedro Alves <palves@redhat.com>
19802 Yao Qi <yao.qi@linaro.org>
19803
19804 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19805 timeout by factor of 4.
19806 (test_regular_watch): Likewise.
19807 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19808 * gdb.reverse/sigall-reverse.exp: Likewise.
19809 * gdb.reverse/until-precsave.exp: Likewise.
19810 * lib/gdb.exp (with_timeout_factor): New proc.
19811 (gdb_expect): Move some code to ...
19812 (get_largest_timeout): ... here. New procedure.
19813
9e811bc3
LM
198142015-04-14 Luis Machado <lgustavo@codesourcery.com>
19815
19816 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19817
0ff6fcb2
LM
198182015-04-13 Luis Machado <lgustavo@codesourcery.com>
19819
19820 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19821 to write to the .text section.
19822
7578d5f7
LM
198232015-04-13 Luis Machado <lgustavo@codesourcery.com>
19824
19825 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19826 Handle the case of targets that do not provide PID information.
19827
2efe15c4
YQ
198282015-04-13 Yao Qi <yao.qi@linaro.org>
19829
19830 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19831 and use expect instead of gdb_expect.
19832
8cd8f2f8
SDJ
198332015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19834
19835 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19836 "coredump_var_addr" to avoid naming conflict with other testcases.
19837
9ee41772
PA
198382015-04-10 Pedro Alves <palves@redhat.com>
19839
19840 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19841 gdb_test_sequence and gdb_assert.
19842
07473109
PA
198432015-04-10 Pedro Alves <palves@redhat.com>
19844
19845 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19846 test messages that don't include the breakpoint address.
19847
de3db44c
YQ
198482015-04-10 Yao Qi <yao.qi@linaro.org>
19849
19850 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19851 false for some offset and width combinations which aren't
19852 supported by linux kernel.
19853
c79d856c
PA
198542015-04-10 Pedro Alves <palves@redhat.com>
19855
19856 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19857 procedure, factored out from ...
19858 (top level): ... here. Add "set displaced-stepping" testing axis.
19859 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19860 parameter "displaced". Use it.
19861 (top level): Use foreach and add "set displaced-stepping" testing
19862 axis.
19863
ebc90b50
PA
198642015-04-10 Pedro Alves <palves@redhat.com>
19865
19866 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19867 Remove comment.
19868 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19869 both the address of the instruction that triggers the watchpoint
19870 and the address of the instruction immediately after, and use
19871 those addresses for the test. Fix comment.
19872
8f572e5c
PA
198732015-04-10 Pedro Alves <palves@redhat.com>
19874
19875 * gdb.base/sigstep.exp (breakpoint_to_handler)
19876 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19877 Test "backtrace" in handler.
19878 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19879 (top level): Add new "displaced" test axis to
19880 breakpoint_to_handler, breakpoint_to_handler_entry and
19881 breakpoint_over_handler.
19882
8d707a12
PA
198832015-04-10 Pedro Alves <palves@redhat.com>
19884
19885 PR gdb/18216
19886 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19887
ef713951
YQ
198882015-04-10 Yao Qi <yao.qi@linaro.org>
19889
19890 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19891 (test_add_rn_pc): New function.
19892 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19893 (top level): Invoke test_add_rn_pc.
19894
906d60cf
PA
198952015-04-10 Pedro Alves <palves@redhat.com>
19896
19897 PR gdb/13858
19898 * gdb.base/step-over-no-symbols.exp: New file.
19899
f2983cc3
AW
199002015-04-09 Andy Wingo <wingo@igalia.com>
19901
19902 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19903 after the Python tests.
19904
6d62641c
SDJ
199052015-04-08 Keith Seitz <keiths@redhat.com>
19906
19907 PR python/16699
19908 * gdb.python/py-completion.exp: New tests for completion.
19909 * gdb.python/py-completion.py (CompleteLimit1): New class.
19910 (CompleteLimit2): Likewise.
19911 (CompleteLimit3): Likewise.
19912 (CompleteLimit4): Likewise.
19913 (CompleteLimit5): Likewise.
19914 (CompleteLimit6): Likewise.
19915 (CompleteLimit7): Likewise.
19916
f3770638
PA
199172015-04-08 Pedro Alves <palves@redhat.com>
19918
19919 PR gdb/18214
19920 PR gdb/18216
19921 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19922 function.
19923 (main): Install it as SIGUSR1 handler.
19924 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19925 parameter. Always use "setup" as prefix. Toggle "set
19926 displaced-stepping" off/on depending on global. Don't switch to
19927 thread 1 here.
19928 (top level): Add displaced stepping "off/on" test axis. Update
19929 "setup" calls. Wrap each subtest with with_test_prefix. Test
19930 continuing with a queued signal in each thread.
19931
4496bed7
PA
199322015-04-08 Pedro Alves <palves@redhat.com>
19933
19934 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19935 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19936 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19937 Return early if running to main fails.
19938 * gdb.trace/while-stepping.exp: Likewise.
19939
b97fde92
PA
199402015-04-07 Pedro Alves <palves@redhat.com>
19941
19942 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19943 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19944 interact with inferior program.
19945
f71c18e7
PA
199462015-04-07 Pedro Alves <palves@redhat.com>
19947
19948 * lib/gdb.exp (inferior_spawn_id): New global.
19949 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19950 spawn id after processing the user code.
19951 (default_gdb_start): Set inferior_spawn_id.
19952 (send_inferior): New procedure.
19953 * lib/gdbserver-support.exp (gdbserver_start): Set
19954 inferior_spawn_id.
19955 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19956
6423214f
PA
199572015-04-07 Pedro Alves <palves@redhat.com>
19958
19959 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19960 * lib/gdbserver-support.exp (gdbserver_start): Make
19961 $server_spawn_id global.
19962 (gdbserver_start): Don't wait for gdbserver's spawn id with
19963 expect_background.
19964 (close_gdbserver): New procedure.
19965 (gdb_exit): Rename the default version and reimplement.
19966
71c0ee8c
PA
199672015-04-07 Pedro Alves <palves@redhat.com>
19968
72f4393d 19969 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19970 append the substituted item, not the original item.
19971
203bc29b
PA
199722015-04-07 Pedro Alves <palves@redhat.com>
19973
19974 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19975 gdb_expect.
19976
508a3ddf
PA
199772015-04-07 Pedro Alves <palves@redhat.com>
19978
19979 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19980 output appearing once only.
19981
9f6dbe2b
PA
199822015-04-07 Pedro Alves <palves@redhat.com>
19983
19984 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19985 that doesn't expect anything. Return early if running to main
19986 fails.
19987
337532fa
YQ
199882015-04-07 Yao Qi <yao.qi@linaro.org>
19989
19990 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19991 (child_function): Call alarm.
19992 (main): Move call to alarm into the loop.
19993 * gdb.threads/non-stop-fair-events.exp: Build program with
19994 -DTIMEOUT=$timeout.
19995
01b622d4
DE
199962015-04-06 Doug Evans <xdje42@gmail.com>
19997
19998 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19999 Fix dest parameter to board_info.
20000 (fpc_compile): Ditto.
20001 (gdb_compile_pascal): Rename dest arg to destfile.
20002
961f4160
PMR
200032015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
20004
20005 * gdb.ada/funcall_ref.exp: New file.
20006 * gdb.ada/funcall_ref/foo.adb: New file.
20007
cafda597
YQ
200082015-04-02 Yao Qi <yao.qi@linaro.org>
20009
20010 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
20011 is remote.
20012
fed040c6
GB
200132015-04-02 Gary Benson <gbenson@redhat.com>
20014
20015 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
20016
d11916aa
SS
200172015-04-01 Sasha Smundak <asmundak@google.com>
20018
20019 * gdb.python/py-unwind-maint.c: New file.
20020 * gdb.python/py-unwind-maint.exp: New test.
20021 * gdb.python/py-unwind-maint.py: New file.
20022 * gdb.python/py-unwind.c: New file.
20023 * gdb.python/py-unwind.exp: New test.
20024 * gdb.python/py-unwind.py: New test.
20025
a1471180
PA
200262015-04-01 Pedro Alves <palves@redhat.com>
20027
20028 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
20029 to fail instead of non-existent $test.
20030
0bbeccb1
PA
200312015-04-01 Pedro Alves <palves@redhat.com>
20032
20033 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
20034 GDBFLAGS if not empty.
20035
3c724c8c
PMR
200362015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
20037
20038 * gdb.ada/complete.exp: Remove "multi_line".
20039 * gdb.ada/info_exc.exp: Remove "multi_line".
20040 * gdb.ada/packed_tagged.exp: Remove "multi_line".
20041 * gdb.ada/ptype_field.exp: Remove "multi_line".
20042 * gdb.ada/sym_print_name.exp: Remove "multi_line".
20043 * gdb.ada/tagged.exp: Remove "multi_line".
20044 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
20045 [multi_line ...]
20046 * gdb.btrace/delta.exp: Likewise.
20047 * gdb.btrace/exception.exp: Likewise.
20048 * gdb.btrace/function_call_history.exp: Likewise.
20049 * gdb.btrace/instruction_history.exp: Likewise.
20050 * gdb.btrace/nohist.exp: Likewise.
20051 * gdb.btrace/record_goto.exp: Likewise.
20052 * gdb.btrace/segv.exp: Likewise.
20053 * gdb.btrace/stepi.exp: Likewise.
20054 * gdb.btrace/tailcall.exp: Likewise.
20055 * gdb.btrace/unknown_functions.exp: Likewise.
20056 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
20057 * lib/gdb.exp: Add the "multi_line" helper.
20058
4eec2deb
PA
200592015-04-01 Pedro Alves <palves@redhat.com>
20060
20061 * gdb.threads/tid-reuse.c: New file.
20062 * gdb.threads/tid-reuse.exp: New file.
20063
df8411da
SDJ
200642015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
20065
20066 PR corefiles/16092
20067 * gdb.base/coredump-filter.c: New file.
20068 * gdb.base/coredump-filter.exp: Likewise.
20069
6ef37366
PM
200702015-03-27 Petr Machata <pmachata@redhat.com>
20071
20072 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
20073 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
20074 (Dwarf::assemble): Initialize them.
20075 (Dwarf::lines): New function.
20076
7ec911b0
JT
200772015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
20078
20079 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
20080 SYMBOL_PREFIX for x86_64-*-cygwin.
20081
ff908ebf
AW
200822015-03-26 Andy Wingo <wingo@igalia.com>
20083
20084 PR symtab/18148
20085 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
20086 const_value but not a location.
20087 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
20088 location defined in non-main CUs are visible.
20089
6d5f0679
YQ
200902015-03-26 Yao Qi <yao.qi@linaro.org>
20091
20092 PR testsuite/18139
20093 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
20094 Add a line number entry for the same line.
20095 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
20096 Add a line number entry for the same line.
20097
2898689b
YQ
200982015-03-26 Yao Qi <yao.qi@linaro.org>
20099
20100 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
20101 .int 0.
20102 (func): Likewise. Add .Lfunc_1 label.
20103 Use .Lfunc_1 label.
20104 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
20105 .int 0.
20106 (func): Likewise.
20107 Use .Lfunc_1 label.
20108
85180498
YQ
201092015-03-26 Yao Qi <yao.qi@linaro.org>
20110
20111 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
20112 Call gdb_compile instead to compile each .s files without debug
20113 information.
20114
8aa08a8d
YQ
201152015-03-26 Yao Qi <yao.qi@linaro.org>
20116
20117 * gdb.base/savedregs.exp (process_saved_regs): Make
20118 "Saved registers:" optional in the pattern.
20119
66849923
MM
201202015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20121
20122 * gdb.btrace/next.exp: Merged into step.exp.
20123 * gdb.btrace/finish.exp: Merged into step.exp.
20124 * gdb.btrace/nexti.exp: Merged into stepi.exp.
20125 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
20126 "record goto" and checking the exact replay position.
20127 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
20128 check for "Recording format" in "info record" output.
20129 * gdb.btrace/record_goto.exp: Choose test file based on target.
20130 * gdb.btrace/x86-record_goto.S: Renamed into ...
20131 * gdb.btrace/x86_64-record_goto.S: ... this.
20132 * gdb.btrace/i686-record_goto.S: New.
20133 * gdb.btrace/x86-tailcall.S: Renamed into ...
20134 * gdb.btrace/x86_64-tailcall.S: ... this.
20135 * gdb.btrace/i686-tailcall.S: New.
20136 * gdb.btrace/x86-tailcall.c: Renamed into ...
20137 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
20138 separate statements. Update test.
20139 * gdb.btrace/delta.exp: Use record_goto.c as test file.
20140 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
20141 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
20142 * gdb.btrace/tailcall.exp: Choose test file based on target.
20143 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
20144
11cc1b74
MM
201452015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20146
20147 * gdb.btrace/exception.exp: Increase BTS buffer size.
20148
a25d8bf9
PA
201492015-03-24 Pedro Alves <palves@redhat.com>
20150
20151 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
20152
856e7dd6
PA
201532015-03-24 Pedro Alves <palves@redhat.com>
20154
20155 * gdb.threads/schedlock.exp (test_step): No longer expect that
20156 "set scheduler-locking step" with "next" over a function call runs
20157 threads unlocked.
20158
ad235a41
AT
201592015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20160
20161 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
20162
15630549
AT
201632015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20164
20165 PR breakpoints/16466
20166 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
20167 * gdb.mi/mi-pending.c (thread_func): New function.
20168 (int main): Add threading support required.
20169 * gdb.mi/mi-pending.exp: Add tests for this issue.
20170 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
20171 (pendfunc2): Remove stdio dependency.
20172 * gdb.mi/mi-pendshr2.c: New file.
20173
693dca06
KS
201742015-03-23 Keith Seitz <keiths@redhat.com>
20175
20176 * gdb.linespec/keywords.c: New file.
20177 * gdb.linespec/keywords.exp: New file.
20178
7e993ebf
KS
201792015-03-23 Keith Seitz <keiths@redhat.com>
20180
20181 PR gdb/18021
20182 * gdb.dwarf2/staticvirtual.exp: New test.
20183
bc23328c
JK
201842015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20185
20186 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
20187 * README: Remove HP-UX and gdb.hp.
20188 (configuration):
20189 * configure: Regenerate.
20190 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
20191 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
20192 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
20193 gdb.hp/gdb.defects/Makefile.
20194 * gdb.hp/Makefile.in: File deleted.
20195 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
20196 * gdb.hp/gdb.aCC/optimize.c: File deleted.
20197 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
20198 * gdb.hp/gdb.aCC/run.c: File deleted.
20199 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
20200 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
20201 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
20202 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20203 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
20204 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
20205 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
20206 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
20207 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
20208 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
20209 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
20210 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
20211 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
20212 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
20213 * gdb.hp/gdb.base-hp/reg.s: File deleted.
20214 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
20215 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
20216 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
20217 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
20218 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
20219 * gdb.hp/gdb.compat/Makefile.in: File deleted.
20220 * gdb.hp/gdb.compat/average.c: File deleted.
20221 * gdb.hp/gdb.compat/sum.c: File deleted.
20222 * gdb.hp/gdb.compat/xdb.c: File deleted.
20223 * gdb.hp/gdb.compat/xdb0.c: File deleted.
20224 * gdb.hp/gdb.compat/xdb0.h: File deleted.
20225 * gdb.hp/gdb.compat/xdb1.c: File deleted.
20226 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
20227 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
20228 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
20229 * gdb.hp/gdb.defects/Makefile.in: File deleted.
20230 * gdb.hp/gdb.defects/bs14602.c: File deleted.
20231 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
20232 * gdb.hp/gdb.defects/solib-d.c: File deleted.
20233 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
20234 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
20235 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
20236 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
20237 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
20238 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
20239 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
20240 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
20241 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
20242 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
20243 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
20244 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
20245 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
20246 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
20247 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
20248 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
20249 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
20250 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
20251 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
20252 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
20253 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
20254 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
20255 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
20256 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
20257 * gdb.hp/tools/odump: File deleted.
20258
8bf3b159
PA
202592015-03-19 Pedro Alves <palves@redhat.com>
20260
20261 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20262 (saw_thread_3): New globals.
20263 (top level): Increment them when an event for the corresponding
20264 thread is seen.
20265 (no thread starvation): New test.
20266
eb54c8bf
PA
202672015-03-19 Pedro Alves <palves@redhat.com>
20268
20269 * gdb.threads/continue-pending-status.c: New file.
20270 * gdb.threads/continue-pending-status.exp: New file.
20271
32d2e5d6
PA
202722015-03-18 Pedro Alves <palves@redhat.com>
20273
20274 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20275 Use gdb_is_target_remote instead of is_remote. Use
20276 gdb_test_multiple instead of gdb_expect. Exit early if
20277 gdb_test_multiple hits its internal matches. Tighten stepi tests
20278 expected output. Fail on exit with any signal, instead of just
20279 SIGILL.
20280
f68f11b7
YQ
202812015-03-18 Yao Qi <yao.qi@linaro.org>
20282
20283 PR tdep/18107
20284 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20285 variable.
20286 * gdb.base/catch-syscall.exp: Don't skip it on
20287 aarch64*-*-linux* target. Remove elements in all_syscalls.
20288 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20289 target.
20290 (setup_all_syscalls): New proc.
20291
ca5fd19b
YQ
202922015-03-16 Yao Qi <yao.qi@linaro.org>
20293
20294 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20295 (top level): Skip tests if valid_addr_p returns false for
20296 $cmd1 or $cmd2.
20297
85642ba0
AW
202982015-03-11 Andy Wingo <wingo@igalia.com>
20299
20300 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20301
e03f9645
YQ
203022015-03-11 Yao Qi <yao.qi@linaro.org>
20303
20304 * gdb.base/catch-syscall.exp: Fix typo in comments.
20305
5d0962b2
YQ
203062015-03-11 Yao Qi <yao.qi@linaro.org>
20307
20308 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20309
b2df3cef
PA
203102015-03-09 Pedro Alves <palves@redhat.com>
20311
20312 * dg-extract-results.py: Delete.
20313
ef878e53
PA
203142015-03-09 Pedro Alves <palves@redhat.com>
20315
20316 Merge dg-extract-results.sh from GCC upstream (r218843).
20317
20318 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20319 * dg-extract-results.sh: Use --text with grep to avoid issues with
20320 binary files. Fall back to cat -v, if that doesn't work.
20321
9494d219
PA
203222015-03-05 Pedro Alves <palves@redhat.com>
20323
20324 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20325
a8d9763a
SM
203262015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20327
20328 * lib/mi-support.exp (mi_expect_interrupt): Accept
20329 alternative event for when in all-stop mode.
20330
be9957b8
PA
203312015-03-04 Pedro Alves <palves@redhat.com>
20332
20333 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20334
d57be0f4 203352015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
20336
20337 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20338
c214c7cf
AA
203392015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20340
20341 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20342 regexps for GDB's current line display, accept a hex address
20343 preceding the line number.
20344
6d74a497
AA
203452015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20346
20347 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20348 the 'arch1' variable for "s390*-linux*" targets.
20349
511aee7c
PA
203502015-03-04 Pedro Alves <palves@redhat.com>
20351
20352 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20353 (main): Pass missing retval argument to pthread_join call.
20354
95e50b27
PA
203552015-03-02 Pedro Alves <palves@redhat.com>
20356
20357 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20358 (top level): Call do_test with non-stop as well.
20359
28054d69
PA
203602015-03-02 Pedro Alves <palves@redhat.com>
20361
20362 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20363 -1.
20364
4fa5d7b4
AA
203652015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20366
20367 * gdb.arch/s390-vregs.exp: New test.
20368 * gdb.arch/s390-vregs.S: New file.
20369
97c18565
PA
203702015-02-27 Pedro Alves <palves@redhat.com>
20371
20372 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20373 call to catch_command_errors.
20374 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20375 catch_command_errors.
20376
a37bfa30
PA
203772015-02-27 Pedro Alves <palves@redhat.com>
20378
20379 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20380 "true" for boolean result.
20381 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20382 prototype of main.
20383
6f98576f
PA
203842015-02-27 Pedro Alves <palves@redhat.com>
20385
20386 * lib/unbuffer_output.c: New file.
20387 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20388 (main): Call gdb_unbuffer_output.
20389
eba5ab56
YQ
203902015-02-27 Yao Qi <yao.qi@linaro.org>
20391
20392 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20393 target.
20394
0def5aaa
DE
203952015-02-26 Doug Evans <dje@google.com>
20396
20397 * gdb.cp/class2.cc (Dbase, D): New classes.
20398 (main): New local delta.
20399 * gdb.cp/class2.exp: Test printing delta.
20400 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20401 (dynbar): New global.
20402 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20403
081a1c2c
JK
204042015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20405
20406 * gdb.compile/compile-ifunc.c: New file.
20407 * gdb.compile/compile-ifunc.exp: New file.
20408
2f41223f
AT
204092015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20410
20411 * gdb.base/structs.exp: Check for correct struct on finish.
20412
03eddd80
YQ
204132015-02-26 Yao Qi <yao.qi@linaro.org>
20414
20415 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20416 is zero.
20417
80c57053
JK
204182015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20419
20420 * gdb.arch/cordic.ko.bz2: New file.
20421 * gdb.arch/cordic.ko.debug.bz2: New file.
20422 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20423
21613c12
YQ
204242015-02-25 Yao Qi <yao.qi@linaro.org>
20425
20426 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20427 aarch64*-*-* target.
20428
d8b901ed
PA
204292015-02-23 Pedro Alves <palves@redhat.com>
20430
20431 * lib/gdb.exp (delete_breakpoints): Rewrite using
20432 gdb_test_multiple.
20433
e5b85ead
PA
204342015-02-23 Pedro Alves <palves@redhat.com>
20435
20436 * gdb.base/info-os.c: Include stdlib.h.
20437
85c3a371
DE
204382015-02-22 Doug Evans <xdje42@gmail.com>
20439
20440 PR symtab/17855
20441 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20442 is read after symbols have been re-read.
20443 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20444 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20445
96553a0c
DE
204462015-02-21 Doug Evans <dje@google.com>
20447
20448 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20449
97a0c697
JK
204502015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20451
20452 PR corefiles/17808
20453 * gdb.arch/i386-biarch-core.core.bz2: New file.
20454 * gdb.arch/i386-biarch-core.exp: New file.
20455
a47cd6e9
PA
204562015-02-21 Pedro Alves <palves@redhat.com>
20457
20458 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20459 runto_main fails.
20460
c5facdc4
PA
204612015-02-20 Pedro Alves <palves@redhat.com>
20462
20463 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20464 info probes.
20465
2db9a427
PA
204662015-02-20 Pedro Alves <palves@redhat.com>
20467
20468 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20469
60fb7e9e
PA
204702015-02-20 Pedro Alves <palves@redhat.com>
20471
20472 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20473 clean_restart before gdb_target_supports_trace.
20474
5c5019c2
PA
204752015-02-20 Pedro Alves <palves@redhat.com>
20476
20477 PR threads/18006
20478 * gdb.threads/clone-thread_db.c: New file.
20479 * gdb.threads/clone-thread_db.exp: New file.
20480
c9587f88
AT
204812015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20482
20483 PR breakpoints/16812
20484 * gdb.base/catch-gdb-caused-signals.c: New file.
20485 * gdb.base/catch-gdb-caused-signals.exp: New file.
20486
f6a88844
JM
204872015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20488
20489 * configure: Regenerated.
20490 * configure.ac: Use GDB_AC_TRANSFORM.
20491 * aclocal.m4: sinclude ../transform.m4.
20492
497c491b
JM
204932015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20494
20495 * lib/dtrace.exp: New file.
20496 * gdb.base/dtrace-probe.exp: Likewise.
20497 * gdb.base/dtrace-probe.d: Likewise.
20498 * gdb.base/dtrace-probe.c: Likewise.
20499 * lib/pdtrace.in: Likewise.
20500 * configure.ac: Output variables with the transformed names of
20501 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20502 * configure: Regenerated.
20503
03e98035
JM
205042015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20505
20506 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20507 expected message when trying to access $_probe_* convenience
20508 variables while not on a probe.
20509
63cc30e9
JK
205102015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20511
20512 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20513
0703599a
PA
205142015-02-11 Pedro Alves <pedro@codesourcery.com>
20515
20516 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20517 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20518
7e60a48e
DE
205192015-02-10 Doug Evans <xdje42@gmail.com>
20520
20521 * lib/gdb.exp (gdb_load): Always return a result.
20522
01b088bc
PA
205232015-02-10 Pedro Alves <palves@redhat.com>
20524
20525 * gdb.threads/signal-sigtrap.c: New file.
20526 * gdb.threads/signal-sigtrap.exp: New file.
20527
b05ec7a5
AT
205282015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20529
20530 * gdb.trace/no-attach-trace.c: New file.
20531 * gdb.trace/no-attach-trace.exp: New file.
20532
a2c2acaf
MW
205332015-02-09 Mark Wielaard <mjw@redhat.com>
20534
20535 * gdb.dwarf2/atomic.c: New file.
20536 * gdb.dwarf2/atomic-type.exp: Likewise.
20537
31fd9caa
MM
205382015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20539
20540 * gdb.btrace/buffer-size.exp: Update "info record" output.
20541 * gdb.btrace/delta.exp: Update "info record" output.
20542 * gdb.btrace/enable.exp: Update "info record" output.
20543 * gdb.btrace/finish.exp: Update "info record" output.
20544 * gdb.btrace/instruction_history.exp: Update "info record" output.
20545 * gdb.btrace/next.exp: Update "info record" output.
20546 * gdb.btrace/nexti.exp: Update "info record" output.
20547 * gdb.btrace/step.exp: Update "info record" output.
20548 * gdb.btrace/stepi.exp: Update "info record" output.
20549 * gdb.btrace/nohist.exp: Update "info record" output.
20550
d33501a5
MM
205512015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20552
20553 * gdb.btrace/buffer-size: New.
20554
f4abbc16
MM
205552015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20556
20557 * gdb.btrace/delta.exp: Update "info record" output.
20558 * gdb.btrace/enable.exp: Update "info record" output.
20559 * gdb.btrace/finish.exp: Update "info record" output.
20560 * gdb.btrace/instruction_history.exp: Update "info record" output.
20561 * gdb.btrace/next.exp: Update "info record" output.
20562 * gdb.btrace/nexti.exp: Update "info record" output.
20563 * gdb.btrace/step.exp: Update "info record" output.
20564 * gdb.btrace/stepi.exp: Update "info record" output.
20565 * gdb.btrace/nohist.exp: Update "info record" output.
20566
b9d61307
SM
205672015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20568
20569 PR gdb/15678
20570 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20571
e584fdbc
PA
205722015-02-06 Pedro Alves <palves@redhat.com>
20573
20574 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20575 macro.
20576 (seconds_left, again): New globals.
20577 (main): Wait seconds_left in a 1-second sleep loop instead of
20578 sleeping 180 seconds. If 'again' is set, reset the seconds
20579 counter.
20580 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20581 'again' in the inferior before detaching. Print the seconds left.
20582 (options): New global.
20583 (top level): Build program with -DTIMEOUT=$timeout.
20584
77f41761
PA
205852015-02-06 Pedro Alves <palves@redhat.com>
20586
20587 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20588 determine how many seconds to pass to 'alarm'.
20589 * gdb.base/gdb-sigterm.exp (top level): Build program with
20590 -DTIMEOUT=$timeout.
20591 (do_test): Return success/failure indication. Add more verbose
20592 logging. Don't fail if 200 single steps are seen. Instead, fail
20593 when the test times out.
20594 (passes): New global.
20595 (top level): Break the testing loop if testing fails on any
20596 iteration. Use gdb_assert.
20597
b9394193
DB
205982015-02-04 Don Breazeal <donb@codesourcery.com>
20599
20600 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20601 and initialize them.
20602 (ipc_cleanup): New function.
20603 (main): Don't declare shmid, semid, and msqid. Add a call to
20604 atexit so that we call ipc_cleanup on exit.
20605
42d9e528
PA
206062015-02-04 Pedro Alves <palves@redhat.com>
20607
20608 * boards/native-extended-gdbserver.exp: Remove any target variant
20609 specifications from the board name before clearing the isremote
20610 flag from board_info.
20611
ae6ae975
DE
206122015-01-31 Doug Evans <xdje42@gmail.com>
20613
20614 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20615
cfb069a8
GB
206162015-01-31 Gary Benson <gbenson@redhat.com>
20617
20618 * gdb.base/completion.exp: Disable completion limiting for
20619 existing tests. Add new tests to check completion limiting.
20620 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20621
5dd31d79
DE
206222015-01-31 Doug Evans <xdje42@gmail.com>
20623
20624 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20625
9f050062
DE
206262015-01-31 Doug Evans <xdje42@gmail.com>
20627
20628 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20629 entries. Duplicate file section script entries.
20630 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20631 inlined entries. Add test for safe-path rejection.
20632 * gdb.python/py-section-script.c: Add duplicate inlined section script
20633 entries. Duplicate file section script entries.
20634 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20635 inlined entries. Add test for safe-path rejection.
20636
df25ebbd
JB
206372015-01-29 Joel Brobecker <brobecker@adacore.com>
20638
20639 * gdb.ada/disc_arr_bound: New testcase.
20640
4a0ca9ec
JB
206412015-01-29 Joel Brobecker <brobecker@adacore.com>
20642
20643 * gdb.ada/mi_var_array: New testcase.
20644
3a8b707a
DE
206452015-01-27 Doug Evans <dje@google.com>
20646
20647 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20648 Add test for objfile.filename, objfile.username after objfile
20649 has been unloaded.
20650
f8313f6e
JB
206512015-01-26 Joel Brobecker <brobecker@adacore.com>
20652
20653 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20654 the second test to print the name attribute of value
20655 returned by the call to gdb.lookup_type, and adjust
20656 the expected output accordingly.
20657
37bc665e
MW
206582015-01-25 Mark Wielaard <mjw@redhat.com>
20659
20660 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20661 * gdb.base/disp-step-fork.c: Include unistd.h.
20662 * gdb.base/siginfo-obj.c: Include stdio.h.
20663 * gdb.base/siginfo-thread.c: Likewise.
20664 * gdb.mi/non-stop.c: Include unistd.h.
20665 * gdb.mi/nsthrexec.c: Include stdio.h.
20666 * gdb.mi/pthreads.c: Include unistd.h.
20667 * gdb.modula2/unbounded1.c (main): Declare returns int.
20668 * gdb.reverse/consecutive-reverse.c: Likewise.
20669 * gdb.threads/create-fail.c: Include unistd.h.
20670 * gdb.threads/killed.c: Likewise.
20671 * gdb.threads/linux-dp.c: Likewise.
20672 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20673 * gdb.threads/non-ldr-exc-2.c: Likewise.
20674 * gdb.threads/non-ldr-exc-3.c: Likewise.
20675 * gdb.threads/non-ldr-exc-4.c: Likewise.
20676 * gdb.threads/pthreads.c: Include unistd.h.
20677 (main): Declare returns int.
20678 * gdb.threads/tls-main.c (foo): New declaration.
20679 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20680
f7e5394d
SM
206812015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20682
20683 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20684 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20685
743649fd
MW
206862015-01-15 Mark Wielaard <mjw@redhat.com>
20687
20688 * gdb.base/noreturn-return.c: New file.
20689 * gdb.base/noreturn-return.exp: New file.
20690 * gdb.base/noreturn-finish.c: New file.
20691 * gdb.base/noreturn-finish.exp: New file.
20692
198297aa
PA
206932015-01-23 Pedro Alves <palves@redhat.com>
20694
20695 * gdb.threads/continue-pending-after-query.c: New file.
20696 * gdb.threads/continue-pending-after-query.exp: New file.
20697
717cf30c
AG
206982015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20699 Simon Marchi <simon.marchi@ericsson.com>
20700
20701 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20702 * gdb.base/valgrind-db-attach.exp: Same.
20703 * gdb.base/valgrind-infcall.exp: Same.
20704 * lib/mi-support.exp (default_mi_gdb_start): Same.
20705 * lib/prompt.exp (default_prompt_gdb_start): Same.
20706 * lib/gdb.exp (default_gdb_spawn): Same.
20707 (gdb_interact): New.
20708
20709
4b62a76e
JK
207102015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20711
20712 * gdb.compile/compile.exp (pointer to jit function): New test.
20713
b4cdae6f
WW
207142015-01-17 Wei-cheng Wang <cole945@gmail.com>
20715
20716 * lib/gdb.exp (supports_process_record): Return true for
20717 powerpc*-*-linux*.
20718 (supports_reverse): Likewise.
20719
d221e7ef
DB
207202015-01-15 Don Breazeal <donb@codesourcery.com>
20721
20722 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20723 instead of checking whether the target board is remote and
20724 use spawn_wait_for_attach instead of exec/sleep.
20725 * gdb.base/attach-twice.exp: Likewise.
20726
bafffb51
JB
207272015-01-15 Joel Brobecker <brobecker@adacore.com>
20728
20729 * gdb.ada/var_arr_attrs: New testcase.
20730
5589af0e
PA
207312015-01-14 Pedro Alves <palves@redhat.com>
20732 Joel Brobecker <brobecker@adacore.com>
20733
20734 PR gdb/17525
20735 * gdb.base/bp-cmds-execution-x-script.c: New file.
20736 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20737 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20738
6c400b59
PA
207392015-01-14 Pedro Alves <palves@redhat.com>
20740
20741 PR cli/17828
20742 * gdb.base/batch-preserve-term-settings.c: New file.
20743 * gdb.base/batch-preserve-term-settings.exp: New file.
20744
e02c96a7
DE
207452015-01-13 Doug Evans <dje@google.com>
20746
20747 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20748 binary.
20749
576fd14c
JB
207502015-01-13 Joel Brobecker <brobecker@adacore.com>
20751
20752 * Makefile.in (clean mostlyclean): Do not delete *.py.
20753
04dccad0
JB
207542015-01-13 Joel Brobecker <brobecker@adacore.com>
20755
20756 * gdb.python/py-lookup-type.exp: New file.
20757
3d230f71
PA
207582015-01-12 Pedro Alves <palves@redhat.com>
20759
20760 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20761 restore GDBFLAGS before returning.
20762
7e67715d
JK
207632015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20764
20765 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20766 is_amd64_regs_target and is_x86_like_target.
20767
f2e0d4b4
DE
207682015-01-11 Doug Evans <xdje42@gmail.com>
20769
20770 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20771 is given without an explicit form.
20772 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20773 attributes.
20774 * gdb.dwarf/corrupt.exp: Ditto.
20775 * gdb.dwarf2/enum-type.exp: Ditto.
20776 * gdb.trace/entry-values.exp: Ditto.
20777 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20778
439250fb
DE
207792015-01-11 Doug Evans <xdje42@gmail.com>
20780
20781 PR gdb/15830
20782 * gdb.base/maint.exp: Remove references to "maint demangle".
20783 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20784 Add tests for explicitly specifying language to demangle.
20785 * gdb.dlang/demangle.exp: Ditto.
20786
ede9f622
PA
207872015-01-09 Pedro Alves <palves@redhat.com>
20788
20789 * gdb.threads/non-stop-fair-events.c: New file.
20790 * gdb.threads/non-stop-fair-events.exp: New file.
20791
a7b796db
PA
207922015-01-09 Pedro Alves <palves@redhat.com>
20793
20794 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20795 the global scope. Set a breakpoint after all threads are started
20796 rather than stepping over two source lines. Expect the prompt.
20797 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20798 global.
20799 (NUM): Now 15.
20800 (main): Use threads_started_barrier to wait for all threads to
20801 start. Main thread no longer calls thread_function. Exit after
20802 180 seconds.
20803 (loop): New function.
20804 (thread_function): Wait on threads_started_barrier barrier. Call
20805 'loop' at each iteration.
20806 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20807 threads have started, instead of hardcoding number of "next"
20808 steps. Use an access watchpoint instead of a write watchpoint.
20809
9665ffdd
PA
208102015-01-09 Pedro Alves <palves@redhat.com>
20811
20812 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20813 (thread_func): Wait on barrier.
20814 (main): Wait for all threads to start before stopping GDB.
20815 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20816 global.
20817 (thread1_func, thread2_func): Wait on barrier.
20818 (main): Wait for all threads to start before stopping GDB.
20819 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20820 New global.
20821 (thread1_func, thread2_func): Wait on barrier.
20822 (main): Wait for all threads to start before stopping GDB.
20823
c945a99f
PA
208242015-01-09 Pedro Alves <palves@redhat.com>
20825
20826 * gdb.threads/attach-many-short-lived-threads.c: New file.
20827 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20828
c1a747c1
PA
208292014-01-09 Pedro Alves <palves@redhat.com>
20830
20831 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20832 instead of to thread 2.
20833 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20834 Add barrier around each pthread_create call instead of around all
20835 calls.
20836 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20837 Set a break on thread_function and have the child threads hit it
20838 one at at a time.
20839
60b3033e
PA
208402015-01-09 Pedro Alves <palves@redhat.com>
20841
20842 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20843 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20844 false.
20845 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20846 checking whether the target board is remote.
20847 * gdb.multi/multi-attach.exp: Likewise.
20848 * gdb.python/py-sync-interp.exp: Likewise.
20849 * gdb.server/ext-attach.exp: Likewise.
20850 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20851 tests that need to attach, instead of checking whether the target
20852 board is remote at the top of the file.
20853
acc018ac
YQ
208542015-01-08 Yao Qi <yao@codesourcery.com>
20855
20856 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20857
50a18af8
JK
208582015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20859
20860 Fix testcase compilation.
20861 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20862
8503d6e1
JB
208632015-01-06 Joel Brobecker <brobecker@adacore.com>
20864
20865 * gdb.python/py-type.exp: Add a couple test about empty
20866 array creation, and negative-length array creation.
20867
cc73dbcc
DE
208682015-01-02 Doug Evans <xdje42@gmail.com>
20869
20870 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20871
0300bbc7
DE
208722015-01-02 Doug Evans <dje@google.com>
20873
20874 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20875
9d85a0ec
YQ
208762014-12-29 Yao Qi <yao@codesourcery.com>
20877
20878 * gdb.trace/entry-values.exp: Update comments. Rename variable
20879 bar_call_foo to returned_from_foo.
20880
87186c6a
MMN
208812014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20882
20883 PR gdb/17394
20884 * gdb.linespec/break-asm-file.c: New file.
20885 * gdb.linespec/break-asm-file.exp: New file.
20886 * gdb.linespec/break-asm-file0.s: New file.
20887 * gdb.linespec/break-asm-file1.s: New file.
20888
1bab7383
YQ
208892014-12-18 Nigel Stephens <nigel@mips.com>
20890 Maciej W. Rozycki <macro@codesourcery.com>
20891
20892 * gdb.base/float.exp: Handle the new output from "info float" on
20893 MIPS targets.
20894
1bc1068a
JK
208952014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20896
20897 Fix MinGW compilation.
20898 * gdb.compile/compile-ops.exp: Update untested message if
20899 !skip_compile_feature_tests.
20900 * gdb.compile/compile-setjmp.exp: Likewise.
20901 * gdb.compile/compile-tls.exp: Likewise.
20902 * gdb.compile/compile.exp: Likewise.
20903 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20904 supported on this host".
20905
b6615d10
DE
209062014-12-16 Doug Evans <xdje42@gmail.com>
20907
20908 * boards/stabs.exp: New file.
20909
25dda427
AA
209102014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20911
20912 * gdb.base/completion.exp: Adjust to format changes of "maint
20913 print user-registers".
20914
bf330350
CU
209152014-12-16 Catalin Udma <catalin.udma@freescale.com>
20916
20917 PR server/17457
20918 * gdb.arch/aarch64-fp.c: New file.
20919 * gdb.arch/aarch64-fp.exp: New file.
20920
395cf596
SDJ
209212014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20922
20923 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20924 r210637, r210913, r211666, r215400, r215817).
20925
20926 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20927 * dg-extract-results.py: New file.
20928 * dg-extract-results.sh: Use it if the environment seems
20929 suitable.
20930
20931 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20932
20933 * dg-extract-results.py (parse_run): Handle warnings that
20934 are printed before a test harness is run.
20935
20936 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20937
20938 * dg-extract-results.py (Named): Remove __cmp__ method.
20939 (output_variation): Use a key to sort variation.harnesses.
20940
20941 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20942
20943 * dg-extract-results.py: For Python 3, force sys.stdout to
20944 handle surrogate escape sequences.
20945 (safe_open): New function.
20946 (output_segment, main): Use it.
20947
20948 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20949
20950 * dg-extract-results.py (Prog.result_re): Include options
20951 in test name.
20952
20953 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20954
20955 * dg-extract-results.py (output_variation): Always sort if
20956 do_sum.
20957
e882ef3c
SM
209582014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20959
20960 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20961 as long as we get pagination notifications.
20962
4992aa20
JM
209632014-12-15 Jason Merrill <jason@redhat.com>
20964
20965 * Makefile.in (check-gdb.%): Restore.
20966 * README: Mention it.
20967
c1b5a1a6
JB
209682014-12-13 Joel Brobecker <brobecker@adacore.com>
20969
20970 * gdb.ada/str_uninit: New testcase.
20971
5537b577
JK
209722014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20973
20974 PR symtab/17642
20975 * gdb.base/vla-stub-define.c: New file.
20976 * gdb.base/vla-stub.c: New file.
20977 * gdb.base/vla-stub.exp: New file.
20978
bb2ec1b3
TT
209792014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20980 Jan Kratochvil <jan.kratochvil@redhat.com>
20981 Tom Tromey <tromey@redhat.com>
20982
20983 * configure.ac: Add gdb.compile/.
20984 * configure: Regenerate.
20985 * gdb.compile/Makefile.in: New file.
20986 * gdb.compile/compile-ops.exp: New file.
20987 * gdb.compile/compile-ops.c: New file.
20988 * gdb.compile/compile-tls.c: New file.
20989 * gdb.compile/compile-tls.exp: New file.
20990 * gdb.compile/compile-constvar.S: New file.
20991 * gdb.compile/compile-constvar.c: New file.
20992 * gdb.compile/compile-mod.c: New file.
20993 * gdb.compile/compile-nodebug.c: New file.
20994 * gdb.compile/compile-setjmp-mod.c: New file.
20995 * gdb.compile/compile-setjmp.c: New file.
20996 * gdb.compile/compile-setjmp.exp: New file.
20997 * gdb.compile/compile-shlib.c: New file.
20998 * gdb.compile/compile.c: New file.
20999 * gdb.compile/compile.exp: New file.
21000 * lib/gdb.exp (skip_compile_feature_tests): New proc.
21001
4ff709eb
TT
210022014-12-12 Tom Tromey <tromey@redhat.com>
21003
21004 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
21005 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
21006
6dddd6a5
DE
210072014-12-12 Doug Evans <dje@google.com>
21008
21009 * lib/gdb-python.exp (get_python_valueof): New function.
21010 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
21011
71c24708
AA
210122014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21013
21014 * gdb.base/completion.exp: Add test for completion of "info
21015 registers ".
21016
3e29f34a
MR
210172014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
21018
21019 * gdb.base/func-ptrs.c: New file.
21020 * gdb.base/func-ptrs.exp: New file.
21021
fc126975
SM
210222014-12-10 Simon Marchi <simon.marchi@ericsson.com>
21023
21024 PR breakpoints/17012
21025 * gdb.base/dprintf-detach.c: New file.
21026 * gdb.base/dprintf-detach.exp: New file.
21027
0a46d518
SM
210282014-12-10 Simon Marchi <simon.marchi@ericsson.com>
21029
21030 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
21031 * lib/gdb.exp (target_is_gdbserver): New procedure.
21032
a0be3e44
DE
210332014-12-08 Doug Evans <dje@google.com>
21034
21035 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
21036
df1b803a
YQ
210372014-12-05 Yao Qi <yao@codesourcery.com>
21038
21039 * gdb.guile/scm-error.exp: Remove the third argument to
21040 gdb_remote_download.
21041 * gdb.guile/scm-frame-args.exp: Likewise.
21042 * gdb.guile/scm-section-script.exp: Likewise.
21043
ddb9f679
YQ
210442014-12-05 Yao Qi <yao@codesourcery.com>
21045
21046 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
21047
86e4ed39
DE
210482014-12-04 Doug Evans <dje@google.com>
21049
21050 * gdb.python/py-objfile.exp: Add tests for
21051 objfile.add_separate_debug_file.
21052
7c50a931
DE
210532014-12-04 Doug Evans <dje@google.com>
21054
21055 * lib/gdb.exp (get_build_id): New function.
21056 (build_id_debug_filename_get): Rewrite to use it.
21057 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
21058
621661e3
MR
210592014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
21060
21061 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
21062 `method(long)', not just 0x0.
21063 * gdb.cp/nsalias.exp: Align code labels to 4.
21064 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
21065 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
21066 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
21067 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
21068 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
21069 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
21070
29f0c3b7
DE
210712014-12-02 Doug Evans <dje@google.com>
21072
e1e061e7 21073 PR symtab/17602
29f0c3b7 21074 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 21075 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
21076 * gdb.cp/anon-ns.exp: Update.
21077
162078c8
NB
210782014-12-02 Nick Bull <nicholaspbull@gmail.com>
21079
21080 * gdb.python/py-events.py (inferior_call_handler): New.
21081 (register_changed_handler, memory_changed_handler): New.
21082 (test_events.invoke): Register new handlers.
21083 * gdb.python/py-events.exp: Add tests for inferior call,
21084 memory_changed and register_changed events.
21085
fdb09caf
AA
210862014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
21087
21088 * gdb.base/execl-update-breakpoints.exp: Specify the link address
21089 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
21090 if the linker doesn't understand this.
21091
55cfb2c4
SM
210922014-12-01 Simon Marchi <simon.marchi@ericsson.com>
21093
21094 * gdb.python/python.exp: Change expected reply to help().
21095
9e8cd6df
YQ
210962014-12-01 Yao Qi <yao@codesourcery.com>
21097
21098 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
21099 AC_CONFIG_SUBDIRS(gdb.gdbtk).
21100 * configure: Re-generated.
21101
6c659fc2
SC
211022014-11-28 Siva Chandra Reddy <sivachandra@google.com>
21103
21104 * gdb.cp/chained-calls.cc: New file.
21105 * gdb.cp/chained-calls.exp: New file.
21106 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
21107
d7fc3181
SM
211082014-11-28 Simon Marchi <simon.marchi@ericsson.com>
21109
21110 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
21111 * gdb.dwarf2/symtab-producer.exp: Same.
21112 * gdb.gdb/python-interrupts.exp: Same.
21113 * gdb.gdb/python-selftest.exp: Same.
21114 * gdb.python/py-linetable.exp: Same.
21115 * gdb.python/py-type.exp: Same.
21116 * gdb.python/py-value-cc.exp: Same.
21117 * gdb.python/py-value.exp: Same.
21118
10e79639
YQ
211192014-11-28 Yao Qi <yao@codesourcery.com>
21120
21121 * gdb.base/break-probes.exp: Match library name prefixed with
21122 sysroot.
21123
f28a0564
SM
211242014-11-27 Simon Marchi <simon.marchi@ericsson.com>
21125
21126 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
21127 test expected output. Add parentheses for the call to print.
21128 Remove L suffix from integers.
21129
3fe1ce1d
DE
211302014-11-26 Doug Evans <dje@google.com>
21131
21132 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
21133
84429e27
YQ
211342014-11-22 Yao Qi <yao@codesourcery.com>
21135
21136 * gdb.trace/entry-values.c: Remove asms.
21137 (foo): Add foo_label.
21138 (bar): Add bar_label.
21139 * gdb.trace/entry-values.exp: Remove code computing foo's
21140 length and bar's length.
21141 (Dwarf::assemble): Invoke function_range for bar and use
21142 MACRO_AT_func for foo.
21143
26741859
YQ
211442014-11-22 Yao Qi <yao@codesourcery.com>
21145
21146 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
21147 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
21148 Use .Lgcc43_procstart instead of gcc43.
21149
45e44d27
JB
211502014-11-21 Joel Brobecker <brobecker@adacore.com>
21151
21152 * gdb.ada/n_arr_bound: New testcase.
21153
458c8db8
SDJ
211542014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
21155
21156 PR breakpoints/10737
21157 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
21158 test_catch_syscall_multi_arch.
21159 (test_catch_syscall_multi_arch): New function.
21160
43f3e411
DE
211612014-11-20 Doug Evans <xdje42@gmail.com>
21162
21163 * gdb.base/maint.exp: Update expected output.
21164
0d7b2549
AA
211652014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
21166
21167 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
21168 4-byte instruction on S390.
21169
8908fca5
JB
211702014-11-19 Joel Brobecker <brobecker@adacore.com>
21171
21172 * gdb.ada/arr_arr: New testcase.
21173
4a46959e
JB
211742014-11-19 Joel Brobecker <brobecker@adacore.com>
21175
21176 * gdb.ada/pkd_arr_elem: New Testcase.
21177
470e2f4e
LM
211782014-11-18 Luis Machado <lgustavo@codesourcery.com>
21179
21180 * gdb.reverse/break-precsave: Expect completion message for
21181 core file reads.
21182 * gdb.reverse/consecutive-precsave.exp: Likewise.
21183 * gdb.reverse/finish-precsave.exp: Likewise.
21184 * gdb.reverse/i386-precsave.exp: Likewise.
21185 * gdb.reverse/machinestate-precsave.exp: Likewise.
21186 * gdb.reverse/sigall-precsave.exp: Likewise.
21187 * gdb.reverse/solib-precsave.exp: Likewise.
21188 * gdb.reverse/step-precsave.exp: Likewise.
21189 * gdb.reverse/until-precsave.exp: Likewise.
21190 * gdb.reverse/watch-precsave.exp: Likewise.
21191
a267f3ad
AA
211922014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21193
21194 * gdb.base/bp-permanent.c: Include unistd.h.
21195 * gdb.python/py-framefilter-mi.c (main): Add return type.
21196 * gdb.python/py-framefilter.c (main): Likewise.
21197 * gdb.trace/actions-changed.c (main): Likewise.
21198
12084a9a
AA
211992014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21200
21201 * gdb.mi/until.c: Add eye-catchers.
21202 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
21203 line numbers.
21204
dc7e1a77
AA
212052014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21206
21207 * gdb.base/condbreak.exp: Drop references to removed non-prototype
21208 function header variants in break1.c.
21209 * gdb.base/ena-dis-br.exp: Likewise.
21210 * gdb.base/hbreak2.exp: Likewise.
21211 * gdb.reverse/until-precsave.exp: Drop references to removed
21212 non-prototype function header variants in ur1.c.
21213 * gdb.reverse/until-reverse.exp: Likewise.
21214
41c77605
PM
212152014-11-17 Petr Machata <pmachata@redhat.com>
21216
21217 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
21218 ${_cu_offset_size} bytes abbrev offset.
21219
34248c3a
DE
212202014-11-15 Doug Evans <xdje42@gmail.com>
21221
21222 PR symtab/17559
21223 * gdb.base/line-symtabs.exp: New file.
21224 * gdb.base/line-symtabs.c: New file.
21225 * gdb.base/line-symtabs.h: New file.
21226
646da059
YQ
212272014-11-14 Yao Qi <yao@codesourcery.com>
21228
21229 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
21230 (func): Add label func_label.
21231 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
21232 Replace low_pc and high_pc with MACRO_AT_range.
21233 Replace name, low_pc and high_pc with MACRO_AT_func.
21234
9301ebe6
YQ
212352014-11-14 Yao Qi <yao@codesourcery.com>
21236
21237 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
21238 Replace name, low_pc and high_pc with MACRO_AT_func.
21239
f166b542
YQ
212402014-11-14 Yao Qi <yao@codesourcery.com>
21241
21242 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
21243 produce debug information.
21244 * gdb.dwarf2/implptr-optimized-out.S: Removed.
21245
0f6e71e3
YQ
212462014-11-14 Yao Qi <yao@codesourcery.com>
21247
21248 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
21249 object and get function length.
21250 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
21251 with MACRO_AT_func.
21252 (top-level): Replace gdb_compile and clean_restart with
21253 prepare_for_testing.
21254 * gdb.dwarf2/main.c (main): Add label main_label.
21255
876c4df9
YQ
212562014-11-14 Yao Qi <yao@codesourcery.com>
21257
21258 * lib/dwarf.exp (function_range): New procedure.
21259 (Dwarf::_handle_macro_at_func): New procedure.
21260 (Dwarf::_handle_macro_at_range): New procedure.
21261 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21262
02ad9cf1
YQ
212632014-11-14 Yao Qi <yao@codesourcery.com>
21264
21265 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21266 (_handle_attribute): New procedure.
21267
a59add0c
AA
212682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21269
21270 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21271 * gdb.base/call-sc.c (zed): Likewise.
21272 * gdb.base/checkpoint.c (main): Likewise.
21273 * gdb.base/dump.c (main): Likewise.
21274 * gdb.base/gcore.c (main): Likewise.
21275 * gdb.base/huge.c (main): Likewise.
21276 * gdb.base/multi-forks.c (main): Likewise.
21277 * gdb.base/pr10179-a.c (main): Likewise.
21278 * gdb.base/savedregs.c (main): Likewise.
21279 * gdb.base/sigaltstack.c (main): Likewise.
21280 * gdb.base/siginfo.c (main): Likewise.
21281 * gdb.base/structs.c (zed): Likewise.
21282 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21283 * gdb.mi/mi-syn-frame.c (main): Likewise.
21284 * gdb.mi/until.c (foo, main): Likewise.
21285 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21286 * gdb.base/solib-weak.c (foo): Declare.
21287 * gdb.base/attach-twice.c: Include stdio.h.
21288 * gdb.base/weaklib1.c: Likewise.
21289 * gdb.base/weaklib2.c: Likewise.
21290 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21291 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21292 unistd.h.
21293 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21294 * gdb.mi/mi-exit-code.c: Likewise.
21295 * gdb.base/break-interp-lib.c: Include string.h.
21296 * gdb.base/coremaker.c: Likewise.
21297 * gdb.base/testenv.c: Likewise.
21298 * gdb.python/py-finish-breakpoint.c: Likewise.
21299 * gdb.base/inferior-died.c: Include sys/wait.h.
21300 * gdb.base/fileio.c: Include time.h.
21301 * gdb.base/async-shell.c: Include unistd.h.
21302 * gdb.base/dprintf-non-stop.c: Likewise.
21303 * gdb.base/info-os.c: Likewise.
21304 * gdb.mi/mi-console.c: Likewise.
21305 * gdb.mi/watch-nonstop.c: Likewise.
21306 * gdb.python/py-events.c: Likewise.
21307 * gdb.base/async.c (baz): Move up before its invocation.
21308 * gdb.base/code_elim2.c (my_global_func): Likewise.
21309 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21310 * gdb.base/advance.c (func2): Likewise.
21311
3b5d5997
AA
213122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21313
21314 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21315 variant.
21316 * gdb.base/annota3.c: Likewise.
21317 * gdb.base/async.c: Likewise.
21318 * gdb.base/average.c: Likewise.
21319 * gdb.base/call-ar-st.c: Likewise.
21320 * gdb.base/call-rt-st.c: Likewise.
21321 * gdb.base/call-sc.c: Likewise.
21322 * gdb.base/call-strs.c: Likewise.
21323 * gdb.base/ending-run.c: Likewise.
21324 * gdb.base/execd-prog.c: Likewise.
21325 * gdb.base/exprs.c: Likewise.
21326 * gdb.base/foll-exec.c: Likewise.
21327 * gdb.base/foll-fork.c: Likewise.
21328 * gdb.base/foll-vfork.c: Likewise.
21329 * gdb.base/funcargs.c: Likewise.
21330 * gdb.base/gcore.c: Likewise.
21331 * gdb.base/jump.c: Likewise.
21332 * gdb.base/langs0.c: Likewise.
21333 * gdb.base/langs1.c: Likewise.
21334 * gdb.base/langs2.c: Likewise.
21335 * gdb.base/mips_pro.c: Likewise.
21336 * gdb.base/nodebug.c: Likewise.
21337 * gdb.base/opaque0.c: Likewise.
21338 * gdb.base/opaque1.c: Likewise.
21339 * gdb.base/recurse.c: Likewise.
21340 * gdb.base/run.c: Likewise.
21341 * gdb.base/scope0.c: Likewise.
21342 * gdb.base/scope1.c: Likewise.
21343 * gdb.base/setshow.c: Likewise.
21344 * gdb.base/setvar.c: Likewise.
21345 * gdb.base/shmain.c: Likewise.
21346 * gdb.base/shr1.c: Likewise.
21347 * gdb.base/shr2.c: Likewise.
21348 * gdb.base/sigall.c: Likewise.
21349 * gdb.base/signals.c: Likewise.
21350 * gdb.base/so-indr-cl.c: Likewise.
21351 * gdb.base/solib2.c: Likewise.
21352 * gdb.base/structs.c: Likewise.
21353 * gdb.base/sum.c: Likewise.
21354 * gdb.base/vforked-prog.c: Likewise.
21355 * gdb.base/watchpoint.c: Likewise.
21356 * gdb.reverse/shr2.c: Likewise.
21357 * gdb.reverse/until-reverse.c: Likewise.
21358 * gdb.reverse/ur1.c: Likewise.
21359 * gdb.reverse/watch-reverse.c: Likewise.
21360
066a77c5
AA
213612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21362
21363 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21364 variant.
21365 * gdb.base/sepdebug.exp: Drop references to removed code.
21366
4f204ea5
AA
213672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21368
21369 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21370 variant. Preserve original line numbering.
21371 * gdb.base/list1.c: Likewise.
21372
3b377a3a
AA
213732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21374
21375 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21376 variant.
21377 * gdb.base/break1.c: Likewise.
21378 * gdb.base/break.exp: Drop references to removed code.
21379
e444df73
AA
213802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21381
21382 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21383 variant.
21384
8008f2a7
AA
213852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21386
21387 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21388
a5a06887
AA
213892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21390
21391 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21392 logic into perform_all_tests() and invoke it with and without
21393 function header prototypes.
21394 (do_function_calls): Remove conditional XFAIL for PR 5318.
21395 (rerun_and_prepare): Remove duplicate code.
21396 (perform_all_tests): New. Main logic moved here.
21397
44dba9b9
AA
213982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21399
21400 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21401 code guarded by #ifdef NO_PROTOTYPES.
21402 (t_double_many_args): Likewise.
21403 (DEF_FUNC_MANY_ARGS_1): Likewise.
21404 (DEF_FUNC_VALUES_1): Likewise.
21405 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21406 guarded by #ifdef PROTOTYPES.
21407
d1fbcd56
AA
214082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21409
21410 * gdb.mi/mi-console.c: Add eye-catcher.
21411 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21412 instead of literal line number.
21413
b0e59b8f
AA
214142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21415
21416 * gdb.base/shr2.c: Add eye-catcher.
21417 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21418 line number.
21419
78f98cca
AA
214202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21421
21422 * gdb.base/jump.c: Add eye-catchers.
21423 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21424 numbers.
21425
58fa2af0
AA
214262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21427
21428 * gdb.base/execd-prog.c: Add eye-catchers.
21429 * gdb.base/foll-exec.c: Likewise.
21430 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21431 line numbers.
21432
04e5059b
AA
214332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21434
21435 * gdb.base/ending-run.c: Add eye-catchers.
21436 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21437 literal line numbers.
21438
dbfdb174
AA
214392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21440
21441 * gdb.base/call-rt-st.c: Add eye-catchers.
21442 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21443 literal line numbers.
21444
888a2ade
AA
214452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21446
21447 * gdb.base/call-ar-st.c: Add eye-catchers.
21448 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21449 literal line numbers.
21450
6acc2dde
AA
214512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21452
21453 * gdb.base/average.c: Add eye-catchers.
21454 * gdb.base/sum.c: Likewise.
21455 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21456 regexps dynamically.
21457
9ecfcd1d
AA
214582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21459
21460 * gdb.base/solib1.c: Add eye-catchers.
21461 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21462 literal line numbers.
21463
78708b7c
PA
214642014-11-12 Pedro Alves <palves@redhat.com>
21465
21466 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21467 leader has exited.
21468
af48d08f
PA
214692014-11-12 Pedro Alves <palves@redhat.com>
21470
21471 * gdb.arch/i386-bp_permanent.c: New file.
21472 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21473 (srcfile): Set to i386-bp_permanent.c.
21474 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21475 that stepi does not execute the 'leave' instruction, instead of
21476 testing it does execute.
21477 * gdb.base/bp-permanent.c: New file.
21478 * gdb.base/bp-permanent.exp: New file.
21479
af3768e9
DE
214802014-11-10 Doug Evans <xdje42@gmail.com>
21481
21482 PR symtab/17564
21483 * gdb.base/symtab-search-order.exp: New file.
21484 * gdb.base/symtab-search-order.c: New file.
21485 * gdb.base/symtab-search-order-1.c: New file.
21486 * gdb.base/symtab-search-order-shlib-1.c: New file.
21487
9de00a4a
PA
214882014-11-07 Pedro Alves <palves@redhat.com>
21489
21490 PR gdb/17511
21491 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21492 i?86-*-linux*.
21493
e0f52461
SC
214942014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21495
21496 PR c++/17494
21497 * gdb.cp/pr17494.cc: New file.
21498 * gdb.cp/pr17494.exp: New file.
21499
6ce8c980
YQ
215002014-11-02 Yao Qi <yao@codesourcery.com>
21501
21502 * gdb.python/python.exp: Get working directory and match the
21503 output of "set extended-prompt \\w " with it.
21504
02be9a71
DE
215052014-10-30 Doug Evans <dje@google.com>
21506
21507 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21508 in objfiles.
21509 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21510 in progspaces.
21511
3bdff46b
LM
215122014-10-30 Janis Johnson <janisjo@codesourcery.com>
21513
21514 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21515 * gdb.base/realname-expand.exp: Likewise.
21516 * gdb.linespec/macro-relative.exp: Likewise.
21517
ab917dfb
PA
215182014-10-29 Pedro Alves <palves@redhat.com>
21519
21520 PR gdb/17408
21521 * gdb.threads/schedlock.c (some_function): New function.
21522 (call_function): New global.
21523 (MAYBE_CALL_SOME_FUNCTION): New macro.
21524 (thread_function): Call it.
21525 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21526 and use it instead of a global counter. Adjust all callers.
21527 (get_current_thread): Use "find current thread" for test message
21528 here rather than having all callers pass down the same string.
21529 (goto_loop): New procedure, factored out from ...
21530 (my_continue): ... this.
21531 (step_ten_loops): Change parameter from test message to command to
21532 use. Adjust.
21533 (list_count): Delete global.
21534 (check_result): New procedure, factored out from duplicate top
21535 level code.
21536 (continue tests): Wrap in with_test_prefix.
21537 (test_step): New procedure, factored out from duplicate top level
21538 code.
21539 (top level): Test "step" in combination with all scheduler-locking
21540 modes. Test "next" in combination with all scheduler-locking
21541 modes, and in combination with stepping over a function call or
21542 not.
21543 * gdb.threads/next-bp-other-thread.c: New file.
21544 * gdb.threads/next-bp-other-thread.exp: New file.
21545
d3d4baed
PA
215462014-10-29 Pedro Alves <palves@redhat.com>
21547
21548 PR python/17372
21549 * gdb.python/python.exp: Test a multi-line command that spawns
21550 interactive Python.
21551 * gdb.base/multi-line-starts-subshell.exp: New file.
21552
563e8d85
YQ
215532014-10-29 Yao Qi <yao@codesourcery.com>
21554
21555 * gdb.base/fileio.exp: Make directories on host.
21556
0ea4d52e
YQ
215572014-10-29 Yao Qi <yao@codesourcery.com>
21558
21559 * gdb.base/fileio.c (test_write): Close the file.
21560
7f5ef605
PA
215612014-10-28 Pedro Alves <palves@redhat.com>
21562
21563 PR gdb/12623
21564 * gdb.base/sigstep.c (no_handler): New global.
21565 (main): If 'no_handler is true, set the signal handlers to
21566 SIG_IGN.
21567 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21568 with_sw_watch and no_handler parameters. Handle them.
21569 (top level) <stepping over handler when stopped at a breakpoint
21570 test>: Add a test axis for testing with a software watchpoint, and
21571 another for testing with the signal handler set to SIG_IGN.
21572 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21573 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21574
abbdbd03
PA
215752014-10-28 Pedro Alves <palves@redhat.com>
21576
21577 PR gdb/17511
21578 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21579 * gdb.base/sigstep.exp (other_handler_location): New global.
21580 (advance): Support stepping into the signal handler, and running
21581 commands while in the handler.
21582 (in_handler_map): New global.
21583 (top level): In the advance test, add combinations for getting
21584 into the handler with stepping commands, and for running commands
21585 in the handler. Add comment descripting the advancei tests.
21586
1df4399f
PA
215872014-10-28 Pedro Alves <palves@redhat.com>
21588
21589 * gdb.base/sigstep.exp: Use build_executable instead of
21590 prepare_for_testing.
21591 (top level): Move code that starts GDB, runs to main and creates a
21592 display to ...
21593 (restart): ... this new procedure.
21594 (top level): Move backtrace from signal handler test to ...
21595 (validate_backtrace): ... this new procedure.
21596 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21597 with_test_prefix. Always restart GDB.
21598 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21599 with_test_prefix. Always restart GDB. No need to delete
21600 breakpoints after the test.
21601 (test_skip_handler): Remove prefix parameter.
21602 (skip_over_handler, breakpoint_to_handler)
21603 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21604 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21605 restart GDB. No need to delete breakpoints after the test.
21606 (top level): Use foreach to call the test procedures with
21607 different commands.
21608
a5b6e449
PA
216092014-10-28 Pedro Alves <palves@redhat.com>
21610
21611 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21612 instead of GNATS numbers.
21613 * gdb.base/sigbpt.exp: Likewise.
21614 * gdb.base/siginfo.exp: Likewise.
21615 * gdb.base/sigstep.exp: Likewise.
21616
e5f8a7cc
PA
216172014-10-27 Pedro Alves <palves@redhat.com>
21618
21619 * gdb.base/sigstep.c (dummy): New global.
21620 (main): Issue a couple writes to the new global.
21621 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21622 procedures.
21623 (skip_over_handler): Use test_skip_handler.
21624 (top level): Call skip_over_handler for stepi and nexti too.
21625 (breakpoint_over_handler): Use test_skip_handler.
21626 (top level): Call breakpoint_over_handler for stepi and nexti too.
21627
763905a3
YQ
216282014-10-27 Yao Qi <yao@codesourcery.com>
21629
21630 * gdb.trace/tfile.c (adjust_function_address)
21631 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21632 function descriptor.
21633
6f259a23
DB
216342014-10-24 Don Breazeal <donb@codesourcery.com>
21635
21636 * gdb.base/foll-fork.exp (test_follow_fork,
21637 catch_fork_child_follow): Check for updated fork messages emitted
21638 from infrun.c.
21639 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21640 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21641 vfork_and_exec_child_follow_through_step): Check for updated vfork
21642 messages emitted from infrun.c.
21643
09dd9a69
PA
216442014-10-24 Pedro Alves <palves@redhat.com>
21645
21646 * gdb.base/corefile.exp: Remove references to ultrix.
21647 * gdb.base/interrupt.exp: Likewise.
21648 * gdb.base/whatis.exp: Likewise.
21649 * gdb.gdb/selftest.exp: Likewise.
21650 * gdb.threads/manythreads.exp: Likewise.
21651 * gdb.threads/print-threads.exp: Likewise.
21652 * gdb.threads/pthreads.exp:: Likewise.
21653 * gdb.threads/schedlock.exp: Likewise.
21654
3433cfa5
SC
216552014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21656
21657 * gdb.cp/non-trivial-retval.cc: Add a test case.
21658 * gdb.cp/non-trivial-retval.exp: Add a test.
21659
092f880b
YQ
216602014-10-20 Yao Qi <yao@codesourcery.com>
21661
21662 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21663 * gdb.python/py-objfile-script-gdb.py: New file.
21664 * gdb.python/py-objfile-script.exp: Update reference to
21665 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21666 of remote_download. Remove the dest file.
21667
acbdb7f3
YQ
216682014-10-20 Yao Qi <yao@codesourcery.com>
21669
21670 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21671 * gdb.base/step-line.exp: Likewise.
21672 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21673 * gdb.dwarf2/dw2-basic.exp: Likewise.
21674 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21675 * gdb.dwarf2/dw2-filename.exp: Likewise.
21676 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21677 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21678 * gdb.dwarf2/dw2-producer.exp: Likewise.
21679 * gdb.dwarf2/mac-fileno.exp: Likewise.
21680 * gdb.python/py-frame-args.exp: Likewise.
21681 * gdb.python/py-framefilter.exp: Likewise.
21682 * gdb.python/py-mi.exp: Likewise.
21683 * gdb.python/py-objfile-script.exp: Likewise
21684 * gdb.python/py-pp-integral.exp: Likewise.
21685 * gdb.python/py-pp-re-notag.exp: Likewise.
21686 * gdb.python/py-prettyprint.exp: Likewise.
21687 * gdb.python/py-section-script.exp: Likewise.
21688 * gdb.python/py-typeprint.exp: Likewise.
21689 * gdb.python/py-xmethods.exp: Likewise.
21690 * gdb.stabs/weird.exp: Likewise.
21691 * gdb.xml/tdesc-regs.exp: Likewise.
21692
bd286a29
KCY
216932014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21694
21695 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21696 (out_cu): Use addr_len for the size of addresses.
21697 (out_line): Likewise. Size DW_LNE_set_address instruction
21698 according to addr_len.
21699 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21700 (FUNC): Add START_INSNS to definition.
21701
673dc4a0
YQ
217022014-10-18 Yao Qi <yao@codesourcery.com>
21703
21704 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21705 gdb_has_argv0 return true.
21706 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21707 check [target_info exists noargs], check [gdb_has_argv0]
21708 instead.
21709 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21710 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21711 procedures.
21712
4ffbba72
DE
217132014-10-17 Doug Evans <dje@google.com>
21714
21715 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21716 event.
21717 * gdb.python/py-events.py: Add clear_objfiles event.
21718
d096d8c1
DE
217192014-10-17 Doug Evans <dje@google.com>
21720
21721 * gdb.python/py-objfile.exp: Test progspace attribute.
21722
a80db015
LM
217232014-10-17 Luis Machado <lgustavo@codesourcery.com>
21724
21725 * gdb.guile/scm-breakpoint.exp: Do not assume any
21726 directory separators when matching source file paths.
21727 * gdb.python/py-breakpoint.exp: Likewise.
21728 * gdb.reverse/break-precsave.exp: Likewise.
21729 * gdb.reverse/break-reverse.exp: Likewise.
21730 * gdb.reverse/consecutive-precsave.exp: Likewise.
21731 * gdb.reverse/finish-precsave.exp: Likewise.
21732 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21733 * gdb.reverse/finish-reverse.exp: Likewise.
21734 * gdb.reverse/i386-precsave.exp: Likewise.
21735 * gdb.reverse/i387-env-reverse.exp: Likewise.
21736 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21737 * gdb.reverse/machinestate-precsave.exp: Likewise.
21738 * gdb.reverse/machinestate.exp: Likewise.
21739 * gdb.reverse/sigall-precsave.exp: Likewise.
21740 * gdb.reverse/solib-precsave.exp: Likewise.
21741 * gdb.reverse/step-precsave.exp: Likewise.
21742 * gdb.reverse/until-precsave.exp: Likewise.
21743 * gdb.reverse/watch-precsave.exp: Likewise.
21744 * gdb.reverse/watch-reverse.exp: Likewise.
21745
b22089ab
YQ
217462014-10-17 Yao Qi <yao@codesourcery.com>
21747
21748 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21749 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21750
6c4486e6
PA
217512014-10-17 Pedro Alves <palves@redhat.com>
21752
21753 PR gdb/17471
21754 * gdb.base/bg-execution-repeat.c: New file.
21755 * gdb.base/bg-execution-repeat.exp: New file.
21756
0ff33695
PA
217572014-10-17 Pedro Alves <palves@redhat.com>
21758
21759 PR gdb/17300
21760 * gdb.base/continue-all-already-running.c: New file.
21761 * gdb.base/continue-all-already-running.exp: New file.
21762
6fdebc3d
PA
217632014-10-17 Pedro Alves <palves@redhat.com>
21764
21765 PR gdb/17472
21766 * gdb.base/annota-input-while-running.c: New file.
21767 * gdb.base/annota-input-while-running.exp: New file.
21768
32a8097b
PA
217692014-10-17 Pedro Alves <palves@redhat.com>
21770
21771 * gdb.base/callfuncs.exp: emove references to osf.
21772 * gdb.base/sigall.exp: Likewise.
21773 * gdb.gdb/selftest.exp: Likewise.
21774 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21775 * gdb.mi/non-stop.c: Likewise.
21776 * gdb.mi/pthreads.c: Likewise.
21777 * gdb.reverse/sigall-precsave.exp: Likewise.
21778 * gdb.reverse/sigall-reverse.exp: Likewise.
21779 * gdb.threads/pthreads.c: Likewise.
21780 * gdb.threads/pthreads.exp: Likewise.
21781
7a3517ff
YQ
217822014-10-17 Yao Qi <yao@codesourcery.com>
21783
21784 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21785 check 'target_info exists noargs'.
21786 (test_command_prompt_position): Likewise.
21787 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21788 Remove "set args".
21789 (progvar_simple_while_test): Likewise.
21790 (progvar_complex_if_while_test): Likewise.
21791 (if_while_breakpoint_command_test): Likewise.
21792 (infrun_breakpoint_command_test): Likewise.
21793 (breakpoint_command_test): Likewise.
21794 (watchpoint_command_test): Likewise.
21795 (bp_deleted_in_command_test): Likewise.
21796 (temporary_breakpoint_commands): Likewise.
21797
bb99c472
YQ
217982014-10-16 Yao Qi <yao@codesourcery.com>
21799
21800 * gdb.base/remotetimeout.exp: Remove noargs checking.
21801
7c16b83e
PA
218022014-10-15 Pedro Alves <palves@redhat.com>
21803
21804 PR breakpoints/9649
21805 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21806 * gdb.base/breakpoint-in-ro-region.exp
21807 (probe_target_hardware_step): New procedure.
21808 (top level): Probe hardware stepping and hardware breakpoint
21809 support. Test stepping through a read-only region, with both
21810 "breakpoint auto-hw" on and off and both "always-inserted" on and
21811 off.
21812
35a49624
IB
218132014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21814
21815 * gdb.dlang/demangle.exp: Update for demangling changes.
21816
2d1c107c
SC
218172014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21818
21819 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21820 * gdb.cp/non-trivial-retval.exp: Add new tests.
21821
778811d5
SC
218222014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21823
21824 PR c++/13403
21825 PR c++/15154
21826 * gdb.cp/non-trivial-retval.cc: New file.
21827 * gdb.cp/non-trivial-retval.exp: New file.
21828
10c5f0a8
YQ
218292014-10-15 Yao Qi <yao@codesourcery.com>
21830
21831 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21832 remote host.
21833
65d7b369
YQ
218342014-10-15 Yao Qi <yao@codesourcery.com>
21835
21836 * gdb.python/py-symbol.exp: Match file base name if host is
21837 remote, otherwise match file name with dir name.
21838 * gdb.python/py-symtab.exp: Likewise.
21839 * gdb.python/python.exp: Likewise.
21840
46dc1394
YQ
218412014-10-15 Yao Qi <yao@codesourcery.com>
21842
21843 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21844 pattern.
21845 * gdb.python/py-symtab.exp: Likewise.
21846 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21847 locationn.
21848
c40cc657
JB
218492014-10-14 Joel Brobecker <brobecker@adacore.com>
21850
21851 * gdb.ada/addr_arith: New testcase.
21852
2abf49e1
MR
218532014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21854
21855 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21856 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21857 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21858 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21859
f7088df3
SDJ
218602014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21861
21862 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21863 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21864 * gdb.arch/stap-eval-lang-ada.exp: New file.
21865
4dc06805
YQ
218662014-10-14 Yao Qi <yao@codesourcery.com>
21867
21868 * gdb.mi/mi-var-child.c (nothing1): New function.
21869 (nothing2): New function.
21870 (do_children_tests): Set function pointers by nothing1 and
21871 nothing2.
21872 * gdb.mi/mi-var-child.exp: Step over new added statements.
21873 Update test to match the new output.
21874 * gdb.mi/var-cmd.c (nothing1): New function.
21875 (nothing2): New function.
21876 (do_children_tests): Set function pointers by nothing1 and
21877 nothing2.
21878 * gdb.mi/mi-var-display.exp: Update test to match output.
21879 Step to the line specified by $line_dct_nothing.
21880 Increase the number of lines to step.
21881
46a93de2
YQ
218822014-10-14 Yao Qi <yao@codesourcery.com>
21883
21884 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21885 tests.
21886 * gdb.mi/mi2-var-child.exp: Likewise.
21887
14ea52ee
DE
218882014-10-13 Doug Evans <dje@google.com>
21889
21890 * gdb.python/py-objfile.exp: Change name of file name test.
21891
e5c6e92b
DE
218922014-10-13 Doug Evans <dje@google.com>
21893
21894 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21895 from the start of the CU.
21896
c780cc2f
JK
218972014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21898 Yao Qi <yao@codesourcery.com>
21899
21900 Fix "save breakpoints" for "catch" command.
21901 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21902 Remove -nonewline. Match also the added "main" line.
21903
99894e11
JK
219042014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21905
21906 Fix "save breakpoints" for "disable $bpnum" command.
21907 * gdb.base/save-bp.c (main): Add label.
21908 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21909
6e1ac5a3
JK
219102014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21911
21912 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21913
754dd2b0
YQ
219142014-10-11 Yao Qi <yao@codesourcery.com>
21915
21916 * gdb.server/server-kill.exp: Execute command
21917 "set remote trace-status-packet on" before "tstatus".
21918
f90183d7
YQ
219192014-10-11 Yao Qi <yao@codesourcery.com>
21920
21921 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21922 (main): Call getppid.
21923 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21924 and continue to it. Read variable "server_pid".
21925
bf40a607
YQ
219262014-10-11 Yao Qi <yao@codesourcery.com>
21927
21928 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21929
052ca370
YQ
219302014-10-11 Yao Qi <yao@codesourcery.com>
21931
21932 * gdb.threads/thread-find.exp: Don't execute command
21933 "info threads".
21934 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21935 * gdb.threads/linux-dp.exp: Don't check the condition
21936 $threads_created equals to zero.
21937
3831839c
PA
219382014-10-10 Pedro Alves <palves@redhat.com>
21939
21940 * gdb.base/bigcore.exp: Remove references to IRIX.
21941 * gdb.base/funcargs.exp: Likewise.
21942 * gdb.base/interrupt.exp: Likewise.
21943 * gdb.base/mips_pro.exp: Likewise.
21944 * gdb.base/nodebug.exp: Likewise.
21945 * gdb.base/setvar.exp: Likewise.
21946 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21947
8b9a549d
PA
219482014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21949 Pedro Alves <palves@redhat.com>
21950
21951 PR symtab/14466
21952 * gdb.base/vdso-warning.c: New file.
21953 * gdb.base/vdso-warning.exp: New file.
21954
d48ba5e8
DE
219552014-10-02 Doug Evans <dje@google.com>
21956
21957 * gdb.base/structs.c (main): Don't run forever.
21958
2278c276
PA
219592014-10-02 Pedro Alves <palves@redhat.com>
21960
21961 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21962 (top level) <stop threads 1, stop threads 2>: Use it.
21963
b57bacec
PA
219642014-10-02 Pedro Alves <palves@redhat.com>
21965
21966 * gdb.threads/break-while-running.exp (test): Add new
21967 'update_thread_list' argument. Skip "info threads" if false.
21968 (top level): Add new 'update_thread_list' axis.
21969
13fd3ff3
PA
219702014-10-02 Pedro Alves <palves@redhat.com>
21971
21972 PR breakpoints/17431
21973 * gdb.base/execl-update-breakpoints.c: New file.
21974 * gdb.base/execl-update-breakpoints.exp: New file.
21975
0fec99e8
PA
219762014-10-01 Pedro Alves <palves@redhat.com>
21977
21978 * gdb.base/breakpoint-in-ro-region.c: New file.
21979 * gdb.base/breakpoint-in-ro-region.exp: New file.
21980
2ddf4301
SM
219812014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21982
21983 * gdb.mi/mi-exit-code.exp: New file.
21984 * gdb.mi/mi-exit-code.c: New file.
21985
6a5f3f43
YQ
219862014-09-30 Yao Qi <yao@codesourcery.com>
21987
21988 * lib/prelink-support.exp (build_executable_own_libs): Error if
21989 the target isn't native.
21990
345bcc73
YQ
219912014-09-30 Yao Qi <yao@codesourcery.com>
21992
21993 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21994 false.
21995
a25a5a45
PA
219962014-09-22 Pedro Alves <palves@redhat.com>
21997
21998 * gdb.threads/break-while-running.exp: New file.
21999 * gdb.threads/break-while-running.c: New file.
22000
00ba3162
YQ
220012014-09-19 Yao Qi <yao@codesourcery.com>
22002
22003 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
22004 Invoke test. Restart GDB with --readnow and invoke test again.
22005
c3b7b696
YQ
220062014-09-19 Yao Qi <yao@codesourcery.com>
22007
22008 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
22009 proc set_breakpoint_on_gcd_function. Invoke
22010 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
22011 invoke set_breakpoint_on_gcd_function again.
22012
2b4fd423
DE
220132014-09-18 Doug Evans <dje@google.com>
22014
22015 * gdb.dwarf2/symtab-producer.exp: New file.
22016
a5947601
SDJ
220172014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
22018
22019 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
22020 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
22021 * gdb.base/global-var-nested-by-dso.c: Likewise.
22022 * gdb.base/global-var-nested-by-dso.exp: Likewise.
22023
91c19059
SDJ
220242014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
22025 Pedro Alves <palves@redhat.com>
22026
22027 * gdb.base/watch-bitfields.exp: Pass string other than test file
22028 name to prepare_for_testing.
22029 (watch): New procedure.
22030 (expect_watchpoint): Use with_test_prefix.
22031 (top level): Factor out tests to ...
22032 (test_watch_location, test_regular_watch): ... these new
22033 procedures, and use with_test_prefix and gdb_continue_to_end.
22034
bb9d5f81
PP
220352014-09-16 Patrick Palka <patrick@parcs.ath.cx>
22036
22037 PR breakpoints/12526
22038 * gdb.base/watch-bitfields.exp: New file.
22039 * gdb.base/watch-bitfields.c: New file.
22040
635856f5
PA
220412014-09-16 Pedro Alves <palves@redhat.com>
22042
22043 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
22044 software and hardware addresses, not software address against
22045 itself.
22046
7280ceea
PA
220472014-09-16 Pedro Alves <palves@redhat.com>
22048
22049 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
22050 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
22051
428b16bd
PA
220522014-09-16 Pedro Alves <palves@redhat.com>
22053
22054 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
22055 files.
22056 * gdb.base/a2-run.exp: Remove all code guarded by istarget
22057 "*-*-vxworks*" throughout.
22058 * gdb.base/break.exp: Likewise.
22059 * gdb.base/default.exp: Likewise.
22060 * gdb.base/scope.exp: Likewise.
22061 * gdb.base/sepdebug.exp: Likewise.
22062 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
22063 throughout.
22064 * gdb.base/run.c: Likewise.
22065 * gdb.base/sepdebug.c: Likewise.
22066 * gdb.hp/gdb.aCC/run.c: Likewise.
22067 * gdb.reverse/until-reverse.c: Likewise.
22068 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
22069
666d413c
YQ
220702014-09-16 Yao Qi <yao@codesourcery.com>
22071
22072 * boards/local-remote-host-native.exp: New file.
22073
57cbd724
DE
220742014-09-14 Doug Evans <xdje42@gmail.com>
22075
22076 * gdb.threads/queue-signal.c (thread_count): New variable.
22077 (thread_count_mutex, thread_count_condvar): New variables.
22078 (incr_thread_count, wait_all_threads_running): New functions.
22079 (main): Wait for all threads to be in their thread functions.
22080
81219e53
DE
220812014-09-13 Doug Evans <xdje42@gmail.com>
22082
22083 * gdb.threads/queue-signal.c: New file.
22084 * gdb.threads/queue-signal.exp: New file.
22085
3714cea7
DE
220862014-09-13 Doug Evans <xdje42@gmail.com>
22087
22088 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
22089 be consistent with what default_gdb_init uses.
22090 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
22091 the plain text of the prompt. Add some logging printfs.
22092 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
22093
fa43b1d7
PA
220942014-09-12 Pedro Alves <palves@redhat.com>
22095
22096 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
22097 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
22098 * gdb.arch/i386-size-overlap.exp: Likewise.
22099 * gdb.arch/i386-size.exp: Likewise.
22100 * gdb.arch/i386-unwind.exp: Likewise.
22101 * gdb.base/a2-run.exp: Likewise.
22102 * gdb.base/break.exp: Likewise.
22103 * gdb.base/charset.exp: Likewise.
22104 * gdb.base/chng-syms.exp: Likewise.
22105 * gdb.base/commands.exp: Likewise.
22106 * gdb.base/dbx.exp: Likewise.
22107 * gdb.base/find.exp: Likewise.
22108 * gdb.base/funcargs.exp: Likewise.
22109 * gdb.base/jit-simple.exp: Likewise.
22110 * gdb.base/reread.exp: Likewise.
22111 * gdb.base/sepdebug.exp: Likewise.
22112 * gdb.base/step-bt.exp: Likewise.
22113 * gdb.cp/mb-inline.exp: Likewise.
22114 * gdb.cp/mb-templates.exp: Likewise.
22115 * gdb.objc/basicclass.exp: Likewise.
22116 * gdb.threads/killed.exp: Likewise.
22117
9d9bf2df
EBM
221182014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22119
22120 PR tdep/17379
22121 * gdb.arch/powerpc-stackless.S: New file.
22122 * gdb.arch/powerpc-stackless.exp: New file.
22123
1cf2f1b0
JK
221242014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22125
22126 * gdb.base/attach.c: Include unistd.h.
22127 (main): Call alarm. Add label postloop.
22128 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
22129 gdb_breakpoint, gdb_continue_to_breakpoint.
22130 (test_command_line_attach_run): Kill ${testpid} in one exit path.
22131
98880d46
PA
221322014-09-11 Pedro Alves <palves@redhat.com>
22133
22134 PR gdb/17347
22135 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
22136 * gdb.base/attach.exp (test_command_line_attach_run): New
22137 procedure.
22138 (top level): Call it.
22139
4c92ff2c
PA
221402014-09-11 Pedro Alves <palves@redhat.com>
22141
22142 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
22143 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
22144 (do_command_attach_tests): Use spawn_wait_for_attach.
22145 * gdb.base/solib-overlap.exp: Likewise.
22146 * gdb.multi/multi-attach.exp: Likewise.
22147 * gdb.python/py-prompt.exp: Likewise.
22148 * gdb.python/py-sync-interp.exp: Likewise.
22149 * gdb.server/ext-attach.exp: Likewise.
22150
3adc1a7d
GKB
221512014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
22152
22153 * gdb.fortran/array-element.exp: Remove unexpected "continue"
22154 command in testcase. Simplify testcase.
22155
96334934
JB
221562014-09-10 Joel Brobecker <brobecker@adacore.com>
22157
22158 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
22159
eb479039
JB
221602014-09-10 Joel Brobecker <brobecker@adacore.com>
22161
22162 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
22163
deede10c
JB
221642014-09-10 Joel Brobecker <brobecker@adacore.com>
22165
22166 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
22167
7828a5f5
JB
221682014-09-10 Joel Brobecker <brobecker@adacore.com>
22169
22170 * gdb.dwarf2/dynarr-ptr.c: New file.
22171 * gdb.dwarf2/dynarr-ptr.exp: New file.
22172
33aeebcf
MR
221732014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22174
22175 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
22176 of 30 rather than hardcoding 120 for a slow test case. Take the
22177 `gdb,timeout' target setting into account for this calculation.
22178 Don't extend the timeout for the test cases that don't need it.
22179
7b415901
MR
221802014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22181
22182 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
22183 a factor of 2 for a slow test case. Take the `gdb,timeout'
22184 target setting into account for this calculation.
22185 * gdb.reverse/until-precsave.exp: Increase the timeout by
22186 a factor of 15 and 3 respectively rather than adding 120
22187 for a pair of slow test cases. Take the `gdb,timeout'
22188 target setting into account for this calculation.
22189
4a40f85a
MR
221902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22191
22192 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
22193 timeout, don't pass one down to gdb_expect.
22194 (gdb_expect): Rework timeout selection.
22195
09635af7
MR
221962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22197
22198 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
22199 exception on timeout.
22200 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
22201 (gdbserver_start_extended): Catch any `gdbserver_start' error
22202 exceptions.
22203 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
22204 * lib/mi-support.exp (mi_gdb_target_load): Catch any
22205 `gdbserver_gdb_load' error exceptions.
22206
2bdd10b7
MR
222072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22208
22209 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
22210 120 on waiting for the TCP socket to open.
22211
316935f0
DE
222122014-09-09 Doug Evans <xdje42@gmail.com>
22213
22214 * gdb.base/default.exp (show_conv_list): Add _caller_is,
22215 _caller_matches, _any_caller_is, _any_caller_matches.
22216
83740597
DE
222172014-09-09 Doug Evans <xdje42@gmail.com>
22218
22219 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
22220
4c122fc3
YQ
222212014-09-09 Yao Qi <yao@codesourcery.com>
22222
22223 * gdb.mi/mi-var-display.exp: Set print symbol off.
22224
a9f116cb
GKB
222252014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
22226
22227 PR gdb/17035
22228 * gdb.base/commands.exp: Add tests to verify user-defined
22229 commands with empty bodies.
22230 * gdb.python/py-cmd.exp: Test that we don't show user-defined
22231 python commands in `show user command`.
22232 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
22233 scheme commands in `show user command`.
22234
c75bd3a2
JK
222352014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22236
22237 PR python/17355
22238 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
22239 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
22240 * gdb.python/py-framefilter-invalidarg.exp: New file.
22241 * gdb.python/py-framefilter-invalidarg.py: New file.
22242
faa42425
DE
222432014-09-06 Doug Evans <xdje42@gmail.com>
22244
22245 PR 15276
22246 * gdb.python/py-caller-is.c: New file.
22247 * gdb.python/py-caller-is.exp: New file.
22248
474ca4f6
SDJ
222492014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
22250
22251 PR gdb/17235
22252 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
22253 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
22254
eb0b0463
SDJ
222552014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
22256
22257 PR fortran/17237
22258 * gdb.fortran/print-formatted.exp: New file.
22259 * gdb.fortran/print-formatted.f90: Likewise.
22260
5f3b99cf
SS
222612014-09-03 Sasha Smundak <asmundak@google.com>
22262
22263 * gdb.python/py-frame.exp: Test Frame.read_register.
22264
7d793aa9
SDJ
222652014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22266
22267 PR python/16699
22268 * gdb.python/py-completion.exp: New file.
22269 * gdb.python/py-completion.py: Likewise.
22270
fb0576e9
DE
222712014-08-28 Doug Evans <dje@google.com>
22272
22273 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22274 eax,etc. are live with values set by gdb and thus the compiler can't
22275 use them.
22276 * gdb.arch/i386-pseudo.c (main): Ditto.
22277
ee92b0dd
DE
222782014-08-27 Doug Evans <dje@google.com>
22279
22280 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22281
6649db35
DE
222822014-08-25 Doug Evans <dje@google.com>
22283
22284 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22285 (main): Ditto.
22286
564b7600
DE
222872014-08-25 Doug Evans <dje@google.com>
22288
22289 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22290
3881fb67
YQ
222912014-08-24 Yao Qi <yao@codesourcery.com>
22292
22293 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22294 symbol off.
22295 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22296
a05a36a5
DE
222972014-08-22 Doug Evans <dje@google.com>
22298
22299 PR 17276
22300 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22301 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22302 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22303
7c343b48
YQ
223042014-08-22 Yao Qi <yao@codesourcery.com>
22305
22306 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22307 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22308 * gdb.python/python.exp: Likewise. Use .py file on the host
22309 instead of the build.
22310
22fd09ae
JK
223112014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22312
22313 * gdb.threads/gcore-stale-thread.c: New file.
22314 * gdb.threads/gcore-stale-thread.exp: New file.
22315
a8454a7c
PA
223162014-08-21 Pedro Alves <palves@redhat.com>
22317
22318 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22319 * gdb.base/gcore-relro-pie.exp: Likewise.
22320 * gdb.base/gcore-relro.exp: Likewise.
22321 * gdb.base/gcore.exp: Likewise.
22322 * gdb.base/print-symbol-loading.exp: Likewise.
22323 * gdb.threads/gcore-thread.exp: Likewise.
22324 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22325
2a31c623
PA
223262014-08-20 Pedro Alves <palves@redhat.com>
22327 Jan Kratochvil <jan.kratochvil@redhat.com>
22328
22329 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22330 configure.
22331 (EXPECT): Handle READ1 being set.
22332 (all): Depend on EXTRA_RULES.
22333 (check-read1, expect-read1, read1.so, read1): New rules.
22334 * README (Testsuite Parameters): Document the READ1 make variable.
22335 (Race detection): New section.
22336 * configure: Regenerate.
22337 * configure.ac: If build==host==target, and running under a
22338 GNU/glibc system, add read1 to the extra Makefile rules.
22339 (EXTRA_RULES): AC_SUBST it.
22340 * lib/read1.c: New file.
22341
d36430db
JB
223422014-08-20 Joel Brobecker <brobecker@adacore.com>
22343
22344 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22345 the handling of variables declared as a typedef to an array
22346 which a DW_AT_data_location attribute.
22347
9a0dc9e3
PA
223482014-08-19 Andrew Burgess <aburgess@broadcom.com>
22349 Pedro Alves <palves@redhat.com>
22350
22351 PR symtab/14604
22352 PR symtab/14605
22353 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22354 gdb_test.
22355
0718a8da
PA
223562014-08-19 Pedro Alves <palves@redhat.com>
22357
22358 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22359
13b448cd
YQ
223602014-08-19 Yao Qi <yao@codesourcery.com>
22361
22362 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22363 right line.
22364
1cbf5077
DB
223652014-08-18 David Blaikie <dblaikie@gmail.com>
22366
22367 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22368
bf0fae19
JB
223692014-08-18 Joel Brobecker <brobecker@adacore.com>
22370
22371 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22372 attribute in array range.
22373
3c8c5dcc
JB
223742014-08-18 Joel Brobecker <brobecker@adacore.com>
22375
22376 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22377
e66d4446
SC
223782014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22379
22380 PR c++/17132
22381 * gdb.cp/pr17132.cc: New file.
22382 * gdb.cp/pr17132.exp: New file.
22383
940df408
SC
223842014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22385
22386 * gdb.python/py-xmethods.py (A_getarrayind)
22387 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22388 Use 'print' with function call syntax.
22389 (E_method_matcher.match): Fix tab vs space indentation mixup.
22390
ebcc6c3a
YQ
223912014-08-15 Yao Qi <yao@codesourcery.com>
22392
22393 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22394 false.
22395
775e0f04
YQ
223962014-08-15 Yao Qi <yao@codesourcery.com>
22397
22398 * gdb.cp/casts.exp: Set print symbol off.
22399 * gdb.cp/class2.exp: Likewise.
22400 * gdb.cp/overload.exp: Likewise.
22401 * gdb.cp/templates.exp: Likewise.
22402
d769e349
DE
224032014-08-11 Doug Evans <dje@google.com>
22404
22405 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22406 (test_load_shlib): Update.
22407
20c6f1e1
YQ
224082014-08-09 Yao Qi <yao@codesourcery.com>
22409
22410 * gdb.base/display.exp: Invoke is_address_zero_readable.
22411 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22412 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22413 * gdb.base/hbreak-unmapped.exp: Return if
22414 is_address_zero_readable returns true.
22415 * gdb.base/signest.exp: Likewise.
22416 * gdb.base/signull.exp: Likewise.
22417 * gdb.base/sigbpt.exp: Likewise.
22418 * gdb.guile/scm-disasm.exp: Do the test if
22419 is_address_zero_readable returns false.
22420 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22421 * gdb.python/py-arch.exp: Likewise.
22422 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22423 * lib/gdb.exp (is_address_zero_readable): New proc.
22424
5792e8e3
YQ
224252014-08-09 Yao Qi <yao@codesourcery.com>
22426
22427 PR testsuite/13443
22428 * gdb.mi/mi-var-display.exp: Make test messages unique.
22429
3cecbbbe
TT
224302014-08-04 Tom Tromey <tromey@redhat.com>
22431
22432 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22433 target 0".
22434
00b51ff5
TT
224352014-08-04 Tom Tromey <tromey@redhat.com>
22436
22437 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22438 "target_resume".
22439
6908c509
JB
224402014-08-01 Joel Brobecker <brobecker@adacore.com>
22441
22442 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22443 inner_vla_struct_object_size.
22444 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22445 as xfail.
22446
cc6563d2
PA
224472014-07-30 Pedro Alves <palves@redhat.com>
22448
22449 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22450 comment.
22451
7e09a223
YQ
224522014-07-29 Yao Qi <yao@codesourcery.com>
22453
22454 PR gdb/17206
22455 * gdb.base/until-nodebug.exp: New.
22456
7ebdbe92
DE
224572014-07-28 Doug Evans <xdje42@gmail.com>
22458
22459 PR guile/17203
22460 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22461 previously existing parameter, and previously ambiguously spelled
22462 parameter.
22463
fdb1adc6
WN
224642014-07-28 Will Newton <will.newton@linaro.org>
22465
22466 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22467
186fcde0
DE
224682014-07-26 Ludovic Courtès <ludo@gnu.org>
22469 Doug Evans <xdje42@gmail.com>
22470
22471 PR guile/17146
22472 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22473
70509625
PA
224742014-07-25 Pedro Alves <palves@redhat.com>
22475
22476 * gdb.threads/signal-command-handle-nopass.c: New file.
22477 * gdb.threads/signal-command-handle-nopass.exp: New file.
22478 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22479 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22480 * gdb.threads/signal-delivered-right-thread.c: New file.
22481 * gdb.threads/signal-delivered-right-thread.exp: New file.
22482
c3f814a1
PA
224832014-07-25 Pedro Alves <palves@redhat.com>
22484
22485 * gdb.base/double-prompt-target-event-error.exp
22486 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22487 match.
22488 (cancel_pagination_in_target_event): Rework double prompt
22489 detection.
22490 * gdb.base/paginate-after-ctrl-c-running.exp
22491 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22492 <return>' match.
22493 * gdb.base/paginate-bg-execution.exp
22494 (test_bg_execution_pagination_return)
22495 (test_bg_execution_pagination_cancel): Remove '-notransfer
22496 <return>' matches.
22497 * gdb.base/paginate-execution-startup.exp
22498 (test_fg_execution_pagination_return)
22499 (test_fg_execution_pagination_cancel): Remove '-notransfer
22500 <return>' matches.
22501 * gdb.base/paginate-inferior-exit.exp
22502 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22503 match.
22504 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22505 * lib/gdb.exp (pagination_prompt): Run text through
22506 string_to_regexp.
22507 (gdb_test_multiple): Match $pagination_prompt instead of
22508 "<return>".
22509 (string_to_regexp): Move to lib/gdb-utils.exp.
22510
e214cf6c
JK
225112014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22512
22513 * gdb.arch/amd64-entry-value-paramref.S: New file.
22514 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22515 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22516 * gdb.arch/amd64-optimout-repeat.S: New file.
22517 * gdb.arch/amd64-optimout-repeat.c: New file.
22518 * gdb.arch/amd64-optimout-repeat.exp: New file.
22519
17d0c5c8
JK
225202014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22521
22522 PR gdb/17170
22523 * gdb.base/statistics.exp: New file.
22524
b8b8facf
DE
225252014-07-17 Doug Evans <dje@google.com>
22526
74b49205 22527 PR gdb/17170
b8b8facf
DE
22528 * gdb.base/maint.exp: Update testing of per-command stats.
22529
1b5d0ab3
PA
225302014-07-16 Pedro Alves <palves@redhat.com>
22531
22532 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22533 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22534 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22535 (tfile_write_buf): New functions.
22536 (add_memory_block): Rewrite using the above.
22537 (adjust_function_address): New function.
22538 (FUNCTION_ADDRESS): New macro.
22539 (write_basic_trace_file): Remove short_x local, and use
22540 tfile_write_16. Change type of func_addr local to unsigned long
22541 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22542 here. Cast argument of add_memory_block to char pointer.
22543 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22544 (main): Remove parameters.
22545 * gdb.trace/tfile.exp: Remove nowarnings.
22546
4d974e88
SM
225472014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22548
22549 * gdb.base/debug-expr.exp: Test string evaluation with
22550 "debug expression" on.
22551
41e99568
PA
225522014-07-15 Pedro Alves <palves@redhat.com>
22553
22554 * gdb.base/reread.exp: Use clean_restart.
22555
487d9753
PL
225562014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22557
22558 * gdb.arch/avr-flash-qualifer.c: New.
22559 * gdb.arch/avr-flash-qualifer.exp: New.
22560
cc1c52ad
PA
225612014-07-14 Pedro Alves <palves@redhat.com>
22562
22563 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22564 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22565
1e973570
PA
225662014-07-14 Pedro Alves <palves@redhat.com>
22567
22568 * gdb.base/double-prompt-target-event-error.c: New file.
22569 * gdb.base/double-prompt-target-event-error.exp: New file.
22570
93d6eb10
PA
225712014-07-14 Pedro Alves <palves@redhat.com>
22572
22573 PR gdb/17072
22574 * gdb.base/paginate-inferior-exit.c: New file.
22575 * gdb.base/paginate-inferior-exit.exp: New file.
22576
0017922d
PA
225772014-07-14 Pedro Alves <palves@redhat.com>
22578
22579 PR gdb/17072
22580 * gdb.base/paginate-bg-execution.c: New file.
22581 * gdb.base/paginate-bg-execution.exp: New file.
22582
94696ad3
PA
225832014-07-14 Pedro Alves <palves@redhat.com>
22584
22585 PR gdb/17072
22586 * gdb.base/paginate-execution-startup.c: New file.
22587 * gdb.base/paginate-execution-startup.exp: New file.
22588 * lib/gdb.exp (pagination_prompt): New global.
22589 (default_gdb_spawn): New procedure, factored out from
22590 default_gdb_spawn.
22591 (default_gdb_start): Adjust to call default_gdb_spawn.
22592 (gdb_spawn): New procedure.
22593
bd293940
PA
225942014-07-14 Pedro Alves <palves@redhat.com>
22595
22596 * lib/gdb.exp (gdb_assert): New procedure.
22597 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22598
c933f875
PA
225992014-07-14 Pedro Alves <palves@redhat.com>
22600
22601 * gdb.base/execution-termios.c: New file.
22602 * gdb.base/execution-termios.exp: New file.
22603
d98b7a16
TT
226042014-07-14 Tom Tromey <tromey@redhat.com>
22605
22606 * gdb.cp/vla-cxx.cc: New file.
22607 * gdb.cp/vla-cxx.exp: New file.
22608
548740d6
TT
226092014-07-14 Tom Tromey <tromey@redhat.com>
22610
22611 * gdb.reverse/rerun-prec.c: New file.
22612 * gdb.reverse/rerun-prec.exp: New file.
22613
a25eb028
MR
226142014-07-12 Maciej W. Rozycki <macro@mips.com>
22615 Maciej W. Rozycki <macro@codesourcery.com>
22616
22617 * lib/gdb-utils.exp: New file.
22618 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22619 inline `gdb_init_command' processing.
22620 (gdb_start_cmd): Likewise.
22621 * lib/mi-support.exp (mi_run_cmd): Likewise.
22622 * README: Document `gdb_init_command' and `gdb_init_commands'.
22623
218c2655
JK
226242014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22625
22626 Fix false FAIL running under a very long directory name.
22627 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22628 and "set print elements 10000". Twice.
22629
5401fde3
YQ
226302014-07-11 Yao Qi <yao@codesourcery.com>
22631
22632 * gdb.base/exprs.exp: "set print symbol off".
22633
e76126e8
PA
226342014-07-11 Pedro Alves <palves@redhat.com>
22635
22636 * gdb.threads/kill.c: New file.
22637 * gdb.threads/kill.exp: New file.
22638
2d6f0de6
YQ
226392014-07-10 Yao Qi <yao@codesourcery.com>
22640
22641 * gdb.trace/tfile.c (write_basic_trace_file)
22642 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22643 address written to trace file.
22644
7180e04a
PA
226452014-07-09 Pedro Alves <palves@redhat.com>
22646
22647 * gdb.base/attach-wait-input.exp: New file.
22648 * gdb.base/attach-wait-input.c: New file.
22649
9a9a7608
AB
226502014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22651
22652 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22653 setting up test structures.
22654 (main): Call new test function.
22655 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22656 test function, continue into test function and walk test
22657 structures.
22658
161ac41e
YQ
226592014-07-02 Yao Qi <yao@codesourcery.com>
22660
22661 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22662 'bar_start' at the beginning of functions 'foo' and 'bar'
22663 respectively.
22664 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22665 instead of 'foo' and 'bar'.
22666
1f267ae3
MM
226672014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22668
22669 * gdb.btrace/segv.exp: New.
22670 * gdb.btrace/segv.c: New.
22671
2b239efb
LM
226722014-07-02 Luis Machado <lgustavo@codesourcery.com>
22673
22674 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22675 instruction.
22676
cf363f18
MW
226772014-06-30 Mark Wielaard <mjw@redhat.com>
22678
22679 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22680 vulture, vilify, villar): New volatile array constants.
22681 (vindictive, vegetation): New const volatile array constants.
22682 * gdb.base/volatile.exp: Test volatile and const volatile array
22683 types.
22684
aebf9d24
AA
226852014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22686
22687 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22688 target lacks support for awatch, rwatch, or hbreak.
22689
b67a2c6f
YQ
226902014-06-27 Yao Qi <yao@codesourcery.com>
22691
22692 * gdb.multi/dummy-frame-restore.exp: New.
22693 * gdb.multi/dummy-frame-restore.c: New.
22694
aef92902
MM
226952014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22696
22697 * gdb.btrace/gcore.exp: New.
22698
8e9db26e
PA
226992014-06-23 Pedro Alves <palves@redhat.com>
22700
22701 * gdb.base/watchpoint-reuse-slot.c: New file.
22702 * gdb.base/watchpoint-reuse-slot.exp: New file.
22703
70afc5b7
SC
227042014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22705
22706 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22707 progspace's filename in 'info', 'enable' and 'disable' command
22708 tests.
22709
b972bd9c
JK
227102014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22711
22712 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22713 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22714 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22715
125f8a3d
GB
227162014-06-20 Gary Benson <gbenson@redhat.com>
22717
22718 * gdb.arch/i386-avx.exp: Fix include file location.
22719 * gdb.arch/i386-sse.exp: Likewise.
22720
3ed9baed
IB
227212014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22722
22723 * gdb.dlang/expression.exp: New file.
22724
034f788c
PA
227252014-06-19 Pedro Alves <palves@redhat.com>
22726
22727 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22728 out from ...
22729 (top level): ... here. Iterate running tests under different
22730 scheduler-locking settings.
22731
45371d0c
LM
227322014-06-18 Luis Machado <lgustavo@codesourcery.com>
22733
22734 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22735 to DW_FORM_addr and use non-zero addresses.
22736
5d376983
SC
227372014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22738
22739 PR gdb/17017
22740 * gdb.python/py-xmethods.cc: Add global function call counters and
22741 increment them in their respective functions. Remove "cout"
22742 statements.
22743 * gdb.python/py-xmethods.exp: Make tests check the global function
22744 call counters instead of depending on inferior IO.
22745
a1aa2221
LM
227462014-06-18 Don Breazeal <donb@codesourcery.com>
22747
22748 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22749 Deleted procedure.
22750 (explicit_fork_parent_follow): Deleted procedure.
22751 (explicit_fork_child_follow): Deleted procedure.
22752 (test_follow_fork): New procedure.
22753 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22754 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22755 procedure calls.
22756
0fc05997
YQ
227572014-06-17 Yao Qi <yao@codesourcery.com>
22758
22759 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22760 CP1252.
22761
70795c52
LM
227622014-06-17 Luis Machado <lgustavo@codesourcery.com>
22763
22764 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22765 Initialize ptr and S explicitly.
22766 (skip_type_update_when_not_use_rtti_test): Likewise.
22767
6be47f0c
KS
227682014-06-16 Keith Seitz <keiths@redhat.com>
22769
22770 PR mi/15863
22771 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22772 the inferior is started.
22773
d03de421
PA
227742014-06-16 Pedro Alves <palves@redhat.com>
22775
22776 * gdb.base/break-main-file-remove-fail.c: New file.
22777 * gdb.base/break-main-file-remove-fail.exp: New file.
22778 * gdb.base/break-unload-file.exp: Use build_executable instead of
22779 prepare_for_testing.
22780 (test_break): New parameter "initial_load". Handle it.
22781 (top level): Add initial_load cmdline/file axis.
22782
f9579b99
TT
227832014-06-12 Tom Tromey <tromey@redhat.com>
22784
22785 * gdb.base/completion.exp: Don't use directory name in test.
22786
3657956b
GB
227872014-06-09 Gary Benson <gbenson@redhat.com>
22788
22789 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22790 separate the always-available ANSI-standard signals from the
22791 signals that require checking.
22792 (main): Likewise.
22793 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22794 Likewise.
22795 (main): Likewise.
22796
4186eb54
KS
227972014-06-07 Keith Seitz <keiths@redhat.com>
22798
22799 Revert:
22800 PR c++/16253
22801 * gdb.cp/var-tag.cc: New file.
22802 * gdb.cp/var-tag.exp: New file.
22803 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22804 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22805 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22806 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22807
25326a28 228082014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22809
22810 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22811
829155c9
PA
228122014-06-06 Pedro Alves <palves@redhat.com>
22813
22814 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22815 in target debug output instead of looking at RSP packets,
22816 disabling the test on any target that uses hardware stepping.
22817 Update comments.
22818
61c8d22e
PA
228192014-06-06 Pedro Alves <palves@redhat.com>
22820
22821 * gdb.base/break-unload-file.exp: Fix typo.
22822
d9a47287
YQ
228232014-06-06 Yao Qi <yao@codesourcery.com>
22824
22825 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22826 from "jit_function" to "^jit_function".
22827
e5e01dbf
YQ
228282014-06-06 Yao Qi <yao@codesourcery.com>
22829
22830 * gdb.base/async.c (foo): Add one statement.
22831 * gdb.base/async.exp: Get the next instruction address and
22832 match the output of "nexti" by instruction address. Match
22833 the hex address in the output of "finish".
22834
73ba372c
GB
228352014-06-06 Gary Benson <gbenson@redhat.com>
22836
22837 * gdb.base/call-signals.c: Remove preprocessor conditionals
22838 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22839 SIGSEGV and SIGTERM.
22840 * gdb.base/sigall.c: Likewise.
22841 * gdb.base/unwindonsignal.c: Likewise.
22842 * gdb.reverse/sigall-reverse.c: Likewise.
22843
831517df
YQ
228442014-06-06 Yao Qi <yao@codesourcery.com>
22845
22846 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22847 readable, skip the test.
22848
b8b91e98
YQ
228492014-06-06 Yao Qi <yao@codesourcery.com>
22850
22851 * gdb.threads/staticthreads.c (thread_function): Move the line
22852 setting breakpoint on forward.
22853 * gdb.threads/staticthreads.exp: Update comments.
22854
fb934770
LC
228552014-06-05 Ludovic Courtès <ludo@gnu.org>
22856
22857 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22858 "history-append! type error".
22859
6ef284bd
SM
228602014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22861
22862 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22863 erroneous dprintf expected input.
22864
a872e241
DE
228652014-06-04 Doug Evans <xdje42@gmail.com>
22866
22867 * gdb.guile/scm-generics.exp: Delete.
22868
16f691fb
DE
228692014-06-04 Doug Evans <xdje42@gmail.com>
22870
22871 * gdb.guile/scm-breakpoint.exp: Update.
22872 Add tests for breakpoint registration.
22873
012370f6
TT
228742014-06-04 Tom Tromey <tromey@redhat.com>
22875
22876 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22877 VLA-in-union.
22878 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22879 inner_vla_struct, vla_union types. Initialize objects of those
22880 types and compute their sizes.
22881
9f5a4cef
HZ
228822014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22883 Hui Zhu <hui@codesourcery.com>
22884
22885 * gdb.base/fileio.exp: Add test for shell not available as well as
22886 available.
22887 * gdb.base/fileio.c (test_system): Check for shell twice.
22888
90a45c4d
YQ
228892014-06-04 Yao Qi <yao@codesourcery.com>
22890
22891 * gdb.base/auto-connect-native-target.exp: Remove redundant
22892 space from the regexp pattern.
22893
70017e41
YQ
228942014-06-04 Yao Qi <yao@codesourcery.com>
22895
22896 * gdb.base/default.exp: Replace "child" with "native" in
22897 regexp pattern.
22898
883964a7
SC
228992014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22900
22901 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22902 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22903 * gdb.python/py-xmethods.py: Python script supporting the
22904 new testcase and tests.
22905
ef370185
JB
229062014-06-03 Joel Brobecker <brobecker@adacore.com>
22907 Pedro Alves <palves@redhat.com>
22908
22909 PR breakpoints/17000
22910 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22911 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22912
1e2ccb61
BM
229132014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22914
22915 * gdb.base/subst.exp: Add tests to verify partial path matching
22916 output.
22917
c6ec5ab2
PA
229182014-06-03 Pedro Alves <palves@redhat.com>
22919
22920 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22921 target that doesn't use software single-stepping.
22922
835c559f
PA
229232014-06-03 Pedro Alves <palves@redhat.com>
22924
22925 PR breakpoints/17000
22926 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22927 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22928
06eb1586
DE
229292014-06-02 Doug Evans <xdje42@gmail.com>
22930
22931 * gdb.guile/scm-parameter.exp: New file.
22932
e698b8c4
DE
229332014-06-02 Doug Evans <xdje42@gmail.com>
22934
22935 * gdb.guile/scm-cmd.c: New file.
22936 * gdb.guile/scm-cmd.exp: New file.
22937
ded03782
DE
229382014-06-02 Doug Evans <xdje42@gmail.com>
22939
22940 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22941 pretty-printer lookup.
22942 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22943 (make-pp_s-printer): Call it.
22944 (make-pretty-printer-from-dict): New function.
22945 (lookup-pretty-printer-maker-from-dict): New function.
22946 (*pretty-printer*): Simplify.
22947 (make-objfile-pp_s-printer): New function.
22948 (install-objfile-pretty-printers!): New function.
22949 (make-progspace-pp_s-printer): New function.
22950 (install-progspace-pretty-printers!): New function.
22951 * gdb.guile/scm-progspace.c: New file.
22952 * gdb.guile/scm-progspace.exp: New file.
22953
41fac0cf
PA
229542014-06-02 Pedro Alves <palves@redhat.com>
22955
22956 * gdb.base/dprintf-bp-same-addr.c: New file.
22957 * gdb.base/dprintf-bp-same-addr.exp: New file.
22958
96ae5695
EBM
229592014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22960
22961 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22962 * gdb.arch/powerpc-power.s: Likewise.
22963
da02b3a8
JB
229642014-06-02 Joel Brobecker <brobecker@adacore.com>
22965
22966 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22967
c72b2e7b
YQ
229682014-06-01 Yao Qi <yao@codesourcery.com>
22969
22970 * gdb.base/watchpoint.exp (test_watch_location): Check null
22971 pointer can be dereferenced. If not, do the test, otherwise
22972 skip it.
22973
53e8a631
AB
229742014-05-30 Andrew Burgess <aburgess@broadcom.com>
22975
22976 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22977 results.
22978 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22979
938f0e2f
AB
229802014-05-30 Andrew Burgess <aburgess@broadcom.com>
22981
22982 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22983 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22984 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22985 * gdb.arch/amd64-invalid-stack-top.c: New file.
22986 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22987
9ba6657a
PA
229882014-05-30 Pedro Alves <palves@redhat.com>
22989
22990 PR breakpoints/17000
22991 * gdb.base/sss-bp-on-user-bp.c: New file.
22992 * gdb.base/sss-bp-on-user-bp.exp: New file.
22993
522c09bf
DB
229942014-05-30 David Blaikie <dblaikie@gmail.com>
22995
22996 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22997 gnu_inline semantics via attribute.
22998 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22999 source explicitly specifies the required semantics.
23000
bf4ef81e
MR
230012014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
23002
23003 * gdb.reverse/sigall-reverse.exp: Fix a typo.
23004
329ea579
PA
230052014-05-29 Pedro Alves <palves@redhat.com>
23006 Tom Tromey <tromey@redhat.com>
23007
23008 * gdb.base/async-shell.exp: Don't enable target-async.
23009 * gdb.base/async.exp
23010 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
23011 parameter. Adjust.
23012 (top level): Don't test with "target-async".
23013 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
23014 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
23015 * gdb.base/inferior-died.exp: Don't enable target-async.
23016 * gdb.base/interrupt-noterm.exp: Likewise.
23017 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
23018 * gdb.mi/mi-nonstop-exit.exp: Likewise.
23019 * gdb.mi/mi-nonstop.exp: Likewise.
23020 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
23021 * gdb.mi/mi-nsintrall.exp: Likewise.
23022 * gdb.mi/mi-nsmoribund.exp: Likewise.
23023 * gdb.mi/mi-nsthrexec.exp: Likewise.
23024 * gdb.mi/mi-watch-nonstop.exp: Likewise.
23025 * gdb.multi/watchpoint-multi.exp: Adjust comment.
23026 * gdb.python/py-evsignal.exp: Don't enable target-async.
23027 * gdb.python/py-evthreads.exp: Likewise.
23028 * gdb.python/py-prompt.exp: Likewise.
23029 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
23030 * gdb.server/solib-list.exp: Don't enable target-async.
23031 * gdb.threads/thread-specific-bp.exp: Likewise.
23032 * lib/mi-support.exp: Adjust to use mi-async.
23033
fd664c91
PA
230342014-05-29 Pedro Alves <palves@redhat.com>
23035
23036 PR gdb/13860
23037 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
23038 reason, even in sync mode.
23039
251bde03
PA
230402014-05-29 Pedro Alves <palves@redhat.com>
23041 Hui Zhu <hui@codesourcery.com>
23042
23043 PR PR15693
23044 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
23045 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
23046 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
23047 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
23048
7f3c0343
JB
230492014-05-28 Joel Brobecker <brobecker@adacore.com>
23050
23051 * config/monitor.exp (gdb_target_monitor): Replace use of
23052 "set remotebaud" by "set serial baud".
23053
b2715b27
AW
230542014-05-26 Andy Wingo <wingo@igalia.com>
23055
23056 * gdb.guile/scm-breakpoint.exp:
23057 * gdb.guile/scm-gsmob.exp: Update to use plain old object
23058 properties instead of gdb-object-properties.
23059
498a4489
YQ
230602014-05-26 Yao Qi <yao@codesourcery.com>
23061
23062 * gdb.server/no-thread-db.exp: Specify source file name
23063 explicitly when setting a breakpoint.
23064
589fdceb
MM
230652014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23066
23067 * gdb.btrace/vdso.c: New.
23068 * gdb.btrace/vdso.exp: New.
23069
e9089e05
MM
230702014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23071
23072 * gdb.base/gcore.exp (capture_command_output): Move ...
23073 * lib/gdb.exp (capture_command_output): ... here.
23074
67b5c0c1
MM
230752014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23076
23077 * gdb.btrace/data.exp: Test memory access during btrace replay.
23078
a2199296
SM
230792014-05-22 Simon Marchi <simon.marchi@ericsson.com>
23080
23081 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
23082
17b2616c
PA
230832014-05-21 Pedro Alves <palves@redhat.com>
23084
23085 PR gdb/13860
23086 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
23087 (top level): Test that output related to execution commands is
23088 sent to the console with CLI commands, but not with MI commands.
23089 Test that breakpoint events are always mirrored to the console.
23090 Also expect the new source line to be output after a "next" in
23091 async mode too. Make it a pass/fail test.
23092 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
23093 output.
23094 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
23095
5166082f
PA
230962014-05-21 Pedro Alves <palves@redhat.com>
23097
23098 * gdb.base/list.exp (build_pattern, test_list): New procedures.
23099 Use them to test variations of "list" after reaching a breakpoint.
23100 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
23101 Test "list" with listsize 10 after reaching a breakpoint.
23102 * gdb.python/python.exp (decode_line current location line
23103 number): Adjust expected line number.
23104
2f25d70f
SM
231052014-05-21 Simon Marchi <simon.marchi@ericsson.com>
23106
23107 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
23108 behavior for $args, pass it directly to "run".
23109
ff604a67
MR
231102014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
23111
23112 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
23113 30000 to 65536.
23114
6a3cb8e8
PA
231152014-05-21 Pedro Alves <palves@redhat.com>
23116
23117 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
23118 auto-connect-native-target off".
23119 * gdb.base/auto-connect-native-target.c: New file.
23120 * gdb.base/auto-connect-native-target.exp: New file.
23121
4ebfc96e
PA
231222014-05-21 Pedro Alves <palves@redhat.com>
23123
23124 * gdb.base/default.exp: Test "target native" instead of "target
23125 child".
23126
36d46afb
MW
231272014-05-21 Mark Wielaard <mjw@redhat.com>
23128
23129 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
23130
5876f503
JK
231312014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
23132
23133 Fix TLS access for -static -pthread.
23134 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
23135 <HAVE_TLS> (thread_function, main): Initialize it.
23136 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
23137 Add clean_restart.
23138 <$have_tls != "">: Check TLSVAR.
23139
0256a6ac
PA
231402014-05-21 Pedro Alves <palves@redhat.com>
23141
23142 * gdb.base/dcache-line-read-error.c: New.
23143 * gdb.base/dcache-line-read-error.exp: New.
23144
936d2992
PA
231452014-05-20 Pedro Alves <palves@redhat.com>
23146
23147 * gdb.base/compare-sections.c: New file.
23148 * gdb.base/compare-sections.exp: New file.
23149
802e8e6d
PA
231502014-05-20 Pedro Alves <palves@redhat.com>
23151
23152 * gdb.base/break-idempotent.c: New file.
23153 * gdb.base/break-idempotent.exp: New file.
23154
e59fa00f
MM
231552014-05-20 Markus Metzger <markus.t.metzger@intel.com>
23156
23157 * gdb.btrace/nohist.exp: New.
23158
8b696e31
YQ
231592014-05-20 Yao Qi <yao@codesourcery.com>
23160
23161 * lib/gdb.exp (gdb_init): Set timeout if test file is under
23162 gdb.reverse directory and gdb_reverse_timeout exists in board
23163 setting.
23164 * README: Document gdb_reverse_timeout.
23165
73c9764f
YQ
231662014-05-20 Yao Qi <yao@codesourcery.com>
23167
23168 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
23169 'test_file_name'. Treat args as a string instead of a list.
23170 (gdb_init): Rename argument 'args' by 'test_file_name'.
23171
f1f4348a
JK
231722014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
23173
23174 * gdb.arch/powerpc-power.exp: New file.
23175 * gdb.arch/powerpc-power.s: New file.
23176
0dbe70ce
DE
231772014-05-16 Doug Evans <dje@google.com>
23178
23179 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
23180 * gdb.base/completion.exp: Check that all expected files exist
23181 before doing file completion.
0dbe70ce 23182
8d551b02
DE
231832014-05-16 Doug Evans <dje@google.com>
23184
23185 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
23186 Update.
23187 (do_syscall_tests_without_xml): Update.
23188
73eb7709
PA
231892014-05-16 Pedro Alves <palves@redhat.com>
23190
23191 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
23192 instead of "unknown output after running".
23193
3fae92fc
YQ
231942014-05-16 Yao Qi <yao@codesourcery.com>
23195
23196 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
23197 file1.txt from host at the end.
23198 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
23199
c2b2ccc5
DE
232002014-05-15 Doug Evans <dje@google.com>
23201
23202 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
23203 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
23204 loading file. Add test for TU lookup.
23205
8c217a4b
SM
232062014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23207
23208 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
23209 calling "-exec-arguments" or "set args" before running the
23210 inferior.
23211
3deb39c6
SM
232122014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23213
23214 * lib/mi-support.exp (mi_expect_stop): Expect message for
23215 inferiors that exit with non-zero exit code.
23216
71a79f8c
YQ
232172014-05-14 Yao Qi <yao@codesourcery.com>
23218
23219 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
23220 match absolute path on remote host.
23221 (test_file_list_exec_source_files): Remove "/" from the
23222 pattern.
23223
f23fcd46
YQ
232242014-05-14 Yao Qi <yao@codesourcery.com>
23225
23226 * boards/local-remote-host-notty.exp (${board}_file): New
23227 proc.
23228
9404b58f
KM
232292014-05-07 Kyle McMartin <kyle@redhat.com>
23230
23231 Pushed by Joel Brobecker <brobecker@adacore.com>.
23232 * gdb.arch/aarch64-atomic-inst.c: New file.
23233 * gdb.arch/aarch64-atomic-inst.exp: New file.
23234
5e45f04c
YQ
232352014-05-07 Yao Qi <yao@codesourcery.com>
23236
23237 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
23238 in current context" too.
23239
c888a17d
KS
232402014-05-05 Keith Seitz <keiths@redhat.com>
23241
23242 * gdb.linespec/ls-dollar.exp: Add test for linespec
23243 file:convenience_variable.
23244
290a839c
YQ
232452014-05-05 Yao Qi <yao@codesourcery.com>
23246
23247 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
23248 traceframes into tfile and ctf trace files. Read data from
23249 trace file and test collected data.
23250 (gdb_collect_locals_test): Likewise.
23251 (gdb_unavailable_registers_test): Likewise.
23252 (gdb_unavailable_floats): Likewise.
23253 (gdb_collect_globals_test): Likewise.
23254 (top-level): Append "ctf" to trace_file_targets if GDB
23255 supports.
23256
b5262cd0
YQ
232572014-05-05 Yao Qi <yao@codesourcery.com>
23258
23259 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23260 code to ...
23261 (gdb_collect_args_test_1): ... it. New proc.
23262 (gdb_collect_locals_test): Move some code to ...
23263 (gdb_collect_locals_test_1): ... it. New proc.
23264 (gdb_unavailable_registers_test): Move some code to ...
23265 (gdb_unavailable_registers_test_1): ... it. New proc.
23266 (gdb_unavailable_floats): Move some code to ...
23267 (gdb_unavailable_floats_1): ... it. New proc.
23268
30a1e6cc
SDJ
232692014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23270
23271 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23272 probes to test for bitness recognition.
23273 * gdb.arch/amd64-stap-optional-prefix.exp
23274 (test_probe_value_without_reg): New procedure.
23275 Add code to test for different kinds of bitness.
23276
f33da99a
SDJ
232772014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23278
23279 PR breakpoints/16889
23280 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23281 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23282
5b80f00d
PA
232832014-05-01 Pedro Alves <palves@redhat.com>
23284
23285 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23286 gdb_file_cmd if no file is specified.
23287 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23288 last_loaded_file to set the remote exec-file.
23289
f8c2a73c
PA
232902014-05-01 Pedro Alves <palves@redhat.com>
23291
23292 * boards/local-remote-host.exp: New file.
23293
be6e8ac7
PA
232942014-05-01 Pedro Alves <palves@redhat.com>
23295
23296 * boards/local-remote-host.exp: Rename to ...
23297 * boards/local-remote-host-notty.exp: ... this.
23298
cac0dc8f
JB
232992014-04-28 Joel Brobecker <brobecker@adacore.com>
23300
23301 * gdb.ada/dyn_arrayidx: New testcase.
23302
9730e6cc
YQ
233032014-04-26 Yao Qi <yao@codesourcery.com>
23304
23305 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23306 and compute the length of function main. Save it in
23307 $main_length.
23308 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23309 (top-level): Use gdb_compile to compile objects into
23310 executable and restart GDB. Remove invocation to
23311 prepare_for_testing.
23312
7ae1a6a6
PA
233132014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23314 Pedro Alves <palves@redhat.com>
23315
23316 PR server/16255
23317 * gdb.multi/multi-attach.c: New file.
23318 * gdb.multi/multi-attach.exp: New file.
23319
4082afcc
PA
233202014-04-25 Pedro Alves <palves@redhat.com>
23321
23322 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23323 user.
23324 (top level): Test that "set remote conditional-breakpoints-packet
23325 off" works as intended.
23326 * gdb.base/dprintf.exp: Test that "set remote
23327 breakpoint-commands-packet off" works as intended.
23328 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23329 New function.
23330 (top level): Call it.
23331 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23332 remote fast-tracepoints-packet off" works as intended.
23333 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23334 * lib/gdb.exp (gdb_is_target_remote): ... here.
23335
2abc3f8d
DB
233362014-04-24 David Blaikie <dblaikie@gmail.com>
23337
23338 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23339 ensure clang would not discard them.
23340 * gdb.base/gdbvars.c: Ditto.
23341 * gdb.base/memattr.c: Ditto.
23342 * gdb.base/whatis.c: Ditto.
23343 * gdb.python/py-prettyprint.c: Ditto.
23344 * gdb.trace/actions.c: Ditto.
23345 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23346 ensure clang would not discard it.
23347
bfd39632
DB
233482014-04-24 David Blaikie <dblaikie@gmail.com>
23349
23350 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23351 clang to emit the full definition of type required by the test
23352 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23353
22842ff6
DB
233542014-04-24 David Blaikie <dblaikie@gmail.com>
23355
23356 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23357 coax Clang into emitting the definition of the type.
23358 * gdb.cp/pr10728-x.h (y): Ditto.
23359 * gdb.cp/pr10728-y.cc (y): Ditto.
23360
c2e827ad
DB
233612014-04-24 David Blaikie <dblaikie@gmail.com>
23362
23363 * gdb.base/label.exp: XFAIL label related tests under Clang.
23364 * gdb.cp/cplabel.exp: Ditto.
23365 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23366 under Clang those using labels.
23367
4c2d33e7
YQ
233682014-04-25 Yao Qi <yao@codesourcery.com>
23369
23370 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23371 double_label.
23372 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23373 partial_label and double_label.
23374
56083b99
DB
233752014-04-24 David Blaikie <dblaikie@gmail.com>
23376
23377 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23378
25d4e99d
DB
233792014-04-24 David Blaikie <dblaikie@gmail.com>
23380
23381 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23382 of the function to work across GCC and Clang.
23383 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23384 pointer types (const void ** const V void **).
23385
01f9f808
MS
233862014-04-24 Michael Sturm <michael.sturm@mintel.com>
23387 Walfred Tedeschi <walfred.tedeschi@intel.com>
23388
23389 * Makefile.in (EXECUTABLES): Added i386-avx512.
23390 * gdb.arch/i386-avx512.c: New file.
23391 * gdb.arch/i386-avx512.exp: Likewise.
23392
4b48d439
KS
233932014-04-23 Keith Seitz <keiths@redhat.com>
23394
23395 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23396 (mi_make_breakpoint_table): New procedure.
23397 (mi_create_breakpoint): Use mi_make_breakpoint
23398 and return the result.
23399 (mi_make_breakpoint): New procedure.
23400 (mi_build_kv_pairs): New procedure.
23401
23402 * gdb.mi/mi-break.exp: Remove unused globals,
23403 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23404 All callers updated.
23405 * gdb.mi/mi-dprintf.exp: Use variable to track command
23406 number.
23407 Update all callers of mi_create_breakpoint and use
23408 mi_make_breakpoint_table.
23409 Remove any unused global variables.
23410 * gdb.mi/mi-nonstop.exp: Likewise.
23411 * gdb.mi/mi-nsintrall.exp: Likewise.
23412 * gdb.mi/mi-nsmoribund.exp: Likewise.
23413 * gdb.mi/mi-nsthrexec.exp: Likewise.
23414 * gdb.mi/mi-reverse.exp: Likewise.
23415 * gdb.mi/mi-simplerun.exp: Likewise.
23416 * gdb.mi/mi-stepn.exp: Likewise.
23417 * gdb.mi/mi-syn-frame.exp: Likewise.
23418 * gdb.mi/mi-until.exp: Likewise.
23419 * gdb.mi/mi-var-cp.exp: Likewise.
23420 * gdb.mi/mi-var-display.exp: Likewise.
23421 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23422 * gdb.mi/mi2-var-child.exp: Likewise.
23423 * gdb.mi/mi-vla-c99.exp: Likewise.
23424 * lib/mi-support.exp: Likewise.
23425
23426 From Ian Lance Taylor <iant@cygnus.com>:
23427 * lib/gdb.exp (parse_args): New procedure.
23428
08351840
PA
234292014-04-23 Pedro Alves <palves@redhat.com>
23430
23431 * gdb.base/break-unload-file.c: New file.
23432 * gdb.base/break-unload-file.exp: New file.
23433 * gdb.base/sym-file-lib.c (baz): New function.
23434 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23435 field.
23436 (load): Store the segment's mapped size.
23437 (unload): New function.
23438 (unload_shlib): New function.
23439 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23440 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23441 set a breakpoint at baz, and call it.
23442 * gdb.base/sym-file.exp: New tests for stale breakpoint
23443 instructions.
23444
076855f9
PA
234452014-04-23 Pedro Alves <palves@redhat.com>
23446
23447 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23448 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23449 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23450 * gdb.base/hbreak-unmapped.c: New file.
23451 * gdb.base/hbreak-unmapped.exp: New file.
23452 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23453 * lib/gdb.exp (gdb_is_target_remote): ... here.
23454
483805cf
PA
234552014-04-22 Pedro Alves <palves@redhat.com>
23456
23457 * gdb.base/consecutive-step-over.c: New file.
23458 * gdb.base/consecutive-step-over.exp: New file.
23459
06d97543
PA
234602014-04-22 Pedro Alves <palves@redhat.com>
23461
23462 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23463 instead of send_gdb/gdb_expect.
23464
b4429ea2
YQ
234652014-04-22 Yao Qi <yao@codesourcery.com>
23466
23467 * lib/trace-support.exp (generate_tracefile): New procedure.
23468 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23469 return 0.
23470 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23471 if generate_tracefile returns 1.
23472
51d48146
PA
234732014-04-18 Tom Tromey <palves@redhat.com>
23474 Pedro alves <tromey@redhat.com>
23475
23476 PR backtrace/15558
23477 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23478 with a backtrace limit.
23479 * gdb.python/py-frame-inline.exp: Test running to an inline
23480 function with a backtrace limit, and printing the newest frame.
23481 * gdb.python/py-frame-inline.c (main): Call f.
23482
bd1dce5f
MS
234832014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23484
23485 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23486
40d1a503
MS
234872014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23488
23489 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23490 Drop prefix from unsupported source file path.
23491
389b98f7
YQ
234922014-04-17 Yao Qi <yao@codesourcery.com>
23493
23494 * lib/gdb.exp (with_target_charset): New proc.
23495 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23496 with_target_charset.
23497 (test_print_strings): Likewise.
23498 (test_repeat_bytes): Likewise.
23499 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23500 for some tests.
23501
22869d73
KS
235022014-04-16 Keith Seitz <keiths@redhat.com>
23503
23504 PR gdb/15827
23505 * gdb.dwarf2/corrupt.c: New file.
23506 * gdb.dwarf2/corrupt.exp: New file.
23507
c4f87ca6
KS
235082014-04-16 Keith Seitz <keiths@redhat.com>
23509
23510 PR c++/16597
23511 * gdb.cp/namelessclass.cc: New file.
23512 * gdb.cp/namelessclass.exp: New file.
23513 * gdb.cp/namelessclass.S: New file.
23514
ab19de87
DE
235152014-04-16 Doug Evans <dje@google.com>
23516
23517 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23518 Add comment.
23519 (gdbserver_default_get_comm_port): New function.
23520 (gdbserver_start): Check if board file provided
23521 "gdbserver,get_comm_port" and use it if so.
23522 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23523 (gdb,socketport): Set to "stdio".
23524 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23525 (stdio_gdbserver_template): Delete.
23526 (${board}_get_remote_address): Update.
23527 (${board}_build_remote_cmd): Delete.
23528 (${board}_get_comm_port): New function.
23529 (${board}_spawn): Update.
23530 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23531 Delete.
23532 (${board}_get_remote_address): Update.
23533 (${board}_get_comm_port): New function.
23534
fc98a809
AB
235352014-04-16 Andrew Burgess <aburgess@broadcom.com>
23536
23537 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23538 appearing in any order.
23539
87fd9e6e
DE
235402014-04-15 Doug Evans <dje@google.com>
23541
23542 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23543 uninitialized value of "description".
23544
099fc3ea
KS
235452014-04-15 Keith Seitz <keiths@redhat.com>
23546
23547 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23548 Remove unused globals.
23549 (test_running_the_program): Likewise.
23550 (test_controlled_execution): Likewise.
23551 (test_controlling_breakpoints): Likewise.
23552 (test_program_termination): Likewise.
23553
5da151d4
KS
235542014-04-15 Keith Seitz <keiths@redhat.com>
23555
23556 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23557 unused globals.
23558 (test_rbreak_creation_and_listing): Likewise.
23559 (test_ignore_count): Likewise.
23560 (test_error): Likewise.
23561
35e5d2f0
PA
235622014-04-15 Pedro Alves <palves@redhat.com>
23563
23564 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23565 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23566 sym-file-loader.c.
23567 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23568 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23569 to sym-file-loader.c.
23570 (struct library): Forward declare.
23571 (load_shlib, lookup_function): Change prototypes.
23572 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23573 (translate_offset): Remove declarations.
23574 (get_text_addr): New declaration.
23575 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23576 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23577 sym-file-loader.h.
23578 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23579 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23580 here from sym-file-loader.h.
23581 (struct library): New structure.
23582 (load_shlib, lookup_function): Change prototypes and adjust to
23583 work with a struct library.
23584 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23585 (translate_offset): Make static.
23586 (get_text_addr): New function.
23587 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23588
eb4c1710
PA
235892014-04-15 Pedro Alves <palves@redhat.com>
23590
23591 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23592
2d1baf52
PA
235932014-04-15 Pedro Alves <palves@redhat.com>
23594
23595 * gdb.base/sym-file-loader.c: Include <limits.h>.
23596 (SELF_LINK): New define.
23597 (get_origin): New function.
23598 (load_shlib): Use it.
23599 * gdb.base/sym-file.exp: Don't early return if the target is
23600 remote. Use runto_main, and issue fail is that fails. Use
23601 gdb_load_shlibs.
23602 (shlib_name): Delete.
23603 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23604
7dd6df01
PA
236052014-04-15 Pedro Alves <palves@redhat.com>
23606
23607 * gdb.base/sym-file.exp: Remove regex characters from test
23608 message. Don't refer to breakpoint numbers in test messages.
23609
b50c8614
KS
236102014-04-14 Keith Seitz <keiths@redhat.com>
23611
23612 PR c++/16253
23613 * gdb.cp/var-tag.cc: New file.
23614 * gdb.cp/var-tag.exp: New file.
23615 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23616 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23617 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23618 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23619
3d567982
TT
236202014-04-14 Tom Tromey <tromey@redhat.com>
23621
23622 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23623 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23624 type.
23625 * gdb.cp/enum-class.exp: New file.
23626 * gdb.cp/enum-class.cc: New file.
23627
0626fc76
TT
236282014-04-14 Tom Tromey <tromey@redhat.com>
23629
23630 * gdb.dwarf2/enum-type.exp: New file.
23631
dca325b3
SA
236322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23633
23634 * gdb.mi/mi-vla-c99.exp: New file.
23635 * gdb.mi/vla.c: New file.
23636
5854b38a
SA
236372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23638
23639 * gdb.base/vla-datatypes.c: New file.
23640 * gdb.base/vla-datatypes.exp: New file.
23641
463bb957
SA
236422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23643
23644 * gdb.base/vla-ptr.c: New file.
23645 * gdb.base/vla-ptr.exp: New file.
23646
3dd170be
SA
236472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23648
23649 * gdb.dwarf2/count.exp: New file.
23650
5ecaaa66
SA
236512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23652
23653 * gdb.base/vla-sideeffect.c: New file.
23654 * gdb.base/vla-sideeffect.exp: New file.
23655
41f1ada5
DB
236562014-04-14 David Blaikie <dblaikie@gmail.com>
23657
23658 * gdb.mi/non-stop.c: Add return value for non-void function return
23659 statement.
23660 * gdb.threads/staticthreads.c: Ditto.
23661
0be03e84
DE
236622014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23663 Doug Evans <xdje42@gmail.com>
23664
23665 * gdb.guile/scm-value.c: Improve test case.
23666 * gdb.guile/scm-value.exp: Add new test.
23667
f180a1fb
DB
236682014-04-11 David Blaikie <dblaikie@gmail.com>
23669
23670 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23671 override Clang's default.
23672
6b662e19
JB
236732014-04-11 Joel Brobecker <brobecker@adacore.com>
23674
23675 Revert the following changes (regressions):
23676
23677 * gdb.base/vla-sideeffect.c: New file.
23678 * gdb.base/vla-sideeffect.exp: New file.
23679
23680 * gdb.dwarf2/count.exp: New file.
23681
23682 * gdb.base/vla-multi.c: New file.
23683 * gdb.base/vla-multi.exp: New file.
23684
23685 * gdb.base/vla-ptr.c: New file.
23686 * gdb.base/vla-ptr.exp: New file.
23687
23688 * gdb.base/vla-datatypes.c: New file.
23689 * gdb.base/vla-datatypes.exp: New file.
23690
23691 * gdb.mi/mi-vla-c99.exp: New file.
23692 * gdb.mi/vla.c: New file.
23693
245a5f0b
KS
236942014-04-11 Keith Seitz <keiths@redhat.com>
23695
23696 PR c++/16675
23697 * gdb.cp/cpsizeof.exp: New file.
23698 * gdb.cp/cpsizeof.cc: New file.
23699
58a84dcf
SA
237002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23701
191a8a90
JB
23702 * gdb.mi/mi-vla-c99.exp: New file.
23703 * gdb.mi/vla.c: New file.
58a84dcf 23704
c8655f75
SA
237052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23706
23707 * gdb.base/vla-datatypes.c: New file.
23708 * gdb.base/vla-datatypes.exp: New file.
23709
024e13b4
SA
237102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23711
23712 * gdb.base/vla-ptr.c: New file.
23713 * gdb.base/vla-ptr.exp: New file.
23714
1a237e0e
SA
237152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23716
23717 * gdb.base/vla-multi.c: New file.
23718 * gdb.base/vla-multi.exp: New file.
23719
504f3432
SA
237202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23721
23722 * gdb.dwarf2/count.exp: New file.
23723
3bce8237
SA
237242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23725
191a8a90
JB
23726 * gdb.base/vla-sideeffect.c: New file.
23727 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23728
322f9c21
YQ
237292014-04-11 Yao Qi <yao@codesourcery.com>
23730
23731 * gdb.base/completion.exp: Check file exists before running tests
23732 on file completion.
23733
d708bcd1
PA
237342014-04-10 Pedro Alves <palves@redhat.com>
23735
23736 * gdb.base/cond-eval-mode.c: New file.
23737 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23738 prepare_for_testing to build the new file. Check result of
23739 runto_main.
23740 (test_break, test_watch): New procedures.
23741 (top level): Use them.
23742
ae1d2761
PM
237432014-04-08 Pierre Muller <muller@sourceware.org>
23744
23745 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23746 Ctrl-V use for mingw hosts.
23747
7af389b8
SC
237482014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23749
23750 * gdb.python/py-value.c: Improve test case.
23751 * gdb.python/py-value.exp: Add new test.
23752
5e703181
DE
237532014-04-07 David Blaikie <dblaikie@gmail.com>
23754
23755 * lib/compiler.c: Identify the clang compiler.
23756 * lib/compiler.cc: Ditto.
23757
9810b410
YQ
237582014-04-03 Yao Qi <yao@codesourcery.com>
23759
23760 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23761
98d1b8dc
AB
237622014-04-01 Anton Blanchard <anton@samba.org>
23763
23764 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23765 messages unique.
23766
3114cea1
AB
237672014-04-01 Anton Blanchard <anton@samba.org>
23768
23769 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23770 prepare_for_testing.
23771
62f7182c
AB
237722014-04-01 Anton Blanchard <anton@samba.org>
23773
23774 * gdb.arch/ppc64-atomic-inst.c: Remove.
23775 * gdb.arch/ppc64-atomic-inst.S: New file.
23776 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23777
770e7fc7
DE
237782014-03-31 Doug Evans <dje@google.com>
23779
23780 * gdb.base/print-symbol-loading-lib.c: New file.
23781 * gdb.base/print-symbol-loading-main.c: New file.
23782 * gdb.base/print-symbol-loading.exp: New file.
23783
46e2bafa
YQ
237842014-03-31 Yao Qi <yao@codesourcery.com>
23785
23786 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23787
8776cfe9
JB
237882014-03-28 Joel Brobecker <brobecker@adacore.com>
23789
23790 * gdb.ada/mi_dyn_arr: New testcase.
23791
5d1ef361
DE
237922014-03-27 Doug Evans <dje@google.com>
23793
23794 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23795
b5bee914
YQ
237962014-03-27 Yao Qi <yao@codesourcery.com>
23797
23798 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23799 if target is nios2-*-*.
23800
0d4d0e77
YQ
238012014-03-26 Yao Qi <yao@codesourcery.com>
23802
23803 * lib/gdb.exp (readline_is_used): New proc.
23804 * gdb.base/completion.exp: Move tests on command complete up.
23805 Skip the rest of tests if readline is not used.
23806 * gdb.ada/complete.exp: Skp the test if readline is not
23807 used.
23808 * gdb.base/filesym.exp: Likewise.
23809 * gdb.base/macscp.exp: Likewise.
23810 * gdb.base/readline-ask.exp: Likewise.
23811 * gdb.base/readline.exp: Likewise.
23812 * gdb.python/py-cmd.exp: Likewise.
23813 * gdb.trace/tfile.exp: Likewise.
23814
29361eee
YQ
238152014-03-26 Yao Qi <yao@codesourcery.com>
23816
23817 * gdb.base/macscp.exp: Fix code format issues.
23818
bc9a5525
UW
238192014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23820
23821 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23822 * gdb.asm/powerpc64le.inc: New file.
23823
d3839ede
PA
238242014-03-25 Pedro Alves <palves@redhat.com>
23825 Doug Evans <dje@google.com>
23826
23827 * gdb.base/source-execution.c: New file.
23828 * gdb.base/source-execution.exp: New file.
23829 * gdb.base/source-execution.gdb: New file.
23830
01672a57
DE
238312014-03-24 Doug Evans <dje@google.com>
23832
23833 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23834 using fission.
23835
88bbeca9
HZ
238362014-03-24 Hui Zhu <hui@codesourcery.com>
23837 Pedro Alves <palves@redhat.com>
23838
23839 PR breakpoints/16101
23840 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23841 test pass/fail messages. Detect missing support for dprintf when
23842 breakpoints are actually inserted.
23843 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23844 breakpoints are actually inserted.
23845 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23846 fails.
23847
d2348791
JK
238482014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23849
23850 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23851
feef67ab
DE
238522014-03-22 Doug Evans <xdje42@gmail.com>
23853
23854 * gdb.python/python.exp (python not supported): Verify multi-line
23855 python command issues an error.
25d743f9 23856 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23857 guile command issues an error.
feef67ab 23858
ecebef6a
MR
238592014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23860
23861 * gdb.threads/thread-specific.exp: Handle the lack of usable
23862 $this_breakpoint and $this_thread.
23863
ccdd1909
HZ
238642014-03-21 Hui Zhu <hui@codesourcery.com>
23865
23866 * gdb.base/attach.exp (do_command_attach_tests): New.
23867
beb460e8
PA
238682014-03-20 Tom Tromey <tromey@redhat.com>
23869 Pedro Alves <palves@redhat.com>
23870
23871 PR cli/15718
23872 * gdb.base/condbreak-call-false.c: New file.
23873 * gdb.base/condbreak-call-false.exp: New file.
23874
40acf43a
PA
238752014-03-20 Pedro Alves <palves@redhat.com>
23876
23877 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23878 Delete.
23879 (block_signals, unblock_signals): Delete.
23880 (child_function_2, main): Remove references to deleted variable
23881 and functions.
23882
9f5e1e02
PA
238832014-03-20 Pedro Alves <palves@redhat.com>
23884
23885 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23886 Use pthread_kill to signal thread 2.
23887 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23888 Adjust to make the test send itself a signal rather than using the
23889 host's "kill" command.
23890
99619bea
PA
238912014-03-20 Pedro Alves <palves@redhat.com>
23892
23893 * gdb.threads/multiple-step-overs.c: New file.
23894 * gdb.threads/multiple-step-overs.exp: New file.
23895 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23896 Adjust expected infrun debug output.
23897
2adfaa28
PA
238982014-03-20 Pedro Alves <palves@redhat.com>
23899
23900 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23901 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23902
31e77af2
PA
239032014-03-20 Pedro Alves <palves@redhat.com>
23904
23905 PR breakpoints/7143
23906 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23907 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23908 of gdb_test_multiple.
23909 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23910 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23911
b9f437de
PA
239122014-03-20 Pedro Alves <palves@redhat.com>
23913
23914 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23915 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23916
05adc73e
PA
239172014-03-19 Pedro Alves <palves@redhat.com>
23918
23919 * gdb.base/async.exp: Remove early return.
23920
6048b950
PA
239212014-03-19 Pedro Alves <palves@redhat.com>
23922
23923 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23924
8bcfb00a
PA
239252014-03-19 Pedro Alves <palves@redhat.com>
23926
23927 * gdb.base/async.exp (test_background): Expect \r\n after
23928 "completed." in the fail pattern.
23929
884e37dc
PA
239302014-03-19 Pedro Alves <palves@redhat.com>
23931
23932 * gdb.base/async.exp (test_background): New procedure.
23933 Use it for all background execution command tests.
23934
148e57e2
PA
239352014-03-19 Pedro Alves <palves@redhat.com>
23936
23937 * gdb.base/async.exp: Use prepare_for_testing.
23938
f48088c7
PA
239392014-03-19 Pedro Alves <palves@redhat.com>
23940
23941 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23942 the same line.
23943
e2f6c966
PA
239442014-03-19 Pedro Alves <palves@redhat.com>
23945
23946 * gdb.base/async.c (main): Add "jump here" and "until here" line
23947 marker comments.
23948 * gdb.base/async.exp (jump_here): New global.
23949 (jump& test): Use it.
23950 (until_here): New global.
23951 (until& test): Use it.
23952
c30568d4
PA
239532014-03-19 Pedro Alves <palves@redhat.com>
23954
23955 * gdb.base/async.exp: Don't frob gdb_protocol.
23956
0172b6a7
DE
239572014-03-18 Doug Evans <xdje42@gmail.com>
23958
23959 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23960 Fix spelling of exec-done-display.
23961
06c868a8
JK
239622014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23963
23964 PR gdb/15358
23965 * gdb.base/gdb-sigterm.c: New file.
23966 * gdb.base/gdb-sigterm.exp: New file.
23967
0c7e1a46
PA
239682014-03-18 Pedro Alves <palves@redhat.com>
23969
23970 PR gdb/13860
23971 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23972 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23973 solib-event.
23974
f7c77d93
JB
239752014-03-17 Joel Brobecker <brobecker@adacore.com>
23976
23977 * gdb.ada/pckd_arr_ren: New testcase.
23978
5a1e8c7a
DE
239792014-03-13 Doug Evans <xdje42@gmail.com>
23980
23981 PR guile/16612
23982 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23983 collect after discarding symbols.
23984
350e1a76
DE
239852014-03-13 Ludovic Courtès <ludo@gnu.org>
23986 Doug Evans <xdje42@gmail.com>
23987
23988 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23989 to history survives a gc.
23990
a69900ae
PA
239912014-03-13 Pedro Alves <palves@redhat.com>
23992
23993 * gdb.base/default.exp: Don't test "target procfs".
23994
5db9f0bd
PA
239952014-03-13 Pedro Alves <palves@redhat.com>
23996
23997 * gdb.base/default.exp: Update "target child" and "target procfs"
23998 tests to not expect "Unix".
23999
b3ccfe11
TT
240002014-03-12 Tom Tromey <tromey@redhat.com>
24001
24002 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
24003 New procs. Add target-async tests.
24004 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
24005 Add target-async tests.
24006
646f4417
AA
240072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24008
24009 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
24010 'func_start' and 'func_end' for the beginning and end of the
24011 function code, respectively.
24012 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
24013 'func_end' instead of 'func' and 'main'.
24014
288c211f
AA
240152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24016
24017 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
24018 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
24019 generate the debug info assembler source.
24020
e0c0f156
AA
240212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24022
24023 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
24024 * gdb.dwarf2/arr-subrange.exp: Likewise.
24025 * gdb.dwarf2/dwz.exp: Likewise.
24026 * gdb.dwarf2/method-ptr.exp: Likewise.
24027 * gdb.dwarf2/missing-sig-type.exp: Likewise.
24028 * gdb.dwarf2/subrange.exp: Likewise.
24029 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
24030 * gdb.dwarf2/implptrpiece.exp: Likewise.
24031 * gdb.dwarf2/nostaticblock.exp: Likewise.
24032
0e5c4555
AA
240332014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24034
24035 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
24036 directory to absolute path name arguments.
24037
5ec18f2b
JG
240382014-03-10 Joel Brobecker <brobecker@adacore.com>
24039
24040 * gdb.ada/tagged_access: New testcase.
24041
847fc4f2
MM
240422014-03-07 Markus Metzger <markus.t.metzger@intel.com>
24043
24044 * gdb.btrace/data.exp: Update expected output.
24045
cc3da688
YQ
240462014-03-06 Yao Qi <yao@codesourcery.com>
24047
24048 * gdb.trace/pr16508.exp: New file.
24049
0f26cec1
PA
240502014-03-05 Pedro Alves <palves@redhat.com>
24051
24052 PR gdb/16575
24053 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
24054 procedure.
24055 (top level): Adjust to use it. Add tests that exercise breakpoint
24056 interaction with the code-cache.
24057
7a5a839f
LC
240582014-02-26 Ludovic Courtès <ludo@gnu.org>
24059
24060 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
24061 test for 'history-append!'.
24062
31aa7e4e
JB
240632014-02-26 Joel Brobecker <brobecker@adacore.com>
24064
24065 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
24066 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
24067 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
24068 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
24069 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
24070 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
24071
1b588015
JB
240722014-02-26 Joel Brobecker <brobecker@adacore.com>
24073
24074 * testsuite/gdb.python/py-pp-re-notag.c: New file.
24075 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
24076 * testsuite/gdb.python/py-pp-re-notag.p: New file.
24077
55426c9d
JB
240782014-02-26 Joel Brobecker <brobecker@adacore.com>
24079
24080 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
24081
dc53a7ad
JB
240822014-02-26 Joel Brobecker <brobecker@adacore.com>
24083
24084 * gdb.dwarf2/arr-stride.c: New file.
24085 * gdb.dwarf2/arr-stride.exp: New file.
24086
12ab52e9
PA
240872014-02-26 Pedro Alves <palves@redhat.com>
24088
24089 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
24090 that won't ever trigger. Make sure that GDB reports the correct
24091 breakpoint that caused the stop.
24092
849c862e
JK
240932014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
24094
24095 PR gdb/16626
24096 * gdb.base/auto-load-script: New file.
24097 * gdb.base/auto-load.c: New file.
24098 * gdb.base/auto-load.exp: New file.
24099
71b7d793
JK
24100 PR gdb/16626
24101 * gdb.base/auto-load.exp: Fix out-of-srctree run.
24102
e2f0d509
JK
241032014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
24104
24105 Fix dw2-icycle.exp -fsanitize=address GDB crash.
24106 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
24107
50cc37c8
DE
241082014-02-24 Doug Evans <dje@google.com>
24109
24110 * lib/gdb.exp (run_on_host): Log error output if program fails.
24111
ea4758f2
PA
241122014-02-21 Pedro Alves <palves@redhat.com>
24113
24114 * gdb.threads/step-after-sr-lock.c: Rename to ...
24115 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
24116 * gdb.threads/step-after-sr-lock.exp: Rename to ...
24117 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24118 ... this.
24119
d7b30f67
SDJ
241202014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
24121
24122 PR tdep/16397
24123 * gdb.arch/amd64-stap-special-operands.exp: New file.
24124 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
24125 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
24126 * gdb.arch/amd64-stap-triplet.S: Likewise.
24127 * gdb.arch/amd64-stap-triplet.c: Likewise.
24128
83deb43f
JB
241292014-02-20 Joel Brobecker <brobecker@adacore.com>
24130
24131 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
24132 in .section pseudo-op.
24133
adde2bff
DE
241342014-02-20 lin zuojian <manjian2006@gmail.com>
24135 Joel Brobecker <brobecker@adacore.com>
24136 Doug Evans <xdje42@gmail.com>
24137
24138 PR symtab/16581
24139 * gdb.dwarf2/dw2-icycle.S: New file.
24140 * gdb.dwarf2/dw2-icycle.c: New file.
24141 * gdb.dwarf2/dw2-icycle.exp: New file.
24142
f7bd0f78
SC
241432014-02-19 Siva Chandra Reddy <sivachandra@google.com>
24144
24145 * gdb.python/py-value-cc.cc: Improve test case to enable testing
24146 operations on gdb.Value objects.
24147 * gdb.python/py-value-cc.exp: Add new test to test operations on
24148 gdb.Value objects.
24149
c17ef0d5
DE
241502014-02-18 Doug Evans <dje@google.com>
24151
24152 * Makefile.in (TESTS): New variable.
24153 (expanded_tests, expanded_tests_or_none): New variables
24154 (check-single): Pass $(expanded_tests_or_none) to runtest.
24155 (check-parallel): Only run tests in $(TESTS) if non-empty.
24156 (check/no-matching-tests-found): New rule.
24157 * README: Document TESTS makefile variable.
24158
5dd3176f
DE
241592014-02-18 Doug Evans <dje@google.com>
24160
24161 * Makefile.in (check-parallel): rm -rf outputs temp.
24162
0b10be4f
JK
241632014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24164
24165 Fix "ERROR: no fileid for" in the testsuite.
24166 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
24167
85f224e7
DE
241682014-02-12 Doug Evans <dje@google.com>
24169
24170 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
24171 (MISCELLANEOUS): New variable.
24172 (clean): rm -rf $(MISCELLANEOUS).
24173 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
24174 dwp live in the same directory as symlinks, with each symlink pointed
24175 to a differently named file in a different directory.
24176
149b30ff
DE
241772014-02-11 Doug Evans <dje@google.com>
24178
24179 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
24180 of Tcl file commands.
24181
1dfdac32
MK
241822014-02-10 Mark Kettenis <kettenis@gnu.org>
24183
24184 * gdb.threads/step-after-sr-lock.exp: Avoid executing
24185 "kill -SIGUSR1 -1".
24186
aa4fb036
JB
241872014-02-10 Joel Brobecker <brobecker@adacore.com>
24188
24189 * gdb.ada/tick_length_array_enum_idx: New testcase.
24190
ed3ef339
DE
241912014-02-10 Doug Evans <xdje42@gmail.com>
24192
24193 * configure.ac (AC_OUTPUT): Add gdb.guile.
24194 * configure: Regenerate.
24195 * lib/gdb-guile.exp: New file.
24196 * lib/gdb.exp (get_target_charset): New function.
24197 * gdb.base/help.exp: Update expected output from "apropos apropos".
24198 * gdb.guile/Makefile.in: New file.
24199 * gdb.guile/guile.exp: New file.
24200 * gdb.guile/scm-arch.c: New file.
24201 * gdb.guile/scm-arch.exp: New file.
24202 * gdb.guile/scm-block.c: New file.
24203 * gdb.guile/scm-block.exp: New file.
24204 * gdb.guile/scm-breakpoint.c: New file.
24205 * gdb.guile/scm-breakpoint.exp: New file.
24206 * gdb.guile/scm-disasm.c: New file.
24207 * gdb.guile/scm-disasm.exp: New file.
24208 * gdb.guile/scm-equal.c: New file.
24209 * gdb.guile/scm-equal.exp: New file.
24210 * gdb.guile/scm-error.exp: New file.
24211 * gdb.guile/scm-error.scm: New file.
24212 * gdb.guile/scm-frame-args.c: New file.
24213 * gdb.guile/scm-frame-args.exp: New file.
24214 * gdb.guile/scm-frame-args.scm: New file.
24215 * gdb.guile/scm-frame-inline.c: New file.
24216 * gdb.guile/scm-frame-inline.exp: New file.
24217 * gdb.guile/scm-frame.c: New file.
24218 * gdb.guile/scm-frame.exp: New file.
24219 * gdb.guile/scm-generics.exp: New file.
24220 * gdb.guile/scm-gsmob.exp: New file.
24221 * gdb.guile/scm-iterator.c: New file.
24222 * gdb.guile/scm-iterator.exp: New file.
24223 * gdb.guile/scm-math.c: New file.
24224 * gdb.guile/scm-math.exp: New file.
24225 * gdb.guile/scm-objfile-script-gdb.in: New file.
24226 * gdb.guile/scm-objfile-script.c: New file.
24227 * gdb.guile/scm-objfile-script.exp: New file.
24228 * gdb.guile/scm-objfile.c: New file.
24229 * gdb.guile/scm-objfile.exp: New file.
24230 * gdb.guile/scm-ports.exp: New file.
24231 * gdb.guile/scm-pretty-print.c: New file.
24232 * gdb.guile/scm-pretty-print.exp: New file.
24233 * gdb.guile/scm-pretty-print.scm: New file.
24234 * gdb.guile/scm-section-script.c: New file.
24235 * gdb.guile/scm-section-script.exp: New file.
24236 * gdb.guile/scm-section-script.scm: New file.
24237 * gdb.guile/scm-symbol.c: New file.
24238 * gdb.guile/scm-symbol.exp: New file.
24239 * gdb.guile/scm-symtab-2.c: New file.
24240 * gdb.guile/scm-symtab.c: New file.
24241 * gdb.guile/scm-symtab.exp: New file.
24242 * gdb.guile/scm-type.c: New file.
24243 * gdb.guile/scm-type.exp: New file.
24244 * gdb.guile/scm-value-cc.cc: New file.
24245 * gdb.guile/scm-value-cc.exp: New file.
24246 * gdb.guile/scm-value.c: New file.
24247 * gdb.guile/scm-value.exp: New file.
24248 * gdb.guile/source2.scm: New file.
24249 * gdb.guile/types-module.cc: New file.
24250 * gdb.guile/types-module.exp: New file.
24251
7026a7c1
YQ
242522014-02-10 Yao Qi <yao@codesourcery.com>
24253
24254 PR testsuite/16543
24255 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
24256 * configure: Regenerated.
24257 * Makefile.in: New file.
24258
6c466447
AS
242592014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24260
24261 * gdb.python/py-framefilter.exp: Fix typo.
24262
6e854735
YQ
242632014-02-08 Yao Qi <yao@codesourcery.com>
24264
24265 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24266 that no =breakpoint-modified is emitted when breakpoints are
24267 modified through MI commands.
24268
d137e6dc
PA
242692014-02-07 Pedro Alves <pedro@codesourcery.com>
24270 Pedro Alves <palves@redhat.com>
24271
24272 * gdb.threads/step-after-sr-lock.c: New file.
24273 * gdb.threads/step-after-sr-lock.exp: New file.
24274
b5ee5a50
PA
242752014-02-07 Pedro Alves <palves@redhat.com>
24276
24277 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24278
3c77faf3
JK
242792014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24280
24281 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24282 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24283
6dddc817
DE
242842014-02-06 Doug Evans <xdje42@gmail.com>
24285
24286 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24287 output.
24288
24289 * gdb.gdb/python-interrupts.exp: New file.
24290
de7b2893
YQ
242912014-02-05 Yao Qi <yao@codesourcery.com>
24292
24293 * gdb.trace/report.exp (use_collected_data): Test the output
24294 of "info threads" and "info inferiors".
24295
66d032ac
YQ
242962014-02-05 Yao Qi <yao@codesourcery.com>
24297
24298 Revert this patch:
24299
24300 2013-05-24 Yao Qi <yao@codesourcery.com>
24301
24302 * gdb.trace/tfile.exp: Test inferior and thread.
24303
591a12a1
UW
243042014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24305
24306 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24307 on a function.
24308 * gdb.base/step-bt.c: Call hello via function pointer to make
24309 sure its first instruction is executed on powerpc64le-linux.
24310
0ff3e01f
UW
243112014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24312
24313 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24314
084ee545
UW
243152014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24316
24317 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24318 of the test patterns for use on little-endian systems.
24319
6ed14ff3
UW
243202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24321
24322 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24323 (decimal_vector): Fix for little-endian.
24324
401e27fd
JM
243252014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24326
24327 * gdb.arch/sparc-sysstep.exp: New file.
24328 * gdb.arch/sparc-sysstep.c: Likewise.
24329
24330 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24331
8b924729
EBM
243322014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24333
24334 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24335
fb151210
JB
243362014-01-23 Tom Tromey <tromey@redhat.com>
24337
24338 * gdb.ada/array_char_idx: New testcase.
24339
0740f8d8
TT
243402014-01-23 Tom Tromey <tromey@redhat.com>
24341
24342 PR python/16487:
24343 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24344 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24345 classes.
24346
21909fa1
TT
243472014-01-23 Tom Tromey <tromey@redhat.com>
24348
24349 PR python/16491:
24350 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24351 string from an inferior frame.
24352 * gdb.python/py-framefilter-mi.exp: Update.
24353
87ce2a04
DE
243542014-01-22 Doug Evans <dje@google.com>
24355
24356 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24357
237b092b
AA
243582014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24359
24360 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24361
d674a709
AA
243622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24363
24364 * gdb.trace/entry-values.exp: Remove excess space character from
24365 regex patterns. Handle s390 call instruction.
24366
20fa3390
AA
243672014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24368
24369 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24370 define "*_start" label. Make "name" static.
24371 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24372 ${name} by references to ${name}_start.
24373
78466714
AA
243742014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24375
24376 * gdb.base/info-macros.exp: Remove "debug" from the compile
24377 options.
24378
ec9f644a
IB
243792014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24380
24381 * gdb.dlang/demangle.exp: New file.
24382
94b1b47e
IB
243832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24384
24385 * gdb.dlang/primitive-types.exp: New file.
24386
7f420862
IB
243872014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24388
24389 * configure.ac: Create gdb.dlang/Makefile.
24390 * configure: Regenerate.
24391 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24392 * gdb.dlang/Makefile.in: New file.
24393 * lib/d-support.exp: New file.
24394 * lib/gdb.exp (skip_d_tests): New proc.
24395
52834460
MM
243962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24397
24398 * gdb.btrace/delta.exp: Check reverse stepi.
24399 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24400 * gdb.btrace/finish.exp: New.
24401 * gdb.btrace/next.exp: New.
24402 * gdb.btrace/nexti.exp: New.
24403 * gdb.btrace/record_goto.c: Add comments.
24404 * gdb.btrace/step.exp: New.
24405 * gdb.btrace/stepi.exp: New.
24406 * gdb.btrace/multi-thread-step.c: New.
24407 * gdb.btrace/multi-thread-step.exp: New.
24408 * gdb.btrace/rn-dl-bind.c: New.
24409 * gdb.btrace/rn-dl-bind.exp: New.
24410 * gdb.btrace/data.c: New.
24411 * gdb.btrace/data.exp: New.
24412 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24413
6e07b1d2
MM
244142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24415
24416 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24417 * gdb.btrace/exception.exp: Update.
24418 * gdb.btrace/instruction_history.exp: Update.
24419 * gdb.btrace/record_goto.exp: Update.
24420 * gdb.btrace/tailcall.exp: Update.
24421 * gdb.btrace/unknown_functions.exp: Update.
24422 * gdb.btrace/delta.exp: New.
24423
0b722aec
MM
244242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24425
24426 * gdb.btrace/record_goto.exp: Add backtrace test.
24427 * gdb.btrace/tailcall.exp: Add backtrace test.
24428
066ce621
MM
244292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24430
24431 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24432 * gdb.btrace/record_goto.c: New.
24433 * gdb.btrace/record_goto.exp: New.
24434 * gdb.btrace/x86-record_goto.S: New.
24435
0688d04e
MM
244362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24437
24438 * gdb.btrace/function_call_history.exp: Update tests.
24439 * gdb.btrace/instruction_history.exp: Update tests.
24440
8710b709
MM
244412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24442
24443 * gdb.btrace/function_call_history.exp: Fix expected field
24444 order for "record function-call-history".
24445 Add new tests for "record function-call-history /c".
24446 * gdb.btrace/exception.cc: New.
24447 * gdb.btrace/exception.exp: New.
24448 * gdb.btrace/tailcall.exp: New.
24449 * gdb.btrace/x86-tailcall.S: New.
24450 * gdb.btrace/x86-tailcall.c: New.
24451 * gdb.btrace/unknown_functions.c: New.
24452 * gdb.btrace/unknown_functions.exp: New.
24453 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24454
5de9129b
MM
244552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24456
24457 * gdb.btrace/instruction_history.exp: Update.
24458 * gdb.btrace/function_call_history.exp: Update.
24459
23a7fe75
MM
244602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24461
24462 * gdb.btrace/function_call_history.exp: Fix expected function
24463 trace.
24464 * gdb.btrace/instruction_history.exp: Initialize traced.
24465 Remove traced_functions.
24466
724c7dd8
MM
244672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24468
24469 * gdb.btrace/function_call_history.exp: Update
24470 * gdb.btrace/instruction_history.exp: Update.
24471
6d78d93b
MM
244722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24473
24474 * gdb.btrace/enable.exp: Update expected text.
24475
93a360cc
OJ
244762014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24477
24478 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24479 bytes.
24480
3772b53f
MR
244812014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24482
24483 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24484
596662fa
OJ
244852014-01-15 Omair Javaid <omair.javaid@linaro.org>
24486
24487 * lib/gdb.exp (supports_process_record): Return true for
24488 arm*-linux*. (supports_reverse): Likewise.
24489
b5b08fb4
SC
244902014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24491
24492 PR python/15464
24493 PR python/16113
24494 * gdb.python/py-type.c: Enhance test case.
24495 * gdb.python/py-value-cc.cc: Likewise
24496 * gdb.python/py-type.exp: Add new tests.
24497 * gdb.python/py-value-cc.exp: Likewise
24498
52d7fb13
AA
244992014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24500 Pedro Alves <palves@redhat.com>
24501
24502 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24503 Make "name" extern.
24504 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24505 references to ${name}_start by references to ${name}.
24506
a2cd8cfe
JB
245072014-01-10 Joel Brobecker <brobecker@adacore.com>
24508
24509 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24510
4e23fced
JB
245112014-01-10 Joel Brobecker <brobecker@adacore.com>
24512
24513 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24514
c6a9e42c
PA
245152014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24516 Pedro Alves <palves@redhat.com>
24517
24518 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 24519 mi_gdb_target_load.
c6a9e42c 24520
b7ea362b
PA
245212014-01-08 Pedro Alves <palves@redhat.com>
24522
24523 * gdb.threads/reconnect-signal.c: New file.
24524 * gdb.threads/reconnect-signal.exp: New file.
24525
5e3f4fab
EBM
245262014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24527
24528 * gdb.base/source-dir.exp: New file.
24529
79301218
JB
245302014-01-07 Joel Brobecker <brobecker@adacore.com>
24531
24532 * gdb.ada/mi_interface: New testcase.
24533
8e355c5d
JB
245342014-01-07 Joel Brobecker <brobecker@adacore.com>
24535
24536 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24537 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24538 gdb.ada/pp-rec-component/pck.ads: New files.
24539
c0d48811
JB
245402014-01-07 Joel Brobecker <brobecker@adacore.com>
24541
24542 * gdb.python/py-pp-integral.c: New file.
24543 * gdb.python/py-pp-integral.py: New file.
24544 * gdb.python/py-pp-integral.exp: New file.
24545
17b609c3 24546For older changes see ChangeLog-1993-2013.
c906108c 24547\f
8d8cb839
EZ
24548;; Local Variables:
24549;; mode: change-log
24550;; left-margin: 8
24551;; fill-column: 74
24552;; version-control: never
24553;; End:
902f2ccb 24554
3666a048 24555 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
24556 Copying and distribution of this file, with or without modification,
24557 are permitted provided the copyright notice and this notice are preserved.