]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add gdb_compile_openmp to lib/gdb.exp
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
26b911fb
KB
12019-12-10 Kevin Buettner <kevinb@redhat.com>
2
3 * lib/gdb.exp (gdb_compile_openmp): New proc.
4 (build_executable_from_specs): Add an "openmp" option.
5 (gdb_compile_pthreads): Add non-executable case.
6
6c71eb7d
TT
72019-12-10 Tom Tromey <tromey@adacore.com>
8
9 * gdb.ada/unchecked_union.exp: New file.
10 * gdb.ada/unchecked_union/pck.adb: New file.
11 * gdb.ada/unchecked_union/pck.ads: New file.
12 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
13 * gdb-utils.exp (string_to_regexp): Also quote "?".
14
bac7c5cf
GB
152019-12-10 George Barrett <bob@bob131.so>
16
17 Test scripted probe breakpoints.
18 * gdb.guile/scm-breakpoint.c (main): Add probe point.
19 * gdb.python/py-breakpoint.c (main): Likewise.
20 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
21 specifier test.
22 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
23
330f1d38
TBA
242019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
25
26 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
27 an rvalue parameter.
28 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
29 parameter.
30
b43315e2
AB
312019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
32
33 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
34 modules.
35
54f73dad
AB
362019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
37
38 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
39 broken version of GCC.
40
d57cbee9
AB
412019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
42
43 * gdb.fortran/info-modules.exp: Rewrite to make use of new
44 sym-info-cmds library.
45 * gdb.fortran/info-types.exp: Likewise.
46 * lib/sym-info-cmds.exp: New file.
47
c14aab8c
TV
482019-12-08 Tom de Vries <tdevries@suse.de>
49
50 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
51
aa2d5a42
KS
522019-12-07 Keith Seitz <keiths@redhat.com>
53
54 * gdb.base/corefile-buildid-shlib-shr.c: New file.
55 * gdb.base/corefile-buildid-shlib.c: New file.
56 * gdb.base/corefile-buildid.c: New file.
57 * gdb.base/corefile-buildid.exp: New file.
58
93e55f0a
TV
592019-12-06 Tom de Vries <tdevries@suse.de>
60
61 * gdb.dwarf2/varval.exp: Add decl before def test.
62
c7d12402
TBA
632019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
64
65 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
66
06acc08f
TBA
672019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
68
69 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
70 CV and reference conversion for overload resolution.
71 * gdb.cp/rvalue-ref-overload.exp: Test it.
72
e0fad1ea
PW
732019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
74
75 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
76 * gdb.base/frameapply.exp: Test faas without command.
77
8d70a9f0
AB
782019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
79
80 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
81 Fortran tests.
82 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
83 order.
84
36c8fb93
AB
852019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
86
87 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
88 casting to type with no kind specified.
89 (test_basic_parsing_of_type_kinds): Additional tests for types
90 with no kind specified, and add tests for single/double
91 precision/complex types.
92
4139ff00
TT
932019-12-04 Tom Tromey <tromey@adacore.com>
94
95 * gdb.base/endianity.c (struct other) <x>: New field.
96 (main): Initialize it.
97 * gdb.base/endianity.exp: Update.
98
a05cf17a
TT
992019-12-04 Tom Tromey <tromey@adacore.com>
100
101 * gdb.ada/scalar_storage/storage.adb: New file.
102 * gdb.ada/scalar_storage/pck.adb: New file.
103 * gdb.ada/scalar_storage/pck.ads: New file.
104 * gdb.ada/scalar_storage.exp: New file.
105
103a685e
TT
1062019-12-04 Tom Tromey <tromey@adacore.com>
107
108 * gdb.base/endianity.c (struct otherendian) <f>: New field.
109 (main): Initialize it.
110 * gdb.base/endianity.exp: Update.
111
c2512106
AB
1122019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
113
114 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
115
293b38d6
AB
1162019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
117
118 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
119 -symbol-info-module-functions and -symbol-info-module-variables.
120
216a7e6b
AB
1212019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
122
123 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
124
5bbd8269
AB
1252019-12-01 Richard Bunt <richard.bunt@arm.com>
126 Andrew Burgess <andrew.burgess@embecosm.com>
127
128 * gdb.fortran/derived-type-striding.exp: New file.
129 * gdb.fortran/derived-type-striding.f90: New file.
130 * gdb.fortran/array-slices.exp: New file.
131 * gdb.fortran/array-slices.f90: New file.
132
be09caf1
PW
1332019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
134
135 * gdb.base/define.exp: Test . in command names.
136 * gdb.base/setshow.exp: Update test, as . is now part of
137 command name.
138
643c0cbe
PW
1392019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
140
141 * gdb.base/define-prefix.exp: New file.
142
dcdec678
AB
1432019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
144
145 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
146 compile.
147 (skip_btrace_pt_tests): Likewise.
148
640ab947
AB
1492019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
150
151 * gdb.fortran/info-modules.exp: Compile source files in correct
152 order.
153
d22670f0
KB
1542019-11-27 Kevin Buettner <kevinb@redhat.com>
155
156 * gdb.dwarf2/imported-unit.exp: New file.
157 * gdb.dwarf2/imported-unit.c: New file.
158
db5960b4
AB
1592019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
160
161 * gdb.mi/mi-fortran-modules-2.f90: New file.
162 * gdb.mi/mi-fortran-modules.exp: New file.
163 * gdb.mi/mi-fortran-modules.f90: New file.
164
7dc42066
AB
1652019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
166
167 * gdb.mi/mi-sym-info-1.c: New file.
168 * gdb.mi/mi-sym-info-2.c: New file.
169 * gdb.mi/mi-sym-info.exp: New file.
170
0dfeecca
TT
1712019-11-22 Tom Tromey <tromey@adacore.com>
172
173 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
174 * gdb.ada/tasks/foo.adb: Add another stopping location.
175
34877895
PJ
1762019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
177
178 * gdb.base/endianity.c: New test.
179 * gdb.base/endianity.exp: New file.
180
2e84f897
LD
1812019-11-21 Lukas Durfina <ldurfina@tachyum.com>
182
183 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
184
65d1cd5f
TV
1852019-11-21 Tom de Vries <tdevries@suse.de>
186
187 PR gdb/24956
188 * gdb.base/ui-redirect.exp: Test output of user-defined command.
189
4f22c3f4
SDJ
1902019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
191
192 * gdb.python/py-progspace.exp: Add missing parentheses on some
193 'print' commands.
194
9f6ad286
TT
1952019-11-19 Tom Tromey <tom@tromey.com>
196
197 * gdb.tui/winheight.exp: New file.
198
0b8dbf3f
AB
1992019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
200
201 * gdb.base/ctf-whatis.c: Delete.
202 * gdb.base/ctf-whatis.exp: Delete.
203 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
204
f833b7a7
AB
2052019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
206
207 * gdb.base/ctf-cvexpr.exp: Delete.
208 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
209
30d0a636
AB
2102019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
211
212 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
213 the compiler. Clean up header comment a little.
214 * gdb.base/ctf-ptype.exp: Likewise.
215 * gdb.base/ctf-whatis.exp: Likewise.
216 * lib/gdb.exp (skip_ctf_tests): New proc.
217
494409bb
SDJ
2182019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
219
220 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
221 * gdb.tui/corefile-run.exp: New file.
222
55708e99
TT
2232019-11-14 Tom Tromey <tromey@adacore.com>
224
225 * gdb.base/gdbvars.exp (test_convenience_variables): Add
226 regression tests.
227
45e42163
TT
2282019-11-12 Tom Tromey <tom@tromey.com>
229
230 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
231 after any command. Expect prompt after WAIT_FOR is seen.
232 (enter_tui): Enable resize messages.
233 (command): Expect command in output.
234 (get_line): Avoid error when cursor appears to be off-screen.
235 (dump_screen): Include screen size in title.
236 (_do_resize): New proc, from "resize".
237 (resize): Rewrite. Do resize in two steps.
238 * gdb.tui/empty.exp (layouts): Fix entries.
239 (check_boxes): Remove xfail.
240 (check_text): Dump screen on failure.
241
086baaf1
AB
2422019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
243
244 * gdb.python/py-symbol.exp: Add test for
245 gdb.lookup_static_symbols.
246
09ff83af
AB
2472019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
248
249 * gdb.python/py-symbol.c: Declare and call function from new
250 py-symbol-2.c file.
251 * gdb.python/py-symbol.exp: Compile both source files, and add new
252 tests for gdb.lookup_static_symbol.
253 * gdb.python/py-symbol-2.c: New file.
254
11af934b
TV
2552019-11-02 Tom de Vries <tdevries@suse.de>
256
257 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
258 * gdb.base/anon.exp: Same.
259 * gdb.base/auto-connect-native-target.exp: Same.
260 * gdb.base/call-ar-st.exp: Same.
261 * gdb.base/catch-syscall.exp: Same.
262 * gdb.base/commands.exp: Same.
263 * gdb.base/default.exp: Same.
264 * gdb.base/display.exp: Same.
265 * gdb.base/float.exp: Same.
266 * gdb.base/foll-fork.exp: Same.
267 * gdb.base/help.exp: Same.
268 * gdb.base/info-macros.exp: Same.
269 * gdb.base/info-proc.exp: Same.
270 * gdb.base/info-target.exp: Same.
271 * gdb.base/long_long.exp: Same.
272 * gdb.base/macscp.exp: Same.
273 * gdb.base/memattr.exp: Same.
274 * gdb.base/nofield.exp: Same.
275 * gdb.base/pointers.exp: Same.
276 * gdb.base/printcmds.exp: Same.
277 * gdb.base/ptype.exp: Same.
278 * gdb.base/restore.exp: Same.
279 * gdb.base/return.exp: Same.
280 * gdb.base/scope.exp: Same.
281 * gdb.base/set-noassign.exp: Same.
282 * gdb.base/setshow.exp: Same.
283 * gdb.base/shlib-call.exp: Same.
284 * gdb.base/signals.exp: Same.
285 * gdb.base/sigstep.exp: Same.
286 * gdb.base/skip.exp: Same.
287 * gdb.base/solib-symbol.exp: Same.
288 * gdb.base/stap-probe.exp: Same.
289 * gdb.base/step-line.exp: Same.
290 * gdb.base/step-test.exp: Same.
291 * gdb.base/style.exp: Same.
292 * gdb.base/varargs.exp: Same.
293 * gdb.base/vla-datatypes.exp: Same.
294 * gdb.base/vla-ptr.exp: Same.
295 * gdb.base/vla-sideeffect.exp: Same.
296 * gdb.base/volatile.exp: Same.
297 * gdb.base/watch-cond-infcall.exp: Same.
298 * gdb.base/watchpoint.exp: Same.
299
e96ec2ba
TV
3002019-11-02 Tom de Vries <tdevries@suse.de>
301
302 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
303 * gdb.cp/cpexprs.exp: Same.
304 * gdb.cp/except-multi-location.exp: Same.
305 * gdb.cp/exceptprint.exp: Same.
306 * gdb.cp/gdb2384.exp: Same.
307 * gdb.cp/inherit.exp: Same.
308 * gdb.cp/m-static.exp: Same.
309 * gdb.cp/meth-typedefs.exp: Same.
310 * gdb.cp/misc.exp: Same.
311 * gdb.cp/namespace.exp: Same.
312 * gdb.cp/non-trivial-retval.exp: Same.
313 * gdb.cp/overload.exp: Same.
314 * gdb.cp/pr17132.exp: Same.
315 * gdb.cp/re-set-overloaded.exp: Same.
316 * gdb.cp/rvalue-ref-types.exp: Same.
317 * gdb.cp/templates.exp: Same.
318
bd5766ec
LM
3192019-11-01 Luis Machado <luis.machado@linaro.org>
320
321 PR gdb/25124
322
323 * gdb.arch/pr25124.S: New file.
324 * gdb.arch/pr25124.exp: New file.
325
165f8965
AB
3262019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * gdb.fortran/info-modules.exp: Update expected results, and add
329 additional tests for 'info module functinos', and 'info module
330 variables'.
331 * gdb.fortran/info-types.exp: Update expected results.
332 * gdb.fortran/info-types.f90: Extend testcase with additional
333 module variables and functions.
334
59c35742
AB
3352019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
336
337 * gdb.fortran/info-modules.exp: New file.
338 * gdb.fortran/info-types.exp: Build with new file.
339 * gdb.fortran/info-types.f90: Include and use new module.
340 * gdb.fortran/info-types-2.f90: New file.
341
f3fb2519
PW
3422019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
343
344 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
345 * gdb.base/settings.exp: Test all settings types using
346 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
347 that now verifies that the value of "maint show" is the same as
348 returned by the settings functions. Test the type of the
349 maintenance settings.
350 * gdb.base/default.exp: Update show_conv_list.
351
d1e36019
TV
3522019-10-31 Tom de Vries <tdevries@suse.de>
353
354 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
355 gdb_test.
356 * gdb.arch/amd64-disp-step.exp: Same.
357 * gdb.asm/asm-source.exp: Same.
358 * gdb.btrace/buffer-size.exp: Same.
359 * gdb.btrace/cpu.exp: Same.
360 * gdb.btrace/enable.exp: Same.
361 * gdb.dwarf2/count.exp: Same.
362 * gdb.dwarf2/dw2-ranges-func.exp: Same.
363 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
364 * gdb.fortran/vla-datatypes.exp: Same.
365 * gdb.fortran/vla-history.exp: Same.
366 * gdb.fortran/vla-ptype.exp: Same.
367 * gdb.fortran/vla-value.exp: Same.
368 * gdb.fortran/whatis_type.exp: Same.
369 * gdb.guile/guile.exp: Same.
370 * gdb.multi/tids.exp: Same.
371 * gdb.python/py-finish-breakpoint.exp: Same.
372 * gdb.python/py-framefilter.exp: Same.
373 * gdb.python/py-pp-registration.exp: Same.
374 * gdb.python/py-xmethods.exp: Same.
375 * gdb.python/python.exp: Same.
376 * gdb.server/connect-with-no-symbol-file.exp: Same.
377 * gdb.server/no-thread-db.exp: Same.
378 * gdb.server/run-without-local-binary.exp: Same.
379 * gdb.stabs/weird.exp: Same.
380 * gdb.threads/attach-many-short-lived-threads.exp: Same.
381 * gdb.threads/thread-find.exp: Same.
382 * gdb.threads/tls-shared.exp: Same.
383 * gdb.threads/tls.exp: Same.
384 * gdb.threads/wp-replication.exp: Same.
385 * gdb.trace/ax.exp: Same.
386 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
387
3d11e68e
TV
3882019-10-31 Tom de Vries <tdevries@suse.de>
389
390 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
391 * gdb.ada/array_subscript_addr.exp: Same.
392 * gdb.ada/arrayidx.exp: Same.
393 * gdb.ada/arrayparam.exp: Same.
394 * gdb.ada/arrayptr.exp: Same.
395 * gdb.ada/boolean_expr.exp: Same.
396 * gdb.ada/call_pn.exp: Same.
397 * gdb.ada/complete.exp: Same.
398 * gdb.ada/fixed_cmp.exp: Same.
399 * gdb.ada/fun_addr.exp: Same.
400 * gdb.ada/funcall_param.exp: Same.
401 * gdb.ada/interface.exp: Same.
402 * gdb.ada/mod_from_name.exp: Same.
403 * gdb.ada/null_array.exp: Same.
404 * gdb.ada/packed_array.exp: Same.
405 * gdb.ada/packed_tagged.exp: Same.
406 * gdb.ada/print_chars.exp: Same.
407 * gdb.ada/print_pc.exp: Same.
408 * gdb.ada/ptype_arith_binop.exp: Same.
409 * gdb.ada/ptype_field.exp: Same.
410 * gdb.ada/ptype_tagged_param.exp: Same.
411 * gdb.ada/rec_return.exp: Same.
412 * gdb.ada/ref_tick_size.exp: Same.
413 * gdb.ada/str_ref_cmp.exp: Same.
414 * gdb.ada/taft_type.exp: Same.
415 * gdb.ada/tagged.exp: Same.
416 * gdb.ada/type_coercion.exp: Same.
417 * gdb.ada/uninitialized_vars.exp: Same.
418
60b6ede8
TV
4192019-10-30 Tom de Vries <tdevries@suse.de>
420
421 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
422
30baf67b
TV
4232019-10-26 Tom de Vries <tdevries@suse.de>
424
425 * gdb.base/bigcore.c: Fix typos in comments.
426 * gdb.base/ctf-ptype.c: Same.
427 * gdb.base/long_long.c: Same.
428 * gdb.dwarf2/dw2-op-out-param.S: Same.
429 * gdb.python/py-evthreads.c: Same.
430 * gdb.reverse/i387-stack-reverse.c: Same.
431 * gdb.trace/tfile.c: Same.
432 * lib/compiler.c: Same.
433 * lib/compiler.cc: Same.
434
158da0d1
TV
4352019-10-25 Tom de Vries <tdevries@suse.de>
436
437 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
438 gdb_test_multiple calls.
439 * gdb.reverse/sigall-reverse.exp: Same.
440 * gdb.reverse/solib-precsave.exp: Same.
441 * gdb.reverse/solib-reverse.exp: Same.
442 * gdb.reverse/until-precsave.exp: Same.
443 * gdb.reverse/until-reverse.exp: Same.
444
4ccdfbec
TV
4452019-10-24 Tom de Vries <tdevries@suse.de>
446
447 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
448 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
449 kfail using -wrap pattern flag and convenience variable
450 gdb_test_name.
451
33d569b7
AB
4522019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
453
454 * gdb.python/py-progspace.exp: Add tests for the
455 Progspace.block_for_pc method.
456
4d0b984b
TT
4572019-10-23 Tom Tromey <tom@tromey.com>
458
459 * configure: Rebuild.
460 * aclocal.m4: Use m4_include, not sinclude.
461
94cb3754
TV
4622019-10-21 Tom de Vries <tdevries@suse.de>
463
464 * gdb.base/infcall-nested-structs.c: Add
465 __attribute__((noinline,noclone)) to all functions.
466 (call_all): Add missing variable initialization. Simplify return value.
467 (breakpt): Increment volatile variable, to prevent call from being
468 optimized out.
469 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
470
062f1fc1
TV
4712019-10-17 Tom de Vries <tdevries@suse.de>
472
473 * gdb.fortran/module.exp: Allow info variables to print info for files
474 other than module.f90.
475
0b54364d
AB
4762019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
477
478 * gdb.fortran/module.exp: Extend with 'info variables' test.
479
7ff5fae7
AB
4802019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
481
482 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
483 F77_FOR_TARGET.
484
d10eccaa
TV
4852019-10-16 Tom de Vries <tdevries@suse.de>
486
487 PR tdep/25096
488 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
489
745ff14e
TV
4902019-10-16 Tom de Vries <tdevries@suse.de>
491
492 PR tdep/24104
493 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
494 Add KFAIL for PR tdep/25096.
495
03e1ab94
TV
4962019-10-16 Tom de Vries <tdevries@suse.de>
497
498 PR testsuite/25059
499 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
500
b17fcc10
TV
5012019-10-16 Tom de Vries <tdevries@suse.de>
502
503 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
504 as signed.
505
9223170f
SM
5062019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
507
508 * gdb.mi/list-thread-groups-available.exp: Read entries one by
509 one instead of increasing timeout.
510
d6e76313
TV
5112019-10-13 Tom de Vries <tdevries@suse.de>
512
513 PR record/25038
514 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
515 * gdb.reverse/sigall-reverse.exp: Same.
516 * gdb.reverse/solib-precsave.exp: Same.
517 * gdb.reverse/solib-reverse.exp: Same.
518 * gdb.reverse/step-precsave.exp: Same.
519 * gdb.reverse/until-precsave.exp: Same.
520 * gdb.reverse/until-reverse.exp: Same.
521 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
522
6dfc0041
AA
5232019-10-10 Andreas Arnez <arnez@linux.ibm.com>
524
525 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
526 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
527 (cmp_struct_05_01, cmp_struct_static_02_01)
528 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
529 comparisons.
530
abcf2cc8
TV
5312019-10-10 Tom de Vries <tdevries@suse.de>
532
533 PR testsuite/24888
534 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
535 gnatlink.
536
a50faaf6
TV
5372019-10-09 Tom de Vries <tdevries@suse.de>
538
539 PR testsuite/25048
540 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
541
60ff3cd7
AB
5422019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
543
544 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
545 exceptions due to missing debug information.
546
dfee8566
TV
5472019-10-07 Tom de Vries <tdevries@suse.de>
548
549 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
550
3d63690a
AB
5512019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
552
553 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
554 * gdb.base/annota1.exp: Update to use gdb_test_name.
555
30d1f018
WP
5562019-10-07 Weimin Pan <weimin.pan@oracle.com>
557
558 * gdb.base/ctf-whatis.exp: New file.
559 * gdb.base/ctf-whatis.c: New file.
560 * gdb.base/ctf-ptype.exp: New file.
561 * gdb.base/ctf-ptype.c: New file.
562 * gdb.base/ctf-constvars.exp: New file.
563 * gdb.base/ctf-constvars.c: New file.
564 * gdb.base/ctf-cvexpr.exp: New file.
565
4dbbb47c
TV
5662019-10-04 Tom de Vries <tdevries@suse.de>
567
568 * gdb.cp/local-static.c (main): Move declaration of int i out of the
569 for loop.
570
77c2dba3
TT
5712019-10-03 Tom Tromey <tom@tromey.com>
572
573 PR rust/24976:
574 * gdb.rust/simple.rs (Union2): New type.
575 (main): Use Union2.
576 * gdb.rust/simple.exp: Add test.
577
179aed7f
AB
5782019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
579
580 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
581 nested function prefix.
582
0a4b0913
AB
5832019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
584 Richard Bunt <richard.bunt@arm.com>
585 Andrew Burgess <andrew.burgess@embecosm.com>
586
587 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
588 nested functions.
589 * gdb.fortran/nested-funcs.f90: Update expected results.
590 * gdb.fortran/nested-funcs-2.exp: New file.
591 * gdb.fortran/nested-funcs-2.f90: New file.
592
082cce05
AB
5932019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
594
595 * gdb.python/py-parameter.exp: Make test names unique.
596 * gdb.python/py-template.exp: Likewise.
597 * gdb.python/py-value.exp: Likewise.
598
2b74ba5a
AB
5992019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
600
601 * gdb.base/break-interp.exp: Reduce test name duplication.
602 * gdb.base/call-sc.exp: Likewise.
603 * gdb.base/callfuncs.exp: Likewise.
604 * gdb.base/charset.exp: Likewise.
605 * gdb.base/dump.exp: Likewise.
606 * gdb.base/ena-dis-br.exp: Likewise.
607 * gdb.base/relational.exp: Likewise.
608 * gdb.base/step-over-syscall.exp: Likewise.
609 * gdb.base/structs.exp: Likewise.
610
58eb20d5
AB
6112019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
612
613 * gdb.linespec/explicit.exp: Make test names unique.
614 * gdb.linespec/ls-errs.exp: Likewise.
615
4d421147
AB
6162019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
617
618 * gdb.reverse/break-precsave.exp: Make test names unique.
619 * gdb.reverse/break-reverse.exp: Likewise.
620 * gdb.reverse/finish-precsave.exp: Likewise.
621 * gdb.reverse/finish-reverse.exp: Likewise.
622 * gdb.reverse/machinestate-precsave.exp: Likewise.
623 * gdb.reverse/machinestate.exp: Likewise.
624 * gdb.reverse/readv-reverse.exp: Likewise.
625 * gdb.reverse/recvmsg-reverse.exp: Likewise.
626 * gdb.reverse/sigall-precsave.exp: Likewise.
627 * gdb.reverse/sigall-reverse.exp: Likewise.
628 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
629 * gdb.reverse/watch-precsave.exp: Likewise.
630 * gdb.reverse/watch-reverse.exp: Likewise.
631
d8c06f22
AB
6322019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
633
634 * gdb.threads/stop-with-handle.c: New file.
635 * gdb.threads/stop-with-handle.exp: New file.
636
3a56ed86
TV
6372019-10-03 Tom de Vries <tdevries@suse.de>
638
639 PR testsuite/25059
640 * gdb.base/list-missing-source.exp: Allowing the "Compilation
641 directory" line to be missing.
642
42275044
TV
6432019-10-03 Tom de Vries <tdevries@suse.de>
644
645 PR testsuite/25059
646 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
647 type optional.
648
9ef62df0
AA
6492019-10-02 Andreas Arnez <arnez@linux.ibm.com>
650
651 * gdb.python/py-format-string.c (string.h): New include.
652 (main): Fill a_struct_with_union.the_union.an_int with bytes of
653 the same value, for endianness-independence.
654 * gdb.python/py-format-string.exp (default_regexp_dict)
655 (test_pretty_structs, test_format): Adjust expected output to the
656 changed initialization.
657
37f6a7f4
TT
6582019-10-02 Tom Tromey <tromey@adacore.com>
659
660 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
661
1d58d6a2
PA
6622019-10-02 Pedro Alves <palves@redhat.com>
663 Andrew Burgess <andrew.burgess@embecosm.com>
664
665 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
666 "print-file-var.h".
667 (this_version_id) Use ATTRIBUTE_VISIBILITY.
668 (get_version_1): Print this_version_id and its address.
669 Add extern "C" wrappers around interface functions.
670 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
671 "print-file-var.h".
672 (this_version_id) Use ATTRIBUTE_VISIBILITY.
673 (get_version_2): Print this_version_id and its address.
674 Add extern "C" wrappers around interface functions.
675 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
676 <stddef.h> and "print-file-var.h".
677 Add extern "C" wrappers around interface functions.
678 [VERSION_ID_MAIN] (this_version_id): Define.
679 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
680 * gdb.base/print-file-var.h: Add some #defines to simplify setting
681 up extern "C" blocks.
682 * gdb.base/print-file-var.exp (test): New, factored out from top
683 level.
684 (top level): Test all combinations of attribute hidden or not,
685 dlopen or not, and this_version_id symbol in main file or not.
686 Compile tests as both C++ and C, make test names unique.
687
d770d56f
TT
6882019-10-01 Tom Tromey <tom@tromey.com>
689
690 * gdb.base/style.exp: Test "show logging filename".
691
7f6aba03
TT
6922019-10-01 Tom Tromey <tom@tromey.com>
693
694 * lib/gdb-utils.exp (style): Handle "metadata" argument.
695 * gdb.base/style.exp: Add metadata style test.
696
14309bb6
TT
6972019-10-01 Tom Tromey <tom@tromey.com>
698
699 * gdb.base/style.exp: Test "pwd".
700
2a3c1174
PA
7012019-10-01 Tom Tromey <tom@tromey.com>
702
703 * gdb.base/style.exp: Update tests.
704
53d666ec
AA
7052019-10-01 Andreas Arnez <arnez@linux.ibm.com>
706
707 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
708 'six' to unsigned.
709 (s1): Initialize fields 'four' and 'six' instead of 'three' and
710 'five'. Use an all-ones bit pattern for each.
711 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
712 to its changed values.
713
4a56a520
TT
7142019-09-30 Tom Tromey <tromey@adacore.com>
715
716 * gdb.rust/traits.rs: Disable all warnings.
717
0df0352a
TV
7182019-09-29 Tom de Vries <tdevries@suse.de>
719
720 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
721
73d9a918
TV
7222019-09-29 Tom de Vries <tdevries@suse.de>
723
724 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
725
060b3ab4
TV
7262019-09-27 Tom de Vries <tdevries@suse.de>
727
728 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
729
68f7d34d
TV
7302019-09-27 Tom de Vries <tdevries@suse.de>
731
732 PR record/23188
733 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
734
5d63b30a
TT
7352019-09-26 Tom Tromey <tromey@adacore.com>
736
737 * gdb.ada/py_taft.exp: New file.
738 * gdb.ada/py_taft/main.adb: New file.
739 * gdb.ada/py_taft/pkg.adb: New file.
740 * gdb.ada/py_taft/pkg.ads: New file.
741
3d435220
TV
7422019-09-24 Tom de Vries <tdevries@suse.de>
743
744 PR gdb/24598
745 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
746
77d03678
TV
7472019-09-22 Tom de Vries <tdevries@suse.de>
748
749 * gdb.base/restore.exp: Allow register variables to be optimized out at
750 -O0.
751
abf516c6
UW
7522019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
753
754 * gdb.arch/spu-info.exp: Remove file.
755 * gdb.arch/spu-info.c: Remove file.
756 * gdb.arch/spu-ls.exp: Remove file.
757 * gdb.arch/spu-ls.c: Remove file.
758
759 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
760 * gdb.asm/spu.inc: Remove file.
761
762 * gdb.base/dump.exp: Remove support for spu*-*-*.
763 * gdb.base/stack-checking.exp: Likewise.
764 * gdb.base/overlays.exp: Likewise.
765 * gdb.base/ovlymgr.c: Likewise.
766 * gdb.base/spu.ld: Remove file.
767
768 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
769 * gdb.cp/cpexprs.exp: Likewise.
770 * gdb.cp/exception.exp: Likewise.
771 * gdb.cp/gdb2495.exp: Likewise.
772 * gdb.cp/mb-templates.exp: Likewise.
773 * gdb.cp/pr9167.exp: Likewise.
774 * gdb.cp/userdef.exp: Likewise.
775
776 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
777
778 * gdb.cell: Remove directory.
779 * lib/cell.exp: Remove file.
780
e452e88f
TV
7812019-09-19 Tom de Vries <tdevries@suse.de>
782
783 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
784
8a625130
TV
7852019-09-19 Tom de Vries <tdevries@suse.de>
786
787 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
788
81dc3ab5
TV
7892019-09-19 Tom de Vries <tdevries@suse.de>
790
791 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
792 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
793 (gdb_target_cmd): ... here.
794 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
795 value 2.
796
b078f3ac
AB
7972019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
798
799 * gdb.base/source-dir.exp: Avoid having directory names in test
800 names.
801
f1b620e9
MG
8022019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
803
804 * gdb.base/source-dir.exp: Add extra test for mapped compilation
805 directory.
806
67f3ed6a
AB
8072019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
808
809 * gdb.base/list-missing-source.exp: New file.
810
d1b70248
TV
8112019-09-14 Tom de Vries <tdevries@suse.de>
812
813 PR teststuite/24599
814 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
815 * lib/ada.exp (gnatmake_version_at_least): New proc.
816
5fabdcd6
AB
8172019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
818
819 * gdb.base/maint.exp: Use exec_has_index_section.
820
aa17805f
AB
8212019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
822
823 * gdb.base/maint.exp: Add test for 'maint info sections'.
824
25e5c209
TV
8252019-09-12 Tom de Vries <tdevries@suse.de>
826
827 * gdb.base/store.exp: Allow register variables to be optimized out at
828 -O0.
829
4993045d
PW
8302019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
831
832 * gdb.ada/rdv_wait.exp: Update to new task names.
833 * gdb.base/task_switch_in_core.exp: Likewise.
834 * gdb.base/info_sources_base.c: Likewise.
835
8a516164
TT
8362019-09-10 Tom Tromey <tromey@adacore.com>
837
838 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
839
aa391654
TT
8402019-09-10 Tom Tromey <tromey@adacore.com>
841
842 * gdb.ada/dgopt.exp: New file.
843 * gdb.ada/dgopt/x.adb: New file.
844
8634b462
TT
8452019-09-08 Tom Tromey <tom@tromey.com>
846
847 * gdb.tui/resize.exp: Remove setup_xfail.
848 * gdb.tui/regs.exp: Remove setup_xfail.
849 * gdb.tui/basic.exp: Remove setup_xfail.
850
736b0f76
DB
8512019-09-06 David Blaikie <dblaikie@gmail.com>
852
853 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
854 * gdb.cp/cplabel.exp: Ditto.
855 * gdb.linespec/ls-errs.exp: Ditto.
856
30331a6c
TV
8572019-09-05 Tom de Vries <tdevries@suse.de>
858
859 * lib/gdb.exp (cmp_file_string): New proc.
860 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
861 runto_main. Verify save breakpoints output.
862
98b0ebab
PW
8632019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
864
865 * gdb.base/info-var.exp: Test info variables without running
866 to main, to avoid expect's buffer overflow.
867
4e962e74
TT
8682019-09-03 Tom Tromey <tromey@adacore.com>
869
870 * gdb.ada/bias.exp: New file.
871 * gdb.ada/bias/bias.adb: New file.
872 * gdb.ada/print_chars.exp: Add regression test.
873 * gdb.ada/print_chars/foo.adb (My_Character): New type.
874 (MC): New variable.
875
2ea1a07a
SL
8762019-08-29 Sandra Loosemore <sandra@codesourcery.com>
877
878 * gdb.base/argv0-symlink.exp: Run only on native target
879 and local host.
880
8077c50d
TV
8812019-08-29 Tom de Vries <tdevries@suse.de>
882
883 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
884 diverse debug info.
885 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
886
48352473
TV
8872019-08-28 Tom de Vries <tdevries@suse.de>
888
889 * gdb.base/info-var.exp: Allow info variables to print info for files
890 other than info-var-f1.c and info-var-f2.c.
891
d8f27c60
AB
8922019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
893
894 * gdb.fortran/info-types.exp: Add module.
895 * gdb.fortran/info-types.f90: Update expected results.
896
1f20c35e
AB
8972019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
898
899 * gdb.fortran/info-types.exp: New file.
900 * gdb.fortran/info-types.f90: New file.
901 * lib/fortran.exp (fortran_character1): New proc.
902
4acfdd20
AB
9032019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
904
905 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
906 functions'. Reindent as needed.
907 * gdb.base/info-var-f1.c: New file.
908 * gdb.base/info-var-f2.c: New file.
909 * gdb.base/info-var.exp: New file.
910 * gdb.base/info-var.h: New file.
911
5c31b358
TV
9122019-08-26 Tom de Vries <tdevries@suse.de>
913
914 PR c++/24852
915 * gdb.cp/no-libstdcxx-probe.exp: New test.
916
b694989f
TV
9172019-08-26 Tom de Vries <tdevries@suse.de>
918
919 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
920 * tests need to be skipped.
921 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
922 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
923 mi_skip_libstdcxx_probe_tests.
924
d9c4ba53
SDJ
9252019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
926
927 * gdb.python/py-xmethods.exp: Use raw strings when passing
928 arguments to SimpleXMethodMatcher.
929
395fad09
TV
9302019-08-22 Tom de Vries <tdevries@suse.de>
931
932 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
933 more informative.
934
26c957f1
PA
9352019-08-21 Pedro Alves <palves@redhat.com>
936
937 * gdb.base/with.exp: Test "with" with no arguments.
938
61f80d5d
TV
9392019-08-21 Tom de Vries <tdevries@suse.de>
940
941 * gdb.base/gdb-caching-proc.exp: Sort files.
942
d7a11d13
TV
9432019-08-20 Tom de Vries <tdevries@suse.de>
944
945 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
946 compilation.
947
34dafe9f
TV
9482019-08-16 Tom de Vries <tdevries@suse.de>
949
950 * gdb.base/compare-sections.exp ("after run to main"): Allow
951 mismatched read-only sections for PIE executables.
952
398fdd60
TT
9532019-08-16 Tom Tromey <tom@tromey.com>
954
955 * lib/tuiterm.exp (_csi_Z): New proc.
956 * gdb.tui/basic.exp: Update window positions.
957 * gdb.tui/empty.exp: Update window positions.
958
d8f9e51c
SL
9592019-08-15 Sandra Loosemore <sandra@codesourcery.com>
960
961 * gdb.base/examine-backward.exp: Correct regexp for
962 "examine 3 bytes backward from ${address_zero}".
963
3df505f6
TT
9642019-08-15 Tom Tromey <tom@tromey.com>
965
966 * gdb.tui/empty.exp: Enable resizing tests.
967
272560b5
TT
9682019-08-15 Tom Tromey <tromey@adacore.com>
969
970 * gdb.ada/char_enum.exp: Add regression tests.
971 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
972 and '0'.
973 (Char, Gchar): Update.
974 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
975
08235187
CB
9762019-08-15 Christian Biesinger <cbiesinger@google.com>
977
978 * gdb.python/python.exp: Expect a leading underscore on
979 GdbOutput{,Error}File.
980
22a2ab04
SL
9812019-08-15 Sandra Loosemore <sandra@codesourcery.com>
982
983 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
984 Windows host.
985
835b995b
SL
9862019-08-15 Sandra Loosemore <sandra@codesourcery.com>
987
988 * gdb.base/batch-preserve-term-settings.exp
989 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
990
97dd8e07
CB
9912019-08-15 Christian Biesinger <cbiesinger@google.com>
992
993 * lib/gdb.exp: When running on a mingw target, replace
994 /x/ with x:/.
995
75faf5c4
AH
9962019-08-14 Alan Hayward <alan.hayward@arm.com>
997
998 * gdb.arch/aarch64-prologue.c: New test.
999 * gdb.arch/aarch64-prologue.exp: New file.
1000
abc6c00f
TV
10012019-08-13 Tom de Vries <tdevries@suse.de>
1002
1003 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1004 Thread.
1005
74c2c1f4
SL
10062019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1007
1008 * gdb.python/py-completion.exp: Download the .py file to the host
1009 and use its host pathname. Conditionalize tests that use
1010 tab completion and manipulate files on the build machine.
1011 * gdb.python/py-events.exp: Download the .py file to the host
1012 and use its host pathname.
1013 * gdb.python/py-evsignal.exp: Likewise.
1014 * gdb.python/py-evthreads.exp: Likewise.
1015 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1016 pathname syntax.
1017 * gdb.python/py-framefilter.exp: Download the .py file to the right
1018 place on the host. Match Windows pathname syntax.
1019 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1020 .py file to the host and use its host pathname.
1021 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1022 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1023 build pathname. Skip symlink test on Windows host. Add missing
1024 newline at end of file.
1025 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1026 and use its host pathname.
1027 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1028 * gdb.python/py-section-script.exp: Use host location of binfile
1029 on safe-path. Use correct path separator on Windows host.
1030 Reorder alternatives in gdb_test_multiple to prevent matching
1031 the wrong alternative on success.
1032 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1033
ca2589f3
PP
10342019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1035
1036 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1037 expect the GDB inferior to no longer immediately stop after
1038 being resumed with "signal SIGINT".
1039
020a839d
SL
10402019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1041
1042 * gdb.linespec/break-ask.exp: Generalize regexps to match
1043 Windows pathnames too.
1044
128d6509
TV
10452019-08-08 Tom de Vries <tdevries@suse.de>
1046
1047 PR testsuite/24862
1048 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1049
590042fc
PW
10502019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1051
1052 * gdb.base/style.exp: Update tests for help doc new invariants.
1053 * gdb.base/help.exp: Likewise.
1054
046bebe1
TT
10552019-08-06 Tom Tromey <tom@tromey.com>
1056
1057 * gdb.base/style.exp: Add disassemble test.
1058 * gdb.base/style.c (some_called_function): New function.
1059 (main): Use it.
1060
0b27c27d
CB
10612019-08-05 Christian Biesinger <cbiesinger@google.com>
1062
1063 * gdb.python/py-block.exp: Test dictionary access on blocks.
1064
580f1034
SM
10652019-08-05 Simon Marchi <simon.marchi@efficios.com>
1066
1067 PR gdb/24863
1068 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1069 -list-thread-groups --available test when running under
1070 check-read1.
1071
d86bd7cb
TV
10722019-08-05 Tom de Vries <tdevries@suse.de>
1073
1074 PR testsuite/24863
1075 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1076 * gdb.base/help.exp: Use with_read1_timeout_factor.
1077 * gdb.base/info-macros.exp: Same.
1078 * gdb.cp/nested-types.exp: Same.
1079
a80cf5d8
TV
10802019-08-05 Tom de Vries <tdevries@suse.de>
1081
1082 * lib/gdb.exp (version_at_least): Factor out of ...
1083 (tcl_version_at_least): ... here.
1084 (gdb_compile): Fail if pie results in non-PIE executable.
1085 (readelf_version, readelf_prints_pie): New proc.
1086 (exec_is_pie): Return -1 if unknown.
1087
d0962838
TV
10882019-08-05 Tom de Vries <tdevries@suse.de>
1089
1090 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1091
2252ff3d
SL
10922019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1093
1094 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1095
26655f53
SL
10962019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1097
1098 * lib/completion-support.exp (test_gdb_complete_none): Skip
1099 tab completion tests if no readline support.
1100 (test_gdb_complete_unique_re): Likewise.
1101 (test_gdb_complete_multiple): Likewise.
1102
db4dc13e
PW
11032019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1104
1105 * gdb.base/info_sources.exp: New file.
1106 * gdb.base/info_sources.c: New file.
1107 * gdb.base/info_sources_base.c: New file.
1108
0eba165a
PFC
11092019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1110
1111 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1112 prefix argument.
1113 (test_exit_status): Add prefix argument.
1114
59bd512b
TV
11152019-08-01 Tom de Vries <tdevries@suse.de>
1116
1117 PR testsuite/24863
1118 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1119 calling exp_continue for new thread and thread exited messages.
1120
2a3ad588
TV
11212019-08-01 Tom de Vries <tdevries@suse.de>
1122
1123 PR testsuite/24863
1124 * gdb.base/structs.exp: Fix check-read1 timeout using
1125 gdb_test_sequence.
1126 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1127
117eb594
TV
11282019-08-01 Tom de Vries <tdevries@suse.de>
1129
1130 PR testsuite/24863
1131 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1132 line.
1133
ed591340
TV
11342019-08-01 Tom de Vries <tdevries@suse.de>
1135
1136 PR testsuite/24863
1137 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1138
aa3b6533
TT
11392019-07-30 Tom Tromey <tromey@adacore.com>
1140
1141 * gdb.ada/display_nested.exp: New file.
1142 * gdb.ada/display_nested/foo.adb: New file.
1143 * gdb.ada/display_nested/pack.adb: New file.
1144 * gdb.ada/display_nested/pack.ads: New file.
1145
2906593f
CB
11462019-07-30 Christian Biesinger <cbiesinger@google.com>
1147
1148 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1149 namespace.
1150 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1151
0f575925
TV
11522019-07-30 Tom de Vries <tdevries@suse.de>
1153
1154 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1155 instead.
1156
b13057d9
TV
11572019-07-30 Tom de Vries <tdevries@suse.de>
1158
1159 PR testsuite/24834
1160 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1161 (exec_is_pie): New proc.
1162
5c4dde85
CB
11632019-07-29 Christian Biesinger <cbiesinger@google.com>
1164
1165 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1166
c620ed88
CB
11672019-07-29 Christian Biesinger <cbiesinger@google.com>
1168
1169 * gdb.python/py-objfile.c: Add global and static vars.
1170 * gdb.python/py-objfile.exp: Test new functions Objfile.
1171 lookup_global_symbol and lookup_static_symbol.
1172
3d235706
TT
11732019-07-29 Tom Tromey <tom@tromey.com>
1174
1175 * lib/tuiterm.exp (Term::_csi_@): New proc.
1176 (Term::_csi_X): Don't move cursor.
1177
c7e4c0a6
PW
11782019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1179
1180 * gdb.base/options.exp: Update backtrace - completion to
1181 new option -frame-info.
1182 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1183 Test new 'set print frame-info'. Test backtrace -frame-info
1184 overriding 'set print frame-info'.
1185 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1186 Test new 'set print frame-info'.
1187 Verify consistency of backtrace with and without filters, with and
1188 without -no-filters.
1189 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1190 default.
1191
de28a3b7
TV
11922019-07-29 Tom de Vries <tdevries@suse.de>
1193
1194 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1195 no arguments".
1196
507dd60e
TV
11972019-07-29 Tom de Vries <tdevries@suse.de>
1198
1199 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1200 is a substring of the first for "complete non-unique file name".
1201
5beafce9
TV
12022019-07-29 Tom de Vries <tdevries@suse.de>
1203
1204 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1205 with ".*".
1206
2d274232
TV
12072019-07-29 Tom de Vries <tdevries@suse.de>
1208
1209 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1210 Pass prompt_regexp parameter to gdb_test_multiple calls.
1211
9197cd8b
TV
12122019-07-29 Tom de Vries <tdevries@suse.de>
1213
1214 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1215 print registers" regexps.
1216
b528dae0
TV
12172019-07-29 Tom de Vries <tdevries@suse.de>
1218
1219 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1220
d17725d7
TV
12212019-07-29 Tom de Vries <tdevries@suse.de>
1222
1223 PR gdb/24855
1224 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1225 (skip_python_tests_prompt): Add prompt_regexp argument to
1226 gdb_test_multiple calls.
1227
52b75bf1
TT
12282019-07-27 Tom Tromey <tom@tromey.com>
1229
1230 * gdb.tui/main.exp: New file.
1231
2b1d00c2
TT
12322019-07-27 Tom Tromey <tom@tromey.com>
1233
1234 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1235 optional.
1236 * gdb.tui/empty.exp: New file.
1237
ded631d5
TT
12382019-07-27 Tom Tromey <tom@tromey.com>
1239
1240 * lib/tuiterm.exp (spawn): New proc.
1241 (Term::resize): New proc.
1242 * gdb.tui/resize.exp: New file.
1243
58ac439d
TT
12442019-07-27 Tom Tromey <tom@tromey.com>
1245
1246 * gdb.tui/list.exp: New file.
1247
fe1f56ee
TT
12482019-07-27 Tom Tromey <tom@tromey.com>
1249
1250 * gdb.tui/regs.exp: New file.
1251
f790b310
TT
12522019-07-27 Tom Tromey <tom@tromey.com>
1253
1254 * gdb.tui/basic.exp: Add "layout split" test.
1255
d95fc6ee
TT
12562019-07-27 Tom Tromey <tom@tromey.com>
1257
1258 * gdb.tui/basic.exp: Add "layout asm" test.
1259
c3786b3a
TT
12602019-07-27 Tom Tromey <tom@tromey.com>
1261
1262 * lib/tuiterm.exp: New file.
1263 * gdb.tui/basic.exp: New file.
1264
98a617f8
KB
12652019-07-27 Kevin Buettner <kevinb@redhat.com>
1266
1267 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1268 Enable tests associated with this flag. Adjust regex
1269 referencing "foo_low" to now refer to "foo_cold" instead.
1270
5c076da4
KB
12712019-07-27 Kevin Buettner <kevinb@redhat.com>
1272
1273 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1274 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1275 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1276 foo_cold. Revise comments to match.
1277 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1278 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1279 were wrapped into this proc; Call do_test in loop from outermost
1280 level.
1281 (foo_low): Rename all occurrences to "foo_cold".
1282 (backtrace from baz): New test.
1283 (x2/i foo_cold): New test.
1284 (info line *foo_cold): New test.
1285
1512d3b7
TV
12862019-07-26 Tom de Vries <tdevries@suse.de>
1287
1288 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1289
297989a1
TV
12902019-07-25 Tom de Vries <tdevries@suse.de>
1291
1292 PR testsuite/24830
1293 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1294 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1295 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1296 (skip_libstdcxx_probe_tests): ... here.
1297 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1298
b3b965fb
TV
12992019-07-24 Tom de Vries <tdevries@suse.de>
1300
1301 PR testsuite/24807
1302 * gdb.objc/basicclass.m: Include stdio.h.
1303 * gdb.objc/nondebug.m: Same.
1304 * gdb.objc/objcdecode.m: Same.
1305
4625b4d0
TV
13062019-07-24 Tom de Vries <tdevries@suse.de>
1307
1308 PR testsuite/24612
1309 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1310 additional_flags.
1311
024a5840
TV
13122019-07-24 Tom de Vries <tdevries@suse.de>
1313
1314 PR testsuite/24831
1315 * gdb.multi/tids.exp: Update error messages for info threads.
1316
c76ddaa3
TV
13172019-07-24 Tom de Vries <tdevries@suse.de>
1318
1319 * gdb.base/info-types.exp: Allow info types to print info for more than
1320 one file.
1321
9a618ef6
TV
13222019-07-23 Tom de Vries <tdevries@suse.de>
1323
1324 PR testsuite/24842
1325 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1326 gdb_spawn_with_cmdline_opts.
1327
40eadf04
SP
13282019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1329
1330 * gdb.arch/arm-cmse-sgstubs.c: New test.
1331 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1332
5ba29434
TV
13332019-07-23 Tom de Vries <tdevries@suse.de>
1334
1335 PR testsuite/24711
1336 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1337 issuing next command.
1338
a8e9d247
AB
13392019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1340
1341 * gdb.ada/info_auto_lang.exp: Update expected results.
1342 * gdb.base/info-types.c: Add additional types to check.
1343 * gdb.base/info-types.exp: Update expected results.
1344
eb86c5e2
AB
13452019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1346
1347 * gdb.base/info-types.c: New file.
1348 * gdb.base/info-types.exp: New file.
1349
01e175fe
AB
13502019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1351
1352 * gdb.arch/riscv-bp-infcall.c: New file.
1353 * gdb.arch/riscv-bp-infcall.exp: New file.
1354
6b78c3f8
AB
13552019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1356
1357 PR breakpoints/24541
1358 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1359
da738167
TV
13602019-07-14 Tom de Vries <tdevries@suse.de>
1361
1362 PR testsuite/24760
1363 * gdb.objc/basicclass.exp: Fix unterminated string.
1364
0d4e84ed
AB
13652019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1366 Andrew Burgess <andrew.burgess@embecosm.com>
1367
1368 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1369 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1370 negative bounds.
1371 * gdb.fortran/vla-value.exp: Print elements of an array with
1372 negative bounds.
1373 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1374 testing.
1375
021d8588
AB
13762019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1377
1378 * gdb.base/options.exp (expect_string): Dequote strings in
1379 results.
1380 (test-string): Test strings with different quoting and reindent.
1381
f06f1252
TT
13822019-07-10 Tom Tromey <tromey@adacore.com>
1383
1384 * gdb.ada/mi_ex_cond.exp: Update expected results.
1385 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1386 * gdb.ada/mi_catch_ex.exp: Update expected results.
1387 * gdb.ada/mi_catch_assert.exp: Update expected results.
1388 * gdb.ada/catch_ex.exp (catch_exception_info)
1389 (catch_exception_entry, catch_assert_entry)
1390 (catch_unhandled_entry): Update.
1391 * gdb.ada/catch_assert_if.exp: Update expected results.
1392
b863685d
RB
13932019-07-10 Richard Bunt <richard.bunt@arm.com>
1394 Stephen Roberts <stephen.roberts@arm.com>
1395
1396 * gdb.base/define.exp: Restore original prompt.
1397
cb1e4e32
PA
13982019-07-09 Pedro Alves <palves@redhat.com>
1399
1400 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1401 breakpoints" output.
1402 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1403 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1404 throw" creates breakpoint.
1405 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1406 'type="catchpoint"'.
1407
b58a68fe
PA
14082019-07-09 Pedro Alves <palves@redhat.com>
1409
1410 PR c++/15468
1411 * gdb.cp/except-multi-location-lib.cc: New.
1412 * gdb.cp/except-multi-location-main.cc: New.
1413 * gdb.cp/except-multi-location.exp: New.
1414
0826779b
PW
14152019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1416
1417 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1418 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1419 argument and update callers.
1420
5b0e2db4
AB
14212019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1422
1423 * gdb.arch/amd64-break-on-asm-line.S: New file.
1424 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1425
1f6f6e21
PW
14262019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1427
1428 * gdb.base/printcmds.exp: Test printing C string and
1429 C wide string convenience vars without transiting via the inferior.
1430 Also make test names unique.
1431
ea142fbf
AH
14322019-07-08 Alan Hayward <alan.hayward@arm.com>
1433
5862c886 1434 PR breakpoints/25011
ea142fbf
AH
1435 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1436
213fd9fa
PA
14372019-07-04 Pedro Alves <palves@redhat.com>
1438
1439 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1440 body returned ok(0), break(3) or continue(4).
1441 * gdb.testsuite/foreach_with_prefix.exp: New file.
1442
2b40fda7
AH
14432019-07-04 Alan Hayward <alan.hayward@arm.com>
1444
1445 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1446
a26c8de0
PA
14472019-07-03 Pedro Alves <palves@redhat.com>
1448
1449 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1450 "return -code".
1451
5f4ba3e7
PA
14522019-07-03 Pedro Alves <palves@redhat.com>
1453
1454 PR cli/24732
1455 * gdb.base/shell.exp: Load completion-support.exp.
1456 Adjust expected error output. Add completion tests.
1457
a994424f
PA
14582019-07-03 Pedro Alves <palves@redhat.com>
1459
1460 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1461 string_to_regexp.
1462
3d9be6f5
PA
14632019-07-03 Pedro Alves <palves@redhat.com>
1464
1465 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1466 (expect_integer): Adjust to expect "-string".
1467 (expect_string): New.
1468 (all_options): Expect "-string".
1469 (test-flag, test-boolean): Adjust to expect "-string".
1470 (test-string): New proc.
1471 (top level): Call it.
1472
41fc454c
PA
14732019-07-03 Pedro Alves <palves@redhat.com>
1474
1475 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1476 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1477 the expected output in the success.
1478
b2b2a215
PA
14792019-07-03 Pedro Alves <palves@redhat.com>
1480
1481 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1482 Split one gdb_test_multiple call in two to avoid a race.
1483
fdbc9870
PA
14842019-07-03 Pedro Alves <palves@redhat.com>
1485
1486 * gdb.base/with.c: New file.
1487 * gdb.base/with.exp: New file.
1488
c6ac8931
PA
14892019-07-03 Pedro Alves <palves@redhat.com>
1490
1491 * gdb.base/settings.exp: Replace all references to "maint
1492 test-settings set" with references to "maint set test-settings",
1493 and all references to "maint test-settings show" with references
1494 to "maint show test-settings".
1495
970f9d09
PA
14962019-07-03 Pedro Alves <palves@redhat.com>
1497
1498 * gdb.base/settings.exp (test-string): Adjust expected out when
1499 testing "maint test-settings show filename"
1500
54d66006
PA
15012019-07-02 Pedro Alves <palves@redhat.com>
1502
1503 * gdb.base/options.exp (test-info-threads): New procedure.
1504 (top level): Call it.
1505
10d06d82
TT
15062019-06-28 Tom Tromey <tromey@adacore.com>
1507
1508 * gdb.dwarf2/ada-linkage-name.c: New file.
1509 * gdb.dwarf2/ada-linkage-name.exp: New file.
1510
3d507ff2
TT
15112019-06-27 Tom Tromey <tromey@adacore.com>
1512
d039f014 1513 PR c++/20020:
3d507ff2
TT
1514 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1515
8af58ffe
TV
15162019-06-26 Tom de Vries <tdevries@suse.de>
1517
1518 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1519
22e21752
TV
15202019-06-26 Tom de Vries <tdevries@suse.de>
1521
1522 * gdb.base/index-cache.exp: Add back missing debug option.
1523
b65b566c
PW
15242019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1525
1526 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1527
5c2c8c69
TV
15282019-06-25 Tom de Vries <tdevries@suse.de>
1529
1530 PR testsuite/24727
1531 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1532
164e3873
TV
15332019-06-24 Tom de Vries <tdevries@suse.de>
1534
1535 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1536
824eacee
TV
15372019-06-24 Tom de Vries <tdevries@suse.de>
1538
1539 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1540 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1541 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1542
385b97d3
TV
15432019-06-24 Tom de Vries <tdevries@suse.de>
1544
1545 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1546
c596f180
TV
15472019-06-21 Tom de Vries <tdevries@suse.de>
1548
1549 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1550
b13a7d03
TV
15512019-06-21 Tom de Vries <tdevries@suse.de>
1552
1553 PR testsuite/24518
1554 PR ada/24713
1555 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1556 index.
1557
899277ae
TT
15582019-06-19 Tom Tromey <tromey@adacore.com>
1559
1560 * gdb.ada/length_cond.exp: Add intro comment.
1561
680e1bee
TT
15622019-06-19 Tom Tromey <tromey@adacore.com>
1563
1564 * gdb.ada/length_cond.exp: New file.
1565 * gdb.ada/length_cond/length_cond.adb: New file.
1566 * gdb.ada/length_cond/pck.adb: New file.
1567 * gdb.ada/length_cond/pck.ads: New file.
1568
0ed4690a
TV
15692019-06-18 Tom de Vries <tdevries@suse.de>
1570
1571 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1572
d20ed5fd
TT
15732019-06-18 Tom Tromey <tromey@adacore.com>
1574
1575 * gdb.base/list0.h: Add comment explaining control character.
1576
86e04673
TV
15772019-06-18 Tom de Vries <tdevries@suse.de>
1578
1579 * boards/fission.exp: Break up long debug_flags line.
1580
c4973306
SM
15812019-06-16 Tom de Vries <tdevries@suse.de>
1582
1583 PR gdb/24445
1584 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1585 generated index.
1586
93cb9841
AB
15872019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1588
1589 PR gdb/24686
1590 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1591 improve detection of bug gdb/24541.
1592
399aaebd
SM
15932019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1594
1595 PR gdb/24669
1596 * gdb.base/index-cache.exp (uses_readnow,
1597 expecting_index_cache_use): Define global variable.
1598 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1599 expecting_index_cache_use.
1600
584a927c
AB
16012019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1602 Andrew Burgess <andrew.burgess@embecosm.com>
1603
1604 * gdb.fortran/pointers.f90: New file.
1605 * gdb.fortran/print_type.exp: New file.
1606 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1607 * gdb.fortran/vla-type.exp: Likewise.
1608 * gdb.fortran/vla-value.exp: Likewise.
1609 * gdb.mi/mi-vla-fortran.exp: Likewise.
1610
30056ea0
AB
16112019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1612
1613 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1614 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1615 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1616 as a stop reason.
1617
ec8e2b6d
AB
16182019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1619
1620 * gdb.base/annota1.exp: Update expected results.
1621 * gdb.cp/annota2.exp: Likewise.
1622 * gdb.cp/annota3.exp: Likewise.
1623
09e4c4e1
AB
16242019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1625
1626 * gdb.base/style-logging.exp: Remove path from test name.
1627
0735b091
TT
16282019-06-14 Tom Tromey <tromey@adacore.com>
1629
1630 PR gdb/24502:
1631 * gdb.base/style-logging.exp: New file.
1632
f5686554
TT
16332019-06-14 Tom Tromey <tromey@adacore.com>
1634
1635 * gdb.base/symfile-warn.exp: New file.
1636 * gdb.base/symfile-warn.c: New file.
1637
a0c1ffed
TT
16382019-06-14 Tom Tromey <tromey@adacore.com>
1639
1640 * gdb.base/annotate-symlink.exp: New file.
1641
f411722c
TT
16422019-06-14 Tom Tromey <tromey@adacore.com>
1643
1644 * gdb.ada/set_wstr.exp: Add reassignment test.
1645
4268ec18
TT
16462019-06-14 Tom Tromey <tromey@adacore.com>
1647
1648 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1649 'unchecked_access and 'unrestricted_access as well.
1650
9a9e394b
TT
16512019-06-14 Tom Tromey <tromey@adacore.com>
1652
1653 PR ada/24539:
1654 * gdb.ada/vla.exp: Update tests.
1655 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1656 pragma.
1657
4c048731
PA
16582019-06-13 Pedro Alves <palves@redhat.com>
1659
1660 * gdb.base/settings.exp (test-integer): Test junk after
1661 "unlimited".
1662
6665660a
PA
16632019-06-13 Pedro Alves <palves@redhat.com>
1664
1665 * gdb.base/options.exp (test-thread-apply): New.
1666 (top level): Call it.
1667
5d707134
PA
16682019-06-13 Pedro Alves <palves@redhat.com>
1669
1670 * gdb.base/options.exp (test-frame-apply): New.
1671 (top level): Test print commands with different "frame apply"
1672 prefixes.
1673
e2a689da
PA
16742019-06-13 Pedro Alves <palves@redhat.com>
1675
e79be6e5 1676 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
1677 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1678 'max_completions' parameter and handle it.
1679 (test_gdb_completion_offers_commands): New.
1680
90a1ef87
PA
16812019-06-13 Pedro Alves <palves@redhat.com>
1682
1683 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1684
d4c16835
PA
16852019-06-13 Pedro Alves <palves@redhat.com>
1686
1687 * gdb.base/options.exp (test-backtrace): New.
1688 (top level): Call it.
1689
2daf894e
PA
16902019-06-13 Pedro Alves <palves@redhat.com>
1691
1692 * gdb.guile/scm-frame-args.exp: Use "set print
1693 raw-frame-arguments" instead of "set print raw frame-arguments".
1694 * gdb.python/py-frame-args.exp: Likewise.
1695
e6ed716c
PA
16962019-06-13 Pedro Alves <palves@redhat.com>
1697
1698 * gdb.compile/compile.exp: Adjust expected output to option
1699 processing changes.
1700
7d8062de
PA
17012019-06-13 Pedro Alves <palves@redhat.com>
1702
1703 * gdb.base/options.exp: Build executable.
1704 (test-print): New procedure.
1705 (top level): Call it, once for "print" and another for "compile
1706 print".
1707
9d0faba9
PA
17082019-06-13 Pedro Alves <palves@redhat.com>
1709
1710 * gdb.base/options.c: New file.
1711 * gdb.base/options.exp: New file.
1712
dee7b4c8
PA
17132019-06-13 Pedro Alves <palves@redhat.com>
1714
1715 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1716 that "o" is ambiguous.
1717
dca0f6c0
PA
17182019-06-13 Pedro Alves <palves@redhat.com>
1719
1720 * gdb.base/settings.c: New file.
1721 * gdb.base/settings.exp: New file.
1722
ccf46844
PA
17232019-06-13 Pedro Alves <palves@redhat.com>
1724
1725 * gdb.base/completion.exp: Fix comment typo.
1726
b9a3f842
PA
17272019-06-13 Pedro Alves <palves@redhat.com>
1728
1729 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1730 foo --1" test.
1731
d106773e
PA
17322019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1733
1734 * gdb.fortran/block-data.f: New.
1735 * gdb.fortran/block-data.exp: New.
1736
fea82da0
TV
17372019-06-11 Tom de Vries <tdevries@suse.de>
1738
1739 PR testsuite/24521
1740 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1741 message.
1742
8c2e74f1
TV
17432019-06-11 Tom de Vries <tdevries@suse.de>
1744
1745 PR testsuite/24521
1746 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1747
b49851c8
TV
17482019-06-11 Tom de Vries <tdevries@suse.de>
1749
1750 * boards/readnow.exp: New file.
1751
a7067863
AB
17522019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1753
1754 * gdb.fortran/vla-sizeof.exp: Update expected results.
1755
1a3da2cd
AB
17562019-06-06 Amos Bird <amosbird@gmail.com>
1757
1758 * gdb.base/annota1.exp (thread_switch): Add test for
1759 thread-exited annotation.
1760
3847a7bf
TT
17612019-06-06 Tom Tromey <tromey@adacore.com>
1762
1763 * gdb.base/maint.exp: Expect command started/finished output.
1764
0088ba59
AB
17652019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1766
1767 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1768 comment.
1769 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1770
312617a3
AB
17712019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1772
1773 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1774 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1775 * gdb.arch/riscv-unwind-long-insn.c: New file.
1776 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1777
e1f2e1a2
CB
17782019-06-04 Christian Biesinger <cbiesinger@google.com>
1779
d3238f7d 1780 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 1781
206584bd
PW
17822019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1783
1784 * lib/gdb.exp (help_list_trailer): New regexp variable
1785 factorizing the help trailer message.
1786 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1787 arg to allow to better factorize various tests.
1788 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1789 (test_prefix_command_help): Use help_list_trailer.
1790 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1791 * gdb.guile/scm-cmd.exp: Likewise.
1792 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1793 * gdb.base/help.exp: Use test_user_defined_class_help.
1794 * gdb.base/style.exp: Add tests for styling of help and apropos.
1795 * lib/gdb-utils.exp (style): Add title and highlight styles.
1796
708dc93e
PW
17972019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1798
1799 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1800 $_shell_exitsignal.
1801 * gdb.base/default.exp: Update for new convenience variables.
1802
f49055a5
TT
18032019-05-29 Tom Tromey <tromey@adacore.com>
1804
1805 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1806 to "break complete ada" test case's regexp.
1807
4330d61d
TT
18082019-05-29 Tom Tromey <tromey@adacore.com>
1809
1810 PR c++/20020:
1811 * gdb.cp/constexpr-field.exp: New file.
1812 * gdb.cp/constexpr-field.cc: New file.
1813
000439d5
TT
18142019-05-29 Tom Tromey <tromey@adacore.com>
1815
1816 * gdb.base/finish.exp (finish_no_print): New proc.
1817 (finish_tests): Call it.
1818
5a01c34c
TV
18192019-05-24 Tom de Vries <tdevries@suse.de>
1820
1821 * gdb.dwarf2/gdb-add-index.exp: New file.
1822
18125b16
TT
18232019-05-22 Tom Tromey <tromey@adacore.com>
1824
1825 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1826 * gdb.base/style.exp: Use "style".
1827 * lib/gdb-utils.exp (style): New proc.
1828
af1a8d03
TV
18292019-05-22 Tom de Vries <tdevries@suse.de>
1830
1831 * gdb.base/align.exp: Require c++11.
1832
e7fe496b
TV
18332019-05-22 Tom de Vries <tdevries@suse.de>
1834
1835 PR testsuite/24586
1836 * gdb.python/py-mi-var-info-path-expression.exp: Call
1837 mi_skip_python_tests to check if python is supported.
1838
8fca4da0
AH
18392019-05-22 Alan Hayward <alan.hayward@arm.com>
1840
1841 * gdb.arch/aarch64-pauth.c: New test.
1842 * gdb.arch/aarch64-pauth.exp: New file.
1843
b7060614
AH
18442019-05-22 Alan Hayward <alan.hayward@arm.com>
1845
1846 * README (Re-running Tests Outside The Testsuite): New section.
1847
669d0468
TV
18482019-05-21 Tom de Vries <tdevries@suse.de>
1849
1850 * gdb.arch/amd64-eval.exp: Require c++11.
1851 * gdb.base/max-depth.exp: Same.
1852 * gdb.compile/compile-cplus-array-decay.exp: Same.
1853 * gdb.cp/meth-typedefs.exp: Same.
1854 * gdb.cp/subtypes.exp: Same.
1855 * gdb.cp/temargs.exp: Same.
1856
ce3ebcaa
AH
18572019-05-21 Alan Hayward <alan.hayward@arm.com>
1858
1859 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1860
34d11c68
AB
18612019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1862
1863 PR gdb/18644
1864 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1865 * gdb.fortran/printing-types.exp: Add new test.
1866 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1867 testing.
1868 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1869 setup_kfail call.
1870
87781e84
AH
18712019-05-17 Alan Hayward <alan.hayward@arm.com>
1872
1873 * README (Running the Testsuite): Change example.
1874 (Testsuite Parameters): Remove TRANSCRIPT.
1875 * lib/gdb.exp: Remove TRANSCRIPT check.
1876
b420b89e
AH
18772019-05-17 Alan Hayward <alan.hayward@arm.com>
1878
1879 * README (Testsuite Parameters): Add replay logging to
1880 GDBSERVER_DEBUG.
1881 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1882 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1883 as a comma separated list.
1884 (gdb_debug_init): Override procedure.
1885
408e9b8b
AH
18862019-05-17 Alan Hayward <alan.hayward@arm.com>
1887
1888 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1889 (gdb_write_cmd_file): New procedure.
1890 * lib/gdbserver-support.exp (gdbserver_start): Call
1891 gdbserver_write_cmd_file.
1892 (gdbserver_write_cmd_file): New procedure.
1893
f9e2e39d
AH
18942019-05-17 Alan Hayward <alan.hayward@arm.com>
1895
1896 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1897 (delete_breakpoints): Likewise.
1898 (gdb_run_cmd): Likewise.
1899 (gdb_start_cmd): Likewise.
1900 (gdb_starti_cmd): Likewise.
1901 (gdb_internal_error_resync): Likewise.
1902 (gdb_test_multiple): Likewise.
1903 (gdb_reinitialize_dir): Likewise.
1904 (default_gdb_exit): Likewise.
1905 (gdb_file_cmd): Mark kill as optional.
1906 (default_gdb_start): Call gdb_stdin_log_init.
1907 (send_gdb): Call gdb_stdin_log_write.
1908 (rerun_to_main): Mark Y as an answer.
1909 (gdb_stdin_log_init): New function.
1910 (gdb_stdin_log_write): Likewise.
1911
81f47ac2
AH
19122019-05-17 Alan Hayward <alan.hayward@arm.com>
1913
1914 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1915 * gdb.base/debug-expr.exp: Likewise.
1916 * gdb.base/foll-fork.exp: Likewise.
1917 * gdb.base/foll-vfork.exp: Likewise.
1918 * gdb.base/fork-print-inferior-events.exp: Likewise.
1919 * gdb.base/gdb-sigterm.exp: Likewise.
1920 * gdb.base/gdbinit-history.exp: Likewise.
1921 * gdb.base/osabi.exp: Likewise.
1922 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1923 * gdb.base/ui-redirect.exp: Likewise.
1924 * gdb.gdb/unittest.exp: Likewise.
1925 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1926 * gdb.mi/mi-watch.exp: Likewise.
1927 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1928 * gdb.mi/user-selected-context-sync.exp: Likewise.
1929 * gdb.python/python.exp: Disable debug test when debugging.
1930 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1931 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1932 Likewise.
1933 * gdb.threads/stepi-random-signal.exp: Likewise.
1934
29b52314
AH
19352019-05-17 Alan Hayward <alan.hayward@arm.com>
1936
1937 * Makefile.in: Pass through GDB_DEBUG.
1938 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
1939 (gdb,debug): Add board setting.
1940 * lib/gdb.exp (default_gdb_start): Start debugging.
1941 (gdb_debug_enabled): New procedure.
1942 (gdb_debug_init): Likewise.
29b52314
AH
1943
19442019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 1945
29b52314
AH
1946 * Makefile.in: Pass through GDB_DEBUG.
1947 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
1948 (gdb,debug): Add board setting.
1949 * lib/gdb.exp (default_gdb_start): Start debugging.
1950 (gdb_debug_enabled): New procedure.
1951 (gdb_debug_init): Likewise.
29b52314 1952
ca1285d1
AH
19532019-05-17 Alan Hayward <alan.hayward@arm.com>
1954
1955 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1956
f3a09c80
AH
19572019-05-17 Alan Hayward <alan.hayward@arm.com>
1958
1959 * gdb.base/ui-redirect.exp: Test redirection.
1960
26648588
JV
19612019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1962
1963 * gdb.mi/mi-complete.exp: New file.
1964 * gdb.mi/mi-complete.cc: Likewise.
1965
14237686
AB
19662019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1967
1968 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1969 indexed and sliced arrays, and pointers to arrays.
1970
e7bd7fba
TT
19712019-05-14 Tom Tromey <tromey@adacore.com>
1972
1973 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1974 styling test.
1975
2764128d
TV
19762019-05-14 Tom de Vries <tdevries@suse.de>
1977
1978 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1979 selection entry encoding.
1980
71bed2db
TT
19812019-05-10 Tom Tromey <tromey@adacore.com>
1982
1983 * gdb.ada/info_exc.exp: Add "complete" test.
1984
63b667ad
TV
19852019-05-09 Tom de Vries <tdevries@suse.de>
1986
1987 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1988 CU-relative.
1989
9cfd2b89
TV
19902019-05-09 Tom de Vries <tdevries@suse.de>
1991
1992 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1993 CU-relative.
1994
2228ef77
XR
19952019-05-08 Joel Brobecker <brobecker@adacore.com>
1996
1997 * gdb.ada/frame_arg_lang.exp: New testcase.
1998 * gdb.ada/frame_arg_lang/bla.adb: New file.
1999 * gdb.ada/frame_arg_lang/pck.ads: New file.
2000 * gdb.ada/frame_arg_lang/pck.adb: New file.
2001 * gdb.ada/frame_arg_lang/foo.c: New file.
2002
80e55b13
TT
20032019-05-08 Tom Tromey <tromey@adacore.com>
2004
2005 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2006
9d3421af
TT
20072019-05-08 Tom Tromey <tromey@adacore.com>
2008
2009 * gdb.base/ptype-offsets.exp: Update tests.
2010
844333e2
TT
20112019-05-08 Tom Tromey <tromey@adacore.com>
2012
2013 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2014 cases.
2015 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2016 "short".
2017
988915ee
TT
20182019-05-08 Tom Tromey <tromey@adacore.com>
2019
2020 * gdb.ada/vla.exp: New file.
2021 * gdb.ada/vla/vla.adb: New file.
2022
7bd55dac
TV
20232019-05-07 Tom de Vries <tdevries@suse.de>
2024
2025 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2026
75f06e9d
TV
20272019-05-07 Tom de Vries <tdevries@suse.de>
2028
2029 PR testsuite/24522
2030 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2031 section.
2032
77e7aaa4
TV
20332019-05-07 Tom de Vries <tdevries@suse.de>
2034
2035 PR testsuite/24522
2036 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2037 .debug_aranges section.
2038
456ba0fa
TV
20392019-05-07 Tom de Vries <tdevries@suse.de>
2040
2041 PR testsuite/24159
2042 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2043
5a56d6a6
TV
20442019-05-06 Tom de Vries <tdevries@suse.de>
2045
2046 * lib/gdb.exp (exec_has_index_section): New proc.
2047 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2048 section.
2049
9d6d4be8
TV
20502019-05-04 Tom de Vries <tdevries@suse.de>
2051
2052 * boards/cc-with-debug-names.exp: New file.
2053
222a8d25
TT
20542019-05-03 Tom Tromey <tromey@adacore.com>
2055
2056 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2057 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2058 * gdb.ada/char_enum.exp: Add test.
2059
0fdfd794
TV
20602019-05-03 Tom de Vries <tdevries@suse.de>
2061
2062 * boards/cc-with-gdb-index.exp: New file.
2063
80062eb9
AB
20642019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2065
2066 * gdb.rust/simple.exp: Add new test case.
2067 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2068 (main): Initialise an instance of the new struct.
2069
4504bbde
TT
20702019-05-01 Tom Tromey <tromey@adacore.com>
2071
2072 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2073 record.
2074 (NPR): New variable.
2075 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2076 test.
2077
d48e62f4
TT
20782019-05-01 Tom Tromey <tromey@adacore.com>
2079
2080 * gdb.ada/packed_array_assign.exp: Add packed assignment
2081 regression test.
2082
f59f30f5
TV
20832019-05-01 Tom de Vries <tdevries@suse.de>
2084
2085 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2086
b70bfc54
TV
20872019-05-01 Tom de Vries <tdevries@suse.de>
2088
2089 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2090
15f18d14
AT
20912019-04-30 Ali Tamur <tamur@google.com>
2092
2093 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2094
2ff0a947
TT
20952019-04-30 Tom Tromey <tromey@adacore.com>
2096
2097 * lib/ada.exp (find_ada_tool): New proc.
2098 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2099 * gdb.ada/catch_ex_std.exp: New file.
2100 * gdb.ada/catch_ex_std/foo.adb: New file.
2101 * gdb.ada/catch_ex_std/some_package.adb: New file.
2102 * gdb.ada/catch_ex_std/some_package.ads: New file.
2103
a776957c
TT
21042019-04-30 Tom Tromey <tromey@adacore.com>
2105
2106 PR c++/24470:
2107 * gdb.cp/temargs.cc: Add test code from PR.
2108
bc68014d
AB
21092019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2110
2111 * gdb.fortran/vla-datatypes.exp: Update expected results.
2112 * gdb.fortran/vla-ptype.exp: Likewise.
2113 * gdb.fortran/vla-type.exp: Likewise.
2114 * gdb.fortran/vla-value.exp: Likewise.
2115
f1fdc960
AB
21162019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2117
2118 * gdb.fortran/ptr-indentation.exp: Update expected results.
2119 * gdb.fortran/ptype-on-functions.exp: Likewise.
2120 * gdb.fortran/vla-ptr-info.exp: Likewise.
2121 * gdb.fortran/vla-value.exp: Likewise.
2122
bf7a4de1
AB
21232019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2124
2125 * gdb.fortran/ptype-on-functions.exp: New file.
2126 * gdb.fortran/ptype-on-functions.f90: New file.
2127
bbe75b9d
AB
21282019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2129
2130 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2131 case void string.
2132
1db455a7
AB
21332019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2134
2135 * gdb.fortran/complex.exp: Expand.
2136 * gdb.fortran/complex.f: Renamed to...
2137 * gdb.fortran/complex.f90: ...this, and extended to add more
2138 complex values.
2139
b6d03bb2
AB
21402019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2141
2142 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2143 MODULO, CMPLX.
2144
2e62ab40
AB
21452019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2146 Richard Bunt <richard.bunt@arm.com>
2147
2148 * gdb.base/max-depth.c: New file.
2149 * gdb.base/max-depth.exp: New file.
2150 * gdb.python/py-nested-maps.c: New file.
2151 * gdb.python/py-nested-maps.exp: New file.
2152 * gdb.python/py-nested-maps.py: New file.
2153 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2154 (test_all_common): Call test_max_depth.
2155 * gdb.fortran/max-depth.exp: New file.
2156 * gdb.fortran/max-depth.f90: New file.
2157 * gdb.go/max-depth.exp: New file.
2158 * gdb.go/max-depth.go: New file.
2159 * gdb.modula2/max-depth.exp: New file.
2160 * gdb.modula2/max-depth.c: New file.
2161 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2162
d2b584a5
TV
21632019-04-29 Tom de Vries <tdevries@suse.de>
2164
2165 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2166
136afab8
PW
21672019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2168
2169 * gdb.base/callexit.exp: Test may-call-functions off.
2170
725cbb63
KS
21712019-04-25 Keith Seitz <keiths@redhat.com>
2172
2173 PR c++/24367
2174 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2175 (another_incomplete_struct, test_incomplete): New definitions.
2176 (main): Use new definitions.
2177 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2178 functions.
2179
82433e3e
SDJ
21802019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2181
2182 PR corefiles/11608
2183 PR corefiles/18187
2184 * gdb.base/coredump-filter-build-id.exp: New file.
2185
dd06d4d6
AH
21862019-04-25 Alan Hayward <alan.hayward@arm.com>
2187
e79be6e5
SM
2188 * Makefile.in: Pass through GDBSERVER_DEBUG.
2189 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2190 (gdbserver,debug): Add board setting.
2191 * gdb.trace/tspeed.exp: Skip when debugging.
2192 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2193 * lib/gdbserver-support.exp: Likewise
dd06d4d6 2194
1670072e
TT
21952019-04-24 Tom Tromey <tromey@adacore.com>
2196
2197 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2198 Rust.
2199
a59240a4
TT
22002019-04-24 Tom Tromey <tromey@adacore.com>
2201
2202 * gdb.arch/amd64-eval.exp: Test bitfield return.
2203 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2204 (class Foo) <return_bitfields>: New method.
2205 (main): Call it.
2206
b907456c
AB
22072019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2208
2209 * gdb.cp/many-args.cc: New file.
2210 * gdb.cp/many-args.exp: New file.
2211
5c565afd
TV
22122019-04-23 Tom de Vries <tdevries@suse.de>
2213
2214 PR gdb/24433
2215 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2216
ba22ff86
AH
22172019-04-23 Alan Hayward <alan.hayward@arm.com>
2218
2219 * gdb.trace/backtrace.exp: Use nopie flag.
2220 * gdb.trace/circ.exp: Likewise.
2221 * gdb.trace/collection.exp: Likewise.
2222 * gdb.trace/ftrace.exp: Likewise.
2223 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2224 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2225 * gdb.trace/qtro.exp: Likewise.
2226 * gdb.trace/read-memory.exp: Likewise.
2227 * gdb.trace/report.exp: Likewise.
2228 * gdb.trace/tfile.exp: Likewise.
2229 * gdb.trace/tfind.exp: Likewise.
2230 * gdb.trace/unavailable.exp: Likewise.
2231
7905fc35
PA
22322019-04-22 Pedro Alves <palves@redhat.com>
2233
2234 * gdb.base/solib-probes-nosharedlibrary.c,
2235 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2236
8ecb59f8
TT
22372019-04-19 Tom Tromey <tromey@adacore.com>
2238
2239 * gdb.ada/ptype_union.c: New file.
2240 * gdb.ada/ptype_union.exp: New file.
2241
62160ec9
TT
22422019-04-19 Tom Tromey <tromey@adacore.com>
2243
2244 PR symtab/24423:
2245 * gdb.base/list0.h (foo): Add a control-l character.
2246
36cd4ba5
TV
22472019-04-18 Tom de Vries <tdevries@suse.de>
2248
2249 PR gdb/24433
2250 * boards/local-board.exp: Set sysroot to "".
2251
b73715df
TV
22522019-04-18 Tom de Vries <tdevries@suse.de>
2253 Pedro Alves <palves@redhat.com>
2254
2255 PR gdb/24454
2256 * gdb.threads/vfork-follow-child-exec.c: New file.
2257 * gdb.threads/vfork-follow-child-exec.exp: New file.
2258 * gdb.threads/vfork-follow-child-exit.c: New file.
2259 * gdb.threads/vfork-follow-child-exit.exp: New file.
2260
4aa866af
LS
22612019-04-15 Leszek Swirski <leszeks@google.com>
2262
2263 * gdb.arch/amd64-eval.cc: New file.
2264 * gdb.arch/amd64-eval.exp: New file.
2265
e5a1a79a
AH
22662019-04-11 Alan Hayward <alan.hayward@arm.com>
2267
2268 * gdb.server/sysroot.c: New test.
2269 * gdb.server/sysroot.exp: New file.
2270 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2271 matching param.
2272
41077b66
AB
22732019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2274
2275 * gdb.base/align.exp: Extend test to cover structures containing
2276 only static fields.
2277
c30391f8
TV
22782019-04-11 Tom de Vries <tdevries@suse.de>
2279
2280 * boards/cc-with-dwz-m.exp: New file.
2281 * boards/cc-with-dwz.exp: New file.
2282 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2283
e242fd12
SM
22842019-04-09 Simon Marchi <simon.marchi@efficios.com>
2285
2286 * gdb.base/start-cpp.exp: New file.
2287 * gdb.base/start-cpp.cc: New file.
2288
2b0c8b01
KB
22892019-04-08 Kevin Buettner <kevinb@redhat.com>
2290
2291 * gdb.python/py-thrhandle.exp: Adjust tests to call
2292 thread_from_handle instead of thread_from_thread_handle.
2293
947210e5
KB
22942019-04-08 Kevin Buettner <kevinb@redhat.com>
2295
2296 * gdb.python/py-thrhandle.exp: Add tests for
2297 gdb.InferiorThread.handle.
2298
d7df6549
AB
22992019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2300
2301 * gdb.python/py-function.exp: Check calling helper function from
2302 all languages.
2303 * lib/gdb.exp (gdb_supported_languages): New proc.
2304
8bdc1658
AB
23052019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2306
2307 * gdb.base/complex-parts.c: New file.
2308 * gdb.base/complex-parts.exp: New file.
2309
05caa1d2
TT
23102019-04-01 Tom Tromey <tromey@adacore.com>
2311
2312 PR symtab/23331:
2313 * gdb.dwarf2/dw2-ranges-main.c: New file.
2314 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2315 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2316
7734102d
EZ
23172019-03-30 Simon Marchi <simark@simark.ca>
2318
2319 * gdb.base/default.exp: Add values for $_gdb_major and
2320 $_gdb_minor.
2321
188e1fa9
TT
23222019-03-29 Tom Tromey <tromey@adacore.com>
2323
2324 * gdb.base/help.exp: Tighten apropos regexp.
2325
2880242d
KS
23262019-03-29 Keith Seitz <keiths@redhat.com>
2327
2328 * gdb.fortran/array-bounds.exp: New file.
2329 * gdb.fortran/array-bounds.f90: New file.
2330
077cad8e
PW
23312019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2332
2333 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2334
80047cfc
PW
23352019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2336
2337 * gdb.multi/hello.c (main): Increase alarm timer.
2338
f489207e
SL
23392019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2340
2341 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2342 factor when no hardware watchpoint support.
2343
c92df149
AH
23442019-03-28 Alan Hayward <alan.hayward@arm.com>
2345 Pedro Alves <palves@redhat.com>
2346
2347 * boards/local-board.exp: set sysroot to /.
2348
933aebfa
AH
23492019-03-27 Alan Hayward <alan.hayward@arm.com>
2350
2351 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2352 in child.
2353
9f9aa852
AB
23542019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2355
2356 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2357 field.
2358 (make_container): Initialise new field.
2359 * gdb.python/py-prettyprint.exp: Add new tests.
2360 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2361 <display_hint>: New method.
2362
3714a195
AB
23632019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2364
2365 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2366 gdb_continue_to_breakpoint more throughout this test.
2367 (run_lang_tests) Supply unique test names, and use
2368 gdb_test_no_output.
2369
18c77628
AB
23702019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2371
2372 * gdb.base/finish-pretty.exp: Update expected results.
2373 * gdb.base/pretty-print.c: New file.
2374 * gdb.base/pretty-print.exp: New file.
2375
9a93502f
PA
23762019-03-25 Pedro Alves <palves@redhat.com>
2377
2378 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2379 move comments outside list. Append '-i "" eof' section.
2380
968aa7ae
AH
23812019-03-22 Alan Hayward <alan.hayward@arm.com>
2382
34a7f2a4 2383 PR testsuite/25016
968aa7ae
AH
2384 * README: Add pie options.
2385 * gdb.base/break-interp.exp: Ensure pie is disabled.
2386 * gdb.base/dump.exp: Likewise.
2387 * lib/gdb.exp (gdb_compile): Add pie option.
2388
4c7d57e7
TT
23892019-03-19 Tom Tromey <tromey@adacore.com>
2390
2391 * gdb.mi/mi2-cli-display.c: New file.
2392 * gdb.mi/mi2-cli-display.exp: New file.
2393
bff8c71f
TT
23942019-03-18 Joel Brobecker <brobecker@adacore.com>
2395 Tom Tromey <tromey@adacore.com>
2396
2397 * gdb.ada/ptype_array/pck.adb: New file.
2398 * gdb.ada/ptype_array/pck.ads: New file.
2399 * gdb.ada/ptype_array/foo.adb: New file.
2400 * gdb.ada/ptype_array.exp: New file.
2401
d085f989
TT
24022019-03-14 Tom Tromey <tromey@adacore.com>
2403
2404 * gdb.base/style.exp: Add "set style sources" test.
2405
b4be1b06
SM
24062019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2407
2408 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2409 * mi-breakpoint-multiple-locations.exp: ... this.
2410 (make_breakpoints_pattern): New proc.
2411 (do_test): Add mi_version parameter, test -break-insert,
2412 -break-info and =breakpoint-created.
2413
7cde5fc2
AB
24142019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2415
2416 * config/default.exp: Remove 'load_lib gdb.exp'.
2417 * config/monitor.exp: Likewise.
2418 * config/sid.exp: Likewise.
2419 * config/sim.exp: Likewise.
2420 * config/slite.exp: Likewise.
2421 * config/unix.exp: Likewise.
2422 * gdb.base/default.exp: Remove unhelpful comment.
2423
efbecbc1
AB
24242019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2425
2426 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2427
0841c79a
AB
24282019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2429
2430 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2431
4a270568
AB
24322019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2433
2434 * gdb.fortran/type-kinds.exp: Update expected results.
2435
067630bd
AB
24362019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2437
2438 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2439
3be47f7a
AB
24402019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2441
2442 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2443 function.
2444 (test_basic_parsing_of_type_kinds): Expand types tested.
2445 (test_parsing_invalid_type_kinds): New function.
2446
4d00f5d8
AB
24472019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2448
2449 * gdb.fortran/intrinsics.exp: New file.
2450 * gdb.fortran/intrinsics.f90: New file.
2451 * gdb.fortran/type-kinds.exp: New file.
2452
c8f91604
AB
24532019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2454
2455 * gdb.fortran/dot-ops.exp: New file.
2456
dd9f2c76
AB
24572019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2458
2459 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2460 Check upper and lower case logical literals.
2461
84ec9724
AB
24622019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2463
2464 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2465 Remove duplicate tests.
2466
c3734e09
AH
24672019-03-06 Alan Hayward <alan.hayward@arm.com>
2468
2469 * lib/gdb.exp (builtin_cd): rename of cd.
2470 (cd): Override builtin.
2471
aa3cfbda
RB
24722019-03-06 Richard Bunt <richard.bunt@arm.com>
2473
2474 * gdb.fortran/function-calls.exp: New file.
2475 * gdb.fortran/function-calls.f90: New test.
2476
7b63ad86
RB
24772019-03-04 Richard Bunt <richard.bunt@arm.com>
2478
2479 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2480 on user program standard output.
2481 * gdb.fortran/short-circuit-argument-list.f90: Record function
2482 calls.
2483
01abb042
AH
24842019-02-28 Alan Hayward <alan.hayward@arm.com>
2485
c3734e09
AH
2486 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2487 failure.
01abb042 2488
92137da0
RO
24892019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2490
2491 PR gdb/8527
2492 * gdb.base/interrupt-daemon-attach.c,
2493 gdb.base/interrupt-daemon-attach.exp: New test.
2494
5862844d
PA
24952019-02-27 Pedro Alves <palves@redhat.com>
2496
2497 * gdb.base/page.exp: Add tests for "set width/height -1".
2498
8ed25214
PA
24992019-02-27 Pedro Alves <palves@redhat.com>
2500
2501 * gdb.base/page.exp: Add tests for "set/show width/height" with
2502 "infinite" values.
2503
6c28e44a
TT
25042019-02-27 Tom Tromey <tromey@adacore.com>
2505
2506 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2507 2.4.
2508 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2509 workaround.
2510
bf9a735e
AB
25112019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2512
2513 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2514 tests for structs with static members.
2515
8791793c
TT
25162019-02-26 Tom Tromey <tromey@adacore.com>
2517
2518 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2519 ValueError, not TypeError.
2520
bc2a507e
KB
25212019-02-26 Kevin Buettner <kevinb@redhat.com>
2522
2523 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2524 call from main program.
2525
e0e7d3bd
JB
25262019-02-23 Joel Brobecker <brobecker@adacore.com>
2527
2528 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2529 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2530 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2531 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2532 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2533
9600246d
KS
25342019-02-22 Keith Seitz <keiths@redhat.com>
2535
2536 PR symtab/23853
2537 * gdb.base/symlink-sourcefile.c: New file.
2538 * gdb.base/symlink-sourcefile.exp: New file.
2539
0c95f9ed
TT
25402019-02-20 Tom Tromey <tom@tromey.com>
2541
2542 * gdb.base/info_qt.exp: Update.
2543
6caa91b6
SM
25442019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2545
2546 * gdb.base/source.exp: Move "error in sourced script" code to
2547 the end.
2548 * gdb.base/source-error.gdb: Move contents to
2549 source-error-1.gdb. Add new code to source source-error-1.gdb.
2550 * gdb.base/source-error-1.gdb: New file, from previous
2551 source-error.gdb.
2552
6506371f
TT
25532019-02-17 Tom Tromey <tom@tromey.com>
2554
2555 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2556 for macro styling.
2557 * gdb.base/style.c (SOME_MACRO): New macro.
2558
a0087920
TT
25592019-02-17 Tom Tromey <tom@tromey.com>
2560
2561 * gdb.base/style.exp: Add line-wrapping tests.
2562 * gdb.base/page.exp: Add test for quitting during pagination.
2563
a2cd4f14
JB
25642019-02-17 Joel Brobecker <brobecker@adacore.com>
2565
2566 * gdb.ada/big_packed_array: New testcase.
2567 * gdb.ada/homonym.exp: Fix incorrect expected output for
2568 "break <homonym__get_value>" test.
2569
9d70ffbc
WP
25702019-02-13 Weimin Pan <weimin.pan@oracle.com>
2571
2572 PR breakpoints/21870
2573 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2574 and prepare_for_testing. Add comment.
2575 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2576 redundant cleanup call. Clean up comment.
2577
01c7ae81
WP
25782019-02-12 Weimin Pan <weimin.pan@oracle.com>
2579
2580 PR breakpoints/21870
2581 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2582 * gdb.arch/aarch64-dbreg-contents.c: New file.
2583
aff29d1c
JB
25842019-02-10 Joel Brobecker <brobecker@adacore.com>
2585
2586 * gdb.ada/mi_ref_changeable: New testcase.
2587
df0da8a2
AH
25882019-02-07 Alan Hayward <alan.hayward@arm.com>
2589
2590 * gdb.base/attach.exp: Add double attach test.
2591
bd447abb
SM
25922019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2593
2594 * lib/gdb.exp (default_gdb_start): Don't match pagination
2595 prompt.
2596 (gdb_init): Set stty_init.
2597
1dbc40b9
TT
25982019-01-27 Tom Tromey <tom@tromey.com>
2599
2600 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2601 skip_python_tests.
2602
353229bf
AH
26032019-01-24 Alan Hayward <alan.hayward@arm.com>
2604
2605 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2606 New structure.
2607 (struct struct_static_02_02): Likewise.
2608 (struct struct_static_02_03): Likewise.
2609 (struct struct_static_02_04): Likewise.
2610 (struct struct_static_04_01): Likewise.
2611 (struct struct_static_04_02): Likewise.
2612 (struct struct_static_04_03): Likewise.
2613 (struct struct_static_04_04): Likewise.
2614 (struct struct_static_06_01): Likewise.
2615 (struct struct_static_06_02): Likewise.
2616 (struct struct_static_06_03): Likewise.
2617 (struct struct_static_06_04): Likewise.
2618 (cmp_struct_static_02_01): Likewise.
2619 (cmp_struct_static_02_02): Likewise.
2620 (cmp_struct_static_02_03): Likewise.
2621 (cmp_struct_static_02_04): Likewise.
2622 (cmp_struct_static_04_01): Likewise.
2623 (cmp_struct_static_04_02): Likewise.
2624 (cmp_struct_static_04_03): Likewise.
2625 (cmp_struct_static_04_04): Likewise.
2626 (cmp_struct_static_06_01): Likewise.
2627 (cmp_struct_static_06_02): Likewise.
2628 (cmp_struct_static_06_03): Likewise.
2629 (cmp_struct_static_06_04): Likewise.
2630 (call_all): Test new structs.
2631 * gdb.base/infcall-nested-structs.exp: Likewise.
2632
73021deb
AH
26332019-01-21 Alan Hayward <alan.hayward@arm.com>
2634 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2635
fc65c7db
AH
26362019-01-21 Alan Hayward <alan.hayward@arm.com>
2637 * gdb.base/stack-protector.c: New test.
2638 * gdb.base/stack-protector.exp: New file.
2639 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2640 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2641 option.
2642 (gdb_compile): Remove stack protector for GCC and prevent
2643 recursion.
2644
c24bdb02
KS
26452019-01-16 Keith Seitz <keiths@redhat.com>
2646
2647 PR gdb/23773
2648 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2649
6f072a10
PFC
26502019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2651
2652 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2653 aliases.
2654 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2655 tests.
2656 * gdb.arch/powerpc-vector-regs.c: New file.
2657 * gdb.arch/powerpc-vector-regs.exp: New file.
2658
a7b8d682
PFC
26592019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2660
2661 * gdb.arch/altivec-regs.exp: Fix the list passed to
2662 gdb_expect_list when testing "info vector".
2663
6eb6fb67
AB
26642019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2665
2666 * gdb.base/style.exp: Don't include path in testname.
2667
b56f80d8
KS
26682019-01-10 Keith Seitz <keiths@redhat.com>
2669
2670 PR gdb/23712
2671 PR symtab/23010
2672 * gdb.dwarf2/multidictionary.exp: New file.
2673
041be526
SM
26742019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2675
2676 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2677 (test_gnuv3_style_demangling): ... this.
2678 (test_lucid_style_demangling): Remove.
2679 (test_arm_style_demangling): Remove.
2680 (test_hp_style_demangling): Remove.
2681 (do_tests): Remove calls to the above.
2682
d820d0c3
AB
26832019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2684
2685 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2686 case.
2687
f097f5ad
TT
26882019-01-06 Tom Tromey <tom@tromey.com>
2689
2690 PR gdb/28155:
2691 * gdb.dwarf2/typedef-void-finish.exp: New file.
2692
2cd8cc0b
TT
26932018-12-28 Tom Tromey <tom@tromey.com>
2694 Simon Marchi <simark@simark.ca>
2695
2696 * gdb.base/jit-exec.exp: New file.
2697 * gdb.base/jit-exec.c: New file.
2698 * gdb.base/jit-execd.c: New file.
2699
35fb8261
TT
27002018-12-28 Tom Tromey <tom@tromey.com>
2701
2702 * gdb.base/style.exp: Update test to check for address styling.
2703
47fd17cd
TT
27042018-12-28 Tom Tromey <tom@tromey.com>
2705
2706 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2707 message.
2708
d47032b7
TT
27092018-12-28 Tom Tromey <tom@tromey.com>
2710
2711 * gdb.base/style.exp: Add test for version number styling.
2712
af79b68d
TT
27132018-12-28 Tom Tromey <tom@tromey.com>
2714
2715 * gdb.base/style.exp: Add test for print_address_symbolic.
2716
0bb296cb
TT
27172018-12-28 Tom Tromey <tom@tromey.com>
2718
2719 * gdb.base/style.exp: Add test for breakpoint setting.
2720
80ae2043
TT
27212018-12-28 Tom Tromey <tom@tromey.com>
2722
2723 * gdb.base/style.exp: Add test for variable names.
2724
cbe56571
TT
27252018-12-28 Tom Tromey <tom@tromey.com>
2726
2727 * gdb.base/style.exp: New file.
2728 * gdb.base/style.c: New file.
2729
9162a27c
TT
27302018-12-28 Tom Tromey <tom@tromey.com>
2731
2732 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2733 "dumb".
2734 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2735 the TERM environment variable.
2736
bc543c90
TT
27372018-12-27 Tom Tromey <tom@tromey.com>
2738
2739 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2740 pagination test.
2741
6f0ffe50
AB
27422018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2743
2744 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2745 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2746
b5a1e557
PW
27472018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2748
2749 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2750 Filename a.adb changed to bp_fun_addr.adb.
2751 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2752
6e8b1ab2
JV
27532018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2754
2755 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2756 non-PIE executables.
2757 * README: Mention the gdb,nopie_flag board setting.
2758 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2759 non-PIE executable.
2760 * gdb.arch/amd64-entry-value.exp: Likewise.
2761 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2762 * gdb.arch/i386-float.exp: Likewise.
2763 * gdb.arch/i386-signal.exp: Likewise.
2764 * gdb.mi/mi-reg-undefined.exp: Likewise.
2765
d00a27c5
PM
27662018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2767
2768 PR gdb/23974
2769 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2770
161d081c
PW
27712018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2772
2773 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2774 Update order of results accordingly.
2775
b001de23
AB
27762018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2777
2778 * gdb.base/annota1.exp: Update a test regexp.
2779
99e1a184
AB
27802018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2781
2782 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2783
7a81c1e2
PW
27842018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2785
2786 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2787 (reuse_time): Initialize to REUSE_TIME_CAP.
2788 (check_rc): New function.
2789 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2790 Check pthread_create rc.
2791 (spawner_thread_func): Check pthread_create and pthread_join rc.
2792
73e8dc90
PA
27932018-12-08 Pedro Alves <palves@redhat.com>
2794
2795 * gdb.base/list.exp (test_forward_search): Rename to ...
2796 (test_forward_reverse_search): ... this. Also test reverse-search
2797 and the forward-search alias.
2798
13f2ed32
AB
27992018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2800
2801 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2802 local timeout variable before return, and remove all local timeout
2803 variable entirely.
2804 (gdb_load): Likewise.
2805
64d27cfc
TV
28062018-12-01 Tom de Vries <tdevries@suse.de>
2807
2808 * gdb.base/gdb-caching-proc.exp: New file.
2809
f63c03b4
SDJ
28102018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2811
2812 * Makefile.in (TIMESTAMP): New variable.
2813 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2814 command.
2815 (check-single-racy): Likewise.
2816 (check/%.exp): Likewise.
2817 (check-racy/%.exp): Likewise.
2818 (workers/%.worker): Likewise.
2819 (build-perf): Likewise.
2820 (check-perf): Likewise.
2821 * README: Describe new "TS" and "TS_FORMAT" variables.
2822 * print-ts.py: New file.
2823
1c97054b
BF
28242018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2825
2826 PR python/23714
2827 * gdb.python/python.exp: Test command repetition after
2828 gdb.execute.
2829
1871a62d
AB
28302018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2831
2832 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2833 is correctly aligned.
2834
fb5e1ed9
PW
28352018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2836
2837 * gdb.ada/info_auto_lang.exp: New testcase.
2838 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2839 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2840 * gdb.ada/info_auto_lang/some_c.c: New file.
2841
43d397ca
PW
28422018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2843
2844 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2845 FUNC_lang language syntax.
2846
beddd671
PW
28472018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2848
2849 * gdb.base/info_minsym.c: New file.
2850 * gdb.base/info_minsym.exp: New file.
2851
73fc52c4
TT
28522018-11-19 Tom Tromey <tom@tromey.com>
2853
2854 PR rust/23625:
2855 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2856 * gdb.rust/expr.exp: Update expected output. Change one test.
2857
994b876a
TT
28582018-11-19 Tom Tromey <tom@tromey.com>
2859
2860 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2861
6769f276
PA
28622018-11-19 Pedro Alves <palves@redhat.com>
2863
2864 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2865 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2866 see the expected warning.
2867
38a72da0
AH
28682018-11-16 Alan Hayward <alan.hayward@arm.com>
2869
2870 PR gdb/22736:
2871 * gdb.cp/infcall-nodebug-lib.c: New test.
2872 * gdb.cp/infcall-nodebug-main.c: New test.
2873 * gdb.cp/infcall-nodebug.exp: New file.
2874
53a89d6e
SM
28752018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2876
2877 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2878 completer tests.
2879
9325300d
TV
28802018-11-09 Tom de Vries <tdevries@suse.de>
2881
2882 * gdb.base/msym-lang.c: New test.
2883 * gdb.base/msym-lang.exp: New file.
2884 * gdb.base/msym-lang-main.c: New test.
2885
20f0d60d
TT
28862018-11-08 Tom Tromey <tom@tromey.com>
2887
2888 PR gdb/23555:
2889 PR gdb/23838:
2890 * gdb.base/warning.exp: New file.
2891
b5420128
JB
28922018-11-08 Jan Beulich <jbeulich@suse.com>
2893
2894 * testsuite/gdb.arch/i386-avx512.c,
2895 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2896
cd115d61
AB
28972018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2898
2899 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2900 point hardware.
2901
35ee2dc2
AB
29022018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2903
2904 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2905 * gdb.dwarf2/missing-type-name.exp: New file.
2906
31aceee8
TV
29072018-11-06 Tom de Vries <tdevries@suse.de>
2908
2909 * gdb.base/many-headers.c: New test.
2910 * gdb.base/many-headers.exp: New file.
2911
109be305
JW
29122018-11-06 Jim Wilson <jimw@sifive.com>
2913
2914 * gdb.base/code_elim.exp: For riscv, set additional_flags
2915 to include -msmall-data-limit=0.
2916
e2b7af72
JB
29172018-11-01 Joel Brobecker <brobecker@adacore.com>
2918
2919 * gdb.ada/watch_minus_l: New testcase.
2920
cdcda965
SM
29212018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2922
2923 * gdb.arch/aix-sighandle.c: New file.
2924 * gdb.arch/aix-sighandle.exp: New file.
2925
92dcebf3
AB
29262018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2927
2928 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2929 registers being unions.
2930
68b9ac18
TV
29312018-10-31 Tom de Vries <tdevries@suse.de>
2932
2933 * lib/valgrind.exp: New file.
2934 (vgdb_start, vgdb_stop): New procs, factored out of ...
2935 * gdb.base/valgrind-bt.exp: ... here, ...
2936 * gdb.base/valgrind-disp-step.exp: ... here and ...
2937 * gdb.base/valgrind-infcall.exp: ... here.
2938
1443936e
TV
29392018-10-31 Tom de Vries <tdevries@suse.de>
2940
2941 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2942
eb77c9df
AB
29432018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2944
2945 * gdb.dwarf2/void-type.c: New file.
2946 * gdb.dwarf2/void-type.exp: New file.
2947
82b5e646
PW
29482018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2949
2950 * gdb.base/info_qt.c: New file.
2951 * gdb.base/info_qt.exp: New file.
2952
8d619c01
EBM
29532018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2954
2955 * gdb.arch/powerpc-htm-regs.c: New file.
2956 * gdb.arch/powerpc-htm-regs.exp: New file.
2957
f2cf6173
EBM
29582018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2959
2960 * gdb.arch/powerpc-tar.c: New file.
2961 * gdb.arch/powerpc-tar.exp: New file.
2962
7ca18ed6
EBM
29632018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2964
2965 * gdb.arch/powerpc-ppr-dscr.c: New file.
2966 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2967
bfcc0eba
TV
29682018-10-25 Tom de Vries <tdevries@suse.de>
2969
2970 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2971
fe1a5cad
TV
29722018-10-24 Tom de Vries <tdevries@suse.de>
2973
2974 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2975 longer exists error.
2976
a76dc3b7
TV
29772018-10-24 Tom de Vries <tdevries@suse.de>
2978
2979 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2980
4df46df7
TV
29812018-10-24 Tom de Vries <tdevries@suse.de>
2982
2983 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2984 --db-attach in valgrind.
2985
0dbfcfff
AB
29862018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2987
2988 * gdb.arch/riscv-reg-aliases.c: New file.
2989 * gdb.arch/riscv-reg-aliases.exp: New file.
2990
b04480b1
AH
29912018-10-19 Alan Hayward <alan.hayward@arm.com>
2992
2993 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2994
2c6ac8d7
AH
29952018-10-19 Alan Hayward <alan.hayward@arm.com>
2996
2997 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2998
2bc69f25
AH
29992018-10-19 Alan Hayward <alan.hayward@arm.com>
3000
3001 * gdb.cp/ovldbreak.exp: Fix regexps.
3002
1f1ae3a3
AH
30032018-10-19 Alan Hayward <alan.hayward@arm.com>
3004
3005 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3006
94c18618
SDJ
30072018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3008
3009 PR cli/23785
3010 * gdb.base/restore.exp: New test to check if "restore" with an
3011 invalid file doesn't segfault.
3012
812cd6eb
TV
30132018-10-18 Tom de Vries <tdevries@suse.de>
3014
3015 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3016 * gdb.ada/excep_handle.exp: Same.
3017 * gdb.ada/mi_string_access.exp: Same.
3018 * gdb.ada/mi_var_union.exp: Same.
3019 * gdb.arch/arc-analyze-prologue.exp: Same.
3020 * gdb.arch/arc-decode-insn.exp: Same.
3021 * gdb.base/readnever.exp: Same.
3022 * gdb.fortran/printing-types.exp: Same.
3023 * gdb.guile/scm-lazy-string.exp: Same.
3024
c4b90788
TV
30252018-10-16 Tom de Vries <tdevries@suse.de>
3026
3027 PR gdb/23730
3028 * gdb.base/catch-follow-exec.c: Add copyright notice.
3029 * gdb.base/catch-follow-exec.exp: Rewrite to use
3030 gdb_spawn_with_cmdline_opts. Require gdb-native.
3031
8bca2978
SL
30322018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3033
3034 * gdb.trace/actions-changed.exp: Check for arch support.
3035 * gdb.trace/actions.exp: Likewise.
3036 * gdb.trace/ax.exp: Likewise.
3037 * gdb.trace/backtrace.exp: Likewise.
3038 * gdb.trace/change-loc.exp: Likewise.
3039 * gdb.trace/deltrace.exp: Likewise.
3040 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3041 * gdb.trace/ftrace.exp: Likewise.
3042 * gdb.trace/infotrace.exp: Check for arch support.
3043 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3044 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3045 * gdb.trace/mi-tsv-changed.exp: Likewise.
3046 * gdb.trace/packetlen.exp: Likewise.
3047 * gdb.trace/passc-dyn.exp: Likewise.
3048 * gdb.trace/passcount.exp: Likewise.
3049 * gdb.trace/pending.exp: Likewise.
3050 * gdb.trace/range-stepping.exp: Check for shlib support.
3051 * gdb.trace/report.exp: Check for arch support.
3052 * gdb.trace/save-trace.exp: Likewise.
3053 * gdb.trace/signal.exp: Check for signal support.
3054 * gdb.trace/tfind.exp: Check for arch support.
3055 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3056 * gdb.trace/trace-common.h: Add comment.
3057 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3058 * gdb.trace/trace-enable-disable.exp: Likewise.
3059 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3060 * gdb.trace/tracecmd.exp: Check for arch support.
3061 * gdb.trace/tspeed.exp: Check for shlib and target support.
3062 * gdb.trace/tstatus.exp: Check for arch support.
3063 * gdb.trace/tsv.exp: Likewise.
3064 * gdb.trace/while-dyn.exp: Likewise.
3065 * gdb.trace/while-stepping.exp: Likewise.
3066 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3067
f9c49bff
SM
30682018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3069
3070 * gdb.trace/tspeed.exp: Remove nowarnings.
3071 (prepare_for_trace_test): Declare "global ipalib".
3072 * gdb.trace/tspeed.c: Include unistd.h.
3073 (main): Remove superfluous printf argument.
3074
d4330bde
SL
30752018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3076
3077 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3078 directory prefix on the filename.
3079
8ecfd7bd
SDJ
30802018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3081
3082 * gdb.gdb/unittest.exp: Update expected message informing that
3083 selftests have been disabled.
3084 * gdb.server/unittest.exp: Likewise.
3085
58bbcd02
TV
30862018-10-09 Tom de Vries <tdevries@suse.de>
3087
3088 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3089 with runto_main.
3090
9f6b697b
WP
30912018-10-08 Weimin Pan <weimin.pan@oracle.com>
3092
3093 PR c++/16841
3094 * gdb.cp/virtbase2.cc: New file.
3095 * gdb.cp/virtbase2.exp: New file.
3096
add5ded5
TT
30972018-10-06 Tom Tromey <tom@tromey.com>
3098
3099 PR python/19399:
3100 * gdb.python/py-inferior.exp: Add architecture test.
3101
f9e48344
TT
31022018-10-06 Tom Tromey <tom@tromey.com>
3103
3104 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3105 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3106
2a8be203
TT
31072018-10-06 Tom Tromey <tom@tromey.com>
3108
3109 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3110 of a "throw" catchpoint.
3111
e04caa70
SDJ
31122018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3113
3114 * gdb.base/info-proc.exp: Update string expected from "help info
3115 proc".
3116
5ca8c39f
TT
31172018-10-04 Tom Tromey <tom@tromey.com>
3118
3119 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3120 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3121 (test_initial_complaints, test_empty_complaints): Update.
3122 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3123
3453e7e4
TT
31242018-10-04 Tom Tromey <tom@tromey.com>
3125
3126 PR cli/19551:
3127 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3128 * lib/gdb.exp (gdb_file_cmd): Update.
3129 * gdb.stabs/weird.exp (print_weird_var): Update.
3130 * gdb.server/solib-list.exp: Update.
3131 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3132 * gdb.mi/mi-cli.exp: Update.
3133 * gdb.linespec/linespec.exp: Update.
3134 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3135 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3136 * gdb.cp/cp-relocate.exp: Update.
3137 * gdb.base/sym-file.exp: Update.
3138 * gdb.base/relocate.exp: Update.
3139 * gdb.base/readnever.exp: Update.
3140 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3141 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3142 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3143 * gdb.base/code_elim.exp: Update.
3144 * gdb.base/break-unload-file.exp (test_break): Update.
3145 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3146 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3147 Update.
3148 * gdb.base/attach.exp (do_attach_tests): Update.
3149 * gdb.base/sepdebug.exp: Update.
3150 * gdb.python/py-section-script.exp: Update.
3151
6afcf761
TT
31522018-10-04 Tom Tromey <tom@tromey.com>
3153
3154 PR cli/22234:
3155 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3156 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3157 output.
3158
fef1b293
TT
31592018-10-04 Tom Tromey <tom@tromey.com>
3160
3161 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3162 set width and height to 0.
3163 (test_command_line_attach_run): Use -quiet.
3164
ca98345e
SL
31652018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3166
3167 * lib/gdb.exp (skip_ifunc_tests): New.
3168 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3169 other compile failures.
3170 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3171
ff34e6ae
SM
31722018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3173
3174 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3175 is_amd64_regs_target.
3176
6bb8890e
AH
31772018-10-01 Alan Hayward <alan.hayward@arm.com>
3178
3179 * gdb.arch/aarch64-sighandler-regs.c: New test.
3180 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3181 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3182
224d30d3
MM
31832018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3184
3185 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3186 assembly.
3187
f67ffa6a
AB
31882018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3189
3190 * gdb.base/frame-selection.exp: New file.
3191 * gdb.base/frame-selection.c: New file.
3192
9fc3183f
AH
31932018-09-27 Alan Hayward <alan.hayward@arm.com>
3194
3195 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3196 pthread barrier.
3197 (main): Likewise.
3198
d354055e
AB
31992018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3200
3201 * gdb.base/large-frame-1.c: New file.
3202 * gdb.base/large-frame-2.c: New file.
3203 * gdb.base/large-frame.exp: New file.
3204 * gdb.base/large-frame.h: New file.
3205
db727370
JL
32062018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3207
3208 PR gdb/20948
3209 * gdb.base/write_mem.exp: New test.
3210 * gdb.base/write_mem.c: Likewise.
3211
ae778caf
TT
32122018-09-23 Tom Tromey <tom@tromey.com>
3213
3214 PR python/18852:
3215 * gdb.python/py-parameter.exp: Add test for parameter that throws
3216 on "set".
3217
fd3ba736
TT
32182018-09-23 Tom Tromey <tom@tromey.com>
3219
3220 PR python/17284:
3221 * gdb.python/py-template.exp (test_template_arg): Add test for
3222 negative template argument number.
3223
39a24317
TT
32242018-09-23 Tom Tromey <tom@tromey.com>
3225
3226 PR python/14062:
3227 * gdb.python/python.exp: Add test for post_event error.
3228
f5769a2c
TT
32292018-09-23 Tom Tromey <tom@tromey.com>
3230
3231 PR python/18170:
3232 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3233 convert pointers to int and long.
3234
1c1e54f6
TT
32352018-09-23 Tom Tromey <tom@tromey.com>
3236
3237 PR python/20126:
3238 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3239 signed-ness conversion tests.
3240
fb4fa946
TT
32412018-09-23 Tom Tromey <tom@tromey.com>
3242
3243 PR python/18352;
3244 * gdb.python/py-value.exp (test_float_conversion): New proc.
3245 Use it.
3246
a466edac
HAQ
32472018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3248
3249 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3250
4ee9b0c5
SL
32512018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3252
3253 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3254 no readline.
3255 * gdb.base/utf8-identifiers.exp: Likewise.
3256 * gdb.cp/cpcompletion.exp: Likewise.
3257 * gdb.linespec/cpcompletion.exp: Likewise.
3258 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3259 * gdb.linespec/cpls-ops.exp: Likewise.
3260
23be8da7
RB
32612018-09-19 Richard Bunt <richard.bunt@arm.com>
3262 Chris January <chris.january@arm.com>
3263
3264 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3265 * gdb.fortran/short-circuit-argument-list.exp: New file.
3266 * gdb.fortran/short-circuit-argument-list.f90: New test.
3267
5031d0ae
SDJ
32682018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3269
3270 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3271 "arch=" keyword when executing "-stack-list-frames".
3272
b4c0d1a4
SDJ
32732018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3274
3275 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3276 "arch=" keyword when executing "-stack-list-frames".
3277
7a6d2b45
SDJ
32782018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3279
3280 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3281 break ada".
3282
8588b356
SM
32832018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3284
3285 PR python/23669
3286 * gdb.python/python.exp: Test gdb.execute("show commands").
3287
65e65158
TT
32882018-09-16 Tom Tromey <tom@tromey.com>
3289
3290 * gdb.base/new-ui.exp (do_execution_tests): Update.
3291 * gdb.base/dbx.exp (test_breakpoints): Update.
3292
bf326452
AH
32932018-09-14 Alan Hayward <alan.hayward@arm.com>
3294
3295 * lib/gdb.exp (gdb_simple_compile): Add proc.
3296 (is_elf_target): Use gdb_simple_compile.
3297 (skip_altivec_tests): Likewise.
3298 (skip_vsx_tests): Likewise.
3299 (skip_tsx_tests): Likewise.
3300 (skip_btrace_tests): Likewise.
3301 (skip_btrace_pt_tests): Likewise.
3302 (gdb_can_simple_compile): Likewise.
3303 (gdb_has_argv0): Likewise.
3304 (gdb_target_symbol_prefix): Likewise.
3305 (target_supports_scheduler_locking): Likewise.
3306
2361b0fb
TT
33072018-09-13 Tom Tromey <tom@tromey.com>
3308
3309 * Makefile.in (TAGS): Recognize proc_with_prefix and
3310 gdb_caching_proc.
3311
0ae1a321
SM
33122018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3313
3314 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3315 method.
3316
a40bf0c2
SM
33172018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3318
3319 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3320 and a few other Inferior properties when the Inferior is no
3321 longer valid.
3322
4a3fe98f
TT
33232018-09-13 Tom Tromey <tom@tromey.com>
3324
3325 PR rust/23650:
3326 * gdb.rust/simple.exp: Add test for enum field access error.
3327
098b2108
TT
33282018-09-13 Tom Tromey <tom@tromey.com>
3329
3330 PR rust/23626:
3331 * gdb.rust/simple.rs (EmptyEnum): New type.
3332 (main): Use it.
3333 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3334
1256af7d
SM
33352018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3336
3337 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3338 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3339 * gdb.python/py-symtab.exp: Update test printing an objfile.
3340
4aa8e6c2
SM
33412018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3342
3343 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3344 object.
3345
c221b2f7
AH
33462018-09-12 Alan Hayward <alan.hayward@arm.com>
3347
3348 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3349 (support_complex_tests): Use gdb_can_simple_compile.
3350 (is_ilp32_target): Likewise.
3351 (is_lp64_target): Likewise.
3352 (is_64_target): Likewise.
3353 (is_amd64_regs_target): Likewise.
3354 (is_aarch32_target): Likewise.
3355 (gdb_int128_helper): Likewise.
3356
6f1107b5
JK
33572018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3358
3359 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3360
1f5d1570
JG
33612018-09-10 Jerome Guitton <guitton@adacore.com>
3362
3363 * gdb.ada/same_component_name: Add test for case of tagged record
3364 with variable-length fields.
3365
cc330e39
XR
33662018-09-10 Xavier Roirand <roirand@adacore.com>
3367
3368 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3369 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3370 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3371 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3372
b9c50e9a
XR
33732018-09-10 Xavier Roirand <roirand@adacore.com>
3374
3375 * gdb.ada/mi_string_access.exp: New testcase.
3376 * gdb.ada/mi_string_access/bar.adb: New file.
3377 * gdb.ada/mi_string_access/pck.adb: New file.
3378 * gdb.ada/mi_string_access/pck.asd: New file.
3379
2963898f
XR
33802018-09-10 Xavier Roirand <roirand@adacore.com>
3381
3382 * gdb.ada/mi_var_union.exp: New testcase.
3383 * gdb.ada/mi_var_union/bar.adb: New file.
3384 * gdb.ada/mi_var_union/pck.adb: New file.
3385 * gdb.ada/mi_var_union/pck.asd: New file.
3386
1aac008f
TT
33872018-09-08 Tom Tromey <tom@tromey.com>
3388
3389 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3390
332cf4c9
TT
33912018-09-08 Tom Tromey <tom@tromey.com>
3392
3393 PR python/16047:
3394 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3395 (register_pretty_printers): Register new printer.
3396 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3397 test.
3398 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3399 (an_int_type3): New global.
3400
424da6cf
JB
34012018-09-08 Joel Brobecker <brobecker@adacore.com>
3402
3403 * gdb.ada/expr_with_funcall: New testcase.
3404
2a62dfa9
JB
34052018-09-08 Joel Brobecker <brobecker@adacore.com>
3406
3407 * gdb.ada/packed_array_assign: New testcase.
3408
96b6697f
AB
34092018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3410
3411 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3412 names, and add test prefixes to make test names unique.
3413
e4a62c65
TV
34142018-09-05 Tom de Vries <tdevries@suse.de>
3415
3416 * gdb.dwarf2/varval.exp: Add test.
3417
dd083ee2
GB
34182018-09-04 Gary Benson <gbenson@redhat.com>
3419
3420 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3421 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3422
aef9346c
TT
34232018-08-31 Tom Tromey <tom@tromey.com>
3424
3425 * gdb.rust/simple.rs: Rename second variable "v".
3426
c67f2e15
AB
34272018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3428
3429 * gdb.base/funcargs.c (use_a): New function.
3430 (recurse): Call use_a.
3431
078a0207
KS
34322018-08-29 Keith Seitz <keiths@redhat.com>
3433
3434 * gdb.compile/compile-cplus-anonymous.cc: New file.
3435 * gdb.compile/compile-cplus-anonymous.exp: New file.
3436 * gdb.compile/compile-cplus-array-decay.cc: New file.
3437 * gdb.compile/compile-cplus-array-decay.exp: New file.
3438 * gdb.compile/compile-cplus-inherit.cc: New file.
3439 * gdb.compile/compile-cplus-inherit.exp: New file.
3440 * gdb.compile/compile-cplus-member.cc: New file.
3441 * gdb.compile/compile-cplus-member.exp: New file.
3442 * gdb.compile/compile-cplus-method.cc: New file.
3443 * gdb.compile/compile-cplus-method.exp: New file.
3444 * gdb.compile/compile-cplus-mod.c: "New" file.
3445 * gdb.compile/compile-cplus-namespace.cc: New file.
3446 * gdb.compile/compile-cplus-namespace.exp: New file.
3447 * gdb.compile/compile-cplus-nested.cc: New file.
3448 * gdb.compile/compile-cplus-nested.exp: New file.
3449 * gdb.compile/compile-cplus-print.c: "New" file.
3450 * gdb.compile/compile-cplus-print.exp: "New" file.
3451 * gdb.compile/compile-cplus-virtual.cc: New file.
3452 * gdb.compile/compile-cplus-virtual.exp: New file.
3453 * gdb.compile/compile-cplus.c: "New" file.
3454 * gdb.compile/compile-cplus.exp: "New" file.
3455 * lib/compile-support.exp: New file.
3456
b0f492b9
GB
34572018-08-16 Gary Benson <gbenson@redhat.com>
3458
3459 PR gdb/13000:
3460 * gdb.base/batch-exit-status.exp: New file.
3461 * gdb.base/batch-exit-status.good-commands: Likewise.
3462 * gdb.base/batch-exit-status.bad-commands: Likewise.
3463
36eb4c5f
AH
34642018-08-29 Alan Hayward <alan.hayward@arm.com>
3465
3466 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3467 (struct struct02): Likewise.
3468 (struct struct03): Likewise.
3469 (struct struct04): Likewise.
3470 (struct struct_01_01): New struct.
3471 (struct struct_01_02): Likewise.
3472 (struct struct_01_03): Likewise.
3473 (struct struct_01_04): Likewise.
3474 (struct struct_02_01): Likewise.
3475 (struct struct_02_02): Likewise.
3476 (struct struct_02_03): Likewise.
3477 (struct struct_02_04): Likewise.
3478 (struct struct_04_01): Likewise.
3479 (struct struct_04_02): Likewise.
3480 (struct struct_04_03): Likewise.
3481 (struct struct_04_04): Likewise.
3482 (struct struct_05_01): Likewise.
3483 (struct struct_05_02): Likewise.
3484 (struct struct_05_03): Likewise.
3485 (struct struct_05_04): Likewise.
3486 (cmp_struct01): Remove function.
3487 (cmp_struct02): Likewise.
3488 (cmp_struct03): Likewise.
3489 (cmp_struct04): Likewise.
3490 (cmp_struct_01_01): Add Function.
3491 (cmp_struct_01_02): Likewise.
3492 (cmp_struct_01_03): Likewise.
3493 (cmp_struct_01_04): Likewise.
3494 (cmp_struct_02_01): Likewise.
3495 (cmp_struct_02_02): Likewise.
3496 (cmp_struct_02_03): Likewise.
3497 (cmp_struct_02_04): Likewise.
3498 (cmp_struct_04_01): Likewise.
3499 (cmp_struct_04_02): Likewise.
3500 (cmp_struct_04_03): Likewise.
3501 (cmp_struct_04_04): Likewise.
3502 (cmp_struct_05_01): Likewise.
3503 (cmp_struct_05_02): Likewise.
3504 (cmp_struct_05_03): Likewise.
3505 (cmp_struct_05_04): Likewise.
3506 (call_all): Add new structs.
3507 * gdb.base/infcall-nested-structs.exp: Likewise.
3508
3bf9c013
JV
35092018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3510
3511 * gdb.python/py-framefilter-mi.exp: Update regexp to
3512 check for "arch" field in frame output.
3513
450d1e88
KB
35142018-08-23 Kevin Buettner <kevinb@redhat.com>
3515
3516 * gdb.dwarf2/dw2-ranges-func.c: New file.
3517 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3518
ae739fe7
SM
35192018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3520
3521 * gdb.base/term.exp: Compare terminal settings with values from
3522 the inferior.
3523 * gdb.base/term.c: Get and set terminal settings.
3524
6d52907e
JV
35252018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3526
3527 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3528 accommodate new "arch" field in frame output.
3529 * gdb.mi/mi-return.exp: Likewise.
3530 * gdb.mi/mi-stack.exp: Likewise.
3531 * gdb.mi/mi-syn-frame.exp: Likewise.
3532 * gdb.mi/user-selected-context-sync.exp: Likewise.
3533
be2d111a
MS
35342018-08-19 Michael Spang <spang@google.com>
3535
3536 PR gdb/11786
3537 * gdb.base/gcore-tls-pie.c: New file.
3538 * gdb.base/gcore-tls-pie.exp: New file.
3539
ae3a7c47
KB
35402018-08-18 Kevin Buettner <kevinb@redhat.com>
3541
3542 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
3543 * gdb.dwarf2/varval.c: New file.
3544 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 3545
2ecae92e
AH
35462018-08-17 Alan Hayward <alan.hayward@arm.com>
3547
3548 PR gdb/18931
3549 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3550
c1854f1d
KS
35512018-08-16 Keith Seitz <keiths@redhat.com>
3552
3553 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3554 tests expected to pass.
3555
26fb3983
JV
35562018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3557
3558 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3559 -data-disassemble -a.
3560 (test_disassembly_bogus_args): Likewise.
3561
67943c00
AB
35622018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3563
3564 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3565
5ff2bbae
AB
35662018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3567
3568 * gdb.base/vla-optimized-out.exp: Add new test.
3569
e5bbcd0f
AB
35702018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3571
3572 * gdb.base/vla-optimized-out-o3.exp: Delete.
3573 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3574 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3575 deleted tests.
3576
9d4a934c
AB
35772018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3578
3579 PR gdb/18050:
3580 * gdb.server/extended-remote-restart.c: New file.
3581 * gdb.server/extended-remote-restart.exp: New file.
3582
045cf012
SM
35832018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3584
3585 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3586 "set variable index = 42".
3587
87d6a7aa
SM
35882018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3589
3590 * boards/index-cache-gdb.exp: New file.
3591 * gdb.dwarf2/index-cache.exp: New file.
3592 * gdb.dwarf2/index-cache.c: New file.
3593 * gdb.base/maint.exp: Check if we are using the index cache.
3594
96d68bd4
RO
35952018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3596
3597 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3598 MAKEFLAGS.
3599
5a699617
RO
36002018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3601
3602 * dg-extract-results.sh: Move to toplevel contrib.
3603 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3604 * Makefile.in (check-parallel-racy): Likewise.
3605
5bd18990
AB
36062018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3607
3608 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3609 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3610 tests if the target supports scheduler locking.
3611
3fbbcf47
TV
36122018-08-04 Tom de Vries <tdevries@suse.de>
3613
3614 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3615
3e1d3d8c
TT
36162018-08-02 Tom Tromey <tom@tromey.com>
3617
3618 PR symtab/16842.
3619 * gdb.cp/temargs.exp: Test "info address" of a template
3620 parameter.
3621
5abe0f0c
JV
36222018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3623
3624 * gdb.python/py-mi-var-info-path-expression.c: New file.
3625 * gdb.python/py-mi-var-info-path-expression.py: New file.
3626 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3627
fb66cde8
SDJ
36282018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3629
3630 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3631 error after "cannot resolve name" string.
3632
c708f4d2
AB
36332018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3634
3635 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3636 started.
3637 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3638
37cc0cae
TV
36392018-07-28 Tom de Vries <tdevries@suse.de>
3640
3641 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3642
63b4ecf7
TV
36432018-07-26 Tom de Vries <tdevries@suse.de>
3644
3645 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3646
3c3bb058
AB
36472018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3648
3649 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3650 is visible.
3651
9e7f3bbb
TV
36522018-07-26 Tom de Vries <tdevries@suse.de>
3653
3654 PR breakpoints/23366
3655 * gdb.base/catch-follow-exec.c: New test.
3656 * gdb.base/catch-follow-exec.exp: New file.
3657
16f808ec
TV
36582018-07-25 Tom de Vries <tdevries@suse.de>
3659
3660 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3661 vla-optimized-out.c.
3662
d7154a8d
JV
36632018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3664
3665 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3666 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3667
232a0032
TV
36682018-07-20 Tom de Vries <tdevries@suse.de>
3669
3670 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3671 NOCLONE macro.
3672 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3673
fbb1d502
TV
36742018-07-19 Tom de Vries <tdevries@suse.de>
3675
3676 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3677 regular expression.
3678
42dc7699
TV
36792018-07-18 Tom de Vries <tdevries@suse.de>
3680
3681 * gdb.base/vla-optimized-out.c: New test.
3682 * gdb.base/vla-optimized-out.exp: New file.
3683
7f1f7e23
SDJ
36842018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3685
3686 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3687 message "No address associated with hostname" when gdbserver
3688 cannot resolve the hostname.
3689
5759ebb3
PW
36902018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3691
3692 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3693 Add some test prefixes to make tests unique.
3694
3606ccab
PW
36952018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3696
3697 * gdb.base/frameapply.c: New file.
3698 * gdb.base/frameapply.exp: New file.
3699
529c08b2
PW
37002018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3701
3702 * gdb.base/skip.exp: Update expected error message.
3703
c7ab0aef
SDJ
37042018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3705 Jan Kratochvil <jan.kratochvil@redhat.com>
3706 Paul Fertser <fercerpav@gmail.com>
3707 Tsutomu Seki <sekiriki@gmail.com>
3708
3709 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3710 parameter.
3711 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3712 by default.
3713 * boards/native-gdbserver.exp: Likewise.
3714 * gdb.server/run-without-local-binary.exp: Improve regexp used
3715 for detecting when a remote debugging connection succeeds.
3716 * gdb.server/server-connect.exp: New file.
3717 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3718 Do not prefix the port number with ":".
3719 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3720 support for detecting and using it. Add '$debughost_gdbserver'
3721 to the list of arguments used to start gdbserver. Handle case
3722 when gdbserver cannot resolve a network name.
3723
16ff70dd
SDJ
37242018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3725
3726 PR c++/23373
3727 * gdb.base/ptype-offsets.cc (struct static_member): New
3728 struct.
3729 (main) <stmember>: New variable.
3730 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3731 with a static member in it.
3732
3541979f
AB
37332018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3734
3735 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3736 watchpoints enabled and disabled.
3737
c8ad9b9a
AB
37382018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3739
3740 * gdb.base/examine-backward.exp: Still run tests around address
3741 0x0, even if address 0x0 is not readable. Update the pattern for
3742 matching address 0x0 in expected output.
3743
e0e5e971
AB
37442018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3745
3746 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3747 malloc/free.
3748
1ea5da02
TV
37492018-07-04 Tom de Vries <tdevries@suse.de>
3750
3751 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3752
471b9d15
MR
37532018-07-02 Maciej W. Rozycki <macro@mips.com>
3754
3755 PR tdep/8282
3756 * gdb.arch/mips-disassembler-options.exp: New test.
3757 * gdb.arch/mips-disassembler-options.s: New test source.
3758
75acb486
PA
37592018-06-29 Pedro Alves <palves@redhat.com>
3760
3761 * gdb.threads/names.exp: Adjust expected "info threads" output.
3762
cd2bb709
PA
37632018-06-29 Pedro Alves <palves@redhat.com>
3764
3765 * gdb.opt/inline-break.exp (line number, address): Add "info
3766 break" tests.
3767
991ff292
PA
37682018-06-29 Pedro Alves <palves@redhat.com>
3769
3770 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3771 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3772 number and address and running to them.
3773
356819b6 37742018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
3775
3776 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3777
2512d7ef
JK
37782018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3779
3780 * lib/compiler.c: Remove executable permission flag.
3781
be1b6474
RB
37822018-06-28 Richard Bunt <richard.bunt@arm.com>
3783
3784 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3785 code.
3786 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3787
291f9a96
PT
37882018-06-28 Petr Tesarik <ptesarik@suse.cz>
3789
3790 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3791
ed6dfe51
PT
37922018-06-28 Petr Tesarik <ptesarik@suse.cz>
3793
3794 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3795 address argument is omitted.
3796
d4d429d5
PT
37972018-06-28 Petr Tesarik <ptesarik@suse.cz>
3798
3799 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3800
7ab6656f
OJ
38012018-06-27 Omair Javaid <omair.javaid@linaro.org>
3802
3803 PR gdb/21695
3804 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3805 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3806
a33ccfc7
TT
38072018-06-26 Tom Tromey <tom@tromey.com>
3808
3809 PR rust/22574:
3810 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3811 * gdb.rust/simple.rs (struct SimpleLayout): New.
3812
6d72d289
SM
38132018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3814
3815 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3816 "info registers" output.
3817
8363f9d5
RB
38182018-06-21 Richard Bunt <richard.bunt@arm.com>
3819
3820 * gdb.base/watchpoint-hw-attach.c: New test.
3821 * gdb.base/watchpoint-hw-attach.exp: New file.
3822
f00674fe
SM
38232018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3824
3825 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3826 through /bin/sh.
3827 * boards/dwarf4-gdb-index.exp: Likewise.
3828 * boards/fission-dwp.exp: Likewise.
3829
1d554008
UW
38302018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3831
3832 * gdb.base/float128.exp: Add comment and improved fail message
3833 to the failure case of "print large128" test.
3834
d0ac1c44
SM
38352018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3836
3837 * configure.ac: Remove AC_PREREQ.
3838 * configure: Re-generate.
3839
61b04dd0
PA
38402018-06-19 Pedro Alves <palves@redhat.com>
3841
3842 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3843 (func_extern_caller): New.
3844 (main): Call func_extern_caller.
3845 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3846 logic change.
3847
f63b508a
SM
38482018-06-18 Weimin Pan <weimin.pan@oracle.com>
3849
3850 PR gdb/16841
3851 * gdb.cp/typedef-base.cc: New file.
3852 * gdb.cp/typedef-base.exp: New file.
3853
0fe3a558
TV
38542018-06-18 Tom de Vries <tdevries@suse.de>
3855
3856 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3857
7010835a
AB
38582018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3859 Richard Bunt <Richard.Bunt@arm.com>
3860
3861 * gdb.threads/attach-slow-waitpid.c: New file.
3862 * gdb.threads/attach-slow-waitpid.exp: New file.
3863 * gdb.threads/slow-waitpid.c: New file.
3864
14897d65
PA
38652018-06-14 Pedro Alves <palves@redhat.com>
3866
3867 * gdb.base/fork-running-state.c: Include <errno.h>.
3868 (exit_if_relative_exits): New.
3869 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3870 exits.
3871 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3872 child exits.
3873
5d9a0608
TV
38742018-06-14 Tom de Vries <tdevries@suse.de>
3875
3876 PR cli/22573
3877 * gdb.base/finish-pretty.c: New test.
3878 * gdb.base/finish-pretty.exp: New file.
3879
11ae5818
PA
38802018-06-14 Pedro Alves <palves@redhat.com>
3881
3882 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3883 gdb's expected startup output.
3884
1d39de44
PA
38852018-06-14 Pedro Alves <palves@redhat.com>
3886
3887 * lib/selftest-support.exp (selftest_setup): Remove inlined
3888 function handling.
3889
70ee0000
TV
38902018-06-14 Tom de Vries <tdevries@suse.de>
3891
3892 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3893 matching of breakpoint printing.
3894
11f4b608
TV
38952018-06-13 Tom de Vries <tdevries@suse.de>
3896
3897 PR testsuite/23269
3898 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3899 (fork_child): ... here, and ...
3900 (fork_parent): ... here.
3901
39022018-06-12 Tom de Vries <tdevries@suse.de>
3903
3904 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3905
9516f85a
AB
39062018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3907 Stephen Roberts <stephen.roberts@arm.com>
3908
3909 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3910 rewrite test to describe action performed, rather than possible
3911 failure.
3912
5045b3d7
GB
39132018-06-08 Gary Benson <gbenson@redhat.com>
3914
3915 * gdb.threads/check-libthread-db.exp: New file.
3916 * gdb.threads/check-libthread-db.c: Likewise.
3917
c61b06a1
TT
39182018-06-05 Tom Tromey <tom@tromey.com>
3919
3920 * gdb.base/default.exp: Update expected "show version" output.
3921
eb6af809
TT
39222018-06-05 Tom Tromey <tom@tromey.com>
3923
3924 PR cli/12326:
3925 * gdb.cp/static-print-quit.exp: Update.
3926 * lib/gdb.exp (pagination_prompt): Update.
3927 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3928 * gdb.python/python.exp: Update.
3929
178d6a63
JB
39302018-06-04 Joel Brobecker <brobecker@adacore.com>
3931
3932 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3933
8e817061
JB
39342018-06-01 Joel Brobecker <brobecker@adacore.com>
3935
3936 * gdb.ada/bp_fun_addr: New testcase.
3937
e86ca25f
TT
39382018-06-01 Tom Tromey <tom@tromey.com>
3939
3940 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3941 results.
3942 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3943 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3944 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3945 * gdb.base/maint.exp (maint_pass_if): Update.
3946
4b2dfa9d
MR
39472018-05-31 Maciej W. Rozycki <macro@mips.com>
3948
3949 * gdb.base/endian.exp: New test.
3950 * gdb.base/endian.c: New test source.
3951
45f25d6c
AB
39522018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3953
3954 PR gdb/23203
3955 * gdb.base/bt-selected-frame.c: New file.
3956 * gdb.base/bt-selected-frame.exp: New file.
3957 * lib/gdb.exp (get_current_frame_number): New function.
3958
d9f6d7f8
MR
39592018-05-24 Maciej W. Rozycki <macro@mips.com>
3960 Pedro Alves <palves@redhat.com>
3961
3962 * gdb.threads/tls-core.c: Include <stdlib.h>
3963 (thread_proc): Call `abort'.
3964 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3965 (tls_core_test): New procedure, bits factored out from ...
3966 (top level): ... here. Test both native cores and gcore cores.
3967
ff1cf532
TT
39682018-05-23 Tom Tromey <tom@tromey.com>
3969
3970 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3971
b98664d3
TT
39722018-05-23 Tom Tromey <tom@tromey.com>
3973
3974 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3975 symfile_complaints.
3976 (test_short_complaints): Likewise.
3977 (test_empty_complaints): Likewise.
3978 (test_initial_complaints): Update.
3979
4e9668d0
TT
39802018-05-23 Tom Tromey <tom@tromey.com>
3981
3982 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3983
43ba33c7
TT
39842018-05-23 Tom Tromey <tom@tromey.com>
3985
3986 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3987 (test_short_complaints): Update.
3988
035522c0
PA
39892018-05-22 Pedro Alves <palves@redhat.com>
3990
3991 * gdb.base/remote.exp: Only gdb_start after compiling the
3992 testcase. Issue "disconnect" before testing "set remote" command
3993 defaults. Issue clean_restart before running to main.
3994
cc0be08f
PA
39952018-05-22 Pedro Alves <palves@redhat.com>
3996
3997 * gdb.base/remote.exp: Adjust expected output of "show remote
3998 memory-write-packet-size". Add tests for "set remote
3999 memory-write-packet-size 0" and "set remote
4000 memory-write-packet-size fixed/limit".
4001
b1b60145
PA
40022018-05-22 Pedro Alves <palves@redhat.com>
4003
4004 PR gdb/22973
4005 * gdb.base/utf8-identifiers.c: New file.
4006 * gdb.base/utf8-identifiers.exp: New file.
4007
0ec848ad
PFC
40082018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4009
4010 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4011
2c3305f6
PFC
40122018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4013
4014 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4015
ce1e8424
TT
40162018-05-18 Tom Tromey <tom@tromey.com>
4017
4018 * gdb.base/ptype-offsets.exp: Update.
4019
ddfe970e
KS
40202018-05-17 Keith Seitz <keiths@redhat.com>
4021
4022 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4023 in expected breakpoint stop locations.
4024 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4025 move to proper scope to test variable values.
4026 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4027 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4028 New functions.
4029 (main): Call not_inline_func3.
4030 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4031 inline_func1, inline_func2, and inline_func3. Test that when each
4032 breakpoint is hit, GDB properly reports both the stop location
4033 and the backtrace. Repeat tests for temporary breakpoints.
4034
0726fcc6
MR
40352018-05-15 Maciej W. Rozycki <macro@mips.com>
4036
4037 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4038 rather then trying to access it in determining whether the PID
4039 of `gdbserver' could have been retrieved.
4040
8ee22052
AB
40412018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4042
4043 * gdb.arch/amd64-init-x87-values.S: New file.
4044 * gdb.arch/amd64-init-x87-values.exp: New file.
4045
7785df48
JK
40462018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4047
4048 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4049
56bcdbea
TT
40502018-05-04 Tom Tromey <tom@tromey.com>
4051
4052 PR python/22730:
4053 * gdb.python/python.exp: Test multi-line execute.
4054
a913fffb
TT
40552018-05-04 Tom Tromey <tom@tromey.com>
4056
4057 PR python/22731:
4058 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4059
7a2c85f2
TT
40602018-05-04 Tom Tromey <tom@tromey.com>
4061
4062 PR gdb/11750:
4063 * gdb.base/define.exp: Test defining a user command inside a user
4064 command.
4065 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4066
a3b60e45
JK
40672018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4068 Pedro Alves <palves@redhat.com>
4069
4070 PR breakpoints/19806 and support for PR external/20207.
4071 * gdb.base/watchpoint-unaligned.c: New file.
4072 * gdb.base/watchpoint-unaligned.exp: New file.
4073
45fe4a03
AB
40742018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4075
4076 * gdb.base/maint.exp: Make test names unique, use
4077 test_prefix_command_help to test 'help maint info', and remove
4078 repeated test of 'help maint'.
4079
9be2ae8f
TT
40802018-05-04 Tom Tromey <tom@tromey.com>
4081
4082 PR gdb/22619:
4083 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4084 behavior.
4085
11859c31
AB
40862018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4087
4088 * gdb.base/maint.exp: Process output from 'maint print registers'
4089 line at a time.
4090
089a9490
AB
40912018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4092
4093 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4094 timeout.
4095
9b0797e2
AB
40962018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4097
4098 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4099 filter pattern.
4100
f6ac5f3d
PA
41012018-05-02 Pedro Alves <palves@redhat.com>
4102
4103 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4104 to_log_command renames.
4105 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4106
77d3c63b
TT
41072018-05-02 Tom Tromey <tom@tromey.com>
4108
4109 * gdb.python/py-parameter.exp: Set test message.
4110
0489430a
TT
41112018-05-02 Tom Tromey <tom@tromey.com>
4112
4113 PR python/20084:
4114 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4115 PARAM_ZUINTEGER_UNLIMITED tests.
4116
1632f8ba
DR
41172018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4118
4119 PR rust/23124
4120 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4121 when casting.
4122
6d7bb824
TT
41232018-04-30 Tom Tromey <tom@tromey.com>
4124
4125 * gdb.python/py-type.exp: Check align attribute.
4126 * gdb.python/py-type.c: New "aligncheck" global.
4127
007e1530
TT
41282018-04-30 Tom Tromey <tom@tromey.com>
4129
4130 PR exp/17095:
4131 * gdb.dwarf2/dw2-align.exp: New file.
4132 * gdb.cp/align.exp: New file.
4133 * gdb.base/align.exp: New file.
4134 * lib/gdb.exp (gdb_int128_helper): New proc.
4135 (has_int128_c, has_int128_cxx): New caching procs.
4136
6873858b
TT
41372018-04-27 Tom Tromey <tom@tromey.com>
4138
4139 PR rust/22545:
4140 * gdb.rust/simple.exp: Add inclusive range tests.
4141
79188d8d
PA
41422018-04-26 Pedro Alves <palves@redhat.com>
4143
4144 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4145 ifunc breakpoint locations correctly of ifunc breakpoints set
4146 while the program resolves the ifunc.
4147
c7075ad5
PA
41482018-04-26 Pedro Alves <palves@redhat.com>
4149
4150 * gdb.base/gnu-ifunc-final.c: New file.
4151 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4152 * gdb.base/gnu-ifunc.exp (executable): Delete.
4153 (staticexecutable): Adjust.
4154 (lib_opts, exec_opts): Delete.
4155 (make_binsuffix, build, set-break): New procedures.
4156 (misc_tests): New, with tests factored out from the top level.
4157 (top level): Test different combinations of ifunc resolver name,
4158 resolver with and with debug info, and ifunc target with and
4159 without debug info. Wrap static tests with with_target_prefix.
4160
8388016d
PA
41612018-04-26 Pedro Alves <palves@redhat.com>
4162
4163 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4164 return type" warnings.
4165
249b5733
PA
41662018-04-25 Pedro Alves <palves@redhat.com>
4167
4168 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4169 killed".
4170 * gdb.base/kill-after-signal.exp: Likewise.
4171 * gdb.threads/kill.exp: Likewise.
4172
f67c0c91
SDJ
41732018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4174 Sergio Durigan Junior <sergiodj@redhat.com>
4175 Pedro Alves <palves@redhat.com>
4176
4177 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4178 regexps to expect for '[Inferior ... detached]' as well.
4179 * gdb.base/attach.exp: Likewise.
4180 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4181 "gdb_continue_to_end".
4182 (test_catch_syscall_with_wrong_args): Likewise.
4183 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4184 ']'. Don't set 'verbose' on.
4185 * gdb.base/foll-vfork.exp: Likewise.
4186 * gdb.base/fork-print-inferior-events.c: New file.
4187 * gdb.base/fork-print-inferior-events.exp: New file.
4188 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4189 '[Inferior ... has been killed]' message.
4190 * gdb.base/kill-after-signal.exp: Likewise.
4191 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4192 detach message.
4193 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4194 message.
4195 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4196 regexps to expect for '[Inferior ... detached]' as well.
4197 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4198
0a8ddac4
SM
41992018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4200
4201 PR gdb/23104
4202 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4203
d27d16bf
RB
42042018-04-19 Richard Bunt <richard.bunt@arm.com>
4205
4206 * gdb.threads/multiple-successive-infcall.c: New test.
4207 * gdb.threads/multiple-successive-infcall.exp: New file.
4208
a037790e
TT
42092018-04-17 Tom Tromey <tom@tromey.com>
4210
4211 * gdb.rust/simple.rs (Union): New type.
4212 (main): New local "u".
4213 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4214
e3a91079
AA
42152018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4216
4217 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4218 number information in output of "whereis" command.
4219 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4220
b744723f
AA
42212018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4222
4223 * gdb.ada/info_types.exp: Adjust expected output to the line
4224 numbers now printed by "info var/func/type".
4225 * gdb.base/completion.exp: Likewise.
4226 * gdb.base/included.exp: Likewise.
4227 * gdb.cp/cp-relocate.exp: Likewise.
4228 * gdb.cp/cplusfuncs.exp: Likewise.
4229 * gdb.cp/namespace.exp: Likewise.
4230 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4231
4a4495d6
MM
42322018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4233
4234 * gdb.btrace/cpu.exp: New.
4235
1d509aa6
MM
42362018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4237
4238 * gdb.base/step-indirect-call-thunk.exp: New.
4239 * gdb.base/step-indirect-call-thunk.c: New.
4240 * gdb.reverse/step-indirect-call-thunk.exp: New.
4241 * gdb.reverse/step-indirect-call-thunk.c: New.
4242
6295b6da
SM
42432018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4244
4245 * gdb.base/pie-fork.c: New file.
4246 * gdb.base/pie-fork.exp: New file.
4247
50146e70
TT
42482018-04-11 Tom Tromey <tom@tromey.com>
4249
4250 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4251
f50d8a2e
PA
42522018-04-10 Pedro Alves <palves@redhat.com>
4253
4254 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4255 exits. Instead loop running forever.
4256 (fork_parent): Run forever too.
4257
a0be7a36
SM
42582018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4259
4260 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4261 mi_continue_to_line.
4262 * gdb.mi/mi-stack.c (callee4): Add comment.
4263
9b73db36
SM
42642018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4265
4266 * gdb.mi/mi-stack.exp: Fix indentation.
4267
c912f608
SM
42682018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4269
4270 PR gdb/22979
4271 * gdb.arch/amd64-osabi.exp: New file.
4272
26540402
SM
42732018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4274
4275 PR gdb/22980
4276 * gdb.base/osabi.exp: New file.
4277
121ad66c 42782018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
4279
4280 * gdb.cp/static-typedef-print.exp: New file.
4281 * gdb.cp/static-typedef-print.cc: New file.
4282
3fcded8f
JB
42832018-03-27 Joel Brobecker <brobecker@adacore.com>
4284
4285 * gdb.ada/varsize_limit: New testcase.
4286
59cc4834
JB
42872018-03-27 Joel Brobecker <brobecker@adacore.com>
4288
4289 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4290
4291 * gdb.ada/notcplusplus: New testcase.
4292
4293 * gdb.base/c-linkage-name.c: New file.
4294 * gdb.base/c-linkage-name.exp: New testcase.
4295
4ca59a9f
TT
42962018-03-26 Tom Tromey <tom@tromey.com>
4297
4298 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4299 * gdb.python/py-framefilter.py (name_error): New global.
4300 (ErrorInName.function): Use name_error.
4301
978d6c75
TT
43022018-03-26 Tom Tromey <tom@tromey.com>
4303
4304 PR backtrace/15582:
4305 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4306
b7fee5a3
KS
43072018-03-23 Keith Seitz <keiths@redhat.com>
4308
4309 PR c++/22968
4310 * gdb.cp/subtypes.exp: New file.
4311 * gdb.cp/subtypes.h: New file.
4312 * gdb.cp/subtypes.cc: New file.
4313 * gdb.cp/subtypes-2.cc: New file.
4314
376be529
AB
43152018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4316
4317 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4318 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4319 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4320 -nostartfiles when compiling the test. Confirm that all registers
4321 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4322
066cfa98
AB
43232018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4324
4325 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4326 option, syntax was wrong anyway.
4327 * gdb.arch/arm-disp-step.exp: Likewise.
4328 * gdb.arch/sparc64-regs.exp: Likewise.
4329 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4330 option, syntax was wrong anyway, switch to use
4331 prepare_for_testing.
4332 * gdb.arch/i386-disp-step.exp: Likewise.
4333
079670b9
AA
43342018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4335
4336 * gdb.ada/exec_changed.exp: Replace "target_info exists
4337 use_gdb_stub" by "use_gdb_stub".
4338 * gdb.ada/start.exp: Likewise.
4339 * gdb.base/async-shell.exp: Likewise.
4340 * gdb.base/attach-pie-misread.exp: Likewise.
4341 * gdb.base/attach-wait-input.exp: Likewise.
4342 * gdb.base/break-entry.exp: Likewise.
4343 * gdb.base/break-interp.exp: Likewise.
4344 * gdb.base/dprintf-detach.exp: Likewise.
4345 * gdb.base/nostdlib.exp: Likewise.
4346 * gdb.base/solib-nodir.exp: Likewise.
4347 * gdb.base/statistics.exp: Likewise.
4348 * gdb.base/testenv.exp: Likewise.
4349 * gdb.mi/mi-exec-run.exp: Likewise.
4350 * gdb.mi/mi-start.exp: Likewise.
4351 * gdb.multi/dummy-frame-restore.exp: Likewise.
4352 * gdb.multi/multi-arch-exec.exp: Likewise.
4353 * gdb.multi/multi-arch.exp: Likewise.
4354 * gdb.multi/tids.exp: Likewise.
4355 * gdb.multi/watchpoint-multi.exp: Likewise.
4356 * gdb.python/py-events.exp: Likewise.
4357 * gdb.threads/attach-into-signal.exp: Likewise.
4358 * gdb.threads/attach-stopped.exp: Likewise.
4359 * gdb.threads/threadapply.exp: Likewise.
4360 * lib/selftest-support.exp: Likewise.
4361
26d6cec4
AA
43622018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4363
4364 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4365
4ee89e90
SR
43662018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4367
4368 * gdb.perf/template-breakpoints.cc: New file.
4369 * gdb.perf/template-breakpoints.exp: New file.
4370 * gdb.perf/template-breakpoints.py: New file.
4371
92630041
TT
43722018-03-19 Tom Tromey <tom@tromey.com>
4373
4374 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4375 y0.
4376 * gdb.rust/simple.exp: Test bare identifier form of struct
4377 initializer.
4378
76727919
TT
43792018-03-19 Tom Tromey <tom@tromey.com>
4380
4381 * gdb.gdb/observer.exp: Remove.
4382
194ed413
AA
43832018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4384
4385 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4386 "qualified" option when setting breakpoints.
4387 * gdb.trace/backtrace.exp: Likewise.
4388 * gdb.trace/circ.exp: Likewise.
4389 * gdb.trace/collection.exp: Likewise.
4390 * gdb.trace/disconnected-tracing.exp: Likewise.
4391 * gdb.trace/ftrace-lock.exp: Likewise.
4392 * gdb.trace/ftrace.exp: Likewise.
4393 * gdb.trace/infotrace.exp: Likewise.
4394 * gdb.trace/packetlen.exp: Likewise.
4395 * gdb.trace/passc-dyn.exp: Likewise.
4396 * gdb.trace/qtro.exp: Likewise.
4397 * gdb.trace/read-memory.exp: Likewise.
4398 * gdb.trace/report.exp: Likewise.
4399 * gdb.trace/signal.exp: Likewise.
4400 * gdb.trace/status-stop.exp: Likewise.
4401 * gdb.trace/strace.exp: Likewise.
4402 * gdb.trace/tfind.exp: Likewise.
4403 * gdb.trace/trace-break.exp: Likewise.
4404 * gdb.trace/trace-condition.exp: Likewise.
4405 * gdb.trace/trace-mt.exp: Likewise.
4406 * gdb.trace/tstatus.exp: Likewise.
4407 * gdb.trace/tsv.exp: Likewise.
4408 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4409 * gdb.trace/unavailable.exp: Likewise.
4410 * gdb.trace/while-dyn.exp: Likewise.
4411
8b067d2c
AA
44122018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4413
4414 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4415 that libinproctrace is copied to the target.
4416
3ae9ce5d
TT
44172018-03-14 Tom Tromey <tom@tromey.com>
4418
4419 PR cli/14977:
4420 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4421 a null pointer.
4422 * gdb.base/wchar.exp: Likewise.
4423
b8c2339b
TT
44242018-03-14 Tom Tromey <tom@tromey.com>
4425
4426 PR cli/19918:
4427 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4428 flag.
4429
4872dc46
SM
44302018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4431
4432 PR gdb/22841
4433 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4434 "target" to remote_exec.
4435
e4fe3756
SM
44362018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4437
4438 PR gdb/22841
4439 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4440 ${board}_upload): Remove.
4441
e95a97d4
AA
44422018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4443
4444 * gdb.cp/watch-cp.cc: New test.
4445 * gdb.cp/watch-cp.exp: New file.
4446
dbbb1059
AB
44472018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4448
4449 * gdb.base/infcall-nested-structs.exp: New file.
4450 * gdb.base/infcall-nested-structs.c: New file.
4451 * gdb.base/float.exp: Add riscv support.
4452
ecc054c0
TP
44532018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4454
4455 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4456 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4457
25e3c82c
SDJ
44582018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4459
4460 * gdb.server/abspath.exp: New file.
4461 * lib/gdb.exp (with_cwd): New procedure.
4462
3083294d
SM
44632018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4464
4465 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4466 use it.
4467 (gdb_is_target_remote_prompt): New proc.
4468 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4469 (gdb_is_target_native): Pass prompt parameter to
4470 gdb_is_target_1.
4471
3275ef47
SM
44722018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4473
4474 * gdb.base/load-command.c: New file.
4475 * gdb.base/load-command.exp: New file.
4476 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4477 (gdb_is_target_1): ...this, and generalize for other targets
4478 than just remote.
4479 (gdb_is_target_remote): Use gdb_is_target_1.
4480 (gdb_is_target_native): use gdb_is_target_1.
4481
6893c19a
TT
44822018-02-26 Tom Tromey <tom@tromey.com>
4483
4484 PR python/16497:
4485 * gdb.python/py-framefilter.exp: Update test.
4486
2ddeaf8a
TT
44872018-02-26 Tom Tromey <tom@tromey.com>
4488
4489 * gdb.dwarf2/variant.c: New file.
4490 * gdb.dwarf2/variant.exp: New file.
4491
c9317f21
TT
44922018-02-26 Tom Tromey <tom@tromey.com>
4493
4494 * gdb.rust/simple.exp: Accept more possible results in enum test.
4495
6f6d0c26
SM
44962018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4497
4498 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4499 parentheses.
4500
11b03145
MR
45012018-02-23 Maciej W. Rozycki <macro@mips.com>
4502
4503 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4504 name of a variable: $actual_linejj -> $actual_line.
4505
54a27fe5
JB
45062018-02-21 John Baldwin <jhb@FreeBSD.org>
4507
4508 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4509
de65820c
MM
45102018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4511
4512 * gdb.btrace/buffer-size.exp: Do not force BTS.
4513
980548fd
PA
45142018-02-14 Pedro Alves <palves@redhat.com>
4515
4516 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4517 getting a "Quit".
4518
c4e12631
MM
45192018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4520
4521 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4522 Fix test name.
4523
c2e0e465
SM
45242018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4525
4526 * gdb.cp/m-static.exp: Check type of optimized out static
4527 member.
4528
f7216783
AB
45292018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4530
4531 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4532 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4533
0625771b
LS
45342018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4535 Leszek Swirski <leszeks@google.com>
4536
4537 * gdb.python/py-prettyprint.c
4538 (struct to_string_returns_value_inner,
4539 struct to_string_returns_value_wrapper): New.
4540 (main): Add tsrvw variable.
4541 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4542 ToStringReturnsValueWrapper): New classes.
4543 (register_pretty_printers): Register new pretty-printers.
4544 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4545 recursive pretty printer.
4546 * gdb.python/py-mi.exp: Likewise.
4547
59498c30
LS
45482018-02-01 Leszek Swirski <leszeks@google.com>
4549
4550 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4551 functions with the same name as an include file are parsed
4552 correctly.
4553
d4d38844
YQ
45542018-02-01 Yao Qi <yao.qi@linaro.org>
4555
4556 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4557 "\[^\r\n\]*".
4558
07e5f5cf
NP
45592018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4560
4561 * gdb.arch/powerpc-prologue-frame.s: New file.
4562 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4563 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4564
929b5ad4
JB
45652018-01-31 Joel Brobecker <brobecker@adacore.com>
4566
4567 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4568
e671cd59
PA
45692018-01-30 Pedro Alves <palves@redhat.com>
4570
4571 PR gdb/13211
4572 * gdb.base/interrupt-daemon.c: New.
4573 * gdb.base/interrupt-daemon.exp: New.
4574 * gdb.multi/multi-term-settings.c: New.
4575 * gdb.multi/multi-term-settings.exp: New.
4576
fc413dc4
JB
45772018-01-30 Joel Brobecker <brobecker@adacore.com>
4578
4579 * gdb.base/break.exp: Save the location where the breakpoint
4580 on break.c:47 was actually inserted when debugging the version
4581 compiled at -O2 and use it in the expected output of the "info
4582 break" test performed soon after.
4583
5c319bb2
PA
45842018-01-22 Pedro Alves <palves@redhat.com>
4585 Sergio Durigan Junior <sergiodj@redhat.com>
4586
4587 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4588 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4589
a9e40818
JB
45902018-01-22 Joel Brobecker <brobecker@adacore.com>
4591
4592 * gdb.base/break-include.c, gdb.base/break-include.inc,
4593 gdb.base/break-include.exp: New files.
4594 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4595 line number now being the actual line number where the breakpoint
4596 was inserted.
4597 * gdb.mi/mi-break.exp: Likewise.
4598 * gdb.mi/mi-reverse.exp: Likewise.
4599 * gdb.mi/mi-simplerun.exp: Ditto.
4600
e707fc44
AB
46012018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4602
4603 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4604 varobj.
4605 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4606
ae451627
AB
46072018-01-21 Don Breazeal <donb@codesourcery.com>
4608 Andrew Burgess <andrew.burgess@embecosm.com>
4609
4610 * gdb.mi/basics.c: Add new global.
4611 * gdb.mi/mi-frame-regs.exp: New file.
4612 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4613 case.
4614
b1b189e0
AB
46152018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4616
4617 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4618 non-parameter, and on an unknown symbol.
4619
fcfcc376
TT
46202018-01-19 Tom Tromey <tom@tromey.com>
4621
4622 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4623 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4624
634c1c31
AA
46252018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4626
4627 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4628 setrlimit and chdir to int.
4629
d6ad07fd
AA
46302018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4631
4632 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4633 function.
4634 (my_tend): Likewise.
4635 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4636 rationale of avoiding FP- and vector instructions.
4637
adf8243b
RK
46382018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4639
4640 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4641 "info reg" with "\[ \t\]*".
4642 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4643 "\[ \t\]+".
4644 * gdb.arch/s390-multiarch.exp: Ditto.
4645 * gdb.base/pc-fp.exp: Ditto.
4646 * gdb.reverse/i386-precsave.exp: Ditto.
4647 * gdb.reverse/i386-reverse.exp: Ditto.
4648 * gdb.reverse/i387-env-reverse.exp: Ditto.
4649 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4650
dcc06925
AA
46512018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4652
4653 * lib/gdb.exp (gdb_compile): Re-enable use of
4654 universal_compile_options for languages other than Rust.
4655
25d4fd80
AA
46562018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4657
4658 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4659
ee7f689e 46602018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
4661
4662 PR gdb/16577
4663 * gdb.base/solib-vanish.exp: New.
4664 * gdb.base/solib-vanish-main.c: New.
4665 * gdb.base/solib-vanish-lib1.c: New.
4666 * gdb.base/solib-vanish-lib2.c: New.
4667
d8447b6b
YQ
46682018-01-17 Yao Qi <yao.qi@linaro.org>
4669
4670 * gdb.compile/compile.exp: Match the address printed for
4671 frame in the output of command "bt".
4672
86d6a90c
TT
46732018-01-15 Tom Tromey <tom@tromey.com>
4674
4675 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4676 compute sp_reg.
4677
cbcdb1aa
AB
46782018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4679
4680 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4681 to prepare.
4682 (prepare): Return 0 on error, 1 on success.
4683
eea61984
PA
46842018-01-12 Pedro Alves <palves@redhat.com>
4685
4686 * gdb.base/continue-after-aborted-step-over.c: New.
4687 * gdb.base/continue-after-aborted-step-over.exp: New.
4688
6181e9c2
SM
46892018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4690
4691 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4692 options when not creating an executable.
4693
3cada740
PA
46942018-01-11 Pedro Alves <palves@redhat.com>
4695
4696 PR remote/22597
4697 * gdb.server/stop-reply-no-thread.c: New file.
4698 * gdb.server/stop-reply-no-thread.exp: New file.
4699
c63d3e8d
PA
47002018-01-10 Pedro Alves <palves@redhat.com>
4701
4702 PR gdb/22670
4703 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4704 functions too. Test setting breakpoints and printing C functions
4705 with no debug info too.
4706 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4707
d4c2a405
PA
47082018-01-10 Pedro Alves <palves@redhat.com>
4709
4710 PR gdb/22670
4711 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4712 a fail.
4713
8825213e
PA
47142018-01-10 Pedro Alves <palves@redhat.com>
4715
4716 PR gdb/22670
4717 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4718
605fd3c6
YQ
47192018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4720
4721 * gdb.server/unittest.exp: Match the output in non-development
4722 mode.
4723
1e5ded6c
YQ
47242018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4725
4726 * gdb.gdb/unittest.exp: Match output in non-development mode.
4727
30066b0b
JB
47282018-01-08 Joel Brobecker <brobecker@adacore.com>
4729
4730 * gdb.ada/access_tagged_param.exp: Relax expected output
4731 for value of "ObjL" in "continue" to pck.inspect breakpoint
4732 test.
4733
04bafb1e
XR
47342018-01-08 Joel Brobecker <brobecker@adacore.com>
4735
9f86398b
JB
4736 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4737 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 4738
e379cee6
PA
47392018-01-05 Pedro Alves <palves@redhat.com>
4740
4741 PR gdb/18653
4742 * gdb.base/libsegfault.exp: New.
4743
de63c46b
PA
47442018-01-05 Joel Brobecker <brobecker@adacore.com>
4745
4746 PR gdb/22670
4747 * gdb.ada/access_tagged_param.exp: New file.
4748 * gdb.ada/access_tagged_param/foo.adb: New file.
4749
f98fc17b
PA
47502018-01-05 Pedro Alves <palves@redhat.com>
4751
4752 PR gdb/22670
4753 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4754 exercise lower case too, and to exercise both full matching and
4755 wild matching.
4756
342f8240
JB
47572018-01-05 Joel Brobecker <brobecker@adacore.com>
4758
4759 * gdb.ada/rename_subscript_param: New testcase.
4760
7150d33c
JG
47612018-01-05 Jerome Guitton <guitton@adacore.com>
4762
4763 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4764
cc0e770c
JB
47652018-01-05 Joel Brobecker <brobecker@adacore.com>
4766
4767 * gdb.ada/convvar_comp: New testcase.
4768
672a41aa 47692018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
4770
4771 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4772 (My_Table): New global variable.
4773 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4774
7365ec2f
JB
47752018-01-04 Joel Brobecker <brobecker@adacore.com>
4776
4777 PR gdb/22670
4778 * gdb.ada/maint_with_ada: New testcase.
4779
289483b6
JB
47802018-01-04 Joel Brobecker <brobecker@adacore.com>
4781
4782 PR gdb/22670
4783 * gdb.ada/bp_c_mixed_case: New testcase.
4784
344420da
JB
47852018-01-04 Joel Brobecker <brobecker@adacore.com>
4786
4787 PR gdb/22670
4788 * gdb.ada/complete.exp: Add "complete break ada" test.
4789
66fc87a0
JB
47902018-01-04 Joel Brobecker <brobecker@adacore.com>
4791
4792 PR gdb/22670
4793 * gdb.ada/info_addr_mixed_case: New testcase.
4794
9f757bf7
XR
47952018-01-03 Xavier Roirand <roirand@adacore.com>
4796
4797 * gdb.ada/excep_handle.exp: New testcase.
4798 * gdb.ada/excep_handle/foo.adb: New file.
4799 * gdb.ada/excep_handle/pck.ads: New file.
4800
bd570f80
JB
48012018-01-03 Joel Brobecker <brobecker@adacore.com>
4802
4803 * gdb.base/step-line.c: Add extra empty line in copyright header.
4804 * gdb.base/step-line.inp: Likewise.
4805
9fe561ab
JB
48062018-01-02 Joel Brobecker <brobecker@adacore.com>
4807
4808 * gdb.ada/dyn_stride.exp: Add slice test.
4809
a405673c
JB
48102018-01-02 Joel Brobecker <brobecker@adacore.com>
4811
4812 * gdb.ada/dyn_stride: New testcase.
4813
cef0f868
SH
48142017-12-27 Stafford Horne <shorne@gmail.com>
4815
4816 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4817 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4818
b67d92b0
SH
48192017-12-27 Stafford Horne <shorne@gmail.com>
4820
4821 * gdb.base/reggroups.c: New file.
4822 * gdb.base/reggroups.exp: New file.
4823
eccab96d
JB
48242017-12-18 Joel Brobecker <brobecker@adacore.com>
4825
4826 * gdb.dwarf2/ada-valprint-error.c: New file.
4827 * gdb.dwarf2/ada-valprint-error.exp: New file.
4828
0e2da9f0
JB
48292017-12-18 Joel Brobecker <brobecker@adacore.com>
4830
4831 * gdb.ada/assign_arr: New testcase.
4832
cb923fcc
XR
48332017-12-18 Xavier Roirand <roirand@adacore.com>
4834
4835 * gdb.ada/funcall_ptr: New testcase.
4836
7c161838
SDJ
48372017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4838
4839 PR cli/16224
4840 * gdb.base/ptype-offsets.cc: New file.
4841 * gdb.base/ptype-offsets.exp: New file.
4842
1af17fd9
YQ
48432017-12-15 Yao Qi <yao.qi@linaro.org>
4844
4845 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4846 if XML is disabled.
4847
828d5846
XR
48482017-12-15 Xavier Roirand <roirand@adacore.com>
4849
4850 * gdb.ada/same_component_name: New testcase.
4851
79e8fcaa
JB
48522017-12-14 Joel Brobecker <brobecker@adacore.com>
4853
4854 * gdb.ada/str_binop_equal: New testcase.
4855
e05fa6f9
JB
48562017-12-14 Joel Brobecker <brobecker@adacore.com>
4857
4858 * gdb.ada/task_switch_in_core: New testcase.
4859
b89641ba
SM
48602017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4861
4862 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4863 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4864 call test_bkpt_qualified.
4865 (test_bkpt_qualified): New proc.
4866
6892d2e4
PA
48672017-12-13 Pedro Alves <palves@redhat.com>
4868
4869 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4870 Tighten regexp by matching with an anchor.
4871
a22ecf70
PA
48722017-12-13 Pedro Alves <palves@redhat.com>
4873
4874 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4875 ("expression with namespace"): New set of tests.
4876 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4877 (Nested::Test_NS::qux): New.
4878 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4879 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4880
9937536c
JB
48812017-12-13 Joel Brobecker <brobecker@adacore.com>
4882
4883 * gdb.base/server-del-break.c: New file.
4884 * gdb.base/server-del-break.exp: New file.
4885
fe49c6f5
SH
48862017-12-12 Stafford Horne <shorne@gmail.com>
4887
4888 * gdb.xml/tdesc-regs.exp: Add or1k support.
4889
c3d18620
SH
48902017-12-12 Stafford Horne <shorne@gmail.com>
4891
4892 * gdb.base/bp-permanent.c: Define nop of or1k.
4893
c5f9cfc8
JB
48942017-12-11 Joel Brobecker <brobecker@adacore.com>
4895
4896 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4897 output with components being reordered.
4898
a9c135fc
JB
48992017-12-11 Joel Brobecker <brobecker@adacore.com>
4900
4901 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4902 output with components being reordered.
4903
927aa2e7
JK
49042017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4905 Pedro Alves <palves@redhat.com>
4906
4907 * gdb.base/maint.exp (check for .gdb_index): Check also for
4908 .debug_names.
4909 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4910 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4911 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4912 (.gdb_index used after symbol reloading): Support also .debug_names.
4913 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4914
f17d9474
YQ
49152017-12-08 Yao Qi <yao.qi@linaro.org>
4916
4917 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4918 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4919
a0de8c21
YQ
49202017-12-08 Yao Qi <yao.qi@linaro.org>
4921
4922 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4923 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4924
a738ea1d
YQ
49252017-12-08 Yao Qi <yao.qi@linaro.org>
4926
4927 * gdb.arch/aarch64-tagged-pointer.c: New file.
4928 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4929
1cd9a73b
SDJ
49302017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4931
4932 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4933 "int".
4934
fa6eb693
KS
49352017-12-07 Keith Seitz <keiths@redhat.com>
4936
4937 PR breakpoints/22569
4938 * gdb.linespec/ls-errs.exp: Change expected result of "break
4939 -source this file has spaces.c -line 3".
4940 Check that an explicit source file followed by whitespace is
4941 identified as an invalid explicit location.
4942
883fd55a
KS
49432017-12-07 Keith Seitz <keiths@redhat.com>
4944
4945 * gdb.cp/nested-types.cc: New file.
4946 * gdb.cp/nested-types.exp: New file.
4947 * lib/cp-support.exp: Load data-structures.exp library.
4948 (debug_cp_test_ptype_class): New global.
4949 (cp_ptype_class_verbose, next_line): New procedures.
4950 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4951 Add and document new return value.
4952 Switch the list of lines to a queue.
4953 Add support for new `type' key for nested type definitions.
4954 Add debugging/troubleshooting messages.
4955 * lib/data-structures.exp: New file.
4956
ec72db3e
SM
49572017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4958
4959 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4960 with proc_with_prefix, don't use with_test_prefix.
4961
99598d71
TT
49622017-12-07 Tom Tromey <tom@tromey.com>
4963
4964 * gdb.base/break.exp: Add test for empty "commands".
4965
a8806230
YQ
49662017-12-07 Yao Qi <yao.qi@linaro.org>
4967
4968 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4969 malloc and catch syscall.
4970
824cc835
PM
49712017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4972
e79be6e5 4973 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
4974 tests for explicit locations.
4975
7cc244de
PA
49762017-12-06 Pedro Alves <palves@redhat.com>
4977
4978 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4979 force-disabling XML descriptions.
4980
50a1fdd5
PA
49812017-12-04 Pedro Alves <palves@redhat.com>
4982
4983 PR gdb/22499
4984 * gdb.arch/amd64-disp-step-avx.S: New file.
4985 * gdb.arch/amd64-disp-step-avx.exp: New file.
4986
f0fb2488
PA
49872017-12-03 Pedro Alves <palves@redhat.com>
4988
4989 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4990 and <string.h>.
4991 (parent_function): Print distinct messages when waitpid fails, or
4992 the child exits with a signal, or the child exits for an unhandled
4993 reason.
4994 * gdb.threads/process-dies-while-detaching.exp
4995 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4996 it. Wait for both inferior output and GDB's prompt. Use an
4997 indirect spawn id list.
4998 (do_detach): New parameter 'child_exit'. Use it to compute
4999 expected inferior output.
5000 (test_detach, test_detach_watch, test_detach_killed_outside):
5001 Adjust to pass down the expected child exit kind.
5002
97cbe998
SDJ
50032017-12-01 Joel Brobecker <brobecker@adacore.com>
5004 Sergio Durigan Junior <sergiodj@redhat.com>
5005 Pedro Alves <palves@redhat.com>
5006
5007 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5008
40fc416f
SDJ
50092017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5010
5011 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5012 to 'symbol-file' and 'add-symbol-file' can be
5013 position-independent.
5014
1cc75e92
YQ
50152017-12-01 Yao Qi <yao.qi@linaro.org>
5016
5017 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5018 the URL in copyright header.
5019 * gdb.arch/aarch64-fp.exp: Likewise.
5020 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5021 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5022 * gdb.base/expand-psymtabs.exp: Likewise.
5023 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5024 * gdb.fortran/common-block.exp: Likewise.
5025 * gdb.fortran/common-block.f90: Likewise.
5026 * gdb.fortran/logical.exp: Likewise.
5027 * gdb.fortran/vla-datatypes.f90: Likewise.
5028 * gdb.fortran/vla-sub.f90: Likewise.
5029
875fb7a7
JB
50302017-11-30 Joel Brobecker <brobecker@adacore.com>
5031
5032 * gdb.ada/repeat_dyn: New testcase.
5033
6f14765f
UW
50342017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5035
5036 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5037 Update for changed thread numbering.
5038 * gdb.cell/bt.exp: Update for changed GDB output.
5039
f1af7b94
SM
50402017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5041
5042 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5043 setting isremote by hand.
5044 * boards/dwarf4-gdb-index.exp: Likewise.
5045 * boards/fission.exp: Likewise.
5046 * boards/stabs.exp: Likewise.
5047
e3919f3e
PA
50482017-11-30 Pedro Alves <palves@redhat.com>
5049
5050 * gdb.linespec/cpls-ops.exp
5051 (check_explicit_skips_function_argument): Extract the underlying
5052 type of size_t instead of hardcoding it.
5053
bd69330d
PA
50542017-11-29 Pedro Alves <palves@redhat.com>
5055
5056 PR c++/19436
5057 * gdb.linespec/cpls-abi-tag.cc: New file.
5058 * gdb.linespec/cpls-abi-tag.exp: New file.
5059
a20714ff
PA
50602017-11-29 Pedro Alves <palves@redhat.com>
5061
5062 * gdb.base/langs.exp: Use -qualified.
5063 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5064 it.
5065 * gdb.cp/namespace.exp: Use -qualified.
5066 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5067 (overload-3, template-overload, template-ret-type, const-overload)
5068 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5069 procedures.
5070 (test_driver): Call them.
5071 * gdb.cp/save-bp-qualified.cc: New.
5072 * gdb.cp/save-bp-qualified.exp: New.
5073 * gdb.linespec/explicit.exp: Test -qualified.
5074 * lib/completion-support.exp (completion::explicit_opts_list): Add
5075 "-qualified".
5076 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5077
f6f1d339
PM
50782017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5079
5080 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5081
02ca603a
TT
50822017-11-29 Tom Tromey <tom@tromey.com>
5083
5084 * gdb.base/relocate.exp: Update invalid argument test.
5085 Add new tests for invalid arguments.
5086
ed6c0bfb
TP
50872017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5088
5089 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5090 Return 0 as a long.
5091 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5092
f106e10e
TP
50932017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5094
5095 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5096 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5097 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5098 func ().
5099 * gdb.cp/shadow.cc (B.func): Return 0.
5100
10329bb2
JB
51012017-11-27 Joel Brobecker <brobecker@adacore.com>
5102
5103 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5104 expected output in gdb_expect call to allow the exception
5105 message to be present as well. Fix syntax confusion to avoid
5106 TCL thinking that exception_name is an array.
5107
617cd4bc
UW
51082017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5109
5110 * gdb.arch/spu-info.c: Include <unistd.h>.
5111 (do_signal_test): Fix broken calls to write.
5112 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5113 Fix checks for empty mailboxes. Update signal tests for corrected
5114 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
5115 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5116 * gdb.cell/arch.exp: Use standard_output_file.
5117 * gdb.cell/break.exp: Likewise.
5118 * gdb.cell/bt.exp: Likewise.
5119 * gdb.cell/core.exp: Likewise.
5120 * gdb.cell/dwarfaddr.exp: Likewise.
5121 * gdb.cell/ea-cache.exp: Likewise.
5122 * gdb.cell/ea-standalone.exp: Likewise.
5123 * gdb.cell/f-regs.exp: Likewise.
5124 * gdb.cell/fork.exp: Likewise.
5125 * gdb.cell/gcore.exp: Likewise.
5126 * gdb.cell/mem-access.exp: Likewise.
5127 * gdb.cell/ptype.exp: Likewise.
5128 * gdb.cell/registers.exp: Likewise.
5129 * gdb.cell/sizeof.exp: Likewise.
5130 * gdb.cell/solib-symbol.exp: Likewise.
5131 * gdb.cell/solib.exp: Likewise.
617cd4bc 5132
a81aaca0
PA
51332017-11-25 Pedro Alves <palves@redhat.com>
5134
5135 * gdb.base/complete-empty.exp: New file.
5136 * gdb.base/completion.exp: Adjust.
5137
6a3c6ee4
PA
51382017-11-25 Pedro Alves <palves@redhat.com>
5139
5140 * gdb.linespec/cpls-ops.cc: New file.
5141 * gdb.linespec/cpls-ops.exp: New file.
5142 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5143 factored out from ...
5144 (test_complete_prefix_range): ... this.
5145
8955eb2d
PA
51462017-11-24 Pedro Alves <palves@redhat.com>
5147
5148 * gdb.linespec/cpcompletion.exp: New file.
5149 * gdb.linespec/cpls-hyphen.cc: New file.
5150 * gdb.linespec/cpls.cc: New file.
5151 * gdb.linespec/cpls2.cc: New file.
5152 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5153 test to use test_gdb_complete_unique. Add label completion,
5154 keyword completion and explicit location completion tests.
5155 * lib/completion-support.exp: New file.
5156
e547c119
JB
51572017-11-24 Joel Brobecker <brobecker@adacore.com>
5158
5159 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5160 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5161 when hitting an exception catchpoint.
5162
7c3c1aa8
YQ
51632017-11-22 Yao Qi <yao.qi@linaro.org>
5164
5165 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5166
41bd68f5
SM
51672017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5168
5169 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5170 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5171 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5172
1daad298
YQ
51732017-11-22 Yao Qi <yao.qi@linaro.org>
5174
5175 * gdb.base/info-os.exp: Pass pthreads.
5176 * gdb.multi/multi-attach.exp: Likewise.
5177
88465e87
YQ
51782017-11-22 Yao Qi <yao.qi@linaro.org>
5179
5180 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5181 compiler.
5182
dc196b23
YQ
51832017-11-22 Yao Qi <yao.qi@linaro.org>
5184
5185 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5186 * gdb.base/break-interp.exp: Likewise.
5187 * gdb.base/jit-attach-pie.exp: Likewise.
5188
2400729e
UW
51892017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5190
5191 * gdb.base/float128.c (large128): New variable.
5192 * gdb.base/float128.exp: Add test to print largest __float128 value.
5193
7a26362d
UW
51942017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5195
5196 * gdb.arch/vsx-regs.exp: Update register content checks.
5197
ed0f4273
UW
51982017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5199
5200 * gdb.arch/ppc-longdouble.exp: New file.
5201 * gdb.arch/ppc-longdouble.c: Likewise.
5202
a25d69c6
PA
52032017-11-21 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5206
73fcf641
PA
52072017-11-20 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5210 (long_double_typedef): New typedefs.
5211 Use DEF on double and long double.
5212 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5213 cases.
5214 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5215 and 'long_double_ptr_same_size' locals. Use them to decide
5216 whether cast from array/function to float is valid/invalid.
5217
71a3c369
TT
52182017-11-17 Tom Tromey <tom@tromey.com>
5219
5220 * gdb.rust/traits.rs: New file.
5221 * gdb.rust/traits.exp: New file.
5222
ced9779b
JB
52232017-11-17 Joel Brobecker <brobecker@adacore.com>
5224
5225 * gdb.ada/minsyms: New testcase.
5226
a0922d80
PA
52272017-11-16 Pedro Alves <palves@redhat.com>
5228
5229 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5230 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5231
ea04e54c
PA
52322017-11-16 Pedro Alves <palves@redhat.com>
5233
5234 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5235 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5236
e849ea89
PA
52372017-11-16 Pedro Alves <palves@redhat.com>
5238
5239 * gdb.server/reconnect-ctrl-c.c: New file.
5240 * gdb.server/reconnect-ctrl-c.exp: New file.
5241
d8ae99a7
PM
52422017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5243
5244 * gdb.python/py-rbreak.exp: New file.
5245 * gdb.python/py-rbreak.c: New file.
5246 * gdb.python/py-rbreak-func2.c: New file.
5247
968a13f8
PA
52482017-11-16 Pedro Alves <palves@redhat.com>
5249
5250 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5251 pattern.
5252 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5253 GDB.
5254
71774bc9
SM
52552017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5256
5257 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5258 regex.
5259
ddbb44cf
SM
52602017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5261
5262 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5263 test names.
5264
584a564f
PA
52652017-11-09 Pedro Alves <palves@redhat.com>
5266
5267 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5268 factored out from ...
5269 (top level): ... here, and adjusted to avoid expecting beyond the
5270 prompt in a single gdb_test_multiple.
5271
5ed7a928
PA
52722017-11-09 Pedro Alves <palves@redhat.com>
5273
5274 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5275 output.
5276 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5277 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5278 * gdb.server/ext-run.exp ("kill" test): Likewise.
5279 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5280
a60e0738
PA
52812017-11-09 Pedro Alves <palves@redhat.com>
5282
5283 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5284 match till end of line.
5285
2c88253f
PA
52862017-11-09 Pedro Alves <palves@redhat.com>
5287
5288 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5289
c7a38517
PA
52902017-11-09 Pedro Alves <palves@redhat.com>
5291
5292 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5293 New procedures, factored out from ...
5294 (top level): ... here, and adjusted to avoid expecting beyond the
5295 prompt in one go.
5296
f29f4b6b
PA
52972017-11-09 Pedro Alves <palves@redhat.com>
5298
5299 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5300 output. Fix '?' match.
5301
286acbb5
JB
53022017-11-08 Joel Brobecker <brobecker@adacore.com>
5303
5304 * gdb.ada/scoped_watch: New testcase.
5305 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5306 which is actually correct.
5307 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5308 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5309
62d7ae92
PA
53102017-11-08 Pedro Alves <palves@redhat.com>
5311
5312 * gdb.gdb/complaints.exp (test_initial_complaints)
5313 (test_serial_complaints, test_short_complaints): Call
5314 complaint_internal instead of complaint.
5315
280ca31f
DT
53162017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5317
5318 * gdb.threads/tls-core.c: New file.
5319 * gdb.threads/tls-core.exp: Likewise.
5320
b5ec771e
PA
53212017-11-08 Pedro Alves <palves@redhat.com>
5322
5323 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5324 (p Exported_Capitalized): New test.
5325 (p exported_capitalized): New test.
5326
a02b41a7
PA
53272017-11-07 Pedro Alves <palves@redhat.com>
5328
5329 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5330
95e95a6d
PA
53312017-11-07 Pedro Alves <palves@redhat.com>
5332
5333 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5334 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5335 (disable_invalid, disable_inverted, disable_negative): New
5336 procedures.
5337 ("bad numbers"): New set of tests.
5338
cee62dbd
PA
53392017-11-07 Pedro Alves <palves@redhat.com>
5340
5341 * gdb.cp/ena-dis-br-range.exp: Add tests.
5342
cc638e86
PA
53432017-11-07 Pedro Alves <palves@redhat.com>
5344
5345 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5346
d0fe4701
XR
53472017-11-07 Xavier Roirand <roirand@adacore.com>
5348 Pedro Alves <palves@redhat.com>
5349
5350 * gdb.base/ena-dis-br.exp: Add reference to
5351 gdb.cp/ena-dis-br-range.exp.
5352 * gdb.cp/ena-dis-br-range.exp: New file.
5353 * gdb.cp/ena-dis-br-range.cc: New file.
5354
46f67f80
PA
53552017-11-06 Pedro Alves <palves@redhat.com>
5356
5357 * gdb.base/attach-non-pgrp-leader.c: New.
5358 * gdb.base/attach-non-pgrp-leader.exp: New.
5359
726e1356
PA
53602017-11-06 Pedro Alves <palves@redhat.com>
5361
5362 * configure.ac: No longer check for termio.h and sgtty.h.
5363 * configure: Regenerate.
5364 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5365 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5366 Remove termio and sgtty code.
5367
50ab6ace
YQ
53682017-11-03 Yao Qi <yao.qi@linaro.org>
5369
5370 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5371 in GDB is disabled.
5372
8e68731c
YQ
53732017-11-03 Yao Qi <yao.qi@linaro.org>
5374
5375 * gdb.python/py-thrhandle.exp: Skip it if python is not
5376 enabled.
5377
3a87ae65
SM
53782017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5379
5380 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5381 as a breakpoint command.
5382
484d8d36
MD
53832017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5384
5385 PR python/21213
5386 * gdb.python/py-infthread.exp: Test calling
5387 InferiorThread.inferior () multiple times in a row.
5388
4a27f119
KS
53892017-10-27 Keith Seitz <keiths@redhat.com>
5390
5391 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5392 Test "info break" for every inlined function breakpoint.
5393
bb11dd58
YQ
53942017-10-27 Yao Qi <yao.qi@linaro.org>
5395
5396 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5397
a43f3893
PF
53982017-10-26 Patrick Frants <osscontribute@gmail.com>
5399
5400 * gdb.cp/classes.exp (test_static_members): Test printing
5401 Outer::instance.
5402 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5403 (Inner::instance, Outer::instance): New.
5404
792ccf00
PA
54052017-10-24 Pedro Alves <palves@redhat.com>
5406
5407 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5408 extra console" test in two stages.
5409
eb2bfbad
PA
54102017-10-24 Pedro Alves <palves@redhat.com>
5411
5412 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5413
1f75a651
PA
54142017-10-24 Pedro Alves <palves@redhat.com>
5415
5416 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5417 loop.
5418
779990d9
PA
54192017-10-24 Pedro Alves <palves@redhat.com>
5420
5421 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5422 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5423
ad9b8f5d
PA
54242017-10-24 Pedro Alves <palves@redhat.com>
5425
5426 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5427 parameter and handle it. Don't output read value in test name.
5428
fee6da6e
PA
54292017-10-24 Pedro Alves <palves@redhat.com>
5430
5431 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5432 custom test name.
5433
10389c2c
PA
54342017-10-24 Pedro Alves <palves@redhat.com>
5435
5436 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5437 include the unstable output directory name in the test's name.
5438 (initial_setup_simple) <'set args'>: Use custom test name.
5439
a80e65a9
PA
54402017-10-24 Pedro Alves <palves@redhat.com>
5441
5442 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5443 with explicit test name.
5444
15763a09
PA
54452017-10-20 Pedro Alves <palves@redhat.com>
5446
5447 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5448 'wait -i'. Use gdb_assert and remote_close.
5449
49a4ce2e
AB
54502017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5451
5452 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5453 number from variable rather than hard-coded.
5454
a75868f5
PA
54552017-10-19 Pedro Alves <palves@redhat.com>
5456
5457 * gdb.base/long-inferior-output.c: New file.
5458 * gdb.base/long-inferior-output.exp: New file.
5459
c8ba13ad
KS
54602017-11-18 Keith Seitz <keiths@redhat.com>
5461
5462 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5463 method.
5464 (main): Call it.
5465 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5466 Add additional user-defined conversion operator tests.
5467
b27de576
PA
54682017-10-17 Pedro Alves <palves@redhat.com>
5469
5470 * boards/native-stdio-gdbserver.exp: Load "local-board".
5471
8484c955
PA
54722017-10-17 Pedro Alves <palves@redhat.com>
5473
5474 * gdb.base/quit-live.c: New file.
5475 * gdb.base/quit-live.exp: New file.
5476
83d5a34d
KS
54772017-10-16 Keith Seitz <keiths@redhat.com>
5478
5479 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5480 (class_with_protected_typedef, class_with_private_typedef)
5481 (struct_with_public_typedef, struct_with_protected_typedef)
5482 (struct_with_private_typedef): New classes/structs.
5483 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5484 typedefs and access specifiers.
5485
739b3f1d
PA
54862017-10-16 Pedro Alves <palves@redhat.com>
5487 Simon Marchi <simon.marchi@polymtl.ca>
5488
5489 * README (Local vs Remote vs Native): New section.
5490 * boards/local-board.exp: New file, with bits factored out from
5491 ...
5492 * boards/native-extended-gdbserver.exp: ... here. Load
5493 "local-board".
5494 * boards/native-gdbserver.exp: Load "local-board".
5495 (${board}_spawn, ${board}_exec): Delete.
5496 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5497 ...
5498 * boards/stdio-gdbserver-base.exp: ... this new file.
5499 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5500 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5501 procedure.
5502 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5503 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5504 stdio_gdbserver_command.
5505 (${board}_get_remote_address, ${board}_get_comm_port)
5506 (${board}_download, ${board}_upload): Delete.
5507 (get_target_remote_pipe_cmd): New.
5508
fe68b953
SM
55092017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5510
5511 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5512 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5513 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5514 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5515 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5516 remove with_test_prefix.
5517
300b6685
PA
55182017-10-13 Pedro Alves <palves@redhat.com>
5519
5520 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5521 * gdb.base/annota1.exp: Use it instead of is_remote.
5522 * gdb.base/annota3.exp: Use it instead of is_remote.
5523 * gdb.cp/annota2.exp: Use it instead of is_remote.
5524 * gdb.cp/annota3.exp: Use it instead of is_remote.
5525 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5526
50500caf
PA
55272017-10-13 Pedro Alves <palves@redhat.com>
5528
5529 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5530 (test_num_test_vars, run_and_count_vars, find_env)
5531 (test_set_unset_env, test_inherit_env_var): New procedures.
5532 (top level): Use them.
5533
dad0c6d2
PA
55342017-10-13 Pedro Alves <palves@redhat.com>
5535
5536 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5537 also skip on stub-like targets.
5538
8b0553c1
PA
55392017-10-13 Pedro Alves <palves@redhat.com>
5540
5541 PR gdb/22293
5542 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5543 (top level): Move some tests to ...
5544 (test_not_found): ... this new procedure.
5545 (top level): Call it.
5546
7594f623
PA
55472017-10-13 Pedro Alves <palves@redhat.com>
5548
5549 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5550 expect different "info terminal" output if testing with a
5551 non-native target.
5552
ebe3b402
PA
55532017-10-13 Pedro Alves <palves@redhat.com>
5554 Simon Marchi <simon.marchi@polymtl.ca>
5555
5556 PR python/12966
5557 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5558
42f1b161
PA
55592017-10-13 Pedro Alves <palves@redhat.com>
5560
5561 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5562 already.
5563
8d6ef72b
PA
55642017-10-13 Pedro Alves <palves@redhat.com>
5565
5566 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5567 is_remote.
5568
d7bcd5b8
PA
55692017-10-13 Pedro Alves <palves@redhat.com>
5570
5571 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5572 is_remote.
5573
df479dc6
PA
55742017-10-13 Pedro Alves <palves@redhat.com>
5575
5576 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5577 is set.
5578 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5579 instead of is_remote.
5580
23fb630a
PA
55812017-10-13 Pedro Alves <palves@redhat.com>
5582
5583 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5584 (top level): Add comment.
5585
cc77b1dc
PA
55862017-10-13 Pedro Alves <palves@redhat.com>
5587
5588 * gdb.base/remote.exp (top level): Fix comment typo and add
5589 missing return.
5590
27c9e813
PA
55912017-10-13 Pedro Alves <palves@redhat.com>
5592 Simon Marchi <simon.marchi@polymtl.ca>
5593
5594 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5595 calls and add comments. Skip test if use_gdb_stub is set.
5596 (top level): Use "set cwd" command instead of "cd" command.
5597
5e830d98
PA
55982017-10-13 Pedro Alves <palves@redhat.com>
5599
5600 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5601 is_remote target check.
5602
f5ca0032
PA
56032017-10-13 Pedro Alves <palves@redhat.com>
5604
5605 * gdb.base/scope.exp: Use build_executable + clean_restart +
5606 gdb_file_cmd instead of prepare_for_testing and no longer skip
5607 "before run" tests on is_remote target boards. Update comments.
5608 * boards/native-extended-gdbserver.exp
5609 (extended_gdbserver_load_last_file): New, factored out from ...
5610 (gdb_load): ... this. Move further below and add comment.
5611 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5612
8aed1c0d
PA
56132017-10-12 Pedro Alves <palves@redhat.com>
5614
5615 * gdb.base/attach.exp: Remove references to gdb64.
5616 * gdb.base/dbx.exp: Remove references to gdb64.
5617
cfa34c87
SM
56182017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5619 Pedro Alves <palves@redhat.com>
5620
5621 * gdb.base/label.exp: Remove is_remote target check.
5622
9192b7de
PA
56232017-10-12 Pedro Alves <palves@redhat.com>
5624
5625 * gdb.base/auvx.exp (coredir): Update comment.
5626 (top level) <core_works>: Use "set cwd" command instead of "cd"
5627 command.
5628
6bf0052d
PA
56292017-10-12 Pedro Alves <palves@redhat.com>
5630 Simon Marchi <simon.marchi@polymtl.ca>
5631
5632 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5633 target boards.
5634
e48ef82d
PA
56352017-10-12 Pedro Alves <palves@redhat.com>
5636 Simon Marchi <simon.marchi@polymtl.ca>
5637
5638 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5639 Instead skip if there's any gdb_protocol set.
5640
8d7aea57
SM
56412017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5642 Pedro Alves <palves@redhat.com>
5643
5644 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5645
30440677
PA
56462017-10-12 Pedro Alves <palves@redhat.com>
5647 Simon Marchi <simon.marchi@polymtl.ca>
5648
5649 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5650 instead of on dejagnu remote boards.
5651
4e04f045 56522017-10-12 Pedro Alves <palves@redhat.com>
175654b9 5653 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
5654
5655 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5656 checks. Use build_executable + clean_restart instead of
5657 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5658 of enabling non-stop after starting gdb.
5659
871a186e
PA
56602017-10-12 Pedro Alves <palves@redhat.com>
5661
5662 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5663 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5664 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5665 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5666
56d704da
AK
56672017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5668
5669 * gdb.arch/arc-tdesc-cpu.exp: New file.
5670 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5671
2f20e312
SM
56722017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5673
5674 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5675
65630365
PA
56762017-10-10 Pedro Alves <palves@redhat.com>
5677
5678 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5679 expect CLI output.
5680
bf469271
PA
56812017-10-10 Pedro Alves <palves@redhat.com>
5682
5683 * lib/selftest-support.exp (selftest_setup): Update for
5684 captured_command_loop's prototype change.
5685
777a42f1
PA
56862017-10-09 Pedro Alves <palves@redhat.com>
5687
5688 Test both arch1=>arch2 and arch2=>arch1.
5689
5690 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5691 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5692 factored out to...
5693 (append_arch1_options, append_arch2_options, append_arch_options)
5694 (build_executables): New procedures.
5695 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5696 local.
5697 (top level): Add new 'first_arch' testing axis.
5698
cbd2b4e3
PA
56992017-10-09 Pedro Alves <palves@redhat.com>
5700
5701 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5702 (barrier): New.
5703 (thread_start, all_started): New functions.
5704 (main): Spawn new thread and wait until it is scheduled.
5705 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5706 option.
5707 (do_test): Add 'selected_thread' parameter. Run to all_started
5708 instead of main. Explicitly set the breakpoint at main. Switch
5709 to the SELECTED_THREAD thread.
5710 (top level): Test handling the exec event with either the main
5711 thread or the second thread selected.
5712
5c9e4427
PA
57132017-10-09 Pedro Alves <palves@redhat.com>
5714
5715 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5716 logic. Move STOP marker after the value checks.
5717 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5718 regexp.
5719
b3b7c423
SL
57202017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5721
5722 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5723
3b4b2f16
UW
57242017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5725
5726 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5727 integer-to-dfp conversion.
5728 * gdb.base/dfp-test.exp: Likewise.
5729
5cd63fda
PA
57302017-10-04 Pedro Alves <palves@redhat.com>
5731
5732 * gdb.multi/hangout.c: Include <unistd.h>.
5733 (hangout_loop): New function.
5734 (main): Call alarm. Call hangout_loop in a loop.
5735 * gdb.multi/hello.c: Include <unistd.h>.
5736 (hello_loop): New function.
5737 (main): Call alarm. Call hangout_loop in a loop.
5738 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5739 inferior with the other selected.
5740
4c71c105
SM
57412017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5742
5743 * gdb.mi/list-thread-groups-available.exp: New file.
5744 * gdb.mi/list-thread-groups-available.c: New file.
5745
bc3b087d
SDJ
57462017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5747
5748 * gdb.base/set-cwd.exp: Make it available on
5749 native-extended-gdbserver.
5750
d092c5a2
SDJ
57512017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5752
5753 * gdb.base/set-cwd.c: New file.
5754 * gdb.base/set-cwd.exp: Likewise.
5755
45320ffa
TT
57562017-10-02 Tom Tromey <tom@tromey.com>
5757
5758 PR rust/22236:
5759 * gdb.rust/simple.rs (main): New variable "fslice".
5760 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5761
b3e3859b
TT
57622017-10-02 Tom Tromey <tom@tromey.com>
5763
5764 * gdb.rust/simple.exp: Test ptype of a slice.
5765
01af5e0d
TT
57662017-10-02 Tom Tromey <tom@tromey.com>
5767
5768 * gdb.rust/simple.exp: Test index of slice.
5769
a9bbfbd8
TT
57702017-09-27 Tom Tromey <tom@tromey.com>
5771
5772 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5773
df8899e5
TP
57742017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5775 Pedro Alves <palves@redhat.com>
5776
5777 * gdb.base/compare-sections.exp (get value of read-only section): Read
5778 as unsigned value.
5779 (corrupt read-only section): Likewise and don't set written if patching
5780 failed.
5781
757bf54b
KB
57822017-09-21 Kevin Buettner <kevinb@redhat.com>
5783
5784 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5785 files.
5786
06871ae8
PA
57872017-09-20 Pedro Alves <palves@redhat.com>
5788
5789 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5790 symbol names in gdb's output.
5791 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5792
e5f25bc5
PA
57932017-09-20 Pedro Alves <palves@redhat.com>
5794
5795 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5796 Rename to ...
5797 (test_list_ambiguous_symbol): ... this and add a symbol name
5798 parameter. Adjust.
5799 (test_list_ambiguous_function): Reimplement on top of
5800 test_list_ambiguous_symbol and also test listing ambiguous
5801 variables.
5802 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5803 (ambiguous_fun): ... this.
5804 (ambiguous_var): New.
5805 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5806 (ambiguous_fun): ... this.
5807 (ambiguous_var): New.
5808
4e5a4f58
JB
58092017-09-19 John Baldwin <jhb@FreeBSD.org>
5810
5811 * gdb.base/starti.c: New file.
5812 * gdb.base/starti.exp: New file.
5813 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5814
26e53f3e
PA
58152017-09-14 Pedro Alves <palves@redhat.com>
5816
5817 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5818 (top level): Use it instead of runto.
5819
cb791d59
TT
58202017-09-11 Tom Tromey <tom@tromey.com>
5821
5822 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5823
7c96f8c1
TT
58242017-09-11 Tom Tromey <tom@tromey.com>
5825
5826 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5827 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5828
469412dd
CW
58292017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5830
5831 * gdb.fortran/printing-types.exp: New file.
5832 * gdb.fortran/printing-types.exp: New file.
5833
e0f86435
BH
58342017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5835
5836 * gdb.fortran/vla-ptype.exp: Fix typos.
5837 * gdb.fortran/vla-value.exp: Same.
5838
9e9af4be
BH
58392017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5840
5841 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5842 * gdb.mi/mi-var-child-f.exp: Likewise.
5843 * gdb.mi/mi-vla-fortran.exp: Likewise.
5844
a5ad232b 58452017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
5846 Christoph Weinmann <christoph.t.weinmann@intel.com>
5847 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
5848
5849 * gdb.fortran/ptr-indentation.f90: New file.
5850 * gdb.fortran/ptr-indentation.exp: New file.
5851
5aec60eb
TT
58522017-09-05 Tom Tromey <tom@tromey.com>
5853
5854 PR gdb/22010:
5855 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5856
8f8f8152
TP
58572017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5858
5859 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5860
fbd1b771
JK
58612017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5862
5863 * gdb.threads/tls-nodebug-pie.c: New file.
5864 * gdb.threads/tls-nodebug-pie.exp: New file.
5865
5eb5f850
TT
58662017-09-05 Tom Tromey <tom@tromey.com>
5867
5868 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5869 for rust.
5870
ae780a21
SM
58712017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5872
5873 * gdb.multi/multi-arch-exec.exp: Test with different
5874 "follow-exec-mode" settings.
5875 (do_test): New procedure.
5876
3693fdb3
PA
58772017-09-04 Pedro Alves <palves@redhat.com>
5878
5879 * gdb.base/func-static.c (S::method const, S::method volatile)
5880 (S::method volatile const): New methods.
5881 (c_s, v_s, cv_s): New instances.
5882 (main): Call method() on them.
5883 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5884 (cannot_resolve): New procedure.
5885 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5886 print-quote-unquoted columns.
5887 (do_test): Test printing each scope too.
5888
e68cb8e0
PA
58892017-09-04 Pedro Alves <palves@redhat.com>
5890
5891 * gdb.base/local-static.exp: Also test with
5892 class::method::variable wholly quoted.
5893 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5894
858be34c
PA
58952017-09-04 Pedro Alves <palves@redhat.com>
5896
5897 * gdb.base/local-static.c: New.
5898 * gdb.base/local-static.cc: New.
5899 * gdb.base/local-static.exp: New.
5900
46a4882b
PA
59012017-09-04 Pedro Alves <palves@redhat.com>
5902
5903 * gdb.asm/asm-source.exp: Add casts to int.
5904 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5905 (dataglobal64_1, dataglobal64_2): New globals.
5906 * gdb.base/nodebug.exp: Test different expressions involving the
5907 new globals, with print, whatis and ptype. Add casts to int.
5908 * gdb.base/solib-display.exp: Add casts to int.
5909 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5910 * gdb.cp/m-static.exp: Add cast to int.
5911 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5912 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5913 tls variable with no debug info without a cast. Test with a cast
5914 to int too.
5915 * gdb.trace/entry-values.exp: Add casts.
5916
2c5a2be1
PA
59172017-09-04 Pedro Alves <palves@redhat.com>
5918
5919 * gdb.base/nodebug.exp: Test that ptype's error about functions
5920 with unknown return type includes the function name too.
5921
7022349d
PA
59222017-09-04 Pedro Alves <palves@redhat.com>
5923
5924 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5925 return type of munmap in infcall.
5926 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5927 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5928 type of ftell in infcall.
5929 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5930 type of getpid in infcall.
5931 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5932 infcall.
5933 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5934 Bail on failure to extract the pid.
5935 * gdb.base/nodebug.c: #include <stdint.h>.
5936 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5937 New functions.
5938 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5939 Change expected output of print/whatis/ptype with functions with
5940 no debug info. Test all supported languages. Call
5941 test_call_promotion.
5942 * gdb.compile/compile.exp: Adjust expected output to expect
5943 warning.
5944 * gdb.threads/siginfo-threads.exp: Likewise.
5945
54990598
PA
59462017-09-04 Pedro Alves <palves@redhat.com>
5947
5948 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5949 "prototypes". Test calling float functions via prototyped and
5950 unprototyped function pointers.
5951 (perform_all_tests): New parameter "prototypes". Pass it down.
5952 (top level): Pass down "prototypes" parameter to
5953 perform_all_tests.
5954
34d16ea2
SM
59552017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5956
5957 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5958 Test with nested loops.
5959
9521ecda
SM
59602017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5961
5962 * gdb.base/commands.exp: Call the new procedures.
5963 (loop_break_test, loop_continue_test): New procedures.
5964
80a65e9b
SM
59652017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5966
5967 * gdb.base/commands.exp: Call new procedure.
5968 (define_if_without_arg_test): New procedure.
5969
e439fa14
PA
59702017-09-04 Pedro Alves <palves@redhat.com>
5971
5972 * gdb.base/list-ambiguous.exp: New file.
5973 * gdb.base/list-ambiguous0.c: New file.
5974 * gdb.base/list-ambiguous1.c: New file.
5975 * gdb.base/list.exp (test_list_range): Adjust expected output.
5976
0a2dde4a
SDJ
59772017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5978
5979 * gdb.base/share-env-with-gdbserver.c: New file.
5980 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5981
5e89eb3a
SM
59822017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5983
5984 * gdb.base/commands.exp (gdbvar_simple_if_test,
5985 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5986 progvar_simple_if_test, progvar_simple_while_test,
5987 progvar_complex_if_while_test, user_defined_command_test,
5988 user_defined_command_args_eval,
5989 user_defined_command_args_stack_test,
5990 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5991 temporary_breakpoint_commands,
5992 gdb_test_no_prompt, redefine_hook_test,
5993 redefine_backtrace_test): Remove "global gdb_prompt".
5994
fd437cbc
SM
59952017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5996
5997 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5998 New proc, call it from toplevel.
5999
87215ad1
SDJ
60002017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6001
6002 PR remote/21852
6003 * gdb.server/normal.c: New file, copied from gdb.base.
6004 * gdb.server/run-without-local-binary.exp: New file.
6005
58afddc6
WP
60062017-08-07 Weimin Pan <weimin.pan@oracle.com>
6007
6008 * gdb.arch/sparc64-adi.exp: New file.
6009 * gdb.arch/sparc64-adi.c: New file.
6010
5277199a
PA
60112017-08-22 Pedro Alves <palves@redhat.com>
6012
6013 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6014 (top level): Add "list all overloads" tests.
6015
14278e1f
TT
60162017-08-22 Tom Tromey <tom@tromey.com>
6017
6018 * gdb.gdb/xfullpath.exp: Remove.
6019
bf223d3e
PA
60202017-08-21 Pedro Alves <palves@redhat.com>
6021
6022 PR gdb/19487
6023 * gdb.base/symbol-alias.c: New.
6024 * gdb.base/symbol-alias2.c: New.
6025 * gdb.base/symbol-alias.exp: New.
6026
c973d0aa
PA
60272017-08-21 Pedro Alves <palves@redhat.com>
6028
6029 * gdb.base/dfp-test.c
6030 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6031 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6032 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6033 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6034 * gdb.base/whatis-ptype-typedefs.c: New.
6035 * gdb.base/whatis-ptype-typedefs.exp: New.
6036 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6037 (an_int, an_int_type, an_int_type2): New globals.
6038 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6039 involving typedefs and cast expressions.
6040 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6041 (lookup_typedefs_function): New.
6042 (typedefs_pretty_printers_dict): New.
6043 (top level): Register lookup_typedefs_function in
6044 gdb.pretty_printers.
6045
6d580b63
YQ
60462017-08-18 Yao Qi <yao.qi@linaro.org>
6047
6048 * gdb.server/unittest.exp: New.
6049
206726fb
SDJ
60502017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6051
6052 PR gdb/21954
6053 * gdb.base/environ.exp: Add test to check if 'unset environment'
6054 works.
6055
bf0ec4c2
AA
60562017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6057
6058 * lib/gdb.exp (universal_compile_options): New caching proc.
6059 (gdb_compile): Suppress GCC's coloring of messages.
6060
d6382fff
TT
60612017-08-14 Tom Tromey <tom@tromey.com>
6062
6063 PR gdb/21675:
6064 * gdb.base/printcmds.exp (test_radices): New function.
6065 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6066 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6067 * lib/gdb.exp (get_integer_valueof): Use p/d.
6068
c2c2dd9f
SM
60692017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6070
6071 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6072 characters.
6073
fdffd6f4
TT
60742017-08-05 Tom Tromey <tom@tromey.com>
6075
6076 * gdb.rust/simple.exp: Allow String to appear in a different
6077 namespace.
6078
27d41eac
YQ
60792017-07-26 Yao Qi <yao.qi@linaro.org>
6080
6081 * gdb.gdb/unittest.exp: Invoke command
6082 "maintenance check xml-descriptions".
6083
031ed05d
AA
60842017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6085
6086 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6087 calling context.
6088 (hex128): Drop erroneous calculation of parameters.
6089
dcd27ddf
SM
60902017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6091
6092 * gdb.python/py-unwind.exp: Disable stack protection when
6093 building test file.
6094
47e77640
PA
60952017-07-20 Pedro Alves <palves@redhat.com>
6096
6097 * gdb.base/default.exp (set language): Adjust expected output.
6098
62d2a18a
PA
60992017-07-20 Pedro Alves <palves@redhat.com>
6100
6101 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6102 (test_minsym): ... this, and make static.
6103 (get_pck__foo__bar__minsym): Rename to ...
6104 (get_test_minsym): ... this.
6105 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6106 symbol names and comments.
6107 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6108 (get_test_minsym): ... this.
6109 (pck__foo__bar__minsym__2): Rename to ...
6110 (test_minsym): ... this.
6111 (main): Adjust.
6112
c45ec17c
PA
61132017-07-17 Pedro Alves <palves@redhat.com>
6114
6115 * gdb.base/completion.exp: Adjust expected output.
6116 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6117 the completer works.
6118
c6756f62
PA
61192017-07-17 Pedro Alves <palves@redhat.com>
6120
6121 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6122
5bd68487
AB
61232017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6124
6125 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6126
8880f2a9
TT
61272017-07-14 Tom Tromey <tom@tromey.com>
6128
6129 PR rust/21764:
6130 * gdb.rust/simple.exp: Add tests.
6131
65547233
TT
61322017-07-14 Tom Tromey <tom@tromey.com>
6133
6134 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6135
8f14146e
PA
61362017-07-14 Pedro Alves <palves@redhat.com>
6137
6138 * gdb.linespec/base/one/thefile.cc (z1): New function.
6139 * gdb.linespec/base/two/thefile.cc (z2): New function.
6140 * gdb.linespec/linespec.exp: Add tests.
6141
b4365d02
AB
61422017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6143
6144 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6145 to mi_create_breakpoint.
6146
5d2cbaa5
AB
61472017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6148
6149 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6150 mi_create_breakpoint.
6151
11cb5716
IB
61522017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6153
6154 * gdb.dlang/demangle.exp: Update for demangling changes.
6155
03278692
TT
61562017-07-09 Tom Tromey <tom@tromey.com>
6157
6158 * gdb.dwarf2/shortpiece.exp: New file.
6159
33c5cd75
DB
61602017-07-06 David Blaikie <dblaikie@gmail.com>
6161
6162 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6163 built from fissiont-multi-cu{1,2}.c.
6164 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6165 except putting 'main' and 'func' in separate CUs in the same DWO file.
6166 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6167 test.
6168 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6169 test.
6170
8455d262
PA
61712017-07-06 Pedro Alves <palves@redhat.com>
6172
6173 * gdb.python/py-unwind.exp: Test flushregs.
6174
dc4bde35
SDJ
61752017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6176
6177 PR cli/21688
6178 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6179 tests for alias commands and trailing whitespace.
6180
51ed89aa
SDJ
61812017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6182
6183 PR cli/21688
6184 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6185 procedure. Call it.
6186
eb17d413
PA
61872017-06-29 Pedro Alves <palves@redhat.com>
6188
6189 * gdb.base/printcmds.exp: Add tests.
6190
41664b45
DG
61912017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6192
6193 PR gdb/21337
6194 * gdb.base/reread-readsym.exp: New file.
6195 * gdb.base/reread-readsym.c: New file.
6196
75312ae3
KB
61972017-06-21 Kevin Buettner <kevinb@redhat.com>
6198
6199 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6200 subpattern.
6201
66953522
PB
62022017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6203
6204 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6205 extended mnemonic.
6206 * gdb.arch/powerpc-power9.s: Likewise.
6207
5524b525
AA
62082017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6209
6210 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6211 on 32-bit x86 targets. Exploit is_*_target macros where
6212 appropriate.
6213
03c8af18
AA
62142017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6215
6216 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6217 register pieces.
6218
3bf31011
AA
62192017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6220
6221 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6222 located in one or more DWARF pieces.
6223
805acca0
AA
62242017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6225
6226 * lib/gdb.exp (get_endianness): New proc.
6227 * gdb.arch/aarch64-fp.exp: Use it.
6228 * gdb.arch/altivec-regs.exp: Likewise.
6229 * gdb.arch/e500-regs.exp: Likewise.
6230 * gdb.arch/vsx-regs.exp: Likewise.
6231 * gdb.base/dump.exp: Likewise.
6232 * gdb.base/funcargs.exp: Likewise.
6233 * gdb.base/gnu_vector.exp: Likewise.
6234 * gdb.dwarf2/formdata16.exp: Likewise.
6235 * gdb.dwarf2/implptrpiece.exp: Likewise.
6236 * gdb.dwarf2/nonvar-access.exp: Likewise.
6237 * gdb.python/py-inferior.exp: Likewise.
6238 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6239
e9352324
AA
62402017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6241
6242 PR gdb/21226
6243 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6244 stack value pieces are taken from the LSB end.
6245
d5d1163e
AA
62462017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6247
6248 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6249 variable at nonzero offset.
6250
0567c986
AA
62512017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6252
6253 * gdb.dwarf2/var-access.c: New file.
6254 * gdb.dwarf2/var-access.exp: New test.
6255 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6256
973e9aab
TT
62572017-06-12 Tom Tromey <tom@tromey.com>
6258
6259 * gdb.dwarf2/formdata16.exp: Add tests.
6260
d9109c80
TT
62612017-06-12 Tom Tromey <tom@tromey.com>
6262
6263 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6264
30a25466
TT
62652017-06-12 Tom Tromey <tom@tromey.com>
6266
6267 PR exp/16225:
6268 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6269 * gdb.arch/vsx-regs.exp: Update tests.
6270 * gdb.arch/s390-vregs.exp (hex128): New proc.
6271 Update test.
6272 * gdb.arch/altivec-regs.exp: Update tests.
6273
aefd8b33
SDJ
62742017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6275
6276 * gdb.base/startup-with-shell.c: New file.
6277 * gdb.base/startup-with-shell.exp: Likewise.
6278
2090129c
SDJ
62792017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6280
6281 * gdb.server/non-existing-program.exp: Update regex in order to
6282 reflect the fact that gdbserver is now using fork_inferior (with a
6283 shell) to startup the inferior.
6284
8e86a419
SM
62852017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6286
6287 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6288 support function calls from GDB.
6289
e6cf65f2
TT
62902017-05-21 Tom Tromey <tom@tromey.com>
6291
6292 PR rust/21466:
6293 * gdb.rust/unsized.exp: New file.
6294 * gdb.rust/unsized.rs: New file.
6295
43cc5389
TT
62962017-05-19 Tom Tromey <tom@tromey.com>
6297
6298 PR rust/21484:
6299 * gdb.rust/watch.exp: New file.
6300 * gdb.rust/watch.rs: New file.
6301
ec8df234
TT
63022017-05-18 Tom Tromey <tom@tromey.com>
6303
6304 * gdb.rust/simple.exp: Allow Box to be qualified.
6305
3e3e7fae
TP
63062017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6307
6308 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6309
59cc050d
PA
63102017-05-18 Pedro Alves <palves@redhat.com>
6311
6312 * gdb.base/fileio.c (test_write, test_read, test_close)
6313 (test_fstat): Don't print 'ret' in the fail path.
6314
c8f6abd1
PA
63152017-05-18 Pedro Alves <palves@redhat.com>
6316
6317 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6318 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6319 (test_system, test_rename, test_unlink, test_time): Change
6320 prototypes.
6321 * gdb.base/fileio.exp (stop_msg): Adjust.
6322
d2a03b77
PA
63232017-05-18 Pedro Alves <palves@redhat.com>
6324
6325 * gdb.base/fileio.c (null_str): New global.
6326 (test_stat): Use it.
6327 * gdb.base/fileio.exp: Remove nowarnings.
6328
0d5c6999
YQ
63292017-05-17 Yao Qi <yao.qi@linaro.org>
6330
6331 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6332
21873064
YQ
63332017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6334
6335 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6336 argument command.
6337 (top-level): Invoke test_set_inferior_tty.
6338
d512d31c
PA
63392017-05-04 Pedro Alves <palves@redhat.com>
6340
6341 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6342 Add parens to print call for Python 3.
6343
90cef2ed
KS
63442017-05-03 Keith Seitz <keiths@redhat.com>
6345
6346 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6347 (main): Call it.
6348
14f819c8
TW
63492017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6350
6351 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6352 to prev and next.
6353
913aeadd
TW
63542017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6355
6356 * gdb.python/py-record-btrace.exp: Remove test for
6357 gdb.BtraceInstruction.error.
6358
a3be24ad
TW
63592017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6360
6361 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6362
ae20e79a
TW
63632017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6364
6365 * gdb.python/py-record-btrace-threads.c: New file.
6366 * gdb.python/py-record-btrace-threads.exp: New file.
6367
45ce1b47
SDJ
63682017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6369
6370 PR testsuite/8595
6371 * gdb.base/environ.exp: Make test available in all architectures.
6372 Move bits related to "info program" testing to
6373 gdb.base/info-program.exp. Rewrite tests to use the two new
6374 procedures mentione below.
6375 (test_set_show_env_var) New procedure.
6376 (test_set_show_env_var_equal): Likewise.
6377 * gdb.base/info-program.exp: New file.
6378
e15c3eb4
KS
63792017-04-27 Keith Seitz <keiths@redhat.com>
6380
6381 * gdb.cp/oranking.cc (test15): New function.
6382 (main): Call test15 and declare additional variables for testing.
6383 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6384 "p foo101('abc')" tests.
6385 Add tests for cv qualifier overloads.
6386 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6387 "lvalue reference overload" test.
6388 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6389 "print value of f1 on Child&& in f2" test.
6390
3a3fd0fd
PA
63912017-04-19 Pedro Alves <palves@redhat.com>
6392
6393 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6394 procedure.
6395 (top level): Call it.
6396 * lib/gdb.exp (gdb_define_cmd): New procedure.
6397
53375380
PA
63982017-04-12 Pedro Alves <palves@redhat.com>
6399
6400 PR gdb/21323
6401 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6402 (wchar): New global.
6403 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6404 (do_test_wide_char, wide_char_types_no_program, top level): Add
6405 wchar_t testing.
6406
53e710ac
PA
64072017-04-12 Pedro Alves <palves@redhat.com>
6408
6409 PR c++/21323
6410 * gdb.cp/wide_char_types.c: New file.
6411 * gdb.cp/wide_char_types.exp: New file.
6412
0ad9d8c7
SDJ
64132017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6414
6415 PR gdb/21352
6416 * gdb.trace/tsv.exp: Add test for "tsave -r".
6417
b1b45502
IB
64182017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6419
6420 * gdb.dlang/watch-loc.c: New file.
6421 * gdb.dlang/watch-loc.exp: New file.
6422
ec13808e
JK
64232017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6424
6425 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6426
fe5f7374
AK
64272017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6428
6429 * gdb.arch/arc-analyze-prologue.S: New file.
6430 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6431
eea78757
AK
64322017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6433
6434 * gdb.arch/arc-decode-insn.S: New file.
6435 * gdb.arch/arc-decode-insn.exp: Likewise.
6436
5badf10a
IR
64372017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6438
6439 PR tdep/20928
6440 * gdb.arch/sparc64-regs.exp: New file.
6441 * gdb.arch/sparc64-regs.S: Likewise.
6442
cee59b3f
TW
64432017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6444
6445 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6446 and memory view on Python 3.
6447
c0f55cc6
AV
64482017-03-20 Artemiy Volkov <artemiyv@acm.org>
6449 Keith Seitz <keiths@redhat.com>
6450
6451 PR gdb/14441
6452 * gdb.cp/demangle.exp: Add rvalue reference tests.
6453 * gdb.cp/rvalue-ref-casts.cc: New file.
6454 * gdb.cp/rvalue-ref-casts.exp: New file.
6455 * gdb.cp/rvalue-ref-overload.cc: New file.
6456 * gdb.cp/rvalue-ref-overload.exp: New file.
6457 * gdb.cp/rvalue-ref-params.cc: New file.
6458 * gdb.cp/rvalue-ref-params.exp: New file.
6459 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6460 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6461 * gdb.cp/rvalue-ref-types.cc: New file.
6462 * gdb.cp/rvalue-ref-types.exp: New file.
6463 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6464 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6465
51457a05
MAL
64662017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6467
6468 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6469 New procedure.
6470
5b291c04
MAL
64712017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6472
6473 * lib/mi-support.exp (mi_gdb_test): Add additional message
6474 for unexpected output.
6475
59a56148
AA
64762017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6477
6478 * gdb.base/examine-backward.c (Barrier): New character array
6479 constant, to ensure that TestStrings is preceded by a string
6480 terminator.
6481
7942e96e
AA
64822017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6483
6484 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6485 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6486 and implicit pointer into such a location.
6487
6ebac3fb
DE
64882017-03-16 Doug Evans <dje@google.com>
6489
6490 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6491
ec3b243d
TP
64922017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6493
6494 * gdb.cp/m-static.exp: Fix expectation for prototype of
6495 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
6496
64972017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
6498
6499 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6500 * gdb.guile/scm-lazy-string.c: New file.
6501 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6502 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6503 for pointer, array, typedef lazy strings.
6504
2cc36e25 65052017-03-16 Doug Evans <dje@google.com>
34b43320
DE
6506
6507 PR python/17728, python/18439, python/18779
6508 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6509 * gdb.python/py-lazy-string.c (pointer): New typedef.
6510 (main): New locals ptr, array, typedef_ptr.
6511 * gdb.python/py-value.exp: Move lazy string tests to ...
6512 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6513 array, typedef lazy strings.
ec3b243d 6514
0efcde63
AK
65152017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6516
6517 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6518 Add optional 'test' parameter.
6519
7978d7c3
SM
65202017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6521
6522 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6523 Skip for versions of DejaGnu < 1.5.
6524
896c0c1e
SM
65252017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6526
6527 * lib/gdb.exp (dejagnu_version): New proc.
6528 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6529 Use dejagnu_version.
6530
5f4d1085
KS
65312017-03-10 Keith Seitz <keiths@redhat.com>
6532
6533 PR c++/8128
6534 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6535 type from destructor regexps.
6536 Add a branch which actually passes the test.
6537 Adjust "ptype t5i" test names.
6538
1de05205
PA
65392017-03-08 Pedro Alves <palves@redhat.com>
6540
6541 * gdb.base/step-over-exit.exp: Add explicit test message.
6542
c65d6b55
PA
65432017-03-08 Pedro Alves <palves@redhat.com>
6544
6545 PR gdb/18360
6546 * gdb.threads/interrupt-while-step-over.c: New file.
6547 * gdb.threads/interrupt-while-step-over.exp: New file.
6548
2e86a283
PA
65492017-03-08 Pedro Alves <palves@redhat.com>
6550
6551 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6552 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6553
25dcbff6
PA
65542017-03-08 Pedro Alves <palves@redhat.com>
6555
6556 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6557 PKRU as not supported as a PASS.
6558
dc9366eb
PA
65592017-03-08 Pedro Alves <palves@redhat.com>
6560
6561 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6562 prefix instead of $binfile1/$binfile2.
6563 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6564 in test message.
6565 * gdb.python/py-completion.exp: Use "load python file" as test
6566 messages instead of unstable path names.
6567
6e5d74e7
PA
65682017-03-08 Pedro Alves <palves@redhat.com>
6569 Jan Kratochvil <jan.kratochvil@redhat.com>
6570
6571 PR cli/21218
6572 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6573 New proc.
6574 (top level): Call it.
6575
9753a2f6
PA
65762017-03-08 Pedro Alves <palves@redhat.com>
6577
6578 PR tui/21216
6579 * gdb.tui/tui-nl-filtered-output.exp: New file.
6580
1a4dd9dd
PA
65812017-03-08 Pedro Alves <palves@redhat.com>
6582
6583 * gdb.base/completion.exp: Move TUI completion tests to ...
6584 * gdb.tui/completion.exp: ... this new file.
6585
7cbbff33
PA
65862017-03-08 Pedro Alves <palves@redhat.com>
6587
6588 * gdb.base/tui-disasm-long-lines.c,
6589 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6590 gdb.base/tui-layout.exp: Move to ...
6591 * gdb.tui/: ... this new directory.
6592
5f6fd321
PA
65932017-03-07 Pedro Alves <palves@redhat.com>
6594
6595 * gdb.base/tui-layout.c: New file.
6596 * gdb.base/tui-layout.exp: New file.
6597
44959fa8
PA
65982017-03-07 Pedro Alves <palves@redhat.com>
6599
6600 * gdb.base/tui-layout.c: Rename to ...
6601 * gdb.base/tui-disasm-long-lines.c: ... this.
6602 * gdb.base/tui-layout.exp: Rename to ...
6603 * gdb.base/tui-disasm-long-lines.exp: ... this.
6604
f8c4e718
PA
66052017-03-07 Pedro Alves <palves@redhat.com>
6606
6607 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6608
6dbb839a 66092017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
6610
6611 * i386-mpx-call.c: New file.
6612 * i386-mpx-call.exp: New file.
6613
65b48a81
PB
66142017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6615
6616 * gdb.arch/powerpc-power.exp: Delete test.
6617 * gdb.arch/powerpc-power.s: Likewise.
6618 * gdb.disasm/disassembler-options.exp: New test.
6619 * gdb.arch/powerpc-altivec.exp: Likewise.
6620 * gdb.arch/powerpc-altivec.s: Likewise.
6621 * gdb.arch/powerpc-altivec2.exp: Likewise.
6622 * gdb.arch/powerpc-altivec2.s: Likewise.
6623 * gdb.arch/powerpc-altivec3.exp: Likewise.
6624 * gdb.arch/powerpc-altivec3.s: Likewise.
6625 * gdb.arch/powerpc-power7.exp: Likewise.
6626 * gdb.arch/powerpc-power7.s: Likewise.
6627 * gdb.arch/powerpc-power8.exp: Likewise.
6628 * gdb.arch/powerpc-power8.s: Likewise.
6629 * gdb.arch/powerpc-power9.exp: Likewise.
6630 * gdb.arch/powerpc-power9.s: Likewise.
6631 * gdb.arch/powerpc-vsx.exp: Likewise.
6632 * gdb.arch/powerpc-vsx.s: Likewise.
6633 * gdb.arch/powerpc-vsx2.exp: Likewise.
6634 * gdb.arch/powerpc-vsx2.s: Likewise.
6635 * gdb.arch/powerpc-vsx3.exp: Likewise.
6636 * gdb.arch/powerpc-vsx3.s: Likewise.
6637 * gdb.arch/arm-disassembler-options.exp: Likewise.
6638 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6639 * gdb.arch/s390-disassembler-options.exp: Likewise.
6640
17cd4947
LM
66412017-02-23 Luis Machado <lgustavo@codesourcery.com>
6642
6643 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6644 (check_supported_features): ... this. Changed return type to void.
6645 (supports_rdseed): New static global.
6646 (rdseed): Check supports_rdseed.
6647 (initialize): Call check_supported_features.
6648
2039d74e
EBM
66492017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6650
6651 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6652 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6653 and lqarx/stqcx.
6654 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6655 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6656
a51d7ecf
EBM
66572017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6658
6659 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6660 uppercase.
6661
0224619f
JK
66622017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6663
6664 * gdb.dwarf2/formdata16.c: New file.
6665 * gdb.dwarf2/formdata16.exp: New file.
6666 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6667
216f72a1
JK
66682017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6669
6670 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6671 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6672 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6673 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6674 DW_AT_GNU_*.
6675
43988095
JK
66762017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6677
6678 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6679
99e8a4f9
SDJ
66802017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6681
6682 PR gdb/21164
6683 * gdb.base/maint.exp: Add testcases for when the commands do
6684 not have arguments.
6685
b58a8c0c
TP
66862017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6687
6688 * gdb.cp/chained-calls.exp: Use p instead of P.
6689
4e746bb6
TW
66902017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6691
6692 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6693 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6694
3f77c769
TT
66952017-02-14 Tom Tromey <tom@tromey.com>
6696
6697 PR python/13598:
6698 * gdb.python/py-events.exp: Add before_prompt event tests.
6699
075beec0
AA
67002017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6701
6702 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6703
bf5f525c
LM
67042017-02-13 Luis Machado <lgustavo@codesourcery.com>
6705
6706 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6707 (main): Call my_unique_function_name.
6708 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6709 completion of patterns with a single match.
6710 Add missing -re switches to gdb_test_multiple calls.
6711
13a66184
LM
67122017-02-13 Luis Machado <lgustavo@codesourcery.com>
6713
6714 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6715 return if core file is not recognized.
6716
26a06916
SM
67172017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6718
6719 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6720 and extra UIs.
6721
b761ca9e
SM
67222017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6723
6724 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6725 proc_with_prefix.
6726
b964bee0
TT
67272017-02-10 Tom Tromey <tom@tromey.com>
6728
6729 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6730
18da0c51
MG
67312017-02-10 Martin Galvan <martingalvan@sourceware.org>
6732
6733 PR gdb/21122
6734 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6735
604c4576
JG
67362017-02-08 Jerome Guitton <guitton@adacore.com>
6737
6738 * gdb.base/define.exp: Add test for command abbreviations
6739 in define.
6740
20b477a7
LM
67412017-02-06 Luis Machado <lgustavo@codesourcery.com>
6742
6743 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6744 * gdb.reverse/insn-reverse-x86.c: New file.
6745
3f7b46f2
IR
67462017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6747
6748 PR tdep/20936
6749 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6750
f0fd41c1
TT
67512017-02-03 Tom Tromey <tom@tromey.com>
6752
6753 PR rust/21097:
6754 * gdb.rust/simple.exp: Add new tests.
6755
5be5dbf0
PA
67562017-02-02 Pedro Alves <palves@redhat.com>
6757
6758 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6759 tests.
6760
7346ef59
AA
67612017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6762
6763 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6764 taking a 2-byte value out of a 4-byte DWARF implicit value on
6765 big-endian targets.
6766 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6767 logic. Add test cases for DW_OP_implicit.
6768
787f0025
MM
67692017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6770
6771 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6772
68777c29
MM
67732017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6774
6775 * gdb.btrace/enable.exp: Call gdb_exit before
6776 skip_gdbserver_tests.
6777
0a1c7e28
MM
67782017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6779
6780 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6781 GDBFLAGS.
6782
b5ac99b0
MM
67832017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6784
6785 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6786 the test is skipped.
6787 * gdb.btrace/data.exp: Likewise.
6788 * gdb.btrace/delta.exp: Likewise.
6789 * gdb.btrace/dlopen.exp: Likewise.
6790 * gdb.btrace/enable-running.exp: Likewise.
6791 * gdb.btrace/enable.exp: Likewise.
6792 * gdb.btrace/exception.exp: Likewise.
6793 * gdb.btrace/function_call_history.exp: Likewise.
6794 * gdb.btrace/gcore.exp: Likewise.
6795 * gdb.btrace/instruction_history.exp: Likewise.
6796 * gdb.btrace/multi-thread-step.exp: Likewise.
6797 * gdb.btrace/nohist.exp: Likewise.
6798 * gdb.btrace/non-stop.exp: Likewise.
6799 * gdb.btrace/reconnect.exp: Likewise.
6800 * gdb.btrace/record_goto-step.exp: Likewise.
6801 * gdb.btrace/record_goto.exp: Likewise.
6802 * gdb.btrace/rn-dl-bind.exp: Likewise.
6803 * gdb.btrace/segv.exp: Likewise.
6804 * gdb.btrace/step.exp: Likewise.
6805 * gdb.btrace/stepi.exp: Likewise.
6806 * gdb.btrace/tailcall-only.exp: Likewise.
6807 * gdb.btrace/tailcall.exp: Likewise.
6808 * gdb.btrace/tsx.exp: Likewise.
6809 * gdb.btrace/unknown_functions.exp: Likewise.
6810 * gdb.btrace/vdso.exp: Likewise.
6811
cd4007e4
MM
68122017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6813
6814 * gdb.btrace/enable-running.c: New.
6815 * gdb.btrace/enable-running.exp: New.
6816
2735833d
WT
68172017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6818
6819 * gdb.arch/amd64-gs_base.c: New file.
6820 * gdb.arch/amd64-gs_base.exp: New file.
6821
b51e1e94
LM
68222017-01-26 Luis Machado <lgustavo@codesourcery.com>
6823
6824 * lib/memory.exp: Remove spurious empty newlines.
6825
72ca0410
SM
68262017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6827
6828 * gdb.python/py-bad-printers.exp: Load python file using "source".
6829 * gdb.python/py-events.exp: Likewise.
6830 * gdb.python/py-evsignal.exp: Likewise.
6831 * gdb.python/py-evthreads.exp: Likewise.
6832 * gdb.python/py-frame-args.exp: Likewise.
6833 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6834 * gdb.python/py-framefilter-mi.exp: Likewise.
6835 * gdb.python/py-framefilter.exp: Likewise.
6836 * gdb.python/py-mi.exp: Likewise.
6837 * gdb.python/py-pp-maint.exp: Likewise.
6838 * gdb.python/py-pp-registration.exp: Likewise.
6839 * gdb.python/py-prettyprint.exp: Likewise.
6840 (run_lang_tests): Likewise.
6841 * gdb.python/py-typeprint.exp: Likewise.
6842
e309aa65
LM
68432017-01-26 Luis Machado <lgustavo@codesourcery.com>
6844
6845 * lib/memory.exp: New file.
6846 * lib/gdb.exp: Load memory.exp.
6847 * gdb.base/memattr.exp (delete_memory): Move proc to
6848 lib/memory.exp and rename to delete_memory_regions.
6849 Replace delete_memory with delete_memory_regions.
6850 Cleanup memory regions before tests.
6851 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6852 before tests.
6853
515aff23
LM
68542017-01-26 Luis Machado <lgustavo@codesourcery.com>
6855
6856 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6857 files.
6858 (initialize): New function conditionally defined.
6859 (testcases): Move within conditional block.
6860 (main): Call initialize.
6861 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6862 of gdb.reverse/insn-reverse.c.
6863 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6864 gdb.reverse/insn-reverse.c.
6865
d8b49cf0
YQ
68662017-01-26 Yao Qi <yao.qi@linaro.org>
6867
6868 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6869 disassemble on address 0.
6870
f13a9a0c
YQ
68712017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6872 Yao Qi <yao.qi@linaro.org>
6873
6874 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6875 * gdb.dwarf2/implptr-64bit.S: Remove.
6876 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6877 variables in caller's context. Add DW_OP_implicit_value.
6878
5ac95241
YQ
68792017-01-25 Yao Qi <yao.qi@linaro.org>
6880
6881 * lib/dwarf.exp (Dwarf::_location): Handle
6882 DW_OP_GNU_implicit_pointer with proper size.
6883
23e82930
LM
68842017-01-20 Luis Machado <lgustavo@codesourcery.com>
6885
6886 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6887 and add untested calls.
6888
d334ae25
LM
68892017-01-20 Luis Machado <lgustavo@codesourcery.com>
6890
6891 * gdb.python/python.exp: Check line number against what GDB thinks
6892 the line number is for func1.
6893
f5e6296e
IB
68942017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6895
6896 * gdb.dlang/debug-expr.exp: New file.
6897
5b362f04
LM
68982016-12-23 Luis Machado <lgustavo@codesourcery.com>
6899
6900 Fix test names for the following files:
6901
6902 * gdb.ada/exec_changed.exp
6903 * gdb.ada/info_types.exp
6904 * gdb.arch/aarch64-atomic-inst.exp
6905 * gdb.arch/aarch64-fp.exp
6906 * gdb.arch/altivec-abi.exp
6907 * gdb.arch/altivec-regs.exp
6908 * gdb.arch/amd64-byte.exp
6909 * gdb.arch/amd64-disp-step.exp
6910 * gdb.arch/amd64-dword.exp
6911 * gdb.arch/amd64-entry-value-inline.exp
6912 * gdb.arch/amd64-entry-value-param.exp
6913 * gdb.arch/amd64-entry-value-paramref.exp
6914 * gdb.arch/amd64-entry-value.exp
6915 * gdb.arch/amd64-i386-address.exp
6916 * gdb.arch/amd64-invalid-stack-middle.exp
6917 * gdb.arch/amd64-invalid-stack-top.exp
6918 * gdb.arch/amd64-optimout-repeat.exp
6919 * gdb.arch/amd64-prologue-skip.exp
6920 * gdb.arch/amd64-prologue-xmm.exp
6921 * gdb.arch/amd64-stap-special-operands.exp
6922 * gdb.arch/amd64-stap-wrong-subexp.exp
6923 * gdb.arch/amd64-tailcall-cxx.exp
6924 * gdb.arch/amd64-tailcall-noret.exp
6925 * gdb.arch/amd64-tailcall-ret.exp
6926 * gdb.arch/amd64-tailcall-self.exp
6927 * gdb.arch/amd64-word.exp
6928 * gdb.arch/arm-bl-branch-dest.exp
6929 * gdb.arch/arm-disp-step.exp
6930 * gdb.arch/arm-neon.exp
6931 * gdb.arch/arm-single-step-kernel-helper.exp
6932 * gdb.arch/avr-flash-qualifier.exp
6933 * gdb.arch/disp-step-insn-reloc.exp
6934 * gdb.arch/e500-abi.exp
6935 * gdb.arch/e500-regs.exp
6936 * gdb.arch/ftrace-insn-reloc.exp
6937 * gdb.arch/i386-avx512.exp
6938 * gdb.arch/i386-bp_permanent.exp
6939 * gdb.arch/i386-byte.exp
6940 * gdb.arch/i386-cfi-notcurrent.exp
6941 * gdb.arch/i386-disp-step.exp
6942 * gdb.arch/i386-dr3-watch.exp
6943 * gdb.arch/i386-float.exp
6944 * gdb.arch/i386-gnu-cfi.exp
6945 * gdb.arch/i386-mpx-map.exp
6946 * gdb.arch/i386-mpx-sigsegv.exp
6947 * gdb.arch/i386-mpx-simple_segv.exp
6948 * gdb.arch/i386-mpx.exp
6949 * gdb.arch/i386-permbkpt.exp
6950 * gdb.arch/i386-prologue.exp
6951 * gdb.arch/i386-signal.exp
6952 * gdb.arch/i386-size-overlap.exp
6953 * gdb.arch/i386-unwind.exp
6954 * gdb.arch/i386-word.exp
6955 * gdb.arch/mips-fcr.exp
6956 * gdb.arch/powerpc-d128-regs.exp
6957 * gdb.arch/powerpc-stackless.exp
6958 * gdb.arch/ppc64-atomic-inst.exp
6959 * gdb.arch/s390-stackless.exp
6960 * gdb.arch/s390-tdbregs.exp
6961 * gdb.arch/s390-vregs.exp
6962 * gdb.arch/sparc-sysstep.exp
6963 * gdb.arch/thumb-bx-pc.exp
6964 * gdb.arch/thumb-singlestep.exp
6965 * gdb.arch/thumb2-it.exp
6966 * gdb.arch/vsx-regs.exp
6967 * gdb.asm/asm-source.exp
6968 * gdb.base/a2-run.exp
6969 * gdb.base/advance.exp
6970 * gdb.base/all-bin.exp
6971 * gdb.base/anon.exp
6972 * gdb.base/args.exp
6973 * gdb.base/arithmet.exp
6974 * gdb.base/async-shell.exp
6975 * gdb.base/async.exp
6976 * gdb.base/attach-pie-noexec.exp
6977 * gdb.base/attach-twice.exp
6978 * gdb.base/auto-load.exp
6979 * gdb.base/bang.exp
6980 * gdb.base/bitfields.exp
6981 * gdb.base/break-always.exp
6982 * gdb.base/break-caller-line.exp
6983 * gdb.base/break-entry.exp
6984 * gdb.base/break-inline.exp
6985 * gdb.base/break-on-linker-gcd-function.exp
6986 * gdb.base/break-probes.exp
6987 * gdb.base/break.exp
6988 * gdb.base/breakpoint-shadow.exp
6989 * gdb.base/call-ar-st.exp
6990 * gdb.base/call-sc.exp
6991 * gdb.base/call-signal-resume.exp
6992 * gdb.base/call-strs.exp
6993 * gdb.base/callfuncs.exp
6994 * gdb.base/catch-fork-static.exp
6995 * gdb.base/catch-gdb-caused-signals.exp
6996 * gdb.base/catch-load.exp
6997 * gdb.base/catch-signal-fork.exp
6998 * gdb.base/catch-signal.exp
6999 * gdb.base/catch-syscall.exp
7000 * gdb.base/charset.exp
7001 * gdb.base/checkpoint.exp
7002 * gdb.base/chng-syms.exp
7003 * gdb.base/code-expr.exp
7004 * gdb.base/code_elim.exp
7005 * gdb.base/commands.exp
7006 * gdb.base/completion.exp
7007 * gdb.base/complex.exp
7008 * gdb.base/cond-expr.exp
7009 * gdb.base/condbreak.exp
7010 * gdb.base/consecutive.exp
7011 * gdb.base/continue-all-already-running.exp
7012 * gdb.base/coredump-filter.exp
7013 * gdb.base/corefile.exp
7014 * gdb.base/dbx.exp
7015 * gdb.base/debug-expr.exp
7016 * gdb.base/define.exp
7017 * gdb.base/del.exp
7018 * gdb.base/disabled-location.exp
7019 * gdb.base/disasm-end-cu.exp
7020 * gdb.base/disasm-optim.exp
7021 * gdb.base/display.exp
7022 * gdb.base/duplicate-bp.exp
7023 * gdb.base/ena-dis-br.exp
7024 * gdb.base/ending-run.exp
7025 * gdb.base/enumval.exp
7026 * gdb.base/environ.exp
7027 * gdb.base/eu-strip-infcall.exp
7028 * gdb.base/eval-avoid-side-effects.exp
7029 * gdb.base/eval-skip.exp
7030 * gdb.base/exitsignal.exp
7031 * gdb.base/expand-psymtabs.exp
7032 * gdb.base/filesym.exp
7033 * gdb.base/find-unmapped.exp
7034 * gdb.base/finish.exp
7035 * gdb.base/float.exp
7036 * gdb.base/foll-exec-mode.exp
7037 * gdb.base/foll-exec.exp
7038 * gdb.base/foll-fork.exp
7039 * gdb.base/fortran-sym-case.exp
7040 * gdb.base/freebpcmd.exp
7041 * gdb.base/func-ptr.exp
7042 * gdb.base/func-ptrs.exp
7043 * gdb.base/funcargs.exp
7044 * gdb.base/gcore-buffer-overflow.exp
7045 * gdb.base/gcore-relro-pie.exp
7046 * gdb.base/gcore-relro.exp
7047 * gdb.base/gcore.exp
7048 * gdb.base/gdb1090.exp
7049 * gdb.base/gdb11530.exp
7050 * gdb.base/gdb11531.exp
7051 * gdb.base/gdb1821.exp
7052 * gdb.base/gdbindex-stabs.exp
7053 * gdb.base/gdbvars.exp
7054 * gdb.base/hbreak.exp
7055 * gdb.base/hbreak2.exp
7056 * gdb.base/included.exp
7057 * gdb.base/infcall-input.exp
7058 * gdb.base/inferior-died.exp
7059 * gdb.base/infnan.exp
7060 * gdb.base/info-macros.exp
7061 * gdb.base/info-os.exp
7062 * gdb.base/info-proc.exp
7063 * gdb.base/info-shared.exp
7064 * gdb.base/info-target.exp
7065 * gdb.base/infoline.exp
7066 * gdb.base/interp.exp
7067 * gdb.base/interrupt.exp
7068 * gdb.base/jit-reader.exp
7069 * gdb.base/jit-simple.exp
7070 * gdb.base/kill-after-signal.exp
7071 * gdb.base/kill-detach-inferiors-cmd.exp
7072 * gdb.base/label.exp
7073 * gdb.base/langs.exp
7074 * gdb.base/ldbl_e308.exp
7075 * gdb.base/line-symtabs.exp
7076 * gdb.base/linespecs.exp
7077 * gdb.base/list.exp
7078 * gdb.base/long_long.exp
7079 * gdb.base/longest-types.exp
7080 * gdb.base/maint.exp
7081 * gdb.base/max-value-size.exp
7082 * gdb.base/memattr.exp
7083 * gdb.base/mips_pro.exp
7084 * gdb.base/morestack.exp
7085 * gdb.base/moribund-step.exp
7086 * gdb.base/multi-forks.exp
7087 * gdb.base/nested-addr.exp
7088 * gdb.base/nextoverexit.exp
7089 * gdb.base/noreturn-finish.exp
7090 * gdb.base/noreturn-return.exp
7091 * gdb.base/nostdlib.exp
7092 * gdb.base/offsets.exp
7093 * gdb.base/opaque.exp
7094 * gdb.base/pc-fp.exp
7095 * gdb.base/permissions.exp
7096 * gdb.base/print-symbol-loading.exp
7097 * gdb.base/prologue-include.exp
7098 * gdb.base/psymtab.exp
7099 * gdb.base/ptype.exp
7100 * gdb.base/random-signal.exp
7101 * gdb.base/randomize.exp
7102 * gdb.base/range-stepping.exp
7103 * gdb.base/readline-ask.exp
7104 * gdb.base/recpar.exp
7105 * gdb.base/recurse.exp
7106 * gdb.base/relational.exp
7107 * gdb.base/restore.exp
7108 * gdb.base/return-nodebug.exp
7109 * gdb.base/return.exp
7110 * gdb.base/run-after-attach.exp
7111 * gdb.base/save-bp.exp
7112 * gdb.base/scope.exp
7113 * gdb.base/sect-cmd.exp
7114 * gdb.base/set-lang-auto.exp
7115 * gdb.base/set-noassign.exp
7116 * gdb.base/setvar.exp
7117 * gdb.base/sigall.exp
7118 * gdb.base/sigbpt.exp
7119 * gdb.base/siginfo-addr.exp
7120 * gdb.base/siginfo-infcall.exp
7121 * gdb.base/siginfo-obj.exp
7122 * gdb.base/siginfo.exp
7123 * gdb.base/signals-state-child.exp
7124 * gdb.base/signest.exp
7125 * gdb.base/sigstep.exp
7126 * gdb.base/sizeof.exp
7127 * gdb.base/skip.exp
7128 * gdb.base/solib-corrupted.exp
7129 * gdb.base/solib-nodir.exp
7130 * gdb.base/solib-search.exp
7131 * gdb.base/stack-checking.exp
7132 * gdb.base/stale-infcall.exp
7133 * gdb.base/stap-probe.exp
7134 * gdb.base/start.exp
7135 * gdb.base/step-break.exp
7136 * gdb.base/step-bt.exp
7137 * gdb.base/step-line.exp
7138 * gdb.base/step-over-exit.exp
7139 * gdb.base/step-over-syscall.exp
7140 * gdb.base/step-resume-infcall.exp
7141 * gdb.base/step-test.exp
7142 * gdb.base/store.exp
7143 * gdb.base/structs3.exp
7144 * gdb.base/sym-file.exp
7145 * gdb.base/symbol-without-target_section.exp
7146 * gdb.base/term.exp
7147 * gdb.base/testenv.exp
7148 * gdb.base/ui-redirect.exp
7149 * gdb.base/until.exp
7150 * gdb.base/unwindonsignal.exp
7151 * gdb.base/value-double-free.exp
7152 * gdb.base/vla-datatypes.exp
7153 * gdb.base/vla-ptr.exp
7154 * gdb.base/vla-sideeffect.exp
7155 * gdb.base/volatile.exp
7156 * gdb.base/watch-cond-infcall.exp
7157 * gdb.base/watch-cond.exp
7158 * gdb.base/watch-non-mem.exp
7159 * gdb.base/watch-read.exp
7160 * gdb.base/watch-vfork.exp
7161 * gdb.base/watchpoint-cond-gone.exp
7162 * gdb.base/watchpoint-delete.exp
7163 * gdb.base/watchpoint-hw-hit-once.exp
7164 * gdb.base/watchpoint-hw.exp
7165 * gdb.base/watchpoint-stops-at-right-insn.exp
7166 * gdb.base/watchpoints.exp
7167 * gdb.base/wchar.exp
7168 * gdb.base/whatis-exp.exp
7169 * gdb.btrace/buffer-size.exp
7170 * gdb.btrace/data.exp
7171 * gdb.btrace/delta.exp
7172 * gdb.btrace/dlopen.exp
7173 * gdb.btrace/enable.exp
7174 * gdb.btrace/exception.exp
7175 * gdb.btrace/function_call_history.exp
7176 * gdb.btrace/gcore.exp
7177 * gdb.btrace/instruction_history.exp
7178 * gdb.btrace/nohist.exp
7179 * gdb.btrace/reconnect.exp
7180 * gdb.btrace/record_goto-step.exp
7181 * gdb.btrace/record_goto.exp
7182 * gdb.btrace/rn-dl-bind.exp
7183 * gdb.btrace/segv.exp
7184 * gdb.btrace/step.exp
7185 * gdb.btrace/stepi.exp
7186 * gdb.btrace/tailcall-only.exp
7187 * gdb.btrace/tailcall.exp
7188 * gdb.btrace/tsx.exp
7189 * gdb.btrace/unknown_functions.exp
7190 * gdb.btrace/vdso.exp
7191 * gdb.compile/compile-ifunc.exp
7192 * gdb.compile/compile-ops.exp
7193 * gdb.compile/compile-print.exp
7194 * gdb.compile/compile-setjmp.exp
7195 * gdb.cp/abstract-origin.exp
7196 * gdb.cp/ambiguous.exp
7197 * gdb.cp/annota2.exp
7198 * gdb.cp/annota3.exp
7199 * gdb.cp/anon-ns.exp
7200 * gdb.cp/anon-struct.exp
7201 * gdb.cp/anon-union.exp
7202 * gdb.cp/arg-reference.exp
7203 * gdb.cp/baseenum.exp
7204 * gdb.cp/bool.exp
7205 * gdb.cp/breakpoint.exp
7206 * gdb.cp/bs15503.exp
7207 * gdb.cp/call-c.exp
7208 * gdb.cp/casts.exp
7209 * gdb.cp/chained-calls.exp
7210 * gdb.cp/class2.exp
7211 * gdb.cp/classes.exp
7212 * gdb.cp/cmpd-minsyms.exp
7213 * gdb.cp/converts.exp
7214 * gdb.cp/cp-relocate.exp
7215 * gdb.cp/cpcompletion.exp
7216 * gdb.cp/cpexprs.exp
7217 * gdb.cp/cplabel.exp
7218 * gdb.cp/cplusfuncs.exp
7219 * gdb.cp/cpsizeof.exp
7220 * gdb.cp/ctti.exp
7221 * gdb.cp/derivation.exp
7222 * gdb.cp/destrprint.exp
7223 * gdb.cp/dispcxx.exp
7224 * gdb.cp/enum-class.exp
7225 * gdb.cp/exception.exp
7226 * gdb.cp/exceptprint.exp
7227 * gdb.cp/expand-psymtabs-cxx.exp
7228 * gdb.cp/expand-sals.exp
7229 * gdb.cp/extern-c.exp
7230 * gdb.cp/filename.exp
7231 * gdb.cp/formatted-ref.exp
7232 * gdb.cp/fpointer.exp
7233 * gdb.cp/gdb1355.exp
7234 * gdb.cp/gdb2495.exp
7235 * gdb.cp/hang.exp
7236 * gdb.cp/impl-this.exp
7237 * gdb.cp/infcall-dlopen.exp
7238 * gdb.cp/inherit.exp
7239 * gdb.cp/iostream.exp
7240 * gdb.cp/koenig.exp
7241 * gdb.cp/local.exp
7242 * gdb.cp/m-data.exp
7243 * gdb.cp/m-static.exp
7244 * gdb.cp/mb-ctor.exp
7245 * gdb.cp/mb-inline.exp
7246 * gdb.cp/mb-templates.exp
7247 * gdb.cp/member-name.exp
7248 * gdb.cp/member-ptr.exp
7249 * gdb.cp/meth-typedefs.exp
7250 * gdb.cp/method.exp
7251 * gdb.cp/method2.exp
7252 * gdb.cp/minsym-fallback.exp
7253 * gdb.cp/misc.exp
7254 * gdb.cp/namelessclass.exp
7255 * gdb.cp/namespace-enum.exp
7256 * gdb.cp/namespace-nested-import.exp
7257 * gdb.cp/namespace.exp
7258 * gdb.cp/nextoverthrow.exp
7259 * gdb.cp/no-dmgl-verbose.exp
7260 * gdb.cp/non-trivial-retval.exp
7261 * gdb.cp/noparam.exp
7262 * gdb.cp/nsdecl.exp
7263 * gdb.cp/nsimport.exp
7264 * gdb.cp/nsnested.exp
7265 * gdb.cp/nsnoimports.exp
7266 * gdb.cp/nsrecurs.exp
7267 * gdb.cp/nsstress.exp
7268 * gdb.cp/nsusing.exp
7269 * gdb.cp/operator.exp
7270 * gdb.cp/oranking.exp
7271 * gdb.cp/overload-const.exp
7272 * gdb.cp/overload.exp
7273 * gdb.cp/ovldbreak.exp
7274 * gdb.cp/ovsrch.exp
7275 * gdb.cp/paren-type.exp
7276 * gdb.cp/parse-lang.exp
7277 * gdb.cp/pass-by-ref.exp
7278 * gdb.cp/pr-1023.exp
7279 * gdb.cp/pr-1210.exp
7280 * gdb.cp/pr-574.exp
7281 * gdb.cp/pr10687.exp
7282 * gdb.cp/pr12028.exp
7283 * gdb.cp/pr17132.exp
7284 * gdb.cp/pr17494.exp
7285 * gdb.cp/pr9067.exp
7286 * gdb.cp/pr9167.exp
7287 * gdb.cp/pr9631.exp
7288 * gdb.cp/printmethod.exp
7289 * gdb.cp/psmang.exp
7290 * gdb.cp/psymtab-parameter.exp
7291 * gdb.cp/ptype-cv-cp.exp
7292 * gdb.cp/ptype-flags.exp
7293 * gdb.cp/re-set-overloaded.exp
7294 * gdb.cp/ref-types.exp
7295 * gdb.cp/rtti.exp
7296 * gdb.cp/scope-err.exp
7297 * gdb.cp/shadow.exp
7298 * gdb.cp/smartp.exp
7299 * gdb.cp/static-method.exp
7300 * gdb.cp/static-print-quit.exp
7301 * gdb.cp/temargs.exp
7302 * gdb.cp/templates.exp
7303 * gdb.cp/try_catch.exp
7304 * gdb.cp/typedef-operator.exp
7305 * gdb.cp/typeid.exp
7306 * gdb.cp/userdef.exp
7307 * gdb.cp/using-crash.exp
7308 * gdb.cp/var-tag.exp
7309 * gdb.cp/virtbase.exp
7310 * gdb.cp/virtfunc.exp
7311 * gdb.cp/virtfunc2.exp
7312 * gdb.cp/vla-cxx.exp
7313 * gdb.disasm/t01_mov.exp
7314 * gdb.disasm/t02_mova.exp
7315 * gdb.disasm/t03_add.exp
7316 * gdb.disasm/t04_sub.exp
7317 * gdb.disasm/t05_cmp.exp
7318 * gdb.disasm/t06_ari2.exp
7319 * gdb.disasm/t07_ari3.exp
7320 * gdb.disasm/t08_or.exp
7321 * gdb.disasm/t09_xor.exp
7322 * gdb.disasm/t10_and.exp
7323 * gdb.disasm/t11_logs.exp
7324 * gdb.disasm/t12_bit.exp
7325 * gdb.disasm/t13_otr.exp
7326 * gdb.dlang/circular.exp
7327 * gdb.dwarf2/arr-stride.exp
7328 * gdb.dwarf2/arr-subrange.exp
7329 * gdb.dwarf2/atomic-type.exp
7330 * gdb.dwarf2/bad-regnum.exp
7331 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7332 * gdb.dwarf2/callframecfa.exp
7333 * gdb.dwarf2/clztest.exp
7334 * gdb.dwarf2/corrupt.exp
7335 * gdb.dwarf2/data-loc.exp
7336 * gdb.dwarf2/dup-psym.exp
7337 * gdb.dwarf2/dw2-anon-mptr.exp
7338 * gdb.dwarf2/dw2-anonymous-func.exp
7339 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7340 * gdb.dwarf2/dw2-bad-unresolved.exp
7341 * gdb.dwarf2/dw2-basic.exp
7342 * gdb.dwarf2/dw2-canonicalize-type.exp
7343 * gdb.dwarf2/dw2-case-insensitive.exp
7344 * gdb.dwarf2/dw2-common-block.exp
7345 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7346 * gdb.dwarf2/dw2-compressed.exp
7347 * gdb.dwarf2/dw2-const.exp
7348 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7349 * gdb.dwarf2/dw2-cu-size.exp
7350 * gdb.dwarf2/dw2-dup-frame.exp
7351 * gdb.dwarf2/dw2-entry-value.exp
7352 * gdb.dwarf2/dw2-icycle.exp
7353 * gdb.dwarf2/dw2-ifort-parameter.exp
7354 * gdb.dwarf2/dw2-inline-break.exp
7355 * gdb.dwarf2/dw2-inline-param.exp
7356 * gdb.dwarf2/dw2-intercu.exp
7357 * gdb.dwarf2/dw2-intermix.exp
7358 * gdb.dwarf2/dw2-lexical-block-bare.exp
7359 * gdb.dwarf2/dw2-linkage-name-trust.exp
7360 * gdb.dwarf2/dw2-minsym-in-cu.exp
7361 * gdb.dwarf2/dw2-noloc.exp
7362 * gdb.dwarf2/dw2-op-call.exp
7363 * gdb.dwarf2/dw2-op-out-param.exp
7364 * gdb.dwarf2/dw2-opt-structptr.exp
7365 * gdb.dwarf2/dw2-param-error.exp
7366 * gdb.dwarf2/dw2-producer.exp
7367 * gdb.dwarf2/dw2-ranges-base.exp
7368 * gdb.dwarf2/dw2-ref-missing-frame.exp
7369 * gdb.dwarf2/dw2-reg-undefined.exp
7370 * gdb.dwarf2/dw2-regno-invalid.exp
7371 * gdb.dwarf2/dw2-restore.exp
7372 * gdb.dwarf2/dw2-restrict.exp
7373 * gdb.dwarf2/dw2-single-line-discriminators.exp
7374 * gdb.dwarf2/dw2-strp.exp
7375 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7376 * gdb.dwarf2/dw2-unresolved.exp
7377 * gdb.dwarf2/dw2-var-zero-addr.exp
7378 * gdb.dwarf2/dw4-sig-types.exp
7379 * gdb.dwarf2/dwz.exp
7380 * gdb.dwarf2/dynarr-ptr.exp
7381 * gdb.dwarf2/enum-type.exp
7382 * gdb.dwarf2/gdb-index.exp
7383 * gdb.dwarf2/implptr-64bit.exp
7384 * gdb.dwarf2/implptr-optimized-out.exp
7385 * gdb.dwarf2/implptr.exp
7386 * gdb.dwarf2/implref-array.exp
7387 * gdb.dwarf2/implref-const.exp
7388 * gdb.dwarf2/implref-global.exp
7389 * gdb.dwarf2/implref-struct.exp
7390 * gdb.dwarf2/mac-fileno.exp
7391 * gdb.dwarf2/main-subprogram.exp
7392 * gdb.dwarf2/member-ptr-forwardref.exp
7393 * gdb.dwarf2/method-ptr.exp
7394 * gdb.dwarf2/missing-sig-type.exp
7395 * gdb.dwarf2/nonvar-access.exp
7396 * gdb.dwarf2/opaque-type-lookup.exp
7397 * gdb.dwarf2/pieces-optimized-out.exp
7398 * gdb.dwarf2/pieces.exp
7399 * gdb.dwarf2/pr10770.exp
7400 * gdb.dwarf2/pr13961.exp
7401 * gdb.dwarf2/staticvirtual.exp
7402 * gdb.dwarf2/subrange.exp
7403 * gdb.dwarf2/symtab-producer.exp
7404 * gdb.dwarf2/trace-crash.exp
7405 * gdb.dwarf2/typeddwarf.exp
7406 * gdb.dwarf2/valop.exp
7407 * gdb.dwarf2/watch-notconst.exp
7408 * gdb.fortran/array-element.exp
7409 * gdb.fortran/charset.exp
7410 * gdb.fortran/common-block.exp
7411 * gdb.fortran/complex.exp
7412 * gdb.fortran/derived-type-function.exp
7413 * gdb.fortran/derived-type.exp
7414 * gdb.fortran/logical.exp
7415 * gdb.fortran/module.exp
7416 * gdb.fortran/multi-dim.exp
7417 * gdb.fortran/nested-funcs.exp
7418 * gdb.fortran/print-formatted.exp
7419 * gdb.fortran/subarray.exp
7420 * gdb.fortran/vla-alloc-assoc.exp
7421 * gdb.fortran/vla-datatypes.exp
7422 * gdb.fortran/vla-history.exp
7423 * gdb.fortran/vla-ptr-info.exp
7424 * gdb.fortran/vla-ptype-sub.exp
7425 * gdb.fortran/vla-ptype.exp
7426 * gdb.fortran/vla-sizeof.exp
7427 * gdb.fortran/vla-type.exp
7428 * gdb.fortran/vla-value-sub-arbitrary.exp
7429 * gdb.fortran/vla-value-sub-finish.exp
7430 * gdb.fortran/vla-value-sub.exp
7431 * gdb.fortran/vla-value.exp
7432 * gdb.fortran/whatis_type.exp
7433 * gdb.go/chan.exp
7434 * gdb.go/handcall.exp
7435 * gdb.go/hello.exp
7436 * gdb.go/integers.exp
7437 * gdb.go/methods.exp
7438 * gdb.go/package.exp
7439 * gdb.go/strings.exp
7440 * gdb.go/types.exp
7441 * gdb.go/unsafe.exp
7442 * gdb.guile/scm-arch.exp
7443 * gdb.guile/scm-block.exp
7444 * gdb.guile/scm-breakpoint.exp
7445 * gdb.guile/scm-cmd.exp
7446 * gdb.guile/scm-disasm.exp
7447 * gdb.guile/scm-equal.exp
7448 * gdb.guile/scm-frame-args.exp
7449 * gdb.guile/scm-frame-inline.exp
7450 * gdb.guile/scm-frame.exp
7451 * gdb.guile/scm-iterator.exp
7452 * gdb.guile/scm-math.exp
7453 * gdb.guile/scm-objfile.exp
7454 * gdb.guile/scm-ports.exp
7455 * gdb.guile/scm-symbol.exp
7456 * gdb.guile/scm-symtab.exp
7457 * gdb.guile/scm-value-cc.exp
7458 * gdb.guile/types-module.exp
7459 * gdb.linespec/break-ask.exp
7460 * gdb.linespec/cpexplicit.exp
7461 * gdb.linespec/explicit.exp
7462 * gdb.linespec/keywords.exp
7463 * gdb.linespec/linespec.exp
7464 * gdb.linespec/ls-dollar.exp
7465 * gdb.linespec/ls-errs.exp
7466 * gdb.linespec/skip-two.exp
7467 * gdb.linespec/thread.exp
7468 * gdb.mi/mi-async.exp
7469 * gdb.mi/mi-basics.exp
7470 * gdb.mi/mi-break.exp
7471 * gdb.mi/mi-catch-load.exp
7472 * gdb.mi/mi-cli.exp
7473 * gdb.mi/mi-cmd-param-changed.exp
7474 * gdb.mi/mi-console.exp
7475 * gdb.mi/mi-detach.exp
7476 * gdb.mi/mi-disassemble.exp
7477 * gdb.mi/mi-eval.exp
7478 * gdb.mi/mi-file-transfer.exp
7479 * gdb.mi/mi-file.exp
7480 * gdb.mi/mi-fill-memory.exp
7481 * gdb.mi/mi-inheritance-syntax-error.exp
7482 * gdb.mi/mi-linespec-err-cp.exp
7483 * gdb.mi/mi-logging.exp
7484 * gdb.mi/mi-memory-changed.exp
7485 * gdb.mi/mi-read-memory.exp
7486 * gdb.mi/mi-record-changed.exp
7487 * gdb.mi/mi-reg-undefined.exp
7488 * gdb.mi/mi-regs.exp
7489 * gdb.mi/mi-return.exp
7490 * gdb.mi/mi-reverse.exp
7491 * gdb.mi/mi-simplerun.exp
7492 * gdb.mi/mi-solib.exp
7493 * gdb.mi/mi-stack.exp
7494 * gdb.mi/mi-stepi.exp
7495 * gdb.mi/mi-syn-frame.exp
7496 * gdb.mi/mi-until.exp
7497 * gdb.mi/mi-var-block.exp
7498 * gdb.mi/mi-var-child.exp
7499 * gdb.mi/mi-var-cmd.exp
7500 * gdb.mi/mi-var-cp.exp
7501 * gdb.mi/mi-var-display.exp
7502 * gdb.mi/mi-var-invalidate.exp
7503 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7504 * gdb.mi/mi-vla-fortran.exp
7505 * gdb.mi/mi-watch.exp
7506 * gdb.mi/mi2-var-child.exp
7507 * gdb.mi/user-selected-context-sync.exp
7508 * gdb.modula2/unbounded-array.exp
7509 * gdb.multi/dummy-frame-restore.exp
7510 * gdb.multi/multi-arch-exec.exp
7511 * gdb.multi/multi-arch.exp
7512 * gdb.multi/tids.exp
7513 * gdb.multi/watchpoint-multi.exp
7514 * gdb.opencl/callfuncs.exp
7515 * gdb.opencl/convs_casts.exp
7516 * gdb.opencl/datatypes.exp
7517 * gdb.opencl/operators.exp
7518 * gdb.opencl/vec_comps.exp
7519 * gdb.opt/clobbered-registers-O2.exp
7520 * gdb.opt/inline-break.exp
7521 * gdb.opt/inline-bt.exp
7522 * gdb.opt/inline-cmds.exp
7523 * gdb.opt/inline-locals.exp
7524 * gdb.pascal/case-insensitive-symbols.exp
7525 * gdb.pascal/floats.exp
7526 * gdb.pascal/gdb11492.exp
7527 * gdb.python/lib-types.exp
7528 * gdb.python/py-arch.exp
7529 * gdb.python/py-as-string.exp
7530 * gdb.python/py-bad-printers.exp
7531 * gdb.python/py-block.exp
7532 * gdb.python/py-breakpoint-create-fail.exp
7533 * gdb.python/py-breakpoint.exp
7534 * gdb.python/py-caller-is.exp
7535 * gdb.python/py-cmd.exp
7536 * gdb.python/py-explore-cc.exp
7537 * gdb.python/py-explore.exp
7538 * gdb.python/py-finish-breakpoint.exp
7539 * gdb.python/py-finish-breakpoint2.exp
7540 * gdb.python/py-frame-args.exp
7541 * gdb.python/py-frame-inline.exp
7542 * gdb.python/py-frame.exp
7543 * gdb.python/py-framefilter-mi.exp
7544 * gdb.python/py-infthread.exp
7545 * gdb.python/py-lazy-string.exp
7546 * gdb.python/py-linetable.exp
7547 * gdb.python/py-mi-events.exp
7548 * gdb.python/py-mi-objfile.exp
7549 * gdb.python/py-mi.exp
7550 * gdb.python/py-objfile.exp
7551 * gdb.python/py-pp-integral.exp
7552 * gdb.python/py-pp-maint.exp
7553 * gdb.python/py-pp-re-notag.exp
7554 * gdb.python/py-pp-registration.exp
7555 * gdb.python/py-recurse-unwind.exp
7556 * gdb.python/py-strfns.exp
7557 * gdb.python/py-symbol.exp
7558 * gdb.python/py-symtab.exp
7559 * gdb.python/py-sync-interp.exp
7560 * gdb.python/py-typeprint.exp
7561 * gdb.python/py-unwind-maint.exp
7562 * gdb.python/py-unwind.exp
7563 * gdb.python/py-value-cc.exp
7564 * gdb.python/py-xmethods.exp
7565 * gdb.reverse/amd64-tailcall-reverse.exp
7566 * gdb.reverse/break-precsave.exp
7567 * gdb.reverse/break-reverse.exp
7568 * gdb.reverse/consecutive-precsave.exp
7569 * gdb.reverse/consecutive-reverse.exp
7570 * gdb.reverse/finish-precsave.exp
7571 * gdb.reverse/finish-reverse-bkpt.exp
7572 * gdb.reverse/finish-reverse.exp
7573 * gdb.reverse/fstatat-reverse.exp
7574 * gdb.reverse/getresuid-reverse.exp
7575 * gdb.reverse/i386-precsave.exp
7576 * gdb.reverse/i386-reverse.exp
7577 * gdb.reverse/i386-sse-reverse.exp
7578 * gdb.reverse/i387-env-reverse.exp
7579 * gdb.reverse/i387-stack-reverse.exp
7580 * gdb.reverse/insn-reverse.exp
7581 * gdb.reverse/machinestate-precsave.exp
7582 * gdb.reverse/machinestate.exp
7583 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7584 * gdb.reverse/pipe-reverse.exp
7585 * gdb.reverse/readv-reverse.exp
7586 * gdb.reverse/recvmsg-reverse.exp
7587 * gdb.reverse/rerun-prec.exp
7588 * gdb.reverse/s390-mvcle.exp
7589 * gdb.reverse/step-precsave.exp
7590 * gdb.reverse/step-reverse.exp
7591 * gdb.reverse/time-reverse.exp
7592 * gdb.reverse/until-precsave.exp
7593 * gdb.reverse/until-reverse.exp
7594 * gdb.reverse/waitpid-reverse.exp
7595 * gdb.reverse/watch-precsave.exp
7596 * gdb.reverse/watch-reverse.exp
7597 * gdb.rust/generics.exp
7598 * gdb.rust/methods.exp
7599 * gdb.rust/modules.exp
7600 * gdb.rust/simple.exp
7601 * gdb.server/connect-with-no-symbol-file.exp
7602 * gdb.server/ext-attach.exp
7603 * gdb.server/ext-restart.exp
7604 * gdb.server/ext-wrapper.exp
7605 * gdb.server/file-transfer.exp
7606 * gdb.server/server-exec-info.exp
7607 * gdb.server/server-kill.exp
7608 * gdb.server/server-mon.exp
7609 * gdb.server/wrapper.exp
7610 * gdb.stabs/exclfwd.exp
7611 * gdb.stabs/gdb11479.exp
7612 * gdb.threads/clone-new-thread-event.exp
7613 * gdb.threads/corethreads.exp
7614 * gdb.threads/current-lwp-dead.exp
7615 * gdb.threads/dlopen-libpthread.exp
7616 * gdb.threads/gcore-thread.exp
7617 * gdb.threads/sigstep-threads.exp
7618 * gdb.threads/watchpoint-fork.exp
7619 * gdb.trace/actions-changed.exp
7620 * gdb.trace/backtrace.exp
7621 * gdb.trace/change-loc.exp
7622 * gdb.trace/circ.exp
7623 * gdb.trace/collection.exp
7624 * gdb.trace/disconnected-tracing.exp
7625 * gdb.trace/ftrace.exp
7626 * gdb.trace/mi-trace-frame-collected.exp
7627 * gdb.trace/mi-trace-unavailable.exp
7628 * gdb.trace/mi-traceframe-changed.exp
7629 * gdb.trace/mi-tsv-changed.exp
7630 * gdb.trace/no-attach-trace.exp
7631 * gdb.trace/passc-dyn.exp
7632 * gdb.trace/qtro.exp
7633 * gdb.trace/range-stepping.exp
7634 * gdb.trace/read-memory.exp
7635 * gdb.trace/save-trace.exp
7636 * gdb.trace/signal.exp
7637 * gdb.trace/status-stop.exp
7638 * gdb.trace/tfile.exp
7639 * gdb.trace/trace-break.exp
7640 * gdb.trace/trace-buffer-size.exp
7641 * gdb.trace/trace-condition.exp
7642 * gdb.trace/tracefile-pseudo-reg.exp
7643 * gdb.trace/tstatus.exp
7644 * gdb.trace/unavailable.exp
7645 * gdb.trace/while-dyn.exp
7646 * gdb.trace/while-stepping.exp
7647
34c41c68
DE
76482016-12-22 Doug Evans <xdje42@gmail.com>
7649
7650 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7651 and msymbols.
7652
16e69324
YQ
76532016-12-19 Yao Qi <yao.qi@linaro.org>
7654
7655 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7656 (test_with_self): Don't call do_steps_and_nexts, and remove
7657 code about stepping into xmalloc.
7658
f94f411b
YQ
76592016-12-09 Yao Qi <yao.qi@linaro.org>
7660
7661 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7662
76632016-12-09 Yao Qi <yao.qi@linaro.org>
7664
7665 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7666
f1b5deee
PA
76672016-12-09 Pedro Alves <palves@redhat.com>
7668
7669 * gdb.base/all-architectures-0.exp: New file.
7670 * gdb.base/all-architectures-1.exp: New file.
7671 * gdb.base/all-architectures-2.exp: New file.
7672 * gdb.base/all-architectures-3.exp: New file.
7673 * gdb.base/all-architectures-4.exp: New file.
7674 * gdb.base/all-architectures-5.exp: New file.
7675 * gdb.base/all-architectures-6.exp: New file.
7676 * gdb.base/all-architectures-7.exp: New file.
7677 * gdb.base/all-architectures.exp.in: New file.
7678
364ca42e
YQ
76792016-12-09 Yao Qi <yao.qi@linaro.org>
7680
7681 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7682
107c2d62
LM
76832016-12-02 Luis Machado <lgustavo@codesourcery.com>
7684
7685 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7686 possible.
7687 Remove useless pattern-matching code.
7688
df3ee9ca
PA
76892016-12-02 Pedro Alves <palves@redhat.com>
7690
7691 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7692 procedure.
7693 (top level): Call it.
7694
ec835369
PA
76952016-12-02 Pedro Alves <palves@redhat.com>
7696
7697 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7698 New procedure.
7699 (top level): Call it.
7700
01770bbd
PA
77012016-12-02 Pedro Alves <palves@redhat.com>
7702
7703 PR cli/20559
7704 * gdb.base/commands.exp (user_defined_command_args_eval): New
7705 procedure.
7706 (top level): Call it.
7707
008459ea
LM
77082016-12-02 Luis Machado <lgustavo@codesourcery.com>
7709
7710 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7711 timeout handling.
7712
0c1b455e
TT
77132016-12-02 Tom Tromey <tom@tromey.com>
7714
7715 * gdb.dwarf2/main-subprogram.c: New file.
7716 * gdb.dwarf2/main-subprogram.exp: New file.
7717
018572b8
LM
77182016-12-01 Luis Machado <lgustavo@codesourcery.com>
7719
7720 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7721 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7722 gdb_test_no_output for a couple of cases.
7723 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7724
84c93cd5
LM
77252016-12-01 Luis Machado <lgustavo@codesourcery.com>
7726
7727 Fix test names and standardize compilation error messages throughout
7728 the following files:
7729
7730 * gdb.ada/start.exp
7731 * gdb.arch/alpha-step.exp
7732 * gdb.arch/e500-prologue.exp
7733 * gdb.arch/ftrace-insn-reloc.exp
7734 * gdb.arch/gdb1291.exp
7735 * gdb.arch/gdb1431.exp
7736 * gdb.arch/gdb1558.exp
7737 * gdb.arch/i386-dr3-watch.exp
7738 * gdb.arch/i386-sse-stack-align.exp
7739 * gdb.arch/ia64-breakpoint-shadow.exp
7740 * gdb.arch/pa-nullify.exp
7741 * gdb.arch/powerpc-aix-prologue.exp
7742 * gdb.arch/thumb-bx-pc.exp
7743 * gdb.base/annota1.exp
7744 * gdb.base/annota3.exp
7745 * gdb.base/arrayidx.exp
7746 * gdb.base/assign.exp
7747 * gdb.base/attach.exp
7748 * gdb.base/auxv.exp
7749 * gdb.base/bang.exp
7750 * gdb.base/bfp-test.exp
7751 * gdb.base/bigcore.exp
7752 * gdb.base/bitfields2.exp
7753 * gdb.base/break-fun-addr.exp
7754 * gdb.base/break-probes.exp
7755 * gdb.base/call-rt-st.exp
7756 * gdb.base/callexit.exp
7757 * gdb.base/catch-fork-kill.exp
7758 * gdb.base/charset.exp
7759 * gdb.base/checkpoint.exp
7760 * gdb.base/comprdebug.exp
7761 * gdb.base/constvars.exp
7762 * gdb.base/coredump-filter.exp
7763 * gdb.base/cursal.exp
7764 * gdb.base/cvexpr.exp
7765 * gdb.base/detach.exp
7766 * gdb.base/display.exp
7767 * gdb.base/dmsym.exp
7768 * gdb.base/dprintf-pending.exp
7769 * gdb.base/dso2dso.exp
7770 * gdb.base/dtrace-probe.exp
7771 * gdb.base/dump.exp
7772 * gdb.base/enum_cond.exp
7773 * gdb.base/exe-lock.exp
7774 * gdb.base/exec-invalid-sysroot.exp
7775 * gdb.base/execl-update-breakpoints.exp
7776 * gdb.base/exprs.exp
7777 * gdb.base/fileio.exp
7778 * gdb.base/find.exp
7779 * gdb.base/finish.exp
7780 * gdb.base/fixsection.exp
7781 * gdb.base/foll-vfork.exp
7782 * gdb.base/frame-args.exp
7783 * gdb.base/gcore.exp
7784 * gdb.base/gdb1250.exp
7785 * gdb.base/global-var-nested-by-dso.exp
7786 * gdb.base/gnu-ifunc.exp
7787 * gdb.base/hashline1.exp
7788 * gdb.base/hashline2.exp
7789 * gdb.base/hashline3.exp
7790 * gdb.base/hbreak-in-shr-unsupported.exp
7791 * gdb.base/huge.exp
7792 * gdb.base/infcall-input.exp
7793 * gdb.base/info-fun.exp
7794 * gdb.base/info-shared.exp
7795 * gdb.base/jit-simple.exp
7796 * gdb.base/jit-so.exp
7797 * gdb.base/jit.exp
7798 * gdb.base/jump.exp
7799 * gdb.base/label.exp
7800 * gdb.base/lineinc.exp
7801 * gdb.base/logical.exp
7802 * gdb.base/longjmp.exp
7803 * gdb.base/macscp.exp
7804 * gdb.base/miscexprs.exp
7805 * gdb.base/new-ui-echo.exp
7806 * gdb.base/new-ui-pending-input.exp
7807 * gdb.base/new-ui.exp
7808 * gdb.base/nodebug.exp
7809 * gdb.base/nofield.exp
7810 * gdb.base/offsets.exp
7811 * gdb.base/overlays.exp
7812 * gdb.base/pending.exp
7813 * gdb.base/pointers.exp
7814 * gdb.base/pr11022.exp
7815 * gdb.base/printcmds.exp
7816 * gdb.base/prologue.exp
7817 * gdb.base/ptr-typedef.exp
7818 * gdb.base/realname-expand.exp
7819 * gdb.base/relativedebug.exp
7820 * gdb.base/relocate.exp
7821 * gdb.base/remote.exp
7822 * gdb.base/reread.exp
7823 * gdb.base/return2.exp
7824 * gdb.base/savedregs.exp
7825 * gdb.base/sep.exp
7826 * gdb.base/sepdebug.exp
7827 * gdb.base/sepsymtab.exp
7828 * gdb.base/set-inferior-tty.exp
7829 * gdb.base/setshow.exp
7830 * gdb.base/shlib-call.exp
7831 * gdb.base/sigaltstack.exp
7832 * gdb.base/siginfo-addr.exp
7833 * gdb.base/signals.exp
7834 * gdb.base/signull.exp
7835 * gdb.base/sigrepeat.exp
7836 * gdb.base/so-impl-ld.exp
7837 * gdb.base/solib-display.exp
7838 * gdb.base/solib-overlap.exp
7839 * gdb.base/solib-search.exp
7840 * gdb.base/solib-symbol.exp
7841 * gdb.base/structs.exp
7842 * gdb.base/structs2.exp
7843 * gdb.base/symtab-search-order.exp
7844 * gdb.base/twice.exp
7845 * gdb.base/unload.exp
7846 * gdb.base/varargs.exp
7847 * gdb.base/watchpoint-solib.exp
7848 * gdb.base/watchpoint.exp
7849 * gdb.base/whatis.exp
7850 * gdb.base/wrong_frame_bt_full.exp
7851 * gdb.btrace/dlopen.exp
7852 * gdb.cell/ea-standalone.exp
7853 * gdb.cell/ea-test.exp
7854 * gdb.cp/dispcxx.exp
7855 * gdb.cp/gdb2384.exp
7856 * gdb.cp/method2.exp
7857 * gdb.cp/nextoverthrow.exp
7858 * gdb.cp/pr10728.exp
7859 * gdb.disasm/am33.exp
7860 * gdb.disasm/h8300s.exp
7861 * gdb.disasm/mn10300.exp
7862 * gdb.disasm/sh3.exp
7863 * gdb.dwarf2/dw2-dir-file-name.exp
7864 * gdb.fortran/complex.exp
7865 * gdb.fortran/library-module.exp
7866 * gdb.guile/scm-pretty-print.exp
7867 * gdb.guile/scm-symbol.exp
7868 * gdb.guile/scm-type.exp
7869 * gdb.guile/scm-value.exp
7870 * gdb.linespec/linespec.exp
7871 * gdb.mi/gdb701.exp
7872 * gdb.mi/gdb792.exp
7873 * gdb.mi/mi-breakpoint-changed.exp
7874 * gdb.mi/mi-dprintf-pending.exp
7875 * gdb.mi/mi-dprintf.exp
7876 * gdb.mi/mi-exit-code.exp
7877 * gdb.mi/mi-pending.exp
7878 * gdb.mi/mi-solib.exp
7879 * gdb.mi/new-ui-mi-sync.exp
7880 * gdb.mi/pr11022.exp
7881 * gdb.mi/user-selected-context-sync.exp
7882 * gdb.opt/solib-intra-step.exp
7883 * gdb.python/py-events.exp
7884 * gdb.python/py-finish-breakpoint.exp
7885 * gdb.python/py-mi.exp
7886 * gdb.python/py-prettyprint.exp
7887 * gdb.python/py-shared.exp
7888 * gdb.python/py-symbol.exp
7889 * gdb.python/py-template.exp
7890 * gdb.python/py-type.exp
7891 * gdb.python/py-value.exp
7892 * gdb.reverse/solib-precsave.exp
7893 * gdb.reverse/solib-reverse.exp
7894 * gdb.server/solib-list.exp
7895 * gdb.stabs/weird.exp
7896 * gdb.threads/reconnect-signal.exp
7897 * gdb.threads/stepi-random-signal.exp
7898 * gdb.trace/actions.exp
7899 * gdb.trace/ax.exp
7900 * gdb.trace/backtrace.exp
7901 * gdb.trace/change-loc.exp
7902 * gdb.trace/deltrace.exp
7903 * gdb.trace/ftrace-lock.exp
7904 * gdb.trace/ftrace.exp
7905 * gdb.trace/infotrace.exp
7906 * gdb.trace/mi-tracepoint-changed.exp
7907 * gdb.trace/packetlen.exp
7908 * gdb.trace/passcount.exp
7909 * gdb.trace/pending.exp
7910 * gdb.trace/range-stepping.exp
7911 * gdb.trace/report.exp
7912 * gdb.trace/stap-trace.exp
7913 * gdb.trace/tfind.exp
7914 * gdb.trace/trace-break.exp
7915 * gdb.trace/trace-condition.exp
7916 * gdb.trace/trace-enable-disable.exp
7917 * gdb.trace/trace-mt.exp
7918 * gdb.trace/tracecmd.exp
7919 * gdb.trace/tspeed.exp
7920 * gdb.trace/tsv.exp
7921 * lib/perftest.exp
7922
fb9feb35
LM
79232016-12-01 Luis Machado <lgustavo@codesourcery.com>
7924
7925 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7926 with gdb_test_no_output.
7927 Use command as test name.
7928
cd2ddb6c
LM
79292016-12-01 Luis Machado <lgustavo@codesourcery.com>
7930
7931 Fix test names starting with uppercase throughout the files.
7932
7933 * gdb.ada/assign_1.exp
7934 * gdb.ada/boolean_expr.exp
7935 * gdb.base/arrayidx.exp
7936 * gdb.base/del.exp
7937 * gdb.base/gcore-buffer-overflow.exp
7938 * gdb.base/testenv.exp
7939 * gdb.compile/compile.exp
7940 * gdb.python/py-framefilter-invalidarg.exp
7941 * gdb.python/py-framefilter.exp
7942
bb95117e
LM
79432016-12-01 Luis Machado <lgustavo@codesourcery.com>
7944
7945 Fix test names starting with uppercase throughout the files.
7946
7947 * gdb.ada/array_return.exp
7948 * gdb.ada/expr_delims.exp
7949 * gdb.ada/mi_dyn_arr.exp
7950 * gdb.ada/mi_interface.exp
7951 * gdb.ada/mi_var_array.exp
7952 * gdb.ada/watch_arg.exp
7953 * gdb.arch/alpha-step.exp
7954 * gdb.arch/altivec-regs.exp
7955 * gdb.arch/e500-regs.exp
7956 * gdb.arch/powerpc-d128-regs.exp
7957 * gdb.base/arrayidx.exp
7958 * gdb.base/break.exp
7959 * gdb.base/checkpoint.exp
7960 * gdb.base/debug-expr.exp
7961 * gdb.base/dmsym.exp
7962 * gdb.base/radix.exp
7963 * gdb.base/sepdebug.exp
7964 * gdb.base/testenv.exp
7965 * gdb.base/watch_thread_num.exp
7966 * gdb.base/watchpoint-cond-gone.exp
7967 * gdb.cell/break.exp
7968 * gdb.cell/ea-cache.exp
7969 * gdb.compile/compile.exp
7970 * gdb.cp/gdb2495.exp
7971 * gdb.gdb/selftest.exp
7972 * gdb.gdb/xfullpath.exp
7973 * gdb.go/hello.exp
7974 * gdb.go/integers.exp
7975 * gdb.objc/basicclass.exp
7976 * gdb.pascal/hello.exp
7977 * gdb.pascal/integers.exp
7978 * gdb.python/py-breakpoint.exp
7979 * gdb.python/py-cmd.exp
7980 * gdb.python/py-linetable.exp
7981 * gdb.python/py-xmethods.exp
7982 * gdb.python/python.exp
7983 * gdb.reverse/consecutive-precsave.exp
7984 * gdb.reverse/finish-precsave.exp
7985 * gdb.reverse/i386-precsave.exp
7986 * gdb.reverse/machinestate-precsave.exp
7987 * gdb.reverse/sigall-precsave.exp
7988 * gdb.reverse/solib-precsave.exp
7989 * gdb.reverse/step-precsave.exp
7990 * gdb.reverse/until-precsave.exp
7991 * gdb.reverse/watch-precsave.exp
7992 * gdb.threads/leader-exit.exp
7993 * gdb.threads/pthreads.exp
7994 * gdb.threads/wp-replication.exp
7995 * gdb.trace/actions.exp
7996 * gdb.trace/mi-tsv-changed.exp
7997 * gdb.trace/tsv.exp
7998
de97fdd4
LM
79992016-12-01 Luis Machado <lgustavo@codesourcery.com>
8000
8001 Fix test names starting with uppercase throughout the files.
8002
8003 * gdb.arch/i386-bp_permanent.exp
8004 * gdb.arch/i386-gnu-cfi.exp
8005 * gdb.base/disasm-end-cu.exp
8006 * gdb.base/macscp.exp
8007 * gdb.base/pending.exp
8008 * gdb.base/watch_thread_num.exp
8009 * gdb.cp/exception.exp
8010 * gdb.cp/gdb2495.exp
8011 * gdb.cp/local.exp
8012 * gdb.python/py-evsignal.exp
8013 * gdb.python/python.exp
8014 * gdb.trace/tracecmd.exp
8015
9f058c10
LM
80162016-12-01 Luis Machado <lgustavo@codesourcery.com>
8017
8018 Fix test names starting with uppercase throughout the files.
8019
8020 * gdb.base/charset.exp
8021 * gdb.base/eval.exp
8022 * gdb.base/multi-forks.exp
8023 * gdb.guile/scm-progspace.exp
8024 * gdb.opencl/datatypes.exp
8025 * gdb.python/py-block.exp
8026 * gdb.python/py-function.exp
8027 * gdb.python/py-symbol.exp
8028 * gdb.python/py-symtab.exp
8029 * gdb.python/py-xmethods.exp
8030 * gdb.reverse/break-precsave.exp
8031 * gdb.reverse/break-reverse.exp
8032 * gdb.reverse/consecutive-precsave.exp
8033 * gdb.reverse/consecutive-reverse.exp
8034 * gdb.reverse/finish-precsave.exp
8035 * gdb.reverse/finish-reverse-bkpt.exp
8036 * gdb.reverse/finish-reverse.exp
8037 * gdb.reverse/fstatat-reverse.exp
8038 * gdb.reverse/getresuid-reverse.exp
8039 * gdb.reverse/i386-precsave.exp
8040 * gdb.reverse/i386-reverse.exp
8041 * gdb.reverse/i386-sse-reverse.exp
8042 * gdb.reverse/i387-stack-reverse.exp
8043 * gdb.reverse/insn-reverse.exp
8044 * gdb.reverse/machinestate-precsave.exp
8045 * gdb.reverse/machinestate.exp
8046 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8047 * gdb.reverse/pipe-reverse.exp
8048 * gdb.reverse/readv-reverse.exp
8049 * gdb.reverse/recvmsg-reverse.exp
8050 * gdb.reverse/rerun-prec.exp
8051 * gdb.reverse/s390-mvcle.exp
8052 * gdb.reverse/sigall-precsave.exp
8053 * gdb.reverse/sigall-reverse.exp
8054 * gdb.reverse/solib-precsave.exp
8055 * gdb.reverse/solib-reverse.exp
8056 * gdb.reverse/step-precsave.exp
8057 * gdb.reverse/step-reverse.exp
8058 * gdb.reverse/time-reverse.exp
8059 * gdb.reverse/until-precsave.exp
8060 * gdb.reverse/until-reverse.exp
8061 * gdb.reverse/waitpid-reverse.exp
8062 * gdb.reverse/watch-precsave.exp
8063 * gdb.reverse/watch-reverse.exp
8064
cdc7edd7
LM
80652016-12-01 Luis Machado <lgustavo@codesourcery.com>
8066
8067 Fix test names starting with uppercase throughout the files.
8068
8069 * gdb.arch/i386-mpx-simple_segv.exp
8070 * gdb.arch/i386-mpx.exp
8071 * gdb.arch/i386-permbkpt.exp
8072 * gdb.arch/pa-nullify.exp
8073 * gdb.arch/powerpc-d128-regs.exp
8074 * gdb.arch/vsx-regs.exp
8075 * gdb.base/bfp-test.exp
8076 * gdb.base/break.exp
8077 * gdb.base/breakpoint-shadow.exp
8078 * gdb.base/callfuncs.exp
8079 * gdb.base/charset.exp
8080 * gdb.base/commands.exp
8081 * gdb.base/completion.exp
8082 * gdb.base/dfp-test.exp
8083 * gdb.base/echo.exp
8084 * gdb.base/ending-run.exp
8085 * gdb.base/eval.exp
8086 * gdb.base/expand-psymtabs.exp
8087 * gdb.base/float128.exp
8088 * gdb.base/floatn.exp
8089 * gdb.base/foll-exec-mode.exp
8090 * gdb.base/gdb1056.exp
8091 * gdb.base/gdb11531.exp
8092 * gdb.base/kill-after-signal.exp
8093 * gdb.base/multi-forks.exp
8094 * gdb.base/overlays.exp
8095 * gdb.base/pending.exp
8096 * gdb.base/sepdebug.exp
8097 * gdb.base/testenv.exp
8098 * gdb.base/valgrind-db-attach.exp
8099 * gdb.base/watch_thread_num.exp
8100 * gdb.base/watchpoint-cond-gone.exp
8101 * gdb.base/watchpoint.exp
8102 * gdb.base/watchpoints.exp
8103 * gdb.cp/arg-reference.exp
8104 * gdb.cp/baseenum.exp
8105 * gdb.cp/operator.exp
8106 * gdb.cp/shadow.exp
8107 * gdb.dwarf2/dw2-op-out-param.exp
8108 * gdb.dwarf2/dw2-reg-undefined.exp
8109 * gdb.go/chan.exp
8110 * gdb.go/hello.exp
8111 * gdb.go/integers.exp
8112 * gdb.go/methods.exp
8113 * gdb.go/package.exp
8114 * gdb.guile/scm-parameter.exp
8115 * gdb.guile/scm-progspace.exp
8116 * gdb.guile/scm-value.exp
8117 * gdb.mi/mi-pending.exp
8118 * gdb.mi/user-selected-context-sync.exp
8119 * gdb.multi/multi-attach.exp
8120 * gdb.multi/tids.exp
8121 * gdb.opt/clobbered-registers-O2.exp
8122 * gdb.pascal/floats.exp
8123 * gdb.pascal/integers.exp
8124 * gdb.python/py-block.exp
8125 * gdb.python/py-events.exp
8126 * gdb.python/py-parameter.exp
8127 * gdb.python/py-symbol.exp
8128 * gdb.python/py-symtab.exp
8129 * gdb.python/py-type.exp
8130 * gdb.python/py-value.exp
8131 * gdb.python/py-xmethods.exp
8132 * gdb.python/python.exp
8133 * gdb.reverse/break-precsave.exp
8134 * gdb.reverse/consecutive-precsave.exp
8135 * gdb.reverse/finish-precsave.exp
8136 * gdb.reverse/i386-precsave.exp
8137 * gdb.reverse/machinestate-precsave.exp
8138 * gdb.reverse/sigall-precsave.exp
8139 * gdb.reverse/solib-precsave.exp
8140 * gdb.reverse/step-precsave.exp
8141 * gdb.reverse/until-precsave.exp
8142 * gdb.reverse/watch-precsave.exp
8143 * gdb.server/ext-attach.exp
8144 * gdb.server/ext-restart.exp
8145 * gdb.server/ext-run.exp
8146 * gdb.server/ext-wrapper.exp
8147 * gdb.stabs/gdb11479.exp
8148 * gdb.stabs/weird.exp
8149 * gdb.threads/attach-many-short-lived-threads.exp
8150 * gdb.threads/kill.exp
8151 * gdb.threads/watchpoint-fork.exp
8152
bc6c7af4
LM
81532016-12-01 Luis Machado <lgustavo@codesourcery.com>
8154
8155 Fix test names starting with uppercase throughout all the files below.
8156
8157 * gdb.ada/array_return.exp
8158 * gdb.ada/catch_ex.exp
8159 * gdb.ada/info_exc.exp
8160 * gdb.ada/mi_catch_ex.exp
8161 * gdb.ada/mi_dyn_arr.exp
8162 * gdb.ada/mi_ex_cond.exp
8163 * gdb.ada/mi_exc_info.exp
8164 * gdb.ada/mi_interface.exp
8165 * gdb.ada/mi_task_arg.exp
8166 * gdb.ada/mi_task_info.exp
8167 * gdb.ada/mi_var_array.exp
8168 * gdb.arch/alpha-step.exp
8169 * gdb.arch/amd64-disp-step.exp
8170 * gdb.arch/arm-disp-step.exp
8171 * gdb.arch/disp-step-insn-reloc.exp
8172 * gdb.arch/e500-prologue.exp
8173 * gdb.arch/ftrace-insn-reloc.exp
8174 * gdb.arch/gdb1558.exp
8175 * gdb.arch/i386-bp_permanent.exp
8176 * gdb.arch/i386-disp-step.exp
8177 * gdb.arch/i386-float.exp
8178 * gdb.arch/i386-gnu-cfi.exp
8179 * gdb.arch/ia64-breakpoint-shadow.exp
8180 * gdb.arch/mips16-thunks.exp
8181 * gdb.arch/pa-nullify.exp
8182 * gdb.arch/powerpc-aix-prologue.exp
8183 * gdb.arch/powerpc-power.exp
8184 * gdb.arch/ppc-dfp.exp
8185 * gdb.arch/s390-tdbregs.exp
8186 * gdb.arch/spu-info.exp
8187 * gdb.arch/spu-ls.exp
8188 * gdb.arch/thumb-bx-pc.exp
8189 * gdb.base/advance.exp
8190 * gdb.base/annota-input-while-running.exp
8191 * gdb.base/arrayidx.exp
8192 * gdb.base/asmlabel.exp
8193 * gdb.base/async.exp
8194 * gdb.base/attach-wait-input.exp
8195 * gdb.base/auto-connect-native-target.exp
8196 * gdb.base/batch-preserve-term-settings.exp
8197 * gdb.base/bfp-test.exp
8198 * gdb.base/bigcore.exp
8199 * gdb.base/bp-permanent.exp
8200 * gdb.base/break-always.exp
8201 * gdb.base/break-fun-addr.exp
8202 * gdb.base/break-idempotent.exp
8203 * gdb.base/break-main-file-remove-fail.exp
8204 * gdb.base/break-probes.exp
8205 * gdb.base/break-unload-file.exp
8206 * gdb.base/break.exp
8207 * gdb.base/call-ar-st.exp
8208 * gdb.base/call-rt-st.exp
8209 * gdb.base/call-sc.exp
8210 * gdb.base/call-signal-resume.exp
8211 * gdb.base/call-strs.exp
8212 * gdb.base/callexit.exp
8213 * gdb.base/callfuncs.exp
8214 * gdb.base/catch-gdb-caused-signals.exp
8215 * gdb.base/catch-signal-siginfo-cond.exp
8216 * gdb.base/catch-syscall.exp
8217 * gdb.base/compare-sections.exp
8218 * gdb.base/cond-eval-mode.exp
8219 * gdb.base/condbreak-call-false.exp
8220 * gdb.base/consecutive-step-over.exp
8221 * gdb.base/cursal.exp
8222 * gdb.base/disabled-location.exp
8223 * gdb.base/disasm-end-cu.exp
8224 * gdb.base/display.exp
8225 * gdb.base/double-prompt-target-event-error.exp
8226 * gdb.base/dprintf-bp-same-addr.exp
8227 * gdb.base/dprintf-detach.exp
8228 * gdb.base/dprintf-next.exp
8229 * gdb.base/dprintf-non-stop.exp
8230 * gdb.base/dprintf-pending.exp
8231 * gdb.base/dso2dso.exp
8232 * gdb.base/ending-run.exp
8233 * gdb.base/enum_cond.exp
8234 * gdb.base/examine-backward.exp
8235 * gdb.base/exe-lock.exp
8236 * gdb.base/exec-invalid-sysroot.exp
8237 * gdb.base/execl-update-breakpoints.exp
8238 * gdb.base/execution-termios.exp
8239 * gdb.base/fileio.exp
8240 * gdb.base/fixsection.exp
8241 * gdb.base/foll-exec-mode.exp
8242 * gdb.base/foll-exec.exp
8243 * gdb.base/fork-running-state.exp
8244 * gdb.base/frame-args.exp
8245 * gdb.base/fullpath-expand.exp
8246 * gdb.base/func-ptr.exp
8247 * gdb.base/gcore-relro-pie.exp
8248 * gdb.base/gdb1090.exp
8249 * gdb.base/gdb1555.exp
8250 * gdb.base/global-var-nested-by-dso.exp
8251 * gdb.base/gnu-ifunc.exp
8252 * gdb.base/hbreak-in-shr-unsupported.exp
8253 * gdb.base/hbreak-unmapped.exp
8254 * gdb.base/hook-stop.exp
8255 * gdb.base/infcall-input.exp
8256 * gdb.base/info-fun.exp
8257 * gdb.base/info-shared.exp
8258 * gdb.base/interrupt-noterm.exp
8259 * gdb.base/jit-so.exp
8260 * gdb.base/jit.exp
8261 * gdb.base/line-symtabs.exp
8262 * gdb.base/list.exp
8263 * gdb.base/longjmp.exp
8264 * gdb.base/macscp.exp
8265 * gdb.base/max-value-size.exp
8266 * gdb.base/nodebug.exp
8267 * gdb.base/nofield.exp
8268 * gdb.base/overlays.exp
8269 * gdb.base/paginate-after-ctrl-c-running.exp
8270 * gdb.base/paginate-bg-execution.exp
8271 * gdb.base/paginate-inferior-exit.exp
8272 * gdb.base/pending.exp
8273 * gdb.base/pr11022.exp
8274 * gdb.base/printcmds.exp
8275 * gdb.base/ptr-typedef.exp
8276 * gdb.base/ptype.exp
8277 * gdb.base/randomize.exp
8278 * gdb.base/range-stepping.exp
8279 * gdb.base/realname-expand.exp
8280 * gdb.base/relativedebug.exp
8281 * gdb.base/remote.exp
8282 * gdb.base/savedregs.exp
8283 * gdb.base/sepdebug.exp
8284 * gdb.base/set-noassign.exp
8285 * gdb.base/shlib-call.exp
8286 * gdb.base/shreloc.exp
8287 * gdb.base/sigaltstack.exp
8288 * gdb.base/sigbpt.exp
8289 * gdb.base/siginfo-addr.exp
8290 * gdb.base/siginfo-obj.exp
8291 * gdb.base/siginfo-thread.exp
8292 * gdb.base/signest.exp
8293 * gdb.base/signull.exp
8294 * gdb.base/sigrepeat.exp
8295 * gdb.base/skip.exp
8296 * gdb.base/so-impl-ld.exp
8297 * gdb.base/solib-corrupted.exp
8298 * gdb.base/solib-disc.exp
8299 * gdb.base/solib-display.exp
8300 * gdb.base/solib-overlap.exp
8301 * gdb.base/solib-search.exp
8302 * gdb.base/solib-symbol.exp
8303 * gdb.base/source-execution.exp
8304 * gdb.base/sss-bp-on-user-bp-2.exp
8305 * gdb.base/sss-bp-on-user-bp.exp
8306 * gdb.base/stack-checking.exp
8307 * gdb.base/stale-infcall.exp
8308 * gdb.base/step-break.exp
8309 * gdb.base/step-line.exp
8310 * gdb.base/step-over-exit.exp
8311 * gdb.base/step-test.exp
8312 * gdb.base/structs.exp
8313 * gdb.base/sym-file.exp
8314 * gdb.base/symtab-search-order.exp
8315 * gdb.base/term.exp
8316 * gdb.base/type-opaque.exp
8317 * gdb.base/unload.exp
8318 * gdb.base/until-nodebug.exp
8319 * gdb.base/until.exp
8320 * gdb.base/unwindonsignal.exp
8321 * gdb.base/watch-cond.exp
8322 * gdb.base/watch-non-mem.exp
8323 * gdb.base/watch_thread_num.exp
8324 * gdb.base/watchpoint-reuse-slot.exp
8325 * gdb.base/watchpoint-solib.exp
8326 * gdb.base/watchpoint.exp
8327 * gdb.btrace/dlopen.exp
8328 * gdb.cell/arch.exp
8329 * gdb.cell/break.exp
8330 * gdb.cell/bt.exp
8331 * gdb.cell/core.exp
8332 * gdb.cell/data.exp
8333 * gdb.cell/dwarfaddr.exp
8334 * gdb.cell/ea-cache.exp
8335 * gdb.cell/ea-standalone.exp
8336 * gdb.cell/ea-test.exp
8337 * gdb.cell/f-regs.exp
8338 * gdb.cell/fork.exp
8339 * gdb.cell/gcore.exp
8340 * gdb.cell/mem-access.exp
8341 * gdb.cell/ptype.exp
8342 * gdb.cell/registers.exp
8343 * gdb.cell/sizeof.exp
8344 * gdb.cell/solib-symbol.exp
8345 * gdb.cell/solib.exp
8346 * gdb.compile/compile-tls.exp
8347 * gdb.cp/exception.exp
8348 * gdb.cp/gdb2495.exp
8349 * gdb.cp/local.exp
8350 * gdb.cp/mb-inline.exp
8351 * gdb.cp/mb-templates.exp
8352 * gdb.cp/pr10687.exp
8353 * gdb.cp/pr9167.exp
8354 * gdb.cp/scope-err.exp
8355 * gdb.cp/templates.exp
8356 * gdb.cp/virtfunc.exp
8357 * gdb.dwarf2/dw2-dir-file-name.exp
8358 * gdb.dwarf2/dw2-single-line-discriminators.exp
8359 * gdb.fortran/complex.exp
8360 * gdb.fortran/library-module.exp
8361 * gdb.guile/guile.exp
8362 * gdb.guile/scm-cmd.exp
8363 * gdb.guile/scm-frame-inline.exp
8364 * gdb.guile/scm-objfile.exp
8365 * gdb.guile/scm-pretty-print.exp
8366 * gdb.guile/scm-symbol.exp
8367 * gdb.guile/scm-type.exp
8368 * gdb.guile/scm-value.exp
8369 * gdb.linespec/keywords.exp
8370 * gdb.linespec/ls-errs.exp
8371 * gdb.linespec/macro-relative.exp
8372 * gdb.linespec/thread.exp
8373 * gdb.mi/mi-breakpoint-changed.exp
8374 * gdb.mi/mi-dprintf-pending.exp
8375 * gdb.mi/mi-fullname-deleted.exp
8376 * gdb.mi/mi-logging.exp
8377 * gdb.mi/mi-pending.exp
8378 * gdb.mi/mi-solib.exp
8379 * gdb.mi/new-ui-mi-sync.exp
8380 * gdb.mi/user-selected-context-sync.exp
8381 * gdb.multi/dummy-frame-restore.exp
8382 * gdb.multi/multi-arch-exec.exp
8383 * gdb.multi/remove-inferiors.exp
8384 * gdb.multi/watchpoint-multi-exit.exp
8385 * gdb.opt/solib-intra-step.exp
8386 * gdb.perf/backtrace.exp
8387 * gdb.perf/single-step.exp
8388 * gdb.perf/skip-command.exp
8389 * gdb.perf/skip-prologue.exp
8390 * gdb.perf/solib.exp
8391 * gdb.python/lib-types.exp
8392 * gdb.python/py-as-string.exp
8393 * gdb.python/py-bad-printers.exp
8394 * gdb.python/py-block.exp
8395 * gdb.python/py-breakpoint.exp
8396 * gdb.python/py-cmd.exp
8397 * gdb.python/py-events.exp
8398 * gdb.python/py-evthreads.exp
8399 * gdb.python/py-finish-breakpoint.exp
8400 * gdb.python/py-finish-breakpoint2.exp
8401 * gdb.python/py-frame-inline.exp
8402 * gdb.python/py-frame.exp
8403 * gdb.python/py-inferior.exp
8404 * gdb.python/py-infthread.exp
8405 * gdb.python/py-mi.exp
8406 * gdb.python/py-objfile.exp
8407 * gdb.python/py-pp-maint.exp
8408 * gdb.python/py-pp-registration.exp
8409 * gdb.python/py-prettyprint.exp
8410 * gdb.python/py-recurse-unwind.exp
8411 * gdb.python/py-shared.exp
8412 * gdb.python/py-symbol.exp
8413 * gdb.python/py-symtab.exp
8414 * gdb.python/py-template.exp
8415 * gdb.python/py-type.exp
8416 * gdb.python/py-unwind-maint.exp
8417 * gdb.python/py-unwind.exp
8418 * gdb.python/py-value.exp
8419 * gdb.python/python.exp
8420 * gdb.reverse/finish-reverse-bkpt.exp
8421 * gdb.reverse/insn-reverse.exp
8422 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8423 * gdb.reverse/solib-precsave.exp
8424 * gdb.reverse/solib-reverse.exp
8425 * gdb.stabs/gdb11479.exp
8426 * gdb.stabs/weird.exp
8427 * gdb.threads/fork-child-threads.exp
8428 * gdb.threads/fork-plus-threads.exp
8429 * gdb.threads/fork-thread-pending.exp
8430 * gdb.threads/forking-threads-plus-breakpoint.exp
8431 * gdb.threads/hand-call-in-threads.exp
8432 * gdb.threads/interrupted-hand-call.exp
8433 * gdb.threads/linux-dp.exp
8434 * gdb.threads/local-watch-wrong-thread.exp
8435 * gdb.threads/next-while-other-thread-longjmps.exp
8436 * gdb.threads/non-ldr-exit.exp
8437 * gdb.threads/pending-step.exp
8438 * gdb.threads/print-threads.exp
8439 * gdb.threads/process-dies-while-detaching.exp
8440 * gdb.threads/process-dies-while-handling-bp.exp
8441 * gdb.threads/pthreads.exp
8442 * gdb.threads/queue-signal.exp
8443 * gdb.threads/reconnect-signal.exp
8444 * gdb.threads/signal-command-handle-nopass.exp
8445 * gdb.threads/signal-command-multiple-signals-pending.exp
8446 * gdb.threads/signal-delivered-right-thread.exp
8447 * gdb.threads/signal-sigtrap.exp
8448 * gdb.threads/sigthread.exp
8449 * gdb.threads/staticthreads.exp
8450 * gdb.threads/stepi-random-signal.exp
8451 * gdb.threads/thread-unwindonsignal.exp
8452 * gdb.threads/thread_check.exp
8453 * gdb.threads/thread_events.exp
8454 * gdb.threads/tid-reuse.exp
8455 * gdb.threads/tls-nodebug.exp
8456 * gdb.threads/tls-shared.exp
8457 * gdb.threads/tls-so_extern.exp
8458 * gdb.threads/tls.exp
8459 * gdb.threads/wp-replication.exp
8460 * gdb.trace/actions-changed.exp
8461 * gdb.trace/actions.exp
8462 * gdb.trace/backtrace.exp
8463 * gdb.trace/change-loc.exp
8464 * gdb.trace/collection.exp
8465 * gdb.trace/deltrace.exp
8466 * gdb.trace/disconnected-tracing.exp
8467 * gdb.trace/entry-values.exp
8468 * gdb.trace/ftrace-lock.exp
8469 * gdb.trace/ftrace.exp
8470 * gdb.trace/infotrace.exp
8471 * gdb.trace/mi-trace-frame-collected.exp
8472 * gdb.trace/mi-trace-unavailable.exp
8473 * gdb.trace/mi-traceframe-changed.exp
8474 * gdb.trace/mi-tracepoint-changed.exp
8475 * gdb.trace/mi-tsv-changed.exp
8476 * gdb.trace/no-attach-trace.exp
8477 * gdb.trace/packetlen.exp
8478 * gdb.trace/passc-dyn.exp
8479 * gdb.trace/passcount.exp
8480 * gdb.trace/pending.exp
8481 * gdb.trace/pr16508.exp
8482 * gdb.trace/qtro.exp
8483 * gdb.trace/range-stepping.exp
8484 * gdb.trace/read-memory.exp
8485 * gdb.trace/report.exp
8486 * gdb.trace/save-trace.exp
8487 * gdb.trace/signal.exp
8488 * gdb.trace/stap-trace.exp
8489 * gdb.trace/status-stop.exp
8490 * gdb.trace/strace.exp
8491 * gdb.trace/tfile.exp
8492 * gdb.trace/tfind.exp
8493 * gdb.trace/trace-break.exp
8494 * gdb.trace/trace-condition.exp
8495 * gdb.trace/trace-enable-disable.exp
8496 * gdb.trace/trace-mt.exp
8497 * gdb.trace/tracecmd.exp
8498 * gdb.trace/tracefile-pseudo-reg.exp
8499 * gdb.trace/tspeed.exp
8500 * gdb.trace/tstatus.exp
8501 * gdb.trace/tsv.exp
8502 * gdb.trace/unavailable.exp
8503 * gdb.trace/while-dyn.exp
8504 * gdb.trace/while-stepping.exp
8505 * lib/gdb-guile.exp
8506 * lib/gdb.exp
8507 * lib/mi-support.exp
8508 * lib/pascal.exp
8509 * lib/perftest.exp
8510 * lib/prelink-support.exp
8511 * lib/selftest-support.exp
8512
ad02e4fe
SM
85132016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8514
8515 * Makefile.in: Include disable-implicit-rules.mk.
8516
22347e55
AA
85172016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8518
8519 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8520 non-byte-aligned bit fields.
8521
da5b30da
AA
85222016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8523
8524 PR gdb/12616
8525 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8526 respects the DW_AT_data_bit_offset attribute.
8527
b593ecca
SM
85282016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8529
8530 * gdb.base/default.exp: Fix output of "set language".
8531
3b165252
SM
85322016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8533
8534 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8535 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8536 make.
8537 * configure.ac: Remove checks for the make program.
8538 * configure: Re-generate.
8539
1a2f3d7f
KB
85402016-11-16 Kevin Buettner <kevinb@redhat.com>
8541
8542 * gdb.python/py-recurse-unwind.c (main): Add loop.
8543 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8544 to read_register() and gdb.parse_and_eval(). Make each code
8545 call a separate case that can be individually tested.
8546 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8547 proc. Call cont_and_backtrace for each of the code paths that
8548 we want to test in the unwinder.
8549
b7f38fda
AA
85502016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8551
8552 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8553 the definition of struct S.
8554
1f8db343
CM
85552016-11-11 Catherine Moore <clm@codesourcery.com>
8556
8557 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8558
fad0c9fb
PA
85592016-11-09 Pedro Alves <palves@redhat.com>
8560
8561 * gdb.base/commands.exp (runto_or_return): New procedure.
8562 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8563 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8564 (progvar_simple_while_test, progvar_complex_if_while_test)
8565 (if_while_breakpoint_command_test)
8566 (infrun_breakpoint_command_test, breakpoint_command_test)
8567 (user_defined_command_test, watchpoint_command_test)
8568 (test_command_prompt_position, redefine_hook_test)
8569 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8570 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8571 multi_line_input and multi_line. Remove gdb_expect and
8572 gdb_stop_suppressing_tests uses.
8573 * lib/gdb.exp (valnum_re): New global.
8574 (multi_line_input): New procedure.
8575
8354c62c
SM
85762016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8577
8578 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8579 Remove.
8580 (test_setup): Define with proc_with_prefix.
8581 (test_cli_inferior): Likewise.
8582 (test_cli_thread): Likewise.
8583 (test_cli_frame): Likewise.
8584 (test_cli_select_frame): Likewise.
8585 (test_cli_up_down): Likewise.
8586 (test_mi_thread_select): Likewise.
8587 (test_mi_stack_select_frame): Likewise.
8588 (test_cli_in_mi_inferior): Likewise.
8589 (test_cli_in_mi_thread): Likewise.
8590 (test_cli_in_mi_frame): Likewise.
8591 (top level): Do not use with_test_prefix_procname.
8592
64f367a2
PA
85932016-11-09 Pedro Alves <palves@redhat.com>
8594
8595 * gdb.base/commands.exp (gdbvar_simple_if_test)
8596 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8597 (progvar_simple_if_test, progvar_simple_while_test)
8598 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8599 (infrun_breakpoint_command_test, breakpoint_command_test)
8600 (user_defined_command_test, watchpoint_command_test)
8601 (test_command_prompt_position, deprecated_command_test)
8602 (bp_deleted_in_command, temporary_breakpoint_commands)
8603 (stray_arg0_test, source_file_with_indented_comment)
8604 (recursive_source_test, if_commands_test)
8605 (error_clears_commands_left, redefine_hook_test)
8606 (redefine_backtrace_test): Use proc_with_prefix.
8607 * lib/gdb.exp (proc_with_prefix): New proc.
8608
0bb65f1e
AA
86092016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8610
8611 * gdb.base/tui-layout.c: New file.
8612 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8613 disassembly window contains very long lines.
8614
7353f247
TT
86152016-11-08 Tom Tromey <tom@tromey.com>
8616
8617 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8618 depend on Python 2.
8619
30a7bb83
TT
86202016-11-08 Tom Tromey <tom@tromey.com>
8621
8622 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8623 New method.
8624
cdf5a07c
MG
86252016-10-29 Manish Goregaokar <manish@mozilla.com>
8626
2806dc7e 8627 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 8628
51a789c3
MG
86292016-10-27 Manish Goregaokar <manish@mozilla.com>
8630
2806dc7e
PA
8631 * gdb.rust/simple.rs: Add test for univariant enums without
8632 discriminants and for encoded struct-like enums.
51a789c3 8633
f610ab6d
PA
86342016-10-28 Pedro Alves <palves@redhat.com>
8635
8636 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8637 gdb_test_multiple, tighten regexps and match symtabs and line
8638 tables incrementally.
8639
b129b0ca
LM
86402016-10-28 Luis Machado <lgustavo@codesourcery.com>
8641
8642 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8643 general.
8644
ecf45d2c
SL
86452016-10-25 Luis Machado <lgustavo@codesourcery.com>
8646
8647 * gdb.base/exec-invalid-sysroot.exp: New file.
8648
b8d38ee4
JK
86492016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8650
8651 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8652
f90fd8c2
JK
86532016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8654
8655 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8656
2d2476aa
MR
86572016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8658
2806dc7e
PA
8659 * gdb.base/killed-outside.exp: Remove $options from a call to
8660 `prepare_for_testing'.
2d2476aa 8661
e42b25a0
SM
86622016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8663
8664 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8665 Change test message.
8666
3ccdb432
SM
86672016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8668
8669 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8670 Update comment.
8671
5bad3170
SM
86722016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8673
8674 * gdb.trace/mi-trace-save.exp: New file.
8675
5ad9dba7
YQ
86762016-10-13 Yao Qi <yao.qi@linaro.org>
8677
8678 * gdb.base/code_elim.exp (get_var_address): Remove.
8679 * gdb.base/relocate.exp: Likewise.
8680 * gdb.base/shreloc.exp: Likewise.
8681 * lib/gdb.exp (get_var_address): New.
8682
62df7e21
YQ
86832016-10-13 Yao Qi <yao.qi@linaro.org>
8684
8685 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8686 floating point tests if $skip_float_test is false.
8687
4dac951e
LM
86882016-10-12 Luis Machado <lgustavo@codesourcery.com>
8689
8690 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8691 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8692 argc values.
8693 Add 1 to argc so we guarantee distinct initial/modified argc values.
8694
8f1a8fc4
JK
86952016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8696
8697 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8698
16c85b5d
JK
86992016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8700
8701 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8702 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8703 * gdb.arch/vsx-regs.exp: Likewise.
8704
1d0e042a
YQ
87052016-10-07 Yao Qi <yao.qi@linaro.org>
8706
8707 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8708
68dadef5
MM
87092016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8710
8711 * gdb.python/python.exp: Test decode_line("*0").
8712
33fa2c6e
DE
87132016-10-06 Doug Evans <dje@google.com>
8714
8715 * gdb.python/py-value.exp (test_value_creation): Add test for large
8716 unsigned 64-bit value.
8717
9c37b5ae
TT
87182016-10-06 Tom Tromey <tom@tromey.com>
8719
8720 * gdb.compile/compile.exp: Change java tests to rust.
8721 * gdb.base/setshow.exp: Change java tests to rust.
8722 * gdb.base/default.exp: Remove java from language list.
8723 * README (Examples): Update language example.
8724 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8725 test.
8726 * lib/gdb.exp (skip_java_tests): Remove.
8727 * lib/java.exp: Remove.
8728 * gdb.java: Remove.
8729
78b86327
MR
87302016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8731
8732 * gdb.arch/mips-fcr.exp: New test.
8733 * gdb.arch/mips-fcr.c: Source for the new test.
8734
7470adbb
MR
87352016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8736
8737 * gdb.base/solib-disc.exp: Use `standard_output_file'
8738 throughout.
8739
4a556533
PA
87402016-10-06 Pedro Alves <palves@redhat.com>
8741
8742 * gdb.base/jit-simple-dl.c: New file.
8743 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8744 * gdb.base/jit-simple.c: ... this.
8745 * gdb.base/jit-simple.exp (jit_run): Delete.
8746 (build_jit): New proc.
8747 (jit_test_reread): Recompile either the main program or the shared
8748 library, depending on what is being tested. Skip changing address
8749 if caller wants to. Compare before/after addresses. If testing
8750 standalone, explicitly load the binary. Test "maint info
8751 breakpoints".
8752 (top level): Add "standalone vs shared lib" and "change address"
8753 vs "same address" axes.
8754
5a122fbc
PA
87552016-10-06 Pedro Alves <palves@redhat.com>
8756
8757 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8758 call.
8759 (jit_run): Delete.
8760 (jit_test_reread): Use with_test_prefix. Reload the main binary
8761 explicitly. Compare the before/after addresses of the JIT
8762 descriptor.
8763
ee8da4b8
DE
87642016-08-15 Doug Evans <dje@google.com>
8765
8766 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8767 for single bitfields is bool.
8768 * gdb.xml/tdesc-regs.exp: Ditto.
8769
f389f6fe
JK
87702016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8771
8772 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8773
fdebf1a4
YQ
87742016-10-05 Yao Qi <yao.qi@linaro.org>
8775
8776 * lib/gdb.exp (support_complex_tests): Return zero if
8777 gdb_skip_float_test return true.
8778
9c36d954 87792016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 8780 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
8781
8782 PR gdb/20487
8783 * gdb.mi/user-selected-context-sync.exp: New file.
8784 * gdb.mi/user-selected-context-sync.c: New file.
8785
4034d0ff 87862016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 8787 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
8788
8789 PR gdb/20487
8790 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8791 =thread-select-event check.
8792
a4297203
PB
87932016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8794
8795 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8796 the compulsory L operand changes.
8797 * gdb.arch/powerpc-power.s: Likewise.
8798
bb805577
JK
87992016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8800
8801 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8802 * gdb.base/jit-attach-pie.c: New file.
8803 * gdb.base/jit-attach-pie.exp: New file.
8804
6d61dee5
PA
88052016-09-28 Pedro Alves <palves@redhat.com>
8806
8807 * gdb.base/infcall-input.c: New file.
8808 * gdb.base/infcall-input.exp: New file.
8809
f73842fc
YQ
88102016-09-22 Yao Qi <yao.qi@linaro.org>
8811
8812 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8813 (gdb_exit): Rename it to ...
8814 (gdbserver_gdb_exit): ... Close GDBserver.
8815 (gdb_exit): New proc, call gdbserver_gdb_exit.
8816 (mi_gdb_exit): Likewise.
8817
90681dab
YQ
88182016-09-22 Yao Qi <yao.qi@linaro.org>
8819
8820 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8821 path.
8822 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8823 Remove duplication.
8824
9c211fd8
YQ
88252016-09-22 Yao Qi <yao.qi@linaro.org>
8826
8827 * lib/gdbserver-support.exp: Check the existence of
8828 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8829
ad0a504f
AK
88302016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8831
8832 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8833
36cf1806
TT
88342016-09-21 Tom Tromey <tom@tromey.com>
8835
8836 PR gdb/20604:
8837 * gdb.base/quit.exp: New file.
8838
74172ecf
SM
88392016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8840
8841 * .gitignore: New file.
8842
3d0ec882
MR
88432016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8844
8845 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8846 throughout.
8847
8193adea
AA
88482016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8849
8850 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8851
d41a5c09
JK
88522016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8853
8854 * gdb.cp/casts.cc (decltype): Move it ...
8855 (main): ... with its call to ...
8856 * gdb.cp/casts03.cc: ... a new file.
8857 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8858
d2dfe700
JK
88592016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8860
8861 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8862
e2a92b16
PB
88632016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8864
8865 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8866 and sync up the test with tests in gas/testsuite/gas/ppc.
8867 * gdb.arch/powerpc-power.exp: Likewise.
8868
49b4de64
JK
88692016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8870
8871 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8872
2c29df25
SDJ
88732016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8874 Jan Kratochvil <jan.kratochvil@redhat.com>
8875
8876 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8877 make m1's definition to be different from m2's. Use 'dummy' as an
8878 argument for probe 'two'.
8879
cc3c2846
JB
88802016-09-10 Jon Beniston <jon@beniston.com>
8881
8882 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8883 for sim target.
8884
e1b2624a
AA
88852016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8886
8887 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8888 variable declaration.
8889 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8890 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8891 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8892 received HWCAP as its argument.
8893
4295e285
PA
88942016-09-06 Pedro Alves <palves@redhat.com>
8895
8896 * gdb.base/new-ui-pending-input.c: New file.
8897 * gdb.base/new-ui-pending-input.exp: New file.
8898 * gdb.exp (clear_gdb_spawn_id): New procedure.
8899 (with_spawn_id): Check whether gdb_spawn_id exists before
8900 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8901 on exit.
8902
00d5215e
UW
89032016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8904
8905 * gdb.base/float128.c: New file.
8906 * gdb.base/float128.exp: Likewise.
8907 * gdb.base/floatn.c: Likewise.
8908 * gdb.base/floatn.exp: Likewise.
8909
a9ff5f12
UW
89102016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8911
8912 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8913
f245535c
PA
89142016-09-05 Pedro Alves <palves@redhat.com>
8915
8916 PR backtrace/19927
8917 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8918 unwinders are immediately called as side effect of "source" or
8919 "disable unwinder" commands.
8920 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8921
ae9cf263
YQ
89222016-09-02 Yao Qi <yao.qi@linaro.org>
8923
8924 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8925 is true and $type is "float" or "double".
8926
27aba047
YQ
89272016-09-02 Yao Qi <yao.qi@linaro.org>
8928
8929 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8930 true.
8931 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8932 * gdb.base/call-rt-st.exp: Likewise.
8933 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8934 return value instead of gdb,skip_float_test.
8935 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8936 (do_function_calls): Use its return value instead of
8937 gdb,skip_float_test.
8938 * gdb.base/finish.exp: Likewise.
8939 * gdb.base/funcargs.exp: Likewise.
8940 * gdb.base/return.exp: Likewise.
8941 * gdb.base/return2.exp: Likewise.
8942 * gdb.base/varargs.exp: Likewise.
8943 * lib/gdb.exp (gdb_skip_float_test): Change it to
8944 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8945
5af962df
AA
89462016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8947
8948 * gdb.multi/tids.exp: Test "thread apply all".
8949
7fac6910
JK
89502016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8951
8952 * gdb.base/default.exp (tty): Remove.
8953
bb1fe4ac
KB
89542016-08-24 Kevin Buettner <kevinb@redhat.com>
8955
2806dc7e
PA
8956 * gdb.python/py-recurse-unwind.c: New file.
8957 * gdb.python/py-recurse-unwind.py: New file.
8958 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 8959
0a1ddfa6
SM
89602016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8961
8962 * gdb.base/set-inferior-tty.exp: New file.
8963 * gdb.base/set-inferior-tty.c: New file.
8964
d9de1fe3
PA
89652016-08-23 Pedro Alves <palves@redhat.com>
8966
8967 PR gdb/20494
8968 * gdb.base/new-ui-echo.c: New file.
8969 * gdb.base/new-ui-echo.exp: New file.
8970
e9d9abd7
YQ
89712016-08-23 Yao Qi <yao.qi@linaro.org>
8972
8973 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8974 gdbserver_spawn.
8975 * gdb.server/connect-without-multi-process.exp (do_test):
8976 Likewise.
8977
3589529e
YQ
89782016-08-23 Yao Qi <yao.qi@linaro.org>
8979
8980 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8981 standalone_txt. Delete gdb_txt and standalone_txt on host
8982 and target. Spawn the binary on target. Copy files from
8983 target to host.
8984
6bb90213
PA
89852016-08-22 Pedro Alves <palves@redhat.com>
8986
8987 PR gdb/20505
8988 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8989 with_test_prefix. Factor out bits to ...
8990 (test_no_vdso): ... this new procedure.
8991
20c2c024
CL
89922016-08-19 Carl Love <cel@us.ibm.com>
8993
8994 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8995 maintaining separate logic for constructing the output path.
8996 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8997 * gdb.arch/ppc-dfp.exp: Likewise.
8998 * gdb.arch/ppc-fp.exp: Likewise.
8999 * gdb.arch/vsx-regs.exp: Likewise.
9000 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9001 binprefix for generating the additional binary files.
9002
0646e07d
PA
90032016-08-19 Pedro Alves <palves@redhat.com>
9004
9005 * gdb.trace/mi-trace-frame-collected.exp
9006 (test_trace_frame_collected): On x32, expect two registers.
9007
46da9242
CL
90082016-08-18 Carl Love <cel@us.ibm.com>
9009
9010 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9011 and sync up the test with tests in gas/testsuite/gas/ppc.
9012 * gdb.arch/powerpc-power.exp: Likewise.
9013
eb2332d7
SM
90142016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9015
9016 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9017 expected error message.
9018
63c61e04
SM
90192016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9020
9021 * gdb.multi/remove-inferiors.exp: New file.
9022 * gdb.multi/remove-inferiors.c: New file.
9023
7b17065f
YQ
90242016-08-12 Yao Qi <yao.qi@linaro.org>
9025
9026 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9027 argument list.
9028
01d3dedf
PA
90292016-08-10 Pedro Alves <palves@redhat.com>
9030
9031 PR gdb/19187
9032 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9033 setup_kfails.
9034
3eb7562a
PA
90352016-08-09 Pedro Alves <palves@redhat.com>
9036 Simon Marchi <simon.marchi@ericsson.com>
9037
9038 PR gdb/20418
9039 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9040 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9041
80614914
PA
90422016-08-09 Pedro Alves <palves@redhat.com>
9043
9044 PR mi/20431
9045 * gdb.mi/mi-cmd-error.exp: New file.
9046
f348d89a
PA
90472016-08-09 Pedro Alves <palves@redhat.com>
9048
9049 PR gdb/18653
9050 * gdb.base/signals-state-child.c: New file.
9051 * gdb.base/signals-state-child.exp: New file.
9052 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9053
e5ca03b4
PA
90542016-08-09 Pedro Alves <palves@redhat.com>
9055
9056 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9057
282a0691
TT
90582016-08-03 Tom Tromey <tom@tromey.com>
9059
9060 PR python/18565:
9061 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9062
41bfcd63
YQ
90632016-08-01 Yao Qi <yao.qi@linaro.org>
9064
9065 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9066 variable mode to "multi-process" if $multi_process is 1, otherwise
9067 set it to "single-process".
9068
e3465b24
YQ
90692016-08-01 Yao Qi <yao.qi@linaro.org>
9070
9071 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9072 * gdb.cp/cpexprs.exp: Likewise.
9073 * gdb.cp/m-static.exp: Likewise.
9074
0b31a4bc
TT
90752016-07-26 Tom Tromey <tom@tromey.com>
9076
9077 PR python/20190:
9078 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9079 test.
9080
e0461dbb
MM
90812016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9082
9083 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9084 selecting assembly source files.
9085 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9086 assembly source files.
9087 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9088 assembly source files.
9089 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9090 selecting assembly source files.
9091
8194e927
SM
90922016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9093
9094 * gdb.base/new-ui.exp (do_test_invalid_args): New
9095 procedure.
9096
c0272db5
TW
90972016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9098
9099 * gdb.btrace/reconnect.c: New file.
9100 * gdb.btrace/reconnect.exp: New file.
9101
e3487908
GKB
91022016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9103
9104 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9105 to test_catch_syscall_group.
9106 (test_catch_syscall_group): New.
9107
12df5c00
TT
91082016-07-21 Tom Tromey <tom@tromey.com>
9109
9110 * gdb.rust/simple.rs (main): Use empty struct expression.
9111 * gdb.rust/simple.exp: Add tests for empty struct expression.
9112
bae62ee2
YQ
91132016-07-21 Yao Qi <yao.qi@linaro.org>
9114
9115 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9116 if gdb_skip_xml_test is true on some targets.
9117
b1b53fb3
YQ
91182016-07-21 Yao Qi <yao.qi@linaro.org>
9119
9120 * gdb.server/solib-list.exp: Unset last_loaded_file.
9121
027d97f8
JK
91222016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9123
9124 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9125 "step into captured_main (args)".
9126
7674d381
JK
91272016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9128
9129 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9130
72b5d099
JK
91312016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9132
9133 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9134
1f960ced
PA
91352016-07-19 Pedro Alves <palves@redhat.com>
9136
9137 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9138 * gdb.opt/inline-bt.exp: Likewise.
9139 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9140 additional_flags=-Winline.
9141 * gdb.opt/inline-locals.exp: Likewise.
9142 * gdb.opt/inline-markers.c (ATTR): Define.
9143 (inlined_fn): Use it.
9144
f25827c1
YQ
91452016-07-19 Yao Qi <yao.qi@linaro.org>
9146
9147 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9148 (test_with_self): Remove some code. Remove argument executable.
9149 (top-level): Use do_self_tests.
9150
37539ebe
DB
91512016-07-15 Zachary Welch <zwelch@codesourcery.com>
9152 Don Breazeal <donb@codesourcery.com>
9153
9154 * gdb.base/maint.exp: Escape paths used in regular expressions.
9155 * gdb.stabs/weird.exp: Likewise.
9156
dac790e1
TT
91572016-07-13 Tom Tromey <tom@tromey.com>
9158
9159 PR python/15620, PR python/18620:
9160 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9161 (test_bkpt_events): New procs.
9162
93daf339
TT
91632016-07-13 Tom Tromey <tom@tromey.com>
9164
9165 PR python/17698:
9166 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9167 test.
9168 (test_watchpoints): Likewise.
9169 (test_bkpt_pending): New proc.
9170
6571a381
TT
91712016-07-13 Tom Tromey <tom@tromey.com>
9172
9173 PR cli/18053:
9174 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9175 completion test.
9176
e8732474
JK
91772016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9178
9179 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9180 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9181 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9182 f_label.
9183 (g): Rename g_end_lbl to g_label.
9184 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9185 low_pc and high_pc.
9186 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9187
e0f3fd7c
TT
91882016-07-12 Tom Tromey <tom@tromey.com>
9189
9190 PR python/19293:
9191 * gdb.python/py-unwind-maint.exp: Update tests.
9192
3cfe46b6
YQ
91932016-07-12 Yao Qi <yao.qi@linaro.org>
9194
9195 * lib/selftest-support.exp (selftest_setup): Match the output
9196 when captured_main is inlined.
9197
4f19a0e6
WT
91982016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9199
9200 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9201 New variables.
9202 (print this%a, print this%b, print this): New tests.
9203 * gdb.fortran/derived-types.f90 (this): New object and
9204 initialization.
9205
986cf455
SM
92062016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9207
9208 * gdb.ada/arraydim.exp: Remove extra directory level in build
9209 directory.
9210
f0464b23
SM
92112016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9212
9213 * lib/ada.exp: Remove extra directory level in build directory.
9214 * gdb.ada/cond_lang.exp: Likewise.
9215 * gdb.ada/exec_changed.exp: Likewise.
9216 * gdb.ada/lang_switch.exp: Likewise.
9217
42d94011
MG
92182016-07-06 Manish Goregaokar <manish@mozilla.com>
9219
2806dc7e
PA
9220 * simple.rs: Add test for raw pointer subscripting.
9221 * simple.exp: Add test expectations.
42d94011 9222
647c264c
YQ
92232016-07-05 Yao Qi <yao.qi@linaro.org>
9224
9225 * gdb.mi/mi-reverse.exp: Match =record-started output.
9226
20aa2c60
PA
92272016-07-01 Pedro Alves <palves@redhat.com>
9228
9229 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9230 procedure.
9231 (jit_reader_test): Test the jit reader's unwinder.
9232 * gdb.base/jithost.c (jit_function_00_code): New global.
9233 (main): Use memcpy to fill in the mmapped code, instead of poking
9234 bytes manually here.
9235 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9236 value.
9237 (read_debug_info): Save the function's range.
9238 (read_sp): New function.
9239 (unwind_frame): Use it. Also unwind RBP.
9240 (get_frame_id): Use read_sp.
9241 (gdb_init_reader): Use calloc instead of malloc.
9242 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9243 parameter. Use gdb_test_multiple.
9244
ced2dffb
PA
92452016-07-01 Pedro Alves <palves@redhat.com>
9246 Antoine Tremblay <antoine.tremblay@ericsson.com>
9247
9248 * gdb.threads/process-dies-while-detaching.c: New file.
9249 * gdb.threads/process-dies-while-detaching.exp: New file.
9250
63000888
PA
92512016-07-01 Pedro Alves <palves@redhat.com>
9252
9253 * gdb.multi/watchpoint-multi-exit.c: New file.
9254 * gdb.multi/watchpoint-multi-exit.exp: New file.
9255
038d4868
PA
92562016-06-30 Pedro Alves <palves@redhat.com>
9257
9258 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9259 unset inferior_spawn_id.
9260
994e9c83
PA
92612016-06-30 Pedro Alves <palves@redhat.com>
9262
9263 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9264 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9265
e5653468
YQ
92662016-06-29 Yao Qi <yao.qi@linaro.org>
9267
9268 * gdb.base/return.c: Add copyright header.
9269
803b47e5
TT
92702016-06-29 Tom Tromey <tom@tromey.com>
9271
9272 PR python/20129:
9273 * gdb.python/py-framefilter.exp: Add tests for setting priority
9274 and disabling of non-existent frame filter.
9275
28244707
YQ
92762016-06-29 Yao Qi <yao.qi@linaro.org>
9277
9278 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9279 0x0f07ff.
9280
a31d2f06
YQ
92812016-06-28 Yao Qi <yao.qi@linaro.org>
9282
9283 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9284 triplets. Start gdb, execute catch syscall, and continue. Check
9285 gdb's output to determine catch syscall is supported.
9286
921d8f54
MG
92872016-06-27 Manish Goregaokar <manish@mozilla.com>
9288
25d49b86
PA
9289 * gdb.rust/simple.rs: Add test for returning unit in a function.
9290 * gdb.rust/simple.exp: Add expectation for functions returning
9291 unit.
921d8f54 9292
f4952523
PMR
92932016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9294
9295 * gdb.python/py-breakpoint-create-fail.c,
9296 gdb.python/py-breakpoint-create-fail.exp,
9297 gdb.python/py-breakpoint-create-fail.py: New testcase.
9298
fccb08f8
MG
92992016-06-25 Manish Goregaokar <manish@mozilla.com>
9300
9301 PR gdb/20239
9302 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
9303 * gdb.rust/simple.exp: Add test expectations for new NonZero
9304 tests.
fccb08f8 9305
6b850546
DT
93062016-06-24 David Taylor <dtaylor@emc.com>
9307
9308 * gdb.base/offsets.exp: New file.
9309 * gdb.base/offsets.c: New file.
9310
17621150
TT
93112016-06-23 Tom Tromey <tom@tromey.com>
9312
9313 PR gdb/16483:
9314 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9315 before any filters are loaded.
9316
04d59df6
WT
93172016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9318
9319 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9320 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9321 structs.
9322 * gdb.fortran/derived-type-function.exp: New file.
9323 * gdb.fortran/derived-type-function.f90: New file.
9324
9325
ac69f786
PA
93262016-06-21 Pedro Alves <palves@redhat.com>
9327
9328 * gdb.base/new-ui.exp: New file.
9329 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9330 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9331 (with_spawn_id): New procedure.
9332
49940788
PA
93332016-06-21 Pedro Alves <palves@redhat.com>
9334
9335 * gdb.mi/mi-exec-run.exp: New file.
9336
ef274d26
PA
93372016-06-21 Pedro Alves <palves@redhat.com>
9338
9339 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9340 breakpoint command's output on the main UI.
9341 (test_break): New procedure, factored out from calls in the top
9342 level.
9343 (top level): Use foreach_with_prefix to test MI as main UI and as
9344 separate UI.
9345
468afe6c
PA
93462016-06-21 Pedro Alves <palves@redhat.com>
9347
9348 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9349 (test_awatch_creation_and_listing)
9350 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9351 Remove 'type' parameter.
9352 (test_watchpoint_all): New parameter mi_mode. Remove
9353 with_test_prefix.
9354 (top level): Use foreach_with_prefix, and add main/separate UI MI
9355 testing axis.
9356
51f77c37
PA
93572016-06-21 Pedro Alves <palves@redhat.com>
9358
9359 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9360 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9361 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9362 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9363 (gdb_main_spawn_id, mi_spawn_id): Declare and
9364 comment.
9365 (mi_create_inferior_pty): New procedure,
9366 factored out from default_mi_gdb_start.
9367 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9368 procedures.
9369 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9370 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9371 Use mi_create_inferior_pty.
9372 (mi_gdb_start): Use eval to pass down args list.
9373
8980e177
PA
93742016-06-21 Pedro Alves <palves@redhat.com>
9375
9376 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9377 * gdb.opt/inline-cmds.exp: Add MI tests.
9378
f38d3ad1
PA
93792016-06-21 Pedro Alves <palves@redhat.com>
9380
9381 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9382
45db7c09
PA
93832016-06-21 Pedro Alves <palves@redhat.com>
9384
9385 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9386 (top level): Use it instead of mi_execute_to.
9387
5a069ab3
PA
93882016-06-21 Pedro Alves <palves@redhat.com>
9389
9390 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9391 (cont_handler_str): New.
9392 (signal_stop_handler): Set stop_handler_str instead of printing to
9393 stdout.
9394 (continue_handler): Set cont_handler_str instead of printing to
9395 stdout.
9396 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9397 mi_send_resuming_command. Print stop_handler_str and
9398 cont_handler_str instead of expecting the python events print
9399 directly.
9400
2838cc1d
SD
94012016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9402
9403 * gdb.base/jit-reader.exp: New file.
9404 * gdb.base/jithost.c: New file.
9405 * gdb.base/jithost.h: New file.
9406 * gdb.base/jitreader.c : New file.
9407 * gdb.base/jit-protocol.h: New file.
9408
21a77091
YQ
94092016-06-17 Yao Qi <yao.qi@linaro.org>
9410
9411 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9412 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9413 and detach-on-fork. Adjust tests.
9414 (top level): Invoke break_cond_on_syscall with combinations of
9415 syscall, follow-fork-mode and detach-on-fork.
9416
f50bf8e5
YQ
94172016-06-17 Yao Qi <yao.qi@linaro.org>
9418
9419 * gdb.base/step-over-exit.c: New.
9420 * gdb.base/step-over-exit.exp: New.
9421
a28d8e50
YTL
94222016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9423
9424 * gdb.base/float.exp: Add target check for nds32*-*-*.
9425 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9426
cad8e26d
AB
94272016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9428
9429 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9430 for unsupported target features.
9431 * gdb.base/call-rt-st.exp: Likewise.
9432 * gdb.base/call-sc.exp: Likewise.
9433 * gdb.base/call-signal-resume.exp: Likewise.
9434 * gdb.base/call-strs.exp: Likewise.
9435 * gdb.base/callexit.exp: Likewise.
9436 * gdb.base/callfuncs.exp: Likewise.
9437 * gdb.base/nodebug.exp: Likewise.
9438 * gdb.base/printcmds.exp: Likewise.
9439 * gdb.base/ptype.exp: Likewise.
9440 * gdb.base/structs.exp: Likewise.
9441 * gdb.base/unwindonsignal.exp: Likewise.
9442 * gdb.cp/gdb2495.exp: Likewise.
9443 * gdb.cp/templates.exp: Likewise.
9444 * gdb.cp/virtfunc.exp: Likewise.
9445 * gdb.threads/hand-call-in-threads.exp: Likewise.
9446 * gdb.threads/interrupted-hand-call.exp: Likewise.
9447 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9448
347dc102
TT
94492016-06-10 Tom Tromey <tom@tromey.com>
9450
9451 PR rust/20110:
9452 * gdb.rust/expr.exp: Add test for integer constant larger than
9453 i32.
9454
5e13cf25
BH
94552016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9456
9457 * gdb.fortran/nested-funcs.exp: New.
9458 * gdb.fortran/nested-funcs.f90: New.
9459
bb556f1f
TK
94602016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9461
9462 * gdb.base/examine-backward.c: New file.
9463 * gdb.base/examine-backward.exp: New file.
9464
38b022b4
SM
94652016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9466
9467 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9468 matching.
9469
1b40ec05
TT
94702016-06-02 Tom Tromey <tom@tromey.com>
9471
9472 PR python/18984:
9473 * gdb.python/py-shared.exp: Add solib_name test.
9474
193bd378
SM
94752016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9476
9477 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9478
3326303b
MG
94792016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9480
9481 PR c++/19893
9482 * gdb.dwarf2/implref.exp: Rename to...
9483 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9484 * gdb.dwarf2/implref-array.c: New file.
9485 * gdb.dwarf2/implref-array.exp: Likewise.
9486 * gdb.dwarf2/implref-global.c: Likewise.
9487 * gdb.dwarf2/implref-global.exp: Likewise.
9488 * gdb.dwarf2/implref-struct.c: Likewise.
9489 * gdb.dwarf2/implref-struct.exp: Likewise.
9490
825c8ef2
AT
94912016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9492
9493 * gdb.trace/trace-condition.exp: Add 64bit tests.
9494
2320162a
AT
94952016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9496
9497 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9498 bits types.
9499 (main): Adapt to 8 to 64 bits types.
9500 * gdb.trace/trace-condition.exp: Add new tests.
9501
a7818233
AT
95022016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9503
9504 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9505
0d336466
AT
95062016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9507
9508 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9509 Move condition tests...
9510 * gdb.trace/trace-condition.exp: Here.
9511
7faeb45a
AT
95122016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9513
9514 * gdb.trace/trace-condition.exp: Add counter-case tests.
9515
e385593e
JK
95162016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9517
9518 PR c++/15231
9519 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9520 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9521
744608cc
PA
95222016-05-27 Pedro Alves <palves@redhat.com>
9523
9524 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9525 New procedure.
9526 (top level): Call it, and bail out of DejaGnu is known to be bad.
9527
ac775bf4
AB
95282016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9529
9530 * gdb.base/whatis.c: Extend the test case.
9531 * gdb.base/whatis.exp: Add additional tests.
9532
2bbad2ea
BH
95332016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9534
9535* gdb.fortran/type.f90: Add pointer variable.
9536* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9537
8b70175d
BH
95382016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9539
9540 * gdb.fortran/vla-type.exp: Fix testcase name.
9541
86d8a848
BH
95422016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9543
9544 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9545
e188eb36
BH
95462016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9547
9548 * gdb.fortran/type.f90: Add nested structures.
9549 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9550 * gdb.fortran/derived-type.exp: Adapt expected output.
9551 * gdb.fortran/vla-type.exp: Adapt expected output.
9552
9b2db1fd
BH
95532016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9554
9555 * gdb.fortran/whatis_type.exp: Adapt expected output.
9556
72b17055
BH
95572016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9558
9559 * gdb.fortran/print_type.exp: Fix expected output.
9560 * gdb.fortran/whatis_type.exp: Fix expected output.
9561
3cd81d8d
BH
95622016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9563
9564 * gdb.fortran/whatis_type.exp: Use multi_line.
9565
ddae9462
TT
95662016-05-24 Tom Tromey <tom@tromey.com>
9567
9568 PR python/17386:
9569 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9570 use value as an index.
9571
1957f6b8
TT
95722016-05-23 Tom Tromey <tom@tromey.com>
9573
9574 PR python/17981:
9575 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9576 no-breakpoint case.
9577
026a9174
PA
95782016-05-24 Pedro Alves <palves@redhat.com>
9579
9580 PR gdb/19828
9581 * gdb.threads/clone-attach-detach.c: New file.
9582 * gdb.threads/clone-attach-detach.exp: New file.
9583
e70a7231
FR
95842016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9585
9586 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9587
0f6ed0e0
TT
95882016-05-23 Tom Tromey <tom@tromey.com>
9589
9590 PR python/19438, PR python/18393:
9591 * gdb.python/py-progspace.exp: Add "dir" test.
9592 * gdb.python/py-objfile.exp: Add "dir" test.
9593
ffd19d61
YQ
95942016-05-23 Yao Qi <yao.qi@linaro.org>
9595
9596 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9597 * gdb.arch/thumb2-it.exp: Likewise.
9598
9e8f9b05
SM
95992016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9600
9601 * gdb.mi/mi-threads-interrupt.c: New file.
9602 * gdb.mi/mi-threads-interrupt.exp: New file.
9603
61c6156d
SM
96042016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9605
9606 PR gdb/18077
9607 * gdb.mi/mi-async-run.exp: New file.
9608 * gdb.mi/mi-async-run.c: New file.
9609
67218854
TT
96102016-05-17 Tom Tromey <tom@tromey.com>
9611 Manish Goregaokar <manishsmail@gmail.com>
9612
9613 * lib/rust-support.exp: New file.
9614 * lib/gdb.exp (skip_rust_tests): New proc.
9615 (build_executable_from_specs): Handle rust.
9616 * lib/future.exp (gdb_find_rustc): New proc.
9617 (gdb_default_target_compile): Handle rust.
9618 * gdb.rust/expr.exp: New file.
9619 * gdb.rust/generics.exp: New file.
9620 * gdb.rust/generics.rs: New file.
9621 * gdb.rust/methods.exp: New file.
9622 * gdb.rust/methods.rs: New file.
9623 * gdb.rust/modules.exp: New file.
9624 * gdb.rust/modules.rs: New file.
9625 * gdb.rust/simple.exp: New file.
9626 * gdb.rust/simple.rs: New file.
9627
c44af4eb
TT
96282016-05-17 Tom Tromey <tom@tromey.com>
9629
9630 * gdb.base/default.exp (set language): Add rust.
9631
dcd1f979
TT
96322016-05-17 Tom Tromey <tom@tromey.com>
9633
9634 * gdb.gdb/unittest.exp: New file.
9635
155b7f57
YQ
96362016-05-16 Yao Qi <yao.qi@linaro.org>
9637
9638 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9639 shell_prompt. Update shell_prompt_re.
9640
8ddd5a6c
DE
96412016-05-12 Doug Evans <dje@google.com>
9642
9643 PR symtab/19999
9644 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9645 $options when building executable.
9646 * gdb.dwarf2/fission-loclists-pie.S: New file.
9647 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9648
02e370d9
SM
96492016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9650
9651 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9652 of [is_remote target],
9653
8929ad8b
SM
96542016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9655
9656 * lib/gdb.exp (use_gdb_stub): New procedure.
9657
6c447423
DE
96582016-05-03 Yunlian Jiang <yunlian@google.com>
9659 Doug Evans <dje@google.com>
9660
9661 PR symtab/19914
9662 * gdb.dwarf2/dwp-sepdebug.c: New file.
9663 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9664
444e826c
SM
96652016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9666
9667 * gdb.base/detach.exp: Remove is_remote check.
9668
740feeaa
SM
96692016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9670
9671 * gdb.base/annota-input-while-running.exp: Don't check for
9672 [is_remote target]. Enable annotations after running to main.
9673 Remove unused "set test..." line.
9674
9080ac9d
SM
96752016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9676
9677 * gdb.trace/trace-enable-disable.exp: New file.
9678 * gdb.trace/trace-enable-disable.c: New file.
9679
952ebca5
SM
96802016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9681
9682 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9683 use it in info sharedlibrary test.
9684 * gdb.trace/ftrace-lock.exp: Likewise.
9685 * gdb.trace/ftrace.exp: Likewise.
9686 * gdb.trace/range-stepping.exp: Likewise.
9687 * gdb.trace/trace-break.exp: Likewise.
9688 * gdb.trace/trace-condition.exp: Likewise.
9689 * gdb.trace/trace-mt.exp: Likewise.
9690
d9019901
SM
96912016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9692
9693 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9694 (gdb_load_shlib): ... this.
9695 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9696 gdb_load_shlib.
9697 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9698 * gdb.base/ctxobj.exp: Likewise.
9699 * gdb.base/dprintf-pending.exp: Likewise.
9700 * gdb.base/dso2dso.exp: Likewise.
9701 * gdb.base/fixsection.exp: Likewise.
9702 * gdb.base/gcore-relro.exp: Likewise.
9703 * gdb.base/gdb1555.exp: Likewise.
9704 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9705 * gdb.base/gnu-ifunc.exp: Likewise.
9706 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9707 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9708 * gdb.base/pending.exp: Likewise.
9709 * gdb.base/print-file-var.exp: Likewise.
9710 * gdb.base/print-symbol-loading.exp: Likewise.
9711 * gdb.base/shlib-call.exp: Likewise.
9712 * gdb.base/shreloc.exp: Likewise.
9713 * gdb.base/so-impl-ld.exp: Likewise.
9714 * gdb.base/solib-disc.exp: Likewise.
9715 * gdb.base/solib-nodir.exp: Likewise.
9716 * gdb.base/solib-overlap.exp: Likewise.
9717 * gdb.base/solib-symbol.exp: Likewise.
9718 * gdb.base/solib-weak.exp (do_test): Likewise.
9719 * gdb.base/sym-file.exp: Likewise.
9720 * gdb.base/symtab-search-order.exp: Likewise.
9721 * gdb.base/type-opaque.exp: Likewise.
9722 * gdb.base/unload.exp: Likewise.
9723 * gdb.base/watchpoint-solib.exp: Likewise.
9724 * gdb.compile/compile.exp: Likewise.
9725 * gdb.cp/gdb2384.exp: Likewise.
9726 * gdb.cp/infcall-dlopen.exp: Likewise.
9727 * gdb.cp/re-set-overloaded.exp: Likewise.
9728 * gdb.fortran/library-module.exp: Likewise.
9729 * gdb.opt/solib-intra-step.exp: Likewise.
9730 * gdb.python/py-finish-breakpoint.exp: Likewise.
9731 * gdb.python/py-shared.exp: Likewise.
9732 * gdb.reverse/solib-precsave.exp: Likewise.
9733 * gdb.reverse/solib-reverse.exp: Likewise.
9734 * gdb.server/solib-list.exp: Likewise.
9735 * gdb.threads/dlopen-libpthread.exp: Likewise.
9736 * gdb.threads/tls-shared.exp: Likewise.
9737 * gdb.threads/tls-so_extern.exp: Likewise.
9738 * gdb.trace/change-loc.exp: Likewise.
9739 * gdb.trace/ftrace-lock.exp: Likewise.
9740 * gdb.trace/ftrace.exp: Likewise.
9741 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9742 * gdb.trace/pending.exp: Likewise.
9743 * gdb.trace/range-stepping.exp: Likewise.
9744 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9745 (strace_info_marker): Likewise.
9746 (strace_probe_marker): Likewise.
9747 (strace_trace_on_same_addr): Likewise.
9748 (strace_trace_on_diff_addr): Likewise.
9749 * gdb.trace/trace-break.exp: Likewise.
9750 * gdb.trace/trace-condition.exp: Likewise.
9751 * gdb.trace/trace-mt.exp: Likewise.
9752
fca4cfd9
SM
97532016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9754
9755 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9756 result of gdb_remote_download.
9757 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9758 * gdb.base/dso2dso.exp: Likewise.
9759 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9760 * gdb.base/print-file-var.exp: Likewise.
9761 * gdb.base/shlib-call.exp: Likewise.
9762 * gdb.base/shreloc.exp: Likewise.
9763 * gdb.base/solib-overlap.exp: Likewise.
9764 * gdb.base/solib-weak.exp (do_test): Likewise.
9765 * gdb.base/unload.exp: Likewise.
9766
11cf4ffb
YQ
97672016-04-27 Yao Qi <yao.qi@linaro.org>
9768
9769 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9770 exists.
9771
3e2e34f8
KB
97722016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9773
9774 * vla-type.exp: Print structure from toplevel.
9775
8f07e298
BH
97762016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9777
9778 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9779 of dynamic types.
9780 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9781 of dynamic types.
9782
9920b434
BH
97832016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9784
9785 * gdb.fortran/vla-type.f90: New file.
9786 * gdb.fortran/vla-type.exp: New file.
9787
f3abeff5
YQ
97882016-04-25 Yao Qi <yao.qi@linaro.org>
9789
9790 * gdb.base/branch-to-self.c: New file.
9791 * gdb.base/branch-to-self.exp: New file.
9792
0a5d52f0
YQ
97932016-04-22 Yao Qi <yao.qi@linaro.org>
9794
9795 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9796 more after $hex.
9797
495346f6
YQ
97982016-04-22 Yao Qi <yao.qi@linaro.org>
9799
9800 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9801 * gdb.base/annota3.exp: Likewise.
9802
4a7e075c
YQ
98032016-04-22 Yao Qi <yao.qi@linaro.org>
9804
9805 * gdb.reverse/step-precsave.exp: Do one step and test program
9806 stops in "callee" and do multiple steps until program goes out
9807 of "callee".
9808 * gdb.reverse/step-reverse.exp: Likewise.
9809
5b061e98
YQ
98102016-04-22 Yao Qi <yao.qi@linaro.org>
9811
9812 * gdb.trace/signal.exp: Also pass if
9813 $tracepoint_hits($i) > $iterations.
9814
5c5dc57f
YQ
98152016-04-22 Yao Qi <yao.qi@linaro.org>
9816
9817 * gdb.trace/signal.c: New file.
9818 * gdb.trace/signal.exp: New file.
9819
a55411b9
DE
98202016-04-19 Doug Evans <xdje42@gmail.com>
9821
9822 * gdb.base/bad-file.exp: New file.
9823
a22df60a
MG
98242016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9825
9826 * gdb.dwarf2/implref.exp: New file.
9827
0c13f7e5
BH
98282016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9829
9830 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9831 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9832 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9833 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9834 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9835 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9836 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9837 * lib/fortran.exp (fortran_int4): New procedure.
9838 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9839 (fortran_logical4): Likewise.
9840
9b9b09e9
BH
98412016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9842
9843 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9844
a14d1f4d
BH
98452016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9846
9847 * lib/compiler.c: Add Intel specific preprocessor macros.
9848 * lib/compiler.cc: Likewise.
25d49b86 9849
7d49b1d0
LM
98502016-04-13 Luis Machado <lgustavo@codesourcery.com>
9851
9852 * gdb.server/connect-with-no-symbol-file.c: New file.
9853 * gdb.server/connect-with-no-symbol-file.exp: New file.
9854
8392fa22
SM
98552016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9856
9857 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9858
8c4c4aeb
SM
98592016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9860
9861 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9862 standard output directory.
9863
45e3745e
AT
98642016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9865
9866 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9867
e26b7e41
MM
98682016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9869
9870 * gdb.btrace/instruction_history.c (loop): Add declaration.
9871
8ce09462
AT
98722016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9873
9874 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9875
2e88a1ea
SM
98762016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9877
9878 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9879 parentheses to print.
9880 (continue_handler): Likewise.
9881
f48e22e3
SM
98822016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9883
9884 * gdb.server/solib-list.exp: Remove is_remote check.
9885 Pass shlib= to gdb_compile. Don't link shared library with
9886 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9887 Run binary filename through "readlink -f" on the target.
9888
096be756
PA
98892016-04-08 Pedro Alves <palves@redhat.com>
9890
9891 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9892 interpreter filename as argument to gdbserver_spawn.
9893 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9894 Return empty if $last_loaded_file does not exist.
9895
06500533
JK
98962016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9897
9898 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9899 * gdb.base/jit-main.c: Use exit after usage.
9900
2d35e871
JK
99012016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9902
9903 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9904 GDBHISTSIZE prior to the tests.
9905 * gdb.base/gdbinit-history.exp: Likewise.
9906
99072016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
9908
9909 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9910 instead of build_executable. Use gdb_load_shlibs.
9911
c8064e7e
YQ
99122016-04-07 Yao Qi <yao.qi@linaro.org>
9913
9914 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9915 Execute "si" command.
9916
bde47561
YQ
99172016-04-07 Yao Qi <yao.qi@linaro.org>
9918
9919 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9920 number instead of the comments on some line.
9921
b16f8a3b
DB
99222016-04-06 Don Breazeal <donb@codesourcery.com>
9923
9924 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9925 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9926
c2f901df
SM
99272016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9928
9929 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9930 standard_output_file. Remove unused binfile variable.
9931
ac17fda0
CU
99322016-04-05 Catalin Udma <catalin.udma@freescale.com>
9933
9934 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9935 * gdb.python/py-mi-objfile.exp: Match "list main" output
9936 in console format.
9937
03a8c4df
SM
99382016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9939
9940 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9941 absolute.
9942
6e774b13
SM
99432016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9944
9945 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9946 absolute.
9947 * gdb.trace/ftrace.exp: Likewise.
9948 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9949 targets as well.
9950 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9951 (gdb_load_shlibs): Copy libraries to test directory when testing
9952 natively. Only set solib-search-path if testing remotely.
9953 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9954
7817ea46
SM
99552016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9956
9957 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9958 gdb_download. Use it even if the target is not remote.
9959 * gdb.base/jit.exp (compile_jit_test): Likewise.
9960 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9961 output directory if the destination board is local, otherwise use
9962 the standard remote_download from DejaGnu.
9963 (gdb_download): Remove.
9964 (gdb_load_shlibs): Use gdb_remote_download instead of
9965 gdb_download.
9966 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9967 Use gdb_remote_download instead of gdb_download. Use it even if
9968 the target is not remote.
9969 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9970 instead of gdb_download.
9971
7beb7f68
SM
99722016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9973
9974 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9975 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9976 run.
9977
cc63428a
AV
99782016-04-01 Artemiy Volkov <artemiyv@acm.org>
9979
9980 PR gdb/19820
9981 * gdb.base/printcmds.exp: Add artificial arrays tests.
9982
64cdf930
PA
99832016-03-31 Pedro Alves <palves@redhat.com>
9984
9985 PR gdb/19858
9986 * gdb.base/jit-main.c: Include unistd.h.
9987 (ATTACH): Define to 0 if not already defined.
9988 (wait_for_gdb, mypid): New globals.
9989 (WAIT_FOR_GDB): New macro.
9990 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9991 some breakpoint locations.
9992 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9993 New procedures.
9994 (one_jit_test): Add REATTACH parameter, and handle it. Use
9995 continue_to_test_location.
9996 (top level): Test attach, and adjusts calls to one_jit_test.
9997
40dea8cb
PA
99982016-03-31 Pedro Alves <palves@redhat.com>
9999
10000 PR gdb/19858
10001 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10002 BINSUFFIX parameter, and handle it.
10003 (top level): Adjust calls compile_jit_test.
10004
e7ea3ec7
CU
100052016-03-31 Catalin Udma <catalin.udma@freescale.com>
10006
10007 PR python/19743
10008 * gdb.python/py-mi-events-gdb.py: New file.
10009 * gdb.python/py-mi-events.c: New file.
10010 * gdb.python/py-mi-events.exp: New file.
10011
e6359af3
YQ
100122016-03-30 Yao Qi <yao.qi@linaro.org>
10013
10014 * gdb.reverse/until-precsave.exp: Match function name only.
10015 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10016 Move malloc to a condition block.
10017 * gdb.reverse/until-reverse.exp: Match function name only.
10018
a4105d04
MK
100192016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10020
10021 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10022 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10023 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10024 variable for GPR 0 instead of assuming it is register 0.
10025 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10026 * lib/trace-support.exp: Add s390 registers.
10027
bfa6adb9
YQ
100282016-03-29 Yao Qi <yao.qi@linaro.org>
10029
10030 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10031
1e6697ea
YQ
100322016-03-24 Yao Qi <yao.qi@linaro.org>
10033
10034 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10035 test message.
10036
64bcd522
AA
100372016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10038
10039 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10040 maintaining separate logic for constructing the output path.
10041
7868401b
DB
100422016-03-16 Don Breazeal <donb@codesourcery.com>
10043
10044 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10045 Retry fork and waitpid on interrupted system call errors.
10046 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10047 Use with_timeout_factor to increase timeout by factor of 10.
10048
1cafadb4
DB
100492016-03-15 Don Breazeal <donb@codesourcery.com>
10050
10051 * gdb.cp/scope-err.cc: New test program.
10052 * gdb.cp/scope-err.exp: New test script.
10053 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10054 lines and "set breakpoint here" comment.
10055 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10056 Fixed some whitespace and format issues.
10057 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10058 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10059
81516450
DE
100602016-03-15 Doug Evans <dje@google.com>
10061
10062 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10063 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10064 All callers updated. Add tests for enums, mixed flags register.
10065
aa52b601
DE
100662016-03-15 Doug Evans <dje@google.com>
10067
10068 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10069 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10070
fa4ff313
SM
100712016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10072
10073 * gdb.base/default.exp: Add $_as_string to the list of expected
10074 convenience functions.
10075
f2403c39
AB
100762016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10077
10078 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10079
f2f3ccb9
SM
100802016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10081
10082 * gdb.python/py-as-string.exp: New file.
10083 * gdb.python/py-as-string.c: New file.
10084
00dbd492
PA
100852016-03-09 Pedro Alves <palves@redhat.com>
10086
10087 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10088 signal" -> "Thread NN received signal" output change.
10089 * gdb.threads/ia64-sigill.exp: Likewise.
10090 * gdb.threads/linux-dp.exp: Likewise.
10091 * gdb.threads/manythreads.exp: Likewise.
10092 * gdb.threads/pending-step.exp: Likewise.
10093 * gdb.threads/print-threads.exp: Likewise.
10094 * gdb.threads/sigstep-threads.exp: Likewise.
10095 * gdb.threads/staticthreads.exp: Likewise.
10096 * gdb.threads/tls.exp: Likewise.
10097
1e6697ea
YQ
100982016-03-09 Pedro Alves <palves@redhat.com>
10099
10100 * gdb.base/command-line-input.exp: New file.
10101
b04fd3be
MK
101022016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10103
10104 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10105 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10106 * gdb.trace/pending.exp: Accept leading dot before function name.
10107 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10108 * lib/trace-support.exp: Set registers for ppc.
10109
98fa59e9
MK
101102016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10111
10112 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10113 use it for disassembly; accept .main in addition to main in backtrace.
10114
f77198c8
MK
101152016-03-09 Wei-cheng Wang <cole945@gmail.com>
10116 Marcin Kościelnicki <koriakin@0x04.net>
10117
10118 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10119 (gdb_recursion_test_ptr): New global variable.
10120 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10121 gdb_recursion_test.
10122 (gdb_c_test): Ditto.
10123
ba84e0da
MK
101242016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10125
10126 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10127 ordering.
10128
4366d36e
MK
101292016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10130
10131 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10132 (bar): Add bar_start_lbl label.
10133 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10134 of foo/bar for emitting DWARF and tracing.
10135
5eb264df
SDJ
101362016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10137
10138 * analyze-racy-logs.py: Set executable bit.
10139
fb6a751f
SDJ
101402016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10141
10142 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10143 (CHECK_TARGET_TMP): Likewise.
10144 (check-single-racy): New rule.
10145 (check-parallel-racy): Likewise.
10146 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10147 (do-check-parallel-racy): New rule.
10148 (check-racy/%.exp): Likewise.
10149 * README (Racy testcases): New section.
10150 * analyze-racy-logs.py: New file.
10151
bdf7e230
DE
101522016-03-03 Doug Evans <dje@google.com>
10153
10154 * gdb.base/skip.exp: Use with_test_prefix.
10155
4719d415
YQ
101562016-03-03 Yao Qi <yao.qi@linaro.org>
10157
10158 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10159 Invoke step_over_syscall "clone" and break_cond_on_syscall
10160 "clone".
10161 * gdb.base/step-over-clone.c: New file.
10162
ea507862
YQ
101632016-03-03 Yao Qi <yao.qi@linaro.org>
10164
10165 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10166 code format.
10167
8fc8cbda
YQ
101682016-03-03 Yao Qi <yao.qi@linaro.org>
10169
10170 * gdb.base/disp-step-fork.c: Rename to ...
10171 * gdb.base/step-over-fork.c: ... it. New file.
10172 * gdb.base/disp-step-vfork.c: Rename to ...
10173 * gdb.base/step-over-vfork.c: ... it. New file.
10174 * gdb.base/disp-step-syscall.exp: Rename to ...
10175 * gdb.base/step-over-syscall.exp: ... it. New file.
10176 (disp_step_cross_syscall): Rename to ...
10177 (step_over_syscall): ... it.
10178
92fa70b0
YQ
101792016-03-03 Yao Qi <yao.qi@linaro.org>
10180
10181 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10182 If target supports condition evaluation on target, invoke
10183 break_cond_on_syscall for fork and vfork.
10184
e197ad3c
YQ
101852016-03-03 Yao Qi <yao.qi@linaro.org>
10186
10187 * gdb.base/disp-step-syscall.exp: Don't invoke
10188 support_displaced_stepping.
10189 (disp_step_cross_syscall): Test with displaced stepping off and
10190 on if supported.
10191
0b47da9f
YQ
101922016-03-03 Yao Qi <yao.qi@linaro.org>
10193
10194 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10195 proc.
10196 (setup): New proc.
10197 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10198 and setup.
10199
065ab6dc
BH
102002016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10201
10202 * gdb.fortran/vla-history.exp: Remove breakpoint.
10203
07e448ad 102042016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10205
25d49b86
PA
10206 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10207 exceeds timeout.
07e448ad 10208
9ac2d526 102092016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10210
25d49b86
PA
10211 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10212 breakpoint.
9ac2d526 10213
17807369
BH
102142016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10215
10216 * gdb.mi/vla.f90: Nullify pointer after declaration.
10217
86e501af
PA
102182016-03-01 Pedro Alves <palves@redhat.com>
10219
10220 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10221
1e903e32
PA
102222016-03-01 Pedro Alves <palves@redhat.com>
10223
10224 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10225 before anything else.
10226 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10227 _GNU_SOURCE here.
10228 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10229 before anything else.
10230 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10231
6ccb54e2
PA
102322016-03-01 Pedro Alves <palves@redhat.com>
10233
10234 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10235
30ca9da1
YQ
102362016-03-01 Yao Qi <yao.qi@linaro.org>
10237
10238 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10239 prepare_for_testing.
10240
dc856b38
YQ
102412016-03-01 Yao Qi <yao.qi@linaro.org>
10242
10243 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10244
4a932159
AA
102452016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10246
10247 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10248 manually constructing the output path.
10249
f2489477
AA
102502016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10251
10252 * gdb.arch/s390-stackless.S: New.
10253 * gdb.arch/s390-stackless.exp: New.
10254
38899f16
IB
102552016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10256
10257 * gdb.dlang/circular.c: New file.
10258 * gdb.dlang/circular.exp: New file.
10259
9fde51ed
YQ
102602016-02-26 Yao Qi <yao.qi@linaro.org>
10261
10262 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10263 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10264 (testcases): Update.
10265
ce90fefe
YQ
102662016-02-26 Yao Qi <yao.qi@linaro.org>
10267
10268 * gdb.reverse/aarch64.c: Rename to ...
10269 * gdb.reverse/insn-reverse.c: ... it.
10270 * gdb.reverse/aarch64.exp: Rename to ...
10271 * gdb.reverse/insn-reverse.exp: ... it.
10272
3263bceb
YQ
102732016-02-26 Yao Qi <yao.qi@linaro.org>
10274
10275 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10276 (testcase_ftype): New.
10277 (testcases): New array.
10278 (n_testcases): New.
10279 (main): Call each element in testcases.
10280 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10281 (read_testcase): New.
10282 Do the tests in a loop.
10283
6cb59ff1
YQ
102842016-02-25 Yao Qi <yao.qi@linaro.org>
10285
10286 * gdb.base/branches.c: Remove.
10287
ae91f625
MK
102882016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10289
10290 PR gdb/13808
10291 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10292
678b48b7
MK
102932016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10294
10295 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10296
7337a6f2
MK
102972016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10298
10299 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10300 change x86_64 call_insn to 'callq'.
10301
861ca91f
AT
103022016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10303
10304 * gdb.trace/tfile-avx.c: Move to...
10305 * gdb.trace/tracefile-pseudo-reg.c: Here.
10306 * gdb.trace/tfile-avx.exp: Move to...
10307 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10308
bf74e428
GB
103092016-02-24 Gary Benson <gbenson@redhat.com>
10310
10311 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10312 message on attach.
10313
cce0e923
DE
103142016-02-23 Doug Evans <dje@google.com>
10315
10316 * gdb.base/skip.c (test_skip): New function.
10317 (end_test_skip_file_and_function): New function.
10318 (test_skip_file_and_function): New function.
10319 * gdb.base/skip1.c (test_skip): New function.
10320 (skip1_test_skip_file_and_function): New function.
10321 * gdb.base/skip.exp: Add tests for new skip options.
10322 * gdb.base/skip-solib.exp: Update expected output.
10323 * gdb.perf/skip-command.cc: New file.
10324 * gdb.perf/skip-command.exp: New file.
10325 * gdb.perf/skip-command.py: New file.
10326
4000e47e
MK
103272016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10328
10329 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10330 info registers pattern.
10331
24f75ead
IB
103322016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10333
10334 * lib/future.exp: Add D support.
10335 (gdb_find_gdc): New proc.
10336 (gdb_default_target_compile): Add D support.
10337
fbb7bcbe
WW
103382016-02-18 Wei-cheng Wang <cole945@gmail.com>
10339
10340 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10341 user+system time.
10342 (trace_speed_test): Determine the iteration count for a time
10343 between 15..30 seconds.
10344
012b3a21
WT
103452016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10346
10347 * gdb.arch/i386-mpx-sigsegv.c: New file.
10348 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10349 * gdb.arch/i386-mpx-simple_segv.c: New file.
10350 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10351
2d5189bd
YQ
103522016-02-18 Yao Qi <yao.qi@linaro.org>
10353
10354 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10355 Don't call setup_kfail.
10356
40fb20d0
YQ
103572016-02-18 Yao Qi <yao.qi@linaro.org>
10358
10359 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10360 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10361
21b1f8d2
DE
103622016-02-16 Doug Evans <dje@google.com>
10363
10364 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10365 * gdb.base/skip1.c: Ditto.
10366 * gdb.base/skip.exp: Whitespace cleanup.
10367
4041ed77
DB
103682016-02-16 Don Breazeal <donb@codesourcery.com>
10369
10370 PR remote/19496
10371 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10372 Remove kfail for PR remote/19496.
10373
c4ef31bf
SM
103742016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10375
10376 * lib/gdb.exp (standard_temp_file): Return a path specific to
10377 the runtest invocation.
10378
266b65b3
SM
103792016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10380
10381 * gdb.trace/save-trace.exp: Change relative path to be in the
10382 standard output directory.
10383
a7a0a6a9
JK
103842016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10385
10386 * gdb.arch/i386-prologue.c: Add missing prototypes.
10387
c99dbb42
JK
103882016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10389
10390 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10391 * gdb.arch/i386-prologue.exp: Likewise.
10392 * gdb.arch/i386-size.exp: Likewise.
10393
aa480355
SM
103942016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10395
10396 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10397 define object file path.
10398 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10399 file path.
10400 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10401 standard_output_file to define binfile.
10402
ba881f50
JK
104032016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10404
10405 Fix compatibility with recent gfortran-5.3.1.
10406 * gdb.fortran/vla-history.exp (print vla1 allocated)
10407 (print vla2 allocated, print $2, print $3): Remove
10408 (print $4): Rename to ...
10409 (print $2): ... here.
10410 (print $9): Rename to ...
10411 (print $5): ... here.
10412 (print $10): Rename to ...
10413 (print $6): ... here.
10414 * gdb.fortran/vla.f90: Add pvla initialization.
10415
e9fb005c
JK
104162016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10417
10418 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10419 New test.
10420 * gdb.fortran/vla-value-sub.exp: Likewise.
10421
e44e00ff
MK
104222016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10423
10424 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10425
97e94151
SM
104262016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10427
10428 * i386-biarch-core.exp: Define corefile using
10429 standard_output_file.
10430
01113bc1
YQ
104312016-02-12 Yao Qi <yao.qi@linaro.org>
10432
10433 * gdb.arch/arm-single-step-kernel-helper.c: New.
10434 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10435
33b4777c
MM
104362016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10437
10438 * gdb.btrace/tailcall-only.exp: New.
10439 * gdb.btrace/tailcall-only.c: New.
10440 * gdb.btrace/x86_64-tailcall-only.S: New.
10441 * gdb.btrace/i686-tailcall-only.S: New.
10442
acc23c11
PA
104432016-02-11 Pedro Alves <palves@redhat.com>
10444
10445 * README (Parallel testing): Add missing double quotes.
10446
e352bf0a
PA
104472016-02-11 Pedro Alves <palves@redhat.com>
10448
10449 * README (Parallel testing): New section.
10450 (GDB_PARALLEL): Rewrite.
10451 (FORCE_PARALLEL): Document.
10452
9f5fed78
MK
104532016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10454
10455 * gdb.trace/tfile-avx.c: New test.
10456 * gdb.trace/tfile-avx.exp: New test.
10457
9ef9e6a6
KS
104582016-02-09 Keith Seitz <keiths@redhat.com>
10459
10460 PR breakpoints/19546
10461 * gdb.base/infcall-exec.c: New file.
10462 * gdb.base/infcall-exec2.c: New file.
10463 * gdb.base/infcall-exec.exp: New file.
10464
a96e36da
KS
104652016-02-09 Keith Seitz <keiths@redhat.com>
10466
10467 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10468 (toplevel): Call test_bkpt_address.
10469
9f61929f
KS
104702016-02-09 Keith Seitz <keiths@redhat.com>
10471
10472 PR python/19506
10473 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10474 (toplevel): Call test_bkpt_address.
10475
1e94266c
SM
104762016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10477
10478 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10479 to AC_OUTPUT.
10480 * configure: Regenerate.
10481
2a7f3dff
PA
104822016-02-09 Pedro Alves <palves@redhat.com>
10483
10484 PR breakpoints/19548
10485 * gdb.base/execl-update-breakpoints.c (some_function): New
10486 function.
10487 (main): Call it.
10488 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10489 Tighten expected GDB output.
10490
2151ccc5
SM
104912016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10492
10493 * Makefile.in (ALL_SUBDIRS): Remove.
10494 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10495 (distclean maintainer-clean realclean): Likewise.
10496 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10497 * configure: Regenerate.
10498 * gdb.ada/Makefile.in: Delete.
10499 * gdb.arch/Makefile.in: Likewise.
10500 * gdb.asm/Makefile.in: Likewise.
10501 * gdb.base/Makefile.in: Likewise.
10502 * gdb.btrace/Makefile.in: Likewise.
10503 * gdb.cell/Makefile.in: Likewise.
10504 * gdb.compile/Makefile.in: Likewise.
10505 * gdb.cp/Makefile.in: Likewise.
10506 * gdb.disasm/Makefile.in: Likewise.
10507 * gdb.dlang/Makefile.in: Likewise.
10508 * gdb.dwarf2/Makefile.in: Likewise.
10509 * gdb.fortran/Makefile.in: Likewise.
10510 * gdb.gdb/Makefile.in: Likewise.
10511 * gdb.go/Makefile.in: Likewise.
10512 * gdb.guile/Makefile.in: Likewise.
10513 * gdb.java/Makefile.in: Likewise.
10514 * gdb.linespec/Makefile.in: Likewise.
10515 * gdb.mi/Makefile.in: Likewise.
10516 * gdb.modula2/Makefile.in: Likewise.
10517 * gdb.multi/Makefile.in: Likewise.
10518 * gdb.objc/Makefile.in: Likewise.
10519 * gdb.opencl/Makefile.in: Likewise.
10520 * gdb.opt/Makefile.in: Likewise.
10521 * gdb.pascal/Makefile.in: Likewise.
10522 * gdb.perf/Makefile.in: Likewise.
10523 * gdb.python/Makefile.in: Likewise.
10524 * gdb.reverse/Makefile.in: Likewise.
10525 * gdb.server/Makefile.in: Likewise.
10526 * gdb.stabs/Makefile.in: Likewise.
10527 * gdb.threads/Makefile.in: Likewise.
10528 * gdb.trace/Makefile.in: Likewise.
10529 * gdb.xml/Makefile.in: Likewise.
10530 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10531 GDB_PARALLEL.
10532 (standard_output_file): Remove check for GDB_PARALLEL, always
10533 return path in outputs/$subdir/$testname.
10534
437277d4
SM
105352016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10536
10537 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10538 (site.exp): Assign abs_srcdir to tcl's srcdir.
10539
31d913c7
YQ
105402016-02-04 Yao Qi <yao.qi@linaro.org>
10541
10542 * gdb.base/foll-exec-mode.c: Include limits.h.
10543 (main): Add parameters argc and argv. Get directory from
10544 argv[0].
10545 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10546 compilation.
10547 * gdb.base/foll-exec.c: Include limits.h.
10548 (main): Add parameters argc and argv.
10549 Get directory from argv[0].
10550 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10551 Adjust tests on the number of lines as source code changed.
10552 * gdb.base/foll-vfork-exit.c: Include limits.h.
10553 (main): Add one line of statement before vfork.
10554 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10555 (main): Add parameters argc and argv. Get directory from
10556 argv[0].
10557 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10558 (setup_gdb): Set tbreak to skip some source lines.
10559 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10560 (main): Add parameters argc and argv. Get directory from
10561 argv[0].
10562 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10563 compilation.
10564 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10565 (main): Add parameters argc and argv. Get directory from
10566 argv[0].
10567 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10568 compilation.
10569
9482b9fb
DE
105702016-02-01 Doug Evans <dje@google.com>
10571
10572 * gdb.base/skip.exp: Clean up multiple references to same test name.
10573
6b2e4f10
PA
105742016-02-01 Pedro Alves <palves@redhat.com>
10575
ccb6afd6 10576 PR remote/19496
6b2e4f10
PA
10577 * gdb.threads/forking-threads-plus-breakpoint.exp
10578 (displaced_stepping_supported): New global.
10579 (probe_displaced_stepping_support): New procedure.
10580 (do_test): Add 'displaced' parameter, and use it.
10581 (top level): Check for displaced stepping support. Add displaced
10582 stepping on/off testing axis.
10583
37a8db1a
AB
105842016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10585
10586 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10587 pointer. Don't perform further tests on the unassociated pointer
10588 if the first test fails.
10589
5fdf6324
AB
105902016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10591
10592 * gdb.base/max-value-size.c: New file.
10593 * gdb.base/max-value-size.exp: New file.
10594 * gdb.base/huge.exp: Disable max-value-size for this test.
10595
935c6144
IB
105962016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10597
10598 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10599
7fe8399d
YQ
106002016-01-28 Yao Qi <yao.qi@linaro.org>
10601
10602 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10603
a2077e25
PA
106042016-01-25 Pedro Alves <palves@redhat.com>
10605
10606 PR threads/19461
10607 * gdb.base/fork-running-state.c: New file.
10608 * gdb.base/fork-running-state.exp: New file.
10609
1d2736d4
PA
106102016-01-25 Pedro Alves <palves@redhat.com>
10611
10612 PR gdb/19494
10613 * gdb.base/catch-fork-kill.c: New file.
10614 * gdb.base/catch-fork-kill.exp: New file.
10615
f1da4b11
PA
106162016-01-25 Pedro Alves <palves@redhat.com>
10617
10618 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10619 Delete, moved to lib/gdb.exp.
10620 * gdb.threads/forking-threads-plus-breakpoint.exp
10621 (foreach_with_prefix): Likewise.
10622 * gdb.threads/process-dies-while-handling-bp.exp
10623 (foreach_with_prefix): Likewise.
10624 * lib/gdb.exp (foreach_with_prefix): New procedure.
10625
45f38546
MK
106262016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10627
10628 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10629 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10630
dc29a1ce
MK
106312016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10632
10633 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10634 endian targets.
10635
092127d7
JK
106362016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10637 Pedro Alves <palves@redhat.com>
10638
10639 Fix testsuite compatibility with Guile.
10640 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10641 number.
10642
31d765d3
JK
106432016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10644
10645 Fix testsuite compatibility with Guile.
10646 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10647 (thread 1): New test for backtrace through signal handler.
10648
1ac78c04
YQ
106492016-01-22 Yao Qi <yao.qi@linaro.org>
10650
10651 PR testsuite/19491
10652 * gdb.base/multi-forks.c: Include
10653 ../lib/unbuffer_output.c
10654 (main): Call gdb_unbuffer_output.
10655
4f5946a8
DE
106562016-01-21 Doug Evans <dje@google.com>
10657
10658 * lib/ada.exp (gdb_compile_ada): Fix typo.
10659
305e13e6
JB
106602016-01-21 Joel Brobecker <brobecker@adacore.com>
10661
10662 * gdb.base/break-fun-addr.exp: New file.
10663 * gdb.base/break-fun-addr1.c: New file.
10664 * gdb.base/break-fun-addr2.c: New file.
10665
5f5dfff6
SM
106662016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10667
10668 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10669 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10670 enum flag values.
10671
fd356fa2
AA
106722016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10673
10674 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10675 when GDB can not set the vector return value. Add more comments
10676 for clarification.
10677
9df22175
AT
106782016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10679
10680 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10681 command.
10682
41d1845e
SM
106832016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10684
10685 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10686
01ac6840
SM
106872016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10688
10689 * Makefile.in (check-single): Pass --status to runtest.
10690 (check/%.exp): Likewise.
10691
106922016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10693
10694 * Makefile.in (check-parallel): Propagate return code from make
10695 do-check-parallel.
10696
bd0a71fa
MK
106972016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10698
10699 * gdb.trace/ftrace.exp: Fix expected message on continue.
10700 * gdb.trace/pending.exp: Fix expected message on continue.
10701 * gdb.trace/trace-break.exp: Fix expected message on continue.
10702
8bcbad33
SM
107032016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10704
10705 * lib/gdb.exp (gdb_test): Remove unused global references.
10706
f303dbd6
PA
107072016-01-18 Pedro Alves <palves@redhat.com>
10708
10709 * gdb.base/async-shell.exp: Adjust expected output.
10710 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10711 * gdb.base/siginfo-thread.exp: Adjust expected output.
10712 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10713 * gdb.java/jnpe.exp: Adjust expected output.
10714 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10715 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10716 * gdb.threads/leader-exit.exp: Adjust expected output.
10717 * gdb.threads/manythreads.exp: Adjust expected output.
10718 * gdb.threads/pthreads.exp: Adjust expected output.
10719 * gdb.threads/schedlock.exp: Adjust expected output.
10720 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10721 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10722 expected output.
10723 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10724 output.
10725 * gdb.threads/sigthread.exp: Adjust expected output.
10726 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10727
b2789696
YQ
107282016-01-18 Yao Qi <yao.qi@linaro.org>
10729
10730 * gdb.guile/scm-section-script.c: Replace @progbits with
10731 %progbits.
10732 * gdb.python/py-section-script.c: Likewise.
10733
71ef29a8
PA
107342016-01-15 Pedro Alves <palves@redhat.com>
10735
10736 * gdb.multi/tids.exp: Test star wildcard ranges.
10737
3f5b7598
PA
107382016-01-15 Pedro Alves <palves@redhat.com>
10739
10740 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10741 command from "thread apply" invocation.
10742 (thr_apply_info_thr_invalid): Default the expected output to the
10743 input tid list.
10744 (top level): Add tests that use convenience variables. Add tests
10745 for "thread apply" with a valid TID list, but missing the command.
10746
663f6d42
PA
107472016-01-13 Pedro Alves <palves@redhat.com>
10748
10749 * gdb.base/default.exp: Expect $_gthread as well.
10750 * gdb.multi/tids.exp: Test $_gthread.
10751 * gdb.threads/thread-specific.exp: Test $_gthread.
10752
c84f6bbf
PA
107532016-01-13 Pedro Alves <palves@redhat.com>
10754
10755 * gdb.multi/tids.exp: Test "info threads -gid".
10756
22a02324
PA
107572016-01-13 Pedro Alves <palves@redhat.com>
10758
10759 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10760 Breakpoint.thread.
10761 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10762
5d5658a1
PA
107632016-01-07 Pedro Alves <palves@redhat.com>
10764
10765 * gdb.base/break.exp: Adjust to output changes.
10766 * gdb.base/hbreak2.exp: Likewise.
10767 * gdb.base/sepdebug.exp: Likewise.
10768 * gdb.base/watch_thread_num.exp: Likewise.
10769 * gdb.linespec/keywords.exp: Likewise.
10770 * gdb.multi/info-threads.exp: Likewise.
10771 * gdb.threads/thread-find.exp: Likewise.
10772 * gdb.multi/tids.c: New file.
10773 * gdb.multi/tids.exp: New file.
10774
84654457
PA
107752016-01-13 Pedro Alves <palves@redhat.com>
10776
10777 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10778
e3940304
PA
107792016-01-13 Pedro Alves <palves@redhat.com>
10780
10781 * gdb.base/default.exp: Expect $_inferior as well.
10782 * gdb.multi/base.exp: Test $_inferior.
10783
a911d87a
PA
107842016-01-13 Pedro Alves <palves@redhat.com>
10785
10786 PR breakpoints/19388
10787 * gdb.base/catch-signal-siginfo-cond.c: New file.
10788 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10789
82075af2
JS
107902016-01-12 Josh Stone <jistone@redhat.com>
10791 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10792
10793 * gdb.base/catch-syscall.c (do_execve): New variable.
10794 (main): Conditionally trigger an execve.
10795 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10796 (test_catch_syscall_execve): New, check entry/return across execve.
10797 (do_syscall_tests): Call test_catch_syscall_execve.
10798
e46eeedd
PA
107992016-01-12 Pedro Alves <palves@redhat.com>
10800
10801 * gdb.base/random-signal.exp (do_test): New procedure, with body
10802 of testcase moved in.
10803
01d8c27e
JK
108042016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10805 Pedro Alves <palves@redhat.com>
10806
10807 * gdb.base/funcargs.exp (finish from indirectly called function):
10808 Reintroduce the case for 'First'.
10809
9a706302
JK
108102016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10811 Pedro Alves <palves@redhat.com>
10812
10813 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10814 (tcatch_vfork_then_child_follow_exec)
10815 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10816 identification.
10817
c0ecb95f
JK
108182016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10819
10820 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10821 and repeats to unlimited.
10822 * gdb.python/py-value.exp: Likewise.
10823 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10824 and repeats to unlimited.
10825
6cfc1fcb
JK
108262016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10827
10828 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10829 and reordering the functions.
10830 * gdb.multi/hangout.c: Likewise.
10831 * gdb.multi/hello.c: Likewise.
10832
582a1b00
SM
108332016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10834
10835 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10836 absolute.
10837 (SingleStatisticTestResult.report): Use dict.keys instead of
10838 dict.iterkeys.
10839
79bc59cb
PA
108402016-01-06 Pedro Alves <palves@redhat.com>
10841
10842 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10843
43368e1d
MM
108442016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10845
10846 * gdb.btrace/dlopen.exp: New.
10847 * gdb.btrace/dlopen.c: New.
10848 * gdb.btrace/dlopen-dso.c: New.
10849
79fad5b8
SL
108502015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10851
10852 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10853 PATTERN argument is optional.
10854
ab8314b3
JB
108552015-12-24 Joel Brobecker <brobecker@adacore.com>
10856
10857 * lib/ada.exp (target_compile_ada_from_dir): New function.
10858 (gdb_compile_ada): Reimplement avoiding the use of project files.
10859 * gdb.ada/gnat_ada.gpr: Delete.
10860 * gdb.ada/cond_lang.exp: Adjust test to make path before
10861 filename optional.
10862 * gdb.ada/small_reg_param.exp: Likewise.
10863
fe33faff
SM
108642015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10865
10866 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10867
6d265cb4
TP
108682015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10869
10870 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10871 case.
10872
10125099
SM
108732015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10874
10875 * gdb.base/break.exp: Remove dead code.
10876 * gdb.base/sepdebug.exp: Likewise.
10877
3ca22649
SM
108782015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10879
10880 * gdb.asm/asm-source.exp: Remove HP-UX references.
10881 * gdb.base/annota1.exp: Likewise.
10882 * gdb.base/annota3.exp: Likewise.
10883 * gdb.base/attach.exp: Likewise.
10884 * gdb.base/bigcore.exp: Likewise.
10885 * gdb.base/break.exp: Likewise.
10886 * gdb.base/call-ar-st.exp: Likewise.
10887 * gdb.base/callfuncs.exp: Likewise.
10888 * gdb.base/catch-fork-static.exp: Likewise.
10889 * gdb.base/display.exp: Likewise.
10890 * gdb.base/foll-exec-mode.exp: Likewise.
10891 * gdb.base/foll-exec.exp: Likewise.
10892 * gdb.base/foll-fork.exp: Likewise.
10893 * gdb.base/foll-vfork.exp: Likewise.
10894 * gdb.base/funcargs.exp: Likewise.
10895 * gdb.base/hbreak2.exp: Likewise.
10896 * gdb.base/inferior-died.exp: Likewise.
10897 * gdb.base/interrupt.exp: Likewise.
10898 * gdb.base/multi-forks.exp: Likewise.
10899 * gdb.base/nodebug.exp: Likewise.
10900 * gdb.base/sepdebug.exp: Likewise.
10901 * gdb.base/solib1.c: Likewise.
10902 * gdb.base/step-test.exp: Likewise.
10903 * gdb.mi/non-stop.c: Likewise.
10904 * gdb.mi/pthreads.c: Likewise.
10905 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10906 * gdb.threads/pthreads.c: Likewise.
10907 * gdb.threads/staticthreads.exp: Likewise.
10908 * lib/future.exp: Likewise.
10909 * lib/gdb.exp: Likewise.
10910 * gdb.base/so-indr-cl.c: Remove.
10911 * gdb.base/so-indr-cl.exp: Likewise.
10912 * gdb.base/solib.c: Likewise.
10913 * gdb.base/solib.exp: Likewise.
10914 * gdb.base/solib2.c: Likewise.
10915
b6304613
SM
109162015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10917
10918 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10919 * gdb.base/call-ar-st.exp: Likewise.
10920 * gdb.base/callfuncs.exp: Likewise.
10921 * gdb.base/condbreak.exp: Likewise.
10922 * gdb.base/constvars.exp: Likewise.
10923 * gdb.base/hbreak2.exp: Likewise.
10924 * gdb.base/langs.exp: Likewise.
10925 * gdb.base/list.exp: Likewise.
10926 * gdb.base/long_long.exp: Likewise.
10927 * gdb.base/ptype.exp: Likewise.
10928 * gdb.base/scope.exp: Likewise.
10929 * gdb.base/signals.exp: Likewise.
10930 * gdb.base/so-impl-ld.exp: Likewise.
10931 * gdb.base/varargs.exp: Likewise.
10932 * gdb.base/volatile.exp: Likewise.
10933 * gdb.base/whatis.exp: Likewise.
10934 * gdb.cp/cplusfuncs.exp: Likewise.
10935 * gdb.cp/inherit.exp: Likewise.
10936 * gdb.cp/local.exp: Likewise.
10937 * gdb.cp/member-ptr.exp: Likewise.
10938 * gdb.cp/method.exp: Likewise.
10939 * gdb.cp/overload.exp: Likewise.
10940 * gdb.cp/templates.exp: Likewise.
10941 * gdb.stabs/weird.exp: Likewise.
10942 * lib/compiler.c: Likewise.
10943 * lib/compiler.cc: Likewise.
10944 * lib/cp-support.exp: Likewise.
10945 * lib/gdb.exp: Likewise.
10946
bf401b07
SM
109472015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10948
10949 * configure.ac: Remove HP-UX case.
10950 * configure: Regenerate.
10951
aff9c0f8
SM
109522015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10953
10954 * lib/gdb.exp (gdb_compile): Add function doc.
10955
a6904d5a
PA
109562015-12-17 Pedro Alves <palves@redhat.com>
10957
10958 PR threads/19354
10959 * gdb.multi/info-threads.exp: New file.
10960
a22279dd
YQ
109612015-12-15 Yao Qi <yao.qi@linaro.org>
10962
10963 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10964 is aarch64*-*-*.
10965
0588c796
SL
109662015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10967
10968 * gdb.base/history-duplicates.exp: Skip if no readline support.
10969
5d978e17
SL
109702015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10971
10972 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10973
7e763b86
SL
109742015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10975
10976 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10977
87a3a92c
SL
109782015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10979
10980 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10981 ctrl-C if nointerrupts target property is set.
10982 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10983 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10984 * gdb.base/paginate-bg-execution.exp: Likewise.
10985 * gdb.base/paginate-execution-startup.exp: Likewise.
10986 * gdb.base/random-signal.exp: Likewise.
10987 * gdb.base/range-stepping.exp: Likewise.
10988 * gdb.cp/annota2.exp: Likewise.
10989 * gdb.cp/annota3.exp: Likewise.
10990 * gdb.gdb/selftest.exp: Likewise.
10991 * gdb.threads/continue-pending-status.exp: Likewise.
10992 * gdb.threads/leader-exit.exp: Likewise.
10993 * gdb.threads/manythreads.exp: Likewise.
10994 * gdb.threads/pthreads.exp: Likewise.
10995 * gdb.threads/schedlock.exp: Likewise.
10996 * gdb.threads/sigthread.exp: Likewise.
10997
a8f077dc
DB
109982015-12-11 Don Breazeal <donb@codesourcery.com>
10999
11000 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11001 remote.
11002 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11003 * gdb.base/foll-exec.exp (main): Enable for target remote.
11004 * gdb.base/foll-fork.exp (main): Likewise.
11005 * gdb.base/foll-vfork.exp (main): Likewise.
11006 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11007 (proc continue_to_exit_bp_loc): Use clean_restart.
11008 * gdb.base/pie-execl.exp (main): Disable for target remote.
11009 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11010 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11011 * gdb.threads/execl.exp (main): Likewise.
11012 * gdb.threads/fork-child-threads.exp (main): Likewise.
11013 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11014 remote.
11015 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11016 remote.
11017 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11018 pid.tid style ptids, instead of just tid.
11019 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11020 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11021 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11022 ptids, instead of just tid.
11023
3b2464a8
AB
110242015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11025
11026 * gdb.base/list.exp (test_list_forward): Add end of file error
11027 test.
11028 (test_repeat_list_command): Add end of file error test.
11029 (test_list_backwards): Add beginning of file error test.
11030
a0def019
AB
110312015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11032
11033 * gdb.base/list.exp (test_list_invalid_args): New function,
11034 defined, and called.
11035
5c000dff
AB
110362015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11037
11038 * gdb.base/list.exp (test_list): Make test names unique.
11039
f1637ebe
YQ
110402015-12-11 Yao Qi <yao.qi@linaro.org>
11041
11042 * gdb.base/coremaker2.c: Remove.
11043
36d6fc0a
PA
110442015-12-10 Pedro Alves <palves@redhat.com>
11045
11046 * gdb.multi/base.exp: Remove stale "spaces" references.
11047
762f7747
PA
110482015-12-10 Pedro Alves <palves@redhat.com>
11049
11050 * gdb.multi/base.exp: Don't use nowarnings.
11051 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11052 * gdb.multi/hangout.c: Include stdio.h.
11053 * gdb.multi/hello.c: Include stdlib.h.
11054 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11055 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11056 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11057
28d2bfb9
AB
110582015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11059
11060 * gdb.dwarf2/dw2-ranges-base.c: New file.
11061 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11062 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11063 support additional line table, and debug ranges generation.
11064 (Dwarf::ranges): New function, generate .debug_ranges.
11065 (Dwarf::lines): Support generating simple line table programs.
11066 (Dwarf::assemble): Initialise new namespace variables.
11067
5fc2beac
KB
110682015-12-09 Kevin Buettner <kevinb@redhat.com>
11069
11070 * gdb.base/async.exp (proc test_background): Add case for
11071 asynchronous execution not supported.
11072
1c35a88f
LM
110732015-12-09 Luis Machado <lgustavo@codesourcery.com>
11074
11075 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11076 format and change test names to make them unique.
11077
b593e3d9
RK
110782015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11079 Pedro Alves <pedro@redhat.com>
11080
11081 PR gdb/18702
11082 Add checking of floatformats setup on x86_64 hosts.
11083 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11084 (smallval, bigval): New labels/constants.
11085 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11086 float" after loading bigval and smallval.
11087
d72413e6
PMR
110882015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11089
11090 * gdb.ada/fun_overload_menu.exp: New testcase.
11091 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11092
ece66d65
JS
110932015-12-04 Josh Stone <jistone@redhat.com>
11094
11095 * gdb.base/catch-fork-static.exp: New.
11096
41d0efca
YQ
110972015-12-03 Yao Qi <yao.qi@linaro.org>
11098
11099 * gdb.base/sizeof.c: Don't include stdio.h and
11100 ../lib/unbuffer_output.c.
11101 (main): New variable 'size' and 'value'. Remove printf and
11102 gdb_unbuffer_output. Assign return value to size and value.
11103 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11104 at the beginning.
11105 (check_sizeof): Check the result by printing variable 'size'.
11106 (check_valueof): Check the result by printing variable 'value'.
11107
99fd02d9
YQ
111082015-12-01 Yao Qi <yao.qi@linaro.org>
11109
11110 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11111 for aarch64*-*-linux* target.
11112
f2faf941
PA
111132015-11-30 Pedro Alves <palves@redhat.com>
11114
11115 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11116
04bf20c5
PA
111172015-11-30 Pedro Alves <palves@redhat.com>
11118
11119 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11120 Handle non-stop mode vCont replies.
11121
09df4675
PA
111222015-11-30 Pedro Alves <palves@redhat.com>
11123
11124 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11125 prepare_for_testing. Start gdb with "set non-stop on" appended to
11126 GDBFLAGS. Lax expected stop output.
11127
58b584af
YQ
111282015-11-27 Yao Qi <yao.qi@linaro.org>
11129
11130 * gdb.arch/arm-neon.exp: New.
11131 * gdb.arch/arm-neon.c: New.
11132
dfcb77a8
YQ
111332015-11-27 Yao Qi <yao.qi@linaro.org>
11134
11135 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11136
88e8ec1b
YQ
111372015-11-27 Yao Qi <yao.qi@linaro.org>
11138
11139 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11140 frames-invalid annotation.
11141
bfde72c2
YQ
111422015-11-27 Yao Qi <yao.qi@linaro.org>
11143
11144 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11145
f6512a69
SM
111462015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11147
11148 * gdb.threads/names.exp: New file.
11149 * gdb.threads/names.c: New file.
11150 * README: Mention gdb,no_thread_names.
11151
46a3515b
MM
111522015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11153
11154 PR 19297
11155 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11156 support" error.
11157
62147a22
PA
111582015-11-24 Pedro Alves <palves@redhat.com>
11159
11160 PR 17539
11161 * gdb.base/display.exp: Expect displays to be sorted in ascending
11162 order. Use multi_line.
11163 * gdb.base/solib-display.exp: Likewise.
11164
2f341b6e
PA
111652015-11-24 Pedro Alves <palves@redhat.com>
11166
11167 PR 17539
25d49b86
PA
11168 * gdb.base/display.exp: Expect displays to be sorted in ascending
11169 order. Use multi_line.
11170 * gdb.base/solib-display.exp: Likewise.
2f341b6e 11171
7e0aa6aa
PA
111722015-11-24 Pedro Alves <palves@redhat.com>
11173
11174 PR 17539
11175 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11176 threads in ascending order.
11177 * gdb.base/foll-fork.exp: Likewise.
11178 * gdb.base/foll-vfork.exp: Likewise.
11179 * gdb.base/multi-forks.exp: Likewise.
11180 * gdb.mi/mi-nonstop.exp: Likewise.
11181 * gdb.mi/mi-nsintrall.exp: Likewise.
11182 * gdb.multi/base.exp: Likewise.
11183 * gdb.multi/multi-arch.exp: Likewise.
11184 * gdb.python/py-inferior.exp: Likewise.
11185 * gdb.threads/break-while-running.exp: Likewise.
11186 * gdb.threads/execl.exp: Likewise.
11187 * gdb.threads/gcore-thread.exp: Likewise.
11188 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11189 * gdb.threads/kill.exp: Likewise.
11190 * gdb.threads/linux-dp.exp: Likewise.
11191 * gdb.threads/multiple-step-overs.exp: Likewise.
11192 * gdb.threads/next-bp-other-thread.exp: Likewise.
11193 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11194 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11195 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11196 * gdb.threads/thread-find.exp: Likewise.
11197 * gdb.threads/tls.exp: Likewise.
11198 * lib/mi-support.exp (mi_reverse_list): Delete.
11199 (mi_check_thread_states): No longer reverse list.
11200
2cc57ad8
PA
112012015-11-24 Pedro Alves <palves@redhat.com>
11202
11203 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11204 use lowercase.
11205
c93e8391
SM
112062015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11207
11208 * gdb.trace/actions.c: Include trace-common.h.
11209 (main): Add a location for a fast tracepoint.
11210 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11211 the normal tracepoints.
11212 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11213
045ccf91
SM
112142015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11215
11216 * save-trace.exp: Factor out code to these...
11217 (gdb_save_tracepoints): New.
11218 (gdb_load_tracepoints): New.
11219 (do_save_load_test): New.
11220
5506f9f6
KB
112212015-11-23 Kevin Buettner <kevinb@redhat.com>
11222
11223 * gdb.base/asmlabel.exp: New test.
11224 * gdb.base/asmlabel.c: New test case.
11225
16c3b12f
JB
112262015-11-23 Joel Brobecker <brobecker@adacore.com>
11227
11228 * gdb.base/wrong_frame_bt_full-main.c: New file.
11229 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11230 * gdb.base/wrong_frame_bt_full.exp: New file.
11231
155bfbd3
JB
112322015-11-23 Joel Brobecker <brobecker@adacore.com>
11233
11234 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11235
bb097445
JM
112362015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11237
206853a0 11238 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
11239 pstate register when comparing registers values in
11240 sparc64-*-linux-gnu targets to avoid spurious differences.
11241
9c88ed8f
JM
112422015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11243
206853a0 11244 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 11245
96161e25
SL
112462015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11247
11248 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11249 as type argument to gdb_compile.
11250 * gdb.base/nested-subp2.exp: Likewise.
11251 * gdb.base/nested-subp3.exp: Likewise.
11252
340c2830
DV
112532015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11254
11255 * lib/dwarf.exp (_note): Fix left shift of negative value.
11256 * gdb.trace/trace-condition.exp: Likewise.
11257
c1862d0f
YQ
112582015-11-13 Yao Qi <yao.qi@linaro.org>
11259
11260 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11261 comments about d10v.
11262 (test_scalar_returns): Likewise.
11263 * gdb.base/d10v.ld: Remove.
11264 * gdb.base/overlays.exp: Remove the target triplet checking for
11265 d10v-*-*.
11266 * gdb.base/structs.exp (test_struct_returns): Remove the
11267 comments about d10v.
11268 (test_struct_calls): Likewise.
11269
77ae9c19
YQ
112702015-11-13 Yao Qi <yao.qi@linaro.org>
11271
11272 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11273 * gdb.base/gnu_vector.c: Don't include stdio.h.
11274 (main): Don't print res and call add_some_intvecs.
11275
430e004e
MK
112762015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11277
11278 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11279 macro.
11280 (func5): Removed.
11281 (func4): Use FAST_TRACEPOINT_LABEL.
11282 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11283 macro.
11284 (func): Removed.
11285 (thread_function): Use FAST_TRACEPOINT_LABEL.
11286 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11287 (func): Remove.
11288 (marker): Use FAST_TRACEPOINT_LABEL.
11289 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11290 (pendfunc1): Remove.
11291 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11292 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11293 (foo): Remove.
11294 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11295 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11296 macro.
11297 (func): Remove.
11298 (marker): Use FAST_TRACEPOINT_LABEL.
11299 * gdb.trace/trace-common.h: New header.
11300 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11301 macro.
11302 (func): Remove.
11303 (marker): Use FAST_TRACEPOINT_LABEL.
11304 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11305 (func): Remove.
11306 (thread_function): Use FAST_TRACEPOINT_LABEL.
11307
6e7675a7
MK
113082015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11309
11310 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11311 in front.
11312 * gdb.trace/change-loc.exp: Use global pcreg definition.
11313 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11314 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11315 in front.
11316 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11317 * gdb.trace/pending.exp: Likewise.
11318 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11319 * gdb.trace/trace-break.exp: Likewise.
11320 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11321 in front.
11322 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11323 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11324 in front.
11325 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11326
dddc0e16
JB
113272015-11-09 Joel Brobecker <brobecker@adacore.com>
11328
11329 * gdb.ada/fin_fun_out: New testcase.
11330
c6f0b406
KB
113312015-11-07 Kevin Buettner <kevinb@redhat.com>
11332
11333 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11334 value associated with DW_AT_byte_size.
11335 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11336 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11337 DW_AT_upper_bound.
11338
f01dcfd9
KB
113392015-11-07 Kevin Buettner <kevinb@redhat.com>
11340
11341 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11342 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11343 version.
11344 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11345 gdb.dwarf2/dw2-canonicalize-type.exp,
11346 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11347 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11348 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11349 provided by gdb_target_symbol_prefix_flags_asm.
11350 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11351 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11352 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11353 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11354 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11355 macros where needed). Use this macro for symbols which require
11356 the prefix provided by SYMBOL_PREFIX.
11357
2223449a
KB
113582015-11-05 Kevin Buettner <kevinb@redhat.com>
11359
11360 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11361 New procs.
11362 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11363 representing expressions, of more than one list element.
11364 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11365 to prepend linker symbol prefix to f.
11366 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11367 table_1 and table_2.
11368 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11369 Likewise, for f and g.
11370 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11371 for ptr.
11372 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11373 for main.
11374 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11375 table_1_ptr and table_2_ptr.
11376
6f2f1a3a
JK
113772015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11378 Joel Brobecker <brobecker@adacore.com>
11379
11380 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11381
566c56c9
MK
113822015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11383
11384 * gdb.reverse/s390-mvcle.c: New test.
11385 * gdb.reverse/s390-mvcle.exp: New file.
11386 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11387
d5f0636b
MK
113882015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11389
11390 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11391
7ad8b86c
MK
113922015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11393
11394 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11395 reaching marker2.
11396 * gdb.reverse/getresuid-reverse.exp: Likewise.
11397 * gdb.reverse/pipe-reverse.exp: Likewise.
11398 * gdb.reverse/readv-reverse.exp: Likewise.
11399 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11400 * gdb.reverse/time-reverse.exp: Likewise.
11401 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11402
4081c0f1
YQ
114032015-10-30 Yao Qi <yao.qi@linaro.org>
11404
11405 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11406 (empty_cycle): Remove.
11407 (main): Don't call empty_cycle. Don't use watch_count_done.
11408 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11409 empty_cycle. Rewrite the code counting HW watchpoints.
11410
452b4ba5
MK
114112015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11412
11413 * gdb.reverse/fstatat-reverse.c: New test.
11414 * gdb.reverse/fstatat-reverse.exp: New file.
11415 * gdb.reverse/getresuid-reverse.c: New test.
11416 * gdb.reverse/getresuid-reverse.exp: New file.
11417 * gdb.reverse/pipe-reverse.c: New test.
11418 * gdb.reverse/pipe-reverse.exp: New file.
11419 * gdb.reverse/readv-reverse.c: New test.
11420 * gdb.reverse/readv-reverse.exp: New file.
11421 * gdb.reverse/recvmsg-reverse.c: New test.
11422 * gdb.reverse/recvmsg-reverse.exp: New file.
11423 * gdb.reverse/time-reverse.c: New test.
11424 * gdb.reverse/time-reverse.exp: New file.
11425 * gdb.reverse/waitpid-reverse.c: New test.
11426 * gdb.reverse/waitpid-reverse.exp: New file.
11427
5e2e7507
JK
114282015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11429
11430 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11431
0fde2c53
DE
114322015-10-26 Doug Evans <dje@google.com>
11433
11434 PR symtab/17391
11435 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11436 * gdb.dwarf2/bad-regnum.c: New file.
11437 * gdb.dwarf2/bad-regnum.exp: New file.
11438
1a70ae97
DE
114392015-10-26 Doug Evans <dje@google.com>
11440
11441 PR python/18938
11442 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11443 file.
11444
27dc26ab
JK
114452015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11446
11447 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11448 for a change by "Mention language in compile error message".
11449
bed91f4d
SM
114502015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11451
11452 PR python/18073
11453 * gdb.python/py-type.c (C::a_method): New.
11454 (C::a_const_method): New.
11455 (C::a_static_method): New.
11456 (a_function): New.
11457 * gdb.python/py-type.exp (test_fields): Test getting fields
11458 from function and method.
11459
3f2f83dd
KB
114602015-10-21 Keven Boell <keven.boell@intel.com>
11461
11462 * gdb.fortran/vla-alloc-assoc.exp: New file.
11463 * gdb.fortran/vla-datatypes.exp: New file.
11464 * gdb.fortran/vla-datatypes.f90: New file.
11465 * gdb.fortran/vla-history.exp: New file.
11466 * gdb.fortran/vla-ptype-sub.exp: New file.
11467 * gdb.fortran/vla-ptype.exp: New file.
11468 * gdb.fortran/vla-sizeof.exp: New file.
11469 * gdb.fortran/vla-sub.f90: New file.
11470 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11471 * gdb.fortran/vla-value-sub-finish.exp: New file.
11472 * gdb.fortran/vla-value-sub.exp: New file.
11473 * gdb.fortran/vla-value.exp: New file.
11474 * gdb.fortran/vla-ptr-info.exp: New file.
11475 * gdb.mi/mi-vla-fortran.exp: New file.
11476 * gdb.mi/vla.f90: New file.
11477
27145d50
SL
114782015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11479
11480 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11481 of hardwired timeout value.
11482
5f3ff4f8
JK
114832015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11484 Pedro Alves <palves@redhat.com>
11485
11486 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11487 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11488
bfd09d20
JS
114892015-10-19 Josh Stone <jistone@redhat.com>
11490
11491 * gdb.base/catch-syscall.c: Include <sched.h>.
11492 (unknown_syscall): New variable.
11493 (main): Trigger a vfork and an unknown syscall.
11494 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11495 (unknown_syscall_number): Likewise.
11496 (check_call_to_syscall): Accept an optional syscall pattern.
11497 (check_return_from_syscall): Likewise.
11498 (check_continue): Likewise.
11499 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11500 (test_catch_syscall_skipping_return): New test toggling off 'catch
11501 syscall' to step over the syscall return, then toggling back on.
11502 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11503 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11504 (do_syscall_tests): Call test_catch_syscall_without_args and
11505 test_catch_syscall_mid_vfork.
11506 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11507 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11508
b32b93c6
AS
115092015-10-19 Andrew Stubbs <ams@codesourcery.com>
11510
11511 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11512 print g_vE): Add new pass patterns.
11513 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11514 print various symbol names for vptr fields.
11515
9d622bda
AB
115162015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11517
11518 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11519 results.
11520
0fd8ac1c
YQ
115212015-10-12 Yao Qi <yao.qi@linaro.org>
11522
11523 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11524
34240514
YQ
115252015-10-12 Yao Qi <yao.qi@linaro.org>
11526
11527 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11528 is aarch64*-*-linux*.
11529
8240f442
YQ
115302015-10-12 Yao Qi <yao.qi@linaro.org>
11531
11532 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11533 (can_relocate_bcond_true): ... it.
11534 (can_relocate_bcond_false): New function.
11535 (foo): Likewise.
11536 (can_relocate_bl): Likewise.
11537 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11538 can_relocate_bl.
11539
2520f728
PMR
115402015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11541
11542 * gdb.base/nested-addr.c: New file.
11543 * gdb.base/nested-addr.exp: New testcase.
11544
abcef95a
MM
115452015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11546
11547 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11548 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11549 its output. Ignore the output of "record goto begin" and instead
11550 check that GDB is replaying.
11551
145e3ddb
PA
115522015-10-09 Pedro Alves <palves@redhat.com>
11553
11554 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11555 (top level): Use it in the run with no args test.
11556
d5d8c4e1
IB
115572015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11558
11559 * gdb.dlang/properties.exp: New file.
11560
06e635ef
SL
115612015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11562
11563 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11564 whether or not address 0x1000 is mapped on the target.
11565
e019fd1d
SM
115662015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11567
11568 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11569 build.
11570
77ba2a67
MM
115712015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11572
11573 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11574 instruction-history test.
11575
c60eb31f
DE
115762015-09-28 Doug Evans <dje@google.com>
11577
11578 * gdb.base/gcore.c (array_func): Add reference to static_array.
11579
9a3c8263
SM
115802015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11581
11582 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11583 source line.
11584
9720e656
SL
115852015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11586
11587 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11588 short or char as base type.
11589
938d3bf2
SL
115902015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11591
11592 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11593 to allow any size enum.
11594
e6c2c623
PMR
115952015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11596
11597 * gdb.ada/array_ptr_renaming.exp: New testcase.
11598 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11599 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11600
06da0f77
PL
116012015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11602
11603 * gdb.trace/ftrace-lock.c: New file.
11604 * gdb.trace/ftrace-lock.exp: New file.
11605
4f51c22a
PL
116062015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11607
11608 * gdb.arch/insn-reloc.c: New file.
11609 * gdb.arch/ftrace-insn-reloc.exp: New file.
11610
7041adf4
PL
116112015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11612
11613 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11614 instruction.
11615 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11616 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11617 * gdb.trace/range-stepping.c: Likewise.
11618 * gdb.trace/trace-break.c: Likewise.
11619 * gdb.trace/trace-mt.c (thread_function): Likewise.
11620 * gdb.trace/ftrace.c (marker): Likewise.
11621 * gdb.trace/trace-condition.c (marker): Likewise.
11622 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11623 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11624 is_aarch64_target.
11625
015d2e7e
DE
116262015-09-18 Doug Evans <xdje42@gmail.com>
11627
11628 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11629 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11630
26b188a2
SL
116312015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11632
11633 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11634 the breakpoint.
11635
79dc332b
SL
116362015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11637
11638 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11639 the pending breakpoint. Remove timeout override for "Run till
11640 MI pending breakpoint on pendfunc3 on thread 2" test.
11641
f57929f2
SL
116422015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11643
11644 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11645 filename pattern.
11646
3f469b17
SL
116472015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11648
11649 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11650 in breakpoint filename pattern.
11651
515b89b3
SL
116522015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11653
7800dbe4
SL
11654 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11655
116562015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11657
515b89b3
SL
11658 * gdb.linespec/explicit.exp: Check for readline support for
11659 tab-completion tests. Fix obvious typo.
11660
d2939ba2
MM
116612015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11662
11663 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11664 and replay.
11665
cbb55fa7
MM
116662015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11667
11668 * gdb.btrace/non-stop.c: New.
11669 * gdb.btrace/non-stop.exp: New.
11670
43691ca1
PL
116712015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11672 Yao Qi <yao.qi@linaro.org>
11673
11674 * gdb.trace/trace-condition.c: New file.
11675 * gdb.trace/trace-condition.exp: New file.
11676
d78908cf
WW
116772015-09-16 Wei-cheng Wang <cole945@gmail.com>
11678
11679 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11680 for testing bytecode compilation.
11681
1ed415e2
PA
116822015-09-16 Pedro Alves <palves@redhat.com>
11683 Sandra Loosemore <sandra@codesourcery.com>
11684
11685 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11686 (SECONDS): Redefine.
11687 (main): Call pthread_kill and alarm early.
11688 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11689 support.
11690 (test): If the target can't hardware step and doesn't support
11691 displaced stepping, increase the timeout.
11692
d136eff5
PA
116932015-09-16 Pedro Alves <palves@redhat.com>
11694
11695 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11696 (enable_debug): New procedures.
11697 (test): Use them. Bail out if waiting for threads fails.
11698 (top level): Bail out if a test fails.
11699
991f019c
YQ
117002015-09-16 Yao Qi <yao.qi@linaro.org>
11701
11702 * gdb.asm/asm-source.exp: Set asm-arch for
11703 aarch64*-*-* target.
11704 * gdb.asm/aarch64.inc: New file.
11705
bfca584f
PMR
117062015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11707
11708 * gdb.ada/array_of_variable_length.exp: New testcase.
11709 * gdb.ada/array_of_variable_length/foo.adb: New file.
11710 * gdb.ada/array_of_variable_length/pck.adb: New file.
11711 * gdb.ada/array_of_variable_length/pck.ads: New file.
11712
b326e587
DE
117132015-09-15 Doug Evans <dje@google.com>
11714
11715 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11716 of function static local variable.
11717
5382cfab
PW
117182015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11719
11720 * gdb.threads/tls-so_extern.exp: New test file.
11721 * gdb.threads/tls-so_extern.c: New test file.
11722 * gdb.threads/tls-so_extern_main.c: New test file.
11723
141c5cc4
JK
117242015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11725
11726 * gdb.opt/solib-intra-step-lib.c: New file.
11727 * gdb.opt/solib-intra-step-main.c: New file.
11728 * gdb.opt/solib-intra-step.exp: New file.
11729
d15dcecd
PA
117302015-09-15 Pedro Alves <palves@redhat.com>
11731
11732 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11733 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11734
4c2f2a79
PA
117352015-09-14 Pedro Alves <palves@redhat.com>
11736
11737 * gdb.base/hook-stop-continue.c: Delete.
11738 * gdb.base/hook-stop-continue.exp: Delete.
11739 * gdb.base/hook-stop-frame.c: Delete.
11740 * gdb.base/hook-stop-frame.exp: Delete.
11741 * gdb.base/hook-stop.c: New file.
11742 * gdb.base/hook-stop.exp: New file.
11743
919e6dbe
PMR
117442015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11745
11746 * gdb.ada/access_to_packed_array.exp: New testcase.
11747 * gdb.ada/access_to_packed_array/foo.adb: New file.
11748 * gdb.ada/access_to_packed_array/pack.adb: New file.
11749 * gdb.ada/access_to_packed_array/pack.ads: New file.
11750
157280a4
MM
117512015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11752
11753 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11754 buffer size test.
11755
2fd33e94
DB
117562015-09-11 Don Breazeal <donb@codesourcery.com>
11757
11758 * gdb.base/foll-exec.c: Add copyright header. Fix
11759 formatting issues.
11760 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11761 (do_exec_tests): Use clean_restart in place of zap_session,
11762 and for test initialization. Fix formatting issues. Use
11763 fail in place of perror.
11764 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11765 an expect statement to match an expression with output from
11766 the program under debug.
11767 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11768 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11769 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11770 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11771 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11772
e70b6e8e
DE
117732015-09-09 Doug Evans <dje@google.com>
11774
11775 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11776
7a551a51
DE
117772015-09-09 Doug Evans <dje@google.com>
11778
11779 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11780
4c666f84
DE
117812015-09-09 Doug Evans <dje@google.com>
11782
11783 * gdb.base/savedregs.exp: Fix typo.
11784
243a9253
PA
117852015-09-09 Pedro Alves <palves@redhat.com>
11786
11787 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11788
c0fa8fbd
SL
117892015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11790
11791 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11792 command actually switches threads. Give up on remaining
11793 tests if target fails to stop at breakpoint.
11794
cd7c1778
PMR
117952015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11796
11797 * gdb.ada/funcall_char.exp: New testcase.
11798 * gdb.ada/funcall_char/foo.adb: New file.
11799
dc5c8746
PMR
118002015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11801
11802 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11803 expected outputs. Add two testcases for completing ambiguous
11804 functions.
11805 * gdb.ada/complete/aux_pck.adb: New file.
11806 * gdb.ada/complete/aux_pck.ads: New file.
11807 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11808 Ambiguous_Func functions.
11809 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11810 * gdb.ada/complete/pck.adb: Likewise.
11811
4e83a1e7
UW
118122015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11813
11814 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11815 failures to run the test program under GDB.
11816
8ce74153
LM
118172015-08-26 Luis Machado <lgustavo@codesourcery.com>
11818
11819 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11820 to C.
11821
e9756d52
PP
118222015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11823
11824 * gdb.base/run-after-attach.exp: New test file.
11825 * gdb.base/run-after-attach.c: New test file.
11826
8d37573b
DB
118272015-08-26 Don Breazeal <donb@codesourcery.com>
11828
11829 * gdb.base/foll-exec-2.c: New test program.
11830 * gdb.base/foll-exec-2.exp: New test.
11831
63e43d3a
PMR
118322015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11833
11834 * gdb.base/nested-subp1.exp: New file.
11835 * gdb.base/nested-subp1.c: New file.
11836 * gdb.base/nested-subp2.exp: New file.
11837 * gdb.base/nested-subp2.c: New file.
11838 * gdb.base/nested-subp3.exp: New file.
11839 * gdb.base/nested-subp3.c: New file.
11840
3d40fbb5
PA
118412015-08-24 Pedro Alves <palves@redhat.com>
11842
11843 * gdb.server/connect-without-multi-process.c: New file.
11844 * gdb.server/connect-without-multi-process.exp: New file.
11845
4422ac93
LM
118462015-08-24 Luis Machado <lgustavo@codesourcery.com>
11847
11848 * gdb.opt/inline-markers.c: Make z int.
11849
91dddb86
LM
118502015-08-24 Luis Machado <lgustavo@codesourcery.com>
11851
11852 * gdb.opt/inline-markers.c: Make z volatile.
11853
a48847ee
LM
118542015-08-24 Luis Machado <lgustavo@codesourcery.com>
11855
11856 * gdb.opt/inline-bt.c: New volatile global z.
11857 * gdb.opt/inline-cmds.c: Likewise.
11858 * gdb.opt/inline-locals.c: Likewise.
11859 * gdb.opt/inline-markers.c: New extern global z.
11860 (marker): Use z.
11861 (inline_fn): Likewise.
11862
0ebbc52b
PA
118632015-08-24 Pedro Alves <palves@redhat.com>
11864
11865 * config/m32r-stub.exp: Remove file.
11866 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11867 * gdb.base/call-rt-st.exp: Likewise.
11868 * gdb.base/call-strs.exp: Likewise.
11869 * gdb.base/default.exp: Remove references to h8300-*-hms and
11870 *-*-udi*.
11871 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11872
77c365df
AA
118732015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11874
11875 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11876 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11877 and "return" use KFAIL when GDB can not read/write the vector
11878 return value.
11879
4313b8c0
GB
118802015-08-21 Gary Benson <gbenson@redhat.com>
11881
11882 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11883
0e433b32
PA
118842015-08-20 Pedro Alves <palves@redhat.com>
11885
11886 * gdb.server/solib-list.exp: No longer expect an interior stop in
11887 non-stop mode.
11888
221e1a37
PA
118892015-08-20 Pedro Alves <palves@redhat.com>
11890
11891 * gdb.server/connect-stopped-target.c: New file.
11892 * gdb.server/connect-stopped-target.exp: New file.
11893
40e3ad0e
PA
118942015-08-20 Pedro Alves <palves@redhat.com>
11895
11896 * gdb.dwarf2/comp-unit-lang.exp: New file.
11897 * gdb.dwarf2/comp-unit-lang.c: New file.
11898
af39b327
PMR
118992015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11900
11901 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11902 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11903
7d45c7c3 119042015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 11905
7d45c7c3
KB
11906 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11907 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11908
4d6cceb4
DE
119092015-08-18 Doug Evans <dje@google.com>
11910 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11911
11912 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11913 skip_python_tests. New arg prompt_regexp.
11914 (skip_python_tests): New function.
11915 * lib/mi-support.exp (mi_skip_python_tests): New function.
11916 * gdb.python/py-mi-objfile-gdb.py: New file.
11917 * gdb.python/py-mi-objfile.c: New file.
11918 * gdb.python/py-mi-objfile.exp: New file.
11919
ad89c2aa
KS
119202015-08-17 Keith Seitz <keiths@redhat.com>
11921
11922 * gdb.linespec/explicit.exp: Move strace test from here ...
11923 * gdb.trace/strace.exp: ... to here.
11924
e3ae3c43
PP
119252015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11926
11927 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11928 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11929
604b2636
DE
119302015-08-14 Doug Evans <xdje42@gmail.com>
11931
11932 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11933 inferior before selecting a new file.
11934
6ff0ba5f
DE
119352015-08-14 Doug Evans <xdje42@gmail.com>
11936
11937 * gdb.mi/mi-disassemble.exp: Update.
11938 * gdb.base/disasm-optim.S: New file.
11939 * gdb.base/disasm-optim.c: New file.
11940 * gdb.base/disasm-optim.h: New file.
11941 * gdb.base/disasm-optim.exp: New file.
11942
9ca98f92
KS
119432015-08-14 Keith Seitz <keiths@redhat.com>
11944
11945 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11946 "evaluated-by".
11947
52bbc560
JB
119482015-08-13 Joel Brobecker <brobecker@adacore.com>
11949
11950 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11951
5d8c3ed3
PMR
119522015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11953
11954 * gdb.ada/fun_renaming.exp: New testcase.
11955 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11956 * gdb.ada/fun_renaming/pack.adb: New file.
11957 * gdb.ada/fun_renaming/pack.ads: New file.
11958
ea8812bc
KS
119592015-08-12 Keith Seitz <keiths@redhat.com>
11960
11961 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11962 gdb_get_line_number.
11963
4dafcdeb
JB
119642015-08-12 Joel Brobecker <brobecker@adacore.com>
11965
11966 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11967 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11968 gdb.base/dso2dso.exp: New files.
11969
5ba32597
SDJ
119702015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11971 Pedro Alves <palves@redhat.com>
11972 Keith Seitz <keiths@redhat.com>
11973
11974 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11975 GDBFLAGS.
11976
b6dafabf
PP
119772015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11978
11979 * gdb.base/gdbhistsize-history.exp
11980 (test_histsize_history_setting): Use save_vars.
11981 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11982 Use save_vars.
11983 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11984 * gdb.base/readline.exp: Use save_vars.
11985
abe8e607
PP
119862015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11987
11988 * lib/gdb.exp (save_vars): New proc.
11989
629500fa
KS
119902015-08-11 Keith Seitz <keiths@redhat.com>
11991
11992 * gdb.base/help.exp: Update help_breakpoint_text.
11993
eb8c4e2e
KS
119942015-08-11 Keith Seitz <keiths@redhat.com>
11995
11996 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11997 (at toplevel): Call test_explicit_breakpoints.
11998 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11999 breakpoints.
12000 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12001 breakpoint conditions, "-cond".
12002
87f0e720
KS
120032015-08-11 Keith Seitz <keiths@redhat.com>
12004
12005 * gdb.linespec/3explicit.c: New file.
12006 * gdb.linespec/cpexplicit.cc: New file.
12007 * gdb.linespec/cpexplicit.exp: New file.
12008 * gdb.linespec/explicit.c: New file.
12009 * gdb.linespec/explicit.exp: New file.
12010 * gdb.linespec/explicit2.c: New file.
12011 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12012 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12013 before using in the matching pattern.
12014 Clarify that `prefix' is a regular expression.
12015
f00aae0f
KS
120162015-08-11 Keith Seitz <keiths@redhat.com>
12017
12018 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12019 test.
12020 Add tests for missing ",FMT" and ",".
12021
e27852be
DE
120222015-08-10 Doug Evans <dje@google.com>
12023 Keith Seitz <keiths@redhat.com>
12024
12025 PR gdb/17960
12026 * gdb.base/completion.exp: Add location completer tests.
12027
7f03bd92
PA
120282015-08-07 Pedro Alves <palves@redhat.com>
12029
12030 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12031 tests here.
12032 (top level): Run do_test with and without displaced stepping.
12033
3fc8eb30
PA
120342015-08-07 Pedro Alves <palves@redhat.com>
12035
12036 * gdb.base/valgrind-disp-step.c: New file.
12037 * gdb.base/valgrind-disp-step.exp: New file.
12038
d4569d7b
PA
120392015-08-07 Pedro Alves <palves@redhat.com>
12040
12041 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12042 Delete function.
12043 (main): Add alarm. Run an infinite loop instead of calling
12044 wait_threads.
12045 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12046 comment.
12047 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12048 Delete function.
12049 (main): Add alarm. Run an infinite loop instead of calling
12050 wait_threads.
12051 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12052 comment.
12053
e1316e60
PA
120542015-08-07 Pedro Alves <palves@redhat.com>
12055
12056 * gdb.base/checkpoint-ns.exp: New file.
12057 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12058 standard_testfile.
12059
da8c46d2
MM
120602015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12061
12062 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12063 * gdb.btrace/instruction_history.exp: Update.
12064 * gdb.btrace/tsx.exp: New.
12065 * gdb.btrace/tsx.c: New.
12066
de1c2c52
PA
120672015-08-06 Pedro Alves <palves@redhat.com>
12068
12069 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12070 increase timeout.
12071 * gdb.reverse/until-precsave.exp: Bump timeouts.
12072
782e0bf4
PA
120732015-08-06 Pedro Alves <palves@redhat.com>
12074
12075 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12076
83e97ed0
PA
120772015-08-06 Pedro Alves <palves@redhat.com>
12078
12079 PR gdb/18749
12080 * gdb.threads/process-dies-while-handling-bp.c: New file.
12081 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12082
863d01bd
PA
120832015-08-06 Pedro Alves <palves@redhat.com>
12084
12085 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12086 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12087
0a39bb32
PA
120882015-08-05 Pedro Alves <palves@redhat.com>
12089
12090 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12091 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12092
ee2d2b10
SL
120932015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12094
12095 * gdb.base/bp-permanent.exp: Report test as unsupported if
12096 the target cannot stop at the permanent breakpoint.
12097
4e1bdb00
DE
120982015-08-03 Doug Evans <dje@google.com>
12099
12100 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12101 10000.
12102
3d338901
DE
121032015-08-03 Doug Evans <dje@google.com>
12104
12105 * Makefile.in (workers/%.worker, build-perf): New rule.
12106 (GDB_PERFTEST_MODE): New variable.
12107 (check-perf): Use it.
12108 (clean): Clean up gdb.perf parallel build subdirs.
12109 * lib/build-piece.exp: New file.
12110 * lib/gdb.exp (make_gdb_parallel_path): New function
12111 (standard_output_file, standard_temp_file): Call it.
12112 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12113 of $GDB_PARALLEL.
12114 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12115
af061d3e
DE
121162015-08-03 Doug Evans <dje@google.com>
12117
8e1afc81 12118 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
12119 (LOG_FILE_NAME): New global.
12120 (TextReporter.__init__): Initialize self.txt_sum.
12121 (TextReporter.report): Add support for multiple data-points.
12122 Move report to perftest.sum, put raw data in perftest.log.
12123 (TextReporter.start): Open sum and log files.
12124 (TextReporter.end): Close sum and log files.
8e1afc81
DE
12125 * gdb.perf/lib/perftest/testresult.py
12126 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 12127
2c8c5d37
PA
121282015-07-31 Pedro Alves <palves@redhat.com>
12129
12130 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12131 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12132 kill_wait_spawned_process instead of explicit "kill -9".
12133 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12134 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12135 kill_wait_spawned_process.
12136 * gdb.base/attach-twice.exp: Likewise.
12137 * gdb.base/attach.exp: Likewise.
12138 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12139 gdb_test_multiple.
12140 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12141 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12142 kill_wait_spawned_process.
12143 * gdb.base/valgrind-infcall.exp: Likewise.
12144 * gdb.multi/multi-attach.exp: Likewise.
12145 * gdb.python/py-prompt.exp: Likewise.
12146 * gdb.python/py-sync-interp.exp: Likewise.
12147 * gdb.server/ext-attach.exp: Likewise.
12148 * gdb.threads/attach-into-signal.exp (corefunc): Use
12149 spawn_wait_for_attach, spawn_id_get_pid and
12150 kill_wait_spawned_process.
12151 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12152 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12153 spawn_id_get_pid and kill_wait_spawned_process.
12154 * gdb.threads/attach-stopped.exp (corefunc): Use
12155 spawn_wait_for_attach, spawn_id_get_pid and
12156 kill_wait_spawned_process.
12157 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12158 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12159 kill_wait_spawned_process instead of explicit "kill -9".
12160 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12161 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12162 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12163 processes. Don't map cygwin/windows pids here. Now returns a
12164 spawn id list.
12165
032a0fca
SL
121662015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12167
12168 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12169 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12170 correct patch.
12171
61a934ca
SL
121722015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12173
12174 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12175
4bc4d428
SL
121762015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12177
12178 Reapply:
12179 2014-05-21 Mark Wielaard <mjw@redhat.com>
12180
12181 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12182
998d452a
PA
121832015-07-30 Pedro Alves <palves@redhat.com>
12184
12185 * linux-low.c (handle_extended_wait): Set the child's last
12186 reported status to TARGET_WAITKIND_STOPPED.
12187
69dde7dc
PA
121882015-07-30 Pedro Alves <palves@redhat.com>
12189
12190 PR threads/18600
12191 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12192 only shows inferior 1.
12193
4dd63d48
PA
121942015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12195 Pedro Alves <palves@redhat.com>
12196
12197 PR threads/18600
12198 * gdb.threads/fork-plus-threads.c: New file.
12199 * gdb.threads/fork-plus-threads.exp: New file.
12200
d618e4c5
PP
122012015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12202
12203 * gdb.base/batch-preserve-term-settings.exp
12204 (test_terminal_settings_preserved_after_cli_exit): Use
12205 send_quit_command.
12206
1eef6428
PA
122072015-07-29 Pedro Alves <palves@redhat.com>
12208 Don Breazeal <donb@codesourcery.com>
12209
12210 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12211 output from both inferior_spawn_id and gdb_spawn_id.
12212
7da5b897
SDJ
122132015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12214
12215 * gdb.threads/attach-into-signal.exp (corefunc): Use
12216 with_test_prefix on nested loops, uniquefying the test messages.
12217
dac804df
SDJ
122182015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12219
12220 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12221 commit.
12222
06265e53
PP
122232015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12224
12225 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12226 New proc.
12227 (test_terminal_settings_preserved_after_sigterm): New test.
12228
18206ca3
PP
122292015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12230
12231 * gdb.base/batch-preserve-term-settings.exp
12232 (test_terminal_settings_preserved_after_cli_exit): New test.
12233
90074d11
PP
122342015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12235
12236 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12237 manipulation of saved_gdbflags.
12238 (test_terminal_settings_preserved): Remove global declaration of
12239 the unused variable pagination_prompt. Remove manipulation of
12240 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12241 GDBFLAGS.
12242
eb1a7902
PA
122432015-07-29 Pedro Alves <palves@redhat.com>
12244
12245 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12246
8b75dd3b
PA
122472015-07-29 Pedro Alves <palves@redhat.com>
12248
12249 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12250 at the top.
12251
dedad4e3
PA
122522015-07-29 Pedro Alves <palves@redhat.com>
12253
12254 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12255 (main): Call gdb_unbuffer_output.
12256 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12257 (main): Call gdb_unbuffer_output.
12258 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12259 (main): Call gdb_unbuffer_output.
12260 * gdb.base/call-strs.exp: Adjust to step over the
12261 gdb_unbuffer_output call.
12262 * gdb.base/catch-gdb-caused-signals.c: Include
12263 "../lib/unbuffer_output.c".
12264 (main): Call gdb_unbuffer_output.
12265 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12266 (main): Call gdb_unbuffer_output.
12267 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12268 (main): Call gdb_unbuffer_output.
12269 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12270 (main): Call gdb_unbuffer_output.
12271 * gdb.base/shlib-call.exp: Adjust to step over the
12272 gdb_unbuffer_output call.
12273 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12274 (main): Call gdb_unbuffer_output.
12275 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12276 (main): Call gdb_unbuffer_output.
12277 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12278 (main): Rename to ...
12279 (test): ... this.
12280 (main): Reimplement.
12281 * gdb.base/varargs.exp: Run to test instead of to main.
12282 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12283 (main): Call gdb_unbuffer_output.
12284
58789a91
PA
122852015-07-29 Pedro Alves <palves@redhat.com>
12286
12287 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12288 factore out from mi_continue_dprintf. For call-style dprintfs,
12289 expect dprintf output out of $inferior_spawn_id.
12290 (mi_continue_dprintf): Use mi_expect_dprintf.
12291 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12292 (main): Call gdb_unbuffer_output.
12293
e8376742
PA
122942015-07-29 Pedro Alves <palves@redhat.com>
12295
12296 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12297 (default_mi_gdb_start): Set inferior_spawn_id instead of
12298 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12299 gdb_spawn_id.
12300 (mi_gdb_test): Always expect inferior output from both
12301 $inferior_spawn_id and $gdb_spawn_id.
12302
08280010
PA
123032015-07-29 Pedro Alves <palves@redhat.com>
12304
12305 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12306 send_inferior and $inferior_spawn_id.
12307
4d30e432
PA
123082015-07-29 Pedro Alves <palves@redhat.com>
12309
12310 * gdb.gdb/complaints.exp (test_initial_complaints)
12311 (test_serial_complaints, test_short_complaints): Use
12312 gdb_test_stdio.
12313 (test_empty_complaint): Handle $inferior_spawn_id !=
12314 $gdb_spawn_id.
12315
0d30a335
PA
123162015-07-29 Pedro Alves <palves@redhat.com>
12317
12318 * gdb.base/varargs.exp: Use gdb_test_stdio.
12319
39413b29
PA
123202015-07-29 Pedro Alves <palves@redhat.com>
12321
12322 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12323
7cb000a9
PA
123242015-07-29 Pedro Alves <palves@redhat.com>
12325
12326 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12327
d7b8ac82
PA
123282015-07-29 Pedro Alves <palves@redhat.com>
12329
12330 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12331 parameter into two new parameters, "inf_result" and "gdb_result".
12332 Expect inferior output and gdb output from $inferior_spawn_id and
12333 $gdb_spawn_id, respectively. Adjust all callers.
12334
789c3a0c
PA
123352015-07-29 Pedro Alves <palves@redhat.com>
12336
12337 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12338 of gdb_test_sequence.
12339
77e760c3
PA
123402015-07-29 Pedro Alves <palves@redhat.com>
12341
12342 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12343 (saw_spurious_output): Expect inferior output from
12344 $inferior_spawn_id. Use gdb_test_stdio.
12345
8396d2cd
PA
123462015-07-29 Pedro Alves <palves@redhat.com>
12347
12348 * gdb.base/dprintf.exp: Use standard_testfile. Change
12349 prepare_for_testing call.
12350 (srcfile): Don't set.
12351 (restart): New procedure.
12352 (test_dprintf): New procecure, use to continue over dprintfs.
12353 (test_call, test_agent): New procedures, tests moved here.
12354 Restart gdb and recreate dprintfs. Adjust expected output.
12355
2051d61f
PA
123562015-07-29 Pedro Alves <palves@redhat.com>
12357
12358 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12359
452397af
PA
123602015-07-29 Pedro Alves <palves@redhat.com>
12361
12362 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12363
8aed9555
PA
123642015-07-29 Pedro Alves <palves@redhat.com>
12365
12366 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12367 gdb_test_stdio.
12368
188a61b4
PA
123692015-07-29 Pedro Alves <palves@redhat.com>
12370
12371 * lib/gdb.exp (gdb_test_stdio): New procedure.
12372
12264a45
PA
123732015-07-29 Pedro Alves <palves@redhat.com>
12374
12375 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12376
23ffc893
PA
123772015-07-29 Pedro Alves <palves@redhat.com>
12378
12379 * gdb.base/call-signal-resume.exp: Remove check for
12380 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12381 * gdb.base/unwindonsignal.exp: Likewise.
12382 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12383 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12384
65566918
PA
123852015-07-29 Pedro Alves <palves@redhat.com>
12386
12387 * gdb.base/siginfo-addr.c (pass): New function.
12388 (handler): Call it iff si_addr is correct.
12389 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12390 Set a breakpoint at "pass" and continue to it.
12391
d60a9221
SDJ
123922015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12393
12394 * gdb.python/py-objfile.exp: Make some tests have unique names.
12395 * gdb.python/py-pp-registration.exp: Likewise.
12396
bde40b8f
PA
123972015-07-28 Pedro Alves <palves@redhat.com>
12398
12399 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12400
13e1dec8
SM
124012015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12402
12403 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12404
da33c9a7
SM
124052015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12406
12407 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12408
077836f7
PP
124092015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12410
12411 * gdb.base/gdb-sigterm-2.exp: New test.
12412
b8cc7b2e
DE
124132015-07-25 Doug Evans <xdje42@gmail.com>
12414
12415 Revert:
12416 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12417 (workers/%.worker, build-perf): New rule.
12418 (GDB_PERFTEST_MODE): New variable.
12419 (check-perf): Use it.
12420 (clean): Clean up gdb.perf parallel build subdirs.
12421 * lib/build-piece.exp: New file.
12422 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12423 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12424 name.
12425 (standard_temp_file): Ditto.
12426 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12427 of $GDB_PARALLEL.
12428
c8bd4544
DE
124292015-07-24 Doug Evans <dje@google.com>
12430
12431 * gdb.perf/lib/perftest/utils.py: New file.
12432 * gdb.perf/gm-hello.cc: New file.
12433 * gdb.perf/gm-pervasive-typedef.cc: New file.
12434 * gdb.perf/gm-pervasive-typedef.h: New file.
12435 * gdb.perf/gm-std.cc: New file.
12436 * gdb.perf/gm-std.h: New file.
12437 * gdb.perf/gm-use-cerr.cc: New file.
12438 * gdb.perf/gm-utils.h: New file.
12439 * gdb.perf/gmonster-null-lookup.py: New file.
12440 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12441 * gdb.perf/gmonster-print-cerr.py: New file.
12442 * gdb.perf/gmonster-ptype-string.py: New file.
12443 * gdb.perf/gmonster-runto-main.py: New file.
12444 * gdb.perf/gmonster-select-file.py: New file.
12445 * gdb.perf/gmonster1-null-lookup.exp: New file.
12446 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12447 * gdb.perf/gmonster1-print-cerr.exp: New file.
12448 * gdb.perf/gmonster1-ptype-string.exp: New file.
12449 * gdb.perf/gmonster1-runto-main.exp: New file.
12450 * gdb.perf/gmonster1-select-file.exp: New file.
12451 * gdb.perf/gmonster1.cc: New file.
12452 * gdb.perf/gmonster1.exp: New file.
12453 * gdb.perf/gmonster2-null-lookup.exp: New file.
12454 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12455 * gdb.perf/gmonster2-print-cerr.exp: New file.
12456 * gdb.perf/gmonster2-ptype-string.exp: New file.
12457 * gdb.perf/gmonster2-runto-main.exp: New file.
12458 * gdb.perf/gmonster2-select-file.exp: New file.
12459 * gdb.perf/gmonster2.cc: New file.
12460 * gdb.perf/gmonster2.exp: New file.
12461
6eab34f3
DE
124622015-07-24 Doug Evans <dje@google.com>
12463
12464 * gdb.perf/README: New file.
12465 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12466 * lib/gen-perf-test.exp: New file.
12467
63738bfd
DE
124682015-07-24 Doug Evans <dje@google.com>
12469
12470 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12471 (PerfTest::startup): New function.
12472 (PerfTest::run): Return result of calling body.
12473 (PerfTest::assemble): Rewrite.
12474 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12475 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12476 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12477 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12478 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12479
7b606f95
DE
124802015-07-24 Doug Evans <dje@google.com>
12481
12482 * lib/gdb.exp (clean_restart): Make executable optional.
12483
a97b16b8
DE
124842015-07-24 Doug Evans <dje@google.com>
12485
12486 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12487 compiler_info references.
12488 * gdb.cp/temargs.exp: Ditto.
12489 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12490 (get_compiler_info): Early exit if already computed. Set compiler_info
12491 to "unknown" if there was a problem.
12492 (test_compiler_info): Add function comment. Call get_compiler_info.
12493
35baa57f
DE
124942015-07-24 Doug Evans <dje@google.com>
12495
12496 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12497 (workers/%.worker, build-perf): New rule.
12498 (GDB_PERFTEST_MODE): New variable.
12499 (check-perf): Use it.
12500 (clean): Clean up gdb.perf parallel build subdirs.
12501 * lib/build-piece.exp: New file.
12502 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12503 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12504 name.
12505 (standard_temp_file): Ditto.
12506 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12507 of $GDB_PARALLEL.
12508
6ebea266
DE
125092015-07-24 Doug Evans <dje@google.com>
12510
12511 * lib/future.exp (gdb_default_target_compile): New option
12512 "early_flags".
12513 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12514 --as-needed.
12515
1e76a7e9
SDJ
125162015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12517
12518 * gdb.base/catch-syscall.exp: Call gdb_exit before
12519 gdb_skip_xml_test.
12520
5068630a
PA
125212015-07-24 Pedro Alves <palves@redhat.com>
12522
12523 * gdb.python/py-events.exp: Accept output between the stop event
12524 and the prompt.
12525 * gdb.python/py-evsignal.exp: Likewise.
12526 * gdb.python/py-evthreads.exp: Likewise.
12527
77598427
PA
125282015-07-24 Pedro Alves <palves@redhat.com>
12529
12530 PR gdb/18717
12531 * gdb.threads/non-ldr-exit.c: New file.
12532 * gdb.threads/non-ldr-exit.exp: New file.
12533
11e6c98f
YQ
125342015-07-24 Yao Qi <yao.qi@linaro.org>
12535
12536 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12537 restarting process.
12538
51aee833
YQ
125392015-07-24 Yao Qi <yao.qi@linaro.org>
12540
12541 * gdb.server/ext-restart.exp: New file.
12542
8cfe207c
YQ
125432015-07-24 Yao Qi <yao.qi@linaro.org>
12544
12545 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12546 argument options.
12547 * gdb.server/ext-wrapper.exp: New file.
12548
cc12ce38
DE
125492015-07-23 Doug Evans <dje@google.com>
12550
12551 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12552 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12553
d0d84780
PMR
125542015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12555
12556 * gdb.ada/var_arr_typedef.exp: New testcase.
12557 * gdb.ada/var_arr_typedef/pack.adb: New file.
12558 * gdb.ada/var_arr_typedef/pack.ads: New file.
12559 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12560
8b558f79
JB
125612015-07-20 Joel Brobecker <brobecker@adacore.com>
12562
12563 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12564
775a3298
JK
125652015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12566
12567 * gdb.arch/i386-biarch-core.exp: Replace istarget
12568 by "complete set gnutarget". Remove expectation for the "core-file"
12569 command.
12570
db1ff28b
JK
125712015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12572
12573 Revert the previous commit:
12574 Tests for validate symbol file using build-id.
12575
0a94970d
JK
125762015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12577
12578 Tests for validate symbol file using build-id.
12579 * gdb.base/solib-mismatch-lib.c: New file.
12580 * gdb.base/solib-mismatch-libmod.c: New file.
12581 * gdb.base/solib-mismatch.c: New file.
12582 * gdb.base/solib-mismatch.exp: New file.
12583
03346981
SL
125842015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12585
12586 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12587 nios2-*-linux*.
12588 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12589 * gdb.base/siginfo.exp: Likewise.
12590 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12591
42422cc7
PL
125922015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12593
12594 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12595 Move it to ...
12596 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12597 ... here.
12598 * gdb.trace/range-stepping.exp: Check that the target supports
12599 range stepping.
12600
cfa68bae
JK
126012015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12602
12603 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12604
8ffdba26
PA
126052015-07-14 Pedro Alves <palves@redhat.com>
12606
12607 * gdb.base/killed-outside.exp: New file.
12608 * gdb.base/killed-outside.c: New file.
12609
218a5a11
JK
126102015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12611
12612 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12613 (n at main): New.
12614 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12615
e03ed3c6
AA
126162015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12617
12618 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12619 infcall tests instead of setting up for KFAIL.
12620
485668e5
MM
126212015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12622
12623 * gdb.btrace/record_goto-step.exp: New.
12624
08464196
JK
126252015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12626
12627 PR compile/18484
12628 * gdb.compile/compile.c (struct struct_type): Add volatile to
12629 selffield's type.
12630 * gdb.compile/compile.exp
12631 (compile code struct_object.selffield = &struct_object): Skip further
12632 struct_object tests if this one xfails.
12633
bcf5c1d9
RC
126342015-07-08 Robert O'Callahan <robert@ocallahan.org>
12635
12636 PR exp/18617
12637 * gdb.trace/ax.exp: Add test.
12638
4931af25
YQ
126392015-07-07 Yao Qi <yao.qi@linaro.org>
12640
12641 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12642 instead of istarget "aarch64*-*-*".
12643 * gdb.arch/aarch64-fp.exp: Likewise.
12644 * gdb.base/float.exp: Likewise.
12645 * gdb.reverse/aarch64.exp: Likewise.
12646 * lib/gdb.exp (is_aarch64_target): New proc.
12647
9fcf688e
YQ
126482015-07-07 Yao Qi <yao.qi@linaro.org>
12649
12650 * lib/gdb.exp (is_aarch32_target): New proc.
12651 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12652 instead of "istarget "arm*-*-*"".
12653 * gdb.arch/arm-disp-step.exp: Likewise.
12654 * gdb.arch/thumb-bx-pc.exp: Likewise.
12655 * gdb.arch/thumb-prologue.exp: Likewise.
12656 * gdb.arch/thumb-singlestep.exp: Likewise.
12657 * gdb.base/disp-step-syscall.exp: Likewise.
12658 * gdb.base/float.exp: Likewise.
12659
fbd8d50d
YQ
126602015-07-07 Yao Qi <yao.qi@linaro.org>
12661
12662 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12663 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12664
71be1fdc
YQ
126652015-07-07 Yao Qi <yao.qi@linaro.org>
12666
12667 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12668 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12669 if it exists.
12670 * gdb.multi/multi-arch.exp: Likewise.
12671
3e221d36
SM
126722015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12673
12674 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12675 print.
12676
d441430b
YQ
126772015-07-07 Yao Qi <yao.qi@linaro.org>
12678
12679 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12680
06f810bd
MG
126812015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12682
12683 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12684 '[' and ']' characters.
12685
5e61e7c0
IB
126862015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12687
12688 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12689
28bf096c
PA
126902015-06-29 Pedro Alves <palves@redhat.com>
12691
12692 PR threads/18127
12693 * gdb.threads/hand-call-new-thread.c: New file.
12694 * gdb.threads/hand-call-new-thread.c: New file.
12695
ee93cd5e
KS
126962015-06-26 Keith Seitz <keiths@redhat.com>
12697 Doug Evans <dje@google.com>
12698
12699 PR 16253
12700 * gdb.cp/var-tag-2.cc: New file.
12701 * gdb.cp/var-tag-3.cc: New file.
12702 * gdb.cp/var-tag-4.cc: New file.
12703 * gdb.cp/var-tag.cc: New file.
12704 * gdb.cp/var-tag.exp: New file.
12705
fc637f04
PP
127062015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12707
12708 * gdb.base/history-duplicates.exp: New test.
12709
2e52ae68
PP
127102015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12711
12712 * gdb.base/completion.exp: Test the completion of the "focus"
12713 command.
12714
6e22494e
JK
127152015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12716
12717 * gdb.arch/amd64-prologue-skip.S: New file.
12718 * gdb.arch/amd64-prologue-skip.exp: New file.
12719
bf7b9cd9
SM
127202015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12721
12722 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12723 is_address_zero_readable check.
12724
201e8dfd
PB
127252015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12726
12727 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12728 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12729
5cd867b4
YQ
127302015-06-24 Yao Qi <yao.qi@linaro.org>
12731
12732 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12733 linux targets.
12734
4d7be007
YQ
127352015-06-24 Yao Qi <yao.qi@linaro.org>
12736
12737 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12738 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12739 * gdb.base/siginfo-thread.exp: Likewise.
12740
07fcd301
YQ
127412015-06-22 Yao Qi <yao.qi@linaro.org>
12742
12743 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12744
52042a00
YQ
127452015-06-22 Yao Qi <yao.qi@linaro.org>
12746
12747 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12748 aarch64*-*-*.
12749 (skip_hw_watchpoint_tests): Likewise.
12750
74bd41ce
PP
127512015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12752
12753 * gdb.base/gdbinit-history.exp: Test the interaction between
12754 setting GDBHISTSIZE and setting the history size via .gdbinit.
12755
bc460514
PP
127562015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12757
12758 PR gdb/16999
12759 * gdb.base/gdbhistsize-history.exp: New test.
12760
b58c513b
PP
127612015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12762
12763 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12764 with GDBHISTSIZE.
12765 * gdb.base/readline.exp: Likewise.
12766
92046791
YQ
127672015-06-17 Yao Qi <yao.qi@linaro.org>
12768
12769 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12770 line.
12771
2093d2d3
PP
127722015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12773
12774 * gdb.base/gdbinit-history.exp: Add test case to check that
12775 an unlimited history file does not get truncated on exit.
12776
e6c693af
AA
127772015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12778
12779 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12780 (VECTOR): New macro. Use it...
12781 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12782 ...for these typedefs.
12783 (int8, char1, int1, double1): New typedefs.
12784 (struct just_int2, struct two_int2): New structures.
12785 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12786 (add_structvecs, add_singlevecs): New functions.
12787 (main): Call add_some_intvecs twice.
12788 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12789 the compile and exit upon failure. Try compiling for the "native"
12790 architecture. Test inferior function calls with vector arguments
12791 and vector return value handling with "finish" and "return".
12792
c74f7d1c
JT
127932015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12794
12795 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12796 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12797 PE file.
12798 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12799
98aa42ee
AT
128002015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12801
12802 PR breakpoints/16465
12803 * gdb.mi/mi-dprintf-pending.c: New file.
12804 * gdb.mi/mi-dprintf-pending.exp: New test.
12805 * gdb.mi/mi-dprintf-pendshr.c: New file.
12806
7d73c23c 128072015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 12808 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
12809
12810 * gdb.arch/i386-mpx-map.c: New file.
12811 * gdb.arch/i386-mpx-map.exp: New File.
12812
128132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12814
12815 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12816 * gdb.arch/i386-mpx.exp: Indentation fixed.
12817
128182015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12819
12820 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12821 function and improved indentation.
12822 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12823 gdb_test_multiple. Added additional tests to skip the test.
12824
128252015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12826
12827 * gdb.arch/i386-avx512.c: Change path in include file.
12828 * gdb.arch/i386-avx512.exp: Change include dir path
12829 compilation flag.
12830 * gdb.arch/i386-mpx.c: Change path in include file.
12831 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12832 flag.
12833
d5eba19a
JK
128342015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12835
12836 * gdb.compile/compile-print.exp (compile print *vararray@3)
12837 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12838
7f361056
JK
128392015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12840
12841 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12842 (do not keep jit in memory): ... this.
12843 (expect 5): Change it to ...
12844 (expect no 5): ... this.
12845
3b462ec2
SM
128462015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12847
12848 PR gdb/15564
12849 * gdb.mi/mi-detach.exp: New file.
12850
e0619de6
JK
128512015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12852
12853 PR symtab/18392
12854 * gdb.arch/amd64-tailcall-self.S: New file.
12855 * gdb.arch/amd64-tailcall-self.c: New file.
12856 * gdb.arch/amd64-tailcall-self.exp: New file.
12857
e970cb34
DB
128582015-05-28 Don Breazeal <donb@codesourcery.com>
12859
12860 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12861 tests for remote targets by checking is_target_gdbserver.
12862
b2e2f908
DE
128632015-05-27 Doug Evans <dje@google.com>
12864
12865 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12866 * gdb.dwarf2/opaque-type-lookup.c: New file.
12867 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12868
82c7be31
DE
128692015-05-26 Doug Evans <dje@google.com>
12870
12871 * gdb.cp/iostream.cc: New file.
12872 * gdb.cp/iostream.exp: New file.
12873
b4f54984
DE
128742015-05-26 Doug Evans <dje@google.com>
12875
12876 * gdb.dwarf2/dw2-op-call.exp: Update.
12877 * gdb.dwarf2/dw4-sig-types.exp: Update.
12878 * gdb.dwarf2/implptr.exp: Update.
12879 * gdb.mi/mi-cmd-param-changed.exp: Update.
12880
4ea6efe9
DE
128812015-05-26 Doug Evans <dje@google.com>
12882
12883 * gdb.python/py-lazy-string.c: New file.
12884 * gdb.python/py-lazy-string.exp: New file.
12885 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12886 (main): Update. Add estring3.
12887 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12888 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12889
f6bb7db3
YQ
128902015-05-26 Omair Javaid <omair.javaid@linaro.org>
12891 Yao Qi <yao.qi@linaro.org>
12892
12893 * gdb.reverse/aarch64.c: New.
12894 * gdb.reverse/aarch64.exp: New.
12895
a81bfbd0
OJ
128962015-05-26 Omair Javaid <omair.javaid@linaro.org>
12897
25d49b86
PA
12898 * lib/gdb.exp (supports_process_record): Return true for
12899 aarch64*-linux*.
a81bfbd0
OJ
12900 (supports_reverse): Likewise.
12901
158bf1b4
PP
129022015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12903
12904 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12905 Use with_test_prefix.
12906
a0145030
AB
129072015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12908
12909 * gdb.base/completion.exp: Add test for completion of layout
12910 names.
12911
ebe3b578
AB
129122015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12913
12914 * lib/gdb.exp (skip_tui_tests): New proc.
12915 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12916
84204ed7
PA
129172015-05-19 Pedro Alves <palves@redhat.com>
12918
12919 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12920 Save the whole env array instead of just HOME. Unset HISTSIZE in
12921 the environment while testing. Restore whole environment
12922 afterwards.
12923
37442ce1
DE
129242015-05-16 Doug Evans <xdje42@gmail.com>
12925
12926 * gdb.guile/scm-ports.c: New file.
12927 * gdb.guile/scm-ports.exp: Add memory port tests.
12928
36de76f9
JK
129292015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12930
12931 * gdb.compile/compile-print.c: New file.
12932 * gdb.compile/compile-print.exp: New file.
12933
3a9558c4
JK
129342015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12935
12936 * gdb.compile/compile-ops.exp: Cast param to void.
12937 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12938 (compile code struct_object.selffield = &struct_object): Add xfail.
12939
aa715135
JG
129402015-05-15 Joel Brobecker <brobecker@adacore.com>
12941
12942 * gdb.ada/arr_enum_with_gap: New testcase.
12943
931e5bc3
JG
129442015-05-15 Joel Brobecker <brobecker@adacore.com>
12945
12946 * gdb.ada/byte_packed_arr: New testcase.
12947
9cd4d857
JB
129482015-05-15 Joel Brobecker <brobecker@adacore.com>
12949
12950 * gdb.ada/pckd_neg: New testcase.
12951
ebfd00d2
PP
129522015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12953
12954 PR gdb/17820
12955 * gdb.base/gdbinit-history.exp: New test.
12956 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12957 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12958
4c082a81
SC
129592015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12960
12961 * gdb.python/py-xmethods.cc: Enhance test case.
12962 * gdb.python/py-xmethods.exp: New tests.
12963 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12964 function.
12965 (B_indexoper): Likewise.
12966 (global_dm_list) : Add new xmethod worker functions.
12967
f7797074
SDJ
129682015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12969
12970 * gdb.base/coredump-filter.exp: Correctly unset
12971 "coredump_var_addr" array.
12972
a4674e4e
PA
129732015-05-08 Pedro Alves <palves@redhat.com>
12974
12975 * gdb.server/non-existing-program.exp: Unset spawn_id.
12976
df2eb078
SC
129772015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12978
12979 PR python/18291
12980 * gdb.python/py-xmethods.exp: Add tests.
12981
422349a3
YQ
129822015-05-08 Yao Qi <yao.qi@linaro.org>
12983
12984 PR gdb/18208
12985 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12986 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12987 function set_coredump_filter, and remove remote_exec call.
12988 Remove argument ipid. Callers update.
12989 (top level): Don't get inferior's PID.
12990
63fc80ce
AA
129912015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12992
12993 * gdb.base/watch_thread_num.exp: Skip test on targets without
12994 access watchpoints.
12995
80ad801e
PA
129962015-05-06 Pedro Alves <palves@redhat.com>
12997
12998 PR server/18081
12999 * gdb.server/non-existing-program.exp: New file.
13000
0fa7fe50
JB
130012015-05-05 Joel Brobecker <brobecker@adacore.com>
13002
13003 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13004
3ea89b92
PMR
130052015-05-05 Joel Brobecker <brobecker@adacore.com>
13006
13007 * gdb.ada/out_of_line_in_inlined: New testcase.
13008
87b8eff0
JB
130092015-05-05 Joel Brobecker <brobecker@adacore.com>
13010
13011 * gdb.ada/var_rec_arr: New testcase.
13012
5fccc635
YQ
130132015-04-30 Yao Qi <yao.qi@linaro.org>
13014
13015 * gdb.base/break-idempotent.exp: If
13016 skip_hw_watchpoint_multi_tests returns true, skip the tests
13017 on "rwatch" and "awatch".
13018
42d38f42
YQ
130192015-04-30 Yao Qi <yao.qi@linaro.org>
13020
13021 * gdb.base/relativedebug.exp: Invoke gdb command
13022 "info sharedlibrary", and if libc.so doesn't have debug info,
13023 skip the test.
13024
2ce1cdbf
DE
130252015-04-29 Doug Evans <dje@google.com>
13026
13027 * gdb.python/py-xmethods.exp: Add ptype tests.
13028 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13029 get_result_type method.
13030
f24a38c5
LM
130312015-04-29 Luis Machado <lgustavo@codesourcery.com>
13032
13033 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13034 the target does not support hardware watchpoints.
13035
ecbf2b3c
LM
130362015-04-29 Luis Machado <lgustavo@codesourcery.com>
13037
13038 * gdb.base/break-always.exp: Abort testing if writing to memory
13039 causes an error.
13040
34f5f757
DE
130412015-04-28 Doug Evans <dje@google.com>
13042
13043 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13044 * gdb.python/py-pp-registration.exp: ... here. New file.
13045 * gdb.python/py-pp-registration.c: New file.
13046 * gdb.python/py-pp-registration.py: New file.
13047
69b4374a
DE
130482015-04-28 Doug Evans <dje@google.com>
13049
13050 * gdb.python/py-bad-printers.c: New file.
13051 * gdb.python/py-bad-printers.py: New file.
13052 * gdb.python/py-bad-printers.exp: New file.
13053
59fb7612
SS
130542015-04-28 Sasha Smundak <asmundak@google.com>
13055
13056 * gdb.python/py-type.exp: New test.
13057
2631b16a
AW
130582015-04-28 Andy Wingo <wingo@igalia.com>
13059
13060 * gdb.python/py-parameter.exp:
13061 * gdb.guile/scm-parameter.exp: Escape the path that we are
13062 matching against, as it might contain characters that are special
13063 to regular expressions.
13064
460efde1
JB
130652015-04-27 Joel Brobecker <brobecker@adacore.com>
13066
13067 * gdb.ada/rec_comp: New testcase.
13068
2d369d8e
SDJ
130692015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13070
13071 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13072 before using it.
13073
cf75d6c3
AB
130742015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13075
13076 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13077 new tests for verilog output.
13078
8dbe7ca5
YQ
130792015-04-24 Yao Qi <yao.qi@linaro.org>
13080
13081 * boards/remote-gdbserver-on-localhost.exp: New file.
13082
4ef9fb2f
PA
130832015-04-23 Pedro Alves <palves@redhat.com>
13084
13085 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13086 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13087 "end of file", remove $inferior_spawn_id from the indirect list.
13088
0a803169
PA
130892015-04-23 Pedro Alves <palves@redhat.com>
13090
13091 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13092
749ef8f8
PA
130932015-04-23 Pedro Alves <palves@redhat.com>
13094
13095 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13096 on $any_spawn_id instead of only on $gdb_spawn_id.
13097
8aae4344
PM
130982015-04-21 Pierre Muller <muller@sourceware.org>
13099
13100 PR pascal/17815
13101 * lib/pascal.exp (gpc_compile): Add new option "class".
13102 (fpc_compile): Likewise.
13103 * gdb.pascal/case-insensitive-symbols.pas: New file.
13104 * gdb.pascal/case-insensitive-symbols.exp: New file.
13105
1586c8fb
GB
131062015-04-20 Gary Benson <gbenson@redhat.com>
13107
13108 * gdb.base/attach.exp: Fix three extended remote failures.
13109
1b6e6f5c
GB
131102015-04-17 Gary Benson <gbenson@redhat.com>
13111
13112 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13113 the main executable over the remote protocol.
13114
e797481d
PA
131152015-04-16 Pedro Alves <palves@redhat.com>
13116
13117 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13118 a new gdbserver if gdbserver_reconnect_p is set.
13119
1ca99c42
PA
131202015-04-16 Pedro Alves <palves@redhat.com>
13121
13122 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13123 is set, don't exit gdbserver.
13124
af9fd6f8
AA
131252015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13126
13127 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13128 appropriate .insn, such that an older assembler can be used.
13129 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13130 the z/Architecture instruction set on 31-bit targets as well.
13131
04ff1e61
AA
131322015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13133
13134 * gdb.go/handcall.exp: Remove all logic related to the first
13135 breakpoint and rely on go_runto_main instead.
13136 * gdb.go/strings.exp: Likewise.
13137 * gdb.go/unsafe.exp: Likewise.
13138 * gdb.go/hello.exp: Likewise. Also rename the remaining
13139 breakpoint marker to "breakpoint 1".
13140 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13141 * gdb.go/strings.go: Likewise.
13142 * gdb.go/unsafe.go: Likewise.
13143 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13144 "set breakpoint 2 here" and rename the remaining breakpoint marker
13145 to "breakpoint 1".
13146
40d2f8d6
SM
131472015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13148
13149 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13150 if itertools.imap is not present.
13151 * gdb.python/py-objfile.exp: Add parentheses.
13152 * gdb.python/py-type.exp: Same.
13153 * gdb.python/py-unwind-maint.py: Same.
13154
8cbc97c6
YQ
131552015-04-15 Yao Qi <yao.qi@linaro.org>
13156
13157 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13158 of ":$ptr_size" and set its form explicitly.
13159
45fd756c
YQ
131602015-04-15 Pedro Alves <palves@redhat.com>
13161 Yao Qi <yao.qi@linaro.org>
13162
13163 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13164 timeout by factor of 4.
13165 (test_regular_watch): Likewise.
13166 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13167 * gdb.reverse/sigall-reverse.exp: Likewise.
13168 * gdb.reverse/until-precsave.exp: Likewise.
13169 * lib/gdb.exp (with_timeout_factor): New proc.
13170 (gdb_expect): Move some code to ...
13171 (get_largest_timeout): ... here. New procedure.
13172
9e811bc3
LM
131732015-04-14 Luis Machado <lgustavo@codesourcery.com>
13174
13175 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13176
0ff6fcb2
LM
131772015-04-13 Luis Machado <lgustavo@codesourcery.com>
13178
13179 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13180 to write to the .text section.
13181
7578d5f7
LM
131822015-04-13 Luis Machado <lgustavo@codesourcery.com>
13183
13184 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13185 Handle the case of targets that do not provide PID information.
13186
2efe15c4
YQ
131872015-04-13 Yao Qi <yao.qi@linaro.org>
13188
13189 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13190 and use expect instead of gdb_expect.
13191
8cd8f2f8
SDJ
131922015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13193
13194 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13195 "coredump_var_addr" to avoid naming conflict with other testcases.
13196
9ee41772
PA
131972015-04-10 Pedro Alves <palves@redhat.com>
13198
13199 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13200 gdb_test_sequence and gdb_assert.
13201
07473109
PA
132022015-04-10 Pedro Alves <palves@redhat.com>
13203
13204 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13205 test messages that don't include the breakpoint address.
13206
de3db44c
YQ
132072015-04-10 Yao Qi <yao.qi@linaro.org>
13208
13209 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13210 false for some offset and width combinations which aren't
13211 supported by linux kernel.
13212
c79d856c
PA
132132015-04-10 Pedro Alves <palves@redhat.com>
13214
13215 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13216 procedure, factored out from ...
13217 (top level): ... here. Add "set displaced-stepping" testing axis.
13218 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13219 parameter "displaced". Use it.
13220 (top level): Use foreach and add "set displaced-stepping" testing
13221 axis.
13222
ebc90b50
PA
132232015-04-10 Pedro Alves <palves@redhat.com>
13224
13225 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13226 Remove comment.
13227 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13228 both the address of the instruction that triggers the watchpoint
13229 and the address of the instruction immediately after, and use
13230 those addresses for the test. Fix comment.
13231
8f572e5c
PA
132322015-04-10 Pedro Alves <palves@redhat.com>
13233
13234 * gdb.base/sigstep.exp (breakpoint_to_handler)
13235 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13236 Test "backtrace" in handler.
13237 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13238 (top level): Add new "displaced" test axis to
13239 breakpoint_to_handler, breakpoint_to_handler_entry and
13240 breakpoint_over_handler.
13241
8d707a12
PA
132422015-04-10 Pedro Alves <palves@redhat.com>
13243
13244 PR gdb/18216
13245 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13246
ef713951
YQ
132472015-04-10 Yao Qi <yao.qi@linaro.org>
13248
13249 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13250 (test_add_rn_pc): New function.
13251 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13252 (top level): Invoke test_add_rn_pc.
13253
906d60cf
PA
132542015-04-10 Pedro Alves <palves@redhat.com>
13255
13256 PR gdb/13858
13257 * gdb.base/step-over-no-symbols.exp: New file.
13258
f2983cc3
AW
132592015-04-09 Andy Wingo <wingo@igalia.com>
13260
13261 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13262 after the Python tests.
13263
6d62641c
SDJ
132642015-04-08 Keith Seitz <keiths@redhat.com>
13265
13266 PR python/16699
13267 * gdb.python/py-completion.exp: New tests for completion.
13268 * gdb.python/py-completion.py (CompleteLimit1): New class.
13269 (CompleteLimit2): Likewise.
13270 (CompleteLimit3): Likewise.
13271 (CompleteLimit4): Likewise.
13272 (CompleteLimit5): Likewise.
13273 (CompleteLimit6): Likewise.
13274 (CompleteLimit7): Likewise.
13275
f3770638
PA
132762015-04-08 Pedro Alves <palves@redhat.com>
13277
13278 PR gdb/18214
13279 PR gdb/18216
13280 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13281 function.
13282 (main): Install it as SIGUSR1 handler.
13283 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13284 parameter. Always use "setup" as prefix. Toggle "set
13285 displaced-stepping" off/on depending on global. Don't switch to
13286 thread 1 here.
13287 (top level): Add displaced stepping "off/on" test axis. Update
13288 "setup" calls. Wrap each subtest with with_test_prefix. Test
13289 continuing with a queued signal in each thread.
13290
4496bed7
PA
132912015-04-08 Pedro Alves <palves@redhat.com>
13292
13293 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13294 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13295 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13296 Return early if running to main fails.
13297 * gdb.trace/while-stepping.exp: Likewise.
13298
b97fde92
PA
132992015-04-07 Pedro Alves <palves@redhat.com>
13300
13301 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13302 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13303 interact with inferior program.
13304
f71c18e7
PA
133052015-04-07 Pedro Alves <palves@redhat.com>
13306
13307 * lib/gdb.exp (inferior_spawn_id): New global.
13308 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13309 spawn id after processing the user code.
13310 (default_gdb_start): Set inferior_spawn_id.
13311 (send_inferior): New procedure.
13312 * lib/gdbserver-support.exp (gdbserver_start): Set
13313 inferior_spawn_id.
13314 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13315
6423214f
PA
133162015-04-07 Pedro Alves <palves@redhat.com>
13317
13318 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13319 * lib/gdbserver-support.exp (gdbserver_start): Make
13320 $server_spawn_id global.
13321 (gdbserver_start): Don't wait for gdbserver's spawn id with
13322 expect_background.
13323 (close_gdbserver): New procedure.
13324 (gdb_exit): Rename the default version and reimplement.
13325
71c0ee8c
PA
133262015-04-07 Pedro Alves <palves@redhat.com>
13327
72f4393d 13328 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
13329 append the substituted item, not the original item.
13330
203bc29b
PA
133312015-04-07 Pedro Alves <palves@redhat.com>
13332
13333 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13334 gdb_expect.
13335
508a3ddf
PA
133362015-04-07 Pedro Alves <palves@redhat.com>
13337
13338 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13339 output appearing once only.
13340
9f6dbe2b
PA
133412015-04-07 Pedro Alves <palves@redhat.com>
13342
13343 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13344 that doesn't expect anything. Return early if running to main
13345 fails.
13346
337532fa
YQ
133472015-04-07 Yao Qi <yao.qi@linaro.org>
13348
13349 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13350 (child_function): Call alarm.
13351 (main): Move call to alarm into the loop.
13352 * gdb.threads/non-stop-fair-events.exp: Build program with
13353 -DTIMEOUT=$timeout.
13354
01b622d4
DE
133552015-04-06 Doug Evans <xdje42@gmail.com>
13356
13357 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13358 Fix dest parameter to board_info.
13359 (fpc_compile): Ditto.
13360 (gdb_compile_pascal): Rename dest arg to destfile.
13361
961f4160
PMR
133622015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13363
13364 * gdb.ada/funcall_ref.exp: New file.
13365 * gdb.ada/funcall_ref/foo.adb: New file.
13366
cafda597
YQ
133672015-04-02 Yao Qi <yao.qi@linaro.org>
13368
13369 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13370 is remote.
13371
fed040c6
GB
133722015-04-02 Gary Benson <gbenson@redhat.com>
13373
13374 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13375
d11916aa
SS
133762015-04-01 Sasha Smundak <asmundak@google.com>
13377
13378 * gdb.python/py-unwind-maint.c: New file.
13379 * gdb.python/py-unwind-maint.exp: New test.
13380 * gdb.python/py-unwind-maint.py: New file.
13381 * gdb.python/py-unwind.c: New file.
13382 * gdb.python/py-unwind.exp: New test.
13383 * gdb.python/py-unwind.py: New test.
13384
a1471180
PA
133852015-04-01 Pedro Alves <palves@redhat.com>
13386
13387 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13388 to fail instead of non-existent $test.
13389
0bbeccb1
PA
133902015-04-01 Pedro Alves <palves@redhat.com>
13391
13392 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13393 GDBFLAGS if not empty.
13394
3c724c8c
PMR
133952015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13396
13397 * gdb.ada/complete.exp: Remove "multi_line".
13398 * gdb.ada/info_exc.exp: Remove "multi_line".
13399 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13400 * gdb.ada/ptype_field.exp: Remove "multi_line".
13401 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13402 * gdb.ada/tagged.exp: Remove "multi_line".
13403 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13404 [multi_line ...]
13405 * gdb.btrace/delta.exp: Likewise.
13406 * gdb.btrace/exception.exp: Likewise.
13407 * gdb.btrace/function_call_history.exp: Likewise.
13408 * gdb.btrace/instruction_history.exp: Likewise.
13409 * gdb.btrace/nohist.exp: Likewise.
13410 * gdb.btrace/record_goto.exp: Likewise.
13411 * gdb.btrace/segv.exp: Likewise.
13412 * gdb.btrace/stepi.exp: Likewise.
13413 * gdb.btrace/tailcall.exp: Likewise.
13414 * gdb.btrace/unknown_functions.exp: Likewise.
13415 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13416 * lib/gdb.exp: Add the "multi_line" helper.
13417
4eec2deb
PA
134182015-04-01 Pedro Alves <palves@redhat.com>
13419
13420 * gdb.threads/tid-reuse.c: New file.
13421 * gdb.threads/tid-reuse.exp: New file.
13422
df8411da
SDJ
134232015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13424
13425 PR corefiles/16092
13426 * gdb.base/coredump-filter.c: New file.
13427 * gdb.base/coredump-filter.exp: Likewise.
13428
6ef37366
PM
134292015-03-27 Petr Machata <pmachata@redhat.com>
13430
13431 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13432 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13433 (Dwarf::assemble): Initialize them.
13434 (Dwarf::lines): New function.
13435
7ec911b0
JT
134362015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13437
13438 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13439 SYMBOL_PREFIX for x86_64-*-cygwin.
13440
ff908ebf
AW
134412015-03-26 Andy Wingo <wingo@igalia.com>
13442
13443 PR symtab/18148
13444 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13445 const_value but not a location.
13446 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13447 location defined in non-main CUs are visible.
13448
6d5f0679
YQ
134492015-03-26 Yao Qi <yao.qi@linaro.org>
13450
13451 PR testsuite/18139
13452 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13453 Add a line number entry for the same line.
13454 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13455 Add a line number entry for the same line.
13456
2898689b
YQ
134572015-03-26 Yao Qi <yao.qi@linaro.org>
13458
13459 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13460 .int 0.
13461 (func): Likewise. Add .Lfunc_1 label.
13462 Use .Lfunc_1 label.
13463 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13464 .int 0.
13465 (func): Likewise.
13466 Use .Lfunc_1 label.
13467
85180498
YQ
134682015-03-26 Yao Qi <yao.qi@linaro.org>
13469
13470 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13471 Call gdb_compile instead to compile each .s files without debug
13472 information.
13473
8aa08a8d
YQ
134742015-03-26 Yao Qi <yao.qi@linaro.org>
13475
13476 * gdb.base/savedregs.exp (process_saved_regs): Make
13477 "Saved registers:" optional in the pattern.
13478
66849923
MM
134792015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13480
13481 * gdb.btrace/next.exp: Merged into step.exp.
13482 * gdb.btrace/finish.exp: Merged into step.exp.
13483 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13484 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13485 "record goto" and checking the exact replay position.
13486 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13487 check for "Recording format" in "info record" output.
13488 * gdb.btrace/record_goto.exp: Choose test file based on target.
13489 * gdb.btrace/x86-record_goto.S: Renamed into ...
13490 * gdb.btrace/x86_64-record_goto.S: ... this.
13491 * gdb.btrace/i686-record_goto.S: New.
13492 * gdb.btrace/x86-tailcall.S: Renamed into ...
13493 * gdb.btrace/x86_64-tailcall.S: ... this.
13494 * gdb.btrace/i686-tailcall.S: New.
13495 * gdb.btrace/x86-tailcall.c: Renamed into ...
13496 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13497 separate statements. Update test.
13498 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13499 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13500 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13501 * gdb.btrace/tailcall.exp: Choose test file based on target.
13502 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13503
11cc1b74
MM
135042015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13505
13506 * gdb.btrace/exception.exp: Increase BTS buffer size.
13507
a25d8bf9
PA
135082015-03-24 Pedro Alves <palves@redhat.com>
13509
13510 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13511
856e7dd6
PA
135122015-03-24 Pedro Alves <palves@redhat.com>
13513
13514 * gdb.threads/schedlock.exp (test_step): No longer expect that
13515 "set scheduler-locking step" with "next" over a function call runs
13516 threads unlocked.
13517
ad235a41
AT
135182015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13519
13520 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13521
15630549
AT
135222015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13523
13524 PR breakpoints/16466
13525 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13526 * gdb.mi/mi-pending.c (thread_func): New function.
13527 (int main): Add threading support required.
13528 * gdb.mi/mi-pending.exp: Add tests for this issue.
13529 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13530 (pendfunc2): Remove stdio dependency.
13531 * gdb.mi/mi-pendshr2.c: New file.
13532
693dca06
KS
135332015-03-23 Keith Seitz <keiths@redhat.com>
13534
13535 * gdb.linespec/keywords.c: New file.
13536 * gdb.linespec/keywords.exp: New file.
13537
7e993ebf
KS
135382015-03-23 Keith Seitz <keiths@redhat.com>
13539
13540 PR gdb/18021
13541 * gdb.dwarf2/staticvirtual.exp: New test.
13542
bc23328c
JK
135432015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13544
13545 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13546 * README: Remove HP-UX and gdb.hp.
13547 (configuration):
13548 * configure: Regenerate.
13549 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13550 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13551 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13552 gdb.hp/gdb.defects/Makefile.
13553 * gdb.hp/Makefile.in: File deleted.
13554 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13555 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13556 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13557 * gdb.hp/gdb.aCC/run.c: File deleted.
13558 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13559 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13560 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13561 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13562 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13563 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13564 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13565 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13566 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13567 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13568 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13569 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13570 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13571 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13572 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13573 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13574 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13575 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13576 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13577 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13578 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13579 * gdb.hp/gdb.compat/average.c: File deleted.
13580 * gdb.hp/gdb.compat/sum.c: File deleted.
13581 * gdb.hp/gdb.compat/xdb.c: File deleted.
13582 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13583 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13584 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13585 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13586 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13587 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13588 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13589 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13590 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13591 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13592 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13593 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13594 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13595 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13596 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13597 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13598 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13599 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13600 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13601 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13602 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13603 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13604 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13605 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13606 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13607 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13608 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13609 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13610 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13611 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13612 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13613 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13614 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13615 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13616 * gdb.hp/tools/odump: File deleted.
13617
8bf3b159
PA
136182015-03-19 Pedro Alves <palves@redhat.com>
13619
13620 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13621 (saw_thread_3): New globals.
13622 (top level): Increment them when an event for the corresponding
13623 thread is seen.
13624 (no thread starvation): New test.
13625
eb54c8bf
PA
136262015-03-19 Pedro Alves <palves@redhat.com>
13627
13628 * gdb.threads/continue-pending-status.c: New file.
13629 * gdb.threads/continue-pending-status.exp: New file.
13630
32d2e5d6
PA
136312015-03-18 Pedro Alves <palves@redhat.com>
13632
13633 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13634 Use gdb_is_target_remote instead of is_remote. Use
13635 gdb_test_multiple instead of gdb_expect. Exit early if
13636 gdb_test_multiple hits its internal matches. Tighten stepi tests
13637 expected output. Fail on exit with any signal, instead of just
13638 SIGILL.
13639
f68f11b7
YQ
136402015-03-18 Yao Qi <yao.qi@linaro.org>
13641
13642 PR tdep/18107
13643 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13644 variable.
13645 * gdb.base/catch-syscall.exp: Don't skip it on
13646 aarch64*-*-linux* target. Remove elements in all_syscalls.
13647 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13648 target.
13649 (setup_all_syscalls): New proc.
13650
ca5fd19b
YQ
136512015-03-16 Yao Qi <yao.qi@linaro.org>
13652
13653 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13654 (top level): Skip tests if valid_addr_p returns false for
13655 $cmd1 or $cmd2.
13656
85642ba0
AW
136572015-03-11 Andy Wingo <wingo@igalia.com>
13658
13659 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13660
e03f9645
YQ
136612015-03-11 Yao Qi <yao.qi@linaro.org>
13662
13663 * gdb.base/catch-syscall.exp: Fix typo in comments.
13664
5d0962b2
YQ
136652015-03-11 Yao Qi <yao.qi@linaro.org>
13666
13667 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13668
b2df3cef
PA
136692015-03-09 Pedro Alves <palves@redhat.com>
13670
13671 * dg-extract-results.py: Delete.
13672
ef878e53
PA
136732015-03-09 Pedro Alves <palves@redhat.com>
13674
13675 Merge dg-extract-results.sh from GCC upstream (r218843).
13676
13677 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13678 * dg-extract-results.sh: Use --text with grep to avoid issues with
13679 binary files. Fall back to cat -v, if that doesn't work.
13680
9494d219
PA
136812015-03-05 Pedro Alves <palves@redhat.com>
13682
13683 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13684
a8d9763a
SM
136852015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13686
13687 * lib/mi-support.exp (mi_expect_interrupt): Accept
13688 alternative event for when in all-stop mode.
13689
be9957b8
PA
136902015-03-04 Pedro Alves <palves@redhat.com>
13691
13692 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13693
d57be0f4 136942015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
13695
13696 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13697
c214c7cf
AA
136982015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13699
13700 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13701 regexps for GDB's current line display, accept a hex address
13702 preceding the line number.
13703
6d74a497
AA
137042015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13705
13706 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13707 the 'arch1' variable for "s390*-linux*" targets.
13708
511aee7c
PA
137092015-03-04 Pedro Alves <palves@redhat.com>
13710
13711 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13712 (main): Pass missing retval argument to pthread_join call.
13713
95e50b27
PA
137142015-03-02 Pedro Alves <palves@redhat.com>
13715
13716 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13717 (top level): Call do_test with non-stop as well.
13718
28054d69
PA
137192015-03-02 Pedro Alves <palves@redhat.com>
13720
13721 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13722 -1.
13723
4fa5d7b4
AA
137242015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13725
13726 * gdb.arch/s390-vregs.exp: New test.
13727 * gdb.arch/s390-vregs.S: New file.
13728
97c18565
PA
137292015-02-27 Pedro Alves <palves@redhat.com>
13730
13731 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13732 call to catch_command_errors.
13733 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13734 catch_command_errors.
13735
a37bfa30
PA
137362015-02-27 Pedro Alves <palves@redhat.com>
13737
13738 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13739 "true" for boolean result.
13740 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13741 prototype of main.
13742
6f98576f
PA
137432015-02-27 Pedro Alves <palves@redhat.com>
13744
13745 * lib/unbuffer_output.c: New file.
13746 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13747 (main): Call gdb_unbuffer_output.
13748
eba5ab56
YQ
137492015-02-27 Yao Qi <yao.qi@linaro.org>
13750
13751 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13752 target.
13753
0def5aaa
DE
137542015-02-26 Doug Evans <dje@google.com>
13755
13756 * gdb.cp/class2.cc (Dbase, D): New classes.
13757 (main): New local delta.
13758 * gdb.cp/class2.exp: Test printing delta.
13759 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13760 (dynbar): New global.
13761 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13762
081a1c2c
JK
137632015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13764
13765 * gdb.compile/compile-ifunc.c: New file.
13766 * gdb.compile/compile-ifunc.exp: New file.
13767
2f41223f
AT
137682015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13769
13770 * gdb.base/structs.exp: Check for correct struct on finish.
13771
03eddd80
YQ
137722015-02-26 Yao Qi <yao.qi@linaro.org>
13773
13774 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13775 is zero.
13776
80c57053
JK
137772015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13778
13779 * gdb.arch/cordic.ko.bz2: New file.
13780 * gdb.arch/cordic.ko.debug.bz2: New file.
13781 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13782
21613c12
YQ
137832015-02-25 Yao Qi <yao.qi@linaro.org>
13784
13785 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13786 aarch64*-*-* target.
13787
d8b901ed
PA
137882015-02-23 Pedro Alves <palves@redhat.com>
13789
13790 * lib/gdb.exp (delete_breakpoints): Rewrite using
13791 gdb_test_multiple.
13792
e5b85ead
PA
137932015-02-23 Pedro Alves <palves@redhat.com>
13794
13795 * gdb.base/info-os.c: Include stdlib.h.
13796
85c3a371
DE
137972015-02-22 Doug Evans <xdje42@gmail.com>
13798
13799 PR symtab/17855
13800 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13801 is read after symbols have been re-read.
13802 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13803 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13804
96553a0c
DE
138052015-02-21 Doug Evans <dje@google.com>
13806
13807 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13808
97a0c697
JK
138092015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13810
13811 PR corefiles/17808
13812 * gdb.arch/i386-biarch-core.core.bz2: New file.
13813 * gdb.arch/i386-biarch-core.exp: New file.
13814
a47cd6e9
PA
138152015-02-21 Pedro Alves <palves@redhat.com>
13816
13817 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13818 runto_main fails.
13819
c5facdc4
PA
138202015-02-20 Pedro Alves <palves@redhat.com>
13821
13822 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13823 info probes.
13824
2db9a427
PA
138252015-02-20 Pedro Alves <palves@redhat.com>
13826
13827 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13828
60fb7e9e
PA
138292015-02-20 Pedro Alves <palves@redhat.com>
13830
13831 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13832 clean_restart before gdb_target_supports_trace.
13833
5c5019c2
PA
138342015-02-20 Pedro Alves <palves@redhat.com>
13835
13836 PR threads/18006
13837 * gdb.threads/clone-thread_db.c: New file.
13838 * gdb.threads/clone-thread_db.exp: New file.
13839
c9587f88
AT
138402015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13841
13842 PR breakpoints/16812
13843 * gdb.base/catch-gdb-caused-signals.c: New file.
13844 * gdb.base/catch-gdb-caused-signals.exp: New file.
13845
f6a88844
JM
138462015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13847
13848 * configure: Regenerated.
13849 * configure.ac: Use GDB_AC_TRANSFORM.
13850 * aclocal.m4: sinclude ../transform.m4.
13851
497c491b
JM
138522015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13853
13854 * lib/dtrace.exp: New file.
13855 * gdb.base/dtrace-probe.exp: Likewise.
13856 * gdb.base/dtrace-probe.d: Likewise.
13857 * gdb.base/dtrace-probe.c: Likewise.
13858 * lib/pdtrace.in: Likewise.
13859 * configure.ac: Output variables with the transformed names of
13860 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13861 * configure: Regenerated.
13862
03e98035
JM
138632015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13864
13865 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13866 expected message when trying to access $_probe_* convenience
13867 variables while not on a probe.
13868
63cc30e9
JK
138692015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13870
13871 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13872
0703599a
PA
138732015-02-11 Pedro Alves <pedro@codesourcery.com>
13874
13875 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13876 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13877
7e60a48e
DE
138782015-02-10 Doug Evans <xdje42@gmail.com>
13879
13880 * lib/gdb.exp (gdb_load): Always return a result.
13881
01b088bc
PA
138822015-02-10 Pedro Alves <palves@redhat.com>
13883
13884 * gdb.threads/signal-sigtrap.c: New file.
13885 * gdb.threads/signal-sigtrap.exp: New file.
13886
b05ec7a5
AT
138872015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13888
13889 * gdb.trace/no-attach-trace.c: New file.
13890 * gdb.trace/no-attach-trace.exp: New file.
13891
a2c2acaf
MW
138922015-02-09 Mark Wielaard <mjw@redhat.com>
13893
13894 * gdb.dwarf2/atomic.c: New file.
13895 * gdb.dwarf2/atomic-type.exp: Likewise.
13896
31fd9caa
MM
138972015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13898
13899 * gdb.btrace/buffer-size.exp: Update "info record" output.
13900 * gdb.btrace/delta.exp: Update "info record" output.
13901 * gdb.btrace/enable.exp: Update "info record" output.
13902 * gdb.btrace/finish.exp: Update "info record" output.
13903 * gdb.btrace/instruction_history.exp: Update "info record" output.
13904 * gdb.btrace/next.exp: Update "info record" output.
13905 * gdb.btrace/nexti.exp: Update "info record" output.
13906 * gdb.btrace/step.exp: Update "info record" output.
13907 * gdb.btrace/stepi.exp: Update "info record" output.
13908 * gdb.btrace/nohist.exp: Update "info record" output.
13909
d33501a5
MM
139102015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13911
13912 * gdb.btrace/buffer-size: New.
13913
f4abbc16
MM
139142015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13915
13916 * gdb.btrace/delta.exp: Update "info record" output.
13917 * gdb.btrace/enable.exp: Update "info record" output.
13918 * gdb.btrace/finish.exp: Update "info record" output.
13919 * gdb.btrace/instruction_history.exp: Update "info record" output.
13920 * gdb.btrace/next.exp: Update "info record" output.
13921 * gdb.btrace/nexti.exp: Update "info record" output.
13922 * gdb.btrace/step.exp: Update "info record" output.
13923 * gdb.btrace/stepi.exp: Update "info record" output.
13924 * gdb.btrace/nohist.exp: Update "info record" output.
13925
b9d61307
SM
139262015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13927
13928 PR gdb/15678
13929 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13930
e584fdbc
PA
139312015-02-06 Pedro Alves <palves@redhat.com>
13932
13933 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13934 macro.
13935 (seconds_left, again): New globals.
13936 (main): Wait seconds_left in a 1-second sleep loop instead of
13937 sleeping 180 seconds. If 'again' is set, reset the seconds
13938 counter.
13939 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13940 'again' in the inferior before detaching. Print the seconds left.
13941 (options): New global.
13942 (top level): Build program with -DTIMEOUT=$timeout.
13943
77f41761
PA
139442015-02-06 Pedro Alves <palves@redhat.com>
13945
13946 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13947 determine how many seconds to pass to 'alarm'.
13948 * gdb.base/gdb-sigterm.exp (top level): Build program with
13949 -DTIMEOUT=$timeout.
13950 (do_test): Return success/failure indication. Add more verbose
13951 logging. Don't fail if 200 single steps are seen. Instead, fail
13952 when the test times out.
13953 (passes): New global.
13954 (top level): Break the testing loop if testing fails on any
13955 iteration. Use gdb_assert.
13956
b9394193
DB
139572015-02-04 Don Breazeal <donb@codesourcery.com>
13958
13959 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13960 and initialize them.
13961 (ipc_cleanup): New function.
13962 (main): Don't declare shmid, semid, and msqid. Add a call to
13963 atexit so that we call ipc_cleanup on exit.
13964
42d9e528
PA
139652015-02-04 Pedro Alves <palves@redhat.com>
13966
13967 * boards/native-extended-gdbserver.exp: Remove any target variant
13968 specifications from the board name before clearing the isremote
13969 flag from board_info.
13970
ae6ae975
DE
139712015-01-31 Doug Evans <xdje42@gmail.com>
13972
13973 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13974
cfb069a8
GB
139752015-01-31 Gary Benson <gbenson@redhat.com>
13976
13977 * gdb.base/completion.exp: Disable completion limiting for
13978 existing tests. Add new tests to check completion limiting.
13979 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13980
5dd31d79
DE
139812015-01-31 Doug Evans <xdje42@gmail.com>
13982
13983 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13984
9f050062
DE
139852015-01-31 Doug Evans <xdje42@gmail.com>
13986
13987 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13988 entries. Duplicate file section script entries.
13989 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13990 inlined entries. Add test for safe-path rejection.
13991 * gdb.python/py-section-script.c: Add duplicate inlined section script
13992 entries. Duplicate file section script entries.
13993 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13994 inlined entries. Add test for safe-path rejection.
13995
df25ebbd
JB
139962015-01-29 Joel Brobecker <brobecker@adacore.com>
13997
13998 * gdb.ada/disc_arr_bound: New testcase.
13999
4a0ca9ec
JB
140002015-01-29 Joel Brobecker <brobecker@adacore.com>
14001
14002 * gdb.ada/mi_var_array: New testcase.
14003
3a8b707a
DE
140042015-01-27 Doug Evans <dje@google.com>
14005
14006 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14007 Add test for objfile.filename, objfile.username after objfile
14008 has been unloaded.
14009
f8313f6e
JB
140102015-01-26 Joel Brobecker <brobecker@adacore.com>
14011
14012 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14013 the second test to print the name attribute of value
14014 returned by the call to gdb.lookup_type, and adjust
14015 the expected output accordingly.
14016
37bc665e
MW
140172015-01-25 Mark Wielaard <mjw@redhat.com>
14018
14019 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14020 * gdb.base/disp-step-fork.c: Include unistd.h.
14021 * gdb.base/siginfo-obj.c: Include stdio.h.
14022 * gdb.base/siginfo-thread.c: Likewise.
14023 * gdb.mi/non-stop.c: Include unistd.h.
14024 * gdb.mi/nsthrexec.c: Include stdio.h.
14025 * gdb.mi/pthreads.c: Include unistd.h.
14026 * gdb.modula2/unbounded1.c (main): Declare returns int.
14027 * gdb.reverse/consecutive-reverse.c: Likewise.
14028 * gdb.threads/create-fail.c: Include unistd.h.
14029 * gdb.threads/killed.c: Likewise.
14030 * gdb.threads/linux-dp.c: Likewise.
14031 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14032 * gdb.threads/non-ldr-exc-2.c: Likewise.
14033 * gdb.threads/non-ldr-exc-3.c: Likewise.
14034 * gdb.threads/non-ldr-exc-4.c: Likewise.
14035 * gdb.threads/pthreads.c: Include unistd.h.
14036 (main): Declare returns int.
14037 * gdb.threads/tls-main.c (foo): New declaration.
14038 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14039
f7e5394d
SM
140402015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14041
14042 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14043 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14044
743649fd
MW
140452015-01-15 Mark Wielaard <mjw@redhat.com>
14046
14047 * gdb.base/noreturn-return.c: New file.
14048 * gdb.base/noreturn-return.exp: New file.
14049 * gdb.base/noreturn-finish.c: New file.
14050 * gdb.base/noreturn-finish.exp: New file.
14051
198297aa
PA
140522015-01-23 Pedro Alves <palves@redhat.com>
14053
14054 * gdb.threads/continue-pending-after-query.c: New file.
14055 * gdb.threads/continue-pending-after-query.exp: New file.
14056
717cf30c
AG
140572015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14058 Simon Marchi <simon.marchi@ericsson.com>
14059
14060 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14061 * gdb.base/valgrind-db-attach.exp: Same.
14062 * gdb.base/valgrind-infcall.exp: Same.
14063 * lib/mi-support.exp (default_mi_gdb_start): Same.
14064 * lib/prompt.exp (default_prompt_gdb_start): Same.
14065 * lib/gdb.exp (default_gdb_spawn): Same.
14066 (gdb_interact): New.
14067
14068
4b62a76e
JK
140692015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14070
14071 * gdb.compile/compile.exp (pointer to jit function): New test.
14072
b4cdae6f
WW
140732015-01-17 Wei-cheng Wang <cole945@gmail.com>
14074
14075 * lib/gdb.exp (supports_process_record): Return true for
14076 powerpc*-*-linux*.
14077 (supports_reverse): Likewise.
14078
d221e7ef
DB
140792015-01-15 Don Breazeal <donb@codesourcery.com>
14080
14081 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14082 instead of checking whether the target board is remote and
14083 use spawn_wait_for_attach instead of exec/sleep.
14084 * gdb.base/attach-twice.exp: Likewise.
14085
bafffb51
JB
140862015-01-15 Joel Brobecker <brobecker@adacore.com>
14087
14088 * gdb.ada/var_arr_attrs: New testcase.
14089
5589af0e
PA
140902015-01-14 Pedro Alves <palves@redhat.com>
14091 Joel Brobecker <brobecker@adacore.com>
14092
14093 PR gdb/17525
14094 * gdb.base/bp-cmds-execution-x-script.c: New file.
14095 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14096 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14097
6c400b59
PA
140982015-01-14 Pedro Alves <palves@redhat.com>
14099
14100 PR cli/17828
14101 * gdb.base/batch-preserve-term-settings.c: New file.
14102 * gdb.base/batch-preserve-term-settings.exp: New file.
14103
e02c96a7
DE
141042015-01-13 Doug Evans <dje@google.com>
14105
14106 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14107 binary.
14108
576fd14c
JB
141092015-01-13 Joel Brobecker <brobecker@adacore.com>
14110
14111 * Makefile.in (clean mostlyclean): Do not delete *.py.
14112
04dccad0
JB
141132015-01-13 Joel Brobecker <brobecker@adacore.com>
14114
14115 * gdb.python/py-lookup-type.exp: New file.
14116
3d230f71
PA
141172015-01-12 Pedro Alves <palves@redhat.com>
14118
14119 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14120 restore GDBFLAGS before returning.
14121
7e67715d
JK
141222015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14123
14124 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14125 is_amd64_regs_target and is_x86_like_target.
14126
f2e0d4b4
DE
141272015-01-11 Doug Evans <xdje42@gmail.com>
14128
14129 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14130 is given without an explicit form.
14131 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14132 attributes.
14133 * gdb.dwarf/corrupt.exp: Ditto.
14134 * gdb.dwarf2/enum-type.exp: Ditto.
14135 * gdb.trace/entry-values.exp: Ditto.
14136 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14137
439250fb
DE
141382015-01-11 Doug Evans <xdje42@gmail.com>
14139
14140 PR gdb/15830
14141 * gdb.base/maint.exp: Remove references to "maint demangle".
14142 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14143 Add tests for explicitly specifying language to demangle.
14144 * gdb.dlang/demangle.exp: Ditto.
14145
ede9f622
PA
141462015-01-09 Pedro Alves <palves@redhat.com>
14147
14148 * gdb.threads/non-stop-fair-events.c: New file.
14149 * gdb.threads/non-stop-fair-events.exp: New file.
14150
a7b796db
PA
141512015-01-09 Pedro Alves <palves@redhat.com>
14152
14153 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14154 the global scope. Set a breakpoint after all threads are started
14155 rather than stepping over two source lines. Expect the prompt.
14156 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14157 global.
14158 (NUM): Now 15.
14159 (main): Use threads_started_barrier to wait for all threads to
14160 start. Main thread no longer calls thread_function. Exit after
14161 180 seconds.
14162 (loop): New function.
14163 (thread_function): Wait on threads_started_barrier barrier. Call
14164 'loop' at each iteration.
14165 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14166 threads have started, instead of hardcoding number of "next"
14167 steps. Use an access watchpoint instead of a write watchpoint.
14168
9665ffdd
PA
141692015-01-09 Pedro Alves <palves@redhat.com>
14170
14171 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14172 (thread_func): Wait on barrier.
14173 (main): Wait for all threads to start before stopping GDB.
14174 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14175 global.
14176 (thread1_func, thread2_func): Wait on barrier.
14177 (main): Wait for all threads to start before stopping GDB.
14178 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14179 New global.
14180 (thread1_func, thread2_func): Wait on barrier.
14181 (main): Wait for all threads to start before stopping GDB.
14182
c945a99f
PA
141832015-01-09 Pedro Alves <palves@redhat.com>
14184
14185 * gdb.threads/attach-many-short-lived-threads.c: New file.
14186 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14187
c1a747c1
PA
141882014-01-09 Pedro Alves <palves@redhat.com>
14189
14190 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14191 instead of to thread 2.
14192 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14193 Add barrier around each pthread_create call instead of around all
14194 calls.
14195 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14196 Set a break on thread_function and have the child threads hit it
14197 one at at a time.
14198
60b3033e
PA
141992015-01-09 Pedro Alves <palves@redhat.com>
14200
14201 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14202 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14203 false.
14204 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14205 checking whether the target board is remote.
14206 * gdb.multi/multi-attach.exp: Likewise.
14207 * gdb.python/py-sync-interp.exp: Likewise.
14208 * gdb.server/ext-attach.exp: Likewise.
14209 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14210 tests that need to attach, instead of checking whether the target
14211 board is remote at the top of the file.
14212
acc018ac
YQ
142132015-01-08 Yao Qi <yao@codesourcery.com>
14214
14215 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14216
50a18af8
JK
142172015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14218
14219 Fix testcase compilation.
14220 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14221
8503d6e1
JB
142222015-01-06 Joel Brobecker <brobecker@adacore.com>
14223
14224 * gdb.python/py-type.exp: Add a couple test about empty
14225 array creation, and negative-length array creation.
14226
cc73dbcc
DE
142272015-01-02 Doug Evans <xdje42@gmail.com>
14228
14229 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14230
0300bbc7
DE
142312015-01-02 Doug Evans <dje@google.com>
14232
14233 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14234
9d85a0ec
YQ
142352014-12-29 Yao Qi <yao@codesourcery.com>
14236
14237 * gdb.trace/entry-values.exp: Update comments. Rename variable
14238 bar_call_foo to returned_from_foo.
14239
87186c6a
MMN
142402014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14241
14242 PR gdb/17394
14243 * gdb.linespec/break-asm-file.c: New file.
14244 * gdb.linespec/break-asm-file.exp: New file.
14245 * gdb.linespec/break-asm-file0.s: New file.
14246 * gdb.linespec/break-asm-file1.s: New file.
14247
1bab7383
YQ
142482014-12-18 Nigel Stephens <nigel@mips.com>
14249 Maciej W. Rozycki <macro@codesourcery.com>
14250
14251 * gdb.base/float.exp: Handle the new output from "info float" on
14252 MIPS targets.
14253
1bc1068a
JK
142542014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14255
14256 Fix MinGW compilation.
14257 * gdb.compile/compile-ops.exp: Update untested message if
14258 !skip_compile_feature_tests.
14259 * gdb.compile/compile-setjmp.exp: Likewise.
14260 * gdb.compile/compile-tls.exp: Likewise.
14261 * gdb.compile/compile.exp: Likewise.
14262 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14263 supported on this host".
14264
b6615d10
DE
142652014-12-16 Doug Evans <xdje42@gmail.com>
14266
14267 * boards/stabs.exp: New file.
14268
25dda427
AA
142692014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14270
14271 * gdb.base/completion.exp: Adjust to format changes of "maint
14272 print user-registers".
14273
bf330350
CU
142742014-12-16 Catalin Udma <catalin.udma@freescale.com>
14275
14276 PR server/17457
14277 * gdb.arch/aarch64-fp.c: New file.
14278 * gdb.arch/aarch64-fp.exp: New file.
14279
395cf596
SDJ
142802014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14281
14282 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14283 r210637, r210913, r211666, r215400, r215817).
14284
14285 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14286 * dg-extract-results.py: New file.
14287 * dg-extract-results.sh: Use it if the environment seems
14288 suitable.
14289
14290 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14291
14292 * dg-extract-results.py (parse_run): Handle warnings that
14293 are printed before a test harness is run.
14294
14295 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14296
14297 * dg-extract-results.py (Named): Remove __cmp__ method.
14298 (output_variation): Use a key to sort variation.harnesses.
14299
14300 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14301
14302 * dg-extract-results.py: For Python 3, force sys.stdout to
14303 handle surrogate escape sequences.
14304 (safe_open): New function.
14305 (output_segment, main): Use it.
14306
14307 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14308
14309 * dg-extract-results.py (Prog.result_re): Include options
14310 in test name.
14311
14312 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14313
14314 * dg-extract-results.py (output_variation): Always sort if
14315 do_sum.
14316
e882ef3c
SM
143172014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14318
14319 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14320 as long as we get pagination notifications.
14321
4992aa20
JM
143222014-12-15 Jason Merrill <jason@redhat.com>
14323
14324 * Makefile.in (check-gdb.%): Restore.
14325 * README: Mention it.
14326
c1b5a1a6
JB
143272014-12-13 Joel Brobecker <brobecker@adacore.com>
14328
14329 * gdb.ada/str_uninit: New testcase.
14330
5537b577
JK
143312014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14332
14333 PR symtab/17642
14334 * gdb.base/vla-stub-define.c: New file.
14335 * gdb.base/vla-stub.c: New file.
14336 * gdb.base/vla-stub.exp: New file.
14337
bb2ec1b3
TT
143382014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14339 Jan Kratochvil <jan.kratochvil@redhat.com>
14340 Tom Tromey <tromey@redhat.com>
14341
14342 * configure.ac: Add gdb.compile/.
14343 * configure: Regenerate.
14344 * gdb.compile/Makefile.in: New file.
14345 * gdb.compile/compile-ops.exp: New file.
14346 * gdb.compile/compile-ops.c: New file.
14347 * gdb.compile/compile-tls.c: New file.
14348 * gdb.compile/compile-tls.exp: New file.
14349 * gdb.compile/compile-constvar.S: New file.
14350 * gdb.compile/compile-constvar.c: New file.
14351 * gdb.compile/compile-mod.c: New file.
14352 * gdb.compile/compile-nodebug.c: New file.
14353 * gdb.compile/compile-setjmp-mod.c: New file.
14354 * gdb.compile/compile-setjmp.c: New file.
14355 * gdb.compile/compile-setjmp.exp: New file.
14356 * gdb.compile/compile-shlib.c: New file.
14357 * gdb.compile/compile.c: New file.
14358 * gdb.compile/compile.exp: New file.
14359 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14360
4ff709eb
TT
143612014-12-12 Tom Tromey <tromey@redhat.com>
14362
14363 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14364 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14365
6dddd6a5
DE
143662014-12-12 Doug Evans <dje@google.com>
14367
14368 * lib/gdb-python.exp (get_python_valueof): New function.
14369 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14370
71c24708
AA
143712014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14372
14373 * gdb.base/completion.exp: Add test for completion of "info
14374 registers ".
14375
3e29f34a
MR
143762014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14377
14378 * gdb.base/func-ptrs.c: New file.
14379 * gdb.base/func-ptrs.exp: New file.
14380
fc126975
SM
143812014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14382
14383 PR breakpoints/17012
14384 * gdb.base/dprintf-detach.c: New file.
14385 * gdb.base/dprintf-detach.exp: New file.
14386
0a46d518
SM
143872014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14388
14389 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14390 * lib/gdb.exp (target_is_gdbserver): New procedure.
14391
a0be3e44
DE
143922014-12-08 Doug Evans <dje@google.com>
14393
14394 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14395
df1b803a
YQ
143962014-12-05 Yao Qi <yao@codesourcery.com>
14397
14398 * gdb.guile/scm-error.exp: Remove the third argument to
14399 gdb_remote_download.
14400 * gdb.guile/scm-frame-args.exp: Likewise.
14401 * gdb.guile/scm-section-script.exp: Likewise.
14402
ddb9f679
YQ
144032014-12-05 Yao Qi <yao@codesourcery.com>
14404
14405 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14406
86e4ed39
DE
144072014-12-04 Doug Evans <dje@google.com>
14408
14409 * gdb.python/py-objfile.exp: Add tests for
14410 objfile.add_separate_debug_file.
14411
7c50a931
DE
144122014-12-04 Doug Evans <dje@google.com>
14413
14414 * lib/gdb.exp (get_build_id): New function.
14415 (build_id_debug_filename_get): Rewrite to use it.
14416 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14417
621661e3
MR
144182014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14419
14420 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14421 `method(long)', not just 0x0.
14422 * gdb.cp/nsalias.exp: Align code labels to 4.
14423 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14424 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14425 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14426 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14427 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14428 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14429
29f0c3b7
DE
144302014-12-02 Doug Evans <dje@google.com>
14431
e1e061e7 14432 PR symtab/17602
29f0c3b7 14433 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 14434 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
14435 * gdb.cp/anon-ns.exp: Update.
14436
162078c8
NB
144372014-12-02 Nick Bull <nicholaspbull@gmail.com>
14438
14439 * gdb.python/py-events.py (inferior_call_handler): New.
14440 (register_changed_handler, memory_changed_handler): New.
14441 (test_events.invoke): Register new handlers.
14442 * gdb.python/py-events.exp: Add tests for inferior call,
14443 memory_changed and register_changed events.
14444
fdb09caf
AA
144452014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14446
14447 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14448 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14449 if the linker doesn't understand this.
14450
55cfb2c4
SM
144512014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14452
14453 * gdb.python/python.exp: Change expected reply to help().
14454
9e8cd6df
YQ
144552014-12-01 Yao Qi <yao@codesourcery.com>
14456
14457 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14458 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14459 * configure: Re-generated.
14460
6c659fc2
SC
144612014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14462
14463 * gdb.cp/chained-calls.cc: New file.
14464 * gdb.cp/chained-calls.exp: New file.
14465 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14466
d7fc3181
SM
144672014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14468
14469 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14470 * gdb.dwarf2/symtab-producer.exp: Same.
14471 * gdb.gdb/python-interrupts.exp: Same.
14472 * gdb.gdb/python-selftest.exp: Same.
14473 * gdb.python/py-linetable.exp: Same.
14474 * gdb.python/py-type.exp: Same.
14475 * gdb.python/py-value-cc.exp: Same.
14476 * gdb.python/py-value.exp: Same.
14477
10e79639
YQ
144782014-11-28 Yao Qi <yao@codesourcery.com>
14479
14480 * gdb.base/break-probes.exp: Match library name prefixed with
14481 sysroot.
14482
f28a0564
SM
144832014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14484
14485 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14486 test expected output. Add parentheses for the call to print.
14487 Remove L suffix from integers.
14488
3fe1ce1d
DE
144892014-11-26 Doug Evans <dje@google.com>
14490
14491 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14492
84429e27
YQ
144932014-11-22 Yao Qi <yao@codesourcery.com>
14494
14495 * gdb.trace/entry-values.c: Remove asms.
14496 (foo): Add foo_label.
14497 (bar): Add bar_label.
14498 * gdb.trace/entry-values.exp: Remove code computing foo's
14499 length and bar's length.
14500 (Dwarf::assemble): Invoke function_range for bar and use
14501 MACRO_AT_func for foo.
14502
26741859
YQ
145032014-11-22 Yao Qi <yao@codesourcery.com>
14504
14505 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14506 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14507 Use .Lgcc43_procstart instead of gcc43.
14508
45e44d27
JB
145092014-11-21 Joel Brobecker <brobecker@adacore.com>
14510
14511 * gdb.ada/n_arr_bound: New testcase.
14512
458c8db8
SDJ
145132014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14514
14515 PR breakpoints/10737
14516 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14517 test_catch_syscall_multi_arch.
14518 (test_catch_syscall_multi_arch): New function.
14519
43f3e411
DE
145202014-11-20 Doug Evans <xdje42@gmail.com>
14521
14522 * gdb.base/maint.exp: Update expected output.
14523
0d7b2549
AA
145242014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14525
14526 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14527 4-byte instruction on S390.
14528
8908fca5
JB
145292014-11-19 Joel Brobecker <brobecker@adacore.com>
14530
14531 * gdb.ada/arr_arr: New testcase.
14532
4a46959e
JB
145332014-11-19 Joel Brobecker <brobecker@adacore.com>
14534
14535 * gdb.ada/pkd_arr_elem: New Testcase.
14536
470e2f4e
LM
145372014-11-18 Luis Machado <lgustavo@codesourcery.com>
14538
14539 * gdb.reverse/break-precsave: Expect completion message for
14540 core file reads.
14541 * gdb.reverse/consecutive-precsave.exp: Likewise.
14542 * gdb.reverse/finish-precsave.exp: Likewise.
14543 * gdb.reverse/i386-precsave.exp: Likewise.
14544 * gdb.reverse/machinestate-precsave.exp: Likewise.
14545 * gdb.reverse/sigall-precsave.exp: Likewise.
14546 * gdb.reverse/solib-precsave.exp: Likewise.
14547 * gdb.reverse/step-precsave.exp: Likewise.
14548 * gdb.reverse/until-precsave.exp: Likewise.
14549 * gdb.reverse/watch-precsave.exp: Likewise.
14550
a267f3ad
AA
145512014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14552
14553 * gdb.base/bp-permanent.c: Include unistd.h.
14554 * gdb.python/py-framefilter-mi.c (main): Add return type.
14555 * gdb.python/py-framefilter.c (main): Likewise.
14556 * gdb.trace/actions-changed.c (main): Likewise.
14557
12084a9a
AA
145582014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14559
14560 * gdb.mi/until.c: Add eye-catchers.
14561 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14562 line numbers.
14563
dc7e1a77
AA
145642014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14565
14566 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14567 function header variants in break1.c.
14568 * gdb.base/ena-dis-br.exp: Likewise.
14569 * gdb.base/hbreak2.exp: Likewise.
14570 * gdb.reverse/until-precsave.exp: Drop references to removed
14571 non-prototype function header variants in ur1.c.
14572 * gdb.reverse/until-reverse.exp: Likewise.
14573
41c77605
PM
145742014-11-17 Petr Machata <pmachata@redhat.com>
14575
14576 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14577 ${_cu_offset_size} bytes abbrev offset.
14578
34248c3a
DE
145792014-11-15 Doug Evans <xdje42@gmail.com>
14580
14581 PR symtab/17559
14582 * gdb.base/line-symtabs.exp: New file.
14583 * gdb.base/line-symtabs.c: New file.
14584 * gdb.base/line-symtabs.h: New file.
14585
646da059
YQ
145862014-11-14 Yao Qi <yao@codesourcery.com>
14587
14588 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14589 (func): Add label func_label.
14590 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14591 Replace low_pc and high_pc with MACRO_AT_range.
14592 Replace name, low_pc and high_pc with MACRO_AT_func.
14593
9301ebe6
YQ
145942014-11-14 Yao Qi <yao@codesourcery.com>
14595
14596 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14597 Replace name, low_pc and high_pc with MACRO_AT_func.
14598
f166b542
YQ
145992014-11-14 Yao Qi <yao@codesourcery.com>
14600
14601 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14602 produce debug information.
14603 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14604
0f6e71e3
YQ
146052014-11-14 Yao Qi <yao@codesourcery.com>
14606
14607 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14608 object and get function length.
14609 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14610 with MACRO_AT_func.
14611 (top-level): Replace gdb_compile and clean_restart with
14612 prepare_for_testing.
14613 * gdb.dwarf2/main.c (main): Add label main_label.
14614
876c4df9
YQ
146152014-11-14 Yao Qi <yao@codesourcery.com>
14616
14617 * lib/dwarf.exp (function_range): New procedure.
14618 (Dwarf::_handle_macro_at_func): New procedure.
14619 (Dwarf::_handle_macro_at_range): New procedure.
14620 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14621
02ad9cf1
YQ
146222014-11-14 Yao Qi <yao@codesourcery.com>
14623
14624 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14625 (_handle_attribute): New procedure.
14626
a59add0c
AA
146272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14628
14629 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14630 * gdb.base/call-sc.c (zed): Likewise.
14631 * gdb.base/checkpoint.c (main): Likewise.
14632 * gdb.base/dump.c (main): Likewise.
14633 * gdb.base/gcore.c (main): Likewise.
14634 * gdb.base/huge.c (main): Likewise.
14635 * gdb.base/multi-forks.c (main): Likewise.
14636 * gdb.base/pr10179-a.c (main): Likewise.
14637 * gdb.base/savedregs.c (main): Likewise.
14638 * gdb.base/sigaltstack.c (main): Likewise.
14639 * gdb.base/siginfo.c (main): Likewise.
14640 * gdb.base/structs.c (zed): Likewise.
14641 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14642 * gdb.mi/mi-syn-frame.c (main): Likewise.
14643 * gdb.mi/until.c (foo, main): Likewise.
14644 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14645 * gdb.base/solib-weak.c (foo): Declare.
14646 * gdb.base/attach-twice.c: Include stdio.h.
14647 * gdb.base/weaklib1.c: Likewise.
14648 * gdb.base/weaklib2.c: Likewise.
14649 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14650 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14651 unistd.h.
14652 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14653 * gdb.mi/mi-exit-code.c: Likewise.
14654 * gdb.base/break-interp-lib.c: Include string.h.
14655 * gdb.base/coremaker.c: Likewise.
14656 * gdb.base/testenv.c: Likewise.
14657 * gdb.python/py-finish-breakpoint.c: Likewise.
14658 * gdb.base/inferior-died.c: Include sys/wait.h.
14659 * gdb.base/fileio.c: Include time.h.
14660 * gdb.base/async-shell.c: Include unistd.h.
14661 * gdb.base/dprintf-non-stop.c: Likewise.
14662 * gdb.base/info-os.c: Likewise.
14663 * gdb.mi/mi-console.c: Likewise.
14664 * gdb.mi/watch-nonstop.c: Likewise.
14665 * gdb.python/py-events.c: Likewise.
14666 * gdb.base/async.c (baz): Move up before its invocation.
14667 * gdb.base/code_elim2.c (my_global_func): Likewise.
14668 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14669 * gdb.base/advance.c (func2): Likewise.
14670
3b5d5997
AA
146712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14672
14673 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14674 variant.
14675 * gdb.base/annota3.c: Likewise.
14676 * gdb.base/async.c: Likewise.
14677 * gdb.base/average.c: Likewise.
14678 * gdb.base/call-ar-st.c: Likewise.
14679 * gdb.base/call-rt-st.c: Likewise.
14680 * gdb.base/call-sc.c: Likewise.
14681 * gdb.base/call-strs.c: Likewise.
14682 * gdb.base/ending-run.c: Likewise.
14683 * gdb.base/execd-prog.c: Likewise.
14684 * gdb.base/exprs.c: Likewise.
14685 * gdb.base/foll-exec.c: Likewise.
14686 * gdb.base/foll-fork.c: Likewise.
14687 * gdb.base/foll-vfork.c: Likewise.
14688 * gdb.base/funcargs.c: Likewise.
14689 * gdb.base/gcore.c: Likewise.
14690 * gdb.base/jump.c: Likewise.
14691 * gdb.base/langs0.c: Likewise.
14692 * gdb.base/langs1.c: Likewise.
14693 * gdb.base/langs2.c: Likewise.
14694 * gdb.base/mips_pro.c: Likewise.
14695 * gdb.base/nodebug.c: Likewise.
14696 * gdb.base/opaque0.c: Likewise.
14697 * gdb.base/opaque1.c: Likewise.
14698 * gdb.base/recurse.c: Likewise.
14699 * gdb.base/run.c: Likewise.
14700 * gdb.base/scope0.c: Likewise.
14701 * gdb.base/scope1.c: Likewise.
14702 * gdb.base/setshow.c: Likewise.
14703 * gdb.base/setvar.c: Likewise.
14704 * gdb.base/shmain.c: Likewise.
14705 * gdb.base/shr1.c: Likewise.
14706 * gdb.base/shr2.c: Likewise.
14707 * gdb.base/sigall.c: Likewise.
14708 * gdb.base/signals.c: Likewise.
14709 * gdb.base/so-indr-cl.c: Likewise.
14710 * gdb.base/solib2.c: Likewise.
14711 * gdb.base/structs.c: Likewise.
14712 * gdb.base/sum.c: Likewise.
14713 * gdb.base/vforked-prog.c: Likewise.
14714 * gdb.base/watchpoint.c: Likewise.
14715 * gdb.reverse/shr2.c: Likewise.
14716 * gdb.reverse/until-reverse.c: Likewise.
14717 * gdb.reverse/ur1.c: Likewise.
14718 * gdb.reverse/watch-reverse.c: Likewise.
14719
066a77c5
AA
147202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14721
14722 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14723 variant.
14724 * gdb.base/sepdebug.exp: Drop references to removed code.
14725
4f204ea5
AA
147262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14727
14728 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14729 variant. Preserve original line numbering.
14730 * gdb.base/list1.c: Likewise.
14731
3b377a3a
AA
147322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14733
14734 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14735 variant.
14736 * gdb.base/break1.c: Likewise.
14737 * gdb.base/break.exp: Drop references to removed code.
14738
e444df73
AA
147392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14740
14741 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14742 variant.
14743
8008f2a7
AA
147442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14745
14746 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14747
a5a06887
AA
147482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14749
14750 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14751 logic into perform_all_tests() and invoke it with and without
14752 function header prototypes.
14753 (do_function_calls): Remove conditional XFAIL for PR 5318.
14754 (rerun_and_prepare): Remove duplicate code.
14755 (perform_all_tests): New. Main logic moved here.
14756
44dba9b9
AA
147572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14758
14759 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14760 code guarded by #ifdef NO_PROTOTYPES.
14761 (t_double_many_args): Likewise.
14762 (DEF_FUNC_MANY_ARGS_1): Likewise.
14763 (DEF_FUNC_VALUES_1): Likewise.
14764 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14765 guarded by #ifdef PROTOTYPES.
14766
d1fbcd56
AA
147672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14768
14769 * gdb.mi/mi-console.c: Add eye-catcher.
14770 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14771 instead of literal line number.
14772
b0e59b8f
AA
147732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14774
14775 * gdb.base/shr2.c: Add eye-catcher.
14776 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14777 line number.
14778
78f98cca
AA
147792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14780
14781 * gdb.base/jump.c: Add eye-catchers.
14782 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14783 numbers.
14784
58fa2af0
AA
147852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14786
14787 * gdb.base/execd-prog.c: Add eye-catchers.
14788 * gdb.base/foll-exec.c: Likewise.
14789 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14790 line numbers.
14791
04e5059b
AA
147922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14793
14794 * gdb.base/ending-run.c: Add eye-catchers.
14795 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14796 literal line numbers.
14797
dbfdb174
AA
147982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14799
14800 * gdb.base/call-rt-st.c: Add eye-catchers.
14801 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14802 literal line numbers.
14803
888a2ade
AA
148042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14805
14806 * gdb.base/call-ar-st.c: Add eye-catchers.
14807 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14808 literal line numbers.
14809
6acc2dde
AA
148102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14811
14812 * gdb.base/average.c: Add eye-catchers.
14813 * gdb.base/sum.c: Likewise.
14814 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14815 regexps dynamically.
14816
9ecfcd1d
AA
148172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14818
14819 * gdb.base/solib1.c: Add eye-catchers.
14820 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14821 literal line numbers.
14822
78708b7c
PA
148232014-11-12 Pedro Alves <palves@redhat.com>
14824
14825 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14826 leader has exited.
14827
af48d08f
PA
148282014-11-12 Pedro Alves <palves@redhat.com>
14829
14830 * gdb.arch/i386-bp_permanent.c: New file.
14831 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14832 (srcfile): Set to i386-bp_permanent.c.
14833 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14834 that stepi does not execute the 'leave' instruction, instead of
14835 testing it does execute.
14836 * gdb.base/bp-permanent.c: New file.
14837 * gdb.base/bp-permanent.exp: New file.
14838
af3768e9
DE
148392014-11-10 Doug Evans <xdje42@gmail.com>
14840
14841 PR symtab/17564
14842 * gdb.base/symtab-search-order.exp: New file.
14843 * gdb.base/symtab-search-order.c: New file.
14844 * gdb.base/symtab-search-order-1.c: New file.
14845 * gdb.base/symtab-search-order-shlib-1.c: New file.
14846
9de00a4a
PA
148472014-11-07 Pedro Alves <palves@redhat.com>
14848
14849 PR gdb/17511
14850 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14851 i?86-*-linux*.
14852
e0f52461
SC
148532014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14854
14855 PR c++/17494
14856 * gdb.cp/pr17494.cc: New file.
14857 * gdb.cp/pr17494.exp: New file.
14858
6ce8c980
YQ
148592014-11-02 Yao Qi <yao@codesourcery.com>
14860
14861 * gdb.python/python.exp: Get working directory and match the
14862 output of "set extended-prompt \\w " with it.
14863
02be9a71
DE
148642014-10-30 Doug Evans <dje@google.com>
14865
14866 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14867 in objfiles.
14868 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14869 in progspaces.
14870
3bdff46b
LM
148712014-10-30 Janis Johnson <janisjo@codesourcery.com>
14872
14873 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14874 * gdb.base/realname-expand.exp: Likewise.
14875 * gdb.linespec/macro-relative.exp: Likewise.
14876
ab917dfb
PA
148772014-10-29 Pedro Alves <palves@redhat.com>
14878
14879 PR gdb/17408
14880 * gdb.threads/schedlock.c (some_function): New function.
14881 (call_function): New global.
14882 (MAYBE_CALL_SOME_FUNCTION): New macro.
14883 (thread_function): Call it.
14884 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14885 and use it instead of a global counter. Adjust all callers.
14886 (get_current_thread): Use "find current thread" for test message
14887 here rather than having all callers pass down the same string.
14888 (goto_loop): New procedure, factored out from ...
14889 (my_continue): ... this.
14890 (step_ten_loops): Change parameter from test message to command to
14891 use. Adjust.
14892 (list_count): Delete global.
14893 (check_result): New procedure, factored out from duplicate top
14894 level code.
14895 (continue tests): Wrap in with_test_prefix.
14896 (test_step): New procedure, factored out from duplicate top level
14897 code.
14898 (top level): Test "step" in combination with all scheduler-locking
14899 modes. Test "next" in combination with all scheduler-locking
14900 modes, and in combination with stepping over a function call or
14901 not.
14902 * gdb.threads/next-bp-other-thread.c: New file.
14903 * gdb.threads/next-bp-other-thread.exp: New file.
14904
d3d4baed
PA
149052014-10-29 Pedro Alves <palves@redhat.com>
14906
14907 PR python/17372
14908 * gdb.python/python.exp: Test a multi-line command that spawns
14909 interactive Python.
14910 * gdb.base/multi-line-starts-subshell.exp: New file.
14911
563e8d85
YQ
149122014-10-29 Yao Qi <yao@codesourcery.com>
14913
14914 * gdb.base/fileio.exp: Make directories on host.
14915
0ea4d52e
YQ
149162014-10-29 Yao Qi <yao@codesourcery.com>
14917
14918 * gdb.base/fileio.c (test_write): Close the file.
14919
7f5ef605
PA
149202014-10-28 Pedro Alves <palves@redhat.com>
14921
14922 PR gdb/12623
14923 * gdb.base/sigstep.c (no_handler): New global.
14924 (main): If 'no_handler is true, set the signal handlers to
14925 SIG_IGN.
14926 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14927 with_sw_watch and no_handler parameters. Handle them.
14928 (top level) <stepping over handler when stopped at a breakpoint
14929 test>: Add a test axis for testing with a software watchpoint, and
14930 another for testing with the signal handler set to SIG_IGN.
14931 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14932 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14933
abbdbd03
PA
149342014-10-28 Pedro Alves <palves@redhat.com>
14935
14936 PR gdb/17511
14937 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14938 * gdb.base/sigstep.exp (other_handler_location): New global.
14939 (advance): Support stepping into the signal handler, and running
14940 commands while in the handler.
14941 (in_handler_map): New global.
14942 (top level): In the advance test, add combinations for getting
14943 into the handler with stepping commands, and for running commands
14944 in the handler. Add comment descripting the advancei tests.
14945
1df4399f
PA
149462014-10-28 Pedro Alves <palves@redhat.com>
14947
14948 * gdb.base/sigstep.exp: Use build_executable instead of
14949 prepare_for_testing.
14950 (top level): Move code that starts GDB, runs to main and creates a
14951 display to ...
14952 (restart): ... this new procedure.
14953 (top level): Move backtrace from signal handler test to ...
14954 (validate_backtrace): ... this new procedure.
14955 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14956 with_test_prefix. Always restart GDB.
14957 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14958 with_test_prefix. Always restart GDB. No need to delete
14959 breakpoints after the test.
14960 (test_skip_handler): Remove prefix parameter.
14961 (skip_over_handler, breakpoint_to_handler)
14962 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14963 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14964 restart GDB. No need to delete breakpoints after the test.
14965 (top level): Use foreach to call the test procedures with
14966 different commands.
14967
a5b6e449
PA
149682014-10-28 Pedro Alves <palves@redhat.com>
14969
14970 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14971 instead of GNATS numbers.
14972 * gdb.base/sigbpt.exp: Likewise.
14973 * gdb.base/siginfo.exp: Likewise.
14974 * gdb.base/sigstep.exp: Likewise.
14975
e5f8a7cc
PA
149762014-10-27 Pedro Alves <palves@redhat.com>
14977
14978 * gdb.base/sigstep.c (dummy): New global.
14979 (main): Issue a couple writes to the new global.
14980 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14981 procedures.
14982 (skip_over_handler): Use test_skip_handler.
14983 (top level): Call skip_over_handler for stepi and nexti too.
14984 (breakpoint_over_handler): Use test_skip_handler.
14985 (top level): Call breakpoint_over_handler for stepi and nexti too.
14986
763905a3
YQ
149872014-10-27 Yao Qi <yao@codesourcery.com>
14988
14989 * gdb.trace/tfile.c (adjust_function_address)
14990 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14991 function descriptor.
14992
6f259a23
DB
149932014-10-24 Don Breazeal <donb@codesourcery.com>
14994
14995 * gdb.base/foll-fork.exp (test_follow_fork,
14996 catch_fork_child_follow): Check for updated fork messages emitted
14997 from infrun.c.
14998 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14999 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15000 vfork_and_exec_child_follow_through_step): Check for updated vfork
15001 messages emitted from infrun.c.
15002
09dd9a69
PA
150032014-10-24 Pedro Alves <palves@redhat.com>
15004
15005 * gdb.base/corefile.exp: Remove references to ultrix.
15006 * gdb.base/interrupt.exp: Likewise.
15007 * gdb.base/whatis.exp: Likewise.
15008 * gdb.gdb/selftest.exp: Likewise.
15009 * gdb.threads/manythreads.exp: Likewise.
15010 * gdb.threads/print-threads.exp: Likewise.
15011 * gdb.threads/pthreads.exp:: Likewise.
15012 * gdb.threads/schedlock.exp: Likewise.
15013
3433cfa5
SC
150142014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15015
15016 * gdb.cp/non-trivial-retval.cc: Add a test case.
15017 * gdb.cp/non-trivial-retval.exp: Add a test.
15018
092f880b
YQ
150192014-10-20 Yao Qi <yao@codesourcery.com>
15020
15021 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15022 * gdb.python/py-objfile-script-gdb.py: New file.
15023 * gdb.python/py-objfile-script.exp: Update reference to
15024 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15025 of remote_download. Remove the dest file.
15026
acbdb7f3
YQ
150272014-10-20 Yao Qi <yao@codesourcery.com>
15028
15029 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15030 * gdb.base/step-line.exp: Likewise.
15031 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15032 * gdb.dwarf2/dw2-basic.exp: Likewise.
15033 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15034 * gdb.dwarf2/dw2-filename.exp: Likewise.
15035 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15036 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15037 * gdb.dwarf2/dw2-producer.exp: Likewise.
15038 * gdb.dwarf2/mac-fileno.exp: Likewise.
15039 * gdb.python/py-frame-args.exp: Likewise.
15040 * gdb.python/py-framefilter.exp: Likewise.
15041 * gdb.python/py-mi.exp: Likewise.
15042 * gdb.python/py-objfile-script.exp: Likewise
15043 * gdb.python/py-pp-integral.exp: Likewise.
15044 * gdb.python/py-pp-re-notag.exp: Likewise.
15045 * gdb.python/py-prettyprint.exp: Likewise.
15046 * gdb.python/py-section-script.exp: Likewise.
15047 * gdb.python/py-typeprint.exp: Likewise.
15048 * gdb.python/py-xmethods.exp: Likewise.
15049 * gdb.stabs/weird.exp: Likewise.
15050 * gdb.xml/tdesc-regs.exp: Likewise.
15051
bd286a29
KCY
150522014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15053
15054 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15055 (out_cu): Use addr_len for the size of addresses.
15056 (out_line): Likewise. Size DW_LNE_set_address instruction
15057 according to addr_len.
15058 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15059 (FUNC): Add START_INSNS to definition.
15060
673dc4a0
YQ
150612014-10-18 Yao Qi <yao@codesourcery.com>
15062
15063 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15064 gdb_has_argv0 return true.
15065 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15066 check [target_info exists noargs], check [gdb_has_argv0]
15067 instead.
15068 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15069 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15070 procedures.
15071
4ffbba72
DE
150722014-10-17 Doug Evans <dje@google.com>
15073
15074 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15075 event.
15076 * gdb.python/py-events.py: Add clear_objfiles event.
15077
d096d8c1
DE
150782014-10-17 Doug Evans <dje@google.com>
15079
15080 * gdb.python/py-objfile.exp: Test progspace attribute.
15081
a80db015
LM
150822014-10-17 Luis Machado <lgustavo@codesourcery.com>
15083
15084 * gdb.guile/scm-breakpoint.exp: Do not assume any
15085 directory separators when matching source file paths.
15086 * gdb.python/py-breakpoint.exp: Likewise.
15087 * gdb.reverse/break-precsave.exp: Likewise.
15088 * gdb.reverse/break-reverse.exp: Likewise.
15089 * gdb.reverse/consecutive-precsave.exp: Likewise.
15090 * gdb.reverse/finish-precsave.exp: Likewise.
15091 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15092 * gdb.reverse/finish-reverse.exp: Likewise.
15093 * gdb.reverse/i386-precsave.exp: Likewise.
15094 * gdb.reverse/i387-env-reverse.exp: Likewise.
15095 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15096 * gdb.reverse/machinestate-precsave.exp: Likewise.
15097 * gdb.reverse/machinestate.exp: Likewise.
15098 * gdb.reverse/sigall-precsave.exp: Likewise.
15099 * gdb.reverse/solib-precsave.exp: Likewise.
15100 * gdb.reverse/step-precsave.exp: Likewise.
15101 * gdb.reverse/until-precsave.exp: Likewise.
15102 * gdb.reverse/watch-precsave.exp: Likewise.
15103 * gdb.reverse/watch-reverse.exp: Likewise.
15104
b22089ab
YQ
151052014-10-17 Yao Qi <yao@codesourcery.com>
15106
15107 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15108 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15109
6c4486e6
PA
151102014-10-17 Pedro Alves <palves@redhat.com>
15111
15112 PR gdb/17471
15113 * gdb.base/bg-execution-repeat.c: New file.
15114 * gdb.base/bg-execution-repeat.exp: New file.
15115
0ff33695
PA
151162014-10-17 Pedro Alves <palves@redhat.com>
15117
15118 PR gdb/17300
15119 * gdb.base/continue-all-already-running.c: New file.
15120 * gdb.base/continue-all-already-running.exp: New file.
15121
6fdebc3d
PA
151222014-10-17 Pedro Alves <palves@redhat.com>
15123
15124 PR gdb/17472
15125 * gdb.base/annota-input-while-running.c: New file.
15126 * gdb.base/annota-input-while-running.exp: New file.
15127
32a8097b
PA
151282014-10-17 Pedro Alves <palves@redhat.com>
15129
15130 * gdb.base/callfuncs.exp: emove references to osf.
15131 * gdb.base/sigall.exp: Likewise.
15132 * gdb.gdb/selftest.exp: Likewise.
15133 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15134 * gdb.mi/non-stop.c: Likewise.
15135 * gdb.mi/pthreads.c: Likewise.
15136 * gdb.reverse/sigall-precsave.exp: Likewise.
15137 * gdb.reverse/sigall-reverse.exp: Likewise.
15138 * gdb.threads/pthreads.c: Likewise.
15139 * gdb.threads/pthreads.exp: Likewise.
15140
7a3517ff
YQ
151412014-10-17 Yao Qi <yao@codesourcery.com>
15142
15143 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15144 check 'target_info exists noargs'.
15145 (test_command_prompt_position): Likewise.
15146 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15147 Remove "set args".
15148 (progvar_simple_while_test): Likewise.
15149 (progvar_complex_if_while_test): Likewise.
15150 (if_while_breakpoint_command_test): Likewise.
15151 (infrun_breakpoint_command_test): Likewise.
15152 (breakpoint_command_test): Likewise.
15153 (watchpoint_command_test): Likewise.
15154 (bp_deleted_in_command_test): Likewise.
15155 (temporary_breakpoint_commands): Likewise.
15156
bb99c472
YQ
151572014-10-16 Yao Qi <yao@codesourcery.com>
15158
15159 * gdb.base/remotetimeout.exp: Remove noargs checking.
15160
7c16b83e
PA
151612014-10-15 Pedro Alves <palves@redhat.com>
15162
15163 PR breakpoints/9649
15164 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15165 * gdb.base/breakpoint-in-ro-region.exp
15166 (probe_target_hardware_step): New procedure.
15167 (top level): Probe hardware stepping and hardware breakpoint
15168 support. Test stepping through a read-only region, with both
15169 "breakpoint auto-hw" on and off and both "always-inserted" on and
15170 off.
15171
35a49624
IB
151722014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15173
15174 * gdb.dlang/demangle.exp: Update for demangling changes.
15175
2d1c107c
SC
151762014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15177
15178 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15179 * gdb.cp/non-trivial-retval.exp: Add new tests.
15180
778811d5
SC
151812014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15182
15183 PR c++/13403
15184 PR c++/15154
15185 * gdb.cp/non-trivial-retval.cc: New file.
15186 * gdb.cp/non-trivial-retval.exp: New file.
15187
10c5f0a8
YQ
151882014-10-15 Yao Qi <yao@codesourcery.com>
15189
15190 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15191 remote host.
15192
65d7b369
YQ
151932014-10-15 Yao Qi <yao@codesourcery.com>
15194
15195 * gdb.python/py-symbol.exp: Match file base name if host is
15196 remote, otherwise match file name with dir name.
15197 * gdb.python/py-symtab.exp: Likewise.
15198 * gdb.python/python.exp: Likewise.
15199
46dc1394
YQ
152002014-10-15 Yao Qi <yao@codesourcery.com>
15201
15202 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15203 pattern.
15204 * gdb.python/py-symtab.exp: Likewise.
15205 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15206 locationn.
15207
c40cc657
JB
152082014-10-14 Joel Brobecker <brobecker@adacore.com>
15209
15210 * gdb.ada/addr_arith: New testcase.
15211
2abf49e1
MR
152122014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15213
15214 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15215 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15216 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15217 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15218
f7088df3
SDJ
152192014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15220
15221 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15222 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15223 * gdb.arch/stap-eval-lang-ada.exp: New file.
15224
4dc06805
YQ
152252014-10-14 Yao Qi <yao@codesourcery.com>
15226
15227 * gdb.mi/mi-var-child.c (nothing1): New function.
15228 (nothing2): New function.
15229 (do_children_tests): Set function pointers by nothing1 and
15230 nothing2.
15231 * gdb.mi/mi-var-child.exp: Step over new added statements.
15232 Update test to match the new output.
15233 * gdb.mi/var-cmd.c (nothing1): New function.
15234 (nothing2): New function.
15235 (do_children_tests): Set function pointers by nothing1 and
15236 nothing2.
15237 * gdb.mi/mi-var-display.exp: Update test to match output.
15238 Step to the line specified by $line_dct_nothing.
15239 Increase the number of lines to step.
15240
46a93de2
YQ
152412014-10-14 Yao Qi <yao@codesourcery.com>
15242
15243 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15244 tests.
15245 * gdb.mi/mi2-var-child.exp: Likewise.
15246
14ea52ee
DE
152472014-10-13 Doug Evans <dje@google.com>
15248
15249 * gdb.python/py-objfile.exp: Change name of file name test.
15250
e5c6e92b
DE
152512014-10-13 Doug Evans <dje@google.com>
15252
15253 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15254 from the start of the CU.
15255
c780cc2f
JK
152562014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15257 Yao Qi <yao@codesourcery.com>
15258
15259 Fix "save breakpoints" for "catch" command.
15260 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15261 Remove -nonewline. Match also the added "main" line.
15262
99894e11
JK
152632014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15264
15265 Fix "save breakpoints" for "disable $bpnum" command.
15266 * gdb.base/save-bp.c (main): Add label.
15267 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15268
6e1ac5a3
JK
152692014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15270
15271 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15272
754dd2b0
YQ
152732014-10-11 Yao Qi <yao@codesourcery.com>
15274
15275 * gdb.server/server-kill.exp: Execute command
15276 "set remote trace-status-packet on" before "tstatus".
15277
f90183d7
YQ
152782014-10-11 Yao Qi <yao@codesourcery.com>
15279
15280 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15281 (main): Call getppid.
15282 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15283 and continue to it. Read variable "server_pid".
15284
bf40a607
YQ
152852014-10-11 Yao Qi <yao@codesourcery.com>
15286
15287 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15288
052ca370
YQ
152892014-10-11 Yao Qi <yao@codesourcery.com>
15290
15291 * gdb.threads/thread-find.exp: Don't execute command
15292 "info threads".
15293 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15294 * gdb.threads/linux-dp.exp: Don't check the condition
15295 $threads_created equals to zero.
15296
3831839c
PA
152972014-10-10 Pedro Alves <palves@redhat.com>
15298
15299 * gdb.base/bigcore.exp: Remove references to IRIX.
15300 * gdb.base/funcargs.exp: Likewise.
15301 * gdb.base/interrupt.exp: Likewise.
15302 * gdb.base/mips_pro.exp: Likewise.
15303 * gdb.base/nodebug.exp: Likewise.
15304 * gdb.base/setvar.exp: Likewise.
15305 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15306
8b9a549d
PA
153072014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15308 Pedro Alves <palves@redhat.com>
15309
15310 PR symtab/14466
15311 * gdb.base/vdso-warning.c: New file.
15312 * gdb.base/vdso-warning.exp: New file.
15313
d48ba5e8
DE
153142014-10-02 Doug Evans <dje@google.com>
15315
15316 * gdb.base/structs.c (main): Don't run forever.
15317
2278c276
PA
153182014-10-02 Pedro Alves <palves@redhat.com>
15319
15320 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15321 (top level) <stop threads 1, stop threads 2>: Use it.
15322
b57bacec
PA
153232014-10-02 Pedro Alves <palves@redhat.com>
15324
15325 * gdb.threads/break-while-running.exp (test): Add new
15326 'update_thread_list' argument. Skip "info threads" if false.
15327 (top level): Add new 'update_thread_list' axis.
15328
13fd3ff3
PA
153292014-10-02 Pedro Alves <palves@redhat.com>
15330
15331 PR breakpoints/17431
15332 * gdb.base/execl-update-breakpoints.c: New file.
15333 * gdb.base/execl-update-breakpoints.exp: New file.
15334
0fec99e8
PA
153352014-10-01 Pedro Alves <palves@redhat.com>
15336
15337 * gdb.base/breakpoint-in-ro-region.c: New file.
15338 * gdb.base/breakpoint-in-ro-region.exp: New file.
15339
2ddf4301
SM
153402014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15341
15342 * gdb.mi/mi-exit-code.exp: New file.
15343 * gdb.mi/mi-exit-code.c: New file.
15344
6a5f3f43
YQ
153452014-09-30 Yao Qi <yao@codesourcery.com>
15346
15347 * lib/prelink-support.exp (build_executable_own_libs): Error if
15348 the target isn't native.
15349
345bcc73
YQ
153502014-09-30 Yao Qi <yao@codesourcery.com>
15351
15352 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15353 false.
15354
a25a5a45
PA
153552014-09-22 Pedro Alves <palves@redhat.com>
15356
15357 * gdb.threads/break-while-running.exp: New file.
15358 * gdb.threads/break-while-running.c: New file.
15359
00ba3162
YQ
153602014-09-19 Yao Qi <yao@codesourcery.com>
15361
15362 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15363 Invoke test. Restart GDB with --readnow and invoke test again.
15364
c3b7b696
YQ
153652014-09-19 Yao Qi <yao@codesourcery.com>
15366
15367 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15368 proc set_breakpoint_on_gcd_function. Invoke
15369 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15370 invoke set_breakpoint_on_gcd_function again.
15371
2b4fd423
DE
153722014-09-18 Doug Evans <dje@google.com>
15373
15374 * gdb.dwarf2/symtab-producer.exp: New file.
15375
a5947601
SDJ
153762014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15377
15378 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15379 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15380 * gdb.base/global-var-nested-by-dso.c: Likewise.
15381 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15382
91c19059
SDJ
153832014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15384 Pedro Alves <palves@redhat.com>
15385
15386 * gdb.base/watch-bitfields.exp: Pass string other than test file
15387 name to prepare_for_testing.
15388 (watch): New procedure.
15389 (expect_watchpoint): Use with_test_prefix.
15390 (top level): Factor out tests to ...
15391 (test_watch_location, test_regular_watch): ... these new
15392 procedures, and use with_test_prefix and gdb_continue_to_end.
15393
bb9d5f81
PP
153942014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15395
15396 PR breakpoints/12526
15397 * gdb.base/watch-bitfields.exp: New file.
15398 * gdb.base/watch-bitfields.c: New file.
15399
635856f5
PA
154002014-09-16 Pedro Alves <palves@redhat.com>
15401
15402 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15403 software and hardware addresses, not software address against
15404 itself.
15405
7280ceea
PA
154062014-09-16 Pedro Alves <palves@redhat.com>
15407
15408 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15409 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15410
428b16bd
PA
154112014-09-16 Pedro Alves <palves@redhat.com>
15412
15413 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15414 files.
15415 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15416 "*-*-vxworks*" throughout.
15417 * gdb.base/break.exp: Likewise.
15418 * gdb.base/default.exp: Likewise.
15419 * gdb.base/scope.exp: Likewise.
15420 * gdb.base/sepdebug.exp: Likewise.
15421 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15422 throughout.
15423 * gdb.base/run.c: Likewise.
15424 * gdb.base/sepdebug.c: Likewise.
15425 * gdb.hp/gdb.aCC/run.c: Likewise.
15426 * gdb.reverse/until-reverse.c: Likewise.
15427 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15428
666d413c
YQ
154292014-09-16 Yao Qi <yao@codesourcery.com>
15430
15431 * boards/local-remote-host-native.exp: New file.
15432
57cbd724
DE
154332014-09-14 Doug Evans <xdje42@gmail.com>
15434
15435 * gdb.threads/queue-signal.c (thread_count): New variable.
15436 (thread_count_mutex, thread_count_condvar): New variables.
15437 (incr_thread_count, wait_all_threads_running): New functions.
15438 (main): Wait for all threads to be in their thread functions.
15439
81219e53
DE
154402014-09-13 Doug Evans <xdje42@gmail.com>
15441
15442 * gdb.threads/queue-signal.c: New file.
15443 * gdb.threads/queue-signal.exp: New file.
15444
3714cea7
DE
154452014-09-13 Doug Evans <xdje42@gmail.com>
15446
15447 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15448 be consistent with what default_gdb_init uses.
15449 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15450 the plain text of the prompt. Add some logging printfs.
15451 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15452
fa43b1d7
PA
154532014-09-12 Pedro Alves <palves@redhat.com>
15454
15455 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15456 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15457 * gdb.arch/i386-size-overlap.exp: Likewise.
15458 * gdb.arch/i386-size.exp: Likewise.
15459 * gdb.arch/i386-unwind.exp: Likewise.
15460 * gdb.base/a2-run.exp: Likewise.
15461 * gdb.base/break.exp: Likewise.
15462 * gdb.base/charset.exp: Likewise.
15463 * gdb.base/chng-syms.exp: Likewise.
15464 * gdb.base/commands.exp: Likewise.
15465 * gdb.base/dbx.exp: Likewise.
15466 * gdb.base/find.exp: Likewise.
15467 * gdb.base/funcargs.exp: Likewise.
15468 * gdb.base/jit-simple.exp: Likewise.
15469 * gdb.base/reread.exp: Likewise.
15470 * gdb.base/sepdebug.exp: Likewise.
15471 * gdb.base/step-bt.exp: Likewise.
15472 * gdb.cp/mb-inline.exp: Likewise.
15473 * gdb.cp/mb-templates.exp: Likewise.
15474 * gdb.objc/basicclass.exp: Likewise.
15475 * gdb.threads/killed.exp: Likewise.
15476
9d9bf2df
EBM
154772014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15478
15479 PR tdep/17379
15480 * gdb.arch/powerpc-stackless.S: New file.
15481 * gdb.arch/powerpc-stackless.exp: New file.
15482
1cf2f1b0
JK
154832014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15484
15485 * gdb.base/attach.c: Include unistd.h.
15486 (main): Call alarm. Add label postloop.
15487 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15488 gdb_breakpoint, gdb_continue_to_breakpoint.
15489 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15490
98880d46
PA
154912014-09-11 Pedro Alves <palves@redhat.com>
15492
15493 PR gdb/17347
15494 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15495 * gdb.base/attach.exp (test_command_line_attach_run): New
15496 procedure.
15497 (top level): Call it.
15498
4c92ff2c
PA
154992014-09-11 Pedro Alves <palves@redhat.com>
15500
15501 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15502 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15503 (do_command_attach_tests): Use spawn_wait_for_attach.
15504 * gdb.base/solib-overlap.exp: Likewise.
15505 * gdb.multi/multi-attach.exp: Likewise.
15506 * gdb.python/py-prompt.exp: Likewise.
15507 * gdb.python/py-sync-interp.exp: Likewise.
15508 * gdb.server/ext-attach.exp: Likewise.
15509
3adc1a7d
GKB
155102014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15511
15512 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15513 command in testcase. Simplify testcase.
15514
96334934
JB
155152014-09-10 Joel Brobecker <brobecker@adacore.com>
15516
15517 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15518
eb479039
JB
155192014-09-10 Joel Brobecker <brobecker@adacore.com>
15520
15521 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15522
deede10c
JB
155232014-09-10 Joel Brobecker <brobecker@adacore.com>
15524
15525 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15526
7828a5f5
JB
155272014-09-10 Joel Brobecker <brobecker@adacore.com>
15528
15529 * gdb.dwarf2/dynarr-ptr.c: New file.
15530 * gdb.dwarf2/dynarr-ptr.exp: New file.
15531
33aeebcf
MR
155322014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15533
15534 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15535 of 30 rather than hardcoding 120 for a slow test case. Take the
15536 `gdb,timeout' target setting into account for this calculation.
15537 Don't extend the timeout for the test cases that don't need it.
15538
7b415901
MR
155392014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15540
15541 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15542 a factor of 2 for a slow test case. Take the `gdb,timeout'
15543 target setting into account for this calculation.
15544 * gdb.reverse/until-precsave.exp: Increase the timeout by
15545 a factor of 15 and 3 respectively rather than adding 120
15546 for a pair of slow test cases. Take the `gdb,timeout'
15547 target setting into account for this calculation.
15548
4a40f85a
MR
155492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15550
15551 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15552 timeout, don't pass one down to gdb_expect.
15553 (gdb_expect): Rework timeout selection.
15554
09635af7
MR
155552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15556
15557 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15558 exception on timeout.
15559 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15560 (gdbserver_start_extended): Catch any `gdbserver_start' error
15561 exceptions.
15562 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15563 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15564 `gdbserver_gdb_load' error exceptions.
15565
2bdd10b7
MR
155662014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15567
15568 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15569 120 on waiting for the TCP socket to open.
15570
316935f0
DE
155712014-09-09 Doug Evans <xdje42@gmail.com>
15572
15573 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15574 _caller_matches, _any_caller_is, _any_caller_matches.
15575
83740597
DE
155762014-09-09 Doug Evans <xdje42@gmail.com>
15577
15578 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15579
4c122fc3
YQ
155802014-09-09 Yao Qi <yao@codesourcery.com>
15581
15582 * gdb.mi/mi-var-display.exp: Set print symbol off.
15583
a9f116cb
GKB
155842014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15585
15586 PR gdb/17035
15587 * gdb.base/commands.exp: Add tests to verify user-defined
15588 commands with empty bodies.
15589 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15590 python commands in `show user command`.
15591 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15592 scheme commands in `show user command`.
15593
c75bd3a2
JK
155942014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15595
15596 PR python/17355
15597 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15598 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15599 * gdb.python/py-framefilter-invalidarg.exp: New file.
15600 * gdb.python/py-framefilter-invalidarg.py: New file.
15601
faa42425
DE
156022014-09-06 Doug Evans <xdje42@gmail.com>
15603
15604 PR 15276
15605 * gdb.python/py-caller-is.c: New file.
15606 * gdb.python/py-caller-is.exp: New file.
15607
474ca4f6
SDJ
156082014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15609
15610 PR gdb/17235
15611 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15612 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15613
eb0b0463
SDJ
156142014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15615
15616 PR fortran/17237
15617 * gdb.fortran/print-formatted.exp: New file.
15618 * gdb.fortran/print-formatted.f90: Likewise.
15619
5f3b99cf
SS
156202014-09-03 Sasha Smundak <asmundak@google.com>
15621
15622 * gdb.python/py-frame.exp: Test Frame.read_register.
15623
7d793aa9
SDJ
156242014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15625
15626 PR python/16699
15627 * gdb.python/py-completion.exp: New file.
15628 * gdb.python/py-completion.py: Likewise.
15629
fb0576e9
DE
156302014-08-28 Doug Evans <dje@google.com>
15631
15632 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15633 eax,etc. are live with values set by gdb and thus the compiler can't
15634 use them.
15635 * gdb.arch/i386-pseudo.c (main): Ditto.
15636
ee92b0dd
DE
156372014-08-27 Doug Evans <dje@google.com>
15638
15639 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15640
6649db35
DE
156412014-08-25 Doug Evans <dje@google.com>
15642
15643 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15644 (main): Ditto.
15645
564b7600
DE
156462014-08-25 Doug Evans <dje@google.com>
15647
15648 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15649
3881fb67
YQ
156502014-08-24 Yao Qi <yao@codesourcery.com>
15651
15652 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15653 symbol off.
15654 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15655
a05a36a5
DE
156562014-08-22 Doug Evans <dje@google.com>
15657
15658 PR 17276
15659 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15660 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15661 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15662
7c343b48
YQ
156632014-08-22 Yao Qi <yao@codesourcery.com>
15664
15665 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15666 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15667 * gdb.python/python.exp: Likewise. Use .py file on the host
15668 instead of the build.
15669
22fd09ae
JK
156702014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15671
15672 * gdb.threads/gcore-stale-thread.c: New file.
15673 * gdb.threads/gcore-stale-thread.exp: New file.
15674
a8454a7c
PA
156752014-08-21 Pedro Alves <palves@redhat.com>
15676
15677 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15678 * gdb.base/gcore-relro-pie.exp: Likewise.
15679 * gdb.base/gcore-relro.exp: Likewise.
15680 * gdb.base/gcore.exp: Likewise.
15681 * gdb.base/print-symbol-loading.exp: Likewise.
15682 * gdb.threads/gcore-thread.exp: Likewise.
15683 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15684
2a31c623
PA
156852014-08-20 Pedro Alves <palves@redhat.com>
15686 Jan Kratochvil <jan.kratochvil@redhat.com>
15687
15688 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15689 configure.
15690 (EXPECT): Handle READ1 being set.
15691 (all): Depend on EXTRA_RULES.
15692 (check-read1, expect-read1, read1.so, read1): New rules.
15693 * README (Testsuite Parameters): Document the READ1 make variable.
15694 (Race detection): New section.
15695 * configure: Regenerate.
15696 * configure.ac: If build==host==target, and running under a
15697 GNU/glibc system, add read1 to the extra Makefile rules.
15698 (EXTRA_RULES): AC_SUBST it.
15699 * lib/read1.c: New file.
15700
d36430db
JB
157012014-08-20 Joel Brobecker <brobecker@adacore.com>
15702
15703 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15704 the handling of variables declared as a typedef to an array
15705 which a DW_AT_data_location attribute.
15706
9a0dc9e3
PA
157072014-08-19 Andrew Burgess <aburgess@broadcom.com>
15708 Pedro Alves <palves@redhat.com>
15709
15710 PR symtab/14604
15711 PR symtab/14605
15712 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15713 gdb_test.
15714
0718a8da
PA
157152014-08-19 Pedro Alves <palves@redhat.com>
15716
15717 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15718
13b448cd
YQ
157192014-08-19 Yao Qi <yao@codesourcery.com>
15720
15721 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15722 right line.
15723
1cbf5077
DB
157242014-08-18 David Blaikie <dblaikie@gmail.com>
15725
15726 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15727
bf0fae19
JB
157282014-08-18 Joel Brobecker <brobecker@adacore.com>
15729
15730 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15731 attribute in array range.
15732
3c8c5dcc
JB
157332014-08-18 Joel Brobecker <brobecker@adacore.com>
15734
15735 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15736
e66d4446
SC
157372014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15738
15739 PR c++/17132
15740 * gdb.cp/pr17132.cc: New file.
15741 * gdb.cp/pr17132.exp: New file.
15742
940df408
SC
157432014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15744
15745 * gdb.python/py-xmethods.py (A_getarrayind)
15746 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15747 Use 'print' with function call syntax.
15748 (E_method_matcher.match): Fix tab vs space indentation mixup.
15749
ebcc6c3a
YQ
157502014-08-15 Yao Qi <yao@codesourcery.com>
15751
15752 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15753 false.
15754
775e0f04
YQ
157552014-08-15 Yao Qi <yao@codesourcery.com>
15756
15757 * gdb.cp/casts.exp: Set print symbol off.
15758 * gdb.cp/class2.exp: Likewise.
15759 * gdb.cp/overload.exp: Likewise.
15760 * gdb.cp/templates.exp: Likewise.
15761
d769e349
DE
157622014-08-11 Doug Evans <dje@google.com>
15763
15764 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15765 (test_load_shlib): Update.
15766
20c6f1e1
YQ
157672014-08-09 Yao Qi <yao@codesourcery.com>
15768
15769 * gdb.base/display.exp: Invoke is_address_zero_readable.
15770 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15771 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15772 * gdb.base/hbreak-unmapped.exp: Return if
15773 is_address_zero_readable returns true.
15774 * gdb.base/signest.exp: Likewise.
15775 * gdb.base/signull.exp: Likewise.
15776 * gdb.base/sigbpt.exp: Likewise.
15777 * gdb.guile/scm-disasm.exp: Do the test if
15778 is_address_zero_readable returns false.
15779 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15780 * gdb.python/py-arch.exp: Likewise.
15781 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15782 * lib/gdb.exp (is_address_zero_readable): New proc.
15783
5792e8e3
YQ
157842014-08-09 Yao Qi <yao@codesourcery.com>
15785
15786 PR testsuite/13443
15787 * gdb.mi/mi-var-display.exp: Make test messages unique.
15788
3cecbbbe
TT
157892014-08-04 Tom Tromey <tromey@redhat.com>
15790
15791 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15792 target 0".
15793
00b51ff5
TT
157942014-08-04 Tom Tromey <tromey@redhat.com>
15795
15796 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15797 "target_resume".
15798
6908c509
JB
157992014-08-01 Joel Brobecker <brobecker@adacore.com>
15800
15801 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15802 inner_vla_struct_object_size.
15803 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15804 as xfail.
15805
cc6563d2
PA
158062014-07-30 Pedro Alves <palves@redhat.com>
15807
15808 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15809 comment.
15810
7e09a223
YQ
158112014-07-29 Yao Qi <yao@codesourcery.com>
15812
15813 PR gdb/17206
15814 * gdb.base/until-nodebug.exp: New.
15815
7ebdbe92
DE
158162014-07-28 Doug Evans <xdje42@gmail.com>
15817
15818 PR guile/17203
15819 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15820 previously existing parameter, and previously ambiguously spelled
15821 parameter.
15822
fdb1adc6
WN
158232014-07-28 Will Newton <will.newton@linaro.org>
15824
15825 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15826
186fcde0
DE
158272014-07-26 Ludovic Courtès <ludo@gnu.org>
15828 Doug Evans <xdje42@gmail.com>
15829
15830 PR guile/17146
15831 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15832
70509625
PA
158332014-07-25 Pedro Alves <palves@redhat.com>
15834
15835 * gdb.threads/signal-command-handle-nopass.c: New file.
15836 * gdb.threads/signal-command-handle-nopass.exp: New file.
15837 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15838 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15839 * gdb.threads/signal-delivered-right-thread.c: New file.
15840 * gdb.threads/signal-delivered-right-thread.exp: New file.
15841
c3f814a1
PA
158422014-07-25 Pedro Alves <palves@redhat.com>
15843
15844 * gdb.base/double-prompt-target-event-error.exp
15845 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15846 match.
15847 (cancel_pagination_in_target_event): Rework double prompt
15848 detection.
15849 * gdb.base/paginate-after-ctrl-c-running.exp
15850 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15851 <return>' match.
15852 * gdb.base/paginate-bg-execution.exp
15853 (test_bg_execution_pagination_return)
15854 (test_bg_execution_pagination_cancel): Remove '-notransfer
15855 <return>' matches.
15856 * gdb.base/paginate-execution-startup.exp
15857 (test_fg_execution_pagination_return)
15858 (test_fg_execution_pagination_cancel): Remove '-notransfer
15859 <return>' matches.
15860 * gdb.base/paginate-inferior-exit.exp
15861 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15862 match.
15863 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15864 * lib/gdb.exp (pagination_prompt): Run text through
15865 string_to_regexp.
15866 (gdb_test_multiple): Match $pagination_prompt instead of
15867 "<return>".
15868 (string_to_regexp): Move to lib/gdb-utils.exp.
15869
e214cf6c
JK
158702014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15871
15872 * gdb.arch/amd64-entry-value-paramref.S: New file.
15873 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15874 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15875 * gdb.arch/amd64-optimout-repeat.S: New file.
15876 * gdb.arch/amd64-optimout-repeat.c: New file.
15877 * gdb.arch/amd64-optimout-repeat.exp: New file.
15878
17d0c5c8
JK
158792014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15880
15881 PR gdb/17170
15882 * gdb.base/statistics.exp: New file.
15883
b8b8facf
DE
158842014-07-17 Doug Evans <dje@google.com>
15885
74b49205 15886 PR gdb/17170
b8b8facf
DE
15887 * gdb.base/maint.exp: Update testing of per-command stats.
15888
1b5d0ab3
PA
158892014-07-16 Pedro Alves <palves@redhat.com>
15890
15891 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15892 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15893 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15894 (tfile_write_buf): New functions.
15895 (add_memory_block): Rewrite using the above.
15896 (adjust_function_address): New function.
15897 (FUNCTION_ADDRESS): New macro.
15898 (write_basic_trace_file): Remove short_x local, and use
15899 tfile_write_16. Change type of func_addr local to unsigned long
15900 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15901 here. Cast argument of add_memory_block to char pointer.
15902 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15903 (main): Remove parameters.
15904 * gdb.trace/tfile.exp: Remove nowarnings.
15905
4d974e88
SM
159062014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15907
15908 * gdb.base/debug-expr.exp: Test string evaluation with
15909 "debug expression" on.
15910
41e99568
PA
159112014-07-15 Pedro Alves <palves@redhat.com>
15912
15913 * gdb.base/reread.exp: Use clean_restart.
15914
487d9753
PL
159152014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15916
15917 * gdb.arch/avr-flash-qualifer.c: New.
15918 * gdb.arch/avr-flash-qualifer.exp: New.
15919
cc1c52ad
PA
159202014-07-14 Pedro Alves <palves@redhat.com>
15921
15922 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15923 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15924
1e973570
PA
159252014-07-14 Pedro Alves <palves@redhat.com>
15926
15927 * gdb.base/double-prompt-target-event-error.c: New file.
15928 * gdb.base/double-prompt-target-event-error.exp: New file.
15929
93d6eb10
PA
159302014-07-14 Pedro Alves <palves@redhat.com>
15931
15932 PR gdb/17072
15933 * gdb.base/paginate-inferior-exit.c: New file.
15934 * gdb.base/paginate-inferior-exit.exp: New file.
15935
0017922d
PA
159362014-07-14 Pedro Alves <palves@redhat.com>
15937
15938 PR gdb/17072
15939 * gdb.base/paginate-bg-execution.c: New file.
15940 * gdb.base/paginate-bg-execution.exp: New file.
15941
94696ad3
PA
159422014-07-14 Pedro Alves <palves@redhat.com>
15943
15944 PR gdb/17072
15945 * gdb.base/paginate-execution-startup.c: New file.
15946 * gdb.base/paginate-execution-startup.exp: New file.
15947 * lib/gdb.exp (pagination_prompt): New global.
15948 (default_gdb_spawn): New procedure, factored out from
15949 default_gdb_spawn.
15950 (default_gdb_start): Adjust to call default_gdb_spawn.
15951 (gdb_spawn): New procedure.
15952
bd293940
PA
159532014-07-14 Pedro Alves <palves@redhat.com>
15954
15955 * lib/gdb.exp (gdb_assert): New procedure.
15956 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15957
c933f875
PA
159582014-07-14 Pedro Alves <palves@redhat.com>
15959
15960 * gdb.base/execution-termios.c: New file.
15961 * gdb.base/execution-termios.exp: New file.
15962
d98b7a16
TT
159632014-07-14 Tom Tromey <tromey@redhat.com>
15964
15965 * gdb.cp/vla-cxx.cc: New file.
15966 * gdb.cp/vla-cxx.exp: New file.
15967
548740d6
TT
159682014-07-14 Tom Tromey <tromey@redhat.com>
15969
15970 * gdb.reverse/rerun-prec.c: New file.
15971 * gdb.reverse/rerun-prec.exp: New file.
15972
a25eb028
MR
159732014-07-12 Maciej W. Rozycki <macro@mips.com>
15974 Maciej W. Rozycki <macro@codesourcery.com>
15975
15976 * lib/gdb-utils.exp: New file.
15977 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15978 inline `gdb_init_command' processing.
15979 (gdb_start_cmd): Likewise.
15980 * lib/mi-support.exp (mi_run_cmd): Likewise.
15981 * README: Document `gdb_init_command' and `gdb_init_commands'.
15982
218c2655
JK
159832014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15984
15985 Fix false FAIL running under a very long directory name.
15986 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15987 and "set print elements 10000". Twice.
15988
5401fde3
YQ
159892014-07-11 Yao Qi <yao@codesourcery.com>
15990
15991 * gdb.base/exprs.exp: "set print symbol off".
15992
e76126e8
PA
159932014-07-11 Pedro Alves <palves@redhat.com>
15994
15995 * gdb.threads/kill.c: New file.
15996 * gdb.threads/kill.exp: New file.
15997
2d6f0de6
YQ
159982014-07-10 Yao Qi <yao@codesourcery.com>
15999
16000 * gdb.trace/tfile.c (write_basic_trace_file)
16001 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16002 address written to trace file.
16003
7180e04a
PA
160042014-07-09 Pedro Alves <palves@redhat.com>
16005
16006 * gdb.base/attach-wait-input.exp: New file.
16007 * gdb.base/attach-wait-input.c: New file.
16008
9a9a7608
AB
160092014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16010
16011 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16012 setting up test structures.
16013 (main): Call new test function.
16014 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16015 test function, continue into test function and walk test
16016 structures.
16017
161ac41e
YQ
160182014-07-02 Yao Qi <yao@codesourcery.com>
16019
16020 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16021 'bar_start' at the beginning of functions 'foo' and 'bar'
16022 respectively.
16023 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16024 instead of 'foo' and 'bar'.
16025
1f267ae3
MM
160262014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16027
16028 * gdb.btrace/segv.exp: New.
16029 * gdb.btrace/segv.c: New.
16030
2b239efb
LM
160312014-07-02 Luis Machado <lgustavo@codesourcery.com>
16032
16033 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16034 instruction.
16035
cf363f18
MW
160362014-06-30 Mark Wielaard <mjw@redhat.com>
16037
16038 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16039 vulture, vilify, villar): New volatile array constants.
16040 (vindictive, vegetation): New const volatile array constants.
16041 * gdb.base/volatile.exp: Test volatile and const volatile array
16042 types.
16043
aebf9d24
AA
160442014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16045
16046 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16047 target lacks support for awatch, rwatch, or hbreak.
16048
b67a2c6f
YQ
160492014-06-27 Yao Qi <yao@codesourcery.com>
16050
16051 * gdb.multi/dummy-frame-restore.exp: New.
16052 * gdb.multi/dummy-frame-restore.c: New.
16053
aef92902
MM
160542014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16055
16056 * gdb.btrace/gcore.exp: New.
16057
8e9db26e
PA
160582014-06-23 Pedro Alves <palves@redhat.com>
16059
16060 * gdb.base/watchpoint-reuse-slot.c: New file.
16061 * gdb.base/watchpoint-reuse-slot.exp: New file.
16062
70afc5b7
SC
160632014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16064
16065 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16066 progspace's filename in 'info', 'enable' and 'disable' command
16067 tests.
16068
b972bd9c
JK
160692014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16070
16071 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16072 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16073 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16074
125f8a3d
GB
160752014-06-20 Gary Benson <gbenson@redhat.com>
16076
16077 * gdb.arch/i386-avx.exp: Fix include file location.
16078 * gdb.arch/i386-sse.exp: Likewise.
16079
3ed9baed
IB
160802014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16081
16082 * gdb.dlang/expression.exp: New file.
16083
034f788c
PA
160842014-06-19 Pedro Alves <palves@redhat.com>
16085
16086 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16087 out from ...
16088 (top level): ... here. Iterate running tests under different
16089 scheduler-locking settings.
16090
45371d0c
LM
160912014-06-18 Luis Machado <lgustavo@codesourcery.com>
16092
16093 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16094 to DW_FORM_addr and use non-zero addresses.
16095
5d376983
SC
160962014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16097
16098 PR gdb/17017
16099 * gdb.python/py-xmethods.cc: Add global function call counters and
16100 increment them in their respective functions. Remove "cout"
16101 statements.
16102 * gdb.python/py-xmethods.exp: Make tests check the global function
16103 call counters instead of depending on inferior IO.
16104
a1aa2221
LM
161052014-06-18 Don Breazeal <donb@codesourcery.com>
16106
16107 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16108 Deleted procedure.
16109 (explicit_fork_parent_follow): Deleted procedure.
16110 (explicit_fork_child_follow): Deleted procedure.
16111 (test_follow_fork): New procedure.
16112 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 16113 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
16114 procedure calls.
16115
0fc05997
YQ
161162014-06-17 Yao Qi <yao@codesourcery.com>
16117
16118 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16119 CP1252.
16120
70795c52
LM
161212014-06-17 Luis Machado <lgustavo@codesourcery.com>
16122
16123 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16124 Initialize ptr and S explicitly.
16125 (skip_type_update_when_not_use_rtti_test): Likewise.
16126
6be47f0c
KS
161272014-06-16 Keith Seitz <keiths@redhat.com>
16128
16129 PR mi/15863
16130 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16131 the inferior is started.
16132
d03de421
PA
161332014-06-16 Pedro Alves <palves@redhat.com>
16134
16135 * gdb.base/break-main-file-remove-fail.c: New file.
16136 * gdb.base/break-main-file-remove-fail.exp: New file.
16137 * gdb.base/break-unload-file.exp: Use build_executable instead of
16138 prepare_for_testing.
16139 (test_break): New parameter "initial_load". Handle it.
16140 (top level): Add initial_load cmdline/file axis.
16141
f9579b99
TT
161422014-06-12 Tom Tromey <tromey@redhat.com>
16143
16144 * gdb.base/completion.exp: Don't use directory name in test.
16145
3657956b
GB
161462014-06-09 Gary Benson <gbenson@redhat.com>
16147
16148 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16149 separate the always-available ANSI-standard signals from the
16150 signals that require checking.
16151 (main): Likewise.
16152 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16153 Likewise.
16154 (main): Likewise.
16155
4186eb54
KS
161562014-06-07 Keith Seitz <keiths@redhat.com>
16157
16158 Revert:
16159 PR c++/16253
16160 * gdb.cp/var-tag.cc: New file.
16161 * gdb.cp/var-tag.exp: New file.
16162 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16163 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16164 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16165 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16166
25326a28 161672014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
16168
16169 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16170
829155c9
PA
161712014-06-06 Pedro Alves <palves@redhat.com>
16172
16173 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16174 in target debug output instead of looking at RSP packets,
16175 disabling the test on any target that uses hardware stepping.
16176 Update comments.
16177
61c8d22e
PA
161782014-06-06 Pedro Alves <palves@redhat.com>
16179
16180 * gdb.base/break-unload-file.exp: Fix typo.
16181
d9a47287
YQ
161822014-06-06 Yao Qi <yao@codesourcery.com>
16183
16184 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16185 from "jit_function" to "^jit_function".
16186
e5e01dbf
YQ
161872014-06-06 Yao Qi <yao@codesourcery.com>
16188
16189 * gdb.base/async.c (foo): Add one statement.
16190 * gdb.base/async.exp: Get the next instruction address and
16191 match the output of "nexti" by instruction address. Match
16192 the hex address in the output of "finish".
16193
73ba372c
GB
161942014-06-06 Gary Benson <gbenson@redhat.com>
16195
16196 * gdb.base/call-signals.c: Remove preprocessor conditionals
16197 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16198 SIGSEGV and SIGTERM.
16199 * gdb.base/sigall.c: Likewise.
16200 * gdb.base/unwindonsignal.c: Likewise.
16201 * gdb.reverse/sigall-reverse.c: Likewise.
16202
831517df
YQ
162032014-06-06 Yao Qi <yao@codesourcery.com>
16204
16205 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16206 readable, skip the test.
16207
b8b91e98
YQ
162082014-06-06 Yao Qi <yao@codesourcery.com>
16209
16210 * gdb.threads/staticthreads.c (thread_function): Move the line
16211 setting breakpoint on forward.
16212 * gdb.threads/staticthreads.exp: Update comments.
16213
fb934770
LC
162142014-06-05 Ludovic Courtès <ludo@gnu.org>
16215
16216 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16217 "history-append! type error".
16218
6ef284bd
SM
162192014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16220
16221 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16222 erroneous dprintf expected input.
16223
a872e241
DE
162242014-06-04 Doug Evans <xdje42@gmail.com>
16225
16226 * gdb.guile/scm-generics.exp: Delete.
16227
16f691fb
DE
162282014-06-04 Doug Evans <xdje42@gmail.com>
16229
16230 * gdb.guile/scm-breakpoint.exp: Update.
16231 Add tests for breakpoint registration.
16232
012370f6
TT
162332014-06-04 Tom Tromey <tromey@redhat.com>
16234
16235 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16236 VLA-in-union.
16237 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16238 inner_vla_struct, vla_union types. Initialize objects of those
16239 types and compute their sizes.
16240
9f5a4cef
HZ
162412014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16242 Hui Zhu <hui@codesourcery.com>
16243
16244 * gdb.base/fileio.exp: Add test for shell not available as well as
16245 available.
16246 * gdb.base/fileio.c (test_system): Check for shell twice.
16247
90a45c4d
YQ
162482014-06-04 Yao Qi <yao@codesourcery.com>
16249
16250 * gdb.base/auto-connect-native-target.exp: Remove redundant
16251 space from the regexp pattern.
16252
70017e41
YQ
162532014-06-04 Yao Qi <yao@codesourcery.com>
16254
16255 * gdb.base/default.exp: Replace "child" with "native" in
16256 regexp pattern.
16257
883964a7
SC
162582014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16259
16260 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16261 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16262 * gdb.python/py-xmethods.py: Python script supporting the
16263 new testcase and tests.
16264
ef370185
JB
162652014-06-03 Joel Brobecker <brobecker@adacore.com>
16266 Pedro Alves <palves@redhat.com>
16267
16268 PR breakpoints/17000
16269 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16270 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16271
1e2ccb61
BM
162722014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16273
16274 * gdb.base/subst.exp: Add tests to verify partial path matching
16275 output.
16276
c6ec5ab2
PA
162772014-06-03 Pedro Alves <palves@redhat.com>
16278
16279 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16280 target that doesn't use software single-stepping.
16281
835c559f
PA
162822014-06-03 Pedro Alves <palves@redhat.com>
16283
16284 PR breakpoints/17000
16285 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16286 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16287
06eb1586
DE
162882014-06-02 Doug Evans <xdje42@gmail.com>
16289
16290 * gdb.guile/scm-parameter.exp: New file.
16291
e698b8c4
DE
162922014-06-02 Doug Evans <xdje42@gmail.com>
16293
16294 * gdb.guile/scm-cmd.c: New file.
16295 * gdb.guile/scm-cmd.exp: New file.
16296
ded03782
DE
162972014-06-02 Doug Evans <xdje42@gmail.com>
16298
16299 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16300 pretty-printer lookup.
16301 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16302 (make-pp_s-printer): Call it.
16303 (make-pretty-printer-from-dict): New function.
16304 (lookup-pretty-printer-maker-from-dict): New function.
16305 (*pretty-printer*): Simplify.
16306 (make-objfile-pp_s-printer): New function.
16307 (install-objfile-pretty-printers!): New function.
16308 (make-progspace-pp_s-printer): New function.
16309 (install-progspace-pretty-printers!): New function.
16310 * gdb.guile/scm-progspace.c: New file.
16311 * gdb.guile/scm-progspace.exp: New file.
16312
41fac0cf
PA
163132014-06-02 Pedro Alves <palves@redhat.com>
16314
16315 * gdb.base/dprintf-bp-same-addr.c: New file.
16316 * gdb.base/dprintf-bp-same-addr.exp: New file.
16317
96ae5695
EBM
163182014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16319
16320 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16321 * gdb.arch/powerpc-power.s: Likewise.
16322
da02b3a8
JB
163232014-06-02 Joel Brobecker <brobecker@adacore.com>
16324
16325 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16326
c72b2e7b
YQ
163272014-06-01 Yao Qi <yao@codesourcery.com>
16328
16329 * gdb.base/watchpoint.exp (test_watch_location): Check null
16330 pointer can be dereferenced. If not, do the test, otherwise
16331 skip it.
16332
53e8a631
AB
163332014-05-30 Andrew Burgess <aburgess@broadcom.com>
16334
16335 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16336 results.
16337 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16338
938f0e2f
AB
163392014-05-30 Andrew Burgess <aburgess@broadcom.com>
16340
16341 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16342 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16343 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16344 * gdb.arch/amd64-invalid-stack-top.c: New file.
16345 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16346
9ba6657a
PA
163472014-05-30 Pedro Alves <palves@redhat.com>
16348
16349 PR breakpoints/17000
16350 * gdb.base/sss-bp-on-user-bp.c: New file.
16351 * gdb.base/sss-bp-on-user-bp.exp: New file.
16352
522c09bf
DB
163532014-05-30 David Blaikie <dblaikie@gmail.com>
16354
16355 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16356 gnu_inline semantics via attribute.
16357 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16358 source explicitly specifies the required semantics.
16359
bf4ef81e
MR
163602014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16361
16362 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16363
329ea579
PA
163642014-05-29 Pedro Alves <palves@redhat.com>
16365 Tom Tromey <tromey@redhat.com>
16366
16367 * gdb.base/async-shell.exp: Don't enable target-async.
16368 * gdb.base/async.exp
16369 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16370 parameter. Adjust.
16371 (top level): Don't test with "target-async".
16372 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16373 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16374 * gdb.base/inferior-died.exp: Don't enable target-async.
16375 * gdb.base/interrupt-noterm.exp: Likewise.
16376 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16377 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16378 * gdb.mi/mi-nonstop.exp: Likewise.
16379 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16380 * gdb.mi/mi-nsintrall.exp: Likewise.
16381 * gdb.mi/mi-nsmoribund.exp: Likewise.
16382 * gdb.mi/mi-nsthrexec.exp: Likewise.
16383 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16384 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16385 * gdb.python/py-evsignal.exp: Don't enable target-async.
16386 * gdb.python/py-evthreads.exp: Likewise.
16387 * gdb.python/py-prompt.exp: Likewise.
16388 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16389 * gdb.server/solib-list.exp: Don't enable target-async.
16390 * gdb.threads/thread-specific-bp.exp: Likewise.
16391 * lib/mi-support.exp: Adjust to use mi-async.
16392
fd664c91
PA
163932014-05-29 Pedro Alves <palves@redhat.com>
16394
16395 PR gdb/13860
16396 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16397 reason, even in sync mode.
16398
251bde03
PA
163992014-05-29 Pedro Alves <palves@redhat.com>
16400 Hui Zhu <hui@codesourcery.com>
16401
16402 PR PR15693
16403 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16404 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16405 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16406 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16407
7f3c0343
JB
164082014-05-28 Joel Brobecker <brobecker@adacore.com>
16409
16410 * config/monitor.exp (gdb_target_monitor): Replace use of
16411 "set remotebaud" by "set serial baud".
16412
b2715b27
AW
164132014-05-26 Andy Wingo <wingo@igalia.com>
16414
16415 * gdb.guile/scm-breakpoint.exp:
16416 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16417 properties instead of gdb-object-properties.
16418
498a4489
YQ
164192014-05-26 Yao Qi <yao@codesourcery.com>
16420
16421 * gdb.server/no-thread-db.exp: Specify source file name
16422 explicitly when setting a breakpoint.
16423
589fdceb
MM
164242014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16425
16426 * gdb.btrace/vdso.c: New.
16427 * gdb.btrace/vdso.exp: New.
16428
e9089e05
MM
164292014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16430
16431 * gdb.base/gcore.exp (capture_command_output): Move ...
16432 * lib/gdb.exp (capture_command_output): ... here.
16433
67b5c0c1
MM
164342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16435
16436 * gdb.btrace/data.exp: Test memory access during btrace replay.
16437
a2199296
SM
164382014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16439
16440 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16441
17b2616c
PA
164422014-05-21 Pedro Alves <palves@redhat.com>
16443
16444 PR gdb/13860
16445 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16446 (top level): Test that output related to execution commands is
16447 sent to the console with CLI commands, but not with MI commands.
16448 Test that breakpoint events are always mirrored to the console.
16449 Also expect the new source line to be output after a "next" in
16450 async mode too. Make it a pass/fail test.
16451 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16452 output.
16453 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16454
5166082f
PA
164552014-05-21 Pedro Alves <palves@redhat.com>
16456
16457 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16458 Use them to test variations of "list" after reaching a breakpoint.
16459 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16460 Test "list" with listsize 10 after reaching a breakpoint.
16461 * gdb.python/python.exp (decode_line current location line
16462 number): Adjust expected line number.
16463
2f25d70f
SM
164642014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16465
16466 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16467 behavior for $args, pass it directly to "run".
16468
ff604a67
MR
164692014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16470
16471 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16472 30000 to 65536.
16473
6a3cb8e8
PA
164742014-05-21 Pedro Alves <palves@redhat.com>
16475
16476 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16477 auto-connect-native-target off".
16478 * gdb.base/auto-connect-native-target.c: New file.
16479 * gdb.base/auto-connect-native-target.exp: New file.
16480
4ebfc96e
PA
164812014-05-21 Pedro Alves <palves@redhat.com>
16482
16483 * gdb.base/default.exp: Test "target native" instead of "target
16484 child".
16485
36d46afb
MW
164862014-05-21 Mark Wielaard <mjw@redhat.com>
16487
16488 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16489
5876f503
JK
164902014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16491
16492 Fix TLS access for -static -pthread.
16493 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16494 <HAVE_TLS> (thread_function, main): Initialize it.
16495 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16496 Add clean_restart.
16497 <$have_tls != "">: Check TLSVAR.
16498
0256a6ac
PA
164992014-05-21 Pedro Alves <palves@redhat.com>
16500
16501 * gdb.base/dcache-line-read-error.c: New.
16502 * gdb.base/dcache-line-read-error.exp: New.
16503
936d2992
PA
165042014-05-20 Pedro Alves <palves@redhat.com>
16505
16506 * gdb.base/compare-sections.c: New file.
16507 * gdb.base/compare-sections.exp: New file.
16508
802e8e6d
PA
165092014-05-20 Pedro Alves <palves@redhat.com>
16510
16511 * gdb.base/break-idempotent.c: New file.
16512 * gdb.base/break-idempotent.exp: New file.
16513
e59fa00f
MM
165142014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16515
16516 * gdb.btrace/nohist.exp: New.
16517
8b696e31
YQ
165182014-05-20 Yao Qi <yao@codesourcery.com>
16519
16520 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16521 gdb.reverse directory and gdb_reverse_timeout exists in board
16522 setting.
16523 * README: Document gdb_reverse_timeout.
16524
73c9764f
YQ
165252014-05-20 Yao Qi <yao@codesourcery.com>
16526
16527 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16528 'test_file_name'. Treat args as a string instead of a list.
16529 (gdb_init): Rename argument 'args' by 'test_file_name'.
16530
f1f4348a
JK
165312014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16532
16533 * gdb.arch/powerpc-power.exp: New file.
16534 * gdb.arch/powerpc-power.s: New file.
16535
0dbe70ce
DE
165362014-05-16 Doug Evans <dje@google.com>
16537
16538 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
16539 * gdb.base/completion.exp: Check that all expected files exist
16540 before doing file completion.
0dbe70ce 16541
8d551b02
DE
165422014-05-16 Doug Evans <dje@google.com>
16543
16544 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16545 Update.
16546 (do_syscall_tests_without_xml): Update.
16547
73eb7709
PA
165482014-05-16 Pedro Alves <palves@redhat.com>
16549
16550 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16551 instead of "unknown output after running".
16552
3fae92fc
YQ
165532014-05-16 Yao Qi <yao@codesourcery.com>
16554
16555 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16556 file1.txt from host at the end.
16557 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16558
c2b2ccc5
DE
165592014-05-15 Doug Evans <dje@google.com>
16560
16561 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16562 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16563 loading file. Add test for TU lookup.
16564
8c217a4b
SM
165652014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16566
16567 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16568 calling "-exec-arguments" or "set args" before running the
16569 inferior.
16570
3deb39c6
SM
165712014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16572
16573 * lib/mi-support.exp (mi_expect_stop): Expect message for
16574 inferiors that exit with non-zero exit code.
16575
71a79f8c
YQ
165762014-05-14 Yao Qi <yao@codesourcery.com>
16577
16578 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16579 match absolute path on remote host.
16580 (test_file_list_exec_source_files): Remove "/" from the
16581 pattern.
16582
f23fcd46
YQ
165832014-05-14 Yao Qi <yao@codesourcery.com>
16584
16585 * boards/local-remote-host-notty.exp (${board}_file): New
16586 proc.
16587
9404b58f
KM
165882014-05-07 Kyle McMartin <kyle@redhat.com>
16589
16590 Pushed by Joel Brobecker <brobecker@adacore.com>.
16591 * gdb.arch/aarch64-atomic-inst.c: New file.
16592 * gdb.arch/aarch64-atomic-inst.exp: New file.
16593
5e45f04c
YQ
165942014-05-07 Yao Qi <yao@codesourcery.com>
16595
16596 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16597 in current context" too.
16598
c888a17d
KS
165992014-05-05 Keith Seitz <keiths@redhat.com>
16600
16601 * gdb.linespec/ls-dollar.exp: Add test for linespec
16602 file:convenience_variable.
16603
290a839c
YQ
166042014-05-05 Yao Qi <yao@codesourcery.com>
16605
16606 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16607 traceframes into tfile and ctf trace files. Read data from
16608 trace file and test collected data.
16609 (gdb_collect_locals_test): Likewise.
16610 (gdb_unavailable_registers_test): Likewise.
16611 (gdb_unavailable_floats): Likewise.
16612 (gdb_collect_globals_test): Likewise.
16613 (top-level): Append "ctf" to trace_file_targets if GDB
16614 supports.
16615
b5262cd0
YQ
166162014-05-05 Yao Qi <yao@codesourcery.com>
16617
16618 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16619 code to ...
16620 (gdb_collect_args_test_1): ... it. New proc.
16621 (gdb_collect_locals_test): Move some code to ...
16622 (gdb_collect_locals_test_1): ... it. New proc.
16623 (gdb_unavailable_registers_test): Move some code to ...
16624 (gdb_unavailable_registers_test_1): ... it. New proc.
16625 (gdb_unavailable_floats): Move some code to ...
16626 (gdb_unavailable_floats_1): ... it. New proc.
16627
30a1e6cc
SDJ
166282014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16629
16630 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16631 probes to test for bitness recognition.
16632 * gdb.arch/amd64-stap-optional-prefix.exp
16633 (test_probe_value_without_reg): New procedure.
16634 Add code to test for different kinds of bitness.
16635
f33da99a
SDJ
166362014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16637
16638 PR breakpoints/16889
16639 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16640 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16641
5b80f00d
PA
166422014-05-01 Pedro Alves <palves@redhat.com>
16643
16644 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16645 gdb_file_cmd if no file is specified.
16646 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16647 last_loaded_file to set the remote exec-file.
16648
f8c2a73c
PA
166492014-05-01 Pedro Alves <palves@redhat.com>
16650
16651 * boards/local-remote-host.exp: New file.
16652
be6e8ac7
PA
166532014-05-01 Pedro Alves <palves@redhat.com>
16654
16655 * boards/local-remote-host.exp: Rename to ...
16656 * boards/local-remote-host-notty.exp: ... this.
16657
cac0dc8f
JB
166582014-04-28 Joel Brobecker <brobecker@adacore.com>
16659
16660 * gdb.ada/dyn_arrayidx: New testcase.
16661
9730e6cc
YQ
166622014-04-26 Yao Qi <yao@codesourcery.com>
16663
16664 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16665 and compute the length of function main. Save it in
16666 $main_length.
16667 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16668 (top-level): Use gdb_compile to compile objects into
16669 executable and restart GDB. Remove invocation to
16670 prepare_for_testing.
16671
7ae1a6a6
PA
166722014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16673 Pedro Alves <palves@redhat.com>
16674
16675 PR server/16255
16676 * gdb.multi/multi-attach.c: New file.
16677 * gdb.multi/multi-attach.exp: New file.
16678
4082afcc
PA
166792014-04-25 Pedro Alves <palves@redhat.com>
16680
16681 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16682 user.
16683 (top level): Test that "set remote conditional-breakpoints-packet
16684 off" works as intended.
16685 * gdb.base/dprintf.exp: Test that "set remote
16686 breakpoint-commands-packet off" works as intended.
16687 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16688 New function.
16689 (top level): Call it.
16690 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16691 remote fast-tracepoints-packet off" works as intended.
16692 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16693 * lib/gdb.exp (gdb_is_target_remote): ... here.
16694
2abc3f8d
DB
166952014-04-24 David Blaikie <dblaikie@gmail.com>
16696
16697 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16698 ensure clang would not discard them.
16699 * gdb.base/gdbvars.c: Ditto.
16700 * gdb.base/memattr.c: Ditto.
16701 * gdb.base/whatis.c: Ditto.
16702 * gdb.python/py-prettyprint.c: Ditto.
16703 * gdb.trace/actions.c: Ditto.
16704 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16705 ensure clang would not discard it.
16706
bfd39632
DB
167072014-04-24 David Blaikie <dblaikie@gmail.com>
16708
16709 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16710 clang to emit the full definition of type required by the test
16711 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16712
22842ff6
DB
167132014-04-24 David Blaikie <dblaikie@gmail.com>
16714
16715 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16716 coax Clang into emitting the definition of the type.
16717 * gdb.cp/pr10728-x.h (y): Ditto.
16718 * gdb.cp/pr10728-y.cc (y): Ditto.
16719
c2e827ad
DB
167202014-04-24 David Blaikie <dblaikie@gmail.com>
16721
16722 * gdb.base/label.exp: XFAIL label related tests under Clang.
16723 * gdb.cp/cplabel.exp: Ditto.
16724 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16725 under Clang those using labels.
16726
4c2d33e7
YQ
167272014-04-25 Yao Qi <yao@codesourcery.com>
16728
16729 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16730 double_label.
16731 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16732 partial_label and double_label.
16733
56083b99
DB
167342014-04-24 David Blaikie <dblaikie@gmail.com>
16735
16736 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16737
25d4e99d
DB
167382014-04-24 David Blaikie <dblaikie@gmail.com>
16739
16740 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16741 of the function to work across GCC and Clang.
16742 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16743 pointer types (const void ** const V void **).
16744
01f9f808
MS
167452014-04-24 Michael Sturm <michael.sturm@mintel.com>
16746 Walfred Tedeschi <walfred.tedeschi@intel.com>
16747
16748 * Makefile.in (EXECUTABLES): Added i386-avx512.
16749 * gdb.arch/i386-avx512.c: New file.
16750 * gdb.arch/i386-avx512.exp: Likewise.
16751
4b48d439
KS
167522014-04-23 Keith Seitz <keiths@redhat.com>
16753
16754 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16755 (mi_make_breakpoint_table): New procedure.
16756 (mi_create_breakpoint): Use mi_make_breakpoint
16757 and return the result.
16758 (mi_make_breakpoint): New procedure.
16759 (mi_build_kv_pairs): New procedure.
16760
16761 * gdb.mi/mi-break.exp: Remove unused globals,
16762 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16763 All callers updated.
16764 * gdb.mi/mi-dprintf.exp: Use variable to track command
16765 number.
16766 Update all callers of mi_create_breakpoint and use
16767 mi_make_breakpoint_table.
16768 Remove any unused global variables.
16769 * gdb.mi/mi-nonstop.exp: Likewise.
16770 * gdb.mi/mi-nsintrall.exp: Likewise.
16771 * gdb.mi/mi-nsmoribund.exp: Likewise.
16772 * gdb.mi/mi-nsthrexec.exp: Likewise.
16773 * gdb.mi/mi-reverse.exp: Likewise.
16774 * gdb.mi/mi-simplerun.exp: Likewise.
16775 * gdb.mi/mi-stepn.exp: Likewise.
16776 * gdb.mi/mi-syn-frame.exp: Likewise.
16777 * gdb.mi/mi-until.exp: Likewise.
16778 * gdb.mi/mi-var-cp.exp: Likewise.
16779 * gdb.mi/mi-var-display.exp: Likewise.
16780 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16781 * gdb.mi/mi2-var-child.exp: Likewise.
16782 * gdb.mi/mi-vla-c99.exp: Likewise.
16783 * lib/mi-support.exp: Likewise.
16784
16785 From Ian Lance Taylor <iant@cygnus.com>:
16786 * lib/gdb.exp (parse_args): New procedure.
16787
08351840
PA
167882014-04-23 Pedro Alves <palves@redhat.com>
16789
16790 * gdb.base/break-unload-file.c: New file.
16791 * gdb.base/break-unload-file.exp: New file.
16792 * gdb.base/sym-file-lib.c (baz): New function.
16793 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16794 field.
16795 (load): Store the segment's mapped size.
16796 (unload): New function.
16797 (unload_shlib): New function.
16798 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16799 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16800 set a breakpoint at baz, and call it.
16801 * gdb.base/sym-file.exp: New tests for stale breakpoint
16802 instructions.
16803
076855f9
PA
168042014-04-23 Pedro Alves <palves@redhat.com>
16805
16806 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16807 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16808 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16809 * gdb.base/hbreak-unmapped.c: New file.
16810 * gdb.base/hbreak-unmapped.exp: New file.
16811 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16812 * lib/gdb.exp (gdb_is_target_remote): ... here.
16813
483805cf
PA
168142014-04-22 Pedro Alves <palves@redhat.com>
16815
16816 * gdb.base/consecutive-step-over.c: New file.
16817 * gdb.base/consecutive-step-over.exp: New file.
16818
06d97543
PA
168192014-04-22 Pedro Alves <palves@redhat.com>
16820
16821 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16822 instead of send_gdb/gdb_expect.
16823
b4429ea2
YQ
168242014-04-22 Yao Qi <yao@codesourcery.com>
16825
16826 * lib/trace-support.exp (generate_tracefile): New procedure.
16827 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16828 return 0.
16829 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16830 if generate_tracefile returns 1.
16831
51d48146
PA
168322014-04-18 Tom Tromey <palves@redhat.com>
16833 Pedro alves <tromey@redhat.com>
16834
16835 PR backtrace/15558
16836 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16837 with a backtrace limit.
16838 * gdb.python/py-frame-inline.exp: Test running to an inline
16839 function with a backtrace limit, and printing the newest frame.
16840 * gdb.python/py-frame-inline.c (main): Call f.
16841
bd1dce5f
MS
168422014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16843
16844 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16845
40d1a503
MS
168462014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16847
16848 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16849 Drop prefix from unsupported source file path.
16850
389b98f7
YQ
168512014-04-17 Yao Qi <yao@codesourcery.com>
16852
16853 * lib/gdb.exp (with_target_charset): New proc.
16854 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16855 with_target_charset.
16856 (test_print_strings): Likewise.
16857 (test_repeat_bytes): Likewise.
16858 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16859 for some tests.
16860
22869d73
KS
168612014-04-16 Keith Seitz <keiths@redhat.com>
16862
16863 PR gdb/15827
16864 * gdb.dwarf2/corrupt.c: New file.
16865 * gdb.dwarf2/corrupt.exp: New file.
16866
c4f87ca6
KS
168672014-04-16 Keith Seitz <keiths@redhat.com>
16868
16869 PR c++/16597
16870 * gdb.cp/namelessclass.cc: New file.
16871 * gdb.cp/namelessclass.exp: New file.
16872 * gdb.cp/namelessclass.S: New file.
16873
ab19de87
DE
168742014-04-16 Doug Evans <dje@google.com>
16875
16876 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16877 Add comment.
16878 (gdbserver_default_get_comm_port): New function.
16879 (gdbserver_start): Check if board file provided
16880 "gdbserver,get_comm_port" and use it if so.
16881 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16882 (gdb,socketport): Set to "stdio".
16883 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16884 (stdio_gdbserver_template): Delete.
16885 (${board}_get_remote_address): Update.
16886 (${board}_build_remote_cmd): Delete.
16887 (${board}_get_comm_port): New function.
16888 (${board}_spawn): Update.
16889 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16890 Delete.
16891 (${board}_get_remote_address): Update.
16892 (${board}_get_comm_port): New function.
16893
fc98a809
AB
168942014-04-16 Andrew Burgess <aburgess@broadcom.com>
16895
16896 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16897 appearing in any order.
16898
87fd9e6e
DE
168992014-04-15 Doug Evans <dje@google.com>
16900
16901 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16902 uninitialized value of "description".
16903
099fc3ea
KS
169042014-04-15 Keith Seitz <keiths@redhat.com>
16905
16906 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16907 Remove unused globals.
16908 (test_running_the_program): Likewise.
16909 (test_controlled_execution): Likewise.
16910 (test_controlling_breakpoints): Likewise.
16911 (test_program_termination): Likewise.
16912
5da151d4
KS
169132014-04-15 Keith Seitz <keiths@redhat.com>
16914
16915 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16916 unused globals.
16917 (test_rbreak_creation_and_listing): Likewise.
16918 (test_ignore_count): Likewise.
16919 (test_error): Likewise.
16920
35e5d2f0
PA
169212014-04-15 Pedro Alves <palves@redhat.com>
16922
16923 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16924 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16925 sym-file-loader.c.
16926 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16927 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16928 to sym-file-loader.c.
16929 (struct library): Forward declare.
16930 (load_shlib, lookup_function): Change prototypes.
16931 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16932 (translate_offset): Remove declarations.
16933 (get_text_addr): New declaration.
16934 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16935 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16936 sym-file-loader.h.
16937 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16938 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16939 here from sym-file-loader.h.
16940 (struct library): New structure.
16941 (load_shlib, lookup_function): Change prototypes and adjust to
16942 work with a struct library.
16943 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16944 (translate_offset): Make static.
16945 (get_text_addr): New function.
16946 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16947
eb4c1710
PA
169482014-04-15 Pedro Alves <palves@redhat.com>
16949
16950 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16951
2d1baf52
PA
169522014-04-15 Pedro Alves <palves@redhat.com>
16953
16954 * gdb.base/sym-file-loader.c: Include <limits.h>.
16955 (SELF_LINK): New define.
16956 (get_origin): New function.
16957 (load_shlib): Use it.
16958 * gdb.base/sym-file.exp: Don't early return if the target is
16959 remote. Use runto_main, and issue fail is that fails. Use
16960 gdb_load_shlibs.
16961 (shlib_name): Delete.
16962 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16963
7dd6df01
PA
169642014-04-15 Pedro Alves <palves@redhat.com>
16965
16966 * gdb.base/sym-file.exp: Remove regex characters from test
16967 message. Don't refer to breakpoint numbers in test messages.
16968
b50c8614
KS
169692014-04-14 Keith Seitz <keiths@redhat.com>
16970
16971 PR c++/16253
16972 * gdb.cp/var-tag.cc: New file.
16973 * gdb.cp/var-tag.exp: New file.
16974 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16975 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16976 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16977 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16978
3d567982
TT
169792014-04-14 Tom Tromey <tromey@redhat.com>
16980
16981 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16982 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16983 type.
16984 * gdb.cp/enum-class.exp: New file.
16985 * gdb.cp/enum-class.cc: New file.
16986
0626fc76
TT
169872014-04-14 Tom Tromey <tromey@redhat.com>
16988
16989 * gdb.dwarf2/enum-type.exp: New file.
16990
dca325b3
SA
169912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16992
16993 * gdb.mi/mi-vla-c99.exp: New file.
16994 * gdb.mi/vla.c: New file.
16995
5854b38a
SA
169962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16997
16998 * gdb.base/vla-datatypes.c: New file.
16999 * gdb.base/vla-datatypes.exp: New file.
17000
463bb957
SA
170012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17002
17003 * gdb.base/vla-ptr.c: New file.
17004 * gdb.base/vla-ptr.exp: New file.
17005
3dd170be
SA
170062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17007
17008 * gdb.dwarf2/count.exp: New file.
17009
5ecaaa66
SA
170102014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17011
17012 * gdb.base/vla-sideeffect.c: New file.
17013 * gdb.base/vla-sideeffect.exp: New file.
17014
41f1ada5
DB
170152014-04-14 David Blaikie <dblaikie@gmail.com>
17016
17017 * gdb.mi/non-stop.c: Add return value for non-void function return
17018 statement.
17019 * gdb.threads/staticthreads.c: Ditto.
17020
0be03e84
DE
170212014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17022 Doug Evans <xdje42@gmail.com>
17023
17024 * gdb.guile/scm-value.c: Improve test case.
17025 * gdb.guile/scm-value.exp: Add new test.
17026
f180a1fb
DB
170272014-04-11 David Blaikie <dblaikie@gmail.com>
17028
17029 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17030 override Clang's default.
17031
6b662e19
JB
170322014-04-11 Joel Brobecker <brobecker@adacore.com>
17033
17034 Revert the following changes (regressions):
17035
17036 * gdb.base/vla-sideeffect.c: New file.
17037 * gdb.base/vla-sideeffect.exp: New file.
17038
17039 * gdb.dwarf2/count.exp: New file.
17040
17041 * gdb.base/vla-multi.c: New file.
17042 * gdb.base/vla-multi.exp: New file.
17043
17044 * gdb.base/vla-ptr.c: New file.
17045 * gdb.base/vla-ptr.exp: New file.
17046
17047 * gdb.base/vla-datatypes.c: New file.
17048 * gdb.base/vla-datatypes.exp: New file.
17049
17050 * gdb.mi/mi-vla-c99.exp: New file.
17051 * gdb.mi/vla.c: New file.
17052
245a5f0b
KS
170532014-04-11 Keith Seitz <keiths@redhat.com>
17054
17055 PR c++/16675
17056 * gdb.cp/cpsizeof.exp: New file.
17057 * gdb.cp/cpsizeof.cc: New file.
17058
58a84dcf
SA
170592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17060
191a8a90
JB
17061 * gdb.mi/mi-vla-c99.exp: New file.
17062 * gdb.mi/vla.c: New file.
58a84dcf 17063
c8655f75
SA
170642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17065
17066 * gdb.base/vla-datatypes.c: New file.
17067 * gdb.base/vla-datatypes.exp: New file.
17068
024e13b4
SA
170692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17070
17071 * gdb.base/vla-ptr.c: New file.
17072 * gdb.base/vla-ptr.exp: New file.
17073
1a237e0e
SA
170742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17075
17076 * gdb.base/vla-multi.c: New file.
17077 * gdb.base/vla-multi.exp: New file.
17078
504f3432
SA
170792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17080
17081 * gdb.dwarf2/count.exp: New file.
17082
3bce8237
SA
170832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17084
191a8a90
JB
17085 * gdb.base/vla-sideeffect.c: New file.
17086 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 17087
322f9c21
YQ
170882014-04-11 Yao Qi <yao@codesourcery.com>
17089
17090 * gdb.base/completion.exp: Check file exists before running tests
17091 on file completion.
17092
d708bcd1
PA
170932014-04-10 Pedro Alves <palves@redhat.com>
17094
17095 * gdb.base/cond-eval-mode.c: New file.
17096 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17097 prepare_for_testing to build the new file. Check result of
17098 runto_main.
17099 (test_break, test_watch): New procedures.
17100 (top level): Use them.
17101
ae1d2761
PM
171022014-04-08 Pierre Muller <muller@sourceware.org>
17103
17104 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17105 Ctrl-V use for mingw hosts.
17106
7af389b8
SC
171072014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17108
17109 * gdb.python/py-value.c: Improve test case.
17110 * gdb.python/py-value.exp: Add new test.
17111
5e703181
DE
171122014-04-07 David Blaikie <dblaikie@gmail.com>
17113
17114 * lib/compiler.c: Identify the clang compiler.
17115 * lib/compiler.cc: Ditto.
17116
9810b410
YQ
171172014-04-03 Yao Qi <yao@codesourcery.com>
17118
17119 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17120
98d1b8dc
AB
171212014-04-01 Anton Blanchard <anton@samba.org>
17122
17123 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17124 messages unique.
17125
3114cea1
AB
171262014-04-01 Anton Blanchard <anton@samba.org>
17127
17128 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17129 prepare_for_testing.
17130
62f7182c
AB
171312014-04-01 Anton Blanchard <anton@samba.org>
17132
17133 * gdb.arch/ppc64-atomic-inst.c: Remove.
17134 * gdb.arch/ppc64-atomic-inst.S: New file.
17135 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17136
770e7fc7
DE
171372014-03-31 Doug Evans <dje@google.com>
17138
17139 * gdb.base/print-symbol-loading-lib.c: New file.
17140 * gdb.base/print-symbol-loading-main.c: New file.
17141 * gdb.base/print-symbol-loading.exp: New file.
17142
46e2bafa
YQ
171432014-03-31 Yao Qi <yao@codesourcery.com>
17144
17145 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17146
8776cfe9
JB
171472014-03-28 Joel Brobecker <brobecker@adacore.com>
17148
17149 * gdb.ada/mi_dyn_arr: New testcase.
17150
5d1ef361
DE
171512014-03-27 Doug Evans <dje@google.com>
17152
17153 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17154
b5bee914
YQ
171552014-03-27 Yao Qi <yao@codesourcery.com>
17156
17157 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17158 if target is nios2-*-*.
17159
0d4d0e77
YQ
171602014-03-26 Yao Qi <yao@codesourcery.com>
17161
17162 * lib/gdb.exp (readline_is_used): New proc.
17163 * gdb.base/completion.exp: Move tests on command complete up.
17164 Skip the rest of tests if readline is not used.
17165 * gdb.ada/complete.exp: Skp the test if readline is not
17166 used.
17167 * gdb.base/filesym.exp: Likewise.
17168 * gdb.base/macscp.exp: Likewise.
17169 * gdb.base/readline-ask.exp: Likewise.
17170 * gdb.base/readline.exp: Likewise.
17171 * gdb.python/py-cmd.exp: Likewise.
17172 * gdb.trace/tfile.exp: Likewise.
17173
29361eee
YQ
171742014-03-26 Yao Qi <yao@codesourcery.com>
17175
17176 * gdb.base/macscp.exp: Fix code format issues.
17177
bc9a5525
UW
171782014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17179
17180 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17181 * gdb.asm/powerpc64le.inc: New file.
17182
d3839ede
PA
171832014-03-25 Pedro Alves <palves@redhat.com>
17184 Doug Evans <dje@google.com>
17185
17186 * gdb.base/source-execution.c: New file.
17187 * gdb.base/source-execution.exp: New file.
17188 * gdb.base/source-execution.gdb: New file.
17189
01672a57
DE
171902014-03-24 Doug Evans <dje@google.com>
17191
17192 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17193 using fission.
17194
88bbeca9
HZ
171952014-03-24 Hui Zhu <hui@codesourcery.com>
17196 Pedro Alves <palves@redhat.com>
17197
17198 PR breakpoints/16101
17199 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17200 test pass/fail messages. Detect missing support for dprintf when
17201 breakpoints are actually inserted.
17202 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17203 breakpoints are actually inserted.
17204 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17205 fails.
17206
d2348791
JK
172072014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17208
17209 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17210
feef67ab
DE
172112014-03-22 Doug Evans <xdje42@gmail.com>
17212
17213 * gdb.python/python.exp (python not supported): Verify multi-line
17214 python command issues an error.
25d743f9 17215 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 17216 guile command issues an error.
feef67ab 17217
ecebef6a
MR
172182014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17219
17220 * gdb.threads/thread-specific.exp: Handle the lack of usable
17221 $this_breakpoint and $this_thread.
17222
ccdd1909
HZ
172232014-03-21 Hui Zhu <hui@codesourcery.com>
17224
17225 * gdb.base/attach.exp (do_command_attach_tests): New.
17226
beb460e8
PA
172272014-03-20 Tom Tromey <tromey@redhat.com>
17228 Pedro Alves <palves@redhat.com>
17229
17230 PR cli/15718
17231 * gdb.base/condbreak-call-false.c: New file.
17232 * gdb.base/condbreak-call-false.exp: New file.
17233
40acf43a
PA
172342014-03-20 Pedro Alves <palves@redhat.com>
17235
17236 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17237 Delete.
17238 (block_signals, unblock_signals): Delete.
17239 (child_function_2, main): Remove references to deleted variable
17240 and functions.
17241
9f5e1e02
PA
172422014-03-20 Pedro Alves <palves@redhat.com>
17243
17244 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17245 Use pthread_kill to signal thread 2.
17246 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17247 Adjust to make the test send itself a signal rather than using the
17248 host's "kill" command.
17249
99619bea
PA
172502014-03-20 Pedro Alves <palves@redhat.com>
17251
17252 * gdb.threads/multiple-step-overs.c: New file.
17253 * gdb.threads/multiple-step-overs.exp: New file.
17254 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17255 Adjust expected infrun debug output.
17256
2adfaa28
PA
172572014-03-20 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17260 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17261
31e77af2
PA
172622014-03-20 Pedro Alves <palves@redhat.com>
17263
17264 PR breakpoints/7143
17265 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17266 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17267 of gdb_test_multiple.
17268 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17269 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17270
b9f437de
PA
172712014-03-20 Pedro Alves <palves@redhat.com>
17272
17273 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17274 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17275
05adc73e
PA
172762014-03-19 Pedro Alves <palves@redhat.com>
17277
17278 * gdb.base/async.exp: Remove early return.
17279
6048b950
PA
172802014-03-19 Pedro Alves <palves@redhat.com>
17281
17282 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17283
8bcfb00a
PA
172842014-03-19 Pedro Alves <palves@redhat.com>
17285
17286 * gdb.base/async.exp (test_background): Expect \r\n after
17287 "completed." in the fail pattern.
17288
884e37dc
PA
172892014-03-19 Pedro Alves <palves@redhat.com>
17290
17291 * gdb.base/async.exp (test_background): New procedure.
17292 Use it for all background execution command tests.
17293
148e57e2
PA
172942014-03-19 Pedro Alves <palves@redhat.com>
17295
17296 * gdb.base/async.exp: Use prepare_for_testing.
17297
f48088c7
PA
172982014-03-19 Pedro Alves <palves@redhat.com>
17299
17300 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17301 the same line.
17302
e2f6c966
PA
173032014-03-19 Pedro Alves <palves@redhat.com>
17304
17305 * gdb.base/async.c (main): Add "jump here" and "until here" line
17306 marker comments.
17307 * gdb.base/async.exp (jump_here): New global.
17308 (jump& test): Use it.
17309 (until_here): New global.
17310 (until& test): Use it.
17311
c30568d4
PA
173122014-03-19 Pedro Alves <palves@redhat.com>
17313
17314 * gdb.base/async.exp: Don't frob gdb_protocol.
17315
0172b6a7
DE
173162014-03-18 Doug Evans <xdje42@gmail.com>
17317
17318 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17319 Fix spelling of exec-done-display.
17320
06c868a8
JK
173212014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17322
17323 PR gdb/15358
17324 * gdb.base/gdb-sigterm.c: New file.
17325 * gdb.base/gdb-sigterm.exp: New file.
17326
0c7e1a46
PA
173272014-03-18 Pedro Alves <palves@redhat.com>
17328
17329 PR gdb/13860
17330 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17331 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17332 solib-event.
17333
f7c77d93
JB
173342014-03-17 Joel Brobecker <brobecker@adacore.com>
17335
17336 * gdb.ada/pckd_arr_ren: New testcase.
17337
5a1e8c7a
DE
173382014-03-13 Doug Evans <xdje42@gmail.com>
17339
17340 PR guile/16612
17341 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17342 collect after discarding symbols.
17343
350e1a76
DE
173442014-03-13 Ludovic Courtès <ludo@gnu.org>
17345 Doug Evans <xdje42@gmail.com>
17346
17347 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17348 to history survives a gc.
17349
a69900ae
PA
173502014-03-13 Pedro Alves <palves@redhat.com>
17351
17352 * gdb.base/default.exp: Don't test "target procfs".
17353
5db9f0bd
PA
173542014-03-13 Pedro Alves <palves@redhat.com>
17355
17356 * gdb.base/default.exp: Update "target child" and "target procfs"
17357 tests to not expect "Unix".
17358
b3ccfe11
TT
173592014-03-12 Tom Tromey <tromey@redhat.com>
17360
17361 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17362 New procs. Add target-async tests.
17363 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17364 Add target-async tests.
17365
646f4417
AA
173662014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17367
17368 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17369 'func_start' and 'func_end' for the beginning and end of the
17370 function code, respectively.
17371 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17372 'func_end' instead of 'func' and 'main'.
17373
288c211f
AA
173742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17375
17376 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17377 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17378 generate the debug info assembler source.
17379
e0c0f156
AA
173802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17381
17382 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17383 * gdb.dwarf2/arr-subrange.exp: Likewise.
17384 * gdb.dwarf2/dwz.exp: Likewise.
17385 * gdb.dwarf2/method-ptr.exp: Likewise.
17386 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17387 * gdb.dwarf2/subrange.exp: Likewise.
17388 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17389 * gdb.dwarf2/implptrpiece.exp: Likewise.
17390 * gdb.dwarf2/nostaticblock.exp: Likewise.
17391
0e5c4555
AA
173922014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17393
17394 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17395 directory to absolute path name arguments.
17396
5ec18f2b
JG
173972014-03-10 Joel Brobecker <brobecker@adacore.com>
17398
17399 * gdb.ada/tagged_access: New testcase.
17400
847fc4f2
MM
174012014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17402
17403 * gdb.btrace/data.exp: Update expected output.
17404
cc3da688
YQ
174052014-03-06 Yao Qi <yao@codesourcery.com>
17406
17407 * gdb.trace/pr16508.exp: New file.
17408
0f26cec1
PA
174092014-03-05 Pedro Alves <palves@redhat.com>
17410
17411 PR gdb/16575
17412 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17413 procedure.
17414 (top level): Adjust to use it. Add tests that exercise breakpoint
17415 interaction with the code-cache.
17416
7a5a839f
LC
174172014-02-26 Ludovic Courtès <ludo@gnu.org>
17418
17419 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17420 test for 'history-append!'.
17421
31aa7e4e
JB
174222014-02-26 Joel Brobecker <brobecker@adacore.com>
17423
17424 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17425 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17426 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17427 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17428 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17429 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17430
1b588015
JB
174312014-02-26 Joel Brobecker <brobecker@adacore.com>
17432
17433 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17434 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17435 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17436
55426c9d
JB
174372014-02-26 Joel Brobecker <brobecker@adacore.com>
17438
17439 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17440
dc53a7ad
JB
174412014-02-26 Joel Brobecker <brobecker@adacore.com>
17442
17443 * gdb.dwarf2/arr-stride.c: New file.
17444 * gdb.dwarf2/arr-stride.exp: New file.
17445
12ab52e9
PA
174462014-02-26 Pedro Alves <palves@redhat.com>
17447
17448 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17449 that won't ever trigger. Make sure that GDB reports the correct
17450 breakpoint that caused the stop.
17451
849c862e
JK
174522014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17453
17454 PR gdb/16626
17455 * gdb.base/auto-load-script: New file.
17456 * gdb.base/auto-load.c: New file.
17457 * gdb.base/auto-load.exp: New file.
17458
71b7d793
JK
17459 PR gdb/16626
17460 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17461
e2f0d509
JK
174622014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17463
17464 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17465 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17466
50cc37c8
DE
174672014-02-24 Doug Evans <dje@google.com>
17468
17469 * lib/gdb.exp (run_on_host): Log error output if program fails.
17470
ea4758f2
PA
174712014-02-21 Pedro Alves <palves@redhat.com>
17472
17473 * gdb.threads/step-after-sr-lock.c: Rename to ...
17474 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17475 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17476 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17477 ... this.
17478
d7b30f67
SDJ
174792014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17480
17481 PR tdep/16397
17482 * gdb.arch/amd64-stap-special-operands.exp: New file.
17483 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17484 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17485 * gdb.arch/amd64-stap-triplet.S: Likewise.
17486 * gdb.arch/amd64-stap-triplet.c: Likewise.
17487
83deb43f
JB
174882014-02-20 Joel Brobecker <brobecker@adacore.com>
17489
17490 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17491 in .section pseudo-op.
17492
adde2bff
DE
174932014-02-20 lin zuojian <manjian2006@gmail.com>
17494 Joel Brobecker <brobecker@adacore.com>
17495 Doug Evans <xdje42@gmail.com>
17496
17497 PR symtab/16581
17498 * gdb.dwarf2/dw2-icycle.S: New file.
17499 * gdb.dwarf2/dw2-icycle.c: New file.
17500 * gdb.dwarf2/dw2-icycle.exp: New file.
17501
f7bd0f78
SC
175022014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17503
17504 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17505 operations on gdb.Value objects.
17506 * gdb.python/py-value-cc.exp: Add new test to test operations on
17507 gdb.Value objects.
17508
c17ef0d5
DE
175092014-02-18 Doug Evans <dje@google.com>
17510
17511 * Makefile.in (TESTS): New variable.
17512 (expanded_tests, expanded_tests_or_none): New variables
17513 (check-single): Pass $(expanded_tests_or_none) to runtest.
17514 (check-parallel): Only run tests in $(TESTS) if non-empty.
17515 (check/no-matching-tests-found): New rule.
17516 * README: Document TESTS makefile variable.
17517
5dd3176f
DE
175182014-02-18 Doug Evans <dje@google.com>
17519
17520 * Makefile.in (check-parallel): rm -rf outputs temp.
17521
0b10be4f
JK
175222014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17523
17524 Fix "ERROR: no fileid for" in the testsuite.
17525 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17526
85f224e7
DE
175272014-02-12 Doug Evans <dje@google.com>
17528
17529 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17530 (MISCELLANEOUS): New variable.
17531 (clean): rm -rf $(MISCELLANEOUS).
17532 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17533 dwp live in the same directory as symlinks, with each symlink pointed
17534 to a differently named file in a different directory.
17535
149b30ff
DE
175362014-02-11 Doug Evans <dje@google.com>
17537
17538 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17539 of Tcl file commands.
17540
1dfdac32
MK
175412014-02-10 Mark Kettenis <kettenis@gnu.org>
17542
17543 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17544 "kill -SIGUSR1 -1".
17545
aa4fb036
JB
175462014-02-10 Joel Brobecker <brobecker@adacore.com>
17547
17548 * gdb.ada/tick_length_array_enum_idx: New testcase.
17549
ed3ef339
DE
175502014-02-10 Doug Evans <xdje42@gmail.com>
17551
17552 * configure.ac (AC_OUTPUT): Add gdb.guile.
17553 * configure: Regenerate.
17554 * lib/gdb-guile.exp: New file.
17555 * lib/gdb.exp (get_target_charset): New function.
17556 * gdb.base/help.exp: Update expected output from "apropos apropos".
17557 * gdb.guile/Makefile.in: New file.
17558 * gdb.guile/guile.exp: New file.
17559 * gdb.guile/scm-arch.c: New file.
17560 * gdb.guile/scm-arch.exp: New file.
17561 * gdb.guile/scm-block.c: New file.
17562 * gdb.guile/scm-block.exp: New file.
17563 * gdb.guile/scm-breakpoint.c: New file.
17564 * gdb.guile/scm-breakpoint.exp: New file.
17565 * gdb.guile/scm-disasm.c: New file.
17566 * gdb.guile/scm-disasm.exp: New file.
17567 * gdb.guile/scm-equal.c: New file.
17568 * gdb.guile/scm-equal.exp: New file.
17569 * gdb.guile/scm-error.exp: New file.
17570 * gdb.guile/scm-error.scm: New file.
17571 * gdb.guile/scm-frame-args.c: New file.
17572 * gdb.guile/scm-frame-args.exp: New file.
17573 * gdb.guile/scm-frame-args.scm: New file.
17574 * gdb.guile/scm-frame-inline.c: New file.
17575 * gdb.guile/scm-frame-inline.exp: New file.
17576 * gdb.guile/scm-frame.c: New file.
17577 * gdb.guile/scm-frame.exp: New file.
17578 * gdb.guile/scm-generics.exp: New file.
17579 * gdb.guile/scm-gsmob.exp: New file.
17580 * gdb.guile/scm-iterator.c: New file.
17581 * gdb.guile/scm-iterator.exp: New file.
17582 * gdb.guile/scm-math.c: New file.
17583 * gdb.guile/scm-math.exp: New file.
17584 * gdb.guile/scm-objfile-script-gdb.in: New file.
17585 * gdb.guile/scm-objfile-script.c: New file.
17586 * gdb.guile/scm-objfile-script.exp: New file.
17587 * gdb.guile/scm-objfile.c: New file.
17588 * gdb.guile/scm-objfile.exp: New file.
17589 * gdb.guile/scm-ports.exp: New file.
17590 * gdb.guile/scm-pretty-print.c: New file.
17591 * gdb.guile/scm-pretty-print.exp: New file.
17592 * gdb.guile/scm-pretty-print.scm: New file.
17593 * gdb.guile/scm-section-script.c: New file.
17594 * gdb.guile/scm-section-script.exp: New file.
17595 * gdb.guile/scm-section-script.scm: New file.
17596 * gdb.guile/scm-symbol.c: New file.
17597 * gdb.guile/scm-symbol.exp: New file.
17598 * gdb.guile/scm-symtab-2.c: New file.
17599 * gdb.guile/scm-symtab.c: New file.
17600 * gdb.guile/scm-symtab.exp: New file.
17601 * gdb.guile/scm-type.c: New file.
17602 * gdb.guile/scm-type.exp: New file.
17603 * gdb.guile/scm-value-cc.cc: New file.
17604 * gdb.guile/scm-value-cc.exp: New file.
17605 * gdb.guile/scm-value.c: New file.
17606 * gdb.guile/scm-value.exp: New file.
17607 * gdb.guile/source2.scm: New file.
17608 * gdb.guile/types-module.cc: New file.
17609 * gdb.guile/types-module.exp: New file.
17610
7026a7c1
YQ
176112014-02-10 Yao Qi <yao@codesourcery.com>
17612
17613 PR testsuite/16543
17614 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17615 * configure: Regenerated.
17616 * Makefile.in: New file.
17617
6c466447
AS
176182014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17619
17620 * gdb.python/py-framefilter.exp: Fix typo.
17621
6e854735
YQ
176222014-02-08 Yao Qi <yao@codesourcery.com>
17623
17624 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17625 that no =breakpoint-modified is emitted when breakpoints are
17626 modified through MI commands.
17627
d137e6dc
PA
176282014-02-07 Pedro Alves <pedro@codesourcery.com>
17629 Pedro Alves <palves@redhat.com>
17630
17631 * gdb.threads/step-after-sr-lock.c: New file.
17632 * gdb.threads/step-after-sr-lock.exp: New file.
17633
b5ee5a50
PA
176342014-02-07 Pedro Alves <palves@redhat.com>
17635
17636 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17637
3c77faf3
JK
176382014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17639
17640 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17641 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17642
6dddc817
DE
176432014-02-06 Doug Evans <xdje42@gmail.com>
17644
17645 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17646 output.
17647
17648 * gdb.gdb/python-interrupts.exp: New file.
17649
de7b2893
YQ
176502014-02-05 Yao Qi <yao@codesourcery.com>
17651
17652 * gdb.trace/report.exp (use_collected_data): Test the output
17653 of "info threads" and "info inferiors".
17654
66d032ac
YQ
176552014-02-05 Yao Qi <yao@codesourcery.com>
17656
17657 Revert this patch:
17658
17659 2013-05-24 Yao Qi <yao@codesourcery.com>
17660
17661 * gdb.trace/tfile.exp: Test inferior and thread.
17662
591a12a1
UW
176632014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17664
17665 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17666 on a function.
17667 * gdb.base/step-bt.c: Call hello via function pointer to make
17668 sure its first instruction is executed on powerpc64le-linux.
17669
0ff3e01f
UW
176702014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17671
17672 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17673
084ee545
UW
176742014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17675
17676 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17677 of the test patterns for use on little-endian systems.
17678
6ed14ff3
UW
176792014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17680
17681 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17682 (decimal_vector): Fix for little-endian.
17683
401e27fd
JM
176842014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17685
17686 * gdb.arch/sparc-sysstep.exp: New file.
17687 * gdb.arch/sparc-sysstep.c: Likewise.
17688
17689 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17690
8b924729
EBM
176912014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17692
17693 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17694
fb151210
JB
176952014-01-23 Tom Tromey <tromey@redhat.com>
17696
17697 * gdb.ada/array_char_idx: New testcase.
17698
0740f8d8
TT
176992014-01-23 Tom Tromey <tromey@redhat.com>
17700
17701 PR python/16487:
17702 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17703 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17704 classes.
17705
21909fa1
TT
177062014-01-23 Tom Tromey <tromey@redhat.com>
17707
17708 PR python/16491:
17709 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17710 string from an inferior frame.
17711 * gdb.python/py-framefilter-mi.exp: Update.
17712
87ce2a04
DE
177132014-01-22 Doug Evans <dje@google.com>
17714
17715 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17716
237b092b
AA
177172014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17718
17719 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17720
d674a709
AA
177212014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17722
17723 * gdb.trace/entry-values.exp: Remove excess space character from
17724 regex patterns. Handle s390 call instruction.
17725
20fa3390
AA
177262014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17727
17728 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17729 define "*_start" label. Make "name" static.
17730 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17731 ${name} by references to ${name}_start.
17732
78466714
AA
177332014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17734
17735 * gdb.base/info-macros.exp: Remove "debug" from the compile
17736 options.
17737
ec9f644a
IB
177382014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17739
17740 * gdb.dlang/demangle.exp: New file.
17741
94b1b47e
IB
177422014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17743
17744 * gdb.dlang/primitive-types.exp: New file.
17745
7f420862
IB
177462014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17747
17748 * configure.ac: Create gdb.dlang/Makefile.
17749 * configure: Regenerate.
17750 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17751 * gdb.dlang/Makefile.in: New file.
17752 * lib/d-support.exp: New file.
17753 * lib/gdb.exp (skip_d_tests): New proc.
17754
52834460
MM
177552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17756
17757 * gdb.btrace/delta.exp: Check reverse stepi.
17758 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17759 * gdb.btrace/finish.exp: New.
17760 * gdb.btrace/next.exp: New.
17761 * gdb.btrace/nexti.exp: New.
17762 * gdb.btrace/record_goto.c: Add comments.
17763 * gdb.btrace/step.exp: New.
17764 * gdb.btrace/stepi.exp: New.
17765 * gdb.btrace/multi-thread-step.c: New.
17766 * gdb.btrace/multi-thread-step.exp: New.
17767 * gdb.btrace/rn-dl-bind.c: New.
17768 * gdb.btrace/rn-dl-bind.exp: New.
17769 * gdb.btrace/data.c: New.
17770 * gdb.btrace/data.exp: New.
17771 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17772
6e07b1d2
MM
177732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17774
17775 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17776 * gdb.btrace/exception.exp: Update.
17777 * gdb.btrace/instruction_history.exp: Update.
17778 * gdb.btrace/record_goto.exp: Update.
17779 * gdb.btrace/tailcall.exp: Update.
17780 * gdb.btrace/unknown_functions.exp: Update.
17781 * gdb.btrace/delta.exp: New.
17782
0b722aec
MM
177832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17784
17785 * gdb.btrace/record_goto.exp: Add backtrace test.
17786 * gdb.btrace/tailcall.exp: Add backtrace test.
17787
066ce621
MM
177882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17789
17790 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17791 * gdb.btrace/record_goto.c: New.
17792 * gdb.btrace/record_goto.exp: New.
17793 * gdb.btrace/x86-record_goto.S: New.
17794
0688d04e
MM
177952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17796
17797 * gdb.btrace/function_call_history.exp: Update tests.
17798 * gdb.btrace/instruction_history.exp: Update tests.
17799
8710b709
MM
178002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17801
17802 * gdb.btrace/function_call_history.exp: Fix expected field
17803 order for "record function-call-history".
17804 Add new tests for "record function-call-history /c".
17805 * gdb.btrace/exception.cc: New.
17806 * gdb.btrace/exception.exp: New.
17807 * gdb.btrace/tailcall.exp: New.
17808 * gdb.btrace/x86-tailcall.S: New.
17809 * gdb.btrace/x86-tailcall.c: New.
17810 * gdb.btrace/unknown_functions.c: New.
17811 * gdb.btrace/unknown_functions.exp: New.
17812 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17813
5de9129b
MM
178142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17815
17816 * gdb.btrace/instruction_history.exp: Update.
17817 * gdb.btrace/function_call_history.exp: Update.
17818
23a7fe75
MM
178192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17820
17821 * gdb.btrace/function_call_history.exp: Fix expected function
17822 trace.
17823 * gdb.btrace/instruction_history.exp: Initialize traced.
17824 Remove traced_functions.
17825
724c7dd8
MM
178262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17827
17828 * gdb.btrace/function_call_history.exp: Update
17829 * gdb.btrace/instruction_history.exp: Update.
17830
6d78d93b
MM
178312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17832
17833 * gdb.btrace/enable.exp: Update expected text.
17834
93a360cc
OJ
178352014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17836
17837 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17838 bytes.
17839
3772b53f
MR
178402014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17841
17842 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17843
596662fa
OJ
178442014-01-15 Omair Javaid <omair.javaid@linaro.org>
17845
17846 * lib/gdb.exp (supports_process_record): Return true for
17847 arm*-linux*. (supports_reverse): Likewise.
17848
b5b08fb4
SC
178492014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17850
17851 PR python/15464
17852 PR python/16113
17853 * gdb.python/py-type.c: Enhance test case.
17854 * gdb.python/py-value-cc.cc: Likewise
17855 * gdb.python/py-type.exp: Add new tests.
17856 * gdb.python/py-value-cc.exp: Likewise
17857
52d7fb13
AA
178582014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17859 Pedro Alves <palves@redhat.com>
17860
17861 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17862 Make "name" extern.
17863 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17864 references to ${name}_start by references to ${name}.
17865
a2cd8cfe
JB
178662014-01-10 Joel Brobecker <brobecker@adacore.com>
17867
17868 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17869
4e23fced
JB
178702014-01-10 Joel Brobecker <brobecker@adacore.com>
17871
17872 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17873
c6a9e42c
PA
178742014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17875 Pedro Alves <palves@redhat.com>
17876
17877 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 17878 mi_gdb_target_load.
c6a9e42c 17879
b7ea362b
PA
178802014-01-08 Pedro Alves <palves@redhat.com>
17881
17882 * gdb.threads/reconnect-signal.c: New file.
17883 * gdb.threads/reconnect-signal.exp: New file.
17884
5e3f4fab
EBM
178852014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17886
17887 * gdb.base/source-dir.exp: New file.
17888
79301218
JB
178892014-01-07 Joel Brobecker <brobecker@adacore.com>
17890
17891 * gdb.ada/mi_interface: New testcase.
17892
8e355c5d
JB
178932014-01-07 Joel Brobecker <brobecker@adacore.com>
17894
17895 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17896 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17897 gdb.ada/pp-rec-component/pck.ads: New files.
17898
c0d48811
JB
178992014-01-07 Joel Brobecker <brobecker@adacore.com>
17900
17901 * gdb.python/py-pp-integral.c: New file.
17902 * gdb.python/py-pp-integral.py: New file.
17903 * gdb.python/py-pp-integral.exp: New file.
17904
17b609c3 17905For older changes see ChangeLog-1993-2013.
c906108c 17906\f
8d8cb839
EZ
17907;; Local Variables:
17908;; mode: change-log
17909;; left-margin: 8
17910;; fill-column: 74
17911;; version-control: never
17912;; End:
902f2ccb 17913
42a4f53d 17914 Copyright 2014-2019 Free Software Foundation, Inc.
902f2ccb
MC
17915 Copying and distribution of this file, with or without modification,
17916 are permitted provided the copyright notice and this notice are preserved.