gdb: rank an lvalue argument incompatible for an rvalue parameter
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
330f1d38
TBA
12019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2
3 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4 an rvalue parameter.
5 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6 parameter.
7
b43315e2
AB
82019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
9
10 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
11 modules.
12
54f73dad
AB
132019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
14
15 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
16 broken version of GCC.
17
d57cbee9
AB
182019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
19
20 * gdb.fortran/info-modules.exp: Rewrite to make use of new
21 sym-info-cmds library.
22 * gdb.fortran/info-types.exp: Likewise.
23 * lib/sym-info-cmds.exp: New file.
24
c14aab8c
TV
252019-12-08 Tom de Vries <tdevries@suse.de>
26
27 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
28
aa2d5a42
KS
292019-12-07 Keith Seitz <keiths@redhat.com>
30
31 * gdb.base/corefile-buildid-shlib-shr.c: New file.
32 * gdb.base/corefile-buildid-shlib.c: New file.
33 * gdb.base/corefile-buildid.c: New file.
34 * gdb.base/corefile-buildid.exp: New file.
35
93e55f0a
TV
362019-12-06 Tom de Vries <tdevries@suse.de>
37
38 * gdb.dwarf2/varval.exp: Add decl before def test.
39
c7d12402
TBA
402019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
41
42 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
43
06acc08f
TBA
442019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
45
46 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
47 CV and reference conversion for overload resolution.
48 * gdb.cp/rvalue-ref-overload.exp: Test it.
49
e0fad1ea
PW
502019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
51
52 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
53 * gdb.base/frameapply.exp: Test faas without command.
54
8d70a9f0
AB
552019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
56
57 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
58 Fortran tests.
59 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
60 order.
61
36c8fb93
AB
622019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
63
64 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
65 casting to type with no kind specified.
66 (test_basic_parsing_of_type_kinds): Additional tests for types
67 with no kind specified, and add tests for single/double
68 precision/complex types.
69
4139ff00
TT
702019-12-04 Tom Tromey <tromey@adacore.com>
71
72 * gdb.base/endianity.c (struct other) <x>: New field.
73 (main): Initialize it.
74 * gdb.base/endianity.exp: Update.
75
a05cf17a
TT
762019-12-04 Tom Tromey <tromey@adacore.com>
77
78 * gdb.ada/scalar_storage/storage.adb: New file.
79 * gdb.ada/scalar_storage/pck.adb: New file.
80 * gdb.ada/scalar_storage/pck.ads: New file.
81 * gdb.ada/scalar_storage.exp: New file.
82
103a685e
TT
832019-12-04 Tom Tromey <tromey@adacore.com>
84
85 * gdb.base/endianity.c (struct otherendian) <f>: New field.
86 (main): Initialize it.
87 * gdb.base/endianity.exp: Update.
88
c2512106
AB
892019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
92
293b38d6
AB
932019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
94
95 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
96 -symbol-info-module-functions and -symbol-info-module-variables.
97
216a7e6b
AB
982019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
99
100 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
101
5bbd8269
AB
1022019-12-01 Richard Bunt <richard.bunt@arm.com>
103 Andrew Burgess <andrew.burgess@embecosm.com>
104
105 * gdb.fortran/derived-type-striding.exp: New file.
106 * gdb.fortran/derived-type-striding.f90: New file.
107 * gdb.fortran/array-slices.exp: New file.
108 * gdb.fortran/array-slices.f90: New file.
109
be09caf1
PW
1102019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
111
112 * gdb.base/define.exp: Test . in command names.
113 * gdb.base/setshow.exp: Update test, as . is now part of
114 command name.
115
643c0cbe
PW
1162019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
117
118 * gdb.base/define-prefix.exp: New file.
119
dcdec678
AB
1202019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
121
122 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
123 compile.
124 (skip_btrace_pt_tests): Likewise.
125
640ab947
AB
1262019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
127
128 * gdb.fortran/info-modules.exp: Compile source files in correct
129 order.
130
d22670f0
KB
1312019-11-27 Kevin Buettner <kevinb@redhat.com>
132
133 * gdb.dwarf2/imported-unit.exp: New file.
134 * gdb.dwarf2/imported-unit.c: New file.
135
db5960b4
AB
1362019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
137
138 * gdb.mi/mi-fortran-modules-2.f90: New file.
139 * gdb.mi/mi-fortran-modules.exp: New file.
140 * gdb.mi/mi-fortran-modules.f90: New file.
141
7dc42066
AB
1422019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
143
144 * gdb.mi/mi-sym-info-1.c: New file.
145 * gdb.mi/mi-sym-info-2.c: New file.
146 * gdb.mi/mi-sym-info.exp: New file.
147
0dfeecca
TT
1482019-11-22 Tom Tromey <tromey@adacore.com>
149
150 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
151 * gdb.ada/tasks/foo.adb: Add another stopping location.
152
34877895
PJ
1532019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
154
155 * gdb.base/endianity.c: New test.
156 * gdb.base/endianity.exp: New file.
157
2e84f897
LD
1582019-11-21 Lukas Durfina <ldurfina@tachyum.com>
159
160 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
161
65d1cd5f
TV
1622019-11-21 Tom de Vries <tdevries@suse.de>
163
164 PR gdb/24956
165 * gdb.base/ui-redirect.exp: Test output of user-defined command.
166
4f22c3f4
SDJ
1672019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
168
169 * gdb.python/py-progspace.exp: Add missing parentheses on some
170 'print' commands.
171
9f6ad286
TT
1722019-11-19 Tom Tromey <tom@tromey.com>
173
174 * gdb.tui/winheight.exp: New file.
175
0b8dbf3f
AB
1762019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
177
178 * gdb.base/ctf-whatis.c: Delete.
179 * gdb.base/ctf-whatis.exp: Delete.
180 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
181
f833b7a7
AB
1822019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
183
184 * gdb.base/ctf-cvexpr.exp: Delete.
185 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
186
30d0a636
AB
1872019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
188
189 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
190 the compiler. Clean up header comment a little.
191 * gdb.base/ctf-ptype.exp: Likewise.
192 * gdb.base/ctf-whatis.exp: Likewise.
193 * lib/gdb.exp (skip_ctf_tests): New proc.
194
494409bb
SDJ
1952019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
196
197 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
198 * gdb.tui/corefile-run.exp: New file.
199
55708e99
TT
2002019-11-14 Tom Tromey <tromey@adacore.com>
201
202 * gdb.base/gdbvars.exp (test_convenience_variables): Add
203 regression tests.
204
45e42163
TT
2052019-11-12 Tom Tromey <tom@tromey.com>
206
207 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
208 after any command. Expect prompt after WAIT_FOR is seen.
209 (enter_tui): Enable resize messages.
210 (command): Expect command in output.
211 (get_line): Avoid error when cursor appears to be off-screen.
212 (dump_screen): Include screen size in title.
213 (_do_resize): New proc, from "resize".
214 (resize): Rewrite. Do resize in two steps.
215 * gdb.tui/empty.exp (layouts): Fix entries.
216 (check_boxes): Remove xfail.
217 (check_text): Dump screen on failure.
218
086baaf1
AB
2192019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
220
221 * gdb.python/py-symbol.exp: Add test for
222 gdb.lookup_static_symbols.
223
09ff83af
AB
2242019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
225
226 * gdb.python/py-symbol.c: Declare and call function from new
227 py-symbol-2.c file.
228 * gdb.python/py-symbol.exp: Compile both source files, and add new
229 tests for gdb.lookup_static_symbol.
230 * gdb.python/py-symbol-2.c: New file.
231
11af934b
TV
2322019-11-02 Tom de Vries <tdevries@suse.de>
233
234 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
235 * gdb.base/anon.exp: Same.
236 * gdb.base/auto-connect-native-target.exp: Same.
237 * gdb.base/call-ar-st.exp: Same.
238 * gdb.base/catch-syscall.exp: Same.
239 * gdb.base/commands.exp: Same.
240 * gdb.base/default.exp: Same.
241 * gdb.base/display.exp: Same.
242 * gdb.base/float.exp: Same.
243 * gdb.base/foll-fork.exp: Same.
244 * gdb.base/help.exp: Same.
245 * gdb.base/info-macros.exp: Same.
246 * gdb.base/info-proc.exp: Same.
247 * gdb.base/info-target.exp: Same.
248 * gdb.base/long_long.exp: Same.
249 * gdb.base/macscp.exp: Same.
250 * gdb.base/memattr.exp: Same.
251 * gdb.base/nofield.exp: Same.
252 * gdb.base/pointers.exp: Same.
253 * gdb.base/printcmds.exp: Same.
254 * gdb.base/ptype.exp: Same.
255 * gdb.base/restore.exp: Same.
256 * gdb.base/return.exp: Same.
257 * gdb.base/scope.exp: Same.
258 * gdb.base/set-noassign.exp: Same.
259 * gdb.base/setshow.exp: Same.
260 * gdb.base/shlib-call.exp: Same.
261 * gdb.base/signals.exp: Same.
262 * gdb.base/sigstep.exp: Same.
263 * gdb.base/skip.exp: Same.
264 * gdb.base/solib-symbol.exp: Same.
265 * gdb.base/stap-probe.exp: Same.
266 * gdb.base/step-line.exp: Same.
267 * gdb.base/step-test.exp: Same.
268 * gdb.base/style.exp: Same.
269 * gdb.base/varargs.exp: Same.
270 * gdb.base/vla-datatypes.exp: Same.
271 * gdb.base/vla-ptr.exp: Same.
272 * gdb.base/vla-sideeffect.exp: Same.
273 * gdb.base/volatile.exp: Same.
274 * gdb.base/watch-cond-infcall.exp: Same.
275 * gdb.base/watchpoint.exp: Same.
276
e96ec2ba
TV
2772019-11-02 Tom de Vries <tdevries@suse.de>
278
279 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
280 * gdb.cp/cpexprs.exp: Same.
281 * gdb.cp/except-multi-location.exp: Same.
282 * gdb.cp/exceptprint.exp: Same.
283 * gdb.cp/gdb2384.exp: Same.
284 * gdb.cp/inherit.exp: Same.
285 * gdb.cp/m-static.exp: Same.
286 * gdb.cp/meth-typedefs.exp: Same.
287 * gdb.cp/misc.exp: Same.
288 * gdb.cp/namespace.exp: Same.
289 * gdb.cp/non-trivial-retval.exp: Same.
290 * gdb.cp/overload.exp: Same.
291 * gdb.cp/pr17132.exp: Same.
292 * gdb.cp/re-set-overloaded.exp: Same.
293 * gdb.cp/rvalue-ref-types.exp: Same.
294 * gdb.cp/templates.exp: Same.
295
bd5766ec
LM
2962019-11-01 Luis Machado <luis.machado@linaro.org>
297
298 PR gdb/25124
299
300 * gdb.arch/pr25124.S: New file.
301 * gdb.arch/pr25124.exp: New file.
302
165f8965
AB
3032019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
304
305 * gdb.fortran/info-modules.exp: Update expected results, and add
306 additional tests for 'info module functinos', and 'info module
307 variables'.
308 * gdb.fortran/info-types.exp: Update expected results.
309 * gdb.fortran/info-types.f90: Extend testcase with additional
310 module variables and functions.
311
59c35742
AB
3122019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
313
314 * gdb.fortran/info-modules.exp: New file.
315 * gdb.fortran/info-types.exp: Build with new file.
316 * gdb.fortran/info-types.f90: Include and use new module.
317 * gdb.fortran/info-types-2.f90: New file.
318
f3fb2519
PW
3192019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
320
321 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
322 * gdb.base/settings.exp: Test all settings types using
323 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
324 that now verifies that the value of "maint show" is the same as
325 returned by the settings functions. Test the type of the
326 maintenance settings.
327 * gdb.base/default.exp: Update show_conv_list.
328
d1e36019
TV
3292019-10-31 Tom de Vries <tdevries@suse.de>
330
331 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
332 gdb_test.
333 * gdb.arch/amd64-disp-step.exp: Same.
334 * gdb.asm/asm-source.exp: Same.
335 * gdb.btrace/buffer-size.exp: Same.
336 * gdb.btrace/cpu.exp: Same.
337 * gdb.btrace/enable.exp: Same.
338 * gdb.dwarf2/count.exp: Same.
339 * gdb.dwarf2/dw2-ranges-func.exp: Same.
340 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
341 * gdb.fortran/vla-datatypes.exp: Same.
342 * gdb.fortran/vla-history.exp: Same.
343 * gdb.fortran/vla-ptype.exp: Same.
344 * gdb.fortran/vla-value.exp: Same.
345 * gdb.fortran/whatis_type.exp: Same.
346 * gdb.guile/guile.exp: Same.
347 * gdb.multi/tids.exp: Same.
348 * gdb.python/py-finish-breakpoint.exp: Same.
349 * gdb.python/py-framefilter.exp: Same.
350 * gdb.python/py-pp-registration.exp: Same.
351 * gdb.python/py-xmethods.exp: Same.
352 * gdb.python/python.exp: Same.
353 * gdb.server/connect-with-no-symbol-file.exp: Same.
354 * gdb.server/no-thread-db.exp: Same.
355 * gdb.server/run-without-local-binary.exp: Same.
356 * gdb.stabs/weird.exp: Same.
357 * gdb.threads/attach-many-short-lived-threads.exp: Same.
358 * gdb.threads/thread-find.exp: Same.
359 * gdb.threads/tls-shared.exp: Same.
360 * gdb.threads/tls.exp: Same.
361 * gdb.threads/wp-replication.exp: Same.
362 * gdb.trace/ax.exp: Same.
363 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
364
3d11e68e
TV
3652019-10-31 Tom de Vries <tdevries@suse.de>
366
367 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
368 * gdb.ada/array_subscript_addr.exp: Same.
369 * gdb.ada/arrayidx.exp: Same.
370 * gdb.ada/arrayparam.exp: Same.
371 * gdb.ada/arrayptr.exp: Same.
372 * gdb.ada/boolean_expr.exp: Same.
373 * gdb.ada/call_pn.exp: Same.
374 * gdb.ada/complete.exp: Same.
375 * gdb.ada/fixed_cmp.exp: Same.
376 * gdb.ada/fun_addr.exp: Same.
377 * gdb.ada/funcall_param.exp: Same.
378 * gdb.ada/interface.exp: Same.
379 * gdb.ada/mod_from_name.exp: Same.
380 * gdb.ada/null_array.exp: Same.
381 * gdb.ada/packed_array.exp: Same.
382 * gdb.ada/packed_tagged.exp: Same.
383 * gdb.ada/print_chars.exp: Same.
384 * gdb.ada/print_pc.exp: Same.
385 * gdb.ada/ptype_arith_binop.exp: Same.
386 * gdb.ada/ptype_field.exp: Same.
387 * gdb.ada/ptype_tagged_param.exp: Same.
388 * gdb.ada/rec_return.exp: Same.
389 * gdb.ada/ref_tick_size.exp: Same.
390 * gdb.ada/str_ref_cmp.exp: Same.
391 * gdb.ada/taft_type.exp: Same.
392 * gdb.ada/tagged.exp: Same.
393 * gdb.ada/type_coercion.exp: Same.
394 * gdb.ada/uninitialized_vars.exp: Same.
395
60b6ede8
TV
3962019-10-30 Tom de Vries <tdevries@suse.de>
397
398 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
399
30baf67b
TV
4002019-10-26 Tom de Vries <tdevries@suse.de>
401
402 * gdb.base/bigcore.c: Fix typos in comments.
403 * gdb.base/ctf-ptype.c: Same.
404 * gdb.base/long_long.c: Same.
405 * gdb.dwarf2/dw2-op-out-param.S: Same.
406 * gdb.python/py-evthreads.c: Same.
407 * gdb.reverse/i387-stack-reverse.c: Same.
408 * gdb.trace/tfile.c: Same.
409 * lib/compiler.c: Same.
410 * lib/compiler.cc: Same.
411
158da0d1
TV
4122019-10-25 Tom de Vries <tdevries@suse.de>
413
414 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
415 gdb_test_multiple calls.
416 * gdb.reverse/sigall-reverse.exp: Same.
417 * gdb.reverse/solib-precsave.exp: Same.
418 * gdb.reverse/solib-reverse.exp: Same.
419 * gdb.reverse/until-precsave.exp: Same.
420 * gdb.reverse/until-reverse.exp: Same.
421
4ccdfbec
TV
4222019-10-24 Tom de Vries <tdevries@suse.de>
423
424 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
425 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
426 kfail using -wrap pattern flag and convenience variable
427 gdb_test_name.
428
33d569b7
AB
4292019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
430
431 * gdb.python/py-progspace.exp: Add tests for the
432 Progspace.block_for_pc method.
433
4d0b984b
TT
4342019-10-23 Tom Tromey <tom@tromey.com>
435
436 * configure: Rebuild.
437 * aclocal.m4: Use m4_include, not sinclude.
438
94cb3754
TV
4392019-10-21 Tom de Vries <tdevries@suse.de>
440
441 * gdb.base/infcall-nested-structs.c: Add
442 __attribute__((noinline,noclone)) to all functions.
443 (call_all): Add missing variable initialization. Simplify return value.
444 (breakpt): Increment volatile variable, to prevent call from being
445 optimized out.
446 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
447
062f1fc1
TV
4482019-10-17 Tom de Vries <tdevries@suse.de>
449
450 * gdb.fortran/module.exp: Allow info variables to print info for files
451 other than module.f90.
452
0b54364d
AB
4532019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
454
455 * gdb.fortran/module.exp: Extend with 'info variables' test.
456
7ff5fae7
AB
4572019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
458
459 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
460 F77_FOR_TARGET.
461
d10eccaa
TV
4622019-10-16 Tom de Vries <tdevries@suse.de>
463
464 PR tdep/25096
465 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
466
745ff14e
TV
4672019-10-16 Tom de Vries <tdevries@suse.de>
468
469 PR tdep/24104
470 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
471 Add KFAIL for PR tdep/25096.
472
03e1ab94
TV
4732019-10-16 Tom de Vries <tdevries@suse.de>
474
475 PR testsuite/25059
476 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
477
b17fcc10
TV
4782019-10-16 Tom de Vries <tdevries@suse.de>
479
480 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
481 as signed.
482
9223170f
SM
4832019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
484
485 * gdb.mi/list-thread-groups-available.exp: Read entries one by
486 one instead of increasing timeout.
487
d6e76313
TV
4882019-10-13 Tom de Vries <tdevries@suse.de>
489
490 PR record/25038
491 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
492 * gdb.reverse/sigall-reverse.exp: Same.
493 * gdb.reverse/solib-precsave.exp: Same.
494 * gdb.reverse/solib-reverse.exp: Same.
495 * gdb.reverse/step-precsave.exp: Same.
496 * gdb.reverse/until-precsave.exp: Same.
497 * gdb.reverse/until-reverse.exp: Same.
498 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
499
6dfc0041
AA
5002019-10-10 Andreas Arnez <arnez@linux.ibm.com>
501
502 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
503 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
504 (cmp_struct_05_01, cmp_struct_static_02_01)
505 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
506 comparisons.
507
abcf2cc8
TV
5082019-10-10 Tom de Vries <tdevries@suse.de>
509
510 PR testsuite/24888
511 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
512 gnatlink.
513
a50faaf6
TV
5142019-10-09 Tom de Vries <tdevries@suse.de>
515
516 PR testsuite/25048
517 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
518
60ff3cd7
AB
5192019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
520
521 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
522 exceptions due to missing debug information.
523
dfee8566
TV
5242019-10-07 Tom de Vries <tdevries@suse.de>
525
526 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
527
3d63690a
AB
5282019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
529
530 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
531 * gdb.base/annota1.exp: Update to use gdb_test_name.
532
30d1f018
WP
5332019-10-07 Weimin Pan <weimin.pan@oracle.com>
534
535 * gdb.base/ctf-whatis.exp: New file.
536 * gdb.base/ctf-whatis.c: New file.
537 * gdb.base/ctf-ptype.exp: New file.
538 * gdb.base/ctf-ptype.c: New file.
539 * gdb.base/ctf-constvars.exp: New file.
540 * gdb.base/ctf-constvars.c: New file.
541 * gdb.base/ctf-cvexpr.exp: New file.
542
4dbbb47c
TV
5432019-10-04 Tom de Vries <tdevries@suse.de>
544
545 * gdb.cp/local-static.c (main): Move declaration of int i out of the
546 for loop.
547
77c2dba3
TT
5482019-10-03 Tom Tromey <tom@tromey.com>
549
550 PR rust/24976:
551 * gdb.rust/simple.rs (Union2): New type.
552 (main): Use Union2.
553 * gdb.rust/simple.exp: Add test.
554
179aed7f
AB
5552019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
558 nested function prefix.
559
0a4b0913
AB
5602019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
561 Richard Bunt <richard.bunt@arm.com>
562 Andrew Burgess <andrew.burgess@embecosm.com>
563
564 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
565 nested functions.
566 * gdb.fortran/nested-funcs.f90: Update expected results.
567 * gdb.fortran/nested-funcs-2.exp: New file.
568 * gdb.fortran/nested-funcs-2.f90: New file.
569
082cce05
AB
5702019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
571
572 * gdb.python/py-parameter.exp: Make test names unique.
573 * gdb.python/py-template.exp: Likewise.
574 * gdb.python/py-value.exp: Likewise.
575
2b74ba5a
AB
5762019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
577
578 * gdb.base/break-interp.exp: Reduce test name duplication.
579 * gdb.base/call-sc.exp: Likewise.
580 * gdb.base/callfuncs.exp: Likewise.
581 * gdb.base/charset.exp: Likewise.
582 * gdb.base/dump.exp: Likewise.
583 * gdb.base/ena-dis-br.exp: Likewise.
584 * gdb.base/relational.exp: Likewise.
585 * gdb.base/step-over-syscall.exp: Likewise.
586 * gdb.base/structs.exp: Likewise.
587
58eb20d5
AB
5882019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
589
590 * gdb.linespec/explicit.exp: Make test names unique.
591 * gdb.linespec/ls-errs.exp: Likewise.
592
4d421147
AB
5932019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
594
595 * gdb.reverse/break-precsave.exp: Make test names unique.
596 * gdb.reverse/break-reverse.exp: Likewise.
597 * gdb.reverse/finish-precsave.exp: Likewise.
598 * gdb.reverse/finish-reverse.exp: Likewise.
599 * gdb.reverse/machinestate-precsave.exp: Likewise.
600 * gdb.reverse/machinestate.exp: Likewise.
601 * gdb.reverse/readv-reverse.exp: Likewise.
602 * gdb.reverse/recvmsg-reverse.exp: Likewise.
603 * gdb.reverse/sigall-precsave.exp: Likewise.
604 * gdb.reverse/sigall-reverse.exp: Likewise.
605 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
606 * gdb.reverse/watch-precsave.exp: Likewise.
607 * gdb.reverse/watch-reverse.exp: Likewise.
608
d8c06f22
AB
6092019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
610
611 * gdb.threads/stop-with-handle.c: New file.
612 * gdb.threads/stop-with-handle.exp: New file.
613
3a56ed86
TV
6142019-10-03 Tom de Vries <tdevries@suse.de>
615
616 PR testsuite/25059
617 * gdb.base/list-missing-source.exp: Allowing the "Compilation
618 directory" line to be missing.
619
42275044
TV
6202019-10-03 Tom de Vries <tdevries@suse.de>
621
622 PR testsuite/25059
623 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
624 type optional.
625
9ef62df0
AA
6262019-10-02 Andreas Arnez <arnez@linux.ibm.com>
627
628 * gdb.python/py-format-string.c (string.h): New include.
629 (main): Fill a_struct_with_union.the_union.an_int with bytes of
630 the same value, for endianness-independence.
631 * gdb.python/py-format-string.exp (default_regexp_dict)
632 (test_pretty_structs, test_format): Adjust expected output to the
633 changed initialization.
634
37f6a7f4
TT
6352019-10-02 Tom Tromey <tromey@adacore.com>
636
637 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
638
1d58d6a2
PA
6392019-10-02 Pedro Alves <palves@redhat.com>
640 Andrew Burgess <andrew.burgess@embecosm.com>
641
642 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
643 "print-file-var.h".
644 (this_version_id) Use ATTRIBUTE_VISIBILITY.
645 (get_version_1): Print this_version_id and its address.
646 Add extern "C" wrappers around interface functions.
647 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
648 "print-file-var.h".
649 (this_version_id) Use ATTRIBUTE_VISIBILITY.
650 (get_version_2): Print this_version_id and its address.
651 Add extern "C" wrappers around interface functions.
652 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
653 <stddef.h> and "print-file-var.h".
654 Add extern "C" wrappers around interface functions.
655 [VERSION_ID_MAIN] (this_version_id): Define.
656 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
657 * gdb.base/print-file-var.h: Add some #defines to simplify setting
658 up extern "C" blocks.
659 * gdb.base/print-file-var.exp (test): New, factored out from top
660 level.
661 (top level): Test all combinations of attribute hidden or not,
662 dlopen or not, and this_version_id symbol in main file or not.
663 Compile tests as both C++ and C, make test names unique.
664
d770d56f
TT
6652019-10-01 Tom Tromey <tom@tromey.com>
666
667 * gdb.base/style.exp: Test "show logging filename".
668
7f6aba03
TT
6692019-10-01 Tom Tromey <tom@tromey.com>
670
671 * lib/gdb-utils.exp (style): Handle "metadata" argument.
672 * gdb.base/style.exp: Add metadata style test.
673
14309bb6
TT
6742019-10-01 Tom Tromey <tom@tromey.com>
675
676 * gdb.base/style.exp: Test "pwd".
677
2a3c1174
PA
6782019-10-01 Tom Tromey <tom@tromey.com>
679
680 * gdb.base/style.exp: Update tests.
681
53d666ec
AA
6822019-10-01 Andreas Arnez <arnez@linux.ibm.com>
683
684 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
685 'six' to unsigned.
686 (s1): Initialize fields 'four' and 'six' instead of 'three' and
687 'five'. Use an all-ones bit pattern for each.
688 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
689 to its changed values.
690
4a56a520
TT
6912019-09-30 Tom Tromey <tromey@adacore.com>
692
693 * gdb.rust/traits.rs: Disable all warnings.
694
0df0352a
TV
6952019-09-29 Tom de Vries <tdevries@suse.de>
696
697 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
698
73d9a918
TV
6992019-09-29 Tom de Vries <tdevries@suse.de>
700
701 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
702
060b3ab4
TV
7032019-09-27 Tom de Vries <tdevries@suse.de>
704
705 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
706
68f7d34d
TV
7072019-09-27 Tom de Vries <tdevries@suse.de>
708
709 PR record/23188
710 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
711
5d63b30a
TT
7122019-09-26 Tom Tromey <tromey@adacore.com>
713
714 * gdb.ada/py_taft.exp: New file.
715 * gdb.ada/py_taft/main.adb: New file.
716 * gdb.ada/py_taft/pkg.adb: New file.
717 * gdb.ada/py_taft/pkg.ads: New file.
718
3d435220
TV
7192019-09-24 Tom de Vries <tdevries@suse.de>
720
721 PR gdb/24598
722 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
723
77d03678
TV
7242019-09-22 Tom de Vries <tdevries@suse.de>
725
726 * gdb.base/restore.exp: Allow register variables to be optimized out at
727 -O0.
728
abf516c6
UW
7292019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
730
731 * gdb.arch/spu-info.exp: Remove file.
732 * gdb.arch/spu-info.c: Remove file.
733 * gdb.arch/spu-ls.exp: Remove file.
734 * gdb.arch/spu-ls.c: Remove file.
735
736 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
737 * gdb.asm/spu.inc: Remove file.
738
739 * gdb.base/dump.exp: Remove support for spu*-*-*.
740 * gdb.base/stack-checking.exp: Likewise.
741 * gdb.base/overlays.exp: Likewise.
742 * gdb.base/ovlymgr.c: Likewise.
743 * gdb.base/spu.ld: Remove file.
744
745 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
746 * gdb.cp/cpexprs.exp: Likewise.
747 * gdb.cp/exception.exp: Likewise.
748 * gdb.cp/gdb2495.exp: Likewise.
749 * gdb.cp/mb-templates.exp: Likewise.
750 * gdb.cp/pr9167.exp: Likewise.
751 * gdb.cp/userdef.exp: Likewise.
752
753 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
754
755 * gdb.cell: Remove directory.
756 * lib/cell.exp: Remove file.
757
e452e88f
TV
7582019-09-19 Tom de Vries <tdevries@suse.de>
759
760 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
761
8a625130
TV
7622019-09-19 Tom de Vries <tdevries@suse.de>
763
764 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
765
81dc3ab5
TV
7662019-09-19 Tom de Vries <tdevries@suse.de>
767
768 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
769 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
770 (gdb_target_cmd): ... here.
771 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
772 value 2.
773
b078f3ac
AB
7742019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
775
776 * gdb.base/source-dir.exp: Avoid having directory names in test
777 names.
778
f1b620e9
MG
7792019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
780
781 * gdb.base/source-dir.exp: Add extra test for mapped compilation
782 directory.
783
67f3ed6a
AB
7842019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
785
786 * gdb.base/list-missing-source.exp: New file.
787
d1b70248
TV
7882019-09-14 Tom de Vries <tdevries@suse.de>
789
790 PR teststuite/24599
791 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
792 * lib/ada.exp (gnatmake_version_at_least): New proc.
793
5fabdcd6
AB
7942019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
795
796 * gdb.base/maint.exp: Use exec_has_index_section.
797
aa17805f
AB
7982019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
799
800 * gdb.base/maint.exp: Add test for 'maint info sections'.
801
25e5c209
TV
8022019-09-12 Tom de Vries <tdevries@suse.de>
803
804 * gdb.base/store.exp: Allow register variables to be optimized out at
805 -O0.
806
4993045d
PW
8072019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
808
809 * gdb.ada/rdv_wait.exp: Update to new task names.
810 * gdb.base/task_switch_in_core.exp: Likewise.
811 * gdb.base/info_sources_base.c: Likewise.
812
8a516164
TT
8132019-09-10 Tom Tromey <tromey@adacore.com>
814
815 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
816
aa391654
TT
8172019-09-10 Tom Tromey <tromey@adacore.com>
818
819 * gdb.ada/dgopt.exp: New file.
820 * gdb.ada/dgopt/x.adb: New file.
821
8634b462
TT
8222019-09-08 Tom Tromey <tom@tromey.com>
823
824 * gdb.tui/resize.exp: Remove setup_xfail.
825 * gdb.tui/regs.exp: Remove setup_xfail.
826 * gdb.tui/basic.exp: Remove setup_xfail.
827
736b0f76
DB
8282019-09-06 David Blaikie <dblaikie@gmail.com>
829
830 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
831 * gdb.cp/cplabel.exp: Ditto.
832 * gdb.linespec/ls-errs.exp: Ditto.
833
30331a6c
TV
8342019-09-05 Tom de Vries <tdevries@suse.de>
835
836 * lib/gdb.exp (cmp_file_string): New proc.
837 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
838 runto_main. Verify save breakpoints output.
839
98b0ebab
PW
8402019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
841
842 * gdb.base/info-var.exp: Test info variables without running
843 to main, to avoid expect's buffer overflow.
844
4e962e74
TT
8452019-09-03 Tom Tromey <tromey@adacore.com>
846
847 * gdb.ada/bias.exp: New file.
848 * gdb.ada/bias/bias.adb: New file.
849 * gdb.ada/print_chars.exp: Add regression test.
850 * gdb.ada/print_chars/foo.adb (My_Character): New type.
851 (MC): New variable.
852
2ea1a07a
SL
8532019-08-29 Sandra Loosemore <sandra@codesourcery.com>
854
855 * gdb.base/argv0-symlink.exp: Run only on native target
856 and local host.
857
8077c50d
TV
8582019-08-29 Tom de Vries <tdevries@suse.de>
859
860 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
861 diverse debug info.
862 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
863
48352473
TV
8642019-08-28 Tom de Vries <tdevries@suse.de>
865
866 * gdb.base/info-var.exp: Allow info variables to print info for files
867 other than info-var-f1.c and info-var-f2.c.
868
d8f27c60
AB
8692019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
870
871 * gdb.fortran/info-types.exp: Add module.
872 * gdb.fortran/info-types.f90: Update expected results.
873
1f20c35e
AB
8742019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
875
876 * gdb.fortran/info-types.exp: New file.
877 * gdb.fortran/info-types.f90: New file.
878 * lib/fortran.exp (fortran_character1): New proc.
879
4acfdd20
AB
8802019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
881
882 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
883 functions'. Reindent as needed.
884 * gdb.base/info-var-f1.c: New file.
885 * gdb.base/info-var-f2.c: New file.
886 * gdb.base/info-var.exp: New file.
887 * gdb.base/info-var.h: New file.
888
5c31b358
TV
8892019-08-26 Tom de Vries <tdevries@suse.de>
890
891 PR c++/24852
892 * gdb.cp/no-libstdcxx-probe.exp: New test.
893
b694989f
TV
8942019-08-26 Tom de Vries <tdevries@suse.de>
895
896 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
897 * tests need to be skipped.
898 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
899 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
900 mi_skip_libstdcxx_probe_tests.
901
d9c4ba53
SDJ
9022019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
903
904 * gdb.python/py-xmethods.exp: Use raw strings when passing
905 arguments to SimpleXMethodMatcher.
906
395fad09
TV
9072019-08-22 Tom de Vries <tdevries@suse.de>
908
909 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
910 more informative.
911
26c957f1
PA
9122019-08-21 Pedro Alves <palves@redhat.com>
913
914 * gdb.base/with.exp: Test "with" with no arguments.
915
61f80d5d
TV
9162019-08-21 Tom de Vries <tdevries@suse.de>
917
918 * gdb.base/gdb-caching-proc.exp: Sort files.
919
d7a11d13
TV
9202019-08-20 Tom de Vries <tdevries@suse.de>
921
922 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
923 compilation.
924
34dafe9f
TV
9252019-08-16 Tom de Vries <tdevries@suse.de>
926
927 * gdb.base/compare-sections.exp ("after run to main"): Allow
928 mismatched read-only sections for PIE executables.
929
398fdd60
TT
9302019-08-16 Tom Tromey <tom@tromey.com>
931
932 * lib/tuiterm.exp (_csi_Z): New proc.
933 * gdb.tui/basic.exp: Update window positions.
934 * gdb.tui/empty.exp: Update window positions.
935
d8f9e51c
SL
9362019-08-15 Sandra Loosemore <sandra@codesourcery.com>
937
938 * gdb.base/examine-backward.exp: Correct regexp for
939 "examine 3 bytes backward from ${address_zero}".
940
3df505f6
TT
9412019-08-15 Tom Tromey <tom@tromey.com>
942
943 * gdb.tui/empty.exp: Enable resizing tests.
944
272560b5
TT
9452019-08-15 Tom Tromey <tromey@adacore.com>
946
947 * gdb.ada/char_enum.exp: Add regression tests.
948 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
949 and '0'.
950 (Char, Gchar): Update.
951 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
952
08235187
CB
9532019-08-15 Christian Biesinger <cbiesinger@google.com>
954
955 * gdb.python/python.exp: Expect a leading underscore on
956 GdbOutput{,Error}File.
957
22a2ab04
SL
9582019-08-15 Sandra Loosemore <sandra@codesourcery.com>
959
960 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
961 Windows host.
962
835b995b
SL
9632019-08-15 Sandra Loosemore <sandra@codesourcery.com>
964
965 * gdb.base/batch-preserve-term-settings.exp
966 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
967
97dd8e07
CB
9682019-08-15 Christian Biesinger <cbiesinger@google.com>
969
970 * lib/gdb.exp: When running on a mingw target, replace
971 /x/ with x:/.
972
75faf5c4
AH
9732019-08-14 Alan Hayward <alan.hayward@arm.com>
974
975 * gdb.arch/aarch64-prologue.c: New test.
976 * gdb.arch/aarch64-prologue.exp: New file.
977
abc6c00f
TV
9782019-08-13 Tom de Vries <tdevries@suse.de>
979
980 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
981 Thread.
982
74c2c1f4
SL
9832019-08-13 Sandra Loosemore <sandra@codesourcery.com>
984
985 * gdb.python/py-completion.exp: Download the .py file to the host
986 and use its host pathname. Conditionalize tests that use
987 tab completion and manipulate files on the build machine.
988 * gdb.python/py-events.exp: Download the .py file to the host
989 and use its host pathname.
990 * gdb.python/py-evsignal.exp: Likewise.
991 * gdb.python/py-evthreads.exp: Likewise.
992 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
993 pathname syntax.
994 * gdb.python/py-framefilter.exp: Download the .py file to the right
995 place on the host. Match Windows pathname syntax.
996 * gdb.python/py-mi-var-info-path-expression.exp: Download the
997 .py file to the host and use its host pathname.
998 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
999 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1000 build pathname. Skip symlink test on Windows host. Add missing
1001 newline at end of file.
1002 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1003 and use its host pathname.
1004 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1005 * gdb.python/py-section-script.exp: Use host location of binfile
1006 on safe-path. Use correct path separator on Windows host.
1007 Reorder alternatives in gdb_test_multiple to prevent matching
1008 the wrong alternative on success.
1009 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1010
ca2589f3
PP
10112019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1012
1013 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1014 expect the GDB inferior to no longer immediately stop after
1015 being resumed with "signal SIGINT".
1016
020a839d
SL
10172019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1018
1019 * gdb.linespec/break-ask.exp: Generalize regexps to match
1020 Windows pathnames too.
1021
128d6509
TV
10222019-08-08 Tom de Vries <tdevries@suse.de>
1023
1024 PR testsuite/24862
1025 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1026
590042fc
PW
10272019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1028
1029 * gdb.base/style.exp: Update tests for help doc new invariants.
1030 * gdb.base/help.exp: Likewise.
1031
046bebe1
TT
10322019-08-06 Tom Tromey <tom@tromey.com>
1033
1034 * gdb.base/style.exp: Add disassemble test.
1035 * gdb.base/style.c (some_called_function): New function.
1036 (main): Use it.
1037
0b27c27d
CB
10382019-08-05 Christian Biesinger <cbiesinger@google.com>
1039
1040 * gdb.python/py-block.exp: Test dictionary access on blocks.
1041
580f1034
SM
10422019-08-05 Simon Marchi <simon.marchi@efficios.com>
1043
1044 PR gdb/24863
1045 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1046 -list-thread-groups --available test when running under
1047 check-read1.
1048
d86bd7cb
TV
10492019-08-05 Tom de Vries <tdevries@suse.de>
1050
1051 PR testsuite/24863
1052 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1053 * gdb.base/help.exp: Use with_read1_timeout_factor.
1054 * gdb.base/info-macros.exp: Same.
1055 * gdb.cp/nested-types.exp: Same.
1056
a80cf5d8
TV
10572019-08-05 Tom de Vries <tdevries@suse.de>
1058
1059 * lib/gdb.exp (version_at_least): Factor out of ...
1060 (tcl_version_at_least): ... here.
1061 (gdb_compile): Fail if pie results in non-PIE executable.
1062 (readelf_version, readelf_prints_pie): New proc.
1063 (exec_is_pie): Return -1 if unknown.
1064
d0962838
TV
10652019-08-05 Tom de Vries <tdevries@suse.de>
1066
1067 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1068
2252ff3d
SL
10692019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1070
1071 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1072
26655f53
SL
10732019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1074
1075 * lib/completion-support.exp (test_gdb_complete_none): Skip
1076 tab completion tests if no readline support.
1077 (test_gdb_complete_unique_re): Likewise.
1078 (test_gdb_complete_multiple): Likewise.
1079
db4dc13e
PW
10802019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1081
1082 * gdb.base/info_sources.exp: New file.
1083 * gdb.base/info_sources.c: New file.
1084 * gdb.base/info_sources_base.c: New file.
1085
0eba165a
PFC
10862019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1087
1088 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1089 prefix argument.
1090 (test_exit_status): Add prefix argument.
1091
59bd512b
TV
10922019-08-01 Tom de Vries <tdevries@suse.de>
1093
1094 PR testsuite/24863
1095 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1096 calling exp_continue for new thread and thread exited messages.
1097
2a3ad588
TV
10982019-08-01 Tom de Vries <tdevries@suse.de>
1099
1100 PR testsuite/24863
1101 * gdb.base/structs.exp: Fix check-read1 timeout using
1102 gdb_test_sequence.
1103 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1104
117eb594
TV
11052019-08-01 Tom de Vries <tdevries@suse.de>
1106
1107 PR testsuite/24863
1108 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1109 line.
1110
ed591340
TV
11112019-08-01 Tom de Vries <tdevries@suse.de>
1112
1113 PR testsuite/24863
1114 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1115
aa3b6533
TT
11162019-07-30 Tom Tromey <tromey@adacore.com>
1117
1118 * gdb.ada/display_nested.exp: New file.
1119 * gdb.ada/display_nested/foo.adb: New file.
1120 * gdb.ada/display_nested/pack.adb: New file.
1121 * gdb.ada/display_nested/pack.ads: New file.
1122
2906593f
CB
11232019-07-30 Christian Biesinger <cbiesinger@google.com>
1124
1125 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1126 namespace.
1127 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1128
0f575925
TV
11292019-07-30 Tom de Vries <tdevries@suse.de>
1130
1131 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1132 instead.
1133
b13057d9
TV
11342019-07-30 Tom de Vries <tdevries@suse.de>
1135
1136 PR testsuite/24834
1137 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1138 (exec_is_pie): New proc.
1139
5c4dde85
CB
11402019-07-29 Christian Biesinger <cbiesinger@google.com>
1141
1142 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1143
c620ed88
CB
11442019-07-29 Christian Biesinger <cbiesinger@google.com>
1145
1146 * gdb.python/py-objfile.c: Add global and static vars.
1147 * gdb.python/py-objfile.exp: Test new functions Objfile.
1148 lookup_global_symbol and lookup_static_symbol.
1149
3d235706
TT
11502019-07-29 Tom Tromey <tom@tromey.com>
1151
1152 * lib/tuiterm.exp (Term::_csi_@): New proc.
1153 (Term::_csi_X): Don't move cursor.
1154
c7e4c0a6
PW
11552019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1156
1157 * gdb.base/options.exp: Update backtrace - completion to
1158 new option -frame-info.
1159 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1160 Test new 'set print frame-info'. Test backtrace -frame-info
1161 overriding 'set print frame-info'.
1162 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1163 Test new 'set print frame-info'.
1164 Verify consistency of backtrace with and without filters, with and
1165 without -no-filters.
1166 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1167 default.
1168
de28a3b7
TV
11692019-07-29 Tom de Vries <tdevries@suse.de>
1170
1171 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1172 no arguments".
1173
507dd60e
TV
11742019-07-29 Tom de Vries <tdevries@suse.de>
1175
1176 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1177 is a substring of the first for "complete non-unique file name".
1178
5beafce9
TV
11792019-07-29 Tom de Vries <tdevries@suse.de>
1180
1181 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1182 with ".*".
1183
2d274232
TV
11842019-07-29 Tom de Vries <tdevries@suse.de>
1185
1186 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1187 Pass prompt_regexp parameter to gdb_test_multiple calls.
1188
9197cd8b
TV
11892019-07-29 Tom de Vries <tdevries@suse.de>
1190
1191 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1192 print registers" regexps.
1193
b528dae0
TV
11942019-07-29 Tom de Vries <tdevries@suse.de>
1195
1196 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1197
d17725d7
TV
11982019-07-29 Tom de Vries <tdevries@suse.de>
1199
1200 PR gdb/24855
1201 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1202 (skip_python_tests_prompt): Add prompt_regexp argument to
1203 gdb_test_multiple calls.
1204
52b75bf1
TT
12052019-07-27 Tom Tromey <tom@tromey.com>
1206
1207 * gdb.tui/main.exp: New file.
1208
2b1d00c2
TT
12092019-07-27 Tom Tromey <tom@tromey.com>
1210
1211 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1212 optional.
1213 * gdb.tui/empty.exp: New file.
1214
ded631d5
TT
12152019-07-27 Tom Tromey <tom@tromey.com>
1216
1217 * lib/tuiterm.exp (spawn): New proc.
1218 (Term::resize): New proc.
1219 * gdb.tui/resize.exp: New file.
1220
58ac439d
TT
12212019-07-27 Tom Tromey <tom@tromey.com>
1222
1223 * gdb.tui/list.exp: New file.
1224
fe1f56ee
TT
12252019-07-27 Tom Tromey <tom@tromey.com>
1226
1227 * gdb.tui/regs.exp: New file.
1228
f790b310
TT
12292019-07-27 Tom Tromey <tom@tromey.com>
1230
1231 * gdb.tui/basic.exp: Add "layout split" test.
1232
d95fc6ee
TT
12332019-07-27 Tom Tromey <tom@tromey.com>
1234
1235 * gdb.tui/basic.exp: Add "layout asm" test.
1236
c3786b3a
TT
12372019-07-27 Tom Tromey <tom@tromey.com>
1238
1239 * lib/tuiterm.exp: New file.
1240 * gdb.tui/basic.exp: New file.
1241
98a617f8
KB
12422019-07-27 Kevin Buettner <kevinb@redhat.com>
1243
1244 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1245 Enable tests associated with this flag. Adjust regex
1246 referencing "foo_low" to now refer to "foo_cold" instead.
1247
5c076da4
KB
12482019-07-27 Kevin Buettner <kevinb@redhat.com>
1249
1250 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1251 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1252 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1253 foo_cold. Revise comments to match.
1254 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1255 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1256 were wrapped into this proc; Call do_test in loop from outermost
1257 level.
1258 (foo_low): Rename all occurrences to "foo_cold".
1259 (backtrace from baz): New test.
1260 (x2/i foo_cold): New test.
1261 (info line *foo_cold): New test.
1262
1512d3b7
TV
12632019-07-26 Tom de Vries <tdevries@suse.de>
1264
1265 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1266
297989a1
TV
12672019-07-25 Tom de Vries <tdevries@suse.de>
1268
1269 PR testsuite/24830
1270 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1271 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1272 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1273 (skip_libstdcxx_probe_tests): ... here.
1274 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1275
b3b965fb
TV
12762019-07-24 Tom de Vries <tdevries@suse.de>
1277
1278 PR testsuite/24807
1279 * gdb.objc/basicclass.m: Include stdio.h.
1280 * gdb.objc/nondebug.m: Same.
1281 * gdb.objc/objcdecode.m: Same.
1282
4625b4d0
TV
12832019-07-24 Tom de Vries <tdevries@suse.de>
1284
1285 PR testsuite/24612
1286 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1287 additional_flags.
1288
024a5840
TV
12892019-07-24 Tom de Vries <tdevries@suse.de>
1290
1291 PR testsuite/24831
1292 * gdb.multi/tids.exp: Update error messages for info threads.
1293
c76ddaa3
TV
12942019-07-24 Tom de Vries <tdevries@suse.de>
1295
1296 * gdb.base/info-types.exp: Allow info types to print info for more than
1297 one file.
1298
9a618ef6
TV
12992019-07-23 Tom de Vries <tdevries@suse.de>
1300
1301 PR testsuite/24842
1302 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1303 gdb_spawn_with_cmdline_opts.
1304
40eadf04
SP
13052019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1306
1307 * gdb.arch/arm-cmse-sgstubs.c: New test.
1308 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1309
5ba29434
TV
13102019-07-23 Tom de Vries <tdevries@suse.de>
1311
1312 PR testsuite/24711
1313 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1314 issuing next command.
1315
a8e9d247
AB
13162019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1317
1318 * gdb.ada/info_auto_lang.exp: Update expected results.
1319 * gdb.base/info-types.c: Add additional types to check.
1320 * gdb.base/info-types.exp: Update expected results.
1321
eb86c5e2
AB
13222019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1323
1324 * gdb.base/info-types.c: New file.
1325 * gdb.base/info-types.exp: New file.
1326
01e175fe
AB
13272019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1328
1329 * gdb.arch/riscv-bp-infcall.c: New file.
1330 * gdb.arch/riscv-bp-infcall.exp: New file.
1331
6b78c3f8
AB
13322019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1333
1334 PR breakpoints/24541
1335 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1336
da738167
TV
13372019-07-14 Tom de Vries <tdevries@suse.de>
1338
1339 PR testsuite/24760
1340 * gdb.objc/basicclass.exp: Fix unterminated string.
1341
0d4e84ed
AB
13422019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1343 Andrew Burgess <andrew.burgess@embecosm.com>
1344
1345 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1346 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1347 negative bounds.
1348 * gdb.fortran/vla-value.exp: Print elements of an array with
1349 negative bounds.
1350 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1351 testing.
1352
021d8588
AB
13532019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1354
1355 * gdb.base/options.exp (expect_string): Dequote strings in
1356 results.
1357 (test-string): Test strings with different quoting and reindent.
1358
f06f1252
TT
13592019-07-10 Tom Tromey <tromey@adacore.com>
1360
1361 * gdb.ada/mi_ex_cond.exp: Update expected results.
1362 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1363 * gdb.ada/mi_catch_ex.exp: Update expected results.
1364 * gdb.ada/mi_catch_assert.exp: Update expected results.
1365 * gdb.ada/catch_ex.exp (catch_exception_info)
1366 (catch_exception_entry, catch_assert_entry)
1367 (catch_unhandled_entry): Update.
1368 * gdb.ada/catch_assert_if.exp: Update expected results.
1369
b863685d
RB
13702019-07-10 Richard Bunt <richard.bunt@arm.com>
1371 Stephen Roberts <stephen.roberts@arm.com>
1372
1373 * gdb.base/define.exp: Restore original prompt.
1374
cb1e4e32
PA
13752019-07-09 Pedro Alves <palves@redhat.com>
1376
1377 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1378 breakpoints" output.
1379 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1380 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1381 throw" creates breakpoint.
1382 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1383 'type="catchpoint"'.
1384
b58a68fe
PA
13852019-07-09 Pedro Alves <palves@redhat.com>
1386
1387 PR c++/15468
1388 * gdb.cp/except-multi-location-lib.cc: New.
1389 * gdb.cp/except-multi-location-main.cc: New.
1390 * gdb.cp/except-multi-location.exp: New.
1391
0826779b
PW
13922019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1393
1394 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1395 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1396 argument and update callers.
1397
5b0e2db4
AB
13982019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1399
1400 * gdb.arch/amd64-break-on-asm-line.S: New file.
1401 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1402
1f6f6e21
PW
14032019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1404
1405 * gdb.base/printcmds.exp: Test printing C string and
1406 C wide string convenience vars without transiting via the inferior.
1407 Also make test names unique.
1408
ea142fbf
AH
14092019-07-08 Alan Hayward <alan.hayward@arm.com>
1410
5862c886 1411 PR breakpoints/25011
ea142fbf
AH
1412 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1413
213fd9fa
PA
14142019-07-04 Pedro Alves <palves@redhat.com>
1415
1416 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1417 body returned ok(0), break(3) or continue(4).
1418 * gdb.testsuite/foreach_with_prefix.exp: New file.
1419
2b40fda7
AH
14202019-07-04 Alan Hayward <alan.hayward@arm.com>
1421
1422 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1423
a26c8de0
PA
14242019-07-03 Pedro Alves <palves@redhat.com>
1425
1426 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1427 "return -code".
1428
5f4ba3e7
PA
14292019-07-03 Pedro Alves <palves@redhat.com>
1430
1431 PR cli/24732
1432 * gdb.base/shell.exp: Load completion-support.exp.
1433 Adjust expected error output. Add completion tests.
1434
a994424f
PA
14352019-07-03 Pedro Alves <palves@redhat.com>
1436
1437 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1438 string_to_regexp.
1439
3d9be6f5
PA
14402019-07-03 Pedro Alves <palves@redhat.com>
1441
1442 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1443 (expect_integer): Adjust to expect "-string".
1444 (expect_string): New.
1445 (all_options): Expect "-string".
1446 (test-flag, test-boolean): Adjust to expect "-string".
1447 (test-string): New proc.
1448 (top level): Call it.
1449
41fc454c
PA
14502019-07-03 Pedro Alves <palves@redhat.com>
1451
1452 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1453 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1454 the expected output in the success.
1455
b2b2a215
PA
14562019-07-03 Pedro Alves <palves@redhat.com>
1457
1458 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1459 Split one gdb_test_multiple call in two to avoid a race.
1460
fdbc9870
PA
14612019-07-03 Pedro Alves <palves@redhat.com>
1462
1463 * gdb.base/with.c: New file.
1464 * gdb.base/with.exp: New file.
1465
c6ac8931
PA
14662019-07-03 Pedro Alves <palves@redhat.com>
1467
1468 * gdb.base/settings.exp: Replace all references to "maint
1469 test-settings set" with references to "maint set test-settings",
1470 and all references to "maint test-settings show" with references
1471 to "maint show test-settings".
1472
970f9d09
PA
14732019-07-03 Pedro Alves <palves@redhat.com>
1474
1475 * gdb.base/settings.exp (test-string): Adjust expected out when
1476 testing "maint test-settings show filename"
1477
54d66006
PA
14782019-07-02 Pedro Alves <palves@redhat.com>
1479
1480 * gdb.base/options.exp (test-info-threads): New procedure.
1481 (top level): Call it.
1482
10d06d82
TT
14832019-06-28 Tom Tromey <tromey@adacore.com>
1484
1485 * gdb.dwarf2/ada-linkage-name.c: New file.
1486 * gdb.dwarf2/ada-linkage-name.exp: New file.
1487
3d507ff2
TT
14882019-06-27 Tom Tromey <tromey@adacore.com>
1489
d039f014 1490 PR c++/20020:
3d507ff2
TT
1491 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1492
8af58ffe
TV
14932019-06-26 Tom de Vries <tdevries@suse.de>
1494
1495 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1496
22e21752
TV
14972019-06-26 Tom de Vries <tdevries@suse.de>
1498
1499 * gdb.base/index-cache.exp: Add back missing debug option.
1500
b65b566c
PW
15012019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1502
1503 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1504
5c2c8c69
TV
15052019-06-25 Tom de Vries <tdevries@suse.de>
1506
1507 PR testsuite/24727
1508 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1509
164e3873
TV
15102019-06-24 Tom de Vries <tdevries@suse.de>
1511
1512 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1513
824eacee
TV
15142019-06-24 Tom de Vries <tdevries@suse.de>
1515
1516 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1517 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1518 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1519
385b97d3
TV
15202019-06-24 Tom de Vries <tdevries@suse.de>
1521
1522 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1523
c596f180
TV
15242019-06-21 Tom de Vries <tdevries@suse.de>
1525
1526 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1527
b13a7d03
TV
15282019-06-21 Tom de Vries <tdevries@suse.de>
1529
1530 PR testsuite/24518
1531 PR ada/24713
1532 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1533 index.
1534
899277ae
TT
15352019-06-19 Tom Tromey <tromey@adacore.com>
1536
1537 * gdb.ada/length_cond.exp: Add intro comment.
1538
680e1bee
TT
15392019-06-19 Tom Tromey <tromey@adacore.com>
1540
1541 * gdb.ada/length_cond.exp: New file.
1542 * gdb.ada/length_cond/length_cond.adb: New file.
1543 * gdb.ada/length_cond/pck.adb: New file.
1544 * gdb.ada/length_cond/pck.ads: New file.
1545
0ed4690a
TV
15462019-06-18 Tom de Vries <tdevries@suse.de>
1547
1548 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1549
d20ed5fd
TT
15502019-06-18 Tom Tromey <tromey@adacore.com>
1551
1552 * gdb.base/list0.h: Add comment explaining control character.
1553
86e04673
TV
15542019-06-18 Tom de Vries <tdevries@suse.de>
1555
1556 * boards/fission.exp: Break up long debug_flags line.
1557
c4973306
SM
15582019-06-16 Tom de Vries <tdevries@suse.de>
1559
1560 PR gdb/24445
1561 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1562 generated index.
1563
93cb9841
AB
15642019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1565
1566 PR gdb/24686
1567 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1568 improve detection of bug gdb/24541.
1569
399aaebd
SM
15702019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1571
1572 PR gdb/24669
1573 * gdb.base/index-cache.exp (uses_readnow,
1574 expecting_index_cache_use): Define global variable.
1575 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1576 expecting_index_cache_use.
1577
584a927c
AB
15782019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1579 Andrew Burgess <andrew.burgess@embecosm.com>
1580
1581 * gdb.fortran/pointers.f90: New file.
1582 * gdb.fortran/print_type.exp: New file.
1583 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1584 * gdb.fortran/vla-type.exp: Likewise.
1585 * gdb.fortran/vla-value.exp: Likewise.
1586 * gdb.mi/mi-vla-fortran.exp: Likewise.
1587
30056ea0
AB
15882019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1589
1590 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1591 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1592 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1593 as a stop reason.
1594
ec8e2b6d
AB
15952019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1596
1597 * gdb.base/annota1.exp: Update expected results.
1598 * gdb.cp/annota2.exp: Likewise.
1599 * gdb.cp/annota3.exp: Likewise.
1600
09e4c4e1
AB
16012019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1602
1603 * gdb.base/style-logging.exp: Remove path from test name.
1604
0735b091
TT
16052019-06-14 Tom Tromey <tromey@adacore.com>
1606
1607 PR gdb/24502:
1608 * gdb.base/style-logging.exp: New file.
1609
f5686554
TT
16102019-06-14 Tom Tromey <tromey@adacore.com>
1611
1612 * gdb.base/symfile-warn.exp: New file.
1613 * gdb.base/symfile-warn.c: New file.
1614
a0c1ffed
TT
16152019-06-14 Tom Tromey <tromey@adacore.com>
1616
1617 * gdb.base/annotate-symlink.exp: New file.
1618
f411722c
TT
16192019-06-14 Tom Tromey <tromey@adacore.com>
1620
1621 * gdb.ada/set_wstr.exp: Add reassignment test.
1622
4268ec18
TT
16232019-06-14 Tom Tromey <tromey@adacore.com>
1624
1625 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1626 'unchecked_access and 'unrestricted_access as well.
1627
9a9e394b
TT
16282019-06-14 Tom Tromey <tromey@adacore.com>
1629
1630 PR ada/24539:
1631 * gdb.ada/vla.exp: Update tests.
1632 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1633 pragma.
1634
4c048731
PA
16352019-06-13 Pedro Alves <palves@redhat.com>
1636
1637 * gdb.base/settings.exp (test-integer): Test junk after
1638 "unlimited".
1639
6665660a
PA
16402019-06-13 Pedro Alves <palves@redhat.com>
1641
1642 * gdb.base/options.exp (test-thread-apply): New.
1643 (top level): Call it.
1644
5d707134
PA
16452019-06-13 Pedro Alves <palves@redhat.com>
1646
1647 * gdb.base/options.exp (test-frame-apply): New.
1648 (top level): Test print commands with different "frame apply"
1649 prefixes.
1650
e2a689da
PA
16512019-06-13 Pedro Alves <palves@redhat.com>
1652
e79be6e5 1653 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
1654 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1655 'max_completions' parameter and handle it.
1656 (test_gdb_completion_offers_commands): New.
1657
90a1ef87
PA
16582019-06-13 Pedro Alves <palves@redhat.com>
1659
1660 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1661
d4c16835
PA
16622019-06-13 Pedro Alves <palves@redhat.com>
1663
1664 * gdb.base/options.exp (test-backtrace): New.
1665 (top level): Call it.
1666
2daf894e
PA
16672019-06-13 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.guile/scm-frame-args.exp: Use "set print
1670 raw-frame-arguments" instead of "set print raw frame-arguments".
1671 * gdb.python/py-frame-args.exp: Likewise.
1672
e6ed716c
PA
16732019-06-13 Pedro Alves <palves@redhat.com>
1674
1675 * gdb.compile/compile.exp: Adjust expected output to option
1676 processing changes.
1677
7d8062de
PA
16782019-06-13 Pedro Alves <palves@redhat.com>
1679
1680 * gdb.base/options.exp: Build executable.
1681 (test-print): New procedure.
1682 (top level): Call it, once for "print" and another for "compile
1683 print".
1684
9d0faba9
PA
16852019-06-13 Pedro Alves <palves@redhat.com>
1686
1687 * gdb.base/options.c: New file.
1688 * gdb.base/options.exp: New file.
1689
dee7b4c8
PA
16902019-06-13 Pedro Alves <palves@redhat.com>
1691
1692 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1693 that "o" is ambiguous.
1694
dca0f6c0
PA
16952019-06-13 Pedro Alves <palves@redhat.com>
1696
1697 * gdb.base/settings.c: New file.
1698 * gdb.base/settings.exp: New file.
1699
ccf46844
PA
17002019-06-13 Pedro Alves <palves@redhat.com>
1701
1702 * gdb.base/completion.exp: Fix comment typo.
1703
b9a3f842
PA
17042019-06-13 Pedro Alves <palves@redhat.com>
1705
1706 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1707 foo --1" test.
1708
d106773e
PA
17092019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1710
1711 * gdb.fortran/block-data.f: New.
1712 * gdb.fortran/block-data.exp: New.
1713
fea82da0
TV
17142019-06-11 Tom de Vries <tdevries@suse.de>
1715
1716 PR testsuite/24521
1717 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1718 message.
1719
8c2e74f1
TV
17202019-06-11 Tom de Vries <tdevries@suse.de>
1721
1722 PR testsuite/24521
1723 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1724
b49851c8
TV
17252019-06-11 Tom de Vries <tdevries@suse.de>
1726
1727 * boards/readnow.exp: New file.
1728
a7067863
AB
17292019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1730
1731 * gdb.fortran/vla-sizeof.exp: Update expected results.
1732
1a3da2cd
AB
17332019-06-06 Amos Bird <amosbird@gmail.com>
1734
1735 * gdb.base/annota1.exp (thread_switch): Add test for
1736 thread-exited annotation.
1737
3847a7bf
TT
17382019-06-06 Tom Tromey <tromey@adacore.com>
1739
1740 * gdb.base/maint.exp: Expect command started/finished output.
1741
0088ba59
AB
17422019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1743
1744 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1745 comment.
1746 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1747
312617a3
AB
17482019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1749
1750 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1751 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1752 * gdb.arch/riscv-unwind-long-insn.c: New file.
1753 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1754
e1f2e1a2
CB
17552019-06-04 Christian Biesinger <cbiesinger@google.com>
1756
d3238f7d 1757 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 1758
206584bd
PW
17592019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1760
1761 * lib/gdb.exp (help_list_trailer): New regexp variable
1762 factorizing the help trailer message.
1763 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1764 arg to allow to better factorize various tests.
1765 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1766 (test_prefix_command_help): Use help_list_trailer.
1767 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1768 * gdb.guile/scm-cmd.exp: Likewise.
1769 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1770 * gdb.base/help.exp: Use test_user_defined_class_help.
1771 * gdb.base/style.exp: Add tests for styling of help and apropos.
1772 * lib/gdb-utils.exp (style): Add title and highlight styles.
1773
708dc93e
PW
17742019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1775
1776 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1777 $_shell_exitsignal.
1778 * gdb.base/default.exp: Update for new convenience variables.
1779
f49055a5
TT
17802019-05-29 Tom Tromey <tromey@adacore.com>
1781
1782 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1783 to "break complete ada" test case's regexp.
1784
4330d61d
TT
17852019-05-29 Tom Tromey <tromey@adacore.com>
1786
1787 PR c++/20020:
1788 * gdb.cp/constexpr-field.exp: New file.
1789 * gdb.cp/constexpr-field.cc: New file.
1790
000439d5
TT
17912019-05-29 Tom Tromey <tromey@adacore.com>
1792
1793 * gdb.base/finish.exp (finish_no_print): New proc.
1794 (finish_tests): Call it.
1795
5a01c34c
TV
17962019-05-24 Tom de Vries <tdevries@suse.de>
1797
1798 * gdb.dwarf2/gdb-add-index.exp: New file.
1799
18125b16
TT
18002019-05-22 Tom Tromey <tromey@adacore.com>
1801
1802 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1803 * gdb.base/style.exp: Use "style".
1804 * lib/gdb-utils.exp (style): New proc.
1805
af1a8d03
TV
18062019-05-22 Tom de Vries <tdevries@suse.de>
1807
1808 * gdb.base/align.exp: Require c++11.
1809
e7fe496b
TV
18102019-05-22 Tom de Vries <tdevries@suse.de>
1811
1812 PR testsuite/24586
1813 * gdb.python/py-mi-var-info-path-expression.exp: Call
1814 mi_skip_python_tests to check if python is supported.
1815
8fca4da0
AH
18162019-05-22 Alan Hayward <alan.hayward@arm.com>
1817
1818 * gdb.arch/aarch64-pauth.c: New test.
1819 * gdb.arch/aarch64-pauth.exp: New file.
1820
b7060614
AH
18212019-05-22 Alan Hayward <alan.hayward@arm.com>
1822
1823 * README (Re-running Tests Outside The Testsuite): New section.
1824
669d0468
TV
18252019-05-21 Tom de Vries <tdevries@suse.de>
1826
1827 * gdb.arch/amd64-eval.exp: Require c++11.
1828 * gdb.base/max-depth.exp: Same.
1829 * gdb.compile/compile-cplus-array-decay.exp: Same.
1830 * gdb.cp/meth-typedefs.exp: Same.
1831 * gdb.cp/subtypes.exp: Same.
1832 * gdb.cp/temargs.exp: Same.
1833
ce3ebcaa
AH
18342019-05-21 Alan Hayward <alan.hayward@arm.com>
1835
1836 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1837
34d11c68
AB
18382019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1839
1840 PR gdb/18644
1841 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1842 * gdb.fortran/printing-types.exp: Add new test.
1843 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1844 testing.
1845 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1846 setup_kfail call.
1847
87781e84
AH
18482019-05-17 Alan Hayward <alan.hayward@arm.com>
1849
1850 * README (Running the Testsuite): Change example.
1851 (Testsuite Parameters): Remove TRANSCRIPT.
1852 * lib/gdb.exp: Remove TRANSCRIPT check.
1853
b420b89e
AH
18542019-05-17 Alan Hayward <alan.hayward@arm.com>
1855
1856 * README (Testsuite Parameters): Add replay logging to
1857 GDBSERVER_DEBUG.
1858 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1859 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1860 as a comma separated list.
1861 (gdb_debug_init): Override procedure.
1862
408e9b8b
AH
18632019-05-17 Alan Hayward <alan.hayward@arm.com>
1864
1865 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1866 (gdb_write_cmd_file): New procedure.
1867 * lib/gdbserver-support.exp (gdbserver_start): Call
1868 gdbserver_write_cmd_file.
1869 (gdbserver_write_cmd_file): New procedure.
1870
f9e2e39d
AH
18712019-05-17 Alan Hayward <alan.hayward@arm.com>
1872
1873 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1874 (delete_breakpoints): Likewise.
1875 (gdb_run_cmd): Likewise.
1876 (gdb_start_cmd): Likewise.
1877 (gdb_starti_cmd): Likewise.
1878 (gdb_internal_error_resync): Likewise.
1879 (gdb_test_multiple): Likewise.
1880 (gdb_reinitialize_dir): Likewise.
1881 (default_gdb_exit): Likewise.
1882 (gdb_file_cmd): Mark kill as optional.
1883 (default_gdb_start): Call gdb_stdin_log_init.
1884 (send_gdb): Call gdb_stdin_log_write.
1885 (rerun_to_main): Mark Y as an answer.
1886 (gdb_stdin_log_init): New function.
1887 (gdb_stdin_log_write): Likewise.
1888
81f47ac2
AH
18892019-05-17 Alan Hayward <alan.hayward@arm.com>
1890
1891 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1892 * gdb.base/debug-expr.exp: Likewise.
1893 * gdb.base/foll-fork.exp: Likewise.
1894 * gdb.base/foll-vfork.exp: Likewise.
1895 * gdb.base/fork-print-inferior-events.exp: Likewise.
1896 * gdb.base/gdb-sigterm.exp: Likewise.
1897 * gdb.base/gdbinit-history.exp: Likewise.
1898 * gdb.base/osabi.exp: Likewise.
1899 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1900 * gdb.base/ui-redirect.exp: Likewise.
1901 * gdb.gdb/unittest.exp: Likewise.
1902 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1903 * gdb.mi/mi-watch.exp: Likewise.
1904 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1905 * gdb.mi/user-selected-context-sync.exp: Likewise.
1906 * gdb.python/python.exp: Disable debug test when debugging.
1907 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1908 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1909 Likewise.
1910 * gdb.threads/stepi-random-signal.exp: Likewise.
1911
29b52314
AH
19122019-05-17 Alan Hayward <alan.hayward@arm.com>
1913
1914 * Makefile.in: Pass through GDB_DEBUG.
1915 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
1916 (gdb,debug): Add board setting.
1917 * lib/gdb.exp (default_gdb_start): Start debugging.
1918 (gdb_debug_enabled): New procedure.
1919 (gdb_debug_init): Likewise.
29b52314
AH
1920
19212019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 1922
29b52314
AH
1923 * Makefile.in: Pass through GDB_DEBUG.
1924 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
1925 (gdb,debug): Add board setting.
1926 * lib/gdb.exp (default_gdb_start): Start debugging.
1927 (gdb_debug_enabled): New procedure.
1928 (gdb_debug_init): Likewise.
29b52314 1929
ca1285d1
AH
19302019-05-17 Alan Hayward <alan.hayward@arm.com>
1931
1932 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1933
f3a09c80
AH
19342019-05-17 Alan Hayward <alan.hayward@arm.com>
1935
1936 * gdb.base/ui-redirect.exp: Test redirection.
1937
26648588
JV
19382019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1939
1940 * gdb.mi/mi-complete.exp: New file.
1941 * gdb.mi/mi-complete.cc: Likewise.
1942
14237686
AB
19432019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1944
1945 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1946 indexed and sliced arrays, and pointers to arrays.
1947
e7bd7fba
TT
19482019-05-14 Tom Tromey <tromey@adacore.com>
1949
1950 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1951 styling test.
1952
2764128d
TV
19532019-05-14 Tom de Vries <tdevries@suse.de>
1954
1955 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1956 selection entry encoding.
1957
71bed2db
TT
19582019-05-10 Tom Tromey <tromey@adacore.com>
1959
1960 * gdb.ada/info_exc.exp: Add "complete" test.
1961
63b667ad
TV
19622019-05-09 Tom de Vries <tdevries@suse.de>
1963
1964 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1965 CU-relative.
1966
9cfd2b89
TV
19672019-05-09 Tom de Vries <tdevries@suse.de>
1968
1969 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1970 CU-relative.
1971
2228ef77
XR
19722019-05-08 Joel Brobecker <brobecker@adacore.com>
1973
1974 * gdb.ada/frame_arg_lang.exp: New testcase.
1975 * gdb.ada/frame_arg_lang/bla.adb: New file.
1976 * gdb.ada/frame_arg_lang/pck.ads: New file.
1977 * gdb.ada/frame_arg_lang/pck.adb: New file.
1978 * gdb.ada/frame_arg_lang/foo.c: New file.
1979
80e55b13
TT
19802019-05-08 Tom Tromey <tromey@adacore.com>
1981
1982 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1983
9d3421af
TT
19842019-05-08 Tom Tromey <tromey@adacore.com>
1985
1986 * gdb.base/ptype-offsets.exp: Update tests.
1987
844333e2
TT
19882019-05-08 Tom Tromey <tromey@adacore.com>
1989
1990 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1991 cases.
1992 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1993 "short".
1994
988915ee
TT
19952019-05-08 Tom Tromey <tromey@adacore.com>
1996
1997 * gdb.ada/vla.exp: New file.
1998 * gdb.ada/vla/vla.adb: New file.
1999
7bd55dac
TV
20002019-05-07 Tom de Vries <tdevries@suse.de>
2001
2002 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2003
75f06e9d
TV
20042019-05-07 Tom de Vries <tdevries@suse.de>
2005
2006 PR testsuite/24522
2007 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2008 section.
2009
77e7aaa4
TV
20102019-05-07 Tom de Vries <tdevries@suse.de>
2011
2012 PR testsuite/24522
2013 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2014 .debug_aranges section.
2015
456ba0fa
TV
20162019-05-07 Tom de Vries <tdevries@suse.de>
2017
2018 PR testsuite/24159
2019 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2020
5a56d6a6
TV
20212019-05-06 Tom de Vries <tdevries@suse.de>
2022
2023 * lib/gdb.exp (exec_has_index_section): New proc.
2024 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2025 section.
2026
9d6d4be8
TV
20272019-05-04 Tom de Vries <tdevries@suse.de>
2028
2029 * boards/cc-with-debug-names.exp: New file.
2030
222a8d25
TT
20312019-05-03 Tom Tromey <tromey@adacore.com>
2032
2033 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2034 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2035 * gdb.ada/char_enum.exp: Add test.
2036
0fdfd794
TV
20372019-05-03 Tom de Vries <tdevries@suse.de>
2038
2039 * boards/cc-with-gdb-index.exp: New file.
2040
80062eb9
AB
20412019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2042
2043 * gdb.rust/simple.exp: Add new test case.
2044 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2045 (main): Initialise an instance of the new struct.
2046
4504bbde
TT
20472019-05-01 Tom Tromey <tromey@adacore.com>
2048
2049 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2050 record.
2051 (NPR): New variable.
2052 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2053 test.
2054
d48e62f4
TT
20552019-05-01 Tom Tromey <tromey@adacore.com>
2056
2057 * gdb.ada/packed_array_assign.exp: Add packed assignment
2058 regression test.
2059
f59f30f5
TV
20602019-05-01 Tom de Vries <tdevries@suse.de>
2061
2062 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2063
b70bfc54
TV
20642019-05-01 Tom de Vries <tdevries@suse.de>
2065
2066 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2067
15f18d14
AT
20682019-04-30 Ali Tamur <tamur@google.com>
2069
2070 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2071
2ff0a947
TT
20722019-04-30 Tom Tromey <tromey@adacore.com>
2073
2074 * lib/ada.exp (find_ada_tool): New proc.
2075 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2076 * gdb.ada/catch_ex_std.exp: New file.
2077 * gdb.ada/catch_ex_std/foo.adb: New file.
2078 * gdb.ada/catch_ex_std/some_package.adb: New file.
2079 * gdb.ada/catch_ex_std/some_package.ads: New file.
2080
a776957c
TT
20812019-04-30 Tom Tromey <tromey@adacore.com>
2082
2083 PR c++/24470:
2084 * gdb.cp/temargs.cc: Add test code from PR.
2085
bc68014d
AB
20862019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2087
2088 * gdb.fortran/vla-datatypes.exp: Update expected results.
2089 * gdb.fortran/vla-ptype.exp: Likewise.
2090 * gdb.fortran/vla-type.exp: Likewise.
2091 * gdb.fortran/vla-value.exp: Likewise.
2092
f1fdc960
AB
20932019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2094
2095 * gdb.fortran/ptr-indentation.exp: Update expected results.
2096 * gdb.fortran/ptype-on-functions.exp: Likewise.
2097 * gdb.fortran/vla-ptr-info.exp: Likewise.
2098 * gdb.fortran/vla-value.exp: Likewise.
2099
bf7a4de1
AB
21002019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2101
2102 * gdb.fortran/ptype-on-functions.exp: New file.
2103 * gdb.fortran/ptype-on-functions.f90: New file.
2104
bbe75b9d
AB
21052019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2106
2107 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2108 case void string.
2109
1db455a7
AB
21102019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2111
2112 * gdb.fortran/complex.exp: Expand.
2113 * gdb.fortran/complex.f: Renamed to...
2114 * gdb.fortran/complex.f90: ...this, and extended to add more
2115 complex values.
2116
b6d03bb2
AB
21172019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2118
2119 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2120 MODULO, CMPLX.
2121
2e62ab40
AB
21222019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2123 Richard Bunt <richard.bunt@arm.com>
2124
2125 * gdb.base/max-depth.c: New file.
2126 * gdb.base/max-depth.exp: New file.
2127 * gdb.python/py-nested-maps.c: New file.
2128 * gdb.python/py-nested-maps.exp: New file.
2129 * gdb.python/py-nested-maps.py: New file.
2130 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2131 (test_all_common): Call test_max_depth.
2132 * gdb.fortran/max-depth.exp: New file.
2133 * gdb.fortran/max-depth.f90: New file.
2134 * gdb.go/max-depth.exp: New file.
2135 * gdb.go/max-depth.go: New file.
2136 * gdb.modula2/max-depth.exp: New file.
2137 * gdb.modula2/max-depth.c: New file.
2138 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2139
d2b584a5
TV
21402019-04-29 Tom de Vries <tdevries@suse.de>
2141
2142 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2143
136afab8
PW
21442019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2145
2146 * gdb.base/callexit.exp: Test may-call-functions off.
2147
725cbb63
KS
21482019-04-25 Keith Seitz <keiths@redhat.com>
2149
2150 PR c++/24367
2151 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2152 (another_incomplete_struct, test_incomplete): New definitions.
2153 (main): Use new definitions.
2154 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2155 functions.
2156
82433e3e
SDJ
21572019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2158
2159 PR corefiles/11608
2160 PR corefiles/18187
2161 * gdb.base/coredump-filter-build-id.exp: New file.
2162
dd06d4d6
AH
21632019-04-25 Alan Hayward <alan.hayward@arm.com>
2164
e79be6e5
SM
2165 * Makefile.in: Pass through GDBSERVER_DEBUG.
2166 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2167 (gdbserver,debug): Add board setting.
2168 * gdb.trace/tspeed.exp: Skip when debugging.
2169 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2170 * lib/gdbserver-support.exp: Likewise
dd06d4d6 2171
1670072e
TT
21722019-04-24 Tom Tromey <tromey@adacore.com>
2173
2174 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2175 Rust.
2176
a59240a4
TT
21772019-04-24 Tom Tromey <tromey@adacore.com>
2178
2179 * gdb.arch/amd64-eval.exp: Test bitfield return.
2180 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2181 (class Foo) <return_bitfields>: New method.
2182 (main): Call it.
2183
b907456c
AB
21842019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2185
2186 * gdb.cp/many-args.cc: New file.
2187 * gdb.cp/many-args.exp: New file.
2188
5c565afd
TV
21892019-04-23 Tom de Vries <tdevries@suse.de>
2190
2191 PR gdb/24433
2192 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2193
ba22ff86
AH
21942019-04-23 Alan Hayward <alan.hayward@arm.com>
2195
2196 * gdb.trace/backtrace.exp: Use nopie flag.
2197 * gdb.trace/circ.exp: Likewise.
2198 * gdb.trace/collection.exp: Likewise.
2199 * gdb.trace/ftrace.exp: Likewise.
2200 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2201 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2202 * gdb.trace/qtro.exp: Likewise.
2203 * gdb.trace/read-memory.exp: Likewise.
2204 * gdb.trace/report.exp: Likewise.
2205 * gdb.trace/tfile.exp: Likewise.
2206 * gdb.trace/tfind.exp: Likewise.
2207 * gdb.trace/unavailable.exp: Likewise.
2208
7905fc35
PA
22092019-04-22 Pedro Alves <palves@redhat.com>
2210
2211 * gdb.base/solib-probes-nosharedlibrary.c,
2212 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2213
8ecb59f8
TT
22142019-04-19 Tom Tromey <tromey@adacore.com>
2215
2216 * gdb.ada/ptype_union.c: New file.
2217 * gdb.ada/ptype_union.exp: New file.
2218
62160ec9
TT
22192019-04-19 Tom Tromey <tromey@adacore.com>
2220
2221 PR symtab/24423:
2222 * gdb.base/list0.h (foo): Add a control-l character.
2223
36cd4ba5
TV
22242019-04-18 Tom de Vries <tdevries@suse.de>
2225
2226 PR gdb/24433
2227 * boards/local-board.exp: Set sysroot to "".
2228
b73715df
TV
22292019-04-18 Tom de Vries <tdevries@suse.de>
2230 Pedro Alves <palves@redhat.com>
2231
2232 PR gdb/24454
2233 * gdb.threads/vfork-follow-child-exec.c: New file.
2234 * gdb.threads/vfork-follow-child-exec.exp: New file.
2235 * gdb.threads/vfork-follow-child-exit.c: New file.
2236 * gdb.threads/vfork-follow-child-exit.exp: New file.
2237
4aa866af
LS
22382019-04-15 Leszek Swirski <leszeks@google.com>
2239
2240 * gdb.arch/amd64-eval.cc: New file.
2241 * gdb.arch/amd64-eval.exp: New file.
2242
e5a1a79a
AH
22432019-04-11 Alan Hayward <alan.hayward@arm.com>
2244
2245 * gdb.server/sysroot.c: New test.
2246 * gdb.server/sysroot.exp: New file.
2247 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2248 matching param.
2249
41077b66
AB
22502019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2251
2252 * gdb.base/align.exp: Extend test to cover structures containing
2253 only static fields.
2254
c30391f8
TV
22552019-04-11 Tom de Vries <tdevries@suse.de>
2256
2257 * boards/cc-with-dwz-m.exp: New file.
2258 * boards/cc-with-dwz.exp: New file.
2259 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2260
e242fd12
SM
22612019-04-09 Simon Marchi <simon.marchi@efficios.com>
2262
2263 * gdb.base/start-cpp.exp: New file.
2264 * gdb.base/start-cpp.cc: New file.
2265
2b0c8b01
KB
22662019-04-08 Kevin Buettner <kevinb@redhat.com>
2267
2268 * gdb.python/py-thrhandle.exp: Adjust tests to call
2269 thread_from_handle instead of thread_from_thread_handle.
2270
947210e5
KB
22712019-04-08 Kevin Buettner <kevinb@redhat.com>
2272
2273 * gdb.python/py-thrhandle.exp: Add tests for
2274 gdb.InferiorThread.handle.
2275
d7df6549
AB
22762019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2277
2278 * gdb.python/py-function.exp: Check calling helper function from
2279 all languages.
2280 * lib/gdb.exp (gdb_supported_languages): New proc.
2281
8bdc1658
AB
22822019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2283
2284 * gdb.base/complex-parts.c: New file.
2285 * gdb.base/complex-parts.exp: New file.
2286
05caa1d2
TT
22872019-04-01 Tom Tromey <tromey@adacore.com>
2288
2289 PR symtab/23331:
2290 * gdb.dwarf2/dw2-ranges-main.c: New file.
2291 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2292 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2293
7734102d
EZ
22942019-03-30 Simon Marchi <simark@simark.ca>
2295
2296 * gdb.base/default.exp: Add values for $_gdb_major and
2297 $_gdb_minor.
2298
188e1fa9
TT
22992019-03-29 Tom Tromey <tromey@adacore.com>
2300
2301 * gdb.base/help.exp: Tighten apropos regexp.
2302
2880242d
KS
23032019-03-29 Keith Seitz <keiths@redhat.com>
2304
2305 * gdb.fortran/array-bounds.exp: New file.
2306 * gdb.fortran/array-bounds.f90: New file.
2307
077cad8e
PW
23082019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2309
2310 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2311
80047cfc
PW
23122019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2313
2314 * gdb.multi/hello.c (main): Increase alarm timer.
2315
f489207e
SL
23162019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2317
2318 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2319 factor when no hardware watchpoint support.
2320
c92df149
AH
23212019-03-28 Alan Hayward <alan.hayward@arm.com>
2322 Pedro Alves <palves@redhat.com>
2323
2324 * boards/local-board.exp: set sysroot to /.
2325
933aebfa
AH
23262019-03-27 Alan Hayward <alan.hayward@arm.com>
2327
2328 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2329 in child.
2330
9f9aa852
AB
23312019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2332
2333 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2334 field.
2335 (make_container): Initialise new field.
2336 * gdb.python/py-prettyprint.exp: Add new tests.
2337 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2338 <display_hint>: New method.
2339
3714a195
AB
23402019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2341
2342 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2343 gdb_continue_to_breakpoint more throughout this test.
2344 (run_lang_tests) Supply unique test names, and use
2345 gdb_test_no_output.
2346
18c77628
AB
23472019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2348
2349 * gdb.base/finish-pretty.exp: Update expected results.
2350 * gdb.base/pretty-print.c: New file.
2351 * gdb.base/pretty-print.exp: New file.
2352
9a93502f
PA
23532019-03-25 Pedro Alves <palves@redhat.com>
2354
2355 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2356 move comments outside list. Append '-i "" eof' section.
2357
968aa7ae
AH
23582019-03-22 Alan Hayward <alan.hayward@arm.com>
2359
34a7f2a4 2360 PR testsuite/25016
968aa7ae
AH
2361 * README: Add pie options.
2362 * gdb.base/break-interp.exp: Ensure pie is disabled.
2363 * gdb.base/dump.exp: Likewise.
2364 * lib/gdb.exp (gdb_compile): Add pie option.
2365
4c7d57e7
TT
23662019-03-19 Tom Tromey <tromey@adacore.com>
2367
2368 * gdb.mi/mi2-cli-display.c: New file.
2369 * gdb.mi/mi2-cli-display.exp: New file.
2370
bff8c71f
TT
23712019-03-18 Joel Brobecker <brobecker@adacore.com>
2372 Tom Tromey <tromey@adacore.com>
2373
2374 * gdb.ada/ptype_array/pck.adb: New file.
2375 * gdb.ada/ptype_array/pck.ads: New file.
2376 * gdb.ada/ptype_array/foo.adb: New file.
2377 * gdb.ada/ptype_array.exp: New file.
2378
d085f989
TT
23792019-03-14 Tom Tromey <tromey@adacore.com>
2380
2381 * gdb.base/style.exp: Add "set style sources" test.
2382
b4be1b06
SM
23832019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2384
2385 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2386 * mi-breakpoint-multiple-locations.exp: ... this.
2387 (make_breakpoints_pattern): New proc.
2388 (do_test): Add mi_version parameter, test -break-insert,
2389 -break-info and =breakpoint-created.
2390
7cde5fc2
AB
23912019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2392
2393 * config/default.exp: Remove 'load_lib gdb.exp'.
2394 * config/monitor.exp: Likewise.
2395 * config/sid.exp: Likewise.
2396 * config/sim.exp: Likewise.
2397 * config/slite.exp: Likewise.
2398 * config/unix.exp: Likewise.
2399 * gdb.base/default.exp: Remove unhelpful comment.
2400
efbecbc1
AB
24012019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2402
2403 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2404
0841c79a
AB
24052019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2406
2407 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2408
4a270568
AB
24092019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2410
2411 * gdb.fortran/type-kinds.exp: Update expected results.
2412
067630bd
AB
24132019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2414
2415 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2416
3be47f7a
AB
24172019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2418
2419 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2420 function.
2421 (test_basic_parsing_of_type_kinds): Expand types tested.
2422 (test_parsing_invalid_type_kinds): New function.
2423
4d00f5d8
AB
24242019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2425
2426 * gdb.fortran/intrinsics.exp: New file.
2427 * gdb.fortran/intrinsics.f90: New file.
2428 * gdb.fortran/type-kinds.exp: New file.
2429
c8f91604
AB
24302019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2431
2432 * gdb.fortran/dot-ops.exp: New file.
2433
dd9f2c76
AB
24342019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2435
2436 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2437 Check upper and lower case logical literals.
2438
84ec9724
AB
24392019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2440
2441 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2442 Remove duplicate tests.
2443
c3734e09
AH
24442019-03-06 Alan Hayward <alan.hayward@arm.com>
2445
2446 * lib/gdb.exp (builtin_cd): rename of cd.
2447 (cd): Override builtin.
2448
aa3cfbda
RB
24492019-03-06 Richard Bunt <richard.bunt@arm.com>
2450
2451 * gdb.fortran/function-calls.exp: New file.
2452 * gdb.fortran/function-calls.f90: New test.
2453
7b63ad86
RB
24542019-03-04 Richard Bunt <richard.bunt@arm.com>
2455
2456 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2457 on user program standard output.
2458 * gdb.fortran/short-circuit-argument-list.f90: Record function
2459 calls.
2460
01abb042
AH
24612019-02-28 Alan Hayward <alan.hayward@arm.com>
2462
c3734e09
AH
2463 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2464 failure.
01abb042 2465
92137da0
RO
24662019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2467
2468 PR gdb/8527
2469 * gdb.base/interrupt-daemon-attach.c,
2470 gdb.base/interrupt-daemon-attach.exp: New test.
2471
5862844d
PA
24722019-02-27 Pedro Alves <palves@redhat.com>
2473
2474 * gdb.base/page.exp: Add tests for "set width/height -1".
2475
8ed25214
PA
24762019-02-27 Pedro Alves <palves@redhat.com>
2477
2478 * gdb.base/page.exp: Add tests for "set/show width/height" with
2479 "infinite" values.
2480
6c28e44a
TT
24812019-02-27 Tom Tromey <tromey@adacore.com>
2482
2483 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2484 2.4.
2485 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2486 workaround.
2487
bf9a735e
AB
24882019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2489
2490 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2491 tests for structs with static members.
2492
8791793c
TT
24932019-02-26 Tom Tromey <tromey@adacore.com>
2494
2495 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2496 ValueError, not TypeError.
2497
bc2a507e
KB
24982019-02-26 Kevin Buettner <kevinb@redhat.com>
2499
2500 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2501 call from main program.
2502
e0e7d3bd
JB
25032019-02-23 Joel Brobecker <brobecker@adacore.com>
2504
2505 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2506 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2507 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2508 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2509 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2510
9600246d
KS
25112019-02-22 Keith Seitz <keiths@redhat.com>
2512
2513 PR symtab/23853
2514 * gdb.base/symlink-sourcefile.c: New file.
2515 * gdb.base/symlink-sourcefile.exp: New file.
2516
0c95f9ed
TT
25172019-02-20 Tom Tromey <tom@tromey.com>
2518
2519 * gdb.base/info_qt.exp: Update.
2520
6caa91b6
SM
25212019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2522
2523 * gdb.base/source.exp: Move "error in sourced script" code to
2524 the end.
2525 * gdb.base/source-error.gdb: Move contents to
2526 source-error-1.gdb. Add new code to source source-error-1.gdb.
2527 * gdb.base/source-error-1.gdb: New file, from previous
2528 source-error.gdb.
2529
6506371f
TT
25302019-02-17 Tom Tromey <tom@tromey.com>
2531
2532 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2533 for macro styling.
2534 * gdb.base/style.c (SOME_MACRO): New macro.
2535
a0087920
TT
25362019-02-17 Tom Tromey <tom@tromey.com>
2537
2538 * gdb.base/style.exp: Add line-wrapping tests.
2539 * gdb.base/page.exp: Add test for quitting during pagination.
2540
a2cd4f14
JB
25412019-02-17 Joel Brobecker <brobecker@adacore.com>
2542
2543 * gdb.ada/big_packed_array: New testcase.
2544 * gdb.ada/homonym.exp: Fix incorrect expected output for
2545 "break <homonym__get_value>" test.
2546
9d70ffbc
WP
25472019-02-13 Weimin Pan <weimin.pan@oracle.com>
2548
2549 PR breakpoints/21870
2550 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2551 and prepare_for_testing. Add comment.
2552 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2553 redundant cleanup call. Clean up comment.
2554
01c7ae81
WP
25552019-02-12 Weimin Pan <weimin.pan@oracle.com>
2556
2557 PR breakpoints/21870
2558 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2559 * gdb.arch/aarch64-dbreg-contents.c: New file.
2560
aff29d1c
JB
25612019-02-10 Joel Brobecker <brobecker@adacore.com>
2562
2563 * gdb.ada/mi_ref_changeable: New testcase.
2564
df0da8a2
AH
25652019-02-07 Alan Hayward <alan.hayward@arm.com>
2566
2567 * gdb.base/attach.exp: Add double attach test.
2568
bd447abb
SM
25692019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2570
2571 * lib/gdb.exp (default_gdb_start): Don't match pagination
2572 prompt.
2573 (gdb_init): Set stty_init.
2574
1dbc40b9
TT
25752019-01-27 Tom Tromey <tom@tromey.com>
2576
2577 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2578 skip_python_tests.
2579
353229bf
AH
25802019-01-24 Alan Hayward <alan.hayward@arm.com>
2581
2582 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2583 New structure.
2584 (struct struct_static_02_02): Likewise.
2585 (struct struct_static_02_03): Likewise.
2586 (struct struct_static_02_04): Likewise.
2587 (struct struct_static_04_01): Likewise.
2588 (struct struct_static_04_02): Likewise.
2589 (struct struct_static_04_03): Likewise.
2590 (struct struct_static_04_04): Likewise.
2591 (struct struct_static_06_01): Likewise.
2592 (struct struct_static_06_02): Likewise.
2593 (struct struct_static_06_03): Likewise.
2594 (struct struct_static_06_04): Likewise.
2595 (cmp_struct_static_02_01): Likewise.
2596 (cmp_struct_static_02_02): Likewise.
2597 (cmp_struct_static_02_03): Likewise.
2598 (cmp_struct_static_02_04): Likewise.
2599 (cmp_struct_static_04_01): Likewise.
2600 (cmp_struct_static_04_02): Likewise.
2601 (cmp_struct_static_04_03): Likewise.
2602 (cmp_struct_static_04_04): Likewise.
2603 (cmp_struct_static_06_01): Likewise.
2604 (cmp_struct_static_06_02): Likewise.
2605 (cmp_struct_static_06_03): Likewise.
2606 (cmp_struct_static_06_04): Likewise.
2607 (call_all): Test new structs.
2608 * gdb.base/infcall-nested-structs.exp: Likewise.
2609
73021deb
AH
26102019-01-21 Alan Hayward <alan.hayward@arm.com>
2611 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2612
fc65c7db
AH
26132019-01-21 Alan Hayward <alan.hayward@arm.com>
2614 * gdb.base/stack-protector.c: New test.
2615 * gdb.base/stack-protector.exp: New file.
2616 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2617 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2618 option.
2619 (gdb_compile): Remove stack protector for GCC and prevent
2620 recursion.
2621
c24bdb02
KS
26222019-01-16 Keith Seitz <keiths@redhat.com>
2623
2624 PR gdb/23773
2625 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2626
6f072a10
PFC
26272019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2628
2629 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2630 aliases.
2631 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2632 tests.
2633 * gdb.arch/powerpc-vector-regs.c: New file.
2634 * gdb.arch/powerpc-vector-regs.exp: New file.
2635
a7b8d682
PFC
26362019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2637
2638 * gdb.arch/altivec-regs.exp: Fix the list passed to
2639 gdb_expect_list when testing "info vector".
2640
6eb6fb67
AB
26412019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2642
2643 * gdb.base/style.exp: Don't include path in testname.
2644
b56f80d8
KS
26452019-01-10 Keith Seitz <keiths@redhat.com>
2646
2647 PR gdb/23712
2648 PR symtab/23010
2649 * gdb.dwarf2/multidictionary.exp: New file.
2650
041be526
SM
26512019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2652
2653 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2654 (test_gnuv3_style_demangling): ... this.
2655 (test_lucid_style_demangling): Remove.
2656 (test_arm_style_demangling): Remove.
2657 (test_hp_style_demangling): Remove.
2658 (do_tests): Remove calls to the above.
2659
d820d0c3
AB
26602019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2661
2662 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2663 case.
2664
f097f5ad
TT
26652019-01-06 Tom Tromey <tom@tromey.com>
2666
2667 PR gdb/28155:
2668 * gdb.dwarf2/typedef-void-finish.exp: New file.
2669
2cd8cc0b
TT
26702018-12-28 Tom Tromey <tom@tromey.com>
2671 Simon Marchi <simark@simark.ca>
2672
2673 * gdb.base/jit-exec.exp: New file.
2674 * gdb.base/jit-exec.c: New file.
2675 * gdb.base/jit-execd.c: New file.
2676
35fb8261
TT
26772018-12-28 Tom Tromey <tom@tromey.com>
2678
2679 * gdb.base/style.exp: Update test to check for address styling.
2680
47fd17cd
TT
26812018-12-28 Tom Tromey <tom@tromey.com>
2682
2683 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2684 message.
2685
d47032b7
TT
26862018-12-28 Tom Tromey <tom@tromey.com>
2687
2688 * gdb.base/style.exp: Add test for version number styling.
2689
af79b68d
TT
26902018-12-28 Tom Tromey <tom@tromey.com>
2691
2692 * gdb.base/style.exp: Add test for print_address_symbolic.
2693
0bb296cb
TT
26942018-12-28 Tom Tromey <tom@tromey.com>
2695
2696 * gdb.base/style.exp: Add test for breakpoint setting.
2697
80ae2043
TT
26982018-12-28 Tom Tromey <tom@tromey.com>
2699
2700 * gdb.base/style.exp: Add test for variable names.
2701
cbe56571
TT
27022018-12-28 Tom Tromey <tom@tromey.com>
2703
2704 * gdb.base/style.exp: New file.
2705 * gdb.base/style.c: New file.
2706
9162a27c
TT
27072018-12-28 Tom Tromey <tom@tromey.com>
2708
2709 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2710 "dumb".
2711 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2712 the TERM environment variable.
2713
bc543c90
TT
27142018-12-27 Tom Tromey <tom@tromey.com>
2715
2716 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2717 pagination test.
2718
6f0ffe50
AB
27192018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2720
2721 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2722 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2723
b5a1e557
PW
27242018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2725
2726 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2727 Filename a.adb changed to bp_fun_addr.adb.
2728 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2729
6e8b1ab2
JV
27302018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2731
2732 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2733 non-PIE executables.
2734 * README: Mention the gdb,nopie_flag board setting.
2735 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2736 non-PIE executable.
2737 * gdb.arch/amd64-entry-value.exp: Likewise.
2738 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2739 * gdb.arch/i386-float.exp: Likewise.
2740 * gdb.arch/i386-signal.exp: Likewise.
2741 * gdb.mi/mi-reg-undefined.exp: Likewise.
2742
d00a27c5
PM
27432018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2744
2745 PR gdb/23974
2746 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2747
161d081c
PW
27482018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2749
2750 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2751 Update order of results accordingly.
2752
b001de23
AB
27532018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2754
2755 * gdb.base/annota1.exp: Update a test regexp.
2756
99e1a184
AB
27572018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2758
2759 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2760
7a81c1e2
PW
27612018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2762
2763 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2764 (reuse_time): Initialize to REUSE_TIME_CAP.
2765 (check_rc): New function.
2766 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2767 Check pthread_create rc.
2768 (spawner_thread_func): Check pthread_create and pthread_join rc.
2769
73e8dc90
PA
27702018-12-08 Pedro Alves <palves@redhat.com>
2771
2772 * gdb.base/list.exp (test_forward_search): Rename to ...
2773 (test_forward_reverse_search): ... this. Also test reverse-search
2774 and the forward-search alias.
2775
13f2ed32
AB
27762018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2777
2778 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2779 local timeout variable before return, and remove all local timeout
2780 variable entirely.
2781 (gdb_load): Likewise.
2782
64d27cfc
TV
27832018-12-01 Tom de Vries <tdevries@suse.de>
2784
2785 * gdb.base/gdb-caching-proc.exp: New file.
2786
f63c03b4
SDJ
27872018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2788
2789 * Makefile.in (TIMESTAMP): New variable.
2790 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2791 command.
2792 (check-single-racy): Likewise.
2793 (check/%.exp): Likewise.
2794 (check-racy/%.exp): Likewise.
2795 (workers/%.worker): Likewise.
2796 (build-perf): Likewise.
2797 (check-perf): Likewise.
2798 * README: Describe new "TS" and "TS_FORMAT" variables.
2799 * print-ts.py: New file.
2800
1c97054b
BF
28012018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2802
2803 PR python/23714
2804 * gdb.python/python.exp: Test command repetition after
2805 gdb.execute.
2806
1871a62d
AB
28072018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2808
2809 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2810 is correctly aligned.
2811
fb5e1ed9
PW
28122018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2813
2814 * gdb.ada/info_auto_lang.exp: New testcase.
2815 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2816 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2817 * gdb.ada/info_auto_lang/some_c.c: New file.
2818
43d397ca
PW
28192018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2820
2821 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2822 FUNC_lang language syntax.
2823
beddd671
PW
28242018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2825
2826 * gdb.base/info_minsym.c: New file.
2827 * gdb.base/info_minsym.exp: New file.
2828
73fc52c4
TT
28292018-11-19 Tom Tromey <tom@tromey.com>
2830
2831 PR rust/23625:
2832 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2833 * gdb.rust/expr.exp: Update expected output. Change one test.
2834
994b876a
TT
28352018-11-19 Tom Tromey <tom@tromey.com>
2836
2837 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2838
6769f276
PA
28392018-11-19 Pedro Alves <palves@redhat.com>
2840
2841 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2842 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2843 see the expected warning.
2844
38a72da0
AH
28452018-11-16 Alan Hayward <alan.hayward@arm.com>
2846
2847 PR gdb/22736:
2848 * gdb.cp/infcall-nodebug-lib.c: New test.
2849 * gdb.cp/infcall-nodebug-main.c: New test.
2850 * gdb.cp/infcall-nodebug.exp: New file.
2851
53a89d6e
SM
28522018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2853
2854 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2855 completer tests.
2856
9325300d
TV
28572018-11-09 Tom de Vries <tdevries@suse.de>
2858
2859 * gdb.base/msym-lang.c: New test.
2860 * gdb.base/msym-lang.exp: New file.
2861 * gdb.base/msym-lang-main.c: New test.
2862
20f0d60d
TT
28632018-11-08 Tom Tromey <tom@tromey.com>
2864
2865 PR gdb/23555:
2866 PR gdb/23838:
2867 * gdb.base/warning.exp: New file.
2868
b5420128
JB
28692018-11-08 Jan Beulich <jbeulich@suse.com>
2870
2871 * testsuite/gdb.arch/i386-avx512.c,
2872 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2873
cd115d61
AB
28742018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2875
2876 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2877 point hardware.
2878
35ee2dc2
AB
28792018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2880
2881 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2882 * gdb.dwarf2/missing-type-name.exp: New file.
2883
31aceee8
TV
28842018-11-06 Tom de Vries <tdevries@suse.de>
2885
2886 * gdb.base/many-headers.c: New test.
2887 * gdb.base/many-headers.exp: New file.
2888
109be305
JW
28892018-11-06 Jim Wilson <jimw@sifive.com>
2890
2891 * gdb.base/code_elim.exp: For riscv, set additional_flags
2892 to include -msmall-data-limit=0.
2893
e2b7af72
JB
28942018-11-01 Joel Brobecker <brobecker@adacore.com>
2895
2896 * gdb.ada/watch_minus_l: New testcase.
2897
cdcda965
SM
28982018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2899
2900 * gdb.arch/aix-sighandle.c: New file.
2901 * gdb.arch/aix-sighandle.exp: New file.
2902
92dcebf3
AB
29032018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2904
2905 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2906 registers being unions.
2907
68b9ac18
TV
29082018-10-31 Tom de Vries <tdevries@suse.de>
2909
2910 * lib/valgrind.exp: New file.
2911 (vgdb_start, vgdb_stop): New procs, factored out of ...
2912 * gdb.base/valgrind-bt.exp: ... here, ...
2913 * gdb.base/valgrind-disp-step.exp: ... here and ...
2914 * gdb.base/valgrind-infcall.exp: ... here.
2915
1443936e
TV
29162018-10-31 Tom de Vries <tdevries@suse.de>
2917
2918 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2919
eb77c9df
AB
29202018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2921
2922 * gdb.dwarf2/void-type.c: New file.
2923 * gdb.dwarf2/void-type.exp: New file.
2924
82b5e646
PW
29252018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2926
2927 * gdb.base/info_qt.c: New file.
2928 * gdb.base/info_qt.exp: New file.
2929
8d619c01
EBM
29302018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2931
2932 * gdb.arch/powerpc-htm-regs.c: New file.
2933 * gdb.arch/powerpc-htm-regs.exp: New file.
2934
f2cf6173
EBM
29352018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2936
2937 * gdb.arch/powerpc-tar.c: New file.
2938 * gdb.arch/powerpc-tar.exp: New file.
2939
7ca18ed6
EBM
29402018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2941
2942 * gdb.arch/powerpc-ppr-dscr.c: New file.
2943 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2944
bfcc0eba
TV
29452018-10-25 Tom de Vries <tdevries@suse.de>
2946
2947 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2948
fe1a5cad
TV
29492018-10-24 Tom de Vries <tdevries@suse.de>
2950
2951 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2952 longer exists error.
2953
a76dc3b7
TV
29542018-10-24 Tom de Vries <tdevries@suse.de>
2955
2956 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2957
4df46df7
TV
29582018-10-24 Tom de Vries <tdevries@suse.de>
2959
2960 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2961 --db-attach in valgrind.
2962
0dbfcfff
AB
29632018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2964
2965 * gdb.arch/riscv-reg-aliases.c: New file.
2966 * gdb.arch/riscv-reg-aliases.exp: New file.
2967
b04480b1
AH
29682018-10-19 Alan Hayward <alan.hayward@arm.com>
2969
2970 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2971
2c6ac8d7
AH
29722018-10-19 Alan Hayward <alan.hayward@arm.com>
2973
2974 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2975
2bc69f25
AH
29762018-10-19 Alan Hayward <alan.hayward@arm.com>
2977
2978 * gdb.cp/ovldbreak.exp: Fix regexps.
2979
1f1ae3a3
AH
29802018-10-19 Alan Hayward <alan.hayward@arm.com>
2981
2982 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2983
94c18618
SDJ
29842018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2985
2986 PR cli/23785
2987 * gdb.base/restore.exp: New test to check if "restore" with an
2988 invalid file doesn't segfault.
2989
812cd6eb
TV
29902018-10-18 Tom de Vries <tdevries@suse.de>
2991
2992 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2993 * gdb.ada/excep_handle.exp: Same.
2994 * gdb.ada/mi_string_access.exp: Same.
2995 * gdb.ada/mi_var_union.exp: Same.
2996 * gdb.arch/arc-analyze-prologue.exp: Same.
2997 * gdb.arch/arc-decode-insn.exp: Same.
2998 * gdb.base/readnever.exp: Same.
2999 * gdb.fortran/printing-types.exp: Same.
3000 * gdb.guile/scm-lazy-string.exp: Same.
3001
c4b90788
TV
30022018-10-16 Tom de Vries <tdevries@suse.de>
3003
3004 PR gdb/23730
3005 * gdb.base/catch-follow-exec.c: Add copyright notice.
3006 * gdb.base/catch-follow-exec.exp: Rewrite to use
3007 gdb_spawn_with_cmdline_opts. Require gdb-native.
3008
8bca2978
SL
30092018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3010
3011 * gdb.trace/actions-changed.exp: Check for arch support.
3012 * gdb.trace/actions.exp: Likewise.
3013 * gdb.trace/ax.exp: Likewise.
3014 * gdb.trace/backtrace.exp: Likewise.
3015 * gdb.trace/change-loc.exp: Likewise.
3016 * gdb.trace/deltrace.exp: Likewise.
3017 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3018 * gdb.trace/ftrace.exp: Likewise.
3019 * gdb.trace/infotrace.exp: Check for arch support.
3020 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3021 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3022 * gdb.trace/mi-tsv-changed.exp: Likewise.
3023 * gdb.trace/packetlen.exp: Likewise.
3024 * gdb.trace/passc-dyn.exp: Likewise.
3025 * gdb.trace/passcount.exp: Likewise.
3026 * gdb.trace/pending.exp: Likewise.
3027 * gdb.trace/range-stepping.exp: Check for shlib support.
3028 * gdb.trace/report.exp: Check for arch support.
3029 * gdb.trace/save-trace.exp: Likewise.
3030 * gdb.trace/signal.exp: Check for signal support.
3031 * gdb.trace/tfind.exp: Check for arch support.
3032 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3033 * gdb.trace/trace-common.h: Add comment.
3034 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3035 * gdb.trace/trace-enable-disable.exp: Likewise.
3036 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3037 * gdb.trace/tracecmd.exp: Check for arch support.
3038 * gdb.trace/tspeed.exp: Check for shlib and target support.
3039 * gdb.trace/tstatus.exp: Check for arch support.
3040 * gdb.trace/tsv.exp: Likewise.
3041 * gdb.trace/while-dyn.exp: Likewise.
3042 * gdb.trace/while-stepping.exp: Likewise.
3043 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3044
f9c49bff
SM
30452018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3046
3047 * gdb.trace/tspeed.exp: Remove nowarnings.
3048 (prepare_for_trace_test): Declare "global ipalib".
3049 * gdb.trace/tspeed.c: Include unistd.h.
3050 (main): Remove superfluous printf argument.
3051
d4330bde
SL
30522018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3053
3054 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3055 directory prefix on the filename.
3056
8ecfd7bd
SDJ
30572018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3058
3059 * gdb.gdb/unittest.exp: Update expected message informing that
3060 selftests have been disabled.
3061 * gdb.server/unittest.exp: Likewise.
3062
58bbcd02
TV
30632018-10-09 Tom de Vries <tdevries@suse.de>
3064
3065 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3066 with runto_main.
3067
9f6b697b
WP
30682018-10-08 Weimin Pan <weimin.pan@oracle.com>
3069
3070 PR c++/16841
3071 * gdb.cp/virtbase2.cc: New file.
3072 * gdb.cp/virtbase2.exp: New file.
3073
add5ded5
TT
30742018-10-06 Tom Tromey <tom@tromey.com>
3075
3076 PR python/19399:
3077 * gdb.python/py-inferior.exp: Add architecture test.
3078
f9e48344
TT
30792018-10-06 Tom Tromey <tom@tromey.com>
3080
3081 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3082 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3083
2a8be203
TT
30842018-10-06 Tom Tromey <tom@tromey.com>
3085
3086 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3087 of a "throw" catchpoint.
3088
e04caa70
SDJ
30892018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3090
3091 * gdb.base/info-proc.exp: Update string expected from "help info
3092 proc".
3093
5ca8c39f
TT
30942018-10-04 Tom Tromey <tom@tromey.com>
3095
3096 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3097 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3098 (test_initial_complaints, test_empty_complaints): Update.
3099 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3100
3453e7e4
TT
31012018-10-04 Tom Tromey <tom@tromey.com>
3102
3103 PR cli/19551:
3104 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3105 * lib/gdb.exp (gdb_file_cmd): Update.
3106 * gdb.stabs/weird.exp (print_weird_var): Update.
3107 * gdb.server/solib-list.exp: Update.
3108 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3109 * gdb.mi/mi-cli.exp: Update.
3110 * gdb.linespec/linespec.exp: Update.
3111 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3112 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3113 * gdb.cp/cp-relocate.exp: Update.
3114 * gdb.base/sym-file.exp: Update.
3115 * gdb.base/relocate.exp: Update.
3116 * gdb.base/readnever.exp: Update.
3117 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3118 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3119 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3120 * gdb.base/code_elim.exp: Update.
3121 * gdb.base/break-unload-file.exp (test_break): Update.
3122 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3123 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3124 Update.
3125 * gdb.base/attach.exp (do_attach_tests): Update.
3126 * gdb.base/sepdebug.exp: Update.
3127 * gdb.python/py-section-script.exp: Update.
3128
6afcf761
TT
31292018-10-04 Tom Tromey <tom@tromey.com>
3130
3131 PR cli/22234:
3132 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3133 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3134 output.
3135
fef1b293
TT
31362018-10-04 Tom Tromey <tom@tromey.com>
3137
3138 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3139 set width and height to 0.
3140 (test_command_line_attach_run): Use -quiet.
3141
ca98345e
SL
31422018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3143
3144 * lib/gdb.exp (skip_ifunc_tests): New.
3145 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3146 other compile failures.
3147 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3148
ff34e6ae
SM
31492018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3150
3151 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3152 is_amd64_regs_target.
3153
6bb8890e
AH
31542018-10-01 Alan Hayward <alan.hayward@arm.com>
3155
3156 * gdb.arch/aarch64-sighandler-regs.c: New test.
3157 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3158 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3159
224d30d3
MM
31602018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3161
3162 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3163 assembly.
3164
f67ffa6a
AB
31652018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3166
3167 * gdb.base/frame-selection.exp: New file.
3168 * gdb.base/frame-selection.c: New file.
3169
9fc3183f
AH
31702018-09-27 Alan Hayward <alan.hayward@arm.com>
3171
3172 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3173 pthread barrier.
3174 (main): Likewise.
3175
d354055e
AB
31762018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3177
3178 * gdb.base/large-frame-1.c: New file.
3179 * gdb.base/large-frame-2.c: New file.
3180 * gdb.base/large-frame.exp: New file.
3181 * gdb.base/large-frame.h: New file.
3182
db727370
JL
31832018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3184
3185 PR gdb/20948
3186 * gdb.base/write_mem.exp: New test.
3187 * gdb.base/write_mem.c: Likewise.
3188
ae778caf
TT
31892018-09-23 Tom Tromey <tom@tromey.com>
3190
3191 PR python/18852:
3192 * gdb.python/py-parameter.exp: Add test for parameter that throws
3193 on "set".
3194
fd3ba736
TT
31952018-09-23 Tom Tromey <tom@tromey.com>
3196
3197 PR python/17284:
3198 * gdb.python/py-template.exp (test_template_arg): Add test for
3199 negative template argument number.
3200
39a24317
TT
32012018-09-23 Tom Tromey <tom@tromey.com>
3202
3203 PR python/14062:
3204 * gdb.python/python.exp: Add test for post_event error.
3205
f5769a2c
TT
32062018-09-23 Tom Tromey <tom@tromey.com>
3207
3208 PR python/18170:
3209 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3210 convert pointers to int and long.
3211
1c1e54f6
TT
32122018-09-23 Tom Tromey <tom@tromey.com>
3213
3214 PR python/20126:
3215 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3216 signed-ness conversion tests.
3217
fb4fa946
TT
32182018-09-23 Tom Tromey <tom@tromey.com>
3219
3220 PR python/18352;
3221 * gdb.python/py-value.exp (test_float_conversion): New proc.
3222 Use it.
3223
a466edac
HAQ
32242018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3225
3226 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3227
4ee9b0c5
SL
32282018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3229
3230 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3231 no readline.
3232 * gdb.base/utf8-identifiers.exp: Likewise.
3233 * gdb.cp/cpcompletion.exp: Likewise.
3234 * gdb.linespec/cpcompletion.exp: Likewise.
3235 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3236 * gdb.linespec/cpls-ops.exp: Likewise.
3237
23be8da7
RB
32382018-09-19 Richard Bunt <richard.bunt@arm.com>
3239 Chris January <chris.january@arm.com>
3240
3241 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3242 * gdb.fortran/short-circuit-argument-list.exp: New file.
3243 * gdb.fortran/short-circuit-argument-list.f90: New test.
3244
5031d0ae
SDJ
32452018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3246
3247 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3248 "arch=" keyword when executing "-stack-list-frames".
3249
b4c0d1a4
SDJ
32502018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3251
3252 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3253 "arch=" keyword when executing "-stack-list-frames".
3254
7a6d2b45
SDJ
32552018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3256
3257 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3258 break ada".
3259
8588b356
SM
32602018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3261
3262 PR python/23669
3263 * gdb.python/python.exp: Test gdb.execute("show commands").
3264
65e65158
TT
32652018-09-16 Tom Tromey <tom@tromey.com>
3266
3267 * gdb.base/new-ui.exp (do_execution_tests): Update.
3268 * gdb.base/dbx.exp (test_breakpoints): Update.
3269
bf326452
AH
32702018-09-14 Alan Hayward <alan.hayward@arm.com>
3271
3272 * lib/gdb.exp (gdb_simple_compile): Add proc.
3273 (is_elf_target): Use gdb_simple_compile.
3274 (skip_altivec_tests): Likewise.
3275 (skip_vsx_tests): Likewise.
3276 (skip_tsx_tests): Likewise.
3277 (skip_btrace_tests): Likewise.
3278 (skip_btrace_pt_tests): Likewise.
3279 (gdb_can_simple_compile): Likewise.
3280 (gdb_has_argv0): Likewise.
3281 (gdb_target_symbol_prefix): Likewise.
3282 (target_supports_scheduler_locking): Likewise.
3283
2361b0fb
TT
32842018-09-13 Tom Tromey <tom@tromey.com>
3285
3286 * Makefile.in (TAGS): Recognize proc_with_prefix and
3287 gdb_caching_proc.
3288
0ae1a321
SM
32892018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3290
3291 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3292 method.
3293
a40bf0c2
SM
32942018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3295
3296 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3297 and a few other Inferior properties when the Inferior is no
3298 longer valid.
3299
4a3fe98f
TT
33002018-09-13 Tom Tromey <tom@tromey.com>
3301
3302 PR rust/23650:
3303 * gdb.rust/simple.exp: Add test for enum field access error.
3304
098b2108
TT
33052018-09-13 Tom Tromey <tom@tromey.com>
3306
3307 PR rust/23626:
3308 * gdb.rust/simple.rs (EmptyEnum): New type.
3309 (main): Use it.
3310 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3311
1256af7d
SM
33122018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3313
3314 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3315 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3316 * gdb.python/py-symtab.exp: Update test printing an objfile.
3317
4aa8e6c2
SM
33182018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3319
3320 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3321 object.
3322
c221b2f7
AH
33232018-09-12 Alan Hayward <alan.hayward@arm.com>
3324
3325 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3326 (support_complex_tests): Use gdb_can_simple_compile.
3327 (is_ilp32_target): Likewise.
3328 (is_lp64_target): Likewise.
3329 (is_64_target): Likewise.
3330 (is_amd64_regs_target): Likewise.
3331 (is_aarch32_target): Likewise.
3332 (gdb_int128_helper): Likewise.
3333
6f1107b5
JK
33342018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3335
3336 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3337
1f5d1570
JG
33382018-09-10 Jerome Guitton <guitton@adacore.com>
3339
3340 * gdb.ada/same_component_name: Add test for case of tagged record
3341 with variable-length fields.
3342
cc330e39
XR
33432018-09-10 Xavier Roirand <roirand@adacore.com>
3344
3345 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3346 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3347 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3348 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3349
b9c50e9a
XR
33502018-09-10 Xavier Roirand <roirand@adacore.com>
3351
3352 * gdb.ada/mi_string_access.exp: New testcase.
3353 * gdb.ada/mi_string_access/bar.adb: New file.
3354 * gdb.ada/mi_string_access/pck.adb: New file.
3355 * gdb.ada/mi_string_access/pck.asd: New file.
3356
2963898f
XR
33572018-09-10 Xavier Roirand <roirand@adacore.com>
3358
3359 * gdb.ada/mi_var_union.exp: New testcase.
3360 * gdb.ada/mi_var_union/bar.adb: New file.
3361 * gdb.ada/mi_var_union/pck.adb: New file.
3362 * gdb.ada/mi_var_union/pck.asd: New file.
3363
1aac008f
TT
33642018-09-08 Tom Tromey <tom@tromey.com>
3365
3366 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3367
332cf4c9
TT
33682018-09-08 Tom Tromey <tom@tromey.com>
3369
3370 PR python/16047:
3371 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3372 (register_pretty_printers): Register new printer.
3373 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3374 test.
3375 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3376 (an_int_type3): New global.
3377
424da6cf
JB
33782018-09-08 Joel Brobecker <brobecker@adacore.com>
3379
3380 * gdb.ada/expr_with_funcall: New testcase.
3381
2a62dfa9
JB
33822018-09-08 Joel Brobecker <brobecker@adacore.com>
3383
3384 * gdb.ada/packed_array_assign: New testcase.
3385
96b6697f
AB
33862018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3387
3388 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3389 names, and add test prefixes to make test names unique.
3390
e4a62c65
TV
33912018-09-05 Tom de Vries <tdevries@suse.de>
3392
3393 * gdb.dwarf2/varval.exp: Add test.
3394
dd083ee2
GB
33952018-09-04 Gary Benson <gbenson@redhat.com>
3396
3397 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3398 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3399
aef9346c
TT
34002018-08-31 Tom Tromey <tom@tromey.com>
3401
3402 * gdb.rust/simple.rs: Rename second variable "v".
3403
c67f2e15
AB
34042018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3405
3406 * gdb.base/funcargs.c (use_a): New function.
3407 (recurse): Call use_a.
3408
078a0207
KS
34092018-08-29 Keith Seitz <keiths@redhat.com>
3410
3411 * gdb.compile/compile-cplus-anonymous.cc: New file.
3412 * gdb.compile/compile-cplus-anonymous.exp: New file.
3413 * gdb.compile/compile-cplus-array-decay.cc: New file.
3414 * gdb.compile/compile-cplus-array-decay.exp: New file.
3415 * gdb.compile/compile-cplus-inherit.cc: New file.
3416 * gdb.compile/compile-cplus-inherit.exp: New file.
3417 * gdb.compile/compile-cplus-member.cc: New file.
3418 * gdb.compile/compile-cplus-member.exp: New file.
3419 * gdb.compile/compile-cplus-method.cc: New file.
3420 * gdb.compile/compile-cplus-method.exp: New file.
3421 * gdb.compile/compile-cplus-mod.c: "New" file.
3422 * gdb.compile/compile-cplus-namespace.cc: New file.
3423 * gdb.compile/compile-cplus-namespace.exp: New file.
3424 * gdb.compile/compile-cplus-nested.cc: New file.
3425 * gdb.compile/compile-cplus-nested.exp: New file.
3426 * gdb.compile/compile-cplus-print.c: "New" file.
3427 * gdb.compile/compile-cplus-print.exp: "New" file.
3428 * gdb.compile/compile-cplus-virtual.cc: New file.
3429 * gdb.compile/compile-cplus-virtual.exp: New file.
3430 * gdb.compile/compile-cplus.c: "New" file.
3431 * gdb.compile/compile-cplus.exp: "New" file.
3432 * lib/compile-support.exp: New file.
3433
b0f492b9
GB
34342018-08-16 Gary Benson <gbenson@redhat.com>
3435
3436 PR gdb/13000:
3437 * gdb.base/batch-exit-status.exp: New file.
3438 * gdb.base/batch-exit-status.good-commands: Likewise.
3439 * gdb.base/batch-exit-status.bad-commands: Likewise.
3440
36eb4c5f
AH
34412018-08-29 Alan Hayward <alan.hayward@arm.com>
3442
3443 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3444 (struct struct02): Likewise.
3445 (struct struct03): Likewise.
3446 (struct struct04): Likewise.
3447 (struct struct_01_01): New struct.
3448 (struct struct_01_02): Likewise.
3449 (struct struct_01_03): Likewise.
3450 (struct struct_01_04): Likewise.
3451 (struct struct_02_01): Likewise.
3452 (struct struct_02_02): Likewise.
3453 (struct struct_02_03): Likewise.
3454 (struct struct_02_04): Likewise.
3455 (struct struct_04_01): Likewise.
3456 (struct struct_04_02): Likewise.
3457 (struct struct_04_03): Likewise.
3458 (struct struct_04_04): Likewise.
3459 (struct struct_05_01): Likewise.
3460 (struct struct_05_02): Likewise.
3461 (struct struct_05_03): Likewise.
3462 (struct struct_05_04): Likewise.
3463 (cmp_struct01): Remove function.
3464 (cmp_struct02): Likewise.
3465 (cmp_struct03): Likewise.
3466 (cmp_struct04): Likewise.
3467 (cmp_struct_01_01): Add Function.
3468 (cmp_struct_01_02): Likewise.
3469 (cmp_struct_01_03): Likewise.
3470 (cmp_struct_01_04): Likewise.
3471 (cmp_struct_02_01): Likewise.
3472 (cmp_struct_02_02): Likewise.
3473 (cmp_struct_02_03): Likewise.
3474 (cmp_struct_02_04): Likewise.
3475 (cmp_struct_04_01): Likewise.
3476 (cmp_struct_04_02): Likewise.
3477 (cmp_struct_04_03): Likewise.
3478 (cmp_struct_04_04): Likewise.
3479 (cmp_struct_05_01): Likewise.
3480 (cmp_struct_05_02): Likewise.
3481 (cmp_struct_05_03): Likewise.
3482 (cmp_struct_05_04): Likewise.
3483 (call_all): Add new structs.
3484 * gdb.base/infcall-nested-structs.exp: Likewise.
3485
3bf9c013
JV
34862018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3487
3488 * gdb.python/py-framefilter-mi.exp: Update regexp to
3489 check for "arch" field in frame output.
3490
450d1e88
KB
34912018-08-23 Kevin Buettner <kevinb@redhat.com>
3492
3493 * gdb.dwarf2/dw2-ranges-func.c: New file.
3494 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3495
ae739fe7
SM
34962018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3497
3498 * gdb.base/term.exp: Compare terminal settings with values from
3499 the inferior.
3500 * gdb.base/term.c: Get and set terminal settings.
3501
6d52907e
JV
35022018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3503
3504 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3505 accommodate new "arch" field in frame output.
3506 * gdb.mi/mi-return.exp: Likewise.
3507 * gdb.mi/mi-stack.exp: Likewise.
3508 * gdb.mi/mi-syn-frame.exp: Likewise.
3509 * gdb.mi/user-selected-context-sync.exp: Likewise.
3510
be2d111a
MS
35112018-08-19 Michael Spang <spang@google.com>
3512
3513 PR gdb/11786
3514 * gdb.base/gcore-tls-pie.c: New file.
3515 * gdb.base/gcore-tls-pie.exp: New file.
3516
ae3a7c47
KB
35172018-08-18 Kevin Buettner <kevinb@redhat.com>
3518
3519 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
3520 * gdb.dwarf2/varval.c: New file.
3521 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 3522
2ecae92e
AH
35232018-08-17 Alan Hayward <alan.hayward@arm.com>
3524
3525 PR gdb/18931
3526 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3527
c1854f1d
KS
35282018-08-16 Keith Seitz <keiths@redhat.com>
3529
3530 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3531 tests expected to pass.
3532
26fb3983
JV
35332018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3534
3535 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3536 -data-disassemble -a.
3537 (test_disassembly_bogus_args): Likewise.
3538
67943c00
AB
35392018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3540
3541 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3542
5ff2bbae
AB
35432018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3544
3545 * gdb.base/vla-optimized-out.exp: Add new test.
3546
e5bbcd0f
AB
35472018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3548
3549 * gdb.base/vla-optimized-out-o3.exp: Delete.
3550 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3551 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3552 deleted tests.
3553
9d4a934c
AB
35542018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3555
3556 PR gdb/18050:
3557 * gdb.server/extended-remote-restart.c: New file.
3558 * gdb.server/extended-remote-restart.exp: New file.
3559
045cf012
SM
35602018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3561
3562 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3563 "set variable index = 42".
3564
87d6a7aa
SM
35652018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3566
3567 * boards/index-cache-gdb.exp: New file.
3568 * gdb.dwarf2/index-cache.exp: New file.
3569 * gdb.dwarf2/index-cache.c: New file.
3570 * gdb.base/maint.exp: Check if we are using the index cache.
3571
96d68bd4
RO
35722018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3573
3574 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3575 MAKEFLAGS.
3576
5a699617
RO
35772018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3578
3579 * dg-extract-results.sh: Move to toplevel contrib.
3580 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3581 * Makefile.in (check-parallel-racy): Likewise.
3582
5bd18990
AB
35832018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3584
3585 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3586 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3587 tests if the target supports scheduler locking.
3588
3fbbcf47
TV
35892018-08-04 Tom de Vries <tdevries@suse.de>
3590
3591 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3592
3e1d3d8c
TT
35932018-08-02 Tom Tromey <tom@tromey.com>
3594
3595 PR symtab/16842.
3596 * gdb.cp/temargs.exp: Test "info address" of a template
3597 parameter.
3598
5abe0f0c
JV
35992018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3600
3601 * gdb.python/py-mi-var-info-path-expression.c: New file.
3602 * gdb.python/py-mi-var-info-path-expression.py: New file.
3603 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3604
fb66cde8
SDJ
36052018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3606
3607 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3608 error after "cannot resolve name" string.
3609
c708f4d2
AB
36102018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3611
3612 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3613 started.
3614 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3615
37cc0cae
TV
36162018-07-28 Tom de Vries <tdevries@suse.de>
3617
3618 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3619
63b4ecf7
TV
36202018-07-26 Tom de Vries <tdevries@suse.de>
3621
3622 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3623
3c3bb058
AB
36242018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3625
3626 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3627 is visible.
3628
9e7f3bbb
TV
36292018-07-26 Tom de Vries <tdevries@suse.de>
3630
3631 PR breakpoints/23366
3632 * gdb.base/catch-follow-exec.c: New test.
3633 * gdb.base/catch-follow-exec.exp: New file.
3634
16f808ec
TV
36352018-07-25 Tom de Vries <tdevries@suse.de>
3636
3637 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3638 vla-optimized-out.c.
3639
d7154a8d
JV
36402018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3641
3642 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3643 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3644
232a0032
TV
36452018-07-20 Tom de Vries <tdevries@suse.de>
3646
3647 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3648 NOCLONE macro.
3649 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3650
fbb1d502
TV
36512018-07-19 Tom de Vries <tdevries@suse.de>
3652
3653 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3654 regular expression.
3655
42dc7699
TV
36562018-07-18 Tom de Vries <tdevries@suse.de>
3657
3658 * gdb.base/vla-optimized-out.c: New test.
3659 * gdb.base/vla-optimized-out.exp: New file.
3660
7f1f7e23
SDJ
36612018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3662
3663 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3664 message "No address associated with hostname" when gdbserver
3665 cannot resolve the hostname.
3666
5759ebb3
PW
36672018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3668
3669 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3670 Add some test prefixes to make tests unique.
3671
3606ccab
PW
36722018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3673
3674 * gdb.base/frameapply.c: New file.
3675 * gdb.base/frameapply.exp: New file.
3676
529c08b2
PW
36772018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3678
3679 * gdb.base/skip.exp: Update expected error message.
3680
c7ab0aef
SDJ
36812018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3682 Jan Kratochvil <jan.kratochvil@redhat.com>
3683 Paul Fertser <fercerpav@gmail.com>
3684 Tsutomu Seki <sekiriki@gmail.com>
3685
3686 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3687 parameter.
3688 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3689 by default.
3690 * boards/native-gdbserver.exp: Likewise.
3691 * gdb.server/run-without-local-binary.exp: Improve regexp used
3692 for detecting when a remote debugging connection succeeds.
3693 * gdb.server/server-connect.exp: New file.
3694 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3695 Do not prefix the port number with ":".
3696 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3697 support for detecting and using it. Add '$debughost_gdbserver'
3698 to the list of arguments used to start gdbserver. Handle case
3699 when gdbserver cannot resolve a network name.
3700
16ff70dd
SDJ
37012018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3702
3703 PR c++/23373
3704 * gdb.base/ptype-offsets.cc (struct static_member): New
3705 struct.
3706 (main) <stmember>: New variable.
3707 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3708 with a static member in it.
3709
3541979f
AB
37102018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3711
3712 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3713 watchpoints enabled and disabled.
3714
c8ad9b9a
AB
37152018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3716
3717 * gdb.base/examine-backward.exp: Still run tests around address
3718 0x0, even if address 0x0 is not readable. Update the pattern for
3719 matching address 0x0 in expected output.
3720
e0e5e971
AB
37212018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3722
3723 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3724 malloc/free.
3725
1ea5da02
TV
37262018-07-04 Tom de Vries <tdevries@suse.de>
3727
3728 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3729
471b9d15
MR
37302018-07-02 Maciej W. Rozycki <macro@mips.com>
3731
3732 PR tdep/8282
3733 * gdb.arch/mips-disassembler-options.exp: New test.
3734 * gdb.arch/mips-disassembler-options.s: New test source.
3735
75acb486
PA
37362018-06-29 Pedro Alves <palves@redhat.com>
3737
3738 * gdb.threads/names.exp: Adjust expected "info threads" output.
3739
cd2bb709
PA
37402018-06-29 Pedro Alves <palves@redhat.com>
3741
3742 * gdb.opt/inline-break.exp (line number, address): Add "info
3743 break" tests.
3744
991ff292
PA
37452018-06-29 Pedro Alves <palves@redhat.com>
3746
3747 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3748 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3749 number and address and running to them.
3750
356819b6 37512018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
3752
3753 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3754
2512d7ef
JK
37552018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3756
3757 * lib/compiler.c: Remove executable permission flag.
3758
be1b6474
RB
37592018-06-28 Richard Bunt <richard.bunt@arm.com>
3760
3761 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3762 code.
3763 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3764
291f9a96
PT
37652018-06-28 Petr Tesarik <ptesarik@suse.cz>
3766
3767 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3768
ed6dfe51
PT
37692018-06-28 Petr Tesarik <ptesarik@suse.cz>
3770
3771 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3772 address argument is omitted.
3773
d4d429d5
PT
37742018-06-28 Petr Tesarik <ptesarik@suse.cz>
3775
3776 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3777
7ab6656f
OJ
37782018-06-27 Omair Javaid <omair.javaid@linaro.org>
3779
3780 PR gdb/21695
3781 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3782 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3783
a33ccfc7
TT
37842018-06-26 Tom Tromey <tom@tromey.com>
3785
3786 PR rust/22574:
3787 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3788 * gdb.rust/simple.rs (struct SimpleLayout): New.
3789
6d72d289
SM
37902018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3791
3792 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3793 "info registers" output.
3794
8363f9d5
RB
37952018-06-21 Richard Bunt <richard.bunt@arm.com>
3796
3797 * gdb.base/watchpoint-hw-attach.c: New test.
3798 * gdb.base/watchpoint-hw-attach.exp: New file.
3799
f00674fe
SM
38002018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3801
3802 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3803 through /bin/sh.
3804 * boards/dwarf4-gdb-index.exp: Likewise.
3805 * boards/fission-dwp.exp: Likewise.
3806
1d554008
UW
38072018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3808
3809 * gdb.base/float128.exp: Add comment and improved fail message
3810 to the failure case of "print large128" test.
3811
d0ac1c44
SM
38122018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3813
3814 * configure.ac: Remove AC_PREREQ.
3815 * configure: Re-generate.
3816
61b04dd0
PA
38172018-06-19 Pedro Alves <palves@redhat.com>
3818
3819 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3820 (func_extern_caller): New.
3821 (main): Call func_extern_caller.
3822 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3823 logic change.
3824
f63b508a
SM
38252018-06-18 Weimin Pan <weimin.pan@oracle.com>
3826
3827 PR gdb/16841
3828 * gdb.cp/typedef-base.cc: New file.
3829 * gdb.cp/typedef-base.exp: New file.
3830
0fe3a558
TV
38312018-06-18 Tom de Vries <tdevries@suse.de>
3832
3833 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3834
7010835a
AB
38352018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3836 Richard Bunt <Richard.Bunt@arm.com>
3837
3838 * gdb.threads/attach-slow-waitpid.c: New file.
3839 * gdb.threads/attach-slow-waitpid.exp: New file.
3840 * gdb.threads/slow-waitpid.c: New file.
3841
14897d65
PA
38422018-06-14 Pedro Alves <palves@redhat.com>
3843
3844 * gdb.base/fork-running-state.c: Include <errno.h>.
3845 (exit_if_relative_exits): New.
3846 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3847 exits.
3848 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3849 child exits.
3850
5d9a0608
TV
38512018-06-14 Tom de Vries <tdevries@suse.de>
3852
3853 PR cli/22573
3854 * gdb.base/finish-pretty.c: New test.
3855 * gdb.base/finish-pretty.exp: New file.
3856
11ae5818
PA
38572018-06-14 Pedro Alves <palves@redhat.com>
3858
3859 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3860 gdb's expected startup output.
3861
1d39de44
PA
38622018-06-14 Pedro Alves <palves@redhat.com>
3863
3864 * lib/selftest-support.exp (selftest_setup): Remove inlined
3865 function handling.
3866
70ee0000
TV
38672018-06-14 Tom de Vries <tdevries@suse.de>
3868
3869 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3870 matching of breakpoint printing.
3871
11f4b608
TV
38722018-06-13 Tom de Vries <tdevries@suse.de>
3873
3874 PR testsuite/23269
3875 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3876 (fork_child): ... here, and ...
3877 (fork_parent): ... here.
3878
38792018-06-12 Tom de Vries <tdevries@suse.de>
3880
3881 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3882
9516f85a
AB
38832018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3884 Stephen Roberts <stephen.roberts@arm.com>
3885
3886 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3887 rewrite test to describe action performed, rather than possible
3888 failure.
3889
5045b3d7
GB
38902018-06-08 Gary Benson <gbenson@redhat.com>
3891
3892 * gdb.threads/check-libthread-db.exp: New file.
3893 * gdb.threads/check-libthread-db.c: Likewise.
3894
c61b06a1
TT
38952018-06-05 Tom Tromey <tom@tromey.com>
3896
3897 * gdb.base/default.exp: Update expected "show version" output.
3898
eb6af809
TT
38992018-06-05 Tom Tromey <tom@tromey.com>
3900
3901 PR cli/12326:
3902 * gdb.cp/static-print-quit.exp: Update.
3903 * lib/gdb.exp (pagination_prompt): Update.
3904 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3905 * gdb.python/python.exp: Update.
3906
178d6a63
JB
39072018-06-04 Joel Brobecker <brobecker@adacore.com>
3908
3909 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3910
8e817061
JB
39112018-06-01 Joel Brobecker <brobecker@adacore.com>
3912
3913 * gdb.ada/bp_fun_addr: New testcase.
3914
e86ca25f
TT
39152018-06-01 Tom Tromey <tom@tromey.com>
3916
3917 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3918 results.
3919 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3920 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3921 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3922 * gdb.base/maint.exp (maint_pass_if): Update.
3923
4b2dfa9d
MR
39242018-05-31 Maciej W. Rozycki <macro@mips.com>
3925
3926 * gdb.base/endian.exp: New test.
3927 * gdb.base/endian.c: New test source.
3928
45f25d6c
AB
39292018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3930
3931 PR gdb/23203
3932 * gdb.base/bt-selected-frame.c: New file.
3933 * gdb.base/bt-selected-frame.exp: New file.
3934 * lib/gdb.exp (get_current_frame_number): New function.
3935
d9f6d7f8
MR
39362018-05-24 Maciej W. Rozycki <macro@mips.com>
3937 Pedro Alves <palves@redhat.com>
3938
3939 * gdb.threads/tls-core.c: Include <stdlib.h>
3940 (thread_proc): Call `abort'.
3941 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3942 (tls_core_test): New procedure, bits factored out from ...
3943 (top level): ... here. Test both native cores and gcore cores.
3944
ff1cf532
TT
39452018-05-23 Tom Tromey <tom@tromey.com>
3946
3947 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3948
b98664d3
TT
39492018-05-23 Tom Tromey <tom@tromey.com>
3950
3951 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3952 symfile_complaints.
3953 (test_short_complaints): Likewise.
3954 (test_empty_complaints): Likewise.
3955 (test_initial_complaints): Update.
3956
4e9668d0
TT
39572018-05-23 Tom Tromey <tom@tromey.com>
3958
3959 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3960
43ba33c7
TT
39612018-05-23 Tom Tromey <tom@tromey.com>
3962
3963 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3964 (test_short_complaints): Update.
3965
035522c0
PA
39662018-05-22 Pedro Alves <palves@redhat.com>
3967
3968 * gdb.base/remote.exp: Only gdb_start after compiling the
3969 testcase. Issue "disconnect" before testing "set remote" command
3970 defaults. Issue clean_restart before running to main.
3971
cc0be08f
PA
39722018-05-22 Pedro Alves <palves@redhat.com>
3973
3974 * gdb.base/remote.exp: Adjust expected output of "show remote
3975 memory-write-packet-size". Add tests for "set remote
3976 memory-write-packet-size 0" and "set remote
3977 memory-write-packet-size fixed/limit".
3978
b1b60145
PA
39792018-05-22 Pedro Alves <palves@redhat.com>
3980
3981 PR gdb/22973
3982 * gdb.base/utf8-identifiers.c: New file.
3983 * gdb.base/utf8-identifiers.exp: New file.
3984
0ec848ad
PFC
39852018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3986
3987 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3988
2c3305f6
PFC
39892018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3990
3991 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3992
ce1e8424
TT
39932018-05-18 Tom Tromey <tom@tromey.com>
3994
3995 * gdb.base/ptype-offsets.exp: Update.
3996
ddfe970e
KS
39972018-05-17 Keith Seitz <keiths@redhat.com>
3998
3999 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4000 in expected breakpoint stop locations.
4001 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4002 move to proper scope to test variable values.
4003 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4004 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4005 New functions.
4006 (main): Call not_inline_func3.
4007 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4008 inline_func1, inline_func2, and inline_func3. Test that when each
4009 breakpoint is hit, GDB properly reports both the stop location
4010 and the backtrace. Repeat tests for temporary breakpoints.
4011
0726fcc6
MR
40122018-05-15 Maciej W. Rozycki <macro@mips.com>
4013
4014 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4015 rather then trying to access it in determining whether the PID
4016 of `gdbserver' could have been retrieved.
4017
8ee22052
AB
40182018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4019
4020 * gdb.arch/amd64-init-x87-values.S: New file.
4021 * gdb.arch/amd64-init-x87-values.exp: New file.
4022
7785df48
JK
40232018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4024
4025 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4026
56bcdbea
TT
40272018-05-04 Tom Tromey <tom@tromey.com>
4028
4029 PR python/22730:
4030 * gdb.python/python.exp: Test multi-line execute.
4031
a913fffb
TT
40322018-05-04 Tom Tromey <tom@tromey.com>
4033
4034 PR python/22731:
4035 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4036
7a2c85f2
TT
40372018-05-04 Tom Tromey <tom@tromey.com>
4038
4039 PR gdb/11750:
4040 * gdb.base/define.exp: Test defining a user command inside a user
4041 command.
4042 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4043
a3b60e45
JK
40442018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4045 Pedro Alves <palves@redhat.com>
4046
4047 PR breakpoints/19806 and support for PR external/20207.
4048 * gdb.base/watchpoint-unaligned.c: New file.
4049 * gdb.base/watchpoint-unaligned.exp: New file.
4050
45fe4a03
AB
40512018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4052
4053 * gdb.base/maint.exp: Make test names unique, use
4054 test_prefix_command_help to test 'help maint info', and remove
4055 repeated test of 'help maint'.
4056
9be2ae8f
TT
40572018-05-04 Tom Tromey <tom@tromey.com>
4058
4059 PR gdb/22619:
4060 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4061 behavior.
4062
11859c31
AB
40632018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4064
4065 * gdb.base/maint.exp: Process output from 'maint print registers'
4066 line at a time.
4067
089a9490
AB
40682018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4069
4070 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4071 timeout.
4072
9b0797e2
AB
40732018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4074
4075 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4076 filter pattern.
4077
f6ac5f3d
PA
40782018-05-02 Pedro Alves <palves@redhat.com>
4079
4080 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4081 to_log_command renames.
4082 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4083
77d3c63b
TT
40842018-05-02 Tom Tromey <tom@tromey.com>
4085
4086 * gdb.python/py-parameter.exp: Set test message.
4087
0489430a
TT
40882018-05-02 Tom Tromey <tom@tromey.com>
4089
4090 PR python/20084:
4091 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4092 PARAM_ZUINTEGER_UNLIMITED tests.
4093
1632f8ba
DR
40942018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4095
4096 PR rust/23124
4097 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4098 when casting.
4099
6d7bb824
TT
41002018-04-30 Tom Tromey <tom@tromey.com>
4101
4102 * gdb.python/py-type.exp: Check align attribute.
4103 * gdb.python/py-type.c: New "aligncheck" global.
4104
007e1530
TT
41052018-04-30 Tom Tromey <tom@tromey.com>
4106
4107 PR exp/17095:
4108 * gdb.dwarf2/dw2-align.exp: New file.
4109 * gdb.cp/align.exp: New file.
4110 * gdb.base/align.exp: New file.
4111 * lib/gdb.exp (gdb_int128_helper): New proc.
4112 (has_int128_c, has_int128_cxx): New caching procs.
4113
6873858b
TT
41142018-04-27 Tom Tromey <tom@tromey.com>
4115
4116 PR rust/22545:
4117 * gdb.rust/simple.exp: Add inclusive range tests.
4118
79188d8d
PA
41192018-04-26 Pedro Alves <palves@redhat.com>
4120
4121 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4122 ifunc breakpoint locations correctly of ifunc breakpoints set
4123 while the program resolves the ifunc.
4124
c7075ad5
PA
41252018-04-26 Pedro Alves <palves@redhat.com>
4126
4127 * gdb.base/gnu-ifunc-final.c: New file.
4128 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4129 * gdb.base/gnu-ifunc.exp (executable): Delete.
4130 (staticexecutable): Adjust.
4131 (lib_opts, exec_opts): Delete.
4132 (make_binsuffix, build, set-break): New procedures.
4133 (misc_tests): New, with tests factored out from the top level.
4134 (top level): Test different combinations of ifunc resolver name,
4135 resolver with and with debug info, and ifunc target with and
4136 without debug info. Wrap static tests with with_target_prefix.
4137
8388016d
PA
41382018-04-26 Pedro Alves <palves@redhat.com>
4139
4140 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4141 return type" warnings.
4142
249b5733
PA
41432018-04-25 Pedro Alves <palves@redhat.com>
4144
4145 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4146 killed".
4147 * gdb.base/kill-after-signal.exp: Likewise.
4148 * gdb.threads/kill.exp: Likewise.
4149
f67c0c91
SDJ
41502018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4151 Sergio Durigan Junior <sergiodj@redhat.com>
4152 Pedro Alves <palves@redhat.com>
4153
4154 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4155 regexps to expect for '[Inferior ... detached]' as well.
4156 * gdb.base/attach.exp: Likewise.
4157 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4158 "gdb_continue_to_end".
4159 (test_catch_syscall_with_wrong_args): Likewise.
4160 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4161 ']'. Don't set 'verbose' on.
4162 * gdb.base/foll-vfork.exp: Likewise.
4163 * gdb.base/fork-print-inferior-events.c: New file.
4164 * gdb.base/fork-print-inferior-events.exp: New file.
4165 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4166 '[Inferior ... has been killed]' message.
4167 * gdb.base/kill-after-signal.exp: Likewise.
4168 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4169 detach message.
4170 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4171 message.
4172 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4173 regexps to expect for '[Inferior ... detached]' as well.
4174 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4175
0a8ddac4
SM
41762018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4177
4178 PR gdb/23104
4179 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4180
d27d16bf
RB
41812018-04-19 Richard Bunt <richard.bunt@arm.com>
4182
4183 * gdb.threads/multiple-successive-infcall.c: New test.
4184 * gdb.threads/multiple-successive-infcall.exp: New file.
4185
a037790e
TT
41862018-04-17 Tom Tromey <tom@tromey.com>
4187
4188 * gdb.rust/simple.rs (Union): New type.
4189 (main): New local "u".
4190 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4191
e3a91079
AA
41922018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4193
4194 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4195 number information in output of "whereis" command.
4196 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4197
b744723f
AA
41982018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4199
4200 * gdb.ada/info_types.exp: Adjust expected output to the line
4201 numbers now printed by "info var/func/type".
4202 * gdb.base/completion.exp: Likewise.
4203 * gdb.base/included.exp: Likewise.
4204 * gdb.cp/cp-relocate.exp: Likewise.
4205 * gdb.cp/cplusfuncs.exp: Likewise.
4206 * gdb.cp/namespace.exp: Likewise.
4207 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4208
4a4495d6
MM
42092018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4210
4211 * gdb.btrace/cpu.exp: New.
4212
1d509aa6
MM
42132018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4214
4215 * gdb.base/step-indirect-call-thunk.exp: New.
4216 * gdb.base/step-indirect-call-thunk.c: New.
4217 * gdb.reverse/step-indirect-call-thunk.exp: New.
4218 * gdb.reverse/step-indirect-call-thunk.c: New.
4219
6295b6da
SM
42202018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4221
4222 * gdb.base/pie-fork.c: New file.
4223 * gdb.base/pie-fork.exp: New file.
4224
50146e70
TT
42252018-04-11 Tom Tromey <tom@tromey.com>
4226
4227 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4228
f50d8a2e
PA
42292018-04-10 Pedro Alves <palves@redhat.com>
4230
4231 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4232 exits. Instead loop running forever.
4233 (fork_parent): Run forever too.
4234
a0be7a36
SM
42352018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4236
4237 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4238 mi_continue_to_line.
4239 * gdb.mi/mi-stack.c (callee4): Add comment.
4240
9b73db36
SM
42412018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4242
4243 * gdb.mi/mi-stack.exp: Fix indentation.
4244
c912f608
SM
42452018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4246
4247 PR gdb/22979
4248 * gdb.arch/amd64-osabi.exp: New file.
4249
26540402
SM
42502018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4251
4252 PR gdb/22980
4253 * gdb.base/osabi.exp: New file.
4254
121ad66c 42552018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
4256
4257 * gdb.cp/static-typedef-print.exp: New file.
4258 * gdb.cp/static-typedef-print.cc: New file.
4259
3fcded8f
JB
42602018-03-27 Joel Brobecker <brobecker@adacore.com>
4261
4262 * gdb.ada/varsize_limit: New testcase.
4263
59cc4834
JB
42642018-03-27 Joel Brobecker <brobecker@adacore.com>
4265
4266 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4267
4268 * gdb.ada/notcplusplus: New testcase.
4269
4270 * gdb.base/c-linkage-name.c: New file.
4271 * gdb.base/c-linkage-name.exp: New testcase.
4272
4ca59a9f
TT
42732018-03-26 Tom Tromey <tom@tromey.com>
4274
4275 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4276 * gdb.python/py-framefilter.py (name_error): New global.
4277 (ErrorInName.function): Use name_error.
4278
978d6c75
TT
42792018-03-26 Tom Tromey <tom@tromey.com>
4280
4281 PR backtrace/15582:
4282 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4283
b7fee5a3
KS
42842018-03-23 Keith Seitz <keiths@redhat.com>
4285
4286 PR c++/22968
4287 * gdb.cp/subtypes.exp: New file.
4288 * gdb.cp/subtypes.h: New file.
4289 * gdb.cp/subtypes.cc: New file.
4290 * gdb.cp/subtypes-2.cc: New file.
4291
376be529
AB
42922018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4293
4294 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4295 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4296 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4297 -nostartfiles when compiling the test. Confirm that all registers
4298 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4299
066cfa98
AB
43002018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4301
4302 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4303 option, syntax was wrong anyway.
4304 * gdb.arch/arm-disp-step.exp: Likewise.
4305 * gdb.arch/sparc64-regs.exp: Likewise.
4306 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4307 option, syntax was wrong anyway, switch to use
4308 prepare_for_testing.
4309 * gdb.arch/i386-disp-step.exp: Likewise.
4310
079670b9
AA
43112018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4312
4313 * gdb.ada/exec_changed.exp: Replace "target_info exists
4314 use_gdb_stub" by "use_gdb_stub".
4315 * gdb.ada/start.exp: Likewise.
4316 * gdb.base/async-shell.exp: Likewise.
4317 * gdb.base/attach-pie-misread.exp: Likewise.
4318 * gdb.base/attach-wait-input.exp: Likewise.
4319 * gdb.base/break-entry.exp: Likewise.
4320 * gdb.base/break-interp.exp: Likewise.
4321 * gdb.base/dprintf-detach.exp: Likewise.
4322 * gdb.base/nostdlib.exp: Likewise.
4323 * gdb.base/solib-nodir.exp: Likewise.
4324 * gdb.base/statistics.exp: Likewise.
4325 * gdb.base/testenv.exp: Likewise.
4326 * gdb.mi/mi-exec-run.exp: Likewise.
4327 * gdb.mi/mi-start.exp: Likewise.
4328 * gdb.multi/dummy-frame-restore.exp: Likewise.
4329 * gdb.multi/multi-arch-exec.exp: Likewise.
4330 * gdb.multi/multi-arch.exp: Likewise.
4331 * gdb.multi/tids.exp: Likewise.
4332 * gdb.multi/watchpoint-multi.exp: Likewise.
4333 * gdb.python/py-events.exp: Likewise.
4334 * gdb.threads/attach-into-signal.exp: Likewise.
4335 * gdb.threads/attach-stopped.exp: Likewise.
4336 * gdb.threads/threadapply.exp: Likewise.
4337 * lib/selftest-support.exp: Likewise.
4338
26d6cec4
AA
43392018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4340
4341 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4342
4ee89e90
SR
43432018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4344
4345 * gdb.perf/template-breakpoints.cc: New file.
4346 * gdb.perf/template-breakpoints.exp: New file.
4347 * gdb.perf/template-breakpoints.py: New file.
4348
92630041
TT
43492018-03-19 Tom Tromey <tom@tromey.com>
4350
4351 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4352 y0.
4353 * gdb.rust/simple.exp: Test bare identifier form of struct
4354 initializer.
4355
76727919
TT
43562018-03-19 Tom Tromey <tom@tromey.com>
4357
4358 * gdb.gdb/observer.exp: Remove.
4359
194ed413
AA
43602018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4361
4362 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4363 "qualified" option when setting breakpoints.
4364 * gdb.trace/backtrace.exp: Likewise.
4365 * gdb.trace/circ.exp: Likewise.
4366 * gdb.trace/collection.exp: Likewise.
4367 * gdb.trace/disconnected-tracing.exp: Likewise.
4368 * gdb.trace/ftrace-lock.exp: Likewise.
4369 * gdb.trace/ftrace.exp: Likewise.
4370 * gdb.trace/infotrace.exp: Likewise.
4371 * gdb.trace/packetlen.exp: Likewise.
4372 * gdb.trace/passc-dyn.exp: Likewise.
4373 * gdb.trace/qtro.exp: Likewise.
4374 * gdb.trace/read-memory.exp: Likewise.
4375 * gdb.trace/report.exp: Likewise.
4376 * gdb.trace/signal.exp: Likewise.
4377 * gdb.trace/status-stop.exp: Likewise.
4378 * gdb.trace/strace.exp: Likewise.
4379 * gdb.trace/tfind.exp: Likewise.
4380 * gdb.trace/trace-break.exp: Likewise.
4381 * gdb.trace/trace-condition.exp: Likewise.
4382 * gdb.trace/trace-mt.exp: Likewise.
4383 * gdb.trace/tstatus.exp: Likewise.
4384 * gdb.trace/tsv.exp: Likewise.
4385 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4386 * gdb.trace/unavailable.exp: Likewise.
4387 * gdb.trace/while-dyn.exp: Likewise.
4388
8b067d2c
AA
43892018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4390
4391 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4392 that libinproctrace is copied to the target.
4393
3ae9ce5d
TT
43942018-03-14 Tom Tromey <tom@tromey.com>
4395
4396 PR cli/14977:
4397 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4398 a null pointer.
4399 * gdb.base/wchar.exp: Likewise.
4400
b8c2339b
TT
44012018-03-14 Tom Tromey <tom@tromey.com>
4402
4403 PR cli/19918:
4404 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4405 flag.
4406
4872dc46
SM
44072018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4408
4409 PR gdb/22841
4410 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4411 "target" to remote_exec.
4412
e4fe3756
SM
44132018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4414
4415 PR gdb/22841
4416 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4417 ${board}_upload): Remove.
4418
e95a97d4
AA
44192018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4420
4421 * gdb.cp/watch-cp.cc: New test.
4422 * gdb.cp/watch-cp.exp: New file.
4423
dbbb1059
AB
44242018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4425
4426 * gdb.base/infcall-nested-structs.exp: New file.
4427 * gdb.base/infcall-nested-structs.c: New file.
4428 * gdb.base/float.exp: Add riscv support.
4429
ecc054c0
TP
44302018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4431
4432 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4433 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4434
25e3c82c
SDJ
44352018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4436
4437 * gdb.server/abspath.exp: New file.
4438 * lib/gdb.exp (with_cwd): New procedure.
4439
3083294d
SM
44402018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4441
4442 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4443 use it.
4444 (gdb_is_target_remote_prompt): New proc.
4445 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4446 (gdb_is_target_native): Pass prompt parameter to
4447 gdb_is_target_1.
4448
3275ef47
SM
44492018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4450
4451 * gdb.base/load-command.c: New file.
4452 * gdb.base/load-command.exp: New file.
4453 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4454 (gdb_is_target_1): ...this, and generalize for other targets
4455 than just remote.
4456 (gdb_is_target_remote): Use gdb_is_target_1.
4457 (gdb_is_target_native): use gdb_is_target_1.
4458
6893c19a
TT
44592018-02-26 Tom Tromey <tom@tromey.com>
4460
4461 PR python/16497:
4462 * gdb.python/py-framefilter.exp: Update test.
4463
2ddeaf8a
TT
44642018-02-26 Tom Tromey <tom@tromey.com>
4465
4466 * gdb.dwarf2/variant.c: New file.
4467 * gdb.dwarf2/variant.exp: New file.
4468
c9317f21
TT
44692018-02-26 Tom Tromey <tom@tromey.com>
4470
4471 * gdb.rust/simple.exp: Accept more possible results in enum test.
4472
6f6d0c26
SM
44732018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4474
4475 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4476 parentheses.
4477
11b03145
MR
44782018-02-23 Maciej W. Rozycki <macro@mips.com>
4479
4480 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4481 name of a variable: $actual_linejj -> $actual_line.
4482
54a27fe5
JB
44832018-02-21 John Baldwin <jhb@FreeBSD.org>
4484
4485 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4486
de65820c
MM
44872018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4488
4489 * gdb.btrace/buffer-size.exp: Do not force BTS.
4490
980548fd
PA
44912018-02-14 Pedro Alves <palves@redhat.com>
4492
4493 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4494 getting a "Quit".
4495
c4e12631
MM
44962018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4497
4498 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4499 Fix test name.
4500
c2e0e465
SM
45012018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4502
4503 * gdb.cp/m-static.exp: Check type of optimized out static
4504 member.
4505
f7216783
AB
45062018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4507
4508 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4509 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4510
0625771b
LS
45112018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4512 Leszek Swirski <leszeks@google.com>
4513
4514 * gdb.python/py-prettyprint.c
4515 (struct to_string_returns_value_inner,
4516 struct to_string_returns_value_wrapper): New.
4517 (main): Add tsrvw variable.
4518 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4519 ToStringReturnsValueWrapper): New classes.
4520 (register_pretty_printers): Register new pretty-printers.
4521 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4522 recursive pretty printer.
4523 * gdb.python/py-mi.exp: Likewise.
4524
59498c30
LS
45252018-02-01 Leszek Swirski <leszeks@google.com>
4526
4527 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4528 functions with the same name as an include file are parsed
4529 correctly.
4530
d4d38844
YQ
45312018-02-01 Yao Qi <yao.qi@linaro.org>
4532
4533 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4534 "\[^\r\n\]*".
4535
07e5f5cf
NP
45362018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4537
4538 * gdb.arch/powerpc-prologue-frame.s: New file.
4539 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4540 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4541
929b5ad4
JB
45422018-01-31 Joel Brobecker <brobecker@adacore.com>
4543
4544 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4545
e671cd59
PA
45462018-01-30 Pedro Alves <palves@redhat.com>
4547
4548 PR gdb/13211
4549 * gdb.base/interrupt-daemon.c: New.
4550 * gdb.base/interrupt-daemon.exp: New.
4551 * gdb.multi/multi-term-settings.c: New.
4552 * gdb.multi/multi-term-settings.exp: New.
4553
fc413dc4
JB
45542018-01-30 Joel Brobecker <brobecker@adacore.com>
4555
4556 * gdb.base/break.exp: Save the location where the breakpoint
4557 on break.c:47 was actually inserted when debugging the version
4558 compiled at -O2 and use it in the expected output of the "info
4559 break" test performed soon after.
4560
5c319bb2
PA
45612018-01-22 Pedro Alves <palves@redhat.com>
4562 Sergio Durigan Junior <sergiodj@redhat.com>
4563
4564 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4565 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4566
a9e40818
JB
45672018-01-22 Joel Brobecker <brobecker@adacore.com>
4568
4569 * gdb.base/break-include.c, gdb.base/break-include.inc,
4570 gdb.base/break-include.exp: New files.
4571 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4572 line number now being the actual line number where the breakpoint
4573 was inserted.
4574 * gdb.mi/mi-break.exp: Likewise.
4575 * gdb.mi/mi-reverse.exp: Likewise.
4576 * gdb.mi/mi-simplerun.exp: Ditto.
4577
e707fc44
AB
45782018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4579
4580 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4581 varobj.
4582 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4583
ae451627
AB
45842018-01-21 Don Breazeal <donb@codesourcery.com>
4585 Andrew Burgess <andrew.burgess@embecosm.com>
4586
4587 * gdb.mi/basics.c: Add new global.
4588 * gdb.mi/mi-frame-regs.exp: New file.
4589 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4590 case.
4591
b1b189e0
AB
45922018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4593
4594 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4595 non-parameter, and on an unknown symbol.
4596
fcfcc376
TT
45972018-01-19 Tom Tromey <tom@tromey.com>
4598
4599 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4600 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4601
634c1c31
AA
46022018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4603
4604 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4605 setrlimit and chdir to int.
4606
d6ad07fd
AA
46072018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4608
4609 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4610 function.
4611 (my_tend): Likewise.
4612 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4613 rationale of avoiding FP- and vector instructions.
4614
adf8243b
RK
46152018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4616
4617 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4618 "info reg" with "\[ \t\]*".
4619 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4620 "\[ \t\]+".
4621 * gdb.arch/s390-multiarch.exp: Ditto.
4622 * gdb.base/pc-fp.exp: Ditto.
4623 * gdb.reverse/i386-precsave.exp: Ditto.
4624 * gdb.reverse/i386-reverse.exp: Ditto.
4625 * gdb.reverse/i387-env-reverse.exp: Ditto.
4626 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4627
dcc06925
AA
46282018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4629
4630 * lib/gdb.exp (gdb_compile): Re-enable use of
4631 universal_compile_options for languages other than Rust.
4632
25d4fd80
AA
46332018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4634
4635 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4636
ee7f689e 46372018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
4638
4639 PR gdb/16577
4640 * gdb.base/solib-vanish.exp: New.
4641 * gdb.base/solib-vanish-main.c: New.
4642 * gdb.base/solib-vanish-lib1.c: New.
4643 * gdb.base/solib-vanish-lib2.c: New.
4644
d8447b6b
YQ
46452018-01-17 Yao Qi <yao.qi@linaro.org>
4646
4647 * gdb.compile/compile.exp: Match the address printed for
4648 frame in the output of command "bt".
4649
86d6a90c
TT
46502018-01-15 Tom Tromey <tom@tromey.com>
4651
4652 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4653 compute sp_reg.
4654
cbcdb1aa
AB
46552018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4656
4657 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4658 to prepare.
4659 (prepare): Return 0 on error, 1 on success.
4660
eea61984
PA
46612018-01-12 Pedro Alves <palves@redhat.com>
4662
4663 * gdb.base/continue-after-aborted-step-over.c: New.
4664 * gdb.base/continue-after-aborted-step-over.exp: New.
4665
6181e9c2
SM
46662018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4667
4668 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4669 options when not creating an executable.
4670
3cada740
PA
46712018-01-11 Pedro Alves <palves@redhat.com>
4672
4673 PR remote/22597
4674 * gdb.server/stop-reply-no-thread.c: New file.
4675 * gdb.server/stop-reply-no-thread.exp: New file.
4676
c63d3e8d
PA
46772018-01-10 Pedro Alves <palves@redhat.com>
4678
4679 PR gdb/22670
4680 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4681 functions too. Test setting breakpoints and printing C functions
4682 with no debug info too.
4683 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4684
d4c2a405
PA
46852018-01-10 Pedro Alves <palves@redhat.com>
4686
4687 PR gdb/22670
4688 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4689 a fail.
4690
8825213e
PA
46912018-01-10 Pedro Alves <palves@redhat.com>
4692
4693 PR gdb/22670
4694 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4695
605fd3c6
YQ
46962018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4697
4698 * gdb.server/unittest.exp: Match the output in non-development
4699 mode.
4700
1e5ded6c
YQ
47012018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4702
4703 * gdb.gdb/unittest.exp: Match output in non-development mode.
4704
30066b0b
JB
47052018-01-08 Joel Brobecker <brobecker@adacore.com>
4706
4707 * gdb.ada/access_tagged_param.exp: Relax expected output
4708 for value of "ObjL" in "continue" to pck.inspect breakpoint
4709 test.
4710
04bafb1e
XR
47112018-01-08 Joel Brobecker <brobecker@adacore.com>
4712
9f86398b
JB
4713 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4714 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 4715
e379cee6
PA
47162018-01-05 Pedro Alves <palves@redhat.com>
4717
4718 PR gdb/18653
4719 * gdb.base/libsegfault.exp: New.
4720
de63c46b
PA
47212018-01-05 Joel Brobecker <brobecker@adacore.com>
4722
4723 PR gdb/22670
4724 * gdb.ada/access_tagged_param.exp: New file.
4725 * gdb.ada/access_tagged_param/foo.adb: New file.
4726
f98fc17b
PA
47272018-01-05 Pedro Alves <palves@redhat.com>
4728
4729 PR gdb/22670
4730 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4731 exercise lower case too, and to exercise both full matching and
4732 wild matching.
4733
342f8240
JB
47342018-01-05 Joel Brobecker <brobecker@adacore.com>
4735
4736 * gdb.ada/rename_subscript_param: New testcase.
4737
7150d33c
JG
47382018-01-05 Jerome Guitton <guitton@adacore.com>
4739
4740 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4741
cc0e770c
JB
47422018-01-05 Joel Brobecker <brobecker@adacore.com>
4743
4744 * gdb.ada/convvar_comp: New testcase.
4745
672a41aa 47462018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
4747
4748 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4749 (My_Table): New global variable.
4750 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4751
7365ec2f
JB
47522018-01-04 Joel Brobecker <brobecker@adacore.com>
4753
4754 PR gdb/22670
4755 * gdb.ada/maint_with_ada: New testcase.
4756
289483b6
JB
47572018-01-04 Joel Brobecker <brobecker@adacore.com>
4758
4759 PR gdb/22670
4760 * gdb.ada/bp_c_mixed_case: New testcase.
4761
344420da
JB
47622018-01-04 Joel Brobecker <brobecker@adacore.com>
4763
4764 PR gdb/22670
4765 * gdb.ada/complete.exp: Add "complete break ada" test.
4766
66fc87a0
JB
47672018-01-04 Joel Brobecker <brobecker@adacore.com>
4768
4769 PR gdb/22670
4770 * gdb.ada/info_addr_mixed_case: New testcase.
4771
9f757bf7
XR
47722018-01-03 Xavier Roirand <roirand@adacore.com>
4773
4774 * gdb.ada/excep_handle.exp: New testcase.
4775 * gdb.ada/excep_handle/foo.adb: New file.
4776 * gdb.ada/excep_handle/pck.ads: New file.
4777
bd570f80
JB
47782018-01-03 Joel Brobecker <brobecker@adacore.com>
4779
4780 * gdb.base/step-line.c: Add extra empty line in copyright header.
4781 * gdb.base/step-line.inp: Likewise.
4782
9fe561ab
JB
47832018-01-02 Joel Brobecker <brobecker@adacore.com>
4784
4785 * gdb.ada/dyn_stride.exp: Add slice test.
4786
a405673c
JB
47872018-01-02 Joel Brobecker <brobecker@adacore.com>
4788
4789 * gdb.ada/dyn_stride: New testcase.
4790
cef0f868
SH
47912017-12-27 Stafford Horne <shorne@gmail.com>
4792
4793 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4794 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4795
b67d92b0
SH
47962017-12-27 Stafford Horne <shorne@gmail.com>
4797
4798 * gdb.base/reggroups.c: New file.
4799 * gdb.base/reggroups.exp: New file.
4800
eccab96d
JB
48012017-12-18 Joel Brobecker <brobecker@adacore.com>
4802
4803 * gdb.dwarf2/ada-valprint-error.c: New file.
4804 * gdb.dwarf2/ada-valprint-error.exp: New file.
4805
0e2da9f0
JB
48062017-12-18 Joel Brobecker <brobecker@adacore.com>
4807
4808 * gdb.ada/assign_arr: New testcase.
4809
cb923fcc
XR
48102017-12-18 Xavier Roirand <roirand@adacore.com>
4811
4812 * gdb.ada/funcall_ptr: New testcase.
4813
7c161838
SDJ
48142017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4815
4816 PR cli/16224
4817 * gdb.base/ptype-offsets.cc: New file.
4818 * gdb.base/ptype-offsets.exp: New file.
4819
1af17fd9
YQ
48202017-12-15 Yao Qi <yao.qi@linaro.org>
4821
4822 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4823 if XML is disabled.
4824
828d5846
XR
48252017-12-15 Xavier Roirand <roirand@adacore.com>
4826
4827 * gdb.ada/same_component_name: New testcase.
4828
79e8fcaa
JB
48292017-12-14 Joel Brobecker <brobecker@adacore.com>
4830
4831 * gdb.ada/str_binop_equal: New testcase.
4832
e05fa6f9
JB
48332017-12-14 Joel Brobecker <brobecker@adacore.com>
4834
4835 * gdb.ada/task_switch_in_core: New testcase.
4836
b89641ba
SM
48372017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4838
4839 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4840 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4841 call test_bkpt_qualified.
4842 (test_bkpt_qualified): New proc.
4843
6892d2e4
PA
48442017-12-13 Pedro Alves <palves@redhat.com>
4845
4846 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4847 Tighten regexp by matching with an anchor.
4848
a22ecf70
PA
48492017-12-13 Pedro Alves <palves@redhat.com>
4850
4851 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4852 ("expression with namespace"): New set of tests.
4853 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4854 (Nested::Test_NS::qux): New.
4855 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4856 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4857
9937536c
JB
48582017-12-13 Joel Brobecker <brobecker@adacore.com>
4859
4860 * gdb.base/server-del-break.c: New file.
4861 * gdb.base/server-del-break.exp: New file.
4862
fe49c6f5
SH
48632017-12-12 Stafford Horne <shorne@gmail.com>
4864
4865 * gdb.xml/tdesc-regs.exp: Add or1k support.
4866
c3d18620
SH
48672017-12-12 Stafford Horne <shorne@gmail.com>
4868
4869 * gdb.base/bp-permanent.c: Define nop of or1k.
4870
c5f9cfc8
JB
48712017-12-11 Joel Brobecker <brobecker@adacore.com>
4872
4873 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4874 output with components being reordered.
4875
a9c135fc
JB
48762017-12-11 Joel Brobecker <brobecker@adacore.com>
4877
4878 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4879 output with components being reordered.
4880
927aa2e7
JK
48812017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4882 Pedro Alves <palves@redhat.com>
4883
4884 * gdb.base/maint.exp (check for .gdb_index): Check also for
4885 .debug_names.
4886 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4887 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4888 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4889 (.gdb_index used after symbol reloading): Support also .debug_names.
4890 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4891
f17d9474
YQ
48922017-12-08 Yao Qi <yao.qi@linaro.org>
4893
4894 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4895 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4896
a0de8c21
YQ
48972017-12-08 Yao Qi <yao.qi@linaro.org>
4898
4899 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4900 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4901
a738ea1d
YQ
49022017-12-08 Yao Qi <yao.qi@linaro.org>
4903
4904 * gdb.arch/aarch64-tagged-pointer.c: New file.
4905 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4906
1cd9a73b
SDJ
49072017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4908
4909 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4910 "int".
4911
fa6eb693
KS
49122017-12-07 Keith Seitz <keiths@redhat.com>
4913
4914 PR breakpoints/22569
4915 * gdb.linespec/ls-errs.exp: Change expected result of "break
4916 -source this file has spaces.c -line 3".
4917 Check that an explicit source file followed by whitespace is
4918 identified as an invalid explicit location.
4919
883fd55a
KS
49202017-12-07 Keith Seitz <keiths@redhat.com>
4921
4922 * gdb.cp/nested-types.cc: New file.
4923 * gdb.cp/nested-types.exp: New file.
4924 * lib/cp-support.exp: Load data-structures.exp library.
4925 (debug_cp_test_ptype_class): New global.
4926 (cp_ptype_class_verbose, next_line): New procedures.
4927 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4928 Add and document new return value.
4929 Switch the list of lines to a queue.
4930 Add support for new `type' key for nested type definitions.
4931 Add debugging/troubleshooting messages.
4932 * lib/data-structures.exp: New file.
4933
ec72db3e
SM
49342017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4935
4936 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4937 with proc_with_prefix, don't use with_test_prefix.
4938
99598d71
TT
49392017-12-07 Tom Tromey <tom@tromey.com>
4940
4941 * gdb.base/break.exp: Add test for empty "commands".
4942
a8806230
YQ
49432017-12-07 Yao Qi <yao.qi@linaro.org>
4944
4945 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4946 malloc and catch syscall.
4947
824cc835
PM
49482017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4949
e79be6e5 4950 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
4951 tests for explicit locations.
4952
7cc244de
PA
49532017-12-06 Pedro Alves <palves@redhat.com>
4954
4955 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4956 force-disabling XML descriptions.
4957
50a1fdd5
PA
49582017-12-04 Pedro Alves <palves@redhat.com>
4959
4960 PR gdb/22499
4961 * gdb.arch/amd64-disp-step-avx.S: New file.
4962 * gdb.arch/amd64-disp-step-avx.exp: New file.
4963
f0fb2488
PA
49642017-12-03 Pedro Alves <palves@redhat.com>
4965
4966 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4967 and <string.h>.
4968 (parent_function): Print distinct messages when waitpid fails, or
4969 the child exits with a signal, or the child exits for an unhandled
4970 reason.
4971 * gdb.threads/process-dies-while-detaching.exp
4972 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4973 it. Wait for both inferior output and GDB's prompt. Use an
4974 indirect spawn id list.
4975 (do_detach): New parameter 'child_exit'. Use it to compute
4976 expected inferior output.
4977 (test_detach, test_detach_watch, test_detach_killed_outside):
4978 Adjust to pass down the expected child exit kind.
4979
97cbe998
SDJ
49802017-12-01 Joel Brobecker <brobecker@adacore.com>
4981 Sergio Durigan Junior <sergiodj@redhat.com>
4982 Pedro Alves <palves@redhat.com>
4983
4984 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4985
40fc416f
SDJ
49862017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4987
4988 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4989 to 'symbol-file' and 'add-symbol-file' can be
4990 position-independent.
4991
1cc75e92
YQ
49922017-12-01 Yao Qi <yao.qi@linaro.org>
4993
4994 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4995 the URL in copyright header.
4996 * gdb.arch/aarch64-fp.exp: Likewise.
4997 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4998 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4999 * gdb.base/expand-psymtabs.exp: Likewise.
5000 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5001 * gdb.fortran/common-block.exp: Likewise.
5002 * gdb.fortran/common-block.f90: Likewise.
5003 * gdb.fortran/logical.exp: Likewise.
5004 * gdb.fortran/vla-datatypes.f90: Likewise.
5005 * gdb.fortran/vla-sub.f90: Likewise.
5006
875fb7a7
JB
50072017-11-30 Joel Brobecker <brobecker@adacore.com>
5008
5009 * gdb.ada/repeat_dyn: New testcase.
5010
6f14765f
UW
50112017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5012
5013 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5014 Update for changed thread numbering.
5015 * gdb.cell/bt.exp: Update for changed GDB output.
5016
f1af7b94
SM
50172017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5018
5019 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5020 setting isremote by hand.
5021 * boards/dwarf4-gdb-index.exp: Likewise.
5022 * boards/fission.exp: Likewise.
5023 * boards/stabs.exp: Likewise.
5024
e3919f3e
PA
50252017-11-30 Pedro Alves <palves@redhat.com>
5026
5027 * gdb.linespec/cpls-ops.exp
5028 (check_explicit_skips_function_argument): Extract the underlying
5029 type of size_t instead of hardcoding it.
5030
bd69330d
PA
50312017-11-29 Pedro Alves <palves@redhat.com>
5032
5033 PR c++/19436
5034 * gdb.linespec/cpls-abi-tag.cc: New file.
5035 * gdb.linespec/cpls-abi-tag.exp: New file.
5036
a20714ff
PA
50372017-11-29 Pedro Alves <palves@redhat.com>
5038
5039 * gdb.base/langs.exp: Use -qualified.
5040 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5041 it.
5042 * gdb.cp/namespace.exp: Use -qualified.
5043 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5044 (overload-3, template-overload, template-ret-type, const-overload)
5045 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5046 procedures.
5047 (test_driver): Call them.
5048 * gdb.cp/save-bp-qualified.cc: New.
5049 * gdb.cp/save-bp-qualified.exp: New.
5050 * gdb.linespec/explicit.exp: Test -qualified.
5051 * lib/completion-support.exp (completion::explicit_opts_list): Add
5052 "-qualified".
5053 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5054
f6f1d339
PM
50552017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5056
5057 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5058
02ca603a
TT
50592017-11-29 Tom Tromey <tom@tromey.com>
5060
5061 * gdb.base/relocate.exp: Update invalid argument test.
5062 Add new tests for invalid arguments.
5063
ed6c0bfb
TP
50642017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5065
5066 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5067 Return 0 as a long.
5068 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5069
f106e10e
TP
50702017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5071
5072 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5073 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5074 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5075 func ().
5076 * gdb.cp/shadow.cc (B.func): Return 0.
5077
10329bb2
JB
50782017-11-27 Joel Brobecker <brobecker@adacore.com>
5079
5080 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5081 expected output in gdb_expect call to allow the exception
5082 message to be present as well. Fix syntax confusion to avoid
5083 TCL thinking that exception_name is an array.
5084
617cd4bc
UW
50852017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5086
5087 * gdb.arch/spu-info.c: Include <unistd.h>.
5088 (do_signal_test): Fix broken calls to write.
5089 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5090 Fix checks for empty mailboxes. Update signal tests for corrected
5091 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
5092 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5093 * gdb.cell/arch.exp: Use standard_output_file.
5094 * gdb.cell/break.exp: Likewise.
5095 * gdb.cell/bt.exp: Likewise.
5096 * gdb.cell/core.exp: Likewise.
5097 * gdb.cell/dwarfaddr.exp: Likewise.
5098 * gdb.cell/ea-cache.exp: Likewise.
5099 * gdb.cell/ea-standalone.exp: Likewise.
5100 * gdb.cell/f-regs.exp: Likewise.
5101 * gdb.cell/fork.exp: Likewise.
5102 * gdb.cell/gcore.exp: Likewise.
5103 * gdb.cell/mem-access.exp: Likewise.
5104 * gdb.cell/ptype.exp: Likewise.
5105 * gdb.cell/registers.exp: Likewise.
5106 * gdb.cell/sizeof.exp: Likewise.
5107 * gdb.cell/solib-symbol.exp: Likewise.
5108 * gdb.cell/solib.exp: Likewise.
617cd4bc 5109
a81aaca0
PA
51102017-11-25 Pedro Alves <palves@redhat.com>
5111
5112 * gdb.base/complete-empty.exp: New file.
5113 * gdb.base/completion.exp: Adjust.
5114
6a3c6ee4
PA
51152017-11-25 Pedro Alves <palves@redhat.com>
5116
5117 * gdb.linespec/cpls-ops.cc: New file.
5118 * gdb.linespec/cpls-ops.exp: New file.
5119 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5120 factored out from ...
5121 (test_complete_prefix_range): ... this.
5122
8955eb2d
PA
51232017-11-24 Pedro Alves <palves@redhat.com>
5124
5125 * gdb.linespec/cpcompletion.exp: New file.
5126 * gdb.linespec/cpls-hyphen.cc: New file.
5127 * gdb.linespec/cpls.cc: New file.
5128 * gdb.linespec/cpls2.cc: New file.
5129 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5130 test to use test_gdb_complete_unique. Add label completion,
5131 keyword completion and explicit location completion tests.
5132 * lib/completion-support.exp: New file.
5133
e547c119
JB
51342017-11-24 Joel Brobecker <brobecker@adacore.com>
5135
5136 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5137 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5138 when hitting an exception catchpoint.
5139
7c3c1aa8
YQ
51402017-11-22 Yao Qi <yao.qi@linaro.org>
5141
5142 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5143
41bd68f5
SM
51442017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5145
5146 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5147 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5148 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5149
1daad298
YQ
51502017-11-22 Yao Qi <yao.qi@linaro.org>
5151
5152 * gdb.base/info-os.exp: Pass pthreads.
5153 * gdb.multi/multi-attach.exp: Likewise.
5154
88465e87
YQ
51552017-11-22 Yao Qi <yao.qi@linaro.org>
5156
5157 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5158 compiler.
5159
dc196b23
YQ
51602017-11-22 Yao Qi <yao.qi@linaro.org>
5161
5162 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5163 * gdb.base/break-interp.exp: Likewise.
5164 * gdb.base/jit-attach-pie.exp: Likewise.
5165
2400729e
UW
51662017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5167
5168 * gdb.base/float128.c (large128): New variable.
5169 * gdb.base/float128.exp: Add test to print largest __float128 value.
5170
7a26362d
UW
51712017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5172
5173 * gdb.arch/vsx-regs.exp: Update register content checks.
5174
ed0f4273
UW
51752017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5176
5177 * gdb.arch/ppc-longdouble.exp: New file.
5178 * gdb.arch/ppc-longdouble.c: Likewise.
5179
a25d69c6
PA
51802017-11-21 Pedro Alves <palves@redhat.com>
5181
5182 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5183
73fcf641
PA
51842017-11-20 Pedro Alves <palves@redhat.com>
5185
5186 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5187 (long_double_typedef): New typedefs.
5188 Use DEF on double and long double.
5189 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5190 cases.
5191 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5192 and 'long_double_ptr_same_size' locals. Use them to decide
5193 whether cast from array/function to float is valid/invalid.
5194
71a3c369
TT
51952017-11-17 Tom Tromey <tom@tromey.com>
5196
5197 * gdb.rust/traits.rs: New file.
5198 * gdb.rust/traits.exp: New file.
5199
ced9779b
JB
52002017-11-17 Joel Brobecker <brobecker@adacore.com>
5201
5202 * gdb.ada/minsyms: New testcase.
5203
a0922d80
PA
52042017-11-16 Pedro Alves <palves@redhat.com>
5205
5206 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5207 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5208
ea04e54c
PA
52092017-11-16 Pedro Alves <palves@redhat.com>
5210
5211 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5212 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5213
e849ea89
PA
52142017-11-16 Pedro Alves <palves@redhat.com>
5215
5216 * gdb.server/reconnect-ctrl-c.c: New file.
5217 * gdb.server/reconnect-ctrl-c.exp: New file.
5218
d8ae99a7
PM
52192017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5220
5221 * gdb.python/py-rbreak.exp: New file.
5222 * gdb.python/py-rbreak.c: New file.
5223 * gdb.python/py-rbreak-func2.c: New file.
5224
968a13f8
PA
52252017-11-16 Pedro Alves <palves@redhat.com>
5226
5227 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5228 pattern.
5229 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5230 GDB.
5231
71774bc9
SM
52322017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5233
5234 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5235 regex.
5236
ddbb44cf
SM
52372017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5238
5239 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5240 test names.
5241
584a564f
PA
52422017-11-09 Pedro Alves <palves@redhat.com>
5243
5244 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5245 factored out from ...
5246 (top level): ... here, and adjusted to avoid expecting beyond the
5247 prompt in a single gdb_test_multiple.
5248
5ed7a928
PA
52492017-11-09 Pedro Alves <palves@redhat.com>
5250
5251 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5252 output.
5253 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5254 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5255 * gdb.server/ext-run.exp ("kill" test): Likewise.
5256 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5257
a60e0738
PA
52582017-11-09 Pedro Alves <palves@redhat.com>
5259
5260 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5261 match till end of line.
5262
2c88253f
PA
52632017-11-09 Pedro Alves <palves@redhat.com>
5264
5265 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5266
c7a38517
PA
52672017-11-09 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5270 New procedures, factored out from ...
5271 (top level): ... here, and adjusted to avoid expecting beyond the
5272 prompt in one go.
5273
f29f4b6b
PA
52742017-11-09 Pedro Alves <palves@redhat.com>
5275
5276 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5277 output. Fix '?' match.
5278
286acbb5
JB
52792017-11-08 Joel Brobecker <brobecker@adacore.com>
5280
5281 * gdb.ada/scoped_watch: New testcase.
5282 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5283 which is actually correct.
5284 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5285 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5286
62d7ae92
PA
52872017-11-08 Pedro Alves <palves@redhat.com>
5288
5289 * gdb.gdb/complaints.exp (test_initial_complaints)
5290 (test_serial_complaints, test_short_complaints): Call
5291 complaint_internal instead of complaint.
5292
280ca31f
DT
52932017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5294
5295 * gdb.threads/tls-core.c: New file.
5296 * gdb.threads/tls-core.exp: Likewise.
5297
b5ec771e
PA
52982017-11-08 Pedro Alves <palves@redhat.com>
5299
5300 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5301 (p Exported_Capitalized): New test.
5302 (p exported_capitalized): New test.
5303
a02b41a7
PA
53042017-11-07 Pedro Alves <palves@redhat.com>
5305
5306 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5307
95e95a6d
PA
53082017-11-07 Pedro Alves <palves@redhat.com>
5309
5310 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5311 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5312 (disable_invalid, disable_inverted, disable_negative): New
5313 procedures.
5314 ("bad numbers"): New set of tests.
5315
cee62dbd
PA
53162017-11-07 Pedro Alves <palves@redhat.com>
5317
5318 * gdb.cp/ena-dis-br-range.exp: Add tests.
5319
cc638e86
PA
53202017-11-07 Pedro Alves <palves@redhat.com>
5321
5322 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5323
d0fe4701
XR
53242017-11-07 Xavier Roirand <roirand@adacore.com>
5325 Pedro Alves <palves@redhat.com>
5326
5327 * gdb.base/ena-dis-br.exp: Add reference to
5328 gdb.cp/ena-dis-br-range.exp.
5329 * gdb.cp/ena-dis-br-range.exp: New file.
5330 * gdb.cp/ena-dis-br-range.cc: New file.
5331
46f67f80
PA
53322017-11-06 Pedro Alves <palves@redhat.com>
5333
5334 * gdb.base/attach-non-pgrp-leader.c: New.
5335 * gdb.base/attach-non-pgrp-leader.exp: New.
5336
726e1356
PA
53372017-11-06 Pedro Alves <palves@redhat.com>
5338
5339 * configure.ac: No longer check for termio.h and sgtty.h.
5340 * configure: Regenerate.
5341 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5342 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5343 Remove termio and sgtty code.
5344
50ab6ace
YQ
53452017-11-03 Yao Qi <yao.qi@linaro.org>
5346
5347 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5348 in GDB is disabled.
5349
8e68731c
YQ
53502017-11-03 Yao Qi <yao.qi@linaro.org>
5351
5352 * gdb.python/py-thrhandle.exp: Skip it if python is not
5353 enabled.
5354
3a87ae65
SM
53552017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5356
5357 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5358 as a breakpoint command.
5359
484d8d36
MD
53602017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5361
5362 PR python/21213
5363 * gdb.python/py-infthread.exp: Test calling
5364 InferiorThread.inferior () multiple times in a row.
5365
4a27f119
KS
53662017-10-27 Keith Seitz <keiths@redhat.com>
5367
5368 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5369 Test "info break" for every inlined function breakpoint.
5370
bb11dd58
YQ
53712017-10-27 Yao Qi <yao.qi@linaro.org>
5372
5373 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5374
a43f3893
PF
53752017-10-26 Patrick Frants <osscontribute@gmail.com>
5376
5377 * gdb.cp/classes.exp (test_static_members): Test printing
5378 Outer::instance.
5379 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5380 (Inner::instance, Outer::instance): New.
5381
792ccf00
PA
53822017-10-24 Pedro Alves <palves@redhat.com>
5383
5384 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5385 extra console" test in two stages.
5386
eb2bfbad
PA
53872017-10-24 Pedro Alves <palves@redhat.com>
5388
5389 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5390
1f75a651
PA
53912017-10-24 Pedro Alves <palves@redhat.com>
5392
5393 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5394 loop.
5395
779990d9
PA
53962017-10-24 Pedro Alves <palves@redhat.com>
5397
5398 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5399 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5400
ad9b8f5d
PA
54012017-10-24 Pedro Alves <palves@redhat.com>
5402
5403 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5404 parameter and handle it. Don't output read value in test name.
5405
fee6da6e
PA
54062017-10-24 Pedro Alves <palves@redhat.com>
5407
5408 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5409 custom test name.
5410
10389c2c
PA
54112017-10-24 Pedro Alves <palves@redhat.com>
5412
5413 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5414 include the unstable output directory name in the test's name.
5415 (initial_setup_simple) <'set args'>: Use custom test name.
5416
a80e65a9
PA
54172017-10-24 Pedro Alves <palves@redhat.com>
5418
5419 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5420 with explicit test name.
5421
15763a09
PA
54222017-10-20 Pedro Alves <palves@redhat.com>
5423
5424 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5425 'wait -i'. Use gdb_assert and remote_close.
5426
49a4ce2e
AB
54272017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5428
5429 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5430 number from variable rather than hard-coded.
5431
a75868f5
PA
54322017-10-19 Pedro Alves <palves@redhat.com>
5433
5434 * gdb.base/long-inferior-output.c: New file.
5435 * gdb.base/long-inferior-output.exp: New file.
5436
c8ba13ad
KS
54372017-11-18 Keith Seitz <keiths@redhat.com>
5438
5439 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5440 method.
5441 (main): Call it.
5442 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5443 Add additional user-defined conversion operator tests.
5444
b27de576
PA
54452017-10-17 Pedro Alves <palves@redhat.com>
5446
5447 * boards/native-stdio-gdbserver.exp: Load "local-board".
5448
8484c955
PA
54492017-10-17 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.base/quit-live.c: New file.
5452 * gdb.base/quit-live.exp: New file.
5453
83d5a34d
KS
54542017-10-16 Keith Seitz <keiths@redhat.com>
5455
5456 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5457 (class_with_protected_typedef, class_with_private_typedef)
5458 (struct_with_public_typedef, struct_with_protected_typedef)
5459 (struct_with_private_typedef): New classes/structs.
5460 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5461 typedefs and access specifiers.
5462
739b3f1d
PA
54632017-10-16 Pedro Alves <palves@redhat.com>
5464 Simon Marchi <simon.marchi@polymtl.ca>
5465
5466 * README (Local vs Remote vs Native): New section.
5467 * boards/local-board.exp: New file, with bits factored out from
5468 ...
5469 * boards/native-extended-gdbserver.exp: ... here. Load
5470 "local-board".
5471 * boards/native-gdbserver.exp: Load "local-board".
5472 (${board}_spawn, ${board}_exec): Delete.
5473 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5474 ...
5475 * boards/stdio-gdbserver-base.exp: ... this new file.
5476 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5477 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5478 procedure.
5479 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5480 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5481 stdio_gdbserver_command.
5482 (${board}_get_remote_address, ${board}_get_comm_port)
5483 (${board}_download, ${board}_upload): Delete.
5484 (get_target_remote_pipe_cmd): New.
5485
fe68b953
SM
54862017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5487
5488 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5489 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5490 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5491 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5492 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5493 remove with_test_prefix.
5494
300b6685
PA
54952017-10-13 Pedro Alves <palves@redhat.com>
5496
5497 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5498 * gdb.base/annota1.exp: Use it instead of is_remote.
5499 * gdb.base/annota3.exp: Use it instead of is_remote.
5500 * gdb.cp/annota2.exp: Use it instead of is_remote.
5501 * gdb.cp/annota3.exp: Use it instead of is_remote.
5502 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5503
50500caf
PA
55042017-10-13 Pedro Alves <palves@redhat.com>
5505
5506 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5507 (test_num_test_vars, run_and_count_vars, find_env)
5508 (test_set_unset_env, test_inherit_env_var): New procedures.
5509 (top level): Use them.
5510
dad0c6d2
PA
55112017-10-13 Pedro Alves <palves@redhat.com>
5512
5513 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5514 also skip on stub-like targets.
5515
8b0553c1
PA
55162017-10-13 Pedro Alves <palves@redhat.com>
5517
5518 PR gdb/22293
5519 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5520 (top level): Move some tests to ...
5521 (test_not_found): ... this new procedure.
5522 (top level): Call it.
5523
7594f623
PA
55242017-10-13 Pedro Alves <palves@redhat.com>
5525
5526 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5527 expect different "info terminal" output if testing with a
5528 non-native target.
5529
ebe3b402
PA
55302017-10-13 Pedro Alves <palves@redhat.com>
5531 Simon Marchi <simon.marchi@polymtl.ca>
5532
5533 PR python/12966
5534 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5535
42f1b161
PA
55362017-10-13 Pedro Alves <palves@redhat.com>
5537
5538 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5539 already.
5540
8d6ef72b
PA
55412017-10-13 Pedro Alves <palves@redhat.com>
5542
5543 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5544 is_remote.
5545
d7bcd5b8
PA
55462017-10-13 Pedro Alves <palves@redhat.com>
5547
5548 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5549 is_remote.
5550
df479dc6
PA
55512017-10-13 Pedro Alves <palves@redhat.com>
5552
5553 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5554 is set.
5555 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5556 instead of is_remote.
5557
23fb630a
PA
55582017-10-13 Pedro Alves <palves@redhat.com>
5559
5560 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5561 (top level): Add comment.
5562
cc77b1dc
PA
55632017-10-13 Pedro Alves <palves@redhat.com>
5564
5565 * gdb.base/remote.exp (top level): Fix comment typo and add
5566 missing return.
5567
27c9e813
PA
55682017-10-13 Pedro Alves <palves@redhat.com>
5569 Simon Marchi <simon.marchi@polymtl.ca>
5570
5571 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5572 calls and add comments. Skip test if use_gdb_stub is set.
5573 (top level): Use "set cwd" command instead of "cd" command.
5574
5e830d98
PA
55752017-10-13 Pedro Alves <palves@redhat.com>
5576
5577 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5578 is_remote target check.
5579
f5ca0032
PA
55802017-10-13 Pedro Alves <palves@redhat.com>
5581
5582 * gdb.base/scope.exp: Use build_executable + clean_restart +
5583 gdb_file_cmd instead of prepare_for_testing and no longer skip
5584 "before run" tests on is_remote target boards. Update comments.
5585 * boards/native-extended-gdbserver.exp
5586 (extended_gdbserver_load_last_file): New, factored out from ...
5587 (gdb_load): ... this. Move further below and add comment.
5588 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5589
8aed1c0d
PA
55902017-10-12 Pedro Alves <palves@redhat.com>
5591
5592 * gdb.base/attach.exp: Remove references to gdb64.
5593 * gdb.base/dbx.exp: Remove references to gdb64.
5594
cfa34c87
SM
55952017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5596 Pedro Alves <palves@redhat.com>
5597
5598 * gdb.base/label.exp: Remove is_remote target check.
5599
9192b7de
PA
56002017-10-12 Pedro Alves <palves@redhat.com>
5601
5602 * gdb.base/auvx.exp (coredir): Update comment.
5603 (top level) <core_works>: Use "set cwd" command instead of "cd"
5604 command.
5605
6bf0052d
PA
56062017-10-12 Pedro Alves <palves@redhat.com>
5607 Simon Marchi <simon.marchi@polymtl.ca>
5608
5609 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5610 target boards.
5611
e48ef82d
PA
56122017-10-12 Pedro Alves <palves@redhat.com>
5613 Simon Marchi <simon.marchi@polymtl.ca>
5614
5615 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5616 Instead skip if there's any gdb_protocol set.
5617
8d7aea57
SM
56182017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5619 Pedro Alves <palves@redhat.com>
5620
5621 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5622
30440677
PA
56232017-10-12 Pedro Alves <palves@redhat.com>
5624 Simon Marchi <simon.marchi@polymtl.ca>
5625
5626 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5627 instead of on dejagnu remote boards.
5628
4e04f045 56292017-10-12 Pedro Alves <palves@redhat.com>
175654b9 5630 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
5631
5632 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5633 checks. Use build_executable + clean_restart instead of
5634 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5635 of enabling non-stop after starting gdb.
5636
871a186e
PA
56372017-10-12 Pedro Alves <palves@redhat.com>
5638
5639 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5640 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5641 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5642 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5643
56d704da
AK
56442017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5645
5646 * gdb.arch/arc-tdesc-cpu.exp: New file.
5647 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5648
2f20e312
SM
56492017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5650
5651 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5652
65630365
PA
56532017-10-10 Pedro Alves <palves@redhat.com>
5654
5655 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5656 expect CLI output.
5657
bf469271
PA
56582017-10-10 Pedro Alves <palves@redhat.com>
5659
5660 * lib/selftest-support.exp (selftest_setup): Update for
5661 captured_command_loop's prototype change.
5662
777a42f1
PA
56632017-10-09 Pedro Alves <palves@redhat.com>
5664
5665 Test both arch1=>arch2 and arch2=>arch1.
5666
5667 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5668 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5669 factored out to...
5670 (append_arch1_options, append_arch2_options, append_arch_options)
5671 (build_executables): New procedures.
5672 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5673 local.
5674 (top level): Add new 'first_arch' testing axis.
5675
cbd2b4e3
PA
56762017-10-09 Pedro Alves <palves@redhat.com>
5677
5678 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5679 (barrier): New.
5680 (thread_start, all_started): New functions.
5681 (main): Spawn new thread and wait until it is scheduled.
5682 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5683 option.
5684 (do_test): Add 'selected_thread' parameter. Run to all_started
5685 instead of main. Explicitly set the breakpoint at main. Switch
5686 to the SELECTED_THREAD thread.
5687 (top level): Test handling the exec event with either the main
5688 thread or the second thread selected.
5689
5c9e4427
PA
56902017-10-09 Pedro Alves <palves@redhat.com>
5691
5692 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5693 logic. Move STOP marker after the value checks.
5694 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5695 regexp.
5696
b3b7c423
SL
56972017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5698
5699 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5700
3b4b2f16
UW
57012017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5702
5703 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5704 integer-to-dfp conversion.
5705 * gdb.base/dfp-test.exp: Likewise.
5706
5cd63fda
PA
57072017-10-04 Pedro Alves <palves@redhat.com>
5708
5709 * gdb.multi/hangout.c: Include <unistd.h>.
5710 (hangout_loop): New function.
5711 (main): Call alarm. Call hangout_loop in a loop.
5712 * gdb.multi/hello.c: Include <unistd.h>.
5713 (hello_loop): New function.
5714 (main): Call alarm. Call hangout_loop in a loop.
5715 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5716 inferior with the other selected.
5717
4c71c105
SM
57182017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5719
5720 * gdb.mi/list-thread-groups-available.exp: New file.
5721 * gdb.mi/list-thread-groups-available.c: New file.
5722
bc3b087d
SDJ
57232017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5724
5725 * gdb.base/set-cwd.exp: Make it available on
5726 native-extended-gdbserver.
5727
d092c5a2
SDJ
57282017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5729
5730 * gdb.base/set-cwd.c: New file.
5731 * gdb.base/set-cwd.exp: Likewise.
5732
45320ffa
TT
57332017-10-02 Tom Tromey <tom@tromey.com>
5734
5735 PR rust/22236:
5736 * gdb.rust/simple.rs (main): New variable "fslice".
5737 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5738
b3e3859b
TT
57392017-10-02 Tom Tromey <tom@tromey.com>
5740
5741 * gdb.rust/simple.exp: Test ptype of a slice.
5742
01af5e0d
TT
57432017-10-02 Tom Tromey <tom@tromey.com>
5744
5745 * gdb.rust/simple.exp: Test index of slice.
5746
a9bbfbd8
TT
57472017-09-27 Tom Tromey <tom@tromey.com>
5748
5749 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5750
df8899e5
TP
57512017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5752 Pedro Alves <palves@redhat.com>
5753
5754 * gdb.base/compare-sections.exp (get value of read-only section): Read
5755 as unsigned value.
5756 (corrupt read-only section): Likewise and don't set written if patching
5757 failed.
5758
757bf54b
KB
57592017-09-21 Kevin Buettner <kevinb@redhat.com>
5760
5761 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5762 files.
5763
06871ae8
PA
57642017-09-20 Pedro Alves <palves@redhat.com>
5765
5766 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5767 symbol names in gdb's output.
5768 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5769
e5f25bc5
PA
57702017-09-20 Pedro Alves <palves@redhat.com>
5771
5772 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5773 Rename to ...
5774 (test_list_ambiguous_symbol): ... this and add a symbol name
5775 parameter. Adjust.
5776 (test_list_ambiguous_function): Reimplement on top of
5777 test_list_ambiguous_symbol and also test listing ambiguous
5778 variables.
5779 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5780 (ambiguous_fun): ... this.
5781 (ambiguous_var): New.
5782 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5783 (ambiguous_fun): ... this.
5784 (ambiguous_var): New.
5785
4e5a4f58
JB
57862017-09-19 John Baldwin <jhb@FreeBSD.org>
5787
5788 * gdb.base/starti.c: New file.
5789 * gdb.base/starti.exp: New file.
5790 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5791
26e53f3e
PA
57922017-09-14 Pedro Alves <palves@redhat.com>
5793
5794 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5795 (top level): Use it instead of runto.
5796
cb791d59
TT
57972017-09-11 Tom Tromey <tom@tromey.com>
5798
5799 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5800
7c96f8c1
TT
58012017-09-11 Tom Tromey <tom@tromey.com>
5802
5803 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5804 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5805
469412dd
CW
58062017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5807
5808 * gdb.fortran/printing-types.exp: New file.
5809 * gdb.fortran/printing-types.exp: New file.
5810
e0f86435
BH
58112017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5812
5813 * gdb.fortran/vla-ptype.exp: Fix typos.
5814 * gdb.fortran/vla-value.exp: Same.
5815
9e9af4be
BH
58162017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5817
5818 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5819 * gdb.mi/mi-var-child-f.exp: Likewise.
5820 * gdb.mi/mi-vla-fortran.exp: Likewise.
5821
a5ad232b 58222017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
5823 Christoph Weinmann <christoph.t.weinmann@intel.com>
5824 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
5825
5826 * gdb.fortran/ptr-indentation.f90: New file.
5827 * gdb.fortran/ptr-indentation.exp: New file.
5828
5aec60eb
TT
58292017-09-05 Tom Tromey <tom@tromey.com>
5830
5831 PR gdb/22010:
5832 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5833
8f8f8152
TP
58342017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5835
5836 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5837
fbd1b771
JK
58382017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5839
5840 * gdb.threads/tls-nodebug-pie.c: New file.
5841 * gdb.threads/tls-nodebug-pie.exp: New file.
5842
5eb5f850
TT
58432017-09-05 Tom Tromey <tom@tromey.com>
5844
5845 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5846 for rust.
5847
ae780a21
SM
58482017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5849
5850 * gdb.multi/multi-arch-exec.exp: Test with different
5851 "follow-exec-mode" settings.
5852 (do_test): New procedure.
5853
3693fdb3
PA
58542017-09-04 Pedro Alves <palves@redhat.com>
5855
5856 * gdb.base/func-static.c (S::method const, S::method volatile)
5857 (S::method volatile const): New methods.
5858 (c_s, v_s, cv_s): New instances.
5859 (main): Call method() on them.
5860 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5861 (cannot_resolve): New procedure.
5862 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5863 print-quote-unquoted columns.
5864 (do_test): Test printing each scope too.
5865
e68cb8e0
PA
58662017-09-04 Pedro Alves <palves@redhat.com>
5867
5868 * gdb.base/local-static.exp: Also test with
5869 class::method::variable wholly quoted.
5870 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5871
858be34c
PA
58722017-09-04 Pedro Alves <palves@redhat.com>
5873
5874 * gdb.base/local-static.c: New.
5875 * gdb.base/local-static.cc: New.
5876 * gdb.base/local-static.exp: New.
5877
46a4882b
PA
58782017-09-04 Pedro Alves <palves@redhat.com>
5879
5880 * gdb.asm/asm-source.exp: Add casts to int.
5881 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5882 (dataglobal64_1, dataglobal64_2): New globals.
5883 * gdb.base/nodebug.exp: Test different expressions involving the
5884 new globals, with print, whatis and ptype. Add casts to int.
5885 * gdb.base/solib-display.exp: Add casts to int.
5886 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5887 * gdb.cp/m-static.exp: Add cast to int.
5888 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5889 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5890 tls variable with no debug info without a cast. Test with a cast
5891 to int too.
5892 * gdb.trace/entry-values.exp: Add casts.
5893
2c5a2be1
PA
58942017-09-04 Pedro Alves <palves@redhat.com>
5895
5896 * gdb.base/nodebug.exp: Test that ptype's error about functions
5897 with unknown return type includes the function name too.
5898
7022349d
PA
58992017-09-04 Pedro Alves <palves@redhat.com>
5900
5901 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5902 return type of munmap in infcall.
5903 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5904 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5905 type of ftell in infcall.
5906 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5907 type of getpid in infcall.
5908 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5909 infcall.
5910 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5911 Bail on failure to extract the pid.
5912 * gdb.base/nodebug.c: #include <stdint.h>.
5913 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5914 New functions.
5915 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5916 Change expected output of print/whatis/ptype with functions with
5917 no debug info. Test all supported languages. Call
5918 test_call_promotion.
5919 * gdb.compile/compile.exp: Adjust expected output to expect
5920 warning.
5921 * gdb.threads/siginfo-threads.exp: Likewise.
5922
54990598
PA
59232017-09-04 Pedro Alves <palves@redhat.com>
5924
5925 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5926 "prototypes". Test calling float functions via prototyped and
5927 unprototyped function pointers.
5928 (perform_all_tests): New parameter "prototypes". Pass it down.
5929 (top level): Pass down "prototypes" parameter to
5930 perform_all_tests.
5931
34d16ea2
SM
59322017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5933
5934 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5935 Test with nested loops.
5936
9521ecda
SM
59372017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5938
5939 * gdb.base/commands.exp: Call the new procedures.
5940 (loop_break_test, loop_continue_test): New procedures.
5941
80a65e9b
SM
59422017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5943
5944 * gdb.base/commands.exp: Call new procedure.
5945 (define_if_without_arg_test): New procedure.
5946
e439fa14
PA
59472017-09-04 Pedro Alves <palves@redhat.com>
5948
5949 * gdb.base/list-ambiguous.exp: New file.
5950 * gdb.base/list-ambiguous0.c: New file.
5951 * gdb.base/list-ambiguous1.c: New file.
5952 * gdb.base/list.exp (test_list_range): Adjust expected output.
5953
0a2dde4a
SDJ
59542017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5955
5956 * gdb.base/share-env-with-gdbserver.c: New file.
5957 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5958
5e89eb3a
SM
59592017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5960
5961 * gdb.base/commands.exp (gdbvar_simple_if_test,
5962 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5963 progvar_simple_if_test, progvar_simple_while_test,
5964 progvar_complex_if_while_test, user_defined_command_test,
5965 user_defined_command_args_eval,
5966 user_defined_command_args_stack_test,
5967 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5968 temporary_breakpoint_commands,
5969 gdb_test_no_prompt, redefine_hook_test,
5970 redefine_backtrace_test): Remove "global gdb_prompt".
5971
fd437cbc
SM
59722017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5973
5974 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5975 New proc, call it from toplevel.
5976
87215ad1
SDJ
59772017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5978
5979 PR remote/21852
5980 * gdb.server/normal.c: New file, copied from gdb.base.
5981 * gdb.server/run-without-local-binary.exp: New file.
5982
58afddc6
WP
59832017-08-07 Weimin Pan <weimin.pan@oracle.com>
5984
5985 * gdb.arch/sparc64-adi.exp: New file.
5986 * gdb.arch/sparc64-adi.c: New file.
5987
5277199a
PA
59882017-08-22 Pedro Alves <palves@redhat.com>
5989
5990 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5991 (top level): Add "list all overloads" tests.
5992
14278e1f
TT
59932017-08-22 Tom Tromey <tom@tromey.com>
5994
5995 * gdb.gdb/xfullpath.exp: Remove.
5996
bf223d3e
PA
59972017-08-21 Pedro Alves <palves@redhat.com>
5998
5999 PR gdb/19487
6000 * gdb.base/symbol-alias.c: New.
6001 * gdb.base/symbol-alias2.c: New.
6002 * gdb.base/symbol-alias.exp: New.
6003
c973d0aa
PA
60042017-08-21 Pedro Alves <palves@redhat.com>
6005
6006 * gdb.base/dfp-test.c
6007 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6008 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6009 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6010 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6011 * gdb.base/whatis-ptype-typedefs.c: New.
6012 * gdb.base/whatis-ptype-typedefs.exp: New.
6013 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6014 (an_int, an_int_type, an_int_type2): New globals.
6015 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6016 involving typedefs and cast expressions.
6017 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6018 (lookup_typedefs_function): New.
6019 (typedefs_pretty_printers_dict): New.
6020 (top level): Register lookup_typedefs_function in
6021 gdb.pretty_printers.
6022
6d580b63
YQ
60232017-08-18 Yao Qi <yao.qi@linaro.org>
6024
6025 * gdb.server/unittest.exp: New.
6026
206726fb
SDJ
60272017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6028
6029 PR gdb/21954
6030 * gdb.base/environ.exp: Add test to check if 'unset environment'
6031 works.
6032
bf0ec4c2
AA
60332017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6034
6035 * lib/gdb.exp (universal_compile_options): New caching proc.
6036 (gdb_compile): Suppress GCC's coloring of messages.
6037
d6382fff
TT
60382017-08-14 Tom Tromey <tom@tromey.com>
6039
6040 PR gdb/21675:
6041 * gdb.base/printcmds.exp (test_radices): New function.
6042 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6043 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6044 * lib/gdb.exp (get_integer_valueof): Use p/d.
6045
c2c2dd9f
SM
60462017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6047
6048 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6049 characters.
6050
fdffd6f4
TT
60512017-08-05 Tom Tromey <tom@tromey.com>
6052
6053 * gdb.rust/simple.exp: Allow String to appear in a different
6054 namespace.
6055
27d41eac
YQ
60562017-07-26 Yao Qi <yao.qi@linaro.org>
6057
6058 * gdb.gdb/unittest.exp: Invoke command
6059 "maintenance check xml-descriptions".
6060
031ed05d
AA
60612017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6062
6063 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6064 calling context.
6065 (hex128): Drop erroneous calculation of parameters.
6066
dcd27ddf
SM
60672017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6068
6069 * gdb.python/py-unwind.exp: Disable stack protection when
6070 building test file.
6071
47e77640
PA
60722017-07-20 Pedro Alves <palves@redhat.com>
6073
6074 * gdb.base/default.exp (set language): Adjust expected output.
6075
62d2a18a
PA
60762017-07-20 Pedro Alves <palves@redhat.com>
6077
6078 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6079 (test_minsym): ... this, and make static.
6080 (get_pck__foo__bar__minsym): Rename to ...
6081 (get_test_minsym): ... this.
6082 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6083 symbol names and comments.
6084 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6085 (get_test_minsym): ... this.
6086 (pck__foo__bar__minsym__2): Rename to ...
6087 (test_minsym): ... this.
6088 (main): Adjust.
6089
c45ec17c
PA
60902017-07-17 Pedro Alves <palves@redhat.com>
6091
6092 * gdb.base/completion.exp: Adjust expected output.
6093 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6094 the completer works.
6095
c6756f62
PA
60962017-07-17 Pedro Alves <palves@redhat.com>
6097
6098 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6099
5bd68487
AB
61002017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6101
6102 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6103
8880f2a9
TT
61042017-07-14 Tom Tromey <tom@tromey.com>
6105
6106 PR rust/21764:
6107 * gdb.rust/simple.exp: Add tests.
6108
65547233
TT
61092017-07-14 Tom Tromey <tom@tromey.com>
6110
6111 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6112
8f14146e
PA
61132017-07-14 Pedro Alves <palves@redhat.com>
6114
6115 * gdb.linespec/base/one/thefile.cc (z1): New function.
6116 * gdb.linespec/base/two/thefile.cc (z2): New function.
6117 * gdb.linespec/linespec.exp: Add tests.
6118
b4365d02
AB
61192017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6120
6121 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6122 to mi_create_breakpoint.
6123
5d2cbaa5
AB
61242017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6125
6126 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6127 mi_create_breakpoint.
6128
11cb5716
IB
61292017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6130
6131 * gdb.dlang/demangle.exp: Update for demangling changes.
6132
03278692
TT
61332017-07-09 Tom Tromey <tom@tromey.com>
6134
6135 * gdb.dwarf2/shortpiece.exp: New file.
6136
33c5cd75
DB
61372017-07-06 David Blaikie <dblaikie@gmail.com>
6138
6139 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6140 built from fissiont-multi-cu{1,2}.c.
6141 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6142 except putting 'main' and 'func' in separate CUs in the same DWO file.
6143 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6144 test.
6145 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6146 test.
6147
8455d262
PA
61482017-07-06 Pedro Alves <palves@redhat.com>
6149
6150 * gdb.python/py-unwind.exp: Test flushregs.
6151
dc4bde35
SDJ
61522017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6153
6154 PR cli/21688
6155 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6156 tests for alias commands and trailing whitespace.
6157
51ed89aa
SDJ
61582017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6159
6160 PR cli/21688
6161 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6162 procedure. Call it.
6163
eb17d413
PA
61642017-06-29 Pedro Alves <palves@redhat.com>
6165
6166 * gdb.base/printcmds.exp: Add tests.
6167
41664b45
DG
61682017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6169
6170 PR gdb/21337
6171 * gdb.base/reread-readsym.exp: New file.
6172 * gdb.base/reread-readsym.c: New file.
6173
75312ae3
KB
61742017-06-21 Kevin Buettner <kevinb@redhat.com>
6175
6176 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6177 subpattern.
6178
66953522
PB
61792017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6180
6181 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6182 extended mnemonic.
6183 * gdb.arch/powerpc-power9.s: Likewise.
6184
5524b525
AA
61852017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6186
6187 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6188 on 32-bit x86 targets. Exploit is_*_target macros where
6189 appropriate.
6190
03c8af18
AA
61912017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6192
6193 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6194 register pieces.
6195
3bf31011
AA
61962017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6197
6198 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6199 located in one or more DWARF pieces.
6200
805acca0
AA
62012017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6202
6203 * lib/gdb.exp (get_endianness): New proc.
6204 * gdb.arch/aarch64-fp.exp: Use it.
6205 * gdb.arch/altivec-regs.exp: Likewise.
6206 * gdb.arch/e500-regs.exp: Likewise.
6207 * gdb.arch/vsx-regs.exp: Likewise.
6208 * gdb.base/dump.exp: Likewise.
6209 * gdb.base/funcargs.exp: Likewise.
6210 * gdb.base/gnu_vector.exp: Likewise.
6211 * gdb.dwarf2/formdata16.exp: Likewise.
6212 * gdb.dwarf2/implptrpiece.exp: Likewise.
6213 * gdb.dwarf2/nonvar-access.exp: Likewise.
6214 * gdb.python/py-inferior.exp: Likewise.
6215 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6216
e9352324
AA
62172017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6218
6219 PR gdb/21226
6220 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6221 stack value pieces are taken from the LSB end.
6222
d5d1163e
AA
62232017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6224
6225 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6226 variable at nonzero offset.
6227
0567c986
AA
62282017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6229
6230 * gdb.dwarf2/var-access.c: New file.
6231 * gdb.dwarf2/var-access.exp: New test.
6232 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6233
973e9aab
TT
62342017-06-12 Tom Tromey <tom@tromey.com>
6235
6236 * gdb.dwarf2/formdata16.exp: Add tests.
6237
d9109c80
TT
62382017-06-12 Tom Tromey <tom@tromey.com>
6239
6240 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6241
30a25466
TT
62422017-06-12 Tom Tromey <tom@tromey.com>
6243
6244 PR exp/16225:
6245 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6246 * gdb.arch/vsx-regs.exp: Update tests.
6247 * gdb.arch/s390-vregs.exp (hex128): New proc.
6248 Update test.
6249 * gdb.arch/altivec-regs.exp: Update tests.
6250
aefd8b33
SDJ
62512017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6252
6253 * gdb.base/startup-with-shell.c: New file.
6254 * gdb.base/startup-with-shell.exp: Likewise.
6255
2090129c
SDJ
62562017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6257
6258 * gdb.server/non-existing-program.exp: Update regex in order to
6259 reflect the fact that gdbserver is now using fork_inferior (with a
6260 shell) to startup the inferior.
6261
8e86a419
SM
62622017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6263
6264 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6265 support function calls from GDB.
6266
e6cf65f2
TT
62672017-05-21 Tom Tromey <tom@tromey.com>
6268
6269 PR rust/21466:
6270 * gdb.rust/unsized.exp: New file.
6271 * gdb.rust/unsized.rs: New file.
6272
43cc5389
TT
62732017-05-19 Tom Tromey <tom@tromey.com>
6274
6275 PR rust/21484:
6276 * gdb.rust/watch.exp: New file.
6277 * gdb.rust/watch.rs: New file.
6278
ec8df234
TT
62792017-05-18 Tom Tromey <tom@tromey.com>
6280
6281 * gdb.rust/simple.exp: Allow Box to be qualified.
6282
3e3e7fae
TP
62832017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6284
6285 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6286
59cc050d
PA
62872017-05-18 Pedro Alves <palves@redhat.com>
6288
6289 * gdb.base/fileio.c (test_write, test_read, test_close)
6290 (test_fstat): Don't print 'ret' in the fail path.
6291
c8f6abd1
PA
62922017-05-18 Pedro Alves <palves@redhat.com>
6293
6294 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6295 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6296 (test_system, test_rename, test_unlink, test_time): Change
6297 prototypes.
6298 * gdb.base/fileio.exp (stop_msg): Adjust.
6299
d2a03b77
PA
63002017-05-18 Pedro Alves <palves@redhat.com>
6301
6302 * gdb.base/fileio.c (null_str): New global.
6303 (test_stat): Use it.
6304 * gdb.base/fileio.exp: Remove nowarnings.
6305
0d5c6999
YQ
63062017-05-17 Yao Qi <yao.qi@linaro.org>
6307
6308 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6309
21873064
YQ
63102017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6311
6312 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6313 argument command.
6314 (top-level): Invoke test_set_inferior_tty.
6315
d512d31c
PA
63162017-05-04 Pedro Alves <palves@redhat.com>
6317
6318 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6319 Add parens to print call for Python 3.
6320
90cef2ed
KS
63212017-05-03 Keith Seitz <keiths@redhat.com>
6322
6323 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6324 (main): Call it.
6325
14f819c8
TW
63262017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6327
6328 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6329 to prev and next.
6330
913aeadd
TW
63312017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6332
6333 * gdb.python/py-record-btrace.exp: Remove test for
6334 gdb.BtraceInstruction.error.
6335
a3be24ad
TW
63362017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6337
6338 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6339
ae20e79a
TW
63402017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6341
6342 * gdb.python/py-record-btrace-threads.c: New file.
6343 * gdb.python/py-record-btrace-threads.exp: New file.
6344
45ce1b47
SDJ
63452017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6346
6347 PR testsuite/8595
6348 * gdb.base/environ.exp: Make test available in all architectures.
6349 Move bits related to "info program" testing to
6350 gdb.base/info-program.exp. Rewrite tests to use the two new
6351 procedures mentione below.
6352 (test_set_show_env_var) New procedure.
6353 (test_set_show_env_var_equal): Likewise.
6354 * gdb.base/info-program.exp: New file.
6355
e15c3eb4
KS
63562017-04-27 Keith Seitz <keiths@redhat.com>
6357
6358 * gdb.cp/oranking.cc (test15): New function.
6359 (main): Call test15 and declare additional variables for testing.
6360 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6361 "p foo101('abc')" tests.
6362 Add tests for cv qualifier overloads.
6363 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6364 "lvalue reference overload" test.
6365 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6366 "print value of f1 on Child&& in f2" test.
6367
3a3fd0fd
PA
63682017-04-19 Pedro Alves <palves@redhat.com>
6369
6370 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6371 procedure.
6372 (top level): Call it.
6373 * lib/gdb.exp (gdb_define_cmd): New procedure.
6374
53375380
PA
63752017-04-12 Pedro Alves <palves@redhat.com>
6376
6377 PR gdb/21323
6378 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6379 (wchar): New global.
6380 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6381 (do_test_wide_char, wide_char_types_no_program, top level): Add
6382 wchar_t testing.
6383
53e710ac
PA
63842017-04-12 Pedro Alves <palves@redhat.com>
6385
6386 PR c++/21323
6387 * gdb.cp/wide_char_types.c: New file.
6388 * gdb.cp/wide_char_types.exp: New file.
6389
0ad9d8c7
SDJ
63902017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6391
6392 PR gdb/21352
6393 * gdb.trace/tsv.exp: Add test for "tsave -r".
6394
b1b45502
IB
63952017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6396
6397 * gdb.dlang/watch-loc.c: New file.
6398 * gdb.dlang/watch-loc.exp: New file.
6399
ec13808e
JK
64002017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6401
6402 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6403
fe5f7374
AK
64042017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6405
6406 * gdb.arch/arc-analyze-prologue.S: New file.
6407 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6408
eea78757
AK
64092017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6410
6411 * gdb.arch/arc-decode-insn.S: New file.
6412 * gdb.arch/arc-decode-insn.exp: Likewise.
6413
5badf10a
IR
64142017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6415
6416 PR tdep/20928
6417 * gdb.arch/sparc64-regs.exp: New file.
6418 * gdb.arch/sparc64-regs.S: Likewise.
6419
cee59b3f
TW
64202017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6421
6422 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6423 and memory view on Python 3.
6424
c0f55cc6
AV
64252017-03-20 Artemiy Volkov <artemiyv@acm.org>
6426 Keith Seitz <keiths@redhat.com>
6427
6428 PR gdb/14441
6429 * gdb.cp/demangle.exp: Add rvalue reference tests.
6430 * gdb.cp/rvalue-ref-casts.cc: New file.
6431 * gdb.cp/rvalue-ref-casts.exp: New file.
6432 * gdb.cp/rvalue-ref-overload.cc: New file.
6433 * gdb.cp/rvalue-ref-overload.exp: New file.
6434 * gdb.cp/rvalue-ref-params.cc: New file.
6435 * gdb.cp/rvalue-ref-params.exp: New file.
6436 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6437 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6438 * gdb.cp/rvalue-ref-types.cc: New file.
6439 * gdb.cp/rvalue-ref-types.exp: New file.
6440 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6441 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6442
51457a05
MAL
64432017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6444
6445 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6446 New procedure.
6447
5b291c04
MAL
64482017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6449
6450 * lib/mi-support.exp (mi_gdb_test): Add additional message
6451 for unexpected output.
6452
59a56148
AA
64532017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6454
6455 * gdb.base/examine-backward.c (Barrier): New character array
6456 constant, to ensure that TestStrings is preceded by a string
6457 terminator.
6458
7942e96e
AA
64592017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6460
6461 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6462 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6463 and implicit pointer into such a location.
6464
6ebac3fb
DE
64652017-03-16 Doug Evans <dje@google.com>
6466
6467 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6468
ec3b243d
TP
64692017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6470
6471 * gdb.cp/m-static.exp: Fix expectation for prototype of
6472 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
6473
64742017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
6475
6476 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6477 * gdb.guile/scm-lazy-string.c: New file.
6478 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6479 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6480 for pointer, array, typedef lazy strings.
6481
2cc36e25 64822017-03-16 Doug Evans <dje@google.com>
34b43320
DE
6483
6484 PR python/17728, python/18439, python/18779
6485 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6486 * gdb.python/py-lazy-string.c (pointer): New typedef.
6487 (main): New locals ptr, array, typedef_ptr.
6488 * gdb.python/py-value.exp: Move lazy string tests to ...
6489 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6490 array, typedef lazy strings.
ec3b243d 6491
0efcde63
AK
64922017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6493
6494 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6495 Add optional 'test' parameter.
6496
7978d7c3
SM
64972017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6498
6499 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6500 Skip for versions of DejaGnu < 1.5.
6501
896c0c1e
SM
65022017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6503
6504 * lib/gdb.exp (dejagnu_version): New proc.
6505 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6506 Use dejagnu_version.
6507
5f4d1085
KS
65082017-03-10 Keith Seitz <keiths@redhat.com>
6509
6510 PR c++/8128
6511 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6512 type from destructor regexps.
6513 Add a branch which actually passes the test.
6514 Adjust "ptype t5i" test names.
6515
1de05205
PA
65162017-03-08 Pedro Alves <palves@redhat.com>
6517
6518 * gdb.base/step-over-exit.exp: Add explicit test message.
6519
c65d6b55
PA
65202017-03-08 Pedro Alves <palves@redhat.com>
6521
6522 PR gdb/18360
6523 * gdb.threads/interrupt-while-step-over.c: New file.
6524 * gdb.threads/interrupt-while-step-over.exp: New file.
6525
2e86a283
PA
65262017-03-08 Pedro Alves <palves@redhat.com>
6527
6528 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6529 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6530
25dcbff6
PA
65312017-03-08 Pedro Alves <palves@redhat.com>
6532
6533 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6534 PKRU as not supported as a PASS.
6535
dc9366eb
PA
65362017-03-08 Pedro Alves <palves@redhat.com>
6537
6538 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6539 prefix instead of $binfile1/$binfile2.
6540 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6541 in test message.
6542 * gdb.python/py-completion.exp: Use "load python file" as test
6543 messages instead of unstable path names.
6544
6e5d74e7
PA
65452017-03-08 Pedro Alves <palves@redhat.com>
6546 Jan Kratochvil <jan.kratochvil@redhat.com>
6547
6548 PR cli/21218
6549 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6550 New proc.
6551 (top level): Call it.
6552
9753a2f6
PA
65532017-03-08 Pedro Alves <palves@redhat.com>
6554
6555 PR tui/21216
6556 * gdb.tui/tui-nl-filtered-output.exp: New file.
6557
1a4dd9dd
PA
65582017-03-08 Pedro Alves <palves@redhat.com>
6559
6560 * gdb.base/completion.exp: Move TUI completion tests to ...
6561 * gdb.tui/completion.exp: ... this new file.
6562
7cbbff33
PA
65632017-03-08 Pedro Alves <palves@redhat.com>
6564
6565 * gdb.base/tui-disasm-long-lines.c,
6566 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6567 gdb.base/tui-layout.exp: Move to ...
6568 * gdb.tui/: ... this new directory.
6569
5f6fd321
PA
65702017-03-07 Pedro Alves <palves@redhat.com>
6571
6572 * gdb.base/tui-layout.c: New file.
6573 * gdb.base/tui-layout.exp: New file.
6574
44959fa8
PA
65752017-03-07 Pedro Alves <palves@redhat.com>
6576
6577 * gdb.base/tui-layout.c: Rename to ...
6578 * gdb.base/tui-disasm-long-lines.c: ... this.
6579 * gdb.base/tui-layout.exp: Rename to ...
6580 * gdb.base/tui-disasm-long-lines.exp: ... this.
6581
f8c4e718
PA
65822017-03-07 Pedro Alves <palves@redhat.com>
6583
6584 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6585
6dbb839a 65862017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
6587
6588 * i386-mpx-call.c: New file.
6589 * i386-mpx-call.exp: New file.
6590
65b48a81
PB
65912017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6592
6593 * gdb.arch/powerpc-power.exp: Delete test.
6594 * gdb.arch/powerpc-power.s: Likewise.
6595 * gdb.disasm/disassembler-options.exp: New test.
6596 * gdb.arch/powerpc-altivec.exp: Likewise.
6597 * gdb.arch/powerpc-altivec.s: Likewise.
6598 * gdb.arch/powerpc-altivec2.exp: Likewise.
6599 * gdb.arch/powerpc-altivec2.s: Likewise.
6600 * gdb.arch/powerpc-altivec3.exp: Likewise.
6601 * gdb.arch/powerpc-altivec3.s: Likewise.
6602 * gdb.arch/powerpc-power7.exp: Likewise.
6603 * gdb.arch/powerpc-power7.s: Likewise.
6604 * gdb.arch/powerpc-power8.exp: Likewise.
6605 * gdb.arch/powerpc-power8.s: Likewise.
6606 * gdb.arch/powerpc-power9.exp: Likewise.
6607 * gdb.arch/powerpc-power9.s: Likewise.
6608 * gdb.arch/powerpc-vsx.exp: Likewise.
6609 * gdb.arch/powerpc-vsx.s: Likewise.
6610 * gdb.arch/powerpc-vsx2.exp: Likewise.
6611 * gdb.arch/powerpc-vsx2.s: Likewise.
6612 * gdb.arch/powerpc-vsx3.exp: Likewise.
6613 * gdb.arch/powerpc-vsx3.s: Likewise.
6614 * gdb.arch/arm-disassembler-options.exp: Likewise.
6615 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6616 * gdb.arch/s390-disassembler-options.exp: Likewise.
6617
17cd4947
LM
66182017-02-23 Luis Machado <lgustavo@codesourcery.com>
6619
6620 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6621 (check_supported_features): ... this. Changed return type to void.
6622 (supports_rdseed): New static global.
6623 (rdseed): Check supports_rdseed.
6624 (initialize): Call check_supported_features.
6625
2039d74e
EBM
66262017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6627
6628 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6629 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6630 and lqarx/stqcx.
6631 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6632 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6633
a51d7ecf
EBM
66342017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6635
6636 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6637 uppercase.
6638
0224619f
JK
66392017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6640
6641 * gdb.dwarf2/formdata16.c: New file.
6642 * gdb.dwarf2/formdata16.exp: New file.
6643 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6644
216f72a1
JK
66452017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6646
6647 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6648 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6649 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6650 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6651 DW_AT_GNU_*.
6652
43988095
JK
66532017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6654
6655 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6656
99e8a4f9
SDJ
66572017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6658
6659 PR gdb/21164
6660 * gdb.base/maint.exp: Add testcases for when the commands do
6661 not have arguments.
6662
b58a8c0c
TP
66632017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6664
6665 * gdb.cp/chained-calls.exp: Use p instead of P.
6666
4e746bb6
TW
66672017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6668
6669 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6670 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6671
3f77c769
TT
66722017-02-14 Tom Tromey <tom@tromey.com>
6673
6674 PR python/13598:
6675 * gdb.python/py-events.exp: Add before_prompt event tests.
6676
075beec0
AA
66772017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6678
6679 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6680
bf5f525c
LM
66812017-02-13 Luis Machado <lgustavo@codesourcery.com>
6682
6683 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6684 (main): Call my_unique_function_name.
6685 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6686 completion of patterns with a single match.
6687 Add missing -re switches to gdb_test_multiple calls.
6688
13a66184
LM
66892017-02-13 Luis Machado <lgustavo@codesourcery.com>
6690
6691 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6692 return if core file is not recognized.
6693
26a06916
SM
66942017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6695
6696 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6697 and extra UIs.
6698
b761ca9e
SM
66992017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6700
6701 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6702 proc_with_prefix.
6703
b964bee0
TT
67042017-02-10 Tom Tromey <tom@tromey.com>
6705
6706 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6707
18da0c51
MG
67082017-02-10 Martin Galvan <martingalvan@sourceware.org>
6709
6710 PR gdb/21122
6711 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6712
604c4576
JG
67132017-02-08 Jerome Guitton <guitton@adacore.com>
6714
6715 * gdb.base/define.exp: Add test for command abbreviations
6716 in define.
6717
20b477a7
LM
67182017-02-06 Luis Machado <lgustavo@codesourcery.com>
6719
6720 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6721 * gdb.reverse/insn-reverse-x86.c: New file.
6722
3f7b46f2
IR
67232017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6724
6725 PR tdep/20936
6726 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6727
f0fd41c1
TT
67282017-02-03 Tom Tromey <tom@tromey.com>
6729
6730 PR rust/21097:
6731 * gdb.rust/simple.exp: Add new tests.
6732
5be5dbf0
PA
67332017-02-02 Pedro Alves <palves@redhat.com>
6734
6735 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6736 tests.
6737
7346ef59
AA
67382017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6739
6740 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6741 taking a 2-byte value out of a 4-byte DWARF implicit value on
6742 big-endian targets.
6743 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6744 logic. Add test cases for DW_OP_implicit.
6745
787f0025
MM
67462017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6747
6748 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6749
68777c29
MM
67502017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6751
6752 * gdb.btrace/enable.exp: Call gdb_exit before
6753 skip_gdbserver_tests.
6754
0a1c7e28
MM
67552017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6756
6757 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6758 GDBFLAGS.
6759
b5ac99b0
MM
67602017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6761
6762 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6763 the test is skipped.
6764 * gdb.btrace/data.exp: Likewise.
6765 * gdb.btrace/delta.exp: Likewise.
6766 * gdb.btrace/dlopen.exp: Likewise.
6767 * gdb.btrace/enable-running.exp: Likewise.
6768 * gdb.btrace/enable.exp: Likewise.
6769 * gdb.btrace/exception.exp: Likewise.
6770 * gdb.btrace/function_call_history.exp: Likewise.
6771 * gdb.btrace/gcore.exp: Likewise.
6772 * gdb.btrace/instruction_history.exp: Likewise.
6773 * gdb.btrace/multi-thread-step.exp: Likewise.
6774 * gdb.btrace/nohist.exp: Likewise.
6775 * gdb.btrace/non-stop.exp: Likewise.
6776 * gdb.btrace/reconnect.exp: Likewise.
6777 * gdb.btrace/record_goto-step.exp: Likewise.
6778 * gdb.btrace/record_goto.exp: Likewise.
6779 * gdb.btrace/rn-dl-bind.exp: Likewise.
6780 * gdb.btrace/segv.exp: Likewise.
6781 * gdb.btrace/step.exp: Likewise.
6782 * gdb.btrace/stepi.exp: Likewise.
6783 * gdb.btrace/tailcall-only.exp: Likewise.
6784 * gdb.btrace/tailcall.exp: Likewise.
6785 * gdb.btrace/tsx.exp: Likewise.
6786 * gdb.btrace/unknown_functions.exp: Likewise.
6787 * gdb.btrace/vdso.exp: Likewise.
6788
cd4007e4
MM
67892017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6790
6791 * gdb.btrace/enable-running.c: New.
6792 * gdb.btrace/enable-running.exp: New.
6793
2735833d
WT
67942017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6795
6796 * gdb.arch/amd64-gs_base.c: New file.
6797 * gdb.arch/amd64-gs_base.exp: New file.
6798
b51e1e94
LM
67992017-01-26 Luis Machado <lgustavo@codesourcery.com>
6800
6801 * lib/memory.exp: Remove spurious empty newlines.
6802
72ca0410
SM
68032017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6804
6805 * gdb.python/py-bad-printers.exp: Load python file using "source".
6806 * gdb.python/py-events.exp: Likewise.
6807 * gdb.python/py-evsignal.exp: Likewise.
6808 * gdb.python/py-evthreads.exp: Likewise.
6809 * gdb.python/py-frame-args.exp: Likewise.
6810 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6811 * gdb.python/py-framefilter-mi.exp: Likewise.
6812 * gdb.python/py-framefilter.exp: Likewise.
6813 * gdb.python/py-mi.exp: Likewise.
6814 * gdb.python/py-pp-maint.exp: Likewise.
6815 * gdb.python/py-pp-registration.exp: Likewise.
6816 * gdb.python/py-prettyprint.exp: Likewise.
6817 (run_lang_tests): Likewise.
6818 * gdb.python/py-typeprint.exp: Likewise.
6819
e309aa65
LM
68202017-01-26 Luis Machado <lgustavo@codesourcery.com>
6821
6822 * lib/memory.exp: New file.
6823 * lib/gdb.exp: Load memory.exp.
6824 * gdb.base/memattr.exp (delete_memory): Move proc to
6825 lib/memory.exp and rename to delete_memory_regions.
6826 Replace delete_memory with delete_memory_regions.
6827 Cleanup memory regions before tests.
6828 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6829 before tests.
6830
515aff23
LM
68312017-01-26 Luis Machado <lgustavo@codesourcery.com>
6832
6833 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6834 files.
6835 (initialize): New function conditionally defined.
6836 (testcases): Move within conditional block.
6837 (main): Call initialize.
6838 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6839 of gdb.reverse/insn-reverse.c.
6840 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6841 gdb.reverse/insn-reverse.c.
6842
d8b49cf0
YQ
68432017-01-26 Yao Qi <yao.qi@linaro.org>
6844
6845 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6846 disassemble on address 0.
6847
f13a9a0c
YQ
68482017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6849 Yao Qi <yao.qi@linaro.org>
6850
6851 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6852 * gdb.dwarf2/implptr-64bit.S: Remove.
6853 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6854 variables in caller's context. Add DW_OP_implicit_value.
6855
5ac95241
YQ
68562017-01-25 Yao Qi <yao.qi@linaro.org>
6857
6858 * lib/dwarf.exp (Dwarf::_location): Handle
6859 DW_OP_GNU_implicit_pointer with proper size.
6860
23e82930
LM
68612017-01-20 Luis Machado <lgustavo@codesourcery.com>
6862
6863 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6864 and add untested calls.
6865
d334ae25
LM
68662017-01-20 Luis Machado <lgustavo@codesourcery.com>
6867
6868 * gdb.python/python.exp: Check line number against what GDB thinks
6869 the line number is for func1.
6870
f5e6296e
IB
68712017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6872
6873 * gdb.dlang/debug-expr.exp: New file.
6874
5b362f04
LM
68752016-12-23 Luis Machado <lgustavo@codesourcery.com>
6876
6877 Fix test names for the following files:
6878
6879 * gdb.ada/exec_changed.exp
6880 * gdb.ada/info_types.exp
6881 * gdb.arch/aarch64-atomic-inst.exp
6882 * gdb.arch/aarch64-fp.exp
6883 * gdb.arch/altivec-abi.exp
6884 * gdb.arch/altivec-regs.exp
6885 * gdb.arch/amd64-byte.exp
6886 * gdb.arch/amd64-disp-step.exp
6887 * gdb.arch/amd64-dword.exp
6888 * gdb.arch/amd64-entry-value-inline.exp
6889 * gdb.arch/amd64-entry-value-param.exp
6890 * gdb.arch/amd64-entry-value-paramref.exp
6891 * gdb.arch/amd64-entry-value.exp
6892 * gdb.arch/amd64-i386-address.exp
6893 * gdb.arch/amd64-invalid-stack-middle.exp
6894 * gdb.arch/amd64-invalid-stack-top.exp
6895 * gdb.arch/amd64-optimout-repeat.exp
6896 * gdb.arch/amd64-prologue-skip.exp
6897 * gdb.arch/amd64-prologue-xmm.exp
6898 * gdb.arch/amd64-stap-special-operands.exp
6899 * gdb.arch/amd64-stap-wrong-subexp.exp
6900 * gdb.arch/amd64-tailcall-cxx.exp
6901 * gdb.arch/amd64-tailcall-noret.exp
6902 * gdb.arch/amd64-tailcall-ret.exp
6903 * gdb.arch/amd64-tailcall-self.exp
6904 * gdb.arch/amd64-word.exp
6905 * gdb.arch/arm-bl-branch-dest.exp
6906 * gdb.arch/arm-disp-step.exp
6907 * gdb.arch/arm-neon.exp
6908 * gdb.arch/arm-single-step-kernel-helper.exp
6909 * gdb.arch/avr-flash-qualifier.exp
6910 * gdb.arch/disp-step-insn-reloc.exp
6911 * gdb.arch/e500-abi.exp
6912 * gdb.arch/e500-regs.exp
6913 * gdb.arch/ftrace-insn-reloc.exp
6914 * gdb.arch/i386-avx512.exp
6915 * gdb.arch/i386-bp_permanent.exp
6916 * gdb.arch/i386-byte.exp
6917 * gdb.arch/i386-cfi-notcurrent.exp
6918 * gdb.arch/i386-disp-step.exp
6919 * gdb.arch/i386-dr3-watch.exp
6920 * gdb.arch/i386-float.exp
6921 * gdb.arch/i386-gnu-cfi.exp
6922 * gdb.arch/i386-mpx-map.exp
6923 * gdb.arch/i386-mpx-sigsegv.exp
6924 * gdb.arch/i386-mpx-simple_segv.exp
6925 * gdb.arch/i386-mpx.exp
6926 * gdb.arch/i386-permbkpt.exp
6927 * gdb.arch/i386-prologue.exp
6928 * gdb.arch/i386-signal.exp
6929 * gdb.arch/i386-size-overlap.exp
6930 * gdb.arch/i386-unwind.exp
6931 * gdb.arch/i386-word.exp
6932 * gdb.arch/mips-fcr.exp
6933 * gdb.arch/powerpc-d128-regs.exp
6934 * gdb.arch/powerpc-stackless.exp
6935 * gdb.arch/ppc64-atomic-inst.exp
6936 * gdb.arch/s390-stackless.exp
6937 * gdb.arch/s390-tdbregs.exp
6938 * gdb.arch/s390-vregs.exp
6939 * gdb.arch/sparc-sysstep.exp
6940 * gdb.arch/thumb-bx-pc.exp
6941 * gdb.arch/thumb-singlestep.exp
6942 * gdb.arch/thumb2-it.exp
6943 * gdb.arch/vsx-regs.exp
6944 * gdb.asm/asm-source.exp
6945 * gdb.base/a2-run.exp
6946 * gdb.base/advance.exp
6947 * gdb.base/all-bin.exp
6948 * gdb.base/anon.exp
6949 * gdb.base/args.exp
6950 * gdb.base/arithmet.exp
6951 * gdb.base/async-shell.exp
6952 * gdb.base/async.exp
6953 * gdb.base/attach-pie-noexec.exp
6954 * gdb.base/attach-twice.exp
6955 * gdb.base/auto-load.exp
6956 * gdb.base/bang.exp
6957 * gdb.base/bitfields.exp
6958 * gdb.base/break-always.exp
6959 * gdb.base/break-caller-line.exp
6960 * gdb.base/break-entry.exp
6961 * gdb.base/break-inline.exp
6962 * gdb.base/break-on-linker-gcd-function.exp
6963 * gdb.base/break-probes.exp
6964 * gdb.base/break.exp
6965 * gdb.base/breakpoint-shadow.exp
6966 * gdb.base/call-ar-st.exp
6967 * gdb.base/call-sc.exp
6968 * gdb.base/call-signal-resume.exp
6969 * gdb.base/call-strs.exp
6970 * gdb.base/callfuncs.exp
6971 * gdb.base/catch-fork-static.exp
6972 * gdb.base/catch-gdb-caused-signals.exp
6973 * gdb.base/catch-load.exp
6974 * gdb.base/catch-signal-fork.exp
6975 * gdb.base/catch-signal.exp
6976 * gdb.base/catch-syscall.exp
6977 * gdb.base/charset.exp
6978 * gdb.base/checkpoint.exp
6979 * gdb.base/chng-syms.exp
6980 * gdb.base/code-expr.exp
6981 * gdb.base/code_elim.exp
6982 * gdb.base/commands.exp
6983 * gdb.base/completion.exp
6984 * gdb.base/complex.exp
6985 * gdb.base/cond-expr.exp
6986 * gdb.base/condbreak.exp
6987 * gdb.base/consecutive.exp
6988 * gdb.base/continue-all-already-running.exp
6989 * gdb.base/coredump-filter.exp
6990 * gdb.base/corefile.exp
6991 * gdb.base/dbx.exp
6992 * gdb.base/debug-expr.exp
6993 * gdb.base/define.exp
6994 * gdb.base/del.exp
6995 * gdb.base/disabled-location.exp
6996 * gdb.base/disasm-end-cu.exp
6997 * gdb.base/disasm-optim.exp
6998 * gdb.base/display.exp
6999 * gdb.base/duplicate-bp.exp
7000 * gdb.base/ena-dis-br.exp
7001 * gdb.base/ending-run.exp
7002 * gdb.base/enumval.exp
7003 * gdb.base/environ.exp
7004 * gdb.base/eu-strip-infcall.exp
7005 * gdb.base/eval-avoid-side-effects.exp
7006 * gdb.base/eval-skip.exp
7007 * gdb.base/exitsignal.exp
7008 * gdb.base/expand-psymtabs.exp
7009 * gdb.base/filesym.exp
7010 * gdb.base/find-unmapped.exp
7011 * gdb.base/finish.exp
7012 * gdb.base/float.exp
7013 * gdb.base/foll-exec-mode.exp
7014 * gdb.base/foll-exec.exp
7015 * gdb.base/foll-fork.exp
7016 * gdb.base/fortran-sym-case.exp
7017 * gdb.base/freebpcmd.exp
7018 * gdb.base/func-ptr.exp
7019 * gdb.base/func-ptrs.exp
7020 * gdb.base/funcargs.exp
7021 * gdb.base/gcore-buffer-overflow.exp
7022 * gdb.base/gcore-relro-pie.exp
7023 * gdb.base/gcore-relro.exp
7024 * gdb.base/gcore.exp
7025 * gdb.base/gdb1090.exp
7026 * gdb.base/gdb11530.exp
7027 * gdb.base/gdb11531.exp
7028 * gdb.base/gdb1821.exp
7029 * gdb.base/gdbindex-stabs.exp
7030 * gdb.base/gdbvars.exp
7031 * gdb.base/hbreak.exp
7032 * gdb.base/hbreak2.exp
7033 * gdb.base/included.exp
7034 * gdb.base/infcall-input.exp
7035 * gdb.base/inferior-died.exp
7036 * gdb.base/infnan.exp
7037 * gdb.base/info-macros.exp
7038 * gdb.base/info-os.exp
7039 * gdb.base/info-proc.exp
7040 * gdb.base/info-shared.exp
7041 * gdb.base/info-target.exp
7042 * gdb.base/infoline.exp
7043 * gdb.base/interp.exp
7044 * gdb.base/interrupt.exp
7045 * gdb.base/jit-reader.exp
7046 * gdb.base/jit-simple.exp
7047 * gdb.base/kill-after-signal.exp
7048 * gdb.base/kill-detach-inferiors-cmd.exp
7049 * gdb.base/label.exp
7050 * gdb.base/langs.exp
7051 * gdb.base/ldbl_e308.exp
7052 * gdb.base/line-symtabs.exp
7053 * gdb.base/linespecs.exp
7054 * gdb.base/list.exp
7055 * gdb.base/long_long.exp
7056 * gdb.base/longest-types.exp
7057 * gdb.base/maint.exp
7058 * gdb.base/max-value-size.exp
7059 * gdb.base/memattr.exp
7060 * gdb.base/mips_pro.exp
7061 * gdb.base/morestack.exp
7062 * gdb.base/moribund-step.exp
7063 * gdb.base/multi-forks.exp
7064 * gdb.base/nested-addr.exp
7065 * gdb.base/nextoverexit.exp
7066 * gdb.base/noreturn-finish.exp
7067 * gdb.base/noreturn-return.exp
7068 * gdb.base/nostdlib.exp
7069 * gdb.base/offsets.exp
7070 * gdb.base/opaque.exp
7071 * gdb.base/pc-fp.exp
7072 * gdb.base/permissions.exp
7073 * gdb.base/print-symbol-loading.exp
7074 * gdb.base/prologue-include.exp
7075 * gdb.base/psymtab.exp
7076 * gdb.base/ptype.exp
7077 * gdb.base/random-signal.exp
7078 * gdb.base/randomize.exp
7079 * gdb.base/range-stepping.exp
7080 * gdb.base/readline-ask.exp
7081 * gdb.base/recpar.exp
7082 * gdb.base/recurse.exp
7083 * gdb.base/relational.exp
7084 * gdb.base/restore.exp
7085 * gdb.base/return-nodebug.exp
7086 * gdb.base/return.exp
7087 * gdb.base/run-after-attach.exp
7088 * gdb.base/save-bp.exp
7089 * gdb.base/scope.exp
7090 * gdb.base/sect-cmd.exp
7091 * gdb.base/set-lang-auto.exp
7092 * gdb.base/set-noassign.exp
7093 * gdb.base/setvar.exp
7094 * gdb.base/sigall.exp
7095 * gdb.base/sigbpt.exp
7096 * gdb.base/siginfo-addr.exp
7097 * gdb.base/siginfo-infcall.exp
7098 * gdb.base/siginfo-obj.exp
7099 * gdb.base/siginfo.exp
7100 * gdb.base/signals-state-child.exp
7101 * gdb.base/signest.exp
7102 * gdb.base/sigstep.exp
7103 * gdb.base/sizeof.exp
7104 * gdb.base/skip.exp
7105 * gdb.base/solib-corrupted.exp
7106 * gdb.base/solib-nodir.exp
7107 * gdb.base/solib-search.exp
7108 * gdb.base/stack-checking.exp
7109 * gdb.base/stale-infcall.exp
7110 * gdb.base/stap-probe.exp
7111 * gdb.base/start.exp
7112 * gdb.base/step-break.exp
7113 * gdb.base/step-bt.exp
7114 * gdb.base/step-line.exp
7115 * gdb.base/step-over-exit.exp
7116 * gdb.base/step-over-syscall.exp
7117 * gdb.base/step-resume-infcall.exp
7118 * gdb.base/step-test.exp
7119 * gdb.base/store.exp
7120 * gdb.base/structs3.exp
7121 * gdb.base/sym-file.exp
7122 * gdb.base/symbol-without-target_section.exp
7123 * gdb.base/term.exp
7124 * gdb.base/testenv.exp
7125 * gdb.base/ui-redirect.exp
7126 * gdb.base/until.exp
7127 * gdb.base/unwindonsignal.exp
7128 * gdb.base/value-double-free.exp
7129 * gdb.base/vla-datatypes.exp
7130 * gdb.base/vla-ptr.exp
7131 * gdb.base/vla-sideeffect.exp
7132 * gdb.base/volatile.exp
7133 * gdb.base/watch-cond-infcall.exp
7134 * gdb.base/watch-cond.exp
7135 * gdb.base/watch-non-mem.exp
7136 * gdb.base/watch-read.exp
7137 * gdb.base/watch-vfork.exp
7138 * gdb.base/watchpoint-cond-gone.exp
7139 * gdb.base/watchpoint-delete.exp
7140 * gdb.base/watchpoint-hw-hit-once.exp
7141 * gdb.base/watchpoint-hw.exp
7142 * gdb.base/watchpoint-stops-at-right-insn.exp
7143 * gdb.base/watchpoints.exp
7144 * gdb.base/wchar.exp
7145 * gdb.base/whatis-exp.exp
7146 * gdb.btrace/buffer-size.exp
7147 * gdb.btrace/data.exp
7148 * gdb.btrace/delta.exp
7149 * gdb.btrace/dlopen.exp
7150 * gdb.btrace/enable.exp
7151 * gdb.btrace/exception.exp
7152 * gdb.btrace/function_call_history.exp
7153 * gdb.btrace/gcore.exp
7154 * gdb.btrace/instruction_history.exp
7155 * gdb.btrace/nohist.exp
7156 * gdb.btrace/reconnect.exp
7157 * gdb.btrace/record_goto-step.exp
7158 * gdb.btrace/record_goto.exp
7159 * gdb.btrace/rn-dl-bind.exp
7160 * gdb.btrace/segv.exp
7161 * gdb.btrace/step.exp
7162 * gdb.btrace/stepi.exp
7163 * gdb.btrace/tailcall-only.exp
7164 * gdb.btrace/tailcall.exp
7165 * gdb.btrace/tsx.exp
7166 * gdb.btrace/unknown_functions.exp
7167 * gdb.btrace/vdso.exp
7168 * gdb.compile/compile-ifunc.exp
7169 * gdb.compile/compile-ops.exp
7170 * gdb.compile/compile-print.exp
7171 * gdb.compile/compile-setjmp.exp
7172 * gdb.cp/abstract-origin.exp
7173 * gdb.cp/ambiguous.exp
7174 * gdb.cp/annota2.exp
7175 * gdb.cp/annota3.exp
7176 * gdb.cp/anon-ns.exp
7177 * gdb.cp/anon-struct.exp
7178 * gdb.cp/anon-union.exp
7179 * gdb.cp/arg-reference.exp
7180 * gdb.cp/baseenum.exp
7181 * gdb.cp/bool.exp
7182 * gdb.cp/breakpoint.exp
7183 * gdb.cp/bs15503.exp
7184 * gdb.cp/call-c.exp
7185 * gdb.cp/casts.exp
7186 * gdb.cp/chained-calls.exp
7187 * gdb.cp/class2.exp
7188 * gdb.cp/classes.exp
7189 * gdb.cp/cmpd-minsyms.exp
7190 * gdb.cp/converts.exp
7191 * gdb.cp/cp-relocate.exp
7192 * gdb.cp/cpcompletion.exp
7193 * gdb.cp/cpexprs.exp
7194 * gdb.cp/cplabel.exp
7195 * gdb.cp/cplusfuncs.exp
7196 * gdb.cp/cpsizeof.exp
7197 * gdb.cp/ctti.exp
7198 * gdb.cp/derivation.exp
7199 * gdb.cp/destrprint.exp
7200 * gdb.cp/dispcxx.exp
7201 * gdb.cp/enum-class.exp
7202 * gdb.cp/exception.exp
7203 * gdb.cp/exceptprint.exp
7204 * gdb.cp/expand-psymtabs-cxx.exp
7205 * gdb.cp/expand-sals.exp
7206 * gdb.cp/extern-c.exp
7207 * gdb.cp/filename.exp
7208 * gdb.cp/formatted-ref.exp
7209 * gdb.cp/fpointer.exp
7210 * gdb.cp/gdb1355.exp
7211 * gdb.cp/gdb2495.exp
7212 * gdb.cp/hang.exp
7213 * gdb.cp/impl-this.exp
7214 * gdb.cp/infcall-dlopen.exp
7215 * gdb.cp/inherit.exp
7216 * gdb.cp/iostream.exp
7217 * gdb.cp/koenig.exp
7218 * gdb.cp/local.exp
7219 * gdb.cp/m-data.exp
7220 * gdb.cp/m-static.exp
7221 * gdb.cp/mb-ctor.exp
7222 * gdb.cp/mb-inline.exp
7223 * gdb.cp/mb-templates.exp
7224 * gdb.cp/member-name.exp
7225 * gdb.cp/member-ptr.exp
7226 * gdb.cp/meth-typedefs.exp
7227 * gdb.cp/method.exp
7228 * gdb.cp/method2.exp
7229 * gdb.cp/minsym-fallback.exp
7230 * gdb.cp/misc.exp
7231 * gdb.cp/namelessclass.exp
7232 * gdb.cp/namespace-enum.exp
7233 * gdb.cp/namespace-nested-import.exp
7234 * gdb.cp/namespace.exp
7235 * gdb.cp/nextoverthrow.exp
7236 * gdb.cp/no-dmgl-verbose.exp
7237 * gdb.cp/non-trivial-retval.exp
7238 * gdb.cp/noparam.exp
7239 * gdb.cp/nsdecl.exp
7240 * gdb.cp/nsimport.exp
7241 * gdb.cp/nsnested.exp
7242 * gdb.cp/nsnoimports.exp
7243 * gdb.cp/nsrecurs.exp
7244 * gdb.cp/nsstress.exp
7245 * gdb.cp/nsusing.exp
7246 * gdb.cp/operator.exp
7247 * gdb.cp/oranking.exp
7248 * gdb.cp/overload-const.exp
7249 * gdb.cp/overload.exp
7250 * gdb.cp/ovldbreak.exp
7251 * gdb.cp/ovsrch.exp
7252 * gdb.cp/paren-type.exp
7253 * gdb.cp/parse-lang.exp
7254 * gdb.cp/pass-by-ref.exp
7255 * gdb.cp/pr-1023.exp
7256 * gdb.cp/pr-1210.exp
7257 * gdb.cp/pr-574.exp
7258 * gdb.cp/pr10687.exp
7259 * gdb.cp/pr12028.exp
7260 * gdb.cp/pr17132.exp
7261 * gdb.cp/pr17494.exp
7262 * gdb.cp/pr9067.exp
7263 * gdb.cp/pr9167.exp
7264 * gdb.cp/pr9631.exp
7265 * gdb.cp/printmethod.exp
7266 * gdb.cp/psmang.exp
7267 * gdb.cp/psymtab-parameter.exp
7268 * gdb.cp/ptype-cv-cp.exp
7269 * gdb.cp/ptype-flags.exp
7270 * gdb.cp/re-set-overloaded.exp
7271 * gdb.cp/ref-types.exp
7272 * gdb.cp/rtti.exp
7273 * gdb.cp/scope-err.exp
7274 * gdb.cp/shadow.exp
7275 * gdb.cp/smartp.exp
7276 * gdb.cp/static-method.exp
7277 * gdb.cp/static-print-quit.exp
7278 * gdb.cp/temargs.exp
7279 * gdb.cp/templates.exp
7280 * gdb.cp/try_catch.exp
7281 * gdb.cp/typedef-operator.exp
7282 * gdb.cp/typeid.exp
7283 * gdb.cp/userdef.exp
7284 * gdb.cp/using-crash.exp
7285 * gdb.cp/var-tag.exp
7286 * gdb.cp/virtbase.exp
7287 * gdb.cp/virtfunc.exp
7288 * gdb.cp/virtfunc2.exp
7289 * gdb.cp/vla-cxx.exp
7290 * gdb.disasm/t01_mov.exp
7291 * gdb.disasm/t02_mova.exp
7292 * gdb.disasm/t03_add.exp
7293 * gdb.disasm/t04_sub.exp
7294 * gdb.disasm/t05_cmp.exp
7295 * gdb.disasm/t06_ari2.exp
7296 * gdb.disasm/t07_ari3.exp
7297 * gdb.disasm/t08_or.exp
7298 * gdb.disasm/t09_xor.exp
7299 * gdb.disasm/t10_and.exp
7300 * gdb.disasm/t11_logs.exp
7301 * gdb.disasm/t12_bit.exp
7302 * gdb.disasm/t13_otr.exp
7303 * gdb.dlang/circular.exp
7304 * gdb.dwarf2/arr-stride.exp
7305 * gdb.dwarf2/arr-subrange.exp
7306 * gdb.dwarf2/atomic-type.exp
7307 * gdb.dwarf2/bad-regnum.exp
7308 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7309 * gdb.dwarf2/callframecfa.exp
7310 * gdb.dwarf2/clztest.exp
7311 * gdb.dwarf2/corrupt.exp
7312 * gdb.dwarf2/data-loc.exp
7313 * gdb.dwarf2/dup-psym.exp
7314 * gdb.dwarf2/dw2-anon-mptr.exp
7315 * gdb.dwarf2/dw2-anonymous-func.exp
7316 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7317 * gdb.dwarf2/dw2-bad-unresolved.exp
7318 * gdb.dwarf2/dw2-basic.exp
7319 * gdb.dwarf2/dw2-canonicalize-type.exp
7320 * gdb.dwarf2/dw2-case-insensitive.exp
7321 * gdb.dwarf2/dw2-common-block.exp
7322 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7323 * gdb.dwarf2/dw2-compressed.exp
7324 * gdb.dwarf2/dw2-const.exp
7325 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7326 * gdb.dwarf2/dw2-cu-size.exp
7327 * gdb.dwarf2/dw2-dup-frame.exp
7328 * gdb.dwarf2/dw2-entry-value.exp
7329 * gdb.dwarf2/dw2-icycle.exp
7330 * gdb.dwarf2/dw2-ifort-parameter.exp
7331 * gdb.dwarf2/dw2-inline-break.exp
7332 * gdb.dwarf2/dw2-inline-param.exp
7333 * gdb.dwarf2/dw2-intercu.exp
7334 * gdb.dwarf2/dw2-intermix.exp
7335 * gdb.dwarf2/dw2-lexical-block-bare.exp
7336 * gdb.dwarf2/dw2-linkage-name-trust.exp
7337 * gdb.dwarf2/dw2-minsym-in-cu.exp
7338 * gdb.dwarf2/dw2-noloc.exp
7339 * gdb.dwarf2/dw2-op-call.exp
7340 * gdb.dwarf2/dw2-op-out-param.exp
7341 * gdb.dwarf2/dw2-opt-structptr.exp
7342 * gdb.dwarf2/dw2-param-error.exp
7343 * gdb.dwarf2/dw2-producer.exp
7344 * gdb.dwarf2/dw2-ranges-base.exp
7345 * gdb.dwarf2/dw2-ref-missing-frame.exp
7346 * gdb.dwarf2/dw2-reg-undefined.exp
7347 * gdb.dwarf2/dw2-regno-invalid.exp
7348 * gdb.dwarf2/dw2-restore.exp
7349 * gdb.dwarf2/dw2-restrict.exp
7350 * gdb.dwarf2/dw2-single-line-discriminators.exp
7351 * gdb.dwarf2/dw2-strp.exp
7352 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7353 * gdb.dwarf2/dw2-unresolved.exp
7354 * gdb.dwarf2/dw2-var-zero-addr.exp
7355 * gdb.dwarf2/dw4-sig-types.exp
7356 * gdb.dwarf2/dwz.exp
7357 * gdb.dwarf2/dynarr-ptr.exp
7358 * gdb.dwarf2/enum-type.exp
7359 * gdb.dwarf2/gdb-index.exp
7360 * gdb.dwarf2/implptr-64bit.exp
7361 * gdb.dwarf2/implptr-optimized-out.exp
7362 * gdb.dwarf2/implptr.exp
7363 * gdb.dwarf2/implref-array.exp
7364 * gdb.dwarf2/implref-const.exp
7365 * gdb.dwarf2/implref-global.exp
7366 * gdb.dwarf2/implref-struct.exp
7367 * gdb.dwarf2/mac-fileno.exp
7368 * gdb.dwarf2/main-subprogram.exp
7369 * gdb.dwarf2/member-ptr-forwardref.exp
7370 * gdb.dwarf2/method-ptr.exp
7371 * gdb.dwarf2/missing-sig-type.exp
7372 * gdb.dwarf2/nonvar-access.exp
7373 * gdb.dwarf2/opaque-type-lookup.exp
7374 * gdb.dwarf2/pieces-optimized-out.exp
7375 * gdb.dwarf2/pieces.exp
7376 * gdb.dwarf2/pr10770.exp
7377 * gdb.dwarf2/pr13961.exp
7378 * gdb.dwarf2/staticvirtual.exp
7379 * gdb.dwarf2/subrange.exp
7380 * gdb.dwarf2/symtab-producer.exp
7381 * gdb.dwarf2/trace-crash.exp
7382 * gdb.dwarf2/typeddwarf.exp
7383 * gdb.dwarf2/valop.exp
7384 * gdb.dwarf2/watch-notconst.exp
7385 * gdb.fortran/array-element.exp
7386 * gdb.fortran/charset.exp
7387 * gdb.fortran/common-block.exp
7388 * gdb.fortran/complex.exp
7389 * gdb.fortran/derived-type-function.exp
7390 * gdb.fortran/derived-type.exp
7391 * gdb.fortran/logical.exp
7392 * gdb.fortran/module.exp
7393 * gdb.fortran/multi-dim.exp
7394 * gdb.fortran/nested-funcs.exp
7395 * gdb.fortran/print-formatted.exp
7396 * gdb.fortran/subarray.exp
7397 * gdb.fortran/vla-alloc-assoc.exp
7398 * gdb.fortran/vla-datatypes.exp
7399 * gdb.fortran/vla-history.exp
7400 * gdb.fortran/vla-ptr-info.exp
7401 * gdb.fortran/vla-ptype-sub.exp
7402 * gdb.fortran/vla-ptype.exp
7403 * gdb.fortran/vla-sizeof.exp
7404 * gdb.fortran/vla-type.exp
7405 * gdb.fortran/vla-value-sub-arbitrary.exp
7406 * gdb.fortran/vla-value-sub-finish.exp
7407 * gdb.fortran/vla-value-sub.exp
7408 * gdb.fortran/vla-value.exp
7409 * gdb.fortran/whatis_type.exp
7410 * gdb.go/chan.exp
7411 * gdb.go/handcall.exp
7412 * gdb.go/hello.exp
7413 * gdb.go/integers.exp
7414 * gdb.go/methods.exp
7415 * gdb.go/package.exp
7416 * gdb.go/strings.exp
7417 * gdb.go/types.exp
7418 * gdb.go/unsafe.exp
7419 * gdb.guile/scm-arch.exp
7420 * gdb.guile/scm-block.exp
7421 * gdb.guile/scm-breakpoint.exp
7422 * gdb.guile/scm-cmd.exp
7423 * gdb.guile/scm-disasm.exp
7424 * gdb.guile/scm-equal.exp
7425 * gdb.guile/scm-frame-args.exp
7426 * gdb.guile/scm-frame-inline.exp
7427 * gdb.guile/scm-frame.exp
7428 * gdb.guile/scm-iterator.exp
7429 * gdb.guile/scm-math.exp
7430 * gdb.guile/scm-objfile.exp
7431 * gdb.guile/scm-ports.exp
7432 * gdb.guile/scm-symbol.exp
7433 * gdb.guile/scm-symtab.exp
7434 * gdb.guile/scm-value-cc.exp
7435 * gdb.guile/types-module.exp
7436 * gdb.linespec/break-ask.exp
7437 * gdb.linespec/cpexplicit.exp
7438 * gdb.linespec/explicit.exp
7439 * gdb.linespec/keywords.exp
7440 * gdb.linespec/linespec.exp
7441 * gdb.linespec/ls-dollar.exp
7442 * gdb.linespec/ls-errs.exp
7443 * gdb.linespec/skip-two.exp
7444 * gdb.linespec/thread.exp
7445 * gdb.mi/mi-async.exp
7446 * gdb.mi/mi-basics.exp
7447 * gdb.mi/mi-break.exp
7448 * gdb.mi/mi-catch-load.exp
7449 * gdb.mi/mi-cli.exp
7450 * gdb.mi/mi-cmd-param-changed.exp
7451 * gdb.mi/mi-console.exp
7452 * gdb.mi/mi-detach.exp
7453 * gdb.mi/mi-disassemble.exp
7454 * gdb.mi/mi-eval.exp
7455 * gdb.mi/mi-file-transfer.exp
7456 * gdb.mi/mi-file.exp
7457 * gdb.mi/mi-fill-memory.exp
7458 * gdb.mi/mi-inheritance-syntax-error.exp
7459 * gdb.mi/mi-linespec-err-cp.exp
7460 * gdb.mi/mi-logging.exp
7461 * gdb.mi/mi-memory-changed.exp
7462 * gdb.mi/mi-read-memory.exp
7463 * gdb.mi/mi-record-changed.exp
7464 * gdb.mi/mi-reg-undefined.exp
7465 * gdb.mi/mi-regs.exp
7466 * gdb.mi/mi-return.exp
7467 * gdb.mi/mi-reverse.exp
7468 * gdb.mi/mi-simplerun.exp
7469 * gdb.mi/mi-solib.exp
7470 * gdb.mi/mi-stack.exp
7471 * gdb.mi/mi-stepi.exp
7472 * gdb.mi/mi-syn-frame.exp
7473 * gdb.mi/mi-until.exp
7474 * gdb.mi/mi-var-block.exp
7475 * gdb.mi/mi-var-child.exp
7476 * gdb.mi/mi-var-cmd.exp
7477 * gdb.mi/mi-var-cp.exp
7478 * gdb.mi/mi-var-display.exp
7479 * gdb.mi/mi-var-invalidate.exp
7480 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7481 * gdb.mi/mi-vla-fortran.exp
7482 * gdb.mi/mi-watch.exp
7483 * gdb.mi/mi2-var-child.exp
7484 * gdb.mi/user-selected-context-sync.exp
7485 * gdb.modula2/unbounded-array.exp
7486 * gdb.multi/dummy-frame-restore.exp
7487 * gdb.multi/multi-arch-exec.exp
7488 * gdb.multi/multi-arch.exp
7489 * gdb.multi/tids.exp
7490 * gdb.multi/watchpoint-multi.exp
7491 * gdb.opencl/callfuncs.exp
7492 * gdb.opencl/convs_casts.exp
7493 * gdb.opencl/datatypes.exp
7494 * gdb.opencl/operators.exp
7495 * gdb.opencl/vec_comps.exp
7496 * gdb.opt/clobbered-registers-O2.exp
7497 * gdb.opt/inline-break.exp
7498 * gdb.opt/inline-bt.exp
7499 * gdb.opt/inline-cmds.exp
7500 * gdb.opt/inline-locals.exp
7501 * gdb.pascal/case-insensitive-symbols.exp
7502 * gdb.pascal/floats.exp
7503 * gdb.pascal/gdb11492.exp
7504 * gdb.python/lib-types.exp
7505 * gdb.python/py-arch.exp
7506 * gdb.python/py-as-string.exp
7507 * gdb.python/py-bad-printers.exp
7508 * gdb.python/py-block.exp
7509 * gdb.python/py-breakpoint-create-fail.exp
7510 * gdb.python/py-breakpoint.exp
7511 * gdb.python/py-caller-is.exp
7512 * gdb.python/py-cmd.exp
7513 * gdb.python/py-explore-cc.exp
7514 * gdb.python/py-explore.exp
7515 * gdb.python/py-finish-breakpoint.exp
7516 * gdb.python/py-finish-breakpoint2.exp
7517 * gdb.python/py-frame-args.exp
7518 * gdb.python/py-frame-inline.exp
7519 * gdb.python/py-frame.exp
7520 * gdb.python/py-framefilter-mi.exp
7521 * gdb.python/py-infthread.exp
7522 * gdb.python/py-lazy-string.exp
7523 * gdb.python/py-linetable.exp
7524 * gdb.python/py-mi-events.exp
7525 * gdb.python/py-mi-objfile.exp
7526 * gdb.python/py-mi.exp
7527 * gdb.python/py-objfile.exp
7528 * gdb.python/py-pp-integral.exp
7529 * gdb.python/py-pp-maint.exp
7530 * gdb.python/py-pp-re-notag.exp
7531 * gdb.python/py-pp-registration.exp
7532 * gdb.python/py-recurse-unwind.exp
7533 * gdb.python/py-strfns.exp
7534 * gdb.python/py-symbol.exp
7535 * gdb.python/py-symtab.exp
7536 * gdb.python/py-sync-interp.exp
7537 * gdb.python/py-typeprint.exp
7538 * gdb.python/py-unwind-maint.exp
7539 * gdb.python/py-unwind.exp
7540 * gdb.python/py-value-cc.exp
7541 * gdb.python/py-xmethods.exp
7542 * gdb.reverse/amd64-tailcall-reverse.exp
7543 * gdb.reverse/break-precsave.exp
7544 * gdb.reverse/break-reverse.exp
7545 * gdb.reverse/consecutive-precsave.exp
7546 * gdb.reverse/consecutive-reverse.exp
7547 * gdb.reverse/finish-precsave.exp
7548 * gdb.reverse/finish-reverse-bkpt.exp
7549 * gdb.reverse/finish-reverse.exp
7550 * gdb.reverse/fstatat-reverse.exp
7551 * gdb.reverse/getresuid-reverse.exp
7552 * gdb.reverse/i386-precsave.exp
7553 * gdb.reverse/i386-reverse.exp
7554 * gdb.reverse/i386-sse-reverse.exp
7555 * gdb.reverse/i387-env-reverse.exp
7556 * gdb.reverse/i387-stack-reverse.exp
7557 * gdb.reverse/insn-reverse.exp
7558 * gdb.reverse/machinestate-precsave.exp
7559 * gdb.reverse/machinestate.exp
7560 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7561 * gdb.reverse/pipe-reverse.exp
7562 * gdb.reverse/readv-reverse.exp
7563 * gdb.reverse/recvmsg-reverse.exp
7564 * gdb.reverse/rerun-prec.exp
7565 * gdb.reverse/s390-mvcle.exp
7566 * gdb.reverse/step-precsave.exp
7567 * gdb.reverse/step-reverse.exp
7568 * gdb.reverse/time-reverse.exp
7569 * gdb.reverse/until-precsave.exp
7570 * gdb.reverse/until-reverse.exp
7571 * gdb.reverse/waitpid-reverse.exp
7572 * gdb.reverse/watch-precsave.exp
7573 * gdb.reverse/watch-reverse.exp
7574 * gdb.rust/generics.exp
7575 * gdb.rust/methods.exp
7576 * gdb.rust/modules.exp
7577 * gdb.rust/simple.exp
7578 * gdb.server/connect-with-no-symbol-file.exp
7579 * gdb.server/ext-attach.exp
7580 * gdb.server/ext-restart.exp
7581 * gdb.server/ext-wrapper.exp
7582 * gdb.server/file-transfer.exp
7583 * gdb.server/server-exec-info.exp
7584 * gdb.server/server-kill.exp
7585 * gdb.server/server-mon.exp
7586 * gdb.server/wrapper.exp
7587 * gdb.stabs/exclfwd.exp
7588 * gdb.stabs/gdb11479.exp
7589 * gdb.threads/clone-new-thread-event.exp
7590 * gdb.threads/corethreads.exp
7591 * gdb.threads/current-lwp-dead.exp
7592 * gdb.threads/dlopen-libpthread.exp
7593 * gdb.threads/gcore-thread.exp
7594 * gdb.threads/sigstep-threads.exp
7595 * gdb.threads/watchpoint-fork.exp
7596 * gdb.trace/actions-changed.exp
7597 * gdb.trace/backtrace.exp
7598 * gdb.trace/change-loc.exp
7599 * gdb.trace/circ.exp
7600 * gdb.trace/collection.exp
7601 * gdb.trace/disconnected-tracing.exp
7602 * gdb.trace/ftrace.exp
7603 * gdb.trace/mi-trace-frame-collected.exp
7604 * gdb.trace/mi-trace-unavailable.exp
7605 * gdb.trace/mi-traceframe-changed.exp
7606 * gdb.trace/mi-tsv-changed.exp
7607 * gdb.trace/no-attach-trace.exp
7608 * gdb.trace/passc-dyn.exp
7609 * gdb.trace/qtro.exp
7610 * gdb.trace/range-stepping.exp
7611 * gdb.trace/read-memory.exp
7612 * gdb.trace/save-trace.exp
7613 * gdb.trace/signal.exp
7614 * gdb.trace/status-stop.exp
7615 * gdb.trace/tfile.exp
7616 * gdb.trace/trace-break.exp
7617 * gdb.trace/trace-buffer-size.exp
7618 * gdb.trace/trace-condition.exp
7619 * gdb.trace/tracefile-pseudo-reg.exp
7620 * gdb.trace/tstatus.exp
7621 * gdb.trace/unavailable.exp
7622 * gdb.trace/while-dyn.exp
7623 * gdb.trace/while-stepping.exp
7624
34c41c68
DE
76252016-12-22 Doug Evans <xdje42@gmail.com>
7626
7627 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7628 and msymbols.
7629
16e69324
YQ
76302016-12-19 Yao Qi <yao.qi@linaro.org>
7631
7632 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7633 (test_with_self): Don't call do_steps_and_nexts, and remove
7634 code about stepping into xmalloc.
7635
f94f411b
YQ
76362016-12-09 Yao Qi <yao.qi@linaro.org>
7637
7638 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7639
76402016-12-09 Yao Qi <yao.qi@linaro.org>
7641
7642 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7643
f1b5deee
PA
76442016-12-09 Pedro Alves <palves@redhat.com>
7645
7646 * gdb.base/all-architectures-0.exp: New file.
7647 * gdb.base/all-architectures-1.exp: New file.
7648 * gdb.base/all-architectures-2.exp: New file.
7649 * gdb.base/all-architectures-3.exp: New file.
7650 * gdb.base/all-architectures-4.exp: New file.
7651 * gdb.base/all-architectures-5.exp: New file.
7652 * gdb.base/all-architectures-6.exp: New file.
7653 * gdb.base/all-architectures-7.exp: New file.
7654 * gdb.base/all-architectures.exp.in: New file.
7655
364ca42e
YQ
76562016-12-09 Yao Qi <yao.qi@linaro.org>
7657
7658 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7659
107c2d62
LM
76602016-12-02 Luis Machado <lgustavo@codesourcery.com>
7661
7662 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7663 possible.
7664 Remove useless pattern-matching code.
7665
df3ee9ca
PA
76662016-12-02 Pedro Alves <palves@redhat.com>
7667
7668 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7669 procedure.
7670 (top level): Call it.
7671
ec835369
PA
76722016-12-02 Pedro Alves <palves@redhat.com>
7673
7674 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7675 New procedure.
7676 (top level): Call it.
7677
01770bbd
PA
76782016-12-02 Pedro Alves <palves@redhat.com>
7679
7680 PR cli/20559
7681 * gdb.base/commands.exp (user_defined_command_args_eval): New
7682 procedure.
7683 (top level): Call it.
7684
008459ea
LM
76852016-12-02 Luis Machado <lgustavo@codesourcery.com>
7686
7687 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7688 timeout handling.
7689
0c1b455e
TT
76902016-12-02 Tom Tromey <tom@tromey.com>
7691
7692 * gdb.dwarf2/main-subprogram.c: New file.
7693 * gdb.dwarf2/main-subprogram.exp: New file.
7694
018572b8
LM
76952016-12-01 Luis Machado <lgustavo@codesourcery.com>
7696
7697 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7698 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7699 gdb_test_no_output for a couple of cases.
7700 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7701
84c93cd5
LM
77022016-12-01 Luis Machado <lgustavo@codesourcery.com>
7703
7704 Fix test names and standardize compilation error messages throughout
7705 the following files:
7706
7707 * gdb.ada/start.exp
7708 * gdb.arch/alpha-step.exp
7709 * gdb.arch/e500-prologue.exp
7710 * gdb.arch/ftrace-insn-reloc.exp
7711 * gdb.arch/gdb1291.exp
7712 * gdb.arch/gdb1431.exp
7713 * gdb.arch/gdb1558.exp
7714 * gdb.arch/i386-dr3-watch.exp
7715 * gdb.arch/i386-sse-stack-align.exp
7716 * gdb.arch/ia64-breakpoint-shadow.exp
7717 * gdb.arch/pa-nullify.exp
7718 * gdb.arch/powerpc-aix-prologue.exp
7719 * gdb.arch/thumb-bx-pc.exp
7720 * gdb.base/annota1.exp
7721 * gdb.base/annota3.exp
7722 * gdb.base/arrayidx.exp
7723 * gdb.base/assign.exp
7724 * gdb.base/attach.exp
7725 * gdb.base/auxv.exp
7726 * gdb.base/bang.exp
7727 * gdb.base/bfp-test.exp
7728 * gdb.base/bigcore.exp
7729 * gdb.base/bitfields2.exp
7730 * gdb.base/break-fun-addr.exp
7731 * gdb.base/break-probes.exp
7732 * gdb.base/call-rt-st.exp
7733 * gdb.base/callexit.exp
7734 * gdb.base/catch-fork-kill.exp
7735 * gdb.base/charset.exp
7736 * gdb.base/checkpoint.exp
7737 * gdb.base/comprdebug.exp
7738 * gdb.base/constvars.exp
7739 * gdb.base/coredump-filter.exp
7740 * gdb.base/cursal.exp
7741 * gdb.base/cvexpr.exp
7742 * gdb.base/detach.exp
7743 * gdb.base/display.exp
7744 * gdb.base/dmsym.exp
7745 * gdb.base/dprintf-pending.exp
7746 * gdb.base/dso2dso.exp
7747 * gdb.base/dtrace-probe.exp
7748 * gdb.base/dump.exp
7749 * gdb.base/enum_cond.exp
7750 * gdb.base/exe-lock.exp
7751 * gdb.base/exec-invalid-sysroot.exp
7752 * gdb.base/execl-update-breakpoints.exp
7753 * gdb.base/exprs.exp
7754 * gdb.base/fileio.exp
7755 * gdb.base/find.exp
7756 * gdb.base/finish.exp
7757 * gdb.base/fixsection.exp
7758 * gdb.base/foll-vfork.exp
7759 * gdb.base/frame-args.exp
7760 * gdb.base/gcore.exp
7761 * gdb.base/gdb1250.exp
7762 * gdb.base/global-var-nested-by-dso.exp
7763 * gdb.base/gnu-ifunc.exp
7764 * gdb.base/hashline1.exp
7765 * gdb.base/hashline2.exp
7766 * gdb.base/hashline3.exp
7767 * gdb.base/hbreak-in-shr-unsupported.exp
7768 * gdb.base/huge.exp
7769 * gdb.base/infcall-input.exp
7770 * gdb.base/info-fun.exp
7771 * gdb.base/info-shared.exp
7772 * gdb.base/jit-simple.exp
7773 * gdb.base/jit-so.exp
7774 * gdb.base/jit.exp
7775 * gdb.base/jump.exp
7776 * gdb.base/label.exp
7777 * gdb.base/lineinc.exp
7778 * gdb.base/logical.exp
7779 * gdb.base/longjmp.exp
7780 * gdb.base/macscp.exp
7781 * gdb.base/miscexprs.exp
7782 * gdb.base/new-ui-echo.exp
7783 * gdb.base/new-ui-pending-input.exp
7784 * gdb.base/new-ui.exp
7785 * gdb.base/nodebug.exp
7786 * gdb.base/nofield.exp
7787 * gdb.base/offsets.exp
7788 * gdb.base/overlays.exp
7789 * gdb.base/pending.exp
7790 * gdb.base/pointers.exp
7791 * gdb.base/pr11022.exp
7792 * gdb.base/printcmds.exp
7793 * gdb.base/prologue.exp
7794 * gdb.base/ptr-typedef.exp
7795 * gdb.base/realname-expand.exp
7796 * gdb.base/relativedebug.exp
7797 * gdb.base/relocate.exp
7798 * gdb.base/remote.exp
7799 * gdb.base/reread.exp
7800 * gdb.base/return2.exp
7801 * gdb.base/savedregs.exp
7802 * gdb.base/sep.exp
7803 * gdb.base/sepdebug.exp
7804 * gdb.base/sepsymtab.exp
7805 * gdb.base/set-inferior-tty.exp
7806 * gdb.base/setshow.exp
7807 * gdb.base/shlib-call.exp
7808 * gdb.base/sigaltstack.exp
7809 * gdb.base/siginfo-addr.exp
7810 * gdb.base/signals.exp
7811 * gdb.base/signull.exp
7812 * gdb.base/sigrepeat.exp
7813 * gdb.base/so-impl-ld.exp
7814 * gdb.base/solib-display.exp
7815 * gdb.base/solib-overlap.exp
7816 * gdb.base/solib-search.exp
7817 * gdb.base/solib-symbol.exp
7818 * gdb.base/structs.exp
7819 * gdb.base/structs2.exp
7820 * gdb.base/symtab-search-order.exp
7821 * gdb.base/twice.exp
7822 * gdb.base/unload.exp
7823 * gdb.base/varargs.exp
7824 * gdb.base/watchpoint-solib.exp
7825 * gdb.base/watchpoint.exp
7826 * gdb.base/whatis.exp
7827 * gdb.base/wrong_frame_bt_full.exp
7828 * gdb.btrace/dlopen.exp
7829 * gdb.cell/ea-standalone.exp
7830 * gdb.cell/ea-test.exp
7831 * gdb.cp/dispcxx.exp
7832 * gdb.cp/gdb2384.exp
7833 * gdb.cp/method2.exp
7834 * gdb.cp/nextoverthrow.exp
7835 * gdb.cp/pr10728.exp
7836 * gdb.disasm/am33.exp
7837 * gdb.disasm/h8300s.exp
7838 * gdb.disasm/mn10300.exp
7839 * gdb.disasm/sh3.exp
7840 * gdb.dwarf2/dw2-dir-file-name.exp
7841 * gdb.fortran/complex.exp
7842 * gdb.fortran/library-module.exp
7843 * gdb.guile/scm-pretty-print.exp
7844 * gdb.guile/scm-symbol.exp
7845 * gdb.guile/scm-type.exp
7846 * gdb.guile/scm-value.exp
7847 * gdb.linespec/linespec.exp
7848 * gdb.mi/gdb701.exp
7849 * gdb.mi/gdb792.exp
7850 * gdb.mi/mi-breakpoint-changed.exp
7851 * gdb.mi/mi-dprintf-pending.exp
7852 * gdb.mi/mi-dprintf.exp
7853 * gdb.mi/mi-exit-code.exp
7854 * gdb.mi/mi-pending.exp
7855 * gdb.mi/mi-solib.exp
7856 * gdb.mi/new-ui-mi-sync.exp
7857 * gdb.mi/pr11022.exp
7858 * gdb.mi/user-selected-context-sync.exp
7859 * gdb.opt/solib-intra-step.exp
7860 * gdb.python/py-events.exp
7861 * gdb.python/py-finish-breakpoint.exp
7862 * gdb.python/py-mi.exp
7863 * gdb.python/py-prettyprint.exp
7864 * gdb.python/py-shared.exp
7865 * gdb.python/py-symbol.exp
7866 * gdb.python/py-template.exp
7867 * gdb.python/py-type.exp
7868 * gdb.python/py-value.exp
7869 * gdb.reverse/solib-precsave.exp
7870 * gdb.reverse/solib-reverse.exp
7871 * gdb.server/solib-list.exp
7872 * gdb.stabs/weird.exp
7873 * gdb.threads/reconnect-signal.exp
7874 * gdb.threads/stepi-random-signal.exp
7875 * gdb.trace/actions.exp
7876 * gdb.trace/ax.exp
7877 * gdb.trace/backtrace.exp
7878 * gdb.trace/change-loc.exp
7879 * gdb.trace/deltrace.exp
7880 * gdb.trace/ftrace-lock.exp
7881 * gdb.trace/ftrace.exp
7882 * gdb.trace/infotrace.exp
7883 * gdb.trace/mi-tracepoint-changed.exp
7884 * gdb.trace/packetlen.exp
7885 * gdb.trace/passcount.exp
7886 * gdb.trace/pending.exp
7887 * gdb.trace/range-stepping.exp
7888 * gdb.trace/report.exp
7889 * gdb.trace/stap-trace.exp
7890 * gdb.trace/tfind.exp
7891 * gdb.trace/trace-break.exp
7892 * gdb.trace/trace-condition.exp
7893 * gdb.trace/trace-enable-disable.exp
7894 * gdb.trace/trace-mt.exp
7895 * gdb.trace/tracecmd.exp
7896 * gdb.trace/tspeed.exp
7897 * gdb.trace/tsv.exp
7898 * lib/perftest.exp
7899
fb9feb35
LM
79002016-12-01 Luis Machado <lgustavo@codesourcery.com>
7901
7902 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7903 with gdb_test_no_output.
7904 Use command as test name.
7905
cd2ddb6c
LM
79062016-12-01 Luis Machado <lgustavo@codesourcery.com>
7907
7908 Fix test names starting with uppercase throughout the files.
7909
7910 * gdb.ada/assign_1.exp
7911 * gdb.ada/boolean_expr.exp
7912 * gdb.base/arrayidx.exp
7913 * gdb.base/del.exp
7914 * gdb.base/gcore-buffer-overflow.exp
7915 * gdb.base/testenv.exp
7916 * gdb.compile/compile.exp
7917 * gdb.python/py-framefilter-invalidarg.exp
7918 * gdb.python/py-framefilter.exp
7919
bb95117e
LM
79202016-12-01 Luis Machado <lgustavo@codesourcery.com>
7921
7922 Fix test names starting with uppercase throughout the files.
7923
7924 * gdb.ada/array_return.exp
7925 * gdb.ada/expr_delims.exp
7926 * gdb.ada/mi_dyn_arr.exp
7927 * gdb.ada/mi_interface.exp
7928 * gdb.ada/mi_var_array.exp
7929 * gdb.ada/watch_arg.exp
7930 * gdb.arch/alpha-step.exp
7931 * gdb.arch/altivec-regs.exp
7932 * gdb.arch/e500-regs.exp
7933 * gdb.arch/powerpc-d128-regs.exp
7934 * gdb.base/arrayidx.exp
7935 * gdb.base/break.exp
7936 * gdb.base/checkpoint.exp
7937 * gdb.base/debug-expr.exp
7938 * gdb.base/dmsym.exp
7939 * gdb.base/radix.exp
7940 * gdb.base/sepdebug.exp
7941 * gdb.base/testenv.exp
7942 * gdb.base/watch_thread_num.exp
7943 * gdb.base/watchpoint-cond-gone.exp
7944 * gdb.cell/break.exp
7945 * gdb.cell/ea-cache.exp
7946 * gdb.compile/compile.exp
7947 * gdb.cp/gdb2495.exp
7948 * gdb.gdb/selftest.exp
7949 * gdb.gdb/xfullpath.exp
7950 * gdb.go/hello.exp
7951 * gdb.go/integers.exp
7952 * gdb.objc/basicclass.exp
7953 * gdb.pascal/hello.exp
7954 * gdb.pascal/integers.exp
7955 * gdb.python/py-breakpoint.exp
7956 * gdb.python/py-cmd.exp
7957 * gdb.python/py-linetable.exp
7958 * gdb.python/py-xmethods.exp
7959 * gdb.python/python.exp
7960 * gdb.reverse/consecutive-precsave.exp
7961 * gdb.reverse/finish-precsave.exp
7962 * gdb.reverse/i386-precsave.exp
7963 * gdb.reverse/machinestate-precsave.exp
7964 * gdb.reverse/sigall-precsave.exp
7965 * gdb.reverse/solib-precsave.exp
7966 * gdb.reverse/step-precsave.exp
7967 * gdb.reverse/until-precsave.exp
7968 * gdb.reverse/watch-precsave.exp
7969 * gdb.threads/leader-exit.exp
7970 * gdb.threads/pthreads.exp
7971 * gdb.threads/wp-replication.exp
7972 * gdb.trace/actions.exp
7973 * gdb.trace/mi-tsv-changed.exp
7974 * gdb.trace/tsv.exp
7975
de97fdd4
LM
79762016-12-01 Luis Machado <lgustavo@codesourcery.com>
7977
7978 Fix test names starting with uppercase throughout the files.
7979
7980 * gdb.arch/i386-bp_permanent.exp
7981 * gdb.arch/i386-gnu-cfi.exp
7982 * gdb.base/disasm-end-cu.exp
7983 * gdb.base/macscp.exp
7984 * gdb.base/pending.exp
7985 * gdb.base/watch_thread_num.exp
7986 * gdb.cp/exception.exp
7987 * gdb.cp/gdb2495.exp
7988 * gdb.cp/local.exp
7989 * gdb.python/py-evsignal.exp
7990 * gdb.python/python.exp
7991 * gdb.trace/tracecmd.exp
7992
9f058c10
LM
79932016-12-01 Luis Machado <lgustavo@codesourcery.com>
7994
7995 Fix test names starting with uppercase throughout the files.
7996
7997 * gdb.base/charset.exp
7998 * gdb.base/eval.exp
7999 * gdb.base/multi-forks.exp
8000 * gdb.guile/scm-progspace.exp
8001 * gdb.opencl/datatypes.exp
8002 * gdb.python/py-block.exp
8003 * gdb.python/py-function.exp
8004 * gdb.python/py-symbol.exp
8005 * gdb.python/py-symtab.exp
8006 * gdb.python/py-xmethods.exp
8007 * gdb.reverse/break-precsave.exp
8008 * gdb.reverse/break-reverse.exp
8009 * gdb.reverse/consecutive-precsave.exp
8010 * gdb.reverse/consecutive-reverse.exp
8011 * gdb.reverse/finish-precsave.exp
8012 * gdb.reverse/finish-reverse-bkpt.exp
8013 * gdb.reverse/finish-reverse.exp
8014 * gdb.reverse/fstatat-reverse.exp
8015 * gdb.reverse/getresuid-reverse.exp
8016 * gdb.reverse/i386-precsave.exp
8017 * gdb.reverse/i386-reverse.exp
8018 * gdb.reverse/i386-sse-reverse.exp
8019 * gdb.reverse/i387-stack-reverse.exp
8020 * gdb.reverse/insn-reverse.exp
8021 * gdb.reverse/machinestate-precsave.exp
8022 * gdb.reverse/machinestate.exp
8023 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8024 * gdb.reverse/pipe-reverse.exp
8025 * gdb.reverse/readv-reverse.exp
8026 * gdb.reverse/recvmsg-reverse.exp
8027 * gdb.reverse/rerun-prec.exp
8028 * gdb.reverse/s390-mvcle.exp
8029 * gdb.reverse/sigall-precsave.exp
8030 * gdb.reverse/sigall-reverse.exp
8031 * gdb.reverse/solib-precsave.exp
8032 * gdb.reverse/solib-reverse.exp
8033 * gdb.reverse/step-precsave.exp
8034 * gdb.reverse/step-reverse.exp
8035 * gdb.reverse/time-reverse.exp
8036 * gdb.reverse/until-precsave.exp
8037 * gdb.reverse/until-reverse.exp
8038 * gdb.reverse/waitpid-reverse.exp
8039 * gdb.reverse/watch-precsave.exp
8040 * gdb.reverse/watch-reverse.exp
8041
cdc7edd7
LM
80422016-12-01 Luis Machado <lgustavo@codesourcery.com>
8043
8044 Fix test names starting with uppercase throughout the files.
8045
8046 * gdb.arch/i386-mpx-simple_segv.exp
8047 * gdb.arch/i386-mpx.exp
8048 * gdb.arch/i386-permbkpt.exp
8049 * gdb.arch/pa-nullify.exp
8050 * gdb.arch/powerpc-d128-regs.exp
8051 * gdb.arch/vsx-regs.exp
8052 * gdb.base/bfp-test.exp
8053 * gdb.base/break.exp
8054 * gdb.base/breakpoint-shadow.exp
8055 * gdb.base/callfuncs.exp
8056 * gdb.base/charset.exp
8057 * gdb.base/commands.exp
8058 * gdb.base/completion.exp
8059 * gdb.base/dfp-test.exp
8060 * gdb.base/echo.exp
8061 * gdb.base/ending-run.exp
8062 * gdb.base/eval.exp
8063 * gdb.base/expand-psymtabs.exp
8064 * gdb.base/float128.exp
8065 * gdb.base/floatn.exp
8066 * gdb.base/foll-exec-mode.exp
8067 * gdb.base/gdb1056.exp
8068 * gdb.base/gdb11531.exp
8069 * gdb.base/kill-after-signal.exp
8070 * gdb.base/multi-forks.exp
8071 * gdb.base/overlays.exp
8072 * gdb.base/pending.exp
8073 * gdb.base/sepdebug.exp
8074 * gdb.base/testenv.exp
8075 * gdb.base/valgrind-db-attach.exp
8076 * gdb.base/watch_thread_num.exp
8077 * gdb.base/watchpoint-cond-gone.exp
8078 * gdb.base/watchpoint.exp
8079 * gdb.base/watchpoints.exp
8080 * gdb.cp/arg-reference.exp
8081 * gdb.cp/baseenum.exp
8082 * gdb.cp/operator.exp
8083 * gdb.cp/shadow.exp
8084 * gdb.dwarf2/dw2-op-out-param.exp
8085 * gdb.dwarf2/dw2-reg-undefined.exp
8086 * gdb.go/chan.exp
8087 * gdb.go/hello.exp
8088 * gdb.go/integers.exp
8089 * gdb.go/methods.exp
8090 * gdb.go/package.exp
8091 * gdb.guile/scm-parameter.exp
8092 * gdb.guile/scm-progspace.exp
8093 * gdb.guile/scm-value.exp
8094 * gdb.mi/mi-pending.exp
8095 * gdb.mi/user-selected-context-sync.exp
8096 * gdb.multi/multi-attach.exp
8097 * gdb.multi/tids.exp
8098 * gdb.opt/clobbered-registers-O2.exp
8099 * gdb.pascal/floats.exp
8100 * gdb.pascal/integers.exp
8101 * gdb.python/py-block.exp
8102 * gdb.python/py-events.exp
8103 * gdb.python/py-parameter.exp
8104 * gdb.python/py-symbol.exp
8105 * gdb.python/py-symtab.exp
8106 * gdb.python/py-type.exp
8107 * gdb.python/py-value.exp
8108 * gdb.python/py-xmethods.exp
8109 * gdb.python/python.exp
8110 * gdb.reverse/break-precsave.exp
8111 * gdb.reverse/consecutive-precsave.exp
8112 * gdb.reverse/finish-precsave.exp
8113 * gdb.reverse/i386-precsave.exp
8114 * gdb.reverse/machinestate-precsave.exp
8115 * gdb.reverse/sigall-precsave.exp
8116 * gdb.reverse/solib-precsave.exp
8117 * gdb.reverse/step-precsave.exp
8118 * gdb.reverse/until-precsave.exp
8119 * gdb.reverse/watch-precsave.exp
8120 * gdb.server/ext-attach.exp
8121 * gdb.server/ext-restart.exp
8122 * gdb.server/ext-run.exp
8123 * gdb.server/ext-wrapper.exp
8124 * gdb.stabs/gdb11479.exp
8125 * gdb.stabs/weird.exp
8126 * gdb.threads/attach-many-short-lived-threads.exp
8127 * gdb.threads/kill.exp
8128 * gdb.threads/watchpoint-fork.exp
8129
bc6c7af4
LM
81302016-12-01 Luis Machado <lgustavo@codesourcery.com>
8131
8132 Fix test names starting with uppercase throughout all the files below.
8133
8134 * gdb.ada/array_return.exp
8135 * gdb.ada/catch_ex.exp
8136 * gdb.ada/info_exc.exp
8137 * gdb.ada/mi_catch_ex.exp
8138 * gdb.ada/mi_dyn_arr.exp
8139 * gdb.ada/mi_ex_cond.exp
8140 * gdb.ada/mi_exc_info.exp
8141 * gdb.ada/mi_interface.exp
8142 * gdb.ada/mi_task_arg.exp
8143 * gdb.ada/mi_task_info.exp
8144 * gdb.ada/mi_var_array.exp
8145 * gdb.arch/alpha-step.exp
8146 * gdb.arch/amd64-disp-step.exp
8147 * gdb.arch/arm-disp-step.exp
8148 * gdb.arch/disp-step-insn-reloc.exp
8149 * gdb.arch/e500-prologue.exp
8150 * gdb.arch/ftrace-insn-reloc.exp
8151 * gdb.arch/gdb1558.exp
8152 * gdb.arch/i386-bp_permanent.exp
8153 * gdb.arch/i386-disp-step.exp
8154 * gdb.arch/i386-float.exp
8155 * gdb.arch/i386-gnu-cfi.exp
8156 * gdb.arch/ia64-breakpoint-shadow.exp
8157 * gdb.arch/mips16-thunks.exp
8158 * gdb.arch/pa-nullify.exp
8159 * gdb.arch/powerpc-aix-prologue.exp
8160 * gdb.arch/powerpc-power.exp
8161 * gdb.arch/ppc-dfp.exp
8162 * gdb.arch/s390-tdbregs.exp
8163 * gdb.arch/spu-info.exp
8164 * gdb.arch/spu-ls.exp
8165 * gdb.arch/thumb-bx-pc.exp
8166 * gdb.base/advance.exp
8167 * gdb.base/annota-input-while-running.exp
8168 * gdb.base/arrayidx.exp
8169 * gdb.base/asmlabel.exp
8170 * gdb.base/async.exp
8171 * gdb.base/attach-wait-input.exp
8172 * gdb.base/auto-connect-native-target.exp
8173 * gdb.base/batch-preserve-term-settings.exp
8174 * gdb.base/bfp-test.exp
8175 * gdb.base/bigcore.exp
8176 * gdb.base/bp-permanent.exp
8177 * gdb.base/break-always.exp
8178 * gdb.base/break-fun-addr.exp
8179 * gdb.base/break-idempotent.exp
8180 * gdb.base/break-main-file-remove-fail.exp
8181 * gdb.base/break-probes.exp
8182 * gdb.base/break-unload-file.exp
8183 * gdb.base/break.exp
8184 * gdb.base/call-ar-st.exp
8185 * gdb.base/call-rt-st.exp
8186 * gdb.base/call-sc.exp
8187 * gdb.base/call-signal-resume.exp
8188 * gdb.base/call-strs.exp
8189 * gdb.base/callexit.exp
8190 * gdb.base/callfuncs.exp
8191 * gdb.base/catch-gdb-caused-signals.exp
8192 * gdb.base/catch-signal-siginfo-cond.exp
8193 * gdb.base/catch-syscall.exp
8194 * gdb.base/compare-sections.exp
8195 * gdb.base/cond-eval-mode.exp
8196 * gdb.base/condbreak-call-false.exp
8197 * gdb.base/consecutive-step-over.exp
8198 * gdb.base/cursal.exp
8199 * gdb.base/disabled-location.exp
8200 * gdb.base/disasm-end-cu.exp
8201 * gdb.base/display.exp
8202 * gdb.base/double-prompt-target-event-error.exp
8203 * gdb.base/dprintf-bp-same-addr.exp
8204 * gdb.base/dprintf-detach.exp
8205 * gdb.base/dprintf-next.exp
8206 * gdb.base/dprintf-non-stop.exp
8207 * gdb.base/dprintf-pending.exp
8208 * gdb.base/dso2dso.exp
8209 * gdb.base/ending-run.exp
8210 * gdb.base/enum_cond.exp
8211 * gdb.base/examine-backward.exp
8212 * gdb.base/exe-lock.exp
8213 * gdb.base/exec-invalid-sysroot.exp
8214 * gdb.base/execl-update-breakpoints.exp
8215 * gdb.base/execution-termios.exp
8216 * gdb.base/fileio.exp
8217 * gdb.base/fixsection.exp
8218 * gdb.base/foll-exec-mode.exp
8219 * gdb.base/foll-exec.exp
8220 * gdb.base/fork-running-state.exp
8221 * gdb.base/frame-args.exp
8222 * gdb.base/fullpath-expand.exp
8223 * gdb.base/func-ptr.exp
8224 * gdb.base/gcore-relro-pie.exp
8225 * gdb.base/gdb1090.exp
8226 * gdb.base/gdb1555.exp
8227 * gdb.base/global-var-nested-by-dso.exp
8228 * gdb.base/gnu-ifunc.exp
8229 * gdb.base/hbreak-in-shr-unsupported.exp
8230 * gdb.base/hbreak-unmapped.exp
8231 * gdb.base/hook-stop.exp
8232 * gdb.base/infcall-input.exp
8233 * gdb.base/info-fun.exp
8234 * gdb.base/info-shared.exp
8235 * gdb.base/interrupt-noterm.exp
8236 * gdb.base/jit-so.exp
8237 * gdb.base/jit.exp
8238 * gdb.base/line-symtabs.exp
8239 * gdb.base/list.exp
8240 * gdb.base/longjmp.exp
8241 * gdb.base/macscp.exp
8242 * gdb.base/max-value-size.exp
8243 * gdb.base/nodebug.exp
8244 * gdb.base/nofield.exp
8245 * gdb.base/overlays.exp
8246 * gdb.base/paginate-after-ctrl-c-running.exp
8247 * gdb.base/paginate-bg-execution.exp
8248 * gdb.base/paginate-inferior-exit.exp
8249 * gdb.base/pending.exp
8250 * gdb.base/pr11022.exp
8251 * gdb.base/printcmds.exp
8252 * gdb.base/ptr-typedef.exp
8253 * gdb.base/ptype.exp
8254 * gdb.base/randomize.exp
8255 * gdb.base/range-stepping.exp
8256 * gdb.base/realname-expand.exp
8257 * gdb.base/relativedebug.exp
8258 * gdb.base/remote.exp
8259 * gdb.base/savedregs.exp
8260 * gdb.base/sepdebug.exp
8261 * gdb.base/set-noassign.exp
8262 * gdb.base/shlib-call.exp
8263 * gdb.base/shreloc.exp
8264 * gdb.base/sigaltstack.exp
8265 * gdb.base/sigbpt.exp
8266 * gdb.base/siginfo-addr.exp
8267 * gdb.base/siginfo-obj.exp
8268 * gdb.base/siginfo-thread.exp
8269 * gdb.base/signest.exp
8270 * gdb.base/signull.exp
8271 * gdb.base/sigrepeat.exp
8272 * gdb.base/skip.exp
8273 * gdb.base/so-impl-ld.exp
8274 * gdb.base/solib-corrupted.exp
8275 * gdb.base/solib-disc.exp
8276 * gdb.base/solib-display.exp
8277 * gdb.base/solib-overlap.exp
8278 * gdb.base/solib-search.exp
8279 * gdb.base/solib-symbol.exp
8280 * gdb.base/source-execution.exp
8281 * gdb.base/sss-bp-on-user-bp-2.exp
8282 * gdb.base/sss-bp-on-user-bp.exp
8283 * gdb.base/stack-checking.exp
8284 * gdb.base/stale-infcall.exp
8285 * gdb.base/step-break.exp
8286 * gdb.base/step-line.exp
8287 * gdb.base/step-over-exit.exp
8288 * gdb.base/step-test.exp
8289 * gdb.base/structs.exp
8290 * gdb.base/sym-file.exp
8291 * gdb.base/symtab-search-order.exp
8292 * gdb.base/term.exp
8293 * gdb.base/type-opaque.exp
8294 * gdb.base/unload.exp
8295 * gdb.base/until-nodebug.exp
8296 * gdb.base/until.exp
8297 * gdb.base/unwindonsignal.exp
8298 * gdb.base/watch-cond.exp
8299 * gdb.base/watch-non-mem.exp
8300 * gdb.base/watch_thread_num.exp
8301 * gdb.base/watchpoint-reuse-slot.exp
8302 * gdb.base/watchpoint-solib.exp
8303 * gdb.base/watchpoint.exp
8304 * gdb.btrace/dlopen.exp
8305 * gdb.cell/arch.exp
8306 * gdb.cell/break.exp
8307 * gdb.cell/bt.exp
8308 * gdb.cell/core.exp
8309 * gdb.cell/data.exp
8310 * gdb.cell/dwarfaddr.exp
8311 * gdb.cell/ea-cache.exp
8312 * gdb.cell/ea-standalone.exp
8313 * gdb.cell/ea-test.exp
8314 * gdb.cell/f-regs.exp
8315 * gdb.cell/fork.exp
8316 * gdb.cell/gcore.exp
8317 * gdb.cell/mem-access.exp
8318 * gdb.cell/ptype.exp
8319 * gdb.cell/registers.exp
8320 * gdb.cell/sizeof.exp
8321 * gdb.cell/solib-symbol.exp
8322 * gdb.cell/solib.exp
8323 * gdb.compile/compile-tls.exp
8324 * gdb.cp/exception.exp
8325 * gdb.cp/gdb2495.exp
8326 * gdb.cp/local.exp
8327 * gdb.cp/mb-inline.exp
8328 * gdb.cp/mb-templates.exp
8329 * gdb.cp/pr10687.exp
8330 * gdb.cp/pr9167.exp
8331 * gdb.cp/scope-err.exp
8332 * gdb.cp/templates.exp
8333 * gdb.cp/virtfunc.exp
8334 * gdb.dwarf2/dw2-dir-file-name.exp
8335 * gdb.dwarf2/dw2-single-line-discriminators.exp
8336 * gdb.fortran/complex.exp
8337 * gdb.fortran/library-module.exp
8338 * gdb.guile/guile.exp
8339 * gdb.guile/scm-cmd.exp
8340 * gdb.guile/scm-frame-inline.exp
8341 * gdb.guile/scm-objfile.exp
8342 * gdb.guile/scm-pretty-print.exp
8343 * gdb.guile/scm-symbol.exp
8344 * gdb.guile/scm-type.exp
8345 * gdb.guile/scm-value.exp
8346 * gdb.linespec/keywords.exp
8347 * gdb.linespec/ls-errs.exp
8348 * gdb.linespec/macro-relative.exp
8349 * gdb.linespec/thread.exp
8350 * gdb.mi/mi-breakpoint-changed.exp
8351 * gdb.mi/mi-dprintf-pending.exp
8352 * gdb.mi/mi-fullname-deleted.exp
8353 * gdb.mi/mi-logging.exp
8354 * gdb.mi/mi-pending.exp
8355 * gdb.mi/mi-solib.exp
8356 * gdb.mi/new-ui-mi-sync.exp
8357 * gdb.mi/user-selected-context-sync.exp
8358 * gdb.multi/dummy-frame-restore.exp
8359 * gdb.multi/multi-arch-exec.exp
8360 * gdb.multi/remove-inferiors.exp
8361 * gdb.multi/watchpoint-multi-exit.exp
8362 * gdb.opt/solib-intra-step.exp
8363 * gdb.perf/backtrace.exp
8364 * gdb.perf/single-step.exp
8365 * gdb.perf/skip-command.exp
8366 * gdb.perf/skip-prologue.exp
8367 * gdb.perf/solib.exp
8368 * gdb.python/lib-types.exp
8369 * gdb.python/py-as-string.exp
8370 * gdb.python/py-bad-printers.exp
8371 * gdb.python/py-block.exp
8372 * gdb.python/py-breakpoint.exp
8373 * gdb.python/py-cmd.exp
8374 * gdb.python/py-events.exp
8375 * gdb.python/py-evthreads.exp
8376 * gdb.python/py-finish-breakpoint.exp
8377 * gdb.python/py-finish-breakpoint2.exp
8378 * gdb.python/py-frame-inline.exp
8379 * gdb.python/py-frame.exp
8380 * gdb.python/py-inferior.exp
8381 * gdb.python/py-infthread.exp
8382 * gdb.python/py-mi.exp
8383 * gdb.python/py-objfile.exp
8384 * gdb.python/py-pp-maint.exp
8385 * gdb.python/py-pp-registration.exp
8386 * gdb.python/py-prettyprint.exp
8387 * gdb.python/py-recurse-unwind.exp
8388 * gdb.python/py-shared.exp
8389 * gdb.python/py-symbol.exp
8390 * gdb.python/py-symtab.exp
8391 * gdb.python/py-template.exp
8392 * gdb.python/py-type.exp
8393 * gdb.python/py-unwind-maint.exp
8394 * gdb.python/py-unwind.exp
8395 * gdb.python/py-value.exp
8396 * gdb.python/python.exp
8397 * gdb.reverse/finish-reverse-bkpt.exp
8398 * gdb.reverse/insn-reverse.exp
8399 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8400 * gdb.reverse/solib-precsave.exp
8401 * gdb.reverse/solib-reverse.exp
8402 * gdb.stabs/gdb11479.exp
8403 * gdb.stabs/weird.exp
8404 * gdb.threads/fork-child-threads.exp
8405 * gdb.threads/fork-plus-threads.exp
8406 * gdb.threads/fork-thread-pending.exp
8407 * gdb.threads/forking-threads-plus-breakpoint.exp
8408 * gdb.threads/hand-call-in-threads.exp
8409 * gdb.threads/interrupted-hand-call.exp
8410 * gdb.threads/linux-dp.exp
8411 * gdb.threads/local-watch-wrong-thread.exp
8412 * gdb.threads/next-while-other-thread-longjmps.exp
8413 * gdb.threads/non-ldr-exit.exp
8414 * gdb.threads/pending-step.exp
8415 * gdb.threads/print-threads.exp
8416 * gdb.threads/process-dies-while-detaching.exp
8417 * gdb.threads/process-dies-while-handling-bp.exp
8418 * gdb.threads/pthreads.exp
8419 * gdb.threads/queue-signal.exp
8420 * gdb.threads/reconnect-signal.exp
8421 * gdb.threads/signal-command-handle-nopass.exp
8422 * gdb.threads/signal-command-multiple-signals-pending.exp
8423 * gdb.threads/signal-delivered-right-thread.exp
8424 * gdb.threads/signal-sigtrap.exp
8425 * gdb.threads/sigthread.exp
8426 * gdb.threads/staticthreads.exp
8427 * gdb.threads/stepi-random-signal.exp
8428 * gdb.threads/thread-unwindonsignal.exp
8429 * gdb.threads/thread_check.exp
8430 * gdb.threads/thread_events.exp
8431 * gdb.threads/tid-reuse.exp
8432 * gdb.threads/tls-nodebug.exp
8433 * gdb.threads/tls-shared.exp
8434 * gdb.threads/tls-so_extern.exp
8435 * gdb.threads/tls.exp
8436 * gdb.threads/wp-replication.exp
8437 * gdb.trace/actions-changed.exp
8438 * gdb.trace/actions.exp
8439 * gdb.trace/backtrace.exp
8440 * gdb.trace/change-loc.exp
8441 * gdb.trace/collection.exp
8442 * gdb.trace/deltrace.exp
8443 * gdb.trace/disconnected-tracing.exp
8444 * gdb.trace/entry-values.exp
8445 * gdb.trace/ftrace-lock.exp
8446 * gdb.trace/ftrace.exp
8447 * gdb.trace/infotrace.exp
8448 * gdb.trace/mi-trace-frame-collected.exp
8449 * gdb.trace/mi-trace-unavailable.exp
8450 * gdb.trace/mi-traceframe-changed.exp
8451 * gdb.trace/mi-tracepoint-changed.exp
8452 * gdb.trace/mi-tsv-changed.exp
8453 * gdb.trace/no-attach-trace.exp
8454 * gdb.trace/packetlen.exp
8455 * gdb.trace/passc-dyn.exp
8456 * gdb.trace/passcount.exp
8457 * gdb.trace/pending.exp
8458 * gdb.trace/pr16508.exp
8459 * gdb.trace/qtro.exp
8460 * gdb.trace/range-stepping.exp
8461 * gdb.trace/read-memory.exp
8462 * gdb.trace/report.exp
8463 * gdb.trace/save-trace.exp
8464 * gdb.trace/signal.exp
8465 * gdb.trace/stap-trace.exp
8466 * gdb.trace/status-stop.exp
8467 * gdb.trace/strace.exp
8468 * gdb.trace/tfile.exp
8469 * gdb.trace/tfind.exp
8470 * gdb.trace/trace-break.exp
8471 * gdb.trace/trace-condition.exp
8472 * gdb.trace/trace-enable-disable.exp
8473 * gdb.trace/trace-mt.exp
8474 * gdb.trace/tracecmd.exp
8475 * gdb.trace/tracefile-pseudo-reg.exp
8476 * gdb.trace/tspeed.exp
8477 * gdb.trace/tstatus.exp
8478 * gdb.trace/tsv.exp
8479 * gdb.trace/unavailable.exp
8480 * gdb.trace/while-dyn.exp
8481 * gdb.trace/while-stepping.exp
8482 * lib/gdb-guile.exp
8483 * lib/gdb.exp
8484 * lib/mi-support.exp
8485 * lib/pascal.exp
8486 * lib/perftest.exp
8487 * lib/prelink-support.exp
8488 * lib/selftest-support.exp
8489
ad02e4fe
SM
84902016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8491
8492 * Makefile.in: Include disable-implicit-rules.mk.
8493
22347e55
AA
84942016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8495
8496 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8497 non-byte-aligned bit fields.
8498
da5b30da
AA
84992016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8500
8501 PR gdb/12616
8502 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8503 respects the DW_AT_data_bit_offset attribute.
8504
b593ecca
SM
85052016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8506
8507 * gdb.base/default.exp: Fix output of "set language".
8508
3b165252
SM
85092016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8510
8511 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8512 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8513 make.
8514 * configure.ac: Remove checks for the make program.
8515 * configure: Re-generate.
8516
1a2f3d7f
KB
85172016-11-16 Kevin Buettner <kevinb@redhat.com>
8518
8519 * gdb.python/py-recurse-unwind.c (main): Add loop.
8520 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8521 to read_register() and gdb.parse_and_eval(). Make each code
8522 call a separate case that can be individually tested.
8523 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8524 proc. Call cont_and_backtrace for each of the code paths that
8525 we want to test in the unwinder.
8526
b7f38fda
AA
85272016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8528
8529 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8530 the definition of struct S.
8531
1f8db343
CM
85322016-11-11 Catherine Moore <clm@codesourcery.com>
8533
8534 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8535
fad0c9fb
PA
85362016-11-09 Pedro Alves <palves@redhat.com>
8537
8538 * gdb.base/commands.exp (runto_or_return): New procedure.
8539 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8540 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8541 (progvar_simple_while_test, progvar_complex_if_while_test)
8542 (if_while_breakpoint_command_test)
8543 (infrun_breakpoint_command_test, breakpoint_command_test)
8544 (user_defined_command_test, watchpoint_command_test)
8545 (test_command_prompt_position, redefine_hook_test)
8546 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8547 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8548 multi_line_input and multi_line. Remove gdb_expect and
8549 gdb_stop_suppressing_tests uses.
8550 * lib/gdb.exp (valnum_re): New global.
8551 (multi_line_input): New procedure.
8552
8354c62c
SM
85532016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8554
8555 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8556 Remove.
8557 (test_setup): Define with proc_with_prefix.
8558 (test_cli_inferior): Likewise.
8559 (test_cli_thread): Likewise.
8560 (test_cli_frame): Likewise.
8561 (test_cli_select_frame): Likewise.
8562 (test_cli_up_down): Likewise.
8563 (test_mi_thread_select): Likewise.
8564 (test_mi_stack_select_frame): Likewise.
8565 (test_cli_in_mi_inferior): Likewise.
8566 (test_cli_in_mi_thread): Likewise.
8567 (test_cli_in_mi_frame): Likewise.
8568 (top level): Do not use with_test_prefix_procname.
8569
64f367a2
PA
85702016-11-09 Pedro Alves <palves@redhat.com>
8571
8572 * gdb.base/commands.exp (gdbvar_simple_if_test)
8573 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8574 (progvar_simple_if_test, progvar_simple_while_test)
8575 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8576 (infrun_breakpoint_command_test, breakpoint_command_test)
8577 (user_defined_command_test, watchpoint_command_test)
8578 (test_command_prompt_position, deprecated_command_test)
8579 (bp_deleted_in_command, temporary_breakpoint_commands)
8580 (stray_arg0_test, source_file_with_indented_comment)
8581 (recursive_source_test, if_commands_test)
8582 (error_clears_commands_left, redefine_hook_test)
8583 (redefine_backtrace_test): Use proc_with_prefix.
8584 * lib/gdb.exp (proc_with_prefix): New proc.
8585
0bb65f1e
AA
85862016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8587
8588 * gdb.base/tui-layout.c: New file.
8589 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8590 disassembly window contains very long lines.
8591
7353f247
TT
85922016-11-08 Tom Tromey <tom@tromey.com>
8593
8594 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8595 depend on Python 2.
8596
30a7bb83
TT
85972016-11-08 Tom Tromey <tom@tromey.com>
8598
8599 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8600 New method.
8601
cdf5a07c
MG
86022016-10-29 Manish Goregaokar <manish@mozilla.com>
8603
2806dc7e 8604 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 8605
51a789c3
MG
86062016-10-27 Manish Goregaokar <manish@mozilla.com>
8607
2806dc7e
PA
8608 * gdb.rust/simple.rs: Add test for univariant enums without
8609 discriminants and for encoded struct-like enums.
51a789c3 8610
f610ab6d
PA
86112016-10-28 Pedro Alves <palves@redhat.com>
8612
8613 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8614 gdb_test_multiple, tighten regexps and match symtabs and line
8615 tables incrementally.
8616
b129b0ca
LM
86172016-10-28 Luis Machado <lgustavo@codesourcery.com>
8618
8619 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8620 general.
8621
ecf45d2c
SL
86222016-10-25 Luis Machado <lgustavo@codesourcery.com>
8623
8624 * gdb.base/exec-invalid-sysroot.exp: New file.
8625
b8d38ee4
JK
86262016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8627
8628 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8629
f90fd8c2
JK
86302016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8631
8632 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8633
2d2476aa
MR
86342016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8635
2806dc7e
PA
8636 * gdb.base/killed-outside.exp: Remove $options from a call to
8637 `prepare_for_testing'.
2d2476aa 8638
e42b25a0
SM
86392016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8640
8641 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8642 Change test message.
8643
3ccdb432
SM
86442016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8645
8646 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8647 Update comment.
8648
5bad3170
SM
86492016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8650
8651 * gdb.trace/mi-trace-save.exp: New file.
8652
5ad9dba7
YQ
86532016-10-13 Yao Qi <yao.qi@linaro.org>
8654
8655 * gdb.base/code_elim.exp (get_var_address): Remove.
8656 * gdb.base/relocate.exp: Likewise.
8657 * gdb.base/shreloc.exp: Likewise.
8658 * lib/gdb.exp (get_var_address): New.
8659
62df7e21
YQ
86602016-10-13 Yao Qi <yao.qi@linaro.org>
8661
8662 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8663 floating point tests if $skip_float_test is false.
8664
4dac951e
LM
86652016-10-12 Luis Machado <lgustavo@codesourcery.com>
8666
8667 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8668 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8669 argc values.
8670 Add 1 to argc so we guarantee distinct initial/modified argc values.
8671
8f1a8fc4
JK
86722016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8673
8674 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8675
16c85b5d
JK
86762016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8677
8678 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8679 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8680 * gdb.arch/vsx-regs.exp: Likewise.
8681
1d0e042a
YQ
86822016-10-07 Yao Qi <yao.qi@linaro.org>
8683
8684 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8685
68dadef5
MM
86862016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8687
8688 * gdb.python/python.exp: Test decode_line("*0").
8689
33fa2c6e
DE
86902016-10-06 Doug Evans <dje@google.com>
8691
8692 * gdb.python/py-value.exp (test_value_creation): Add test for large
8693 unsigned 64-bit value.
8694
9c37b5ae
TT
86952016-10-06 Tom Tromey <tom@tromey.com>
8696
8697 * gdb.compile/compile.exp: Change java tests to rust.
8698 * gdb.base/setshow.exp: Change java tests to rust.
8699 * gdb.base/default.exp: Remove java from language list.
8700 * README (Examples): Update language example.
8701 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8702 test.
8703 * lib/gdb.exp (skip_java_tests): Remove.
8704 * lib/java.exp: Remove.
8705 * gdb.java: Remove.
8706
78b86327
MR
87072016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8708
8709 * gdb.arch/mips-fcr.exp: New test.
8710 * gdb.arch/mips-fcr.c: Source for the new test.
8711
7470adbb
MR
87122016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8713
8714 * gdb.base/solib-disc.exp: Use `standard_output_file'
8715 throughout.
8716
4a556533
PA
87172016-10-06 Pedro Alves <palves@redhat.com>
8718
8719 * gdb.base/jit-simple-dl.c: New file.
8720 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8721 * gdb.base/jit-simple.c: ... this.
8722 * gdb.base/jit-simple.exp (jit_run): Delete.
8723 (build_jit): New proc.
8724 (jit_test_reread): Recompile either the main program or the shared
8725 library, depending on what is being tested. Skip changing address
8726 if caller wants to. Compare before/after addresses. If testing
8727 standalone, explicitly load the binary. Test "maint info
8728 breakpoints".
8729 (top level): Add "standalone vs shared lib" and "change address"
8730 vs "same address" axes.
8731
5a122fbc
PA
87322016-10-06 Pedro Alves <palves@redhat.com>
8733
8734 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8735 call.
8736 (jit_run): Delete.
8737 (jit_test_reread): Use with_test_prefix. Reload the main binary
8738 explicitly. Compare the before/after addresses of the JIT
8739 descriptor.
8740
ee8da4b8
DE
87412016-08-15 Doug Evans <dje@google.com>
8742
8743 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8744 for single bitfields is bool.
8745 * gdb.xml/tdesc-regs.exp: Ditto.
8746
f389f6fe
JK
87472016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8748
8749 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8750
fdebf1a4
YQ
87512016-10-05 Yao Qi <yao.qi@linaro.org>
8752
8753 * lib/gdb.exp (support_complex_tests): Return zero if
8754 gdb_skip_float_test return true.
8755
9c36d954 87562016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 8757 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
8758
8759 PR gdb/20487
8760 * gdb.mi/user-selected-context-sync.exp: New file.
8761 * gdb.mi/user-selected-context-sync.c: New file.
8762
4034d0ff 87632016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 8764 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
8765
8766 PR gdb/20487
8767 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8768 =thread-select-event check.
8769
a4297203
PB
87702016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8771
8772 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8773 the compulsory L operand changes.
8774 * gdb.arch/powerpc-power.s: Likewise.
8775
bb805577
JK
87762016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8777
8778 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8779 * gdb.base/jit-attach-pie.c: New file.
8780 * gdb.base/jit-attach-pie.exp: New file.
8781
6d61dee5
PA
87822016-09-28 Pedro Alves <palves@redhat.com>
8783
8784 * gdb.base/infcall-input.c: New file.
8785 * gdb.base/infcall-input.exp: New file.
8786
f73842fc
YQ
87872016-09-22 Yao Qi <yao.qi@linaro.org>
8788
8789 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8790 (gdb_exit): Rename it to ...
8791 (gdbserver_gdb_exit): ... Close GDBserver.
8792 (gdb_exit): New proc, call gdbserver_gdb_exit.
8793 (mi_gdb_exit): Likewise.
8794
90681dab
YQ
87952016-09-22 Yao Qi <yao.qi@linaro.org>
8796
8797 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8798 path.
8799 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8800 Remove duplication.
8801
9c211fd8
YQ
88022016-09-22 Yao Qi <yao.qi@linaro.org>
8803
8804 * lib/gdbserver-support.exp: Check the existence of
8805 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8806
ad0a504f
AK
88072016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8808
8809 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8810
36cf1806
TT
88112016-09-21 Tom Tromey <tom@tromey.com>
8812
8813 PR gdb/20604:
8814 * gdb.base/quit.exp: New file.
8815
74172ecf
SM
88162016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8817
8818 * .gitignore: New file.
8819
3d0ec882
MR
88202016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8821
8822 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8823 throughout.
8824
8193adea
AA
88252016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8826
8827 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8828
d41a5c09
JK
88292016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8830
8831 * gdb.cp/casts.cc (decltype): Move it ...
8832 (main): ... with its call to ...
8833 * gdb.cp/casts03.cc: ... a new file.
8834 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8835
d2dfe700
JK
88362016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8837
8838 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8839
e2a92b16
PB
88402016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8841
8842 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8843 and sync up the test with tests in gas/testsuite/gas/ppc.
8844 * gdb.arch/powerpc-power.exp: Likewise.
8845
49b4de64
JK
88462016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8847
8848 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8849
2c29df25
SDJ
88502016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8851 Jan Kratochvil <jan.kratochvil@redhat.com>
8852
8853 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8854 make m1's definition to be different from m2's. Use 'dummy' as an
8855 argument for probe 'two'.
8856
cc3c2846
JB
88572016-09-10 Jon Beniston <jon@beniston.com>
8858
8859 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8860 for sim target.
8861
e1b2624a
AA
88622016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8863
8864 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8865 variable declaration.
8866 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8867 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8868 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8869 received HWCAP as its argument.
8870
4295e285
PA
88712016-09-06 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.base/new-ui-pending-input.c: New file.
8874 * gdb.base/new-ui-pending-input.exp: New file.
8875 * gdb.exp (clear_gdb_spawn_id): New procedure.
8876 (with_spawn_id): Check whether gdb_spawn_id exists before
8877 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8878 on exit.
8879
00d5215e
UW
88802016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8881
8882 * gdb.base/float128.c: New file.
8883 * gdb.base/float128.exp: Likewise.
8884 * gdb.base/floatn.c: Likewise.
8885 * gdb.base/floatn.exp: Likewise.
8886
a9ff5f12
UW
88872016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8888
8889 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8890
f245535c
PA
88912016-09-05 Pedro Alves <palves@redhat.com>
8892
8893 PR backtrace/19927
8894 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8895 unwinders are immediately called as side effect of "source" or
8896 "disable unwinder" commands.
8897 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8898
ae9cf263
YQ
88992016-09-02 Yao Qi <yao.qi@linaro.org>
8900
8901 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8902 is true and $type is "float" or "double".
8903
27aba047
YQ
89042016-09-02 Yao Qi <yao.qi@linaro.org>
8905
8906 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8907 true.
8908 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8909 * gdb.base/call-rt-st.exp: Likewise.
8910 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8911 return value instead of gdb,skip_float_test.
8912 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8913 (do_function_calls): Use its return value instead of
8914 gdb,skip_float_test.
8915 * gdb.base/finish.exp: Likewise.
8916 * gdb.base/funcargs.exp: Likewise.
8917 * gdb.base/return.exp: Likewise.
8918 * gdb.base/return2.exp: Likewise.
8919 * gdb.base/varargs.exp: Likewise.
8920 * lib/gdb.exp (gdb_skip_float_test): Change it to
8921 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8922
5af962df
AA
89232016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8924
8925 * gdb.multi/tids.exp: Test "thread apply all".
8926
7fac6910
JK
89272016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8928
8929 * gdb.base/default.exp (tty): Remove.
8930
bb1fe4ac
KB
89312016-08-24 Kevin Buettner <kevinb@redhat.com>
8932
2806dc7e
PA
8933 * gdb.python/py-recurse-unwind.c: New file.
8934 * gdb.python/py-recurse-unwind.py: New file.
8935 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 8936
0a1ddfa6
SM
89372016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8938
8939 * gdb.base/set-inferior-tty.exp: New file.
8940 * gdb.base/set-inferior-tty.c: New file.
8941
d9de1fe3
PA
89422016-08-23 Pedro Alves <palves@redhat.com>
8943
8944 PR gdb/20494
8945 * gdb.base/new-ui-echo.c: New file.
8946 * gdb.base/new-ui-echo.exp: New file.
8947
e9d9abd7
YQ
89482016-08-23 Yao Qi <yao.qi@linaro.org>
8949
8950 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8951 gdbserver_spawn.
8952 * gdb.server/connect-without-multi-process.exp (do_test):
8953 Likewise.
8954
3589529e
YQ
89552016-08-23 Yao Qi <yao.qi@linaro.org>
8956
8957 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8958 standalone_txt. Delete gdb_txt and standalone_txt on host
8959 and target. Spawn the binary on target. Copy files from
8960 target to host.
8961
6bb90213
PA
89622016-08-22 Pedro Alves <palves@redhat.com>
8963
8964 PR gdb/20505
8965 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8966 with_test_prefix. Factor out bits to ...
8967 (test_no_vdso): ... this new procedure.
8968
20c2c024
CL
89692016-08-19 Carl Love <cel@us.ibm.com>
8970
8971 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8972 maintaining separate logic for constructing the output path.
8973 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8974 * gdb.arch/ppc-dfp.exp: Likewise.
8975 * gdb.arch/ppc-fp.exp: Likewise.
8976 * gdb.arch/vsx-regs.exp: Likewise.
8977 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8978 binprefix for generating the additional binary files.
8979
0646e07d
PA
89802016-08-19 Pedro Alves <palves@redhat.com>
8981
8982 * gdb.trace/mi-trace-frame-collected.exp
8983 (test_trace_frame_collected): On x32, expect two registers.
8984
46da9242
CL
89852016-08-18 Carl Love <cel@us.ibm.com>
8986
8987 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8988 and sync up the test with tests in gas/testsuite/gas/ppc.
8989 * gdb.arch/powerpc-power.exp: Likewise.
8990
eb2332d7
SM
89912016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8992
8993 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8994 expected error message.
8995
63c61e04
SM
89962016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8997
8998 * gdb.multi/remove-inferiors.exp: New file.
8999 * gdb.multi/remove-inferiors.c: New file.
9000
7b17065f
YQ
90012016-08-12 Yao Qi <yao.qi@linaro.org>
9002
9003 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9004 argument list.
9005
01d3dedf
PA
90062016-08-10 Pedro Alves <palves@redhat.com>
9007
9008 PR gdb/19187
9009 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9010 setup_kfails.
9011
3eb7562a
PA
90122016-08-09 Pedro Alves <palves@redhat.com>
9013 Simon Marchi <simon.marchi@ericsson.com>
9014
9015 PR gdb/20418
9016 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9017 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9018
80614914
PA
90192016-08-09 Pedro Alves <palves@redhat.com>
9020
9021 PR mi/20431
9022 * gdb.mi/mi-cmd-error.exp: New file.
9023
f348d89a
PA
90242016-08-09 Pedro Alves <palves@redhat.com>
9025
9026 PR gdb/18653
9027 * gdb.base/signals-state-child.c: New file.
9028 * gdb.base/signals-state-child.exp: New file.
9029 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9030
e5ca03b4
PA
90312016-08-09 Pedro Alves <palves@redhat.com>
9032
9033 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9034
282a0691
TT
90352016-08-03 Tom Tromey <tom@tromey.com>
9036
9037 PR python/18565:
9038 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9039
41bfcd63
YQ
90402016-08-01 Yao Qi <yao.qi@linaro.org>
9041
9042 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9043 variable mode to "multi-process" if $multi_process is 1, otherwise
9044 set it to "single-process".
9045
e3465b24
YQ
90462016-08-01 Yao Qi <yao.qi@linaro.org>
9047
9048 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9049 * gdb.cp/cpexprs.exp: Likewise.
9050 * gdb.cp/m-static.exp: Likewise.
9051
0b31a4bc
TT
90522016-07-26 Tom Tromey <tom@tromey.com>
9053
9054 PR python/20190:
9055 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9056 test.
9057
e0461dbb
MM
90582016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9059
9060 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9061 selecting assembly source files.
9062 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9063 assembly source files.
9064 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9065 assembly source files.
9066 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9067 selecting assembly source files.
9068
8194e927
SM
90692016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9070
9071 * gdb.base/new-ui.exp (do_test_invalid_args): New
9072 procedure.
9073
c0272db5
TW
90742016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9075
9076 * gdb.btrace/reconnect.c: New file.
9077 * gdb.btrace/reconnect.exp: New file.
9078
e3487908
GKB
90792016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9080
9081 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9082 to test_catch_syscall_group.
9083 (test_catch_syscall_group): New.
9084
12df5c00
TT
90852016-07-21 Tom Tromey <tom@tromey.com>
9086
9087 * gdb.rust/simple.rs (main): Use empty struct expression.
9088 * gdb.rust/simple.exp: Add tests for empty struct expression.
9089
bae62ee2
YQ
90902016-07-21 Yao Qi <yao.qi@linaro.org>
9091
9092 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9093 if gdb_skip_xml_test is true on some targets.
9094
b1b53fb3
YQ
90952016-07-21 Yao Qi <yao.qi@linaro.org>
9096
9097 * gdb.server/solib-list.exp: Unset last_loaded_file.
9098
027d97f8
JK
90992016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9100
9101 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9102 "step into captured_main (args)".
9103
7674d381
JK
91042016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9105
9106 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9107
72b5d099
JK
91082016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9109
9110 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9111
1f960ced
PA
91122016-07-19 Pedro Alves <palves@redhat.com>
9113
9114 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9115 * gdb.opt/inline-bt.exp: Likewise.
9116 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9117 additional_flags=-Winline.
9118 * gdb.opt/inline-locals.exp: Likewise.
9119 * gdb.opt/inline-markers.c (ATTR): Define.
9120 (inlined_fn): Use it.
9121
f25827c1
YQ
91222016-07-19 Yao Qi <yao.qi@linaro.org>
9123
9124 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9125 (test_with_self): Remove some code. Remove argument executable.
9126 (top-level): Use do_self_tests.
9127
37539ebe
DB
91282016-07-15 Zachary Welch <zwelch@codesourcery.com>
9129 Don Breazeal <donb@codesourcery.com>
9130
9131 * gdb.base/maint.exp: Escape paths used in regular expressions.
9132 * gdb.stabs/weird.exp: Likewise.
9133
dac790e1
TT
91342016-07-13 Tom Tromey <tom@tromey.com>
9135
9136 PR python/15620, PR python/18620:
9137 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9138 (test_bkpt_events): New procs.
9139
93daf339
TT
91402016-07-13 Tom Tromey <tom@tromey.com>
9141
9142 PR python/17698:
9143 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9144 test.
9145 (test_watchpoints): Likewise.
9146 (test_bkpt_pending): New proc.
9147
6571a381
TT
91482016-07-13 Tom Tromey <tom@tromey.com>
9149
9150 PR cli/18053:
9151 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9152 completion test.
9153
e8732474
JK
91542016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9155
9156 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9157 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9158 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9159 f_label.
9160 (g): Rename g_end_lbl to g_label.
9161 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9162 low_pc and high_pc.
9163 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9164
e0f3fd7c
TT
91652016-07-12 Tom Tromey <tom@tromey.com>
9166
9167 PR python/19293:
9168 * gdb.python/py-unwind-maint.exp: Update tests.
9169
3cfe46b6
YQ
91702016-07-12 Yao Qi <yao.qi@linaro.org>
9171
9172 * lib/selftest-support.exp (selftest_setup): Match the output
9173 when captured_main is inlined.
9174
4f19a0e6
WT
91752016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9176
9177 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9178 New variables.
9179 (print this%a, print this%b, print this): New tests.
9180 * gdb.fortran/derived-types.f90 (this): New object and
9181 initialization.
9182
986cf455
SM
91832016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9184
9185 * gdb.ada/arraydim.exp: Remove extra directory level in build
9186 directory.
9187
f0464b23
SM
91882016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9189
9190 * lib/ada.exp: Remove extra directory level in build directory.
9191 * gdb.ada/cond_lang.exp: Likewise.
9192 * gdb.ada/exec_changed.exp: Likewise.
9193 * gdb.ada/lang_switch.exp: Likewise.
9194
42d94011
MG
91952016-07-06 Manish Goregaokar <manish@mozilla.com>
9196
2806dc7e
PA
9197 * simple.rs: Add test for raw pointer subscripting.
9198 * simple.exp: Add test expectations.
42d94011 9199
647c264c
YQ
92002016-07-05 Yao Qi <yao.qi@linaro.org>
9201
9202 * gdb.mi/mi-reverse.exp: Match =record-started output.
9203
20aa2c60
PA
92042016-07-01 Pedro Alves <palves@redhat.com>
9205
9206 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9207 procedure.
9208 (jit_reader_test): Test the jit reader's unwinder.
9209 * gdb.base/jithost.c (jit_function_00_code): New global.
9210 (main): Use memcpy to fill in the mmapped code, instead of poking
9211 bytes manually here.
9212 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9213 value.
9214 (read_debug_info): Save the function's range.
9215 (read_sp): New function.
9216 (unwind_frame): Use it. Also unwind RBP.
9217 (get_frame_id): Use read_sp.
9218 (gdb_init_reader): Use calloc instead of malloc.
9219 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9220 parameter. Use gdb_test_multiple.
9221
ced2dffb
PA
92222016-07-01 Pedro Alves <palves@redhat.com>
9223 Antoine Tremblay <antoine.tremblay@ericsson.com>
9224
9225 * gdb.threads/process-dies-while-detaching.c: New file.
9226 * gdb.threads/process-dies-while-detaching.exp: New file.
9227
63000888
PA
92282016-07-01 Pedro Alves <palves@redhat.com>
9229
9230 * gdb.multi/watchpoint-multi-exit.c: New file.
9231 * gdb.multi/watchpoint-multi-exit.exp: New file.
9232
038d4868
PA
92332016-06-30 Pedro Alves <palves@redhat.com>
9234
9235 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9236 unset inferior_spawn_id.
9237
994e9c83
PA
92382016-06-30 Pedro Alves <palves@redhat.com>
9239
9240 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9241 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9242
e5653468
YQ
92432016-06-29 Yao Qi <yao.qi@linaro.org>
9244
9245 * gdb.base/return.c: Add copyright header.
9246
803b47e5
TT
92472016-06-29 Tom Tromey <tom@tromey.com>
9248
9249 PR python/20129:
9250 * gdb.python/py-framefilter.exp: Add tests for setting priority
9251 and disabling of non-existent frame filter.
9252
28244707
YQ
92532016-06-29 Yao Qi <yao.qi@linaro.org>
9254
9255 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9256 0x0f07ff.
9257
a31d2f06
YQ
92582016-06-28 Yao Qi <yao.qi@linaro.org>
9259
9260 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9261 triplets. Start gdb, execute catch syscall, and continue. Check
9262 gdb's output to determine catch syscall is supported.
9263
921d8f54
MG
92642016-06-27 Manish Goregaokar <manish@mozilla.com>
9265
25d49b86
PA
9266 * gdb.rust/simple.rs: Add test for returning unit in a function.
9267 * gdb.rust/simple.exp: Add expectation for functions returning
9268 unit.
921d8f54 9269
f4952523
PMR
92702016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9271
9272 * gdb.python/py-breakpoint-create-fail.c,
9273 gdb.python/py-breakpoint-create-fail.exp,
9274 gdb.python/py-breakpoint-create-fail.py: New testcase.
9275
fccb08f8
MG
92762016-06-25 Manish Goregaokar <manish@mozilla.com>
9277
9278 PR gdb/20239
9279 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
9280 * gdb.rust/simple.exp: Add test expectations for new NonZero
9281 tests.
fccb08f8 9282
6b850546
DT
92832016-06-24 David Taylor <dtaylor@emc.com>
9284
9285 * gdb.base/offsets.exp: New file.
9286 * gdb.base/offsets.c: New file.
9287
17621150
TT
92882016-06-23 Tom Tromey <tom@tromey.com>
9289
9290 PR gdb/16483:
9291 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9292 before any filters are loaded.
9293
04d59df6
WT
92942016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9295
9296 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9297 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9298 structs.
9299 * gdb.fortran/derived-type-function.exp: New file.
9300 * gdb.fortran/derived-type-function.f90: New file.
9301
9302
ac69f786
PA
93032016-06-21 Pedro Alves <palves@redhat.com>
9304
9305 * gdb.base/new-ui.exp: New file.
9306 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9307 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9308 (with_spawn_id): New procedure.
9309
49940788
PA
93102016-06-21 Pedro Alves <palves@redhat.com>
9311
9312 * gdb.mi/mi-exec-run.exp: New file.
9313
ef274d26
PA
93142016-06-21 Pedro Alves <palves@redhat.com>
9315
9316 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9317 breakpoint command's output on the main UI.
9318 (test_break): New procedure, factored out from calls in the top
9319 level.
9320 (top level): Use foreach_with_prefix to test MI as main UI and as
9321 separate UI.
9322
468afe6c
PA
93232016-06-21 Pedro Alves <palves@redhat.com>
9324
9325 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9326 (test_awatch_creation_and_listing)
9327 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9328 Remove 'type' parameter.
9329 (test_watchpoint_all): New parameter mi_mode. Remove
9330 with_test_prefix.
9331 (top level): Use foreach_with_prefix, and add main/separate UI MI
9332 testing axis.
9333
51f77c37
PA
93342016-06-21 Pedro Alves <palves@redhat.com>
9335
9336 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9337 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9338 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9339 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9340 (gdb_main_spawn_id, mi_spawn_id): Declare and
9341 comment.
9342 (mi_create_inferior_pty): New procedure,
9343 factored out from default_mi_gdb_start.
9344 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9345 procedures.
9346 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9347 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9348 Use mi_create_inferior_pty.
9349 (mi_gdb_start): Use eval to pass down args list.
9350
8980e177
PA
93512016-06-21 Pedro Alves <palves@redhat.com>
9352
9353 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9354 * gdb.opt/inline-cmds.exp: Add MI tests.
9355
f38d3ad1
PA
93562016-06-21 Pedro Alves <palves@redhat.com>
9357
9358 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9359
45db7c09
PA
93602016-06-21 Pedro Alves <palves@redhat.com>
9361
9362 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9363 (top level): Use it instead of mi_execute_to.
9364
5a069ab3
PA
93652016-06-21 Pedro Alves <palves@redhat.com>
9366
9367 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9368 (cont_handler_str): New.
9369 (signal_stop_handler): Set stop_handler_str instead of printing to
9370 stdout.
9371 (continue_handler): Set cont_handler_str instead of printing to
9372 stdout.
9373 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9374 mi_send_resuming_command. Print stop_handler_str and
9375 cont_handler_str instead of expecting the python events print
9376 directly.
9377
2838cc1d
SD
93782016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9379
9380 * gdb.base/jit-reader.exp: New file.
9381 * gdb.base/jithost.c: New file.
9382 * gdb.base/jithost.h: New file.
9383 * gdb.base/jitreader.c : New file.
9384 * gdb.base/jit-protocol.h: New file.
9385
21a77091
YQ
93862016-06-17 Yao Qi <yao.qi@linaro.org>
9387
9388 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9389 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9390 and detach-on-fork. Adjust tests.
9391 (top level): Invoke break_cond_on_syscall with combinations of
9392 syscall, follow-fork-mode and detach-on-fork.
9393
f50bf8e5
YQ
93942016-06-17 Yao Qi <yao.qi@linaro.org>
9395
9396 * gdb.base/step-over-exit.c: New.
9397 * gdb.base/step-over-exit.exp: New.
9398
a28d8e50
YTL
93992016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9400
9401 * gdb.base/float.exp: Add target check for nds32*-*-*.
9402 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9403
cad8e26d
AB
94042016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9405
9406 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9407 for unsupported target features.
9408 * gdb.base/call-rt-st.exp: Likewise.
9409 * gdb.base/call-sc.exp: Likewise.
9410 * gdb.base/call-signal-resume.exp: Likewise.
9411 * gdb.base/call-strs.exp: Likewise.
9412 * gdb.base/callexit.exp: Likewise.
9413 * gdb.base/callfuncs.exp: Likewise.
9414 * gdb.base/nodebug.exp: Likewise.
9415 * gdb.base/printcmds.exp: Likewise.
9416 * gdb.base/ptype.exp: Likewise.
9417 * gdb.base/structs.exp: Likewise.
9418 * gdb.base/unwindonsignal.exp: Likewise.
9419 * gdb.cp/gdb2495.exp: Likewise.
9420 * gdb.cp/templates.exp: Likewise.
9421 * gdb.cp/virtfunc.exp: Likewise.
9422 * gdb.threads/hand-call-in-threads.exp: Likewise.
9423 * gdb.threads/interrupted-hand-call.exp: Likewise.
9424 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9425
347dc102
TT
94262016-06-10 Tom Tromey <tom@tromey.com>
9427
9428 PR rust/20110:
9429 * gdb.rust/expr.exp: Add test for integer constant larger than
9430 i32.
9431
5e13cf25
BH
94322016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9433
9434 * gdb.fortran/nested-funcs.exp: New.
9435 * gdb.fortran/nested-funcs.f90: New.
9436
bb556f1f
TK
94372016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9438
9439 * gdb.base/examine-backward.c: New file.
9440 * gdb.base/examine-backward.exp: New file.
9441
38b022b4
SM
94422016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9443
9444 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9445 matching.
9446
1b40ec05
TT
94472016-06-02 Tom Tromey <tom@tromey.com>
9448
9449 PR python/18984:
9450 * gdb.python/py-shared.exp: Add solib_name test.
9451
193bd378
SM
94522016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9453
9454 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9455
3326303b
MG
94562016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9457
9458 PR c++/19893
9459 * gdb.dwarf2/implref.exp: Rename to...
9460 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9461 * gdb.dwarf2/implref-array.c: New file.
9462 * gdb.dwarf2/implref-array.exp: Likewise.
9463 * gdb.dwarf2/implref-global.c: Likewise.
9464 * gdb.dwarf2/implref-global.exp: Likewise.
9465 * gdb.dwarf2/implref-struct.c: Likewise.
9466 * gdb.dwarf2/implref-struct.exp: Likewise.
9467
825c8ef2
AT
94682016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9469
9470 * gdb.trace/trace-condition.exp: Add 64bit tests.
9471
2320162a
AT
94722016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9473
9474 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9475 bits types.
9476 (main): Adapt to 8 to 64 bits types.
9477 * gdb.trace/trace-condition.exp: Add new tests.
9478
a7818233
AT
94792016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9480
9481 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9482
0d336466
AT
94832016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9484
9485 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9486 Move condition tests...
9487 * gdb.trace/trace-condition.exp: Here.
9488
7faeb45a
AT
94892016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9490
9491 * gdb.trace/trace-condition.exp: Add counter-case tests.
9492
e385593e
JK
94932016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9494
9495 PR c++/15231
9496 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9497 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9498
744608cc
PA
94992016-05-27 Pedro Alves <palves@redhat.com>
9500
9501 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9502 New procedure.
9503 (top level): Call it, and bail out of DejaGnu is known to be bad.
9504
ac775bf4
AB
95052016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9506
9507 * gdb.base/whatis.c: Extend the test case.
9508 * gdb.base/whatis.exp: Add additional tests.
9509
2bbad2ea
BH
95102016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9511
9512* gdb.fortran/type.f90: Add pointer variable.
9513* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9514
8b70175d
BH
95152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9516
9517 * gdb.fortran/vla-type.exp: Fix testcase name.
9518
86d8a848
BH
95192016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9520
9521 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9522
e188eb36
BH
95232016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9524
9525 * gdb.fortran/type.f90: Add nested structures.
9526 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9527 * gdb.fortran/derived-type.exp: Adapt expected output.
9528 * gdb.fortran/vla-type.exp: Adapt expected output.
9529
9b2db1fd
BH
95302016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9531
9532 * gdb.fortran/whatis_type.exp: Adapt expected output.
9533
72b17055
BH
95342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9535
9536 * gdb.fortran/print_type.exp: Fix expected output.
9537 * gdb.fortran/whatis_type.exp: Fix expected output.
9538
3cd81d8d
BH
95392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9540
9541 * gdb.fortran/whatis_type.exp: Use multi_line.
9542
ddae9462
TT
95432016-05-24 Tom Tromey <tom@tromey.com>
9544
9545 PR python/17386:
9546 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9547 use value as an index.
9548
1957f6b8
TT
95492016-05-23 Tom Tromey <tom@tromey.com>
9550
9551 PR python/17981:
9552 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9553 no-breakpoint case.
9554
026a9174
PA
95552016-05-24 Pedro Alves <palves@redhat.com>
9556
9557 PR gdb/19828
9558 * gdb.threads/clone-attach-detach.c: New file.
9559 * gdb.threads/clone-attach-detach.exp: New file.
9560
e70a7231
FR
95612016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9562
9563 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9564
0f6ed0e0
TT
95652016-05-23 Tom Tromey <tom@tromey.com>
9566
9567 PR python/19438, PR python/18393:
9568 * gdb.python/py-progspace.exp: Add "dir" test.
9569 * gdb.python/py-objfile.exp: Add "dir" test.
9570
ffd19d61
YQ
95712016-05-23 Yao Qi <yao.qi@linaro.org>
9572
9573 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9574 * gdb.arch/thumb2-it.exp: Likewise.
9575
9e8f9b05
SM
95762016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9577
9578 * gdb.mi/mi-threads-interrupt.c: New file.
9579 * gdb.mi/mi-threads-interrupt.exp: New file.
9580
61c6156d
SM
95812016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9582
9583 PR gdb/18077
9584 * gdb.mi/mi-async-run.exp: New file.
9585 * gdb.mi/mi-async-run.c: New file.
9586
67218854
TT
95872016-05-17 Tom Tromey <tom@tromey.com>
9588 Manish Goregaokar <manishsmail@gmail.com>
9589
9590 * lib/rust-support.exp: New file.
9591 * lib/gdb.exp (skip_rust_tests): New proc.
9592 (build_executable_from_specs): Handle rust.
9593 * lib/future.exp (gdb_find_rustc): New proc.
9594 (gdb_default_target_compile): Handle rust.
9595 * gdb.rust/expr.exp: New file.
9596 * gdb.rust/generics.exp: New file.
9597 * gdb.rust/generics.rs: New file.
9598 * gdb.rust/methods.exp: New file.
9599 * gdb.rust/methods.rs: New file.
9600 * gdb.rust/modules.exp: New file.
9601 * gdb.rust/modules.rs: New file.
9602 * gdb.rust/simple.exp: New file.
9603 * gdb.rust/simple.rs: New file.
9604
c44af4eb
TT
96052016-05-17 Tom Tromey <tom@tromey.com>
9606
9607 * gdb.base/default.exp (set language): Add rust.
9608
dcd1f979
TT
96092016-05-17 Tom Tromey <tom@tromey.com>
9610
9611 * gdb.gdb/unittest.exp: New file.
9612
155b7f57
YQ
96132016-05-16 Yao Qi <yao.qi@linaro.org>
9614
9615 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9616 shell_prompt. Update shell_prompt_re.
9617
8ddd5a6c
DE
96182016-05-12 Doug Evans <dje@google.com>
9619
9620 PR symtab/19999
9621 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9622 $options when building executable.
9623 * gdb.dwarf2/fission-loclists-pie.S: New file.
9624 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9625
02e370d9
SM
96262016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9627
9628 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9629 of [is_remote target],
9630
8929ad8b
SM
96312016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9632
9633 * lib/gdb.exp (use_gdb_stub): New procedure.
9634
6c447423
DE
96352016-05-03 Yunlian Jiang <yunlian@google.com>
9636 Doug Evans <dje@google.com>
9637
9638 PR symtab/19914
9639 * gdb.dwarf2/dwp-sepdebug.c: New file.
9640 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9641
444e826c
SM
96422016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9643
9644 * gdb.base/detach.exp: Remove is_remote check.
9645
740feeaa
SM
96462016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9647
9648 * gdb.base/annota-input-while-running.exp: Don't check for
9649 [is_remote target]. Enable annotations after running to main.
9650 Remove unused "set test..." line.
9651
9080ac9d
SM
96522016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9653
9654 * gdb.trace/trace-enable-disable.exp: New file.
9655 * gdb.trace/trace-enable-disable.c: New file.
9656
952ebca5
SM
96572016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9658
9659 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9660 use it in info sharedlibrary test.
9661 * gdb.trace/ftrace-lock.exp: Likewise.
9662 * gdb.trace/ftrace.exp: Likewise.
9663 * gdb.trace/range-stepping.exp: Likewise.
9664 * gdb.trace/trace-break.exp: Likewise.
9665 * gdb.trace/trace-condition.exp: Likewise.
9666 * gdb.trace/trace-mt.exp: Likewise.
9667
d9019901
SM
96682016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9669
9670 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9671 (gdb_load_shlib): ... this.
9672 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9673 gdb_load_shlib.
9674 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9675 * gdb.base/ctxobj.exp: Likewise.
9676 * gdb.base/dprintf-pending.exp: Likewise.
9677 * gdb.base/dso2dso.exp: Likewise.
9678 * gdb.base/fixsection.exp: Likewise.
9679 * gdb.base/gcore-relro.exp: Likewise.
9680 * gdb.base/gdb1555.exp: Likewise.
9681 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9682 * gdb.base/gnu-ifunc.exp: Likewise.
9683 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9684 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9685 * gdb.base/pending.exp: Likewise.
9686 * gdb.base/print-file-var.exp: Likewise.
9687 * gdb.base/print-symbol-loading.exp: Likewise.
9688 * gdb.base/shlib-call.exp: Likewise.
9689 * gdb.base/shreloc.exp: Likewise.
9690 * gdb.base/so-impl-ld.exp: Likewise.
9691 * gdb.base/solib-disc.exp: Likewise.
9692 * gdb.base/solib-nodir.exp: Likewise.
9693 * gdb.base/solib-overlap.exp: Likewise.
9694 * gdb.base/solib-symbol.exp: Likewise.
9695 * gdb.base/solib-weak.exp (do_test): Likewise.
9696 * gdb.base/sym-file.exp: Likewise.
9697 * gdb.base/symtab-search-order.exp: Likewise.
9698 * gdb.base/type-opaque.exp: Likewise.
9699 * gdb.base/unload.exp: Likewise.
9700 * gdb.base/watchpoint-solib.exp: Likewise.
9701 * gdb.compile/compile.exp: Likewise.
9702 * gdb.cp/gdb2384.exp: Likewise.
9703 * gdb.cp/infcall-dlopen.exp: Likewise.
9704 * gdb.cp/re-set-overloaded.exp: Likewise.
9705 * gdb.fortran/library-module.exp: Likewise.
9706 * gdb.opt/solib-intra-step.exp: Likewise.
9707 * gdb.python/py-finish-breakpoint.exp: Likewise.
9708 * gdb.python/py-shared.exp: Likewise.
9709 * gdb.reverse/solib-precsave.exp: Likewise.
9710 * gdb.reverse/solib-reverse.exp: Likewise.
9711 * gdb.server/solib-list.exp: Likewise.
9712 * gdb.threads/dlopen-libpthread.exp: Likewise.
9713 * gdb.threads/tls-shared.exp: Likewise.
9714 * gdb.threads/tls-so_extern.exp: Likewise.
9715 * gdb.trace/change-loc.exp: Likewise.
9716 * gdb.trace/ftrace-lock.exp: Likewise.
9717 * gdb.trace/ftrace.exp: Likewise.
9718 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9719 * gdb.trace/pending.exp: Likewise.
9720 * gdb.trace/range-stepping.exp: Likewise.
9721 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9722 (strace_info_marker): Likewise.
9723 (strace_probe_marker): Likewise.
9724 (strace_trace_on_same_addr): Likewise.
9725 (strace_trace_on_diff_addr): Likewise.
9726 * gdb.trace/trace-break.exp: Likewise.
9727 * gdb.trace/trace-condition.exp: Likewise.
9728 * gdb.trace/trace-mt.exp: Likewise.
9729
fca4cfd9
SM
97302016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9731
9732 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9733 result of gdb_remote_download.
9734 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9735 * gdb.base/dso2dso.exp: Likewise.
9736 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9737 * gdb.base/print-file-var.exp: Likewise.
9738 * gdb.base/shlib-call.exp: Likewise.
9739 * gdb.base/shreloc.exp: Likewise.
9740 * gdb.base/solib-overlap.exp: Likewise.
9741 * gdb.base/solib-weak.exp (do_test): Likewise.
9742 * gdb.base/unload.exp: Likewise.
9743
11cf4ffb
YQ
97442016-04-27 Yao Qi <yao.qi@linaro.org>
9745
9746 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9747 exists.
9748
3e2e34f8
KB
97492016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9750
9751 * vla-type.exp: Print structure from toplevel.
9752
8f07e298
BH
97532016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9754
9755 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9756 of dynamic types.
9757 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9758 of dynamic types.
9759
9920b434
BH
97602016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9761
9762 * gdb.fortran/vla-type.f90: New file.
9763 * gdb.fortran/vla-type.exp: New file.
9764
f3abeff5
YQ
97652016-04-25 Yao Qi <yao.qi@linaro.org>
9766
9767 * gdb.base/branch-to-self.c: New file.
9768 * gdb.base/branch-to-self.exp: New file.
9769
0a5d52f0
YQ
97702016-04-22 Yao Qi <yao.qi@linaro.org>
9771
9772 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9773 more after $hex.
9774
495346f6
YQ
97752016-04-22 Yao Qi <yao.qi@linaro.org>
9776
9777 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9778 * gdb.base/annota3.exp: Likewise.
9779
4a7e075c
YQ
97802016-04-22 Yao Qi <yao.qi@linaro.org>
9781
9782 * gdb.reverse/step-precsave.exp: Do one step and test program
9783 stops in "callee" and do multiple steps until program goes out
9784 of "callee".
9785 * gdb.reverse/step-reverse.exp: Likewise.
9786
5b061e98
YQ
97872016-04-22 Yao Qi <yao.qi@linaro.org>
9788
9789 * gdb.trace/signal.exp: Also pass if
9790 $tracepoint_hits($i) > $iterations.
9791
5c5dc57f
YQ
97922016-04-22 Yao Qi <yao.qi@linaro.org>
9793
9794 * gdb.trace/signal.c: New file.
9795 * gdb.trace/signal.exp: New file.
9796
a55411b9
DE
97972016-04-19 Doug Evans <xdje42@gmail.com>
9798
9799 * gdb.base/bad-file.exp: New file.
9800
a22df60a
MG
98012016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9802
9803 * gdb.dwarf2/implref.exp: New file.
9804
0c13f7e5
BH
98052016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9806
9807 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9808 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9809 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9810 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9811 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9812 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9813 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9814 * lib/fortran.exp (fortran_int4): New procedure.
9815 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9816 (fortran_logical4): Likewise.
9817
9b9b09e9
BH
98182016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9819
9820 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9821
a14d1f4d
BH
98222016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9823
9824 * lib/compiler.c: Add Intel specific preprocessor macros.
9825 * lib/compiler.cc: Likewise.
25d49b86 9826
7d49b1d0
LM
98272016-04-13 Luis Machado <lgustavo@codesourcery.com>
9828
9829 * gdb.server/connect-with-no-symbol-file.c: New file.
9830 * gdb.server/connect-with-no-symbol-file.exp: New file.
9831
8392fa22
SM
98322016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9833
9834 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9835
8c4c4aeb
SM
98362016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9837
9838 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9839 standard output directory.
9840
45e3745e
AT
98412016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9842
9843 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9844
e26b7e41
MM
98452016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9846
9847 * gdb.btrace/instruction_history.c (loop): Add declaration.
9848
8ce09462
AT
98492016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9850
9851 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9852
2e88a1ea
SM
98532016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9854
9855 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9856 parentheses to print.
9857 (continue_handler): Likewise.
9858
f48e22e3
SM
98592016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9860
9861 * gdb.server/solib-list.exp: Remove is_remote check.
9862 Pass shlib= to gdb_compile. Don't link shared library with
9863 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9864 Run binary filename through "readlink -f" on the target.
9865
096be756
PA
98662016-04-08 Pedro Alves <palves@redhat.com>
9867
9868 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9869 interpreter filename as argument to gdbserver_spawn.
9870 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9871 Return empty if $last_loaded_file does not exist.
9872
06500533
JK
98732016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9874
9875 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9876 * gdb.base/jit-main.c: Use exit after usage.
9877
2d35e871
JK
98782016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9879
9880 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9881 GDBHISTSIZE prior to the tests.
9882 * gdb.base/gdbinit-history.exp: Likewise.
9883
98842016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
9885
9886 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9887 instead of build_executable. Use gdb_load_shlibs.
9888
c8064e7e
YQ
98892016-04-07 Yao Qi <yao.qi@linaro.org>
9890
9891 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9892 Execute "si" command.
9893
bde47561
YQ
98942016-04-07 Yao Qi <yao.qi@linaro.org>
9895
9896 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9897 number instead of the comments on some line.
9898
b16f8a3b
DB
98992016-04-06 Don Breazeal <donb@codesourcery.com>
9900
9901 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9902 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9903
c2f901df
SM
99042016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9905
9906 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9907 standard_output_file. Remove unused binfile variable.
9908
ac17fda0
CU
99092016-04-05 Catalin Udma <catalin.udma@freescale.com>
9910
9911 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9912 * gdb.python/py-mi-objfile.exp: Match "list main" output
9913 in console format.
9914
03a8c4df
SM
99152016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9916
9917 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9918 absolute.
9919
6e774b13
SM
99202016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9921
9922 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9923 absolute.
9924 * gdb.trace/ftrace.exp: Likewise.
9925 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9926 targets as well.
9927 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9928 (gdb_load_shlibs): Copy libraries to test directory when testing
9929 natively. Only set solib-search-path if testing remotely.
9930 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9931
7817ea46
SM
99322016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9933
9934 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9935 gdb_download. Use it even if the target is not remote.
9936 * gdb.base/jit.exp (compile_jit_test): Likewise.
9937 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9938 output directory if the destination board is local, otherwise use
9939 the standard remote_download from DejaGnu.
9940 (gdb_download): Remove.
9941 (gdb_load_shlibs): Use gdb_remote_download instead of
9942 gdb_download.
9943 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9944 Use gdb_remote_download instead of gdb_download. Use it even if
9945 the target is not remote.
9946 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9947 instead of gdb_download.
9948
7beb7f68
SM
99492016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9950
9951 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9952 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9953 run.
9954
cc63428a
AV
99552016-04-01 Artemiy Volkov <artemiyv@acm.org>
9956
9957 PR gdb/19820
9958 * gdb.base/printcmds.exp: Add artificial arrays tests.
9959
64cdf930
PA
99602016-03-31 Pedro Alves <palves@redhat.com>
9961
9962 PR gdb/19858
9963 * gdb.base/jit-main.c: Include unistd.h.
9964 (ATTACH): Define to 0 if not already defined.
9965 (wait_for_gdb, mypid): New globals.
9966 (WAIT_FOR_GDB): New macro.
9967 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9968 some breakpoint locations.
9969 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9970 New procedures.
9971 (one_jit_test): Add REATTACH parameter, and handle it. Use
9972 continue_to_test_location.
9973 (top level): Test attach, and adjusts calls to one_jit_test.
9974
40dea8cb
PA
99752016-03-31 Pedro Alves <palves@redhat.com>
9976
9977 PR gdb/19858
9978 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9979 BINSUFFIX parameter, and handle it.
9980 (top level): Adjust calls compile_jit_test.
9981
e7ea3ec7
CU
99822016-03-31 Catalin Udma <catalin.udma@freescale.com>
9983
9984 PR python/19743
9985 * gdb.python/py-mi-events-gdb.py: New file.
9986 * gdb.python/py-mi-events.c: New file.
9987 * gdb.python/py-mi-events.exp: New file.
9988
e6359af3
YQ
99892016-03-30 Yao Qi <yao.qi@linaro.org>
9990
9991 * gdb.reverse/until-precsave.exp: Match function name only.
9992 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9993 Move malloc to a condition block.
9994 * gdb.reverse/until-reverse.exp: Match function name only.
9995
a4105d04
MK
99962016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9997
9998 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9999 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10000 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10001 variable for GPR 0 instead of assuming it is register 0.
10002 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10003 * lib/trace-support.exp: Add s390 registers.
10004
bfa6adb9
YQ
100052016-03-29 Yao Qi <yao.qi@linaro.org>
10006
10007 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10008
1e6697ea
YQ
100092016-03-24 Yao Qi <yao.qi@linaro.org>
10010
10011 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10012 test message.
10013
64bcd522
AA
100142016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10015
10016 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10017 maintaining separate logic for constructing the output path.
10018
7868401b
DB
100192016-03-16 Don Breazeal <donb@codesourcery.com>
10020
10021 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10022 Retry fork and waitpid on interrupted system call errors.
10023 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10024 Use with_timeout_factor to increase timeout by factor of 10.
10025
1cafadb4
DB
100262016-03-15 Don Breazeal <donb@codesourcery.com>
10027
10028 * gdb.cp/scope-err.cc: New test program.
10029 * gdb.cp/scope-err.exp: New test script.
10030 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10031 lines and "set breakpoint here" comment.
10032 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10033 Fixed some whitespace and format issues.
10034 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10035 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10036
81516450
DE
100372016-03-15 Doug Evans <dje@google.com>
10038
10039 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10040 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10041 All callers updated. Add tests for enums, mixed flags register.
10042
aa52b601
DE
100432016-03-15 Doug Evans <dje@google.com>
10044
10045 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10046 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10047
fa4ff313
SM
100482016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10049
10050 * gdb.base/default.exp: Add $_as_string to the list of expected
10051 convenience functions.
10052
f2403c39
AB
100532016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10054
10055 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10056
f2f3ccb9
SM
100572016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10058
10059 * gdb.python/py-as-string.exp: New file.
10060 * gdb.python/py-as-string.c: New file.
10061
00dbd492
PA
100622016-03-09 Pedro Alves <palves@redhat.com>
10063
10064 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10065 signal" -> "Thread NN received signal" output change.
10066 * gdb.threads/ia64-sigill.exp: Likewise.
10067 * gdb.threads/linux-dp.exp: Likewise.
10068 * gdb.threads/manythreads.exp: Likewise.
10069 * gdb.threads/pending-step.exp: Likewise.
10070 * gdb.threads/print-threads.exp: Likewise.
10071 * gdb.threads/sigstep-threads.exp: Likewise.
10072 * gdb.threads/staticthreads.exp: Likewise.
10073 * gdb.threads/tls.exp: Likewise.
10074
1e6697ea
YQ
100752016-03-09 Pedro Alves <palves@redhat.com>
10076
10077 * gdb.base/command-line-input.exp: New file.
10078
b04fd3be
MK
100792016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10080
10081 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10082 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10083 * gdb.trace/pending.exp: Accept leading dot before function name.
10084 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10085 * lib/trace-support.exp: Set registers for ppc.
10086
98fa59e9
MK
100872016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10088
10089 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10090 use it for disassembly; accept .main in addition to main in backtrace.
10091
f77198c8
MK
100922016-03-09 Wei-cheng Wang <cole945@gmail.com>
10093 Marcin Kościelnicki <koriakin@0x04.net>
10094
10095 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10096 (gdb_recursion_test_ptr): New global variable.
10097 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10098 gdb_recursion_test.
10099 (gdb_c_test): Ditto.
10100
ba84e0da
MK
101012016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10102
10103 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10104 ordering.
10105
4366d36e
MK
101062016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10107
10108 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10109 (bar): Add bar_start_lbl label.
10110 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10111 of foo/bar for emitting DWARF and tracing.
10112
5eb264df
SDJ
101132016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10114
10115 * analyze-racy-logs.py: Set executable bit.
10116
fb6a751f
SDJ
101172016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10118
10119 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10120 (CHECK_TARGET_TMP): Likewise.
10121 (check-single-racy): New rule.
10122 (check-parallel-racy): Likewise.
10123 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10124 (do-check-parallel-racy): New rule.
10125 (check-racy/%.exp): Likewise.
10126 * README (Racy testcases): New section.
10127 * analyze-racy-logs.py: New file.
10128
bdf7e230
DE
101292016-03-03 Doug Evans <dje@google.com>
10130
10131 * gdb.base/skip.exp: Use with_test_prefix.
10132
4719d415
YQ
101332016-03-03 Yao Qi <yao.qi@linaro.org>
10134
10135 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10136 Invoke step_over_syscall "clone" and break_cond_on_syscall
10137 "clone".
10138 * gdb.base/step-over-clone.c: New file.
10139
ea507862
YQ
101402016-03-03 Yao Qi <yao.qi@linaro.org>
10141
10142 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10143 code format.
10144
8fc8cbda
YQ
101452016-03-03 Yao Qi <yao.qi@linaro.org>
10146
10147 * gdb.base/disp-step-fork.c: Rename to ...
10148 * gdb.base/step-over-fork.c: ... it. New file.
10149 * gdb.base/disp-step-vfork.c: Rename to ...
10150 * gdb.base/step-over-vfork.c: ... it. New file.
10151 * gdb.base/disp-step-syscall.exp: Rename to ...
10152 * gdb.base/step-over-syscall.exp: ... it. New file.
10153 (disp_step_cross_syscall): Rename to ...
10154 (step_over_syscall): ... it.
10155
92fa70b0
YQ
101562016-03-03 Yao Qi <yao.qi@linaro.org>
10157
10158 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10159 If target supports condition evaluation on target, invoke
10160 break_cond_on_syscall for fork and vfork.
10161
e197ad3c
YQ
101622016-03-03 Yao Qi <yao.qi@linaro.org>
10163
10164 * gdb.base/disp-step-syscall.exp: Don't invoke
10165 support_displaced_stepping.
10166 (disp_step_cross_syscall): Test with displaced stepping off and
10167 on if supported.
10168
0b47da9f
YQ
101692016-03-03 Yao Qi <yao.qi@linaro.org>
10170
10171 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10172 proc.
10173 (setup): New proc.
10174 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10175 and setup.
10176
065ab6dc
BH
101772016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10178
10179 * gdb.fortran/vla-history.exp: Remove breakpoint.
10180
07e448ad 101812016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10182
25d49b86
PA
10183 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10184 exceeds timeout.
07e448ad 10185
9ac2d526 101862016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10187
25d49b86
PA
10188 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10189 breakpoint.
9ac2d526 10190
17807369
BH
101912016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10192
10193 * gdb.mi/vla.f90: Nullify pointer after declaration.
10194
86e501af
PA
101952016-03-01 Pedro Alves <palves@redhat.com>
10196
10197 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10198
1e903e32
PA
101992016-03-01 Pedro Alves <palves@redhat.com>
10200
10201 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10202 before anything else.
10203 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10204 _GNU_SOURCE here.
10205 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10206 before anything else.
10207 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10208
6ccb54e2
PA
102092016-03-01 Pedro Alves <palves@redhat.com>
10210
10211 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10212
30ca9da1
YQ
102132016-03-01 Yao Qi <yao.qi@linaro.org>
10214
10215 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10216 prepare_for_testing.
10217
dc856b38
YQ
102182016-03-01 Yao Qi <yao.qi@linaro.org>
10219
10220 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10221
4a932159
AA
102222016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10223
10224 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10225 manually constructing the output path.
10226
f2489477
AA
102272016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10228
10229 * gdb.arch/s390-stackless.S: New.
10230 * gdb.arch/s390-stackless.exp: New.
10231
38899f16
IB
102322016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10233
10234 * gdb.dlang/circular.c: New file.
10235 * gdb.dlang/circular.exp: New file.
10236
9fde51ed
YQ
102372016-02-26 Yao Qi <yao.qi@linaro.org>
10238
10239 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10240 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10241 (testcases): Update.
10242
ce90fefe
YQ
102432016-02-26 Yao Qi <yao.qi@linaro.org>
10244
10245 * gdb.reverse/aarch64.c: Rename to ...
10246 * gdb.reverse/insn-reverse.c: ... it.
10247 * gdb.reverse/aarch64.exp: Rename to ...
10248 * gdb.reverse/insn-reverse.exp: ... it.
10249
3263bceb
YQ
102502016-02-26 Yao Qi <yao.qi@linaro.org>
10251
10252 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10253 (testcase_ftype): New.
10254 (testcases): New array.
10255 (n_testcases): New.
10256 (main): Call each element in testcases.
10257 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10258 (read_testcase): New.
10259 Do the tests in a loop.
10260
6cb59ff1
YQ
102612016-02-25 Yao Qi <yao.qi@linaro.org>
10262
10263 * gdb.base/branches.c: Remove.
10264
ae91f625
MK
102652016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10266
10267 PR gdb/13808
10268 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10269
678b48b7
MK
102702016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10271
10272 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10273
7337a6f2
MK
102742016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10275
10276 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10277 change x86_64 call_insn to 'callq'.
10278
861ca91f
AT
102792016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10280
10281 * gdb.trace/tfile-avx.c: Move to...
10282 * gdb.trace/tracefile-pseudo-reg.c: Here.
10283 * gdb.trace/tfile-avx.exp: Move to...
10284 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10285
bf74e428
GB
102862016-02-24 Gary Benson <gbenson@redhat.com>
10287
10288 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10289 message on attach.
10290
cce0e923
DE
102912016-02-23 Doug Evans <dje@google.com>
10292
10293 * gdb.base/skip.c (test_skip): New function.
10294 (end_test_skip_file_and_function): New function.
10295 (test_skip_file_and_function): New function.
10296 * gdb.base/skip1.c (test_skip): New function.
10297 (skip1_test_skip_file_and_function): New function.
10298 * gdb.base/skip.exp: Add tests for new skip options.
10299 * gdb.base/skip-solib.exp: Update expected output.
10300 * gdb.perf/skip-command.cc: New file.
10301 * gdb.perf/skip-command.exp: New file.
10302 * gdb.perf/skip-command.py: New file.
10303
4000e47e
MK
103042016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10305
10306 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10307 info registers pattern.
10308
24f75ead
IB
103092016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10310
10311 * lib/future.exp: Add D support.
10312 (gdb_find_gdc): New proc.
10313 (gdb_default_target_compile): Add D support.
10314
fbb7bcbe
WW
103152016-02-18 Wei-cheng Wang <cole945@gmail.com>
10316
10317 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10318 user+system time.
10319 (trace_speed_test): Determine the iteration count for a time
10320 between 15..30 seconds.
10321
012b3a21
WT
103222016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10323
10324 * gdb.arch/i386-mpx-sigsegv.c: New file.
10325 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10326 * gdb.arch/i386-mpx-simple_segv.c: New file.
10327 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10328
2d5189bd
YQ
103292016-02-18 Yao Qi <yao.qi@linaro.org>
10330
10331 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10332 Don't call setup_kfail.
10333
40fb20d0
YQ
103342016-02-18 Yao Qi <yao.qi@linaro.org>
10335
10336 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10337 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10338
21b1f8d2
DE
103392016-02-16 Doug Evans <dje@google.com>
10340
10341 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10342 * gdb.base/skip1.c: Ditto.
10343 * gdb.base/skip.exp: Whitespace cleanup.
10344
4041ed77
DB
103452016-02-16 Don Breazeal <donb@codesourcery.com>
10346
10347 PR remote/19496
10348 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10349 Remove kfail for PR remote/19496.
10350
c4ef31bf
SM
103512016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10352
10353 * lib/gdb.exp (standard_temp_file): Return a path specific to
10354 the runtest invocation.
10355
266b65b3
SM
103562016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10357
10358 * gdb.trace/save-trace.exp: Change relative path to be in the
10359 standard output directory.
10360
a7a0a6a9
JK
103612016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10362
10363 * gdb.arch/i386-prologue.c: Add missing prototypes.
10364
c99dbb42
JK
103652016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10366
10367 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10368 * gdb.arch/i386-prologue.exp: Likewise.
10369 * gdb.arch/i386-size.exp: Likewise.
10370
aa480355
SM
103712016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10372
10373 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10374 define object file path.
10375 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10376 file path.
10377 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10378 standard_output_file to define binfile.
10379
ba881f50
JK
103802016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10381
10382 Fix compatibility with recent gfortran-5.3.1.
10383 * gdb.fortran/vla-history.exp (print vla1 allocated)
10384 (print vla2 allocated, print $2, print $3): Remove
10385 (print $4): Rename to ...
10386 (print $2): ... here.
10387 (print $9): Rename to ...
10388 (print $5): ... here.
10389 (print $10): Rename to ...
10390 (print $6): ... here.
10391 * gdb.fortran/vla.f90: Add pvla initialization.
10392
e9fb005c
JK
103932016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10394
10395 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10396 New test.
10397 * gdb.fortran/vla-value-sub.exp: Likewise.
10398
e44e00ff
MK
103992016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10400
10401 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10402
97e94151
SM
104032016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10404
10405 * i386-biarch-core.exp: Define corefile using
10406 standard_output_file.
10407
01113bc1
YQ
104082016-02-12 Yao Qi <yao.qi@linaro.org>
10409
10410 * gdb.arch/arm-single-step-kernel-helper.c: New.
10411 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10412
33b4777c
MM
104132016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10414
10415 * gdb.btrace/tailcall-only.exp: New.
10416 * gdb.btrace/tailcall-only.c: New.
10417 * gdb.btrace/x86_64-tailcall-only.S: New.
10418 * gdb.btrace/i686-tailcall-only.S: New.
10419
acc23c11
PA
104202016-02-11 Pedro Alves <palves@redhat.com>
10421
10422 * README (Parallel testing): Add missing double quotes.
10423
e352bf0a
PA
104242016-02-11 Pedro Alves <palves@redhat.com>
10425
10426 * README (Parallel testing): New section.
10427 (GDB_PARALLEL): Rewrite.
10428 (FORCE_PARALLEL): Document.
10429
9f5fed78
MK
104302016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10431
10432 * gdb.trace/tfile-avx.c: New test.
10433 * gdb.trace/tfile-avx.exp: New test.
10434
9ef9e6a6
KS
104352016-02-09 Keith Seitz <keiths@redhat.com>
10436
10437 PR breakpoints/19546
10438 * gdb.base/infcall-exec.c: New file.
10439 * gdb.base/infcall-exec2.c: New file.
10440 * gdb.base/infcall-exec.exp: New file.
10441
a96e36da
KS
104422016-02-09 Keith Seitz <keiths@redhat.com>
10443
10444 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10445 (toplevel): Call test_bkpt_address.
10446
9f61929f
KS
104472016-02-09 Keith Seitz <keiths@redhat.com>
10448
10449 PR python/19506
10450 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10451 (toplevel): Call test_bkpt_address.
10452
1e94266c
SM
104532016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10454
10455 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10456 to AC_OUTPUT.
10457 * configure: Regenerate.
10458
2a7f3dff
PA
104592016-02-09 Pedro Alves <palves@redhat.com>
10460
10461 PR breakpoints/19548
10462 * gdb.base/execl-update-breakpoints.c (some_function): New
10463 function.
10464 (main): Call it.
10465 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10466 Tighten expected GDB output.
10467
2151ccc5
SM
104682016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10469
10470 * Makefile.in (ALL_SUBDIRS): Remove.
10471 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10472 (distclean maintainer-clean realclean): Likewise.
10473 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10474 * configure: Regenerate.
10475 * gdb.ada/Makefile.in: Delete.
10476 * gdb.arch/Makefile.in: Likewise.
10477 * gdb.asm/Makefile.in: Likewise.
10478 * gdb.base/Makefile.in: Likewise.
10479 * gdb.btrace/Makefile.in: Likewise.
10480 * gdb.cell/Makefile.in: Likewise.
10481 * gdb.compile/Makefile.in: Likewise.
10482 * gdb.cp/Makefile.in: Likewise.
10483 * gdb.disasm/Makefile.in: Likewise.
10484 * gdb.dlang/Makefile.in: Likewise.
10485 * gdb.dwarf2/Makefile.in: Likewise.
10486 * gdb.fortran/Makefile.in: Likewise.
10487 * gdb.gdb/Makefile.in: Likewise.
10488 * gdb.go/Makefile.in: Likewise.
10489 * gdb.guile/Makefile.in: Likewise.
10490 * gdb.java/Makefile.in: Likewise.
10491 * gdb.linespec/Makefile.in: Likewise.
10492 * gdb.mi/Makefile.in: Likewise.
10493 * gdb.modula2/Makefile.in: Likewise.
10494 * gdb.multi/Makefile.in: Likewise.
10495 * gdb.objc/Makefile.in: Likewise.
10496 * gdb.opencl/Makefile.in: Likewise.
10497 * gdb.opt/Makefile.in: Likewise.
10498 * gdb.pascal/Makefile.in: Likewise.
10499 * gdb.perf/Makefile.in: Likewise.
10500 * gdb.python/Makefile.in: Likewise.
10501 * gdb.reverse/Makefile.in: Likewise.
10502 * gdb.server/Makefile.in: Likewise.
10503 * gdb.stabs/Makefile.in: Likewise.
10504 * gdb.threads/Makefile.in: Likewise.
10505 * gdb.trace/Makefile.in: Likewise.
10506 * gdb.xml/Makefile.in: Likewise.
10507 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10508 GDB_PARALLEL.
10509 (standard_output_file): Remove check for GDB_PARALLEL, always
10510 return path in outputs/$subdir/$testname.
10511
437277d4
SM
105122016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10513
10514 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10515 (site.exp): Assign abs_srcdir to tcl's srcdir.
10516
31d913c7
YQ
105172016-02-04 Yao Qi <yao.qi@linaro.org>
10518
10519 * gdb.base/foll-exec-mode.c: Include limits.h.
10520 (main): Add parameters argc and argv. Get directory from
10521 argv[0].
10522 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10523 compilation.
10524 * gdb.base/foll-exec.c: Include limits.h.
10525 (main): Add parameters argc and argv.
10526 Get directory from argv[0].
10527 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10528 Adjust tests on the number of lines as source code changed.
10529 * gdb.base/foll-vfork-exit.c: Include limits.h.
10530 (main): Add one line of statement before vfork.
10531 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10532 (main): Add parameters argc and argv. Get directory from
10533 argv[0].
10534 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10535 (setup_gdb): Set tbreak to skip some source lines.
10536 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10537 (main): Add parameters argc and argv. Get directory from
10538 argv[0].
10539 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10540 compilation.
10541 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10542 (main): Add parameters argc and argv. Get directory from
10543 argv[0].
10544 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10545 compilation.
10546
9482b9fb
DE
105472016-02-01 Doug Evans <dje@google.com>
10548
10549 * gdb.base/skip.exp: Clean up multiple references to same test name.
10550
6b2e4f10
PA
105512016-02-01 Pedro Alves <palves@redhat.com>
10552
ccb6afd6 10553 PR remote/19496
6b2e4f10
PA
10554 * gdb.threads/forking-threads-plus-breakpoint.exp
10555 (displaced_stepping_supported): New global.
10556 (probe_displaced_stepping_support): New procedure.
10557 (do_test): Add 'displaced' parameter, and use it.
10558 (top level): Check for displaced stepping support. Add displaced
10559 stepping on/off testing axis.
10560
37a8db1a
AB
105612016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10562
10563 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10564 pointer. Don't perform further tests on the unassociated pointer
10565 if the first test fails.
10566
5fdf6324
AB
105672016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10568
10569 * gdb.base/max-value-size.c: New file.
10570 * gdb.base/max-value-size.exp: New file.
10571 * gdb.base/huge.exp: Disable max-value-size for this test.
10572
935c6144
IB
105732016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10574
10575 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10576
7fe8399d
YQ
105772016-01-28 Yao Qi <yao.qi@linaro.org>
10578
10579 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10580
a2077e25
PA
105812016-01-25 Pedro Alves <palves@redhat.com>
10582
10583 PR threads/19461
10584 * gdb.base/fork-running-state.c: New file.
10585 * gdb.base/fork-running-state.exp: New file.
10586
1d2736d4
PA
105872016-01-25 Pedro Alves <palves@redhat.com>
10588
10589 PR gdb/19494
10590 * gdb.base/catch-fork-kill.c: New file.
10591 * gdb.base/catch-fork-kill.exp: New file.
10592
f1da4b11
PA
105932016-01-25 Pedro Alves <palves@redhat.com>
10594
10595 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10596 Delete, moved to lib/gdb.exp.
10597 * gdb.threads/forking-threads-plus-breakpoint.exp
10598 (foreach_with_prefix): Likewise.
10599 * gdb.threads/process-dies-while-handling-bp.exp
10600 (foreach_with_prefix): Likewise.
10601 * lib/gdb.exp (foreach_with_prefix): New procedure.
10602
45f38546
MK
106032016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10604
10605 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10606 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10607
dc29a1ce
MK
106082016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10609
10610 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10611 endian targets.
10612
092127d7
JK
106132016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10614 Pedro Alves <palves@redhat.com>
10615
10616 Fix testsuite compatibility with Guile.
10617 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10618 number.
10619
31d765d3
JK
106202016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10621
10622 Fix testsuite compatibility with Guile.
10623 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10624 (thread 1): New test for backtrace through signal handler.
10625
1ac78c04
YQ
106262016-01-22 Yao Qi <yao.qi@linaro.org>
10627
10628 PR testsuite/19491
10629 * gdb.base/multi-forks.c: Include
10630 ../lib/unbuffer_output.c
10631 (main): Call gdb_unbuffer_output.
10632
4f5946a8
DE
106332016-01-21 Doug Evans <dje@google.com>
10634
10635 * lib/ada.exp (gdb_compile_ada): Fix typo.
10636
305e13e6
JB
106372016-01-21 Joel Brobecker <brobecker@adacore.com>
10638
10639 * gdb.base/break-fun-addr.exp: New file.
10640 * gdb.base/break-fun-addr1.c: New file.
10641 * gdb.base/break-fun-addr2.c: New file.
10642
5f5dfff6
SM
106432016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10644
10645 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10646 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10647 enum flag values.
10648
fd356fa2
AA
106492016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10650
10651 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10652 when GDB can not set the vector return value. Add more comments
10653 for clarification.
10654
9df22175
AT
106552016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10656
10657 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10658 command.
10659
41d1845e
SM
106602016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10661
10662 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10663
01ac6840
SM
106642016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10665
10666 * Makefile.in (check-single): Pass --status to runtest.
10667 (check/%.exp): Likewise.
10668
106692016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10670
10671 * Makefile.in (check-parallel): Propagate return code from make
10672 do-check-parallel.
10673
bd0a71fa
MK
106742016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10675
10676 * gdb.trace/ftrace.exp: Fix expected message on continue.
10677 * gdb.trace/pending.exp: Fix expected message on continue.
10678 * gdb.trace/trace-break.exp: Fix expected message on continue.
10679
8bcbad33
SM
106802016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10681
10682 * lib/gdb.exp (gdb_test): Remove unused global references.
10683
f303dbd6
PA
106842016-01-18 Pedro Alves <palves@redhat.com>
10685
10686 * gdb.base/async-shell.exp: Adjust expected output.
10687 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10688 * gdb.base/siginfo-thread.exp: Adjust expected output.
10689 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10690 * gdb.java/jnpe.exp: Adjust expected output.
10691 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10692 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10693 * gdb.threads/leader-exit.exp: Adjust expected output.
10694 * gdb.threads/manythreads.exp: Adjust expected output.
10695 * gdb.threads/pthreads.exp: Adjust expected output.
10696 * gdb.threads/schedlock.exp: Adjust expected output.
10697 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10698 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10699 expected output.
10700 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10701 output.
10702 * gdb.threads/sigthread.exp: Adjust expected output.
10703 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10704
b2789696
YQ
107052016-01-18 Yao Qi <yao.qi@linaro.org>
10706
10707 * gdb.guile/scm-section-script.c: Replace @progbits with
10708 %progbits.
10709 * gdb.python/py-section-script.c: Likewise.
10710
71ef29a8
PA
107112016-01-15 Pedro Alves <palves@redhat.com>
10712
10713 * gdb.multi/tids.exp: Test star wildcard ranges.
10714
3f5b7598
PA
107152016-01-15 Pedro Alves <palves@redhat.com>
10716
10717 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10718 command from "thread apply" invocation.
10719 (thr_apply_info_thr_invalid): Default the expected output to the
10720 input tid list.
10721 (top level): Add tests that use convenience variables. Add tests
10722 for "thread apply" with a valid TID list, but missing the command.
10723
663f6d42
PA
107242016-01-13 Pedro Alves <palves@redhat.com>
10725
10726 * gdb.base/default.exp: Expect $_gthread as well.
10727 * gdb.multi/tids.exp: Test $_gthread.
10728 * gdb.threads/thread-specific.exp: Test $_gthread.
10729
c84f6bbf
PA
107302016-01-13 Pedro Alves <palves@redhat.com>
10731
10732 * gdb.multi/tids.exp: Test "info threads -gid".
10733
22a02324
PA
107342016-01-13 Pedro Alves <palves@redhat.com>
10735
10736 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10737 Breakpoint.thread.
10738 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10739
5d5658a1
PA
107402016-01-07 Pedro Alves <palves@redhat.com>
10741
10742 * gdb.base/break.exp: Adjust to output changes.
10743 * gdb.base/hbreak2.exp: Likewise.
10744 * gdb.base/sepdebug.exp: Likewise.
10745 * gdb.base/watch_thread_num.exp: Likewise.
10746 * gdb.linespec/keywords.exp: Likewise.
10747 * gdb.multi/info-threads.exp: Likewise.
10748 * gdb.threads/thread-find.exp: Likewise.
10749 * gdb.multi/tids.c: New file.
10750 * gdb.multi/tids.exp: New file.
10751
84654457
PA
107522016-01-13 Pedro Alves <palves@redhat.com>
10753
10754 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10755
e3940304
PA
107562016-01-13 Pedro Alves <palves@redhat.com>
10757
10758 * gdb.base/default.exp: Expect $_inferior as well.
10759 * gdb.multi/base.exp: Test $_inferior.
10760
a911d87a
PA
107612016-01-13 Pedro Alves <palves@redhat.com>
10762
10763 PR breakpoints/19388
10764 * gdb.base/catch-signal-siginfo-cond.c: New file.
10765 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10766
82075af2
JS
107672016-01-12 Josh Stone <jistone@redhat.com>
10768 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10769
10770 * gdb.base/catch-syscall.c (do_execve): New variable.
10771 (main): Conditionally trigger an execve.
10772 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10773 (test_catch_syscall_execve): New, check entry/return across execve.
10774 (do_syscall_tests): Call test_catch_syscall_execve.
10775
e46eeedd
PA
107762016-01-12 Pedro Alves <palves@redhat.com>
10777
10778 * gdb.base/random-signal.exp (do_test): New procedure, with body
10779 of testcase moved in.
10780
01d8c27e
JK
107812016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10782 Pedro Alves <palves@redhat.com>
10783
10784 * gdb.base/funcargs.exp (finish from indirectly called function):
10785 Reintroduce the case for 'First'.
10786
9a706302
JK
107872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10788 Pedro Alves <palves@redhat.com>
10789
10790 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10791 (tcatch_vfork_then_child_follow_exec)
10792 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10793 identification.
10794
c0ecb95f
JK
107952016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10796
10797 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10798 and repeats to unlimited.
10799 * gdb.python/py-value.exp: Likewise.
10800 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10801 and repeats to unlimited.
10802
6cfc1fcb
JK
108032016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10804
10805 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10806 and reordering the functions.
10807 * gdb.multi/hangout.c: Likewise.
10808 * gdb.multi/hello.c: Likewise.
10809
582a1b00
SM
108102016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10811
10812 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10813 absolute.
10814 (SingleStatisticTestResult.report): Use dict.keys instead of
10815 dict.iterkeys.
10816
79bc59cb
PA
108172016-01-06 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10820
43368e1d
MM
108212016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10822
10823 * gdb.btrace/dlopen.exp: New.
10824 * gdb.btrace/dlopen.c: New.
10825 * gdb.btrace/dlopen-dso.c: New.
10826
79fad5b8
SL
108272015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10828
10829 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10830 PATTERN argument is optional.
10831
ab8314b3
JB
108322015-12-24 Joel Brobecker <brobecker@adacore.com>
10833
10834 * lib/ada.exp (target_compile_ada_from_dir): New function.
10835 (gdb_compile_ada): Reimplement avoiding the use of project files.
10836 * gdb.ada/gnat_ada.gpr: Delete.
10837 * gdb.ada/cond_lang.exp: Adjust test to make path before
10838 filename optional.
10839 * gdb.ada/small_reg_param.exp: Likewise.
10840
fe33faff
SM
108412015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10842
10843 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10844
6d265cb4
TP
108452015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10846
10847 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10848 case.
10849
10125099
SM
108502015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10851
10852 * gdb.base/break.exp: Remove dead code.
10853 * gdb.base/sepdebug.exp: Likewise.
10854
3ca22649
SM
108552015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10856
10857 * gdb.asm/asm-source.exp: Remove HP-UX references.
10858 * gdb.base/annota1.exp: Likewise.
10859 * gdb.base/annota3.exp: Likewise.
10860 * gdb.base/attach.exp: Likewise.
10861 * gdb.base/bigcore.exp: Likewise.
10862 * gdb.base/break.exp: Likewise.
10863 * gdb.base/call-ar-st.exp: Likewise.
10864 * gdb.base/callfuncs.exp: Likewise.
10865 * gdb.base/catch-fork-static.exp: Likewise.
10866 * gdb.base/display.exp: Likewise.
10867 * gdb.base/foll-exec-mode.exp: Likewise.
10868 * gdb.base/foll-exec.exp: Likewise.
10869 * gdb.base/foll-fork.exp: Likewise.
10870 * gdb.base/foll-vfork.exp: Likewise.
10871 * gdb.base/funcargs.exp: Likewise.
10872 * gdb.base/hbreak2.exp: Likewise.
10873 * gdb.base/inferior-died.exp: Likewise.
10874 * gdb.base/interrupt.exp: Likewise.
10875 * gdb.base/multi-forks.exp: Likewise.
10876 * gdb.base/nodebug.exp: Likewise.
10877 * gdb.base/sepdebug.exp: Likewise.
10878 * gdb.base/solib1.c: Likewise.
10879 * gdb.base/step-test.exp: Likewise.
10880 * gdb.mi/non-stop.c: Likewise.
10881 * gdb.mi/pthreads.c: Likewise.
10882 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10883 * gdb.threads/pthreads.c: Likewise.
10884 * gdb.threads/staticthreads.exp: Likewise.
10885 * lib/future.exp: Likewise.
10886 * lib/gdb.exp: Likewise.
10887 * gdb.base/so-indr-cl.c: Remove.
10888 * gdb.base/so-indr-cl.exp: Likewise.
10889 * gdb.base/solib.c: Likewise.
10890 * gdb.base/solib.exp: Likewise.
10891 * gdb.base/solib2.c: Likewise.
10892
b6304613
SM
108932015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10894
10895 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10896 * gdb.base/call-ar-st.exp: Likewise.
10897 * gdb.base/callfuncs.exp: Likewise.
10898 * gdb.base/condbreak.exp: Likewise.
10899 * gdb.base/constvars.exp: Likewise.
10900 * gdb.base/hbreak2.exp: Likewise.
10901 * gdb.base/langs.exp: Likewise.
10902 * gdb.base/list.exp: Likewise.
10903 * gdb.base/long_long.exp: Likewise.
10904 * gdb.base/ptype.exp: Likewise.
10905 * gdb.base/scope.exp: Likewise.
10906 * gdb.base/signals.exp: Likewise.
10907 * gdb.base/so-impl-ld.exp: Likewise.
10908 * gdb.base/varargs.exp: Likewise.
10909 * gdb.base/volatile.exp: Likewise.
10910 * gdb.base/whatis.exp: Likewise.
10911 * gdb.cp/cplusfuncs.exp: Likewise.
10912 * gdb.cp/inherit.exp: Likewise.
10913 * gdb.cp/local.exp: Likewise.
10914 * gdb.cp/member-ptr.exp: Likewise.
10915 * gdb.cp/method.exp: Likewise.
10916 * gdb.cp/overload.exp: Likewise.
10917 * gdb.cp/templates.exp: Likewise.
10918 * gdb.stabs/weird.exp: Likewise.
10919 * lib/compiler.c: Likewise.
10920 * lib/compiler.cc: Likewise.
10921 * lib/cp-support.exp: Likewise.
10922 * lib/gdb.exp: Likewise.
10923
bf401b07
SM
109242015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10925
10926 * configure.ac: Remove HP-UX case.
10927 * configure: Regenerate.
10928
aff9c0f8
SM
109292015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10930
10931 * lib/gdb.exp (gdb_compile): Add function doc.
10932
a6904d5a
PA
109332015-12-17 Pedro Alves <palves@redhat.com>
10934
10935 PR threads/19354
10936 * gdb.multi/info-threads.exp: New file.
10937
a22279dd
YQ
109382015-12-15 Yao Qi <yao.qi@linaro.org>
10939
10940 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10941 is aarch64*-*-*.
10942
0588c796
SL
109432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10944
10945 * gdb.base/history-duplicates.exp: Skip if no readline support.
10946
5d978e17
SL
109472015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10948
10949 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10950
7e763b86
SL
109512015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10952
10953 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10954
87a3a92c
SL
109552015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10956
10957 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10958 ctrl-C if nointerrupts target property is set.
10959 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10960 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10961 * gdb.base/paginate-bg-execution.exp: Likewise.
10962 * gdb.base/paginate-execution-startup.exp: Likewise.
10963 * gdb.base/random-signal.exp: Likewise.
10964 * gdb.base/range-stepping.exp: Likewise.
10965 * gdb.cp/annota2.exp: Likewise.
10966 * gdb.cp/annota3.exp: Likewise.
10967 * gdb.gdb/selftest.exp: Likewise.
10968 * gdb.threads/continue-pending-status.exp: Likewise.
10969 * gdb.threads/leader-exit.exp: Likewise.
10970 * gdb.threads/manythreads.exp: Likewise.
10971 * gdb.threads/pthreads.exp: Likewise.
10972 * gdb.threads/schedlock.exp: Likewise.
10973 * gdb.threads/sigthread.exp: Likewise.
10974
a8f077dc
DB
109752015-12-11 Don Breazeal <donb@codesourcery.com>
10976
10977 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10978 remote.
10979 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10980 * gdb.base/foll-exec.exp (main): Enable for target remote.
10981 * gdb.base/foll-fork.exp (main): Likewise.
10982 * gdb.base/foll-vfork.exp (main): Likewise.
10983 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10984 (proc continue_to_exit_bp_loc): Use clean_restart.
10985 * gdb.base/pie-execl.exp (main): Disable for target remote.
10986 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10987 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10988 * gdb.threads/execl.exp (main): Likewise.
10989 * gdb.threads/fork-child-threads.exp (main): Likewise.
10990 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10991 remote.
10992 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10993 remote.
10994 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10995 pid.tid style ptids, instead of just tid.
10996 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10997 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10998 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10999 ptids, instead of just tid.
11000
3b2464a8
AB
110012015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11002
11003 * gdb.base/list.exp (test_list_forward): Add end of file error
11004 test.
11005 (test_repeat_list_command): Add end of file error test.
11006 (test_list_backwards): Add beginning of file error test.
11007
a0def019
AB
110082015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11009
11010 * gdb.base/list.exp (test_list_invalid_args): New function,
11011 defined, and called.
11012
5c000dff
AB
110132015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11014
11015 * gdb.base/list.exp (test_list): Make test names unique.
11016
f1637ebe
YQ
110172015-12-11 Yao Qi <yao.qi@linaro.org>
11018
11019 * gdb.base/coremaker2.c: Remove.
11020
36d6fc0a
PA
110212015-12-10 Pedro Alves <palves@redhat.com>
11022
11023 * gdb.multi/base.exp: Remove stale "spaces" references.
11024
762f7747
PA
110252015-12-10 Pedro Alves <palves@redhat.com>
11026
11027 * gdb.multi/base.exp: Don't use nowarnings.
11028 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11029 * gdb.multi/hangout.c: Include stdio.h.
11030 * gdb.multi/hello.c: Include stdlib.h.
11031 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11032 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11033 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11034
28d2bfb9
AB
110352015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11036
11037 * gdb.dwarf2/dw2-ranges-base.c: New file.
11038 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11039 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11040 support additional line table, and debug ranges generation.
11041 (Dwarf::ranges): New function, generate .debug_ranges.
11042 (Dwarf::lines): Support generating simple line table programs.
11043 (Dwarf::assemble): Initialise new namespace variables.
11044
5fc2beac
KB
110452015-12-09 Kevin Buettner <kevinb@redhat.com>
11046
11047 * gdb.base/async.exp (proc test_background): Add case for
11048 asynchronous execution not supported.
11049
1c35a88f
LM
110502015-12-09 Luis Machado <lgustavo@codesourcery.com>
11051
11052 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11053 format and change test names to make them unique.
11054
b593e3d9
RK
110552015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11056 Pedro Alves <pedro@redhat.com>
11057
11058 PR gdb/18702
11059 Add checking of floatformats setup on x86_64 hosts.
11060 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11061 (smallval, bigval): New labels/constants.
11062 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11063 float" after loading bigval and smallval.
11064
d72413e6
PMR
110652015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11066
11067 * gdb.ada/fun_overload_menu.exp: New testcase.
11068 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11069
ece66d65
JS
110702015-12-04 Josh Stone <jistone@redhat.com>
11071
11072 * gdb.base/catch-fork-static.exp: New.
11073
41d0efca
YQ
110742015-12-03 Yao Qi <yao.qi@linaro.org>
11075
11076 * gdb.base/sizeof.c: Don't include stdio.h and
11077 ../lib/unbuffer_output.c.
11078 (main): New variable 'size' and 'value'. Remove printf and
11079 gdb_unbuffer_output. Assign return value to size and value.
11080 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11081 at the beginning.
11082 (check_sizeof): Check the result by printing variable 'size'.
11083 (check_valueof): Check the result by printing variable 'value'.
11084
99fd02d9
YQ
110852015-12-01 Yao Qi <yao.qi@linaro.org>
11086
11087 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11088 for aarch64*-*-linux* target.
11089
f2faf941
PA
110902015-11-30 Pedro Alves <palves@redhat.com>
11091
11092 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11093
04bf20c5
PA
110942015-11-30 Pedro Alves <palves@redhat.com>
11095
11096 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11097 Handle non-stop mode vCont replies.
11098
09df4675
PA
110992015-11-30 Pedro Alves <palves@redhat.com>
11100
11101 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11102 prepare_for_testing. Start gdb with "set non-stop on" appended to
11103 GDBFLAGS. Lax expected stop output.
11104
58b584af
YQ
111052015-11-27 Yao Qi <yao.qi@linaro.org>
11106
11107 * gdb.arch/arm-neon.exp: New.
11108 * gdb.arch/arm-neon.c: New.
11109
dfcb77a8
YQ
111102015-11-27 Yao Qi <yao.qi@linaro.org>
11111
11112 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11113
88e8ec1b
YQ
111142015-11-27 Yao Qi <yao.qi@linaro.org>
11115
11116 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11117 frames-invalid annotation.
11118
bfde72c2
YQ
111192015-11-27 Yao Qi <yao.qi@linaro.org>
11120
11121 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11122
f6512a69
SM
111232015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11124
11125 * gdb.threads/names.exp: New file.
11126 * gdb.threads/names.c: New file.
11127 * README: Mention gdb,no_thread_names.
11128
46a3515b
MM
111292015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11130
11131 PR 19297
11132 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11133 support" error.
11134
62147a22
PA
111352015-11-24 Pedro Alves <palves@redhat.com>
11136
11137 PR 17539
11138 * gdb.base/display.exp: Expect displays to be sorted in ascending
11139 order. Use multi_line.
11140 * gdb.base/solib-display.exp: Likewise.
11141
2f341b6e
PA
111422015-11-24 Pedro Alves <palves@redhat.com>
11143
11144 PR 17539
25d49b86
PA
11145 * gdb.base/display.exp: Expect displays to be sorted in ascending
11146 order. Use multi_line.
11147 * gdb.base/solib-display.exp: Likewise.
2f341b6e 11148
7e0aa6aa
PA
111492015-11-24 Pedro Alves <palves@redhat.com>
11150
11151 PR 17539
11152 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11153 threads in ascending order.
11154 * gdb.base/foll-fork.exp: Likewise.
11155 * gdb.base/foll-vfork.exp: Likewise.
11156 * gdb.base/multi-forks.exp: Likewise.
11157 * gdb.mi/mi-nonstop.exp: Likewise.
11158 * gdb.mi/mi-nsintrall.exp: Likewise.
11159 * gdb.multi/base.exp: Likewise.
11160 * gdb.multi/multi-arch.exp: Likewise.
11161 * gdb.python/py-inferior.exp: Likewise.
11162 * gdb.threads/break-while-running.exp: Likewise.
11163 * gdb.threads/execl.exp: Likewise.
11164 * gdb.threads/gcore-thread.exp: Likewise.
11165 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11166 * gdb.threads/kill.exp: Likewise.
11167 * gdb.threads/linux-dp.exp: Likewise.
11168 * gdb.threads/multiple-step-overs.exp: Likewise.
11169 * gdb.threads/next-bp-other-thread.exp: Likewise.
11170 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11171 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11172 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11173 * gdb.threads/thread-find.exp: Likewise.
11174 * gdb.threads/tls.exp: Likewise.
11175 * lib/mi-support.exp (mi_reverse_list): Delete.
11176 (mi_check_thread_states): No longer reverse list.
11177
2cc57ad8
PA
111782015-11-24 Pedro Alves <palves@redhat.com>
11179
11180 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11181 use lowercase.
11182
c93e8391
SM
111832015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11184
11185 * gdb.trace/actions.c: Include trace-common.h.
11186 (main): Add a location for a fast tracepoint.
11187 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11188 the normal tracepoints.
11189 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11190
045ccf91
SM
111912015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11192
11193 * save-trace.exp: Factor out code to these...
11194 (gdb_save_tracepoints): New.
11195 (gdb_load_tracepoints): New.
11196 (do_save_load_test): New.
11197
5506f9f6
KB
111982015-11-23 Kevin Buettner <kevinb@redhat.com>
11199
11200 * gdb.base/asmlabel.exp: New test.
11201 * gdb.base/asmlabel.c: New test case.
11202
16c3b12f
JB
112032015-11-23 Joel Brobecker <brobecker@adacore.com>
11204
11205 * gdb.base/wrong_frame_bt_full-main.c: New file.
11206 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11207 * gdb.base/wrong_frame_bt_full.exp: New file.
11208
155bfbd3
JB
112092015-11-23 Joel Brobecker <brobecker@adacore.com>
11210
11211 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11212
bb097445
JM
112132015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11214
206853a0 11215 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
11216 pstate register when comparing registers values in
11217 sparc64-*-linux-gnu targets to avoid spurious differences.
11218
9c88ed8f
JM
112192015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11220
206853a0 11221 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 11222
96161e25
SL
112232015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11224
11225 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11226 as type argument to gdb_compile.
11227 * gdb.base/nested-subp2.exp: Likewise.
11228 * gdb.base/nested-subp3.exp: Likewise.
11229
340c2830
DV
112302015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11231
11232 * lib/dwarf.exp (_note): Fix left shift of negative value.
11233 * gdb.trace/trace-condition.exp: Likewise.
11234
c1862d0f
YQ
112352015-11-13 Yao Qi <yao.qi@linaro.org>
11236
11237 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11238 comments about d10v.
11239 (test_scalar_returns): Likewise.
11240 * gdb.base/d10v.ld: Remove.
11241 * gdb.base/overlays.exp: Remove the target triplet checking for
11242 d10v-*-*.
11243 * gdb.base/structs.exp (test_struct_returns): Remove the
11244 comments about d10v.
11245 (test_struct_calls): Likewise.
11246
77ae9c19
YQ
112472015-11-13 Yao Qi <yao.qi@linaro.org>
11248
11249 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11250 * gdb.base/gnu_vector.c: Don't include stdio.h.
11251 (main): Don't print res and call add_some_intvecs.
11252
430e004e
MK
112532015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11254
11255 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11256 macro.
11257 (func5): Removed.
11258 (func4): Use FAST_TRACEPOINT_LABEL.
11259 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11260 macro.
11261 (func): Removed.
11262 (thread_function): Use FAST_TRACEPOINT_LABEL.
11263 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11264 (func): Remove.
11265 (marker): Use FAST_TRACEPOINT_LABEL.
11266 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11267 (pendfunc1): Remove.
11268 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11269 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11270 (foo): Remove.
11271 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11272 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11273 macro.
11274 (func): Remove.
11275 (marker): Use FAST_TRACEPOINT_LABEL.
11276 * gdb.trace/trace-common.h: New header.
11277 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11278 macro.
11279 (func): Remove.
11280 (marker): Use FAST_TRACEPOINT_LABEL.
11281 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11282 (func): Remove.
11283 (thread_function): Use FAST_TRACEPOINT_LABEL.
11284
6e7675a7
MK
112852015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11286
11287 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11288 in front.
11289 * gdb.trace/change-loc.exp: Use global pcreg definition.
11290 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11291 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11292 in front.
11293 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11294 * gdb.trace/pending.exp: Likewise.
11295 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11296 * gdb.trace/trace-break.exp: Likewise.
11297 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11298 in front.
11299 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11300 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11301 in front.
11302 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11303
dddc0e16
JB
113042015-11-09 Joel Brobecker <brobecker@adacore.com>
11305
11306 * gdb.ada/fin_fun_out: New testcase.
11307
c6f0b406
KB
113082015-11-07 Kevin Buettner <kevinb@redhat.com>
11309
11310 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11311 value associated with DW_AT_byte_size.
11312 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11313 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11314 DW_AT_upper_bound.
11315
f01dcfd9
KB
113162015-11-07 Kevin Buettner <kevinb@redhat.com>
11317
11318 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11319 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11320 version.
11321 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11322 gdb.dwarf2/dw2-canonicalize-type.exp,
11323 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11324 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11325 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11326 provided by gdb_target_symbol_prefix_flags_asm.
11327 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11328 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11329 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11330 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11331 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11332 macros where needed). Use this macro for symbols which require
11333 the prefix provided by SYMBOL_PREFIX.
11334
2223449a
KB
113352015-11-05 Kevin Buettner <kevinb@redhat.com>
11336
11337 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11338 New procs.
11339 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11340 representing expressions, of more than one list element.
11341 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11342 to prepend linker symbol prefix to f.
11343 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11344 table_1 and table_2.
11345 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11346 Likewise, for f and g.
11347 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11348 for ptr.
11349 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11350 for main.
11351 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11352 table_1_ptr and table_2_ptr.
11353
6f2f1a3a
JK
113542015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11355 Joel Brobecker <brobecker@adacore.com>
11356
11357 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11358
566c56c9
MK
113592015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11360
11361 * gdb.reverse/s390-mvcle.c: New test.
11362 * gdb.reverse/s390-mvcle.exp: New file.
11363 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11364
d5f0636b
MK
113652015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11366
11367 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11368
7ad8b86c
MK
113692015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11370
11371 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11372 reaching marker2.
11373 * gdb.reverse/getresuid-reverse.exp: Likewise.
11374 * gdb.reverse/pipe-reverse.exp: Likewise.
11375 * gdb.reverse/readv-reverse.exp: Likewise.
11376 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11377 * gdb.reverse/time-reverse.exp: Likewise.
11378 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11379
4081c0f1
YQ
113802015-10-30 Yao Qi <yao.qi@linaro.org>
11381
11382 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11383 (empty_cycle): Remove.
11384 (main): Don't call empty_cycle. Don't use watch_count_done.
11385 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11386 empty_cycle. Rewrite the code counting HW watchpoints.
11387
452b4ba5
MK
113882015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11389
11390 * gdb.reverse/fstatat-reverse.c: New test.
11391 * gdb.reverse/fstatat-reverse.exp: New file.
11392 * gdb.reverse/getresuid-reverse.c: New test.
11393 * gdb.reverse/getresuid-reverse.exp: New file.
11394 * gdb.reverse/pipe-reverse.c: New test.
11395 * gdb.reverse/pipe-reverse.exp: New file.
11396 * gdb.reverse/readv-reverse.c: New test.
11397 * gdb.reverse/readv-reverse.exp: New file.
11398 * gdb.reverse/recvmsg-reverse.c: New test.
11399 * gdb.reverse/recvmsg-reverse.exp: New file.
11400 * gdb.reverse/time-reverse.c: New test.
11401 * gdb.reverse/time-reverse.exp: New file.
11402 * gdb.reverse/waitpid-reverse.c: New test.
11403 * gdb.reverse/waitpid-reverse.exp: New file.
11404
5e2e7507
JK
114052015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11406
11407 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11408
0fde2c53
DE
114092015-10-26 Doug Evans <dje@google.com>
11410
11411 PR symtab/17391
11412 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11413 * gdb.dwarf2/bad-regnum.c: New file.
11414 * gdb.dwarf2/bad-regnum.exp: New file.
11415
1a70ae97
DE
114162015-10-26 Doug Evans <dje@google.com>
11417
11418 PR python/18938
11419 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11420 file.
11421
27dc26ab
JK
114222015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11423
11424 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11425 for a change by "Mention language in compile error message".
11426
bed91f4d
SM
114272015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11428
11429 PR python/18073
11430 * gdb.python/py-type.c (C::a_method): New.
11431 (C::a_const_method): New.
11432 (C::a_static_method): New.
11433 (a_function): New.
11434 * gdb.python/py-type.exp (test_fields): Test getting fields
11435 from function and method.
11436
3f2f83dd
KB
114372015-10-21 Keven Boell <keven.boell@intel.com>
11438
11439 * gdb.fortran/vla-alloc-assoc.exp: New file.
11440 * gdb.fortran/vla-datatypes.exp: New file.
11441 * gdb.fortran/vla-datatypes.f90: New file.
11442 * gdb.fortran/vla-history.exp: New file.
11443 * gdb.fortran/vla-ptype-sub.exp: New file.
11444 * gdb.fortran/vla-ptype.exp: New file.
11445 * gdb.fortran/vla-sizeof.exp: New file.
11446 * gdb.fortran/vla-sub.f90: New file.
11447 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11448 * gdb.fortran/vla-value-sub-finish.exp: New file.
11449 * gdb.fortran/vla-value-sub.exp: New file.
11450 * gdb.fortran/vla-value.exp: New file.
11451 * gdb.fortran/vla-ptr-info.exp: New file.
11452 * gdb.mi/mi-vla-fortran.exp: New file.
11453 * gdb.mi/vla.f90: New file.
11454
27145d50
SL
114552015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11456
11457 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11458 of hardwired timeout value.
11459
5f3ff4f8
JK
114602015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11461 Pedro Alves <palves@redhat.com>
11462
11463 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11464 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11465
bfd09d20
JS
114662015-10-19 Josh Stone <jistone@redhat.com>
11467
11468 * gdb.base/catch-syscall.c: Include <sched.h>.
11469 (unknown_syscall): New variable.
11470 (main): Trigger a vfork and an unknown syscall.
11471 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11472 (unknown_syscall_number): Likewise.
11473 (check_call_to_syscall): Accept an optional syscall pattern.
11474 (check_return_from_syscall): Likewise.
11475 (check_continue): Likewise.
11476 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11477 (test_catch_syscall_skipping_return): New test toggling off 'catch
11478 syscall' to step over the syscall return, then toggling back on.
11479 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11480 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11481 (do_syscall_tests): Call test_catch_syscall_without_args and
11482 test_catch_syscall_mid_vfork.
11483 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11484 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11485
b32b93c6
AS
114862015-10-19 Andrew Stubbs <ams@codesourcery.com>
11487
11488 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11489 print g_vE): Add new pass patterns.
11490 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11491 print various symbol names for vptr fields.
11492
9d622bda
AB
114932015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11494
11495 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11496 results.
11497
0fd8ac1c
YQ
114982015-10-12 Yao Qi <yao.qi@linaro.org>
11499
11500 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11501
34240514
YQ
115022015-10-12 Yao Qi <yao.qi@linaro.org>
11503
11504 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11505 is aarch64*-*-linux*.
11506
8240f442
YQ
115072015-10-12 Yao Qi <yao.qi@linaro.org>
11508
11509 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11510 (can_relocate_bcond_true): ... it.
11511 (can_relocate_bcond_false): New function.
11512 (foo): Likewise.
11513 (can_relocate_bl): Likewise.
11514 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11515 can_relocate_bl.
11516
2520f728
PMR
115172015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11518
11519 * gdb.base/nested-addr.c: New file.
11520 * gdb.base/nested-addr.exp: New testcase.
11521
abcef95a
MM
115222015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11523
11524 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11525 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11526 its output. Ignore the output of "record goto begin" and instead
11527 check that GDB is replaying.
11528
145e3ddb
PA
115292015-10-09 Pedro Alves <palves@redhat.com>
11530
11531 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11532 (top level): Use it in the run with no args test.
11533
d5d8c4e1
IB
115342015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11535
11536 * gdb.dlang/properties.exp: New file.
11537
06e635ef
SL
115382015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11539
11540 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11541 whether or not address 0x1000 is mapped on the target.
11542
e019fd1d
SM
115432015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11544
11545 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11546 build.
11547
77ba2a67
MM
115482015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11549
11550 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11551 instruction-history test.
11552
c60eb31f
DE
115532015-09-28 Doug Evans <dje@google.com>
11554
11555 * gdb.base/gcore.c (array_func): Add reference to static_array.
11556
9a3c8263
SM
115572015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11558
11559 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11560 source line.
11561
9720e656
SL
115622015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11563
11564 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11565 short or char as base type.
11566
938d3bf2
SL
115672015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11568
11569 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11570 to allow any size enum.
11571
e6c2c623
PMR
115722015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11573
11574 * gdb.ada/array_ptr_renaming.exp: New testcase.
11575 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11576 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11577
06da0f77
PL
115782015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11579
11580 * gdb.trace/ftrace-lock.c: New file.
11581 * gdb.trace/ftrace-lock.exp: New file.
11582
4f51c22a
PL
115832015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11584
11585 * gdb.arch/insn-reloc.c: New file.
11586 * gdb.arch/ftrace-insn-reloc.exp: New file.
11587
7041adf4
PL
115882015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11589
11590 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11591 instruction.
11592 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11593 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11594 * gdb.trace/range-stepping.c: Likewise.
11595 * gdb.trace/trace-break.c: Likewise.
11596 * gdb.trace/trace-mt.c (thread_function): Likewise.
11597 * gdb.trace/ftrace.c (marker): Likewise.
11598 * gdb.trace/trace-condition.c (marker): Likewise.
11599 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11600 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11601 is_aarch64_target.
11602
015d2e7e
DE
116032015-09-18 Doug Evans <xdje42@gmail.com>
11604
11605 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11606 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11607
26b188a2
SL
116082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11609
11610 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11611 the breakpoint.
11612
79dc332b
SL
116132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11614
11615 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11616 the pending breakpoint. Remove timeout override for "Run till
11617 MI pending breakpoint on pendfunc3 on thread 2" test.
11618
f57929f2
SL
116192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11620
11621 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11622 filename pattern.
11623
3f469b17
SL
116242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11625
11626 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11627 in breakpoint filename pattern.
11628
515b89b3
SL
116292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11630
7800dbe4
SL
11631 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11632
116332015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11634
515b89b3
SL
11635 * gdb.linespec/explicit.exp: Check for readline support for
11636 tab-completion tests. Fix obvious typo.
11637
d2939ba2
MM
116382015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11639
11640 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11641 and replay.
11642
cbb55fa7
MM
116432015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11644
11645 * gdb.btrace/non-stop.c: New.
11646 * gdb.btrace/non-stop.exp: New.
11647
43691ca1
PL
116482015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11649 Yao Qi <yao.qi@linaro.org>
11650
11651 * gdb.trace/trace-condition.c: New file.
11652 * gdb.trace/trace-condition.exp: New file.
11653
d78908cf
WW
116542015-09-16 Wei-cheng Wang <cole945@gmail.com>
11655
11656 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11657 for testing bytecode compilation.
11658
1ed415e2
PA
116592015-09-16 Pedro Alves <palves@redhat.com>
11660 Sandra Loosemore <sandra@codesourcery.com>
11661
11662 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11663 (SECONDS): Redefine.
11664 (main): Call pthread_kill and alarm early.
11665 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11666 support.
11667 (test): If the target can't hardware step and doesn't support
11668 displaced stepping, increase the timeout.
11669
d136eff5
PA
116702015-09-16 Pedro Alves <palves@redhat.com>
11671
11672 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11673 (enable_debug): New procedures.
11674 (test): Use them. Bail out if waiting for threads fails.
11675 (top level): Bail out if a test fails.
11676
991f019c
YQ
116772015-09-16 Yao Qi <yao.qi@linaro.org>
11678
11679 * gdb.asm/asm-source.exp: Set asm-arch for
11680 aarch64*-*-* target.
11681 * gdb.asm/aarch64.inc: New file.
11682
bfca584f
PMR
116832015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11684
11685 * gdb.ada/array_of_variable_length.exp: New testcase.
11686 * gdb.ada/array_of_variable_length/foo.adb: New file.
11687 * gdb.ada/array_of_variable_length/pck.adb: New file.
11688 * gdb.ada/array_of_variable_length/pck.ads: New file.
11689
b326e587
DE
116902015-09-15 Doug Evans <dje@google.com>
11691
11692 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11693 of function static local variable.
11694
5382cfab
PW
116952015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11696
11697 * gdb.threads/tls-so_extern.exp: New test file.
11698 * gdb.threads/tls-so_extern.c: New test file.
11699 * gdb.threads/tls-so_extern_main.c: New test file.
11700
141c5cc4
JK
117012015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11702
11703 * gdb.opt/solib-intra-step-lib.c: New file.
11704 * gdb.opt/solib-intra-step-main.c: New file.
11705 * gdb.opt/solib-intra-step.exp: New file.
11706
d15dcecd
PA
117072015-09-15 Pedro Alves <palves@redhat.com>
11708
11709 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11710 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11711
4c2f2a79
PA
117122015-09-14 Pedro Alves <palves@redhat.com>
11713
11714 * gdb.base/hook-stop-continue.c: Delete.
11715 * gdb.base/hook-stop-continue.exp: Delete.
11716 * gdb.base/hook-stop-frame.c: Delete.
11717 * gdb.base/hook-stop-frame.exp: Delete.
11718 * gdb.base/hook-stop.c: New file.
11719 * gdb.base/hook-stop.exp: New file.
11720
919e6dbe
PMR
117212015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11722
11723 * gdb.ada/access_to_packed_array.exp: New testcase.
11724 * gdb.ada/access_to_packed_array/foo.adb: New file.
11725 * gdb.ada/access_to_packed_array/pack.adb: New file.
11726 * gdb.ada/access_to_packed_array/pack.ads: New file.
11727
157280a4
MM
117282015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11729
11730 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11731 buffer size test.
11732
2fd33e94
DB
117332015-09-11 Don Breazeal <donb@codesourcery.com>
11734
11735 * gdb.base/foll-exec.c: Add copyright header. Fix
11736 formatting issues.
11737 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11738 (do_exec_tests): Use clean_restart in place of zap_session,
11739 and for test initialization. Fix formatting issues. Use
11740 fail in place of perror.
11741 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11742 an expect statement to match an expression with output from
11743 the program under debug.
11744 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11745 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11746 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11747 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11748 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11749
e70b6e8e
DE
117502015-09-09 Doug Evans <dje@google.com>
11751
11752 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11753
7a551a51
DE
117542015-09-09 Doug Evans <dje@google.com>
11755
11756 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11757
4c666f84
DE
117582015-09-09 Doug Evans <dje@google.com>
11759
11760 * gdb.base/savedregs.exp: Fix typo.
11761
243a9253
PA
117622015-09-09 Pedro Alves <palves@redhat.com>
11763
11764 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11765
c0fa8fbd
SL
117662015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11767
11768 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11769 command actually switches threads. Give up on remaining
11770 tests if target fails to stop at breakpoint.
11771
cd7c1778
PMR
117722015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11773
11774 * gdb.ada/funcall_char.exp: New testcase.
11775 * gdb.ada/funcall_char/foo.adb: New file.
11776
dc5c8746
PMR
117772015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11778
11779 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11780 expected outputs. Add two testcases for completing ambiguous
11781 functions.
11782 * gdb.ada/complete/aux_pck.adb: New file.
11783 * gdb.ada/complete/aux_pck.ads: New file.
11784 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11785 Ambiguous_Func functions.
11786 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11787 * gdb.ada/complete/pck.adb: Likewise.
11788
4e83a1e7
UW
117892015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11790
11791 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11792 failures to run the test program under GDB.
11793
8ce74153
LM
117942015-08-26 Luis Machado <lgustavo@codesourcery.com>
11795
11796 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11797 to C.
11798
e9756d52
PP
117992015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11800
11801 * gdb.base/run-after-attach.exp: New test file.
11802 * gdb.base/run-after-attach.c: New test file.
11803
8d37573b
DB
118042015-08-26 Don Breazeal <donb@codesourcery.com>
11805
11806 * gdb.base/foll-exec-2.c: New test program.
11807 * gdb.base/foll-exec-2.exp: New test.
11808
63e43d3a
PMR
118092015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11810
11811 * gdb.base/nested-subp1.exp: New file.
11812 * gdb.base/nested-subp1.c: New file.
11813 * gdb.base/nested-subp2.exp: New file.
11814 * gdb.base/nested-subp2.c: New file.
11815 * gdb.base/nested-subp3.exp: New file.
11816 * gdb.base/nested-subp3.c: New file.
11817
3d40fbb5
PA
118182015-08-24 Pedro Alves <palves@redhat.com>
11819
11820 * gdb.server/connect-without-multi-process.c: New file.
11821 * gdb.server/connect-without-multi-process.exp: New file.
11822
4422ac93
LM
118232015-08-24 Luis Machado <lgustavo@codesourcery.com>
11824
11825 * gdb.opt/inline-markers.c: Make z int.
11826
91dddb86
LM
118272015-08-24 Luis Machado <lgustavo@codesourcery.com>
11828
11829 * gdb.opt/inline-markers.c: Make z volatile.
11830
a48847ee
LM
118312015-08-24 Luis Machado <lgustavo@codesourcery.com>
11832
11833 * gdb.opt/inline-bt.c: New volatile global z.
11834 * gdb.opt/inline-cmds.c: Likewise.
11835 * gdb.opt/inline-locals.c: Likewise.
11836 * gdb.opt/inline-markers.c: New extern global z.
11837 (marker): Use z.
11838 (inline_fn): Likewise.
11839
0ebbc52b
PA
118402015-08-24 Pedro Alves <palves@redhat.com>
11841
11842 * config/m32r-stub.exp: Remove file.
11843 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11844 * gdb.base/call-rt-st.exp: Likewise.
11845 * gdb.base/call-strs.exp: Likewise.
11846 * gdb.base/default.exp: Remove references to h8300-*-hms and
11847 *-*-udi*.
11848 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11849
77c365df
AA
118502015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11851
11852 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11853 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11854 and "return" use KFAIL when GDB can not read/write the vector
11855 return value.
11856
4313b8c0
GB
118572015-08-21 Gary Benson <gbenson@redhat.com>
11858
11859 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11860
0e433b32
PA
118612015-08-20 Pedro Alves <palves@redhat.com>
11862
11863 * gdb.server/solib-list.exp: No longer expect an interior stop in
11864 non-stop mode.
11865
221e1a37
PA
118662015-08-20 Pedro Alves <palves@redhat.com>
11867
11868 * gdb.server/connect-stopped-target.c: New file.
11869 * gdb.server/connect-stopped-target.exp: New file.
11870
40e3ad0e
PA
118712015-08-20 Pedro Alves <palves@redhat.com>
11872
11873 * gdb.dwarf2/comp-unit-lang.exp: New file.
11874 * gdb.dwarf2/comp-unit-lang.c: New file.
11875
af39b327
PMR
118762015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11877
11878 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11879 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11880
7d45c7c3 118812015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 11882
7d45c7c3
KB
11883 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11884 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11885
4d6cceb4
DE
118862015-08-18 Doug Evans <dje@google.com>
11887 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11888
11889 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11890 skip_python_tests. New arg prompt_regexp.
11891 (skip_python_tests): New function.
11892 * lib/mi-support.exp (mi_skip_python_tests): New function.
11893 * gdb.python/py-mi-objfile-gdb.py: New file.
11894 * gdb.python/py-mi-objfile.c: New file.
11895 * gdb.python/py-mi-objfile.exp: New file.
11896
ad89c2aa
KS
118972015-08-17 Keith Seitz <keiths@redhat.com>
11898
11899 * gdb.linespec/explicit.exp: Move strace test from here ...
11900 * gdb.trace/strace.exp: ... to here.
11901
e3ae3c43
PP
119022015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11903
11904 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11905 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11906
604b2636
DE
119072015-08-14 Doug Evans <xdje42@gmail.com>
11908
11909 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11910 inferior before selecting a new file.
11911
6ff0ba5f
DE
119122015-08-14 Doug Evans <xdje42@gmail.com>
11913
11914 * gdb.mi/mi-disassemble.exp: Update.
11915 * gdb.base/disasm-optim.S: New file.
11916 * gdb.base/disasm-optim.c: New file.
11917 * gdb.base/disasm-optim.h: New file.
11918 * gdb.base/disasm-optim.exp: New file.
11919
9ca98f92
KS
119202015-08-14 Keith Seitz <keiths@redhat.com>
11921
11922 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11923 "evaluated-by".
11924
52bbc560
JB
119252015-08-13 Joel Brobecker <brobecker@adacore.com>
11926
11927 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11928
5d8c3ed3
PMR
119292015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11930
11931 * gdb.ada/fun_renaming.exp: New testcase.
11932 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11933 * gdb.ada/fun_renaming/pack.adb: New file.
11934 * gdb.ada/fun_renaming/pack.ads: New file.
11935
ea8812bc
KS
119362015-08-12 Keith Seitz <keiths@redhat.com>
11937
11938 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11939 gdb_get_line_number.
11940
4dafcdeb
JB
119412015-08-12 Joel Brobecker <brobecker@adacore.com>
11942
11943 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11944 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11945 gdb.base/dso2dso.exp: New files.
11946
5ba32597
SDJ
119472015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11948 Pedro Alves <palves@redhat.com>
11949 Keith Seitz <keiths@redhat.com>
11950
11951 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11952 GDBFLAGS.
11953
b6dafabf
PP
119542015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11955
11956 * gdb.base/gdbhistsize-history.exp
11957 (test_histsize_history_setting): Use save_vars.
11958 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11959 Use save_vars.
11960 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11961 * gdb.base/readline.exp: Use save_vars.
11962
abe8e607
PP
119632015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11964
11965 * lib/gdb.exp (save_vars): New proc.
11966
629500fa
KS
119672015-08-11 Keith Seitz <keiths@redhat.com>
11968
11969 * gdb.base/help.exp: Update help_breakpoint_text.
11970
eb8c4e2e
KS
119712015-08-11 Keith Seitz <keiths@redhat.com>
11972
11973 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11974 (at toplevel): Call test_explicit_breakpoints.
11975 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11976 breakpoints.
11977 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11978 breakpoint conditions, "-cond".
11979
87f0e720
KS
119802015-08-11 Keith Seitz <keiths@redhat.com>
11981
11982 * gdb.linespec/3explicit.c: New file.
11983 * gdb.linespec/cpexplicit.cc: New file.
11984 * gdb.linespec/cpexplicit.exp: New file.
11985 * gdb.linespec/explicit.c: New file.
11986 * gdb.linespec/explicit.exp: New file.
11987 * gdb.linespec/explicit2.c: New file.
11988 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11989 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11990 before using in the matching pattern.
11991 Clarify that `prefix' is a regular expression.
11992
f00aae0f
KS
119932015-08-11 Keith Seitz <keiths@redhat.com>
11994
11995 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11996 test.
11997 Add tests for missing ",FMT" and ",".
11998
e27852be
DE
119992015-08-10 Doug Evans <dje@google.com>
12000 Keith Seitz <keiths@redhat.com>
12001
12002 PR gdb/17960
12003 * gdb.base/completion.exp: Add location completer tests.
12004
7f03bd92
PA
120052015-08-07 Pedro Alves <palves@redhat.com>
12006
12007 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12008 tests here.
12009 (top level): Run do_test with and without displaced stepping.
12010
3fc8eb30
PA
120112015-08-07 Pedro Alves <palves@redhat.com>
12012
12013 * gdb.base/valgrind-disp-step.c: New file.
12014 * gdb.base/valgrind-disp-step.exp: New file.
12015
d4569d7b
PA
120162015-08-07 Pedro Alves <palves@redhat.com>
12017
12018 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12019 Delete function.
12020 (main): Add alarm. Run an infinite loop instead of calling
12021 wait_threads.
12022 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12023 comment.
12024 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12025 Delete function.
12026 (main): Add alarm. Run an infinite loop instead of calling
12027 wait_threads.
12028 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12029 comment.
12030
e1316e60
PA
120312015-08-07 Pedro Alves <palves@redhat.com>
12032
12033 * gdb.base/checkpoint-ns.exp: New file.
12034 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12035 standard_testfile.
12036
da8c46d2
MM
120372015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12038
12039 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12040 * gdb.btrace/instruction_history.exp: Update.
12041 * gdb.btrace/tsx.exp: New.
12042 * gdb.btrace/tsx.c: New.
12043
de1c2c52
PA
120442015-08-06 Pedro Alves <palves@redhat.com>
12045
12046 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12047 increase timeout.
12048 * gdb.reverse/until-precsave.exp: Bump timeouts.
12049
782e0bf4
PA
120502015-08-06 Pedro Alves <palves@redhat.com>
12051
12052 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12053
83e97ed0
PA
120542015-08-06 Pedro Alves <palves@redhat.com>
12055
12056 PR gdb/18749
12057 * gdb.threads/process-dies-while-handling-bp.c: New file.
12058 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12059
863d01bd
PA
120602015-08-06 Pedro Alves <palves@redhat.com>
12061
12062 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12063 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12064
0a39bb32
PA
120652015-08-05 Pedro Alves <palves@redhat.com>
12066
12067 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12068 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12069
ee2d2b10
SL
120702015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12071
12072 * gdb.base/bp-permanent.exp: Report test as unsupported if
12073 the target cannot stop at the permanent breakpoint.
12074
4e1bdb00
DE
120752015-08-03 Doug Evans <dje@google.com>
12076
12077 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12078 10000.
12079
3d338901
DE
120802015-08-03 Doug Evans <dje@google.com>
12081
12082 * Makefile.in (workers/%.worker, build-perf): New rule.
12083 (GDB_PERFTEST_MODE): New variable.
12084 (check-perf): Use it.
12085 (clean): Clean up gdb.perf parallel build subdirs.
12086 * lib/build-piece.exp: New file.
12087 * lib/gdb.exp (make_gdb_parallel_path): New function
12088 (standard_output_file, standard_temp_file): Call it.
12089 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12090 of $GDB_PARALLEL.
12091 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12092
af061d3e
DE
120932015-08-03 Doug Evans <dje@google.com>
12094
8e1afc81 12095 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
12096 (LOG_FILE_NAME): New global.
12097 (TextReporter.__init__): Initialize self.txt_sum.
12098 (TextReporter.report): Add support for multiple data-points.
12099 Move report to perftest.sum, put raw data in perftest.log.
12100 (TextReporter.start): Open sum and log files.
12101 (TextReporter.end): Close sum and log files.
8e1afc81
DE
12102 * gdb.perf/lib/perftest/testresult.py
12103 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 12104
2c8c5d37
PA
121052015-07-31 Pedro Alves <palves@redhat.com>
12106
12107 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12108 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12109 kill_wait_spawned_process instead of explicit "kill -9".
12110 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12111 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12112 kill_wait_spawned_process.
12113 * gdb.base/attach-twice.exp: Likewise.
12114 * gdb.base/attach.exp: Likewise.
12115 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12116 gdb_test_multiple.
12117 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12118 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12119 kill_wait_spawned_process.
12120 * gdb.base/valgrind-infcall.exp: Likewise.
12121 * gdb.multi/multi-attach.exp: Likewise.
12122 * gdb.python/py-prompt.exp: Likewise.
12123 * gdb.python/py-sync-interp.exp: Likewise.
12124 * gdb.server/ext-attach.exp: Likewise.
12125 * gdb.threads/attach-into-signal.exp (corefunc): Use
12126 spawn_wait_for_attach, spawn_id_get_pid and
12127 kill_wait_spawned_process.
12128 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12129 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12130 spawn_id_get_pid and kill_wait_spawned_process.
12131 * gdb.threads/attach-stopped.exp (corefunc): Use
12132 spawn_wait_for_attach, spawn_id_get_pid and
12133 kill_wait_spawned_process.
12134 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12135 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12136 kill_wait_spawned_process instead of explicit "kill -9".
12137 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12138 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12139 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12140 processes. Don't map cygwin/windows pids here. Now returns a
12141 spawn id list.
12142
032a0fca
SL
121432015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12144
12145 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12146 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12147 correct patch.
12148
61a934ca
SL
121492015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12150
12151 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12152
4bc4d428
SL
121532015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12154
12155 Reapply:
12156 2014-05-21 Mark Wielaard <mjw@redhat.com>
12157
12158 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12159
998d452a
PA
121602015-07-30 Pedro Alves <palves@redhat.com>
12161
12162 * linux-low.c (handle_extended_wait): Set the child's last
12163 reported status to TARGET_WAITKIND_STOPPED.
12164
69dde7dc
PA
121652015-07-30 Pedro Alves <palves@redhat.com>
12166
12167 PR threads/18600
12168 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12169 only shows inferior 1.
12170
4dd63d48
PA
121712015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12172 Pedro Alves <palves@redhat.com>
12173
12174 PR threads/18600
12175 * gdb.threads/fork-plus-threads.c: New file.
12176 * gdb.threads/fork-plus-threads.exp: New file.
12177
d618e4c5
PP
121782015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12179
12180 * gdb.base/batch-preserve-term-settings.exp
12181 (test_terminal_settings_preserved_after_cli_exit): Use
12182 send_quit_command.
12183
1eef6428
PA
121842015-07-29 Pedro Alves <palves@redhat.com>
12185 Don Breazeal <donb@codesourcery.com>
12186
12187 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12188 output from both inferior_spawn_id and gdb_spawn_id.
12189
7da5b897
SDJ
121902015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12191
12192 * gdb.threads/attach-into-signal.exp (corefunc): Use
12193 with_test_prefix on nested loops, uniquefying the test messages.
12194
dac804df
SDJ
121952015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12196
12197 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12198 commit.
12199
06265e53
PP
122002015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12201
12202 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12203 New proc.
12204 (test_terminal_settings_preserved_after_sigterm): New test.
12205
18206ca3
PP
122062015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12207
12208 * gdb.base/batch-preserve-term-settings.exp
12209 (test_terminal_settings_preserved_after_cli_exit): New test.
12210
90074d11
PP
122112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12212
12213 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12214 manipulation of saved_gdbflags.
12215 (test_terminal_settings_preserved): Remove global declaration of
12216 the unused variable pagination_prompt. Remove manipulation of
12217 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12218 GDBFLAGS.
12219
eb1a7902
PA
122202015-07-29 Pedro Alves <palves@redhat.com>
12221
12222 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12223
8b75dd3b
PA
122242015-07-29 Pedro Alves <palves@redhat.com>
12225
12226 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12227 at the top.
12228
dedad4e3
PA
122292015-07-29 Pedro Alves <palves@redhat.com>
12230
12231 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12232 (main): Call gdb_unbuffer_output.
12233 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12234 (main): Call gdb_unbuffer_output.
12235 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12236 (main): Call gdb_unbuffer_output.
12237 * gdb.base/call-strs.exp: Adjust to step over the
12238 gdb_unbuffer_output call.
12239 * gdb.base/catch-gdb-caused-signals.c: Include
12240 "../lib/unbuffer_output.c".
12241 (main): Call gdb_unbuffer_output.
12242 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12243 (main): Call gdb_unbuffer_output.
12244 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12245 (main): Call gdb_unbuffer_output.
12246 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12247 (main): Call gdb_unbuffer_output.
12248 * gdb.base/shlib-call.exp: Adjust to step over the
12249 gdb_unbuffer_output call.
12250 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12251 (main): Call gdb_unbuffer_output.
12252 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12253 (main): Call gdb_unbuffer_output.
12254 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12255 (main): Rename to ...
12256 (test): ... this.
12257 (main): Reimplement.
12258 * gdb.base/varargs.exp: Run to test instead of to main.
12259 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12260 (main): Call gdb_unbuffer_output.
12261
58789a91
PA
122622015-07-29 Pedro Alves <palves@redhat.com>
12263
12264 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12265 factore out from mi_continue_dprintf. For call-style dprintfs,
12266 expect dprintf output out of $inferior_spawn_id.
12267 (mi_continue_dprintf): Use mi_expect_dprintf.
12268 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12269 (main): Call gdb_unbuffer_output.
12270
e8376742
PA
122712015-07-29 Pedro Alves <palves@redhat.com>
12272
12273 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12274 (default_mi_gdb_start): Set inferior_spawn_id instead of
12275 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12276 gdb_spawn_id.
12277 (mi_gdb_test): Always expect inferior output from both
12278 $inferior_spawn_id and $gdb_spawn_id.
12279
08280010
PA
122802015-07-29 Pedro Alves <palves@redhat.com>
12281
12282 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12283 send_inferior and $inferior_spawn_id.
12284
4d30e432
PA
122852015-07-29 Pedro Alves <palves@redhat.com>
12286
12287 * gdb.gdb/complaints.exp (test_initial_complaints)
12288 (test_serial_complaints, test_short_complaints): Use
12289 gdb_test_stdio.
12290 (test_empty_complaint): Handle $inferior_spawn_id !=
12291 $gdb_spawn_id.
12292
0d30a335
PA
122932015-07-29 Pedro Alves <palves@redhat.com>
12294
12295 * gdb.base/varargs.exp: Use gdb_test_stdio.
12296
39413b29
PA
122972015-07-29 Pedro Alves <palves@redhat.com>
12298
12299 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12300
7cb000a9
PA
123012015-07-29 Pedro Alves <palves@redhat.com>
12302
12303 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12304
d7b8ac82
PA
123052015-07-29 Pedro Alves <palves@redhat.com>
12306
12307 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12308 parameter into two new parameters, "inf_result" and "gdb_result".
12309 Expect inferior output and gdb output from $inferior_spawn_id and
12310 $gdb_spawn_id, respectively. Adjust all callers.
12311
789c3a0c
PA
123122015-07-29 Pedro Alves <palves@redhat.com>
12313
12314 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12315 of gdb_test_sequence.
12316
77e760c3
PA
123172015-07-29 Pedro Alves <palves@redhat.com>
12318
12319 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12320 (saw_spurious_output): Expect inferior output from
12321 $inferior_spawn_id. Use gdb_test_stdio.
12322
8396d2cd
PA
123232015-07-29 Pedro Alves <palves@redhat.com>
12324
12325 * gdb.base/dprintf.exp: Use standard_testfile. Change
12326 prepare_for_testing call.
12327 (srcfile): Don't set.
12328 (restart): New procedure.
12329 (test_dprintf): New procecure, use to continue over dprintfs.
12330 (test_call, test_agent): New procedures, tests moved here.
12331 Restart gdb and recreate dprintfs. Adjust expected output.
12332
2051d61f
PA
123332015-07-29 Pedro Alves <palves@redhat.com>
12334
12335 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12336
452397af
PA
123372015-07-29 Pedro Alves <palves@redhat.com>
12338
12339 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12340
8aed9555
PA
123412015-07-29 Pedro Alves <palves@redhat.com>
12342
12343 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12344 gdb_test_stdio.
12345
188a61b4
PA
123462015-07-29 Pedro Alves <palves@redhat.com>
12347
12348 * lib/gdb.exp (gdb_test_stdio): New procedure.
12349
12264a45
PA
123502015-07-29 Pedro Alves <palves@redhat.com>
12351
12352 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12353
23ffc893
PA
123542015-07-29 Pedro Alves <palves@redhat.com>
12355
12356 * gdb.base/call-signal-resume.exp: Remove check for
12357 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12358 * gdb.base/unwindonsignal.exp: Likewise.
12359 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12360 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12361
65566918
PA
123622015-07-29 Pedro Alves <palves@redhat.com>
12363
12364 * gdb.base/siginfo-addr.c (pass): New function.
12365 (handler): Call it iff si_addr is correct.
12366 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12367 Set a breakpoint at "pass" and continue to it.
12368
d60a9221
SDJ
123692015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12370
12371 * gdb.python/py-objfile.exp: Make some tests have unique names.
12372 * gdb.python/py-pp-registration.exp: Likewise.
12373
bde40b8f
PA
123742015-07-28 Pedro Alves <palves@redhat.com>
12375
12376 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12377
13e1dec8
SM
123782015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12379
12380 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12381
da33c9a7
SM
123822015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12383
12384 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12385
077836f7
PP
123862015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12387
12388 * gdb.base/gdb-sigterm-2.exp: New test.
12389
b8cc7b2e
DE
123902015-07-25 Doug Evans <xdje42@gmail.com>
12391
12392 Revert:
12393 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12394 (workers/%.worker, build-perf): New rule.
12395 (GDB_PERFTEST_MODE): New variable.
12396 (check-perf): Use it.
12397 (clean): Clean up gdb.perf parallel build subdirs.
12398 * lib/build-piece.exp: New file.
12399 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12400 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12401 name.
12402 (standard_temp_file): Ditto.
12403 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12404 of $GDB_PARALLEL.
12405
c8bd4544
DE
124062015-07-24 Doug Evans <dje@google.com>
12407
12408 * gdb.perf/lib/perftest/utils.py: New file.
12409 * gdb.perf/gm-hello.cc: New file.
12410 * gdb.perf/gm-pervasive-typedef.cc: New file.
12411 * gdb.perf/gm-pervasive-typedef.h: New file.
12412 * gdb.perf/gm-std.cc: New file.
12413 * gdb.perf/gm-std.h: New file.
12414 * gdb.perf/gm-use-cerr.cc: New file.
12415 * gdb.perf/gm-utils.h: New file.
12416 * gdb.perf/gmonster-null-lookup.py: New file.
12417 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12418 * gdb.perf/gmonster-print-cerr.py: New file.
12419 * gdb.perf/gmonster-ptype-string.py: New file.
12420 * gdb.perf/gmonster-runto-main.py: New file.
12421 * gdb.perf/gmonster-select-file.py: New file.
12422 * gdb.perf/gmonster1-null-lookup.exp: New file.
12423 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12424 * gdb.perf/gmonster1-print-cerr.exp: New file.
12425 * gdb.perf/gmonster1-ptype-string.exp: New file.
12426 * gdb.perf/gmonster1-runto-main.exp: New file.
12427 * gdb.perf/gmonster1-select-file.exp: New file.
12428 * gdb.perf/gmonster1.cc: New file.
12429 * gdb.perf/gmonster1.exp: New file.
12430 * gdb.perf/gmonster2-null-lookup.exp: New file.
12431 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12432 * gdb.perf/gmonster2-print-cerr.exp: New file.
12433 * gdb.perf/gmonster2-ptype-string.exp: New file.
12434 * gdb.perf/gmonster2-runto-main.exp: New file.
12435 * gdb.perf/gmonster2-select-file.exp: New file.
12436 * gdb.perf/gmonster2.cc: New file.
12437 * gdb.perf/gmonster2.exp: New file.
12438
6eab34f3
DE
124392015-07-24 Doug Evans <dje@google.com>
12440
12441 * gdb.perf/README: New file.
12442 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12443 * lib/gen-perf-test.exp: New file.
12444
63738bfd
DE
124452015-07-24 Doug Evans <dje@google.com>
12446
12447 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12448 (PerfTest::startup): New function.
12449 (PerfTest::run): Return result of calling body.
12450 (PerfTest::assemble): Rewrite.
12451 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12452 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12453 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12454 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12455 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12456
7b606f95
DE
124572015-07-24 Doug Evans <dje@google.com>
12458
12459 * lib/gdb.exp (clean_restart): Make executable optional.
12460
a97b16b8
DE
124612015-07-24 Doug Evans <dje@google.com>
12462
12463 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12464 compiler_info references.
12465 * gdb.cp/temargs.exp: Ditto.
12466 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12467 (get_compiler_info): Early exit if already computed. Set compiler_info
12468 to "unknown" if there was a problem.
12469 (test_compiler_info): Add function comment. Call get_compiler_info.
12470
35baa57f
DE
124712015-07-24 Doug Evans <dje@google.com>
12472
12473 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12474 (workers/%.worker, build-perf): New rule.
12475 (GDB_PERFTEST_MODE): New variable.
12476 (check-perf): Use it.
12477 (clean): Clean up gdb.perf parallel build subdirs.
12478 * lib/build-piece.exp: New file.
12479 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12480 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12481 name.
12482 (standard_temp_file): Ditto.
12483 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12484 of $GDB_PARALLEL.
12485
6ebea266
DE
124862015-07-24 Doug Evans <dje@google.com>
12487
12488 * lib/future.exp (gdb_default_target_compile): New option
12489 "early_flags".
12490 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12491 --as-needed.
12492
1e76a7e9
SDJ
124932015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12494
12495 * gdb.base/catch-syscall.exp: Call gdb_exit before
12496 gdb_skip_xml_test.
12497
5068630a
PA
124982015-07-24 Pedro Alves <palves@redhat.com>
12499
12500 * gdb.python/py-events.exp: Accept output between the stop event
12501 and the prompt.
12502 * gdb.python/py-evsignal.exp: Likewise.
12503 * gdb.python/py-evthreads.exp: Likewise.
12504
77598427
PA
125052015-07-24 Pedro Alves <palves@redhat.com>
12506
12507 PR gdb/18717
12508 * gdb.threads/non-ldr-exit.c: New file.
12509 * gdb.threads/non-ldr-exit.exp: New file.
12510
11e6c98f
YQ
125112015-07-24 Yao Qi <yao.qi@linaro.org>
12512
12513 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12514 restarting process.
12515
51aee833
YQ
125162015-07-24 Yao Qi <yao.qi@linaro.org>
12517
12518 * gdb.server/ext-restart.exp: New file.
12519
8cfe207c
YQ
125202015-07-24 Yao Qi <yao.qi@linaro.org>
12521
12522 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12523 argument options.
12524 * gdb.server/ext-wrapper.exp: New file.
12525
cc12ce38
DE
125262015-07-23 Doug Evans <dje@google.com>
12527
12528 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12529 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12530
d0d84780
PMR
125312015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12532
12533 * gdb.ada/var_arr_typedef.exp: New testcase.
12534 * gdb.ada/var_arr_typedef/pack.adb: New file.
12535 * gdb.ada/var_arr_typedef/pack.ads: New file.
12536 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12537
8b558f79
JB
125382015-07-20 Joel Brobecker <brobecker@adacore.com>
12539
12540 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12541
775a3298
JK
125422015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12543
12544 * gdb.arch/i386-biarch-core.exp: Replace istarget
12545 by "complete set gnutarget". Remove expectation for the "core-file"
12546 command.
12547
db1ff28b
JK
125482015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12549
12550 Revert the previous commit:
12551 Tests for validate symbol file using build-id.
12552
0a94970d
JK
125532015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12554
12555 Tests for validate symbol file using build-id.
12556 * gdb.base/solib-mismatch-lib.c: New file.
12557 * gdb.base/solib-mismatch-libmod.c: New file.
12558 * gdb.base/solib-mismatch.c: New file.
12559 * gdb.base/solib-mismatch.exp: New file.
12560
03346981
SL
125612015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12562
12563 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12564 nios2-*-linux*.
12565 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12566 * gdb.base/siginfo.exp: Likewise.
12567 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12568
42422cc7
PL
125692015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12570
12571 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12572 Move it to ...
12573 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12574 ... here.
12575 * gdb.trace/range-stepping.exp: Check that the target supports
12576 range stepping.
12577
cfa68bae
JK
125782015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12579
12580 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12581
8ffdba26
PA
125822015-07-14 Pedro Alves <palves@redhat.com>
12583
12584 * gdb.base/killed-outside.exp: New file.
12585 * gdb.base/killed-outside.c: New file.
12586
218a5a11
JK
125872015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12588
12589 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12590 (n at main): New.
12591 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12592
e03ed3c6
AA
125932015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12594
12595 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12596 infcall tests instead of setting up for KFAIL.
12597
485668e5
MM
125982015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12599
12600 * gdb.btrace/record_goto-step.exp: New.
12601
08464196
JK
126022015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12603
12604 PR compile/18484
12605 * gdb.compile/compile.c (struct struct_type): Add volatile to
12606 selffield's type.
12607 * gdb.compile/compile.exp
12608 (compile code struct_object.selffield = &struct_object): Skip further
12609 struct_object tests if this one xfails.
12610
bcf5c1d9
RC
126112015-07-08 Robert O'Callahan <robert@ocallahan.org>
12612
12613 PR exp/18617
12614 * gdb.trace/ax.exp: Add test.
12615
4931af25
YQ
126162015-07-07 Yao Qi <yao.qi@linaro.org>
12617
12618 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12619 instead of istarget "aarch64*-*-*".
12620 * gdb.arch/aarch64-fp.exp: Likewise.
12621 * gdb.base/float.exp: Likewise.
12622 * gdb.reverse/aarch64.exp: Likewise.
12623 * lib/gdb.exp (is_aarch64_target): New proc.
12624
9fcf688e
YQ
126252015-07-07 Yao Qi <yao.qi@linaro.org>
12626
12627 * lib/gdb.exp (is_aarch32_target): New proc.
12628 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12629 instead of "istarget "arm*-*-*"".
12630 * gdb.arch/arm-disp-step.exp: Likewise.
12631 * gdb.arch/thumb-bx-pc.exp: Likewise.
12632 * gdb.arch/thumb-prologue.exp: Likewise.
12633 * gdb.arch/thumb-singlestep.exp: Likewise.
12634 * gdb.base/disp-step-syscall.exp: Likewise.
12635 * gdb.base/float.exp: Likewise.
12636
fbd8d50d
YQ
126372015-07-07 Yao Qi <yao.qi@linaro.org>
12638
12639 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12640 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12641
71be1fdc
YQ
126422015-07-07 Yao Qi <yao.qi@linaro.org>
12643
12644 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12645 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12646 if it exists.
12647 * gdb.multi/multi-arch.exp: Likewise.
12648
3e221d36
SM
126492015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12650
12651 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12652 print.
12653
d441430b
YQ
126542015-07-07 Yao Qi <yao.qi@linaro.org>
12655
12656 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12657
06f810bd
MG
126582015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12659
12660 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12661 '[' and ']' characters.
12662
5e61e7c0
IB
126632015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12664
12665 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12666
28bf096c
PA
126672015-06-29 Pedro Alves <palves@redhat.com>
12668
12669 PR threads/18127
12670 * gdb.threads/hand-call-new-thread.c: New file.
12671 * gdb.threads/hand-call-new-thread.c: New file.
12672
ee93cd5e
KS
126732015-06-26 Keith Seitz <keiths@redhat.com>
12674 Doug Evans <dje@google.com>
12675
12676 PR 16253
12677 * gdb.cp/var-tag-2.cc: New file.
12678 * gdb.cp/var-tag-3.cc: New file.
12679 * gdb.cp/var-tag-4.cc: New file.
12680 * gdb.cp/var-tag.cc: New file.
12681 * gdb.cp/var-tag.exp: New file.
12682
fc637f04
PP
126832015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12684
12685 * gdb.base/history-duplicates.exp: New test.
12686
2e52ae68
PP
126872015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12688
12689 * gdb.base/completion.exp: Test the completion of the "focus"
12690 command.
12691
6e22494e
JK
126922015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12693
12694 * gdb.arch/amd64-prologue-skip.S: New file.
12695 * gdb.arch/amd64-prologue-skip.exp: New file.
12696
bf7b9cd9
SM
126972015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12698
12699 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12700 is_address_zero_readable check.
12701
201e8dfd
PB
127022015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12703
12704 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12705 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12706
5cd867b4
YQ
127072015-06-24 Yao Qi <yao.qi@linaro.org>
12708
12709 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12710 linux targets.
12711
4d7be007
YQ
127122015-06-24 Yao Qi <yao.qi@linaro.org>
12713
12714 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12715 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12716 * gdb.base/siginfo-thread.exp: Likewise.
12717
07fcd301
YQ
127182015-06-22 Yao Qi <yao.qi@linaro.org>
12719
12720 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12721
52042a00
YQ
127222015-06-22 Yao Qi <yao.qi@linaro.org>
12723
12724 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12725 aarch64*-*-*.
12726 (skip_hw_watchpoint_tests): Likewise.
12727
74bd41ce
PP
127282015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12729
12730 * gdb.base/gdbinit-history.exp: Test the interaction between
12731 setting GDBHISTSIZE and setting the history size via .gdbinit.
12732
bc460514
PP
127332015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12734
12735 PR gdb/16999
12736 * gdb.base/gdbhistsize-history.exp: New test.
12737
b58c513b
PP
127382015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12739
12740 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12741 with GDBHISTSIZE.
12742 * gdb.base/readline.exp: Likewise.
12743
92046791
YQ
127442015-06-17 Yao Qi <yao.qi@linaro.org>
12745
12746 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12747 line.
12748
2093d2d3
PP
127492015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12750
12751 * gdb.base/gdbinit-history.exp: Add test case to check that
12752 an unlimited history file does not get truncated on exit.
12753
e6c693af
AA
127542015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12755
12756 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12757 (VECTOR): New macro. Use it...
12758 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12759 ...for these typedefs.
12760 (int8, char1, int1, double1): New typedefs.
12761 (struct just_int2, struct two_int2): New structures.
12762 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12763 (add_structvecs, add_singlevecs): New functions.
12764 (main): Call add_some_intvecs twice.
12765 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12766 the compile and exit upon failure. Try compiling for the "native"
12767 architecture. Test inferior function calls with vector arguments
12768 and vector return value handling with "finish" and "return".
12769
c74f7d1c
JT
127702015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12771
12772 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12773 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12774 PE file.
12775 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12776
98aa42ee
AT
127772015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12778
12779 PR breakpoints/16465
12780 * gdb.mi/mi-dprintf-pending.c: New file.
12781 * gdb.mi/mi-dprintf-pending.exp: New test.
12782 * gdb.mi/mi-dprintf-pendshr.c: New file.
12783
7d73c23c 127842015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 12785 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
12786
12787 * gdb.arch/i386-mpx-map.c: New file.
12788 * gdb.arch/i386-mpx-map.exp: New File.
12789
127902015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12791
12792 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12793 * gdb.arch/i386-mpx.exp: Indentation fixed.
12794
127952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12796
12797 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12798 function and improved indentation.
12799 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12800 gdb_test_multiple. Added additional tests to skip the test.
12801
128022015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12803
12804 * gdb.arch/i386-avx512.c: Change path in include file.
12805 * gdb.arch/i386-avx512.exp: Change include dir path
12806 compilation flag.
12807 * gdb.arch/i386-mpx.c: Change path in include file.
12808 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12809 flag.
12810
d5eba19a
JK
128112015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12812
12813 * gdb.compile/compile-print.exp (compile print *vararray@3)
12814 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12815
7f361056
JK
128162015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12817
12818 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12819 (do not keep jit in memory): ... this.
12820 (expect 5): Change it to ...
12821 (expect no 5): ... this.
12822
3b462ec2
SM
128232015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12824
12825 PR gdb/15564
12826 * gdb.mi/mi-detach.exp: New file.
12827
e0619de6
JK
128282015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12829
12830 PR symtab/18392
12831 * gdb.arch/amd64-tailcall-self.S: New file.
12832 * gdb.arch/amd64-tailcall-self.c: New file.
12833 * gdb.arch/amd64-tailcall-self.exp: New file.
12834
e970cb34
DB
128352015-05-28 Don Breazeal <donb@codesourcery.com>
12836
12837 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12838 tests for remote targets by checking is_target_gdbserver.
12839
b2e2f908
DE
128402015-05-27 Doug Evans <dje@google.com>
12841
12842 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12843 * gdb.dwarf2/opaque-type-lookup.c: New file.
12844 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12845
82c7be31
DE
128462015-05-26 Doug Evans <dje@google.com>
12847
12848 * gdb.cp/iostream.cc: New file.
12849 * gdb.cp/iostream.exp: New file.
12850
b4f54984
DE
128512015-05-26 Doug Evans <dje@google.com>
12852
12853 * gdb.dwarf2/dw2-op-call.exp: Update.
12854 * gdb.dwarf2/dw4-sig-types.exp: Update.
12855 * gdb.dwarf2/implptr.exp: Update.
12856 * gdb.mi/mi-cmd-param-changed.exp: Update.
12857
4ea6efe9
DE
128582015-05-26 Doug Evans <dje@google.com>
12859
12860 * gdb.python/py-lazy-string.c: New file.
12861 * gdb.python/py-lazy-string.exp: New file.
12862 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12863 (main): Update. Add estring3.
12864 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12865 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12866
f6bb7db3
YQ
128672015-05-26 Omair Javaid <omair.javaid@linaro.org>
12868 Yao Qi <yao.qi@linaro.org>
12869
12870 * gdb.reverse/aarch64.c: New.
12871 * gdb.reverse/aarch64.exp: New.
12872
a81bfbd0
OJ
128732015-05-26 Omair Javaid <omair.javaid@linaro.org>
12874
25d49b86
PA
12875 * lib/gdb.exp (supports_process_record): Return true for
12876 aarch64*-linux*.
a81bfbd0
OJ
12877 (supports_reverse): Likewise.
12878
158bf1b4
PP
128792015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12880
12881 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12882 Use with_test_prefix.
12883
a0145030
AB
128842015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12885
12886 * gdb.base/completion.exp: Add test for completion of layout
12887 names.
12888
ebe3b578
AB
128892015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12890
12891 * lib/gdb.exp (skip_tui_tests): New proc.
12892 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12893
84204ed7
PA
128942015-05-19 Pedro Alves <palves@redhat.com>
12895
12896 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12897 Save the whole env array instead of just HOME. Unset HISTSIZE in
12898 the environment while testing. Restore whole environment
12899 afterwards.
12900
37442ce1
DE
129012015-05-16 Doug Evans <xdje42@gmail.com>
12902
12903 * gdb.guile/scm-ports.c: New file.
12904 * gdb.guile/scm-ports.exp: Add memory port tests.
12905
36de76f9
JK
129062015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12907
12908 * gdb.compile/compile-print.c: New file.
12909 * gdb.compile/compile-print.exp: New file.
12910
3a9558c4
JK
129112015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12912
12913 * gdb.compile/compile-ops.exp: Cast param to void.
12914 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12915 (compile code struct_object.selffield = &struct_object): Add xfail.
12916
aa715135
JG
129172015-05-15 Joel Brobecker <brobecker@adacore.com>
12918
12919 * gdb.ada/arr_enum_with_gap: New testcase.
12920
931e5bc3
JG
129212015-05-15 Joel Brobecker <brobecker@adacore.com>
12922
12923 * gdb.ada/byte_packed_arr: New testcase.
12924
9cd4d857
JB
129252015-05-15 Joel Brobecker <brobecker@adacore.com>
12926
12927 * gdb.ada/pckd_neg: New testcase.
12928
ebfd00d2
PP
129292015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12930
12931 PR gdb/17820
12932 * gdb.base/gdbinit-history.exp: New test.
12933 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12934 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12935
4c082a81
SC
129362015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12937
12938 * gdb.python/py-xmethods.cc: Enhance test case.
12939 * gdb.python/py-xmethods.exp: New tests.
12940 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12941 function.
12942 (B_indexoper): Likewise.
12943 (global_dm_list) : Add new xmethod worker functions.
12944
f7797074
SDJ
129452015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12946
12947 * gdb.base/coredump-filter.exp: Correctly unset
12948 "coredump_var_addr" array.
12949
a4674e4e
PA
129502015-05-08 Pedro Alves <palves@redhat.com>
12951
12952 * gdb.server/non-existing-program.exp: Unset spawn_id.
12953
df2eb078
SC
129542015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12955
12956 PR python/18291
12957 * gdb.python/py-xmethods.exp: Add tests.
12958
422349a3
YQ
129592015-05-08 Yao Qi <yao.qi@linaro.org>
12960
12961 PR gdb/18208
12962 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12963 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12964 function set_coredump_filter, and remove remote_exec call.
12965 Remove argument ipid. Callers update.
12966 (top level): Don't get inferior's PID.
12967
63fc80ce
AA
129682015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12969
12970 * gdb.base/watch_thread_num.exp: Skip test on targets without
12971 access watchpoints.
12972
80ad801e
PA
129732015-05-06 Pedro Alves <palves@redhat.com>
12974
12975 PR server/18081
12976 * gdb.server/non-existing-program.exp: New file.
12977
0fa7fe50
JB
129782015-05-05 Joel Brobecker <brobecker@adacore.com>
12979
12980 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12981
3ea89b92
PMR
129822015-05-05 Joel Brobecker <brobecker@adacore.com>
12983
12984 * gdb.ada/out_of_line_in_inlined: New testcase.
12985
87b8eff0
JB
129862015-05-05 Joel Brobecker <brobecker@adacore.com>
12987
12988 * gdb.ada/var_rec_arr: New testcase.
12989
5fccc635
YQ
129902015-04-30 Yao Qi <yao.qi@linaro.org>
12991
12992 * gdb.base/break-idempotent.exp: If
12993 skip_hw_watchpoint_multi_tests returns true, skip the tests
12994 on "rwatch" and "awatch".
12995
42d38f42
YQ
129962015-04-30 Yao Qi <yao.qi@linaro.org>
12997
12998 * gdb.base/relativedebug.exp: Invoke gdb command
12999 "info sharedlibrary", and if libc.so doesn't have debug info,
13000 skip the test.
13001
2ce1cdbf
DE
130022015-04-29 Doug Evans <dje@google.com>
13003
13004 * gdb.python/py-xmethods.exp: Add ptype tests.
13005 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13006 get_result_type method.
13007
f24a38c5
LM
130082015-04-29 Luis Machado <lgustavo@codesourcery.com>
13009
13010 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13011 the target does not support hardware watchpoints.
13012
ecbf2b3c
LM
130132015-04-29 Luis Machado <lgustavo@codesourcery.com>
13014
13015 * gdb.base/break-always.exp: Abort testing if writing to memory
13016 causes an error.
13017
34f5f757
DE
130182015-04-28 Doug Evans <dje@google.com>
13019
13020 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13021 * gdb.python/py-pp-registration.exp: ... here. New file.
13022 * gdb.python/py-pp-registration.c: New file.
13023 * gdb.python/py-pp-registration.py: New file.
13024
69b4374a
DE
130252015-04-28 Doug Evans <dje@google.com>
13026
13027 * gdb.python/py-bad-printers.c: New file.
13028 * gdb.python/py-bad-printers.py: New file.
13029 * gdb.python/py-bad-printers.exp: New file.
13030
59fb7612
SS
130312015-04-28 Sasha Smundak <asmundak@google.com>
13032
13033 * gdb.python/py-type.exp: New test.
13034
2631b16a
AW
130352015-04-28 Andy Wingo <wingo@igalia.com>
13036
13037 * gdb.python/py-parameter.exp:
13038 * gdb.guile/scm-parameter.exp: Escape the path that we are
13039 matching against, as it might contain characters that are special
13040 to regular expressions.
13041
460efde1
JB
130422015-04-27 Joel Brobecker <brobecker@adacore.com>
13043
13044 * gdb.ada/rec_comp: New testcase.
13045
2d369d8e
SDJ
130462015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13047
13048 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13049 before using it.
13050
cf75d6c3
AB
130512015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13052
13053 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13054 new tests for verilog output.
13055
8dbe7ca5
YQ
130562015-04-24 Yao Qi <yao.qi@linaro.org>
13057
13058 * boards/remote-gdbserver-on-localhost.exp: New file.
13059
4ef9fb2f
PA
130602015-04-23 Pedro Alves <palves@redhat.com>
13061
13062 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13063 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13064 "end of file", remove $inferior_spawn_id from the indirect list.
13065
0a803169
PA
130662015-04-23 Pedro Alves <palves@redhat.com>
13067
13068 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13069
749ef8f8
PA
130702015-04-23 Pedro Alves <palves@redhat.com>
13071
13072 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13073 on $any_spawn_id instead of only on $gdb_spawn_id.
13074
8aae4344
PM
130752015-04-21 Pierre Muller <muller@sourceware.org>
13076
13077 PR pascal/17815
13078 * lib/pascal.exp (gpc_compile): Add new option "class".
13079 (fpc_compile): Likewise.
13080 * gdb.pascal/case-insensitive-symbols.pas: New file.
13081 * gdb.pascal/case-insensitive-symbols.exp: New file.
13082
1586c8fb
GB
130832015-04-20 Gary Benson <gbenson@redhat.com>
13084
13085 * gdb.base/attach.exp: Fix three extended remote failures.
13086
1b6e6f5c
GB
130872015-04-17 Gary Benson <gbenson@redhat.com>
13088
13089 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13090 the main executable over the remote protocol.
13091
e797481d
PA
130922015-04-16 Pedro Alves <palves@redhat.com>
13093
13094 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13095 a new gdbserver if gdbserver_reconnect_p is set.
13096
1ca99c42
PA
130972015-04-16 Pedro Alves <palves@redhat.com>
13098
13099 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13100 is set, don't exit gdbserver.
13101
af9fd6f8
AA
131022015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13103
13104 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13105 appropriate .insn, such that an older assembler can be used.
13106 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13107 the z/Architecture instruction set on 31-bit targets as well.
13108
04ff1e61
AA
131092015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13110
13111 * gdb.go/handcall.exp: Remove all logic related to the first
13112 breakpoint and rely on go_runto_main instead.
13113 * gdb.go/strings.exp: Likewise.
13114 * gdb.go/unsafe.exp: Likewise.
13115 * gdb.go/hello.exp: Likewise. Also rename the remaining
13116 breakpoint marker to "breakpoint 1".
13117 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13118 * gdb.go/strings.go: Likewise.
13119 * gdb.go/unsafe.go: Likewise.
13120 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13121 "set breakpoint 2 here" and rename the remaining breakpoint marker
13122 to "breakpoint 1".
13123
40d2f8d6
SM
131242015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13125
13126 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13127 if itertools.imap is not present.
13128 * gdb.python/py-objfile.exp: Add parentheses.
13129 * gdb.python/py-type.exp: Same.
13130 * gdb.python/py-unwind-maint.py: Same.
13131
8cbc97c6
YQ
131322015-04-15 Yao Qi <yao.qi@linaro.org>
13133
13134 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13135 of ":$ptr_size" and set its form explicitly.
13136
45fd756c
YQ
131372015-04-15 Pedro Alves <palves@redhat.com>
13138 Yao Qi <yao.qi@linaro.org>
13139
13140 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13141 timeout by factor of 4.
13142 (test_regular_watch): Likewise.
13143 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13144 * gdb.reverse/sigall-reverse.exp: Likewise.
13145 * gdb.reverse/until-precsave.exp: Likewise.
13146 * lib/gdb.exp (with_timeout_factor): New proc.
13147 (gdb_expect): Move some code to ...
13148 (get_largest_timeout): ... here. New procedure.
13149
9e811bc3
LM
131502015-04-14 Luis Machado <lgustavo@codesourcery.com>
13151
13152 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13153
0ff6fcb2
LM
131542015-04-13 Luis Machado <lgustavo@codesourcery.com>
13155
13156 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13157 to write to the .text section.
13158
7578d5f7
LM
131592015-04-13 Luis Machado <lgustavo@codesourcery.com>
13160
13161 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13162 Handle the case of targets that do not provide PID information.
13163
2efe15c4
YQ
131642015-04-13 Yao Qi <yao.qi@linaro.org>
13165
13166 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13167 and use expect instead of gdb_expect.
13168
8cd8f2f8
SDJ
131692015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13170
13171 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13172 "coredump_var_addr" to avoid naming conflict with other testcases.
13173
9ee41772
PA
131742015-04-10 Pedro Alves <palves@redhat.com>
13175
13176 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13177 gdb_test_sequence and gdb_assert.
13178
07473109
PA
131792015-04-10 Pedro Alves <palves@redhat.com>
13180
13181 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13182 test messages that don't include the breakpoint address.
13183
de3db44c
YQ
131842015-04-10 Yao Qi <yao.qi@linaro.org>
13185
13186 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13187 false for some offset and width combinations which aren't
13188 supported by linux kernel.
13189
c79d856c
PA
131902015-04-10 Pedro Alves <palves@redhat.com>
13191
13192 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13193 procedure, factored out from ...
13194 (top level): ... here. Add "set displaced-stepping" testing axis.
13195 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13196 parameter "displaced". Use it.
13197 (top level): Use foreach and add "set displaced-stepping" testing
13198 axis.
13199
ebc90b50
PA
132002015-04-10 Pedro Alves <palves@redhat.com>
13201
13202 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13203 Remove comment.
13204 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13205 both the address of the instruction that triggers the watchpoint
13206 and the address of the instruction immediately after, and use
13207 those addresses for the test. Fix comment.
13208
8f572e5c
PA
132092015-04-10 Pedro Alves <palves@redhat.com>
13210
13211 * gdb.base/sigstep.exp (breakpoint_to_handler)
13212 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13213 Test "backtrace" in handler.
13214 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13215 (top level): Add new "displaced" test axis to
13216 breakpoint_to_handler, breakpoint_to_handler_entry and
13217 breakpoint_over_handler.
13218
8d707a12
PA
132192015-04-10 Pedro Alves <palves@redhat.com>
13220
13221 PR gdb/18216
13222 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13223
ef713951
YQ
132242015-04-10 Yao Qi <yao.qi@linaro.org>
13225
13226 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13227 (test_add_rn_pc): New function.
13228 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13229 (top level): Invoke test_add_rn_pc.
13230
906d60cf
PA
132312015-04-10 Pedro Alves <palves@redhat.com>
13232
13233 PR gdb/13858
13234 * gdb.base/step-over-no-symbols.exp: New file.
13235
f2983cc3
AW
132362015-04-09 Andy Wingo <wingo@igalia.com>
13237
13238 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13239 after the Python tests.
13240
6d62641c
SDJ
132412015-04-08 Keith Seitz <keiths@redhat.com>
13242
13243 PR python/16699
13244 * gdb.python/py-completion.exp: New tests for completion.
13245 * gdb.python/py-completion.py (CompleteLimit1): New class.
13246 (CompleteLimit2): Likewise.
13247 (CompleteLimit3): Likewise.
13248 (CompleteLimit4): Likewise.
13249 (CompleteLimit5): Likewise.
13250 (CompleteLimit6): Likewise.
13251 (CompleteLimit7): Likewise.
13252
f3770638
PA
132532015-04-08 Pedro Alves <palves@redhat.com>
13254
13255 PR gdb/18214
13256 PR gdb/18216
13257 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13258 function.
13259 (main): Install it as SIGUSR1 handler.
13260 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13261 parameter. Always use "setup" as prefix. Toggle "set
13262 displaced-stepping" off/on depending on global. Don't switch to
13263 thread 1 here.
13264 (top level): Add displaced stepping "off/on" test axis. Update
13265 "setup" calls. Wrap each subtest with with_test_prefix. Test
13266 continuing with a queued signal in each thread.
13267
4496bed7
PA
132682015-04-08 Pedro Alves <palves@redhat.com>
13269
13270 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13271 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13272 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13273 Return early if running to main fails.
13274 * gdb.trace/while-stepping.exp: Likewise.
13275
b97fde92
PA
132762015-04-07 Pedro Alves <palves@redhat.com>
13277
13278 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13279 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13280 interact with inferior program.
13281
f71c18e7
PA
132822015-04-07 Pedro Alves <palves@redhat.com>
13283
13284 * lib/gdb.exp (inferior_spawn_id): New global.
13285 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13286 spawn id after processing the user code.
13287 (default_gdb_start): Set inferior_spawn_id.
13288 (send_inferior): New procedure.
13289 * lib/gdbserver-support.exp (gdbserver_start): Set
13290 inferior_spawn_id.
13291 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13292
6423214f
PA
132932015-04-07 Pedro Alves <palves@redhat.com>
13294
13295 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13296 * lib/gdbserver-support.exp (gdbserver_start): Make
13297 $server_spawn_id global.
13298 (gdbserver_start): Don't wait for gdbserver's spawn id with
13299 expect_background.
13300 (close_gdbserver): New procedure.
13301 (gdb_exit): Rename the default version and reimplement.
13302
71c0ee8c
PA
133032015-04-07 Pedro Alves <palves@redhat.com>
13304
72f4393d 13305 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
13306 append the substituted item, not the original item.
13307
203bc29b
PA
133082015-04-07 Pedro Alves <palves@redhat.com>
13309
13310 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13311 gdb_expect.
13312
508a3ddf
PA
133132015-04-07 Pedro Alves <palves@redhat.com>
13314
13315 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13316 output appearing once only.
13317
9f6dbe2b
PA
133182015-04-07 Pedro Alves <palves@redhat.com>
13319
13320 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13321 that doesn't expect anything. Return early if running to main
13322 fails.
13323
337532fa
YQ
133242015-04-07 Yao Qi <yao.qi@linaro.org>
13325
13326 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13327 (child_function): Call alarm.
13328 (main): Move call to alarm into the loop.
13329 * gdb.threads/non-stop-fair-events.exp: Build program with
13330 -DTIMEOUT=$timeout.
13331
01b622d4
DE
133322015-04-06 Doug Evans <xdje42@gmail.com>
13333
13334 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13335 Fix dest parameter to board_info.
13336 (fpc_compile): Ditto.
13337 (gdb_compile_pascal): Rename dest arg to destfile.
13338
961f4160
PMR
133392015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13340
13341 * gdb.ada/funcall_ref.exp: New file.
13342 * gdb.ada/funcall_ref/foo.adb: New file.
13343
cafda597
YQ
133442015-04-02 Yao Qi <yao.qi@linaro.org>
13345
13346 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13347 is remote.
13348
fed040c6
GB
133492015-04-02 Gary Benson <gbenson@redhat.com>
13350
13351 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13352
d11916aa
SS
133532015-04-01 Sasha Smundak <asmundak@google.com>
13354
13355 * gdb.python/py-unwind-maint.c: New file.
13356 * gdb.python/py-unwind-maint.exp: New test.
13357 * gdb.python/py-unwind-maint.py: New file.
13358 * gdb.python/py-unwind.c: New file.
13359 * gdb.python/py-unwind.exp: New test.
13360 * gdb.python/py-unwind.py: New test.
13361
a1471180
PA
133622015-04-01 Pedro Alves <palves@redhat.com>
13363
13364 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13365 to fail instead of non-existent $test.
13366
0bbeccb1
PA
133672015-04-01 Pedro Alves <palves@redhat.com>
13368
13369 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13370 GDBFLAGS if not empty.
13371
3c724c8c
PMR
133722015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13373
13374 * gdb.ada/complete.exp: Remove "multi_line".
13375 * gdb.ada/info_exc.exp: Remove "multi_line".
13376 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13377 * gdb.ada/ptype_field.exp: Remove "multi_line".
13378 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13379 * gdb.ada/tagged.exp: Remove "multi_line".
13380 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13381 [multi_line ...]
13382 * gdb.btrace/delta.exp: Likewise.
13383 * gdb.btrace/exception.exp: Likewise.
13384 * gdb.btrace/function_call_history.exp: Likewise.
13385 * gdb.btrace/instruction_history.exp: Likewise.
13386 * gdb.btrace/nohist.exp: Likewise.
13387 * gdb.btrace/record_goto.exp: Likewise.
13388 * gdb.btrace/segv.exp: Likewise.
13389 * gdb.btrace/stepi.exp: Likewise.
13390 * gdb.btrace/tailcall.exp: Likewise.
13391 * gdb.btrace/unknown_functions.exp: Likewise.
13392 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13393 * lib/gdb.exp: Add the "multi_line" helper.
13394
4eec2deb
PA
133952015-04-01 Pedro Alves <palves@redhat.com>
13396
13397 * gdb.threads/tid-reuse.c: New file.
13398 * gdb.threads/tid-reuse.exp: New file.
13399
df8411da
SDJ
134002015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13401
13402 PR corefiles/16092
13403 * gdb.base/coredump-filter.c: New file.
13404 * gdb.base/coredump-filter.exp: Likewise.
13405
6ef37366
PM
134062015-03-27 Petr Machata <pmachata@redhat.com>
13407
13408 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13409 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13410 (Dwarf::assemble): Initialize them.
13411 (Dwarf::lines): New function.
13412
7ec911b0
JT
134132015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13414
13415 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13416 SYMBOL_PREFIX for x86_64-*-cygwin.
13417
ff908ebf
AW
134182015-03-26 Andy Wingo <wingo@igalia.com>
13419
13420 PR symtab/18148
13421 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13422 const_value but not a location.
13423 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13424 location defined in non-main CUs are visible.
13425
6d5f0679
YQ
134262015-03-26 Yao Qi <yao.qi@linaro.org>
13427
13428 PR testsuite/18139
13429 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13430 Add a line number entry for the same line.
13431 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13432 Add a line number entry for the same line.
13433
2898689b
YQ
134342015-03-26 Yao Qi <yao.qi@linaro.org>
13435
13436 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13437 .int 0.
13438 (func): Likewise. Add .Lfunc_1 label.
13439 Use .Lfunc_1 label.
13440 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13441 .int 0.
13442 (func): Likewise.
13443 Use .Lfunc_1 label.
13444
85180498
YQ
134452015-03-26 Yao Qi <yao.qi@linaro.org>
13446
13447 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13448 Call gdb_compile instead to compile each .s files without debug
13449 information.
13450
8aa08a8d
YQ
134512015-03-26 Yao Qi <yao.qi@linaro.org>
13452
13453 * gdb.base/savedregs.exp (process_saved_regs): Make
13454 "Saved registers:" optional in the pattern.
13455
66849923
MM
134562015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13457
13458 * gdb.btrace/next.exp: Merged into step.exp.
13459 * gdb.btrace/finish.exp: Merged into step.exp.
13460 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13461 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13462 "record goto" and checking the exact replay position.
13463 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13464 check for "Recording format" in "info record" output.
13465 * gdb.btrace/record_goto.exp: Choose test file based on target.
13466 * gdb.btrace/x86-record_goto.S: Renamed into ...
13467 * gdb.btrace/x86_64-record_goto.S: ... this.
13468 * gdb.btrace/i686-record_goto.S: New.
13469 * gdb.btrace/x86-tailcall.S: Renamed into ...
13470 * gdb.btrace/x86_64-tailcall.S: ... this.
13471 * gdb.btrace/i686-tailcall.S: New.
13472 * gdb.btrace/x86-tailcall.c: Renamed into ...
13473 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13474 separate statements. Update test.
13475 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13476 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13477 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13478 * gdb.btrace/tailcall.exp: Choose test file based on target.
13479 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13480
11cc1b74
MM
134812015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13482
13483 * gdb.btrace/exception.exp: Increase BTS buffer size.
13484
a25d8bf9
PA
134852015-03-24 Pedro Alves <palves@redhat.com>
13486
13487 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13488
856e7dd6
PA
134892015-03-24 Pedro Alves <palves@redhat.com>
13490
13491 * gdb.threads/schedlock.exp (test_step): No longer expect that
13492 "set scheduler-locking step" with "next" over a function call runs
13493 threads unlocked.
13494
ad235a41
AT
134952015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13496
13497 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13498
15630549
AT
134992015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13500
13501 PR breakpoints/16466
13502 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13503 * gdb.mi/mi-pending.c (thread_func): New function.
13504 (int main): Add threading support required.
13505 * gdb.mi/mi-pending.exp: Add tests for this issue.
13506 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13507 (pendfunc2): Remove stdio dependency.
13508 * gdb.mi/mi-pendshr2.c: New file.
13509
693dca06
KS
135102015-03-23 Keith Seitz <keiths@redhat.com>
13511
13512 * gdb.linespec/keywords.c: New file.
13513 * gdb.linespec/keywords.exp: New file.
13514
7e993ebf
KS
135152015-03-23 Keith Seitz <keiths@redhat.com>
13516
13517 PR gdb/18021
13518 * gdb.dwarf2/staticvirtual.exp: New test.
13519
bc23328c
JK
135202015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13521
13522 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13523 * README: Remove HP-UX and gdb.hp.
13524 (configuration):
13525 * configure: Regenerate.
13526 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13527 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13528 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13529 gdb.hp/gdb.defects/Makefile.
13530 * gdb.hp/Makefile.in: File deleted.
13531 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13532 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13533 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13534 * gdb.hp/gdb.aCC/run.c: File deleted.
13535 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13536 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13537 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13538 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13539 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13540 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13541 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13542 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13543 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13544 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13545 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13546 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13547 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13548 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13549 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13550 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13551 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13552 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13553 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13554 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13555 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13556 * gdb.hp/gdb.compat/average.c: File deleted.
13557 * gdb.hp/gdb.compat/sum.c: File deleted.
13558 * gdb.hp/gdb.compat/xdb.c: File deleted.
13559 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13560 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13561 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13562 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13563 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13564 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13565 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13566 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13567 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13568 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13569 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13570 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13571 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13572 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13573 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13574 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13575 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13576 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13577 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13578 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13579 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13580 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13581 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13582 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13583 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13584 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13585 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13586 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13587 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13588 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13589 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13590 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13591 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13592 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13593 * gdb.hp/tools/odump: File deleted.
13594
8bf3b159
PA
135952015-03-19 Pedro Alves <palves@redhat.com>
13596
13597 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13598 (saw_thread_3): New globals.
13599 (top level): Increment them when an event for the corresponding
13600 thread is seen.
13601 (no thread starvation): New test.
13602
eb54c8bf
PA
136032015-03-19 Pedro Alves <palves@redhat.com>
13604
13605 * gdb.threads/continue-pending-status.c: New file.
13606 * gdb.threads/continue-pending-status.exp: New file.
13607
32d2e5d6
PA
136082015-03-18 Pedro Alves <palves@redhat.com>
13609
13610 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13611 Use gdb_is_target_remote instead of is_remote. Use
13612 gdb_test_multiple instead of gdb_expect. Exit early if
13613 gdb_test_multiple hits its internal matches. Tighten stepi tests
13614 expected output. Fail on exit with any signal, instead of just
13615 SIGILL.
13616
f68f11b7
YQ
136172015-03-18 Yao Qi <yao.qi@linaro.org>
13618
13619 PR tdep/18107
13620 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13621 variable.
13622 * gdb.base/catch-syscall.exp: Don't skip it on
13623 aarch64*-*-linux* target. Remove elements in all_syscalls.
13624 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13625 target.
13626 (setup_all_syscalls): New proc.
13627
ca5fd19b
YQ
136282015-03-16 Yao Qi <yao.qi@linaro.org>
13629
13630 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13631 (top level): Skip tests if valid_addr_p returns false for
13632 $cmd1 or $cmd2.
13633
85642ba0
AW
136342015-03-11 Andy Wingo <wingo@igalia.com>
13635
13636 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13637
e03f9645
YQ
136382015-03-11 Yao Qi <yao.qi@linaro.org>
13639
13640 * gdb.base/catch-syscall.exp: Fix typo in comments.
13641
5d0962b2
YQ
136422015-03-11 Yao Qi <yao.qi@linaro.org>
13643
13644 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13645
b2df3cef
PA
136462015-03-09 Pedro Alves <palves@redhat.com>
13647
13648 * dg-extract-results.py: Delete.
13649
ef878e53
PA
136502015-03-09 Pedro Alves <palves@redhat.com>
13651
13652 Merge dg-extract-results.sh from GCC upstream (r218843).
13653
13654 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13655 * dg-extract-results.sh: Use --text with grep to avoid issues with
13656 binary files. Fall back to cat -v, if that doesn't work.
13657
9494d219
PA
136582015-03-05 Pedro Alves <palves@redhat.com>
13659
13660 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13661
a8d9763a
SM
136622015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13663
13664 * lib/mi-support.exp (mi_expect_interrupt): Accept
13665 alternative event for when in all-stop mode.
13666
be9957b8
PA
136672015-03-04 Pedro Alves <palves@redhat.com>
13668
13669 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13670
d57be0f4 136712015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
13672
13673 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13674
c214c7cf
AA
136752015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13676
13677 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13678 regexps for GDB's current line display, accept a hex address
13679 preceding the line number.
13680
6d74a497
AA
136812015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13682
13683 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13684 the 'arch1' variable for "s390*-linux*" targets.
13685
511aee7c
PA
136862015-03-04 Pedro Alves <palves@redhat.com>
13687
13688 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13689 (main): Pass missing retval argument to pthread_join call.
13690
95e50b27
PA
136912015-03-02 Pedro Alves <palves@redhat.com>
13692
13693 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13694 (top level): Call do_test with non-stop as well.
13695
28054d69
PA
136962015-03-02 Pedro Alves <palves@redhat.com>
13697
13698 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13699 -1.
13700
4fa5d7b4
AA
137012015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13702
13703 * gdb.arch/s390-vregs.exp: New test.
13704 * gdb.arch/s390-vregs.S: New file.
13705
97c18565
PA
137062015-02-27 Pedro Alves <palves@redhat.com>
13707
13708 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13709 call to catch_command_errors.
13710 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13711 catch_command_errors.
13712
a37bfa30
PA
137132015-02-27 Pedro Alves <palves@redhat.com>
13714
13715 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13716 "true" for boolean result.
13717 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13718 prototype of main.
13719
6f98576f
PA
137202015-02-27 Pedro Alves <palves@redhat.com>
13721
13722 * lib/unbuffer_output.c: New file.
13723 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13724 (main): Call gdb_unbuffer_output.
13725
eba5ab56
YQ
137262015-02-27 Yao Qi <yao.qi@linaro.org>
13727
13728 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13729 target.
13730
0def5aaa
DE
137312015-02-26 Doug Evans <dje@google.com>
13732
13733 * gdb.cp/class2.cc (Dbase, D): New classes.
13734 (main): New local delta.
13735 * gdb.cp/class2.exp: Test printing delta.
13736 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13737 (dynbar): New global.
13738 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13739
081a1c2c
JK
137402015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13741
13742 * gdb.compile/compile-ifunc.c: New file.
13743 * gdb.compile/compile-ifunc.exp: New file.
13744
2f41223f
AT
137452015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13746
13747 * gdb.base/structs.exp: Check for correct struct on finish.
13748
03eddd80
YQ
137492015-02-26 Yao Qi <yao.qi@linaro.org>
13750
13751 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13752 is zero.
13753
80c57053
JK
137542015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13755
13756 * gdb.arch/cordic.ko.bz2: New file.
13757 * gdb.arch/cordic.ko.debug.bz2: New file.
13758 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13759
21613c12
YQ
137602015-02-25 Yao Qi <yao.qi@linaro.org>
13761
13762 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13763 aarch64*-*-* target.
13764
d8b901ed
PA
137652015-02-23 Pedro Alves <palves@redhat.com>
13766
13767 * lib/gdb.exp (delete_breakpoints): Rewrite using
13768 gdb_test_multiple.
13769
e5b85ead
PA
137702015-02-23 Pedro Alves <palves@redhat.com>
13771
13772 * gdb.base/info-os.c: Include stdlib.h.
13773
85c3a371
DE
137742015-02-22 Doug Evans <xdje42@gmail.com>
13775
13776 PR symtab/17855
13777 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13778 is read after symbols have been re-read.
13779 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13780 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13781
96553a0c
DE
137822015-02-21 Doug Evans <dje@google.com>
13783
13784 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13785
97a0c697
JK
137862015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13787
13788 PR corefiles/17808
13789 * gdb.arch/i386-biarch-core.core.bz2: New file.
13790 * gdb.arch/i386-biarch-core.exp: New file.
13791
a47cd6e9
PA
137922015-02-21 Pedro Alves <palves@redhat.com>
13793
13794 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13795 runto_main fails.
13796
c5facdc4
PA
137972015-02-20 Pedro Alves <palves@redhat.com>
13798
13799 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13800 info probes.
13801
2db9a427
PA
138022015-02-20 Pedro Alves <palves@redhat.com>
13803
13804 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13805
60fb7e9e
PA
138062015-02-20 Pedro Alves <palves@redhat.com>
13807
13808 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13809 clean_restart before gdb_target_supports_trace.
13810
5c5019c2
PA
138112015-02-20 Pedro Alves <palves@redhat.com>
13812
13813 PR threads/18006
13814 * gdb.threads/clone-thread_db.c: New file.
13815 * gdb.threads/clone-thread_db.exp: New file.
13816
c9587f88
AT
138172015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13818
13819 PR breakpoints/16812
13820 * gdb.base/catch-gdb-caused-signals.c: New file.
13821 * gdb.base/catch-gdb-caused-signals.exp: New file.
13822
f6a88844
JM
138232015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13824
13825 * configure: Regenerated.
13826 * configure.ac: Use GDB_AC_TRANSFORM.
13827 * aclocal.m4: sinclude ../transform.m4.
13828
497c491b
JM
138292015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13830
13831 * lib/dtrace.exp: New file.
13832 * gdb.base/dtrace-probe.exp: Likewise.
13833 * gdb.base/dtrace-probe.d: Likewise.
13834 * gdb.base/dtrace-probe.c: Likewise.
13835 * lib/pdtrace.in: Likewise.
13836 * configure.ac: Output variables with the transformed names of
13837 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13838 * configure: Regenerated.
13839
03e98035
JM
138402015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13841
13842 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13843 expected message when trying to access $_probe_* convenience
13844 variables while not on a probe.
13845
63cc30e9
JK
138462015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13847
13848 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13849
0703599a
PA
138502015-02-11 Pedro Alves <pedro@codesourcery.com>
13851
13852 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13853 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13854
7e60a48e
DE
138552015-02-10 Doug Evans <xdje42@gmail.com>
13856
13857 * lib/gdb.exp (gdb_load): Always return a result.
13858
01b088bc
PA
138592015-02-10 Pedro Alves <palves@redhat.com>
13860
13861 * gdb.threads/signal-sigtrap.c: New file.
13862 * gdb.threads/signal-sigtrap.exp: New file.
13863
b05ec7a5
AT
138642015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13865
13866 * gdb.trace/no-attach-trace.c: New file.
13867 * gdb.trace/no-attach-trace.exp: New file.
13868
a2c2acaf
MW
138692015-02-09 Mark Wielaard <mjw@redhat.com>
13870
13871 * gdb.dwarf2/atomic.c: New file.
13872 * gdb.dwarf2/atomic-type.exp: Likewise.
13873
31fd9caa
MM
138742015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13875
13876 * gdb.btrace/buffer-size.exp: Update "info record" output.
13877 * gdb.btrace/delta.exp: Update "info record" output.
13878 * gdb.btrace/enable.exp: Update "info record" output.
13879 * gdb.btrace/finish.exp: Update "info record" output.
13880 * gdb.btrace/instruction_history.exp: Update "info record" output.
13881 * gdb.btrace/next.exp: Update "info record" output.
13882 * gdb.btrace/nexti.exp: Update "info record" output.
13883 * gdb.btrace/step.exp: Update "info record" output.
13884 * gdb.btrace/stepi.exp: Update "info record" output.
13885 * gdb.btrace/nohist.exp: Update "info record" output.
13886
d33501a5
MM
138872015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13888
13889 * gdb.btrace/buffer-size: New.
13890
f4abbc16
MM
138912015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13892
13893 * gdb.btrace/delta.exp: Update "info record" output.
13894 * gdb.btrace/enable.exp: Update "info record" output.
13895 * gdb.btrace/finish.exp: Update "info record" output.
13896 * gdb.btrace/instruction_history.exp: Update "info record" output.
13897 * gdb.btrace/next.exp: Update "info record" output.
13898 * gdb.btrace/nexti.exp: Update "info record" output.
13899 * gdb.btrace/step.exp: Update "info record" output.
13900 * gdb.btrace/stepi.exp: Update "info record" output.
13901 * gdb.btrace/nohist.exp: Update "info record" output.
13902
b9d61307
SM
139032015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13904
13905 PR gdb/15678
13906 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13907
e584fdbc
PA
139082015-02-06 Pedro Alves <palves@redhat.com>
13909
13910 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13911 macro.
13912 (seconds_left, again): New globals.
13913 (main): Wait seconds_left in a 1-second sleep loop instead of
13914 sleeping 180 seconds. If 'again' is set, reset the seconds
13915 counter.
13916 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13917 'again' in the inferior before detaching. Print the seconds left.
13918 (options): New global.
13919 (top level): Build program with -DTIMEOUT=$timeout.
13920
77f41761
PA
139212015-02-06 Pedro Alves <palves@redhat.com>
13922
13923 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13924 determine how many seconds to pass to 'alarm'.
13925 * gdb.base/gdb-sigterm.exp (top level): Build program with
13926 -DTIMEOUT=$timeout.
13927 (do_test): Return success/failure indication. Add more verbose
13928 logging. Don't fail if 200 single steps are seen. Instead, fail
13929 when the test times out.
13930 (passes): New global.
13931 (top level): Break the testing loop if testing fails on any
13932 iteration. Use gdb_assert.
13933
b9394193
DB
139342015-02-04 Don Breazeal <donb@codesourcery.com>
13935
13936 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13937 and initialize them.
13938 (ipc_cleanup): New function.
13939 (main): Don't declare shmid, semid, and msqid. Add a call to
13940 atexit so that we call ipc_cleanup on exit.
13941
42d9e528
PA
139422015-02-04 Pedro Alves <palves@redhat.com>
13943
13944 * boards/native-extended-gdbserver.exp: Remove any target variant
13945 specifications from the board name before clearing the isremote
13946 flag from board_info.
13947
ae6ae975
DE
139482015-01-31 Doug Evans <xdje42@gmail.com>
13949
13950 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13951
cfb069a8
GB
139522015-01-31 Gary Benson <gbenson@redhat.com>
13953
13954 * gdb.base/completion.exp: Disable completion limiting for
13955 existing tests. Add new tests to check completion limiting.
13956 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13957
5dd31d79
DE
139582015-01-31 Doug Evans <xdje42@gmail.com>
13959
13960 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13961
9f050062
DE
139622015-01-31 Doug Evans <xdje42@gmail.com>
13963
13964 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13965 entries. Duplicate file section script entries.
13966 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13967 inlined entries. Add test for safe-path rejection.
13968 * gdb.python/py-section-script.c: Add duplicate inlined section script
13969 entries. Duplicate file section script entries.
13970 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13971 inlined entries. Add test for safe-path rejection.
13972
df25ebbd
JB
139732015-01-29 Joel Brobecker <brobecker@adacore.com>
13974
13975 * gdb.ada/disc_arr_bound: New testcase.
13976
4a0ca9ec
JB
139772015-01-29 Joel Brobecker <brobecker@adacore.com>
13978
13979 * gdb.ada/mi_var_array: New testcase.
13980
3a8b707a
DE
139812015-01-27 Doug Evans <dje@google.com>
13982
13983 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13984 Add test for objfile.filename, objfile.username after objfile
13985 has been unloaded.
13986
f8313f6e
JB
139872015-01-26 Joel Brobecker <brobecker@adacore.com>
13988
13989 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13990 the second test to print the name attribute of value
13991 returned by the call to gdb.lookup_type, and adjust
13992 the expected output accordingly.
13993
37bc665e
MW
139942015-01-25 Mark Wielaard <mjw@redhat.com>
13995
13996 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13997 * gdb.base/disp-step-fork.c: Include unistd.h.
13998 * gdb.base/siginfo-obj.c: Include stdio.h.
13999 * gdb.base/siginfo-thread.c: Likewise.
14000 * gdb.mi/non-stop.c: Include unistd.h.
14001 * gdb.mi/nsthrexec.c: Include stdio.h.
14002 * gdb.mi/pthreads.c: Include unistd.h.
14003 * gdb.modula2/unbounded1.c (main): Declare returns int.
14004 * gdb.reverse/consecutive-reverse.c: Likewise.
14005 * gdb.threads/create-fail.c: Include unistd.h.
14006 * gdb.threads/killed.c: Likewise.
14007 * gdb.threads/linux-dp.c: Likewise.
14008 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14009 * gdb.threads/non-ldr-exc-2.c: Likewise.
14010 * gdb.threads/non-ldr-exc-3.c: Likewise.
14011 * gdb.threads/non-ldr-exc-4.c: Likewise.
14012 * gdb.threads/pthreads.c: Include unistd.h.
14013 (main): Declare returns int.
14014 * gdb.threads/tls-main.c (foo): New declaration.
14015 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14016
f7e5394d
SM
140172015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14018
14019 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14020 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14021
743649fd
MW
140222015-01-15 Mark Wielaard <mjw@redhat.com>
14023
14024 * gdb.base/noreturn-return.c: New file.
14025 * gdb.base/noreturn-return.exp: New file.
14026 * gdb.base/noreturn-finish.c: New file.
14027 * gdb.base/noreturn-finish.exp: New file.
14028
198297aa
PA
140292015-01-23 Pedro Alves <palves@redhat.com>
14030
14031 * gdb.threads/continue-pending-after-query.c: New file.
14032 * gdb.threads/continue-pending-after-query.exp: New file.
14033
717cf30c
AG
140342015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14035 Simon Marchi <simon.marchi@ericsson.com>
14036
14037 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14038 * gdb.base/valgrind-db-attach.exp: Same.
14039 * gdb.base/valgrind-infcall.exp: Same.
14040 * lib/mi-support.exp (default_mi_gdb_start): Same.
14041 * lib/prompt.exp (default_prompt_gdb_start): Same.
14042 * lib/gdb.exp (default_gdb_spawn): Same.
14043 (gdb_interact): New.
14044
14045
4b62a76e
JK
140462015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14047
14048 * gdb.compile/compile.exp (pointer to jit function): New test.
14049
b4cdae6f
WW
140502015-01-17 Wei-cheng Wang <cole945@gmail.com>
14051
14052 * lib/gdb.exp (supports_process_record): Return true for
14053 powerpc*-*-linux*.
14054 (supports_reverse): Likewise.
14055
d221e7ef
DB
140562015-01-15 Don Breazeal <donb@codesourcery.com>
14057
14058 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14059 instead of checking whether the target board is remote and
14060 use spawn_wait_for_attach instead of exec/sleep.
14061 * gdb.base/attach-twice.exp: Likewise.
14062
bafffb51
JB
140632015-01-15 Joel Brobecker <brobecker@adacore.com>
14064
14065 * gdb.ada/var_arr_attrs: New testcase.
14066
5589af0e
PA
140672015-01-14 Pedro Alves <palves@redhat.com>
14068 Joel Brobecker <brobecker@adacore.com>
14069
14070 PR gdb/17525
14071 * gdb.base/bp-cmds-execution-x-script.c: New file.
14072 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14073 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14074
6c400b59
PA
140752015-01-14 Pedro Alves <palves@redhat.com>
14076
14077 PR cli/17828
14078 * gdb.base/batch-preserve-term-settings.c: New file.
14079 * gdb.base/batch-preserve-term-settings.exp: New file.
14080
e02c96a7
DE
140812015-01-13 Doug Evans <dje@google.com>
14082
14083 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14084 binary.
14085
576fd14c
JB
140862015-01-13 Joel Brobecker <brobecker@adacore.com>
14087
14088 * Makefile.in (clean mostlyclean): Do not delete *.py.
14089
04dccad0
JB
140902015-01-13 Joel Brobecker <brobecker@adacore.com>
14091
14092 * gdb.python/py-lookup-type.exp: New file.
14093
3d230f71
PA
140942015-01-12 Pedro Alves <palves@redhat.com>
14095
14096 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14097 restore GDBFLAGS before returning.
14098
7e67715d
JK
140992015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14100
14101 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14102 is_amd64_regs_target and is_x86_like_target.
14103
f2e0d4b4
DE
141042015-01-11 Doug Evans <xdje42@gmail.com>
14105
14106 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14107 is given without an explicit form.
14108 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14109 attributes.
14110 * gdb.dwarf/corrupt.exp: Ditto.
14111 * gdb.dwarf2/enum-type.exp: Ditto.
14112 * gdb.trace/entry-values.exp: Ditto.
14113 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14114
439250fb
DE
141152015-01-11 Doug Evans <xdje42@gmail.com>
14116
14117 PR gdb/15830
14118 * gdb.base/maint.exp: Remove references to "maint demangle".
14119 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14120 Add tests for explicitly specifying language to demangle.
14121 * gdb.dlang/demangle.exp: Ditto.
14122
ede9f622
PA
141232015-01-09 Pedro Alves <palves@redhat.com>
14124
14125 * gdb.threads/non-stop-fair-events.c: New file.
14126 * gdb.threads/non-stop-fair-events.exp: New file.
14127
a7b796db
PA
141282015-01-09 Pedro Alves <palves@redhat.com>
14129
14130 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14131 the global scope. Set a breakpoint after all threads are started
14132 rather than stepping over two source lines. Expect the prompt.
14133 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14134 global.
14135 (NUM): Now 15.
14136 (main): Use threads_started_barrier to wait for all threads to
14137 start. Main thread no longer calls thread_function. Exit after
14138 180 seconds.
14139 (loop): New function.
14140 (thread_function): Wait on threads_started_barrier barrier. Call
14141 'loop' at each iteration.
14142 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14143 threads have started, instead of hardcoding number of "next"
14144 steps. Use an access watchpoint instead of a write watchpoint.
14145
9665ffdd
PA
141462015-01-09 Pedro Alves <palves@redhat.com>
14147
14148 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14149 (thread_func): Wait on barrier.
14150 (main): Wait for all threads to start before stopping GDB.
14151 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14152 global.
14153 (thread1_func, thread2_func): Wait on barrier.
14154 (main): Wait for all threads to start before stopping GDB.
14155 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14156 New global.
14157 (thread1_func, thread2_func): Wait on barrier.
14158 (main): Wait for all threads to start before stopping GDB.
14159
c945a99f
PA
141602015-01-09 Pedro Alves <palves@redhat.com>
14161
14162 * gdb.threads/attach-many-short-lived-threads.c: New file.
14163 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14164
c1a747c1
PA
141652014-01-09 Pedro Alves <palves@redhat.com>
14166
14167 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14168 instead of to thread 2.
14169 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14170 Add barrier around each pthread_create call instead of around all
14171 calls.
14172 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14173 Set a break on thread_function and have the child threads hit it
14174 one at at a time.
14175
60b3033e
PA
141762015-01-09 Pedro Alves <palves@redhat.com>
14177
14178 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14179 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14180 false.
14181 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14182 checking whether the target board is remote.
14183 * gdb.multi/multi-attach.exp: Likewise.
14184 * gdb.python/py-sync-interp.exp: Likewise.
14185 * gdb.server/ext-attach.exp: Likewise.
14186 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14187 tests that need to attach, instead of checking whether the target
14188 board is remote at the top of the file.
14189
acc018ac
YQ
141902015-01-08 Yao Qi <yao@codesourcery.com>
14191
14192 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14193
50a18af8
JK
141942015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14195
14196 Fix testcase compilation.
14197 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14198
8503d6e1
JB
141992015-01-06 Joel Brobecker <brobecker@adacore.com>
14200
14201 * gdb.python/py-type.exp: Add a couple test about empty
14202 array creation, and negative-length array creation.
14203
cc73dbcc
DE
142042015-01-02 Doug Evans <xdje42@gmail.com>
14205
14206 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14207
0300bbc7
DE
142082015-01-02 Doug Evans <dje@google.com>
14209
14210 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14211
9d85a0ec
YQ
142122014-12-29 Yao Qi <yao@codesourcery.com>
14213
14214 * gdb.trace/entry-values.exp: Update comments. Rename variable
14215 bar_call_foo to returned_from_foo.
14216
87186c6a
MMN
142172014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14218
14219 PR gdb/17394
14220 * gdb.linespec/break-asm-file.c: New file.
14221 * gdb.linespec/break-asm-file.exp: New file.
14222 * gdb.linespec/break-asm-file0.s: New file.
14223 * gdb.linespec/break-asm-file1.s: New file.
14224
1bab7383
YQ
142252014-12-18 Nigel Stephens <nigel@mips.com>
14226 Maciej W. Rozycki <macro@codesourcery.com>
14227
14228 * gdb.base/float.exp: Handle the new output from "info float" on
14229 MIPS targets.
14230
1bc1068a
JK
142312014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14232
14233 Fix MinGW compilation.
14234 * gdb.compile/compile-ops.exp: Update untested message if
14235 !skip_compile_feature_tests.
14236 * gdb.compile/compile-setjmp.exp: Likewise.
14237 * gdb.compile/compile-tls.exp: Likewise.
14238 * gdb.compile/compile.exp: Likewise.
14239 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14240 supported on this host".
14241
b6615d10
DE
142422014-12-16 Doug Evans <xdje42@gmail.com>
14243
14244 * boards/stabs.exp: New file.
14245
25dda427
AA
142462014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14247
14248 * gdb.base/completion.exp: Adjust to format changes of "maint
14249 print user-registers".
14250
bf330350
CU
142512014-12-16 Catalin Udma <catalin.udma@freescale.com>
14252
14253 PR server/17457
14254 * gdb.arch/aarch64-fp.c: New file.
14255 * gdb.arch/aarch64-fp.exp: New file.
14256
395cf596
SDJ
142572014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14258
14259 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14260 r210637, r210913, r211666, r215400, r215817).
14261
14262 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14263 * dg-extract-results.py: New file.
14264 * dg-extract-results.sh: Use it if the environment seems
14265 suitable.
14266
14267 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14268
14269 * dg-extract-results.py (parse_run): Handle warnings that
14270 are printed before a test harness is run.
14271
14272 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14273
14274 * dg-extract-results.py (Named): Remove __cmp__ method.
14275 (output_variation): Use a key to sort variation.harnesses.
14276
14277 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14278
14279 * dg-extract-results.py: For Python 3, force sys.stdout to
14280 handle surrogate escape sequences.
14281 (safe_open): New function.
14282 (output_segment, main): Use it.
14283
14284 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14285
14286 * dg-extract-results.py (Prog.result_re): Include options
14287 in test name.
14288
14289 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14290
14291 * dg-extract-results.py (output_variation): Always sort if
14292 do_sum.
14293
e882ef3c
SM
142942014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14295
14296 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14297 as long as we get pagination notifications.
14298
4992aa20
JM
142992014-12-15 Jason Merrill <jason@redhat.com>
14300
14301 * Makefile.in (check-gdb.%): Restore.
14302 * README: Mention it.
14303
c1b5a1a6
JB
143042014-12-13 Joel Brobecker <brobecker@adacore.com>
14305
14306 * gdb.ada/str_uninit: New testcase.
14307
5537b577
JK
143082014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14309
14310 PR symtab/17642
14311 * gdb.base/vla-stub-define.c: New file.
14312 * gdb.base/vla-stub.c: New file.
14313 * gdb.base/vla-stub.exp: New file.
14314
bb2ec1b3
TT
143152014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14316 Jan Kratochvil <jan.kratochvil@redhat.com>
14317 Tom Tromey <tromey@redhat.com>
14318
14319 * configure.ac: Add gdb.compile/.
14320 * configure: Regenerate.
14321 * gdb.compile/Makefile.in: New file.
14322 * gdb.compile/compile-ops.exp: New file.
14323 * gdb.compile/compile-ops.c: New file.
14324 * gdb.compile/compile-tls.c: New file.
14325 * gdb.compile/compile-tls.exp: New file.
14326 * gdb.compile/compile-constvar.S: New file.
14327 * gdb.compile/compile-constvar.c: New file.
14328 * gdb.compile/compile-mod.c: New file.
14329 * gdb.compile/compile-nodebug.c: New file.
14330 * gdb.compile/compile-setjmp-mod.c: New file.
14331 * gdb.compile/compile-setjmp.c: New file.
14332 * gdb.compile/compile-setjmp.exp: New file.
14333 * gdb.compile/compile-shlib.c: New file.
14334 * gdb.compile/compile.c: New file.
14335 * gdb.compile/compile.exp: New file.
14336 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14337
4ff709eb
TT
143382014-12-12 Tom Tromey <tromey@redhat.com>
14339
14340 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14341 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14342
6dddd6a5
DE
143432014-12-12 Doug Evans <dje@google.com>
14344
14345 * lib/gdb-python.exp (get_python_valueof): New function.
14346 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14347
71c24708
AA
143482014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14349
14350 * gdb.base/completion.exp: Add test for completion of "info
14351 registers ".
14352
3e29f34a
MR
143532014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14354
14355 * gdb.base/func-ptrs.c: New file.
14356 * gdb.base/func-ptrs.exp: New file.
14357
fc126975
SM
143582014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14359
14360 PR breakpoints/17012
14361 * gdb.base/dprintf-detach.c: New file.
14362 * gdb.base/dprintf-detach.exp: New file.
14363
0a46d518
SM
143642014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14365
14366 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14367 * lib/gdb.exp (target_is_gdbserver): New procedure.
14368
a0be3e44
DE
143692014-12-08 Doug Evans <dje@google.com>
14370
14371 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14372
df1b803a
YQ
143732014-12-05 Yao Qi <yao@codesourcery.com>
14374
14375 * gdb.guile/scm-error.exp: Remove the third argument to
14376 gdb_remote_download.
14377 * gdb.guile/scm-frame-args.exp: Likewise.
14378 * gdb.guile/scm-section-script.exp: Likewise.
14379
ddb9f679
YQ
143802014-12-05 Yao Qi <yao@codesourcery.com>
14381
14382 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14383
86e4ed39
DE
143842014-12-04 Doug Evans <dje@google.com>
14385
14386 * gdb.python/py-objfile.exp: Add tests for
14387 objfile.add_separate_debug_file.
14388
7c50a931
DE
143892014-12-04 Doug Evans <dje@google.com>
14390
14391 * lib/gdb.exp (get_build_id): New function.
14392 (build_id_debug_filename_get): Rewrite to use it.
14393 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14394
621661e3
MR
143952014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14396
14397 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14398 `method(long)', not just 0x0.
14399 * gdb.cp/nsalias.exp: Align code labels to 4.
14400 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14401 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14402 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14403 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14404 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14405 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14406
29f0c3b7
DE
144072014-12-02 Doug Evans <dje@google.com>
14408
e1e061e7 14409 PR symtab/17602
29f0c3b7 14410 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 14411 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
14412 * gdb.cp/anon-ns.exp: Update.
14413
162078c8
NB
144142014-12-02 Nick Bull <nicholaspbull@gmail.com>
14415
14416 * gdb.python/py-events.py (inferior_call_handler): New.
14417 (register_changed_handler, memory_changed_handler): New.
14418 (test_events.invoke): Register new handlers.
14419 * gdb.python/py-events.exp: Add tests for inferior call,
14420 memory_changed and register_changed events.
14421
fdb09caf
AA
144222014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14423
14424 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14425 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14426 if the linker doesn't understand this.
14427
55cfb2c4
SM
144282014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14429
14430 * gdb.python/python.exp: Change expected reply to help().
14431
9e8cd6df
YQ
144322014-12-01 Yao Qi <yao@codesourcery.com>
14433
14434 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14435 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14436 * configure: Re-generated.
14437
6c659fc2
SC
144382014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14439
14440 * gdb.cp/chained-calls.cc: New file.
14441 * gdb.cp/chained-calls.exp: New file.
14442 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14443
d7fc3181
SM
144442014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14445
14446 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14447 * gdb.dwarf2/symtab-producer.exp: Same.
14448 * gdb.gdb/python-interrupts.exp: Same.
14449 * gdb.gdb/python-selftest.exp: Same.
14450 * gdb.python/py-linetable.exp: Same.
14451 * gdb.python/py-type.exp: Same.
14452 * gdb.python/py-value-cc.exp: Same.
14453 * gdb.python/py-value.exp: Same.
14454
10e79639
YQ
144552014-11-28 Yao Qi <yao@codesourcery.com>
14456
14457 * gdb.base/break-probes.exp: Match library name prefixed with
14458 sysroot.
14459
f28a0564
SM
144602014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14461
14462 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14463 test expected output. Add parentheses for the call to print.
14464 Remove L suffix from integers.
14465
3fe1ce1d
DE
144662014-11-26 Doug Evans <dje@google.com>
14467
14468 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14469
84429e27
YQ
144702014-11-22 Yao Qi <yao@codesourcery.com>
14471
14472 * gdb.trace/entry-values.c: Remove asms.
14473 (foo): Add foo_label.
14474 (bar): Add bar_label.
14475 * gdb.trace/entry-values.exp: Remove code computing foo's
14476 length and bar's length.
14477 (Dwarf::assemble): Invoke function_range for bar and use
14478 MACRO_AT_func for foo.
14479
26741859
YQ
144802014-11-22 Yao Qi <yao@codesourcery.com>
14481
14482 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14483 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14484 Use .Lgcc43_procstart instead of gcc43.
14485
45e44d27
JB
144862014-11-21 Joel Brobecker <brobecker@adacore.com>
14487
14488 * gdb.ada/n_arr_bound: New testcase.
14489
458c8db8
SDJ
144902014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14491
14492 PR breakpoints/10737
14493 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14494 test_catch_syscall_multi_arch.
14495 (test_catch_syscall_multi_arch): New function.
14496
43f3e411
DE
144972014-11-20 Doug Evans <xdje42@gmail.com>
14498
14499 * gdb.base/maint.exp: Update expected output.
14500
0d7b2549
AA
145012014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14502
14503 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14504 4-byte instruction on S390.
14505
8908fca5
JB
145062014-11-19 Joel Brobecker <brobecker@adacore.com>
14507
14508 * gdb.ada/arr_arr: New testcase.
14509
4a46959e
JB
145102014-11-19 Joel Brobecker <brobecker@adacore.com>
14511
14512 * gdb.ada/pkd_arr_elem: New Testcase.
14513
470e2f4e
LM
145142014-11-18 Luis Machado <lgustavo@codesourcery.com>
14515
14516 * gdb.reverse/break-precsave: Expect completion message for
14517 core file reads.
14518 * gdb.reverse/consecutive-precsave.exp: Likewise.
14519 * gdb.reverse/finish-precsave.exp: Likewise.
14520 * gdb.reverse/i386-precsave.exp: Likewise.
14521 * gdb.reverse/machinestate-precsave.exp: Likewise.
14522 * gdb.reverse/sigall-precsave.exp: Likewise.
14523 * gdb.reverse/solib-precsave.exp: Likewise.
14524 * gdb.reverse/step-precsave.exp: Likewise.
14525 * gdb.reverse/until-precsave.exp: Likewise.
14526 * gdb.reverse/watch-precsave.exp: Likewise.
14527
a267f3ad
AA
145282014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14529
14530 * gdb.base/bp-permanent.c: Include unistd.h.
14531 * gdb.python/py-framefilter-mi.c (main): Add return type.
14532 * gdb.python/py-framefilter.c (main): Likewise.
14533 * gdb.trace/actions-changed.c (main): Likewise.
14534
12084a9a
AA
145352014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14536
14537 * gdb.mi/until.c: Add eye-catchers.
14538 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14539 line numbers.
14540
dc7e1a77
AA
145412014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14542
14543 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14544 function header variants in break1.c.
14545 * gdb.base/ena-dis-br.exp: Likewise.
14546 * gdb.base/hbreak2.exp: Likewise.
14547 * gdb.reverse/until-precsave.exp: Drop references to removed
14548 non-prototype function header variants in ur1.c.
14549 * gdb.reverse/until-reverse.exp: Likewise.
14550
41c77605
PM
145512014-11-17 Petr Machata <pmachata@redhat.com>
14552
14553 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14554 ${_cu_offset_size} bytes abbrev offset.
14555
34248c3a
DE
145562014-11-15 Doug Evans <xdje42@gmail.com>
14557
14558 PR symtab/17559
14559 * gdb.base/line-symtabs.exp: New file.
14560 * gdb.base/line-symtabs.c: New file.
14561 * gdb.base/line-symtabs.h: New file.
14562
646da059
YQ
145632014-11-14 Yao Qi <yao@codesourcery.com>
14564
14565 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14566 (func): Add label func_label.
14567 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14568 Replace low_pc and high_pc with MACRO_AT_range.
14569 Replace name, low_pc and high_pc with MACRO_AT_func.
14570
9301ebe6
YQ
145712014-11-14 Yao Qi <yao@codesourcery.com>
14572
14573 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14574 Replace name, low_pc and high_pc with MACRO_AT_func.
14575
f166b542
YQ
145762014-11-14 Yao Qi <yao@codesourcery.com>
14577
14578 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14579 produce debug information.
14580 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14581
0f6e71e3
YQ
145822014-11-14 Yao Qi <yao@codesourcery.com>
14583
14584 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14585 object and get function length.
14586 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14587 with MACRO_AT_func.
14588 (top-level): Replace gdb_compile and clean_restart with
14589 prepare_for_testing.
14590 * gdb.dwarf2/main.c (main): Add label main_label.
14591
876c4df9
YQ
145922014-11-14 Yao Qi <yao@codesourcery.com>
14593
14594 * lib/dwarf.exp (function_range): New procedure.
14595 (Dwarf::_handle_macro_at_func): New procedure.
14596 (Dwarf::_handle_macro_at_range): New procedure.
14597 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14598
02ad9cf1
YQ
145992014-11-14 Yao Qi <yao@codesourcery.com>
14600
14601 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14602 (_handle_attribute): New procedure.
14603
a59add0c
AA
146042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14605
14606 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14607 * gdb.base/call-sc.c (zed): Likewise.
14608 * gdb.base/checkpoint.c (main): Likewise.
14609 * gdb.base/dump.c (main): Likewise.
14610 * gdb.base/gcore.c (main): Likewise.
14611 * gdb.base/huge.c (main): Likewise.
14612 * gdb.base/multi-forks.c (main): Likewise.
14613 * gdb.base/pr10179-a.c (main): Likewise.
14614 * gdb.base/savedregs.c (main): Likewise.
14615 * gdb.base/sigaltstack.c (main): Likewise.
14616 * gdb.base/siginfo.c (main): Likewise.
14617 * gdb.base/structs.c (zed): Likewise.
14618 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14619 * gdb.mi/mi-syn-frame.c (main): Likewise.
14620 * gdb.mi/until.c (foo, main): Likewise.
14621 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14622 * gdb.base/solib-weak.c (foo): Declare.
14623 * gdb.base/attach-twice.c: Include stdio.h.
14624 * gdb.base/weaklib1.c: Likewise.
14625 * gdb.base/weaklib2.c: Likewise.
14626 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14627 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14628 unistd.h.
14629 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14630 * gdb.mi/mi-exit-code.c: Likewise.
14631 * gdb.base/break-interp-lib.c: Include string.h.
14632 * gdb.base/coremaker.c: Likewise.
14633 * gdb.base/testenv.c: Likewise.
14634 * gdb.python/py-finish-breakpoint.c: Likewise.
14635 * gdb.base/inferior-died.c: Include sys/wait.h.
14636 * gdb.base/fileio.c: Include time.h.
14637 * gdb.base/async-shell.c: Include unistd.h.
14638 * gdb.base/dprintf-non-stop.c: Likewise.
14639 * gdb.base/info-os.c: Likewise.
14640 * gdb.mi/mi-console.c: Likewise.
14641 * gdb.mi/watch-nonstop.c: Likewise.
14642 * gdb.python/py-events.c: Likewise.
14643 * gdb.base/async.c (baz): Move up before its invocation.
14644 * gdb.base/code_elim2.c (my_global_func): Likewise.
14645 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14646 * gdb.base/advance.c (func2): Likewise.
14647
3b5d5997
AA
146482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14649
14650 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14651 variant.
14652 * gdb.base/annota3.c: Likewise.
14653 * gdb.base/async.c: Likewise.
14654 * gdb.base/average.c: Likewise.
14655 * gdb.base/call-ar-st.c: Likewise.
14656 * gdb.base/call-rt-st.c: Likewise.
14657 * gdb.base/call-sc.c: Likewise.
14658 * gdb.base/call-strs.c: Likewise.
14659 * gdb.base/ending-run.c: Likewise.
14660 * gdb.base/execd-prog.c: Likewise.
14661 * gdb.base/exprs.c: Likewise.
14662 * gdb.base/foll-exec.c: Likewise.
14663 * gdb.base/foll-fork.c: Likewise.
14664 * gdb.base/foll-vfork.c: Likewise.
14665 * gdb.base/funcargs.c: Likewise.
14666 * gdb.base/gcore.c: Likewise.
14667 * gdb.base/jump.c: Likewise.
14668 * gdb.base/langs0.c: Likewise.
14669 * gdb.base/langs1.c: Likewise.
14670 * gdb.base/langs2.c: Likewise.
14671 * gdb.base/mips_pro.c: Likewise.
14672 * gdb.base/nodebug.c: Likewise.
14673 * gdb.base/opaque0.c: Likewise.
14674 * gdb.base/opaque1.c: Likewise.
14675 * gdb.base/recurse.c: Likewise.
14676 * gdb.base/run.c: Likewise.
14677 * gdb.base/scope0.c: Likewise.
14678 * gdb.base/scope1.c: Likewise.
14679 * gdb.base/setshow.c: Likewise.
14680 * gdb.base/setvar.c: Likewise.
14681 * gdb.base/shmain.c: Likewise.
14682 * gdb.base/shr1.c: Likewise.
14683 * gdb.base/shr2.c: Likewise.
14684 * gdb.base/sigall.c: Likewise.
14685 * gdb.base/signals.c: Likewise.
14686 * gdb.base/so-indr-cl.c: Likewise.
14687 * gdb.base/solib2.c: Likewise.
14688 * gdb.base/structs.c: Likewise.
14689 * gdb.base/sum.c: Likewise.
14690 * gdb.base/vforked-prog.c: Likewise.
14691 * gdb.base/watchpoint.c: Likewise.
14692 * gdb.reverse/shr2.c: Likewise.
14693 * gdb.reverse/until-reverse.c: Likewise.
14694 * gdb.reverse/ur1.c: Likewise.
14695 * gdb.reverse/watch-reverse.c: Likewise.
14696
066a77c5
AA
146972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14698
14699 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14700 variant.
14701 * gdb.base/sepdebug.exp: Drop references to removed code.
14702
4f204ea5
AA
147032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14704
14705 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14706 variant. Preserve original line numbering.
14707 * gdb.base/list1.c: Likewise.
14708
3b377a3a
AA
147092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14710
14711 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14712 variant.
14713 * gdb.base/break1.c: Likewise.
14714 * gdb.base/break.exp: Drop references to removed code.
14715
e444df73
AA
147162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14717
14718 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14719 variant.
14720
8008f2a7
AA
147212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14722
14723 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14724
a5a06887
AA
147252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14726
14727 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14728 logic into perform_all_tests() and invoke it with and without
14729 function header prototypes.
14730 (do_function_calls): Remove conditional XFAIL for PR 5318.
14731 (rerun_and_prepare): Remove duplicate code.
14732 (perform_all_tests): New. Main logic moved here.
14733
44dba9b9
AA
147342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14735
14736 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14737 code guarded by #ifdef NO_PROTOTYPES.
14738 (t_double_many_args): Likewise.
14739 (DEF_FUNC_MANY_ARGS_1): Likewise.
14740 (DEF_FUNC_VALUES_1): Likewise.
14741 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14742 guarded by #ifdef PROTOTYPES.
14743
d1fbcd56
AA
147442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14745
14746 * gdb.mi/mi-console.c: Add eye-catcher.
14747 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14748 instead of literal line number.
14749
b0e59b8f
AA
147502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14751
14752 * gdb.base/shr2.c: Add eye-catcher.
14753 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14754 line number.
14755
78f98cca
AA
147562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14757
14758 * gdb.base/jump.c: Add eye-catchers.
14759 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14760 numbers.
14761
58fa2af0
AA
147622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14763
14764 * gdb.base/execd-prog.c: Add eye-catchers.
14765 * gdb.base/foll-exec.c: Likewise.
14766 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14767 line numbers.
14768
04e5059b
AA
147692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14770
14771 * gdb.base/ending-run.c: Add eye-catchers.
14772 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14773 literal line numbers.
14774
dbfdb174
AA
147752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14776
14777 * gdb.base/call-rt-st.c: Add eye-catchers.
14778 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14779 literal line numbers.
14780
888a2ade
AA
147812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14782
14783 * gdb.base/call-ar-st.c: Add eye-catchers.
14784 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14785 literal line numbers.
14786
6acc2dde
AA
147872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14788
14789 * gdb.base/average.c: Add eye-catchers.
14790 * gdb.base/sum.c: Likewise.
14791 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14792 regexps dynamically.
14793
9ecfcd1d
AA
147942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14795
14796 * gdb.base/solib1.c: Add eye-catchers.
14797 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14798 literal line numbers.
14799
78708b7c
PA
148002014-11-12 Pedro Alves <palves@redhat.com>
14801
14802 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14803 leader has exited.
14804
af48d08f
PA
148052014-11-12 Pedro Alves <palves@redhat.com>
14806
14807 * gdb.arch/i386-bp_permanent.c: New file.
14808 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14809 (srcfile): Set to i386-bp_permanent.c.
14810 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14811 that stepi does not execute the 'leave' instruction, instead of
14812 testing it does execute.
14813 * gdb.base/bp-permanent.c: New file.
14814 * gdb.base/bp-permanent.exp: New file.
14815
af3768e9
DE
148162014-11-10 Doug Evans <xdje42@gmail.com>
14817
14818 PR symtab/17564
14819 * gdb.base/symtab-search-order.exp: New file.
14820 * gdb.base/symtab-search-order.c: New file.
14821 * gdb.base/symtab-search-order-1.c: New file.
14822 * gdb.base/symtab-search-order-shlib-1.c: New file.
14823
9de00a4a
PA
148242014-11-07 Pedro Alves <palves@redhat.com>
14825
14826 PR gdb/17511
14827 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14828 i?86-*-linux*.
14829
e0f52461
SC
148302014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14831
14832 PR c++/17494
14833 * gdb.cp/pr17494.cc: New file.
14834 * gdb.cp/pr17494.exp: New file.
14835
6ce8c980
YQ
148362014-11-02 Yao Qi <yao@codesourcery.com>
14837
14838 * gdb.python/python.exp: Get working directory and match the
14839 output of "set extended-prompt \\w " with it.
14840
02be9a71
DE
148412014-10-30 Doug Evans <dje@google.com>
14842
14843 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14844 in objfiles.
14845 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14846 in progspaces.
14847
3bdff46b
LM
148482014-10-30 Janis Johnson <janisjo@codesourcery.com>
14849
14850 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14851 * gdb.base/realname-expand.exp: Likewise.
14852 * gdb.linespec/macro-relative.exp: Likewise.
14853
ab917dfb
PA
148542014-10-29 Pedro Alves <palves@redhat.com>
14855
14856 PR gdb/17408
14857 * gdb.threads/schedlock.c (some_function): New function.
14858 (call_function): New global.
14859 (MAYBE_CALL_SOME_FUNCTION): New macro.
14860 (thread_function): Call it.
14861 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14862 and use it instead of a global counter. Adjust all callers.
14863 (get_current_thread): Use "find current thread" for test message
14864 here rather than having all callers pass down the same string.
14865 (goto_loop): New procedure, factored out from ...
14866 (my_continue): ... this.
14867 (step_ten_loops): Change parameter from test message to command to
14868 use. Adjust.
14869 (list_count): Delete global.
14870 (check_result): New procedure, factored out from duplicate top
14871 level code.
14872 (continue tests): Wrap in with_test_prefix.
14873 (test_step): New procedure, factored out from duplicate top level
14874 code.
14875 (top level): Test "step" in combination with all scheduler-locking
14876 modes. Test "next" in combination with all scheduler-locking
14877 modes, and in combination with stepping over a function call or
14878 not.
14879 * gdb.threads/next-bp-other-thread.c: New file.
14880 * gdb.threads/next-bp-other-thread.exp: New file.
14881
d3d4baed
PA
148822014-10-29 Pedro Alves <palves@redhat.com>
14883
14884 PR python/17372
14885 * gdb.python/python.exp: Test a multi-line command that spawns
14886 interactive Python.
14887 * gdb.base/multi-line-starts-subshell.exp: New file.
14888
563e8d85
YQ
148892014-10-29 Yao Qi <yao@codesourcery.com>
14890
14891 * gdb.base/fileio.exp: Make directories on host.
14892
0ea4d52e
YQ
148932014-10-29 Yao Qi <yao@codesourcery.com>
14894
14895 * gdb.base/fileio.c (test_write): Close the file.
14896
7f5ef605
PA
148972014-10-28 Pedro Alves <palves@redhat.com>
14898
14899 PR gdb/12623
14900 * gdb.base/sigstep.c (no_handler): New global.
14901 (main): If 'no_handler is true, set the signal handlers to
14902 SIG_IGN.
14903 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14904 with_sw_watch and no_handler parameters. Handle them.
14905 (top level) <stepping over handler when stopped at a breakpoint
14906 test>: Add a test axis for testing with a software watchpoint, and
14907 another for testing with the signal handler set to SIG_IGN.
14908 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14909 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14910
abbdbd03
PA
149112014-10-28 Pedro Alves <palves@redhat.com>
14912
14913 PR gdb/17511
14914 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14915 * gdb.base/sigstep.exp (other_handler_location): New global.
14916 (advance): Support stepping into the signal handler, and running
14917 commands while in the handler.
14918 (in_handler_map): New global.
14919 (top level): In the advance test, add combinations for getting
14920 into the handler with stepping commands, and for running commands
14921 in the handler. Add comment descripting the advancei tests.
14922
1df4399f
PA
149232014-10-28 Pedro Alves <palves@redhat.com>
14924
14925 * gdb.base/sigstep.exp: Use build_executable instead of
14926 prepare_for_testing.
14927 (top level): Move code that starts GDB, runs to main and creates a
14928 display to ...
14929 (restart): ... this new procedure.
14930 (top level): Move backtrace from signal handler test to ...
14931 (validate_backtrace): ... this new procedure.
14932 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14933 with_test_prefix. Always restart GDB.
14934 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14935 with_test_prefix. Always restart GDB. No need to delete
14936 breakpoints after the test.
14937 (test_skip_handler): Remove prefix parameter.
14938 (skip_over_handler, breakpoint_to_handler)
14939 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14940 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14941 restart GDB. No need to delete breakpoints after the test.
14942 (top level): Use foreach to call the test procedures with
14943 different commands.
14944
a5b6e449
PA
149452014-10-28 Pedro Alves <palves@redhat.com>
14946
14947 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14948 instead of GNATS numbers.
14949 * gdb.base/sigbpt.exp: Likewise.
14950 * gdb.base/siginfo.exp: Likewise.
14951 * gdb.base/sigstep.exp: Likewise.
14952
e5f8a7cc
PA
149532014-10-27 Pedro Alves <palves@redhat.com>
14954
14955 * gdb.base/sigstep.c (dummy): New global.
14956 (main): Issue a couple writes to the new global.
14957 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14958 procedures.
14959 (skip_over_handler): Use test_skip_handler.
14960 (top level): Call skip_over_handler for stepi and nexti too.
14961 (breakpoint_over_handler): Use test_skip_handler.
14962 (top level): Call breakpoint_over_handler for stepi and nexti too.
14963
763905a3
YQ
149642014-10-27 Yao Qi <yao@codesourcery.com>
14965
14966 * gdb.trace/tfile.c (adjust_function_address)
14967 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14968 function descriptor.
14969
6f259a23
DB
149702014-10-24 Don Breazeal <donb@codesourcery.com>
14971
14972 * gdb.base/foll-fork.exp (test_follow_fork,
14973 catch_fork_child_follow): Check for updated fork messages emitted
14974 from infrun.c.
14975 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14976 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14977 vfork_and_exec_child_follow_through_step): Check for updated vfork
14978 messages emitted from infrun.c.
14979
09dd9a69
PA
149802014-10-24 Pedro Alves <palves@redhat.com>
14981
14982 * gdb.base/corefile.exp: Remove references to ultrix.
14983 * gdb.base/interrupt.exp: Likewise.
14984 * gdb.base/whatis.exp: Likewise.
14985 * gdb.gdb/selftest.exp: Likewise.
14986 * gdb.threads/manythreads.exp: Likewise.
14987 * gdb.threads/print-threads.exp: Likewise.
14988 * gdb.threads/pthreads.exp:: Likewise.
14989 * gdb.threads/schedlock.exp: Likewise.
14990
3433cfa5
SC
149912014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14992
14993 * gdb.cp/non-trivial-retval.cc: Add a test case.
14994 * gdb.cp/non-trivial-retval.exp: Add a test.
14995
092f880b
YQ
149962014-10-20 Yao Qi <yao@codesourcery.com>
14997
14998 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14999 * gdb.python/py-objfile-script-gdb.py: New file.
15000 * gdb.python/py-objfile-script.exp: Update reference to
15001 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15002 of remote_download. Remove the dest file.
15003
acbdb7f3
YQ
150042014-10-20 Yao Qi <yao@codesourcery.com>
15005
15006 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15007 * gdb.base/step-line.exp: Likewise.
15008 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15009 * gdb.dwarf2/dw2-basic.exp: Likewise.
15010 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15011 * gdb.dwarf2/dw2-filename.exp: Likewise.
15012 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15013 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15014 * gdb.dwarf2/dw2-producer.exp: Likewise.
15015 * gdb.dwarf2/mac-fileno.exp: Likewise.
15016 * gdb.python/py-frame-args.exp: Likewise.
15017 * gdb.python/py-framefilter.exp: Likewise.
15018 * gdb.python/py-mi.exp: Likewise.
15019 * gdb.python/py-objfile-script.exp: Likewise
15020 * gdb.python/py-pp-integral.exp: Likewise.
15021 * gdb.python/py-pp-re-notag.exp: Likewise.
15022 * gdb.python/py-prettyprint.exp: Likewise.
15023 * gdb.python/py-section-script.exp: Likewise.
15024 * gdb.python/py-typeprint.exp: Likewise.
15025 * gdb.python/py-xmethods.exp: Likewise.
15026 * gdb.stabs/weird.exp: Likewise.
15027 * gdb.xml/tdesc-regs.exp: Likewise.
15028
bd286a29
KCY
150292014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15030
15031 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15032 (out_cu): Use addr_len for the size of addresses.
15033 (out_line): Likewise. Size DW_LNE_set_address instruction
15034 according to addr_len.
15035 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15036 (FUNC): Add START_INSNS to definition.
15037
673dc4a0
YQ
150382014-10-18 Yao Qi <yao@codesourcery.com>
15039
15040 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15041 gdb_has_argv0 return true.
15042 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15043 check [target_info exists noargs], check [gdb_has_argv0]
15044 instead.
15045 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15046 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15047 procedures.
15048
4ffbba72
DE
150492014-10-17 Doug Evans <dje@google.com>
15050
15051 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15052 event.
15053 * gdb.python/py-events.py: Add clear_objfiles event.
15054
d096d8c1
DE
150552014-10-17 Doug Evans <dje@google.com>
15056
15057 * gdb.python/py-objfile.exp: Test progspace attribute.
15058
a80db015
LM
150592014-10-17 Luis Machado <lgustavo@codesourcery.com>
15060
15061 * gdb.guile/scm-breakpoint.exp: Do not assume any
15062 directory separators when matching source file paths.
15063 * gdb.python/py-breakpoint.exp: Likewise.
15064 * gdb.reverse/break-precsave.exp: Likewise.
15065 * gdb.reverse/break-reverse.exp: Likewise.
15066 * gdb.reverse/consecutive-precsave.exp: Likewise.
15067 * gdb.reverse/finish-precsave.exp: Likewise.
15068 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15069 * gdb.reverse/finish-reverse.exp: Likewise.
15070 * gdb.reverse/i386-precsave.exp: Likewise.
15071 * gdb.reverse/i387-env-reverse.exp: Likewise.
15072 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15073 * gdb.reverse/machinestate-precsave.exp: Likewise.
15074 * gdb.reverse/machinestate.exp: Likewise.
15075 * gdb.reverse/sigall-precsave.exp: Likewise.
15076 * gdb.reverse/solib-precsave.exp: Likewise.
15077 * gdb.reverse/step-precsave.exp: Likewise.
15078 * gdb.reverse/until-precsave.exp: Likewise.
15079 * gdb.reverse/watch-precsave.exp: Likewise.
15080 * gdb.reverse/watch-reverse.exp: Likewise.
15081
b22089ab
YQ
150822014-10-17 Yao Qi <yao@codesourcery.com>
15083
15084 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15085 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15086
6c4486e6
PA
150872014-10-17 Pedro Alves <palves@redhat.com>
15088
15089 PR gdb/17471
15090 * gdb.base/bg-execution-repeat.c: New file.
15091 * gdb.base/bg-execution-repeat.exp: New file.
15092
0ff33695
PA
150932014-10-17 Pedro Alves <palves@redhat.com>
15094
15095 PR gdb/17300
15096 * gdb.base/continue-all-already-running.c: New file.
15097 * gdb.base/continue-all-already-running.exp: New file.
15098
6fdebc3d
PA
150992014-10-17 Pedro Alves <palves@redhat.com>
15100
15101 PR gdb/17472
15102 * gdb.base/annota-input-while-running.c: New file.
15103 * gdb.base/annota-input-while-running.exp: New file.
15104
32a8097b
PA
151052014-10-17 Pedro Alves <palves@redhat.com>
15106
15107 * gdb.base/callfuncs.exp: emove references to osf.
15108 * gdb.base/sigall.exp: Likewise.
15109 * gdb.gdb/selftest.exp: Likewise.
15110 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15111 * gdb.mi/non-stop.c: Likewise.
15112 * gdb.mi/pthreads.c: Likewise.
15113 * gdb.reverse/sigall-precsave.exp: Likewise.
15114 * gdb.reverse/sigall-reverse.exp: Likewise.
15115 * gdb.threads/pthreads.c: Likewise.
15116 * gdb.threads/pthreads.exp: Likewise.
15117
7a3517ff
YQ
151182014-10-17 Yao Qi <yao@codesourcery.com>
15119
15120 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15121 check 'target_info exists noargs'.
15122 (test_command_prompt_position): Likewise.
15123 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15124 Remove "set args".
15125 (progvar_simple_while_test): Likewise.
15126 (progvar_complex_if_while_test): Likewise.
15127 (if_while_breakpoint_command_test): Likewise.
15128 (infrun_breakpoint_command_test): Likewise.
15129 (breakpoint_command_test): Likewise.
15130 (watchpoint_command_test): Likewise.
15131 (bp_deleted_in_command_test): Likewise.
15132 (temporary_breakpoint_commands): Likewise.
15133
bb99c472
YQ
151342014-10-16 Yao Qi <yao@codesourcery.com>
15135
15136 * gdb.base/remotetimeout.exp: Remove noargs checking.
15137
7c16b83e
PA
151382014-10-15 Pedro Alves <palves@redhat.com>
15139
15140 PR breakpoints/9649
15141 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15142 * gdb.base/breakpoint-in-ro-region.exp
15143 (probe_target_hardware_step): New procedure.
15144 (top level): Probe hardware stepping and hardware breakpoint
15145 support. Test stepping through a read-only region, with both
15146 "breakpoint auto-hw" on and off and both "always-inserted" on and
15147 off.
15148
35a49624
IB
151492014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15150
15151 * gdb.dlang/demangle.exp: Update for demangling changes.
15152
2d1c107c
SC
151532014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15154
15155 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15156 * gdb.cp/non-trivial-retval.exp: Add new tests.
15157
778811d5
SC
151582014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15159
15160 PR c++/13403
15161 PR c++/15154
15162 * gdb.cp/non-trivial-retval.cc: New file.
15163 * gdb.cp/non-trivial-retval.exp: New file.
15164
10c5f0a8
YQ
151652014-10-15 Yao Qi <yao@codesourcery.com>
15166
15167 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15168 remote host.
15169
65d7b369
YQ
151702014-10-15 Yao Qi <yao@codesourcery.com>
15171
15172 * gdb.python/py-symbol.exp: Match file base name if host is
15173 remote, otherwise match file name with dir name.
15174 * gdb.python/py-symtab.exp: Likewise.
15175 * gdb.python/python.exp: Likewise.
15176
46dc1394
YQ
151772014-10-15 Yao Qi <yao@codesourcery.com>
15178
15179 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15180 pattern.
15181 * gdb.python/py-symtab.exp: Likewise.
15182 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15183 locationn.
15184
c40cc657
JB
151852014-10-14 Joel Brobecker <brobecker@adacore.com>
15186
15187 * gdb.ada/addr_arith: New testcase.
15188
2abf49e1
MR
151892014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15190
15191 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15192 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15193 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15194 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15195
f7088df3
SDJ
151962014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15197
15198 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15199 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15200 * gdb.arch/stap-eval-lang-ada.exp: New file.
15201
4dc06805
YQ
152022014-10-14 Yao Qi <yao@codesourcery.com>
15203
15204 * gdb.mi/mi-var-child.c (nothing1): New function.
15205 (nothing2): New function.
15206 (do_children_tests): Set function pointers by nothing1 and
15207 nothing2.
15208 * gdb.mi/mi-var-child.exp: Step over new added statements.
15209 Update test to match the new output.
15210 * gdb.mi/var-cmd.c (nothing1): New function.
15211 (nothing2): New function.
15212 (do_children_tests): Set function pointers by nothing1 and
15213 nothing2.
15214 * gdb.mi/mi-var-display.exp: Update test to match output.
15215 Step to the line specified by $line_dct_nothing.
15216 Increase the number of lines to step.
15217
46a93de2
YQ
152182014-10-14 Yao Qi <yao@codesourcery.com>
15219
15220 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15221 tests.
15222 * gdb.mi/mi2-var-child.exp: Likewise.
15223
14ea52ee
DE
152242014-10-13 Doug Evans <dje@google.com>
15225
15226 * gdb.python/py-objfile.exp: Change name of file name test.
15227
e5c6e92b
DE
152282014-10-13 Doug Evans <dje@google.com>
15229
15230 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15231 from the start of the CU.
15232
c780cc2f
JK
152332014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15234 Yao Qi <yao@codesourcery.com>
15235
15236 Fix "save breakpoints" for "catch" command.
15237 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15238 Remove -nonewline. Match also the added "main" line.
15239
99894e11
JK
152402014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15241
15242 Fix "save breakpoints" for "disable $bpnum" command.
15243 * gdb.base/save-bp.c (main): Add label.
15244 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15245
6e1ac5a3
JK
152462014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15247
15248 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15249
754dd2b0
YQ
152502014-10-11 Yao Qi <yao@codesourcery.com>
15251
15252 * gdb.server/server-kill.exp: Execute command
15253 "set remote trace-status-packet on" before "tstatus".
15254
f90183d7
YQ
152552014-10-11 Yao Qi <yao@codesourcery.com>
15256
15257 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15258 (main): Call getppid.
15259 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15260 and continue to it. Read variable "server_pid".
15261
bf40a607
YQ
152622014-10-11 Yao Qi <yao@codesourcery.com>
15263
15264 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15265
052ca370
YQ
152662014-10-11 Yao Qi <yao@codesourcery.com>
15267
15268 * gdb.threads/thread-find.exp: Don't execute command
15269 "info threads".
15270 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15271 * gdb.threads/linux-dp.exp: Don't check the condition
15272 $threads_created equals to zero.
15273
3831839c
PA
152742014-10-10 Pedro Alves <palves@redhat.com>
15275
15276 * gdb.base/bigcore.exp: Remove references to IRIX.
15277 * gdb.base/funcargs.exp: Likewise.
15278 * gdb.base/interrupt.exp: Likewise.
15279 * gdb.base/mips_pro.exp: Likewise.
15280 * gdb.base/nodebug.exp: Likewise.
15281 * gdb.base/setvar.exp: Likewise.
15282 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15283
8b9a549d
PA
152842014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15285 Pedro Alves <palves@redhat.com>
15286
15287 PR symtab/14466
15288 * gdb.base/vdso-warning.c: New file.
15289 * gdb.base/vdso-warning.exp: New file.
15290
d48ba5e8
DE
152912014-10-02 Doug Evans <dje@google.com>
15292
15293 * gdb.base/structs.c (main): Don't run forever.
15294
2278c276
PA
152952014-10-02 Pedro Alves <palves@redhat.com>
15296
15297 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15298 (top level) <stop threads 1, stop threads 2>: Use it.
15299
b57bacec
PA
153002014-10-02 Pedro Alves <palves@redhat.com>
15301
15302 * gdb.threads/break-while-running.exp (test): Add new
15303 'update_thread_list' argument. Skip "info threads" if false.
15304 (top level): Add new 'update_thread_list' axis.
15305
13fd3ff3
PA
153062014-10-02 Pedro Alves <palves@redhat.com>
15307
15308 PR breakpoints/17431
15309 * gdb.base/execl-update-breakpoints.c: New file.
15310 * gdb.base/execl-update-breakpoints.exp: New file.
15311
0fec99e8
PA
153122014-10-01 Pedro Alves <palves@redhat.com>
15313
15314 * gdb.base/breakpoint-in-ro-region.c: New file.
15315 * gdb.base/breakpoint-in-ro-region.exp: New file.
15316
2ddf4301
SM
153172014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15318
15319 * gdb.mi/mi-exit-code.exp: New file.
15320 * gdb.mi/mi-exit-code.c: New file.
15321
6a5f3f43
YQ
153222014-09-30 Yao Qi <yao@codesourcery.com>
15323
15324 * lib/prelink-support.exp (build_executable_own_libs): Error if
15325 the target isn't native.
15326
345bcc73
YQ
153272014-09-30 Yao Qi <yao@codesourcery.com>
15328
15329 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15330 false.
15331
a25a5a45
PA
153322014-09-22 Pedro Alves <palves@redhat.com>
15333
15334 * gdb.threads/break-while-running.exp: New file.
15335 * gdb.threads/break-while-running.c: New file.
15336
00ba3162
YQ
153372014-09-19 Yao Qi <yao@codesourcery.com>
15338
15339 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15340 Invoke test. Restart GDB with --readnow and invoke test again.
15341
c3b7b696
YQ
153422014-09-19 Yao Qi <yao@codesourcery.com>
15343
15344 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15345 proc set_breakpoint_on_gcd_function. Invoke
15346 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15347 invoke set_breakpoint_on_gcd_function again.
15348
2b4fd423
DE
153492014-09-18 Doug Evans <dje@google.com>
15350
15351 * gdb.dwarf2/symtab-producer.exp: New file.
15352
a5947601
SDJ
153532014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15354
15355 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15356 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15357 * gdb.base/global-var-nested-by-dso.c: Likewise.
15358 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15359
91c19059
SDJ
153602014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15361 Pedro Alves <palves@redhat.com>
15362
15363 * gdb.base/watch-bitfields.exp: Pass string other than test file
15364 name to prepare_for_testing.
15365 (watch): New procedure.
15366 (expect_watchpoint): Use with_test_prefix.
15367 (top level): Factor out tests to ...
15368 (test_watch_location, test_regular_watch): ... these new
15369 procedures, and use with_test_prefix and gdb_continue_to_end.
15370
bb9d5f81
PP
153712014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15372
15373 PR breakpoints/12526
15374 * gdb.base/watch-bitfields.exp: New file.
15375 * gdb.base/watch-bitfields.c: New file.
15376
635856f5
PA
153772014-09-16 Pedro Alves <palves@redhat.com>
15378
15379 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15380 software and hardware addresses, not software address against
15381 itself.
15382
7280ceea
PA
153832014-09-16 Pedro Alves <palves@redhat.com>
15384
15385 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15386 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15387
428b16bd
PA
153882014-09-16 Pedro Alves <palves@redhat.com>
15389
15390 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15391 files.
15392 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15393 "*-*-vxworks*" throughout.
15394 * gdb.base/break.exp: Likewise.
15395 * gdb.base/default.exp: Likewise.
15396 * gdb.base/scope.exp: Likewise.
15397 * gdb.base/sepdebug.exp: Likewise.
15398 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15399 throughout.
15400 * gdb.base/run.c: Likewise.
15401 * gdb.base/sepdebug.c: Likewise.
15402 * gdb.hp/gdb.aCC/run.c: Likewise.
15403 * gdb.reverse/until-reverse.c: Likewise.
15404 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15405
666d413c
YQ
154062014-09-16 Yao Qi <yao@codesourcery.com>
15407
15408 * boards/local-remote-host-native.exp: New file.
15409
57cbd724
DE
154102014-09-14 Doug Evans <xdje42@gmail.com>
15411
15412 * gdb.threads/queue-signal.c (thread_count): New variable.
15413 (thread_count_mutex, thread_count_condvar): New variables.
15414 (incr_thread_count, wait_all_threads_running): New functions.
15415 (main): Wait for all threads to be in their thread functions.
15416
81219e53
DE
154172014-09-13 Doug Evans <xdje42@gmail.com>
15418
15419 * gdb.threads/queue-signal.c: New file.
15420 * gdb.threads/queue-signal.exp: New file.
15421
3714cea7
DE
154222014-09-13 Doug Evans <xdje42@gmail.com>
15423
15424 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15425 be consistent with what default_gdb_init uses.
15426 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15427 the plain text of the prompt. Add some logging printfs.
15428 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15429
fa43b1d7
PA
154302014-09-12 Pedro Alves <palves@redhat.com>
15431
15432 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15433 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15434 * gdb.arch/i386-size-overlap.exp: Likewise.
15435 * gdb.arch/i386-size.exp: Likewise.
15436 * gdb.arch/i386-unwind.exp: Likewise.
15437 * gdb.base/a2-run.exp: Likewise.
15438 * gdb.base/break.exp: Likewise.
15439 * gdb.base/charset.exp: Likewise.
15440 * gdb.base/chng-syms.exp: Likewise.
15441 * gdb.base/commands.exp: Likewise.
15442 * gdb.base/dbx.exp: Likewise.
15443 * gdb.base/find.exp: Likewise.
15444 * gdb.base/funcargs.exp: Likewise.
15445 * gdb.base/jit-simple.exp: Likewise.
15446 * gdb.base/reread.exp: Likewise.
15447 * gdb.base/sepdebug.exp: Likewise.
15448 * gdb.base/step-bt.exp: Likewise.
15449 * gdb.cp/mb-inline.exp: Likewise.
15450 * gdb.cp/mb-templates.exp: Likewise.
15451 * gdb.objc/basicclass.exp: Likewise.
15452 * gdb.threads/killed.exp: Likewise.
15453
9d9bf2df
EBM
154542014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15455
15456 PR tdep/17379
15457 * gdb.arch/powerpc-stackless.S: New file.
15458 * gdb.arch/powerpc-stackless.exp: New file.
15459
1cf2f1b0
JK
154602014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15461
15462 * gdb.base/attach.c: Include unistd.h.
15463 (main): Call alarm. Add label postloop.
15464 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15465 gdb_breakpoint, gdb_continue_to_breakpoint.
15466 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15467
98880d46
PA
154682014-09-11 Pedro Alves <palves@redhat.com>
15469
15470 PR gdb/17347
15471 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15472 * gdb.base/attach.exp (test_command_line_attach_run): New
15473 procedure.
15474 (top level): Call it.
15475
4c92ff2c
PA
154762014-09-11 Pedro Alves <palves@redhat.com>
15477
15478 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15479 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15480 (do_command_attach_tests): Use spawn_wait_for_attach.
15481 * gdb.base/solib-overlap.exp: Likewise.
15482 * gdb.multi/multi-attach.exp: Likewise.
15483 * gdb.python/py-prompt.exp: Likewise.
15484 * gdb.python/py-sync-interp.exp: Likewise.
15485 * gdb.server/ext-attach.exp: Likewise.
15486
3adc1a7d
GKB
154872014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15488
15489 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15490 command in testcase. Simplify testcase.
15491
96334934
JB
154922014-09-10 Joel Brobecker <brobecker@adacore.com>
15493
15494 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15495
eb479039
JB
154962014-09-10 Joel Brobecker <brobecker@adacore.com>
15497
15498 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15499
deede10c
JB
155002014-09-10 Joel Brobecker <brobecker@adacore.com>
15501
15502 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15503
7828a5f5
JB
155042014-09-10 Joel Brobecker <brobecker@adacore.com>
15505
15506 * gdb.dwarf2/dynarr-ptr.c: New file.
15507 * gdb.dwarf2/dynarr-ptr.exp: New file.
15508
33aeebcf
MR
155092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15510
15511 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15512 of 30 rather than hardcoding 120 for a slow test case. Take the
15513 `gdb,timeout' target setting into account for this calculation.
15514 Don't extend the timeout for the test cases that don't need it.
15515
7b415901
MR
155162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15517
15518 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15519 a factor of 2 for a slow test case. Take the `gdb,timeout'
15520 target setting into account for this calculation.
15521 * gdb.reverse/until-precsave.exp: Increase the timeout by
15522 a factor of 15 and 3 respectively rather than adding 120
15523 for a pair of slow test cases. Take the `gdb,timeout'
15524 target setting into account for this calculation.
15525
4a40f85a
MR
155262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15527
15528 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15529 timeout, don't pass one down to gdb_expect.
15530 (gdb_expect): Rework timeout selection.
15531
09635af7
MR
155322014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15533
15534 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15535 exception on timeout.
15536 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15537 (gdbserver_start_extended): Catch any `gdbserver_start' error
15538 exceptions.
15539 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15540 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15541 `gdbserver_gdb_load' error exceptions.
15542
2bdd10b7
MR
155432014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15544
15545 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15546 120 on waiting for the TCP socket to open.
15547
316935f0
DE
155482014-09-09 Doug Evans <xdje42@gmail.com>
15549
15550 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15551 _caller_matches, _any_caller_is, _any_caller_matches.
15552
83740597
DE
155532014-09-09 Doug Evans <xdje42@gmail.com>
15554
15555 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15556
4c122fc3
YQ
155572014-09-09 Yao Qi <yao@codesourcery.com>
15558
15559 * gdb.mi/mi-var-display.exp: Set print symbol off.
15560
a9f116cb
GKB
155612014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15562
15563 PR gdb/17035
15564 * gdb.base/commands.exp: Add tests to verify user-defined
15565 commands with empty bodies.
15566 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15567 python commands in `show user command`.
15568 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15569 scheme commands in `show user command`.
15570
c75bd3a2
JK
155712014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15572
15573 PR python/17355
15574 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15575 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15576 * gdb.python/py-framefilter-invalidarg.exp: New file.
15577 * gdb.python/py-framefilter-invalidarg.py: New file.
15578
faa42425
DE
155792014-09-06 Doug Evans <xdje42@gmail.com>
15580
15581 PR 15276
15582 * gdb.python/py-caller-is.c: New file.
15583 * gdb.python/py-caller-is.exp: New file.
15584
474ca4f6
SDJ
155852014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15586
15587 PR gdb/17235
15588 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15589 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15590
eb0b0463
SDJ
155912014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15592
15593 PR fortran/17237
15594 * gdb.fortran/print-formatted.exp: New file.
15595 * gdb.fortran/print-formatted.f90: Likewise.
15596
5f3b99cf
SS
155972014-09-03 Sasha Smundak <asmundak@google.com>
15598
15599 * gdb.python/py-frame.exp: Test Frame.read_register.
15600
7d793aa9
SDJ
156012014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15602
15603 PR python/16699
15604 * gdb.python/py-completion.exp: New file.
15605 * gdb.python/py-completion.py: Likewise.
15606
fb0576e9
DE
156072014-08-28 Doug Evans <dje@google.com>
15608
15609 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15610 eax,etc. are live with values set by gdb and thus the compiler can't
15611 use them.
15612 * gdb.arch/i386-pseudo.c (main): Ditto.
15613
ee92b0dd
DE
156142014-08-27 Doug Evans <dje@google.com>
15615
15616 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15617
6649db35
DE
156182014-08-25 Doug Evans <dje@google.com>
15619
15620 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15621 (main): Ditto.
15622
564b7600
DE
156232014-08-25 Doug Evans <dje@google.com>
15624
15625 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15626
3881fb67
YQ
156272014-08-24 Yao Qi <yao@codesourcery.com>
15628
15629 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15630 symbol off.
15631 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15632
a05a36a5
DE
156332014-08-22 Doug Evans <dje@google.com>
15634
15635 PR 17276
15636 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15637 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15638 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15639
7c343b48
YQ
156402014-08-22 Yao Qi <yao@codesourcery.com>
15641
15642 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15643 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15644 * gdb.python/python.exp: Likewise. Use .py file on the host
15645 instead of the build.
15646
22fd09ae
JK
156472014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15648
15649 * gdb.threads/gcore-stale-thread.c: New file.
15650 * gdb.threads/gcore-stale-thread.exp: New file.
15651
a8454a7c
PA
156522014-08-21 Pedro Alves <palves@redhat.com>
15653
15654 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15655 * gdb.base/gcore-relro-pie.exp: Likewise.
15656 * gdb.base/gcore-relro.exp: Likewise.
15657 * gdb.base/gcore.exp: Likewise.
15658 * gdb.base/print-symbol-loading.exp: Likewise.
15659 * gdb.threads/gcore-thread.exp: Likewise.
15660 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15661
2a31c623
PA
156622014-08-20 Pedro Alves <palves@redhat.com>
15663 Jan Kratochvil <jan.kratochvil@redhat.com>
15664
15665 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15666 configure.
15667 (EXPECT): Handle READ1 being set.
15668 (all): Depend on EXTRA_RULES.
15669 (check-read1, expect-read1, read1.so, read1): New rules.
15670 * README (Testsuite Parameters): Document the READ1 make variable.
15671 (Race detection): New section.
15672 * configure: Regenerate.
15673 * configure.ac: If build==host==target, and running under a
15674 GNU/glibc system, add read1 to the extra Makefile rules.
15675 (EXTRA_RULES): AC_SUBST it.
15676 * lib/read1.c: New file.
15677
d36430db
JB
156782014-08-20 Joel Brobecker <brobecker@adacore.com>
15679
15680 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15681 the handling of variables declared as a typedef to an array
15682 which a DW_AT_data_location attribute.
15683
9a0dc9e3
PA
156842014-08-19 Andrew Burgess <aburgess@broadcom.com>
15685 Pedro Alves <palves@redhat.com>
15686
15687 PR symtab/14604
15688 PR symtab/14605
15689 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15690 gdb_test.
15691
0718a8da
PA
156922014-08-19 Pedro Alves <palves@redhat.com>
15693
15694 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15695
13b448cd
YQ
156962014-08-19 Yao Qi <yao@codesourcery.com>
15697
15698 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15699 right line.
15700
1cbf5077
DB
157012014-08-18 David Blaikie <dblaikie@gmail.com>
15702
15703 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15704
bf0fae19
JB
157052014-08-18 Joel Brobecker <brobecker@adacore.com>
15706
15707 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15708 attribute in array range.
15709
3c8c5dcc
JB
157102014-08-18 Joel Brobecker <brobecker@adacore.com>
15711
15712 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15713
e66d4446
SC
157142014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15715
15716 PR c++/17132
15717 * gdb.cp/pr17132.cc: New file.
15718 * gdb.cp/pr17132.exp: New file.
15719
940df408
SC
157202014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15721
15722 * gdb.python/py-xmethods.py (A_getarrayind)
15723 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15724 Use 'print' with function call syntax.
15725 (E_method_matcher.match): Fix tab vs space indentation mixup.
15726
ebcc6c3a
YQ
157272014-08-15 Yao Qi <yao@codesourcery.com>
15728
15729 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15730 false.
15731
775e0f04
YQ
157322014-08-15 Yao Qi <yao@codesourcery.com>
15733
15734 * gdb.cp/casts.exp: Set print symbol off.
15735 * gdb.cp/class2.exp: Likewise.
15736 * gdb.cp/overload.exp: Likewise.
15737 * gdb.cp/templates.exp: Likewise.
15738
d769e349
DE
157392014-08-11 Doug Evans <dje@google.com>
15740
15741 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15742 (test_load_shlib): Update.
15743
20c6f1e1
YQ
157442014-08-09 Yao Qi <yao@codesourcery.com>
15745
15746 * gdb.base/display.exp: Invoke is_address_zero_readable.
15747 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15748 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15749 * gdb.base/hbreak-unmapped.exp: Return if
15750 is_address_zero_readable returns true.
15751 * gdb.base/signest.exp: Likewise.
15752 * gdb.base/signull.exp: Likewise.
15753 * gdb.base/sigbpt.exp: Likewise.
15754 * gdb.guile/scm-disasm.exp: Do the test if
15755 is_address_zero_readable returns false.
15756 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15757 * gdb.python/py-arch.exp: Likewise.
15758 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15759 * lib/gdb.exp (is_address_zero_readable): New proc.
15760
5792e8e3
YQ
157612014-08-09 Yao Qi <yao@codesourcery.com>
15762
15763 PR testsuite/13443
15764 * gdb.mi/mi-var-display.exp: Make test messages unique.
15765
3cecbbbe
TT
157662014-08-04 Tom Tromey <tromey@redhat.com>
15767
15768 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15769 target 0".
15770
00b51ff5
TT
157712014-08-04 Tom Tromey <tromey@redhat.com>
15772
15773 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15774 "target_resume".
15775
6908c509
JB
157762014-08-01 Joel Brobecker <brobecker@adacore.com>
15777
15778 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15779 inner_vla_struct_object_size.
15780 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15781 as xfail.
15782
cc6563d2
PA
157832014-07-30 Pedro Alves <palves@redhat.com>
15784
15785 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15786 comment.
15787
7e09a223
YQ
157882014-07-29 Yao Qi <yao@codesourcery.com>
15789
15790 PR gdb/17206
15791 * gdb.base/until-nodebug.exp: New.
15792
7ebdbe92
DE
157932014-07-28 Doug Evans <xdje42@gmail.com>
15794
15795 PR guile/17203
15796 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15797 previously existing parameter, and previously ambiguously spelled
15798 parameter.
15799
fdb1adc6
WN
158002014-07-28 Will Newton <will.newton@linaro.org>
15801
15802 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15803
186fcde0
DE
158042014-07-26 Ludovic Courtès <ludo@gnu.org>
15805 Doug Evans <xdje42@gmail.com>
15806
15807 PR guile/17146
15808 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15809
70509625
PA
158102014-07-25 Pedro Alves <palves@redhat.com>
15811
15812 * gdb.threads/signal-command-handle-nopass.c: New file.
15813 * gdb.threads/signal-command-handle-nopass.exp: New file.
15814 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15815 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15816 * gdb.threads/signal-delivered-right-thread.c: New file.
15817 * gdb.threads/signal-delivered-right-thread.exp: New file.
15818
c3f814a1
PA
158192014-07-25 Pedro Alves <palves@redhat.com>
15820
15821 * gdb.base/double-prompt-target-event-error.exp
15822 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15823 match.
15824 (cancel_pagination_in_target_event): Rework double prompt
15825 detection.
15826 * gdb.base/paginate-after-ctrl-c-running.exp
15827 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15828 <return>' match.
15829 * gdb.base/paginate-bg-execution.exp
15830 (test_bg_execution_pagination_return)
15831 (test_bg_execution_pagination_cancel): Remove '-notransfer
15832 <return>' matches.
15833 * gdb.base/paginate-execution-startup.exp
15834 (test_fg_execution_pagination_return)
15835 (test_fg_execution_pagination_cancel): Remove '-notransfer
15836 <return>' matches.
15837 * gdb.base/paginate-inferior-exit.exp
15838 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15839 match.
15840 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15841 * lib/gdb.exp (pagination_prompt): Run text through
15842 string_to_regexp.
15843 (gdb_test_multiple): Match $pagination_prompt instead of
15844 "<return>".
15845 (string_to_regexp): Move to lib/gdb-utils.exp.
15846
e214cf6c
JK
158472014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15848
15849 * gdb.arch/amd64-entry-value-paramref.S: New file.
15850 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15851 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15852 * gdb.arch/amd64-optimout-repeat.S: New file.
15853 * gdb.arch/amd64-optimout-repeat.c: New file.
15854 * gdb.arch/amd64-optimout-repeat.exp: New file.
15855
17d0c5c8
JK
158562014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15857
15858 PR gdb/17170
15859 * gdb.base/statistics.exp: New file.
15860
b8b8facf
DE
158612014-07-17 Doug Evans <dje@google.com>
15862
74b49205 15863 PR gdb/17170
b8b8facf
DE
15864 * gdb.base/maint.exp: Update testing of per-command stats.
15865
1b5d0ab3
PA
158662014-07-16 Pedro Alves <palves@redhat.com>
15867
15868 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15869 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15870 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15871 (tfile_write_buf): New functions.
15872 (add_memory_block): Rewrite using the above.
15873 (adjust_function_address): New function.
15874 (FUNCTION_ADDRESS): New macro.
15875 (write_basic_trace_file): Remove short_x local, and use
15876 tfile_write_16. Change type of func_addr local to unsigned long
15877 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15878 here. Cast argument of add_memory_block to char pointer.
15879 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15880 (main): Remove parameters.
15881 * gdb.trace/tfile.exp: Remove nowarnings.
15882
4d974e88
SM
158832014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15884
15885 * gdb.base/debug-expr.exp: Test string evaluation with
15886 "debug expression" on.
15887
41e99568
PA
158882014-07-15 Pedro Alves <palves@redhat.com>
15889
15890 * gdb.base/reread.exp: Use clean_restart.
15891
487d9753
PL
158922014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15893
15894 * gdb.arch/avr-flash-qualifer.c: New.
15895 * gdb.arch/avr-flash-qualifer.exp: New.
15896
cc1c52ad
PA
158972014-07-14 Pedro Alves <palves@redhat.com>
15898
15899 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15900 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15901
1e973570
PA
159022014-07-14 Pedro Alves <palves@redhat.com>
15903
15904 * gdb.base/double-prompt-target-event-error.c: New file.
15905 * gdb.base/double-prompt-target-event-error.exp: New file.
15906
93d6eb10
PA
159072014-07-14 Pedro Alves <palves@redhat.com>
15908
15909 PR gdb/17072
15910 * gdb.base/paginate-inferior-exit.c: New file.
15911 * gdb.base/paginate-inferior-exit.exp: New file.
15912
0017922d
PA
159132014-07-14 Pedro Alves <palves@redhat.com>
15914
15915 PR gdb/17072
15916 * gdb.base/paginate-bg-execution.c: New file.
15917 * gdb.base/paginate-bg-execution.exp: New file.
15918
94696ad3
PA
159192014-07-14 Pedro Alves <palves@redhat.com>
15920
15921 PR gdb/17072
15922 * gdb.base/paginate-execution-startup.c: New file.
15923 * gdb.base/paginate-execution-startup.exp: New file.
15924 * lib/gdb.exp (pagination_prompt): New global.
15925 (default_gdb_spawn): New procedure, factored out from
15926 default_gdb_spawn.
15927 (default_gdb_start): Adjust to call default_gdb_spawn.
15928 (gdb_spawn): New procedure.
15929
bd293940
PA
159302014-07-14 Pedro Alves <palves@redhat.com>
15931
15932 * lib/gdb.exp (gdb_assert): New procedure.
15933 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15934
c933f875
PA
159352014-07-14 Pedro Alves <palves@redhat.com>
15936
15937 * gdb.base/execution-termios.c: New file.
15938 * gdb.base/execution-termios.exp: New file.
15939
d98b7a16
TT
159402014-07-14 Tom Tromey <tromey@redhat.com>
15941
15942 * gdb.cp/vla-cxx.cc: New file.
15943 * gdb.cp/vla-cxx.exp: New file.
15944
548740d6
TT
159452014-07-14 Tom Tromey <tromey@redhat.com>
15946
15947 * gdb.reverse/rerun-prec.c: New file.
15948 * gdb.reverse/rerun-prec.exp: New file.
15949
a25eb028
MR
159502014-07-12 Maciej W. Rozycki <macro@mips.com>
15951 Maciej W. Rozycki <macro@codesourcery.com>
15952
15953 * lib/gdb-utils.exp: New file.
15954 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15955 inline `gdb_init_command' processing.
15956 (gdb_start_cmd): Likewise.
15957 * lib/mi-support.exp (mi_run_cmd): Likewise.
15958 * README: Document `gdb_init_command' and `gdb_init_commands'.
15959
218c2655
JK
159602014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15961
15962 Fix false FAIL running under a very long directory name.
15963 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15964 and "set print elements 10000". Twice.
15965
5401fde3
YQ
159662014-07-11 Yao Qi <yao@codesourcery.com>
15967
15968 * gdb.base/exprs.exp: "set print symbol off".
15969
e76126e8
PA
159702014-07-11 Pedro Alves <palves@redhat.com>
15971
15972 * gdb.threads/kill.c: New file.
15973 * gdb.threads/kill.exp: New file.
15974
2d6f0de6
YQ
159752014-07-10 Yao Qi <yao@codesourcery.com>
15976
15977 * gdb.trace/tfile.c (write_basic_trace_file)
15978 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15979 address written to trace file.
15980
7180e04a
PA
159812014-07-09 Pedro Alves <palves@redhat.com>
15982
15983 * gdb.base/attach-wait-input.exp: New file.
15984 * gdb.base/attach-wait-input.c: New file.
15985
9a9a7608
AB
159862014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15987
15988 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15989 setting up test structures.
15990 (main): Call new test function.
15991 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15992 test function, continue into test function and walk test
15993 structures.
15994
161ac41e
YQ
159952014-07-02 Yao Qi <yao@codesourcery.com>
15996
15997 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15998 'bar_start' at the beginning of functions 'foo' and 'bar'
15999 respectively.
16000 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16001 instead of 'foo' and 'bar'.
16002
1f267ae3
MM
160032014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16004
16005 * gdb.btrace/segv.exp: New.
16006 * gdb.btrace/segv.c: New.
16007
2b239efb
LM
160082014-07-02 Luis Machado <lgustavo@codesourcery.com>
16009
16010 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16011 instruction.
16012
cf363f18
MW
160132014-06-30 Mark Wielaard <mjw@redhat.com>
16014
16015 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16016 vulture, vilify, villar): New volatile array constants.
16017 (vindictive, vegetation): New const volatile array constants.
16018 * gdb.base/volatile.exp: Test volatile and const volatile array
16019 types.
16020
aebf9d24
AA
160212014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16022
16023 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16024 target lacks support for awatch, rwatch, or hbreak.
16025
b67a2c6f
YQ
160262014-06-27 Yao Qi <yao@codesourcery.com>
16027
16028 * gdb.multi/dummy-frame-restore.exp: New.
16029 * gdb.multi/dummy-frame-restore.c: New.
16030
aef92902
MM
160312014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16032
16033 * gdb.btrace/gcore.exp: New.
16034
8e9db26e
PA
160352014-06-23 Pedro Alves <palves@redhat.com>
16036
16037 * gdb.base/watchpoint-reuse-slot.c: New file.
16038 * gdb.base/watchpoint-reuse-slot.exp: New file.
16039
70afc5b7
SC
160402014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16041
16042 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16043 progspace's filename in 'info', 'enable' and 'disable' command
16044 tests.
16045
b972bd9c
JK
160462014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16047
16048 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16049 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16050 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16051
125f8a3d
GB
160522014-06-20 Gary Benson <gbenson@redhat.com>
16053
16054 * gdb.arch/i386-avx.exp: Fix include file location.
16055 * gdb.arch/i386-sse.exp: Likewise.
16056
3ed9baed
IB
160572014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16058
16059 * gdb.dlang/expression.exp: New file.
16060
034f788c
PA
160612014-06-19 Pedro Alves <palves@redhat.com>
16062
16063 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16064 out from ...
16065 (top level): ... here. Iterate running tests under different
16066 scheduler-locking settings.
16067
45371d0c
LM
160682014-06-18 Luis Machado <lgustavo@codesourcery.com>
16069
16070 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16071 to DW_FORM_addr and use non-zero addresses.
16072
5d376983
SC
160732014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16074
16075 PR gdb/17017
16076 * gdb.python/py-xmethods.cc: Add global function call counters and
16077 increment them in their respective functions. Remove "cout"
16078 statements.
16079 * gdb.python/py-xmethods.exp: Make tests check the global function
16080 call counters instead of depending on inferior IO.
16081
a1aa2221
LM
160822014-06-18 Don Breazeal <donb@codesourcery.com>
16083
16084 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16085 Deleted procedure.
16086 (explicit_fork_parent_follow): Deleted procedure.
16087 (explicit_fork_child_follow): Deleted procedure.
16088 (test_follow_fork): New procedure.
16089 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 16090 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
16091 procedure calls.
16092
0fc05997
YQ
160932014-06-17 Yao Qi <yao@codesourcery.com>
16094
16095 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16096 CP1252.
16097
70795c52
LM
160982014-06-17 Luis Machado <lgustavo@codesourcery.com>
16099
16100 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16101 Initialize ptr and S explicitly.
16102 (skip_type_update_when_not_use_rtti_test): Likewise.
16103
6be47f0c
KS
161042014-06-16 Keith Seitz <keiths@redhat.com>
16105
16106 PR mi/15863
16107 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16108 the inferior is started.
16109
d03de421
PA
161102014-06-16 Pedro Alves <palves@redhat.com>
16111
16112 * gdb.base/break-main-file-remove-fail.c: New file.
16113 * gdb.base/break-main-file-remove-fail.exp: New file.
16114 * gdb.base/break-unload-file.exp: Use build_executable instead of
16115 prepare_for_testing.
16116 (test_break): New parameter "initial_load". Handle it.
16117 (top level): Add initial_load cmdline/file axis.
16118
f9579b99
TT
161192014-06-12 Tom Tromey <tromey@redhat.com>
16120
16121 * gdb.base/completion.exp: Don't use directory name in test.
16122
3657956b
GB
161232014-06-09 Gary Benson <gbenson@redhat.com>
16124
16125 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16126 separate the always-available ANSI-standard signals from the
16127 signals that require checking.
16128 (main): Likewise.
16129 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16130 Likewise.
16131 (main): Likewise.
16132
4186eb54
KS
161332014-06-07 Keith Seitz <keiths@redhat.com>
16134
16135 Revert:
16136 PR c++/16253
16137 * gdb.cp/var-tag.cc: New file.
16138 * gdb.cp/var-tag.exp: New file.
16139 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16140 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16141 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16142 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16143
25326a28 161442014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
16145
16146 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16147
829155c9
PA
161482014-06-06 Pedro Alves <palves@redhat.com>
16149
16150 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16151 in target debug output instead of looking at RSP packets,
16152 disabling the test on any target that uses hardware stepping.
16153 Update comments.
16154
61c8d22e
PA
161552014-06-06 Pedro Alves <palves@redhat.com>
16156
16157 * gdb.base/break-unload-file.exp: Fix typo.
16158
d9a47287
YQ
161592014-06-06 Yao Qi <yao@codesourcery.com>
16160
16161 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16162 from "jit_function" to "^jit_function".
16163
e5e01dbf
YQ
161642014-06-06 Yao Qi <yao@codesourcery.com>
16165
16166 * gdb.base/async.c (foo): Add one statement.
16167 * gdb.base/async.exp: Get the next instruction address and
16168 match the output of "nexti" by instruction address. Match
16169 the hex address in the output of "finish".
16170
73ba372c
GB
161712014-06-06 Gary Benson <gbenson@redhat.com>
16172
16173 * gdb.base/call-signals.c: Remove preprocessor conditionals
16174 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16175 SIGSEGV and SIGTERM.
16176 * gdb.base/sigall.c: Likewise.
16177 * gdb.base/unwindonsignal.c: Likewise.
16178 * gdb.reverse/sigall-reverse.c: Likewise.
16179
831517df
YQ
161802014-06-06 Yao Qi <yao@codesourcery.com>
16181
16182 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16183 readable, skip the test.
16184
b8b91e98
YQ
161852014-06-06 Yao Qi <yao@codesourcery.com>
16186
16187 * gdb.threads/staticthreads.c (thread_function): Move the line
16188 setting breakpoint on forward.
16189 * gdb.threads/staticthreads.exp: Update comments.
16190
fb934770
LC
161912014-06-05 Ludovic Courtès <ludo@gnu.org>
16192
16193 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16194 "history-append! type error".
16195
6ef284bd
SM
161962014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16197
16198 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16199 erroneous dprintf expected input.
16200
a872e241
DE
162012014-06-04 Doug Evans <xdje42@gmail.com>
16202
16203 * gdb.guile/scm-generics.exp: Delete.
16204
16f691fb
DE
162052014-06-04 Doug Evans <xdje42@gmail.com>
16206
16207 * gdb.guile/scm-breakpoint.exp: Update.
16208 Add tests for breakpoint registration.
16209
012370f6
TT
162102014-06-04 Tom Tromey <tromey@redhat.com>
16211
16212 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16213 VLA-in-union.
16214 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16215 inner_vla_struct, vla_union types. Initialize objects of those
16216 types and compute their sizes.
16217
9f5a4cef
HZ
162182014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16219 Hui Zhu <hui@codesourcery.com>
16220
16221 * gdb.base/fileio.exp: Add test for shell not available as well as
16222 available.
16223 * gdb.base/fileio.c (test_system): Check for shell twice.
16224
90a45c4d
YQ
162252014-06-04 Yao Qi <yao@codesourcery.com>
16226
16227 * gdb.base/auto-connect-native-target.exp: Remove redundant
16228 space from the regexp pattern.
16229
70017e41
YQ
162302014-06-04 Yao Qi <yao@codesourcery.com>
16231
16232 * gdb.base/default.exp: Replace "child" with "native" in
16233 regexp pattern.
16234
883964a7
SC
162352014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16236
16237 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16238 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16239 * gdb.python/py-xmethods.py: Python script supporting the
16240 new testcase and tests.
16241
ef370185
JB
162422014-06-03 Joel Brobecker <brobecker@adacore.com>
16243 Pedro Alves <palves@redhat.com>
16244
16245 PR breakpoints/17000
16246 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16247 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16248
1e2ccb61
BM
162492014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16250
16251 * gdb.base/subst.exp: Add tests to verify partial path matching
16252 output.
16253
c6ec5ab2
PA
162542014-06-03 Pedro Alves <palves@redhat.com>
16255
16256 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16257 target that doesn't use software single-stepping.
16258
835c559f
PA
162592014-06-03 Pedro Alves <palves@redhat.com>
16260
16261 PR breakpoints/17000
16262 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16263 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16264
06eb1586
DE
162652014-06-02 Doug Evans <xdje42@gmail.com>
16266
16267 * gdb.guile/scm-parameter.exp: New file.
16268
e698b8c4
DE
162692014-06-02 Doug Evans <xdje42@gmail.com>
16270
16271 * gdb.guile/scm-cmd.c: New file.
16272 * gdb.guile/scm-cmd.exp: New file.
16273
ded03782
DE
162742014-06-02 Doug Evans <xdje42@gmail.com>
16275
16276 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16277 pretty-printer lookup.
16278 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16279 (make-pp_s-printer): Call it.
16280 (make-pretty-printer-from-dict): New function.
16281 (lookup-pretty-printer-maker-from-dict): New function.
16282 (*pretty-printer*): Simplify.
16283 (make-objfile-pp_s-printer): New function.
16284 (install-objfile-pretty-printers!): New function.
16285 (make-progspace-pp_s-printer): New function.
16286 (install-progspace-pretty-printers!): New function.
16287 * gdb.guile/scm-progspace.c: New file.
16288 * gdb.guile/scm-progspace.exp: New file.
16289
41fac0cf
PA
162902014-06-02 Pedro Alves <palves@redhat.com>
16291
16292 * gdb.base/dprintf-bp-same-addr.c: New file.
16293 * gdb.base/dprintf-bp-same-addr.exp: New file.
16294
96ae5695
EBM
162952014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16296
16297 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16298 * gdb.arch/powerpc-power.s: Likewise.
16299
da02b3a8
JB
163002014-06-02 Joel Brobecker <brobecker@adacore.com>
16301
16302 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16303
c72b2e7b
YQ
163042014-06-01 Yao Qi <yao@codesourcery.com>
16305
16306 * gdb.base/watchpoint.exp (test_watch_location): Check null
16307 pointer can be dereferenced. If not, do the test, otherwise
16308 skip it.
16309
53e8a631
AB
163102014-05-30 Andrew Burgess <aburgess@broadcom.com>
16311
16312 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16313 results.
16314 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16315
938f0e2f
AB
163162014-05-30 Andrew Burgess <aburgess@broadcom.com>
16317
16318 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16319 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16320 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16321 * gdb.arch/amd64-invalid-stack-top.c: New file.
16322 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16323
9ba6657a
PA
163242014-05-30 Pedro Alves <palves@redhat.com>
16325
16326 PR breakpoints/17000
16327 * gdb.base/sss-bp-on-user-bp.c: New file.
16328 * gdb.base/sss-bp-on-user-bp.exp: New file.
16329
522c09bf
DB
163302014-05-30 David Blaikie <dblaikie@gmail.com>
16331
16332 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16333 gnu_inline semantics via attribute.
16334 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16335 source explicitly specifies the required semantics.
16336
bf4ef81e
MR
163372014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16338
16339 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16340
329ea579
PA
163412014-05-29 Pedro Alves <palves@redhat.com>
16342 Tom Tromey <tromey@redhat.com>
16343
16344 * gdb.base/async-shell.exp: Don't enable target-async.
16345 * gdb.base/async.exp
16346 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16347 parameter. Adjust.
16348 (top level): Don't test with "target-async".
16349 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16350 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16351 * gdb.base/inferior-died.exp: Don't enable target-async.
16352 * gdb.base/interrupt-noterm.exp: Likewise.
16353 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16354 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16355 * gdb.mi/mi-nonstop.exp: Likewise.
16356 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16357 * gdb.mi/mi-nsintrall.exp: Likewise.
16358 * gdb.mi/mi-nsmoribund.exp: Likewise.
16359 * gdb.mi/mi-nsthrexec.exp: Likewise.
16360 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16361 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16362 * gdb.python/py-evsignal.exp: Don't enable target-async.
16363 * gdb.python/py-evthreads.exp: Likewise.
16364 * gdb.python/py-prompt.exp: Likewise.
16365 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16366 * gdb.server/solib-list.exp: Don't enable target-async.
16367 * gdb.threads/thread-specific-bp.exp: Likewise.
16368 * lib/mi-support.exp: Adjust to use mi-async.
16369
fd664c91
PA
163702014-05-29 Pedro Alves <palves@redhat.com>
16371
16372 PR gdb/13860
16373 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16374 reason, even in sync mode.
16375
251bde03
PA
163762014-05-29 Pedro Alves <palves@redhat.com>
16377 Hui Zhu <hui@codesourcery.com>
16378
16379 PR PR15693
16380 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16381 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16382 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16383 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16384
7f3c0343
JB
163852014-05-28 Joel Brobecker <brobecker@adacore.com>
16386
16387 * config/monitor.exp (gdb_target_monitor): Replace use of
16388 "set remotebaud" by "set serial baud".
16389
b2715b27
AW
163902014-05-26 Andy Wingo <wingo@igalia.com>
16391
16392 * gdb.guile/scm-breakpoint.exp:
16393 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16394 properties instead of gdb-object-properties.
16395
498a4489
YQ
163962014-05-26 Yao Qi <yao@codesourcery.com>
16397
16398 * gdb.server/no-thread-db.exp: Specify source file name
16399 explicitly when setting a breakpoint.
16400
589fdceb
MM
164012014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16402
16403 * gdb.btrace/vdso.c: New.
16404 * gdb.btrace/vdso.exp: New.
16405
e9089e05
MM
164062014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16407
16408 * gdb.base/gcore.exp (capture_command_output): Move ...
16409 * lib/gdb.exp (capture_command_output): ... here.
16410
67b5c0c1
MM
164112014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16412
16413 * gdb.btrace/data.exp: Test memory access during btrace replay.
16414
a2199296
SM
164152014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16416
16417 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16418
17b2616c
PA
164192014-05-21 Pedro Alves <palves@redhat.com>
16420
16421 PR gdb/13860
16422 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16423 (top level): Test that output related to execution commands is
16424 sent to the console with CLI commands, but not with MI commands.
16425 Test that breakpoint events are always mirrored to the console.
16426 Also expect the new source line to be output after a "next" in
16427 async mode too. Make it a pass/fail test.
16428 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16429 output.
16430 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16431
5166082f
PA
164322014-05-21 Pedro Alves <palves@redhat.com>
16433
16434 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16435 Use them to test variations of "list" after reaching a breakpoint.
16436 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16437 Test "list" with listsize 10 after reaching a breakpoint.
16438 * gdb.python/python.exp (decode_line current location line
16439 number): Adjust expected line number.
16440
2f25d70f
SM
164412014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16442
16443 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16444 behavior for $args, pass it directly to "run".
16445
ff604a67
MR
164462014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16447
16448 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16449 30000 to 65536.
16450
6a3cb8e8
PA
164512014-05-21 Pedro Alves <palves@redhat.com>
16452
16453 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16454 auto-connect-native-target off".
16455 * gdb.base/auto-connect-native-target.c: New file.
16456 * gdb.base/auto-connect-native-target.exp: New file.
16457
4ebfc96e
PA
164582014-05-21 Pedro Alves <palves@redhat.com>
16459
16460 * gdb.base/default.exp: Test "target native" instead of "target
16461 child".
16462
36d46afb
MW
164632014-05-21 Mark Wielaard <mjw@redhat.com>
16464
16465 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16466
5876f503
JK
164672014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16468
16469 Fix TLS access for -static -pthread.
16470 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16471 <HAVE_TLS> (thread_function, main): Initialize it.
16472 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16473 Add clean_restart.
16474 <$have_tls != "">: Check TLSVAR.
16475
0256a6ac
PA
164762014-05-21 Pedro Alves <palves@redhat.com>
16477
16478 * gdb.base/dcache-line-read-error.c: New.
16479 * gdb.base/dcache-line-read-error.exp: New.
16480
936d2992
PA
164812014-05-20 Pedro Alves <palves@redhat.com>
16482
16483 * gdb.base/compare-sections.c: New file.
16484 * gdb.base/compare-sections.exp: New file.
16485
802e8e6d
PA
164862014-05-20 Pedro Alves <palves@redhat.com>
16487
16488 * gdb.base/break-idempotent.c: New file.
16489 * gdb.base/break-idempotent.exp: New file.
16490
e59fa00f
MM
164912014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16492
16493 * gdb.btrace/nohist.exp: New.
16494
8b696e31
YQ
164952014-05-20 Yao Qi <yao@codesourcery.com>
16496
16497 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16498 gdb.reverse directory and gdb_reverse_timeout exists in board
16499 setting.
16500 * README: Document gdb_reverse_timeout.
16501
73c9764f
YQ
165022014-05-20 Yao Qi <yao@codesourcery.com>
16503
16504 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16505 'test_file_name'. Treat args as a string instead of a list.
16506 (gdb_init): Rename argument 'args' by 'test_file_name'.
16507
f1f4348a
JK
165082014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16509
16510 * gdb.arch/powerpc-power.exp: New file.
16511 * gdb.arch/powerpc-power.s: New file.
16512
0dbe70ce
DE
165132014-05-16 Doug Evans <dje@google.com>
16514
16515 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
16516 * gdb.base/completion.exp: Check that all expected files exist
16517 before doing file completion.
0dbe70ce 16518
8d551b02
DE
165192014-05-16 Doug Evans <dje@google.com>
16520
16521 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16522 Update.
16523 (do_syscall_tests_without_xml): Update.
16524
73eb7709
PA
165252014-05-16 Pedro Alves <palves@redhat.com>
16526
16527 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16528 instead of "unknown output after running".
16529
3fae92fc
YQ
165302014-05-16 Yao Qi <yao@codesourcery.com>
16531
16532 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16533 file1.txt from host at the end.
16534 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16535
c2b2ccc5
DE
165362014-05-15 Doug Evans <dje@google.com>
16537
16538 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16539 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16540 loading file. Add test for TU lookup.
16541
8c217a4b
SM
165422014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16543
16544 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16545 calling "-exec-arguments" or "set args" before running the
16546 inferior.
16547
3deb39c6
SM
165482014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16549
16550 * lib/mi-support.exp (mi_expect_stop): Expect message for
16551 inferiors that exit with non-zero exit code.
16552
71a79f8c
YQ
165532014-05-14 Yao Qi <yao@codesourcery.com>
16554
16555 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16556 match absolute path on remote host.
16557 (test_file_list_exec_source_files): Remove "/" from the
16558 pattern.
16559
f23fcd46
YQ
165602014-05-14 Yao Qi <yao@codesourcery.com>
16561
16562 * boards/local-remote-host-notty.exp (${board}_file): New
16563 proc.
16564
9404b58f
KM
165652014-05-07 Kyle McMartin <kyle@redhat.com>
16566
16567 Pushed by Joel Brobecker <brobecker@adacore.com>.
16568 * gdb.arch/aarch64-atomic-inst.c: New file.
16569 * gdb.arch/aarch64-atomic-inst.exp: New file.
16570
5e45f04c
YQ
165712014-05-07 Yao Qi <yao@codesourcery.com>
16572
16573 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16574 in current context" too.
16575
c888a17d
KS
165762014-05-05 Keith Seitz <keiths@redhat.com>
16577
16578 * gdb.linespec/ls-dollar.exp: Add test for linespec
16579 file:convenience_variable.
16580
290a839c
YQ
165812014-05-05 Yao Qi <yao@codesourcery.com>
16582
16583 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16584 traceframes into tfile and ctf trace files. Read data from
16585 trace file and test collected data.
16586 (gdb_collect_locals_test): Likewise.
16587 (gdb_unavailable_registers_test): Likewise.
16588 (gdb_unavailable_floats): Likewise.
16589 (gdb_collect_globals_test): Likewise.
16590 (top-level): Append "ctf" to trace_file_targets if GDB
16591 supports.
16592
b5262cd0
YQ
165932014-05-05 Yao Qi <yao@codesourcery.com>
16594
16595 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16596 code to ...
16597 (gdb_collect_args_test_1): ... it. New proc.
16598 (gdb_collect_locals_test): Move some code to ...
16599 (gdb_collect_locals_test_1): ... it. New proc.
16600 (gdb_unavailable_registers_test): Move some code to ...
16601 (gdb_unavailable_registers_test_1): ... it. New proc.
16602 (gdb_unavailable_floats): Move some code to ...
16603 (gdb_unavailable_floats_1): ... it. New proc.
16604
30a1e6cc
SDJ
166052014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16606
16607 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16608 probes to test for bitness recognition.
16609 * gdb.arch/amd64-stap-optional-prefix.exp
16610 (test_probe_value_without_reg): New procedure.
16611 Add code to test for different kinds of bitness.
16612
f33da99a
SDJ
166132014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16614
16615 PR breakpoints/16889
16616 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16617 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16618
5b80f00d
PA
166192014-05-01 Pedro Alves <palves@redhat.com>
16620
16621 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16622 gdb_file_cmd if no file is specified.
16623 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16624 last_loaded_file to set the remote exec-file.
16625
f8c2a73c
PA
166262014-05-01 Pedro Alves <palves@redhat.com>
16627
16628 * boards/local-remote-host.exp: New file.
16629
be6e8ac7
PA
166302014-05-01 Pedro Alves <palves@redhat.com>
16631
16632 * boards/local-remote-host.exp: Rename to ...
16633 * boards/local-remote-host-notty.exp: ... this.
16634
cac0dc8f
JB
166352014-04-28 Joel Brobecker <brobecker@adacore.com>
16636
16637 * gdb.ada/dyn_arrayidx: New testcase.
16638
9730e6cc
YQ
166392014-04-26 Yao Qi <yao@codesourcery.com>
16640
16641 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16642 and compute the length of function main. Save it in
16643 $main_length.
16644 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16645 (top-level): Use gdb_compile to compile objects into
16646 executable and restart GDB. Remove invocation to
16647 prepare_for_testing.
16648
7ae1a6a6
PA
166492014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16650 Pedro Alves <palves@redhat.com>
16651
16652 PR server/16255
16653 * gdb.multi/multi-attach.c: New file.
16654 * gdb.multi/multi-attach.exp: New file.
16655
4082afcc
PA
166562014-04-25 Pedro Alves <palves@redhat.com>
16657
16658 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16659 user.
16660 (top level): Test that "set remote conditional-breakpoints-packet
16661 off" works as intended.
16662 * gdb.base/dprintf.exp: Test that "set remote
16663 breakpoint-commands-packet off" works as intended.
16664 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16665 New function.
16666 (top level): Call it.
16667 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16668 remote fast-tracepoints-packet off" works as intended.
16669 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16670 * lib/gdb.exp (gdb_is_target_remote): ... here.
16671
2abc3f8d
DB
166722014-04-24 David Blaikie <dblaikie@gmail.com>
16673
16674 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16675 ensure clang would not discard them.
16676 * gdb.base/gdbvars.c: Ditto.
16677 * gdb.base/memattr.c: Ditto.
16678 * gdb.base/whatis.c: Ditto.
16679 * gdb.python/py-prettyprint.c: Ditto.
16680 * gdb.trace/actions.c: Ditto.
16681 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16682 ensure clang would not discard it.
16683
bfd39632
DB
166842014-04-24 David Blaikie <dblaikie@gmail.com>
16685
16686 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16687 clang to emit the full definition of type required by the test
16688 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16689
22842ff6
DB
166902014-04-24 David Blaikie <dblaikie@gmail.com>
16691
16692 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16693 coax Clang into emitting the definition of the type.
16694 * gdb.cp/pr10728-x.h (y): Ditto.
16695 * gdb.cp/pr10728-y.cc (y): Ditto.
16696
c2e827ad
DB
166972014-04-24 David Blaikie <dblaikie@gmail.com>
16698
16699 * gdb.base/label.exp: XFAIL label related tests under Clang.
16700 * gdb.cp/cplabel.exp: Ditto.
16701 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16702 under Clang those using labels.
16703
4c2d33e7
YQ
167042014-04-25 Yao Qi <yao@codesourcery.com>
16705
16706 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16707 double_label.
16708 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16709 partial_label and double_label.
16710
56083b99
DB
167112014-04-24 David Blaikie <dblaikie@gmail.com>
16712
16713 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16714
25d4e99d
DB
167152014-04-24 David Blaikie <dblaikie@gmail.com>
16716
16717 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16718 of the function to work across GCC and Clang.
16719 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16720 pointer types (const void ** const V void **).
16721
01f9f808
MS
167222014-04-24 Michael Sturm <michael.sturm@mintel.com>
16723 Walfred Tedeschi <walfred.tedeschi@intel.com>
16724
16725 * Makefile.in (EXECUTABLES): Added i386-avx512.
16726 * gdb.arch/i386-avx512.c: New file.
16727 * gdb.arch/i386-avx512.exp: Likewise.
16728
4b48d439
KS
167292014-04-23 Keith Seitz <keiths@redhat.com>
16730
16731 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16732 (mi_make_breakpoint_table): New procedure.
16733 (mi_create_breakpoint): Use mi_make_breakpoint
16734 and return the result.
16735 (mi_make_breakpoint): New procedure.
16736 (mi_build_kv_pairs): New procedure.
16737
16738 * gdb.mi/mi-break.exp: Remove unused globals,
16739 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16740 All callers updated.
16741 * gdb.mi/mi-dprintf.exp: Use variable to track command
16742 number.
16743 Update all callers of mi_create_breakpoint and use
16744 mi_make_breakpoint_table.
16745 Remove any unused global variables.
16746 * gdb.mi/mi-nonstop.exp: Likewise.
16747 * gdb.mi/mi-nsintrall.exp: Likewise.
16748 * gdb.mi/mi-nsmoribund.exp: Likewise.
16749 * gdb.mi/mi-nsthrexec.exp: Likewise.
16750 * gdb.mi/mi-reverse.exp: Likewise.
16751 * gdb.mi/mi-simplerun.exp: Likewise.
16752 * gdb.mi/mi-stepn.exp: Likewise.
16753 * gdb.mi/mi-syn-frame.exp: Likewise.
16754 * gdb.mi/mi-until.exp: Likewise.
16755 * gdb.mi/mi-var-cp.exp: Likewise.
16756 * gdb.mi/mi-var-display.exp: Likewise.
16757 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16758 * gdb.mi/mi2-var-child.exp: Likewise.
16759 * gdb.mi/mi-vla-c99.exp: Likewise.
16760 * lib/mi-support.exp: Likewise.
16761
16762 From Ian Lance Taylor <iant@cygnus.com>:
16763 * lib/gdb.exp (parse_args): New procedure.
16764
08351840
PA
167652014-04-23 Pedro Alves <palves@redhat.com>
16766
16767 * gdb.base/break-unload-file.c: New file.
16768 * gdb.base/break-unload-file.exp: New file.
16769 * gdb.base/sym-file-lib.c (baz): New function.
16770 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16771 field.
16772 (load): Store the segment's mapped size.
16773 (unload): New function.
16774 (unload_shlib): New function.
16775 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16776 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16777 set a breakpoint at baz, and call it.
16778 * gdb.base/sym-file.exp: New tests for stale breakpoint
16779 instructions.
16780
076855f9
PA
167812014-04-23 Pedro Alves <palves@redhat.com>
16782
16783 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16784 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16785 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16786 * gdb.base/hbreak-unmapped.c: New file.
16787 * gdb.base/hbreak-unmapped.exp: New file.
16788 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16789 * lib/gdb.exp (gdb_is_target_remote): ... here.
16790
483805cf
PA
167912014-04-22 Pedro Alves <palves@redhat.com>
16792
16793 * gdb.base/consecutive-step-over.c: New file.
16794 * gdb.base/consecutive-step-over.exp: New file.
16795
06d97543
PA
167962014-04-22 Pedro Alves <palves@redhat.com>
16797
16798 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16799 instead of send_gdb/gdb_expect.
16800
b4429ea2
YQ
168012014-04-22 Yao Qi <yao@codesourcery.com>
16802
16803 * lib/trace-support.exp (generate_tracefile): New procedure.
16804 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16805 return 0.
16806 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16807 if generate_tracefile returns 1.
16808
51d48146
PA
168092014-04-18 Tom Tromey <palves@redhat.com>
16810 Pedro alves <tromey@redhat.com>
16811
16812 PR backtrace/15558
16813 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16814 with a backtrace limit.
16815 * gdb.python/py-frame-inline.exp: Test running to an inline
16816 function with a backtrace limit, and printing the newest frame.
16817 * gdb.python/py-frame-inline.c (main): Call f.
16818
bd1dce5f
MS
168192014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16820
16821 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16822
40d1a503
MS
168232014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16824
16825 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16826 Drop prefix from unsupported source file path.
16827
389b98f7
YQ
168282014-04-17 Yao Qi <yao@codesourcery.com>
16829
16830 * lib/gdb.exp (with_target_charset): New proc.
16831 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16832 with_target_charset.
16833 (test_print_strings): Likewise.
16834 (test_repeat_bytes): Likewise.
16835 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16836 for some tests.
16837
22869d73
KS
168382014-04-16 Keith Seitz <keiths@redhat.com>
16839
16840 PR gdb/15827
16841 * gdb.dwarf2/corrupt.c: New file.
16842 * gdb.dwarf2/corrupt.exp: New file.
16843
c4f87ca6
KS
168442014-04-16 Keith Seitz <keiths@redhat.com>
16845
16846 PR c++/16597
16847 * gdb.cp/namelessclass.cc: New file.
16848 * gdb.cp/namelessclass.exp: New file.
16849 * gdb.cp/namelessclass.S: New file.
16850
ab19de87
DE
168512014-04-16 Doug Evans <dje@google.com>
16852
16853 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16854 Add comment.
16855 (gdbserver_default_get_comm_port): New function.
16856 (gdbserver_start): Check if board file provided
16857 "gdbserver,get_comm_port" and use it if so.
16858 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16859 (gdb,socketport): Set to "stdio".
16860 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16861 (stdio_gdbserver_template): Delete.
16862 (${board}_get_remote_address): Update.
16863 (${board}_build_remote_cmd): Delete.
16864 (${board}_get_comm_port): New function.
16865 (${board}_spawn): Update.
16866 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16867 Delete.
16868 (${board}_get_remote_address): Update.
16869 (${board}_get_comm_port): New function.
16870
fc98a809
AB
168712014-04-16 Andrew Burgess <aburgess@broadcom.com>
16872
16873 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16874 appearing in any order.
16875
87fd9e6e
DE
168762014-04-15 Doug Evans <dje@google.com>
16877
16878 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16879 uninitialized value of "description".
16880
099fc3ea
KS
168812014-04-15 Keith Seitz <keiths@redhat.com>
16882
16883 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16884 Remove unused globals.
16885 (test_running_the_program): Likewise.
16886 (test_controlled_execution): Likewise.
16887 (test_controlling_breakpoints): Likewise.
16888 (test_program_termination): Likewise.
16889
5da151d4
KS
168902014-04-15 Keith Seitz <keiths@redhat.com>
16891
16892 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16893 unused globals.
16894 (test_rbreak_creation_and_listing): Likewise.
16895 (test_ignore_count): Likewise.
16896 (test_error): Likewise.
16897
35e5d2f0
PA
168982014-04-15 Pedro Alves <palves@redhat.com>
16899
16900 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16901 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16902 sym-file-loader.c.
16903 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16904 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16905 to sym-file-loader.c.
16906 (struct library): Forward declare.
16907 (load_shlib, lookup_function): Change prototypes.
16908 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16909 (translate_offset): Remove declarations.
16910 (get_text_addr): New declaration.
16911 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16912 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16913 sym-file-loader.h.
16914 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16915 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16916 here from sym-file-loader.h.
16917 (struct library): New structure.
16918 (load_shlib, lookup_function): Change prototypes and adjust to
16919 work with a struct library.
16920 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16921 (translate_offset): Make static.
16922 (get_text_addr): New function.
16923 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16924
eb4c1710
PA
169252014-04-15 Pedro Alves <palves@redhat.com>
16926
16927 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16928
2d1baf52
PA
169292014-04-15 Pedro Alves <palves@redhat.com>
16930
16931 * gdb.base/sym-file-loader.c: Include <limits.h>.
16932 (SELF_LINK): New define.
16933 (get_origin): New function.
16934 (load_shlib): Use it.
16935 * gdb.base/sym-file.exp: Don't early return if the target is
16936 remote. Use runto_main, and issue fail is that fails. Use
16937 gdb_load_shlibs.
16938 (shlib_name): Delete.
16939 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16940
7dd6df01
PA
169412014-04-15 Pedro Alves <palves@redhat.com>
16942
16943 * gdb.base/sym-file.exp: Remove regex characters from test
16944 message. Don't refer to breakpoint numbers in test messages.
16945
b50c8614
KS
169462014-04-14 Keith Seitz <keiths@redhat.com>
16947
16948 PR c++/16253
16949 * gdb.cp/var-tag.cc: New file.
16950 * gdb.cp/var-tag.exp: New file.
16951 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16952 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16953 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16954 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16955
3d567982
TT
169562014-04-14 Tom Tromey <tromey@redhat.com>
16957
16958 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16959 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16960 type.
16961 * gdb.cp/enum-class.exp: New file.
16962 * gdb.cp/enum-class.cc: New file.
16963
0626fc76
TT
169642014-04-14 Tom Tromey <tromey@redhat.com>
16965
16966 * gdb.dwarf2/enum-type.exp: New file.
16967
dca325b3
SA
169682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16969
16970 * gdb.mi/mi-vla-c99.exp: New file.
16971 * gdb.mi/vla.c: New file.
16972
5854b38a
SA
169732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16974
16975 * gdb.base/vla-datatypes.c: New file.
16976 * gdb.base/vla-datatypes.exp: New file.
16977
463bb957
SA
169782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16979
16980 * gdb.base/vla-ptr.c: New file.
16981 * gdb.base/vla-ptr.exp: New file.
16982
3dd170be
SA
169832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16984
16985 * gdb.dwarf2/count.exp: New file.
16986
5ecaaa66
SA
169872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16988
16989 * gdb.base/vla-sideeffect.c: New file.
16990 * gdb.base/vla-sideeffect.exp: New file.
16991
41f1ada5
DB
169922014-04-14 David Blaikie <dblaikie@gmail.com>
16993
16994 * gdb.mi/non-stop.c: Add return value for non-void function return
16995 statement.
16996 * gdb.threads/staticthreads.c: Ditto.
16997
0be03e84
DE
169982014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16999 Doug Evans <xdje42@gmail.com>
17000
17001 * gdb.guile/scm-value.c: Improve test case.
17002 * gdb.guile/scm-value.exp: Add new test.
17003
f180a1fb
DB
170042014-04-11 David Blaikie <dblaikie@gmail.com>
17005
17006 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17007 override Clang's default.
17008
6b662e19
JB
170092014-04-11 Joel Brobecker <brobecker@adacore.com>
17010
17011 Revert the following changes (regressions):
17012
17013 * gdb.base/vla-sideeffect.c: New file.
17014 * gdb.base/vla-sideeffect.exp: New file.
17015
17016 * gdb.dwarf2/count.exp: New file.
17017
17018 * gdb.base/vla-multi.c: New file.
17019 * gdb.base/vla-multi.exp: New file.
17020
17021 * gdb.base/vla-ptr.c: New file.
17022 * gdb.base/vla-ptr.exp: New file.
17023
17024 * gdb.base/vla-datatypes.c: New file.
17025 * gdb.base/vla-datatypes.exp: New file.
17026
17027 * gdb.mi/mi-vla-c99.exp: New file.
17028 * gdb.mi/vla.c: New file.
17029
245a5f0b
KS
170302014-04-11 Keith Seitz <keiths@redhat.com>
17031
17032 PR c++/16675
17033 * gdb.cp/cpsizeof.exp: New file.
17034 * gdb.cp/cpsizeof.cc: New file.
17035
58a84dcf
SA
170362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17037
191a8a90
JB
17038 * gdb.mi/mi-vla-c99.exp: New file.
17039 * gdb.mi/vla.c: New file.
58a84dcf 17040
c8655f75
SA
170412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17042
17043 * gdb.base/vla-datatypes.c: New file.
17044 * gdb.base/vla-datatypes.exp: New file.
17045
024e13b4
SA
170462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17047
17048 * gdb.base/vla-ptr.c: New file.
17049 * gdb.base/vla-ptr.exp: New file.
17050
1a237e0e
SA
170512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17052
17053 * gdb.base/vla-multi.c: New file.
17054 * gdb.base/vla-multi.exp: New file.
17055
504f3432
SA
170562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17057
17058 * gdb.dwarf2/count.exp: New file.
17059
3bce8237
SA
170602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17061
191a8a90
JB
17062 * gdb.base/vla-sideeffect.c: New file.
17063 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 17064
322f9c21
YQ
170652014-04-11 Yao Qi <yao@codesourcery.com>
17066
17067 * gdb.base/completion.exp: Check file exists before running tests
17068 on file completion.
17069
d708bcd1
PA
170702014-04-10 Pedro Alves <palves@redhat.com>
17071
17072 * gdb.base/cond-eval-mode.c: New file.
17073 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17074 prepare_for_testing to build the new file. Check result of
17075 runto_main.
17076 (test_break, test_watch): New procedures.
17077 (top level): Use them.
17078
ae1d2761
PM
170792014-04-08 Pierre Muller <muller@sourceware.org>
17080
17081 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17082 Ctrl-V use for mingw hosts.
17083
7af389b8
SC
170842014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17085
17086 * gdb.python/py-value.c: Improve test case.
17087 * gdb.python/py-value.exp: Add new test.
17088
5e703181
DE
170892014-04-07 David Blaikie <dblaikie@gmail.com>
17090
17091 * lib/compiler.c: Identify the clang compiler.
17092 * lib/compiler.cc: Ditto.
17093
9810b410
YQ
170942014-04-03 Yao Qi <yao@codesourcery.com>
17095
17096 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17097
98d1b8dc
AB
170982014-04-01 Anton Blanchard <anton@samba.org>
17099
17100 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17101 messages unique.
17102
3114cea1
AB
171032014-04-01 Anton Blanchard <anton@samba.org>
17104
17105 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17106 prepare_for_testing.
17107
62f7182c
AB
171082014-04-01 Anton Blanchard <anton@samba.org>
17109
17110 * gdb.arch/ppc64-atomic-inst.c: Remove.
17111 * gdb.arch/ppc64-atomic-inst.S: New file.
17112 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17113
770e7fc7
DE
171142014-03-31 Doug Evans <dje@google.com>
17115
17116 * gdb.base/print-symbol-loading-lib.c: New file.
17117 * gdb.base/print-symbol-loading-main.c: New file.
17118 * gdb.base/print-symbol-loading.exp: New file.
17119
46e2bafa
YQ
171202014-03-31 Yao Qi <yao@codesourcery.com>
17121
17122 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17123
8776cfe9
JB
171242014-03-28 Joel Brobecker <brobecker@adacore.com>
17125
17126 * gdb.ada/mi_dyn_arr: New testcase.
17127
5d1ef361
DE
171282014-03-27 Doug Evans <dje@google.com>
17129
17130 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17131
b5bee914
YQ
171322014-03-27 Yao Qi <yao@codesourcery.com>
17133
17134 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17135 if target is nios2-*-*.
17136
0d4d0e77
YQ
171372014-03-26 Yao Qi <yao@codesourcery.com>
17138
17139 * lib/gdb.exp (readline_is_used): New proc.
17140 * gdb.base/completion.exp: Move tests on command complete up.
17141 Skip the rest of tests if readline is not used.
17142 * gdb.ada/complete.exp: Skp the test if readline is not
17143 used.
17144 * gdb.base/filesym.exp: Likewise.
17145 * gdb.base/macscp.exp: Likewise.
17146 * gdb.base/readline-ask.exp: Likewise.
17147 * gdb.base/readline.exp: Likewise.
17148 * gdb.python/py-cmd.exp: Likewise.
17149 * gdb.trace/tfile.exp: Likewise.
17150
29361eee
YQ
171512014-03-26 Yao Qi <yao@codesourcery.com>
17152
17153 * gdb.base/macscp.exp: Fix code format issues.
17154
bc9a5525
UW
171552014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17156
17157 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17158 * gdb.asm/powerpc64le.inc: New file.
17159
d3839ede
PA
171602014-03-25 Pedro Alves <palves@redhat.com>
17161 Doug Evans <dje@google.com>
17162
17163 * gdb.base/source-execution.c: New file.
17164 * gdb.base/source-execution.exp: New file.
17165 * gdb.base/source-execution.gdb: New file.
17166
01672a57
DE
171672014-03-24 Doug Evans <dje@google.com>
17168
17169 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17170 using fission.
17171
88bbeca9
HZ
171722014-03-24 Hui Zhu <hui@codesourcery.com>
17173 Pedro Alves <palves@redhat.com>
17174
17175 PR breakpoints/16101
17176 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17177 test pass/fail messages. Detect missing support for dprintf when
17178 breakpoints are actually inserted.
17179 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17180 breakpoints are actually inserted.
17181 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17182 fails.
17183
d2348791
JK
171842014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17185
17186 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17187
feef67ab
DE
171882014-03-22 Doug Evans <xdje42@gmail.com>
17189
17190 * gdb.python/python.exp (python not supported): Verify multi-line
17191 python command issues an error.
25d743f9 17192 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 17193 guile command issues an error.
feef67ab 17194
ecebef6a
MR
171952014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17196
17197 * gdb.threads/thread-specific.exp: Handle the lack of usable
17198 $this_breakpoint and $this_thread.
17199
ccdd1909
HZ
172002014-03-21 Hui Zhu <hui@codesourcery.com>
17201
17202 * gdb.base/attach.exp (do_command_attach_tests): New.
17203
beb460e8
PA
172042014-03-20 Tom Tromey <tromey@redhat.com>
17205 Pedro Alves <palves@redhat.com>
17206
17207 PR cli/15718
17208 * gdb.base/condbreak-call-false.c: New file.
17209 * gdb.base/condbreak-call-false.exp: New file.
17210
40acf43a
PA
172112014-03-20 Pedro Alves <palves@redhat.com>
17212
17213 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17214 Delete.
17215 (block_signals, unblock_signals): Delete.
17216 (child_function_2, main): Remove references to deleted variable
17217 and functions.
17218
9f5e1e02
PA
172192014-03-20 Pedro Alves <palves@redhat.com>
17220
17221 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17222 Use pthread_kill to signal thread 2.
17223 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17224 Adjust to make the test send itself a signal rather than using the
17225 host's "kill" command.
17226
99619bea
PA
172272014-03-20 Pedro Alves <palves@redhat.com>
17228
17229 * gdb.threads/multiple-step-overs.c: New file.
17230 * gdb.threads/multiple-step-overs.exp: New file.
17231 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17232 Adjust expected infrun debug output.
17233
2adfaa28
PA
172342014-03-20 Pedro Alves <palves@redhat.com>
17235
17236 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17237 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17238
31e77af2
PA
172392014-03-20 Pedro Alves <palves@redhat.com>
17240
17241 PR breakpoints/7143
17242 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17243 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17244 of gdb_test_multiple.
17245 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17246 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17247
b9f437de
PA
172482014-03-20 Pedro Alves <palves@redhat.com>
17249
17250 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17251 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17252
05adc73e
PA
172532014-03-19 Pedro Alves <palves@redhat.com>
17254
17255 * gdb.base/async.exp: Remove early return.
17256
6048b950
PA
172572014-03-19 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17260
8bcfb00a
PA
172612014-03-19 Pedro Alves <palves@redhat.com>
17262
17263 * gdb.base/async.exp (test_background): Expect \r\n after
17264 "completed." in the fail pattern.
17265
884e37dc
PA
172662014-03-19 Pedro Alves <palves@redhat.com>
17267
17268 * gdb.base/async.exp (test_background): New procedure.
17269 Use it for all background execution command tests.
17270
148e57e2
PA
172712014-03-19 Pedro Alves <palves@redhat.com>
17272
17273 * gdb.base/async.exp: Use prepare_for_testing.
17274
f48088c7
PA
172752014-03-19 Pedro Alves <palves@redhat.com>
17276
17277 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17278 the same line.
17279
e2f6c966
PA
172802014-03-19 Pedro Alves <palves@redhat.com>
17281
17282 * gdb.base/async.c (main): Add "jump here" and "until here" line
17283 marker comments.
17284 * gdb.base/async.exp (jump_here): New global.
17285 (jump& test): Use it.
17286 (until_here): New global.
17287 (until& test): Use it.
17288
c30568d4
PA
172892014-03-19 Pedro Alves <palves@redhat.com>
17290
17291 * gdb.base/async.exp: Don't frob gdb_protocol.
17292
0172b6a7
DE
172932014-03-18 Doug Evans <xdje42@gmail.com>
17294
17295 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17296 Fix spelling of exec-done-display.
17297
06c868a8
JK
172982014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17299
17300 PR gdb/15358
17301 * gdb.base/gdb-sigterm.c: New file.
17302 * gdb.base/gdb-sigterm.exp: New file.
17303
0c7e1a46
PA
173042014-03-18 Pedro Alves <palves@redhat.com>
17305
17306 PR gdb/13860
17307 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17308 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17309 solib-event.
17310
f7c77d93
JB
173112014-03-17 Joel Brobecker <brobecker@adacore.com>
17312
17313 * gdb.ada/pckd_arr_ren: New testcase.
17314
5a1e8c7a
DE
173152014-03-13 Doug Evans <xdje42@gmail.com>
17316
17317 PR guile/16612
17318 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17319 collect after discarding symbols.
17320
350e1a76
DE
173212014-03-13 Ludovic Courtès <ludo@gnu.org>
17322 Doug Evans <xdje42@gmail.com>
17323
17324 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17325 to history survives a gc.
17326
a69900ae
PA
173272014-03-13 Pedro Alves <palves@redhat.com>
17328
17329 * gdb.base/default.exp: Don't test "target procfs".
17330
5db9f0bd
PA
173312014-03-13 Pedro Alves <palves@redhat.com>
17332
17333 * gdb.base/default.exp: Update "target child" and "target procfs"
17334 tests to not expect "Unix".
17335
b3ccfe11
TT
173362014-03-12 Tom Tromey <tromey@redhat.com>
17337
17338 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17339 New procs. Add target-async tests.
17340 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17341 Add target-async tests.
17342
646f4417
AA
173432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17344
17345 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17346 'func_start' and 'func_end' for the beginning and end of the
17347 function code, respectively.
17348 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17349 'func_end' instead of 'func' and 'main'.
17350
288c211f
AA
173512014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17352
17353 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17354 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17355 generate the debug info assembler source.
17356
e0c0f156
AA
173572014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17358
17359 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17360 * gdb.dwarf2/arr-subrange.exp: Likewise.
17361 * gdb.dwarf2/dwz.exp: Likewise.
17362 * gdb.dwarf2/method-ptr.exp: Likewise.
17363 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17364 * gdb.dwarf2/subrange.exp: Likewise.
17365 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17366 * gdb.dwarf2/implptrpiece.exp: Likewise.
17367 * gdb.dwarf2/nostaticblock.exp: Likewise.
17368
0e5c4555
AA
173692014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17370
17371 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17372 directory to absolute path name arguments.
17373
5ec18f2b
JG
173742014-03-10 Joel Brobecker <brobecker@adacore.com>
17375
17376 * gdb.ada/tagged_access: New testcase.
17377
847fc4f2
MM
173782014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17379
17380 * gdb.btrace/data.exp: Update expected output.
17381
cc3da688
YQ
173822014-03-06 Yao Qi <yao@codesourcery.com>
17383
17384 * gdb.trace/pr16508.exp: New file.
17385
0f26cec1
PA
173862014-03-05 Pedro Alves <palves@redhat.com>
17387
17388 PR gdb/16575
17389 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17390 procedure.
17391 (top level): Adjust to use it. Add tests that exercise breakpoint
17392 interaction with the code-cache.
17393
7a5a839f
LC
173942014-02-26 Ludovic Courtès <ludo@gnu.org>
17395
17396 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17397 test for 'history-append!'.
17398
31aa7e4e
JB
173992014-02-26 Joel Brobecker <brobecker@adacore.com>
17400
17401 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17402 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17403 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17404 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17405 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17406 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17407
1b588015
JB
174082014-02-26 Joel Brobecker <brobecker@adacore.com>
17409
17410 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17411 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17412 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17413
55426c9d
JB
174142014-02-26 Joel Brobecker <brobecker@adacore.com>
17415
17416 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17417
dc53a7ad
JB
174182014-02-26 Joel Brobecker <brobecker@adacore.com>
17419
17420 * gdb.dwarf2/arr-stride.c: New file.
17421 * gdb.dwarf2/arr-stride.exp: New file.
17422
12ab52e9
PA
174232014-02-26 Pedro Alves <palves@redhat.com>
17424
17425 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17426 that won't ever trigger. Make sure that GDB reports the correct
17427 breakpoint that caused the stop.
17428
849c862e
JK
174292014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17430
17431 PR gdb/16626
17432 * gdb.base/auto-load-script: New file.
17433 * gdb.base/auto-load.c: New file.
17434 * gdb.base/auto-load.exp: New file.
17435
71b7d793
JK
17436 PR gdb/16626
17437 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17438
e2f0d509
JK
174392014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17440
17441 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17442 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17443
50cc37c8
DE
174442014-02-24 Doug Evans <dje@google.com>
17445
17446 * lib/gdb.exp (run_on_host): Log error output if program fails.
17447
ea4758f2
PA
174482014-02-21 Pedro Alves <palves@redhat.com>
17449
17450 * gdb.threads/step-after-sr-lock.c: Rename to ...
17451 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17452 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17453 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17454 ... this.
17455
d7b30f67
SDJ
174562014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17457
17458 PR tdep/16397
17459 * gdb.arch/amd64-stap-special-operands.exp: New file.
17460 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17461 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17462 * gdb.arch/amd64-stap-triplet.S: Likewise.
17463 * gdb.arch/amd64-stap-triplet.c: Likewise.
17464
83deb43f
JB
174652014-02-20 Joel Brobecker <brobecker@adacore.com>
17466
17467 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17468 in .section pseudo-op.
17469
adde2bff
DE
174702014-02-20 lin zuojian <manjian2006@gmail.com>
17471 Joel Brobecker <brobecker@adacore.com>
17472 Doug Evans <xdje42@gmail.com>
17473
17474 PR symtab/16581
17475 * gdb.dwarf2/dw2-icycle.S: New file.
17476 * gdb.dwarf2/dw2-icycle.c: New file.
17477 * gdb.dwarf2/dw2-icycle.exp: New file.
17478
f7bd0f78
SC
174792014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17480
17481 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17482 operations on gdb.Value objects.
17483 * gdb.python/py-value-cc.exp: Add new test to test operations on
17484 gdb.Value objects.
17485
c17ef0d5
DE
174862014-02-18 Doug Evans <dje@google.com>
17487
17488 * Makefile.in (TESTS): New variable.
17489 (expanded_tests, expanded_tests_or_none): New variables
17490 (check-single): Pass $(expanded_tests_or_none) to runtest.
17491 (check-parallel): Only run tests in $(TESTS) if non-empty.
17492 (check/no-matching-tests-found): New rule.
17493 * README: Document TESTS makefile variable.
17494
5dd3176f
DE
174952014-02-18 Doug Evans <dje@google.com>
17496
17497 * Makefile.in (check-parallel): rm -rf outputs temp.
17498
0b10be4f
JK
174992014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17500
17501 Fix "ERROR: no fileid for" in the testsuite.
17502 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17503
85f224e7
DE
175042014-02-12 Doug Evans <dje@google.com>
17505
17506 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17507 (MISCELLANEOUS): New variable.
17508 (clean): rm -rf $(MISCELLANEOUS).
17509 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17510 dwp live in the same directory as symlinks, with each symlink pointed
17511 to a differently named file in a different directory.
17512
149b30ff
DE
175132014-02-11 Doug Evans <dje@google.com>
17514
17515 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17516 of Tcl file commands.
17517
1dfdac32
MK
175182014-02-10 Mark Kettenis <kettenis@gnu.org>
17519
17520 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17521 "kill -SIGUSR1 -1".
17522
aa4fb036
JB
175232014-02-10 Joel Brobecker <brobecker@adacore.com>
17524
17525 * gdb.ada/tick_length_array_enum_idx: New testcase.
17526
ed3ef339
DE
175272014-02-10 Doug Evans <xdje42@gmail.com>
17528
17529 * configure.ac (AC_OUTPUT): Add gdb.guile.
17530 * configure: Regenerate.
17531 * lib/gdb-guile.exp: New file.
17532 * lib/gdb.exp (get_target_charset): New function.
17533 * gdb.base/help.exp: Update expected output from "apropos apropos".
17534 * gdb.guile/Makefile.in: New file.
17535 * gdb.guile/guile.exp: New file.
17536 * gdb.guile/scm-arch.c: New file.
17537 * gdb.guile/scm-arch.exp: New file.
17538 * gdb.guile/scm-block.c: New file.
17539 * gdb.guile/scm-block.exp: New file.
17540 * gdb.guile/scm-breakpoint.c: New file.
17541 * gdb.guile/scm-breakpoint.exp: New file.
17542 * gdb.guile/scm-disasm.c: New file.
17543 * gdb.guile/scm-disasm.exp: New file.
17544 * gdb.guile/scm-equal.c: New file.
17545 * gdb.guile/scm-equal.exp: New file.
17546 * gdb.guile/scm-error.exp: New file.
17547 * gdb.guile/scm-error.scm: New file.
17548 * gdb.guile/scm-frame-args.c: New file.
17549 * gdb.guile/scm-frame-args.exp: New file.
17550 * gdb.guile/scm-frame-args.scm: New file.
17551 * gdb.guile/scm-frame-inline.c: New file.
17552 * gdb.guile/scm-frame-inline.exp: New file.
17553 * gdb.guile/scm-frame.c: New file.
17554 * gdb.guile/scm-frame.exp: New file.
17555 * gdb.guile/scm-generics.exp: New file.
17556 * gdb.guile/scm-gsmob.exp: New file.
17557 * gdb.guile/scm-iterator.c: New file.
17558 * gdb.guile/scm-iterator.exp: New file.
17559 * gdb.guile/scm-math.c: New file.
17560 * gdb.guile/scm-math.exp: New file.
17561 * gdb.guile/scm-objfile-script-gdb.in: New file.
17562 * gdb.guile/scm-objfile-script.c: New file.
17563 * gdb.guile/scm-objfile-script.exp: New file.
17564 * gdb.guile/scm-objfile.c: New file.
17565 * gdb.guile/scm-objfile.exp: New file.
17566 * gdb.guile/scm-ports.exp: New file.
17567 * gdb.guile/scm-pretty-print.c: New file.
17568 * gdb.guile/scm-pretty-print.exp: New file.
17569 * gdb.guile/scm-pretty-print.scm: New file.
17570 * gdb.guile/scm-section-script.c: New file.
17571 * gdb.guile/scm-section-script.exp: New file.
17572 * gdb.guile/scm-section-script.scm: New file.
17573 * gdb.guile/scm-symbol.c: New file.
17574 * gdb.guile/scm-symbol.exp: New file.
17575 * gdb.guile/scm-symtab-2.c: New file.
17576 * gdb.guile/scm-symtab.c: New file.
17577 * gdb.guile/scm-symtab.exp: New file.
17578 * gdb.guile/scm-type.c: New file.
17579 * gdb.guile/scm-type.exp: New file.
17580 * gdb.guile/scm-value-cc.cc: New file.
17581 * gdb.guile/scm-value-cc.exp: New file.
17582 * gdb.guile/scm-value.c: New file.
17583 * gdb.guile/scm-value.exp: New file.
17584 * gdb.guile/source2.scm: New file.
17585 * gdb.guile/types-module.cc: New file.
17586 * gdb.guile/types-module.exp: New file.
17587
7026a7c1
YQ
175882014-02-10 Yao Qi <yao@codesourcery.com>
17589
17590 PR testsuite/16543
17591 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17592 * configure: Regenerated.
17593 * Makefile.in: New file.
17594
6c466447
AS
175952014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17596
17597 * gdb.python/py-framefilter.exp: Fix typo.
17598
6e854735
YQ
175992014-02-08 Yao Qi <yao@codesourcery.com>
17600
17601 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17602 that no =breakpoint-modified is emitted when breakpoints are
17603 modified through MI commands.
17604
d137e6dc
PA
176052014-02-07 Pedro Alves <pedro@codesourcery.com>
17606 Pedro Alves <palves@redhat.com>
17607
17608 * gdb.threads/step-after-sr-lock.c: New file.
17609 * gdb.threads/step-after-sr-lock.exp: New file.
17610
b5ee5a50
PA
176112014-02-07 Pedro Alves <palves@redhat.com>
17612
17613 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17614
3c77faf3
JK
176152014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17616
17617 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17618 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17619
6dddc817
DE
176202014-02-06 Doug Evans <xdje42@gmail.com>
17621
17622 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17623 output.
17624
17625 * gdb.gdb/python-interrupts.exp: New file.
17626
de7b2893
YQ
176272014-02-05 Yao Qi <yao@codesourcery.com>
17628
17629 * gdb.trace/report.exp (use_collected_data): Test the output
17630 of "info threads" and "info inferiors".
17631
66d032ac
YQ
176322014-02-05 Yao Qi <yao@codesourcery.com>
17633
17634 Revert this patch:
17635
17636 2013-05-24 Yao Qi <yao@codesourcery.com>
17637
17638 * gdb.trace/tfile.exp: Test inferior and thread.
17639
591a12a1
UW
176402014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17641
17642 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17643 on a function.
17644 * gdb.base/step-bt.c: Call hello via function pointer to make
17645 sure its first instruction is executed on powerpc64le-linux.
17646
0ff3e01f
UW
176472014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17648
17649 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17650
084ee545
UW
176512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17652
17653 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17654 of the test patterns for use on little-endian systems.
17655
6ed14ff3
UW
176562014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17657
17658 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17659 (decimal_vector): Fix for little-endian.
17660
401e27fd
JM
176612014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17662
17663 * gdb.arch/sparc-sysstep.exp: New file.
17664 * gdb.arch/sparc-sysstep.c: Likewise.
17665
17666 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17667
8b924729
EBM
176682014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17669
17670 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17671
fb151210
JB
176722014-01-23 Tom Tromey <tromey@redhat.com>
17673
17674 * gdb.ada/array_char_idx: New testcase.
17675
0740f8d8
TT
176762014-01-23 Tom Tromey <tromey@redhat.com>
17677
17678 PR python/16487:
17679 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17680 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17681 classes.
17682
21909fa1
TT
176832014-01-23 Tom Tromey <tromey@redhat.com>
17684
17685 PR python/16491:
17686 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17687 string from an inferior frame.
17688 * gdb.python/py-framefilter-mi.exp: Update.
17689
87ce2a04
DE
176902014-01-22 Doug Evans <dje@google.com>
17691
17692 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17693
237b092b
AA
176942014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17695
17696 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17697
d674a709
AA
176982014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17699
17700 * gdb.trace/entry-values.exp: Remove excess space character from
17701 regex patterns. Handle s390 call instruction.
17702
20fa3390
AA
177032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17704
17705 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17706 define "*_start" label. Make "name" static.
17707 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17708 ${name} by references to ${name}_start.
17709
78466714
AA
177102014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17711
17712 * gdb.base/info-macros.exp: Remove "debug" from the compile
17713 options.
17714
ec9f644a
IB
177152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17716
17717 * gdb.dlang/demangle.exp: New file.
17718
94b1b47e
IB
177192014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17720
17721 * gdb.dlang/primitive-types.exp: New file.
17722
7f420862
IB
177232014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17724
17725 * configure.ac: Create gdb.dlang/Makefile.
17726 * configure: Regenerate.
17727 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17728 * gdb.dlang/Makefile.in: New file.
17729 * lib/d-support.exp: New file.
17730 * lib/gdb.exp (skip_d_tests): New proc.
17731
52834460
MM
177322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17733
17734 * gdb.btrace/delta.exp: Check reverse stepi.
17735 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17736 * gdb.btrace/finish.exp: New.
17737 * gdb.btrace/next.exp: New.
17738 * gdb.btrace/nexti.exp: New.
17739 * gdb.btrace/record_goto.c: Add comments.
17740 * gdb.btrace/step.exp: New.
17741 * gdb.btrace/stepi.exp: New.
17742 * gdb.btrace/multi-thread-step.c: New.
17743 * gdb.btrace/multi-thread-step.exp: New.
17744 * gdb.btrace/rn-dl-bind.c: New.
17745 * gdb.btrace/rn-dl-bind.exp: New.
17746 * gdb.btrace/data.c: New.
17747 * gdb.btrace/data.exp: New.
17748 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17749
6e07b1d2
MM
177502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17751
17752 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17753 * gdb.btrace/exception.exp: Update.
17754 * gdb.btrace/instruction_history.exp: Update.
17755 * gdb.btrace/record_goto.exp: Update.
17756 * gdb.btrace/tailcall.exp: Update.
17757 * gdb.btrace/unknown_functions.exp: Update.
17758 * gdb.btrace/delta.exp: New.
17759
0b722aec
MM
177602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17761
17762 * gdb.btrace/record_goto.exp: Add backtrace test.
17763 * gdb.btrace/tailcall.exp: Add backtrace test.
17764
066ce621
MM
177652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17766
17767 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17768 * gdb.btrace/record_goto.c: New.
17769 * gdb.btrace/record_goto.exp: New.
17770 * gdb.btrace/x86-record_goto.S: New.
17771
0688d04e
MM
177722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17773
17774 * gdb.btrace/function_call_history.exp: Update tests.
17775 * gdb.btrace/instruction_history.exp: Update tests.
17776
8710b709
MM
177772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17778
17779 * gdb.btrace/function_call_history.exp: Fix expected field
17780 order for "record function-call-history".
17781 Add new tests for "record function-call-history /c".
17782 * gdb.btrace/exception.cc: New.
17783 * gdb.btrace/exception.exp: New.
17784 * gdb.btrace/tailcall.exp: New.
17785 * gdb.btrace/x86-tailcall.S: New.
17786 * gdb.btrace/x86-tailcall.c: New.
17787 * gdb.btrace/unknown_functions.c: New.
17788 * gdb.btrace/unknown_functions.exp: New.
17789 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17790
5de9129b
MM
177912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17792
17793 * gdb.btrace/instruction_history.exp: Update.
17794 * gdb.btrace/function_call_history.exp: Update.
17795
23a7fe75
MM
177962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17797
17798 * gdb.btrace/function_call_history.exp: Fix expected function
17799 trace.
17800 * gdb.btrace/instruction_history.exp: Initialize traced.
17801 Remove traced_functions.
17802
724c7dd8
MM
178032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17804
17805 * gdb.btrace/function_call_history.exp: Update
17806 * gdb.btrace/instruction_history.exp: Update.
17807
6d78d93b
MM
178082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17809
17810 * gdb.btrace/enable.exp: Update expected text.
17811
93a360cc
OJ
178122014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17813
17814 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17815 bytes.
17816
3772b53f
MR
178172014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17818
17819 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17820
596662fa
OJ
178212014-01-15 Omair Javaid <omair.javaid@linaro.org>
17822
17823 * lib/gdb.exp (supports_process_record): Return true for
17824 arm*-linux*. (supports_reverse): Likewise.
17825
b5b08fb4
SC
178262014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17827
17828 PR python/15464
17829 PR python/16113
17830 * gdb.python/py-type.c: Enhance test case.
17831 * gdb.python/py-value-cc.cc: Likewise
17832 * gdb.python/py-type.exp: Add new tests.
17833 * gdb.python/py-value-cc.exp: Likewise
17834
52d7fb13
AA
178352014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17836 Pedro Alves <palves@redhat.com>
17837
17838 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17839 Make "name" extern.
17840 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17841 references to ${name}_start by references to ${name}.
17842
a2cd8cfe
JB
178432014-01-10 Joel Brobecker <brobecker@adacore.com>
17844
17845 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17846
4e23fced
JB
178472014-01-10 Joel Brobecker <brobecker@adacore.com>
17848
17849 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17850
c6a9e42c
PA
178512014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17852 Pedro Alves <palves@redhat.com>
17853
17854 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 17855 mi_gdb_target_load.
c6a9e42c 17856
b7ea362b
PA
178572014-01-08 Pedro Alves <palves@redhat.com>
17858
17859 * gdb.threads/reconnect-signal.c: New file.
17860 * gdb.threads/reconnect-signal.exp: New file.
17861
5e3f4fab
EBM
178622014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17863
17864 * gdb.base/source-dir.exp: New file.
17865
79301218
JB
178662014-01-07 Joel Brobecker <brobecker@adacore.com>
17867
17868 * gdb.ada/mi_interface: New testcase.
17869
8e355c5d
JB
178702014-01-07 Joel Brobecker <brobecker@adacore.com>
17871
17872 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17873 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17874 gdb.ada/pp-rec-component/pck.ads: New files.
17875
c0d48811
JB
178762014-01-07 Joel Brobecker <brobecker@adacore.com>
17877
17878 * gdb.python/py-pp-integral.c: New file.
17879 * gdb.python/py-pp-integral.py: New file.
17880 * gdb.python/py-pp-integral.exp: New file.
17881
17b609c3 17882For older changes see ChangeLog-1993-2013.
c906108c 17883\f
8d8cb839
EZ
17884;; Local Variables:
17885;; mode: change-log
17886;; left-margin: 8
17887;; fill-column: 74
17888;; version-control: never
17889;; End:
902f2ccb 17890
42a4f53d 17891 Copyright 2014-2019 Free Software Foundation, Inc.
902f2ccb
MC
17892 Copying and distribution of this file, with or without modification,
17893 are permitted provided the copyright notice and this notice are preserved.
This page took 4.957635 seconds and 4 git commands to generate.