Test case for BZ 25065
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
d22670f0
KB
12019-11-27 Kevin Buettner <kevinb@redhat.com>
2
3 * gdb.dwarf2/imported-unit.exp: New file.
4 * gdb.dwarf2/imported-unit.c: New file.
5
db5960b4
AB
62019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * gdb.mi/mi-fortran-modules-2.f90: New file.
9 * gdb.mi/mi-fortran-modules.exp: New file.
10 * gdb.mi/mi-fortran-modules.f90: New file.
11
7dc42066
AB
122019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
13
14 * gdb.mi/mi-sym-info-1.c: New file.
15 * gdb.mi/mi-sym-info-2.c: New file.
16 * gdb.mi/mi-sym-info.exp: New file.
17
0dfeecca
TT
182019-11-22 Tom Tromey <tromey@adacore.com>
19
20 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
21 * gdb.ada/tasks/foo.adb: Add another stopping location.
22
34877895
PJ
232019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
24
25 * gdb.base/endianity.c: New test.
26 * gdb.base/endianity.exp: New file.
27
2e84f897
LD
282019-11-21 Lukas Durfina <ldurfina@tachyum.com>
29
30 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
31
65d1cd5f
TV
322019-11-21 Tom de Vries <tdevries@suse.de>
33
34 PR gdb/24956
35 * gdb.base/ui-redirect.exp: Test output of user-defined command.
36
4f22c3f4
SDJ
372019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
38
39 * gdb.python/py-progspace.exp: Add missing parentheses on some
40 'print' commands.
41
9f6ad286
TT
422019-11-19 Tom Tromey <tom@tromey.com>
43
44 * gdb.tui/winheight.exp: New file.
45
0b8dbf3f
AB
462019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
47
48 * gdb.base/ctf-whatis.c: Delete.
49 * gdb.base/ctf-whatis.exp: Delete.
50 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
51
f833b7a7
AB
522019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
53
54 * gdb.base/ctf-cvexpr.exp: Delete.
55 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
56
30d0a636
AB
572019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
58
59 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
60 the compiler. Clean up header comment a little.
61 * gdb.base/ctf-ptype.exp: Likewise.
62 * gdb.base/ctf-whatis.exp: Likewise.
63 * lib/gdb.exp (skip_ctf_tests): New proc.
64
494409bb
SDJ
652019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
66
67 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
68 * gdb.tui/corefile-run.exp: New file.
69
55708e99
TT
702019-11-14 Tom Tromey <tromey@adacore.com>
71
72 * gdb.base/gdbvars.exp (test_convenience_variables): Add
73 regression tests.
74
45e42163
TT
752019-11-12 Tom Tromey <tom@tromey.com>
76
77 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
78 after any command. Expect prompt after WAIT_FOR is seen.
79 (enter_tui): Enable resize messages.
80 (command): Expect command in output.
81 (get_line): Avoid error when cursor appears to be off-screen.
82 (dump_screen): Include screen size in title.
83 (_do_resize): New proc, from "resize".
84 (resize): Rewrite. Do resize in two steps.
85 * gdb.tui/empty.exp (layouts): Fix entries.
86 (check_boxes): Remove xfail.
87 (check_text): Dump screen on failure.
88
086baaf1
AB
892019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 * gdb.python/py-symbol.exp: Add test for
92 gdb.lookup_static_symbols.
93
09ff83af
AB
942019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
95
96 * gdb.python/py-symbol.c: Declare and call function from new
97 py-symbol-2.c file.
98 * gdb.python/py-symbol.exp: Compile both source files, and add new
99 tests for gdb.lookup_static_symbol.
100 * gdb.python/py-symbol-2.c: New file.
101
11af934b
TV
1022019-11-02 Tom de Vries <tdevries@suse.de>
103
104 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
105 * gdb.base/anon.exp: Same.
106 * gdb.base/auto-connect-native-target.exp: Same.
107 * gdb.base/call-ar-st.exp: Same.
108 * gdb.base/catch-syscall.exp: Same.
109 * gdb.base/commands.exp: Same.
110 * gdb.base/default.exp: Same.
111 * gdb.base/display.exp: Same.
112 * gdb.base/float.exp: Same.
113 * gdb.base/foll-fork.exp: Same.
114 * gdb.base/help.exp: Same.
115 * gdb.base/info-macros.exp: Same.
116 * gdb.base/info-proc.exp: Same.
117 * gdb.base/info-target.exp: Same.
118 * gdb.base/long_long.exp: Same.
119 * gdb.base/macscp.exp: Same.
120 * gdb.base/memattr.exp: Same.
121 * gdb.base/nofield.exp: Same.
122 * gdb.base/pointers.exp: Same.
123 * gdb.base/printcmds.exp: Same.
124 * gdb.base/ptype.exp: Same.
125 * gdb.base/restore.exp: Same.
126 * gdb.base/return.exp: Same.
127 * gdb.base/scope.exp: Same.
128 * gdb.base/set-noassign.exp: Same.
129 * gdb.base/setshow.exp: Same.
130 * gdb.base/shlib-call.exp: Same.
131 * gdb.base/signals.exp: Same.
132 * gdb.base/sigstep.exp: Same.
133 * gdb.base/skip.exp: Same.
134 * gdb.base/solib-symbol.exp: Same.
135 * gdb.base/stap-probe.exp: Same.
136 * gdb.base/step-line.exp: Same.
137 * gdb.base/step-test.exp: Same.
138 * gdb.base/style.exp: Same.
139 * gdb.base/varargs.exp: Same.
140 * gdb.base/vla-datatypes.exp: Same.
141 * gdb.base/vla-ptr.exp: Same.
142 * gdb.base/vla-sideeffect.exp: Same.
143 * gdb.base/volatile.exp: Same.
144 * gdb.base/watch-cond-infcall.exp: Same.
145 * gdb.base/watchpoint.exp: Same.
146
e96ec2ba
TV
1472019-11-02 Tom de Vries <tdevries@suse.de>
148
149 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
150 * gdb.cp/cpexprs.exp: Same.
151 * gdb.cp/except-multi-location.exp: Same.
152 * gdb.cp/exceptprint.exp: Same.
153 * gdb.cp/gdb2384.exp: Same.
154 * gdb.cp/inherit.exp: Same.
155 * gdb.cp/m-static.exp: Same.
156 * gdb.cp/meth-typedefs.exp: Same.
157 * gdb.cp/misc.exp: Same.
158 * gdb.cp/namespace.exp: Same.
159 * gdb.cp/non-trivial-retval.exp: Same.
160 * gdb.cp/overload.exp: Same.
161 * gdb.cp/pr17132.exp: Same.
162 * gdb.cp/re-set-overloaded.exp: Same.
163 * gdb.cp/rvalue-ref-types.exp: Same.
164 * gdb.cp/templates.exp: Same.
165
bd5766ec
LM
1662019-11-01 Luis Machado <luis.machado@linaro.org>
167
168 PR gdb/25124
169
170 * gdb.arch/pr25124.S: New file.
171 * gdb.arch/pr25124.exp: New file.
172
165f8965
AB
1732019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
174
175 * gdb.fortran/info-modules.exp: Update expected results, and add
176 additional tests for 'info module functinos', and 'info module
177 variables'.
178 * gdb.fortran/info-types.exp: Update expected results.
179 * gdb.fortran/info-types.f90: Extend testcase with additional
180 module variables and functions.
181
59c35742
AB
1822019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
183
184 * gdb.fortran/info-modules.exp: New file.
185 * gdb.fortran/info-types.exp: Build with new file.
186 * gdb.fortran/info-types.f90: Include and use new module.
187 * gdb.fortran/info-types-2.f90: New file.
188
f3fb2519
PW
1892019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
190
191 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
192 * gdb.base/settings.exp: Test all settings types using
193 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
194 that now verifies that the value of "maint show" is the same as
195 returned by the settings functions. Test the type of the
196 maintenance settings.
197 * gdb.base/default.exp: Update show_conv_list.
198
d1e36019
TV
1992019-10-31 Tom de Vries <tdevries@suse.de>
200
201 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
202 gdb_test.
203 * gdb.arch/amd64-disp-step.exp: Same.
204 * gdb.asm/asm-source.exp: Same.
205 * gdb.btrace/buffer-size.exp: Same.
206 * gdb.btrace/cpu.exp: Same.
207 * gdb.btrace/enable.exp: Same.
208 * gdb.dwarf2/count.exp: Same.
209 * gdb.dwarf2/dw2-ranges-func.exp: Same.
210 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
211 * gdb.fortran/vla-datatypes.exp: Same.
212 * gdb.fortran/vla-history.exp: Same.
213 * gdb.fortran/vla-ptype.exp: Same.
214 * gdb.fortran/vla-value.exp: Same.
215 * gdb.fortran/whatis_type.exp: Same.
216 * gdb.guile/guile.exp: Same.
217 * gdb.multi/tids.exp: Same.
218 * gdb.python/py-finish-breakpoint.exp: Same.
219 * gdb.python/py-framefilter.exp: Same.
220 * gdb.python/py-pp-registration.exp: Same.
221 * gdb.python/py-xmethods.exp: Same.
222 * gdb.python/python.exp: Same.
223 * gdb.server/connect-with-no-symbol-file.exp: Same.
224 * gdb.server/no-thread-db.exp: Same.
225 * gdb.server/run-without-local-binary.exp: Same.
226 * gdb.stabs/weird.exp: Same.
227 * gdb.threads/attach-many-short-lived-threads.exp: Same.
228 * gdb.threads/thread-find.exp: Same.
229 * gdb.threads/tls-shared.exp: Same.
230 * gdb.threads/tls.exp: Same.
231 * gdb.threads/wp-replication.exp: Same.
232 * gdb.trace/ax.exp: Same.
233 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
234
3d11e68e
TV
2352019-10-31 Tom de Vries <tdevries@suse.de>
236
237 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
238 * gdb.ada/array_subscript_addr.exp: Same.
239 * gdb.ada/arrayidx.exp: Same.
240 * gdb.ada/arrayparam.exp: Same.
241 * gdb.ada/arrayptr.exp: Same.
242 * gdb.ada/boolean_expr.exp: Same.
243 * gdb.ada/call_pn.exp: Same.
244 * gdb.ada/complete.exp: Same.
245 * gdb.ada/fixed_cmp.exp: Same.
246 * gdb.ada/fun_addr.exp: Same.
247 * gdb.ada/funcall_param.exp: Same.
248 * gdb.ada/interface.exp: Same.
249 * gdb.ada/mod_from_name.exp: Same.
250 * gdb.ada/null_array.exp: Same.
251 * gdb.ada/packed_array.exp: Same.
252 * gdb.ada/packed_tagged.exp: Same.
253 * gdb.ada/print_chars.exp: Same.
254 * gdb.ada/print_pc.exp: Same.
255 * gdb.ada/ptype_arith_binop.exp: Same.
256 * gdb.ada/ptype_field.exp: Same.
257 * gdb.ada/ptype_tagged_param.exp: Same.
258 * gdb.ada/rec_return.exp: Same.
259 * gdb.ada/ref_tick_size.exp: Same.
260 * gdb.ada/str_ref_cmp.exp: Same.
261 * gdb.ada/taft_type.exp: Same.
262 * gdb.ada/tagged.exp: Same.
263 * gdb.ada/type_coercion.exp: Same.
264 * gdb.ada/uninitialized_vars.exp: Same.
265
60b6ede8
TV
2662019-10-30 Tom de Vries <tdevries@suse.de>
267
268 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
269
30baf67b
TV
2702019-10-26 Tom de Vries <tdevries@suse.de>
271
272 * gdb.base/bigcore.c: Fix typos in comments.
273 * gdb.base/ctf-ptype.c: Same.
274 * gdb.base/long_long.c: Same.
275 * gdb.dwarf2/dw2-op-out-param.S: Same.
276 * gdb.python/py-evthreads.c: Same.
277 * gdb.reverse/i387-stack-reverse.c: Same.
278 * gdb.trace/tfile.c: Same.
279 * lib/compiler.c: Same.
280 * lib/compiler.cc: Same.
281
158da0d1
TV
2822019-10-25 Tom de Vries <tdevries@suse.de>
283
284 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
285 gdb_test_multiple calls.
286 * gdb.reverse/sigall-reverse.exp: Same.
287 * gdb.reverse/solib-precsave.exp: Same.
288 * gdb.reverse/solib-reverse.exp: Same.
289 * gdb.reverse/until-precsave.exp: Same.
290 * gdb.reverse/until-reverse.exp: Same.
291
4ccdfbec
TV
2922019-10-24 Tom de Vries <tdevries@suse.de>
293
294 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
295 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
296 kfail using -wrap pattern flag and convenience variable
297 gdb_test_name.
298
33d569b7
AB
2992019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
300
301 * gdb.python/py-progspace.exp: Add tests for the
302 Progspace.block_for_pc method.
303
4d0b984b
TT
3042019-10-23 Tom Tromey <tom@tromey.com>
305
306 * configure: Rebuild.
307 * aclocal.m4: Use m4_include, not sinclude.
308
94cb3754
TV
3092019-10-21 Tom de Vries <tdevries@suse.de>
310
311 * gdb.base/infcall-nested-structs.c: Add
312 __attribute__((noinline,noclone)) to all functions.
313 (call_all): Add missing variable initialization. Simplify return value.
314 (breakpt): Increment volatile variable, to prevent call from being
315 optimized out.
316 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
317
062f1fc1
TV
3182019-10-17 Tom de Vries <tdevries@suse.de>
319
320 * gdb.fortran/module.exp: Allow info variables to print info for files
321 other than module.f90.
322
0b54364d
AB
3232019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
324
325 * gdb.fortran/module.exp: Extend with 'info variables' test.
326
7ff5fae7
AB
3272019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
328
329 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
330 F77_FOR_TARGET.
331
d10eccaa
TV
3322019-10-16 Tom de Vries <tdevries@suse.de>
333
334 PR tdep/25096
335 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
336
745ff14e
TV
3372019-10-16 Tom de Vries <tdevries@suse.de>
338
339 PR tdep/24104
340 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
341 Add KFAIL for PR tdep/25096.
342
03e1ab94
TV
3432019-10-16 Tom de Vries <tdevries@suse.de>
344
345 PR testsuite/25059
346 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
347
b17fcc10
TV
3482019-10-16 Tom de Vries <tdevries@suse.de>
349
350 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
351 as signed.
352
9223170f
SM
3532019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
354
355 * gdb.mi/list-thread-groups-available.exp: Read entries one by
356 one instead of increasing timeout.
357
d6e76313
TV
3582019-10-13 Tom de Vries <tdevries@suse.de>
359
360 PR record/25038
361 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
362 * gdb.reverse/sigall-reverse.exp: Same.
363 * gdb.reverse/solib-precsave.exp: Same.
364 * gdb.reverse/solib-reverse.exp: Same.
365 * gdb.reverse/step-precsave.exp: Same.
366 * gdb.reverse/until-precsave.exp: Same.
367 * gdb.reverse/until-reverse.exp: Same.
368 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
369
6dfc0041
AA
3702019-10-10 Andreas Arnez <arnez@linux.ibm.com>
371
372 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
373 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
374 (cmp_struct_05_01, cmp_struct_static_02_01)
375 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
376 comparisons.
377
abcf2cc8
TV
3782019-10-10 Tom de Vries <tdevries@suse.de>
379
380 PR testsuite/24888
381 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
382 gnatlink.
383
a50faaf6
TV
3842019-10-09 Tom de Vries <tdevries@suse.de>
385
386 PR testsuite/25048
387 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
388
60ff3cd7
AB
3892019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
390
391 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
392 exceptions due to missing debug information.
393
dfee8566
TV
3942019-10-07 Tom de Vries <tdevries@suse.de>
395
396 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
397
3d63690a
AB
3982019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
399
400 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
401 * gdb.base/annota1.exp: Update to use gdb_test_name.
402
30d1f018
WP
4032019-10-07 Weimin Pan <weimin.pan@oracle.com>
404
405 * gdb.base/ctf-whatis.exp: New file.
406 * gdb.base/ctf-whatis.c: New file.
407 * gdb.base/ctf-ptype.exp: New file.
408 * gdb.base/ctf-ptype.c: New file.
409 * gdb.base/ctf-constvars.exp: New file.
410 * gdb.base/ctf-constvars.c: New file.
411 * gdb.base/ctf-cvexpr.exp: New file.
412
4dbbb47c
TV
4132019-10-04 Tom de Vries <tdevries@suse.de>
414
415 * gdb.cp/local-static.c (main): Move declaration of int i out of the
416 for loop.
417
77c2dba3
TT
4182019-10-03 Tom Tromey <tom@tromey.com>
419
420 PR rust/24976:
421 * gdb.rust/simple.rs (Union2): New type.
422 (main): Use Union2.
423 * gdb.rust/simple.exp: Add test.
424
179aed7f
AB
4252019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
426
427 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
428 nested function prefix.
429
0a4b0913
AB
4302019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
431 Richard Bunt <richard.bunt@arm.com>
432 Andrew Burgess <andrew.burgess@embecosm.com>
433
434 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
435 nested functions.
436 * gdb.fortran/nested-funcs.f90: Update expected results.
437 * gdb.fortran/nested-funcs-2.exp: New file.
438 * gdb.fortran/nested-funcs-2.f90: New file.
439
082cce05
AB
4402019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
441
442 * gdb.python/py-parameter.exp: Make test names unique.
443 * gdb.python/py-template.exp: Likewise.
444 * gdb.python/py-value.exp: Likewise.
445
2b74ba5a
AB
4462019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
447
448 * gdb.base/break-interp.exp: Reduce test name duplication.
449 * gdb.base/call-sc.exp: Likewise.
450 * gdb.base/callfuncs.exp: Likewise.
451 * gdb.base/charset.exp: Likewise.
452 * gdb.base/dump.exp: Likewise.
453 * gdb.base/ena-dis-br.exp: Likewise.
454 * gdb.base/relational.exp: Likewise.
455 * gdb.base/step-over-syscall.exp: Likewise.
456 * gdb.base/structs.exp: Likewise.
457
58eb20d5
AB
4582019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
459
460 * gdb.linespec/explicit.exp: Make test names unique.
461 * gdb.linespec/ls-errs.exp: Likewise.
462
4d421147
AB
4632019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
464
465 * gdb.reverse/break-precsave.exp: Make test names unique.
466 * gdb.reverse/break-reverse.exp: Likewise.
467 * gdb.reverse/finish-precsave.exp: Likewise.
468 * gdb.reverse/finish-reverse.exp: Likewise.
469 * gdb.reverse/machinestate-precsave.exp: Likewise.
470 * gdb.reverse/machinestate.exp: Likewise.
471 * gdb.reverse/readv-reverse.exp: Likewise.
472 * gdb.reverse/recvmsg-reverse.exp: Likewise.
473 * gdb.reverse/sigall-precsave.exp: Likewise.
474 * gdb.reverse/sigall-reverse.exp: Likewise.
475 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
476 * gdb.reverse/watch-precsave.exp: Likewise.
477 * gdb.reverse/watch-reverse.exp: Likewise.
478
d8c06f22
AB
4792019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
480
481 * gdb.threads/stop-with-handle.c: New file.
482 * gdb.threads/stop-with-handle.exp: New file.
483
3a56ed86
TV
4842019-10-03 Tom de Vries <tdevries@suse.de>
485
486 PR testsuite/25059
487 * gdb.base/list-missing-source.exp: Allowing the "Compilation
488 directory" line to be missing.
489
42275044
TV
4902019-10-03 Tom de Vries <tdevries@suse.de>
491
492 PR testsuite/25059
493 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
494 type optional.
495
9ef62df0
AA
4962019-10-02 Andreas Arnez <arnez@linux.ibm.com>
497
498 * gdb.python/py-format-string.c (string.h): New include.
499 (main): Fill a_struct_with_union.the_union.an_int with bytes of
500 the same value, for endianness-independence.
501 * gdb.python/py-format-string.exp (default_regexp_dict)
502 (test_pretty_structs, test_format): Adjust expected output to the
503 changed initialization.
504
37f6a7f4
TT
5052019-10-02 Tom Tromey <tromey@adacore.com>
506
507 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
508
1d58d6a2
PA
5092019-10-02 Pedro Alves <palves@redhat.com>
510 Andrew Burgess <andrew.burgess@embecosm.com>
511
512 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
513 "print-file-var.h".
514 (this_version_id) Use ATTRIBUTE_VISIBILITY.
515 (get_version_1): Print this_version_id and its address.
516 Add extern "C" wrappers around interface functions.
517 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
518 "print-file-var.h".
519 (this_version_id) Use ATTRIBUTE_VISIBILITY.
520 (get_version_2): Print this_version_id and its address.
521 Add extern "C" wrappers around interface functions.
522 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
523 <stddef.h> and "print-file-var.h".
524 Add extern "C" wrappers around interface functions.
525 [VERSION_ID_MAIN] (this_version_id): Define.
526 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
527 * gdb.base/print-file-var.h: Add some #defines to simplify setting
528 up extern "C" blocks.
529 * gdb.base/print-file-var.exp (test): New, factored out from top
530 level.
531 (top level): Test all combinations of attribute hidden or not,
532 dlopen or not, and this_version_id symbol in main file or not.
533 Compile tests as both C++ and C, make test names unique.
534
d770d56f
TT
5352019-10-01 Tom Tromey <tom@tromey.com>
536
537 * gdb.base/style.exp: Test "show logging filename".
538
7f6aba03
TT
5392019-10-01 Tom Tromey <tom@tromey.com>
540
541 * lib/gdb-utils.exp (style): Handle "metadata" argument.
542 * gdb.base/style.exp: Add metadata style test.
543
14309bb6
TT
5442019-10-01 Tom Tromey <tom@tromey.com>
545
546 * gdb.base/style.exp: Test "pwd".
547
2a3c1174
PA
5482019-10-01 Tom Tromey <tom@tromey.com>
549
550 * gdb.base/style.exp: Update tests.
551
53d666ec
AA
5522019-10-01 Andreas Arnez <arnez@linux.ibm.com>
553
554 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
555 'six' to unsigned.
556 (s1): Initialize fields 'four' and 'six' instead of 'three' and
557 'five'. Use an all-ones bit pattern for each.
558 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
559 to its changed values.
560
4a56a520
TT
5612019-09-30 Tom Tromey <tromey@adacore.com>
562
563 * gdb.rust/traits.rs: Disable all warnings.
564
0df0352a
TV
5652019-09-29 Tom de Vries <tdevries@suse.de>
566
567 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
568
73d9a918
TV
5692019-09-29 Tom de Vries <tdevries@suse.de>
570
571 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
572
060b3ab4
TV
5732019-09-27 Tom de Vries <tdevries@suse.de>
574
575 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
576
68f7d34d
TV
5772019-09-27 Tom de Vries <tdevries@suse.de>
578
579 PR record/23188
580 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
581
5d63b30a
TT
5822019-09-26 Tom Tromey <tromey@adacore.com>
583
584 * gdb.ada/py_taft.exp: New file.
585 * gdb.ada/py_taft/main.adb: New file.
586 * gdb.ada/py_taft/pkg.adb: New file.
587 * gdb.ada/py_taft/pkg.ads: New file.
588
3d435220
TV
5892019-09-24 Tom de Vries <tdevries@suse.de>
590
591 PR gdb/24598
592 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
593
77d03678
TV
5942019-09-22 Tom de Vries <tdevries@suse.de>
595
596 * gdb.base/restore.exp: Allow register variables to be optimized out at
597 -O0.
598
abf516c6
UW
5992019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
600
601 * gdb.arch/spu-info.exp: Remove file.
602 * gdb.arch/spu-info.c: Remove file.
603 * gdb.arch/spu-ls.exp: Remove file.
604 * gdb.arch/spu-ls.c: Remove file.
605
606 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
607 * gdb.asm/spu.inc: Remove file.
608
609 * gdb.base/dump.exp: Remove support for spu*-*-*.
610 * gdb.base/stack-checking.exp: Likewise.
611 * gdb.base/overlays.exp: Likewise.
612 * gdb.base/ovlymgr.c: Likewise.
613 * gdb.base/spu.ld: Remove file.
614
615 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
616 * gdb.cp/cpexprs.exp: Likewise.
617 * gdb.cp/exception.exp: Likewise.
618 * gdb.cp/gdb2495.exp: Likewise.
619 * gdb.cp/mb-templates.exp: Likewise.
620 * gdb.cp/pr9167.exp: Likewise.
621 * gdb.cp/userdef.exp: Likewise.
622
623 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
624
625 * gdb.cell: Remove directory.
626 * lib/cell.exp: Remove file.
627
e452e88f
TV
6282019-09-19 Tom de Vries <tdevries@suse.de>
629
630 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
631
8a625130
TV
6322019-09-19 Tom de Vries <tdevries@suse.de>
633
634 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
635
81dc3ab5
TV
6362019-09-19 Tom de Vries <tdevries@suse.de>
637
638 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
639 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
640 (gdb_target_cmd): ... here.
641 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
642 value 2.
643
b078f3ac
AB
6442019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
645
646 * gdb.base/source-dir.exp: Avoid having directory names in test
647 names.
648
f1b620e9
MG
6492019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
650
651 * gdb.base/source-dir.exp: Add extra test for mapped compilation
652 directory.
653
67f3ed6a
AB
6542019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
655
656 * gdb.base/list-missing-source.exp: New file.
657
d1b70248
TV
6582019-09-14 Tom de Vries <tdevries@suse.de>
659
660 PR teststuite/24599
661 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
662 * lib/ada.exp (gnatmake_version_at_least): New proc.
663
5fabdcd6
AB
6642019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
665
666 * gdb.base/maint.exp: Use exec_has_index_section.
667
aa17805f
AB
6682019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
669
670 * gdb.base/maint.exp: Add test for 'maint info sections'.
671
25e5c209
TV
6722019-09-12 Tom de Vries <tdevries@suse.de>
673
674 * gdb.base/store.exp: Allow register variables to be optimized out at
675 -O0.
676
4993045d
PW
6772019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
678
679 * gdb.ada/rdv_wait.exp: Update to new task names.
680 * gdb.base/task_switch_in_core.exp: Likewise.
681 * gdb.base/info_sources_base.c: Likewise.
682
8a516164
TT
6832019-09-10 Tom Tromey <tromey@adacore.com>
684
685 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
686
aa391654
TT
6872019-09-10 Tom Tromey <tromey@adacore.com>
688
689 * gdb.ada/dgopt.exp: New file.
690 * gdb.ada/dgopt/x.adb: New file.
691
8634b462
TT
6922019-09-08 Tom Tromey <tom@tromey.com>
693
694 * gdb.tui/resize.exp: Remove setup_xfail.
695 * gdb.tui/regs.exp: Remove setup_xfail.
696 * gdb.tui/basic.exp: Remove setup_xfail.
697
736b0f76
DB
6982019-09-06 David Blaikie <dblaikie@gmail.com>
699
700 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
701 * gdb.cp/cplabel.exp: Ditto.
702 * gdb.linespec/ls-errs.exp: Ditto.
703
30331a6c
TV
7042019-09-05 Tom de Vries <tdevries@suse.de>
705
706 * lib/gdb.exp (cmp_file_string): New proc.
707 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
708 runto_main. Verify save breakpoints output.
709
98b0ebab
PW
7102019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
711
712 * gdb.base/info-var.exp: Test info variables without running
713 to main, to avoid expect's buffer overflow.
714
4e962e74
TT
7152019-09-03 Tom Tromey <tromey@adacore.com>
716
717 * gdb.ada/bias.exp: New file.
718 * gdb.ada/bias/bias.adb: New file.
719 * gdb.ada/print_chars.exp: Add regression test.
720 * gdb.ada/print_chars/foo.adb (My_Character): New type.
721 (MC): New variable.
722
2ea1a07a
SL
7232019-08-29 Sandra Loosemore <sandra@codesourcery.com>
724
725 * gdb.base/argv0-symlink.exp: Run only on native target
726 and local host.
727
8077c50d
TV
7282019-08-29 Tom de Vries <tdevries@suse.de>
729
730 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
731 diverse debug info.
732 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
733
48352473
TV
7342019-08-28 Tom de Vries <tdevries@suse.de>
735
736 * gdb.base/info-var.exp: Allow info variables to print info for files
737 other than info-var-f1.c and info-var-f2.c.
738
d8f27c60
AB
7392019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
740
741 * gdb.fortran/info-types.exp: Add module.
742 * gdb.fortran/info-types.f90: Update expected results.
743
1f20c35e
AB
7442019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
745
746 * gdb.fortran/info-types.exp: New file.
747 * gdb.fortran/info-types.f90: New file.
748 * lib/fortran.exp (fortran_character1): New proc.
749
4acfdd20
AB
7502019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
751
752 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
753 functions'. Reindent as needed.
754 * gdb.base/info-var-f1.c: New file.
755 * gdb.base/info-var-f2.c: New file.
756 * gdb.base/info-var.exp: New file.
757 * gdb.base/info-var.h: New file.
758
5c31b358
TV
7592019-08-26 Tom de Vries <tdevries@suse.de>
760
761 PR c++/24852
762 * gdb.cp/no-libstdcxx-probe.exp: New test.
763
b694989f
TV
7642019-08-26 Tom de Vries <tdevries@suse.de>
765
766 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
767 * tests need to be skipped.
768 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
769 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
770 mi_skip_libstdcxx_probe_tests.
771
d9c4ba53
SDJ
7722019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
773
774 * gdb.python/py-xmethods.exp: Use raw strings when passing
775 arguments to SimpleXMethodMatcher.
776
395fad09
TV
7772019-08-22 Tom de Vries <tdevries@suse.de>
778
779 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
780 more informative.
781
26c957f1
PA
7822019-08-21 Pedro Alves <palves@redhat.com>
783
784 * gdb.base/with.exp: Test "with" with no arguments.
785
61f80d5d
TV
7862019-08-21 Tom de Vries <tdevries@suse.de>
787
788 * gdb.base/gdb-caching-proc.exp: Sort files.
789
d7a11d13
TV
7902019-08-20 Tom de Vries <tdevries@suse.de>
791
792 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
793 compilation.
794
34dafe9f
TV
7952019-08-16 Tom de Vries <tdevries@suse.de>
796
797 * gdb.base/compare-sections.exp ("after run to main"): Allow
798 mismatched read-only sections for PIE executables.
799
398fdd60
TT
8002019-08-16 Tom Tromey <tom@tromey.com>
801
802 * lib/tuiterm.exp (_csi_Z): New proc.
803 * gdb.tui/basic.exp: Update window positions.
804 * gdb.tui/empty.exp: Update window positions.
805
d8f9e51c
SL
8062019-08-15 Sandra Loosemore <sandra@codesourcery.com>
807
808 * gdb.base/examine-backward.exp: Correct regexp for
809 "examine 3 bytes backward from ${address_zero}".
810
3df505f6
TT
8112019-08-15 Tom Tromey <tom@tromey.com>
812
813 * gdb.tui/empty.exp: Enable resizing tests.
814
272560b5
TT
8152019-08-15 Tom Tromey <tromey@adacore.com>
816
817 * gdb.ada/char_enum.exp: Add regression tests.
818 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
819 and '0'.
820 (Char, Gchar): Update.
821 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
822
08235187
CB
8232019-08-15 Christian Biesinger <cbiesinger@google.com>
824
825 * gdb.python/python.exp: Expect a leading underscore on
826 GdbOutput{,Error}File.
827
22a2ab04
SL
8282019-08-15 Sandra Loosemore <sandra@codesourcery.com>
829
830 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
831 Windows host.
832
835b995b
SL
8332019-08-15 Sandra Loosemore <sandra@codesourcery.com>
834
835 * gdb.base/batch-preserve-term-settings.exp
836 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
837
97dd8e07
CB
8382019-08-15 Christian Biesinger <cbiesinger@google.com>
839
840 * lib/gdb.exp: When running on a mingw target, replace
841 /x/ with x:/.
842
75faf5c4
AH
8432019-08-14 Alan Hayward <alan.hayward@arm.com>
844
845 * gdb.arch/aarch64-prologue.c: New test.
846 * gdb.arch/aarch64-prologue.exp: New file.
847
abc6c00f
TV
8482019-08-13 Tom de Vries <tdevries@suse.de>
849
850 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
851 Thread.
852
74c2c1f4
SL
8532019-08-13 Sandra Loosemore <sandra@codesourcery.com>
854
855 * gdb.python/py-completion.exp: Download the .py file to the host
856 and use its host pathname. Conditionalize tests that use
857 tab completion and manipulate files on the build machine.
858 * gdb.python/py-events.exp: Download the .py file to the host
859 and use its host pathname.
860 * gdb.python/py-evsignal.exp: Likewise.
861 * gdb.python/py-evthreads.exp: Likewise.
862 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
863 pathname syntax.
864 * gdb.python/py-framefilter.exp: Download the .py file to the right
865 place on the host. Match Windows pathname syntax.
866 * gdb.python/py-mi-var-info-path-expression.exp: Download the
867 .py file to the host and use its host pathname.
868 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
869 * gdb.python/py-objfile.exp: Expect a host pathname, not a
870 build pathname. Skip symlink test on Windows host. Add missing
871 newline at end of file.
872 * gdb.python/py-pp-maint.exp: Download the .py file to the host
873 and use its host pathname.
874 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
875 * gdb.python/py-section-script.exp: Use host location of binfile
876 on safe-path. Use correct path separator on Windows host.
877 Reorder alternatives in gdb_test_multiple to prevent matching
878 the wrong alternative on success.
879 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
880
ca2589f3
PP
8812019-08-12 Patrick Palka <patrick@parcs.ath.cx>
882
883 * gdb.gdb/selftest.exp (test_with_self): Update test to now
884 expect the GDB inferior to no longer immediately stop after
885 being resumed with "signal SIGINT".
886
020a839d
SL
8872019-08-09 Sandra Loosemore <sandra@codesourcery.com>
888
889 * gdb.linespec/break-ask.exp: Generalize regexps to match
890 Windows pathnames too.
891
128d6509
TV
8922019-08-08 Tom de Vries <tdevries@suse.de>
893
894 PR testsuite/24862
895 * lib/tuiterm.exp (_accept): Fix CSI regexp.
896
590042fc
PW
8972019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
898
899 * gdb.base/style.exp: Update tests for help doc new invariants.
900 * gdb.base/help.exp: Likewise.
901
046bebe1
TT
9022019-08-06 Tom Tromey <tom@tromey.com>
903
904 * gdb.base/style.exp: Add disassemble test.
905 * gdb.base/style.c (some_called_function): New function.
906 (main): Use it.
907
0b27c27d
CB
9082019-08-05 Christian Biesinger <cbiesinger@google.com>
909
910 * gdb.python/py-block.exp: Test dictionary access on blocks.
911
580f1034
SM
9122019-08-05 Simon Marchi <simon.marchi@efficios.com>
913
914 PR gdb/24863
915 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
916 -list-thread-groups --available test when running under
917 check-read1.
918
d86bd7cb
TV
9192019-08-05 Tom de Vries <tdevries@suse.de>
920
921 PR testsuite/24863
922 * lib/gdb.exp (with_read1_timeout_factor): New proc.
923 * gdb.base/help.exp: Use with_read1_timeout_factor.
924 * gdb.base/info-macros.exp: Same.
925 * gdb.cp/nested-types.exp: Same.
926
a80cf5d8
TV
9272019-08-05 Tom de Vries <tdevries@suse.de>
928
929 * lib/gdb.exp (version_at_least): Factor out of ...
930 (tcl_version_at_least): ... here.
931 (gdb_compile): Fail if pie results in non-PIE executable.
932 (readelf_version, readelf_prints_pie): New proc.
933 (exec_is_pie): Return -1 if unknown.
934
d0962838
TV
9352019-08-05 Tom de Vries <tdevries@suse.de>
936
937 * lib/gdb.exp (tcl_version_at_least): Fix typo.
938
2252ff3d
SL
9392019-08-04 Sandra Loosemore <sandra@codesourcery.com>
940
941 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
942
26655f53
SL
9432019-08-04 Sandra Loosemore <sandra@codesourcery.com>
944
945 * lib/completion-support.exp (test_gdb_complete_none): Skip
946 tab completion tests if no readline support.
947 (test_gdb_complete_unique_re): Likewise.
948 (test_gdb_complete_multiple): Likewise.
949
db4dc13e
PW
9502019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
951
952 * gdb.base/info_sources.exp: New file.
953 * gdb.base/info_sources.c: New file.
954 * gdb.base/info_sources_base.c: New file.
955
0eba165a
PFC
9562019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
957
958 * gdb.base/batch-exit-status.exp: Call test_exit_status with
959 prefix argument.
960 (test_exit_status): Add prefix argument.
961
59bd512b
TV
9622019-08-01 Tom de Vries <tdevries@suse.de>
963
964 PR testsuite/24863
965 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
966 calling exp_continue for new thread and thread exited messages.
967
2a3ad588
TV
9682019-08-01 Tom de Vries <tdevries@suse.de>
969
970 PR testsuite/24863
971 * gdb.base/structs.exp: Fix check-read1 timeout using
972 gdb_test_sequence.
973 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
974
117eb594
TV
9752019-08-01 Tom de Vries <tdevries@suse.de>
976
977 PR testsuite/24863
978 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
979 line.
980
ed591340
TV
9812019-08-01 Tom de Vries <tdevries@suse.de>
982
983 PR testsuite/24863
984 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
985
aa3b6533
TT
9862019-07-30 Tom Tromey <tromey@adacore.com>
987
988 * gdb.ada/display_nested.exp: New file.
989 * gdb.ada/display_nested/foo.adb: New file.
990 * gdb.ada/display_nested/pack.adb: New file.
991 * gdb.ada/display_nested/pack.ads: New file.
992
2906593f
CB
9932019-07-30 Christian Biesinger <cbiesinger@google.com>
994
995 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
996 namespace.
997 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
998
0f575925
TV
9992019-07-30 Tom de Vries <tdevries@suse.de>
1000
1001 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1002 instead.
1003
b13057d9
TV
10042019-07-30 Tom de Vries <tdevries@suse.de>
1005
1006 PR testsuite/24834
1007 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1008 (exec_is_pie): New proc.
1009
5c4dde85
CB
10102019-07-29 Christian Biesinger <cbiesinger@google.com>
1011
1012 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1013
c620ed88
CB
10142019-07-29 Christian Biesinger <cbiesinger@google.com>
1015
1016 * gdb.python/py-objfile.c: Add global and static vars.
1017 * gdb.python/py-objfile.exp: Test new functions Objfile.
1018 lookup_global_symbol and lookup_static_symbol.
1019
3d235706
TT
10202019-07-29 Tom Tromey <tom@tromey.com>
1021
1022 * lib/tuiterm.exp (Term::_csi_@): New proc.
1023 (Term::_csi_X): Don't move cursor.
1024
c7e4c0a6
PW
10252019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1026
1027 * gdb.base/options.exp: Update backtrace - completion to
1028 new option -frame-info.
1029 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1030 Test new 'set print frame-info'. Test backtrace -frame-info
1031 overriding 'set print frame-info'.
1032 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1033 Test new 'set print frame-info'.
1034 Verify consistency of backtrace with and without filters, with and
1035 without -no-filters.
1036 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1037 default.
1038
de28a3b7
TV
10392019-07-29 Tom de Vries <tdevries@suse.de>
1040
1041 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1042 no arguments".
1043
507dd60e
TV
10442019-07-29 Tom de Vries <tdevries@suse.de>
1045
1046 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1047 is a substring of the first for "complete non-unique file name".
1048
5beafce9
TV
10492019-07-29 Tom de Vries <tdevries@suse.de>
1050
1051 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1052 with ".*".
1053
2d274232
TV
10542019-07-29 Tom de Vries <tdevries@suse.de>
1055
1056 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1057 Pass prompt_regexp parameter to gdb_test_multiple calls.
1058
9197cd8b
TV
10592019-07-29 Tom de Vries <tdevries@suse.de>
1060
1061 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1062 print registers" regexps.
1063
b528dae0
TV
10642019-07-29 Tom de Vries <tdevries@suse.de>
1065
1066 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1067
d17725d7
TV
10682019-07-29 Tom de Vries <tdevries@suse.de>
1069
1070 PR gdb/24855
1071 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1072 (skip_python_tests_prompt): Add prompt_regexp argument to
1073 gdb_test_multiple calls.
1074
52b75bf1
TT
10752019-07-27 Tom Tromey <tom@tromey.com>
1076
1077 * gdb.tui/main.exp: New file.
1078
2b1d00c2
TT
10792019-07-27 Tom Tromey <tom@tromey.com>
1080
1081 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1082 optional.
1083 * gdb.tui/empty.exp: New file.
1084
ded631d5
TT
10852019-07-27 Tom Tromey <tom@tromey.com>
1086
1087 * lib/tuiterm.exp (spawn): New proc.
1088 (Term::resize): New proc.
1089 * gdb.tui/resize.exp: New file.
1090
58ac439d
TT
10912019-07-27 Tom Tromey <tom@tromey.com>
1092
1093 * gdb.tui/list.exp: New file.
1094
fe1f56ee
TT
10952019-07-27 Tom Tromey <tom@tromey.com>
1096
1097 * gdb.tui/regs.exp: New file.
1098
f790b310
TT
10992019-07-27 Tom Tromey <tom@tromey.com>
1100
1101 * gdb.tui/basic.exp: Add "layout split" test.
1102
d95fc6ee
TT
11032019-07-27 Tom Tromey <tom@tromey.com>
1104
1105 * gdb.tui/basic.exp: Add "layout asm" test.
1106
c3786b3a
TT
11072019-07-27 Tom Tromey <tom@tromey.com>
1108
1109 * lib/tuiterm.exp: New file.
1110 * gdb.tui/basic.exp: New file.
1111
98a617f8
KB
11122019-07-27 Kevin Buettner <kevinb@redhat.com>
1113
1114 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1115 Enable tests associated with this flag. Adjust regex
1116 referencing "foo_low" to now refer to "foo_cold" instead.
1117
5c076da4
KB
11182019-07-27 Kevin Buettner <kevinb@redhat.com>
1119
1120 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1121 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1122 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1123 foo_cold. Revise comments to match.
1124 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1125 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1126 were wrapped into this proc; Call do_test in loop from outermost
1127 level.
1128 (foo_low): Rename all occurrences to "foo_cold".
1129 (backtrace from baz): New test.
1130 (x2/i foo_cold): New test.
1131 (info line *foo_cold): New test.
1132
1512d3b7
TV
11332019-07-26 Tom de Vries <tdevries@suse.de>
1134
1135 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1136
297989a1
TV
11372019-07-25 Tom de Vries <tdevries@suse.de>
1138
1139 PR testsuite/24830
1140 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1141 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1142 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1143 (skip_libstdcxx_probe_tests): ... here.
1144 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1145
b3b965fb
TV
11462019-07-24 Tom de Vries <tdevries@suse.de>
1147
1148 PR testsuite/24807
1149 * gdb.objc/basicclass.m: Include stdio.h.
1150 * gdb.objc/nondebug.m: Same.
1151 * gdb.objc/objcdecode.m: Same.
1152
4625b4d0
TV
11532019-07-24 Tom de Vries <tdevries@suse.de>
1154
1155 PR testsuite/24612
1156 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1157 additional_flags.
1158
024a5840
TV
11592019-07-24 Tom de Vries <tdevries@suse.de>
1160
1161 PR testsuite/24831
1162 * gdb.multi/tids.exp: Update error messages for info threads.
1163
c76ddaa3
TV
11642019-07-24 Tom de Vries <tdevries@suse.de>
1165
1166 * gdb.base/info-types.exp: Allow info types to print info for more than
1167 one file.
1168
9a618ef6
TV
11692019-07-23 Tom de Vries <tdevries@suse.de>
1170
1171 PR testsuite/24842
1172 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1173 gdb_spawn_with_cmdline_opts.
1174
40eadf04
SP
11752019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1176
1177 * gdb.arch/arm-cmse-sgstubs.c: New test.
1178 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1179
5ba29434
TV
11802019-07-23 Tom de Vries <tdevries@suse.de>
1181
1182 PR testsuite/24711
1183 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1184 issuing next command.
1185
a8e9d247
AB
11862019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1187
1188 * gdb.ada/info_auto_lang.exp: Update expected results.
1189 * gdb.base/info-types.c: Add additional types to check.
1190 * gdb.base/info-types.exp: Update expected results.
1191
eb86c5e2
AB
11922019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1193
1194 * gdb.base/info-types.c: New file.
1195 * gdb.base/info-types.exp: New file.
1196
01e175fe
AB
11972019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1198
1199 * gdb.arch/riscv-bp-infcall.c: New file.
1200 * gdb.arch/riscv-bp-infcall.exp: New file.
1201
6b78c3f8
AB
12022019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1203
1204 PR breakpoints/24541
1205 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1206
da738167
TV
12072019-07-14 Tom de Vries <tdevries@suse.de>
1208
1209 PR testsuite/24760
1210 * gdb.objc/basicclass.exp: Fix unterminated string.
1211
0d4e84ed
AB
12122019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1213 Andrew Burgess <andrew.burgess@embecosm.com>
1214
1215 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1216 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1217 negative bounds.
1218 * gdb.fortran/vla-value.exp: Print elements of an array with
1219 negative bounds.
1220 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1221 testing.
1222
021d8588
AB
12232019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1224
1225 * gdb.base/options.exp (expect_string): Dequote strings in
1226 results.
1227 (test-string): Test strings with different quoting and reindent.
1228
f06f1252
TT
12292019-07-10 Tom Tromey <tromey@adacore.com>
1230
1231 * gdb.ada/mi_ex_cond.exp: Update expected results.
1232 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1233 * gdb.ada/mi_catch_ex.exp: Update expected results.
1234 * gdb.ada/mi_catch_assert.exp: Update expected results.
1235 * gdb.ada/catch_ex.exp (catch_exception_info)
1236 (catch_exception_entry, catch_assert_entry)
1237 (catch_unhandled_entry): Update.
1238 * gdb.ada/catch_assert_if.exp: Update expected results.
1239
b863685d
RB
12402019-07-10 Richard Bunt <richard.bunt@arm.com>
1241 Stephen Roberts <stephen.roberts@arm.com>
1242
1243 * gdb.base/define.exp: Restore original prompt.
1244
cb1e4e32
PA
12452019-07-09 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1248 breakpoints" output.
1249 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1250 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1251 throw" creates breakpoint.
1252 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1253 'type="catchpoint"'.
1254
b58a68fe
PA
12552019-07-09 Pedro Alves <palves@redhat.com>
1256
1257 PR c++/15468
1258 * gdb.cp/except-multi-location-lib.cc: New.
1259 * gdb.cp/except-multi-location-main.cc: New.
1260 * gdb.cp/except-multi-location.exp: New.
1261
0826779b
PW
12622019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1263
1264 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1265 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1266 argument and update callers.
1267
5b0e2db4
AB
12682019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1269
1270 * gdb.arch/amd64-break-on-asm-line.S: New file.
1271 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1272
1f6f6e21
PW
12732019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1274
1275 * gdb.base/printcmds.exp: Test printing C string and
1276 C wide string convenience vars without transiting via the inferior.
1277 Also make test names unique.
1278
ea142fbf
AH
12792019-07-08 Alan Hayward <alan.hayward@arm.com>
1280
5862c886 1281 PR breakpoints/25011
ea142fbf
AH
1282 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1283
213fd9fa
PA
12842019-07-04 Pedro Alves <palves@redhat.com>
1285
1286 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1287 body returned ok(0), break(3) or continue(4).
1288 * gdb.testsuite/foreach_with_prefix.exp: New file.
1289
2b40fda7
AH
12902019-07-04 Alan Hayward <alan.hayward@arm.com>
1291
1292 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1293
a26c8de0
PA
12942019-07-03 Pedro Alves <palves@redhat.com>
1295
1296 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1297 "return -code".
1298
5f4ba3e7
PA
12992019-07-03 Pedro Alves <palves@redhat.com>
1300
1301 PR cli/24732
1302 * gdb.base/shell.exp: Load completion-support.exp.
1303 Adjust expected error output. Add completion tests.
1304
a994424f
PA
13052019-07-03 Pedro Alves <palves@redhat.com>
1306
1307 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1308 string_to_regexp.
1309
3d9be6f5
PA
13102019-07-03 Pedro Alves <palves@redhat.com>
1311
1312 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1313 (expect_integer): Adjust to expect "-string".
1314 (expect_string): New.
1315 (all_options): Expect "-string".
1316 (test-flag, test-boolean): Adjust to expect "-string".
1317 (test-string): New proc.
1318 (top level): Call it.
1319
41fc454c
PA
13202019-07-03 Pedro Alves <palves@redhat.com>
1321
1322 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1323 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1324 the expected output in the success.
1325
b2b2a215
PA
13262019-07-03 Pedro Alves <palves@redhat.com>
1327
1328 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1329 Split one gdb_test_multiple call in two to avoid a race.
1330
fdbc9870
PA
13312019-07-03 Pedro Alves <palves@redhat.com>
1332
1333 * gdb.base/with.c: New file.
1334 * gdb.base/with.exp: New file.
1335
c6ac8931
PA
13362019-07-03 Pedro Alves <palves@redhat.com>
1337
1338 * gdb.base/settings.exp: Replace all references to "maint
1339 test-settings set" with references to "maint set test-settings",
1340 and all references to "maint test-settings show" with references
1341 to "maint show test-settings".
1342
970f9d09
PA
13432019-07-03 Pedro Alves <palves@redhat.com>
1344
1345 * gdb.base/settings.exp (test-string): Adjust expected out when
1346 testing "maint test-settings show filename"
1347
54d66006
PA
13482019-07-02 Pedro Alves <palves@redhat.com>
1349
1350 * gdb.base/options.exp (test-info-threads): New procedure.
1351 (top level): Call it.
1352
10d06d82
TT
13532019-06-28 Tom Tromey <tromey@adacore.com>
1354
1355 * gdb.dwarf2/ada-linkage-name.c: New file.
1356 * gdb.dwarf2/ada-linkage-name.exp: New file.
1357
3d507ff2
TT
13582019-06-27 Tom Tromey <tromey@adacore.com>
1359
d039f014 1360 PR c++/20020:
3d507ff2
TT
1361 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1362
8af58ffe
TV
13632019-06-26 Tom de Vries <tdevries@suse.de>
1364
1365 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1366
22e21752
TV
13672019-06-26 Tom de Vries <tdevries@suse.de>
1368
1369 * gdb.base/index-cache.exp: Add back missing debug option.
1370
b65b566c
PW
13712019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1372
1373 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1374
5c2c8c69
TV
13752019-06-25 Tom de Vries <tdevries@suse.de>
1376
1377 PR testsuite/24727
1378 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1379
164e3873
TV
13802019-06-24 Tom de Vries <tdevries@suse.de>
1381
1382 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1383
824eacee
TV
13842019-06-24 Tom de Vries <tdevries@suse.de>
1385
1386 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1387 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1388 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1389
385b97d3
TV
13902019-06-24 Tom de Vries <tdevries@suse.de>
1391
1392 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1393
c596f180
TV
13942019-06-21 Tom de Vries <tdevries@suse.de>
1395
1396 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1397
b13a7d03
TV
13982019-06-21 Tom de Vries <tdevries@suse.de>
1399
1400 PR testsuite/24518
1401 PR ada/24713
1402 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1403 index.
1404
899277ae
TT
14052019-06-19 Tom Tromey <tromey@adacore.com>
1406
1407 * gdb.ada/length_cond.exp: Add intro comment.
1408
680e1bee
TT
14092019-06-19 Tom Tromey <tromey@adacore.com>
1410
1411 * gdb.ada/length_cond.exp: New file.
1412 * gdb.ada/length_cond/length_cond.adb: New file.
1413 * gdb.ada/length_cond/pck.adb: New file.
1414 * gdb.ada/length_cond/pck.ads: New file.
1415
0ed4690a
TV
14162019-06-18 Tom de Vries <tdevries@suse.de>
1417
1418 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1419
d20ed5fd
TT
14202019-06-18 Tom Tromey <tromey@adacore.com>
1421
1422 * gdb.base/list0.h: Add comment explaining control character.
1423
86e04673
TV
14242019-06-18 Tom de Vries <tdevries@suse.de>
1425
1426 * boards/fission.exp: Break up long debug_flags line.
1427
c4973306
SM
14282019-06-16 Tom de Vries <tdevries@suse.de>
1429
1430 PR gdb/24445
1431 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1432 generated index.
1433
93cb9841
AB
14342019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1435
1436 PR gdb/24686
1437 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1438 improve detection of bug gdb/24541.
1439
399aaebd
SM
14402019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1441
1442 PR gdb/24669
1443 * gdb.base/index-cache.exp (uses_readnow,
1444 expecting_index_cache_use): Define global variable.
1445 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1446 expecting_index_cache_use.
1447
584a927c
AB
14482019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1449 Andrew Burgess <andrew.burgess@embecosm.com>
1450
1451 * gdb.fortran/pointers.f90: New file.
1452 * gdb.fortran/print_type.exp: New file.
1453 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1454 * gdb.fortran/vla-type.exp: Likewise.
1455 * gdb.fortran/vla-value.exp: Likewise.
1456 * gdb.mi/mi-vla-fortran.exp: Likewise.
1457
30056ea0
AB
14582019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1459
1460 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1461 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1462 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1463 as a stop reason.
1464
ec8e2b6d
AB
14652019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1466
1467 * gdb.base/annota1.exp: Update expected results.
1468 * gdb.cp/annota2.exp: Likewise.
1469 * gdb.cp/annota3.exp: Likewise.
1470
09e4c4e1
AB
14712019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1472
1473 * gdb.base/style-logging.exp: Remove path from test name.
1474
0735b091
TT
14752019-06-14 Tom Tromey <tromey@adacore.com>
1476
1477 PR gdb/24502:
1478 * gdb.base/style-logging.exp: New file.
1479
f5686554
TT
14802019-06-14 Tom Tromey <tromey@adacore.com>
1481
1482 * gdb.base/symfile-warn.exp: New file.
1483 * gdb.base/symfile-warn.c: New file.
1484
a0c1ffed
TT
14852019-06-14 Tom Tromey <tromey@adacore.com>
1486
1487 * gdb.base/annotate-symlink.exp: New file.
1488
f411722c
TT
14892019-06-14 Tom Tromey <tromey@adacore.com>
1490
1491 * gdb.ada/set_wstr.exp: Add reassignment test.
1492
4268ec18
TT
14932019-06-14 Tom Tromey <tromey@adacore.com>
1494
1495 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1496 'unchecked_access and 'unrestricted_access as well.
1497
9a9e394b
TT
14982019-06-14 Tom Tromey <tromey@adacore.com>
1499
1500 PR ada/24539:
1501 * gdb.ada/vla.exp: Update tests.
1502 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1503 pragma.
1504
4c048731
PA
15052019-06-13 Pedro Alves <palves@redhat.com>
1506
1507 * gdb.base/settings.exp (test-integer): Test junk after
1508 "unlimited".
1509
6665660a
PA
15102019-06-13 Pedro Alves <palves@redhat.com>
1511
1512 * gdb.base/options.exp (test-thread-apply): New.
1513 (top level): Call it.
1514
5d707134
PA
15152019-06-13 Pedro Alves <palves@redhat.com>
1516
1517 * gdb.base/options.exp (test-frame-apply): New.
1518 (top level): Test print commands with different "frame apply"
1519 prefixes.
1520
e2a689da
PA
15212019-06-13 Pedro Alves <palves@redhat.com>
1522
e79be6e5 1523 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
1524 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1525 'max_completions' parameter and handle it.
1526 (test_gdb_completion_offers_commands): New.
1527
90a1ef87
PA
15282019-06-13 Pedro Alves <palves@redhat.com>
1529
1530 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1531
d4c16835
PA
15322019-06-13 Pedro Alves <palves@redhat.com>
1533
1534 * gdb.base/options.exp (test-backtrace): New.
1535 (top level): Call it.
1536
2daf894e
PA
15372019-06-13 Pedro Alves <palves@redhat.com>
1538
1539 * gdb.guile/scm-frame-args.exp: Use "set print
1540 raw-frame-arguments" instead of "set print raw frame-arguments".
1541 * gdb.python/py-frame-args.exp: Likewise.
1542
e6ed716c
PA
15432019-06-13 Pedro Alves <palves@redhat.com>
1544
1545 * gdb.compile/compile.exp: Adjust expected output to option
1546 processing changes.
1547
7d8062de
PA
15482019-06-13 Pedro Alves <palves@redhat.com>
1549
1550 * gdb.base/options.exp: Build executable.
1551 (test-print): New procedure.
1552 (top level): Call it, once for "print" and another for "compile
1553 print".
1554
9d0faba9
PA
15552019-06-13 Pedro Alves <palves@redhat.com>
1556
1557 * gdb.base/options.c: New file.
1558 * gdb.base/options.exp: New file.
1559
dee7b4c8
PA
15602019-06-13 Pedro Alves <palves@redhat.com>
1561
1562 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1563 that "o" is ambiguous.
1564
dca0f6c0
PA
15652019-06-13 Pedro Alves <palves@redhat.com>
1566
1567 * gdb.base/settings.c: New file.
1568 * gdb.base/settings.exp: New file.
1569
ccf46844
PA
15702019-06-13 Pedro Alves <palves@redhat.com>
1571
1572 * gdb.base/completion.exp: Fix comment typo.
1573
b9a3f842
PA
15742019-06-13 Pedro Alves <palves@redhat.com>
1575
1576 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1577 foo --1" test.
1578
d106773e
PA
15792019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1580
1581 * gdb.fortran/block-data.f: New.
1582 * gdb.fortran/block-data.exp: New.
1583
fea82da0
TV
15842019-06-11 Tom de Vries <tdevries@suse.de>
1585
1586 PR testsuite/24521
1587 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1588 message.
1589
8c2e74f1
TV
15902019-06-11 Tom de Vries <tdevries@suse.de>
1591
1592 PR testsuite/24521
1593 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1594
b49851c8
TV
15952019-06-11 Tom de Vries <tdevries@suse.de>
1596
1597 * boards/readnow.exp: New file.
1598
a7067863
AB
15992019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1600
1601 * gdb.fortran/vla-sizeof.exp: Update expected results.
1602
1a3da2cd
AB
16032019-06-06 Amos Bird <amosbird@gmail.com>
1604
1605 * gdb.base/annota1.exp (thread_switch): Add test for
1606 thread-exited annotation.
1607
3847a7bf
TT
16082019-06-06 Tom Tromey <tromey@adacore.com>
1609
1610 * gdb.base/maint.exp: Expect command started/finished output.
1611
0088ba59
AB
16122019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1613
1614 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1615 comment.
1616 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1617
312617a3
AB
16182019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1619
1620 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1621 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1622 * gdb.arch/riscv-unwind-long-insn.c: New file.
1623 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1624
e1f2e1a2
CB
16252019-06-04 Christian Biesinger <cbiesinger@google.com>
1626
d3238f7d 1627 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 1628
206584bd
PW
16292019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1630
1631 * lib/gdb.exp (help_list_trailer): New regexp variable
1632 factorizing the help trailer message.
1633 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1634 arg to allow to better factorize various tests.
1635 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1636 (test_prefix_command_help): Use help_list_trailer.
1637 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1638 * gdb.guile/scm-cmd.exp: Likewise.
1639 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1640 * gdb.base/help.exp: Use test_user_defined_class_help.
1641 * gdb.base/style.exp: Add tests for styling of help and apropos.
1642 * lib/gdb-utils.exp (style): Add title and highlight styles.
1643
708dc93e
PW
16442019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1645
1646 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1647 $_shell_exitsignal.
1648 * gdb.base/default.exp: Update for new convenience variables.
1649
f49055a5
TT
16502019-05-29 Tom Tromey <tromey@adacore.com>
1651
1652 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1653 to "break complete ada" test case's regexp.
1654
4330d61d
TT
16552019-05-29 Tom Tromey <tromey@adacore.com>
1656
1657 PR c++/20020:
1658 * gdb.cp/constexpr-field.exp: New file.
1659 * gdb.cp/constexpr-field.cc: New file.
1660
000439d5
TT
16612019-05-29 Tom Tromey <tromey@adacore.com>
1662
1663 * gdb.base/finish.exp (finish_no_print): New proc.
1664 (finish_tests): Call it.
1665
5a01c34c
TV
16662019-05-24 Tom de Vries <tdevries@suse.de>
1667
1668 * gdb.dwarf2/gdb-add-index.exp: New file.
1669
18125b16
TT
16702019-05-22 Tom Tromey <tromey@adacore.com>
1671
1672 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1673 * gdb.base/style.exp: Use "style".
1674 * lib/gdb-utils.exp (style): New proc.
1675
af1a8d03
TV
16762019-05-22 Tom de Vries <tdevries@suse.de>
1677
1678 * gdb.base/align.exp: Require c++11.
1679
e7fe496b
TV
16802019-05-22 Tom de Vries <tdevries@suse.de>
1681
1682 PR testsuite/24586
1683 * gdb.python/py-mi-var-info-path-expression.exp: Call
1684 mi_skip_python_tests to check if python is supported.
1685
8fca4da0
AH
16862019-05-22 Alan Hayward <alan.hayward@arm.com>
1687
1688 * gdb.arch/aarch64-pauth.c: New test.
1689 * gdb.arch/aarch64-pauth.exp: New file.
1690
b7060614
AH
16912019-05-22 Alan Hayward <alan.hayward@arm.com>
1692
1693 * README (Re-running Tests Outside The Testsuite): New section.
1694
669d0468
TV
16952019-05-21 Tom de Vries <tdevries@suse.de>
1696
1697 * gdb.arch/amd64-eval.exp: Require c++11.
1698 * gdb.base/max-depth.exp: Same.
1699 * gdb.compile/compile-cplus-array-decay.exp: Same.
1700 * gdb.cp/meth-typedefs.exp: Same.
1701 * gdb.cp/subtypes.exp: Same.
1702 * gdb.cp/temargs.exp: Same.
1703
ce3ebcaa
AH
17042019-05-21 Alan Hayward <alan.hayward@arm.com>
1705
1706 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1707
34d11c68
AB
17082019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1709
1710 PR gdb/18644
1711 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1712 * gdb.fortran/printing-types.exp: Add new test.
1713 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1714 testing.
1715 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1716 setup_kfail call.
1717
87781e84
AH
17182019-05-17 Alan Hayward <alan.hayward@arm.com>
1719
1720 * README (Running the Testsuite): Change example.
1721 (Testsuite Parameters): Remove TRANSCRIPT.
1722 * lib/gdb.exp: Remove TRANSCRIPT check.
1723
b420b89e
AH
17242019-05-17 Alan Hayward <alan.hayward@arm.com>
1725
1726 * README (Testsuite Parameters): Add replay logging to
1727 GDBSERVER_DEBUG.
1728 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1729 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1730 as a comma separated list.
1731 (gdb_debug_init): Override procedure.
1732
408e9b8b
AH
17332019-05-17 Alan Hayward <alan.hayward@arm.com>
1734
1735 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1736 (gdb_write_cmd_file): New procedure.
1737 * lib/gdbserver-support.exp (gdbserver_start): Call
1738 gdbserver_write_cmd_file.
1739 (gdbserver_write_cmd_file): New procedure.
1740
f9e2e39d
AH
17412019-05-17 Alan Hayward <alan.hayward@arm.com>
1742
1743 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1744 (delete_breakpoints): Likewise.
1745 (gdb_run_cmd): Likewise.
1746 (gdb_start_cmd): Likewise.
1747 (gdb_starti_cmd): Likewise.
1748 (gdb_internal_error_resync): Likewise.
1749 (gdb_test_multiple): Likewise.
1750 (gdb_reinitialize_dir): Likewise.
1751 (default_gdb_exit): Likewise.
1752 (gdb_file_cmd): Mark kill as optional.
1753 (default_gdb_start): Call gdb_stdin_log_init.
1754 (send_gdb): Call gdb_stdin_log_write.
1755 (rerun_to_main): Mark Y as an answer.
1756 (gdb_stdin_log_init): New function.
1757 (gdb_stdin_log_write): Likewise.
1758
81f47ac2
AH
17592019-05-17 Alan Hayward <alan.hayward@arm.com>
1760
1761 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1762 * gdb.base/debug-expr.exp: Likewise.
1763 * gdb.base/foll-fork.exp: Likewise.
1764 * gdb.base/foll-vfork.exp: Likewise.
1765 * gdb.base/fork-print-inferior-events.exp: Likewise.
1766 * gdb.base/gdb-sigterm.exp: Likewise.
1767 * gdb.base/gdbinit-history.exp: Likewise.
1768 * gdb.base/osabi.exp: Likewise.
1769 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1770 * gdb.base/ui-redirect.exp: Likewise.
1771 * gdb.gdb/unittest.exp: Likewise.
1772 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1773 * gdb.mi/mi-watch.exp: Likewise.
1774 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1775 * gdb.mi/user-selected-context-sync.exp: Likewise.
1776 * gdb.python/python.exp: Disable debug test when debugging.
1777 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1778 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1779 Likewise.
1780 * gdb.threads/stepi-random-signal.exp: Likewise.
1781
29b52314
AH
17822019-05-17 Alan Hayward <alan.hayward@arm.com>
1783
1784 * Makefile.in: Pass through GDB_DEBUG.
1785 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
1786 (gdb,debug): Add board setting.
1787 * lib/gdb.exp (default_gdb_start): Start debugging.
1788 (gdb_debug_enabled): New procedure.
1789 (gdb_debug_init): Likewise.
29b52314
AH
1790
17912019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 1792
29b52314
AH
1793 * Makefile.in: Pass through GDB_DEBUG.
1794 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
1795 (gdb,debug): Add board setting.
1796 * lib/gdb.exp (default_gdb_start): Start debugging.
1797 (gdb_debug_enabled): New procedure.
1798 (gdb_debug_init): Likewise.
29b52314 1799
ca1285d1
AH
18002019-05-17 Alan Hayward <alan.hayward@arm.com>
1801
1802 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1803
f3a09c80
AH
18042019-05-17 Alan Hayward <alan.hayward@arm.com>
1805
1806 * gdb.base/ui-redirect.exp: Test redirection.
1807
26648588
JV
18082019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1809
1810 * gdb.mi/mi-complete.exp: New file.
1811 * gdb.mi/mi-complete.cc: Likewise.
1812
14237686
AB
18132019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1814
1815 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1816 indexed and sliced arrays, and pointers to arrays.
1817
e7bd7fba
TT
18182019-05-14 Tom Tromey <tromey@adacore.com>
1819
1820 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1821 styling test.
1822
2764128d
TV
18232019-05-14 Tom de Vries <tdevries@suse.de>
1824
1825 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1826 selection entry encoding.
1827
71bed2db
TT
18282019-05-10 Tom Tromey <tromey@adacore.com>
1829
1830 * gdb.ada/info_exc.exp: Add "complete" test.
1831
63b667ad
TV
18322019-05-09 Tom de Vries <tdevries@suse.de>
1833
1834 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1835 CU-relative.
1836
9cfd2b89
TV
18372019-05-09 Tom de Vries <tdevries@suse.de>
1838
1839 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1840 CU-relative.
1841
2228ef77
XR
18422019-05-08 Joel Brobecker <brobecker@adacore.com>
1843
1844 * gdb.ada/frame_arg_lang.exp: New testcase.
1845 * gdb.ada/frame_arg_lang/bla.adb: New file.
1846 * gdb.ada/frame_arg_lang/pck.ads: New file.
1847 * gdb.ada/frame_arg_lang/pck.adb: New file.
1848 * gdb.ada/frame_arg_lang/foo.c: New file.
1849
80e55b13
TT
18502019-05-08 Tom Tromey <tromey@adacore.com>
1851
1852 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1853
9d3421af
TT
18542019-05-08 Tom Tromey <tromey@adacore.com>
1855
1856 * gdb.base/ptype-offsets.exp: Update tests.
1857
844333e2
TT
18582019-05-08 Tom Tromey <tromey@adacore.com>
1859
1860 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1861 cases.
1862 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1863 "short".
1864
988915ee
TT
18652019-05-08 Tom Tromey <tromey@adacore.com>
1866
1867 * gdb.ada/vla.exp: New file.
1868 * gdb.ada/vla/vla.adb: New file.
1869
7bd55dac
TV
18702019-05-07 Tom de Vries <tdevries@suse.de>
1871
1872 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1873
75f06e9d
TV
18742019-05-07 Tom de Vries <tdevries@suse.de>
1875
1876 PR testsuite/24522
1877 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1878 section.
1879
77e7aaa4
TV
18802019-05-07 Tom de Vries <tdevries@suse.de>
1881
1882 PR testsuite/24522
1883 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1884 .debug_aranges section.
1885
456ba0fa
TV
18862019-05-07 Tom de Vries <tdevries@suse.de>
1887
1888 PR testsuite/24159
1889 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1890
5a56d6a6
TV
18912019-05-06 Tom de Vries <tdevries@suse.de>
1892
1893 * lib/gdb.exp (exec_has_index_section): New proc.
1894 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1895 section.
1896
9d6d4be8
TV
18972019-05-04 Tom de Vries <tdevries@suse.de>
1898
1899 * boards/cc-with-debug-names.exp: New file.
1900
222a8d25
TT
19012019-05-03 Tom Tromey <tromey@adacore.com>
1902
1903 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1904 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1905 * gdb.ada/char_enum.exp: Add test.
1906
0fdfd794
TV
19072019-05-03 Tom de Vries <tdevries@suse.de>
1908
1909 * boards/cc-with-gdb-index.exp: New file.
1910
80062eb9
AB
19112019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1912
1913 * gdb.rust/simple.exp: Add new test case.
1914 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1915 (main): Initialise an instance of the new struct.
1916
4504bbde
TT
19172019-05-01 Tom Tromey <tromey@adacore.com>
1918
1919 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1920 record.
1921 (NPR): New variable.
1922 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1923 test.
1924
d48e62f4
TT
19252019-05-01 Tom Tromey <tromey@adacore.com>
1926
1927 * gdb.ada/packed_array_assign.exp: Add packed assignment
1928 regression test.
1929
f59f30f5
TV
19302019-05-01 Tom de Vries <tdevries@suse.de>
1931
1932 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1933
b70bfc54
TV
19342019-05-01 Tom de Vries <tdevries@suse.de>
1935
1936 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1937
15f18d14
AT
19382019-04-30 Ali Tamur <tamur@google.com>
1939
1940 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1941
2ff0a947
TT
19422019-04-30 Tom Tromey <tromey@adacore.com>
1943
1944 * lib/ada.exp (find_ada_tool): New proc.
1945 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1946 * gdb.ada/catch_ex_std.exp: New file.
1947 * gdb.ada/catch_ex_std/foo.adb: New file.
1948 * gdb.ada/catch_ex_std/some_package.adb: New file.
1949 * gdb.ada/catch_ex_std/some_package.ads: New file.
1950
a776957c
TT
19512019-04-30 Tom Tromey <tromey@adacore.com>
1952
1953 PR c++/24470:
1954 * gdb.cp/temargs.cc: Add test code from PR.
1955
bc68014d
AB
19562019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1957
1958 * gdb.fortran/vla-datatypes.exp: Update expected results.
1959 * gdb.fortran/vla-ptype.exp: Likewise.
1960 * gdb.fortran/vla-type.exp: Likewise.
1961 * gdb.fortran/vla-value.exp: Likewise.
1962
f1fdc960
AB
19632019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1964
1965 * gdb.fortran/ptr-indentation.exp: Update expected results.
1966 * gdb.fortran/ptype-on-functions.exp: Likewise.
1967 * gdb.fortran/vla-ptr-info.exp: Likewise.
1968 * gdb.fortran/vla-value.exp: Likewise.
1969
bf7a4de1
AB
19702019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1971
1972 * gdb.fortran/ptype-on-functions.exp: New file.
1973 * gdb.fortran/ptype-on-functions.f90: New file.
1974
bbe75b9d
AB
19752019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1976
1977 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1978 case void string.
1979
1db455a7
AB
19802019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1981
1982 * gdb.fortran/complex.exp: Expand.
1983 * gdb.fortran/complex.f: Renamed to...
1984 * gdb.fortran/complex.f90: ...this, and extended to add more
1985 complex values.
1986
b6d03bb2
AB
19872019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1988
1989 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1990 MODULO, CMPLX.
1991
2e62ab40
AB
19922019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1993 Richard Bunt <richard.bunt@arm.com>
1994
1995 * gdb.base/max-depth.c: New file.
1996 * gdb.base/max-depth.exp: New file.
1997 * gdb.python/py-nested-maps.c: New file.
1998 * gdb.python/py-nested-maps.exp: New file.
1999 * gdb.python/py-nested-maps.py: New file.
2000 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2001 (test_all_common): Call test_max_depth.
2002 * gdb.fortran/max-depth.exp: New file.
2003 * gdb.fortran/max-depth.f90: New file.
2004 * gdb.go/max-depth.exp: New file.
2005 * gdb.go/max-depth.go: New file.
2006 * gdb.modula2/max-depth.exp: New file.
2007 * gdb.modula2/max-depth.c: New file.
2008 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2009
d2b584a5
TV
20102019-04-29 Tom de Vries <tdevries@suse.de>
2011
2012 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2013
136afab8
PW
20142019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2015
2016 * gdb.base/callexit.exp: Test may-call-functions off.
2017
725cbb63
KS
20182019-04-25 Keith Seitz <keiths@redhat.com>
2019
2020 PR c++/24367
2021 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2022 (another_incomplete_struct, test_incomplete): New definitions.
2023 (main): Use new definitions.
2024 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2025 functions.
2026
82433e3e
SDJ
20272019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2028
2029 PR corefiles/11608
2030 PR corefiles/18187
2031 * gdb.base/coredump-filter-build-id.exp: New file.
2032
dd06d4d6
AH
20332019-04-25 Alan Hayward <alan.hayward@arm.com>
2034
e79be6e5
SM
2035 * Makefile.in: Pass through GDBSERVER_DEBUG.
2036 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2037 (gdbserver,debug): Add board setting.
2038 * gdb.trace/tspeed.exp: Skip when debugging.
2039 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2040 * lib/gdbserver-support.exp: Likewise
dd06d4d6 2041
1670072e
TT
20422019-04-24 Tom Tromey <tromey@adacore.com>
2043
2044 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2045 Rust.
2046
a59240a4
TT
20472019-04-24 Tom Tromey <tromey@adacore.com>
2048
2049 * gdb.arch/amd64-eval.exp: Test bitfield return.
2050 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2051 (class Foo) <return_bitfields>: New method.
2052 (main): Call it.
2053
b907456c
AB
20542019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2055
2056 * gdb.cp/many-args.cc: New file.
2057 * gdb.cp/many-args.exp: New file.
2058
5c565afd
TV
20592019-04-23 Tom de Vries <tdevries@suse.de>
2060
2061 PR gdb/24433
2062 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2063
ba22ff86
AH
20642019-04-23 Alan Hayward <alan.hayward@arm.com>
2065
2066 * gdb.trace/backtrace.exp: Use nopie flag.
2067 * gdb.trace/circ.exp: Likewise.
2068 * gdb.trace/collection.exp: Likewise.
2069 * gdb.trace/ftrace.exp: Likewise.
2070 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2071 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2072 * gdb.trace/qtro.exp: Likewise.
2073 * gdb.trace/read-memory.exp: Likewise.
2074 * gdb.trace/report.exp: Likewise.
2075 * gdb.trace/tfile.exp: Likewise.
2076 * gdb.trace/tfind.exp: Likewise.
2077 * gdb.trace/unavailable.exp: Likewise.
2078
7905fc35
PA
20792019-04-22 Pedro Alves <palves@redhat.com>
2080
2081 * gdb.base/solib-probes-nosharedlibrary.c,
2082 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2083
8ecb59f8
TT
20842019-04-19 Tom Tromey <tromey@adacore.com>
2085
2086 * gdb.ada/ptype_union.c: New file.
2087 * gdb.ada/ptype_union.exp: New file.
2088
62160ec9
TT
20892019-04-19 Tom Tromey <tromey@adacore.com>
2090
2091 PR symtab/24423:
2092 * gdb.base/list0.h (foo): Add a control-l character.
2093
36cd4ba5
TV
20942019-04-18 Tom de Vries <tdevries@suse.de>
2095
2096 PR gdb/24433
2097 * boards/local-board.exp: Set sysroot to "".
2098
b73715df
TV
20992019-04-18 Tom de Vries <tdevries@suse.de>
2100 Pedro Alves <palves@redhat.com>
2101
2102 PR gdb/24454
2103 * gdb.threads/vfork-follow-child-exec.c: New file.
2104 * gdb.threads/vfork-follow-child-exec.exp: New file.
2105 * gdb.threads/vfork-follow-child-exit.c: New file.
2106 * gdb.threads/vfork-follow-child-exit.exp: New file.
2107
4aa866af
LS
21082019-04-15 Leszek Swirski <leszeks@google.com>
2109
2110 * gdb.arch/amd64-eval.cc: New file.
2111 * gdb.arch/amd64-eval.exp: New file.
2112
e5a1a79a
AH
21132019-04-11 Alan Hayward <alan.hayward@arm.com>
2114
2115 * gdb.server/sysroot.c: New test.
2116 * gdb.server/sysroot.exp: New file.
2117 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2118 matching param.
2119
41077b66
AB
21202019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2121
2122 * gdb.base/align.exp: Extend test to cover structures containing
2123 only static fields.
2124
c30391f8
TV
21252019-04-11 Tom de Vries <tdevries@suse.de>
2126
2127 * boards/cc-with-dwz-m.exp: New file.
2128 * boards/cc-with-dwz.exp: New file.
2129 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2130
e242fd12
SM
21312019-04-09 Simon Marchi <simon.marchi@efficios.com>
2132
2133 * gdb.base/start-cpp.exp: New file.
2134 * gdb.base/start-cpp.cc: New file.
2135
2b0c8b01
KB
21362019-04-08 Kevin Buettner <kevinb@redhat.com>
2137
2138 * gdb.python/py-thrhandle.exp: Adjust tests to call
2139 thread_from_handle instead of thread_from_thread_handle.
2140
947210e5
KB
21412019-04-08 Kevin Buettner <kevinb@redhat.com>
2142
2143 * gdb.python/py-thrhandle.exp: Add tests for
2144 gdb.InferiorThread.handle.
2145
d7df6549
AB
21462019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2147
2148 * gdb.python/py-function.exp: Check calling helper function from
2149 all languages.
2150 * lib/gdb.exp (gdb_supported_languages): New proc.
2151
8bdc1658
AB
21522019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2153
2154 * gdb.base/complex-parts.c: New file.
2155 * gdb.base/complex-parts.exp: New file.
2156
05caa1d2
TT
21572019-04-01 Tom Tromey <tromey@adacore.com>
2158
2159 PR symtab/23331:
2160 * gdb.dwarf2/dw2-ranges-main.c: New file.
2161 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2162 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2163
7734102d
EZ
21642019-03-30 Simon Marchi <simark@simark.ca>
2165
2166 * gdb.base/default.exp: Add values for $_gdb_major and
2167 $_gdb_minor.
2168
188e1fa9
TT
21692019-03-29 Tom Tromey <tromey@adacore.com>
2170
2171 * gdb.base/help.exp: Tighten apropos regexp.
2172
2880242d
KS
21732019-03-29 Keith Seitz <keiths@redhat.com>
2174
2175 * gdb.fortran/array-bounds.exp: New file.
2176 * gdb.fortran/array-bounds.f90: New file.
2177
077cad8e
PW
21782019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2179
2180 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2181
80047cfc
PW
21822019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2183
2184 * gdb.multi/hello.c (main): Increase alarm timer.
2185
f489207e
SL
21862019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2187
2188 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2189 factor when no hardware watchpoint support.
2190
c92df149
AH
21912019-03-28 Alan Hayward <alan.hayward@arm.com>
2192 Pedro Alves <palves@redhat.com>
2193
2194 * boards/local-board.exp: set sysroot to /.
2195
933aebfa
AH
21962019-03-27 Alan Hayward <alan.hayward@arm.com>
2197
2198 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2199 in child.
2200
9f9aa852
AB
22012019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2202
2203 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2204 field.
2205 (make_container): Initialise new field.
2206 * gdb.python/py-prettyprint.exp: Add new tests.
2207 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2208 <display_hint>: New method.
2209
3714a195
AB
22102019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2211
2212 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2213 gdb_continue_to_breakpoint more throughout this test.
2214 (run_lang_tests) Supply unique test names, and use
2215 gdb_test_no_output.
2216
18c77628
AB
22172019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2218
2219 * gdb.base/finish-pretty.exp: Update expected results.
2220 * gdb.base/pretty-print.c: New file.
2221 * gdb.base/pretty-print.exp: New file.
2222
9a93502f
PA
22232019-03-25 Pedro Alves <palves@redhat.com>
2224
2225 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2226 move comments outside list. Append '-i "" eof' section.
2227
968aa7ae
AH
22282019-03-22 Alan Hayward <alan.hayward@arm.com>
2229
34a7f2a4 2230 PR testsuite/25016
968aa7ae
AH
2231 * README: Add pie options.
2232 * gdb.base/break-interp.exp: Ensure pie is disabled.
2233 * gdb.base/dump.exp: Likewise.
2234 * lib/gdb.exp (gdb_compile): Add pie option.
2235
4c7d57e7
TT
22362019-03-19 Tom Tromey <tromey@adacore.com>
2237
2238 * gdb.mi/mi2-cli-display.c: New file.
2239 * gdb.mi/mi2-cli-display.exp: New file.
2240
bff8c71f
TT
22412019-03-18 Joel Brobecker <brobecker@adacore.com>
2242 Tom Tromey <tromey@adacore.com>
2243
2244 * gdb.ada/ptype_array/pck.adb: New file.
2245 * gdb.ada/ptype_array/pck.ads: New file.
2246 * gdb.ada/ptype_array/foo.adb: New file.
2247 * gdb.ada/ptype_array.exp: New file.
2248
d085f989
TT
22492019-03-14 Tom Tromey <tromey@adacore.com>
2250
2251 * gdb.base/style.exp: Add "set style sources" test.
2252
b4be1b06
SM
22532019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2254
2255 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2256 * mi-breakpoint-multiple-locations.exp: ... this.
2257 (make_breakpoints_pattern): New proc.
2258 (do_test): Add mi_version parameter, test -break-insert,
2259 -break-info and =breakpoint-created.
2260
7cde5fc2
AB
22612019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2262
2263 * config/default.exp: Remove 'load_lib gdb.exp'.
2264 * config/monitor.exp: Likewise.
2265 * config/sid.exp: Likewise.
2266 * config/sim.exp: Likewise.
2267 * config/slite.exp: Likewise.
2268 * config/unix.exp: Likewise.
2269 * gdb.base/default.exp: Remove unhelpful comment.
2270
efbecbc1
AB
22712019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2272
2273 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2274
0841c79a
AB
22752019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2276
2277 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2278
4a270568
AB
22792019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2280
2281 * gdb.fortran/type-kinds.exp: Update expected results.
2282
067630bd
AB
22832019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2284
2285 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2286
3be47f7a
AB
22872019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2288
2289 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2290 function.
2291 (test_basic_parsing_of_type_kinds): Expand types tested.
2292 (test_parsing_invalid_type_kinds): New function.
2293
4d00f5d8
AB
22942019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2295
2296 * gdb.fortran/intrinsics.exp: New file.
2297 * gdb.fortran/intrinsics.f90: New file.
2298 * gdb.fortran/type-kinds.exp: New file.
2299
c8f91604
AB
23002019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2301
2302 * gdb.fortran/dot-ops.exp: New file.
2303
dd9f2c76
AB
23042019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2305
2306 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2307 Check upper and lower case logical literals.
2308
84ec9724
AB
23092019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2310
2311 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2312 Remove duplicate tests.
2313
c3734e09
AH
23142019-03-06 Alan Hayward <alan.hayward@arm.com>
2315
2316 * lib/gdb.exp (builtin_cd): rename of cd.
2317 (cd): Override builtin.
2318
aa3cfbda
RB
23192019-03-06 Richard Bunt <richard.bunt@arm.com>
2320
2321 * gdb.fortran/function-calls.exp: New file.
2322 * gdb.fortran/function-calls.f90: New test.
2323
7b63ad86
RB
23242019-03-04 Richard Bunt <richard.bunt@arm.com>
2325
2326 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2327 on user program standard output.
2328 * gdb.fortran/short-circuit-argument-list.f90: Record function
2329 calls.
2330
01abb042
AH
23312019-02-28 Alan Hayward <alan.hayward@arm.com>
2332
c3734e09
AH
2333 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2334 failure.
01abb042 2335
92137da0
RO
23362019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2337
2338 PR gdb/8527
2339 * gdb.base/interrupt-daemon-attach.c,
2340 gdb.base/interrupt-daemon-attach.exp: New test.
2341
5862844d
PA
23422019-02-27 Pedro Alves <palves@redhat.com>
2343
2344 * gdb.base/page.exp: Add tests for "set width/height -1".
2345
8ed25214
PA
23462019-02-27 Pedro Alves <palves@redhat.com>
2347
2348 * gdb.base/page.exp: Add tests for "set/show width/height" with
2349 "infinite" values.
2350
6c28e44a
TT
23512019-02-27 Tom Tromey <tromey@adacore.com>
2352
2353 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2354 2.4.
2355 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2356 workaround.
2357
bf9a735e
AB
23582019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2359
2360 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2361 tests for structs with static members.
2362
8791793c
TT
23632019-02-26 Tom Tromey <tromey@adacore.com>
2364
2365 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2366 ValueError, not TypeError.
2367
bc2a507e
KB
23682019-02-26 Kevin Buettner <kevinb@redhat.com>
2369
2370 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2371 call from main program.
2372
e0e7d3bd
JB
23732019-02-23 Joel Brobecker <brobecker@adacore.com>
2374
2375 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2376 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2377 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2378 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2379 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2380
9600246d
KS
23812019-02-22 Keith Seitz <keiths@redhat.com>
2382
2383 PR symtab/23853
2384 * gdb.base/symlink-sourcefile.c: New file.
2385 * gdb.base/symlink-sourcefile.exp: New file.
2386
0c95f9ed
TT
23872019-02-20 Tom Tromey <tom@tromey.com>
2388
2389 * gdb.base/info_qt.exp: Update.
2390
6caa91b6
SM
23912019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2392
2393 * gdb.base/source.exp: Move "error in sourced script" code to
2394 the end.
2395 * gdb.base/source-error.gdb: Move contents to
2396 source-error-1.gdb. Add new code to source source-error-1.gdb.
2397 * gdb.base/source-error-1.gdb: New file, from previous
2398 source-error.gdb.
2399
6506371f
TT
24002019-02-17 Tom Tromey <tom@tromey.com>
2401
2402 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2403 for macro styling.
2404 * gdb.base/style.c (SOME_MACRO): New macro.
2405
a0087920
TT
24062019-02-17 Tom Tromey <tom@tromey.com>
2407
2408 * gdb.base/style.exp: Add line-wrapping tests.
2409 * gdb.base/page.exp: Add test for quitting during pagination.
2410
a2cd4f14
JB
24112019-02-17 Joel Brobecker <brobecker@adacore.com>
2412
2413 * gdb.ada/big_packed_array: New testcase.
2414 * gdb.ada/homonym.exp: Fix incorrect expected output for
2415 "break <homonym__get_value>" test.
2416
9d70ffbc
WP
24172019-02-13 Weimin Pan <weimin.pan@oracle.com>
2418
2419 PR breakpoints/21870
2420 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2421 and prepare_for_testing. Add comment.
2422 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2423 redundant cleanup call. Clean up comment.
2424
01c7ae81
WP
24252019-02-12 Weimin Pan <weimin.pan@oracle.com>
2426
2427 PR breakpoints/21870
2428 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2429 * gdb.arch/aarch64-dbreg-contents.c: New file.
2430
aff29d1c
JB
24312019-02-10 Joel Brobecker <brobecker@adacore.com>
2432
2433 * gdb.ada/mi_ref_changeable: New testcase.
2434
df0da8a2
AH
24352019-02-07 Alan Hayward <alan.hayward@arm.com>
2436
2437 * gdb.base/attach.exp: Add double attach test.
2438
bd447abb
SM
24392019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2440
2441 * lib/gdb.exp (default_gdb_start): Don't match pagination
2442 prompt.
2443 (gdb_init): Set stty_init.
2444
1dbc40b9
TT
24452019-01-27 Tom Tromey <tom@tromey.com>
2446
2447 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2448 skip_python_tests.
2449
353229bf
AH
24502019-01-24 Alan Hayward <alan.hayward@arm.com>
2451
2452 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2453 New structure.
2454 (struct struct_static_02_02): Likewise.
2455 (struct struct_static_02_03): Likewise.
2456 (struct struct_static_02_04): Likewise.
2457 (struct struct_static_04_01): Likewise.
2458 (struct struct_static_04_02): Likewise.
2459 (struct struct_static_04_03): Likewise.
2460 (struct struct_static_04_04): Likewise.
2461 (struct struct_static_06_01): Likewise.
2462 (struct struct_static_06_02): Likewise.
2463 (struct struct_static_06_03): Likewise.
2464 (struct struct_static_06_04): Likewise.
2465 (cmp_struct_static_02_01): Likewise.
2466 (cmp_struct_static_02_02): Likewise.
2467 (cmp_struct_static_02_03): Likewise.
2468 (cmp_struct_static_02_04): Likewise.
2469 (cmp_struct_static_04_01): Likewise.
2470 (cmp_struct_static_04_02): Likewise.
2471 (cmp_struct_static_04_03): Likewise.
2472 (cmp_struct_static_04_04): Likewise.
2473 (cmp_struct_static_06_01): Likewise.
2474 (cmp_struct_static_06_02): Likewise.
2475 (cmp_struct_static_06_03): Likewise.
2476 (cmp_struct_static_06_04): Likewise.
2477 (call_all): Test new structs.
2478 * gdb.base/infcall-nested-structs.exp: Likewise.
2479
73021deb
AH
24802019-01-21 Alan Hayward <alan.hayward@arm.com>
2481 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2482
fc65c7db
AH
24832019-01-21 Alan Hayward <alan.hayward@arm.com>
2484 * gdb.base/stack-protector.c: New test.
2485 * gdb.base/stack-protector.exp: New file.
2486 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2487 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2488 option.
2489 (gdb_compile): Remove stack protector for GCC and prevent
2490 recursion.
2491
c24bdb02
KS
24922019-01-16 Keith Seitz <keiths@redhat.com>
2493
2494 PR gdb/23773
2495 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2496
6f072a10
PFC
24972019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2498
2499 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2500 aliases.
2501 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2502 tests.
2503 * gdb.arch/powerpc-vector-regs.c: New file.
2504 * gdb.arch/powerpc-vector-regs.exp: New file.
2505
a7b8d682
PFC
25062019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2507
2508 * gdb.arch/altivec-regs.exp: Fix the list passed to
2509 gdb_expect_list when testing "info vector".
2510
6eb6fb67
AB
25112019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2512
2513 * gdb.base/style.exp: Don't include path in testname.
2514
b56f80d8
KS
25152019-01-10 Keith Seitz <keiths@redhat.com>
2516
2517 PR gdb/23712
2518 PR symtab/23010
2519 * gdb.dwarf2/multidictionary.exp: New file.
2520
041be526
SM
25212019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2522
2523 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2524 (test_gnuv3_style_demangling): ... this.
2525 (test_lucid_style_demangling): Remove.
2526 (test_arm_style_demangling): Remove.
2527 (test_hp_style_demangling): Remove.
2528 (do_tests): Remove calls to the above.
2529
d820d0c3
AB
25302019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2531
2532 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2533 case.
2534
f097f5ad
TT
25352019-01-06 Tom Tromey <tom@tromey.com>
2536
2537 PR gdb/28155:
2538 * gdb.dwarf2/typedef-void-finish.exp: New file.
2539
2cd8cc0b
TT
25402018-12-28 Tom Tromey <tom@tromey.com>
2541 Simon Marchi <simark@simark.ca>
2542
2543 * gdb.base/jit-exec.exp: New file.
2544 * gdb.base/jit-exec.c: New file.
2545 * gdb.base/jit-execd.c: New file.
2546
35fb8261
TT
25472018-12-28 Tom Tromey <tom@tromey.com>
2548
2549 * gdb.base/style.exp: Update test to check for address styling.
2550
47fd17cd
TT
25512018-12-28 Tom Tromey <tom@tromey.com>
2552
2553 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2554 message.
2555
d47032b7
TT
25562018-12-28 Tom Tromey <tom@tromey.com>
2557
2558 * gdb.base/style.exp: Add test for version number styling.
2559
af79b68d
TT
25602018-12-28 Tom Tromey <tom@tromey.com>
2561
2562 * gdb.base/style.exp: Add test for print_address_symbolic.
2563
0bb296cb
TT
25642018-12-28 Tom Tromey <tom@tromey.com>
2565
2566 * gdb.base/style.exp: Add test for breakpoint setting.
2567
80ae2043
TT
25682018-12-28 Tom Tromey <tom@tromey.com>
2569
2570 * gdb.base/style.exp: Add test for variable names.
2571
cbe56571
TT
25722018-12-28 Tom Tromey <tom@tromey.com>
2573
2574 * gdb.base/style.exp: New file.
2575 * gdb.base/style.c: New file.
2576
9162a27c
TT
25772018-12-28 Tom Tromey <tom@tromey.com>
2578
2579 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2580 "dumb".
2581 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2582 the TERM environment variable.
2583
bc543c90
TT
25842018-12-27 Tom Tromey <tom@tromey.com>
2585
2586 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2587 pagination test.
2588
6f0ffe50
AB
25892018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2590
2591 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2592 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2593
b5a1e557
PW
25942018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2595
2596 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2597 Filename a.adb changed to bp_fun_addr.adb.
2598 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2599
6e8b1ab2
JV
26002018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2601
2602 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2603 non-PIE executables.
2604 * README: Mention the gdb,nopie_flag board setting.
2605 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2606 non-PIE executable.
2607 * gdb.arch/amd64-entry-value.exp: Likewise.
2608 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2609 * gdb.arch/i386-float.exp: Likewise.
2610 * gdb.arch/i386-signal.exp: Likewise.
2611 * gdb.mi/mi-reg-undefined.exp: Likewise.
2612
d00a27c5
PM
26132018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2614
2615 PR gdb/23974
2616 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2617
161d081c
PW
26182018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2619
2620 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2621 Update order of results accordingly.
2622
b001de23
AB
26232018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2624
2625 * gdb.base/annota1.exp: Update a test regexp.
2626
99e1a184
AB
26272018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2628
2629 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2630
7a81c1e2
PW
26312018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2632
2633 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2634 (reuse_time): Initialize to REUSE_TIME_CAP.
2635 (check_rc): New function.
2636 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2637 Check pthread_create rc.
2638 (spawner_thread_func): Check pthread_create and pthread_join rc.
2639
73e8dc90
PA
26402018-12-08 Pedro Alves <palves@redhat.com>
2641
2642 * gdb.base/list.exp (test_forward_search): Rename to ...
2643 (test_forward_reverse_search): ... this. Also test reverse-search
2644 and the forward-search alias.
2645
13f2ed32
AB
26462018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2647
2648 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2649 local timeout variable before return, and remove all local timeout
2650 variable entirely.
2651 (gdb_load): Likewise.
2652
64d27cfc
TV
26532018-12-01 Tom de Vries <tdevries@suse.de>
2654
2655 * gdb.base/gdb-caching-proc.exp: New file.
2656
f63c03b4
SDJ
26572018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2658
2659 * Makefile.in (TIMESTAMP): New variable.
2660 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2661 command.
2662 (check-single-racy): Likewise.
2663 (check/%.exp): Likewise.
2664 (check-racy/%.exp): Likewise.
2665 (workers/%.worker): Likewise.
2666 (build-perf): Likewise.
2667 (check-perf): Likewise.
2668 * README: Describe new "TS" and "TS_FORMAT" variables.
2669 * print-ts.py: New file.
2670
1c97054b
BF
26712018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2672
2673 PR python/23714
2674 * gdb.python/python.exp: Test command repetition after
2675 gdb.execute.
2676
1871a62d
AB
26772018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2678
2679 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2680 is correctly aligned.
2681
fb5e1ed9
PW
26822018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2683
2684 * gdb.ada/info_auto_lang.exp: New testcase.
2685 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2686 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2687 * gdb.ada/info_auto_lang/some_c.c: New file.
2688
43d397ca
PW
26892018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2690
2691 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2692 FUNC_lang language syntax.
2693
beddd671
PW
26942018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2695
2696 * gdb.base/info_minsym.c: New file.
2697 * gdb.base/info_minsym.exp: New file.
2698
73fc52c4
TT
26992018-11-19 Tom Tromey <tom@tromey.com>
2700
2701 PR rust/23625:
2702 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2703 * gdb.rust/expr.exp: Update expected output. Change one test.
2704
994b876a
TT
27052018-11-19 Tom Tromey <tom@tromey.com>
2706
2707 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2708
6769f276
PA
27092018-11-19 Pedro Alves <palves@redhat.com>
2710
2711 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2712 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2713 see the expected warning.
2714
38a72da0
AH
27152018-11-16 Alan Hayward <alan.hayward@arm.com>
2716
2717 PR gdb/22736:
2718 * gdb.cp/infcall-nodebug-lib.c: New test.
2719 * gdb.cp/infcall-nodebug-main.c: New test.
2720 * gdb.cp/infcall-nodebug.exp: New file.
2721
53a89d6e
SM
27222018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2723
2724 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2725 completer tests.
2726
9325300d
TV
27272018-11-09 Tom de Vries <tdevries@suse.de>
2728
2729 * gdb.base/msym-lang.c: New test.
2730 * gdb.base/msym-lang.exp: New file.
2731 * gdb.base/msym-lang-main.c: New test.
2732
20f0d60d
TT
27332018-11-08 Tom Tromey <tom@tromey.com>
2734
2735 PR gdb/23555:
2736 PR gdb/23838:
2737 * gdb.base/warning.exp: New file.
2738
b5420128
JB
27392018-11-08 Jan Beulich <jbeulich@suse.com>
2740
2741 * testsuite/gdb.arch/i386-avx512.c,
2742 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2743
cd115d61
AB
27442018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2745
2746 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2747 point hardware.
2748
35ee2dc2
AB
27492018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2750
2751 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2752 * gdb.dwarf2/missing-type-name.exp: New file.
2753
31aceee8
TV
27542018-11-06 Tom de Vries <tdevries@suse.de>
2755
2756 * gdb.base/many-headers.c: New test.
2757 * gdb.base/many-headers.exp: New file.
2758
109be305
JW
27592018-11-06 Jim Wilson <jimw@sifive.com>
2760
2761 * gdb.base/code_elim.exp: For riscv, set additional_flags
2762 to include -msmall-data-limit=0.
2763
e2b7af72
JB
27642018-11-01 Joel Brobecker <brobecker@adacore.com>
2765
2766 * gdb.ada/watch_minus_l: New testcase.
2767
cdcda965
SM
27682018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2769
2770 * gdb.arch/aix-sighandle.c: New file.
2771 * gdb.arch/aix-sighandle.exp: New file.
2772
92dcebf3
AB
27732018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2774
2775 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2776 registers being unions.
2777
68b9ac18
TV
27782018-10-31 Tom de Vries <tdevries@suse.de>
2779
2780 * lib/valgrind.exp: New file.
2781 (vgdb_start, vgdb_stop): New procs, factored out of ...
2782 * gdb.base/valgrind-bt.exp: ... here, ...
2783 * gdb.base/valgrind-disp-step.exp: ... here and ...
2784 * gdb.base/valgrind-infcall.exp: ... here.
2785
1443936e
TV
27862018-10-31 Tom de Vries <tdevries@suse.de>
2787
2788 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2789
eb77c9df
AB
27902018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2791
2792 * gdb.dwarf2/void-type.c: New file.
2793 * gdb.dwarf2/void-type.exp: New file.
2794
82b5e646
PW
27952018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2796
2797 * gdb.base/info_qt.c: New file.
2798 * gdb.base/info_qt.exp: New file.
2799
8d619c01
EBM
28002018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2801
2802 * gdb.arch/powerpc-htm-regs.c: New file.
2803 * gdb.arch/powerpc-htm-regs.exp: New file.
2804
f2cf6173
EBM
28052018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2806
2807 * gdb.arch/powerpc-tar.c: New file.
2808 * gdb.arch/powerpc-tar.exp: New file.
2809
7ca18ed6
EBM
28102018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2811
2812 * gdb.arch/powerpc-ppr-dscr.c: New file.
2813 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2814
bfcc0eba
TV
28152018-10-25 Tom de Vries <tdevries@suse.de>
2816
2817 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2818
fe1a5cad
TV
28192018-10-24 Tom de Vries <tdevries@suse.de>
2820
2821 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2822 longer exists error.
2823
a76dc3b7
TV
28242018-10-24 Tom de Vries <tdevries@suse.de>
2825
2826 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2827
4df46df7
TV
28282018-10-24 Tom de Vries <tdevries@suse.de>
2829
2830 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2831 --db-attach in valgrind.
2832
0dbfcfff
AB
28332018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2834
2835 * gdb.arch/riscv-reg-aliases.c: New file.
2836 * gdb.arch/riscv-reg-aliases.exp: New file.
2837
b04480b1
AH
28382018-10-19 Alan Hayward <alan.hayward@arm.com>
2839
2840 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2841
2c6ac8d7
AH
28422018-10-19 Alan Hayward <alan.hayward@arm.com>
2843
2844 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2845
2bc69f25
AH
28462018-10-19 Alan Hayward <alan.hayward@arm.com>
2847
2848 * gdb.cp/ovldbreak.exp: Fix regexps.
2849
1f1ae3a3
AH
28502018-10-19 Alan Hayward <alan.hayward@arm.com>
2851
2852 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2853
94c18618
SDJ
28542018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2855
2856 PR cli/23785
2857 * gdb.base/restore.exp: New test to check if "restore" with an
2858 invalid file doesn't segfault.
2859
812cd6eb
TV
28602018-10-18 Tom de Vries <tdevries@suse.de>
2861
2862 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2863 * gdb.ada/excep_handle.exp: Same.
2864 * gdb.ada/mi_string_access.exp: Same.
2865 * gdb.ada/mi_var_union.exp: Same.
2866 * gdb.arch/arc-analyze-prologue.exp: Same.
2867 * gdb.arch/arc-decode-insn.exp: Same.
2868 * gdb.base/readnever.exp: Same.
2869 * gdb.fortran/printing-types.exp: Same.
2870 * gdb.guile/scm-lazy-string.exp: Same.
2871
c4b90788
TV
28722018-10-16 Tom de Vries <tdevries@suse.de>
2873
2874 PR gdb/23730
2875 * gdb.base/catch-follow-exec.c: Add copyright notice.
2876 * gdb.base/catch-follow-exec.exp: Rewrite to use
2877 gdb_spawn_with_cmdline_opts. Require gdb-native.
2878
8bca2978
SL
28792018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2880
2881 * gdb.trace/actions-changed.exp: Check for arch support.
2882 * gdb.trace/actions.exp: Likewise.
2883 * gdb.trace/ax.exp: Likewise.
2884 * gdb.trace/backtrace.exp: Likewise.
2885 * gdb.trace/change-loc.exp: Likewise.
2886 * gdb.trace/deltrace.exp: Likewise.
2887 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2888 * gdb.trace/ftrace.exp: Likewise.
2889 * gdb.trace/infotrace.exp: Check for arch support.
2890 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2891 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2892 * gdb.trace/mi-tsv-changed.exp: Likewise.
2893 * gdb.trace/packetlen.exp: Likewise.
2894 * gdb.trace/passc-dyn.exp: Likewise.
2895 * gdb.trace/passcount.exp: Likewise.
2896 * gdb.trace/pending.exp: Likewise.
2897 * gdb.trace/range-stepping.exp: Check for shlib support.
2898 * gdb.trace/report.exp: Check for arch support.
2899 * gdb.trace/save-trace.exp: Likewise.
2900 * gdb.trace/signal.exp: Check for signal support.
2901 * gdb.trace/tfind.exp: Check for arch support.
2902 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2903 * gdb.trace/trace-common.h: Add comment.
2904 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2905 * gdb.trace/trace-enable-disable.exp: Likewise.
2906 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2907 * gdb.trace/tracecmd.exp: Check for arch support.
2908 * gdb.trace/tspeed.exp: Check for shlib and target support.
2909 * gdb.trace/tstatus.exp: Check for arch support.
2910 * gdb.trace/tsv.exp: Likewise.
2911 * gdb.trace/while-dyn.exp: Likewise.
2912 * gdb.trace/while-stepping.exp: Likewise.
2913 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2914
f9c49bff
SM
29152018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2916
2917 * gdb.trace/tspeed.exp: Remove nowarnings.
2918 (prepare_for_trace_test): Declare "global ipalib".
2919 * gdb.trace/tspeed.c: Include unistd.h.
2920 (main): Remove superfluous printf argument.
2921
d4330bde
SL
29222018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2923
2924 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2925 directory prefix on the filename.
2926
8ecfd7bd
SDJ
29272018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2928
2929 * gdb.gdb/unittest.exp: Update expected message informing that
2930 selftests have been disabled.
2931 * gdb.server/unittest.exp: Likewise.
2932
58bbcd02
TV
29332018-10-09 Tom de Vries <tdevries@suse.de>
2934
2935 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2936 with runto_main.
2937
9f6b697b
WP
29382018-10-08 Weimin Pan <weimin.pan@oracle.com>
2939
2940 PR c++/16841
2941 * gdb.cp/virtbase2.cc: New file.
2942 * gdb.cp/virtbase2.exp: New file.
2943
add5ded5
TT
29442018-10-06 Tom Tromey <tom@tromey.com>
2945
2946 PR python/19399:
2947 * gdb.python/py-inferior.exp: Add architecture test.
2948
f9e48344
TT
29492018-10-06 Tom Tromey <tom@tromey.com>
2950
2951 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2952 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2953
2a8be203
TT
29542018-10-06 Tom Tromey <tom@tromey.com>
2955
2956 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2957 of a "throw" catchpoint.
2958
e04caa70
SDJ
29592018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2960
2961 * gdb.base/info-proc.exp: Update string expected from "help info
2962 proc".
2963
5ca8c39f
TT
29642018-10-04 Tom Tromey <tom@tromey.com>
2965
2966 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2967 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2968 (test_initial_complaints, test_empty_complaints): Update.
2969 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2970
3453e7e4
TT
29712018-10-04 Tom Tromey <tom@tromey.com>
2972
2973 PR cli/19551:
2974 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2975 * lib/gdb.exp (gdb_file_cmd): Update.
2976 * gdb.stabs/weird.exp (print_weird_var): Update.
2977 * gdb.server/solib-list.exp: Update.
2978 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2979 * gdb.mi/mi-cli.exp: Update.
2980 * gdb.linespec/linespec.exp: Update.
2981 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2982 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2983 * gdb.cp/cp-relocate.exp: Update.
2984 * gdb.base/sym-file.exp: Update.
2985 * gdb.base/relocate.exp: Update.
2986 * gdb.base/readnever.exp: Update.
2987 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2988 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2989 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2990 * gdb.base/code_elim.exp: Update.
2991 * gdb.base/break-unload-file.exp (test_break): Update.
2992 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2993 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2994 Update.
2995 * gdb.base/attach.exp (do_attach_tests): Update.
2996 * gdb.base/sepdebug.exp: Update.
2997 * gdb.python/py-section-script.exp: Update.
2998
6afcf761
TT
29992018-10-04 Tom Tromey <tom@tromey.com>
3000
3001 PR cli/22234:
3002 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3003 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3004 output.
3005
fef1b293
TT
30062018-10-04 Tom Tromey <tom@tromey.com>
3007
3008 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3009 set width and height to 0.
3010 (test_command_line_attach_run): Use -quiet.
3011
ca98345e
SL
30122018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3013
3014 * lib/gdb.exp (skip_ifunc_tests): New.
3015 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3016 other compile failures.
3017 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3018
ff34e6ae
SM
30192018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3020
3021 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3022 is_amd64_regs_target.
3023
6bb8890e
AH
30242018-10-01 Alan Hayward <alan.hayward@arm.com>
3025
3026 * gdb.arch/aarch64-sighandler-regs.c: New test.
3027 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3028 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3029
224d30d3
MM
30302018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3031
3032 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3033 assembly.
3034
f67ffa6a
AB
30352018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3036
3037 * gdb.base/frame-selection.exp: New file.
3038 * gdb.base/frame-selection.c: New file.
3039
9fc3183f
AH
30402018-09-27 Alan Hayward <alan.hayward@arm.com>
3041
3042 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3043 pthread barrier.
3044 (main): Likewise.
3045
d354055e
AB
30462018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3047
3048 * gdb.base/large-frame-1.c: New file.
3049 * gdb.base/large-frame-2.c: New file.
3050 * gdb.base/large-frame.exp: New file.
3051 * gdb.base/large-frame.h: New file.
3052
db727370
JL
30532018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3054
3055 PR gdb/20948
3056 * gdb.base/write_mem.exp: New test.
3057 * gdb.base/write_mem.c: Likewise.
3058
ae778caf
TT
30592018-09-23 Tom Tromey <tom@tromey.com>
3060
3061 PR python/18852:
3062 * gdb.python/py-parameter.exp: Add test for parameter that throws
3063 on "set".
3064
fd3ba736
TT
30652018-09-23 Tom Tromey <tom@tromey.com>
3066
3067 PR python/17284:
3068 * gdb.python/py-template.exp (test_template_arg): Add test for
3069 negative template argument number.
3070
39a24317
TT
30712018-09-23 Tom Tromey <tom@tromey.com>
3072
3073 PR python/14062:
3074 * gdb.python/python.exp: Add test for post_event error.
3075
f5769a2c
TT
30762018-09-23 Tom Tromey <tom@tromey.com>
3077
3078 PR python/18170:
3079 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3080 convert pointers to int and long.
3081
1c1e54f6
TT
30822018-09-23 Tom Tromey <tom@tromey.com>
3083
3084 PR python/20126:
3085 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3086 signed-ness conversion tests.
3087
fb4fa946
TT
30882018-09-23 Tom Tromey <tom@tromey.com>
3089
3090 PR python/18352;
3091 * gdb.python/py-value.exp (test_float_conversion): New proc.
3092 Use it.
3093
a466edac
HAQ
30942018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3095
3096 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3097
4ee9b0c5
SL
30982018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3099
3100 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3101 no readline.
3102 * gdb.base/utf8-identifiers.exp: Likewise.
3103 * gdb.cp/cpcompletion.exp: Likewise.
3104 * gdb.linespec/cpcompletion.exp: Likewise.
3105 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3106 * gdb.linespec/cpls-ops.exp: Likewise.
3107
23be8da7
RB
31082018-09-19 Richard Bunt <richard.bunt@arm.com>
3109 Chris January <chris.january@arm.com>
3110
3111 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3112 * gdb.fortran/short-circuit-argument-list.exp: New file.
3113 * gdb.fortran/short-circuit-argument-list.f90: New test.
3114
5031d0ae
SDJ
31152018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3116
3117 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3118 "arch=" keyword when executing "-stack-list-frames".
3119
b4c0d1a4
SDJ
31202018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3121
3122 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3123 "arch=" keyword when executing "-stack-list-frames".
3124
7a6d2b45
SDJ
31252018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3126
3127 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3128 break ada".
3129
8588b356
SM
31302018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3131
3132 PR python/23669
3133 * gdb.python/python.exp: Test gdb.execute("show commands").
3134
65e65158
TT
31352018-09-16 Tom Tromey <tom@tromey.com>
3136
3137 * gdb.base/new-ui.exp (do_execution_tests): Update.
3138 * gdb.base/dbx.exp (test_breakpoints): Update.
3139
bf326452
AH
31402018-09-14 Alan Hayward <alan.hayward@arm.com>
3141
3142 * lib/gdb.exp (gdb_simple_compile): Add proc.
3143 (is_elf_target): Use gdb_simple_compile.
3144 (skip_altivec_tests): Likewise.
3145 (skip_vsx_tests): Likewise.
3146 (skip_tsx_tests): Likewise.
3147 (skip_btrace_tests): Likewise.
3148 (skip_btrace_pt_tests): Likewise.
3149 (gdb_can_simple_compile): Likewise.
3150 (gdb_has_argv0): Likewise.
3151 (gdb_target_symbol_prefix): Likewise.
3152 (target_supports_scheduler_locking): Likewise.
3153
2361b0fb
TT
31542018-09-13 Tom Tromey <tom@tromey.com>
3155
3156 * Makefile.in (TAGS): Recognize proc_with_prefix and
3157 gdb_caching_proc.
3158
0ae1a321
SM
31592018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3160
3161 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3162 method.
3163
a40bf0c2
SM
31642018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3165
3166 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3167 and a few other Inferior properties when the Inferior is no
3168 longer valid.
3169
4a3fe98f
TT
31702018-09-13 Tom Tromey <tom@tromey.com>
3171
3172 PR rust/23650:
3173 * gdb.rust/simple.exp: Add test for enum field access error.
3174
098b2108
TT
31752018-09-13 Tom Tromey <tom@tromey.com>
3176
3177 PR rust/23626:
3178 * gdb.rust/simple.rs (EmptyEnum): New type.
3179 (main): Use it.
3180 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3181
1256af7d
SM
31822018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3183
3184 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3185 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3186 * gdb.python/py-symtab.exp: Update test printing an objfile.
3187
4aa8e6c2
SM
31882018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3189
3190 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3191 object.
3192
c221b2f7
AH
31932018-09-12 Alan Hayward <alan.hayward@arm.com>
3194
3195 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3196 (support_complex_tests): Use gdb_can_simple_compile.
3197 (is_ilp32_target): Likewise.
3198 (is_lp64_target): Likewise.
3199 (is_64_target): Likewise.
3200 (is_amd64_regs_target): Likewise.
3201 (is_aarch32_target): Likewise.
3202 (gdb_int128_helper): Likewise.
3203
6f1107b5
JK
32042018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3205
3206 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3207
1f5d1570
JG
32082018-09-10 Jerome Guitton <guitton@adacore.com>
3209
3210 * gdb.ada/same_component_name: Add test for case of tagged record
3211 with variable-length fields.
3212
cc330e39
XR
32132018-09-10 Xavier Roirand <roirand@adacore.com>
3214
3215 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3216 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3217 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3218 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3219
b9c50e9a
XR
32202018-09-10 Xavier Roirand <roirand@adacore.com>
3221
3222 * gdb.ada/mi_string_access.exp: New testcase.
3223 * gdb.ada/mi_string_access/bar.adb: New file.
3224 * gdb.ada/mi_string_access/pck.adb: New file.
3225 * gdb.ada/mi_string_access/pck.asd: New file.
3226
2963898f
XR
32272018-09-10 Xavier Roirand <roirand@adacore.com>
3228
3229 * gdb.ada/mi_var_union.exp: New testcase.
3230 * gdb.ada/mi_var_union/bar.adb: New file.
3231 * gdb.ada/mi_var_union/pck.adb: New file.
3232 * gdb.ada/mi_var_union/pck.asd: New file.
3233
1aac008f
TT
32342018-09-08 Tom Tromey <tom@tromey.com>
3235
3236 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3237
332cf4c9
TT
32382018-09-08 Tom Tromey <tom@tromey.com>
3239
3240 PR python/16047:
3241 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3242 (register_pretty_printers): Register new printer.
3243 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3244 test.
3245 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3246 (an_int_type3): New global.
3247
424da6cf
JB
32482018-09-08 Joel Brobecker <brobecker@adacore.com>
3249
3250 * gdb.ada/expr_with_funcall: New testcase.
3251
2a62dfa9
JB
32522018-09-08 Joel Brobecker <brobecker@adacore.com>
3253
3254 * gdb.ada/packed_array_assign: New testcase.
3255
96b6697f
AB
32562018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3257
3258 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3259 names, and add test prefixes to make test names unique.
3260
e4a62c65
TV
32612018-09-05 Tom de Vries <tdevries@suse.de>
3262
3263 * gdb.dwarf2/varval.exp: Add test.
3264
dd083ee2
GB
32652018-09-04 Gary Benson <gbenson@redhat.com>
3266
3267 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3268 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3269
aef9346c
TT
32702018-08-31 Tom Tromey <tom@tromey.com>
3271
3272 * gdb.rust/simple.rs: Rename second variable "v".
3273
c67f2e15
AB
32742018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3275
3276 * gdb.base/funcargs.c (use_a): New function.
3277 (recurse): Call use_a.
3278
078a0207
KS
32792018-08-29 Keith Seitz <keiths@redhat.com>
3280
3281 * gdb.compile/compile-cplus-anonymous.cc: New file.
3282 * gdb.compile/compile-cplus-anonymous.exp: New file.
3283 * gdb.compile/compile-cplus-array-decay.cc: New file.
3284 * gdb.compile/compile-cplus-array-decay.exp: New file.
3285 * gdb.compile/compile-cplus-inherit.cc: New file.
3286 * gdb.compile/compile-cplus-inherit.exp: New file.
3287 * gdb.compile/compile-cplus-member.cc: New file.
3288 * gdb.compile/compile-cplus-member.exp: New file.
3289 * gdb.compile/compile-cplus-method.cc: New file.
3290 * gdb.compile/compile-cplus-method.exp: New file.
3291 * gdb.compile/compile-cplus-mod.c: "New" file.
3292 * gdb.compile/compile-cplus-namespace.cc: New file.
3293 * gdb.compile/compile-cplus-namespace.exp: New file.
3294 * gdb.compile/compile-cplus-nested.cc: New file.
3295 * gdb.compile/compile-cplus-nested.exp: New file.
3296 * gdb.compile/compile-cplus-print.c: "New" file.
3297 * gdb.compile/compile-cplus-print.exp: "New" file.
3298 * gdb.compile/compile-cplus-virtual.cc: New file.
3299 * gdb.compile/compile-cplus-virtual.exp: New file.
3300 * gdb.compile/compile-cplus.c: "New" file.
3301 * gdb.compile/compile-cplus.exp: "New" file.
3302 * lib/compile-support.exp: New file.
3303
b0f492b9
GB
33042018-08-16 Gary Benson <gbenson@redhat.com>
3305
3306 PR gdb/13000:
3307 * gdb.base/batch-exit-status.exp: New file.
3308 * gdb.base/batch-exit-status.good-commands: Likewise.
3309 * gdb.base/batch-exit-status.bad-commands: Likewise.
3310
36eb4c5f
AH
33112018-08-29 Alan Hayward <alan.hayward@arm.com>
3312
3313 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3314 (struct struct02): Likewise.
3315 (struct struct03): Likewise.
3316 (struct struct04): Likewise.
3317 (struct struct_01_01): New struct.
3318 (struct struct_01_02): Likewise.
3319 (struct struct_01_03): Likewise.
3320 (struct struct_01_04): Likewise.
3321 (struct struct_02_01): Likewise.
3322 (struct struct_02_02): Likewise.
3323 (struct struct_02_03): Likewise.
3324 (struct struct_02_04): Likewise.
3325 (struct struct_04_01): Likewise.
3326 (struct struct_04_02): Likewise.
3327 (struct struct_04_03): Likewise.
3328 (struct struct_04_04): Likewise.
3329 (struct struct_05_01): Likewise.
3330 (struct struct_05_02): Likewise.
3331 (struct struct_05_03): Likewise.
3332 (struct struct_05_04): Likewise.
3333 (cmp_struct01): Remove function.
3334 (cmp_struct02): Likewise.
3335 (cmp_struct03): Likewise.
3336 (cmp_struct04): Likewise.
3337 (cmp_struct_01_01): Add Function.
3338 (cmp_struct_01_02): Likewise.
3339 (cmp_struct_01_03): Likewise.
3340 (cmp_struct_01_04): Likewise.
3341 (cmp_struct_02_01): Likewise.
3342 (cmp_struct_02_02): Likewise.
3343 (cmp_struct_02_03): Likewise.
3344 (cmp_struct_02_04): Likewise.
3345 (cmp_struct_04_01): Likewise.
3346 (cmp_struct_04_02): Likewise.
3347 (cmp_struct_04_03): Likewise.
3348 (cmp_struct_04_04): Likewise.
3349 (cmp_struct_05_01): Likewise.
3350 (cmp_struct_05_02): Likewise.
3351 (cmp_struct_05_03): Likewise.
3352 (cmp_struct_05_04): Likewise.
3353 (call_all): Add new structs.
3354 * gdb.base/infcall-nested-structs.exp: Likewise.
3355
3bf9c013
JV
33562018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3357
3358 * gdb.python/py-framefilter-mi.exp: Update regexp to
3359 check for "arch" field in frame output.
3360
450d1e88
KB
33612018-08-23 Kevin Buettner <kevinb@redhat.com>
3362
3363 * gdb.dwarf2/dw2-ranges-func.c: New file.
3364 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3365
ae739fe7
SM
33662018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3367
3368 * gdb.base/term.exp: Compare terminal settings with values from
3369 the inferior.
3370 * gdb.base/term.c: Get and set terminal settings.
3371
6d52907e
JV
33722018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3373
3374 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3375 accommodate new "arch" field in frame output.
3376 * gdb.mi/mi-return.exp: Likewise.
3377 * gdb.mi/mi-stack.exp: Likewise.
3378 * gdb.mi/mi-syn-frame.exp: Likewise.
3379 * gdb.mi/user-selected-context-sync.exp: Likewise.
3380
be2d111a
MS
33812018-08-19 Michael Spang <spang@google.com>
3382
3383 PR gdb/11786
3384 * gdb.base/gcore-tls-pie.c: New file.
3385 * gdb.base/gcore-tls-pie.exp: New file.
3386
ae3a7c47
KB
33872018-08-18 Kevin Buettner <kevinb@redhat.com>
3388
3389 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
3390 * gdb.dwarf2/varval.c: New file.
3391 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 3392
2ecae92e
AH
33932018-08-17 Alan Hayward <alan.hayward@arm.com>
3394
3395 PR gdb/18931
3396 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3397
c1854f1d
KS
33982018-08-16 Keith Seitz <keiths@redhat.com>
3399
3400 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3401 tests expected to pass.
3402
26fb3983
JV
34032018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3404
3405 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3406 -data-disassemble -a.
3407 (test_disassembly_bogus_args): Likewise.
3408
67943c00
AB
34092018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3410
3411 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3412
5ff2bbae
AB
34132018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3414
3415 * gdb.base/vla-optimized-out.exp: Add new test.
3416
e5bbcd0f
AB
34172018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3418
3419 * gdb.base/vla-optimized-out-o3.exp: Delete.
3420 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3421 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3422 deleted tests.
3423
9d4a934c
AB
34242018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3425
3426 PR gdb/18050:
3427 * gdb.server/extended-remote-restart.c: New file.
3428 * gdb.server/extended-remote-restart.exp: New file.
3429
045cf012
SM
34302018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3431
3432 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3433 "set variable index = 42".
3434
87d6a7aa
SM
34352018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3436
3437 * boards/index-cache-gdb.exp: New file.
3438 * gdb.dwarf2/index-cache.exp: New file.
3439 * gdb.dwarf2/index-cache.c: New file.
3440 * gdb.base/maint.exp: Check if we are using the index cache.
3441
96d68bd4
RO
34422018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3443
3444 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3445 MAKEFLAGS.
3446
5a699617
RO
34472018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3448
3449 * dg-extract-results.sh: Move to toplevel contrib.
3450 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3451 * Makefile.in (check-parallel-racy): Likewise.
3452
5bd18990
AB
34532018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3454
3455 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3456 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3457 tests if the target supports scheduler locking.
3458
3fbbcf47
TV
34592018-08-04 Tom de Vries <tdevries@suse.de>
3460
3461 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3462
3e1d3d8c
TT
34632018-08-02 Tom Tromey <tom@tromey.com>
3464
3465 PR symtab/16842.
3466 * gdb.cp/temargs.exp: Test "info address" of a template
3467 parameter.
3468
5abe0f0c
JV
34692018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3470
3471 * gdb.python/py-mi-var-info-path-expression.c: New file.
3472 * gdb.python/py-mi-var-info-path-expression.py: New file.
3473 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3474
fb66cde8
SDJ
34752018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3476
3477 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3478 error after "cannot resolve name" string.
3479
c708f4d2
AB
34802018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3481
3482 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3483 started.
3484 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3485
37cc0cae
TV
34862018-07-28 Tom de Vries <tdevries@suse.de>
3487
3488 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3489
63b4ecf7
TV
34902018-07-26 Tom de Vries <tdevries@suse.de>
3491
3492 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3493
3c3bb058
AB
34942018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3495
3496 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3497 is visible.
3498
9e7f3bbb
TV
34992018-07-26 Tom de Vries <tdevries@suse.de>
3500
3501 PR breakpoints/23366
3502 * gdb.base/catch-follow-exec.c: New test.
3503 * gdb.base/catch-follow-exec.exp: New file.
3504
16f808ec
TV
35052018-07-25 Tom de Vries <tdevries@suse.de>
3506
3507 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3508 vla-optimized-out.c.
3509
d7154a8d
JV
35102018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3511
3512 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3513 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3514
232a0032
TV
35152018-07-20 Tom de Vries <tdevries@suse.de>
3516
3517 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3518 NOCLONE macro.
3519 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3520
fbb1d502
TV
35212018-07-19 Tom de Vries <tdevries@suse.de>
3522
3523 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3524 regular expression.
3525
42dc7699
TV
35262018-07-18 Tom de Vries <tdevries@suse.de>
3527
3528 * gdb.base/vla-optimized-out.c: New test.
3529 * gdb.base/vla-optimized-out.exp: New file.
3530
7f1f7e23
SDJ
35312018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3532
3533 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3534 message "No address associated with hostname" when gdbserver
3535 cannot resolve the hostname.
3536
5759ebb3
PW
35372018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3538
3539 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3540 Add some test prefixes to make tests unique.
3541
3606ccab
PW
35422018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3543
3544 * gdb.base/frameapply.c: New file.
3545 * gdb.base/frameapply.exp: New file.
3546
529c08b2
PW
35472018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3548
3549 * gdb.base/skip.exp: Update expected error message.
3550
c7ab0aef
SDJ
35512018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3552 Jan Kratochvil <jan.kratochvil@redhat.com>
3553 Paul Fertser <fercerpav@gmail.com>
3554 Tsutomu Seki <sekiriki@gmail.com>
3555
3556 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3557 parameter.
3558 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3559 by default.
3560 * boards/native-gdbserver.exp: Likewise.
3561 * gdb.server/run-without-local-binary.exp: Improve regexp used
3562 for detecting when a remote debugging connection succeeds.
3563 * gdb.server/server-connect.exp: New file.
3564 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3565 Do not prefix the port number with ":".
3566 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3567 support for detecting and using it. Add '$debughost_gdbserver'
3568 to the list of arguments used to start gdbserver. Handle case
3569 when gdbserver cannot resolve a network name.
3570
16ff70dd
SDJ
35712018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3572
3573 PR c++/23373
3574 * gdb.base/ptype-offsets.cc (struct static_member): New
3575 struct.
3576 (main) <stmember>: New variable.
3577 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3578 with a static member in it.
3579
3541979f
AB
35802018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3581
3582 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3583 watchpoints enabled and disabled.
3584
c8ad9b9a
AB
35852018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3586
3587 * gdb.base/examine-backward.exp: Still run tests around address
3588 0x0, even if address 0x0 is not readable. Update the pattern for
3589 matching address 0x0 in expected output.
3590
e0e5e971
AB
35912018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3592
3593 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3594 malloc/free.
3595
1ea5da02
TV
35962018-07-04 Tom de Vries <tdevries@suse.de>
3597
3598 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3599
471b9d15
MR
36002018-07-02 Maciej W. Rozycki <macro@mips.com>
3601
3602 PR tdep/8282
3603 * gdb.arch/mips-disassembler-options.exp: New test.
3604 * gdb.arch/mips-disassembler-options.s: New test source.
3605
75acb486
PA
36062018-06-29 Pedro Alves <palves@redhat.com>
3607
3608 * gdb.threads/names.exp: Adjust expected "info threads" output.
3609
cd2bb709
PA
36102018-06-29 Pedro Alves <palves@redhat.com>
3611
3612 * gdb.opt/inline-break.exp (line number, address): Add "info
3613 break" tests.
3614
991ff292
PA
36152018-06-29 Pedro Alves <palves@redhat.com>
3616
3617 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3618 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3619 number and address and running to them.
3620
356819b6 36212018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
3622
3623 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3624
2512d7ef
JK
36252018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3626
3627 * lib/compiler.c: Remove executable permission flag.
3628
be1b6474
RB
36292018-06-28 Richard Bunt <richard.bunt@arm.com>
3630
3631 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3632 code.
3633 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3634
291f9a96
PT
36352018-06-28 Petr Tesarik <ptesarik@suse.cz>
3636
3637 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3638
ed6dfe51
PT
36392018-06-28 Petr Tesarik <ptesarik@suse.cz>
3640
3641 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3642 address argument is omitted.
3643
d4d429d5
PT
36442018-06-28 Petr Tesarik <ptesarik@suse.cz>
3645
3646 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3647
7ab6656f
OJ
36482018-06-27 Omair Javaid <omair.javaid@linaro.org>
3649
3650 PR gdb/21695
3651 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3652 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3653
a33ccfc7
TT
36542018-06-26 Tom Tromey <tom@tromey.com>
3655
3656 PR rust/22574:
3657 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3658 * gdb.rust/simple.rs (struct SimpleLayout): New.
3659
6d72d289
SM
36602018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3661
3662 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3663 "info registers" output.
3664
8363f9d5
RB
36652018-06-21 Richard Bunt <richard.bunt@arm.com>
3666
3667 * gdb.base/watchpoint-hw-attach.c: New test.
3668 * gdb.base/watchpoint-hw-attach.exp: New file.
3669
f00674fe
SM
36702018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3671
3672 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3673 through /bin/sh.
3674 * boards/dwarf4-gdb-index.exp: Likewise.
3675 * boards/fission-dwp.exp: Likewise.
3676
1d554008
UW
36772018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3678
3679 * gdb.base/float128.exp: Add comment and improved fail message
3680 to the failure case of "print large128" test.
3681
d0ac1c44
SM
36822018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3683
3684 * configure.ac: Remove AC_PREREQ.
3685 * configure: Re-generate.
3686
61b04dd0
PA
36872018-06-19 Pedro Alves <palves@redhat.com>
3688
3689 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3690 (func_extern_caller): New.
3691 (main): Call func_extern_caller.
3692 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3693 logic change.
3694
f63b508a
SM
36952018-06-18 Weimin Pan <weimin.pan@oracle.com>
3696
3697 PR gdb/16841
3698 * gdb.cp/typedef-base.cc: New file.
3699 * gdb.cp/typedef-base.exp: New file.
3700
0fe3a558
TV
37012018-06-18 Tom de Vries <tdevries@suse.de>
3702
3703 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3704
7010835a
AB
37052018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3706 Richard Bunt <Richard.Bunt@arm.com>
3707
3708 * gdb.threads/attach-slow-waitpid.c: New file.
3709 * gdb.threads/attach-slow-waitpid.exp: New file.
3710 * gdb.threads/slow-waitpid.c: New file.
3711
14897d65
PA
37122018-06-14 Pedro Alves <palves@redhat.com>
3713
3714 * gdb.base/fork-running-state.c: Include <errno.h>.
3715 (exit_if_relative_exits): New.
3716 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3717 exits.
3718 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3719 child exits.
3720
5d9a0608
TV
37212018-06-14 Tom de Vries <tdevries@suse.de>
3722
3723 PR cli/22573
3724 * gdb.base/finish-pretty.c: New test.
3725 * gdb.base/finish-pretty.exp: New file.
3726
11ae5818
PA
37272018-06-14 Pedro Alves <palves@redhat.com>
3728
3729 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3730 gdb's expected startup output.
3731
1d39de44
PA
37322018-06-14 Pedro Alves <palves@redhat.com>
3733
3734 * lib/selftest-support.exp (selftest_setup): Remove inlined
3735 function handling.
3736
70ee0000
TV
37372018-06-14 Tom de Vries <tdevries@suse.de>
3738
3739 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3740 matching of breakpoint printing.
3741
11f4b608
TV
37422018-06-13 Tom de Vries <tdevries@suse.de>
3743
3744 PR testsuite/23269
3745 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3746 (fork_child): ... here, and ...
3747 (fork_parent): ... here.
3748
37492018-06-12 Tom de Vries <tdevries@suse.de>
3750
3751 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3752
9516f85a
AB
37532018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3754 Stephen Roberts <stephen.roberts@arm.com>
3755
3756 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3757 rewrite test to describe action performed, rather than possible
3758 failure.
3759
5045b3d7
GB
37602018-06-08 Gary Benson <gbenson@redhat.com>
3761
3762 * gdb.threads/check-libthread-db.exp: New file.
3763 * gdb.threads/check-libthread-db.c: Likewise.
3764
c61b06a1
TT
37652018-06-05 Tom Tromey <tom@tromey.com>
3766
3767 * gdb.base/default.exp: Update expected "show version" output.
3768
eb6af809
TT
37692018-06-05 Tom Tromey <tom@tromey.com>
3770
3771 PR cli/12326:
3772 * gdb.cp/static-print-quit.exp: Update.
3773 * lib/gdb.exp (pagination_prompt): Update.
3774 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3775 * gdb.python/python.exp: Update.
3776
178d6a63
JB
37772018-06-04 Joel Brobecker <brobecker@adacore.com>
3778
3779 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3780
8e817061
JB
37812018-06-01 Joel Brobecker <brobecker@adacore.com>
3782
3783 * gdb.ada/bp_fun_addr: New testcase.
3784
e86ca25f
TT
37852018-06-01 Tom Tromey <tom@tromey.com>
3786
3787 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3788 results.
3789 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3790 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3791 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3792 * gdb.base/maint.exp (maint_pass_if): Update.
3793
4b2dfa9d
MR
37942018-05-31 Maciej W. Rozycki <macro@mips.com>
3795
3796 * gdb.base/endian.exp: New test.
3797 * gdb.base/endian.c: New test source.
3798
45f25d6c
AB
37992018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3800
3801 PR gdb/23203
3802 * gdb.base/bt-selected-frame.c: New file.
3803 * gdb.base/bt-selected-frame.exp: New file.
3804 * lib/gdb.exp (get_current_frame_number): New function.
3805
d9f6d7f8
MR
38062018-05-24 Maciej W. Rozycki <macro@mips.com>
3807 Pedro Alves <palves@redhat.com>
3808
3809 * gdb.threads/tls-core.c: Include <stdlib.h>
3810 (thread_proc): Call `abort'.
3811 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3812 (tls_core_test): New procedure, bits factored out from ...
3813 (top level): ... here. Test both native cores and gcore cores.
3814
ff1cf532
TT
38152018-05-23 Tom Tromey <tom@tromey.com>
3816
3817 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3818
b98664d3
TT
38192018-05-23 Tom Tromey <tom@tromey.com>
3820
3821 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3822 symfile_complaints.
3823 (test_short_complaints): Likewise.
3824 (test_empty_complaints): Likewise.
3825 (test_initial_complaints): Update.
3826
4e9668d0
TT
38272018-05-23 Tom Tromey <tom@tromey.com>
3828
3829 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3830
43ba33c7
TT
38312018-05-23 Tom Tromey <tom@tromey.com>
3832
3833 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3834 (test_short_complaints): Update.
3835
035522c0
PA
38362018-05-22 Pedro Alves <palves@redhat.com>
3837
3838 * gdb.base/remote.exp: Only gdb_start after compiling the
3839 testcase. Issue "disconnect" before testing "set remote" command
3840 defaults. Issue clean_restart before running to main.
3841
cc0be08f
PA
38422018-05-22 Pedro Alves <palves@redhat.com>
3843
3844 * gdb.base/remote.exp: Adjust expected output of "show remote
3845 memory-write-packet-size". Add tests for "set remote
3846 memory-write-packet-size 0" and "set remote
3847 memory-write-packet-size fixed/limit".
3848
b1b60145
PA
38492018-05-22 Pedro Alves <palves@redhat.com>
3850
3851 PR gdb/22973
3852 * gdb.base/utf8-identifiers.c: New file.
3853 * gdb.base/utf8-identifiers.exp: New file.
3854
0ec848ad
PFC
38552018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3856
3857 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3858
2c3305f6
PFC
38592018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3860
3861 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3862
ce1e8424
TT
38632018-05-18 Tom Tromey <tom@tromey.com>
3864
3865 * gdb.base/ptype-offsets.exp: Update.
3866
ddfe970e
KS
38672018-05-17 Keith Seitz <keiths@redhat.com>
3868
3869 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3870 in expected breakpoint stop locations.
3871 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3872 move to proper scope to test variable values.
3873 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3874 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3875 New functions.
3876 (main): Call not_inline_func3.
3877 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3878 inline_func1, inline_func2, and inline_func3. Test that when each
3879 breakpoint is hit, GDB properly reports both the stop location
3880 and the backtrace. Repeat tests for temporary breakpoints.
3881
0726fcc6
MR
38822018-05-15 Maciej W. Rozycki <macro@mips.com>
3883
3884 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3885 rather then trying to access it in determining whether the PID
3886 of `gdbserver' could have been retrieved.
3887
8ee22052
AB
38882018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3889
3890 * gdb.arch/amd64-init-x87-values.S: New file.
3891 * gdb.arch/amd64-init-x87-values.exp: New file.
3892
7785df48
JK
38932018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3894
3895 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3896
56bcdbea
TT
38972018-05-04 Tom Tromey <tom@tromey.com>
3898
3899 PR python/22730:
3900 * gdb.python/python.exp: Test multi-line execute.
3901
a913fffb
TT
39022018-05-04 Tom Tromey <tom@tromey.com>
3903
3904 PR python/22731:
3905 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3906
7a2c85f2
TT
39072018-05-04 Tom Tromey <tom@tromey.com>
3908
3909 PR gdb/11750:
3910 * gdb.base/define.exp: Test defining a user command inside a user
3911 command.
3912 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3913
a3b60e45
JK
39142018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3915 Pedro Alves <palves@redhat.com>
3916
3917 PR breakpoints/19806 and support for PR external/20207.
3918 * gdb.base/watchpoint-unaligned.c: New file.
3919 * gdb.base/watchpoint-unaligned.exp: New file.
3920
45fe4a03
AB
39212018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3922
3923 * gdb.base/maint.exp: Make test names unique, use
3924 test_prefix_command_help to test 'help maint info', and remove
3925 repeated test of 'help maint'.
3926
9be2ae8f
TT
39272018-05-04 Tom Tromey <tom@tromey.com>
3928
3929 PR gdb/22619:
3930 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3931 behavior.
3932
11859c31
AB
39332018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3934
3935 * gdb.base/maint.exp: Process output from 'maint print registers'
3936 line at a time.
3937
089a9490
AB
39382018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3939
3940 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3941 timeout.
3942
9b0797e2
AB
39432018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3944
3945 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3946 filter pattern.
3947
f6ac5f3d
PA
39482018-05-02 Pedro Alves <palves@redhat.com>
3949
3950 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3951 to_log_command renames.
3952 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3953
77d3c63b
TT
39542018-05-02 Tom Tromey <tom@tromey.com>
3955
3956 * gdb.python/py-parameter.exp: Set test message.
3957
0489430a
TT
39582018-05-02 Tom Tromey <tom@tromey.com>
3959
3960 PR python/20084:
3961 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3962 PARAM_ZUINTEGER_UNLIMITED tests.
3963
1632f8ba
DR
39642018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3965
3966 PR rust/23124
3967 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3968 when casting.
3969
6d7bb824
TT
39702018-04-30 Tom Tromey <tom@tromey.com>
3971
3972 * gdb.python/py-type.exp: Check align attribute.
3973 * gdb.python/py-type.c: New "aligncheck" global.
3974
007e1530
TT
39752018-04-30 Tom Tromey <tom@tromey.com>
3976
3977 PR exp/17095:
3978 * gdb.dwarf2/dw2-align.exp: New file.
3979 * gdb.cp/align.exp: New file.
3980 * gdb.base/align.exp: New file.
3981 * lib/gdb.exp (gdb_int128_helper): New proc.
3982 (has_int128_c, has_int128_cxx): New caching procs.
3983
6873858b
TT
39842018-04-27 Tom Tromey <tom@tromey.com>
3985
3986 PR rust/22545:
3987 * gdb.rust/simple.exp: Add inclusive range tests.
3988
79188d8d
PA
39892018-04-26 Pedro Alves <palves@redhat.com>
3990
3991 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3992 ifunc breakpoint locations correctly of ifunc breakpoints set
3993 while the program resolves the ifunc.
3994
c7075ad5
PA
39952018-04-26 Pedro Alves <palves@redhat.com>
3996
3997 * gdb.base/gnu-ifunc-final.c: New file.
3998 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3999 * gdb.base/gnu-ifunc.exp (executable): Delete.
4000 (staticexecutable): Adjust.
4001 (lib_opts, exec_opts): Delete.
4002 (make_binsuffix, build, set-break): New procedures.
4003 (misc_tests): New, with tests factored out from the top level.
4004 (top level): Test different combinations of ifunc resolver name,
4005 resolver with and with debug info, and ifunc target with and
4006 without debug info. Wrap static tests with with_target_prefix.
4007
8388016d
PA
40082018-04-26 Pedro Alves <palves@redhat.com>
4009
4010 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4011 return type" warnings.
4012
249b5733
PA
40132018-04-25 Pedro Alves <palves@redhat.com>
4014
4015 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4016 killed".
4017 * gdb.base/kill-after-signal.exp: Likewise.
4018 * gdb.threads/kill.exp: Likewise.
4019
f67c0c91
SDJ
40202018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4021 Sergio Durigan Junior <sergiodj@redhat.com>
4022 Pedro Alves <palves@redhat.com>
4023
4024 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4025 regexps to expect for '[Inferior ... detached]' as well.
4026 * gdb.base/attach.exp: Likewise.
4027 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4028 "gdb_continue_to_end".
4029 (test_catch_syscall_with_wrong_args): Likewise.
4030 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4031 ']'. Don't set 'verbose' on.
4032 * gdb.base/foll-vfork.exp: Likewise.
4033 * gdb.base/fork-print-inferior-events.c: New file.
4034 * gdb.base/fork-print-inferior-events.exp: New file.
4035 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4036 '[Inferior ... has been killed]' message.
4037 * gdb.base/kill-after-signal.exp: Likewise.
4038 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4039 detach message.
4040 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4041 message.
4042 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4043 regexps to expect for '[Inferior ... detached]' as well.
4044 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4045
0a8ddac4
SM
40462018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4047
4048 PR gdb/23104
4049 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4050
d27d16bf
RB
40512018-04-19 Richard Bunt <richard.bunt@arm.com>
4052
4053 * gdb.threads/multiple-successive-infcall.c: New test.
4054 * gdb.threads/multiple-successive-infcall.exp: New file.
4055
a037790e
TT
40562018-04-17 Tom Tromey <tom@tromey.com>
4057
4058 * gdb.rust/simple.rs (Union): New type.
4059 (main): New local "u".
4060 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4061
e3a91079
AA
40622018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4063
4064 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4065 number information in output of "whereis" command.
4066 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4067
b744723f
AA
40682018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4069
4070 * gdb.ada/info_types.exp: Adjust expected output to the line
4071 numbers now printed by "info var/func/type".
4072 * gdb.base/completion.exp: Likewise.
4073 * gdb.base/included.exp: Likewise.
4074 * gdb.cp/cp-relocate.exp: Likewise.
4075 * gdb.cp/cplusfuncs.exp: Likewise.
4076 * gdb.cp/namespace.exp: Likewise.
4077 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4078
4a4495d6
MM
40792018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4080
4081 * gdb.btrace/cpu.exp: New.
4082
1d509aa6
MM
40832018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4084
4085 * gdb.base/step-indirect-call-thunk.exp: New.
4086 * gdb.base/step-indirect-call-thunk.c: New.
4087 * gdb.reverse/step-indirect-call-thunk.exp: New.
4088 * gdb.reverse/step-indirect-call-thunk.c: New.
4089
6295b6da
SM
40902018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4091
4092 * gdb.base/pie-fork.c: New file.
4093 * gdb.base/pie-fork.exp: New file.
4094
50146e70
TT
40952018-04-11 Tom Tromey <tom@tromey.com>
4096
4097 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4098
f50d8a2e
PA
40992018-04-10 Pedro Alves <palves@redhat.com>
4100
4101 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4102 exits. Instead loop running forever.
4103 (fork_parent): Run forever too.
4104
a0be7a36
SM
41052018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4106
4107 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4108 mi_continue_to_line.
4109 * gdb.mi/mi-stack.c (callee4): Add comment.
4110
9b73db36
SM
41112018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4112
4113 * gdb.mi/mi-stack.exp: Fix indentation.
4114
c912f608
SM
41152018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4116
4117 PR gdb/22979
4118 * gdb.arch/amd64-osabi.exp: New file.
4119
26540402
SM
41202018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4121
4122 PR gdb/22980
4123 * gdb.base/osabi.exp: New file.
4124
121ad66c 41252018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
4126
4127 * gdb.cp/static-typedef-print.exp: New file.
4128 * gdb.cp/static-typedef-print.cc: New file.
4129
3fcded8f
JB
41302018-03-27 Joel Brobecker <brobecker@adacore.com>
4131
4132 * gdb.ada/varsize_limit: New testcase.
4133
59cc4834
JB
41342018-03-27 Joel Brobecker <brobecker@adacore.com>
4135
4136 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4137
4138 * gdb.ada/notcplusplus: New testcase.
4139
4140 * gdb.base/c-linkage-name.c: New file.
4141 * gdb.base/c-linkage-name.exp: New testcase.
4142
4ca59a9f
TT
41432018-03-26 Tom Tromey <tom@tromey.com>
4144
4145 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4146 * gdb.python/py-framefilter.py (name_error): New global.
4147 (ErrorInName.function): Use name_error.
4148
978d6c75
TT
41492018-03-26 Tom Tromey <tom@tromey.com>
4150
4151 PR backtrace/15582:
4152 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4153
b7fee5a3
KS
41542018-03-23 Keith Seitz <keiths@redhat.com>
4155
4156 PR c++/22968
4157 * gdb.cp/subtypes.exp: New file.
4158 * gdb.cp/subtypes.h: New file.
4159 * gdb.cp/subtypes.cc: New file.
4160 * gdb.cp/subtypes-2.cc: New file.
4161
376be529
AB
41622018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4163
4164 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4165 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4166 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4167 -nostartfiles when compiling the test. Confirm that all registers
4168 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4169
066cfa98
AB
41702018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4171
4172 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4173 option, syntax was wrong anyway.
4174 * gdb.arch/arm-disp-step.exp: Likewise.
4175 * gdb.arch/sparc64-regs.exp: Likewise.
4176 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4177 option, syntax was wrong anyway, switch to use
4178 prepare_for_testing.
4179 * gdb.arch/i386-disp-step.exp: Likewise.
4180
079670b9
AA
41812018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4182
4183 * gdb.ada/exec_changed.exp: Replace "target_info exists
4184 use_gdb_stub" by "use_gdb_stub".
4185 * gdb.ada/start.exp: Likewise.
4186 * gdb.base/async-shell.exp: Likewise.
4187 * gdb.base/attach-pie-misread.exp: Likewise.
4188 * gdb.base/attach-wait-input.exp: Likewise.
4189 * gdb.base/break-entry.exp: Likewise.
4190 * gdb.base/break-interp.exp: Likewise.
4191 * gdb.base/dprintf-detach.exp: Likewise.
4192 * gdb.base/nostdlib.exp: Likewise.
4193 * gdb.base/solib-nodir.exp: Likewise.
4194 * gdb.base/statistics.exp: Likewise.
4195 * gdb.base/testenv.exp: Likewise.
4196 * gdb.mi/mi-exec-run.exp: Likewise.
4197 * gdb.mi/mi-start.exp: Likewise.
4198 * gdb.multi/dummy-frame-restore.exp: Likewise.
4199 * gdb.multi/multi-arch-exec.exp: Likewise.
4200 * gdb.multi/multi-arch.exp: Likewise.
4201 * gdb.multi/tids.exp: Likewise.
4202 * gdb.multi/watchpoint-multi.exp: Likewise.
4203 * gdb.python/py-events.exp: Likewise.
4204 * gdb.threads/attach-into-signal.exp: Likewise.
4205 * gdb.threads/attach-stopped.exp: Likewise.
4206 * gdb.threads/threadapply.exp: Likewise.
4207 * lib/selftest-support.exp: Likewise.
4208
26d6cec4
AA
42092018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4210
4211 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4212
4ee89e90
SR
42132018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4214
4215 * gdb.perf/template-breakpoints.cc: New file.
4216 * gdb.perf/template-breakpoints.exp: New file.
4217 * gdb.perf/template-breakpoints.py: New file.
4218
92630041
TT
42192018-03-19 Tom Tromey <tom@tromey.com>
4220
4221 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4222 y0.
4223 * gdb.rust/simple.exp: Test bare identifier form of struct
4224 initializer.
4225
76727919
TT
42262018-03-19 Tom Tromey <tom@tromey.com>
4227
4228 * gdb.gdb/observer.exp: Remove.
4229
194ed413
AA
42302018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4231
4232 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4233 "qualified" option when setting breakpoints.
4234 * gdb.trace/backtrace.exp: Likewise.
4235 * gdb.trace/circ.exp: Likewise.
4236 * gdb.trace/collection.exp: Likewise.
4237 * gdb.trace/disconnected-tracing.exp: Likewise.
4238 * gdb.trace/ftrace-lock.exp: Likewise.
4239 * gdb.trace/ftrace.exp: Likewise.
4240 * gdb.trace/infotrace.exp: Likewise.
4241 * gdb.trace/packetlen.exp: Likewise.
4242 * gdb.trace/passc-dyn.exp: Likewise.
4243 * gdb.trace/qtro.exp: Likewise.
4244 * gdb.trace/read-memory.exp: Likewise.
4245 * gdb.trace/report.exp: Likewise.
4246 * gdb.trace/signal.exp: Likewise.
4247 * gdb.trace/status-stop.exp: Likewise.
4248 * gdb.trace/strace.exp: Likewise.
4249 * gdb.trace/tfind.exp: Likewise.
4250 * gdb.trace/trace-break.exp: Likewise.
4251 * gdb.trace/trace-condition.exp: Likewise.
4252 * gdb.trace/trace-mt.exp: Likewise.
4253 * gdb.trace/tstatus.exp: Likewise.
4254 * gdb.trace/tsv.exp: Likewise.
4255 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4256 * gdb.trace/unavailable.exp: Likewise.
4257 * gdb.trace/while-dyn.exp: Likewise.
4258
8b067d2c
AA
42592018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4260
4261 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4262 that libinproctrace is copied to the target.
4263
3ae9ce5d
TT
42642018-03-14 Tom Tromey <tom@tromey.com>
4265
4266 PR cli/14977:
4267 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4268 a null pointer.
4269 * gdb.base/wchar.exp: Likewise.
4270
b8c2339b
TT
42712018-03-14 Tom Tromey <tom@tromey.com>
4272
4273 PR cli/19918:
4274 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4275 flag.
4276
4872dc46
SM
42772018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4278
4279 PR gdb/22841
4280 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4281 "target" to remote_exec.
4282
e4fe3756
SM
42832018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4284
4285 PR gdb/22841
4286 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4287 ${board}_upload): Remove.
4288
e95a97d4
AA
42892018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4290
4291 * gdb.cp/watch-cp.cc: New test.
4292 * gdb.cp/watch-cp.exp: New file.
4293
dbbb1059
AB
42942018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4295
4296 * gdb.base/infcall-nested-structs.exp: New file.
4297 * gdb.base/infcall-nested-structs.c: New file.
4298 * gdb.base/float.exp: Add riscv support.
4299
ecc054c0
TP
43002018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4301
4302 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4303 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4304
25e3c82c
SDJ
43052018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4306
4307 * gdb.server/abspath.exp: New file.
4308 * lib/gdb.exp (with_cwd): New procedure.
4309
3083294d
SM
43102018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4311
4312 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4313 use it.
4314 (gdb_is_target_remote_prompt): New proc.
4315 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4316 (gdb_is_target_native): Pass prompt parameter to
4317 gdb_is_target_1.
4318
3275ef47
SM
43192018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4320
4321 * gdb.base/load-command.c: New file.
4322 * gdb.base/load-command.exp: New file.
4323 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4324 (gdb_is_target_1): ...this, and generalize for other targets
4325 than just remote.
4326 (gdb_is_target_remote): Use gdb_is_target_1.
4327 (gdb_is_target_native): use gdb_is_target_1.
4328
6893c19a
TT
43292018-02-26 Tom Tromey <tom@tromey.com>
4330
4331 PR python/16497:
4332 * gdb.python/py-framefilter.exp: Update test.
4333
2ddeaf8a
TT
43342018-02-26 Tom Tromey <tom@tromey.com>
4335
4336 * gdb.dwarf2/variant.c: New file.
4337 * gdb.dwarf2/variant.exp: New file.
4338
c9317f21
TT
43392018-02-26 Tom Tromey <tom@tromey.com>
4340
4341 * gdb.rust/simple.exp: Accept more possible results in enum test.
4342
6f6d0c26
SM
43432018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4344
4345 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4346 parentheses.
4347
11b03145
MR
43482018-02-23 Maciej W. Rozycki <macro@mips.com>
4349
4350 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4351 name of a variable: $actual_linejj -> $actual_line.
4352
54a27fe5
JB
43532018-02-21 John Baldwin <jhb@FreeBSD.org>
4354
4355 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4356
de65820c
MM
43572018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4358
4359 * gdb.btrace/buffer-size.exp: Do not force BTS.
4360
980548fd
PA
43612018-02-14 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4364 getting a "Quit".
4365
c4e12631
MM
43662018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4367
4368 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4369 Fix test name.
4370
c2e0e465
SM
43712018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4372
4373 * gdb.cp/m-static.exp: Check type of optimized out static
4374 member.
4375
f7216783
AB
43762018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4377
4378 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4379 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4380
0625771b
LS
43812018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4382 Leszek Swirski <leszeks@google.com>
4383
4384 * gdb.python/py-prettyprint.c
4385 (struct to_string_returns_value_inner,
4386 struct to_string_returns_value_wrapper): New.
4387 (main): Add tsrvw variable.
4388 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4389 ToStringReturnsValueWrapper): New classes.
4390 (register_pretty_printers): Register new pretty-printers.
4391 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4392 recursive pretty printer.
4393 * gdb.python/py-mi.exp: Likewise.
4394
59498c30
LS
43952018-02-01 Leszek Swirski <leszeks@google.com>
4396
4397 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4398 functions with the same name as an include file are parsed
4399 correctly.
4400
d4d38844
YQ
44012018-02-01 Yao Qi <yao.qi@linaro.org>
4402
4403 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4404 "\[^\r\n\]*".
4405
07e5f5cf
NP
44062018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4407
4408 * gdb.arch/powerpc-prologue-frame.s: New file.
4409 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4410 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4411
929b5ad4
JB
44122018-01-31 Joel Brobecker <brobecker@adacore.com>
4413
4414 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4415
e671cd59
PA
44162018-01-30 Pedro Alves <palves@redhat.com>
4417
4418 PR gdb/13211
4419 * gdb.base/interrupt-daemon.c: New.
4420 * gdb.base/interrupt-daemon.exp: New.
4421 * gdb.multi/multi-term-settings.c: New.
4422 * gdb.multi/multi-term-settings.exp: New.
4423
fc413dc4
JB
44242018-01-30 Joel Brobecker <brobecker@adacore.com>
4425
4426 * gdb.base/break.exp: Save the location where the breakpoint
4427 on break.c:47 was actually inserted when debugging the version
4428 compiled at -O2 and use it in the expected output of the "info
4429 break" test performed soon after.
4430
5c319bb2
PA
44312018-01-22 Pedro Alves <palves@redhat.com>
4432 Sergio Durigan Junior <sergiodj@redhat.com>
4433
4434 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4435 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4436
a9e40818
JB
44372018-01-22 Joel Brobecker <brobecker@adacore.com>
4438
4439 * gdb.base/break-include.c, gdb.base/break-include.inc,
4440 gdb.base/break-include.exp: New files.
4441 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4442 line number now being the actual line number where the breakpoint
4443 was inserted.
4444 * gdb.mi/mi-break.exp: Likewise.
4445 * gdb.mi/mi-reverse.exp: Likewise.
4446 * gdb.mi/mi-simplerun.exp: Ditto.
4447
e707fc44
AB
44482018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4449
4450 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4451 varobj.
4452 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4453
ae451627
AB
44542018-01-21 Don Breazeal <donb@codesourcery.com>
4455 Andrew Burgess <andrew.burgess@embecosm.com>
4456
4457 * gdb.mi/basics.c: Add new global.
4458 * gdb.mi/mi-frame-regs.exp: New file.
4459 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4460 case.
4461
b1b189e0
AB
44622018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4463
4464 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4465 non-parameter, and on an unknown symbol.
4466
fcfcc376
TT
44672018-01-19 Tom Tromey <tom@tromey.com>
4468
4469 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4470 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4471
634c1c31
AA
44722018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4473
4474 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4475 setrlimit and chdir to int.
4476
d6ad07fd
AA
44772018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4478
4479 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4480 function.
4481 (my_tend): Likewise.
4482 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4483 rationale of avoiding FP- and vector instructions.
4484
adf8243b
RK
44852018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4486
4487 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4488 "info reg" with "\[ \t\]*".
4489 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4490 "\[ \t\]+".
4491 * gdb.arch/s390-multiarch.exp: Ditto.
4492 * gdb.base/pc-fp.exp: Ditto.
4493 * gdb.reverse/i386-precsave.exp: Ditto.
4494 * gdb.reverse/i386-reverse.exp: Ditto.
4495 * gdb.reverse/i387-env-reverse.exp: Ditto.
4496 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4497
dcc06925
AA
44982018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4499
4500 * lib/gdb.exp (gdb_compile): Re-enable use of
4501 universal_compile_options for languages other than Rust.
4502
25d4fd80
AA
45032018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4504
4505 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4506
ee7f689e 45072018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
4508
4509 PR gdb/16577
4510 * gdb.base/solib-vanish.exp: New.
4511 * gdb.base/solib-vanish-main.c: New.
4512 * gdb.base/solib-vanish-lib1.c: New.
4513 * gdb.base/solib-vanish-lib2.c: New.
4514
d8447b6b
YQ
45152018-01-17 Yao Qi <yao.qi@linaro.org>
4516
4517 * gdb.compile/compile.exp: Match the address printed for
4518 frame in the output of command "bt".
4519
86d6a90c
TT
45202018-01-15 Tom Tromey <tom@tromey.com>
4521
4522 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4523 compute sp_reg.
4524
cbcdb1aa
AB
45252018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4526
4527 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4528 to prepare.
4529 (prepare): Return 0 on error, 1 on success.
4530
eea61984
PA
45312018-01-12 Pedro Alves <palves@redhat.com>
4532
4533 * gdb.base/continue-after-aborted-step-over.c: New.
4534 * gdb.base/continue-after-aborted-step-over.exp: New.
4535
6181e9c2
SM
45362018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4537
4538 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4539 options when not creating an executable.
4540
3cada740
PA
45412018-01-11 Pedro Alves <palves@redhat.com>
4542
4543 PR remote/22597
4544 * gdb.server/stop-reply-no-thread.c: New file.
4545 * gdb.server/stop-reply-no-thread.exp: New file.
4546
c63d3e8d
PA
45472018-01-10 Pedro Alves <palves@redhat.com>
4548
4549 PR gdb/22670
4550 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4551 functions too. Test setting breakpoints and printing C functions
4552 with no debug info too.
4553 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4554
d4c2a405
PA
45552018-01-10 Pedro Alves <palves@redhat.com>
4556
4557 PR gdb/22670
4558 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4559 a fail.
4560
8825213e
PA
45612018-01-10 Pedro Alves <palves@redhat.com>
4562
4563 PR gdb/22670
4564 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4565
605fd3c6
YQ
45662018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4567
4568 * gdb.server/unittest.exp: Match the output in non-development
4569 mode.
4570
1e5ded6c
YQ
45712018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4572
4573 * gdb.gdb/unittest.exp: Match output in non-development mode.
4574
30066b0b
JB
45752018-01-08 Joel Brobecker <brobecker@adacore.com>
4576
4577 * gdb.ada/access_tagged_param.exp: Relax expected output
4578 for value of "ObjL" in "continue" to pck.inspect breakpoint
4579 test.
4580
04bafb1e
XR
45812018-01-08 Joel Brobecker <brobecker@adacore.com>
4582
9f86398b
JB
4583 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4584 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 4585
e379cee6
PA
45862018-01-05 Pedro Alves <palves@redhat.com>
4587
4588 PR gdb/18653
4589 * gdb.base/libsegfault.exp: New.
4590
de63c46b
PA
45912018-01-05 Joel Brobecker <brobecker@adacore.com>
4592
4593 PR gdb/22670
4594 * gdb.ada/access_tagged_param.exp: New file.
4595 * gdb.ada/access_tagged_param/foo.adb: New file.
4596
f98fc17b
PA
45972018-01-05 Pedro Alves <palves@redhat.com>
4598
4599 PR gdb/22670
4600 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4601 exercise lower case too, and to exercise both full matching and
4602 wild matching.
4603
342f8240
JB
46042018-01-05 Joel Brobecker <brobecker@adacore.com>
4605
4606 * gdb.ada/rename_subscript_param: New testcase.
4607
7150d33c
JG
46082018-01-05 Jerome Guitton <guitton@adacore.com>
4609
4610 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4611
cc0e770c
JB
46122018-01-05 Joel Brobecker <brobecker@adacore.com>
4613
4614 * gdb.ada/convvar_comp: New testcase.
4615
672a41aa 46162018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
4617
4618 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4619 (My_Table): New global variable.
4620 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4621
7365ec2f
JB
46222018-01-04 Joel Brobecker <brobecker@adacore.com>
4623
4624 PR gdb/22670
4625 * gdb.ada/maint_with_ada: New testcase.
4626
289483b6
JB
46272018-01-04 Joel Brobecker <brobecker@adacore.com>
4628
4629 PR gdb/22670
4630 * gdb.ada/bp_c_mixed_case: New testcase.
4631
344420da
JB
46322018-01-04 Joel Brobecker <brobecker@adacore.com>
4633
4634 PR gdb/22670
4635 * gdb.ada/complete.exp: Add "complete break ada" test.
4636
66fc87a0
JB
46372018-01-04 Joel Brobecker <brobecker@adacore.com>
4638
4639 PR gdb/22670
4640 * gdb.ada/info_addr_mixed_case: New testcase.
4641
9f757bf7
XR
46422018-01-03 Xavier Roirand <roirand@adacore.com>
4643
4644 * gdb.ada/excep_handle.exp: New testcase.
4645 * gdb.ada/excep_handle/foo.adb: New file.
4646 * gdb.ada/excep_handle/pck.ads: New file.
4647
bd570f80
JB
46482018-01-03 Joel Brobecker <brobecker@adacore.com>
4649
4650 * gdb.base/step-line.c: Add extra empty line in copyright header.
4651 * gdb.base/step-line.inp: Likewise.
4652
9fe561ab
JB
46532018-01-02 Joel Brobecker <brobecker@adacore.com>
4654
4655 * gdb.ada/dyn_stride.exp: Add slice test.
4656
a405673c
JB
46572018-01-02 Joel Brobecker <brobecker@adacore.com>
4658
4659 * gdb.ada/dyn_stride: New testcase.
4660
cef0f868
SH
46612017-12-27 Stafford Horne <shorne@gmail.com>
4662
4663 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4664 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4665
b67d92b0
SH
46662017-12-27 Stafford Horne <shorne@gmail.com>
4667
4668 * gdb.base/reggroups.c: New file.
4669 * gdb.base/reggroups.exp: New file.
4670
eccab96d
JB
46712017-12-18 Joel Brobecker <brobecker@adacore.com>
4672
4673 * gdb.dwarf2/ada-valprint-error.c: New file.
4674 * gdb.dwarf2/ada-valprint-error.exp: New file.
4675
0e2da9f0
JB
46762017-12-18 Joel Brobecker <brobecker@adacore.com>
4677
4678 * gdb.ada/assign_arr: New testcase.
4679
cb923fcc
XR
46802017-12-18 Xavier Roirand <roirand@adacore.com>
4681
4682 * gdb.ada/funcall_ptr: New testcase.
4683
7c161838
SDJ
46842017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4685
4686 PR cli/16224
4687 * gdb.base/ptype-offsets.cc: New file.
4688 * gdb.base/ptype-offsets.exp: New file.
4689
1af17fd9
YQ
46902017-12-15 Yao Qi <yao.qi@linaro.org>
4691
4692 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4693 if XML is disabled.
4694
828d5846
XR
46952017-12-15 Xavier Roirand <roirand@adacore.com>
4696
4697 * gdb.ada/same_component_name: New testcase.
4698
79e8fcaa
JB
46992017-12-14 Joel Brobecker <brobecker@adacore.com>
4700
4701 * gdb.ada/str_binop_equal: New testcase.
4702
e05fa6f9
JB
47032017-12-14 Joel Brobecker <brobecker@adacore.com>
4704
4705 * gdb.ada/task_switch_in_core: New testcase.
4706
b89641ba
SM
47072017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4708
4709 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4710 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4711 call test_bkpt_qualified.
4712 (test_bkpt_qualified): New proc.
4713
6892d2e4
PA
47142017-12-13 Pedro Alves <palves@redhat.com>
4715
4716 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4717 Tighten regexp by matching with an anchor.
4718
a22ecf70
PA
47192017-12-13 Pedro Alves <palves@redhat.com>
4720
4721 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4722 ("expression with namespace"): New set of tests.
4723 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4724 (Nested::Test_NS::qux): New.
4725 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4726 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4727
9937536c
JB
47282017-12-13 Joel Brobecker <brobecker@adacore.com>
4729
4730 * gdb.base/server-del-break.c: New file.
4731 * gdb.base/server-del-break.exp: New file.
4732
fe49c6f5
SH
47332017-12-12 Stafford Horne <shorne@gmail.com>
4734
4735 * gdb.xml/tdesc-regs.exp: Add or1k support.
4736
c3d18620
SH
47372017-12-12 Stafford Horne <shorne@gmail.com>
4738
4739 * gdb.base/bp-permanent.c: Define nop of or1k.
4740
c5f9cfc8
JB
47412017-12-11 Joel Brobecker <brobecker@adacore.com>
4742
4743 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4744 output with components being reordered.
4745
a9c135fc
JB
47462017-12-11 Joel Brobecker <brobecker@adacore.com>
4747
4748 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4749 output with components being reordered.
4750
927aa2e7
JK
47512017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4752 Pedro Alves <palves@redhat.com>
4753
4754 * gdb.base/maint.exp (check for .gdb_index): Check also for
4755 .debug_names.
4756 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4757 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4758 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4759 (.gdb_index used after symbol reloading): Support also .debug_names.
4760 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4761
f17d9474
YQ
47622017-12-08 Yao Qi <yao.qi@linaro.org>
4763
4764 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4765 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4766
a0de8c21
YQ
47672017-12-08 Yao Qi <yao.qi@linaro.org>
4768
4769 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4770 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4771
a738ea1d
YQ
47722017-12-08 Yao Qi <yao.qi@linaro.org>
4773
4774 * gdb.arch/aarch64-tagged-pointer.c: New file.
4775 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4776
1cd9a73b
SDJ
47772017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4778
4779 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4780 "int".
4781
fa6eb693
KS
47822017-12-07 Keith Seitz <keiths@redhat.com>
4783
4784 PR breakpoints/22569
4785 * gdb.linespec/ls-errs.exp: Change expected result of "break
4786 -source this file has spaces.c -line 3".
4787 Check that an explicit source file followed by whitespace is
4788 identified as an invalid explicit location.
4789
883fd55a
KS
47902017-12-07 Keith Seitz <keiths@redhat.com>
4791
4792 * gdb.cp/nested-types.cc: New file.
4793 * gdb.cp/nested-types.exp: New file.
4794 * lib/cp-support.exp: Load data-structures.exp library.
4795 (debug_cp_test_ptype_class): New global.
4796 (cp_ptype_class_verbose, next_line): New procedures.
4797 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4798 Add and document new return value.
4799 Switch the list of lines to a queue.
4800 Add support for new `type' key for nested type definitions.
4801 Add debugging/troubleshooting messages.
4802 * lib/data-structures.exp: New file.
4803
ec72db3e
SM
48042017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4805
4806 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4807 with proc_with_prefix, don't use with_test_prefix.
4808
99598d71
TT
48092017-12-07 Tom Tromey <tom@tromey.com>
4810
4811 * gdb.base/break.exp: Add test for empty "commands".
4812
a8806230
YQ
48132017-12-07 Yao Qi <yao.qi@linaro.org>
4814
4815 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4816 malloc and catch syscall.
4817
824cc835
PM
48182017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4819
e79be6e5 4820 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
4821 tests for explicit locations.
4822
7cc244de
PA
48232017-12-06 Pedro Alves <palves@redhat.com>
4824
4825 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4826 force-disabling XML descriptions.
4827
50a1fdd5
PA
48282017-12-04 Pedro Alves <palves@redhat.com>
4829
4830 PR gdb/22499
4831 * gdb.arch/amd64-disp-step-avx.S: New file.
4832 * gdb.arch/amd64-disp-step-avx.exp: New file.
4833
f0fb2488
PA
48342017-12-03 Pedro Alves <palves@redhat.com>
4835
4836 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4837 and <string.h>.
4838 (parent_function): Print distinct messages when waitpid fails, or
4839 the child exits with a signal, or the child exits for an unhandled
4840 reason.
4841 * gdb.threads/process-dies-while-detaching.exp
4842 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4843 it. Wait for both inferior output and GDB's prompt. Use an
4844 indirect spawn id list.
4845 (do_detach): New parameter 'child_exit'. Use it to compute
4846 expected inferior output.
4847 (test_detach, test_detach_watch, test_detach_killed_outside):
4848 Adjust to pass down the expected child exit kind.
4849
97cbe998
SDJ
48502017-12-01 Joel Brobecker <brobecker@adacore.com>
4851 Sergio Durigan Junior <sergiodj@redhat.com>
4852 Pedro Alves <palves@redhat.com>
4853
4854 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4855
40fc416f
SDJ
48562017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4857
4858 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4859 to 'symbol-file' and 'add-symbol-file' can be
4860 position-independent.
4861
1cc75e92
YQ
48622017-12-01 Yao Qi <yao.qi@linaro.org>
4863
4864 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4865 the URL in copyright header.
4866 * gdb.arch/aarch64-fp.exp: Likewise.
4867 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4868 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4869 * gdb.base/expand-psymtabs.exp: Likewise.
4870 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4871 * gdb.fortran/common-block.exp: Likewise.
4872 * gdb.fortran/common-block.f90: Likewise.
4873 * gdb.fortran/logical.exp: Likewise.
4874 * gdb.fortran/vla-datatypes.f90: Likewise.
4875 * gdb.fortran/vla-sub.f90: Likewise.
4876
875fb7a7
JB
48772017-11-30 Joel Brobecker <brobecker@adacore.com>
4878
4879 * gdb.ada/repeat_dyn: New testcase.
4880
6f14765f
UW
48812017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4882
4883 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4884 Update for changed thread numbering.
4885 * gdb.cell/bt.exp: Update for changed GDB output.
4886
f1af7b94
SM
48872017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4888
4889 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4890 setting isremote by hand.
4891 * boards/dwarf4-gdb-index.exp: Likewise.
4892 * boards/fission.exp: Likewise.
4893 * boards/stabs.exp: Likewise.
4894
e3919f3e
PA
48952017-11-30 Pedro Alves <palves@redhat.com>
4896
4897 * gdb.linespec/cpls-ops.exp
4898 (check_explicit_skips_function_argument): Extract the underlying
4899 type of size_t instead of hardcoding it.
4900
bd69330d
PA
49012017-11-29 Pedro Alves <palves@redhat.com>
4902
4903 PR c++/19436
4904 * gdb.linespec/cpls-abi-tag.cc: New file.
4905 * gdb.linespec/cpls-abi-tag.exp: New file.
4906
a20714ff
PA
49072017-11-29 Pedro Alves <palves@redhat.com>
4908
4909 * gdb.base/langs.exp: Use -qualified.
4910 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4911 it.
4912 * gdb.cp/namespace.exp: Use -qualified.
4913 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4914 (overload-3, template-overload, template-ret-type, const-overload)
4915 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4916 procedures.
4917 (test_driver): Call them.
4918 * gdb.cp/save-bp-qualified.cc: New.
4919 * gdb.cp/save-bp-qualified.exp: New.
4920 * gdb.linespec/explicit.exp: Test -qualified.
4921 * lib/completion-support.exp (completion::explicit_opts_list): Add
4922 "-qualified".
4923 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4924
f6f1d339
PM
49252017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4926
4927 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4928
02ca603a
TT
49292017-11-29 Tom Tromey <tom@tromey.com>
4930
4931 * gdb.base/relocate.exp: Update invalid argument test.
4932 Add new tests for invalid arguments.
4933
ed6c0bfb
TP
49342017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4935
4936 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4937 Return 0 as a long.
4938 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4939
f106e10e
TP
49402017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4941
4942 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4943 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4944 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4945 func ().
4946 * gdb.cp/shadow.cc (B.func): Return 0.
4947
10329bb2
JB
49482017-11-27 Joel Brobecker <brobecker@adacore.com>
4949
4950 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4951 expected output in gdb_expect call to allow the exception
4952 message to be present as well. Fix syntax confusion to avoid
4953 TCL thinking that exception_name is an array.
4954
617cd4bc
UW
49552017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4956
4957 * gdb.arch/spu-info.c: Include <unistd.h>.
4958 (do_signal_test): Fix broken calls to write.
4959 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4960 Fix checks for empty mailboxes. Update signal tests for corrected
4961 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
4962 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4963 * gdb.cell/arch.exp: Use standard_output_file.
4964 * gdb.cell/break.exp: Likewise.
4965 * gdb.cell/bt.exp: Likewise.
4966 * gdb.cell/core.exp: Likewise.
4967 * gdb.cell/dwarfaddr.exp: Likewise.
4968 * gdb.cell/ea-cache.exp: Likewise.
4969 * gdb.cell/ea-standalone.exp: Likewise.
4970 * gdb.cell/f-regs.exp: Likewise.
4971 * gdb.cell/fork.exp: Likewise.
4972 * gdb.cell/gcore.exp: Likewise.
4973 * gdb.cell/mem-access.exp: Likewise.
4974 * gdb.cell/ptype.exp: Likewise.
4975 * gdb.cell/registers.exp: Likewise.
4976 * gdb.cell/sizeof.exp: Likewise.
4977 * gdb.cell/solib-symbol.exp: Likewise.
4978 * gdb.cell/solib.exp: Likewise.
617cd4bc 4979
a81aaca0
PA
49802017-11-25 Pedro Alves <palves@redhat.com>
4981
4982 * gdb.base/complete-empty.exp: New file.
4983 * gdb.base/completion.exp: Adjust.
4984
6a3c6ee4
PA
49852017-11-25 Pedro Alves <palves@redhat.com>
4986
4987 * gdb.linespec/cpls-ops.cc: New file.
4988 * gdb.linespec/cpls-ops.exp: New file.
4989 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4990 factored out from ...
4991 (test_complete_prefix_range): ... this.
4992
8955eb2d
PA
49932017-11-24 Pedro Alves <palves@redhat.com>
4994
4995 * gdb.linespec/cpcompletion.exp: New file.
4996 * gdb.linespec/cpls-hyphen.cc: New file.
4997 * gdb.linespec/cpls.cc: New file.
4998 * gdb.linespec/cpls2.cc: New file.
4999 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5000 test to use test_gdb_complete_unique. Add label completion,
5001 keyword completion and explicit location completion tests.
5002 * lib/completion-support.exp: New file.
5003
e547c119
JB
50042017-11-24 Joel Brobecker <brobecker@adacore.com>
5005
5006 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5007 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5008 when hitting an exception catchpoint.
5009
7c3c1aa8
YQ
50102017-11-22 Yao Qi <yao.qi@linaro.org>
5011
5012 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5013
41bd68f5
SM
50142017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5015
5016 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5017 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5018 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5019
1daad298
YQ
50202017-11-22 Yao Qi <yao.qi@linaro.org>
5021
5022 * gdb.base/info-os.exp: Pass pthreads.
5023 * gdb.multi/multi-attach.exp: Likewise.
5024
88465e87
YQ
50252017-11-22 Yao Qi <yao.qi@linaro.org>
5026
5027 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5028 compiler.
5029
dc196b23
YQ
50302017-11-22 Yao Qi <yao.qi@linaro.org>
5031
5032 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5033 * gdb.base/break-interp.exp: Likewise.
5034 * gdb.base/jit-attach-pie.exp: Likewise.
5035
2400729e
UW
50362017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5037
5038 * gdb.base/float128.c (large128): New variable.
5039 * gdb.base/float128.exp: Add test to print largest __float128 value.
5040
7a26362d
UW
50412017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5042
5043 * gdb.arch/vsx-regs.exp: Update register content checks.
5044
ed0f4273
UW
50452017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5046
5047 * gdb.arch/ppc-longdouble.exp: New file.
5048 * gdb.arch/ppc-longdouble.c: Likewise.
5049
a25d69c6
PA
50502017-11-21 Pedro Alves <palves@redhat.com>
5051
5052 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5053
73fcf641
PA
50542017-11-20 Pedro Alves <palves@redhat.com>
5055
5056 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5057 (long_double_typedef): New typedefs.
5058 Use DEF on double and long double.
5059 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5060 cases.
5061 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5062 and 'long_double_ptr_same_size' locals. Use them to decide
5063 whether cast from array/function to float is valid/invalid.
5064
71a3c369
TT
50652017-11-17 Tom Tromey <tom@tromey.com>
5066
5067 * gdb.rust/traits.rs: New file.
5068 * gdb.rust/traits.exp: New file.
5069
ced9779b
JB
50702017-11-17 Joel Brobecker <brobecker@adacore.com>
5071
5072 * gdb.ada/minsyms: New testcase.
5073
a0922d80
PA
50742017-11-16 Pedro Alves <palves@redhat.com>
5075
5076 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5077 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5078
ea04e54c
PA
50792017-11-16 Pedro Alves <palves@redhat.com>
5080
5081 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5082 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5083
e849ea89
PA
50842017-11-16 Pedro Alves <palves@redhat.com>
5085
5086 * gdb.server/reconnect-ctrl-c.c: New file.
5087 * gdb.server/reconnect-ctrl-c.exp: New file.
5088
d8ae99a7
PM
50892017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5090
5091 * gdb.python/py-rbreak.exp: New file.
5092 * gdb.python/py-rbreak.c: New file.
5093 * gdb.python/py-rbreak-func2.c: New file.
5094
968a13f8
PA
50952017-11-16 Pedro Alves <palves@redhat.com>
5096
5097 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5098 pattern.
5099 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5100 GDB.
5101
71774bc9
SM
51022017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5103
5104 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5105 regex.
5106
ddbb44cf
SM
51072017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5108
5109 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5110 test names.
5111
584a564f
PA
51122017-11-09 Pedro Alves <palves@redhat.com>
5113
5114 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5115 factored out from ...
5116 (top level): ... here, and adjusted to avoid expecting beyond the
5117 prompt in a single gdb_test_multiple.
5118
5ed7a928
PA
51192017-11-09 Pedro Alves <palves@redhat.com>
5120
5121 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5122 output.
5123 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5124 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5125 * gdb.server/ext-run.exp ("kill" test): Likewise.
5126 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5127
a60e0738
PA
51282017-11-09 Pedro Alves <palves@redhat.com>
5129
5130 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5131 match till end of line.
5132
2c88253f
PA
51332017-11-09 Pedro Alves <palves@redhat.com>
5134
5135 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5136
c7a38517
PA
51372017-11-09 Pedro Alves <palves@redhat.com>
5138
5139 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5140 New procedures, factored out from ...
5141 (top level): ... here, and adjusted to avoid expecting beyond the
5142 prompt in one go.
5143
f29f4b6b
PA
51442017-11-09 Pedro Alves <palves@redhat.com>
5145
5146 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5147 output. Fix '?' match.
5148
286acbb5
JB
51492017-11-08 Joel Brobecker <brobecker@adacore.com>
5150
5151 * gdb.ada/scoped_watch: New testcase.
5152 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5153 which is actually correct.
5154 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5155 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5156
62d7ae92
PA
51572017-11-08 Pedro Alves <palves@redhat.com>
5158
5159 * gdb.gdb/complaints.exp (test_initial_complaints)
5160 (test_serial_complaints, test_short_complaints): Call
5161 complaint_internal instead of complaint.
5162
280ca31f
DT
51632017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5164
5165 * gdb.threads/tls-core.c: New file.
5166 * gdb.threads/tls-core.exp: Likewise.
5167
b5ec771e
PA
51682017-11-08 Pedro Alves <palves@redhat.com>
5169
5170 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5171 (p Exported_Capitalized): New test.
5172 (p exported_capitalized): New test.
5173
a02b41a7
PA
51742017-11-07 Pedro Alves <palves@redhat.com>
5175
5176 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5177
95e95a6d
PA
51782017-11-07 Pedro Alves <palves@redhat.com>
5179
5180 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5181 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5182 (disable_invalid, disable_inverted, disable_negative): New
5183 procedures.
5184 ("bad numbers"): New set of tests.
5185
cee62dbd
PA
51862017-11-07 Pedro Alves <palves@redhat.com>
5187
5188 * gdb.cp/ena-dis-br-range.exp: Add tests.
5189
cc638e86
PA
51902017-11-07 Pedro Alves <palves@redhat.com>
5191
5192 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5193
d0fe4701
XR
51942017-11-07 Xavier Roirand <roirand@adacore.com>
5195 Pedro Alves <palves@redhat.com>
5196
5197 * gdb.base/ena-dis-br.exp: Add reference to
5198 gdb.cp/ena-dis-br-range.exp.
5199 * gdb.cp/ena-dis-br-range.exp: New file.
5200 * gdb.cp/ena-dis-br-range.cc: New file.
5201
46f67f80
PA
52022017-11-06 Pedro Alves <palves@redhat.com>
5203
5204 * gdb.base/attach-non-pgrp-leader.c: New.
5205 * gdb.base/attach-non-pgrp-leader.exp: New.
5206
726e1356
PA
52072017-11-06 Pedro Alves <palves@redhat.com>
5208
5209 * configure.ac: No longer check for termio.h and sgtty.h.
5210 * configure: Regenerate.
5211 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5212 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5213 Remove termio and sgtty code.
5214
50ab6ace
YQ
52152017-11-03 Yao Qi <yao.qi@linaro.org>
5216
5217 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5218 in GDB is disabled.
5219
8e68731c
YQ
52202017-11-03 Yao Qi <yao.qi@linaro.org>
5221
5222 * gdb.python/py-thrhandle.exp: Skip it if python is not
5223 enabled.
5224
3a87ae65
SM
52252017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5226
5227 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5228 as a breakpoint command.
5229
484d8d36
MD
52302017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5231
5232 PR python/21213
5233 * gdb.python/py-infthread.exp: Test calling
5234 InferiorThread.inferior () multiple times in a row.
5235
4a27f119
KS
52362017-10-27 Keith Seitz <keiths@redhat.com>
5237
5238 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5239 Test "info break" for every inlined function breakpoint.
5240
bb11dd58
YQ
52412017-10-27 Yao Qi <yao.qi@linaro.org>
5242
5243 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5244
a43f3893
PF
52452017-10-26 Patrick Frants <osscontribute@gmail.com>
5246
5247 * gdb.cp/classes.exp (test_static_members): Test printing
5248 Outer::instance.
5249 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5250 (Inner::instance, Outer::instance): New.
5251
792ccf00
PA
52522017-10-24 Pedro Alves <palves@redhat.com>
5253
5254 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5255 extra console" test in two stages.
5256
eb2bfbad
PA
52572017-10-24 Pedro Alves <palves@redhat.com>
5258
5259 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5260
1f75a651
PA
52612017-10-24 Pedro Alves <palves@redhat.com>
5262
5263 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5264 loop.
5265
779990d9
PA
52662017-10-24 Pedro Alves <palves@redhat.com>
5267
5268 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5269 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5270
ad9b8f5d
PA
52712017-10-24 Pedro Alves <palves@redhat.com>
5272
5273 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5274 parameter and handle it. Don't output read value in test name.
5275
fee6da6e
PA
52762017-10-24 Pedro Alves <palves@redhat.com>
5277
5278 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5279 custom test name.
5280
10389c2c
PA
52812017-10-24 Pedro Alves <palves@redhat.com>
5282
5283 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5284 include the unstable output directory name in the test's name.
5285 (initial_setup_simple) <'set args'>: Use custom test name.
5286
a80e65a9
PA
52872017-10-24 Pedro Alves <palves@redhat.com>
5288
5289 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5290 with explicit test name.
5291
15763a09
PA
52922017-10-20 Pedro Alves <palves@redhat.com>
5293
5294 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5295 'wait -i'. Use gdb_assert and remote_close.
5296
49a4ce2e
AB
52972017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5298
5299 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5300 number from variable rather than hard-coded.
5301
a75868f5
PA
53022017-10-19 Pedro Alves <palves@redhat.com>
5303
5304 * gdb.base/long-inferior-output.c: New file.
5305 * gdb.base/long-inferior-output.exp: New file.
5306
c8ba13ad
KS
53072017-11-18 Keith Seitz <keiths@redhat.com>
5308
5309 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5310 method.
5311 (main): Call it.
5312 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5313 Add additional user-defined conversion operator tests.
5314
b27de576
PA
53152017-10-17 Pedro Alves <palves@redhat.com>
5316
5317 * boards/native-stdio-gdbserver.exp: Load "local-board".
5318
8484c955
PA
53192017-10-17 Pedro Alves <palves@redhat.com>
5320
5321 * gdb.base/quit-live.c: New file.
5322 * gdb.base/quit-live.exp: New file.
5323
83d5a34d
KS
53242017-10-16 Keith Seitz <keiths@redhat.com>
5325
5326 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5327 (class_with_protected_typedef, class_with_private_typedef)
5328 (struct_with_public_typedef, struct_with_protected_typedef)
5329 (struct_with_private_typedef): New classes/structs.
5330 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5331 typedefs and access specifiers.
5332
739b3f1d
PA
53332017-10-16 Pedro Alves <palves@redhat.com>
5334 Simon Marchi <simon.marchi@polymtl.ca>
5335
5336 * README (Local vs Remote vs Native): New section.
5337 * boards/local-board.exp: New file, with bits factored out from
5338 ...
5339 * boards/native-extended-gdbserver.exp: ... here. Load
5340 "local-board".
5341 * boards/native-gdbserver.exp: Load "local-board".
5342 (${board}_spawn, ${board}_exec): Delete.
5343 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5344 ...
5345 * boards/stdio-gdbserver-base.exp: ... this new file.
5346 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5347 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5348 procedure.
5349 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5350 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5351 stdio_gdbserver_command.
5352 (${board}_get_remote_address, ${board}_get_comm_port)
5353 (${board}_download, ${board}_upload): Delete.
5354 (get_target_remote_pipe_cmd): New.
5355
fe68b953
SM
53562017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5357
5358 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5359 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5360 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5361 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5362 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5363 remove with_test_prefix.
5364
300b6685
PA
53652017-10-13 Pedro Alves <palves@redhat.com>
5366
5367 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5368 * gdb.base/annota1.exp: Use it instead of is_remote.
5369 * gdb.base/annota3.exp: Use it instead of is_remote.
5370 * gdb.cp/annota2.exp: Use it instead of is_remote.
5371 * gdb.cp/annota3.exp: Use it instead of is_remote.
5372 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5373
50500caf
PA
53742017-10-13 Pedro Alves <palves@redhat.com>
5375
5376 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5377 (test_num_test_vars, run_and_count_vars, find_env)
5378 (test_set_unset_env, test_inherit_env_var): New procedures.
5379 (top level): Use them.
5380
dad0c6d2
PA
53812017-10-13 Pedro Alves <palves@redhat.com>
5382
5383 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5384 also skip on stub-like targets.
5385
8b0553c1
PA
53862017-10-13 Pedro Alves <palves@redhat.com>
5387
5388 PR gdb/22293
5389 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5390 (top level): Move some tests to ...
5391 (test_not_found): ... this new procedure.
5392 (top level): Call it.
5393
7594f623
PA
53942017-10-13 Pedro Alves <palves@redhat.com>
5395
5396 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5397 expect different "info terminal" output if testing with a
5398 non-native target.
5399
ebe3b402
PA
54002017-10-13 Pedro Alves <palves@redhat.com>
5401 Simon Marchi <simon.marchi@polymtl.ca>
5402
5403 PR python/12966
5404 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5405
42f1b161
PA
54062017-10-13 Pedro Alves <palves@redhat.com>
5407
5408 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5409 already.
5410
8d6ef72b
PA
54112017-10-13 Pedro Alves <palves@redhat.com>
5412
5413 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5414 is_remote.
5415
d7bcd5b8
PA
54162017-10-13 Pedro Alves <palves@redhat.com>
5417
5418 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5419 is_remote.
5420
df479dc6
PA
54212017-10-13 Pedro Alves <palves@redhat.com>
5422
5423 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5424 is set.
5425 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5426 instead of is_remote.
5427
23fb630a
PA
54282017-10-13 Pedro Alves <palves@redhat.com>
5429
5430 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5431 (top level): Add comment.
5432
cc77b1dc
PA
54332017-10-13 Pedro Alves <palves@redhat.com>
5434
5435 * gdb.base/remote.exp (top level): Fix comment typo and add
5436 missing return.
5437
27c9e813
PA
54382017-10-13 Pedro Alves <palves@redhat.com>
5439 Simon Marchi <simon.marchi@polymtl.ca>
5440
5441 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5442 calls and add comments. Skip test if use_gdb_stub is set.
5443 (top level): Use "set cwd" command instead of "cd" command.
5444
5e830d98
PA
54452017-10-13 Pedro Alves <palves@redhat.com>
5446
5447 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5448 is_remote target check.
5449
f5ca0032
PA
54502017-10-13 Pedro Alves <palves@redhat.com>
5451
5452 * gdb.base/scope.exp: Use build_executable + clean_restart +
5453 gdb_file_cmd instead of prepare_for_testing and no longer skip
5454 "before run" tests on is_remote target boards. Update comments.
5455 * boards/native-extended-gdbserver.exp
5456 (extended_gdbserver_load_last_file): New, factored out from ...
5457 (gdb_load): ... this. Move further below and add comment.
5458 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5459
8aed1c0d
PA
54602017-10-12 Pedro Alves <palves@redhat.com>
5461
5462 * gdb.base/attach.exp: Remove references to gdb64.
5463 * gdb.base/dbx.exp: Remove references to gdb64.
5464
cfa34c87
SM
54652017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5466 Pedro Alves <palves@redhat.com>
5467
5468 * gdb.base/label.exp: Remove is_remote target check.
5469
9192b7de
PA
54702017-10-12 Pedro Alves <palves@redhat.com>
5471
5472 * gdb.base/auvx.exp (coredir): Update comment.
5473 (top level) <core_works>: Use "set cwd" command instead of "cd"
5474 command.
5475
6bf0052d
PA
54762017-10-12 Pedro Alves <palves@redhat.com>
5477 Simon Marchi <simon.marchi@polymtl.ca>
5478
5479 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5480 target boards.
5481
e48ef82d
PA
54822017-10-12 Pedro Alves <palves@redhat.com>
5483 Simon Marchi <simon.marchi@polymtl.ca>
5484
5485 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5486 Instead skip if there's any gdb_protocol set.
5487
8d7aea57
SM
54882017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5489 Pedro Alves <palves@redhat.com>
5490
5491 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5492
30440677
PA
54932017-10-12 Pedro Alves <palves@redhat.com>
5494 Simon Marchi <simon.marchi@polymtl.ca>
5495
5496 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5497 instead of on dejagnu remote boards.
5498
4e04f045 54992017-10-12 Pedro Alves <palves@redhat.com>
175654b9 5500 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
5501
5502 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5503 checks. Use build_executable + clean_restart instead of
5504 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5505 of enabling non-stop after starting gdb.
5506
871a186e
PA
55072017-10-12 Pedro Alves <palves@redhat.com>
5508
5509 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5510 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5511 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5512 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5513
56d704da
AK
55142017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5515
5516 * gdb.arch/arc-tdesc-cpu.exp: New file.
5517 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5518
2f20e312
SM
55192017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5520
5521 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5522
65630365
PA
55232017-10-10 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5526 expect CLI output.
5527
bf469271
PA
55282017-10-10 Pedro Alves <palves@redhat.com>
5529
5530 * lib/selftest-support.exp (selftest_setup): Update for
5531 captured_command_loop's prototype change.
5532
777a42f1
PA
55332017-10-09 Pedro Alves <palves@redhat.com>
5534
5535 Test both arch1=>arch2 and arch2=>arch1.
5536
5537 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5538 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5539 factored out to...
5540 (append_arch1_options, append_arch2_options, append_arch_options)
5541 (build_executables): New procedures.
5542 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5543 local.
5544 (top level): Add new 'first_arch' testing axis.
5545
cbd2b4e3
PA
55462017-10-09 Pedro Alves <palves@redhat.com>
5547
5548 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5549 (barrier): New.
5550 (thread_start, all_started): New functions.
5551 (main): Spawn new thread and wait until it is scheduled.
5552 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5553 option.
5554 (do_test): Add 'selected_thread' parameter. Run to all_started
5555 instead of main. Explicitly set the breakpoint at main. Switch
5556 to the SELECTED_THREAD thread.
5557 (top level): Test handling the exec event with either the main
5558 thread or the second thread selected.
5559
5c9e4427
PA
55602017-10-09 Pedro Alves <palves@redhat.com>
5561
5562 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5563 logic. Move STOP marker after the value checks.
5564 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5565 regexp.
5566
b3b7c423
SL
55672017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5568
5569 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5570
3b4b2f16
UW
55712017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5572
5573 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5574 integer-to-dfp conversion.
5575 * gdb.base/dfp-test.exp: Likewise.
5576
5cd63fda
PA
55772017-10-04 Pedro Alves <palves@redhat.com>
5578
5579 * gdb.multi/hangout.c: Include <unistd.h>.
5580 (hangout_loop): New function.
5581 (main): Call alarm. Call hangout_loop in a loop.
5582 * gdb.multi/hello.c: Include <unistd.h>.
5583 (hello_loop): New function.
5584 (main): Call alarm. Call hangout_loop in a loop.
5585 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5586 inferior with the other selected.
5587
4c71c105
SM
55882017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5589
5590 * gdb.mi/list-thread-groups-available.exp: New file.
5591 * gdb.mi/list-thread-groups-available.c: New file.
5592
bc3b087d
SDJ
55932017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5594
5595 * gdb.base/set-cwd.exp: Make it available on
5596 native-extended-gdbserver.
5597
d092c5a2
SDJ
55982017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5599
5600 * gdb.base/set-cwd.c: New file.
5601 * gdb.base/set-cwd.exp: Likewise.
5602
45320ffa
TT
56032017-10-02 Tom Tromey <tom@tromey.com>
5604
5605 PR rust/22236:
5606 * gdb.rust/simple.rs (main): New variable "fslice".
5607 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5608
b3e3859b
TT
56092017-10-02 Tom Tromey <tom@tromey.com>
5610
5611 * gdb.rust/simple.exp: Test ptype of a slice.
5612
01af5e0d
TT
56132017-10-02 Tom Tromey <tom@tromey.com>
5614
5615 * gdb.rust/simple.exp: Test index of slice.
5616
a9bbfbd8
TT
56172017-09-27 Tom Tromey <tom@tromey.com>
5618
5619 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5620
df8899e5
TP
56212017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5622 Pedro Alves <palves@redhat.com>
5623
5624 * gdb.base/compare-sections.exp (get value of read-only section): Read
5625 as unsigned value.
5626 (corrupt read-only section): Likewise and don't set written if patching
5627 failed.
5628
757bf54b
KB
56292017-09-21 Kevin Buettner <kevinb@redhat.com>
5630
5631 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5632 files.
5633
06871ae8
PA
56342017-09-20 Pedro Alves <palves@redhat.com>
5635
5636 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5637 symbol names in gdb's output.
5638 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5639
e5f25bc5
PA
56402017-09-20 Pedro Alves <palves@redhat.com>
5641
5642 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5643 Rename to ...
5644 (test_list_ambiguous_symbol): ... this and add a symbol name
5645 parameter. Adjust.
5646 (test_list_ambiguous_function): Reimplement on top of
5647 test_list_ambiguous_symbol and also test listing ambiguous
5648 variables.
5649 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5650 (ambiguous_fun): ... this.
5651 (ambiguous_var): New.
5652 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5653 (ambiguous_fun): ... this.
5654 (ambiguous_var): New.
5655
4e5a4f58
JB
56562017-09-19 John Baldwin <jhb@FreeBSD.org>
5657
5658 * gdb.base/starti.c: New file.
5659 * gdb.base/starti.exp: New file.
5660 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5661
26e53f3e
PA
56622017-09-14 Pedro Alves <palves@redhat.com>
5663
5664 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5665 (top level): Use it instead of runto.
5666
cb791d59
TT
56672017-09-11 Tom Tromey <tom@tromey.com>
5668
5669 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5670
7c96f8c1
TT
56712017-09-11 Tom Tromey <tom@tromey.com>
5672
5673 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5674 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5675
469412dd
CW
56762017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5677
5678 * gdb.fortran/printing-types.exp: New file.
5679 * gdb.fortran/printing-types.exp: New file.
5680
e0f86435
BH
56812017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5682
5683 * gdb.fortran/vla-ptype.exp: Fix typos.
5684 * gdb.fortran/vla-value.exp: Same.
5685
9e9af4be
BH
56862017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5687
5688 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5689 * gdb.mi/mi-var-child-f.exp: Likewise.
5690 * gdb.mi/mi-vla-fortran.exp: Likewise.
5691
a5ad232b 56922017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
5693 Christoph Weinmann <christoph.t.weinmann@intel.com>
5694 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
5695
5696 * gdb.fortran/ptr-indentation.f90: New file.
5697 * gdb.fortran/ptr-indentation.exp: New file.
5698
5aec60eb
TT
56992017-09-05 Tom Tromey <tom@tromey.com>
5700
5701 PR gdb/22010:
5702 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5703
8f8f8152
TP
57042017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5705
5706 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5707
fbd1b771
JK
57082017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5709
5710 * gdb.threads/tls-nodebug-pie.c: New file.
5711 * gdb.threads/tls-nodebug-pie.exp: New file.
5712
5eb5f850
TT
57132017-09-05 Tom Tromey <tom@tromey.com>
5714
5715 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5716 for rust.
5717
ae780a21
SM
57182017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5719
5720 * gdb.multi/multi-arch-exec.exp: Test with different
5721 "follow-exec-mode" settings.
5722 (do_test): New procedure.
5723
3693fdb3
PA
57242017-09-04 Pedro Alves <palves@redhat.com>
5725
5726 * gdb.base/func-static.c (S::method const, S::method volatile)
5727 (S::method volatile const): New methods.
5728 (c_s, v_s, cv_s): New instances.
5729 (main): Call method() on them.
5730 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5731 (cannot_resolve): New procedure.
5732 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5733 print-quote-unquoted columns.
5734 (do_test): Test printing each scope too.
5735
e68cb8e0
PA
57362017-09-04 Pedro Alves <palves@redhat.com>
5737
5738 * gdb.base/local-static.exp: Also test with
5739 class::method::variable wholly quoted.
5740 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5741
858be34c
PA
57422017-09-04 Pedro Alves <palves@redhat.com>
5743
5744 * gdb.base/local-static.c: New.
5745 * gdb.base/local-static.cc: New.
5746 * gdb.base/local-static.exp: New.
5747
46a4882b
PA
57482017-09-04 Pedro Alves <palves@redhat.com>
5749
5750 * gdb.asm/asm-source.exp: Add casts to int.
5751 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5752 (dataglobal64_1, dataglobal64_2): New globals.
5753 * gdb.base/nodebug.exp: Test different expressions involving the
5754 new globals, with print, whatis and ptype. Add casts to int.
5755 * gdb.base/solib-display.exp: Add casts to int.
5756 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5757 * gdb.cp/m-static.exp: Add cast to int.
5758 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5759 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5760 tls variable with no debug info without a cast. Test with a cast
5761 to int too.
5762 * gdb.trace/entry-values.exp: Add casts.
5763
2c5a2be1
PA
57642017-09-04 Pedro Alves <palves@redhat.com>
5765
5766 * gdb.base/nodebug.exp: Test that ptype's error about functions
5767 with unknown return type includes the function name too.
5768
7022349d
PA
57692017-09-04 Pedro Alves <palves@redhat.com>
5770
5771 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5772 return type of munmap in infcall.
5773 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5774 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5775 type of ftell in infcall.
5776 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5777 type of getpid in infcall.
5778 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5779 infcall.
5780 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5781 Bail on failure to extract the pid.
5782 * gdb.base/nodebug.c: #include <stdint.h>.
5783 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5784 New functions.
5785 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5786 Change expected output of print/whatis/ptype with functions with
5787 no debug info. Test all supported languages. Call
5788 test_call_promotion.
5789 * gdb.compile/compile.exp: Adjust expected output to expect
5790 warning.
5791 * gdb.threads/siginfo-threads.exp: Likewise.
5792
54990598
PA
57932017-09-04 Pedro Alves <palves@redhat.com>
5794
5795 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5796 "prototypes". Test calling float functions via prototyped and
5797 unprototyped function pointers.
5798 (perform_all_tests): New parameter "prototypes". Pass it down.
5799 (top level): Pass down "prototypes" parameter to
5800 perform_all_tests.
5801
34d16ea2
SM
58022017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5803
5804 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5805 Test with nested loops.
5806
9521ecda
SM
58072017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5808
5809 * gdb.base/commands.exp: Call the new procedures.
5810 (loop_break_test, loop_continue_test): New procedures.
5811
80a65e9b
SM
58122017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5813
5814 * gdb.base/commands.exp: Call new procedure.
5815 (define_if_without_arg_test): New procedure.
5816
e439fa14
PA
58172017-09-04 Pedro Alves <palves@redhat.com>
5818
5819 * gdb.base/list-ambiguous.exp: New file.
5820 * gdb.base/list-ambiguous0.c: New file.
5821 * gdb.base/list-ambiguous1.c: New file.
5822 * gdb.base/list.exp (test_list_range): Adjust expected output.
5823
0a2dde4a
SDJ
58242017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5825
5826 * gdb.base/share-env-with-gdbserver.c: New file.
5827 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5828
5e89eb3a
SM
58292017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5830
5831 * gdb.base/commands.exp (gdbvar_simple_if_test,
5832 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5833 progvar_simple_if_test, progvar_simple_while_test,
5834 progvar_complex_if_while_test, user_defined_command_test,
5835 user_defined_command_args_eval,
5836 user_defined_command_args_stack_test,
5837 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5838 temporary_breakpoint_commands,
5839 gdb_test_no_prompt, redefine_hook_test,
5840 redefine_backtrace_test): Remove "global gdb_prompt".
5841
fd437cbc
SM
58422017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5843
5844 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5845 New proc, call it from toplevel.
5846
87215ad1
SDJ
58472017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5848
5849 PR remote/21852
5850 * gdb.server/normal.c: New file, copied from gdb.base.
5851 * gdb.server/run-without-local-binary.exp: New file.
5852
58afddc6
WP
58532017-08-07 Weimin Pan <weimin.pan@oracle.com>
5854
5855 * gdb.arch/sparc64-adi.exp: New file.
5856 * gdb.arch/sparc64-adi.c: New file.
5857
5277199a
PA
58582017-08-22 Pedro Alves <palves@redhat.com>
5859
5860 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5861 (top level): Add "list all overloads" tests.
5862
14278e1f
TT
58632017-08-22 Tom Tromey <tom@tromey.com>
5864
5865 * gdb.gdb/xfullpath.exp: Remove.
5866
bf223d3e
PA
58672017-08-21 Pedro Alves <palves@redhat.com>
5868
5869 PR gdb/19487
5870 * gdb.base/symbol-alias.c: New.
5871 * gdb.base/symbol-alias2.c: New.
5872 * gdb.base/symbol-alias.exp: New.
5873
c973d0aa
PA
58742017-08-21 Pedro Alves <palves@redhat.com>
5875
5876 * gdb.base/dfp-test.c
5877 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5878 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5879 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5880 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5881 * gdb.base/whatis-ptype-typedefs.c: New.
5882 * gdb.base/whatis-ptype-typedefs.exp: New.
5883 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5884 (an_int, an_int_type, an_int_type2): New globals.
5885 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5886 involving typedefs and cast expressions.
5887 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5888 (lookup_typedefs_function): New.
5889 (typedefs_pretty_printers_dict): New.
5890 (top level): Register lookup_typedefs_function in
5891 gdb.pretty_printers.
5892
6d580b63
YQ
58932017-08-18 Yao Qi <yao.qi@linaro.org>
5894
5895 * gdb.server/unittest.exp: New.
5896
206726fb
SDJ
58972017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5898
5899 PR gdb/21954
5900 * gdb.base/environ.exp: Add test to check if 'unset environment'
5901 works.
5902
bf0ec4c2
AA
59032017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5904
5905 * lib/gdb.exp (universal_compile_options): New caching proc.
5906 (gdb_compile): Suppress GCC's coloring of messages.
5907
d6382fff
TT
59082017-08-14 Tom Tromey <tom@tromey.com>
5909
5910 PR gdb/21675:
5911 * gdb.base/printcmds.exp (test_radices): New function.
5912 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5913 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5914 * lib/gdb.exp (get_integer_valueof): Use p/d.
5915
c2c2dd9f
SM
59162017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5917
5918 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5919 characters.
5920
fdffd6f4
TT
59212017-08-05 Tom Tromey <tom@tromey.com>
5922
5923 * gdb.rust/simple.exp: Allow String to appear in a different
5924 namespace.
5925
27d41eac
YQ
59262017-07-26 Yao Qi <yao.qi@linaro.org>
5927
5928 * gdb.gdb/unittest.exp: Invoke command
5929 "maintenance check xml-descriptions".
5930
031ed05d
AA
59312017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5932
5933 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5934 calling context.
5935 (hex128): Drop erroneous calculation of parameters.
5936
dcd27ddf
SM
59372017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5938
5939 * gdb.python/py-unwind.exp: Disable stack protection when
5940 building test file.
5941
47e77640
PA
59422017-07-20 Pedro Alves <palves@redhat.com>
5943
5944 * gdb.base/default.exp (set language): Adjust expected output.
5945
62d2a18a
PA
59462017-07-20 Pedro Alves <palves@redhat.com>
5947
5948 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5949 (test_minsym): ... this, and make static.
5950 (get_pck__foo__bar__minsym): Rename to ...
5951 (get_test_minsym): ... this.
5952 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5953 symbol names and comments.
5954 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5955 (get_test_minsym): ... this.
5956 (pck__foo__bar__minsym__2): Rename to ...
5957 (test_minsym): ... this.
5958 (main): Adjust.
5959
c45ec17c
PA
59602017-07-17 Pedro Alves <palves@redhat.com>
5961
5962 * gdb.base/completion.exp: Adjust expected output.
5963 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5964 the completer works.
5965
c6756f62
PA
59662017-07-17 Pedro Alves <palves@redhat.com>
5967
5968 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5969
5bd68487
AB
59702017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5971
5972 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5973
8880f2a9
TT
59742017-07-14 Tom Tromey <tom@tromey.com>
5975
5976 PR rust/21764:
5977 * gdb.rust/simple.exp: Add tests.
5978
65547233
TT
59792017-07-14 Tom Tromey <tom@tromey.com>
5980
5981 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5982
8f14146e
PA
59832017-07-14 Pedro Alves <palves@redhat.com>
5984
5985 * gdb.linespec/base/one/thefile.cc (z1): New function.
5986 * gdb.linespec/base/two/thefile.cc (z2): New function.
5987 * gdb.linespec/linespec.exp: Add tests.
5988
b4365d02
AB
59892017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5990
5991 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5992 to mi_create_breakpoint.
5993
5d2cbaa5
AB
59942017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5995
5996 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5997 mi_create_breakpoint.
5998
11cb5716
IB
59992017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6000
6001 * gdb.dlang/demangle.exp: Update for demangling changes.
6002
03278692
TT
60032017-07-09 Tom Tromey <tom@tromey.com>
6004
6005 * gdb.dwarf2/shortpiece.exp: New file.
6006
33c5cd75
DB
60072017-07-06 David Blaikie <dblaikie@gmail.com>
6008
6009 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6010 built from fissiont-multi-cu{1,2}.c.
6011 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6012 except putting 'main' and 'func' in separate CUs in the same DWO file.
6013 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6014 test.
6015 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6016 test.
6017
8455d262
PA
60182017-07-06 Pedro Alves <palves@redhat.com>
6019
6020 * gdb.python/py-unwind.exp: Test flushregs.
6021
dc4bde35
SDJ
60222017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6023
6024 PR cli/21688
6025 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6026 tests for alias commands and trailing whitespace.
6027
51ed89aa
SDJ
60282017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6029
6030 PR cli/21688
6031 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6032 procedure. Call it.
6033
eb17d413
PA
60342017-06-29 Pedro Alves <palves@redhat.com>
6035
6036 * gdb.base/printcmds.exp: Add tests.
6037
41664b45
DG
60382017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6039
6040 PR gdb/21337
6041 * gdb.base/reread-readsym.exp: New file.
6042 * gdb.base/reread-readsym.c: New file.
6043
75312ae3
KB
60442017-06-21 Kevin Buettner <kevinb@redhat.com>
6045
6046 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6047 subpattern.
6048
66953522
PB
60492017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6050
6051 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6052 extended mnemonic.
6053 * gdb.arch/powerpc-power9.s: Likewise.
6054
5524b525
AA
60552017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6056
6057 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6058 on 32-bit x86 targets. Exploit is_*_target macros where
6059 appropriate.
6060
03c8af18
AA
60612017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6062
6063 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6064 register pieces.
6065
3bf31011
AA
60662017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6067
6068 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6069 located in one or more DWARF pieces.
6070
805acca0
AA
60712017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6072
6073 * lib/gdb.exp (get_endianness): New proc.
6074 * gdb.arch/aarch64-fp.exp: Use it.
6075 * gdb.arch/altivec-regs.exp: Likewise.
6076 * gdb.arch/e500-regs.exp: Likewise.
6077 * gdb.arch/vsx-regs.exp: Likewise.
6078 * gdb.base/dump.exp: Likewise.
6079 * gdb.base/funcargs.exp: Likewise.
6080 * gdb.base/gnu_vector.exp: Likewise.
6081 * gdb.dwarf2/formdata16.exp: Likewise.
6082 * gdb.dwarf2/implptrpiece.exp: Likewise.
6083 * gdb.dwarf2/nonvar-access.exp: Likewise.
6084 * gdb.python/py-inferior.exp: Likewise.
6085 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6086
e9352324
AA
60872017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6088
6089 PR gdb/21226
6090 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6091 stack value pieces are taken from the LSB end.
6092
d5d1163e
AA
60932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6094
6095 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6096 variable at nonzero offset.
6097
0567c986
AA
60982017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6099
6100 * gdb.dwarf2/var-access.c: New file.
6101 * gdb.dwarf2/var-access.exp: New test.
6102 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6103
973e9aab
TT
61042017-06-12 Tom Tromey <tom@tromey.com>
6105
6106 * gdb.dwarf2/formdata16.exp: Add tests.
6107
d9109c80
TT
61082017-06-12 Tom Tromey <tom@tromey.com>
6109
6110 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6111
30a25466
TT
61122017-06-12 Tom Tromey <tom@tromey.com>
6113
6114 PR exp/16225:
6115 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6116 * gdb.arch/vsx-regs.exp: Update tests.
6117 * gdb.arch/s390-vregs.exp (hex128): New proc.
6118 Update test.
6119 * gdb.arch/altivec-regs.exp: Update tests.
6120
aefd8b33
SDJ
61212017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6122
6123 * gdb.base/startup-with-shell.c: New file.
6124 * gdb.base/startup-with-shell.exp: Likewise.
6125
2090129c
SDJ
61262017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6127
6128 * gdb.server/non-existing-program.exp: Update regex in order to
6129 reflect the fact that gdbserver is now using fork_inferior (with a
6130 shell) to startup the inferior.
6131
8e86a419
SM
61322017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6133
6134 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6135 support function calls from GDB.
6136
e6cf65f2
TT
61372017-05-21 Tom Tromey <tom@tromey.com>
6138
6139 PR rust/21466:
6140 * gdb.rust/unsized.exp: New file.
6141 * gdb.rust/unsized.rs: New file.
6142
43cc5389
TT
61432017-05-19 Tom Tromey <tom@tromey.com>
6144
6145 PR rust/21484:
6146 * gdb.rust/watch.exp: New file.
6147 * gdb.rust/watch.rs: New file.
6148
ec8df234
TT
61492017-05-18 Tom Tromey <tom@tromey.com>
6150
6151 * gdb.rust/simple.exp: Allow Box to be qualified.
6152
3e3e7fae
TP
61532017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6154
6155 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6156
59cc050d
PA
61572017-05-18 Pedro Alves <palves@redhat.com>
6158
6159 * gdb.base/fileio.c (test_write, test_read, test_close)
6160 (test_fstat): Don't print 'ret' in the fail path.
6161
c8f6abd1
PA
61622017-05-18 Pedro Alves <palves@redhat.com>
6163
6164 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6165 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6166 (test_system, test_rename, test_unlink, test_time): Change
6167 prototypes.
6168 * gdb.base/fileio.exp (stop_msg): Adjust.
6169
d2a03b77
PA
61702017-05-18 Pedro Alves <palves@redhat.com>
6171
6172 * gdb.base/fileio.c (null_str): New global.
6173 (test_stat): Use it.
6174 * gdb.base/fileio.exp: Remove nowarnings.
6175
0d5c6999
YQ
61762017-05-17 Yao Qi <yao.qi@linaro.org>
6177
6178 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6179
21873064
YQ
61802017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6181
6182 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6183 argument command.
6184 (top-level): Invoke test_set_inferior_tty.
6185
d512d31c
PA
61862017-05-04 Pedro Alves <palves@redhat.com>
6187
6188 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6189 Add parens to print call for Python 3.
6190
90cef2ed
KS
61912017-05-03 Keith Seitz <keiths@redhat.com>
6192
6193 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6194 (main): Call it.
6195
14f819c8
TW
61962017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6197
6198 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6199 to prev and next.
6200
913aeadd
TW
62012017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6202
6203 * gdb.python/py-record-btrace.exp: Remove test for
6204 gdb.BtraceInstruction.error.
6205
a3be24ad
TW
62062017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6207
6208 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6209
ae20e79a
TW
62102017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6211
6212 * gdb.python/py-record-btrace-threads.c: New file.
6213 * gdb.python/py-record-btrace-threads.exp: New file.
6214
45ce1b47
SDJ
62152017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6216
6217 PR testsuite/8595
6218 * gdb.base/environ.exp: Make test available in all architectures.
6219 Move bits related to "info program" testing to
6220 gdb.base/info-program.exp. Rewrite tests to use the two new
6221 procedures mentione below.
6222 (test_set_show_env_var) New procedure.
6223 (test_set_show_env_var_equal): Likewise.
6224 * gdb.base/info-program.exp: New file.
6225
e15c3eb4
KS
62262017-04-27 Keith Seitz <keiths@redhat.com>
6227
6228 * gdb.cp/oranking.cc (test15): New function.
6229 (main): Call test15 and declare additional variables for testing.
6230 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6231 "p foo101('abc')" tests.
6232 Add tests for cv qualifier overloads.
6233 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6234 "lvalue reference overload" test.
6235 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6236 "print value of f1 on Child&& in f2" test.
6237
3a3fd0fd
PA
62382017-04-19 Pedro Alves <palves@redhat.com>
6239
6240 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6241 procedure.
6242 (top level): Call it.
6243 * lib/gdb.exp (gdb_define_cmd): New procedure.
6244
53375380
PA
62452017-04-12 Pedro Alves <palves@redhat.com>
6246
6247 PR gdb/21323
6248 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6249 (wchar): New global.
6250 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6251 (do_test_wide_char, wide_char_types_no_program, top level): Add
6252 wchar_t testing.
6253
53e710ac
PA
62542017-04-12 Pedro Alves <palves@redhat.com>
6255
6256 PR c++/21323
6257 * gdb.cp/wide_char_types.c: New file.
6258 * gdb.cp/wide_char_types.exp: New file.
6259
0ad9d8c7
SDJ
62602017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6261
6262 PR gdb/21352
6263 * gdb.trace/tsv.exp: Add test for "tsave -r".
6264
b1b45502
IB
62652017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6266
6267 * gdb.dlang/watch-loc.c: New file.
6268 * gdb.dlang/watch-loc.exp: New file.
6269
ec13808e
JK
62702017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6271
6272 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6273
fe5f7374
AK
62742017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6275
6276 * gdb.arch/arc-analyze-prologue.S: New file.
6277 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6278
eea78757
AK
62792017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6280
6281 * gdb.arch/arc-decode-insn.S: New file.
6282 * gdb.arch/arc-decode-insn.exp: Likewise.
6283
5badf10a
IR
62842017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6285
6286 PR tdep/20928
6287 * gdb.arch/sparc64-regs.exp: New file.
6288 * gdb.arch/sparc64-regs.S: Likewise.
6289
cee59b3f
TW
62902017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6291
6292 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6293 and memory view on Python 3.
6294
c0f55cc6
AV
62952017-03-20 Artemiy Volkov <artemiyv@acm.org>
6296 Keith Seitz <keiths@redhat.com>
6297
6298 PR gdb/14441
6299 * gdb.cp/demangle.exp: Add rvalue reference tests.
6300 * gdb.cp/rvalue-ref-casts.cc: New file.
6301 * gdb.cp/rvalue-ref-casts.exp: New file.
6302 * gdb.cp/rvalue-ref-overload.cc: New file.
6303 * gdb.cp/rvalue-ref-overload.exp: New file.
6304 * gdb.cp/rvalue-ref-params.cc: New file.
6305 * gdb.cp/rvalue-ref-params.exp: New file.
6306 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6307 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6308 * gdb.cp/rvalue-ref-types.cc: New file.
6309 * gdb.cp/rvalue-ref-types.exp: New file.
6310 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6311 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6312
51457a05
MAL
63132017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6314
6315 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6316 New procedure.
6317
5b291c04
MAL
63182017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6319
6320 * lib/mi-support.exp (mi_gdb_test): Add additional message
6321 for unexpected output.
6322
59a56148
AA
63232017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6324
6325 * gdb.base/examine-backward.c (Barrier): New character array
6326 constant, to ensure that TestStrings is preceded by a string
6327 terminator.
6328
7942e96e
AA
63292017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6330
6331 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6332 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6333 and implicit pointer into such a location.
6334
6ebac3fb
DE
63352017-03-16 Doug Evans <dje@google.com>
6336
6337 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6338
ec3b243d
TP
63392017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6340
6341 * gdb.cp/m-static.exp: Fix expectation for prototype of
6342 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
6343
63442017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
6345
6346 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6347 * gdb.guile/scm-lazy-string.c: New file.
6348 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6349 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6350 for pointer, array, typedef lazy strings.
6351
2cc36e25 63522017-03-16 Doug Evans <dje@google.com>
34b43320
DE
6353
6354 PR python/17728, python/18439, python/18779
6355 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6356 * gdb.python/py-lazy-string.c (pointer): New typedef.
6357 (main): New locals ptr, array, typedef_ptr.
6358 * gdb.python/py-value.exp: Move lazy string tests to ...
6359 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6360 array, typedef lazy strings.
ec3b243d 6361
0efcde63
AK
63622017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6363
6364 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6365 Add optional 'test' parameter.
6366
7978d7c3
SM
63672017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6368
6369 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6370 Skip for versions of DejaGnu < 1.5.
6371
896c0c1e
SM
63722017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6373
6374 * lib/gdb.exp (dejagnu_version): New proc.
6375 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6376 Use dejagnu_version.
6377
5f4d1085
KS
63782017-03-10 Keith Seitz <keiths@redhat.com>
6379
6380 PR c++/8128
6381 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6382 type from destructor regexps.
6383 Add a branch which actually passes the test.
6384 Adjust "ptype t5i" test names.
6385
1de05205
PA
63862017-03-08 Pedro Alves <palves@redhat.com>
6387
6388 * gdb.base/step-over-exit.exp: Add explicit test message.
6389
c65d6b55
PA
63902017-03-08 Pedro Alves <palves@redhat.com>
6391
6392 PR gdb/18360
6393 * gdb.threads/interrupt-while-step-over.c: New file.
6394 * gdb.threads/interrupt-while-step-over.exp: New file.
6395
2e86a283
PA
63962017-03-08 Pedro Alves <palves@redhat.com>
6397
6398 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6399 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6400
25dcbff6
PA
64012017-03-08 Pedro Alves <palves@redhat.com>
6402
6403 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6404 PKRU as not supported as a PASS.
6405
dc9366eb
PA
64062017-03-08 Pedro Alves <palves@redhat.com>
6407
6408 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6409 prefix instead of $binfile1/$binfile2.
6410 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6411 in test message.
6412 * gdb.python/py-completion.exp: Use "load python file" as test
6413 messages instead of unstable path names.
6414
6e5d74e7
PA
64152017-03-08 Pedro Alves <palves@redhat.com>
6416 Jan Kratochvil <jan.kratochvil@redhat.com>
6417
6418 PR cli/21218
6419 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6420 New proc.
6421 (top level): Call it.
6422
9753a2f6
PA
64232017-03-08 Pedro Alves <palves@redhat.com>
6424
6425 PR tui/21216
6426 * gdb.tui/tui-nl-filtered-output.exp: New file.
6427
1a4dd9dd
PA
64282017-03-08 Pedro Alves <palves@redhat.com>
6429
6430 * gdb.base/completion.exp: Move TUI completion tests to ...
6431 * gdb.tui/completion.exp: ... this new file.
6432
7cbbff33
PA
64332017-03-08 Pedro Alves <palves@redhat.com>
6434
6435 * gdb.base/tui-disasm-long-lines.c,
6436 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6437 gdb.base/tui-layout.exp: Move to ...
6438 * gdb.tui/: ... this new directory.
6439
5f6fd321
PA
64402017-03-07 Pedro Alves <palves@redhat.com>
6441
6442 * gdb.base/tui-layout.c: New file.
6443 * gdb.base/tui-layout.exp: New file.
6444
44959fa8
PA
64452017-03-07 Pedro Alves <palves@redhat.com>
6446
6447 * gdb.base/tui-layout.c: Rename to ...
6448 * gdb.base/tui-disasm-long-lines.c: ... this.
6449 * gdb.base/tui-layout.exp: Rename to ...
6450 * gdb.base/tui-disasm-long-lines.exp: ... this.
6451
f8c4e718
PA
64522017-03-07 Pedro Alves <palves@redhat.com>
6453
6454 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6455
6dbb839a 64562017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
6457
6458 * i386-mpx-call.c: New file.
6459 * i386-mpx-call.exp: New file.
6460
65b48a81
PB
64612017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6462
6463 * gdb.arch/powerpc-power.exp: Delete test.
6464 * gdb.arch/powerpc-power.s: Likewise.
6465 * gdb.disasm/disassembler-options.exp: New test.
6466 * gdb.arch/powerpc-altivec.exp: Likewise.
6467 * gdb.arch/powerpc-altivec.s: Likewise.
6468 * gdb.arch/powerpc-altivec2.exp: Likewise.
6469 * gdb.arch/powerpc-altivec2.s: Likewise.
6470 * gdb.arch/powerpc-altivec3.exp: Likewise.
6471 * gdb.arch/powerpc-altivec3.s: Likewise.
6472 * gdb.arch/powerpc-power7.exp: Likewise.
6473 * gdb.arch/powerpc-power7.s: Likewise.
6474 * gdb.arch/powerpc-power8.exp: Likewise.
6475 * gdb.arch/powerpc-power8.s: Likewise.
6476 * gdb.arch/powerpc-power9.exp: Likewise.
6477 * gdb.arch/powerpc-power9.s: Likewise.
6478 * gdb.arch/powerpc-vsx.exp: Likewise.
6479 * gdb.arch/powerpc-vsx.s: Likewise.
6480 * gdb.arch/powerpc-vsx2.exp: Likewise.
6481 * gdb.arch/powerpc-vsx2.s: Likewise.
6482 * gdb.arch/powerpc-vsx3.exp: Likewise.
6483 * gdb.arch/powerpc-vsx3.s: Likewise.
6484 * gdb.arch/arm-disassembler-options.exp: Likewise.
6485 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6486 * gdb.arch/s390-disassembler-options.exp: Likewise.
6487
17cd4947
LM
64882017-02-23 Luis Machado <lgustavo@codesourcery.com>
6489
6490 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6491 (check_supported_features): ... this. Changed return type to void.
6492 (supports_rdseed): New static global.
6493 (rdseed): Check supports_rdseed.
6494 (initialize): Call check_supported_features.
6495
2039d74e
EBM
64962017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6497
6498 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6499 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6500 and lqarx/stqcx.
6501 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6502 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6503
a51d7ecf
EBM
65042017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6505
6506 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6507 uppercase.
6508
0224619f
JK
65092017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6510
6511 * gdb.dwarf2/formdata16.c: New file.
6512 * gdb.dwarf2/formdata16.exp: New file.
6513 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6514
216f72a1
JK
65152017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6516
6517 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6518 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6519 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6520 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6521 DW_AT_GNU_*.
6522
43988095
JK
65232017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6524
6525 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6526
99e8a4f9
SDJ
65272017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6528
6529 PR gdb/21164
6530 * gdb.base/maint.exp: Add testcases for when the commands do
6531 not have arguments.
6532
b58a8c0c
TP
65332017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6534
6535 * gdb.cp/chained-calls.exp: Use p instead of P.
6536
4e746bb6
TW
65372017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6538
6539 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6540 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6541
3f77c769
TT
65422017-02-14 Tom Tromey <tom@tromey.com>
6543
6544 PR python/13598:
6545 * gdb.python/py-events.exp: Add before_prompt event tests.
6546
075beec0
AA
65472017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6548
6549 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6550
bf5f525c
LM
65512017-02-13 Luis Machado <lgustavo@codesourcery.com>
6552
6553 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6554 (main): Call my_unique_function_name.
6555 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6556 completion of patterns with a single match.
6557 Add missing -re switches to gdb_test_multiple calls.
6558
13a66184
LM
65592017-02-13 Luis Machado <lgustavo@codesourcery.com>
6560
6561 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6562 return if core file is not recognized.
6563
26a06916
SM
65642017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6565
6566 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6567 and extra UIs.
6568
b761ca9e
SM
65692017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6570
6571 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6572 proc_with_prefix.
6573
b964bee0
TT
65742017-02-10 Tom Tromey <tom@tromey.com>
6575
6576 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6577
18da0c51
MG
65782017-02-10 Martin Galvan <martingalvan@sourceware.org>
6579
6580 PR gdb/21122
6581 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6582
604c4576
JG
65832017-02-08 Jerome Guitton <guitton@adacore.com>
6584
6585 * gdb.base/define.exp: Add test for command abbreviations
6586 in define.
6587
20b477a7
LM
65882017-02-06 Luis Machado <lgustavo@codesourcery.com>
6589
6590 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6591 * gdb.reverse/insn-reverse-x86.c: New file.
6592
3f7b46f2
IR
65932017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6594
6595 PR tdep/20936
6596 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6597
f0fd41c1
TT
65982017-02-03 Tom Tromey <tom@tromey.com>
6599
6600 PR rust/21097:
6601 * gdb.rust/simple.exp: Add new tests.
6602
5be5dbf0
PA
66032017-02-02 Pedro Alves <palves@redhat.com>
6604
6605 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6606 tests.
6607
7346ef59
AA
66082017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6609
6610 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6611 taking a 2-byte value out of a 4-byte DWARF implicit value on
6612 big-endian targets.
6613 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6614 logic. Add test cases for DW_OP_implicit.
6615
787f0025
MM
66162017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6617
6618 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6619
68777c29
MM
66202017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6621
6622 * gdb.btrace/enable.exp: Call gdb_exit before
6623 skip_gdbserver_tests.
6624
0a1c7e28
MM
66252017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6626
6627 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6628 GDBFLAGS.
6629
b5ac99b0
MM
66302017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6631
6632 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6633 the test is skipped.
6634 * gdb.btrace/data.exp: Likewise.
6635 * gdb.btrace/delta.exp: Likewise.
6636 * gdb.btrace/dlopen.exp: Likewise.
6637 * gdb.btrace/enable-running.exp: Likewise.
6638 * gdb.btrace/enable.exp: Likewise.
6639 * gdb.btrace/exception.exp: Likewise.
6640 * gdb.btrace/function_call_history.exp: Likewise.
6641 * gdb.btrace/gcore.exp: Likewise.
6642 * gdb.btrace/instruction_history.exp: Likewise.
6643 * gdb.btrace/multi-thread-step.exp: Likewise.
6644 * gdb.btrace/nohist.exp: Likewise.
6645 * gdb.btrace/non-stop.exp: Likewise.
6646 * gdb.btrace/reconnect.exp: Likewise.
6647 * gdb.btrace/record_goto-step.exp: Likewise.
6648 * gdb.btrace/record_goto.exp: Likewise.
6649 * gdb.btrace/rn-dl-bind.exp: Likewise.
6650 * gdb.btrace/segv.exp: Likewise.
6651 * gdb.btrace/step.exp: Likewise.
6652 * gdb.btrace/stepi.exp: Likewise.
6653 * gdb.btrace/tailcall-only.exp: Likewise.
6654 * gdb.btrace/tailcall.exp: Likewise.
6655 * gdb.btrace/tsx.exp: Likewise.
6656 * gdb.btrace/unknown_functions.exp: Likewise.
6657 * gdb.btrace/vdso.exp: Likewise.
6658
cd4007e4
MM
66592017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6660
6661 * gdb.btrace/enable-running.c: New.
6662 * gdb.btrace/enable-running.exp: New.
6663
2735833d
WT
66642017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6665
6666 * gdb.arch/amd64-gs_base.c: New file.
6667 * gdb.arch/amd64-gs_base.exp: New file.
6668
b51e1e94
LM
66692017-01-26 Luis Machado <lgustavo@codesourcery.com>
6670
6671 * lib/memory.exp: Remove spurious empty newlines.
6672
72ca0410
SM
66732017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6674
6675 * gdb.python/py-bad-printers.exp: Load python file using "source".
6676 * gdb.python/py-events.exp: Likewise.
6677 * gdb.python/py-evsignal.exp: Likewise.
6678 * gdb.python/py-evthreads.exp: Likewise.
6679 * gdb.python/py-frame-args.exp: Likewise.
6680 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6681 * gdb.python/py-framefilter-mi.exp: Likewise.
6682 * gdb.python/py-framefilter.exp: Likewise.
6683 * gdb.python/py-mi.exp: Likewise.
6684 * gdb.python/py-pp-maint.exp: Likewise.
6685 * gdb.python/py-pp-registration.exp: Likewise.
6686 * gdb.python/py-prettyprint.exp: Likewise.
6687 (run_lang_tests): Likewise.
6688 * gdb.python/py-typeprint.exp: Likewise.
6689
e309aa65
LM
66902017-01-26 Luis Machado <lgustavo@codesourcery.com>
6691
6692 * lib/memory.exp: New file.
6693 * lib/gdb.exp: Load memory.exp.
6694 * gdb.base/memattr.exp (delete_memory): Move proc to
6695 lib/memory.exp and rename to delete_memory_regions.
6696 Replace delete_memory with delete_memory_regions.
6697 Cleanup memory regions before tests.
6698 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6699 before tests.
6700
515aff23
LM
67012017-01-26 Luis Machado <lgustavo@codesourcery.com>
6702
6703 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6704 files.
6705 (initialize): New function conditionally defined.
6706 (testcases): Move within conditional block.
6707 (main): Call initialize.
6708 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6709 of gdb.reverse/insn-reverse.c.
6710 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6711 gdb.reverse/insn-reverse.c.
6712
d8b49cf0
YQ
67132017-01-26 Yao Qi <yao.qi@linaro.org>
6714
6715 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6716 disassemble on address 0.
6717
f13a9a0c
YQ
67182017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6719 Yao Qi <yao.qi@linaro.org>
6720
6721 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6722 * gdb.dwarf2/implptr-64bit.S: Remove.
6723 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6724 variables in caller's context. Add DW_OP_implicit_value.
6725
5ac95241
YQ
67262017-01-25 Yao Qi <yao.qi@linaro.org>
6727
6728 * lib/dwarf.exp (Dwarf::_location): Handle
6729 DW_OP_GNU_implicit_pointer with proper size.
6730
23e82930
LM
67312017-01-20 Luis Machado <lgustavo@codesourcery.com>
6732
6733 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6734 and add untested calls.
6735
d334ae25
LM
67362017-01-20 Luis Machado <lgustavo@codesourcery.com>
6737
6738 * gdb.python/python.exp: Check line number against what GDB thinks
6739 the line number is for func1.
6740
f5e6296e
IB
67412017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6742
6743 * gdb.dlang/debug-expr.exp: New file.
6744
5b362f04
LM
67452016-12-23 Luis Machado <lgustavo@codesourcery.com>
6746
6747 Fix test names for the following files:
6748
6749 * gdb.ada/exec_changed.exp
6750 * gdb.ada/info_types.exp
6751 * gdb.arch/aarch64-atomic-inst.exp
6752 * gdb.arch/aarch64-fp.exp
6753 * gdb.arch/altivec-abi.exp
6754 * gdb.arch/altivec-regs.exp
6755 * gdb.arch/amd64-byte.exp
6756 * gdb.arch/amd64-disp-step.exp
6757 * gdb.arch/amd64-dword.exp
6758 * gdb.arch/amd64-entry-value-inline.exp
6759 * gdb.arch/amd64-entry-value-param.exp
6760 * gdb.arch/amd64-entry-value-paramref.exp
6761 * gdb.arch/amd64-entry-value.exp
6762 * gdb.arch/amd64-i386-address.exp
6763 * gdb.arch/amd64-invalid-stack-middle.exp
6764 * gdb.arch/amd64-invalid-stack-top.exp
6765 * gdb.arch/amd64-optimout-repeat.exp
6766 * gdb.arch/amd64-prologue-skip.exp
6767 * gdb.arch/amd64-prologue-xmm.exp
6768 * gdb.arch/amd64-stap-special-operands.exp
6769 * gdb.arch/amd64-stap-wrong-subexp.exp
6770 * gdb.arch/amd64-tailcall-cxx.exp
6771 * gdb.arch/amd64-tailcall-noret.exp
6772 * gdb.arch/amd64-tailcall-ret.exp
6773 * gdb.arch/amd64-tailcall-self.exp
6774 * gdb.arch/amd64-word.exp
6775 * gdb.arch/arm-bl-branch-dest.exp
6776 * gdb.arch/arm-disp-step.exp
6777 * gdb.arch/arm-neon.exp
6778 * gdb.arch/arm-single-step-kernel-helper.exp
6779 * gdb.arch/avr-flash-qualifier.exp
6780 * gdb.arch/disp-step-insn-reloc.exp
6781 * gdb.arch/e500-abi.exp
6782 * gdb.arch/e500-regs.exp
6783 * gdb.arch/ftrace-insn-reloc.exp
6784 * gdb.arch/i386-avx512.exp
6785 * gdb.arch/i386-bp_permanent.exp
6786 * gdb.arch/i386-byte.exp
6787 * gdb.arch/i386-cfi-notcurrent.exp
6788 * gdb.arch/i386-disp-step.exp
6789 * gdb.arch/i386-dr3-watch.exp
6790 * gdb.arch/i386-float.exp
6791 * gdb.arch/i386-gnu-cfi.exp
6792 * gdb.arch/i386-mpx-map.exp
6793 * gdb.arch/i386-mpx-sigsegv.exp
6794 * gdb.arch/i386-mpx-simple_segv.exp
6795 * gdb.arch/i386-mpx.exp
6796 * gdb.arch/i386-permbkpt.exp
6797 * gdb.arch/i386-prologue.exp
6798 * gdb.arch/i386-signal.exp
6799 * gdb.arch/i386-size-overlap.exp
6800 * gdb.arch/i386-unwind.exp
6801 * gdb.arch/i386-word.exp
6802 * gdb.arch/mips-fcr.exp
6803 * gdb.arch/powerpc-d128-regs.exp
6804 * gdb.arch/powerpc-stackless.exp
6805 * gdb.arch/ppc64-atomic-inst.exp
6806 * gdb.arch/s390-stackless.exp
6807 * gdb.arch/s390-tdbregs.exp
6808 * gdb.arch/s390-vregs.exp
6809 * gdb.arch/sparc-sysstep.exp
6810 * gdb.arch/thumb-bx-pc.exp
6811 * gdb.arch/thumb-singlestep.exp
6812 * gdb.arch/thumb2-it.exp
6813 * gdb.arch/vsx-regs.exp
6814 * gdb.asm/asm-source.exp
6815 * gdb.base/a2-run.exp
6816 * gdb.base/advance.exp
6817 * gdb.base/all-bin.exp
6818 * gdb.base/anon.exp
6819 * gdb.base/args.exp
6820 * gdb.base/arithmet.exp
6821 * gdb.base/async-shell.exp
6822 * gdb.base/async.exp
6823 * gdb.base/attach-pie-noexec.exp
6824 * gdb.base/attach-twice.exp
6825 * gdb.base/auto-load.exp
6826 * gdb.base/bang.exp
6827 * gdb.base/bitfields.exp
6828 * gdb.base/break-always.exp
6829 * gdb.base/break-caller-line.exp
6830 * gdb.base/break-entry.exp
6831 * gdb.base/break-inline.exp
6832 * gdb.base/break-on-linker-gcd-function.exp
6833 * gdb.base/break-probes.exp
6834 * gdb.base/break.exp
6835 * gdb.base/breakpoint-shadow.exp
6836 * gdb.base/call-ar-st.exp
6837 * gdb.base/call-sc.exp
6838 * gdb.base/call-signal-resume.exp
6839 * gdb.base/call-strs.exp
6840 * gdb.base/callfuncs.exp
6841 * gdb.base/catch-fork-static.exp
6842 * gdb.base/catch-gdb-caused-signals.exp
6843 * gdb.base/catch-load.exp
6844 * gdb.base/catch-signal-fork.exp
6845 * gdb.base/catch-signal.exp
6846 * gdb.base/catch-syscall.exp
6847 * gdb.base/charset.exp
6848 * gdb.base/checkpoint.exp
6849 * gdb.base/chng-syms.exp
6850 * gdb.base/code-expr.exp
6851 * gdb.base/code_elim.exp
6852 * gdb.base/commands.exp
6853 * gdb.base/completion.exp
6854 * gdb.base/complex.exp
6855 * gdb.base/cond-expr.exp
6856 * gdb.base/condbreak.exp
6857 * gdb.base/consecutive.exp
6858 * gdb.base/continue-all-already-running.exp
6859 * gdb.base/coredump-filter.exp
6860 * gdb.base/corefile.exp
6861 * gdb.base/dbx.exp
6862 * gdb.base/debug-expr.exp
6863 * gdb.base/define.exp
6864 * gdb.base/del.exp
6865 * gdb.base/disabled-location.exp
6866 * gdb.base/disasm-end-cu.exp
6867 * gdb.base/disasm-optim.exp
6868 * gdb.base/display.exp
6869 * gdb.base/duplicate-bp.exp
6870 * gdb.base/ena-dis-br.exp
6871 * gdb.base/ending-run.exp
6872 * gdb.base/enumval.exp
6873 * gdb.base/environ.exp
6874 * gdb.base/eu-strip-infcall.exp
6875 * gdb.base/eval-avoid-side-effects.exp
6876 * gdb.base/eval-skip.exp
6877 * gdb.base/exitsignal.exp
6878 * gdb.base/expand-psymtabs.exp
6879 * gdb.base/filesym.exp
6880 * gdb.base/find-unmapped.exp
6881 * gdb.base/finish.exp
6882 * gdb.base/float.exp
6883 * gdb.base/foll-exec-mode.exp
6884 * gdb.base/foll-exec.exp
6885 * gdb.base/foll-fork.exp
6886 * gdb.base/fortran-sym-case.exp
6887 * gdb.base/freebpcmd.exp
6888 * gdb.base/func-ptr.exp
6889 * gdb.base/func-ptrs.exp
6890 * gdb.base/funcargs.exp
6891 * gdb.base/gcore-buffer-overflow.exp
6892 * gdb.base/gcore-relro-pie.exp
6893 * gdb.base/gcore-relro.exp
6894 * gdb.base/gcore.exp
6895 * gdb.base/gdb1090.exp
6896 * gdb.base/gdb11530.exp
6897 * gdb.base/gdb11531.exp
6898 * gdb.base/gdb1821.exp
6899 * gdb.base/gdbindex-stabs.exp
6900 * gdb.base/gdbvars.exp
6901 * gdb.base/hbreak.exp
6902 * gdb.base/hbreak2.exp
6903 * gdb.base/included.exp
6904 * gdb.base/infcall-input.exp
6905 * gdb.base/inferior-died.exp
6906 * gdb.base/infnan.exp
6907 * gdb.base/info-macros.exp
6908 * gdb.base/info-os.exp
6909 * gdb.base/info-proc.exp
6910 * gdb.base/info-shared.exp
6911 * gdb.base/info-target.exp
6912 * gdb.base/infoline.exp
6913 * gdb.base/interp.exp
6914 * gdb.base/interrupt.exp
6915 * gdb.base/jit-reader.exp
6916 * gdb.base/jit-simple.exp
6917 * gdb.base/kill-after-signal.exp
6918 * gdb.base/kill-detach-inferiors-cmd.exp
6919 * gdb.base/label.exp
6920 * gdb.base/langs.exp
6921 * gdb.base/ldbl_e308.exp
6922 * gdb.base/line-symtabs.exp
6923 * gdb.base/linespecs.exp
6924 * gdb.base/list.exp
6925 * gdb.base/long_long.exp
6926 * gdb.base/longest-types.exp
6927 * gdb.base/maint.exp
6928 * gdb.base/max-value-size.exp
6929 * gdb.base/memattr.exp
6930 * gdb.base/mips_pro.exp
6931 * gdb.base/morestack.exp
6932 * gdb.base/moribund-step.exp
6933 * gdb.base/multi-forks.exp
6934 * gdb.base/nested-addr.exp
6935 * gdb.base/nextoverexit.exp
6936 * gdb.base/noreturn-finish.exp
6937 * gdb.base/noreturn-return.exp
6938 * gdb.base/nostdlib.exp
6939 * gdb.base/offsets.exp
6940 * gdb.base/opaque.exp
6941 * gdb.base/pc-fp.exp
6942 * gdb.base/permissions.exp
6943 * gdb.base/print-symbol-loading.exp
6944 * gdb.base/prologue-include.exp
6945 * gdb.base/psymtab.exp
6946 * gdb.base/ptype.exp
6947 * gdb.base/random-signal.exp
6948 * gdb.base/randomize.exp
6949 * gdb.base/range-stepping.exp
6950 * gdb.base/readline-ask.exp
6951 * gdb.base/recpar.exp
6952 * gdb.base/recurse.exp
6953 * gdb.base/relational.exp
6954 * gdb.base/restore.exp
6955 * gdb.base/return-nodebug.exp
6956 * gdb.base/return.exp
6957 * gdb.base/run-after-attach.exp
6958 * gdb.base/save-bp.exp
6959 * gdb.base/scope.exp
6960 * gdb.base/sect-cmd.exp
6961 * gdb.base/set-lang-auto.exp
6962 * gdb.base/set-noassign.exp
6963 * gdb.base/setvar.exp
6964 * gdb.base/sigall.exp
6965 * gdb.base/sigbpt.exp
6966 * gdb.base/siginfo-addr.exp
6967 * gdb.base/siginfo-infcall.exp
6968 * gdb.base/siginfo-obj.exp
6969 * gdb.base/siginfo.exp
6970 * gdb.base/signals-state-child.exp
6971 * gdb.base/signest.exp
6972 * gdb.base/sigstep.exp
6973 * gdb.base/sizeof.exp
6974 * gdb.base/skip.exp
6975 * gdb.base/solib-corrupted.exp
6976 * gdb.base/solib-nodir.exp
6977 * gdb.base/solib-search.exp
6978 * gdb.base/stack-checking.exp
6979 * gdb.base/stale-infcall.exp
6980 * gdb.base/stap-probe.exp
6981 * gdb.base/start.exp
6982 * gdb.base/step-break.exp
6983 * gdb.base/step-bt.exp
6984 * gdb.base/step-line.exp
6985 * gdb.base/step-over-exit.exp
6986 * gdb.base/step-over-syscall.exp
6987 * gdb.base/step-resume-infcall.exp
6988 * gdb.base/step-test.exp
6989 * gdb.base/store.exp
6990 * gdb.base/structs3.exp
6991 * gdb.base/sym-file.exp
6992 * gdb.base/symbol-without-target_section.exp
6993 * gdb.base/term.exp
6994 * gdb.base/testenv.exp
6995 * gdb.base/ui-redirect.exp
6996 * gdb.base/until.exp
6997 * gdb.base/unwindonsignal.exp
6998 * gdb.base/value-double-free.exp
6999 * gdb.base/vla-datatypes.exp
7000 * gdb.base/vla-ptr.exp
7001 * gdb.base/vla-sideeffect.exp
7002 * gdb.base/volatile.exp
7003 * gdb.base/watch-cond-infcall.exp
7004 * gdb.base/watch-cond.exp
7005 * gdb.base/watch-non-mem.exp
7006 * gdb.base/watch-read.exp
7007 * gdb.base/watch-vfork.exp
7008 * gdb.base/watchpoint-cond-gone.exp
7009 * gdb.base/watchpoint-delete.exp
7010 * gdb.base/watchpoint-hw-hit-once.exp
7011 * gdb.base/watchpoint-hw.exp
7012 * gdb.base/watchpoint-stops-at-right-insn.exp
7013 * gdb.base/watchpoints.exp
7014 * gdb.base/wchar.exp
7015 * gdb.base/whatis-exp.exp
7016 * gdb.btrace/buffer-size.exp
7017 * gdb.btrace/data.exp
7018 * gdb.btrace/delta.exp
7019 * gdb.btrace/dlopen.exp
7020 * gdb.btrace/enable.exp
7021 * gdb.btrace/exception.exp
7022 * gdb.btrace/function_call_history.exp
7023 * gdb.btrace/gcore.exp
7024 * gdb.btrace/instruction_history.exp
7025 * gdb.btrace/nohist.exp
7026 * gdb.btrace/reconnect.exp
7027 * gdb.btrace/record_goto-step.exp
7028 * gdb.btrace/record_goto.exp
7029 * gdb.btrace/rn-dl-bind.exp
7030 * gdb.btrace/segv.exp
7031 * gdb.btrace/step.exp
7032 * gdb.btrace/stepi.exp
7033 * gdb.btrace/tailcall-only.exp
7034 * gdb.btrace/tailcall.exp
7035 * gdb.btrace/tsx.exp
7036 * gdb.btrace/unknown_functions.exp
7037 * gdb.btrace/vdso.exp
7038 * gdb.compile/compile-ifunc.exp
7039 * gdb.compile/compile-ops.exp
7040 * gdb.compile/compile-print.exp
7041 * gdb.compile/compile-setjmp.exp
7042 * gdb.cp/abstract-origin.exp
7043 * gdb.cp/ambiguous.exp
7044 * gdb.cp/annota2.exp
7045 * gdb.cp/annota3.exp
7046 * gdb.cp/anon-ns.exp
7047 * gdb.cp/anon-struct.exp
7048 * gdb.cp/anon-union.exp
7049 * gdb.cp/arg-reference.exp
7050 * gdb.cp/baseenum.exp
7051 * gdb.cp/bool.exp
7052 * gdb.cp/breakpoint.exp
7053 * gdb.cp/bs15503.exp
7054 * gdb.cp/call-c.exp
7055 * gdb.cp/casts.exp
7056 * gdb.cp/chained-calls.exp
7057 * gdb.cp/class2.exp
7058 * gdb.cp/classes.exp
7059 * gdb.cp/cmpd-minsyms.exp
7060 * gdb.cp/converts.exp
7061 * gdb.cp/cp-relocate.exp
7062 * gdb.cp/cpcompletion.exp
7063 * gdb.cp/cpexprs.exp
7064 * gdb.cp/cplabel.exp
7065 * gdb.cp/cplusfuncs.exp
7066 * gdb.cp/cpsizeof.exp
7067 * gdb.cp/ctti.exp
7068 * gdb.cp/derivation.exp
7069 * gdb.cp/destrprint.exp
7070 * gdb.cp/dispcxx.exp
7071 * gdb.cp/enum-class.exp
7072 * gdb.cp/exception.exp
7073 * gdb.cp/exceptprint.exp
7074 * gdb.cp/expand-psymtabs-cxx.exp
7075 * gdb.cp/expand-sals.exp
7076 * gdb.cp/extern-c.exp
7077 * gdb.cp/filename.exp
7078 * gdb.cp/formatted-ref.exp
7079 * gdb.cp/fpointer.exp
7080 * gdb.cp/gdb1355.exp
7081 * gdb.cp/gdb2495.exp
7082 * gdb.cp/hang.exp
7083 * gdb.cp/impl-this.exp
7084 * gdb.cp/infcall-dlopen.exp
7085 * gdb.cp/inherit.exp
7086 * gdb.cp/iostream.exp
7087 * gdb.cp/koenig.exp
7088 * gdb.cp/local.exp
7089 * gdb.cp/m-data.exp
7090 * gdb.cp/m-static.exp
7091 * gdb.cp/mb-ctor.exp
7092 * gdb.cp/mb-inline.exp
7093 * gdb.cp/mb-templates.exp
7094 * gdb.cp/member-name.exp
7095 * gdb.cp/member-ptr.exp
7096 * gdb.cp/meth-typedefs.exp
7097 * gdb.cp/method.exp
7098 * gdb.cp/method2.exp
7099 * gdb.cp/minsym-fallback.exp
7100 * gdb.cp/misc.exp
7101 * gdb.cp/namelessclass.exp
7102 * gdb.cp/namespace-enum.exp
7103 * gdb.cp/namespace-nested-import.exp
7104 * gdb.cp/namespace.exp
7105 * gdb.cp/nextoverthrow.exp
7106 * gdb.cp/no-dmgl-verbose.exp
7107 * gdb.cp/non-trivial-retval.exp
7108 * gdb.cp/noparam.exp
7109 * gdb.cp/nsdecl.exp
7110 * gdb.cp/nsimport.exp
7111 * gdb.cp/nsnested.exp
7112 * gdb.cp/nsnoimports.exp
7113 * gdb.cp/nsrecurs.exp
7114 * gdb.cp/nsstress.exp
7115 * gdb.cp/nsusing.exp
7116 * gdb.cp/operator.exp
7117 * gdb.cp/oranking.exp
7118 * gdb.cp/overload-const.exp
7119 * gdb.cp/overload.exp
7120 * gdb.cp/ovldbreak.exp
7121 * gdb.cp/ovsrch.exp
7122 * gdb.cp/paren-type.exp
7123 * gdb.cp/parse-lang.exp
7124 * gdb.cp/pass-by-ref.exp
7125 * gdb.cp/pr-1023.exp
7126 * gdb.cp/pr-1210.exp
7127 * gdb.cp/pr-574.exp
7128 * gdb.cp/pr10687.exp
7129 * gdb.cp/pr12028.exp
7130 * gdb.cp/pr17132.exp
7131 * gdb.cp/pr17494.exp
7132 * gdb.cp/pr9067.exp
7133 * gdb.cp/pr9167.exp
7134 * gdb.cp/pr9631.exp
7135 * gdb.cp/printmethod.exp
7136 * gdb.cp/psmang.exp
7137 * gdb.cp/psymtab-parameter.exp
7138 * gdb.cp/ptype-cv-cp.exp
7139 * gdb.cp/ptype-flags.exp
7140 * gdb.cp/re-set-overloaded.exp
7141 * gdb.cp/ref-types.exp
7142 * gdb.cp/rtti.exp
7143 * gdb.cp/scope-err.exp
7144 * gdb.cp/shadow.exp
7145 * gdb.cp/smartp.exp
7146 * gdb.cp/static-method.exp
7147 * gdb.cp/static-print-quit.exp
7148 * gdb.cp/temargs.exp
7149 * gdb.cp/templates.exp
7150 * gdb.cp/try_catch.exp
7151 * gdb.cp/typedef-operator.exp
7152 * gdb.cp/typeid.exp
7153 * gdb.cp/userdef.exp
7154 * gdb.cp/using-crash.exp
7155 * gdb.cp/var-tag.exp
7156 * gdb.cp/virtbase.exp
7157 * gdb.cp/virtfunc.exp
7158 * gdb.cp/virtfunc2.exp
7159 * gdb.cp/vla-cxx.exp
7160 * gdb.disasm/t01_mov.exp
7161 * gdb.disasm/t02_mova.exp
7162 * gdb.disasm/t03_add.exp
7163 * gdb.disasm/t04_sub.exp
7164 * gdb.disasm/t05_cmp.exp
7165 * gdb.disasm/t06_ari2.exp
7166 * gdb.disasm/t07_ari3.exp
7167 * gdb.disasm/t08_or.exp
7168 * gdb.disasm/t09_xor.exp
7169 * gdb.disasm/t10_and.exp
7170 * gdb.disasm/t11_logs.exp
7171 * gdb.disasm/t12_bit.exp
7172 * gdb.disasm/t13_otr.exp
7173 * gdb.dlang/circular.exp
7174 * gdb.dwarf2/arr-stride.exp
7175 * gdb.dwarf2/arr-subrange.exp
7176 * gdb.dwarf2/atomic-type.exp
7177 * gdb.dwarf2/bad-regnum.exp
7178 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7179 * gdb.dwarf2/callframecfa.exp
7180 * gdb.dwarf2/clztest.exp
7181 * gdb.dwarf2/corrupt.exp
7182 * gdb.dwarf2/data-loc.exp
7183 * gdb.dwarf2/dup-psym.exp
7184 * gdb.dwarf2/dw2-anon-mptr.exp
7185 * gdb.dwarf2/dw2-anonymous-func.exp
7186 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7187 * gdb.dwarf2/dw2-bad-unresolved.exp
7188 * gdb.dwarf2/dw2-basic.exp
7189 * gdb.dwarf2/dw2-canonicalize-type.exp
7190 * gdb.dwarf2/dw2-case-insensitive.exp
7191 * gdb.dwarf2/dw2-common-block.exp
7192 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7193 * gdb.dwarf2/dw2-compressed.exp
7194 * gdb.dwarf2/dw2-const.exp
7195 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7196 * gdb.dwarf2/dw2-cu-size.exp
7197 * gdb.dwarf2/dw2-dup-frame.exp
7198 * gdb.dwarf2/dw2-entry-value.exp
7199 * gdb.dwarf2/dw2-icycle.exp
7200 * gdb.dwarf2/dw2-ifort-parameter.exp
7201 * gdb.dwarf2/dw2-inline-break.exp
7202 * gdb.dwarf2/dw2-inline-param.exp
7203 * gdb.dwarf2/dw2-intercu.exp
7204 * gdb.dwarf2/dw2-intermix.exp
7205 * gdb.dwarf2/dw2-lexical-block-bare.exp
7206 * gdb.dwarf2/dw2-linkage-name-trust.exp
7207 * gdb.dwarf2/dw2-minsym-in-cu.exp
7208 * gdb.dwarf2/dw2-noloc.exp
7209 * gdb.dwarf2/dw2-op-call.exp
7210 * gdb.dwarf2/dw2-op-out-param.exp
7211 * gdb.dwarf2/dw2-opt-structptr.exp
7212 * gdb.dwarf2/dw2-param-error.exp
7213 * gdb.dwarf2/dw2-producer.exp
7214 * gdb.dwarf2/dw2-ranges-base.exp
7215 * gdb.dwarf2/dw2-ref-missing-frame.exp
7216 * gdb.dwarf2/dw2-reg-undefined.exp
7217 * gdb.dwarf2/dw2-regno-invalid.exp
7218 * gdb.dwarf2/dw2-restore.exp
7219 * gdb.dwarf2/dw2-restrict.exp
7220 * gdb.dwarf2/dw2-single-line-discriminators.exp
7221 * gdb.dwarf2/dw2-strp.exp
7222 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7223 * gdb.dwarf2/dw2-unresolved.exp
7224 * gdb.dwarf2/dw2-var-zero-addr.exp
7225 * gdb.dwarf2/dw4-sig-types.exp
7226 * gdb.dwarf2/dwz.exp
7227 * gdb.dwarf2/dynarr-ptr.exp
7228 * gdb.dwarf2/enum-type.exp
7229 * gdb.dwarf2/gdb-index.exp
7230 * gdb.dwarf2/implptr-64bit.exp
7231 * gdb.dwarf2/implptr-optimized-out.exp
7232 * gdb.dwarf2/implptr.exp
7233 * gdb.dwarf2/implref-array.exp
7234 * gdb.dwarf2/implref-const.exp
7235 * gdb.dwarf2/implref-global.exp
7236 * gdb.dwarf2/implref-struct.exp
7237 * gdb.dwarf2/mac-fileno.exp
7238 * gdb.dwarf2/main-subprogram.exp
7239 * gdb.dwarf2/member-ptr-forwardref.exp
7240 * gdb.dwarf2/method-ptr.exp
7241 * gdb.dwarf2/missing-sig-type.exp
7242 * gdb.dwarf2/nonvar-access.exp
7243 * gdb.dwarf2/opaque-type-lookup.exp
7244 * gdb.dwarf2/pieces-optimized-out.exp
7245 * gdb.dwarf2/pieces.exp
7246 * gdb.dwarf2/pr10770.exp
7247 * gdb.dwarf2/pr13961.exp
7248 * gdb.dwarf2/staticvirtual.exp
7249 * gdb.dwarf2/subrange.exp
7250 * gdb.dwarf2/symtab-producer.exp
7251 * gdb.dwarf2/trace-crash.exp
7252 * gdb.dwarf2/typeddwarf.exp
7253 * gdb.dwarf2/valop.exp
7254 * gdb.dwarf2/watch-notconst.exp
7255 * gdb.fortran/array-element.exp
7256 * gdb.fortran/charset.exp
7257 * gdb.fortran/common-block.exp
7258 * gdb.fortran/complex.exp
7259 * gdb.fortran/derived-type-function.exp
7260 * gdb.fortran/derived-type.exp
7261 * gdb.fortran/logical.exp
7262 * gdb.fortran/module.exp
7263 * gdb.fortran/multi-dim.exp
7264 * gdb.fortran/nested-funcs.exp
7265 * gdb.fortran/print-formatted.exp
7266 * gdb.fortran/subarray.exp
7267 * gdb.fortran/vla-alloc-assoc.exp
7268 * gdb.fortran/vla-datatypes.exp
7269 * gdb.fortran/vla-history.exp
7270 * gdb.fortran/vla-ptr-info.exp
7271 * gdb.fortran/vla-ptype-sub.exp
7272 * gdb.fortran/vla-ptype.exp
7273 * gdb.fortran/vla-sizeof.exp
7274 * gdb.fortran/vla-type.exp
7275 * gdb.fortran/vla-value-sub-arbitrary.exp
7276 * gdb.fortran/vla-value-sub-finish.exp
7277 * gdb.fortran/vla-value-sub.exp
7278 * gdb.fortran/vla-value.exp
7279 * gdb.fortran/whatis_type.exp
7280 * gdb.go/chan.exp
7281 * gdb.go/handcall.exp
7282 * gdb.go/hello.exp
7283 * gdb.go/integers.exp
7284 * gdb.go/methods.exp
7285 * gdb.go/package.exp
7286 * gdb.go/strings.exp
7287 * gdb.go/types.exp
7288 * gdb.go/unsafe.exp
7289 * gdb.guile/scm-arch.exp
7290 * gdb.guile/scm-block.exp
7291 * gdb.guile/scm-breakpoint.exp
7292 * gdb.guile/scm-cmd.exp
7293 * gdb.guile/scm-disasm.exp
7294 * gdb.guile/scm-equal.exp
7295 * gdb.guile/scm-frame-args.exp
7296 * gdb.guile/scm-frame-inline.exp
7297 * gdb.guile/scm-frame.exp
7298 * gdb.guile/scm-iterator.exp
7299 * gdb.guile/scm-math.exp
7300 * gdb.guile/scm-objfile.exp
7301 * gdb.guile/scm-ports.exp
7302 * gdb.guile/scm-symbol.exp
7303 * gdb.guile/scm-symtab.exp
7304 * gdb.guile/scm-value-cc.exp
7305 * gdb.guile/types-module.exp
7306 * gdb.linespec/break-ask.exp
7307 * gdb.linespec/cpexplicit.exp
7308 * gdb.linespec/explicit.exp
7309 * gdb.linespec/keywords.exp
7310 * gdb.linespec/linespec.exp
7311 * gdb.linespec/ls-dollar.exp
7312 * gdb.linespec/ls-errs.exp
7313 * gdb.linespec/skip-two.exp
7314 * gdb.linespec/thread.exp
7315 * gdb.mi/mi-async.exp
7316 * gdb.mi/mi-basics.exp
7317 * gdb.mi/mi-break.exp
7318 * gdb.mi/mi-catch-load.exp
7319 * gdb.mi/mi-cli.exp
7320 * gdb.mi/mi-cmd-param-changed.exp
7321 * gdb.mi/mi-console.exp
7322 * gdb.mi/mi-detach.exp
7323 * gdb.mi/mi-disassemble.exp
7324 * gdb.mi/mi-eval.exp
7325 * gdb.mi/mi-file-transfer.exp
7326 * gdb.mi/mi-file.exp
7327 * gdb.mi/mi-fill-memory.exp
7328 * gdb.mi/mi-inheritance-syntax-error.exp
7329 * gdb.mi/mi-linespec-err-cp.exp
7330 * gdb.mi/mi-logging.exp
7331 * gdb.mi/mi-memory-changed.exp
7332 * gdb.mi/mi-read-memory.exp
7333 * gdb.mi/mi-record-changed.exp
7334 * gdb.mi/mi-reg-undefined.exp
7335 * gdb.mi/mi-regs.exp
7336 * gdb.mi/mi-return.exp
7337 * gdb.mi/mi-reverse.exp
7338 * gdb.mi/mi-simplerun.exp
7339 * gdb.mi/mi-solib.exp
7340 * gdb.mi/mi-stack.exp
7341 * gdb.mi/mi-stepi.exp
7342 * gdb.mi/mi-syn-frame.exp
7343 * gdb.mi/mi-until.exp
7344 * gdb.mi/mi-var-block.exp
7345 * gdb.mi/mi-var-child.exp
7346 * gdb.mi/mi-var-cmd.exp
7347 * gdb.mi/mi-var-cp.exp
7348 * gdb.mi/mi-var-display.exp
7349 * gdb.mi/mi-var-invalidate.exp
7350 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7351 * gdb.mi/mi-vla-fortran.exp
7352 * gdb.mi/mi-watch.exp
7353 * gdb.mi/mi2-var-child.exp
7354 * gdb.mi/user-selected-context-sync.exp
7355 * gdb.modula2/unbounded-array.exp
7356 * gdb.multi/dummy-frame-restore.exp
7357 * gdb.multi/multi-arch-exec.exp
7358 * gdb.multi/multi-arch.exp
7359 * gdb.multi/tids.exp
7360 * gdb.multi/watchpoint-multi.exp
7361 * gdb.opencl/callfuncs.exp
7362 * gdb.opencl/convs_casts.exp
7363 * gdb.opencl/datatypes.exp
7364 * gdb.opencl/operators.exp
7365 * gdb.opencl/vec_comps.exp
7366 * gdb.opt/clobbered-registers-O2.exp
7367 * gdb.opt/inline-break.exp
7368 * gdb.opt/inline-bt.exp
7369 * gdb.opt/inline-cmds.exp
7370 * gdb.opt/inline-locals.exp
7371 * gdb.pascal/case-insensitive-symbols.exp
7372 * gdb.pascal/floats.exp
7373 * gdb.pascal/gdb11492.exp
7374 * gdb.python/lib-types.exp
7375 * gdb.python/py-arch.exp
7376 * gdb.python/py-as-string.exp
7377 * gdb.python/py-bad-printers.exp
7378 * gdb.python/py-block.exp
7379 * gdb.python/py-breakpoint-create-fail.exp
7380 * gdb.python/py-breakpoint.exp
7381 * gdb.python/py-caller-is.exp
7382 * gdb.python/py-cmd.exp
7383 * gdb.python/py-explore-cc.exp
7384 * gdb.python/py-explore.exp
7385 * gdb.python/py-finish-breakpoint.exp
7386 * gdb.python/py-finish-breakpoint2.exp
7387 * gdb.python/py-frame-args.exp
7388 * gdb.python/py-frame-inline.exp
7389 * gdb.python/py-frame.exp
7390 * gdb.python/py-framefilter-mi.exp
7391 * gdb.python/py-infthread.exp
7392 * gdb.python/py-lazy-string.exp
7393 * gdb.python/py-linetable.exp
7394 * gdb.python/py-mi-events.exp
7395 * gdb.python/py-mi-objfile.exp
7396 * gdb.python/py-mi.exp
7397 * gdb.python/py-objfile.exp
7398 * gdb.python/py-pp-integral.exp
7399 * gdb.python/py-pp-maint.exp
7400 * gdb.python/py-pp-re-notag.exp
7401 * gdb.python/py-pp-registration.exp
7402 * gdb.python/py-recurse-unwind.exp
7403 * gdb.python/py-strfns.exp
7404 * gdb.python/py-symbol.exp
7405 * gdb.python/py-symtab.exp
7406 * gdb.python/py-sync-interp.exp
7407 * gdb.python/py-typeprint.exp
7408 * gdb.python/py-unwind-maint.exp
7409 * gdb.python/py-unwind.exp
7410 * gdb.python/py-value-cc.exp
7411 * gdb.python/py-xmethods.exp
7412 * gdb.reverse/amd64-tailcall-reverse.exp
7413 * gdb.reverse/break-precsave.exp
7414 * gdb.reverse/break-reverse.exp
7415 * gdb.reverse/consecutive-precsave.exp
7416 * gdb.reverse/consecutive-reverse.exp
7417 * gdb.reverse/finish-precsave.exp
7418 * gdb.reverse/finish-reverse-bkpt.exp
7419 * gdb.reverse/finish-reverse.exp
7420 * gdb.reverse/fstatat-reverse.exp
7421 * gdb.reverse/getresuid-reverse.exp
7422 * gdb.reverse/i386-precsave.exp
7423 * gdb.reverse/i386-reverse.exp
7424 * gdb.reverse/i386-sse-reverse.exp
7425 * gdb.reverse/i387-env-reverse.exp
7426 * gdb.reverse/i387-stack-reverse.exp
7427 * gdb.reverse/insn-reverse.exp
7428 * gdb.reverse/machinestate-precsave.exp
7429 * gdb.reverse/machinestate.exp
7430 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7431 * gdb.reverse/pipe-reverse.exp
7432 * gdb.reverse/readv-reverse.exp
7433 * gdb.reverse/recvmsg-reverse.exp
7434 * gdb.reverse/rerun-prec.exp
7435 * gdb.reverse/s390-mvcle.exp
7436 * gdb.reverse/step-precsave.exp
7437 * gdb.reverse/step-reverse.exp
7438 * gdb.reverse/time-reverse.exp
7439 * gdb.reverse/until-precsave.exp
7440 * gdb.reverse/until-reverse.exp
7441 * gdb.reverse/waitpid-reverse.exp
7442 * gdb.reverse/watch-precsave.exp
7443 * gdb.reverse/watch-reverse.exp
7444 * gdb.rust/generics.exp
7445 * gdb.rust/methods.exp
7446 * gdb.rust/modules.exp
7447 * gdb.rust/simple.exp
7448 * gdb.server/connect-with-no-symbol-file.exp
7449 * gdb.server/ext-attach.exp
7450 * gdb.server/ext-restart.exp
7451 * gdb.server/ext-wrapper.exp
7452 * gdb.server/file-transfer.exp
7453 * gdb.server/server-exec-info.exp
7454 * gdb.server/server-kill.exp
7455 * gdb.server/server-mon.exp
7456 * gdb.server/wrapper.exp
7457 * gdb.stabs/exclfwd.exp
7458 * gdb.stabs/gdb11479.exp
7459 * gdb.threads/clone-new-thread-event.exp
7460 * gdb.threads/corethreads.exp
7461 * gdb.threads/current-lwp-dead.exp
7462 * gdb.threads/dlopen-libpthread.exp
7463 * gdb.threads/gcore-thread.exp
7464 * gdb.threads/sigstep-threads.exp
7465 * gdb.threads/watchpoint-fork.exp
7466 * gdb.trace/actions-changed.exp
7467 * gdb.trace/backtrace.exp
7468 * gdb.trace/change-loc.exp
7469 * gdb.trace/circ.exp
7470 * gdb.trace/collection.exp
7471 * gdb.trace/disconnected-tracing.exp
7472 * gdb.trace/ftrace.exp
7473 * gdb.trace/mi-trace-frame-collected.exp
7474 * gdb.trace/mi-trace-unavailable.exp
7475 * gdb.trace/mi-traceframe-changed.exp
7476 * gdb.trace/mi-tsv-changed.exp
7477 * gdb.trace/no-attach-trace.exp
7478 * gdb.trace/passc-dyn.exp
7479 * gdb.trace/qtro.exp
7480 * gdb.trace/range-stepping.exp
7481 * gdb.trace/read-memory.exp
7482 * gdb.trace/save-trace.exp
7483 * gdb.trace/signal.exp
7484 * gdb.trace/status-stop.exp
7485 * gdb.trace/tfile.exp
7486 * gdb.trace/trace-break.exp
7487 * gdb.trace/trace-buffer-size.exp
7488 * gdb.trace/trace-condition.exp
7489 * gdb.trace/tracefile-pseudo-reg.exp
7490 * gdb.trace/tstatus.exp
7491 * gdb.trace/unavailable.exp
7492 * gdb.trace/while-dyn.exp
7493 * gdb.trace/while-stepping.exp
7494
34c41c68
DE
74952016-12-22 Doug Evans <xdje42@gmail.com>
7496
7497 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7498 and msymbols.
7499
16e69324
YQ
75002016-12-19 Yao Qi <yao.qi@linaro.org>
7501
7502 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7503 (test_with_self): Don't call do_steps_and_nexts, and remove
7504 code about stepping into xmalloc.
7505
f94f411b
YQ
75062016-12-09 Yao Qi <yao.qi@linaro.org>
7507
7508 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7509
75102016-12-09 Yao Qi <yao.qi@linaro.org>
7511
7512 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7513
f1b5deee
PA
75142016-12-09 Pedro Alves <palves@redhat.com>
7515
7516 * gdb.base/all-architectures-0.exp: New file.
7517 * gdb.base/all-architectures-1.exp: New file.
7518 * gdb.base/all-architectures-2.exp: New file.
7519 * gdb.base/all-architectures-3.exp: New file.
7520 * gdb.base/all-architectures-4.exp: New file.
7521 * gdb.base/all-architectures-5.exp: New file.
7522 * gdb.base/all-architectures-6.exp: New file.
7523 * gdb.base/all-architectures-7.exp: New file.
7524 * gdb.base/all-architectures.exp.in: New file.
7525
364ca42e
YQ
75262016-12-09 Yao Qi <yao.qi@linaro.org>
7527
7528 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7529
107c2d62
LM
75302016-12-02 Luis Machado <lgustavo@codesourcery.com>
7531
7532 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7533 possible.
7534 Remove useless pattern-matching code.
7535
df3ee9ca
PA
75362016-12-02 Pedro Alves <palves@redhat.com>
7537
7538 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7539 procedure.
7540 (top level): Call it.
7541
ec835369
PA
75422016-12-02 Pedro Alves <palves@redhat.com>
7543
7544 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7545 New procedure.
7546 (top level): Call it.
7547
01770bbd
PA
75482016-12-02 Pedro Alves <palves@redhat.com>
7549
7550 PR cli/20559
7551 * gdb.base/commands.exp (user_defined_command_args_eval): New
7552 procedure.
7553 (top level): Call it.
7554
008459ea
LM
75552016-12-02 Luis Machado <lgustavo@codesourcery.com>
7556
7557 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7558 timeout handling.
7559
0c1b455e
TT
75602016-12-02 Tom Tromey <tom@tromey.com>
7561
7562 * gdb.dwarf2/main-subprogram.c: New file.
7563 * gdb.dwarf2/main-subprogram.exp: New file.
7564
018572b8
LM
75652016-12-01 Luis Machado <lgustavo@codesourcery.com>
7566
7567 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7568 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7569 gdb_test_no_output for a couple of cases.
7570 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7571
84c93cd5
LM
75722016-12-01 Luis Machado <lgustavo@codesourcery.com>
7573
7574 Fix test names and standardize compilation error messages throughout
7575 the following files:
7576
7577 * gdb.ada/start.exp
7578 * gdb.arch/alpha-step.exp
7579 * gdb.arch/e500-prologue.exp
7580 * gdb.arch/ftrace-insn-reloc.exp
7581 * gdb.arch/gdb1291.exp
7582 * gdb.arch/gdb1431.exp
7583 * gdb.arch/gdb1558.exp
7584 * gdb.arch/i386-dr3-watch.exp
7585 * gdb.arch/i386-sse-stack-align.exp
7586 * gdb.arch/ia64-breakpoint-shadow.exp
7587 * gdb.arch/pa-nullify.exp
7588 * gdb.arch/powerpc-aix-prologue.exp
7589 * gdb.arch/thumb-bx-pc.exp
7590 * gdb.base/annota1.exp
7591 * gdb.base/annota3.exp
7592 * gdb.base/arrayidx.exp
7593 * gdb.base/assign.exp
7594 * gdb.base/attach.exp
7595 * gdb.base/auxv.exp
7596 * gdb.base/bang.exp
7597 * gdb.base/bfp-test.exp
7598 * gdb.base/bigcore.exp
7599 * gdb.base/bitfields2.exp
7600 * gdb.base/break-fun-addr.exp
7601 * gdb.base/break-probes.exp
7602 * gdb.base/call-rt-st.exp
7603 * gdb.base/callexit.exp
7604 * gdb.base/catch-fork-kill.exp
7605 * gdb.base/charset.exp
7606 * gdb.base/checkpoint.exp
7607 * gdb.base/comprdebug.exp
7608 * gdb.base/constvars.exp
7609 * gdb.base/coredump-filter.exp
7610 * gdb.base/cursal.exp
7611 * gdb.base/cvexpr.exp
7612 * gdb.base/detach.exp
7613 * gdb.base/display.exp
7614 * gdb.base/dmsym.exp
7615 * gdb.base/dprintf-pending.exp
7616 * gdb.base/dso2dso.exp
7617 * gdb.base/dtrace-probe.exp
7618 * gdb.base/dump.exp
7619 * gdb.base/enum_cond.exp
7620 * gdb.base/exe-lock.exp
7621 * gdb.base/exec-invalid-sysroot.exp
7622 * gdb.base/execl-update-breakpoints.exp
7623 * gdb.base/exprs.exp
7624 * gdb.base/fileio.exp
7625 * gdb.base/find.exp
7626 * gdb.base/finish.exp
7627 * gdb.base/fixsection.exp
7628 * gdb.base/foll-vfork.exp
7629 * gdb.base/frame-args.exp
7630 * gdb.base/gcore.exp
7631 * gdb.base/gdb1250.exp
7632 * gdb.base/global-var-nested-by-dso.exp
7633 * gdb.base/gnu-ifunc.exp
7634 * gdb.base/hashline1.exp
7635 * gdb.base/hashline2.exp
7636 * gdb.base/hashline3.exp
7637 * gdb.base/hbreak-in-shr-unsupported.exp
7638 * gdb.base/huge.exp
7639 * gdb.base/infcall-input.exp
7640 * gdb.base/info-fun.exp
7641 * gdb.base/info-shared.exp
7642 * gdb.base/jit-simple.exp
7643 * gdb.base/jit-so.exp
7644 * gdb.base/jit.exp
7645 * gdb.base/jump.exp
7646 * gdb.base/label.exp
7647 * gdb.base/lineinc.exp
7648 * gdb.base/logical.exp
7649 * gdb.base/longjmp.exp
7650 * gdb.base/macscp.exp
7651 * gdb.base/miscexprs.exp
7652 * gdb.base/new-ui-echo.exp
7653 * gdb.base/new-ui-pending-input.exp
7654 * gdb.base/new-ui.exp
7655 * gdb.base/nodebug.exp
7656 * gdb.base/nofield.exp
7657 * gdb.base/offsets.exp
7658 * gdb.base/overlays.exp
7659 * gdb.base/pending.exp
7660 * gdb.base/pointers.exp
7661 * gdb.base/pr11022.exp
7662 * gdb.base/printcmds.exp
7663 * gdb.base/prologue.exp
7664 * gdb.base/ptr-typedef.exp
7665 * gdb.base/realname-expand.exp
7666 * gdb.base/relativedebug.exp
7667 * gdb.base/relocate.exp
7668 * gdb.base/remote.exp
7669 * gdb.base/reread.exp
7670 * gdb.base/return2.exp
7671 * gdb.base/savedregs.exp
7672 * gdb.base/sep.exp
7673 * gdb.base/sepdebug.exp
7674 * gdb.base/sepsymtab.exp
7675 * gdb.base/set-inferior-tty.exp
7676 * gdb.base/setshow.exp
7677 * gdb.base/shlib-call.exp
7678 * gdb.base/sigaltstack.exp
7679 * gdb.base/siginfo-addr.exp
7680 * gdb.base/signals.exp
7681 * gdb.base/signull.exp
7682 * gdb.base/sigrepeat.exp
7683 * gdb.base/so-impl-ld.exp
7684 * gdb.base/solib-display.exp
7685 * gdb.base/solib-overlap.exp
7686 * gdb.base/solib-search.exp
7687 * gdb.base/solib-symbol.exp
7688 * gdb.base/structs.exp
7689 * gdb.base/structs2.exp
7690 * gdb.base/symtab-search-order.exp
7691 * gdb.base/twice.exp
7692 * gdb.base/unload.exp
7693 * gdb.base/varargs.exp
7694 * gdb.base/watchpoint-solib.exp
7695 * gdb.base/watchpoint.exp
7696 * gdb.base/whatis.exp
7697 * gdb.base/wrong_frame_bt_full.exp
7698 * gdb.btrace/dlopen.exp
7699 * gdb.cell/ea-standalone.exp
7700 * gdb.cell/ea-test.exp
7701 * gdb.cp/dispcxx.exp
7702 * gdb.cp/gdb2384.exp
7703 * gdb.cp/method2.exp
7704 * gdb.cp/nextoverthrow.exp
7705 * gdb.cp/pr10728.exp
7706 * gdb.disasm/am33.exp
7707 * gdb.disasm/h8300s.exp
7708 * gdb.disasm/mn10300.exp
7709 * gdb.disasm/sh3.exp
7710 * gdb.dwarf2/dw2-dir-file-name.exp
7711 * gdb.fortran/complex.exp
7712 * gdb.fortran/library-module.exp
7713 * gdb.guile/scm-pretty-print.exp
7714 * gdb.guile/scm-symbol.exp
7715 * gdb.guile/scm-type.exp
7716 * gdb.guile/scm-value.exp
7717 * gdb.linespec/linespec.exp
7718 * gdb.mi/gdb701.exp
7719 * gdb.mi/gdb792.exp
7720 * gdb.mi/mi-breakpoint-changed.exp
7721 * gdb.mi/mi-dprintf-pending.exp
7722 * gdb.mi/mi-dprintf.exp
7723 * gdb.mi/mi-exit-code.exp
7724 * gdb.mi/mi-pending.exp
7725 * gdb.mi/mi-solib.exp
7726 * gdb.mi/new-ui-mi-sync.exp
7727 * gdb.mi/pr11022.exp
7728 * gdb.mi/user-selected-context-sync.exp
7729 * gdb.opt/solib-intra-step.exp
7730 * gdb.python/py-events.exp
7731 * gdb.python/py-finish-breakpoint.exp
7732 * gdb.python/py-mi.exp
7733 * gdb.python/py-prettyprint.exp
7734 * gdb.python/py-shared.exp
7735 * gdb.python/py-symbol.exp
7736 * gdb.python/py-template.exp
7737 * gdb.python/py-type.exp
7738 * gdb.python/py-value.exp
7739 * gdb.reverse/solib-precsave.exp
7740 * gdb.reverse/solib-reverse.exp
7741 * gdb.server/solib-list.exp
7742 * gdb.stabs/weird.exp
7743 * gdb.threads/reconnect-signal.exp
7744 * gdb.threads/stepi-random-signal.exp
7745 * gdb.trace/actions.exp
7746 * gdb.trace/ax.exp
7747 * gdb.trace/backtrace.exp
7748 * gdb.trace/change-loc.exp
7749 * gdb.trace/deltrace.exp
7750 * gdb.trace/ftrace-lock.exp
7751 * gdb.trace/ftrace.exp
7752 * gdb.trace/infotrace.exp
7753 * gdb.trace/mi-tracepoint-changed.exp
7754 * gdb.trace/packetlen.exp
7755 * gdb.trace/passcount.exp
7756 * gdb.trace/pending.exp
7757 * gdb.trace/range-stepping.exp
7758 * gdb.trace/report.exp
7759 * gdb.trace/stap-trace.exp
7760 * gdb.trace/tfind.exp
7761 * gdb.trace/trace-break.exp
7762 * gdb.trace/trace-condition.exp
7763 * gdb.trace/trace-enable-disable.exp
7764 * gdb.trace/trace-mt.exp
7765 * gdb.trace/tracecmd.exp
7766 * gdb.trace/tspeed.exp
7767 * gdb.trace/tsv.exp
7768 * lib/perftest.exp
7769
fb9feb35
LM
77702016-12-01 Luis Machado <lgustavo@codesourcery.com>
7771
7772 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7773 with gdb_test_no_output.
7774 Use command as test name.
7775
cd2ddb6c
LM
77762016-12-01 Luis Machado <lgustavo@codesourcery.com>
7777
7778 Fix test names starting with uppercase throughout the files.
7779
7780 * gdb.ada/assign_1.exp
7781 * gdb.ada/boolean_expr.exp
7782 * gdb.base/arrayidx.exp
7783 * gdb.base/del.exp
7784 * gdb.base/gcore-buffer-overflow.exp
7785 * gdb.base/testenv.exp
7786 * gdb.compile/compile.exp
7787 * gdb.python/py-framefilter-invalidarg.exp
7788 * gdb.python/py-framefilter.exp
7789
bb95117e
LM
77902016-12-01 Luis Machado <lgustavo@codesourcery.com>
7791
7792 Fix test names starting with uppercase throughout the files.
7793
7794 * gdb.ada/array_return.exp
7795 * gdb.ada/expr_delims.exp
7796 * gdb.ada/mi_dyn_arr.exp
7797 * gdb.ada/mi_interface.exp
7798 * gdb.ada/mi_var_array.exp
7799 * gdb.ada/watch_arg.exp
7800 * gdb.arch/alpha-step.exp
7801 * gdb.arch/altivec-regs.exp
7802 * gdb.arch/e500-regs.exp
7803 * gdb.arch/powerpc-d128-regs.exp
7804 * gdb.base/arrayidx.exp
7805 * gdb.base/break.exp
7806 * gdb.base/checkpoint.exp
7807 * gdb.base/debug-expr.exp
7808 * gdb.base/dmsym.exp
7809 * gdb.base/radix.exp
7810 * gdb.base/sepdebug.exp
7811 * gdb.base/testenv.exp
7812 * gdb.base/watch_thread_num.exp
7813 * gdb.base/watchpoint-cond-gone.exp
7814 * gdb.cell/break.exp
7815 * gdb.cell/ea-cache.exp
7816 * gdb.compile/compile.exp
7817 * gdb.cp/gdb2495.exp
7818 * gdb.gdb/selftest.exp
7819 * gdb.gdb/xfullpath.exp
7820 * gdb.go/hello.exp
7821 * gdb.go/integers.exp
7822 * gdb.objc/basicclass.exp
7823 * gdb.pascal/hello.exp
7824 * gdb.pascal/integers.exp
7825 * gdb.python/py-breakpoint.exp
7826 * gdb.python/py-cmd.exp
7827 * gdb.python/py-linetable.exp
7828 * gdb.python/py-xmethods.exp
7829 * gdb.python/python.exp
7830 * gdb.reverse/consecutive-precsave.exp
7831 * gdb.reverse/finish-precsave.exp
7832 * gdb.reverse/i386-precsave.exp
7833 * gdb.reverse/machinestate-precsave.exp
7834 * gdb.reverse/sigall-precsave.exp
7835 * gdb.reverse/solib-precsave.exp
7836 * gdb.reverse/step-precsave.exp
7837 * gdb.reverse/until-precsave.exp
7838 * gdb.reverse/watch-precsave.exp
7839 * gdb.threads/leader-exit.exp
7840 * gdb.threads/pthreads.exp
7841 * gdb.threads/wp-replication.exp
7842 * gdb.trace/actions.exp
7843 * gdb.trace/mi-tsv-changed.exp
7844 * gdb.trace/tsv.exp
7845
de97fdd4
LM
78462016-12-01 Luis Machado <lgustavo@codesourcery.com>
7847
7848 Fix test names starting with uppercase throughout the files.
7849
7850 * gdb.arch/i386-bp_permanent.exp
7851 * gdb.arch/i386-gnu-cfi.exp
7852 * gdb.base/disasm-end-cu.exp
7853 * gdb.base/macscp.exp
7854 * gdb.base/pending.exp
7855 * gdb.base/watch_thread_num.exp
7856 * gdb.cp/exception.exp
7857 * gdb.cp/gdb2495.exp
7858 * gdb.cp/local.exp
7859 * gdb.python/py-evsignal.exp
7860 * gdb.python/python.exp
7861 * gdb.trace/tracecmd.exp
7862
9f058c10
LM
78632016-12-01 Luis Machado <lgustavo@codesourcery.com>
7864
7865 Fix test names starting with uppercase throughout the files.
7866
7867 * gdb.base/charset.exp
7868 * gdb.base/eval.exp
7869 * gdb.base/multi-forks.exp
7870 * gdb.guile/scm-progspace.exp
7871 * gdb.opencl/datatypes.exp
7872 * gdb.python/py-block.exp
7873 * gdb.python/py-function.exp
7874 * gdb.python/py-symbol.exp
7875 * gdb.python/py-symtab.exp
7876 * gdb.python/py-xmethods.exp
7877 * gdb.reverse/break-precsave.exp
7878 * gdb.reverse/break-reverse.exp
7879 * gdb.reverse/consecutive-precsave.exp
7880 * gdb.reverse/consecutive-reverse.exp
7881 * gdb.reverse/finish-precsave.exp
7882 * gdb.reverse/finish-reverse-bkpt.exp
7883 * gdb.reverse/finish-reverse.exp
7884 * gdb.reverse/fstatat-reverse.exp
7885 * gdb.reverse/getresuid-reverse.exp
7886 * gdb.reverse/i386-precsave.exp
7887 * gdb.reverse/i386-reverse.exp
7888 * gdb.reverse/i386-sse-reverse.exp
7889 * gdb.reverse/i387-stack-reverse.exp
7890 * gdb.reverse/insn-reverse.exp
7891 * gdb.reverse/machinestate-precsave.exp
7892 * gdb.reverse/machinestate.exp
7893 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7894 * gdb.reverse/pipe-reverse.exp
7895 * gdb.reverse/readv-reverse.exp
7896 * gdb.reverse/recvmsg-reverse.exp
7897 * gdb.reverse/rerun-prec.exp
7898 * gdb.reverse/s390-mvcle.exp
7899 * gdb.reverse/sigall-precsave.exp
7900 * gdb.reverse/sigall-reverse.exp
7901 * gdb.reverse/solib-precsave.exp
7902 * gdb.reverse/solib-reverse.exp
7903 * gdb.reverse/step-precsave.exp
7904 * gdb.reverse/step-reverse.exp
7905 * gdb.reverse/time-reverse.exp
7906 * gdb.reverse/until-precsave.exp
7907 * gdb.reverse/until-reverse.exp
7908 * gdb.reverse/waitpid-reverse.exp
7909 * gdb.reverse/watch-precsave.exp
7910 * gdb.reverse/watch-reverse.exp
7911
cdc7edd7
LM
79122016-12-01 Luis Machado <lgustavo@codesourcery.com>
7913
7914 Fix test names starting with uppercase throughout the files.
7915
7916 * gdb.arch/i386-mpx-simple_segv.exp
7917 * gdb.arch/i386-mpx.exp
7918 * gdb.arch/i386-permbkpt.exp
7919 * gdb.arch/pa-nullify.exp
7920 * gdb.arch/powerpc-d128-regs.exp
7921 * gdb.arch/vsx-regs.exp
7922 * gdb.base/bfp-test.exp
7923 * gdb.base/break.exp
7924 * gdb.base/breakpoint-shadow.exp
7925 * gdb.base/callfuncs.exp
7926 * gdb.base/charset.exp
7927 * gdb.base/commands.exp
7928 * gdb.base/completion.exp
7929 * gdb.base/dfp-test.exp
7930 * gdb.base/echo.exp
7931 * gdb.base/ending-run.exp
7932 * gdb.base/eval.exp
7933 * gdb.base/expand-psymtabs.exp
7934 * gdb.base/float128.exp
7935 * gdb.base/floatn.exp
7936 * gdb.base/foll-exec-mode.exp
7937 * gdb.base/gdb1056.exp
7938 * gdb.base/gdb11531.exp
7939 * gdb.base/kill-after-signal.exp
7940 * gdb.base/multi-forks.exp
7941 * gdb.base/overlays.exp
7942 * gdb.base/pending.exp
7943 * gdb.base/sepdebug.exp
7944 * gdb.base/testenv.exp
7945 * gdb.base/valgrind-db-attach.exp
7946 * gdb.base/watch_thread_num.exp
7947 * gdb.base/watchpoint-cond-gone.exp
7948 * gdb.base/watchpoint.exp
7949 * gdb.base/watchpoints.exp
7950 * gdb.cp/arg-reference.exp
7951 * gdb.cp/baseenum.exp
7952 * gdb.cp/operator.exp
7953 * gdb.cp/shadow.exp
7954 * gdb.dwarf2/dw2-op-out-param.exp
7955 * gdb.dwarf2/dw2-reg-undefined.exp
7956 * gdb.go/chan.exp
7957 * gdb.go/hello.exp
7958 * gdb.go/integers.exp
7959 * gdb.go/methods.exp
7960 * gdb.go/package.exp
7961 * gdb.guile/scm-parameter.exp
7962 * gdb.guile/scm-progspace.exp
7963 * gdb.guile/scm-value.exp
7964 * gdb.mi/mi-pending.exp
7965 * gdb.mi/user-selected-context-sync.exp
7966 * gdb.multi/multi-attach.exp
7967 * gdb.multi/tids.exp
7968 * gdb.opt/clobbered-registers-O2.exp
7969 * gdb.pascal/floats.exp
7970 * gdb.pascal/integers.exp
7971 * gdb.python/py-block.exp
7972 * gdb.python/py-events.exp
7973 * gdb.python/py-parameter.exp
7974 * gdb.python/py-symbol.exp
7975 * gdb.python/py-symtab.exp
7976 * gdb.python/py-type.exp
7977 * gdb.python/py-value.exp
7978 * gdb.python/py-xmethods.exp
7979 * gdb.python/python.exp
7980 * gdb.reverse/break-precsave.exp
7981 * gdb.reverse/consecutive-precsave.exp
7982 * gdb.reverse/finish-precsave.exp
7983 * gdb.reverse/i386-precsave.exp
7984 * gdb.reverse/machinestate-precsave.exp
7985 * gdb.reverse/sigall-precsave.exp
7986 * gdb.reverse/solib-precsave.exp
7987 * gdb.reverse/step-precsave.exp
7988 * gdb.reverse/until-precsave.exp
7989 * gdb.reverse/watch-precsave.exp
7990 * gdb.server/ext-attach.exp
7991 * gdb.server/ext-restart.exp
7992 * gdb.server/ext-run.exp
7993 * gdb.server/ext-wrapper.exp
7994 * gdb.stabs/gdb11479.exp
7995 * gdb.stabs/weird.exp
7996 * gdb.threads/attach-many-short-lived-threads.exp
7997 * gdb.threads/kill.exp
7998 * gdb.threads/watchpoint-fork.exp
7999
bc6c7af4
LM
80002016-12-01 Luis Machado <lgustavo@codesourcery.com>
8001
8002 Fix test names starting with uppercase throughout all the files below.
8003
8004 * gdb.ada/array_return.exp
8005 * gdb.ada/catch_ex.exp
8006 * gdb.ada/info_exc.exp
8007 * gdb.ada/mi_catch_ex.exp
8008 * gdb.ada/mi_dyn_arr.exp
8009 * gdb.ada/mi_ex_cond.exp
8010 * gdb.ada/mi_exc_info.exp
8011 * gdb.ada/mi_interface.exp
8012 * gdb.ada/mi_task_arg.exp
8013 * gdb.ada/mi_task_info.exp
8014 * gdb.ada/mi_var_array.exp
8015 * gdb.arch/alpha-step.exp
8016 * gdb.arch/amd64-disp-step.exp
8017 * gdb.arch/arm-disp-step.exp
8018 * gdb.arch/disp-step-insn-reloc.exp
8019 * gdb.arch/e500-prologue.exp
8020 * gdb.arch/ftrace-insn-reloc.exp
8021 * gdb.arch/gdb1558.exp
8022 * gdb.arch/i386-bp_permanent.exp
8023 * gdb.arch/i386-disp-step.exp
8024 * gdb.arch/i386-float.exp
8025 * gdb.arch/i386-gnu-cfi.exp
8026 * gdb.arch/ia64-breakpoint-shadow.exp
8027 * gdb.arch/mips16-thunks.exp
8028 * gdb.arch/pa-nullify.exp
8029 * gdb.arch/powerpc-aix-prologue.exp
8030 * gdb.arch/powerpc-power.exp
8031 * gdb.arch/ppc-dfp.exp
8032 * gdb.arch/s390-tdbregs.exp
8033 * gdb.arch/spu-info.exp
8034 * gdb.arch/spu-ls.exp
8035 * gdb.arch/thumb-bx-pc.exp
8036 * gdb.base/advance.exp
8037 * gdb.base/annota-input-while-running.exp
8038 * gdb.base/arrayidx.exp
8039 * gdb.base/asmlabel.exp
8040 * gdb.base/async.exp
8041 * gdb.base/attach-wait-input.exp
8042 * gdb.base/auto-connect-native-target.exp
8043 * gdb.base/batch-preserve-term-settings.exp
8044 * gdb.base/bfp-test.exp
8045 * gdb.base/bigcore.exp
8046 * gdb.base/bp-permanent.exp
8047 * gdb.base/break-always.exp
8048 * gdb.base/break-fun-addr.exp
8049 * gdb.base/break-idempotent.exp
8050 * gdb.base/break-main-file-remove-fail.exp
8051 * gdb.base/break-probes.exp
8052 * gdb.base/break-unload-file.exp
8053 * gdb.base/break.exp
8054 * gdb.base/call-ar-st.exp
8055 * gdb.base/call-rt-st.exp
8056 * gdb.base/call-sc.exp
8057 * gdb.base/call-signal-resume.exp
8058 * gdb.base/call-strs.exp
8059 * gdb.base/callexit.exp
8060 * gdb.base/callfuncs.exp
8061 * gdb.base/catch-gdb-caused-signals.exp
8062 * gdb.base/catch-signal-siginfo-cond.exp
8063 * gdb.base/catch-syscall.exp
8064 * gdb.base/compare-sections.exp
8065 * gdb.base/cond-eval-mode.exp
8066 * gdb.base/condbreak-call-false.exp
8067 * gdb.base/consecutive-step-over.exp
8068 * gdb.base/cursal.exp
8069 * gdb.base/disabled-location.exp
8070 * gdb.base/disasm-end-cu.exp
8071 * gdb.base/display.exp
8072 * gdb.base/double-prompt-target-event-error.exp
8073 * gdb.base/dprintf-bp-same-addr.exp
8074 * gdb.base/dprintf-detach.exp
8075 * gdb.base/dprintf-next.exp
8076 * gdb.base/dprintf-non-stop.exp
8077 * gdb.base/dprintf-pending.exp
8078 * gdb.base/dso2dso.exp
8079 * gdb.base/ending-run.exp
8080 * gdb.base/enum_cond.exp
8081 * gdb.base/examine-backward.exp
8082 * gdb.base/exe-lock.exp
8083 * gdb.base/exec-invalid-sysroot.exp
8084 * gdb.base/execl-update-breakpoints.exp
8085 * gdb.base/execution-termios.exp
8086 * gdb.base/fileio.exp
8087 * gdb.base/fixsection.exp
8088 * gdb.base/foll-exec-mode.exp
8089 * gdb.base/foll-exec.exp
8090 * gdb.base/fork-running-state.exp
8091 * gdb.base/frame-args.exp
8092 * gdb.base/fullpath-expand.exp
8093 * gdb.base/func-ptr.exp
8094 * gdb.base/gcore-relro-pie.exp
8095 * gdb.base/gdb1090.exp
8096 * gdb.base/gdb1555.exp
8097 * gdb.base/global-var-nested-by-dso.exp
8098 * gdb.base/gnu-ifunc.exp
8099 * gdb.base/hbreak-in-shr-unsupported.exp
8100 * gdb.base/hbreak-unmapped.exp
8101 * gdb.base/hook-stop.exp
8102 * gdb.base/infcall-input.exp
8103 * gdb.base/info-fun.exp
8104 * gdb.base/info-shared.exp
8105 * gdb.base/interrupt-noterm.exp
8106 * gdb.base/jit-so.exp
8107 * gdb.base/jit.exp
8108 * gdb.base/line-symtabs.exp
8109 * gdb.base/list.exp
8110 * gdb.base/longjmp.exp
8111 * gdb.base/macscp.exp
8112 * gdb.base/max-value-size.exp
8113 * gdb.base/nodebug.exp
8114 * gdb.base/nofield.exp
8115 * gdb.base/overlays.exp
8116 * gdb.base/paginate-after-ctrl-c-running.exp
8117 * gdb.base/paginate-bg-execution.exp
8118 * gdb.base/paginate-inferior-exit.exp
8119 * gdb.base/pending.exp
8120 * gdb.base/pr11022.exp
8121 * gdb.base/printcmds.exp
8122 * gdb.base/ptr-typedef.exp
8123 * gdb.base/ptype.exp
8124 * gdb.base/randomize.exp
8125 * gdb.base/range-stepping.exp
8126 * gdb.base/realname-expand.exp
8127 * gdb.base/relativedebug.exp
8128 * gdb.base/remote.exp
8129 * gdb.base/savedregs.exp
8130 * gdb.base/sepdebug.exp
8131 * gdb.base/set-noassign.exp
8132 * gdb.base/shlib-call.exp
8133 * gdb.base/shreloc.exp
8134 * gdb.base/sigaltstack.exp
8135 * gdb.base/sigbpt.exp
8136 * gdb.base/siginfo-addr.exp
8137 * gdb.base/siginfo-obj.exp
8138 * gdb.base/siginfo-thread.exp
8139 * gdb.base/signest.exp
8140 * gdb.base/signull.exp
8141 * gdb.base/sigrepeat.exp
8142 * gdb.base/skip.exp
8143 * gdb.base/so-impl-ld.exp
8144 * gdb.base/solib-corrupted.exp
8145 * gdb.base/solib-disc.exp
8146 * gdb.base/solib-display.exp
8147 * gdb.base/solib-overlap.exp
8148 * gdb.base/solib-search.exp
8149 * gdb.base/solib-symbol.exp
8150 * gdb.base/source-execution.exp
8151 * gdb.base/sss-bp-on-user-bp-2.exp
8152 * gdb.base/sss-bp-on-user-bp.exp
8153 * gdb.base/stack-checking.exp
8154 * gdb.base/stale-infcall.exp
8155 * gdb.base/step-break.exp
8156 * gdb.base/step-line.exp
8157 * gdb.base/step-over-exit.exp
8158 * gdb.base/step-test.exp
8159 * gdb.base/structs.exp
8160 * gdb.base/sym-file.exp
8161 * gdb.base/symtab-search-order.exp
8162 * gdb.base/term.exp
8163 * gdb.base/type-opaque.exp
8164 * gdb.base/unload.exp
8165 * gdb.base/until-nodebug.exp
8166 * gdb.base/until.exp
8167 * gdb.base/unwindonsignal.exp
8168 * gdb.base/watch-cond.exp
8169 * gdb.base/watch-non-mem.exp
8170 * gdb.base/watch_thread_num.exp
8171 * gdb.base/watchpoint-reuse-slot.exp
8172 * gdb.base/watchpoint-solib.exp
8173 * gdb.base/watchpoint.exp
8174 * gdb.btrace/dlopen.exp
8175 * gdb.cell/arch.exp
8176 * gdb.cell/break.exp
8177 * gdb.cell/bt.exp
8178 * gdb.cell/core.exp
8179 * gdb.cell/data.exp
8180 * gdb.cell/dwarfaddr.exp
8181 * gdb.cell/ea-cache.exp
8182 * gdb.cell/ea-standalone.exp
8183 * gdb.cell/ea-test.exp
8184 * gdb.cell/f-regs.exp
8185 * gdb.cell/fork.exp
8186 * gdb.cell/gcore.exp
8187 * gdb.cell/mem-access.exp
8188 * gdb.cell/ptype.exp
8189 * gdb.cell/registers.exp
8190 * gdb.cell/sizeof.exp
8191 * gdb.cell/solib-symbol.exp
8192 * gdb.cell/solib.exp
8193 * gdb.compile/compile-tls.exp
8194 * gdb.cp/exception.exp
8195 * gdb.cp/gdb2495.exp
8196 * gdb.cp/local.exp
8197 * gdb.cp/mb-inline.exp
8198 * gdb.cp/mb-templates.exp
8199 * gdb.cp/pr10687.exp
8200 * gdb.cp/pr9167.exp
8201 * gdb.cp/scope-err.exp
8202 * gdb.cp/templates.exp
8203 * gdb.cp/virtfunc.exp
8204 * gdb.dwarf2/dw2-dir-file-name.exp
8205 * gdb.dwarf2/dw2-single-line-discriminators.exp
8206 * gdb.fortran/complex.exp
8207 * gdb.fortran/library-module.exp
8208 * gdb.guile/guile.exp
8209 * gdb.guile/scm-cmd.exp
8210 * gdb.guile/scm-frame-inline.exp
8211 * gdb.guile/scm-objfile.exp
8212 * gdb.guile/scm-pretty-print.exp
8213 * gdb.guile/scm-symbol.exp
8214 * gdb.guile/scm-type.exp
8215 * gdb.guile/scm-value.exp
8216 * gdb.linespec/keywords.exp
8217 * gdb.linespec/ls-errs.exp
8218 * gdb.linespec/macro-relative.exp
8219 * gdb.linespec/thread.exp
8220 * gdb.mi/mi-breakpoint-changed.exp
8221 * gdb.mi/mi-dprintf-pending.exp
8222 * gdb.mi/mi-fullname-deleted.exp
8223 * gdb.mi/mi-logging.exp
8224 * gdb.mi/mi-pending.exp
8225 * gdb.mi/mi-solib.exp
8226 * gdb.mi/new-ui-mi-sync.exp
8227 * gdb.mi/user-selected-context-sync.exp
8228 * gdb.multi/dummy-frame-restore.exp
8229 * gdb.multi/multi-arch-exec.exp
8230 * gdb.multi/remove-inferiors.exp
8231 * gdb.multi/watchpoint-multi-exit.exp
8232 * gdb.opt/solib-intra-step.exp
8233 * gdb.perf/backtrace.exp
8234 * gdb.perf/single-step.exp
8235 * gdb.perf/skip-command.exp
8236 * gdb.perf/skip-prologue.exp
8237 * gdb.perf/solib.exp
8238 * gdb.python/lib-types.exp
8239 * gdb.python/py-as-string.exp
8240 * gdb.python/py-bad-printers.exp
8241 * gdb.python/py-block.exp
8242 * gdb.python/py-breakpoint.exp
8243 * gdb.python/py-cmd.exp
8244 * gdb.python/py-events.exp
8245 * gdb.python/py-evthreads.exp
8246 * gdb.python/py-finish-breakpoint.exp
8247 * gdb.python/py-finish-breakpoint2.exp
8248 * gdb.python/py-frame-inline.exp
8249 * gdb.python/py-frame.exp
8250 * gdb.python/py-inferior.exp
8251 * gdb.python/py-infthread.exp
8252 * gdb.python/py-mi.exp
8253 * gdb.python/py-objfile.exp
8254 * gdb.python/py-pp-maint.exp
8255 * gdb.python/py-pp-registration.exp
8256 * gdb.python/py-prettyprint.exp
8257 * gdb.python/py-recurse-unwind.exp
8258 * gdb.python/py-shared.exp
8259 * gdb.python/py-symbol.exp
8260 * gdb.python/py-symtab.exp
8261 * gdb.python/py-template.exp
8262 * gdb.python/py-type.exp
8263 * gdb.python/py-unwind-maint.exp
8264 * gdb.python/py-unwind.exp
8265 * gdb.python/py-value.exp
8266 * gdb.python/python.exp
8267 * gdb.reverse/finish-reverse-bkpt.exp
8268 * gdb.reverse/insn-reverse.exp
8269 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8270 * gdb.reverse/solib-precsave.exp
8271 * gdb.reverse/solib-reverse.exp
8272 * gdb.stabs/gdb11479.exp
8273 * gdb.stabs/weird.exp
8274 * gdb.threads/fork-child-threads.exp
8275 * gdb.threads/fork-plus-threads.exp
8276 * gdb.threads/fork-thread-pending.exp
8277 * gdb.threads/forking-threads-plus-breakpoint.exp
8278 * gdb.threads/hand-call-in-threads.exp
8279 * gdb.threads/interrupted-hand-call.exp
8280 * gdb.threads/linux-dp.exp
8281 * gdb.threads/local-watch-wrong-thread.exp
8282 * gdb.threads/next-while-other-thread-longjmps.exp
8283 * gdb.threads/non-ldr-exit.exp
8284 * gdb.threads/pending-step.exp
8285 * gdb.threads/print-threads.exp
8286 * gdb.threads/process-dies-while-detaching.exp
8287 * gdb.threads/process-dies-while-handling-bp.exp
8288 * gdb.threads/pthreads.exp
8289 * gdb.threads/queue-signal.exp
8290 * gdb.threads/reconnect-signal.exp
8291 * gdb.threads/signal-command-handle-nopass.exp
8292 * gdb.threads/signal-command-multiple-signals-pending.exp
8293 * gdb.threads/signal-delivered-right-thread.exp
8294 * gdb.threads/signal-sigtrap.exp
8295 * gdb.threads/sigthread.exp
8296 * gdb.threads/staticthreads.exp
8297 * gdb.threads/stepi-random-signal.exp
8298 * gdb.threads/thread-unwindonsignal.exp
8299 * gdb.threads/thread_check.exp
8300 * gdb.threads/thread_events.exp
8301 * gdb.threads/tid-reuse.exp
8302 * gdb.threads/tls-nodebug.exp
8303 * gdb.threads/tls-shared.exp
8304 * gdb.threads/tls-so_extern.exp
8305 * gdb.threads/tls.exp
8306 * gdb.threads/wp-replication.exp
8307 * gdb.trace/actions-changed.exp
8308 * gdb.trace/actions.exp
8309 * gdb.trace/backtrace.exp
8310 * gdb.trace/change-loc.exp
8311 * gdb.trace/collection.exp
8312 * gdb.trace/deltrace.exp
8313 * gdb.trace/disconnected-tracing.exp
8314 * gdb.trace/entry-values.exp
8315 * gdb.trace/ftrace-lock.exp
8316 * gdb.trace/ftrace.exp
8317 * gdb.trace/infotrace.exp
8318 * gdb.trace/mi-trace-frame-collected.exp
8319 * gdb.trace/mi-trace-unavailable.exp
8320 * gdb.trace/mi-traceframe-changed.exp
8321 * gdb.trace/mi-tracepoint-changed.exp
8322 * gdb.trace/mi-tsv-changed.exp
8323 * gdb.trace/no-attach-trace.exp
8324 * gdb.trace/packetlen.exp
8325 * gdb.trace/passc-dyn.exp
8326 * gdb.trace/passcount.exp
8327 * gdb.trace/pending.exp
8328 * gdb.trace/pr16508.exp
8329 * gdb.trace/qtro.exp
8330 * gdb.trace/range-stepping.exp
8331 * gdb.trace/read-memory.exp
8332 * gdb.trace/report.exp
8333 * gdb.trace/save-trace.exp
8334 * gdb.trace/signal.exp
8335 * gdb.trace/stap-trace.exp
8336 * gdb.trace/status-stop.exp
8337 * gdb.trace/strace.exp
8338 * gdb.trace/tfile.exp
8339 * gdb.trace/tfind.exp
8340 * gdb.trace/trace-break.exp
8341 * gdb.trace/trace-condition.exp
8342 * gdb.trace/trace-enable-disable.exp
8343 * gdb.trace/trace-mt.exp
8344 * gdb.trace/tracecmd.exp
8345 * gdb.trace/tracefile-pseudo-reg.exp
8346 * gdb.trace/tspeed.exp
8347 * gdb.trace/tstatus.exp
8348 * gdb.trace/tsv.exp
8349 * gdb.trace/unavailable.exp
8350 * gdb.trace/while-dyn.exp
8351 * gdb.trace/while-stepping.exp
8352 * lib/gdb-guile.exp
8353 * lib/gdb.exp
8354 * lib/mi-support.exp
8355 * lib/pascal.exp
8356 * lib/perftest.exp
8357 * lib/prelink-support.exp
8358 * lib/selftest-support.exp
8359
ad02e4fe
SM
83602016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8361
8362 * Makefile.in: Include disable-implicit-rules.mk.
8363
22347e55
AA
83642016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8365
8366 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8367 non-byte-aligned bit fields.
8368
da5b30da
AA
83692016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8370
8371 PR gdb/12616
8372 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8373 respects the DW_AT_data_bit_offset attribute.
8374
b593ecca
SM
83752016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8376
8377 * gdb.base/default.exp: Fix output of "set language".
8378
3b165252
SM
83792016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8380
8381 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8382 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8383 make.
8384 * configure.ac: Remove checks for the make program.
8385 * configure: Re-generate.
8386
1a2f3d7f
KB
83872016-11-16 Kevin Buettner <kevinb@redhat.com>
8388
8389 * gdb.python/py-recurse-unwind.c (main): Add loop.
8390 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8391 to read_register() and gdb.parse_and_eval(). Make each code
8392 call a separate case that can be individually tested.
8393 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8394 proc. Call cont_and_backtrace for each of the code paths that
8395 we want to test in the unwinder.
8396
b7f38fda
AA
83972016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8398
8399 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8400 the definition of struct S.
8401
1f8db343
CM
84022016-11-11 Catherine Moore <clm@codesourcery.com>
8403
8404 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8405
fad0c9fb
PA
84062016-11-09 Pedro Alves <palves@redhat.com>
8407
8408 * gdb.base/commands.exp (runto_or_return): New procedure.
8409 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8410 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8411 (progvar_simple_while_test, progvar_complex_if_while_test)
8412 (if_while_breakpoint_command_test)
8413 (infrun_breakpoint_command_test, breakpoint_command_test)
8414 (user_defined_command_test, watchpoint_command_test)
8415 (test_command_prompt_position, redefine_hook_test)
8416 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8417 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8418 multi_line_input and multi_line. Remove gdb_expect and
8419 gdb_stop_suppressing_tests uses.
8420 * lib/gdb.exp (valnum_re): New global.
8421 (multi_line_input): New procedure.
8422
8354c62c
SM
84232016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8424
8425 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8426 Remove.
8427 (test_setup): Define with proc_with_prefix.
8428 (test_cli_inferior): Likewise.
8429 (test_cli_thread): Likewise.
8430 (test_cli_frame): Likewise.
8431 (test_cli_select_frame): Likewise.
8432 (test_cli_up_down): Likewise.
8433 (test_mi_thread_select): Likewise.
8434 (test_mi_stack_select_frame): Likewise.
8435 (test_cli_in_mi_inferior): Likewise.
8436 (test_cli_in_mi_thread): Likewise.
8437 (test_cli_in_mi_frame): Likewise.
8438 (top level): Do not use with_test_prefix_procname.
8439
64f367a2
PA
84402016-11-09 Pedro Alves <palves@redhat.com>
8441
8442 * gdb.base/commands.exp (gdbvar_simple_if_test)
8443 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8444 (progvar_simple_if_test, progvar_simple_while_test)
8445 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8446 (infrun_breakpoint_command_test, breakpoint_command_test)
8447 (user_defined_command_test, watchpoint_command_test)
8448 (test_command_prompt_position, deprecated_command_test)
8449 (bp_deleted_in_command, temporary_breakpoint_commands)
8450 (stray_arg0_test, source_file_with_indented_comment)
8451 (recursive_source_test, if_commands_test)
8452 (error_clears_commands_left, redefine_hook_test)
8453 (redefine_backtrace_test): Use proc_with_prefix.
8454 * lib/gdb.exp (proc_with_prefix): New proc.
8455
0bb65f1e
AA
84562016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8457
8458 * gdb.base/tui-layout.c: New file.
8459 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8460 disassembly window contains very long lines.
8461
7353f247
TT
84622016-11-08 Tom Tromey <tom@tromey.com>
8463
8464 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8465 depend on Python 2.
8466
30a7bb83
TT
84672016-11-08 Tom Tromey <tom@tromey.com>
8468
8469 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8470 New method.
8471
cdf5a07c
MG
84722016-10-29 Manish Goregaokar <manish@mozilla.com>
8473
2806dc7e 8474 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 8475
51a789c3
MG
84762016-10-27 Manish Goregaokar <manish@mozilla.com>
8477
2806dc7e
PA
8478 * gdb.rust/simple.rs: Add test for univariant enums without
8479 discriminants and for encoded struct-like enums.
51a789c3 8480
f610ab6d
PA
84812016-10-28 Pedro Alves <palves@redhat.com>
8482
8483 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8484 gdb_test_multiple, tighten regexps and match symtabs and line
8485 tables incrementally.
8486
b129b0ca
LM
84872016-10-28 Luis Machado <lgustavo@codesourcery.com>
8488
8489 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8490 general.
8491
ecf45d2c
SL
84922016-10-25 Luis Machado <lgustavo@codesourcery.com>
8493
8494 * gdb.base/exec-invalid-sysroot.exp: New file.
8495
b8d38ee4
JK
84962016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8497
8498 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8499
f90fd8c2
JK
85002016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8501
8502 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8503
2d2476aa
MR
85042016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8505
2806dc7e
PA
8506 * gdb.base/killed-outside.exp: Remove $options from a call to
8507 `prepare_for_testing'.
2d2476aa 8508
e42b25a0
SM
85092016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8510
8511 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8512 Change test message.
8513
3ccdb432
SM
85142016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8515
8516 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8517 Update comment.
8518
5bad3170
SM
85192016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8520
8521 * gdb.trace/mi-trace-save.exp: New file.
8522
5ad9dba7
YQ
85232016-10-13 Yao Qi <yao.qi@linaro.org>
8524
8525 * gdb.base/code_elim.exp (get_var_address): Remove.
8526 * gdb.base/relocate.exp: Likewise.
8527 * gdb.base/shreloc.exp: Likewise.
8528 * lib/gdb.exp (get_var_address): New.
8529
62df7e21
YQ
85302016-10-13 Yao Qi <yao.qi@linaro.org>
8531
8532 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8533 floating point tests if $skip_float_test is false.
8534
4dac951e
LM
85352016-10-12 Luis Machado <lgustavo@codesourcery.com>
8536
8537 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8538 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8539 argc values.
8540 Add 1 to argc so we guarantee distinct initial/modified argc values.
8541
8f1a8fc4
JK
85422016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8543
8544 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8545
16c85b5d
JK
85462016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8547
8548 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8549 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8550 * gdb.arch/vsx-regs.exp: Likewise.
8551
1d0e042a
YQ
85522016-10-07 Yao Qi <yao.qi@linaro.org>
8553
8554 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8555
68dadef5
MM
85562016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8557
8558 * gdb.python/python.exp: Test decode_line("*0").
8559
33fa2c6e
DE
85602016-10-06 Doug Evans <dje@google.com>
8561
8562 * gdb.python/py-value.exp (test_value_creation): Add test for large
8563 unsigned 64-bit value.
8564
9c37b5ae
TT
85652016-10-06 Tom Tromey <tom@tromey.com>
8566
8567 * gdb.compile/compile.exp: Change java tests to rust.
8568 * gdb.base/setshow.exp: Change java tests to rust.
8569 * gdb.base/default.exp: Remove java from language list.
8570 * README (Examples): Update language example.
8571 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8572 test.
8573 * lib/gdb.exp (skip_java_tests): Remove.
8574 * lib/java.exp: Remove.
8575 * gdb.java: Remove.
8576
78b86327
MR
85772016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8578
8579 * gdb.arch/mips-fcr.exp: New test.
8580 * gdb.arch/mips-fcr.c: Source for the new test.
8581
7470adbb
MR
85822016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8583
8584 * gdb.base/solib-disc.exp: Use `standard_output_file'
8585 throughout.
8586
4a556533
PA
85872016-10-06 Pedro Alves <palves@redhat.com>
8588
8589 * gdb.base/jit-simple-dl.c: New file.
8590 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8591 * gdb.base/jit-simple.c: ... this.
8592 * gdb.base/jit-simple.exp (jit_run): Delete.
8593 (build_jit): New proc.
8594 (jit_test_reread): Recompile either the main program or the shared
8595 library, depending on what is being tested. Skip changing address
8596 if caller wants to. Compare before/after addresses. If testing
8597 standalone, explicitly load the binary. Test "maint info
8598 breakpoints".
8599 (top level): Add "standalone vs shared lib" and "change address"
8600 vs "same address" axes.
8601
5a122fbc
PA
86022016-10-06 Pedro Alves <palves@redhat.com>
8603
8604 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8605 call.
8606 (jit_run): Delete.
8607 (jit_test_reread): Use with_test_prefix. Reload the main binary
8608 explicitly. Compare the before/after addresses of the JIT
8609 descriptor.
8610
ee8da4b8
DE
86112016-08-15 Doug Evans <dje@google.com>
8612
8613 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8614 for single bitfields is bool.
8615 * gdb.xml/tdesc-regs.exp: Ditto.
8616
f389f6fe
JK
86172016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8618
8619 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8620
fdebf1a4
YQ
86212016-10-05 Yao Qi <yao.qi@linaro.org>
8622
8623 * lib/gdb.exp (support_complex_tests): Return zero if
8624 gdb_skip_float_test return true.
8625
9c36d954 86262016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 8627 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
8628
8629 PR gdb/20487
8630 * gdb.mi/user-selected-context-sync.exp: New file.
8631 * gdb.mi/user-selected-context-sync.c: New file.
8632
4034d0ff 86332016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 8634 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
8635
8636 PR gdb/20487
8637 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8638 =thread-select-event check.
8639
a4297203
PB
86402016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8641
8642 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8643 the compulsory L operand changes.
8644 * gdb.arch/powerpc-power.s: Likewise.
8645
bb805577
JK
86462016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8647
8648 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8649 * gdb.base/jit-attach-pie.c: New file.
8650 * gdb.base/jit-attach-pie.exp: New file.
8651
6d61dee5
PA
86522016-09-28 Pedro Alves <palves@redhat.com>
8653
8654 * gdb.base/infcall-input.c: New file.
8655 * gdb.base/infcall-input.exp: New file.
8656
f73842fc
YQ
86572016-09-22 Yao Qi <yao.qi@linaro.org>
8658
8659 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8660 (gdb_exit): Rename it to ...
8661 (gdbserver_gdb_exit): ... Close GDBserver.
8662 (gdb_exit): New proc, call gdbserver_gdb_exit.
8663 (mi_gdb_exit): Likewise.
8664
90681dab
YQ
86652016-09-22 Yao Qi <yao.qi@linaro.org>
8666
8667 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8668 path.
8669 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8670 Remove duplication.
8671
9c211fd8
YQ
86722016-09-22 Yao Qi <yao.qi@linaro.org>
8673
8674 * lib/gdbserver-support.exp: Check the existence of
8675 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8676
ad0a504f
AK
86772016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8678
8679 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8680
36cf1806
TT
86812016-09-21 Tom Tromey <tom@tromey.com>
8682
8683 PR gdb/20604:
8684 * gdb.base/quit.exp: New file.
8685
74172ecf
SM
86862016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8687
8688 * .gitignore: New file.
8689
3d0ec882
MR
86902016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8691
8692 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8693 throughout.
8694
8193adea
AA
86952016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8696
8697 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8698
d41a5c09
JK
86992016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8700
8701 * gdb.cp/casts.cc (decltype): Move it ...
8702 (main): ... with its call to ...
8703 * gdb.cp/casts03.cc: ... a new file.
8704 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8705
d2dfe700
JK
87062016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8707
8708 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8709
e2a92b16
PB
87102016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8711
8712 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8713 and sync up the test with tests in gas/testsuite/gas/ppc.
8714 * gdb.arch/powerpc-power.exp: Likewise.
8715
49b4de64
JK
87162016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8717
8718 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8719
2c29df25
SDJ
87202016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8721 Jan Kratochvil <jan.kratochvil@redhat.com>
8722
8723 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8724 make m1's definition to be different from m2's. Use 'dummy' as an
8725 argument for probe 'two'.
8726
cc3c2846
JB
87272016-09-10 Jon Beniston <jon@beniston.com>
8728
8729 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8730 for sim target.
8731
e1b2624a
AA
87322016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8733
8734 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8735 variable declaration.
8736 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8737 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8738 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8739 received HWCAP as its argument.
8740
4295e285
PA
87412016-09-06 Pedro Alves <palves@redhat.com>
8742
8743 * gdb.base/new-ui-pending-input.c: New file.
8744 * gdb.base/new-ui-pending-input.exp: New file.
8745 * gdb.exp (clear_gdb_spawn_id): New procedure.
8746 (with_spawn_id): Check whether gdb_spawn_id exists before
8747 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8748 on exit.
8749
00d5215e
UW
87502016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8751
8752 * gdb.base/float128.c: New file.
8753 * gdb.base/float128.exp: Likewise.
8754 * gdb.base/floatn.c: Likewise.
8755 * gdb.base/floatn.exp: Likewise.
8756
a9ff5f12
UW
87572016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8758
8759 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8760
f245535c
PA
87612016-09-05 Pedro Alves <palves@redhat.com>
8762
8763 PR backtrace/19927
8764 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8765 unwinders are immediately called as side effect of "source" or
8766 "disable unwinder" commands.
8767 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8768
ae9cf263
YQ
87692016-09-02 Yao Qi <yao.qi@linaro.org>
8770
8771 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8772 is true and $type is "float" or "double".
8773
27aba047
YQ
87742016-09-02 Yao Qi <yao.qi@linaro.org>
8775
8776 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8777 true.
8778 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8779 * gdb.base/call-rt-st.exp: Likewise.
8780 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8781 return value instead of gdb,skip_float_test.
8782 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8783 (do_function_calls): Use its return value instead of
8784 gdb,skip_float_test.
8785 * gdb.base/finish.exp: Likewise.
8786 * gdb.base/funcargs.exp: Likewise.
8787 * gdb.base/return.exp: Likewise.
8788 * gdb.base/return2.exp: Likewise.
8789 * gdb.base/varargs.exp: Likewise.
8790 * lib/gdb.exp (gdb_skip_float_test): Change it to
8791 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8792
5af962df
AA
87932016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8794
8795 * gdb.multi/tids.exp: Test "thread apply all".
8796
7fac6910
JK
87972016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8798
8799 * gdb.base/default.exp (tty): Remove.
8800
bb1fe4ac
KB
88012016-08-24 Kevin Buettner <kevinb@redhat.com>
8802
2806dc7e
PA
8803 * gdb.python/py-recurse-unwind.c: New file.
8804 * gdb.python/py-recurse-unwind.py: New file.
8805 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 8806
0a1ddfa6
SM
88072016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8808
8809 * gdb.base/set-inferior-tty.exp: New file.
8810 * gdb.base/set-inferior-tty.c: New file.
8811
d9de1fe3
PA
88122016-08-23 Pedro Alves <palves@redhat.com>
8813
8814 PR gdb/20494
8815 * gdb.base/new-ui-echo.c: New file.
8816 * gdb.base/new-ui-echo.exp: New file.
8817
e9d9abd7
YQ
88182016-08-23 Yao Qi <yao.qi@linaro.org>
8819
8820 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8821 gdbserver_spawn.
8822 * gdb.server/connect-without-multi-process.exp (do_test):
8823 Likewise.
8824
3589529e
YQ
88252016-08-23 Yao Qi <yao.qi@linaro.org>
8826
8827 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8828 standalone_txt. Delete gdb_txt and standalone_txt on host
8829 and target. Spawn the binary on target. Copy files from
8830 target to host.
8831
6bb90213
PA
88322016-08-22 Pedro Alves <palves@redhat.com>
8833
8834 PR gdb/20505
8835 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8836 with_test_prefix. Factor out bits to ...
8837 (test_no_vdso): ... this new procedure.
8838
20c2c024
CL
88392016-08-19 Carl Love <cel@us.ibm.com>
8840
8841 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8842 maintaining separate logic for constructing the output path.
8843 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8844 * gdb.arch/ppc-dfp.exp: Likewise.
8845 * gdb.arch/ppc-fp.exp: Likewise.
8846 * gdb.arch/vsx-regs.exp: Likewise.
8847 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8848 binprefix for generating the additional binary files.
8849
0646e07d
PA
88502016-08-19 Pedro Alves <palves@redhat.com>
8851
8852 * gdb.trace/mi-trace-frame-collected.exp
8853 (test_trace_frame_collected): On x32, expect two registers.
8854
46da9242
CL
88552016-08-18 Carl Love <cel@us.ibm.com>
8856
8857 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8858 and sync up the test with tests in gas/testsuite/gas/ppc.
8859 * gdb.arch/powerpc-power.exp: Likewise.
8860
eb2332d7
SM
88612016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8862
8863 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8864 expected error message.
8865
63c61e04
SM
88662016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8867
8868 * gdb.multi/remove-inferiors.exp: New file.
8869 * gdb.multi/remove-inferiors.c: New file.
8870
7b17065f
YQ
88712016-08-12 Yao Qi <yao.qi@linaro.org>
8872
8873 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8874 argument list.
8875
01d3dedf
PA
88762016-08-10 Pedro Alves <palves@redhat.com>
8877
8878 PR gdb/19187
8879 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8880 setup_kfails.
8881
3eb7562a
PA
88822016-08-09 Pedro Alves <palves@redhat.com>
8883 Simon Marchi <simon.marchi@ericsson.com>
8884
8885 PR gdb/20418
8886 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8887 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8888
80614914
PA
88892016-08-09 Pedro Alves <palves@redhat.com>
8890
8891 PR mi/20431
8892 * gdb.mi/mi-cmd-error.exp: New file.
8893
f348d89a
PA
88942016-08-09 Pedro Alves <palves@redhat.com>
8895
8896 PR gdb/18653
8897 * gdb.base/signals-state-child.c: New file.
8898 * gdb.base/signals-state-child.exp: New file.
8899 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8900
e5ca03b4
PA
89012016-08-09 Pedro Alves <palves@redhat.com>
8902
8903 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8904
282a0691
TT
89052016-08-03 Tom Tromey <tom@tromey.com>
8906
8907 PR python/18565:
8908 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8909
41bfcd63
YQ
89102016-08-01 Yao Qi <yao.qi@linaro.org>
8911
8912 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8913 variable mode to "multi-process" if $multi_process is 1, otherwise
8914 set it to "single-process".
8915
e3465b24
YQ
89162016-08-01 Yao Qi <yao.qi@linaro.org>
8917
8918 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8919 * gdb.cp/cpexprs.exp: Likewise.
8920 * gdb.cp/m-static.exp: Likewise.
8921
0b31a4bc
TT
89222016-07-26 Tom Tromey <tom@tromey.com>
8923
8924 PR python/20190:
8925 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8926 test.
8927
e0461dbb
MM
89282016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8929
8930 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8931 selecting assembly source files.
8932 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8933 assembly source files.
8934 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8935 assembly source files.
8936 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8937 selecting assembly source files.
8938
8194e927
SM
89392016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8940
8941 * gdb.base/new-ui.exp (do_test_invalid_args): New
8942 procedure.
8943
c0272db5
TW
89442016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8945
8946 * gdb.btrace/reconnect.c: New file.
8947 * gdb.btrace/reconnect.exp: New file.
8948
e3487908
GKB
89492016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8950
8951 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8952 to test_catch_syscall_group.
8953 (test_catch_syscall_group): New.
8954
12df5c00
TT
89552016-07-21 Tom Tromey <tom@tromey.com>
8956
8957 * gdb.rust/simple.rs (main): Use empty struct expression.
8958 * gdb.rust/simple.exp: Add tests for empty struct expression.
8959
bae62ee2
YQ
89602016-07-21 Yao Qi <yao.qi@linaro.org>
8961
8962 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8963 if gdb_skip_xml_test is true on some targets.
8964
b1b53fb3
YQ
89652016-07-21 Yao Qi <yao.qi@linaro.org>
8966
8967 * gdb.server/solib-list.exp: Unset last_loaded_file.
8968
027d97f8
JK
89692016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8970
8971 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8972 "step into captured_main (args)".
8973
7674d381
JK
89742016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8975
8976 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8977
72b5d099
JK
89782016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8979
8980 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8981
1f960ced
PA
89822016-07-19 Pedro Alves <palves@redhat.com>
8983
8984 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8985 * gdb.opt/inline-bt.exp: Likewise.
8986 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8987 additional_flags=-Winline.
8988 * gdb.opt/inline-locals.exp: Likewise.
8989 * gdb.opt/inline-markers.c (ATTR): Define.
8990 (inlined_fn): Use it.
8991
f25827c1
YQ
89922016-07-19 Yao Qi <yao.qi@linaro.org>
8993
8994 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8995 (test_with_self): Remove some code. Remove argument executable.
8996 (top-level): Use do_self_tests.
8997
37539ebe
DB
89982016-07-15 Zachary Welch <zwelch@codesourcery.com>
8999 Don Breazeal <donb@codesourcery.com>
9000
9001 * gdb.base/maint.exp: Escape paths used in regular expressions.
9002 * gdb.stabs/weird.exp: Likewise.
9003
dac790e1
TT
90042016-07-13 Tom Tromey <tom@tromey.com>
9005
9006 PR python/15620, PR python/18620:
9007 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9008 (test_bkpt_events): New procs.
9009
93daf339
TT
90102016-07-13 Tom Tromey <tom@tromey.com>
9011
9012 PR python/17698:
9013 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9014 test.
9015 (test_watchpoints): Likewise.
9016 (test_bkpt_pending): New proc.
9017
6571a381
TT
90182016-07-13 Tom Tromey <tom@tromey.com>
9019
9020 PR cli/18053:
9021 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9022 completion test.
9023
e8732474
JK
90242016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9025
9026 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9027 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9028 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9029 f_label.
9030 (g): Rename g_end_lbl to g_label.
9031 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9032 low_pc and high_pc.
9033 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9034
e0f3fd7c
TT
90352016-07-12 Tom Tromey <tom@tromey.com>
9036
9037 PR python/19293:
9038 * gdb.python/py-unwind-maint.exp: Update tests.
9039
3cfe46b6
YQ
90402016-07-12 Yao Qi <yao.qi@linaro.org>
9041
9042 * lib/selftest-support.exp (selftest_setup): Match the output
9043 when captured_main is inlined.
9044
4f19a0e6
WT
90452016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9046
9047 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9048 New variables.
9049 (print this%a, print this%b, print this): New tests.
9050 * gdb.fortran/derived-types.f90 (this): New object and
9051 initialization.
9052
986cf455
SM
90532016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9054
9055 * gdb.ada/arraydim.exp: Remove extra directory level in build
9056 directory.
9057
f0464b23
SM
90582016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9059
9060 * lib/ada.exp: Remove extra directory level in build directory.
9061 * gdb.ada/cond_lang.exp: Likewise.
9062 * gdb.ada/exec_changed.exp: Likewise.
9063 * gdb.ada/lang_switch.exp: Likewise.
9064
42d94011
MG
90652016-07-06 Manish Goregaokar <manish@mozilla.com>
9066
2806dc7e
PA
9067 * simple.rs: Add test for raw pointer subscripting.
9068 * simple.exp: Add test expectations.
42d94011 9069
647c264c
YQ
90702016-07-05 Yao Qi <yao.qi@linaro.org>
9071
9072 * gdb.mi/mi-reverse.exp: Match =record-started output.
9073
20aa2c60
PA
90742016-07-01 Pedro Alves <palves@redhat.com>
9075
9076 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9077 procedure.
9078 (jit_reader_test): Test the jit reader's unwinder.
9079 * gdb.base/jithost.c (jit_function_00_code): New global.
9080 (main): Use memcpy to fill in the mmapped code, instead of poking
9081 bytes manually here.
9082 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9083 value.
9084 (read_debug_info): Save the function's range.
9085 (read_sp): New function.
9086 (unwind_frame): Use it. Also unwind RBP.
9087 (get_frame_id): Use read_sp.
9088 (gdb_init_reader): Use calloc instead of malloc.
9089 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9090 parameter. Use gdb_test_multiple.
9091
ced2dffb
PA
90922016-07-01 Pedro Alves <palves@redhat.com>
9093 Antoine Tremblay <antoine.tremblay@ericsson.com>
9094
9095 * gdb.threads/process-dies-while-detaching.c: New file.
9096 * gdb.threads/process-dies-while-detaching.exp: New file.
9097
63000888
PA
90982016-07-01 Pedro Alves <palves@redhat.com>
9099
9100 * gdb.multi/watchpoint-multi-exit.c: New file.
9101 * gdb.multi/watchpoint-multi-exit.exp: New file.
9102
038d4868
PA
91032016-06-30 Pedro Alves <palves@redhat.com>
9104
9105 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9106 unset inferior_spawn_id.
9107
994e9c83
PA
91082016-06-30 Pedro Alves <palves@redhat.com>
9109
9110 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9111 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9112
e5653468
YQ
91132016-06-29 Yao Qi <yao.qi@linaro.org>
9114
9115 * gdb.base/return.c: Add copyright header.
9116
803b47e5
TT
91172016-06-29 Tom Tromey <tom@tromey.com>
9118
9119 PR python/20129:
9120 * gdb.python/py-framefilter.exp: Add tests for setting priority
9121 and disabling of non-existent frame filter.
9122
28244707
YQ
91232016-06-29 Yao Qi <yao.qi@linaro.org>
9124
9125 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9126 0x0f07ff.
9127
a31d2f06
YQ
91282016-06-28 Yao Qi <yao.qi@linaro.org>
9129
9130 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9131 triplets. Start gdb, execute catch syscall, and continue. Check
9132 gdb's output to determine catch syscall is supported.
9133
921d8f54
MG
91342016-06-27 Manish Goregaokar <manish@mozilla.com>
9135
25d49b86
PA
9136 * gdb.rust/simple.rs: Add test for returning unit in a function.
9137 * gdb.rust/simple.exp: Add expectation for functions returning
9138 unit.
921d8f54 9139
f4952523
PMR
91402016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9141
9142 * gdb.python/py-breakpoint-create-fail.c,
9143 gdb.python/py-breakpoint-create-fail.exp,
9144 gdb.python/py-breakpoint-create-fail.py: New testcase.
9145
fccb08f8
MG
91462016-06-25 Manish Goregaokar <manish@mozilla.com>
9147
9148 PR gdb/20239
9149 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
9150 * gdb.rust/simple.exp: Add test expectations for new NonZero
9151 tests.
fccb08f8 9152
6b850546
DT
91532016-06-24 David Taylor <dtaylor@emc.com>
9154
9155 * gdb.base/offsets.exp: New file.
9156 * gdb.base/offsets.c: New file.
9157
17621150
TT
91582016-06-23 Tom Tromey <tom@tromey.com>
9159
9160 PR gdb/16483:
9161 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9162 before any filters are loaded.
9163
04d59df6
WT
91642016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9165
9166 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9167 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9168 structs.
9169 * gdb.fortran/derived-type-function.exp: New file.
9170 * gdb.fortran/derived-type-function.f90: New file.
9171
9172
ac69f786
PA
91732016-06-21 Pedro Alves <palves@redhat.com>
9174
9175 * gdb.base/new-ui.exp: New file.
9176 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9177 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9178 (with_spawn_id): New procedure.
9179
49940788
PA
91802016-06-21 Pedro Alves <palves@redhat.com>
9181
9182 * gdb.mi/mi-exec-run.exp: New file.
9183
ef274d26
PA
91842016-06-21 Pedro Alves <palves@redhat.com>
9185
9186 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9187 breakpoint command's output on the main UI.
9188 (test_break): New procedure, factored out from calls in the top
9189 level.
9190 (top level): Use foreach_with_prefix to test MI as main UI and as
9191 separate UI.
9192
468afe6c
PA
91932016-06-21 Pedro Alves <palves@redhat.com>
9194
9195 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9196 (test_awatch_creation_and_listing)
9197 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9198 Remove 'type' parameter.
9199 (test_watchpoint_all): New parameter mi_mode. Remove
9200 with_test_prefix.
9201 (top level): Use foreach_with_prefix, and add main/separate UI MI
9202 testing axis.
9203
51f77c37
PA
92042016-06-21 Pedro Alves <palves@redhat.com>
9205
9206 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9207 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9208 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9209 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9210 (gdb_main_spawn_id, mi_spawn_id): Declare and
9211 comment.
9212 (mi_create_inferior_pty): New procedure,
9213 factored out from default_mi_gdb_start.
9214 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9215 procedures.
9216 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9217 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9218 Use mi_create_inferior_pty.
9219 (mi_gdb_start): Use eval to pass down args list.
9220
8980e177
PA
92212016-06-21 Pedro Alves <palves@redhat.com>
9222
9223 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9224 * gdb.opt/inline-cmds.exp: Add MI tests.
9225
f38d3ad1
PA
92262016-06-21 Pedro Alves <palves@redhat.com>
9227
9228 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9229
45db7c09
PA
92302016-06-21 Pedro Alves <palves@redhat.com>
9231
9232 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9233 (top level): Use it instead of mi_execute_to.
9234
5a069ab3
PA
92352016-06-21 Pedro Alves <palves@redhat.com>
9236
9237 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9238 (cont_handler_str): New.
9239 (signal_stop_handler): Set stop_handler_str instead of printing to
9240 stdout.
9241 (continue_handler): Set cont_handler_str instead of printing to
9242 stdout.
9243 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9244 mi_send_resuming_command. Print stop_handler_str and
9245 cont_handler_str instead of expecting the python events print
9246 directly.
9247
2838cc1d
SD
92482016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9249
9250 * gdb.base/jit-reader.exp: New file.
9251 * gdb.base/jithost.c: New file.
9252 * gdb.base/jithost.h: New file.
9253 * gdb.base/jitreader.c : New file.
9254 * gdb.base/jit-protocol.h: New file.
9255
21a77091
YQ
92562016-06-17 Yao Qi <yao.qi@linaro.org>
9257
9258 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9259 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9260 and detach-on-fork. Adjust tests.
9261 (top level): Invoke break_cond_on_syscall with combinations of
9262 syscall, follow-fork-mode and detach-on-fork.
9263
f50bf8e5
YQ
92642016-06-17 Yao Qi <yao.qi@linaro.org>
9265
9266 * gdb.base/step-over-exit.c: New.
9267 * gdb.base/step-over-exit.exp: New.
9268
a28d8e50
YTL
92692016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9270
9271 * gdb.base/float.exp: Add target check for nds32*-*-*.
9272 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9273
cad8e26d
AB
92742016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9275
9276 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9277 for unsupported target features.
9278 * gdb.base/call-rt-st.exp: Likewise.
9279 * gdb.base/call-sc.exp: Likewise.
9280 * gdb.base/call-signal-resume.exp: Likewise.
9281 * gdb.base/call-strs.exp: Likewise.
9282 * gdb.base/callexit.exp: Likewise.
9283 * gdb.base/callfuncs.exp: Likewise.
9284 * gdb.base/nodebug.exp: Likewise.
9285 * gdb.base/printcmds.exp: Likewise.
9286 * gdb.base/ptype.exp: Likewise.
9287 * gdb.base/structs.exp: Likewise.
9288 * gdb.base/unwindonsignal.exp: Likewise.
9289 * gdb.cp/gdb2495.exp: Likewise.
9290 * gdb.cp/templates.exp: Likewise.
9291 * gdb.cp/virtfunc.exp: Likewise.
9292 * gdb.threads/hand-call-in-threads.exp: Likewise.
9293 * gdb.threads/interrupted-hand-call.exp: Likewise.
9294 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9295
347dc102
TT
92962016-06-10 Tom Tromey <tom@tromey.com>
9297
9298 PR rust/20110:
9299 * gdb.rust/expr.exp: Add test for integer constant larger than
9300 i32.
9301
5e13cf25
BH
93022016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9303
9304 * gdb.fortran/nested-funcs.exp: New.
9305 * gdb.fortran/nested-funcs.f90: New.
9306
bb556f1f
TK
93072016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9308
9309 * gdb.base/examine-backward.c: New file.
9310 * gdb.base/examine-backward.exp: New file.
9311
38b022b4
SM
93122016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9313
9314 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9315 matching.
9316
1b40ec05
TT
93172016-06-02 Tom Tromey <tom@tromey.com>
9318
9319 PR python/18984:
9320 * gdb.python/py-shared.exp: Add solib_name test.
9321
193bd378
SM
93222016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9323
9324 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9325
3326303b
MG
93262016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9327
9328 PR c++/19893
9329 * gdb.dwarf2/implref.exp: Rename to...
9330 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9331 * gdb.dwarf2/implref-array.c: New file.
9332 * gdb.dwarf2/implref-array.exp: Likewise.
9333 * gdb.dwarf2/implref-global.c: Likewise.
9334 * gdb.dwarf2/implref-global.exp: Likewise.
9335 * gdb.dwarf2/implref-struct.c: Likewise.
9336 * gdb.dwarf2/implref-struct.exp: Likewise.
9337
825c8ef2
AT
93382016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9339
9340 * gdb.trace/trace-condition.exp: Add 64bit tests.
9341
2320162a
AT
93422016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9343
9344 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9345 bits types.
9346 (main): Adapt to 8 to 64 bits types.
9347 * gdb.trace/trace-condition.exp: Add new tests.
9348
a7818233
AT
93492016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9350
9351 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9352
0d336466
AT
93532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9354
9355 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9356 Move condition tests...
9357 * gdb.trace/trace-condition.exp: Here.
9358
7faeb45a
AT
93592016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9360
9361 * gdb.trace/trace-condition.exp: Add counter-case tests.
9362
e385593e
JK
93632016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9364
9365 PR c++/15231
9366 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9367 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9368
744608cc
PA
93692016-05-27 Pedro Alves <palves@redhat.com>
9370
9371 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9372 New procedure.
9373 (top level): Call it, and bail out of DejaGnu is known to be bad.
9374
ac775bf4
AB
93752016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9376
9377 * gdb.base/whatis.c: Extend the test case.
9378 * gdb.base/whatis.exp: Add additional tests.
9379
2bbad2ea
BH
93802016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9381
9382* gdb.fortran/type.f90: Add pointer variable.
9383* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9384
8b70175d
BH
93852016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9386
9387 * gdb.fortran/vla-type.exp: Fix testcase name.
9388
86d8a848
BH
93892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9390
9391 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9392
e188eb36
BH
93932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9394
9395 * gdb.fortran/type.f90: Add nested structures.
9396 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9397 * gdb.fortran/derived-type.exp: Adapt expected output.
9398 * gdb.fortran/vla-type.exp: Adapt expected output.
9399
9b2db1fd
BH
94002016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9401
9402 * gdb.fortran/whatis_type.exp: Adapt expected output.
9403
72b17055
BH
94042016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9405
9406 * gdb.fortran/print_type.exp: Fix expected output.
9407 * gdb.fortran/whatis_type.exp: Fix expected output.
9408
3cd81d8d
BH
94092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9410
9411 * gdb.fortran/whatis_type.exp: Use multi_line.
9412
ddae9462
TT
94132016-05-24 Tom Tromey <tom@tromey.com>
9414
9415 PR python/17386:
9416 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9417 use value as an index.
9418
1957f6b8
TT
94192016-05-23 Tom Tromey <tom@tromey.com>
9420
9421 PR python/17981:
9422 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9423 no-breakpoint case.
9424
026a9174
PA
94252016-05-24 Pedro Alves <palves@redhat.com>
9426
9427 PR gdb/19828
9428 * gdb.threads/clone-attach-detach.c: New file.
9429 * gdb.threads/clone-attach-detach.exp: New file.
9430
e70a7231
FR
94312016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9432
9433 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9434
0f6ed0e0
TT
94352016-05-23 Tom Tromey <tom@tromey.com>
9436
9437 PR python/19438, PR python/18393:
9438 * gdb.python/py-progspace.exp: Add "dir" test.
9439 * gdb.python/py-objfile.exp: Add "dir" test.
9440
ffd19d61
YQ
94412016-05-23 Yao Qi <yao.qi@linaro.org>
9442
9443 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9444 * gdb.arch/thumb2-it.exp: Likewise.
9445
9e8f9b05
SM
94462016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9447
9448 * gdb.mi/mi-threads-interrupt.c: New file.
9449 * gdb.mi/mi-threads-interrupt.exp: New file.
9450
61c6156d
SM
94512016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9452
9453 PR gdb/18077
9454 * gdb.mi/mi-async-run.exp: New file.
9455 * gdb.mi/mi-async-run.c: New file.
9456
67218854
TT
94572016-05-17 Tom Tromey <tom@tromey.com>
9458 Manish Goregaokar <manishsmail@gmail.com>
9459
9460 * lib/rust-support.exp: New file.
9461 * lib/gdb.exp (skip_rust_tests): New proc.
9462 (build_executable_from_specs): Handle rust.
9463 * lib/future.exp (gdb_find_rustc): New proc.
9464 (gdb_default_target_compile): Handle rust.
9465 * gdb.rust/expr.exp: New file.
9466 * gdb.rust/generics.exp: New file.
9467 * gdb.rust/generics.rs: New file.
9468 * gdb.rust/methods.exp: New file.
9469 * gdb.rust/methods.rs: New file.
9470 * gdb.rust/modules.exp: New file.
9471 * gdb.rust/modules.rs: New file.
9472 * gdb.rust/simple.exp: New file.
9473 * gdb.rust/simple.rs: New file.
9474
c44af4eb
TT
94752016-05-17 Tom Tromey <tom@tromey.com>
9476
9477 * gdb.base/default.exp (set language): Add rust.
9478
dcd1f979
TT
94792016-05-17 Tom Tromey <tom@tromey.com>
9480
9481 * gdb.gdb/unittest.exp: New file.
9482
155b7f57
YQ
94832016-05-16 Yao Qi <yao.qi@linaro.org>
9484
9485 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9486 shell_prompt. Update shell_prompt_re.
9487
8ddd5a6c
DE
94882016-05-12 Doug Evans <dje@google.com>
9489
9490 PR symtab/19999
9491 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9492 $options when building executable.
9493 * gdb.dwarf2/fission-loclists-pie.S: New file.
9494 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9495
02e370d9
SM
94962016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9497
9498 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9499 of [is_remote target],
9500
8929ad8b
SM
95012016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9502
9503 * lib/gdb.exp (use_gdb_stub): New procedure.
9504
6c447423
DE
95052016-05-03 Yunlian Jiang <yunlian@google.com>
9506 Doug Evans <dje@google.com>
9507
9508 PR symtab/19914
9509 * gdb.dwarf2/dwp-sepdebug.c: New file.
9510 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9511
444e826c
SM
95122016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9513
9514 * gdb.base/detach.exp: Remove is_remote check.
9515
740feeaa
SM
95162016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9517
9518 * gdb.base/annota-input-while-running.exp: Don't check for
9519 [is_remote target]. Enable annotations after running to main.
9520 Remove unused "set test..." line.
9521
9080ac9d
SM
95222016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9523
9524 * gdb.trace/trace-enable-disable.exp: New file.
9525 * gdb.trace/trace-enable-disable.c: New file.
9526
952ebca5
SM
95272016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9528
9529 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9530 use it in info sharedlibrary test.
9531 * gdb.trace/ftrace-lock.exp: Likewise.
9532 * gdb.trace/ftrace.exp: Likewise.
9533 * gdb.trace/range-stepping.exp: Likewise.
9534 * gdb.trace/trace-break.exp: Likewise.
9535 * gdb.trace/trace-condition.exp: Likewise.
9536 * gdb.trace/trace-mt.exp: Likewise.
9537
d9019901
SM
95382016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9539
9540 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9541 (gdb_load_shlib): ... this.
9542 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9543 gdb_load_shlib.
9544 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9545 * gdb.base/ctxobj.exp: Likewise.
9546 * gdb.base/dprintf-pending.exp: Likewise.
9547 * gdb.base/dso2dso.exp: Likewise.
9548 * gdb.base/fixsection.exp: Likewise.
9549 * gdb.base/gcore-relro.exp: Likewise.
9550 * gdb.base/gdb1555.exp: Likewise.
9551 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9552 * gdb.base/gnu-ifunc.exp: Likewise.
9553 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9554 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9555 * gdb.base/pending.exp: Likewise.
9556 * gdb.base/print-file-var.exp: Likewise.
9557 * gdb.base/print-symbol-loading.exp: Likewise.
9558 * gdb.base/shlib-call.exp: Likewise.
9559 * gdb.base/shreloc.exp: Likewise.
9560 * gdb.base/so-impl-ld.exp: Likewise.
9561 * gdb.base/solib-disc.exp: Likewise.
9562 * gdb.base/solib-nodir.exp: Likewise.
9563 * gdb.base/solib-overlap.exp: Likewise.
9564 * gdb.base/solib-symbol.exp: Likewise.
9565 * gdb.base/solib-weak.exp (do_test): Likewise.
9566 * gdb.base/sym-file.exp: Likewise.
9567 * gdb.base/symtab-search-order.exp: Likewise.
9568 * gdb.base/type-opaque.exp: Likewise.
9569 * gdb.base/unload.exp: Likewise.
9570 * gdb.base/watchpoint-solib.exp: Likewise.
9571 * gdb.compile/compile.exp: Likewise.
9572 * gdb.cp/gdb2384.exp: Likewise.
9573 * gdb.cp/infcall-dlopen.exp: Likewise.
9574 * gdb.cp/re-set-overloaded.exp: Likewise.
9575 * gdb.fortran/library-module.exp: Likewise.
9576 * gdb.opt/solib-intra-step.exp: Likewise.
9577 * gdb.python/py-finish-breakpoint.exp: Likewise.
9578 * gdb.python/py-shared.exp: Likewise.
9579 * gdb.reverse/solib-precsave.exp: Likewise.
9580 * gdb.reverse/solib-reverse.exp: Likewise.
9581 * gdb.server/solib-list.exp: Likewise.
9582 * gdb.threads/dlopen-libpthread.exp: Likewise.
9583 * gdb.threads/tls-shared.exp: Likewise.
9584 * gdb.threads/tls-so_extern.exp: Likewise.
9585 * gdb.trace/change-loc.exp: Likewise.
9586 * gdb.trace/ftrace-lock.exp: Likewise.
9587 * gdb.trace/ftrace.exp: Likewise.
9588 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9589 * gdb.trace/pending.exp: Likewise.
9590 * gdb.trace/range-stepping.exp: Likewise.
9591 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9592 (strace_info_marker): Likewise.
9593 (strace_probe_marker): Likewise.
9594 (strace_trace_on_same_addr): Likewise.
9595 (strace_trace_on_diff_addr): Likewise.
9596 * gdb.trace/trace-break.exp: Likewise.
9597 * gdb.trace/trace-condition.exp: Likewise.
9598 * gdb.trace/trace-mt.exp: Likewise.
9599
fca4cfd9
SM
96002016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9601
9602 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9603 result of gdb_remote_download.
9604 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9605 * gdb.base/dso2dso.exp: Likewise.
9606 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9607 * gdb.base/print-file-var.exp: Likewise.
9608 * gdb.base/shlib-call.exp: Likewise.
9609 * gdb.base/shreloc.exp: Likewise.
9610 * gdb.base/solib-overlap.exp: Likewise.
9611 * gdb.base/solib-weak.exp (do_test): Likewise.
9612 * gdb.base/unload.exp: Likewise.
9613
11cf4ffb
YQ
96142016-04-27 Yao Qi <yao.qi@linaro.org>
9615
9616 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9617 exists.
9618
3e2e34f8
KB
96192016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9620
9621 * vla-type.exp: Print structure from toplevel.
9622
8f07e298
BH
96232016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9624
9625 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9626 of dynamic types.
9627 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9628 of dynamic types.
9629
9920b434
BH
96302016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9631
9632 * gdb.fortran/vla-type.f90: New file.
9633 * gdb.fortran/vla-type.exp: New file.
9634
f3abeff5
YQ
96352016-04-25 Yao Qi <yao.qi@linaro.org>
9636
9637 * gdb.base/branch-to-self.c: New file.
9638 * gdb.base/branch-to-self.exp: New file.
9639
0a5d52f0
YQ
96402016-04-22 Yao Qi <yao.qi@linaro.org>
9641
9642 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9643 more after $hex.
9644
495346f6
YQ
96452016-04-22 Yao Qi <yao.qi@linaro.org>
9646
9647 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9648 * gdb.base/annota3.exp: Likewise.
9649
4a7e075c
YQ
96502016-04-22 Yao Qi <yao.qi@linaro.org>
9651
9652 * gdb.reverse/step-precsave.exp: Do one step and test program
9653 stops in "callee" and do multiple steps until program goes out
9654 of "callee".
9655 * gdb.reverse/step-reverse.exp: Likewise.
9656
5b061e98
YQ
96572016-04-22 Yao Qi <yao.qi@linaro.org>
9658
9659 * gdb.trace/signal.exp: Also pass if
9660 $tracepoint_hits($i) > $iterations.
9661
5c5dc57f
YQ
96622016-04-22 Yao Qi <yao.qi@linaro.org>
9663
9664 * gdb.trace/signal.c: New file.
9665 * gdb.trace/signal.exp: New file.
9666
a55411b9
DE
96672016-04-19 Doug Evans <xdje42@gmail.com>
9668
9669 * gdb.base/bad-file.exp: New file.
9670
a22df60a
MG
96712016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9672
9673 * gdb.dwarf2/implref.exp: New file.
9674
0c13f7e5
BH
96752016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9676
9677 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9678 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9679 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9680 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9681 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9682 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9683 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9684 * lib/fortran.exp (fortran_int4): New procedure.
9685 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9686 (fortran_logical4): Likewise.
9687
9b9b09e9
BH
96882016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9689
9690 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9691
a14d1f4d
BH
96922016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9693
9694 * lib/compiler.c: Add Intel specific preprocessor macros.
9695 * lib/compiler.cc: Likewise.
25d49b86 9696
7d49b1d0
LM
96972016-04-13 Luis Machado <lgustavo@codesourcery.com>
9698
9699 * gdb.server/connect-with-no-symbol-file.c: New file.
9700 * gdb.server/connect-with-no-symbol-file.exp: New file.
9701
8392fa22
SM
97022016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9703
9704 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9705
8c4c4aeb
SM
97062016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9707
9708 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9709 standard output directory.
9710
45e3745e
AT
97112016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9712
9713 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9714
e26b7e41
MM
97152016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9716
9717 * gdb.btrace/instruction_history.c (loop): Add declaration.
9718
8ce09462
AT
97192016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9720
9721 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9722
2e88a1ea
SM
97232016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9724
9725 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9726 parentheses to print.
9727 (continue_handler): Likewise.
9728
f48e22e3
SM
97292016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9730
9731 * gdb.server/solib-list.exp: Remove is_remote check.
9732 Pass shlib= to gdb_compile. Don't link shared library with
9733 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9734 Run binary filename through "readlink -f" on the target.
9735
096be756
PA
97362016-04-08 Pedro Alves <palves@redhat.com>
9737
9738 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9739 interpreter filename as argument to gdbserver_spawn.
9740 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9741 Return empty if $last_loaded_file does not exist.
9742
06500533
JK
97432016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9744
9745 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9746 * gdb.base/jit-main.c: Use exit after usage.
9747
2d35e871
JK
97482016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9749
9750 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9751 GDBHISTSIZE prior to the tests.
9752 * gdb.base/gdbinit-history.exp: Likewise.
9753
97542016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
9755
9756 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9757 instead of build_executable. Use gdb_load_shlibs.
9758
c8064e7e
YQ
97592016-04-07 Yao Qi <yao.qi@linaro.org>
9760
9761 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9762 Execute "si" command.
9763
bde47561
YQ
97642016-04-07 Yao Qi <yao.qi@linaro.org>
9765
9766 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9767 number instead of the comments on some line.
9768
b16f8a3b
DB
97692016-04-06 Don Breazeal <donb@codesourcery.com>
9770
9771 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9772 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9773
c2f901df
SM
97742016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9775
9776 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9777 standard_output_file. Remove unused binfile variable.
9778
ac17fda0
CU
97792016-04-05 Catalin Udma <catalin.udma@freescale.com>
9780
9781 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9782 * gdb.python/py-mi-objfile.exp: Match "list main" output
9783 in console format.
9784
03a8c4df
SM
97852016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9786
9787 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9788 absolute.
9789
6e774b13
SM
97902016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9791
9792 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9793 absolute.
9794 * gdb.trace/ftrace.exp: Likewise.
9795 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9796 targets as well.
9797 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9798 (gdb_load_shlibs): Copy libraries to test directory when testing
9799 natively. Only set solib-search-path if testing remotely.
9800 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9801
7817ea46
SM
98022016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9803
9804 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9805 gdb_download. Use it even if the target is not remote.
9806 * gdb.base/jit.exp (compile_jit_test): Likewise.
9807 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9808 output directory if the destination board is local, otherwise use
9809 the standard remote_download from DejaGnu.
9810 (gdb_download): Remove.
9811 (gdb_load_shlibs): Use gdb_remote_download instead of
9812 gdb_download.
9813 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9814 Use gdb_remote_download instead of gdb_download. Use it even if
9815 the target is not remote.
9816 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9817 instead of gdb_download.
9818
7beb7f68
SM
98192016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9820
9821 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9822 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9823 run.
9824
cc63428a
AV
98252016-04-01 Artemiy Volkov <artemiyv@acm.org>
9826
9827 PR gdb/19820
9828 * gdb.base/printcmds.exp: Add artificial arrays tests.
9829
64cdf930
PA
98302016-03-31 Pedro Alves <palves@redhat.com>
9831
9832 PR gdb/19858
9833 * gdb.base/jit-main.c: Include unistd.h.
9834 (ATTACH): Define to 0 if not already defined.
9835 (wait_for_gdb, mypid): New globals.
9836 (WAIT_FOR_GDB): New macro.
9837 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9838 some breakpoint locations.
9839 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9840 New procedures.
9841 (one_jit_test): Add REATTACH parameter, and handle it. Use
9842 continue_to_test_location.
9843 (top level): Test attach, and adjusts calls to one_jit_test.
9844
40dea8cb
PA
98452016-03-31 Pedro Alves <palves@redhat.com>
9846
9847 PR gdb/19858
9848 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9849 BINSUFFIX parameter, and handle it.
9850 (top level): Adjust calls compile_jit_test.
9851
e7ea3ec7
CU
98522016-03-31 Catalin Udma <catalin.udma@freescale.com>
9853
9854 PR python/19743
9855 * gdb.python/py-mi-events-gdb.py: New file.
9856 * gdb.python/py-mi-events.c: New file.
9857 * gdb.python/py-mi-events.exp: New file.
9858
e6359af3
YQ
98592016-03-30 Yao Qi <yao.qi@linaro.org>
9860
9861 * gdb.reverse/until-precsave.exp: Match function name only.
9862 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9863 Move malloc to a condition block.
9864 * gdb.reverse/until-reverse.exp: Match function name only.
9865
a4105d04
MK
98662016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9867
9868 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9869 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9870 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9871 variable for GPR 0 instead of assuming it is register 0.
9872 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9873 * lib/trace-support.exp: Add s390 registers.
9874
bfa6adb9
YQ
98752016-03-29 Yao Qi <yao.qi@linaro.org>
9876
9877 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9878
1e6697ea
YQ
98792016-03-24 Yao Qi <yao.qi@linaro.org>
9880
9881 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9882 test message.
9883
64bcd522
AA
98842016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9885
9886 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9887 maintaining separate logic for constructing the output path.
9888
7868401b
DB
98892016-03-16 Don Breazeal <donb@codesourcery.com>
9890
9891 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9892 Retry fork and waitpid on interrupted system call errors.
9893 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9894 Use with_timeout_factor to increase timeout by factor of 10.
9895
1cafadb4
DB
98962016-03-15 Don Breazeal <donb@codesourcery.com>
9897
9898 * gdb.cp/scope-err.cc: New test program.
9899 * gdb.cp/scope-err.exp: New test script.
9900 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9901 lines and "set breakpoint here" comment.
9902 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9903 Fixed some whitespace and format issues.
9904 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9905 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9906
81516450
DE
99072016-03-15 Doug Evans <dje@google.com>
9908
9909 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9910 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9911 All callers updated. Add tests for enums, mixed flags register.
9912
aa52b601
DE
99132016-03-15 Doug Evans <dje@google.com>
9914
9915 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9916 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9917
fa4ff313
SM
99182016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9919
9920 * gdb.base/default.exp: Add $_as_string to the list of expected
9921 convenience functions.
9922
f2403c39
AB
99232016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9924
9925 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9926
f2f3ccb9
SM
99272016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9928
9929 * gdb.python/py-as-string.exp: New file.
9930 * gdb.python/py-as-string.c: New file.
9931
00dbd492
PA
99322016-03-09 Pedro Alves <palves@redhat.com>
9933
9934 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9935 signal" -> "Thread NN received signal" output change.
9936 * gdb.threads/ia64-sigill.exp: Likewise.
9937 * gdb.threads/linux-dp.exp: Likewise.
9938 * gdb.threads/manythreads.exp: Likewise.
9939 * gdb.threads/pending-step.exp: Likewise.
9940 * gdb.threads/print-threads.exp: Likewise.
9941 * gdb.threads/sigstep-threads.exp: Likewise.
9942 * gdb.threads/staticthreads.exp: Likewise.
9943 * gdb.threads/tls.exp: Likewise.
9944
1e6697ea
YQ
99452016-03-09 Pedro Alves <palves@redhat.com>
9946
9947 * gdb.base/command-line-input.exp: New file.
9948
b04fd3be
MK
99492016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9950
9951 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9952 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9953 * gdb.trace/pending.exp: Accept leading dot before function name.
9954 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9955 * lib/trace-support.exp: Set registers for ppc.
9956
98fa59e9
MK
99572016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9958
9959 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9960 use it for disassembly; accept .main in addition to main in backtrace.
9961
f77198c8
MK
99622016-03-09 Wei-cheng Wang <cole945@gmail.com>
9963 Marcin Kościelnicki <koriakin@0x04.net>
9964
9965 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9966 (gdb_recursion_test_ptr): New global variable.
9967 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9968 gdb_recursion_test.
9969 (gdb_c_test): Ditto.
9970
ba84e0da
MK
99712016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9972
9973 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9974 ordering.
9975
4366d36e
MK
99762016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9977
9978 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9979 (bar): Add bar_start_lbl label.
9980 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9981 of foo/bar for emitting DWARF and tracing.
9982
5eb264df
SDJ
99832016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9984
9985 * analyze-racy-logs.py: Set executable bit.
9986
fb6a751f
SDJ
99872016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9988
9989 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9990 (CHECK_TARGET_TMP): Likewise.
9991 (check-single-racy): New rule.
9992 (check-parallel-racy): Likewise.
9993 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9994 (do-check-parallel-racy): New rule.
9995 (check-racy/%.exp): Likewise.
9996 * README (Racy testcases): New section.
9997 * analyze-racy-logs.py: New file.
9998
bdf7e230
DE
99992016-03-03 Doug Evans <dje@google.com>
10000
10001 * gdb.base/skip.exp: Use with_test_prefix.
10002
4719d415
YQ
100032016-03-03 Yao Qi <yao.qi@linaro.org>
10004
10005 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10006 Invoke step_over_syscall "clone" and break_cond_on_syscall
10007 "clone".
10008 * gdb.base/step-over-clone.c: New file.
10009
ea507862
YQ
100102016-03-03 Yao Qi <yao.qi@linaro.org>
10011
10012 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10013 code format.
10014
8fc8cbda
YQ
100152016-03-03 Yao Qi <yao.qi@linaro.org>
10016
10017 * gdb.base/disp-step-fork.c: Rename to ...
10018 * gdb.base/step-over-fork.c: ... it. New file.
10019 * gdb.base/disp-step-vfork.c: Rename to ...
10020 * gdb.base/step-over-vfork.c: ... it. New file.
10021 * gdb.base/disp-step-syscall.exp: Rename to ...
10022 * gdb.base/step-over-syscall.exp: ... it. New file.
10023 (disp_step_cross_syscall): Rename to ...
10024 (step_over_syscall): ... it.
10025
92fa70b0
YQ
100262016-03-03 Yao Qi <yao.qi@linaro.org>
10027
10028 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10029 If target supports condition evaluation on target, invoke
10030 break_cond_on_syscall for fork and vfork.
10031
e197ad3c
YQ
100322016-03-03 Yao Qi <yao.qi@linaro.org>
10033
10034 * gdb.base/disp-step-syscall.exp: Don't invoke
10035 support_displaced_stepping.
10036 (disp_step_cross_syscall): Test with displaced stepping off and
10037 on if supported.
10038
0b47da9f
YQ
100392016-03-03 Yao Qi <yao.qi@linaro.org>
10040
10041 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10042 proc.
10043 (setup): New proc.
10044 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10045 and setup.
10046
065ab6dc
BH
100472016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10048
10049 * gdb.fortran/vla-history.exp: Remove breakpoint.
10050
07e448ad 100512016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10052
25d49b86
PA
10053 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10054 exceeds timeout.
07e448ad 10055
9ac2d526 100562016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10057
25d49b86
PA
10058 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10059 breakpoint.
9ac2d526 10060
17807369
BH
100612016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10062
10063 * gdb.mi/vla.f90: Nullify pointer after declaration.
10064
86e501af
PA
100652016-03-01 Pedro Alves <palves@redhat.com>
10066
10067 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10068
1e903e32
PA
100692016-03-01 Pedro Alves <palves@redhat.com>
10070
10071 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10072 before anything else.
10073 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10074 _GNU_SOURCE here.
10075 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10076 before anything else.
10077 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10078
6ccb54e2
PA
100792016-03-01 Pedro Alves <palves@redhat.com>
10080
10081 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10082
30ca9da1
YQ
100832016-03-01 Yao Qi <yao.qi@linaro.org>
10084
10085 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10086 prepare_for_testing.
10087
dc856b38
YQ
100882016-03-01 Yao Qi <yao.qi@linaro.org>
10089
10090 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10091
4a932159
AA
100922016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10093
10094 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10095 manually constructing the output path.
10096
f2489477
AA
100972016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10098
10099 * gdb.arch/s390-stackless.S: New.
10100 * gdb.arch/s390-stackless.exp: New.
10101
38899f16
IB
101022016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10103
10104 * gdb.dlang/circular.c: New file.
10105 * gdb.dlang/circular.exp: New file.
10106
9fde51ed
YQ
101072016-02-26 Yao Qi <yao.qi@linaro.org>
10108
10109 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10110 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10111 (testcases): Update.
10112
ce90fefe
YQ
101132016-02-26 Yao Qi <yao.qi@linaro.org>
10114
10115 * gdb.reverse/aarch64.c: Rename to ...
10116 * gdb.reverse/insn-reverse.c: ... it.
10117 * gdb.reverse/aarch64.exp: Rename to ...
10118 * gdb.reverse/insn-reverse.exp: ... it.
10119
3263bceb
YQ
101202016-02-26 Yao Qi <yao.qi@linaro.org>
10121
10122 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10123 (testcase_ftype): New.
10124 (testcases): New array.
10125 (n_testcases): New.
10126 (main): Call each element in testcases.
10127 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10128 (read_testcase): New.
10129 Do the tests in a loop.
10130
6cb59ff1
YQ
101312016-02-25 Yao Qi <yao.qi@linaro.org>
10132
10133 * gdb.base/branches.c: Remove.
10134
ae91f625
MK
101352016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10136
10137 PR gdb/13808
10138 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10139
678b48b7
MK
101402016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10141
10142 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10143
7337a6f2
MK
101442016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10145
10146 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10147 change x86_64 call_insn to 'callq'.
10148
861ca91f
AT
101492016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10150
10151 * gdb.trace/tfile-avx.c: Move to...
10152 * gdb.trace/tracefile-pseudo-reg.c: Here.
10153 * gdb.trace/tfile-avx.exp: Move to...
10154 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10155
bf74e428
GB
101562016-02-24 Gary Benson <gbenson@redhat.com>
10157
10158 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10159 message on attach.
10160
cce0e923
DE
101612016-02-23 Doug Evans <dje@google.com>
10162
10163 * gdb.base/skip.c (test_skip): New function.
10164 (end_test_skip_file_and_function): New function.
10165 (test_skip_file_and_function): New function.
10166 * gdb.base/skip1.c (test_skip): New function.
10167 (skip1_test_skip_file_and_function): New function.
10168 * gdb.base/skip.exp: Add tests for new skip options.
10169 * gdb.base/skip-solib.exp: Update expected output.
10170 * gdb.perf/skip-command.cc: New file.
10171 * gdb.perf/skip-command.exp: New file.
10172 * gdb.perf/skip-command.py: New file.
10173
4000e47e
MK
101742016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10175
10176 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10177 info registers pattern.
10178
24f75ead
IB
101792016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10180
10181 * lib/future.exp: Add D support.
10182 (gdb_find_gdc): New proc.
10183 (gdb_default_target_compile): Add D support.
10184
fbb7bcbe
WW
101852016-02-18 Wei-cheng Wang <cole945@gmail.com>
10186
10187 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10188 user+system time.
10189 (trace_speed_test): Determine the iteration count for a time
10190 between 15..30 seconds.
10191
012b3a21
WT
101922016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10193
10194 * gdb.arch/i386-mpx-sigsegv.c: New file.
10195 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10196 * gdb.arch/i386-mpx-simple_segv.c: New file.
10197 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10198
2d5189bd
YQ
101992016-02-18 Yao Qi <yao.qi@linaro.org>
10200
10201 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10202 Don't call setup_kfail.
10203
40fb20d0
YQ
102042016-02-18 Yao Qi <yao.qi@linaro.org>
10205
10206 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10207 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10208
21b1f8d2
DE
102092016-02-16 Doug Evans <dje@google.com>
10210
10211 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10212 * gdb.base/skip1.c: Ditto.
10213 * gdb.base/skip.exp: Whitespace cleanup.
10214
4041ed77
DB
102152016-02-16 Don Breazeal <donb@codesourcery.com>
10216
10217 PR remote/19496
10218 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10219 Remove kfail for PR remote/19496.
10220
c4ef31bf
SM
102212016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10222
10223 * lib/gdb.exp (standard_temp_file): Return a path specific to
10224 the runtest invocation.
10225
266b65b3
SM
102262016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10227
10228 * gdb.trace/save-trace.exp: Change relative path to be in the
10229 standard output directory.
10230
a7a0a6a9
JK
102312016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10232
10233 * gdb.arch/i386-prologue.c: Add missing prototypes.
10234
c99dbb42
JK
102352016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10236
10237 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10238 * gdb.arch/i386-prologue.exp: Likewise.
10239 * gdb.arch/i386-size.exp: Likewise.
10240
aa480355
SM
102412016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10242
10243 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10244 define object file path.
10245 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10246 file path.
10247 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10248 standard_output_file to define binfile.
10249
ba881f50
JK
102502016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10251
10252 Fix compatibility with recent gfortran-5.3.1.
10253 * gdb.fortran/vla-history.exp (print vla1 allocated)
10254 (print vla2 allocated, print $2, print $3): Remove
10255 (print $4): Rename to ...
10256 (print $2): ... here.
10257 (print $9): Rename to ...
10258 (print $5): ... here.
10259 (print $10): Rename to ...
10260 (print $6): ... here.
10261 * gdb.fortran/vla.f90: Add pvla initialization.
10262
e9fb005c
JK
102632016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10264
10265 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10266 New test.
10267 * gdb.fortran/vla-value-sub.exp: Likewise.
10268
e44e00ff
MK
102692016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10270
10271 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10272
97e94151
SM
102732016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10274
10275 * i386-biarch-core.exp: Define corefile using
10276 standard_output_file.
10277
01113bc1
YQ
102782016-02-12 Yao Qi <yao.qi@linaro.org>
10279
10280 * gdb.arch/arm-single-step-kernel-helper.c: New.
10281 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10282
33b4777c
MM
102832016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10284
10285 * gdb.btrace/tailcall-only.exp: New.
10286 * gdb.btrace/tailcall-only.c: New.
10287 * gdb.btrace/x86_64-tailcall-only.S: New.
10288 * gdb.btrace/i686-tailcall-only.S: New.
10289
acc23c11
PA
102902016-02-11 Pedro Alves <palves@redhat.com>
10291
10292 * README (Parallel testing): Add missing double quotes.
10293
e352bf0a
PA
102942016-02-11 Pedro Alves <palves@redhat.com>
10295
10296 * README (Parallel testing): New section.
10297 (GDB_PARALLEL): Rewrite.
10298 (FORCE_PARALLEL): Document.
10299
9f5fed78
MK
103002016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10301
10302 * gdb.trace/tfile-avx.c: New test.
10303 * gdb.trace/tfile-avx.exp: New test.
10304
9ef9e6a6
KS
103052016-02-09 Keith Seitz <keiths@redhat.com>
10306
10307 PR breakpoints/19546
10308 * gdb.base/infcall-exec.c: New file.
10309 * gdb.base/infcall-exec2.c: New file.
10310 * gdb.base/infcall-exec.exp: New file.
10311
a96e36da
KS
103122016-02-09 Keith Seitz <keiths@redhat.com>
10313
10314 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10315 (toplevel): Call test_bkpt_address.
10316
9f61929f
KS
103172016-02-09 Keith Seitz <keiths@redhat.com>
10318
10319 PR python/19506
10320 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10321 (toplevel): Call test_bkpt_address.
10322
1e94266c
SM
103232016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10324
10325 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10326 to AC_OUTPUT.
10327 * configure: Regenerate.
10328
2a7f3dff
PA
103292016-02-09 Pedro Alves <palves@redhat.com>
10330
10331 PR breakpoints/19548
10332 * gdb.base/execl-update-breakpoints.c (some_function): New
10333 function.
10334 (main): Call it.
10335 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10336 Tighten expected GDB output.
10337
2151ccc5
SM
103382016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10339
10340 * Makefile.in (ALL_SUBDIRS): Remove.
10341 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10342 (distclean maintainer-clean realclean): Likewise.
10343 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10344 * configure: Regenerate.
10345 * gdb.ada/Makefile.in: Delete.
10346 * gdb.arch/Makefile.in: Likewise.
10347 * gdb.asm/Makefile.in: Likewise.
10348 * gdb.base/Makefile.in: Likewise.
10349 * gdb.btrace/Makefile.in: Likewise.
10350 * gdb.cell/Makefile.in: Likewise.
10351 * gdb.compile/Makefile.in: Likewise.
10352 * gdb.cp/Makefile.in: Likewise.
10353 * gdb.disasm/Makefile.in: Likewise.
10354 * gdb.dlang/Makefile.in: Likewise.
10355 * gdb.dwarf2/Makefile.in: Likewise.
10356 * gdb.fortran/Makefile.in: Likewise.
10357 * gdb.gdb/Makefile.in: Likewise.
10358 * gdb.go/Makefile.in: Likewise.
10359 * gdb.guile/Makefile.in: Likewise.
10360 * gdb.java/Makefile.in: Likewise.
10361 * gdb.linespec/Makefile.in: Likewise.
10362 * gdb.mi/Makefile.in: Likewise.
10363 * gdb.modula2/Makefile.in: Likewise.
10364 * gdb.multi/Makefile.in: Likewise.
10365 * gdb.objc/Makefile.in: Likewise.
10366 * gdb.opencl/Makefile.in: Likewise.
10367 * gdb.opt/Makefile.in: Likewise.
10368 * gdb.pascal/Makefile.in: Likewise.
10369 * gdb.perf/Makefile.in: Likewise.
10370 * gdb.python/Makefile.in: Likewise.
10371 * gdb.reverse/Makefile.in: Likewise.
10372 * gdb.server/Makefile.in: Likewise.
10373 * gdb.stabs/Makefile.in: Likewise.
10374 * gdb.threads/Makefile.in: Likewise.
10375 * gdb.trace/Makefile.in: Likewise.
10376 * gdb.xml/Makefile.in: Likewise.
10377 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10378 GDB_PARALLEL.
10379 (standard_output_file): Remove check for GDB_PARALLEL, always
10380 return path in outputs/$subdir/$testname.
10381
437277d4
SM
103822016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10383
10384 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10385 (site.exp): Assign abs_srcdir to tcl's srcdir.
10386
31d913c7
YQ
103872016-02-04 Yao Qi <yao.qi@linaro.org>
10388
10389 * gdb.base/foll-exec-mode.c: Include limits.h.
10390 (main): Add parameters argc and argv. Get directory from
10391 argv[0].
10392 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10393 compilation.
10394 * gdb.base/foll-exec.c: Include limits.h.
10395 (main): Add parameters argc and argv.
10396 Get directory from argv[0].
10397 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10398 Adjust tests on the number of lines as source code changed.
10399 * gdb.base/foll-vfork-exit.c: Include limits.h.
10400 (main): Add one line of statement before vfork.
10401 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10402 (main): Add parameters argc and argv. Get directory from
10403 argv[0].
10404 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10405 (setup_gdb): Set tbreak to skip some source lines.
10406 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10407 (main): Add parameters argc and argv. Get directory from
10408 argv[0].
10409 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10410 compilation.
10411 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10412 (main): Add parameters argc and argv. Get directory from
10413 argv[0].
10414 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10415 compilation.
10416
9482b9fb
DE
104172016-02-01 Doug Evans <dje@google.com>
10418
10419 * gdb.base/skip.exp: Clean up multiple references to same test name.
10420
6b2e4f10
PA
104212016-02-01 Pedro Alves <palves@redhat.com>
10422
ccb6afd6 10423 PR remote/19496
6b2e4f10
PA
10424 * gdb.threads/forking-threads-plus-breakpoint.exp
10425 (displaced_stepping_supported): New global.
10426 (probe_displaced_stepping_support): New procedure.
10427 (do_test): Add 'displaced' parameter, and use it.
10428 (top level): Check for displaced stepping support. Add displaced
10429 stepping on/off testing axis.
10430
37a8db1a
AB
104312016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10432
10433 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10434 pointer. Don't perform further tests on the unassociated pointer
10435 if the first test fails.
10436
5fdf6324
AB
104372016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10438
10439 * gdb.base/max-value-size.c: New file.
10440 * gdb.base/max-value-size.exp: New file.
10441 * gdb.base/huge.exp: Disable max-value-size for this test.
10442
935c6144
IB
104432016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10444
10445 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10446
7fe8399d
YQ
104472016-01-28 Yao Qi <yao.qi@linaro.org>
10448
10449 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10450
a2077e25
PA
104512016-01-25 Pedro Alves <palves@redhat.com>
10452
10453 PR threads/19461
10454 * gdb.base/fork-running-state.c: New file.
10455 * gdb.base/fork-running-state.exp: New file.
10456
1d2736d4
PA
104572016-01-25 Pedro Alves <palves@redhat.com>
10458
10459 PR gdb/19494
10460 * gdb.base/catch-fork-kill.c: New file.
10461 * gdb.base/catch-fork-kill.exp: New file.
10462
f1da4b11
PA
104632016-01-25 Pedro Alves <palves@redhat.com>
10464
10465 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10466 Delete, moved to lib/gdb.exp.
10467 * gdb.threads/forking-threads-plus-breakpoint.exp
10468 (foreach_with_prefix): Likewise.
10469 * gdb.threads/process-dies-while-handling-bp.exp
10470 (foreach_with_prefix): Likewise.
10471 * lib/gdb.exp (foreach_with_prefix): New procedure.
10472
45f38546
MK
104732016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10474
10475 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10476 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10477
dc29a1ce
MK
104782016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10479
10480 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10481 endian targets.
10482
092127d7
JK
104832016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10484 Pedro Alves <palves@redhat.com>
10485
10486 Fix testsuite compatibility with Guile.
10487 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10488 number.
10489
31d765d3
JK
104902016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10491
10492 Fix testsuite compatibility with Guile.
10493 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10494 (thread 1): New test for backtrace through signal handler.
10495
1ac78c04
YQ
104962016-01-22 Yao Qi <yao.qi@linaro.org>
10497
10498 PR testsuite/19491
10499 * gdb.base/multi-forks.c: Include
10500 ../lib/unbuffer_output.c
10501 (main): Call gdb_unbuffer_output.
10502
4f5946a8
DE
105032016-01-21 Doug Evans <dje@google.com>
10504
10505 * lib/ada.exp (gdb_compile_ada): Fix typo.
10506
305e13e6
JB
105072016-01-21 Joel Brobecker <brobecker@adacore.com>
10508
10509 * gdb.base/break-fun-addr.exp: New file.
10510 * gdb.base/break-fun-addr1.c: New file.
10511 * gdb.base/break-fun-addr2.c: New file.
10512
5f5dfff6
SM
105132016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10514
10515 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10516 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10517 enum flag values.
10518
fd356fa2
AA
105192016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10520
10521 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10522 when GDB can not set the vector return value. Add more comments
10523 for clarification.
10524
9df22175
AT
105252016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10526
10527 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10528 command.
10529
41d1845e
SM
105302016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10531
10532 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10533
01ac6840
SM
105342016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10535
10536 * Makefile.in (check-single): Pass --status to runtest.
10537 (check/%.exp): Likewise.
10538
105392016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10540
10541 * Makefile.in (check-parallel): Propagate return code from make
10542 do-check-parallel.
10543
bd0a71fa
MK
105442016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10545
10546 * gdb.trace/ftrace.exp: Fix expected message on continue.
10547 * gdb.trace/pending.exp: Fix expected message on continue.
10548 * gdb.trace/trace-break.exp: Fix expected message on continue.
10549
8bcbad33
SM
105502016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10551
10552 * lib/gdb.exp (gdb_test): Remove unused global references.
10553
f303dbd6
PA
105542016-01-18 Pedro Alves <palves@redhat.com>
10555
10556 * gdb.base/async-shell.exp: Adjust expected output.
10557 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10558 * gdb.base/siginfo-thread.exp: Adjust expected output.
10559 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10560 * gdb.java/jnpe.exp: Adjust expected output.
10561 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10562 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10563 * gdb.threads/leader-exit.exp: Adjust expected output.
10564 * gdb.threads/manythreads.exp: Adjust expected output.
10565 * gdb.threads/pthreads.exp: Adjust expected output.
10566 * gdb.threads/schedlock.exp: Adjust expected output.
10567 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10568 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10569 expected output.
10570 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10571 output.
10572 * gdb.threads/sigthread.exp: Adjust expected output.
10573 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10574
b2789696
YQ
105752016-01-18 Yao Qi <yao.qi@linaro.org>
10576
10577 * gdb.guile/scm-section-script.c: Replace @progbits with
10578 %progbits.
10579 * gdb.python/py-section-script.c: Likewise.
10580
71ef29a8
PA
105812016-01-15 Pedro Alves <palves@redhat.com>
10582
10583 * gdb.multi/tids.exp: Test star wildcard ranges.
10584
3f5b7598
PA
105852016-01-15 Pedro Alves <palves@redhat.com>
10586
10587 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10588 command from "thread apply" invocation.
10589 (thr_apply_info_thr_invalid): Default the expected output to the
10590 input tid list.
10591 (top level): Add tests that use convenience variables. Add tests
10592 for "thread apply" with a valid TID list, but missing the command.
10593
663f6d42
PA
105942016-01-13 Pedro Alves <palves@redhat.com>
10595
10596 * gdb.base/default.exp: Expect $_gthread as well.
10597 * gdb.multi/tids.exp: Test $_gthread.
10598 * gdb.threads/thread-specific.exp: Test $_gthread.
10599
c84f6bbf
PA
106002016-01-13 Pedro Alves <palves@redhat.com>
10601
10602 * gdb.multi/tids.exp: Test "info threads -gid".
10603
22a02324
PA
106042016-01-13 Pedro Alves <palves@redhat.com>
10605
10606 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10607 Breakpoint.thread.
10608 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10609
5d5658a1
PA
106102016-01-07 Pedro Alves <palves@redhat.com>
10611
10612 * gdb.base/break.exp: Adjust to output changes.
10613 * gdb.base/hbreak2.exp: Likewise.
10614 * gdb.base/sepdebug.exp: Likewise.
10615 * gdb.base/watch_thread_num.exp: Likewise.
10616 * gdb.linespec/keywords.exp: Likewise.
10617 * gdb.multi/info-threads.exp: Likewise.
10618 * gdb.threads/thread-find.exp: Likewise.
10619 * gdb.multi/tids.c: New file.
10620 * gdb.multi/tids.exp: New file.
10621
84654457
PA
106222016-01-13 Pedro Alves <palves@redhat.com>
10623
10624 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10625
e3940304
PA
106262016-01-13 Pedro Alves <palves@redhat.com>
10627
10628 * gdb.base/default.exp: Expect $_inferior as well.
10629 * gdb.multi/base.exp: Test $_inferior.
10630
a911d87a
PA
106312016-01-13 Pedro Alves <palves@redhat.com>
10632
10633 PR breakpoints/19388
10634 * gdb.base/catch-signal-siginfo-cond.c: New file.
10635 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10636
82075af2
JS
106372016-01-12 Josh Stone <jistone@redhat.com>
10638 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10639
10640 * gdb.base/catch-syscall.c (do_execve): New variable.
10641 (main): Conditionally trigger an execve.
10642 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10643 (test_catch_syscall_execve): New, check entry/return across execve.
10644 (do_syscall_tests): Call test_catch_syscall_execve.
10645
e46eeedd
PA
106462016-01-12 Pedro Alves <palves@redhat.com>
10647
10648 * gdb.base/random-signal.exp (do_test): New procedure, with body
10649 of testcase moved in.
10650
01d8c27e
JK
106512016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10652 Pedro Alves <palves@redhat.com>
10653
10654 * gdb.base/funcargs.exp (finish from indirectly called function):
10655 Reintroduce the case for 'First'.
10656
9a706302
JK
106572016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10658 Pedro Alves <palves@redhat.com>
10659
10660 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10661 (tcatch_vfork_then_child_follow_exec)
10662 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10663 identification.
10664
c0ecb95f
JK
106652016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10666
10667 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10668 and repeats to unlimited.
10669 * gdb.python/py-value.exp: Likewise.
10670 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10671 and repeats to unlimited.
10672
6cfc1fcb
JK
106732016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10674
10675 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10676 and reordering the functions.
10677 * gdb.multi/hangout.c: Likewise.
10678 * gdb.multi/hello.c: Likewise.
10679
582a1b00
SM
106802016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10681
10682 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10683 absolute.
10684 (SingleStatisticTestResult.report): Use dict.keys instead of
10685 dict.iterkeys.
10686
79bc59cb
PA
106872016-01-06 Pedro Alves <palves@redhat.com>
10688
10689 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10690
43368e1d
MM
106912016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10692
10693 * gdb.btrace/dlopen.exp: New.
10694 * gdb.btrace/dlopen.c: New.
10695 * gdb.btrace/dlopen-dso.c: New.
10696
79fad5b8
SL
106972015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10698
10699 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10700 PATTERN argument is optional.
10701
ab8314b3
JB
107022015-12-24 Joel Brobecker <brobecker@adacore.com>
10703
10704 * lib/ada.exp (target_compile_ada_from_dir): New function.
10705 (gdb_compile_ada): Reimplement avoiding the use of project files.
10706 * gdb.ada/gnat_ada.gpr: Delete.
10707 * gdb.ada/cond_lang.exp: Adjust test to make path before
10708 filename optional.
10709 * gdb.ada/small_reg_param.exp: Likewise.
10710
fe33faff
SM
107112015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10712
10713 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10714
6d265cb4
TP
107152015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10716
10717 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10718 case.
10719
10125099
SM
107202015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10721
10722 * gdb.base/break.exp: Remove dead code.
10723 * gdb.base/sepdebug.exp: Likewise.
10724
3ca22649
SM
107252015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10726
10727 * gdb.asm/asm-source.exp: Remove HP-UX references.
10728 * gdb.base/annota1.exp: Likewise.
10729 * gdb.base/annota3.exp: Likewise.
10730 * gdb.base/attach.exp: Likewise.
10731 * gdb.base/bigcore.exp: Likewise.
10732 * gdb.base/break.exp: Likewise.
10733 * gdb.base/call-ar-st.exp: Likewise.
10734 * gdb.base/callfuncs.exp: Likewise.
10735 * gdb.base/catch-fork-static.exp: Likewise.
10736 * gdb.base/display.exp: Likewise.
10737 * gdb.base/foll-exec-mode.exp: Likewise.
10738 * gdb.base/foll-exec.exp: Likewise.
10739 * gdb.base/foll-fork.exp: Likewise.
10740 * gdb.base/foll-vfork.exp: Likewise.
10741 * gdb.base/funcargs.exp: Likewise.
10742 * gdb.base/hbreak2.exp: Likewise.
10743 * gdb.base/inferior-died.exp: Likewise.
10744 * gdb.base/interrupt.exp: Likewise.
10745 * gdb.base/multi-forks.exp: Likewise.
10746 * gdb.base/nodebug.exp: Likewise.
10747 * gdb.base/sepdebug.exp: Likewise.
10748 * gdb.base/solib1.c: Likewise.
10749 * gdb.base/step-test.exp: Likewise.
10750 * gdb.mi/non-stop.c: Likewise.
10751 * gdb.mi/pthreads.c: Likewise.
10752 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10753 * gdb.threads/pthreads.c: Likewise.
10754 * gdb.threads/staticthreads.exp: Likewise.
10755 * lib/future.exp: Likewise.
10756 * lib/gdb.exp: Likewise.
10757 * gdb.base/so-indr-cl.c: Remove.
10758 * gdb.base/so-indr-cl.exp: Likewise.
10759 * gdb.base/solib.c: Likewise.
10760 * gdb.base/solib.exp: Likewise.
10761 * gdb.base/solib2.c: Likewise.
10762
b6304613
SM
107632015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10764
10765 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10766 * gdb.base/call-ar-st.exp: Likewise.
10767 * gdb.base/callfuncs.exp: Likewise.
10768 * gdb.base/condbreak.exp: Likewise.
10769 * gdb.base/constvars.exp: Likewise.
10770 * gdb.base/hbreak2.exp: Likewise.
10771 * gdb.base/langs.exp: Likewise.
10772 * gdb.base/list.exp: Likewise.
10773 * gdb.base/long_long.exp: Likewise.
10774 * gdb.base/ptype.exp: Likewise.
10775 * gdb.base/scope.exp: Likewise.
10776 * gdb.base/signals.exp: Likewise.
10777 * gdb.base/so-impl-ld.exp: Likewise.
10778 * gdb.base/varargs.exp: Likewise.
10779 * gdb.base/volatile.exp: Likewise.
10780 * gdb.base/whatis.exp: Likewise.
10781 * gdb.cp/cplusfuncs.exp: Likewise.
10782 * gdb.cp/inherit.exp: Likewise.
10783 * gdb.cp/local.exp: Likewise.
10784 * gdb.cp/member-ptr.exp: Likewise.
10785 * gdb.cp/method.exp: Likewise.
10786 * gdb.cp/overload.exp: Likewise.
10787 * gdb.cp/templates.exp: Likewise.
10788 * gdb.stabs/weird.exp: Likewise.
10789 * lib/compiler.c: Likewise.
10790 * lib/compiler.cc: Likewise.
10791 * lib/cp-support.exp: Likewise.
10792 * lib/gdb.exp: Likewise.
10793
bf401b07
SM
107942015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10795
10796 * configure.ac: Remove HP-UX case.
10797 * configure: Regenerate.
10798
aff9c0f8
SM
107992015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10800
10801 * lib/gdb.exp (gdb_compile): Add function doc.
10802
a6904d5a
PA
108032015-12-17 Pedro Alves <palves@redhat.com>
10804
10805 PR threads/19354
10806 * gdb.multi/info-threads.exp: New file.
10807
a22279dd
YQ
108082015-12-15 Yao Qi <yao.qi@linaro.org>
10809
10810 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10811 is aarch64*-*-*.
10812
0588c796
SL
108132015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10814
10815 * gdb.base/history-duplicates.exp: Skip if no readline support.
10816
5d978e17
SL
108172015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10818
10819 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10820
7e763b86
SL
108212015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10822
10823 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10824
87a3a92c
SL
108252015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10826
10827 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10828 ctrl-C if nointerrupts target property is set.
10829 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10830 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10831 * gdb.base/paginate-bg-execution.exp: Likewise.
10832 * gdb.base/paginate-execution-startup.exp: Likewise.
10833 * gdb.base/random-signal.exp: Likewise.
10834 * gdb.base/range-stepping.exp: Likewise.
10835 * gdb.cp/annota2.exp: Likewise.
10836 * gdb.cp/annota3.exp: Likewise.
10837 * gdb.gdb/selftest.exp: Likewise.
10838 * gdb.threads/continue-pending-status.exp: Likewise.
10839 * gdb.threads/leader-exit.exp: Likewise.
10840 * gdb.threads/manythreads.exp: Likewise.
10841 * gdb.threads/pthreads.exp: Likewise.
10842 * gdb.threads/schedlock.exp: Likewise.
10843 * gdb.threads/sigthread.exp: Likewise.
10844
a8f077dc
DB
108452015-12-11 Don Breazeal <donb@codesourcery.com>
10846
10847 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10848 remote.
10849 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10850 * gdb.base/foll-exec.exp (main): Enable for target remote.
10851 * gdb.base/foll-fork.exp (main): Likewise.
10852 * gdb.base/foll-vfork.exp (main): Likewise.
10853 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10854 (proc continue_to_exit_bp_loc): Use clean_restart.
10855 * gdb.base/pie-execl.exp (main): Disable for target remote.
10856 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10857 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10858 * gdb.threads/execl.exp (main): Likewise.
10859 * gdb.threads/fork-child-threads.exp (main): Likewise.
10860 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10861 remote.
10862 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10863 remote.
10864 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10865 pid.tid style ptids, instead of just tid.
10866 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10867 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10868 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10869 ptids, instead of just tid.
10870
3b2464a8
AB
108712015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10872
10873 * gdb.base/list.exp (test_list_forward): Add end of file error
10874 test.
10875 (test_repeat_list_command): Add end of file error test.
10876 (test_list_backwards): Add beginning of file error test.
10877
a0def019
AB
108782015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10879
10880 * gdb.base/list.exp (test_list_invalid_args): New function,
10881 defined, and called.
10882
5c000dff
AB
108832015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10884
10885 * gdb.base/list.exp (test_list): Make test names unique.
10886
f1637ebe
YQ
108872015-12-11 Yao Qi <yao.qi@linaro.org>
10888
10889 * gdb.base/coremaker2.c: Remove.
10890
36d6fc0a
PA
108912015-12-10 Pedro Alves <palves@redhat.com>
10892
10893 * gdb.multi/base.exp: Remove stale "spaces" references.
10894
762f7747
PA
108952015-12-10 Pedro Alves <palves@redhat.com>
10896
10897 * gdb.multi/base.exp: Don't use nowarnings.
10898 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10899 * gdb.multi/hangout.c: Include stdio.h.
10900 * gdb.multi/hello.c: Include stdlib.h.
10901 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10902 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10903 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10904
28d2bfb9
AB
109052015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10906
10907 * gdb.dwarf2/dw2-ranges-base.c: New file.
10908 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10909 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10910 support additional line table, and debug ranges generation.
10911 (Dwarf::ranges): New function, generate .debug_ranges.
10912 (Dwarf::lines): Support generating simple line table programs.
10913 (Dwarf::assemble): Initialise new namespace variables.
10914
5fc2beac
KB
109152015-12-09 Kevin Buettner <kevinb@redhat.com>
10916
10917 * gdb.base/async.exp (proc test_background): Add case for
10918 asynchronous execution not supported.
10919
1c35a88f
LM
109202015-12-09 Luis Machado <lgustavo@codesourcery.com>
10921
10922 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10923 format and change test names to make them unique.
10924
b593e3d9
RK
109252015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10926 Pedro Alves <pedro@redhat.com>
10927
10928 PR gdb/18702
10929 Add checking of floatformats setup on x86_64 hosts.
10930 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10931 (smallval, bigval): New labels/constants.
10932 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10933 float" after loading bigval and smallval.
10934
d72413e6
PMR
109352015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10936
10937 * gdb.ada/fun_overload_menu.exp: New testcase.
10938 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10939
ece66d65
JS
109402015-12-04 Josh Stone <jistone@redhat.com>
10941
10942 * gdb.base/catch-fork-static.exp: New.
10943
41d0efca
YQ
109442015-12-03 Yao Qi <yao.qi@linaro.org>
10945
10946 * gdb.base/sizeof.c: Don't include stdio.h and
10947 ../lib/unbuffer_output.c.
10948 (main): New variable 'size' and 'value'. Remove printf and
10949 gdb_unbuffer_output. Assign return value to size and value.
10950 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10951 at the beginning.
10952 (check_sizeof): Check the result by printing variable 'size'.
10953 (check_valueof): Check the result by printing variable 'value'.
10954
99fd02d9
YQ
109552015-12-01 Yao Qi <yao.qi@linaro.org>
10956
10957 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10958 for aarch64*-*-linux* target.
10959
f2faf941
PA
109602015-11-30 Pedro Alves <palves@redhat.com>
10961
10962 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10963
04bf20c5
PA
109642015-11-30 Pedro Alves <palves@redhat.com>
10965
10966 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10967 Handle non-stop mode vCont replies.
10968
09df4675
PA
109692015-11-30 Pedro Alves <palves@redhat.com>
10970
10971 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10972 prepare_for_testing. Start gdb with "set non-stop on" appended to
10973 GDBFLAGS. Lax expected stop output.
10974
58b584af
YQ
109752015-11-27 Yao Qi <yao.qi@linaro.org>
10976
10977 * gdb.arch/arm-neon.exp: New.
10978 * gdb.arch/arm-neon.c: New.
10979
dfcb77a8
YQ
109802015-11-27 Yao Qi <yao.qi@linaro.org>
10981
10982 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10983
88e8ec1b
YQ
109842015-11-27 Yao Qi <yao.qi@linaro.org>
10985
10986 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10987 frames-invalid annotation.
10988
bfde72c2
YQ
109892015-11-27 Yao Qi <yao.qi@linaro.org>
10990
10991 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10992
f6512a69
SM
109932015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10994
10995 * gdb.threads/names.exp: New file.
10996 * gdb.threads/names.c: New file.
10997 * README: Mention gdb,no_thread_names.
10998
46a3515b
MM
109992015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11000
11001 PR 19297
11002 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11003 support" error.
11004
62147a22
PA
110052015-11-24 Pedro Alves <palves@redhat.com>
11006
11007 PR 17539
11008 * gdb.base/display.exp: Expect displays to be sorted in ascending
11009 order. Use multi_line.
11010 * gdb.base/solib-display.exp: Likewise.
11011
2f341b6e
PA
110122015-11-24 Pedro Alves <palves@redhat.com>
11013
11014 PR 17539
25d49b86
PA
11015 * gdb.base/display.exp: Expect displays to be sorted in ascending
11016 order. Use multi_line.
11017 * gdb.base/solib-display.exp: Likewise.
2f341b6e 11018
7e0aa6aa
PA
110192015-11-24 Pedro Alves <palves@redhat.com>
11020
11021 PR 17539
11022 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11023 threads in ascending order.
11024 * gdb.base/foll-fork.exp: Likewise.
11025 * gdb.base/foll-vfork.exp: Likewise.
11026 * gdb.base/multi-forks.exp: Likewise.
11027 * gdb.mi/mi-nonstop.exp: Likewise.
11028 * gdb.mi/mi-nsintrall.exp: Likewise.
11029 * gdb.multi/base.exp: Likewise.
11030 * gdb.multi/multi-arch.exp: Likewise.
11031 * gdb.python/py-inferior.exp: Likewise.
11032 * gdb.threads/break-while-running.exp: Likewise.
11033 * gdb.threads/execl.exp: Likewise.
11034 * gdb.threads/gcore-thread.exp: Likewise.
11035 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11036 * gdb.threads/kill.exp: Likewise.
11037 * gdb.threads/linux-dp.exp: Likewise.
11038 * gdb.threads/multiple-step-overs.exp: Likewise.
11039 * gdb.threads/next-bp-other-thread.exp: Likewise.
11040 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11041 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11042 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11043 * gdb.threads/thread-find.exp: Likewise.
11044 * gdb.threads/tls.exp: Likewise.
11045 * lib/mi-support.exp (mi_reverse_list): Delete.
11046 (mi_check_thread_states): No longer reverse list.
11047
2cc57ad8
PA
110482015-11-24 Pedro Alves <palves@redhat.com>
11049
11050 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11051 use lowercase.
11052
c93e8391
SM
110532015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11054
11055 * gdb.trace/actions.c: Include trace-common.h.
11056 (main): Add a location for a fast tracepoint.
11057 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11058 the normal tracepoints.
11059 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11060
045ccf91
SM
110612015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11062
11063 * save-trace.exp: Factor out code to these...
11064 (gdb_save_tracepoints): New.
11065 (gdb_load_tracepoints): New.
11066 (do_save_load_test): New.
11067
5506f9f6
KB
110682015-11-23 Kevin Buettner <kevinb@redhat.com>
11069
11070 * gdb.base/asmlabel.exp: New test.
11071 * gdb.base/asmlabel.c: New test case.
11072
16c3b12f
JB
110732015-11-23 Joel Brobecker <brobecker@adacore.com>
11074
11075 * gdb.base/wrong_frame_bt_full-main.c: New file.
11076 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11077 * gdb.base/wrong_frame_bt_full.exp: New file.
11078
155bfbd3
JB
110792015-11-23 Joel Brobecker <brobecker@adacore.com>
11080
11081 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11082
bb097445
JM
110832015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11084
206853a0 11085 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
11086 pstate register when comparing registers values in
11087 sparc64-*-linux-gnu targets to avoid spurious differences.
11088
9c88ed8f
JM
110892015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11090
206853a0 11091 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 11092
96161e25
SL
110932015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11094
11095 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11096 as type argument to gdb_compile.
11097 * gdb.base/nested-subp2.exp: Likewise.
11098 * gdb.base/nested-subp3.exp: Likewise.
11099
340c2830
DV
111002015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11101
11102 * lib/dwarf.exp (_note): Fix left shift of negative value.
11103 * gdb.trace/trace-condition.exp: Likewise.
11104
c1862d0f
YQ
111052015-11-13 Yao Qi <yao.qi@linaro.org>
11106
11107 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11108 comments about d10v.
11109 (test_scalar_returns): Likewise.
11110 * gdb.base/d10v.ld: Remove.
11111 * gdb.base/overlays.exp: Remove the target triplet checking for
11112 d10v-*-*.
11113 * gdb.base/structs.exp (test_struct_returns): Remove the
11114 comments about d10v.
11115 (test_struct_calls): Likewise.
11116
77ae9c19
YQ
111172015-11-13 Yao Qi <yao.qi@linaro.org>
11118
11119 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11120 * gdb.base/gnu_vector.c: Don't include stdio.h.
11121 (main): Don't print res and call add_some_intvecs.
11122
430e004e
MK
111232015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11124
11125 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11126 macro.
11127 (func5): Removed.
11128 (func4): Use FAST_TRACEPOINT_LABEL.
11129 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11130 macro.
11131 (func): Removed.
11132 (thread_function): Use FAST_TRACEPOINT_LABEL.
11133 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11134 (func): Remove.
11135 (marker): Use FAST_TRACEPOINT_LABEL.
11136 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11137 (pendfunc1): Remove.
11138 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11139 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11140 (foo): Remove.
11141 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11142 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11143 macro.
11144 (func): Remove.
11145 (marker): Use FAST_TRACEPOINT_LABEL.
11146 * gdb.trace/trace-common.h: New header.
11147 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11148 macro.
11149 (func): Remove.
11150 (marker): Use FAST_TRACEPOINT_LABEL.
11151 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11152 (func): Remove.
11153 (thread_function): Use FAST_TRACEPOINT_LABEL.
11154
6e7675a7
MK
111552015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11156
11157 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11158 in front.
11159 * gdb.trace/change-loc.exp: Use global pcreg definition.
11160 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11161 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11162 in front.
11163 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11164 * gdb.trace/pending.exp: Likewise.
11165 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11166 * gdb.trace/trace-break.exp: Likewise.
11167 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11168 in front.
11169 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11170 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11171 in front.
11172 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11173
dddc0e16
JB
111742015-11-09 Joel Brobecker <brobecker@adacore.com>
11175
11176 * gdb.ada/fin_fun_out: New testcase.
11177
c6f0b406
KB
111782015-11-07 Kevin Buettner <kevinb@redhat.com>
11179
11180 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11181 value associated with DW_AT_byte_size.
11182 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11183 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11184 DW_AT_upper_bound.
11185
f01dcfd9
KB
111862015-11-07 Kevin Buettner <kevinb@redhat.com>
11187
11188 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11189 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11190 version.
11191 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11192 gdb.dwarf2/dw2-canonicalize-type.exp,
11193 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11194 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11195 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11196 provided by gdb_target_symbol_prefix_flags_asm.
11197 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11198 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11199 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11200 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11201 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11202 macros where needed). Use this macro for symbols which require
11203 the prefix provided by SYMBOL_PREFIX.
11204
2223449a
KB
112052015-11-05 Kevin Buettner <kevinb@redhat.com>
11206
11207 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11208 New procs.
11209 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11210 representing expressions, of more than one list element.
11211 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11212 to prepend linker symbol prefix to f.
11213 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11214 table_1 and table_2.
11215 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11216 Likewise, for f and g.
11217 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11218 for ptr.
11219 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11220 for main.
11221 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11222 table_1_ptr and table_2_ptr.
11223
6f2f1a3a
JK
112242015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11225 Joel Brobecker <brobecker@adacore.com>
11226
11227 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11228
566c56c9
MK
112292015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11230
11231 * gdb.reverse/s390-mvcle.c: New test.
11232 * gdb.reverse/s390-mvcle.exp: New file.
11233 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11234
d5f0636b
MK
112352015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11236
11237 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11238
7ad8b86c
MK
112392015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11240
11241 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11242 reaching marker2.
11243 * gdb.reverse/getresuid-reverse.exp: Likewise.
11244 * gdb.reverse/pipe-reverse.exp: Likewise.
11245 * gdb.reverse/readv-reverse.exp: Likewise.
11246 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11247 * gdb.reverse/time-reverse.exp: Likewise.
11248 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11249
4081c0f1
YQ
112502015-10-30 Yao Qi <yao.qi@linaro.org>
11251
11252 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11253 (empty_cycle): Remove.
11254 (main): Don't call empty_cycle. Don't use watch_count_done.
11255 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11256 empty_cycle. Rewrite the code counting HW watchpoints.
11257
452b4ba5
MK
112582015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11259
11260 * gdb.reverse/fstatat-reverse.c: New test.
11261 * gdb.reverse/fstatat-reverse.exp: New file.
11262 * gdb.reverse/getresuid-reverse.c: New test.
11263 * gdb.reverse/getresuid-reverse.exp: New file.
11264 * gdb.reverse/pipe-reverse.c: New test.
11265 * gdb.reverse/pipe-reverse.exp: New file.
11266 * gdb.reverse/readv-reverse.c: New test.
11267 * gdb.reverse/readv-reverse.exp: New file.
11268 * gdb.reverse/recvmsg-reverse.c: New test.
11269 * gdb.reverse/recvmsg-reverse.exp: New file.
11270 * gdb.reverse/time-reverse.c: New test.
11271 * gdb.reverse/time-reverse.exp: New file.
11272 * gdb.reverse/waitpid-reverse.c: New test.
11273 * gdb.reverse/waitpid-reverse.exp: New file.
11274
5e2e7507
JK
112752015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11276
11277 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11278
0fde2c53
DE
112792015-10-26 Doug Evans <dje@google.com>
11280
11281 PR symtab/17391
11282 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11283 * gdb.dwarf2/bad-regnum.c: New file.
11284 * gdb.dwarf2/bad-regnum.exp: New file.
11285
1a70ae97
DE
112862015-10-26 Doug Evans <dje@google.com>
11287
11288 PR python/18938
11289 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11290 file.
11291
27dc26ab
JK
112922015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11293
11294 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11295 for a change by "Mention language in compile error message".
11296
bed91f4d
SM
112972015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11298
11299 PR python/18073
11300 * gdb.python/py-type.c (C::a_method): New.
11301 (C::a_const_method): New.
11302 (C::a_static_method): New.
11303 (a_function): New.
11304 * gdb.python/py-type.exp (test_fields): Test getting fields
11305 from function and method.
11306
3f2f83dd
KB
113072015-10-21 Keven Boell <keven.boell@intel.com>
11308
11309 * gdb.fortran/vla-alloc-assoc.exp: New file.
11310 * gdb.fortran/vla-datatypes.exp: New file.
11311 * gdb.fortran/vla-datatypes.f90: New file.
11312 * gdb.fortran/vla-history.exp: New file.
11313 * gdb.fortran/vla-ptype-sub.exp: New file.
11314 * gdb.fortran/vla-ptype.exp: New file.
11315 * gdb.fortran/vla-sizeof.exp: New file.
11316 * gdb.fortran/vla-sub.f90: New file.
11317 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11318 * gdb.fortran/vla-value-sub-finish.exp: New file.
11319 * gdb.fortran/vla-value-sub.exp: New file.
11320 * gdb.fortran/vla-value.exp: New file.
11321 * gdb.fortran/vla-ptr-info.exp: New file.
11322 * gdb.mi/mi-vla-fortran.exp: New file.
11323 * gdb.mi/vla.f90: New file.
11324
27145d50
SL
113252015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11326
11327 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11328 of hardwired timeout value.
11329
5f3ff4f8
JK
113302015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11331 Pedro Alves <palves@redhat.com>
11332
11333 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11334 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11335
bfd09d20
JS
113362015-10-19 Josh Stone <jistone@redhat.com>
11337
11338 * gdb.base/catch-syscall.c: Include <sched.h>.
11339 (unknown_syscall): New variable.
11340 (main): Trigger a vfork and an unknown syscall.
11341 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11342 (unknown_syscall_number): Likewise.
11343 (check_call_to_syscall): Accept an optional syscall pattern.
11344 (check_return_from_syscall): Likewise.
11345 (check_continue): Likewise.
11346 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11347 (test_catch_syscall_skipping_return): New test toggling off 'catch
11348 syscall' to step over the syscall return, then toggling back on.
11349 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11350 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11351 (do_syscall_tests): Call test_catch_syscall_without_args and
11352 test_catch_syscall_mid_vfork.
11353 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11354 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11355
b32b93c6
AS
113562015-10-19 Andrew Stubbs <ams@codesourcery.com>
11357
11358 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11359 print g_vE): Add new pass patterns.
11360 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11361 print various symbol names for vptr fields.
11362
9d622bda
AB
113632015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11364
11365 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11366 results.
11367
0fd8ac1c
YQ
113682015-10-12 Yao Qi <yao.qi@linaro.org>
11369
11370 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11371
34240514
YQ
113722015-10-12 Yao Qi <yao.qi@linaro.org>
11373
11374 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11375 is aarch64*-*-linux*.
11376
8240f442
YQ
113772015-10-12 Yao Qi <yao.qi@linaro.org>
11378
11379 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11380 (can_relocate_bcond_true): ... it.
11381 (can_relocate_bcond_false): New function.
11382 (foo): Likewise.
11383 (can_relocate_bl): Likewise.
11384 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11385 can_relocate_bl.
11386
2520f728
PMR
113872015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11388
11389 * gdb.base/nested-addr.c: New file.
11390 * gdb.base/nested-addr.exp: New testcase.
11391
abcef95a
MM
113922015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11393
11394 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11395 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11396 its output. Ignore the output of "record goto begin" and instead
11397 check that GDB is replaying.
11398
145e3ddb
PA
113992015-10-09 Pedro Alves <palves@redhat.com>
11400
11401 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11402 (top level): Use it in the run with no args test.
11403
d5d8c4e1
IB
114042015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11405
11406 * gdb.dlang/properties.exp: New file.
11407
06e635ef
SL
114082015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11409
11410 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11411 whether or not address 0x1000 is mapped on the target.
11412
e019fd1d
SM
114132015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11414
11415 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11416 build.
11417
77ba2a67
MM
114182015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11419
11420 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11421 instruction-history test.
11422
c60eb31f
DE
114232015-09-28 Doug Evans <dje@google.com>
11424
11425 * gdb.base/gcore.c (array_func): Add reference to static_array.
11426
9a3c8263
SM
114272015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11428
11429 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11430 source line.
11431
9720e656
SL
114322015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11433
11434 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11435 short or char as base type.
11436
938d3bf2
SL
114372015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11438
11439 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11440 to allow any size enum.
11441
e6c2c623
PMR
114422015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11443
11444 * gdb.ada/array_ptr_renaming.exp: New testcase.
11445 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11446 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11447
06da0f77
PL
114482015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11449
11450 * gdb.trace/ftrace-lock.c: New file.
11451 * gdb.trace/ftrace-lock.exp: New file.
11452
4f51c22a
PL
114532015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11454
11455 * gdb.arch/insn-reloc.c: New file.
11456 * gdb.arch/ftrace-insn-reloc.exp: New file.
11457
7041adf4
PL
114582015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11459
11460 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11461 instruction.
11462 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11463 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11464 * gdb.trace/range-stepping.c: Likewise.
11465 * gdb.trace/trace-break.c: Likewise.
11466 * gdb.trace/trace-mt.c (thread_function): Likewise.
11467 * gdb.trace/ftrace.c (marker): Likewise.
11468 * gdb.trace/trace-condition.c (marker): Likewise.
11469 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11470 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11471 is_aarch64_target.
11472
015d2e7e
DE
114732015-09-18 Doug Evans <xdje42@gmail.com>
11474
11475 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11476 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11477
26b188a2
SL
114782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11479
11480 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11481 the breakpoint.
11482
79dc332b
SL
114832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11484
11485 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11486 the pending breakpoint. Remove timeout override for "Run till
11487 MI pending breakpoint on pendfunc3 on thread 2" test.
11488
f57929f2
SL
114892015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11490
11491 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11492 filename pattern.
11493
3f469b17
SL
114942015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11495
11496 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11497 in breakpoint filename pattern.
11498
515b89b3
SL
114992015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11500
7800dbe4
SL
11501 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11502
115032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11504
515b89b3
SL
11505 * gdb.linespec/explicit.exp: Check for readline support for
11506 tab-completion tests. Fix obvious typo.
11507
d2939ba2
MM
115082015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11509
11510 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11511 and replay.
11512
cbb55fa7
MM
115132015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11514
11515 * gdb.btrace/non-stop.c: New.
11516 * gdb.btrace/non-stop.exp: New.
11517
43691ca1
PL
115182015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11519 Yao Qi <yao.qi@linaro.org>
11520
11521 * gdb.trace/trace-condition.c: New file.
11522 * gdb.trace/trace-condition.exp: New file.
11523
d78908cf
WW
115242015-09-16 Wei-cheng Wang <cole945@gmail.com>
11525
11526 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11527 for testing bytecode compilation.
11528
1ed415e2
PA
115292015-09-16 Pedro Alves <palves@redhat.com>
11530 Sandra Loosemore <sandra@codesourcery.com>
11531
11532 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11533 (SECONDS): Redefine.
11534 (main): Call pthread_kill and alarm early.
11535 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11536 support.
11537 (test): If the target can't hardware step and doesn't support
11538 displaced stepping, increase the timeout.
11539
d136eff5
PA
115402015-09-16 Pedro Alves <palves@redhat.com>
11541
11542 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11543 (enable_debug): New procedures.
11544 (test): Use them. Bail out if waiting for threads fails.
11545 (top level): Bail out if a test fails.
11546
991f019c
YQ
115472015-09-16 Yao Qi <yao.qi@linaro.org>
11548
11549 * gdb.asm/asm-source.exp: Set asm-arch for
11550 aarch64*-*-* target.
11551 * gdb.asm/aarch64.inc: New file.
11552
bfca584f
PMR
115532015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11554
11555 * gdb.ada/array_of_variable_length.exp: New testcase.
11556 * gdb.ada/array_of_variable_length/foo.adb: New file.
11557 * gdb.ada/array_of_variable_length/pck.adb: New file.
11558 * gdb.ada/array_of_variable_length/pck.ads: New file.
11559
b326e587
DE
115602015-09-15 Doug Evans <dje@google.com>
11561
11562 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11563 of function static local variable.
11564
5382cfab
PW
115652015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11566
11567 * gdb.threads/tls-so_extern.exp: New test file.
11568 * gdb.threads/tls-so_extern.c: New test file.
11569 * gdb.threads/tls-so_extern_main.c: New test file.
11570
141c5cc4
JK
115712015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11572
11573 * gdb.opt/solib-intra-step-lib.c: New file.
11574 * gdb.opt/solib-intra-step-main.c: New file.
11575 * gdb.opt/solib-intra-step.exp: New file.
11576
d15dcecd
PA
115772015-09-15 Pedro Alves <palves@redhat.com>
11578
11579 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11580 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11581
4c2f2a79
PA
115822015-09-14 Pedro Alves <palves@redhat.com>
11583
11584 * gdb.base/hook-stop-continue.c: Delete.
11585 * gdb.base/hook-stop-continue.exp: Delete.
11586 * gdb.base/hook-stop-frame.c: Delete.
11587 * gdb.base/hook-stop-frame.exp: Delete.
11588 * gdb.base/hook-stop.c: New file.
11589 * gdb.base/hook-stop.exp: New file.
11590
919e6dbe
PMR
115912015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11592
11593 * gdb.ada/access_to_packed_array.exp: New testcase.
11594 * gdb.ada/access_to_packed_array/foo.adb: New file.
11595 * gdb.ada/access_to_packed_array/pack.adb: New file.
11596 * gdb.ada/access_to_packed_array/pack.ads: New file.
11597
157280a4
MM
115982015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11599
11600 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11601 buffer size test.
11602
2fd33e94
DB
116032015-09-11 Don Breazeal <donb@codesourcery.com>
11604
11605 * gdb.base/foll-exec.c: Add copyright header. Fix
11606 formatting issues.
11607 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11608 (do_exec_tests): Use clean_restart in place of zap_session,
11609 and for test initialization. Fix formatting issues. Use
11610 fail in place of perror.
11611 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11612 an expect statement to match an expression with output from
11613 the program under debug.
11614 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11615 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11616 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11617 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11618 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11619
e70b6e8e
DE
116202015-09-09 Doug Evans <dje@google.com>
11621
11622 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11623
7a551a51
DE
116242015-09-09 Doug Evans <dje@google.com>
11625
11626 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11627
4c666f84
DE
116282015-09-09 Doug Evans <dje@google.com>
11629
11630 * gdb.base/savedregs.exp: Fix typo.
11631
243a9253
PA
116322015-09-09 Pedro Alves <palves@redhat.com>
11633
11634 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11635
c0fa8fbd
SL
116362015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11637
11638 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11639 command actually switches threads. Give up on remaining
11640 tests if target fails to stop at breakpoint.
11641
cd7c1778
PMR
116422015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11643
11644 * gdb.ada/funcall_char.exp: New testcase.
11645 * gdb.ada/funcall_char/foo.adb: New file.
11646
dc5c8746
PMR
116472015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11648
11649 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11650 expected outputs. Add two testcases for completing ambiguous
11651 functions.
11652 * gdb.ada/complete/aux_pck.adb: New file.
11653 * gdb.ada/complete/aux_pck.ads: New file.
11654 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11655 Ambiguous_Func functions.
11656 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11657 * gdb.ada/complete/pck.adb: Likewise.
11658
4e83a1e7
UW
116592015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11660
11661 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11662 failures to run the test program under GDB.
11663
8ce74153
LM
116642015-08-26 Luis Machado <lgustavo@codesourcery.com>
11665
11666 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11667 to C.
11668
e9756d52
PP
116692015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11670
11671 * gdb.base/run-after-attach.exp: New test file.
11672 * gdb.base/run-after-attach.c: New test file.
11673
8d37573b
DB
116742015-08-26 Don Breazeal <donb@codesourcery.com>
11675
11676 * gdb.base/foll-exec-2.c: New test program.
11677 * gdb.base/foll-exec-2.exp: New test.
11678
63e43d3a
PMR
116792015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11680
11681 * gdb.base/nested-subp1.exp: New file.
11682 * gdb.base/nested-subp1.c: New file.
11683 * gdb.base/nested-subp2.exp: New file.
11684 * gdb.base/nested-subp2.c: New file.
11685 * gdb.base/nested-subp3.exp: New file.
11686 * gdb.base/nested-subp3.c: New file.
11687
3d40fbb5
PA
116882015-08-24 Pedro Alves <palves@redhat.com>
11689
11690 * gdb.server/connect-without-multi-process.c: New file.
11691 * gdb.server/connect-without-multi-process.exp: New file.
11692
4422ac93
LM
116932015-08-24 Luis Machado <lgustavo@codesourcery.com>
11694
11695 * gdb.opt/inline-markers.c: Make z int.
11696
91dddb86
LM
116972015-08-24 Luis Machado <lgustavo@codesourcery.com>
11698
11699 * gdb.opt/inline-markers.c: Make z volatile.
11700
a48847ee
LM
117012015-08-24 Luis Machado <lgustavo@codesourcery.com>
11702
11703 * gdb.opt/inline-bt.c: New volatile global z.
11704 * gdb.opt/inline-cmds.c: Likewise.
11705 * gdb.opt/inline-locals.c: Likewise.
11706 * gdb.opt/inline-markers.c: New extern global z.
11707 (marker): Use z.
11708 (inline_fn): Likewise.
11709
0ebbc52b
PA
117102015-08-24 Pedro Alves <palves@redhat.com>
11711
11712 * config/m32r-stub.exp: Remove file.
11713 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11714 * gdb.base/call-rt-st.exp: Likewise.
11715 * gdb.base/call-strs.exp: Likewise.
11716 * gdb.base/default.exp: Remove references to h8300-*-hms and
11717 *-*-udi*.
11718 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11719
77c365df
AA
117202015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11721
11722 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11723 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11724 and "return" use KFAIL when GDB can not read/write the vector
11725 return value.
11726
4313b8c0
GB
117272015-08-21 Gary Benson <gbenson@redhat.com>
11728
11729 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11730
0e433b32
PA
117312015-08-20 Pedro Alves <palves@redhat.com>
11732
11733 * gdb.server/solib-list.exp: No longer expect an interior stop in
11734 non-stop mode.
11735
221e1a37
PA
117362015-08-20 Pedro Alves <palves@redhat.com>
11737
11738 * gdb.server/connect-stopped-target.c: New file.
11739 * gdb.server/connect-stopped-target.exp: New file.
11740
40e3ad0e
PA
117412015-08-20 Pedro Alves <palves@redhat.com>
11742
11743 * gdb.dwarf2/comp-unit-lang.exp: New file.
11744 * gdb.dwarf2/comp-unit-lang.c: New file.
11745
af39b327
PMR
117462015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11747
11748 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11749 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11750
7d45c7c3 117512015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 11752
7d45c7c3
KB
11753 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11754 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11755
4d6cceb4
DE
117562015-08-18 Doug Evans <dje@google.com>
11757 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11758
11759 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11760 skip_python_tests. New arg prompt_regexp.
11761 (skip_python_tests): New function.
11762 * lib/mi-support.exp (mi_skip_python_tests): New function.
11763 * gdb.python/py-mi-objfile-gdb.py: New file.
11764 * gdb.python/py-mi-objfile.c: New file.
11765 * gdb.python/py-mi-objfile.exp: New file.
11766
ad89c2aa
KS
117672015-08-17 Keith Seitz <keiths@redhat.com>
11768
11769 * gdb.linespec/explicit.exp: Move strace test from here ...
11770 * gdb.trace/strace.exp: ... to here.
11771
e3ae3c43
PP
117722015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11773
11774 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11775 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11776
604b2636
DE
117772015-08-14 Doug Evans <xdje42@gmail.com>
11778
11779 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11780 inferior before selecting a new file.
11781
6ff0ba5f
DE
117822015-08-14 Doug Evans <xdje42@gmail.com>
11783
11784 * gdb.mi/mi-disassemble.exp: Update.
11785 * gdb.base/disasm-optim.S: New file.
11786 * gdb.base/disasm-optim.c: New file.
11787 * gdb.base/disasm-optim.h: New file.
11788 * gdb.base/disasm-optim.exp: New file.
11789
9ca98f92
KS
117902015-08-14 Keith Seitz <keiths@redhat.com>
11791
11792 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11793 "evaluated-by".
11794
52bbc560
JB
117952015-08-13 Joel Brobecker <brobecker@adacore.com>
11796
11797 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11798
5d8c3ed3
PMR
117992015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11800
11801 * gdb.ada/fun_renaming.exp: New testcase.
11802 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11803 * gdb.ada/fun_renaming/pack.adb: New file.
11804 * gdb.ada/fun_renaming/pack.ads: New file.
11805
ea8812bc
KS
118062015-08-12 Keith Seitz <keiths@redhat.com>
11807
11808 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11809 gdb_get_line_number.
11810
4dafcdeb
JB
118112015-08-12 Joel Brobecker <brobecker@adacore.com>
11812
11813 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11814 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11815 gdb.base/dso2dso.exp: New files.
11816
5ba32597
SDJ
118172015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11818 Pedro Alves <palves@redhat.com>
11819 Keith Seitz <keiths@redhat.com>
11820
11821 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11822 GDBFLAGS.
11823
b6dafabf
PP
118242015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11825
11826 * gdb.base/gdbhistsize-history.exp
11827 (test_histsize_history_setting): Use save_vars.
11828 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11829 Use save_vars.
11830 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11831 * gdb.base/readline.exp: Use save_vars.
11832
abe8e607
PP
118332015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11834
11835 * lib/gdb.exp (save_vars): New proc.
11836
629500fa
KS
118372015-08-11 Keith Seitz <keiths@redhat.com>
11838
11839 * gdb.base/help.exp: Update help_breakpoint_text.
11840
eb8c4e2e
KS
118412015-08-11 Keith Seitz <keiths@redhat.com>
11842
11843 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11844 (at toplevel): Call test_explicit_breakpoints.
11845 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11846 breakpoints.
11847 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11848 breakpoint conditions, "-cond".
11849
87f0e720
KS
118502015-08-11 Keith Seitz <keiths@redhat.com>
11851
11852 * gdb.linespec/3explicit.c: New file.
11853 * gdb.linespec/cpexplicit.cc: New file.
11854 * gdb.linespec/cpexplicit.exp: New file.
11855 * gdb.linespec/explicit.c: New file.
11856 * gdb.linespec/explicit.exp: New file.
11857 * gdb.linespec/explicit2.c: New file.
11858 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11859 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11860 before using in the matching pattern.
11861 Clarify that `prefix' is a regular expression.
11862
f00aae0f
KS
118632015-08-11 Keith Seitz <keiths@redhat.com>
11864
11865 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11866 test.
11867 Add tests for missing ",FMT" and ",".
11868
e27852be
DE
118692015-08-10 Doug Evans <dje@google.com>
11870 Keith Seitz <keiths@redhat.com>
11871
11872 PR gdb/17960
11873 * gdb.base/completion.exp: Add location completer tests.
11874
7f03bd92
PA
118752015-08-07 Pedro Alves <palves@redhat.com>
11876
11877 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11878 tests here.
11879 (top level): Run do_test with and without displaced stepping.
11880
3fc8eb30
PA
118812015-08-07 Pedro Alves <palves@redhat.com>
11882
11883 * gdb.base/valgrind-disp-step.c: New file.
11884 * gdb.base/valgrind-disp-step.exp: New file.
11885
d4569d7b
PA
118862015-08-07 Pedro Alves <palves@redhat.com>
11887
11888 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11889 Delete function.
11890 (main): Add alarm. Run an infinite loop instead of calling
11891 wait_threads.
11892 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11893 comment.
11894 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11895 Delete function.
11896 (main): Add alarm. Run an infinite loop instead of calling
11897 wait_threads.
11898 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11899 comment.
11900
e1316e60
PA
119012015-08-07 Pedro Alves <palves@redhat.com>
11902
11903 * gdb.base/checkpoint-ns.exp: New file.
11904 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11905 standard_testfile.
11906
da8c46d2
MM
119072015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11908
11909 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11910 * gdb.btrace/instruction_history.exp: Update.
11911 * gdb.btrace/tsx.exp: New.
11912 * gdb.btrace/tsx.c: New.
11913
de1c2c52
PA
119142015-08-06 Pedro Alves <palves@redhat.com>
11915
11916 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11917 increase timeout.
11918 * gdb.reverse/until-precsave.exp: Bump timeouts.
11919
782e0bf4
PA
119202015-08-06 Pedro Alves <palves@redhat.com>
11921
11922 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11923
83e97ed0
PA
119242015-08-06 Pedro Alves <palves@redhat.com>
11925
11926 PR gdb/18749
11927 * gdb.threads/process-dies-while-handling-bp.c: New file.
11928 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11929
863d01bd
PA
119302015-08-06 Pedro Alves <palves@redhat.com>
11931
11932 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11933 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11934
0a39bb32
PA
119352015-08-05 Pedro Alves <palves@redhat.com>
11936
11937 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11938 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11939
ee2d2b10
SL
119402015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11941
11942 * gdb.base/bp-permanent.exp: Report test as unsupported if
11943 the target cannot stop at the permanent breakpoint.
11944
4e1bdb00
DE
119452015-08-03 Doug Evans <dje@google.com>
11946
11947 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11948 10000.
11949
3d338901
DE
119502015-08-03 Doug Evans <dje@google.com>
11951
11952 * Makefile.in (workers/%.worker, build-perf): New rule.
11953 (GDB_PERFTEST_MODE): New variable.
11954 (check-perf): Use it.
11955 (clean): Clean up gdb.perf parallel build subdirs.
11956 * lib/build-piece.exp: New file.
11957 * lib/gdb.exp (make_gdb_parallel_path): New function
11958 (standard_output_file, standard_temp_file): Call it.
11959 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11960 of $GDB_PARALLEL.
11961 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11962
af061d3e
DE
119632015-08-03 Doug Evans <dje@google.com>
11964
8e1afc81 11965 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
11966 (LOG_FILE_NAME): New global.
11967 (TextReporter.__init__): Initialize self.txt_sum.
11968 (TextReporter.report): Add support for multiple data-points.
11969 Move report to perftest.sum, put raw data in perftest.log.
11970 (TextReporter.start): Open sum and log files.
11971 (TextReporter.end): Close sum and log files.
8e1afc81
DE
11972 * gdb.perf/lib/perftest/testresult.py
11973 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 11974
2c8c5d37
PA
119752015-07-31 Pedro Alves <palves@redhat.com>
11976
11977 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11978 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11979 kill_wait_spawned_process instead of explicit "kill -9".
11980 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11981 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11982 kill_wait_spawned_process.
11983 * gdb.base/attach-twice.exp: Likewise.
11984 * gdb.base/attach.exp: Likewise.
11985 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11986 gdb_test_multiple.
11987 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11988 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11989 kill_wait_spawned_process.
11990 * gdb.base/valgrind-infcall.exp: Likewise.
11991 * gdb.multi/multi-attach.exp: Likewise.
11992 * gdb.python/py-prompt.exp: Likewise.
11993 * gdb.python/py-sync-interp.exp: Likewise.
11994 * gdb.server/ext-attach.exp: Likewise.
11995 * gdb.threads/attach-into-signal.exp (corefunc): Use
11996 spawn_wait_for_attach, spawn_id_get_pid and
11997 kill_wait_spawned_process.
11998 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11999 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12000 spawn_id_get_pid and kill_wait_spawned_process.
12001 * gdb.threads/attach-stopped.exp (corefunc): Use
12002 spawn_wait_for_attach, spawn_id_get_pid and
12003 kill_wait_spawned_process.
12004 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12005 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12006 kill_wait_spawned_process instead of explicit "kill -9".
12007 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12008 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12009 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12010 processes. Don't map cygwin/windows pids here. Now returns a
12011 spawn id list.
12012
032a0fca
SL
120132015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12014
12015 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12016 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12017 correct patch.
12018
61a934ca
SL
120192015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12020
12021 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12022
4bc4d428
SL
120232015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12024
12025 Reapply:
12026 2014-05-21 Mark Wielaard <mjw@redhat.com>
12027
12028 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12029
998d452a
PA
120302015-07-30 Pedro Alves <palves@redhat.com>
12031
12032 * linux-low.c (handle_extended_wait): Set the child's last
12033 reported status to TARGET_WAITKIND_STOPPED.
12034
69dde7dc
PA
120352015-07-30 Pedro Alves <palves@redhat.com>
12036
12037 PR threads/18600
12038 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12039 only shows inferior 1.
12040
4dd63d48
PA
120412015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12042 Pedro Alves <palves@redhat.com>
12043
12044 PR threads/18600
12045 * gdb.threads/fork-plus-threads.c: New file.
12046 * gdb.threads/fork-plus-threads.exp: New file.
12047
d618e4c5
PP
120482015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12049
12050 * gdb.base/batch-preserve-term-settings.exp
12051 (test_terminal_settings_preserved_after_cli_exit): Use
12052 send_quit_command.
12053
1eef6428
PA
120542015-07-29 Pedro Alves <palves@redhat.com>
12055 Don Breazeal <donb@codesourcery.com>
12056
12057 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12058 output from both inferior_spawn_id and gdb_spawn_id.
12059
7da5b897
SDJ
120602015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12061
12062 * gdb.threads/attach-into-signal.exp (corefunc): Use
12063 with_test_prefix on nested loops, uniquefying the test messages.
12064
dac804df
SDJ
120652015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12066
12067 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12068 commit.
12069
06265e53
PP
120702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12071
12072 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12073 New proc.
12074 (test_terminal_settings_preserved_after_sigterm): New test.
12075
18206ca3
PP
120762015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12077
12078 * gdb.base/batch-preserve-term-settings.exp
12079 (test_terminal_settings_preserved_after_cli_exit): New test.
12080
90074d11
PP
120812015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12082
12083 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12084 manipulation of saved_gdbflags.
12085 (test_terminal_settings_preserved): Remove global declaration of
12086 the unused variable pagination_prompt. Remove manipulation of
12087 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12088 GDBFLAGS.
12089
eb1a7902
PA
120902015-07-29 Pedro Alves <palves@redhat.com>
12091
12092 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12093
8b75dd3b
PA
120942015-07-29 Pedro Alves <palves@redhat.com>
12095
12096 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12097 at the top.
12098
dedad4e3
PA
120992015-07-29 Pedro Alves <palves@redhat.com>
12100
12101 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12102 (main): Call gdb_unbuffer_output.
12103 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12104 (main): Call gdb_unbuffer_output.
12105 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12106 (main): Call gdb_unbuffer_output.
12107 * gdb.base/call-strs.exp: Adjust to step over the
12108 gdb_unbuffer_output call.
12109 * gdb.base/catch-gdb-caused-signals.c: Include
12110 "../lib/unbuffer_output.c".
12111 (main): Call gdb_unbuffer_output.
12112 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12113 (main): Call gdb_unbuffer_output.
12114 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12115 (main): Call gdb_unbuffer_output.
12116 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12117 (main): Call gdb_unbuffer_output.
12118 * gdb.base/shlib-call.exp: Adjust to step over the
12119 gdb_unbuffer_output call.
12120 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12121 (main): Call gdb_unbuffer_output.
12122 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12123 (main): Call gdb_unbuffer_output.
12124 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12125 (main): Rename to ...
12126 (test): ... this.
12127 (main): Reimplement.
12128 * gdb.base/varargs.exp: Run to test instead of to main.
12129 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12130 (main): Call gdb_unbuffer_output.
12131
58789a91
PA
121322015-07-29 Pedro Alves <palves@redhat.com>
12133
12134 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12135 factore out from mi_continue_dprintf. For call-style dprintfs,
12136 expect dprintf output out of $inferior_spawn_id.
12137 (mi_continue_dprintf): Use mi_expect_dprintf.
12138 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12139 (main): Call gdb_unbuffer_output.
12140
e8376742
PA
121412015-07-29 Pedro Alves <palves@redhat.com>
12142
12143 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12144 (default_mi_gdb_start): Set inferior_spawn_id instead of
12145 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12146 gdb_spawn_id.
12147 (mi_gdb_test): Always expect inferior output from both
12148 $inferior_spawn_id and $gdb_spawn_id.
12149
08280010
PA
121502015-07-29 Pedro Alves <palves@redhat.com>
12151
12152 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12153 send_inferior and $inferior_spawn_id.
12154
4d30e432
PA
121552015-07-29 Pedro Alves <palves@redhat.com>
12156
12157 * gdb.gdb/complaints.exp (test_initial_complaints)
12158 (test_serial_complaints, test_short_complaints): Use
12159 gdb_test_stdio.
12160 (test_empty_complaint): Handle $inferior_spawn_id !=
12161 $gdb_spawn_id.
12162
0d30a335
PA
121632015-07-29 Pedro Alves <palves@redhat.com>
12164
12165 * gdb.base/varargs.exp: Use gdb_test_stdio.
12166
39413b29
PA
121672015-07-29 Pedro Alves <palves@redhat.com>
12168
12169 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12170
7cb000a9
PA
121712015-07-29 Pedro Alves <palves@redhat.com>
12172
12173 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12174
d7b8ac82
PA
121752015-07-29 Pedro Alves <palves@redhat.com>
12176
12177 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12178 parameter into two new parameters, "inf_result" and "gdb_result".
12179 Expect inferior output and gdb output from $inferior_spawn_id and
12180 $gdb_spawn_id, respectively. Adjust all callers.
12181
789c3a0c
PA
121822015-07-29 Pedro Alves <palves@redhat.com>
12183
12184 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12185 of gdb_test_sequence.
12186
77e760c3
PA
121872015-07-29 Pedro Alves <palves@redhat.com>
12188
12189 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12190 (saw_spurious_output): Expect inferior output from
12191 $inferior_spawn_id. Use gdb_test_stdio.
12192
8396d2cd
PA
121932015-07-29 Pedro Alves <palves@redhat.com>
12194
12195 * gdb.base/dprintf.exp: Use standard_testfile. Change
12196 prepare_for_testing call.
12197 (srcfile): Don't set.
12198 (restart): New procedure.
12199 (test_dprintf): New procecure, use to continue over dprintfs.
12200 (test_call, test_agent): New procedures, tests moved here.
12201 Restart gdb and recreate dprintfs. Adjust expected output.
12202
2051d61f
PA
122032015-07-29 Pedro Alves <palves@redhat.com>
12204
12205 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12206
452397af
PA
122072015-07-29 Pedro Alves <palves@redhat.com>
12208
12209 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12210
8aed9555
PA
122112015-07-29 Pedro Alves <palves@redhat.com>
12212
12213 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12214 gdb_test_stdio.
12215
188a61b4
PA
122162015-07-29 Pedro Alves <palves@redhat.com>
12217
12218 * lib/gdb.exp (gdb_test_stdio): New procedure.
12219
12264a45
PA
122202015-07-29 Pedro Alves <palves@redhat.com>
12221
12222 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12223
23ffc893
PA
122242015-07-29 Pedro Alves <palves@redhat.com>
12225
12226 * gdb.base/call-signal-resume.exp: Remove check for
12227 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12228 * gdb.base/unwindonsignal.exp: Likewise.
12229 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12230 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12231
65566918
PA
122322015-07-29 Pedro Alves <palves@redhat.com>
12233
12234 * gdb.base/siginfo-addr.c (pass): New function.
12235 (handler): Call it iff si_addr is correct.
12236 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12237 Set a breakpoint at "pass" and continue to it.
12238
d60a9221
SDJ
122392015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12240
12241 * gdb.python/py-objfile.exp: Make some tests have unique names.
12242 * gdb.python/py-pp-registration.exp: Likewise.
12243
bde40b8f
PA
122442015-07-28 Pedro Alves <palves@redhat.com>
12245
12246 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12247
13e1dec8
SM
122482015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12249
12250 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12251
da33c9a7
SM
122522015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12253
12254 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12255
077836f7
PP
122562015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12257
12258 * gdb.base/gdb-sigterm-2.exp: New test.
12259
b8cc7b2e
DE
122602015-07-25 Doug Evans <xdje42@gmail.com>
12261
12262 Revert:
12263 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12264 (workers/%.worker, build-perf): New rule.
12265 (GDB_PERFTEST_MODE): New variable.
12266 (check-perf): Use it.
12267 (clean): Clean up gdb.perf parallel build subdirs.
12268 * lib/build-piece.exp: New file.
12269 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12270 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12271 name.
12272 (standard_temp_file): Ditto.
12273 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12274 of $GDB_PARALLEL.
12275
c8bd4544
DE
122762015-07-24 Doug Evans <dje@google.com>
12277
12278 * gdb.perf/lib/perftest/utils.py: New file.
12279 * gdb.perf/gm-hello.cc: New file.
12280 * gdb.perf/gm-pervasive-typedef.cc: New file.
12281 * gdb.perf/gm-pervasive-typedef.h: New file.
12282 * gdb.perf/gm-std.cc: New file.
12283 * gdb.perf/gm-std.h: New file.
12284 * gdb.perf/gm-use-cerr.cc: New file.
12285 * gdb.perf/gm-utils.h: New file.
12286 * gdb.perf/gmonster-null-lookup.py: New file.
12287 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12288 * gdb.perf/gmonster-print-cerr.py: New file.
12289 * gdb.perf/gmonster-ptype-string.py: New file.
12290 * gdb.perf/gmonster-runto-main.py: New file.
12291 * gdb.perf/gmonster-select-file.py: New file.
12292 * gdb.perf/gmonster1-null-lookup.exp: New file.
12293 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12294 * gdb.perf/gmonster1-print-cerr.exp: New file.
12295 * gdb.perf/gmonster1-ptype-string.exp: New file.
12296 * gdb.perf/gmonster1-runto-main.exp: New file.
12297 * gdb.perf/gmonster1-select-file.exp: New file.
12298 * gdb.perf/gmonster1.cc: New file.
12299 * gdb.perf/gmonster1.exp: New file.
12300 * gdb.perf/gmonster2-null-lookup.exp: New file.
12301 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12302 * gdb.perf/gmonster2-print-cerr.exp: New file.
12303 * gdb.perf/gmonster2-ptype-string.exp: New file.
12304 * gdb.perf/gmonster2-runto-main.exp: New file.
12305 * gdb.perf/gmonster2-select-file.exp: New file.
12306 * gdb.perf/gmonster2.cc: New file.
12307 * gdb.perf/gmonster2.exp: New file.
12308
6eab34f3
DE
123092015-07-24 Doug Evans <dje@google.com>
12310
12311 * gdb.perf/README: New file.
12312 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12313 * lib/gen-perf-test.exp: New file.
12314
63738bfd
DE
123152015-07-24 Doug Evans <dje@google.com>
12316
12317 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12318 (PerfTest::startup): New function.
12319 (PerfTest::run): Return result of calling body.
12320 (PerfTest::assemble): Rewrite.
12321 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12322 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12323 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12324 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12325 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12326
7b606f95
DE
123272015-07-24 Doug Evans <dje@google.com>
12328
12329 * lib/gdb.exp (clean_restart): Make executable optional.
12330
a97b16b8
DE
123312015-07-24 Doug Evans <dje@google.com>
12332
12333 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12334 compiler_info references.
12335 * gdb.cp/temargs.exp: Ditto.
12336 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12337 (get_compiler_info): Early exit if already computed. Set compiler_info
12338 to "unknown" if there was a problem.
12339 (test_compiler_info): Add function comment. Call get_compiler_info.
12340
35baa57f
DE
123412015-07-24 Doug Evans <dje@google.com>
12342
12343 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12344 (workers/%.worker, build-perf): New rule.
12345 (GDB_PERFTEST_MODE): New variable.
12346 (check-perf): Use it.
12347 (clean): Clean up gdb.perf parallel build subdirs.
12348 * lib/build-piece.exp: New file.
12349 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12350 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12351 name.
12352 (standard_temp_file): Ditto.
12353 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12354 of $GDB_PARALLEL.
12355
6ebea266
DE
123562015-07-24 Doug Evans <dje@google.com>
12357
12358 * lib/future.exp (gdb_default_target_compile): New option
12359 "early_flags".
12360 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12361 --as-needed.
12362
1e76a7e9
SDJ
123632015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12364
12365 * gdb.base/catch-syscall.exp: Call gdb_exit before
12366 gdb_skip_xml_test.
12367
5068630a
PA
123682015-07-24 Pedro Alves <palves@redhat.com>
12369
12370 * gdb.python/py-events.exp: Accept output between the stop event
12371 and the prompt.
12372 * gdb.python/py-evsignal.exp: Likewise.
12373 * gdb.python/py-evthreads.exp: Likewise.
12374
77598427
PA
123752015-07-24 Pedro Alves <palves@redhat.com>
12376
12377 PR gdb/18717
12378 * gdb.threads/non-ldr-exit.c: New file.
12379 * gdb.threads/non-ldr-exit.exp: New file.
12380
11e6c98f
YQ
123812015-07-24 Yao Qi <yao.qi@linaro.org>
12382
12383 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12384 restarting process.
12385
51aee833
YQ
123862015-07-24 Yao Qi <yao.qi@linaro.org>
12387
12388 * gdb.server/ext-restart.exp: New file.
12389
8cfe207c
YQ
123902015-07-24 Yao Qi <yao.qi@linaro.org>
12391
12392 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12393 argument options.
12394 * gdb.server/ext-wrapper.exp: New file.
12395
cc12ce38
DE
123962015-07-23 Doug Evans <dje@google.com>
12397
12398 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12399 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12400
d0d84780
PMR
124012015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12402
12403 * gdb.ada/var_arr_typedef.exp: New testcase.
12404 * gdb.ada/var_arr_typedef/pack.adb: New file.
12405 * gdb.ada/var_arr_typedef/pack.ads: New file.
12406 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12407
8b558f79
JB
124082015-07-20 Joel Brobecker <brobecker@adacore.com>
12409
12410 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12411
775a3298
JK
124122015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12413
12414 * gdb.arch/i386-biarch-core.exp: Replace istarget
12415 by "complete set gnutarget". Remove expectation for the "core-file"
12416 command.
12417
db1ff28b
JK
124182015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12419
12420 Revert the previous commit:
12421 Tests for validate symbol file using build-id.
12422
0a94970d
JK
124232015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12424
12425 Tests for validate symbol file using build-id.
12426 * gdb.base/solib-mismatch-lib.c: New file.
12427 * gdb.base/solib-mismatch-libmod.c: New file.
12428 * gdb.base/solib-mismatch.c: New file.
12429 * gdb.base/solib-mismatch.exp: New file.
12430
03346981
SL
124312015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12432
12433 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12434 nios2-*-linux*.
12435 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12436 * gdb.base/siginfo.exp: Likewise.
12437 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12438
42422cc7
PL
124392015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12440
12441 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12442 Move it to ...
12443 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12444 ... here.
12445 * gdb.trace/range-stepping.exp: Check that the target supports
12446 range stepping.
12447
cfa68bae
JK
124482015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12449
12450 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12451
8ffdba26
PA
124522015-07-14 Pedro Alves <palves@redhat.com>
12453
12454 * gdb.base/killed-outside.exp: New file.
12455 * gdb.base/killed-outside.c: New file.
12456
218a5a11
JK
124572015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12458
12459 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12460 (n at main): New.
12461 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12462
e03ed3c6
AA
124632015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12464
12465 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12466 infcall tests instead of setting up for KFAIL.
12467
485668e5
MM
124682015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12469
12470 * gdb.btrace/record_goto-step.exp: New.
12471
08464196
JK
124722015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12473
12474 PR compile/18484
12475 * gdb.compile/compile.c (struct struct_type): Add volatile to
12476 selffield's type.
12477 * gdb.compile/compile.exp
12478 (compile code struct_object.selffield = &struct_object): Skip further
12479 struct_object tests if this one xfails.
12480
bcf5c1d9
RC
124812015-07-08 Robert O'Callahan <robert@ocallahan.org>
12482
12483 PR exp/18617
12484 * gdb.trace/ax.exp: Add test.
12485
4931af25
YQ
124862015-07-07 Yao Qi <yao.qi@linaro.org>
12487
12488 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12489 instead of istarget "aarch64*-*-*".
12490 * gdb.arch/aarch64-fp.exp: Likewise.
12491 * gdb.base/float.exp: Likewise.
12492 * gdb.reverse/aarch64.exp: Likewise.
12493 * lib/gdb.exp (is_aarch64_target): New proc.
12494
9fcf688e
YQ
124952015-07-07 Yao Qi <yao.qi@linaro.org>
12496
12497 * lib/gdb.exp (is_aarch32_target): New proc.
12498 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12499 instead of "istarget "arm*-*-*"".
12500 * gdb.arch/arm-disp-step.exp: Likewise.
12501 * gdb.arch/thumb-bx-pc.exp: Likewise.
12502 * gdb.arch/thumb-prologue.exp: Likewise.
12503 * gdb.arch/thumb-singlestep.exp: Likewise.
12504 * gdb.base/disp-step-syscall.exp: Likewise.
12505 * gdb.base/float.exp: Likewise.
12506
fbd8d50d
YQ
125072015-07-07 Yao Qi <yao.qi@linaro.org>
12508
12509 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12510 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12511
71be1fdc
YQ
125122015-07-07 Yao Qi <yao.qi@linaro.org>
12513
12514 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12515 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12516 if it exists.
12517 * gdb.multi/multi-arch.exp: Likewise.
12518
3e221d36
SM
125192015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12520
12521 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12522 print.
12523
d441430b
YQ
125242015-07-07 Yao Qi <yao.qi@linaro.org>
12525
12526 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12527
06f810bd
MG
125282015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12529
12530 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12531 '[' and ']' characters.
12532
5e61e7c0
IB
125332015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12534
12535 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12536
28bf096c
PA
125372015-06-29 Pedro Alves <palves@redhat.com>
12538
12539 PR threads/18127
12540 * gdb.threads/hand-call-new-thread.c: New file.
12541 * gdb.threads/hand-call-new-thread.c: New file.
12542
ee93cd5e
KS
125432015-06-26 Keith Seitz <keiths@redhat.com>
12544 Doug Evans <dje@google.com>
12545
12546 PR 16253
12547 * gdb.cp/var-tag-2.cc: New file.
12548 * gdb.cp/var-tag-3.cc: New file.
12549 * gdb.cp/var-tag-4.cc: New file.
12550 * gdb.cp/var-tag.cc: New file.
12551 * gdb.cp/var-tag.exp: New file.
12552
fc637f04
PP
125532015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12554
12555 * gdb.base/history-duplicates.exp: New test.
12556
2e52ae68
PP
125572015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12558
12559 * gdb.base/completion.exp: Test the completion of the "focus"
12560 command.
12561
6e22494e
JK
125622015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12563
12564 * gdb.arch/amd64-prologue-skip.S: New file.
12565 * gdb.arch/amd64-prologue-skip.exp: New file.
12566
bf7b9cd9
SM
125672015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12568
12569 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12570 is_address_zero_readable check.
12571
201e8dfd
PB
125722015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12573
12574 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12575 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12576
5cd867b4
YQ
125772015-06-24 Yao Qi <yao.qi@linaro.org>
12578
12579 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12580 linux targets.
12581
4d7be007
YQ
125822015-06-24 Yao Qi <yao.qi@linaro.org>
12583
12584 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12585 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12586 * gdb.base/siginfo-thread.exp: Likewise.
12587
07fcd301
YQ
125882015-06-22 Yao Qi <yao.qi@linaro.org>
12589
12590 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12591
52042a00
YQ
125922015-06-22 Yao Qi <yao.qi@linaro.org>
12593
12594 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12595 aarch64*-*-*.
12596 (skip_hw_watchpoint_tests): Likewise.
12597
74bd41ce
PP
125982015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12599
12600 * gdb.base/gdbinit-history.exp: Test the interaction between
12601 setting GDBHISTSIZE and setting the history size via .gdbinit.
12602
bc460514
PP
126032015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12604
12605 PR gdb/16999
12606 * gdb.base/gdbhistsize-history.exp: New test.
12607
b58c513b
PP
126082015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12609
12610 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12611 with GDBHISTSIZE.
12612 * gdb.base/readline.exp: Likewise.
12613
92046791
YQ
126142015-06-17 Yao Qi <yao.qi@linaro.org>
12615
12616 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12617 line.
12618
2093d2d3
PP
126192015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12620
12621 * gdb.base/gdbinit-history.exp: Add test case to check that
12622 an unlimited history file does not get truncated on exit.
12623
e6c693af
AA
126242015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12625
12626 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12627 (VECTOR): New macro. Use it...
12628 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12629 ...for these typedefs.
12630 (int8, char1, int1, double1): New typedefs.
12631 (struct just_int2, struct two_int2): New structures.
12632 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12633 (add_structvecs, add_singlevecs): New functions.
12634 (main): Call add_some_intvecs twice.
12635 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12636 the compile and exit upon failure. Try compiling for the "native"
12637 architecture. Test inferior function calls with vector arguments
12638 and vector return value handling with "finish" and "return".
12639
c74f7d1c
JT
126402015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12641
12642 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12643 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12644 PE file.
12645 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12646
98aa42ee
AT
126472015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12648
12649 PR breakpoints/16465
12650 * gdb.mi/mi-dprintf-pending.c: New file.
12651 * gdb.mi/mi-dprintf-pending.exp: New test.
12652 * gdb.mi/mi-dprintf-pendshr.c: New file.
12653
7d73c23c 126542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 12655 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
12656
12657 * gdb.arch/i386-mpx-map.c: New file.
12658 * gdb.arch/i386-mpx-map.exp: New File.
12659
126602015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12661
12662 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12663 * gdb.arch/i386-mpx.exp: Indentation fixed.
12664
126652015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12666
12667 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12668 function and improved indentation.
12669 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12670 gdb_test_multiple. Added additional tests to skip the test.
12671
126722015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12673
12674 * gdb.arch/i386-avx512.c: Change path in include file.
12675 * gdb.arch/i386-avx512.exp: Change include dir path
12676 compilation flag.
12677 * gdb.arch/i386-mpx.c: Change path in include file.
12678 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12679 flag.
12680
d5eba19a
JK
126812015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12682
12683 * gdb.compile/compile-print.exp (compile print *vararray@3)
12684 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12685
7f361056
JK
126862015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12687
12688 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12689 (do not keep jit in memory): ... this.
12690 (expect 5): Change it to ...
12691 (expect no 5): ... this.
12692
3b462ec2
SM
126932015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12694
12695 PR gdb/15564
12696 * gdb.mi/mi-detach.exp: New file.
12697
e0619de6
JK
126982015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12699
12700 PR symtab/18392
12701 * gdb.arch/amd64-tailcall-self.S: New file.
12702 * gdb.arch/amd64-tailcall-self.c: New file.
12703 * gdb.arch/amd64-tailcall-self.exp: New file.
12704
e970cb34
DB
127052015-05-28 Don Breazeal <donb@codesourcery.com>
12706
12707 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12708 tests for remote targets by checking is_target_gdbserver.
12709
b2e2f908
DE
127102015-05-27 Doug Evans <dje@google.com>
12711
12712 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12713 * gdb.dwarf2/opaque-type-lookup.c: New file.
12714 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12715
82c7be31
DE
127162015-05-26 Doug Evans <dje@google.com>
12717
12718 * gdb.cp/iostream.cc: New file.
12719 * gdb.cp/iostream.exp: New file.
12720
b4f54984
DE
127212015-05-26 Doug Evans <dje@google.com>
12722
12723 * gdb.dwarf2/dw2-op-call.exp: Update.
12724 * gdb.dwarf2/dw4-sig-types.exp: Update.
12725 * gdb.dwarf2/implptr.exp: Update.
12726 * gdb.mi/mi-cmd-param-changed.exp: Update.
12727
4ea6efe9
DE
127282015-05-26 Doug Evans <dje@google.com>
12729
12730 * gdb.python/py-lazy-string.c: New file.
12731 * gdb.python/py-lazy-string.exp: New file.
12732 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12733 (main): Update. Add estring3.
12734 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12735 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12736
f6bb7db3
YQ
127372015-05-26 Omair Javaid <omair.javaid@linaro.org>
12738 Yao Qi <yao.qi@linaro.org>
12739
12740 * gdb.reverse/aarch64.c: New.
12741 * gdb.reverse/aarch64.exp: New.
12742
a81bfbd0
OJ
127432015-05-26 Omair Javaid <omair.javaid@linaro.org>
12744
25d49b86
PA
12745 * lib/gdb.exp (supports_process_record): Return true for
12746 aarch64*-linux*.
a81bfbd0
OJ
12747 (supports_reverse): Likewise.
12748
158bf1b4
PP
127492015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12750
12751 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12752 Use with_test_prefix.
12753
a0145030
AB
127542015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12755
12756 * gdb.base/completion.exp: Add test for completion of layout
12757 names.
12758
ebe3b578
AB
127592015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12760
12761 * lib/gdb.exp (skip_tui_tests): New proc.
12762 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12763
84204ed7
PA
127642015-05-19 Pedro Alves <palves@redhat.com>
12765
12766 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12767 Save the whole env array instead of just HOME. Unset HISTSIZE in
12768 the environment while testing. Restore whole environment
12769 afterwards.
12770
37442ce1
DE
127712015-05-16 Doug Evans <xdje42@gmail.com>
12772
12773 * gdb.guile/scm-ports.c: New file.
12774 * gdb.guile/scm-ports.exp: Add memory port tests.
12775
36de76f9
JK
127762015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12777
12778 * gdb.compile/compile-print.c: New file.
12779 * gdb.compile/compile-print.exp: New file.
12780
3a9558c4
JK
127812015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12782
12783 * gdb.compile/compile-ops.exp: Cast param to void.
12784 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12785 (compile code struct_object.selffield = &struct_object): Add xfail.
12786
aa715135
JG
127872015-05-15 Joel Brobecker <brobecker@adacore.com>
12788
12789 * gdb.ada/arr_enum_with_gap: New testcase.
12790
931e5bc3
JG
127912015-05-15 Joel Brobecker <brobecker@adacore.com>
12792
12793 * gdb.ada/byte_packed_arr: New testcase.
12794
9cd4d857
JB
127952015-05-15 Joel Brobecker <brobecker@adacore.com>
12796
12797 * gdb.ada/pckd_neg: New testcase.
12798
ebfd00d2
PP
127992015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12800
12801 PR gdb/17820
12802 * gdb.base/gdbinit-history.exp: New test.
12803 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12804 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12805
4c082a81
SC
128062015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12807
12808 * gdb.python/py-xmethods.cc: Enhance test case.
12809 * gdb.python/py-xmethods.exp: New tests.
12810 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12811 function.
12812 (B_indexoper): Likewise.
12813 (global_dm_list) : Add new xmethod worker functions.
12814
f7797074
SDJ
128152015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12816
12817 * gdb.base/coredump-filter.exp: Correctly unset
12818 "coredump_var_addr" array.
12819
a4674e4e
PA
128202015-05-08 Pedro Alves <palves@redhat.com>
12821
12822 * gdb.server/non-existing-program.exp: Unset spawn_id.
12823
df2eb078
SC
128242015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12825
12826 PR python/18291
12827 * gdb.python/py-xmethods.exp: Add tests.
12828
422349a3
YQ
128292015-05-08 Yao Qi <yao.qi@linaro.org>
12830
12831 PR gdb/18208
12832 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12833 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12834 function set_coredump_filter, and remove remote_exec call.
12835 Remove argument ipid. Callers update.
12836 (top level): Don't get inferior's PID.
12837
63fc80ce
AA
128382015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12839
12840 * gdb.base/watch_thread_num.exp: Skip test on targets without
12841 access watchpoints.
12842
80ad801e
PA
128432015-05-06 Pedro Alves <palves@redhat.com>
12844
12845 PR server/18081
12846 * gdb.server/non-existing-program.exp: New file.
12847
0fa7fe50
JB
128482015-05-05 Joel Brobecker <brobecker@adacore.com>
12849
12850 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12851
3ea89b92
PMR
128522015-05-05 Joel Brobecker <brobecker@adacore.com>
12853
12854 * gdb.ada/out_of_line_in_inlined: New testcase.
12855
87b8eff0
JB
128562015-05-05 Joel Brobecker <brobecker@adacore.com>
12857
12858 * gdb.ada/var_rec_arr: New testcase.
12859
5fccc635
YQ
128602015-04-30 Yao Qi <yao.qi@linaro.org>
12861
12862 * gdb.base/break-idempotent.exp: If
12863 skip_hw_watchpoint_multi_tests returns true, skip the tests
12864 on "rwatch" and "awatch".
12865
42d38f42
YQ
128662015-04-30 Yao Qi <yao.qi@linaro.org>
12867
12868 * gdb.base/relativedebug.exp: Invoke gdb command
12869 "info sharedlibrary", and if libc.so doesn't have debug info,
12870 skip the test.
12871
2ce1cdbf
DE
128722015-04-29 Doug Evans <dje@google.com>
12873
12874 * gdb.python/py-xmethods.exp: Add ptype tests.
12875 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12876 get_result_type method.
12877
f24a38c5
LM
128782015-04-29 Luis Machado <lgustavo@codesourcery.com>
12879
12880 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12881 the target does not support hardware watchpoints.
12882
ecbf2b3c
LM
128832015-04-29 Luis Machado <lgustavo@codesourcery.com>
12884
12885 * gdb.base/break-always.exp: Abort testing if writing to memory
12886 causes an error.
12887
34f5f757
DE
128882015-04-28 Doug Evans <dje@google.com>
12889
12890 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12891 * gdb.python/py-pp-registration.exp: ... here. New file.
12892 * gdb.python/py-pp-registration.c: New file.
12893 * gdb.python/py-pp-registration.py: New file.
12894
69b4374a
DE
128952015-04-28 Doug Evans <dje@google.com>
12896
12897 * gdb.python/py-bad-printers.c: New file.
12898 * gdb.python/py-bad-printers.py: New file.
12899 * gdb.python/py-bad-printers.exp: New file.
12900
59fb7612
SS
129012015-04-28 Sasha Smundak <asmundak@google.com>
12902
12903 * gdb.python/py-type.exp: New test.
12904
2631b16a
AW
129052015-04-28 Andy Wingo <wingo@igalia.com>
12906
12907 * gdb.python/py-parameter.exp:
12908 * gdb.guile/scm-parameter.exp: Escape the path that we are
12909 matching against, as it might contain characters that are special
12910 to regular expressions.
12911
460efde1
JB
129122015-04-27 Joel Brobecker <brobecker@adacore.com>
12913
12914 * gdb.ada/rec_comp: New testcase.
12915
2d369d8e
SDJ
129162015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12917
12918 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12919 before using it.
12920
cf75d6c3
AB
129212015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12922
12923 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12924 new tests for verilog output.
12925
8dbe7ca5
YQ
129262015-04-24 Yao Qi <yao.qi@linaro.org>
12927
12928 * boards/remote-gdbserver-on-localhost.exp: New file.
12929
4ef9fb2f
PA
129302015-04-23 Pedro Alves <palves@redhat.com>
12931
12932 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12933 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12934 "end of file", remove $inferior_spawn_id from the indirect list.
12935
0a803169
PA
129362015-04-23 Pedro Alves <palves@redhat.com>
12937
12938 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12939
749ef8f8
PA
129402015-04-23 Pedro Alves <palves@redhat.com>
12941
12942 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12943 on $any_spawn_id instead of only on $gdb_spawn_id.
12944
8aae4344
PM
129452015-04-21 Pierre Muller <muller@sourceware.org>
12946
12947 PR pascal/17815
12948 * lib/pascal.exp (gpc_compile): Add new option "class".
12949 (fpc_compile): Likewise.
12950 * gdb.pascal/case-insensitive-symbols.pas: New file.
12951 * gdb.pascal/case-insensitive-symbols.exp: New file.
12952
1586c8fb
GB
129532015-04-20 Gary Benson <gbenson@redhat.com>
12954
12955 * gdb.base/attach.exp: Fix three extended remote failures.
12956
1b6e6f5c
GB
129572015-04-17 Gary Benson <gbenson@redhat.com>
12958
12959 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12960 the main executable over the remote protocol.
12961
e797481d
PA
129622015-04-16 Pedro Alves <palves@redhat.com>
12963
12964 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12965 a new gdbserver if gdbserver_reconnect_p is set.
12966
1ca99c42
PA
129672015-04-16 Pedro Alves <palves@redhat.com>
12968
12969 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12970 is set, don't exit gdbserver.
12971
af9fd6f8
AA
129722015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12973
12974 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12975 appropriate .insn, such that an older assembler can be used.
12976 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12977 the z/Architecture instruction set on 31-bit targets as well.
12978
04ff1e61
AA
129792015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12980
12981 * gdb.go/handcall.exp: Remove all logic related to the first
12982 breakpoint and rely on go_runto_main instead.
12983 * gdb.go/strings.exp: Likewise.
12984 * gdb.go/unsafe.exp: Likewise.
12985 * gdb.go/hello.exp: Likewise. Also rename the remaining
12986 breakpoint marker to "breakpoint 1".
12987 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12988 * gdb.go/strings.go: Likewise.
12989 * gdb.go/unsafe.go: Likewise.
12990 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12991 "set breakpoint 2 here" and rename the remaining breakpoint marker
12992 to "breakpoint 1".
12993
40d2f8d6
SM
129942015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12995
12996 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12997 if itertools.imap is not present.
12998 * gdb.python/py-objfile.exp: Add parentheses.
12999 * gdb.python/py-type.exp: Same.
13000 * gdb.python/py-unwind-maint.py: Same.
13001
8cbc97c6
YQ
130022015-04-15 Yao Qi <yao.qi@linaro.org>
13003
13004 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13005 of ":$ptr_size" and set its form explicitly.
13006
45fd756c
YQ
130072015-04-15 Pedro Alves <palves@redhat.com>
13008 Yao Qi <yao.qi@linaro.org>
13009
13010 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13011 timeout by factor of 4.
13012 (test_regular_watch): Likewise.
13013 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13014 * gdb.reverse/sigall-reverse.exp: Likewise.
13015 * gdb.reverse/until-precsave.exp: Likewise.
13016 * lib/gdb.exp (with_timeout_factor): New proc.
13017 (gdb_expect): Move some code to ...
13018 (get_largest_timeout): ... here. New procedure.
13019
9e811bc3
LM
130202015-04-14 Luis Machado <lgustavo@codesourcery.com>
13021
13022 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13023
0ff6fcb2
LM
130242015-04-13 Luis Machado <lgustavo@codesourcery.com>
13025
13026 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13027 to write to the .text section.
13028
7578d5f7
LM
130292015-04-13 Luis Machado <lgustavo@codesourcery.com>
13030
13031 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13032 Handle the case of targets that do not provide PID information.
13033
2efe15c4
YQ
130342015-04-13 Yao Qi <yao.qi@linaro.org>
13035
13036 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13037 and use expect instead of gdb_expect.
13038
8cd8f2f8
SDJ
130392015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13040
13041 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13042 "coredump_var_addr" to avoid naming conflict with other testcases.
13043
9ee41772
PA
130442015-04-10 Pedro Alves <palves@redhat.com>
13045
13046 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13047 gdb_test_sequence and gdb_assert.
13048
07473109
PA
130492015-04-10 Pedro Alves <palves@redhat.com>
13050
13051 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13052 test messages that don't include the breakpoint address.
13053
de3db44c
YQ
130542015-04-10 Yao Qi <yao.qi@linaro.org>
13055
13056 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13057 false for some offset and width combinations which aren't
13058 supported by linux kernel.
13059
c79d856c
PA
130602015-04-10 Pedro Alves <palves@redhat.com>
13061
13062 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13063 procedure, factored out from ...
13064 (top level): ... here. Add "set displaced-stepping" testing axis.
13065 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13066 parameter "displaced". Use it.
13067 (top level): Use foreach and add "set displaced-stepping" testing
13068 axis.
13069
ebc90b50
PA
130702015-04-10 Pedro Alves <palves@redhat.com>
13071
13072 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13073 Remove comment.
13074 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13075 both the address of the instruction that triggers the watchpoint
13076 and the address of the instruction immediately after, and use
13077 those addresses for the test. Fix comment.
13078
8f572e5c
PA
130792015-04-10 Pedro Alves <palves@redhat.com>
13080
13081 * gdb.base/sigstep.exp (breakpoint_to_handler)
13082 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13083 Test "backtrace" in handler.
13084 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13085 (top level): Add new "displaced" test axis to
13086 breakpoint_to_handler, breakpoint_to_handler_entry and
13087 breakpoint_over_handler.
13088
8d707a12
PA
130892015-04-10 Pedro Alves <palves@redhat.com>
13090
13091 PR gdb/18216
13092 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13093
ef713951
YQ
130942015-04-10 Yao Qi <yao.qi@linaro.org>
13095
13096 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13097 (test_add_rn_pc): New function.
13098 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13099 (top level): Invoke test_add_rn_pc.
13100
906d60cf
PA
131012015-04-10 Pedro Alves <palves@redhat.com>
13102
13103 PR gdb/13858
13104 * gdb.base/step-over-no-symbols.exp: New file.
13105
f2983cc3
AW
131062015-04-09 Andy Wingo <wingo@igalia.com>
13107
13108 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13109 after the Python tests.
13110
6d62641c
SDJ
131112015-04-08 Keith Seitz <keiths@redhat.com>
13112
13113 PR python/16699
13114 * gdb.python/py-completion.exp: New tests for completion.
13115 * gdb.python/py-completion.py (CompleteLimit1): New class.
13116 (CompleteLimit2): Likewise.
13117 (CompleteLimit3): Likewise.
13118 (CompleteLimit4): Likewise.
13119 (CompleteLimit5): Likewise.
13120 (CompleteLimit6): Likewise.
13121 (CompleteLimit7): Likewise.
13122
f3770638
PA
131232015-04-08 Pedro Alves <palves@redhat.com>
13124
13125 PR gdb/18214
13126 PR gdb/18216
13127 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13128 function.
13129 (main): Install it as SIGUSR1 handler.
13130 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13131 parameter. Always use "setup" as prefix. Toggle "set
13132 displaced-stepping" off/on depending on global. Don't switch to
13133 thread 1 here.
13134 (top level): Add displaced stepping "off/on" test axis. Update
13135 "setup" calls. Wrap each subtest with with_test_prefix. Test
13136 continuing with a queued signal in each thread.
13137
4496bed7
PA
131382015-04-08 Pedro Alves <palves@redhat.com>
13139
13140 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13141 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13142 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13143 Return early if running to main fails.
13144 * gdb.trace/while-stepping.exp: Likewise.
13145
b97fde92
PA
131462015-04-07 Pedro Alves <palves@redhat.com>
13147
13148 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13149 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13150 interact with inferior program.
13151
f71c18e7
PA
131522015-04-07 Pedro Alves <palves@redhat.com>
13153
13154 * lib/gdb.exp (inferior_spawn_id): New global.
13155 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13156 spawn id after processing the user code.
13157 (default_gdb_start): Set inferior_spawn_id.
13158 (send_inferior): New procedure.
13159 * lib/gdbserver-support.exp (gdbserver_start): Set
13160 inferior_spawn_id.
13161 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13162
6423214f
PA
131632015-04-07 Pedro Alves <palves@redhat.com>
13164
13165 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13166 * lib/gdbserver-support.exp (gdbserver_start): Make
13167 $server_spawn_id global.
13168 (gdbserver_start): Don't wait for gdbserver's spawn id with
13169 expect_background.
13170 (close_gdbserver): New procedure.
13171 (gdb_exit): Rename the default version and reimplement.
13172
71c0ee8c
PA
131732015-04-07 Pedro Alves <palves@redhat.com>
13174
72f4393d 13175 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
13176 append the substituted item, not the original item.
13177
203bc29b
PA
131782015-04-07 Pedro Alves <palves@redhat.com>
13179
13180 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13181 gdb_expect.
13182
508a3ddf
PA
131832015-04-07 Pedro Alves <palves@redhat.com>
13184
13185 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13186 output appearing once only.
13187
9f6dbe2b
PA
131882015-04-07 Pedro Alves <palves@redhat.com>
13189
13190 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13191 that doesn't expect anything. Return early if running to main
13192 fails.
13193
337532fa
YQ
131942015-04-07 Yao Qi <yao.qi@linaro.org>
13195
13196 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13197 (child_function): Call alarm.
13198 (main): Move call to alarm into the loop.
13199 * gdb.threads/non-stop-fair-events.exp: Build program with
13200 -DTIMEOUT=$timeout.
13201
01b622d4
DE
132022015-04-06 Doug Evans <xdje42@gmail.com>
13203
13204 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13205 Fix dest parameter to board_info.
13206 (fpc_compile): Ditto.
13207 (gdb_compile_pascal): Rename dest arg to destfile.
13208
961f4160
PMR
132092015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13210
13211 * gdb.ada/funcall_ref.exp: New file.
13212 * gdb.ada/funcall_ref/foo.adb: New file.
13213
cafda597
YQ
132142015-04-02 Yao Qi <yao.qi@linaro.org>
13215
13216 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13217 is remote.
13218
fed040c6
GB
132192015-04-02 Gary Benson <gbenson@redhat.com>
13220
13221 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13222
d11916aa
SS
132232015-04-01 Sasha Smundak <asmundak@google.com>
13224
13225 * gdb.python/py-unwind-maint.c: New file.
13226 * gdb.python/py-unwind-maint.exp: New test.
13227 * gdb.python/py-unwind-maint.py: New file.
13228 * gdb.python/py-unwind.c: New file.
13229 * gdb.python/py-unwind.exp: New test.
13230 * gdb.python/py-unwind.py: New test.
13231
a1471180
PA
132322015-04-01 Pedro Alves <palves@redhat.com>
13233
13234 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13235 to fail instead of non-existent $test.
13236
0bbeccb1
PA
132372015-04-01 Pedro Alves <palves@redhat.com>
13238
13239 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13240 GDBFLAGS if not empty.
13241
3c724c8c
PMR
132422015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13243
13244 * gdb.ada/complete.exp: Remove "multi_line".
13245 * gdb.ada/info_exc.exp: Remove "multi_line".
13246 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13247 * gdb.ada/ptype_field.exp: Remove "multi_line".
13248 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13249 * gdb.ada/tagged.exp: Remove "multi_line".
13250 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13251 [multi_line ...]
13252 * gdb.btrace/delta.exp: Likewise.
13253 * gdb.btrace/exception.exp: Likewise.
13254 * gdb.btrace/function_call_history.exp: Likewise.
13255 * gdb.btrace/instruction_history.exp: Likewise.
13256 * gdb.btrace/nohist.exp: Likewise.
13257 * gdb.btrace/record_goto.exp: Likewise.
13258 * gdb.btrace/segv.exp: Likewise.
13259 * gdb.btrace/stepi.exp: Likewise.
13260 * gdb.btrace/tailcall.exp: Likewise.
13261 * gdb.btrace/unknown_functions.exp: Likewise.
13262 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13263 * lib/gdb.exp: Add the "multi_line" helper.
13264
4eec2deb
PA
132652015-04-01 Pedro Alves <palves@redhat.com>
13266
13267 * gdb.threads/tid-reuse.c: New file.
13268 * gdb.threads/tid-reuse.exp: New file.
13269
df8411da
SDJ
132702015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13271
13272 PR corefiles/16092
13273 * gdb.base/coredump-filter.c: New file.
13274 * gdb.base/coredump-filter.exp: Likewise.
13275
6ef37366
PM
132762015-03-27 Petr Machata <pmachata@redhat.com>
13277
13278 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13279 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13280 (Dwarf::assemble): Initialize them.
13281 (Dwarf::lines): New function.
13282
7ec911b0
JT
132832015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13284
13285 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13286 SYMBOL_PREFIX for x86_64-*-cygwin.
13287
ff908ebf
AW
132882015-03-26 Andy Wingo <wingo@igalia.com>
13289
13290 PR symtab/18148
13291 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13292 const_value but not a location.
13293 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13294 location defined in non-main CUs are visible.
13295
6d5f0679
YQ
132962015-03-26 Yao Qi <yao.qi@linaro.org>
13297
13298 PR testsuite/18139
13299 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13300 Add a line number entry for the same line.
13301 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13302 Add a line number entry for the same line.
13303
2898689b
YQ
133042015-03-26 Yao Qi <yao.qi@linaro.org>
13305
13306 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13307 .int 0.
13308 (func): Likewise. Add .Lfunc_1 label.
13309 Use .Lfunc_1 label.
13310 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13311 .int 0.
13312 (func): Likewise.
13313 Use .Lfunc_1 label.
13314
85180498
YQ
133152015-03-26 Yao Qi <yao.qi@linaro.org>
13316
13317 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13318 Call gdb_compile instead to compile each .s files without debug
13319 information.
13320
8aa08a8d
YQ
133212015-03-26 Yao Qi <yao.qi@linaro.org>
13322
13323 * gdb.base/savedregs.exp (process_saved_regs): Make
13324 "Saved registers:" optional in the pattern.
13325
66849923
MM
133262015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13327
13328 * gdb.btrace/next.exp: Merged into step.exp.
13329 * gdb.btrace/finish.exp: Merged into step.exp.
13330 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13331 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13332 "record goto" and checking the exact replay position.
13333 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13334 check for "Recording format" in "info record" output.
13335 * gdb.btrace/record_goto.exp: Choose test file based on target.
13336 * gdb.btrace/x86-record_goto.S: Renamed into ...
13337 * gdb.btrace/x86_64-record_goto.S: ... this.
13338 * gdb.btrace/i686-record_goto.S: New.
13339 * gdb.btrace/x86-tailcall.S: Renamed into ...
13340 * gdb.btrace/x86_64-tailcall.S: ... this.
13341 * gdb.btrace/i686-tailcall.S: New.
13342 * gdb.btrace/x86-tailcall.c: Renamed into ...
13343 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13344 separate statements. Update test.
13345 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13346 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13347 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13348 * gdb.btrace/tailcall.exp: Choose test file based on target.
13349 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13350
11cc1b74
MM
133512015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13352
13353 * gdb.btrace/exception.exp: Increase BTS buffer size.
13354
a25d8bf9
PA
133552015-03-24 Pedro Alves <palves@redhat.com>
13356
13357 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13358
856e7dd6
PA
133592015-03-24 Pedro Alves <palves@redhat.com>
13360
13361 * gdb.threads/schedlock.exp (test_step): No longer expect that
13362 "set scheduler-locking step" with "next" over a function call runs
13363 threads unlocked.
13364
ad235a41
AT
133652015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13366
13367 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13368
15630549
AT
133692015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13370
13371 PR breakpoints/16466
13372 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13373 * gdb.mi/mi-pending.c (thread_func): New function.
13374 (int main): Add threading support required.
13375 * gdb.mi/mi-pending.exp: Add tests for this issue.
13376 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13377 (pendfunc2): Remove stdio dependency.
13378 * gdb.mi/mi-pendshr2.c: New file.
13379
693dca06
KS
133802015-03-23 Keith Seitz <keiths@redhat.com>
13381
13382 * gdb.linespec/keywords.c: New file.
13383 * gdb.linespec/keywords.exp: New file.
13384
7e993ebf
KS
133852015-03-23 Keith Seitz <keiths@redhat.com>
13386
13387 PR gdb/18021
13388 * gdb.dwarf2/staticvirtual.exp: New test.
13389
bc23328c
JK
133902015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13391
13392 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13393 * README: Remove HP-UX and gdb.hp.
13394 (configuration):
13395 * configure: Regenerate.
13396 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13397 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13398 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13399 gdb.hp/gdb.defects/Makefile.
13400 * gdb.hp/Makefile.in: File deleted.
13401 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13402 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13403 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13404 * gdb.hp/gdb.aCC/run.c: File deleted.
13405 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13406 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13407 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13408 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13409 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13410 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13411 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13412 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13413 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13414 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13415 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13416 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13417 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13418 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13419 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13420 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13421 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13422 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13423 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13424 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13425 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13426 * gdb.hp/gdb.compat/average.c: File deleted.
13427 * gdb.hp/gdb.compat/sum.c: File deleted.
13428 * gdb.hp/gdb.compat/xdb.c: File deleted.
13429 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13430 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13431 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13432 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13433 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13434 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13435 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13436 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13437 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13438 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13439 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13440 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13441 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13442 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13443 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13444 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13445 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13446 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13447 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13448 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13449 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13450 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13451 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13452 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13453 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13454 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13455 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13456 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13457 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13458 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13459 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13460 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13461 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13462 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13463 * gdb.hp/tools/odump: File deleted.
13464
8bf3b159
PA
134652015-03-19 Pedro Alves <palves@redhat.com>
13466
13467 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13468 (saw_thread_3): New globals.
13469 (top level): Increment them when an event for the corresponding
13470 thread is seen.
13471 (no thread starvation): New test.
13472
eb54c8bf
PA
134732015-03-19 Pedro Alves <palves@redhat.com>
13474
13475 * gdb.threads/continue-pending-status.c: New file.
13476 * gdb.threads/continue-pending-status.exp: New file.
13477
32d2e5d6
PA
134782015-03-18 Pedro Alves <palves@redhat.com>
13479
13480 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13481 Use gdb_is_target_remote instead of is_remote. Use
13482 gdb_test_multiple instead of gdb_expect. Exit early if
13483 gdb_test_multiple hits its internal matches. Tighten stepi tests
13484 expected output. Fail on exit with any signal, instead of just
13485 SIGILL.
13486
f68f11b7
YQ
134872015-03-18 Yao Qi <yao.qi@linaro.org>
13488
13489 PR tdep/18107
13490 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13491 variable.
13492 * gdb.base/catch-syscall.exp: Don't skip it on
13493 aarch64*-*-linux* target. Remove elements in all_syscalls.
13494 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13495 target.
13496 (setup_all_syscalls): New proc.
13497
ca5fd19b
YQ
134982015-03-16 Yao Qi <yao.qi@linaro.org>
13499
13500 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13501 (top level): Skip tests if valid_addr_p returns false for
13502 $cmd1 or $cmd2.
13503
85642ba0
AW
135042015-03-11 Andy Wingo <wingo@igalia.com>
13505
13506 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13507
e03f9645
YQ
135082015-03-11 Yao Qi <yao.qi@linaro.org>
13509
13510 * gdb.base/catch-syscall.exp: Fix typo in comments.
13511
5d0962b2
YQ
135122015-03-11 Yao Qi <yao.qi@linaro.org>
13513
13514 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13515
b2df3cef
PA
135162015-03-09 Pedro Alves <palves@redhat.com>
13517
13518 * dg-extract-results.py: Delete.
13519
ef878e53
PA
135202015-03-09 Pedro Alves <palves@redhat.com>
13521
13522 Merge dg-extract-results.sh from GCC upstream (r218843).
13523
13524 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13525 * dg-extract-results.sh: Use --text with grep to avoid issues with
13526 binary files. Fall back to cat -v, if that doesn't work.
13527
9494d219
PA
135282015-03-05 Pedro Alves <palves@redhat.com>
13529
13530 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13531
a8d9763a
SM
135322015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13533
13534 * lib/mi-support.exp (mi_expect_interrupt): Accept
13535 alternative event for when in all-stop mode.
13536
be9957b8
PA
135372015-03-04 Pedro Alves <palves@redhat.com>
13538
13539 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13540
d57be0f4 135412015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
13542
13543 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13544
c214c7cf
AA
135452015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13546
13547 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13548 regexps for GDB's current line display, accept a hex address
13549 preceding the line number.
13550
6d74a497
AA
135512015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13552
13553 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13554 the 'arch1' variable for "s390*-linux*" targets.
13555
511aee7c
PA
135562015-03-04 Pedro Alves <palves@redhat.com>
13557
13558 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13559 (main): Pass missing retval argument to pthread_join call.
13560
95e50b27
PA
135612015-03-02 Pedro Alves <palves@redhat.com>
13562
13563 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13564 (top level): Call do_test with non-stop as well.
13565
28054d69
PA
135662015-03-02 Pedro Alves <palves@redhat.com>
13567
13568 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13569 -1.
13570
4fa5d7b4
AA
135712015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13572
13573 * gdb.arch/s390-vregs.exp: New test.
13574 * gdb.arch/s390-vregs.S: New file.
13575
97c18565
PA
135762015-02-27 Pedro Alves <palves@redhat.com>
13577
13578 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13579 call to catch_command_errors.
13580 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13581 catch_command_errors.
13582
a37bfa30
PA
135832015-02-27 Pedro Alves <palves@redhat.com>
13584
13585 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13586 "true" for boolean result.
13587 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13588 prototype of main.
13589
6f98576f
PA
135902015-02-27 Pedro Alves <palves@redhat.com>
13591
13592 * lib/unbuffer_output.c: New file.
13593 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13594 (main): Call gdb_unbuffer_output.
13595
eba5ab56
YQ
135962015-02-27 Yao Qi <yao.qi@linaro.org>
13597
13598 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13599 target.
13600
0def5aaa
DE
136012015-02-26 Doug Evans <dje@google.com>
13602
13603 * gdb.cp/class2.cc (Dbase, D): New classes.
13604 (main): New local delta.
13605 * gdb.cp/class2.exp: Test printing delta.
13606 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13607 (dynbar): New global.
13608 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13609
081a1c2c
JK
136102015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13611
13612 * gdb.compile/compile-ifunc.c: New file.
13613 * gdb.compile/compile-ifunc.exp: New file.
13614
2f41223f
AT
136152015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13616
13617 * gdb.base/structs.exp: Check for correct struct on finish.
13618
03eddd80
YQ
136192015-02-26 Yao Qi <yao.qi@linaro.org>
13620
13621 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13622 is zero.
13623
80c57053
JK
136242015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13625
13626 * gdb.arch/cordic.ko.bz2: New file.
13627 * gdb.arch/cordic.ko.debug.bz2: New file.
13628 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13629
21613c12
YQ
136302015-02-25 Yao Qi <yao.qi@linaro.org>
13631
13632 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13633 aarch64*-*-* target.
13634
d8b901ed
PA
136352015-02-23 Pedro Alves <palves@redhat.com>
13636
13637 * lib/gdb.exp (delete_breakpoints): Rewrite using
13638 gdb_test_multiple.
13639
e5b85ead
PA
136402015-02-23 Pedro Alves <palves@redhat.com>
13641
13642 * gdb.base/info-os.c: Include stdlib.h.
13643
85c3a371
DE
136442015-02-22 Doug Evans <xdje42@gmail.com>
13645
13646 PR symtab/17855
13647 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13648 is read after symbols have been re-read.
13649 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13650 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13651
96553a0c
DE
136522015-02-21 Doug Evans <dje@google.com>
13653
13654 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13655
97a0c697
JK
136562015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13657
13658 PR corefiles/17808
13659 * gdb.arch/i386-biarch-core.core.bz2: New file.
13660 * gdb.arch/i386-biarch-core.exp: New file.
13661
a47cd6e9
PA
136622015-02-21 Pedro Alves <palves@redhat.com>
13663
13664 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13665 runto_main fails.
13666
c5facdc4
PA
136672015-02-20 Pedro Alves <palves@redhat.com>
13668
13669 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13670 info probes.
13671
2db9a427
PA
136722015-02-20 Pedro Alves <palves@redhat.com>
13673
13674 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13675
60fb7e9e
PA
136762015-02-20 Pedro Alves <palves@redhat.com>
13677
13678 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13679 clean_restart before gdb_target_supports_trace.
13680
5c5019c2
PA
136812015-02-20 Pedro Alves <palves@redhat.com>
13682
13683 PR threads/18006
13684 * gdb.threads/clone-thread_db.c: New file.
13685 * gdb.threads/clone-thread_db.exp: New file.
13686
c9587f88
AT
136872015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13688
13689 PR breakpoints/16812
13690 * gdb.base/catch-gdb-caused-signals.c: New file.
13691 * gdb.base/catch-gdb-caused-signals.exp: New file.
13692
f6a88844
JM
136932015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13694
13695 * configure: Regenerated.
13696 * configure.ac: Use GDB_AC_TRANSFORM.
13697 * aclocal.m4: sinclude ../transform.m4.
13698
497c491b
JM
136992015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13700
13701 * lib/dtrace.exp: New file.
13702 * gdb.base/dtrace-probe.exp: Likewise.
13703 * gdb.base/dtrace-probe.d: Likewise.
13704 * gdb.base/dtrace-probe.c: Likewise.
13705 * lib/pdtrace.in: Likewise.
13706 * configure.ac: Output variables with the transformed names of
13707 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13708 * configure: Regenerated.
13709
03e98035
JM
137102015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13711
13712 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13713 expected message when trying to access $_probe_* convenience
13714 variables while not on a probe.
13715
63cc30e9
JK
137162015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13717
13718 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13719
0703599a
PA
137202015-02-11 Pedro Alves <pedro@codesourcery.com>
13721
13722 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13723 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13724
7e60a48e
DE
137252015-02-10 Doug Evans <xdje42@gmail.com>
13726
13727 * lib/gdb.exp (gdb_load): Always return a result.
13728
01b088bc
PA
137292015-02-10 Pedro Alves <palves@redhat.com>
13730
13731 * gdb.threads/signal-sigtrap.c: New file.
13732 * gdb.threads/signal-sigtrap.exp: New file.
13733
b05ec7a5
AT
137342015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13735
13736 * gdb.trace/no-attach-trace.c: New file.
13737 * gdb.trace/no-attach-trace.exp: New file.
13738
a2c2acaf
MW
137392015-02-09 Mark Wielaard <mjw@redhat.com>
13740
13741 * gdb.dwarf2/atomic.c: New file.
13742 * gdb.dwarf2/atomic-type.exp: Likewise.
13743
31fd9caa
MM
137442015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13745
13746 * gdb.btrace/buffer-size.exp: Update "info record" output.
13747 * gdb.btrace/delta.exp: Update "info record" output.
13748 * gdb.btrace/enable.exp: Update "info record" output.
13749 * gdb.btrace/finish.exp: Update "info record" output.
13750 * gdb.btrace/instruction_history.exp: Update "info record" output.
13751 * gdb.btrace/next.exp: Update "info record" output.
13752 * gdb.btrace/nexti.exp: Update "info record" output.
13753 * gdb.btrace/step.exp: Update "info record" output.
13754 * gdb.btrace/stepi.exp: Update "info record" output.
13755 * gdb.btrace/nohist.exp: Update "info record" output.
13756
d33501a5
MM
137572015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13758
13759 * gdb.btrace/buffer-size: New.
13760
f4abbc16
MM
137612015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13762
13763 * gdb.btrace/delta.exp: Update "info record" output.
13764 * gdb.btrace/enable.exp: Update "info record" output.
13765 * gdb.btrace/finish.exp: Update "info record" output.
13766 * gdb.btrace/instruction_history.exp: Update "info record" output.
13767 * gdb.btrace/next.exp: Update "info record" output.
13768 * gdb.btrace/nexti.exp: Update "info record" output.
13769 * gdb.btrace/step.exp: Update "info record" output.
13770 * gdb.btrace/stepi.exp: Update "info record" output.
13771 * gdb.btrace/nohist.exp: Update "info record" output.
13772
b9d61307
SM
137732015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13774
13775 PR gdb/15678
13776 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13777
e584fdbc
PA
137782015-02-06 Pedro Alves <palves@redhat.com>
13779
13780 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13781 macro.
13782 (seconds_left, again): New globals.
13783 (main): Wait seconds_left in a 1-second sleep loop instead of
13784 sleeping 180 seconds. If 'again' is set, reset the seconds
13785 counter.
13786 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13787 'again' in the inferior before detaching. Print the seconds left.
13788 (options): New global.
13789 (top level): Build program with -DTIMEOUT=$timeout.
13790
77f41761
PA
137912015-02-06 Pedro Alves <palves@redhat.com>
13792
13793 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13794 determine how many seconds to pass to 'alarm'.
13795 * gdb.base/gdb-sigterm.exp (top level): Build program with
13796 -DTIMEOUT=$timeout.
13797 (do_test): Return success/failure indication. Add more verbose
13798 logging. Don't fail if 200 single steps are seen. Instead, fail
13799 when the test times out.
13800 (passes): New global.
13801 (top level): Break the testing loop if testing fails on any
13802 iteration. Use gdb_assert.
13803
b9394193
DB
138042015-02-04 Don Breazeal <donb@codesourcery.com>
13805
13806 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13807 and initialize them.
13808 (ipc_cleanup): New function.
13809 (main): Don't declare shmid, semid, and msqid. Add a call to
13810 atexit so that we call ipc_cleanup on exit.
13811
42d9e528
PA
138122015-02-04 Pedro Alves <palves@redhat.com>
13813
13814 * boards/native-extended-gdbserver.exp: Remove any target variant
13815 specifications from the board name before clearing the isremote
13816 flag from board_info.
13817
ae6ae975
DE
138182015-01-31 Doug Evans <xdje42@gmail.com>
13819
13820 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13821
cfb069a8
GB
138222015-01-31 Gary Benson <gbenson@redhat.com>
13823
13824 * gdb.base/completion.exp: Disable completion limiting for
13825 existing tests. Add new tests to check completion limiting.
13826 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13827
5dd31d79
DE
138282015-01-31 Doug Evans <xdje42@gmail.com>
13829
13830 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13831
9f050062
DE
138322015-01-31 Doug Evans <xdje42@gmail.com>
13833
13834 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13835 entries. Duplicate file section script entries.
13836 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13837 inlined entries. Add test for safe-path rejection.
13838 * gdb.python/py-section-script.c: Add duplicate inlined section script
13839 entries. Duplicate file section script entries.
13840 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13841 inlined entries. Add test for safe-path rejection.
13842
df25ebbd
JB
138432015-01-29 Joel Brobecker <brobecker@adacore.com>
13844
13845 * gdb.ada/disc_arr_bound: New testcase.
13846
4a0ca9ec
JB
138472015-01-29 Joel Brobecker <brobecker@adacore.com>
13848
13849 * gdb.ada/mi_var_array: New testcase.
13850
3a8b707a
DE
138512015-01-27 Doug Evans <dje@google.com>
13852
13853 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13854 Add test for objfile.filename, objfile.username after objfile
13855 has been unloaded.
13856
f8313f6e
JB
138572015-01-26 Joel Brobecker <brobecker@adacore.com>
13858
13859 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13860 the second test to print the name attribute of value
13861 returned by the call to gdb.lookup_type, and adjust
13862 the expected output accordingly.
13863
37bc665e
MW
138642015-01-25 Mark Wielaard <mjw@redhat.com>
13865
13866 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13867 * gdb.base/disp-step-fork.c: Include unistd.h.
13868 * gdb.base/siginfo-obj.c: Include stdio.h.
13869 * gdb.base/siginfo-thread.c: Likewise.
13870 * gdb.mi/non-stop.c: Include unistd.h.
13871 * gdb.mi/nsthrexec.c: Include stdio.h.
13872 * gdb.mi/pthreads.c: Include unistd.h.
13873 * gdb.modula2/unbounded1.c (main): Declare returns int.
13874 * gdb.reverse/consecutive-reverse.c: Likewise.
13875 * gdb.threads/create-fail.c: Include unistd.h.
13876 * gdb.threads/killed.c: Likewise.
13877 * gdb.threads/linux-dp.c: Likewise.
13878 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13879 * gdb.threads/non-ldr-exc-2.c: Likewise.
13880 * gdb.threads/non-ldr-exc-3.c: Likewise.
13881 * gdb.threads/non-ldr-exc-4.c: Likewise.
13882 * gdb.threads/pthreads.c: Include unistd.h.
13883 (main): Declare returns int.
13884 * gdb.threads/tls-main.c (foo): New declaration.
13885 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13886
f7e5394d
SM
138872015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13888
13889 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13890 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13891
743649fd
MW
138922015-01-15 Mark Wielaard <mjw@redhat.com>
13893
13894 * gdb.base/noreturn-return.c: New file.
13895 * gdb.base/noreturn-return.exp: New file.
13896 * gdb.base/noreturn-finish.c: New file.
13897 * gdb.base/noreturn-finish.exp: New file.
13898
198297aa
PA
138992015-01-23 Pedro Alves <palves@redhat.com>
13900
13901 * gdb.threads/continue-pending-after-query.c: New file.
13902 * gdb.threads/continue-pending-after-query.exp: New file.
13903
717cf30c
AG
139042015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13905 Simon Marchi <simon.marchi@ericsson.com>
13906
13907 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13908 * gdb.base/valgrind-db-attach.exp: Same.
13909 * gdb.base/valgrind-infcall.exp: Same.
13910 * lib/mi-support.exp (default_mi_gdb_start): Same.
13911 * lib/prompt.exp (default_prompt_gdb_start): Same.
13912 * lib/gdb.exp (default_gdb_spawn): Same.
13913 (gdb_interact): New.
13914
13915
4b62a76e
JK
139162015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13917
13918 * gdb.compile/compile.exp (pointer to jit function): New test.
13919
b4cdae6f
WW
139202015-01-17 Wei-cheng Wang <cole945@gmail.com>
13921
13922 * lib/gdb.exp (supports_process_record): Return true for
13923 powerpc*-*-linux*.
13924 (supports_reverse): Likewise.
13925
d221e7ef
DB
139262015-01-15 Don Breazeal <donb@codesourcery.com>
13927
13928 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13929 instead of checking whether the target board is remote and
13930 use spawn_wait_for_attach instead of exec/sleep.
13931 * gdb.base/attach-twice.exp: Likewise.
13932
bafffb51
JB
139332015-01-15 Joel Brobecker <brobecker@adacore.com>
13934
13935 * gdb.ada/var_arr_attrs: New testcase.
13936
5589af0e
PA
139372015-01-14 Pedro Alves <palves@redhat.com>
13938 Joel Brobecker <brobecker@adacore.com>
13939
13940 PR gdb/17525
13941 * gdb.base/bp-cmds-execution-x-script.c: New file.
13942 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13943 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13944
6c400b59
PA
139452015-01-14 Pedro Alves <palves@redhat.com>
13946
13947 PR cli/17828
13948 * gdb.base/batch-preserve-term-settings.c: New file.
13949 * gdb.base/batch-preserve-term-settings.exp: New file.
13950
e02c96a7
DE
139512015-01-13 Doug Evans <dje@google.com>
13952
13953 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13954 binary.
13955
576fd14c
JB
139562015-01-13 Joel Brobecker <brobecker@adacore.com>
13957
13958 * Makefile.in (clean mostlyclean): Do not delete *.py.
13959
04dccad0
JB
139602015-01-13 Joel Brobecker <brobecker@adacore.com>
13961
13962 * gdb.python/py-lookup-type.exp: New file.
13963
3d230f71
PA
139642015-01-12 Pedro Alves <palves@redhat.com>
13965
13966 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13967 restore GDBFLAGS before returning.
13968
7e67715d
JK
139692015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13970
13971 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13972 is_amd64_regs_target and is_x86_like_target.
13973
f2e0d4b4
DE
139742015-01-11 Doug Evans <xdje42@gmail.com>
13975
13976 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13977 is given without an explicit form.
13978 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13979 attributes.
13980 * gdb.dwarf/corrupt.exp: Ditto.
13981 * gdb.dwarf2/enum-type.exp: Ditto.
13982 * gdb.trace/entry-values.exp: Ditto.
13983 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13984
439250fb
DE
139852015-01-11 Doug Evans <xdje42@gmail.com>
13986
13987 PR gdb/15830
13988 * gdb.base/maint.exp: Remove references to "maint demangle".
13989 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13990 Add tests for explicitly specifying language to demangle.
13991 * gdb.dlang/demangle.exp: Ditto.
13992
ede9f622
PA
139932015-01-09 Pedro Alves <palves@redhat.com>
13994
13995 * gdb.threads/non-stop-fair-events.c: New file.
13996 * gdb.threads/non-stop-fair-events.exp: New file.
13997
a7b796db
PA
139982015-01-09 Pedro Alves <palves@redhat.com>
13999
14000 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14001 the global scope. Set a breakpoint after all threads are started
14002 rather than stepping over two source lines. Expect the prompt.
14003 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14004 global.
14005 (NUM): Now 15.
14006 (main): Use threads_started_barrier to wait for all threads to
14007 start. Main thread no longer calls thread_function. Exit after
14008 180 seconds.
14009 (loop): New function.
14010 (thread_function): Wait on threads_started_barrier barrier. Call
14011 'loop' at each iteration.
14012 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14013 threads have started, instead of hardcoding number of "next"
14014 steps. Use an access watchpoint instead of a write watchpoint.
14015
9665ffdd
PA
140162015-01-09 Pedro Alves <palves@redhat.com>
14017
14018 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14019 (thread_func): Wait on barrier.
14020 (main): Wait for all threads to start before stopping GDB.
14021 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14022 global.
14023 (thread1_func, thread2_func): Wait on barrier.
14024 (main): Wait for all threads to start before stopping GDB.
14025 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14026 New global.
14027 (thread1_func, thread2_func): Wait on barrier.
14028 (main): Wait for all threads to start before stopping GDB.
14029
c945a99f
PA
140302015-01-09 Pedro Alves <palves@redhat.com>
14031
14032 * gdb.threads/attach-many-short-lived-threads.c: New file.
14033 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14034
c1a747c1
PA
140352014-01-09 Pedro Alves <palves@redhat.com>
14036
14037 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14038 instead of to thread 2.
14039 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14040 Add barrier around each pthread_create call instead of around all
14041 calls.
14042 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14043 Set a break on thread_function and have the child threads hit it
14044 one at at a time.
14045
60b3033e
PA
140462015-01-09 Pedro Alves <palves@redhat.com>
14047
14048 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14049 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14050 false.
14051 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14052 checking whether the target board is remote.
14053 * gdb.multi/multi-attach.exp: Likewise.
14054 * gdb.python/py-sync-interp.exp: Likewise.
14055 * gdb.server/ext-attach.exp: Likewise.
14056 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14057 tests that need to attach, instead of checking whether the target
14058 board is remote at the top of the file.
14059
acc018ac
YQ
140602015-01-08 Yao Qi <yao@codesourcery.com>
14061
14062 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14063
50a18af8
JK
140642015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14065
14066 Fix testcase compilation.
14067 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14068
8503d6e1
JB
140692015-01-06 Joel Brobecker <brobecker@adacore.com>
14070
14071 * gdb.python/py-type.exp: Add a couple test about empty
14072 array creation, and negative-length array creation.
14073
cc73dbcc
DE
140742015-01-02 Doug Evans <xdje42@gmail.com>
14075
14076 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14077
0300bbc7
DE
140782015-01-02 Doug Evans <dje@google.com>
14079
14080 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14081
9d85a0ec
YQ
140822014-12-29 Yao Qi <yao@codesourcery.com>
14083
14084 * gdb.trace/entry-values.exp: Update comments. Rename variable
14085 bar_call_foo to returned_from_foo.
14086
87186c6a
MMN
140872014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14088
14089 PR gdb/17394
14090 * gdb.linespec/break-asm-file.c: New file.
14091 * gdb.linespec/break-asm-file.exp: New file.
14092 * gdb.linespec/break-asm-file0.s: New file.
14093 * gdb.linespec/break-asm-file1.s: New file.
14094
1bab7383
YQ
140952014-12-18 Nigel Stephens <nigel@mips.com>
14096 Maciej W. Rozycki <macro@codesourcery.com>
14097
14098 * gdb.base/float.exp: Handle the new output from "info float" on
14099 MIPS targets.
14100
1bc1068a
JK
141012014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14102
14103 Fix MinGW compilation.
14104 * gdb.compile/compile-ops.exp: Update untested message if
14105 !skip_compile_feature_tests.
14106 * gdb.compile/compile-setjmp.exp: Likewise.
14107 * gdb.compile/compile-tls.exp: Likewise.
14108 * gdb.compile/compile.exp: Likewise.
14109 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14110 supported on this host".
14111
b6615d10
DE
141122014-12-16 Doug Evans <xdje42@gmail.com>
14113
14114 * boards/stabs.exp: New file.
14115
25dda427
AA
141162014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14117
14118 * gdb.base/completion.exp: Adjust to format changes of "maint
14119 print user-registers".
14120
bf330350
CU
141212014-12-16 Catalin Udma <catalin.udma@freescale.com>
14122
14123 PR server/17457
14124 * gdb.arch/aarch64-fp.c: New file.
14125 * gdb.arch/aarch64-fp.exp: New file.
14126
395cf596
SDJ
141272014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14128
14129 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14130 r210637, r210913, r211666, r215400, r215817).
14131
14132 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14133 * dg-extract-results.py: New file.
14134 * dg-extract-results.sh: Use it if the environment seems
14135 suitable.
14136
14137 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14138
14139 * dg-extract-results.py (parse_run): Handle warnings that
14140 are printed before a test harness is run.
14141
14142 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14143
14144 * dg-extract-results.py (Named): Remove __cmp__ method.
14145 (output_variation): Use a key to sort variation.harnesses.
14146
14147 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14148
14149 * dg-extract-results.py: For Python 3, force sys.stdout to
14150 handle surrogate escape sequences.
14151 (safe_open): New function.
14152 (output_segment, main): Use it.
14153
14154 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14155
14156 * dg-extract-results.py (Prog.result_re): Include options
14157 in test name.
14158
14159 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14160
14161 * dg-extract-results.py (output_variation): Always sort if
14162 do_sum.
14163
e882ef3c
SM
141642014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14165
14166 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14167 as long as we get pagination notifications.
14168
4992aa20
JM
141692014-12-15 Jason Merrill <jason@redhat.com>
14170
14171 * Makefile.in (check-gdb.%): Restore.
14172 * README: Mention it.
14173
c1b5a1a6
JB
141742014-12-13 Joel Brobecker <brobecker@adacore.com>
14175
14176 * gdb.ada/str_uninit: New testcase.
14177
5537b577
JK
141782014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14179
14180 PR symtab/17642
14181 * gdb.base/vla-stub-define.c: New file.
14182 * gdb.base/vla-stub.c: New file.
14183 * gdb.base/vla-stub.exp: New file.
14184
bb2ec1b3
TT
141852014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14186 Jan Kratochvil <jan.kratochvil@redhat.com>
14187 Tom Tromey <tromey@redhat.com>
14188
14189 * configure.ac: Add gdb.compile/.
14190 * configure: Regenerate.
14191 * gdb.compile/Makefile.in: New file.
14192 * gdb.compile/compile-ops.exp: New file.
14193 * gdb.compile/compile-ops.c: New file.
14194 * gdb.compile/compile-tls.c: New file.
14195 * gdb.compile/compile-tls.exp: New file.
14196 * gdb.compile/compile-constvar.S: New file.
14197 * gdb.compile/compile-constvar.c: New file.
14198 * gdb.compile/compile-mod.c: New file.
14199 * gdb.compile/compile-nodebug.c: New file.
14200 * gdb.compile/compile-setjmp-mod.c: New file.
14201 * gdb.compile/compile-setjmp.c: New file.
14202 * gdb.compile/compile-setjmp.exp: New file.
14203 * gdb.compile/compile-shlib.c: New file.
14204 * gdb.compile/compile.c: New file.
14205 * gdb.compile/compile.exp: New file.
14206 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14207
4ff709eb
TT
142082014-12-12 Tom Tromey <tromey@redhat.com>
14209
14210 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14211 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14212
6dddd6a5
DE
142132014-12-12 Doug Evans <dje@google.com>
14214
14215 * lib/gdb-python.exp (get_python_valueof): New function.
14216 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14217
71c24708
AA
142182014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14219
14220 * gdb.base/completion.exp: Add test for completion of "info
14221 registers ".
14222
3e29f34a
MR
142232014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14224
14225 * gdb.base/func-ptrs.c: New file.
14226 * gdb.base/func-ptrs.exp: New file.
14227
fc126975
SM
142282014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14229
14230 PR breakpoints/17012
14231 * gdb.base/dprintf-detach.c: New file.
14232 * gdb.base/dprintf-detach.exp: New file.
14233
0a46d518
SM
142342014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14235
14236 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14237 * lib/gdb.exp (target_is_gdbserver): New procedure.
14238
a0be3e44
DE
142392014-12-08 Doug Evans <dje@google.com>
14240
14241 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14242
df1b803a
YQ
142432014-12-05 Yao Qi <yao@codesourcery.com>
14244
14245 * gdb.guile/scm-error.exp: Remove the third argument to
14246 gdb_remote_download.
14247 * gdb.guile/scm-frame-args.exp: Likewise.
14248 * gdb.guile/scm-section-script.exp: Likewise.
14249
ddb9f679
YQ
142502014-12-05 Yao Qi <yao@codesourcery.com>
14251
14252 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14253
86e4ed39
DE
142542014-12-04 Doug Evans <dje@google.com>
14255
14256 * gdb.python/py-objfile.exp: Add tests for
14257 objfile.add_separate_debug_file.
14258
7c50a931
DE
142592014-12-04 Doug Evans <dje@google.com>
14260
14261 * lib/gdb.exp (get_build_id): New function.
14262 (build_id_debug_filename_get): Rewrite to use it.
14263 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14264
621661e3
MR
142652014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14266
14267 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14268 `method(long)', not just 0x0.
14269 * gdb.cp/nsalias.exp: Align code labels to 4.
14270 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14271 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14272 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14273 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14274 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14275 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14276
29f0c3b7
DE
142772014-12-02 Doug Evans <dje@google.com>
14278
e1e061e7 14279 PR symtab/17602
29f0c3b7 14280 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 14281 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
14282 * gdb.cp/anon-ns.exp: Update.
14283
162078c8
NB
142842014-12-02 Nick Bull <nicholaspbull@gmail.com>
14285
14286 * gdb.python/py-events.py (inferior_call_handler): New.
14287 (register_changed_handler, memory_changed_handler): New.
14288 (test_events.invoke): Register new handlers.
14289 * gdb.python/py-events.exp: Add tests for inferior call,
14290 memory_changed and register_changed events.
14291
fdb09caf
AA
142922014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14293
14294 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14295 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14296 if the linker doesn't understand this.
14297
55cfb2c4
SM
142982014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14299
14300 * gdb.python/python.exp: Change expected reply to help().
14301
9e8cd6df
YQ
143022014-12-01 Yao Qi <yao@codesourcery.com>
14303
14304 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14305 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14306 * configure: Re-generated.
14307
6c659fc2
SC
143082014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14309
14310 * gdb.cp/chained-calls.cc: New file.
14311 * gdb.cp/chained-calls.exp: New file.
14312 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14313
d7fc3181
SM
143142014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14315
14316 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14317 * gdb.dwarf2/symtab-producer.exp: Same.
14318 * gdb.gdb/python-interrupts.exp: Same.
14319 * gdb.gdb/python-selftest.exp: Same.
14320 * gdb.python/py-linetable.exp: Same.
14321 * gdb.python/py-type.exp: Same.
14322 * gdb.python/py-value-cc.exp: Same.
14323 * gdb.python/py-value.exp: Same.
14324
10e79639
YQ
143252014-11-28 Yao Qi <yao@codesourcery.com>
14326
14327 * gdb.base/break-probes.exp: Match library name prefixed with
14328 sysroot.
14329
f28a0564
SM
143302014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14331
14332 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14333 test expected output. Add parentheses for the call to print.
14334 Remove L suffix from integers.
14335
3fe1ce1d
DE
143362014-11-26 Doug Evans <dje@google.com>
14337
14338 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14339
84429e27
YQ
143402014-11-22 Yao Qi <yao@codesourcery.com>
14341
14342 * gdb.trace/entry-values.c: Remove asms.
14343 (foo): Add foo_label.
14344 (bar): Add bar_label.
14345 * gdb.trace/entry-values.exp: Remove code computing foo's
14346 length and bar's length.
14347 (Dwarf::assemble): Invoke function_range for bar and use
14348 MACRO_AT_func for foo.
14349
26741859
YQ
143502014-11-22 Yao Qi <yao@codesourcery.com>
14351
14352 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14353 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14354 Use .Lgcc43_procstart instead of gcc43.
14355
45e44d27
JB
143562014-11-21 Joel Brobecker <brobecker@adacore.com>
14357
14358 * gdb.ada/n_arr_bound: New testcase.
14359
458c8db8
SDJ
143602014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14361
14362 PR breakpoints/10737
14363 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14364 test_catch_syscall_multi_arch.
14365 (test_catch_syscall_multi_arch): New function.
14366
43f3e411
DE
143672014-11-20 Doug Evans <xdje42@gmail.com>
14368
14369 * gdb.base/maint.exp: Update expected output.
14370
0d7b2549
AA
143712014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14372
14373 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14374 4-byte instruction on S390.
14375
8908fca5
JB
143762014-11-19 Joel Brobecker <brobecker@adacore.com>
14377
14378 * gdb.ada/arr_arr: New testcase.
14379
4a46959e
JB
143802014-11-19 Joel Brobecker <brobecker@adacore.com>
14381
14382 * gdb.ada/pkd_arr_elem: New Testcase.
14383
470e2f4e
LM
143842014-11-18 Luis Machado <lgustavo@codesourcery.com>
14385
14386 * gdb.reverse/break-precsave: Expect completion message for
14387 core file reads.
14388 * gdb.reverse/consecutive-precsave.exp: Likewise.
14389 * gdb.reverse/finish-precsave.exp: Likewise.
14390 * gdb.reverse/i386-precsave.exp: Likewise.
14391 * gdb.reverse/machinestate-precsave.exp: Likewise.
14392 * gdb.reverse/sigall-precsave.exp: Likewise.
14393 * gdb.reverse/solib-precsave.exp: Likewise.
14394 * gdb.reverse/step-precsave.exp: Likewise.
14395 * gdb.reverse/until-precsave.exp: Likewise.
14396 * gdb.reverse/watch-precsave.exp: Likewise.
14397
a267f3ad
AA
143982014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14399
14400 * gdb.base/bp-permanent.c: Include unistd.h.
14401 * gdb.python/py-framefilter-mi.c (main): Add return type.
14402 * gdb.python/py-framefilter.c (main): Likewise.
14403 * gdb.trace/actions-changed.c (main): Likewise.
14404
12084a9a
AA
144052014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14406
14407 * gdb.mi/until.c: Add eye-catchers.
14408 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14409 line numbers.
14410
dc7e1a77
AA
144112014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14412
14413 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14414 function header variants in break1.c.
14415 * gdb.base/ena-dis-br.exp: Likewise.
14416 * gdb.base/hbreak2.exp: Likewise.
14417 * gdb.reverse/until-precsave.exp: Drop references to removed
14418 non-prototype function header variants in ur1.c.
14419 * gdb.reverse/until-reverse.exp: Likewise.
14420
41c77605
PM
144212014-11-17 Petr Machata <pmachata@redhat.com>
14422
14423 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14424 ${_cu_offset_size} bytes abbrev offset.
14425
34248c3a
DE
144262014-11-15 Doug Evans <xdje42@gmail.com>
14427
14428 PR symtab/17559
14429 * gdb.base/line-symtabs.exp: New file.
14430 * gdb.base/line-symtabs.c: New file.
14431 * gdb.base/line-symtabs.h: New file.
14432
646da059
YQ
144332014-11-14 Yao Qi <yao@codesourcery.com>
14434
14435 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14436 (func): Add label func_label.
14437 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14438 Replace low_pc and high_pc with MACRO_AT_range.
14439 Replace name, low_pc and high_pc with MACRO_AT_func.
14440
9301ebe6
YQ
144412014-11-14 Yao Qi <yao@codesourcery.com>
14442
14443 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14444 Replace name, low_pc and high_pc with MACRO_AT_func.
14445
f166b542
YQ
144462014-11-14 Yao Qi <yao@codesourcery.com>
14447
14448 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14449 produce debug information.
14450 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14451
0f6e71e3
YQ
144522014-11-14 Yao Qi <yao@codesourcery.com>
14453
14454 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14455 object and get function length.
14456 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14457 with MACRO_AT_func.
14458 (top-level): Replace gdb_compile and clean_restart with
14459 prepare_for_testing.
14460 * gdb.dwarf2/main.c (main): Add label main_label.
14461
876c4df9
YQ
144622014-11-14 Yao Qi <yao@codesourcery.com>
14463
14464 * lib/dwarf.exp (function_range): New procedure.
14465 (Dwarf::_handle_macro_at_func): New procedure.
14466 (Dwarf::_handle_macro_at_range): New procedure.
14467 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14468
02ad9cf1
YQ
144692014-11-14 Yao Qi <yao@codesourcery.com>
14470
14471 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14472 (_handle_attribute): New procedure.
14473
a59add0c
AA
144742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14475
14476 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14477 * gdb.base/call-sc.c (zed): Likewise.
14478 * gdb.base/checkpoint.c (main): Likewise.
14479 * gdb.base/dump.c (main): Likewise.
14480 * gdb.base/gcore.c (main): Likewise.
14481 * gdb.base/huge.c (main): Likewise.
14482 * gdb.base/multi-forks.c (main): Likewise.
14483 * gdb.base/pr10179-a.c (main): Likewise.
14484 * gdb.base/savedregs.c (main): Likewise.
14485 * gdb.base/sigaltstack.c (main): Likewise.
14486 * gdb.base/siginfo.c (main): Likewise.
14487 * gdb.base/structs.c (zed): Likewise.
14488 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14489 * gdb.mi/mi-syn-frame.c (main): Likewise.
14490 * gdb.mi/until.c (foo, main): Likewise.
14491 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14492 * gdb.base/solib-weak.c (foo): Declare.
14493 * gdb.base/attach-twice.c: Include stdio.h.
14494 * gdb.base/weaklib1.c: Likewise.
14495 * gdb.base/weaklib2.c: Likewise.
14496 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14497 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14498 unistd.h.
14499 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14500 * gdb.mi/mi-exit-code.c: Likewise.
14501 * gdb.base/break-interp-lib.c: Include string.h.
14502 * gdb.base/coremaker.c: Likewise.
14503 * gdb.base/testenv.c: Likewise.
14504 * gdb.python/py-finish-breakpoint.c: Likewise.
14505 * gdb.base/inferior-died.c: Include sys/wait.h.
14506 * gdb.base/fileio.c: Include time.h.
14507 * gdb.base/async-shell.c: Include unistd.h.
14508 * gdb.base/dprintf-non-stop.c: Likewise.
14509 * gdb.base/info-os.c: Likewise.
14510 * gdb.mi/mi-console.c: Likewise.
14511 * gdb.mi/watch-nonstop.c: Likewise.
14512 * gdb.python/py-events.c: Likewise.
14513 * gdb.base/async.c (baz): Move up before its invocation.
14514 * gdb.base/code_elim2.c (my_global_func): Likewise.
14515 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14516 * gdb.base/advance.c (func2): Likewise.
14517
3b5d5997
AA
145182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14519
14520 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14521 variant.
14522 * gdb.base/annota3.c: Likewise.
14523 * gdb.base/async.c: Likewise.
14524 * gdb.base/average.c: Likewise.
14525 * gdb.base/call-ar-st.c: Likewise.
14526 * gdb.base/call-rt-st.c: Likewise.
14527 * gdb.base/call-sc.c: Likewise.
14528 * gdb.base/call-strs.c: Likewise.
14529 * gdb.base/ending-run.c: Likewise.
14530 * gdb.base/execd-prog.c: Likewise.
14531 * gdb.base/exprs.c: Likewise.
14532 * gdb.base/foll-exec.c: Likewise.
14533 * gdb.base/foll-fork.c: Likewise.
14534 * gdb.base/foll-vfork.c: Likewise.
14535 * gdb.base/funcargs.c: Likewise.
14536 * gdb.base/gcore.c: Likewise.
14537 * gdb.base/jump.c: Likewise.
14538 * gdb.base/langs0.c: Likewise.
14539 * gdb.base/langs1.c: Likewise.
14540 * gdb.base/langs2.c: Likewise.
14541 * gdb.base/mips_pro.c: Likewise.
14542 * gdb.base/nodebug.c: Likewise.
14543 * gdb.base/opaque0.c: Likewise.
14544 * gdb.base/opaque1.c: Likewise.
14545 * gdb.base/recurse.c: Likewise.
14546 * gdb.base/run.c: Likewise.
14547 * gdb.base/scope0.c: Likewise.
14548 * gdb.base/scope1.c: Likewise.
14549 * gdb.base/setshow.c: Likewise.
14550 * gdb.base/setvar.c: Likewise.
14551 * gdb.base/shmain.c: Likewise.
14552 * gdb.base/shr1.c: Likewise.
14553 * gdb.base/shr2.c: Likewise.
14554 * gdb.base/sigall.c: Likewise.
14555 * gdb.base/signals.c: Likewise.
14556 * gdb.base/so-indr-cl.c: Likewise.
14557 * gdb.base/solib2.c: Likewise.
14558 * gdb.base/structs.c: Likewise.
14559 * gdb.base/sum.c: Likewise.
14560 * gdb.base/vforked-prog.c: Likewise.
14561 * gdb.base/watchpoint.c: Likewise.
14562 * gdb.reverse/shr2.c: Likewise.
14563 * gdb.reverse/until-reverse.c: Likewise.
14564 * gdb.reverse/ur1.c: Likewise.
14565 * gdb.reverse/watch-reverse.c: Likewise.
14566
066a77c5
AA
145672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14568
14569 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14570 variant.
14571 * gdb.base/sepdebug.exp: Drop references to removed code.
14572
4f204ea5
AA
145732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14574
14575 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14576 variant. Preserve original line numbering.
14577 * gdb.base/list1.c: Likewise.
14578
3b377a3a
AA
145792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14580
14581 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14582 variant.
14583 * gdb.base/break1.c: Likewise.
14584 * gdb.base/break.exp: Drop references to removed code.
14585
e444df73
AA
145862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14587
14588 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14589 variant.
14590
8008f2a7
AA
145912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14592
14593 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14594
a5a06887
AA
145952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14596
14597 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14598 logic into perform_all_tests() and invoke it with and without
14599 function header prototypes.
14600 (do_function_calls): Remove conditional XFAIL for PR 5318.
14601 (rerun_and_prepare): Remove duplicate code.
14602 (perform_all_tests): New. Main logic moved here.
14603
44dba9b9
AA
146042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14605
14606 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14607 code guarded by #ifdef NO_PROTOTYPES.
14608 (t_double_many_args): Likewise.
14609 (DEF_FUNC_MANY_ARGS_1): Likewise.
14610 (DEF_FUNC_VALUES_1): Likewise.
14611 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14612 guarded by #ifdef PROTOTYPES.
14613
d1fbcd56
AA
146142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14615
14616 * gdb.mi/mi-console.c: Add eye-catcher.
14617 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14618 instead of literal line number.
14619
b0e59b8f
AA
146202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14621
14622 * gdb.base/shr2.c: Add eye-catcher.
14623 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14624 line number.
14625
78f98cca
AA
146262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14627
14628 * gdb.base/jump.c: Add eye-catchers.
14629 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14630 numbers.
14631
58fa2af0
AA
146322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14633
14634 * gdb.base/execd-prog.c: Add eye-catchers.
14635 * gdb.base/foll-exec.c: Likewise.
14636 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14637 line numbers.
14638
04e5059b
AA
146392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14640
14641 * gdb.base/ending-run.c: Add eye-catchers.
14642 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14643 literal line numbers.
14644
dbfdb174
AA
146452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14646
14647 * gdb.base/call-rt-st.c: Add eye-catchers.
14648 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14649 literal line numbers.
14650
888a2ade
AA
146512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14652
14653 * gdb.base/call-ar-st.c: Add eye-catchers.
14654 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14655 literal line numbers.
14656
6acc2dde
AA
146572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14658
14659 * gdb.base/average.c: Add eye-catchers.
14660 * gdb.base/sum.c: Likewise.
14661 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14662 regexps dynamically.
14663
9ecfcd1d
AA
146642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14665
14666 * gdb.base/solib1.c: Add eye-catchers.
14667 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14668 literal line numbers.
14669
78708b7c
PA
146702014-11-12 Pedro Alves <palves@redhat.com>
14671
14672 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14673 leader has exited.
14674
af48d08f
PA
146752014-11-12 Pedro Alves <palves@redhat.com>
14676
14677 * gdb.arch/i386-bp_permanent.c: New file.
14678 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14679 (srcfile): Set to i386-bp_permanent.c.
14680 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14681 that stepi does not execute the 'leave' instruction, instead of
14682 testing it does execute.
14683 * gdb.base/bp-permanent.c: New file.
14684 * gdb.base/bp-permanent.exp: New file.
14685
af3768e9
DE
146862014-11-10 Doug Evans <xdje42@gmail.com>
14687
14688 PR symtab/17564
14689 * gdb.base/symtab-search-order.exp: New file.
14690 * gdb.base/symtab-search-order.c: New file.
14691 * gdb.base/symtab-search-order-1.c: New file.
14692 * gdb.base/symtab-search-order-shlib-1.c: New file.
14693
9de00a4a
PA
146942014-11-07 Pedro Alves <palves@redhat.com>
14695
14696 PR gdb/17511
14697 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14698 i?86-*-linux*.
14699
e0f52461
SC
147002014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14701
14702 PR c++/17494
14703 * gdb.cp/pr17494.cc: New file.
14704 * gdb.cp/pr17494.exp: New file.
14705
6ce8c980
YQ
147062014-11-02 Yao Qi <yao@codesourcery.com>
14707
14708 * gdb.python/python.exp: Get working directory and match the
14709 output of "set extended-prompt \\w " with it.
14710
02be9a71
DE
147112014-10-30 Doug Evans <dje@google.com>
14712
14713 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14714 in objfiles.
14715 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14716 in progspaces.
14717
3bdff46b
LM
147182014-10-30 Janis Johnson <janisjo@codesourcery.com>
14719
14720 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14721 * gdb.base/realname-expand.exp: Likewise.
14722 * gdb.linespec/macro-relative.exp: Likewise.
14723
ab917dfb
PA
147242014-10-29 Pedro Alves <palves@redhat.com>
14725
14726 PR gdb/17408
14727 * gdb.threads/schedlock.c (some_function): New function.
14728 (call_function): New global.
14729 (MAYBE_CALL_SOME_FUNCTION): New macro.
14730 (thread_function): Call it.
14731 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14732 and use it instead of a global counter. Adjust all callers.
14733 (get_current_thread): Use "find current thread" for test message
14734 here rather than having all callers pass down the same string.
14735 (goto_loop): New procedure, factored out from ...
14736 (my_continue): ... this.
14737 (step_ten_loops): Change parameter from test message to command to
14738 use. Adjust.
14739 (list_count): Delete global.
14740 (check_result): New procedure, factored out from duplicate top
14741 level code.
14742 (continue tests): Wrap in with_test_prefix.
14743 (test_step): New procedure, factored out from duplicate top level
14744 code.
14745 (top level): Test "step" in combination with all scheduler-locking
14746 modes. Test "next" in combination with all scheduler-locking
14747 modes, and in combination with stepping over a function call or
14748 not.
14749 * gdb.threads/next-bp-other-thread.c: New file.
14750 * gdb.threads/next-bp-other-thread.exp: New file.
14751
d3d4baed
PA
147522014-10-29 Pedro Alves <palves@redhat.com>
14753
14754 PR python/17372
14755 * gdb.python/python.exp: Test a multi-line command that spawns
14756 interactive Python.
14757 * gdb.base/multi-line-starts-subshell.exp: New file.
14758
563e8d85
YQ
147592014-10-29 Yao Qi <yao@codesourcery.com>
14760
14761 * gdb.base/fileio.exp: Make directories on host.
14762
0ea4d52e
YQ
147632014-10-29 Yao Qi <yao@codesourcery.com>
14764
14765 * gdb.base/fileio.c (test_write): Close the file.
14766
7f5ef605
PA
147672014-10-28 Pedro Alves <palves@redhat.com>
14768
14769 PR gdb/12623
14770 * gdb.base/sigstep.c (no_handler): New global.
14771 (main): If 'no_handler is true, set the signal handlers to
14772 SIG_IGN.
14773 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14774 with_sw_watch and no_handler parameters. Handle them.
14775 (top level) <stepping over handler when stopped at a breakpoint
14776 test>: Add a test axis for testing with a software watchpoint, and
14777 another for testing with the signal handler set to SIG_IGN.
14778 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14779 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14780
abbdbd03
PA
147812014-10-28 Pedro Alves <palves@redhat.com>
14782
14783 PR gdb/17511
14784 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14785 * gdb.base/sigstep.exp (other_handler_location): New global.
14786 (advance): Support stepping into the signal handler, and running
14787 commands while in the handler.
14788 (in_handler_map): New global.
14789 (top level): In the advance test, add combinations for getting
14790 into the handler with stepping commands, and for running commands
14791 in the handler. Add comment descripting the advancei tests.
14792
1df4399f
PA
147932014-10-28 Pedro Alves <palves@redhat.com>
14794
14795 * gdb.base/sigstep.exp: Use build_executable instead of
14796 prepare_for_testing.
14797 (top level): Move code that starts GDB, runs to main and creates a
14798 display to ...
14799 (restart): ... this new procedure.
14800 (top level): Move backtrace from signal handler test to ...
14801 (validate_backtrace): ... this new procedure.
14802 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14803 with_test_prefix. Always restart GDB.
14804 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14805 with_test_prefix. Always restart GDB. No need to delete
14806 breakpoints after the test.
14807 (test_skip_handler): Remove prefix parameter.
14808 (skip_over_handler, breakpoint_to_handler)
14809 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14810 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14811 restart GDB. No need to delete breakpoints after the test.
14812 (top level): Use foreach to call the test procedures with
14813 different commands.
14814
a5b6e449
PA
148152014-10-28 Pedro Alves <palves@redhat.com>
14816
14817 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14818 instead of GNATS numbers.
14819 * gdb.base/sigbpt.exp: Likewise.
14820 * gdb.base/siginfo.exp: Likewise.
14821 * gdb.base/sigstep.exp: Likewise.
14822
e5f8a7cc
PA
148232014-10-27 Pedro Alves <palves@redhat.com>
14824
14825 * gdb.base/sigstep.c (dummy): New global.
14826 (main): Issue a couple writes to the new global.
14827 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14828 procedures.
14829 (skip_over_handler): Use test_skip_handler.
14830 (top level): Call skip_over_handler for stepi and nexti too.
14831 (breakpoint_over_handler): Use test_skip_handler.
14832 (top level): Call breakpoint_over_handler for stepi and nexti too.
14833
763905a3
YQ
148342014-10-27 Yao Qi <yao@codesourcery.com>
14835
14836 * gdb.trace/tfile.c (adjust_function_address)
14837 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14838 function descriptor.
14839
6f259a23
DB
148402014-10-24 Don Breazeal <donb@codesourcery.com>
14841
14842 * gdb.base/foll-fork.exp (test_follow_fork,
14843 catch_fork_child_follow): Check for updated fork messages emitted
14844 from infrun.c.
14845 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14846 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14847 vfork_and_exec_child_follow_through_step): Check for updated vfork
14848 messages emitted from infrun.c.
14849
09dd9a69
PA
148502014-10-24 Pedro Alves <palves@redhat.com>
14851
14852 * gdb.base/corefile.exp: Remove references to ultrix.
14853 * gdb.base/interrupt.exp: Likewise.
14854 * gdb.base/whatis.exp: Likewise.
14855 * gdb.gdb/selftest.exp: Likewise.
14856 * gdb.threads/manythreads.exp: Likewise.
14857 * gdb.threads/print-threads.exp: Likewise.
14858 * gdb.threads/pthreads.exp:: Likewise.
14859 * gdb.threads/schedlock.exp: Likewise.
14860
3433cfa5
SC
148612014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14862
14863 * gdb.cp/non-trivial-retval.cc: Add a test case.
14864 * gdb.cp/non-trivial-retval.exp: Add a test.
14865
092f880b
YQ
148662014-10-20 Yao Qi <yao@codesourcery.com>
14867
14868 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14869 * gdb.python/py-objfile-script-gdb.py: New file.
14870 * gdb.python/py-objfile-script.exp: Update reference to
14871 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14872 of remote_download. Remove the dest file.
14873
acbdb7f3
YQ
148742014-10-20 Yao Qi <yao@codesourcery.com>
14875
14876 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14877 * gdb.base/step-line.exp: Likewise.
14878 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14879 * gdb.dwarf2/dw2-basic.exp: Likewise.
14880 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14881 * gdb.dwarf2/dw2-filename.exp: Likewise.
14882 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14883 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14884 * gdb.dwarf2/dw2-producer.exp: Likewise.
14885 * gdb.dwarf2/mac-fileno.exp: Likewise.
14886 * gdb.python/py-frame-args.exp: Likewise.
14887 * gdb.python/py-framefilter.exp: Likewise.
14888 * gdb.python/py-mi.exp: Likewise.
14889 * gdb.python/py-objfile-script.exp: Likewise
14890 * gdb.python/py-pp-integral.exp: Likewise.
14891 * gdb.python/py-pp-re-notag.exp: Likewise.
14892 * gdb.python/py-prettyprint.exp: Likewise.
14893 * gdb.python/py-section-script.exp: Likewise.
14894 * gdb.python/py-typeprint.exp: Likewise.
14895 * gdb.python/py-xmethods.exp: Likewise.
14896 * gdb.stabs/weird.exp: Likewise.
14897 * gdb.xml/tdesc-regs.exp: Likewise.
14898
bd286a29
KCY
148992014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14900
14901 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14902 (out_cu): Use addr_len for the size of addresses.
14903 (out_line): Likewise. Size DW_LNE_set_address instruction
14904 according to addr_len.
14905 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14906 (FUNC): Add START_INSNS to definition.
14907
673dc4a0
YQ
149082014-10-18 Yao Qi <yao@codesourcery.com>
14909
14910 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14911 gdb_has_argv0 return true.
14912 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14913 check [target_info exists noargs], check [gdb_has_argv0]
14914 instead.
14915 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14916 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14917 procedures.
14918
4ffbba72
DE
149192014-10-17 Doug Evans <dje@google.com>
14920
14921 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14922 event.
14923 * gdb.python/py-events.py: Add clear_objfiles event.
14924
d096d8c1
DE
149252014-10-17 Doug Evans <dje@google.com>
14926
14927 * gdb.python/py-objfile.exp: Test progspace attribute.
14928
a80db015
LM
149292014-10-17 Luis Machado <lgustavo@codesourcery.com>
14930
14931 * gdb.guile/scm-breakpoint.exp: Do not assume any
14932 directory separators when matching source file paths.
14933 * gdb.python/py-breakpoint.exp: Likewise.
14934 * gdb.reverse/break-precsave.exp: Likewise.
14935 * gdb.reverse/break-reverse.exp: Likewise.
14936 * gdb.reverse/consecutive-precsave.exp: Likewise.
14937 * gdb.reverse/finish-precsave.exp: Likewise.
14938 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14939 * gdb.reverse/finish-reverse.exp: Likewise.
14940 * gdb.reverse/i386-precsave.exp: Likewise.
14941 * gdb.reverse/i387-env-reverse.exp: Likewise.
14942 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14943 * gdb.reverse/machinestate-precsave.exp: Likewise.
14944 * gdb.reverse/machinestate.exp: Likewise.
14945 * gdb.reverse/sigall-precsave.exp: Likewise.
14946 * gdb.reverse/solib-precsave.exp: Likewise.
14947 * gdb.reverse/step-precsave.exp: Likewise.
14948 * gdb.reverse/until-precsave.exp: Likewise.
14949 * gdb.reverse/watch-precsave.exp: Likewise.
14950 * gdb.reverse/watch-reverse.exp: Likewise.
14951
b22089ab
YQ
149522014-10-17 Yao Qi <yao@codesourcery.com>
14953
14954 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14955 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14956
6c4486e6
PA
149572014-10-17 Pedro Alves <palves@redhat.com>
14958
14959 PR gdb/17471
14960 * gdb.base/bg-execution-repeat.c: New file.
14961 * gdb.base/bg-execution-repeat.exp: New file.
14962
0ff33695
PA
149632014-10-17 Pedro Alves <palves@redhat.com>
14964
14965 PR gdb/17300
14966 * gdb.base/continue-all-already-running.c: New file.
14967 * gdb.base/continue-all-already-running.exp: New file.
14968
6fdebc3d
PA
149692014-10-17 Pedro Alves <palves@redhat.com>
14970
14971 PR gdb/17472
14972 * gdb.base/annota-input-while-running.c: New file.
14973 * gdb.base/annota-input-while-running.exp: New file.
14974
32a8097b
PA
149752014-10-17 Pedro Alves <palves@redhat.com>
14976
14977 * gdb.base/callfuncs.exp: emove references to osf.
14978 * gdb.base/sigall.exp: Likewise.
14979 * gdb.gdb/selftest.exp: Likewise.
14980 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14981 * gdb.mi/non-stop.c: Likewise.
14982 * gdb.mi/pthreads.c: Likewise.
14983 * gdb.reverse/sigall-precsave.exp: Likewise.
14984 * gdb.reverse/sigall-reverse.exp: Likewise.
14985 * gdb.threads/pthreads.c: Likewise.
14986 * gdb.threads/pthreads.exp: Likewise.
14987
7a3517ff
YQ
149882014-10-17 Yao Qi <yao@codesourcery.com>
14989
14990 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14991 check 'target_info exists noargs'.
14992 (test_command_prompt_position): Likewise.
14993 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14994 Remove "set args".
14995 (progvar_simple_while_test): Likewise.
14996 (progvar_complex_if_while_test): Likewise.
14997 (if_while_breakpoint_command_test): Likewise.
14998 (infrun_breakpoint_command_test): Likewise.
14999 (breakpoint_command_test): Likewise.
15000 (watchpoint_command_test): Likewise.
15001 (bp_deleted_in_command_test): Likewise.
15002 (temporary_breakpoint_commands): Likewise.
15003
bb99c472
YQ
150042014-10-16 Yao Qi <yao@codesourcery.com>
15005
15006 * gdb.base/remotetimeout.exp: Remove noargs checking.
15007
7c16b83e
PA
150082014-10-15 Pedro Alves <palves@redhat.com>
15009
15010 PR breakpoints/9649
15011 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15012 * gdb.base/breakpoint-in-ro-region.exp
15013 (probe_target_hardware_step): New procedure.
15014 (top level): Probe hardware stepping and hardware breakpoint
15015 support. Test stepping through a read-only region, with both
15016 "breakpoint auto-hw" on and off and both "always-inserted" on and
15017 off.
15018
35a49624
IB
150192014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15020
15021 * gdb.dlang/demangle.exp: Update for demangling changes.
15022
2d1c107c
SC
150232014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15024
15025 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15026 * gdb.cp/non-trivial-retval.exp: Add new tests.
15027
778811d5
SC
150282014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15029
15030 PR c++/13403
15031 PR c++/15154
15032 * gdb.cp/non-trivial-retval.cc: New file.
15033 * gdb.cp/non-trivial-retval.exp: New file.
15034
10c5f0a8
YQ
150352014-10-15 Yao Qi <yao@codesourcery.com>
15036
15037 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15038 remote host.
15039
65d7b369
YQ
150402014-10-15 Yao Qi <yao@codesourcery.com>
15041
15042 * gdb.python/py-symbol.exp: Match file base name if host is
15043 remote, otherwise match file name with dir name.
15044 * gdb.python/py-symtab.exp: Likewise.
15045 * gdb.python/python.exp: Likewise.
15046
46dc1394
YQ
150472014-10-15 Yao Qi <yao@codesourcery.com>
15048
15049 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15050 pattern.
15051 * gdb.python/py-symtab.exp: Likewise.
15052 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15053 locationn.
15054
c40cc657
JB
150552014-10-14 Joel Brobecker <brobecker@adacore.com>
15056
15057 * gdb.ada/addr_arith: New testcase.
15058
2abf49e1
MR
150592014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15060
15061 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15062 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15063 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15064 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15065
f7088df3
SDJ
150662014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15067
15068 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15069 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15070 * gdb.arch/stap-eval-lang-ada.exp: New file.
15071
4dc06805
YQ
150722014-10-14 Yao Qi <yao@codesourcery.com>
15073
15074 * gdb.mi/mi-var-child.c (nothing1): New function.
15075 (nothing2): New function.
15076 (do_children_tests): Set function pointers by nothing1 and
15077 nothing2.
15078 * gdb.mi/mi-var-child.exp: Step over new added statements.
15079 Update test to match the new output.
15080 * gdb.mi/var-cmd.c (nothing1): New function.
15081 (nothing2): New function.
15082 (do_children_tests): Set function pointers by nothing1 and
15083 nothing2.
15084 * gdb.mi/mi-var-display.exp: Update test to match output.
15085 Step to the line specified by $line_dct_nothing.
15086 Increase the number of lines to step.
15087
46a93de2
YQ
150882014-10-14 Yao Qi <yao@codesourcery.com>
15089
15090 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15091 tests.
15092 * gdb.mi/mi2-var-child.exp: Likewise.
15093
14ea52ee
DE
150942014-10-13 Doug Evans <dje@google.com>
15095
15096 * gdb.python/py-objfile.exp: Change name of file name test.
15097
e5c6e92b
DE
150982014-10-13 Doug Evans <dje@google.com>
15099
15100 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15101 from the start of the CU.
15102
c780cc2f
JK
151032014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15104 Yao Qi <yao@codesourcery.com>
15105
15106 Fix "save breakpoints" for "catch" command.
15107 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15108 Remove -nonewline. Match also the added "main" line.
15109
99894e11
JK
151102014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15111
15112 Fix "save breakpoints" for "disable $bpnum" command.
15113 * gdb.base/save-bp.c (main): Add label.
15114 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15115
6e1ac5a3
JK
151162014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15117
15118 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15119
754dd2b0
YQ
151202014-10-11 Yao Qi <yao@codesourcery.com>
15121
15122 * gdb.server/server-kill.exp: Execute command
15123 "set remote trace-status-packet on" before "tstatus".
15124
f90183d7
YQ
151252014-10-11 Yao Qi <yao@codesourcery.com>
15126
15127 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15128 (main): Call getppid.
15129 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15130 and continue to it. Read variable "server_pid".
15131
bf40a607
YQ
151322014-10-11 Yao Qi <yao@codesourcery.com>
15133
15134 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15135
052ca370
YQ
151362014-10-11 Yao Qi <yao@codesourcery.com>
15137
15138 * gdb.threads/thread-find.exp: Don't execute command
15139 "info threads".
15140 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15141 * gdb.threads/linux-dp.exp: Don't check the condition
15142 $threads_created equals to zero.
15143
3831839c
PA
151442014-10-10 Pedro Alves <palves@redhat.com>
15145
15146 * gdb.base/bigcore.exp: Remove references to IRIX.
15147 * gdb.base/funcargs.exp: Likewise.
15148 * gdb.base/interrupt.exp: Likewise.
15149 * gdb.base/mips_pro.exp: Likewise.
15150 * gdb.base/nodebug.exp: Likewise.
15151 * gdb.base/setvar.exp: Likewise.
15152 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15153
8b9a549d
PA
151542014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15155 Pedro Alves <palves@redhat.com>
15156
15157 PR symtab/14466
15158 * gdb.base/vdso-warning.c: New file.
15159 * gdb.base/vdso-warning.exp: New file.
15160
d48ba5e8
DE
151612014-10-02 Doug Evans <dje@google.com>
15162
15163 * gdb.base/structs.c (main): Don't run forever.
15164
2278c276
PA
151652014-10-02 Pedro Alves <palves@redhat.com>
15166
15167 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15168 (top level) <stop threads 1, stop threads 2>: Use it.
15169
b57bacec
PA
151702014-10-02 Pedro Alves <palves@redhat.com>
15171
15172 * gdb.threads/break-while-running.exp (test): Add new
15173 'update_thread_list' argument. Skip "info threads" if false.
15174 (top level): Add new 'update_thread_list' axis.
15175
13fd3ff3
PA
151762014-10-02 Pedro Alves <palves@redhat.com>
15177
15178 PR breakpoints/17431
15179 * gdb.base/execl-update-breakpoints.c: New file.
15180 * gdb.base/execl-update-breakpoints.exp: New file.
15181
0fec99e8
PA
151822014-10-01 Pedro Alves <palves@redhat.com>
15183
15184 * gdb.base/breakpoint-in-ro-region.c: New file.
15185 * gdb.base/breakpoint-in-ro-region.exp: New file.
15186
2ddf4301
SM
151872014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15188
15189 * gdb.mi/mi-exit-code.exp: New file.
15190 * gdb.mi/mi-exit-code.c: New file.
15191
6a5f3f43
YQ
151922014-09-30 Yao Qi <yao@codesourcery.com>
15193
15194 * lib/prelink-support.exp (build_executable_own_libs): Error if
15195 the target isn't native.
15196
345bcc73
YQ
151972014-09-30 Yao Qi <yao@codesourcery.com>
15198
15199 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15200 false.
15201
a25a5a45
PA
152022014-09-22 Pedro Alves <palves@redhat.com>
15203
15204 * gdb.threads/break-while-running.exp: New file.
15205 * gdb.threads/break-while-running.c: New file.
15206
00ba3162
YQ
152072014-09-19 Yao Qi <yao@codesourcery.com>
15208
15209 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15210 Invoke test. Restart GDB with --readnow and invoke test again.
15211
c3b7b696
YQ
152122014-09-19 Yao Qi <yao@codesourcery.com>
15213
15214 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15215 proc set_breakpoint_on_gcd_function. Invoke
15216 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15217 invoke set_breakpoint_on_gcd_function again.
15218
2b4fd423
DE
152192014-09-18 Doug Evans <dje@google.com>
15220
15221 * gdb.dwarf2/symtab-producer.exp: New file.
15222
a5947601
SDJ
152232014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15224
15225 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15226 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15227 * gdb.base/global-var-nested-by-dso.c: Likewise.
15228 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15229
91c19059
SDJ
152302014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15231 Pedro Alves <palves@redhat.com>
15232
15233 * gdb.base/watch-bitfields.exp: Pass string other than test file
15234 name to prepare_for_testing.
15235 (watch): New procedure.
15236 (expect_watchpoint): Use with_test_prefix.
15237 (top level): Factor out tests to ...
15238 (test_watch_location, test_regular_watch): ... these new
15239 procedures, and use with_test_prefix and gdb_continue_to_end.
15240
bb9d5f81
PP
152412014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15242
15243 PR breakpoints/12526
15244 * gdb.base/watch-bitfields.exp: New file.
15245 * gdb.base/watch-bitfields.c: New file.
15246
635856f5
PA
152472014-09-16 Pedro Alves <palves@redhat.com>
15248
15249 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15250 software and hardware addresses, not software address against
15251 itself.
15252
7280ceea
PA
152532014-09-16 Pedro Alves <palves@redhat.com>
15254
15255 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15256 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15257
428b16bd
PA
152582014-09-16 Pedro Alves <palves@redhat.com>
15259
15260 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15261 files.
15262 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15263 "*-*-vxworks*" throughout.
15264 * gdb.base/break.exp: Likewise.
15265 * gdb.base/default.exp: Likewise.
15266 * gdb.base/scope.exp: Likewise.
15267 * gdb.base/sepdebug.exp: Likewise.
15268 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15269 throughout.
15270 * gdb.base/run.c: Likewise.
15271 * gdb.base/sepdebug.c: Likewise.
15272 * gdb.hp/gdb.aCC/run.c: Likewise.
15273 * gdb.reverse/until-reverse.c: Likewise.
15274 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15275
666d413c
YQ
152762014-09-16 Yao Qi <yao@codesourcery.com>
15277
15278 * boards/local-remote-host-native.exp: New file.
15279
57cbd724
DE
152802014-09-14 Doug Evans <xdje42@gmail.com>
15281
15282 * gdb.threads/queue-signal.c (thread_count): New variable.
15283 (thread_count_mutex, thread_count_condvar): New variables.
15284 (incr_thread_count, wait_all_threads_running): New functions.
15285 (main): Wait for all threads to be in their thread functions.
15286
81219e53
DE
152872014-09-13 Doug Evans <xdje42@gmail.com>
15288
15289 * gdb.threads/queue-signal.c: New file.
15290 * gdb.threads/queue-signal.exp: New file.
15291
3714cea7
DE
152922014-09-13 Doug Evans <xdje42@gmail.com>
15293
15294 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15295 be consistent with what default_gdb_init uses.
15296 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15297 the plain text of the prompt. Add some logging printfs.
15298 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15299
fa43b1d7
PA
153002014-09-12 Pedro Alves <palves@redhat.com>
15301
15302 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15303 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15304 * gdb.arch/i386-size-overlap.exp: Likewise.
15305 * gdb.arch/i386-size.exp: Likewise.
15306 * gdb.arch/i386-unwind.exp: Likewise.
15307 * gdb.base/a2-run.exp: Likewise.
15308 * gdb.base/break.exp: Likewise.
15309 * gdb.base/charset.exp: Likewise.
15310 * gdb.base/chng-syms.exp: Likewise.
15311 * gdb.base/commands.exp: Likewise.
15312 * gdb.base/dbx.exp: Likewise.
15313 * gdb.base/find.exp: Likewise.
15314 * gdb.base/funcargs.exp: Likewise.
15315 * gdb.base/jit-simple.exp: Likewise.
15316 * gdb.base/reread.exp: Likewise.
15317 * gdb.base/sepdebug.exp: Likewise.
15318 * gdb.base/step-bt.exp: Likewise.
15319 * gdb.cp/mb-inline.exp: Likewise.
15320 * gdb.cp/mb-templates.exp: Likewise.
15321 * gdb.objc/basicclass.exp: Likewise.
15322 * gdb.threads/killed.exp: Likewise.
15323
9d9bf2df
EBM
153242014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15325
15326 PR tdep/17379
15327 * gdb.arch/powerpc-stackless.S: New file.
15328 * gdb.arch/powerpc-stackless.exp: New file.
15329
1cf2f1b0
JK
153302014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15331
15332 * gdb.base/attach.c: Include unistd.h.
15333 (main): Call alarm. Add label postloop.
15334 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15335 gdb_breakpoint, gdb_continue_to_breakpoint.
15336 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15337
98880d46
PA
153382014-09-11 Pedro Alves <palves@redhat.com>
15339
15340 PR gdb/17347
15341 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15342 * gdb.base/attach.exp (test_command_line_attach_run): New
15343 procedure.
15344 (top level): Call it.
15345
4c92ff2c
PA
153462014-09-11 Pedro Alves <palves@redhat.com>
15347
15348 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15349 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15350 (do_command_attach_tests): Use spawn_wait_for_attach.
15351 * gdb.base/solib-overlap.exp: Likewise.
15352 * gdb.multi/multi-attach.exp: Likewise.
15353 * gdb.python/py-prompt.exp: Likewise.
15354 * gdb.python/py-sync-interp.exp: Likewise.
15355 * gdb.server/ext-attach.exp: Likewise.
15356
3adc1a7d
GKB
153572014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15358
15359 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15360 command in testcase. Simplify testcase.
15361
96334934
JB
153622014-09-10 Joel Brobecker <brobecker@adacore.com>
15363
15364 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15365
eb479039
JB
153662014-09-10 Joel Brobecker <brobecker@adacore.com>
15367
15368 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15369
deede10c
JB
153702014-09-10 Joel Brobecker <brobecker@adacore.com>
15371
15372 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15373
7828a5f5
JB
153742014-09-10 Joel Brobecker <brobecker@adacore.com>
15375
15376 * gdb.dwarf2/dynarr-ptr.c: New file.
15377 * gdb.dwarf2/dynarr-ptr.exp: New file.
15378
33aeebcf
MR
153792014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15380
15381 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15382 of 30 rather than hardcoding 120 for a slow test case. Take the
15383 `gdb,timeout' target setting into account for this calculation.
15384 Don't extend the timeout for the test cases that don't need it.
15385
7b415901
MR
153862014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15387
15388 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15389 a factor of 2 for a slow test case. Take the `gdb,timeout'
15390 target setting into account for this calculation.
15391 * gdb.reverse/until-precsave.exp: Increase the timeout by
15392 a factor of 15 and 3 respectively rather than adding 120
15393 for a pair of slow test cases. Take the `gdb,timeout'
15394 target setting into account for this calculation.
15395
4a40f85a
MR
153962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15397
15398 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15399 timeout, don't pass one down to gdb_expect.
15400 (gdb_expect): Rework timeout selection.
15401
09635af7
MR
154022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15403
15404 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15405 exception on timeout.
15406 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15407 (gdbserver_start_extended): Catch any `gdbserver_start' error
15408 exceptions.
15409 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15410 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15411 `gdbserver_gdb_load' error exceptions.
15412
2bdd10b7
MR
154132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15414
15415 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15416 120 on waiting for the TCP socket to open.
15417
316935f0
DE
154182014-09-09 Doug Evans <xdje42@gmail.com>
15419
15420 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15421 _caller_matches, _any_caller_is, _any_caller_matches.
15422
83740597
DE
154232014-09-09 Doug Evans <xdje42@gmail.com>
15424
15425 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15426
4c122fc3
YQ
154272014-09-09 Yao Qi <yao@codesourcery.com>
15428
15429 * gdb.mi/mi-var-display.exp: Set print symbol off.
15430
a9f116cb
GKB
154312014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15432
15433 PR gdb/17035
15434 * gdb.base/commands.exp: Add tests to verify user-defined
15435 commands with empty bodies.
15436 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15437 python commands in `show user command`.
15438 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15439 scheme commands in `show user command`.
15440
c75bd3a2
JK
154412014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15442
15443 PR python/17355
15444 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15445 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15446 * gdb.python/py-framefilter-invalidarg.exp: New file.
15447 * gdb.python/py-framefilter-invalidarg.py: New file.
15448
faa42425
DE
154492014-09-06 Doug Evans <xdje42@gmail.com>
15450
15451 PR 15276
15452 * gdb.python/py-caller-is.c: New file.
15453 * gdb.python/py-caller-is.exp: New file.
15454
474ca4f6
SDJ
154552014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15456
15457 PR gdb/17235
15458 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15459 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15460
eb0b0463
SDJ
154612014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15462
15463 PR fortran/17237
15464 * gdb.fortran/print-formatted.exp: New file.
15465 * gdb.fortran/print-formatted.f90: Likewise.
15466
5f3b99cf
SS
154672014-09-03 Sasha Smundak <asmundak@google.com>
15468
15469 * gdb.python/py-frame.exp: Test Frame.read_register.
15470
7d793aa9
SDJ
154712014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15472
15473 PR python/16699
15474 * gdb.python/py-completion.exp: New file.
15475 * gdb.python/py-completion.py: Likewise.
15476
fb0576e9
DE
154772014-08-28 Doug Evans <dje@google.com>
15478
15479 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15480 eax,etc. are live with values set by gdb and thus the compiler can't
15481 use them.
15482 * gdb.arch/i386-pseudo.c (main): Ditto.
15483
ee92b0dd
DE
154842014-08-27 Doug Evans <dje@google.com>
15485
15486 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15487
6649db35
DE
154882014-08-25 Doug Evans <dje@google.com>
15489
15490 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15491 (main): Ditto.
15492
564b7600
DE
154932014-08-25 Doug Evans <dje@google.com>
15494
15495 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15496
3881fb67
YQ
154972014-08-24 Yao Qi <yao@codesourcery.com>
15498
15499 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15500 symbol off.
15501 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15502
a05a36a5
DE
155032014-08-22 Doug Evans <dje@google.com>
15504
15505 PR 17276
15506 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15507 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15508 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15509
7c343b48
YQ
155102014-08-22 Yao Qi <yao@codesourcery.com>
15511
15512 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15513 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15514 * gdb.python/python.exp: Likewise. Use .py file on the host
15515 instead of the build.
15516
22fd09ae
JK
155172014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15518
15519 * gdb.threads/gcore-stale-thread.c: New file.
15520 * gdb.threads/gcore-stale-thread.exp: New file.
15521
a8454a7c
PA
155222014-08-21 Pedro Alves <palves@redhat.com>
15523
15524 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15525 * gdb.base/gcore-relro-pie.exp: Likewise.
15526 * gdb.base/gcore-relro.exp: Likewise.
15527 * gdb.base/gcore.exp: Likewise.
15528 * gdb.base/print-symbol-loading.exp: Likewise.
15529 * gdb.threads/gcore-thread.exp: Likewise.
15530 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15531
2a31c623
PA
155322014-08-20 Pedro Alves <palves@redhat.com>
15533 Jan Kratochvil <jan.kratochvil@redhat.com>
15534
15535 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15536 configure.
15537 (EXPECT): Handle READ1 being set.
15538 (all): Depend on EXTRA_RULES.
15539 (check-read1, expect-read1, read1.so, read1): New rules.
15540 * README (Testsuite Parameters): Document the READ1 make variable.
15541 (Race detection): New section.
15542 * configure: Regenerate.
15543 * configure.ac: If build==host==target, and running under a
15544 GNU/glibc system, add read1 to the extra Makefile rules.
15545 (EXTRA_RULES): AC_SUBST it.
15546 * lib/read1.c: New file.
15547
d36430db
JB
155482014-08-20 Joel Brobecker <brobecker@adacore.com>
15549
15550 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15551 the handling of variables declared as a typedef to an array
15552 which a DW_AT_data_location attribute.
15553
9a0dc9e3
PA
155542014-08-19 Andrew Burgess <aburgess@broadcom.com>
15555 Pedro Alves <palves@redhat.com>
15556
15557 PR symtab/14604
15558 PR symtab/14605
15559 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15560 gdb_test.
15561
0718a8da
PA
155622014-08-19 Pedro Alves <palves@redhat.com>
15563
15564 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15565
13b448cd
YQ
155662014-08-19 Yao Qi <yao@codesourcery.com>
15567
15568 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15569 right line.
15570
1cbf5077
DB
155712014-08-18 David Blaikie <dblaikie@gmail.com>
15572
15573 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15574
bf0fae19
JB
155752014-08-18 Joel Brobecker <brobecker@adacore.com>
15576
15577 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15578 attribute in array range.
15579
3c8c5dcc
JB
155802014-08-18 Joel Brobecker <brobecker@adacore.com>
15581
15582 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15583
e66d4446
SC
155842014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15585
15586 PR c++/17132
15587 * gdb.cp/pr17132.cc: New file.
15588 * gdb.cp/pr17132.exp: New file.
15589
940df408
SC
155902014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15591
15592 * gdb.python/py-xmethods.py (A_getarrayind)
15593 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15594 Use 'print' with function call syntax.
15595 (E_method_matcher.match): Fix tab vs space indentation mixup.
15596
ebcc6c3a
YQ
155972014-08-15 Yao Qi <yao@codesourcery.com>
15598
15599 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15600 false.
15601
775e0f04
YQ
156022014-08-15 Yao Qi <yao@codesourcery.com>
15603
15604 * gdb.cp/casts.exp: Set print symbol off.
15605 * gdb.cp/class2.exp: Likewise.
15606 * gdb.cp/overload.exp: Likewise.
15607 * gdb.cp/templates.exp: Likewise.
15608
d769e349
DE
156092014-08-11 Doug Evans <dje@google.com>
15610
15611 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15612 (test_load_shlib): Update.
15613
20c6f1e1
YQ
156142014-08-09 Yao Qi <yao@codesourcery.com>
15615
15616 * gdb.base/display.exp: Invoke is_address_zero_readable.
15617 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15618 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15619 * gdb.base/hbreak-unmapped.exp: Return if
15620 is_address_zero_readable returns true.
15621 * gdb.base/signest.exp: Likewise.
15622 * gdb.base/signull.exp: Likewise.
15623 * gdb.base/sigbpt.exp: Likewise.
15624 * gdb.guile/scm-disasm.exp: Do the test if
15625 is_address_zero_readable returns false.
15626 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15627 * gdb.python/py-arch.exp: Likewise.
15628 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15629 * lib/gdb.exp (is_address_zero_readable): New proc.
15630
5792e8e3
YQ
156312014-08-09 Yao Qi <yao@codesourcery.com>
15632
15633 PR testsuite/13443
15634 * gdb.mi/mi-var-display.exp: Make test messages unique.
15635
3cecbbbe
TT
156362014-08-04 Tom Tromey <tromey@redhat.com>
15637
15638 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15639 target 0".
15640
00b51ff5
TT
156412014-08-04 Tom Tromey <tromey@redhat.com>
15642
15643 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15644 "target_resume".
15645
6908c509
JB
156462014-08-01 Joel Brobecker <brobecker@adacore.com>
15647
15648 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15649 inner_vla_struct_object_size.
15650 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15651 as xfail.
15652
cc6563d2
PA
156532014-07-30 Pedro Alves <palves@redhat.com>
15654
15655 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15656 comment.
15657
7e09a223
YQ
156582014-07-29 Yao Qi <yao@codesourcery.com>
15659
15660 PR gdb/17206
15661 * gdb.base/until-nodebug.exp: New.
15662
7ebdbe92
DE
156632014-07-28 Doug Evans <xdje42@gmail.com>
15664
15665 PR guile/17203
15666 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15667 previously existing parameter, and previously ambiguously spelled
15668 parameter.
15669
fdb1adc6
WN
156702014-07-28 Will Newton <will.newton@linaro.org>
15671
15672 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15673
186fcde0
DE
156742014-07-26 Ludovic Courtès <ludo@gnu.org>
15675 Doug Evans <xdje42@gmail.com>
15676
15677 PR guile/17146
15678 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15679
70509625
PA
156802014-07-25 Pedro Alves <palves@redhat.com>
15681
15682 * gdb.threads/signal-command-handle-nopass.c: New file.
15683 * gdb.threads/signal-command-handle-nopass.exp: New file.
15684 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15685 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15686 * gdb.threads/signal-delivered-right-thread.c: New file.
15687 * gdb.threads/signal-delivered-right-thread.exp: New file.
15688
c3f814a1
PA
156892014-07-25 Pedro Alves <palves@redhat.com>
15690
15691 * gdb.base/double-prompt-target-event-error.exp
15692 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15693 match.
15694 (cancel_pagination_in_target_event): Rework double prompt
15695 detection.
15696 * gdb.base/paginate-after-ctrl-c-running.exp
15697 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15698 <return>' match.
15699 * gdb.base/paginate-bg-execution.exp
15700 (test_bg_execution_pagination_return)
15701 (test_bg_execution_pagination_cancel): Remove '-notransfer
15702 <return>' matches.
15703 * gdb.base/paginate-execution-startup.exp
15704 (test_fg_execution_pagination_return)
15705 (test_fg_execution_pagination_cancel): Remove '-notransfer
15706 <return>' matches.
15707 * gdb.base/paginate-inferior-exit.exp
15708 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15709 match.
15710 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15711 * lib/gdb.exp (pagination_prompt): Run text through
15712 string_to_regexp.
15713 (gdb_test_multiple): Match $pagination_prompt instead of
15714 "<return>".
15715 (string_to_regexp): Move to lib/gdb-utils.exp.
15716
e214cf6c
JK
157172014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15718
15719 * gdb.arch/amd64-entry-value-paramref.S: New file.
15720 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15721 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15722 * gdb.arch/amd64-optimout-repeat.S: New file.
15723 * gdb.arch/amd64-optimout-repeat.c: New file.
15724 * gdb.arch/amd64-optimout-repeat.exp: New file.
15725
17d0c5c8
JK
157262014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15727
15728 PR gdb/17170
15729 * gdb.base/statistics.exp: New file.
15730
b8b8facf
DE
157312014-07-17 Doug Evans <dje@google.com>
15732
74b49205 15733 PR gdb/17170
b8b8facf
DE
15734 * gdb.base/maint.exp: Update testing of per-command stats.
15735
1b5d0ab3
PA
157362014-07-16 Pedro Alves <palves@redhat.com>
15737
15738 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15739 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15740 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15741 (tfile_write_buf): New functions.
15742 (add_memory_block): Rewrite using the above.
15743 (adjust_function_address): New function.
15744 (FUNCTION_ADDRESS): New macro.
15745 (write_basic_trace_file): Remove short_x local, and use
15746 tfile_write_16. Change type of func_addr local to unsigned long
15747 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15748 here. Cast argument of add_memory_block to char pointer.
15749 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15750 (main): Remove parameters.
15751 * gdb.trace/tfile.exp: Remove nowarnings.
15752
4d974e88
SM
157532014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15754
15755 * gdb.base/debug-expr.exp: Test string evaluation with
15756 "debug expression" on.
15757
41e99568
PA
157582014-07-15 Pedro Alves <palves@redhat.com>
15759
15760 * gdb.base/reread.exp: Use clean_restart.
15761
487d9753
PL
157622014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15763
15764 * gdb.arch/avr-flash-qualifer.c: New.
15765 * gdb.arch/avr-flash-qualifer.exp: New.
15766
cc1c52ad
PA
157672014-07-14 Pedro Alves <palves@redhat.com>
15768
15769 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15770 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15771
1e973570
PA
157722014-07-14 Pedro Alves <palves@redhat.com>
15773
15774 * gdb.base/double-prompt-target-event-error.c: New file.
15775 * gdb.base/double-prompt-target-event-error.exp: New file.
15776
93d6eb10
PA
157772014-07-14 Pedro Alves <palves@redhat.com>
15778
15779 PR gdb/17072
15780 * gdb.base/paginate-inferior-exit.c: New file.
15781 * gdb.base/paginate-inferior-exit.exp: New file.
15782
0017922d
PA
157832014-07-14 Pedro Alves <palves@redhat.com>
15784
15785 PR gdb/17072
15786 * gdb.base/paginate-bg-execution.c: New file.
15787 * gdb.base/paginate-bg-execution.exp: New file.
15788
94696ad3
PA
157892014-07-14 Pedro Alves <palves@redhat.com>
15790
15791 PR gdb/17072
15792 * gdb.base/paginate-execution-startup.c: New file.
15793 * gdb.base/paginate-execution-startup.exp: New file.
15794 * lib/gdb.exp (pagination_prompt): New global.
15795 (default_gdb_spawn): New procedure, factored out from
15796 default_gdb_spawn.
15797 (default_gdb_start): Adjust to call default_gdb_spawn.
15798 (gdb_spawn): New procedure.
15799
bd293940
PA
158002014-07-14 Pedro Alves <palves@redhat.com>
15801
15802 * lib/gdb.exp (gdb_assert): New procedure.
15803 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15804
c933f875
PA
158052014-07-14 Pedro Alves <palves@redhat.com>
15806
15807 * gdb.base/execution-termios.c: New file.
15808 * gdb.base/execution-termios.exp: New file.
15809
d98b7a16
TT
158102014-07-14 Tom Tromey <tromey@redhat.com>
15811
15812 * gdb.cp/vla-cxx.cc: New file.
15813 * gdb.cp/vla-cxx.exp: New file.
15814
548740d6
TT
158152014-07-14 Tom Tromey <tromey@redhat.com>
15816
15817 * gdb.reverse/rerun-prec.c: New file.
15818 * gdb.reverse/rerun-prec.exp: New file.
15819
a25eb028
MR
158202014-07-12 Maciej W. Rozycki <macro@mips.com>
15821 Maciej W. Rozycki <macro@codesourcery.com>
15822
15823 * lib/gdb-utils.exp: New file.
15824 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15825 inline `gdb_init_command' processing.
15826 (gdb_start_cmd): Likewise.
15827 * lib/mi-support.exp (mi_run_cmd): Likewise.
15828 * README: Document `gdb_init_command' and `gdb_init_commands'.
15829
218c2655
JK
158302014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15831
15832 Fix false FAIL running under a very long directory name.
15833 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15834 and "set print elements 10000". Twice.
15835
5401fde3
YQ
158362014-07-11 Yao Qi <yao@codesourcery.com>
15837
15838 * gdb.base/exprs.exp: "set print symbol off".
15839
e76126e8
PA
158402014-07-11 Pedro Alves <palves@redhat.com>
15841
15842 * gdb.threads/kill.c: New file.
15843 * gdb.threads/kill.exp: New file.
15844
2d6f0de6
YQ
158452014-07-10 Yao Qi <yao@codesourcery.com>
15846
15847 * gdb.trace/tfile.c (write_basic_trace_file)
15848 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15849 address written to trace file.
15850
7180e04a
PA
158512014-07-09 Pedro Alves <palves@redhat.com>
15852
15853 * gdb.base/attach-wait-input.exp: New file.
15854 * gdb.base/attach-wait-input.c: New file.
15855
9a9a7608
AB
158562014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15857
15858 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15859 setting up test structures.
15860 (main): Call new test function.
15861 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15862 test function, continue into test function and walk test
15863 structures.
15864
161ac41e
YQ
158652014-07-02 Yao Qi <yao@codesourcery.com>
15866
15867 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15868 'bar_start' at the beginning of functions 'foo' and 'bar'
15869 respectively.
15870 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15871 instead of 'foo' and 'bar'.
15872
1f267ae3
MM
158732014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15874
15875 * gdb.btrace/segv.exp: New.
15876 * gdb.btrace/segv.c: New.
15877
2b239efb
LM
158782014-07-02 Luis Machado <lgustavo@codesourcery.com>
15879
15880 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15881 instruction.
15882
cf363f18
MW
158832014-06-30 Mark Wielaard <mjw@redhat.com>
15884
15885 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15886 vulture, vilify, villar): New volatile array constants.
15887 (vindictive, vegetation): New const volatile array constants.
15888 * gdb.base/volatile.exp: Test volatile and const volatile array
15889 types.
15890
aebf9d24
AA
158912014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15892
15893 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15894 target lacks support for awatch, rwatch, or hbreak.
15895
b67a2c6f
YQ
158962014-06-27 Yao Qi <yao@codesourcery.com>
15897
15898 * gdb.multi/dummy-frame-restore.exp: New.
15899 * gdb.multi/dummy-frame-restore.c: New.
15900
aef92902
MM
159012014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15902
15903 * gdb.btrace/gcore.exp: New.
15904
8e9db26e
PA
159052014-06-23 Pedro Alves <palves@redhat.com>
15906
15907 * gdb.base/watchpoint-reuse-slot.c: New file.
15908 * gdb.base/watchpoint-reuse-slot.exp: New file.
15909
70afc5b7
SC
159102014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15911
15912 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15913 progspace's filename in 'info', 'enable' and 'disable' command
15914 tests.
15915
b972bd9c
JK
159162014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15917
15918 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15919 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15920 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15921
125f8a3d
GB
159222014-06-20 Gary Benson <gbenson@redhat.com>
15923
15924 * gdb.arch/i386-avx.exp: Fix include file location.
15925 * gdb.arch/i386-sse.exp: Likewise.
15926
3ed9baed
IB
159272014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15928
15929 * gdb.dlang/expression.exp: New file.
15930
034f788c
PA
159312014-06-19 Pedro Alves <palves@redhat.com>
15932
15933 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15934 out from ...
15935 (top level): ... here. Iterate running tests under different
15936 scheduler-locking settings.
15937
45371d0c
LM
159382014-06-18 Luis Machado <lgustavo@codesourcery.com>
15939
15940 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15941 to DW_FORM_addr and use non-zero addresses.
15942
5d376983
SC
159432014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15944
15945 PR gdb/17017
15946 * gdb.python/py-xmethods.cc: Add global function call counters and
15947 increment them in their respective functions. Remove "cout"
15948 statements.
15949 * gdb.python/py-xmethods.exp: Make tests check the global function
15950 call counters instead of depending on inferior IO.
15951
a1aa2221
LM
159522014-06-18 Don Breazeal <donb@codesourcery.com>
15953
15954 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15955 Deleted procedure.
15956 (explicit_fork_parent_follow): Deleted procedure.
15957 (explicit_fork_child_follow): Deleted procedure.
15958 (test_follow_fork): New procedure.
15959 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 15960 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
15961 procedure calls.
15962
0fc05997
YQ
159632014-06-17 Yao Qi <yao@codesourcery.com>
15964
15965 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15966 CP1252.
15967
70795c52
LM
159682014-06-17 Luis Machado <lgustavo@codesourcery.com>
15969
15970 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15971 Initialize ptr and S explicitly.
15972 (skip_type_update_when_not_use_rtti_test): Likewise.
15973
6be47f0c
KS
159742014-06-16 Keith Seitz <keiths@redhat.com>
15975
15976 PR mi/15863
15977 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15978 the inferior is started.
15979
d03de421
PA
159802014-06-16 Pedro Alves <palves@redhat.com>
15981
15982 * gdb.base/break-main-file-remove-fail.c: New file.
15983 * gdb.base/break-main-file-remove-fail.exp: New file.
15984 * gdb.base/break-unload-file.exp: Use build_executable instead of
15985 prepare_for_testing.
15986 (test_break): New parameter "initial_load". Handle it.
15987 (top level): Add initial_load cmdline/file axis.
15988
f9579b99
TT
159892014-06-12 Tom Tromey <tromey@redhat.com>
15990
15991 * gdb.base/completion.exp: Don't use directory name in test.
15992
3657956b
GB
159932014-06-09 Gary Benson <gbenson@redhat.com>
15994
15995 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15996 separate the always-available ANSI-standard signals from the
15997 signals that require checking.
15998 (main): Likewise.
15999 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16000 Likewise.
16001 (main): Likewise.
16002
4186eb54
KS
160032014-06-07 Keith Seitz <keiths@redhat.com>
16004
16005 Revert:
16006 PR c++/16253
16007 * gdb.cp/var-tag.cc: New file.
16008 * gdb.cp/var-tag.exp: New file.
16009 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16010 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16011 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16012 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16013
25326a28 160142014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
16015
16016 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16017
829155c9
PA
160182014-06-06 Pedro Alves <palves@redhat.com>
16019
16020 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16021 in target debug output instead of looking at RSP packets,
16022 disabling the test on any target that uses hardware stepping.
16023 Update comments.
16024
61c8d22e
PA
160252014-06-06 Pedro Alves <palves@redhat.com>
16026
16027 * gdb.base/break-unload-file.exp: Fix typo.
16028
d9a47287
YQ
160292014-06-06 Yao Qi <yao@codesourcery.com>
16030
16031 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16032 from "jit_function" to "^jit_function".
16033
e5e01dbf
YQ
160342014-06-06 Yao Qi <yao@codesourcery.com>
16035
16036 * gdb.base/async.c (foo): Add one statement.
16037 * gdb.base/async.exp: Get the next instruction address and
16038 match the output of "nexti" by instruction address. Match
16039 the hex address in the output of "finish".
16040
73ba372c
GB
160412014-06-06 Gary Benson <gbenson@redhat.com>
16042
16043 * gdb.base/call-signals.c: Remove preprocessor conditionals
16044 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16045 SIGSEGV and SIGTERM.
16046 * gdb.base/sigall.c: Likewise.
16047 * gdb.base/unwindonsignal.c: Likewise.
16048 * gdb.reverse/sigall-reverse.c: Likewise.
16049
831517df
YQ
160502014-06-06 Yao Qi <yao@codesourcery.com>
16051
16052 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16053 readable, skip the test.
16054
b8b91e98
YQ
160552014-06-06 Yao Qi <yao@codesourcery.com>
16056
16057 * gdb.threads/staticthreads.c (thread_function): Move the line
16058 setting breakpoint on forward.
16059 * gdb.threads/staticthreads.exp: Update comments.
16060
fb934770
LC
160612014-06-05 Ludovic Courtès <ludo@gnu.org>
16062
16063 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16064 "history-append! type error".
16065
6ef284bd
SM
160662014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16067
16068 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16069 erroneous dprintf expected input.
16070
a872e241
DE
160712014-06-04 Doug Evans <xdje42@gmail.com>
16072
16073 * gdb.guile/scm-generics.exp: Delete.
16074
16f691fb
DE
160752014-06-04 Doug Evans <xdje42@gmail.com>
16076
16077 * gdb.guile/scm-breakpoint.exp: Update.
16078 Add tests for breakpoint registration.
16079
012370f6
TT
160802014-06-04 Tom Tromey <tromey@redhat.com>
16081
16082 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16083 VLA-in-union.
16084 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16085 inner_vla_struct, vla_union types. Initialize objects of those
16086 types and compute their sizes.
16087
9f5a4cef
HZ
160882014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16089 Hui Zhu <hui@codesourcery.com>
16090
16091 * gdb.base/fileio.exp: Add test for shell not available as well as
16092 available.
16093 * gdb.base/fileio.c (test_system): Check for shell twice.
16094
90a45c4d
YQ
160952014-06-04 Yao Qi <yao@codesourcery.com>
16096
16097 * gdb.base/auto-connect-native-target.exp: Remove redundant
16098 space from the regexp pattern.
16099
70017e41
YQ
161002014-06-04 Yao Qi <yao@codesourcery.com>
16101
16102 * gdb.base/default.exp: Replace "child" with "native" in
16103 regexp pattern.
16104
883964a7
SC
161052014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16106
16107 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16108 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16109 * gdb.python/py-xmethods.py: Python script supporting the
16110 new testcase and tests.
16111
ef370185
JB
161122014-06-03 Joel Brobecker <brobecker@adacore.com>
16113 Pedro Alves <palves@redhat.com>
16114
16115 PR breakpoints/17000
16116 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16117 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16118
1e2ccb61
BM
161192014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16120
16121 * gdb.base/subst.exp: Add tests to verify partial path matching
16122 output.
16123
c6ec5ab2
PA
161242014-06-03 Pedro Alves <palves@redhat.com>
16125
16126 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16127 target that doesn't use software single-stepping.
16128
835c559f
PA
161292014-06-03 Pedro Alves <palves@redhat.com>
16130
16131 PR breakpoints/17000
16132 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16133 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16134
06eb1586
DE
161352014-06-02 Doug Evans <xdje42@gmail.com>
16136
16137 * gdb.guile/scm-parameter.exp: New file.
16138
e698b8c4
DE
161392014-06-02 Doug Evans <xdje42@gmail.com>
16140
16141 * gdb.guile/scm-cmd.c: New file.
16142 * gdb.guile/scm-cmd.exp: New file.
16143
ded03782
DE
161442014-06-02 Doug Evans <xdje42@gmail.com>
16145
16146 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16147 pretty-printer lookup.
16148 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16149 (make-pp_s-printer): Call it.
16150 (make-pretty-printer-from-dict): New function.
16151 (lookup-pretty-printer-maker-from-dict): New function.
16152 (*pretty-printer*): Simplify.
16153 (make-objfile-pp_s-printer): New function.
16154 (install-objfile-pretty-printers!): New function.
16155 (make-progspace-pp_s-printer): New function.
16156 (install-progspace-pretty-printers!): New function.
16157 * gdb.guile/scm-progspace.c: New file.
16158 * gdb.guile/scm-progspace.exp: New file.
16159
41fac0cf
PA
161602014-06-02 Pedro Alves <palves@redhat.com>
16161
16162 * gdb.base/dprintf-bp-same-addr.c: New file.
16163 * gdb.base/dprintf-bp-same-addr.exp: New file.
16164
96ae5695
EBM
161652014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16166
16167 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16168 * gdb.arch/powerpc-power.s: Likewise.
16169
da02b3a8
JB
161702014-06-02 Joel Brobecker <brobecker@adacore.com>
16171
16172 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16173
c72b2e7b
YQ
161742014-06-01 Yao Qi <yao@codesourcery.com>
16175
16176 * gdb.base/watchpoint.exp (test_watch_location): Check null
16177 pointer can be dereferenced. If not, do the test, otherwise
16178 skip it.
16179
53e8a631
AB
161802014-05-30 Andrew Burgess <aburgess@broadcom.com>
16181
16182 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16183 results.
16184 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16185
938f0e2f
AB
161862014-05-30 Andrew Burgess <aburgess@broadcom.com>
16187
16188 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16189 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16190 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16191 * gdb.arch/amd64-invalid-stack-top.c: New file.
16192 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16193
9ba6657a
PA
161942014-05-30 Pedro Alves <palves@redhat.com>
16195
16196 PR breakpoints/17000
16197 * gdb.base/sss-bp-on-user-bp.c: New file.
16198 * gdb.base/sss-bp-on-user-bp.exp: New file.
16199
522c09bf
DB
162002014-05-30 David Blaikie <dblaikie@gmail.com>
16201
16202 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16203 gnu_inline semantics via attribute.
16204 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16205 source explicitly specifies the required semantics.
16206
bf4ef81e
MR
162072014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16208
16209 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16210
329ea579
PA
162112014-05-29 Pedro Alves <palves@redhat.com>
16212 Tom Tromey <tromey@redhat.com>
16213
16214 * gdb.base/async-shell.exp: Don't enable target-async.
16215 * gdb.base/async.exp
16216 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16217 parameter. Adjust.
16218 (top level): Don't test with "target-async".
16219 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16220 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16221 * gdb.base/inferior-died.exp: Don't enable target-async.
16222 * gdb.base/interrupt-noterm.exp: Likewise.
16223 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16224 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16225 * gdb.mi/mi-nonstop.exp: Likewise.
16226 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16227 * gdb.mi/mi-nsintrall.exp: Likewise.
16228 * gdb.mi/mi-nsmoribund.exp: Likewise.
16229 * gdb.mi/mi-nsthrexec.exp: Likewise.
16230 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16231 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16232 * gdb.python/py-evsignal.exp: Don't enable target-async.
16233 * gdb.python/py-evthreads.exp: Likewise.
16234 * gdb.python/py-prompt.exp: Likewise.
16235 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16236 * gdb.server/solib-list.exp: Don't enable target-async.
16237 * gdb.threads/thread-specific-bp.exp: Likewise.
16238 * lib/mi-support.exp: Adjust to use mi-async.
16239
fd664c91
PA
162402014-05-29 Pedro Alves <palves@redhat.com>
16241
16242 PR gdb/13860
16243 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16244 reason, even in sync mode.
16245
251bde03
PA
162462014-05-29 Pedro Alves <palves@redhat.com>
16247 Hui Zhu <hui@codesourcery.com>
16248
16249 PR PR15693
16250 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16251 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16252 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16253 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16254
7f3c0343
JB
162552014-05-28 Joel Brobecker <brobecker@adacore.com>
16256
16257 * config/monitor.exp (gdb_target_monitor): Replace use of
16258 "set remotebaud" by "set serial baud".
16259
b2715b27
AW
162602014-05-26 Andy Wingo <wingo@igalia.com>
16261
16262 * gdb.guile/scm-breakpoint.exp:
16263 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16264 properties instead of gdb-object-properties.
16265
498a4489
YQ
162662014-05-26 Yao Qi <yao@codesourcery.com>
16267
16268 * gdb.server/no-thread-db.exp: Specify source file name
16269 explicitly when setting a breakpoint.
16270
589fdceb
MM
162712014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16272
16273 * gdb.btrace/vdso.c: New.
16274 * gdb.btrace/vdso.exp: New.
16275
e9089e05
MM
162762014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16277
16278 * gdb.base/gcore.exp (capture_command_output): Move ...
16279 * lib/gdb.exp (capture_command_output): ... here.
16280
67b5c0c1
MM
162812014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16282
16283 * gdb.btrace/data.exp: Test memory access during btrace replay.
16284
a2199296
SM
162852014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16286
16287 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16288
17b2616c
PA
162892014-05-21 Pedro Alves <palves@redhat.com>
16290
16291 PR gdb/13860
16292 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16293 (top level): Test that output related to execution commands is
16294 sent to the console with CLI commands, but not with MI commands.
16295 Test that breakpoint events are always mirrored to the console.
16296 Also expect the new source line to be output after a "next" in
16297 async mode too. Make it a pass/fail test.
16298 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16299 output.
16300 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16301
5166082f
PA
163022014-05-21 Pedro Alves <palves@redhat.com>
16303
16304 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16305 Use them to test variations of "list" after reaching a breakpoint.
16306 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16307 Test "list" with listsize 10 after reaching a breakpoint.
16308 * gdb.python/python.exp (decode_line current location line
16309 number): Adjust expected line number.
16310
2f25d70f
SM
163112014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16312
16313 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16314 behavior for $args, pass it directly to "run".
16315
ff604a67
MR
163162014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16317
16318 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16319 30000 to 65536.
16320
6a3cb8e8
PA
163212014-05-21 Pedro Alves <palves@redhat.com>
16322
16323 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16324 auto-connect-native-target off".
16325 * gdb.base/auto-connect-native-target.c: New file.
16326 * gdb.base/auto-connect-native-target.exp: New file.
16327
4ebfc96e
PA
163282014-05-21 Pedro Alves <palves@redhat.com>
16329
16330 * gdb.base/default.exp: Test "target native" instead of "target
16331 child".
16332
36d46afb
MW
163332014-05-21 Mark Wielaard <mjw@redhat.com>
16334
16335 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16336
5876f503
JK
163372014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16338
16339 Fix TLS access for -static -pthread.
16340 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16341 <HAVE_TLS> (thread_function, main): Initialize it.
16342 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16343 Add clean_restart.
16344 <$have_tls != "">: Check TLSVAR.
16345
0256a6ac
PA
163462014-05-21 Pedro Alves <palves@redhat.com>
16347
16348 * gdb.base/dcache-line-read-error.c: New.
16349 * gdb.base/dcache-line-read-error.exp: New.
16350
936d2992
PA
163512014-05-20 Pedro Alves <palves@redhat.com>
16352
16353 * gdb.base/compare-sections.c: New file.
16354 * gdb.base/compare-sections.exp: New file.
16355
802e8e6d
PA
163562014-05-20 Pedro Alves <palves@redhat.com>
16357
16358 * gdb.base/break-idempotent.c: New file.
16359 * gdb.base/break-idempotent.exp: New file.
16360
e59fa00f
MM
163612014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16362
16363 * gdb.btrace/nohist.exp: New.
16364
8b696e31
YQ
163652014-05-20 Yao Qi <yao@codesourcery.com>
16366
16367 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16368 gdb.reverse directory and gdb_reverse_timeout exists in board
16369 setting.
16370 * README: Document gdb_reverse_timeout.
16371
73c9764f
YQ
163722014-05-20 Yao Qi <yao@codesourcery.com>
16373
16374 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16375 'test_file_name'. Treat args as a string instead of a list.
16376 (gdb_init): Rename argument 'args' by 'test_file_name'.
16377
f1f4348a
JK
163782014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16379
16380 * gdb.arch/powerpc-power.exp: New file.
16381 * gdb.arch/powerpc-power.s: New file.
16382
0dbe70ce
DE
163832014-05-16 Doug Evans <dje@google.com>
16384
16385 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
16386 * gdb.base/completion.exp: Check that all expected files exist
16387 before doing file completion.
0dbe70ce 16388
8d551b02
DE
163892014-05-16 Doug Evans <dje@google.com>
16390
16391 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16392 Update.
16393 (do_syscall_tests_without_xml): Update.
16394
73eb7709
PA
163952014-05-16 Pedro Alves <palves@redhat.com>
16396
16397 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16398 instead of "unknown output after running".
16399
3fae92fc
YQ
164002014-05-16 Yao Qi <yao@codesourcery.com>
16401
16402 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16403 file1.txt from host at the end.
16404 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16405
c2b2ccc5
DE
164062014-05-15 Doug Evans <dje@google.com>
16407
16408 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16409 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16410 loading file. Add test for TU lookup.
16411
8c217a4b
SM
164122014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16413
16414 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16415 calling "-exec-arguments" or "set args" before running the
16416 inferior.
16417
3deb39c6
SM
164182014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16419
16420 * lib/mi-support.exp (mi_expect_stop): Expect message for
16421 inferiors that exit with non-zero exit code.
16422
71a79f8c
YQ
164232014-05-14 Yao Qi <yao@codesourcery.com>
16424
16425 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16426 match absolute path on remote host.
16427 (test_file_list_exec_source_files): Remove "/" from the
16428 pattern.
16429
f23fcd46
YQ
164302014-05-14 Yao Qi <yao@codesourcery.com>
16431
16432 * boards/local-remote-host-notty.exp (${board}_file): New
16433 proc.
16434
9404b58f
KM
164352014-05-07 Kyle McMartin <kyle@redhat.com>
16436
16437 Pushed by Joel Brobecker <brobecker@adacore.com>.
16438 * gdb.arch/aarch64-atomic-inst.c: New file.
16439 * gdb.arch/aarch64-atomic-inst.exp: New file.
16440
5e45f04c
YQ
164412014-05-07 Yao Qi <yao@codesourcery.com>
16442
16443 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16444 in current context" too.
16445
c888a17d
KS
164462014-05-05 Keith Seitz <keiths@redhat.com>
16447
16448 * gdb.linespec/ls-dollar.exp: Add test for linespec
16449 file:convenience_variable.
16450
290a839c
YQ
164512014-05-05 Yao Qi <yao@codesourcery.com>
16452
16453 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16454 traceframes into tfile and ctf trace files. Read data from
16455 trace file and test collected data.
16456 (gdb_collect_locals_test): Likewise.
16457 (gdb_unavailable_registers_test): Likewise.
16458 (gdb_unavailable_floats): Likewise.
16459 (gdb_collect_globals_test): Likewise.
16460 (top-level): Append "ctf" to trace_file_targets if GDB
16461 supports.
16462
b5262cd0
YQ
164632014-05-05 Yao Qi <yao@codesourcery.com>
16464
16465 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16466 code to ...
16467 (gdb_collect_args_test_1): ... it. New proc.
16468 (gdb_collect_locals_test): Move some code to ...
16469 (gdb_collect_locals_test_1): ... it. New proc.
16470 (gdb_unavailable_registers_test): Move some code to ...
16471 (gdb_unavailable_registers_test_1): ... it. New proc.
16472 (gdb_unavailable_floats): Move some code to ...
16473 (gdb_unavailable_floats_1): ... it. New proc.
16474
30a1e6cc
SDJ
164752014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16476
16477 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16478 probes to test for bitness recognition.
16479 * gdb.arch/amd64-stap-optional-prefix.exp
16480 (test_probe_value_without_reg): New procedure.
16481 Add code to test for different kinds of bitness.
16482
f33da99a
SDJ
164832014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16484
16485 PR breakpoints/16889
16486 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16487 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16488
5b80f00d
PA
164892014-05-01 Pedro Alves <palves@redhat.com>
16490
16491 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16492 gdb_file_cmd if no file is specified.
16493 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16494 last_loaded_file to set the remote exec-file.
16495
f8c2a73c
PA
164962014-05-01 Pedro Alves <palves@redhat.com>
16497
16498 * boards/local-remote-host.exp: New file.
16499
be6e8ac7
PA
165002014-05-01 Pedro Alves <palves@redhat.com>
16501
16502 * boards/local-remote-host.exp: Rename to ...
16503 * boards/local-remote-host-notty.exp: ... this.
16504
cac0dc8f
JB
165052014-04-28 Joel Brobecker <brobecker@adacore.com>
16506
16507 * gdb.ada/dyn_arrayidx: New testcase.
16508
9730e6cc
YQ
165092014-04-26 Yao Qi <yao@codesourcery.com>
16510
16511 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16512 and compute the length of function main. Save it in
16513 $main_length.
16514 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16515 (top-level): Use gdb_compile to compile objects into
16516 executable and restart GDB. Remove invocation to
16517 prepare_for_testing.
16518
7ae1a6a6
PA
165192014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16520 Pedro Alves <palves@redhat.com>
16521
16522 PR server/16255
16523 * gdb.multi/multi-attach.c: New file.
16524 * gdb.multi/multi-attach.exp: New file.
16525
4082afcc
PA
165262014-04-25 Pedro Alves <palves@redhat.com>
16527
16528 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16529 user.
16530 (top level): Test that "set remote conditional-breakpoints-packet
16531 off" works as intended.
16532 * gdb.base/dprintf.exp: Test that "set remote
16533 breakpoint-commands-packet off" works as intended.
16534 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16535 New function.
16536 (top level): Call it.
16537 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16538 remote fast-tracepoints-packet off" works as intended.
16539 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16540 * lib/gdb.exp (gdb_is_target_remote): ... here.
16541
2abc3f8d
DB
165422014-04-24 David Blaikie <dblaikie@gmail.com>
16543
16544 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16545 ensure clang would not discard them.
16546 * gdb.base/gdbvars.c: Ditto.
16547 * gdb.base/memattr.c: Ditto.
16548 * gdb.base/whatis.c: Ditto.
16549 * gdb.python/py-prettyprint.c: Ditto.
16550 * gdb.trace/actions.c: Ditto.
16551 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16552 ensure clang would not discard it.
16553
bfd39632
DB
165542014-04-24 David Blaikie <dblaikie@gmail.com>
16555
16556 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16557 clang to emit the full definition of type required by the test
16558 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16559
22842ff6
DB
165602014-04-24 David Blaikie <dblaikie@gmail.com>
16561
16562 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16563 coax Clang into emitting the definition of the type.
16564 * gdb.cp/pr10728-x.h (y): Ditto.
16565 * gdb.cp/pr10728-y.cc (y): Ditto.
16566
c2e827ad
DB
165672014-04-24 David Blaikie <dblaikie@gmail.com>
16568
16569 * gdb.base/label.exp: XFAIL label related tests under Clang.
16570 * gdb.cp/cplabel.exp: Ditto.
16571 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16572 under Clang those using labels.
16573
4c2d33e7
YQ
165742014-04-25 Yao Qi <yao@codesourcery.com>
16575
16576 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16577 double_label.
16578 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16579 partial_label and double_label.
16580
56083b99
DB
165812014-04-24 David Blaikie <dblaikie@gmail.com>
16582
16583 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16584
25d4e99d
DB
165852014-04-24 David Blaikie <dblaikie@gmail.com>
16586
16587 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16588 of the function to work across GCC and Clang.
16589 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16590 pointer types (const void ** const V void **).
16591
01f9f808
MS
165922014-04-24 Michael Sturm <michael.sturm@mintel.com>
16593 Walfred Tedeschi <walfred.tedeschi@intel.com>
16594
16595 * Makefile.in (EXECUTABLES): Added i386-avx512.
16596 * gdb.arch/i386-avx512.c: New file.
16597 * gdb.arch/i386-avx512.exp: Likewise.
16598
4b48d439
KS
165992014-04-23 Keith Seitz <keiths@redhat.com>
16600
16601 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16602 (mi_make_breakpoint_table): New procedure.
16603 (mi_create_breakpoint): Use mi_make_breakpoint
16604 and return the result.
16605 (mi_make_breakpoint): New procedure.
16606 (mi_build_kv_pairs): New procedure.
16607
16608 * gdb.mi/mi-break.exp: Remove unused globals,
16609 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16610 All callers updated.
16611 * gdb.mi/mi-dprintf.exp: Use variable to track command
16612 number.
16613 Update all callers of mi_create_breakpoint and use
16614 mi_make_breakpoint_table.
16615 Remove any unused global variables.
16616 * gdb.mi/mi-nonstop.exp: Likewise.
16617 * gdb.mi/mi-nsintrall.exp: Likewise.
16618 * gdb.mi/mi-nsmoribund.exp: Likewise.
16619 * gdb.mi/mi-nsthrexec.exp: Likewise.
16620 * gdb.mi/mi-reverse.exp: Likewise.
16621 * gdb.mi/mi-simplerun.exp: Likewise.
16622 * gdb.mi/mi-stepn.exp: Likewise.
16623 * gdb.mi/mi-syn-frame.exp: Likewise.
16624 * gdb.mi/mi-until.exp: Likewise.
16625 * gdb.mi/mi-var-cp.exp: Likewise.
16626 * gdb.mi/mi-var-display.exp: Likewise.
16627 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16628 * gdb.mi/mi2-var-child.exp: Likewise.
16629 * gdb.mi/mi-vla-c99.exp: Likewise.
16630 * lib/mi-support.exp: Likewise.
16631
16632 From Ian Lance Taylor <iant@cygnus.com>:
16633 * lib/gdb.exp (parse_args): New procedure.
16634
08351840
PA
166352014-04-23 Pedro Alves <palves@redhat.com>
16636
16637 * gdb.base/break-unload-file.c: New file.
16638 * gdb.base/break-unload-file.exp: New file.
16639 * gdb.base/sym-file-lib.c (baz): New function.
16640 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16641 field.
16642 (load): Store the segment's mapped size.
16643 (unload): New function.
16644 (unload_shlib): New function.
16645 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16646 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16647 set a breakpoint at baz, and call it.
16648 * gdb.base/sym-file.exp: New tests for stale breakpoint
16649 instructions.
16650
076855f9
PA
166512014-04-23 Pedro Alves <palves@redhat.com>
16652
16653 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16654 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16655 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16656 * gdb.base/hbreak-unmapped.c: New file.
16657 * gdb.base/hbreak-unmapped.exp: New file.
16658 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16659 * lib/gdb.exp (gdb_is_target_remote): ... here.
16660
483805cf
PA
166612014-04-22 Pedro Alves <palves@redhat.com>
16662
16663 * gdb.base/consecutive-step-over.c: New file.
16664 * gdb.base/consecutive-step-over.exp: New file.
16665
06d97543
PA
166662014-04-22 Pedro Alves <palves@redhat.com>
16667
16668 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16669 instead of send_gdb/gdb_expect.
16670
b4429ea2
YQ
166712014-04-22 Yao Qi <yao@codesourcery.com>
16672
16673 * lib/trace-support.exp (generate_tracefile): New procedure.
16674 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16675 return 0.
16676 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16677 if generate_tracefile returns 1.
16678
51d48146
PA
166792014-04-18 Tom Tromey <palves@redhat.com>
16680 Pedro alves <tromey@redhat.com>
16681
16682 PR backtrace/15558
16683 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16684 with a backtrace limit.
16685 * gdb.python/py-frame-inline.exp: Test running to an inline
16686 function with a backtrace limit, and printing the newest frame.
16687 * gdb.python/py-frame-inline.c (main): Call f.
16688
bd1dce5f
MS
166892014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16690
16691 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16692
40d1a503
MS
166932014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16694
16695 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16696 Drop prefix from unsupported source file path.
16697
389b98f7
YQ
166982014-04-17 Yao Qi <yao@codesourcery.com>
16699
16700 * lib/gdb.exp (with_target_charset): New proc.
16701 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16702 with_target_charset.
16703 (test_print_strings): Likewise.
16704 (test_repeat_bytes): Likewise.
16705 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16706 for some tests.
16707
22869d73
KS
167082014-04-16 Keith Seitz <keiths@redhat.com>
16709
16710 PR gdb/15827
16711 * gdb.dwarf2/corrupt.c: New file.
16712 * gdb.dwarf2/corrupt.exp: New file.
16713
c4f87ca6
KS
167142014-04-16 Keith Seitz <keiths@redhat.com>
16715
16716 PR c++/16597
16717 * gdb.cp/namelessclass.cc: New file.
16718 * gdb.cp/namelessclass.exp: New file.
16719 * gdb.cp/namelessclass.S: New file.
16720
ab19de87
DE
167212014-04-16 Doug Evans <dje@google.com>
16722
16723 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16724 Add comment.
16725 (gdbserver_default_get_comm_port): New function.
16726 (gdbserver_start): Check if board file provided
16727 "gdbserver,get_comm_port" and use it if so.
16728 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16729 (gdb,socketport): Set to "stdio".
16730 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16731 (stdio_gdbserver_template): Delete.
16732 (${board}_get_remote_address): Update.
16733 (${board}_build_remote_cmd): Delete.
16734 (${board}_get_comm_port): New function.
16735 (${board}_spawn): Update.
16736 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16737 Delete.
16738 (${board}_get_remote_address): Update.
16739 (${board}_get_comm_port): New function.
16740
fc98a809
AB
167412014-04-16 Andrew Burgess <aburgess@broadcom.com>
16742
16743 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16744 appearing in any order.
16745
87fd9e6e
DE
167462014-04-15 Doug Evans <dje@google.com>
16747
16748 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16749 uninitialized value of "description".
16750
099fc3ea
KS
167512014-04-15 Keith Seitz <keiths@redhat.com>
16752
16753 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16754 Remove unused globals.
16755 (test_running_the_program): Likewise.
16756 (test_controlled_execution): Likewise.
16757 (test_controlling_breakpoints): Likewise.
16758 (test_program_termination): Likewise.
16759
5da151d4
KS
167602014-04-15 Keith Seitz <keiths@redhat.com>
16761
16762 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16763 unused globals.
16764 (test_rbreak_creation_and_listing): Likewise.
16765 (test_ignore_count): Likewise.
16766 (test_error): Likewise.
16767
35e5d2f0
PA
167682014-04-15 Pedro Alves <palves@redhat.com>
16769
16770 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16771 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16772 sym-file-loader.c.
16773 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16774 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16775 to sym-file-loader.c.
16776 (struct library): Forward declare.
16777 (load_shlib, lookup_function): Change prototypes.
16778 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16779 (translate_offset): Remove declarations.
16780 (get_text_addr): New declaration.
16781 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16782 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16783 sym-file-loader.h.
16784 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16785 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16786 here from sym-file-loader.h.
16787 (struct library): New structure.
16788 (load_shlib, lookup_function): Change prototypes and adjust to
16789 work with a struct library.
16790 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16791 (translate_offset): Make static.
16792 (get_text_addr): New function.
16793 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16794
eb4c1710
PA
167952014-04-15 Pedro Alves <palves@redhat.com>
16796
16797 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16798
2d1baf52
PA
167992014-04-15 Pedro Alves <palves@redhat.com>
16800
16801 * gdb.base/sym-file-loader.c: Include <limits.h>.
16802 (SELF_LINK): New define.
16803 (get_origin): New function.
16804 (load_shlib): Use it.
16805 * gdb.base/sym-file.exp: Don't early return if the target is
16806 remote. Use runto_main, and issue fail is that fails. Use
16807 gdb_load_shlibs.
16808 (shlib_name): Delete.
16809 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16810
7dd6df01
PA
168112014-04-15 Pedro Alves <palves@redhat.com>
16812
16813 * gdb.base/sym-file.exp: Remove regex characters from test
16814 message. Don't refer to breakpoint numbers in test messages.
16815
b50c8614
KS
168162014-04-14 Keith Seitz <keiths@redhat.com>
16817
16818 PR c++/16253
16819 * gdb.cp/var-tag.cc: New file.
16820 * gdb.cp/var-tag.exp: New file.
16821 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16822 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16823 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16824 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16825
3d567982
TT
168262014-04-14 Tom Tromey <tromey@redhat.com>
16827
16828 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16829 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16830 type.
16831 * gdb.cp/enum-class.exp: New file.
16832 * gdb.cp/enum-class.cc: New file.
16833
0626fc76
TT
168342014-04-14 Tom Tromey <tromey@redhat.com>
16835
16836 * gdb.dwarf2/enum-type.exp: New file.
16837
dca325b3
SA
168382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16839
16840 * gdb.mi/mi-vla-c99.exp: New file.
16841 * gdb.mi/vla.c: New file.
16842
5854b38a
SA
168432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16844
16845 * gdb.base/vla-datatypes.c: New file.
16846 * gdb.base/vla-datatypes.exp: New file.
16847
463bb957
SA
168482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16849
16850 * gdb.base/vla-ptr.c: New file.
16851 * gdb.base/vla-ptr.exp: New file.
16852
3dd170be
SA
168532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16854
16855 * gdb.dwarf2/count.exp: New file.
16856
5ecaaa66
SA
168572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16858
16859 * gdb.base/vla-sideeffect.c: New file.
16860 * gdb.base/vla-sideeffect.exp: New file.
16861
41f1ada5
DB
168622014-04-14 David Blaikie <dblaikie@gmail.com>
16863
16864 * gdb.mi/non-stop.c: Add return value for non-void function return
16865 statement.
16866 * gdb.threads/staticthreads.c: Ditto.
16867
0be03e84
DE
168682014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16869 Doug Evans <xdje42@gmail.com>
16870
16871 * gdb.guile/scm-value.c: Improve test case.
16872 * gdb.guile/scm-value.exp: Add new test.
16873
f180a1fb
DB
168742014-04-11 David Blaikie <dblaikie@gmail.com>
16875
16876 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16877 override Clang's default.
16878
6b662e19
JB
168792014-04-11 Joel Brobecker <brobecker@adacore.com>
16880
16881 Revert the following changes (regressions):
16882
16883 * gdb.base/vla-sideeffect.c: New file.
16884 * gdb.base/vla-sideeffect.exp: New file.
16885
16886 * gdb.dwarf2/count.exp: New file.
16887
16888 * gdb.base/vla-multi.c: New file.
16889 * gdb.base/vla-multi.exp: New file.
16890
16891 * gdb.base/vla-ptr.c: New file.
16892 * gdb.base/vla-ptr.exp: New file.
16893
16894 * gdb.base/vla-datatypes.c: New file.
16895 * gdb.base/vla-datatypes.exp: New file.
16896
16897 * gdb.mi/mi-vla-c99.exp: New file.
16898 * gdb.mi/vla.c: New file.
16899
245a5f0b
KS
169002014-04-11 Keith Seitz <keiths@redhat.com>
16901
16902 PR c++/16675
16903 * gdb.cp/cpsizeof.exp: New file.
16904 * gdb.cp/cpsizeof.cc: New file.
16905
58a84dcf
SA
169062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16907
191a8a90
JB
16908 * gdb.mi/mi-vla-c99.exp: New file.
16909 * gdb.mi/vla.c: New file.
58a84dcf 16910
c8655f75
SA
169112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16912
16913 * gdb.base/vla-datatypes.c: New file.
16914 * gdb.base/vla-datatypes.exp: New file.
16915
024e13b4
SA
169162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16917
16918 * gdb.base/vla-ptr.c: New file.
16919 * gdb.base/vla-ptr.exp: New file.
16920
1a237e0e
SA
169212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16922
16923 * gdb.base/vla-multi.c: New file.
16924 * gdb.base/vla-multi.exp: New file.
16925
504f3432
SA
169262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16927
16928 * gdb.dwarf2/count.exp: New file.
16929
3bce8237
SA
169302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16931
191a8a90
JB
16932 * gdb.base/vla-sideeffect.c: New file.
16933 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 16934
322f9c21
YQ
169352014-04-11 Yao Qi <yao@codesourcery.com>
16936
16937 * gdb.base/completion.exp: Check file exists before running tests
16938 on file completion.
16939
d708bcd1
PA
169402014-04-10 Pedro Alves <palves@redhat.com>
16941
16942 * gdb.base/cond-eval-mode.c: New file.
16943 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16944 prepare_for_testing to build the new file. Check result of
16945 runto_main.
16946 (test_break, test_watch): New procedures.
16947 (top level): Use them.
16948
ae1d2761
PM
169492014-04-08 Pierre Muller <muller@sourceware.org>
16950
16951 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16952 Ctrl-V use for mingw hosts.
16953
7af389b8
SC
169542014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16955
16956 * gdb.python/py-value.c: Improve test case.
16957 * gdb.python/py-value.exp: Add new test.
16958
5e703181
DE
169592014-04-07 David Blaikie <dblaikie@gmail.com>
16960
16961 * lib/compiler.c: Identify the clang compiler.
16962 * lib/compiler.cc: Ditto.
16963
9810b410
YQ
169642014-04-03 Yao Qi <yao@codesourcery.com>
16965
16966 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16967
98d1b8dc
AB
169682014-04-01 Anton Blanchard <anton@samba.org>
16969
16970 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16971 messages unique.
16972
3114cea1
AB
169732014-04-01 Anton Blanchard <anton@samba.org>
16974
16975 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16976 prepare_for_testing.
16977
62f7182c
AB
169782014-04-01 Anton Blanchard <anton@samba.org>
16979
16980 * gdb.arch/ppc64-atomic-inst.c: Remove.
16981 * gdb.arch/ppc64-atomic-inst.S: New file.
16982 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16983
770e7fc7
DE
169842014-03-31 Doug Evans <dje@google.com>
16985
16986 * gdb.base/print-symbol-loading-lib.c: New file.
16987 * gdb.base/print-symbol-loading-main.c: New file.
16988 * gdb.base/print-symbol-loading.exp: New file.
16989
46e2bafa
YQ
169902014-03-31 Yao Qi <yao@codesourcery.com>
16991
16992 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16993
8776cfe9
JB
169942014-03-28 Joel Brobecker <brobecker@adacore.com>
16995
16996 * gdb.ada/mi_dyn_arr: New testcase.
16997
5d1ef361
DE
169982014-03-27 Doug Evans <dje@google.com>
16999
17000 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17001
b5bee914
YQ
170022014-03-27 Yao Qi <yao@codesourcery.com>
17003
17004 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17005 if target is nios2-*-*.
17006
0d4d0e77
YQ
170072014-03-26 Yao Qi <yao@codesourcery.com>
17008
17009 * lib/gdb.exp (readline_is_used): New proc.
17010 * gdb.base/completion.exp: Move tests on command complete up.
17011 Skip the rest of tests if readline is not used.
17012 * gdb.ada/complete.exp: Skp the test if readline is not
17013 used.
17014 * gdb.base/filesym.exp: Likewise.
17015 * gdb.base/macscp.exp: Likewise.
17016 * gdb.base/readline-ask.exp: Likewise.
17017 * gdb.base/readline.exp: Likewise.
17018 * gdb.python/py-cmd.exp: Likewise.
17019 * gdb.trace/tfile.exp: Likewise.
17020
29361eee
YQ
170212014-03-26 Yao Qi <yao@codesourcery.com>
17022
17023 * gdb.base/macscp.exp: Fix code format issues.
17024
bc9a5525
UW
170252014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17026
17027 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17028 * gdb.asm/powerpc64le.inc: New file.
17029
d3839ede
PA
170302014-03-25 Pedro Alves <palves@redhat.com>
17031 Doug Evans <dje@google.com>
17032
17033 * gdb.base/source-execution.c: New file.
17034 * gdb.base/source-execution.exp: New file.
17035 * gdb.base/source-execution.gdb: New file.
17036
01672a57
DE
170372014-03-24 Doug Evans <dje@google.com>
17038
17039 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17040 using fission.
17041
88bbeca9
HZ
170422014-03-24 Hui Zhu <hui@codesourcery.com>
17043 Pedro Alves <palves@redhat.com>
17044
17045 PR breakpoints/16101
17046 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17047 test pass/fail messages. Detect missing support for dprintf when
17048 breakpoints are actually inserted.
17049 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17050 breakpoints are actually inserted.
17051 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17052 fails.
17053
d2348791
JK
170542014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17055
17056 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17057
feef67ab
DE
170582014-03-22 Doug Evans <xdje42@gmail.com>
17059
17060 * gdb.python/python.exp (python not supported): Verify multi-line
17061 python command issues an error.
25d743f9 17062 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 17063 guile command issues an error.
feef67ab 17064
ecebef6a
MR
170652014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17066
17067 * gdb.threads/thread-specific.exp: Handle the lack of usable
17068 $this_breakpoint and $this_thread.
17069
ccdd1909
HZ
170702014-03-21 Hui Zhu <hui@codesourcery.com>
17071
17072 * gdb.base/attach.exp (do_command_attach_tests): New.
17073
beb460e8
PA
170742014-03-20 Tom Tromey <tromey@redhat.com>
17075 Pedro Alves <palves@redhat.com>
17076
17077 PR cli/15718
17078 * gdb.base/condbreak-call-false.c: New file.
17079 * gdb.base/condbreak-call-false.exp: New file.
17080
40acf43a
PA
170812014-03-20 Pedro Alves <palves@redhat.com>
17082
17083 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17084 Delete.
17085 (block_signals, unblock_signals): Delete.
17086 (child_function_2, main): Remove references to deleted variable
17087 and functions.
17088
9f5e1e02
PA
170892014-03-20 Pedro Alves <palves@redhat.com>
17090
17091 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17092 Use pthread_kill to signal thread 2.
17093 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17094 Adjust to make the test send itself a signal rather than using the
17095 host's "kill" command.
17096
99619bea
PA
170972014-03-20 Pedro Alves <palves@redhat.com>
17098
17099 * gdb.threads/multiple-step-overs.c: New file.
17100 * gdb.threads/multiple-step-overs.exp: New file.
17101 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17102 Adjust expected infrun debug output.
17103
2adfaa28
PA
171042014-03-20 Pedro Alves <palves@redhat.com>
17105
17106 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17107 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17108
31e77af2
PA
171092014-03-20 Pedro Alves <palves@redhat.com>
17110
17111 PR breakpoints/7143
17112 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17113 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17114 of gdb_test_multiple.
17115 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17116 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17117
b9f437de
PA
171182014-03-20 Pedro Alves <palves@redhat.com>
17119
17120 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17121 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17122
05adc73e
PA
171232014-03-19 Pedro Alves <palves@redhat.com>
17124
17125 * gdb.base/async.exp: Remove early return.
17126
6048b950
PA
171272014-03-19 Pedro Alves <palves@redhat.com>
17128
17129 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17130
8bcfb00a
PA
171312014-03-19 Pedro Alves <palves@redhat.com>
17132
17133 * gdb.base/async.exp (test_background): Expect \r\n after
17134 "completed." in the fail pattern.
17135
884e37dc
PA
171362014-03-19 Pedro Alves <palves@redhat.com>
17137
17138 * gdb.base/async.exp (test_background): New procedure.
17139 Use it for all background execution command tests.
17140
148e57e2
PA
171412014-03-19 Pedro Alves <palves@redhat.com>
17142
17143 * gdb.base/async.exp: Use prepare_for_testing.
17144
f48088c7
PA
171452014-03-19 Pedro Alves <palves@redhat.com>
17146
17147 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17148 the same line.
17149
e2f6c966
PA
171502014-03-19 Pedro Alves <palves@redhat.com>
17151
17152 * gdb.base/async.c (main): Add "jump here" and "until here" line
17153 marker comments.
17154 * gdb.base/async.exp (jump_here): New global.
17155 (jump& test): Use it.
17156 (until_here): New global.
17157 (until& test): Use it.
17158
c30568d4
PA
171592014-03-19 Pedro Alves <palves@redhat.com>
17160
17161 * gdb.base/async.exp: Don't frob gdb_protocol.
17162
0172b6a7
DE
171632014-03-18 Doug Evans <xdje42@gmail.com>
17164
17165 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17166 Fix spelling of exec-done-display.
17167
06c868a8
JK
171682014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17169
17170 PR gdb/15358
17171 * gdb.base/gdb-sigterm.c: New file.
17172 * gdb.base/gdb-sigterm.exp: New file.
17173
0c7e1a46
PA
171742014-03-18 Pedro Alves <palves@redhat.com>
17175
17176 PR gdb/13860
17177 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17178 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17179 solib-event.
17180
f7c77d93
JB
171812014-03-17 Joel Brobecker <brobecker@adacore.com>
17182
17183 * gdb.ada/pckd_arr_ren: New testcase.
17184
5a1e8c7a
DE
171852014-03-13 Doug Evans <xdje42@gmail.com>
17186
17187 PR guile/16612
17188 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17189 collect after discarding symbols.
17190
350e1a76
DE
171912014-03-13 Ludovic Courtès <ludo@gnu.org>
17192 Doug Evans <xdje42@gmail.com>
17193
17194 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17195 to history survives a gc.
17196
a69900ae
PA
171972014-03-13 Pedro Alves <palves@redhat.com>
17198
17199 * gdb.base/default.exp: Don't test "target procfs".
17200
5db9f0bd
PA
172012014-03-13 Pedro Alves <palves@redhat.com>
17202
17203 * gdb.base/default.exp: Update "target child" and "target procfs"
17204 tests to not expect "Unix".
17205
b3ccfe11
TT
172062014-03-12 Tom Tromey <tromey@redhat.com>
17207
17208 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17209 New procs. Add target-async tests.
17210 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17211 Add target-async tests.
17212
646f4417
AA
172132014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17214
17215 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17216 'func_start' and 'func_end' for the beginning and end of the
17217 function code, respectively.
17218 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17219 'func_end' instead of 'func' and 'main'.
17220
288c211f
AA
172212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17222
17223 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17224 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17225 generate the debug info assembler source.
17226
e0c0f156
AA
172272014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17228
17229 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17230 * gdb.dwarf2/arr-subrange.exp: Likewise.
17231 * gdb.dwarf2/dwz.exp: Likewise.
17232 * gdb.dwarf2/method-ptr.exp: Likewise.
17233 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17234 * gdb.dwarf2/subrange.exp: Likewise.
17235 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17236 * gdb.dwarf2/implptrpiece.exp: Likewise.
17237 * gdb.dwarf2/nostaticblock.exp: Likewise.
17238
0e5c4555
AA
172392014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17240
17241 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17242 directory to absolute path name arguments.
17243
5ec18f2b
JG
172442014-03-10 Joel Brobecker <brobecker@adacore.com>
17245
17246 * gdb.ada/tagged_access: New testcase.
17247
847fc4f2
MM
172482014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17249
17250 * gdb.btrace/data.exp: Update expected output.
17251
cc3da688
YQ
172522014-03-06 Yao Qi <yao@codesourcery.com>
17253
17254 * gdb.trace/pr16508.exp: New file.
17255
0f26cec1
PA
172562014-03-05 Pedro Alves <palves@redhat.com>
17257
17258 PR gdb/16575
17259 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17260 procedure.
17261 (top level): Adjust to use it. Add tests that exercise breakpoint
17262 interaction with the code-cache.
17263
7a5a839f
LC
172642014-02-26 Ludovic Courtès <ludo@gnu.org>
17265
17266 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17267 test for 'history-append!'.
17268
31aa7e4e
JB
172692014-02-26 Joel Brobecker <brobecker@adacore.com>
17270
17271 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17272 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17273 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17274 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17275 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17276 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17277
1b588015
JB
172782014-02-26 Joel Brobecker <brobecker@adacore.com>
17279
17280 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17281 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17282 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17283
55426c9d
JB
172842014-02-26 Joel Brobecker <brobecker@adacore.com>
17285
17286 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17287
dc53a7ad
JB
172882014-02-26 Joel Brobecker <brobecker@adacore.com>
17289
17290 * gdb.dwarf2/arr-stride.c: New file.
17291 * gdb.dwarf2/arr-stride.exp: New file.
17292
12ab52e9
PA
172932014-02-26 Pedro Alves <palves@redhat.com>
17294
17295 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17296 that won't ever trigger. Make sure that GDB reports the correct
17297 breakpoint that caused the stop.
17298
849c862e
JK
172992014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17300
17301 PR gdb/16626
17302 * gdb.base/auto-load-script: New file.
17303 * gdb.base/auto-load.c: New file.
17304 * gdb.base/auto-load.exp: New file.
17305
71b7d793
JK
17306 PR gdb/16626
17307 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17308
e2f0d509
JK
173092014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17310
17311 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17312 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17313
50cc37c8
DE
173142014-02-24 Doug Evans <dje@google.com>
17315
17316 * lib/gdb.exp (run_on_host): Log error output if program fails.
17317
ea4758f2
PA
173182014-02-21 Pedro Alves <palves@redhat.com>
17319
17320 * gdb.threads/step-after-sr-lock.c: Rename to ...
17321 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17322 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17323 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17324 ... this.
17325
d7b30f67
SDJ
173262014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17327
17328 PR tdep/16397
17329 * gdb.arch/amd64-stap-special-operands.exp: New file.
17330 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17331 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17332 * gdb.arch/amd64-stap-triplet.S: Likewise.
17333 * gdb.arch/amd64-stap-triplet.c: Likewise.
17334
83deb43f
JB
173352014-02-20 Joel Brobecker <brobecker@adacore.com>
17336
17337 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17338 in .section pseudo-op.
17339
adde2bff
DE
173402014-02-20 lin zuojian <manjian2006@gmail.com>
17341 Joel Brobecker <brobecker@adacore.com>
17342 Doug Evans <xdje42@gmail.com>
17343
17344 PR symtab/16581
17345 * gdb.dwarf2/dw2-icycle.S: New file.
17346 * gdb.dwarf2/dw2-icycle.c: New file.
17347 * gdb.dwarf2/dw2-icycle.exp: New file.
17348
f7bd0f78
SC
173492014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17350
17351 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17352 operations on gdb.Value objects.
17353 * gdb.python/py-value-cc.exp: Add new test to test operations on
17354 gdb.Value objects.
17355
c17ef0d5
DE
173562014-02-18 Doug Evans <dje@google.com>
17357
17358 * Makefile.in (TESTS): New variable.
17359 (expanded_tests, expanded_tests_or_none): New variables
17360 (check-single): Pass $(expanded_tests_or_none) to runtest.
17361 (check-parallel): Only run tests in $(TESTS) if non-empty.
17362 (check/no-matching-tests-found): New rule.
17363 * README: Document TESTS makefile variable.
17364
5dd3176f
DE
173652014-02-18 Doug Evans <dje@google.com>
17366
17367 * Makefile.in (check-parallel): rm -rf outputs temp.
17368
0b10be4f
JK
173692014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17370
17371 Fix "ERROR: no fileid for" in the testsuite.
17372 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17373
85f224e7
DE
173742014-02-12 Doug Evans <dje@google.com>
17375
17376 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17377 (MISCELLANEOUS): New variable.
17378 (clean): rm -rf $(MISCELLANEOUS).
17379 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17380 dwp live in the same directory as symlinks, with each symlink pointed
17381 to a differently named file in a different directory.
17382
149b30ff
DE
173832014-02-11 Doug Evans <dje@google.com>
17384
17385 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17386 of Tcl file commands.
17387
1dfdac32
MK
173882014-02-10 Mark Kettenis <kettenis@gnu.org>
17389
17390 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17391 "kill -SIGUSR1 -1".
17392
aa4fb036
JB
173932014-02-10 Joel Brobecker <brobecker@adacore.com>
17394
17395 * gdb.ada/tick_length_array_enum_idx: New testcase.
17396
ed3ef339
DE
173972014-02-10 Doug Evans <xdje42@gmail.com>
17398
17399 * configure.ac (AC_OUTPUT): Add gdb.guile.
17400 * configure: Regenerate.
17401 * lib/gdb-guile.exp: New file.
17402 * lib/gdb.exp (get_target_charset): New function.
17403 * gdb.base/help.exp: Update expected output from "apropos apropos".
17404 * gdb.guile/Makefile.in: New file.
17405 * gdb.guile/guile.exp: New file.
17406 * gdb.guile/scm-arch.c: New file.
17407 * gdb.guile/scm-arch.exp: New file.
17408 * gdb.guile/scm-block.c: New file.
17409 * gdb.guile/scm-block.exp: New file.
17410 * gdb.guile/scm-breakpoint.c: New file.
17411 * gdb.guile/scm-breakpoint.exp: New file.
17412 * gdb.guile/scm-disasm.c: New file.
17413 * gdb.guile/scm-disasm.exp: New file.
17414 * gdb.guile/scm-equal.c: New file.
17415 * gdb.guile/scm-equal.exp: New file.
17416 * gdb.guile/scm-error.exp: New file.
17417 * gdb.guile/scm-error.scm: New file.
17418 * gdb.guile/scm-frame-args.c: New file.
17419 * gdb.guile/scm-frame-args.exp: New file.
17420 * gdb.guile/scm-frame-args.scm: New file.
17421 * gdb.guile/scm-frame-inline.c: New file.
17422 * gdb.guile/scm-frame-inline.exp: New file.
17423 * gdb.guile/scm-frame.c: New file.
17424 * gdb.guile/scm-frame.exp: New file.
17425 * gdb.guile/scm-generics.exp: New file.
17426 * gdb.guile/scm-gsmob.exp: New file.
17427 * gdb.guile/scm-iterator.c: New file.
17428 * gdb.guile/scm-iterator.exp: New file.
17429 * gdb.guile/scm-math.c: New file.
17430 * gdb.guile/scm-math.exp: New file.
17431 * gdb.guile/scm-objfile-script-gdb.in: New file.
17432 * gdb.guile/scm-objfile-script.c: New file.
17433 * gdb.guile/scm-objfile-script.exp: New file.
17434 * gdb.guile/scm-objfile.c: New file.
17435 * gdb.guile/scm-objfile.exp: New file.
17436 * gdb.guile/scm-ports.exp: New file.
17437 * gdb.guile/scm-pretty-print.c: New file.
17438 * gdb.guile/scm-pretty-print.exp: New file.
17439 * gdb.guile/scm-pretty-print.scm: New file.
17440 * gdb.guile/scm-section-script.c: New file.
17441 * gdb.guile/scm-section-script.exp: New file.
17442 * gdb.guile/scm-section-script.scm: New file.
17443 * gdb.guile/scm-symbol.c: New file.
17444 * gdb.guile/scm-symbol.exp: New file.
17445 * gdb.guile/scm-symtab-2.c: New file.
17446 * gdb.guile/scm-symtab.c: New file.
17447 * gdb.guile/scm-symtab.exp: New file.
17448 * gdb.guile/scm-type.c: New file.
17449 * gdb.guile/scm-type.exp: New file.
17450 * gdb.guile/scm-value-cc.cc: New file.
17451 * gdb.guile/scm-value-cc.exp: New file.
17452 * gdb.guile/scm-value.c: New file.
17453 * gdb.guile/scm-value.exp: New file.
17454 * gdb.guile/source2.scm: New file.
17455 * gdb.guile/types-module.cc: New file.
17456 * gdb.guile/types-module.exp: New file.
17457
7026a7c1
YQ
174582014-02-10 Yao Qi <yao@codesourcery.com>
17459
17460 PR testsuite/16543
17461 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17462 * configure: Regenerated.
17463 * Makefile.in: New file.
17464
6c466447
AS
174652014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17466
17467 * gdb.python/py-framefilter.exp: Fix typo.
17468
6e854735
YQ
174692014-02-08 Yao Qi <yao@codesourcery.com>
17470
17471 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17472 that no =breakpoint-modified is emitted when breakpoints are
17473 modified through MI commands.
17474
d137e6dc
PA
174752014-02-07 Pedro Alves <pedro@codesourcery.com>
17476 Pedro Alves <palves@redhat.com>
17477
17478 * gdb.threads/step-after-sr-lock.c: New file.
17479 * gdb.threads/step-after-sr-lock.exp: New file.
17480
b5ee5a50
PA
174812014-02-07 Pedro Alves <palves@redhat.com>
17482
17483 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17484
3c77faf3
JK
174852014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17486
17487 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17488 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17489
6dddc817
DE
174902014-02-06 Doug Evans <xdje42@gmail.com>
17491
17492 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17493 output.
17494
17495 * gdb.gdb/python-interrupts.exp: New file.
17496
de7b2893
YQ
174972014-02-05 Yao Qi <yao@codesourcery.com>
17498
17499 * gdb.trace/report.exp (use_collected_data): Test the output
17500 of "info threads" and "info inferiors".
17501
66d032ac
YQ
175022014-02-05 Yao Qi <yao@codesourcery.com>
17503
17504 Revert this patch:
17505
17506 2013-05-24 Yao Qi <yao@codesourcery.com>
17507
17508 * gdb.trace/tfile.exp: Test inferior and thread.
17509
591a12a1
UW
175102014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17511
17512 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17513 on a function.
17514 * gdb.base/step-bt.c: Call hello via function pointer to make
17515 sure its first instruction is executed on powerpc64le-linux.
17516
0ff3e01f
UW
175172014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17518
17519 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17520
084ee545
UW
175212014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17522
17523 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17524 of the test patterns for use on little-endian systems.
17525
6ed14ff3
UW
175262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17527
17528 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17529 (decimal_vector): Fix for little-endian.
17530
401e27fd
JM
175312014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17532
17533 * gdb.arch/sparc-sysstep.exp: New file.
17534 * gdb.arch/sparc-sysstep.c: Likewise.
17535
17536 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17537
8b924729
EBM
175382014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17539
17540 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17541
fb151210
JB
175422014-01-23 Tom Tromey <tromey@redhat.com>
17543
17544 * gdb.ada/array_char_idx: New testcase.
17545
0740f8d8
TT
175462014-01-23 Tom Tromey <tromey@redhat.com>
17547
17548 PR python/16487:
17549 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17550 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17551 classes.
17552
21909fa1
TT
175532014-01-23 Tom Tromey <tromey@redhat.com>
17554
17555 PR python/16491:
17556 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17557 string from an inferior frame.
17558 * gdb.python/py-framefilter-mi.exp: Update.
17559
87ce2a04
DE
175602014-01-22 Doug Evans <dje@google.com>
17561
17562 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17563
237b092b
AA
175642014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17565
17566 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17567
d674a709
AA
175682014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17569
17570 * gdb.trace/entry-values.exp: Remove excess space character from
17571 regex patterns. Handle s390 call instruction.
17572
20fa3390
AA
175732014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17574
17575 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17576 define "*_start" label. Make "name" static.
17577 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17578 ${name} by references to ${name}_start.
17579
78466714
AA
175802014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17581
17582 * gdb.base/info-macros.exp: Remove "debug" from the compile
17583 options.
17584
ec9f644a
IB
175852014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17586
17587 * gdb.dlang/demangle.exp: New file.
17588
94b1b47e
IB
175892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17590
17591 * gdb.dlang/primitive-types.exp: New file.
17592
7f420862
IB
175932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17594
17595 * configure.ac: Create gdb.dlang/Makefile.
17596 * configure: Regenerate.
17597 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17598 * gdb.dlang/Makefile.in: New file.
17599 * lib/d-support.exp: New file.
17600 * lib/gdb.exp (skip_d_tests): New proc.
17601
52834460
MM
176022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17603
17604 * gdb.btrace/delta.exp: Check reverse stepi.
17605 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17606 * gdb.btrace/finish.exp: New.
17607 * gdb.btrace/next.exp: New.
17608 * gdb.btrace/nexti.exp: New.
17609 * gdb.btrace/record_goto.c: Add comments.
17610 * gdb.btrace/step.exp: New.
17611 * gdb.btrace/stepi.exp: New.
17612 * gdb.btrace/multi-thread-step.c: New.
17613 * gdb.btrace/multi-thread-step.exp: New.
17614 * gdb.btrace/rn-dl-bind.c: New.
17615 * gdb.btrace/rn-dl-bind.exp: New.
17616 * gdb.btrace/data.c: New.
17617 * gdb.btrace/data.exp: New.
17618 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17619
6e07b1d2
MM
176202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17621
17622 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17623 * gdb.btrace/exception.exp: Update.
17624 * gdb.btrace/instruction_history.exp: Update.
17625 * gdb.btrace/record_goto.exp: Update.
17626 * gdb.btrace/tailcall.exp: Update.
17627 * gdb.btrace/unknown_functions.exp: Update.
17628 * gdb.btrace/delta.exp: New.
17629
0b722aec
MM
176302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17631
17632 * gdb.btrace/record_goto.exp: Add backtrace test.
17633 * gdb.btrace/tailcall.exp: Add backtrace test.
17634
066ce621
MM
176352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17636
17637 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17638 * gdb.btrace/record_goto.c: New.
17639 * gdb.btrace/record_goto.exp: New.
17640 * gdb.btrace/x86-record_goto.S: New.
17641
0688d04e
MM
176422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17643
17644 * gdb.btrace/function_call_history.exp: Update tests.
17645 * gdb.btrace/instruction_history.exp: Update tests.
17646
8710b709
MM
176472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17648
17649 * gdb.btrace/function_call_history.exp: Fix expected field
17650 order for "record function-call-history".
17651 Add new tests for "record function-call-history /c".
17652 * gdb.btrace/exception.cc: New.
17653 * gdb.btrace/exception.exp: New.
17654 * gdb.btrace/tailcall.exp: New.
17655 * gdb.btrace/x86-tailcall.S: New.
17656 * gdb.btrace/x86-tailcall.c: New.
17657 * gdb.btrace/unknown_functions.c: New.
17658 * gdb.btrace/unknown_functions.exp: New.
17659 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17660
5de9129b
MM
176612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17662
17663 * gdb.btrace/instruction_history.exp: Update.
17664 * gdb.btrace/function_call_history.exp: Update.
17665
23a7fe75
MM
176662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17667
17668 * gdb.btrace/function_call_history.exp: Fix expected function
17669 trace.
17670 * gdb.btrace/instruction_history.exp: Initialize traced.
17671 Remove traced_functions.
17672
724c7dd8
MM
176732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17674
17675 * gdb.btrace/function_call_history.exp: Update
17676 * gdb.btrace/instruction_history.exp: Update.
17677
6d78d93b
MM
176782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17679
17680 * gdb.btrace/enable.exp: Update expected text.
17681
93a360cc
OJ
176822014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17683
17684 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17685 bytes.
17686
3772b53f
MR
176872014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17688
17689 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17690
596662fa
OJ
176912014-01-15 Omair Javaid <omair.javaid@linaro.org>
17692
17693 * lib/gdb.exp (supports_process_record): Return true for
17694 arm*-linux*. (supports_reverse): Likewise.
17695
b5b08fb4
SC
176962014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17697
17698 PR python/15464
17699 PR python/16113
17700 * gdb.python/py-type.c: Enhance test case.
17701 * gdb.python/py-value-cc.cc: Likewise
17702 * gdb.python/py-type.exp: Add new tests.
17703 * gdb.python/py-value-cc.exp: Likewise
17704
52d7fb13
AA
177052014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17706 Pedro Alves <palves@redhat.com>
17707
17708 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17709 Make "name" extern.
17710 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17711 references to ${name}_start by references to ${name}.
17712
a2cd8cfe
JB
177132014-01-10 Joel Brobecker <brobecker@adacore.com>
17714
17715 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17716
4e23fced
JB
177172014-01-10 Joel Brobecker <brobecker@adacore.com>
17718
17719 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17720
c6a9e42c
PA
177212014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17722 Pedro Alves <palves@redhat.com>
17723
17724 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 17725 mi_gdb_target_load.
c6a9e42c 17726
b7ea362b
PA
177272014-01-08 Pedro Alves <palves@redhat.com>
17728
17729 * gdb.threads/reconnect-signal.c: New file.
17730 * gdb.threads/reconnect-signal.exp: New file.
17731
5e3f4fab
EBM
177322014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17733
17734 * gdb.base/source-dir.exp: New file.
17735
79301218
JB
177362014-01-07 Joel Brobecker <brobecker@adacore.com>
17737
17738 * gdb.ada/mi_interface: New testcase.
17739
8e355c5d
JB
177402014-01-07 Joel Brobecker <brobecker@adacore.com>
17741
17742 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17743 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17744 gdb.ada/pp-rec-component/pck.ads: New files.
17745
c0d48811
JB
177462014-01-07 Joel Brobecker <brobecker@adacore.com>
17747
17748 * gdb.python/py-pp-integral.c: New file.
17749 * gdb.python/py-pp-integral.py: New file.
17750 * gdb.python/py-pp-integral.exp: New file.
17751
17b609c3 17752For older changes see ChangeLog-1993-2013.
c906108c 17753\f
8d8cb839
EZ
17754;; Local Variables:
17755;; mode: change-log
17756;; left-margin: 8
17757;; fill-column: 74
17758;; version-control: never
17759;; End:
902f2ccb 17760
42a4f53d 17761 Copyright 2014-2019 Free Software Foundation, Inc.
902f2ccb
MC
17762 Copying and distribution of this file, with or without modification,
17763 are permitted provided the copyright notice and this notice are preserved.
This page took 3.630518 seconds and 4 git commands to generate.