]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add PROP_VARIABLE_NAME
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
386de171
TT
12021-06-04 Tom Tromey <tromey@adacore.com>
2
3 * gdb.ada/array_of_symbolic_length.exp: New file.
4 * gdb.ada/array_of_symbolic_length/foo.adb: New file.
5 * gdb.ada/array_of_symbolic_length/gl.adb: New file.
6 * gdb.ada/array_of_symbolic_length/gl.ads: New file.
7 * gdb.ada/array_of_symbolic_length/pck.adb: New file.
8 * gdb.ada/array_of_symbolic_length/pck.ads: New file.
9
df5bc734
MH
102021-06-03 Magne Hov <mhov@undo.io>
11
12 PR python/27841
13 * gdb.python/py-events.exp: Extend inferior exit tests.
14 * gdb.python/py-events.py: Print inferior exit PID.
15
6ac5237c
HD
162021-06-03 Hannes Domani <ssbssa@yahoo.de>
17
18 * gdb.python/py-symbol.exp: Test symbol constants.
19
60be64b3
BE
202021-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
21
22 * gdb.dwarf2/per-bfd-sharing.exp: Fix temp-dir leakage.
23
170960e8
CL
242021-06-02 Carl Love <cel@us.ibm.com>
25
26 * gdb.threads/threadapply.c: Add global mybarrier.
27 (main): Add pthread_barrier_init.
28 (thread_function): Replace while loop with myp increment and
29 pthread_barrier_wait.
30
f2d42111
AB
312021-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
32
33 * lib/gdb.exp (gdb_compile): Only add the -J option when using a
34 gcc based Fortran compiler, for example, flang does not support
35 this option.
36
8a222a6b
AB
372021-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
38
39 * lib/fortran.exp (fortran_int8): Escape '*' in pattern.
40
2adf1781
TT
412021-06-01 Tom Tromey <tromey@adacore.com>
42
43 * Makefile.in (all): Don't print anything.
44 ($(abs_builddir)/site.exp site.exp): Use $(ECHO_GEN).
45 (expect-read1): Likewise.
46 (read1.so): Use $(ECHO_CC).
47 Include silent-rules.mk.
48
f99d1d37
TT
492021-06-01 Tom Tromey <tromey@adacore.com>
50
51 * aclocal.m4, configure.ac, configure: Remove.
52 * Makefile.in (EXTRA_RULES): Remove.
53 ($(abs_builddir)/site.exp site.exp): Don't depend on
54 config.status.
55 (distclean maintainer-clean realclean, Makefile): Update.
56 (config.status): Remove target.
57 (lib/pdtrace): New target.
58 (all): Don't depend on EXTRA_RULES.
59 (check-read1): Depend on read1.so, expect-read1.
60
17d305ef
TV
612021-06-01 Tom de Vries <tdevries@suse.de>
62
63 PR symtab/26096
64 * gdb.cp/cold-clone.cc: New test.
65 * gdb.cp/cold-clone.exp: New file.
66
b97eff8f
AB
672021-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
68
69 * gdb.gdb/unittest.c: New file.
70 * gdb.gdb/unittest.exp: Run with and without a binary file loaded
71 into GDB.
72
b4b3e2de
AB
732021-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
74
75 * gdb.base/premature-dummy-frame-removal.c: New file.
76 * gdb.base/premature-dummy-frame-removal.exp: New file.
77 * gdb.base/premature-dummy-frame-removal.py: New file.
78
d5a6313e
SM
792021-05-27 Simon Marchi <simon.marchi@polymtl.ca>
80
81 * gdb.base/reverse-init-functions.exp: New.
82
248f7165
TV
832021-05-27 Tom de Vries <tdevries@suse.de>
84
85 PR symtab/27919
86 PR testsuite/27920
87 * gdb.dwarf2/dw2-dummy-cu.exp: Use maint expand-symtabs instead of
88 -readnow.
89
e453275c
TV
902021-05-27 Tom de Vries <tdevries@suse.de>
91
92 PR testsuite/27921
93 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Rename to ...
94 (local_add_gdb_index): ... this.
95
778ae9cc
TV
962021-05-21 Tom de Vries <tdevries@suse.de>
97
98 PR testsuite/25047
99 * boards/cc-with-gnu-debuglink.exp: New file.
100
ca43e660
TBA
1012021-05-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
102
103 * gdb.dwarf2/dw2-inline-with-lexical-scope.c (func): Replace
104 a dead code with an assignment to a global var. Fix a
105 whitespacing problem around an assignment operator.
106
7f2b8718
WS
1072021-05-19 Will Schmidt <will_schmidt@vnet.ibm.com>
108
109 * gdb.arch/powerpc64-prologue.c: New test to exercise prologues
110 for the powerpc64 LE target.
111 * gdb.arch/powerpc-prologue.exp: Test Harness.
112
d9211df2
AB
1132021-05-19 Andrew Burgess <andrew.burgess@embecosm.com>
114
115 * gdb.guile/scm-pretty-print.exp: Add test names to resolve
116 duplicate test names.
117
2129a942
TV
1182021-05-19 Tom de Vries <tdevries@suse.de>
119
120 * gdb.base/info-types.exp.tcl: Scan info types output line-by-line.
121
5277208d
SM
1222021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
123
124 * gdb.python/py-framefilter-gdb.py.in: Rename to:
125 * gdb.python/py-framefilter-gdb.py: ... this.
126 * gdb.python/py-framefilter-invalidarg-gdb.py.in: Rename to:
127 * gdb.python/py-framefilter-invalidarg-gdb.py: ... this.
128
91e159e9
SM
1292021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
130
131 * gdb.python/py-framefilter-gdb.py.in: Re-format.
132 * gdb.python/py-framefilter-invalidarg-gdb.py.in: Re-format.
133
467f8eb2
BK
1342021-05-17 Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>
135
136 * gdb.base/class-allocatable-array.exp: Modified test for clang.
137
ea11a98d
WP
1382021-05-16 Weimin Pan <weimin.pan@oracle.com>
139
140 * gdb.ctf/funcreturn.exp: New file.
141 * gdb.ctf/whatis.c: Copy from gdb.base.
142
887e7158
TT
1432021-05-14 Tom Tromey <tom@tromey.com>
144
145 * gdb.rust/pp.exp: New file.
146 * gdb.rust/pp.py: New file.
147 * gdb.rust/pp.rs: New file.
148
f8eec398
BE
1492021-05-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
150
151 * gdb.base/index-cache.exp: Cleanup $cache_dir/*.gdb-index and
152 remove the directory.
153 * gdb.dwarf2/per-bfd-sharing.exp: Likewise.
154
55789354
TBA
1552021-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
156
157 * gdb.python/py-inferior.exp: Add test cases for 'connection_num'.
158
ecf25064
KC
1592021-05-14 Kent Cheung <kent.cheung@arm.com>
160 Andrew Burgess <andrew.burgess@embecosm.com>
161
162 * gdb.python/py-format-string.c: Added a variable to test.
163 * gdb.python/py-format-string.exp: Check string representation is
164 printed at appropriate max_depth settings.
165 * gdb.python/py-nested-maps.exp: Likewise.
166 * gdb.guile/scm-pretty-print.exp: Add additional tests.
167
bab9eb49 1682021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
4a0a0bd2
AB
169
170 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Give some tests
171 unique names, also wrap proc body in with_test_prefix.
172
bab9eb49 1732021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
62f2f198
AB
174
175 * gdb.guile/scm-frame-args.exp: Add with_test_prefix to resolve
176 duplicate test names.
177 * gdb.guile/scm-parameter.exp: Provide test names to avoid
178 duplicate names based on the command being run.
179 * gdb.guile/scm-symbol.exp: Extend test name to make it unique.
180 * gdb.guile/scm-type.exp (restart_gdb): Don't print PASS line when
181 loading a support module.
182 (test_equality): Update test name to match the actual test, making
183 the name unique in the process.
184 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test names
185 to resolve duplicate tests.
186 (test_inferior_function_call): Likewise.
187 (test_subscript_regression): Likewise.
188
bab9eb49 1892021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
5c6f801d
AB
190
191 * lib/guile.exp (gdb_scm_load_file): Use empty test name to
192 silence PASS lines.
193 (gdb_install_guile_module): Likewise.
194
ee35ce82
GB
1952021-05-12 George Barrett <bob@bob131.so>
196
197 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
198 value-const-value.
199
9d4fc61d
GB
2002021-05-12 George Barrett <bob@bob131.so>
201
202 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
203 value-reference-value. Add test for value-rvalue-reference-value.
204
5048549a
TV
2052021-05-11 Tom de Vries <tdevries@suse.de>
206
207 * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs.
208 Add "set debug infrun 1" commented out.
209
2302f963
TV
2102021-05-11 Tom de Vries <tdevries@suse.de>
211
212 * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp.
213
abb894a4
BK
2142021-05-11 Bhuvanendra Kumar <Bhuvanendra.KumarN@amd.com>
215
216 * gdb.fortran/array-element.exp: Breakpoint location is modified.
217
db1f6cd6
LS
2182021-05-10 Lancelot Six <lsix@lancelotsix.com>
219
220 PR gdb/27614
221 * gdb.dwarf2/gdb-add-index-symlink.exp: New test.
222
9344937b
AB
2232021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
224
225 * gdb.guile/guile.exp: Don't use the source directory as a
226 temporary HOME directory.
227
0709cf68
SM
2282021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
229
230 * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
231 parameters.
232
1845e254
AB
2332021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
234
235 * gdb.guile/guile.exp: Add an extra test.
236
a3237c7c
AB
2372021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
238
239 * gdb.base/ptype-offsets.exp: Replace use of send_gdb with
240 gdb_test_no_output.
241
13123da8
SM
2422021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
243
244 * Re-format all Python files using black.
245 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust.
246
0618ecf6
AB
2472021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
248
249 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the
250 watchpoint object before and after registering it with GDB.
251
a7ed4ea6
AB
2522021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
253
254 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to
255 'proc_with_prefix', remove use of 'with_test_prefix', and
256 reindent.
257 (test_bkpt_deletion): Likewise.
258 (test_bkpt_cond_and_cmds): Likewise.
259 (test_bkpt_invisible): Likewise.
260 (test_watchpoints): Likewise.
261 (test_bkpt_internal): Likewise.
262 (test_bkpt_eval_funcs): Likewise.
263 (test_bkpt_registration): Likewise.
264 (test_bkpt_address): Convert to 'proc_with_prefix'.
265 (test_bkpt_probe): Likewise.
266
7ebbaa1c
AB
2672021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
268
269 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test
270 names to avoid duplicates.
271 (test_bkpt_cond_and_cmds): Likewise.
272 (test_bkpt_eval_funcs): Likewise.
273
79aabb73
TBA
2742021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
275
276 * gdb.mi/mi-break.exp (test_forced_conditions): Add a test
277 for the -break-condition command's "--force" flag.
278
10e578d7
TBA
2792021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
280
281 * gdb.mi/mi-break.exp (test_forced_conditions): New proc that
282 is called by the test.
283
2f000c80
TV
2842021-05-05 Tom de Vries <tdevries@suse.de>
285
286 * gdb.threads/detach-step-over.exp: Do exp_continue when encountering
287 "Reading symbols" or "Expanding full symbols" lines. Using timeout
288 factor of 2 for attach.
289
09f83f79
TV
2902021-05-05 Tom de Vries <tdevries@suse.de>
291
292 * gdb.threads/fork-plus-threads.exp: Handle "New LWP <n>" and
293 "LWP <n> exited" messages.
294
fa94b3a7
SM
2952021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
296
297 * gdb.python/py-type.exp (test_fields): Test calling fields on
298 an int type.
299
858c8f2c
SM
3002021-05-04 Simon Marchi <simon.marchi@efficios.com>
301
302 * gdb.python/flexible-array-member.exp: Adjust expected range
303 value for member declared with 0 size. Test accessing range
304 tuple through range type.
305
d389a1a7
AB
3062021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
307
308 PR testsuite/27788
309 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
310 expected results when environment variable PYTHONDONTWRITEBYTECODE
311 is set.
312
2869ac4b
TT
3132021-04-30 Tom Tromey <tromey@adacore.com>
314
315 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
316 (Confused_Array): New types.
317 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
318 * gdb.ada/enum_idx_packed.exp: Add new tests.
319
5536f0cc
TV
3202021-04-30 Tom de Vries <tdevries@suse.de>
321
322 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
323 existing timeout factors.
324
7f7f284d
TV
3252021-04-30 Tom de Vries <tdevries@suse.de>
326
327 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
328
3f334074
TV
3292021-04-29 Tom de Vries <tdevries@suse.de>
330
331 PR testsuite/27786
332 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
333 remotetimeout to 4.
334
db2534b7
TT
3352021-04-28 Tom Tromey <tromey@adacore.com>
336
337 * gdb.ada/null_overload.exp: New file.
338 * gdb.ada/null_overload/foo.adb: New file.
339
edeaceda
AB
3402021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
341
342 * gdb.python/py-startup-opt.exp: New file.
343
b9f90c72
LM
3442021-04-27 Luis Machado <luis.machado@linaro.org>
345
346 * gdb.base/maint.exp: Drop a pattern that is not needed.
347 * lib/gdb.exp (readnow): Match line-by-line.
348
4b62a30d
LM
3492021-04-27 Luis Machado <luis.machado@linaro.org>
350
351 * gdb.xml/tdesc-reload.exp: Pass -lbl.
352
2c473def
MW
3532021-04-27 Michael Weghorn <m.weghorn@posteo.de>
354 Simon Marchi <simon.marchi@polymtl.ca>
355
356 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
357 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
358 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
359 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
360 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
361 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
362
e8b6c1da
TT
3632021-04-26 Tom Tromey <tromey@adacore.com>
364
365 PR gdb/27743:
366 * gdb.dwarf2/imported-unit-bp.exp: New file.
367 * gdb.dwarf2/imported-unit-bp-main.c: New file.
368 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
369
bea3329b
SM
3702021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
371
372 PR gdb/27773
373 * gdb.base/dump.exp: Test dump to non-existent dir.
374
21f91785
LM
3752021-04-26 Luis Machado <luis.machado@linaro.org>
376
377 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
378 comparison.
379
fbb46296
LS
3802021-04-25 Lancelot Six <lsix@lancelotsix.com>
381
382 PR gdb/22640
383 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
384 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
385 changes the default behavior of 'ptype/o'. Update to take into
386 account new horizontal layout.
387 * gdb.rust/simple.exp: Update ptype test to check new horizontal
388 layout.
389 * gdb.rust/union.exp: Same.
390
9fc29955
AB
3912021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
392
393 * gdb.base/info_sources.exp: Add new tests.
394
432ce4cf
TT
3952021-04-22 Tom Tromey <tom@tromey.com>
396
397 * gdb.base/ptype-offsets.cc (struct empty_member): New.
398 (main): Use empty_member.
399 * gdb.base/ptype-offsets.exp: Add new test.
400
a87caa6d
SM
4012021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
402
403 * gdb.python/flexible-array-member.exp: Add check for Python
404 support.
405
e25d6d93
SM
4062021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
407
408 PR gdb/27757
409 * gdb.python/flexible-array-member.c: New test.
410 * gdb.python/flexible-array-member.exp: New test.
411 * gdb.guile/scm-type.exp (test_range): Add test for flexible
412 array member.
413 * gdb.guile/scm-type.c (struct flex_member): New.
414 (main): Use it.
415
22f80c0f
TT
4162021-04-22 Tom Tromey <tom@tromey.com>
417
418 * gdb.rust/modules.exp: Add checks for syntax errors.
419 * gdb.rust/expr.exp: Add checks for syntax errors.
420 * gdb.rust/simple.exp: Add checks for syntax errors.
421
6d5702a5
CL
4222021-04-21 Carl Love <cel@us.ibm.com>
423
424 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
425 Update expected string for gdb_test "bt".
426
427 * lib/valgrind.exp: Add set remotetimeout 3.
428 Increase vgdb wait from 1 to 2.
429 Add max-invoke-ms option to vgdb command line.
430
10a636cc
TBA
4312021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
432
433 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
434 conditions.
435
98e713ab
SM
4362021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
437 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
438
439 * gdb.mi/mi-break.exp: Fix the duplicate test names.
440
525174e8
FW
4412021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
442
443 * gdb.base/address_space_qualifier.exp: New file.
444
392e0bcc
TT
4452021-04-19 Tom Tromey <tromey@adacore.com>
446
447 PR gdb/27742:
448 * gdb.opt/inline-locals.exp: Update kfail patterns.
449
da314dd3
TT
4502021-04-17 Tom Tromey <tom@tromey.com>
451
452 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
453
3cbc7ac3
TT
4542021-04-16 Tom Tromey <tom@tromey.com>
455
456 * gdb.rust/simple.exp: Change error text.
457 * gdb.rust/expr.exp: Change error text.
458
458620aa
TT
4592021-04-16 Tom Tromey <tom@tromey.com>
460
461 * gdb.rust/simple.exp: Add parens to 'as' test.
462
321d0cd7
SM
4632021-04-16 Simon Marchi <simon.marchi@efficios.com>
464
465 * boards/simavr.exp: Set debug_flags.
466
1b6b755e
LM
4672021-04-16 Luis Machado <luis.machado@linaro.org>
468
469 * gdb.dwarf2/dw2-bfloat16.exp: New file.
470
fd5c30cd
AB
4712021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
472
473 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
474 including a path in the test name.
475
41f14dc8
SM
4762021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
477
478 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
479
a15a276b
TT
4802021-04-15 Tom Tromey <tromey@adacore.com>
481
482 * gdb.dwarf2/arr-stride.exp: Add test.
483
5809fbf2
TT
4842021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
485
486 * gdb.base/startup-file.exp: Add more tests.
487
92e4e97a
AB
4882021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
489
490 PR cli/25956
491 * gdb.base/early-init-file.c: New file.
492 * gdb.base/early-init-file.exp: New file.
493 * lib/gdb-utils.exp (style): Handle style 'none'.
494
fcc99c42
TBA
4952021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
496
497 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
498 @DW_INL_declared_inlined for the inline attribute.
499
34dc0f95
TBA
5002021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
501
502 * gdb.opt/inline-locals.c (scoped): New function.
503 (main): Call 'scoped'.
504 * gdb.opt/inline-locals.exp: Update with "info locals" tests
505 for scoped variables.
506 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
507 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
508
ac4d323e
TBA
5092021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
510
511 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
512
6b142048
WS
5132021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
514
515 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
516
82d9b280 5172021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
c8a37944
WS
518
519 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
520 non-relative plxv instructions.
521 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
522
5232021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
82d9b280 524
e3d528d7
WS
525 PR gdb/27525
526 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
527 exercise single-stepping over subpcis,lnia,addpcis instructions
528 with displacement.
529 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
530 of addpcis/lnia/subpcis instructions.
531 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
532 exercise single-stepping over lnia instructions with displacement.
533 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
534 lnia instructions.
535
5362021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
537
82d9b280
WS
538 * gdb.arch/powerpc-power10.s: New test for instructions.
539 * gdb.arch/powerpc-power10.exp: Harness to run the test.
540
6ba4cb84
CL
5412021-4-12 Carl Love <cel@us.ibm.com>
542
543 * gdb.arch/vsx-vsr-float128.c: New test file.
544 * gdb.arch/vsx-vsr-float128.exp: New expect file.
545
9d8f3022
MM
5462021-04-12 Markus Metzger <markus.t.metzger@intel.com>
547
548 * gdb.btrace/reconnect.exp: Relax expected stepi output.
549
dc2b480f
WP
5502021-04-07 Weimin Pan <weimin.pan@oracle.com>
551
552 * gdb.base/ctf-ptype.c: Add struct link containing a forward
553 reference type.
554 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
555
0a703a4c
AB
5562021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
557
558 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
559 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
560
30ab3586
AB
5612021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
562
563 * gdb.cp/rvalue-ref-params.cc (f3): New function.
564 (f4): New function.
565 (global_int): New global variable.
566 (global_float): Likeiwse.
567 (main): Call both new functions.
568 * gdb.cp/rvalue-ref-params.exp: Add new tests.
569
56d467f4
CT
5702021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
571
572 * gdb.dwarf2/fission-relative-dwo.c: New file.
573 * gdb.dwarf2/fission-relative-dwo.exp: New file.
574
61dee722
AB
5752021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
576
577 * gdb.dwarf2/fission-absolute-dwo.c: New file.
578 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
579 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
580 instead of build_executable_from_fission_assembler.
581 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
582 * gdb.dwarf2/fission-loclists.exp: Likewise.
583
584 * gdb.dwarf2/fission-multi-cu.S: Delete file.
585 * gdb.dwarf2/fission-multi-cu.c: New file based on old
586 fission-multi-cu1.c and fission-multi-cu2.c files.
587 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
588 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
589 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
590 * gdb.dwarf2/fission-reread.exp: Likewise.
591 * lib/dwarf.exp (extract_dwo_information): New proc.
592 (strip_dwo_information): New proc.
593 (build_executable_and_dwo_files): New proc.
594 (build_executable_from_fission_assembler): Delete.
595 (Dwarf::_debug_addr_index): New variable.
596 (Dwarf::_cu_is_fission): New variable.
597 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
598 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
599 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
600 if this is a fission CU.
601 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
602 (Dwarf::debug_addr_label): New proc.
603 (Dwarf::cu): Initialise _cu_is_fission.
604 (Dwarf::tu): Likewise.
605 (Dwarf::assemble): Initialise _debug_addr_index.
606
1fd999d9
AB
6072021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
608
609 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
610
79c02443
AB
6112021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
612
613 * gdb.python/py-parameter.exp: Add test for reading data-directory
614 using gdb.parameter API.
615
340d00fb
TV
6162021-04-06 Tom de Vries <tdevries@suse.de>
617
618 PR breakpoints/25884
619 * gdb.opt/inline-cmds.exp: Remove kfail.
620
043bcbaf
TV
6212021-04-06 Tom de Vries <tdevries@suse.de>
622
623 PR testsuite/27691
624 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
625 file "".
626
ac628a06
EB
6272021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
628
629 * lib/pdtrace.in: Fix obvious typo.
630
3f49d080
TT
6312021-03-31 Tom Tromey <tromey@adacore.com>
632
633 * lib/dwarf.exp (Dwarf::_get_args): New proc.
634 (Dwarf::_location): Use it.
635
cfcbd506
TV
6362021-03-31 Tom de Vries <tdevries@suse.de>
637
638 PR testsuite/27667
639 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
640
8a91fbdf
SM
6412021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
642
643 PR gdb/27541
644 * gdb.base/index-cache-load-twice.exp: Remove.
645 * gdb.base/index-cache-load-twice.c: Remove.
646 * gdb.dwarf2/per-bfd-sharing.exp: New.
647 * gdb.dwarf2/per-bfd-sharing.c: New.
648
b953e703
TV
6492021-03-30 Tom de Vries <tdevries@suse.de>
650
651 PR testsuite/27604
652 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
653
aa33ea68
TBA
6542021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
655
656 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
657 the infinite loop to avoid a Clang bug.
658
99066782
WS
6592021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
660
661 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
662 names for uniqueness.
663 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
664 uniqueness.
665
b1f3973b
AB
6662021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
667
668 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
669 member.
670 (make_container): Initialise is_array_p.
671 * gdb.python/py-prettyprint.exp: Add new tests.
672 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
673 Check is_array_p and possibly return 'array'.
674
3c2dcf90
AB
6752021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
676
677 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
678 * gdb.cp/casts.exp: Give tests unique names.
679 * gdb.cp/filename.exp: Likewise.
680 * gdb.cp/gdb2495.exp: Likewise.
681 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
682 * gdb.cp/misc.exp: Rename test to make it unique.
683 * gdb.cp/nsnested.exp: Give tests unique names.
684 * gdb.cp/ovldbreak.exp: Likewise.
685 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
686 being tested. This also removes the duplicate test name.
687 * gdb.cp/ref-types.exp: Likewise.
688 * gdb.cp/temargs.exp: Likewise.
689
6b78370d
AB
6902021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
691
692 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
693 square brackets in test.
694
baecbb3d
AB
6952021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
696
697 * gdb.cp/maint.exp (test_first_component): Run more tests with a
698 variable number of spaces, this removes the duplicate testing of
699 'operator ->' which existed before.
700
6e892297
AB
7012021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
702
703 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
704 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
705 duplicates, and also to avoid having a string inside parentheses
706 at the end of test names.
707
ac45a6ca
AB
7082021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
709
710 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
711 Avoid repeated uses of 'runto', and instread just progress once
712 through the test stopping at different breakpoints. Give comments
713 a capital letter and full stop. Give duplicate tests unique names.
714
323fd5b9
PA
7152021-03-25 Pedro Alves <pedro@palves.net>
716
717 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
718 "target_non_stop" parameter and use it.
719 (top level): Add "maint set target-non-stop on/off" testing axis.
720
ba3c61fc
AB
7212021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
722
723 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
724 gdb_test_multiple.
725
bf0aecce
LM
7262021-03-24 Luis Machado <luis.machado@linaro.org>
727
728 * gdb.arch/aarch64-mte.c: New file.
729 * gdb.arch/aarch64-mte.exp: New test.
730 * gdb.base/memtag.c: New file.
731 * gdb.base/memtag.exp: New test.
732 * lib/gdb.exp (supports_memtag): New function.
733
bef382e6
LM
7342021-03-24 Luis Machado <luis.machado@linaro.org>
735
736 * gdb.base/options.exp: Adjust for new print options.
737 * gdb.base/with.exp: Likewise.
738
702cf3f5
AB
7392021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
740
741 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
742 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
743
1e7fcccb
AB
7442021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
745
746 * gdb.dwarf2/dw2-using-debug-str.c: New file.
747 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
748 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
749 not .debug_string.
750
4829711b
TT
7512021-03-20 Tom Tromey <tom@tromey.com>
752
753 * gdb.base/maint.exp: Update "maint print statistics" output.
754
e0d6d274
KB
7552021-03-19 Kevin Buettner <kevinb@redhat.com>
756
757 * lib/gdbserver-support.exp (gdbserver_exit): Use the
758 "-nowait" flag when waiting for gdbserver to exit.
759
a088215a
SST
7602021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
761
762 * gdb.base/info-macros.exp: Append -fdebug-macro to
763 additional_flags for clang.
764 * gdb.base/macscp.exp: Likewise.
765 * gdb.base/style.exp: Likewise.
766 * gdb.linespec/macro-relative.exp: Likewise.
767
d0c99a23
SM
7682021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
769 Pedro Alves <pedro@palves.net>
770
771 * gdb.base/run-attach-while-running.exp: New.
772 * gdb.base/run-attach-while-running.c: New.
773
7807d76a
AB
7742021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
775
776 * gdb.python/py-framefilter-addr.c: New file.
777 * gdb.python/py-framefilter-addr.exp: New file.
778 * gdb.python/py-framefilter-addr.py: New file.
779
f302f9e2
AB
7802021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
781
782 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
783 Make use of $gdb_test_name instead of creating a separate $test
784 variable.
785 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
786 adding a '($name)' at the end of each test. This also catches the
787 one place where '($name)' was missing, and so caused a duplicate
788 test name.
789 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
790 duplicate test names based on the command being tested.
791 * gdb.threads/signal-command-multiple-signals-pending.exp:
792 Likewise.
793 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
794 avoid duplicate testnames when a test script uses this proc and
795 also gdb_compile_pthreads.
796 * lib/prelink-support.exp (build_executable_own_libs): Use
797 with_test_prefix to avoid duplicate test names when we call
798 build_executable twice.
799
6813ceb0
TT
8002021-03-15 Tom Tromey <tromey@adacore.com>
801
802 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
803
3b5c4de0
TT
8042021-03-15 Tom Tromey <tromey@adacore.com>
805
806 * gdb.ada/varsize_limit.exp: Add new test.
807 * gdb.ada/varsize_limit/vsizelim.adb: Update.
808
c04da66c
TT
8092021-03-15 Tom Tromey <tromey@adacore.com>
810
811 * gdb.ada/operator_call/twovecs.ads: New file.
812 * gdb.ada/operator_call/twovecs.adb: New file.
813 * gdb.ada/operator_call/opcall.adb: New file.
814 * gdb.ada/operator_call.exp: New file.
815
1ac74522
TT
8162021-03-15 Tom Tromey <tromey@adacore.com>
817
818 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
819 * gdb.ada/enums_overload/enums_overload.ads: New file.
820 * gdb.ada/enums_overload/enums_overload.adb: New file.
821 * gdb.ada/enums_overload.exp: New file.
822
207582c0
TT
8232021-03-15 Tom Tromey <tromey@adacore.com>
824
825 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
826 Declare.
827 * gdb.ada/assign_arr/target_wrapper.adb: New file.
828 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
829 Call Put.
830 * gdb.ada/assign_arr.exp: Update.
831
ba6a0ef3
AB
8322021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
833
834 * gdb.python/py-auto-load-chaining-f1.c: New file.
835 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
836 * gdb.python/py-auto-load-chaining-f2.c: New file.
837 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
838 * gdb.python/py-auto-load-chaining.c: New file.
839 * gdb.python/py-auto-load-chaining.exp: New file.
840
7f99d636
AB
8412021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
842
843 * gdb.python/py-bad-printers.exp: Extend test names to make them
844 unique.
845 * gdb.python/py-events.exp: Likewise.
846 * gdb.python/py-finish-breakpoint2.exp: Likewise.
847 * gdb.python/py-frame-inline.exp: Likewise.
848 * gdb.python/py-frame.exp: Likewise.
849 * gdb.python/py-infthread.exp: Likewise.
850
323b848c
AB
8512021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
852
853 * gdb.python/py-value-cc.exp: Remove a duplicate test.
854
8a4efb36
AB
8552021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
856
857 * gdb.python/lib-types.exp: Update the test to check the correct
858 python variable.
859
66bb1dd9
AB
8602021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
861
862 * gdb.python/py-explore-cc.exp: Extend test names to make them
863 unique.
864
0125fabc
AB
8652021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
866
867 * gdb.python/py-lookup-type.exp: Remove duplicate test.
868
79d04157
AB
8692021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
870
871 * gdb.python/py-symtab.exp: Extend test names to make them
872 unique.
873
e3e48d8f
AB
8742021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
875
876 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
877 names unique.
878
2cb60e74
AB
8792021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
880
881 * gdb.python/py-block.exp: Give tests unique names.
882
8b12ded4
AB
8832021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
884
885 * gdb.python/py-pp-maint.exp: Extend test names to make them
886 unique.
887
93598ea4
AB
8882021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
889
890 * gdb.python/py-explore.exp: Add with_test_prefix to make test
891 names unique.
892
f35d6971
AB
8932021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
894
895 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
896
22d3e7f6
AB
8972021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
898
899 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
900 names unique.
901
5fc5a1b8
AB
9022021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
903
904 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
905 test names unique.
906
e3141a4d
AB
9072021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
908
909 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
910 unique.
911
ccdc02ed
TT
9122021-03-09 Tom Tromey <tromey@adacore.com>
913
914 * gdb.base/cast-call.exp: New file.
915 * gdb.base/cast-call.c: New file.
916
fbb1aace
AB
9172021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
918
919 * gdb.gdb/python-helper.exp: New file.
920
611aa09d
FW
9212020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
922
923 * gdb.fortran/intrinsics.exp: Add LOC tests.
924
eef32f59
AB
9252021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
926
927 * gdb.fortran/shape.exp: New file.
928 * gdb.fortran/shape.f90: New file.
929
7ba155b3
AB
9302021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
931
932 * gdb.fortran/size.exp: New file.
933 * gdb.fortran/size.f90: New file.
934
e14816a8
AB
9352021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
936
937 * gdb.fortran/rank.exp: New file.
938 * gdb.fortran/rank.f90: New file.
939
d308ba78
TT
9402021-03-08 Tom Tromey <tom@tromey.com>
941
942 * gdb.fortran/debug-expr.exp: Update tests.
943
d182f279
TT
9442021-03-08 Tom Tromey <tom@tromey.com>
945
946 * gdb.base/debug-expr.exp: Update expected dump output.
947
a7308ce0
TT
9482021-03-06 Tom Tromey <tom@tromey.com>
949
950 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
951 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
952 * gdb.dwarf2/dwznolink.exp: New file.
953
b0a8c2ff
MW
9542021-03-05 Mark Wielaard <mark@klomp.org>
955
956 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
957
844be3f2
WP
9582021-03-06 Weimin Pan <weimin.pan@oracle.com>
959
960 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
961
82333781
MM
9622021-03-03 Markus Metzger <markus.t.metzger@intel.com>
963
964 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
965
32c52999
MM
9662021-03-03 Markus Metzger <markus.t.metzger@intel.com>
967
968 * gdb.btrace/non-stop.exp: Adjust expected source lines.
969
26ed1478
MM
9702021-03-03 Markus Metzger <markus.t.metzger@intel.com>
971
972 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
973
d2c5f24e
MM
9742021-03-03 Markus Metzger <markus.t.metzger@intel.com>
975
976 * gdb.btrace/exception.cc (main): Update test source.
977 * gdb.btrace/exception.exp: Update patterns.
978 * gdb.btrace/function_call_history.exp: Likewise.
979
c7c7253a
MM
9802021-03-03 Markus Metzger <markus.t.metzger@intel.com>
981
982 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
983
f0778fc1
MM
9842021-03-03 Markus Metzger <markus.t.metzger@intel.com>
985
986 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
987 reverse-continue to breakpoint.
988
e71dbd03
MM
9892021-03-03 Markus Metzger <markus.t.metzger@intel.com>
990
991 * gdb.btrace/delta.exp: Remove instruction-history and
992 function-call-history checks.
993
b93a3ed0
MM
9942021-03-03 Markus Metzger <markus.t.metzger@intel.com>
995
996 * README (Note): Add nopie_ldflag.
997 * lib/gdb.exp (gdb_compile): Extend nopie handling.
998
bbcdf9ab
TT
9992021-03-02 Tom Tromey <tromey@adacore.com>
1000
1001 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
1002 encodings.
1003
bb3a4efe
LS
10042021-02-27 Lancelot Six <lsix@lancelotix.com>
1005
1006 PR gdb/27393
1007 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
1008
1009
573dc0cc
TT
10102021-02-26 Tom Tromey <tom@tromey.com>
1011
1012 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
1013
f8218786
JV
10142021-02-26 Jan Vrany <jan.vrany@labware.com>
1015
1016 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1017 Remove trailing \n from expected output.
1018
cb51b708
MM
10192021-02-26 Markus Metzger <markus.t.metzger@intel.com>
1020
1021 * lib/gdb.exp (use_gdb_stub): Extend comment.
1022
64d38fdd
JM
10232021-02-25 Jan Matyas <jmatyas@codasip.com>
1024
1025 PR gdb/26819
1026 * gdb.server/stop-reply-no-thread.exp: Add two test
1027 scenarios that cover remote targets which do not have
1028 the concept of threads.
1029
d4ff3cbf
AB
10302021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1031
1032 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
1033
68337b8b
AB
10342021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1035
1036 PR fortran/26155
1037 * gdb.fortran/call-no-debug-func.f90: New file.
1038 * gdb.fortran/call-no-debug-prog.f90: New file.
1039 * gdb.fortran/call-no-debug.exp: New file.
1040
faeb9f13
AB
10412021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1042
1043 * gdb.fortran/associated.exp: New file.
1044 * gdb.fortran/associated.f90: New file.
1045
170f4b23
AB
10462021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1047
1048 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
1049
dd80d750
AB
10502021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1051
1052 * gdb.base/sect-cmd.exp: Update expected results.
1053
b91919ac
AB
10542021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1055
1056 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
1057 techniques. Enable the test for all targets.
1058
02a79309
AB
10592021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1060
1061 * gdb.base/maint-info-sections.exp: Add new tests.
1062 (check_maint_info_target_sections_output): New proc.
1063
895b7b4e
AB
10642021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1065
1066 * gdb.arch/riscv-default-tdesc.exp: New file.
1067
bc3c0632
AB
10682021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1069
1070 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
1071
acde2092
AB
10722021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1073
1074 * gdb.arch/i386-biarch-core.exp: Add target check.
1075
7d2e5095
AKS
10762021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1077
1078 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
1079
96df3e28
AB
10802021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
1081
1082 * gdb.fortran/allocated.exp: New file.
1083 * gdb.fortran/allocated.f90: New file.
1084
a1670b72
AB
10852021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1086
1087 * gdb.fortran/lbound-ubound.exp: Remove old comment.
1088
bf3386f0
AB
10892021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1090
1091 * gdb.base/maint-info-sections.exp: Update expected output, and
1092 add additional tests. Again.
1093
4790db14
AB
10942021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1095
1096 * gdb.base/maint-info-sections.exp: Update expected output, and
1097 add additional tests.
1098
f4be6772
AB
10992021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1100
1101 * gdb.base/maint-info-sections.exp: New file, content is moved
1102 from gdb.base/maint.exp and cleaned up to use latest testsuite
1103 techniques.
1104 * gdb.base/maint.exp: Tests moved out to
1105 gdb.base/maint-info-sections.exp.
1106
25ad1e83
SM
11072021-02-10 Simon Marchi <simon.marchi@efficios.com>
1108
1109 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
1110 GDBFLAGS.
1111
e92c8eb8
AB
11122021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1113
1114 * gdb.fortran/lbound-ubound.F90: New file.
1115 * gdb.fortran/lbound-ubound.exp: New file.
1116
ee4c3d88
TV
11172021-02-10 Tom de Vries <tdevries@suse.de>
1118
1119 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
1120 "Restore saved setting of complaints".
1121
cf2b2075
TV
11222021-02-09 Tom de Vries <tdevries@suse.de>
1123
1124 PR symtab/27341
1125 * lib/gdb.exp (with_complaints): New proc, factored out of ...
1126 (gdb_load_no_complaints): ... here.
1127 * gdb.fortran/function-calls.exp: Add test-case.
1128
b61f7811
HAQ
11292021-02-09 Abid Qadeer <abidh@codesourcery.com>
1130
1131 * gdb.threads/signal-command-handle-nopass.exp: Call
1132 'standard_testfile' before using 'testfile'.
1133 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
1134 * gdb.threads/signal-delivered-right-thread.exp: Likewise
1135 * gdb.threads/signal-sigtrap.exp: Likewise
1136
3d4aae48
LM
11372021-02-08 Luis Machado <luis.machado@linaro.org>
1138
1139 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
1140
4001d90d
TV
11412021-02-08 Tom de Vries <tdevries@suse.de>
1142
1143 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
1144
29db1eb3
AB
11452021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1146
1147 * gdb.python/tui-window-disabled.c: New file.
1148 * gdb.python/tui-window-disabled.exp: New file.
1149 * gdb.python/tui-window-disabled.py: New file.
1150
e0c23e11
AB
11512021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1152
1153 * gdb.python/tui-window.exp: Add new tests.
1154 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
1155 TestWindow object into global the_window.
1156 <remote_title>: New method.
1157 (delete_window_title): New function.
1158
1cf23996
AB
11592021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1160
1161 * gdb.tui/winheight.exp: Add more tests.
1162
2708dbbd
AB
11632021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1164
1165 * gdb.python/py-framefilter.exp: Update expected results.
1166 * gdb.python/python.exp: Update expected results.
1167
cd074e04
AB
11682021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1169
1170 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
1171 about bug in GDB, update expected results, and add more tests.
1172
5fb97639
AB
11732021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1174
1175 * gdb.tui/scroll.exp: New file.
1176 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
1177 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
1178 remaining lines up.
1179 (Term::check_region_contents): New proc.
1180 (Term::check_box_contents): Use check_region_contents.
1181
c0e56745
TV
11822021-02-06 Tom de Vries <tdevries@suse.de>
1183
1184 PR testsuite/26922
1185 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
1186 scrolling.
1187
0e857c82
TV
11882021-02-05 Tom de Vries <tdevries@suse.de>
1189
1190 PR breakpoints/27313
1191 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
1192 rejected.
1193
a22ec6e8
TV
11942021-02-05 Tom de Vries <tdevries@suse.de>
1195
1196 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
1197 * gdb.fortran/mixed-lang-stack.exp: Same.
1198
ae710496
TV
11992021-02-05 Tom de Vries <tdevries@suse.de>
1200
1201 PR exp/27265
1202 * gdb.base/complex-parts.exp: Add tests.
1203
d3b54e63
TV
12042021-02-05 Tom de Vries <tdevries@suse.de>
1205
1206 PR symtab/27307
1207 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
1208
3eccb1c8
SV
12092021-02-04 Shahab Vahedi <shahab@synopsys.com>
1210
1211 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
1212
a71501e2
PA
12132021-02-03 Pedro Alves <pedro@palves.net>
1214
1215 * gdb.threads/detach-step-over.c: New file.
1216 * gdb.threads/detach-step-over.exp: New file.
1217
92234eb1
PA
12182021-02-03 Pedro Alves <pedro@palves.net>
1219
1220 * gdb.threads/attach-non-stop.c: New file.
1221 * gdb.threads/attach-non-stop.exp: New file.
1222
2e3773ff
LS
12232021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1224
1225 * gdb.base/inferior-noarg.c: New test.
1226 * gdb.base/inferior-noarg.exp: New test.
1227
e0bd9202
SM
12282021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
1229
1230 * gdb.base/scope.exp: Use proc_with_prefix.
1231
9307efbe
SM
12322021-02-02 Simon Marchi <simon.marchi@efficios.com>
1233
1234 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
1235 table proc.
1236 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
1237 .debug_rnglists table without offset array.
1238 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1239 .debug_loclists table without offset array.
1240
2b0c7f41
SM
12412021-02-02 Simon Marchi <simon.marchi@efficios.com>
1242
1243 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
1244 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
1245 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1246 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
1247 attribute
1248
ecfda20d
SM
12492021-02-02 Simon Marchi <simon.marchi@efficios.com>
1250
1251 PR gdb/26813
1252 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
1253 (loclists): New proc.
1254 * gdb.dwarf2/loclists-multiple-cus.c: New.
1255 * gdb.dwarf2/loclists-multiple-cus.exp: New.
1256 * gdb.dwarf2/loclists-sec-offset.c: New.
1257 * gdb.dwarf2/loclists-sec-offset.exp: New.
1258
6b0933da
SM
12592021-02-02 Simon Marchi <simon.marchi@efficios.com>
1260
1261 * lib/dwarf.exp (_location): Add parameters.
1262 (_handle_DW_FORM): Adjust.
1263
962effa7
SM
12642021-02-02 Simon Marchi <simon.marchi@efficios.com>
1265
1266 PR gdb/26813
1267 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
1268 (cu): Generate header for DWARF 5.
1269 (rnglists): New proc.
1270 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
1271 * gdb.dwarf2/rnglists-sec-offset.exp: New.
1272
2bd3e4b8
TV
12732021-02-02 Tom de Vries <tdevries@suse.de>
1274
1275 PR symtab/24620
1276 * gdb.dwarf2/fission-reread.exp: Add test-case.
1277
c39c8637
TV
12782021-02-01 Tom de Vries <tdevries@suse.de>
1279
1280 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
1281 * gdb.dwarf2/fission-loclists-pie.S: Same.
1282 * gdb.dwarf2/fission-loclists.S: Same.
1283 * gdb.dwarf2/fission-multi-cu.S: Same.
1284 * gdb.dwarf2/fission-reread.S: Same.
1285 * gdb.dwarf2/fission-base.exp: Use DWO.
1286 * gdb.dwarf2/fission-loclists-pie.exp: Same.
1287 * gdb.dwarf2/fission-loclists.exp: Same.
1288 * gdb.dwarf2/fission-multi-cu.exp: Same.
1289 * gdb.dwarf2/fission-reread.exp: Same.
1290
ebde6f2d
TV
12912021-01-29 Tom de Vries <tdevries@suse.de>
1292
1293 PR breakpoints/26063
1294 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1295 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1296
620ec3ca
TV
12972021-01-29 Tom de Vries <tdevries@suse.de>
1298
1299 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1300
cdeba395
TV
13012021-01-28 Tom de Vries <tdevries@suse.de>
1302
1303 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1304 in the backtrace, and use that in the rest of the test instead of
1305 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1306
c47b145e
TV
13072021-01-28 Tom de Vries <tdevries@suse.de>
1308
1309 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1310 * gdb.arch/i386-sse-stack-align.c: Same.
1311 * gdb.arch/i386-sse-stack-align.exp: Same.
1312
47918cca
AB
13132021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1314
1315 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1316
2f985dd1
TV
13172021-01-28 Tom de Vries <tdevries@suse.de>
1318
1319 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1320
22efa3d3
TV
13212021-01-28 Tom de Vries <tdevries@suse.de>
1322
1323 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1324 "maint info line-table". Make PASS pattern more specific. Make
1325 FAIL pattern work for -m32.
1326
59b59f08
LS
13272021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1328
1329 PR gdb/27133
1330 * gdb.base/ui-redirect.exp: Add test case that ensures that
1331 redirecting both logging and debug does not cause gdb to crash.
1332
1333
807f647c
MM
13342021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1335
1336 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1337
4ca40594
TV
13382021-01-26 Tom de Vries <tdevries@suse.de>
1339
1340 * gdb.threads/killed-outside.exp: Allow regular output.
1341
d0021af3
TV
13422021-01-26 Tom de Vries <tdevries@suse.de>
1343
1344 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1345
9f6c202e
TV
13462021-01-25 Tom de Vries <tdevries@suse.de>
1347
1348 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1349 * lib/gdb.exp: Use gdb_load_no_complaints.
1350
a625a8c9
TT
13512021-01-25 Tom Tromey <tromey@adacore.com>
1352
1353 * gdb.ada/fixed_points.exp: Add regression test.
1354 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1355 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1356
19184910
TT
13572021-01-25 Tom Tromey <tromey@adacore.com>
1358
1359 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1360
acd6125f
TT
13612021-01-25 Tom Tromey <tromey@adacore.com>
1362
1363 * gdb.ada/local-enum.exp: New file.
1364 * gdb.ada/local-enum/local.adb: New file.
1365
1af4c9c4
TT
13662021-01-23 Tom Tromey <tom@tromey.com>
1367
1368 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1369
705646c0
BE
13702021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1371
1372 * gdb.base/line65535.exp: Fix test expectation.
1373
0ac85db5
SM
13742021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1375
1376 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1377 suppression.
1378 (default_gdb_exit): Likewise.
1379 (default_gdb_spawn): Likewise.
1380 (send_gdb): Likewise.
1381 (gdb_expect): Likewise.
1382 (gdb_expect_list): Likewise.
1383 (default_gdb_init): Likewise.
1384 (gdb_suppress_entire_file): Remove.
1385 (gdb_suppress_tests): Remove.
1386 (gdb_stop_suppressing_tests): Remove.
1387 (gdb_clear_suppressed): Remove.
1388 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1389 related to test suppression.
1390 (default_mi_gdb_start): Likewise.
1391 (mi_gdb_reinitialize_dir): Likewise.
1392 (mi_gdb_test): Likewise.
1393 (mi_run_cmd_full): Likewise.
1394 (mi_runto_helper): Likewise.
1395 (mi_execute_to): Likewise.
1396 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1397 * gdb.base/bitfields.exp: Likewise.
1398 * gdb.base/bitfields2.exp: Likewise.
1399 * gdb.base/break.exp: Likewise.
1400 * gdb.base/call-sc.exp: Likewise.
1401 * gdb.base/callfuncs.exp: Likewise.
1402 * gdb.base/dfp-test.exp: Likewise.
1403 * gdb.base/endian.exp: Likewise.
1404 * gdb.base/exprs.exp: Likewise.
1405 * gdb.base/funcargs.exp: Likewise.
1406 * gdb.base/hbreak2.exp: Likewise.
1407 * gdb.base/recurse.exp: Likewise.
1408 * gdb.base/scope.exp: Likewise.
1409 * gdb.base/sepdebug.exp: Likewise.
1410 * gdb.base/structs.exp: Likewise.
1411 * gdb.base/until.exp: Likewise.
1412 * gdb.cp/misc.exp: Likewise.
1413
9d2d8a16
AB
14142021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1415
1416 PR cli/25956
1417 * gdb.base/style.exp (run_style_tests): Add version string test.
1418 (test_startup_version_string): Use version style name.
1419 * lib/gdb-utils.exp (style): Handle version style name.
1420
e7b43072
AB
14212021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1422
1423 * gdb.base/style.exp (limited_style): New proc.
1424 (clean_restart_and_disable): New proc.
1425 (run_style_tests): New proc. Most of the old tests from this file
1426 are now in this proc.
1427 (test_startup_version_string): New proc. Reamining test from the
1428 old file is in this proc.
1429
2189c312
SM
14302021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1431
1432 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1433 Adjust to "set debug remote" changes.
1434
cd211c75
LM
14352021-01-21 Luis Machado <luis.machado@linaro.org>
1436
1437 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1438 message.
1439
730af663
SM
14402021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1441
1442 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1443
325d39e4
HD
14442021-01-21 Hannes Domani <ssbssa@yahoo.de>
1445
1446 PR python/19151
1447 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1448
c3e96aa7
SM
14492021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1450
1451 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1452
6571ffc6
SM
14532021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1454
1455 * lib/tuiterm.exp: Add links in comments.
1456
7c794afd
TV
14572021-01-20 Tom de Vries <tdevries@suse.de>
1458
1459 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1460 offset.
1461
1402665c
TV
14622021-01-20 Tom de Vries <tdevries@suse.de>
1463
1464 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1465
6f52fdf4
SDJ
14662021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1467
1468 * gdb.arch/amd64-stap-expressions.S: New file.
1469 * gdb.arch/amd64-stap-expressions.exp: New file.
1470
14852123
TV
14712021-01-19 Tom de Vries <tdevries@suse.de>
1472
1473 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1474 sequence.
1475
0c4e2c6c
TV
14762021-01-19 Tom de Vries <tdevries@suse.de>
1477
1478 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1479
02baa133
AB
14802021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1481
1482 * gdb.fortran/array-slices.exp (run_test): Avoid including
1483 addresses in test names.
1484
10f92414
TV
14852021-01-15 Tom de Vries <tdevries@suse.de>
1486
1487 PR testsuite/26997
1488 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1489 when adding sizeof.
1490
116d0cf1
TV
14912021-01-14 Tom de Vries <tdevries@suse.de>
1492
1493 PR testsuite/24590
1494 * gdb.base/style.exp: Handle shorter argv in frame command output.
1495
8f66807b
AB
14962021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1497
1498 PR gdb/26819
1499 * gdb.server/stop-reply-no-thread-multi.c: New file.
1500 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1501
3f94e588
TV
15022021-01-12 Tom de Vries <tdevries@suse.de>
1503
1504 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1505 (main): Remove call to have_mpx.
1506 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1507 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1508 (main): Remote call to have_mpx.
1509 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1510 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1511 (main): Remove call to have_mpx.
1512 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1513 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1514 (main): Remove call to have_mpx.
1515 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1516 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1517 (main): Remote call to have_mpx.
1518 * gdb.arch/i386-mpx.exp: Use have_mpx.
1519 * lib/gdb.exp (have_mpx): New proc.
1520
5291fe3c
SP
15212021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1522
1523 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1524
18bfb505
TV
15252021-01-12 Tom de Vries <tdevries@suse.de>
1526
1527 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1528
ce38f5ed
AB
15292021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1530
1531 * gdb.fortran/debug-expr.exp: Add new tests.
1532
7c654b71
AB
15332021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1534
1535 * gdb.fortran/dot-ops.exp: Add new tests.
1536
10dadadc
TV
15372021-01-11 Tom de Vries <tdevries@suse.de>
1538
1539 PR testsuite/26968
1540 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1541 Move insn setting $eax to before probe point.
1542
66beed02
TT
15432021-01-09 Tom Tromey <tom@tromey.com>
1544
1545 * gdb.trace/ax.exp: Do not require an "ext".
1546
8fc48b79
TT
15472021-01-08 Tom Tromey <tromey@adacore.com>
1548
1549 * gdb.ada/voidctx/pck.adb: New file.
1550 * gdb.ada/voidctx/pck.ads: New file.
1551 * gdb.ada/voidctx/voidctx.adb: New file.
1552 * gdb.ada/voidctx.exp: New file.
1553
6abd4cf2
SM
15542021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1555
1556 PR gdb/27157
1557 * gdb.base/empty-host-env-vars.exp: New test.
1558
d00f0868
AB
15592021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1560
1561 * gdb.base/completion.exp: Add a new test.
1562
3c8c6de2
AB
15632021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1564
1565 * gdb.fortran/intvar-dynamic-types.exp: New file.
1566 * gdb.fortran/intvar-dynamic-types.f90: New file.
1567
e3436813
AB
15682021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1569
1570 * gdb.fortran/intvar-array.exp: New file.
1571 * gdb.fortran/intvar-array.f90: New file.
1572
d4813f10
TT
15732021-01-07 Tom Tromey <tromey@adacore.com>
1574
1575 * gdb.ada/assign_arr.exp: Add 'others' test.
1576
b49180ac
TT
15772021-01-06 Tom Tromey <tromey@adacore.com>
1578
1579 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1580 (FP4_Type): New type.
1581 (FP4_Var): New variable.
1582 * gdb.ada/fixed_points/fixed_points.adb: Update.
1583 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1584
3c55062c
SM
15852021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1586
1587 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1588 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1589 Pass prompt containing debug print to gdb_test_sequence.
1590
e4ad960a
TV
15912021-01-04 Tom de Vries <tdevries@suse.de>
1592
1593 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1594
3ec3145c
SM
15952021-01-04 Simon Marchi <simon.marchi@efficios.com>
1596
1597
1598
8dc558a0
SM
15992021-01-04 Simon Marchi <simon.marchi@efficios.com>
1600
1601 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1602 * gdb.server/connect-without-multi-process.exp: Likewise.
1603 * gdb.server/exit-multiple-threads.exp: Likewise.
1604 * gdb.server/ext-attach.exp: Likewise.
1605 * gdb.server/ext-restart.exp: Likewise.
1606 * gdb.server/ext-run.exp: Likewise.
1607 * gdb.server/ext-wrapper.exp: Likewise.
1608 * gdb.server/multi-ui-errors.exp: Likewise.
1609 * gdb.server/no-thread-db.exp: Likewise.
1610 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1611 * gdb.server/run-without-local-binary.exp: Likewise.
1612 * gdb.server/server-kill.exp: Likewise.
1613 * gdb.server/server-run.exp: Likewise.
1614 * gdb.server/solib-list.exp: Likewise.
1615 * gdb.server/stop-reply-no-thread.exp: Likewise.
1616 * gdb.server/wrapper.exp: Likewise.
1617 * gdb.server/sysroot.exp: Increase timeout when testing the
1618 target: sysroot.
1619
d8387cc8
SM
16202021-01-04 Simon Marchi <simon.marchi@efficios.com>
1621
1622 * gdb.server/server-run.exp: Use clean_restart.
1623
5169ae34
SM
16242021-01-04 Simon Marchi <simon.marchi@efficios.com>
1625
1626 * gdb.server/ext-run.exp: Use clean_restart.
1627
7b0ff8a2
SM
16282021-01-04 Simon Marchi <simon.marchi@efficios.com>
1629
1630 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1631 instead of prepare_for_testing.
1632
a754fbdf
SM
16332021-01-04 Simon Marchi <simon.marchi@efficios.com>
1634
1635 * gdb.server/solib-list.exp: Use clean_restart.
1636
c5e71b33
TV
16372021-01-04 Tom de Vries <tdevries@suse.de>
1638
1639 * gdb.base/morestack.c: Remove printf.
1640 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1641
9b243007
TT
16422020-12-31 Tom Tromey <tom@tromey.com>
1643
1644 * gdb.rust/simple.exp: Update output for Rust 1.49.
1645
4ff509e7
BE
16462020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1647
1648 * gdb.cp/step-and-next-inline.exp: Fix test case.
1649
391750c3
SM
16502020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1651
1652 * gdb.python/py-frame-args.exp: De-duplicate test names.
1653
b7874836
AB
16542020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1655
1656 PR gdb/27059
1657 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1658 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1659
e1ff6226
PW
16602020-12-21 Peter Waller <p@pwaller.net>
1661
1662 * gdb.base/style-interp-exec-mi.exp: New.
1663 * gdb.base/style-interp-exec-mi.c: New.
1664
ca01f1bf
SM
16652020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1666
1667 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1668 gdb_test. Use proc_with_prefix.
1669
0fe69a94
MM
16702020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1671
1672 * gdb.btrace/exception.exp: Build with nopie.
1673 * gdb.btrace/function_call_history.exp: Likewise.
1674 * gdb.btrace/unknown_functions.exp: Likewise.
1675
806e7575
MM
16762020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1677
1678 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1679
493d2172
MM
16802020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1681
1682 * gdb.python/py-record-btrace.exp: Make test names unique.
1683 * gdb.python/py-record-full.exp: Likewise.
1684
1a1c0afc
MM
16852020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1686
1687 * gdb.btrace/data.exp: Make test names unique.
1688 * gdb.btrace/delta.exp: Likewise.
1689 * gdb.btrace/enable.exp: Likewise.
1690 * gdb.btrace/function_call_history.exp: Likewise.
1691 * gdb.btrace/nohist.exp: Likewise.
1692 * gdb.btrace/non-stop.exp: Likewise.
1693 * gdb.btrace/rn-dl-bind.exp: Likewise.
1694 * gdb.btrace/step.exp: Likewise.
1695 * gdb.btrace/stepi.exp: Likewise.
1696 * gdb.btrace/tailcall.exp: Likewise.
1697
98d837f0
MM
16982020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1699
1700 * gdb.btrace/enable.exp: Update error message.
1701 * gdb.btrace/multi-inferior.exp: Likewise.
1702 * gdb.btrace/reconnect.exp: Likewise.
1703 * gdb.python/py-record-btrace.exp: Likewise.
1704 * gdb.python/py-record-full.exp: Likewise.
1705
c541fa7c
TV
17062020-12-20 Tom de Vries <tdevries@suse.de>
1707
1708 * lib/gdb.exp (save_target_board_info): New proc.
1709 (gdb_compile_shlib): Use save_target_board_info.
1710
60108e47
TV
17112020-12-19 Tom de Vries <tdevries@suse.de>
1712
1713 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1714 (supports_gnuc): New proc.
1715 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1716 test_compiler_info calls. Add unsupported message.
1717 * gdb.base/endianity.c: Use TEST_SSO.
1718
fa639f55
HD
17192020-12-19 Hannes Domani <ssbssa@yahoo.de>
1720
1721 PR exp/27070
1722 * gdb.python/compare-enum-type-a.c: New test.
1723 * gdb.python/compare-enum-type-b.c: New test.
1724 * gdb.python/compare-enum-type.exp: New file.
1725 * gdb.python/compare-enum-type.h: New test.
1726
4aea001f
HD
17272020-12-18 Hannes Domani <ssbssa@yahoo.de>
1728
1729 * gdb.python/py-format-string.exp: Add tests for address keyword.
1730
b3f9469b
HD
17312020-12-18 Hannes Domani <ssbssa@yahoo.de>
1732
1733 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1734
86ef42bd
TT
17352020-12-18 Tom Tromey <tromey@adacore.com>
1736
1737 * gdb.ada/fixed_points.exp: Also run with
1738 -fgnat-encodings=minimal. Update expected output.
1739
93df4a1d
SM
17402020-12-16 Simon Marchi <simon.marchi@efficios.com>
1741
1742 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1743 * gdb.base/continue-all-already-running.exp: Likewise.
1744 * gdb.base/moribund-step.exp: Likewise.
1745 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1746
592995fa
TV
17472020-12-16 Tom de Vries <tdevries@suse.de>
1748
1749 * gdb.base/batch-preserve-term-settings.exp:
1750
1e61189d
TV
17512020-12-16 Tom de Vries <tdevries@suse.de>
1752
1753 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1754 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1755
19007d95
LM
17562020-12-16 Luis Machado <luis.machado@linaro.org>
1757
1758 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1759 pointer-based memory accesses.
1760 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1761 hw watchpoint cases.
1762
a33fc9ae
RK
17632020-12-15 Rae Kim <rae.kim@gmail.com>
1764
1765 * gdb.base/document.exp: New test.
1766
0e5ad442
TT
17672020-12-15 Tom Tromey <tromey@adacore.com>
1768
1769 * gdb.base/style.exp: Add deprecation tests.
1770
60598dbd
SM
17712020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1772
1773 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1774
8cd6d968
MW
17752020-12-14 Mark Wielaard <mark@klomp.org>
1776
1777 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1778 specially, set attr_form_comment to the actual FORM string used.
1779
eab9267c
MW
17802020-12-14 Mark Wielaard <mark@klomp.org>
1781
1782 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1783 _constants(SPECIAL_expr) here, but set it...
1784 (Dwarf::cu): ...here based on _cu_version.
1785
2f413264
TV
17862020-12-14 Tom de Vries <tdevries@suse.de>
1787
1788 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1789 pass -fPIC.
1790 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1791 * gdb.base/break-probes.exp: Same.
1792 * gdb.base/ctxobj.exp: Same.
1793 * gdb.base/dso2dso.exp: Same.
1794 * gdb.base/global-var-nested-by-dso.exp: Same.
1795 * gdb.base/info-shared.exp: Same.
1796 * gdb.base/jit-reader-simple.exp: Same.
1797 * gdb.base/print-file-var.exp: Same.
1798 * gdb.base/skip-solib.exp: Same.
1799 * gdb.btrace/dlopen.exp: Same.
1800
18f1cb1f
TV
18012020-12-14 Tom de Vries <tdevries@suse.de>
1802
1803 PR testsuite/26963
1804 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1805
519155c9
TV
18062020-12-14 Tom de Vries <tdevries@suse.de>
1807
1808 PR testsuite/26962
1809 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1810 cast it to its declared type".
1811
153f6e6c
TV
18122020-12-14 Tom de Vries <tdevries@suse.de>
1813
1814 PR testsuite/26951
1815 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1816 shell prompt.
1817
86b44259
TT
18182020-12-14 Tom Tromey <tromey@adacore.com>
1819
1820 * gdb.ada/nested.exp: Add new tests.
1821 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1822
e26624c6
TT
18232020-12-14 Tom Tromey <tromey@adacore.com>
1824
1825 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1826
a3bdae4e
TT
18272020-12-14 Tom Tromey <tromey@adacore.com>
1828
1829 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1830
862fcbd8
TV
18312020-12-13 Tom de Vries <tdevries@suse.de>
1832
1833 PR testsuite/26953
1834 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1835 attribute support if compiler doesn't support it.
1836
a406a98e
TV
18372020-12-13 Tom de Vries <tdevries@suse.de>
1838
1839 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1840 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1841 source to shared lib. Add ada to options.
1842
5d7e6ed0
TV
18432020-12-13 Tom de Vries <tdevries@suse.de>
1844
1845 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1846 calling gnatbind and gnatlink.
1847
ee9812a0
AB
18482020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1849
1850 * gdb.base/dcache-flush.c: New file.
1851 * gdb.base/dcache-flush.exp: New file.
1852
50a5f187
AB
18532020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1854
1855 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1856 commands.
1857 * gdb.base/killed-outside.exp: Likewise.
1858 * gdb.opt/inline-bt.exp: Likewise.
1859 * gdb.perf/gmonster-null-lookup.py: Likewise.
1860 * gdb.perf/gmonster-print-cerr.py: Likewise.
1861 * gdb.perf/gmonster-ptype-string.py: Likewise.
1862 * gdb.python/py-unwind.exp: Likewise.
1863
19c659f1
AB
18642020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1865
1866 * gdb.base/commands.exp: Update expected results.
1867
9ef6d4a1
AB
18682020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1869
1870 PR cli/15104
1871 * gdb.base/commands.exp: Add additional tests.
1872 * gdb.base/completion.exp: Add additional tests.
1873
1536146f
AB
18742020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1875
1876 * gdb.base/completion.exp: Add additional tests.
1877
346e7e19
TV
18782020-12-11 Tom de Vries <tdevries@suse.de>
1879
1880 PR testsuite/26991
1881 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1882 violations by setting bounds registers if the bounds are passed in the
1883 Bounds Table.
1884
9cd7a95a
TV
18852020-12-11 Tom de Vries <tdevries@suse.de>
1886
1887 PR testsuite/26954
1888 * gdb.base/float128.exp: Detect and handle no mpfr support.
1889
4483a8e7
SM
18902020-12-10 Simon Marchi <simon.marchi@efficios.com>
1891
1892 PR gdb/24694
1893 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1894 calls.
1895
10067028
TV
18962020-12-10 Tom de Vries <tdevries@suse.de>
1897
1898 PR testsuite/26947
1899 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1900 braces for tcl 8.5 and earlier.
1901
5b56203a
SM
19022020-12-09 Simon Marchi <simon.marchi@efficios.com>
1903
1904 PR 26875, PR 26901
1905 * gdb.base/flexible-array-member.c: New test.
1906 * gdb.base/flexible-array-member.exp: New test.
1907
b46551b2
TV
19082020-12-08 Tom de Vries <tdevries@suse.de>
1909
1910 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1911 using is_amd64_regs_target.
1912
8439f446
TV
19132020-12-08 Tom de Vries <tdevries@suse.de>
1914
1915 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1916 self_id.
1917
bc545da7
PA
19182020-12-07 Pedro Alves <pedro@palves.net>
1919
1920 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1921 'additional_flags' variable.
1922
1f58f6c2
TBA
19232020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1924
1925 * gdb.linespec/explicit.exp: Extend with a test to check completing
1926 '-' after seemingly complete options.
1927
5759831a
TBA
19282020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1929
1930 * gdb.linespec/keywords.exp: Add tests to check positional
1931 flexibility of "-force-condition".
1932
21e051b3
TBA
19332020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1934
1935 * gdb.base/bp-cmds-run-with-ex.c: New file.
1936 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1937 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1938 * gdb.gdb/python-interrupts.exp: Update the call to
1939 'catch_command_errors' with the new argument.
1940 * gdb.gdb/python-selftest.exp: Ditto.
1941
187b041e
SM
19422020-12-04 Simon Marchi <simon.marchi@efficios.com>
1943
1944 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1945 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1946 * gdb.threads/non-stop-fair-events.exp: Likewise.
1947
3b7a962d
SM
19482020-12-04 Simon Marchi <simon.marchi@efficios.com>
1949
1950 * gdb.threads/step-over-exec.exp: New.
1951 * gdb.threads/step-over-exec.c: New.
1952 * gdb.threads/step-over-exec-execd.c: New.
1953 * lib/my-syscalls.S: New.
1954 * lib/my-syscalls.h: New.
1955
e633b117
SM
19562020-12-04 Simon Marchi <simon.marchi@efficios.com>
1957
1958 * lib/dwarf.exp (declare_labels): Use name as text if text is
1959 not provided.
1960
67748e0f
TV
19612020-12-04 Tom de Vries <tdevries@suse.de>
1962
1963 PR testsuite/26990
1964 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1965 are unsupported.
1966
a8d13675
TV
19672020-12-04 Tom de Vries <tdevries@suse.de>
1968
1969 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1970 clause.
1971
f17727b3
TV
19722020-12-04 Tom de Vries <tdevries@suse.de>
1973
1974 * gdb.reverse/insn-reverse.exp: Fix count handling.
1975
a1499830
TV
19762020-12-04 Tom de Vries <tdevries@suse.de>
1977
1978 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1979 __x86_64__.
1980
9c027c2f
TV
19812020-12-04 Tom de Vries <tdevries@suse.de>
1982
1983 * gdb.reverse/insn-reverse.c (test_nr): New var.
1984 (usage, parse_args): New function.
1985 (main): Call parse_args. Only run test for test_nr.
1986 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1987 and bail out. Run subtests individually, using an inferior arg
1988 specifying the subtest.
1989
533b2ae0
AB
19902020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1991
1992 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1993
e4502042
AB
19942020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1995
1996 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1997 update test to use this.
1998
f55a9a37
SM
19992020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2000
2001 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
2002
0a6155a0
SM
20032020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2004
2005 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
2006 (do_test): Don't use with_test_prefix.
2007 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
2008 (do_test): Don't use with_test_prefix.
2009 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
2010 (do_test): Don't use with_test_prefix.
2011 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
2012 (do_test): Don't use with_test_prefix.
2013
4d56d64a
SM
20142020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2015
2016 * gdb.threads/non-ldr-exit.exp: Fix comment.
2017
54e75f29
AB
20182020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2019
2020 * gdb.xml/maint-xml-dump-03.xml: New file.
2021
7ce05d21
TV
20222020-11-30 Tom de Vries <tdevries@suse.de>
2023
2024 PR symtab/26905
2025 * gdb.dwarf2/count.exp: Remove kfails.
2026
50757f95
TBA
20272020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2028
2029 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
2030 indices.
2031
4afa9fd9
JB
20322020-11-24 Joel Brobecker <brobecker@adacore.com>
2033
2034 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
2035 the "ptype pck__fp1_range_var" test for the module-2 and pascal
2036 languages. Remove the associated setup_xfail.
2037
15a491af
SM
20382020-11-23 Simon Marchi <simon.marchi@efficios.com>
2039
2040 * lib/gdb.exp (gdb_assert): Show error message on error.
2041
891615f0
TV
20422020-11-23 Tom de Vries <tdevries@suse.de>
2043
2044 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
2045 * gdb.ada/mod_from_name.exp: Same.
2046 * gdb.ada/pckd_arr_ren.exp: Same.
2047
19922582
SM
20482020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2049
2050 * gdb.base/template.exp: New.
2051 * gdb.base/template.c: New.
2052
117c628d
GB
20532020-11-22 Gary Benson <gbenson@redhat.com>
2054
2055 PR gdb/26905
2056 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
2057 is defined using a DW_AT_count which references another DIE.
2058
da39d3ba
TV
20592020-11-21 Tom de Vries <tdevries@suse.de>
2060
2061 * gdb.base/vla-ptr.exp: Add XFAIL.
2062
a5c641b5
AB
20632020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2064
2065 * gdb.fortran/array-slices-bad.exp: New file.
2066 * gdb.fortran/array-slices-bad.f90: New file.
2067 * gdb.fortran/array-slices-sub-slices.exp: New file.
2068 * gdb.fortran/array-slices-sub-slices.f90: New file.
2069 * gdb.fortran/array-slices.exp: Rewrite tests.
2070 * gdb.fortran/array-slices.f90: Rewrite tests.
2071 * gdb.fortran/vla-sizeof.exp: Correct expected results.
2072
a15a5258
AB
20732020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2074
2075 * gdb.base/completion.exp: Add new completion tests.
2076
7cb2893d
SM
20772020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
2078
2079 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
2080 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2081 * gdb.mi/mi-nsintrall.exp: Likewise.
2082 * gdb.mi/mi-nsmoribund.exp: Likewise.
2083 * gdb.mi/mi-nsthrexec.exp: Likewise.
2084 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2085
cf144ec8
SM
20862020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
2087
2088 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
2089 of perror.
2090
6b6a3e05
JM
20912020-11-18 Joseph Myers <joseph@codesourcery.com>
2092
2093 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
2094 $arg.exe exists but $arg does not.
2095
811bdca0
GB
20962020-11-17 Gary Benson <gbenson@redhat.com>
2097
2098 * gdb.trace/trace-common.h (x86_trace_dummy): Add
2099 __attribute__ ((used)).
2100
c72e3136
AB
21012020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
2102
2103 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
2104
037d7135
AB
21052020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
2106
2107 * gdb.base/completion.exp: Add new tests.
2108
119e99bb
TT
21092020-11-16 Tom Tromey <tromey@adacore.com>
2110
2111 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
2112 tests.
2113
b74dbc20
JB
21142020-11-15 Joel Brobecker <brobecker@adacore.com>
2115
2116 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
2117 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
2118 (main): Add reference to pck__fp1_var2.
2119 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
2120
0a12719e
JB
21212020-11-15 Joel Brobecker <brobecker@adacore.com>
2122
2123 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
2124
0c9150e4
JB
21252020-11-15 Joel Brobecker <brobecker@adacore.com>
2126
2127 * gdb.ada/fixed_points.exp: Add ptype tests.
2128 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
2129
b26daff9
JB
21302020-11-15 Joel Brobecker <brobecker@adacore.com>
2131
2132 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
2133
09584414
JB
21342020-11-15 Joel Brobecker <brobecker@adacore.com>
2135
2136 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
2137 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
2138 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
2139 New files.
2140 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
2141
2142 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
2143 New files.
2144
9dd02fc0
AB
21452020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
2146
2147 PR cli/26879
2148 * gdb.fortran/completion.exp: New file.
2149 * gdb.fortran/completion.f90: New file.
2150
5643c500
JM
21512020-11-12 Joseph Myers <joseph@codesourcery.com>
2152
2153 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
2154 but $arg does not.
2155
7bea47f0
AB
21562020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
2157
2158 * gdb.fortran/types.exp: Add more tests.
2159
1f2624a3
TT
21602020-11-12 Tom Tromey <tom@tromey.com>
2161
2162 PR rust/26799:
2163 * gdb.rust/traits.exp: Remove kfails.
2164
9e74f0ae
GB
21652020-11-12 Gary Benson <gbenson@redhat.com>
2166
2167 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
2168 statement.
2169
acb994fa
SM
21702020-11-11 Simon Marchi <simon.marchi@efficios.com>
2171
2172 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
2173 always-inserted" axis.
2174 (do_test): Add breakpoint_always_inserted parameter.
2175
95016fd2
TT
21762020-11-10 Tom Tromey <tromey@adacore.com>
2177
2178 * gdb.ada/bias.exp: Update.
2179 * gdb.ada/bias/bias.adb (X): Change value.
2180
83100a74
GB
21812020-11-10 Gary Benson <gbenson@redhat.com>
2182
2183 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
2184 regexp fragment in parentheses to prevent false matching.
2185
6ff174a7
GB
21862020-11-10 Gary Benson <gbenson@redhat.com>
2187
2188 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
2189
eb24648c
GB
21902020-11-10 Gary Benson <gbenson@redhat.com>
2191
2192 * gdb.cp/step-and-next-inline.exp: Only require
2193 -gstatement-frontiers when building with GCC.
2194 Only setup KFAIL's for GCC issues when using
2195 a GCC-built executable.
2196
86775fab
AB
21972020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
2198
2199 * gdb.base/debug-expr.c: Add extra function to allow for an
2200 additional test.
2201 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
2202 to this proc with gdb_test_debug_expr. Add an extra test.
2203 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
2204 to this proc with gdb_test_debug_expr, give the tests names
2205 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
2206 calls to this proc with gdb_test_debug_expr, give the tests names
2207 * gdb.fortran/debug-expr.exp: New file.
2208 * gdb.fortran/debug-expr.f90: New file.
2209 * lib/gdb.exp (gdb_test_debug_expr): New proc.
2210
a1945bd4
SM
22112020-11-06 Simon Marchi <simon.marchi@efficios.com>
2212
2213 * lib/dwarf.exp (ranges): Handle "base" and "range" as
2214 proceduresu.
2215 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
2216 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
2217 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
2218 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
2219 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
2220 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
2221 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
2222 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
2223
9c91c725
TT
22242020-11-04 Tom Tromey <tromey@adacore.com>
2225
2226 * gdb.ada/funcall_ref.exp: Update.
2227 * gdb.ada/var_rec_arr.exp: Update.
2228
8d9fd3a1
TT
22292020-11-04 Tom Tromey <tromey@adacore.com>
2230
2231 * gdb.ada/rec_ptype.exp: New file.
2232 * gdb.ada/rec_ptype/main.adb: New file.
2233 * gdb.ada/rec_ptype/p.ads: New file.
2234
d8f62e84
TT
22352020-11-04 Tom Tromey <tromey@adacore.com>
2236
2237 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
2238 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
2239 (PT_Full): New variable.
2240 * gdb.ada/tick_length_array_enum_idx/pck.adb
2241 (Full_PT): New type.
2242
7ff5b937
TT
22432020-11-04 Tom Tromey <tromey@adacore.com>
2244
2245 * gdb.ada/array_of_variant.exp: New file.
2246 * gdb.ada/array_of_variant/p.adb: New file.
2247 * gdb.ada/array_of_variant/pck.ads: New file.
2248 * gdb.ada/array_of_variant/pck.adb: New file.
2249
10f6a3ad
TT
22502020-11-04 Tom Tromey <tromey@adacore.com>
2251
2252 * gdb.ada/enum_idx_packed.exp: Add test.
2253 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
2254 New variable.
2255 * gdb.ada/enum_idx_packed/pck.ads (Short)
2256 (Multi_Dimension, Multi_Dimension_Access): New types.
2257
b72795a8
TT
22582020-11-04 Tom Tromey <tromey@adacore.com>
2259
2260 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
2261
24aa1b02
TT
22622020-11-04 Tom Tromey <tromey@adacore.com>
2263
2264 * gdb.ada/set_pckd_arr_elt.exp: Also test
2265 -fgnat-encodings=minimal. Add tests.
2266 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
2267 Call Update_Small a second time.
2268 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
2269 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
2270 (Variant_Access): New types.
2271 (New_Variant): Declare.
2272
c9a28cbe
TT
22732020-11-04 Tom Tromey <tromey@adacore.com>
2274
2275 * gdb.ada/mod_from_name.exp: Test printing slice.
2276
57567375
TT
22772020-11-04 Tom Tromey <tromey@adacore.com>
2278
2279 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
2280 values.
2281 * gdb.ada/access_to_unbounded_array.exp: Test different
2282 -fgnat-encodings values.
2283 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
2284 values.
2285 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
2286 values.
2287 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
2288 values.
2289 * gdb.ada/array_of_variable_length.exp: Test different
2290 -fgnat-encodings values.
2291 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
2292 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
2293 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2294 change.
2295 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2296 values.
2297 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2298 * gdb.ada/out_of_line_in_inlined.exp: Test different
2299 -fgnat-encodings values.
2300 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2301 values.
2302 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2303 values.
2304 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2305 -fgnat-encodings values.
2306 * gdb.ada/variant_record_packed_array.exp: Test different
2307 -fgnat-encodings values.
2308
a7400e44
TT
23092020-11-04 Tom Tromey <tromey@adacore.com>
2310
2311 * gdb.ada/enum_idx_packed.exp: Add tests.
2312 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2313 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2314 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2315 declarations.
2316
c40907bf
TV
23172020-11-03 Tom de Vries <tdevries@suse.de>
2318
2319 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2320 terminator comments.
2321 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2322 terminator.
2323
f468977a
SM
23242020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2325
2326 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2327 integer format test with regexp.
2328
1c2bec19
GB
23292020-11-02 Gary Benson <gbenson@redhat.com>
2330
2331 * gdb.base/print-file-var.exp (test): Separate compiler and
2332 linker options, and build using build_executable_from_specs
2333 to accommodate this.
2334
6539a36d
GB
23352020-11-02 Gary Benson <gbenson@redhat.com>
2336
2337 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2338 for .c files compiled as C++ with Clang if any shared
2339 libraries are specified.
2340
7ea44a51
GB
23412020-11-02 Gary Benson <gbenson@redhat.com>
2342
2343 * lib/attributes.h: New header.
2344 * gdb.base/backtrace.c: Include the above. Replace
2345 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2346 * gdb.base/infcall-nested-structs.c: Likewise.
2347 * gdb.base/vla-optimized-out.c: Likewise.
2348
ab8f783d
TV
23492020-11-02 Tom de Vries <tdevries@suse.de>
2350
2351 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2352
d77c9224
JB
23532020-11-01 Joel Brobecker <brobecker@adacore.com>
2354
2355 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2356 System.Min_Int and System.Max_Int with smaller hardcoded
2357 constants.
2358
0e5b0dd0
SM
23592020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2360
2361 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2362 * configure: Re-generate.
2363
136821d9
SM
23642020-10-30 Simon Marchi <simon.marchi@efficios.com>
2365
2366 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2367 expected output.
2368
b78b3a29
TBA
23692020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2370
2371 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2372 behavior.
2373 * gdb.base/paginate-bg-execution.exp: Ditto.
2374 * gdb.base/paginate-inferior-exit.exp: Ditto.
2375 * gdb.base/double-prompt-target-event-error.c: Remove.
2376 * gdb.base/double-prompt-target-event-error.exp: Remove.
2377
cfaa8f76
TBA
23782020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2379
2380 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2381 inferiors' and 'detach inferiors' do not change the current
2382 inferior.
2383
0ad0e70c
TV
23842020-10-29 Tom de Vries <tdevries@suse.de>
2385
2386 * gdb.threads/tls.exp: Fix DUPLICATEs.
2387
99cc6b2a
TV
23882020-10-28 Tom de Vries <tdevries@suse.de>
2389
2390 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2391
efe9b873
TV
23922020-10-28 Tom de Vries <tdevries@suse.de>
2393
2394 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2395 * gdb.base/reread.exp: Same.
2396
6b68fd45
TV
23972020-10-28 Tom de Vries <tdevries@suse.de>
2398
2399 * lib/gdb.exp (readnow): Handle arg.
2400 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2401
32a5f98a
TV
24022020-10-28 Tom de Vries <tdevries@suse.de>
2403
2404 * gdb.base/relocate.exp: Update regexp for -readnow.
2405
f93b8760
TV
24062020-10-28 Tom de Vries <tdevries@suse.de>
2407
2408 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2409 -readnow.
2410
1b00ef06
TV
24112020-10-28 Tom de Vries <tdevries@suse.de>
2412
2413 PR symtab/26772
2414 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2415 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2416
364bb903
TV
24172020-10-28 Tom de Vries <tdevries@suse.de>
2418
2419 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2420 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2421 complaint during file command for -readnow.
2422
445a033f
TV
24232020-10-28 Tom de Vries <tdevries@suse.de>
2424
2425 * gdb.cp/nsalias.exp: Fix typo in test name.
2426
fdd67a42
TV
24272020-10-28 Tom de Vries <tdevries@suse.de>
2428
2429 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2430
706baf4c
TV
24312020-10-28 Tom de Vries <tdevries@suse.de>
2432
2433 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2434 -readnow.
2435
b448cca5
TV
24362020-10-27 Tom de Vries <tdevries@suse.de>
2437
2438 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2439
5868da03
TV
24402020-10-27 Tom de Vries <tdevries@suse.de>
2441
2442 * gdb.base/maint.exp: Update for -readnow.
2443
06db6ec3
TV
24442020-10-27 Tom de Vries <tdevries@suse.de>
2445
2446 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2447 -readnow.
2448
934a1764
GB
24492020-10-14 Gary Benson <gbenson@redhat.com>
2450
2451 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2452 "_vptr$Base" as correct, in addition to "_vptr.Base".
2453 (test_mixed): Likewise.
2454
0bf21fbd
GB
24552020-10-27 Gary Benson <gbenson@redhat.com>
2456
2457 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2458 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2459
b1d4d8d1
TBA
24602020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2461
2462 * gdb.base/condbreak.exp: Update the completion tests to
2463 consider the '-force' flag.
2464
bd24c5d6
TV
24652020-10-27 Tom de Vries <tdevries@suse.de>
2466
2467 * gdb.base/list-ambiguous-readnow.exp: New file.
2468
733d554a
TBA
24692020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2470
2471 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2472 the condition.
2473 * gdb.linespec/cpcompletion.exp: Update to consider the
2474 '-force-condition' keyword.
2475 * gdb.linespec/explicit.exp: Ditto.
2476 * lib/completion-support.exp: Ditto.
2477
b5fa468f
TBA
24782020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2479
2480 * gdb.base/condbreak-multi-context.cc: New file.
2481 * gdb.base/condbreak-multi-context.exp: New file.
2482
b3247276
TT
24832020-10-26 Tom Tromey <tom@tromey.com>
2484
2485 * lib/mi-support.exp (default_mi_gdb_start): Call
2486 gdb_stdin_log_init.
2487 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2488 subtract one from gdb_instances.
2489 (gdb_stdin_log_write): Flush in_file.
2490
1c47ec3e
TV
24912020-10-26 Tom de Vries <tdevries@suse.de>
2492
2493 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2494
6390859c
TT
24952020-10-26 Tom Tromey <tromey@adacore.com>
2496
2497 * gdb.ada/unsigned_range/foo.adb: New file.
2498 * gdb.ada/unsigned_range/pack.adb: New file.
2499 * gdb.ada/unsigned_range/pack.ads: New file.
2500 * gdb.ada/unsigned_range.exp: New file.
2501
55c3ad88
TV
25022020-10-26 Tom de Vries <tdevries@suse.de>
2503
2504 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2505
1612c4bb
TV
25062020-10-26 Tom de Vries <tdevries@suse.de>
2507
2508 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2509 for CU.
2510 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2511
7d72802b
TV
25122020-10-23 Tom de Vries <tdevries@suse.de>
2513
2514 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2515 DW_FORM_string.
2516 (Dwarf::_default_form): New proc.
2517 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2518 guessed.
2519
9476b583
TV
25202020-10-23 Tom de Vries <tdevries@suse.de>
2521
2522 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2523 * gdb.dwarf2/atomic-type.exp: Same.
2524 * gdb.dwarf2/bad-regnum.exp: Same.
2525 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2526 * gdb.dwarf2/dw2-align.exp: Same.
2527 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2528 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2529 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2530 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2531 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2532 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2533 * gdb.dwarf2/enum-type.exp: Same.
2534 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2535 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2536 * gdb.dwarf2/main-subprogram.exp: Same.
2537 * gdb.dwarf2/missing-type-name.exp: Same.
2538 * gdb.dwarf2/nonvar-access.exp: Same.
2539 * gdb.dwarf2/typedef-void-finish.exp: Same.
2540 * gdb.dwarf2/var-access.exp: Same.
2541 * gdb.dwarf2/void-type.exp: Same.
2542
4a636814
SM
25432020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2544
2545 PR gdb/26693
2546 * gdb.dwarf2/template-specification-full-name.exp: New test.
2547
557fc257
LM
25482020-10-22 Luis Machado <luis.machado@linaro.org>
2549
2550 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2551 expected an offset from the function.
2552 * gdb.base/msym-bp.exp (test): Likewise.
2553
6b4c676c
AB
25542020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2555
2556 * gdb.fortran/array-slices.exp: Add a new test.
2557
98cec4f6
GB
25582020-10-21 Gary Benson <gbenson@redhat.com>
2559
2560 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2561 fullname test with Clang. Also expand comments generally.
2562
ae86f581
TV
25632020-10-20 Tom de Vries <tdevries@suse.de>
2564
2565 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2566
8c161360
TV
25672020-10-20 Tom de Vries <tdevries@suse.de>
2568
2569 * gdb.dwarf2/arr-stride.c: Remove.
2570 * gdb.dwarf2/arr-stride.exp: Use main.c.
2571 * gdb.dwarf2/arr-subrange.c: Remove.
2572 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2573 * gdb.dwarf2/bad-regnum.c: Remove.
2574 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2575 * gdb.dwarf2/corrupt.c: Remove.
2576 * gdb.dwarf2/corrupt.exp: Use main.c.
2577 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2578 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2579 * gdb.dwarf2/dw2-icycle.c: Remove.
2580 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2581 * gdb.dwarf2/formdata16.c: Remove.
2582 * gdb.dwarf2/formdata16.exp: Use main.c.
2583 * gdb.dwarf2/implptrconst.c: Remove.
2584 * gdb.dwarf2/implptrconst.exp: Use main.c.
2585 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2586 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2587 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2588 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2589
9c2412ec
TV
25902020-10-20 Tom de Vries <tdevries@suse.de>
2591
2592 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2593 file.
2594 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2595
0cd2ad78
TV
25962020-10-20 Tom de Vries <tdevries@suse.de>
2597
2598 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2599 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2600 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2601 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2602 * gdb.dwarf2/dw2-ranges.exp: Same.
2603 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2604 * gdb.dwarf2/var-access.exp: Same.
2605
22cc388e
TT
26062020-10-19 Tom Tromey <tromey@adacore.com>
2607
2608 PR tui/26719
2609 * gdb.tui/list.exp: Check source window contents after focus
2610 change.
2611
520596f2
TV
26122020-10-17 Tom de Vries <tdevries@suse.de>
2613
2614 PR symtab/26317
2615 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2616
d1c8a76d
TV
26172020-10-17 Tom de Vries <tdevries@suse.de>
2618
2619 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2620 as suffix.
2621 * gdb.dwarf2/atomic.c: Rename to ...
2622 * gdb.dwarf2/atomic-type.c: ... this.
2623 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2624 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2625 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2626 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2627 * gdb.dwarf2/fission-mix2.c: Rename to ...
2628 * gdb.dwarf2/fission-mix-2.c: ... this.
2629 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2630 standard_testfile.
2631 * gdb.dwarf2/ada-valprint-error.exp: Same.
2632 * gdb.dwarf2/arr-stride.exp: Same.
2633 * gdb.dwarf2/arr-subrange.exp: Same.
2634 * gdb.dwarf2/atomic-type.exp: Same.
2635 * gdb.dwarf2/bad-regnum.exp: Same.
2636 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2637 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2638 * gdb.dwarf2/clang-debug-names.exp: Same.
2639 * gdb.dwarf2/comp-unit-lang.exp: Same.
2640 * gdb.dwarf2/corrupt.exp: Same.
2641 * gdb.dwarf2/count.exp: Same.
2642 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2643 * gdb.dwarf2/data-loc.exp: Same.
2644 * gdb.dwarf2/dw2-align.exp: Same.
2645 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2646 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2647 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2648 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2649 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2650 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2651 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2652 * gdb.dwarf2/dw2-inline-param.exp: Same.
2653 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2654 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2655 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2656 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2657 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2658 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2659 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2660 * gdb.dwarf2/dw2-param-error.exp: Same.
2661 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2662 * gdb.dwarf2/dw2-ranges.exp: Same.
2663 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2664 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2665 * gdb.dwarf2/dw4-sig-types.exp: Same.
2666 * gdb.dwarf2/dynarr-ptr.exp: Same.
2667 * gdb.dwarf2/enum-type.exp: Same.
2668 * gdb.dwarf2/fission-mix.exp: Same.
2669 * gdb.dwarf2/formdata16.exp: Same.
2670 * gdb.dwarf2/implptrconst.exp: Same.
2671 * gdb.dwarf2/implptrpiece.exp: Same.
2672 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2673 * gdb.dwarf2/main-subprogram.exp: Same.
2674 * gdb.dwarf2/method-ptr.exp: Same.
2675 * gdb.dwarf2/missing-sig-type.exp: Same.
2676 * gdb.dwarf2/nonvar-access.exp: Same.
2677 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2678 * gdb.dwarf2/shortpiece.exp: Same.
2679 * gdb.dwarf2/staticvirtual.exp: Same.
2680 * gdb.dwarf2/subrange.exp: Same.
2681 * gdb.dwarf2/symtab-producer.exp: Same.
2682 * gdb.dwarf2/typedef-void-finish.exp: Same.
2683 * gdb.dwarf2/var-access.exp: Same.
2684 * gdb.dwarf2/variant.exp: Same.
2685 * gdb.dwarf2/void-type.exp: Same.
2686 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2687 dw2-ranges-main.c.
2688 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2689
472d09c1
TV
26902020-10-16 Tom de Vries <tdevries@suse.de>
2691
2692 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2693
afe75f6d
TV
26942020-10-16 Tom de Vries <tdevries@suse.de>
2695
2696 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2697
8c8bd0ba
TV
26982020-10-14 Tom de Vries <tdevries@suse.de>
2699
2700 PR testsuite/26732
2701 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2702 scenario 2.
2703 * gdb.ada/mi_catch_ex_hand.exp: Same.
2704
b75d55d4
PA
27052020-10-13 Pedro Alves <pedro@palves.net>
2706
2707 * lib/mi-support.exp (mi_clean_restart): New.
2708 (mi_run_to_main): Delete.
2709 All callers adjust to use mi_clean_restart / mi_runto_main.
2710
e777225b
PA
27112020-10-13 Pedro Alves <pedro@palves.net>
2712
2713 * config/monitor.exp: Use "list -q".
2714 * gdb.arch/gdb1558.exp: Use "break -q".
2715 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2716 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2717 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2718 * gdb.base/commands.exp: Use "break -q".
2719 * gdb.base/condbreak.exp: Use "break -q".
2720 * gdb.base/ctf-ptype.exp: Use "list -q".
2721 * gdb.base/define.exp: Use "break -q".
2722 * gdb.base/del.exp: Use "break -q".
2723 * gdb.base/fullname.exp: Use "break -q".
2724 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2725 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2726 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2727 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2728 "hbreak -q".
2729 * gdb.base/included.exp: Use "list -q".
2730 * gdb.base/label.exp: Use "break -q".
2731 * gdb.base/lineinc.exp: Use "break -q".
2732 * gdb.base/list.exp: Use "list -q".
2733 * gdb.base/macscp.exp: Use "list -q".
2734 * gdb.base/pending.exp: Use "break -q".
2735 * gdb.base/prologue-include.exp: Use "break -q".
2736 * gdb.base/ptype.exp: Use "list -q".
2737 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2738 * gdb.base/server-del-break.exp: Use "break -q".
2739 * gdb.base/style.exp: Use "break -q".
2740 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2741 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2742 * gdb.cp/exception.exp: Use "tbreak -q".
2743 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2744 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2745 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2746 * gdb.dwarf2/pr13961.exp: Use "break -q".
2747 * gdb.linespec/explicit.exp: Use "list -q".
2748 * gdb.linespec/linespec.exp: Use "break -q".
2749 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2750 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2751 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2752 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2753 * gdb.trace/change-loc.exp: Use "break -q".
2754 * gdb.trace/pending.exp: Use "break -q".
2755 * gdb.tui/basic.exp: Use "list -q".
2756 * gdb.tui/list-before.exp: Use "list -q".
2757 * gdb.tui/list.exp: Use "list -q".
2758 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2759
8abd8ee8
PA
27602020-10-13 Pedro Alves <pedro@palves.net>
2761
2762 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2763 saved breakpoints file.
2764 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2765 inspecting breakpoint list.
2766 * lib/gdb.exp (runto_main): Add "qualified" to options.
2767 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2768 and handle it.
2769 (mi_runto_main): Pass 1 as qualified argument.
2770
f71e6719
PA
27712020-10-13 Pedro Alves <pedro@palves.net>
2772
2773 * lib/mi-support.exp (mi_runto_main): New proc.
2774 (mi_run_to_main): Use it.
2775 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2776 * gdb.mi/mi-var-cmd.exp: Likewise.
2777 * gdb.mi/mi-var-invalidate.exp: Likewise.
2778 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2779 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2780 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2781 * gdb.mi/user-selected-context-sync.exp: Likewise.
2782 * gdb.opt/inline-cmds.exp: Likewise.
2783 * gdb.python/py-framefilter-mi.exp: Likewise.
2784 * gdb.python/py-mi.exp: Likewise.
2785
50441f0f
PA
27862020-10-13 Pedro Alves <pedro@palves.net>
2787
2788 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2789 "runto main".
2790 * gdb.ada/small_reg_param.exp: Likewise.
2791 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2792 * gdb.base/annota1.exp: Likewise.
2793 * gdb.base/anon.exp: Likewise.
2794 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2795 * gdb.base/dprintf-non-stop.exp: Likewise.
2796 * gdb.base/dprintf.exp: Likewise.
2797 * gdb.base/gdb11530.exp: Likewise.
2798 * gdb.base/gdb11531.exp: Likewise.
2799 * gdb.base/gnu_vector.exp: Likewise.
2800 * gdb.base/interrupt-noterm.exp: Likewise.
2801 * gdb.base/memattr.exp: Likewise.
2802 * gdb.base/step-over-syscall.exp: Likewise.
2803 * gdb.base/watch-cond-infcall.exp: Likewise.
2804 * gdb.base/watch-read.exp: Likewise.
2805 * gdb.base/watch-vfork.exp: Likewise.
2806 * gdb.base/watch_thread_num.exp: Likewise.
2807 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2808 * gdb.guile/scm-frame-inline.exp: Likewise.
2809 * gdb.linespec/explicit.exp: Likewise.
2810 * gdb.opt/inline-break.exp: Likewise.
2811 * gdb.python/py-frame-inline.exp: Likewise.
2812 * gdb.reverse/break-precsave.exp: Likewise.
2813 * gdb.reverse/break-reverse.exp: Likewise.
2814 * gdb.reverse/consecutive-precsave.exp: Likewise.
2815 * gdb.reverse/consecutive-reverse.exp: Likewise.
2816 * gdb.reverse/finish-precsave.exp: Likewise.
2817 * gdb.reverse/finish-reverse.exp: Likewise.
2818 * gdb.reverse/fstatat-reverse.exp: Likewise.
2819 * gdb.reverse/getresuid-reverse.exp: Likewise.
2820 * gdb.reverse/i386-precsave.exp: Likewise.
2821 * gdb.reverse/i386-reverse.exp: Likewise.
2822 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2823 * gdb.reverse/i387-env-reverse.exp: Likewise.
2824 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2825 * gdb.reverse/insn-reverse.exp: Likewise.
2826 * gdb.reverse/machinestate-precsave.exp: Likewise.
2827 * gdb.reverse/machinestate.exp: Likewise.
2828 * gdb.reverse/pipe-reverse.exp: Likewise.
2829 * gdb.reverse/readv-reverse.exp: Likewise.
2830 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2831 * gdb.reverse/rerun-prec.exp: Likewise.
2832 * gdb.reverse/s390-mvcle.exp: Likewise.
2833 * gdb.reverse/solib-precsave.exp: Likewise.
2834 * gdb.reverse/solib-reverse.exp: Likewise.
2835 * gdb.reverse/step-precsave.exp: Likewise.
2836 * gdb.reverse/step-reverse.exp: Likewise.
2837 * gdb.reverse/time-reverse.exp: Likewise.
2838 * gdb.reverse/until-precsave.exp: Likewise.
2839 * gdb.reverse/until-reverse.exp: Likewise.
2840 * gdb.reverse/waitpid-reverse.exp: Likewise.
2841 * gdb.reverse/watch-precsave.exp: Likewise.
2842 * gdb.reverse/watch-reverse.exp: Likewise.
2843 * gdb.threads/kill.exp: Likewise.
2844 * gdb.threads/tid-reuse.exp: Likewise.
2845
d3a07122
SM
28462020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2847
2848 PR gdb/26642
2849 * gdb.base/maint-target-async-off.c: New test.
2850 * gdb.base/maint-target-async-off.exp: New test.
2851
c65c6c42
AM
28522020-10-13 Alan Modra <amodra@gmail.com>
2853
2854 * gdb.arch/powerpc-altivec.s,
2855 * gdb.arch/powerpc-power7.s,
2856 * gdb.arch/powerpc-power8.s,
2857 * gdb.arch/powerpc-power9.s,
2858 * gdb.arch/powerpc-vsx.s,
2859 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2860 * gdb.arch/powerpc-altivec.exp,
2861 * gdb.arch/powerpc-power7.exp,
2862 * gdb.arch/powerpc-power8.exp,
2863 * gdb.arch/powerpc-power9.exp,
2864 * gdb.arch/powerpc-vsx.exp,
2865 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2866 disassembly of mfvsrd/mtvsrd.
2867
f4a0f710
AM
28682020-10-13 Alan Modra <amodra@gmail.com>
2869
2870 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2871 "target architecture" output.
2872 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2873 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2874 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2875 * gdb.arch/s390-disassembler-options.exp: Likewise.
2876
87a37e5e
PA
28772020-10-12 Pedro Alves <pedro@palves.net>
2878
2879 PR exp/26602
2880 PR c++/26550
2881 * gdb.cp/ambiguous.cc (marker1): Delete.
2882 (main): Initialize all the fields of the locals. Replace marker1
2883 call with a "set breakpoint here" marker.
2884 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2885 instead of running to marker1. Add tests printing all the
2886 variables and all the fields of the variables.
2887 (test_ambiguous): New proc, expecting the new GDB output when a
2888 field access is ambiguous. Change all "warning: X ambiguous"
2889 tests to use it.
2890
71e1b6b0
GB
28912020-10-12 Gary Benson <gbenson@redhat.com>
2892
2893 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2894 * gdb.base/msym-bp-2.c (foo): Likewise.
2895 * gdb.base/msym-lang.c (foo): Likewise.
2896 * gdb.base/msym-lang-main.c (foo): Likewise.
2897 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2898 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2899 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2900 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2901 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2902 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2903 * gdb.python/py-objfile.c (static_var): Likewise.
2904 * gdb.python/py-symbol.c (rr): Likewise.
2905 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2906 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2907
9370fd51
AB
29082020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2909
2910 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2911 output of backtrace.
2912
7c184d33
TT
29132020-10-09 Tom Tromey <tromey@adacore.com>
2914
2915 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2916 (Rec): Add field. Fix range.
2917 * gdb.ada/scalar_storage.exp: Update.
2918
3d87245c
HD
29192020-10-09 Hannes Domani <ssbssa@yahoo.de>
2920
2921 PR exp/26714
2922 * gdb.base/printcmds.exp: Add tests for void results.
2923
f5c4b229
JV
29242020-10-09 Jan Vrany <jan.vrany@labware.com>
2925
2926 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2927 is emmited for both 'set directories' and 'directory' commands.
2928
b2701685
TT
29292020-10-08 Tom Tromey <tom@tromey.com>
2930
2931 * gdb.base/style.exp: Check that "main"'s name is styled.
2932
e86efb33
TT
29332020-10-07 Tom Tromey <tromey@adacore.com>
2934
2935 * gdb.base/find.exp: Rename some tests.
2936
30897591
GB
29372020-10-06 Gary Benson <gbenson@redhat.com>
2938
2939 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2940 * gdb.base/list1.c (unused): Likewise.
2941
ced4a4c1
GB
29422020-10-06 Gary Benson <gbenson@redhat.com>
2943
2944 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2945 __attribute__ ((used)).
2946 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2947
ed3bdac4
AB
29482020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2949
2950 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2951 make use of regions throughout.
2952 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2953 not {...}.
2954 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2955
cd096ec8
HD
29562020-10-05 Hannes Domani <ssbssa@yahoo.de>
2957
2958 * gdb.base/call-sc.c: Fix return struct on stack test case.
2959 * gdb.base/call-sc.exp: Likewise.
2960
3ee6f75d
GB
29612020-10-02 Gary Benson <gbenson@redhat.com>
2962
2963 * README: Fix "paralell".
2964
f65825ec
GB
29652020-09-30 Gary Benson <gbenson@redhat.com>
2966
2967 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2968 Convert directive to lowercase.
2969 (.Labbrev1_begin): Add missing label.
2970 (abbrev code 0x1): Remove DW_AT_stmt_list.
2971 (.Ldie_b): Likewise.
2972
5f278258
TT
29732020-09-27 Tom Tromey <tom@tromey.com>
2974
2975 * gdb.tui/new-layout.exp: Use with_test_prefix.
2976
8f9929bb
GR
29772020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2978
2979 PR python/26586
2980 * gdb.python/python.exp: add test cases for the from_tty
2981 argument to gdb.execute.
2982
c20c017b
GB
29832020-09-25 Gary Benson <gbenson@redhat.com>
2984
2985 * gdb.base/infcall-nested-structs.exp.tcl: Add
2986 additional_flags=-Wno-tautological-compare for C++
2987 tests when compiling using Clang.
2988
68d654af
GB
29892020-09-25 Gary Benson <gbenson@redhat.com>
2990
2991 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2992 for .c files.
2993
b551a89f
TT
29942020-09-24 Tom Tromey <tromey@adacore.com>
2995
2996 PR tui/26638:
2997 * gdb.tui/list.exp: Check output of "focus next".
2998
20a5fcbd
TT
29992020-09-23 Tom Tromey <tom@tromey.com>
3000
3001 * gdb.dwarf2/intbits.exp: New file.
3002 * gdb.dwarf2/intbits.c: New file.
3003
b167e53f
PA
30042020-09-20 Pedro Alves <pedro@palves.net>
3005
3006 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
3007 spawn_id before calling remote_close. Close secondary MI channel.
3008
dbc49e9f
PA
30092020-09-20 Pedro Alves <pedro@palves.net>
3010
3011 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
3012 fails.
3013
c8d5abea
AB
30142020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
3015
3016 * gdb.fortran/array-slices.exp: Update expected results.
3017 * gdb.fortran/class-allocatable-array.exp: Likewise.
3018 * gdb.fortran/multi-dim.exp: Likewise.
3019 * gdb.fortran/vla-type.exp: Likewise.
3020 * gdb.mi/mi-vla-fortran.exp: Likewise.
3021
14f9473c
VC
30222020-09-18 Victor Collod <vcollod@nvidia.com>
3023
3024 PR gdb/26635
3025 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
3026 compatible with i386, and move it to...
3027 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
3028 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
3029 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
3030
e8ef12b9
PA
30312020-09-18 Pedro Alves <pedro@palves.net>
3032
3033 PR gdb/26631
3034 * gdb.multi/multi-target-thread-find.exp: New file.
3035
e11daf7a
PA
30362020-09-18 Pedro Alves <pedro@palves.net>
3037
3038 * gdb.multi/multi-target-continue.exp: New file, factored out from
3039 multi-target.exp.
3040 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
3041 multi-target.exp.
3042 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
3043 multi-target.exp.
3044 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
3045 multi-target.exp.
3046 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
3047 multi-target.exp.
3048 * gdb.multi/multi-target.exp.tcl: New file, factored out from
3049 multi-target.exp.
3050 * gdb.multi/multi-target.exp: Delete.
3051
d0edc2b8
AB
30522020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3053
3054 * gdb.fortran/array-slices.exp: Add missing message data.
3055
7474326c
PA
30562020-09-17 Pedro Alves <pedro@palves.net>
3057
3058 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
3059
dd23068d
PA
30602020-09-17 Pedro Alves <pedro@palves.net>
3061
3062 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
3063 full prototype.
3064
0640a543
PA
30652020-09-17 Pedro Alves <pedro@palves.net>
3066
3067 * gdb.python/py-as-string.c: Add cast.
3068
ef0cdbc1
PA
30692020-09-17 Pedro Alves <pedro@palves.net>
3070
3071 * gdb.base/sizeof.c (fill): Add cast.
3072
3a5eeb8b
PA
30732020-09-17 Pedro Alves <pedro@palves.net>
3074
3075 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
3076
a8129512
PA
30772020-09-17 Pedro Alves <pedro@palves.net>
3078
3079 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
3080 linkage name.
3081 * gdb.base/prologue.exp: Use print /d.
3082 * gdb.base/symbol-alias.exp: Handle C++ output.
3083 * gdb.base/symbol-alias2.c: Handle C++ output.
3084 [__cplusplus] (func): Explicitly specify linkage name.
3085
a83cdcb6
PA
30862020-09-17 Pedro Alves <pedro@palves.net>
3087
3088 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
3089 (struct my_key_t): ... this. Adjust all references.
3090 (struct value_t): Rename to ...
3091 (struct my_value_t): ... this. Adjust all references.
3092 (create_map, add_map_element, create_map_map)
3093 (add_map_map_element): Add casts.
3094
d4bcee5c
PA
30952020-09-17 Pedro Alves <pedro@palves.net>
3096
3097 * gdb.python/py-framefilter-mi.c (funca): Add casts.
3098 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
3099
81f90489
PA
31002020-09-17 Pedro Alves <pedro@palves.net>
3101
3102 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
3103
0a229804
PA
31042020-09-17 Pedro Alves <pedro@palves.net>
3105
3106 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
3107 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
3108 (charfoo, intfoo): Define full prototype.
3109 * gdb.base/ptype1.c (charfoo): Define full prototype.
3110 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
3111 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
3112
c3e5138d
PA
31132020-09-17 Pedro Alves <pedro@palves.net>
3114
3115 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
3116 Don't define.
3117 (utf_32_string): Compile for both C and C++.
3118 * gdb.base/charset.exp: Use "print /d".
3119
151fdbad
PA
31202020-09-17 Pedro Alves <pedro@palves.net>
3121
3122 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
3123 (nullptr): Rename to ...
3124 (null_ptr): ... this.
3125 * gdb.base/watchpoint.exp: Adjust to rename.
3126
18a25b64
PA
31272020-09-17 Pedro Alves <pedro@palves.net>
3128
3129 * gdb.base/printcmds.c (three, flag_enum_without_zero)
3130 (three_not_flag): Add casts.
3131
11fac337
PA
31322020-09-17 Pedro Alves <pedro@palves.net>
3133
3134 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
3135 char array.
3136 (main): Add references to Barrier, TestStrings, TestStringsH and
3137 TestStringsW.
3138 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
3139 and expect a full prototype in C++.
3140
52626c58
PA
31412020-09-17 Pedro Alves <pedro@palves.net>
3142
3143 * gdb.base/nested-addr.c (main): Add cast.
3144 * gdb.base/nested-addr.exp: Use "print /d".
3145
52bb0902
PA
31462020-09-17 Pedro Alves <pedro@palves.net>
3147
3148 * gdb.base/break.exp (func): New. Use it throughout when
3149 expecting a function name.
3150
73e18ac9
PA
31512020-09-17 Pedro Alves <pedro@palves.net>
3152
3153 * gdb.base/display.exp: Issue "set print asm-demangle on".
3154
c8b18808
PA
31552020-09-17 Pedro Alves <pedro@palves.net>
3156
3157 * gdb.base/find.c: Include <string.h>.
3158 (init_bufs): Add cast.
3159 * gdb.base/find.exp: Issue "set print asm-demangle on".
3160
fe830662
TT
31612020-09-16 Tom Tromey <tromey@adacore.com>
3162
3163 PR gdb/26598:
3164 * gdb.base/skipcxx.exp: New file.
3165 * gdb.base/skipcxx.cc: New file.
3166
945ff6e2
TV
31672020-09-16 Tom de Vries <tdevries@suse.de>
3168
3169 PR testsuite/26617
3170 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
3171 WITH_DEBUG_SECTIONS is defined.
3172 (xstr, str): New macro.
3173 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
3174 to get start and size of _Dmain.
3175 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
3176 using additional_flags.
3177
da1df1db
TBA
31782020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3179
3180 * gdb.base/bp-cmds-sourced-script.c: New file.
3181 * gdb.base/bp-cmds-sourced-script.exp: New test.
3182 * gdb.base/bp-cmds-sourced-script.gdb: New file.
3183
337882d4
TV
31842020-09-16 Tom de Vries <tdevries@suse.de>
3185
3186 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
3187 get the gdb prompt after issuing "monitor exit".
3188
7361f908
TV
31892020-09-16 Tom de Vries <tdevries@suse.de>
3190
3191 PR testsuite/26624
3192 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
3193
4d91ddd3
TV
31942020-09-16 Tom de Vries <tdevries@suse.de>
3195
3196 PR testsuite/26618
3197 * gdb.tui/new-layout.exp: Escape unbalanced braces.
3198
08cc37dd
TT
31992020-09-15 Tom Tromey <tromey@adacore.com>
3200
3201 PR rust/26197:
3202 * lib/rust-support.exp (rust_llvm_version): New proc.
3203 * gdb.rust/simple.exp: Check rust_llvm_version.
3204
ee6372f2
TV
32052020-09-14 Tom de Vries <tdevries@suse.de>
3206
3207 * gdb.rust/traits.exp: Fix PATH warning.
3208
dc3a371e
PA
32092020-09-13 Pedro Alves <pedro@palves.net>
3210
3211 * gdb.base/catch-follow-exec.c (main): Add explicit return
3212 statement.
3213 * gdb.base/catch-signal.c (main): Likewise.
3214 * gdb.base/condbreak-call-false.c (main): Likewise.
3215 * gdb.base/consecutive.c (main): Add explicit return
3216 statement and return type.
3217 * gdb.base/cursal.c (main): Add explicit return statement.
3218 * gdb.base/cvexpr.c (main): Likewise.
3219 * gdb.base/display.c (main): Add explicit return statement and
3220 return type.
3221 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
3222 * gdb.base/endianity.c (main): Likewise.
3223 * gdb.base/execd-prog.c (main): Likewise.
3224 * gdb.base/gdb1090.c (main): Likewise.
3225 * gdb.base/info_qt.c (main): Likewise.
3226 * gdb.base/lineinc.c (main): Likewise.
3227 * gdb.base/load-command.c (main): Likewise.
3228 * gdb.base/macscp1.c (main): Likewise.
3229 * gdb.base/pr10179-a.c (main): Likewise.
3230 * gdb.base/quit-live.c (main): Likewise.
3231 * gdb.base/scope0.c (main): Likewise.
3232 * gdb.base/settings.c (main): Likewise.
3233 * gdb.base/stack-checking.c (main): Return int.
3234 * gdb.base/varargs.c (main): Add explicit return statement.
3235 * gdb.cp/ambiguous.cc (main): Likewise.
3236 * gdb.cp/anon-struct.cc (main): Likewise.
3237 * gdb.cp/anon-union.cc (main): Likewise.
3238 * gdb.cp/bool.cc (main): Likewise.
3239 * gdb.cp/bs15503.cc (main): Likewise.
3240 * gdb.cp/cplusfuncs.cc (main): Likewise.
3241 * gdb.cp/cttiadd.cc (main): Likewise.
3242 * gdb.cp/extern-c.cc (main): Likewise.
3243 * gdb.cp/filename.cc (main): Likewise.
3244 * gdb.cp/formatted-ref.cc (main): Likewise.
3245 * gdb.cp/mb-ctor.cc (main): Likewise.
3246 * gdb.cp/member-ptr.cc (main): Likewise.
3247 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
3248 * gdb.cp/overload-const.cc (main): Likewise.
3249 * gdb.cp/paren-type.cc (main): Likewise.
3250 * gdb.cp/parse-lang.cc (main): Likewise.
3251 * gdb.cp/pr-1023.cc (main): Likewise.
3252 * gdb.cp/psmang1.cc (main): Likewise.
3253 * gdb.cp/readnow-language.cc (main): Likewise.
3254 * gdb.cp/ref-params.cc (main): Likewise.
3255 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
3256 * gdb.cp/virtbase2.cc (main): Likewise.
3257 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
3258 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
3259 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
3260 * gdb.mi/mi-console.c (main): Likewise.
3261 * gdb.mi/mi-read-memory.c (main): Likewise.
3262 * gdb.modula2/multidim.c (main): Likewise.
3263 * gdb.opt/inline-small-func.c (main): Likewise.
3264 * gdb.python/py-rbreak.c (main): Likewise.
3265 * gdb.stabs/exclfwd1.c (main): Likewise.
3266 * gdb.trace/qtro.c (main): Likewise.
3267
af26601c
PA
32682020-09-13 Pedro Alves <pedro@palves.net>
3269
3270 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
3271 instead of getenv.
3272
2f4b83cd
PA
32732020-09-13 Pedro Alves <pedro@palves.net>
3274
3275 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
3276 instead of spawning GDB with remote_spawn.
3277 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
3278 gdb_spawn instead of spawning GDB with remote_spawn.
3279
c49da0e4
PA
32802020-09-13 Pedro Alves <pedro@palves.net>
3281
3282 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
3283 file and add calls to first and second.
3284 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
3285 add call to f.
3286
6791b117
PA
32872020-09-13 Pedro Alves <pedro@palves.net>
3288
3289 * gdb.mi/mi-break-qualified.cc: New file.
3290 * gdb.mi/mi-break-qualified.exp: New file.
3291 * lib/mi-support.exp (mi_create_breakpoint_multi)
3292 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
3293 procedures.
3294 (mi_create_breakpoint_1): New, factored out from
3295 mi_create_breakpoint.
3296
3b8d4c5c
PA
32972020-09-13 Pedro Alves <pedro@palves.net>
3298
3299 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3300 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3301 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3302 (register_class): Delete.
3303 (main): Don't call register_class.
3304
d5f96005
PA
33052020-09-13 Pedro Alves <pedro@palves.net>
3306
3307 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3308 (do_tests): Remove "calling method for small class" test.
3309 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3310 (register_class): Delete.
3311 (main): Don't call register_class.
3312 * gdb.cp/call-method-register.exp: New file, based on bits removed
3313 from classes.exp.
3314 * gdb.cp/call-method-register.cc: New file, based on bits removed
3315 from classes.cc.
3316
77f2120b
PA
33172020-09-13 Pedro Alves <pedro@palves.net>
3318
3319 * gdb.base/msym-bp-2.c: New.
3320 * gdb.base/msym-bp-shl-lib.c: New file.
3321 * gdb.base/msym-bp-shl-main-2.c: New file.
3322 * gdb.base/msym-bp-shl-main.c: New file.
3323 * gdb.base/msym-bp-shl.exp: New file.
3324 * gdb.base/msym-bp.c: New file.
3325 * gdb.base/msym-bp.exp: New file.
3326
32aea73e
JB
33272020-09-13 Joel Brobecker <brobecker@adacore.com>
3328
3329 * gdb.base/default.exp: Change $_gdb_major to 11.
3330
2a67f09d
FW
33312020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3332 Felix Willgerodt <Felix.Willgerodt@intel.com>
3333
3334 * x86-avx512bf16.c: New file.
3335 * x86-avx512bf16.exp: Likewise.
3336 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3337
ad570dd7
TV
33382020-09-11 Tom de Vries <tdevries@suse.de>
3339
3340 PR exp/26602
3341 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3342
a56f7391
TBA
33432020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3344
3345 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3346
918619e5
AM
33472020-09-10 Alan Modra <amodra@gmail.com>
3348
3349 PR 26597
3350 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3351
cac1e71d
TV
33522020-09-08 Tom de Vries <tdevries@suse.de>
3353
3354 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3355 after gdb_starti_cmd.
3356
c5cd900e
AKS
33572020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3358
3359 * lib/fortran.exp (fortran_complex8): New proc.
3360 (fortran_complex16): New proc.
3361 * gdb.fortran/complex.exp: Use routines from fortran.exp
3362 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3363 * gdb.fortran/vla-ptr-info.exp: Likewise.
3364
8f5c6526
TV
33652020-09-03 Tom de Vries <tdevries@suse.de>
3366
3367 PR breakpoint/26546
3368 * gdb.base/label-without-address.exp: Runto main first.
3369
02c6f3f1
TT
33702020-09-02 Tom Tromey <tromey@adacore.com>
3371
3372 * gdb.ada/mi_var_access.exp: Test children of access variable.
3373 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3374 * gdb.ada/mi_var_array.exp: Update.
3375
efe24f05
KB
33762020-08-31 Kevin Buettner <kevinb@redhat.com>
3377
3378 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3379 on docker w/ AUFS storage driver.
3380
973695d6
KB
33812020-08-31 Kevin Buettner <kevinb@redhat.com>
3382
3383 * gdb.base/corefile2.exp (renamed binfile): New tests.
3384
f3bd50f1
SM
33852020-08-31 Simon Marchi <simon.marchi@efficios.com>
3386
3387 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3388
22b9b4b0
SL
33892020-08-31 Simon Marchi <simon.marchi@efficios.com>
3390
3391 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3392 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3393
8efaf6b3
SM
33942020-08-31 Simon Marchi <simon.marchi@efficios.com>
3395
3396 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3397 output, printing a "not saved" value from history and printing a
3398 convenience variable created from a "not saved" value.
3399
e840f2e3
TV
34002020-08-31 Tom de Vries <tdevries@suse.de>
3401
3402 * gdb.base/eh_return.exp: Use nopie.
3403
8f57f343
PA
34042020-08-28 Pedro Alves <pedro@palves.net>
3405
3406 * gdb.base/advance-until-multiple-locations.exp
3407 (advance_overload, until_overload): Adjust to match the
3408 frame/function header instead of the source line text.
3409
626d2320
TV
34102020-08-28 Tom de Vries <tdevries@suse.de>
3411
3412 * gdb.base/label-without-address.c: New test.
3413 * gdb.base/label-without-address.exp: New file.
3414
df631783
PA
34152020-08-27 Pedro Alves <pedro@palves.net>
3416
3417 PR gdb/26523
3418 PR gdb/26524
3419 * gdb.base/advance-until-multiple-locations.cc: New.
3420 * gdb.base/advance-until-multiple-locations.exp: New.
3421
48b076bb
SM
34222020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3423
3424 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3425
c2015ce4
AB
34262020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3427
3428 * gdb.arch/amd64-byte.exp: Make test names unique, use
3429 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3430 * gdb.arch/amd64-dword.exp: Likewise.
3431 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3432 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3433 unique.
3434 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3435 * gdb.arch/amd64-word.exp: Make test names unique, use
3436 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3437 * gdb.arch/i386-byte.exp: Make test names unique, use
3438 gdb_breakpoint.
3439 * gdb.arch/i386-word.exp: Likewise.
3440
995d3a19
SV
34412020-08-25 Shahab Vahedi <shahab@synopsys.com>
3442
3443 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3444
8cac2b31
SM
34452020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3446
3447 PR gdb/26532
3448 * gdb.threads/stepi-random-signal.exp: Update pattern.
3449
2bc19622
SM
34502020-08-25 Simon Marchi <simon.marchi@efficios.com>
3451
3452 PR gdb/26532
3453 * gdb.base/ui-redirect.exp: Update pattern.
3454
b04aa1fc
GB
34552020-08-25 Gary Benson <gbenson@redhat.com>
3456
3457 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3458 when compiling with clang.
8571e9c8 3459 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 3460
9f68b453
GB
34612020-08-25 Gary Benson <gbenson@redhat.com>
3462
3463 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3464 Add additional_flags=-Wno-inaccessible-base when compiling
3465 with GCC >= 10.1 or clang. Add additional_flags=-w when
3466 compiling with GCC < 10.
3467
3945d2d7
GM
34682020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3469
3470 PR m2/26372
fc5d6901
SM
3471 * gdb.modula2/multidim.c: New file.
3472 * gdb.modula2/multidim.exp: New file.
3945d2d7 3473
60122dbe
SM
34742020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3475
3476 * lib/gdb.exp (runto): Always emit fail on internal error.
3477
1eb8556f
SM
34782020-08-24 Simon Marchi <simon.marchi@efficios.com>
3479
3480 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3481 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3482 Likewise.
3483 * gdb.threads/stepi-random-signal.exp: Likewise.
3484
33bf4c5c
TBA
34852020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3486
3487 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3488 * gdb.trace/strace.exp: Ditto.
3489
c2fd7fae
AKS
34902020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3491
3492 * gdb.fortran/vla-type.exp: Skip commands not required for
3493 the Flang compiled binaries after prologue fix.
3494
326afb72
TT
34952020-08-17 Tom de Vries <tdevries@suse.de>
3496 Tom Tromey <tromey@adacore.com>
3497
3498 PR rust/26197:
3499 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3500
3ae7ab99
TT
35012020-08-17 Tom Tromey <tromey@adacore.com>
3502
3503 * gdb.ada/mi_var_access.exp: New file.
3504 * gdb.ada/mi_var_access/mi_access.adb: New file.
3505 * gdb.ada/mi_var_access/pck.adb: New file.
3506 * gdb.ada/mi_var_access/pck.ads: New file.
3507
f569c1c5
TV
35082020-08-16 Tom de Vries <tdevries@suse.de>
3509
3510 PR gdb/25350
3511 * gdb.base/eh_return.c: New test.
3512 * gdb.base/eh_return.exp: New file.
3513
3d11c30a
TV
35142020-08-15 Tom de Vries <tdevries@suse.de>
3515
3516 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3517 (mixed_func_1d_): Use fortran_charlen_t in decl.
3518
547ce8f0
TV
35192020-08-15 Tom de Vries <tdevries@suse.de>
3520
3521 PR backtrace/26390
3522 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3523 Update expected pattern.
3524
a54a7f13
PA
35252020-08-13 Pedro Alves <pedro@palves.net>
3526
3527 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3528 * gdb.fortran/library-module.exp: Likewise.
3529 * gdb.fortran/logical.exp: Likewise.
3530 * gdb.fortran/module.exp: Likewise.
3531 * gdb.fortran/print_type.exp: Likewise.
3532 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3533 * gdb.fortran/vla-datatypes.exp: Likewise.
3534 * gdb.fortran/vla-history.exp: Likewise.
3535 * gdb.fortran/vla-ptr-info.exp: Likewise.
3536 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3537 * gdb.fortran/vla-ptype.exp: Likewise.
3538 * gdb.fortran/vla-sizeof.exp: Likewise.
3539 * gdb.fortran/vla-type.exp: Likewise.
3540 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3541 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3542 * gdb.fortran/vla-value-sub.exp: Likewise.
3543 * gdb.fortran/vla-value.exp: Likewise.
3544
7a82e903
PA
35452020-08-13 Pedro Alves <pedro@palves.net>
3546
3547 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3548 * gdb.ada/access_to_packed_array.exp: Likewise.
3549 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3550 * gdb.ada/addr_arith.exp: Likewise.
3551 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3552 * gdb.ada/arr_arr.exp: Likewise.
3553 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3554 * gdb.ada/array_bounds.exp: Likewise.
3555 * gdb.ada/array_of_variable_length.exp: Likewise.
3556 * gdb.ada/array_ptr_renaming.exp: Likewise.
3557 * gdb.ada/array_subscript_addr.exp: Likewise.
3558 * gdb.ada/arraydim.exp: Likewise.
3559 * gdb.ada/arrayparam.exp: Likewise.
3560 * gdb.ada/arrayptr.exp: Likewise.
3561 * gdb.ada/assign_1.exp: Likewise.
3562 * gdb.ada/assign_arr.exp: Likewise.
3563 * gdb.ada/atomic_enum.exp: Likewise.
3564 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3565 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3566 * gdb.ada/bias.exp: Likewise.
3567 * gdb.ada/boolean_expr.exp: Likewise.
3568 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3569 * gdb.ada/bp_enum_homonym.exp: Likewise.
3570 * gdb.ada/bp_inlined_func.exp: Likewise.
3571 * gdb.ada/bp_on_var.exp: Likewise.
3572 * gdb.ada/bp_range_type.exp: Likewise.
3573 * gdb.ada/bp_reset.exp: Likewise.
3574 * gdb.ada/call_pn.exp: Likewise.
3575 * gdb.ada/catch_assert_if.exp: Likewise.
3576 * gdb.ada/catch_ex.exp: Likewise.
3577 * gdb.ada/catch_ex_std.exp: Likewise.
3578 * gdb.ada/char_enum.exp: Likewise.
3579 * gdb.ada/char_param.exp: Likewise.
3580 * gdb.ada/complete.exp: Likewise.
3581 * gdb.ada/cond_lang.exp: Likewise.
3582 * gdb.ada/convvar_comp.exp: Likewise.
3583 * gdb.ada/dgopt.exp: Likewise.
3584 * gdb.ada/disc_arr_bound.exp: Likewise.
3585 * gdb.ada/display_nested.exp: Likewise.
3586 * gdb.ada/dot_all.exp: Likewise.
3587 * gdb.ada/dyn_loc.exp: Likewise.
3588 * gdb.ada/dyn_stride.exp: Likewise.
3589 * gdb.ada/excep_handle.exp: Likewise.
3590 * gdb.ada/expr_delims.exp: Likewise.
3591 * gdb.ada/expr_with_funcall.exp: Likewise.
3592 * gdb.ada/exprs.exp: Likewise.
3593 * gdb.ada/fin_fun_out.exp: Likewise.
3594 * gdb.ada/fixed_cmp.exp: Likewise.
3595 * gdb.ada/formatted_ref.exp: Likewise.
3596 * gdb.ada/frame_arg_lang.exp: Likewise.
3597 * gdb.ada/frame_args.exp: Likewise.
3598 * gdb.ada/fullname_bp.exp: Likewise.
3599 * gdb.ada/fun_addr.exp: Likewise.
3600 * gdb.ada/fun_in_declare.exp: Likewise.
3601 * gdb.ada/fun_overload_menu.exp: Likewise.
3602 * gdb.ada/fun_renaming.exp: Likewise.
3603 * gdb.ada/funcall_char.exp: Likewise.
3604 * gdb.ada/funcall_param.exp: Likewise.
3605 * gdb.ada/funcall_ptr.exp: Likewise.
3606 * gdb.ada/funcall_ref.exp: Likewise.
3607 * gdb.ada/homonym.exp: Likewise.
3608 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3609 * gdb.ada/info_auto_lang.exp: Likewise.
3610 * gdb.ada/info_exc.exp: Likewise.
3611 * gdb.ada/info_types.exp: Likewise.
3612 * gdb.ada/int_deref.exp: Likewise.
3613 * gdb.ada/interface.exp: Likewise.
3614 * gdb.ada/iwide.exp: Likewise.
3615 * gdb.ada/lang_switch.exp: Likewise.
3616 * gdb.ada/length_cond.exp: Likewise.
3617 * gdb.ada/maint_with_ada.exp: Likewise.
3618 * gdb.ada/mi_catch_assert.exp: Likewise.
3619 * gdb.ada/mi_catch_ex.exp: Likewise.
3620 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3621 * gdb.ada/mi_dyn_arr.exp: Likewise.
3622 * gdb.ada/mi_ex_cond.exp: Likewise.
3623 * gdb.ada/mi_exc_info.exp: Likewise.
3624 * gdb.ada/mi_interface.exp: Likewise.
3625 * gdb.ada/mi_prot.exp: Likewise.
3626 * gdb.ada/mi_ref_changeable.exp: Likewise.
3627 * gdb.ada/mi_string_access.exp: Likewise.
3628 * gdb.ada/mi_task_arg.exp: Likewise.
3629 * gdb.ada/mi_task_info.exp: Likewise.
3630 * gdb.ada/mi_var_array.exp: Likewise.
3631 * gdb.ada/mi_var_union.exp: Likewise.
3632 * gdb.ada/mi_variant.exp: Likewise.
3633 * gdb.ada/minsyms.exp: Likewise.
3634 * gdb.ada/mod_from_name.exp: Likewise.
3635 * gdb.ada/nested.exp: Likewise.
3636 * gdb.ada/null_array.exp: Likewise.
3637 * gdb.ada/optim_drec.exp: Likewise.
3638 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3639 * gdb.ada/packed_array_assign.exp: Likewise.
3640 * gdb.ada/packed_tagged.exp: Likewise.
3641 * gdb.ada/pp-rec-component.exp: Likewise.
3642 * gdb.ada/print_chars.exp: Likewise.
3643 * gdb.ada/print_pc.exp: Likewise.
3644 * gdb.ada/ptr_typedef.exp: Likewise.
3645 * gdb.ada/ptype_arith_binop.exp: Likewise.
3646 * gdb.ada/ptype_array.exp: Likewise.
3647 * gdb.ada/ptype_field.exp: Likewise.
3648 * gdb.ada/ptype_tagged_param.exp: Likewise.
3649 * gdb.ada/ptype_union.exp: Likewise.
3650 * gdb.ada/py_range.exp: Likewise.
3651 * gdb.ada/py_taft.exp: Likewise.
3652 * gdb.ada/rdv_wait.exp: Likewise.
3653 * gdb.ada/rec_comp.exp: Likewise.
3654 * gdb.ada/rec_return.exp: Likewise.
3655 * gdb.ada/ref_param.exp: Likewise.
3656 * gdb.ada/ref_tick_size.exp: Likewise.
3657 * gdb.ada/rename_subscript_param.exp: Likewise.
3658 * gdb.ada/repeat_dyn.exp: Likewise.
3659 * gdb.ada/same_component_name.exp: Likewise.
3660 * gdb.ada/same_enum.exp: Likewise.
3661 * gdb.ada/scalar_storage.exp: Likewise.
3662 * gdb.ada/set_wstr.exp: Likewise.
3663 * gdb.ada/small_reg_param.exp: Likewise.
3664 * gdb.ada/str_binop_equal.exp: Likewise.
3665 * gdb.ada/str_ref_cmp.exp: Likewise.
3666 * gdb.ada/str_uninit.exp: Likewise.
3667 * gdb.ada/sub_variant.exp: Likewise.
3668 * gdb.ada/sym_print_name.exp: Likewise.
3669 * gdb.ada/taft_type.exp: Likewise.
3670 * gdb.ada/tagged.exp: Likewise.
3671 * gdb.ada/tagged_access.exp: Likewise.
3672 * gdb.ada/task_bp.exp: Likewise.
3673 * gdb.ada/task_switch_in_core.exp: Likewise.
3674 * gdb.ada/tasks.exp: Likewise.
3675 * gdb.ada/tick_last_segv.exp: Likewise.
3676 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3677 * gdb.ada/type_coercion.exp: Likewise.
3678 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3679 * gdb.ada/unchecked_union.exp: Likewise.
3680 * gdb.ada/uninitialized_vars.exp: Likewise.
3681 * gdb.ada/var_arr_attrs.exp: Likewise.
3682 * gdb.ada/var_arr_typedef.exp: Likewise.
3683 * gdb.ada/var_rec_arr.exp: Likewise.
3684 * gdb.ada/variant-record.exp: Likewise.
3685 * gdb.ada/variant.exp: Likewise.
3686 * gdb.ada/variant_record_packed_array.exp: Likewise.
3687 * gdb.ada/varsize_limit.exp: Likewise.
3688 * gdb.ada/whatis_array_val.exp: Likewise.
3689 * gdb.ada/widewide.exp: Likewise.
3690 * gdb.ada/win_fu_syms.exp: Likewise.
3691
36922020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3693
3694 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3695
10c381b5
AB
36962020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3697
3698 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3699 unset the array variable.
3700
8f34b746
TV
37012020-08-03 Tom de Vries <tdevries@suse.de>
3702
3703 PR symtab/26333
3704 * lib/dwarf.exp (DW_LNE_user): New proc.
3705 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3706 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3707
0245e136
KB
37082020-07-31 Kevin Buettner <kevinb@redhat.com>
3709
3710 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3711 to 'uintptr_t'
3712 (inttypes.h): Include.
3713
9ef1ec5d
KB
37142020-07-31 Kevin Buettner <kevinb@redhat.com>
3715
3716 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3717 (C5_24k): Delete.
3718 (C5_8k, C5_64k, C5_256k): New macros.
3719 (buf_ro): Allocate 256 KiB of initialized data.
3720
4c55e970
TBA
37212020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3722
3723 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3724 that attempt to overwrite an existing condition with a condition
3725 that fails parsing and also with a condition that parses fine
3726 but contains junk at the end.
3727
1e620590
TBA
37282020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3729
3730 * gdb.base/condbreak-bad.c: New test.
3731 * gdb.base/condbreak-bad.exp: New file.
3732
e12dcc50
TV
37332020-07-30 Tom de Vries <tdevries@suse.de>
3734
3735 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3736 out of ...
3737 (GDBInfoModuleSymbols::check_entry): ... here.
3738 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3739 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3740 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3741
6cc64caa
TV
37422020-07-30 Tom de Vries <tdevries@suse.de>
3743
3744 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3745 "__class_some_module_Number_t" optional.
3746
90fd07fc
TV
37472020-07-29 Tom de Vries <tdevries@suse.de>
3748
3749 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3750 multiple locations.
3751
f5c79e97
TV
37522020-07-29 Tom de Vries <tdevries@suse.de>
3753
3754 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3755 rather than function name.
3756
f75a0693
AB
37572020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3758
3759 PR symtab/26270:
3760 * gdb.cp/disasm-func-name.cc: New file.
3761 * gdb.cp/disasm-func-name.exp: New file.
3762
4888741a
TT
37632020-07-28 Tom Tromey <tromey@adacore.com>
3764
3765 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3766 'varval' location.
3767
43d5901d
AB
37682020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3769
3770 * gdb.python/py-unwind.py: Update to make use of a register
3771 descriptor.
3772
14fa8fb3
AB
37732020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3774
3775 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3776
e79eb02f
AB
37772020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3778
3779 PR fortran/23051
3780 PR fortran/26139
3781 * gdb.fortran/class-allocatable-array.exp: New file.
3782 * gdb.fortran/class-allocatable-array.f90: New file.
3783 * gdb.fortran/pointer-to-pointer.exp: New file.
3784 * gdb.fortran/pointer-to-pointer.f90: New file.
3785
876518dd
TV
37862020-07-25 Tom de Vries <tdevries@suse.de>
3787
3788 PR symtab/26243
3789 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3790 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3791
6dcfb80a
TV
37922020-07-24 Tom de Vries <tdevries@suse.de>
3793
3794 PR testsuite/26293
3795 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3796
e7bc9db8
PA
37972020-07-23 Pedro Alves <pedro@palves.net>
3798
3799 * gdb.server/server-kill.exp (prepare): New, factored out from the
3800 top level.
3801 (kill_server): New.
3802 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3803 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3804
78344df7
AB
38052020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3806
3807 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3808
25dfed24
SL
38092020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3810
3811 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3812 Initialize to empty string at top level.
3813 (gdb_wrapper_init): Revert check for file existence on build.
3814 Build the wrapper in its default place, not a build-specific
3815 location. When host == build, make the pathname absolute.
3816 (gdb_compile): Delete leftover declaration of
3817 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3818 string instead of uninitialized.
3819
7da515fd
KB
38202020-07-22 Kevin Buettner <kevinb@redhat.com>
3821
3822 * gdb.base/corefile2.exp: New file.
3823 * gdb.base/coremaker2.exp: New file.
3824
9c5ec5c2
KB
38252020-07-22 Kevin Buettner <kevinb@redhat.com>
3826
3827 * gdb.base/coredump-filter.exp: Add second
3828 non-Private-Shared-Anon-File test.
3829 (test_disasm): Rename binfile for test which is expected
3830 to fail.
3831
f9e233c9
KB
38322020-07-22 Kevin Buettner <kevinb@redhat.com>
3833
3834 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3835 data in core file".
3836 * gdb.base/coremaker.c (buf2ro): New global.
3837 (mmapdata): Add a read-only mmap mapping.
3838
94c265d7
KB
38392020-07-22 Kevin Buettner <kevinb@redhat.com>
3840
3841 PR corefiles/25631
3842 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3843 New test.
3844 * gdb.base/coremaker.c (buf3): New global.
3845 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3846 flags.
3847
38482020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3849
3850 * gdb.base/coremaker.c (filler_ro): New global constant.
3851
32fa152e
TT
38522020-07-22 Tom Tromey <tromey@adacore.com>
3853
3854 * gdb.ada/mi_prot.exp: New file.
3855 * gdb.ada/mi_prot/pkg.adb: New file.
3856 * gdb.ada/mi_prot/pkg.ads: New file.
3857 * gdb.ada/mi_prot/prot.adb: New file.
3858
c8474dc3
TBA
38592020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3860
3861 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3862 loads two JITers.
3863
baf8791e
AB
38642020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3865
3866 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3867
f7306dac
AB
38682020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3869
3870 * gdb.python/py-arch-reg-names.exp: Additional tests.
3871
6d3d6e4b
TV
38722020-07-21 Tom de Vries <tdevries@suse.de>
3873
3874 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3875 breakpoint locations".
3876 * gdb.reverse/solib-reverse.exp: Same.
3877
803d0592
TV
38782020-07-21 Tom de Vries <tdevries@suse.de>
3879
3880 * gdb.reverse/step-reverse.c (callee): Merge statements.
3881
e9bdc510
TV
38822020-07-21 Tom de Vries <tdevries@suse.de>
3883
3884 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3885 line numbers for some variables.
3886
f0f9e75a
TV
38872020-07-21 Tom de Vries <tdevries@suse.de>
3888
3889 * gdb.opt/inline-locals.c (init_array): New func.
3890 (func1): Use init_array.
3891 * gdb.opt/inline-locals.exp: Update pattern.
3892
bd460ecb
TV
38932020-07-21 Tom de Vries <tdevries@suse.de>
3894
3895 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3896 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3897
ae5369e7
LC
38982020-07-20 Ludovic Courtès <ludo@gnu.org>
3899
3900 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3901 * gdb.guile/types-module.exp: Remove "ERROR:" from
3902 regexps since Guile 3.0 no longer prints that.
3903
68cf161c
LC
39042020-07-20 Ludovic Courtès <ludo@gnu.org>
3905
3906 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3907 error regexp to match on Guile 2.2.
3908
c14b4913
GB
39092020-07-20 Gary Benson <gbenson@redhat.com>
3910
3911 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3912 with clang.
3913
b243ba58
TV
39142020-07-20 Tom de Vries <tdevries@suse.de>
3915
3916 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3917 (omp_set_lock_in_order): New function.
3918 (single_scope, multi_scope, nested_func, nested_parallel): Use
3919 omp_set_lock_in_order and omp_unset_lock.
3920 (main): Init and destroy lock and lock2.
3921
c06ad8b5
TV
39222020-07-20 Tom de Vries <tdevries@suse.de>
3923
3924 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3925
6e22f117
TV
39262020-07-20 Tom de Vries <tdevries@suse.de>
3927
3928 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3929
33176ea7
TV
39302020-07-17 Tom de Vries <tdevries@suse.de>
3931
3932 * gdb.base/valgrind-infcall-2.c: New test.
3933 * gdb.base/valgrind-infcall-2.exp: New file.
3934 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3935
90c3ec2d
TV
39362020-07-17 Tom de Vries <tdevries@suse.de>
3937
3938 * gdb.dlang/circular.c (found): Use found_label as label name.
3939 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3940 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3941 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3942 * gdb.dwarf2/ada-linkage-name.exp: Same.
3943 * gdb.dwarf2/arr-subrange.exp: Same.
3944 * gdb.dwarf2/atomic-type.exp: Same.
3945 * gdb.dwarf2/comp-unit-lang.exp: Same.
3946 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3947 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3948 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3949 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3950 * gdb.dwarf2/implptr-64bit.exp: Same.
3951 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3952 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3953 * gdb.dwarf2/imported-unit.exp: Same.
3954 * gdb.dwarf2/main-subprogram.exp: Same.
3955 * gdb.dwarf2/missing-type-name.exp: Same.
3956 * gdb.dwarf2/nonvar-access.exp: Same.
3957 * gdb.dwarf2/struct-with-sig.exp: Same.
3958 * gdb.dwarf2/typedef-void-finish.exp: Same.
3959 * gdb.dwarf2/void-type.exp: Same.
3960
10da644d
TV
39612020-07-17 Tom de Vries <tdevries@suse.de>
3962
3963 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3964 src parameter.
3965 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3966 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3967 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3968 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3969 * gdb.dwarf2/dwz.exp: Same.
3970 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3971 * gdb.dwarf2/implref-array.exp: Same.
3972 * gdb.dwarf2/implref-const.exp: Same.
3973 * gdb.dwarf2/implref-global.exp: Same.
3974 * gdb.dwarf2/implref-struct.exp: Same.
3975 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3976 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3977 * gdb.dwarf2/var-access.exp: Same.
3978 * gdb.dwarf2/varval.exp: Same.
3979 * gdb.trace/entry-values.exp: Same.
3980
315e6afc
TV
39812020-07-17 Tom de Vries <tdevries@suse.de>
3982
3983 * lib/dwarf.exp (Dwarf::extern): Remove.
3984 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3985 * gdb.dlang/circular.exp: Same.
3986 * gdb.dwarf2/comp-unit-lang.exp: Same.
3987 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3988 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3989 * gdb.dwarf2/dwz.exp: Same.
3990 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3991 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3992 * gdb.dwarf2/imported-unit.exp: Same.
3993 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3994
5597c940
SL
39952020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3996
3997 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3998 Use double quotes instead of single quotes.
3999
d0ce17d8
CT
40002020-07-16 Caroline Tice <cmtice@google.com>
4001
4002 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
4003 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
4004
853772cc
TV
40052020-07-16 Tom de Vries <tdevries@suse.de>
4006
4007 * lib/dwarf.exp (program): Initialize _line.
4008 (DW_LNE_end_sequence): Reinitialize _line.
4009 (DW_LNS_advance_line): Update _line.
4010 (line): New proc.
4011 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
4012 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
4013 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
4014 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
4015 * gdb.dwarf2/dw2-is-stmt.exp: Same.
4016 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4017
fe07b572
AB
40182020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4019
4020 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
4021 generic.
4022
52781cce
TV
40232020-07-15 Tom de Vries <tdevries@suse.de>
4024
4025 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
4026 is_amd64_regs_target.
4027
3dcc261c
AB
40282020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4029
4030 * gdb.fortran/ptype-on-functions.exp: Add more tests.
4031 * gdb.fortran/ptype-on-functions.f90: Likewise.
4032
054a0959
SM
40332020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
4034
4035 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
4036 values in documentation for addr_size to 4 and 8.
4037
ccb9eba6
AB
40382020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
4039
4040 * gdb.arch/amd64-osabi.exp: Update.
4041 * gdb.arch/arm-disassembler-options.exp: Update.
4042 * gdb.arch/powerpc-disassembler-options.exp: Update.
4043 * gdb.arch/ppc64-symtab-cordic.exp: Update.
4044 * gdb.arch/s390-disassembler-options.exp: Update.
4045 * gdb.base/all-architectures.exp.tcl: Update.
4046 * gdb.base/attach-pie-noexec.exp: Update.
4047 * gdb.base/catch-syscall.exp: Update.
4048 * gdb.xml/tdesc-arch.exp: Update.
4049
025a39a7
TV
40502020-07-14 Tom de Vries <tdevries@suse.de>
4051
4052 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
4053 (local_gettid): ... this.
4054 (fn): Update.
4055
74e4b667
SL
40562020-07-13 Sandra Loosemore <sandra@codesourcery.com>
4057
4058 * gdb.base/info_sources.exp: Skip directory match tests on
4059 remote hosts.
4060
f413dd74
GB
40612020-07-13 Gary Benson <gbenson@redhat.com>
4062
4063 * gdb.base/savedregs.exp (caller): Use parentheses to
4064 make expected expression evaluation ordering explicit.
4065
915771bb
GB
40662020-07-13 Gary Benson <gbenson@redhat.com>
4067
4068 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
4069
2a122642
GB
40702020-07-13 Gary Benson <gbenson@redhat.com>
4071
4072 * gdb.base/bigcore.c (main): Use a volatile pointer when
4073 attempting to trigger a SIGSEGV.
4074 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
4075 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
4076 * gdb.base/savedregs.c (thrower): Likewise.
4077 * gdb.mi/mi-syn-frame.c (bar): Likewise.
4078
3f00c730
GB
40792020-07-13 Gary Benson <gbenson@redhat.com>
4080
4081 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
4082 defining and using VLA structure fields into...
4083 * gdb.base/vla-struct-fields.c: New file.
4084 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
4085 tests into...
4086 * gdb.base/vla-struct-fields.exp: New file.
4087
963eeee4
TV
40882020-07-13 Tom de Vries <tdevries@suse.de>
4089
4090 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
4091 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
4092 * gdb.base/gold-gdb-index.exp: Same.
4093 * gdb.base/morestack.exp: Same.
4094
0ed35c9a
DX
40952020-07-11 Daniel Xu <dxu@dxuuu.xyz>
4096
4097 PR rust/26121
4098 * gdb.rust/modules.rs: Prevent linker from discarding test
4099 symbol.
4100
4fdba23d
PA
41012020-07-10 Pedro Alves <pedro@palves.net>
4102
4103 PR gdb/26199
4104 * gdb.multi/multi-target.c (exit_thread): New.
4105 (thread_start): Break loop if EXIT_THREAD.
4106 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
4107 (top level) Call test_no_resumed.
4108
15f3b077
TT
41092020-07-08 Tom Tromey <tromey@adacore.com>
4110
4111 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
4112 * gdb.ada/catch_ex.exp: Examine catchpoint text.
4113
9fc501fd
AB
41142020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4115
4116 PR python/22748
4117 * gdb.opt/inline-frame-tailcall.c: New file.
4118 * gdb.opt/inline-frame-tailcall.exp: New file.
4119 * gdb.python/py-unwind-inline.c: New file.
4120 * gdb.python/py-unwind-inline.exp: New file.
4121 * gdb.python/py-unwind-inline.py: New file.
4122
64cb3757
AB
41232020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4124
4125 * gdb.python/py-arch-reg-groups.exp: New file.
4126
0f767f94
AB
41272020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4128
4129 * gdb.python/py-arch-reg-names.exp: New file.
4130
87dbc774
AB
41312020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4132
4133 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
4134 gdb.PendingFrame.architecture method.
4135
d8cc8af6
TV
41362020-07-06 Tom de Vries <tdevries@suse.de>
4137
4138 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
4139
3c8ea5be
PA
41402020-07-03 Pedro Alves <palves@redhat.com>
4141
4142 * gdb.base/structs2.c (main): Adjust second parem_reg call to
4143 explicitly write negative numbers.
4144 * gdb.base/structs2.exp: Adjust expected output.
4145
bf90c83a
PA
41462020-07-03 Pedro Alves <palves@redhat.com>
4147
4148 * gdb.base/charset.c (init_string): Change all char parameters to
4149 unsigned char parameters.
4150
2eb82157
PA
41512020-07-03 Pedro Alves <palves@redhat.com>
4152
4153 * gdb.base/call-sc.exp (start_scalars_test): Use
4154 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4155 * gdb.base/overlays.c: Remove references to PARAMS.
4156 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
4157 * gdb.base/reread.exp: Don't set 'prototypes' global.
4158 * gdb.base/structs.exp (start_structs_test): Use
4159 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4160 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
4161 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4162 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
4163 call.
4164 * gdb.base/varargs.exp: Don't set 'prototypes' global.
4165
9adda7af
PA
41662020-07-03 Pedro Alves <palves@redhat.com>
4167
4168 * gdb.base/m32rovly.c: Delete.
4169 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
4170
2a17c803
PW
41712020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4172
4173 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
4174 of gdb_py_test_multiple.
4175 * gdb.python/py-cmd.exp: Likewise.
4176 * gdb.python/py-events.exp: Likewise.
4177 * gdb.python/py-function.exp: Likewise.
4178 * gdb.python/py-inferior.exp: Likewise.
4179 * gdb.python/py-infthread.exp: Likewise.
4180 * gdb.python/py-linetable.exp: Likewise.
4181 * gdb.python/py-parameter.exp: Likewise.
4182 * gdb.python/py-value.exp: Likewise.
4183
b011fe1a
TV
41842020-06-30 Tom de Vries <tdevries@suse.de>
4185
4186 PR testsuite/26175
4187 * lib/future.exp (gdb_default_target_compile): Detect and handle
4188 early_flags.
4189
df5b8876
SM
41902020-06-29 Simon Marchi <simon.marchi@efficios.com>
4191
4192 * boards/simavr.exp (gdb_load): Catch errors when closing
4193 previous connection. Close connection, wait for process and
4194 unset simavr_spawn_id on failure.
4195
a3ca48cd
TV
41962020-06-29 Tom de Vries <tdevries@suse.de>
4197
4198 * lib/gdb.exp (unknown): Make test-case unresolved.
4199
b0237c0e
TV
42002020-06-29 Tom de Vries <tdevries@suse.de>
4201
4202 PR gdb/25475
4203 * gdb.server/solib-list.exp: Verify that the symbol reload
4204 confirmation question is asked.
4205
c0b3b3bd
PW
42062020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4207
4208 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
4209 have a input seq nr in each pass message.
fe4c3d43 4210 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
4211 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
4212 * gdb.python/python.exp: Make test names unique,
4213 use gdb_test_multiline instead of gdb_py_test_multiple,
4214 use $gdb_test_name.
4215 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
4216
1776e3e5
NA
42172020-06-26 Nick Alcock <nick.alcock@oracle.com>
4218
4219 * configure.ac: Add --enable-libctf.
4220 * aclocal.m4: sinclude ../config/enable.m4.
4221 * Makefile.in (site.exp): Add enable_libctf to site.exp.
4222 * lib/gdb.exp (skip_ctf_tests): Use it.
4223 * gdb.base/ctf-constvars.exp: Error message tweak.
4224 * gdb.base/ctf-ptype.exp: Likewise.
4225 * configure: Regenerate.
4226
f53b3eeb
GB
42272020-06-26 Gary Benson <gbenson@redhat.com>
4228
4229 * gdb.cp/try_catch.cc: Include string.h.
4230 (main): Replace comparison against string literal with
4231 strcmp, avoiding build failure with -Wstring-compare.
4232 Add "marker test-complete".
4233 * gdb.cp/try_catch.exp: Run the test to the above marker,
4234 then verify that the value of "test" is still true.
4235
6d74da72
AB
42362020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4237
4238 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
4239
2e52d038
AB
42402020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4241
4242 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4243
3b9fce96
AB
42442020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4245
4246 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
4247 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
4248 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
4249 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
4250 * gdb.arch/riscv-tdesc-loading.exp: New file.
4251
ed69cbc8
AB
42522020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4253
4254 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4255
767a879e
AB
42562020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4257
4258 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
4259 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
4260 * gdb.arch/riscv-tdesc-regs.c: New file.
4261 * gdb.arch/riscv-tdesc-regs.exp: New file.
4262
221db974
PA
42632020-06-24 Pedro Alves <palves@redhat.com>
4264
4265 * gdb.arch/amd64-entry-value-paramref.exp: Use
4266 prepare_for_testing_full and don't pass "c++" for the .S file
4267 build spec.
4268 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
4269 $options, since it's an assembly file. Remove -Wno-deprecated.
4270 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
4271 compiling C++ programs.
4272
331733cd
PA
42732020-06-24 Pedro Alves <palves@redhat.com>
4274
4275 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
4276 Clang, add "-Wno-unknown-warning-option" to the options.
4277
caa7fd04
AB
42782020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
4279
4280 * gdb.xml/tdesc-reload.c: New file.
4281 * gdb.xml/tdesc-reload.exp: New file.
4282 * gdb.xml/maint-xml-dump-01.xml: New file.
4283 * gdb.xml/maint-xml-dump-02.xml: New file.
4284 * gdb.xml/maint-xml-dump.exp: New file.
4285
bb8d1260
SL
42862020-06-23 Sandra Loosemore <sandra@codesourcery.com>
4287
4288 * lib/completion-support.exp (test_gdb_completion_offers_commands):
4289 Adjust for omitted commands when TUI is disabled.
4290
7e4b9c4c
GB
42912020-06-23 Gary Benson <gbenson@redhat.com>
4292 Pedro Alves <palves@redhat.com>
4293
4294 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4295 * gdb.cp/nsimport.cc: Likewise.
4296 * gdb.cp/nsnested.cc: Likewise.
4297 * gdb.cp/nsnoimports.cc: Likewise.
4298 * gdb.cp/nsusing.cc: Likewise.
4299 * gdb.cp/smartp.cc: Likewise.
4300 * gdb.python/py-pp-integral.c: Likewise.
4301 * gdb.python/py-pp-re-notag.c: Likewise.
4302
2e573c0a
GB
43032020-06-23 Gary Benson <gbenson@redhat.com>
4304
4305 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4306 * gdb.cp/nsimport.cc: Likewise.
4307 * gdb.cp/nsnested.cc: Likewise.
4308 * gdb.cp/nsnoimports.cc: Likewise.
4309 * gdb.cp/nsusing.cc: Likewise.
4310 * gdb.cp/smartp.cc: Likewise.
4311 * gdb.python/py-pp-integral.c: Likewise.
4312 * gdb.python/py-pp-re-notag.c: Likewise.
4313
746ebfe8
PW
43142020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4315
4316 * gdb.base/default-args.exp: New test.
4317 * gdb.base/default-args.c: New file.
4318 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4319 * gdb.base/default.exp: Update to new help text.
4320 * gdb.base/help.exp: Likewise.
4321 * gdb.base/page.exp: Likewise.
4322 * gdb.base/style.exp: Likewise.
4323 * gdb.guile/guile.exp: Likewise.
4324 * gdb.python/python.exp: Likewise.
4325
e822f2cd
SL
43262020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4327
4328 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4329 remote host. Fix search path syntax on Windows host.
4330
48e9cc84
PW
43312020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4332
4333 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4334 over 'exec-file-mismatch'.
4335 * gdb.base/attach.c: Mark should_exit volatile.
4336 * gdb.base/attach2.c: Likewise. Add a comment explaining
4337 why the sleep cannot be big.
4338 * gdb.base/attach3.c: New file.
4339
160f8a8f
SL
43402020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4341
4342 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4343 prefix optional.
4344
4d91c2a4
SL
43452020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4346
4347 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4348 for remote host.
4349
87f83f20
SL
43502020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4351 Hafiz Abid Qadeer <abidh@codesourcery.com>
4352
4353 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4354 file sent to remote host.
4355 (top level): Allow int32_t as type of 32-bit register.
4356
37ab8655
TV
43572020-06-19 Tom de Vries <tdevries@suse.de>
4358
4359 * lib/gdb.exp (gdb_note): New proc.
4360 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4361 (gdb_default_target_compile): ... here. Only call
4362 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4363 (use_gdb_compile): Change to array.
4364 (toplevel): Update sets of use_gdb_compile to specify language.
4365 Warn about default_target_compile override. Store dejagnu's version
4366 of default_target_compile in dejagnu_default_target_compile.
4367
a8a56685
TV
43682020-06-18 Tom de Vries <tdevries@suse.de>
4369
4370 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4371 (default_gdb_init): ... here.
4372
581bea2c
SL
43732020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4374
4375 Fix TUI support checks in gdb.tui tests.
4376
4377 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4378 just say UNSUPPORTED.
4379 * gdb.tui/corefile-run.exp: Likewise.
4380 * gdb.tui/empty.exp: Likewise.
4381 * gdb.tui/list-before.exp: Likewise.
4382 * gdb.tui/list.exp: Likewise.
4383 * gdb.tui/main.exp: Likewise.
4384 * gdb.tui/regs.exp: Likewise.
4385 * gdb.tui/resize.exp: Likewise.
4386 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4387 * gdb.tui/tui-layout-asm.exp: Likewise.
4388 * gdb.tui/tui-missing-src.exp: Likewise.
4389 * gdb.tui/winheight.exp: Likewise.
4390 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4391
05e682e3
SL
43922020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4393
4394 Fix TCL error in gdb.python/py-format-string.exp.
4395
4396 * gdb.python/py-format-string.exp: Move test for python support
4397 earlier, out of function body.
4398
efb763a5
SM
43992020-06-15 Simon Marchi <simon.marchi@efficios.com>
4400
4401 * gdb.base/index-cache-load-twice.c: New.
4402 * gdb.base/index-cache-load-twice.exp: New.
4403
43327b20
KS
44042020-06-17 Keith Seitz <keiths@redhat.com>
4405
99cf27cf 4406 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
4407 when executing "gdb --configuration".
4408
081e778c
TV
44092020-06-17 Tom de Vries <tdevries@suse.de>
4410
4411 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4412 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4413 conditional on presence of gdb_tcl_unknown.
4414 (gdb_finish): Make override undo conditional on presence of
4415 gdb_tcl_unknown.
4416
d2d1ea20
TT
44172020-06-16 Tom Tromey <tom@tromey.com>
4418
4419 * gdb.python/tui-window.py (failwin): New function. Register it
4420 as a TUI window type.
4421 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4422
c802e8a7
GB
44232020-06-16 Gary Benson <gbenson@redhat.com>
4424
4425 * gdb.python/py-nested-maps.c (create_map): Add missing return
4426 value.
4427 (create_map_map): Likewise.
4428
ff08abb8
TBA
44292020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4430
4431 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4432 variable.
4433 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4434 and use the already-defined 'options' variable.
4435
a29d5112
AB
44362020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4437 Tom de Vries <tdevries@suse.de>
4438
4439 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4440 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4441 (gdb_setup_known_globals): New proc.
4442 (gdb_cleanup_globals): New proc.
4443 * lib/gdb.exp (load_lib): New override proc.
4444 (gdb_stdin_log_init): Set var in_file as persistent global.
4445 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4446 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4447 fpc_compiler as persistent global.
4448
8c74a764
TV
44492020-06-12 Tom de Vries <tdevries@suse.de>
4450
4451 * lib/tuiterm.exp (spawn): Rename to ...
4452 (tui_spawn): ... this.
4453 (toplevel): Move rename of spawn ...
4454 (gdb_init_tuiterm): ... here. New proc.
4455 (gdb_finish_tuiterm): New proc.
4456 * lib/gdb.exp (gdb_finish_hooks): New global var.
4457 (gdb_finish): Handle gdb_finish_hooks.
4458 (tuiterm_env): New proc.
4459 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4460 tuiterm_env.
4461 * gdb.tui/basic.exp: Same.
4462 * gdb.tui/corefile-run.exp: Same.
4463 * gdb.tui/empty.exp: Same.
4464 * gdb.tui/list-before.exp: Same.
4465 * gdb.tui/list.exp: Same.
4466 * gdb.tui/main.exp: Same.
4467 * gdb.tui/new-layout.exp: Same.
4468 * gdb.tui/regs.exp: Same.
4469 * gdb.tui/resize.exp: Same.
4470 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4471 * gdb.tui/tui-layout-asm.exp: Same.
4472 * gdb.tui/tui-missing-src.exp: Same.
4473 * gdb.tui/winheight.exp: Same.
4474
26783bce
TV
44752020-06-12 Tom de Vries <tdevries@suse.de>
4476
4477 PR testsuite/26110
4478 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4479 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4480
2b4e6a3f
TT
44812020-06-11 Tom Tromey <tom@tromey.com>
4482
4483 PR gdb/18318:
4484 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4485 floating point tests.
4486
2f33032a
KS
44872020-06-11 Keith Seitz <keiths@redhat.com>
4488
4489 PR gdb/21356
4490 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4491 vla_struct.
4492 Add new struct vla_typedef and union vla_typedef_union and
4493 corresponding instantiation objects.
4494 Initialize new objects.
4495 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4496 and vla_typedef_union_object.
4497 Fixup type for vla_struct_object.
4498
a8baf0a3
TV
44992020-06-11 Tom de Vries <tdevries@suse.de>
4500
4501 * lib/gdb.exp (with_override): New proc, factored out of ...
4502 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4503
7ab96794
TV
45042020-06-10 Tom de Vries <tdevries@suse.de>
4505
4506 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4507
cab5c3b7
SM
45082020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4509
4510 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4511 parameter, update callers.
4512
f8c41851
SM
45132020-06-04 Simon Marchi <simon.marchi@efficios.com>
4514
4515 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4516 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4517 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4518
1c07a73f
TV
45192020-06-04 Tom de Vries <tdevries@suse.de>
4520
4521 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4522
95146b5d
TV
45232020-06-04 Tom de Vries <tdevries@suse.de>
4524
4525 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4526 exp_continue.
4527
0cfcd4f0
TV
45282020-06-04 Tom de Vries <tdevries@suse.de>
4529
4530 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4531
f9b5d5ea
TV
45322020-06-03 Tom de Vries <tdevries@suse.de>
4533
4534 PR symtab/26046
4535 * gdb.cp/breakpoint-locs-2.cc: New test.
4536 * gdb.cp/breakpoint-locs.cc: New test.
4537 * gdb.cp/breakpoint-locs.exp: New file.
4538 * gdb.cp/breakpoint-locs.h: New test.
4539
5144dfba
TV
45402020-06-03 Tom de Vries <tdevries@suse.de>
4541
4542 PR testsuite/25609
4543 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4544 value of global verbose.
4545 * gdb.base/jit-elf.exp: Same.
4546 * gdb.base/jit-reader.exp: Same.
4547
621eacdf
TV
45482020-06-02 Tom de Vries <tdevries@suse.de>
4549
4550 * gdb.dwarf2/multidictionary.exp: Don't use
4551 gdb_spawn_with_cmdline_opts.
4552
1313c56e
AB
45532020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4554
4555 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4556 use_header case.
4557 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4558 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4559 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4560 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4561 * gdb.dwarf2/dw2-inline-header.c: New file.
4562 * gdb.dwarf2/dw2-inline-header.h: New file.
4563
f68f85b5
PA
45642020-05-30 Pedro Alves <palves@redhat.com>
4565
4566 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4567 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4568
678048e8
GB
45692020-05-29 Gary Benson <gbenson@redhat.com>
4570
4571 * gdb.compile/compile-cplus.exp (additional_flags): Also
4572 set when building with clang.
4573 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4574 when building with clang.
4575
9fcafd23
GB
45762020-05-29 Gary Benson <gbenson@redhat.com>
4577
4578 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4579 building with clang.
4580 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4581
735d5a07
GB
45822020-05-29 Gary Benson <gbenson@redhat.com>
4583
4584 * gdb.cp/koenig.exp (prepare_for_testing): Add
4585 additional_flags=-Wno-unused-comparison.
4586 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4587
4ad2c6a0
GB
45882020-05-28 Gary Benson <gbenson@redhat.com>
4589
4590 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4591 statement.
4592
09fe663e
GB
45932020-05-28 Gary Benson <gbenson@redhat.com>
4594
4595 * gdb.cp/classes.exp (prepare_for_testing): Add
4596 additional_flags=-Wno-deprecated-register.
4597 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4598 * gdb.cp/misc.exp: Likewise.
4599
cee00f17
GB
46002020-05-28 Gary Benson <gbenson@redhat.com>
4601
4602 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4603 (test_op_new::operator new): Add return statement.
4604 (test_op_new_array::operator new[]): Likewise.
4605
636edd00
PA
46062020-05-27 Pedro Alves <palves@redhat.com>
4607
4608 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4609 check. Use test_gdb_complete_unique instead of
4610 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4611 test_gdb_complete_multiple instead of
4612 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4613
c2b75043
LM
46142020-05-27 Luis Machado <luis.machado@linaro.org>
4615
4616 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4617 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4618 * gdb.arch/arm-disassembler-options.exp: Likewise.
4619 * gdb.arch/arm-disp-step.exp: Likewise.
4620 * gdb.arch/thumb-prologue.exp: Likewise.
4621 * gdb.base/async.exp: Likewise.
4622 * gdb.base/auxv.exp: Likewise.
4623 * gdb.base/complex-parts.exp: Likewise.
4624 * gdb.base/ena-dis-br.exp: Likewise.
4625 * gdb.base/foll-exec.exp: Likewise.
4626 * gdb.base/permissions.exp: Likewise.
4627 * gdb.base/relocate.exp: Likewise.
4628 * gdb.base/return2.exp: Likewise.
4629 * gdb.base/sigbpt.exp: Likewise.
4630 * gdb.base/siginfo-obj.exp: Likewise.
4631 * gdb.cp/converts.exp: Likewise.
4632 * gdb.cp/exceptprint.exp: Likewise.
4633 * gdb.cp/inherit.exp: Likewise.
4634 * gdb.cp/nsnoimports.exp: Likewise.
4635 * gdb.cp/virtbase2.exp: Likewise.
4636 * gdb.mi/mi-var-cmd.exp: Likewise.
4637 * gdb.mi/var-cmd.c: Likewise.
4638
53a47a3e
TT
46392020-05-26 Tom Tromey <tromey@adacore.com>
4640
4641 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4642
0bc2354b
TT
46432020-05-26 Tom Tromey <tromey@adacore.com>
4644
4645 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4646 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4647 type.
4648 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4649 variable.
4650
0db49895
CBG
46512020-05-26 Christian Biesinger <cbiesinger@google.com>
4652
4653 * Makefile.in: Use = instead of == for the test command
4654 for portability.
4655
40d22035
TV
46562020-05-26 Tom de Vries <tdevries@suse.de>
4657
4658 * gdb.base/gold-gdb-index-2.c: New test.
4659 * gdb.base/gold-gdb-index.c: New test.
4660 * gdb.base/gold-gdb-index.exp: New file.
4661 * gdb.base/gold-gdb-index.h: New test.
4662
043e2e02
TV
46632020-05-25 Tom de Vries <tdevries@suse.de>
4664
4665 * boards/gold-gdb-index.exp: New file.
4666
462f72c5
SM
46672020-05-25 Simon Marchi <simon.marchi@efficios.com>
4668
4669 * boards/simavr.exp: New file.
4670
6cf66e76
SM
46712020-05-25 Simon Marchi <simon.marchi@efficios.com>
4672
4673 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4674 * gdb.base/inferior-args.exp: New file.
4675 * gdb.base/inferior-args.c: New file.
4676
75d04512
SM
46772020-05-25 Simon Marchi <simon.marchi@efficios.com>
4678
4679 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4680 inferior_args. Pass it to gdb_reload.
4681 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4682 inferior_args.
4683 (gdb_reload): Add inferior_args argument.
4684 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4685 pass it to gdbserver_run.
4686 * boards/native-gdbserver.exp: Do not set noargs.
4687 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4688 inferior_args argument.
4689 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4690 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4691 * gdb.base/args.exp: Likewise.
4692
42cf1844
TV
46932020-05-25 Tom de Vries <tdevries@suse.de>
4694
4695 * lib/gdb.exp (exec_is_pie): Add comment.
4696
8f7d38ef
TV
46972020-05-25 Tom de Vries <tdevries@suse.de>
4698
4699 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4700 instead of $binfile in the untested message.
4701
465e1b0f
TV
47022020-05-25 Tom de Vries <tdevries@suse.de>
4703
4704 PR testsuite/26031
4705 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4706
3c5a0e02
TV
47072020-05-25 Tom de Vries <tdevries@suse.de>
4708
4709 * boards/gold.exp: New file.
4710
0a4f5f8c
TT
47112020-05-23 Tom Tromey <tom@tromey.com>
4712
4713 * gdb.base/style.exp: Remove completion styling test.
4714 * lib/gdb-utils.exp (style): Remove completion styles.
4715
eca1f90c
TT
47162020-05-23 Tom Tromey <tom@tromey.com>
4717
4718 * gdb.base/style.exp: Add completion styling test.
4719 * lib/gdb-utils.exp (style): Add completion styles.
4720
7c13f4e8
AB
47212020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4722
4723 * gdb.base/annota1.exp: Update expected results.
4724 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4725 test name.
4726 * gdb.cp/annota3.exp: Update expected results.
4727
41977d16
SM
47282020-05-20 Simon Marchi <simon.marchi@efficios.com>
4729
4730 PR gdb/26016
4731 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4732 against MAP_FAILED.
4733 * gdb.base/coremaker.c (mmapdata): Likewise.
4734 * gdb.base/jit-reader-host.c (main): Likewise.
4735 * gdb.base/sym-file-loader.c (load): Likewise.
4736 (load_shlib): Likewise.
4737
b4757f2e
TT
47382020-05-20 Tom Tromey <tromey@adacore.com>
4739
4740 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4741
9a0bacfb
TV
47422020-05-20 Tom de Vries <tdevries@suse.de>
4743
4744 PR symtab/25833
4745 * gdb.base/with-mf-inc.c: New test.
4746 * gdb.base/with-mf-main.c: New test.
4747 * gdb.base/with-mf.exp: New file.
4748
76571211
TT
47492020-05-19 Tom Tromey <tromey@adacore.com>
4750
4751 * gdb.rust/simple.exp: Restore missing test result.
4752
4cd9f3d5
TV
47532020-05-19 Tom de Vries <tdevries@suse.de>
4754
4755 * gdb.base/gdb-caching-proc.exp: Fix typo.
4756
7d874253
TT
47572020-05-19 Tom Tromey <tromey@adacore.com>
4758
4759 * gdb.rust/simple.exp: Add some test descriptions.
4760 (test_one_slice): Use with_test_prefix.
4761
1d727695
TV
47622020-05-18 Tom de Vries <tdevries@suse.de>
4763
4764 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4765
7f32a4d5
PA
47662020-05-17 Pedro Alves <palves@redhat.com>
4767
4768 PR gdb/25741
4769 * gdb.base/hw-sw-break-same-address.exp: New file.
4770
7cfd74cf
PA
47712020-05-16 Pedro Alves <palves@redhat.com>
4772
4773 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4774 LAST_LOADED_FILE accordingly.
4775
57b4f16e
PW
47762020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4777
4778 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4779
7c05caf7
PW
47802020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4781
4782 * gdb.base/help.exp: Test apropos and help for commands
4783 having aliases. Fixed comments not starting with an
4784 upper-case letter or not finishing with a dot.
4785
7aa1b46f
PW
47862020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4787
3b3aaacb
PW
4788 * gdb.base/alias.exp: Update help output check.
4789
57b4f16e 47902020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4791
7aa1b46f
PW
4792 * gdb.base/default.exp: Update output following fixes.
4793
0605465f
PW
47942020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4795
4796 * gdb.base/alias.exp: Test aliases starting with a prefix of
4797 another alias.
4798
86e4e63d
GB
47992020-05-15 Gary Benson <gbenson@redhat.com>
4800
4801 * gdb.base/info-os.c (main): Add return statement.
4802 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4803 * gdb.base/large-frame-2.c (func): Likewise.
4804 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4805 * gdb.base/pr10179-b.c (foo2): Likewise.
4806 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4807 * gdb.base/watch-cond.c (func): Likewise.
4808 * gdb.multi/goodbye.c (verylongfun): Likewise.
4809 * gdb.multi/hello.c (commonfun): Likewise.
4810 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4811 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4812 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4813 Likewise.
4814 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4815 * gdb.threads/interrupt-while-step-over.c (child_function):
4816 Likewise.
4817 * gdb.trace/actions-changed.c (end): Likewise.
4818
163df4df
GB
48192020-05-15 Gary Benson <gbenson@redhat.com>
4820
4821 * gdb.opencl/callfuncs.exp: Report when test skipped.
4822 * gdb.opencl/convs_casts.exp: Likewise.
4823 * gdb.opencl/datatypes.exp: Likewise.
4824 * gdb.opencl/operators.exp: Likewise.
4825 * gdb.opencl/vec_comps.exp: Likewise.
4826
6dbc505a
TV
48272020-05-15 Tom de Vries <tdevries@suse.de>
4828
4829 * gdb.base/align.exp.in: Rename to ...
4830 * gdb.base/align.exp.tcl: ... this.
4831 * gdb.base/align-c++.exp: Update.
4832 * gdb.base/align-c.exp: Update.
4833 * gdb.base/all-architectures.exp.in: Rename to ...
4834 * gdb.base/all-architectures.exp: ... this.
4835 * gdb.base/all-architectures-0.exp: Update.
4836 * gdb.base/all-architectures-1.exp: Update.
4837 * gdb.base/all-architectures-2.exp: Update.
4838 * gdb.base/all-architectures-3.exp: Update.
4839 * gdb.base/all-architectures-4.exp: Update.
4840 * gdb.base/all-architectures-5.exp: Update.
4841 * gdb.base/all-architectures-6.exp: Update.
4842 * gdb.base/all-architectures-7.exp: Update.
4843 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4844 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4845 * gdb.base/infcall-nested-structs-c++.exp: Update.
4846 * gdb.base/infcall-nested-structs-c.exp: Update.
4847 * gdb.base/info-types.exp.in: Rename to ...
4848 * gdb.base/info-types.exp.tcl: ... this.
4849 * gdb.base/info-types-c++.exp: Update.
4850 * gdb.base/info-types-c.exp: Update.
4851 * gdb.base/max-depth.exp.in: Rename to ...
4852 * gdb.base/max-depth.exp.tcl: ... this.
4853 * gdb.base/max-depth-c++.exp: Update.
4854 * gdb.base/max-depth-c.exp: Update.
4855 * gdb.cp/cpexprs.exp.in: Rename to ...
4856 * gdb.cp/cpexprs.exp.tcl: ... this.
4857 * gdb.cp/cpexprs-debug-types.exp: Update.
4858 * gdb.cp/cpexprs.exp: Update.
4859 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4860 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4861 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4862 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4863 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4864 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4865 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4866 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4867 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4868 * gdb.dwarf2/clang-debug-names.exp: Update.
4869
d1034d78
AB
48702020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4871
4872 * lib/check-test-names.exp: Remove code that prevents this file
4873 loading when tests are run in parallel.
4874
3c5c3649
PA
48752020-05-15 Pedro Alves <palves@redhat.com>
4876
4877 * gdb.multi/multi-kill.exp (start_inferior): Remove
4878 'testpid' parameter. Refer to namespace variable directly.
4879 (testpid): Declare as namespace variable.
4880
272c36b8
PA
48812020-05-15 Pedro Alves <palves@redhat.com>
4882
4883 * gdb.multi/multi-kill.exp: Wrap in namespace.
4884 (start_inferior): Add TESTPID parameter. Use it instead of the
4885 testpid global.
4886 (top level): Define empty TESTPID array, and pass it down to
4887 start_inferior.
4888
02eba61a
TV
48892020-05-14 Tom de Vries <tdevries@suse.de>
4890
4891 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4892 output.
4893
971a3747
TV
48942020-05-14 Tom de Vries <tdevries@suse.de>
4895
4896 * gdb.base/align.exp: Split into ...
4897 * gdb.base/align.exp.in: ...
4898 * gdb.base/align-c++.exp: ...
4899 * gdb.base/align-c.exp: ... these.
4900 * gdb.base/infcall-nested-structs.exp: Split into ...
4901 * gdb.base/infcall-nested-structs.exp.in: ...
4902 * gdb.base/infcall-nested-structs-c++.exp: ...
4903 * gdb.base/infcall-nested-structs-c.exp: ... these.
4904 * gdb.base/info-types.exp: Split into ...
4905 * gdb.base/info-types.exp.in: ...
4906 * gdb.base/info-types-c++.exp: ...
4907 * gdb.base/info-types-c.exp: ... these.
4908 * gdb.base/max-depth.exp: Split into ...
4909 * gdb.base/max-depth.exp.in: ...
4910 * gdb.base/max-depth-c++.exp: ...
4911 * gdb.base/max-depth-c.exp: ... these.
4912 * gdb.cp/infcall-nodebug.exp: Split into ...
4913 * gdb.cp/infcall-nodebug.exp.in: ...
4914 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4915 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4916 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4917 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4918
a05575d3
TBA
49192020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4920 Pedro Alves <palves@redhat.com>
4921
4922 * gdb.multi/multi-exit.c: New file.
4923 * gdb.multi/multi-exit.exp: New file.
4924 * gdb.multi/multi-kill.c: New file.
4925 * gdb.multi/multi-kill.exp: New file.
4926
6ad82919
TBA
49272020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4928
4929 * gdb.base/annota1.exp: Update the expected output.
4930 * gdb.cp/annota2.exp: Ditto.
4931
843f4d93
AB
49322020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4933
4934 * lib/check-test-names.exp: Disable when testing is being run in
4935 parallel.
4936
c7c66341
TV
49372020-05-12 Tom de Vries <tdevries@suse.de>
4938
4939 * gdb.base/jit-elf.exp: Fix string concat.
4940
1b59ca1c
TV
49412020-05-12 Tom de Vries <tdevries@suse.de>
4942
4943 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4944 messages.
4945
b4991d29
TV
49462020-05-12 Tom de Vries <tdevries@suse.de>
4947
4948 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4949
dbb0ab10
TV
49502020-05-12 Tom de Vries <tdevries@suse.de>
4951
4952 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4953 * gdb.ada/mi_catch_ex.exp: Same.
4954 * gdb.ada/mi_catch_ex_hand.exp: Same.
4955
7549fed8
TV
49562020-05-12 Tom de Vries <tdevries@suse.de>
4957
4958 * gdb.fortran/complex.exp: Use with_test_prefix.
4959
af2d5cd8
TV
49602020-05-12 Tom de Vries <tdevries@suse.de>
4961
4962 * gdb.trace/passcount.exp: Fix test-names.
4963
7c121311
TV
49642020-05-12 Tom de Vries <tdevries@suse.de>
4965
4966 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4967
c9f3b40e
TV
49682020-05-12 Tom de Vries <tdevries@suse.de>
4969
4970 * gdb.gdb/complaints.exp: Use with_test_prefix.
4971 * gdb.xml/tdesc-regs.exp: Same.
4972 * gdb.opt/inline-locals.exp: Fix test name.
4973
111b33f0
TV
49742020-05-12 Tom de Vries <tdevries@suse.de>
4975
4976 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4977 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4978 * gdb.dwarf2/implref-struct.exp: Same.
4979 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4980 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4981
ebf47080
SM
49822020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4983
4984 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4985
d30dcd12
AB
49862020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4987
4988 * lib/check-test-names.exp (all_test_names): New module variable.
4989 (counts): Add 'duplicates' field.
4990 (_check_duplicates): New procedure.
4991 (check): Also check for duplicates.
4992 (do_log_summary): Print duplicates count.
4993 (do_reset_vars): Reset counter for duplicate test names, and
4994 discard all know test names.
4995
34584c09
AB
49962020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4997
4998 * lib/gdb.exp: Include check-test-names.exp library.
4999 * lib/check-test-names.exp: New file.
5000
e0002117
TV
50012020-05-11 Tom de Vries <tdevries@suse.de>
5002
5003 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
5004
53f539a3
KS
50052020-05-11 Keith Seitz <keiths@redhat.com>
5006
5007 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
5008
113ee09a
TV
50092020-05-11 Tom de Vries <tdevries@suse.de>
5010
5011 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
5012 * gdb.cp/cpexprs.exp.in: .. here.
5013 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
5014 cpexprs.exp.
5015
ba3e70b0
KS
50162020-05-11 Keith Seitz <keiths@redhat.com>
5017
5018 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
5019 test names.
5020 * gdb.ada/arrayptr.exp: Likewise.
5021 * gdb.ada/assign_arr.exp: Likewise.
5022 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
5023 * gdb.ada/bp_on_var.exp: Likewise.
5024 * gdb.ada/call_pn.exp: Likewise.
5025 * gdb.ada/complete.exp: Likewise.
5026 * gdb.ada/fun_overload_menu.exp: Likewise.
5027 * gdb.ada/funcall_param.exp: Likewise.
5028 * gdb.ada/funcall_ref.exp: Likewise.
5029 * gdb.ada/packed_array_assign.exp: Likewise.
5030 * gdb.ada/same_component_name.exp: Likewise.
5031 * gdb.ada/type_coercion.exp: Likewise.
5032 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
5033 * gdb.ada/variant_record_packed_array.exp: Likewise.
5034
3ee6bb11
TV
50352020-05-11 Tom de Vries <tdevries@suse.de>
5036
5037 PR symtab/25941
5038 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
5039 out of ...
5040 * gdb.dwarf2/clang-debug-names.exp: ... here.
5041 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
5042 clang-debug-names.exp.in.
5043 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
5044 * gdb.dwarf2/clang-debug-names-2.c: New test.
5045
86cd6bc8
AKS
50462020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5047
5048 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
5049 (fortran_runto_main): New Proc, fortran version of runto_main.
5050 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
5051 * gdb.fortran/array-bounds.exp: Likewise.
5052 * gdb.fortran/array-slices.exp: Likewise.
5053 * gdb.fortran/block-data.exp: Likewise.
5054 * gdb.fortran/charset.exp: Likewise.
5055 * gdb.fortran/common-block.exp: Likewise.
5056 * gdb.fortran/complex.exp: Likewise.
5057 * gdb.fortran/derived-type-function.exp: Likewise.
5058 * gdb.fortran/derived-type.exp: Likewise.
5059 * gdb.fortran/info-modules.exp: Likewise.
5060 * gdb.fortran/info-types.exp: Likewise.
5061 * gdb.fortran/intrinsics.exp: Likewise.
5062 * gdb.fortran/library-module.exp: Likewise.
5063 * gdb.fortran/logical.exp: Likewise.
5064 * gdb.fortran/max-depth.exp: Likewise.
5065 * gdb.fortran/module.exp: Likewise.
5066 * gdb.fortran/multi-dim.exp: Likewise.
5067 * gdb.fortran/nested-funcs.exp: Likewise.
5068 * gdb.fortran/print-formatted.exp: Likewise.
5069 * gdb.fortran/print_type.exp: Likewise.
5070 * gdb.fortran/printing-types.exp: Likewise.
5071 * gdb.fortran/ptr-indentation.exp: Likewise.
5072 * gdb.fortran/ptype-on-functions.exp: Likewise.
5073 * gdb.fortran/subarray.exp: Likewise.
5074 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
5075 * gdb.fortran/vla-datatypes.exp: Likewise.
5076 * gdb.fortran/vla-history.exp: Likewise.
5077 * gdb.fortran/vla-ptr-info.exp: Likewise.
5078 * gdb.fortran/vla-ptype-sub.exp: Likewise.
5079 * gdb.fortran/vla-ptype.exp: Likewise.
5080 * gdb.fortran/vla-sizeof.exp: Likewise.
5081 * gdb.fortran/vla-type.exp: Likewise.
5082 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
5083 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
5084 * gdb.fortran/vla-value-sub.exp: Likewise.
5085 * gdb.fortran/vla-value.exp: Likewise.
5086 * gdb.fortran/whatis_type.exp: Likewise.
5087 * gdb.mi/mi-var-child-f.exp: Likewise.
5088
6dc55ce9 50892020-05-09 Tom de Vries <tdevries@suse.de>
5090
5091 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
5092
283cb58c
TV
50932020-05-08 Tom de Vries <tdevries@suse.de>
5094
5095 * gdb.dwarf2/clang-debug-names.c: New test.
5096 * gdb.dwarf2/clang-debug-names.exp: New file.
5097
ac4a4f1c
SM
50982020-05-06 Simon Marchi <simon.marchi@efficios.com>
5099
5100 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
5101 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
5102
24fe640b
TV
51032020-05-06 Tom de Vries <tdevries@suse.de>
5104
5105 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
5106 breakpoint is at a "recommended breakpoint location".
5107 * gdb.reverse/consecutive-reverse.exp: Same.
5108
0d8683a3
TV
51092020-05-06 Tom de Vries <tdevries@suse.de>
5110
5111 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
5112 address.
5113
b8983c46
TV
51142020-05-06 Tom de Vries <tdevries@suse.de>
5115
5116 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
5117
abf6d805
TV
51182020-05-06 Tom de Vries <tdevries@suse.de>
5119
5120 * gdb.base/store.exp (check_set, up_set): Allowing missing location
5121 info for r.
5122
0fc2a808
TV
51232020-05-06 Tom de Vries <tdevries@suse.de>
5124
5125 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
5126 necessary.
5127
873dd427
TV
51282020-05-06 Tom de Vries <tdevries@suse.de>
5129
5130 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
5131 void.
5132
7c99e7e2
TV
51332020-05-06 Tom de Vries <tdevries@suse.de>
5134
5135 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
5136 of ...
5137 * gdb.base/async.exp: ... here.
5138 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
5139 "recommended breakpoint location".
5140
6173d6a6
TV
51412020-05-06 Tom de Vries <tdevries@suse.de>
5142
5143 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
5144
6015a067
TV
51452020-05-04 Tom de Vries <tdevries@suse.de>
5146
5147 * gdb.base/async.exp: Check whether instruction addresses are a
5148 "recommended breakpoint location".
5149
3b6acaee
TT
51502020-05-03 Tom Tromey <tom@tromey.com>
5151
5152 * gdb.base/sepdebug.exp: Remove "catch" test.
5153 * gdb.base/break.exp: Remove "catch" test.
5154 * gdb.base/default.exp: Update expected output.
5155
5beb4d17
TV
51562020-05-02 Tom de Vries <tdevries@suse.de>
5157
5158 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
5159 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
5160 * gdb.arch/i386-mpx-map.exp: Same.
5161 * gdb.arch/i386-mpx-sigsegv.exp: Same.
5162 * gdb.arch/i386-mpx-simple_segv.exp: Same.
5163 * gdb.arch/i386-mpx.exp: Same.
5164
8caf140d
TV
51652020-05-02 Tom de Vries <tdevries@suse.de>
5166
5167 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
5168
693196cb
TV
51692020-05-01 Tom de Vries <tdevries@suse.de>
5170
5171 * gdb.ada/operator_bp.exp: Allow more than required amount of
5172 breakpoint.
5173
53ae0aa9
TV
51742020-05-01 Tom de Vries <tdevries@suse.de>
5175
5176 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
5177
ee9d1e5f
HD
51782020-04-30 Hannes Domani <ssbssa@yahoo.de>
5179
5180 PR gdb/18706
5181 * gdb.cp/stub-array-size.cc: New test.
5182 * gdb.cp/stub-array-size.exp: New file.
5183 * gdb.cp/stub-array-size.h: New test.
5184 * gdb.cp/stub-array-size2.cc: New test.
5185
d5cf82c0
HD
51862020-04-30 Hannes Domani <ssbssa@yahoo.de>
5187
5188 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
5189 output to the new format.
5190
42e165c3
SM
51912020-04-29 Simon Marchi <simon.marchi@efficios.com>
5192
5193 * gdb.base/break.exp: Use with_test_prefix.
5194
6e4e3fe1
TV
51952020-04-29 Tom de Vries <tdevries@suse.de>
5196
5197 * lib/gdb.exp (debug_types): New proc.
5198 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
5199 * gdb.python/py-symtab.exp: Same.
5200
d642b692
HD
52012020-04-29 Hannes Domani <ssbssa@yahoo.de>
5202
5203 PR gdb/17320
5204 * gdb.base/pretty-array.c: New test.
5205 * gdb.base/pretty-array.exp: New file.
5206
ea90f227
TV
52072020-04-29 Tom de Vries <tdevries@suse.de>
5208
5209 PR symtab/25889
5210 * gdb.cp/cpexprs.exp: Adapt for inclusion.
5211 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
5212 and include cpexprs.exp.
5213
a65189c9
TV
52142020-04-28 Mark Williams <mark@myosotissp.com>
5215
5216 PR gdb/24480
5217 * dw4-toplevel-types.exp: Test for top level types.
5218 * dw4-toplevel-types.cc: Test for top level types.
5219
32d1f47a
TBA
52202020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5221
5222 * gdb.threads/stop-with-handle.exp: Fix typo in comment
5223 (theads -> threads).
5224
56a4f5a1
TV
52252020-04-28 Tom de Vries <tdevries@suse.de>
5226
5227 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
5228
0b2f8a3b
TV
52292020-04-28 Tom de Vries <tdevries@suse.de>
5230
5231 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
5232
5390c717
TV
52332020-04-28 Tom de Vries <tdevries@suse.de>
5234
5235 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
5236
15cd93d0
TV
52372020-04-28 Tom de Vries <tdevries@suse.de>
5238
5239 * gdb.dwarf2/main-foo.c: New test.
5240 * gdb.dwarf2/struct-with-sig.exp: New file.
5241
d472f0fb
TV
52422020-04-25 Tom de Vries <tdevries@suse.de>
5243
5244 * boards/debug-types.exp: New file.
5245
8d840e05
AB
52462020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
5247
5248 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
5249
bcfe6157
TT
52502020-04-24 Tom Tromey <tom@tromey.com>
5251
5252 PR symtab/12707:
5253 * gdb.python/py-symbol.exp: Update expected results for
5254 linkage_name test.
5255 * gdb.cp/print-demangle.exp: New file.
5256 * gdb.base/c-linkage-name.exp: Fix test.
5257 * gdb.guile/scm-symbol.exp: Update expected results for
5258 linkage_name test.
5259
f049a313
TT
52602020-04-24 Tom Tromey <tom@tromey.com>
5261
5262 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
5263 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
5264 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
5265 assembler.
5266
7cf28874
TV
52672020-04-24 Tom de Vries <tdevries@suse.de>
5268
5269 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
5270 C++.
5271
dac2fef7
TT
52722020-04-24 Tom Tromey <tromey@adacore.com>
5273
5274 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
5275 values.
5276 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
5277 values. Update test for minimal encodings.
5278 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
5279 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
5280 values. Update test for minimal encodings.
5281
1acda803
TT
52822020-04-24 Tom Tromey <tromey@adacore.com>
5283
5284 PR python/23662:
5285 * gdb.ada/variant.exp: Add Python checks.
5286 * gdb.rust/simple.exp: Add dynamic type checks.
5287
adfb9815
TT
52882020-04-24 Tom Tromey <tromey@adacore.com>
5289
5290 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
5291 Make array type matching more lax.
5292 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
5293 * gdb.ada/mi_variant.exp: New file.
5294 * gdb.ada/mi_variant/pck.ads: New file.
5295 * gdb.ada/mi_variant/pkg.adb: New file.
5296 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5297 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5298
7d79de9a
TT
52992020-04-24 Tom Tromey <tromey@adacore.com>
5300
5301 * gdb.ada/variant.exp: Add dynamic field offset tests.
5302 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5303 * gdb.ada/variant/pkg.adb: Add new variables.
5304
f8e89861
TT
53052020-04-24 Tom Tromey <tromey@adacore.com>
5306
5307 * gdb.ada/variant.exp: New file
5308 * gdb.ada/variant/pkg.adb: New file
5309 * gdb.ada/variant/pck.adb: New file
5310
86e887ae
TV
53112020-04-24 Tom de Vries <tdevries@suse.de>
5312
5313 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5314
88428775
TV
53152020-04-24 Tom de Vries <tdevries@suse.de>
5316
5317 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5318 flags.
5319
4e86f6e7
TV
53202020-04-24 Tom de Vries <tdevries@suse.de>
5321
5322 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5323
2016d3e6
TV
53242020-04-24 Tom de Vries <tdevries@suse.de>
5325
5326 * lib/gdb.exp (default_gdb_start): Handle eof.
5327 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5328 failure.
5329 * gdb.base/readnever.exp: Handle clean_restart failure.
5330
70bc38f5
TV
53312020-04-23 Tom de Vries <tdevries@suse.de>
5332
5333 * gdb.base/decl-before-def.exp: Run to main and print a again.
5334
de82891c
TV
53352020-04-23 Tom de Vries <tdevries@suse.de>
5336
5337 * gdb.base/decl-before-def-decl.c: New test.
5338 * gdb.base/decl-before-def-def.c: New test.
5339 * gdb.base/decl-before-def.exp: New file.
5340
96038148
TV
53412020-04-23 Tom de Vries <tdevries@suse.de>
5342
5343 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5344
54ac3df1
TV
53452020-04-22 Tom de Vries <tdevries@suse.de>
5346
5347 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5348 debug_info_offset.
5349 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5350 before $objsfile in the line line.
5351
714534e1
TV
53522020-04-22 Tom de Vries <tdevries@suse.de>
5353
5354 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5355
16a7dbf4
MS
53562020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5357
5358 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5359 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5360 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5361 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5362 * gdb.base/jit-protocol.h: Update definitions to match all usage
5363 contexts.
5364
53652020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5366
5367 * gdb.base: Rename all jit related test and source files.
5368
53692020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5370
5371 * gdb.base/jit-reader.exp: Relax register output check.
5372
317d2668
TV
53732020-04-22 Tom de Vries <tdevries@suse.de>
5374
5375 PR symtab/25764
5376 * gdb.base/psym-external-decl-2.c: New test.
5377 * gdb.base/psym-external-decl.c: New test.
5378 * gdb.base/psym-external-decl.exp: New file.
5379 * gdb.threads/tls.exp: Add PR25807 kfail.
5380
eea9e357
TV
53812020-04-22 Tom de Vries <tdevries@suse.de>
5382
5383 PR symtab/25801
5384 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5385 in "info source" output.
5386
3d5afab3
TV
53872020-04-22 Tom de Vries <tdevries@suse.de>
5388
5389 PR symtab/25700
5390 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5391 symtab for imported_unit.c.
5392
b32102f6
GB
53932020-04-21 Gary Benson <gbenson@redhat.com>
5394
5395 * gdb.base/advance.c (func): New argument, to match call site.
5396 (func2, func3): Add return statements.
5397
d43b7a2d
TBA
53982020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5399
5400 * gdb.multi/run-only-second-inf.c: New file.
5401 * gdb.multi/run-only-second-inf.exp: New file.
5402
d89edf9b
MM
54032020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5404
5405 * gdb.btrace/multi-inferior.c: New test.
5406 * gdb.btrace/multi-inferior.exp: New file.
5407
1a476b6d
MM
54082020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5409
5410 * gdb.btrace/enable-new-thread.c: New test.
5411 * gdb.btrace/enable-new-thread.exp: New file.
5412
4778a5f8
TV
54132020-04-21 Tom de Vries <tdevries@suse.de>
5414
5415 PR gdb/25471
5416 * gdb.threads/killed-outside.c: New test.
5417 * gdb.threads/killed-outside.exp: New file.
5418
9b2c992c
GB
54192020-04-20 Gary Benson <gbenson@redhat.com>
5420
5421 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5422 * gdb.base/nested-subp2.exp: Likewise.
5423 * gdb.base/nested-subp3.exp: Likewise.
5424
b5d1d6f7
GB
54252020-04-20 Gary Benson <gbenson@redhat.com>
5426
5427 * gdb.base/nested-subp1.exp: Disable test when using clang.
5428 * gdb.base/nested-subp2.exp: Likewise.
5429 * gdb.base/nested-subp3.exp: Likewise.
5430
25230285
GB
54312020-04-20 Gary Benson <gbenson@redhat.com>
5432
5433 * gdb.cp/exception.cc: Fix compilation error with clang.
5434
fa93cc8f
GB
54352020-04-20 Gary Benson <gbenson@redhat.com>
5436
809730f3 5437 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 5438
e0c45f30
GB
54392020-04-20 Gary Benson <gbenson@redhat.com>
5440
5441 * gdb.base/jit-main.c: Fix compilation error with clang.
5442
4ddfec93
KR
54432020-04-17 Kamil Rytarowski <n54@gmx.com>
5444
5445 * gdb.base/attach-twice.c: Include "sys/types.h".
5446 (PTRACE_ATTACH): Add fallback definition.
5447 (main): Pass `0' to the 4th argument of `ptrace'.
5448
2bed205e
KR
54492020-04-17 Kamil Rytarowski <n54@gmx.com>
5450
5451 * gdb.base/fork-running-state.c: Include "signal.h".
5452
0743fc83
TT
54532020-04-17 Tom Tromey <tromey@adacore.com>
5454
5455 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5456 Update tests.
5457 * gdb.btrace/cpu.exp: Update tests.
5458 * gdb.base/maint.exp: Update tests.
5459 * gdb.base/default.exp: Update tests.
5460 * gdb.base/completion.exp: Update tests.
5461
efba5c23
TV
54622020-04-16 Tom de Vries <tdevries@suse.de>
5463
5464 PR symtab/25791
5465 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5466 (ensure_gdb_index): and factor out and move ...
5467 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5468 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5469
d191d716
TV
54702020-04-16 Tom de Vries <tdevries@suse.de>
5471
5472 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5473 loading exec.
5474
99f1bc6a
AB
54752020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5476
5477 * gdb.base/many-completions.exp: New file.
5478
194d088f
TV
54792020-04-14 Tom de Vries <tdevries@suse.de>
5480
5481 PR symtab/25718
5482 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5483
c1a66c06
TV
54842020-04-14 Tom de Vries <tdevries@suse.de>
5485
5486 PR symtab/25720
5487 * gdb.base/maint-expand-symbols-header-file.c: New test.
5488 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5489 * gdb.base/maint-expand-symbols-header-file.h: New test.
5490
21b0982c
AB
54912020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5492
5493 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5494 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5495 get_func_info.
5496 (get_func_info): Delete.
5497 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5498 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5499 * lib/dwarf.exp (get_func_info): New function.
5500
dd1cab06
TV
55012020-04-13 Tom de Vries <tdevries@suse.de>
5502
5503 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5504 to what find_gnatmake does.
5505
71ea2b6b
TV
55062020-04-10 Tom de Vries <tdevries@suse.de>
5507
5508 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5509 -readnow.
5510
bdfc1e8a
TV
55112020-04-10 Tom de Vries <tdevries@suse.de>
5512
5513 PR cli/25808
5514 * gdb.base/style.c: Add leading newlines.
5515 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5516 Check listing of main's one-line body.
5517
14ca8ecf
TV
55182020-04-08 Tom de Vries <tdevries@suse.de>
5519
5520 * lib/gdb.exp (psymtabs_p): New proc.
5521 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5522 importing unit" unsupported if there are no partial symbols.
5523
e21d048f
TV
55242020-04-08 Tom de Vries <tdevries@suse.de>
5525
5526 PR testsuite/25760
5527 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5528
25c11aca
TV
55292020-04-07 Tom de Vries <tdevries@suse.de>
5530
5531 PR symtab/25796
5532 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5533
5707e24b
TV
55342020-04-07 Tom de Vries <tdevries@suse.de>
5535
5536 * gdb.base/check-psymtab.c: New test.
5537 * gdb.base/check-psymtab.exp: New file.
5538
6ee448cc
TT
55392020-04-06 Tom Tromey <tromey@adacore.com>
5540
5541 * gdb.ada/variant-record/proc.adb: New file.
5542 * gdb.ada/variant-record/value.adb: New file.
5543 * gdb.ada/variant-record/value.s: New file.
5544 * gdb.ada/variant-record.exp: New file.
5545
9e7c9a03
HD
55462020-04-03 Hannes Domani <ssbssa@yahoo.de>
5547
5548 PR gdb/25325
5549 * gdb.cp/typed-enum.cc: New test.
5550 * gdb.cp/typed-enum.exp: New file.
5551
c90d28ac
AB
55522020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5553
5554 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5555 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5556 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5557 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5558 * gdb.opt/inline-small-func.c: New file.
5559 * gdb.opt/inline-small-func.exp: New file.
5560 * gdb.opt/inline-small-func.h: New file.
5561
34e9a9fa
AB
55622020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5563
5564 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5565 function.
5566
6a354911
AB
55672020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5568
5569 * lib/dwarf.exp (function_range): Allow compiler options to be
5570 specified.
5571
880d9777
TV
55722020-04-02 Tom de Vries <tdevries@suse.de>
5573
5574 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5575 __attribute__((always_inline)).
5576 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5577
f32682ea
TV
55782020-04-02 Tom de Vries <tdevries@suse.de>
5579
5580 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5581 (gdbserver_gdb_exit): ... here. Add timeout warning.
5582 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5583 (connect_target_extended_remote): Append new server_spawn_id to
5584 server_spawn_ids.
5585 (cleanup): New proc.
5586 (setup, <toplevel>): Call cleanup.
5587
d3214198
TV
55882020-04-02 Tom de Vries <tdevries@suse.de>
5589
5590 * gdb.base/main-psymtab.exp: New file.
5591
cc77ed24
TV
55922020-04-02 Tom de Vries <tdevries@suse.de>
5593
5594 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5595
3638a098
TT
55962020-04-01 Tom Tromey <tom@tromey.com>
5597
5598 * gdb.base/complex-parts.exp: Add type tests.
5599
c34e8714
TT
56002020-04-01 Tom Tromey <tom@tromey.com>
5601
5602 * gdb.base/complex-parts.exp: Add arithmetic tests.
5603
981c08ce
TT
56042020-04-01 Tom Tromey <tom@tromey.com>
5605
5606 * gdb.compile/compile.exp: Update.
5607 * gdb.compile/compile-cplus.exp: Update.
5608 * gdb.base/varargs.exp: Update.
5609 * gdb.base/floatn.exp: Update.
5610 * gdb.base/endianity.exp: Update.
5611 * gdb.base/callfuncs.exp (do_function_calls): Update.
5612 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5613 (complex_float_integral_args): Update.
5614 * gdb.base/complex.exp: Update.
5615 * gdb.base/complex-parts.exp: Update.
5616
3d1cfd43
TT
56172020-04-01 Tom Tromey <tromey@adacore.com>
5618
5619 * gdb.rust/union.rs: New file.
5620 * gdb.rust/union.exp: New file.
5621 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5622 (main): Update.
5623 * gdb.rust/simple.exp: Move union tests to union.exp.
5624
e033dfa9
TT
56252020-04-01 Tom Tromey <tromey@adacore.com>
5626
5627 * gdb.rust/simple.rs (main): Remove "y0".
5628
53cccef1
TBA
56292020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5630
5631 * gdb.multi/stop-all-on-exit.c: New test.
5632 * gdb.multi/stop-all-on-exit.exp: New file.
5633
60e22c1e
HD
56342020-04-01 Hannes Domani <ssbssa@yahoo.de>
5635
5636 PR gdb/24789
5637 * gdb.cp/misc.cc: Add integer reference variable.
5638 * gdb.cp/misc.exp: Add test.
5639
e139a727
TBA
56402020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5641
5642 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5643 scenario to cover execution until the end and also the case
5644
16b0db75
TV
56452020-03-31 Tom de Vries <tdevries@suse.de>
5646
5647 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5648 c. Use "maint info symtabs" to check symtab expansion.
5649
c0502da6
TV
56502020-03-30 Tom de Vries <tdevries@suse.de>
5651
5652 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5653 unsupported.
5654 (verify_psymtab_expanded): Move ...
5655 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5656 test.
5657 (readnow): New proc.
5658
5935fd15
AB
56592020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5660
5661 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5662 with $hex.
5663
1773be9e
TT
56642020-03-20 Tom Tromey <tromey@adacore.com>
5665
5666 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5667
70304be9
TT
56682020-03-20 Tom Tromey <tromey@adacore.com>
5669
5670 * gdb.ada/sub_variant/subv.adb: New file.
5671 * gdb.ada/sub_variant.exp: New file.
5672
0dd7b8f7
TV
56732020-03-20 Tom de Vries <tdevries@suse.de>
5674
5675 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5676 first break fails.
5677 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5678
cada5fc9
AB
56792020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5680
5681 * gdb.server/exit-multiple-threads.c: New file.
5682 * gdb.server/exit-multiple-threads.exp: New file.
5683
6b8c53f2
AB
56842020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5685
5686 * gdb.fortran/mixed-lang-stack.c: New file.
5687 * gdb.fortran/mixed-lang-stack.cpp: New file.
5688 * gdb.fortran/mixed-lang-stack.exp: New file.
5689 * gdb.fortran/mixed-lang-stack.f90: New file.
5690
19a2740f
AB
56912020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5692
5693 * gdb.linespec/cp-completion-aliases.cc: New file.
5694 * gdb.linespec/cp-completion-aliases.exp: New file.
5695
d8c8b848
TV
56962020-03-19 Tom de Vries <tdevries@suse.de>
5697
5698 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5699 more precise.
5700
a9933ccf
TV
57012020-03-18 Tom de Vries <tdevries@suse.de>
5702
5703 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5704 * gdb.dwarf2/break-inline-psymtab.c: New test.
5705 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5706
2f89101f
TV
57072020-03-16 Tom de Vries <tdevries@suse.de>
5708
5709 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5710 cache_verify and cache_verify_proc.
5711
6b9374f1
TV
57122020-03-15 Tom de Vries <tdevries@suse.de>
5713
5714 * gdb.server/solib-list.exp: Handle
5715 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5716
eaeaf44c
TV
57172020-03-15 Tom de Vries <tdevries@suse.de>
5718
5719 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5720 objfiles".
5721
3293bbaf
TT
57222020-03-14 Tom Tromey <tom@tromey.com>
5723
5724 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5725
ab44624c
TV
57262020-03-14 Tom de Vries <tdevries@suse.de>
5727
5728 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5729
54c43825
TV
57302020-03-14 Tom de Vries <tdevries@suse.de>
5731
5732 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5733 result in line-by-line fashion.
5734
2ac70237
TV
57352020-03-14 Tom de Vries <tdevries@suse.de>
5736
5737 * lib/gdb.exp (supports_statement_frontiers): New proc.
5738 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5739
09546b56
TV
57402020-03-14 Tom de Vries <tdevries@suse.de>
5741
5742 * gdb.base/printcmds.exp: Add missing quoting for "print
5743 teststring2".
5744
a1f6a07c
TT
57452020-03-13 Tom Tromey <tom@tromey.com>
5746
5747 * gdb.base/printcmds.exp (test_print_strings): Add regression
5748 test.
5749 * gdb.base/printcmds.c (charptr): New typedef.
5750 (teststring2): New global.
5751
1b83d09c
AB
57522020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5753
5754 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5755 full path in the test name.
5756 (test_ld): Add some with_test_prefix blocks to make test names
5757 unique.
5758
2d61316c
TV
57592020-03-13 Tom de Vries <tdevries@suse.de>
5760
5761 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5762
2e9145ac
TV
57632020-03-13 Tom de Vries <tdevries@suse.de>
5764
5765 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5766
96c7f873
TV
57672020-03-13 Tom de Vries <tdevries@suse.de>
5768
5769 PR symtab/25646
5770 * gdb.dwarf2/imported-unit.exp: Add test.
5771
49ba92c0
TV
57722020-03-13 Tom de Vries <tdevries@suse.de>
5773
5774 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5775 (var1, var2): New variable.
5776 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5777 matching symbols.
5778
301b21e0
TV
57792020-03-13 Tom de Vries <tdevries@suse.de>
5780
5781 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5782 (Term::command): Use prompt prefix.
5783 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5784 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5785 command_no_prompt_prefix instead of prefix.
5786 * gdb.tui/tui-layout-asm.exp: Same.
5787
3f512721
SM
57882020-03-12 Simon Marchi <simon.marchi@efficios.com>
5789
5790 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5791
40310f30
SM
57922020-03-12 Simon Marchi <simon.marchi@efficios.com>
5793
5794 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5795 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5796 on" while stepping over the test instruction, match printed
5797 message.
5798
09252140
TV
57992020-03-12 Tom de Vries <tdevries@suse.de>
5800
5801 * gdb.base/info-types.exp: Use exp_continue during matching of output
5802 of "info types".
5803
14e9c72c
TV
58042020-03-12 Tom de Vries <tdevries@suse.de>
5805
5806 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5807
e515d67e
TV
58082020-03-12 Tom de Vries <tdevries@suse.de>
5809
5810 * gdb.fortran/module.exp: Use exp_continue during matching of output
5811 of "info variable -n".
5812
307eafd8
TV
58132020-03-12 Tom de Vries <tdevries@suse.de>
5814
5815 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5816 gdb.dwarf2/dw2-ranges-base.c.
5817
9a2de3fc
TV
58182020-03-12 Tom de Vries <tdevries@suse.de>
5819
5820 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5821 in presence of GLIBC debuginfo.
5822
3217502e
TV
58232020-03-12 Tom de Vries <tdevries@suse.de>
5824
5825 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5826 $core.
5827
1281424c
TV
58282020-03-12 Tom de Vries <tdevries@suse.de>
5829
5830 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5831 more precise.
5832
038b97fc
SM
58332020-03-11 Simon Marchi <simon.marchi@efficios.com>
5834
5835 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5836 from Unix to Windows path.
5837
5308d1e7
TV
58382020-03-11 Tom de Vries <tdevries@suse.de>
5839
5840 * gdb.ada/minsyms.exp: Set language to ada.
5841
f870f78f
TV
58422020-03-11 Tom de Vries <tdevries@suse.de>
5843
5844 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5845
5a13315d
TV
58462020-03-11 Tom de Vries <tdevries@suse.de>
5847
5848 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5849
976862ed
TT
58502020-03-11 Tom Tromey <tromey@adacore.com>
5851
5852 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5853
7462c383
TV
58542020-03-11 Tom de Vries <tdevries@suse.de>
5855
5856 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5857
1c6c46a0
TV
58582020-03-11 Tom de Vries <tdevries@suse.de>
5859
5860 * gdb.base/break-interp.exp: Limit verbose scope.
5861
44f41bb7
TV
58622020-03-11 Tom de Vries <tdevries@suse.de>
5863
5864 * gdb.fortran/logical.f90: Define variable with character type.
5865 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5866
b76f3a42
TV
58672020-03-11 Tom de Vries <tdevries@suse.de>
5868
5869 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5870
1c33af77
TV
58712020-03-11 Tom de Vries <tdevries@suse.de>
5872
5873 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5874 symtabs.
5875
8c95582d
AB
58762020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5877 Bernd Edlinger <bernd.edlinger@hotmail.de>
5878
5879 * gdb.cp/step-and-next-inline.cc: New file.
5880 * gdb.cp/step-and-next-inline.exp: New file.
5881 * gdb.cp/step-and-next-inline.h: New file.
5882 * gdb.dwarf2/dw2-is-stmt.c: New file.
5883 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5884 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5885 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5886 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5887
cecf8547
AB
58882020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5889
5890 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5891 is-stmt flag in the line table.
5892
0ba678c9
TV
58932020-03-09 Tom de Vries <tdevries@suse.de>
5894
5895 * lib/gdb.exp (cached_file): Create cache dir.
5896
72fbdf83
TV
58972020-03-07 Tom de Vries <tdevries@suse.de>
5898
5899 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5900 * gdb.cp/rvalue-ref-params.exp: Same.
5901
436b5e99
TV
59022020-03-06 Tom de Vries <tdevries@suse.de>
5903
5904 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5905 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5906
09f2921c
TV
59072020-03-06 Tom de Vries <tdevries@suse.de>
5908
5909 * README: Fix "the the".
5910 * gdb.base/dprintf.exp: Same.
5911
50a3cc5d
TV
59122020-03-05 Tom de Vries <tdevries@suse.de>
5913
5914 * gdb.base/maint.exp: Update "main print statistics" expected output.
5915
0a709cba
AKS
59162020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5917
5918 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5919 (fortran_int8): Likewise.
5920 (fortran_real4): Likewise.
5921 (fortran_real8): Likewise.
5922 (fortran_complex4): Likewise.
5923 (fortran_logical4): Likewise.
5924 (fortran_character1): Likewise.
5925
5e5d66b6
AB
59262020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5927
5928 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5929 printed as true.
5930
7b973adc
SDJ
59312020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5932
5933 * gdb.base/printcmds.exp: Add test to verify printf of a
5934 variable holding an address.
5935
478e490a
TV
59362020-03-03 Tom de Vries <tdevries@suse.de>
5937
5938 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5939
1ef44e86
TV
59402020-03-03 Tom de Vries <tdevries@suse.de>
5941
5942 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5943 gdb_test_multiple call.
5944
b98cc2cf
TV
59452020-03-03 Tom de Vries <tdevries@suse.de>
5946
5947 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5948 gdb_test_multiple calls.
5949
63e163f2
AB
59502020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5951
5952 * gdb.base/default.exp: Remove test of 'set history filename'.
5953 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5954 filename to the empty string.
5955 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5956 and GDBHISTSIZE.
5957
24ed6739
AB
59582020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5959
5960 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5961 disabled.
5962
590003dc 59632020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5964 Tom de Vries <tdevries@suse.de>
590003dc
TV
5965
5966 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5967 -prompt prefix, before user_code argument. Add -lbl option likewise.
5968 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5969 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5970 argument.
5971 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5972 have "\r\n" at start-of-line, instead of at end-of-line.
5973
f5e46084
SM
59742020-02-28 Simon Marchi <simon.marchi@efficios.com>
5975
5976 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5977 libinproctrace.so.
5978
f7a7000d
LM
59792020-02-28 Luis Machado <luis.machado@linaro.org>
5980
5981 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5982 to "p/x".
5983
718e0816
LM
59842020-02-28 Luis Machado <luis.machado@linaro.org>
5985
5986 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5987 asm/ptrace.h and error.h.
5988
13c3a74a
TV
59892020-02-28 Tom de Vries <tdevries@suse.de>
5990
5991 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5992 (struct wrapper, do_something, mundane/symada__cS): Move ...
5993 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5994 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5995 Update "print symada__cS before partial symtab expansion" regexp.
5996 Update breakpoint location. Flush symbol cache after expansion.
5997
85d2d5bb
LM
59982020-02-28 Luis Machado <luis.machado@linaro.org>
5999
6000 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
6001
3608f86c
TV
60022020-02-27 Tom de Vries <tdevries@suse.de>
6003
6004 * config/sid.exp: Remove unused globals.
6005 * gdb.base/attach.exp: Same.
6006 * gdb.base/catch-load.exp: Same.
6007 * gdb.base/dbx.exp: Same.
6008 * lib/gdb.exp: Same.
6009 * lib/mi-support.exp: Same.
6010 * lib/prompt.exp: Same.
6011
c8d4f6df
TV
60122020-02-27 Tom de Vries <tdevries@suse.de>
6013
6014 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
6015 not set.
6016
0d79cdc4
AM
60172020-02-26 Aaron Merey <amerey@redhat.com>
6018
6019 * gdb.debuginfod: New directory for debuginfod tests.
6020 * gdb.debuginfod/main.c: New test file.
6021 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
6022
0dce4280
TV
60232020-02-26 Tom de Vries <tdevries@suse.de>
6024
6025 PR gdb/25603
6026 * gdb.base/persistent-lang.cc: New test.
6027 * gdb.base/persistent-lang.exp: New file.
6028
9e80cfa1
AB
60292020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
6030
6031 * gdb.fortran/derived-type-striding.exp: Add a new test.
6032 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
6033 new test.
6034
2078dbb2
AB
60352020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
6036
6037 * gdb.base/cached-source-file.exp: Avoid source file paths in test
6038 names.
6039
70d49700
TV
60402020-02-25 Tom de Vries <tdevries@suse.de>
6041
6042 PR go/18926
6043 * gdb.go/methods.exp: Remove gcc/93866 xfail.
6044
a88ef40d
TV
60452020-02-24 Tom de Vries <tdevries@suse.de>
6046
6047 PR gdb/25592
6048 * gdb.base/info-locals-unused-static-var.c: New test.
6049 * gdb.base/info-locals-unused-static-var.exp: New file.
6050
01b1af32
TT
60512020-02-22 Tom Tromey <tom@tromey.com>
6052
6053 * gdb.python/tui-window.exp: New file.
6054 * gdb.python/tui-window.py: New file.
6055
7c043ba6
TT
60562020-02-22 Tom Tromey <tom@tromey.com>
6057
6058 PR tui/17850:
6059 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
6060 tests.
6061
c22fef7e
TT
60622020-02-22 Tom Tromey <tom@tromey.com>
6063
6064 * gdb.tui/new-layout.exp: Add sub-layout tests.
6065
ee325b61
TT
60662020-02-22 Tom Tromey <tom@tromey.com>
6067
6068 * gdb.tui/new-layout.exp: New file.
6069
3f0cbb04
TT
60702020-02-22 Tom Tromey <tom@tromey.com>
6071
6072 * gdb.rust/rust-style.rs: New file.
6073 * gdb.rust/rust-style.exp: New file.
6074 * gdb.base/style.exp: Test structure printing.
6075 * gdb.base/style.c (struct some_struct): New type.
6076 (enum etype): New type.
6077 (struct_value): New global.
6078
75525152
TV
60792020-02-21 Tom de Vries <tdevries@suse.de>
6080
6081 PR go/18926
6082 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
6083 Remove blanket xfails. Use message argument for gdb_breakpoint.
6084 Make continuing to breakpoint test conditional on setting breakpoint.
6085 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
6086 DW_AT_name attribute. Add xfail for GCC PR93866.
6087
bd360d30
AB
60882020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
6089
6090 * gdb.dwarf2/cpp-linkage-name.c: New file.
6091 * gdb.dwarf2/cpp-linkage-name.exp: New file.
6092
c7adb09f 60932020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
6094
6095 * lib/gdb.exp (gdb_wrapper_init): Reset
6096 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
6097 not exist.
6098
a9c79803
TV
60992020-02-20 Tom de Vries <tdevries@suse.de>
6100
6101 PR go/17018
6102 * gdb.go/hello.exp: Copy ...
6103 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
6104 print of st to print value of global definition. Add xfail for GCC
6105 PR93844.
6106 * gdb.go/hello.exp: Remove printing of st before definition.
6107 * gdb.go/hello.go: Copy ...
6108 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
6109 to st.
6110 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
6111
d7445728
TV
61122020-02-20 Tom de Vries <tdevries@suse.de>
6113
6114 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
6115 (gdb_simple_compile): Handle compile_flags go by using .go extension
6116 for source file.
6117 * gdb.go/chan.exp: Use support_go_compile.
6118 * gdb.go/handcall.exp: Same.
6119 * gdb.go/hello.exp: Same.
6120 * gdb.go/integers.exp: Same.
6121 * gdb.go/max-depth.exp: Same.
6122 * gdb.go/methods.exp: Same.
6123 * gdb.go/package.exp: Same.
6124 * gdb.go/strings.exp: Same.
6125 * gdb.go/types.exp: Same.
6126 * gdb.go/unsafe.exp: Same.
6127
c9c41e6d
TV
61282020-02-19 Tom de Vries <tdevries@suse.de>
6129
6130 * gdb.python/lib-types.exp: Make xfail more strict.
6131
f20ff837
TV
61322020-02-19 Tom de Vries <tdevries@suse.de>
6133
6134 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
6135
08410482
DE
61362020-02-19 Doug Evans <dje@google.com>
6137
6138 PR rust/25535
6139 * gdb.rust/simple.exp: Add test.
6140 * gdb.rust/simple.rs: Add test.
6141
623563f7
TV
61422020-02-19 Tom de Vries <tdevries@suse.de>
6143
6144 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
6145 output line-by-line.
6146
d3308cfd
TV
61472020-02-19 Tom de Vries <tdevries@suse.de>
6148
6149 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
6150
86cbc5dc
TV
61512020-02-19 Tom de Vries <tdevries@suse.de>
6152
6153 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
6154 prelink.
6155
9db2b96b
TV
61562020-02-19 Tom de Vries <tdevries@suse.de>
6157
6158 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
6159 (gdb_do_cache): Use gdb_do_cache_wrap.
6160 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
6161
89e2fdc5
TV
61622020-02-19 Tom de Vries <tdevries@suse.de>
6163
6164 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
6165 gdb_compile option.
6166
373d7ac0
SM
61672020-02-18 Simon Marchi <simon.marchi@efficios.com>
6168
6169 * gdb.base/printcmds.exp (test_print_enums): Update expected
6170 output.
6171
b29a2df0
SM
61722020-02-18 Simon Marchi <simon.marchi@efficios.com>
6173
6174 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
6175 for "unknown".
6176
6740f0cc
SM
61772020-02-18 Simon Marchi <simon.marchi@efficios.com>
6178
6179 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
6180 enumerator.
6181
edd45eb0
SM
61822020-02-18 Simon Marchi <simon.marchi@efficios.com>
6183
6184 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
6185 FE_, add FE_NONE.
6186 (three): Update.
6187 (enum flag_enum_without_zero): New enum.
6188 (flag_enum_without_zero): New variable.
6189 (enum not_flag_enum): New enum.
6190 (three_not_flag): New variable.
6191 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
6192 (test_print_enums): Add more tests for printing flag enums.
6193
d4295de4
TV
61942020-02-18 Tom de Vries <tdevries@suse.de>
6195
6196 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
6197 (gdb_compile_ada): ... here.
6198 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
6199 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
6200
f251f505
TT
62012020-02-14 Tom Tromey <tom@tromey.com>
6202
6203 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
6204 build directory.
6205 * boards/gdbserver-base.exp: Update path to gdbserver.
6206
8f432634
TV
62072020-02-13 Tom de Vries <tdevries@suse.de>
6208
6209 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
6210
92b6eaf7
TV
62112020-02-13 Tom de Vries <tdevries@suse.de>
6212
6213 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
6214 are missing.
6215
f3b0f7fe
TV
62162020-02-13 Tom de Vries <tdevries@suse.de>
6217
6218 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
6219 call.
6220
f6be8713
SDJ
62212020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
6222
6223 PR tui/25126
6224 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
6225 * gdb.base/cached-source-file.c: New file.
6226 * gdb.base/cached-source-file.exp: New file.
6227
b2770d5e
TV
62282020-02-11 Tom de Vries <tdevries@suse.de>
6229
6230 PR testsuite/25488
6231 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
6232
44f6938e
TV
62332020-02-10 Tom de Vries <tdevries@suse.de>
6234
6235 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
6236
5f0e2eb7
MR
62372020-02-10 Maciej W. Rozycki <macro@wdc.com>
6238
6239 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
6240 and $after_addr are both integers before making a comparison.
6241
46ce2b6f
TV
62422020-02-09 Tom de Vries <tdevries@suse.de>
6243
6244 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
6245 command output and paste it into gdb.log. If any, paste catch message
6246 to gdb.log.
6247
5abbbe1d
TT
62482020-02-07 Tom Tromey <tromey@adacore.com>
6249
6250 PR breakpoints/24915:
6251 * gdb.base/annotate-symlink.exp: Use setup_xfail.
6252
1d5d29e7
SV
62532020-02-06 Shahab Vahedi <shahab@synopsys.com>
6254
6255 * gdb.tui/tui-missing-src.exp: Add the "missing source
6256 file" test for the TUI.
6257
b0999b9b
AB
62582020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
6259
6260 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
6261 including a port number in the output.
6262
c3b149eb
AKS
62632020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
6264
6265 * lib/fortran.exp (fortran_int4): Handle clang.
6266 (fortran_int8): Likewise.
6267 (fortran_real4): Likewise.
6268 (fortran_real8): Likewise.
6269 (fortran_complex4): Likewise.
6270 (fortran_logical4): Likewise.
6271 (fortran_character1): Likewise.
6272
f8dcc90b
TV
62732020-02-04 Tom de Vries <tdevries@suse.de>
6274
6275 * README (Race detection): Add note.
6276
f90ac7c2
TV
62772020-02-04 Tom de Vries <tdevries@suse.de>
6278
6279 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
6280
780636ae
TV
62812020-02-04 Tom de Vries <tdevries@suse.de>
6282
6283 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
6284
5d2e1193
RA
62852020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6286
6287 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
6288 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
6289 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
6290 blttar, bnetarl.
6291 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
6292 binary for blttar, bnetarl.
6293 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6294 wait instruction. Delete ldmx test.
6295 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6296
e409c542
AKS
62972020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6298
6299 * gdb.fortran/array-bounds-high.exp: New file.
6300 * gdb.fortran/array-bounds-high.f90: New file.
6301
b0029748
LD
63022020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6303
6304 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6305 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6306
195a8287
TV
63072020-02-01 Tom de Vries <tdevries@suse.de>
6308
6309 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6310
42330a68
AB
63112020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6312
6313 PR tui/9765
6314 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6315 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6316
b62a8028
LM
63172020-01-29 Luis Machado <luis.machado@linaro.org>
6318
6319 * gdb.arch/aarch64-brk-patterns.c: New source file.
6320 * gdb.arch/aarch64-brk-patterns.exp: New test.
6321
5f440116
TBA
63222020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6323
6324 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6325 GCC/Clang version.
6326 * gdb.cp/pass-by-ref.exp: Ditto.
6327
ee2a6fc6
TV
63282020-01-29 Tom de Vries <tdevries@suse.de>
6329
6330 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6331 * gdb.threads/watchpoint-fork-mt.c: Same.
6332 * gdb.threads/watchpoint-fork-parent.c: Same.
6333 * gdb.threads/watchpoint-fork-st.c: Same.
6334 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6335
16b10d6e
LM
63362020-01-27 Luis Machado <luis.machado@linaro.org>
6337
6338 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6339 sitting at a syscall instruction when we hit the syscall function's
6340 breakpoint.
6341 Check PC against one obtained with the x command.
6342 Validate syscall number.
6343 (step_over_syscall): Don't continue to the syscall instruction if
6344 we're already there.
6345
b1468492
PW
63462020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6347
6348 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6349
7ffa82e1
AB
63502020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6351
6352 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6353 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6354
3d92a3e3
AB
63552020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6356
6357 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6358 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6359
94a72be7
AB
63602020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6361
6362 * gdb.base/maint.exp: Update line table parsing test.
6363 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6364
53af73bf
PA
63652020-01-24 Pedro Alves <palves@redhat.com>
6366
6367 PR gdb/25410
6368 * gdb.multi/multi-re-run-1.c: New.
6369 * gdb.multi/multi-re-run-2.c: New.
6370 * gdb.multi/multi-re-run.exp: New.
6371
1ba1ac88
AB
63722020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6373
6374 PR gdb/23718
6375 * gdb.server/server-kill-python.exp: New file.
6376
f3364a6d
AB
63772020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6378
6379 * gdb.server/multi-ui-errors.c: New file.
6380 * gdb.server/multi-ui-errors.exp: New file.
6381
733d0a67
AB
63822020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6383
6384 PR tui/9765
6385 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6386
4f13c1c0
TT
63872020-01-19 Tom Tromey <tom@tromey.com>
6388
6389 * gdb.tui/main.exp: Add check for plain "file".
6390
40c94099
CB
63912020-01-16 Christian Biesinger <cbiesinger@google.com>
6392
6393 * lib/gdb.exp: Fix spelling error (seperatelly).
6394
ff47f4f0
TT
63952020-01-14 Tom Tromey <tom@tromey.com>
6396
6397 PR symtab/12535:
6398 * gdb.python/python.exp: Test decode_line with empty string
6399 argument.
6400
717c684d
BE
64012020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6402
6403 * gdb.base/skip-inline.exp: Extend test.
6404
44e4c775
AB
64052020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6406
6407 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6408 * gdb.dwarf2/dw2-bad-elf.c: New file.
6409 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6410
d93c6db7
AB
64112020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6412
6413 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6414 _line_saw_file.
6415
9a6d629c
AB
64162020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6417
6418 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6419 border.
6420
d9ebdab7
TBA
64212020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6422
6423 * gdb.multi/multi-target.exp (setup): Factor out "info
6424 connections" and "info inferiors" tests to ...
6425 (test_info_inferiors): ... this new procedure.
6426 (top level): Run new "info-inferiors" tests.
6427
f3c469b9
PA
64282020-01-10 Pedro Alves <palves@redhat.com>
6429
6430 * gdb.server/bkpt-other-inferior.exp: New file.
6431
121b3efd
PA
64322020-01-10 Pedro Alves <palves@redhat.com>
6433
6434 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6435 of "add-inferior".
6436 * gdb.base/quit-live.exp: Likewise.
6437 * gdb.base/remote-exec-file.exp: Likewise.
6438 * gdb.guile/scm-progspace.exp: Likewise.
6439 * gdb.linespec/linespec.exp: Likewise.
6440 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6441 * gdb.mi/user-selected-context-sync.exp: Likewise.
6442 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6443 "info inferiors" tests.
6444 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6445 "add-inferior".
6446 * gdb.multi/watchpoint-multi.exp: Likewise.
6447 * gdb.python/py-inferior.exp: Likewise.
6448 * gdb.server/extended-remote-restart.exp: Likewise.
6449 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6450 "info inferiors".
6451 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6452 * gdb.trace/report.exp: Likewise.
6453
1dadb1dd
PA
64542020-01-10 Pedro Alves <palves@redhat.com>
6455
6456 * gdb.multi/multi-target.c: New file.
6457 * gdb.multi/multi-target.exp: New file.
6458 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6459 mode requested, but remote does not support non-stop".
6460
78f2c40a
PA
64612020-01-10 Pedro Alves <palves@redhat.com>
6462
6463 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6464 disconnect before reconnecting.
6465
e7af6c70
TBA
64662020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6467 Pedro Alves <palves@redhat.com>
6468
6469 * gdb.server/connect-without-multi-process.exp: Also test
6470 continuing to end.
6471
acdf84a6
PA
64722020-01-10 Pedro Alves <palves@redhat.com>
6473
6474 * gdb.base/remote-exec-file.exp: New file.
6475
873657b9
PA
64762020-01-10 Pedro Alves <palves@redhat.com>
6477
6478 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6479 output.
6480 * gdb.threads/async.c: New.
6481 * gdb.threads/async.exp: New.
6482 * gdb.multi/tids-gid-reset.c: New.
6483 * gdb.multi/tids-gid-reset.exp: New.
6484
7f0ae84c
GB
64852020-01-10 George Barrett <bob@bob131.so>
6486
6487 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6488 to help in finding the image relocation offset.
6489 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6490 options in arguments.
6491 (stap_test_no_debuginfo): Likewise.
6492 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6493 test variants.
6494 (stap_test): Add null semaphore relocation test.
6495
47e9d49d
GB
64962020-01-10 George Barrett <bob@bob131.so>
6497
6498 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6499 * gdb.base/stap-probe.exp: Likewise.
6500 (stap_test): Pass argument as an additional flag.
6501 (stap_test_no_debuginfo): Likewise.
6502 (stap_test): Check `info probes stap' output for semaphore
6503 addresses if the test binary is supposed to have them.
6504
f5a7c406
AB
65052020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6506
6507 * gdb.tui/basic.exp: Add more scrolling tests.
6508
9ae6bf64
TT
65092020-01-09 Tom Tromey <tom@tromey.com>
6510
6511 PR tui/18932:
6512 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6513 meangingful value.
6514 (Term::command, Term::resize): Update.
6515 * gdb.tui/basic.exp: Add scrolling test.
6516
b2efe70c
AB
65172020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6518
6519 * gdb.tui/tui-layout-asm.exp: New file.
6520
3804da7e
AB
65212020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6522
6523 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6524
b40aa28f
AB
65252020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6526
6527 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6528 (Term::enter_tui): Use Term::prepare_for_tui.
6529
63ffd7c9
AB
65302020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6531
6532 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6533 called.
6534
3be966f6
AB
65352020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6536
6537 * gdb.base/skip.exp: Fix race condition in test.
6538
153d79c4
AB
65392020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6540
6541 * gdb.base/backtrace.c: New file.
6542 * gdb.base/backtrace.exp: New file.
6543
f2302a34
AB
65442020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6545
6546 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6547
6ec1d75e
PW
65482020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6549
6550 * gdb.base/style.exp: Test that warnings are styled.
6551
c296cbe6
BE
65522019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6553
6554 * gdb.base/line65535.exp: New file.
6555 * gdb.base/line65535.c: New file.
6556
b28a729d
SM
65572019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6558
6559 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6560 * lib/gnat_debug_info_test.adb: New file.
6561 * gdb.ada/ptype_tagged_param.exp: Use
6562 gnat_runtime_has_debug_info, expect a different output if
6563 runtime does not have debug info.
6564
7f2d7a0d
SM
65652019-12-20 Simon Marchi <simon.marchi@efficios.com>
6566
6567 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6568 (another) quote in test name.
6569
f3bce483
SM
65702019-12-20 Simon Marchi <simon.marchi@efficios.com>
6571
6572 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6573 Add quote in test name.
6574
c855a912
TBA
65752019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6576
6577 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6578 directory instead.
6579 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6580 * gdb.cp/pass-by-ref-2.cc: New file.
6581 * gdb.cp/pass-by-ref-2.exp: New file.
6582
fc9d2d72
TT
65832019-12-20 Tom Tromey <tom@tromey.com>
6584
6585 * gdb.tui/list-before.exp: New file.
6586
77b97e00
TT
65872019-12-20 Tom Tromey <tom@tromey.com>
6588
6589 * gdb.tui/list.exp: Check for source on initial listing.
6590
f69656d0
TT
65912019-12-11 Tom Tromey <tromey@adacore.com>
6592
6593 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6594 Add crlf test.
6595
99a55965
SM
65962019-12-18 Simon Marchi <simon.marchi@efficios.com>
6597
6598 * gdb.base/default.exp: Update value of $_gdb_major.
6599
5024637f
BE
66002019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6601
6602 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6603
b63634be
BE
66042019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6605
6606 * gdb.base/skip.exp: Whitespace fix.
6607
45d73523
BE
66082019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6609
6610 * gdb.base/skip-inline.c: New file.
6611 * gdb.base/skip-inline.exp: New file.
6612
d043f8c8
SM
66132019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6614
6615 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6616 jit_function_00 to jit_function_stack_mangle.
6617 * gdb.base/jithost.c (jit_function_t): Rename to...
6618 (jit_function_stack_mangle_t): ... this.
6619 (jit_function_add_t): New typedef.
6620 (jit_function_00_code): Rename to...
6621 (jit_function_stack_mangle_code): ... this, make static.
6622 (jit_function_add_code): New.
6623 (main): Generate "add" function and call it. Adjust to changes
6624 in jithost_abi.
6625 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6626 (struct jithost_abi) <begin, end>: Remove fields.
6627 <object, function_stack_mangle, function_add>: New fields.
6628 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6629 code_end>: Remove fields.
6630 <func_stack_mangle>: New field.
6631 (read_debug_info): Adjust to renaming, create block for "add"
6632 function.
6633 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6634
873de05c
TT
66352019-12-11 Tom Tromey <tom@tromey.com>
6636
6637 * gdb.tui/resize.exp: Fix regexp.
6638 * gdb.tui/regs.exp: Fix regexps.
6639 * gdb.tui/main.exp: Fix regexp.
6640
3d979945
TT
66412019-12-11 Tom Tromey <tom@tromey.com>
6642
6643 * gdb.tui/resize.exp: Update.
6644 * gdb.tui/empty.exp (layouts): Update.
6645
2192a9d3
TT
66462019-12-11 Tom Tromey <tom@tromey.com>
6647
6648 * gdb.tui/regs.exp: Update.
6649 * gdb.tui/empty.exp (layouts): Update.
6650 * gdb.tui/basic.exp: Update.
6651 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6652
d8edc8b7
PW
66532019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6654
6655 * gdb.base/options.exp: Add -raw-values in the print completion list.
6656 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6657
4c12d936
KB
66582019-12-10 Kevin Buettner <kevinb@redhat.com>
6659
6660 * gdb.threads/omp-par-scope.c: New file.
6661 * gdb/threads/omp-par-scope.exp: New file.
6662
26b911fb
KB
66632019-12-10 Kevin Buettner <kevinb@redhat.com>
6664
bb47f919
KB
6665 * lib/gdb.exp (support_nested_function_tests): New proc.
6666
66672019-12-10 Kevin Buettner <kevinb@redhat.com>
6668
6669 * lib/gdb.exp (gdb_compile_openmp): New proc.
6670 (build_executable_from_specs): Add an "openmp" option.
6671 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6672
6c71eb7d
TT
66732019-12-10 Tom Tromey <tromey@adacore.com>
6674
6675 * gdb.ada/unchecked_union.exp: New file.
6676 * gdb.ada/unchecked_union/pck.adb: New file.
6677 * gdb.ada/unchecked_union/pck.ads: New file.
6678 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6679 * gdb-utils.exp (string_to_regexp): Also quote "?".
6680
bac7c5cf
GB
66812019-12-10 George Barrett <bob@bob131.so>
6682
6683 Test scripted probe breakpoints.
6684 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6685 * gdb.python/py-breakpoint.c (main): Likewise.
6686 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6687 specifier test.
6688 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6689
330f1d38
TBA
66902019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6691
6692 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6693 an rvalue parameter.
6694 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6695 parameter.
6696
b43315e2
AB
66972019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6698
6699 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6700 modules.
6701
54f73dad
AB
67022019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6703
6704 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6705 broken version of GCC.
6706
d57cbee9
AB
67072019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6708
6709 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6710 sym-info-cmds library.
6711 * gdb.fortran/info-types.exp: Likewise.
6712 * lib/sym-info-cmds.exp: New file.
6713
c14aab8c
TV
67142019-12-08 Tom de Vries <tdevries@suse.de>
6715
6716 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6717
aa2d5a42
KS
67182019-12-07 Keith Seitz <keiths@redhat.com>
6719
6720 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6721 * gdb.base/corefile-buildid-shlib.c: New file.
6722 * gdb.base/corefile-buildid.c: New file.
6723 * gdb.base/corefile-buildid.exp: New file.
6724
93e55f0a
TV
67252019-12-06 Tom de Vries <tdevries@suse.de>
6726
6727 * gdb.dwarf2/varval.exp: Add decl before def test.
6728
c7d12402
TBA
67292019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6730
6731 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6732
06acc08f
TBA
67332019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6734
6735 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6736 CV and reference conversion for overload resolution.
6737 * gdb.cp/rvalue-ref-overload.exp: Test it.
6738
e0fad1ea
PW
67392019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6740
6741 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6742 * gdb.base/frameapply.exp: Test faas without command.
6743
8d70a9f0
AB
67442019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6745
6746 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6747 Fortran tests.
6748 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6749 order.
6750
36c8fb93
AB
67512019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6752
6753 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6754 casting to type with no kind specified.
6755 (test_basic_parsing_of_type_kinds): Additional tests for types
6756 with no kind specified, and add tests for single/double
6757 precision/complex types.
6758
4139ff00
TT
67592019-12-04 Tom Tromey <tromey@adacore.com>
6760
6761 * gdb.base/endianity.c (struct other) <x>: New field.
6762 (main): Initialize it.
6763 * gdb.base/endianity.exp: Update.
6764
a05cf17a
TT
67652019-12-04 Tom Tromey <tromey@adacore.com>
6766
6767 * gdb.ada/scalar_storage/storage.adb: New file.
6768 * gdb.ada/scalar_storage/pck.adb: New file.
6769 * gdb.ada/scalar_storage/pck.ads: New file.
6770 * gdb.ada/scalar_storage.exp: New file.
6771
103a685e
TT
67722019-12-04 Tom Tromey <tromey@adacore.com>
6773
6774 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6775 (main): Initialize it.
6776 * gdb.base/endianity.exp: Update.
6777
c2512106
AB
67782019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6779
6780 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6781
293b38d6
AB
67822019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6783
6784 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6785 -symbol-info-module-functions and -symbol-info-module-variables.
6786
216a7e6b
AB
67872019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6788
6789 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6790
5bbd8269
AB
67912019-12-01 Richard Bunt <richard.bunt@arm.com>
6792 Andrew Burgess <andrew.burgess@embecosm.com>
6793
6794 * gdb.fortran/derived-type-striding.exp: New file.
6795 * gdb.fortran/derived-type-striding.f90: New file.
6796 * gdb.fortran/array-slices.exp: New file.
6797 * gdb.fortran/array-slices.f90: New file.
6798
be09caf1
PW
67992019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6800
6801 * gdb.base/define.exp: Test . in command names.
6802 * gdb.base/setshow.exp: Update test, as . is now part of
6803 command name.
6804
643c0cbe
PW
68052019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6806
6807 * gdb.base/define-prefix.exp: New file.
6808
dcdec678
AB
68092019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6810
6811 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6812 compile.
6813 (skip_btrace_pt_tests): Likewise.
6814
640ab947
AB
68152019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6816
6817 * gdb.fortran/info-modules.exp: Compile source files in correct
6818 order.
6819
d22670f0
KB
68202019-11-27 Kevin Buettner <kevinb@redhat.com>
6821
6822 * gdb.dwarf2/imported-unit.exp: New file.
6823 * gdb.dwarf2/imported-unit.c: New file.
6824
db5960b4
AB
68252019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6826
6827 * gdb.mi/mi-fortran-modules-2.f90: New file.
6828 * gdb.mi/mi-fortran-modules.exp: New file.
6829 * gdb.mi/mi-fortran-modules.f90: New file.
6830
7dc42066
AB
68312019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6832
6833 * gdb.mi/mi-sym-info-1.c: New file.
6834 * gdb.mi/mi-sym-info-2.c: New file.
6835 * gdb.mi/mi-sym-info.exp: New file.
6836
0dfeecca
TT
68372019-11-22 Tom Tromey <tromey@adacore.com>
6838
6839 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6840 * gdb.ada/tasks/foo.adb: Add another stopping location.
6841
34877895
PJ
68422019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6843
6844 * gdb.base/endianity.c: New test.
6845 * gdb.base/endianity.exp: New file.
6846
2e84f897
LD
68472019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6848
6849 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6850
65d1cd5f
TV
68512019-11-21 Tom de Vries <tdevries@suse.de>
6852
6853 PR gdb/24956
6854 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6855
4f22c3f4
SDJ
68562019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6857
6858 * gdb.python/py-progspace.exp: Add missing parentheses on some
6859 'print' commands.
6860
9f6ad286
TT
68612019-11-19 Tom Tromey <tom@tromey.com>
6862
6863 * gdb.tui/winheight.exp: New file.
6864
0b8dbf3f
AB
68652019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6866
6867 * gdb.base/ctf-whatis.c: Delete.
6868 * gdb.base/ctf-whatis.exp: Delete.
6869 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6870
f833b7a7
AB
68712019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6872
6873 * gdb.base/ctf-cvexpr.exp: Delete.
6874 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6875
30d0a636
AB
68762019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6877
6878 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6879 the compiler. Clean up header comment a little.
6880 * gdb.base/ctf-ptype.exp: Likewise.
6881 * gdb.base/ctf-whatis.exp: Likewise.
6882 * lib/gdb.exp (skip_ctf_tests): New proc.
6883
494409bb
SDJ
68842019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6885
6886 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6887 * gdb.tui/corefile-run.exp: New file.
6888
55708e99
TT
68892019-11-14 Tom Tromey <tromey@adacore.com>
6890
6891 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6892 regression tests.
6893
45e42163
TT
68942019-11-12 Tom Tromey <tom@tromey.com>
6895
6896 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6897 after any command. Expect prompt after WAIT_FOR is seen.
6898 (enter_tui): Enable resize messages.
6899 (command): Expect command in output.
6900 (get_line): Avoid error when cursor appears to be off-screen.
6901 (dump_screen): Include screen size in title.
6902 (_do_resize): New proc, from "resize".
6903 (resize): Rewrite. Do resize in two steps.
6904 * gdb.tui/empty.exp (layouts): Fix entries.
6905 (check_boxes): Remove xfail.
6906 (check_text): Dump screen on failure.
6907
086baaf1
AB
69082019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6909
6910 * gdb.python/py-symbol.exp: Add test for
6911 gdb.lookup_static_symbols.
6912
09ff83af
AB
69132019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6914
6915 * gdb.python/py-symbol.c: Declare and call function from new
6916 py-symbol-2.c file.
6917 * gdb.python/py-symbol.exp: Compile both source files, and add new
6918 tests for gdb.lookup_static_symbol.
6919 * gdb.python/py-symbol-2.c: New file.
6920
11af934b
TV
69212019-11-02 Tom de Vries <tdevries@suse.de>
6922
6923 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6924 * gdb.base/anon.exp: Same.
6925 * gdb.base/auto-connect-native-target.exp: Same.
6926 * gdb.base/call-ar-st.exp: Same.
6927 * gdb.base/catch-syscall.exp: Same.
6928 * gdb.base/commands.exp: Same.
6929 * gdb.base/default.exp: Same.
6930 * gdb.base/display.exp: Same.
6931 * gdb.base/float.exp: Same.
6932 * gdb.base/foll-fork.exp: Same.
6933 * gdb.base/help.exp: Same.
6934 * gdb.base/info-macros.exp: Same.
6935 * gdb.base/info-proc.exp: Same.
6936 * gdb.base/info-target.exp: Same.
6937 * gdb.base/long_long.exp: Same.
6938 * gdb.base/macscp.exp: Same.
6939 * gdb.base/memattr.exp: Same.
6940 * gdb.base/nofield.exp: Same.
6941 * gdb.base/pointers.exp: Same.
6942 * gdb.base/printcmds.exp: Same.
6943 * gdb.base/ptype.exp: Same.
6944 * gdb.base/restore.exp: Same.
6945 * gdb.base/return.exp: Same.
6946 * gdb.base/scope.exp: Same.
6947 * gdb.base/set-noassign.exp: Same.
6948 * gdb.base/setshow.exp: Same.
6949 * gdb.base/shlib-call.exp: Same.
6950 * gdb.base/signals.exp: Same.
6951 * gdb.base/sigstep.exp: Same.
6952 * gdb.base/skip.exp: Same.
6953 * gdb.base/solib-symbol.exp: Same.
6954 * gdb.base/stap-probe.exp: Same.
6955 * gdb.base/step-line.exp: Same.
6956 * gdb.base/step-test.exp: Same.
6957 * gdb.base/style.exp: Same.
6958 * gdb.base/varargs.exp: Same.
6959 * gdb.base/vla-datatypes.exp: Same.
6960 * gdb.base/vla-ptr.exp: Same.
6961 * gdb.base/vla-sideeffect.exp: Same.
6962 * gdb.base/volatile.exp: Same.
6963 * gdb.base/watch-cond-infcall.exp: Same.
6964 * gdb.base/watchpoint.exp: Same.
6965
e96ec2ba
TV
69662019-11-02 Tom de Vries <tdevries@suse.de>
6967
6968 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6969 * gdb.cp/cpexprs.exp: Same.
6970 * gdb.cp/except-multi-location.exp: Same.
6971 * gdb.cp/exceptprint.exp: Same.
6972 * gdb.cp/gdb2384.exp: Same.
6973 * gdb.cp/inherit.exp: Same.
6974 * gdb.cp/m-static.exp: Same.
6975 * gdb.cp/meth-typedefs.exp: Same.
6976 * gdb.cp/misc.exp: Same.
6977 * gdb.cp/namespace.exp: Same.
6978 * gdb.cp/non-trivial-retval.exp: Same.
6979 * gdb.cp/overload.exp: Same.
6980 * gdb.cp/pr17132.exp: Same.
6981 * gdb.cp/re-set-overloaded.exp: Same.
6982 * gdb.cp/rvalue-ref-types.exp: Same.
6983 * gdb.cp/templates.exp: Same.
6984
bd5766ec
LM
69852019-11-01 Luis Machado <luis.machado@linaro.org>
6986
6987 PR gdb/25124
6988
6989 * gdb.arch/pr25124.S: New file.
6990 * gdb.arch/pr25124.exp: New file.
6991
165f8965
AB
69922019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6993
6994 * gdb.fortran/info-modules.exp: Update expected results, and add
6995 additional tests for 'info module functinos', and 'info module
6996 variables'.
6997 * gdb.fortran/info-types.exp: Update expected results.
6998 * gdb.fortran/info-types.f90: Extend testcase with additional
6999 module variables and functions.
7000
59c35742
AB
70012019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7002
7003 * gdb.fortran/info-modules.exp: New file.
7004 * gdb.fortran/info-types.exp: Build with new file.
7005 * gdb.fortran/info-types.f90: Include and use new module.
7006 * gdb.fortran/info-types-2.f90: New file.
7007
f3fb2519
PW
70082019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7009
7010 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
7011 * gdb.base/settings.exp: Test all settings types using
7012 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
7013 that now verifies that the value of "maint show" is the same as
7014 returned by the settings functions. Test the type of the
7015 maintenance settings.
7016 * gdb.base/default.exp: Update show_conv_list.
7017
d1e36019
TV
70182019-10-31 Tom de Vries <tdevries@suse.de>
7019
7020 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
7021 gdb_test.
7022 * gdb.arch/amd64-disp-step.exp: Same.
7023 * gdb.asm/asm-source.exp: Same.
7024 * gdb.btrace/buffer-size.exp: Same.
7025 * gdb.btrace/cpu.exp: Same.
7026 * gdb.btrace/enable.exp: Same.
7027 * gdb.dwarf2/count.exp: Same.
7028 * gdb.dwarf2/dw2-ranges-func.exp: Same.
7029 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
7030 * gdb.fortran/vla-datatypes.exp: Same.
7031 * gdb.fortran/vla-history.exp: Same.
7032 * gdb.fortran/vla-ptype.exp: Same.
7033 * gdb.fortran/vla-value.exp: Same.
7034 * gdb.fortran/whatis_type.exp: Same.
7035 * gdb.guile/guile.exp: Same.
7036 * gdb.multi/tids.exp: Same.
7037 * gdb.python/py-finish-breakpoint.exp: Same.
7038 * gdb.python/py-framefilter.exp: Same.
7039 * gdb.python/py-pp-registration.exp: Same.
7040 * gdb.python/py-xmethods.exp: Same.
7041 * gdb.python/python.exp: Same.
7042 * gdb.server/connect-with-no-symbol-file.exp: Same.
7043 * gdb.server/no-thread-db.exp: Same.
7044 * gdb.server/run-without-local-binary.exp: Same.
7045 * gdb.stabs/weird.exp: Same.
7046 * gdb.threads/attach-many-short-lived-threads.exp: Same.
7047 * gdb.threads/thread-find.exp: Same.
7048 * gdb.threads/tls-shared.exp: Same.
7049 * gdb.threads/tls.exp: Same.
7050 * gdb.threads/wp-replication.exp: Same.
7051 * gdb.trace/ax.exp: Same.
7052 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
7053
3d11e68e
TV
70542019-10-31 Tom de Vries <tdevries@suse.de>
7055
7056 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
7057 * gdb.ada/array_subscript_addr.exp: Same.
7058 * gdb.ada/arrayidx.exp: Same.
7059 * gdb.ada/arrayparam.exp: Same.
7060 * gdb.ada/arrayptr.exp: Same.
7061 * gdb.ada/boolean_expr.exp: Same.
7062 * gdb.ada/call_pn.exp: Same.
7063 * gdb.ada/complete.exp: Same.
7064 * gdb.ada/fixed_cmp.exp: Same.
7065 * gdb.ada/fun_addr.exp: Same.
7066 * gdb.ada/funcall_param.exp: Same.
7067 * gdb.ada/interface.exp: Same.
7068 * gdb.ada/mod_from_name.exp: Same.
7069 * gdb.ada/null_array.exp: Same.
7070 * gdb.ada/packed_array.exp: Same.
7071 * gdb.ada/packed_tagged.exp: Same.
7072 * gdb.ada/print_chars.exp: Same.
7073 * gdb.ada/print_pc.exp: Same.
7074 * gdb.ada/ptype_arith_binop.exp: Same.
7075 * gdb.ada/ptype_field.exp: Same.
7076 * gdb.ada/ptype_tagged_param.exp: Same.
7077 * gdb.ada/rec_return.exp: Same.
7078 * gdb.ada/ref_tick_size.exp: Same.
7079 * gdb.ada/str_ref_cmp.exp: Same.
7080 * gdb.ada/taft_type.exp: Same.
7081 * gdb.ada/tagged.exp: Same.
7082 * gdb.ada/type_coercion.exp: Same.
7083 * gdb.ada/uninitialized_vars.exp: Same.
7084
60b6ede8
TV
70852019-10-30 Tom de Vries <tdevries@suse.de>
7086
7087 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
7088
30baf67b
TV
70892019-10-26 Tom de Vries <tdevries@suse.de>
7090
7091 * gdb.base/bigcore.c: Fix typos in comments.
7092 * gdb.base/ctf-ptype.c: Same.
7093 * gdb.base/long_long.c: Same.
7094 * gdb.dwarf2/dw2-op-out-param.S: Same.
7095 * gdb.python/py-evthreads.c: Same.
7096 * gdb.reverse/i387-stack-reverse.c: Same.
7097 * gdb.trace/tfile.c: Same.
7098 * lib/compiler.c: Same.
7099 * lib/compiler.cc: Same.
7100
158da0d1
TV
71012019-10-25 Tom de Vries <tdevries@suse.de>
7102
7103 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
7104 gdb_test_multiple calls.
7105 * gdb.reverse/sigall-reverse.exp: Same.
7106 * gdb.reverse/solib-precsave.exp: Same.
7107 * gdb.reverse/solib-reverse.exp: Same.
7108 * gdb.reverse/until-precsave.exp: Same.
7109 * gdb.reverse/until-reverse.exp: Same.
7110
4ccdfbec
TV
71112019-10-24 Tom de Vries <tdevries@suse.de>
7112
7113 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
7114 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
7115 kfail using -wrap pattern flag and convenience variable
7116 gdb_test_name.
7117
33d569b7
AB
71182019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
7119
7120 * gdb.python/py-progspace.exp: Add tests for the
7121 Progspace.block_for_pc method.
7122
4d0b984b
TT
71232019-10-23 Tom Tromey <tom@tromey.com>
7124
7125 * configure: Rebuild.
7126 * aclocal.m4: Use m4_include, not sinclude.
7127
94cb3754
TV
71282019-10-21 Tom de Vries <tdevries@suse.de>
7129
7130 * gdb.base/infcall-nested-structs.c: Add
7131 __attribute__((noinline,noclone)) to all functions.
7132 (call_all): Add missing variable initialization. Simplify return value.
7133 (breakpt): Increment volatile variable, to prevent call from being
7134 optimized out.
7135 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
7136
062f1fc1
TV
71372019-10-17 Tom de Vries <tdevries@suse.de>
7138
7139 * gdb.fortran/module.exp: Allow info variables to print info for files
7140 other than module.f90.
7141
0b54364d
AB
71422019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
7143
7144 * gdb.fortran/module.exp: Extend with 'info variables' test.
7145
7ff5fae7
AB
71462019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
7147
7148 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
7149 F77_FOR_TARGET.
7150
d10eccaa
TV
71512019-10-16 Tom de Vries <tdevries@suse.de>
7152
7153 PR tdep/25096
7154 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
7155
745ff14e
TV
71562019-10-16 Tom de Vries <tdevries@suse.de>
7157
7158 PR tdep/24104
7159 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
7160 Add KFAIL for PR tdep/25096.
7161
03e1ab94
TV
71622019-10-16 Tom de Vries <tdevries@suse.de>
7163
7164 PR testsuite/25059
7165 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
7166
b17fcc10
TV
71672019-10-16 Tom de Vries <tdevries@suse.de>
7168
7169 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
7170 as signed.
7171
9223170f
SM
71722019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
7173
7174 * gdb.mi/list-thread-groups-available.exp: Read entries one by
7175 one instead of increasing timeout.
7176
d6e76313
TV
71772019-10-13 Tom de Vries <tdevries@suse.de>
7178
7179 PR record/25038
7180 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
7181 * gdb.reverse/sigall-reverse.exp: Same.
7182 * gdb.reverse/solib-precsave.exp: Same.
7183 * gdb.reverse/solib-reverse.exp: Same.
7184 * gdb.reverse/step-precsave.exp: Same.
7185 * gdb.reverse/until-precsave.exp: Same.
7186 * gdb.reverse/until-reverse.exp: Same.
7187 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
7188
6dfc0041
AA
71892019-10-10 Andreas Arnez <arnez@linux.ibm.com>
7190
7191 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
7192 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
7193 (cmp_struct_05_01, cmp_struct_static_02_01)
7194 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
7195 comparisons.
7196
abcf2cc8
TV
71972019-10-10 Tom de Vries <tdevries@suse.de>
7198
7199 PR testsuite/24888
7200 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
7201 gnatlink.
7202
a50faaf6
TV
72032019-10-09 Tom de Vries <tdevries@suse.de>
7204
7205 PR testsuite/25048
7206 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
7207
60ff3cd7
AB
72082019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7209
7210 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
7211 exceptions due to missing debug information.
7212
dfee8566
TV
72132019-10-07 Tom de Vries <tdevries@suse.de>
7214
7215 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
7216
3d63690a
AB
72172019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7218
7219 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
7220 * gdb.base/annota1.exp: Update to use gdb_test_name.
7221
30d1f018
WP
72222019-10-07 Weimin Pan <weimin.pan@oracle.com>
7223
7224 * gdb.base/ctf-whatis.exp: New file.
7225 * gdb.base/ctf-whatis.c: New file.
7226 * gdb.base/ctf-ptype.exp: New file.
7227 * gdb.base/ctf-ptype.c: New file.
7228 * gdb.base/ctf-constvars.exp: New file.
7229 * gdb.base/ctf-constvars.c: New file.
7230 * gdb.base/ctf-cvexpr.exp: New file.
7231
4dbbb47c
TV
72322019-10-04 Tom de Vries <tdevries@suse.de>
7233
7234 * gdb.cp/local-static.c (main): Move declaration of int i out of the
7235 for loop.
7236
77c2dba3
TT
72372019-10-03 Tom Tromey <tom@tromey.com>
7238
7239 PR rust/24976:
7240 * gdb.rust/simple.rs (Union2): New type.
7241 (main): Use Union2.
7242 * gdb.rust/simple.exp: Add test.
7243
179aed7f
AB
72442019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7245
7246 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
7247 nested function prefix.
7248
0a4b0913
AB
72492019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7250 Richard Bunt <richard.bunt@arm.com>
7251 Andrew Burgess <andrew.burgess@embecosm.com>
7252
7253 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
7254 nested functions.
7255 * gdb.fortran/nested-funcs.f90: Update expected results.
7256 * gdb.fortran/nested-funcs-2.exp: New file.
7257 * gdb.fortran/nested-funcs-2.f90: New file.
7258
082cce05
AB
72592019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7260
7261 * gdb.python/py-parameter.exp: Make test names unique.
7262 * gdb.python/py-template.exp: Likewise.
7263 * gdb.python/py-value.exp: Likewise.
7264
2b74ba5a
AB
72652019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7266
7267 * gdb.base/break-interp.exp: Reduce test name duplication.
7268 * gdb.base/call-sc.exp: Likewise.
7269 * gdb.base/callfuncs.exp: Likewise.
7270 * gdb.base/charset.exp: Likewise.
7271 * gdb.base/dump.exp: Likewise.
7272 * gdb.base/ena-dis-br.exp: Likewise.
7273 * gdb.base/relational.exp: Likewise.
7274 * gdb.base/step-over-syscall.exp: Likewise.
7275 * gdb.base/structs.exp: Likewise.
7276
58eb20d5
AB
72772019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7278
7279 * gdb.linespec/explicit.exp: Make test names unique.
7280 * gdb.linespec/ls-errs.exp: Likewise.
7281
4d421147
AB
72822019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7283
7284 * gdb.reverse/break-precsave.exp: Make test names unique.
7285 * gdb.reverse/break-reverse.exp: Likewise.
7286 * gdb.reverse/finish-precsave.exp: Likewise.
7287 * gdb.reverse/finish-reverse.exp: Likewise.
7288 * gdb.reverse/machinestate-precsave.exp: Likewise.
7289 * gdb.reverse/machinestate.exp: Likewise.
7290 * gdb.reverse/readv-reverse.exp: Likewise.
7291 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7292 * gdb.reverse/sigall-precsave.exp: Likewise.
7293 * gdb.reverse/sigall-reverse.exp: Likewise.
7294 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7295 * gdb.reverse/watch-precsave.exp: Likewise.
7296 * gdb.reverse/watch-reverse.exp: Likewise.
7297
d8c06f22
AB
72982019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7299
7300 * gdb.threads/stop-with-handle.c: New file.
7301 * gdb.threads/stop-with-handle.exp: New file.
7302
3a56ed86
TV
73032019-10-03 Tom de Vries <tdevries@suse.de>
7304
7305 PR testsuite/25059
7306 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7307 directory" line to be missing.
7308
42275044
TV
73092019-10-03 Tom de Vries <tdevries@suse.de>
7310
7311 PR testsuite/25059
7312 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7313 type optional.
7314
9ef62df0
AA
73152019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7316
7317 * gdb.python/py-format-string.c (string.h): New include.
7318 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7319 the same value, for endianness-independence.
7320 * gdb.python/py-format-string.exp (default_regexp_dict)
7321 (test_pretty_structs, test_format): Adjust expected output to the
7322 changed initialization.
7323
37f6a7f4
TT
73242019-10-02 Tom Tromey <tromey@adacore.com>
7325
7326 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7327
1d58d6a2
PA
73282019-10-02 Pedro Alves <palves@redhat.com>
7329 Andrew Burgess <andrew.burgess@embecosm.com>
7330
7331 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7332 "print-file-var.h".
7333 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7334 (get_version_1): Print this_version_id and its address.
7335 Add extern "C" wrappers around interface functions.
7336 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7337 "print-file-var.h".
7338 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7339 (get_version_2): Print this_version_id and its address.
7340 Add extern "C" wrappers around interface functions.
7341 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7342 <stddef.h> and "print-file-var.h".
7343 Add extern "C" wrappers around interface functions.
7344 [VERSION_ID_MAIN] (this_version_id): Define.
7345 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7346 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7347 up extern "C" blocks.
7348 * gdb.base/print-file-var.exp (test): New, factored out from top
7349 level.
7350 (top level): Test all combinations of attribute hidden or not,
7351 dlopen or not, and this_version_id symbol in main file or not.
7352 Compile tests as both C++ and C, make test names unique.
7353
d770d56f
TT
73542019-10-01 Tom Tromey <tom@tromey.com>
7355
7356 * gdb.base/style.exp: Test "show logging filename".
7357
7f6aba03
TT
73582019-10-01 Tom Tromey <tom@tromey.com>
7359
7360 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7361 * gdb.base/style.exp: Add metadata style test.
7362
14309bb6
TT
73632019-10-01 Tom Tromey <tom@tromey.com>
7364
7365 * gdb.base/style.exp: Test "pwd".
7366
2a3c1174
PA
73672019-10-01 Tom Tromey <tom@tromey.com>
7368
7369 * gdb.base/style.exp: Update tests.
7370
53d666ec
AA
73712019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7372
7373 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7374 'six' to unsigned.
7375 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7376 'five'. Use an all-ones bit pattern for each.
7377 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7378 to its changed values.
7379
4a56a520
TT
73802019-09-30 Tom Tromey <tromey@adacore.com>
7381
7382 * gdb.rust/traits.rs: Disable all warnings.
7383
0df0352a
TV
73842019-09-29 Tom de Vries <tdevries@suse.de>
7385
aac66a4c 7386 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 7387
73d9a918
TV
73882019-09-29 Tom de Vries <tdevries@suse.de>
7389
7390 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7391
060b3ab4
TV
73922019-09-27 Tom de Vries <tdevries@suse.de>
7393
7394 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7395
68f7d34d
TV
73962019-09-27 Tom de Vries <tdevries@suse.de>
7397
7398 PR record/23188
7399 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7400
5d63b30a
TT
74012019-09-26 Tom Tromey <tromey@adacore.com>
7402
7403 * gdb.ada/py_taft.exp: New file.
7404 * gdb.ada/py_taft/main.adb: New file.
7405 * gdb.ada/py_taft/pkg.adb: New file.
7406 * gdb.ada/py_taft/pkg.ads: New file.
7407
3d435220
TV
74082019-09-24 Tom de Vries <tdevries@suse.de>
7409
7410 PR gdb/24598
7411 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7412
77d03678
TV
74132019-09-22 Tom de Vries <tdevries@suse.de>
7414
7415 * gdb.base/restore.exp: Allow register variables to be optimized out at
7416 -O0.
7417
abf516c6
UW
74182019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7419
7420 * gdb.arch/spu-info.exp: Remove file.
7421 * gdb.arch/spu-info.c: Remove file.
7422 * gdb.arch/spu-ls.exp: Remove file.
7423 * gdb.arch/spu-ls.c: Remove file.
7424
7425 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7426 * gdb.asm/spu.inc: Remove file.
7427
7428 * gdb.base/dump.exp: Remove support for spu*-*-*.
7429 * gdb.base/stack-checking.exp: Likewise.
7430 * gdb.base/overlays.exp: Likewise.
7431 * gdb.base/ovlymgr.c: Likewise.
7432 * gdb.base/spu.ld: Remove file.
7433
7434 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7435 * gdb.cp/cpexprs.exp: Likewise.
7436 * gdb.cp/exception.exp: Likewise.
7437 * gdb.cp/gdb2495.exp: Likewise.
7438 * gdb.cp/mb-templates.exp: Likewise.
7439 * gdb.cp/pr9167.exp: Likewise.
7440 * gdb.cp/userdef.exp: Likewise.
7441
7442 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7443
7444 * gdb.cell: Remove directory.
7445 * lib/cell.exp: Remove file.
7446
e452e88f
TV
74472019-09-19 Tom de Vries <tdevries@suse.de>
7448
7449 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7450
8a625130
TV
74512019-09-19 Tom de Vries <tdevries@suse.de>
7452
7453 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7454
81dc3ab5
TV
74552019-09-19 Tom de Vries <tdevries@suse.de>
7456
7457 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7458 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7459 (gdb_target_cmd): ... here.
7460 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7461 value 2.
7462
b078f3ac
AB
74632019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7464
7465 * gdb.base/source-dir.exp: Avoid having directory names in test
7466 names.
7467
f1b620e9
MG
74682019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7469
7470 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7471 directory.
7472
67f3ed6a
AB
74732019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7474
7475 * gdb.base/list-missing-source.exp: New file.
7476
d1b70248
TV
74772019-09-14 Tom de Vries <tdevries@suse.de>
7478
7479 PR teststuite/24599
7480 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7481 * lib/ada.exp (gnatmake_version_at_least): New proc.
7482
5fabdcd6
AB
74832019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7484
7485 * gdb.base/maint.exp: Use exec_has_index_section.
7486
aa17805f
AB
74872019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7488
7489 * gdb.base/maint.exp: Add test for 'maint info sections'.
7490
25e5c209
TV
74912019-09-12 Tom de Vries <tdevries@suse.de>
7492
7493 * gdb.base/store.exp: Allow register variables to be optimized out at
7494 -O0.
7495
4993045d
PW
74962019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7497
7498 * gdb.ada/rdv_wait.exp: Update to new task names.
7499 * gdb.base/task_switch_in_core.exp: Likewise.
7500 * gdb.base/info_sources_base.c: Likewise.
7501
8a516164
TT
75022019-09-10 Tom Tromey <tromey@adacore.com>
7503
7504 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7505
aa391654
TT
75062019-09-10 Tom Tromey <tromey@adacore.com>
7507
7508 * gdb.ada/dgopt.exp: New file.
7509 * gdb.ada/dgopt/x.adb: New file.
7510
8634b462
TT
75112019-09-08 Tom Tromey <tom@tromey.com>
7512
7513 * gdb.tui/resize.exp: Remove setup_xfail.
7514 * gdb.tui/regs.exp: Remove setup_xfail.
7515 * gdb.tui/basic.exp: Remove setup_xfail.
7516
736b0f76
DB
75172019-09-06 David Blaikie <dblaikie@gmail.com>
7518
7519 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7520 * gdb.cp/cplabel.exp: Ditto.
7521 * gdb.linespec/ls-errs.exp: Ditto.
7522
30331a6c
TV
75232019-09-05 Tom de Vries <tdevries@suse.de>
7524
7525 * lib/gdb.exp (cmp_file_string): New proc.
7526 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7527 runto_main. Verify save breakpoints output.
7528
98b0ebab
PW
75292019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7530
7531 * gdb.base/info-var.exp: Test info variables without running
7532 to main, to avoid expect's buffer overflow.
7533
4e962e74
TT
75342019-09-03 Tom Tromey <tromey@adacore.com>
7535
7536 * gdb.ada/bias.exp: New file.
7537 * gdb.ada/bias/bias.adb: New file.
7538 * gdb.ada/print_chars.exp: Add regression test.
7539 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7540 (MC): New variable.
7541
2ea1a07a
SL
75422019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7543
7544 * gdb.base/argv0-symlink.exp: Run only on native target
7545 and local host.
7546
8077c50d
TV
75472019-08-29 Tom de Vries <tdevries@suse.de>
7548
7549 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7550 diverse debug info.
7551 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7552
48352473
TV
75532019-08-28 Tom de Vries <tdevries@suse.de>
7554
7555 * gdb.base/info-var.exp: Allow info variables to print info for files
7556 other than info-var-f1.c and info-var-f2.c.
7557
d8f27c60
AB
75582019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7559
7560 * gdb.fortran/info-types.exp: Add module.
7561 * gdb.fortran/info-types.f90: Update expected results.
7562
1f20c35e
AB
75632019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7564
7565 * gdb.fortran/info-types.exp: New file.
7566 * gdb.fortran/info-types.f90: New file.
7567 * lib/fortran.exp (fortran_character1): New proc.
7568
4acfdd20
AB
75692019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7570
7571 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7572 functions'. Reindent as needed.
7573 * gdb.base/info-var-f1.c: New file.
7574 * gdb.base/info-var-f2.c: New file.
7575 * gdb.base/info-var.exp: New file.
7576 * gdb.base/info-var.h: New file.
7577
5c31b358
TV
75782019-08-26 Tom de Vries <tdevries@suse.de>
7579
7580 PR c++/24852
7581 * gdb.cp/no-libstdcxx-probe.exp: New test.
7582
b694989f
TV
75832019-08-26 Tom de Vries <tdevries@suse.de>
7584
7585 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7586 * tests need to be skipped.
7587 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7588 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7589 mi_skip_libstdcxx_probe_tests.
7590
d9c4ba53
SDJ
75912019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7592
7593 * gdb.python/py-xmethods.exp: Use raw strings when passing
7594 arguments to SimpleXMethodMatcher.
7595
395fad09
TV
75962019-08-22 Tom de Vries <tdevries@suse.de>
7597
7598 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7599 more informative.
7600
26c957f1
PA
76012019-08-21 Pedro Alves <palves@redhat.com>
7602
7603 * gdb.base/with.exp: Test "with" with no arguments.
7604
61f80d5d
TV
76052019-08-21 Tom de Vries <tdevries@suse.de>
7606
7607 * gdb.base/gdb-caching-proc.exp: Sort files.
7608
d7a11d13
TV
76092019-08-20 Tom de Vries <tdevries@suse.de>
7610
7611 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7612 compilation.
7613
34dafe9f
TV
76142019-08-16 Tom de Vries <tdevries@suse.de>
7615
7616 * gdb.base/compare-sections.exp ("after run to main"): Allow
7617 mismatched read-only sections for PIE executables.
7618
398fdd60
TT
76192019-08-16 Tom Tromey <tom@tromey.com>
7620
7621 * lib/tuiterm.exp (_csi_Z): New proc.
7622 * gdb.tui/basic.exp: Update window positions.
7623 * gdb.tui/empty.exp: Update window positions.
7624
d8f9e51c
SL
76252019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7626
7627 * gdb.base/examine-backward.exp: Correct regexp for
7628 "examine 3 bytes backward from ${address_zero}".
7629
3df505f6
TT
76302019-08-15 Tom Tromey <tom@tromey.com>
7631
7632 * gdb.tui/empty.exp: Enable resizing tests.
7633
272560b5
TT
76342019-08-15 Tom Tromey <tromey@adacore.com>
7635
7636 * gdb.ada/char_enum.exp: Add regression tests.
7637 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7638 and '0'.
7639 (Char, Gchar): Update.
7640 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7641
08235187
CB
76422019-08-15 Christian Biesinger <cbiesinger@google.com>
7643
7644 * gdb.python/python.exp: Expect a leading underscore on
7645 GdbOutput{,Error}File.
7646
22a2ab04
SL
76472019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7648
7649 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7650 Windows host.
7651
835b995b
SL
76522019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7653
7654 * gdb.base/batch-preserve-term-settings.exp
7655 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7656
97dd8e07
CB
76572019-08-15 Christian Biesinger <cbiesinger@google.com>
7658
7659 * lib/gdb.exp: When running on a mingw target, replace
7660 /x/ with x:/.
7661
75faf5c4
AH
76622019-08-14 Alan Hayward <alan.hayward@arm.com>
7663
7664 * gdb.arch/aarch64-prologue.c: New test.
7665 * gdb.arch/aarch64-prologue.exp: New file.
7666
abc6c00f
TV
76672019-08-13 Tom de Vries <tdevries@suse.de>
7668
7669 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7670 Thread.
7671
74c2c1f4
SL
76722019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7673
7674 * gdb.python/py-completion.exp: Download the .py file to the host
7675 and use its host pathname. Conditionalize tests that use
7676 tab completion and manipulate files on the build machine.
7677 * gdb.python/py-events.exp: Download the .py file to the host
7678 and use its host pathname.
7679 * gdb.python/py-evsignal.exp: Likewise.
7680 * gdb.python/py-evthreads.exp: Likewise.
7681 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7682 pathname syntax.
7683 * gdb.python/py-framefilter.exp: Download the .py file to the right
7684 place on the host. Match Windows pathname syntax.
7685 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7686 .py file to the host and use its host pathname.
7687 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7688 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7689 build pathname. Skip symlink test on Windows host. Add missing
7690 newline at end of file.
7691 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7692 and use its host pathname.
7693 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7694 * gdb.python/py-section-script.exp: Use host location of binfile
7695 on safe-path. Use correct path separator on Windows host.
7696 Reorder alternatives in gdb_test_multiple to prevent matching
7697 the wrong alternative on success.
7698 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7699
ca2589f3
PP
77002019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7701
7702 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7703 expect the GDB inferior to no longer immediately stop after
7704 being resumed with "signal SIGINT".
7705
020a839d
SL
77062019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7707
7708 * gdb.linespec/break-ask.exp: Generalize regexps to match
7709 Windows pathnames too.
7710
128d6509
TV
77112019-08-08 Tom de Vries <tdevries@suse.de>
7712
7713 PR testsuite/24862
7714 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7715
590042fc
PW
77162019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7717
7718 * gdb.base/style.exp: Update tests for help doc new invariants.
7719 * gdb.base/help.exp: Likewise.
7720
046bebe1
TT
77212019-08-06 Tom Tromey <tom@tromey.com>
7722
7723 * gdb.base/style.exp: Add disassemble test.
7724 * gdb.base/style.c (some_called_function): New function.
7725 (main): Use it.
7726
0b27c27d
CB
77272019-08-05 Christian Biesinger <cbiesinger@google.com>
7728
7729 * gdb.python/py-block.exp: Test dictionary access on blocks.
7730
580f1034
SM
77312019-08-05 Simon Marchi <simon.marchi@efficios.com>
7732
7733 PR gdb/24863
7734 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7735 -list-thread-groups --available test when running under
7736 check-read1.
7737
d86bd7cb
TV
77382019-08-05 Tom de Vries <tdevries@suse.de>
7739
7740 PR testsuite/24863
7741 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7742 * gdb.base/help.exp: Use with_read1_timeout_factor.
7743 * gdb.base/info-macros.exp: Same.
7744 * gdb.cp/nested-types.exp: Same.
7745
a80cf5d8
TV
77462019-08-05 Tom de Vries <tdevries@suse.de>
7747
7748 * lib/gdb.exp (version_at_least): Factor out of ...
7749 (tcl_version_at_least): ... here.
7750 (gdb_compile): Fail if pie results in non-PIE executable.
7751 (readelf_version, readelf_prints_pie): New proc.
7752 (exec_is_pie): Return -1 if unknown.
7753
d0962838
TV
77542019-08-05 Tom de Vries <tdevries@suse.de>
7755
7756 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7757
2252ff3d
SL
77582019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7759
7760 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7761
26655f53
SL
77622019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7763
7764 * lib/completion-support.exp (test_gdb_complete_none): Skip
7765 tab completion tests if no readline support.
7766 (test_gdb_complete_unique_re): Likewise.
7767 (test_gdb_complete_multiple): Likewise.
7768
db4dc13e
PW
77692019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7770
7771 * gdb.base/info_sources.exp: New file.
7772 * gdb.base/info_sources.c: New file.
7773 * gdb.base/info_sources_base.c: New file.
7774
0eba165a
PFC
77752019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7776
7777 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7778 prefix argument.
7779 (test_exit_status): Add prefix argument.
7780
59bd512b
TV
77812019-08-01 Tom de Vries <tdevries@suse.de>
7782
7783 PR testsuite/24863
7784 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7785 calling exp_continue for new thread and thread exited messages.
7786
2a3ad588
TV
77872019-08-01 Tom de Vries <tdevries@suse.de>
7788
7789 PR testsuite/24863
7790 * gdb.base/structs.exp: Fix check-read1 timeout using
7791 gdb_test_sequence.
7792 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7793
117eb594
TV
77942019-08-01 Tom de Vries <tdevries@suse.de>
7795
7796 PR testsuite/24863
7797 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7798 line.
7799
ed591340
TV
78002019-08-01 Tom de Vries <tdevries@suse.de>
7801
7802 PR testsuite/24863
7803 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7804
aa3b6533
TT
78052019-07-30 Tom Tromey <tromey@adacore.com>
7806
7807 * gdb.ada/display_nested.exp: New file.
7808 * gdb.ada/display_nested/foo.adb: New file.
7809 * gdb.ada/display_nested/pack.adb: New file.
7810 * gdb.ada/display_nested/pack.ads: New file.
7811
2906593f
CB
78122019-07-30 Christian Biesinger <cbiesinger@google.com>
7813
7814 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7815 namespace.
7816 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7817
0f575925
TV
78182019-07-30 Tom de Vries <tdevries@suse.de>
7819
7820 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7821 instead.
7822
b13057d9
TV
78232019-07-30 Tom de Vries <tdevries@suse.de>
7824
7825 PR testsuite/24834
7826 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7827 (exec_is_pie): New proc.
7828
5c4dde85
CB
78292019-07-29 Christian Biesinger <cbiesinger@google.com>
7830
7831 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7832
c620ed88
CB
78332019-07-29 Christian Biesinger <cbiesinger@google.com>
7834
7835 * gdb.python/py-objfile.c: Add global and static vars.
7836 * gdb.python/py-objfile.exp: Test new functions Objfile.
7837 lookup_global_symbol and lookup_static_symbol.
7838
3d235706
TT
78392019-07-29 Tom Tromey <tom@tromey.com>
7840
7841 * lib/tuiterm.exp (Term::_csi_@): New proc.
7842 (Term::_csi_X): Don't move cursor.
7843
c7e4c0a6
PW
78442019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7845
7846 * gdb.base/options.exp: Update backtrace - completion to
7847 new option -frame-info.
7848 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7849 Test new 'set print frame-info'. Test backtrace -frame-info
7850 overriding 'set print frame-info'.
7851 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7852 Test new 'set print frame-info'.
7853 Verify consistency of backtrace with and without filters, with and
7854 without -no-filters.
7855 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7856 default.
7857
de28a3b7
TV
78582019-07-29 Tom de Vries <tdevries@suse.de>
7859
7860 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7861 no arguments".
7862
507dd60e
TV
78632019-07-29 Tom de Vries <tdevries@suse.de>
7864
7865 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7866 is a substring of the first for "complete non-unique file name".
7867
5beafce9
TV
78682019-07-29 Tom de Vries <tdevries@suse.de>
7869
7870 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7871 with ".*".
7872
2d274232
TV
78732019-07-29 Tom de Vries <tdevries@suse.de>
7874
7875 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7876 Pass prompt_regexp parameter to gdb_test_multiple calls.
7877
9197cd8b
TV
78782019-07-29 Tom de Vries <tdevries@suse.de>
7879
7880 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7881 print registers" regexps.
9197cd8b 7882
b528dae0
TV
78832019-07-29 Tom de Vries <tdevries@suse.de>
7884
7885 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7886
d17725d7
TV
78872019-07-29 Tom de Vries <tdevries@suse.de>
7888
7889 PR gdb/24855
7890 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7891 (skip_python_tests_prompt): Add prompt_regexp argument to
7892 gdb_test_multiple calls.
7893
52b75bf1
TT
78942019-07-27 Tom Tromey <tom@tromey.com>
7895
7896 * gdb.tui/main.exp: New file.
7897
2b1d00c2
TT
78982019-07-27 Tom Tromey <tom@tromey.com>
7899
7900 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7901 optional.
7902 * gdb.tui/empty.exp: New file.
7903
ded631d5
TT
79042019-07-27 Tom Tromey <tom@tromey.com>
7905
7906 * lib/tuiterm.exp (spawn): New proc.
7907 (Term::resize): New proc.
7908 * gdb.tui/resize.exp: New file.
7909
58ac439d
TT
79102019-07-27 Tom Tromey <tom@tromey.com>
7911
7912 * gdb.tui/list.exp: New file.
7913
fe1f56ee
TT
79142019-07-27 Tom Tromey <tom@tromey.com>
7915
7916 * gdb.tui/regs.exp: New file.
7917
f790b310
TT
79182019-07-27 Tom Tromey <tom@tromey.com>
7919
7920 * gdb.tui/basic.exp: Add "layout split" test.
7921
d95fc6ee
TT
79222019-07-27 Tom Tromey <tom@tromey.com>
7923
7924 * gdb.tui/basic.exp: Add "layout asm" test.
7925
c3786b3a
TT
79262019-07-27 Tom Tromey <tom@tromey.com>
7927
7928 * lib/tuiterm.exp: New file.
7929 * gdb.tui/basic.exp: New file.
7930
98a617f8
KB
79312019-07-27 Kevin Buettner <kevinb@redhat.com>
7932
7933 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7934 Enable tests associated with this flag. Adjust regex
7935 referencing "foo_low" to now refer to "foo_cold" instead.
7936
5c076da4
KB
79372019-07-27 Kevin Buettner <kevinb@redhat.com>
7938
7939 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7940 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7941 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7942 foo_cold. Revise comments to match.
7943 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7944 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7945 were wrapped into this proc; Call do_test in loop from outermost
7946 level.
7947 (foo_low): Rename all occurrences to "foo_cold".
7948 (backtrace from baz): New test.
7949 (x2/i foo_cold): New test.
7950 (info line *foo_cold): New test.
7951
1512d3b7
TV
79522019-07-26 Tom de Vries <tdevries@suse.de>
7953
7954 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7955
297989a1
TV
79562019-07-25 Tom de Vries <tdevries@suse.de>
7957
7958 PR testsuite/24830
7959 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7960 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7961 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7962 (skip_libstdcxx_probe_tests): ... here.
7963 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7964
b3b965fb
TV
79652019-07-24 Tom de Vries <tdevries@suse.de>
7966
7967 PR testsuite/24807
7968 * gdb.objc/basicclass.m: Include stdio.h.
7969 * gdb.objc/nondebug.m: Same.
7970 * gdb.objc/objcdecode.m: Same.
7971
4625b4d0
TV
79722019-07-24 Tom de Vries <tdevries@suse.de>
7973
7974 PR testsuite/24612
7975 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7976 additional_flags.
7977
024a5840
TV
79782019-07-24 Tom de Vries <tdevries@suse.de>
7979
7980 PR testsuite/24831
7981 * gdb.multi/tids.exp: Update error messages for info threads.
7982
c76ddaa3
TV
79832019-07-24 Tom de Vries <tdevries@suse.de>
7984
7985 * gdb.base/info-types.exp: Allow info types to print info for more than
7986 one file.
7987
9a618ef6
TV
79882019-07-23 Tom de Vries <tdevries@suse.de>
7989
7990 PR testsuite/24842
7991 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7992 gdb_spawn_with_cmdline_opts.
7993
40eadf04
SP
79942019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7995
7996 * gdb.arch/arm-cmse-sgstubs.c: New test.
7997 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7998
5ba29434
TV
79992019-07-23 Tom de Vries <tdevries@suse.de>
8000
8001 PR testsuite/24711
8002 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
8003 issuing next command.
8004
a8e9d247
AB
80052019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
8006
8007 * gdb.ada/info_auto_lang.exp: Update expected results.
8008 * gdb.base/info-types.c: Add additional types to check.
8009 * gdb.base/info-types.exp: Update expected results.
8010
eb86c5e2
AB
80112019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
8012
8013 * gdb.base/info-types.c: New file.
8014 * gdb.base/info-types.exp: New file.
8015
01e175fe
AB
80162019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
8017
8018 * gdb.arch/riscv-bp-infcall.c: New file.
8019 * gdb.arch/riscv-bp-infcall.exp: New file.
8020
6b78c3f8
AB
80212019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
8022
8023 PR breakpoints/24541
8024 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
8025
da738167
TV
80262019-07-14 Tom de Vries <tdevries@suse.de>
8027
8028 PR testsuite/24760
8029 * gdb.objc/basicclass.exp: Fix unterminated string.
8030
0d4e84ed
AB
80312019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
8032 Andrew Burgess <andrew.burgess@embecosm.com>
8033
8034 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
8035 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
8036 negative bounds.
8037 * gdb.fortran/vla-value.exp: Print elements of an array with
8038 negative bounds.
8039 * gdb.fortran/vla.f90: Setup an array with negative bounds for
8040 testing.
8041
021d8588
AB
80422019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
8043
8044 * gdb.base/options.exp (expect_string): Dequote strings in
8045 results.
8046 (test-string): Test strings with different quoting and reindent.
8047
f06f1252
TT
80482019-07-10 Tom Tromey <tromey@adacore.com>
8049
8050 * gdb.ada/mi_ex_cond.exp: Update expected results.
8051 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
8052 * gdb.ada/mi_catch_ex.exp: Update expected results.
8053 * gdb.ada/mi_catch_assert.exp: Update expected results.
8054 * gdb.ada/catch_ex.exp (catch_exception_info)
8055 (catch_exception_entry, catch_assert_entry)
8056 (catch_unhandled_entry): Update.
8057 * gdb.ada/catch_assert_if.exp: Update expected results.
8058
b863685d
RB
80592019-07-10 Richard Bunt <richard.bunt@arm.com>
8060 Stephen Roberts <stephen.roberts@arm.com>
8061
8062 * gdb.base/define.exp: Restore original prompt.
8063
cb1e4e32
PA
80642019-07-09 Pedro Alves <palves@redhat.com>
8065
8066 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
8067 breakpoints" output.
8068 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
8069 * gdb.python/py-breakpoint.exp: No longer expect that "catch
8070 throw" creates breakpoint.
8071 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
8072 'type="catchpoint"'.
8073
b58a68fe
PA
80742019-07-09 Pedro Alves <palves@redhat.com>
8075
8076 PR c++/15468
8077 * gdb.cp/except-multi-location-lib.cc: New.
8078 * gdb.cp/except-multi-location-main.cc: New.
8079 * gdb.cp/except-multi-location.exp: New.
8080
0826779b
PW
80812019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
8082
8083 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
8084 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
8085 argument and update callers.
8086
5b0e2db4
AB
80872019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8088
8089 * gdb.arch/amd64-break-on-asm-line.S: New file.
8090 * gdb.arch/amd64-break-on-asm-line.exp: New file.
8091
1f6f6e21
PW
80922019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8093
8094 * gdb.base/printcmds.exp: Test printing C string and
8095 C wide string convenience vars without transiting via the inferior.
8096 Also make test names unique.
8097
ea142fbf
AH
80982019-07-08 Alan Hayward <alan.hayward@arm.com>
8099
5862c886 8100 PR breakpoints/25011
ea142fbf
AH
8101 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
8102
213fd9fa
PA
81032019-07-04 Pedro Alves <palves@redhat.com>
8104
8105 * lib/gdb.exp (foreach_with_prefix): Don't return early if
8106 body returned ok(0), break(3) or continue(4).
8107 * gdb.testsuite/foreach_with_prefix.exp: New file.
8108
2b40fda7
AH
81092019-07-04 Alan Hayward <alan.hayward@arm.com>
8110
8111 * gdb.server/unittest.exp: Allow 0 unit tests to run.
8112
a26c8de0
PA
81132019-07-03 Pedro Alves <palves@redhat.com>
8114
8115 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
8116 "return -code".
8117
5f4ba3e7
PA
81182019-07-03 Pedro Alves <palves@redhat.com>
8119
8120 PR cli/24732
8121 * gdb.base/shell.exp: Load completion-support.exp.
8122 Adjust expected error output. Add completion tests.
8123
a994424f
PA
81242019-07-03 Pedro Alves <palves@redhat.com>
8125
8126 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
8127 string_to_regexp.
8128
3d9be6f5
PA
81292019-07-03 Pedro Alves <palves@redhat.com>
8130
8131 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
8132 (expect_integer): Adjust to expect "-string".
8133 (expect_string): New.
8134 (all_options): Expect "-string".
8135 (test-flag, test-boolean): Adjust to expect "-string".
8136 (test-string): New proc.
8137 (top level): Call it.
8138
41fc454c
PA
81392019-07-03 Pedro Alves <palves@redhat.com>
8140
8141 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
8142 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
8143 the expected output in the success.
8144
b2b2a215
PA
81452019-07-03 Pedro Alves <palves@redhat.com>
8146
8147 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8148 Split one gdb_test_multiple call in two to avoid a race.
8149
fdbc9870
PA
81502019-07-03 Pedro Alves <palves@redhat.com>
8151
8152 * gdb.base/with.c: New file.
8153 * gdb.base/with.exp: New file.
8154
c6ac8931
PA
81552019-07-03 Pedro Alves <palves@redhat.com>
8156
8157 * gdb.base/settings.exp: Replace all references to "maint
8158 test-settings set" with references to "maint set test-settings",
8159 and all references to "maint test-settings show" with references
8160 to "maint show test-settings".
8161
970f9d09
PA
81622019-07-03 Pedro Alves <palves@redhat.com>
8163
8164 * gdb.base/settings.exp (test-string): Adjust expected out when
8165 testing "maint test-settings show filename"
8166
54d66006
PA
81672019-07-02 Pedro Alves <palves@redhat.com>
8168
8169 * gdb.base/options.exp (test-info-threads): New procedure.
8170 (top level): Call it.
8171
10d06d82
TT
81722019-06-28 Tom Tromey <tromey@adacore.com>
8173
8174 * gdb.dwarf2/ada-linkage-name.c: New file.
8175 * gdb.dwarf2/ada-linkage-name.exp: New file.
8176
3d507ff2
TT
81772019-06-27 Tom Tromey <tromey@adacore.com>
8178
d039f014 8179 PR c++/20020:
3d507ff2
TT
8180 * gdb.cp/constexpr-field.exp: Use setup_xfail.
8181
8af58ffe
TV
81822019-06-26 Tom de Vries <tdevries@suse.de>
8183
8184 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
8185
22e21752
TV
81862019-06-26 Tom de Vries <tdevries@suse.de>
8187
8188 * gdb.base/index-cache.exp: Add back missing debug option.
8189
b65b566c
PW
81902019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8191
8192 * gdb.base/alias.exp: Test non matching/non existing prefixes.
8193
5c2c8c69
TV
81942019-06-25 Tom de Vries <tdevries@suse.de>
8195
8196 PR testsuite/24727
8197 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
8198
164e3873
TV
81992019-06-24 Tom de Vries <tdevries@suse.de>
8200
8201 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
8202
824eacee
TV
82032019-06-24 Tom de Vries <tdevries@suse.de>
8204
8205 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
8206 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
8207 * gdb.trace/unavailable-dwarf-piece.exp: Same.
8208
385b97d3
TV
82092019-06-24 Tom de Vries <tdevries@suse.de>
8210
8211 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
8212
c596f180
TV
82132019-06-21 Tom de Vries <tdevries@suse.de>
8214
8215 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
8216
b13a7d03
TV
82172019-06-21 Tom de Vries <tdevries@suse.de>
8218
8219 PR testsuite/24518
8220 PR ada/24713
8221 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
8222 index.
8223
899277ae
TT
82242019-06-19 Tom Tromey <tromey@adacore.com>
8225
8226 * gdb.ada/length_cond.exp: Add intro comment.
8227
680e1bee
TT
82282019-06-19 Tom Tromey <tromey@adacore.com>
8229
8230 * gdb.ada/length_cond.exp: New file.
8231 * gdb.ada/length_cond/length_cond.adb: New file.
8232 * gdb.ada/length_cond/pck.adb: New file.
8233 * gdb.ada/length_cond/pck.ads: New file.
8234
0ed4690a
TV
82352019-06-18 Tom de Vries <tdevries@suse.de>
8236
8237 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
8238
d20ed5fd
TT
82392019-06-18 Tom Tromey <tromey@adacore.com>
8240
8241 * gdb.base/list0.h: Add comment explaining control character.
8242
86e04673
TV
82432019-06-18 Tom de Vries <tdevries@suse.de>
8244
8245 * boards/fission.exp: Break up long debug_flags line.
8246
c4973306
SM
82472019-06-16 Tom de Vries <tdevries@suse.de>
8248
8249 PR gdb/24445
8250 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
8251 generated index.
8252
93cb9841
AB
82532019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8254
8255 PR gdb/24686
8256 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
8257 improve detection of bug gdb/24541.
8258
399aaebd
SM
82592019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
8260
8261 PR gdb/24669
8262 * gdb.base/index-cache.exp (uses_readnow,
8263 expecting_index_cache_use): Define global variable.
8264 (test_cache_enabled_miss, test_cache_enabled_hit): Use
8265 expecting_index_cache_use.
8266
584a927c
AB
82672019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
8268 Andrew Burgess <andrew.burgess@embecosm.com>
8269
8270 * gdb.fortran/pointers.f90: New file.
8271 * gdb.fortran/print_type.exp: New file.
8272 * gdb.fortran/vla-ptype.exp: Adapt expected results.
8273 * gdb.fortran/vla-type.exp: Likewise.
8274 * gdb.fortran/vla-value.exp: Likewise.
8275 * gdb.mi/mi-vla-fortran.exp: Likewise.
8276
30056ea0
AB
82772019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8278
8279 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
8280 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
8281 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8282 as a stop reason.
8283
ec8e2b6d
AB
82842019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8285
8286 * gdb.base/annota1.exp: Update expected results.
8287 * gdb.cp/annota2.exp: Likewise.
8288 * gdb.cp/annota3.exp: Likewise.
8289
09e4c4e1
AB
82902019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8291
8292 * gdb.base/style-logging.exp: Remove path from test name.
8293
0735b091
TT
82942019-06-14 Tom Tromey <tromey@adacore.com>
8295
8296 PR gdb/24502:
8297 * gdb.base/style-logging.exp: New file.
8298
f5686554
TT
82992019-06-14 Tom Tromey <tromey@adacore.com>
8300
8301 * gdb.base/symfile-warn.exp: New file.
8302 * gdb.base/symfile-warn.c: New file.
8303
a0c1ffed
TT
83042019-06-14 Tom Tromey <tromey@adacore.com>
8305
8306 * gdb.base/annotate-symlink.exp: New file.
8307
f411722c
TT
83082019-06-14 Tom Tromey <tromey@adacore.com>
8309
8310 * gdb.ada/set_wstr.exp: Add reassignment test.
8311
4268ec18
TT
83122019-06-14 Tom Tromey <tromey@adacore.com>
8313
8314 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8315 'unchecked_access and 'unrestricted_access as well.
8316
9a9e394b
TT
83172019-06-14 Tom Tromey <tromey@adacore.com>
8318
8319 PR ada/24539:
8320 * gdb.ada/vla.exp: Update tests.
8321 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8322 pragma.
8323
4c048731
PA
83242019-06-13 Pedro Alves <palves@redhat.com>
8325
8326 * gdb.base/settings.exp (test-integer): Test junk after
8327 "unlimited".
8328
6665660a
PA
83292019-06-13 Pedro Alves <palves@redhat.com>
8330
8331 * gdb.base/options.exp (test-thread-apply): New.
8332 (top level): Call it.
8333
5d707134
PA
83342019-06-13 Pedro Alves <palves@redhat.com>
8335
8336 * gdb.base/options.exp (test-frame-apply): New.
8337 (top level): Test print commands with different "frame apply"
8338 prefixes.
8339
e2a689da
PA
83402019-06-13 Pedro Alves <palves@redhat.com>
8341
e79be6e5 8342 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
8343 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8344 'max_completions' parameter and handle it.
8345 (test_gdb_completion_offers_commands): New.
8346
90a1ef87
PA
83472019-06-13 Pedro Alves <palves@redhat.com>
8348
8349 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8350
d4c16835
PA
83512019-06-13 Pedro Alves <palves@redhat.com>
8352
8353 * gdb.base/options.exp (test-backtrace): New.
8354 (top level): Call it.
8355
2daf894e
PA
83562019-06-13 Pedro Alves <palves@redhat.com>
8357
8358 * gdb.guile/scm-frame-args.exp: Use "set print
8359 raw-frame-arguments" instead of "set print raw frame-arguments".
8360 * gdb.python/py-frame-args.exp: Likewise.
8361
e6ed716c
PA
83622019-06-13 Pedro Alves <palves@redhat.com>
8363
8364 * gdb.compile/compile.exp: Adjust expected output to option
8365 processing changes.
8366
7d8062de
PA
83672019-06-13 Pedro Alves <palves@redhat.com>
8368
8369 * gdb.base/options.exp: Build executable.
8370 (test-print): New procedure.
8371 (top level): Call it, once for "print" and another for "compile
8372 print".
8373
9d0faba9
PA
83742019-06-13 Pedro Alves <palves@redhat.com>
8375
8376 * gdb.base/options.c: New file.
8377 * gdb.base/options.exp: New file.
8378
dee7b4c8
PA
83792019-06-13 Pedro Alves <palves@redhat.com>
8380
8381 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8382 that "o" is ambiguous.
8383
dca0f6c0
PA
83842019-06-13 Pedro Alves <palves@redhat.com>
8385
8386 * gdb.base/settings.c: New file.
8387 * gdb.base/settings.exp: New file.
8388
ccf46844
PA
83892019-06-13 Pedro Alves <palves@redhat.com>
8390
8391 * gdb.base/completion.exp: Fix comment typo.
8392
b9a3f842
PA
83932019-06-13 Pedro Alves <palves@redhat.com>
8394
8395 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8396 foo --1" test.
8397
d106773e
PA
83982019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8399
8400 * gdb.fortran/block-data.f: New.
8401 * gdb.fortran/block-data.exp: New.
8402
fea82da0
TV
84032019-06-11 Tom de Vries <tdevries@suse.de>
8404
8405 PR testsuite/24521
8406 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8407 message.
8408
8c2e74f1
TV
84092019-06-11 Tom de Vries <tdevries@suse.de>
8410
8411 PR testsuite/24521
8412 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8413
b49851c8
TV
84142019-06-11 Tom de Vries <tdevries@suse.de>
8415
8416 * boards/readnow.exp: New file.
8417
a7067863
AB
84182019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8419
8420 * gdb.fortran/vla-sizeof.exp: Update expected results.
8421
1a3da2cd
AB
84222019-06-06 Amos Bird <amosbird@gmail.com>
8423
8424 * gdb.base/annota1.exp (thread_switch): Add test for
8425 thread-exited annotation.
8426
3847a7bf
TT
84272019-06-06 Tom Tromey <tromey@adacore.com>
8428
8429 * gdb.base/maint.exp: Expect command started/finished output.
8430
0088ba59
AB
84312019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8432
8433 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8434 comment.
8435 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8436
312617a3
AB
84372019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8438
8439 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8440 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8441 * gdb.arch/riscv-unwind-long-insn.c: New file.
8442 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8443
e1f2e1a2
CB
84442019-06-04 Christian Biesinger <cbiesinger@google.com>
8445
d3238f7d 8446 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 8447
206584bd
PW
84482019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8449
8450 * lib/gdb.exp (help_list_trailer): New regexp variable
8451 factorizing the help trailer message.
8452 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8453 arg to allow to better factorize various tests.
8454 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8455 (test_prefix_command_help): Use help_list_trailer.
8456 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8457 * gdb.guile/scm-cmd.exp: Likewise.
8458 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8459 * gdb.base/help.exp: Use test_user_defined_class_help.
8460 * gdb.base/style.exp: Add tests for styling of help and apropos.
8461 * lib/gdb-utils.exp (style): Add title and highlight styles.
8462
708dc93e
PW
84632019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8464
8465 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8466 $_shell_exitsignal.
8467 * gdb.base/default.exp: Update for new convenience variables.
8468
f49055a5
TT
84692019-05-29 Tom Tromey <tromey@adacore.com>
8470
8471 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8472 to "break complete ada" test case's regexp.
8473
4330d61d
TT
84742019-05-29 Tom Tromey <tromey@adacore.com>
8475
8476 PR c++/20020:
8477 * gdb.cp/constexpr-field.exp: New file.
8478 * gdb.cp/constexpr-field.cc: New file.
8479
000439d5
TT
84802019-05-29 Tom Tromey <tromey@adacore.com>
8481
8482 * gdb.base/finish.exp (finish_no_print): New proc.
8483 (finish_tests): Call it.
8484
5a01c34c
TV
84852019-05-24 Tom de Vries <tdevries@suse.de>
8486
8487 * gdb.dwarf2/gdb-add-index.exp: New file.
8488
18125b16
TT
84892019-05-22 Tom Tromey <tromey@adacore.com>
8490
8491 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8492 * gdb.base/style.exp: Use "style".
8493 * lib/gdb-utils.exp (style): New proc.
8494
af1a8d03
TV
84952019-05-22 Tom de Vries <tdevries@suse.de>
8496
8497 * gdb.base/align.exp: Require c++11.
8498
e7fe496b
TV
84992019-05-22 Tom de Vries <tdevries@suse.de>
8500
8501 PR testsuite/24586
8502 * gdb.python/py-mi-var-info-path-expression.exp: Call
8503 mi_skip_python_tests to check if python is supported.
8504
8fca4da0
AH
85052019-05-22 Alan Hayward <alan.hayward@arm.com>
8506
8507 * gdb.arch/aarch64-pauth.c: New test.
8508 * gdb.arch/aarch64-pauth.exp: New file.
8509
b7060614
AH
85102019-05-22 Alan Hayward <alan.hayward@arm.com>
8511
8512 * README (Re-running Tests Outside The Testsuite): New section.
8513
669d0468
TV
85142019-05-21 Tom de Vries <tdevries@suse.de>
8515
8516 * gdb.arch/amd64-eval.exp: Require c++11.
8517 * gdb.base/max-depth.exp: Same.
8518 * gdb.compile/compile-cplus-array-decay.exp: Same.
8519 * gdb.cp/meth-typedefs.exp: Same.
8520 * gdb.cp/subtypes.exp: Same.
8521 * gdb.cp/temargs.exp: Same.
8522
ce3ebcaa
AH
85232019-05-21 Alan Hayward <alan.hayward@arm.com>
8524
8525 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8526
34d11c68
AB
85272019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8528
8529 PR gdb/18644
8530 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8531 * gdb.fortran/printing-types.exp: Add new test.
8532 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8533 testing.
8534 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8535 setup_kfail call.
8536
87781e84
AH
85372019-05-17 Alan Hayward <alan.hayward@arm.com>
8538
8539 * README (Running the Testsuite): Change example.
8540 (Testsuite Parameters): Remove TRANSCRIPT.
8541 * lib/gdb.exp: Remove TRANSCRIPT check.
8542
b420b89e
AH
85432019-05-17 Alan Hayward <alan.hayward@arm.com>
8544
8545 * README (Testsuite Parameters): Add replay logging to
8546 GDBSERVER_DEBUG.
8547 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8548 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8549 as a comma separated list.
8550 (gdb_debug_init): Override procedure.
8551
408e9b8b
AH
85522019-05-17 Alan Hayward <alan.hayward@arm.com>
8553
8554 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8555 (gdb_write_cmd_file): New procedure.
8556 * lib/gdbserver-support.exp (gdbserver_start): Call
8557 gdbserver_write_cmd_file.
8558 (gdbserver_write_cmd_file): New procedure.
8559
f9e2e39d
AH
85602019-05-17 Alan Hayward <alan.hayward@arm.com>
8561
8562 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8563 (delete_breakpoints): Likewise.
8564 (gdb_run_cmd): Likewise.
8565 (gdb_start_cmd): Likewise.
8566 (gdb_starti_cmd): Likewise.
8567 (gdb_internal_error_resync): Likewise.
8568 (gdb_test_multiple): Likewise.
8569 (gdb_reinitialize_dir): Likewise.
8570 (default_gdb_exit): Likewise.
8571 (gdb_file_cmd): Mark kill as optional.
8572 (default_gdb_start): Call gdb_stdin_log_init.
8573 (send_gdb): Call gdb_stdin_log_write.
8574 (rerun_to_main): Mark Y as an answer.
8575 (gdb_stdin_log_init): New function.
8576 (gdb_stdin_log_write): Likewise.
8577
81f47ac2
AH
85782019-05-17 Alan Hayward <alan.hayward@arm.com>
8579
8580 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8581 * gdb.base/debug-expr.exp: Likewise.
8582 * gdb.base/foll-fork.exp: Likewise.
8583 * gdb.base/foll-vfork.exp: Likewise.
8584 * gdb.base/fork-print-inferior-events.exp: Likewise.
8585 * gdb.base/gdb-sigterm.exp: Likewise.
8586 * gdb.base/gdbinit-history.exp: Likewise.
8587 * gdb.base/osabi.exp: Likewise.
8588 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8589 * gdb.base/ui-redirect.exp: Likewise.
8590 * gdb.gdb/unittest.exp: Likewise.
8591 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8592 * gdb.mi/mi-watch.exp: Likewise.
8593 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8594 * gdb.mi/user-selected-context-sync.exp: Likewise.
8595 * gdb.python/python.exp: Disable debug test when debugging.
8596 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8597 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8598 Likewise.
8599 * gdb.threads/stepi-random-signal.exp: Likewise.
8600
29b52314
AH
86012019-05-17 Alan Hayward <alan.hayward@arm.com>
8602
8603 * Makefile.in: Pass through GDB_DEBUG.
8604 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8605 (gdb,debug): Add board setting.
8606 * lib/gdb.exp (default_gdb_start): Start debugging.
8607 (gdb_debug_enabled): New procedure.
8608 (gdb_debug_init): Likewise.
29b52314
AH
8609
86102019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 8611
29b52314
AH
8612 * Makefile.in: Pass through GDB_DEBUG.
8613 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8614 (gdb,debug): Add board setting.
8615 * lib/gdb.exp (default_gdb_start): Start debugging.
8616 (gdb_debug_enabled): New procedure.
8617 (gdb_debug_init): Likewise.
29b52314 8618
ca1285d1
AH
86192019-05-17 Alan Hayward <alan.hayward@arm.com>
8620
8621 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8622
f3a09c80
AH
86232019-05-17 Alan Hayward <alan.hayward@arm.com>
8624
8625 * gdb.base/ui-redirect.exp: Test redirection.
8626
26648588
JV
86272019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8628
8629 * gdb.mi/mi-complete.exp: New file.
8630 * gdb.mi/mi-complete.cc: Likewise.
8631
14237686
AB
86322019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8633
8634 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8635 indexed and sliced arrays, and pointers to arrays.
8636
e7bd7fba
TT
86372019-05-14 Tom Tromey <tromey@adacore.com>
8638
8639 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8640 styling test.
8641
2764128d
TV
86422019-05-14 Tom de Vries <tdevries@suse.de>
8643
8644 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8645 selection entry encoding.
8646
71bed2db
TT
86472019-05-10 Tom Tromey <tromey@adacore.com>
8648
8649 * gdb.ada/info_exc.exp: Add "complete" test.
8650
63b667ad
TV
86512019-05-09 Tom de Vries <tdevries@suse.de>
8652
8653 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8654 CU-relative.
8655
9cfd2b89
TV
86562019-05-09 Tom de Vries <tdevries@suse.de>
8657
8658 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8659 CU-relative.
8660
2228ef77
XR
86612019-05-08 Joel Brobecker <brobecker@adacore.com>
8662
8663 * gdb.ada/frame_arg_lang.exp: New testcase.
8664 * gdb.ada/frame_arg_lang/bla.adb: New file.
8665 * gdb.ada/frame_arg_lang/pck.ads: New file.
8666 * gdb.ada/frame_arg_lang/pck.adb: New file.
8667 * gdb.ada/frame_arg_lang/foo.c: New file.
8668
80e55b13
TT
86692019-05-08 Tom Tromey <tromey@adacore.com>
8670
8671 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8672
9d3421af
TT
86732019-05-08 Tom Tromey <tromey@adacore.com>
8674
8675 * gdb.base/ptype-offsets.exp: Update tests.
8676
844333e2
TT
86772019-05-08 Tom Tromey <tromey@adacore.com>
8678
8679 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8680 cases.
8681 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8682 "short".
8683
988915ee
TT
86842019-05-08 Tom Tromey <tromey@adacore.com>
8685
8686 * gdb.ada/vla.exp: New file.
8687 * gdb.ada/vla/vla.adb: New file.
8688
7bd55dac
TV
86892019-05-07 Tom de Vries <tdevries@suse.de>
8690
8691 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8692
75f06e9d
TV
86932019-05-07 Tom de Vries <tdevries@suse.de>
8694
8695 PR testsuite/24522
8696 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8697 section.
8698
77e7aaa4
TV
86992019-05-07 Tom de Vries <tdevries@suse.de>
8700
8701 PR testsuite/24522
8702 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8703 .debug_aranges section.
8704
456ba0fa
TV
87052019-05-07 Tom de Vries <tdevries@suse.de>
8706
8707 PR testsuite/24159
8708 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8709
5a56d6a6
TV
87102019-05-06 Tom de Vries <tdevries@suse.de>
8711
8712 * lib/gdb.exp (exec_has_index_section): New proc.
8713 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8714 section.
8715
9d6d4be8
TV
87162019-05-04 Tom de Vries <tdevries@suse.de>
8717
8718 * boards/cc-with-debug-names.exp: New file.
8719
222a8d25
TT
87202019-05-03 Tom Tromey <tromey@adacore.com>
8721
8722 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8723 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8724 * gdb.ada/char_enum.exp: Add test.
8725
0fdfd794
TV
87262019-05-03 Tom de Vries <tdevries@suse.de>
8727
8728 * boards/cc-with-gdb-index.exp: New file.
8729
80062eb9
AB
87302019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8731
8732 * gdb.rust/simple.exp: Add new test case.
8733 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8734 (main): Initialise an instance of the new struct.
8735
4504bbde
TT
87362019-05-01 Tom Tromey <tromey@adacore.com>
8737
8738 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8739 record.
8740 (NPR): New variable.
8741 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8742 test.
8743
d48e62f4
TT
87442019-05-01 Tom Tromey <tromey@adacore.com>
8745
8746 * gdb.ada/packed_array_assign.exp: Add packed assignment
8747 regression test.
8748
f59f30f5
TV
87492019-05-01 Tom de Vries <tdevries@suse.de>
8750
8751 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8752
b70bfc54
TV
87532019-05-01 Tom de Vries <tdevries@suse.de>
8754
8755 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8756
15f18d14
AT
87572019-04-30 Ali Tamur <tamur@google.com>
8758
8759 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8760
2ff0a947
TT
87612019-04-30 Tom Tromey <tromey@adacore.com>
8762
8763 * lib/ada.exp (find_ada_tool): New proc.
8764 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8765 * gdb.ada/catch_ex_std.exp: New file.
8766 * gdb.ada/catch_ex_std/foo.adb: New file.
8767 * gdb.ada/catch_ex_std/some_package.adb: New file.
8768 * gdb.ada/catch_ex_std/some_package.ads: New file.
8769
a776957c
TT
87702019-04-30 Tom Tromey <tromey@adacore.com>
8771
8772 PR c++/24470:
8773 * gdb.cp/temargs.cc: Add test code from PR.
8774
bc68014d
AB
87752019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8776
8777 * gdb.fortran/vla-datatypes.exp: Update expected results.
8778 * gdb.fortran/vla-ptype.exp: Likewise.
8779 * gdb.fortran/vla-type.exp: Likewise.
8780 * gdb.fortran/vla-value.exp: Likewise.
8781
f1fdc960
AB
87822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8783
8784 * gdb.fortran/ptr-indentation.exp: Update expected results.
8785 * gdb.fortran/ptype-on-functions.exp: Likewise.
8786 * gdb.fortran/vla-ptr-info.exp: Likewise.
8787 * gdb.fortran/vla-value.exp: Likewise.
8788
bf7a4de1
AB
87892019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8790
8791 * gdb.fortran/ptype-on-functions.exp: New file.
8792 * gdb.fortran/ptype-on-functions.f90: New file.
8793
bbe75b9d
AB
87942019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8795
8796 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8797 case void string.
8798
1db455a7
AB
87992019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8800
8801 * gdb.fortran/complex.exp: Expand.
8802 * gdb.fortran/complex.f: Renamed to...
8803 * gdb.fortran/complex.f90: ...this, and extended to add more
8804 complex values.
8805
b6d03bb2
AB
88062019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8807
8808 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8809 MODULO, CMPLX.
8810
2e62ab40
AB
88112019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8812 Richard Bunt <richard.bunt@arm.com>
8813
8814 * gdb.base/max-depth.c: New file.
8815 * gdb.base/max-depth.exp: New file.
8816 * gdb.python/py-nested-maps.c: New file.
8817 * gdb.python/py-nested-maps.exp: New file.
8818 * gdb.python/py-nested-maps.py: New file.
8819 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8820 (test_all_common): Call test_max_depth.
8821 * gdb.fortran/max-depth.exp: New file.
8822 * gdb.fortran/max-depth.f90: New file.
8823 * gdb.go/max-depth.exp: New file.
8824 * gdb.go/max-depth.go: New file.
8825 * gdb.modula2/max-depth.exp: New file.
8826 * gdb.modula2/max-depth.c: New file.
8827 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8828
d2b584a5
TV
88292019-04-29 Tom de Vries <tdevries@suse.de>
8830
8831 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8832
136afab8
PW
88332019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8834
8835 * gdb.base/callexit.exp: Test may-call-functions off.
8836
725cbb63
KS
88372019-04-25 Keith Seitz <keiths@redhat.com>
8838
8839 PR c++/24367
8840 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8841 (another_incomplete_struct, test_incomplete): New definitions.
8842 (main): Use new definitions.
8843 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8844 functions.
8845
701adfb0
PA
88462019-04-25 Ali Tamur <tamur@google.com>
8847
8848 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8849
82433e3e
SDJ
88502019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8851
8852 PR corefiles/11608
8853 PR corefiles/18187
8854 * gdb.base/coredump-filter-build-id.exp: New file.
8855
dd06d4d6
AH
88562019-04-25 Alan Hayward <alan.hayward@arm.com>
8857
e79be6e5
SM
8858 * Makefile.in: Pass through GDBSERVER_DEBUG.
8859 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8860 (gdbserver,debug): Add board setting.
8861 * gdb.trace/tspeed.exp: Skip when debugging.
8862 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8863 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8864
1670072e
TT
88652019-04-24 Tom Tromey <tromey@adacore.com>
8866
8867 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8868 Rust.
8869
a59240a4
TT
88702019-04-24 Tom Tromey <tromey@adacore.com>
8871
8872 * gdb.arch/amd64-eval.exp: Test bitfield return.
8873 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8874 (class Foo) <return_bitfields>: New method.
8875 (main): Call it.
8876
b907456c
AB
88772019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8878
8879 * gdb.cp/many-args.cc: New file.
8880 * gdb.cp/many-args.exp: New file.
8881
5c565afd
TV
88822019-04-23 Tom de Vries <tdevries@suse.de>
8883
8884 PR gdb/24433
8885 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8886
ba22ff86
AH
88872019-04-23 Alan Hayward <alan.hayward@arm.com>
8888
8889 * gdb.trace/backtrace.exp: Use nopie flag.
8890 * gdb.trace/circ.exp: Likewise.
8891 * gdb.trace/collection.exp: Likewise.
8892 * gdb.trace/ftrace.exp: Likewise.
8893 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8894 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8895 * gdb.trace/qtro.exp: Likewise.
8896 * gdb.trace/read-memory.exp: Likewise.
8897 * gdb.trace/report.exp: Likewise.
8898 * gdb.trace/tfile.exp: Likewise.
8899 * gdb.trace/tfind.exp: Likewise.
8900 * gdb.trace/unavailable.exp: Likewise.
8901
7905fc35
PA
89022019-04-22 Pedro Alves <palves@redhat.com>
8903
8904 * gdb.base/solib-probes-nosharedlibrary.c,
8905 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8906
8ecb59f8
TT
89072019-04-19 Tom Tromey <tromey@adacore.com>
8908
8909 * gdb.ada/ptype_union.c: New file.
8910 * gdb.ada/ptype_union.exp: New file.
8911
62160ec9
TT
89122019-04-19 Tom Tromey <tromey@adacore.com>
8913
8914 PR symtab/24423:
8915 * gdb.base/list0.h (foo): Add a control-l character.
8916
36cd4ba5
TV
89172019-04-18 Tom de Vries <tdevries@suse.de>
8918
8919 PR gdb/24433
8920 * boards/local-board.exp: Set sysroot to "".
8921
b73715df
TV
89222019-04-18 Tom de Vries <tdevries@suse.de>
8923 Pedro Alves <palves@redhat.com>
8924
8925 PR gdb/24454
8926 * gdb.threads/vfork-follow-child-exec.c: New file.
8927 * gdb.threads/vfork-follow-child-exec.exp: New file.
8928 * gdb.threads/vfork-follow-child-exit.c: New file.
8929 * gdb.threads/vfork-follow-child-exit.exp: New file.
8930
4aa866af
LS
89312019-04-15 Leszek Swirski <leszeks@google.com>
8932
8933 * gdb.arch/amd64-eval.cc: New file.
8934 * gdb.arch/amd64-eval.exp: New file.
8935
e5a1a79a
AH
89362019-04-11 Alan Hayward <alan.hayward@arm.com>
8937
8938 * gdb.server/sysroot.c: New test.
8939 * gdb.server/sysroot.exp: New file.
8940 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8941 matching param.
8942
41077b66
AB
89432019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8944
8945 * gdb.base/align.exp: Extend test to cover structures containing
8946 only static fields.
8947
c30391f8
TV
89482019-04-11 Tom de Vries <tdevries@suse.de>
8949
8950 * boards/cc-with-dwz-m.exp: New file.
8951 * boards/cc-with-dwz.exp: New file.
8952 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8953
e242fd12
SM
89542019-04-09 Simon Marchi <simon.marchi@efficios.com>
8955
8956 * gdb.base/start-cpp.exp: New file.
8957 * gdb.base/start-cpp.cc: New file.
8958
2b0c8b01
KB
89592019-04-08 Kevin Buettner <kevinb@redhat.com>
8960
8961 * gdb.python/py-thrhandle.exp: Adjust tests to call
8962 thread_from_handle instead of thread_from_thread_handle.
8963
947210e5
KB
89642019-04-08 Kevin Buettner <kevinb@redhat.com>
8965
8966 * gdb.python/py-thrhandle.exp: Add tests for
8967 gdb.InferiorThread.handle.
8968
d7df6549
AB
89692019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8970
8971 * gdb.python/py-function.exp: Check calling helper function from
8972 all languages.
8973 * lib/gdb.exp (gdb_supported_languages): New proc.
8974
8bdc1658
AB
89752019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8976
8977 * gdb.base/complex-parts.c: New file.
8978 * gdb.base/complex-parts.exp: New file.
8979
05caa1d2
TT
89802019-04-01 Tom Tromey <tromey@adacore.com>
8981
8982 PR symtab/23331:
8983 * gdb.dwarf2/dw2-ranges-main.c: New file.
8984 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8985 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8986
7734102d
EZ
89872019-03-30 Simon Marchi <simark@simark.ca>
8988
8989 * gdb.base/default.exp: Add values for $_gdb_major and
8990 $_gdb_minor.
8991
188e1fa9
TT
89922019-03-29 Tom Tromey <tromey@adacore.com>
8993
8994 * gdb.base/help.exp: Tighten apropos regexp.
8995
2880242d
KS
89962019-03-29 Keith Seitz <keiths@redhat.com>
8997
8998 * gdb.fortran/array-bounds.exp: New file.
8999 * gdb.fortran/array-bounds.f90: New file.
9000
077cad8e
PW
90012019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9002
9003 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
9004
80047cfc
PW
90052019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9006
9007 * gdb.multi/hello.c (main): Increase alarm timer.
9008
f489207e
SL
90092019-03-28 Sandra Loosemore <sandra@codesourcery.com>
9010
9011 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
9012 factor when no hardware watchpoint support.
9013
c92df149
AH
90142019-03-28 Alan Hayward <alan.hayward@arm.com>
9015 Pedro Alves <palves@redhat.com>
9016
9017 * boards/local-board.exp: set sysroot to /.
9018
933aebfa
AH
90192019-03-27 Alan Hayward <alan.hayward@arm.com>
9020
9021 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
9022 in child.
9023
9f9aa852
AB
90242019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9025
9026 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
9027 field.
9028 (make_container): Initialise new field.
9029 * gdb.python/py-prettyprint.exp: Add new tests.
9030 * gdb.python/py-prettyprint.py (class ContainerPrinter)
9031 <display_hint>: New method.
9032
3714a195
AB
90332019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9034
9035 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
9036 gdb_continue_to_breakpoint more throughout this test.
9037 (run_lang_tests) Supply unique test names, and use
9038 gdb_test_no_output.
9039
18c77628
AB
90402019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9041
9042 * gdb.base/finish-pretty.exp: Update expected results.
9043 * gdb.base/pretty-print.c: New file.
9044 * gdb.base/pretty-print.exp: New file.
9045
9a93502f
PA
90462019-03-25 Pedro Alves <palves@redhat.com>
9047
9048 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
9049 move comments outside list. Append '-i "" eof' section.
9050
968aa7ae
AH
90512019-03-22 Alan Hayward <alan.hayward@arm.com>
9052
34a7f2a4 9053 PR testsuite/25016
968aa7ae
AH
9054 * README: Add pie options.
9055 * gdb.base/break-interp.exp: Ensure pie is disabled.
9056 * gdb.base/dump.exp: Likewise.
9057 * lib/gdb.exp (gdb_compile): Add pie option.
9058
4c7d57e7
TT
90592019-03-19 Tom Tromey <tromey@adacore.com>
9060
9061 * gdb.mi/mi2-cli-display.c: New file.
9062 * gdb.mi/mi2-cli-display.exp: New file.
9063
bff8c71f
TT
90642019-03-18 Joel Brobecker <brobecker@adacore.com>
9065 Tom Tromey <tromey@adacore.com>
9066
9067 * gdb.ada/ptype_array/pck.adb: New file.
9068 * gdb.ada/ptype_array/pck.ads: New file.
9069 * gdb.ada/ptype_array/foo.adb: New file.
9070 * gdb.ada/ptype_array.exp: New file.
9071
d085f989
TT
90722019-03-14 Tom Tromey <tromey@adacore.com>
9073
9074 * gdb.base/style.exp: Add "set style sources" test.
9075
b4be1b06
SM
90762019-03-13 Simon Marchi <simon.marchi@ericsson.com>
9077
9078 * mi-breakpoint-location-ena-dis.exp: Rename to ...
9079 * mi-breakpoint-multiple-locations.exp: ... this.
9080 (make_breakpoints_pattern): New proc.
9081 (do_test): Add mi_version parameter, test -break-insert,
9082 -break-info and =breakpoint-created.
9083
7cde5fc2
AB
90842019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
9085
9086 * config/default.exp: Remove 'load_lib gdb.exp'.
9087 * config/monitor.exp: Likewise.
9088 * config/sid.exp: Likewise.
9089 * config/sim.exp: Likewise.
9090 * config/slite.exp: Likewise.
9091 * config/unix.exp: Likewise.
9092 * gdb.base/default.exp: Remove unhelpful comment.
9093
efbecbc1
AB
90942019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9095
9096 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
9097
0841c79a
AB
90982019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9099
9100 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
9101
4a270568
AB
91022019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9103
9104 * gdb.fortran/type-kinds.exp: Update expected results.
9105
067630bd
AB
91062019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9107
9108 * gdb.fortran/type-kinds.exp: Test new integer type kind.
9109
3be47f7a
AB
91102019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9111
9112 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
9113 function.
9114 (test_basic_parsing_of_type_kinds): Expand types tested.
9115 (test_parsing_invalid_type_kinds): New function.
9116
4d00f5d8
AB
91172019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9118
9119 * gdb.fortran/intrinsics.exp: New file.
9120 * gdb.fortran/intrinsics.f90: New file.
9121 * gdb.fortran/type-kinds.exp: New file.
9122
c8f91604
AB
91232019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9124
9125 * gdb.fortran/dot-ops.exp: New file.
9126
dd9f2c76
AB
91272019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9128
9129 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
9130 Check upper and lower case logical literals.
9131
84ec9724
AB
91322019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9133
9134 * gdb.fortran/types.exp (test_float_literal_types_accepted):
9135 Remove duplicate tests.
9136
c3734e09
AH
91372019-03-06 Alan Hayward <alan.hayward@arm.com>
9138
9139 * lib/gdb.exp (builtin_cd): rename of cd.
9140 (cd): Override builtin.
9141
aa3cfbda
RB
91422019-03-06 Richard Bunt <richard.bunt@arm.com>
9143
9144 * gdb.fortran/function-calls.exp: New file.
9145 * gdb.fortran/function-calls.f90: New test.
9146
7b63ad86
RB
91472019-03-04 Richard Bunt <richard.bunt@arm.com>
9148
9149 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
9150 on user program standard output.
9151 * gdb.fortran/short-circuit-argument-list.f90: Record function
9152 calls.
9153
01abb042
AH
91542019-02-28 Alan Hayward <alan.hayward@arm.com>
9155
c3734e09
AH
9156 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
9157 failure.
01abb042 9158
92137da0
RO
91592019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9160
9161 PR gdb/8527
9162 * gdb.base/interrupt-daemon-attach.c,
9163 gdb.base/interrupt-daemon-attach.exp: New test.
9164
5862844d
PA
91652019-02-27 Pedro Alves <palves@redhat.com>
9166
9167 * gdb.base/page.exp: Add tests for "set width/height -1".
9168
8ed25214
PA
91692019-02-27 Pedro Alves <palves@redhat.com>
9170
9171 * gdb.base/page.exp: Add tests for "set/show width/height" with
9172 "infinite" values.
9173
6c28e44a
TT
91742019-02-27 Tom Tromey <tromey@adacore.com>
9175
9176 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
9177 2.4.
9178 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
9179 workaround.
9180
bf9a735e
AB
91812019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
9182
9183 * gdb.base/align.exp: Extend to compile in both C and C++, and add
9184 tests for structs with static members.
9185
8791793c
TT
91862019-02-26 Tom Tromey <tromey@adacore.com>
9187
9188 * gdb.python/py-value.exp (test_value_from_buffer): Check for
9189 ValueError, not TypeError.
9190
bc2a507e
KB
91912019-02-26 Kevin Buettner <kevinb@redhat.com>
9192
9193 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
9194 call from main program.
9195
e0e7d3bd
JB
91962019-02-23 Joel Brobecker <brobecker@adacore.com>
9197
9198 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
9199 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
9200 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
9201 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
9202 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
9203
9600246d
KS
92042019-02-22 Keith Seitz <keiths@redhat.com>
9205
9206 PR symtab/23853
9207 * gdb.base/symlink-sourcefile.c: New file.
9208 * gdb.base/symlink-sourcefile.exp: New file.
9209
0c95f9ed
TT
92102019-02-20 Tom Tromey <tom@tromey.com>
9211
9212 * gdb.base/info_qt.exp: Update.
9213
6caa91b6
SM
92142019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
9215
9216 * gdb.base/source.exp: Move "error in sourced script" code to
9217 the end.
9218 * gdb.base/source-error.gdb: Move contents to
9219 source-error-1.gdb. Add new code to source source-error-1.gdb.
9220 * gdb.base/source-error-1.gdb: New file, from previous
9221 source-error.gdb.
9222
6506371f
TT
92232019-02-17 Tom Tromey <tom@tromey.com>
9224
9225 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
9226 for macro styling.
9227 * gdb.base/style.c (SOME_MACRO): New macro.
9228
a0087920
TT
92292019-02-17 Tom Tromey <tom@tromey.com>
9230
9231 * gdb.base/style.exp: Add line-wrapping tests.
9232 * gdb.base/page.exp: Add test for quitting during pagination.
9233
a2cd4f14
JB
92342019-02-17 Joel Brobecker <brobecker@adacore.com>
9235
9236 * gdb.ada/big_packed_array: New testcase.
9237 * gdb.ada/homonym.exp: Fix incorrect expected output for
9238 "break <homonym__get_value>" test.
9239
9d70ffbc
WP
92402019-02-13 Weimin Pan <weimin.pan@oracle.com>
9241
9242 PR breakpoints/21870
9243 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
9244 and prepare_for_testing. Add comment.
9245 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
9246 redundant cleanup call. Clean up comment.
9247
01c7ae81
WP
92482019-02-12 Weimin Pan <weimin.pan@oracle.com>
9249
9250 PR breakpoints/21870
9251 * gdb.arch/aarch64-dbreg-contents.exp: New file.
9252 * gdb.arch/aarch64-dbreg-contents.c: New file.
9253
aff29d1c
JB
92542019-02-10 Joel Brobecker <brobecker@adacore.com>
9255
9256 * gdb.ada/mi_ref_changeable: New testcase.
9257
df0da8a2
AH
92582019-02-07 Alan Hayward <alan.hayward@arm.com>
9259
9260 * gdb.base/attach.exp: Add double attach test.
9261
bd447abb
SM
92622019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
9263
9264 * lib/gdb.exp (default_gdb_start): Don't match pagination
9265 prompt.
9266 (gdb_init): Set stty_init.
9267
1dbc40b9
TT
92682019-01-27 Tom Tromey <tom@tromey.com>
9269
9270 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
9271 skip_python_tests.
9272
353229bf
AH
92732019-01-24 Alan Hayward <alan.hayward@arm.com>
9274
9275 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
9276 New structure.
9277 (struct struct_static_02_02): Likewise.
9278 (struct struct_static_02_03): Likewise.
9279 (struct struct_static_02_04): Likewise.
9280 (struct struct_static_04_01): Likewise.
9281 (struct struct_static_04_02): Likewise.
9282 (struct struct_static_04_03): Likewise.
9283 (struct struct_static_04_04): Likewise.
9284 (struct struct_static_06_01): Likewise.
9285 (struct struct_static_06_02): Likewise.
9286 (struct struct_static_06_03): Likewise.
9287 (struct struct_static_06_04): Likewise.
9288 (cmp_struct_static_02_01): Likewise.
9289 (cmp_struct_static_02_02): Likewise.
9290 (cmp_struct_static_02_03): Likewise.
9291 (cmp_struct_static_02_04): Likewise.
9292 (cmp_struct_static_04_01): Likewise.
9293 (cmp_struct_static_04_02): Likewise.
9294 (cmp_struct_static_04_03): Likewise.
9295 (cmp_struct_static_04_04): Likewise.
9296 (cmp_struct_static_06_01): Likewise.
9297 (cmp_struct_static_06_02): Likewise.
9298 (cmp_struct_static_06_03): Likewise.
9299 (cmp_struct_static_06_04): Likewise.
9300 (call_all): Test new structs.
9301 * gdb.base/infcall-nested-structs.exp: Likewise.
9302
73021deb
AH
93032019-01-21 Alan Hayward <alan.hayward@arm.com>
9304 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9305
fc65c7db
AH
93062019-01-21 Alan Hayward <alan.hayward@arm.com>
9307 * gdb.base/stack-protector.c: New test.
9308 * gdb.base/stack-protector.exp: New file.
9309 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9310 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9311 option.
9312 (gdb_compile): Remove stack protector for GCC and prevent
9313 recursion.
9314
c24bdb02
KS
93152019-01-16 Keith Seitz <keiths@redhat.com>
9316
9317 PR gdb/23773
9318 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9319
6f072a10
PFC
93202019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9321
9322 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9323 aliases.
9324 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9325 tests.
9326 * gdb.arch/powerpc-vector-regs.c: New file.
9327 * gdb.arch/powerpc-vector-regs.exp: New file.
9328
a7b8d682
PFC
93292019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9330
9331 * gdb.arch/altivec-regs.exp: Fix the list passed to
9332 gdb_expect_list when testing "info vector".
9333
6eb6fb67
AB
93342019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9335
9336 * gdb.base/style.exp: Don't include path in testname.
9337
b56f80d8
KS
93382019-01-10 Keith Seitz <keiths@redhat.com>
9339
9340 PR gdb/23712
9341 PR symtab/23010
9342 * gdb.dwarf2/multidictionary.exp: New file.
9343
041be526
SM
93442019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9345
9346 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9347 (test_gnuv3_style_demangling): ... this.
9348 (test_lucid_style_demangling): Remove.
9349 (test_arm_style_demangling): Remove.
9350 (test_hp_style_demangling): Remove.
9351 (do_tests): Remove calls to the above.
9352
d820d0c3
AB
93532019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9354
9355 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9356 case.
9357
f097f5ad
TT
93582019-01-06 Tom Tromey <tom@tromey.com>
9359
9360 PR gdb/28155:
9361 * gdb.dwarf2/typedef-void-finish.exp: New file.
9362
2cd8cc0b
TT
93632018-12-28 Tom Tromey <tom@tromey.com>
9364 Simon Marchi <simark@simark.ca>
9365
9366 * gdb.base/jit-exec.exp: New file.
9367 * gdb.base/jit-exec.c: New file.
9368 * gdb.base/jit-execd.c: New file.
9369
35fb8261
TT
93702018-12-28 Tom Tromey <tom@tromey.com>
9371
9372 * gdb.base/style.exp: Update test to check for address styling.
9373
47fd17cd
TT
93742018-12-28 Tom Tromey <tom@tromey.com>
9375
9376 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9377 message.
9378
d47032b7
TT
93792018-12-28 Tom Tromey <tom@tromey.com>
9380
9381 * gdb.base/style.exp: Add test for version number styling.
9382
af79b68d
TT
93832018-12-28 Tom Tromey <tom@tromey.com>
9384
9385 * gdb.base/style.exp: Add test for print_address_symbolic.
9386
0bb296cb
TT
93872018-12-28 Tom Tromey <tom@tromey.com>
9388
9389 * gdb.base/style.exp: Add test for breakpoint setting.
9390
80ae2043
TT
93912018-12-28 Tom Tromey <tom@tromey.com>
9392
9393 * gdb.base/style.exp: Add test for variable names.
9394
cbe56571
TT
93952018-12-28 Tom Tromey <tom@tromey.com>
9396
9397 * gdb.base/style.exp: New file.
9398 * gdb.base/style.c: New file.
9399
9162a27c
TT
94002018-12-28 Tom Tromey <tom@tromey.com>
9401
9402 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9403 "dumb".
9404 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9405 the TERM environment variable.
9406
bc543c90
TT
94072018-12-27 Tom Tromey <tom@tromey.com>
9408
9409 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9410 pagination test.
9411
6f0ffe50
AB
94122018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9413
9414 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9415 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9416
b5a1e557
PW
94172018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9418
9419 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9420 Filename a.adb changed to bp_fun_addr.adb.
9421 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9422
6e8b1ab2
JV
94232018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9424
9425 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9426 non-PIE executables.
9427 * README: Mention the gdb,nopie_flag board setting.
9428 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9429 non-PIE executable.
9430 * gdb.arch/amd64-entry-value.exp: Likewise.
9431 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9432 * gdb.arch/i386-float.exp: Likewise.
9433 * gdb.arch/i386-signal.exp: Likewise.
9434 * gdb.mi/mi-reg-undefined.exp: Likewise.
9435
d00a27c5
PM
94362018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9437
9438 PR gdb/23974
9439 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9440
161d081c
PW
94412018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9442
9443 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9444 Update order of results accordingly.
9445
b001de23
AB
94462018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9447
9448 * gdb.base/annota1.exp: Update a test regexp.
9449
99e1a184
AB
94502018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9451
9452 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9453
7a81c1e2
PW
94542018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9455
9456 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9457 (reuse_time): Initialize to REUSE_TIME_CAP.
9458 (check_rc): New function.
9459 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9460 Check pthread_create rc.
9461 (spawner_thread_func): Check pthread_create and pthread_join rc.
9462
73e8dc90
PA
94632018-12-08 Pedro Alves <palves@redhat.com>
9464
9465 * gdb.base/list.exp (test_forward_search): Rename to ...
9466 (test_forward_reverse_search): ... this. Also test reverse-search
9467 and the forward-search alias.
9468
13f2ed32
AB
94692018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9470
9471 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9472 local timeout variable before return, and remove all local timeout
9473 variable entirely.
9474 (gdb_load): Likewise.
9475
64d27cfc
TV
94762018-12-01 Tom de Vries <tdevries@suse.de>
9477
9478 * gdb.base/gdb-caching-proc.exp: New file.
9479
f63c03b4
SDJ
94802018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9481
9482 * Makefile.in (TIMESTAMP): New variable.
9483 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9484 command.
9485 (check-single-racy): Likewise.
9486 (check/%.exp): Likewise.
9487 (check-racy/%.exp): Likewise.
9488 (workers/%.worker): Likewise.
9489 (build-perf): Likewise.
9490 (check-perf): Likewise.
9491 * README: Describe new "TS" and "TS_FORMAT" variables.
9492 * print-ts.py: New file.
9493
1c97054b
BF
94942018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9495
9496 PR python/23714
9497 * gdb.python/python.exp: Test command repetition after
9498 gdb.execute.
9499
1871a62d
AB
95002018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9501
9502 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9503 is correctly aligned.
9504
fb5e1ed9
PW
95052018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9506
9507 * gdb.ada/info_auto_lang.exp: New testcase.
9508 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9509 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9510 * gdb.ada/info_auto_lang/some_c.c: New file.
9511
43d397ca
PW
95122018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9513
9514 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9515 FUNC_lang language syntax.
9516
beddd671
PW
95172018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9518
9519 * gdb.base/info_minsym.c: New file.
9520 * gdb.base/info_minsym.exp: New file.
9521
73fc52c4
TT
95222018-11-19 Tom Tromey <tom@tromey.com>
9523
9524 PR rust/23625:
9525 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9526 * gdb.rust/expr.exp: Update expected output. Change one test.
9527
994b876a
TT
95282018-11-19 Tom Tromey <tom@tromey.com>
9529
9530 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9531
6769f276
PA
95322018-11-19 Pedro Alves <palves@redhat.com>
9533
9534 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9535 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9536 see the expected warning.
9537
38a72da0
AH
95382018-11-16 Alan Hayward <alan.hayward@arm.com>
9539
9540 PR gdb/22736:
9541 * gdb.cp/infcall-nodebug-lib.c: New test.
9542 * gdb.cp/infcall-nodebug-main.c: New test.
9543 * gdb.cp/infcall-nodebug.exp: New file.
9544
53a89d6e
SM
95452018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9546
9547 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9548 completer tests.
9549
9325300d
TV
95502018-11-09 Tom de Vries <tdevries@suse.de>
9551
9552 * gdb.base/msym-lang.c: New test.
9553 * gdb.base/msym-lang.exp: New file.
9554 * gdb.base/msym-lang-main.c: New test.
9555
20f0d60d
TT
95562018-11-08 Tom Tromey <tom@tromey.com>
9557
9558 PR gdb/23555:
9559 PR gdb/23838:
9560 * gdb.base/warning.exp: New file.
9561
b5420128
JB
95622018-11-08 Jan Beulich <jbeulich@suse.com>
9563
9564 * testsuite/gdb.arch/i386-avx512.c,
9565 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9566
cd115d61
AB
95672018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9568
9569 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9570 point hardware.
9571
35ee2dc2
AB
95722018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9573
9574 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9575 * gdb.dwarf2/missing-type-name.exp: New file.
9576
31aceee8
TV
95772018-11-06 Tom de Vries <tdevries@suse.de>
9578
9579 * gdb.base/many-headers.c: New test.
9580 * gdb.base/many-headers.exp: New file.
9581
109be305
JW
95822018-11-06 Jim Wilson <jimw@sifive.com>
9583
9584 * gdb.base/code_elim.exp: For riscv, set additional_flags
9585 to include -msmall-data-limit=0.
9586
e2b7af72
JB
95872018-11-01 Joel Brobecker <brobecker@adacore.com>
9588
9589 * gdb.ada/watch_minus_l: New testcase.
9590
cdcda965
SM
95912018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9592
9593 * gdb.arch/aix-sighandle.c: New file.
9594 * gdb.arch/aix-sighandle.exp: New file.
9595
92dcebf3
AB
95962018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9597
9598 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9599 registers being unions.
9600
68b9ac18
TV
96012018-10-31 Tom de Vries <tdevries@suse.de>
9602
9603 * lib/valgrind.exp: New file.
9604 (vgdb_start, vgdb_stop): New procs, factored out of ...
9605 * gdb.base/valgrind-bt.exp: ... here, ...
9606 * gdb.base/valgrind-disp-step.exp: ... here and ...
9607 * gdb.base/valgrind-infcall.exp: ... here.
9608
1443936e
TV
96092018-10-31 Tom de Vries <tdevries@suse.de>
9610
9611 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9612
eb77c9df
AB
96132018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9614
9615 * gdb.dwarf2/void-type.c: New file.
9616 * gdb.dwarf2/void-type.exp: New file.
9617
82b5e646
PW
96182018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9619
9620 * gdb.base/info_qt.c: New file.
9621 * gdb.base/info_qt.exp: New file.
9622
8d619c01
EBM
96232018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9624
9625 * gdb.arch/powerpc-htm-regs.c: New file.
9626 * gdb.arch/powerpc-htm-regs.exp: New file.
9627
f2cf6173
EBM
96282018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9629
9630 * gdb.arch/powerpc-tar.c: New file.
9631 * gdb.arch/powerpc-tar.exp: New file.
9632
7ca18ed6
EBM
96332018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9634
9635 * gdb.arch/powerpc-ppr-dscr.c: New file.
9636 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9637
bfcc0eba
TV
96382018-10-25 Tom de Vries <tdevries@suse.de>
9639
9640 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9641
fe1a5cad
TV
96422018-10-24 Tom de Vries <tdevries@suse.de>
9643
9644 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9645 longer exists error.
9646
a76dc3b7
TV
96472018-10-24 Tom de Vries <tdevries@suse.de>
9648
9649 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9650
4df46df7
TV
96512018-10-24 Tom de Vries <tdevries@suse.de>
9652
9653 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9654 --db-attach in valgrind.
9655
0dbfcfff
AB
96562018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9657
9658 * gdb.arch/riscv-reg-aliases.c: New file.
9659 * gdb.arch/riscv-reg-aliases.exp: New file.
9660
b04480b1
AH
96612018-10-19 Alan Hayward <alan.hayward@arm.com>
9662
9663 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9664
2c6ac8d7
AH
96652018-10-19 Alan Hayward <alan.hayward@arm.com>
9666
9667 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9668
2bc69f25
AH
96692018-10-19 Alan Hayward <alan.hayward@arm.com>
9670
9671 * gdb.cp/ovldbreak.exp: Fix regexps.
9672
1f1ae3a3
AH
96732018-10-19 Alan Hayward <alan.hayward@arm.com>
9674
9675 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9676
94c18618
SDJ
96772018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9678
9679 PR cli/23785
9680 * gdb.base/restore.exp: New test to check if "restore" with an
9681 invalid file doesn't segfault.
9682
812cd6eb
TV
96832018-10-18 Tom de Vries <tdevries@suse.de>
9684
9685 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9686 * gdb.ada/excep_handle.exp: Same.
9687 * gdb.ada/mi_string_access.exp: Same.
9688 * gdb.ada/mi_var_union.exp: Same.
9689 * gdb.arch/arc-analyze-prologue.exp: Same.
9690 * gdb.arch/arc-decode-insn.exp: Same.
9691 * gdb.base/readnever.exp: Same.
9692 * gdb.fortran/printing-types.exp: Same.
9693 * gdb.guile/scm-lazy-string.exp: Same.
9694
c4b90788
TV
96952018-10-16 Tom de Vries <tdevries@suse.de>
9696
9697 PR gdb/23730
9698 * gdb.base/catch-follow-exec.c: Add copyright notice.
9699 * gdb.base/catch-follow-exec.exp: Rewrite to use
9700 gdb_spawn_with_cmdline_opts. Require gdb-native.
9701
8bca2978
SL
97022018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9703
9704 * gdb.trace/actions-changed.exp: Check for arch support.
9705 * gdb.trace/actions.exp: Likewise.
9706 * gdb.trace/ax.exp: Likewise.
9707 * gdb.trace/backtrace.exp: Likewise.
9708 * gdb.trace/change-loc.exp: Likewise.
9709 * gdb.trace/deltrace.exp: Likewise.
9710 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9711 * gdb.trace/ftrace.exp: Likewise.
9712 * gdb.trace/infotrace.exp: Check for arch support.
9713 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9714 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9715 * gdb.trace/mi-tsv-changed.exp: Likewise.
9716 * gdb.trace/packetlen.exp: Likewise.
9717 * gdb.trace/passc-dyn.exp: Likewise.
9718 * gdb.trace/passcount.exp: Likewise.
9719 * gdb.trace/pending.exp: Likewise.
9720 * gdb.trace/range-stepping.exp: Check for shlib support.
9721 * gdb.trace/report.exp: Check for arch support.
9722 * gdb.trace/save-trace.exp: Likewise.
9723 * gdb.trace/signal.exp: Check for signal support.
9724 * gdb.trace/tfind.exp: Check for arch support.
9725 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9726 * gdb.trace/trace-common.h: Add comment.
9727 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9728 * gdb.trace/trace-enable-disable.exp: Likewise.
9729 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9730 * gdb.trace/tracecmd.exp: Check for arch support.
9731 * gdb.trace/tspeed.exp: Check for shlib and target support.
9732 * gdb.trace/tstatus.exp: Check for arch support.
9733 * gdb.trace/tsv.exp: Likewise.
9734 * gdb.trace/while-dyn.exp: Likewise.
9735 * gdb.trace/while-stepping.exp: Likewise.
9736 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9737
f9c49bff
SM
97382018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9739
9740 * gdb.trace/tspeed.exp: Remove nowarnings.
9741 (prepare_for_trace_test): Declare "global ipalib".
9742 * gdb.trace/tspeed.c: Include unistd.h.
9743 (main): Remove superfluous printf argument.
9744
d4330bde
SL
97452018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9746
9747 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9748 directory prefix on the filename.
9749
8ecfd7bd
SDJ
97502018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9751
9752 * gdb.gdb/unittest.exp: Update expected message informing that
9753 selftests have been disabled.
9754 * gdb.server/unittest.exp: Likewise.
9755
58bbcd02
TV
97562018-10-09 Tom de Vries <tdevries@suse.de>
9757
9758 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9759 with runto_main.
9760
9f6b697b
WP
97612018-10-08 Weimin Pan <weimin.pan@oracle.com>
9762
9763 PR c++/16841
9764 * gdb.cp/virtbase2.cc: New file.
9765 * gdb.cp/virtbase2.exp: New file.
9766
add5ded5
TT
97672018-10-06 Tom Tromey <tom@tromey.com>
9768
9769 PR python/19399:
9770 * gdb.python/py-inferior.exp: Add architecture test.
9771
f9e48344
TT
97722018-10-06 Tom Tromey <tom@tromey.com>
9773
9774 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9775 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9776
2a8be203
TT
97772018-10-06 Tom Tromey <tom@tromey.com>
9778
9779 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9780 of a "throw" catchpoint.
9781
e04caa70
SDJ
97822018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9783
9784 * gdb.base/info-proc.exp: Update string expected from "help info
9785 proc".
9786
5ca8c39f
TT
97872018-10-04 Tom Tromey <tom@tromey.com>
9788
9789 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9790 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9791 (test_initial_complaints, test_empty_complaints): Update.
9792 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9793
3453e7e4
TT
97942018-10-04 Tom Tromey <tom@tromey.com>
9795
9796 PR cli/19551:
9797 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9798 * lib/gdb.exp (gdb_file_cmd): Update.
9799 * gdb.stabs/weird.exp (print_weird_var): Update.
9800 * gdb.server/solib-list.exp: Update.
9801 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9802 * gdb.mi/mi-cli.exp: Update.
9803 * gdb.linespec/linespec.exp: Update.
9804 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9805 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9806 * gdb.cp/cp-relocate.exp: Update.
9807 * gdb.base/sym-file.exp: Update.
9808 * gdb.base/relocate.exp: Update.
9809 * gdb.base/readnever.exp: Update.
9810 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9811 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9812 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9813 * gdb.base/code_elim.exp: Update.
9814 * gdb.base/break-unload-file.exp (test_break): Update.
9815 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9816 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9817 Update.
9818 * gdb.base/attach.exp (do_attach_tests): Update.
9819 * gdb.base/sepdebug.exp: Update.
9820 * gdb.python/py-section-script.exp: Update.
9821
6afcf761
TT
98222018-10-04 Tom Tromey <tom@tromey.com>
9823
9824 PR cli/22234:
9825 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9826 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9827 output.
9828
fef1b293
TT
98292018-10-04 Tom Tromey <tom@tromey.com>
9830
9831 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9832 set width and height to 0.
9833 (test_command_line_attach_run): Use -quiet.
9834
ca98345e
SL
98352018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9836
9837 * lib/gdb.exp (skip_ifunc_tests): New.
9838 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9839 other compile failures.
9840 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9841
ff34e6ae
SM
98422018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9843
9844 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9845 is_amd64_regs_target.
9846
6bb8890e
AH
98472018-10-01 Alan Hayward <alan.hayward@arm.com>
9848
9849 * gdb.arch/aarch64-sighandler-regs.c: New test.
9850 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9851 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9852
224d30d3
MM
98532018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9854
9855 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9856 assembly.
9857
f67ffa6a
AB
98582018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9859
9860 * gdb.base/frame-selection.exp: New file.
9861 * gdb.base/frame-selection.c: New file.
9862
9fc3183f
AH
98632018-09-27 Alan Hayward <alan.hayward@arm.com>
9864
9865 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9866 pthread barrier.
9867 (main): Likewise.
9868
d354055e
AB
98692018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9870
9871 * gdb.base/large-frame-1.c: New file.
9872 * gdb.base/large-frame-2.c: New file.
9873 * gdb.base/large-frame.exp: New file.
9874 * gdb.base/large-frame.h: New file.
9875
db727370
JL
98762018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9877
9878 PR gdb/20948
9879 * gdb.base/write_mem.exp: New test.
9880 * gdb.base/write_mem.c: Likewise.
9881
ae778caf
TT
98822018-09-23 Tom Tromey <tom@tromey.com>
9883
9884 PR python/18852:
9885 * gdb.python/py-parameter.exp: Add test for parameter that throws
9886 on "set".
9887
fd3ba736
TT
98882018-09-23 Tom Tromey <tom@tromey.com>
9889
9890 PR python/17284:
9891 * gdb.python/py-template.exp (test_template_arg): Add test for
9892 negative template argument number.
9893
39a24317
TT
98942018-09-23 Tom Tromey <tom@tromey.com>
9895
9896 PR python/14062:
9897 * gdb.python/python.exp: Add test for post_event error.
9898
f5769a2c
TT
98992018-09-23 Tom Tromey <tom@tromey.com>
9900
9901 PR python/18170:
9902 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9903 convert pointers to int and long.
9904
1c1e54f6
TT
99052018-09-23 Tom Tromey <tom@tromey.com>
9906
9907 PR python/20126:
9908 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9909 signed-ness conversion tests.
9910
fb4fa946
TT
99112018-09-23 Tom Tromey <tom@tromey.com>
9912
9913 PR python/18352;
9914 * gdb.python/py-value.exp (test_float_conversion): New proc.
9915 Use it.
9916
a466edac
HAQ
99172018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9918
9919 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9920
4ee9b0c5
SL
99212018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9922
9923 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9924 no readline.
9925 * gdb.base/utf8-identifiers.exp: Likewise.
9926 * gdb.cp/cpcompletion.exp: Likewise.
9927 * gdb.linespec/cpcompletion.exp: Likewise.
9928 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9929 * gdb.linespec/cpls-ops.exp: Likewise.
9930
23be8da7
RB
99312018-09-19 Richard Bunt <richard.bunt@arm.com>
9932 Chris January <chris.january@arm.com>
9933
9934 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9935 * gdb.fortran/short-circuit-argument-list.exp: New file.
9936 * gdb.fortran/short-circuit-argument-list.f90: New test.
9937
5031d0ae
SDJ
99382018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9939
9940 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9941 "arch=" keyword when executing "-stack-list-frames".
9942
b4c0d1a4
SDJ
99432018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9944
9945 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9946 "arch=" keyword when executing "-stack-list-frames".
9947
7a6d2b45
SDJ
99482018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9949
9950 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9951 break ada".
9952
8588b356
SM
99532018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9954
9955 PR python/23669
9956 * gdb.python/python.exp: Test gdb.execute("show commands").
9957
65e65158
TT
99582018-09-16 Tom Tromey <tom@tromey.com>
9959
9960 * gdb.base/new-ui.exp (do_execution_tests): Update.
9961 * gdb.base/dbx.exp (test_breakpoints): Update.
9962
bf326452
AH
99632018-09-14 Alan Hayward <alan.hayward@arm.com>
9964
9965 * lib/gdb.exp (gdb_simple_compile): Add proc.
9966 (is_elf_target): Use gdb_simple_compile.
9967 (skip_altivec_tests): Likewise.
9968 (skip_vsx_tests): Likewise.
9969 (skip_tsx_tests): Likewise.
9970 (skip_btrace_tests): Likewise.
9971 (skip_btrace_pt_tests): Likewise.
9972 (gdb_can_simple_compile): Likewise.
9973 (gdb_has_argv0): Likewise.
9974 (gdb_target_symbol_prefix): Likewise.
9975 (target_supports_scheduler_locking): Likewise.
9976
2361b0fb
TT
99772018-09-13 Tom Tromey <tom@tromey.com>
9978
9979 * Makefile.in (TAGS): Recognize proc_with_prefix and
9980 gdb_caching_proc.
9981
0ae1a321
SM
99822018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9983
9984 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9985 method.
9986
a40bf0c2
SM
99872018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9988
9989 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9990 and a few other Inferior properties when the Inferior is no
9991 longer valid.
9992
4a3fe98f
TT
99932018-09-13 Tom Tromey <tom@tromey.com>
9994
9995 PR rust/23650:
9996 * gdb.rust/simple.exp: Add test for enum field access error.
9997
098b2108
TT
99982018-09-13 Tom Tromey <tom@tromey.com>
9999
10000 PR rust/23626:
10001 * gdb.rust/simple.rs (EmptyEnum): New type.
10002 (main): Use it.
10003 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
10004
1256af7d
SM
100052018-09-13 Simon Marchi <simon.marchi@ericsson.com>
10006
10007 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
10008 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
10009 * gdb.python/py-symtab.exp: Update test printing an objfile.
10010
4aa8e6c2
SM
100112018-09-12 Simon Marchi <simon.marchi@ericsson.com>
10012
10013 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
10014 object.
10015
c221b2f7
AH
100162018-09-12 Alan Hayward <alan.hayward@arm.com>
10017
10018 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
10019 (support_complex_tests): Use gdb_can_simple_compile.
10020 (is_ilp32_target): Likewise.
10021 (is_lp64_target): Likewise.
10022 (is_64_target): Likewise.
10023 (is_amd64_regs_target): Likewise.
10024 (is_aarch32_target): Likewise.
10025 (gdb_int128_helper): Likewise.
10026
6f1107b5
JK
100272018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10028
10029 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
10030
1f5d1570
JG
100312018-09-10 Jerome Guitton <guitton@adacore.com>
10032
10033 * gdb.ada/same_component_name: Add test for case of tagged record
10034 with variable-length fields.
10035
cc330e39
XR
100362018-09-10 Xavier Roirand <roirand@adacore.com>
10037
10038 * gdb.ada/access_to_unbounded_array.exp: New testcase.
10039 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
10040 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
10041 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
10042
b9c50e9a
XR
100432018-09-10 Xavier Roirand <roirand@adacore.com>
10044
10045 * gdb.ada/mi_string_access.exp: New testcase.
10046 * gdb.ada/mi_string_access/bar.adb: New file.
10047 * gdb.ada/mi_string_access/pck.adb: New file.
10048 * gdb.ada/mi_string_access/pck.asd: New file.
10049
2963898f
XR
100502018-09-10 Xavier Roirand <roirand@adacore.com>
10051
10052 * gdb.ada/mi_var_union.exp: New testcase.
10053 * gdb.ada/mi_var_union/bar.adb: New file.
10054 * gdb.ada/mi_var_union/pck.adb: New file.
10055 * gdb.ada/mi_var_union/pck.asd: New file.
10056
1aac008f
TT
100572018-09-08 Tom Tromey <tom@tromey.com>
10058
10059 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
10060
332cf4c9
TT
100612018-09-08 Tom Tromey <tom@tromey.com>
10062
10063 PR python/16047:
10064 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
10065 (register_pretty_printers): Register new printer.
10066 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
10067 test.
10068 * gdb.python/py-prettyprint.c (int_type3): New typedef.
10069 (an_int_type3): New global.
10070
424da6cf
JB
100712018-09-08 Joel Brobecker <brobecker@adacore.com>
10072
10073 * gdb.ada/expr_with_funcall: New testcase.
10074
2a62dfa9
JB
100752018-09-08 Joel Brobecker <brobecker@adacore.com>
10076
10077 * gdb.ada/packed_array_assign: New testcase.
10078
96b6697f
AB
100792018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
10080
10081 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
10082 names, and add test prefixes to make test names unique.
10083
e4a62c65
TV
100842018-09-05 Tom de Vries <tdevries@suse.de>
10085
10086 * gdb.dwarf2/varval.exp: Add test.
10087
dd083ee2
GB
100882018-09-04 Gary Benson <gbenson@redhat.com>
10089
10090 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
10091 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
10092
aef9346c
TT
100932018-08-31 Tom Tromey <tom@tromey.com>
10094
10095 * gdb.rust/simple.rs: Rename second variable "v".
10096
c67f2e15
AB
100972018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
10098
10099 * gdb.base/funcargs.c (use_a): New function.
10100 (recurse): Call use_a.
10101
078a0207
KS
101022018-08-29 Keith Seitz <keiths@redhat.com>
10103
10104 * gdb.compile/compile-cplus-anonymous.cc: New file.
10105 * gdb.compile/compile-cplus-anonymous.exp: New file.
10106 * gdb.compile/compile-cplus-array-decay.cc: New file.
10107 * gdb.compile/compile-cplus-array-decay.exp: New file.
10108 * gdb.compile/compile-cplus-inherit.cc: New file.
10109 * gdb.compile/compile-cplus-inherit.exp: New file.
10110 * gdb.compile/compile-cplus-member.cc: New file.
10111 * gdb.compile/compile-cplus-member.exp: New file.
10112 * gdb.compile/compile-cplus-method.cc: New file.
10113 * gdb.compile/compile-cplus-method.exp: New file.
10114 * gdb.compile/compile-cplus-mod.c: "New" file.
10115 * gdb.compile/compile-cplus-namespace.cc: New file.
10116 * gdb.compile/compile-cplus-namespace.exp: New file.
10117 * gdb.compile/compile-cplus-nested.cc: New file.
10118 * gdb.compile/compile-cplus-nested.exp: New file.
10119 * gdb.compile/compile-cplus-print.c: "New" file.
10120 * gdb.compile/compile-cplus-print.exp: "New" file.
10121 * gdb.compile/compile-cplus-virtual.cc: New file.
10122 * gdb.compile/compile-cplus-virtual.exp: New file.
10123 * gdb.compile/compile-cplus.c: "New" file.
10124 * gdb.compile/compile-cplus.exp: "New" file.
10125 * lib/compile-support.exp: New file.
10126
b0f492b9
GB
101272018-08-16 Gary Benson <gbenson@redhat.com>
10128
10129 PR gdb/13000:
10130 * gdb.base/batch-exit-status.exp: New file.
10131 * gdb.base/batch-exit-status.good-commands: Likewise.
10132 * gdb.base/batch-exit-status.bad-commands: Likewise.
10133
36eb4c5f
AH
101342018-08-29 Alan Hayward <alan.hayward@arm.com>
10135
10136 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
10137 (struct struct02): Likewise.
10138 (struct struct03): Likewise.
10139 (struct struct04): Likewise.
10140 (struct struct_01_01): New struct.
10141 (struct struct_01_02): Likewise.
10142 (struct struct_01_03): Likewise.
10143 (struct struct_01_04): Likewise.
10144 (struct struct_02_01): Likewise.
10145 (struct struct_02_02): Likewise.
10146 (struct struct_02_03): Likewise.
10147 (struct struct_02_04): Likewise.
10148 (struct struct_04_01): Likewise.
10149 (struct struct_04_02): Likewise.
10150 (struct struct_04_03): Likewise.
10151 (struct struct_04_04): Likewise.
10152 (struct struct_05_01): Likewise.
10153 (struct struct_05_02): Likewise.
10154 (struct struct_05_03): Likewise.
10155 (struct struct_05_04): Likewise.
10156 (cmp_struct01): Remove function.
10157 (cmp_struct02): Likewise.
10158 (cmp_struct03): Likewise.
10159 (cmp_struct04): Likewise.
10160 (cmp_struct_01_01): Add Function.
10161 (cmp_struct_01_02): Likewise.
10162 (cmp_struct_01_03): Likewise.
10163 (cmp_struct_01_04): Likewise.
10164 (cmp_struct_02_01): Likewise.
10165 (cmp_struct_02_02): Likewise.
10166 (cmp_struct_02_03): Likewise.
10167 (cmp_struct_02_04): Likewise.
10168 (cmp_struct_04_01): Likewise.
10169 (cmp_struct_04_02): Likewise.
10170 (cmp_struct_04_03): Likewise.
10171 (cmp_struct_04_04): Likewise.
10172 (cmp_struct_05_01): Likewise.
10173 (cmp_struct_05_02): Likewise.
10174 (cmp_struct_05_03): Likewise.
10175 (cmp_struct_05_04): Likewise.
10176 (call_all): Add new structs.
10177 * gdb.base/infcall-nested-structs.exp: Likewise.
10178
3bf9c013
JV
101792018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
10180
10181 * gdb.python/py-framefilter-mi.exp: Update regexp to
10182 check for "arch" field in frame output.
10183
450d1e88
KB
101842018-08-23 Kevin Buettner <kevinb@redhat.com>
10185
10186 * gdb.dwarf2/dw2-ranges-func.c: New file.
10187 * gdb.dwarf2/dw2-ranges-func.exp: New file.
10188
ae739fe7
SM
101892018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
10190
10191 * gdb.base/term.exp: Compare terminal settings with values from
10192 the inferior.
10193 * gdb.base/term.c: Get and set terminal settings.
10194
6d52907e
JV
101952018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
10196
10197 * lib/mi-support.exp (mi_expect_stop): Update regexp to
10198 accommodate new "arch" field in frame output.
10199 * gdb.mi/mi-return.exp: Likewise.
10200 * gdb.mi/mi-stack.exp: Likewise.
10201 * gdb.mi/mi-syn-frame.exp: Likewise.
10202 * gdb.mi/user-selected-context-sync.exp: Likewise.
10203
be2d111a
MS
102042018-08-19 Michael Spang <spang@google.com>
10205
10206 PR gdb/11786
10207 * gdb.base/gcore-tls-pie.c: New file.
10208 * gdb.base/gcore-tls-pie.exp: New file.
10209
ae3a7c47
KB
102102018-08-18 Kevin Buettner <kevinb@redhat.com>
10211
10212 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
10213 * gdb.dwarf2/varval.c: New file.
10214 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 10215
2ecae92e
AH
102162018-08-17 Alan Hayward <alan.hayward@arm.com>
10217
10218 PR gdb/18931
10219 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
10220
c1854f1d
KS
102212018-08-16 Keith Seitz <keiths@redhat.com>
10222
10223 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
10224 tests expected to pass.
10225
26fb3983
JV
102262018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
10227
10228 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
10229 -data-disassemble -a.
10230 (test_disassembly_bogus_args): Likewise.
10231
67943c00
AB
102322018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
10233
10234 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
10235
5ff2bbae
AB
102362018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10237
10238 * gdb.base/vla-optimized-out.exp: Add new test.
10239
e5bbcd0f
AB
102402018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10241
10242 * gdb.base/vla-optimized-out-o3.exp: Delete.
10243 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
10244 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
10245 deleted tests.
10246
9d4a934c
AB
102472018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
10248
10249 PR gdb/18050:
10250 * gdb.server/extended-remote-restart.c: New file.
10251 * gdb.server/extended-remote-restart.exp: New file.
10252
045cf012
SM
102532018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
10254
10255 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
10256 "set variable index = 42".
10257
87d6a7aa
SM
102582018-08-07 Simon Marchi <simon.marchi@ericsson.com>
10259
10260 * boards/index-cache-gdb.exp: New file.
10261 * gdb.dwarf2/index-cache.exp: New file.
10262 * gdb.dwarf2/index-cache.c: New file.
10263 * gdb.base/maint.exp: Check if we are using the index cache.
10264
96d68bd4
RO
102652018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10266
10267 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
10268 MAKEFLAGS.
10269
5a699617
RO
102702018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10271
10272 * dg-extract-results.sh: Move to toplevel contrib.
10273 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
10274 * Makefile.in (check-parallel-racy): Likewise.
10275
5bd18990
AB
102762018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
10277
10278 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
10279 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
10280 tests if the target supports scheduler locking.
10281
3fbbcf47
TV
102822018-08-04 Tom de Vries <tdevries@suse.de>
10283
10284 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
10285
3e1d3d8c
TT
102862018-08-02 Tom Tromey <tom@tromey.com>
10287
10288 PR symtab/16842.
10289 * gdb.cp/temargs.exp: Test "info address" of a template
10290 parameter.
10291
5abe0f0c
JV
102922018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
10293
10294 * gdb.python/py-mi-var-info-path-expression.c: New file.
10295 * gdb.python/py-mi-var-info-path-expression.py: New file.
10296 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10297
fb66cde8
SDJ
102982018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10299
10300 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10301 error after "cannot resolve name" string.
10302
c708f4d2
AB
103032018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10304
10305 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10306 started.
10307 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10308
37cc0cae
TV
103092018-07-28 Tom de Vries <tdevries@suse.de>
10310
10311 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10312
63b4ecf7
TV
103132018-07-26 Tom de Vries <tdevries@suse.de>
10314
10315 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10316
3c3bb058
AB
103172018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10318
10319 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10320 is visible.
10321
9e7f3bbb
TV
103222018-07-26 Tom de Vries <tdevries@suse.de>
10323
10324 PR breakpoints/23366
10325 * gdb.base/catch-follow-exec.c: New test.
10326 * gdb.base/catch-follow-exec.exp: New file.
10327
16f808ec
TV
103282018-07-25 Tom de Vries <tdevries@suse.de>
10329
10330 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10331 vla-optimized-out.c.
10332
d7154a8d
JV
103332018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10334
10335 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10336 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10337
232a0032
TV
103382018-07-20 Tom de Vries <tdevries@suse.de>
10339
10340 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10341 NOCLONE macro.
10342 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10343
fbb1d502
TV
103442018-07-19 Tom de Vries <tdevries@suse.de>
10345
10346 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10347 regular expression.
10348
42dc7699
TV
103492018-07-18 Tom de Vries <tdevries@suse.de>
10350
10351 * gdb.base/vla-optimized-out.c: New test.
10352 * gdb.base/vla-optimized-out.exp: New file.
10353
7f1f7e23
SDJ
103542018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10355
10356 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10357 message "No address associated with hostname" when gdbserver
10358 cannot resolve the hostname.
10359
5759ebb3
PW
103602018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10361
10362 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10363 Add some test prefixes to make tests unique.
10364
3606ccab
PW
103652018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10366
10367 * gdb.base/frameapply.c: New file.
10368 * gdb.base/frameapply.exp: New file.
10369
529c08b2
PW
103702018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10371
10372 * gdb.base/skip.exp: Update expected error message.
10373
c7ab0aef
SDJ
103742018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10375 Jan Kratochvil <jan.kratochvil@redhat.com>
10376 Paul Fertser <fercerpav@gmail.com>
10377 Tsutomu Seki <sekiriki@gmail.com>
10378
10379 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10380 parameter.
10381 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10382 by default.
10383 * boards/native-gdbserver.exp: Likewise.
10384 * gdb.server/run-without-local-binary.exp: Improve regexp used
10385 for detecting when a remote debugging connection succeeds.
10386 * gdb.server/server-connect.exp: New file.
10387 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10388 Do not prefix the port number with ":".
10389 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10390 support for detecting and using it. Add '$debughost_gdbserver'
10391 to the list of arguments used to start gdbserver. Handle case
10392 when gdbserver cannot resolve a network name.
10393
16ff70dd
SDJ
103942018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10395
10396 PR c++/23373
10397 * gdb.base/ptype-offsets.cc (struct static_member): New
10398 struct.
10399 (main) <stmember>: New variable.
10400 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10401 with a static member in it.
10402
3541979f
AB
104032018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10404
10405 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10406 watchpoints enabled and disabled.
10407
c8ad9b9a
AB
104082018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10409
10410 * gdb.base/examine-backward.exp: Still run tests around address
10411 0x0, even if address 0x0 is not readable. Update the pattern for
10412 matching address 0x0 in expected output.
10413
e0e5e971
AB
104142018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10415
10416 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10417 malloc/free.
10418
1ea5da02
TV
104192018-07-04 Tom de Vries <tdevries@suse.de>
10420
10421 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10422
471b9d15
MR
104232018-07-02 Maciej W. Rozycki <macro@mips.com>
10424
10425 PR tdep/8282
10426 * gdb.arch/mips-disassembler-options.exp: New test.
10427 * gdb.arch/mips-disassembler-options.s: New test source.
10428
75acb486
PA
104292018-06-29 Pedro Alves <palves@redhat.com>
10430
10431 * gdb.threads/names.exp: Adjust expected "info threads" output.
10432
cd2bb709
PA
104332018-06-29 Pedro Alves <palves@redhat.com>
10434
10435 * gdb.opt/inline-break.exp (line number, address): Add "info
10436 break" tests.
10437
991ff292
PA
104382018-06-29 Pedro Alves <palves@redhat.com>
10439
10440 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10441 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10442 number and address and running to them.
10443
356819b6 104442018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
10445
10446 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10447
2512d7ef
JK
104482018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10449
10450 * lib/compiler.c: Remove executable permission flag.
10451
be1b6474
RB
104522018-06-28 Richard Bunt <richard.bunt@arm.com>
10453
10454 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10455 code.
10456 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10457
291f9a96
PT
104582018-06-28 Petr Tesarik <ptesarik@suse.cz>
10459
10460 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10461
ed6dfe51
PT
104622018-06-28 Petr Tesarik <ptesarik@suse.cz>
10463
10464 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10465 address argument is omitted.
10466
d4d429d5
PT
104672018-06-28 Petr Tesarik <ptesarik@suse.cz>
10468
10469 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10470
7ab6656f
OJ
104712018-06-27 Omair Javaid <omair.javaid@linaro.org>
10472
10473 PR gdb/21695
10474 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10475 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10476
a33ccfc7
TT
104772018-06-26 Tom Tromey <tom@tromey.com>
10478
10479 PR rust/22574:
10480 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10481 * gdb.rust/simple.rs (struct SimpleLayout): New.
10482
6d72d289
SM
104832018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10484
10485 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10486 "info registers" output.
10487
8363f9d5
RB
104882018-06-21 Richard Bunt <richard.bunt@arm.com>
10489
10490 * gdb.base/watchpoint-hw-attach.c: New test.
10491 * gdb.base/watchpoint-hw-attach.exp: New file.
10492
f00674fe
SM
104932018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10494
10495 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10496 through /bin/sh.
10497 * boards/dwarf4-gdb-index.exp: Likewise.
10498 * boards/fission-dwp.exp: Likewise.
10499
1d554008
UW
105002018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10501
10502 * gdb.base/float128.exp: Add comment and improved fail message
10503 to the failure case of "print large128" test.
10504
d0ac1c44
SM
105052018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10506
10507 * configure.ac: Remove AC_PREREQ.
10508 * configure: Re-generate.
10509
61b04dd0
PA
105102018-06-19 Pedro Alves <palves@redhat.com>
10511
10512 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10513 (func_extern_caller): New.
10514 (main): Call func_extern_caller.
10515 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10516 logic change.
10517
f63b508a
SM
105182018-06-18 Weimin Pan <weimin.pan@oracle.com>
10519
10520 PR gdb/16841
10521 * gdb.cp/typedef-base.cc: New file.
10522 * gdb.cp/typedef-base.exp: New file.
10523
0fe3a558
TV
105242018-06-18 Tom de Vries <tdevries@suse.de>
10525
10526 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10527
7010835a
AB
105282018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10529 Richard Bunt <Richard.Bunt@arm.com>
10530
10531 * gdb.threads/attach-slow-waitpid.c: New file.
10532 * gdb.threads/attach-slow-waitpid.exp: New file.
10533 * gdb.threads/slow-waitpid.c: New file.
10534
14897d65
PA
105352018-06-14 Pedro Alves <palves@redhat.com>
10536
10537 * gdb.base/fork-running-state.c: Include <errno.h>.
10538 (exit_if_relative_exits): New.
10539 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10540 exits.
10541 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10542 child exits.
10543
5d9a0608
TV
105442018-06-14 Tom de Vries <tdevries@suse.de>
10545
10546 PR cli/22573
10547 * gdb.base/finish-pretty.c: New test.
10548 * gdb.base/finish-pretty.exp: New file.
10549
11ae5818
PA
105502018-06-14 Pedro Alves <palves@redhat.com>
10551
10552 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10553 gdb's expected startup output.
10554
1d39de44
PA
105552018-06-14 Pedro Alves <palves@redhat.com>
10556
10557 * lib/selftest-support.exp (selftest_setup): Remove inlined
10558 function handling.
10559
70ee0000
TV
105602018-06-14 Tom de Vries <tdevries@suse.de>
10561
10562 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10563 matching of breakpoint printing.
10564
11f4b608
TV
105652018-06-13 Tom de Vries <tdevries@suse.de>
10566
10567 PR testsuite/23269
10568 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10569 (fork_child): ... here, and ...
10570 (fork_parent): ... here.
10571
105722018-06-12 Tom de Vries <tdevries@suse.de>
10573
10574 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10575
9516f85a
AB
105762018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10577 Stephen Roberts <stephen.roberts@arm.com>
10578
10579 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10580 rewrite test to describe action performed, rather than possible
10581 failure.
10582
5045b3d7
GB
105832018-06-08 Gary Benson <gbenson@redhat.com>
10584
10585 * gdb.threads/check-libthread-db.exp: New file.
10586 * gdb.threads/check-libthread-db.c: Likewise.
10587
c61b06a1
TT
105882018-06-05 Tom Tromey <tom@tromey.com>
10589
10590 * gdb.base/default.exp: Update expected "show version" output.
10591
eb6af809
TT
105922018-06-05 Tom Tromey <tom@tromey.com>
10593
10594 PR cli/12326:
10595 * gdb.cp/static-print-quit.exp: Update.
10596 * lib/gdb.exp (pagination_prompt): Update.
10597 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10598 * gdb.python/python.exp: Update.
10599
178d6a63
JB
106002018-06-04 Joel Brobecker <brobecker@adacore.com>
10601
10602 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10603
8e817061
JB
106042018-06-01 Joel Brobecker <brobecker@adacore.com>
10605
10606 * gdb.ada/bp_fun_addr: New testcase.
10607
e86ca25f
TT
106082018-06-01 Tom Tromey <tom@tromey.com>
10609
10610 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10611 results.
10612 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10613 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10614 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10615 * gdb.base/maint.exp (maint_pass_if): Update.
10616
4b2dfa9d
MR
106172018-05-31 Maciej W. Rozycki <macro@mips.com>
10618
10619 * gdb.base/endian.exp: New test.
10620 * gdb.base/endian.c: New test source.
10621
45f25d6c
AB
106222018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10623
10624 PR gdb/23203
10625 * gdb.base/bt-selected-frame.c: New file.
10626 * gdb.base/bt-selected-frame.exp: New file.
10627 * lib/gdb.exp (get_current_frame_number): New function.
10628
d9f6d7f8
MR
106292018-05-24 Maciej W. Rozycki <macro@mips.com>
10630 Pedro Alves <palves@redhat.com>
10631
10632 * gdb.threads/tls-core.c: Include <stdlib.h>
10633 (thread_proc): Call `abort'.
10634 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10635 (tls_core_test): New procedure, bits factored out from ...
10636 (top level): ... here. Test both native cores and gcore cores.
10637
ff1cf532
TT
106382018-05-23 Tom Tromey <tom@tromey.com>
10639
10640 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10641
b98664d3
TT
106422018-05-23 Tom Tromey <tom@tromey.com>
10643
10644 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10645 symfile_complaints.
10646 (test_short_complaints): Likewise.
10647 (test_empty_complaints): Likewise.
10648 (test_initial_complaints): Update.
10649
4e9668d0
TT
106502018-05-23 Tom Tromey <tom@tromey.com>
10651
10652 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10653
43ba33c7
TT
106542018-05-23 Tom Tromey <tom@tromey.com>
10655
10656 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10657 (test_short_complaints): Update.
10658
035522c0
PA
106592018-05-22 Pedro Alves <palves@redhat.com>
10660
10661 * gdb.base/remote.exp: Only gdb_start after compiling the
10662 testcase. Issue "disconnect" before testing "set remote" command
10663 defaults. Issue clean_restart before running to main.
10664
cc0be08f
PA
106652018-05-22 Pedro Alves <palves@redhat.com>
10666
10667 * gdb.base/remote.exp: Adjust expected output of "show remote
10668 memory-write-packet-size". Add tests for "set remote
10669 memory-write-packet-size 0" and "set remote
10670 memory-write-packet-size fixed/limit".
10671
b1b60145
PA
106722018-05-22 Pedro Alves <palves@redhat.com>
10673
10674 PR gdb/22973
10675 * gdb.base/utf8-identifiers.c: New file.
10676 * gdb.base/utf8-identifiers.exp: New file.
10677
0ec848ad
PFC
106782018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10679
10680 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10681
2c3305f6
PFC
106822018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10683
10684 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10685
ce1e8424
TT
106862018-05-18 Tom Tromey <tom@tromey.com>
10687
10688 * gdb.base/ptype-offsets.exp: Update.
10689
ddfe970e
KS
106902018-05-17 Keith Seitz <keiths@redhat.com>
10691
10692 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10693 in expected breakpoint stop locations.
10694 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10695 move to proper scope to test variable values.
10696 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10697 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10698 New functions.
10699 (main): Call not_inline_func3.
10700 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10701 inline_func1, inline_func2, and inline_func3. Test that when each
10702 breakpoint is hit, GDB properly reports both the stop location
10703 and the backtrace. Repeat tests for temporary breakpoints.
10704
0726fcc6
MR
107052018-05-15 Maciej W. Rozycki <macro@mips.com>
10706
10707 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10708 rather then trying to access it in determining whether the PID
10709 of `gdbserver' could have been retrieved.
10710
8ee22052
AB
107112018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10712
10713 * gdb.arch/amd64-init-x87-values.S: New file.
10714 * gdb.arch/amd64-init-x87-values.exp: New file.
10715
7785df48
JK
107162018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10717
10718 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10719
56bcdbea
TT
107202018-05-04 Tom Tromey <tom@tromey.com>
10721
10722 PR python/22730:
10723 * gdb.python/python.exp: Test multi-line execute.
10724
a913fffb
TT
107252018-05-04 Tom Tromey <tom@tromey.com>
10726
10727 PR python/22731:
10728 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10729
7a2c85f2
TT
107302018-05-04 Tom Tromey <tom@tromey.com>
10731
10732 PR gdb/11750:
10733 * gdb.base/define.exp: Test defining a user command inside a user
10734 command.
10735 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10736
a3b60e45
JK
107372018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10738 Pedro Alves <palves@redhat.com>
10739
10740 PR breakpoints/19806 and support for PR external/20207.
10741 * gdb.base/watchpoint-unaligned.c: New file.
10742 * gdb.base/watchpoint-unaligned.exp: New file.
10743
45fe4a03
AB
107442018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10745
10746 * gdb.base/maint.exp: Make test names unique, use
10747 test_prefix_command_help to test 'help maint info', and remove
10748 repeated test of 'help maint'.
10749
9be2ae8f
TT
107502018-05-04 Tom Tromey <tom@tromey.com>
10751
10752 PR gdb/22619:
10753 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10754 behavior.
10755
11859c31
AB
107562018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10757
10758 * gdb.base/maint.exp: Process output from 'maint print registers'
10759 line at a time.
10760
089a9490
AB
107612018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10762
10763 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10764 timeout.
10765
9b0797e2
AB
107662018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10767
10768 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10769 filter pattern.
10770
f6ac5f3d
PA
107712018-05-02 Pedro Alves <palves@redhat.com>
10772
10773 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10774 to_log_command renames.
10775 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10776
77d3c63b
TT
107772018-05-02 Tom Tromey <tom@tromey.com>
10778
10779 * gdb.python/py-parameter.exp: Set test message.
10780
0489430a
TT
107812018-05-02 Tom Tromey <tom@tromey.com>
10782
10783 PR python/20084:
10784 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10785 PARAM_ZUINTEGER_UNLIMITED tests.
10786
1632f8ba
DR
107872018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10788
10789 PR rust/23124
10790 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10791 when casting.
10792
6d7bb824
TT
107932018-04-30 Tom Tromey <tom@tromey.com>
10794
10795 * gdb.python/py-type.exp: Check align attribute.
10796 * gdb.python/py-type.c: New "aligncheck" global.
10797
007e1530
TT
107982018-04-30 Tom Tromey <tom@tromey.com>
10799
10800 PR exp/17095:
10801 * gdb.dwarf2/dw2-align.exp: New file.
10802 * gdb.cp/align.exp: New file.
10803 * gdb.base/align.exp: New file.
10804 * lib/gdb.exp (gdb_int128_helper): New proc.
10805 (has_int128_c, has_int128_cxx): New caching procs.
10806
6873858b
TT
108072018-04-27 Tom Tromey <tom@tromey.com>
10808
10809 PR rust/22545:
10810 * gdb.rust/simple.exp: Add inclusive range tests.
10811
79188d8d
PA
108122018-04-26 Pedro Alves <palves@redhat.com>
10813
10814 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10815 ifunc breakpoint locations correctly of ifunc breakpoints set
10816 while the program resolves the ifunc.
10817
c7075ad5
PA
108182018-04-26 Pedro Alves <palves@redhat.com>
10819
10820 * gdb.base/gnu-ifunc-final.c: New file.
10821 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10822 * gdb.base/gnu-ifunc.exp (executable): Delete.
10823 (staticexecutable): Adjust.
10824 (lib_opts, exec_opts): Delete.
10825 (make_binsuffix, build, set-break): New procedures.
10826 (misc_tests): New, with tests factored out from the top level.
10827 (top level): Test different combinations of ifunc resolver name,
10828 resolver with and with debug info, and ifunc target with and
10829 without debug info. Wrap static tests with with_target_prefix.
10830
8388016d
PA
108312018-04-26 Pedro Alves <palves@redhat.com>
10832
10833 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10834 return type" warnings.
10835
249b5733
PA
108362018-04-25 Pedro Alves <palves@redhat.com>
10837
10838 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10839 killed".
10840 * gdb.base/kill-after-signal.exp: Likewise.
10841 * gdb.threads/kill.exp: Likewise.
10842
f67c0c91
SDJ
108432018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10844 Sergio Durigan Junior <sergiodj@redhat.com>
10845 Pedro Alves <palves@redhat.com>
10846
10847 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10848 regexps to expect for '[Inferior ... detached]' as well.
10849 * gdb.base/attach.exp: Likewise.
10850 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10851 "gdb_continue_to_end".
10852 (test_catch_syscall_with_wrong_args): Likewise.
10853 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10854 ']'. Don't set 'verbose' on.
10855 * gdb.base/foll-vfork.exp: Likewise.
10856 * gdb.base/fork-print-inferior-events.c: New file.
10857 * gdb.base/fork-print-inferior-events.exp: New file.
10858 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10859 '[Inferior ... has been killed]' message.
10860 * gdb.base/kill-after-signal.exp: Likewise.
10861 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10862 detach message.
10863 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10864 message.
10865 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10866 regexps to expect for '[Inferior ... detached]' as well.
10867 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10868
0a8ddac4
SM
108692018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10870
10871 PR gdb/23104
10872 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10873
701adfb0
PA
108742018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10875
10876 PR gdb/23095
10877 * gdb.base/break-probes.exp: Pass shlib_load to
10878 prepare_for_testing. Set normal_bp to r_debug_state if target is
10879 bsd.
10880
d27d16bf
RB
108812018-04-19 Richard Bunt <richard.bunt@arm.com>
10882
10883 * gdb.threads/multiple-successive-infcall.c: New test.
10884 * gdb.threads/multiple-successive-infcall.exp: New file.
10885
a037790e
TT
108862018-04-17 Tom Tromey <tom@tromey.com>
10887
10888 * gdb.rust/simple.rs (Union): New type.
10889 (main): New local "u".
10890 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10891
e3a91079
AA
108922018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10893
10894 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10895 number information in output of "whereis" command.
10896 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10897
b744723f
AA
108982018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10899
10900 * gdb.ada/info_types.exp: Adjust expected output to the line
10901 numbers now printed by "info var/func/type".
10902 * gdb.base/completion.exp: Likewise.
10903 * gdb.base/included.exp: Likewise.
10904 * gdb.cp/cp-relocate.exp: Likewise.
10905 * gdb.cp/cplusfuncs.exp: Likewise.
10906 * gdb.cp/namespace.exp: Likewise.
10907 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10908
4a4495d6
MM
109092018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10910
10911 * gdb.btrace/cpu.exp: New.
10912
1d509aa6
MM
109132018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10914
10915 * gdb.base/step-indirect-call-thunk.exp: New.
10916 * gdb.base/step-indirect-call-thunk.c: New.
10917 * gdb.reverse/step-indirect-call-thunk.exp: New.
10918 * gdb.reverse/step-indirect-call-thunk.c: New.
10919
6295b6da
SM
109202018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10921
10922 * gdb.base/pie-fork.c: New file.
10923 * gdb.base/pie-fork.exp: New file.
10924
50146e70
TT
109252018-04-11 Tom Tromey <tom@tromey.com>
10926
10927 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10928
f50d8a2e
PA
109292018-04-10 Pedro Alves <palves@redhat.com>
10930
10931 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10932 exits. Instead loop running forever.
10933 (fork_parent): Run forever too.
10934
a0be7a36
SM
109352018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10936
10937 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10938 mi_continue_to_line.
10939 * gdb.mi/mi-stack.c (callee4): Add comment.
10940
9b73db36
SM
109412018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10942
10943 * gdb.mi/mi-stack.exp: Fix indentation.
10944
c912f608
SM
109452018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10946
10947 PR gdb/22979
10948 * gdb.arch/amd64-osabi.exp: New file.
10949
26540402
SM
109502018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10951
10952 PR gdb/22980
10953 * gdb.base/osabi.exp: New file.
10954
121ad66c 109552018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10956
10957 * gdb.cp/static-typedef-print.exp: New file.
10958 * gdb.cp/static-typedef-print.cc: New file.
10959
3fcded8f
JB
109602018-03-27 Joel Brobecker <brobecker@adacore.com>
10961
10962 * gdb.ada/varsize_limit: New testcase.
10963
59cc4834
JB
109642018-03-27 Joel Brobecker <brobecker@adacore.com>
10965
10966 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10967
10968 * gdb.ada/notcplusplus: New testcase.
10969
10970 * gdb.base/c-linkage-name.c: New file.
10971 * gdb.base/c-linkage-name.exp: New testcase.
10972
4ca59a9f
TT
109732018-03-26 Tom Tromey <tom@tromey.com>
10974
10975 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10976 * gdb.python/py-framefilter.py (name_error): New global.
10977 (ErrorInName.function): Use name_error.
10978
978d6c75
TT
109792018-03-26 Tom Tromey <tom@tromey.com>
10980
10981 PR backtrace/15582:
10982 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10983
b7fee5a3
KS
109842018-03-23 Keith Seitz <keiths@redhat.com>
10985
10986 PR c++/22968
10987 * gdb.cp/subtypes.exp: New file.
10988 * gdb.cp/subtypes.h: New file.
10989 * gdb.cp/subtypes.cc: New file.
10990 * gdb.cp/subtypes-2.cc: New file.
10991
376be529
AB
109922018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10993
10994 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10995 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10996 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10997 -nostartfiles when compiling the test. Confirm that all registers
10998 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10999
066cfa98
AB
110002018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
11001
11002 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
11003 option, syntax was wrong anyway.
11004 * gdb.arch/arm-disp-step.exp: Likewise.
11005 * gdb.arch/sparc64-regs.exp: Likewise.
11006 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
11007 option, syntax was wrong anyway, switch to use
11008 prepare_for_testing.
11009 * gdb.arch/i386-disp-step.exp: Likewise.
11010
079670b9
AA
110112018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
11012
11013 * gdb.ada/exec_changed.exp: Replace "target_info exists
11014 use_gdb_stub" by "use_gdb_stub".
11015 * gdb.ada/start.exp: Likewise.
11016 * gdb.base/async-shell.exp: Likewise.
11017 * gdb.base/attach-pie-misread.exp: Likewise.
11018 * gdb.base/attach-wait-input.exp: Likewise.
11019 * gdb.base/break-entry.exp: Likewise.
11020 * gdb.base/break-interp.exp: Likewise.
11021 * gdb.base/dprintf-detach.exp: Likewise.
11022 * gdb.base/nostdlib.exp: Likewise.
11023 * gdb.base/solib-nodir.exp: Likewise.
11024 * gdb.base/statistics.exp: Likewise.
11025 * gdb.base/testenv.exp: Likewise.
11026 * gdb.mi/mi-exec-run.exp: Likewise.
11027 * gdb.mi/mi-start.exp: Likewise.
11028 * gdb.multi/dummy-frame-restore.exp: Likewise.
11029 * gdb.multi/multi-arch-exec.exp: Likewise.
11030 * gdb.multi/multi-arch.exp: Likewise.
11031 * gdb.multi/tids.exp: Likewise.
11032 * gdb.multi/watchpoint-multi.exp: Likewise.
11033 * gdb.python/py-events.exp: Likewise.
11034 * gdb.threads/attach-into-signal.exp: Likewise.
11035 * gdb.threads/attach-stopped.exp: Likewise.
11036 * gdb.threads/threadapply.exp: Likewise.
11037 * lib/selftest-support.exp: Likewise.
11038
26d6cec4
AA
110392018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
11040
11041 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
11042
4ee89e90
SR
110432018-03-20 Stephen Roberts <stephen.roberts@arm.com>
11044
11045 * gdb.perf/template-breakpoints.cc: New file.
11046 * gdb.perf/template-breakpoints.exp: New file.
11047 * gdb.perf/template-breakpoints.py: New file.
11048
92630041
TT
110492018-03-19 Tom Tromey <tom@tromey.com>
11050
11051 * gdb.rust/simple.rs (main): Add local variables field1, field2,
11052 y0.
11053 * gdb.rust/simple.exp: Test bare identifier form of struct
11054 initializer.
11055
76727919
TT
110562018-03-19 Tom Tromey <tom@tromey.com>
11057
11058 * gdb.gdb/observer.exp: Remove.
11059
194ed413
AA
110602018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11061
11062 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
11063 "qualified" option when setting breakpoints.
11064 * gdb.trace/backtrace.exp: Likewise.
11065 * gdb.trace/circ.exp: Likewise.
11066 * gdb.trace/collection.exp: Likewise.
11067 * gdb.trace/disconnected-tracing.exp: Likewise.
11068 * gdb.trace/ftrace-lock.exp: Likewise.
11069 * gdb.trace/ftrace.exp: Likewise.
11070 * gdb.trace/infotrace.exp: Likewise.
11071 * gdb.trace/packetlen.exp: Likewise.
11072 * gdb.trace/passc-dyn.exp: Likewise.
11073 * gdb.trace/qtro.exp: Likewise.
11074 * gdb.trace/read-memory.exp: Likewise.
11075 * gdb.trace/report.exp: Likewise.
11076 * gdb.trace/signal.exp: Likewise.
11077 * gdb.trace/status-stop.exp: Likewise.
11078 * gdb.trace/strace.exp: Likewise.
11079 * gdb.trace/tfind.exp: Likewise.
11080 * gdb.trace/trace-break.exp: Likewise.
11081 * gdb.trace/trace-condition.exp: Likewise.
11082 * gdb.trace/trace-mt.exp: Likewise.
11083 * gdb.trace/tstatus.exp: Likewise.
11084 * gdb.trace/tsv.exp: Likewise.
11085 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11086 * gdb.trace/unavailable.exp: Likewise.
11087 * gdb.trace/while-dyn.exp: Likewise.
11088
8b067d2c
AA
110892018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11090
11091 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
11092 that libinproctrace is copied to the target.
11093
3ae9ce5d
TT
110942018-03-14 Tom Tromey <tom@tromey.com>
11095
11096 PR cli/14977:
11097 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
11098 a null pointer.
11099 * gdb.base/wchar.exp: Likewise.
11100
b8c2339b
TT
111012018-03-14 Tom Tromey <tom@tromey.com>
11102
11103 PR cli/19918:
11104 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
11105 flag.
11106
4872dc46
SM
111072018-03-08 Simon Marchi <simon.marchi@ericsson.com>
11108
11109 PR gdb/22841
11110 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
11111 "target" to remote_exec.
11112
e4fe3756
SM
111132018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
11114
11115 PR gdb/22841
11116 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
11117 ${board}_upload): Remove.
11118
e95a97d4
AA
111192018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
11120
11121 * gdb.cp/watch-cp.cc: New test.
11122 * gdb.cp/watch-cp.exp: New file.
11123
dbbb1059
AB
111242018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
11125
11126 * gdb.base/infcall-nested-structs.exp: New file.
11127 * gdb.base/infcall-nested-structs.c: New file.
11128 * gdb.base/float.exp: Add riscv support.
11129
ecc054c0
TP
111302018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
11131
11132 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
11133 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
11134
25e3c82c
SDJ
111352018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
11136
11137 * gdb.server/abspath.exp: New file.
11138 * lib/gdb.exp (with_cwd): New procedure.
11139
3083294d
SM
111402018-02-28 Simon Marchi <simon.marchi@ericsson.com>
11141
11142 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
11143 use it.
11144 (gdb_is_target_remote_prompt): New proc.
11145 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
11146 (gdb_is_target_native): Pass prompt parameter to
11147 gdb_is_target_1.
11148
3275ef47
SM
111492018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
11150
11151 * gdb.base/load-command.c: New file.
11152 * gdb.base/load-command.exp: New file.
11153 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
11154 (gdb_is_target_1): ...this, and generalize for other targets
11155 than just remote.
11156 (gdb_is_target_remote): Use gdb_is_target_1.
11157 (gdb_is_target_native): use gdb_is_target_1.
11158
6893c19a
TT
111592018-02-26 Tom Tromey <tom@tromey.com>
11160
11161 PR python/16497:
11162 * gdb.python/py-framefilter.exp: Update test.
11163
2ddeaf8a
TT
111642018-02-26 Tom Tromey <tom@tromey.com>
11165
11166 * gdb.dwarf2/variant.c: New file.
11167 * gdb.dwarf2/variant.exp: New file.
11168
c9317f21
TT
111692018-02-26 Tom Tromey <tom@tromey.com>
11170
11171 * gdb.rust/simple.exp: Accept more possible results in enum test.
11172
6f6d0c26
SM
111732018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
11174
11175 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
11176 parentheses.
11177
11b03145
MR
111782018-02-23 Maciej W. Rozycki <macro@mips.com>
11179
11180 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
11181 name of a variable: $actual_linejj -> $actual_line.
11182
54a27fe5
JB
111832018-02-21 John Baldwin <jhb@FreeBSD.org>
11184
11185 * gdb.arch/amd64-i386-address.exp: Fix a typo.
11186
de65820c
MM
111872018-02-20 Markus Metzger <markus.t.metzger@intel.com>
11188
11189 * gdb.btrace/buffer-size.exp: Do not force BTS.
11190
980548fd
PA
111912018-02-14 Pedro Alves <palves@redhat.com>
11192
11193 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
11194 getting a "Quit".
11195
c4e12631
MM
111962018-02-09 Markus Metzger <markus.t.metzger@intel.com>
11197
11198 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
11199 Fix test name.
11200
c2e0e465
SM
112012018-02-07 Simon Marchi <simon.marchi@ericsson.com>
11202
11203 * gdb.cp/m-static.exp: Check type of optimized out static
11204 member.
11205
f7216783
AB
112062018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
11207
11208 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
11209 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
11210
0625771b
LS
112112018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
11212 Leszek Swirski <leszeks@google.com>
11213
11214 * gdb.python/py-prettyprint.c
11215 (struct to_string_returns_value_inner,
11216 struct to_string_returns_value_wrapper): New.
11217 (main): Add tsrvw variable.
11218 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
11219 ToStringReturnsValueWrapper): New classes.
11220 (register_pretty_printers): Register new pretty-printers.
11221 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
11222 recursive pretty printer.
11223 * gdb.python/py-mi.exp: Likewise.
11224
59498c30
LS
112252018-02-01 Leszek Swirski <leszeks@google.com>
11226
11227 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
11228 functions with the same name as an include file are parsed
11229 correctly.
11230
d4d38844
YQ
112312018-02-01 Yao Qi <yao.qi@linaro.org>
11232
11233 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
11234 "\[^\r\n\]*".
11235
07e5f5cf
NP
112362018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
11237
11238 * gdb.arch/powerpc-prologue-frame.s: New file.
11239 * gdb.arch/powerpc-prologue-frame.c: Likewise.
11240 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
11241
929b5ad4
JB
112422018-01-31 Joel Brobecker <brobecker@adacore.com>
11243
11244 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
11245
e671cd59
PA
112462018-01-30 Pedro Alves <palves@redhat.com>
11247
11248 PR gdb/13211
11249 * gdb.base/interrupt-daemon.c: New.
11250 * gdb.base/interrupt-daemon.exp: New.
11251 * gdb.multi/multi-term-settings.c: New.
11252 * gdb.multi/multi-term-settings.exp: New.
11253
fc413dc4
JB
112542018-01-30 Joel Brobecker <brobecker@adacore.com>
11255
11256 * gdb.base/break.exp: Save the location where the breakpoint
11257 on break.c:47 was actually inserted when debugging the version
11258 compiled at -O2 and use it in the expected output of the "info
11259 break" test performed soon after.
11260
5c319bb2
PA
112612018-01-22 Pedro Alves <palves@redhat.com>
11262 Sergio Durigan Junior <sergiodj@redhat.com>
11263
11264 * gdb.base/whatis.exp: Add tests for 'set print object on' +
11265 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
11266
a9e40818
JB
112672018-01-22 Joel Brobecker <brobecker@adacore.com>
11268
11269 * gdb.base/break-include.c, gdb.base/break-include.inc,
11270 gdb.base/break-include.exp: New files.
11271 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
11272 line number now being the actual line number where the breakpoint
11273 was inserted.
11274 * gdb.mi/mi-break.exp: Likewise.
11275 * gdb.mi/mi-reverse.exp: Likewise.
11276 * gdb.mi/mi-simplerun.exp: Ditto.
11277
e707fc44
AB
112782018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11279
11280 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
11281 varobj.
11282 * gdb.mi/mi-var-create-rtti.exp: Likewise.
11283
ae451627
AB
112842018-01-21 Don Breazeal <donb@codesourcery.com>
11285 Andrew Burgess <andrew.burgess@embecosm.com>
11286
11287 * gdb.mi/basics.c: Add new global.
11288 * gdb.mi/mi-frame-regs.exp: New file.
11289 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
11290 case.
11291
b1b189e0
AB
112922018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11293
11294 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11295 non-parameter, and on an unknown symbol.
11296
fcfcc376
TT
112972018-01-19 Tom Tromey <tom@tromey.com>
11298
11299 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11300 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11301
634c1c31
AA
113022018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11303
11304 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11305 setrlimit and chdir to int.
11306
d6ad07fd
AA
113072018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11308
11309 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11310 function.
11311 (my_tend): Likewise.
11312 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11313 rationale of avoiding FP- and vector instructions.
11314
adf8243b
RK
113152018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11316
11317 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11318 "info reg" with "\[ \t\]*".
11319 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11320 "\[ \t\]+".
11321 * gdb.arch/s390-multiarch.exp: Ditto.
11322 * gdb.base/pc-fp.exp: Ditto.
11323 * gdb.reverse/i386-precsave.exp: Ditto.
11324 * gdb.reverse/i386-reverse.exp: Ditto.
11325 * gdb.reverse/i387-env-reverse.exp: Ditto.
11326 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11327
dcc06925
AA
113282018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11329
11330 * lib/gdb.exp (gdb_compile): Re-enable use of
11331 universal_compile_options for languages other than Rust.
11332
25d4fd80
AA
113332018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11334
11335 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11336
ee7f689e 113372018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
11338
11339 PR gdb/16577
11340 * gdb.base/solib-vanish.exp: New.
11341 * gdb.base/solib-vanish-main.c: New.
11342 * gdb.base/solib-vanish-lib1.c: New.
11343 * gdb.base/solib-vanish-lib2.c: New.
11344
d8447b6b
YQ
113452018-01-17 Yao Qi <yao.qi@linaro.org>
11346
11347 * gdb.compile/compile.exp: Match the address printed for
11348 frame in the output of command "bt".
11349
86d6a90c
TT
113502018-01-15 Tom Tromey <tom@tromey.com>
11351
11352 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11353 compute sp_reg.
11354
cbcdb1aa
AB
113552018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11356
11357 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11358 to prepare.
11359 (prepare): Return 0 on error, 1 on success.
11360
eea61984
PA
113612018-01-12 Pedro Alves <palves@redhat.com>
11362
11363 * gdb.base/continue-after-aborted-step-over.c: New.
11364 * gdb.base/continue-after-aborted-step-over.exp: New.
11365
6181e9c2
SM
113662018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11367
11368 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11369 options when not creating an executable.
11370
3cada740
PA
113712018-01-11 Pedro Alves <palves@redhat.com>
11372
11373 PR remote/22597
11374 * gdb.server/stop-reply-no-thread.c: New file.
11375 * gdb.server/stop-reply-no-thread.exp: New file.
11376
c63d3e8d
PA
113772018-01-10 Pedro Alves <palves@redhat.com>
11378
11379 PR gdb/22670
11380 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11381 functions too. Test setting breakpoints and printing C functions
11382 with no debug info too.
11383 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11384
d4c2a405
PA
113852018-01-10 Pedro Alves <palves@redhat.com>
11386
11387 PR gdb/22670
11388 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11389 a fail.
11390
8825213e
PA
113912018-01-10 Pedro Alves <palves@redhat.com>
11392
11393 PR gdb/22670
11394 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11395
605fd3c6
YQ
113962018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11397
11398 * gdb.server/unittest.exp: Match the output in non-development
11399 mode.
11400
1e5ded6c
YQ
114012018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11402
11403 * gdb.gdb/unittest.exp: Match output in non-development mode.
11404
30066b0b
JB
114052018-01-08 Joel Brobecker <brobecker@adacore.com>
11406
11407 * gdb.ada/access_tagged_param.exp: Relax expected output
11408 for value of "ObjL" in "continue" to pck.inspect breakpoint
11409 test.
11410
04bafb1e
XR
114112018-01-08 Joel Brobecker <brobecker@adacore.com>
11412
9f86398b
JB
11413 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11414 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 11415
e379cee6
PA
114162018-01-05 Pedro Alves <palves@redhat.com>
11417
11418 PR gdb/18653
11419 * gdb.base/libsegfault.exp: New.
11420
de63c46b
PA
114212018-01-05 Joel Brobecker <brobecker@adacore.com>
11422
11423 PR gdb/22670
11424 * gdb.ada/access_tagged_param.exp: New file.
11425 * gdb.ada/access_tagged_param/foo.adb: New file.
11426
f98fc17b
PA
114272018-01-05 Pedro Alves <palves@redhat.com>
11428
11429 PR gdb/22670
11430 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11431 exercise lower case too, and to exercise both full matching and
11432 wild matching.
11433
342f8240
JB
114342018-01-05 Joel Brobecker <brobecker@adacore.com>
11435
11436 * gdb.ada/rename_subscript_param: New testcase.
11437
7150d33c
JG
114382018-01-05 Jerome Guitton <guitton@adacore.com>
11439
11440 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11441
cc0e770c
JB
114422018-01-05 Joel Brobecker <brobecker@adacore.com>
11443
11444 * gdb.ada/convvar_comp: New testcase.
11445
672a41aa 114462018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
11447
11448 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11449 (My_Table): New global variable.
11450 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11451
7365ec2f
JB
114522018-01-04 Joel Brobecker <brobecker@adacore.com>
11453
11454 PR gdb/22670
11455 * gdb.ada/maint_with_ada: New testcase.
11456
289483b6
JB
114572018-01-04 Joel Brobecker <brobecker@adacore.com>
11458
11459 PR gdb/22670
11460 * gdb.ada/bp_c_mixed_case: New testcase.
11461
344420da
JB
114622018-01-04 Joel Brobecker <brobecker@adacore.com>
11463
11464 PR gdb/22670
11465 * gdb.ada/complete.exp: Add "complete break ada" test.
11466
66fc87a0
JB
114672018-01-04 Joel Brobecker <brobecker@adacore.com>
11468
11469 PR gdb/22670
11470 * gdb.ada/info_addr_mixed_case: New testcase.
11471
9f757bf7
XR
114722018-01-03 Xavier Roirand <roirand@adacore.com>
11473
11474 * gdb.ada/excep_handle.exp: New testcase.
11475 * gdb.ada/excep_handle/foo.adb: New file.
11476 * gdb.ada/excep_handle/pck.ads: New file.
11477
bd570f80
JB
114782018-01-03 Joel Brobecker <brobecker@adacore.com>
11479
11480 * gdb.base/step-line.c: Add extra empty line in copyright header.
11481 * gdb.base/step-line.inp: Likewise.
11482
9fe561ab
JB
114832018-01-02 Joel Brobecker <brobecker@adacore.com>
11484
11485 * gdb.ada/dyn_stride.exp: Add slice test.
11486
a405673c
JB
114872018-01-02 Joel Brobecker <brobecker@adacore.com>
11488
11489 * gdb.ada/dyn_stride: New testcase.
11490
cef0f868
SH
114912017-12-27 Stafford Horne <shorne@gmail.com>
11492
11493 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11494 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11495
b67d92b0
SH
114962017-12-27 Stafford Horne <shorne@gmail.com>
11497
11498 * gdb.base/reggroups.c: New file.
11499 * gdb.base/reggroups.exp: New file.
11500
eccab96d
JB
115012017-12-18 Joel Brobecker <brobecker@adacore.com>
11502
11503 * gdb.dwarf2/ada-valprint-error.c: New file.
11504 * gdb.dwarf2/ada-valprint-error.exp: New file.
11505
0e2da9f0
JB
115062017-12-18 Joel Brobecker <brobecker@adacore.com>
11507
11508 * gdb.ada/assign_arr: New testcase.
11509
cb923fcc
XR
115102017-12-18 Xavier Roirand <roirand@adacore.com>
11511
11512 * gdb.ada/funcall_ptr: New testcase.
11513
7c161838
SDJ
115142017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11515
11516 PR cli/16224
11517 * gdb.base/ptype-offsets.cc: New file.
11518 * gdb.base/ptype-offsets.exp: New file.
11519
1af17fd9
YQ
115202017-12-15 Yao Qi <yao.qi@linaro.org>
11521
11522 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11523 if XML is disabled.
11524
828d5846
XR
115252017-12-15 Xavier Roirand <roirand@adacore.com>
11526
11527 * gdb.ada/same_component_name: New testcase.
11528
79e8fcaa
JB
115292017-12-14 Joel Brobecker <brobecker@adacore.com>
11530
11531 * gdb.ada/str_binop_equal: New testcase.
11532
e05fa6f9
JB
115332017-12-14 Joel Brobecker <brobecker@adacore.com>
11534
11535 * gdb.ada/task_switch_in_core: New testcase.
11536
b89641ba
SM
115372017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11538
11539 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11540 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11541 call test_bkpt_qualified.
11542 (test_bkpt_qualified): New proc.
11543
6892d2e4
PA
115442017-12-13 Pedro Alves <palves@redhat.com>
11545
11546 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11547 Tighten regexp by matching with an anchor.
11548
a22ecf70
PA
115492017-12-13 Pedro Alves <palves@redhat.com>
11550
11551 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11552 ("expression with namespace"): New set of tests.
11553 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11554 (Nested::Test_NS::qux): New.
11555 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11556 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11557
9937536c
JB
115582017-12-13 Joel Brobecker <brobecker@adacore.com>
11559
11560 * gdb.base/server-del-break.c: New file.
11561 * gdb.base/server-del-break.exp: New file.
11562
fe49c6f5
SH
115632017-12-12 Stafford Horne <shorne@gmail.com>
11564
11565 * gdb.xml/tdesc-regs.exp: Add or1k support.
11566
c3d18620
SH
115672017-12-12 Stafford Horne <shorne@gmail.com>
11568
11569 * gdb.base/bp-permanent.c: Define nop of or1k.
11570
c5f9cfc8
JB
115712017-12-11 Joel Brobecker <brobecker@adacore.com>
11572
11573 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11574 output with components being reordered.
11575
a9c135fc
JB
115762017-12-11 Joel Brobecker <brobecker@adacore.com>
11577
11578 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11579 output with components being reordered.
11580
927aa2e7
JK
115812017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11582 Pedro Alves <palves@redhat.com>
11583
11584 * gdb.base/maint.exp (check for .gdb_index): Check also for
11585 .debug_names.
11586 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11587 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11588 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11589 (.gdb_index used after symbol reloading): Support also .debug_names.
11590 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11591
f17d9474
YQ
115922017-12-08 Yao Qi <yao.qi@linaro.org>
11593
11594 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11595 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11596
a0de8c21
YQ
115972017-12-08 Yao Qi <yao.qi@linaro.org>
11598
11599 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11600 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11601
a738ea1d
YQ
116022017-12-08 Yao Qi <yao.qi@linaro.org>
11603
11604 * gdb.arch/aarch64-tagged-pointer.c: New file.
11605 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11606
1cd9a73b
SDJ
116072017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11608
11609 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11610 "int".
11611
fa6eb693
KS
116122017-12-07 Keith Seitz <keiths@redhat.com>
11613
11614 PR breakpoints/22569
11615 * gdb.linespec/ls-errs.exp: Change expected result of "break
11616 -source this file has spaces.c -line 3".
11617 Check that an explicit source file followed by whitespace is
11618 identified as an invalid explicit location.
11619
883fd55a
KS
116202017-12-07 Keith Seitz <keiths@redhat.com>
11621
11622 * gdb.cp/nested-types.cc: New file.
11623 * gdb.cp/nested-types.exp: New file.
11624 * lib/cp-support.exp: Load data-structures.exp library.
11625 (debug_cp_test_ptype_class): New global.
11626 (cp_ptype_class_verbose, next_line): New procedures.
11627 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11628 Add and document new return value.
11629 Switch the list of lines to a queue.
11630 Add support for new `type' key for nested type definitions.
11631 Add debugging/troubleshooting messages.
11632 * lib/data-structures.exp: New file.
11633
ec72db3e
SM
116342017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11635
11636 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11637 with proc_with_prefix, don't use with_test_prefix.
11638
99598d71
TT
116392017-12-07 Tom Tromey <tom@tromey.com>
11640
11641 * gdb.base/break.exp: Add test for empty "commands".
11642
a8806230
YQ
116432017-12-07 Yao Qi <yao.qi@linaro.org>
11644
11645 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11646 malloc and catch syscall.
11647
824cc835
PM
116482017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11649
e79be6e5 11650 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
11651 tests for explicit locations.
11652
7cc244de
PA
116532017-12-06 Pedro Alves <palves@redhat.com>
11654
11655 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11656 force-disabling XML descriptions.
11657
50a1fdd5
PA
116582017-12-04 Pedro Alves <palves@redhat.com>
11659
11660 PR gdb/22499
11661 * gdb.arch/amd64-disp-step-avx.S: New file.
11662 * gdb.arch/amd64-disp-step-avx.exp: New file.
11663
f0fb2488
PA
116642017-12-03 Pedro Alves <palves@redhat.com>
11665
11666 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11667 and <string.h>.
11668 (parent_function): Print distinct messages when waitpid fails, or
11669 the child exits with a signal, or the child exits for an unhandled
11670 reason.
11671 * gdb.threads/process-dies-while-detaching.exp
11672 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11673 it. Wait for both inferior output and GDB's prompt. Use an
11674 indirect spawn id list.
11675 (do_detach): New parameter 'child_exit'. Use it to compute
11676 expected inferior output.
11677 (test_detach, test_detach_watch, test_detach_killed_outside):
11678 Adjust to pass down the expected child exit kind.
11679
97cbe998
SDJ
116802017-12-01 Joel Brobecker <brobecker@adacore.com>
11681 Sergio Durigan Junior <sergiodj@redhat.com>
11682 Pedro Alves <palves@redhat.com>
11683
11684 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11685
40fc416f
SDJ
116862017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11687
11688 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11689 to 'symbol-file' and 'add-symbol-file' can be
11690 position-independent.
11691
1cc75e92
YQ
116922017-12-01 Yao Qi <yao.qi@linaro.org>
11693
11694 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11695 the URL in copyright header.
11696 * gdb.arch/aarch64-fp.exp: Likewise.
11697 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11698 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11699 * gdb.base/expand-psymtabs.exp: Likewise.
11700 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11701 * gdb.fortran/common-block.exp: Likewise.
11702 * gdb.fortran/common-block.f90: Likewise.
11703 * gdb.fortran/logical.exp: Likewise.
11704 * gdb.fortran/vla-datatypes.f90: Likewise.
11705 * gdb.fortran/vla-sub.f90: Likewise.
11706
875fb7a7
JB
117072017-11-30 Joel Brobecker <brobecker@adacore.com>
11708
11709 * gdb.ada/repeat_dyn: New testcase.
11710
6f14765f
UW
117112017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11712
11713 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11714 Update for changed thread numbering.
11715 * gdb.cell/bt.exp: Update for changed GDB output.
11716
f1af7b94
SM
117172017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11718
11719 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11720 setting isremote by hand.
11721 * boards/dwarf4-gdb-index.exp: Likewise.
11722 * boards/fission.exp: Likewise.
11723 * boards/stabs.exp: Likewise.
11724
e3919f3e
PA
117252017-11-30 Pedro Alves <palves@redhat.com>
11726
11727 * gdb.linespec/cpls-ops.exp
11728 (check_explicit_skips_function_argument): Extract the underlying
11729 type of size_t instead of hardcoding it.
11730
bd69330d
PA
117312017-11-29 Pedro Alves <palves@redhat.com>
11732
11733 PR c++/19436
11734 * gdb.linespec/cpls-abi-tag.cc: New file.
11735 * gdb.linespec/cpls-abi-tag.exp: New file.
11736
a20714ff
PA
117372017-11-29 Pedro Alves <palves@redhat.com>
11738
11739 * gdb.base/langs.exp: Use -qualified.
11740 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11741 it.
11742 * gdb.cp/namespace.exp: Use -qualified.
11743 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11744 (overload-3, template-overload, template-ret-type, const-overload)
11745 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11746 procedures.
11747 (test_driver): Call them.
11748 * gdb.cp/save-bp-qualified.cc: New.
11749 * gdb.cp/save-bp-qualified.exp: New.
11750 * gdb.linespec/explicit.exp: Test -qualified.
11751 * lib/completion-support.exp (completion::explicit_opts_list): Add
11752 "-qualified".
11753 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11754
f6f1d339
PM
117552017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11756
11757 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11758
02ca603a
TT
117592017-11-29 Tom Tromey <tom@tromey.com>
11760
11761 * gdb.base/relocate.exp: Update invalid argument test.
11762 Add new tests for invalid arguments.
11763
ed6c0bfb
TP
117642017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11765
11766 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11767 Return 0 as a long.
11768 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11769
f106e10e
TP
117702017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11771
11772 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11773 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11774 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11775 func ().
11776 * gdb.cp/shadow.cc (B.func): Return 0.
11777
10329bb2
JB
117782017-11-27 Joel Brobecker <brobecker@adacore.com>
11779
11780 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11781 expected output in gdb_expect call to allow the exception
11782 message to be present as well. Fix syntax confusion to avoid
11783 TCL thinking that exception_name is an array.
11784
617cd4bc
UW
117852017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11786
11787 * gdb.arch/spu-info.c: Include <unistd.h>.
11788 (do_signal_test): Fix broken calls to write.
11789 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11790 Fix checks for empty mailboxes. Update signal tests for corrected
11791 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11792 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11793 * gdb.cell/arch.exp: Use standard_output_file.
11794 * gdb.cell/break.exp: Likewise.
11795 * gdb.cell/bt.exp: Likewise.
11796 * gdb.cell/core.exp: Likewise.
11797 * gdb.cell/dwarfaddr.exp: Likewise.
11798 * gdb.cell/ea-cache.exp: Likewise.
11799 * gdb.cell/ea-standalone.exp: Likewise.
11800 * gdb.cell/f-regs.exp: Likewise.
11801 * gdb.cell/fork.exp: Likewise.
11802 * gdb.cell/gcore.exp: Likewise.
11803 * gdb.cell/mem-access.exp: Likewise.
11804 * gdb.cell/ptype.exp: Likewise.
11805 * gdb.cell/registers.exp: Likewise.
11806 * gdb.cell/sizeof.exp: Likewise.
11807 * gdb.cell/solib-symbol.exp: Likewise.
11808 * gdb.cell/solib.exp: Likewise.
617cd4bc 11809
a81aaca0
PA
118102017-11-25 Pedro Alves <palves@redhat.com>
11811
11812 * gdb.base/complete-empty.exp: New file.
11813 * gdb.base/completion.exp: Adjust.
11814
6a3c6ee4
PA
118152017-11-25 Pedro Alves <palves@redhat.com>
11816
11817 * gdb.linespec/cpls-ops.cc: New file.
11818 * gdb.linespec/cpls-ops.exp: New file.
11819 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11820 factored out from ...
11821 (test_complete_prefix_range): ... this.
11822
8955eb2d
PA
118232017-11-24 Pedro Alves <palves@redhat.com>
11824
11825 * gdb.linespec/cpcompletion.exp: New file.
11826 * gdb.linespec/cpls-hyphen.cc: New file.
11827 * gdb.linespec/cpls.cc: New file.
11828 * gdb.linespec/cpls2.cc: New file.
11829 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11830 test to use test_gdb_complete_unique. Add label completion,
11831 keyword completion and explicit location completion tests.
11832 * lib/completion-support.exp: New file.
11833
e547c119
JB
118342017-11-24 Joel Brobecker <brobecker@adacore.com>
11835
11836 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11837 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11838 when hitting an exception catchpoint.
11839
7c3c1aa8
YQ
118402017-11-22 Yao Qi <yao.qi@linaro.org>
11841
11842 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11843
41bd68f5
SM
118442017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11845
11846 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11847 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11848 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11849
1daad298
YQ
118502017-11-22 Yao Qi <yao.qi@linaro.org>
11851
11852 * gdb.base/info-os.exp: Pass pthreads.
11853 * gdb.multi/multi-attach.exp: Likewise.
11854
88465e87
YQ
118552017-11-22 Yao Qi <yao.qi@linaro.org>
11856
11857 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11858 compiler.
11859
dc196b23
YQ
118602017-11-22 Yao Qi <yao.qi@linaro.org>
11861
11862 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11863 * gdb.base/break-interp.exp: Likewise.
11864 * gdb.base/jit-attach-pie.exp: Likewise.
11865
2400729e
UW
118662017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11867
11868 * gdb.base/float128.c (large128): New variable.
11869 * gdb.base/float128.exp: Add test to print largest __float128 value.
11870
7a26362d
UW
118712017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11872
11873 * gdb.arch/vsx-regs.exp: Update register content checks.
11874
ed0f4273
UW
118752017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11876
11877 * gdb.arch/ppc-longdouble.exp: New file.
11878 * gdb.arch/ppc-longdouble.c: Likewise.
11879
a25d69c6
PA
118802017-11-21 Pedro Alves <palves@redhat.com>
11881
11882 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11883
73fcf641
PA
118842017-11-20 Pedro Alves <palves@redhat.com>
11885
11886 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11887 (long_double_typedef): New typedefs.
11888 Use DEF on double and long double.
11889 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11890 cases.
11891 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11892 and 'long_double_ptr_same_size' locals. Use them to decide
11893 whether cast from array/function to float is valid/invalid.
11894
71a3c369
TT
118952017-11-17 Tom Tromey <tom@tromey.com>
11896
11897 * gdb.rust/traits.rs: New file.
11898 * gdb.rust/traits.exp: New file.
11899
ced9779b
JB
119002017-11-17 Joel Brobecker <brobecker@adacore.com>
11901
11902 * gdb.ada/minsyms: New testcase.
11903
a0922d80
PA
119042017-11-16 Pedro Alves <palves@redhat.com>
11905
11906 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11907 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11908
ea04e54c
PA
119092017-11-16 Pedro Alves <palves@redhat.com>
11910
11911 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11912 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11913
e849ea89
PA
119142017-11-16 Pedro Alves <palves@redhat.com>
11915
11916 * gdb.server/reconnect-ctrl-c.c: New file.
11917 * gdb.server/reconnect-ctrl-c.exp: New file.
11918
d8ae99a7
PM
119192017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11920
11921 * gdb.python/py-rbreak.exp: New file.
11922 * gdb.python/py-rbreak.c: New file.
11923 * gdb.python/py-rbreak-func2.c: New file.
11924
968a13f8
PA
119252017-11-16 Pedro Alves <palves@redhat.com>
11926
11927 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11928 pattern.
11929 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11930 GDB.
11931
71774bc9
SM
119322017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11933
11934 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11935 regex.
11936
ddbb44cf
SM
119372017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11938
11939 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11940 test names.
11941
584a564f
PA
119422017-11-09 Pedro Alves <palves@redhat.com>
11943
11944 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11945 factored out from ...
11946 (top level): ... here, and adjusted to avoid expecting beyond the
11947 prompt in a single gdb_test_multiple.
11948
5ed7a928
PA
119492017-11-09 Pedro Alves <palves@redhat.com>
11950
11951 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11952 output.
11953 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11954 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11955 * gdb.server/ext-run.exp ("kill" test): Likewise.
11956 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11957
a60e0738
PA
119582017-11-09 Pedro Alves <palves@redhat.com>
11959
11960 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11961 match till end of line.
11962
2c88253f
PA
119632017-11-09 Pedro Alves <palves@redhat.com>
11964
11965 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11966
c7a38517
PA
119672017-11-09 Pedro Alves <palves@redhat.com>
11968
11969 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11970 New procedures, factored out from ...
11971 (top level): ... here, and adjusted to avoid expecting beyond the
11972 prompt in one go.
11973
f29f4b6b
PA
119742017-11-09 Pedro Alves <palves@redhat.com>
11975
11976 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11977 output. Fix '?' match.
11978
286acbb5
JB
119792017-11-08 Joel Brobecker <brobecker@adacore.com>
11980
11981 * gdb.ada/scoped_watch: New testcase.
11982 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11983 which is actually correct.
11984 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11985 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11986
62d7ae92
PA
119872017-11-08 Pedro Alves <palves@redhat.com>
11988
11989 * gdb.gdb/complaints.exp (test_initial_complaints)
11990 (test_serial_complaints, test_short_complaints): Call
11991 complaint_internal instead of complaint.
11992
280ca31f
DT
119932017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11994
11995 * gdb.threads/tls-core.c: New file.
11996 * gdb.threads/tls-core.exp: Likewise.
11997
b5ec771e
PA
119982017-11-08 Pedro Alves <palves@redhat.com>
11999
12000 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
12001 (p Exported_Capitalized): New test.
12002 (p exported_capitalized): New test.
12003
a02b41a7
PA
120042017-11-07 Pedro Alves <palves@redhat.com>
12005
12006 * gdb.cp/ena-dis-br-range.exp: Add more tests.
12007
95e95a6d
PA
120082017-11-07 Pedro Alves <palves@redhat.com>
12009
12010 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
12011 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
12012 (disable_invalid, disable_inverted, disable_negative): New
12013 procedures.
12014 ("bad numbers"): New set of tests.
12015
cee62dbd
PA
120162017-11-07 Pedro Alves <palves@redhat.com>
12017
12018 * gdb.cp/ena-dis-br-range.exp: Add tests.
12019
cc638e86
PA
120202017-11-07 Pedro Alves <palves@redhat.com>
12021
12022 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
12023
d0fe4701
XR
120242017-11-07 Xavier Roirand <roirand@adacore.com>
12025 Pedro Alves <palves@redhat.com>
12026
12027 * gdb.base/ena-dis-br.exp: Add reference to
12028 gdb.cp/ena-dis-br-range.exp.
12029 * gdb.cp/ena-dis-br-range.exp: New file.
12030 * gdb.cp/ena-dis-br-range.cc: New file.
12031
46f67f80
PA
120322017-11-06 Pedro Alves <palves@redhat.com>
12033
12034 * gdb.base/attach-non-pgrp-leader.c: New.
12035 * gdb.base/attach-non-pgrp-leader.exp: New.
12036
726e1356
PA
120372017-11-06 Pedro Alves <palves@redhat.com>
12038
12039 * configure.ac: No longer check for termio.h and sgtty.h.
12040 * configure: Regenerate.
12041 * remote-utils.c: Include termios.h instead of gdb_termios.h.
12042 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
12043 Remove termio and sgtty code.
12044
50ab6ace
YQ
120452017-11-03 Yao Qi <yao.qi@linaro.org>
12046
12047 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
12048 in GDB is disabled.
12049
8e68731c
YQ
120502017-11-03 Yao Qi <yao.qi@linaro.org>
12051
12052 * gdb.python/py-thrhandle.exp: Skip it if python is not
12053 enabled.
12054
3a87ae65
SM
120552017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
12056
12057 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
12058 as a breakpoint command.
12059
484d8d36
MD
120602017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
12061
12062 PR python/21213
12063 * gdb.python/py-infthread.exp: Test calling
12064 InferiorThread.inferior () multiple times in a row.
12065
4a27f119
KS
120662017-10-27 Keith Seitz <keiths@redhat.com>
12067
12068 * gdb.opt/inline-break.exp (break_info_1): New procedure.
12069 Test "info break" for every inlined function breakpoint.
12070
bb11dd58
YQ
120712017-10-27 Yao Qi <yao.qi@linaro.org>
12072
12073 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
12074
a43f3893
PF
120752017-10-26 Patrick Frants <osscontribute@gmail.com>
12076
12077 * gdb.cp/classes.exp (test_static_members): Test printing
12078 Outer::instance.
12079 * gdb.cp/classes.c (struct Inner, struct Outer): New.
12080 (Inner::instance, Outer::instance): New.
12081
792ccf00
PA
120822017-10-24 Pedro Alves <palves@redhat.com>
12083
12084 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
12085 extra console" test in two stages.
12086
eb2bfbad
PA
120872017-10-24 Pedro Alves <palves@redhat.com>
12088
12089 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
12090
1f75a651
PA
120912017-10-24 Pedro Alves <palves@redhat.com>
12092
12093 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
12094 loop.
12095
779990d9
PA
120962017-10-24 Pedro Alves <palves@redhat.com>
12097
12098 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
12099 $attempt" and "stoppedtry $stoppedtry" test prefixes.
12100
ad9b8f5d
PA
121012017-10-24 Pedro Alves <palves@redhat.com>
12102
12103 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
12104 parameter and handle it. Don't output read value in test name.
12105
fee6da6e
PA
121062017-10-24 Pedro Alves <palves@redhat.com>
12107
12108 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
12109 custom test name.
12110
10389c2c
PA
121112017-10-24 Pedro Alves <palves@redhat.com>
12112
12113 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
12114 include the unstable output directory name in the test's name.
12115 (initial_setup_simple) <'set args'>: Use custom test name.
12116
a80e65a9
PA
121172017-10-24 Pedro Alves <palves@redhat.com>
12118
12119 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
12120 with explicit test name.
12121
15763a09
PA
121222017-10-20 Pedro Alves <palves@redhat.com>
12123
12124 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
12125 'wait -i'. Use gdb_assert and remote_close.
12126
49a4ce2e
AB
121272017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
12128
12129 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
12130 number from variable rather than hard-coded.
12131
a75868f5
PA
121322017-10-19 Pedro Alves <palves@redhat.com>
12133
12134 * gdb.base/long-inferior-output.c: New file.
12135 * gdb.base/long-inferior-output.exp: New file.
12136
c8ba13ad
KS
121372017-11-18 Keith Seitz <keiths@redhat.com>
12138
12139 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
12140 method.
12141 (main): Call it.
12142 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
12143 Add additional user-defined conversion operator tests.
12144
b27de576
PA
121452017-10-17 Pedro Alves <palves@redhat.com>
12146
12147 * boards/native-stdio-gdbserver.exp: Load "local-board".
12148
8484c955
PA
121492017-10-17 Pedro Alves <palves@redhat.com>
12150
12151 * gdb.base/quit-live.c: New file.
12152 * gdb.base/quit-live.exp: New file.
12153
83d5a34d
KS
121542017-10-16 Keith Seitz <keiths@redhat.com>
12155
12156 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
12157 (class_with_protected_typedef, class_with_private_typedef)
12158 (struct_with_public_typedef, struct_with_protected_typedef)
12159 (struct_with_private_typedef): New classes/structs.
12160 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
12161 typedefs and access specifiers.
12162
739b3f1d
PA
121632017-10-16 Pedro Alves <palves@redhat.com>
12164 Simon Marchi <simon.marchi@polymtl.ca>
12165
12166 * README (Local vs Remote vs Native): New section.
12167 * boards/local-board.exp: New file, with bits factored out from
12168 ...
12169 * boards/native-extended-gdbserver.exp: ... here. Load
12170 "local-board".
12171 * boards/native-gdbserver.exp: Load "local-board".
12172 (${board}_spawn, ${board}_exec): Delete.
12173 * boards/native-stdio-gdbserver.exp: Most contents factored out to
12174 ...
12175 * boards/stdio-gdbserver-base.exp: ... this new file.
12176 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
12177 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
12178 procedure.
12179 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
12180 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
12181 stdio_gdbserver_command.
12182 (${board}_get_remote_address, ${board}_get_comm_port)
12183 (${board}_download, ${board}_upload): Delete.
12184 (get_target_remote_pipe_cmd): New.
12185
fe68b953
SM
121862017-10-16 Simon Marchi <simon.marchi@ericsson.com>
12187
12188 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
12189 test_bkpt_deletion, test_bkpt_cond_and_cmds,
12190 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
12191 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
12192 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
12193 remove with_test_prefix.
12194
300b6685
PA
121952017-10-13 Pedro Alves <palves@redhat.com>
12196
12197 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
12198 * gdb.base/annota1.exp: Use it instead of is_remote.
12199 * gdb.base/annota3.exp: Use it instead of is_remote.
12200 * gdb.cp/annota2.exp: Use it instead of is_remote.
12201 * gdb.cp/annota3.exp: Use it instead of is_remote.
12202 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
12203
50500caf
PA
122042017-10-13 Pedro Alves <palves@redhat.com>
12205
12206 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
12207 (test_num_test_vars, run_and_count_vars, find_env)
12208 (test_set_unset_env, test_inherit_env_var): New procedures.
12209 (top level): Use them.
12210
dad0c6d2
PA
122112017-10-13 Pedro Alves <palves@redhat.com>
12212
12213 * lib/selftest-support.exp (selftest_setup): Extend comments, and
12214 also skip on stub-like targets.
12215
8b0553c1
PA
122162017-10-13 Pedro Alves <palves@redhat.com>
12217
12218 PR gdb/22293
12219 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
12220 (top level): Move some tests to ...
12221 (test_not_found): ... this new procedure.
12222 (top level): Call it.
12223
7594f623
PA
122242017-10-13 Pedro Alves <palves@redhat.com>
12225
12226 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
12227 expect different "info terminal" output if testing with a
12228 non-native target.
12229
ebe3b402
PA
122302017-10-13 Pedro Alves <palves@redhat.com>
12231 Simon Marchi <simon.marchi@polymtl.ca>
12232
12233 PR python/12966
12234 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
12235
42f1b161
PA
122362017-10-13 Pedro Alves <palves@redhat.com>
12237
12238 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
12239 already.
12240
8d6ef72b
PA
122412017-10-13 Pedro Alves <palves@redhat.com>
12242
12243 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
12244 is_remote.
12245
d7bcd5b8
PA
122462017-10-13 Pedro Alves <palves@redhat.com>
12247
12248 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
12249 is_remote.
12250
df479dc6
PA
122512017-10-13 Pedro Alves <palves@redhat.com>
12252
12253 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
12254 is set.
12255 (corefile_test_attach): Likewise. Check can_spawn_for_attach
12256 instead of is_remote.
12257
23fb630a
PA
122582017-10-13 Pedro Alves <palves@redhat.com>
12259
12260 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
12261 (top level): Add comment.
12262
cc77b1dc
PA
122632017-10-13 Pedro Alves <palves@redhat.com>
12264
12265 * gdb.base/remote.exp (top level): Fix comment typo and add
12266 missing return.
12267
27c9e813
PA
122682017-10-13 Pedro Alves <palves@redhat.com>
12269 Simon Marchi <simon.marchi@polymtl.ca>
12270
12271 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
12272 calls and add comments. Skip test if use_gdb_stub is set.
12273 (top level): Use "set cwd" command instead of "cd" command.
12274
5e830d98
PA
122752017-10-13 Pedro Alves <palves@redhat.com>
12276
12277 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
12278 is_remote target check.
12279
f5ca0032
PA
122802017-10-13 Pedro Alves <palves@redhat.com>
12281
12282 * gdb.base/scope.exp: Use build_executable + clean_restart +
12283 gdb_file_cmd instead of prepare_for_testing and no longer skip
12284 "before run" tests on is_remote target boards. Update comments.
12285 * boards/native-extended-gdbserver.exp
12286 (extended_gdbserver_load_last_file): New, factored out from ...
12287 (gdb_load): ... this. Move further below and add comment.
12288 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
12289
8aed1c0d
PA
122902017-10-12 Pedro Alves <palves@redhat.com>
12291
12292 * gdb.base/attach.exp: Remove references to gdb64.
12293 * gdb.base/dbx.exp: Remove references to gdb64.
12294
cfa34c87
SM
122952017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12296 Pedro Alves <palves@redhat.com>
12297
12298 * gdb.base/label.exp: Remove is_remote target check.
12299
9192b7de
PA
123002017-10-12 Pedro Alves <palves@redhat.com>
12301
12302 * gdb.base/auvx.exp (coredir): Update comment.
12303 (top level) <core_works>: Use "set cwd" command instead of "cd"
12304 command.
12305
6bf0052d
PA
123062017-10-12 Pedro Alves <palves@redhat.com>
12307 Simon Marchi <simon.marchi@polymtl.ca>
12308
12309 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12310 target boards.
12311
e48ef82d
PA
123122017-10-12 Pedro Alves <palves@redhat.com>
12313 Simon Marchi <simon.marchi@polymtl.ca>
12314
12315 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12316 Instead skip if there's any gdb_protocol set.
12317
8d7aea57
SM
123182017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12319 Pedro Alves <palves@redhat.com>
12320
12321 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12322
30440677
PA
123232017-10-12 Pedro Alves <palves@redhat.com>
12324 Simon Marchi <simon.marchi@polymtl.ca>
12325
12326 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12327 instead of on dejagnu remote boards.
12328
4e04f045 123292017-10-12 Pedro Alves <palves@redhat.com>
175654b9 12330 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
12331
12332 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12333 checks. Use build_executable + clean_restart instead of
12334 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12335 of enabling non-stop after starting gdb.
12336
871a186e
PA
123372017-10-12 Pedro Alves <palves@redhat.com>
12338
12339 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12340 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12341 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12342 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12343
56d704da
AK
123442017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12345
12346 * gdb.arch/arc-tdesc-cpu.exp: New file.
12347 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12348
2f20e312
SM
123492017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12350
12351 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12352
65630365
PA
123532017-10-10 Pedro Alves <palves@redhat.com>
12354
12355 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12356 expect CLI output.
12357
bf469271
PA
123582017-10-10 Pedro Alves <palves@redhat.com>
12359
12360 * lib/selftest-support.exp (selftest_setup): Update for
12361 captured_command_loop's prototype change.
12362
777a42f1
PA
123632017-10-09 Pedro Alves <palves@redhat.com>
12364
12365 Test both arch1=>arch2 and arch2=>arch1.
12366
12367 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12368 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12369 factored out to...
12370 (append_arch1_options, append_arch2_options, append_arch_options)
12371 (build_executables): New procedures.
12372 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12373 local.
12374 (top level): Add new 'first_arch' testing axis.
12375
cbd2b4e3
PA
123762017-10-09 Pedro Alves <palves@redhat.com>
12377
12378 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12379 (barrier): New.
12380 (thread_start, all_started): New functions.
12381 (main): Spawn new thread and wait until it is scheduled.
12382 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12383 option.
12384 (do_test): Add 'selected_thread' parameter. Run to all_started
12385 instead of main. Explicitly set the breakpoint at main. Switch
12386 to the SELECTED_THREAD thread.
12387 (top level): Test handling the exec event with either the main
12388 thread or the second thread selected.
12389
5c9e4427
PA
123902017-10-09 Pedro Alves <palves@redhat.com>
12391
12392 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12393 logic. Move STOP marker after the value checks.
12394 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12395 regexp.
12396
b3b7c423
SL
123972017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12398
12399 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12400
3b4b2f16
UW
124012017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12402
12403 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12404 integer-to-dfp conversion.
12405 * gdb.base/dfp-test.exp: Likewise.
12406
5cd63fda
PA
124072017-10-04 Pedro Alves <palves@redhat.com>
12408
12409 * gdb.multi/hangout.c: Include <unistd.h>.
12410 (hangout_loop): New function.
12411 (main): Call alarm. Call hangout_loop in a loop.
12412 * gdb.multi/hello.c: Include <unistd.h>.
12413 (hello_loop): New function.
12414 (main): Call alarm. Call hangout_loop in a loop.
12415 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12416 inferior with the other selected.
12417
4c71c105
SM
124182017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12419
12420 * gdb.mi/list-thread-groups-available.exp: New file.
12421 * gdb.mi/list-thread-groups-available.c: New file.
12422
bc3b087d
SDJ
124232017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12424
12425 * gdb.base/set-cwd.exp: Make it available on
12426 native-extended-gdbserver.
12427
d092c5a2
SDJ
124282017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12429
12430 * gdb.base/set-cwd.c: New file.
12431 * gdb.base/set-cwd.exp: Likewise.
12432
45320ffa
TT
124332017-10-02 Tom Tromey <tom@tromey.com>
12434
12435 PR rust/22236:
12436 * gdb.rust/simple.rs (main): New variable "fslice".
12437 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12438
b3e3859b
TT
124392017-10-02 Tom Tromey <tom@tromey.com>
12440
12441 * gdb.rust/simple.exp: Test ptype of a slice.
12442
01af5e0d
TT
124432017-10-02 Tom Tromey <tom@tromey.com>
12444
12445 * gdb.rust/simple.exp: Test index of slice.
12446
a9bbfbd8
TT
124472017-09-27 Tom Tromey <tom@tromey.com>
12448
12449 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12450
df8899e5
TP
124512017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12452 Pedro Alves <palves@redhat.com>
12453
12454 * gdb.base/compare-sections.exp (get value of read-only section): Read
12455 as unsigned value.
12456 (corrupt read-only section): Likewise and don't set written if patching
12457 failed.
12458
757bf54b
KB
124592017-09-21 Kevin Buettner <kevinb@redhat.com>
12460
12461 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12462 files.
12463
06871ae8
PA
124642017-09-20 Pedro Alves <palves@redhat.com>
12465
12466 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12467 symbol names in gdb's output.
12468 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12469
e5f25bc5
PA
124702017-09-20 Pedro Alves <palves@redhat.com>
12471
12472 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12473 Rename to ...
12474 (test_list_ambiguous_symbol): ... this and add a symbol name
12475 parameter. Adjust.
12476 (test_list_ambiguous_function): Reimplement on top of
12477 test_list_ambiguous_symbol and also test listing ambiguous
12478 variables.
12479 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12480 (ambiguous_fun): ... this.
12481 (ambiguous_var): New.
12482 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12483 (ambiguous_fun): ... this.
12484 (ambiguous_var): New.
12485
4e5a4f58
JB
124862017-09-19 John Baldwin <jhb@FreeBSD.org>
12487
12488 * gdb.base/starti.c: New file.
12489 * gdb.base/starti.exp: New file.
12490 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12491
26e53f3e
PA
124922017-09-14 Pedro Alves <palves@redhat.com>
12493
12494 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12495 (top level): Use it instead of runto.
12496
cb791d59
TT
124972017-09-11 Tom Tromey <tom@tromey.com>
12498
12499 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12500
7c96f8c1
TT
125012017-09-11 Tom Tromey <tom@tromey.com>
12502
12503 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12504 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12505
469412dd
CW
125062017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12507
12508 * gdb.fortran/printing-types.exp: New file.
12509 * gdb.fortran/printing-types.exp: New file.
12510
e0f86435
BH
125112017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12512
12513 * gdb.fortran/vla-ptype.exp: Fix typos.
12514 * gdb.fortran/vla-value.exp: Same.
12515
9e9af4be
BH
125162017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12517
12518 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12519 * gdb.mi/mi-var-child-f.exp: Likewise.
12520 * gdb.mi/mi-vla-fortran.exp: Likewise.
12521
a5ad232b 125222017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
12523 Christoph Weinmann <christoph.t.weinmann@intel.com>
12524 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
12525
12526 * gdb.fortran/ptr-indentation.f90: New file.
12527 * gdb.fortran/ptr-indentation.exp: New file.
12528
5aec60eb
TT
125292017-09-05 Tom Tromey <tom@tromey.com>
12530
12531 PR gdb/22010:
12532 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12533
8f8f8152
TP
125342017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12535
12536 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12537
fbd1b771
JK
125382017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12539
12540 * gdb.threads/tls-nodebug-pie.c: New file.
12541 * gdb.threads/tls-nodebug-pie.exp: New file.
12542
5eb5f850
TT
125432017-09-05 Tom Tromey <tom@tromey.com>
12544
12545 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12546 for rust.
12547
ae780a21
SM
125482017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12549
12550 * gdb.multi/multi-arch-exec.exp: Test with different
12551 "follow-exec-mode" settings.
12552 (do_test): New procedure.
12553
3693fdb3
PA
125542017-09-04 Pedro Alves <palves@redhat.com>
12555
12556 * gdb.base/func-static.c (S::method const, S::method volatile)
12557 (S::method volatile const): New methods.
12558 (c_s, v_s, cv_s): New instances.
12559 (main): Call method() on them.
12560 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12561 (cannot_resolve): New procedure.
12562 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12563 print-quote-unquoted columns.
12564 (do_test): Test printing each scope too.
12565
e68cb8e0
PA
125662017-09-04 Pedro Alves <palves@redhat.com>
12567
12568 * gdb.base/local-static.exp: Also test with
12569 class::method::variable wholly quoted.
12570 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12571
858be34c
PA
125722017-09-04 Pedro Alves <palves@redhat.com>
12573
12574 * gdb.base/local-static.c: New.
12575 * gdb.base/local-static.cc: New.
12576 * gdb.base/local-static.exp: New.
12577
46a4882b
PA
125782017-09-04 Pedro Alves <palves@redhat.com>
12579
12580 * gdb.asm/asm-source.exp: Add casts to int.
12581 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12582 (dataglobal64_1, dataglobal64_2): New globals.
12583 * gdb.base/nodebug.exp: Test different expressions involving the
12584 new globals, with print, whatis and ptype. Add casts to int.
12585 * gdb.base/solib-display.exp: Add casts to int.
12586 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12587 * gdb.cp/m-static.exp: Add cast to int.
12588 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12589 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12590 tls variable with no debug info without a cast. Test with a cast
12591 to int too.
12592 * gdb.trace/entry-values.exp: Add casts.
12593
2c5a2be1
PA
125942017-09-04 Pedro Alves <palves@redhat.com>
12595
12596 * gdb.base/nodebug.exp: Test that ptype's error about functions
12597 with unknown return type includes the function name too.
12598
7022349d
PA
125992017-09-04 Pedro Alves <palves@redhat.com>
12600
12601 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12602 return type of munmap in infcall.
12603 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12604 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12605 type of ftell in infcall.
12606 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12607 type of getpid in infcall.
12608 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12609 infcall.
12610 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12611 Bail on failure to extract the pid.
12612 * gdb.base/nodebug.c: #include <stdint.h>.
12613 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12614 New functions.
12615 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12616 Change expected output of print/whatis/ptype with functions with
12617 no debug info. Test all supported languages. Call
12618 test_call_promotion.
12619 * gdb.compile/compile.exp: Adjust expected output to expect
12620 warning.
12621 * gdb.threads/siginfo-threads.exp: Likewise.
12622
54990598
PA
126232017-09-04 Pedro Alves <palves@redhat.com>
12624
12625 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12626 "prototypes". Test calling float functions via prototyped and
12627 unprototyped function pointers.
12628 (perform_all_tests): New parameter "prototypes". Pass it down.
12629 (top level): Pass down "prototypes" parameter to
12630 perform_all_tests.
12631
34d16ea2
SM
126322017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12633
12634 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12635 Test with nested loops.
12636
9521ecda
SM
126372017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12638
12639 * gdb.base/commands.exp: Call the new procedures.
12640 (loop_break_test, loop_continue_test): New procedures.
12641
80a65e9b
SM
126422017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12643
12644 * gdb.base/commands.exp: Call new procedure.
12645 (define_if_without_arg_test): New procedure.
12646
e439fa14
PA
126472017-09-04 Pedro Alves <palves@redhat.com>
12648
12649 * gdb.base/list-ambiguous.exp: New file.
12650 * gdb.base/list-ambiguous0.c: New file.
12651 * gdb.base/list-ambiguous1.c: New file.
12652 * gdb.base/list.exp (test_list_range): Adjust expected output.
12653
0a2dde4a
SDJ
126542017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12655
12656 * gdb.base/share-env-with-gdbserver.c: New file.
12657 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12658
5e89eb3a
SM
126592017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12660
12661 * gdb.base/commands.exp (gdbvar_simple_if_test,
12662 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12663 progvar_simple_if_test, progvar_simple_while_test,
12664 progvar_complex_if_while_test, user_defined_command_test,
12665 user_defined_command_args_eval,
12666 user_defined_command_args_stack_test,
12667 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12668 temporary_breakpoint_commands,
12669 gdb_test_no_prompt, redefine_hook_test,
12670 redefine_backtrace_test): Remove "global gdb_prompt".
12671
fd437cbc
SM
126722017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12673
12674 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12675 New proc, call it from toplevel.
12676
87215ad1
SDJ
126772017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12678
12679 PR remote/21852
12680 * gdb.server/normal.c: New file, copied from gdb.base.
12681 * gdb.server/run-without-local-binary.exp: New file.
12682
58afddc6
WP
126832017-08-07 Weimin Pan <weimin.pan@oracle.com>
12684
12685 * gdb.arch/sparc64-adi.exp: New file.
12686 * gdb.arch/sparc64-adi.c: New file.
12687
5277199a
PA
126882017-08-22 Pedro Alves <palves@redhat.com>
12689
12690 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12691 (top level): Add "list all overloads" tests.
12692
14278e1f
TT
126932017-08-22 Tom Tromey <tom@tromey.com>
12694
12695 * gdb.gdb/xfullpath.exp: Remove.
12696
bf223d3e
PA
126972017-08-21 Pedro Alves <palves@redhat.com>
12698
12699 PR gdb/19487
12700 * gdb.base/symbol-alias.c: New.
12701 * gdb.base/symbol-alias2.c: New.
12702 * gdb.base/symbol-alias.exp: New.
12703
c973d0aa
PA
127042017-08-21 Pedro Alves <palves@redhat.com>
12705
12706 * gdb.base/dfp-test.c
12707 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12708 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12709 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12710 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12711 * gdb.base/whatis-ptype-typedefs.c: New.
12712 * gdb.base/whatis-ptype-typedefs.exp: New.
12713 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12714 (an_int, an_int_type, an_int_type2): New globals.
12715 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12716 involving typedefs and cast expressions.
12717 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12718 (lookup_typedefs_function): New.
12719 (typedefs_pretty_printers_dict): New.
12720 (top level): Register lookup_typedefs_function in
12721 gdb.pretty_printers.
12722
6d580b63
YQ
127232017-08-18 Yao Qi <yao.qi@linaro.org>
12724
12725 * gdb.server/unittest.exp: New.
12726
206726fb
SDJ
127272017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12728
12729 PR gdb/21954
12730 * gdb.base/environ.exp: Add test to check if 'unset environment'
12731 works.
12732
bf0ec4c2
AA
127332017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12734
12735 * lib/gdb.exp (universal_compile_options): New caching proc.
12736 (gdb_compile): Suppress GCC's coloring of messages.
12737
d6382fff
TT
127382017-08-14 Tom Tromey <tom@tromey.com>
12739
12740 PR gdb/21675:
12741 * gdb.base/printcmds.exp (test_radices): New function.
12742 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12743 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12744 * lib/gdb.exp (get_integer_valueof): Use p/d.
12745
c2c2dd9f
SM
127462017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12747
12748 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12749 characters.
12750
fdffd6f4
TT
127512017-08-05 Tom Tromey <tom@tromey.com>
12752
12753 * gdb.rust/simple.exp: Allow String to appear in a different
12754 namespace.
12755
27d41eac
YQ
127562017-07-26 Yao Qi <yao.qi@linaro.org>
12757
12758 * gdb.gdb/unittest.exp: Invoke command
12759 "maintenance check xml-descriptions".
12760
031ed05d
AA
127612017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12762
12763 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12764 calling context.
12765 (hex128): Drop erroneous calculation of parameters.
12766
dcd27ddf
SM
127672017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12768
12769 * gdb.python/py-unwind.exp: Disable stack protection when
12770 building test file.
12771
47e77640
PA
127722017-07-20 Pedro Alves <palves@redhat.com>
12773
12774 * gdb.base/default.exp (set language): Adjust expected output.
12775
62d2a18a
PA
127762017-07-20 Pedro Alves <palves@redhat.com>
12777
12778 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12779 (test_minsym): ... this, and make static.
12780 (get_pck__foo__bar__minsym): Rename to ...
12781 (get_test_minsym): ... this.
12782 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12783 symbol names and comments.
12784 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12785 (get_test_minsym): ... this.
12786 (pck__foo__bar__minsym__2): Rename to ...
12787 (test_minsym): ... this.
12788 (main): Adjust.
12789
c45ec17c
PA
127902017-07-17 Pedro Alves <palves@redhat.com>
12791
12792 * gdb.base/completion.exp: Adjust expected output.
12793 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12794 the completer works.
12795
c6756f62
PA
127962017-07-17 Pedro Alves <palves@redhat.com>
12797
12798 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12799
5bd68487
AB
128002017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12801
12802 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12803
8880f2a9
TT
128042017-07-14 Tom Tromey <tom@tromey.com>
12805
12806 PR rust/21764:
12807 * gdb.rust/simple.exp: Add tests.
12808
65547233
TT
128092017-07-14 Tom Tromey <tom@tromey.com>
12810
12811 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12812
8f14146e
PA
128132017-07-14 Pedro Alves <palves@redhat.com>
12814
12815 * gdb.linespec/base/one/thefile.cc (z1): New function.
12816 * gdb.linespec/base/two/thefile.cc (z2): New function.
12817 * gdb.linespec/linespec.exp: Add tests.
12818
b4365d02
AB
128192017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12820
12821 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12822 to mi_create_breakpoint.
12823
5d2cbaa5
AB
128242017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12825
12826 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12827 mi_create_breakpoint.
12828
11cb5716
IB
128292017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12830
12831 * gdb.dlang/demangle.exp: Update for demangling changes.
12832
03278692
TT
128332017-07-09 Tom Tromey <tom@tromey.com>
12834
12835 * gdb.dwarf2/shortpiece.exp: New file.
12836
33c5cd75
DB
128372017-07-06 David Blaikie <dblaikie@gmail.com>
12838
12839 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12840 built from fissiont-multi-cu{1,2}.c.
12841 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12842 except putting 'main' and 'func' in separate CUs in the same DWO file.
12843 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12844 test.
12845 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12846 test.
12847
8455d262
PA
128482017-07-06 Pedro Alves <palves@redhat.com>
12849
12850 * gdb.python/py-unwind.exp: Test flushregs.
12851
dc4bde35
SDJ
128522017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12853
12854 PR cli/21688
12855 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12856 tests for alias commands and trailing whitespace.
12857
51ed89aa
SDJ
128582017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12859
12860 PR cli/21688
12861 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12862 procedure. Call it.
12863
eb17d413
PA
128642017-06-29 Pedro Alves <palves@redhat.com>
12865
12866 * gdb.base/printcmds.exp: Add tests.
12867
41664b45
DG
128682017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12869
12870 PR gdb/21337
12871 * gdb.base/reread-readsym.exp: New file.
12872 * gdb.base/reread-readsym.c: New file.
12873
75312ae3
KB
128742017-06-21 Kevin Buettner <kevinb@redhat.com>
12875
12876 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12877 subpattern.
12878
66953522
PB
128792017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12880
12881 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12882 extended mnemonic.
12883 * gdb.arch/powerpc-power9.s: Likewise.
12884
5524b525
AA
128852017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12886
12887 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12888 on 32-bit x86 targets. Exploit is_*_target macros where
12889 appropriate.
12890
03c8af18
AA
128912017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12892
12893 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12894 register pieces.
12895
3bf31011
AA
128962017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12897
12898 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12899 located in one or more DWARF pieces.
12900
805acca0
AA
129012017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12902
12903 * lib/gdb.exp (get_endianness): New proc.
12904 * gdb.arch/aarch64-fp.exp: Use it.
12905 * gdb.arch/altivec-regs.exp: Likewise.
12906 * gdb.arch/e500-regs.exp: Likewise.
12907 * gdb.arch/vsx-regs.exp: Likewise.
12908 * gdb.base/dump.exp: Likewise.
12909 * gdb.base/funcargs.exp: Likewise.
12910 * gdb.base/gnu_vector.exp: Likewise.
12911 * gdb.dwarf2/formdata16.exp: Likewise.
12912 * gdb.dwarf2/implptrpiece.exp: Likewise.
12913 * gdb.dwarf2/nonvar-access.exp: Likewise.
12914 * gdb.python/py-inferior.exp: Likewise.
12915 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12916
e9352324
AA
129172017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12918
12919 PR gdb/21226
12920 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12921 stack value pieces are taken from the LSB end.
12922
d5d1163e
AA
129232017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12924
12925 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12926 variable at nonzero offset.
12927
0567c986
AA
129282017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12929
12930 * gdb.dwarf2/var-access.c: New file.
12931 * gdb.dwarf2/var-access.exp: New test.
12932 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12933
973e9aab
TT
129342017-06-12 Tom Tromey <tom@tromey.com>
12935
12936 * gdb.dwarf2/formdata16.exp: Add tests.
12937
d9109c80
TT
129382017-06-12 Tom Tromey <tom@tromey.com>
12939
12940 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12941
30a25466
TT
129422017-06-12 Tom Tromey <tom@tromey.com>
12943
12944 PR exp/16225:
12945 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12946 * gdb.arch/vsx-regs.exp: Update tests.
12947 * gdb.arch/s390-vregs.exp (hex128): New proc.
12948 Update test.
12949 * gdb.arch/altivec-regs.exp: Update tests.
12950
aefd8b33
SDJ
129512017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12952
12953 * gdb.base/startup-with-shell.c: New file.
12954 * gdb.base/startup-with-shell.exp: Likewise.
12955
2090129c
SDJ
129562017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12957
12958 * gdb.server/non-existing-program.exp: Update regex in order to
12959 reflect the fact that gdbserver is now using fork_inferior (with a
12960 shell) to startup the inferior.
12961
8e86a419
SM
129622017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12963
12964 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12965 support function calls from GDB.
12966
e6cf65f2
TT
129672017-05-21 Tom Tromey <tom@tromey.com>
12968
12969 PR rust/21466:
12970 * gdb.rust/unsized.exp: New file.
12971 * gdb.rust/unsized.rs: New file.
12972
43cc5389
TT
129732017-05-19 Tom Tromey <tom@tromey.com>
12974
12975 PR rust/21484:
12976 * gdb.rust/watch.exp: New file.
12977 * gdb.rust/watch.rs: New file.
12978
ec8df234
TT
129792017-05-18 Tom Tromey <tom@tromey.com>
12980
12981 * gdb.rust/simple.exp: Allow Box to be qualified.
12982
3e3e7fae
TP
129832017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12984
12985 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12986
59cc050d
PA
129872017-05-18 Pedro Alves <palves@redhat.com>
12988
12989 * gdb.base/fileio.c (test_write, test_read, test_close)
12990 (test_fstat): Don't print 'ret' in the fail path.
12991
c8f6abd1
PA
129922017-05-18 Pedro Alves <palves@redhat.com>
12993
12994 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12995 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12996 (test_system, test_rename, test_unlink, test_time): Change
12997 prototypes.
12998 * gdb.base/fileio.exp (stop_msg): Adjust.
12999
d2a03b77
PA
130002017-05-18 Pedro Alves <palves@redhat.com>
13001
13002 * gdb.base/fileio.c (null_str): New global.
13003 (test_stat): Use it.
13004 * gdb.base/fileio.exp: Remove nowarnings.
13005
0d5c6999
YQ
130062017-05-17 Yao Qi <yao.qi@linaro.org>
13007
13008 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
13009
21873064
YQ
130102017-05-17 Simon Marchi <simon.marchi@ericsson.com>
13011
13012 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
13013 argument command.
13014 (top-level): Invoke test_set_inferior_tty.
13015
d512d31c
PA
130162017-05-04 Pedro Alves <palves@redhat.com>
13017
13018 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
13019 Add parens to print call for Python 3.
13020
90cef2ed
KS
130212017-05-03 Keith Seitz <keiths@redhat.com>
13022
13023 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
13024 (main): Call it.
13025
14f819c8
TW
130262017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13027
13028 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
13029 to prev and next.
13030
913aeadd
TW
130312017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13032
13033 * gdb.python/py-record-btrace.exp: Remove test for
13034 gdb.BtraceInstruction.error.
13035
a3be24ad
TW
130362017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13037
13038 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
13039
ae20e79a
TW
130402017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13041
13042 * gdb.python/py-record-btrace-threads.c: New file.
13043 * gdb.python/py-record-btrace-threads.exp: New file.
13044
45ce1b47
SDJ
130452017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
13046
13047 PR testsuite/8595
13048 * gdb.base/environ.exp: Make test available in all architectures.
13049 Move bits related to "info program" testing to
13050 gdb.base/info-program.exp. Rewrite tests to use the two new
13051 procedures mentione below.
13052 (test_set_show_env_var) New procedure.
13053 (test_set_show_env_var_equal): Likewise.
13054 * gdb.base/info-program.exp: New file.
13055
e15c3eb4
KS
130562017-04-27 Keith Seitz <keiths@redhat.com>
13057
13058 * gdb.cp/oranking.cc (test15): New function.
13059 (main): Call test15 and declare additional variables for testing.
13060 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
13061 "p foo101('abc')" tests.
13062 Add tests for cv qualifier overloads.
13063 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
13064 "lvalue reference overload" test.
13065 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
13066 "print value of f1 on Child&& in f2" test.
13067
3a3fd0fd
PA
130682017-04-19 Pedro Alves <palves@redhat.com>
13069
13070 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
13071 procedure.
13072 (top level): Call it.
13073 * lib/gdb.exp (gdb_define_cmd): New procedure.
13074
53375380
PA
130752017-04-12 Pedro Alves <palves@redhat.com>
13076
13077 PR gdb/21323
13078 * gdb.cp/wide_char_types.c: Include <wchar.h>.
13079 (wchar): New global.
13080 * gdb.cp/wide_char_types.exp (wide_char_types_program)
13081 (do_test_wide_char, wide_char_types_no_program, top level): Add
13082 wchar_t testing.
13083
53e710ac
PA
130842017-04-12 Pedro Alves <palves@redhat.com>
13085
13086 PR c++/21323
13087 * gdb.cp/wide_char_types.c: New file.
13088 * gdb.cp/wide_char_types.exp: New file.
13089
0ad9d8c7
SDJ
130902017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
13091
13092 PR gdb/21352
13093 * gdb.trace/tsv.exp: Add test for "tsave -r".
13094
b1b45502
IB
130952017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
13096
13097 * gdb.dlang/watch-loc.c: New file.
13098 * gdb.dlang/watch-loc.exp: New file.
13099
ec13808e
JK
131002017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13101
13102 * gdb.python/py-section-script.exp (sepdebug): New testcases.
13103
fe5f7374
AK
131042017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
13105
13106 * gdb.arch/arc-analyze-prologue.S: New file.
13107 * gdb.arch/arc-analyze-prologue.exp: Likewise.
13108
eea78757
AK
131092017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
13110
13111 * gdb.arch/arc-decode-insn.S: New file.
13112 * gdb.arch/arc-decode-insn.exp: Likewise.
13113
5badf10a
IR
131142017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
13115
13116 PR tdep/20928
13117 * gdb.arch/sparc64-regs.exp: New file.
13118 * gdb.arch/sparc64-regs.S: Likewise.
13119
cee59b3f
TW
131202017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
13121
13122 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
13123 and memory view on Python 3.
13124
c0f55cc6
AV
131252017-03-20 Artemiy Volkov <artemiyv@acm.org>
13126 Keith Seitz <keiths@redhat.com>
13127
13128 PR gdb/14441
13129 * gdb.cp/demangle.exp: Add rvalue reference tests.
13130 * gdb.cp/rvalue-ref-casts.cc: New file.
13131 * gdb.cp/rvalue-ref-casts.exp: New file.
13132 * gdb.cp/rvalue-ref-overload.cc: New file.
13133 * gdb.cp/rvalue-ref-overload.exp: New file.
13134 * gdb.cp/rvalue-ref-params.cc: New file.
13135 * gdb.cp/rvalue-ref-params.exp: New file.
13136 * gdb.cp/rvalue-ref-sizeof.cc: New file.
13137 * gdb.cp/rvalue-ref-sizeof.exp: New file.
13138 * gdb.cp/rvalue-ref-types.cc: New file.
13139 * gdb.cp/rvalue-ref-types.exp: New file.
13140 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
13141 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
13142
51457a05
MAL
131432017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13144
13145 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
13146 New procedure.
13147
5b291c04
MAL
131482017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13149
13150 * lib/mi-support.exp (mi_gdb_test): Add additional message
13151 for unexpected output.
13152
59a56148
AA
131532017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13154
13155 * gdb.base/examine-backward.c (Barrier): New character array
13156 constant, to ensure that TestStrings is preceded by a string
13157 terminator.
13158
7942e96e
AA
131592017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13160
13161 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
13162 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
13163 and implicit pointer into such a location.
13164
6ebac3fb
DE
131652017-03-16 Doug Evans <dje@google.com>
13166
13167 * gdb.python/py-lazy-string (pointer): Really add new typedef.
13168
ec3b243d
TP
131692017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
13170
13171 * gdb.cp/m-static.exp: Fix expectation for prototype of
13172 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
13173
131742017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
13175
13176 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
13177 * gdb.guile/scm-lazy-string.c: New file.
13178 * gdb.guile/scm-value.exp: Move lazy string tests to ...
13179 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
13180 for pointer, array, typedef lazy strings.
13181
2cc36e25 131822017-03-16 Doug Evans <dje@google.com>
34b43320
DE
13183
13184 PR python/17728, python/18439, python/18779
13185 * gdb.python/py-value.c (main) Delete locals sptr, sn.
13186 * gdb.python/py-lazy-string.c (pointer): New typedef.
13187 (main): New locals ptr, array, typedef_ptr.
13188 * gdb.python/py-value.exp: Move lazy string tests to ...
13189 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
13190 array, typedef lazy strings.
ec3b243d 13191
0efcde63
AK
131922017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
13193
13194 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
13195 Add optional 'test' parameter.
13196
7978d7c3
SM
131972017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13198
13199 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13200 Skip for versions of DejaGnu < 1.5.
13201
896c0c1e
SM
132022017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13203
13204 * lib/gdb.exp (dejagnu_version): New proc.
13205 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13206 Use dejagnu_version.
13207
5f4d1085
KS
132082017-03-10 Keith Seitz <keiths@redhat.com>
13209
13210 PR c++/8128
13211 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
13212 type from destructor regexps.
13213 Add a branch which actually passes the test.
13214 Adjust "ptype t5i" test names.
13215
1de05205
PA
132162017-03-08 Pedro Alves <palves@redhat.com>
13217
13218 * gdb.base/step-over-exit.exp: Add explicit test message.
13219
c65d6b55
PA
132202017-03-08 Pedro Alves <palves@redhat.com>
13221
13222 PR gdb/18360
13223 * gdb.threads/interrupt-while-step-over.c: New file.
13224 * gdb.threads/interrupt-while-step-over.exp: New file.
13225
2e86a283
PA
132262017-03-08 Pedro Alves <palves@redhat.com>
13227
13228 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
13229 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
13230
25dcbff6
PA
132312017-03-08 Pedro Alves <palves@redhat.com>
13232
13233 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
13234 PKRU as not supported as a PASS.
13235
dc9366eb
PA
132362017-03-08 Pedro Alves <palves@redhat.com>
13237
13238 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
13239 prefix instead of $binfile1/$binfile2.
13240 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
13241 in test message.
13242 * gdb.python/py-completion.exp: Use "load python file" as test
13243 messages instead of unstable path names.
13244
6e5d74e7
PA
132452017-03-08 Pedro Alves <palves@redhat.com>
13246 Jan Kratochvil <jan.kratochvil@redhat.com>
13247
13248 PR cli/21218
13249 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13250 New proc.
13251 (top level): Call it.
13252
9753a2f6
PA
132532017-03-08 Pedro Alves <palves@redhat.com>
13254
13255 PR tui/21216
13256 * gdb.tui/tui-nl-filtered-output.exp: New file.
13257
1a4dd9dd
PA
132582017-03-08 Pedro Alves <palves@redhat.com>
13259
13260 * gdb.base/completion.exp: Move TUI completion tests to ...
13261 * gdb.tui/completion.exp: ... this new file.
13262
7cbbff33
PA
132632017-03-08 Pedro Alves <palves@redhat.com>
13264
13265 * gdb.base/tui-disasm-long-lines.c,
13266 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
13267 gdb.base/tui-layout.exp: Move to ...
13268 * gdb.tui/: ... this new directory.
13269
5f6fd321
PA
132702017-03-07 Pedro Alves <palves@redhat.com>
13271
13272 * gdb.base/tui-layout.c: New file.
13273 * gdb.base/tui-layout.exp: New file.
13274
44959fa8
PA
132752017-03-07 Pedro Alves <palves@redhat.com>
13276
13277 * gdb.base/tui-layout.c: Rename to ...
13278 * gdb.base/tui-disasm-long-lines.c: ... this.
13279 * gdb.base/tui-layout.exp: Rename to ...
13280 * gdb.base/tui-disasm-long-lines.exp: ... this.
13281
f8c4e718
PA
132822017-03-07 Pedro Alves <palves@redhat.com>
13283
13284 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
13285
6dbb839a 132862017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
13287
13288 * i386-mpx-call.c: New file.
13289 * i386-mpx-call.exp: New file.
13290
65b48a81
PB
132912017-02-28 Peter Bergner <bergner@vnet.ibm.com>
13292
13293 * gdb.arch/powerpc-power.exp: Delete test.
13294 * gdb.arch/powerpc-power.s: Likewise.
13295 * gdb.disasm/disassembler-options.exp: New test.
13296 * gdb.arch/powerpc-altivec.exp: Likewise.
13297 * gdb.arch/powerpc-altivec.s: Likewise.
13298 * gdb.arch/powerpc-altivec2.exp: Likewise.
13299 * gdb.arch/powerpc-altivec2.s: Likewise.
13300 * gdb.arch/powerpc-altivec3.exp: Likewise.
13301 * gdb.arch/powerpc-altivec3.s: Likewise.
13302 * gdb.arch/powerpc-power7.exp: Likewise.
13303 * gdb.arch/powerpc-power7.s: Likewise.
13304 * gdb.arch/powerpc-power8.exp: Likewise.
13305 * gdb.arch/powerpc-power8.s: Likewise.
13306 * gdb.arch/powerpc-power9.exp: Likewise.
13307 * gdb.arch/powerpc-power9.s: Likewise.
13308 * gdb.arch/powerpc-vsx.exp: Likewise.
13309 * gdb.arch/powerpc-vsx.s: Likewise.
13310 * gdb.arch/powerpc-vsx2.exp: Likewise.
13311 * gdb.arch/powerpc-vsx2.s: Likewise.
13312 * gdb.arch/powerpc-vsx3.exp: Likewise.
13313 * gdb.arch/powerpc-vsx3.s: Likewise.
13314 * gdb.arch/arm-disassembler-options.exp: Likewise.
13315 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13316 * gdb.arch/s390-disassembler-options.exp: Likewise.
13317
17cd4947
LM
133182017-02-23 Luis Machado <lgustavo@codesourcery.com>
13319
13320 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13321 (check_supported_features): ... this. Changed return type to void.
13322 (supports_rdseed): New static global.
13323 (rdseed): Check supports_rdseed.
13324 (initialize): Call check_supported_features.
13325
2039d74e
EBM
133262017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13327
13328 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13329 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13330 and lqarx/stqcx.
13331 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13332 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13333
a51d7ecf
EBM
133342017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13335
13336 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13337 uppercase.
13338
0224619f
JK
133392017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13340
13341 * gdb.dwarf2/formdata16.c: New file.
13342 * gdb.dwarf2/formdata16.exp: New file.
13343 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13344
216f72a1
JK
133452017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13346
13347 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13348 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13349 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13350 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13351 DW_AT_GNU_*.
13352
43988095
JK
133532017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13354
13355 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13356
99e8a4f9
SDJ
133572017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13358
13359 PR gdb/21164
13360 * gdb.base/maint.exp: Add testcases for when the commands do
13361 not have arguments.
13362
b58a8c0c
TP
133632017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13364
13365 * gdb.cp/chained-calls.exp: Use p instead of P.
13366
4e746bb6
TW
133672017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13368
13369 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13370 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13371
3f77c769
TT
133722017-02-14 Tom Tromey <tom@tromey.com>
13373
13374 PR python/13598:
13375 * gdb.python/py-events.exp: Add before_prompt event tests.
13376
075beec0
AA
133772017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13378
13379 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13380
bf5f525c
LM
133812017-02-13 Luis Machado <lgustavo@codesourcery.com>
13382
13383 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13384 (main): Call my_unique_function_name.
13385 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13386 completion of patterns with a single match.
13387 Add missing -re switches to gdb_test_multiple calls.
13388
13a66184
LM
133892017-02-13 Luis Machado <lgustavo@codesourcery.com>
13390
13391 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13392 return if core file is not recognized.
13393
26a06916
SM
133942017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13395
13396 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13397 and extra UIs.
13398
b761ca9e
SM
133992017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13400
13401 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13402 proc_with_prefix.
13403
b964bee0
TT
134042017-02-10 Tom Tromey <tom@tromey.com>
13405
13406 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13407
18da0c51
MG
134082017-02-10 Martin Galvan <martingalvan@sourceware.org>
13409
13410 PR gdb/21122
13411 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13412
604c4576
JG
134132017-02-08 Jerome Guitton <guitton@adacore.com>
13414
13415 * gdb.base/define.exp: Add test for command abbreviations
13416 in define.
13417
20b477a7
LM
134182017-02-06 Luis Machado <lgustavo@codesourcery.com>
13419
13420 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13421 * gdb.reverse/insn-reverse-x86.c: New file.
13422
3f7b46f2
IR
134232017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13424
13425 PR tdep/20936
13426 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13427
f0fd41c1
TT
134282017-02-03 Tom Tromey <tom@tromey.com>
13429
13430 PR rust/21097:
13431 * gdb.rust/simple.exp: Add new tests.
13432
5be5dbf0
PA
134332017-02-02 Pedro Alves <palves@redhat.com>
13434
13435 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13436 tests.
13437
7346ef59
AA
134382017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13439
13440 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13441 taking a 2-byte value out of a 4-byte DWARF implicit value on
13442 big-endian targets.
13443 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13444 logic. Add test cases for DW_OP_implicit.
13445
787f0025
MM
134462017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13447
13448 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13449
68777c29
MM
134502017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13451
13452 * gdb.btrace/enable.exp: Call gdb_exit before
13453 skip_gdbserver_tests.
13454
0a1c7e28
MM
134552017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13456
13457 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13458 GDBFLAGS.
13459
b5ac99b0
MM
134602017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13461
13462 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13463 the test is skipped.
13464 * gdb.btrace/data.exp: Likewise.
13465 * gdb.btrace/delta.exp: Likewise.
13466 * gdb.btrace/dlopen.exp: Likewise.
13467 * gdb.btrace/enable-running.exp: Likewise.
13468 * gdb.btrace/enable.exp: Likewise.
13469 * gdb.btrace/exception.exp: Likewise.
13470 * gdb.btrace/function_call_history.exp: Likewise.
13471 * gdb.btrace/gcore.exp: Likewise.
13472 * gdb.btrace/instruction_history.exp: Likewise.
13473 * gdb.btrace/multi-thread-step.exp: Likewise.
13474 * gdb.btrace/nohist.exp: Likewise.
13475 * gdb.btrace/non-stop.exp: Likewise.
13476 * gdb.btrace/reconnect.exp: Likewise.
13477 * gdb.btrace/record_goto-step.exp: Likewise.
13478 * gdb.btrace/record_goto.exp: Likewise.
13479 * gdb.btrace/rn-dl-bind.exp: Likewise.
13480 * gdb.btrace/segv.exp: Likewise.
13481 * gdb.btrace/step.exp: Likewise.
13482 * gdb.btrace/stepi.exp: Likewise.
13483 * gdb.btrace/tailcall-only.exp: Likewise.
13484 * gdb.btrace/tailcall.exp: Likewise.
13485 * gdb.btrace/tsx.exp: Likewise.
13486 * gdb.btrace/unknown_functions.exp: Likewise.
13487 * gdb.btrace/vdso.exp: Likewise.
13488
cd4007e4
MM
134892017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13490
13491 * gdb.btrace/enable-running.c: New.
13492 * gdb.btrace/enable-running.exp: New.
13493
2735833d
WT
134942017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13495
13496 * gdb.arch/amd64-gs_base.c: New file.
13497 * gdb.arch/amd64-gs_base.exp: New file.
13498
b51e1e94
LM
134992017-01-26 Luis Machado <lgustavo@codesourcery.com>
13500
13501 * lib/memory.exp: Remove spurious empty newlines.
13502
72ca0410
SM
135032017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13504
13505 * gdb.python/py-bad-printers.exp: Load python file using "source".
13506 * gdb.python/py-events.exp: Likewise.
13507 * gdb.python/py-evsignal.exp: Likewise.
13508 * gdb.python/py-evthreads.exp: Likewise.
13509 * gdb.python/py-frame-args.exp: Likewise.
13510 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13511 * gdb.python/py-framefilter-mi.exp: Likewise.
13512 * gdb.python/py-framefilter.exp: Likewise.
13513 * gdb.python/py-mi.exp: Likewise.
13514 * gdb.python/py-pp-maint.exp: Likewise.
13515 * gdb.python/py-pp-registration.exp: Likewise.
13516 * gdb.python/py-prettyprint.exp: Likewise.
13517 (run_lang_tests): Likewise.
13518 * gdb.python/py-typeprint.exp: Likewise.
13519
e309aa65
LM
135202017-01-26 Luis Machado <lgustavo@codesourcery.com>
13521
13522 * lib/memory.exp: New file.
13523 * lib/gdb.exp: Load memory.exp.
13524 * gdb.base/memattr.exp (delete_memory): Move proc to
13525 lib/memory.exp and rename to delete_memory_regions.
13526 Replace delete_memory with delete_memory_regions.
13527 Cleanup memory regions before tests.
13528 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13529 before tests.
13530
515aff23
LM
135312017-01-26 Luis Machado <lgustavo@codesourcery.com>
13532
13533 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13534 files.
13535 (initialize): New function conditionally defined.
13536 (testcases): Move within conditional block.
13537 (main): Call initialize.
13538 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13539 of gdb.reverse/insn-reverse.c.
13540 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13541 gdb.reverse/insn-reverse.c.
13542
d8b49cf0
YQ
135432017-01-26 Yao Qi <yao.qi@linaro.org>
13544
13545 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13546 disassemble on address 0.
13547
f13a9a0c
YQ
135482017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13549 Yao Qi <yao.qi@linaro.org>
13550
13551 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13552 * gdb.dwarf2/implptr-64bit.S: Remove.
13553 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13554 variables in caller's context. Add DW_OP_implicit_value.
13555
5ac95241
YQ
135562017-01-25 Yao Qi <yao.qi@linaro.org>
13557
13558 * lib/dwarf.exp (Dwarf::_location): Handle
13559 DW_OP_GNU_implicit_pointer with proper size.
13560
23e82930
LM
135612017-01-20 Luis Machado <lgustavo@codesourcery.com>
13562
13563 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13564 and add untested calls.
13565
d334ae25
LM
135662017-01-20 Luis Machado <lgustavo@codesourcery.com>
13567
13568 * gdb.python/python.exp: Check line number against what GDB thinks
13569 the line number is for func1.
13570
f5e6296e
IB
135712017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13572
13573 * gdb.dlang/debug-expr.exp: New file.
13574
5b362f04
LM
135752016-12-23 Luis Machado <lgustavo@codesourcery.com>
13576
13577 Fix test names for the following files:
13578
13579 * gdb.ada/exec_changed.exp
13580 * gdb.ada/info_types.exp
13581 * gdb.arch/aarch64-atomic-inst.exp
13582 * gdb.arch/aarch64-fp.exp
13583 * gdb.arch/altivec-abi.exp
13584 * gdb.arch/altivec-regs.exp
13585 * gdb.arch/amd64-byte.exp
13586 * gdb.arch/amd64-disp-step.exp
13587 * gdb.arch/amd64-dword.exp
13588 * gdb.arch/amd64-entry-value-inline.exp
13589 * gdb.arch/amd64-entry-value-param.exp
13590 * gdb.arch/amd64-entry-value-paramref.exp
13591 * gdb.arch/amd64-entry-value.exp
13592 * gdb.arch/amd64-i386-address.exp
13593 * gdb.arch/amd64-invalid-stack-middle.exp
13594 * gdb.arch/amd64-invalid-stack-top.exp
13595 * gdb.arch/amd64-optimout-repeat.exp
13596 * gdb.arch/amd64-prologue-skip.exp
13597 * gdb.arch/amd64-prologue-xmm.exp
13598 * gdb.arch/amd64-stap-special-operands.exp
13599 * gdb.arch/amd64-stap-wrong-subexp.exp
13600 * gdb.arch/amd64-tailcall-cxx.exp
13601 * gdb.arch/amd64-tailcall-noret.exp
13602 * gdb.arch/amd64-tailcall-ret.exp
13603 * gdb.arch/amd64-tailcall-self.exp
13604 * gdb.arch/amd64-word.exp
13605 * gdb.arch/arm-bl-branch-dest.exp
13606 * gdb.arch/arm-disp-step.exp
13607 * gdb.arch/arm-neon.exp
13608 * gdb.arch/arm-single-step-kernel-helper.exp
13609 * gdb.arch/avr-flash-qualifier.exp
13610 * gdb.arch/disp-step-insn-reloc.exp
13611 * gdb.arch/e500-abi.exp
13612 * gdb.arch/e500-regs.exp
13613 * gdb.arch/ftrace-insn-reloc.exp
13614 * gdb.arch/i386-avx512.exp
13615 * gdb.arch/i386-bp_permanent.exp
13616 * gdb.arch/i386-byte.exp
13617 * gdb.arch/i386-cfi-notcurrent.exp
13618 * gdb.arch/i386-disp-step.exp
13619 * gdb.arch/i386-dr3-watch.exp
13620 * gdb.arch/i386-float.exp
13621 * gdb.arch/i386-gnu-cfi.exp
13622 * gdb.arch/i386-mpx-map.exp
13623 * gdb.arch/i386-mpx-sigsegv.exp
13624 * gdb.arch/i386-mpx-simple_segv.exp
13625 * gdb.arch/i386-mpx.exp
13626 * gdb.arch/i386-permbkpt.exp
13627 * gdb.arch/i386-prologue.exp
13628 * gdb.arch/i386-signal.exp
13629 * gdb.arch/i386-size-overlap.exp
13630 * gdb.arch/i386-unwind.exp
13631 * gdb.arch/i386-word.exp
13632 * gdb.arch/mips-fcr.exp
13633 * gdb.arch/powerpc-d128-regs.exp
13634 * gdb.arch/powerpc-stackless.exp
13635 * gdb.arch/ppc64-atomic-inst.exp
13636 * gdb.arch/s390-stackless.exp
13637 * gdb.arch/s390-tdbregs.exp
13638 * gdb.arch/s390-vregs.exp
13639 * gdb.arch/sparc-sysstep.exp
13640 * gdb.arch/thumb-bx-pc.exp
13641 * gdb.arch/thumb-singlestep.exp
13642 * gdb.arch/thumb2-it.exp
13643 * gdb.arch/vsx-regs.exp
13644 * gdb.asm/asm-source.exp
13645 * gdb.base/a2-run.exp
13646 * gdb.base/advance.exp
13647 * gdb.base/all-bin.exp
13648 * gdb.base/anon.exp
13649 * gdb.base/args.exp
13650 * gdb.base/arithmet.exp
13651 * gdb.base/async-shell.exp
13652 * gdb.base/async.exp
13653 * gdb.base/attach-pie-noexec.exp
13654 * gdb.base/attach-twice.exp
13655 * gdb.base/auto-load.exp
13656 * gdb.base/bang.exp
13657 * gdb.base/bitfields.exp
13658 * gdb.base/break-always.exp
13659 * gdb.base/break-caller-line.exp
13660 * gdb.base/break-entry.exp
13661 * gdb.base/break-inline.exp
13662 * gdb.base/break-on-linker-gcd-function.exp
13663 * gdb.base/break-probes.exp
13664 * gdb.base/break.exp
13665 * gdb.base/breakpoint-shadow.exp
13666 * gdb.base/call-ar-st.exp
13667 * gdb.base/call-sc.exp
13668 * gdb.base/call-signal-resume.exp
13669 * gdb.base/call-strs.exp
13670 * gdb.base/callfuncs.exp
13671 * gdb.base/catch-fork-static.exp
13672 * gdb.base/catch-gdb-caused-signals.exp
13673 * gdb.base/catch-load.exp
13674 * gdb.base/catch-signal-fork.exp
13675 * gdb.base/catch-signal.exp
13676 * gdb.base/catch-syscall.exp
13677 * gdb.base/charset.exp
13678 * gdb.base/checkpoint.exp
13679 * gdb.base/chng-syms.exp
13680 * gdb.base/code-expr.exp
13681 * gdb.base/code_elim.exp
13682 * gdb.base/commands.exp
13683 * gdb.base/completion.exp
13684 * gdb.base/complex.exp
13685 * gdb.base/cond-expr.exp
13686 * gdb.base/condbreak.exp
13687 * gdb.base/consecutive.exp
13688 * gdb.base/continue-all-already-running.exp
13689 * gdb.base/coredump-filter.exp
13690 * gdb.base/corefile.exp
13691 * gdb.base/dbx.exp
13692 * gdb.base/debug-expr.exp
13693 * gdb.base/define.exp
13694 * gdb.base/del.exp
13695 * gdb.base/disabled-location.exp
13696 * gdb.base/disasm-end-cu.exp
13697 * gdb.base/disasm-optim.exp
13698 * gdb.base/display.exp
13699 * gdb.base/duplicate-bp.exp
13700 * gdb.base/ena-dis-br.exp
13701 * gdb.base/ending-run.exp
13702 * gdb.base/enumval.exp
13703 * gdb.base/environ.exp
13704 * gdb.base/eu-strip-infcall.exp
13705 * gdb.base/eval-avoid-side-effects.exp
13706 * gdb.base/eval-skip.exp
13707 * gdb.base/exitsignal.exp
13708 * gdb.base/expand-psymtabs.exp
13709 * gdb.base/filesym.exp
13710 * gdb.base/find-unmapped.exp
13711 * gdb.base/finish.exp
13712 * gdb.base/float.exp
13713 * gdb.base/foll-exec-mode.exp
13714 * gdb.base/foll-exec.exp
13715 * gdb.base/foll-fork.exp
13716 * gdb.base/fortran-sym-case.exp
13717 * gdb.base/freebpcmd.exp
13718 * gdb.base/func-ptr.exp
13719 * gdb.base/func-ptrs.exp
13720 * gdb.base/funcargs.exp
13721 * gdb.base/gcore-buffer-overflow.exp
13722 * gdb.base/gcore-relro-pie.exp
13723 * gdb.base/gcore-relro.exp
13724 * gdb.base/gcore.exp
13725 * gdb.base/gdb1090.exp
13726 * gdb.base/gdb11530.exp
13727 * gdb.base/gdb11531.exp
13728 * gdb.base/gdb1821.exp
13729 * gdb.base/gdbindex-stabs.exp
13730 * gdb.base/gdbvars.exp
13731 * gdb.base/hbreak.exp
13732 * gdb.base/hbreak2.exp
13733 * gdb.base/included.exp
13734 * gdb.base/infcall-input.exp
13735 * gdb.base/inferior-died.exp
13736 * gdb.base/infnan.exp
13737 * gdb.base/info-macros.exp
13738 * gdb.base/info-os.exp
13739 * gdb.base/info-proc.exp
13740 * gdb.base/info-shared.exp
13741 * gdb.base/info-target.exp
13742 * gdb.base/infoline.exp
13743 * gdb.base/interp.exp
13744 * gdb.base/interrupt.exp
13745 * gdb.base/jit-reader.exp
13746 * gdb.base/jit-simple.exp
13747 * gdb.base/kill-after-signal.exp
13748 * gdb.base/kill-detach-inferiors-cmd.exp
13749 * gdb.base/label.exp
13750 * gdb.base/langs.exp
13751 * gdb.base/ldbl_e308.exp
13752 * gdb.base/line-symtabs.exp
13753 * gdb.base/linespecs.exp
13754 * gdb.base/list.exp
13755 * gdb.base/long_long.exp
13756 * gdb.base/longest-types.exp
13757 * gdb.base/maint.exp
13758 * gdb.base/max-value-size.exp
13759 * gdb.base/memattr.exp
13760 * gdb.base/mips_pro.exp
13761 * gdb.base/morestack.exp
13762 * gdb.base/moribund-step.exp
13763 * gdb.base/multi-forks.exp
13764 * gdb.base/nested-addr.exp
13765 * gdb.base/nextoverexit.exp
13766 * gdb.base/noreturn-finish.exp
13767 * gdb.base/noreturn-return.exp
13768 * gdb.base/nostdlib.exp
13769 * gdb.base/offsets.exp
13770 * gdb.base/opaque.exp
13771 * gdb.base/pc-fp.exp
13772 * gdb.base/permissions.exp
13773 * gdb.base/print-symbol-loading.exp
13774 * gdb.base/prologue-include.exp
13775 * gdb.base/psymtab.exp
13776 * gdb.base/ptype.exp
13777 * gdb.base/random-signal.exp
13778 * gdb.base/randomize.exp
13779 * gdb.base/range-stepping.exp
13780 * gdb.base/readline-ask.exp
13781 * gdb.base/recpar.exp
13782 * gdb.base/recurse.exp
13783 * gdb.base/relational.exp
13784 * gdb.base/restore.exp
13785 * gdb.base/return-nodebug.exp
13786 * gdb.base/return.exp
13787 * gdb.base/run-after-attach.exp
13788 * gdb.base/save-bp.exp
13789 * gdb.base/scope.exp
13790 * gdb.base/sect-cmd.exp
13791 * gdb.base/set-lang-auto.exp
13792 * gdb.base/set-noassign.exp
13793 * gdb.base/setvar.exp
13794 * gdb.base/sigall.exp
13795 * gdb.base/sigbpt.exp
13796 * gdb.base/siginfo-addr.exp
13797 * gdb.base/siginfo-infcall.exp
13798 * gdb.base/siginfo-obj.exp
13799 * gdb.base/siginfo.exp
13800 * gdb.base/signals-state-child.exp
13801 * gdb.base/signest.exp
13802 * gdb.base/sigstep.exp
13803 * gdb.base/sizeof.exp
13804 * gdb.base/skip.exp
13805 * gdb.base/solib-corrupted.exp
13806 * gdb.base/solib-nodir.exp
13807 * gdb.base/solib-search.exp
13808 * gdb.base/stack-checking.exp
13809 * gdb.base/stale-infcall.exp
13810 * gdb.base/stap-probe.exp
13811 * gdb.base/start.exp
13812 * gdb.base/step-break.exp
13813 * gdb.base/step-bt.exp
13814 * gdb.base/step-line.exp
13815 * gdb.base/step-over-exit.exp
13816 * gdb.base/step-over-syscall.exp
13817 * gdb.base/step-resume-infcall.exp
13818 * gdb.base/step-test.exp
13819 * gdb.base/store.exp
13820 * gdb.base/structs3.exp
13821 * gdb.base/sym-file.exp
13822 * gdb.base/symbol-without-target_section.exp
13823 * gdb.base/term.exp
13824 * gdb.base/testenv.exp
13825 * gdb.base/ui-redirect.exp
13826 * gdb.base/until.exp
13827 * gdb.base/unwindonsignal.exp
13828 * gdb.base/value-double-free.exp
13829 * gdb.base/vla-datatypes.exp
13830 * gdb.base/vla-ptr.exp
13831 * gdb.base/vla-sideeffect.exp
13832 * gdb.base/volatile.exp
13833 * gdb.base/watch-cond-infcall.exp
13834 * gdb.base/watch-cond.exp
13835 * gdb.base/watch-non-mem.exp
13836 * gdb.base/watch-read.exp
13837 * gdb.base/watch-vfork.exp
13838 * gdb.base/watchpoint-cond-gone.exp
13839 * gdb.base/watchpoint-delete.exp
13840 * gdb.base/watchpoint-hw-hit-once.exp
13841 * gdb.base/watchpoint-hw.exp
13842 * gdb.base/watchpoint-stops-at-right-insn.exp
13843 * gdb.base/watchpoints.exp
13844 * gdb.base/wchar.exp
13845 * gdb.base/whatis-exp.exp
13846 * gdb.btrace/buffer-size.exp
13847 * gdb.btrace/data.exp
13848 * gdb.btrace/delta.exp
13849 * gdb.btrace/dlopen.exp
13850 * gdb.btrace/enable.exp
13851 * gdb.btrace/exception.exp
13852 * gdb.btrace/function_call_history.exp
13853 * gdb.btrace/gcore.exp
13854 * gdb.btrace/instruction_history.exp
13855 * gdb.btrace/nohist.exp
13856 * gdb.btrace/reconnect.exp
13857 * gdb.btrace/record_goto-step.exp
13858 * gdb.btrace/record_goto.exp
13859 * gdb.btrace/rn-dl-bind.exp
13860 * gdb.btrace/segv.exp
13861 * gdb.btrace/step.exp
13862 * gdb.btrace/stepi.exp
13863 * gdb.btrace/tailcall-only.exp
13864 * gdb.btrace/tailcall.exp
13865 * gdb.btrace/tsx.exp
13866 * gdb.btrace/unknown_functions.exp
13867 * gdb.btrace/vdso.exp
13868 * gdb.compile/compile-ifunc.exp
13869 * gdb.compile/compile-ops.exp
13870 * gdb.compile/compile-print.exp
13871 * gdb.compile/compile-setjmp.exp
13872 * gdb.cp/abstract-origin.exp
13873 * gdb.cp/ambiguous.exp
13874 * gdb.cp/annota2.exp
13875 * gdb.cp/annota3.exp
13876 * gdb.cp/anon-ns.exp
13877 * gdb.cp/anon-struct.exp
13878 * gdb.cp/anon-union.exp
13879 * gdb.cp/arg-reference.exp
13880 * gdb.cp/baseenum.exp
13881 * gdb.cp/bool.exp
13882 * gdb.cp/breakpoint.exp
13883 * gdb.cp/bs15503.exp
13884 * gdb.cp/call-c.exp
13885 * gdb.cp/casts.exp
13886 * gdb.cp/chained-calls.exp
13887 * gdb.cp/class2.exp
13888 * gdb.cp/classes.exp
13889 * gdb.cp/cmpd-minsyms.exp
13890 * gdb.cp/converts.exp
13891 * gdb.cp/cp-relocate.exp
13892 * gdb.cp/cpcompletion.exp
13893 * gdb.cp/cpexprs.exp
13894 * gdb.cp/cplabel.exp
13895 * gdb.cp/cplusfuncs.exp
13896 * gdb.cp/cpsizeof.exp
13897 * gdb.cp/ctti.exp
13898 * gdb.cp/derivation.exp
13899 * gdb.cp/destrprint.exp
13900 * gdb.cp/dispcxx.exp
13901 * gdb.cp/enum-class.exp
13902 * gdb.cp/exception.exp
13903 * gdb.cp/exceptprint.exp
13904 * gdb.cp/expand-psymtabs-cxx.exp
13905 * gdb.cp/expand-sals.exp
13906 * gdb.cp/extern-c.exp
13907 * gdb.cp/filename.exp
13908 * gdb.cp/formatted-ref.exp
13909 * gdb.cp/fpointer.exp
13910 * gdb.cp/gdb1355.exp
13911 * gdb.cp/gdb2495.exp
13912 * gdb.cp/hang.exp
13913 * gdb.cp/impl-this.exp
13914 * gdb.cp/infcall-dlopen.exp
13915 * gdb.cp/inherit.exp
13916 * gdb.cp/iostream.exp
13917 * gdb.cp/koenig.exp
13918 * gdb.cp/local.exp
13919 * gdb.cp/m-data.exp
13920 * gdb.cp/m-static.exp
13921 * gdb.cp/mb-ctor.exp
13922 * gdb.cp/mb-inline.exp
13923 * gdb.cp/mb-templates.exp
13924 * gdb.cp/member-name.exp
13925 * gdb.cp/member-ptr.exp
13926 * gdb.cp/meth-typedefs.exp
13927 * gdb.cp/method.exp
13928 * gdb.cp/method2.exp
13929 * gdb.cp/minsym-fallback.exp
13930 * gdb.cp/misc.exp
13931 * gdb.cp/namelessclass.exp
13932 * gdb.cp/namespace-enum.exp
13933 * gdb.cp/namespace-nested-import.exp
13934 * gdb.cp/namespace.exp
13935 * gdb.cp/nextoverthrow.exp
13936 * gdb.cp/no-dmgl-verbose.exp
13937 * gdb.cp/non-trivial-retval.exp
13938 * gdb.cp/noparam.exp
13939 * gdb.cp/nsdecl.exp
13940 * gdb.cp/nsimport.exp
13941 * gdb.cp/nsnested.exp
13942 * gdb.cp/nsnoimports.exp
13943 * gdb.cp/nsrecurs.exp
13944 * gdb.cp/nsstress.exp
13945 * gdb.cp/nsusing.exp
13946 * gdb.cp/operator.exp
13947 * gdb.cp/oranking.exp
13948 * gdb.cp/overload-const.exp
13949 * gdb.cp/overload.exp
13950 * gdb.cp/ovldbreak.exp
13951 * gdb.cp/ovsrch.exp
13952 * gdb.cp/paren-type.exp
13953 * gdb.cp/parse-lang.exp
13954 * gdb.cp/pass-by-ref.exp
13955 * gdb.cp/pr-1023.exp
13956 * gdb.cp/pr-1210.exp
13957 * gdb.cp/pr-574.exp
13958 * gdb.cp/pr10687.exp
13959 * gdb.cp/pr12028.exp
13960 * gdb.cp/pr17132.exp
13961 * gdb.cp/pr17494.exp
13962 * gdb.cp/pr9067.exp
13963 * gdb.cp/pr9167.exp
13964 * gdb.cp/pr9631.exp
13965 * gdb.cp/printmethod.exp
13966 * gdb.cp/psmang.exp
13967 * gdb.cp/psymtab-parameter.exp
13968 * gdb.cp/ptype-cv-cp.exp
13969 * gdb.cp/ptype-flags.exp
13970 * gdb.cp/re-set-overloaded.exp
13971 * gdb.cp/ref-types.exp
13972 * gdb.cp/rtti.exp
13973 * gdb.cp/scope-err.exp
13974 * gdb.cp/shadow.exp
13975 * gdb.cp/smartp.exp
13976 * gdb.cp/static-method.exp
13977 * gdb.cp/static-print-quit.exp
13978 * gdb.cp/temargs.exp
13979 * gdb.cp/templates.exp
13980 * gdb.cp/try_catch.exp
13981 * gdb.cp/typedef-operator.exp
13982 * gdb.cp/typeid.exp
13983 * gdb.cp/userdef.exp
13984 * gdb.cp/using-crash.exp
13985 * gdb.cp/var-tag.exp
13986 * gdb.cp/virtbase.exp
13987 * gdb.cp/virtfunc.exp
13988 * gdb.cp/virtfunc2.exp
13989 * gdb.cp/vla-cxx.exp
13990 * gdb.disasm/t01_mov.exp
13991 * gdb.disasm/t02_mova.exp
13992 * gdb.disasm/t03_add.exp
13993 * gdb.disasm/t04_sub.exp
13994 * gdb.disasm/t05_cmp.exp
13995 * gdb.disasm/t06_ari2.exp
13996 * gdb.disasm/t07_ari3.exp
13997 * gdb.disasm/t08_or.exp
13998 * gdb.disasm/t09_xor.exp
13999 * gdb.disasm/t10_and.exp
14000 * gdb.disasm/t11_logs.exp
14001 * gdb.disasm/t12_bit.exp
14002 * gdb.disasm/t13_otr.exp
14003 * gdb.dlang/circular.exp
14004 * gdb.dwarf2/arr-stride.exp
14005 * gdb.dwarf2/arr-subrange.exp
14006 * gdb.dwarf2/atomic-type.exp
14007 * gdb.dwarf2/bad-regnum.exp
14008 * gdb.dwarf2/bitfield-parent-optimized-out.exp
14009 * gdb.dwarf2/callframecfa.exp
14010 * gdb.dwarf2/clztest.exp
14011 * gdb.dwarf2/corrupt.exp
14012 * gdb.dwarf2/data-loc.exp
14013 * gdb.dwarf2/dup-psym.exp
14014 * gdb.dwarf2/dw2-anon-mptr.exp
14015 * gdb.dwarf2/dw2-anonymous-func.exp
14016 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
14017 * gdb.dwarf2/dw2-bad-unresolved.exp
14018 * gdb.dwarf2/dw2-basic.exp
14019 * gdb.dwarf2/dw2-canonicalize-type.exp
14020 * gdb.dwarf2/dw2-case-insensitive.exp
14021 * gdb.dwarf2/dw2-common-block.exp
14022 * gdb.dwarf2/dw2-compdir-oldgcc.exp
14023 * gdb.dwarf2/dw2-compressed.exp
14024 * gdb.dwarf2/dw2-const.exp
14025 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
14026 * gdb.dwarf2/dw2-cu-size.exp
14027 * gdb.dwarf2/dw2-dup-frame.exp
14028 * gdb.dwarf2/dw2-entry-value.exp
14029 * gdb.dwarf2/dw2-icycle.exp
14030 * gdb.dwarf2/dw2-ifort-parameter.exp
14031 * gdb.dwarf2/dw2-inline-break.exp
14032 * gdb.dwarf2/dw2-inline-param.exp
14033 * gdb.dwarf2/dw2-intercu.exp
14034 * gdb.dwarf2/dw2-intermix.exp
14035 * gdb.dwarf2/dw2-lexical-block-bare.exp
14036 * gdb.dwarf2/dw2-linkage-name-trust.exp
14037 * gdb.dwarf2/dw2-minsym-in-cu.exp
14038 * gdb.dwarf2/dw2-noloc.exp
14039 * gdb.dwarf2/dw2-op-call.exp
14040 * gdb.dwarf2/dw2-op-out-param.exp
14041 * gdb.dwarf2/dw2-opt-structptr.exp
14042 * gdb.dwarf2/dw2-param-error.exp
14043 * gdb.dwarf2/dw2-producer.exp
14044 * gdb.dwarf2/dw2-ranges-base.exp
14045 * gdb.dwarf2/dw2-ref-missing-frame.exp
14046 * gdb.dwarf2/dw2-reg-undefined.exp
14047 * gdb.dwarf2/dw2-regno-invalid.exp
14048 * gdb.dwarf2/dw2-restore.exp
14049 * gdb.dwarf2/dw2-restrict.exp
14050 * gdb.dwarf2/dw2-single-line-discriminators.exp
14051 * gdb.dwarf2/dw2-strp.exp
14052 * gdb.dwarf2/dw2-undefined-ret-addr.exp
14053 * gdb.dwarf2/dw2-unresolved.exp
14054 * gdb.dwarf2/dw2-var-zero-addr.exp
14055 * gdb.dwarf2/dw4-sig-types.exp
14056 * gdb.dwarf2/dwz.exp
14057 * gdb.dwarf2/dynarr-ptr.exp
14058 * gdb.dwarf2/enum-type.exp
14059 * gdb.dwarf2/gdb-index.exp
14060 * gdb.dwarf2/implptr-64bit.exp
14061 * gdb.dwarf2/implptr-optimized-out.exp
14062 * gdb.dwarf2/implptr.exp
14063 * gdb.dwarf2/implref-array.exp
14064 * gdb.dwarf2/implref-const.exp
14065 * gdb.dwarf2/implref-global.exp
14066 * gdb.dwarf2/implref-struct.exp
14067 * gdb.dwarf2/mac-fileno.exp
14068 * gdb.dwarf2/main-subprogram.exp
14069 * gdb.dwarf2/member-ptr-forwardref.exp
14070 * gdb.dwarf2/method-ptr.exp
14071 * gdb.dwarf2/missing-sig-type.exp
14072 * gdb.dwarf2/nonvar-access.exp
14073 * gdb.dwarf2/opaque-type-lookup.exp
14074 * gdb.dwarf2/pieces-optimized-out.exp
14075 * gdb.dwarf2/pieces.exp
14076 * gdb.dwarf2/pr10770.exp
14077 * gdb.dwarf2/pr13961.exp
14078 * gdb.dwarf2/staticvirtual.exp
14079 * gdb.dwarf2/subrange.exp
14080 * gdb.dwarf2/symtab-producer.exp
14081 * gdb.dwarf2/trace-crash.exp
14082 * gdb.dwarf2/typeddwarf.exp
14083 * gdb.dwarf2/valop.exp
14084 * gdb.dwarf2/watch-notconst.exp
14085 * gdb.fortran/array-element.exp
14086 * gdb.fortran/charset.exp
14087 * gdb.fortran/common-block.exp
14088 * gdb.fortran/complex.exp
14089 * gdb.fortran/derived-type-function.exp
14090 * gdb.fortran/derived-type.exp
14091 * gdb.fortran/logical.exp
14092 * gdb.fortran/module.exp
14093 * gdb.fortran/multi-dim.exp
14094 * gdb.fortran/nested-funcs.exp
14095 * gdb.fortran/print-formatted.exp
14096 * gdb.fortran/subarray.exp
14097 * gdb.fortran/vla-alloc-assoc.exp
14098 * gdb.fortran/vla-datatypes.exp
14099 * gdb.fortran/vla-history.exp
14100 * gdb.fortran/vla-ptr-info.exp
14101 * gdb.fortran/vla-ptype-sub.exp
14102 * gdb.fortran/vla-ptype.exp
14103 * gdb.fortran/vla-sizeof.exp
14104 * gdb.fortran/vla-type.exp
14105 * gdb.fortran/vla-value-sub-arbitrary.exp
14106 * gdb.fortran/vla-value-sub-finish.exp
14107 * gdb.fortran/vla-value-sub.exp
14108 * gdb.fortran/vla-value.exp
14109 * gdb.fortran/whatis_type.exp
14110 * gdb.go/chan.exp
14111 * gdb.go/handcall.exp
14112 * gdb.go/hello.exp
14113 * gdb.go/integers.exp
14114 * gdb.go/methods.exp
14115 * gdb.go/package.exp
14116 * gdb.go/strings.exp
14117 * gdb.go/types.exp
14118 * gdb.go/unsafe.exp
14119 * gdb.guile/scm-arch.exp
14120 * gdb.guile/scm-block.exp
14121 * gdb.guile/scm-breakpoint.exp
14122 * gdb.guile/scm-cmd.exp
14123 * gdb.guile/scm-disasm.exp
14124 * gdb.guile/scm-equal.exp
14125 * gdb.guile/scm-frame-args.exp
14126 * gdb.guile/scm-frame-inline.exp
14127 * gdb.guile/scm-frame.exp
14128 * gdb.guile/scm-iterator.exp
14129 * gdb.guile/scm-math.exp
14130 * gdb.guile/scm-objfile.exp
14131 * gdb.guile/scm-ports.exp
14132 * gdb.guile/scm-symbol.exp
14133 * gdb.guile/scm-symtab.exp
14134 * gdb.guile/scm-value-cc.exp
14135 * gdb.guile/types-module.exp
14136 * gdb.linespec/break-ask.exp
14137 * gdb.linespec/cpexplicit.exp
14138 * gdb.linespec/explicit.exp
14139 * gdb.linespec/keywords.exp
14140 * gdb.linespec/linespec.exp
14141 * gdb.linespec/ls-dollar.exp
14142 * gdb.linespec/ls-errs.exp
14143 * gdb.linespec/skip-two.exp
14144 * gdb.linespec/thread.exp
14145 * gdb.mi/mi-async.exp
14146 * gdb.mi/mi-basics.exp
14147 * gdb.mi/mi-break.exp
14148 * gdb.mi/mi-catch-load.exp
14149 * gdb.mi/mi-cli.exp
14150 * gdb.mi/mi-cmd-param-changed.exp
14151 * gdb.mi/mi-console.exp
14152 * gdb.mi/mi-detach.exp
14153 * gdb.mi/mi-disassemble.exp
14154 * gdb.mi/mi-eval.exp
14155 * gdb.mi/mi-file-transfer.exp
14156 * gdb.mi/mi-file.exp
14157 * gdb.mi/mi-fill-memory.exp
14158 * gdb.mi/mi-inheritance-syntax-error.exp
14159 * gdb.mi/mi-linespec-err-cp.exp
14160 * gdb.mi/mi-logging.exp
14161 * gdb.mi/mi-memory-changed.exp
14162 * gdb.mi/mi-read-memory.exp
14163 * gdb.mi/mi-record-changed.exp
14164 * gdb.mi/mi-reg-undefined.exp
14165 * gdb.mi/mi-regs.exp
14166 * gdb.mi/mi-return.exp
14167 * gdb.mi/mi-reverse.exp
14168 * gdb.mi/mi-simplerun.exp
14169 * gdb.mi/mi-solib.exp
14170 * gdb.mi/mi-stack.exp
14171 * gdb.mi/mi-stepi.exp
14172 * gdb.mi/mi-syn-frame.exp
14173 * gdb.mi/mi-until.exp
14174 * gdb.mi/mi-var-block.exp
14175 * gdb.mi/mi-var-child.exp
14176 * gdb.mi/mi-var-cmd.exp
14177 * gdb.mi/mi-var-cp.exp
14178 * gdb.mi/mi-var-display.exp
14179 * gdb.mi/mi-var-invalidate.exp
14180 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
14181 * gdb.mi/mi-vla-fortran.exp
14182 * gdb.mi/mi-watch.exp
14183 * gdb.mi/mi2-var-child.exp
14184 * gdb.mi/user-selected-context-sync.exp
14185 * gdb.modula2/unbounded-array.exp
14186 * gdb.multi/dummy-frame-restore.exp
14187 * gdb.multi/multi-arch-exec.exp
14188 * gdb.multi/multi-arch.exp
14189 * gdb.multi/tids.exp
14190 * gdb.multi/watchpoint-multi.exp
14191 * gdb.opencl/callfuncs.exp
14192 * gdb.opencl/convs_casts.exp
14193 * gdb.opencl/datatypes.exp
14194 * gdb.opencl/operators.exp
14195 * gdb.opencl/vec_comps.exp
14196 * gdb.opt/clobbered-registers-O2.exp
14197 * gdb.opt/inline-break.exp
14198 * gdb.opt/inline-bt.exp
14199 * gdb.opt/inline-cmds.exp
14200 * gdb.opt/inline-locals.exp
14201 * gdb.pascal/case-insensitive-symbols.exp
14202 * gdb.pascal/floats.exp
14203 * gdb.pascal/gdb11492.exp
14204 * gdb.python/lib-types.exp
14205 * gdb.python/py-arch.exp
14206 * gdb.python/py-as-string.exp
14207 * gdb.python/py-bad-printers.exp
14208 * gdb.python/py-block.exp
14209 * gdb.python/py-breakpoint-create-fail.exp
14210 * gdb.python/py-breakpoint.exp
14211 * gdb.python/py-caller-is.exp
14212 * gdb.python/py-cmd.exp
14213 * gdb.python/py-explore-cc.exp
14214 * gdb.python/py-explore.exp
14215 * gdb.python/py-finish-breakpoint.exp
14216 * gdb.python/py-finish-breakpoint2.exp
14217 * gdb.python/py-frame-args.exp
14218 * gdb.python/py-frame-inline.exp
14219 * gdb.python/py-frame.exp
14220 * gdb.python/py-framefilter-mi.exp
14221 * gdb.python/py-infthread.exp
14222 * gdb.python/py-lazy-string.exp
14223 * gdb.python/py-linetable.exp
14224 * gdb.python/py-mi-events.exp
14225 * gdb.python/py-mi-objfile.exp
14226 * gdb.python/py-mi.exp
14227 * gdb.python/py-objfile.exp
14228 * gdb.python/py-pp-integral.exp
14229 * gdb.python/py-pp-maint.exp
14230 * gdb.python/py-pp-re-notag.exp
14231 * gdb.python/py-pp-registration.exp
14232 * gdb.python/py-recurse-unwind.exp
14233 * gdb.python/py-strfns.exp
14234 * gdb.python/py-symbol.exp
14235 * gdb.python/py-symtab.exp
14236 * gdb.python/py-sync-interp.exp
14237 * gdb.python/py-typeprint.exp
14238 * gdb.python/py-unwind-maint.exp
14239 * gdb.python/py-unwind.exp
14240 * gdb.python/py-value-cc.exp
14241 * gdb.python/py-xmethods.exp
14242 * gdb.reverse/amd64-tailcall-reverse.exp
14243 * gdb.reverse/break-precsave.exp
14244 * gdb.reverse/break-reverse.exp
14245 * gdb.reverse/consecutive-precsave.exp
14246 * gdb.reverse/consecutive-reverse.exp
14247 * gdb.reverse/finish-precsave.exp
14248 * gdb.reverse/finish-reverse-bkpt.exp
14249 * gdb.reverse/finish-reverse.exp
14250 * gdb.reverse/fstatat-reverse.exp
14251 * gdb.reverse/getresuid-reverse.exp
14252 * gdb.reverse/i386-precsave.exp
14253 * gdb.reverse/i386-reverse.exp
14254 * gdb.reverse/i386-sse-reverse.exp
14255 * gdb.reverse/i387-env-reverse.exp
14256 * gdb.reverse/i387-stack-reverse.exp
14257 * gdb.reverse/insn-reverse.exp
14258 * gdb.reverse/machinestate-precsave.exp
14259 * gdb.reverse/machinestate.exp
14260 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14261 * gdb.reverse/pipe-reverse.exp
14262 * gdb.reverse/readv-reverse.exp
14263 * gdb.reverse/recvmsg-reverse.exp
14264 * gdb.reverse/rerun-prec.exp
14265 * gdb.reverse/s390-mvcle.exp
14266 * gdb.reverse/step-precsave.exp
14267 * gdb.reverse/step-reverse.exp
14268 * gdb.reverse/time-reverse.exp
14269 * gdb.reverse/until-precsave.exp
14270 * gdb.reverse/until-reverse.exp
14271 * gdb.reverse/waitpid-reverse.exp
14272 * gdb.reverse/watch-precsave.exp
14273 * gdb.reverse/watch-reverse.exp
14274 * gdb.rust/generics.exp
14275 * gdb.rust/methods.exp
14276 * gdb.rust/modules.exp
14277 * gdb.rust/simple.exp
14278 * gdb.server/connect-with-no-symbol-file.exp
14279 * gdb.server/ext-attach.exp
14280 * gdb.server/ext-restart.exp
14281 * gdb.server/ext-wrapper.exp
14282 * gdb.server/file-transfer.exp
14283 * gdb.server/server-exec-info.exp
14284 * gdb.server/server-kill.exp
14285 * gdb.server/server-mon.exp
14286 * gdb.server/wrapper.exp
14287 * gdb.stabs/exclfwd.exp
14288 * gdb.stabs/gdb11479.exp
14289 * gdb.threads/clone-new-thread-event.exp
14290 * gdb.threads/corethreads.exp
14291 * gdb.threads/current-lwp-dead.exp
14292 * gdb.threads/dlopen-libpthread.exp
14293 * gdb.threads/gcore-thread.exp
14294 * gdb.threads/sigstep-threads.exp
14295 * gdb.threads/watchpoint-fork.exp
14296 * gdb.trace/actions-changed.exp
14297 * gdb.trace/backtrace.exp
14298 * gdb.trace/change-loc.exp
14299 * gdb.trace/circ.exp
14300 * gdb.trace/collection.exp
14301 * gdb.trace/disconnected-tracing.exp
14302 * gdb.trace/ftrace.exp
14303 * gdb.trace/mi-trace-frame-collected.exp
14304 * gdb.trace/mi-trace-unavailable.exp
14305 * gdb.trace/mi-traceframe-changed.exp
14306 * gdb.trace/mi-tsv-changed.exp
14307 * gdb.trace/no-attach-trace.exp
14308 * gdb.trace/passc-dyn.exp
14309 * gdb.trace/qtro.exp
14310 * gdb.trace/range-stepping.exp
14311 * gdb.trace/read-memory.exp
14312 * gdb.trace/save-trace.exp
14313 * gdb.trace/signal.exp
14314 * gdb.trace/status-stop.exp
14315 * gdb.trace/tfile.exp
14316 * gdb.trace/trace-break.exp
14317 * gdb.trace/trace-buffer-size.exp
14318 * gdb.trace/trace-condition.exp
14319 * gdb.trace/tracefile-pseudo-reg.exp
14320 * gdb.trace/tstatus.exp
14321 * gdb.trace/unavailable.exp
14322 * gdb.trace/while-dyn.exp
14323 * gdb.trace/while-stepping.exp
14324
34c41c68
DE
143252016-12-22 Doug Evans <xdje42@gmail.com>
14326
14327 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14328 and msymbols.
14329
16e69324
YQ
143302016-12-19 Yao Qi <yao.qi@linaro.org>
14331
14332 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14333 (test_with_self): Don't call do_steps_and_nexts, and remove
14334 code about stepping into xmalloc.
14335
f94f411b
YQ
143362016-12-09 Yao Qi <yao.qi@linaro.org>
14337
14338 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14339
143402016-12-09 Yao Qi <yao.qi@linaro.org>
14341
14342 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14343
f1b5deee
PA
143442016-12-09 Pedro Alves <palves@redhat.com>
14345
14346 * gdb.base/all-architectures-0.exp: New file.
14347 * gdb.base/all-architectures-1.exp: New file.
14348 * gdb.base/all-architectures-2.exp: New file.
14349 * gdb.base/all-architectures-3.exp: New file.
14350 * gdb.base/all-architectures-4.exp: New file.
14351 * gdb.base/all-architectures-5.exp: New file.
14352 * gdb.base/all-architectures-6.exp: New file.
14353 * gdb.base/all-architectures-7.exp: New file.
14354 * gdb.base/all-architectures.exp.in: New file.
14355
364ca42e
YQ
143562016-12-09 Yao Qi <yao.qi@linaro.org>
14357
14358 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14359
107c2d62
LM
143602016-12-02 Luis Machado <lgustavo@codesourcery.com>
14361
14362 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14363 possible.
14364 Remove useless pattern-matching code.
14365
df3ee9ca
PA
143662016-12-02 Pedro Alves <palves@redhat.com>
14367
14368 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14369 procedure.
14370 (top level): Call it.
14371
ec835369
PA
143722016-12-02 Pedro Alves <palves@redhat.com>
14373
14374 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14375 New procedure.
14376 (top level): Call it.
14377
01770bbd
PA
143782016-12-02 Pedro Alves <palves@redhat.com>
14379
14380 PR cli/20559
14381 * gdb.base/commands.exp (user_defined_command_args_eval): New
14382 procedure.
14383 (top level): Call it.
14384
008459ea
LM
143852016-12-02 Luis Machado <lgustavo@codesourcery.com>
14386
14387 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14388 timeout handling.
14389
0c1b455e
TT
143902016-12-02 Tom Tromey <tom@tromey.com>
14391
14392 * gdb.dwarf2/main-subprogram.c: New file.
14393 * gdb.dwarf2/main-subprogram.exp: New file.
14394
018572b8
LM
143952016-12-01 Luis Machado <lgustavo@codesourcery.com>
14396
14397 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14398 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14399 gdb_test_no_output for a couple of cases.
14400 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14401
84c93cd5
LM
144022016-12-01 Luis Machado <lgustavo@codesourcery.com>
14403
14404 Fix test names and standardize compilation error messages throughout
14405 the following files:
14406
14407 * gdb.ada/start.exp
14408 * gdb.arch/alpha-step.exp
14409 * gdb.arch/e500-prologue.exp
14410 * gdb.arch/ftrace-insn-reloc.exp
14411 * gdb.arch/gdb1291.exp
14412 * gdb.arch/gdb1431.exp
14413 * gdb.arch/gdb1558.exp
14414 * gdb.arch/i386-dr3-watch.exp
14415 * gdb.arch/i386-sse-stack-align.exp
14416 * gdb.arch/ia64-breakpoint-shadow.exp
14417 * gdb.arch/pa-nullify.exp
14418 * gdb.arch/powerpc-aix-prologue.exp
14419 * gdb.arch/thumb-bx-pc.exp
14420 * gdb.base/annota1.exp
14421 * gdb.base/annota3.exp
14422 * gdb.base/arrayidx.exp
14423 * gdb.base/assign.exp
14424 * gdb.base/attach.exp
14425 * gdb.base/auxv.exp
14426 * gdb.base/bang.exp
14427 * gdb.base/bfp-test.exp
14428 * gdb.base/bigcore.exp
14429 * gdb.base/bitfields2.exp
14430 * gdb.base/break-fun-addr.exp
14431 * gdb.base/break-probes.exp
14432 * gdb.base/call-rt-st.exp
14433 * gdb.base/callexit.exp
14434 * gdb.base/catch-fork-kill.exp
14435 * gdb.base/charset.exp
14436 * gdb.base/checkpoint.exp
14437 * gdb.base/comprdebug.exp
14438 * gdb.base/constvars.exp
14439 * gdb.base/coredump-filter.exp
14440 * gdb.base/cursal.exp
14441 * gdb.base/cvexpr.exp
14442 * gdb.base/detach.exp
14443 * gdb.base/display.exp
14444 * gdb.base/dmsym.exp
14445 * gdb.base/dprintf-pending.exp
14446 * gdb.base/dso2dso.exp
14447 * gdb.base/dtrace-probe.exp
14448 * gdb.base/dump.exp
14449 * gdb.base/enum_cond.exp
14450 * gdb.base/exe-lock.exp
14451 * gdb.base/exec-invalid-sysroot.exp
14452 * gdb.base/execl-update-breakpoints.exp
14453 * gdb.base/exprs.exp
14454 * gdb.base/fileio.exp
14455 * gdb.base/find.exp
14456 * gdb.base/finish.exp
14457 * gdb.base/fixsection.exp
14458 * gdb.base/foll-vfork.exp
14459 * gdb.base/frame-args.exp
14460 * gdb.base/gcore.exp
14461 * gdb.base/gdb1250.exp
14462 * gdb.base/global-var-nested-by-dso.exp
14463 * gdb.base/gnu-ifunc.exp
14464 * gdb.base/hashline1.exp
14465 * gdb.base/hashline2.exp
14466 * gdb.base/hashline3.exp
14467 * gdb.base/hbreak-in-shr-unsupported.exp
14468 * gdb.base/huge.exp
14469 * gdb.base/infcall-input.exp
14470 * gdb.base/info-fun.exp
14471 * gdb.base/info-shared.exp
14472 * gdb.base/jit-simple.exp
14473 * gdb.base/jit-so.exp
14474 * gdb.base/jit.exp
14475 * gdb.base/jump.exp
14476 * gdb.base/label.exp
14477 * gdb.base/lineinc.exp
14478 * gdb.base/logical.exp
14479 * gdb.base/longjmp.exp
14480 * gdb.base/macscp.exp
14481 * gdb.base/miscexprs.exp
14482 * gdb.base/new-ui-echo.exp
14483 * gdb.base/new-ui-pending-input.exp
14484 * gdb.base/new-ui.exp
14485 * gdb.base/nodebug.exp
14486 * gdb.base/nofield.exp
14487 * gdb.base/offsets.exp
14488 * gdb.base/overlays.exp
14489 * gdb.base/pending.exp
14490 * gdb.base/pointers.exp
14491 * gdb.base/pr11022.exp
14492 * gdb.base/printcmds.exp
14493 * gdb.base/prologue.exp
14494 * gdb.base/ptr-typedef.exp
14495 * gdb.base/realname-expand.exp
14496 * gdb.base/relativedebug.exp
14497 * gdb.base/relocate.exp
14498 * gdb.base/remote.exp
14499 * gdb.base/reread.exp
14500 * gdb.base/return2.exp
14501 * gdb.base/savedregs.exp
14502 * gdb.base/sep.exp
14503 * gdb.base/sepdebug.exp
14504 * gdb.base/sepsymtab.exp
14505 * gdb.base/set-inferior-tty.exp
14506 * gdb.base/setshow.exp
14507 * gdb.base/shlib-call.exp
14508 * gdb.base/sigaltstack.exp
14509 * gdb.base/siginfo-addr.exp
14510 * gdb.base/signals.exp
14511 * gdb.base/signull.exp
14512 * gdb.base/sigrepeat.exp
14513 * gdb.base/so-impl-ld.exp
14514 * gdb.base/solib-display.exp
14515 * gdb.base/solib-overlap.exp
14516 * gdb.base/solib-search.exp
14517 * gdb.base/solib-symbol.exp
14518 * gdb.base/structs.exp
14519 * gdb.base/structs2.exp
14520 * gdb.base/symtab-search-order.exp
14521 * gdb.base/twice.exp
14522 * gdb.base/unload.exp
14523 * gdb.base/varargs.exp
14524 * gdb.base/watchpoint-solib.exp
14525 * gdb.base/watchpoint.exp
14526 * gdb.base/whatis.exp
14527 * gdb.base/wrong_frame_bt_full.exp
14528 * gdb.btrace/dlopen.exp
14529 * gdb.cell/ea-standalone.exp
14530 * gdb.cell/ea-test.exp
14531 * gdb.cp/dispcxx.exp
14532 * gdb.cp/gdb2384.exp
14533 * gdb.cp/method2.exp
14534 * gdb.cp/nextoverthrow.exp
14535 * gdb.cp/pr10728.exp
14536 * gdb.disasm/am33.exp
14537 * gdb.disasm/h8300s.exp
14538 * gdb.disasm/mn10300.exp
14539 * gdb.disasm/sh3.exp
14540 * gdb.dwarf2/dw2-dir-file-name.exp
14541 * gdb.fortran/complex.exp
14542 * gdb.fortran/library-module.exp
14543 * gdb.guile/scm-pretty-print.exp
14544 * gdb.guile/scm-symbol.exp
14545 * gdb.guile/scm-type.exp
14546 * gdb.guile/scm-value.exp
14547 * gdb.linespec/linespec.exp
14548 * gdb.mi/gdb701.exp
14549 * gdb.mi/gdb792.exp
14550 * gdb.mi/mi-breakpoint-changed.exp
14551 * gdb.mi/mi-dprintf-pending.exp
14552 * gdb.mi/mi-dprintf.exp
14553 * gdb.mi/mi-exit-code.exp
14554 * gdb.mi/mi-pending.exp
14555 * gdb.mi/mi-solib.exp
14556 * gdb.mi/new-ui-mi-sync.exp
14557 * gdb.mi/pr11022.exp
14558 * gdb.mi/user-selected-context-sync.exp
14559 * gdb.opt/solib-intra-step.exp
14560 * gdb.python/py-events.exp
14561 * gdb.python/py-finish-breakpoint.exp
14562 * gdb.python/py-mi.exp
14563 * gdb.python/py-prettyprint.exp
14564 * gdb.python/py-shared.exp
14565 * gdb.python/py-symbol.exp
14566 * gdb.python/py-template.exp
14567 * gdb.python/py-type.exp
14568 * gdb.python/py-value.exp
14569 * gdb.reverse/solib-precsave.exp
14570 * gdb.reverse/solib-reverse.exp
14571 * gdb.server/solib-list.exp
14572 * gdb.stabs/weird.exp
14573 * gdb.threads/reconnect-signal.exp
14574 * gdb.threads/stepi-random-signal.exp
14575 * gdb.trace/actions.exp
14576 * gdb.trace/ax.exp
14577 * gdb.trace/backtrace.exp
14578 * gdb.trace/change-loc.exp
14579 * gdb.trace/deltrace.exp
14580 * gdb.trace/ftrace-lock.exp
14581 * gdb.trace/ftrace.exp
14582 * gdb.trace/infotrace.exp
14583 * gdb.trace/mi-tracepoint-changed.exp
14584 * gdb.trace/packetlen.exp
14585 * gdb.trace/passcount.exp
14586 * gdb.trace/pending.exp
14587 * gdb.trace/range-stepping.exp
14588 * gdb.trace/report.exp
14589 * gdb.trace/stap-trace.exp
14590 * gdb.trace/tfind.exp
14591 * gdb.trace/trace-break.exp
14592 * gdb.trace/trace-condition.exp
14593 * gdb.trace/trace-enable-disable.exp
14594 * gdb.trace/trace-mt.exp
14595 * gdb.trace/tracecmd.exp
14596 * gdb.trace/tspeed.exp
14597 * gdb.trace/tsv.exp
14598 * lib/perftest.exp
14599
fb9feb35
LM
146002016-12-01 Luis Machado <lgustavo@codesourcery.com>
14601
14602 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14603 with gdb_test_no_output.
14604 Use command as test name.
14605
cd2ddb6c
LM
146062016-12-01 Luis Machado <lgustavo@codesourcery.com>
14607
14608 Fix test names starting with uppercase throughout the files.
14609
14610 * gdb.ada/assign_1.exp
14611 * gdb.ada/boolean_expr.exp
14612 * gdb.base/arrayidx.exp
14613 * gdb.base/del.exp
14614 * gdb.base/gcore-buffer-overflow.exp
14615 * gdb.base/testenv.exp
14616 * gdb.compile/compile.exp
14617 * gdb.python/py-framefilter-invalidarg.exp
14618 * gdb.python/py-framefilter.exp
14619
bb95117e
LM
146202016-12-01 Luis Machado <lgustavo@codesourcery.com>
14621
14622 Fix test names starting with uppercase throughout the files.
14623
14624 * gdb.ada/array_return.exp
14625 * gdb.ada/expr_delims.exp
14626 * gdb.ada/mi_dyn_arr.exp
14627 * gdb.ada/mi_interface.exp
14628 * gdb.ada/mi_var_array.exp
14629 * gdb.ada/watch_arg.exp
14630 * gdb.arch/alpha-step.exp
14631 * gdb.arch/altivec-regs.exp
14632 * gdb.arch/e500-regs.exp
14633 * gdb.arch/powerpc-d128-regs.exp
14634 * gdb.base/arrayidx.exp
14635 * gdb.base/break.exp
14636 * gdb.base/checkpoint.exp
14637 * gdb.base/debug-expr.exp
14638 * gdb.base/dmsym.exp
14639 * gdb.base/radix.exp
14640 * gdb.base/sepdebug.exp
14641 * gdb.base/testenv.exp
14642 * gdb.base/watch_thread_num.exp
14643 * gdb.base/watchpoint-cond-gone.exp
14644 * gdb.cell/break.exp
14645 * gdb.cell/ea-cache.exp
14646 * gdb.compile/compile.exp
14647 * gdb.cp/gdb2495.exp
14648 * gdb.gdb/selftest.exp
14649 * gdb.gdb/xfullpath.exp
14650 * gdb.go/hello.exp
14651 * gdb.go/integers.exp
14652 * gdb.objc/basicclass.exp
14653 * gdb.pascal/hello.exp
14654 * gdb.pascal/integers.exp
14655 * gdb.python/py-breakpoint.exp
14656 * gdb.python/py-cmd.exp
14657 * gdb.python/py-linetable.exp
14658 * gdb.python/py-xmethods.exp
14659 * gdb.python/python.exp
14660 * gdb.reverse/consecutive-precsave.exp
14661 * gdb.reverse/finish-precsave.exp
14662 * gdb.reverse/i386-precsave.exp
14663 * gdb.reverse/machinestate-precsave.exp
14664 * gdb.reverse/sigall-precsave.exp
14665 * gdb.reverse/solib-precsave.exp
14666 * gdb.reverse/step-precsave.exp
14667 * gdb.reverse/until-precsave.exp
14668 * gdb.reverse/watch-precsave.exp
14669 * gdb.threads/leader-exit.exp
14670 * gdb.threads/pthreads.exp
14671 * gdb.threads/wp-replication.exp
14672 * gdb.trace/actions.exp
14673 * gdb.trace/mi-tsv-changed.exp
14674 * gdb.trace/tsv.exp
14675
de97fdd4
LM
146762016-12-01 Luis Machado <lgustavo@codesourcery.com>
14677
14678 Fix test names starting with uppercase throughout the files.
14679
14680 * gdb.arch/i386-bp_permanent.exp
14681 * gdb.arch/i386-gnu-cfi.exp
14682 * gdb.base/disasm-end-cu.exp
14683 * gdb.base/macscp.exp
14684 * gdb.base/pending.exp
14685 * gdb.base/watch_thread_num.exp
14686 * gdb.cp/exception.exp
14687 * gdb.cp/gdb2495.exp
14688 * gdb.cp/local.exp
14689 * gdb.python/py-evsignal.exp
14690 * gdb.python/python.exp
14691 * gdb.trace/tracecmd.exp
14692
9f058c10
LM
146932016-12-01 Luis Machado <lgustavo@codesourcery.com>
14694
14695 Fix test names starting with uppercase throughout the files.
14696
14697 * gdb.base/charset.exp
14698 * gdb.base/eval.exp
14699 * gdb.base/multi-forks.exp
14700 * gdb.guile/scm-progspace.exp
14701 * gdb.opencl/datatypes.exp
14702 * gdb.python/py-block.exp
14703 * gdb.python/py-function.exp
14704 * gdb.python/py-symbol.exp
14705 * gdb.python/py-symtab.exp
14706 * gdb.python/py-xmethods.exp
14707 * gdb.reverse/break-precsave.exp
14708 * gdb.reverse/break-reverse.exp
14709 * gdb.reverse/consecutive-precsave.exp
14710 * gdb.reverse/consecutive-reverse.exp
14711 * gdb.reverse/finish-precsave.exp
14712 * gdb.reverse/finish-reverse-bkpt.exp
14713 * gdb.reverse/finish-reverse.exp
14714 * gdb.reverse/fstatat-reverse.exp
14715 * gdb.reverse/getresuid-reverse.exp
14716 * gdb.reverse/i386-precsave.exp
14717 * gdb.reverse/i386-reverse.exp
14718 * gdb.reverse/i386-sse-reverse.exp
14719 * gdb.reverse/i387-stack-reverse.exp
14720 * gdb.reverse/insn-reverse.exp
14721 * gdb.reverse/machinestate-precsave.exp
14722 * gdb.reverse/machinestate.exp
14723 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14724 * gdb.reverse/pipe-reverse.exp
14725 * gdb.reverse/readv-reverse.exp
14726 * gdb.reverse/recvmsg-reverse.exp
14727 * gdb.reverse/rerun-prec.exp
14728 * gdb.reverse/s390-mvcle.exp
14729 * gdb.reverse/sigall-precsave.exp
14730 * gdb.reverse/sigall-reverse.exp
14731 * gdb.reverse/solib-precsave.exp
14732 * gdb.reverse/solib-reverse.exp
14733 * gdb.reverse/step-precsave.exp
14734 * gdb.reverse/step-reverse.exp
14735 * gdb.reverse/time-reverse.exp
14736 * gdb.reverse/until-precsave.exp
14737 * gdb.reverse/until-reverse.exp
14738 * gdb.reverse/waitpid-reverse.exp
14739 * gdb.reverse/watch-precsave.exp
14740 * gdb.reverse/watch-reverse.exp
14741
cdc7edd7
LM
147422016-12-01 Luis Machado <lgustavo@codesourcery.com>
14743
14744 Fix test names starting with uppercase throughout the files.
14745
14746 * gdb.arch/i386-mpx-simple_segv.exp
14747 * gdb.arch/i386-mpx.exp
14748 * gdb.arch/i386-permbkpt.exp
14749 * gdb.arch/pa-nullify.exp
14750 * gdb.arch/powerpc-d128-regs.exp
14751 * gdb.arch/vsx-regs.exp
14752 * gdb.base/bfp-test.exp
14753 * gdb.base/break.exp
14754 * gdb.base/breakpoint-shadow.exp
14755 * gdb.base/callfuncs.exp
14756 * gdb.base/charset.exp
14757 * gdb.base/commands.exp
14758 * gdb.base/completion.exp
14759 * gdb.base/dfp-test.exp
14760 * gdb.base/echo.exp
14761 * gdb.base/ending-run.exp
14762 * gdb.base/eval.exp
14763 * gdb.base/expand-psymtabs.exp
14764 * gdb.base/float128.exp
14765 * gdb.base/floatn.exp
14766 * gdb.base/foll-exec-mode.exp
14767 * gdb.base/gdb1056.exp
14768 * gdb.base/gdb11531.exp
14769 * gdb.base/kill-after-signal.exp
14770 * gdb.base/multi-forks.exp
14771 * gdb.base/overlays.exp
14772 * gdb.base/pending.exp
14773 * gdb.base/sepdebug.exp
14774 * gdb.base/testenv.exp
14775 * gdb.base/valgrind-db-attach.exp
14776 * gdb.base/watch_thread_num.exp
14777 * gdb.base/watchpoint-cond-gone.exp
14778 * gdb.base/watchpoint.exp
14779 * gdb.base/watchpoints.exp
14780 * gdb.cp/arg-reference.exp
14781 * gdb.cp/baseenum.exp
14782 * gdb.cp/operator.exp
14783 * gdb.cp/shadow.exp
14784 * gdb.dwarf2/dw2-op-out-param.exp
14785 * gdb.dwarf2/dw2-reg-undefined.exp
14786 * gdb.go/chan.exp
14787 * gdb.go/hello.exp
14788 * gdb.go/integers.exp
14789 * gdb.go/methods.exp
14790 * gdb.go/package.exp
14791 * gdb.guile/scm-parameter.exp
14792 * gdb.guile/scm-progspace.exp
14793 * gdb.guile/scm-value.exp
14794 * gdb.mi/mi-pending.exp
14795 * gdb.mi/user-selected-context-sync.exp
14796 * gdb.multi/multi-attach.exp
14797 * gdb.multi/tids.exp
14798 * gdb.opt/clobbered-registers-O2.exp
14799 * gdb.pascal/floats.exp
14800 * gdb.pascal/integers.exp
14801 * gdb.python/py-block.exp
14802 * gdb.python/py-events.exp
14803 * gdb.python/py-parameter.exp
14804 * gdb.python/py-symbol.exp
14805 * gdb.python/py-symtab.exp
14806 * gdb.python/py-type.exp
14807 * gdb.python/py-value.exp
14808 * gdb.python/py-xmethods.exp
14809 * gdb.python/python.exp
14810 * gdb.reverse/break-precsave.exp
14811 * gdb.reverse/consecutive-precsave.exp
14812 * gdb.reverse/finish-precsave.exp
14813 * gdb.reverse/i386-precsave.exp
14814 * gdb.reverse/machinestate-precsave.exp
14815 * gdb.reverse/sigall-precsave.exp
14816 * gdb.reverse/solib-precsave.exp
14817 * gdb.reverse/step-precsave.exp
14818 * gdb.reverse/until-precsave.exp
14819 * gdb.reverse/watch-precsave.exp
14820 * gdb.server/ext-attach.exp
14821 * gdb.server/ext-restart.exp
14822 * gdb.server/ext-run.exp
14823 * gdb.server/ext-wrapper.exp
14824 * gdb.stabs/gdb11479.exp
14825 * gdb.stabs/weird.exp
14826 * gdb.threads/attach-many-short-lived-threads.exp
14827 * gdb.threads/kill.exp
14828 * gdb.threads/watchpoint-fork.exp
14829
bc6c7af4
LM
148302016-12-01 Luis Machado <lgustavo@codesourcery.com>
14831
14832 Fix test names starting with uppercase throughout all the files below.
14833
14834 * gdb.ada/array_return.exp
14835 * gdb.ada/catch_ex.exp
14836 * gdb.ada/info_exc.exp
14837 * gdb.ada/mi_catch_ex.exp
14838 * gdb.ada/mi_dyn_arr.exp
14839 * gdb.ada/mi_ex_cond.exp
14840 * gdb.ada/mi_exc_info.exp
14841 * gdb.ada/mi_interface.exp
14842 * gdb.ada/mi_task_arg.exp
14843 * gdb.ada/mi_task_info.exp
14844 * gdb.ada/mi_var_array.exp
14845 * gdb.arch/alpha-step.exp
14846 * gdb.arch/amd64-disp-step.exp
14847 * gdb.arch/arm-disp-step.exp
14848 * gdb.arch/disp-step-insn-reloc.exp
14849 * gdb.arch/e500-prologue.exp
14850 * gdb.arch/ftrace-insn-reloc.exp
14851 * gdb.arch/gdb1558.exp
14852 * gdb.arch/i386-bp_permanent.exp
14853 * gdb.arch/i386-disp-step.exp
14854 * gdb.arch/i386-float.exp
14855 * gdb.arch/i386-gnu-cfi.exp
14856 * gdb.arch/ia64-breakpoint-shadow.exp
14857 * gdb.arch/mips16-thunks.exp
14858 * gdb.arch/pa-nullify.exp
14859 * gdb.arch/powerpc-aix-prologue.exp
14860 * gdb.arch/powerpc-power.exp
14861 * gdb.arch/ppc-dfp.exp
14862 * gdb.arch/s390-tdbregs.exp
14863 * gdb.arch/spu-info.exp
14864 * gdb.arch/spu-ls.exp
14865 * gdb.arch/thumb-bx-pc.exp
14866 * gdb.base/advance.exp
14867 * gdb.base/annota-input-while-running.exp
14868 * gdb.base/arrayidx.exp
14869 * gdb.base/asmlabel.exp
14870 * gdb.base/async.exp
14871 * gdb.base/attach-wait-input.exp
14872 * gdb.base/auto-connect-native-target.exp
14873 * gdb.base/batch-preserve-term-settings.exp
14874 * gdb.base/bfp-test.exp
14875 * gdb.base/bigcore.exp
14876 * gdb.base/bp-permanent.exp
14877 * gdb.base/break-always.exp
14878 * gdb.base/break-fun-addr.exp
14879 * gdb.base/break-idempotent.exp
14880 * gdb.base/break-main-file-remove-fail.exp
14881 * gdb.base/break-probes.exp
14882 * gdb.base/break-unload-file.exp
14883 * gdb.base/break.exp
14884 * gdb.base/call-ar-st.exp
14885 * gdb.base/call-rt-st.exp
14886 * gdb.base/call-sc.exp
14887 * gdb.base/call-signal-resume.exp
14888 * gdb.base/call-strs.exp
14889 * gdb.base/callexit.exp
14890 * gdb.base/callfuncs.exp
14891 * gdb.base/catch-gdb-caused-signals.exp
14892 * gdb.base/catch-signal-siginfo-cond.exp
14893 * gdb.base/catch-syscall.exp
14894 * gdb.base/compare-sections.exp
14895 * gdb.base/cond-eval-mode.exp
14896 * gdb.base/condbreak-call-false.exp
14897 * gdb.base/consecutive-step-over.exp
14898 * gdb.base/cursal.exp
14899 * gdb.base/disabled-location.exp
14900 * gdb.base/disasm-end-cu.exp
14901 * gdb.base/display.exp
14902 * gdb.base/double-prompt-target-event-error.exp
14903 * gdb.base/dprintf-bp-same-addr.exp
14904 * gdb.base/dprintf-detach.exp
14905 * gdb.base/dprintf-next.exp
14906 * gdb.base/dprintf-non-stop.exp
14907 * gdb.base/dprintf-pending.exp
14908 * gdb.base/dso2dso.exp
14909 * gdb.base/ending-run.exp
14910 * gdb.base/enum_cond.exp
14911 * gdb.base/examine-backward.exp
14912 * gdb.base/exe-lock.exp
14913 * gdb.base/exec-invalid-sysroot.exp
14914 * gdb.base/execl-update-breakpoints.exp
14915 * gdb.base/execution-termios.exp
14916 * gdb.base/fileio.exp
14917 * gdb.base/fixsection.exp
14918 * gdb.base/foll-exec-mode.exp
14919 * gdb.base/foll-exec.exp
14920 * gdb.base/fork-running-state.exp
14921 * gdb.base/frame-args.exp
14922 * gdb.base/fullpath-expand.exp
14923 * gdb.base/func-ptr.exp
14924 * gdb.base/gcore-relro-pie.exp
14925 * gdb.base/gdb1090.exp
14926 * gdb.base/gdb1555.exp
14927 * gdb.base/global-var-nested-by-dso.exp
14928 * gdb.base/gnu-ifunc.exp
14929 * gdb.base/hbreak-in-shr-unsupported.exp
14930 * gdb.base/hbreak-unmapped.exp
14931 * gdb.base/hook-stop.exp
14932 * gdb.base/infcall-input.exp
14933 * gdb.base/info-fun.exp
14934 * gdb.base/info-shared.exp
14935 * gdb.base/interrupt-noterm.exp
14936 * gdb.base/jit-so.exp
14937 * gdb.base/jit.exp
14938 * gdb.base/line-symtabs.exp
14939 * gdb.base/list.exp
14940 * gdb.base/longjmp.exp
14941 * gdb.base/macscp.exp
14942 * gdb.base/max-value-size.exp
14943 * gdb.base/nodebug.exp
14944 * gdb.base/nofield.exp
14945 * gdb.base/overlays.exp
14946 * gdb.base/paginate-after-ctrl-c-running.exp
14947 * gdb.base/paginate-bg-execution.exp
14948 * gdb.base/paginate-inferior-exit.exp
14949 * gdb.base/pending.exp
14950 * gdb.base/pr11022.exp
14951 * gdb.base/printcmds.exp
14952 * gdb.base/ptr-typedef.exp
14953 * gdb.base/ptype.exp
14954 * gdb.base/randomize.exp
14955 * gdb.base/range-stepping.exp
14956 * gdb.base/realname-expand.exp
14957 * gdb.base/relativedebug.exp
14958 * gdb.base/remote.exp
14959 * gdb.base/savedregs.exp
14960 * gdb.base/sepdebug.exp
14961 * gdb.base/set-noassign.exp
14962 * gdb.base/shlib-call.exp
14963 * gdb.base/shreloc.exp
14964 * gdb.base/sigaltstack.exp
14965 * gdb.base/sigbpt.exp
14966 * gdb.base/siginfo-addr.exp
14967 * gdb.base/siginfo-obj.exp
14968 * gdb.base/siginfo-thread.exp
14969 * gdb.base/signest.exp
14970 * gdb.base/signull.exp
14971 * gdb.base/sigrepeat.exp
14972 * gdb.base/skip.exp
14973 * gdb.base/so-impl-ld.exp
14974 * gdb.base/solib-corrupted.exp
14975 * gdb.base/solib-disc.exp
14976 * gdb.base/solib-display.exp
14977 * gdb.base/solib-overlap.exp
14978 * gdb.base/solib-search.exp
14979 * gdb.base/solib-symbol.exp
14980 * gdb.base/source-execution.exp
14981 * gdb.base/sss-bp-on-user-bp-2.exp
14982 * gdb.base/sss-bp-on-user-bp.exp
14983 * gdb.base/stack-checking.exp
14984 * gdb.base/stale-infcall.exp
14985 * gdb.base/step-break.exp
14986 * gdb.base/step-line.exp
14987 * gdb.base/step-over-exit.exp
14988 * gdb.base/step-test.exp
14989 * gdb.base/structs.exp
14990 * gdb.base/sym-file.exp
14991 * gdb.base/symtab-search-order.exp
14992 * gdb.base/term.exp
14993 * gdb.base/type-opaque.exp
14994 * gdb.base/unload.exp
14995 * gdb.base/until-nodebug.exp
14996 * gdb.base/until.exp
14997 * gdb.base/unwindonsignal.exp
14998 * gdb.base/watch-cond.exp
14999 * gdb.base/watch-non-mem.exp
15000 * gdb.base/watch_thread_num.exp
15001 * gdb.base/watchpoint-reuse-slot.exp
15002 * gdb.base/watchpoint-solib.exp
15003 * gdb.base/watchpoint.exp
15004 * gdb.btrace/dlopen.exp
15005 * gdb.cell/arch.exp
15006 * gdb.cell/break.exp
15007 * gdb.cell/bt.exp
15008 * gdb.cell/core.exp
15009 * gdb.cell/data.exp
15010 * gdb.cell/dwarfaddr.exp
15011 * gdb.cell/ea-cache.exp
15012 * gdb.cell/ea-standalone.exp
15013 * gdb.cell/ea-test.exp
15014 * gdb.cell/f-regs.exp
15015 * gdb.cell/fork.exp
15016 * gdb.cell/gcore.exp
15017 * gdb.cell/mem-access.exp
15018 * gdb.cell/ptype.exp
15019 * gdb.cell/registers.exp
15020 * gdb.cell/sizeof.exp
15021 * gdb.cell/solib-symbol.exp
15022 * gdb.cell/solib.exp
15023 * gdb.compile/compile-tls.exp
15024 * gdb.cp/exception.exp
15025 * gdb.cp/gdb2495.exp
15026 * gdb.cp/local.exp
15027 * gdb.cp/mb-inline.exp
15028 * gdb.cp/mb-templates.exp
15029 * gdb.cp/pr10687.exp
15030 * gdb.cp/pr9167.exp
15031 * gdb.cp/scope-err.exp
15032 * gdb.cp/templates.exp
15033 * gdb.cp/virtfunc.exp
15034 * gdb.dwarf2/dw2-dir-file-name.exp
15035 * gdb.dwarf2/dw2-single-line-discriminators.exp
15036 * gdb.fortran/complex.exp
15037 * gdb.fortran/library-module.exp
15038 * gdb.guile/guile.exp
15039 * gdb.guile/scm-cmd.exp
15040 * gdb.guile/scm-frame-inline.exp
15041 * gdb.guile/scm-objfile.exp
15042 * gdb.guile/scm-pretty-print.exp
15043 * gdb.guile/scm-symbol.exp
15044 * gdb.guile/scm-type.exp
15045 * gdb.guile/scm-value.exp
15046 * gdb.linespec/keywords.exp
15047 * gdb.linespec/ls-errs.exp
15048 * gdb.linespec/macro-relative.exp
15049 * gdb.linespec/thread.exp
15050 * gdb.mi/mi-breakpoint-changed.exp
15051 * gdb.mi/mi-dprintf-pending.exp
15052 * gdb.mi/mi-fullname-deleted.exp
15053 * gdb.mi/mi-logging.exp
15054 * gdb.mi/mi-pending.exp
15055 * gdb.mi/mi-solib.exp
15056 * gdb.mi/new-ui-mi-sync.exp
15057 * gdb.mi/user-selected-context-sync.exp
15058 * gdb.multi/dummy-frame-restore.exp
15059 * gdb.multi/multi-arch-exec.exp
15060 * gdb.multi/remove-inferiors.exp
15061 * gdb.multi/watchpoint-multi-exit.exp
15062 * gdb.opt/solib-intra-step.exp
15063 * gdb.perf/backtrace.exp
15064 * gdb.perf/single-step.exp
15065 * gdb.perf/skip-command.exp
15066 * gdb.perf/skip-prologue.exp
15067 * gdb.perf/solib.exp
15068 * gdb.python/lib-types.exp
15069 * gdb.python/py-as-string.exp
15070 * gdb.python/py-bad-printers.exp
15071 * gdb.python/py-block.exp
15072 * gdb.python/py-breakpoint.exp
15073 * gdb.python/py-cmd.exp
15074 * gdb.python/py-events.exp
15075 * gdb.python/py-evthreads.exp
15076 * gdb.python/py-finish-breakpoint.exp
15077 * gdb.python/py-finish-breakpoint2.exp
15078 * gdb.python/py-frame-inline.exp
15079 * gdb.python/py-frame.exp
15080 * gdb.python/py-inferior.exp
15081 * gdb.python/py-infthread.exp
15082 * gdb.python/py-mi.exp
15083 * gdb.python/py-objfile.exp
15084 * gdb.python/py-pp-maint.exp
15085 * gdb.python/py-pp-registration.exp
15086 * gdb.python/py-prettyprint.exp
15087 * gdb.python/py-recurse-unwind.exp
15088 * gdb.python/py-shared.exp
15089 * gdb.python/py-symbol.exp
15090 * gdb.python/py-symtab.exp
15091 * gdb.python/py-template.exp
15092 * gdb.python/py-type.exp
15093 * gdb.python/py-unwind-maint.exp
15094 * gdb.python/py-unwind.exp
15095 * gdb.python/py-value.exp
15096 * gdb.python/python.exp
15097 * gdb.reverse/finish-reverse-bkpt.exp
15098 * gdb.reverse/insn-reverse.exp
15099 * gdb.reverse/next-reverse-bkpt-over-sr.exp
15100 * gdb.reverse/solib-precsave.exp
15101 * gdb.reverse/solib-reverse.exp
15102 * gdb.stabs/gdb11479.exp
15103 * gdb.stabs/weird.exp
15104 * gdb.threads/fork-child-threads.exp
15105 * gdb.threads/fork-plus-threads.exp
15106 * gdb.threads/fork-thread-pending.exp
15107 * gdb.threads/forking-threads-plus-breakpoint.exp
15108 * gdb.threads/hand-call-in-threads.exp
15109 * gdb.threads/interrupted-hand-call.exp
15110 * gdb.threads/linux-dp.exp
15111 * gdb.threads/local-watch-wrong-thread.exp
15112 * gdb.threads/next-while-other-thread-longjmps.exp
15113 * gdb.threads/non-ldr-exit.exp
15114 * gdb.threads/pending-step.exp
15115 * gdb.threads/print-threads.exp
15116 * gdb.threads/process-dies-while-detaching.exp
15117 * gdb.threads/process-dies-while-handling-bp.exp
15118 * gdb.threads/pthreads.exp
15119 * gdb.threads/queue-signal.exp
15120 * gdb.threads/reconnect-signal.exp
15121 * gdb.threads/signal-command-handle-nopass.exp
15122 * gdb.threads/signal-command-multiple-signals-pending.exp
15123 * gdb.threads/signal-delivered-right-thread.exp
15124 * gdb.threads/signal-sigtrap.exp
15125 * gdb.threads/sigthread.exp
15126 * gdb.threads/staticthreads.exp
15127 * gdb.threads/stepi-random-signal.exp
15128 * gdb.threads/thread-unwindonsignal.exp
15129 * gdb.threads/thread_check.exp
15130 * gdb.threads/thread_events.exp
15131 * gdb.threads/tid-reuse.exp
15132 * gdb.threads/tls-nodebug.exp
15133 * gdb.threads/tls-shared.exp
15134 * gdb.threads/tls-so_extern.exp
15135 * gdb.threads/tls.exp
15136 * gdb.threads/wp-replication.exp
15137 * gdb.trace/actions-changed.exp
15138 * gdb.trace/actions.exp
15139 * gdb.trace/backtrace.exp
15140 * gdb.trace/change-loc.exp
15141 * gdb.trace/collection.exp
15142 * gdb.trace/deltrace.exp
15143 * gdb.trace/disconnected-tracing.exp
15144 * gdb.trace/entry-values.exp
15145 * gdb.trace/ftrace-lock.exp
15146 * gdb.trace/ftrace.exp
15147 * gdb.trace/infotrace.exp
15148 * gdb.trace/mi-trace-frame-collected.exp
15149 * gdb.trace/mi-trace-unavailable.exp
15150 * gdb.trace/mi-traceframe-changed.exp
15151 * gdb.trace/mi-tracepoint-changed.exp
15152 * gdb.trace/mi-tsv-changed.exp
15153 * gdb.trace/no-attach-trace.exp
15154 * gdb.trace/packetlen.exp
15155 * gdb.trace/passc-dyn.exp
15156 * gdb.trace/passcount.exp
15157 * gdb.trace/pending.exp
15158 * gdb.trace/pr16508.exp
15159 * gdb.trace/qtro.exp
15160 * gdb.trace/range-stepping.exp
15161 * gdb.trace/read-memory.exp
15162 * gdb.trace/report.exp
15163 * gdb.trace/save-trace.exp
15164 * gdb.trace/signal.exp
15165 * gdb.trace/stap-trace.exp
15166 * gdb.trace/status-stop.exp
15167 * gdb.trace/strace.exp
15168 * gdb.trace/tfile.exp
15169 * gdb.trace/tfind.exp
15170 * gdb.trace/trace-break.exp
15171 * gdb.trace/trace-condition.exp
15172 * gdb.trace/trace-enable-disable.exp
15173 * gdb.trace/trace-mt.exp
15174 * gdb.trace/tracecmd.exp
15175 * gdb.trace/tracefile-pseudo-reg.exp
15176 * gdb.trace/tspeed.exp
15177 * gdb.trace/tstatus.exp
15178 * gdb.trace/tsv.exp
15179 * gdb.trace/unavailable.exp
15180 * gdb.trace/while-dyn.exp
15181 * gdb.trace/while-stepping.exp
15182 * lib/gdb-guile.exp
15183 * lib/gdb.exp
15184 * lib/mi-support.exp
15185 * lib/pascal.exp
15186 * lib/perftest.exp
15187 * lib/prelink-support.exp
15188 * lib/selftest-support.exp
15189
ad02e4fe
SM
151902016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
15191
15192 * Makefile.in: Include disable-implicit-rules.mk.
15193
22347e55
AA
151942016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15195
15196 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
15197 non-byte-aligned bit fields.
15198
da5b30da
AA
151992016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15200
15201 PR gdb/12616
15202 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
15203 respects the DW_AT_data_bit_offset attribute.
15204
b593ecca
SM
152052016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
15206
15207 * gdb.base/default.exp: Fix output of "set language".
15208
3b165252
SM
152092016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
15210
15211 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
15212 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
15213 make.
15214 * configure.ac: Remove checks for the make program.
15215 * configure: Re-generate.
15216
1a2f3d7f
KB
152172016-11-16 Kevin Buettner <kevinb@redhat.com>
15218
15219 * gdb.python/py-recurse-unwind.c (main): Add loop.
15220 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
15221 to read_register() and gdb.parse_and_eval(). Make each code
15222 call a separate case that can be individually tested.
15223 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
15224 proc. Call cont_and_backtrace for each of the code paths that
15225 we want to test in the unwinder.
15226
b7f38fda
AA
152272016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
15228
15229 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
15230 the definition of struct S.
15231
1f8db343
CM
152322016-11-11 Catherine Moore <clm@codesourcery.com>
15233
15234 * gdb.base/dump.exp: Identify verilog format dump tests as such.
15235
fad0c9fb
PA
152362016-11-09 Pedro Alves <palves@redhat.com>
15237
15238 * gdb.base/commands.exp (runto_or_return): New procedure.
15239 (gdbvar_simple_if_test, gdbvar_simple_while_test)
15240 (gdbvar_complex_if_while_test, progvar_simple_if_test)
15241 (progvar_simple_while_test, progvar_complex_if_while_test)
15242 (if_while_breakpoint_command_test)
15243 (infrun_breakpoint_command_test, breakpoint_command_test)
15244 (user_defined_command_test, watchpoint_command_test)
15245 (test_command_prompt_position, redefine_hook_test)
15246 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
15247 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
15248 multi_line_input and multi_line. Remove gdb_expect and
15249 gdb_stop_suppressing_tests uses.
15250 * lib/gdb.exp (valnum_re): New global.
15251 (multi_line_input): New procedure.
15252
8354c62c
SM
152532016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
15254
15255 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
15256 Remove.
15257 (test_setup): Define with proc_with_prefix.
15258 (test_cli_inferior): Likewise.
15259 (test_cli_thread): Likewise.
15260 (test_cli_frame): Likewise.
15261 (test_cli_select_frame): Likewise.
15262 (test_cli_up_down): Likewise.
15263 (test_mi_thread_select): Likewise.
15264 (test_mi_stack_select_frame): Likewise.
15265 (test_cli_in_mi_inferior): Likewise.
15266 (test_cli_in_mi_thread): Likewise.
15267 (test_cli_in_mi_frame): Likewise.
15268 (top level): Do not use with_test_prefix_procname.
15269
64f367a2
PA
152702016-11-09 Pedro Alves <palves@redhat.com>
15271
15272 * gdb.base/commands.exp (gdbvar_simple_if_test)
15273 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
15274 (progvar_simple_if_test, progvar_simple_while_test)
15275 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
15276 (infrun_breakpoint_command_test, breakpoint_command_test)
15277 (user_defined_command_test, watchpoint_command_test)
15278 (test_command_prompt_position, deprecated_command_test)
15279 (bp_deleted_in_command, temporary_breakpoint_commands)
15280 (stray_arg0_test, source_file_with_indented_comment)
15281 (recursive_source_test, if_commands_test)
15282 (error_clears_commands_left, redefine_hook_test)
15283 (redefine_backtrace_test): Use proc_with_prefix.
15284 * lib/gdb.exp (proc_with_prefix): New proc.
15285
0bb65f1e
AA
152862016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15287
15288 * gdb.base/tui-layout.c: New file.
15289 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
15290 disassembly window contains very long lines.
15291
7353f247
TT
152922016-11-08 Tom Tromey <tom@tromey.com>
15293
15294 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15295 depend on Python 2.
15296
30a7bb83
TT
152972016-11-08 Tom Tromey <tom@tromey.com>
15298
15299 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15300 New method.
15301
cdf5a07c
MG
153022016-10-29 Manish Goregaokar <manish@mozilla.com>
15303
2806dc7e 15304 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 15305
51a789c3
MG
153062016-10-27 Manish Goregaokar <manish@mozilla.com>
15307
2806dc7e
PA
15308 * gdb.rust/simple.rs: Add test for univariant enums without
15309 discriminants and for encoded struct-like enums.
51a789c3 15310
f610ab6d
PA
153112016-10-28 Pedro Alves <palves@redhat.com>
15312
15313 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15314 gdb_test_multiple, tighten regexps and match symtabs and line
15315 tables incrementally.
15316
b129b0ca
LM
153172016-10-28 Luis Machado <lgustavo@codesourcery.com>
15318
15319 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15320 general.
15321
ecf45d2c
SL
153222016-10-25 Luis Machado <lgustavo@codesourcery.com>
15323
15324 * gdb.base/exec-invalid-sysroot.exp: New file.
15325
b8d38ee4
JK
153262016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15327
15328 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15329
f90fd8c2
JK
153302016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15331
15332 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15333
2d2476aa
MR
153342016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15335
2806dc7e
PA
15336 * gdb.base/killed-outside.exp: Remove $options from a call to
15337 `prepare_for_testing'.
2d2476aa 15338
e42b25a0
SM
153392016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15340
15341 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15342 Change test message.
15343
3ccdb432
SM
153442016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15345
15346 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15347 Update comment.
15348
5bad3170
SM
153492016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15350
15351 * gdb.trace/mi-trace-save.exp: New file.
15352
5ad9dba7
YQ
153532016-10-13 Yao Qi <yao.qi@linaro.org>
15354
15355 * gdb.base/code_elim.exp (get_var_address): Remove.
15356 * gdb.base/relocate.exp: Likewise.
15357 * gdb.base/shreloc.exp: Likewise.
15358 * lib/gdb.exp (get_var_address): New.
15359
62df7e21
YQ
153602016-10-13 Yao Qi <yao.qi@linaro.org>
15361
15362 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15363 floating point tests if $skip_float_test is false.
15364
4dac951e
LM
153652016-10-12 Luis Machado <lgustavo@codesourcery.com>
15366
15367 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15368 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15369 argc values.
15370 Add 1 to argc so we guarantee distinct initial/modified argc values.
15371
8f1a8fc4
JK
153722016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15373
15374 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15375
16c85b5d
JK
153762016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15377
15378 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15379 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15380 * gdb.arch/vsx-regs.exp: Likewise.
15381
1d0e042a
YQ
153822016-10-07 Yao Qi <yao.qi@linaro.org>
15383
15384 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15385
68dadef5
MM
153862016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15387
15388 * gdb.python/python.exp: Test decode_line("*0").
15389
33fa2c6e
DE
153902016-10-06 Doug Evans <dje@google.com>
15391
15392 * gdb.python/py-value.exp (test_value_creation): Add test for large
15393 unsigned 64-bit value.
15394
9c37b5ae
TT
153952016-10-06 Tom Tromey <tom@tromey.com>
15396
15397 * gdb.compile/compile.exp: Change java tests to rust.
15398 * gdb.base/setshow.exp: Change java tests to rust.
15399 * gdb.base/default.exp: Remove java from language list.
15400 * README (Examples): Update language example.
15401 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15402 test.
15403 * lib/gdb.exp (skip_java_tests): Remove.
15404 * lib/java.exp: Remove.
15405 * gdb.java: Remove.
15406
78b86327
MR
154072016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15408
15409 * gdb.arch/mips-fcr.exp: New test.
15410 * gdb.arch/mips-fcr.c: Source for the new test.
15411
7470adbb
MR
154122016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15413
15414 * gdb.base/solib-disc.exp: Use `standard_output_file'
15415 throughout.
15416
4a556533
PA
154172016-10-06 Pedro Alves <palves@redhat.com>
15418
15419 * gdb.base/jit-simple-dl.c: New file.
15420 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15421 * gdb.base/jit-simple.c: ... this.
15422 * gdb.base/jit-simple.exp (jit_run): Delete.
15423 (build_jit): New proc.
15424 (jit_test_reread): Recompile either the main program or the shared
15425 library, depending on what is being tested. Skip changing address
15426 if caller wants to. Compare before/after addresses. If testing
15427 standalone, explicitly load the binary. Test "maint info
15428 breakpoints".
15429 (top level): Add "standalone vs shared lib" and "change address"
15430 vs "same address" axes.
15431
5a122fbc
PA
154322016-10-06 Pedro Alves <palves@redhat.com>
15433
15434 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15435 call.
15436 (jit_run): Delete.
15437 (jit_test_reread): Use with_test_prefix. Reload the main binary
15438 explicitly. Compare the before/after addresses of the JIT
15439 descriptor.
15440
ee8da4b8
DE
154412016-08-15 Doug Evans <dje@google.com>
15442
15443 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15444 for single bitfields is bool.
15445 * gdb.xml/tdesc-regs.exp: Ditto.
15446
f389f6fe
JK
154472016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15448
15449 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15450
fdebf1a4
YQ
154512016-10-05 Yao Qi <yao.qi@linaro.org>
15452
15453 * lib/gdb.exp (support_complex_tests): Return zero if
15454 gdb_skip_float_test return true.
15455
9c36d954 154562016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15457 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
15458
15459 PR gdb/20487
15460 * gdb.mi/user-selected-context-sync.exp: New file.
15461 * gdb.mi/user-selected-context-sync.c: New file.
15462
4034d0ff 154632016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15464 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
15465
15466 PR gdb/20487
15467 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15468 =thread-select-event check.
15469
a4297203
PB
154702016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15471
15472 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15473 the compulsory L operand changes.
15474 * gdb.arch/powerpc-power.s: Likewise.
15475
bb805577
JK
154762016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15477
15478 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15479 * gdb.base/jit-attach-pie.c: New file.
15480 * gdb.base/jit-attach-pie.exp: New file.
15481
6d61dee5
PA
154822016-09-28 Pedro Alves <palves@redhat.com>
15483
15484 * gdb.base/infcall-input.c: New file.
15485 * gdb.base/infcall-input.exp: New file.
15486
f73842fc
YQ
154872016-09-22 Yao Qi <yao.qi@linaro.org>
15488
15489 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15490 (gdb_exit): Rename it to ...
15491 (gdbserver_gdb_exit): ... Close GDBserver.
15492 (gdb_exit): New proc, call gdbserver_gdb_exit.
15493 (mi_gdb_exit): Likewise.
15494
90681dab
YQ
154952016-09-22 Yao Qi <yao.qi@linaro.org>
15496
15497 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15498 path.
15499 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15500 Remove duplication.
15501
9c211fd8
YQ
155022016-09-22 Yao Qi <yao.qi@linaro.org>
15503
15504 * lib/gdbserver-support.exp: Check the existence of
15505 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15506
ad0a504f
AK
155072016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15508
15509 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15510
36cf1806
TT
155112016-09-21 Tom Tromey <tom@tromey.com>
15512
15513 PR gdb/20604:
15514 * gdb.base/quit.exp: New file.
15515
74172ecf
SM
155162016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15517
15518 * .gitignore: New file.
15519
3d0ec882
MR
155202016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15521
15522 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15523 throughout.
15524
8193adea
AA
155252016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15526
15527 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15528
d41a5c09
JK
155292016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15530
15531 * gdb.cp/casts.cc (decltype): Move it ...
15532 (main): ... with its call to ...
15533 * gdb.cp/casts03.cc: ... a new file.
15534 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15535
d2dfe700
JK
155362016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15537
15538 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15539
e2a92b16
PB
155402016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15541
15542 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15543 and sync up the test with tests in gas/testsuite/gas/ppc.
15544 * gdb.arch/powerpc-power.exp: Likewise.
15545
49b4de64
JK
155462016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15547
15548 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15549
2c29df25
SDJ
155502016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15551 Jan Kratochvil <jan.kratochvil@redhat.com>
15552
15553 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15554 make m1's definition to be different from m2's. Use 'dummy' as an
15555 argument for probe 'two'.
15556
cc3c2846
JB
155572016-09-10 Jon Beniston <jon@beniston.com>
15558
15559 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15560 for sim target.
15561
e1b2624a
AA
155622016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15563
15564 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15565 variable declaration.
15566 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15567 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15568 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15569 received HWCAP as its argument.
15570
4295e285
PA
155712016-09-06 Pedro Alves <palves@redhat.com>
15572
15573 * gdb.base/new-ui-pending-input.c: New file.
15574 * gdb.base/new-ui-pending-input.exp: New file.
15575 * gdb.exp (clear_gdb_spawn_id): New procedure.
15576 (with_spawn_id): Check whether gdb_spawn_id exists before
15577 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15578 on exit.
15579
00d5215e
UW
155802016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15581
15582 * gdb.base/float128.c: New file.
15583 * gdb.base/float128.exp: Likewise.
15584 * gdb.base/floatn.c: Likewise.
15585 * gdb.base/floatn.exp: Likewise.
15586
a9ff5f12
UW
155872016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15588
15589 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15590
f245535c
PA
155912016-09-05 Pedro Alves <palves@redhat.com>
15592
15593 PR backtrace/19927
15594 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15595 unwinders are immediately called as side effect of "source" or
15596 "disable unwinder" commands.
15597 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15598
ae9cf263
YQ
155992016-09-02 Yao Qi <yao.qi@linaro.org>
15600
15601 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15602 is true and $type is "float" or "double".
15603
27aba047
YQ
156042016-09-02 Yao Qi <yao.qi@linaro.org>
15605
15606 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15607 true.
15608 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15609 * gdb.base/call-rt-st.exp: Likewise.
15610 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15611 return value instead of gdb,skip_float_test.
15612 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15613 (do_function_calls): Use its return value instead of
15614 gdb,skip_float_test.
15615 * gdb.base/finish.exp: Likewise.
15616 * gdb.base/funcargs.exp: Likewise.
15617 * gdb.base/return.exp: Likewise.
15618 * gdb.base/return2.exp: Likewise.
15619 * gdb.base/varargs.exp: Likewise.
15620 * lib/gdb.exp (gdb_skip_float_test): Change it to
15621 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15622
5af962df
AA
156232016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15624
15625 * gdb.multi/tids.exp: Test "thread apply all".
15626
7fac6910
JK
156272016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15628
15629 * gdb.base/default.exp (tty): Remove.
15630
bb1fe4ac
KB
156312016-08-24 Kevin Buettner <kevinb@redhat.com>
15632
2806dc7e
PA
15633 * gdb.python/py-recurse-unwind.c: New file.
15634 * gdb.python/py-recurse-unwind.py: New file.
15635 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15636
0a1ddfa6
SM
156372016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15638
15639 * gdb.base/set-inferior-tty.exp: New file.
15640 * gdb.base/set-inferior-tty.c: New file.
15641
d9de1fe3
PA
156422016-08-23 Pedro Alves <palves@redhat.com>
15643
15644 PR gdb/20494
15645 * gdb.base/new-ui-echo.c: New file.
15646 * gdb.base/new-ui-echo.exp: New file.
15647
e9d9abd7
YQ
156482016-08-23 Yao Qi <yao.qi@linaro.org>
15649
15650 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15651 gdbserver_spawn.
15652 * gdb.server/connect-without-multi-process.exp (do_test):
15653 Likewise.
15654
3589529e
YQ
156552016-08-23 Yao Qi <yao.qi@linaro.org>
15656
15657 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15658 standalone_txt. Delete gdb_txt and standalone_txt on host
15659 and target. Spawn the binary on target. Copy files from
15660 target to host.
15661
6bb90213
PA
156622016-08-22 Pedro Alves <palves@redhat.com>
15663
15664 PR gdb/20505
15665 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15666 with_test_prefix. Factor out bits to ...
15667 (test_no_vdso): ... this new procedure.
15668
20c2c024
CL
156692016-08-19 Carl Love <cel@us.ibm.com>
15670
15671 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15672 maintaining separate logic for constructing the output path.
15673 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15674 * gdb.arch/ppc-dfp.exp: Likewise.
15675 * gdb.arch/ppc-fp.exp: Likewise.
15676 * gdb.arch/vsx-regs.exp: Likewise.
15677 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15678 binprefix for generating the additional binary files.
15679
0646e07d
PA
156802016-08-19 Pedro Alves <palves@redhat.com>
15681
15682 * gdb.trace/mi-trace-frame-collected.exp
15683 (test_trace_frame_collected): On x32, expect two registers.
15684
46da9242
CL
156852016-08-18 Carl Love <cel@us.ibm.com>
15686
15687 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15688 and sync up the test with tests in gas/testsuite/gas/ppc.
15689 * gdb.arch/powerpc-power.exp: Likewise.
15690
eb2332d7
SM
156912016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15692
15693 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15694 expected error message.
15695
63c61e04
SM
156962016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15697
15698 * gdb.multi/remove-inferiors.exp: New file.
15699 * gdb.multi/remove-inferiors.c: New file.
15700
7b17065f
YQ
157012016-08-12 Yao Qi <yao.qi@linaro.org>
15702
15703 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15704 argument list.
15705
01d3dedf
PA
157062016-08-10 Pedro Alves <palves@redhat.com>
15707
15708 PR gdb/19187
15709 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15710 setup_kfails.
15711
3eb7562a
PA
157122016-08-09 Pedro Alves <palves@redhat.com>
15713 Simon Marchi <simon.marchi@ericsson.com>
15714
15715 PR gdb/20418
15716 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15717 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15718
80614914
PA
157192016-08-09 Pedro Alves <palves@redhat.com>
15720
15721 PR mi/20431
15722 * gdb.mi/mi-cmd-error.exp: New file.
15723
f348d89a
PA
157242016-08-09 Pedro Alves <palves@redhat.com>
15725
15726 PR gdb/18653
15727 * gdb.base/signals-state-child.c: New file.
15728 * gdb.base/signals-state-child.exp: New file.
15729 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15730
e5ca03b4
PA
157312016-08-09 Pedro Alves <palves@redhat.com>
15732
15733 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15734
282a0691
TT
157352016-08-03 Tom Tromey <tom@tromey.com>
15736
15737 PR python/18565:
15738 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15739
41bfcd63
YQ
157402016-08-01 Yao Qi <yao.qi@linaro.org>
15741
15742 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15743 variable mode to "multi-process" if $multi_process is 1, otherwise
15744 set it to "single-process".
15745
e3465b24
YQ
157462016-08-01 Yao Qi <yao.qi@linaro.org>
15747
15748 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15749 * gdb.cp/cpexprs.exp: Likewise.
15750 * gdb.cp/m-static.exp: Likewise.
15751
0b31a4bc
TT
157522016-07-26 Tom Tromey <tom@tromey.com>
15753
15754 PR python/20190:
15755 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15756 test.
15757
e0461dbb
MM
157582016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15759
15760 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15761 selecting assembly source files.
15762 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15763 assembly source files.
15764 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15765 assembly source files.
15766 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15767 selecting assembly source files.
15768
8194e927
SM
157692016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15770
15771 * gdb.base/new-ui.exp (do_test_invalid_args): New
15772 procedure.
15773
c0272db5
TW
157742016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15775
15776 * gdb.btrace/reconnect.c: New file.
15777 * gdb.btrace/reconnect.exp: New file.
15778
e3487908
GKB
157792016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15780
15781 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15782 to test_catch_syscall_group.
15783 (test_catch_syscall_group): New.
15784
12df5c00
TT
157852016-07-21 Tom Tromey <tom@tromey.com>
15786
15787 * gdb.rust/simple.rs (main): Use empty struct expression.
15788 * gdb.rust/simple.exp: Add tests for empty struct expression.
15789
bae62ee2
YQ
157902016-07-21 Yao Qi <yao.qi@linaro.org>
15791
15792 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15793 if gdb_skip_xml_test is true on some targets.
15794
b1b53fb3
YQ
157952016-07-21 Yao Qi <yao.qi@linaro.org>
15796
15797 * gdb.server/solib-list.exp: Unset last_loaded_file.
15798
027d97f8
JK
157992016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15800
15801 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15802 "step into captured_main (args)".
15803
7674d381
JK
158042016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15805
15806 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15807
72b5d099
JK
158082016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15809
15810 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15811
1f960ced
PA
158122016-07-19 Pedro Alves <palves@redhat.com>
15813
15814 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15815 * gdb.opt/inline-bt.exp: Likewise.
15816 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15817 additional_flags=-Winline.
15818 * gdb.opt/inline-locals.exp: Likewise.
15819 * gdb.opt/inline-markers.c (ATTR): Define.
15820 (inlined_fn): Use it.
15821
f25827c1
YQ
158222016-07-19 Yao Qi <yao.qi@linaro.org>
15823
15824 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15825 (test_with_self): Remove some code. Remove argument executable.
15826 (top-level): Use do_self_tests.
15827
37539ebe
DB
158282016-07-15 Zachary Welch <zwelch@codesourcery.com>
15829 Don Breazeal <donb@codesourcery.com>
15830
15831 * gdb.base/maint.exp: Escape paths used in regular expressions.
15832 * gdb.stabs/weird.exp: Likewise.
15833
dac790e1
TT
158342016-07-13 Tom Tromey <tom@tromey.com>
15835
15836 PR python/15620, PR python/18620:
15837 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15838 (test_bkpt_events): New procs.
15839
93daf339
TT
158402016-07-13 Tom Tromey <tom@tromey.com>
15841
15842 PR python/17698:
15843 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15844 test.
15845 (test_watchpoints): Likewise.
15846 (test_bkpt_pending): New proc.
15847
6571a381
TT
158482016-07-13 Tom Tromey <tom@tromey.com>
15849
15850 PR cli/18053:
15851 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15852 completion test.
15853
e8732474
JK
158542016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15855
15856 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15857 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15858 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15859 f_label.
15860 (g): Rename g_end_lbl to g_label.
15861 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15862 low_pc and high_pc.
15863 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15864
e0f3fd7c
TT
158652016-07-12 Tom Tromey <tom@tromey.com>
15866
15867 PR python/19293:
15868 * gdb.python/py-unwind-maint.exp: Update tests.
15869
3cfe46b6
YQ
158702016-07-12 Yao Qi <yao.qi@linaro.org>
15871
15872 * lib/selftest-support.exp (selftest_setup): Match the output
15873 when captured_main is inlined.
15874
4f19a0e6
WT
158752016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15876
15877 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15878 New variables.
15879 (print this%a, print this%b, print this): New tests.
15880 * gdb.fortran/derived-types.f90 (this): New object and
15881 initialization.
15882
986cf455
SM
158832016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15884
15885 * gdb.ada/arraydim.exp: Remove extra directory level in build
15886 directory.
15887
f0464b23
SM
158882016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15889
15890 * lib/ada.exp: Remove extra directory level in build directory.
15891 * gdb.ada/cond_lang.exp: Likewise.
15892 * gdb.ada/exec_changed.exp: Likewise.
15893 * gdb.ada/lang_switch.exp: Likewise.
15894
42d94011
MG
158952016-07-06 Manish Goregaokar <manish@mozilla.com>
15896
2806dc7e
PA
15897 * simple.rs: Add test for raw pointer subscripting.
15898 * simple.exp: Add test expectations.
42d94011 15899
647c264c
YQ
159002016-07-05 Yao Qi <yao.qi@linaro.org>
15901
15902 * gdb.mi/mi-reverse.exp: Match =record-started output.
15903
20aa2c60
PA
159042016-07-01 Pedro Alves <palves@redhat.com>
15905
15906 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15907 procedure.
15908 (jit_reader_test): Test the jit reader's unwinder.
15909 * gdb.base/jithost.c (jit_function_00_code): New global.
15910 (main): Use memcpy to fill in the mmapped code, instead of poking
15911 bytes manually here.
15912 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15913 value.
15914 (read_debug_info): Save the function's range.
15915 (read_sp): New function.
15916 (unwind_frame): Use it. Also unwind RBP.
15917 (get_frame_id): Use read_sp.
15918 (gdb_init_reader): Use calloc instead of malloc.
15919 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15920 parameter. Use gdb_test_multiple.
15921
ced2dffb
PA
159222016-07-01 Pedro Alves <palves@redhat.com>
15923 Antoine Tremblay <antoine.tremblay@ericsson.com>
15924
15925 * gdb.threads/process-dies-while-detaching.c: New file.
15926 * gdb.threads/process-dies-while-detaching.exp: New file.
15927
63000888
PA
159282016-07-01 Pedro Alves <palves@redhat.com>
15929
15930 * gdb.multi/watchpoint-multi-exit.c: New file.
15931 * gdb.multi/watchpoint-multi-exit.exp: New file.
15932
038d4868
PA
159332016-06-30 Pedro Alves <palves@redhat.com>
15934
15935 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15936 unset inferior_spawn_id.
15937
994e9c83
PA
159382016-06-30 Pedro Alves <palves@redhat.com>
15939
15940 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15941 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15942
e5653468
YQ
159432016-06-29 Yao Qi <yao.qi@linaro.org>
15944
15945 * gdb.base/return.c: Add copyright header.
15946
803b47e5
TT
159472016-06-29 Tom Tromey <tom@tromey.com>
15948
15949 PR python/20129:
15950 * gdb.python/py-framefilter.exp: Add tests for setting priority
15951 and disabling of non-existent frame filter.
15952
28244707
YQ
159532016-06-29 Yao Qi <yao.qi@linaro.org>
15954
15955 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15956 0x0f07ff.
15957
a31d2f06
YQ
159582016-06-28 Yao Qi <yao.qi@linaro.org>
15959
15960 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15961 triplets. Start gdb, execute catch syscall, and continue. Check
15962 gdb's output to determine catch syscall is supported.
15963
921d8f54
MG
159642016-06-27 Manish Goregaokar <manish@mozilla.com>
15965
25d49b86
PA
15966 * gdb.rust/simple.rs: Add test for returning unit in a function.
15967 * gdb.rust/simple.exp: Add expectation for functions returning
15968 unit.
921d8f54 15969
f4952523
PMR
159702016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15971
15972 * gdb.python/py-breakpoint-create-fail.c,
15973 gdb.python/py-breakpoint-create-fail.exp,
15974 gdb.python/py-breakpoint-create-fail.py: New testcase.
15975
fccb08f8
MG
159762016-06-25 Manish Goregaokar <manish@mozilla.com>
15977
15978 PR gdb/20239
15979 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15980 * gdb.rust/simple.exp: Add test expectations for new NonZero
15981 tests.
fccb08f8 15982
6b850546
DT
159832016-06-24 David Taylor <dtaylor@emc.com>
15984
15985 * gdb.base/offsets.exp: New file.
15986 * gdb.base/offsets.c: New file.
15987
17621150
TT
159882016-06-23 Tom Tromey <tom@tromey.com>
15989
15990 PR gdb/16483:
15991 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15992 before any filters are loaded.
15993
04d59df6
WT
159942016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15995
15996 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15997 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15998 structs.
15999 * gdb.fortran/derived-type-function.exp: New file.
16000 * gdb.fortran/derived-type-function.f90: New file.
16001
16002
ac69f786
PA
160032016-06-21 Pedro Alves <palves@redhat.com>
16004
16005 * gdb.base/new-ui.exp: New file.
16006 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
16007 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
16008 (with_spawn_id): New procedure.
16009
49940788
PA
160102016-06-21 Pedro Alves <palves@redhat.com>
16011
16012 * gdb.mi/mi-exec-run.exp: New file.
16013
ef274d26
PA
160142016-06-21 Pedro Alves <palves@redhat.com>
16015
16016 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
16017 breakpoint command's output on the main UI.
16018 (test_break): New procedure, factored out from calls in the top
16019 level.
16020 (top level): Use foreach_with_prefix to test MI as main UI and as
16021 separate UI.
16022
468afe6c
PA
160232016-06-21 Pedro Alves <palves@redhat.com>
16024
16025 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
16026 (test_awatch_creation_and_listing)
16027 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
16028 Remove 'type' parameter.
16029 (test_watchpoint_all): New parameter mi_mode. Remove
16030 with_test_prefix.
16031 (top level): Use foreach_with_prefix, and add main/separate UI MI
16032 testing axis.
16033
51f77c37
PA
160342016-06-21 Pedro Alves <palves@redhat.com>
16035
16036 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
16037 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
16038 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
16039 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
16040 (gdb_main_spawn_id, mi_spawn_id): Declare and
16041 comment.
16042 (mi_create_inferior_pty): New procedure,
16043 factored out from default_mi_gdb_start.
16044 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
16045 procedures.
16046 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
16047 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
16048 Use mi_create_inferior_pty.
16049 (mi_gdb_start): Use eval to pass down args list.
16050
8980e177
PA
160512016-06-21 Pedro Alves <palves@redhat.com>
16052
16053 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
16054 * gdb.opt/inline-cmds.exp: Add MI tests.
16055
f38d3ad1
PA
160562016-06-21 Pedro Alves <palves@redhat.com>
16057
16058 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
16059
45db7c09
PA
160602016-06-21 Pedro Alves <palves@redhat.com>
16061
16062 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
16063 (top level): Use it instead of mi_execute_to.
16064
5a069ab3
PA
160652016-06-21 Pedro Alves <palves@redhat.com>
16066
16067 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
16068 (cont_handler_str): New.
16069 (signal_stop_handler): Set stop_handler_str instead of printing to
16070 stdout.
16071 (continue_handler): Set cont_handler_str instead of printing to
16072 stdout.
16073 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
16074 mi_send_resuming_command. Print stop_handler_str and
16075 cont_handler_str instead of expecting the python events print
16076 directly.
16077
2838cc1d
SD
160782016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
16079
16080 * gdb.base/jit-reader.exp: New file.
16081 * gdb.base/jithost.c: New file.
16082 * gdb.base/jithost.h: New file.
16083 * gdb.base/jitreader.c : New file.
16084 * gdb.base/jit-protocol.h: New file.
16085
21a77091
YQ
160862016-06-17 Yao Qi <yao.qi@linaro.org>
16087
16088 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
16089 parameters follow_fork and detach_on_fork. Set follow-fork-mode
16090 and detach-on-fork. Adjust tests.
16091 (top level): Invoke break_cond_on_syscall with combinations of
16092 syscall, follow-fork-mode and detach-on-fork.
16093
f50bf8e5
YQ
160942016-06-17 Yao Qi <yao.qi@linaro.org>
16095
16096 * gdb.base/step-over-exit.c: New.
16097 * gdb.base/step-over-exit.exp: New.
16098
a28d8e50
YTL
160992016-06-17 Yan-Ting Lin <currygt52@gmail.com>
16100
16101 * gdb.base/float.exp: Add target check for nds32*-*-*.
16102 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
16103
cad8e26d
AB
161042016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
16105
16106 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
16107 for unsupported target features.
16108 * gdb.base/call-rt-st.exp: Likewise.
16109 * gdb.base/call-sc.exp: Likewise.
16110 * gdb.base/call-signal-resume.exp: Likewise.
16111 * gdb.base/call-strs.exp: Likewise.
16112 * gdb.base/callexit.exp: Likewise.
16113 * gdb.base/callfuncs.exp: Likewise.
16114 * gdb.base/nodebug.exp: Likewise.
16115 * gdb.base/printcmds.exp: Likewise.
16116 * gdb.base/ptype.exp: Likewise.
16117 * gdb.base/structs.exp: Likewise.
16118 * gdb.base/unwindonsignal.exp: Likewise.
16119 * gdb.cp/gdb2495.exp: Likewise.
16120 * gdb.cp/templates.exp: Likewise.
16121 * gdb.cp/virtfunc.exp: Likewise.
16122 * gdb.threads/hand-call-in-threads.exp: Likewise.
16123 * gdb.threads/interrupted-hand-call.exp: Likewise.
16124 * gdb.threads/thread-unwindonsignal.exp: Likewise.
16125
347dc102
TT
161262016-06-10 Tom Tromey <tom@tromey.com>
16127
16128 PR rust/20110:
16129 * gdb.rust/expr.exp: Add test for integer constant larger than
16130 i32.
16131
5e13cf25
BH
161322016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
16133
16134 * gdb.fortran/nested-funcs.exp: New.
16135 * gdb.fortran/nested-funcs.f90: New.
16136
bb556f1f
TK
161372016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
16138
16139 * gdb.base/examine-backward.c: New file.
16140 * gdb.base/examine-backward.exp: New file.
16141
38b022b4
SM
161422016-06-06 Simon Marchi <simon.marchi@ericsson.com>
16143
16144 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
16145 matching.
16146
1b40ec05
TT
161472016-06-02 Tom Tromey <tom@tromey.com>
16148
16149 PR python/18984:
16150 * gdb.python/py-shared.exp: Add solib_name test.
16151
193bd378
SM
161522016-06-02 Simon Marchi <simon.marchi@ericsson.com>
16153
16154 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
16155
3326303b
MG
161562016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
16157
16158 PR c++/19893
16159 * gdb.dwarf2/implref.exp: Rename to...
16160 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
16161 * gdb.dwarf2/implref-array.c: New file.
16162 * gdb.dwarf2/implref-array.exp: Likewise.
16163 * gdb.dwarf2/implref-global.c: Likewise.
16164 * gdb.dwarf2/implref-global.exp: Likewise.
16165 * gdb.dwarf2/implref-struct.c: Likewise.
16166 * gdb.dwarf2/implref-struct.exp: Likewise.
16167
825c8ef2
AT
161682016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16169
16170 * gdb.trace/trace-condition.exp: Add 64bit tests.
16171
2320162a
AT
161722016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16173
16174 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
16175 bits types.
16176 (main): Adapt to 8 to 64 bits types.
16177 * gdb.trace/trace-condition.exp: Add new tests.
16178
a7818233
AT
161792016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16180
16181 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
16182
0d336466
AT
161832016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16184
16185 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
16186 Move condition tests...
16187 * gdb.trace/trace-condition.exp: Here.
16188
7faeb45a
AT
161892016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16190
16191 * gdb.trace/trace-condition.exp: Add counter-case tests.
16192
e385593e
JK
161932016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16194
16195 PR c++/15231
16196 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
16197 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
16198
744608cc
PA
161992016-05-27 Pedro Alves <palves@redhat.com>
16200
16201 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
16202 New procedure.
16203 (top level): Call it, and bail out of DejaGnu is known to be bad.
16204
ac775bf4
AB
162052016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
16206
16207 * gdb.base/whatis.c: Extend the test case.
16208 * gdb.base/whatis.exp: Add additional tests.
16209
2bbad2ea
BH
162102016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16211
16212* gdb.fortran/type.f90: Add pointer variable.
16213* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
16214
8b70175d
BH
162152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16216
16217 * gdb.fortran/vla-type.exp: Fix testcase name.
16218
86d8a848
BH
162192016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16220
16221 * gdb.fortran/vla-type.exp: Access elements in nested structs.
16222
e188eb36
BH
162232016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16224
16225 * gdb.fortran/type.f90: Add nested structures.
16226 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
16227 * gdb.fortran/derived-type.exp: Adapt expected output.
16228 * gdb.fortran/vla-type.exp: Adapt expected output.
16229
9b2db1fd
BH
162302016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16231
16232 * gdb.fortran/whatis_type.exp: Adapt expected output.
16233
72b17055
BH
162342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16235
16236 * gdb.fortran/print_type.exp: Fix expected output.
16237 * gdb.fortran/whatis_type.exp: Fix expected output.
16238
3cd81d8d
BH
162392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16240
16241 * gdb.fortran/whatis_type.exp: Use multi_line.
16242
ddae9462
TT
162432016-05-24 Tom Tromey <tom@tromey.com>
16244
16245 PR python/17386:
16246 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
16247 use value as an index.
16248
1957f6b8
TT
162492016-05-23 Tom Tromey <tom@tromey.com>
16250
16251 PR python/17981:
16252 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
16253 no-breakpoint case.
16254
026a9174
PA
162552016-05-24 Pedro Alves <palves@redhat.com>
16256
16257 PR gdb/19828
16258 * gdb.threads/clone-attach-detach.c: New file.
16259 * gdb.threads/clone-attach-detach.exp: New file.
16260
e70a7231
FR
162612016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
16262
16263 * gdb.base/annota-input-while-running.exp: Fix syntax error.
16264
0f6ed0e0
TT
162652016-05-23 Tom Tromey <tom@tromey.com>
16266
16267 PR python/19438, PR python/18393:
16268 * gdb.python/py-progspace.exp: Add "dir" test.
16269 * gdb.python/py-objfile.exp: Add "dir" test.
16270
ffd19d61
YQ
162712016-05-23 Yao Qi <yao.qi@linaro.org>
16272
16273 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
16274 * gdb.arch/thumb2-it.exp: Likewise.
16275
9e8f9b05
SM
162762016-05-18 Simon Marchi <simon.marchi@ericsson.com>
16277
16278 * gdb.mi/mi-threads-interrupt.c: New file.
16279 * gdb.mi/mi-threads-interrupt.exp: New file.
16280
61c6156d
SM
162812016-05-17 Simon Marchi <simon.marchi@ericsson.com>
16282
16283 PR gdb/18077
16284 * gdb.mi/mi-async-run.exp: New file.
16285 * gdb.mi/mi-async-run.c: New file.
16286
67218854
TT
162872016-05-17 Tom Tromey <tom@tromey.com>
16288 Manish Goregaokar <manishsmail@gmail.com>
16289
16290 * lib/rust-support.exp: New file.
16291 * lib/gdb.exp (skip_rust_tests): New proc.
16292 (build_executable_from_specs): Handle rust.
16293 * lib/future.exp (gdb_find_rustc): New proc.
16294 (gdb_default_target_compile): Handle rust.
16295 * gdb.rust/expr.exp: New file.
16296 * gdb.rust/generics.exp: New file.
16297 * gdb.rust/generics.rs: New file.
16298 * gdb.rust/methods.exp: New file.
16299 * gdb.rust/methods.rs: New file.
16300 * gdb.rust/modules.exp: New file.
16301 * gdb.rust/modules.rs: New file.
16302 * gdb.rust/simple.exp: New file.
16303 * gdb.rust/simple.rs: New file.
16304
c44af4eb
TT
163052016-05-17 Tom Tromey <tom@tromey.com>
16306
16307 * gdb.base/default.exp (set language): Add rust.
16308
dcd1f979
TT
163092016-05-17 Tom Tromey <tom@tromey.com>
16310
16311 * gdb.gdb/unittest.exp: New file.
16312
155b7f57
YQ
163132016-05-16 Yao Qi <yao.qi@linaro.org>
16314
16315 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16316 shell_prompt. Update shell_prompt_re.
16317
8ddd5a6c
DE
163182016-05-12 Doug Evans <dje@google.com>
16319
16320 PR symtab/19999
16321 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16322 $options when building executable.
16323 * gdb.dwarf2/fission-loclists-pie.S: New file.
16324 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16325
02e370d9
SM
163262016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16327
16328 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
16329 of [is_remote target],
16330
8929ad8b
SM
163312016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16332
16333 * lib/gdb.exp (use_gdb_stub): New procedure.
16334
6c447423
DE
163352016-05-03 Yunlian Jiang <yunlian@google.com>
16336 Doug Evans <dje@google.com>
16337
16338 PR symtab/19914
16339 * gdb.dwarf2/dwp-sepdebug.c: New file.
16340 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16341
444e826c
SM
163422016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16343
16344 * gdb.base/detach.exp: Remove is_remote check.
16345
740feeaa
SM
163462016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16347
16348 * gdb.base/annota-input-while-running.exp: Don't check for
16349 [is_remote target]. Enable annotations after running to main.
16350 Remove unused "set test..." line.
16351
9080ac9d
SM
163522016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16353
16354 * gdb.trace/trace-enable-disable.exp: New file.
16355 * gdb.trace/trace-enable-disable.c: New file.
16356
952ebca5
SM
163572016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16358
16359 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16360 use it in info sharedlibrary test.
16361 * gdb.trace/ftrace-lock.exp: Likewise.
16362 * gdb.trace/ftrace.exp: Likewise.
16363 * gdb.trace/range-stepping.exp: Likewise.
16364 * gdb.trace/trace-break.exp: Likewise.
16365 * gdb.trace/trace-condition.exp: Likewise.
16366 * gdb.trace/trace-mt.exp: Likewise.
16367
d9019901
SM
163682016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16369
16370 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16371 (gdb_load_shlib): ... this.
16372 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16373 gdb_load_shlib.
16374 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16375 * gdb.base/ctxobj.exp: Likewise.
16376 * gdb.base/dprintf-pending.exp: Likewise.
16377 * gdb.base/dso2dso.exp: Likewise.
16378 * gdb.base/fixsection.exp: Likewise.
16379 * gdb.base/gcore-relro.exp: Likewise.
16380 * gdb.base/gdb1555.exp: Likewise.
16381 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16382 * gdb.base/gnu-ifunc.exp: Likewise.
16383 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16384 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16385 * gdb.base/pending.exp: Likewise.
16386 * gdb.base/print-file-var.exp: Likewise.
16387 * gdb.base/print-symbol-loading.exp: Likewise.
16388 * gdb.base/shlib-call.exp: Likewise.
16389 * gdb.base/shreloc.exp: Likewise.
16390 * gdb.base/so-impl-ld.exp: Likewise.
16391 * gdb.base/solib-disc.exp: Likewise.
16392 * gdb.base/solib-nodir.exp: Likewise.
16393 * gdb.base/solib-overlap.exp: Likewise.
16394 * gdb.base/solib-symbol.exp: Likewise.
16395 * gdb.base/solib-weak.exp (do_test): Likewise.
16396 * gdb.base/sym-file.exp: Likewise.
16397 * gdb.base/symtab-search-order.exp: Likewise.
16398 * gdb.base/type-opaque.exp: Likewise.
16399 * gdb.base/unload.exp: Likewise.
16400 * gdb.base/watchpoint-solib.exp: Likewise.
16401 * gdb.compile/compile.exp: Likewise.
16402 * gdb.cp/gdb2384.exp: Likewise.
16403 * gdb.cp/infcall-dlopen.exp: Likewise.
16404 * gdb.cp/re-set-overloaded.exp: Likewise.
16405 * gdb.fortran/library-module.exp: Likewise.
16406 * gdb.opt/solib-intra-step.exp: Likewise.
16407 * gdb.python/py-finish-breakpoint.exp: Likewise.
16408 * gdb.python/py-shared.exp: Likewise.
16409 * gdb.reverse/solib-precsave.exp: Likewise.
16410 * gdb.reverse/solib-reverse.exp: Likewise.
16411 * gdb.server/solib-list.exp: Likewise.
16412 * gdb.threads/dlopen-libpthread.exp: Likewise.
16413 * gdb.threads/tls-shared.exp: Likewise.
16414 * gdb.threads/tls-so_extern.exp: Likewise.
16415 * gdb.trace/change-loc.exp: Likewise.
16416 * gdb.trace/ftrace-lock.exp: Likewise.
16417 * gdb.trace/ftrace.exp: Likewise.
16418 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16419 * gdb.trace/pending.exp: Likewise.
16420 * gdb.trace/range-stepping.exp: Likewise.
16421 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16422 (strace_info_marker): Likewise.
16423 (strace_probe_marker): Likewise.
16424 (strace_trace_on_same_addr): Likewise.
16425 (strace_trace_on_diff_addr): Likewise.
16426 * gdb.trace/trace-break.exp: Likewise.
16427 * gdb.trace/trace-condition.exp: Likewise.
16428 * gdb.trace/trace-mt.exp: Likewise.
16429
fca4cfd9
SM
164302016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16431
16432 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16433 result of gdb_remote_download.
16434 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16435 * gdb.base/dso2dso.exp: Likewise.
16436 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16437 * gdb.base/print-file-var.exp: Likewise.
16438 * gdb.base/shlib-call.exp: Likewise.
16439 * gdb.base/shreloc.exp: Likewise.
16440 * gdb.base/solib-overlap.exp: Likewise.
16441 * gdb.base/solib-weak.exp (do_test): Likewise.
16442 * gdb.base/unload.exp: Likewise.
16443
11cf4ffb
YQ
164442016-04-27 Yao Qi <yao.qi@linaro.org>
16445
16446 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16447 exists.
16448
3e2e34f8
KB
164492016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16450
16451 * vla-type.exp: Print structure from toplevel.
16452
8f07e298
BH
164532016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16454
16455 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16456 of dynamic types.
16457 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16458 of dynamic types.
16459
9920b434
BH
164602016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16461
16462 * gdb.fortran/vla-type.f90: New file.
16463 * gdb.fortran/vla-type.exp: New file.
16464
f3abeff5
YQ
164652016-04-25 Yao Qi <yao.qi@linaro.org>
16466
16467 * gdb.base/branch-to-self.c: New file.
16468 * gdb.base/branch-to-self.exp: New file.
16469
0a5d52f0
YQ
164702016-04-22 Yao Qi <yao.qi@linaro.org>
16471
16472 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16473 more after $hex.
16474
495346f6
YQ
164752016-04-22 Yao Qi <yao.qi@linaro.org>
16476
16477 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16478 * gdb.base/annota3.exp: Likewise.
16479
4a7e075c
YQ
164802016-04-22 Yao Qi <yao.qi@linaro.org>
16481
16482 * gdb.reverse/step-precsave.exp: Do one step and test program
16483 stops in "callee" and do multiple steps until program goes out
16484 of "callee".
16485 * gdb.reverse/step-reverse.exp: Likewise.
16486
5b061e98
YQ
164872016-04-22 Yao Qi <yao.qi@linaro.org>
16488
16489 * gdb.trace/signal.exp: Also pass if
16490 $tracepoint_hits($i) > $iterations.
16491
5c5dc57f
YQ
164922016-04-22 Yao Qi <yao.qi@linaro.org>
16493
16494 * gdb.trace/signal.c: New file.
16495 * gdb.trace/signal.exp: New file.
16496
a55411b9
DE
164972016-04-19 Doug Evans <xdje42@gmail.com>
16498
16499 * gdb.base/bad-file.exp: New file.
16500
a22df60a
MG
165012016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16502
16503 * gdb.dwarf2/implref.exp: New file.
16504
0c13f7e5
BH
165052016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16506
16507 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16508 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16509 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16510 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16511 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16512 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16513 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16514 * lib/fortran.exp (fortran_int4): New procedure.
16515 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16516 (fortran_logical4): Likewise.
16517
9b9b09e9
BH
165182016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16519
16520 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16521
a14d1f4d
BH
165222016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16523
16524 * lib/compiler.c: Add Intel specific preprocessor macros.
16525 * lib/compiler.cc: Likewise.
25d49b86 16526
7d49b1d0
LM
165272016-04-13 Luis Machado <lgustavo@codesourcery.com>
16528
16529 * gdb.server/connect-with-no-symbol-file.c: New file.
16530 * gdb.server/connect-with-no-symbol-file.exp: New file.
16531
8392fa22
SM
165322016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16533
16534 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16535
8c4c4aeb
SM
165362016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16537
16538 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16539 standard output directory.
16540
45e3745e
AT
165412016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16542
16543 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16544
e26b7e41
MM
165452016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16546
16547 * gdb.btrace/instruction_history.c (loop): Add declaration.
16548
8ce09462
AT
165492016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16550
16551 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16552
2e88a1ea
SM
165532016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16554
16555 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16556 parentheses to print.
16557 (continue_handler): Likewise.
16558
f48e22e3
SM
165592016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16560
16561 * gdb.server/solib-list.exp: Remove is_remote check.
16562 Pass shlib= to gdb_compile. Don't link shared library with
16563 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16564 Run binary filename through "readlink -f" on the target.
16565
096be756
PA
165662016-04-08 Pedro Alves <palves@redhat.com>
16567
16568 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16569 interpreter filename as argument to gdbserver_spawn.
16570 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16571 Return empty if $last_loaded_file does not exist.
16572
06500533
JK
165732016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16574
16575 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16576 * gdb.base/jit-main.c: Use exit after usage.
16577
2d35e871
JK
165782016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16579
16580 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16581 GDBHISTSIZE prior to the tests.
16582 * gdb.base/gdbinit-history.exp: Likewise.
16583
165842016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
16585
16586 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16587 instead of build_executable. Use gdb_load_shlibs.
16588
c8064e7e
YQ
165892016-04-07 Yao Qi <yao.qi@linaro.org>
16590
16591 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16592 Execute "si" command.
16593
bde47561
YQ
165942016-04-07 Yao Qi <yao.qi@linaro.org>
16595
16596 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16597 number instead of the comments on some line.
16598
b16f8a3b
DB
165992016-04-06 Don Breazeal <donb@codesourcery.com>
16600
16601 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16602 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16603
c2f901df
SM
166042016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16605
16606 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16607 standard_output_file. Remove unused binfile variable.
16608
ac17fda0
CU
166092016-04-05 Catalin Udma <catalin.udma@freescale.com>
16610
16611 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16612 * gdb.python/py-mi-objfile.exp: Match "list main" output
16613 in console format.
16614
03a8c4df
SM
166152016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16616
16617 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16618 absolute.
16619
6e774b13
SM
166202016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16621
16622 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16623 absolute.
16624 * gdb.trace/ftrace.exp: Likewise.
16625 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16626 targets as well.
16627 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16628 (gdb_load_shlibs): Copy libraries to test directory when testing
16629 natively. Only set solib-search-path if testing remotely.
16630 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16631
7817ea46
SM
166322016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16633
16634 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16635 gdb_download. Use it even if the target is not remote.
16636 * gdb.base/jit.exp (compile_jit_test): Likewise.
16637 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16638 output directory if the destination board is local, otherwise use
16639 the standard remote_download from DejaGnu.
16640 (gdb_download): Remove.
16641 (gdb_load_shlibs): Use gdb_remote_download instead of
16642 gdb_download.
16643 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16644 Use gdb_remote_download instead of gdb_download. Use it even if
16645 the target is not remote.
16646 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16647 instead of gdb_download.
16648
7beb7f68
SM
166492016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16650
16651 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16652 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16653 run.
16654
cc63428a
AV
166552016-04-01 Artemiy Volkov <artemiyv@acm.org>
16656
16657 PR gdb/19820
16658 * gdb.base/printcmds.exp: Add artificial arrays tests.
16659
64cdf930
PA
166602016-03-31 Pedro Alves <palves@redhat.com>
16661
16662 PR gdb/19858
16663 * gdb.base/jit-main.c: Include unistd.h.
16664 (ATTACH): Define to 0 if not already defined.
16665 (wait_for_gdb, mypid): New globals.
16666 (WAIT_FOR_GDB): New macro.
16667 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16668 some breakpoint locations.
16669 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16670 New procedures.
16671 (one_jit_test): Add REATTACH parameter, and handle it. Use
16672 continue_to_test_location.
16673 (top level): Test attach, and adjusts calls to one_jit_test.
16674
40dea8cb
PA
166752016-03-31 Pedro Alves <palves@redhat.com>
16676
16677 PR gdb/19858
16678 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16679 BINSUFFIX parameter, and handle it.
16680 (top level): Adjust calls compile_jit_test.
16681
e7ea3ec7
CU
166822016-03-31 Catalin Udma <catalin.udma@freescale.com>
16683
16684 PR python/19743
16685 * gdb.python/py-mi-events-gdb.py: New file.
16686 * gdb.python/py-mi-events.c: New file.
16687 * gdb.python/py-mi-events.exp: New file.
16688
e6359af3
YQ
166892016-03-30 Yao Qi <yao.qi@linaro.org>
16690
16691 * gdb.reverse/until-precsave.exp: Match function name only.
16692 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16693 Move malloc to a condition block.
16694 * gdb.reverse/until-reverse.exp: Match function name only.
16695
a4105d04
MK
166962016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16697
16698 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16699 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16700 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16701 variable for GPR 0 instead of assuming it is register 0.
16702 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16703 * lib/trace-support.exp: Add s390 registers.
16704
bfa6adb9
YQ
167052016-03-29 Yao Qi <yao.qi@linaro.org>
16706
16707 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16708
1e6697ea
YQ
167092016-03-24 Yao Qi <yao.qi@linaro.org>
16710
16711 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16712 test message.
16713
64bcd522
AA
167142016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16715
16716 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16717 maintaining separate logic for constructing the output path.
16718
7868401b
DB
167192016-03-16 Don Breazeal <donb@codesourcery.com>
16720
16721 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16722 Retry fork and waitpid on interrupted system call errors.
16723 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16724 Use with_timeout_factor to increase timeout by factor of 10.
16725
1cafadb4
DB
167262016-03-15 Don Breazeal <donb@codesourcery.com>
16727
16728 * gdb.cp/scope-err.cc: New test program.
16729 * gdb.cp/scope-err.exp: New test script.
16730 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16731 lines and "set breakpoint here" comment.
16732 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16733 Fixed some whitespace and format issues.
16734 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16735 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16736
81516450
DE
167372016-03-15 Doug Evans <dje@google.com>
16738
16739 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16740 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16741 All callers updated. Add tests for enums, mixed flags register.
16742
aa52b601
DE
167432016-03-15 Doug Evans <dje@google.com>
16744
16745 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16746 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16747
fa4ff313
SM
167482016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16749
16750 * gdb.base/default.exp: Add $_as_string to the list of expected
16751 convenience functions.
16752
f2403c39
AB
167532016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16754
16755 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16756
f2f3ccb9
SM
167572016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16758
16759 * gdb.python/py-as-string.exp: New file.
16760 * gdb.python/py-as-string.c: New file.
16761
00dbd492
PA
167622016-03-09 Pedro Alves <palves@redhat.com>
16763
16764 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16765 signal" -> "Thread NN received signal" output change.
16766 * gdb.threads/ia64-sigill.exp: Likewise.
16767 * gdb.threads/linux-dp.exp: Likewise.
16768 * gdb.threads/manythreads.exp: Likewise.
16769 * gdb.threads/pending-step.exp: Likewise.
16770 * gdb.threads/print-threads.exp: Likewise.
16771 * gdb.threads/sigstep-threads.exp: Likewise.
16772 * gdb.threads/staticthreads.exp: Likewise.
16773 * gdb.threads/tls.exp: Likewise.
16774
1e6697ea
YQ
167752016-03-09 Pedro Alves <palves@redhat.com>
16776
16777 * gdb.base/command-line-input.exp: New file.
16778
b04fd3be
MK
167792016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16780
16781 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16782 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16783 * gdb.trace/pending.exp: Accept leading dot before function name.
16784 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16785 * lib/trace-support.exp: Set registers for ppc.
16786
98fa59e9
MK
167872016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16788
16789 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16790 use it for disassembly; accept .main in addition to main in backtrace.
16791
f77198c8
MK
167922016-03-09 Wei-cheng Wang <cole945@gmail.com>
16793 Marcin Kościelnicki <koriakin@0x04.net>
16794
16795 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16796 (gdb_recursion_test_ptr): New global variable.
16797 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16798 gdb_recursion_test.
16799 (gdb_c_test): Ditto.
16800
ba84e0da
MK
168012016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16802
16803 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16804 ordering.
16805
4366d36e
MK
168062016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16807
16808 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16809 (bar): Add bar_start_lbl label.
16810 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16811 of foo/bar for emitting DWARF and tracing.
16812
5eb264df
SDJ
168132016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16814
16815 * analyze-racy-logs.py: Set executable bit.
16816
fb6a751f
SDJ
168172016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16818
16819 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16820 (CHECK_TARGET_TMP): Likewise.
16821 (check-single-racy): New rule.
16822 (check-parallel-racy): Likewise.
16823 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16824 (do-check-parallel-racy): New rule.
16825 (check-racy/%.exp): Likewise.
16826 * README (Racy testcases): New section.
16827 * analyze-racy-logs.py: New file.
16828
bdf7e230
DE
168292016-03-03 Doug Evans <dje@google.com>
16830
16831 * gdb.base/skip.exp: Use with_test_prefix.
16832
4719d415
YQ
168332016-03-03 Yao Qi <yao.qi@linaro.org>
16834
16835 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16836 Invoke step_over_syscall "clone" and break_cond_on_syscall
16837 "clone".
16838 * gdb.base/step-over-clone.c: New file.
16839
ea507862
YQ
168402016-03-03 Yao Qi <yao.qi@linaro.org>
16841
16842 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16843 code format.
16844
8fc8cbda
YQ
168452016-03-03 Yao Qi <yao.qi@linaro.org>
16846
16847 * gdb.base/disp-step-fork.c: Rename to ...
16848 * gdb.base/step-over-fork.c: ... it. New file.
16849 * gdb.base/disp-step-vfork.c: Rename to ...
16850 * gdb.base/step-over-vfork.c: ... it. New file.
16851 * gdb.base/disp-step-syscall.exp: Rename to ...
16852 * gdb.base/step-over-syscall.exp: ... it. New file.
16853 (disp_step_cross_syscall): Rename to ...
16854 (step_over_syscall): ... it.
16855
92fa70b0
YQ
168562016-03-03 Yao Qi <yao.qi@linaro.org>
16857
16858 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16859 If target supports condition evaluation on target, invoke
16860 break_cond_on_syscall for fork and vfork.
16861
e197ad3c
YQ
168622016-03-03 Yao Qi <yao.qi@linaro.org>
16863
16864 * gdb.base/disp-step-syscall.exp: Don't invoke
16865 support_displaced_stepping.
16866 (disp_step_cross_syscall): Test with displaced stepping off and
16867 on if supported.
16868
0b47da9f
YQ
168692016-03-03 Yao Qi <yao.qi@linaro.org>
16870
16871 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16872 proc.
16873 (setup): New proc.
16874 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16875 and setup.
16876
065ab6dc
BH
168772016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16878
16879 * gdb.fortran/vla-history.exp: Remove breakpoint.
16880
07e448ad 168812016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16882
25d49b86
PA
16883 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16884 exceeds timeout.
07e448ad 16885
9ac2d526 168862016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16887
25d49b86
PA
16888 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16889 breakpoint.
9ac2d526 16890
17807369
BH
168912016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16892
16893 * gdb.mi/vla.f90: Nullify pointer after declaration.
16894
86e501af
PA
168952016-03-01 Pedro Alves <palves@redhat.com>
16896
16897 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16898
1e903e32
PA
168992016-03-01 Pedro Alves <palves@redhat.com>
16900
16901 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16902 before anything else.
16903 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16904 _GNU_SOURCE here.
16905 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16906 before anything else.
16907 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16908
6ccb54e2
PA
169092016-03-01 Pedro Alves <palves@redhat.com>
16910
16911 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16912
30ca9da1
YQ
169132016-03-01 Yao Qi <yao.qi@linaro.org>
16914
16915 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16916 prepare_for_testing.
16917
dc856b38
YQ
169182016-03-01 Yao Qi <yao.qi@linaro.org>
16919
16920 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16921
4a932159
AA
169222016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16923
16924 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16925 manually constructing the output path.
16926
f2489477
AA
169272016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16928
16929 * gdb.arch/s390-stackless.S: New.
16930 * gdb.arch/s390-stackless.exp: New.
16931
38899f16
IB
169322016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16933
16934 * gdb.dlang/circular.c: New file.
16935 * gdb.dlang/circular.exp: New file.
16936
9fde51ed
YQ
169372016-02-26 Yao Qi <yao.qi@linaro.org>
16938
16939 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16940 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16941 (testcases): Update.
16942
ce90fefe
YQ
169432016-02-26 Yao Qi <yao.qi@linaro.org>
16944
16945 * gdb.reverse/aarch64.c: Rename to ...
16946 * gdb.reverse/insn-reverse.c: ... it.
16947 * gdb.reverse/aarch64.exp: Rename to ...
16948 * gdb.reverse/insn-reverse.exp: ... it.
16949
3263bceb
YQ
169502016-02-26 Yao Qi <yao.qi@linaro.org>
16951
16952 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16953 (testcase_ftype): New.
16954 (testcases): New array.
16955 (n_testcases): New.
16956 (main): Call each element in testcases.
16957 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16958 (read_testcase): New.
16959 Do the tests in a loop.
16960
6cb59ff1
YQ
169612016-02-25 Yao Qi <yao.qi@linaro.org>
16962
16963 * gdb.base/branches.c: Remove.
16964
ae91f625
MK
169652016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16966
16967 PR gdb/13808
16968 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16969
678b48b7
MK
169702016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16971
16972 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16973
7337a6f2
MK
169742016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16975
16976 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16977 change x86_64 call_insn to 'callq'.
16978
861ca91f
AT
169792016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16980
16981 * gdb.trace/tfile-avx.c: Move to...
16982 * gdb.trace/tracefile-pseudo-reg.c: Here.
16983 * gdb.trace/tfile-avx.exp: Move to...
16984 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16985
bf74e428
GB
169862016-02-24 Gary Benson <gbenson@redhat.com>
16987
16988 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16989 message on attach.
16990
cce0e923
DE
169912016-02-23 Doug Evans <dje@google.com>
16992
16993 * gdb.base/skip.c (test_skip): New function.
16994 (end_test_skip_file_and_function): New function.
16995 (test_skip_file_and_function): New function.
16996 * gdb.base/skip1.c (test_skip): New function.
16997 (skip1_test_skip_file_and_function): New function.
16998 * gdb.base/skip.exp: Add tests for new skip options.
16999 * gdb.base/skip-solib.exp: Update expected output.
17000 * gdb.perf/skip-command.cc: New file.
17001 * gdb.perf/skip-command.exp: New file.
17002 * gdb.perf/skip-command.py: New file.
17003
4000e47e
MK
170042016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
17005
17006 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
17007 info registers pattern.
17008
24f75ead
IB
170092016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
17010
17011 * lib/future.exp: Add D support.
17012 (gdb_find_gdc): New proc.
17013 (gdb_default_target_compile): Add D support.
17014
fbb7bcbe
WW
170152016-02-18 Wei-cheng Wang <cole945@gmail.com>
17016
17017 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
17018 user+system time.
17019 (trace_speed_test): Determine the iteration count for a time
17020 between 15..30 seconds.
17021
012b3a21
WT
170222016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
17023
17024 * gdb.arch/i386-mpx-sigsegv.c: New file.
17025 * gdb.arch/i386-mpx-sigsegv.exp: New file.
17026 * gdb.arch/i386-mpx-simple_segv.c: New file.
17027 * gdb.arch/i386-mpx-simple_segv.exp: New file.
17028
2d5189bd
YQ
170292016-02-18 Yao Qi <yao.qi@linaro.org>
17030
17031 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17032 Don't call setup_kfail.
17033
40fb20d0
YQ
170342016-02-18 Yao Qi <yao.qi@linaro.org>
17035
17036 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17037 Set "set breakpoint condition-evaluation" per $cond_bp_target.
17038
21b1f8d2
DE
170392016-02-16 Doug Evans <dje@google.com>
17040
17041 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
17042 * gdb.base/skip1.c: Ditto.
17043 * gdb.base/skip.exp: Whitespace cleanup.
17044
4041ed77
DB
170452016-02-16 Don Breazeal <donb@codesourcery.com>
17046
17047 PR remote/19496
17048 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17049 Remove kfail for PR remote/19496.
17050
c4ef31bf
SM
170512016-02-16 Simon Marchi <simon.marchi@ericsson.com>
17052
17053 * lib/gdb.exp (standard_temp_file): Return a path specific to
17054 the runtest invocation.
17055
266b65b3
SM
170562016-02-16 Simon Marchi <simon.marchi@ericsson.com>
17057
17058 * gdb.trace/save-trace.exp: Change relative path to be in the
17059 standard output directory.
17060
a7a0a6a9
JK
170612016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17062
17063 * gdb.arch/i386-prologue.c: Add missing prototypes.
17064
c99dbb42
JK
170652016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17066
17067 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
17068 * gdb.arch/i386-prologue.exp: Likewise.
17069 * gdb.arch/i386-size.exp: Likewise.
17070
aa480355
SM
170712016-02-15 Simon Marchi <simon.marchi@ericsson.com>
17072
17073 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
17074 define object file path.
17075 * gdb.btrace/gcore.exp: Use standard_output_file to define core
17076 file path.
17077 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
17078 standard_output_file to define binfile.
17079
ba881f50
JK
170802016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17081
17082 Fix compatibility with recent gfortran-5.3.1.
17083 * gdb.fortran/vla-history.exp (print vla1 allocated)
17084 (print vla2 allocated, print $2, print $3): Remove
17085 (print $4): Rename to ...
17086 (print $2): ... here.
17087 (print $9): Rename to ...
17088 (print $5): ... here.
17089 (print $10): Rename to ...
17090 (print $6): ... here.
17091 * gdb.fortran/vla.f90: Add pvla initialization.
17092
e9fb005c
JK
170932016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17094
17095 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
17096 New test.
17097 * gdb.fortran/vla-value-sub.exp: Likewise.
17098
e44e00ff
MK
170992016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
17100
17101 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
17102
97e94151
SM
171032016-02-12 Simon Marchi <simon.marchi@ericsson.com>
17104
17105 * i386-biarch-core.exp: Define corefile using
17106 standard_output_file.
17107
01113bc1
YQ
171082016-02-12 Yao Qi <yao.qi@linaro.org>
17109
17110 * gdb.arch/arm-single-step-kernel-helper.c: New.
17111 * gdb.arch/arm-single-step-kernel-helper.exp: New.
17112
33b4777c
MM
171132016-02-12 Markus Metzger <markus.t.metzger@intel.com>
17114
17115 * gdb.btrace/tailcall-only.exp: New.
17116 * gdb.btrace/tailcall-only.c: New.
17117 * gdb.btrace/x86_64-tailcall-only.S: New.
17118 * gdb.btrace/i686-tailcall-only.S: New.
17119
acc23c11
PA
171202016-02-11 Pedro Alves <palves@redhat.com>
17121
17122 * README (Parallel testing): Add missing double quotes.
17123
e352bf0a
PA
171242016-02-11 Pedro Alves <palves@redhat.com>
17125
17126 * README (Parallel testing): New section.
17127 (GDB_PARALLEL): Rewrite.
17128 (FORCE_PARALLEL): Document.
17129
9f5fed78
MK
171302016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
17131
17132 * gdb.trace/tfile-avx.c: New test.
17133 * gdb.trace/tfile-avx.exp: New test.
17134
9ef9e6a6
KS
171352016-02-09 Keith Seitz <keiths@redhat.com>
17136
17137 PR breakpoints/19546
17138 * gdb.base/infcall-exec.c: New file.
17139 * gdb.base/infcall-exec2.c: New file.
17140 * gdb.base/infcall-exec.exp: New file.
17141
a96e36da
KS
171422016-02-09 Keith Seitz <keiths@redhat.com>
17143
17144 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
17145 (toplevel): Call test_bkpt_address.
17146
9f61929f
KS
171472016-02-09 Keith Seitz <keiths@redhat.com>
17148
17149 PR python/19506
17150 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
17151 (toplevel): Call test_bkpt_address.
17152
1e94266c
SM
171532016-02-09 Simon Marchi <simon.marchi@ericsson.com>
17154
17155 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
17156 to AC_OUTPUT.
17157 * configure: Regenerate.
17158
2a7f3dff
PA
171592016-02-09 Pedro Alves <palves@redhat.com>
17160
17161 PR breakpoints/19548
17162 * gdb.base/execl-update-breakpoints.c (some_function): New
17163 function.
17164 (main): Call it.
17165 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
17166 Tighten expected GDB output.
17167
2151ccc5
SM
171682016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17169
17170 * Makefile.in (ALL_SUBDIRS): Remove.
17171 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
17172 (distclean maintainer-clean realclean): Likewise.
17173 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
17174 * configure: Regenerate.
17175 * gdb.ada/Makefile.in: Delete.
17176 * gdb.arch/Makefile.in: Likewise.
17177 * gdb.asm/Makefile.in: Likewise.
17178 * gdb.base/Makefile.in: Likewise.
17179 * gdb.btrace/Makefile.in: Likewise.
17180 * gdb.cell/Makefile.in: Likewise.
17181 * gdb.compile/Makefile.in: Likewise.
17182 * gdb.cp/Makefile.in: Likewise.
17183 * gdb.disasm/Makefile.in: Likewise.
17184 * gdb.dlang/Makefile.in: Likewise.
17185 * gdb.dwarf2/Makefile.in: Likewise.
17186 * gdb.fortran/Makefile.in: Likewise.
17187 * gdb.gdb/Makefile.in: Likewise.
17188 * gdb.go/Makefile.in: Likewise.
17189 * gdb.guile/Makefile.in: Likewise.
17190 * gdb.java/Makefile.in: Likewise.
17191 * gdb.linespec/Makefile.in: Likewise.
17192 * gdb.mi/Makefile.in: Likewise.
17193 * gdb.modula2/Makefile.in: Likewise.
17194 * gdb.multi/Makefile.in: Likewise.
17195 * gdb.objc/Makefile.in: Likewise.
17196 * gdb.opencl/Makefile.in: Likewise.
17197 * gdb.opt/Makefile.in: Likewise.
17198 * gdb.pascal/Makefile.in: Likewise.
17199 * gdb.perf/Makefile.in: Likewise.
17200 * gdb.python/Makefile.in: Likewise.
17201 * gdb.reverse/Makefile.in: Likewise.
17202 * gdb.server/Makefile.in: Likewise.
17203 * gdb.stabs/Makefile.in: Likewise.
17204 * gdb.threads/Makefile.in: Likewise.
17205 * gdb.trace/Makefile.in: Likewise.
17206 * gdb.xml/Makefile.in: Likewise.
17207 * lib/gdb.exp (make_gdb_parallel_path): Add check for
17208 GDB_PARALLEL.
17209 (standard_output_file): Remove check for GDB_PARALLEL, always
17210 return path in outputs/$subdir/$testname.
17211
437277d4
SM
172122016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17213
17214 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
17215 (site.exp): Assign abs_srcdir to tcl's srcdir.
17216
31d913c7
YQ
172172016-02-04 Yao Qi <yao.qi@linaro.org>
17218
17219 * gdb.base/foll-exec-mode.c: Include limits.h.
17220 (main): Add parameters argc and argv. Get directory from
17221 argv[0].
17222 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
17223 compilation.
17224 * gdb.base/foll-exec.c: Include limits.h.
17225 (main): Add parameters argc and argv.
17226 Get directory from argv[0].
17227 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17228 Adjust tests on the number of lines as source code changed.
17229 * gdb.base/foll-vfork-exit.c: Include limits.h.
17230 (main): Add one line of statement before vfork.
17231 * gdb.base/foll-vfork.c: Include limits.h and string.h.
17232 (main): Add parameters argc and argv. Get directory from
17233 argv[0].
17234 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
17235 (setup_gdb): Set tbreak to skip some source lines.
17236 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
17237 (main): Add parameters argc and argv. Get directory from
17238 argv[0].
17239 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
17240 compilation.
17241 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
17242 (main): Add parameters argc and argv. Get directory from
17243 argv[0].
17244 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
17245 compilation.
17246
9482b9fb
DE
172472016-02-01 Doug Evans <dje@google.com>
17248
17249 * gdb.base/skip.exp: Clean up multiple references to same test name.
17250
6b2e4f10
PA
172512016-02-01 Pedro Alves <palves@redhat.com>
17252
ccb6afd6 17253 PR remote/19496
6b2e4f10
PA
17254 * gdb.threads/forking-threads-plus-breakpoint.exp
17255 (displaced_stepping_supported): New global.
17256 (probe_displaced_stepping_support): New procedure.
17257 (do_test): Add 'displaced' parameter, and use it.
17258 (top level): Check for displaced stepping support. Add displaced
17259 stepping on/off testing axis.
17260
37a8db1a
AB
172612016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17262
17263 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
17264 pointer. Don't perform further tests on the unassociated pointer
17265 if the first test fails.
17266
5fdf6324
AB
172672016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17268
17269 * gdb.base/max-value-size.c: New file.
17270 * gdb.base/max-value-size.exp: New file.
17271 * gdb.base/huge.exp: Disable max-value-size for this test.
17272
935c6144
IB
172732016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
17274
17275 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17276
7fe8399d
YQ
172772016-01-28 Yao Qi <yao.qi@linaro.org>
17278
17279 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
17280
a2077e25
PA
172812016-01-25 Pedro Alves <palves@redhat.com>
17282
17283 PR threads/19461
17284 * gdb.base/fork-running-state.c: New file.
17285 * gdb.base/fork-running-state.exp: New file.
17286
1d2736d4
PA
172872016-01-25 Pedro Alves <palves@redhat.com>
17288
17289 PR gdb/19494
17290 * gdb.base/catch-fork-kill.c: New file.
17291 * gdb.base/catch-fork-kill.exp: New file.
17292
f1da4b11
PA
172932016-01-25 Pedro Alves <palves@redhat.com>
17294
17295 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17296 Delete, moved to lib/gdb.exp.
17297 * gdb.threads/forking-threads-plus-breakpoint.exp
17298 (foreach_with_prefix): Likewise.
17299 * gdb.threads/process-dies-while-handling-bp.exp
17300 (foreach_with_prefix): Likewise.
17301 * lib/gdb.exp (foreach_with_prefix): New procedure.
17302
45f38546
MK
173032016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17304
17305 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17306 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17307
dc29a1ce
MK
173082016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17309
17310 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17311 endian targets.
17312
092127d7
JK
173132016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17314 Pedro Alves <palves@redhat.com>
17315
17316 Fix testsuite compatibility with Guile.
17317 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17318 number.
17319
31d765d3
JK
173202016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17321
17322 Fix testsuite compatibility with Guile.
17323 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17324 (thread 1): New test for backtrace through signal handler.
17325
1ac78c04
YQ
173262016-01-22 Yao Qi <yao.qi@linaro.org>
17327
17328 PR testsuite/19491
17329 * gdb.base/multi-forks.c: Include
17330 ../lib/unbuffer_output.c
17331 (main): Call gdb_unbuffer_output.
17332
4f5946a8
DE
173332016-01-21 Doug Evans <dje@google.com>
17334
17335 * lib/ada.exp (gdb_compile_ada): Fix typo.
17336
305e13e6
JB
173372016-01-21 Joel Brobecker <brobecker@adacore.com>
17338
17339 * gdb.base/break-fun-addr.exp: New file.
17340 * gdb.base/break-fun-addr1.c: New file.
17341 * gdb.base/break-fun-addr2.c: New file.
17342
5f5dfff6
SM
173432016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17344
17345 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17346 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17347 enum flag values.
17348
fd356fa2
AA
173492016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17350
17351 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17352 when GDB can not set the vector return value. Add more comments
17353 for clarification.
17354
9df22175
AT
173552016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17356
17357 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17358 command.
17359
41d1845e
SM
173602016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17361
17362 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17363
01ac6840
SM
173642016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17365
17366 * Makefile.in (check-single): Pass --status to runtest.
17367 (check/%.exp): Likewise.
17368
173692016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17370
17371 * Makefile.in (check-parallel): Propagate return code from make
17372 do-check-parallel.
17373
bd0a71fa
MK
173742016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17375
17376 * gdb.trace/ftrace.exp: Fix expected message on continue.
17377 * gdb.trace/pending.exp: Fix expected message on continue.
17378 * gdb.trace/trace-break.exp: Fix expected message on continue.
17379
8bcbad33
SM
173802016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17381
17382 * lib/gdb.exp (gdb_test): Remove unused global references.
17383
f303dbd6
PA
173842016-01-18 Pedro Alves <palves@redhat.com>
17385
17386 * gdb.base/async-shell.exp: Adjust expected output.
17387 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17388 * gdb.base/siginfo-thread.exp: Adjust expected output.
17389 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17390 * gdb.java/jnpe.exp: Adjust expected output.
17391 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17392 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17393 * gdb.threads/leader-exit.exp: Adjust expected output.
17394 * gdb.threads/manythreads.exp: Adjust expected output.
17395 * gdb.threads/pthreads.exp: Adjust expected output.
17396 * gdb.threads/schedlock.exp: Adjust expected output.
17397 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17398 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17399 expected output.
17400 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17401 output.
17402 * gdb.threads/sigthread.exp: Adjust expected output.
17403 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17404
b2789696
YQ
174052016-01-18 Yao Qi <yao.qi@linaro.org>
17406
17407 * gdb.guile/scm-section-script.c: Replace @progbits with
17408 %progbits.
17409 * gdb.python/py-section-script.c: Likewise.
17410
71ef29a8
PA
174112016-01-15 Pedro Alves <palves@redhat.com>
17412
17413 * gdb.multi/tids.exp: Test star wildcard ranges.
17414
3f5b7598
PA
174152016-01-15 Pedro Alves <palves@redhat.com>
17416
17417 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17418 command from "thread apply" invocation.
17419 (thr_apply_info_thr_invalid): Default the expected output to the
17420 input tid list.
17421 (top level): Add tests that use convenience variables. Add tests
17422 for "thread apply" with a valid TID list, but missing the command.
17423
663f6d42
PA
174242016-01-13 Pedro Alves <palves@redhat.com>
17425
17426 * gdb.base/default.exp: Expect $_gthread as well.
17427 * gdb.multi/tids.exp: Test $_gthread.
17428 * gdb.threads/thread-specific.exp: Test $_gthread.
17429
c84f6bbf
PA
174302016-01-13 Pedro Alves <palves@redhat.com>
17431
17432 * gdb.multi/tids.exp: Test "info threads -gid".
17433
22a02324
PA
174342016-01-13 Pedro Alves <palves@redhat.com>
17435
17436 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17437 Breakpoint.thread.
17438 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17439
5d5658a1
PA
174402016-01-07 Pedro Alves <palves@redhat.com>
17441
17442 * gdb.base/break.exp: Adjust to output changes.
17443 * gdb.base/hbreak2.exp: Likewise.
17444 * gdb.base/sepdebug.exp: Likewise.
17445 * gdb.base/watch_thread_num.exp: Likewise.
17446 * gdb.linespec/keywords.exp: Likewise.
17447 * gdb.multi/info-threads.exp: Likewise.
17448 * gdb.threads/thread-find.exp: Likewise.
17449 * gdb.multi/tids.c: New file.
17450 * gdb.multi/tids.exp: New file.
17451
84654457
PA
174522016-01-13 Pedro Alves <palves@redhat.com>
17453
17454 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17455
e3940304
PA
174562016-01-13 Pedro Alves <palves@redhat.com>
17457
17458 * gdb.base/default.exp: Expect $_inferior as well.
17459 * gdb.multi/base.exp: Test $_inferior.
17460
a911d87a
PA
174612016-01-13 Pedro Alves <palves@redhat.com>
17462
17463 PR breakpoints/19388
17464 * gdb.base/catch-signal-siginfo-cond.c: New file.
17465 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17466
82075af2
JS
174672016-01-12 Josh Stone <jistone@redhat.com>
17468 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17469
17470 * gdb.base/catch-syscall.c (do_execve): New variable.
17471 (main): Conditionally trigger an execve.
17472 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17473 (test_catch_syscall_execve): New, check entry/return across execve.
17474 (do_syscall_tests): Call test_catch_syscall_execve.
17475
e46eeedd
PA
174762016-01-12 Pedro Alves <palves@redhat.com>
17477
17478 * gdb.base/random-signal.exp (do_test): New procedure, with body
17479 of testcase moved in.
17480
01d8c27e
JK
174812016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17482 Pedro Alves <palves@redhat.com>
17483
17484 * gdb.base/funcargs.exp (finish from indirectly called function):
17485 Reintroduce the case for 'First'.
17486
9a706302
JK
174872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17488 Pedro Alves <palves@redhat.com>
17489
17490 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17491 (tcatch_vfork_then_child_follow_exec)
17492 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17493 identification.
17494
c0ecb95f
JK
174952016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17496
17497 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17498 and repeats to unlimited.
17499 * gdb.python/py-value.exp: Likewise.
17500 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17501 and repeats to unlimited.
17502
6cfc1fcb
JK
175032016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17504
17505 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17506 and reordering the functions.
17507 * gdb.multi/hangout.c: Likewise.
17508 * gdb.multi/hello.c: Likewise.
17509
582a1b00
SM
175102016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17511
17512 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17513 absolute.
17514 (SingleStatisticTestResult.report): Use dict.keys instead of
17515 dict.iterkeys.
17516
79bc59cb
PA
175172016-01-06 Pedro Alves <palves@redhat.com>
17518
17519 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17520
43368e1d
MM
175212016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17522
17523 * gdb.btrace/dlopen.exp: New.
17524 * gdb.btrace/dlopen.c: New.
17525 * gdb.btrace/dlopen-dso.c: New.
17526
79fad5b8
SL
175272015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17528
17529 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17530 PATTERN argument is optional.
17531
ab8314b3
JB
175322015-12-24 Joel Brobecker <brobecker@adacore.com>
17533
17534 * lib/ada.exp (target_compile_ada_from_dir): New function.
17535 (gdb_compile_ada): Reimplement avoiding the use of project files.
17536 * gdb.ada/gnat_ada.gpr: Delete.
17537 * gdb.ada/cond_lang.exp: Adjust test to make path before
17538 filename optional.
17539 * gdb.ada/small_reg_param.exp: Likewise.
17540
fe33faff
SM
175412015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17542
17543 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17544
6d265cb4
TP
175452015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17546
17547 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17548 case.
17549
10125099
SM
175502015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17551
17552 * gdb.base/break.exp: Remove dead code.
17553 * gdb.base/sepdebug.exp: Likewise.
17554
3ca22649
SM
175552015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17556
17557 * gdb.asm/asm-source.exp: Remove HP-UX references.
17558 * gdb.base/annota1.exp: Likewise.
17559 * gdb.base/annota3.exp: Likewise.
17560 * gdb.base/attach.exp: Likewise.
17561 * gdb.base/bigcore.exp: Likewise.
17562 * gdb.base/break.exp: Likewise.
17563 * gdb.base/call-ar-st.exp: Likewise.
17564 * gdb.base/callfuncs.exp: Likewise.
17565 * gdb.base/catch-fork-static.exp: Likewise.
17566 * gdb.base/display.exp: Likewise.
17567 * gdb.base/foll-exec-mode.exp: Likewise.
17568 * gdb.base/foll-exec.exp: Likewise.
17569 * gdb.base/foll-fork.exp: Likewise.
17570 * gdb.base/foll-vfork.exp: Likewise.
17571 * gdb.base/funcargs.exp: Likewise.
17572 * gdb.base/hbreak2.exp: Likewise.
17573 * gdb.base/inferior-died.exp: Likewise.
17574 * gdb.base/interrupt.exp: Likewise.
17575 * gdb.base/multi-forks.exp: Likewise.
17576 * gdb.base/nodebug.exp: Likewise.
17577 * gdb.base/sepdebug.exp: Likewise.
17578 * gdb.base/solib1.c: Likewise.
17579 * gdb.base/step-test.exp: Likewise.
17580 * gdb.mi/non-stop.c: Likewise.
17581 * gdb.mi/pthreads.c: Likewise.
17582 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17583 * gdb.threads/pthreads.c: Likewise.
17584 * gdb.threads/staticthreads.exp: Likewise.
17585 * lib/future.exp: Likewise.
17586 * lib/gdb.exp: Likewise.
17587 * gdb.base/so-indr-cl.c: Remove.
17588 * gdb.base/so-indr-cl.exp: Likewise.
17589 * gdb.base/solib.c: Likewise.
17590 * gdb.base/solib.exp: Likewise.
17591 * gdb.base/solib2.c: Likewise.
17592
b6304613
SM
175932015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17594
17595 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17596 * gdb.base/call-ar-st.exp: Likewise.
17597 * gdb.base/callfuncs.exp: Likewise.
17598 * gdb.base/condbreak.exp: Likewise.
17599 * gdb.base/constvars.exp: Likewise.
17600 * gdb.base/hbreak2.exp: Likewise.
17601 * gdb.base/langs.exp: Likewise.
17602 * gdb.base/list.exp: Likewise.
17603 * gdb.base/long_long.exp: Likewise.
17604 * gdb.base/ptype.exp: Likewise.
17605 * gdb.base/scope.exp: Likewise.
17606 * gdb.base/signals.exp: Likewise.
17607 * gdb.base/so-impl-ld.exp: Likewise.
17608 * gdb.base/varargs.exp: Likewise.
17609 * gdb.base/volatile.exp: Likewise.
17610 * gdb.base/whatis.exp: Likewise.
17611 * gdb.cp/cplusfuncs.exp: Likewise.
17612 * gdb.cp/inherit.exp: Likewise.
17613 * gdb.cp/local.exp: Likewise.
17614 * gdb.cp/member-ptr.exp: Likewise.
17615 * gdb.cp/method.exp: Likewise.
17616 * gdb.cp/overload.exp: Likewise.
17617 * gdb.cp/templates.exp: Likewise.
17618 * gdb.stabs/weird.exp: Likewise.
17619 * lib/compiler.c: Likewise.
17620 * lib/compiler.cc: Likewise.
17621 * lib/cp-support.exp: Likewise.
17622 * lib/gdb.exp: Likewise.
17623
bf401b07
SM
176242015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17625
17626 * configure.ac: Remove HP-UX case.
17627 * configure: Regenerate.
17628
aff9c0f8
SM
176292015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17630
17631 * lib/gdb.exp (gdb_compile): Add function doc.
17632
a6904d5a
PA
176332015-12-17 Pedro Alves <palves@redhat.com>
17634
17635 PR threads/19354
17636 * gdb.multi/info-threads.exp: New file.
17637
a22279dd
YQ
176382015-12-15 Yao Qi <yao.qi@linaro.org>
17639
17640 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17641 is aarch64*-*-*.
17642
0588c796
SL
176432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17644
17645 * gdb.base/history-duplicates.exp: Skip if no readline support.
17646
5d978e17
SL
176472015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17648
17649 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17650
7e763b86
SL
176512015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17652
17653 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17654
87a3a92c
SL
176552015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17656
17657 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17658 ctrl-C if nointerrupts target property is set.
17659 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17660 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17661 * gdb.base/paginate-bg-execution.exp: Likewise.
17662 * gdb.base/paginate-execution-startup.exp: Likewise.
17663 * gdb.base/random-signal.exp: Likewise.
17664 * gdb.base/range-stepping.exp: Likewise.
17665 * gdb.cp/annota2.exp: Likewise.
17666 * gdb.cp/annota3.exp: Likewise.
17667 * gdb.gdb/selftest.exp: Likewise.
17668 * gdb.threads/continue-pending-status.exp: Likewise.
17669 * gdb.threads/leader-exit.exp: Likewise.
17670 * gdb.threads/manythreads.exp: Likewise.
17671 * gdb.threads/pthreads.exp: Likewise.
17672 * gdb.threads/schedlock.exp: Likewise.
17673 * gdb.threads/sigthread.exp: Likewise.
17674
a8f077dc
DB
176752015-12-11 Don Breazeal <donb@codesourcery.com>
17676
17677 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17678 remote.
17679 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17680 * gdb.base/foll-exec.exp (main): Enable for target remote.
17681 * gdb.base/foll-fork.exp (main): Likewise.
17682 * gdb.base/foll-vfork.exp (main): Likewise.
17683 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17684 (proc continue_to_exit_bp_loc): Use clean_restart.
17685 * gdb.base/pie-execl.exp (main): Disable for target remote.
17686 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17687 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17688 * gdb.threads/execl.exp (main): Likewise.
17689 * gdb.threads/fork-child-threads.exp (main): Likewise.
17690 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17691 remote.
17692 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17693 remote.
17694 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17695 pid.tid style ptids, instead of just tid.
17696 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17697 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17698 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17699 ptids, instead of just tid.
17700
3b2464a8
AB
177012015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17702
17703 * gdb.base/list.exp (test_list_forward): Add end of file error
17704 test.
17705 (test_repeat_list_command): Add end of file error test.
17706 (test_list_backwards): Add beginning of file error test.
17707
a0def019
AB
177082015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17709
17710 * gdb.base/list.exp (test_list_invalid_args): New function,
17711 defined, and called.
17712
5c000dff
AB
177132015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17714
17715 * gdb.base/list.exp (test_list): Make test names unique.
17716
f1637ebe
YQ
177172015-12-11 Yao Qi <yao.qi@linaro.org>
17718
17719 * gdb.base/coremaker2.c: Remove.
17720
36d6fc0a
PA
177212015-12-10 Pedro Alves <palves@redhat.com>
17722
17723 * gdb.multi/base.exp: Remove stale "spaces" references.
17724
762f7747
PA
177252015-12-10 Pedro Alves <palves@redhat.com>
17726
17727 * gdb.multi/base.exp: Don't use nowarnings.
17728 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17729 * gdb.multi/hangout.c: Include stdio.h.
17730 * gdb.multi/hello.c: Include stdlib.h.
17731 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17732 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17733 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17734
28d2bfb9
AB
177352015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17736
17737 * gdb.dwarf2/dw2-ranges-base.c: New file.
17738 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17739 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17740 support additional line table, and debug ranges generation.
17741 (Dwarf::ranges): New function, generate .debug_ranges.
17742 (Dwarf::lines): Support generating simple line table programs.
17743 (Dwarf::assemble): Initialise new namespace variables.
17744
5fc2beac
KB
177452015-12-09 Kevin Buettner <kevinb@redhat.com>
17746
17747 * gdb.base/async.exp (proc test_background): Add case for
17748 asynchronous execution not supported.
17749
1c35a88f
LM
177502015-12-09 Luis Machado <lgustavo@codesourcery.com>
17751
17752 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17753 format and change test names to make them unique.
17754
b593e3d9
RK
177552015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17756 Pedro Alves <pedro@redhat.com>
17757
17758 PR gdb/18702
17759 Add checking of floatformats setup on x86_64 hosts.
17760 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17761 (smallval, bigval): New labels/constants.
17762 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17763 float" after loading bigval and smallval.
17764
d72413e6
PMR
177652015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17766
17767 * gdb.ada/fun_overload_menu.exp: New testcase.
17768 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17769
ece66d65
JS
177702015-12-04 Josh Stone <jistone@redhat.com>
17771
17772 * gdb.base/catch-fork-static.exp: New.
17773
41d0efca
YQ
177742015-12-03 Yao Qi <yao.qi@linaro.org>
17775
17776 * gdb.base/sizeof.c: Don't include stdio.h and
17777 ../lib/unbuffer_output.c.
17778 (main): New variable 'size' and 'value'. Remove printf and
17779 gdb_unbuffer_output. Assign return value to size and value.
17780 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17781 at the beginning.
17782 (check_sizeof): Check the result by printing variable 'size'.
17783 (check_valueof): Check the result by printing variable 'value'.
17784
99fd02d9
YQ
177852015-12-01 Yao Qi <yao.qi@linaro.org>
17786
17787 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17788 for aarch64*-*-linux* target.
17789
f2faf941
PA
177902015-11-30 Pedro Alves <palves@redhat.com>
17791
17792 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17793
04bf20c5
PA
177942015-11-30 Pedro Alves <palves@redhat.com>
17795
17796 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17797 Handle non-stop mode vCont replies.
17798
09df4675
PA
177992015-11-30 Pedro Alves <palves@redhat.com>
17800
17801 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17802 prepare_for_testing. Start gdb with "set non-stop on" appended to
17803 GDBFLAGS. Lax expected stop output.
17804
58b584af
YQ
178052015-11-27 Yao Qi <yao.qi@linaro.org>
17806
17807 * gdb.arch/arm-neon.exp: New.
17808 * gdb.arch/arm-neon.c: New.
17809
dfcb77a8
YQ
178102015-11-27 Yao Qi <yao.qi@linaro.org>
17811
17812 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17813
88e8ec1b
YQ
178142015-11-27 Yao Qi <yao.qi@linaro.org>
17815
17816 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17817 frames-invalid annotation.
17818
bfde72c2
YQ
178192015-11-27 Yao Qi <yao.qi@linaro.org>
17820
17821 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17822
f6512a69
SM
178232015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17824
17825 * gdb.threads/names.exp: New file.
17826 * gdb.threads/names.c: New file.
17827 * README: Mention gdb,no_thread_names.
17828
46a3515b
MM
178292015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17830
17831 PR 19297
17832 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17833 support" error.
17834
62147a22
PA
178352015-11-24 Pedro Alves <palves@redhat.com>
17836
17837 PR 17539
17838 * gdb.base/display.exp: Expect displays to be sorted in ascending
17839 order. Use multi_line.
17840 * gdb.base/solib-display.exp: Likewise.
17841
2f341b6e
PA
178422015-11-24 Pedro Alves <palves@redhat.com>
17843
17844 PR 17539
25d49b86
PA
17845 * gdb.base/display.exp: Expect displays to be sorted in ascending
17846 order. Use multi_line.
17847 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17848
7e0aa6aa
PA
178492015-11-24 Pedro Alves <palves@redhat.com>
17850
17851 PR 17539
17852 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17853 threads in ascending order.
17854 * gdb.base/foll-fork.exp: Likewise.
17855 * gdb.base/foll-vfork.exp: Likewise.
17856 * gdb.base/multi-forks.exp: Likewise.
17857 * gdb.mi/mi-nonstop.exp: Likewise.
17858 * gdb.mi/mi-nsintrall.exp: Likewise.
17859 * gdb.multi/base.exp: Likewise.
17860 * gdb.multi/multi-arch.exp: Likewise.
17861 * gdb.python/py-inferior.exp: Likewise.
17862 * gdb.threads/break-while-running.exp: Likewise.
17863 * gdb.threads/execl.exp: Likewise.
17864 * gdb.threads/gcore-thread.exp: Likewise.
17865 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17866 * gdb.threads/kill.exp: Likewise.
17867 * gdb.threads/linux-dp.exp: Likewise.
17868 * gdb.threads/multiple-step-overs.exp: Likewise.
17869 * gdb.threads/next-bp-other-thread.exp: Likewise.
17870 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17871 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17872 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17873 * gdb.threads/thread-find.exp: Likewise.
17874 * gdb.threads/tls.exp: Likewise.
17875 * lib/mi-support.exp (mi_reverse_list): Delete.
17876 (mi_check_thread_states): No longer reverse list.
17877
2cc57ad8
PA
178782015-11-24 Pedro Alves <palves@redhat.com>
17879
17880 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17881 use lowercase.
17882
c93e8391
SM
178832015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17884
17885 * gdb.trace/actions.c: Include trace-common.h.
17886 (main): Add a location for a fast tracepoint.
17887 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17888 the normal tracepoints.
17889 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17890
045ccf91
SM
178912015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17892
17893 * save-trace.exp: Factor out code to these...
17894 (gdb_save_tracepoints): New.
17895 (gdb_load_tracepoints): New.
17896 (do_save_load_test): New.
17897
5506f9f6
KB
178982015-11-23 Kevin Buettner <kevinb@redhat.com>
17899
17900 * gdb.base/asmlabel.exp: New test.
17901 * gdb.base/asmlabel.c: New test case.
17902
16c3b12f
JB
179032015-11-23 Joel Brobecker <brobecker@adacore.com>
17904
17905 * gdb.base/wrong_frame_bt_full-main.c: New file.
17906 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17907 * gdb.base/wrong_frame_bt_full.exp: New file.
17908
155bfbd3
JB
179092015-11-23 Joel Brobecker <brobecker@adacore.com>
17910
17911 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17912
bb097445
JM
179132015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17914
206853a0 17915 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17916 pstate register when comparing registers values in
17917 sparc64-*-linux-gnu targets to avoid spurious differences.
17918
9c88ed8f
JM
179192015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17920
206853a0 17921 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17922
96161e25
SL
179232015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17924
17925 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17926 as type argument to gdb_compile.
17927 * gdb.base/nested-subp2.exp: Likewise.
17928 * gdb.base/nested-subp3.exp: Likewise.
17929
340c2830
DV
179302015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17931
17932 * lib/dwarf.exp (_note): Fix left shift of negative value.
17933 * gdb.trace/trace-condition.exp: Likewise.
17934
c1862d0f
YQ
179352015-11-13 Yao Qi <yao.qi@linaro.org>
17936
17937 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17938 comments about d10v.
17939 (test_scalar_returns): Likewise.
17940 * gdb.base/d10v.ld: Remove.
17941 * gdb.base/overlays.exp: Remove the target triplet checking for
17942 d10v-*-*.
17943 * gdb.base/structs.exp (test_struct_returns): Remove the
17944 comments about d10v.
17945 (test_struct_calls): Likewise.
17946
77ae9c19
YQ
179472015-11-13 Yao Qi <yao.qi@linaro.org>
17948
17949 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17950 * gdb.base/gnu_vector.c: Don't include stdio.h.
17951 (main): Don't print res and call add_some_intvecs.
17952
430e004e
MK
179532015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17954
17955 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17956 macro.
17957 (func5): Removed.
17958 (func4): Use FAST_TRACEPOINT_LABEL.
17959 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17960 macro.
17961 (func): Removed.
17962 (thread_function): Use FAST_TRACEPOINT_LABEL.
17963 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17964 (func): Remove.
17965 (marker): Use FAST_TRACEPOINT_LABEL.
17966 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17967 (pendfunc1): Remove.
17968 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17969 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17970 (foo): Remove.
17971 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17972 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17973 macro.
17974 (func): Remove.
17975 (marker): Use FAST_TRACEPOINT_LABEL.
17976 * gdb.trace/trace-common.h: New header.
17977 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17978 macro.
17979 (func): Remove.
17980 (marker): Use FAST_TRACEPOINT_LABEL.
17981 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17982 (func): Remove.
17983 (thread_function): Use FAST_TRACEPOINT_LABEL.
17984
6e7675a7
MK
179852015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17986
17987 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17988 in front.
17989 * gdb.trace/change-loc.exp: Use global pcreg definition.
17990 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17991 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17992 in front.
17993 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17994 * gdb.trace/pending.exp: Likewise.
17995 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17996 * gdb.trace/trace-break.exp: Likewise.
17997 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17998 in front.
17999 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
18000 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
18001 in front.
18002 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
18003
dddc0e16
JB
180042015-11-09 Joel Brobecker <brobecker@adacore.com>
18005
18006 * gdb.ada/fin_fun_out: New testcase.
18007
c6f0b406
KB
180082015-11-07 Kevin Buettner <kevinb@redhat.com>
18009
18010 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
18011 value associated with DW_AT_byte_size.
18012 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
18013 constants for DW_AT_byte_size, DW_AT_lower_bound, and
18014 DW_AT_upper_bound.
18015
f01dcfd9
KB
180162015-11-07 Kevin Buettner <kevinb@redhat.com>
18017
18018 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
18019 (gdb_target_symbol_prefix_flags): Define in terms of _asm
18020 version.
18021 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
18022 gdb.dwarf2/dw2-canonicalize-type.exp,
18023 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
18024 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
18025 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
18026 provided by gdb_target_symbol_prefix_flags_asm.
18027 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
18028 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
18029 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
18030 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
18031 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
18032 macros where needed). Use this macro for symbols which require
18033 the prefix provided by SYMBOL_PREFIX.
18034
2223449a
KB
180352015-11-05 Kevin Buettner <kevinb@redhat.com>
18036
18037 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
18038 New procs.
18039 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
18040 representing expressions, of more than one list element.
18041 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
18042 to prepend linker symbol prefix to f.
18043 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
18044 table_1 and table_2.
18045 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
18046 Likewise, for f and g.
18047 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
18048 for ptr.
18049 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
18050 for main.
18051 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
18052 table_1_ptr and table_2_ptr.
18053
6f2f1a3a
JK
180542015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18055 Joel Brobecker <brobecker@adacore.com>
18056
18057 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
18058
566c56c9
MK
180592015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
18060
18061 * gdb.reverse/s390-mvcle.c: New test.
18062 * gdb.reverse/s390-mvcle.exp: New file.
18063 * lib/gdb.exp: Enable reverse tests on s390*-linux.
18064
d5f0636b
MK
180652015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
18066
18067 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
18068
7ad8b86c
MK
180692015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
18070
18071 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
18072 reaching marker2.
18073 * gdb.reverse/getresuid-reverse.exp: Likewise.
18074 * gdb.reverse/pipe-reverse.exp: Likewise.
18075 * gdb.reverse/readv-reverse.exp: Likewise.
18076 * gdb.reverse/recvmsg-reverse.exp: Likewise.
18077 * gdb.reverse/time-reverse.exp: Likewise.
18078 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
18079
4081c0f1
YQ
180802015-10-30 Yao Qi <yao.qi@linaro.org>
18081
18082 * gdb.threads/wp-replication.c (watch_count_done): Remove.
18083 (empty_cycle): Remove.
18084 (main): Don't call empty_cycle. Don't use watch_count_done.
18085 * gdb.threads/wp-replication.exp: Don't set breakpoint on
18086 empty_cycle. Rewrite the code counting HW watchpoints.
18087
452b4ba5
MK
180882015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
18089
18090 * gdb.reverse/fstatat-reverse.c: New test.
18091 * gdb.reverse/fstatat-reverse.exp: New file.
18092 * gdb.reverse/getresuid-reverse.c: New test.
18093 * gdb.reverse/getresuid-reverse.exp: New file.
18094 * gdb.reverse/pipe-reverse.c: New test.
18095 * gdb.reverse/pipe-reverse.exp: New file.
18096 * gdb.reverse/readv-reverse.c: New test.
18097 * gdb.reverse/readv-reverse.exp: New file.
18098 * gdb.reverse/recvmsg-reverse.c: New test.
18099 * gdb.reverse/recvmsg-reverse.exp: New file.
18100 * gdb.reverse/time-reverse.c: New test.
18101 * gdb.reverse/time-reverse.exp: New file.
18102 * gdb.reverse/waitpid-reverse.c: New test.
18103 * gdb.reverse/waitpid-reverse.exp: New file.
18104
5e2e7507
JK
181052015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
18106
18107 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
18108
0fde2c53
DE
181092015-10-26 Doug Evans <dje@google.com>
18110
18111 PR symtab/17391
18112 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
18113 * gdb.dwarf2/bad-regnum.c: New file.
18114 * gdb.dwarf2/bad-regnum.exp: New file.
18115
1a70ae97
DE
181162015-10-26 Doug Evans <dje@google.com>
18117
18118 PR python/18938
18119 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
18120 file.
18121
27dc26ab
JK
181222015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18123
18124 * gdb.compile/compile.exp (compile code globalvar): Update expectation
18125 for a change by "Mention language in compile error message".
18126
bed91f4d
SM
181272015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
18128
18129 PR python/18073
18130 * gdb.python/py-type.c (C::a_method): New.
18131 (C::a_const_method): New.
18132 (C::a_static_method): New.
18133 (a_function): New.
18134 * gdb.python/py-type.exp (test_fields): Test getting fields
18135 from function and method.
18136
3f2f83dd
KB
181372015-10-21 Keven Boell <keven.boell@intel.com>
18138
18139 * gdb.fortran/vla-alloc-assoc.exp: New file.
18140 * gdb.fortran/vla-datatypes.exp: New file.
18141 * gdb.fortran/vla-datatypes.f90: New file.
18142 * gdb.fortran/vla-history.exp: New file.
18143 * gdb.fortran/vla-ptype-sub.exp: New file.
18144 * gdb.fortran/vla-ptype.exp: New file.
18145 * gdb.fortran/vla-sizeof.exp: New file.
18146 * gdb.fortran/vla-sub.f90: New file.
18147 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
18148 * gdb.fortran/vla-value-sub-finish.exp: New file.
18149 * gdb.fortran/vla-value-sub.exp: New file.
18150 * gdb.fortran/vla-value.exp: New file.
18151 * gdb.fortran/vla-ptr-info.exp: New file.
18152 * gdb.mi/mi-vla-fortran.exp: New file.
18153 * gdb.mi/vla.f90: New file.
18154
27145d50
SL
181552015-10-21 Sandra Loosemore <sandra@codesourcery.com>
18156
18157 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
18158 of hardwired timeout value.
18159
5f3ff4f8
JK
181602015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18161 Pedro Alves <palves@redhat.com>
18162
18163 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
18164 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
18165
bfd09d20
JS
181662015-10-19 Josh Stone <jistone@redhat.com>
18167
18168 * gdb.base/catch-syscall.c: Include <sched.h>.
18169 (unknown_syscall): New variable.
18170 (main): Trigger a vfork and an unknown syscall.
18171 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
18172 (unknown_syscall_number): Likewise.
18173 (check_call_to_syscall): Accept an optional syscall pattern.
18174 (check_return_from_syscall): Likewise.
18175 (check_continue): Likewise.
18176 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
18177 (test_catch_syscall_skipping_return): New test toggling off 'catch
18178 syscall' to step over the syscall return, then toggling back on.
18179 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
18180 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
18181 (do_syscall_tests): Call test_catch_syscall_without_args and
18182 test_catch_syscall_mid_vfork.
18183 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
18184 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
18185
b32b93c6
AS
181862015-10-19 Andrew Stubbs <ams@codesourcery.com>
18187
18188 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
18189 print g_vE): Add new pass patterns.
18190 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
18191 print various symbol names for vptr fields.
18192
9d622bda
AB
181932015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
18194
18195 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
18196 results.
18197
0fd8ac1c
YQ
181982015-10-12 Yao Qi <yao.qi@linaro.org>
18199
18200 * gdb.arch/disp-step-insn-reloc.exp: New test case.
18201
34240514
YQ
182022015-10-12 Yao Qi <yao.qi@linaro.org>
18203
18204 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
18205 is aarch64*-*-linux*.
18206
8240f442
YQ
182072015-10-12 Yao Qi <yao.qi@linaro.org>
18208
18209 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
18210 (can_relocate_bcond_true): ... it.
18211 (can_relocate_bcond_false): New function.
18212 (foo): Likewise.
18213 (can_relocate_bl): Likewise.
18214 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
18215 can_relocate_bl.
18216
2520f728
PMR
182172015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
18218
18219 * gdb.base/nested-addr.c: New file.
18220 * gdb.base/nested-addr.exp: New testcase.
18221
abcef95a
MM
182222015-10-09 Markus Metzger <markus.t.metzger@intel.com>
18223
18224 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
18225 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
18226 its output. Ignore the output of "record goto begin" and instead
18227 check that GDB is replaying.
18228
145e3ddb
PA
182292015-10-09 Pedro Alves <palves@redhat.com>
18230
18231 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
18232 (top level): Use it in the run with no args test.
18233
d5d8c4e1
IB
182342015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
18235
18236 * gdb.dlang/properties.exp: New file.
18237
06e635ef
SL
182382015-10-02 Sandra Loosemore <sandra@codesourcery.com>
18239
18240 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
18241 whether or not address 0x1000 is mapped on the target.
18242
e019fd1d
SM
182432015-09-30 Simon Marchi <simon.marchi@ericsson.com>
18244
18245 * gdb.python/py-type.exp: Do not run tests if binaries fail to
18246 build.
18247
77ba2a67
MM
182482015-09-30 Markus Metzger <markus.t.metzger@intel.com>
18249
18250 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
18251 instruction-history test.
18252
c60eb31f
DE
182532015-09-28 Doug Evans <dje@google.com>
18254
18255 * gdb.base/gcore.c (array_func): Add reference to static_array.
18256
9a3c8263
SM
182572015-09-25 Simon Marchi <simon.marchi@ericsson.com>
18258
18259 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
18260 source line.
18261
9720e656
SL
182622015-09-24 Sandra Loosemore <sandra@codesourcery.com>
18263
18264 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
18265 short or char as base type.
18266
938d3bf2
SL
182672015-09-23 Sandra Loosemore <sandra@codesourcery.com>
18268
18269 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
18270 to allow any size enum.
18271
e6c2c623
PMR
182722015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
18273
18274 * gdb.ada/array_ptr_renaming.exp: New testcase.
18275 * gdb.ada/array_ptr_renaming/foo.adb: New file.
18276 * gdb.ada/array_ptr_renaming/pack.ads: New file.
18277
06da0f77
PL
182782015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18279
18280 * gdb.trace/ftrace-lock.c: New file.
18281 * gdb.trace/ftrace-lock.exp: New file.
18282
4f51c22a
PL
182832015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18284
18285 * gdb.arch/insn-reloc.c: New file.
18286 * gdb.arch/ftrace-insn-reloc.exp: New file.
18287
7041adf4
PL
182882015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18289
18290 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
18291 instruction.
18292 * gdb.trace/pendshr1.c (pendfunc): Likewise.
18293 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18294 * gdb.trace/range-stepping.c: Likewise.
18295 * gdb.trace/trace-break.c: Likewise.
18296 * gdb.trace/trace-mt.c (thread_function): Likewise.
18297 * gdb.trace/ftrace.c (marker): Likewise.
18298 * gdb.trace/trace-condition.c (marker): Likewise.
18299 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18300 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18301 is_aarch64_target.
18302
015d2e7e
DE
183032015-09-18 Doug Evans <xdje42@gmail.com>
18304
18305 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18306 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18307
26b188a2
SL
183082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18309
18310 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18311 the breakpoint.
18312
79dc332b
SL
183132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18314
18315 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18316 the pending breakpoint. Remove timeout override for "Run till
18317 MI pending breakpoint on pendfunc3 on thread 2" test.
18318
f57929f2
SL
183192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18320
18321 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18322 filename pattern.
18323
3f469b17
SL
183242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18325
18326 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18327 in breakpoint filename pattern.
18328
515b89b3
SL
183292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18330
7800dbe4
SL
18331 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18332
183332015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18334
515b89b3
SL
18335 * gdb.linespec/explicit.exp: Check for readline support for
18336 tab-completion tests. Fix obvious typo.
18337
d2939ba2
MM
183382015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18339
18340 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18341 and replay.
18342
cbb55fa7
MM
183432015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18344
18345 * gdb.btrace/non-stop.c: New.
18346 * gdb.btrace/non-stop.exp: New.
18347
43691ca1
PL
183482015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18349 Yao Qi <yao.qi@linaro.org>
18350
18351 * gdb.trace/trace-condition.c: New file.
18352 * gdb.trace/trace-condition.exp: New file.
18353
d78908cf
WW
183542015-09-16 Wei-cheng Wang <cole945@gmail.com>
18355
18356 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18357 for testing bytecode compilation.
18358
1ed415e2
PA
183592015-09-16 Pedro Alves <palves@redhat.com>
18360 Sandra Loosemore <sandra@codesourcery.com>
18361
18362 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18363 (SECONDS): Redefine.
18364 (main): Call pthread_kill and alarm early.
18365 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18366 support.
18367 (test): If the target can't hardware step and doesn't support
18368 displaced stepping, increase the timeout.
18369
d136eff5
PA
183702015-09-16 Pedro Alves <palves@redhat.com>
18371
18372 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18373 (enable_debug): New procedures.
18374 (test): Use them. Bail out if waiting for threads fails.
18375 (top level): Bail out if a test fails.
18376
991f019c
YQ
183772015-09-16 Yao Qi <yao.qi@linaro.org>
18378
18379 * gdb.asm/asm-source.exp: Set asm-arch for
18380 aarch64*-*-* target.
18381 * gdb.asm/aarch64.inc: New file.
18382
bfca584f
PMR
183832015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18384
18385 * gdb.ada/array_of_variable_length.exp: New testcase.
18386 * gdb.ada/array_of_variable_length/foo.adb: New file.
18387 * gdb.ada/array_of_variable_length/pck.adb: New file.
18388 * gdb.ada/array_of_variable_length/pck.ads: New file.
18389
b326e587
DE
183902015-09-15 Doug Evans <dje@google.com>
18391
18392 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18393 of function static local variable.
18394
5382cfab
PW
183952015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18396
18397 * gdb.threads/tls-so_extern.exp: New test file.
18398 * gdb.threads/tls-so_extern.c: New test file.
18399 * gdb.threads/tls-so_extern_main.c: New test file.
18400
141c5cc4
JK
184012015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18402
18403 * gdb.opt/solib-intra-step-lib.c: New file.
18404 * gdb.opt/solib-intra-step-main.c: New file.
18405 * gdb.opt/solib-intra-step.exp: New file.
18406
d15dcecd
PA
184072015-09-15 Pedro Alves <palves@redhat.com>
18408
18409 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18410 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18411
4c2f2a79
PA
184122015-09-14 Pedro Alves <palves@redhat.com>
18413
18414 * gdb.base/hook-stop-continue.c: Delete.
18415 * gdb.base/hook-stop-continue.exp: Delete.
18416 * gdb.base/hook-stop-frame.c: Delete.
18417 * gdb.base/hook-stop-frame.exp: Delete.
18418 * gdb.base/hook-stop.c: New file.
18419 * gdb.base/hook-stop.exp: New file.
18420
919e6dbe
PMR
184212015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18422
18423 * gdb.ada/access_to_packed_array.exp: New testcase.
18424 * gdb.ada/access_to_packed_array/foo.adb: New file.
18425 * gdb.ada/access_to_packed_array/pack.adb: New file.
18426 * gdb.ada/access_to_packed_array/pack.ads: New file.
18427
157280a4
MM
184282015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18429
18430 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18431 buffer size test.
18432
2fd33e94
DB
184332015-09-11 Don Breazeal <donb@codesourcery.com>
18434
18435 * gdb.base/foll-exec.c: Add copyright header. Fix
18436 formatting issues.
18437 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18438 (do_exec_tests): Use clean_restart in place of zap_session,
18439 and for test initialization. Fix formatting issues. Use
18440 fail in place of perror.
18441 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18442 an expect statement to match an expression with output from
18443 the program under debug.
18444 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18445 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18446 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18447 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18448 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18449
e70b6e8e
DE
184502015-09-09 Doug Evans <dje@google.com>
18451
18452 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18453
7a551a51
DE
184542015-09-09 Doug Evans <dje@google.com>
18455
18456 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18457
4c666f84
DE
184582015-09-09 Doug Evans <dje@google.com>
18459
18460 * gdb.base/savedregs.exp: Fix typo.
18461
243a9253
PA
184622015-09-09 Pedro Alves <palves@redhat.com>
18463
18464 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18465
c0fa8fbd
SL
184662015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18467
18468 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18469 command actually switches threads. Give up on remaining
18470 tests if target fails to stop at breakpoint.
18471
cd7c1778
PMR
184722015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18473
18474 * gdb.ada/funcall_char.exp: New testcase.
18475 * gdb.ada/funcall_char/foo.adb: New file.
18476
dc5c8746
PMR
184772015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18478
18479 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18480 expected outputs. Add two testcases for completing ambiguous
18481 functions.
18482 * gdb.ada/complete/aux_pck.adb: New file.
18483 * gdb.ada/complete/aux_pck.ads: New file.
18484 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18485 Ambiguous_Func functions.
18486 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18487 * gdb.ada/complete/pck.adb: Likewise.
18488
4e83a1e7
UW
184892015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18490
18491 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18492 failures to run the test program under GDB.
18493
8ce74153
LM
184942015-08-26 Luis Machado <lgustavo@codesourcery.com>
18495
18496 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18497 to C.
18498
e9756d52
PP
184992015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18500
18501 * gdb.base/run-after-attach.exp: New test file.
18502 * gdb.base/run-after-attach.c: New test file.
18503
8d37573b
DB
185042015-08-26 Don Breazeal <donb@codesourcery.com>
18505
18506 * gdb.base/foll-exec-2.c: New test program.
18507 * gdb.base/foll-exec-2.exp: New test.
18508
63e43d3a
PMR
185092015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18510
18511 * gdb.base/nested-subp1.exp: New file.
18512 * gdb.base/nested-subp1.c: New file.
18513 * gdb.base/nested-subp2.exp: New file.
18514 * gdb.base/nested-subp2.c: New file.
18515 * gdb.base/nested-subp3.exp: New file.
18516 * gdb.base/nested-subp3.c: New file.
18517
3d40fbb5
PA
185182015-08-24 Pedro Alves <palves@redhat.com>
18519
18520 * gdb.server/connect-without-multi-process.c: New file.
18521 * gdb.server/connect-without-multi-process.exp: New file.
18522
4422ac93
LM
185232015-08-24 Luis Machado <lgustavo@codesourcery.com>
18524
18525 * gdb.opt/inline-markers.c: Make z int.
18526
91dddb86
LM
185272015-08-24 Luis Machado <lgustavo@codesourcery.com>
18528
18529 * gdb.opt/inline-markers.c: Make z volatile.
18530
a48847ee
LM
185312015-08-24 Luis Machado <lgustavo@codesourcery.com>
18532
18533 * gdb.opt/inline-bt.c: New volatile global z.
18534 * gdb.opt/inline-cmds.c: Likewise.
18535 * gdb.opt/inline-locals.c: Likewise.
18536 * gdb.opt/inline-markers.c: New extern global z.
18537 (marker): Use z.
18538 (inline_fn): Likewise.
18539
0ebbc52b
PA
185402015-08-24 Pedro Alves <palves@redhat.com>
18541
18542 * config/m32r-stub.exp: Remove file.
18543 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18544 * gdb.base/call-rt-st.exp: Likewise.
18545 * gdb.base/call-strs.exp: Likewise.
18546 * gdb.base/default.exp: Remove references to h8300-*-hms and
18547 *-*-udi*.
18548 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18549
77c365df
AA
185502015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18551
18552 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18553 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18554 and "return" use KFAIL when GDB can not read/write the vector
18555 return value.
18556
4313b8c0
GB
185572015-08-21 Gary Benson <gbenson@redhat.com>
18558
18559 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18560
0e433b32
PA
185612015-08-20 Pedro Alves <palves@redhat.com>
18562
18563 * gdb.server/solib-list.exp: No longer expect an interior stop in
18564 non-stop mode.
18565
221e1a37
PA
185662015-08-20 Pedro Alves <palves@redhat.com>
18567
18568 * gdb.server/connect-stopped-target.c: New file.
18569 * gdb.server/connect-stopped-target.exp: New file.
18570
40e3ad0e
PA
185712015-08-20 Pedro Alves <palves@redhat.com>
18572
18573 * gdb.dwarf2/comp-unit-lang.exp: New file.
18574 * gdb.dwarf2/comp-unit-lang.c: New file.
18575
af39b327
PMR
185762015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18577
18578 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18579 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18580
7d45c7c3 185812015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 18582
7d45c7c3
KB
18583 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18584 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18585
4d6cceb4
DE
185862015-08-18 Doug Evans <dje@google.com>
18587 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18588
18589 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18590 skip_python_tests. New arg prompt_regexp.
18591 (skip_python_tests): New function.
18592 * lib/mi-support.exp (mi_skip_python_tests): New function.
18593 * gdb.python/py-mi-objfile-gdb.py: New file.
18594 * gdb.python/py-mi-objfile.c: New file.
18595 * gdb.python/py-mi-objfile.exp: New file.
18596
ad89c2aa
KS
185972015-08-17 Keith Seitz <keiths@redhat.com>
18598
18599 * gdb.linespec/explicit.exp: Move strace test from here ...
18600 * gdb.trace/strace.exp: ... to here.
18601
e3ae3c43
PP
186022015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18603
18604 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18605 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18606
604b2636
DE
186072015-08-14 Doug Evans <xdje42@gmail.com>
18608
18609 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18610 inferior before selecting a new file.
18611
6ff0ba5f
DE
186122015-08-14 Doug Evans <xdje42@gmail.com>
18613
18614 * gdb.mi/mi-disassemble.exp: Update.
18615 * gdb.base/disasm-optim.S: New file.
18616 * gdb.base/disasm-optim.c: New file.
18617 * gdb.base/disasm-optim.h: New file.
18618 * gdb.base/disasm-optim.exp: New file.
18619
9ca98f92
KS
186202015-08-14 Keith Seitz <keiths@redhat.com>
18621
18622 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18623 "evaluated-by".
18624
52bbc560
JB
186252015-08-13 Joel Brobecker <brobecker@adacore.com>
18626
18627 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18628
5d8c3ed3
PMR
186292015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18630
18631 * gdb.ada/fun_renaming.exp: New testcase.
18632 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18633 * gdb.ada/fun_renaming/pack.adb: New file.
18634 * gdb.ada/fun_renaming/pack.ads: New file.
18635
ea8812bc
KS
186362015-08-12 Keith Seitz <keiths@redhat.com>
18637
18638 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18639 gdb_get_line_number.
18640
4dafcdeb
JB
186412015-08-12 Joel Brobecker <brobecker@adacore.com>
18642
18643 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18644 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18645 gdb.base/dso2dso.exp: New files.
18646
5ba32597
SDJ
186472015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18648 Pedro Alves <palves@redhat.com>
18649 Keith Seitz <keiths@redhat.com>
18650
18651 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18652 GDBFLAGS.
18653
b6dafabf
PP
186542015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18655
18656 * gdb.base/gdbhistsize-history.exp
18657 (test_histsize_history_setting): Use save_vars.
18658 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18659 Use save_vars.
18660 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18661 * gdb.base/readline.exp: Use save_vars.
18662
abe8e607
PP
186632015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18664
18665 * lib/gdb.exp (save_vars): New proc.
18666
629500fa
KS
186672015-08-11 Keith Seitz <keiths@redhat.com>
18668
18669 * gdb.base/help.exp: Update help_breakpoint_text.
18670
eb8c4e2e
KS
186712015-08-11 Keith Seitz <keiths@redhat.com>
18672
18673 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18674 (at toplevel): Call test_explicit_breakpoints.
18675 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18676 breakpoints.
18677 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18678 breakpoint conditions, "-cond".
18679
87f0e720
KS
186802015-08-11 Keith Seitz <keiths@redhat.com>
18681
18682 * gdb.linespec/3explicit.c: New file.
18683 * gdb.linespec/cpexplicit.cc: New file.
18684 * gdb.linespec/cpexplicit.exp: New file.
18685 * gdb.linespec/explicit.c: New file.
18686 * gdb.linespec/explicit.exp: New file.
18687 * gdb.linespec/explicit2.c: New file.
18688 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18689 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18690 before using in the matching pattern.
18691 Clarify that `prefix' is a regular expression.
18692
f00aae0f
KS
186932015-08-11 Keith Seitz <keiths@redhat.com>
18694
18695 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18696 test.
18697 Add tests for missing ",FMT" and ",".
18698
e27852be
DE
186992015-08-10 Doug Evans <dje@google.com>
18700 Keith Seitz <keiths@redhat.com>
18701
18702 PR gdb/17960
18703 * gdb.base/completion.exp: Add location completer tests.
18704
7f03bd92
PA
187052015-08-07 Pedro Alves <palves@redhat.com>
18706
18707 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18708 tests here.
18709 (top level): Run do_test with and without displaced stepping.
18710
3fc8eb30
PA
187112015-08-07 Pedro Alves <palves@redhat.com>
18712
18713 * gdb.base/valgrind-disp-step.c: New file.
18714 * gdb.base/valgrind-disp-step.exp: New file.
18715
d4569d7b
PA
187162015-08-07 Pedro Alves <palves@redhat.com>
18717
18718 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18719 Delete function.
18720 (main): Add alarm. Run an infinite loop instead of calling
18721 wait_threads.
18722 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18723 comment.
18724 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18725 Delete function.
18726 (main): Add alarm. Run an infinite loop instead of calling
18727 wait_threads.
18728 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18729 comment.
18730
e1316e60
PA
187312015-08-07 Pedro Alves <palves@redhat.com>
18732
18733 * gdb.base/checkpoint-ns.exp: New file.
18734 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18735 standard_testfile.
18736
da8c46d2
MM
187372015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18738
18739 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18740 * gdb.btrace/instruction_history.exp: Update.
18741 * gdb.btrace/tsx.exp: New.
18742 * gdb.btrace/tsx.c: New.
18743
de1c2c52
PA
187442015-08-06 Pedro Alves <palves@redhat.com>
18745
18746 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18747 increase timeout.
18748 * gdb.reverse/until-precsave.exp: Bump timeouts.
18749
782e0bf4
PA
187502015-08-06 Pedro Alves <palves@redhat.com>
18751
18752 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18753
83e97ed0
PA
187542015-08-06 Pedro Alves <palves@redhat.com>
18755
18756 PR gdb/18749
18757 * gdb.threads/process-dies-while-handling-bp.c: New file.
18758 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18759
863d01bd
PA
187602015-08-06 Pedro Alves <palves@redhat.com>
18761
18762 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18763 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18764
0a39bb32
PA
187652015-08-05 Pedro Alves <palves@redhat.com>
18766
18767 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18768 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18769
ee2d2b10
SL
187702015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18771
18772 * gdb.base/bp-permanent.exp: Report test as unsupported if
18773 the target cannot stop at the permanent breakpoint.
18774
4e1bdb00
DE
187752015-08-03 Doug Evans <dje@google.com>
18776
18777 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18778 10000.
18779
3d338901
DE
187802015-08-03 Doug Evans <dje@google.com>
18781
18782 * Makefile.in (workers/%.worker, build-perf): New rule.
18783 (GDB_PERFTEST_MODE): New variable.
18784 (check-perf): Use it.
18785 (clean): Clean up gdb.perf parallel build subdirs.
18786 * lib/build-piece.exp: New file.
18787 * lib/gdb.exp (make_gdb_parallel_path): New function
18788 (standard_output_file, standard_temp_file): Call it.
18789 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18790 of $GDB_PARALLEL.
18791 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18792
af061d3e
DE
187932015-08-03 Doug Evans <dje@google.com>
18794
8e1afc81 18795 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18796 (LOG_FILE_NAME): New global.
18797 (TextReporter.__init__): Initialize self.txt_sum.
18798 (TextReporter.report): Add support for multiple data-points.
18799 Move report to perftest.sum, put raw data in perftest.log.
18800 (TextReporter.start): Open sum and log files.
18801 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18802 * gdb.perf/lib/perftest/testresult.py
18803 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18804
2c8c5d37
PA
188052015-07-31 Pedro Alves <palves@redhat.com>
18806
18807 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18808 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18809 kill_wait_spawned_process instead of explicit "kill -9".
18810 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18811 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18812 kill_wait_spawned_process.
18813 * gdb.base/attach-twice.exp: Likewise.
18814 * gdb.base/attach.exp: Likewise.
18815 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18816 gdb_test_multiple.
18817 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18818 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18819 kill_wait_spawned_process.
18820 * gdb.base/valgrind-infcall.exp: Likewise.
18821 * gdb.multi/multi-attach.exp: Likewise.
18822 * gdb.python/py-prompt.exp: Likewise.
18823 * gdb.python/py-sync-interp.exp: Likewise.
18824 * gdb.server/ext-attach.exp: Likewise.
18825 * gdb.threads/attach-into-signal.exp (corefunc): Use
18826 spawn_wait_for_attach, spawn_id_get_pid and
18827 kill_wait_spawned_process.
18828 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18829 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18830 spawn_id_get_pid and kill_wait_spawned_process.
18831 * gdb.threads/attach-stopped.exp (corefunc): Use
18832 spawn_wait_for_attach, spawn_id_get_pid and
18833 kill_wait_spawned_process.
18834 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18835 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18836 kill_wait_spawned_process instead of explicit "kill -9".
18837 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18838 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18839 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18840 processes. Don't map cygwin/windows pids here. Now returns a
18841 spawn id list.
18842
032a0fca
SL
188432015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18844
18845 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18846 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18847 correct patch.
18848
61a934ca
SL
188492015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18850
18851 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18852
4bc4d428
SL
188532015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18854
18855 Reapply:
18856 2014-05-21 Mark Wielaard <mjw@redhat.com>
18857
18858 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18859
998d452a
PA
188602015-07-30 Pedro Alves <palves@redhat.com>
18861
18862 * linux-low.c (handle_extended_wait): Set the child's last
18863 reported status to TARGET_WAITKIND_STOPPED.
18864
69dde7dc
PA
188652015-07-30 Pedro Alves <palves@redhat.com>
18866
18867 PR threads/18600
18868 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18869 only shows inferior 1.
18870
4dd63d48
PA
188712015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18872 Pedro Alves <palves@redhat.com>
18873
18874 PR threads/18600
18875 * gdb.threads/fork-plus-threads.c: New file.
18876 * gdb.threads/fork-plus-threads.exp: New file.
18877
d618e4c5
PP
188782015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18879
18880 * gdb.base/batch-preserve-term-settings.exp
18881 (test_terminal_settings_preserved_after_cli_exit): Use
18882 send_quit_command.
18883
1eef6428
PA
188842015-07-29 Pedro Alves <palves@redhat.com>
18885 Don Breazeal <donb@codesourcery.com>
18886
18887 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18888 output from both inferior_spawn_id and gdb_spawn_id.
18889
7da5b897
SDJ
188902015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18891
18892 * gdb.threads/attach-into-signal.exp (corefunc): Use
18893 with_test_prefix on nested loops, uniquefying the test messages.
18894
dac804df
SDJ
188952015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18896
18897 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18898 commit.
18899
06265e53
PP
189002015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18901
18902 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18903 New proc.
18904 (test_terminal_settings_preserved_after_sigterm): New test.
18905
18206ca3
PP
189062015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18907
18908 * gdb.base/batch-preserve-term-settings.exp
18909 (test_terminal_settings_preserved_after_cli_exit): New test.
18910
90074d11
PP
189112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18912
18913 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18914 manipulation of saved_gdbflags.
18915 (test_terminal_settings_preserved): Remove global declaration of
18916 the unused variable pagination_prompt. Remove manipulation of
18917 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18918 GDBFLAGS.
18919
eb1a7902
PA
189202015-07-29 Pedro Alves <palves@redhat.com>
18921
18922 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18923
8b75dd3b
PA
189242015-07-29 Pedro Alves <palves@redhat.com>
18925
18926 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18927 at the top.
18928
dedad4e3
PA
189292015-07-29 Pedro Alves <palves@redhat.com>
18930
18931 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18932 (main): Call gdb_unbuffer_output.
18933 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18934 (main): Call gdb_unbuffer_output.
18935 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18936 (main): Call gdb_unbuffer_output.
18937 * gdb.base/call-strs.exp: Adjust to step over the
18938 gdb_unbuffer_output call.
18939 * gdb.base/catch-gdb-caused-signals.c: Include
18940 "../lib/unbuffer_output.c".
18941 (main): Call gdb_unbuffer_output.
18942 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18943 (main): Call gdb_unbuffer_output.
18944 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18945 (main): Call gdb_unbuffer_output.
18946 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18947 (main): Call gdb_unbuffer_output.
18948 * gdb.base/shlib-call.exp: Adjust to step over the
18949 gdb_unbuffer_output call.
18950 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18951 (main): Call gdb_unbuffer_output.
18952 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18953 (main): Call gdb_unbuffer_output.
18954 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18955 (main): Rename to ...
18956 (test): ... this.
18957 (main): Reimplement.
18958 * gdb.base/varargs.exp: Run to test instead of to main.
18959 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18960 (main): Call gdb_unbuffer_output.
18961
58789a91
PA
189622015-07-29 Pedro Alves <palves@redhat.com>
18963
18964 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18965 factore out from mi_continue_dprintf. For call-style dprintfs,
18966 expect dprintf output out of $inferior_spawn_id.
18967 (mi_continue_dprintf): Use mi_expect_dprintf.
18968 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18969 (main): Call gdb_unbuffer_output.
18970
e8376742
PA
189712015-07-29 Pedro Alves <palves@redhat.com>
18972
18973 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18974 (default_mi_gdb_start): Set inferior_spawn_id instead of
18975 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18976 gdb_spawn_id.
18977 (mi_gdb_test): Always expect inferior output from both
18978 $inferior_spawn_id and $gdb_spawn_id.
18979
08280010
PA
189802015-07-29 Pedro Alves <palves@redhat.com>
18981
18982 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18983 send_inferior and $inferior_spawn_id.
18984
4d30e432
PA
189852015-07-29 Pedro Alves <palves@redhat.com>
18986
18987 * gdb.gdb/complaints.exp (test_initial_complaints)
18988 (test_serial_complaints, test_short_complaints): Use
18989 gdb_test_stdio.
18990 (test_empty_complaint): Handle $inferior_spawn_id !=
18991 $gdb_spawn_id.
18992
0d30a335
PA
189932015-07-29 Pedro Alves <palves@redhat.com>
18994
18995 * gdb.base/varargs.exp: Use gdb_test_stdio.
18996
39413b29
PA
189972015-07-29 Pedro Alves <palves@redhat.com>
18998
18999 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
19000
7cb000a9
PA
190012015-07-29 Pedro Alves <palves@redhat.com>
19002
19003 * gdb.base/ending-run.exp: Use gdb_test_stdio.
19004
d7b8ac82
PA
190052015-07-29 Pedro Alves <palves@redhat.com>
19006
19007 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
19008 parameter into two new parameters, "inf_result" and "gdb_result".
19009 Expect inferior output and gdb output from $inferior_spawn_id and
19010 $gdb_spawn_id, respectively. Adjust all callers.
19011
789c3a0c
PA
190122015-07-29 Pedro Alves <palves@redhat.com>
19013
19014 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
19015 of gdb_test_sequence.
19016
77e760c3
PA
190172015-07-29 Pedro Alves <palves@redhat.com>
19018
19019 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
19020 (saw_spurious_output): Expect inferior output from
19021 $inferior_spawn_id. Use gdb_test_stdio.
19022
8396d2cd
PA
190232015-07-29 Pedro Alves <palves@redhat.com>
19024
19025 * gdb.base/dprintf.exp: Use standard_testfile. Change
19026 prepare_for_testing call.
19027 (srcfile): Don't set.
19028 (restart): New procedure.
19029 (test_dprintf): New procecure, use to continue over dprintfs.
19030 (test_call, test_agent): New procedures, tests moved here.
19031 Restart gdb and recreate dprintfs. Adjust expected output.
19032
2051d61f
PA
190332015-07-29 Pedro Alves <palves@redhat.com>
19034
19035 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
19036
452397af
PA
190372015-07-29 Pedro Alves <palves@redhat.com>
19038
19039 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
19040
8aed9555
PA
190412015-07-29 Pedro Alves <palves@redhat.com>
19042
19043 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
19044 gdb_test_stdio.
19045
188a61b4
PA
190462015-07-29 Pedro Alves <palves@redhat.com>
19047
19048 * lib/gdb.exp (gdb_test_stdio): New procedure.
19049
12264a45
PA
190502015-07-29 Pedro Alves <palves@redhat.com>
19051
19052 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
19053
23ffc893
PA
190542015-07-29 Pedro Alves <palves@redhat.com>
19055
19056 * gdb.base/call-signal-resume.exp: Remove check for
19057 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
19058 * gdb.base/unwindonsignal.exp: Likewise.
19059 * gdb.base/call-signals.c (gen_signal): Remove printf call.
19060 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
19061
65566918
PA
190622015-07-29 Pedro Alves <palves@redhat.com>
19063
19064 * gdb.base/siginfo-addr.c (pass): New function.
19065 (handler): Call it iff si_addr is correct.
19066 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
19067 Set a breakpoint at "pass" and continue to it.
19068
d60a9221
SDJ
190692015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
19070
19071 * gdb.python/py-objfile.exp: Make some tests have unique names.
19072 * gdb.python/py-pp-registration.exp: Likewise.
19073
bde40b8f
PA
190742015-07-28 Pedro Alves <palves@redhat.com>
19075
19076 * gdb.server/server-exec-info.exp: Issue a "disconnect".
19077
13e1dec8
SM
190782015-07-27 Simon Marchi <simon.marchi@ericsson.com>
19079
19080 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
19081
da33c9a7
SM
190822015-07-27 Simon Marchi <simon.marchi@ericsson.com>
19083
19084 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
19085
077836f7
PP
190862015-07-27 Patrick Palka <patrick@parcs.ath.cx>
19087
19088 * gdb.base/gdb-sigterm-2.exp: New test.
19089
b8cc7b2e
DE
190902015-07-25 Doug Evans <xdje42@gmail.com>
19091
19092 Revert:
19093 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19094 (workers/%.worker, build-perf): New rule.
19095 (GDB_PERFTEST_MODE): New variable.
19096 (check-perf): Use it.
19097 (clean): Clean up gdb.perf parallel build subdirs.
19098 * lib/build-piece.exp: New file.
19099 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19100 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19101 name.
19102 (standard_temp_file): Ditto.
19103 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19104 of $GDB_PARALLEL.
19105
c8bd4544
DE
191062015-07-24 Doug Evans <dje@google.com>
19107
19108 * gdb.perf/lib/perftest/utils.py: New file.
19109 * gdb.perf/gm-hello.cc: New file.
19110 * gdb.perf/gm-pervasive-typedef.cc: New file.
19111 * gdb.perf/gm-pervasive-typedef.h: New file.
19112 * gdb.perf/gm-std.cc: New file.
19113 * gdb.perf/gm-std.h: New file.
19114 * gdb.perf/gm-use-cerr.cc: New file.
19115 * gdb.perf/gm-utils.h: New file.
19116 * gdb.perf/gmonster-null-lookup.py: New file.
19117 * gdb.perf/gmonster-pervasive-typedef.py: New file.
19118 * gdb.perf/gmonster-print-cerr.py: New file.
19119 * gdb.perf/gmonster-ptype-string.py: New file.
19120 * gdb.perf/gmonster-runto-main.py: New file.
19121 * gdb.perf/gmonster-select-file.py: New file.
19122 * gdb.perf/gmonster1-null-lookup.exp: New file.
19123 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
19124 * gdb.perf/gmonster1-print-cerr.exp: New file.
19125 * gdb.perf/gmonster1-ptype-string.exp: New file.
19126 * gdb.perf/gmonster1-runto-main.exp: New file.
19127 * gdb.perf/gmonster1-select-file.exp: New file.
19128 * gdb.perf/gmonster1.cc: New file.
19129 * gdb.perf/gmonster1.exp: New file.
19130 * gdb.perf/gmonster2-null-lookup.exp: New file.
19131 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
19132 * gdb.perf/gmonster2-print-cerr.exp: New file.
19133 * gdb.perf/gmonster2-ptype-string.exp: New file.
19134 * gdb.perf/gmonster2-runto-main.exp: New file.
19135 * gdb.perf/gmonster2-select-file.exp: New file.
19136 * gdb.perf/gmonster2.cc: New file.
19137 * gdb.perf/gmonster2.exp: New file.
19138
6eab34f3
DE
191392015-07-24 Doug Evans <dje@google.com>
19140
19141 * gdb.perf/README: New file.
19142 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
19143 * lib/gen-perf-test.exp: New file.
19144
63738bfd
DE
191452015-07-24 Doug Evans <dje@google.com>
19146
19147 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
19148 (PerfTest::startup): New function.
19149 (PerfTest::run): Return result of calling body.
19150 (PerfTest::assemble): Rewrite.
19151 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
19152 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
19153 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
19154 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
19155 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
19156
7b606f95
DE
191572015-07-24 Doug Evans <dje@google.com>
19158
19159 * lib/gdb.exp (clean_restart): Make executable optional.
19160
a97b16b8
DE
191612015-07-24 Doug Evans <dje@google.com>
19162
19163 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
19164 compiler_info references.
19165 * gdb.cp/temargs.exp: Ditto.
19166 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
19167 (get_compiler_info): Early exit if already computed. Set compiler_info
19168 to "unknown" if there was a problem.
19169 (test_compiler_info): Add function comment. Call get_compiler_info.
19170
35baa57f
DE
191712015-07-24 Doug Evans <dje@google.com>
19172
19173 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19174 (workers/%.worker, build-perf): New rule.
19175 (GDB_PERFTEST_MODE): New variable.
19176 (check-perf): Use it.
19177 (clean): Clean up gdb.perf parallel build subdirs.
19178 * lib/build-piece.exp: New file.
19179 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19180 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19181 name.
19182 (standard_temp_file): Ditto.
19183 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19184 of $GDB_PARALLEL.
19185
6ebea266
DE
191862015-07-24 Doug Evans <dje@google.com>
19187
19188 * lib/future.exp (gdb_default_target_compile): New option
19189 "early_flags".
19190 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
19191 --as-needed.
19192
1e76a7e9
SDJ
191932015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
19194
19195 * gdb.base/catch-syscall.exp: Call gdb_exit before
19196 gdb_skip_xml_test.
19197
5068630a
PA
191982015-07-24 Pedro Alves <palves@redhat.com>
19199
19200 * gdb.python/py-events.exp: Accept output between the stop event
19201 and the prompt.
19202 * gdb.python/py-evsignal.exp: Likewise.
19203 * gdb.python/py-evthreads.exp: Likewise.
19204
77598427
PA
192052015-07-24 Pedro Alves <palves@redhat.com>
19206
19207 PR gdb/18717
19208 * gdb.threads/non-ldr-exit.c: New file.
19209 * gdb.threads/non-ldr-exit.exp: New file.
19210
11e6c98f
YQ
192112015-07-24 Yao Qi <yao.qi@linaro.org>
19212
19213 * gdb.server/ext-wrapper.exp: Test --wrapper option when
19214 restarting process.
19215
51aee833
YQ
192162015-07-24 Yao Qi <yao.qi@linaro.org>
19217
19218 * gdb.server/ext-restart.exp: New file.
19219
8cfe207c
YQ
192202015-07-24 Yao Qi <yao.qi@linaro.org>
19221
19222 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
19223 argument options.
19224 * gdb.server/ext-wrapper.exp: New file.
19225
cc12ce38
DE
192262015-07-23 Doug Evans <dje@google.com>
19227
19228 * gdb.dwarf2/dw2-dummy-cu.S: New file.
19229 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
19230
d0d84780
PMR
192312015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
19232
19233 * gdb.ada/var_arr_typedef.exp: New testcase.
19234 * gdb.ada/var_arr_typedef/pack.adb: New file.
19235 * gdb.ada/var_arr_typedef/pack.ads: New file.
19236 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
19237
8b558f79
JB
192382015-07-20 Joel Brobecker <brobecker@adacore.com>
19239
19240 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
19241
775a3298
JK
192422015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19243
19244 * gdb.arch/i386-biarch-core.exp: Replace istarget
19245 by "complete set gnutarget". Remove expectation for the "core-file"
19246 command.
19247
db1ff28b
JK
192482015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
19249
19250 Revert the previous commit:
19251 Tests for validate symbol file using build-id.
19252
0a94970d
JK
192532015-07-15 Aleksandar Ristovski <aristovski@qnx.com
19254
19255 Tests for validate symbol file using build-id.
19256 * gdb.base/solib-mismatch-lib.c: New file.
19257 * gdb.base/solib-mismatch-libmod.c: New file.
19258 * gdb.base/solib-mismatch.c: New file.
19259 * gdb.base/solib-mismatch.exp: New file.
19260
03346981
SL
192612015-07-15 Sandra Loosemore <sandra@codesourcery.com>
19262
19263 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
19264 nios2-*-linux*.
19265 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19266 * gdb.base/siginfo.exp: Likewise.
19267 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19268
42422cc7
PL
192692015-07-15 Pierre Langlois <pierre.langlois@arm.com>
19270
19271 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
19272 Move it to ...
19273 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
19274 ... here.
19275 * gdb.trace/range-stepping.exp: Check that the target supports
19276 range stepping.
19277
cfa68bae
JK
192782015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19279
19280 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
19281
8ffdba26
PA
192822015-07-14 Pedro Alves <palves@redhat.com>
19283
19284 * gdb.base/killed-outside.exp: New file.
19285 * gdb.base/killed-outside.c: New file.
19286
218a5a11
JK
192872015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19288
19289 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
19290 (n at main): New.
19291 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
19292
e03ed3c6
AA
192932015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19294
19295 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19296 infcall tests instead of setting up for KFAIL.
19297
485668e5
MM
192982015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19299
19300 * gdb.btrace/record_goto-step.exp: New.
19301
08464196
JK
193022015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19303
19304 PR compile/18484
19305 * gdb.compile/compile.c (struct struct_type): Add volatile to
19306 selffield's type.
19307 * gdb.compile/compile.exp
19308 (compile code struct_object.selffield = &struct_object): Skip further
19309 struct_object tests if this one xfails.
19310
bcf5c1d9
RC
193112015-07-08 Robert O'Callahan <robert@ocallahan.org>
19312
19313 PR exp/18617
19314 * gdb.trace/ax.exp: Add test.
19315
4931af25
YQ
193162015-07-07 Yao Qi <yao.qi@linaro.org>
19317
19318 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19319 instead of istarget "aarch64*-*-*".
19320 * gdb.arch/aarch64-fp.exp: Likewise.
19321 * gdb.base/float.exp: Likewise.
19322 * gdb.reverse/aarch64.exp: Likewise.
19323 * lib/gdb.exp (is_aarch64_target): New proc.
19324
9fcf688e
YQ
193252015-07-07 Yao Qi <yao.qi@linaro.org>
19326
19327 * lib/gdb.exp (is_aarch32_target): New proc.
19328 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19329 instead of "istarget "arm*-*-*"".
19330 * gdb.arch/arm-disp-step.exp: Likewise.
19331 * gdb.arch/thumb-bx-pc.exp: Likewise.
19332 * gdb.arch/thumb-prologue.exp: Likewise.
19333 * gdb.arch/thumb-singlestep.exp: Likewise.
19334 * gdb.base/disp-step-syscall.exp: Likewise.
19335 * gdb.base/float.exp: Likewise.
19336
fbd8d50d
YQ
193372015-07-07 Yao Qi <yao.qi@linaro.org>
19338
19339 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19340 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19341
71be1fdc
YQ
193422015-07-07 Yao Qi <yao.qi@linaro.org>
19343
19344 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19345 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19346 if it exists.
19347 * gdb.multi/multi-arch.exp: Likewise.
19348
3e221d36
SM
193492015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19350
19351 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19352 print.
19353
d441430b
YQ
193542015-07-07 Yao Qi <yao.qi@linaro.org>
19355
19356 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19357
06f810bd
MG
193582015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19359
19360 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19361 '[' and ']' characters.
19362
5e61e7c0
IB
193632015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19364
19365 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19366
28bf096c
PA
193672015-06-29 Pedro Alves <palves@redhat.com>
19368
19369 PR threads/18127
19370 * gdb.threads/hand-call-new-thread.c: New file.
19371 * gdb.threads/hand-call-new-thread.c: New file.
19372
ee93cd5e
KS
193732015-06-26 Keith Seitz <keiths@redhat.com>
19374 Doug Evans <dje@google.com>
19375
19376 PR 16253
19377 * gdb.cp/var-tag-2.cc: New file.
19378 * gdb.cp/var-tag-3.cc: New file.
19379 * gdb.cp/var-tag-4.cc: New file.
19380 * gdb.cp/var-tag.cc: New file.
19381 * gdb.cp/var-tag.exp: New file.
19382
fc637f04
PP
193832015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19384
19385 * gdb.base/history-duplicates.exp: New test.
19386
2e52ae68
PP
193872015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19388
19389 * gdb.base/completion.exp: Test the completion of the "focus"
19390 command.
19391
6e22494e
JK
193922015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19393
19394 * gdb.arch/amd64-prologue-skip.S: New file.
19395 * gdb.arch/amd64-prologue-skip.exp: New file.
19396
bf7b9cd9
SM
193972015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19398
19399 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19400 is_address_zero_readable check.
19401
201e8dfd
PB
194022015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19403
19404 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19405 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19406
5cd867b4
YQ
194072015-06-24 Yao Qi <yao.qi@linaro.org>
19408
19409 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19410 linux targets.
19411
4d7be007
YQ
194122015-06-24 Yao Qi <yao.qi@linaro.org>
19413
19414 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19415 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19416 * gdb.base/siginfo-thread.exp: Likewise.
19417
07fcd301
YQ
194182015-06-22 Yao Qi <yao.qi@linaro.org>
19419
19420 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19421
52042a00
YQ
194222015-06-22 Yao Qi <yao.qi@linaro.org>
19423
19424 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19425 aarch64*-*-*.
19426 (skip_hw_watchpoint_tests): Likewise.
19427
74bd41ce
PP
194282015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19429
19430 * gdb.base/gdbinit-history.exp: Test the interaction between
19431 setting GDBHISTSIZE and setting the history size via .gdbinit.
19432
bc460514
PP
194332015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19434
19435 PR gdb/16999
19436 * gdb.base/gdbhistsize-history.exp: New test.
19437
b58c513b
PP
194382015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19439
19440 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19441 with GDBHISTSIZE.
19442 * gdb.base/readline.exp: Likewise.
19443
92046791
YQ
194442015-06-17 Yao Qi <yao.qi@linaro.org>
19445
19446 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19447 line.
19448
2093d2d3
PP
194492015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19450
19451 * gdb.base/gdbinit-history.exp: Add test case to check that
19452 an unlimited history file does not get truncated on exit.
19453
e6c693af
AA
194542015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19455
19456 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19457 (VECTOR): New macro. Use it...
19458 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19459 ...for these typedefs.
19460 (int8, char1, int1, double1): New typedefs.
19461 (struct just_int2, struct two_int2): New structures.
19462 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19463 (add_structvecs, add_singlevecs): New functions.
19464 (main): Call add_some_intvecs twice.
19465 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19466 the compile and exit upon failure. Try compiling for the "native"
19467 architecture. Test inferior function calls with vector arguments
19468 and vector return value handling with "finish" and "return".
19469
c74f7d1c
JT
194702015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19471
19472 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19473 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19474 PE file.
19475 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19476
98aa42ee
AT
194772015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19478
19479 PR breakpoints/16465
19480 * gdb.mi/mi-dprintf-pending.c: New file.
19481 * gdb.mi/mi-dprintf-pending.exp: New test.
19482 * gdb.mi/mi-dprintf-pendshr.c: New file.
19483
7d73c23c 194842015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 19485 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
19486
19487 * gdb.arch/i386-mpx-map.c: New file.
19488 * gdb.arch/i386-mpx-map.exp: New File.
19489
194902015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19491
19492 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19493 * gdb.arch/i386-mpx.exp: Indentation fixed.
19494
194952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19496
19497 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19498 function and improved indentation.
19499 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19500 gdb_test_multiple. Added additional tests to skip the test.
19501
195022015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19503
19504 * gdb.arch/i386-avx512.c: Change path in include file.
19505 * gdb.arch/i386-avx512.exp: Change include dir path
19506 compilation flag.
19507 * gdb.arch/i386-mpx.c: Change path in include file.
19508 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19509 flag.
19510
d5eba19a
JK
195112015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19512
19513 * gdb.compile/compile-print.exp (compile print *vararray@3)
19514 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19515
7f361056
JK
195162015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19517
19518 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19519 (do not keep jit in memory): ... this.
19520 (expect 5): Change it to ...
19521 (expect no 5): ... this.
19522
3b462ec2
SM
195232015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19524
19525 PR gdb/15564
19526 * gdb.mi/mi-detach.exp: New file.
19527
e0619de6
JK
195282015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19529
19530 PR symtab/18392
19531 * gdb.arch/amd64-tailcall-self.S: New file.
19532 * gdb.arch/amd64-tailcall-self.c: New file.
19533 * gdb.arch/amd64-tailcall-self.exp: New file.
19534
e970cb34
DB
195352015-05-28 Don Breazeal <donb@codesourcery.com>
19536
19537 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19538 tests for remote targets by checking is_target_gdbserver.
19539
b2e2f908
DE
195402015-05-27 Doug Evans <dje@google.com>
19541
19542 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19543 * gdb.dwarf2/opaque-type-lookup.c: New file.
19544 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19545
82c7be31
DE
195462015-05-26 Doug Evans <dje@google.com>
19547
19548 * gdb.cp/iostream.cc: New file.
19549 * gdb.cp/iostream.exp: New file.
19550
b4f54984
DE
195512015-05-26 Doug Evans <dje@google.com>
19552
19553 * gdb.dwarf2/dw2-op-call.exp: Update.
19554 * gdb.dwarf2/dw4-sig-types.exp: Update.
19555 * gdb.dwarf2/implptr.exp: Update.
19556 * gdb.mi/mi-cmd-param-changed.exp: Update.
19557
4ea6efe9
DE
195582015-05-26 Doug Evans <dje@google.com>
19559
19560 * gdb.python/py-lazy-string.c: New file.
19561 * gdb.python/py-lazy-string.exp: New file.
19562 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19563 (main): Update. Add estring3.
19564 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19565 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19566
f6bb7db3
YQ
195672015-05-26 Omair Javaid <omair.javaid@linaro.org>
19568 Yao Qi <yao.qi@linaro.org>
19569
19570 * gdb.reverse/aarch64.c: New.
19571 * gdb.reverse/aarch64.exp: New.
19572
a81bfbd0
OJ
195732015-05-26 Omair Javaid <omair.javaid@linaro.org>
19574
25d49b86
PA
19575 * lib/gdb.exp (supports_process_record): Return true for
19576 aarch64*-linux*.
a81bfbd0
OJ
19577 (supports_reverse): Likewise.
19578
158bf1b4
PP
195792015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19580
19581 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19582 Use with_test_prefix.
19583
a0145030
AB
195842015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19585
19586 * gdb.base/completion.exp: Add test for completion of layout
19587 names.
19588
ebe3b578
AB
195892015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19590
19591 * lib/gdb.exp (skip_tui_tests): New proc.
19592 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19593
84204ed7
PA
195942015-05-19 Pedro Alves <palves@redhat.com>
19595
19596 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19597 Save the whole env array instead of just HOME. Unset HISTSIZE in
19598 the environment while testing. Restore whole environment
19599 afterwards.
19600
37442ce1
DE
196012015-05-16 Doug Evans <xdje42@gmail.com>
19602
19603 * gdb.guile/scm-ports.c: New file.
19604 * gdb.guile/scm-ports.exp: Add memory port tests.
19605
36de76f9
JK
196062015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19607
19608 * gdb.compile/compile-print.c: New file.
19609 * gdb.compile/compile-print.exp: New file.
19610
3a9558c4
JK
196112015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19612
19613 * gdb.compile/compile-ops.exp: Cast param to void.
19614 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19615 (compile code struct_object.selffield = &struct_object): Add xfail.
19616
aa715135
JG
196172015-05-15 Joel Brobecker <brobecker@adacore.com>
19618
19619 * gdb.ada/arr_enum_with_gap: New testcase.
19620
931e5bc3
JG
196212015-05-15 Joel Brobecker <brobecker@adacore.com>
19622
19623 * gdb.ada/byte_packed_arr: New testcase.
19624
9cd4d857
JB
196252015-05-15 Joel Brobecker <brobecker@adacore.com>
19626
19627 * gdb.ada/pckd_neg: New testcase.
19628
ebfd00d2
PP
196292015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19630
19631 PR gdb/17820
19632 * gdb.base/gdbinit-history.exp: New test.
19633 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19634 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19635
4c082a81
SC
196362015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19637
19638 * gdb.python/py-xmethods.cc: Enhance test case.
19639 * gdb.python/py-xmethods.exp: New tests.
19640 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19641 function.
19642 (B_indexoper): Likewise.
19643 (global_dm_list) : Add new xmethod worker functions.
19644
f7797074
SDJ
196452015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19646
19647 * gdb.base/coredump-filter.exp: Correctly unset
19648 "coredump_var_addr" array.
19649
a4674e4e
PA
196502015-05-08 Pedro Alves <palves@redhat.com>
19651
19652 * gdb.server/non-existing-program.exp: Unset spawn_id.
19653
df2eb078
SC
196542015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19655
19656 PR python/18291
19657 * gdb.python/py-xmethods.exp: Add tests.
19658
422349a3
YQ
196592015-05-08 Yao Qi <yao.qi@linaro.org>
19660
19661 PR gdb/18208
19662 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19663 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19664 function set_coredump_filter, and remove remote_exec call.
19665 Remove argument ipid. Callers update.
19666 (top level): Don't get inferior's PID.
19667
63fc80ce
AA
196682015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19669
19670 * gdb.base/watch_thread_num.exp: Skip test on targets without
19671 access watchpoints.
19672
80ad801e
PA
196732015-05-06 Pedro Alves <palves@redhat.com>
19674
19675 PR server/18081
19676 * gdb.server/non-existing-program.exp: New file.
19677
0fa7fe50
JB
196782015-05-05 Joel Brobecker <brobecker@adacore.com>
19679
19680 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19681
3ea89b92
PMR
196822015-05-05 Joel Brobecker <brobecker@adacore.com>
19683
19684 * gdb.ada/out_of_line_in_inlined: New testcase.
19685
87b8eff0
JB
196862015-05-05 Joel Brobecker <brobecker@adacore.com>
19687
19688 * gdb.ada/var_rec_arr: New testcase.
19689
5fccc635
YQ
196902015-04-30 Yao Qi <yao.qi@linaro.org>
19691
19692 * gdb.base/break-idempotent.exp: If
19693 skip_hw_watchpoint_multi_tests returns true, skip the tests
19694 on "rwatch" and "awatch".
19695
42d38f42
YQ
196962015-04-30 Yao Qi <yao.qi@linaro.org>
19697
19698 * gdb.base/relativedebug.exp: Invoke gdb command
19699 "info sharedlibrary", and if libc.so doesn't have debug info,
19700 skip the test.
19701
2ce1cdbf
DE
197022015-04-29 Doug Evans <dje@google.com>
19703
19704 * gdb.python/py-xmethods.exp: Add ptype tests.
19705 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19706 get_result_type method.
19707
f24a38c5
LM
197082015-04-29 Luis Machado <lgustavo@codesourcery.com>
19709
19710 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19711 the target does not support hardware watchpoints.
19712
ecbf2b3c
LM
197132015-04-29 Luis Machado <lgustavo@codesourcery.com>
19714
19715 * gdb.base/break-always.exp: Abort testing if writing to memory
19716 causes an error.
19717
34f5f757
DE
197182015-04-28 Doug Evans <dje@google.com>
19719
19720 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19721 * gdb.python/py-pp-registration.exp: ... here. New file.
19722 * gdb.python/py-pp-registration.c: New file.
19723 * gdb.python/py-pp-registration.py: New file.
19724
69b4374a
DE
197252015-04-28 Doug Evans <dje@google.com>
19726
19727 * gdb.python/py-bad-printers.c: New file.
19728 * gdb.python/py-bad-printers.py: New file.
19729 * gdb.python/py-bad-printers.exp: New file.
19730
59fb7612
SS
197312015-04-28 Sasha Smundak <asmundak@google.com>
19732
19733 * gdb.python/py-type.exp: New test.
19734
2631b16a
AW
197352015-04-28 Andy Wingo <wingo@igalia.com>
19736
19737 * gdb.python/py-parameter.exp:
19738 * gdb.guile/scm-parameter.exp: Escape the path that we are
19739 matching against, as it might contain characters that are special
19740 to regular expressions.
19741
460efde1
JB
197422015-04-27 Joel Brobecker <brobecker@adacore.com>
19743
19744 * gdb.ada/rec_comp: New testcase.
19745
2d369d8e
SDJ
197462015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19747
19748 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19749 before using it.
19750
cf75d6c3
AB
197512015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19752
19753 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19754 new tests for verilog output.
19755
8dbe7ca5
YQ
197562015-04-24 Yao Qi <yao.qi@linaro.org>
19757
19758 * boards/remote-gdbserver-on-localhost.exp: New file.
19759
4ef9fb2f
PA
197602015-04-23 Pedro Alves <palves@redhat.com>
19761
19762 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19763 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19764 "end of file", remove $inferior_spawn_id from the indirect list.
19765
0a803169
PA
197662015-04-23 Pedro Alves <palves@redhat.com>
19767
19768 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19769
749ef8f8
PA
197702015-04-23 Pedro Alves <palves@redhat.com>
19771
19772 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19773 on $any_spawn_id instead of only on $gdb_spawn_id.
19774
8aae4344
PM
197752015-04-21 Pierre Muller <muller@sourceware.org>
19776
19777 PR pascal/17815
19778 * lib/pascal.exp (gpc_compile): Add new option "class".
19779 (fpc_compile): Likewise.
19780 * gdb.pascal/case-insensitive-symbols.pas: New file.
19781 * gdb.pascal/case-insensitive-symbols.exp: New file.
19782
1586c8fb
GB
197832015-04-20 Gary Benson <gbenson@redhat.com>
19784
19785 * gdb.base/attach.exp: Fix three extended remote failures.
19786
1b6e6f5c
GB
197872015-04-17 Gary Benson <gbenson@redhat.com>
19788
19789 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19790 the main executable over the remote protocol.
19791
e797481d
PA
197922015-04-16 Pedro Alves <palves@redhat.com>
19793
19794 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19795 a new gdbserver if gdbserver_reconnect_p is set.
19796
1ca99c42
PA
197972015-04-16 Pedro Alves <palves@redhat.com>
19798
19799 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19800 is set, don't exit gdbserver.
19801
af9fd6f8
AA
198022015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19803
19804 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19805 appropriate .insn, such that an older assembler can be used.
19806 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19807 the z/Architecture instruction set on 31-bit targets as well.
19808
04ff1e61
AA
198092015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19810
19811 * gdb.go/handcall.exp: Remove all logic related to the first
19812 breakpoint and rely on go_runto_main instead.
19813 * gdb.go/strings.exp: Likewise.
19814 * gdb.go/unsafe.exp: Likewise.
19815 * gdb.go/hello.exp: Likewise. Also rename the remaining
19816 breakpoint marker to "breakpoint 1".
19817 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19818 * gdb.go/strings.go: Likewise.
19819 * gdb.go/unsafe.go: Likewise.
19820 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19821 "set breakpoint 2 here" and rename the remaining breakpoint marker
19822 to "breakpoint 1".
19823
40d2f8d6
SM
198242015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19825
19826 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19827 if itertools.imap is not present.
19828 * gdb.python/py-objfile.exp: Add parentheses.
19829 * gdb.python/py-type.exp: Same.
19830 * gdb.python/py-unwind-maint.py: Same.
19831
8cbc97c6
YQ
198322015-04-15 Yao Qi <yao.qi@linaro.org>
19833
19834 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19835 of ":$ptr_size" and set its form explicitly.
19836
45fd756c
YQ
198372015-04-15 Pedro Alves <palves@redhat.com>
19838 Yao Qi <yao.qi@linaro.org>
19839
19840 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19841 timeout by factor of 4.
19842 (test_regular_watch): Likewise.
19843 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19844 * gdb.reverse/sigall-reverse.exp: Likewise.
19845 * gdb.reverse/until-precsave.exp: Likewise.
19846 * lib/gdb.exp (with_timeout_factor): New proc.
19847 (gdb_expect): Move some code to ...
19848 (get_largest_timeout): ... here. New procedure.
19849
9e811bc3
LM
198502015-04-14 Luis Machado <lgustavo@codesourcery.com>
19851
19852 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19853
0ff6fcb2
LM
198542015-04-13 Luis Machado <lgustavo@codesourcery.com>
19855
19856 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19857 to write to the .text section.
19858
7578d5f7
LM
198592015-04-13 Luis Machado <lgustavo@codesourcery.com>
19860
19861 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19862 Handle the case of targets that do not provide PID information.
19863
2efe15c4
YQ
198642015-04-13 Yao Qi <yao.qi@linaro.org>
19865
19866 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19867 and use expect instead of gdb_expect.
19868
8cd8f2f8
SDJ
198692015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19870
19871 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19872 "coredump_var_addr" to avoid naming conflict with other testcases.
19873
9ee41772
PA
198742015-04-10 Pedro Alves <palves@redhat.com>
19875
19876 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19877 gdb_test_sequence and gdb_assert.
19878
07473109
PA
198792015-04-10 Pedro Alves <palves@redhat.com>
19880
19881 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19882 test messages that don't include the breakpoint address.
19883
de3db44c
YQ
198842015-04-10 Yao Qi <yao.qi@linaro.org>
19885
19886 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19887 false for some offset and width combinations which aren't
19888 supported by linux kernel.
19889
c79d856c
PA
198902015-04-10 Pedro Alves <palves@redhat.com>
19891
19892 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19893 procedure, factored out from ...
19894 (top level): ... here. Add "set displaced-stepping" testing axis.
19895 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19896 parameter "displaced". Use it.
19897 (top level): Use foreach and add "set displaced-stepping" testing
19898 axis.
19899
ebc90b50
PA
199002015-04-10 Pedro Alves <palves@redhat.com>
19901
19902 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19903 Remove comment.
19904 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19905 both the address of the instruction that triggers the watchpoint
19906 and the address of the instruction immediately after, and use
19907 those addresses for the test. Fix comment.
19908
8f572e5c
PA
199092015-04-10 Pedro Alves <palves@redhat.com>
19910
19911 * gdb.base/sigstep.exp (breakpoint_to_handler)
19912 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19913 Test "backtrace" in handler.
19914 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19915 (top level): Add new "displaced" test axis to
19916 breakpoint_to_handler, breakpoint_to_handler_entry and
19917 breakpoint_over_handler.
19918
8d707a12
PA
199192015-04-10 Pedro Alves <palves@redhat.com>
19920
19921 PR gdb/18216
19922 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19923
ef713951
YQ
199242015-04-10 Yao Qi <yao.qi@linaro.org>
19925
19926 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19927 (test_add_rn_pc): New function.
19928 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19929 (top level): Invoke test_add_rn_pc.
19930
906d60cf
PA
199312015-04-10 Pedro Alves <palves@redhat.com>
19932
19933 PR gdb/13858
19934 * gdb.base/step-over-no-symbols.exp: New file.
19935
f2983cc3
AW
199362015-04-09 Andy Wingo <wingo@igalia.com>
19937
19938 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19939 after the Python tests.
19940
6d62641c
SDJ
199412015-04-08 Keith Seitz <keiths@redhat.com>
19942
19943 PR python/16699
19944 * gdb.python/py-completion.exp: New tests for completion.
19945 * gdb.python/py-completion.py (CompleteLimit1): New class.
19946 (CompleteLimit2): Likewise.
19947 (CompleteLimit3): Likewise.
19948 (CompleteLimit4): Likewise.
19949 (CompleteLimit5): Likewise.
19950 (CompleteLimit6): Likewise.
19951 (CompleteLimit7): Likewise.
19952
f3770638
PA
199532015-04-08 Pedro Alves <palves@redhat.com>
19954
19955 PR gdb/18214
19956 PR gdb/18216
19957 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19958 function.
19959 (main): Install it as SIGUSR1 handler.
19960 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19961 parameter. Always use "setup" as prefix. Toggle "set
19962 displaced-stepping" off/on depending on global. Don't switch to
19963 thread 1 here.
19964 (top level): Add displaced stepping "off/on" test axis. Update
19965 "setup" calls. Wrap each subtest with with_test_prefix. Test
19966 continuing with a queued signal in each thread.
19967
4496bed7
PA
199682015-04-08 Pedro Alves <palves@redhat.com>
19969
19970 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19971 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19972 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19973 Return early if running to main fails.
19974 * gdb.trace/while-stepping.exp: Likewise.
19975
b97fde92
PA
199762015-04-07 Pedro Alves <palves@redhat.com>
19977
19978 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19979 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19980 interact with inferior program.
19981
f71c18e7
PA
199822015-04-07 Pedro Alves <palves@redhat.com>
19983
19984 * lib/gdb.exp (inferior_spawn_id): New global.
19985 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19986 spawn id after processing the user code.
19987 (default_gdb_start): Set inferior_spawn_id.
19988 (send_inferior): New procedure.
19989 * lib/gdbserver-support.exp (gdbserver_start): Set
19990 inferior_spawn_id.
19991 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19992
6423214f
PA
199932015-04-07 Pedro Alves <palves@redhat.com>
19994
19995 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19996 * lib/gdbserver-support.exp (gdbserver_start): Make
19997 $server_spawn_id global.
19998 (gdbserver_start): Don't wait for gdbserver's spawn id with
19999 expect_background.
20000 (close_gdbserver): New procedure.
20001 (gdb_exit): Rename the default version and reimplement.
20002
71c0ee8c
PA
200032015-04-07 Pedro Alves <palves@redhat.com>
20004
72f4393d 20005 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
20006 append the substituted item, not the original item.
20007
203bc29b
PA
200082015-04-07 Pedro Alves <palves@redhat.com>
20009
20010 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
20011 gdb_expect.
20012
508a3ddf
PA
200132015-04-07 Pedro Alves <palves@redhat.com>
20014
20015 * gdb.base/interrupt.exp: Don't handle the case of the inferior
20016 output appearing once only.
20017
9f6dbe2b
PA
200182015-04-07 Pedro Alves <palves@redhat.com>
20019
20020 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
20021 that doesn't expect anything. Return early if running to main
20022 fails.
20023
337532fa
YQ
200242015-04-07 Yao Qi <yao.qi@linaro.org>
20025
20026 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
20027 (child_function): Call alarm.
20028 (main): Move call to alarm into the loop.
20029 * gdb.threads/non-stop-fair-events.exp: Build program with
20030 -DTIMEOUT=$timeout.
20031
01b622d4
DE
200322015-04-06 Doug Evans <xdje42@gmail.com>
20033
20034 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
20035 Fix dest parameter to board_info.
20036 (fpc_compile): Ditto.
20037 (gdb_compile_pascal): Rename dest arg to destfile.
20038
961f4160
PMR
200392015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
20040
20041 * gdb.ada/funcall_ref.exp: New file.
20042 * gdb.ada/funcall_ref/foo.adb: New file.
20043
cafda597
YQ
200442015-04-02 Yao Qi <yao.qi@linaro.org>
20045
20046 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
20047 is remote.
20048
fed040c6
GB
200492015-04-02 Gary Benson <gbenson@redhat.com>
20050
20051 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
20052
d11916aa
SS
200532015-04-01 Sasha Smundak <asmundak@google.com>
20054
20055 * gdb.python/py-unwind-maint.c: New file.
20056 * gdb.python/py-unwind-maint.exp: New test.
20057 * gdb.python/py-unwind-maint.py: New file.
20058 * gdb.python/py-unwind.c: New file.
20059 * gdb.python/py-unwind.exp: New test.
20060 * gdb.python/py-unwind.py: New test.
20061
a1471180
PA
200622015-04-01 Pedro Alves <palves@redhat.com>
20063
20064 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
20065 to fail instead of non-existent $test.
20066
0bbeccb1
PA
200672015-04-01 Pedro Alves <palves@redhat.com>
20068
20069 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
20070 GDBFLAGS if not empty.
20071
3c724c8c
PMR
200722015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
20073
20074 * gdb.ada/complete.exp: Remove "multi_line".
20075 * gdb.ada/info_exc.exp: Remove "multi_line".
20076 * gdb.ada/packed_tagged.exp: Remove "multi_line".
20077 * gdb.ada/ptype_field.exp: Remove "multi_line".
20078 * gdb.ada/sym_print_name.exp: Remove "multi_line".
20079 * gdb.ada/tagged.exp: Remove "multi_line".
20080 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
20081 [multi_line ...]
20082 * gdb.btrace/delta.exp: Likewise.
20083 * gdb.btrace/exception.exp: Likewise.
20084 * gdb.btrace/function_call_history.exp: Likewise.
20085 * gdb.btrace/instruction_history.exp: Likewise.
20086 * gdb.btrace/nohist.exp: Likewise.
20087 * gdb.btrace/record_goto.exp: Likewise.
20088 * gdb.btrace/segv.exp: Likewise.
20089 * gdb.btrace/stepi.exp: Likewise.
20090 * gdb.btrace/tailcall.exp: Likewise.
20091 * gdb.btrace/unknown_functions.exp: Likewise.
20092 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
20093 * lib/gdb.exp: Add the "multi_line" helper.
20094
4eec2deb
PA
200952015-04-01 Pedro Alves <palves@redhat.com>
20096
20097 * gdb.threads/tid-reuse.c: New file.
20098 * gdb.threads/tid-reuse.exp: New file.
20099
df8411da
SDJ
201002015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
20101
20102 PR corefiles/16092
20103 * gdb.base/coredump-filter.c: New file.
20104 * gdb.base/coredump-filter.exp: Likewise.
20105
6ef37366
PM
201062015-03-27 Petr Machata <pmachata@redhat.com>
20107
20108 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
20109 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
20110 (Dwarf::assemble): Initialize them.
20111 (Dwarf::lines): New function.
20112
7ec911b0
JT
201132015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
20114
20115 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
20116 SYMBOL_PREFIX for x86_64-*-cygwin.
20117
ff908ebf
AW
201182015-03-26 Andy Wingo <wingo@igalia.com>
20119
20120 PR symtab/18148
20121 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
20122 const_value but not a location.
20123 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
20124 location defined in non-main CUs are visible.
20125
6d5f0679
YQ
201262015-03-26 Yao Qi <yao.qi@linaro.org>
20127
20128 PR testsuite/18139
20129 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
20130 Add a line number entry for the same line.
20131 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
20132 Add a line number entry for the same line.
20133
2898689b
YQ
201342015-03-26 Yao Qi <yao.qi@linaro.org>
20135
20136 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
20137 .int 0.
20138 (func): Likewise. Add .Lfunc_1 label.
20139 Use .Lfunc_1 label.
20140 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
20141 .int 0.
20142 (func): Likewise.
20143 Use .Lfunc_1 label.
20144
85180498
YQ
201452015-03-26 Yao Qi <yao.qi@linaro.org>
20146
20147 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
20148 Call gdb_compile instead to compile each .s files without debug
20149 information.
20150
8aa08a8d
YQ
201512015-03-26 Yao Qi <yao.qi@linaro.org>
20152
20153 * gdb.base/savedregs.exp (process_saved_regs): Make
20154 "Saved registers:" optional in the pattern.
20155
66849923
MM
201562015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20157
20158 * gdb.btrace/next.exp: Merged into step.exp.
20159 * gdb.btrace/finish.exp: Merged into step.exp.
20160 * gdb.btrace/nexti.exp: Merged into stepi.exp.
20161 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
20162 "record goto" and checking the exact replay position.
20163 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
20164 check for "Recording format" in "info record" output.
20165 * gdb.btrace/record_goto.exp: Choose test file based on target.
20166 * gdb.btrace/x86-record_goto.S: Renamed into ...
20167 * gdb.btrace/x86_64-record_goto.S: ... this.
20168 * gdb.btrace/i686-record_goto.S: New.
20169 * gdb.btrace/x86-tailcall.S: Renamed into ...
20170 * gdb.btrace/x86_64-tailcall.S: ... this.
20171 * gdb.btrace/i686-tailcall.S: New.
20172 * gdb.btrace/x86-tailcall.c: Renamed into ...
20173 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
20174 separate statements. Update test.
20175 * gdb.btrace/delta.exp: Use record_goto.c as test file.
20176 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
20177 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
20178 * gdb.btrace/tailcall.exp: Choose test file based on target.
20179 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
20180
11cc1b74
MM
201812015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20182
20183 * gdb.btrace/exception.exp: Increase BTS buffer size.
20184
a25d8bf9
PA
201852015-03-24 Pedro Alves <palves@redhat.com>
20186
20187 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
20188
856e7dd6
PA
201892015-03-24 Pedro Alves <palves@redhat.com>
20190
20191 * gdb.threads/schedlock.exp (test_step): No longer expect that
20192 "set scheduler-locking step" with "next" over a function call runs
20193 threads unlocked.
20194
ad235a41
AT
201952015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20196
20197 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
20198
15630549
AT
201992015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20200
20201 PR breakpoints/16466
20202 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
20203 * gdb.mi/mi-pending.c (thread_func): New function.
20204 (int main): Add threading support required.
20205 * gdb.mi/mi-pending.exp: Add tests for this issue.
20206 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
20207 (pendfunc2): Remove stdio dependency.
20208 * gdb.mi/mi-pendshr2.c: New file.
20209
693dca06
KS
202102015-03-23 Keith Seitz <keiths@redhat.com>
20211
20212 * gdb.linespec/keywords.c: New file.
20213 * gdb.linespec/keywords.exp: New file.
20214
7e993ebf
KS
202152015-03-23 Keith Seitz <keiths@redhat.com>
20216
20217 PR gdb/18021
20218 * gdb.dwarf2/staticvirtual.exp: New test.
20219
bc23328c
JK
202202015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20221
20222 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
20223 * README: Remove HP-UX and gdb.hp.
20224 (configuration):
20225 * configure: Regenerate.
20226 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
20227 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
20228 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
20229 gdb.hp/gdb.defects/Makefile.
20230 * gdb.hp/Makefile.in: File deleted.
20231 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
20232 * gdb.hp/gdb.aCC/optimize.c: File deleted.
20233 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
20234 * gdb.hp/gdb.aCC/run.c: File deleted.
20235 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
20236 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
20237 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
20238 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20239 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
20240 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
20241 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
20242 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
20243 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
20244 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
20245 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
20246 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
20247 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
20248 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
20249 * gdb.hp/gdb.base-hp/reg.s: File deleted.
20250 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
20251 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
20252 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
20253 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
20254 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
20255 * gdb.hp/gdb.compat/Makefile.in: File deleted.
20256 * gdb.hp/gdb.compat/average.c: File deleted.
20257 * gdb.hp/gdb.compat/sum.c: File deleted.
20258 * gdb.hp/gdb.compat/xdb.c: File deleted.
20259 * gdb.hp/gdb.compat/xdb0.c: File deleted.
20260 * gdb.hp/gdb.compat/xdb0.h: File deleted.
20261 * gdb.hp/gdb.compat/xdb1.c: File deleted.
20262 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
20263 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
20264 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
20265 * gdb.hp/gdb.defects/Makefile.in: File deleted.
20266 * gdb.hp/gdb.defects/bs14602.c: File deleted.
20267 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
20268 * gdb.hp/gdb.defects/solib-d.c: File deleted.
20269 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
20270 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
20271 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
20272 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
20273 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
20274 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
20275 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
20276 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
20277 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
20278 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
20279 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
20280 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
20281 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
20282 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
20283 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
20284 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
20285 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
20286 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
20287 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
20288 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
20289 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
20290 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
20291 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
20292 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
20293 * gdb.hp/tools/odump: File deleted.
20294
8bf3b159
PA
202952015-03-19 Pedro Alves <palves@redhat.com>
20296
20297 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20298 (saw_thread_3): New globals.
20299 (top level): Increment them when an event for the corresponding
20300 thread is seen.
20301 (no thread starvation): New test.
20302
eb54c8bf
PA
203032015-03-19 Pedro Alves <palves@redhat.com>
20304
20305 * gdb.threads/continue-pending-status.c: New file.
20306 * gdb.threads/continue-pending-status.exp: New file.
20307
32d2e5d6
PA
203082015-03-18 Pedro Alves <palves@redhat.com>
20309
20310 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20311 Use gdb_is_target_remote instead of is_remote. Use
20312 gdb_test_multiple instead of gdb_expect. Exit early if
20313 gdb_test_multiple hits its internal matches. Tighten stepi tests
20314 expected output. Fail on exit with any signal, instead of just
20315 SIGILL.
20316
f68f11b7
YQ
203172015-03-18 Yao Qi <yao.qi@linaro.org>
20318
20319 PR tdep/18107
20320 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20321 variable.
20322 * gdb.base/catch-syscall.exp: Don't skip it on
20323 aarch64*-*-linux* target. Remove elements in all_syscalls.
20324 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20325 target.
20326 (setup_all_syscalls): New proc.
20327
ca5fd19b
YQ
203282015-03-16 Yao Qi <yao.qi@linaro.org>
20329
20330 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20331 (top level): Skip tests if valid_addr_p returns false for
20332 $cmd1 or $cmd2.
20333
85642ba0
AW
203342015-03-11 Andy Wingo <wingo@igalia.com>
20335
20336 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20337
e03f9645
YQ
203382015-03-11 Yao Qi <yao.qi@linaro.org>
20339
20340 * gdb.base/catch-syscall.exp: Fix typo in comments.
20341
5d0962b2
YQ
203422015-03-11 Yao Qi <yao.qi@linaro.org>
20343
20344 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20345
b2df3cef
PA
203462015-03-09 Pedro Alves <palves@redhat.com>
20347
20348 * dg-extract-results.py: Delete.
20349
ef878e53
PA
203502015-03-09 Pedro Alves <palves@redhat.com>
20351
20352 Merge dg-extract-results.sh from GCC upstream (r218843).
20353
20354 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20355 * dg-extract-results.sh: Use --text with grep to avoid issues with
20356 binary files. Fall back to cat -v, if that doesn't work.
20357
9494d219
PA
203582015-03-05 Pedro Alves <palves@redhat.com>
20359
20360 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20361
a8d9763a
SM
203622015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20363
20364 * lib/mi-support.exp (mi_expect_interrupt): Accept
20365 alternative event for when in all-stop mode.
20366
be9957b8
PA
203672015-03-04 Pedro Alves <palves@redhat.com>
20368
20369 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20370
d57be0f4 203712015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
20372
20373 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20374
c214c7cf
AA
203752015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20376
20377 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20378 regexps for GDB's current line display, accept a hex address
20379 preceding the line number.
20380
6d74a497
AA
203812015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20382
20383 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20384 the 'arch1' variable for "s390*-linux*" targets.
20385
511aee7c
PA
203862015-03-04 Pedro Alves <palves@redhat.com>
20387
20388 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20389 (main): Pass missing retval argument to pthread_join call.
20390
95e50b27
PA
203912015-03-02 Pedro Alves <palves@redhat.com>
20392
20393 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20394 (top level): Call do_test with non-stop as well.
20395
28054d69
PA
203962015-03-02 Pedro Alves <palves@redhat.com>
20397
20398 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20399 -1.
20400
4fa5d7b4
AA
204012015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20402
20403 * gdb.arch/s390-vregs.exp: New test.
20404 * gdb.arch/s390-vregs.S: New file.
20405
97c18565
PA
204062015-02-27 Pedro Alves <palves@redhat.com>
20407
20408 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20409 call to catch_command_errors.
20410 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20411 catch_command_errors.
20412
a37bfa30
PA
204132015-02-27 Pedro Alves <palves@redhat.com>
20414
20415 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20416 "true" for boolean result.
20417 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20418 prototype of main.
20419
6f98576f
PA
204202015-02-27 Pedro Alves <palves@redhat.com>
20421
20422 * lib/unbuffer_output.c: New file.
20423 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20424 (main): Call gdb_unbuffer_output.
20425
eba5ab56
YQ
204262015-02-27 Yao Qi <yao.qi@linaro.org>
20427
20428 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20429 target.
20430
0def5aaa
DE
204312015-02-26 Doug Evans <dje@google.com>
20432
20433 * gdb.cp/class2.cc (Dbase, D): New classes.
20434 (main): New local delta.
20435 * gdb.cp/class2.exp: Test printing delta.
20436 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20437 (dynbar): New global.
20438 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20439
081a1c2c
JK
204402015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20441
20442 * gdb.compile/compile-ifunc.c: New file.
20443 * gdb.compile/compile-ifunc.exp: New file.
20444
2f41223f
AT
204452015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20446
20447 * gdb.base/structs.exp: Check for correct struct on finish.
20448
03eddd80
YQ
204492015-02-26 Yao Qi <yao.qi@linaro.org>
20450
20451 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20452 is zero.
20453
80c57053
JK
204542015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20455
20456 * gdb.arch/cordic.ko.bz2: New file.
20457 * gdb.arch/cordic.ko.debug.bz2: New file.
20458 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20459
21613c12
YQ
204602015-02-25 Yao Qi <yao.qi@linaro.org>
20461
20462 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20463 aarch64*-*-* target.
20464
d8b901ed
PA
204652015-02-23 Pedro Alves <palves@redhat.com>
20466
20467 * lib/gdb.exp (delete_breakpoints): Rewrite using
20468 gdb_test_multiple.
20469
e5b85ead
PA
204702015-02-23 Pedro Alves <palves@redhat.com>
20471
20472 * gdb.base/info-os.c: Include stdlib.h.
20473
85c3a371
DE
204742015-02-22 Doug Evans <xdje42@gmail.com>
20475
20476 PR symtab/17855
20477 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20478 is read after symbols have been re-read.
20479 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20480 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20481
96553a0c
DE
204822015-02-21 Doug Evans <dje@google.com>
20483
20484 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20485
97a0c697
JK
204862015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20487
20488 PR corefiles/17808
20489 * gdb.arch/i386-biarch-core.core.bz2: New file.
20490 * gdb.arch/i386-biarch-core.exp: New file.
20491
a47cd6e9
PA
204922015-02-21 Pedro Alves <palves@redhat.com>
20493
20494 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20495 runto_main fails.
20496
c5facdc4
PA
204972015-02-20 Pedro Alves <palves@redhat.com>
20498
20499 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20500 info probes.
20501
2db9a427
PA
205022015-02-20 Pedro Alves <palves@redhat.com>
20503
20504 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20505
60fb7e9e
PA
205062015-02-20 Pedro Alves <palves@redhat.com>
20507
20508 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20509 clean_restart before gdb_target_supports_trace.
20510
5c5019c2
PA
205112015-02-20 Pedro Alves <palves@redhat.com>
20512
20513 PR threads/18006
20514 * gdb.threads/clone-thread_db.c: New file.
20515 * gdb.threads/clone-thread_db.exp: New file.
20516
c9587f88
AT
205172015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20518
20519 PR breakpoints/16812
20520 * gdb.base/catch-gdb-caused-signals.c: New file.
20521 * gdb.base/catch-gdb-caused-signals.exp: New file.
20522
f6a88844
JM
205232015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20524
20525 * configure: Regenerated.
20526 * configure.ac: Use GDB_AC_TRANSFORM.
20527 * aclocal.m4: sinclude ../transform.m4.
20528
497c491b
JM
205292015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20530
20531 * lib/dtrace.exp: New file.
20532 * gdb.base/dtrace-probe.exp: Likewise.
20533 * gdb.base/dtrace-probe.d: Likewise.
20534 * gdb.base/dtrace-probe.c: Likewise.
20535 * lib/pdtrace.in: Likewise.
20536 * configure.ac: Output variables with the transformed names of
20537 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20538 * configure: Regenerated.
20539
03e98035
JM
205402015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20541
20542 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20543 expected message when trying to access $_probe_* convenience
20544 variables while not on a probe.
20545
63cc30e9
JK
205462015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20547
20548 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20549
0703599a
PA
205502015-02-11 Pedro Alves <pedro@codesourcery.com>
20551
20552 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20553 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20554
7e60a48e
DE
205552015-02-10 Doug Evans <xdje42@gmail.com>
20556
20557 * lib/gdb.exp (gdb_load): Always return a result.
20558
01b088bc
PA
205592015-02-10 Pedro Alves <palves@redhat.com>
20560
20561 * gdb.threads/signal-sigtrap.c: New file.
20562 * gdb.threads/signal-sigtrap.exp: New file.
20563
b05ec7a5
AT
205642015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20565
20566 * gdb.trace/no-attach-trace.c: New file.
20567 * gdb.trace/no-attach-trace.exp: New file.
20568
a2c2acaf
MW
205692015-02-09 Mark Wielaard <mjw@redhat.com>
20570
20571 * gdb.dwarf2/atomic.c: New file.
20572 * gdb.dwarf2/atomic-type.exp: Likewise.
20573
31fd9caa
MM
205742015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20575
20576 * gdb.btrace/buffer-size.exp: Update "info record" output.
20577 * gdb.btrace/delta.exp: Update "info record" output.
20578 * gdb.btrace/enable.exp: Update "info record" output.
20579 * gdb.btrace/finish.exp: Update "info record" output.
20580 * gdb.btrace/instruction_history.exp: Update "info record" output.
20581 * gdb.btrace/next.exp: Update "info record" output.
20582 * gdb.btrace/nexti.exp: Update "info record" output.
20583 * gdb.btrace/step.exp: Update "info record" output.
20584 * gdb.btrace/stepi.exp: Update "info record" output.
20585 * gdb.btrace/nohist.exp: Update "info record" output.
20586
d33501a5
MM
205872015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20588
20589 * gdb.btrace/buffer-size: New.
20590
f4abbc16
MM
205912015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20592
20593 * gdb.btrace/delta.exp: Update "info record" output.
20594 * gdb.btrace/enable.exp: Update "info record" output.
20595 * gdb.btrace/finish.exp: Update "info record" output.
20596 * gdb.btrace/instruction_history.exp: Update "info record" output.
20597 * gdb.btrace/next.exp: Update "info record" output.
20598 * gdb.btrace/nexti.exp: Update "info record" output.
20599 * gdb.btrace/step.exp: Update "info record" output.
20600 * gdb.btrace/stepi.exp: Update "info record" output.
20601 * gdb.btrace/nohist.exp: Update "info record" output.
20602
b9d61307
SM
206032015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20604
20605 PR gdb/15678
20606 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20607
e584fdbc
PA
206082015-02-06 Pedro Alves <palves@redhat.com>
20609
20610 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20611 macro.
20612 (seconds_left, again): New globals.
20613 (main): Wait seconds_left in a 1-second sleep loop instead of
20614 sleeping 180 seconds. If 'again' is set, reset the seconds
20615 counter.
20616 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20617 'again' in the inferior before detaching. Print the seconds left.
20618 (options): New global.
20619 (top level): Build program with -DTIMEOUT=$timeout.
20620
77f41761
PA
206212015-02-06 Pedro Alves <palves@redhat.com>
20622
20623 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20624 determine how many seconds to pass to 'alarm'.
20625 * gdb.base/gdb-sigterm.exp (top level): Build program with
20626 -DTIMEOUT=$timeout.
20627 (do_test): Return success/failure indication. Add more verbose
20628 logging. Don't fail if 200 single steps are seen. Instead, fail
20629 when the test times out.
20630 (passes): New global.
20631 (top level): Break the testing loop if testing fails on any
20632 iteration. Use gdb_assert.
20633
b9394193
DB
206342015-02-04 Don Breazeal <donb@codesourcery.com>
20635
20636 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20637 and initialize them.
20638 (ipc_cleanup): New function.
20639 (main): Don't declare shmid, semid, and msqid. Add a call to
20640 atexit so that we call ipc_cleanup on exit.
20641
42d9e528
PA
206422015-02-04 Pedro Alves <palves@redhat.com>
20643
20644 * boards/native-extended-gdbserver.exp: Remove any target variant
20645 specifications from the board name before clearing the isremote
20646 flag from board_info.
20647
ae6ae975
DE
206482015-01-31 Doug Evans <xdje42@gmail.com>
20649
20650 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20651
cfb069a8
GB
206522015-01-31 Gary Benson <gbenson@redhat.com>
20653
20654 * gdb.base/completion.exp: Disable completion limiting for
20655 existing tests. Add new tests to check completion limiting.
20656 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20657
5dd31d79
DE
206582015-01-31 Doug Evans <xdje42@gmail.com>
20659
20660 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20661
9f050062
DE
206622015-01-31 Doug Evans <xdje42@gmail.com>
20663
20664 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20665 entries. Duplicate file section script entries.
20666 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20667 inlined entries. Add test for safe-path rejection.
20668 * gdb.python/py-section-script.c: Add duplicate inlined section script
20669 entries. Duplicate file section script entries.
20670 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20671 inlined entries. Add test for safe-path rejection.
20672
df25ebbd
JB
206732015-01-29 Joel Brobecker <brobecker@adacore.com>
20674
20675 * gdb.ada/disc_arr_bound: New testcase.
20676
4a0ca9ec
JB
206772015-01-29 Joel Brobecker <brobecker@adacore.com>
20678
20679 * gdb.ada/mi_var_array: New testcase.
20680
3a8b707a
DE
206812015-01-27 Doug Evans <dje@google.com>
20682
20683 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20684 Add test for objfile.filename, objfile.username after objfile
20685 has been unloaded.
20686
f8313f6e
JB
206872015-01-26 Joel Brobecker <brobecker@adacore.com>
20688
20689 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20690 the second test to print the name attribute of value
20691 returned by the call to gdb.lookup_type, and adjust
20692 the expected output accordingly.
20693
37bc665e
MW
206942015-01-25 Mark Wielaard <mjw@redhat.com>
20695
20696 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20697 * gdb.base/disp-step-fork.c: Include unistd.h.
20698 * gdb.base/siginfo-obj.c: Include stdio.h.
20699 * gdb.base/siginfo-thread.c: Likewise.
20700 * gdb.mi/non-stop.c: Include unistd.h.
20701 * gdb.mi/nsthrexec.c: Include stdio.h.
20702 * gdb.mi/pthreads.c: Include unistd.h.
20703 * gdb.modula2/unbounded1.c (main): Declare returns int.
20704 * gdb.reverse/consecutive-reverse.c: Likewise.
20705 * gdb.threads/create-fail.c: Include unistd.h.
20706 * gdb.threads/killed.c: Likewise.
20707 * gdb.threads/linux-dp.c: Likewise.
20708 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20709 * gdb.threads/non-ldr-exc-2.c: Likewise.
20710 * gdb.threads/non-ldr-exc-3.c: Likewise.
20711 * gdb.threads/non-ldr-exc-4.c: Likewise.
20712 * gdb.threads/pthreads.c: Include unistd.h.
20713 (main): Declare returns int.
20714 * gdb.threads/tls-main.c (foo): New declaration.
20715 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20716
f7e5394d
SM
207172015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20718
20719 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20720 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20721
743649fd
MW
207222015-01-15 Mark Wielaard <mjw@redhat.com>
20723
20724 * gdb.base/noreturn-return.c: New file.
20725 * gdb.base/noreturn-return.exp: New file.
20726 * gdb.base/noreturn-finish.c: New file.
20727 * gdb.base/noreturn-finish.exp: New file.
20728
198297aa
PA
207292015-01-23 Pedro Alves <palves@redhat.com>
20730
20731 * gdb.threads/continue-pending-after-query.c: New file.
20732 * gdb.threads/continue-pending-after-query.exp: New file.
20733
717cf30c
AG
207342015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20735 Simon Marchi <simon.marchi@ericsson.com>
20736
20737 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20738 * gdb.base/valgrind-db-attach.exp: Same.
20739 * gdb.base/valgrind-infcall.exp: Same.
20740 * lib/mi-support.exp (default_mi_gdb_start): Same.
20741 * lib/prompt.exp (default_prompt_gdb_start): Same.
20742 * lib/gdb.exp (default_gdb_spawn): Same.
20743 (gdb_interact): New.
20744
20745
4b62a76e
JK
207462015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20747
20748 * gdb.compile/compile.exp (pointer to jit function): New test.
20749
b4cdae6f
WW
207502015-01-17 Wei-cheng Wang <cole945@gmail.com>
20751
20752 * lib/gdb.exp (supports_process_record): Return true for
20753 powerpc*-*-linux*.
20754 (supports_reverse): Likewise.
20755
d221e7ef
DB
207562015-01-15 Don Breazeal <donb@codesourcery.com>
20757
20758 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20759 instead of checking whether the target board is remote and
20760 use spawn_wait_for_attach instead of exec/sleep.
20761 * gdb.base/attach-twice.exp: Likewise.
20762
bafffb51
JB
207632015-01-15 Joel Brobecker <brobecker@adacore.com>
20764
20765 * gdb.ada/var_arr_attrs: New testcase.
20766
5589af0e
PA
207672015-01-14 Pedro Alves <palves@redhat.com>
20768 Joel Brobecker <brobecker@adacore.com>
20769
20770 PR gdb/17525
20771 * gdb.base/bp-cmds-execution-x-script.c: New file.
20772 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20773 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20774
6c400b59
PA
207752015-01-14 Pedro Alves <palves@redhat.com>
20776
20777 PR cli/17828
20778 * gdb.base/batch-preserve-term-settings.c: New file.
20779 * gdb.base/batch-preserve-term-settings.exp: New file.
20780
e02c96a7
DE
207812015-01-13 Doug Evans <dje@google.com>
20782
20783 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20784 binary.
20785
576fd14c
JB
207862015-01-13 Joel Brobecker <brobecker@adacore.com>
20787
20788 * Makefile.in (clean mostlyclean): Do not delete *.py.
20789
04dccad0
JB
207902015-01-13 Joel Brobecker <brobecker@adacore.com>
20791
20792 * gdb.python/py-lookup-type.exp: New file.
20793
3d230f71
PA
207942015-01-12 Pedro Alves <palves@redhat.com>
20795
20796 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20797 restore GDBFLAGS before returning.
20798
7e67715d
JK
207992015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20800
20801 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20802 is_amd64_regs_target and is_x86_like_target.
20803
f2e0d4b4
DE
208042015-01-11 Doug Evans <xdje42@gmail.com>
20805
20806 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20807 is given without an explicit form.
20808 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20809 attributes.
20810 * gdb.dwarf/corrupt.exp: Ditto.
20811 * gdb.dwarf2/enum-type.exp: Ditto.
20812 * gdb.trace/entry-values.exp: Ditto.
20813 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20814
439250fb
DE
208152015-01-11 Doug Evans <xdje42@gmail.com>
20816
20817 PR gdb/15830
20818 * gdb.base/maint.exp: Remove references to "maint demangle".
20819 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20820 Add tests for explicitly specifying language to demangle.
20821 * gdb.dlang/demangle.exp: Ditto.
20822
ede9f622
PA
208232015-01-09 Pedro Alves <palves@redhat.com>
20824
20825 * gdb.threads/non-stop-fair-events.c: New file.
20826 * gdb.threads/non-stop-fair-events.exp: New file.
20827
a7b796db
PA
208282015-01-09 Pedro Alves <palves@redhat.com>
20829
20830 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20831 the global scope. Set a breakpoint after all threads are started
20832 rather than stepping over two source lines. Expect the prompt.
20833 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20834 global.
20835 (NUM): Now 15.
20836 (main): Use threads_started_barrier to wait for all threads to
20837 start. Main thread no longer calls thread_function. Exit after
20838 180 seconds.
20839 (loop): New function.
20840 (thread_function): Wait on threads_started_barrier barrier. Call
20841 'loop' at each iteration.
20842 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20843 threads have started, instead of hardcoding number of "next"
20844 steps. Use an access watchpoint instead of a write watchpoint.
20845
9665ffdd
PA
208462015-01-09 Pedro Alves <palves@redhat.com>
20847
20848 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20849 (thread_func): Wait on barrier.
20850 (main): Wait for all threads to start before stopping GDB.
20851 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20852 global.
20853 (thread1_func, thread2_func): Wait on barrier.
20854 (main): Wait for all threads to start before stopping GDB.
20855 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20856 New global.
20857 (thread1_func, thread2_func): Wait on barrier.
20858 (main): Wait for all threads to start before stopping GDB.
20859
c945a99f
PA
208602015-01-09 Pedro Alves <palves@redhat.com>
20861
20862 * gdb.threads/attach-many-short-lived-threads.c: New file.
20863 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20864
c1a747c1
PA
208652014-01-09 Pedro Alves <palves@redhat.com>
20866
20867 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20868 instead of to thread 2.
20869 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20870 Add barrier around each pthread_create call instead of around all
20871 calls.
20872 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20873 Set a break on thread_function and have the child threads hit it
20874 one at at a time.
20875
60b3033e
PA
208762015-01-09 Pedro Alves <palves@redhat.com>
20877
20878 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20879 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20880 false.
20881 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20882 checking whether the target board is remote.
20883 * gdb.multi/multi-attach.exp: Likewise.
20884 * gdb.python/py-sync-interp.exp: Likewise.
20885 * gdb.server/ext-attach.exp: Likewise.
20886 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20887 tests that need to attach, instead of checking whether the target
20888 board is remote at the top of the file.
20889
acc018ac
YQ
208902015-01-08 Yao Qi <yao@codesourcery.com>
20891
20892 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20893
50a18af8
JK
208942015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20895
20896 Fix testcase compilation.
20897 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20898
8503d6e1
JB
208992015-01-06 Joel Brobecker <brobecker@adacore.com>
20900
20901 * gdb.python/py-type.exp: Add a couple test about empty
20902 array creation, and negative-length array creation.
20903
cc73dbcc
DE
209042015-01-02 Doug Evans <xdje42@gmail.com>
20905
20906 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20907
0300bbc7
DE
209082015-01-02 Doug Evans <dje@google.com>
20909
20910 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20911
9d85a0ec
YQ
209122014-12-29 Yao Qi <yao@codesourcery.com>
20913
20914 * gdb.trace/entry-values.exp: Update comments. Rename variable
20915 bar_call_foo to returned_from_foo.
20916
87186c6a
MMN
209172014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20918
20919 PR gdb/17394
20920 * gdb.linespec/break-asm-file.c: New file.
20921 * gdb.linespec/break-asm-file.exp: New file.
20922 * gdb.linespec/break-asm-file0.s: New file.
20923 * gdb.linespec/break-asm-file1.s: New file.
20924
1bab7383
YQ
209252014-12-18 Nigel Stephens <nigel@mips.com>
20926 Maciej W. Rozycki <macro@codesourcery.com>
20927
20928 * gdb.base/float.exp: Handle the new output from "info float" on
20929 MIPS targets.
20930
1bc1068a
JK
209312014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20932
20933 Fix MinGW compilation.
20934 * gdb.compile/compile-ops.exp: Update untested message if
20935 !skip_compile_feature_tests.
20936 * gdb.compile/compile-setjmp.exp: Likewise.
20937 * gdb.compile/compile-tls.exp: Likewise.
20938 * gdb.compile/compile.exp: Likewise.
20939 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20940 supported on this host".
20941
b6615d10
DE
209422014-12-16 Doug Evans <xdje42@gmail.com>
20943
20944 * boards/stabs.exp: New file.
20945
25dda427
AA
209462014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20947
20948 * gdb.base/completion.exp: Adjust to format changes of "maint
20949 print user-registers".
20950
bf330350
CU
209512014-12-16 Catalin Udma <catalin.udma@freescale.com>
20952
20953 PR server/17457
20954 * gdb.arch/aarch64-fp.c: New file.
20955 * gdb.arch/aarch64-fp.exp: New file.
20956
395cf596
SDJ
209572014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20958
20959 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20960 r210637, r210913, r211666, r215400, r215817).
20961
20962 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20963 * dg-extract-results.py: New file.
20964 * dg-extract-results.sh: Use it if the environment seems
20965 suitable.
20966
20967 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20968
20969 * dg-extract-results.py (parse_run): Handle warnings that
20970 are printed before a test harness is run.
20971
20972 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20973
20974 * dg-extract-results.py (Named): Remove __cmp__ method.
20975 (output_variation): Use a key to sort variation.harnesses.
20976
20977 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20978
20979 * dg-extract-results.py: For Python 3, force sys.stdout to
20980 handle surrogate escape sequences.
20981 (safe_open): New function.
20982 (output_segment, main): Use it.
20983
20984 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20985
20986 * dg-extract-results.py (Prog.result_re): Include options
20987 in test name.
20988
20989 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20990
20991 * dg-extract-results.py (output_variation): Always sort if
20992 do_sum.
20993
e882ef3c
SM
209942014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20995
20996 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20997 as long as we get pagination notifications.
20998
4992aa20
JM
209992014-12-15 Jason Merrill <jason@redhat.com>
21000
21001 * Makefile.in (check-gdb.%): Restore.
21002 * README: Mention it.
21003
c1b5a1a6
JB
210042014-12-13 Joel Brobecker <brobecker@adacore.com>
21005
21006 * gdb.ada/str_uninit: New testcase.
21007
5537b577
JK
210082014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21009
21010 PR symtab/17642
21011 * gdb.base/vla-stub-define.c: New file.
21012 * gdb.base/vla-stub.c: New file.
21013 * gdb.base/vla-stub.exp: New file.
21014
bb2ec1b3
TT
210152014-12-12 Phil Muldoon <pmuldoon@redhat.com>
21016 Jan Kratochvil <jan.kratochvil@redhat.com>
21017 Tom Tromey <tromey@redhat.com>
21018
21019 * configure.ac: Add gdb.compile/.
21020 * configure: Regenerate.
21021 * gdb.compile/Makefile.in: New file.
21022 * gdb.compile/compile-ops.exp: New file.
21023 * gdb.compile/compile-ops.c: New file.
21024 * gdb.compile/compile-tls.c: New file.
21025 * gdb.compile/compile-tls.exp: New file.
21026 * gdb.compile/compile-constvar.S: New file.
21027 * gdb.compile/compile-constvar.c: New file.
21028 * gdb.compile/compile-mod.c: New file.
21029 * gdb.compile/compile-nodebug.c: New file.
21030 * gdb.compile/compile-setjmp-mod.c: New file.
21031 * gdb.compile/compile-setjmp.c: New file.
21032 * gdb.compile/compile-setjmp.exp: New file.
21033 * gdb.compile/compile-shlib.c: New file.
21034 * gdb.compile/compile.c: New file.
21035 * gdb.compile/compile.exp: New file.
21036 * lib/gdb.exp (skip_compile_feature_tests): New proc.
21037
4ff709eb
TT
210382014-12-12 Tom Tromey <tromey@redhat.com>
21039
21040 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
21041 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
21042
6dddd6a5
DE
210432014-12-12 Doug Evans <dje@google.com>
21044
21045 * lib/gdb-python.exp (get_python_valueof): New function.
21046 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
21047
71c24708
AA
210482014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21049
21050 * gdb.base/completion.exp: Add test for completion of "info
21051 registers ".
21052
3e29f34a
MR
210532014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
21054
21055 * gdb.base/func-ptrs.c: New file.
21056 * gdb.base/func-ptrs.exp: New file.
21057
fc126975
SM
210582014-12-10 Simon Marchi <simon.marchi@ericsson.com>
21059
21060 PR breakpoints/17012
21061 * gdb.base/dprintf-detach.c: New file.
21062 * gdb.base/dprintf-detach.exp: New file.
21063
0a46d518
SM
210642014-12-10 Simon Marchi <simon.marchi@ericsson.com>
21065
21066 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
21067 * lib/gdb.exp (target_is_gdbserver): New procedure.
21068
a0be3e44
DE
210692014-12-08 Doug Evans <dje@google.com>
21070
21071 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
21072
df1b803a
YQ
210732014-12-05 Yao Qi <yao@codesourcery.com>
21074
21075 * gdb.guile/scm-error.exp: Remove the third argument to
21076 gdb_remote_download.
21077 * gdb.guile/scm-frame-args.exp: Likewise.
21078 * gdb.guile/scm-section-script.exp: Likewise.
21079
ddb9f679
YQ
210802014-12-05 Yao Qi <yao@codesourcery.com>
21081
21082 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
21083
86e4ed39
DE
210842014-12-04 Doug Evans <dje@google.com>
21085
21086 * gdb.python/py-objfile.exp: Add tests for
21087 objfile.add_separate_debug_file.
21088
7c50a931
DE
210892014-12-04 Doug Evans <dje@google.com>
21090
21091 * lib/gdb.exp (get_build_id): New function.
21092 (build_id_debug_filename_get): Rewrite to use it.
21093 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
21094
621661e3
MR
210952014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
21096
21097 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
21098 `method(long)', not just 0x0.
21099 * gdb.cp/nsalias.exp: Align code labels to 4.
21100 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
21101 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
21102 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
21103 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
21104 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
21105 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
21106
29f0c3b7
DE
211072014-12-02 Doug Evans <dje@google.com>
21108
e1e061e7 21109 PR symtab/17602
29f0c3b7 21110 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 21111 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
21112 * gdb.cp/anon-ns.exp: Update.
21113
162078c8
NB
211142014-12-02 Nick Bull <nicholaspbull@gmail.com>
21115
21116 * gdb.python/py-events.py (inferior_call_handler): New.
21117 (register_changed_handler, memory_changed_handler): New.
21118 (test_events.invoke): Register new handlers.
21119 * gdb.python/py-events.exp: Add tests for inferior call,
21120 memory_changed and register_changed events.
21121
fdb09caf
AA
211222014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
21123
21124 * gdb.base/execl-update-breakpoints.exp: Specify the link address
21125 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
21126 if the linker doesn't understand this.
21127
55cfb2c4
SM
211282014-12-01 Simon Marchi <simon.marchi@ericsson.com>
21129
21130 * gdb.python/python.exp: Change expected reply to help().
21131
9e8cd6df
YQ
211322014-12-01 Yao Qi <yao@codesourcery.com>
21133
21134 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
21135 AC_CONFIG_SUBDIRS(gdb.gdbtk).
21136 * configure: Re-generated.
21137
6c659fc2
SC
211382014-11-28 Siva Chandra Reddy <sivachandra@google.com>
21139
21140 * gdb.cp/chained-calls.cc: New file.
21141 * gdb.cp/chained-calls.exp: New file.
21142 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
21143
d7fc3181
SM
211442014-11-28 Simon Marchi <simon.marchi@ericsson.com>
21145
21146 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
21147 * gdb.dwarf2/symtab-producer.exp: Same.
21148 * gdb.gdb/python-interrupts.exp: Same.
21149 * gdb.gdb/python-selftest.exp: Same.
21150 * gdb.python/py-linetable.exp: Same.
21151 * gdb.python/py-type.exp: Same.
21152 * gdb.python/py-value-cc.exp: Same.
21153 * gdb.python/py-value.exp: Same.
21154
10e79639
YQ
211552014-11-28 Yao Qi <yao@codesourcery.com>
21156
21157 * gdb.base/break-probes.exp: Match library name prefixed with
21158 sysroot.
21159
f28a0564
SM
211602014-11-27 Simon Marchi <simon.marchi@ericsson.com>
21161
21162 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
21163 test expected output. Add parentheses for the call to print.
21164 Remove L suffix from integers.
21165
3fe1ce1d
DE
211662014-11-26 Doug Evans <dje@google.com>
21167
21168 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
21169
84429e27
YQ
211702014-11-22 Yao Qi <yao@codesourcery.com>
21171
21172 * gdb.trace/entry-values.c: Remove asms.
21173 (foo): Add foo_label.
21174 (bar): Add bar_label.
21175 * gdb.trace/entry-values.exp: Remove code computing foo's
21176 length and bar's length.
21177 (Dwarf::assemble): Invoke function_range for bar and use
21178 MACRO_AT_func for foo.
21179
26741859
YQ
211802014-11-22 Yao Qi <yao@codesourcery.com>
21181
21182 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
21183 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
21184 Use .Lgcc43_procstart instead of gcc43.
21185
45e44d27
JB
211862014-11-21 Joel Brobecker <brobecker@adacore.com>
21187
21188 * gdb.ada/n_arr_bound: New testcase.
21189
458c8db8
SDJ
211902014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
21191
21192 PR breakpoints/10737
21193 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
21194 test_catch_syscall_multi_arch.
21195 (test_catch_syscall_multi_arch): New function.
21196
43f3e411
DE
211972014-11-20 Doug Evans <xdje42@gmail.com>
21198
21199 * gdb.base/maint.exp: Update expected output.
21200
0d7b2549
AA
212012014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
21202
21203 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
21204 4-byte instruction on S390.
21205
8908fca5
JB
212062014-11-19 Joel Brobecker <brobecker@adacore.com>
21207
21208 * gdb.ada/arr_arr: New testcase.
21209
4a46959e
JB
212102014-11-19 Joel Brobecker <brobecker@adacore.com>
21211
21212 * gdb.ada/pkd_arr_elem: New Testcase.
21213
470e2f4e
LM
212142014-11-18 Luis Machado <lgustavo@codesourcery.com>
21215
21216 * gdb.reverse/break-precsave: Expect completion message for
21217 core file reads.
21218 * gdb.reverse/consecutive-precsave.exp: Likewise.
21219 * gdb.reverse/finish-precsave.exp: Likewise.
21220 * gdb.reverse/i386-precsave.exp: Likewise.
21221 * gdb.reverse/machinestate-precsave.exp: Likewise.
21222 * gdb.reverse/sigall-precsave.exp: Likewise.
21223 * gdb.reverse/solib-precsave.exp: Likewise.
21224 * gdb.reverse/step-precsave.exp: Likewise.
21225 * gdb.reverse/until-precsave.exp: Likewise.
21226 * gdb.reverse/watch-precsave.exp: Likewise.
21227
a267f3ad
AA
212282014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21229
21230 * gdb.base/bp-permanent.c: Include unistd.h.
21231 * gdb.python/py-framefilter-mi.c (main): Add return type.
21232 * gdb.python/py-framefilter.c (main): Likewise.
21233 * gdb.trace/actions-changed.c (main): Likewise.
21234
12084a9a
AA
212352014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21236
21237 * gdb.mi/until.c: Add eye-catchers.
21238 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
21239 line numbers.
21240
dc7e1a77
AA
212412014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21242
21243 * gdb.base/condbreak.exp: Drop references to removed non-prototype
21244 function header variants in break1.c.
21245 * gdb.base/ena-dis-br.exp: Likewise.
21246 * gdb.base/hbreak2.exp: Likewise.
21247 * gdb.reverse/until-precsave.exp: Drop references to removed
21248 non-prototype function header variants in ur1.c.
21249 * gdb.reverse/until-reverse.exp: Likewise.
21250
41c77605
PM
212512014-11-17 Petr Machata <pmachata@redhat.com>
21252
21253 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
21254 ${_cu_offset_size} bytes abbrev offset.
21255
34248c3a
DE
212562014-11-15 Doug Evans <xdje42@gmail.com>
21257
21258 PR symtab/17559
21259 * gdb.base/line-symtabs.exp: New file.
21260 * gdb.base/line-symtabs.c: New file.
21261 * gdb.base/line-symtabs.h: New file.
21262
646da059
YQ
212632014-11-14 Yao Qi <yao@codesourcery.com>
21264
21265 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
21266 (func): Add label func_label.
21267 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
21268 Replace low_pc and high_pc with MACRO_AT_range.
21269 Replace name, low_pc and high_pc with MACRO_AT_func.
21270
9301ebe6
YQ
212712014-11-14 Yao Qi <yao@codesourcery.com>
21272
21273 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
21274 Replace name, low_pc and high_pc with MACRO_AT_func.
21275
f166b542
YQ
212762014-11-14 Yao Qi <yao@codesourcery.com>
21277
21278 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
21279 produce debug information.
21280 * gdb.dwarf2/implptr-optimized-out.S: Removed.
21281
0f6e71e3
YQ
212822014-11-14 Yao Qi <yao@codesourcery.com>
21283
21284 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
21285 object and get function length.
21286 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
21287 with MACRO_AT_func.
21288 (top-level): Replace gdb_compile and clean_restart with
21289 prepare_for_testing.
21290 * gdb.dwarf2/main.c (main): Add label main_label.
21291
876c4df9
YQ
212922014-11-14 Yao Qi <yao@codesourcery.com>
21293
21294 * lib/dwarf.exp (function_range): New procedure.
21295 (Dwarf::_handle_macro_at_func): New procedure.
21296 (Dwarf::_handle_macro_at_range): New procedure.
21297 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21298
02ad9cf1
YQ
212992014-11-14 Yao Qi <yao@codesourcery.com>
21300
21301 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21302 (_handle_attribute): New procedure.
21303
a59add0c
AA
213042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21305
21306 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21307 * gdb.base/call-sc.c (zed): Likewise.
21308 * gdb.base/checkpoint.c (main): Likewise.
21309 * gdb.base/dump.c (main): Likewise.
21310 * gdb.base/gcore.c (main): Likewise.
21311 * gdb.base/huge.c (main): Likewise.
21312 * gdb.base/multi-forks.c (main): Likewise.
21313 * gdb.base/pr10179-a.c (main): Likewise.
21314 * gdb.base/savedregs.c (main): Likewise.
21315 * gdb.base/sigaltstack.c (main): Likewise.
21316 * gdb.base/siginfo.c (main): Likewise.
21317 * gdb.base/structs.c (zed): Likewise.
21318 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21319 * gdb.mi/mi-syn-frame.c (main): Likewise.
21320 * gdb.mi/until.c (foo, main): Likewise.
21321 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21322 * gdb.base/solib-weak.c (foo): Declare.
21323 * gdb.base/attach-twice.c: Include stdio.h.
21324 * gdb.base/weaklib1.c: Likewise.
21325 * gdb.base/weaklib2.c: Likewise.
21326 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21327 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21328 unistd.h.
21329 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21330 * gdb.mi/mi-exit-code.c: Likewise.
21331 * gdb.base/break-interp-lib.c: Include string.h.
21332 * gdb.base/coremaker.c: Likewise.
21333 * gdb.base/testenv.c: Likewise.
21334 * gdb.python/py-finish-breakpoint.c: Likewise.
21335 * gdb.base/inferior-died.c: Include sys/wait.h.
21336 * gdb.base/fileio.c: Include time.h.
21337 * gdb.base/async-shell.c: Include unistd.h.
21338 * gdb.base/dprintf-non-stop.c: Likewise.
21339 * gdb.base/info-os.c: Likewise.
21340 * gdb.mi/mi-console.c: Likewise.
21341 * gdb.mi/watch-nonstop.c: Likewise.
21342 * gdb.python/py-events.c: Likewise.
21343 * gdb.base/async.c (baz): Move up before its invocation.
21344 * gdb.base/code_elim2.c (my_global_func): Likewise.
21345 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21346 * gdb.base/advance.c (func2): Likewise.
21347
3b5d5997
AA
213482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21349
21350 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21351 variant.
21352 * gdb.base/annota3.c: Likewise.
21353 * gdb.base/async.c: Likewise.
21354 * gdb.base/average.c: Likewise.
21355 * gdb.base/call-ar-st.c: Likewise.
21356 * gdb.base/call-rt-st.c: Likewise.
21357 * gdb.base/call-sc.c: Likewise.
21358 * gdb.base/call-strs.c: Likewise.
21359 * gdb.base/ending-run.c: Likewise.
21360 * gdb.base/execd-prog.c: Likewise.
21361 * gdb.base/exprs.c: Likewise.
21362 * gdb.base/foll-exec.c: Likewise.
21363 * gdb.base/foll-fork.c: Likewise.
21364 * gdb.base/foll-vfork.c: Likewise.
21365 * gdb.base/funcargs.c: Likewise.
21366 * gdb.base/gcore.c: Likewise.
21367 * gdb.base/jump.c: Likewise.
21368 * gdb.base/langs0.c: Likewise.
21369 * gdb.base/langs1.c: Likewise.
21370 * gdb.base/langs2.c: Likewise.
21371 * gdb.base/mips_pro.c: Likewise.
21372 * gdb.base/nodebug.c: Likewise.
21373 * gdb.base/opaque0.c: Likewise.
21374 * gdb.base/opaque1.c: Likewise.
21375 * gdb.base/recurse.c: Likewise.
21376 * gdb.base/run.c: Likewise.
21377 * gdb.base/scope0.c: Likewise.
21378 * gdb.base/scope1.c: Likewise.
21379 * gdb.base/setshow.c: Likewise.
21380 * gdb.base/setvar.c: Likewise.
21381 * gdb.base/shmain.c: Likewise.
21382 * gdb.base/shr1.c: Likewise.
21383 * gdb.base/shr2.c: Likewise.
21384 * gdb.base/sigall.c: Likewise.
21385 * gdb.base/signals.c: Likewise.
21386 * gdb.base/so-indr-cl.c: Likewise.
21387 * gdb.base/solib2.c: Likewise.
21388 * gdb.base/structs.c: Likewise.
21389 * gdb.base/sum.c: Likewise.
21390 * gdb.base/vforked-prog.c: Likewise.
21391 * gdb.base/watchpoint.c: Likewise.
21392 * gdb.reverse/shr2.c: Likewise.
21393 * gdb.reverse/until-reverse.c: Likewise.
21394 * gdb.reverse/ur1.c: Likewise.
21395 * gdb.reverse/watch-reverse.c: Likewise.
21396
066a77c5
AA
213972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21398
21399 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21400 variant.
21401 * gdb.base/sepdebug.exp: Drop references to removed code.
21402
4f204ea5
AA
214032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21404
21405 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21406 variant. Preserve original line numbering.
21407 * gdb.base/list1.c: Likewise.
21408
3b377a3a
AA
214092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21410
21411 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21412 variant.
21413 * gdb.base/break1.c: Likewise.
21414 * gdb.base/break.exp: Drop references to removed code.
21415
e444df73
AA
214162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21417
21418 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21419 variant.
21420
8008f2a7
AA
214212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21422
21423 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21424
a5a06887
AA
214252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21426
21427 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21428 logic into perform_all_tests() and invoke it with and without
21429 function header prototypes.
21430 (do_function_calls): Remove conditional XFAIL for PR 5318.
21431 (rerun_and_prepare): Remove duplicate code.
21432 (perform_all_tests): New. Main logic moved here.
21433
44dba9b9
AA
214342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21435
21436 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21437 code guarded by #ifdef NO_PROTOTYPES.
21438 (t_double_many_args): Likewise.
21439 (DEF_FUNC_MANY_ARGS_1): Likewise.
21440 (DEF_FUNC_VALUES_1): Likewise.
21441 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21442 guarded by #ifdef PROTOTYPES.
21443
d1fbcd56
AA
214442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21445
21446 * gdb.mi/mi-console.c: Add eye-catcher.
21447 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21448 instead of literal line number.
21449
b0e59b8f
AA
214502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21451
21452 * gdb.base/shr2.c: Add eye-catcher.
21453 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21454 line number.
21455
78f98cca
AA
214562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21457
21458 * gdb.base/jump.c: Add eye-catchers.
21459 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21460 numbers.
21461
58fa2af0
AA
214622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21463
21464 * gdb.base/execd-prog.c: Add eye-catchers.
21465 * gdb.base/foll-exec.c: Likewise.
21466 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21467 line numbers.
21468
04e5059b
AA
214692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21470
21471 * gdb.base/ending-run.c: Add eye-catchers.
21472 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21473 literal line numbers.
21474
dbfdb174
AA
214752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21476
21477 * gdb.base/call-rt-st.c: Add eye-catchers.
21478 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21479 literal line numbers.
21480
888a2ade
AA
214812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21482
21483 * gdb.base/call-ar-st.c: Add eye-catchers.
21484 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21485 literal line numbers.
21486
6acc2dde
AA
214872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21488
21489 * gdb.base/average.c: Add eye-catchers.
21490 * gdb.base/sum.c: Likewise.
21491 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21492 regexps dynamically.
21493
9ecfcd1d
AA
214942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21495
21496 * gdb.base/solib1.c: Add eye-catchers.
21497 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21498 literal line numbers.
21499
78708b7c
PA
215002014-11-12 Pedro Alves <palves@redhat.com>
21501
21502 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21503 leader has exited.
21504
af48d08f
PA
215052014-11-12 Pedro Alves <palves@redhat.com>
21506
21507 * gdb.arch/i386-bp_permanent.c: New file.
21508 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21509 (srcfile): Set to i386-bp_permanent.c.
21510 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21511 that stepi does not execute the 'leave' instruction, instead of
21512 testing it does execute.
21513 * gdb.base/bp-permanent.c: New file.
21514 * gdb.base/bp-permanent.exp: New file.
21515
af3768e9
DE
215162014-11-10 Doug Evans <xdje42@gmail.com>
21517
21518 PR symtab/17564
21519 * gdb.base/symtab-search-order.exp: New file.
21520 * gdb.base/symtab-search-order.c: New file.
21521 * gdb.base/symtab-search-order-1.c: New file.
21522 * gdb.base/symtab-search-order-shlib-1.c: New file.
21523
9de00a4a
PA
215242014-11-07 Pedro Alves <palves@redhat.com>
21525
21526 PR gdb/17511
21527 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21528 i?86-*-linux*.
21529
e0f52461
SC
215302014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21531
21532 PR c++/17494
21533 * gdb.cp/pr17494.cc: New file.
21534 * gdb.cp/pr17494.exp: New file.
21535
6ce8c980
YQ
215362014-11-02 Yao Qi <yao@codesourcery.com>
21537
21538 * gdb.python/python.exp: Get working directory and match the
21539 output of "set extended-prompt \\w " with it.
21540
02be9a71
DE
215412014-10-30 Doug Evans <dje@google.com>
21542
21543 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21544 in objfiles.
21545 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21546 in progspaces.
21547
3bdff46b
LM
215482014-10-30 Janis Johnson <janisjo@codesourcery.com>
21549
21550 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21551 * gdb.base/realname-expand.exp: Likewise.
21552 * gdb.linespec/macro-relative.exp: Likewise.
21553
ab917dfb
PA
215542014-10-29 Pedro Alves <palves@redhat.com>
21555
21556 PR gdb/17408
21557 * gdb.threads/schedlock.c (some_function): New function.
21558 (call_function): New global.
21559 (MAYBE_CALL_SOME_FUNCTION): New macro.
21560 (thread_function): Call it.
21561 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21562 and use it instead of a global counter. Adjust all callers.
21563 (get_current_thread): Use "find current thread" for test message
21564 here rather than having all callers pass down the same string.
21565 (goto_loop): New procedure, factored out from ...
21566 (my_continue): ... this.
21567 (step_ten_loops): Change parameter from test message to command to
21568 use. Adjust.
21569 (list_count): Delete global.
21570 (check_result): New procedure, factored out from duplicate top
21571 level code.
21572 (continue tests): Wrap in with_test_prefix.
21573 (test_step): New procedure, factored out from duplicate top level
21574 code.
21575 (top level): Test "step" in combination with all scheduler-locking
21576 modes. Test "next" in combination with all scheduler-locking
21577 modes, and in combination with stepping over a function call or
21578 not.
21579 * gdb.threads/next-bp-other-thread.c: New file.
21580 * gdb.threads/next-bp-other-thread.exp: New file.
21581
d3d4baed
PA
215822014-10-29 Pedro Alves <palves@redhat.com>
21583
21584 PR python/17372
21585 * gdb.python/python.exp: Test a multi-line command that spawns
21586 interactive Python.
21587 * gdb.base/multi-line-starts-subshell.exp: New file.
21588
563e8d85
YQ
215892014-10-29 Yao Qi <yao@codesourcery.com>
21590
21591 * gdb.base/fileio.exp: Make directories on host.
21592
0ea4d52e
YQ
215932014-10-29 Yao Qi <yao@codesourcery.com>
21594
21595 * gdb.base/fileio.c (test_write): Close the file.
21596
7f5ef605
PA
215972014-10-28 Pedro Alves <palves@redhat.com>
21598
21599 PR gdb/12623
21600 * gdb.base/sigstep.c (no_handler): New global.
21601 (main): If 'no_handler is true, set the signal handlers to
21602 SIG_IGN.
21603 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21604 with_sw_watch and no_handler parameters. Handle them.
21605 (top level) <stepping over handler when stopped at a breakpoint
21606 test>: Add a test axis for testing with a software watchpoint, and
21607 another for testing with the signal handler set to SIG_IGN.
21608 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21609 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21610
abbdbd03
PA
216112014-10-28 Pedro Alves <palves@redhat.com>
21612
21613 PR gdb/17511
21614 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21615 * gdb.base/sigstep.exp (other_handler_location): New global.
21616 (advance): Support stepping into the signal handler, and running
21617 commands while in the handler.
21618 (in_handler_map): New global.
21619 (top level): In the advance test, add combinations for getting
21620 into the handler with stepping commands, and for running commands
21621 in the handler. Add comment descripting the advancei tests.
21622
1df4399f
PA
216232014-10-28 Pedro Alves <palves@redhat.com>
21624
21625 * gdb.base/sigstep.exp: Use build_executable instead of
21626 prepare_for_testing.
21627 (top level): Move code that starts GDB, runs to main and creates a
21628 display to ...
21629 (restart): ... this new procedure.
21630 (top level): Move backtrace from signal handler test to ...
21631 (validate_backtrace): ... this new procedure.
21632 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21633 with_test_prefix. Always restart GDB.
21634 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21635 with_test_prefix. Always restart GDB. No need to delete
21636 breakpoints after the test.
21637 (test_skip_handler): Remove prefix parameter.
21638 (skip_over_handler, breakpoint_to_handler)
21639 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21640 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21641 restart GDB. No need to delete breakpoints after the test.
21642 (top level): Use foreach to call the test procedures with
21643 different commands.
21644
a5b6e449
PA
216452014-10-28 Pedro Alves <palves@redhat.com>
21646
21647 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21648 instead of GNATS numbers.
21649 * gdb.base/sigbpt.exp: Likewise.
21650 * gdb.base/siginfo.exp: Likewise.
21651 * gdb.base/sigstep.exp: Likewise.
21652
e5f8a7cc
PA
216532014-10-27 Pedro Alves <palves@redhat.com>
21654
21655 * gdb.base/sigstep.c (dummy): New global.
21656 (main): Issue a couple writes to the new global.
21657 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21658 procedures.
21659 (skip_over_handler): Use test_skip_handler.
21660 (top level): Call skip_over_handler for stepi and nexti too.
21661 (breakpoint_over_handler): Use test_skip_handler.
21662 (top level): Call breakpoint_over_handler for stepi and nexti too.
21663
763905a3
YQ
216642014-10-27 Yao Qi <yao@codesourcery.com>
21665
21666 * gdb.trace/tfile.c (adjust_function_address)
21667 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21668 function descriptor.
21669
6f259a23
DB
216702014-10-24 Don Breazeal <donb@codesourcery.com>
21671
21672 * gdb.base/foll-fork.exp (test_follow_fork,
21673 catch_fork_child_follow): Check for updated fork messages emitted
21674 from infrun.c.
21675 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21676 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21677 vfork_and_exec_child_follow_through_step): Check for updated vfork
21678 messages emitted from infrun.c.
21679
09dd9a69
PA
216802014-10-24 Pedro Alves <palves@redhat.com>
21681
21682 * gdb.base/corefile.exp: Remove references to ultrix.
21683 * gdb.base/interrupt.exp: Likewise.
21684 * gdb.base/whatis.exp: Likewise.
21685 * gdb.gdb/selftest.exp: Likewise.
21686 * gdb.threads/manythreads.exp: Likewise.
21687 * gdb.threads/print-threads.exp: Likewise.
21688 * gdb.threads/pthreads.exp:: Likewise.
21689 * gdb.threads/schedlock.exp: Likewise.
21690
3433cfa5
SC
216912014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21692
21693 * gdb.cp/non-trivial-retval.cc: Add a test case.
21694 * gdb.cp/non-trivial-retval.exp: Add a test.
21695
092f880b
YQ
216962014-10-20 Yao Qi <yao@codesourcery.com>
21697
21698 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21699 * gdb.python/py-objfile-script-gdb.py: New file.
21700 * gdb.python/py-objfile-script.exp: Update reference to
21701 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21702 of remote_download. Remove the dest file.
21703
acbdb7f3
YQ
217042014-10-20 Yao Qi <yao@codesourcery.com>
21705
21706 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21707 * gdb.base/step-line.exp: Likewise.
21708 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21709 * gdb.dwarf2/dw2-basic.exp: Likewise.
21710 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21711 * gdb.dwarf2/dw2-filename.exp: Likewise.
21712 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21713 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21714 * gdb.dwarf2/dw2-producer.exp: Likewise.
21715 * gdb.dwarf2/mac-fileno.exp: Likewise.
21716 * gdb.python/py-frame-args.exp: Likewise.
21717 * gdb.python/py-framefilter.exp: Likewise.
21718 * gdb.python/py-mi.exp: Likewise.
21719 * gdb.python/py-objfile-script.exp: Likewise
21720 * gdb.python/py-pp-integral.exp: Likewise.
21721 * gdb.python/py-pp-re-notag.exp: Likewise.
21722 * gdb.python/py-prettyprint.exp: Likewise.
21723 * gdb.python/py-section-script.exp: Likewise.
21724 * gdb.python/py-typeprint.exp: Likewise.
21725 * gdb.python/py-xmethods.exp: Likewise.
21726 * gdb.stabs/weird.exp: Likewise.
21727 * gdb.xml/tdesc-regs.exp: Likewise.
21728
bd286a29
KCY
217292014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21730
21731 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21732 (out_cu): Use addr_len for the size of addresses.
21733 (out_line): Likewise. Size DW_LNE_set_address instruction
21734 according to addr_len.
21735 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21736 (FUNC): Add START_INSNS to definition.
21737
673dc4a0
YQ
217382014-10-18 Yao Qi <yao@codesourcery.com>
21739
21740 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21741 gdb_has_argv0 return true.
21742 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21743 check [target_info exists noargs], check [gdb_has_argv0]
21744 instead.
21745 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21746 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21747 procedures.
21748
4ffbba72
DE
217492014-10-17 Doug Evans <dje@google.com>
21750
21751 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21752 event.
21753 * gdb.python/py-events.py: Add clear_objfiles event.
21754
d096d8c1
DE
217552014-10-17 Doug Evans <dje@google.com>
21756
21757 * gdb.python/py-objfile.exp: Test progspace attribute.
21758
a80db015
LM
217592014-10-17 Luis Machado <lgustavo@codesourcery.com>
21760
21761 * gdb.guile/scm-breakpoint.exp: Do not assume any
21762 directory separators when matching source file paths.
21763 * gdb.python/py-breakpoint.exp: Likewise.
21764 * gdb.reverse/break-precsave.exp: Likewise.
21765 * gdb.reverse/break-reverse.exp: Likewise.
21766 * gdb.reverse/consecutive-precsave.exp: Likewise.
21767 * gdb.reverse/finish-precsave.exp: Likewise.
21768 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21769 * gdb.reverse/finish-reverse.exp: Likewise.
21770 * gdb.reverse/i386-precsave.exp: Likewise.
21771 * gdb.reverse/i387-env-reverse.exp: Likewise.
21772 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21773 * gdb.reverse/machinestate-precsave.exp: Likewise.
21774 * gdb.reverse/machinestate.exp: Likewise.
21775 * gdb.reverse/sigall-precsave.exp: Likewise.
21776 * gdb.reverse/solib-precsave.exp: Likewise.
21777 * gdb.reverse/step-precsave.exp: Likewise.
21778 * gdb.reverse/until-precsave.exp: Likewise.
21779 * gdb.reverse/watch-precsave.exp: Likewise.
21780 * gdb.reverse/watch-reverse.exp: Likewise.
21781
b22089ab
YQ
217822014-10-17 Yao Qi <yao@codesourcery.com>
21783
21784 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21785 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21786
6c4486e6
PA
217872014-10-17 Pedro Alves <palves@redhat.com>
21788
21789 PR gdb/17471
21790 * gdb.base/bg-execution-repeat.c: New file.
21791 * gdb.base/bg-execution-repeat.exp: New file.
21792
0ff33695
PA
217932014-10-17 Pedro Alves <palves@redhat.com>
21794
21795 PR gdb/17300
21796 * gdb.base/continue-all-already-running.c: New file.
21797 * gdb.base/continue-all-already-running.exp: New file.
21798
6fdebc3d
PA
217992014-10-17 Pedro Alves <palves@redhat.com>
21800
21801 PR gdb/17472
21802 * gdb.base/annota-input-while-running.c: New file.
21803 * gdb.base/annota-input-while-running.exp: New file.
21804
32a8097b
PA
218052014-10-17 Pedro Alves <palves@redhat.com>
21806
21807 * gdb.base/callfuncs.exp: emove references to osf.
21808 * gdb.base/sigall.exp: Likewise.
21809 * gdb.gdb/selftest.exp: Likewise.
21810 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21811 * gdb.mi/non-stop.c: Likewise.
21812 * gdb.mi/pthreads.c: Likewise.
21813 * gdb.reverse/sigall-precsave.exp: Likewise.
21814 * gdb.reverse/sigall-reverse.exp: Likewise.
21815 * gdb.threads/pthreads.c: Likewise.
21816 * gdb.threads/pthreads.exp: Likewise.
21817
7a3517ff
YQ
218182014-10-17 Yao Qi <yao@codesourcery.com>
21819
21820 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21821 check 'target_info exists noargs'.
21822 (test_command_prompt_position): Likewise.
21823 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21824 Remove "set args".
21825 (progvar_simple_while_test): Likewise.
21826 (progvar_complex_if_while_test): Likewise.
21827 (if_while_breakpoint_command_test): Likewise.
21828 (infrun_breakpoint_command_test): Likewise.
21829 (breakpoint_command_test): Likewise.
21830 (watchpoint_command_test): Likewise.
21831 (bp_deleted_in_command_test): Likewise.
21832 (temporary_breakpoint_commands): Likewise.
21833
bb99c472
YQ
218342014-10-16 Yao Qi <yao@codesourcery.com>
21835
21836 * gdb.base/remotetimeout.exp: Remove noargs checking.
21837
7c16b83e
PA
218382014-10-15 Pedro Alves <palves@redhat.com>
21839
21840 PR breakpoints/9649
21841 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21842 * gdb.base/breakpoint-in-ro-region.exp
21843 (probe_target_hardware_step): New procedure.
21844 (top level): Probe hardware stepping and hardware breakpoint
21845 support. Test stepping through a read-only region, with both
21846 "breakpoint auto-hw" on and off and both "always-inserted" on and
21847 off.
21848
35a49624
IB
218492014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21850
21851 * gdb.dlang/demangle.exp: Update for demangling changes.
21852
2d1c107c
SC
218532014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21854
21855 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21856 * gdb.cp/non-trivial-retval.exp: Add new tests.
21857
778811d5
SC
218582014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21859
21860 PR c++/13403
21861 PR c++/15154
21862 * gdb.cp/non-trivial-retval.cc: New file.
21863 * gdb.cp/non-trivial-retval.exp: New file.
21864
10c5f0a8
YQ
218652014-10-15 Yao Qi <yao@codesourcery.com>
21866
21867 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21868 remote host.
21869
65d7b369
YQ
218702014-10-15 Yao Qi <yao@codesourcery.com>
21871
21872 * gdb.python/py-symbol.exp: Match file base name if host is
21873 remote, otherwise match file name with dir name.
21874 * gdb.python/py-symtab.exp: Likewise.
21875 * gdb.python/python.exp: Likewise.
21876
46dc1394
YQ
218772014-10-15 Yao Qi <yao@codesourcery.com>
21878
21879 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21880 pattern.
21881 * gdb.python/py-symtab.exp: Likewise.
21882 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21883 locationn.
21884
c40cc657
JB
218852014-10-14 Joel Brobecker <brobecker@adacore.com>
21886
21887 * gdb.ada/addr_arith: New testcase.
21888
2abf49e1
MR
218892014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21890
21891 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21892 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21893 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21894 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21895
f7088df3
SDJ
218962014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21897
21898 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21899 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21900 * gdb.arch/stap-eval-lang-ada.exp: New file.
21901
4dc06805
YQ
219022014-10-14 Yao Qi <yao@codesourcery.com>
21903
21904 * gdb.mi/mi-var-child.c (nothing1): New function.
21905 (nothing2): New function.
21906 (do_children_tests): Set function pointers by nothing1 and
21907 nothing2.
21908 * gdb.mi/mi-var-child.exp: Step over new added statements.
21909 Update test to match the new output.
21910 * gdb.mi/var-cmd.c (nothing1): New function.
21911 (nothing2): New function.
21912 (do_children_tests): Set function pointers by nothing1 and
21913 nothing2.
21914 * gdb.mi/mi-var-display.exp: Update test to match output.
21915 Step to the line specified by $line_dct_nothing.
21916 Increase the number of lines to step.
21917
46a93de2
YQ
219182014-10-14 Yao Qi <yao@codesourcery.com>
21919
21920 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21921 tests.
21922 * gdb.mi/mi2-var-child.exp: Likewise.
21923
14ea52ee
DE
219242014-10-13 Doug Evans <dje@google.com>
21925
21926 * gdb.python/py-objfile.exp: Change name of file name test.
21927
e5c6e92b
DE
219282014-10-13 Doug Evans <dje@google.com>
21929
21930 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21931 from the start of the CU.
21932
c780cc2f
JK
219332014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21934 Yao Qi <yao@codesourcery.com>
21935
21936 Fix "save breakpoints" for "catch" command.
21937 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21938 Remove -nonewline. Match also the added "main" line.
21939
99894e11
JK
219402014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21941
21942 Fix "save breakpoints" for "disable $bpnum" command.
21943 * gdb.base/save-bp.c (main): Add label.
21944 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21945
6e1ac5a3
JK
219462014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21947
21948 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21949
754dd2b0
YQ
219502014-10-11 Yao Qi <yao@codesourcery.com>
21951
21952 * gdb.server/server-kill.exp: Execute command
21953 "set remote trace-status-packet on" before "tstatus".
21954
f90183d7
YQ
219552014-10-11 Yao Qi <yao@codesourcery.com>
21956
21957 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21958 (main): Call getppid.
21959 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21960 and continue to it. Read variable "server_pid".
21961
bf40a607
YQ
219622014-10-11 Yao Qi <yao@codesourcery.com>
21963
21964 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21965
052ca370
YQ
219662014-10-11 Yao Qi <yao@codesourcery.com>
21967
21968 * gdb.threads/thread-find.exp: Don't execute command
21969 "info threads".
21970 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21971 * gdb.threads/linux-dp.exp: Don't check the condition
21972 $threads_created equals to zero.
21973
3831839c
PA
219742014-10-10 Pedro Alves <palves@redhat.com>
21975
21976 * gdb.base/bigcore.exp: Remove references to IRIX.
21977 * gdb.base/funcargs.exp: Likewise.
21978 * gdb.base/interrupt.exp: Likewise.
21979 * gdb.base/mips_pro.exp: Likewise.
21980 * gdb.base/nodebug.exp: Likewise.
21981 * gdb.base/setvar.exp: Likewise.
21982 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21983
8b9a549d
PA
219842014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21985 Pedro Alves <palves@redhat.com>
21986
21987 PR symtab/14466
21988 * gdb.base/vdso-warning.c: New file.
21989 * gdb.base/vdso-warning.exp: New file.
21990
d48ba5e8
DE
219912014-10-02 Doug Evans <dje@google.com>
21992
21993 * gdb.base/structs.c (main): Don't run forever.
21994
2278c276
PA
219952014-10-02 Pedro Alves <palves@redhat.com>
21996
21997 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21998 (top level) <stop threads 1, stop threads 2>: Use it.
21999
b57bacec
PA
220002014-10-02 Pedro Alves <palves@redhat.com>
22001
22002 * gdb.threads/break-while-running.exp (test): Add new
22003 'update_thread_list' argument. Skip "info threads" if false.
22004 (top level): Add new 'update_thread_list' axis.
22005
13fd3ff3
PA
220062014-10-02 Pedro Alves <palves@redhat.com>
22007
22008 PR breakpoints/17431
22009 * gdb.base/execl-update-breakpoints.c: New file.
22010 * gdb.base/execl-update-breakpoints.exp: New file.
22011
0fec99e8
PA
220122014-10-01 Pedro Alves <palves@redhat.com>
22013
22014 * gdb.base/breakpoint-in-ro-region.c: New file.
22015 * gdb.base/breakpoint-in-ro-region.exp: New file.
22016
2ddf4301
SM
220172014-10-01 Simon Marchi <simon.marchi@ericsson.com>
22018
22019 * gdb.mi/mi-exit-code.exp: New file.
22020 * gdb.mi/mi-exit-code.c: New file.
22021
6a5f3f43
YQ
220222014-09-30 Yao Qi <yao@codesourcery.com>
22023
22024 * lib/prelink-support.exp (build_executable_own_libs): Error if
22025 the target isn't native.
22026
345bcc73
YQ
220272014-09-30 Yao Qi <yao@codesourcery.com>
22028
22029 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
22030 false.
22031
a25a5a45
PA
220322014-09-22 Pedro Alves <palves@redhat.com>
22033
22034 * gdb.threads/break-while-running.exp: New file.
22035 * gdb.threads/break-while-running.c: New file.
22036
00ba3162
YQ
220372014-09-19 Yao Qi <yao@codesourcery.com>
22038
22039 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
22040 Invoke test. Restart GDB with --readnow and invoke test again.
22041
c3b7b696
YQ
220422014-09-19 Yao Qi <yao@codesourcery.com>
22043
22044 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
22045 proc set_breakpoint_on_gcd_function. Invoke
22046 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
22047 invoke set_breakpoint_on_gcd_function again.
22048
2b4fd423
DE
220492014-09-18 Doug Evans <dje@google.com>
22050
22051 * gdb.dwarf2/symtab-producer.exp: New file.
22052
a5947601
SDJ
220532014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
22054
22055 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
22056 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
22057 * gdb.base/global-var-nested-by-dso.c: Likewise.
22058 * gdb.base/global-var-nested-by-dso.exp: Likewise.
22059
91c19059
SDJ
220602014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
22061 Pedro Alves <palves@redhat.com>
22062
22063 * gdb.base/watch-bitfields.exp: Pass string other than test file
22064 name to prepare_for_testing.
22065 (watch): New procedure.
22066 (expect_watchpoint): Use with_test_prefix.
22067 (top level): Factor out tests to ...
22068 (test_watch_location, test_regular_watch): ... these new
22069 procedures, and use with_test_prefix and gdb_continue_to_end.
22070
bb9d5f81
PP
220712014-09-16 Patrick Palka <patrick@parcs.ath.cx>
22072
22073 PR breakpoints/12526
22074 * gdb.base/watch-bitfields.exp: New file.
22075 * gdb.base/watch-bitfields.c: New file.
22076
635856f5
PA
220772014-09-16 Pedro Alves <palves@redhat.com>
22078
22079 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
22080 software and hardware addresses, not software address against
22081 itself.
22082
7280ceea
PA
220832014-09-16 Pedro Alves <palves@redhat.com>
22084
22085 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
22086 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
22087
428b16bd
PA
220882014-09-16 Pedro Alves <palves@redhat.com>
22089
22090 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
22091 files.
22092 * gdb.base/a2-run.exp: Remove all code guarded by istarget
22093 "*-*-vxworks*" throughout.
22094 * gdb.base/break.exp: Likewise.
22095 * gdb.base/default.exp: Likewise.
22096 * gdb.base/scope.exp: Likewise.
22097 * gdb.base/sepdebug.exp: Likewise.
22098 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
22099 throughout.
22100 * gdb.base/run.c: Likewise.
22101 * gdb.base/sepdebug.c: Likewise.
22102 * gdb.hp/gdb.aCC/run.c: Likewise.
22103 * gdb.reverse/until-reverse.c: Likewise.
22104 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
22105
666d413c
YQ
221062014-09-16 Yao Qi <yao@codesourcery.com>
22107
22108 * boards/local-remote-host-native.exp: New file.
22109
57cbd724
DE
221102014-09-14 Doug Evans <xdje42@gmail.com>
22111
22112 * gdb.threads/queue-signal.c (thread_count): New variable.
22113 (thread_count_mutex, thread_count_condvar): New variables.
22114 (incr_thread_count, wait_all_threads_running): New functions.
22115 (main): Wait for all threads to be in their thread functions.
22116
81219e53
DE
221172014-09-13 Doug Evans <xdje42@gmail.com>
22118
22119 * gdb.threads/queue-signal.c: New file.
22120 * gdb.threads/queue-signal.exp: New file.
22121
3714cea7
DE
221222014-09-13 Doug Evans <xdje42@gmail.com>
22123
22124 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
22125 be consistent with what default_gdb_init uses.
22126 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
22127 the plain text of the prompt. Add some logging printfs.
22128 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
22129
fa43b1d7
PA
221302014-09-12 Pedro Alves <palves@redhat.com>
22131
22132 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
22133 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
22134 * gdb.arch/i386-size-overlap.exp: Likewise.
22135 * gdb.arch/i386-size.exp: Likewise.
22136 * gdb.arch/i386-unwind.exp: Likewise.
22137 * gdb.base/a2-run.exp: Likewise.
22138 * gdb.base/break.exp: Likewise.
22139 * gdb.base/charset.exp: Likewise.
22140 * gdb.base/chng-syms.exp: Likewise.
22141 * gdb.base/commands.exp: Likewise.
22142 * gdb.base/dbx.exp: Likewise.
22143 * gdb.base/find.exp: Likewise.
22144 * gdb.base/funcargs.exp: Likewise.
22145 * gdb.base/jit-simple.exp: Likewise.
22146 * gdb.base/reread.exp: Likewise.
22147 * gdb.base/sepdebug.exp: Likewise.
22148 * gdb.base/step-bt.exp: Likewise.
22149 * gdb.cp/mb-inline.exp: Likewise.
22150 * gdb.cp/mb-templates.exp: Likewise.
22151 * gdb.objc/basicclass.exp: Likewise.
22152 * gdb.threads/killed.exp: Likewise.
22153
9d9bf2df
EBM
221542014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22155
22156 PR tdep/17379
22157 * gdb.arch/powerpc-stackless.S: New file.
22158 * gdb.arch/powerpc-stackless.exp: New file.
22159
1cf2f1b0
JK
221602014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22161
22162 * gdb.base/attach.c: Include unistd.h.
22163 (main): Call alarm. Add label postloop.
22164 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
22165 gdb_breakpoint, gdb_continue_to_breakpoint.
22166 (test_command_line_attach_run): Kill ${testpid} in one exit path.
22167
98880d46
PA
221682014-09-11 Pedro Alves <palves@redhat.com>
22169
22170 PR gdb/17347
22171 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
22172 * gdb.base/attach.exp (test_command_line_attach_run): New
22173 procedure.
22174 (top level): Call it.
22175
4c92ff2c
PA
221762014-09-11 Pedro Alves <palves@redhat.com>
22177
22178 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
22179 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
22180 (do_command_attach_tests): Use spawn_wait_for_attach.
22181 * gdb.base/solib-overlap.exp: Likewise.
22182 * gdb.multi/multi-attach.exp: Likewise.
22183 * gdb.python/py-prompt.exp: Likewise.
22184 * gdb.python/py-sync-interp.exp: Likewise.
22185 * gdb.server/ext-attach.exp: Likewise.
22186
3adc1a7d
GKB
221872014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
22188
22189 * gdb.fortran/array-element.exp: Remove unexpected "continue"
22190 command in testcase. Simplify testcase.
22191
96334934
JB
221922014-09-10 Joel Brobecker <brobecker@adacore.com>
22193
22194 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
22195
eb479039
JB
221962014-09-10 Joel Brobecker <brobecker@adacore.com>
22197
22198 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
22199
deede10c
JB
222002014-09-10 Joel Brobecker <brobecker@adacore.com>
22201
22202 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
22203
7828a5f5
JB
222042014-09-10 Joel Brobecker <brobecker@adacore.com>
22205
22206 * gdb.dwarf2/dynarr-ptr.c: New file.
22207 * gdb.dwarf2/dynarr-ptr.exp: New file.
22208
33aeebcf
MR
222092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22210
22211 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
22212 of 30 rather than hardcoding 120 for a slow test case. Take the
22213 `gdb,timeout' target setting into account for this calculation.
22214 Don't extend the timeout for the test cases that don't need it.
22215
7b415901
MR
222162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22217
22218 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
22219 a factor of 2 for a slow test case. Take the `gdb,timeout'
22220 target setting into account for this calculation.
22221 * gdb.reverse/until-precsave.exp: Increase the timeout by
22222 a factor of 15 and 3 respectively rather than adding 120
22223 for a pair of slow test cases. Take the `gdb,timeout'
22224 target setting into account for this calculation.
22225
4a40f85a
MR
222262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22227
22228 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
22229 timeout, don't pass one down to gdb_expect.
22230 (gdb_expect): Rework timeout selection.
22231
09635af7
MR
222322014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22233
22234 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
22235 exception on timeout.
22236 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
22237 (gdbserver_start_extended): Catch any `gdbserver_start' error
22238 exceptions.
22239 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
22240 * lib/mi-support.exp (mi_gdb_target_load): Catch any
22241 `gdbserver_gdb_load' error exceptions.
22242
2bdd10b7
MR
222432014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22244
22245 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
22246 120 on waiting for the TCP socket to open.
22247
316935f0
DE
222482014-09-09 Doug Evans <xdje42@gmail.com>
22249
22250 * gdb.base/default.exp (show_conv_list): Add _caller_is,
22251 _caller_matches, _any_caller_is, _any_caller_matches.
22252
83740597
DE
222532014-09-09 Doug Evans <xdje42@gmail.com>
22254
22255 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
22256
4c122fc3
YQ
222572014-09-09 Yao Qi <yao@codesourcery.com>
22258
22259 * gdb.mi/mi-var-display.exp: Set print symbol off.
22260
a9f116cb
GKB
222612014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
22262
22263 PR gdb/17035
22264 * gdb.base/commands.exp: Add tests to verify user-defined
22265 commands with empty bodies.
22266 * gdb.python/py-cmd.exp: Test that we don't show user-defined
22267 python commands in `show user command`.
22268 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
22269 scheme commands in `show user command`.
22270
c75bd3a2
JK
222712014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22272
22273 PR python/17355
22274 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
22275 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
22276 * gdb.python/py-framefilter-invalidarg.exp: New file.
22277 * gdb.python/py-framefilter-invalidarg.py: New file.
22278
faa42425
DE
222792014-09-06 Doug Evans <xdje42@gmail.com>
22280
22281 PR 15276
22282 * gdb.python/py-caller-is.c: New file.
22283 * gdb.python/py-caller-is.exp: New file.
22284
474ca4f6
SDJ
222852014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
22286
22287 PR gdb/17235
22288 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
22289 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
22290
eb0b0463
SDJ
222912014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
22292
22293 PR fortran/17237
22294 * gdb.fortran/print-formatted.exp: New file.
22295 * gdb.fortran/print-formatted.f90: Likewise.
22296
5f3b99cf
SS
222972014-09-03 Sasha Smundak <asmundak@google.com>
22298
22299 * gdb.python/py-frame.exp: Test Frame.read_register.
22300
7d793aa9
SDJ
223012014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22302
22303 PR python/16699
22304 * gdb.python/py-completion.exp: New file.
22305 * gdb.python/py-completion.py: Likewise.
22306
fb0576e9
DE
223072014-08-28 Doug Evans <dje@google.com>
22308
22309 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22310 eax,etc. are live with values set by gdb and thus the compiler can't
22311 use them.
22312 * gdb.arch/i386-pseudo.c (main): Ditto.
22313
ee92b0dd
DE
223142014-08-27 Doug Evans <dje@google.com>
22315
22316 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22317
6649db35
DE
223182014-08-25 Doug Evans <dje@google.com>
22319
22320 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22321 (main): Ditto.
22322
564b7600
DE
223232014-08-25 Doug Evans <dje@google.com>
22324
22325 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22326
3881fb67
YQ
223272014-08-24 Yao Qi <yao@codesourcery.com>
22328
22329 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22330 symbol off.
22331 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22332
a05a36a5
DE
223332014-08-22 Doug Evans <dje@google.com>
22334
22335 PR 17276
22336 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22337 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22338 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22339
7c343b48
YQ
223402014-08-22 Yao Qi <yao@codesourcery.com>
22341
22342 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22343 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22344 * gdb.python/python.exp: Likewise. Use .py file on the host
22345 instead of the build.
22346
22fd09ae
JK
223472014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22348
22349 * gdb.threads/gcore-stale-thread.c: New file.
22350 * gdb.threads/gcore-stale-thread.exp: New file.
22351
a8454a7c
PA
223522014-08-21 Pedro Alves <palves@redhat.com>
22353
22354 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22355 * gdb.base/gcore-relro-pie.exp: Likewise.
22356 * gdb.base/gcore-relro.exp: Likewise.
22357 * gdb.base/gcore.exp: Likewise.
22358 * gdb.base/print-symbol-loading.exp: Likewise.
22359 * gdb.threads/gcore-thread.exp: Likewise.
22360 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22361
2a31c623
PA
223622014-08-20 Pedro Alves <palves@redhat.com>
22363 Jan Kratochvil <jan.kratochvil@redhat.com>
22364
22365 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22366 configure.
22367 (EXPECT): Handle READ1 being set.
22368 (all): Depend on EXTRA_RULES.
22369 (check-read1, expect-read1, read1.so, read1): New rules.
22370 * README (Testsuite Parameters): Document the READ1 make variable.
22371 (Race detection): New section.
22372 * configure: Regenerate.
22373 * configure.ac: If build==host==target, and running under a
22374 GNU/glibc system, add read1 to the extra Makefile rules.
22375 (EXTRA_RULES): AC_SUBST it.
22376 * lib/read1.c: New file.
22377
d36430db
JB
223782014-08-20 Joel Brobecker <brobecker@adacore.com>
22379
22380 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22381 the handling of variables declared as a typedef to an array
22382 which a DW_AT_data_location attribute.
22383
9a0dc9e3
PA
223842014-08-19 Andrew Burgess <aburgess@broadcom.com>
22385 Pedro Alves <palves@redhat.com>
22386
22387 PR symtab/14604
22388 PR symtab/14605
22389 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22390 gdb_test.
22391
0718a8da
PA
223922014-08-19 Pedro Alves <palves@redhat.com>
22393
22394 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22395
13b448cd
YQ
223962014-08-19 Yao Qi <yao@codesourcery.com>
22397
22398 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22399 right line.
22400
1cbf5077
DB
224012014-08-18 David Blaikie <dblaikie@gmail.com>
22402
22403 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22404
bf0fae19
JB
224052014-08-18 Joel Brobecker <brobecker@adacore.com>
22406
22407 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22408 attribute in array range.
22409
3c8c5dcc
JB
224102014-08-18 Joel Brobecker <brobecker@adacore.com>
22411
22412 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22413
e66d4446
SC
224142014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22415
22416 PR c++/17132
22417 * gdb.cp/pr17132.cc: New file.
22418 * gdb.cp/pr17132.exp: New file.
22419
940df408
SC
224202014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22421
22422 * gdb.python/py-xmethods.py (A_getarrayind)
22423 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22424 Use 'print' with function call syntax.
22425 (E_method_matcher.match): Fix tab vs space indentation mixup.
22426
ebcc6c3a
YQ
224272014-08-15 Yao Qi <yao@codesourcery.com>
22428
22429 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22430 false.
22431
775e0f04
YQ
224322014-08-15 Yao Qi <yao@codesourcery.com>
22433
22434 * gdb.cp/casts.exp: Set print symbol off.
22435 * gdb.cp/class2.exp: Likewise.
22436 * gdb.cp/overload.exp: Likewise.
22437 * gdb.cp/templates.exp: Likewise.
22438
d769e349
DE
224392014-08-11 Doug Evans <dje@google.com>
22440
22441 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22442 (test_load_shlib): Update.
22443
20c6f1e1
YQ
224442014-08-09 Yao Qi <yao@codesourcery.com>
22445
22446 * gdb.base/display.exp: Invoke is_address_zero_readable.
22447 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22448 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22449 * gdb.base/hbreak-unmapped.exp: Return if
22450 is_address_zero_readable returns true.
22451 * gdb.base/signest.exp: Likewise.
22452 * gdb.base/signull.exp: Likewise.
22453 * gdb.base/sigbpt.exp: Likewise.
22454 * gdb.guile/scm-disasm.exp: Do the test if
22455 is_address_zero_readable returns false.
22456 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22457 * gdb.python/py-arch.exp: Likewise.
22458 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22459 * lib/gdb.exp (is_address_zero_readable): New proc.
22460
5792e8e3
YQ
224612014-08-09 Yao Qi <yao@codesourcery.com>
22462
22463 PR testsuite/13443
22464 * gdb.mi/mi-var-display.exp: Make test messages unique.
22465
3cecbbbe
TT
224662014-08-04 Tom Tromey <tromey@redhat.com>
22467
22468 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22469 target 0".
22470
00b51ff5
TT
224712014-08-04 Tom Tromey <tromey@redhat.com>
22472
22473 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22474 "target_resume".
22475
6908c509
JB
224762014-08-01 Joel Brobecker <brobecker@adacore.com>
22477
22478 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22479 inner_vla_struct_object_size.
22480 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22481 as xfail.
22482
cc6563d2
PA
224832014-07-30 Pedro Alves <palves@redhat.com>
22484
22485 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22486 comment.
22487
7e09a223
YQ
224882014-07-29 Yao Qi <yao@codesourcery.com>
22489
22490 PR gdb/17206
22491 * gdb.base/until-nodebug.exp: New.
22492
7ebdbe92
DE
224932014-07-28 Doug Evans <xdje42@gmail.com>
22494
22495 PR guile/17203
22496 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22497 previously existing parameter, and previously ambiguously spelled
22498 parameter.
22499
fdb1adc6
WN
225002014-07-28 Will Newton <will.newton@linaro.org>
22501
22502 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22503
186fcde0
DE
225042014-07-26 Ludovic Courtès <ludo@gnu.org>
22505 Doug Evans <xdje42@gmail.com>
22506
22507 PR guile/17146
22508 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22509
70509625
PA
225102014-07-25 Pedro Alves <palves@redhat.com>
22511
22512 * gdb.threads/signal-command-handle-nopass.c: New file.
22513 * gdb.threads/signal-command-handle-nopass.exp: New file.
22514 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22515 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22516 * gdb.threads/signal-delivered-right-thread.c: New file.
22517 * gdb.threads/signal-delivered-right-thread.exp: New file.
22518
c3f814a1
PA
225192014-07-25 Pedro Alves <palves@redhat.com>
22520
22521 * gdb.base/double-prompt-target-event-error.exp
22522 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22523 match.
22524 (cancel_pagination_in_target_event): Rework double prompt
22525 detection.
22526 * gdb.base/paginate-after-ctrl-c-running.exp
22527 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22528 <return>' match.
22529 * gdb.base/paginate-bg-execution.exp
22530 (test_bg_execution_pagination_return)
22531 (test_bg_execution_pagination_cancel): Remove '-notransfer
22532 <return>' matches.
22533 * gdb.base/paginate-execution-startup.exp
22534 (test_fg_execution_pagination_return)
22535 (test_fg_execution_pagination_cancel): Remove '-notransfer
22536 <return>' matches.
22537 * gdb.base/paginate-inferior-exit.exp
22538 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22539 match.
22540 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22541 * lib/gdb.exp (pagination_prompt): Run text through
22542 string_to_regexp.
22543 (gdb_test_multiple): Match $pagination_prompt instead of
22544 "<return>".
22545 (string_to_regexp): Move to lib/gdb-utils.exp.
22546
e214cf6c
JK
225472014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22548
22549 * gdb.arch/amd64-entry-value-paramref.S: New file.
22550 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22551 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22552 * gdb.arch/amd64-optimout-repeat.S: New file.
22553 * gdb.arch/amd64-optimout-repeat.c: New file.
22554 * gdb.arch/amd64-optimout-repeat.exp: New file.
22555
17d0c5c8
JK
225562014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22557
22558 PR gdb/17170
22559 * gdb.base/statistics.exp: New file.
22560
b8b8facf
DE
225612014-07-17 Doug Evans <dje@google.com>
22562
74b49205 22563 PR gdb/17170
b8b8facf
DE
22564 * gdb.base/maint.exp: Update testing of per-command stats.
22565
1b5d0ab3
PA
225662014-07-16 Pedro Alves <palves@redhat.com>
22567
22568 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22569 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22570 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22571 (tfile_write_buf): New functions.
22572 (add_memory_block): Rewrite using the above.
22573 (adjust_function_address): New function.
22574 (FUNCTION_ADDRESS): New macro.
22575 (write_basic_trace_file): Remove short_x local, and use
22576 tfile_write_16. Change type of func_addr local to unsigned long
22577 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22578 here. Cast argument of add_memory_block to char pointer.
22579 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22580 (main): Remove parameters.
22581 * gdb.trace/tfile.exp: Remove nowarnings.
22582
4d974e88
SM
225832014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22584
22585 * gdb.base/debug-expr.exp: Test string evaluation with
22586 "debug expression" on.
22587
41e99568
PA
225882014-07-15 Pedro Alves <palves@redhat.com>
22589
22590 * gdb.base/reread.exp: Use clean_restart.
22591
487d9753
PL
225922014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22593
22594 * gdb.arch/avr-flash-qualifer.c: New.
22595 * gdb.arch/avr-flash-qualifer.exp: New.
22596
cc1c52ad
PA
225972014-07-14 Pedro Alves <palves@redhat.com>
22598
22599 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22600 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22601
1e973570
PA
226022014-07-14 Pedro Alves <palves@redhat.com>
22603
22604 * gdb.base/double-prompt-target-event-error.c: New file.
22605 * gdb.base/double-prompt-target-event-error.exp: New file.
22606
93d6eb10
PA
226072014-07-14 Pedro Alves <palves@redhat.com>
22608
22609 PR gdb/17072
22610 * gdb.base/paginate-inferior-exit.c: New file.
22611 * gdb.base/paginate-inferior-exit.exp: New file.
22612
0017922d
PA
226132014-07-14 Pedro Alves <palves@redhat.com>
22614
22615 PR gdb/17072
22616 * gdb.base/paginate-bg-execution.c: New file.
22617 * gdb.base/paginate-bg-execution.exp: New file.
22618
94696ad3
PA
226192014-07-14 Pedro Alves <palves@redhat.com>
22620
22621 PR gdb/17072
22622 * gdb.base/paginate-execution-startup.c: New file.
22623 * gdb.base/paginate-execution-startup.exp: New file.
22624 * lib/gdb.exp (pagination_prompt): New global.
22625 (default_gdb_spawn): New procedure, factored out from
22626 default_gdb_spawn.
22627 (default_gdb_start): Adjust to call default_gdb_spawn.
22628 (gdb_spawn): New procedure.
22629
bd293940
PA
226302014-07-14 Pedro Alves <palves@redhat.com>
22631
22632 * lib/gdb.exp (gdb_assert): New procedure.
22633 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22634
c933f875
PA
226352014-07-14 Pedro Alves <palves@redhat.com>
22636
22637 * gdb.base/execution-termios.c: New file.
22638 * gdb.base/execution-termios.exp: New file.
22639
d98b7a16
TT
226402014-07-14 Tom Tromey <tromey@redhat.com>
22641
22642 * gdb.cp/vla-cxx.cc: New file.
22643 * gdb.cp/vla-cxx.exp: New file.
22644
548740d6
TT
226452014-07-14 Tom Tromey <tromey@redhat.com>
22646
22647 * gdb.reverse/rerun-prec.c: New file.
22648 * gdb.reverse/rerun-prec.exp: New file.
22649
a25eb028
MR
226502014-07-12 Maciej W. Rozycki <macro@mips.com>
22651 Maciej W. Rozycki <macro@codesourcery.com>
22652
22653 * lib/gdb-utils.exp: New file.
22654 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22655 inline `gdb_init_command' processing.
22656 (gdb_start_cmd): Likewise.
22657 * lib/mi-support.exp (mi_run_cmd): Likewise.
22658 * README: Document `gdb_init_command' and `gdb_init_commands'.
22659
218c2655
JK
226602014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22661
22662 Fix false FAIL running under a very long directory name.
22663 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22664 and "set print elements 10000". Twice.
22665
5401fde3
YQ
226662014-07-11 Yao Qi <yao@codesourcery.com>
22667
22668 * gdb.base/exprs.exp: "set print symbol off".
22669
e76126e8
PA
226702014-07-11 Pedro Alves <palves@redhat.com>
22671
22672 * gdb.threads/kill.c: New file.
22673 * gdb.threads/kill.exp: New file.
22674
2d6f0de6
YQ
226752014-07-10 Yao Qi <yao@codesourcery.com>
22676
22677 * gdb.trace/tfile.c (write_basic_trace_file)
22678 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22679 address written to trace file.
22680
7180e04a
PA
226812014-07-09 Pedro Alves <palves@redhat.com>
22682
22683 * gdb.base/attach-wait-input.exp: New file.
22684 * gdb.base/attach-wait-input.c: New file.
22685
9a9a7608
AB
226862014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22687
22688 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22689 setting up test structures.
22690 (main): Call new test function.
22691 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22692 test function, continue into test function and walk test
22693 structures.
22694
161ac41e
YQ
226952014-07-02 Yao Qi <yao@codesourcery.com>
22696
22697 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22698 'bar_start' at the beginning of functions 'foo' and 'bar'
22699 respectively.
22700 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22701 instead of 'foo' and 'bar'.
22702
1f267ae3
MM
227032014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22704
22705 * gdb.btrace/segv.exp: New.
22706 * gdb.btrace/segv.c: New.
22707
2b239efb
LM
227082014-07-02 Luis Machado <lgustavo@codesourcery.com>
22709
22710 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22711 instruction.
22712
cf363f18
MW
227132014-06-30 Mark Wielaard <mjw@redhat.com>
22714
22715 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22716 vulture, vilify, villar): New volatile array constants.
22717 (vindictive, vegetation): New const volatile array constants.
22718 * gdb.base/volatile.exp: Test volatile and const volatile array
22719 types.
22720
aebf9d24
AA
227212014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22722
22723 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22724 target lacks support for awatch, rwatch, or hbreak.
22725
b67a2c6f
YQ
227262014-06-27 Yao Qi <yao@codesourcery.com>
22727
22728 * gdb.multi/dummy-frame-restore.exp: New.
22729 * gdb.multi/dummy-frame-restore.c: New.
22730
aef92902
MM
227312014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22732
22733 * gdb.btrace/gcore.exp: New.
22734
8e9db26e
PA
227352014-06-23 Pedro Alves <palves@redhat.com>
22736
22737 * gdb.base/watchpoint-reuse-slot.c: New file.
22738 * gdb.base/watchpoint-reuse-slot.exp: New file.
22739
70afc5b7
SC
227402014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22741
22742 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22743 progspace's filename in 'info', 'enable' and 'disable' command
22744 tests.
22745
b972bd9c
JK
227462014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22747
22748 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22749 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22750 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22751
125f8a3d
GB
227522014-06-20 Gary Benson <gbenson@redhat.com>
22753
22754 * gdb.arch/i386-avx.exp: Fix include file location.
22755 * gdb.arch/i386-sse.exp: Likewise.
22756
3ed9baed
IB
227572014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22758
22759 * gdb.dlang/expression.exp: New file.
22760
034f788c
PA
227612014-06-19 Pedro Alves <palves@redhat.com>
22762
22763 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22764 out from ...
22765 (top level): ... here. Iterate running tests under different
22766 scheduler-locking settings.
22767
45371d0c
LM
227682014-06-18 Luis Machado <lgustavo@codesourcery.com>
22769
22770 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22771 to DW_FORM_addr and use non-zero addresses.
22772
5d376983
SC
227732014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22774
22775 PR gdb/17017
22776 * gdb.python/py-xmethods.cc: Add global function call counters and
22777 increment them in their respective functions. Remove "cout"
22778 statements.
22779 * gdb.python/py-xmethods.exp: Make tests check the global function
22780 call counters instead of depending on inferior IO.
22781
a1aa2221
LM
227822014-06-18 Don Breazeal <donb@codesourcery.com>
22783
22784 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22785 Deleted procedure.
22786 (explicit_fork_parent_follow): Deleted procedure.
22787 (explicit_fork_child_follow): Deleted procedure.
22788 (test_follow_fork): New procedure.
22789 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22790 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22791 procedure calls.
22792
0fc05997
YQ
227932014-06-17 Yao Qi <yao@codesourcery.com>
22794
22795 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22796 CP1252.
22797
70795c52
LM
227982014-06-17 Luis Machado <lgustavo@codesourcery.com>
22799
22800 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22801 Initialize ptr and S explicitly.
22802 (skip_type_update_when_not_use_rtti_test): Likewise.
22803
6be47f0c
KS
228042014-06-16 Keith Seitz <keiths@redhat.com>
22805
22806 PR mi/15863
22807 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22808 the inferior is started.
22809
d03de421
PA
228102014-06-16 Pedro Alves <palves@redhat.com>
22811
22812 * gdb.base/break-main-file-remove-fail.c: New file.
22813 * gdb.base/break-main-file-remove-fail.exp: New file.
22814 * gdb.base/break-unload-file.exp: Use build_executable instead of
22815 prepare_for_testing.
22816 (test_break): New parameter "initial_load". Handle it.
22817 (top level): Add initial_load cmdline/file axis.
22818
f9579b99
TT
228192014-06-12 Tom Tromey <tromey@redhat.com>
22820
22821 * gdb.base/completion.exp: Don't use directory name in test.
22822
3657956b
GB
228232014-06-09 Gary Benson <gbenson@redhat.com>
22824
22825 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22826 separate the always-available ANSI-standard signals from the
22827 signals that require checking.
22828 (main): Likewise.
22829 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22830 Likewise.
22831 (main): Likewise.
22832
4186eb54
KS
228332014-06-07 Keith Seitz <keiths@redhat.com>
22834
22835 Revert:
22836 PR c++/16253
22837 * gdb.cp/var-tag.cc: New file.
22838 * gdb.cp/var-tag.exp: New file.
22839 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22840 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22841 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22842 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22843
25326a28 228442014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22845
22846 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22847
829155c9
PA
228482014-06-06 Pedro Alves <palves@redhat.com>
22849
22850 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22851 in target debug output instead of looking at RSP packets,
22852 disabling the test on any target that uses hardware stepping.
22853 Update comments.
22854
61c8d22e
PA
228552014-06-06 Pedro Alves <palves@redhat.com>
22856
22857 * gdb.base/break-unload-file.exp: Fix typo.
22858
d9a47287
YQ
228592014-06-06 Yao Qi <yao@codesourcery.com>
22860
22861 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22862 from "jit_function" to "^jit_function".
22863
e5e01dbf
YQ
228642014-06-06 Yao Qi <yao@codesourcery.com>
22865
22866 * gdb.base/async.c (foo): Add one statement.
22867 * gdb.base/async.exp: Get the next instruction address and
22868 match the output of "nexti" by instruction address. Match
22869 the hex address in the output of "finish".
22870
73ba372c
GB
228712014-06-06 Gary Benson <gbenson@redhat.com>
22872
22873 * gdb.base/call-signals.c: Remove preprocessor conditionals
22874 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22875 SIGSEGV and SIGTERM.
22876 * gdb.base/sigall.c: Likewise.
22877 * gdb.base/unwindonsignal.c: Likewise.
22878 * gdb.reverse/sigall-reverse.c: Likewise.
22879
831517df
YQ
228802014-06-06 Yao Qi <yao@codesourcery.com>
22881
22882 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22883 readable, skip the test.
22884
b8b91e98
YQ
228852014-06-06 Yao Qi <yao@codesourcery.com>
22886
22887 * gdb.threads/staticthreads.c (thread_function): Move the line
22888 setting breakpoint on forward.
22889 * gdb.threads/staticthreads.exp: Update comments.
22890
fb934770
LC
228912014-06-05 Ludovic Courtès <ludo@gnu.org>
22892
22893 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22894 "history-append! type error".
22895
6ef284bd
SM
228962014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22897
22898 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22899 erroneous dprintf expected input.
22900
a872e241
DE
229012014-06-04 Doug Evans <xdje42@gmail.com>
22902
22903 * gdb.guile/scm-generics.exp: Delete.
22904
16f691fb
DE
229052014-06-04 Doug Evans <xdje42@gmail.com>
22906
22907 * gdb.guile/scm-breakpoint.exp: Update.
22908 Add tests for breakpoint registration.
22909
012370f6
TT
229102014-06-04 Tom Tromey <tromey@redhat.com>
22911
22912 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22913 VLA-in-union.
22914 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22915 inner_vla_struct, vla_union types. Initialize objects of those
22916 types and compute their sizes.
22917
9f5a4cef
HZ
229182014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22919 Hui Zhu <hui@codesourcery.com>
22920
22921 * gdb.base/fileio.exp: Add test for shell not available as well as
22922 available.
22923 * gdb.base/fileio.c (test_system): Check for shell twice.
22924
90a45c4d
YQ
229252014-06-04 Yao Qi <yao@codesourcery.com>
22926
22927 * gdb.base/auto-connect-native-target.exp: Remove redundant
22928 space from the regexp pattern.
22929
70017e41
YQ
229302014-06-04 Yao Qi <yao@codesourcery.com>
22931
22932 * gdb.base/default.exp: Replace "child" with "native" in
22933 regexp pattern.
22934
883964a7
SC
229352014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22936
22937 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22938 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22939 * gdb.python/py-xmethods.py: Python script supporting the
22940 new testcase and tests.
22941
ef370185
JB
229422014-06-03 Joel Brobecker <brobecker@adacore.com>
22943 Pedro Alves <palves@redhat.com>
22944
22945 PR breakpoints/17000
22946 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22947 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22948
1e2ccb61
BM
229492014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22950
22951 * gdb.base/subst.exp: Add tests to verify partial path matching
22952 output.
22953
c6ec5ab2
PA
229542014-06-03 Pedro Alves <palves@redhat.com>
22955
22956 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22957 target that doesn't use software single-stepping.
22958
835c559f
PA
229592014-06-03 Pedro Alves <palves@redhat.com>
22960
22961 PR breakpoints/17000
22962 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22963 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22964
06eb1586
DE
229652014-06-02 Doug Evans <xdje42@gmail.com>
22966
22967 * gdb.guile/scm-parameter.exp: New file.
22968
e698b8c4
DE
229692014-06-02 Doug Evans <xdje42@gmail.com>
22970
22971 * gdb.guile/scm-cmd.c: New file.
22972 * gdb.guile/scm-cmd.exp: New file.
22973
ded03782
DE
229742014-06-02 Doug Evans <xdje42@gmail.com>
22975
22976 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22977 pretty-printer lookup.
22978 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22979 (make-pp_s-printer): Call it.
22980 (make-pretty-printer-from-dict): New function.
22981 (lookup-pretty-printer-maker-from-dict): New function.
22982 (*pretty-printer*): Simplify.
22983 (make-objfile-pp_s-printer): New function.
22984 (install-objfile-pretty-printers!): New function.
22985 (make-progspace-pp_s-printer): New function.
22986 (install-progspace-pretty-printers!): New function.
22987 * gdb.guile/scm-progspace.c: New file.
22988 * gdb.guile/scm-progspace.exp: New file.
22989
41fac0cf
PA
229902014-06-02 Pedro Alves <palves@redhat.com>
22991
22992 * gdb.base/dprintf-bp-same-addr.c: New file.
22993 * gdb.base/dprintf-bp-same-addr.exp: New file.
22994
96ae5695
EBM
229952014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22996
22997 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22998 * gdb.arch/powerpc-power.s: Likewise.
22999
da02b3a8
JB
230002014-06-02 Joel Brobecker <brobecker@adacore.com>
23001
23002 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
23003
c72b2e7b
YQ
230042014-06-01 Yao Qi <yao@codesourcery.com>
23005
23006 * gdb.base/watchpoint.exp (test_watch_location): Check null
23007 pointer can be dereferenced. If not, do the test, otherwise
23008 skip it.
23009
53e8a631
AB
230102014-05-30 Andrew Burgess <aburgess@broadcom.com>
23011
23012 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
23013 results.
23014 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
23015
938f0e2f
AB
230162014-05-30 Andrew Burgess <aburgess@broadcom.com>
23017
23018 * gdb.arch/amd64-invalid-stack-middle.S: New file.
23019 * gdb.arch/amd64-invalid-stack-middle.c: New file.
23020 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
23021 * gdb.arch/amd64-invalid-stack-top.c: New file.
23022 * gdb.arch/amd64-invalid-stack-top.exp: New file.
23023
9ba6657a
PA
230242014-05-30 Pedro Alves <palves@redhat.com>
23025
23026 PR breakpoints/17000
23027 * gdb.base/sss-bp-on-user-bp.c: New file.
23028 * gdb.base/sss-bp-on-user-bp.exp: New file.
23029
522c09bf
DB
230302014-05-30 David Blaikie <dblaikie@gmail.com>
23031
23032 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
23033 gnu_inline semantics via attribute.
23034 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
23035 source explicitly specifies the required semantics.
23036
bf4ef81e
MR
230372014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
23038
23039 * gdb.reverse/sigall-reverse.exp: Fix a typo.
23040
329ea579
PA
230412014-05-29 Pedro Alves <palves@redhat.com>
23042 Tom Tromey <tromey@redhat.com>
23043
23044 * gdb.base/async-shell.exp: Don't enable target-async.
23045 * gdb.base/async.exp
23046 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
23047 parameter. Adjust.
23048 (top level): Don't test with "target-async".
23049 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
23050 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
23051 * gdb.base/inferior-died.exp: Don't enable target-async.
23052 * gdb.base/interrupt-noterm.exp: Likewise.
23053 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
23054 * gdb.mi/mi-nonstop-exit.exp: Likewise.
23055 * gdb.mi/mi-nonstop.exp: Likewise.
23056 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
23057 * gdb.mi/mi-nsintrall.exp: Likewise.
23058 * gdb.mi/mi-nsmoribund.exp: Likewise.
23059 * gdb.mi/mi-nsthrexec.exp: Likewise.
23060 * gdb.mi/mi-watch-nonstop.exp: Likewise.
23061 * gdb.multi/watchpoint-multi.exp: Adjust comment.
23062 * gdb.python/py-evsignal.exp: Don't enable target-async.
23063 * gdb.python/py-evthreads.exp: Likewise.
23064 * gdb.python/py-prompt.exp: Likewise.
23065 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
23066 * gdb.server/solib-list.exp: Don't enable target-async.
23067 * gdb.threads/thread-specific-bp.exp: Likewise.
23068 * lib/mi-support.exp: Adjust to use mi-async.
23069
fd664c91
PA
230702014-05-29 Pedro Alves <palves@redhat.com>
23071
23072 PR gdb/13860
23073 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
23074 reason, even in sync mode.
23075
251bde03
PA
230762014-05-29 Pedro Alves <palves@redhat.com>
23077 Hui Zhu <hui@codesourcery.com>
23078
23079 PR PR15693
23080 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
23081 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
23082 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
23083 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
23084
7f3c0343
JB
230852014-05-28 Joel Brobecker <brobecker@adacore.com>
23086
23087 * config/monitor.exp (gdb_target_monitor): Replace use of
23088 "set remotebaud" by "set serial baud".
23089
b2715b27
AW
230902014-05-26 Andy Wingo <wingo@igalia.com>
23091
23092 * gdb.guile/scm-breakpoint.exp:
23093 * gdb.guile/scm-gsmob.exp: Update to use plain old object
23094 properties instead of gdb-object-properties.
23095
498a4489
YQ
230962014-05-26 Yao Qi <yao@codesourcery.com>
23097
23098 * gdb.server/no-thread-db.exp: Specify source file name
23099 explicitly when setting a breakpoint.
23100
589fdceb
MM
231012014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23102
23103 * gdb.btrace/vdso.c: New.
23104 * gdb.btrace/vdso.exp: New.
23105
e9089e05
MM
231062014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23107
23108 * gdb.base/gcore.exp (capture_command_output): Move ...
23109 * lib/gdb.exp (capture_command_output): ... here.
23110
67b5c0c1
MM
231112014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23112
23113 * gdb.btrace/data.exp: Test memory access during btrace replay.
23114
a2199296
SM
231152014-05-22 Simon Marchi <simon.marchi@ericsson.com>
23116
23117 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
23118
17b2616c
PA
231192014-05-21 Pedro Alves <palves@redhat.com>
23120
23121 PR gdb/13860
23122 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
23123 (top level): Test that output related to execution commands is
23124 sent to the console with CLI commands, but not with MI commands.
23125 Test that breakpoint events are always mirrored to the console.
23126 Also expect the new source line to be output after a "next" in
23127 async mode too. Make it a pass/fail test.
23128 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
23129 output.
23130 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
23131
5166082f
PA
231322014-05-21 Pedro Alves <palves@redhat.com>
23133
23134 * gdb.base/list.exp (build_pattern, test_list): New procedures.
23135 Use them to test variations of "list" after reaching a breakpoint.
23136 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
23137 Test "list" with listsize 10 after reaching a breakpoint.
23138 * gdb.python/python.exp (decode_line current location line
23139 number): Adjust expected line number.
23140
2f25d70f
SM
231412014-05-21 Simon Marchi <simon.marchi@ericsson.com>
23142
23143 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
23144 behavior for $args, pass it directly to "run".
23145
ff604a67
MR
231462014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
23147
23148 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
23149 30000 to 65536.
23150
6a3cb8e8
PA
231512014-05-21 Pedro Alves <palves@redhat.com>
23152
23153 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
23154 auto-connect-native-target off".
23155 * gdb.base/auto-connect-native-target.c: New file.
23156 * gdb.base/auto-connect-native-target.exp: New file.
23157
4ebfc96e
PA
231582014-05-21 Pedro Alves <palves@redhat.com>
23159
23160 * gdb.base/default.exp: Test "target native" instead of "target
23161 child".
23162
36d46afb
MW
231632014-05-21 Mark Wielaard <mjw@redhat.com>
23164
23165 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
23166
5876f503
JK
231672014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
23168
23169 Fix TLS access for -static -pthread.
23170 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
23171 <HAVE_TLS> (thread_function, main): Initialize it.
23172 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
23173 Add clean_restart.
23174 <$have_tls != "">: Check TLSVAR.
23175
0256a6ac
PA
231762014-05-21 Pedro Alves <palves@redhat.com>
23177
23178 * gdb.base/dcache-line-read-error.c: New.
23179 * gdb.base/dcache-line-read-error.exp: New.
23180
936d2992
PA
231812014-05-20 Pedro Alves <palves@redhat.com>
23182
23183 * gdb.base/compare-sections.c: New file.
23184 * gdb.base/compare-sections.exp: New file.
23185
802e8e6d
PA
231862014-05-20 Pedro Alves <palves@redhat.com>
23187
23188 * gdb.base/break-idempotent.c: New file.
23189 * gdb.base/break-idempotent.exp: New file.
23190
e59fa00f
MM
231912014-05-20 Markus Metzger <markus.t.metzger@intel.com>
23192
23193 * gdb.btrace/nohist.exp: New.
23194
8b696e31
YQ
231952014-05-20 Yao Qi <yao@codesourcery.com>
23196
23197 * lib/gdb.exp (gdb_init): Set timeout if test file is under
23198 gdb.reverse directory and gdb_reverse_timeout exists in board
23199 setting.
23200 * README: Document gdb_reverse_timeout.
23201
73c9764f
YQ
232022014-05-20 Yao Qi <yao@codesourcery.com>
23203
23204 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
23205 'test_file_name'. Treat args as a string instead of a list.
23206 (gdb_init): Rename argument 'args' by 'test_file_name'.
23207
f1f4348a
JK
232082014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
23209
23210 * gdb.arch/powerpc-power.exp: New file.
23211 * gdb.arch/powerpc-power.s: New file.
23212
0dbe70ce
DE
232132014-05-16 Doug Evans <dje@google.com>
23214
23215 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
23216 * gdb.base/completion.exp: Check that all expected files exist
23217 before doing file completion.
0dbe70ce 23218
8d551b02
DE
232192014-05-16 Doug Evans <dje@google.com>
23220
23221 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
23222 Update.
23223 (do_syscall_tests_without_xml): Update.
23224
73eb7709
PA
232252014-05-16 Pedro Alves <palves@redhat.com>
23226
23227 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
23228 instead of "unknown output after running".
23229
3fae92fc
YQ
232302014-05-16 Yao Qi <yao@codesourcery.com>
23231
23232 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
23233 file1.txt from host at the end.
23234 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
23235
c2b2ccc5
DE
232362014-05-15 Doug Evans <dje@google.com>
23237
23238 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
23239 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
23240 loading file. Add test for TU lookup.
23241
8c217a4b
SM
232422014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23243
23244 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
23245 calling "-exec-arguments" or "set args" before running the
23246 inferior.
23247
3deb39c6
SM
232482014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23249
23250 * lib/mi-support.exp (mi_expect_stop): Expect message for
23251 inferiors that exit with non-zero exit code.
23252
71a79f8c
YQ
232532014-05-14 Yao Qi <yao@codesourcery.com>
23254
23255 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
23256 match absolute path on remote host.
23257 (test_file_list_exec_source_files): Remove "/" from the
23258 pattern.
23259
f23fcd46
YQ
232602014-05-14 Yao Qi <yao@codesourcery.com>
23261
23262 * boards/local-remote-host-notty.exp (${board}_file): New
23263 proc.
23264
9404b58f
KM
232652014-05-07 Kyle McMartin <kyle@redhat.com>
23266
23267 Pushed by Joel Brobecker <brobecker@adacore.com>.
23268 * gdb.arch/aarch64-atomic-inst.c: New file.
23269 * gdb.arch/aarch64-atomic-inst.exp: New file.
23270
5e45f04c
YQ
232712014-05-07 Yao Qi <yao@codesourcery.com>
23272
23273 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
23274 in current context" too.
23275
c888a17d
KS
232762014-05-05 Keith Seitz <keiths@redhat.com>
23277
23278 * gdb.linespec/ls-dollar.exp: Add test for linespec
23279 file:convenience_variable.
23280
290a839c
YQ
232812014-05-05 Yao Qi <yao@codesourcery.com>
23282
23283 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
23284 traceframes into tfile and ctf trace files. Read data from
23285 trace file and test collected data.
23286 (gdb_collect_locals_test): Likewise.
23287 (gdb_unavailable_registers_test): Likewise.
23288 (gdb_unavailable_floats): Likewise.
23289 (gdb_collect_globals_test): Likewise.
23290 (top-level): Append "ctf" to trace_file_targets if GDB
23291 supports.
23292
b5262cd0
YQ
232932014-05-05 Yao Qi <yao@codesourcery.com>
23294
23295 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23296 code to ...
23297 (gdb_collect_args_test_1): ... it. New proc.
23298 (gdb_collect_locals_test): Move some code to ...
23299 (gdb_collect_locals_test_1): ... it. New proc.
23300 (gdb_unavailable_registers_test): Move some code to ...
23301 (gdb_unavailable_registers_test_1): ... it. New proc.
23302 (gdb_unavailable_floats): Move some code to ...
23303 (gdb_unavailable_floats_1): ... it. New proc.
23304
30a1e6cc
SDJ
233052014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23306
23307 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23308 probes to test for bitness recognition.
23309 * gdb.arch/amd64-stap-optional-prefix.exp
23310 (test_probe_value_without_reg): New procedure.
23311 Add code to test for different kinds of bitness.
23312
f33da99a
SDJ
233132014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23314
23315 PR breakpoints/16889
23316 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23317 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23318
5b80f00d
PA
233192014-05-01 Pedro Alves <palves@redhat.com>
23320
23321 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23322 gdb_file_cmd if no file is specified.
23323 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23324 last_loaded_file to set the remote exec-file.
23325
f8c2a73c
PA
233262014-05-01 Pedro Alves <palves@redhat.com>
23327
23328 * boards/local-remote-host.exp: New file.
23329
be6e8ac7
PA
233302014-05-01 Pedro Alves <palves@redhat.com>
23331
23332 * boards/local-remote-host.exp: Rename to ...
23333 * boards/local-remote-host-notty.exp: ... this.
23334
cac0dc8f
JB
233352014-04-28 Joel Brobecker <brobecker@adacore.com>
23336
23337 * gdb.ada/dyn_arrayidx: New testcase.
23338
9730e6cc
YQ
233392014-04-26 Yao Qi <yao@codesourcery.com>
23340
23341 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23342 and compute the length of function main. Save it in
23343 $main_length.
23344 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23345 (top-level): Use gdb_compile to compile objects into
23346 executable and restart GDB. Remove invocation to
23347 prepare_for_testing.
23348
7ae1a6a6
PA
233492014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23350 Pedro Alves <palves@redhat.com>
23351
23352 PR server/16255
23353 * gdb.multi/multi-attach.c: New file.
23354 * gdb.multi/multi-attach.exp: New file.
23355
4082afcc
PA
233562014-04-25 Pedro Alves <palves@redhat.com>
23357
23358 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23359 user.
23360 (top level): Test that "set remote conditional-breakpoints-packet
23361 off" works as intended.
23362 * gdb.base/dprintf.exp: Test that "set remote
23363 breakpoint-commands-packet off" works as intended.
23364 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23365 New function.
23366 (top level): Call it.
23367 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23368 remote fast-tracepoints-packet off" works as intended.
23369 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23370 * lib/gdb.exp (gdb_is_target_remote): ... here.
23371
2abc3f8d
DB
233722014-04-24 David Blaikie <dblaikie@gmail.com>
23373
23374 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23375 ensure clang would not discard them.
23376 * gdb.base/gdbvars.c: Ditto.
23377 * gdb.base/memattr.c: Ditto.
23378 * gdb.base/whatis.c: Ditto.
23379 * gdb.python/py-prettyprint.c: Ditto.
23380 * gdb.trace/actions.c: Ditto.
23381 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23382 ensure clang would not discard it.
23383
bfd39632
DB
233842014-04-24 David Blaikie <dblaikie@gmail.com>
23385
23386 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23387 clang to emit the full definition of type required by the test
23388 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23389
22842ff6
DB
233902014-04-24 David Blaikie <dblaikie@gmail.com>
23391
23392 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23393 coax Clang into emitting the definition of the type.
23394 * gdb.cp/pr10728-x.h (y): Ditto.
23395 * gdb.cp/pr10728-y.cc (y): Ditto.
23396
c2e827ad
DB
233972014-04-24 David Blaikie <dblaikie@gmail.com>
23398
23399 * gdb.base/label.exp: XFAIL label related tests under Clang.
23400 * gdb.cp/cplabel.exp: Ditto.
23401 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23402 under Clang those using labels.
23403
4c2d33e7
YQ
234042014-04-25 Yao Qi <yao@codesourcery.com>
23405
23406 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23407 double_label.
23408 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23409 partial_label and double_label.
23410
56083b99
DB
234112014-04-24 David Blaikie <dblaikie@gmail.com>
23412
23413 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23414
25d4e99d
DB
234152014-04-24 David Blaikie <dblaikie@gmail.com>
23416
23417 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23418 of the function to work across GCC and Clang.
23419 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23420 pointer types (const void ** const V void **).
23421
01f9f808
MS
234222014-04-24 Michael Sturm <michael.sturm@mintel.com>
23423 Walfred Tedeschi <walfred.tedeschi@intel.com>
23424
23425 * Makefile.in (EXECUTABLES): Added i386-avx512.
23426 * gdb.arch/i386-avx512.c: New file.
23427 * gdb.arch/i386-avx512.exp: Likewise.
23428
4b48d439
KS
234292014-04-23 Keith Seitz <keiths@redhat.com>
23430
23431 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23432 (mi_make_breakpoint_table): New procedure.
23433 (mi_create_breakpoint): Use mi_make_breakpoint
23434 and return the result.
23435 (mi_make_breakpoint): New procedure.
23436 (mi_build_kv_pairs): New procedure.
23437
23438 * gdb.mi/mi-break.exp: Remove unused globals,
23439 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23440 All callers updated.
23441 * gdb.mi/mi-dprintf.exp: Use variable to track command
23442 number.
23443 Update all callers of mi_create_breakpoint and use
23444 mi_make_breakpoint_table.
23445 Remove any unused global variables.
23446 * gdb.mi/mi-nonstop.exp: Likewise.
23447 * gdb.mi/mi-nsintrall.exp: Likewise.
23448 * gdb.mi/mi-nsmoribund.exp: Likewise.
23449 * gdb.mi/mi-nsthrexec.exp: Likewise.
23450 * gdb.mi/mi-reverse.exp: Likewise.
23451 * gdb.mi/mi-simplerun.exp: Likewise.
23452 * gdb.mi/mi-stepn.exp: Likewise.
23453 * gdb.mi/mi-syn-frame.exp: Likewise.
23454 * gdb.mi/mi-until.exp: Likewise.
23455 * gdb.mi/mi-var-cp.exp: Likewise.
23456 * gdb.mi/mi-var-display.exp: Likewise.
23457 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23458 * gdb.mi/mi2-var-child.exp: Likewise.
23459 * gdb.mi/mi-vla-c99.exp: Likewise.
23460 * lib/mi-support.exp: Likewise.
23461
23462 From Ian Lance Taylor <iant@cygnus.com>:
23463 * lib/gdb.exp (parse_args): New procedure.
23464
08351840
PA
234652014-04-23 Pedro Alves <palves@redhat.com>
23466
23467 * gdb.base/break-unload-file.c: New file.
23468 * gdb.base/break-unload-file.exp: New file.
23469 * gdb.base/sym-file-lib.c (baz): New function.
23470 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23471 field.
23472 (load): Store the segment's mapped size.
23473 (unload): New function.
23474 (unload_shlib): New function.
23475 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23476 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23477 set a breakpoint at baz, and call it.
23478 * gdb.base/sym-file.exp: New tests for stale breakpoint
23479 instructions.
23480
076855f9
PA
234812014-04-23 Pedro Alves <palves@redhat.com>
23482
23483 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23484 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23485 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23486 * gdb.base/hbreak-unmapped.c: New file.
23487 * gdb.base/hbreak-unmapped.exp: New file.
23488 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23489 * lib/gdb.exp (gdb_is_target_remote): ... here.
23490
483805cf
PA
234912014-04-22 Pedro Alves <palves@redhat.com>
23492
23493 * gdb.base/consecutive-step-over.c: New file.
23494 * gdb.base/consecutive-step-over.exp: New file.
23495
06d97543
PA
234962014-04-22 Pedro Alves <palves@redhat.com>
23497
23498 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23499 instead of send_gdb/gdb_expect.
23500
b4429ea2
YQ
235012014-04-22 Yao Qi <yao@codesourcery.com>
23502
23503 * lib/trace-support.exp (generate_tracefile): New procedure.
23504 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23505 return 0.
23506 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23507 if generate_tracefile returns 1.
23508
51d48146
PA
235092014-04-18 Tom Tromey <palves@redhat.com>
23510 Pedro alves <tromey@redhat.com>
23511
23512 PR backtrace/15558
23513 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23514 with a backtrace limit.
23515 * gdb.python/py-frame-inline.exp: Test running to an inline
23516 function with a backtrace limit, and printing the newest frame.
23517 * gdb.python/py-frame-inline.c (main): Call f.
23518
bd1dce5f
MS
235192014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23520
23521 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23522
40d1a503
MS
235232014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23524
23525 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23526 Drop prefix from unsupported source file path.
23527
389b98f7
YQ
235282014-04-17 Yao Qi <yao@codesourcery.com>
23529
23530 * lib/gdb.exp (with_target_charset): New proc.
23531 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23532 with_target_charset.
23533 (test_print_strings): Likewise.
23534 (test_repeat_bytes): Likewise.
23535 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23536 for some tests.
23537
22869d73
KS
235382014-04-16 Keith Seitz <keiths@redhat.com>
23539
23540 PR gdb/15827
23541 * gdb.dwarf2/corrupt.c: New file.
23542 * gdb.dwarf2/corrupt.exp: New file.
23543
c4f87ca6
KS
235442014-04-16 Keith Seitz <keiths@redhat.com>
23545
23546 PR c++/16597
23547 * gdb.cp/namelessclass.cc: New file.
23548 * gdb.cp/namelessclass.exp: New file.
23549 * gdb.cp/namelessclass.S: New file.
23550
ab19de87
DE
235512014-04-16 Doug Evans <dje@google.com>
23552
23553 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23554 Add comment.
23555 (gdbserver_default_get_comm_port): New function.
23556 (gdbserver_start): Check if board file provided
23557 "gdbserver,get_comm_port" and use it if so.
23558 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23559 (gdb,socketport): Set to "stdio".
23560 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23561 (stdio_gdbserver_template): Delete.
23562 (${board}_get_remote_address): Update.
23563 (${board}_build_remote_cmd): Delete.
23564 (${board}_get_comm_port): New function.
23565 (${board}_spawn): Update.
23566 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23567 Delete.
23568 (${board}_get_remote_address): Update.
23569 (${board}_get_comm_port): New function.
23570
fc98a809
AB
235712014-04-16 Andrew Burgess <aburgess@broadcom.com>
23572
23573 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23574 appearing in any order.
23575
87fd9e6e
DE
235762014-04-15 Doug Evans <dje@google.com>
23577
23578 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23579 uninitialized value of "description".
23580
099fc3ea
KS
235812014-04-15 Keith Seitz <keiths@redhat.com>
23582
23583 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23584 Remove unused globals.
23585 (test_running_the_program): Likewise.
23586 (test_controlled_execution): Likewise.
23587 (test_controlling_breakpoints): Likewise.
23588 (test_program_termination): Likewise.
23589
5da151d4
KS
235902014-04-15 Keith Seitz <keiths@redhat.com>
23591
23592 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23593 unused globals.
23594 (test_rbreak_creation_and_listing): Likewise.
23595 (test_ignore_count): Likewise.
23596 (test_error): Likewise.
23597
35e5d2f0
PA
235982014-04-15 Pedro Alves <palves@redhat.com>
23599
23600 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23601 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23602 sym-file-loader.c.
23603 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23604 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23605 to sym-file-loader.c.
23606 (struct library): Forward declare.
23607 (load_shlib, lookup_function): Change prototypes.
23608 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23609 (translate_offset): Remove declarations.
23610 (get_text_addr): New declaration.
23611 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23612 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23613 sym-file-loader.h.
23614 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23615 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23616 here from sym-file-loader.h.
23617 (struct library): New structure.
23618 (load_shlib, lookup_function): Change prototypes and adjust to
23619 work with a struct library.
23620 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23621 (translate_offset): Make static.
23622 (get_text_addr): New function.
23623 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23624
eb4c1710
PA
236252014-04-15 Pedro Alves <palves@redhat.com>
23626
23627 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23628
2d1baf52
PA
236292014-04-15 Pedro Alves <palves@redhat.com>
23630
23631 * gdb.base/sym-file-loader.c: Include <limits.h>.
23632 (SELF_LINK): New define.
23633 (get_origin): New function.
23634 (load_shlib): Use it.
23635 * gdb.base/sym-file.exp: Don't early return if the target is
23636 remote. Use runto_main, and issue fail is that fails. Use
23637 gdb_load_shlibs.
23638 (shlib_name): Delete.
23639 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23640
7dd6df01
PA
236412014-04-15 Pedro Alves <palves@redhat.com>
23642
23643 * gdb.base/sym-file.exp: Remove regex characters from test
23644 message. Don't refer to breakpoint numbers in test messages.
23645
b50c8614
KS
236462014-04-14 Keith Seitz <keiths@redhat.com>
23647
23648 PR c++/16253
23649 * gdb.cp/var-tag.cc: New file.
23650 * gdb.cp/var-tag.exp: New file.
23651 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23652 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23653 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23654 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23655
3d567982
TT
236562014-04-14 Tom Tromey <tromey@redhat.com>
23657
23658 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23659 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23660 type.
23661 * gdb.cp/enum-class.exp: New file.
23662 * gdb.cp/enum-class.cc: New file.
23663
0626fc76
TT
236642014-04-14 Tom Tromey <tromey@redhat.com>
23665
23666 * gdb.dwarf2/enum-type.exp: New file.
23667
dca325b3
SA
236682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23669
23670 * gdb.mi/mi-vla-c99.exp: New file.
23671 * gdb.mi/vla.c: New file.
23672
5854b38a
SA
236732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23674
23675 * gdb.base/vla-datatypes.c: New file.
23676 * gdb.base/vla-datatypes.exp: New file.
23677
463bb957
SA
236782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23679
23680 * gdb.base/vla-ptr.c: New file.
23681 * gdb.base/vla-ptr.exp: New file.
23682
3dd170be
SA
236832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23684
23685 * gdb.dwarf2/count.exp: New file.
23686
5ecaaa66
SA
236872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23688
23689 * gdb.base/vla-sideeffect.c: New file.
23690 * gdb.base/vla-sideeffect.exp: New file.
23691
41f1ada5
DB
236922014-04-14 David Blaikie <dblaikie@gmail.com>
23693
23694 * gdb.mi/non-stop.c: Add return value for non-void function return
23695 statement.
23696 * gdb.threads/staticthreads.c: Ditto.
23697
0be03e84
DE
236982014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23699 Doug Evans <xdje42@gmail.com>
23700
23701 * gdb.guile/scm-value.c: Improve test case.
23702 * gdb.guile/scm-value.exp: Add new test.
23703
f180a1fb
DB
237042014-04-11 David Blaikie <dblaikie@gmail.com>
23705
23706 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23707 override Clang's default.
23708
6b662e19
JB
237092014-04-11 Joel Brobecker <brobecker@adacore.com>
23710
23711 Revert the following changes (regressions):
23712
23713 * gdb.base/vla-sideeffect.c: New file.
23714 * gdb.base/vla-sideeffect.exp: New file.
23715
23716 * gdb.dwarf2/count.exp: New file.
23717
23718 * gdb.base/vla-multi.c: New file.
23719 * gdb.base/vla-multi.exp: New file.
23720
23721 * gdb.base/vla-ptr.c: New file.
23722 * gdb.base/vla-ptr.exp: New file.
23723
23724 * gdb.base/vla-datatypes.c: New file.
23725 * gdb.base/vla-datatypes.exp: New file.
23726
23727 * gdb.mi/mi-vla-c99.exp: New file.
23728 * gdb.mi/vla.c: New file.
23729
245a5f0b
KS
237302014-04-11 Keith Seitz <keiths@redhat.com>
23731
23732 PR c++/16675
23733 * gdb.cp/cpsizeof.exp: New file.
23734 * gdb.cp/cpsizeof.cc: New file.
23735
58a84dcf
SA
237362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23737
191a8a90
JB
23738 * gdb.mi/mi-vla-c99.exp: New file.
23739 * gdb.mi/vla.c: New file.
58a84dcf 23740
c8655f75
SA
237412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23742
23743 * gdb.base/vla-datatypes.c: New file.
23744 * gdb.base/vla-datatypes.exp: New file.
23745
024e13b4
SA
237462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23747
23748 * gdb.base/vla-ptr.c: New file.
23749 * gdb.base/vla-ptr.exp: New file.
23750
1a237e0e
SA
237512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23752
23753 * gdb.base/vla-multi.c: New file.
23754 * gdb.base/vla-multi.exp: New file.
23755
504f3432
SA
237562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23757
23758 * gdb.dwarf2/count.exp: New file.
23759
3bce8237
SA
237602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23761
191a8a90
JB
23762 * gdb.base/vla-sideeffect.c: New file.
23763 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23764
322f9c21
YQ
237652014-04-11 Yao Qi <yao@codesourcery.com>
23766
23767 * gdb.base/completion.exp: Check file exists before running tests
23768 on file completion.
23769
d708bcd1
PA
237702014-04-10 Pedro Alves <palves@redhat.com>
23771
23772 * gdb.base/cond-eval-mode.c: New file.
23773 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23774 prepare_for_testing to build the new file. Check result of
23775 runto_main.
23776 (test_break, test_watch): New procedures.
23777 (top level): Use them.
23778
ae1d2761
PM
237792014-04-08 Pierre Muller <muller@sourceware.org>
23780
23781 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23782 Ctrl-V use for mingw hosts.
23783
7af389b8
SC
237842014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23785
23786 * gdb.python/py-value.c: Improve test case.
23787 * gdb.python/py-value.exp: Add new test.
23788
5e703181
DE
237892014-04-07 David Blaikie <dblaikie@gmail.com>
23790
23791 * lib/compiler.c: Identify the clang compiler.
23792 * lib/compiler.cc: Ditto.
23793
9810b410
YQ
237942014-04-03 Yao Qi <yao@codesourcery.com>
23795
23796 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23797
98d1b8dc
AB
237982014-04-01 Anton Blanchard <anton@samba.org>
23799
23800 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23801 messages unique.
23802
3114cea1
AB
238032014-04-01 Anton Blanchard <anton@samba.org>
23804
23805 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23806 prepare_for_testing.
23807
62f7182c
AB
238082014-04-01 Anton Blanchard <anton@samba.org>
23809
23810 * gdb.arch/ppc64-atomic-inst.c: Remove.
23811 * gdb.arch/ppc64-atomic-inst.S: New file.
23812 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23813
770e7fc7
DE
238142014-03-31 Doug Evans <dje@google.com>
23815
23816 * gdb.base/print-symbol-loading-lib.c: New file.
23817 * gdb.base/print-symbol-loading-main.c: New file.
23818 * gdb.base/print-symbol-loading.exp: New file.
23819
46e2bafa
YQ
238202014-03-31 Yao Qi <yao@codesourcery.com>
23821
23822 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23823
8776cfe9
JB
238242014-03-28 Joel Brobecker <brobecker@adacore.com>
23825
23826 * gdb.ada/mi_dyn_arr: New testcase.
23827
5d1ef361
DE
238282014-03-27 Doug Evans <dje@google.com>
23829
23830 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23831
b5bee914
YQ
238322014-03-27 Yao Qi <yao@codesourcery.com>
23833
23834 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23835 if target is nios2-*-*.
23836
0d4d0e77
YQ
238372014-03-26 Yao Qi <yao@codesourcery.com>
23838
23839 * lib/gdb.exp (readline_is_used): New proc.
23840 * gdb.base/completion.exp: Move tests on command complete up.
23841 Skip the rest of tests if readline is not used.
23842 * gdb.ada/complete.exp: Skp the test if readline is not
23843 used.
23844 * gdb.base/filesym.exp: Likewise.
23845 * gdb.base/macscp.exp: Likewise.
23846 * gdb.base/readline-ask.exp: Likewise.
23847 * gdb.base/readline.exp: Likewise.
23848 * gdb.python/py-cmd.exp: Likewise.
23849 * gdb.trace/tfile.exp: Likewise.
23850
29361eee
YQ
238512014-03-26 Yao Qi <yao@codesourcery.com>
23852
23853 * gdb.base/macscp.exp: Fix code format issues.
23854
bc9a5525
UW
238552014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23856
23857 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23858 * gdb.asm/powerpc64le.inc: New file.
23859
d3839ede
PA
238602014-03-25 Pedro Alves <palves@redhat.com>
23861 Doug Evans <dje@google.com>
23862
23863 * gdb.base/source-execution.c: New file.
23864 * gdb.base/source-execution.exp: New file.
23865 * gdb.base/source-execution.gdb: New file.
23866
01672a57
DE
238672014-03-24 Doug Evans <dje@google.com>
23868
23869 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23870 using fission.
23871
88bbeca9
HZ
238722014-03-24 Hui Zhu <hui@codesourcery.com>
23873 Pedro Alves <palves@redhat.com>
23874
23875 PR breakpoints/16101
23876 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23877 test pass/fail messages. Detect missing support for dprintf when
23878 breakpoints are actually inserted.
23879 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23880 breakpoints are actually inserted.
23881 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23882 fails.
23883
d2348791
JK
238842014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23885
23886 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23887
feef67ab
DE
238882014-03-22 Doug Evans <xdje42@gmail.com>
23889
23890 * gdb.python/python.exp (python not supported): Verify multi-line
23891 python command issues an error.
25d743f9 23892 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23893 guile command issues an error.
feef67ab 23894
ecebef6a
MR
238952014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23896
23897 * gdb.threads/thread-specific.exp: Handle the lack of usable
23898 $this_breakpoint and $this_thread.
23899
ccdd1909
HZ
239002014-03-21 Hui Zhu <hui@codesourcery.com>
23901
23902 * gdb.base/attach.exp (do_command_attach_tests): New.
23903
beb460e8
PA
239042014-03-20 Tom Tromey <tromey@redhat.com>
23905 Pedro Alves <palves@redhat.com>
23906
23907 PR cli/15718
23908 * gdb.base/condbreak-call-false.c: New file.
23909 * gdb.base/condbreak-call-false.exp: New file.
23910
40acf43a
PA
239112014-03-20 Pedro Alves <palves@redhat.com>
23912
23913 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23914 Delete.
23915 (block_signals, unblock_signals): Delete.
23916 (child_function_2, main): Remove references to deleted variable
23917 and functions.
23918
9f5e1e02
PA
239192014-03-20 Pedro Alves <palves@redhat.com>
23920
23921 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23922 Use pthread_kill to signal thread 2.
23923 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23924 Adjust to make the test send itself a signal rather than using the
23925 host's "kill" command.
23926
99619bea
PA
239272014-03-20 Pedro Alves <palves@redhat.com>
23928
23929 * gdb.threads/multiple-step-overs.c: New file.
23930 * gdb.threads/multiple-step-overs.exp: New file.
23931 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23932 Adjust expected infrun debug output.
23933
2adfaa28
PA
239342014-03-20 Pedro Alves <palves@redhat.com>
23935
23936 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23937 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23938
31e77af2
PA
239392014-03-20 Pedro Alves <palves@redhat.com>
23940
23941 PR breakpoints/7143
23942 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23943 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23944 of gdb_test_multiple.
23945 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23946 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23947
b9f437de
PA
239482014-03-20 Pedro Alves <palves@redhat.com>
23949
23950 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23951 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23952
05adc73e
PA
239532014-03-19 Pedro Alves <palves@redhat.com>
23954
23955 * gdb.base/async.exp: Remove early return.
23956
6048b950
PA
239572014-03-19 Pedro Alves <palves@redhat.com>
23958
23959 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23960
8bcfb00a
PA
239612014-03-19 Pedro Alves <palves@redhat.com>
23962
23963 * gdb.base/async.exp (test_background): Expect \r\n after
23964 "completed." in the fail pattern.
23965
884e37dc
PA
239662014-03-19 Pedro Alves <palves@redhat.com>
23967
23968 * gdb.base/async.exp (test_background): New procedure.
23969 Use it for all background execution command tests.
23970
148e57e2
PA
239712014-03-19 Pedro Alves <palves@redhat.com>
23972
23973 * gdb.base/async.exp: Use prepare_for_testing.
23974
f48088c7
PA
239752014-03-19 Pedro Alves <palves@redhat.com>
23976
23977 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23978 the same line.
23979
e2f6c966
PA
239802014-03-19 Pedro Alves <palves@redhat.com>
23981
23982 * gdb.base/async.c (main): Add "jump here" and "until here" line
23983 marker comments.
23984 * gdb.base/async.exp (jump_here): New global.
23985 (jump& test): Use it.
23986 (until_here): New global.
23987 (until& test): Use it.
23988
c30568d4
PA
239892014-03-19 Pedro Alves <palves@redhat.com>
23990
23991 * gdb.base/async.exp: Don't frob gdb_protocol.
23992
0172b6a7
DE
239932014-03-18 Doug Evans <xdje42@gmail.com>
23994
23995 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23996 Fix spelling of exec-done-display.
23997
06c868a8
JK
239982014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23999
24000 PR gdb/15358
24001 * gdb.base/gdb-sigterm.c: New file.
24002 * gdb.base/gdb-sigterm.exp: New file.
24003
0c7e1a46
PA
240042014-03-18 Pedro Alves <palves@redhat.com>
24005
24006 PR gdb/13860
24007 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
24008 * lib/mi-support.exp (mi_expect_stop): Add special handling for
24009 solib-event.
24010
f7c77d93
JB
240112014-03-17 Joel Brobecker <brobecker@adacore.com>
24012
24013 * gdb.ada/pckd_arr_ren: New testcase.
24014
5a1e8c7a
DE
240152014-03-13 Doug Evans <xdje42@gmail.com>
24016
24017 PR guile/16612
24018 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
24019 collect after discarding symbols.
24020
350e1a76
DE
240212014-03-13 Ludovic Courtès <ludo@gnu.org>
24022 Doug Evans <xdje42@gmail.com>
24023
24024 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
24025 to history survives a gc.
24026
a69900ae
PA
240272014-03-13 Pedro Alves <palves@redhat.com>
24028
24029 * gdb.base/default.exp: Don't test "target procfs".
24030
5db9f0bd
PA
240312014-03-13 Pedro Alves <palves@redhat.com>
24032
24033 * gdb.base/default.exp: Update "target child" and "target procfs"
24034 tests to not expect "Unix".
24035
b3ccfe11
TT
240362014-03-12 Tom Tromey <tromey@redhat.com>
24037
24038 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
24039 New procs. Add target-async tests.
24040 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
24041 Add target-async tests.
24042
646f4417
AA
240432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24044
24045 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
24046 'func_start' and 'func_end' for the beginning and end of the
24047 function code, respectively.
24048 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
24049 'func_end' instead of 'func' and 'main'.
24050
288c211f
AA
240512014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24052
24053 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
24054 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
24055 generate the debug info assembler source.
24056
e0c0f156
AA
240572014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24058
24059 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
24060 * gdb.dwarf2/arr-subrange.exp: Likewise.
24061 * gdb.dwarf2/dwz.exp: Likewise.
24062 * gdb.dwarf2/method-ptr.exp: Likewise.
24063 * gdb.dwarf2/missing-sig-type.exp: Likewise.
24064 * gdb.dwarf2/subrange.exp: Likewise.
24065 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
24066 * gdb.dwarf2/implptrpiece.exp: Likewise.
24067 * gdb.dwarf2/nostaticblock.exp: Likewise.
24068
0e5c4555
AA
240692014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24070
24071 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
24072 directory to absolute path name arguments.
24073
5ec18f2b
JG
240742014-03-10 Joel Brobecker <brobecker@adacore.com>
24075
24076 * gdb.ada/tagged_access: New testcase.
24077
847fc4f2
MM
240782014-03-07 Markus Metzger <markus.t.metzger@intel.com>
24079
24080 * gdb.btrace/data.exp: Update expected output.
24081
cc3da688
YQ
240822014-03-06 Yao Qi <yao@codesourcery.com>
24083
24084 * gdb.trace/pr16508.exp: New file.
24085
0f26cec1
PA
240862014-03-05 Pedro Alves <palves@redhat.com>
24087
24088 PR gdb/16575
24089 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
24090 procedure.
24091 (top level): Adjust to use it. Add tests that exercise breakpoint
24092 interaction with the code-cache.
24093
7a5a839f
LC
240942014-02-26 Ludovic Courtès <ludo@gnu.org>
24095
24096 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
24097 test for 'history-append!'.
24098
31aa7e4e
JB
240992014-02-26 Joel Brobecker <brobecker@adacore.com>
24100
24101 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
24102 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
24103 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
24104 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
24105 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
24106 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
24107
1b588015
JB
241082014-02-26 Joel Brobecker <brobecker@adacore.com>
24109
24110 * testsuite/gdb.python/py-pp-re-notag.c: New file.
24111 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
24112 * testsuite/gdb.python/py-pp-re-notag.p: New file.
24113
55426c9d
JB
241142014-02-26 Joel Brobecker <brobecker@adacore.com>
24115
24116 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
24117
dc53a7ad
JB
241182014-02-26 Joel Brobecker <brobecker@adacore.com>
24119
24120 * gdb.dwarf2/arr-stride.c: New file.
24121 * gdb.dwarf2/arr-stride.exp: New file.
24122
12ab52e9
PA
241232014-02-26 Pedro Alves <palves@redhat.com>
24124
24125 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
24126 that won't ever trigger. Make sure that GDB reports the correct
24127 breakpoint that caused the stop.
24128
849c862e
JK
241292014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
24130
24131 PR gdb/16626
24132 * gdb.base/auto-load-script: New file.
24133 * gdb.base/auto-load.c: New file.
24134 * gdb.base/auto-load.exp: New file.
24135
71b7d793
JK
24136 PR gdb/16626
24137 * gdb.base/auto-load.exp: Fix out-of-srctree run.
24138
e2f0d509
JK
241392014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
24140
24141 Fix dw2-icycle.exp -fsanitize=address GDB crash.
24142 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
24143
50cc37c8
DE
241442014-02-24 Doug Evans <dje@google.com>
24145
24146 * lib/gdb.exp (run_on_host): Log error output if program fails.
24147
ea4758f2
PA
241482014-02-21 Pedro Alves <palves@redhat.com>
24149
24150 * gdb.threads/step-after-sr-lock.c: Rename to ...
24151 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
24152 * gdb.threads/step-after-sr-lock.exp: Rename to ...
24153 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24154 ... this.
24155
d7b30f67
SDJ
241562014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
24157
24158 PR tdep/16397
24159 * gdb.arch/amd64-stap-special-operands.exp: New file.
24160 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
24161 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
24162 * gdb.arch/amd64-stap-triplet.S: Likewise.
24163 * gdb.arch/amd64-stap-triplet.c: Likewise.
24164
83deb43f
JB
241652014-02-20 Joel Brobecker <brobecker@adacore.com>
24166
24167 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
24168 in .section pseudo-op.
24169
adde2bff
DE
241702014-02-20 lin zuojian <manjian2006@gmail.com>
24171 Joel Brobecker <brobecker@adacore.com>
24172 Doug Evans <xdje42@gmail.com>
24173
24174 PR symtab/16581
24175 * gdb.dwarf2/dw2-icycle.S: New file.
24176 * gdb.dwarf2/dw2-icycle.c: New file.
24177 * gdb.dwarf2/dw2-icycle.exp: New file.
24178
f7bd0f78
SC
241792014-02-19 Siva Chandra Reddy <sivachandra@google.com>
24180
24181 * gdb.python/py-value-cc.cc: Improve test case to enable testing
24182 operations on gdb.Value objects.
24183 * gdb.python/py-value-cc.exp: Add new test to test operations on
24184 gdb.Value objects.
24185
c17ef0d5
DE
241862014-02-18 Doug Evans <dje@google.com>
24187
24188 * Makefile.in (TESTS): New variable.
24189 (expanded_tests, expanded_tests_or_none): New variables
24190 (check-single): Pass $(expanded_tests_or_none) to runtest.
24191 (check-parallel): Only run tests in $(TESTS) if non-empty.
24192 (check/no-matching-tests-found): New rule.
24193 * README: Document TESTS makefile variable.
24194
5dd3176f
DE
241952014-02-18 Doug Evans <dje@google.com>
24196
24197 * Makefile.in (check-parallel): rm -rf outputs temp.
24198
0b10be4f
JK
241992014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24200
24201 Fix "ERROR: no fileid for" in the testsuite.
24202 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
24203
85f224e7
DE
242042014-02-12 Doug Evans <dje@google.com>
24205
24206 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
24207 (MISCELLANEOUS): New variable.
24208 (clean): rm -rf $(MISCELLANEOUS).
24209 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
24210 dwp live in the same directory as symlinks, with each symlink pointed
24211 to a differently named file in a different directory.
24212
149b30ff
DE
242132014-02-11 Doug Evans <dje@google.com>
24214
24215 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
24216 of Tcl file commands.
24217
1dfdac32
MK
242182014-02-10 Mark Kettenis <kettenis@gnu.org>
24219
24220 * gdb.threads/step-after-sr-lock.exp: Avoid executing
24221 "kill -SIGUSR1 -1".
24222
aa4fb036
JB
242232014-02-10 Joel Brobecker <brobecker@adacore.com>
24224
24225 * gdb.ada/tick_length_array_enum_idx: New testcase.
24226
ed3ef339
DE
242272014-02-10 Doug Evans <xdje42@gmail.com>
24228
24229 * configure.ac (AC_OUTPUT): Add gdb.guile.
24230 * configure: Regenerate.
24231 * lib/gdb-guile.exp: New file.
24232 * lib/gdb.exp (get_target_charset): New function.
24233 * gdb.base/help.exp: Update expected output from "apropos apropos".
24234 * gdb.guile/Makefile.in: New file.
24235 * gdb.guile/guile.exp: New file.
24236 * gdb.guile/scm-arch.c: New file.
24237 * gdb.guile/scm-arch.exp: New file.
24238 * gdb.guile/scm-block.c: New file.
24239 * gdb.guile/scm-block.exp: New file.
24240 * gdb.guile/scm-breakpoint.c: New file.
24241 * gdb.guile/scm-breakpoint.exp: New file.
24242 * gdb.guile/scm-disasm.c: New file.
24243 * gdb.guile/scm-disasm.exp: New file.
24244 * gdb.guile/scm-equal.c: New file.
24245 * gdb.guile/scm-equal.exp: New file.
24246 * gdb.guile/scm-error.exp: New file.
24247 * gdb.guile/scm-error.scm: New file.
24248 * gdb.guile/scm-frame-args.c: New file.
24249 * gdb.guile/scm-frame-args.exp: New file.
24250 * gdb.guile/scm-frame-args.scm: New file.
24251 * gdb.guile/scm-frame-inline.c: New file.
24252 * gdb.guile/scm-frame-inline.exp: New file.
24253 * gdb.guile/scm-frame.c: New file.
24254 * gdb.guile/scm-frame.exp: New file.
24255 * gdb.guile/scm-generics.exp: New file.
24256 * gdb.guile/scm-gsmob.exp: New file.
24257 * gdb.guile/scm-iterator.c: New file.
24258 * gdb.guile/scm-iterator.exp: New file.
24259 * gdb.guile/scm-math.c: New file.
24260 * gdb.guile/scm-math.exp: New file.
24261 * gdb.guile/scm-objfile-script-gdb.in: New file.
24262 * gdb.guile/scm-objfile-script.c: New file.
24263 * gdb.guile/scm-objfile-script.exp: New file.
24264 * gdb.guile/scm-objfile.c: New file.
24265 * gdb.guile/scm-objfile.exp: New file.
24266 * gdb.guile/scm-ports.exp: New file.
24267 * gdb.guile/scm-pretty-print.c: New file.
24268 * gdb.guile/scm-pretty-print.exp: New file.
24269 * gdb.guile/scm-pretty-print.scm: New file.
24270 * gdb.guile/scm-section-script.c: New file.
24271 * gdb.guile/scm-section-script.exp: New file.
24272 * gdb.guile/scm-section-script.scm: New file.
24273 * gdb.guile/scm-symbol.c: New file.
24274 * gdb.guile/scm-symbol.exp: New file.
24275 * gdb.guile/scm-symtab-2.c: New file.
24276 * gdb.guile/scm-symtab.c: New file.
24277 * gdb.guile/scm-symtab.exp: New file.
24278 * gdb.guile/scm-type.c: New file.
24279 * gdb.guile/scm-type.exp: New file.
24280 * gdb.guile/scm-value-cc.cc: New file.
24281 * gdb.guile/scm-value-cc.exp: New file.
24282 * gdb.guile/scm-value.c: New file.
24283 * gdb.guile/scm-value.exp: New file.
24284 * gdb.guile/source2.scm: New file.
24285 * gdb.guile/types-module.cc: New file.
24286 * gdb.guile/types-module.exp: New file.
24287
7026a7c1
YQ
242882014-02-10 Yao Qi <yao@codesourcery.com>
24289
24290 PR testsuite/16543
24291 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
24292 * configure: Regenerated.
24293 * Makefile.in: New file.
24294
6c466447
AS
242952014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24296
24297 * gdb.python/py-framefilter.exp: Fix typo.
24298
6e854735
YQ
242992014-02-08 Yao Qi <yao@codesourcery.com>
24300
24301 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24302 that no =breakpoint-modified is emitted when breakpoints are
24303 modified through MI commands.
24304
d137e6dc
PA
243052014-02-07 Pedro Alves <pedro@codesourcery.com>
24306 Pedro Alves <palves@redhat.com>
24307
24308 * gdb.threads/step-after-sr-lock.c: New file.
24309 * gdb.threads/step-after-sr-lock.exp: New file.
24310
b5ee5a50
PA
243112014-02-07 Pedro Alves <palves@redhat.com>
24312
24313 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24314
3c77faf3
JK
243152014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24316
24317 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24318 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24319
6dddc817
DE
243202014-02-06 Doug Evans <xdje42@gmail.com>
24321
24322 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24323 output.
24324
24325 * gdb.gdb/python-interrupts.exp: New file.
24326
de7b2893
YQ
243272014-02-05 Yao Qi <yao@codesourcery.com>
24328
24329 * gdb.trace/report.exp (use_collected_data): Test the output
24330 of "info threads" and "info inferiors".
24331
66d032ac
YQ
243322014-02-05 Yao Qi <yao@codesourcery.com>
24333
24334 Revert this patch:
24335
24336 2013-05-24 Yao Qi <yao@codesourcery.com>
24337
24338 * gdb.trace/tfile.exp: Test inferior and thread.
24339
591a12a1
UW
243402014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24341
24342 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24343 on a function.
24344 * gdb.base/step-bt.c: Call hello via function pointer to make
24345 sure its first instruction is executed on powerpc64le-linux.
24346
0ff3e01f
UW
243472014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24348
24349 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24350
084ee545
UW
243512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24352
24353 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24354 of the test patterns for use on little-endian systems.
24355
6ed14ff3
UW
243562014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24357
24358 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24359 (decimal_vector): Fix for little-endian.
24360
401e27fd
JM
243612014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24362
24363 * gdb.arch/sparc-sysstep.exp: New file.
24364 * gdb.arch/sparc-sysstep.c: Likewise.
24365
24366 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24367
8b924729
EBM
243682014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24369
24370 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24371
fb151210
JB
243722014-01-23 Tom Tromey <tromey@redhat.com>
24373
24374 * gdb.ada/array_char_idx: New testcase.
24375
0740f8d8
TT
243762014-01-23 Tom Tromey <tromey@redhat.com>
24377
24378 PR python/16487:
24379 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24380 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24381 classes.
24382
21909fa1
TT
243832014-01-23 Tom Tromey <tromey@redhat.com>
24384
24385 PR python/16491:
24386 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24387 string from an inferior frame.
24388 * gdb.python/py-framefilter-mi.exp: Update.
24389
87ce2a04
DE
243902014-01-22 Doug Evans <dje@google.com>
24391
24392 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24393
237b092b
AA
243942014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24395
24396 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24397
d674a709
AA
243982014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24399
24400 * gdb.trace/entry-values.exp: Remove excess space character from
24401 regex patterns. Handle s390 call instruction.
24402
20fa3390
AA
244032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24404
24405 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24406 define "*_start" label. Make "name" static.
24407 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24408 ${name} by references to ${name}_start.
24409
78466714
AA
244102014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24411
24412 * gdb.base/info-macros.exp: Remove "debug" from the compile
24413 options.
24414
ec9f644a
IB
244152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24416
24417 * gdb.dlang/demangle.exp: New file.
24418
94b1b47e
IB
244192014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24420
24421 * gdb.dlang/primitive-types.exp: New file.
24422
7f420862
IB
244232014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24424
24425 * configure.ac: Create gdb.dlang/Makefile.
24426 * configure: Regenerate.
24427 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24428 * gdb.dlang/Makefile.in: New file.
24429 * lib/d-support.exp: New file.
24430 * lib/gdb.exp (skip_d_tests): New proc.
24431
52834460
MM
244322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24433
24434 * gdb.btrace/delta.exp: Check reverse stepi.
24435 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24436 * gdb.btrace/finish.exp: New.
24437 * gdb.btrace/next.exp: New.
24438 * gdb.btrace/nexti.exp: New.
24439 * gdb.btrace/record_goto.c: Add comments.
24440 * gdb.btrace/step.exp: New.
24441 * gdb.btrace/stepi.exp: New.
24442 * gdb.btrace/multi-thread-step.c: New.
24443 * gdb.btrace/multi-thread-step.exp: New.
24444 * gdb.btrace/rn-dl-bind.c: New.
24445 * gdb.btrace/rn-dl-bind.exp: New.
24446 * gdb.btrace/data.c: New.
24447 * gdb.btrace/data.exp: New.
24448 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24449
6e07b1d2
MM
244502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24451
24452 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24453 * gdb.btrace/exception.exp: Update.
24454 * gdb.btrace/instruction_history.exp: Update.
24455 * gdb.btrace/record_goto.exp: Update.
24456 * gdb.btrace/tailcall.exp: Update.
24457 * gdb.btrace/unknown_functions.exp: Update.
24458 * gdb.btrace/delta.exp: New.
24459
0b722aec
MM
244602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24461
24462 * gdb.btrace/record_goto.exp: Add backtrace test.
24463 * gdb.btrace/tailcall.exp: Add backtrace test.
24464
066ce621
MM
244652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24466
24467 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24468 * gdb.btrace/record_goto.c: New.
24469 * gdb.btrace/record_goto.exp: New.
24470 * gdb.btrace/x86-record_goto.S: New.
24471
0688d04e
MM
244722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24473
24474 * gdb.btrace/function_call_history.exp: Update tests.
24475 * gdb.btrace/instruction_history.exp: Update tests.
24476
8710b709
MM
244772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24478
24479 * gdb.btrace/function_call_history.exp: Fix expected field
24480 order for "record function-call-history".
24481 Add new tests for "record function-call-history /c".
24482 * gdb.btrace/exception.cc: New.
24483 * gdb.btrace/exception.exp: New.
24484 * gdb.btrace/tailcall.exp: New.
24485 * gdb.btrace/x86-tailcall.S: New.
24486 * gdb.btrace/x86-tailcall.c: New.
24487 * gdb.btrace/unknown_functions.c: New.
24488 * gdb.btrace/unknown_functions.exp: New.
24489 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24490
5de9129b
MM
244912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24492
24493 * gdb.btrace/instruction_history.exp: Update.
24494 * gdb.btrace/function_call_history.exp: Update.
24495
23a7fe75
MM
244962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24497
24498 * gdb.btrace/function_call_history.exp: Fix expected function
24499 trace.
24500 * gdb.btrace/instruction_history.exp: Initialize traced.
24501 Remove traced_functions.
24502
724c7dd8
MM
245032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24504
24505 * gdb.btrace/function_call_history.exp: Update
24506 * gdb.btrace/instruction_history.exp: Update.
24507
6d78d93b
MM
245082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24509
24510 * gdb.btrace/enable.exp: Update expected text.
24511
93a360cc
OJ
245122014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24513
24514 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24515 bytes.
24516
3772b53f
MR
245172014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24518
24519 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24520
596662fa
OJ
245212014-01-15 Omair Javaid <omair.javaid@linaro.org>
24522
24523 * lib/gdb.exp (supports_process_record): Return true for
24524 arm*-linux*. (supports_reverse): Likewise.
24525
b5b08fb4
SC
245262014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24527
24528 PR python/15464
24529 PR python/16113
24530 * gdb.python/py-type.c: Enhance test case.
24531 * gdb.python/py-value-cc.cc: Likewise
24532 * gdb.python/py-type.exp: Add new tests.
24533 * gdb.python/py-value-cc.exp: Likewise
24534
52d7fb13
AA
245352014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24536 Pedro Alves <palves@redhat.com>
24537
24538 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24539 Make "name" extern.
24540 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24541 references to ${name}_start by references to ${name}.
24542
a2cd8cfe
JB
245432014-01-10 Joel Brobecker <brobecker@adacore.com>
24544
24545 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24546
4e23fced
JB
245472014-01-10 Joel Brobecker <brobecker@adacore.com>
24548
24549 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24550
c6a9e42c
PA
245512014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24552 Pedro Alves <palves@redhat.com>
24553
24554 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 24555 mi_gdb_target_load.
c6a9e42c 24556
b7ea362b
PA
245572014-01-08 Pedro Alves <palves@redhat.com>
24558
24559 * gdb.threads/reconnect-signal.c: New file.
24560 * gdb.threads/reconnect-signal.exp: New file.
24561
5e3f4fab
EBM
245622014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24563
24564 * gdb.base/source-dir.exp: New file.
24565
79301218
JB
245662014-01-07 Joel Brobecker <brobecker@adacore.com>
24567
24568 * gdb.ada/mi_interface: New testcase.
24569
8e355c5d
JB
245702014-01-07 Joel Brobecker <brobecker@adacore.com>
24571
24572 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24573 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24574 gdb.ada/pp-rec-component/pck.ads: New files.
24575
c0d48811
JB
245762014-01-07 Joel Brobecker <brobecker@adacore.com>
24577
24578 * gdb.python/py-pp-integral.c: New file.
24579 * gdb.python/py-pp-integral.py: New file.
24580 * gdb.python/py-pp-integral.exp: New file.
24581
17b609c3 24582For older changes see ChangeLog-1993-2013.
c906108c 24583\f
8d8cb839
EZ
24584;; Local Variables:
24585;; mode: change-log
24586;; left-margin: 8
24587;; fill-column: 74
24588;; version-control: never
24589;; End:
902f2ccb 24590
3666a048 24591 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
24592 Copying and distribution of this file, with or without modification,
24593 are permitted provided the copyright notice and this notice are preserved.