gdb: Dynamic string length support
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4
5 2019-12-01 Richard Bunt <richard.bunt@arm.com>
6 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * gdb.fortran/derived-type-striding.exp: New file.
9 * gdb.fortran/derived-type-striding.f90: New file.
10 * gdb.fortran/array-slices.exp: New file.
11 * gdb.fortran/array-slices.f90: New file.
12
13 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14
15 * gdb.base/define.exp: Test . in command names.
16 * gdb.base/setshow.exp: Update test, as . is now part of
17 command name.
18
19 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
20
21 * gdb.base/define-prefix.exp: New file.
22
23 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
24
25 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
26 compile.
27 (skip_btrace_pt_tests): Likewise.
28
29 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
30
31 * gdb.fortran/info-modules.exp: Compile source files in correct
32 order.
33
34 2019-11-27 Kevin Buettner <kevinb@redhat.com>
35
36 * gdb.dwarf2/imported-unit.exp: New file.
37 * gdb.dwarf2/imported-unit.c: New file.
38
39 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
40
41 * gdb.mi/mi-fortran-modules-2.f90: New file.
42 * gdb.mi/mi-fortran-modules.exp: New file.
43 * gdb.mi/mi-fortran-modules.f90: New file.
44
45 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
46
47 * gdb.mi/mi-sym-info-1.c: New file.
48 * gdb.mi/mi-sym-info-2.c: New file.
49 * gdb.mi/mi-sym-info.exp: New file.
50
51 2019-11-22 Tom Tromey <tromey@adacore.com>
52
53 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
54 * gdb.ada/tasks/foo.adb: Add another stopping location.
55
56 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
57
58 * gdb.base/endianity.c: New test.
59 * gdb.base/endianity.exp: New file.
60
61 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
62
63 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
64
65 2019-11-21 Tom de Vries <tdevries@suse.de>
66
67 PR gdb/24956
68 * gdb.base/ui-redirect.exp: Test output of user-defined command.
69
70 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
71
72 * gdb.python/py-progspace.exp: Add missing parentheses on some
73 'print' commands.
74
75 2019-11-19 Tom Tromey <tom@tromey.com>
76
77 * gdb.tui/winheight.exp: New file.
78
79 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
80
81 * gdb.base/ctf-whatis.c: Delete.
82 * gdb.base/ctf-whatis.exp: Delete.
83 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
84
85 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
86
87 * gdb.base/ctf-cvexpr.exp: Delete.
88 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
89
90 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
91
92 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
93 the compiler. Clean up header comment a little.
94 * gdb.base/ctf-ptype.exp: Likewise.
95 * gdb.base/ctf-whatis.exp: Likewise.
96 * lib/gdb.exp (skip_ctf_tests): New proc.
97
98 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
99
100 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
101 * gdb.tui/corefile-run.exp: New file.
102
103 2019-11-14 Tom Tromey <tromey@adacore.com>
104
105 * gdb.base/gdbvars.exp (test_convenience_variables): Add
106 regression tests.
107
108 2019-11-12 Tom Tromey <tom@tromey.com>
109
110 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
111 after any command. Expect prompt after WAIT_FOR is seen.
112 (enter_tui): Enable resize messages.
113 (command): Expect command in output.
114 (get_line): Avoid error when cursor appears to be off-screen.
115 (dump_screen): Include screen size in title.
116 (_do_resize): New proc, from "resize".
117 (resize): Rewrite. Do resize in two steps.
118 * gdb.tui/empty.exp (layouts): Fix entries.
119 (check_boxes): Remove xfail.
120 (check_text): Dump screen on failure.
121
122 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
123
124 * gdb.python/py-symbol.exp: Add test for
125 gdb.lookup_static_symbols.
126
127 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
128
129 * gdb.python/py-symbol.c: Declare and call function from new
130 py-symbol-2.c file.
131 * gdb.python/py-symbol.exp: Compile both source files, and add new
132 tests for gdb.lookup_static_symbol.
133 * gdb.python/py-symbol-2.c: New file.
134
135 2019-11-02 Tom de Vries <tdevries@suse.de>
136
137 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
138 * gdb.base/anon.exp: Same.
139 * gdb.base/auto-connect-native-target.exp: Same.
140 * gdb.base/call-ar-st.exp: Same.
141 * gdb.base/catch-syscall.exp: Same.
142 * gdb.base/commands.exp: Same.
143 * gdb.base/default.exp: Same.
144 * gdb.base/display.exp: Same.
145 * gdb.base/float.exp: Same.
146 * gdb.base/foll-fork.exp: Same.
147 * gdb.base/help.exp: Same.
148 * gdb.base/info-macros.exp: Same.
149 * gdb.base/info-proc.exp: Same.
150 * gdb.base/info-target.exp: Same.
151 * gdb.base/long_long.exp: Same.
152 * gdb.base/macscp.exp: Same.
153 * gdb.base/memattr.exp: Same.
154 * gdb.base/nofield.exp: Same.
155 * gdb.base/pointers.exp: Same.
156 * gdb.base/printcmds.exp: Same.
157 * gdb.base/ptype.exp: Same.
158 * gdb.base/restore.exp: Same.
159 * gdb.base/return.exp: Same.
160 * gdb.base/scope.exp: Same.
161 * gdb.base/set-noassign.exp: Same.
162 * gdb.base/setshow.exp: Same.
163 * gdb.base/shlib-call.exp: Same.
164 * gdb.base/signals.exp: Same.
165 * gdb.base/sigstep.exp: Same.
166 * gdb.base/skip.exp: Same.
167 * gdb.base/solib-symbol.exp: Same.
168 * gdb.base/stap-probe.exp: Same.
169 * gdb.base/step-line.exp: Same.
170 * gdb.base/step-test.exp: Same.
171 * gdb.base/style.exp: Same.
172 * gdb.base/varargs.exp: Same.
173 * gdb.base/vla-datatypes.exp: Same.
174 * gdb.base/vla-ptr.exp: Same.
175 * gdb.base/vla-sideeffect.exp: Same.
176 * gdb.base/volatile.exp: Same.
177 * gdb.base/watch-cond-infcall.exp: Same.
178 * gdb.base/watchpoint.exp: Same.
179
180 2019-11-02 Tom de Vries <tdevries@suse.de>
181
182 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
183 * gdb.cp/cpexprs.exp: Same.
184 * gdb.cp/except-multi-location.exp: Same.
185 * gdb.cp/exceptprint.exp: Same.
186 * gdb.cp/gdb2384.exp: Same.
187 * gdb.cp/inherit.exp: Same.
188 * gdb.cp/m-static.exp: Same.
189 * gdb.cp/meth-typedefs.exp: Same.
190 * gdb.cp/misc.exp: Same.
191 * gdb.cp/namespace.exp: Same.
192 * gdb.cp/non-trivial-retval.exp: Same.
193 * gdb.cp/overload.exp: Same.
194 * gdb.cp/pr17132.exp: Same.
195 * gdb.cp/re-set-overloaded.exp: Same.
196 * gdb.cp/rvalue-ref-types.exp: Same.
197 * gdb.cp/templates.exp: Same.
198
199 2019-11-01 Luis Machado <luis.machado@linaro.org>
200
201 PR gdb/25124
202
203 * gdb.arch/pr25124.S: New file.
204 * gdb.arch/pr25124.exp: New file.
205
206 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
207
208 * gdb.fortran/info-modules.exp: Update expected results, and add
209 additional tests for 'info module functinos', and 'info module
210 variables'.
211 * gdb.fortran/info-types.exp: Update expected results.
212 * gdb.fortran/info-types.f90: Extend testcase with additional
213 module variables and functions.
214
215 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
216
217 * gdb.fortran/info-modules.exp: New file.
218 * gdb.fortran/info-types.exp: Build with new file.
219 * gdb.fortran/info-types.f90: Include and use new module.
220 * gdb.fortran/info-types-2.f90: New file.
221
222 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
223
224 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
225 * gdb.base/settings.exp: Test all settings types using
226 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
227 that now verifies that the value of "maint show" is the same as
228 returned by the settings functions. Test the type of the
229 maintenance settings.
230 * gdb.base/default.exp: Update show_conv_list.
231
232 2019-10-31 Tom de Vries <tdevries@suse.de>
233
234 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
235 gdb_test.
236 * gdb.arch/amd64-disp-step.exp: Same.
237 * gdb.asm/asm-source.exp: Same.
238 * gdb.btrace/buffer-size.exp: Same.
239 * gdb.btrace/cpu.exp: Same.
240 * gdb.btrace/enable.exp: Same.
241 * gdb.dwarf2/count.exp: Same.
242 * gdb.dwarf2/dw2-ranges-func.exp: Same.
243 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
244 * gdb.fortran/vla-datatypes.exp: Same.
245 * gdb.fortran/vla-history.exp: Same.
246 * gdb.fortran/vla-ptype.exp: Same.
247 * gdb.fortran/vla-value.exp: Same.
248 * gdb.fortran/whatis_type.exp: Same.
249 * gdb.guile/guile.exp: Same.
250 * gdb.multi/tids.exp: Same.
251 * gdb.python/py-finish-breakpoint.exp: Same.
252 * gdb.python/py-framefilter.exp: Same.
253 * gdb.python/py-pp-registration.exp: Same.
254 * gdb.python/py-xmethods.exp: Same.
255 * gdb.python/python.exp: Same.
256 * gdb.server/connect-with-no-symbol-file.exp: Same.
257 * gdb.server/no-thread-db.exp: Same.
258 * gdb.server/run-without-local-binary.exp: Same.
259 * gdb.stabs/weird.exp: Same.
260 * gdb.threads/attach-many-short-lived-threads.exp: Same.
261 * gdb.threads/thread-find.exp: Same.
262 * gdb.threads/tls-shared.exp: Same.
263 * gdb.threads/tls.exp: Same.
264 * gdb.threads/wp-replication.exp: Same.
265 * gdb.trace/ax.exp: Same.
266 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
267
268 2019-10-31 Tom de Vries <tdevries@suse.de>
269
270 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
271 * gdb.ada/array_subscript_addr.exp: Same.
272 * gdb.ada/arrayidx.exp: Same.
273 * gdb.ada/arrayparam.exp: Same.
274 * gdb.ada/arrayptr.exp: Same.
275 * gdb.ada/boolean_expr.exp: Same.
276 * gdb.ada/call_pn.exp: Same.
277 * gdb.ada/complete.exp: Same.
278 * gdb.ada/fixed_cmp.exp: Same.
279 * gdb.ada/fun_addr.exp: Same.
280 * gdb.ada/funcall_param.exp: Same.
281 * gdb.ada/interface.exp: Same.
282 * gdb.ada/mod_from_name.exp: Same.
283 * gdb.ada/null_array.exp: Same.
284 * gdb.ada/packed_array.exp: Same.
285 * gdb.ada/packed_tagged.exp: Same.
286 * gdb.ada/print_chars.exp: Same.
287 * gdb.ada/print_pc.exp: Same.
288 * gdb.ada/ptype_arith_binop.exp: Same.
289 * gdb.ada/ptype_field.exp: Same.
290 * gdb.ada/ptype_tagged_param.exp: Same.
291 * gdb.ada/rec_return.exp: Same.
292 * gdb.ada/ref_tick_size.exp: Same.
293 * gdb.ada/str_ref_cmp.exp: Same.
294 * gdb.ada/taft_type.exp: Same.
295 * gdb.ada/tagged.exp: Same.
296 * gdb.ada/type_coercion.exp: Same.
297 * gdb.ada/uninitialized_vars.exp: Same.
298
299 2019-10-30 Tom de Vries <tdevries@suse.de>
300
301 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
302
303 2019-10-26 Tom de Vries <tdevries@suse.de>
304
305 * gdb.base/bigcore.c: Fix typos in comments.
306 * gdb.base/ctf-ptype.c: Same.
307 * gdb.base/long_long.c: Same.
308 * gdb.dwarf2/dw2-op-out-param.S: Same.
309 * gdb.python/py-evthreads.c: Same.
310 * gdb.reverse/i387-stack-reverse.c: Same.
311 * gdb.trace/tfile.c: Same.
312 * lib/compiler.c: Same.
313 * lib/compiler.cc: Same.
314
315 2019-10-25 Tom de Vries <tdevries@suse.de>
316
317 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
318 gdb_test_multiple calls.
319 * gdb.reverse/sigall-reverse.exp: Same.
320 * gdb.reverse/solib-precsave.exp: Same.
321 * gdb.reverse/solib-reverse.exp: Same.
322 * gdb.reverse/until-precsave.exp: Same.
323 * gdb.reverse/until-reverse.exp: Same.
324
325 2019-10-24 Tom de Vries <tdevries@suse.de>
326
327 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
328 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
329 kfail using -wrap pattern flag and convenience variable
330 gdb_test_name.
331
332 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
333
334 * gdb.python/py-progspace.exp: Add tests for the
335 Progspace.block_for_pc method.
336
337 2019-10-23 Tom Tromey <tom@tromey.com>
338
339 * configure: Rebuild.
340 * aclocal.m4: Use m4_include, not sinclude.
341
342 2019-10-21 Tom de Vries <tdevries@suse.de>
343
344 * gdb.base/infcall-nested-structs.c: Add
345 __attribute__((noinline,noclone)) to all functions.
346 (call_all): Add missing variable initialization. Simplify return value.
347 (breakpt): Increment volatile variable, to prevent call from being
348 optimized out.
349 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
350
351 2019-10-17 Tom de Vries <tdevries@suse.de>
352
353 * gdb.fortran/module.exp: Allow info variables to print info for files
354 other than module.f90.
355
356 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
357
358 * gdb.fortran/module.exp: Extend with 'info variables' test.
359
360 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
361
362 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
363 F77_FOR_TARGET.
364
365 2019-10-16 Tom de Vries <tdevries@suse.de>
366
367 PR tdep/25096
368 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
369
370 2019-10-16 Tom de Vries <tdevries@suse.de>
371
372 PR tdep/24104
373 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
374 Add KFAIL for PR tdep/25096.
375
376 2019-10-16 Tom de Vries <tdevries@suse.de>
377
378 PR testsuite/25059
379 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
380
381 2019-10-16 Tom de Vries <tdevries@suse.de>
382
383 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
384 as signed.
385
386 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
387
388 * gdb.mi/list-thread-groups-available.exp: Read entries one by
389 one instead of increasing timeout.
390
391 2019-10-13 Tom de Vries <tdevries@suse.de>
392
393 PR record/25038
394 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
395 * gdb.reverse/sigall-reverse.exp: Same.
396 * gdb.reverse/solib-precsave.exp: Same.
397 * gdb.reverse/solib-reverse.exp: Same.
398 * gdb.reverse/step-precsave.exp: Same.
399 * gdb.reverse/until-precsave.exp: Same.
400 * gdb.reverse/until-reverse.exp: Same.
401 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
402
403 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
404
405 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
406 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
407 (cmp_struct_05_01, cmp_struct_static_02_01)
408 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
409 comparisons.
410
411 2019-10-10 Tom de Vries <tdevries@suse.de>
412
413 PR testsuite/24888
414 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
415 gnatlink.
416
417 2019-10-09 Tom de Vries <tdevries@suse.de>
418
419 PR testsuite/25048
420 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
421
422 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
423
424 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
425 exceptions due to missing debug information.
426
427 2019-10-07 Tom de Vries <tdevries@suse.de>
428
429 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
430
431 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
434 * gdb.base/annota1.exp: Update to use gdb_test_name.
435
436 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
437
438 * gdb.base/ctf-whatis.exp: New file.
439 * gdb.base/ctf-whatis.c: New file.
440 * gdb.base/ctf-ptype.exp: New file.
441 * gdb.base/ctf-ptype.c: New file.
442 * gdb.base/ctf-constvars.exp: New file.
443 * gdb.base/ctf-constvars.c: New file.
444 * gdb.base/ctf-cvexpr.exp: New file.
445
446 2019-10-04 Tom de Vries <tdevries@suse.de>
447
448 * gdb.cp/local-static.c (main): Move declaration of int i out of the
449 for loop.
450
451 2019-10-03 Tom Tromey <tom@tromey.com>
452
453 PR rust/24976:
454 * gdb.rust/simple.rs (Union2): New type.
455 (main): Use Union2.
456 * gdb.rust/simple.exp: Add test.
457
458 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
459
460 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
461 nested function prefix.
462
463 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
464 Richard Bunt <richard.bunt@arm.com>
465 Andrew Burgess <andrew.burgess@embecosm.com>
466
467 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
468 nested functions.
469 * gdb.fortran/nested-funcs.f90: Update expected results.
470 * gdb.fortran/nested-funcs-2.exp: New file.
471 * gdb.fortran/nested-funcs-2.f90: New file.
472
473 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
474
475 * gdb.python/py-parameter.exp: Make test names unique.
476 * gdb.python/py-template.exp: Likewise.
477 * gdb.python/py-value.exp: Likewise.
478
479 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
480
481 * gdb.base/break-interp.exp: Reduce test name duplication.
482 * gdb.base/call-sc.exp: Likewise.
483 * gdb.base/callfuncs.exp: Likewise.
484 * gdb.base/charset.exp: Likewise.
485 * gdb.base/dump.exp: Likewise.
486 * gdb.base/ena-dis-br.exp: Likewise.
487 * gdb.base/relational.exp: Likewise.
488 * gdb.base/step-over-syscall.exp: Likewise.
489 * gdb.base/structs.exp: Likewise.
490
491 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
492
493 * gdb.linespec/explicit.exp: Make test names unique.
494 * gdb.linespec/ls-errs.exp: Likewise.
495
496 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
497
498 * gdb.reverse/break-precsave.exp: Make test names unique.
499 * gdb.reverse/break-reverse.exp: Likewise.
500 * gdb.reverse/finish-precsave.exp: Likewise.
501 * gdb.reverse/finish-reverse.exp: Likewise.
502 * gdb.reverse/machinestate-precsave.exp: Likewise.
503 * gdb.reverse/machinestate.exp: Likewise.
504 * gdb.reverse/readv-reverse.exp: Likewise.
505 * gdb.reverse/recvmsg-reverse.exp: Likewise.
506 * gdb.reverse/sigall-precsave.exp: Likewise.
507 * gdb.reverse/sigall-reverse.exp: Likewise.
508 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
509 * gdb.reverse/watch-precsave.exp: Likewise.
510 * gdb.reverse/watch-reverse.exp: Likewise.
511
512 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
513
514 * gdb.threads/stop-with-handle.c: New file.
515 * gdb.threads/stop-with-handle.exp: New file.
516
517 2019-10-03 Tom de Vries <tdevries@suse.de>
518
519 PR testsuite/25059
520 * gdb.base/list-missing-source.exp: Allowing the "Compilation
521 directory" line to be missing.
522
523 2019-10-03 Tom de Vries <tdevries@suse.de>
524
525 PR testsuite/25059
526 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
527 type optional.
528
529 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
530
531 * gdb.python/py-format-string.c (string.h): New include.
532 (main): Fill a_struct_with_union.the_union.an_int with bytes of
533 the same value, for endianness-independence.
534 * gdb.python/py-format-string.exp (default_regexp_dict)
535 (test_pretty_structs, test_format): Adjust expected output to the
536 changed initialization.
537
538 2019-10-02 Tom Tromey <tromey@adacore.com>
539
540 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
541
542 2019-10-02 Pedro Alves <palves@redhat.com>
543 Andrew Burgess <andrew.burgess@embecosm.com>
544
545 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
546 "print-file-var.h".
547 (this_version_id) Use ATTRIBUTE_VISIBILITY.
548 (get_version_1): Print this_version_id and its address.
549 Add extern "C" wrappers around interface functions.
550 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
551 "print-file-var.h".
552 (this_version_id) Use ATTRIBUTE_VISIBILITY.
553 (get_version_2): Print this_version_id and its address.
554 Add extern "C" wrappers around interface functions.
555 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
556 <stddef.h> and "print-file-var.h".
557 Add extern "C" wrappers around interface functions.
558 [VERSION_ID_MAIN] (this_version_id): Define.
559 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
560 * gdb.base/print-file-var.h: Add some #defines to simplify setting
561 up extern "C" blocks.
562 * gdb.base/print-file-var.exp (test): New, factored out from top
563 level.
564 (top level): Test all combinations of attribute hidden or not,
565 dlopen or not, and this_version_id symbol in main file or not.
566 Compile tests as both C++ and C, make test names unique.
567
568 2019-10-01 Tom Tromey <tom@tromey.com>
569
570 * gdb.base/style.exp: Test "show logging filename".
571
572 2019-10-01 Tom Tromey <tom@tromey.com>
573
574 * lib/gdb-utils.exp (style): Handle "metadata" argument.
575 * gdb.base/style.exp: Add metadata style test.
576
577 2019-10-01 Tom Tromey <tom@tromey.com>
578
579 * gdb.base/style.exp: Test "pwd".
580
581 2019-10-01 Tom Tromey <tom@tromey.com>
582
583 * gdb.base/style.exp: Update tests.
584
585 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
586
587 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
588 'six' to unsigned.
589 (s1): Initialize fields 'four' and 'six' instead of 'three' and
590 'five'. Use an all-ones bit pattern for each.
591 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
592 to its changed values.
593
594 2019-09-30 Tom Tromey <tromey@adacore.com>
595
596 * gdb.rust/traits.rs: Disable all warnings.
597
598 2019-09-29 Tom de Vries <tdevries@suse.de>
599
600 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
601
602 2019-09-29 Tom de Vries <tdevries@suse.de>
603
604 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
605
606 2019-09-27 Tom de Vries <tdevries@suse.de>
607
608 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
609
610 2019-09-27 Tom de Vries <tdevries@suse.de>
611
612 PR record/23188
613 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
614
615 2019-09-26 Tom Tromey <tromey@adacore.com>
616
617 * gdb.ada/py_taft.exp: New file.
618 * gdb.ada/py_taft/main.adb: New file.
619 * gdb.ada/py_taft/pkg.adb: New file.
620 * gdb.ada/py_taft/pkg.ads: New file.
621
622 2019-09-24 Tom de Vries <tdevries@suse.de>
623
624 PR gdb/24598
625 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
626
627 2019-09-22 Tom de Vries <tdevries@suse.de>
628
629 * gdb.base/restore.exp: Allow register variables to be optimized out at
630 -O0.
631
632 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
633
634 * gdb.arch/spu-info.exp: Remove file.
635 * gdb.arch/spu-info.c: Remove file.
636 * gdb.arch/spu-ls.exp: Remove file.
637 * gdb.arch/spu-ls.c: Remove file.
638
639 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
640 * gdb.asm/spu.inc: Remove file.
641
642 * gdb.base/dump.exp: Remove support for spu*-*-*.
643 * gdb.base/stack-checking.exp: Likewise.
644 * gdb.base/overlays.exp: Likewise.
645 * gdb.base/ovlymgr.c: Likewise.
646 * gdb.base/spu.ld: Remove file.
647
648 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
649 * gdb.cp/cpexprs.exp: Likewise.
650 * gdb.cp/exception.exp: Likewise.
651 * gdb.cp/gdb2495.exp: Likewise.
652 * gdb.cp/mb-templates.exp: Likewise.
653 * gdb.cp/pr9167.exp: Likewise.
654 * gdb.cp/userdef.exp: Likewise.
655
656 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
657
658 * gdb.cell: Remove directory.
659 * lib/cell.exp: Remove file.
660
661 2019-09-19 Tom de Vries <tdevries@suse.de>
662
663 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
664
665 2019-09-19 Tom de Vries <tdevries@suse.de>
666
667 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
668
669 2019-09-19 Tom de Vries <tdevries@suse.de>
670
671 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
672 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
673 (gdb_target_cmd): ... here.
674 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
675 value 2.
676
677 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
678
679 * gdb.base/source-dir.exp: Avoid having directory names in test
680 names.
681
682 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
683
684 * gdb.base/source-dir.exp: Add extra test for mapped compilation
685 directory.
686
687 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
688
689 * gdb.base/list-missing-source.exp: New file.
690
691 2019-09-14 Tom de Vries <tdevries@suse.de>
692
693 PR teststuite/24599
694 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
695 * lib/ada.exp (gnatmake_version_at_least): New proc.
696
697 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
698
699 * gdb.base/maint.exp: Use exec_has_index_section.
700
701 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
702
703 * gdb.base/maint.exp: Add test for 'maint info sections'.
704
705 2019-09-12 Tom de Vries <tdevries@suse.de>
706
707 * gdb.base/store.exp: Allow register variables to be optimized out at
708 -O0.
709
710 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
711
712 * gdb.ada/rdv_wait.exp: Update to new task names.
713 * gdb.base/task_switch_in_core.exp: Likewise.
714 * gdb.base/info_sources_base.c: Likewise.
715
716 2019-09-10 Tom Tromey <tromey@adacore.com>
717
718 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
719
720 2019-09-10 Tom Tromey <tromey@adacore.com>
721
722 * gdb.ada/dgopt.exp: New file.
723 * gdb.ada/dgopt/x.adb: New file.
724
725 2019-09-08 Tom Tromey <tom@tromey.com>
726
727 * gdb.tui/resize.exp: Remove setup_xfail.
728 * gdb.tui/regs.exp: Remove setup_xfail.
729 * gdb.tui/basic.exp: Remove setup_xfail.
730
731 2019-09-06 David Blaikie <dblaikie@gmail.com>
732
733 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
734 * gdb.cp/cplabel.exp: Ditto.
735 * gdb.linespec/ls-errs.exp: Ditto.
736
737 2019-09-05 Tom de Vries <tdevries@suse.de>
738
739 * lib/gdb.exp (cmp_file_string): New proc.
740 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
741 runto_main. Verify save breakpoints output.
742
743 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
744
745 * gdb.base/info-var.exp: Test info variables without running
746 to main, to avoid expect's buffer overflow.
747
748 2019-09-03 Tom Tromey <tromey@adacore.com>
749
750 * gdb.ada/bias.exp: New file.
751 * gdb.ada/bias/bias.adb: New file.
752 * gdb.ada/print_chars.exp: Add regression test.
753 * gdb.ada/print_chars/foo.adb (My_Character): New type.
754 (MC): New variable.
755
756 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
757
758 * gdb.base/argv0-symlink.exp: Run only on native target
759 and local host.
760
761 2019-08-29 Tom de Vries <tdevries@suse.de>
762
763 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
764 diverse debug info.
765 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
766
767 2019-08-28 Tom de Vries <tdevries@suse.de>
768
769 * gdb.base/info-var.exp: Allow info variables to print info for files
770 other than info-var-f1.c and info-var-f2.c.
771
772 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
773
774 * gdb.fortran/info-types.exp: Add module.
775 * gdb.fortran/info-types.f90: Update expected results.
776
777 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
778
779 * gdb.fortran/info-types.exp: New file.
780 * gdb.fortran/info-types.f90: New file.
781 * lib/fortran.exp (fortran_character1): New proc.
782
783 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
784
785 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
786 functions'. Reindent as needed.
787 * gdb.base/info-var-f1.c: New file.
788 * gdb.base/info-var-f2.c: New file.
789 * gdb.base/info-var.exp: New file.
790 * gdb.base/info-var.h: New file.
791
792 2019-08-26 Tom de Vries <tdevries@suse.de>
793
794 PR c++/24852
795 * gdb.cp/no-libstdcxx-probe.exp: New test.
796
797 2019-08-26 Tom de Vries <tdevries@suse.de>
798
799 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
800 * tests need to be skipped.
801 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
802 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
803 mi_skip_libstdcxx_probe_tests.
804
805 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
806
807 * gdb.python/py-xmethods.exp: Use raw strings when passing
808 arguments to SimpleXMethodMatcher.
809
810 2019-08-22 Tom de Vries <tdevries@suse.de>
811
812 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
813 more informative.
814
815 2019-08-21 Pedro Alves <palves@redhat.com>
816
817 * gdb.base/with.exp: Test "with" with no arguments.
818
819 2019-08-21 Tom de Vries <tdevries@suse.de>
820
821 * gdb.base/gdb-caching-proc.exp: Sort files.
822
823 2019-08-20 Tom de Vries <tdevries@suse.de>
824
825 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
826 compilation.
827
828 2019-08-16 Tom de Vries <tdevries@suse.de>
829
830 * gdb.base/compare-sections.exp ("after run to main"): Allow
831 mismatched read-only sections for PIE executables.
832
833 2019-08-16 Tom Tromey <tom@tromey.com>
834
835 * lib/tuiterm.exp (_csi_Z): New proc.
836 * gdb.tui/basic.exp: Update window positions.
837 * gdb.tui/empty.exp: Update window positions.
838
839 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
840
841 * gdb.base/examine-backward.exp: Correct regexp for
842 "examine 3 bytes backward from ${address_zero}".
843
844 2019-08-15 Tom Tromey <tom@tromey.com>
845
846 * gdb.tui/empty.exp: Enable resizing tests.
847
848 2019-08-15 Tom Tromey <tromey@adacore.com>
849
850 * gdb.ada/char_enum.exp: Add regression tests.
851 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
852 and '0'.
853 (Char, Gchar): Update.
854 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
855
856 2019-08-15 Christian Biesinger <cbiesinger@google.com>
857
858 * gdb.python/python.exp: Expect a leading underscore on
859 GdbOutput{,Error}File.
860
861 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
862
863 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
864 Windows host.
865
866 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
867
868 * gdb.base/batch-preserve-term-settings.exp
869 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
870
871 2019-08-15 Christian Biesinger <cbiesinger@google.com>
872
873 * lib/gdb.exp: When running on a mingw target, replace
874 /x/ with x:/.
875
876 2019-08-14 Alan Hayward <alan.hayward@arm.com>
877
878 * gdb.arch/aarch64-prologue.c: New test.
879 * gdb.arch/aarch64-prologue.exp: New file.
880
881 2019-08-13 Tom de Vries <tdevries@suse.de>
882
883 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
884 Thread.
885
886 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
887
888 * gdb.python/py-completion.exp: Download the .py file to the host
889 and use its host pathname. Conditionalize tests that use
890 tab completion and manipulate files on the build machine.
891 * gdb.python/py-events.exp: Download the .py file to the host
892 and use its host pathname.
893 * gdb.python/py-evsignal.exp: Likewise.
894 * gdb.python/py-evthreads.exp: Likewise.
895 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
896 pathname syntax.
897 * gdb.python/py-framefilter.exp: Download the .py file to the right
898 place on the host. Match Windows pathname syntax.
899 * gdb.python/py-mi-var-info-path-expression.exp: Download the
900 .py file to the host and use its host pathname.
901 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
902 * gdb.python/py-objfile.exp: Expect a host pathname, not a
903 build pathname. Skip symlink test on Windows host. Add missing
904 newline at end of file.
905 * gdb.python/py-pp-maint.exp: Download the .py file to the host
906 and use its host pathname.
907 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
908 * gdb.python/py-section-script.exp: Use host location of binfile
909 on safe-path. Use correct path separator on Windows host.
910 Reorder alternatives in gdb_test_multiple to prevent matching
911 the wrong alternative on success.
912 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
913
914 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
915
916 * gdb.gdb/selftest.exp (test_with_self): Update test to now
917 expect the GDB inferior to no longer immediately stop after
918 being resumed with "signal SIGINT".
919
920 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
921
922 * gdb.linespec/break-ask.exp: Generalize regexps to match
923 Windows pathnames too.
924
925 2019-08-08 Tom de Vries <tdevries@suse.de>
926
927 PR testsuite/24862
928 * lib/tuiterm.exp (_accept): Fix CSI regexp.
929
930 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
931
932 * gdb.base/style.exp: Update tests for help doc new invariants.
933 * gdb.base/help.exp: Likewise.
934
935 2019-08-06 Tom Tromey <tom@tromey.com>
936
937 * gdb.base/style.exp: Add disassemble test.
938 * gdb.base/style.c (some_called_function): New function.
939 (main): Use it.
940
941 2019-08-05 Christian Biesinger <cbiesinger@google.com>
942
943 * gdb.python/py-block.exp: Test dictionary access on blocks.
944
945 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
946
947 PR gdb/24863
948 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
949 -list-thread-groups --available test when running under
950 check-read1.
951
952 2019-08-05 Tom de Vries <tdevries@suse.de>
953
954 PR testsuite/24863
955 * lib/gdb.exp (with_read1_timeout_factor): New proc.
956 * gdb.base/help.exp: Use with_read1_timeout_factor.
957 * gdb.base/info-macros.exp: Same.
958 * gdb.cp/nested-types.exp: Same.
959
960 2019-08-05 Tom de Vries <tdevries@suse.de>
961
962 * lib/gdb.exp (version_at_least): Factor out of ...
963 (tcl_version_at_least): ... here.
964 (gdb_compile): Fail if pie results in non-PIE executable.
965 (readelf_version, readelf_prints_pie): New proc.
966 (exec_is_pie): Return -1 if unknown.
967
968 2019-08-05 Tom de Vries <tdevries@suse.de>
969
970 * lib/gdb.exp (tcl_version_at_least): Fix typo.
971
972 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
973
974 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
975
976 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
977
978 * lib/completion-support.exp (test_gdb_complete_none): Skip
979 tab completion tests if no readline support.
980 (test_gdb_complete_unique_re): Likewise.
981 (test_gdb_complete_multiple): Likewise.
982
983 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
984
985 * gdb.base/info_sources.exp: New file.
986 * gdb.base/info_sources.c: New file.
987 * gdb.base/info_sources_base.c: New file.
988
989 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
990
991 * gdb.base/batch-exit-status.exp: Call test_exit_status with
992 prefix argument.
993 (test_exit_status): Add prefix argument.
994
995 2019-08-01 Tom de Vries <tdevries@suse.de>
996
997 PR testsuite/24863
998 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
999 calling exp_continue for new thread and thread exited messages.
1000
1001 2019-08-01 Tom de Vries <tdevries@suse.de>
1002
1003 PR testsuite/24863
1004 * gdb.base/structs.exp: Fix check-read1 timeout using
1005 gdb_test_sequence.
1006 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1007
1008 2019-08-01 Tom de Vries <tdevries@suse.de>
1009
1010 PR testsuite/24863
1011 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1012 line.
1013
1014 2019-08-01 Tom de Vries <tdevries@suse.de>
1015
1016 PR testsuite/24863
1017 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1018
1019 2019-07-30 Tom Tromey <tromey@adacore.com>
1020
1021 * gdb.ada/display_nested.exp: New file.
1022 * gdb.ada/display_nested/foo.adb: New file.
1023 * gdb.ada/display_nested/pack.adb: New file.
1024 * gdb.ada/display_nested/pack.ads: New file.
1025
1026 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1027
1028 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1029 namespace.
1030 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1031
1032 2019-07-30 Tom de Vries <tdevries@suse.de>
1033
1034 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1035 instead.
1036
1037 2019-07-30 Tom de Vries <tdevries@suse.de>
1038
1039 PR testsuite/24834
1040 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1041 (exec_is_pie): New proc.
1042
1043 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1044
1045 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1046
1047 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1048
1049 * gdb.python/py-objfile.c: Add global and static vars.
1050 * gdb.python/py-objfile.exp: Test new functions Objfile.
1051 lookup_global_symbol and lookup_static_symbol.
1052
1053 2019-07-29 Tom Tromey <tom@tromey.com>
1054
1055 * lib/tuiterm.exp (Term::_csi_@): New proc.
1056 (Term::_csi_X): Don't move cursor.
1057
1058 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1059
1060 * gdb.base/options.exp: Update backtrace - completion to
1061 new option -frame-info.
1062 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1063 Test new 'set print frame-info'. Test backtrace -frame-info
1064 overriding 'set print frame-info'.
1065 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1066 Test new 'set print frame-info'.
1067 Verify consistency of backtrace with and without filters, with and
1068 without -no-filters.
1069 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1070 default.
1071
1072 2019-07-29 Tom de Vries <tdevries@suse.de>
1073
1074 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1075 no arguments".
1076
1077 2019-07-29 Tom de Vries <tdevries@suse.de>
1078
1079 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1080 is a substring of the first for "complete non-unique file name".
1081
1082 2019-07-29 Tom de Vries <tdevries@suse.de>
1083
1084 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1085 with ".*".
1086
1087 2019-07-29 Tom de Vries <tdevries@suse.de>
1088
1089 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1090 Pass prompt_regexp parameter to gdb_test_multiple calls.
1091
1092 2019-07-29 Tom de Vries <tdevries@suse.de>
1093
1094 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1095 print registers" regexps.
1096
1097 2019-07-29 Tom de Vries <tdevries@suse.de>
1098
1099 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1100
1101 2019-07-29 Tom de Vries <tdevries@suse.de>
1102
1103 PR gdb/24855
1104 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1105 (skip_python_tests_prompt): Add prompt_regexp argument to
1106 gdb_test_multiple calls.
1107
1108 2019-07-27 Tom Tromey <tom@tromey.com>
1109
1110 * gdb.tui/main.exp: New file.
1111
1112 2019-07-27 Tom Tromey <tom@tromey.com>
1113
1114 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1115 optional.
1116 * gdb.tui/empty.exp: New file.
1117
1118 2019-07-27 Tom Tromey <tom@tromey.com>
1119
1120 * lib/tuiterm.exp (spawn): New proc.
1121 (Term::resize): New proc.
1122 * gdb.tui/resize.exp: New file.
1123
1124 2019-07-27 Tom Tromey <tom@tromey.com>
1125
1126 * gdb.tui/list.exp: New file.
1127
1128 2019-07-27 Tom Tromey <tom@tromey.com>
1129
1130 * gdb.tui/regs.exp: New file.
1131
1132 2019-07-27 Tom Tromey <tom@tromey.com>
1133
1134 * gdb.tui/basic.exp: Add "layout split" test.
1135
1136 2019-07-27 Tom Tromey <tom@tromey.com>
1137
1138 * gdb.tui/basic.exp: Add "layout asm" test.
1139
1140 2019-07-27 Tom Tromey <tom@tromey.com>
1141
1142 * lib/tuiterm.exp: New file.
1143 * gdb.tui/basic.exp: New file.
1144
1145 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1146
1147 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1148 Enable tests associated with this flag. Adjust regex
1149 referencing "foo_low" to now refer to "foo_cold" instead.
1150
1151 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1152
1153 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1154 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1155 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1156 foo_cold. Revise comments to match.
1157 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1158 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1159 were wrapped into this proc; Call do_test in loop from outermost
1160 level.
1161 (foo_low): Rename all occurrences to "foo_cold".
1162 (backtrace from baz): New test.
1163 (x2/i foo_cold): New test.
1164 (info line *foo_cold): New test.
1165
1166 2019-07-26 Tom de Vries <tdevries@suse.de>
1167
1168 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1169
1170 2019-07-25 Tom de Vries <tdevries@suse.de>
1171
1172 PR testsuite/24830
1173 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1174 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1175 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1176 (skip_libstdcxx_probe_tests): ... here.
1177 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1178
1179 2019-07-24 Tom de Vries <tdevries@suse.de>
1180
1181 PR testsuite/24807
1182 * gdb.objc/basicclass.m: Include stdio.h.
1183 * gdb.objc/nondebug.m: Same.
1184 * gdb.objc/objcdecode.m: Same.
1185
1186 2019-07-24 Tom de Vries <tdevries@suse.de>
1187
1188 PR testsuite/24612
1189 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1190 additional_flags.
1191
1192 2019-07-24 Tom de Vries <tdevries@suse.de>
1193
1194 PR testsuite/24831
1195 * gdb.multi/tids.exp: Update error messages for info threads.
1196
1197 2019-07-24 Tom de Vries <tdevries@suse.de>
1198
1199 * gdb.base/info-types.exp: Allow info types to print info for more than
1200 one file.
1201
1202 2019-07-23 Tom de Vries <tdevries@suse.de>
1203
1204 PR testsuite/24842
1205 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1206 gdb_spawn_with_cmdline_opts.
1207
1208 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1209
1210 * gdb.arch/arm-cmse-sgstubs.c: New test.
1211 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1212
1213 2019-07-23 Tom de Vries <tdevries@suse.de>
1214
1215 PR testsuite/24711
1216 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1217 issuing next command.
1218
1219 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1220
1221 * gdb.ada/info_auto_lang.exp: Update expected results.
1222 * gdb.base/info-types.c: Add additional types to check.
1223 * gdb.base/info-types.exp: Update expected results.
1224
1225 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1226
1227 * gdb.base/info-types.c: New file.
1228 * gdb.base/info-types.exp: New file.
1229
1230 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1231
1232 * gdb.arch/riscv-bp-infcall.c: New file.
1233 * gdb.arch/riscv-bp-infcall.exp: New file.
1234
1235 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1236
1237 PR breakpoints/24541
1238 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1239
1240 2019-07-14 Tom de Vries <tdevries@suse.de>
1241
1242 PR testsuite/24760
1243 * gdb.objc/basicclass.exp: Fix unterminated string.
1244
1245 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1246 Andrew Burgess <andrew.burgess@embecosm.com>
1247
1248 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1249 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1250 negative bounds.
1251 * gdb.fortran/vla-value.exp: Print elements of an array with
1252 negative bounds.
1253 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1254 testing.
1255
1256 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1257
1258 * gdb.base/options.exp (expect_string): Dequote strings in
1259 results.
1260 (test-string): Test strings with different quoting and reindent.
1261
1262 2019-07-10 Tom Tromey <tromey@adacore.com>
1263
1264 * gdb.ada/mi_ex_cond.exp: Update expected results.
1265 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1266 * gdb.ada/mi_catch_ex.exp: Update expected results.
1267 * gdb.ada/mi_catch_assert.exp: Update expected results.
1268 * gdb.ada/catch_ex.exp (catch_exception_info)
1269 (catch_exception_entry, catch_assert_entry)
1270 (catch_unhandled_entry): Update.
1271 * gdb.ada/catch_assert_if.exp: Update expected results.
1272
1273 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1274 Stephen Roberts <stephen.roberts@arm.com>
1275
1276 * gdb.base/define.exp: Restore original prompt.
1277
1278 2019-07-09 Pedro Alves <palves@redhat.com>
1279
1280 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1281 breakpoints" output.
1282 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1283 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1284 throw" creates breakpoint.
1285 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1286 'type="catchpoint"'.
1287
1288 2019-07-09 Pedro Alves <palves@redhat.com>
1289
1290 PR c++/15468
1291 * gdb.cp/except-multi-location-lib.cc: New.
1292 * gdb.cp/except-multi-location-main.cc: New.
1293 * gdb.cp/except-multi-location.exp: New.
1294
1295 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1296
1297 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1298 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1299 argument and update callers.
1300
1301 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1302
1303 * gdb.arch/amd64-break-on-asm-line.S: New file.
1304 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1305
1306 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1307
1308 * gdb.base/printcmds.exp: Test printing C string and
1309 C wide string convenience vars without transiting via the inferior.
1310 Also make test names unique.
1311
1312 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1313
1314 PR breakpoints/25011
1315 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1316
1317 2019-07-04 Pedro Alves <palves@redhat.com>
1318
1319 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1320 body returned ok(0), break(3) or continue(4).
1321 * gdb.testsuite/foreach_with_prefix.exp: New file.
1322
1323 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1324
1325 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1326
1327 2019-07-03 Pedro Alves <palves@redhat.com>
1328
1329 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1330 "return -code".
1331
1332 2019-07-03 Pedro Alves <palves@redhat.com>
1333
1334 PR cli/24732
1335 * gdb.base/shell.exp: Load completion-support.exp.
1336 Adjust expected error output. Add completion tests.
1337
1338 2019-07-03 Pedro Alves <palves@redhat.com>
1339
1340 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1341 string_to_regexp.
1342
1343 2019-07-03 Pedro Alves <palves@redhat.com>
1344
1345 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1346 (expect_integer): Adjust to expect "-string".
1347 (expect_string): New.
1348 (all_options): Expect "-string".
1349 (test-flag, test-boolean): Adjust to expect "-string".
1350 (test-string): New proc.
1351 (top level): Call it.
1352
1353 2019-07-03 Pedro Alves <palves@redhat.com>
1354
1355 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1356 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1357 the expected output in the success.
1358
1359 2019-07-03 Pedro Alves <palves@redhat.com>
1360
1361 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1362 Split one gdb_test_multiple call in two to avoid a race.
1363
1364 2019-07-03 Pedro Alves <palves@redhat.com>
1365
1366 * gdb.base/with.c: New file.
1367 * gdb.base/with.exp: New file.
1368
1369 2019-07-03 Pedro Alves <palves@redhat.com>
1370
1371 * gdb.base/settings.exp: Replace all references to "maint
1372 test-settings set" with references to "maint set test-settings",
1373 and all references to "maint test-settings show" with references
1374 to "maint show test-settings".
1375
1376 2019-07-03 Pedro Alves <palves@redhat.com>
1377
1378 * gdb.base/settings.exp (test-string): Adjust expected out when
1379 testing "maint test-settings show filename"
1380
1381 2019-07-02 Pedro Alves <palves@redhat.com>
1382
1383 * gdb.base/options.exp (test-info-threads): New procedure.
1384 (top level): Call it.
1385
1386 2019-06-28 Tom Tromey <tromey@adacore.com>
1387
1388 * gdb.dwarf2/ada-linkage-name.c: New file.
1389 * gdb.dwarf2/ada-linkage-name.exp: New file.
1390
1391 2019-06-27 Tom Tromey <tromey@adacore.com>
1392
1393 PR c++/20020:
1394 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1395
1396 2019-06-26 Tom de Vries <tdevries@suse.de>
1397
1398 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1399
1400 2019-06-26 Tom de Vries <tdevries@suse.de>
1401
1402 * gdb.base/index-cache.exp: Add back missing debug option.
1403
1404 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1405
1406 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1407
1408 2019-06-25 Tom de Vries <tdevries@suse.de>
1409
1410 PR testsuite/24727
1411 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1412
1413 2019-06-24 Tom de Vries <tdevries@suse.de>
1414
1415 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1416
1417 2019-06-24 Tom de Vries <tdevries@suse.de>
1418
1419 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1420 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1421 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1422
1423 2019-06-24 Tom de Vries <tdevries@suse.de>
1424
1425 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1426
1427 2019-06-21 Tom de Vries <tdevries@suse.de>
1428
1429 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1430
1431 2019-06-21 Tom de Vries <tdevries@suse.de>
1432
1433 PR testsuite/24518
1434 PR ada/24713
1435 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1436 index.
1437
1438 2019-06-19 Tom Tromey <tromey@adacore.com>
1439
1440 * gdb.ada/length_cond.exp: Add intro comment.
1441
1442 2019-06-19 Tom Tromey <tromey@adacore.com>
1443
1444 * gdb.ada/length_cond.exp: New file.
1445 * gdb.ada/length_cond/length_cond.adb: New file.
1446 * gdb.ada/length_cond/pck.adb: New file.
1447 * gdb.ada/length_cond/pck.ads: New file.
1448
1449 2019-06-18 Tom de Vries <tdevries@suse.de>
1450
1451 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1452
1453 2019-06-18 Tom Tromey <tromey@adacore.com>
1454
1455 * gdb.base/list0.h: Add comment explaining control character.
1456
1457 2019-06-18 Tom de Vries <tdevries@suse.de>
1458
1459 * boards/fission.exp: Break up long debug_flags line.
1460
1461 2019-06-16 Tom de Vries <tdevries@suse.de>
1462
1463 PR gdb/24445
1464 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1465 generated index.
1466
1467 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1468
1469 PR gdb/24686
1470 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1471 improve detection of bug gdb/24541.
1472
1473 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1474
1475 PR gdb/24669
1476 * gdb.base/index-cache.exp (uses_readnow,
1477 expecting_index_cache_use): Define global variable.
1478 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1479 expecting_index_cache_use.
1480
1481 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1482 Andrew Burgess <andrew.burgess@embecosm.com>
1483
1484 * gdb.fortran/pointers.f90: New file.
1485 * gdb.fortran/print_type.exp: New file.
1486 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1487 * gdb.fortran/vla-type.exp: Likewise.
1488 * gdb.fortran/vla-value.exp: Likewise.
1489 * gdb.mi/mi-vla-fortran.exp: Likewise.
1490
1491 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1492
1493 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1494 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1495 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1496 as a stop reason.
1497
1498 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1499
1500 * gdb.base/annota1.exp: Update expected results.
1501 * gdb.cp/annota2.exp: Likewise.
1502 * gdb.cp/annota3.exp: Likewise.
1503
1504 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1505
1506 * gdb.base/style-logging.exp: Remove path from test name.
1507
1508 2019-06-14 Tom Tromey <tromey@adacore.com>
1509
1510 PR gdb/24502:
1511 * gdb.base/style-logging.exp: New file.
1512
1513 2019-06-14 Tom Tromey <tromey@adacore.com>
1514
1515 * gdb.base/symfile-warn.exp: New file.
1516 * gdb.base/symfile-warn.c: New file.
1517
1518 2019-06-14 Tom Tromey <tromey@adacore.com>
1519
1520 * gdb.base/annotate-symlink.exp: New file.
1521
1522 2019-06-14 Tom Tromey <tromey@adacore.com>
1523
1524 * gdb.ada/set_wstr.exp: Add reassignment test.
1525
1526 2019-06-14 Tom Tromey <tromey@adacore.com>
1527
1528 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1529 'unchecked_access and 'unrestricted_access as well.
1530
1531 2019-06-14 Tom Tromey <tromey@adacore.com>
1532
1533 PR ada/24539:
1534 * gdb.ada/vla.exp: Update tests.
1535 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1536 pragma.
1537
1538 2019-06-13 Pedro Alves <palves@redhat.com>
1539
1540 * gdb.base/settings.exp (test-integer): Test junk after
1541 "unlimited".
1542
1543 2019-06-13 Pedro Alves <palves@redhat.com>
1544
1545 * gdb.base/options.exp (test-thread-apply): New.
1546 (top level): Call it.
1547
1548 2019-06-13 Pedro Alves <palves@redhat.com>
1549
1550 * gdb.base/options.exp (test-frame-apply): New.
1551 (top level): Test print commands with different "frame apply"
1552 prefixes.
1553
1554 2019-06-13 Pedro Alves <palves@redhat.com>
1555
1556 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1557 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1558 'max_completions' parameter and handle it.
1559 (test_gdb_completion_offers_commands): New.
1560
1561 2019-06-13 Pedro Alves <palves@redhat.com>
1562
1563 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1564
1565 2019-06-13 Pedro Alves <palves@redhat.com>
1566
1567 * gdb.base/options.exp (test-backtrace): New.
1568 (top level): Call it.
1569
1570 2019-06-13 Pedro Alves <palves@redhat.com>
1571
1572 * gdb.guile/scm-frame-args.exp: Use "set print
1573 raw-frame-arguments" instead of "set print raw frame-arguments".
1574 * gdb.python/py-frame-args.exp: Likewise.
1575
1576 2019-06-13 Pedro Alves <palves@redhat.com>
1577
1578 * gdb.compile/compile.exp: Adjust expected output to option
1579 processing changes.
1580
1581 2019-06-13 Pedro Alves <palves@redhat.com>
1582
1583 * gdb.base/options.exp: Build executable.
1584 (test-print): New procedure.
1585 (top level): Call it, once for "print" and another for "compile
1586 print".
1587
1588 2019-06-13 Pedro Alves <palves@redhat.com>
1589
1590 * gdb.base/options.c: New file.
1591 * gdb.base/options.exp: New file.
1592
1593 2019-06-13 Pedro Alves <palves@redhat.com>
1594
1595 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1596 that "o" is ambiguous.
1597
1598 2019-06-13 Pedro Alves <palves@redhat.com>
1599
1600 * gdb.base/settings.c: New file.
1601 * gdb.base/settings.exp: New file.
1602
1603 2019-06-13 Pedro Alves <palves@redhat.com>
1604
1605 * gdb.base/completion.exp: Fix comment typo.
1606
1607 2019-06-13 Pedro Alves <palves@redhat.com>
1608
1609 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1610 foo --1" test.
1611
1612 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1613
1614 * gdb.fortran/block-data.f: New.
1615 * gdb.fortran/block-data.exp: New.
1616
1617 2019-06-11 Tom de Vries <tdevries@suse.de>
1618
1619 PR testsuite/24521
1620 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1621 message.
1622
1623 2019-06-11 Tom de Vries <tdevries@suse.de>
1624
1625 PR testsuite/24521
1626 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1627
1628 2019-06-11 Tom de Vries <tdevries@suse.de>
1629
1630 * boards/readnow.exp: New file.
1631
1632 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1633
1634 * gdb.fortran/vla-sizeof.exp: Update expected results.
1635
1636 2019-06-06 Amos Bird <amosbird@gmail.com>
1637
1638 * gdb.base/annota1.exp (thread_switch): Add test for
1639 thread-exited annotation.
1640
1641 2019-06-06 Tom Tromey <tromey@adacore.com>
1642
1643 * gdb.base/maint.exp: Expect command started/finished output.
1644
1645 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1646
1647 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1648 comment.
1649 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1650
1651 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1652
1653 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1654 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1655 * gdb.arch/riscv-unwind-long-insn.c: New file.
1656 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1657
1658 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1659
1660 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1661
1662 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1663
1664 * lib/gdb.exp (help_list_trailer): New regexp variable
1665 factorizing the help trailer message.
1666 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1667 arg to allow to better factorize various tests.
1668 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1669 (test_prefix_command_help): Use help_list_trailer.
1670 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1671 * gdb.guile/scm-cmd.exp: Likewise.
1672 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1673 * gdb.base/help.exp: Use test_user_defined_class_help.
1674 * gdb.base/style.exp: Add tests for styling of help and apropos.
1675 * lib/gdb-utils.exp (style): Add title and highlight styles.
1676
1677 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1678
1679 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1680 $_shell_exitsignal.
1681 * gdb.base/default.exp: Update for new convenience variables.
1682
1683 2019-05-29 Tom Tromey <tromey@adacore.com>
1684
1685 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1686 to "break complete ada" test case's regexp.
1687
1688 2019-05-29 Tom Tromey <tromey@adacore.com>
1689
1690 PR c++/20020:
1691 * gdb.cp/constexpr-field.exp: New file.
1692 * gdb.cp/constexpr-field.cc: New file.
1693
1694 2019-05-29 Tom Tromey <tromey@adacore.com>
1695
1696 * gdb.base/finish.exp (finish_no_print): New proc.
1697 (finish_tests): Call it.
1698
1699 2019-05-24 Tom de Vries <tdevries@suse.de>
1700
1701 * gdb.dwarf2/gdb-add-index.exp: New file.
1702
1703 2019-05-22 Tom Tromey <tromey@adacore.com>
1704
1705 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1706 * gdb.base/style.exp: Use "style".
1707 * lib/gdb-utils.exp (style): New proc.
1708
1709 2019-05-22 Tom de Vries <tdevries@suse.de>
1710
1711 * gdb.base/align.exp: Require c++11.
1712
1713 2019-05-22 Tom de Vries <tdevries@suse.de>
1714
1715 PR testsuite/24586
1716 * gdb.python/py-mi-var-info-path-expression.exp: Call
1717 mi_skip_python_tests to check if python is supported.
1718
1719 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1720
1721 * gdb.arch/aarch64-pauth.c: New test.
1722 * gdb.arch/aarch64-pauth.exp: New file.
1723
1724 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1725
1726 * README (Re-running Tests Outside The Testsuite): New section.
1727
1728 2019-05-21 Tom de Vries <tdevries@suse.de>
1729
1730 * gdb.arch/amd64-eval.exp: Require c++11.
1731 * gdb.base/max-depth.exp: Same.
1732 * gdb.compile/compile-cplus-array-decay.exp: Same.
1733 * gdb.cp/meth-typedefs.exp: Same.
1734 * gdb.cp/subtypes.exp: Same.
1735 * gdb.cp/temargs.exp: Same.
1736
1737 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1738
1739 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1740
1741 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1742
1743 PR gdb/18644
1744 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1745 * gdb.fortran/printing-types.exp: Add new test.
1746 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1747 testing.
1748 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1749 setup_kfail call.
1750
1751 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1752
1753 * README (Running the Testsuite): Change example.
1754 (Testsuite Parameters): Remove TRANSCRIPT.
1755 * lib/gdb.exp: Remove TRANSCRIPT check.
1756
1757 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1758
1759 * README (Testsuite Parameters): Add replay logging to
1760 GDBSERVER_DEBUG.
1761 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1762 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1763 as a comma separated list.
1764 (gdb_debug_init): Override procedure.
1765
1766 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1767
1768 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1769 (gdb_write_cmd_file): New procedure.
1770 * lib/gdbserver-support.exp (gdbserver_start): Call
1771 gdbserver_write_cmd_file.
1772 (gdbserver_write_cmd_file): New procedure.
1773
1774 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1775
1776 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1777 (delete_breakpoints): Likewise.
1778 (gdb_run_cmd): Likewise.
1779 (gdb_start_cmd): Likewise.
1780 (gdb_starti_cmd): Likewise.
1781 (gdb_internal_error_resync): Likewise.
1782 (gdb_test_multiple): Likewise.
1783 (gdb_reinitialize_dir): Likewise.
1784 (default_gdb_exit): Likewise.
1785 (gdb_file_cmd): Mark kill as optional.
1786 (default_gdb_start): Call gdb_stdin_log_init.
1787 (send_gdb): Call gdb_stdin_log_write.
1788 (rerun_to_main): Mark Y as an answer.
1789 (gdb_stdin_log_init): New function.
1790 (gdb_stdin_log_write): Likewise.
1791
1792 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1793
1794 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1795 * gdb.base/debug-expr.exp: Likewise.
1796 * gdb.base/foll-fork.exp: Likewise.
1797 * gdb.base/foll-vfork.exp: Likewise.
1798 * gdb.base/fork-print-inferior-events.exp: Likewise.
1799 * gdb.base/gdb-sigterm.exp: Likewise.
1800 * gdb.base/gdbinit-history.exp: Likewise.
1801 * gdb.base/osabi.exp: Likewise.
1802 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1803 * gdb.base/ui-redirect.exp: Likewise.
1804 * gdb.gdb/unittest.exp: Likewise.
1805 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1806 * gdb.mi/mi-watch.exp: Likewise.
1807 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1808 * gdb.mi/user-selected-context-sync.exp: Likewise.
1809 * gdb.python/python.exp: Disable debug test when debugging.
1810 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1811 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1812 Likewise.
1813 * gdb.threads/stepi-random-signal.exp: Likewise.
1814
1815 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1816
1817 * Makefile.in: Pass through GDB_DEBUG.
1818 * README (Testsuite Parameters): Add GDB_DEBUG.
1819 (gdb,debug): Add board setting.
1820 * lib/gdb.exp (default_gdb_start): Start debugging.
1821 (gdb_debug_enabled): New procedure.
1822 (gdb_debug_init): Likewise.
1823
1824 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1825
1826 * Makefile.in: Pass through GDB_DEBUG.
1827 * README (Testsuite Parameters): Add GDB_DEBUG.
1828 (gdb,debug): Add board setting.
1829 * lib/gdb.exp (default_gdb_start): Start debugging.
1830 (gdb_debug_enabled): New procedure.
1831 (gdb_debug_init): Likewise.
1832
1833 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1834
1835 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1836
1837 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1838
1839 * gdb.base/ui-redirect.exp: Test redirection.
1840
1841 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1842
1843 * gdb.mi/mi-complete.exp: New file.
1844 * gdb.mi/mi-complete.cc: Likewise.
1845
1846 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1847
1848 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1849 indexed and sliced arrays, and pointers to arrays.
1850
1851 2019-05-14 Tom Tromey <tromey@adacore.com>
1852
1853 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1854 styling test.
1855
1856 2019-05-14 Tom de Vries <tdevries@suse.de>
1857
1858 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1859 selection entry encoding.
1860
1861 2019-05-10 Tom Tromey <tromey@adacore.com>
1862
1863 * gdb.ada/info_exc.exp: Add "complete" test.
1864
1865 2019-05-09 Tom de Vries <tdevries@suse.de>
1866
1867 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1868 CU-relative.
1869
1870 2019-05-09 Tom de Vries <tdevries@suse.de>
1871
1872 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1873 CU-relative.
1874
1875 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1876
1877 * gdb.ada/frame_arg_lang.exp: New testcase.
1878 * gdb.ada/frame_arg_lang/bla.adb: New file.
1879 * gdb.ada/frame_arg_lang/pck.ads: New file.
1880 * gdb.ada/frame_arg_lang/pck.adb: New file.
1881 * gdb.ada/frame_arg_lang/foo.c: New file.
1882
1883 2019-05-08 Tom Tromey <tromey@adacore.com>
1884
1885 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1886
1887 2019-05-08 Tom Tromey <tromey@adacore.com>
1888
1889 * gdb.base/ptype-offsets.exp: Update tests.
1890
1891 2019-05-08 Tom Tromey <tromey@adacore.com>
1892
1893 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1894 cases.
1895 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1896 "short".
1897
1898 2019-05-08 Tom Tromey <tromey@adacore.com>
1899
1900 * gdb.ada/vla.exp: New file.
1901 * gdb.ada/vla/vla.adb: New file.
1902
1903 2019-05-07 Tom de Vries <tdevries@suse.de>
1904
1905 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1906
1907 2019-05-07 Tom de Vries <tdevries@suse.de>
1908
1909 PR testsuite/24522
1910 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1911 section.
1912
1913 2019-05-07 Tom de Vries <tdevries@suse.de>
1914
1915 PR testsuite/24522
1916 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1917 .debug_aranges section.
1918
1919 2019-05-07 Tom de Vries <tdevries@suse.de>
1920
1921 PR testsuite/24159
1922 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1923
1924 2019-05-06 Tom de Vries <tdevries@suse.de>
1925
1926 * lib/gdb.exp (exec_has_index_section): New proc.
1927 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1928 section.
1929
1930 2019-05-04 Tom de Vries <tdevries@suse.de>
1931
1932 * boards/cc-with-debug-names.exp: New file.
1933
1934 2019-05-03 Tom Tromey <tromey@adacore.com>
1935
1936 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1937 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1938 * gdb.ada/char_enum.exp: Add test.
1939
1940 2019-05-03 Tom de Vries <tdevries@suse.de>
1941
1942 * boards/cc-with-gdb-index.exp: New file.
1943
1944 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1945
1946 * gdb.rust/simple.exp: Add new test case.
1947 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1948 (main): Initialise an instance of the new struct.
1949
1950 2019-05-01 Tom Tromey <tromey@adacore.com>
1951
1952 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1953 record.
1954 (NPR): New variable.
1955 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1956 test.
1957
1958 2019-05-01 Tom Tromey <tromey@adacore.com>
1959
1960 * gdb.ada/packed_array_assign.exp: Add packed assignment
1961 regression test.
1962
1963 2019-05-01 Tom de Vries <tdevries@suse.de>
1964
1965 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1966
1967 2019-05-01 Tom de Vries <tdevries@suse.de>
1968
1969 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1970
1971 2019-04-30 Ali Tamur <tamur@google.com>
1972
1973 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1974
1975 2019-04-30 Tom Tromey <tromey@adacore.com>
1976
1977 * lib/ada.exp (find_ada_tool): New proc.
1978 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1979 * gdb.ada/catch_ex_std.exp: New file.
1980 * gdb.ada/catch_ex_std/foo.adb: New file.
1981 * gdb.ada/catch_ex_std/some_package.adb: New file.
1982 * gdb.ada/catch_ex_std/some_package.ads: New file.
1983
1984 2019-04-30 Tom Tromey <tromey@adacore.com>
1985
1986 PR c++/24470:
1987 * gdb.cp/temargs.cc: Add test code from PR.
1988
1989 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1990
1991 * gdb.fortran/vla-datatypes.exp: Update expected results.
1992 * gdb.fortran/vla-ptype.exp: Likewise.
1993 * gdb.fortran/vla-type.exp: Likewise.
1994 * gdb.fortran/vla-value.exp: Likewise.
1995
1996 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1997
1998 * gdb.fortran/ptr-indentation.exp: Update expected results.
1999 * gdb.fortran/ptype-on-functions.exp: Likewise.
2000 * gdb.fortran/vla-ptr-info.exp: Likewise.
2001 * gdb.fortran/vla-value.exp: Likewise.
2002
2003 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2004
2005 * gdb.fortran/ptype-on-functions.exp: New file.
2006 * gdb.fortran/ptype-on-functions.f90: New file.
2007
2008 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2009
2010 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2011 case void string.
2012
2013 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2014
2015 * gdb.fortran/complex.exp: Expand.
2016 * gdb.fortran/complex.f: Renamed to...
2017 * gdb.fortran/complex.f90: ...this, and extended to add more
2018 complex values.
2019
2020 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2021
2022 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2023 MODULO, CMPLX.
2024
2025 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2026 Richard Bunt <richard.bunt@arm.com>
2027
2028 * gdb.base/max-depth.c: New file.
2029 * gdb.base/max-depth.exp: New file.
2030 * gdb.python/py-nested-maps.c: New file.
2031 * gdb.python/py-nested-maps.exp: New file.
2032 * gdb.python/py-nested-maps.py: New file.
2033 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2034 (test_all_common): Call test_max_depth.
2035 * gdb.fortran/max-depth.exp: New file.
2036 * gdb.fortran/max-depth.f90: New file.
2037 * gdb.go/max-depth.exp: New file.
2038 * gdb.go/max-depth.go: New file.
2039 * gdb.modula2/max-depth.exp: New file.
2040 * gdb.modula2/max-depth.c: New file.
2041 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2042
2043 2019-04-29 Tom de Vries <tdevries@suse.de>
2044
2045 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2046
2047 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2048
2049 * gdb.base/callexit.exp: Test may-call-functions off.
2050
2051 2019-04-25 Keith Seitz <keiths@redhat.com>
2052
2053 PR c++/24367
2054 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2055 (another_incomplete_struct, test_incomplete): New definitions.
2056 (main): Use new definitions.
2057 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2058 functions.
2059
2060 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2061
2062 PR corefiles/11608
2063 PR corefiles/18187
2064 * gdb.base/coredump-filter-build-id.exp: New file.
2065
2066 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2067
2068 * Makefile.in: Pass through GDBSERVER_DEBUG.
2069 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2070 (gdbserver,debug): Add board setting.
2071 * gdb.trace/tspeed.exp: Skip when debugging.
2072 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2073 * lib/gdbserver-support.exp: Likewise
2074
2075 2019-04-24 Tom Tromey <tromey@adacore.com>
2076
2077 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2078 Rust.
2079
2080 2019-04-24 Tom Tromey <tromey@adacore.com>
2081
2082 * gdb.arch/amd64-eval.exp: Test bitfield return.
2083 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2084 (class Foo) <return_bitfields>: New method.
2085 (main): Call it.
2086
2087 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2088
2089 * gdb.cp/many-args.cc: New file.
2090 * gdb.cp/many-args.exp: New file.
2091
2092 2019-04-23 Tom de Vries <tdevries@suse.de>
2093
2094 PR gdb/24433
2095 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2096
2097 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2098
2099 * gdb.trace/backtrace.exp: Use nopie flag.
2100 * gdb.trace/circ.exp: Likewise.
2101 * gdb.trace/collection.exp: Likewise.
2102 * gdb.trace/ftrace.exp: Likewise.
2103 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2104 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2105 * gdb.trace/qtro.exp: Likewise.
2106 * gdb.trace/read-memory.exp: Likewise.
2107 * gdb.trace/report.exp: Likewise.
2108 * gdb.trace/tfile.exp: Likewise.
2109 * gdb.trace/tfind.exp: Likewise.
2110 * gdb.trace/unavailable.exp: Likewise.
2111
2112 2019-04-22 Pedro Alves <palves@redhat.com>
2113
2114 * gdb.base/solib-probes-nosharedlibrary.c,
2115 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2116
2117 2019-04-19 Tom Tromey <tromey@adacore.com>
2118
2119 * gdb.ada/ptype_union.c: New file.
2120 * gdb.ada/ptype_union.exp: New file.
2121
2122 2019-04-19 Tom Tromey <tromey@adacore.com>
2123
2124 PR symtab/24423:
2125 * gdb.base/list0.h (foo): Add a control-l character.
2126
2127 2019-04-18 Tom de Vries <tdevries@suse.de>
2128
2129 PR gdb/24433
2130 * boards/local-board.exp: Set sysroot to "".
2131
2132 2019-04-18 Tom de Vries <tdevries@suse.de>
2133 Pedro Alves <palves@redhat.com>
2134
2135 PR gdb/24454
2136 * gdb.threads/vfork-follow-child-exec.c: New file.
2137 * gdb.threads/vfork-follow-child-exec.exp: New file.
2138 * gdb.threads/vfork-follow-child-exit.c: New file.
2139 * gdb.threads/vfork-follow-child-exit.exp: New file.
2140
2141 2019-04-15 Leszek Swirski <leszeks@google.com>
2142
2143 * gdb.arch/amd64-eval.cc: New file.
2144 * gdb.arch/amd64-eval.exp: New file.
2145
2146 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2147
2148 * gdb.server/sysroot.c: New test.
2149 * gdb.server/sysroot.exp: New file.
2150 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2151 matching param.
2152
2153 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2154
2155 * gdb.base/align.exp: Extend test to cover structures containing
2156 only static fields.
2157
2158 2019-04-11 Tom de Vries <tdevries@suse.de>
2159
2160 * boards/cc-with-dwz-m.exp: New file.
2161 * boards/cc-with-dwz.exp: New file.
2162 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2163
2164 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2165
2166 * gdb.base/start-cpp.exp: New file.
2167 * gdb.base/start-cpp.cc: New file.
2168
2169 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2170
2171 * gdb.python/py-thrhandle.exp: Adjust tests to call
2172 thread_from_handle instead of thread_from_thread_handle.
2173
2174 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2175
2176 * gdb.python/py-thrhandle.exp: Add tests for
2177 gdb.InferiorThread.handle.
2178
2179 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2180
2181 * gdb.python/py-function.exp: Check calling helper function from
2182 all languages.
2183 * lib/gdb.exp (gdb_supported_languages): New proc.
2184
2185 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2186
2187 * gdb.base/complex-parts.c: New file.
2188 * gdb.base/complex-parts.exp: New file.
2189
2190 2019-04-01 Tom Tromey <tromey@adacore.com>
2191
2192 PR symtab/23331:
2193 * gdb.dwarf2/dw2-ranges-main.c: New file.
2194 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2195 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2196
2197 2019-03-30 Simon Marchi <simark@simark.ca>
2198
2199 * gdb.base/default.exp: Add values for $_gdb_major and
2200 $_gdb_minor.
2201
2202 2019-03-29 Tom Tromey <tromey@adacore.com>
2203
2204 * gdb.base/help.exp: Tighten apropos regexp.
2205
2206 2019-03-29 Keith Seitz <keiths@redhat.com>
2207
2208 * gdb.fortran/array-bounds.exp: New file.
2209 * gdb.fortran/array-bounds.f90: New file.
2210
2211 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2212
2213 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2214
2215 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2216
2217 * gdb.multi/hello.c (main): Increase alarm timer.
2218
2219 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2220
2221 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2222 factor when no hardware watchpoint support.
2223
2224 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2225 Pedro Alves <palves@redhat.com>
2226
2227 * boards/local-board.exp: set sysroot to /.
2228
2229 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2230
2231 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2232 in child.
2233
2234 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2235
2236 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2237 field.
2238 (make_container): Initialise new field.
2239 * gdb.python/py-prettyprint.exp: Add new tests.
2240 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2241 <display_hint>: New method.
2242
2243 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2244
2245 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2246 gdb_continue_to_breakpoint more throughout this test.
2247 (run_lang_tests) Supply unique test names, and use
2248 gdb_test_no_output.
2249
2250 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2251
2252 * gdb.base/finish-pretty.exp: Update expected results.
2253 * gdb.base/pretty-print.c: New file.
2254 * gdb.base/pretty-print.exp: New file.
2255
2256 2019-03-25 Pedro Alves <palves@redhat.com>
2257
2258 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2259 move comments outside list. Append '-i "" eof' section.
2260
2261 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2262
2263 PR testsuite/25016
2264 * README: Add pie options.
2265 * gdb.base/break-interp.exp: Ensure pie is disabled.
2266 * gdb.base/dump.exp: Likewise.
2267 * lib/gdb.exp (gdb_compile): Add pie option.
2268
2269 2019-03-19 Tom Tromey <tromey@adacore.com>
2270
2271 * gdb.mi/mi2-cli-display.c: New file.
2272 * gdb.mi/mi2-cli-display.exp: New file.
2273
2274 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2275 Tom Tromey <tromey@adacore.com>
2276
2277 * gdb.ada/ptype_array/pck.adb: New file.
2278 * gdb.ada/ptype_array/pck.ads: New file.
2279 * gdb.ada/ptype_array/foo.adb: New file.
2280 * gdb.ada/ptype_array.exp: New file.
2281
2282 2019-03-14 Tom Tromey <tromey@adacore.com>
2283
2284 * gdb.base/style.exp: Add "set style sources" test.
2285
2286 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2287
2288 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2289 * mi-breakpoint-multiple-locations.exp: ... this.
2290 (make_breakpoints_pattern): New proc.
2291 (do_test): Add mi_version parameter, test -break-insert,
2292 -break-info and =breakpoint-created.
2293
2294 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2295
2296 * config/default.exp: Remove 'load_lib gdb.exp'.
2297 * config/monitor.exp: Likewise.
2298 * config/sid.exp: Likewise.
2299 * config/sim.exp: Likewise.
2300 * config/slite.exp: Likewise.
2301 * config/unix.exp: Likewise.
2302 * gdb.base/default.exp: Remove unhelpful comment.
2303
2304 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2305
2306 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2307
2308 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2309
2310 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2311
2312 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2313
2314 * gdb.fortran/type-kinds.exp: Update expected results.
2315
2316 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2317
2318 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2319
2320 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2321
2322 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2323 function.
2324 (test_basic_parsing_of_type_kinds): Expand types tested.
2325 (test_parsing_invalid_type_kinds): New function.
2326
2327 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2328
2329 * gdb.fortran/intrinsics.exp: New file.
2330 * gdb.fortran/intrinsics.f90: New file.
2331 * gdb.fortran/type-kinds.exp: New file.
2332
2333 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2334
2335 * gdb.fortran/dot-ops.exp: New file.
2336
2337 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2338
2339 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2340 Check upper and lower case logical literals.
2341
2342 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2343
2344 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2345 Remove duplicate tests.
2346
2347 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2348
2349 * lib/gdb.exp (builtin_cd): rename of cd.
2350 (cd): Override builtin.
2351
2352 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2353
2354 * gdb.fortran/function-calls.exp: New file.
2355 * gdb.fortran/function-calls.f90: New test.
2356
2357 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2358
2359 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2360 on user program standard output.
2361 * gdb.fortran/short-circuit-argument-list.f90: Record function
2362 calls.
2363
2364 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2365
2366 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2367 failure.
2368
2369 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2370
2371 PR gdb/8527
2372 * gdb.base/interrupt-daemon-attach.c,
2373 gdb.base/interrupt-daemon-attach.exp: New test.
2374
2375 2019-02-27 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.base/page.exp: Add tests for "set width/height -1".
2378
2379 2019-02-27 Pedro Alves <palves@redhat.com>
2380
2381 * gdb.base/page.exp: Add tests for "set/show width/height" with
2382 "infinite" values.
2383
2384 2019-02-27 Tom Tromey <tromey@adacore.com>
2385
2386 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2387 2.4.
2388 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2389 workaround.
2390
2391 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2392
2393 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2394 tests for structs with static members.
2395
2396 2019-02-26 Tom Tromey <tromey@adacore.com>
2397
2398 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2399 ValueError, not TypeError.
2400
2401 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2402
2403 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2404 call from main program.
2405
2406 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2407
2408 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2409 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2410 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2411 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2412 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2413
2414 2019-02-22 Keith Seitz <keiths@redhat.com>
2415
2416 PR symtab/23853
2417 * gdb.base/symlink-sourcefile.c: New file.
2418 * gdb.base/symlink-sourcefile.exp: New file.
2419
2420 2019-02-20 Tom Tromey <tom@tromey.com>
2421
2422 * gdb.base/info_qt.exp: Update.
2423
2424 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2425
2426 * gdb.base/source.exp: Move "error in sourced script" code to
2427 the end.
2428 * gdb.base/source-error.gdb: Move contents to
2429 source-error-1.gdb. Add new code to source source-error-1.gdb.
2430 * gdb.base/source-error-1.gdb: New file, from previous
2431 source-error.gdb.
2432
2433 2019-02-17 Tom Tromey <tom@tromey.com>
2434
2435 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2436 for macro styling.
2437 * gdb.base/style.c (SOME_MACRO): New macro.
2438
2439 2019-02-17 Tom Tromey <tom@tromey.com>
2440
2441 * gdb.base/style.exp: Add line-wrapping tests.
2442 * gdb.base/page.exp: Add test for quitting during pagination.
2443
2444 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2445
2446 * gdb.ada/big_packed_array: New testcase.
2447 * gdb.ada/homonym.exp: Fix incorrect expected output for
2448 "break <homonym__get_value>" test.
2449
2450 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2451
2452 PR breakpoints/21870
2453 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2454 and prepare_for_testing. Add comment.
2455 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2456 redundant cleanup call. Clean up comment.
2457
2458 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2459
2460 PR breakpoints/21870
2461 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2462 * gdb.arch/aarch64-dbreg-contents.c: New file.
2463
2464 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2465
2466 * gdb.ada/mi_ref_changeable: New testcase.
2467
2468 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2469
2470 * gdb.base/attach.exp: Add double attach test.
2471
2472 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2473
2474 * lib/gdb.exp (default_gdb_start): Don't match pagination
2475 prompt.
2476 (gdb_init): Set stty_init.
2477
2478 2019-01-27 Tom Tromey <tom@tromey.com>
2479
2480 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2481 skip_python_tests.
2482
2483 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2484
2485 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2486 New structure.
2487 (struct struct_static_02_02): Likewise.
2488 (struct struct_static_02_03): Likewise.
2489 (struct struct_static_02_04): Likewise.
2490 (struct struct_static_04_01): Likewise.
2491 (struct struct_static_04_02): Likewise.
2492 (struct struct_static_04_03): Likewise.
2493 (struct struct_static_04_04): Likewise.
2494 (struct struct_static_06_01): Likewise.
2495 (struct struct_static_06_02): Likewise.
2496 (struct struct_static_06_03): Likewise.
2497 (struct struct_static_06_04): Likewise.
2498 (cmp_struct_static_02_01): Likewise.
2499 (cmp_struct_static_02_02): Likewise.
2500 (cmp_struct_static_02_03): Likewise.
2501 (cmp_struct_static_02_04): Likewise.
2502 (cmp_struct_static_04_01): Likewise.
2503 (cmp_struct_static_04_02): Likewise.
2504 (cmp_struct_static_04_03): Likewise.
2505 (cmp_struct_static_04_04): Likewise.
2506 (cmp_struct_static_06_01): Likewise.
2507 (cmp_struct_static_06_02): Likewise.
2508 (cmp_struct_static_06_03): Likewise.
2509 (cmp_struct_static_06_04): Likewise.
2510 (call_all): Test new structs.
2511 * gdb.base/infcall-nested-structs.exp: Likewise.
2512
2513 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2514 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2515
2516 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2517 * gdb.base/stack-protector.c: New test.
2518 * gdb.base/stack-protector.exp: New file.
2519 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2520 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2521 option.
2522 (gdb_compile): Remove stack protector for GCC and prevent
2523 recursion.
2524
2525 2019-01-16 Keith Seitz <keiths@redhat.com>
2526
2527 PR gdb/23773
2528 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2529
2530 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2531
2532 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2533 aliases.
2534 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2535 tests.
2536 * gdb.arch/powerpc-vector-regs.c: New file.
2537 * gdb.arch/powerpc-vector-regs.exp: New file.
2538
2539 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2540
2541 * gdb.arch/altivec-regs.exp: Fix the list passed to
2542 gdb_expect_list when testing "info vector".
2543
2544 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2545
2546 * gdb.base/style.exp: Don't include path in testname.
2547
2548 2019-01-10 Keith Seitz <keiths@redhat.com>
2549
2550 PR gdb/23712
2551 PR symtab/23010
2552 * gdb.dwarf2/multidictionary.exp: New file.
2553
2554 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2555
2556 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2557 (test_gnuv3_style_demangling): ... this.
2558 (test_lucid_style_demangling): Remove.
2559 (test_arm_style_demangling): Remove.
2560 (test_hp_style_demangling): Remove.
2561 (do_tests): Remove calls to the above.
2562
2563 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2564
2565 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2566 case.
2567
2568 2019-01-06 Tom Tromey <tom@tromey.com>
2569
2570 PR gdb/28155:
2571 * gdb.dwarf2/typedef-void-finish.exp: New file.
2572
2573 2018-12-28 Tom Tromey <tom@tromey.com>
2574 Simon Marchi <simark@simark.ca>
2575
2576 * gdb.base/jit-exec.exp: New file.
2577 * gdb.base/jit-exec.c: New file.
2578 * gdb.base/jit-execd.c: New file.
2579
2580 2018-12-28 Tom Tromey <tom@tromey.com>
2581
2582 * gdb.base/style.exp: Update test to check for address styling.
2583
2584 2018-12-28 Tom Tromey <tom@tromey.com>
2585
2586 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2587 message.
2588
2589 2018-12-28 Tom Tromey <tom@tromey.com>
2590
2591 * gdb.base/style.exp: Add test for version number styling.
2592
2593 2018-12-28 Tom Tromey <tom@tromey.com>
2594
2595 * gdb.base/style.exp: Add test for print_address_symbolic.
2596
2597 2018-12-28 Tom Tromey <tom@tromey.com>
2598
2599 * gdb.base/style.exp: Add test for breakpoint setting.
2600
2601 2018-12-28 Tom Tromey <tom@tromey.com>
2602
2603 * gdb.base/style.exp: Add test for variable names.
2604
2605 2018-12-28 Tom Tromey <tom@tromey.com>
2606
2607 * gdb.base/style.exp: New file.
2608 * gdb.base/style.c: New file.
2609
2610 2018-12-28 Tom Tromey <tom@tromey.com>
2611
2612 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2613 "dumb".
2614 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2615 the TERM environment variable.
2616
2617 2018-12-27 Tom Tromey <tom@tromey.com>
2618
2619 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2620 pagination test.
2621
2622 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2623
2624 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2625 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2626
2627 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2628
2629 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2630 Filename a.adb changed to bp_fun_addr.adb.
2631 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2632
2633 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2634
2635 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2636 non-PIE executables.
2637 * README: Mention the gdb,nopie_flag board setting.
2638 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2639 non-PIE executable.
2640 * gdb.arch/amd64-entry-value.exp: Likewise.
2641 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2642 * gdb.arch/i386-float.exp: Likewise.
2643 * gdb.arch/i386-signal.exp: Likewise.
2644 * gdb.mi/mi-reg-undefined.exp: Likewise.
2645
2646 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2647
2648 PR gdb/23974
2649 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2650
2651 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2652
2653 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2654 Update order of results accordingly.
2655
2656 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2657
2658 * gdb.base/annota1.exp: Update a test regexp.
2659
2660 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2661
2662 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2663
2664 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2665
2666 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2667 (reuse_time): Initialize to REUSE_TIME_CAP.
2668 (check_rc): New function.
2669 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2670 Check pthread_create rc.
2671 (spawner_thread_func): Check pthread_create and pthread_join rc.
2672
2673 2018-12-08 Pedro Alves <palves@redhat.com>
2674
2675 * gdb.base/list.exp (test_forward_search): Rename to ...
2676 (test_forward_reverse_search): ... this. Also test reverse-search
2677 and the forward-search alias.
2678
2679 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2680
2681 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2682 local timeout variable before return, and remove all local timeout
2683 variable entirely.
2684 (gdb_load): Likewise.
2685
2686 2018-12-01 Tom de Vries <tdevries@suse.de>
2687
2688 * gdb.base/gdb-caching-proc.exp: New file.
2689
2690 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2691
2692 * Makefile.in (TIMESTAMP): New variable.
2693 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2694 command.
2695 (check-single-racy): Likewise.
2696 (check/%.exp): Likewise.
2697 (check-racy/%.exp): Likewise.
2698 (workers/%.worker): Likewise.
2699 (build-perf): Likewise.
2700 (check-perf): Likewise.
2701 * README: Describe new "TS" and "TS_FORMAT" variables.
2702 * print-ts.py: New file.
2703
2704 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2705
2706 PR python/23714
2707 * gdb.python/python.exp: Test command repetition after
2708 gdb.execute.
2709
2710 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2711
2712 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2713 is correctly aligned.
2714
2715 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2716
2717 * gdb.ada/info_auto_lang.exp: New testcase.
2718 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2719 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2720 * gdb.ada/info_auto_lang/some_c.c: New file.
2721
2722 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2723
2724 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2725 FUNC_lang language syntax.
2726
2727 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2728
2729 * gdb.base/info_minsym.c: New file.
2730 * gdb.base/info_minsym.exp: New file.
2731
2732 2018-11-19 Tom Tromey <tom@tromey.com>
2733
2734 PR rust/23625:
2735 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2736 * gdb.rust/expr.exp: Update expected output. Change one test.
2737
2738 2018-11-19 Tom Tromey <tom@tromey.com>
2739
2740 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2741
2742 2018-11-19 Pedro Alves <palves@redhat.com>
2743
2744 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2745 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2746 see the expected warning.
2747
2748 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2749
2750 PR gdb/22736:
2751 * gdb.cp/infcall-nodebug-lib.c: New test.
2752 * gdb.cp/infcall-nodebug-main.c: New test.
2753 * gdb.cp/infcall-nodebug.exp: New file.
2754
2755 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2756
2757 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2758 completer tests.
2759
2760 2018-11-09 Tom de Vries <tdevries@suse.de>
2761
2762 * gdb.base/msym-lang.c: New test.
2763 * gdb.base/msym-lang.exp: New file.
2764 * gdb.base/msym-lang-main.c: New test.
2765
2766 2018-11-08 Tom Tromey <tom@tromey.com>
2767
2768 PR gdb/23555:
2769 PR gdb/23838:
2770 * gdb.base/warning.exp: New file.
2771
2772 2018-11-08 Jan Beulich <jbeulich@suse.com>
2773
2774 * testsuite/gdb.arch/i386-avx512.c,
2775 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2776
2777 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2778
2779 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2780 point hardware.
2781
2782 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2783
2784 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2785 * gdb.dwarf2/missing-type-name.exp: New file.
2786
2787 2018-11-06 Tom de Vries <tdevries@suse.de>
2788
2789 * gdb.base/many-headers.c: New test.
2790 * gdb.base/many-headers.exp: New file.
2791
2792 2018-11-06 Jim Wilson <jimw@sifive.com>
2793
2794 * gdb.base/code_elim.exp: For riscv, set additional_flags
2795 to include -msmall-data-limit=0.
2796
2797 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2798
2799 * gdb.ada/watch_minus_l: New testcase.
2800
2801 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2802
2803 * gdb.arch/aix-sighandle.c: New file.
2804 * gdb.arch/aix-sighandle.exp: New file.
2805
2806 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2807
2808 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2809 registers being unions.
2810
2811 2018-10-31 Tom de Vries <tdevries@suse.de>
2812
2813 * lib/valgrind.exp: New file.
2814 (vgdb_start, vgdb_stop): New procs, factored out of ...
2815 * gdb.base/valgrind-bt.exp: ... here, ...
2816 * gdb.base/valgrind-disp-step.exp: ... here and ...
2817 * gdb.base/valgrind-infcall.exp: ... here.
2818
2819 2018-10-31 Tom de Vries <tdevries@suse.de>
2820
2821 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2822
2823 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2824
2825 * gdb.dwarf2/void-type.c: New file.
2826 * gdb.dwarf2/void-type.exp: New file.
2827
2828 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2829
2830 * gdb.base/info_qt.c: New file.
2831 * gdb.base/info_qt.exp: New file.
2832
2833 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2834
2835 * gdb.arch/powerpc-htm-regs.c: New file.
2836 * gdb.arch/powerpc-htm-regs.exp: New file.
2837
2838 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2839
2840 * gdb.arch/powerpc-tar.c: New file.
2841 * gdb.arch/powerpc-tar.exp: New file.
2842
2843 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2844
2845 * gdb.arch/powerpc-ppr-dscr.c: New file.
2846 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2847
2848 2018-10-25 Tom de Vries <tdevries@suse.de>
2849
2850 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2851
2852 2018-10-24 Tom de Vries <tdevries@suse.de>
2853
2854 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2855 longer exists error.
2856
2857 2018-10-24 Tom de Vries <tdevries@suse.de>
2858
2859 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2860
2861 2018-10-24 Tom de Vries <tdevries@suse.de>
2862
2863 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2864 --db-attach in valgrind.
2865
2866 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2867
2868 * gdb.arch/riscv-reg-aliases.c: New file.
2869 * gdb.arch/riscv-reg-aliases.exp: New file.
2870
2871 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2872
2873 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2874
2875 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2876
2877 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2878
2879 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2880
2881 * gdb.cp/ovldbreak.exp: Fix regexps.
2882
2883 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2884
2885 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2886
2887 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2888
2889 PR cli/23785
2890 * gdb.base/restore.exp: New test to check if "restore" with an
2891 invalid file doesn't segfault.
2892
2893 2018-10-18 Tom de Vries <tdevries@suse.de>
2894
2895 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2896 * gdb.ada/excep_handle.exp: Same.
2897 * gdb.ada/mi_string_access.exp: Same.
2898 * gdb.ada/mi_var_union.exp: Same.
2899 * gdb.arch/arc-analyze-prologue.exp: Same.
2900 * gdb.arch/arc-decode-insn.exp: Same.
2901 * gdb.base/readnever.exp: Same.
2902 * gdb.fortran/printing-types.exp: Same.
2903 * gdb.guile/scm-lazy-string.exp: Same.
2904
2905 2018-10-16 Tom de Vries <tdevries@suse.de>
2906
2907 PR gdb/23730
2908 * gdb.base/catch-follow-exec.c: Add copyright notice.
2909 * gdb.base/catch-follow-exec.exp: Rewrite to use
2910 gdb_spawn_with_cmdline_opts. Require gdb-native.
2911
2912 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2913
2914 * gdb.trace/actions-changed.exp: Check for arch support.
2915 * gdb.trace/actions.exp: Likewise.
2916 * gdb.trace/ax.exp: Likewise.
2917 * gdb.trace/backtrace.exp: Likewise.
2918 * gdb.trace/change-loc.exp: Likewise.
2919 * gdb.trace/deltrace.exp: Likewise.
2920 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2921 * gdb.trace/ftrace.exp: Likewise.
2922 * gdb.trace/infotrace.exp: Check for arch support.
2923 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2924 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2925 * gdb.trace/mi-tsv-changed.exp: Likewise.
2926 * gdb.trace/packetlen.exp: Likewise.
2927 * gdb.trace/passc-dyn.exp: Likewise.
2928 * gdb.trace/passcount.exp: Likewise.
2929 * gdb.trace/pending.exp: Likewise.
2930 * gdb.trace/range-stepping.exp: Check for shlib support.
2931 * gdb.trace/report.exp: Check for arch support.
2932 * gdb.trace/save-trace.exp: Likewise.
2933 * gdb.trace/signal.exp: Check for signal support.
2934 * gdb.trace/tfind.exp: Check for arch support.
2935 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2936 * gdb.trace/trace-common.h: Add comment.
2937 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2938 * gdb.trace/trace-enable-disable.exp: Likewise.
2939 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2940 * gdb.trace/tracecmd.exp: Check for arch support.
2941 * gdb.trace/tspeed.exp: Check for shlib and target support.
2942 * gdb.trace/tstatus.exp: Check for arch support.
2943 * gdb.trace/tsv.exp: Likewise.
2944 * gdb.trace/while-dyn.exp: Likewise.
2945 * gdb.trace/while-stepping.exp: Likewise.
2946 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2947
2948 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2949
2950 * gdb.trace/tspeed.exp: Remove nowarnings.
2951 (prepare_for_trace_test): Declare "global ipalib".
2952 * gdb.trace/tspeed.c: Include unistd.h.
2953 (main): Remove superfluous printf argument.
2954
2955 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2956
2957 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2958 directory prefix on the filename.
2959
2960 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2961
2962 * gdb.gdb/unittest.exp: Update expected message informing that
2963 selftests have been disabled.
2964 * gdb.server/unittest.exp: Likewise.
2965
2966 2018-10-09 Tom de Vries <tdevries@suse.de>
2967
2968 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2969 with runto_main.
2970
2971 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2972
2973 PR c++/16841
2974 * gdb.cp/virtbase2.cc: New file.
2975 * gdb.cp/virtbase2.exp: New file.
2976
2977 2018-10-06 Tom Tromey <tom@tromey.com>
2978
2979 PR python/19399:
2980 * gdb.python/py-inferior.exp: Add architecture test.
2981
2982 2018-10-06 Tom Tromey <tom@tromey.com>
2983
2984 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2985 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2986
2987 2018-10-06 Tom Tromey <tom@tromey.com>
2988
2989 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2990 of a "throw" catchpoint.
2991
2992 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2993
2994 * gdb.base/info-proc.exp: Update string expected from "help info
2995 proc".
2996
2997 2018-10-04 Tom Tromey <tom@tromey.com>
2998
2999 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3000 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3001 (test_initial_complaints, test_empty_complaints): Update.
3002 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3003
3004 2018-10-04 Tom Tromey <tom@tromey.com>
3005
3006 PR cli/19551:
3007 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3008 * lib/gdb.exp (gdb_file_cmd): Update.
3009 * gdb.stabs/weird.exp (print_weird_var): Update.
3010 * gdb.server/solib-list.exp: Update.
3011 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3012 * gdb.mi/mi-cli.exp: Update.
3013 * gdb.linespec/linespec.exp: Update.
3014 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3015 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3016 * gdb.cp/cp-relocate.exp: Update.
3017 * gdb.base/sym-file.exp: Update.
3018 * gdb.base/relocate.exp: Update.
3019 * gdb.base/readnever.exp: Update.
3020 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3021 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3022 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3023 * gdb.base/code_elim.exp: Update.
3024 * gdb.base/break-unload-file.exp (test_break): Update.
3025 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3026 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3027 Update.
3028 * gdb.base/attach.exp (do_attach_tests): Update.
3029 * gdb.base/sepdebug.exp: Update.
3030 * gdb.python/py-section-script.exp: Update.
3031
3032 2018-10-04 Tom Tromey <tom@tromey.com>
3033
3034 PR cli/22234:
3035 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3036 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3037 output.
3038
3039 2018-10-04 Tom Tromey <tom@tromey.com>
3040
3041 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3042 set width and height to 0.
3043 (test_command_line_attach_run): Use -quiet.
3044
3045 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3046
3047 * lib/gdb.exp (skip_ifunc_tests): New.
3048 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3049 other compile failures.
3050 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3051
3052 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3053
3054 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3055 is_amd64_regs_target.
3056
3057 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3058
3059 * gdb.arch/aarch64-sighandler-regs.c: New test.
3060 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3061 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3062
3063 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3064
3065 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3066 assembly.
3067
3068 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3069
3070 * gdb.base/frame-selection.exp: New file.
3071 * gdb.base/frame-selection.c: New file.
3072
3073 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3074
3075 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3076 pthread barrier.
3077 (main): Likewise.
3078
3079 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3080
3081 * gdb.base/large-frame-1.c: New file.
3082 * gdb.base/large-frame-2.c: New file.
3083 * gdb.base/large-frame.exp: New file.
3084 * gdb.base/large-frame.h: New file.
3085
3086 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3087
3088 PR gdb/20948
3089 * gdb.base/write_mem.exp: New test.
3090 * gdb.base/write_mem.c: Likewise.
3091
3092 2018-09-23 Tom Tromey <tom@tromey.com>
3093
3094 PR python/18852:
3095 * gdb.python/py-parameter.exp: Add test for parameter that throws
3096 on "set".
3097
3098 2018-09-23 Tom Tromey <tom@tromey.com>
3099
3100 PR python/17284:
3101 * gdb.python/py-template.exp (test_template_arg): Add test for
3102 negative template argument number.
3103
3104 2018-09-23 Tom Tromey <tom@tromey.com>
3105
3106 PR python/14062:
3107 * gdb.python/python.exp: Add test for post_event error.
3108
3109 2018-09-23 Tom Tromey <tom@tromey.com>
3110
3111 PR python/18170:
3112 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3113 convert pointers to int and long.
3114
3115 2018-09-23 Tom Tromey <tom@tromey.com>
3116
3117 PR python/20126:
3118 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3119 signed-ness conversion tests.
3120
3121 2018-09-23 Tom Tromey <tom@tromey.com>
3122
3123 PR python/18352;
3124 * gdb.python/py-value.exp (test_float_conversion): New proc.
3125 Use it.
3126
3127 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3128
3129 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3130
3131 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3132
3133 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3134 no readline.
3135 * gdb.base/utf8-identifiers.exp: Likewise.
3136 * gdb.cp/cpcompletion.exp: Likewise.
3137 * gdb.linespec/cpcompletion.exp: Likewise.
3138 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3139 * gdb.linespec/cpls-ops.exp: Likewise.
3140
3141 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3142 Chris January <chris.january@arm.com>
3143
3144 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3145 * gdb.fortran/short-circuit-argument-list.exp: New file.
3146 * gdb.fortran/short-circuit-argument-list.f90: New test.
3147
3148 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3149
3150 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3151 "arch=" keyword when executing "-stack-list-frames".
3152
3153 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3154
3155 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3156 "arch=" keyword when executing "-stack-list-frames".
3157
3158 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3159
3160 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3161 break ada".
3162
3163 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3164
3165 PR python/23669
3166 * gdb.python/python.exp: Test gdb.execute("show commands").
3167
3168 2018-09-16 Tom Tromey <tom@tromey.com>
3169
3170 * gdb.base/new-ui.exp (do_execution_tests): Update.
3171 * gdb.base/dbx.exp (test_breakpoints): Update.
3172
3173 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3174
3175 * lib/gdb.exp (gdb_simple_compile): Add proc.
3176 (is_elf_target): Use gdb_simple_compile.
3177 (skip_altivec_tests): Likewise.
3178 (skip_vsx_tests): Likewise.
3179 (skip_tsx_tests): Likewise.
3180 (skip_btrace_tests): Likewise.
3181 (skip_btrace_pt_tests): Likewise.
3182 (gdb_can_simple_compile): Likewise.
3183 (gdb_has_argv0): Likewise.
3184 (gdb_target_symbol_prefix): Likewise.
3185 (target_supports_scheduler_locking): Likewise.
3186
3187 2018-09-13 Tom Tromey <tom@tromey.com>
3188
3189 * Makefile.in (TAGS): Recognize proc_with_prefix and
3190 gdb_caching_proc.
3191
3192 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3193
3194 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3195 method.
3196
3197 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3198
3199 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3200 and a few other Inferior properties when the Inferior is no
3201 longer valid.
3202
3203 2018-09-13 Tom Tromey <tom@tromey.com>
3204
3205 PR rust/23650:
3206 * gdb.rust/simple.exp: Add test for enum field access error.
3207
3208 2018-09-13 Tom Tromey <tom@tromey.com>
3209
3210 PR rust/23626:
3211 * gdb.rust/simple.rs (EmptyEnum): New type.
3212 (main): Use it.
3213 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3214
3215 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3216
3217 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3218 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3219 * gdb.python/py-symtab.exp: Update test printing an objfile.
3220
3221 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3222
3223 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3224 object.
3225
3226 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3227
3228 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3229 (support_complex_tests): Use gdb_can_simple_compile.
3230 (is_ilp32_target): Likewise.
3231 (is_lp64_target): Likewise.
3232 (is_64_target): Likewise.
3233 (is_amd64_regs_target): Likewise.
3234 (is_aarch32_target): Likewise.
3235 (gdb_int128_helper): Likewise.
3236
3237 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3238
3239 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3240
3241 2018-09-10 Jerome Guitton <guitton@adacore.com>
3242
3243 * gdb.ada/same_component_name: Add test for case of tagged record
3244 with variable-length fields.
3245
3246 2018-09-10 Xavier Roirand <roirand@adacore.com>
3247
3248 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3249 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3250 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3251 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3252
3253 2018-09-10 Xavier Roirand <roirand@adacore.com>
3254
3255 * gdb.ada/mi_string_access.exp: New testcase.
3256 * gdb.ada/mi_string_access/bar.adb: New file.
3257 * gdb.ada/mi_string_access/pck.adb: New file.
3258 * gdb.ada/mi_string_access/pck.asd: New file.
3259
3260 2018-09-10 Xavier Roirand <roirand@adacore.com>
3261
3262 * gdb.ada/mi_var_union.exp: New testcase.
3263 * gdb.ada/mi_var_union/bar.adb: New file.
3264 * gdb.ada/mi_var_union/pck.adb: New file.
3265 * gdb.ada/mi_var_union/pck.asd: New file.
3266
3267 2018-09-08 Tom Tromey <tom@tromey.com>
3268
3269 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3270
3271 2018-09-08 Tom Tromey <tom@tromey.com>
3272
3273 PR python/16047:
3274 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3275 (register_pretty_printers): Register new printer.
3276 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3277 test.
3278 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3279 (an_int_type3): New global.
3280
3281 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3282
3283 * gdb.ada/expr_with_funcall: New testcase.
3284
3285 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3286
3287 * gdb.ada/packed_array_assign: New testcase.
3288
3289 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3290
3291 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3292 names, and add test prefixes to make test names unique.
3293
3294 2018-09-05 Tom de Vries <tdevries@suse.de>
3295
3296 * gdb.dwarf2/varval.exp: Add test.
3297
3298 2018-09-04 Gary Benson <gbenson@redhat.com>
3299
3300 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3301 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3302
3303 2018-08-31 Tom Tromey <tom@tromey.com>
3304
3305 * gdb.rust/simple.rs: Rename second variable "v".
3306
3307 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3308
3309 * gdb.base/funcargs.c (use_a): New function.
3310 (recurse): Call use_a.
3311
3312 2018-08-29 Keith Seitz <keiths@redhat.com>
3313
3314 * gdb.compile/compile-cplus-anonymous.cc: New file.
3315 * gdb.compile/compile-cplus-anonymous.exp: New file.
3316 * gdb.compile/compile-cplus-array-decay.cc: New file.
3317 * gdb.compile/compile-cplus-array-decay.exp: New file.
3318 * gdb.compile/compile-cplus-inherit.cc: New file.
3319 * gdb.compile/compile-cplus-inherit.exp: New file.
3320 * gdb.compile/compile-cplus-member.cc: New file.
3321 * gdb.compile/compile-cplus-member.exp: New file.
3322 * gdb.compile/compile-cplus-method.cc: New file.
3323 * gdb.compile/compile-cplus-method.exp: New file.
3324 * gdb.compile/compile-cplus-mod.c: "New" file.
3325 * gdb.compile/compile-cplus-namespace.cc: New file.
3326 * gdb.compile/compile-cplus-namespace.exp: New file.
3327 * gdb.compile/compile-cplus-nested.cc: New file.
3328 * gdb.compile/compile-cplus-nested.exp: New file.
3329 * gdb.compile/compile-cplus-print.c: "New" file.
3330 * gdb.compile/compile-cplus-print.exp: "New" file.
3331 * gdb.compile/compile-cplus-virtual.cc: New file.
3332 * gdb.compile/compile-cplus-virtual.exp: New file.
3333 * gdb.compile/compile-cplus.c: "New" file.
3334 * gdb.compile/compile-cplus.exp: "New" file.
3335 * lib/compile-support.exp: New file.
3336
3337 2018-08-16 Gary Benson <gbenson@redhat.com>
3338
3339 PR gdb/13000:
3340 * gdb.base/batch-exit-status.exp: New file.
3341 * gdb.base/batch-exit-status.good-commands: Likewise.
3342 * gdb.base/batch-exit-status.bad-commands: Likewise.
3343
3344 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3345
3346 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3347 (struct struct02): Likewise.
3348 (struct struct03): Likewise.
3349 (struct struct04): Likewise.
3350 (struct struct_01_01): New struct.
3351 (struct struct_01_02): Likewise.
3352 (struct struct_01_03): Likewise.
3353 (struct struct_01_04): Likewise.
3354 (struct struct_02_01): Likewise.
3355 (struct struct_02_02): Likewise.
3356 (struct struct_02_03): Likewise.
3357 (struct struct_02_04): Likewise.
3358 (struct struct_04_01): Likewise.
3359 (struct struct_04_02): Likewise.
3360 (struct struct_04_03): Likewise.
3361 (struct struct_04_04): Likewise.
3362 (struct struct_05_01): Likewise.
3363 (struct struct_05_02): Likewise.
3364 (struct struct_05_03): Likewise.
3365 (struct struct_05_04): Likewise.
3366 (cmp_struct01): Remove function.
3367 (cmp_struct02): Likewise.
3368 (cmp_struct03): Likewise.
3369 (cmp_struct04): Likewise.
3370 (cmp_struct_01_01): Add Function.
3371 (cmp_struct_01_02): Likewise.
3372 (cmp_struct_01_03): Likewise.
3373 (cmp_struct_01_04): Likewise.
3374 (cmp_struct_02_01): Likewise.
3375 (cmp_struct_02_02): Likewise.
3376 (cmp_struct_02_03): Likewise.
3377 (cmp_struct_02_04): Likewise.
3378 (cmp_struct_04_01): Likewise.
3379 (cmp_struct_04_02): Likewise.
3380 (cmp_struct_04_03): Likewise.
3381 (cmp_struct_04_04): Likewise.
3382 (cmp_struct_05_01): Likewise.
3383 (cmp_struct_05_02): Likewise.
3384 (cmp_struct_05_03): Likewise.
3385 (cmp_struct_05_04): Likewise.
3386 (call_all): Add new structs.
3387 * gdb.base/infcall-nested-structs.exp: Likewise.
3388
3389 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3390
3391 * gdb.python/py-framefilter-mi.exp: Update regexp to
3392 check for "arch" field in frame output.
3393
3394 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3395
3396 * gdb.dwarf2/dw2-ranges-func.c: New file.
3397 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3398
3399 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3400
3401 * gdb.base/term.exp: Compare terminal settings with values from
3402 the inferior.
3403 * gdb.base/term.c: Get and set terminal settings.
3404
3405 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3406
3407 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3408 accommodate new "arch" field in frame output.
3409 * gdb.mi/mi-return.exp: Likewise.
3410 * gdb.mi/mi-stack.exp: Likewise.
3411 * gdb.mi/mi-syn-frame.exp: Likewise.
3412 * gdb.mi/user-selected-context-sync.exp: Likewise.
3413
3414 2018-08-19 Michael Spang <spang@google.com>
3415
3416 PR gdb/11786
3417 * gdb.base/gcore-tls-pie.c: New file.
3418 * gdb.base/gcore-tls-pie.exp: New file.
3419
3420 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3421
3422 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3423 * gdb.dwarf2/varval.c: New file.
3424 * gdb.dwarf2/varval.exp: New file.
3425
3426 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3427
3428 PR gdb/18931
3429 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3430
3431 2018-08-16 Keith Seitz <keiths@redhat.com>
3432
3433 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3434 tests expected to pass.
3435
3436 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3437
3438 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3439 -data-disassemble -a.
3440 (test_disassembly_bogus_args): Likewise.
3441
3442 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3443
3444 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3445
3446 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3447
3448 * gdb.base/vla-optimized-out.exp: Add new test.
3449
3450 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3451
3452 * gdb.base/vla-optimized-out-o3.exp: Delete.
3453 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3454 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3455 deleted tests.
3456
3457 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3458
3459 PR gdb/18050:
3460 * gdb.server/extended-remote-restart.c: New file.
3461 * gdb.server/extended-remote-restart.exp: New file.
3462
3463 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3464
3465 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3466 "set variable index = 42".
3467
3468 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3469
3470 * boards/index-cache-gdb.exp: New file.
3471 * gdb.dwarf2/index-cache.exp: New file.
3472 * gdb.dwarf2/index-cache.c: New file.
3473 * gdb.base/maint.exp: Check if we are using the index cache.
3474
3475 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3476
3477 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3478 MAKEFLAGS.
3479
3480 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3481
3482 * dg-extract-results.sh: Move to toplevel contrib.
3483 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3484 * Makefile.in (check-parallel-racy): Likewise.
3485
3486 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3487
3488 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3489 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3490 tests if the target supports scheduler locking.
3491
3492 2018-08-04 Tom de Vries <tdevries@suse.de>
3493
3494 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3495
3496 2018-08-02 Tom Tromey <tom@tromey.com>
3497
3498 PR symtab/16842.
3499 * gdb.cp/temargs.exp: Test "info address" of a template
3500 parameter.
3501
3502 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3503
3504 * gdb.python/py-mi-var-info-path-expression.c: New file.
3505 * gdb.python/py-mi-var-info-path-expression.py: New file.
3506 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3507
3508 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3509
3510 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3511 error after "cannot resolve name" string.
3512
3513 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3514
3515 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3516 started.
3517 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3518
3519 2018-07-28 Tom de Vries <tdevries@suse.de>
3520
3521 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3522
3523 2018-07-26 Tom de Vries <tdevries@suse.de>
3524
3525 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3526
3527 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3528
3529 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3530 is visible.
3531
3532 2018-07-26 Tom de Vries <tdevries@suse.de>
3533
3534 PR breakpoints/23366
3535 * gdb.base/catch-follow-exec.c: New test.
3536 * gdb.base/catch-follow-exec.exp: New file.
3537
3538 2018-07-25 Tom de Vries <tdevries@suse.de>
3539
3540 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3541 vla-optimized-out.c.
3542
3543 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3544
3545 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3546 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3547
3548 2018-07-20 Tom de Vries <tdevries@suse.de>
3549
3550 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3551 NOCLONE macro.
3552 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3553
3554 2018-07-19 Tom de Vries <tdevries@suse.de>
3555
3556 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3557 regular expression.
3558
3559 2018-07-18 Tom de Vries <tdevries@suse.de>
3560
3561 * gdb.base/vla-optimized-out.c: New test.
3562 * gdb.base/vla-optimized-out.exp: New file.
3563
3564 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3565
3566 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3567 message "No address associated with hostname" when gdbserver
3568 cannot resolve the hostname.
3569
3570 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3571
3572 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3573 Add some test prefixes to make tests unique.
3574
3575 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3576
3577 * gdb.base/frameapply.c: New file.
3578 * gdb.base/frameapply.exp: New file.
3579
3580 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3581
3582 * gdb.base/skip.exp: Update expected error message.
3583
3584 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3585 Jan Kratochvil <jan.kratochvil@redhat.com>
3586 Paul Fertser <fercerpav@gmail.com>
3587 Tsutomu Seki <sekiriki@gmail.com>
3588
3589 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3590 parameter.
3591 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3592 by default.
3593 * boards/native-gdbserver.exp: Likewise.
3594 * gdb.server/run-without-local-binary.exp: Improve regexp used
3595 for detecting when a remote debugging connection succeeds.
3596 * gdb.server/server-connect.exp: New file.
3597 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3598 Do not prefix the port number with ":".
3599 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3600 support for detecting and using it. Add '$debughost_gdbserver'
3601 to the list of arguments used to start gdbserver. Handle case
3602 when gdbserver cannot resolve a network name.
3603
3604 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3605
3606 PR c++/23373
3607 * gdb.base/ptype-offsets.cc (struct static_member): New
3608 struct.
3609 (main) <stmember>: New variable.
3610 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3611 with a static member in it.
3612
3613 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3614
3615 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3616 watchpoints enabled and disabled.
3617
3618 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3619
3620 * gdb.base/examine-backward.exp: Still run tests around address
3621 0x0, even if address 0x0 is not readable. Update the pattern for
3622 matching address 0x0 in expected output.
3623
3624 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3625
3626 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3627 malloc/free.
3628
3629 2018-07-04 Tom de Vries <tdevries@suse.de>
3630
3631 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3632
3633 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3634
3635 PR tdep/8282
3636 * gdb.arch/mips-disassembler-options.exp: New test.
3637 * gdb.arch/mips-disassembler-options.s: New test source.
3638
3639 2018-06-29 Pedro Alves <palves@redhat.com>
3640
3641 * gdb.threads/names.exp: Adjust expected "info threads" output.
3642
3643 2018-06-29 Pedro Alves <palves@redhat.com>
3644
3645 * gdb.opt/inline-break.exp (line number, address): Add "info
3646 break" tests.
3647
3648 2018-06-29 Pedro Alves <palves@redhat.com>
3649
3650 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3651 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3652 number and address and running to them.
3653
3654 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3655
3656 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3657
3658 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3659
3660 * lib/compiler.c: Remove executable permission flag.
3661
3662 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3663
3664 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3665 code.
3666 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3667
3668 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3669
3670 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3671
3672 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3673
3674 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3675 address argument is omitted.
3676
3677 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3678
3679 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3680
3681 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3682
3683 PR gdb/21695
3684 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3685 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3686
3687 2018-06-26 Tom Tromey <tom@tromey.com>
3688
3689 PR rust/22574:
3690 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3691 * gdb.rust/simple.rs (struct SimpleLayout): New.
3692
3693 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3694
3695 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3696 "info registers" output.
3697
3698 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3699
3700 * gdb.base/watchpoint-hw-attach.c: New test.
3701 * gdb.base/watchpoint-hw-attach.exp: New file.
3702
3703 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3704
3705 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3706 through /bin/sh.
3707 * boards/dwarf4-gdb-index.exp: Likewise.
3708 * boards/fission-dwp.exp: Likewise.
3709
3710 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3711
3712 * gdb.base/float128.exp: Add comment and improved fail message
3713 to the failure case of "print large128" test.
3714
3715 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3716
3717 * configure.ac: Remove AC_PREREQ.
3718 * configure: Re-generate.
3719
3720 2018-06-19 Pedro Alves <palves@redhat.com>
3721
3722 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3723 (func_extern_caller): New.
3724 (main): Call func_extern_caller.
3725 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3726 logic change.
3727
3728 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3729
3730 PR gdb/16841
3731 * gdb.cp/typedef-base.cc: New file.
3732 * gdb.cp/typedef-base.exp: New file.
3733
3734 2018-06-18 Tom de Vries <tdevries@suse.de>
3735
3736 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3737
3738 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3739 Richard Bunt <Richard.Bunt@arm.com>
3740
3741 * gdb.threads/attach-slow-waitpid.c: New file.
3742 * gdb.threads/attach-slow-waitpid.exp: New file.
3743 * gdb.threads/slow-waitpid.c: New file.
3744
3745 2018-06-14 Pedro Alves <palves@redhat.com>
3746
3747 * gdb.base/fork-running-state.c: Include <errno.h>.
3748 (exit_if_relative_exits): New.
3749 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3750 exits.
3751 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3752 child exits.
3753
3754 2018-06-14 Tom de Vries <tdevries@suse.de>
3755
3756 PR cli/22573
3757 * gdb.base/finish-pretty.c: New test.
3758 * gdb.base/finish-pretty.exp: New file.
3759
3760 2018-06-14 Pedro Alves <palves@redhat.com>
3761
3762 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3763 gdb's expected startup output.
3764
3765 2018-06-14 Pedro Alves <palves@redhat.com>
3766
3767 * lib/selftest-support.exp (selftest_setup): Remove inlined
3768 function handling.
3769
3770 2018-06-14 Tom de Vries <tdevries@suse.de>
3771
3772 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3773 matching of breakpoint printing.
3774
3775 2018-06-13 Tom de Vries <tdevries@suse.de>
3776
3777 PR testsuite/23269
3778 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3779 (fork_child): ... here, and ...
3780 (fork_parent): ... here.
3781
3782 2018-06-12 Tom de Vries <tdevries@suse.de>
3783
3784 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3785
3786 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3787 Stephen Roberts <stephen.roberts@arm.com>
3788
3789 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3790 rewrite test to describe action performed, rather than possible
3791 failure.
3792
3793 2018-06-08 Gary Benson <gbenson@redhat.com>
3794
3795 * gdb.threads/check-libthread-db.exp: New file.
3796 * gdb.threads/check-libthread-db.c: Likewise.
3797
3798 2018-06-05 Tom Tromey <tom@tromey.com>
3799
3800 * gdb.base/default.exp: Update expected "show version" output.
3801
3802 2018-06-05 Tom Tromey <tom@tromey.com>
3803
3804 PR cli/12326:
3805 * gdb.cp/static-print-quit.exp: Update.
3806 * lib/gdb.exp (pagination_prompt): Update.
3807 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3808 * gdb.python/python.exp: Update.
3809
3810 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3811
3812 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3813
3814 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3815
3816 * gdb.ada/bp_fun_addr: New testcase.
3817
3818 2018-06-01 Tom Tromey <tom@tromey.com>
3819
3820 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3821 results.
3822 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3823 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3824 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3825 * gdb.base/maint.exp (maint_pass_if): Update.
3826
3827 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3828
3829 * gdb.base/endian.exp: New test.
3830 * gdb.base/endian.c: New test source.
3831
3832 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3833
3834 PR gdb/23203
3835 * gdb.base/bt-selected-frame.c: New file.
3836 * gdb.base/bt-selected-frame.exp: New file.
3837 * lib/gdb.exp (get_current_frame_number): New function.
3838
3839 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3840 Pedro Alves <palves@redhat.com>
3841
3842 * gdb.threads/tls-core.c: Include <stdlib.h>
3843 (thread_proc): Call `abort'.
3844 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3845 (tls_core_test): New procedure, bits factored out from ...
3846 (top level): ... here. Test both native cores and gcore cores.
3847
3848 2018-05-23 Tom Tromey <tom@tromey.com>
3849
3850 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3851
3852 2018-05-23 Tom Tromey <tom@tromey.com>
3853
3854 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3855 symfile_complaints.
3856 (test_short_complaints): Likewise.
3857 (test_empty_complaints): Likewise.
3858 (test_initial_complaints): Update.
3859
3860 2018-05-23 Tom Tromey <tom@tromey.com>
3861
3862 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3863
3864 2018-05-23 Tom Tromey <tom@tromey.com>
3865
3866 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3867 (test_short_complaints): Update.
3868
3869 2018-05-22 Pedro Alves <palves@redhat.com>
3870
3871 * gdb.base/remote.exp: Only gdb_start after compiling the
3872 testcase. Issue "disconnect" before testing "set remote" command
3873 defaults. Issue clean_restart before running to main.
3874
3875 2018-05-22 Pedro Alves <palves@redhat.com>
3876
3877 * gdb.base/remote.exp: Adjust expected output of "show remote
3878 memory-write-packet-size". Add tests for "set remote
3879 memory-write-packet-size 0" and "set remote
3880 memory-write-packet-size fixed/limit".
3881
3882 2018-05-22 Pedro Alves <palves@redhat.com>
3883
3884 PR gdb/22973
3885 * gdb.base/utf8-identifiers.c: New file.
3886 * gdb.base/utf8-identifiers.exp: New file.
3887
3888 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3889
3890 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3891
3892 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3893
3894 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3895
3896 2018-05-18 Tom Tromey <tom@tromey.com>
3897
3898 * gdb.base/ptype-offsets.exp: Update.
3899
3900 2018-05-17 Keith Seitz <keiths@redhat.com>
3901
3902 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3903 in expected breakpoint stop locations.
3904 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3905 move to proper scope to test variable values.
3906 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3907 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3908 New functions.
3909 (main): Call not_inline_func3.
3910 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3911 inline_func1, inline_func2, and inline_func3. Test that when each
3912 breakpoint is hit, GDB properly reports both the stop location
3913 and the backtrace. Repeat tests for temporary breakpoints.
3914
3915 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3916
3917 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3918 rather then trying to access it in determining whether the PID
3919 of `gdbserver' could have been retrieved.
3920
3921 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3922
3923 * gdb.arch/amd64-init-x87-values.S: New file.
3924 * gdb.arch/amd64-init-x87-values.exp: New file.
3925
3926 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3927
3928 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3929
3930 2018-05-04 Tom Tromey <tom@tromey.com>
3931
3932 PR python/22730:
3933 * gdb.python/python.exp: Test multi-line execute.
3934
3935 2018-05-04 Tom Tromey <tom@tromey.com>
3936
3937 PR python/22731:
3938 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3939
3940 2018-05-04 Tom Tromey <tom@tromey.com>
3941
3942 PR gdb/11750:
3943 * gdb.base/define.exp: Test defining a user command inside a user
3944 command.
3945 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3946
3947 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3948 Pedro Alves <palves@redhat.com>
3949
3950 PR breakpoints/19806 and support for PR external/20207.
3951 * gdb.base/watchpoint-unaligned.c: New file.
3952 * gdb.base/watchpoint-unaligned.exp: New file.
3953
3954 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3955
3956 * gdb.base/maint.exp: Make test names unique, use
3957 test_prefix_command_help to test 'help maint info', and remove
3958 repeated test of 'help maint'.
3959
3960 2018-05-04 Tom Tromey <tom@tromey.com>
3961
3962 PR gdb/22619:
3963 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3964 behavior.
3965
3966 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3967
3968 * gdb.base/maint.exp: Process output from 'maint print registers'
3969 line at a time.
3970
3971 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3972
3973 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3974 timeout.
3975
3976 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3977
3978 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3979 filter pattern.
3980
3981 2018-05-02 Pedro Alves <palves@redhat.com>
3982
3983 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3984 to_log_command renames.
3985 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3986
3987 2018-05-02 Tom Tromey <tom@tromey.com>
3988
3989 * gdb.python/py-parameter.exp: Set test message.
3990
3991 2018-05-02 Tom Tromey <tom@tromey.com>
3992
3993 PR python/20084:
3994 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3995 PARAM_ZUINTEGER_UNLIMITED tests.
3996
3997 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3998
3999 PR rust/23124
4000 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4001 when casting.
4002
4003 2018-04-30 Tom Tromey <tom@tromey.com>
4004
4005 * gdb.python/py-type.exp: Check align attribute.
4006 * gdb.python/py-type.c: New "aligncheck" global.
4007
4008 2018-04-30 Tom Tromey <tom@tromey.com>
4009
4010 PR exp/17095:
4011 * gdb.dwarf2/dw2-align.exp: New file.
4012 * gdb.cp/align.exp: New file.
4013 * gdb.base/align.exp: New file.
4014 * lib/gdb.exp (gdb_int128_helper): New proc.
4015 (has_int128_c, has_int128_cxx): New caching procs.
4016
4017 2018-04-27 Tom Tromey <tom@tromey.com>
4018
4019 PR rust/22545:
4020 * gdb.rust/simple.exp: Add inclusive range tests.
4021
4022 2018-04-26 Pedro Alves <palves@redhat.com>
4023
4024 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4025 ifunc breakpoint locations correctly of ifunc breakpoints set
4026 while the program resolves the ifunc.
4027
4028 2018-04-26 Pedro Alves <palves@redhat.com>
4029
4030 * gdb.base/gnu-ifunc-final.c: New file.
4031 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4032 * gdb.base/gnu-ifunc.exp (executable): Delete.
4033 (staticexecutable): Adjust.
4034 (lib_opts, exec_opts): Delete.
4035 (make_binsuffix, build, set-break): New procedures.
4036 (misc_tests): New, with tests factored out from the top level.
4037 (top level): Test different combinations of ifunc resolver name,
4038 resolver with and with debug info, and ifunc target with and
4039 without debug info. Wrap static tests with with_target_prefix.
4040
4041 2018-04-26 Pedro Alves <palves@redhat.com>
4042
4043 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4044 return type" warnings.
4045
4046 2018-04-25 Pedro Alves <palves@redhat.com>
4047
4048 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4049 killed".
4050 * gdb.base/kill-after-signal.exp: Likewise.
4051 * gdb.threads/kill.exp: Likewise.
4052
4053 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4054 Sergio Durigan Junior <sergiodj@redhat.com>
4055 Pedro Alves <palves@redhat.com>
4056
4057 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4058 regexps to expect for '[Inferior ... detached]' as well.
4059 * gdb.base/attach.exp: Likewise.
4060 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4061 "gdb_continue_to_end".
4062 (test_catch_syscall_with_wrong_args): Likewise.
4063 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4064 ']'. Don't set 'verbose' on.
4065 * gdb.base/foll-vfork.exp: Likewise.
4066 * gdb.base/fork-print-inferior-events.c: New file.
4067 * gdb.base/fork-print-inferior-events.exp: New file.
4068 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4069 '[Inferior ... has been killed]' message.
4070 * gdb.base/kill-after-signal.exp: Likewise.
4071 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4072 detach message.
4073 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4074 message.
4075 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4076 regexps to expect for '[Inferior ... detached]' as well.
4077 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4078
4079 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4080
4081 PR gdb/23104
4082 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4083
4084 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4085
4086 * gdb.threads/multiple-successive-infcall.c: New test.
4087 * gdb.threads/multiple-successive-infcall.exp: New file.
4088
4089 2018-04-17 Tom Tromey <tom@tromey.com>
4090
4091 * gdb.rust/simple.rs (Union): New type.
4092 (main): New local "u".
4093 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4094
4095 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4096
4097 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4098 number information in output of "whereis" command.
4099 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4100
4101 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4102
4103 * gdb.ada/info_types.exp: Adjust expected output to the line
4104 numbers now printed by "info var/func/type".
4105 * gdb.base/completion.exp: Likewise.
4106 * gdb.base/included.exp: Likewise.
4107 * gdb.cp/cp-relocate.exp: Likewise.
4108 * gdb.cp/cplusfuncs.exp: Likewise.
4109 * gdb.cp/namespace.exp: Likewise.
4110 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4111
4112 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4113
4114 * gdb.btrace/cpu.exp: New.
4115
4116 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4117
4118 * gdb.base/step-indirect-call-thunk.exp: New.
4119 * gdb.base/step-indirect-call-thunk.c: New.
4120 * gdb.reverse/step-indirect-call-thunk.exp: New.
4121 * gdb.reverse/step-indirect-call-thunk.c: New.
4122
4123 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4124
4125 * gdb.base/pie-fork.c: New file.
4126 * gdb.base/pie-fork.exp: New file.
4127
4128 2018-04-11 Tom Tromey <tom@tromey.com>
4129
4130 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4131
4132 2018-04-10 Pedro Alves <palves@redhat.com>
4133
4134 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4135 exits. Instead loop running forever.
4136 (fork_parent): Run forever too.
4137
4138 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4139
4140 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4141 mi_continue_to_line.
4142 * gdb.mi/mi-stack.c (callee4): Add comment.
4143
4144 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4145
4146 * gdb.mi/mi-stack.exp: Fix indentation.
4147
4148 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4149
4150 PR gdb/22979
4151 * gdb.arch/amd64-osabi.exp: New file.
4152
4153 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4154
4155 PR gdb/22980
4156 * gdb.base/osabi.exp: New file.
4157
4158 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4159
4160 * gdb.cp/static-typedef-print.exp: New file.
4161 * gdb.cp/static-typedef-print.cc: New file.
4162
4163 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4164
4165 * gdb.ada/varsize_limit: New testcase.
4166
4167 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4168
4169 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4170
4171 * gdb.ada/notcplusplus: New testcase.
4172
4173 * gdb.base/c-linkage-name.c: New file.
4174 * gdb.base/c-linkage-name.exp: New testcase.
4175
4176 2018-03-26 Tom Tromey <tom@tromey.com>
4177
4178 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4179 * gdb.python/py-framefilter.py (name_error): New global.
4180 (ErrorInName.function): Use name_error.
4181
4182 2018-03-26 Tom Tromey <tom@tromey.com>
4183
4184 PR backtrace/15582:
4185 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4186
4187 2018-03-23 Keith Seitz <keiths@redhat.com>
4188
4189 PR c++/22968
4190 * gdb.cp/subtypes.exp: New file.
4191 * gdb.cp/subtypes.h: New file.
4192 * gdb.cp/subtypes.cc: New file.
4193 * gdb.cp/subtypes-2.cc: New file.
4194
4195 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4196
4197 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4198 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4199 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4200 -nostartfiles when compiling the test. Confirm that all registers
4201 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4202
4203 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4204
4205 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4206 option, syntax was wrong anyway.
4207 * gdb.arch/arm-disp-step.exp: Likewise.
4208 * gdb.arch/sparc64-regs.exp: Likewise.
4209 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4210 option, syntax was wrong anyway, switch to use
4211 prepare_for_testing.
4212 * gdb.arch/i386-disp-step.exp: Likewise.
4213
4214 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4215
4216 * gdb.ada/exec_changed.exp: Replace "target_info exists
4217 use_gdb_stub" by "use_gdb_stub".
4218 * gdb.ada/start.exp: Likewise.
4219 * gdb.base/async-shell.exp: Likewise.
4220 * gdb.base/attach-pie-misread.exp: Likewise.
4221 * gdb.base/attach-wait-input.exp: Likewise.
4222 * gdb.base/break-entry.exp: Likewise.
4223 * gdb.base/break-interp.exp: Likewise.
4224 * gdb.base/dprintf-detach.exp: Likewise.
4225 * gdb.base/nostdlib.exp: Likewise.
4226 * gdb.base/solib-nodir.exp: Likewise.
4227 * gdb.base/statistics.exp: Likewise.
4228 * gdb.base/testenv.exp: Likewise.
4229 * gdb.mi/mi-exec-run.exp: Likewise.
4230 * gdb.mi/mi-start.exp: Likewise.
4231 * gdb.multi/dummy-frame-restore.exp: Likewise.
4232 * gdb.multi/multi-arch-exec.exp: Likewise.
4233 * gdb.multi/multi-arch.exp: Likewise.
4234 * gdb.multi/tids.exp: Likewise.
4235 * gdb.multi/watchpoint-multi.exp: Likewise.
4236 * gdb.python/py-events.exp: Likewise.
4237 * gdb.threads/attach-into-signal.exp: Likewise.
4238 * gdb.threads/attach-stopped.exp: Likewise.
4239 * gdb.threads/threadapply.exp: Likewise.
4240 * lib/selftest-support.exp: Likewise.
4241
4242 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4243
4244 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4245
4246 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4247
4248 * gdb.perf/template-breakpoints.cc: New file.
4249 * gdb.perf/template-breakpoints.exp: New file.
4250 * gdb.perf/template-breakpoints.py: New file.
4251
4252 2018-03-19 Tom Tromey <tom@tromey.com>
4253
4254 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4255 y0.
4256 * gdb.rust/simple.exp: Test bare identifier form of struct
4257 initializer.
4258
4259 2018-03-19 Tom Tromey <tom@tromey.com>
4260
4261 * gdb.gdb/observer.exp: Remove.
4262
4263 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4264
4265 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4266 "qualified" option when setting breakpoints.
4267 * gdb.trace/backtrace.exp: Likewise.
4268 * gdb.trace/circ.exp: Likewise.
4269 * gdb.trace/collection.exp: Likewise.
4270 * gdb.trace/disconnected-tracing.exp: Likewise.
4271 * gdb.trace/ftrace-lock.exp: Likewise.
4272 * gdb.trace/ftrace.exp: Likewise.
4273 * gdb.trace/infotrace.exp: Likewise.
4274 * gdb.trace/packetlen.exp: Likewise.
4275 * gdb.trace/passc-dyn.exp: Likewise.
4276 * gdb.trace/qtro.exp: Likewise.
4277 * gdb.trace/read-memory.exp: Likewise.
4278 * gdb.trace/report.exp: Likewise.
4279 * gdb.trace/signal.exp: Likewise.
4280 * gdb.trace/status-stop.exp: Likewise.
4281 * gdb.trace/strace.exp: Likewise.
4282 * gdb.trace/tfind.exp: Likewise.
4283 * gdb.trace/trace-break.exp: Likewise.
4284 * gdb.trace/trace-condition.exp: Likewise.
4285 * gdb.trace/trace-mt.exp: Likewise.
4286 * gdb.trace/tstatus.exp: Likewise.
4287 * gdb.trace/tsv.exp: Likewise.
4288 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4289 * gdb.trace/unavailable.exp: Likewise.
4290 * gdb.trace/while-dyn.exp: Likewise.
4291
4292 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4293
4294 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4295 that libinproctrace is copied to the target.
4296
4297 2018-03-14 Tom Tromey <tom@tromey.com>
4298
4299 PR cli/14977:
4300 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4301 a null pointer.
4302 * gdb.base/wchar.exp: Likewise.
4303
4304 2018-03-14 Tom Tromey <tom@tromey.com>
4305
4306 PR cli/19918:
4307 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4308 flag.
4309
4310 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4311
4312 PR gdb/22841
4313 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4314 "target" to remote_exec.
4315
4316 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4317
4318 PR gdb/22841
4319 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4320 ${board}_upload): Remove.
4321
4322 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4323
4324 * gdb.cp/watch-cp.cc: New test.
4325 * gdb.cp/watch-cp.exp: New file.
4326
4327 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4328
4329 * gdb.base/infcall-nested-structs.exp: New file.
4330 * gdb.base/infcall-nested-structs.c: New file.
4331 * gdb.base/float.exp: Add riscv support.
4332
4333 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4334
4335 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4336 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4337
4338 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4339
4340 * gdb.server/abspath.exp: New file.
4341 * lib/gdb.exp (with_cwd): New procedure.
4342
4343 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4344
4345 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4346 use it.
4347 (gdb_is_target_remote_prompt): New proc.
4348 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4349 (gdb_is_target_native): Pass prompt parameter to
4350 gdb_is_target_1.
4351
4352 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4353
4354 * gdb.base/load-command.c: New file.
4355 * gdb.base/load-command.exp: New file.
4356 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4357 (gdb_is_target_1): ...this, and generalize for other targets
4358 than just remote.
4359 (gdb_is_target_remote): Use gdb_is_target_1.
4360 (gdb_is_target_native): use gdb_is_target_1.
4361
4362 2018-02-26 Tom Tromey <tom@tromey.com>
4363
4364 PR python/16497:
4365 * gdb.python/py-framefilter.exp: Update test.
4366
4367 2018-02-26 Tom Tromey <tom@tromey.com>
4368
4369 * gdb.dwarf2/variant.c: New file.
4370 * gdb.dwarf2/variant.exp: New file.
4371
4372 2018-02-26 Tom Tromey <tom@tromey.com>
4373
4374 * gdb.rust/simple.exp: Accept more possible results in enum test.
4375
4376 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4377
4378 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4379 parentheses.
4380
4381 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4382
4383 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4384 name of a variable: $actual_linejj -> $actual_line.
4385
4386 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4387
4388 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4389
4390 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4391
4392 * gdb.btrace/buffer-size.exp: Do not force BTS.
4393
4394 2018-02-14 Pedro Alves <palves@redhat.com>
4395
4396 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4397 getting a "Quit".
4398
4399 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4400
4401 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4402 Fix test name.
4403
4404 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4405
4406 * gdb.cp/m-static.exp: Check type of optimized out static
4407 member.
4408
4409 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4410
4411 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4412 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4413
4414 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4415 Leszek Swirski <leszeks@google.com>
4416
4417 * gdb.python/py-prettyprint.c
4418 (struct to_string_returns_value_inner,
4419 struct to_string_returns_value_wrapper): New.
4420 (main): Add tsrvw variable.
4421 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4422 ToStringReturnsValueWrapper): New classes.
4423 (register_pretty_printers): Register new pretty-printers.
4424 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4425 recursive pretty printer.
4426 * gdb.python/py-mi.exp: Likewise.
4427
4428 2018-02-01 Leszek Swirski <leszeks@google.com>
4429
4430 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4431 functions with the same name as an include file are parsed
4432 correctly.
4433
4434 2018-02-01 Yao Qi <yao.qi@linaro.org>
4435
4436 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4437 "\[^\r\n\]*".
4438
4439 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4440
4441 * gdb.arch/powerpc-prologue-frame.s: New file.
4442 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4443 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4444
4445 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4446
4447 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4448
4449 2018-01-30 Pedro Alves <palves@redhat.com>
4450
4451 PR gdb/13211
4452 * gdb.base/interrupt-daemon.c: New.
4453 * gdb.base/interrupt-daemon.exp: New.
4454 * gdb.multi/multi-term-settings.c: New.
4455 * gdb.multi/multi-term-settings.exp: New.
4456
4457 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4458
4459 * gdb.base/break.exp: Save the location where the breakpoint
4460 on break.c:47 was actually inserted when debugging the version
4461 compiled at -O2 and use it in the expected output of the "info
4462 break" test performed soon after.
4463
4464 2018-01-22 Pedro Alves <palves@redhat.com>
4465 Sergio Durigan Junior <sergiodj@redhat.com>
4466
4467 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4468 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4469
4470 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4471
4472 * gdb.base/break-include.c, gdb.base/break-include.inc,
4473 gdb.base/break-include.exp: New files.
4474 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4475 line number now being the actual line number where the breakpoint
4476 was inserted.
4477 * gdb.mi/mi-break.exp: Likewise.
4478 * gdb.mi/mi-reverse.exp: Likewise.
4479 * gdb.mi/mi-simplerun.exp: Ditto.
4480
4481 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4482
4483 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4484 varobj.
4485 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4486
4487 2018-01-21 Don Breazeal <donb@codesourcery.com>
4488 Andrew Burgess <andrew.burgess@embecosm.com>
4489
4490 * gdb.mi/basics.c: Add new global.
4491 * gdb.mi/mi-frame-regs.exp: New file.
4492 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4493 case.
4494
4495 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4496
4497 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4498 non-parameter, and on an unknown symbol.
4499
4500 2018-01-19 Tom Tromey <tom@tromey.com>
4501
4502 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4503 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4504
4505 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4506
4507 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4508 setrlimit and chdir to int.
4509
4510 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4511
4512 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4513 function.
4514 (my_tend): Likewise.
4515 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4516 rationale of avoiding FP- and vector instructions.
4517
4518 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4519
4520 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4521 "info reg" with "\[ \t\]*".
4522 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4523 "\[ \t\]+".
4524 * gdb.arch/s390-multiarch.exp: Ditto.
4525 * gdb.base/pc-fp.exp: Ditto.
4526 * gdb.reverse/i386-precsave.exp: Ditto.
4527 * gdb.reverse/i386-reverse.exp: Ditto.
4528 * gdb.reverse/i387-env-reverse.exp: Ditto.
4529 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4530
4531 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4532
4533 * lib/gdb.exp (gdb_compile): Re-enable use of
4534 universal_compile_options for languages other than Rust.
4535
4536 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4537
4538 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4539
4540 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4541
4542 PR gdb/16577
4543 * gdb.base/solib-vanish.exp: New.
4544 * gdb.base/solib-vanish-main.c: New.
4545 * gdb.base/solib-vanish-lib1.c: New.
4546 * gdb.base/solib-vanish-lib2.c: New.
4547
4548 2018-01-17 Yao Qi <yao.qi@linaro.org>
4549
4550 * gdb.compile/compile.exp: Match the address printed for
4551 frame in the output of command "bt".
4552
4553 2018-01-15 Tom Tromey <tom@tromey.com>
4554
4555 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4556 compute sp_reg.
4557
4558 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4559
4560 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4561 to prepare.
4562 (prepare): Return 0 on error, 1 on success.
4563
4564 2018-01-12 Pedro Alves <palves@redhat.com>
4565
4566 * gdb.base/continue-after-aborted-step-over.c: New.
4567 * gdb.base/continue-after-aborted-step-over.exp: New.
4568
4569 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4570
4571 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4572 options when not creating an executable.
4573
4574 2018-01-11 Pedro Alves <palves@redhat.com>
4575
4576 PR remote/22597
4577 * gdb.server/stop-reply-no-thread.c: New file.
4578 * gdb.server/stop-reply-no-thread.exp: New file.
4579
4580 2018-01-10 Pedro Alves <palves@redhat.com>
4581
4582 PR gdb/22670
4583 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4584 functions too. Test setting breakpoints and printing C functions
4585 with no debug info too.
4586 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4587
4588 2018-01-10 Pedro Alves <palves@redhat.com>
4589
4590 PR gdb/22670
4591 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4592 a fail.
4593
4594 2018-01-10 Pedro Alves <palves@redhat.com>
4595
4596 PR gdb/22670
4597 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4598
4599 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4600
4601 * gdb.server/unittest.exp: Match the output in non-development
4602 mode.
4603
4604 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4605
4606 * gdb.gdb/unittest.exp: Match output in non-development mode.
4607
4608 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4609
4610 * gdb.ada/access_tagged_param.exp: Relax expected output
4611 for value of "ObjL" in "continue" to pck.inspect breakpoint
4612 test.
4613
4614 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4615
4616 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4617 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4618
4619 2018-01-05 Pedro Alves <palves@redhat.com>
4620
4621 PR gdb/18653
4622 * gdb.base/libsegfault.exp: New.
4623
4624 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4625
4626 PR gdb/22670
4627 * gdb.ada/access_tagged_param.exp: New file.
4628 * gdb.ada/access_tagged_param/foo.adb: New file.
4629
4630 2018-01-05 Pedro Alves <palves@redhat.com>
4631
4632 PR gdb/22670
4633 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4634 exercise lower case too, and to exercise both full matching and
4635 wild matching.
4636
4637 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4638
4639 * gdb.ada/rename_subscript_param: New testcase.
4640
4641 2018-01-05 Jerome Guitton <guitton@adacore.com>
4642
4643 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4644
4645 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4646
4647 * gdb.ada/convvar_comp: New testcase.
4648
4649 2018-01-05 Xavier Roirand <roirand@adacore.com>
4650
4651 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4652 (My_Table): New global variable.
4653 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4654
4655 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4656
4657 PR gdb/22670
4658 * gdb.ada/maint_with_ada: New testcase.
4659
4660 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4661
4662 PR gdb/22670
4663 * gdb.ada/bp_c_mixed_case: New testcase.
4664
4665 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4666
4667 PR gdb/22670
4668 * gdb.ada/complete.exp: Add "complete break ada" test.
4669
4670 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4671
4672 PR gdb/22670
4673 * gdb.ada/info_addr_mixed_case: New testcase.
4674
4675 2018-01-03 Xavier Roirand <roirand@adacore.com>
4676
4677 * gdb.ada/excep_handle.exp: New testcase.
4678 * gdb.ada/excep_handle/foo.adb: New file.
4679 * gdb.ada/excep_handle/pck.ads: New file.
4680
4681 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4682
4683 * gdb.base/step-line.c: Add extra empty line in copyright header.
4684 * gdb.base/step-line.inp: Likewise.
4685
4686 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4687
4688 * gdb.ada/dyn_stride.exp: Add slice test.
4689
4690 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4691
4692 * gdb.ada/dyn_stride: New testcase.
4693
4694 2017-12-27 Stafford Horne <shorne@gmail.com>
4695
4696 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4697 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4698
4699 2017-12-27 Stafford Horne <shorne@gmail.com>
4700
4701 * gdb.base/reggroups.c: New file.
4702 * gdb.base/reggroups.exp: New file.
4703
4704 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4705
4706 * gdb.dwarf2/ada-valprint-error.c: New file.
4707 * gdb.dwarf2/ada-valprint-error.exp: New file.
4708
4709 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4710
4711 * gdb.ada/assign_arr: New testcase.
4712
4713 2017-12-18 Xavier Roirand <roirand@adacore.com>
4714
4715 * gdb.ada/funcall_ptr: New testcase.
4716
4717 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4718
4719 PR cli/16224
4720 * gdb.base/ptype-offsets.cc: New file.
4721 * gdb.base/ptype-offsets.exp: New file.
4722
4723 2017-12-15 Yao Qi <yao.qi@linaro.org>
4724
4725 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4726 if XML is disabled.
4727
4728 2017-12-15 Xavier Roirand <roirand@adacore.com>
4729
4730 * gdb.ada/same_component_name: New testcase.
4731
4732 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4733
4734 * gdb.ada/str_binop_equal: New testcase.
4735
4736 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4737
4738 * gdb.ada/task_switch_in_core: New testcase.
4739
4740 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4741
4742 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4743 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4744 call test_bkpt_qualified.
4745 (test_bkpt_qualified): New proc.
4746
4747 2017-12-13 Pedro Alves <palves@redhat.com>
4748
4749 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4750 Tighten regexp by matching with an anchor.
4751
4752 2017-12-13 Pedro Alves <palves@redhat.com>
4753
4754 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4755 ("expression with namespace"): New set of tests.
4756 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4757 (Nested::Test_NS::qux): New.
4758 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4759 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4760
4761 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4762
4763 * gdb.base/server-del-break.c: New file.
4764 * gdb.base/server-del-break.exp: New file.
4765
4766 2017-12-12 Stafford Horne <shorne@gmail.com>
4767
4768 * gdb.xml/tdesc-regs.exp: Add or1k support.
4769
4770 2017-12-12 Stafford Horne <shorne@gmail.com>
4771
4772 * gdb.base/bp-permanent.c: Define nop of or1k.
4773
4774 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4775
4776 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4777 output with components being reordered.
4778
4779 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4780
4781 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4782 output with components being reordered.
4783
4784 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4785 Pedro Alves <palves@redhat.com>
4786
4787 * gdb.base/maint.exp (check for .gdb_index): Check also for
4788 .debug_names.
4789 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4790 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4791 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4792 (.gdb_index used after symbol reloading): Support also .debug_names.
4793 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4794
4795 2017-12-08 Yao Qi <yao.qi@linaro.org>
4796
4797 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4798 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4799
4800 2017-12-08 Yao Qi <yao.qi@linaro.org>
4801
4802 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4803 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4804
4805 2017-12-08 Yao Qi <yao.qi@linaro.org>
4806
4807 * gdb.arch/aarch64-tagged-pointer.c: New file.
4808 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4809
4810 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4811
4812 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4813 "int".
4814
4815 2017-12-07 Keith Seitz <keiths@redhat.com>
4816
4817 PR breakpoints/22569
4818 * gdb.linespec/ls-errs.exp: Change expected result of "break
4819 -source this file has spaces.c -line 3".
4820 Check that an explicit source file followed by whitespace is
4821 identified as an invalid explicit location.
4822
4823 2017-12-07 Keith Seitz <keiths@redhat.com>
4824
4825 * gdb.cp/nested-types.cc: New file.
4826 * gdb.cp/nested-types.exp: New file.
4827 * lib/cp-support.exp: Load data-structures.exp library.
4828 (debug_cp_test_ptype_class): New global.
4829 (cp_ptype_class_verbose, next_line): New procedures.
4830 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4831 Add and document new return value.
4832 Switch the list of lines to a queue.
4833 Add support for new `type' key for nested type definitions.
4834 Add debugging/troubleshooting messages.
4835 * lib/data-structures.exp: New file.
4836
4837 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4838
4839 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4840 with proc_with_prefix, don't use with_test_prefix.
4841
4842 2017-12-07 Tom Tromey <tom@tromey.com>
4843
4844 * gdb.base/break.exp: Add test for empty "commands".
4845
4846 2017-12-07 Yao Qi <yao.qi@linaro.org>
4847
4848 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4849 malloc and catch syscall.
4850
4851 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4852
4853 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4854 tests for explicit locations.
4855
4856 2017-12-06 Pedro Alves <palves@redhat.com>
4857
4858 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4859 force-disabling XML descriptions.
4860
4861 2017-12-04 Pedro Alves <palves@redhat.com>
4862
4863 PR gdb/22499
4864 * gdb.arch/amd64-disp-step-avx.S: New file.
4865 * gdb.arch/amd64-disp-step-avx.exp: New file.
4866
4867 2017-12-03 Pedro Alves <palves@redhat.com>
4868
4869 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4870 and <string.h>.
4871 (parent_function): Print distinct messages when waitpid fails, or
4872 the child exits with a signal, or the child exits for an unhandled
4873 reason.
4874 * gdb.threads/process-dies-while-detaching.exp
4875 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4876 it. Wait for both inferior output and GDB's prompt. Use an
4877 indirect spawn id list.
4878 (do_detach): New parameter 'child_exit'. Use it to compute
4879 expected inferior output.
4880 (test_detach, test_detach_watch, test_detach_killed_outside):
4881 Adjust to pass down the expected child exit kind.
4882
4883 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4884 Sergio Durigan Junior <sergiodj@redhat.com>
4885 Pedro Alves <palves@redhat.com>
4886
4887 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4888
4889 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4890
4891 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4892 to 'symbol-file' and 'add-symbol-file' can be
4893 position-independent.
4894
4895 2017-12-01 Yao Qi <yao.qi@linaro.org>
4896
4897 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4898 the URL in copyright header.
4899 * gdb.arch/aarch64-fp.exp: Likewise.
4900 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4901 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4902 * gdb.base/expand-psymtabs.exp: Likewise.
4903 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4904 * gdb.fortran/common-block.exp: Likewise.
4905 * gdb.fortran/common-block.f90: Likewise.
4906 * gdb.fortran/logical.exp: Likewise.
4907 * gdb.fortran/vla-datatypes.f90: Likewise.
4908 * gdb.fortran/vla-sub.f90: Likewise.
4909
4910 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4911
4912 * gdb.ada/repeat_dyn: New testcase.
4913
4914 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4915
4916 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4917 Update for changed thread numbering.
4918 * gdb.cell/bt.exp: Update for changed GDB output.
4919
4920 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4921
4922 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4923 setting isremote by hand.
4924 * boards/dwarf4-gdb-index.exp: Likewise.
4925 * boards/fission.exp: Likewise.
4926 * boards/stabs.exp: Likewise.
4927
4928 2017-11-30 Pedro Alves <palves@redhat.com>
4929
4930 * gdb.linespec/cpls-ops.exp
4931 (check_explicit_skips_function_argument): Extract the underlying
4932 type of size_t instead of hardcoding it.
4933
4934 2017-11-29 Pedro Alves <palves@redhat.com>
4935
4936 PR c++/19436
4937 * gdb.linespec/cpls-abi-tag.cc: New file.
4938 * gdb.linespec/cpls-abi-tag.exp: New file.
4939
4940 2017-11-29 Pedro Alves <palves@redhat.com>
4941
4942 * gdb.base/langs.exp: Use -qualified.
4943 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4944 it.
4945 * gdb.cp/namespace.exp: Use -qualified.
4946 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4947 (overload-3, template-overload, template-ret-type, const-overload)
4948 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4949 procedures.
4950 (test_driver): Call them.
4951 * gdb.cp/save-bp-qualified.cc: New.
4952 * gdb.cp/save-bp-qualified.exp: New.
4953 * gdb.linespec/explicit.exp: Test -qualified.
4954 * lib/completion-support.exp (completion::explicit_opts_list): Add
4955 "-qualified".
4956 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4957
4958 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4959
4960 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4961
4962 2017-11-29 Tom Tromey <tom@tromey.com>
4963
4964 * gdb.base/relocate.exp: Update invalid argument test.
4965 Add new tests for invalid arguments.
4966
4967 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4968
4969 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4970 Return 0 as a long.
4971 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4972
4973 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4974
4975 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4976 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4977 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4978 func ().
4979 * gdb.cp/shadow.cc (B.func): Return 0.
4980
4981 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4982
4983 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4984 expected output in gdb_expect call to allow the exception
4985 message to be present as well. Fix syntax confusion to avoid
4986 TCL thinking that exception_name is an array.
4987
4988 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4989
4990 * gdb.arch/spu-info.c: Include <unistd.h>.
4991 (do_signal_test): Fix broken calls to write.
4992 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4993 Fix checks for empty mailboxes. Update signal tests for corrected
4994 do_signal_test routine. Allow nonzero event status.
4995 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4996 * gdb.cell/arch.exp: Use standard_output_file.
4997 * gdb.cell/break.exp: Likewise.
4998 * gdb.cell/bt.exp: Likewise.
4999 * gdb.cell/core.exp: Likewise.
5000 * gdb.cell/dwarfaddr.exp: Likewise.
5001 * gdb.cell/ea-cache.exp: Likewise.
5002 * gdb.cell/ea-standalone.exp: Likewise.
5003 * gdb.cell/f-regs.exp: Likewise.
5004 * gdb.cell/fork.exp: Likewise.
5005 * gdb.cell/gcore.exp: Likewise.
5006 * gdb.cell/mem-access.exp: Likewise.
5007 * gdb.cell/ptype.exp: Likewise.
5008 * gdb.cell/registers.exp: Likewise.
5009 * gdb.cell/sizeof.exp: Likewise.
5010 * gdb.cell/solib-symbol.exp: Likewise.
5011 * gdb.cell/solib.exp: Likewise.
5012
5013 2017-11-25 Pedro Alves <palves@redhat.com>
5014
5015 * gdb.base/complete-empty.exp: New file.
5016 * gdb.base/completion.exp: Adjust.
5017
5018 2017-11-25 Pedro Alves <palves@redhat.com>
5019
5020 * gdb.linespec/cpls-ops.cc: New file.
5021 * gdb.linespec/cpls-ops.exp: New file.
5022 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5023 factored out from ...
5024 (test_complete_prefix_range): ... this.
5025
5026 2017-11-24 Pedro Alves <palves@redhat.com>
5027
5028 * gdb.linespec/cpcompletion.exp: New file.
5029 * gdb.linespec/cpls-hyphen.cc: New file.
5030 * gdb.linespec/cpls.cc: New file.
5031 * gdb.linespec/cpls2.cc: New file.
5032 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5033 test to use test_gdb_complete_unique. Add label completion,
5034 keyword completion and explicit location completion tests.
5035 * lib/completion-support.exp: New file.
5036
5037 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5038
5039 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5040 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5041 when hitting an exception catchpoint.
5042
5043 2017-11-22 Yao Qi <yao.qi@linaro.org>
5044
5045 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5046
5047 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5048
5049 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5050 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5051 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5052
5053 2017-11-22 Yao Qi <yao.qi@linaro.org>
5054
5055 * gdb.base/info-os.exp: Pass pthreads.
5056 * gdb.multi/multi-attach.exp: Likewise.
5057
5058 2017-11-22 Yao Qi <yao.qi@linaro.org>
5059
5060 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5061 compiler.
5062
5063 2017-11-22 Yao Qi <yao.qi@linaro.org>
5064
5065 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5066 * gdb.base/break-interp.exp: Likewise.
5067 * gdb.base/jit-attach-pie.exp: Likewise.
5068
5069 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5070
5071 * gdb.base/float128.c (large128): New variable.
5072 * gdb.base/float128.exp: Add test to print largest __float128 value.
5073
5074 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5075
5076 * gdb.arch/vsx-regs.exp: Update register content checks.
5077
5078 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5079
5080 * gdb.arch/ppc-longdouble.exp: New file.
5081 * gdb.arch/ppc-longdouble.c: Likewise.
5082
5083 2017-11-21 Pedro Alves <palves@redhat.com>
5084
5085 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5086
5087 2017-11-20 Pedro Alves <palves@redhat.com>
5088
5089 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5090 (long_double_typedef): New typedefs.
5091 Use DEF on double and long double.
5092 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5093 cases.
5094 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5095 and 'long_double_ptr_same_size' locals. Use them to decide
5096 whether cast from array/function to float is valid/invalid.
5097
5098 2017-11-17 Tom Tromey <tom@tromey.com>
5099
5100 * gdb.rust/traits.rs: New file.
5101 * gdb.rust/traits.exp: New file.
5102
5103 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5104
5105 * gdb.ada/minsyms: New testcase.
5106
5107 2017-11-16 Pedro Alves <palves@redhat.com>
5108
5109 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5110 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5111
5112 2017-11-16 Pedro Alves <palves@redhat.com>
5113
5114 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5115 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5116
5117 2017-11-16 Pedro Alves <palves@redhat.com>
5118
5119 * gdb.server/reconnect-ctrl-c.c: New file.
5120 * gdb.server/reconnect-ctrl-c.exp: New file.
5121
5122 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5123
5124 * gdb.python/py-rbreak.exp: New file.
5125 * gdb.python/py-rbreak.c: New file.
5126 * gdb.python/py-rbreak-func2.c: New file.
5127
5128 2017-11-16 Pedro Alves <palves@redhat.com>
5129
5130 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5131 pattern.
5132 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5133 GDB.
5134
5135 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5136
5137 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5138 regex.
5139
5140 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5141
5142 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5143 test names.
5144
5145 2017-11-09 Pedro Alves <palves@redhat.com>
5146
5147 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5148 factored out from ...
5149 (top level): ... here, and adjusted to avoid expecting beyond the
5150 prompt in a single gdb_test_multiple.
5151
5152 2017-11-09 Pedro Alves <palves@redhat.com>
5153
5154 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5155 output.
5156 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5157 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5158 * gdb.server/ext-run.exp ("kill" test): Likewise.
5159 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5160
5161 2017-11-09 Pedro Alves <palves@redhat.com>
5162
5163 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5164 match till end of line.
5165
5166 2017-11-09 Pedro Alves <palves@redhat.com>
5167
5168 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5169
5170 2017-11-09 Pedro Alves <palves@redhat.com>
5171
5172 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5173 New procedures, factored out from ...
5174 (top level): ... here, and adjusted to avoid expecting beyond the
5175 prompt in one go.
5176
5177 2017-11-09 Pedro Alves <palves@redhat.com>
5178
5179 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5180 output. Fix '?' match.
5181
5182 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5183
5184 * gdb.ada/scoped_watch: New testcase.
5185 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5186 which is actually correct.
5187 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5188 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5189
5190 2017-11-08 Pedro Alves <palves@redhat.com>
5191
5192 * gdb.gdb/complaints.exp (test_initial_complaints)
5193 (test_serial_complaints, test_short_complaints): Call
5194 complaint_internal instead of complaint.
5195
5196 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5197
5198 * gdb.threads/tls-core.c: New file.
5199 * gdb.threads/tls-core.exp: Likewise.
5200
5201 2017-11-08 Pedro Alves <palves@redhat.com>
5202
5203 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5204 (p Exported_Capitalized): New test.
5205 (p exported_capitalized): New test.
5206
5207 2017-11-07 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5210
5211 2017-11-07 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5214 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5215 (disable_invalid, disable_inverted, disable_negative): New
5216 procedures.
5217 ("bad numbers"): New set of tests.
5218
5219 2017-11-07 Pedro Alves <palves@redhat.com>
5220
5221 * gdb.cp/ena-dis-br-range.exp: Add tests.
5222
5223 2017-11-07 Pedro Alves <palves@redhat.com>
5224
5225 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5226
5227 2017-11-07 Xavier Roirand <roirand@adacore.com>
5228 Pedro Alves <palves@redhat.com>
5229
5230 * gdb.base/ena-dis-br.exp: Add reference to
5231 gdb.cp/ena-dis-br-range.exp.
5232 * gdb.cp/ena-dis-br-range.exp: New file.
5233 * gdb.cp/ena-dis-br-range.cc: New file.
5234
5235 2017-11-06 Pedro Alves <palves@redhat.com>
5236
5237 * gdb.base/attach-non-pgrp-leader.c: New.
5238 * gdb.base/attach-non-pgrp-leader.exp: New.
5239
5240 2017-11-06 Pedro Alves <palves@redhat.com>
5241
5242 * configure.ac: No longer check for termio.h and sgtty.h.
5243 * configure: Regenerate.
5244 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5245 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5246 Remove termio and sgtty code.
5247
5248 2017-11-03 Yao Qi <yao.qi@linaro.org>
5249
5250 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5251 in GDB is disabled.
5252
5253 2017-11-03 Yao Qi <yao.qi@linaro.org>
5254
5255 * gdb.python/py-thrhandle.exp: Skip it if python is not
5256 enabled.
5257
5258 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5259
5260 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5261 as a breakpoint command.
5262
5263 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5264
5265 PR python/21213
5266 * gdb.python/py-infthread.exp: Test calling
5267 InferiorThread.inferior () multiple times in a row.
5268
5269 2017-10-27 Keith Seitz <keiths@redhat.com>
5270
5271 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5272 Test "info break" for every inlined function breakpoint.
5273
5274 2017-10-27 Yao Qi <yao.qi@linaro.org>
5275
5276 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5277
5278 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5279
5280 * gdb.cp/classes.exp (test_static_members): Test printing
5281 Outer::instance.
5282 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5283 (Inner::instance, Outer::instance): New.
5284
5285 2017-10-24 Pedro Alves <palves@redhat.com>
5286
5287 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5288 extra console" test in two stages.
5289
5290 2017-10-24 Pedro Alves <palves@redhat.com>
5291
5292 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5293
5294 2017-10-24 Pedro Alves <palves@redhat.com>
5295
5296 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5297 loop.
5298
5299 2017-10-24 Pedro Alves <palves@redhat.com>
5300
5301 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5302 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5303
5304 2017-10-24 Pedro Alves <palves@redhat.com>
5305
5306 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5307 parameter and handle it. Don't output read value in test name.
5308
5309 2017-10-24 Pedro Alves <palves@redhat.com>
5310
5311 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5312 custom test name.
5313
5314 2017-10-24 Pedro Alves <palves@redhat.com>
5315
5316 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5317 include the unstable output directory name in the test's name.
5318 (initial_setup_simple) <'set args'>: Use custom test name.
5319
5320 2017-10-24 Pedro Alves <palves@redhat.com>
5321
5322 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5323 with explicit test name.
5324
5325 2017-10-20 Pedro Alves <palves@redhat.com>
5326
5327 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5328 'wait -i'. Use gdb_assert and remote_close.
5329
5330 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5331
5332 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5333 number from variable rather than hard-coded.
5334
5335 2017-10-19 Pedro Alves <palves@redhat.com>
5336
5337 * gdb.base/long-inferior-output.c: New file.
5338 * gdb.base/long-inferior-output.exp: New file.
5339
5340 2017-11-18 Keith Seitz <keiths@redhat.com>
5341
5342 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5343 method.
5344 (main): Call it.
5345 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5346 Add additional user-defined conversion operator tests.
5347
5348 2017-10-17 Pedro Alves <palves@redhat.com>
5349
5350 * boards/native-stdio-gdbserver.exp: Load "local-board".
5351
5352 2017-10-17 Pedro Alves <palves@redhat.com>
5353
5354 * gdb.base/quit-live.c: New file.
5355 * gdb.base/quit-live.exp: New file.
5356
5357 2017-10-16 Keith Seitz <keiths@redhat.com>
5358
5359 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5360 (class_with_protected_typedef, class_with_private_typedef)
5361 (struct_with_public_typedef, struct_with_protected_typedef)
5362 (struct_with_private_typedef): New classes/structs.
5363 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5364 typedefs and access specifiers.
5365
5366 2017-10-16 Pedro Alves <palves@redhat.com>
5367 Simon Marchi <simon.marchi@polymtl.ca>
5368
5369 * README (Local vs Remote vs Native): New section.
5370 * boards/local-board.exp: New file, with bits factored out from
5371 ...
5372 * boards/native-extended-gdbserver.exp: ... here. Load
5373 "local-board".
5374 * boards/native-gdbserver.exp: Load "local-board".
5375 (${board}_spawn, ${board}_exec): Delete.
5376 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5377 ...
5378 * boards/stdio-gdbserver-base.exp: ... this new file.
5379 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5380 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5381 procedure.
5382 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5383 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5384 stdio_gdbserver_command.
5385 (${board}_get_remote_address, ${board}_get_comm_port)
5386 (${board}_download, ${board}_upload): Delete.
5387 (get_target_remote_pipe_cmd): New.
5388
5389 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5390
5391 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5392 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5393 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5394 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5395 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5396 remove with_test_prefix.
5397
5398 2017-10-13 Pedro Alves <palves@redhat.com>
5399
5400 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5401 * gdb.base/annota1.exp: Use it instead of is_remote.
5402 * gdb.base/annota3.exp: Use it instead of is_remote.
5403 * gdb.cp/annota2.exp: Use it instead of is_remote.
5404 * gdb.cp/annota3.exp: Use it instead of is_remote.
5405 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5406
5407 2017-10-13 Pedro Alves <palves@redhat.com>
5408
5409 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5410 (test_num_test_vars, run_and_count_vars, find_env)
5411 (test_set_unset_env, test_inherit_env_var): New procedures.
5412 (top level): Use them.
5413
5414 2017-10-13 Pedro Alves <palves@redhat.com>
5415
5416 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5417 also skip on stub-like targets.
5418
5419 2017-10-13 Pedro Alves <palves@redhat.com>
5420
5421 PR gdb/22293
5422 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5423 (top level): Move some tests to ...
5424 (test_not_found): ... this new procedure.
5425 (top level): Call it.
5426
5427 2017-10-13 Pedro Alves <palves@redhat.com>
5428
5429 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5430 expect different "info terminal" output if testing with a
5431 non-native target.
5432
5433 2017-10-13 Pedro Alves <palves@redhat.com>
5434 Simon Marchi <simon.marchi@polymtl.ca>
5435
5436 PR python/12966
5437 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5438
5439 2017-10-13 Pedro Alves <palves@redhat.com>
5440
5441 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5442 already.
5443
5444 2017-10-13 Pedro Alves <palves@redhat.com>
5445
5446 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5447 is_remote.
5448
5449 2017-10-13 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5452 is_remote.
5453
5454 2017-10-13 Pedro Alves <palves@redhat.com>
5455
5456 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5457 is set.
5458 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5459 instead of is_remote.
5460
5461 2017-10-13 Pedro Alves <palves@redhat.com>
5462
5463 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5464 (top level): Add comment.
5465
5466 2017-10-13 Pedro Alves <palves@redhat.com>
5467
5468 * gdb.base/remote.exp (top level): Fix comment typo and add
5469 missing return.
5470
5471 2017-10-13 Pedro Alves <palves@redhat.com>
5472 Simon Marchi <simon.marchi@polymtl.ca>
5473
5474 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5475 calls and add comments. Skip test if use_gdb_stub is set.
5476 (top level): Use "set cwd" command instead of "cd" command.
5477
5478 2017-10-13 Pedro Alves <palves@redhat.com>
5479
5480 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5481 is_remote target check.
5482
5483 2017-10-13 Pedro Alves <palves@redhat.com>
5484
5485 * gdb.base/scope.exp: Use build_executable + clean_restart +
5486 gdb_file_cmd instead of prepare_for_testing and no longer skip
5487 "before run" tests on is_remote target boards. Update comments.
5488 * boards/native-extended-gdbserver.exp
5489 (extended_gdbserver_load_last_file): New, factored out from ...
5490 (gdb_load): ... this. Move further below and add comment.
5491 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5492
5493 2017-10-12 Pedro Alves <palves@redhat.com>
5494
5495 * gdb.base/attach.exp: Remove references to gdb64.
5496 * gdb.base/dbx.exp: Remove references to gdb64.
5497
5498 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5499 Pedro Alves <palves@redhat.com>
5500
5501 * gdb.base/label.exp: Remove is_remote target check.
5502
5503 2017-10-12 Pedro Alves <palves@redhat.com>
5504
5505 * gdb.base/auvx.exp (coredir): Update comment.
5506 (top level) <core_works>: Use "set cwd" command instead of "cd"
5507 command.
5508
5509 2017-10-12 Pedro Alves <palves@redhat.com>
5510 Simon Marchi <simon.marchi@polymtl.ca>
5511
5512 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5513 target boards.
5514
5515 2017-10-12 Pedro Alves <palves@redhat.com>
5516 Simon Marchi <simon.marchi@polymtl.ca>
5517
5518 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5519 Instead skip if there's any gdb_protocol set.
5520
5521 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5522 Pedro Alves <palves@redhat.com>
5523
5524 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5525
5526 2017-10-12 Pedro Alves <palves@redhat.com>
5527 Simon Marchi <simon.marchi@polymtl.ca>
5528
5529 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5530 instead of on dejagnu remote boards.
5531
5532 2017-10-12 Pedro Alves <palves@redhat.com>
5533 Simon Marchi <simon.marchi@polymtl.ca>
5534
5535 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5536 checks. Use build_executable + clean_restart instead of
5537 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5538 of enabling non-stop after starting gdb.
5539
5540 2017-10-12 Pedro Alves <palves@redhat.com>
5541
5542 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5543 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5544 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5545 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5546
5547 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5548
5549 * gdb.arch/arc-tdesc-cpu.exp: New file.
5550 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5551
5552 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5553
5554 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5555
5556 2017-10-10 Pedro Alves <palves@redhat.com>
5557
5558 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5559 expect CLI output.
5560
5561 2017-10-10 Pedro Alves <palves@redhat.com>
5562
5563 * lib/selftest-support.exp (selftest_setup): Update for
5564 captured_command_loop's prototype change.
5565
5566 2017-10-09 Pedro Alves <palves@redhat.com>
5567
5568 Test both arch1=>arch2 and arch2=>arch1.
5569
5570 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5571 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5572 factored out to...
5573 (append_arch1_options, append_arch2_options, append_arch_options)
5574 (build_executables): New procedures.
5575 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5576 local.
5577 (top level): Add new 'first_arch' testing axis.
5578
5579 2017-10-09 Pedro Alves <palves@redhat.com>
5580
5581 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5582 (barrier): New.
5583 (thread_start, all_started): New functions.
5584 (main): Spawn new thread and wait until it is scheduled.
5585 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5586 option.
5587 (do_test): Add 'selected_thread' parameter. Run to all_started
5588 instead of main. Explicitly set the breakpoint at main. Switch
5589 to the SELECTED_THREAD thread.
5590 (top level): Test handling the exec event with either the main
5591 thread or the second thread selected.
5592
5593 2017-10-09 Pedro Alves <palves@redhat.com>
5594
5595 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5596 logic. Move STOP marker after the value checks.
5597 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5598 regexp.
5599
5600 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5601
5602 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5603
5604 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5605
5606 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5607 integer-to-dfp conversion.
5608 * gdb.base/dfp-test.exp: Likewise.
5609
5610 2017-10-04 Pedro Alves <palves@redhat.com>
5611
5612 * gdb.multi/hangout.c: Include <unistd.h>.
5613 (hangout_loop): New function.
5614 (main): Call alarm. Call hangout_loop in a loop.
5615 * gdb.multi/hello.c: Include <unistd.h>.
5616 (hello_loop): New function.
5617 (main): Call alarm. Call hangout_loop in a loop.
5618 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5619 inferior with the other selected.
5620
5621 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5622
5623 * gdb.mi/list-thread-groups-available.exp: New file.
5624 * gdb.mi/list-thread-groups-available.c: New file.
5625
5626 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5627
5628 * gdb.base/set-cwd.exp: Make it available on
5629 native-extended-gdbserver.
5630
5631 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5632
5633 * gdb.base/set-cwd.c: New file.
5634 * gdb.base/set-cwd.exp: Likewise.
5635
5636 2017-10-02 Tom Tromey <tom@tromey.com>
5637
5638 PR rust/22236:
5639 * gdb.rust/simple.rs (main): New variable "fslice".
5640 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5641
5642 2017-10-02 Tom Tromey <tom@tromey.com>
5643
5644 * gdb.rust/simple.exp: Test ptype of a slice.
5645
5646 2017-10-02 Tom Tromey <tom@tromey.com>
5647
5648 * gdb.rust/simple.exp: Test index of slice.
5649
5650 2017-09-27 Tom Tromey <tom@tromey.com>
5651
5652 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5653
5654 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5655 Pedro Alves <palves@redhat.com>
5656
5657 * gdb.base/compare-sections.exp (get value of read-only section): Read
5658 as unsigned value.
5659 (corrupt read-only section): Likewise and don't set written if patching
5660 failed.
5661
5662 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5663
5664 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5665 files.
5666
5667 2017-09-20 Pedro Alves <palves@redhat.com>
5668
5669 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5670 symbol names in gdb's output.
5671 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5672
5673 2017-09-20 Pedro Alves <palves@redhat.com>
5674
5675 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5676 Rename to ...
5677 (test_list_ambiguous_symbol): ... this and add a symbol name
5678 parameter. Adjust.
5679 (test_list_ambiguous_function): Reimplement on top of
5680 test_list_ambiguous_symbol and also test listing ambiguous
5681 variables.
5682 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5683 (ambiguous_fun): ... this.
5684 (ambiguous_var): New.
5685 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5686 (ambiguous_fun): ... this.
5687 (ambiguous_var): New.
5688
5689 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5690
5691 * gdb.base/starti.c: New file.
5692 * gdb.base/starti.exp: New file.
5693 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5694
5695 2017-09-14 Pedro Alves <palves@redhat.com>
5696
5697 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5698 (top level): Use it instead of runto.
5699
5700 2017-09-11 Tom Tromey <tom@tromey.com>
5701
5702 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5703
5704 2017-09-11 Tom Tromey <tom@tromey.com>
5705
5706 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5707 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5708
5709 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5710
5711 * gdb.fortran/printing-types.exp: New file.
5712 * gdb.fortran/printing-types.exp: New file.
5713
5714 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5715
5716 * gdb.fortran/vla-ptype.exp: Fix typos.
5717 * gdb.fortran/vla-value.exp: Same.
5718
5719 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5720
5721 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5722 * gdb.mi/mi-var-child-f.exp: Likewise.
5723 * gdb.mi/mi-vla-fortran.exp: Likewise.
5724
5725 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5726 Christoph Weinmann <christoph.t.weinmann@intel.com>
5727 Bernhard Heckel <bernhard.heckel@intel.com>
5728
5729 * gdb.fortran/ptr-indentation.f90: New file.
5730 * gdb.fortran/ptr-indentation.exp: New file.
5731
5732 2017-09-05 Tom Tromey <tom@tromey.com>
5733
5734 PR gdb/22010:
5735 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5736
5737 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5738
5739 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5740
5741 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5742
5743 * gdb.threads/tls-nodebug-pie.c: New file.
5744 * gdb.threads/tls-nodebug-pie.exp: New file.
5745
5746 2017-09-05 Tom Tromey <tom@tromey.com>
5747
5748 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5749 for rust.
5750
5751 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5752
5753 * gdb.multi/multi-arch-exec.exp: Test with different
5754 "follow-exec-mode" settings.
5755 (do_test): New procedure.
5756
5757 2017-09-04 Pedro Alves <palves@redhat.com>
5758
5759 * gdb.base/func-static.c (S::method const, S::method volatile)
5760 (S::method volatile const): New methods.
5761 (c_s, v_s, cv_s): New instances.
5762 (main): Call method() on them.
5763 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5764 (cannot_resolve): New procedure.
5765 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5766 print-quote-unquoted columns.
5767 (do_test): Test printing each scope too.
5768
5769 2017-09-04 Pedro Alves <palves@redhat.com>
5770
5771 * gdb.base/local-static.exp: Also test with
5772 class::method::variable wholly quoted.
5773 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5774
5775 2017-09-04 Pedro Alves <palves@redhat.com>
5776
5777 * gdb.base/local-static.c: New.
5778 * gdb.base/local-static.cc: New.
5779 * gdb.base/local-static.exp: New.
5780
5781 2017-09-04 Pedro Alves <palves@redhat.com>
5782
5783 * gdb.asm/asm-source.exp: Add casts to int.
5784 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5785 (dataglobal64_1, dataglobal64_2): New globals.
5786 * gdb.base/nodebug.exp: Test different expressions involving the
5787 new globals, with print, whatis and ptype. Add casts to int.
5788 * gdb.base/solib-display.exp: Add casts to int.
5789 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5790 * gdb.cp/m-static.exp: Add cast to int.
5791 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5792 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5793 tls variable with no debug info without a cast. Test with a cast
5794 to int too.
5795 * gdb.trace/entry-values.exp: Add casts.
5796
5797 2017-09-04 Pedro Alves <palves@redhat.com>
5798
5799 * gdb.base/nodebug.exp: Test that ptype's error about functions
5800 with unknown return type includes the function name too.
5801
5802 2017-09-04 Pedro Alves <palves@redhat.com>
5803
5804 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5805 return type of munmap in infcall.
5806 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5807 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5808 type of ftell in infcall.
5809 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5810 type of getpid in infcall.
5811 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5812 infcall.
5813 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5814 Bail on failure to extract the pid.
5815 * gdb.base/nodebug.c: #include <stdint.h>.
5816 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5817 New functions.
5818 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5819 Change expected output of print/whatis/ptype with functions with
5820 no debug info. Test all supported languages. Call
5821 test_call_promotion.
5822 * gdb.compile/compile.exp: Adjust expected output to expect
5823 warning.
5824 * gdb.threads/siginfo-threads.exp: Likewise.
5825
5826 2017-09-04 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5829 "prototypes". Test calling float functions via prototyped and
5830 unprototyped function pointers.
5831 (perform_all_tests): New parameter "prototypes". Pass it down.
5832 (top level): Pass down "prototypes" parameter to
5833 perform_all_tests.
5834
5835 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5836
5837 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5838 Test with nested loops.
5839
5840 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5841
5842 * gdb.base/commands.exp: Call the new procedures.
5843 (loop_break_test, loop_continue_test): New procedures.
5844
5845 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5846
5847 * gdb.base/commands.exp: Call new procedure.
5848 (define_if_without_arg_test): New procedure.
5849
5850 2017-09-04 Pedro Alves <palves@redhat.com>
5851
5852 * gdb.base/list-ambiguous.exp: New file.
5853 * gdb.base/list-ambiguous0.c: New file.
5854 * gdb.base/list-ambiguous1.c: New file.
5855 * gdb.base/list.exp (test_list_range): Adjust expected output.
5856
5857 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5858
5859 * gdb.base/share-env-with-gdbserver.c: New file.
5860 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5861
5862 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5863
5864 * gdb.base/commands.exp (gdbvar_simple_if_test,
5865 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5866 progvar_simple_if_test, progvar_simple_while_test,
5867 progvar_complex_if_while_test, user_defined_command_test,
5868 user_defined_command_args_eval,
5869 user_defined_command_args_stack_test,
5870 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5871 temporary_breakpoint_commands,
5872 gdb_test_no_prompt, redefine_hook_test,
5873 redefine_backtrace_test): Remove "global gdb_prompt".
5874
5875 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5876
5877 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5878 New proc, call it from toplevel.
5879
5880 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5881
5882 PR remote/21852
5883 * gdb.server/normal.c: New file, copied from gdb.base.
5884 * gdb.server/run-without-local-binary.exp: New file.
5885
5886 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5887
5888 * gdb.arch/sparc64-adi.exp: New file.
5889 * gdb.arch/sparc64-adi.c: New file.
5890
5891 2017-08-22 Pedro Alves <palves@redhat.com>
5892
5893 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5894 (top level): Add "list all overloads" tests.
5895
5896 2017-08-22 Tom Tromey <tom@tromey.com>
5897
5898 * gdb.gdb/xfullpath.exp: Remove.
5899
5900 2017-08-21 Pedro Alves <palves@redhat.com>
5901
5902 PR gdb/19487
5903 * gdb.base/symbol-alias.c: New.
5904 * gdb.base/symbol-alias2.c: New.
5905 * gdb.base/symbol-alias.exp: New.
5906
5907 2017-08-21 Pedro Alves <palves@redhat.com>
5908
5909 * gdb.base/dfp-test.c
5910 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5911 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5912 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5913 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5914 * gdb.base/whatis-ptype-typedefs.c: New.
5915 * gdb.base/whatis-ptype-typedefs.exp: New.
5916 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5917 (an_int, an_int_type, an_int_type2): New globals.
5918 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5919 involving typedefs and cast expressions.
5920 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5921 (lookup_typedefs_function): New.
5922 (typedefs_pretty_printers_dict): New.
5923 (top level): Register lookup_typedefs_function in
5924 gdb.pretty_printers.
5925
5926 2017-08-18 Yao Qi <yao.qi@linaro.org>
5927
5928 * gdb.server/unittest.exp: New.
5929
5930 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5931
5932 PR gdb/21954
5933 * gdb.base/environ.exp: Add test to check if 'unset environment'
5934 works.
5935
5936 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5937
5938 * lib/gdb.exp (universal_compile_options): New caching proc.
5939 (gdb_compile): Suppress GCC's coloring of messages.
5940
5941 2017-08-14 Tom Tromey <tom@tromey.com>
5942
5943 PR gdb/21675:
5944 * gdb.base/printcmds.exp (test_radices): New function.
5945 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5946 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5947 * lib/gdb.exp (get_integer_valueof): Use p/d.
5948
5949 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5950
5951 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5952 characters.
5953
5954 2017-08-05 Tom Tromey <tom@tromey.com>
5955
5956 * gdb.rust/simple.exp: Allow String to appear in a different
5957 namespace.
5958
5959 2017-07-26 Yao Qi <yao.qi@linaro.org>
5960
5961 * gdb.gdb/unittest.exp: Invoke command
5962 "maintenance check xml-descriptions".
5963
5964 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5965
5966 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5967 calling context.
5968 (hex128): Drop erroneous calculation of parameters.
5969
5970 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5971
5972 * gdb.python/py-unwind.exp: Disable stack protection when
5973 building test file.
5974
5975 2017-07-20 Pedro Alves <palves@redhat.com>
5976
5977 * gdb.base/default.exp (set language): Adjust expected output.
5978
5979 2017-07-20 Pedro Alves <palves@redhat.com>
5980
5981 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5982 (test_minsym): ... this, and make static.
5983 (get_pck__foo__bar__minsym): Rename to ...
5984 (get_test_minsym): ... this.
5985 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5986 symbol names and comments.
5987 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5988 (get_test_minsym): ... this.
5989 (pck__foo__bar__minsym__2): Rename to ...
5990 (test_minsym): ... this.
5991 (main): Adjust.
5992
5993 2017-07-17 Pedro Alves <palves@redhat.com>
5994
5995 * gdb.base/completion.exp: Adjust expected output.
5996 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5997 the completer works.
5998
5999 2017-07-17 Pedro Alves <palves@redhat.com>
6000
6001 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6002
6003 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6004
6005 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6006
6007 2017-07-14 Tom Tromey <tom@tromey.com>
6008
6009 PR rust/21764:
6010 * gdb.rust/simple.exp: Add tests.
6011
6012 2017-07-14 Tom Tromey <tom@tromey.com>
6013
6014 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6015
6016 2017-07-14 Pedro Alves <palves@redhat.com>
6017
6018 * gdb.linespec/base/one/thefile.cc (z1): New function.
6019 * gdb.linespec/base/two/thefile.cc (z2): New function.
6020 * gdb.linespec/linespec.exp: Add tests.
6021
6022 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6023
6024 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6025 to mi_create_breakpoint.
6026
6027 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6028
6029 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6030 mi_create_breakpoint.
6031
6032 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6033
6034 * gdb.dlang/demangle.exp: Update for demangling changes.
6035
6036 2017-07-09 Tom Tromey <tom@tromey.com>
6037
6038 * gdb.dwarf2/shortpiece.exp: New file.
6039
6040 2017-07-06 David Blaikie <dblaikie@gmail.com>
6041
6042 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6043 built from fissiont-multi-cu{1,2}.c.
6044 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6045 except putting 'main' and 'func' in separate CUs in the same DWO file.
6046 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6047 test.
6048 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6049 test.
6050
6051 2017-07-06 Pedro Alves <palves@redhat.com>
6052
6053 * gdb.python/py-unwind.exp: Test flushregs.
6054
6055 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6056
6057 PR cli/21688
6058 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6059 tests for alias commands and trailing whitespace.
6060
6061 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6062
6063 PR cli/21688
6064 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6065 procedure. Call it.
6066
6067 2017-06-29 Pedro Alves <palves@redhat.com>
6068
6069 * gdb.base/printcmds.exp: Add tests.
6070
6071 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6072
6073 PR gdb/21337
6074 * gdb.base/reread-readsym.exp: New file.
6075 * gdb.base/reread-readsym.c: New file.
6076
6077 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6078
6079 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6080 subpattern.
6081
6082 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6083
6084 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6085 extended mnemonic.
6086 * gdb.arch/powerpc-power9.s: Likewise.
6087
6088 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6089
6090 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6091 on 32-bit x86 targets. Exploit is_*_target macros where
6092 appropriate.
6093
6094 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6095
6096 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6097 register pieces.
6098
6099 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6100
6101 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6102 located in one or more DWARF pieces.
6103
6104 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6105
6106 * lib/gdb.exp (get_endianness): New proc.
6107 * gdb.arch/aarch64-fp.exp: Use it.
6108 * gdb.arch/altivec-regs.exp: Likewise.
6109 * gdb.arch/e500-regs.exp: Likewise.
6110 * gdb.arch/vsx-regs.exp: Likewise.
6111 * gdb.base/dump.exp: Likewise.
6112 * gdb.base/funcargs.exp: Likewise.
6113 * gdb.base/gnu_vector.exp: Likewise.
6114 * gdb.dwarf2/formdata16.exp: Likewise.
6115 * gdb.dwarf2/implptrpiece.exp: Likewise.
6116 * gdb.dwarf2/nonvar-access.exp: Likewise.
6117 * gdb.python/py-inferior.exp: Likewise.
6118 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6119
6120 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6121
6122 PR gdb/21226
6123 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6124 stack value pieces are taken from the LSB end.
6125
6126 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6127
6128 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6129 variable at nonzero offset.
6130
6131 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6132
6133 * gdb.dwarf2/var-access.c: New file.
6134 * gdb.dwarf2/var-access.exp: New test.
6135 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6136
6137 2017-06-12 Tom Tromey <tom@tromey.com>
6138
6139 * gdb.dwarf2/formdata16.exp: Add tests.
6140
6141 2017-06-12 Tom Tromey <tom@tromey.com>
6142
6143 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6144
6145 2017-06-12 Tom Tromey <tom@tromey.com>
6146
6147 PR exp/16225:
6148 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6149 * gdb.arch/vsx-regs.exp: Update tests.
6150 * gdb.arch/s390-vregs.exp (hex128): New proc.
6151 Update test.
6152 * gdb.arch/altivec-regs.exp: Update tests.
6153
6154 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6155
6156 * gdb.base/startup-with-shell.c: New file.
6157 * gdb.base/startup-with-shell.exp: Likewise.
6158
6159 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6160
6161 * gdb.server/non-existing-program.exp: Update regex in order to
6162 reflect the fact that gdbserver is now using fork_inferior (with a
6163 shell) to startup the inferior.
6164
6165 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6166
6167 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6168 support function calls from GDB.
6169
6170 2017-05-21 Tom Tromey <tom@tromey.com>
6171
6172 PR rust/21466:
6173 * gdb.rust/unsized.exp: New file.
6174 * gdb.rust/unsized.rs: New file.
6175
6176 2017-05-19 Tom Tromey <tom@tromey.com>
6177
6178 PR rust/21484:
6179 * gdb.rust/watch.exp: New file.
6180 * gdb.rust/watch.rs: New file.
6181
6182 2017-05-18 Tom Tromey <tom@tromey.com>
6183
6184 * gdb.rust/simple.exp: Allow Box to be qualified.
6185
6186 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6187
6188 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6189
6190 2017-05-18 Pedro Alves <palves@redhat.com>
6191
6192 * gdb.base/fileio.c (test_write, test_read, test_close)
6193 (test_fstat): Don't print 'ret' in the fail path.
6194
6195 2017-05-18 Pedro Alves <palves@redhat.com>
6196
6197 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6198 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6199 (test_system, test_rename, test_unlink, test_time): Change
6200 prototypes.
6201 * gdb.base/fileio.exp (stop_msg): Adjust.
6202
6203 2017-05-18 Pedro Alves <palves@redhat.com>
6204
6205 * gdb.base/fileio.c (null_str): New global.
6206 (test_stat): Use it.
6207 * gdb.base/fileio.exp: Remove nowarnings.
6208
6209 2017-05-17 Yao Qi <yao.qi@linaro.org>
6210
6211 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6212
6213 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6214
6215 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6216 argument command.
6217 (top-level): Invoke test_set_inferior_tty.
6218
6219 2017-05-04 Pedro Alves <palves@redhat.com>
6220
6221 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6222 Add parens to print call for Python 3.
6223
6224 2017-05-03 Keith Seitz <keiths@redhat.com>
6225
6226 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6227 (main): Call it.
6228
6229 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6230
6231 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6232 to prev and next.
6233
6234 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6235
6236 * gdb.python/py-record-btrace.exp: Remove test for
6237 gdb.BtraceInstruction.error.
6238
6239 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6240
6241 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6242
6243 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6244
6245 * gdb.python/py-record-btrace-threads.c: New file.
6246 * gdb.python/py-record-btrace-threads.exp: New file.
6247
6248 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6249
6250 PR testsuite/8595
6251 * gdb.base/environ.exp: Make test available in all architectures.
6252 Move bits related to "info program" testing to
6253 gdb.base/info-program.exp. Rewrite tests to use the two new
6254 procedures mentione below.
6255 (test_set_show_env_var) New procedure.
6256 (test_set_show_env_var_equal): Likewise.
6257 * gdb.base/info-program.exp: New file.
6258
6259 2017-04-27 Keith Seitz <keiths@redhat.com>
6260
6261 * gdb.cp/oranking.cc (test15): New function.
6262 (main): Call test15 and declare additional variables for testing.
6263 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6264 "p foo101('abc')" tests.
6265 Add tests for cv qualifier overloads.
6266 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6267 "lvalue reference overload" test.
6268 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6269 "print value of f1 on Child&& in f2" test.
6270
6271 2017-04-19 Pedro Alves <palves@redhat.com>
6272
6273 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6274 procedure.
6275 (top level): Call it.
6276 * lib/gdb.exp (gdb_define_cmd): New procedure.
6277
6278 2017-04-12 Pedro Alves <palves@redhat.com>
6279
6280 PR gdb/21323
6281 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6282 (wchar): New global.
6283 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6284 (do_test_wide_char, wide_char_types_no_program, top level): Add
6285 wchar_t testing.
6286
6287 2017-04-12 Pedro Alves <palves@redhat.com>
6288
6289 PR c++/21323
6290 * gdb.cp/wide_char_types.c: New file.
6291 * gdb.cp/wide_char_types.exp: New file.
6292
6293 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6294
6295 PR gdb/21352
6296 * gdb.trace/tsv.exp: Add test for "tsave -r".
6297
6298 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6299
6300 * gdb.dlang/watch-loc.c: New file.
6301 * gdb.dlang/watch-loc.exp: New file.
6302
6303 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6304
6305 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6306
6307 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6308
6309 * gdb.arch/arc-analyze-prologue.S: New file.
6310 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6311
6312 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6313
6314 * gdb.arch/arc-decode-insn.S: New file.
6315 * gdb.arch/arc-decode-insn.exp: Likewise.
6316
6317 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6318
6319 PR tdep/20928
6320 * gdb.arch/sparc64-regs.exp: New file.
6321 * gdb.arch/sparc64-regs.S: Likewise.
6322
6323 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6324
6325 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6326 and memory view on Python 3.
6327
6328 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6329 Keith Seitz <keiths@redhat.com>
6330
6331 PR gdb/14441
6332 * gdb.cp/demangle.exp: Add rvalue reference tests.
6333 * gdb.cp/rvalue-ref-casts.cc: New file.
6334 * gdb.cp/rvalue-ref-casts.exp: New file.
6335 * gdb.cp/rvalue-ref-overload.cc: New file.
6336 * gdb.cp/rvalue-ref-overload.exp: New file.
6337 * gdb.cp/rvalue-ref-params.cc: New file.
6338 * gdb.cp/rvalue-ref-params.exp: New file.
6339 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6340 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6341 * gdb.cp/rvalue-ref-types.cc: New file.
6342 * gdb.cp/rvalue-ref-types.exp: New file.
6343 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6344 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6345
6346 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6347
6348 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6349 New procedure.
6350
6351 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6352
6353 * lib/mi-support.exp (mi_gdb_test): Add additional message
6354 for unexpected output.
6355
6356 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6357
6358 * gdb.base/examine-backward.c (Barrier): New character array
6359 constant, to ensure that TestStrings is preceded by a string
6360 terminator.
6361
6362 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6363
6364 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6365 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6366 and implicit pointer into such a location.
6367
6368 2017-03-16 Doug Evans <dje@google.com>
6369
6370 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6371
6372 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6373
6374 * gdb.cp/m-static.exp: Fix expectation for prototype of
6375 test5.single_constructor and single_constructor::single_constructor.
6376
6377 2017-03-16 Doug Evans <dje@google.com>
6378
6379 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6380 * gdb.guile/scm-lazy-string.c: New file.
6381 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6382 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6383 for pointer, array, typedef lazy strings.
6384
6385 2017-03-16 Doug Evans <dje@google.com>
6386
6387 PR python/17728, python/18439, python/18779
6388 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6389 * gdb.python/py-lazy-string.c (pointer): New typedef.
6390 (main): New locals ptr, array, typedef_ptr.
6391 * gdb.python/py-value.exp: Move lazy string tests to ...
6392 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6393 array, typedef lazy strings.
6394
6395 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6396
6397 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6398 Add optional 'test' parameter.
6399
6400 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6401
6402 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6403 Skip for versions of DejaGnu < 1.5.
6404
6405 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6406
6407 * lib/gdb.exp (dejagnu_version): New proc.
6408 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6409 Use dejagnu_version.
6410
6411 2017-03-10 Keith Seitz <keiths@redhat.com>
6412
6413 PR c++/8128
6414 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6415 type from destructor regexps.
6416 Add a branch which actually passes the test.
6417 Adjust "ptype t5i" test names.
6418
6419 2017-03-08 Pedro Alves <palves@redhat.com>
6420
6421 * gdb.base/step-over-exit.exp: Add explicit test message.
6422
6423 2017-03-08 Pedro Alves <palves@redhat.com>
6424
6425 PR gdb/18360
6426 * gdb.threads/interrupt-while-step-over.c: New file.
6427 * gdb.threads/interrupt-while-step-over.exp: New file.
6428
6429 2017-03-08 Pedro Alves <palves@redhat.com>
6430
6431 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6432 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6433
6434 2017-03-08 Pedro Alves <palves@redhat.com>
6435
6436 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6437 PKRU as not supported as a PASS.
6438
6439 2017-03-08 Pedro Alves <palves@redhat.com>
6440
6441 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6442 prefix instead of $binfile1/$binfile2.
6443 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6444 in test message.
6445 * gdb.python/py-completion.exp: Use "load python file" as test
6446 messages instead of unstable path names.
6447
6448 2017-03-08 Pedro Alves <palves@redhat.com>
6449 Jan Kratochvil <jan.kratochvil@redhat.com>
6450
6451 PR cli/21218
6452 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6453 New proc.
6454 (top level): Call it.
6455
6456 2017-03-08 Pedro Alves <palves@redhat.com>
6457
6458 PR tui/21216
6459 * gdb.tui/tui-nl-filtered-output.exp: New file.
6460
6461 2017-03-08 Pedro Alves <palves@redhat.com>
6462
6463 * gdb.base/completion.exp: Move TUI completion tests to ...
6464 * gdb.tui/completion.exp: ... this new file.
6465
6466 2017-03-08 Pedro Alves <palves@redhat.com>
6467
6468 * gdb.base/tui-disasm-long-lines.c,
6469 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6470 gdb.base/tui-layout.exp: Move to ...
6471 * gdb.tui/: ... this new directory.
6472
6473 2017-03-07 Pedro Alves <palves@redhat.com>
6474
6475 * gdb.base/tui-layout.c: New file.
6476 * gdb.base/tui-layout.exp: New file.
6477
6478 2017-03-07 Pedro Alves <palves@redhat.com>
6479
6480 * gdb.base/tui-layout.c: Rename to ...
6481 * gdb.base/tui-disasm-long-lines.c: ... this.
6482 * gdb.base/tui-layout.exp: Rename to ...
6483 * gdb.base/tui-disasm-long-lines.exp: ... this.
6484
6485 2017-03-07 Pedro Alves <palves@redhat.com>
6486
6487 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6488
6489 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6490
6491 * i386-mpx-call.c: New file.
6492 * i386-mpx-call.exp: New file.
6493
6494 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6495
6496 * gdb.arch/powerpc-power.exp: Delete test.
6497 * gdb.arch/powerpc-power.s: Likewise.
6498 * gdb.disasm/disassembler-options.exp: New test.
6499 * gdb.arch/powerpc-altivec.exp: Likewise.
6500 * gdb.arch/powerpc-altivec.s: Likewise.
6501 * gdb.arch/powerpc-altivec2.exp: Likewise.
6502 * gdb.arch/powerpc-altivec2.s: Likewise.
6503 * gdb.arch/powerpc-altivec3.exp: Likewise.
6504 * gdb.arch/powerpc-altivec3.s: Likewise.
6505 * gdb.arch/powerpc-power7.exp: Likewise.
6506 * gdb.arch/powerpc-power7.s: Likewise.
6507 * gdb.arch/powerpc-power8.exp: Likewise.
6508 * gdb.arch/powerpc-power8.s: Likewise.
6509 * gdb.arch/powerpc-power9.exp: Likewise.
6510 * gdb.arch/powerpc-power9.s: Likewise.
6511 * gdb.arch/powerpc-vsx.exp: Likewise.
6512 * gdb.arch/powerpc-vsx.s: Likewise.
6513 * gdb.arch/powerpc-vsx2.exp: Likewise.
6514 * gdb.arch/powerpc-vsx2.s: Likewise.
6515 * gdb.arch/powerpc-vsx3.exp: Likewise.
6516 * gdb.arch/powerpc-vsx3.s: Likewise.
6517 * gdb.arch/arm-disassembler-options.exp: Likewise.
6518 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6519 * gdb.arch/s390-disassembler-options.exp: Likewise.
6520
6521 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6522
6523 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6524 (check_supported_features): ... this. Changed return type to void.
6525 (supports_rdseed): New static global.
6526 (rdseed): Check supports_rdseed.
6527 (initialize): Call check_supported_features.
6528
6529 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6530
6531 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6532 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6533 and lqarx/stqcx.
6534 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6535 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6536
6537 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6538
6539 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6540 uppercase.
6541
6542 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6543
6544 * gdb.dwarf2/formdata16.c: New file.
6545 * gdb.dwarf2/formdata16.exp: New file.
6546 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6547
6548 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6549
6550 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6551 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6552 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6553 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6554 DW_AT_GNU_*.
6555
6556 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6557
6558 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6559
6560 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6561
6562 PR gdb/21164
6563 * gdb.base/maint.exp: Add testcases for when the commands do
6564 not have arguments.
6565
6566 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6567
6568 * gdb.cp/chained-calls.exp: Use p instead of P.
6569
6570 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6571
6572 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6573 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6574
6575 2017-02-14 Tom Tromey <tom@tromey.com>
6576
6577 PR python/13598:
6578 * gdb.python/py-events.exp: Add before_prompt event tests.
6579
6580 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6581
6582 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6583
6584 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6585
6586 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6587 (main): Call my_unique_function_name.
6588 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6589 completion of patterns with a single match.
6590 Add missing -re switches to gdb_test_multiple calls.
6591
6592 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6593
6594 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6595 return if core file is not recognized.
6596
6597 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6598
6599 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6600 and extra UIs.
6601
6602 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6603
6604 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6605 proc_with_prefix.
6606
6607 2017-02-10 Tom Tromey <tom@tromey.com>
6608
6609 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6610
6611 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6612
6613 PR gdb/21122
6614 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6615
6616 2017-02-08 Jerome Guitton <guitton@adacore.com>
6617
6618 * gdb.base/define.exp: Add test for command abbreviations
6619 in define.
6620
6621 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6622
6623 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6624 * gdb.reverse/insn-reverse-x86.c: New file.
6625
6626 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6627
6628 PR tdep/20936
6629 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6630
6631 2017-02-03 Tom Tromey <tom@tromey.com>
6632
6633 PR rust/21097:
6634 * gdb.rust/simple.exp: Add new tests.
6635
6636 2017-02-02 Pedro Alves <palves@redhat.com>
6637
6638 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6639 tests.
6640
6641 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6642
6643 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6644 taking a 2-byte value out of a 4-byte DWARF implicit value on
6645 big-endian targets.
6646 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6647 logic. Add test cases for DW_OP_implicit.
6648
6649 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6650
6651 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6652
6653 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6654
6655 * gdb.btrace/enable.exp: Call gdb_exit before
6656 skip_gdbserver_tests.
6657
6658 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6659
6660 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6661 GDBFLAGS.
6662
6663 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6664
6665 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6666 the test is skipped.
6667 * gdb.btrace/data.exp: Likewise.
6668 * gdb.btrace/delta.exp: Likewise.
6669 * gdb.btrace/dlopen.exp: Likewise.
6670 * gdb.btrace/enable-running.exp: Likewise.
6671 * gdb.btrace/enable.exp: Likewise.
6672 * gdb.btrace/exception.exp: Likewise.
6673 * gdb.btrace/function_call_history.exp: Likewise.
6674 * gdb.btrace/gcore.exp: Likewise.
6675 * gdb.btrace/instruction_history.exp: Likewise.
6676 * gdb.btrace/multi-thread-step.exp: Likewise.
6677 * gdb.btrace/nohist.exp: Likewise.
6678 * gdb.btrace/non-stop.exp: Likewise.
6679 * gdb.btrace/reconnect.exp: Likewise.
6680 * gdb.btrace/record_goto-step.exp: Likewise.
6681 * gdb.btrace/record_goto.exp: Likewise.
6682 * gdb.btrace/rn-dl-bind.exp: Likewise.
6683 * gdb.btrace/segv.exp: Likewise.
6684 * gdb.btrace/step.exp: Likewise.
6685 * gdb.btrace/stepi.exp: Likewise.
6686 * gdb.btrace/tailcall-only.exp: Likewise.
6687 * gdb.btrace/tailcall.exp: Likewise.
6688 * gdb.btrace/tsx.exp: Likewise.
6689 * gdb.btrace/unknown_functions.exp: Likewise.
6690 * gdb.btrace/vdso.exp: Likewise.
6691
6692 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6693
6694 * gdb.btrace/enable-running.c: New.
6695 * gdb.btrace/enable-running.exp: New.
6696
6697 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6698
6699 * gdb.arch/amd64-gs_base.c: New file.
6700 * gdb.arch/amd64-gs_base.exp: New file.
6701
6702 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6703
6704 * lib/memory.exp: Remove spurious empty newlines.
6705
6706 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6707
6708 * gdb.python/py-bad-printers.exp: Load python file using "source".
6709 * gdb.python/py-events.exp: Likewise.
6710 * gdb.python/py-evsignal.exp: Likewise.
6711 * gdb.python/py-evthreads.exp: Likewise.
6712 * gdb.python/py-frame-args.exp: Likewise.
6713 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6714 * gdb.python/py-framefilter-mi.exp: Likewise.
6715 * gdb.python/py-framefilter.exp: Likewise.
6716 * gdb.python/py-mi.exp: Likewise.
6717 * gdb.python/py-pp-maint.exp: Likewise.
6718 * gdb.python/py-pp-registration.exp: Likewise.
6719 * gdb.python/py-prettyprint.exp: Likewise.
6720 (run_lang_tests): Likewise.
6721 * gdb.python/py-typeprint.exp: Likewise.
6722
6723 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6724
6725 * lib/memory.exp: New file.
6726 * lib/gdb.exp: Load memory.exp.
6727 * gdb.base/memattr.exp (delete_memory): Move proc to
6728 lib/memory.exp and rename to delete_memory_regions.
6729 Replace delete_memory with delete_memory_regions.
6730 Cleanup memory regions before tests.
6731 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6732 before tests.
6733
6734 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6735
6736 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6737 files.
6738 (initialize): New function conditionally defined.
6739 (testcases): Move within conditional block.
6740 (main): Call initialize.
6741 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6742 of gdb.reverse/insn-reverse.c.
6743 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6744 gdb.reverse/insn-reverse.c.
6745
6746 2017-01-26 Yao Qi <yao.qi@linaro.org>
6747
6748 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6749 disassemble on address 0.
6750
6751 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6752 Yao Qi <yao.qi@linaro.org>
6753
6754 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6755 * gdb.dwarf2/implptr-64bit.S: Remove.
6756 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6757 variables in caller's context. Add DW_OP_implicit_value.
6758
6759 2017-01-25 Yao Qi <yao.qi@linaro.org>
6760
6761 * lib/dwarf.exp (Dwarf::_location): Handle
6762 DW_OP_GNU_implicit_pointer with proper size.
6763
6764 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6765
6766 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6767 and add untested calls.
6768
6769 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6770
6771 * gdb.python/python.exp: Check line number against what GDB thinks
6772 the line number is for func1.
6773
6774 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6775
6776 * gdb.dlang/debug-expr.exp: New file.
6777
6778 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6779
6780 Fix test names for the following files:
6781
6782 * gdb.ada/exec_changed.exp
6783 * gdb.ada/info_types.exp
6784 * gdb.arch/aarch64-atomic-inst.exp
6785 * gdb.arch/aarch64-fp.exp
6786 * gdb.arch/altivec-abi.exp
6787 * gdb.arch/altivec-regs.exp
6788 * gdb.arch/amd64-byte.exp
6789 * gdb.arch/amd64-disp-step.exp
6790 * gdb.arch/amd64-dword.exp
6791 * gdb.arch/amd64-entry-value-inline.exp
6792 * gdb.arch/amd64-entry-value-param.exp
6793 * gdb.arch/amd64-entry-value-paramref.exp
6794 * gdb.arch/amd64-entry-value.exp
6795 * gdb.arch/amd64-i386-address.exp
6796 * gdb.arch/amd64-invalid-stack-middle.exp
6797 * gdb.arch/amd64-invalid-stack-top.exp
6798 * gdb.arch/amd64-optimout-repeat.exp
6799 * gdb.arch/amd64-prologue-skip.exp
6800 * gdb.arch/amd64-prologue-xmm.exp
6801 * gdb.arch/amd64-stap-special-operands.exp
6802 * gdb.arch/amd64-stap-wrong-subexp.exp
6803 * gdb.arch/amd64-tailcall-cxx.exp
6804 * gdb.arch/amd64-tailcall-noret.exp
6805 * gdb.arch/amd64-tailcall-ret.exp
6806 * gdb.arch/amd64-tailcall-self.exp
6807 * gdb.arch/amd64-word.exp
6808 * gdb.arch/arm-bl-branch-dest.exp
6809 * gdb.arch/arm-disp-step.exp
6810 * gdb.arch/arm-neon.exp
6811 * gdb.arch/arm-single-step-kernel-helper.exp
6812 * gdb.arch/avr-flash-qualifier.exp
6813 * gdb.arch/disp-step-insn-reloc.exp
6814 * gdb.arch/e500-abi.exp
6815 * gdb.arch/e500-regs.exp
6816 * gdb.arch/ftrace-insn-reloc.exp
6817 * gdb.arch/i386-avx512.exp
6818 * gdb.arch/i386-bp_permanent.exp
6819 * gdb.arch/i386-byte.exp
6820 * gdb.arch/i386-cfi-notcurrent.exp
6821 * gdb.arch/i386-disp-step.exp
6822 * gdb.arch/i386-dr3-watch.exp
6823 * gdb.arch/i386-float.exp
6824 * gdb.arch/i386-gnu-cfi.exp
6825 * gdb.arch/i386-mpx-map.exp
6826 * gdb.arch/i386-mpx-sigsegv.exp
6827 * gdb.arch/i386-mpx-simple_segv.exp
6828 * gdb.arch/i386-mpx.exp
6829 * gdb.arch/i386-permbkpt.exp
6830 * gdb.arch/i386-prologue.exp
6831 * gdb.arch/i386-signal.exp
6832 * gdb.arch/i386-size-overlap.exp
6833 * gdb.arch/i386-unwind.exp
6834 * gdb.arch/i386-word.exp
6835 * gdb.arch/mips-fcr.exp
6836 * gdb.arch/powerpc-d128-regs.exp
6837 * gdb.arch/powerpc-stackless.exp
6838 * gdb.arch/ppc64-atomic-inst.exp
6839 * gdb.arch/s390-stackless.exp
6840 * gdb.arch/s390-tdbregs.exp
6841 * gdb.arch/s390-vregs.exp
6842 * gdb.arch/sparc-sysstep.exp
6843 * gdb.arch/thumb-bx-pc.exp
6844 * gdb.arch/thumb-singlestep.exp
6845 * gdb.arch/thumb2-it.exp
6846 * gdb.arch/vsx-regs.exp
6847 * gdb.asm/asm-source.exp
6848 * gdb.base/a2-run.exp
6849 * gdb.base/advance.exp
6850 * gdb.base/all-bin.exp
6851 * gdb.base/anon.exp
6852 * gdb.base/args.exp
6853 * gdb.base/arithmet.exp
6854 * gdb.base/async-shell.exp
6855 * gdb.base/async.exp
6856 * gdb.base/attach-pie-noexec.exp
6857 * gdb.base/attach-twice.exp
6858 * gdb.base/auto-load.exp
6859 * gdb.base/bang.exp
6860 * gdb.base/bitfields.exp
6861 * gdb.base/break-always.exp
6862 * gdb.base/break-caller-line.exp
6863 * gdb.base/break-entry.exp
6864 * gdb.base/break-inline.exp
6865 * gdb.base/break-on-linker-gcd-function.exp
6866 * gdb.base/break-probes.exp
6867 * gdb.base/break.exp
6868 * gdb.base/breakpoint-shadow.exp
6869 * gdb.base/call-ar-st.exp
6870 * gdb.base/call-sc.exp
6871 * gdb.base/call-signal-resume.exp
6872 * gdb.base/call-strs.exp
6873 * gdb.base/callfuncs.exp
6874 * gdb.base/catch-fork-static.exp
6875 * gdb.base/catch-gdb-caused-signals.exp
6876 * gdb.base/catch-load.exp
6877 * gdb.base/catch-signal-fork.exp
6878 * gdb.base/catch-signal.exp
6879 * gdb.base/catch-syscall.exp
6880 * gdb.base/charset.exp
6881 * gdb.base/checkpoint.exp
6882 * gdb.base/chng-syms.exp
6883 * gdb.base/code-expr.exp
6884 * gdb.base/code_elim.exp
6885 * gdb.base/commands.exp
6886 * gdb.base/completion.exp
6887 * gdb.base/complex.exp
6888 * gdb.base/cond-expr.exp
6889 * gdb.base/condbreak.exp
6890 * gdb.base/consecutive.exp
6891 * gdb.base/continue-all-already-running.exp
6892 * gdb.base/coredump-filter.exp
6893 * gdb.base/corefile.exp
6894 * gdb.base/dbx.exp
6895 * gdb.base/debug-expr.exp
6896 * gdb.base/define.exp
6897 * gdb.base/del.exp
6898 * gdb.base/disabled-location.exp
6899 * gdb.base/disasm-end-cu.exp
6900 * gdb.base/disasm-optim.exp
6901 * gdb.base/display.exp
6902 * gdb.base/duplicate-bp.exp
6903 * gdb.base/ena-dis-br.exp
6904 * gdb.base/ending-run.exp
6905 * gdb.base/enumval.exp
6906 * gdb.base/environ.exp
6907 * gdb.base/eu-strip-infcall.exp
6908 * gdb.base/eval-avoid-side-effects.exp
6909 * gdb.base/eval-skip.exp
6910 * gdb.base/exitsignal.exp
6911 * gdb.base/expand-psymtabs.exp
6912 * gdb.base/filesym.exp
6913 * gdb.base/find-unmapped.exp
6914 * gdb.base/finish.exp
6915 * gdb.base/float.exp
6916 * gdb.base/foll-exec-mode.exp
6917 * gdb.base/foll-exec.exp
6918 * gdb.base/foll-fork.exp
6919 * gdb.base/fortran-sym-case.exp
6920 * gdb.base/freebpcmd.exp
6921 * gdb.base/func-ptr.exp
6922 * gdb.base/func-ptrs.exp
6923 * gdb.base/funcargs.exp
6924 * gdb.base/gcore-buffer-overflow.exp
6925 * gdb.base/gcore-relro-pie.exp
6926 * gdb.base/gcore-relro.exp
6927 * gdb.base/gcore.exp
6928 * gdb.base/gdb1090.exp
6929 * gdb.base/gdb11530.exp
6930 * gdb.base/gdb11531.exp
6931 * gdb.base/gdb1821.exp
6932 * gdb.base/gdbindex-stabs.exp
6933 * gdb.base/gdbvars.exp
6934 * gdb.base/hbreak.exp
6935 * gdb.base/hbreak2.exp
6936 * gdb.base/included.exp
6937 * gdb.base/infcall-input.exp
6938 * gdb.base/inferior-died.exp
6939 * gdb.base/infnan.exp
6940 * gdb.base/info-macros.exp
6941 * gdb.base/info-os.exp
6942 * gdb.base/info-proc.exp
6943 * gdb.base/info-shared.exp
6944 * gdb.base/info-target.exp
6945 * gdb.base/infoline.exp
6946 * gdb.base/interp.exp
6947 * gdb.base/interrupt.exp
6948 * gdb.base/jit-reader.exp
6949 * gdb.base/jit-simple.exp
6950 * gdb.base/kill-after-signal.exp
6951 * gdb.base/kill-detach-inferiors-cmd.exp
6952 * gdb.base/label.exp
6953 * gdb.base/langs.exp
6954 * gdb.base/ldbl_e308.exp
6955 * gdb.base/line-symtabs.exp
6956 * gdb.base/linespecs.exp
6957 * gdb.base/list.exp
6958 * gdb.base/long_long.exp
6959 * gdb.base/longest-types.exp
6960 * gdb.base/maint.exp
6961 * gdb.base/max-value-size.exp
6962 * gdb.base/memattr.exp
6963 * gdb.base/mips_pro.exp
6964 * gdb.base/morestack.exp
6965 * gdb.base/moribund-step.exp
6966 * gdb.base/multi-forks.exp
6967 * gdb.base/nested-addr.exp
6968 * gdb.base/nextoverexit.exp
6969 * gdb.base/noreturn-finish.exp
6970 * gdb.base/noreturn-return.exp
6971 * gdb.base/nostdlib.exp
6972 * gdb.base/offsets.exp
6973 * gdb.base/opaque.exp
6974 * gdb.base/pc-fp.exp
6975 * gdb.base/permissions.exp
6976 * gdb.base/print-symbol-loading.exp
6977 * gdb.base/prologue-include.exp
6978 * gdb.base/psymtab.exp
6979 * gdb.base/ptype.exp
6980 * gdb.base/random-signal.exp
6981 * gdb.base/randomize.exp
6982 * gdb.base/range-stepping.exp
6983 * gdb.base/readline-ask.exp
6984 * gdb.base/recpar.exp
6985 * gdb.base/recurse.exp
6986 * gdb.base/relational.exp
6987 * gdb.base/restore.exp
6988 * gdb.base/return-nodebug.exp
6989 * gdb.base/return.exp
6990 * gdb.base/run-after-attach.exp
6991 * gdb.base/save-bp.exp
6992 * gdb.base/scope.exp
6993 * gdb.base/sect-cmd.exp
6994 * gdb.base/set-lang-auto.exp
6995 * gdb.base/set-noassign.exp
6996 * gdb.base/setvar.exp
6997 * gdb.base/sigall.exp
6998 * gdb.base/sigbpt.exp
6999 * gdb.base/siginfo-addr.exp
7000 * gdb.base/siginfo-infcall.exp
7001 * gdb.base/siginfo-obj.exp
7002 * gdb.base/siginfo.exp
7003 * gdb.base/signals-state-child.exp
7004 * gdb.base/signest.exp
7005 * gdb.base/sigstep.exp
7006 * gdb.base/sizeof.exp
7007 * gdb.base/skip.exp
7008 * gdb.base/solib-corrupted.exp
7009 * gdb.base/solib-nodir.exp
7010 * gdb.base/solib-search.exp
7011 * gdb.base/stack-checking.exp
7012 * gdb.base/stale-infcall.exp
7013 * gdb.base/stap-probe.exp
7014 * gdb.base/start.exp
7015 * gdb.base/step-break.exp
7016 * gdb.base/step-bt.exp
7017 * gdb.base/step-line.exp
7018 * gdb.base/step-over-exit.exp
7019 * gdb.base/step-over-syscall.exp
7020 * gdb.base/step-resume-infcall.exp
7021 * gdb.base/step-test.exp
7022 * gdb.base/store.exp
7023 * gdb.base/structs3.exp
7024 * gdb.base/sym-file.exp
7025 * gdb.base/symbol-without-target_section.exp
7026 * gdb.base/term.exp
7027 * gdb.base/testenv.exp
7028 * gdb.base/ui-redirect.exp
7029 * gdb.base/until.exp
7030 * gdb.base/unwindonsignal.exp
7031 * gdb.base/value-double-free.exp
7032 * gdb.base/vla-datatypes.exp
7033 * gdb.base/vla-ptr.exp
7034 * gdb.base/vla-sideeffect.exp
7035 * gdb.base/volatile.exp
7036 * gdb.base/watch-cond-infcall.exp
7037 * gdb.base/watch-cond.exp
7038 * gdb.base/watch-non-mem.exp
7039 * gdb.base/watch-read.exp
7040 * gdb.base/watch-vfork.exp
7041 * gdb.base/watchpoint-cond-gone.exp
7042 * gdb.base/watchpoint-delete.exp
7043 * gdb.base/watchpoint-hw-hit-once.exp
7044 * gdb.base/watchpoint-hw.exp
7045 * gdb.base/watchpoint-stops-at-right-insn.exp
7046 * gdb.base/watchpoints.exp
7047 * gdb.base/wchar.exp
7048 * gdb.base/whatis-exp.exp
7049 * gdb.btrace/buffer-size.exp
7050 * gdb.btrace/data.exp
7051 * gdb.btrace/delta.exp
7052 * gdb.btrace/dlopen.exp
7053 * gdb.btrace/enable.exp
7054 * gdb.btrace/exception.exp
7055 * gdb.btrace/function_call_history.exp
7056 * gdb.btrace/gcore.exp
7057 * gdb.btrace/instruction_history.exp
7058 * gdb.btrace/nohist.exp
7059 * gdb.btrace/reconnect.exp
7060 * gdb.btrace/record_goto-step.exp
7061 * gdb.btrace/record_goto.exp
7062 * gdb.btrace/rn-dl-bind.exp
7063 * gdb.btrace/segv.exp
7064 * gdb.btrace/step.exp
7065 * gdb.btrace/stepi.exp
7066 * gdb.btrace/tailcall-only.exp
7067 * gdb.btrace/tailcall.exp
7068 * gdb.btrace/tsx.exp
7069 * gdb.btrace/unknown_functions.exp
7070 * gdb.btrace/vdso.exp
7071 * gdb.compile/compile-ifunc.exp
7072 * gdb.compile/compile-ops.exp
7073 * gdb.compile/compile-print.exp
7074 * gdb.compile/compile-setjmp.exp
7075 * gdb.cp/abstract-origin.exp
7076 * gdb.cp/ambiguous.exp
7077 * gdb.cp/annota2.exp
7078 * gdb.cp/annota3.exp
7079 * gdb.cp/anon-ns.exp
7080 * gdb.cp/anon-struct.exp
7081 * gdb.cp/anon-union.exp
7082 * gdb.cp/arg-reference.exp
7083 * gdb.cp/baseenum.exp
7084 * gdb.cp/bool.exp
7085 * gdb.cp/breakpoint.exp
7086 * gdb.cp/bs15503.exp
7087 * gdb.cp/call-c.exp
7088 * gdb.cp/casts.exp
7089 * gdb.cp/chained-calls.exp
7090 * gdb.cp/class2.exp
7091 * gdb.cp/classes.exp
7092 * gdb.cp/cmpd-minsyms.exp
7093 * gdb.cp/converts.exp
7094 * gdb.cp/cp-relocate.exp
7095 * gdb.cp/cpcompletion.exp
7096 * gdb.cp/cpexprs.exp
7097 * gdb.cp/cplabel.exp
7098 * gdb.cp/cplusfuncs.exp
7099 * gdb.cp/cpsizeof.exp
7100 * gdb.cp/ctti.exp
7101 * gdb.cp/derivation.exp
7102 * gdb.cp/destrprint.exp
7103 * gdb.cp/dispcxx.exp
7104 * gdb.cp/enum-class.exp
7105 * gdb.cp/exception.exp
7106 * gdb.cp/exceptprint.exp
7107 * gdb.cp/expand-psymtabs-cxx.exp
7108 * gdb.cp/expand-sals.exp
7109 * gdb.cp/extern-c.exp
7110 * gdb.cp/filename.exp
7111 * gdb.cp/formatted-ref.exp
7112 * gdb.cp/fpointer.exp
7113 * gdb.cp/gdb1355.exp
7114 * gdb.cp/gdb2495.exp
7115 * gdb.cp/hang.exp
7116 * gdb.cp/impl-this.exp
7117 * gdb.cp/infcall-dlopen.exp
7118 * gdb.cp/inherit.exp
7119 * gdb.cp/iostream.exp
7120 * gdb.cp/koenig.exp
7121 * gdb.cp/local.exp
7122 * gdb.cp/m-data.exp
7123 * gdb.cp/m-static.exp
7124 * gdb.cp/mb-ctor.exp
7125 * gdb.cp/mb-inline.exp
7126 * gdb.cp/mb-templates.exp
7127 * gdb.cp/member-name.exp
7128 * gdb.cp/member-ptr.exp
7129 * gdb.cp/meth-typedefs.exp
7130 * gdb.cp/method.exp
7131 * gdb.cp/method2.exp
7132 * gdb.cp/minsym-fallback.exp
7133 * gdb.cp/misc.exp
7134 * gdb.cp/namelessclass.exp
7135 * gdb.cp/namespace-enum.exp
7136 * gdb.cp/namespace-nested-import.exp
7137 * gdb.cp/namespace.exp
7138 * gdb.cp/nextoverthrow.exp
7139 * gdb.cp/no-dmgl-verbose.exp
7140 * gdb.cp/non-trivial-retval.exp
7141 * gdb.cp/noparam.exp
7142 * gdb.cp/nsdecl.exp
7143 * gdb.cp/nsimport.exp
7144 * gdb.cp/nsnested.exp
7145 * gdb.cp/nsnoimports.exp
7146 * gdb.cp/nsrecurs.exp
7147 * gdb.cp/nsstress.exp
7148 * gdb.cp/nsusing.exp
7149 * gdb.cp/operator.exp
7150 * gdb.cp/oranking.exp
7151 * gdb.cp/overload-const.exp
7152 * gdb.cp/overload.exp
7153 * gdb.cp/ovldbreak.exp
7154 * gdb.cp/ovsrch.exp
7155 * gdb.cp/paren-type.exp
7156 * gdb.cp/parse-lang.exp
7157 * gdb.cp/pass-by-ref.exp
7158 * gdb.cp/pr-1023.exp
7159 * gdb.cp/pr-1210.exp
7160 * gdb.cp/pr-574.exp
7161 * gdb.cp/pr10687.exp
7162 * gdb.cp/pr12028.exp
7163 * gdb.cp/pr17132.exp
7164 * gdb.cp/pr17494.exp
7165 * gdb.cp/pr9067.exp
7166 * gdb.cp/pr9167.exp
7167 * gdb.cp/pr9631.exp
7168 * gdb.cp/printmethod.exp
7169 * gdb.cp/psmang.exp
7170 * gdb.cp/psymtab-parameter.exp
7171 * gdb.cp/ptype-cv-cp.exp
7172 * gdb.cp/ptype-flags.exp
7173 * gdb.cp/re-set-overloaded.exp
7174 * gdb.cp/ref-types.exp
7175 * gdb.cp/rtti.exp
7176 * gdb.cp/scope-err.exp
7177 * gdb.cp/shadow.exp
7178 * gdb.cp/smartp.exp
7179 * gdb.cp/static-method.exp
7180 * gdb.cp/static-print-quit.exp
7181 * gdb.cp/temargs.exp
7182 * gdb.cp/templates.exp
7183 * gdb.cp/try_catch.exp
7184 * gdb.cp/typedef-operator.exp
7185 * gdb.cp/typeid.exp
7186 * gdb.cp/userdef.exp
7187 * gdb.cp/using-crash.exp
7188 * gdb.cp/var-tag.exp
7189 * gdb.cp/virtbase.exp
7190 * gdb.cp/virtfunc.exp
7191 * gdb.cp/virtfunc2.exp
7192 * gdb.cp/vla-cxx.exp
7193 * gdb.disasm/t01_mov.exp
7194 * gdb.disasm/t02_mova.exp
7195 * gdb.disasm/t03_add.exp
7196 * gdb.disasm/t04_sub.exp
7197 * gdb.disasm/t05_cmp.exp
7198 * gdb.disasm/t06_ari2.exp
7199 * gdb.disasm/t07_ari3.exp
7200 * gdb.disasm/t08_or.exp
7201 * gdb.disasm/t09_xor.exp
7202 * gdb.disasm/t10_and.exp
7203 * gdb.disasm/t11_logs.exp
7204 * gdb.disasm/t12_bit.exp
7205 * gdb.disasm/t13_otr.exp
7206 * gdb.dlang/circular.exp
7207 * gdb.dwarf2/arr-stride.exp
7208 * gdb.dwarf2/arr-subrange.exp
7209 * gdb.dwarf2/atomic-type.exp
7210 * gdb.dwarf2/bad-regnum.exp
7211 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7212 * gdb.dwarf2/callframecfa.exp
7213 * gdb.dwarf2/clztest.exp
7214 * gdb.dwarf2/corrupt.exp
7215 * gdb.dwarf2/data-loc.exp
7216 * gdb.dwarf2/dup-psym.exp
7217 * gdb.dwarf2/dw2-anon-mptr.exp
7218 * gdb.dwarf2/dw2-anonymous-func.exp
7219 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7220 * gdb.dwarf2/dw2-bad-unresolved.exp
7221 * gdb.dwarf2/dw2-basic.exp
7222 * gdb.dwarf2/dw2-canonicalize-type.exp
7223 * gdb.dwarf2/dw2-case-insensitive.exp
7224 * gdb.dwarf2/dw2-common-block.exp
7225 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7226 * gdb.dwarf2/dw2-compressed.exp
7227 * gdb.dwarf2/dw2-const.exp
7228 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7229 * gdb.dwarf2/dw2-cu-size.exp
7230 * gdb.dwarf2/dw2-dup-frame.exp
7231 * gdb.dwarf2/dw2-entry-value.exp
7232 * gdb.dwarf2/dw2-icycle.exp
7233 * gdb.dwarf2/dw2-ifort-parameter.exp
7234 * gdb.dwarf2/dw2-inline-break.exp
7235 * gdb.dwarf2/dw2-inline-param.exp
7236 * gdb.dwarf2/dw2-intercu.exp
7237 * gdb.dwarf2/dw2-intermix.exp
7238 * gdb.dwarf2/dw2-lexical-block-bare.exp
7239 * gdb.dwarf2/dw2-linkage-name-trust.exp
7240 * gdb.dwarf2/dw2-minsym-in-cu.exp
7241 * gdb.dwarf2/dw2-noloc.exp
7242 * gdb.dwarf2/dw2-op-call.exp
7243 * gdb.dwarf2/dw2-op-out-param.exp
7244 * gdb.dwarf2/dw2-opt-structptr.exp
7245 * gdb.dwarf2/dw2-param-error.exp
7246 * gdb.dwarf2/dw2-producer.exp
7247 * gdb.dwarf2/dw2-ranges-base.exp
7248 * gdb.dwarf2/dw2-ref-missing-frame.exp
7249 * gdb.dwarf2/dw2-reg-undefined.exp
7250 * gdb.dwarf2/dw2-regno-invalid.exp
7251 * gdb.dwarf2/dw2-restore.exp
7252 * gdb.dwarf2/dw2-restrict.exp
7253 * gdb.dwarf2/dw2-single-line-discriminators.exp
7254 * gdb.dwarf2/dw2-strp.exp
7255 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7256 * gdb.dwarf2/dw2-unresolved.exp
7257 * gdb.dwarf2/dw2-var-zero-addr.exp
7258 * gdb.dwarf2/dw4-sig-types.exp
7259 * gdb.dwarf2/dwz.exp
7260 * gdb.dwarf2/dynarr-ptr.exp
7261 * gdb.dwarf2/enum-type.exp
7262 * gdb.dwarf2/gdb-index.exp
7263 * gdb.dwarf2/implptr-64bit.exp
7264 * gdb.dwarf2/implptr-optimized-out.exp
7265 * gdb.dwarf2/implptr.exp
7266 * gdb.dwarf2/implref-array.exp
7267 * gdb.dwarf2/implref-const.exp
7268 * gdb.dwarf2/implref-global.exp
7269 * gdb.dwarf2/implref-struct.exp
7270 * gdb.dwarf2/mac-fileno.exp
7271 * gdb.dwarf2/main-subprogram.exp
7272 * gdb.dwarf2/member-ptr-forwardref.exp
7273 * gdb.dwarf2/method-ptr.exp
7274 * gdb.dwarf2/missing-sig-type.exp
7275 * gdb.dwarf2/nonvar-access.exp
7276 * gdb.dwarf2/opaque-type-lookup.exp
7277 * gdb.dwarf2/pieces-optimized-out.exp
7278 * gdb.dwarf2/pieces.exp
7279 * gdb.dwarf2/pr10770.exp
7280 * gdb.dwarf2/pr13961.exp
7281 * gdb.dwarf2/staticvirtual.exp
7282 * gdb.dwarf2/subrange.exp
7283 * gdb.dwarf2/symtab-producer.exp
7284 * gdb.dwarf2/trace-crash.exp
7285 * gdb.dwarf2/typeddwarf.exp
7286 * gdb.dwarf2/valop.exp
7287 * gdb.dwarf2/watch-notconst.exp
7288 * gdb.fortran/array-element.exp
7289 * gdb.fortran/charset.exp
7290 * gdb.fortran/common-block.exp
7291 * gdb.fortran/complex.exp
7292 * gdb.fortran/derived-type-function.exp
7293 * gdb.fortran/derived-type.exp
7294 * gdb.fortran/logical.exp
7295 * gdb.fortran/module.exp
7296 * gdb.fortran/multi-dim.exp
7297 * gdb.fortran/nested-funcs.exp
7298 * gdb.fortran/print-formatted.exp
7299 * gdb.fortran/subarray.exp
7300 * gdb.fortran/vla-alloc-assoc.exp
7301 * gdb.fortran/vla-datatypes.exp
7302 * gdb.fortran/vla-history.exp
7303 * gdb.fortran/vla-ptr-info.exp
7304 * gdb.fortran/vla-ptype-sub.exp
7305 * gdb.fortran/vla-ptype.exp
7306 * gdb.fortran/vla-sizeof.exp
7307 * gdb.fortran/vla-type.exp
7308 * gdb.fortran/vla-value-sub-arbitrary.exp
7309 * gdb.fortran/vla-value-sub-finish.exp
7310 * gdb.fortran/vla-value-sub.exp
7311 * gdb.fortran/vla-value.exp
7312 * gdb.fortran/whatis_type.exp
7313 * gdb.go/chan.exp
7314 * gdb.go/handcall.exp
7315 * gdb.go/hello.exp
7316 * gdb.go/integers.exp
7317 * gdb.go/methods.exp
7318 * gdb.go/package.exp
7319 * gdb.go/strings.exp
7320 * gdb.go/types.exp
7321 * gdb.go/unsafe.exp
7322 * gdb.guile/scm-arch.exp
7323 * gdb.guile/scm-block.exp
7324 * gdb.guile/scm-breakpoint.exp
7325 * gdb.guile/scm-cmd.exp
7326 * gdb.guile/scm-disasm.exp
7327 * gdb.guile/scm-equal.exp
7328 * gdb.guile/scm-frame-args.exp
7329 * gdb.guile/scm-frame-inline.exp
7330 * gdb.guile/scm-frame.exp
7331 * gdb.guile/scm-iterator.exp
7332 * gdb.guile/scm-math.exp
7333 * gdb.guile/scm-objfile.exp
7334 * gdb.guile/scm-ports.exp
7335 * gdb.guile/scm-symbol.exp
7336 * gdb.guile/scm-symtab.exp
7337 * gdb.guile/scm-value-cc.exp
7338 * gdb.guile/types-module.exp
7339 * gdb.linespec/break-ask.exp
7340 * gdb.linespec/cpexplicit.exp
7341 * gdb.linespec/explicit.exp
7342 * gdb.linespec/keywords.exp
7343 * gdb.linespec/linespec.exp
7344 * gdb.linespec/ls-dollar.exp
7345 * gdb.linespec/ls-errs.exp
7346 * gdb.linespec/skip-two.exp
7347 * gdb.linespec/thread.exp
7348 * gdb.mi/mi-async.exp
7349 * gdb.mi/mi-basics.exp
7350 * gdb.mi/mi-break.exp
7351 * gdb.mi/mi-catch-load.exp
7352 * gdb.mi/mi-cli.exp
7353 * gdb.mi/mi-cmd-param-changed.exp
7354 * gdb.mi/mi-console.exp
7355 * gdb.mi/mi-detach.exp
7356 * gdb.mi/mi-disassemble.exp
7357 * gdb.mi/mi-eval.exp
7358 * gdb.mi/mi-file-transfer.exp
7359 * gdb.mi/mi-file.exp
7360 * gdb.mi/mi-fill-memory.exp
7361 * gdb.mi/mi-inheritance-syntax-error.exp
7362 * gdb.mi/mi-linespec-err-cp.exp
7363 * gdb.mi/mi-logging.exp
7364 * gdb.mi/mi-memory-changed.exp
7365 * gdb.mi/mi-read-memory.exp
7366 * gdb.mi/mi-record-changed.exp
7367 * gdb.mi/mi-reg-undefined.exp
7368 * gdb.mi/mi-regs.exp
7369 * gdb.mi/mi-return.exp
7370 * gdb.mi/mi-reverse.exp
7371 * gdb.mi/mi-simplerun.exp
7372 * gdb.mi/mi-solib.exp
7373 * gdb.mi/mi-stack.exp
7374 * gdb.mi/mi-stepi.exp
7375 * gdb.mi/mi-syn-frame.exp
7376 * gdb.mi/mi-until.exp
7377 * gdb.mi/mi-var-block.exp
7378 * gdb.mi/mi-var-child.exp
7379 * gdb.mi/mi-var-cmd.exp
7380 * gdb.mi/mi-var-cp.exp
7381 * gdb.mi/mi-var-display.exp
7382 * gdb.mi/mi-var-invalidate.exp
7383 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7384 * gdb.mi/mi-vla-fortran.exp
7385 * gdb.mi/mi-watch.exp
7386 * gdb.mi/mi2-var-child.exp
7387 * gdb.mi/user-selected-context-sync.exp
7388 * gdb.modula2/unbounded-array.exp
7389 * gdb.multi/dummy-frame-restore.exp
7390 * gdb.multi/multi-arch-exec.exp
7391 * gdb.multi/multi-arch.exp
7392 * gdb.multi/tids.exp
7393 * gdb.multi/watchpoint-multi.exp
7394 * gdb.opencl/callfuncs.exp
7395 * gdb.opencl/convs_casts.exp
7396 * gdb.opencl/datatypes.exp
7397 * gdb.opencl/operators.exp
7398 * gdb.opencl/vec_comps.exp
7399 * gdb.opt/clobbered-registers-O2.exp
7400 * gdb.opt/inline-break.exp
7401 * gdb.opt/inline-bt.exp
7402 * gdb.opt/inline-cmds.exp
7403 * gdb.opt/inline-locals.exp
7404 * gdb.pascal/case-insensitive-symbols.exp
7405 * gdb.pascal/floats.exp
7406 * gdb.pascal/gdb11492.exp
7407 * gdb.python/lib-types.exp
7408 * gdb.python/py-arch.exp
7409 * gdb.python/py-as-string.exp
7410 * gdb.python/py-bad-printers.exp
7411 * gdb.python/py-block.exp
7412 * gdb.python/py-breakpoint-create-fail.exp
7413 * gdb.python/py-breakpoint.exp
7414 * gdb.python/py-caller-is.exp
7415 * gdb.python/py-cmd.exp
7416 * gdb.python/py-explore-cc.exp
7417 * gdb.python/py-explore.exp
7418 * gdb.python/py-finish-breakpoint.exp
7419 * gdb.python/py-finish-breakpoint2.exp
7420 * gdb.python/py-frame-args.exp
7421 * gdb.python/py-frame-inline.exp
7422 * gdb.python/py-frame.exp
7423 * gdb.python/py-framefilter-mi.exp
7424 * gdb.python/py-infthread.exp
7425 * gdb.python/py-lazy-string.exp
7426 * gdb.python/py-linetable.exp
7427 * gdb.python/py-mi-events.exp
7428 * gdb.python/py-mi-objfile.exp
7429 * gdb.python/py-mi.exp
7430 * gdb.python/py-objfile.exp
7431 * gdb.python/py-pp-integral.exp
7432 * gdb.python/py-pp-maint.exp
7433 * gdb.python/py-pp-re-notag.exp
7434 * gdb.python/py-pp-registration.exp
7435 * gdb.python/py-recurse-unwind.exp
7436 * gdb.python/py-strfns.exp
7437 * gdb.python/py-symbol.exp
7438 * gdb.python/py-symtab.exp
7439 * gdb.python/py-sync-interp.exp
7440 * gdb.python/py-typeprint.exp
7441 * gdb.python/py-unwind-maint.exp
7442 * gdb.python/py-unwind.exp
7443 * gdb.python/py-value-cc.exp
7444 * gdb.python/py-xmethods.exp
7445 * gdb.reverse/amd64-tailcall-reverse.exp
7446 * gdb.reverse/break-precsave.exp
7447 * gdb.reverse/break-reverse.exp
7448 * gdb.reverse/consecutive-precsave.exp
7449 * gdb.reverse/consecutive-reverse.exp
7450 * gdb.reverse/finish-precsave.exp
7451 * gdb.reverse/finish-reverse-bkpt.exp
7452 * gdb.reverse/finish-reverse.exp
7453 * gdb.reverse/fstatat-reverse.exp
7454 * gdb.reverse/getresuid-reverse.exp
7455 * gdb.reverse/i386-precsave.exp
7456 * gdb.reverse/i386-reverse.exp
7457 * gdb.reverse/i386-sse-reverse.exp
7458 * gdb.reverse/i387-env-reverse.exp
7459 * gdb.reverse/i387-stack-reverse.exp
7460 * gdb.reverse/insn-reverse.exp
7461 * gdb.reverse/machinestate-precsave.exp
7462 * gdb.reverse/machinestate.exp
7463 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7464 * gdb.reverse/pipe-reverse.exp
7465 * gdb.reverse/readv-reverse.exp
7466 * gdb.reverse/recvmsg-reverse.exp
7467 * gdb.reverse/rerun-prec.exp
7468 * gdb.reverse/s390-mvcle.exp
7469 * gdb.reverse/step-precsave.exp
7470 * gdb.reverse/step-reverse.exp
7471 * gdb.reverse/time-reverse.exp
7472 * gdb.reverse/until-precsave.exp
7473 * gdb.reverse/until-reverse.exp
7474 * gdb.reverse/waitpid-reverse.exp
7475 * gdb.reverse/watch-precsave.exp
7476 * gdb.reverse/watch-reverse.exp
7477 * gdb.rust/generics.exp
7478 * gdb.rust/methods.exp
7479 * gdb.rust/modules.exp
7480 * gdb.rust/simple.exp
7481 * gdb.server/connect-with-no-symbol-file.exp
7482 * gdb.server/ext-attach.exp
7483 * gdb.server/ext-restart.exp
7484 * gdb.server/ext-wrapper.exp
7485 * gdb.server/file-transfer.exp
7486 * gdb.server/server-exec-info.exp
7487 * gdb.server/server-kill.exp
7488 * gdb.server/server-mon.exp
7489 * gdb.server/wrapper.exp
7490 * gdb.stabs/exclfwd.exp
7491 * gdb.stabs/gdb11479.exp
7492 * gdb.threads/clone-new-thread-event.exp
7493 * gdb.threads/corethreads.exp
7494 * gdb.threads/current-lwp-dead.exp
7495 * gdb.threads/dlopen-libpthread.exp
7496 * gdb.threads/gcore-thread.exp
7497 * gdb.threads/sigstep-threads.exp
7498 * gdb.threads/watchpoint-fork.exp
7499 * gdb.trace/actions-changed.exp
7500 * gdb.trace/backtrace.exp
7501 * gdb.trace/change-loc.exp
7502 * gdb.trace/circ.exp
7503 * gdb.trace/collection.exp
7504 * gdb.trace/disconnected-tracing.exp
7505 * gdb.trace/ftrace.exp
7506 * gdb.trace/mi-trace-frame-collected.exp
7507 * gdb.trace/mi-trace-unavailable.exp
7508 * gdb.trace/mi-traceframe-changed.exp
7509 * gdb.trace/mi-tsv-changed.exp
7510 * gdb.trace/no-attach-trace.exp
7511 * gdb.trace/passc-dyn.exp
7512 * gdb.trace/qtro.exp
7513 * gdb.trace/range-stepping.exp
7514 * gdb.trace/read-memory.exp
7515 * gdb.trace/save-trace.exp
7516 * gdb.trace/signal.exp
7517 * gdb.trace/status-stop.exp
7518 * gdb.trace/tfile.exp
7519 * gdb.trace/trace-break.exp
7520 * gdb.trace/trace-buffer-size.exp
7521 * gdb.trace/trace-condition.exp
7522 * gdb.trace/tracefile-pseudo-reg.exp
7523 * gdb.trace/tstatus.exp
7524 * gdb.trace/unavailable.exp
7525 * gdb.trace/while-dyn.exp
7526 * gdb.trace/while-stepping.exp
7527
7528 2016-12-22 Doug Evans <xdje42@gmail.com>
7529
7530 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7531 and msymbols.
7532
7533 2016-12-19 Yao Qi <yao.qi@linaro.org>
7534
7535 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7536 (test_with_self): Don't call do_steps_and_nexts, and remove
7537 code about stepping into xmalloc.
7538
7539 2016-12-09 Yao Qi <yao.qi@linaro.org>
7540
7541 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7542
7543 2016-12-09 Yao Qi <yao.qi@linaro.org>
7544
7545 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7546
7547 2016-12-09 Pedro Alves <palves@redhat.com>
7548
7549 * gdb.base/all-architectures-0.exp: New file.
7550 * gdb.base/all-architectures-1.exp: New file.
7551 * gdb.base/all-architectures-2.exp: New file.
7552 * gdb.base/all-architectures-3.exp: New file.
7553 * gdb.base/all-architectures-4.exp: New file.
7554 * gdb.base/all-architectures-5.exp: New file.
7555 * gdb.base/all-architectures-6.exp: New file.
7556 * gdb.base/all-architectures-7.exp: New file.
7557 * gdb.base/all-architectures.exp.in: New file.
7558
7559 2016-12-09 Yao Qi <yao.qi@linaro.org>
7560
7561 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7562
7563 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7564
7565 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7566 possible.
7567 Remove useless pattern-matching code.
7568
7569 2016-12-02 Pedro Alves <palves@redhat.com>
7570
7571 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7572 procedure.
7573 (top level): Call it.
7574
7575 2016-12-02 Pedro Alves <palves@redhat.com>
7576
7577 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7578 New procedure.
7579 (top level): Call it.
7580
7581 2016-12-02 Pedro Alves <palves@redhat.com>
7582
7583 PR cli/20559
7584 * gdb.base/commands.exp (user_defined_command_args_eval): New
7585 procedure.
7586 (top level): Call it.
7587
7588 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7589
7590 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7591 timeout handling.
7592
7593 2016-12-02 Tom Tromey <tom@tromey.com>
7594
7595 * gdb.dwarf2/main-subprogram.c: New file.
7596 * gdb.dwarf2/main-subprogram.exp: New file.
7597
7598 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7599
7600 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7601 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7602 gdb_test_no_output for a couple of cases.
7603 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7604
7605 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7606
7607 Fix test names and standardize compilation error messages throughout
7608 the following files:
7609
7610 * gdb.ada/start.exp
7611 * gdb.arch/alpha-step.exp
7612 * gdb.arch/e500-prologue.exp
7613 * gdb.arch/ftrace-insn-reloc.exp
7614 * gdb.arch/gdb1291.exp
7615 * gdb.arch/gdb1431.exp
7616 * gdb.arch/gdb1558.exp
7617 * gdb.arch/i386-dr3-watch.exp
7618 * gdb.arch/i386-sse-stack-align.exp
7619 * gdb.arch/ia64-breakpoint-shadow.exp
7620 * gdb.arch/pa-nullify.exp
7621 * gdb.arch/powerpc-aix-prologue.exp
7622 * gdb.arch/thumb-bx-pc.exp
7623 * gdb.base/annota1.exp
7624 * gdb.base/annota3.exp
7625 * gdb.base/arrayidx.exp
7626 * gdb.base/assign.exp
7627 * gdb.base/attach.exp
7628 * gdb.base/auxv.exp
7629 * gdb.base/bang.exp
7630 * gdb.base/bfp-test.exp
7631 * gdb.base/bigcore.exp
7632 * gdb.base/bitfields2.exp
7633 * gdb.base/break-fun-addr.exp
7634 * gdb.base/break-probes.exp
7635 * gdb.base/call-rt-st.exp
7636 * gdb.base/callexit.exp
7637 * gdb.base/catch-fork-kill.exp
7638 * gdb.base/charset.exp
7639 * gdb.base/checkpoint.exp
7640 * gdb.base/comprdebug.exp
7641 * gdb.base/constvars.exp
7642 * gdb.base/coredump-filter.exp
7643 * gdb.base/cursal.exp
7644 * gdb.base/cvexpr.exp
7645 * gdb.base/detach.exp
7646 * gdb.base/display.exp
7647 * gdb.base/dmsym.exp
7648 * gdb.base/dprintf-pending.exp
7649 * gdb.base/dso2dso.exp
7650 * gdb.base/dtrace-probe.exp
7651 * gdb.base/dump.exp
7652 * gdb.base/enum_cond.exp
7653 * gdb.base/exe-lock.exp
7654 * gdb.base/exec-invalid-sysroot.exp
7655 * gdb.base/execl-update-breakpoints.exp
7656 * gdb.base/exprs.exp
7657 * gdb.base/fileio.exp
7658 * gdb.base/find.exp
7659 * gdb.base/finish.exp
7660 * gdb.base/fixsection.exp
7661 * gdb.base/foll-vfork.exp
7662 * gdb.base/frame-args.exp
7663 * gdb.base/gcore.exp
7664 * gdb.base/gdb1250.exp
7665 * gdb.base/global-var-nested-by-dso.exp
7666 * gdb.base/gnu-ifunc.exp
7667 * gdb.base/hashline1.exp
7668 * gdb.base/hashline2.exp
7669 * gdb.base/hashline3.exp
7670 * gdb.base/hbreak-in-shr-unsupported.exp
7671 * gdb.base/huge.exp
7672 * gdb.base/infcall-input.exp
7673 * gdb.base/info-fun.exp
7674 * gdb.base/info-shared.exp
7675 * gdb.base/jit-simple.exp
7676 * gdb.base/jit-so.exp
7677 * gdb.base/jit.exp
7678 * gdb.base/jump.exp
7679 * gdb.base/label.exp
7680 * gdb.base/lineinc.exp
7681 * gdb.base/logical.exp
7682 * gdb.base/longjmp.exp
7683 * gdb.base/macscp.exp
7684 * gdb.base/miscexprs.exp
7685 * gdb.base/new-ui-echo.exp
7686 * gdb.base/new-ui-pending-input.exp
7687 * gdb.base/new-ui.exp
7688 * gdb.base/nodebug.exp
7689 * gdb.base/nofield.exp
7690 * gdb.base/offsets.exp
7691 * gdb.base/overlays.exp
7692 * gdb.base/pending.exp
7693 * gdb.base/pointers.exp
7694 * gdb.base/pr11022.exp
7695 * gdb.base/printcmds.exp
7696 * gdb.base/prologue.exp
7697 * gdb.base/ptr-typedef.exp
7698 * gdb.base/realname-expand.exp
7699 * gdb.base/relativedebug.exp
7700 * gdb.base/relocate.exp
7701 * gdb.base/remote.exp
7702 * gdb.base/reread.exp
7703 * gdb.base/return2.exp
7704 * gdb.base/savedregs.exp
7705 * gdb.base/sep.exp
7706 * gdb.base/sepdebug.exp
7707 * gdb.base/sepsymtab.exp
7708 * gdb.base/set-inferior-tty.exp
7709 * gdb.base/setshow.exp
7710 * gdb.base/shlib-call.exp
7711 * gdb.base/sigaltstack.exp
7712 * gdb.base/siginfo-addr.exp
7713 * gdb.base/signals.exp
7714 * gdb.base/signull.exp
7715 * gdb.base/sigrepeat.exp
7716 * gdb.base/so-impl-ld.exp
7717 * gdb.base/solib-display.exp
7718 * gdb.base/solib-overlap.exp
7719 * gdb.base/solib-search.exp
7720 * gdb.base/solib-symbol.exp
7721 * gdb.base/structs.exp
7722 * gdb.base/structs2.exp
7723 * gdb.base/symtab-search-order.exp
7724 * gdb.base/twice.exp
7725 * gdb.base/unload.exp
7726 * gdb.base/varargs.exp
7727 * gdb.base/watchpoint-solib.exp
7728 * gdb.base/watchpoint.exp
7729 * gdb.base/whatis.exp
7730 * gdb.base/wrong_frame_bt_full.exp
7731 * gdb.btrace/dlopen.exp
7732 * gdb.cell/ea-standalone.exp
7733 * gdb.cell/ea-test.exp
7734 * gdb.cp/dispcxx.exp
7735 * gdb.cp/gdb2384.exp
7736 * gdb.cp/method2.exp
7737 * gdb.cp/nextoverthrow.exp
7738 * gdb.cp/pr10728.exp
7739 * gdb.disasm/am33.exp
7740 * gdb.disasm/h8300s.exp
7741 * gdb.disasm/mn10300.exp
7742 * gdb.disasm/sh3.exp
7743 * gdb.dwarf2/dw2-dir-file-name.exp
7744 * gdb.fortran/complex.exp
7745 * gdb.fortran/library-module.exp
7746 * gdb.guile/scm-pretty-print.exp
7747 * gdb.guile/scm-symbol.exp
7748 * gdb.guile/scm-type.exp
7749 * gdb.guile/scm-value.exp
7750 * gdb.linespec/linespec.exp
7751 * gdb.mi/gdb701.exp
7752 * gdb.mi/gdb792.exp
7753 * gdb.mi/mi-breakpoint-changed.exp
7754 * gdb.mi/mi-dprintf-pending.exp
7755 * gdb.mi/mi-dprintf.exp
7756 * gdb.mi/mi-exit-code.exp
7757 * gdb.mi/mi-pending.exp
7758 * gdb.mi/mi-solib.exp
7759 * gdb.mi/new-ui-mi-sync.exp
7760 * gdb.mi/pr11022.exp
7761 * gdb.mi/user-selected-context-sync.exp
7762 * gdb.opt/solib-intra-step.exp
7763 * gdb.python/py-events.exp
7764 * gdb.python/py-finish-breakpoint.exp
7765 * gdb.python/py-mi.exp
7766 * gdb.python/py-prettyprint.exp
7767 * gdb.python/py-shared.exp
7768 * gdb.python/py-symbol.exp
7769 * gdb.python/py-template.exp
7770 * gdb.python/py-type.exp
7771 * gdb.python/py-value.exp
7772 * gdb.reverse/solib-precsave.exp
7773 * gdb.reverse/solib-reverse.exp
7774 * gdb.server/solib-list.exp
7775 * gdb.stabs/weird.exp
7776 * gdb.threads/reconnect-signal.exp
7777 * gdb.threads/stepi-random-signal.exp
7778 * gdb.trace/actions.exp
7779 * gdb.trace/ax.exp
7780 * gdb.trace/backtrace.exp
7781 * gdb.trace/change-loc.exp
7782 * gdb.trace/deltrace.exp
7783 * gdb.trace/ftrace-lock.exp
7784 * gdb.trace/ftrace.exp
7785 * gdb.trace/infotrace.exp
7786 * gdb.trace/mi-tracepoint-changed.exp
7787 * gdb.trace/packetlen.exp
7788 * gdb.trace/passcount.exp
7789 * gdb.trace/pending.exp
7790 * gdb.trace/range-stepping.exp
7791 * gdb.trace/report.exp
7792 * gdb.trace/stap-trace.exp
7793 * gdb.trace/tfind.exp
7794 * gdb.trace/trace-break.exp
7795 * gdb.trace/trace-condition.exp
7796 * gdb.trace/trace-enable-disable.exp
7797 * gdb.trace/trace-mt.exp
7798 * gdb.trace/tracecmd.exp
7799 * gdb.trace/tspeed.exp
7800 * gdb.trace/tsv.exp
7801 * lib/perftest.exp
7802
7803 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7804
7805 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7806 with gdb_test_no_output.
7807 Use command as test name.
7808
7809 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7810
7811 Fix test names starting with uppercase throughout the files.
7812
7813 * gdb.ada/assign_1.exp
7814 * gdb.ada/boolean_expr.exp
7815 * gdb.base/arrayidx.exp
7816 * gdb.base/del.exp
7817 * gdb.base/gcore-buffer-overflow.exp
7818 * gdb.base/testenv.exp
7819 * gdb.compile/compile.exp
7820 * gdb.python/py-framefilter-invalidarg.exp
7821 * gdb.python/py-framefilter.exp
7822
7823 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7824
7825 Fix test names starting with uppercase throughout the files.
7826
7827 * gdb.ada/array_return.exp
7828 * gdb.ada/expr_delims.exp
7829 * gdb.ada/mi_dyn_arr.exp
7830 * gdb.ada/mi_interface.exp
7831 * gdb.ada/mi_var_array.exp
7832 * gdb.ada/watch_arg.exp
7833 * gdb.arch/alpha-step.exp
7834 * gdb.arch/altivec-regs.exp
7835 * gdb.arch/e500-regs.exp
7836 * gdb.arch/powerpc-d128-regs.exp
7837 * gdb.base/arrayidx.exp
7838 * gdb.base/break.exp
7839 * gdb.base/checkpoint.exp
7840 * gdb.base/debug-expr.exp
7841 * gdb.base/dmsym.exp
7842 * gdb.base/radix.exp
7843 * gdb.base/sepdebug.exp
7844 * gdb.base/testenv.exp
7845 * gdb.base/watch_thread_num.exp
7846 * gdb.base/watchpoint-cond-gone.exp
7847 * gdb.cell/break.exp
7848 * gdb.cell/ea-cache.exp
7849 * gdb.compile/compile.exp
7850 * gdb.cp/gdb2495.exp
7851 * gdb.gdb/selftest.exp
7852 * gdb.gdb/xfullpath.exp
7853 * gdb.go/hello.exp
7854 * gdb.go/integers.exp
7855 * gdb.objc/basicclass.exp
7856 * gdb.pascal/hello.exp
7857 * gdb.pascal/integers.exp
7858 * gdb.python/py-breakpoint.exp
7859 * gdb.python/py-cmd.exp
7860 * gdb.python/py-linetable.exp
7861 * gdb.python/py-xmethods.exp
7862 * gdb.python/python.exp
7863 * gdb.reverse/consecutive-precsave.exp
7864 * gdb.reverse/finish-precsave.exp
7865 * gdb.reverse/i386-precsave.exp
7866 * gdb.reverse/machinestate-precsave.exp
7867 * gdb.reverse/sigall-precsave.exp
7868 * gdb.reverse/solib-precsave.exp
7869 * gdb.reverse/step-precsave.exp
7870 * gdb.reverse/until-precsave.exp
7871 * gdb.reverse/watch-precsave.exp
7872 * gdb.threads/leader-exit.exp
7873 * gdb.threads/pthreads.exp
7874 * gdb.threads/wp-replication.exp
7875 * gdb.trace/actions.exp
7876 * gdb.trace/mi-tsv-changed.exp
7877 * gdb.trace/tsv.exp
7878
7879 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7880
7881 Fix test names starting with uppercase throughout the files.
7882
7883 * gdb.arch/i386-bp_permanent.exp
7884 * gdb.arch/i386-gnu-cfi.exp
7885 * gdb.base/disasm-end-cu.exp
7886 * gdb.base/macscp.exp
7887 * gdb.base/pending.exp
7888 * gdb.base/watch_thread_num.exp
7889 * gdb.cp/exception.exp
7890 * gdb.cp/gdb2495.exp
7891 * gdb.cp/local.exp
7892 * gdb.python/py-evsignal.exp
7893 * gdb.python/python.exp
7894 * gdb.trace/tracecmd.exp
7895
7896 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7897
7898 Fix test names starting with uppercase throughout the files.
7899
7900 * gdb.base/charset.exp
7901 * gdb.base/eval.exp
7902 * gdb.base/multi-forks.exp
7903 * gdb.guile/scm-progspace.exp
7904 * gdb.opencl/datatypes.exp
7905 * gdb.python/py-block.exp
7906 * gdb.python/py-function.exp
7907 * gdb.python/py-symbol.exp
7908 * gdb.python/py-symtab.exp
7909 * gdb.python/py-xmethods.exp
7910 * gdb.reverse/break-precsave.exp
7911 * gdb.reverse/break-reverse.exp
7912 * gdb.reverse/consecutive-precsave.exp
7913 * gdb.reverse/consecutive-reverse.exp
7914 * gdb.reverse/finish-precsave.exp
7915 * gdb.reverse/finish-reverse-bkpt.exp
7916 * gdb.reverse/finish-reverse.exp
7917 * gdb.reverse/fstatat-reverse.exp
7918 * gdb.reverse/getresuid-reverse.exp
7919 * gdb.reverse/i386-precsave.exp
7920 * gdb.reverse/i386-reverse.exp
7921 * gdb.reverse/i386-sse-reverse.exp
7922 * gdb.reverse/i387-stack-reverse.exp
7923 * gdb.reverse/insn-reverse.exp
7924 * gdb.reverse/machinestate-precsave.exp
7925 * gdb.reverse/machinestate.exp
7926 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7927 * gdb.reverse/pipe-reverse.exp
7928 * gdb.reverse/readv-reverse.exp
7929 * gdb.reverse/recvmsg-reverse.exp
7930 * gdb.reverse/rerun-prec.exp
7931 * gdb.reverse/s390-mvcle.exp
7932 * gdb.reverse/sigall-precsave.exp
7933 * gdb.reverse/sigall-reverse.exp
7934 * gdb.reverse/solib-precsave.exp
7935 * gdb.reverse/solib-reverse.exp
7936 * gdb.reverse/step-precsave.exp
7937 * gdb.reverse/step-reverse.exp
7938 * gdb.reverse/time-reverse.exp
7939 * gdb.reverse/until-precsave.exp
7940 * gdb.reverse/until-reverse.exp
7941 * gdb.reverse/waitpid-reverse.exp
7942 * gdb.reverse/watch-precsave.exp
7943 * gdb.reverse/watch-reverse.exp
7944
7945 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7946
7947 Fix test names starting with uppercase throughout the files.
7948
7949 * gdb.arch/i386-mpx-simple_segv.exp
7950 * gdb.arch/i386-mpx.exp
7951 * gdb.arch/i386-permbkpt.exp
7952 * gdb.arch/pa-nullify.exp
7953 * gdb.arch/powerpc-d128-regs.exp
7954 * gdb.arch/vsx-regs.exp
7955 * gdb.base/bfp-test.exp
7956 * gdb.base/break.exp
7957 * gdb.base/breakpoint-shadow.exp
7958 * gdb.base/callfuncs.exp
7959 * gdb.base/charset.exp
7960 * gdb.base/commands.exp
7961 * gdb.base/completion.exp
7962 * gdb.base/dfp-test.exp
7963 * gdb.base/echo.exp
7964 * gdb.base/ending-run.exp
7965 * gdb.base/eval.exp
7966 * gdb.base/expand-psymtabs.exp
7967 * gdb.base/float128.exp
7968 * gdb.base/floatn.exp
7969 * gdb.base/foll-exec-mode.exp
7970 * gdb.base/gdb1056.exp
7971 * gdb.base/gdb11531.exp
7972 * gdb.base/kill-after-signal.exp
7973 * gdb.base/multi-forks.exp
7974 * gdb.base/overlays.exp
7975 * gdb.base/pending.exp
7976 * gdb.base/sepdebug.exp
7977 * gdb.base/testenv.exp
7978 * gdb.base/valgrind-db-attach.exp
7979 * gdb.base/watch_thread_num.exp
7980 * gdb.base/watchpoint-cond-gone.exp
7981 * gdb.base/watchpoint.exp
7982 * gdb.base/watchpoints.exp
7983 * gdb.cp/arg-reference.exp
7984 * gdb.cp/baseenum.exp
7985 * gdb.cp/operator.exp
7986 * gdb.cp/shadow.exp
7987 * gdb.dwarf2/dw2-op-out-param.exp
7988 * gdb.dwarf2/dw2-reg-undefined.exp
7989 * gdb.go/chan.exp
7990 * gdb.go/hello.exp
7991 * gdb.go/integers.exp
7992 * gdb.go/methods.exp
7993 * gdb.go/package.exp
7994 * gdb.guile/scm-parameter.exp
7995 * gdb.guile/scm-progspace.exp
7996 * gdb.guile/scm-value.exp
7997 * gdb.mi/mi-pending.exp
7998 * gdb.mi/user-selected-context-sync.exp
7999 * gdb.multi/multi-attach.exp
8000 * gdb.multi/tids.exp
8001 * gdb.opt/clobbered-registers-O2.exp
8002 * gdb.pascal/floats.exp
8003 * gdb.pascal/integers.exp
8004 * gdb.python/py-block.exp
8005 * gdb.python/py-events.exp
8006 * gdb.python/py-parameter.exp
8007 * gdb.python/py-symbol.exp
8008 * gdb.python/py-symtab.exp
8009 * gdb.python/py-type.exp
8010 * gdb.python/py-value.exp
8011 * gdb.python/py-xmethods.exp
8012 * gdb.python/python.exp
8013 * gdb.reverse/break-precsave.exp
8014 * gdb.reverse/consecutive-precsave.exp
8015 * gdb.reverse/finish-precsave.exp
8016 * gdb.reverse/i386-precsave.exp
8017 * gdb.reverse/machinestate-precsave.exp
8018 * gdb.reverse/sigall-precsave.exp
8019 * gdb.reverse/solib-precsave.exp
8020 * gdb.reverse/step-precsave.exp
8021 * gdb.reverse/until-precsave.exp
8022 * gdb.reverse/watch-precsave.exp
8023 * gdb.server/ext-attach.exp
8024 * gdb.server/ext-restart.exp
8025 * gdb.server/ext-run.exp
8026 * gdb.server/ext-wrapper.exp
8027 * gdb.stabs/gdb11479.exp
8028 * gdb.stabs/weird.exp
8029 * gdb.threads/attach-many-short-lived-threads.exp
8030 * gdb.threads/kill.exp
8031 * gdb.threads/watchpoint-fork.exp
8032
8033 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8034
8035 Fix test names starting with uppercase throughout all the files below.
8036
8037 * gdb.ada/array_return.exp
8038 * gdb.ada/catch_ex.exp
8039 * gdb.ada/info_exc.exp
8040 * gdb.ada/mi_catch_ex.exp
8041 * gdb.ada/mi_dyn_arr.exp
8042 * gdb.ada/mi_ex_cond.exp
8043 * gdb.ada/mi_exc_info.exp
8044 * gdb.ada/mi_interface.exp
8045 * gdb.ada/mi_task_arg.exp
8046 * gdb.ada/mi_task_info.exp
8047 * gdb.ada/mi_var_array.exp
8048 * gdb.arch/alpha-step.exp
8049 * gdb.arch/amd64-disp-step.exp
8050 * gdb.arch/arm-disp-step.exp
8051 * gdb.arch/disp-step-insn-reloc.exp
8052 * gdb.arch/e500-prologue.exp
8053 * gdb.arch/ftrace-insn-reloc.exp
8054 * gdb.arch/gdb1558.exp
8055 * gdb.arch/i386-bp_permanent.exp
8056 * gdb.arch/i386-disp-step.exp
8057 * gdb.arch/i386-float.exp
8058 * gdb.arch/i386-gnu-cfi.exp
8059 * gdb.arch/ia64-breakpoint-shadow.exp
8060 * gdb.arch/mips16-thunks.exp
8061 * gdb.arch/pa-nullify.exp
8062 * gdb.arch/powerpc-aix-prologue.exp
8063 * gdb.arch/powerpc-power.exp
8064 * gdb.arch/ppc-dfp.exp
8065 * gdb.arch/s390-tdbregs.exp
8066 * gdb.arch/spu-info.exp
8067 * gdb.arch/spu-ls.exp
8068 * gdb.arch/thumb-bx-pc.exp
8069 * gdb.base/advance.exp
8070 * gdb.base/annota-input-while-running.exp
8071 * gdb.base/arrayidx.exp
8072 * gdb.base/asmlabel.exp
8073 * gdb.base/async.exp
8074 * gdb.base/attach-wait-input.exp
8075 * gdb.base/auto-connect-native-target.exp
8076 * gdb.base/batch-preserve-term-settings.exp
8077 * gdb.base/bfp-test.exp
8078 * gdb.base/bigcore.exp
8079 * gdb.base/bp-permanent.exp
8080 * gdb.base/break-always.exp
8081 * gdb.base/break-fun-addr.exp
8082 * gdb.base/break-idempotent.exp
8083 * gdb.base/break-main-file-remove-fail.exp
8084 * gdb.base/break-probes.exp
8085 * gdb.base/break-unload-file.exp
8086 * gdb.base/break.exp
8087 * gdb.base/call-ar-st.exp
8088 * gdb.base/call-rt-st.exp
8089 * gdb.base/call-sc.exp
8090 * gdb.base/call-signal-resume.exp
8091 * gdb.base/call-strs.exp
8092 * gdb.base/callexit.exp
8093 * gdb.base/callfuncs.exp
8094 * gdb.base/catch-gdb-caused-signals.exp
8095 * gdb.base/catch-signal-siginfo-cond.exp
8096 * gdb.base/catch-syscall.exp
8097 * gdb.base/compare-sections.exp
8098 * gdb.base/cond-eval-mode.exp
8099 * gdb.base/condbreak-call-false.exp
8100 * gdb.base/consecutive-step-over.exp
8101 * gdb.base/cursal.exp
8102 * gdb.base/disabled-location.exp
8103 * gdb.base/disasm-end-cu.exp
8104 * gdb.base/display.exp
8105 * gdb.base/double-prompt-target-event-error.exp
8106 * gdb.base/dprintf-bp-same-addr.exp
8107 * gdb.base/dprintf-detach.exp
8108 * gdb.base/dprintf-next.exp
8109 * gdb.base/dprintf-non-stop.exp
8110 * gdb.base/dprintf-pending.exp
8111 * gdb.base/dso2dso.exp
8112 * gdb.base/ending-run.exp
8113 * gdb.base/enum_cond.exp
8114 * gdb.base/examine-backward.exp
8115 * gdb.base/exe-lock.exp
8116 * gdb.base/exec-invalid-sysroot.exp
8117 * gdb.base/execl-update-breakpoints.exp
8118 * gdb.base/execution-termios.exp
8119 * gdb.base/fileio.exp
8120 * gdb.base/fixsection.exp
8121 * gdb.base/foll-exec-mode.exp
8122 * gdb.base/foll-exec.exp
8123 * gdb.base/fork-running-state.exp
8124 * gdb.base/frame-args.exp
8125 * gdb.base/fullpath-expand.exp
8126 * gdb.base/func-ptr.exp
8127 * gdb.base/gcore-relro-pie.exp
8128 * gdb.base/gdb1090.exp
8129 * gdb.base/gdb1555.exp
8130 * gdb.base/global-var-nested-by-dso.exp
8131 * gdb.base/gnu-ifunc.exp
8132 * gdb.base/hbreak-in-shr-unsupported.exp
8133 * gdb.base/hbreak-unmapped.exp
8134 * gdb.base/hook-stop.exp
8135 * gdb.base/infcall-input.exp
8136 * gdb.base/info-fun.exp
8137 * gdb.base/info-shared.exp
8138 * gdb.base/interrupt-noterm.exp
8139 * gdb.base/jit-so.exp
8140 * gdb.base/jit.exp
8141 * gdb.base/line-symtabs.exp
8142 * gdb.base/list.exp
8143 * gdb.base/longjmp.exp
8144 * gdb.base/macscp.exp
8145 * gdb.base/max-value-size.exp
8146 * gdb.base/nodebug.exp
8147 * gdb.base/nofield.exp
8148 * gdb.base/overlays.exp
8149 * gdb.base/paginate-after-ctrl-c-running.exp
8150 * gdb.base/paginate-bg-execution.exp
8151 * gdb.base/paginate-inferior-exit.exp
8152 * gdb.base/pending.exp
8153 * gdb.base/pr11022.exp
8154 * gdb.base/printcmds.exp
8155 * gdb.base/ptr-typedef.exp
8156 * gdb.base/ptype.exp
8157 * gdb.base/randomize.exp
8158 * gdb.base/range-stepping.exp
8159 * gdb.base/realname-expand.exp
8160 * gdb.base/relativedebug.exp
8161 * gdb.base/remote.exp
8162 * gdb.base/savedregs.exp
8163 * gdb.base/sepdebug.exp
8164 * gdb.base/set-noassign.exp
8165 * gdb.base/shlib-call.exp
8166 * gdb.base/shreloc.exp
8167 * gdb.base/sigaltstack.exp
8168 * gdb.base/sigbpt.exp
8169 * gdb.base/siginfo-addr.exp
8170 * gdb.base/siginfo-obj.exp
8171 * gdb.base/siginfo-thread.exp
8172 * gdb.base/signest.exp
8173 * gdb.base/signull.exp
8174 * gdb.base/sigrepeat.exp
8175 * gdb.base/skip.exp
8176 * gdb.base/so-impl-ld.exp
8177 * gdb.base/solib-corrupted.exp
8178 * gdb.base/solib-disc.exp
8179 * gdb.base/solib-display.exp
8180 * gdb.base/solib-overlap.exp
8181 * gdb.base/solib-search.exp
8182 * gdb.base/solib-symbol.exp
8183 * gdb.base/source-execution.exp
8184 * gdb.base/sss-bp-on-user-bp-2.exp
8185 * gdb.base/sss-bp-on-user-bp.exp
8186 * gdb.base/stack-checking.exp
8187 * gdb.base/stale-infcall.exp
8188 * gdb.base/step-break.exp
8189 * gdb.base/step-line.exp
8190 * gdb.base/step-over-exit.exp
8191 * gdb.base/step-test.exp
8192 * gdb.base/structs.exp
8193 * gdb.base/sym-file.exp
8194 * gdb.base/symtab-search-order.exp
8195 * gdb.base/term.exp
8196 * gdb.base/type-opaque.exp
8197 * gdb.base/unload.exp
8198 * gdb.base/until-nodebug.exp
8199 * gdb.base/until.exp
8200 * gdb.base/unwindonsignal.exp
8201 * gdb.base/watch-cond.exp
8202 * gdb.base/watch-non-mem.exp
8203 * gdb.base/watch_thread_num.exp
8204 * gdb.base/watchpoint-reuse-slot.exp
8205 * gdb.base/watchpoint-solib.exp
8206 * gdb.base/watchpoint.exp
8207 * gdb.btrace/dlopen.exp
8208 * gdb.cell/arch.exp
8209 * gdb.cell/break.exp
8210 * gdb.cell/bt.exp
8211 * gdb.cell/core.exp
8212 * gdb.cell/data.exp
8213 * gdb.cell/dwarfaddr.exp
8214 * gdb.cell/ea-cache.exp
8215 * gdb.cell/ea-standalone.exp
8216 * gdb.cell/ea-test.exp
8217 * gdb.cell/f-regs.exp
8218 * gdb.cell/fork.exp
8219 * gdb.cell/gcore.exp
8220 * gdb.cell/mem-access.exp
8221 * gdb.cell/ptype.exp
8222 * gdb.cell/registers.exp
8223 * gdb.cell/sizeof.exp
8224 * gdb.cell/solib-symbol.exp
8225 * gdb.cell/solib.exp
8226 * gdb.compile/compile-tls.exp
8227 * gdb.cp/exception.exp
8228 * gdb.cp/gdb2495.exp
8229 * gdb.cp/local.exp
8230 * gdb.cp/mb-inline.exp
8231 * gdb.cp/mb-templates.exp
8232 * gdb.cp/pr10687.exp
8233 * gdb.cp/pr9167.exp
8234 * gdb.cp/scope-err.exp
8235 * gdb.cp/templates.exp
8236 * gdb.cp/virtfunc.exp
8237 * gdb.dwarf2/dw2-dir-file-name.exp
8238 * gdb.dwarf2/dw2-single-line-discriminators.exp
8239 * gdb.fortran/complex.exp
8240 * gdb.fortran/library-module.exp
8241 * gdb.guile/guile.exp
8242 * gdb.guile/scm-cmd.exp
8243 * gdb.guile/scm-frame-inline.exp
8244 * gdb.guile/scm-objfile.exp
8245 * gdb.guile/scm-pretty-print.exp
8246 * gdb.guile/scm-symbol.exp
8247 * gdb.guile/scm-type.exp
8248 * gdb.guile/scm-value.exp
8249 * gdb.linespec/keywords.exp
8250 * gdb.linespec/ls-errs.exp
8251 * gdb.linespec/macro-relative.exp
8252 * gdb.linespec/thread.exp
8253 * gdb.mi/mi-breakpoint-changed.exp
8254 * gdb.mi/mi-dprintf-pending.exp
8255 * gdb.mi/mi-fullname-deleted.exp
8256 * gdb.mi/mi-logging.exp
8257 * gdb.mi/mi-pending.exp
8258 * gdb.mi/mi-solib.exp
8259 * gdb.mi/new-ui-mi-sync.exp
8260 * gdb.mi/user-selected-context-sync.exp
8261 * gdb.multi/dummy-frame-restore.exp
8262 * gdb.multi/multi-arch-exec.exp
8263 * gdb.multi/remove-inferiors.exp
8264 * gdb.multi/watchpoint-multi-exit.exp
8265 * gdb.opt/solib-intra-step.exp
8266 * gdb.perf/backtrace.exp
8267 * gdb.perf/single-step.exp
8268 * gdb.perf/skip-command.exp
8269 * gdb.perf/skip-prologue.exp
8270 * gdb.perf/solib.exp
8271 * gdb.python/lib-types.exp
8272 * gdb.python/py-as-string.exp
8273 * gdb.python/py-bad-printers.exp
8274 * gdb.python/py-block.exp
8275 * gdb.python/py-breakpoint.exp
8276 * gdb.python/py-cmd.exp
8277 * gdb.python/py-events.exp
8278 * gdb.python/py-evthreads.exp
8279 * gdb.python/py-finish-breakpoint.exp
8280 * gdb.python/py-finish-breakpoint2.exp
8281 * gdb.python/py-frame-inline.exp
8282 * gdb.python/py-frame.exp
8283 * gdb.python/py-inferior.exp
8284 * gdb.python/py-infthread.exp
8285 * gdb.python/py-mi.exp
8286 * gdb.python/py-objfile.exp
8287 * gdb.python/py-pp-maint.exp
8288 * gdb.python/py-pp-registration.exp
8289 * gdb.python/py-prettyprint.exp
8290 * gdb.python/py-recurse-unwind.exp
8291 * gdb.python/py-shared.exp
8292 * gdb.python/py-symbol.exp
8293 * gdb.python/py-symtab.exp
8294 * gdb.python/py-template.exp
8295 * gdb.python/py-type.exp
8296 * gdb.python/py-unwind-maint.exp
8297 * gdb.python/py-unwind.exp
8298 * gdb.python/py-value.exp
8299 * gdb.python/python.exp
8300 * gdb.reverse/finish-reverse-bkpt.exp
8301 * gdb.reverse/insn-reverse.exp
8302 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8303 * gdb.reverse/solib-precsave.exp
8304 * gdb.reverse/solib-reverse.exp
8305 * gdb.stabs/gdb11479.exp
8306 * gdb.stabs/weird.exp
8307 * gdb.threads/fork-child-threads.exp
8308 * gdb.threads/fork-plus-threads.exp
8309 * gdb.threads/fork-thread-pending.exp
8310 * gdb.threads/forking-threads-plus-breakpoint.exp
8311 * gdb.threads/hand-call-in-threads.exp
8312 * gdb.threads/interrupted-hand-call.exp
8313 * gdb.threads/linux-dp.exp
8314 * gdb.threads/local-watch-wrong-thread.exp
8315 * gdb.threads/next-while-other-thread-longjmps.exp
8316 * gdb.threads/non-ldr-exit.exp
8317 * gdb.threads/pending-step.exp
8318 * gdb.threads/print-threads.exp
8319 * gdb.threads/process-dies-while-detaching.exp
8320 * gdb.threads/process-dies-while-handling-bp.exp
8321 * gdb.threads/pthreads.exp
8322 * gdb.threads/queue-signal.exp
8323 * gdb.threads/reconnect-signal.exp
8324 * gdb.threads/signal-command-handle-nopass.exp
8325 * gdb.threads/signal-command-multiple-signals-pending.exp
8326 * gdb.threads/signal-delivered-right-thread.exp
8327 * gdb.threads/signal-sigtrap.exp
8328 * gdb.threads/sigthread.exp
8329 * gdb.threads/staticthreads.exp
8330 * gdb.threads/stepi-random-signal.exp
8331 * gdb.threads/thread-unwindonsignal.exp
8332 * gdb.threads/thread_check.exp
8333 * gdb.threads/thread_events.exp
8334 * gdb.threads/tid-reuse.exp
8335 * gdb.threads/tls-nodebug.exp
8336 * gdb.threads/tls-shared.exp
8337 * gdb.threads/tls-so_extern.exp
8338 * gdb.threads/tls.exp
8339 * gdb.threads/wp-replication.exp
8340 * gdb.trace/actions-changed.exp
8341 * gdb.trace/actions.exp
8342 * gdb.trace/backtrace.exp
8343 * gdb.trace/change-loc.exp
8344 * gdb.trace/collection.exp
8345 * gdb.trace/deltrace.exp
8346 * gdb.trace/disconnected-tracing.exp
8347 * gdb.trace/entry-values.exp
8348 * gdb.trace/ftrace-lock.exp
8349 * gdb.trace/ftrace.exp
8350 * gdb.trace/infotrace.exp
8351 * gdb.trace/mi-trace-frame-collected.exp
8352 * gdb.trace/mi-trace-unavailable.exp
8353 * gdb.trace/mi-traceframe-changed.exp
8354 * gdb.trace/mi-tracepoint-changed.exp
8355 * gdb.trace/mi-tsv-changed.exp
8356 * gdb.trace/no-attach-trace.exp
8357 * gdb.trace/packetlen.exp
8358 * gdb.trace/passc-dyn.exp
8359 * gdb.trace/passcount.exp
8360 * gdb.trace/pending.exp
8361 * gdb.trace/pr16508.exp
8362 * gdb.trace/qtro.exp
8363 * gdb.trace/range-stepping.exp
8364 * gdb.trace/read-memory.exp
8365 * gdb.trace/report.exp
8366 * gdb.trace/save-trace.exp
8367 * gdb.trace/signal.exp
8368 * gdb.trace/stap-trace.exp
8369 * gdb.trace/status-stop.exp
8370 * gdb.trace/strace.exp
8371 * gdb.trace/tfile.exp
8372 * gdb.trace/tfind.exp
8373 * gdb.trace/trace-break.exp
8374 * gdb.trace/trace-condition.exp
8375 * gdb.trace/trace-enable-disable.exp
8376 * gdb.trace/trace-mt.exp
8377 * gdb.trace/tracecmd.exp
8378 * gdb.trace/tracefile-pseudo-reg.exp
8379 * gdb.trace/tspeed.exp
8380 * gdb.trace/tstatus.exp
8381 * gdb.trace/tsv.exp
8382 * gdb.trace/unavailable.exp
8383 * gdb.trace/while-dyn.exp
8384 * gdb.trace/while-stepping.exp
8385 * lib/gdb-guile.exp
8386 * lib/gdb.exp
8387 * lib/mi-support.exp
8388 * lib/pascal.exp
8389 * lib/perftest.exp
8390 * lib/prelink-support.exp
8391 * lib/selftest-support.exp
8392
8393 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8394
8395 * Makefile.in: Include disable-implicit-rules.mk.
8396
8397 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8398
8399 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8400 non-byte-aligned bit fields.
8401
8402 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8403
8404 PR gdb/12616
8405 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8406 respects the DW_AT_data_bit_offset attribute.
8407
8408 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8409
8410 * gdb.base/default.exp: Fix output of "set language".
8411
8412 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8413
8414 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8415 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8416 make.
8417 * configure.ac: Remove checks for the make program.
8418 * configure: Re-generate.
8419
8420 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8421
8422 * gdb.python/py-recurse-unwind.c (main): Add loop.
8423 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8424 to read_register() and gdb.parse_and_eval(). Make each code
8425 call a separate case that can be individually tested.
8426 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8427 proc. Call cont_and_backtrace for each of the code paths that
8428 we want to test in the unwinder.
8429
8430 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8431
8432 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8433 the definition of struct S.
8434
8435 2016-11-11 Catherine Moore <clm@codesourcery.com>
8436
8437 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8438
8439 2016-11-09 Pedro Alves <palves@redhat.com>
8440
8441 * gdb.base/commands.exp (runto_or_return): New procedure.
8442 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8443 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8444 (progvar_simple_while_test, progvar_complex_if_while_test)
8445 (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, redefine_hook_test)
8449 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8450 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8451 multi_line_input and multi_line. Remove gdb_expect and
8452 gdb_stop_suppressing_tests uses.
8453 * lib/gdb.exp (valnum_re): New global.
8454 (multi_line_input): New procedure.
8455
8456 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8457
8458 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8459 Remove.
8460 (test_setup): Define with proc_with_prefix.
8461 (test_cli_inferior): Likewise.
8462 (test_cli_thread): Likewise.
8463 (test_cli_frame): Likewise.
8464 (test_cli_select_frame): Likewise.
8465 (test_cli_up_down): Likewise.
8466 (test_mi_thread_select): Likewise.
8467 (test_mi_stack_select_frame): Likewise.
8468 (test_cli_in_mi_inferior): Likewise.
8469 (test_cli_in_mi_thread): Likewise.
8470 (test_cli_in_mi_frame): Likewise.
8471 (top level): Do not use with_test_prefix_procname.
8472
8473 2016-11-09 Pedro Alves <palves@redhat.com>
8474
8475 * gdb.base/commands.exp (gdbvar_simple_if_test)
8476 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8477 (progvar_simple_if_test, progvar_simple_while_test)
8478 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8479 (infrun_breakpoint_command_test, breakpoint_command_test)
8480 (user_defined_command_test, watchpoint_command_test)
8481 (test_command_prompt_position, deprecated_command_test)
8482 (bp_deleted_in_command, temporary_breakpoint_commands)
8483 (stray_arg0_test, source_file_with_indented_comment)
8484 (recursive_source_test, if_commands_test)
8485 (error_clears_commands_left, redefine_hook_test)
8486 (redefine_backtrace_test): Use proc_with_prefix.
8487 * lib/gdb.exp (proc_with_prefix): New proc.
8488
8489 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8490
8491 * gdb.base/tui-layout.c: New file.
8492 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8493 disassembly window contains very long lines.
8494
8495 2016-11-08 Tom Tromey <tom@tromey.com>
8496
8497 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8498 depend on Python 2.
8499
8500 2016-11-08 Tom Tromey <tom@tromey.com>
8501
8502 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8503 New method.
8504
8505 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8506
8507 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8508
8509 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8510
8511 * gdb.rust/simple.rs: Add test for univariant enums without
8512 discriminants and for encoded struct-like enums.
8513
8514 2016-10-28 Pedro Alves <palves@redhat.com>
8515
8516 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8517 gdb_test_multiple, tighten regexps and match symtabs and line
8518 tables incrementally.
8519
8520 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8521
8522 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8523 general.
8524
8525 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8526
8527 * gdb.base/exec-invalid-sysroot.exp: New file.
8528
8529 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8530
8531 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8532
8533 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8534
8535 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8536
8537 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8538
8539 * gdb.base/killed-outside.exp: Remove $options from a call to
8540 `prepare_for_testing'.
8541
8542 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8543
8544 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8545 Change test message.
8546
8547 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8548
8549 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8550 Update comment.
8551
8552 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8553
8554 * gdb.trace/mi-trace-save.exp: New file.
8555
8556 2016-10-13 Yao Qi <yao.qi@linaro.org>
8557
8558 * gdb.base/code_elim.exp (get_var_address): Remove.
8559 * gdb.base/relocate.exp: Likewise.
8560 * gdb.base/shreloc.exp: Likewise.
8561 * lib/gdb.exp (get_var_address): New.
8562
8563 2016-10-13 Yao Qi <yao.qi@linaro.org>
8564
8565 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8566 floating point tests if $skip_float_test is false.
8567
8568 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8569
8570 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8571 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8572 argc values.
8573 Add 1 to argc so we guarantee distinct initial/modified argc values.
8574
8575 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8576
8577 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8578
8579 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8580
8581 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8582 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8583 * gdb.arch/vsx-regs.exp: Likewise.
8584
8585 2016-10-07 Yao Qi <yao.qi@linaro.org>
8586
8587 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8588
8589 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8590
8591 * gdb.python/python.exp: Test decode_line("*0").
8592
8593 2016-10-06 Doug Evans <dje@google.com>
8594
8595 * gdb.python/py-value.exp (test_value_creation): Add test for large
8596 unsigned 64-bit value.
8597
8598 2016-10-06 Tom Tromey <tom@tromey.com>
8599
8600 * gdb.compile/compile.exp: Change java tests to rust.
8601 * gdb.base/setshow.exp: Change java tests to rust.
8602 * gdb.base/default.exp: Remove java from language list.
8603 * README (Examples): Update language example.
8604 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8605 test.
8606 * lib/gdb.exp (skip_java_tests): Remove.
8607 * lib/java.exp: Remove.
8608 * gdb.java: Remove.
8609
8610 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8611
8612 * gdb.arch/mips-fcr.exp: New test.
8613 * gdb.arch/mips-fcr.c: Source for the new test.
8614
8615 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8616
8617 * gdb.base/solib-disc.exp: Use `standard_output_file'
8618 throughout.
8619
8620 2016-10-06 Pedro Alves <palves@redhat.com>
8621
8622 * gdb.base/jit-simple-dl.c: New file.
8623 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8624 * gdb.base/jit-simple.c: ... this.
8625 * gdb.base/jit-simple.exp (jit_run): Delete.
8626 (build_jit): New proc.
8627 (jit_test_reread): Recompile either the main program or the shared
8628 library, depending on what is being tested. Skip changing address
8629 if caller wants to. Compare before/after addresses. If testing
8630 standalone, explicitly load the binary. Test "maint info
8631 breakpoints".
8632 (top level): Add "standalone vs shared lib" and "change address"
8633 vs "same address" axes.
8634
8635 2016-10-06 Pedro Alves <palves@redhat.com>
8636
8637 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8638 call.
8639 (jit_run): Delete.
8640 (jit_test_reread): Use with_test_prefix. Reload the main binary
8641 explicitly. Compare the before/after addresses of the JIT
8642 descriptor.
8643
8644 2016-08-15 Doug Evans <dje@google.com>
8645
8646 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8647 for single bitfields is bool.
8648 * gdb.xml/tdesc-regs.exp: Ditto.
8649
8650 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8651
8652 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8653
8654 2016-10-05 Yao Qi <yao.qi@linaro.org>
8655
8656 * lib/gdb.exp (support_complex_tests): Return zero if
8657 gdb_skip_float_test return true.
8658
8659 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8660 Simon Marchi <simon.marchi@ericsson.com>
8661
8662 PR gdb/20487
8663 * gdb.mi/user-selected-context-sync.exp: New file.
8664 * gdb.mi/user-selected-context-sync.c: New file.
8665
8666 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8667 Simon Marchi <simon.marchi@ericsson.com>
8668
8669 PR gdb/20487
8670 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8671 =thread-select-event check.
8672
8673 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8674
8675 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8676 the compulsory L operand changes.
8677 * gdb.arch/powerpc-power.s: Likewise.
8678
8679 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8680
8681 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8682 * gdb.base/jit-attach-pie.c: New file.
8683 * gdb.base/jit-attach-pie.exp: New file.
8684
8685 2016-09-28 Pedro Alves <palves@redhat.com>
8686
8687 * gdb.base/infcall-input.c: New file.
8688 * gdb.base/infcall-input.exp: New file.
8689
8690 2016-09-22 Yao Qi <yao.qi@linaro.org>
8691
8692 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8693 (gdb_exit): Rename it to ...
8694 (gdbserver_gdb_exit): ... Close GDBserver.
8695 (gdb_exit): New proc, call gdbserver_gdb_exit.
8696 (mi_gdb_exit): Likewise.
8697
8698 2016-09-22 Yao Qi <yao.qi@linaro.org>
8699
8700 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8701 path.
8702 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8703 Remove duplication.
8704
8705 2016-09-22 Yao Qi <yao.qi@linaro.org>
8706
8707 * lib/gdbserver-support.exp: Check the existence of
8708 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8709
8710 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8711
8712 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8713
8714 2016-09-21 Tom Tromey <tom@tromey.com>
8715
8716 PR gdb/20604:
8717 * gdb.base/quit.exp: New file.
8718
8719 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8720
8721 * .gitignore: New file.
8722
8723 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8724
8725 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8726 throughout.
8727
8728 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8729
8730 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8731
8732 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8733
8734 * gdb.cp/casts.cc (decltype): Move it ...
8735 (main): ... with its call to ...
8736 * gdb.cp/casts03.cc: ... a new file.
8737 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8738
8739 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8740
8741 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8742
8743 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8744
8745 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8746 and sync up the test with tests in gas/testsuite/gas/ppc.
8747 * gdb.arch/powerpc-power.exp: Likewise.
8748
8749 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8750
8751 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8752
8753 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8754 Jan Kratochvil <jan.kratochvil@redhat.com>
8755
8756 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8757 make m1's definition to be different from m2's. Use 'dummy' as an
8758 argument for probe 'two'.
8759
8760 2016-09-10 Jon Beniston <jon@beniston.com>
8761
8762 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8763 for sim target.
8764
8765 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8766
8767 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8768 variable declaration.
8769 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8770 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8771 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8772 received HWCAP as its argument.
8773
8774 2016-09-06 Pedro Alves <palves@redhat.com>
8775
8776 * gdb.base/new-ui-pending-input.c: New file.
8777 * gdb.base/new-ui-pending-input.exp: New file.
8778 * gdb.exp (clear_gdb_spawn_id): New procedure.
8779 (with_spawn_id): Check whether gdb_spawn_id exists before
8780 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8781 on exit.
8782
8783 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8784
8785 * gdb.base/float128.c: New file.
8786 * gdb.base/float128.exp: Likewise.
8787 * gdb.base/floatn.c: Likewise.
8788 * gdb.base/floatn.exp: Likewise.
8789
8790 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8791
8792 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8793
8794 2016-09-05 Pedro Alves <palves@redhat.com>
8795
8796 PR backtrace/19927
8797 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8798 unwinders are immediately called as side effect of "source" or
8799 "disable unwinder" commands.
8800 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8801
8802 2016-09-02 Yao Qi <yao.qi@linaro.org>
8803
8804 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8805 is true and $type is "float" or "double".
8806
8807 2016-09-02 Yao Qi <yao.qi@linaro.org>
8808
8809 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8810 true.
8811 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8812 * gdb.base/call-rt-st.exp: Likewise.
8813 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8814 return value instead of gdb,skip_float_test.
8815 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8816 (do_function_calls): Use its return value instead of
8817 gdb,skip_float_test.
8818 * gdb.base/finish.exp: Likewise.
8819 * gdb.base/funcargs.exp: Likewise.
8820 * gdb.base/return.exp: Likewise.
8821 * gdb.base/return2.exp: Likewise.
8822 * gdb.base/varargs.exp: Likewise.
8823 * lib/gdb.exp (gdb_skip_float_test): Change it to
8824 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8825
8826 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8827
8828 * gdb.multi/tids.exp: Test "thread apply all".
8829
8830 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8831
8832 * gdb.base/default.exp (tty): Remove.
8833
8834 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8835
8836 * gdb.python/py-recurse-unwind.c: New file.
8837 * gdb.python/py-recurse-unwind.py: New file.
8838 * gdb.python/py-recurse-unwind.exp: New file.
8839
8840 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8841
8842 * gdb.base/set-inferior-tty.exp: New file.
8843 * gdb.base/set-inferior-tty.c: New file.
8844
8845 2016-08-23 Pedro Alves <palves@redhat.com>
8846
8847 PR gdb/20494
8848 * gdb.base/new-ui-echo.c: New file.
8849 * gdb.base/new-ui-echo.exp: New file.
8850
8851 2016-08-23 Yao Qi <yao.qi@linaro.org>
8852
8853 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8854 gdbserver_spawn.
8855 * gdb.server/connect-without-multi-process.exp (do_test):
8856 Likewise.
8857
8858 2016-08-23 Yao Qi <yao.qi@linaro.org>
8859
8860 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8861 standalone_txt. Delete gdb_txt and standalone_txt on host
8862 and target. Spawn the binary on target. Copy files from
8863 target to host.
8864
8865 2016-08-22 Pedro Alves <palves@redhat.com>
8866
8867 PR gdb/20505
8868 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8869 with_test_prefix. Factor out bits to ...
8870 (test_no_vdso): ... this new procedure.
8871
8872 2016-08-19 Carl Love <cel@us.ibm.com>
8873
8874 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8875 maintaining separate logic for constructing the output path.
8876 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8877 * gdb.arch/ppc-dfp.exp: Likewise.
8878 * gdb.arch/ppc-fp.exp: Likewise.
8879 * gdb.arch/vsx-regs.exp: Likewise.
8880 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8881 binprefix for generating the additional binary files.
8882
8883 2016-08-19 Pedro Alves <palves@redhat.com>
8884
8885 * gdb.trace/mi-trace-frame-collected.exp
8886 (test_trace_frame_collected): On x32, expect two registers.
8887
8888 2016-08-18 Carl Love <cel@us.ibm.com>
8889
8890 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8891 and sync up the test with tests in gas/testsuite/gas/ppc.
8892 * gdb.arch/powerpc-power.exp: Likewise.
8893
8894 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8895
8896 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8897 expected error message.
8898
8899 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8900
8901 * gdb.multi/remove-inferiors.exp: New file.
8902 * gdb.multi/remove-inferiors.c: New file.
8903
8904 2016-08-12 Yao Qi <yao.qi@linaro.org>
8905
8906 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8907 argument list.
8908
8909 2016-08-10 Pedro Alves <palves@redhat.com>
8910
8911 PR gdb/19187
8912 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8913 setup_kfails.
8914
8915 2016-08-09 Pedro Alves <palves@redhat.com>
8916 Simon Marchi <simon.marchi@ericsson.com>
8917
8918 PR gdb/20418
8919 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8920 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8921
8922 2016-08-09 Pedro Alves <palves@redhat.com>
8923
8924 PR mi/20431
8925 * gdb.mi/mi-cmd-error.exp: New file.
8926
8927 2016-08-09 Pedro Alves <palves@redhat.com>
8928
8929 PR gdb/18653
8930 * gdb.base/signals-state-child.c: New file.
8931 * gdb.base/signals-state-child.exp: New file.
8932 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8933
8934 2016-08-09 Pedro Alves <palves@redhat.com>
8935
8936 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8937
8938 2016-08-03 Tom Tromey <tom@tromey.com>
8939
8940 PR python/18565:
8941 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8942
8943 2016-08-01 Yao Qi <yao.qi@linaro.org>
8944
8945 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8946 variable mode to "multi-process" if $multi_process is 1, otherwise
8947 set it to "single-process".
8948
8949 2016-08-01 Yao Qi <yao.qi@linaro.org>
8950
8951 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8952 * gdb.cp/cpexprs.exp: Likewise.
8953 * gdb.cp/m-static.exp: Likewise.
8954
8955 2016-07-26 Tom Tromey <tom@tromey.com>
8956
8957 PR python/20190:
8958 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8959 test.
8960
8961 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8962
8963 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8964 selecting assembly source files.
8965 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8966 assembly source files.
8967 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8968 assembly source files.
8969 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8970 selecting assembly source files.
8971
8972 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8973
8974 * gdb.base/new-ui.exp (do_test_invalid_args): New
8975 procedure.
8976
8977 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8978
8979 * gdb.btrace/reconnect.c: New file.
8980 * gdb.btrace/reconnect.exp: New file.
8981
8982 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8983
8984 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8985 to test_catch_syscall_group.
8986 (test_catch_syscall_group): New.
8987
8988 2016-07-21 Tom Tromey <tom@tromey.com>
8989
8990 * gdb.rust/simple.rs (main): Use empty struct expression.
8991 * gdb.rust/simple.exp: Add tests for empty struct expression.
8992
8993 2016-07-21 Yao Qi <yao.qi@linaro.org>
8994
8995 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8996 if gdb_skip_xml_test is true on some targets.
8997
8998 2016-07-21 Yao Qi <yao.qi@linaro.org>
8999
9000 * gdb.server/solib-list.exp: Unset last_loaded_file.
9001
9002 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9003
9004 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9005 "step into captured_main (args)".
9006
9007 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9008
9009 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9010
9011 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9012
9013 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9014
9015 2016-07-19 Pedro Alves <palves@redhat.com>
9016
9017 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9018 * gdb.opt/inline-bt.exp: Likewise.
9019 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9020 additional_flags=-Winline.
9021 * gdb.opt/inline-locals.exp: Likewise.
9022 * gdb.opt/inline-markers.c (ATTR): Define.
9023 (inlined_fn): Use it.
9024
9025 2016-07-19 Yao Qi <yao.qi@linaro.org>
9026
9027 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9028 (test_with_self): Remove some code. Remove argument executable.
9029 (top-level): Use do_self_tests.
9030
9031 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9032 Don Breazeal <donb@codesourcery.com>
9033
9034 * gdb.base/maint.exp: Escape paths used in regular expressions.
9035 * gdb.stabs/weird.exp: Likewise.
9036
9037 2016-07-13 Tom Tromey <tom@tromey.com>
9038
9039 PR python/15620, PR python/18620:
9040 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9041 (test_bkpt_events): New procs.
9042
9043 2016-07-13 Tom Tromey <tom@tromey.com>
9044
9045 PR python/17698:
9046 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9047 test.
9048 (test_watchpoints): Likewise.
9049 (test_bkpt_pending): New proc.
9050
9051 2016-07-13 Tom Tromey <tom@tromey.com>
9052
9053 PR cli/18053:
9054 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9055 completion test.
9056
9057 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9058
9059 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9060 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9061 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9062 f_label.
9063 (g): Rename g_end_lbl to g_label.
9064 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9065 low_pc and high_pc.
9066 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9067
9068 2016-07-12 Tom Tromey <tom@tromey.com>
9069
9070 PR python/19293:
9071 * gdb.python/py-unwind-maint.exp: Update tests.
9072
9073 2016-07-12 Yao Qi <yao.qi@linaro.org>
9074
9075 * lib/selftest-support.exp (selftest_setup): Match the output
9076 when captured_main is inlined.
9077
9078 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9079
9080 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9081 New variables.
9082 (print this%a, print this%b, print this): New tests.
9083 * gdb.fortran/derived-types.f90 (this): New object and
9084 initialization.
9085
9086 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9087
9088 * gdb.ada/arraydim.exp: Remove extra directory level in build
9089 directory.
9090
9091 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9092
9093 * lib/ada.exp: Remove extra directory level in build directory.
9094 * gdb.ada/cond_lang.exp: Likewise.
9095 * gdb.ada/exec_changed.exp: Likewise.
9096 * gdb.ada/lang_switch.exp: Likewise.
9097
9098 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9099
9100 * simple.rs: Add test for raw pointer subscripting.
9101 * simple.exp: Add test expectations.
9102
9103 2016-07-05 Yao Qi <yao.qi@linaro.org>
9104
9105 * gdb.mi/mi-reverse.exp: Match =record-started output.
9106
9107 2016-07-01 Pedro Alves <palves@redhat.com>
9108
9109 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9110 procedure.
9111 (jit_reader_test): Test the jit reader's unwinder.
9112 * gdb.base/jithost.c (jit_function_00_code): New global.
9113 (main): Use memcpy to fill in the mmapped code, instead of poking
9114 bytes manually here.
9115 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9116 value.
9117 (read_debug_info): Save the function's range.
9118 (read_sp): New function.
9119 (unwind_frame): Use it. Also unwind RBP.
9120 (get_frame_id): Use read_sp.
9121 (gdb_init_reader): Use calloc instead of malloc.
9122 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9123 parameter. Use gdb_test_multiple.
9124
9125 2016-07-01 Pedro Alves <palves@redhat.com>
9126 Antoine Tremblay <antoine.tremblay@ericsson.com>
9127
9128 * gdb.threads/process-dies-while-detaching.c: New file.
9129 * gdb.threads/process-dies-while-detaching.exp: New file.
9130
9131 2016-07-01 Pedro Alves <palves@redhat.com>
9132
9133 * gdb.multi/watchpoint-multi-exit.c: New file.
9134 * gdb.multi/watchpoint-multi-exit.exp: New file.
9135
9136 2016-06-30 Pedro Alves <palves@redhat.com>
9137
9138 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9139 unset inferior_spawn_id.
9140
9141 2016-06-30 Pedro Alves <palves@redhat.com>
9142
9143 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9144 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9145
9146 2016-06-29 Yao Qi <yao.qi@linaro.org>
9147
9148 * gdb.base/return.c: Add copyright header.
9149
9150 2016-06-29 Tom Tromey <tom@tromey.com>
9151
9152 PR python/20129:
9153 * gdb.python/py-framefilter.exp: Add tests for setting priority
9154 and disabling of non-existent frame filter.
9155
9156 2016-06-29 Yao Qi <yao.qi@linaro.org>
9157
9158 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9159 0x0f07ff.
9160
9161 2016-06-28 Yao Qi <yao.qi@linaro.org>
9162
9163 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9164 triplets. Start gdb, execute catch syscall, and continue. Check
9165 gdb's output to determine catch syscall is supported.
9166
9167 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9168
9169 * gdb.rust/simple.rs: Add test for returning unit in a function.
9170 * gdb.rust/simple.exp: Add expectation for functions returning
9171 unit.
9172
9173 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9174
9175 * gdb.python/py-breakpoint-create-fail.c,
9176 gdb.python/py-breakpoint-create-fail.exp,
9177 gdb.python/py-breakpoint-create-fail.py: New testcase.
9178
9179 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9180
9181 PR gdb/20239
9182 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9183 * gdb.rust/simple.exp: Add test expectations for new NonZero
9184 tests.
9185
9186 2016-06-24 David Taylor <dtaylor@emc.com>
9187
9188 * gdb.base/offsets.exp: New file.
9189 * gdb.base/offsets.c: New file.
9190
9191 2016-06-23 Tom Tromey <tom@tromey.com>
9192
9193 PR gdb/16483:
9194 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9195 before any filters are loaded.
9196
9197 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9198
9199 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9200 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9201 structs.
9202 * gdb.fortran/derived-type-function.exp: New file.
9203 * gdb.fortran/derived-type-function.f90: New file.
9204
9205
9206 2016-06-21 Pedro Alves <palves@redhat.com>
9207
9208 * gdb.base/new-ui.exp: New file.
9209 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9210 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9211 (with_spawn_id): New procedure.
9212
9213 2016-06-21 Pedro Alves <palves@redhat.com>
9214
9215 * gdb.mi/mi-exec-run.exp: New file.
9216
9217 2016-06-21 Pedro Alves <palves@redhat.com>
9218
9219 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9220 breakpoint command's output on the main UI.
9221 (test_break): New procedure, factored out from calls in the top
9222 level.
9223 (top level): Use foreach_with_prefix to test MI as main UI and as
9224 separate UI.
9225
9226 2016-06-21 Pedro Alves <palves@redhat.com>
9227
9228 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9229 (test_awatch_creation_and_listing)
9230 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9231 Remove 'type' parameter.
9232 (test_watchpoint_all): New parameter mi_mode. Remove
9233 with_test_prefix.
9234 (top level): Use foreach_with_prefix, and add main/separate UI MI
9235 testing axis.
9236
9237 2016-06-21 Pedro Alves <palves@redhat.com>
9238
9239 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9240 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9241 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9242 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9243 (gdb_main_spawn_id, mi_spawn_id): Declare and
9244 comment.
9245 (mi_create_inferior_pty): New procedure,
9246 factored out from default_mi_gdb_start.
9247 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9248 procedures.
9249 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9250 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9251 Use mi_create_inferior_pty.
9252 (mi_gdb_start): Use eval to pass down args list.
9253
9254 2016-06-21 Pedro Alves <palves@redhat.com>
9255
9256 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9257 * gdb.opt/inline-cmds.exp: Add MI tests.
9258
9259 2016-06-21 Pedro Alves <palves@redhat.com>
9260
9261 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9262
9263 2016-06-21 Pedro Alves <palves@redhat.com>
9264
9265 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9266 (top level): Use it instead of mi_execute_to.
9267
9268 2016-06-21 Pedro Alves <palves@redhat.com>
9269
9270 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9271 (cont_handler_str): New.
9272 (signal_stop_handler): Set stop_handler_str instead of printing to
9273 stdout.
9274 (continue_handler): Set cont_handler_str instead of printing to
9275 stdout.
9276 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9277 mi_send_resuming_command. Print stop_handler_str and
9278 cont_handler_str instead of expecting the python events print
9279 directly.
9280
9281 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9282
9283 * gdb.base/jit-reader.exp: New file.
9284 * gdb.base/jithost.c: New file.
9285 * gdb.base/jithost.h: New file.
9286 * gdb.base/jitreader.c : New file.
9287 * gdb.base/jit-protocol.h: New file.
9288
9289 2016-06-17 Yao Qi <yao.qi@linaro.org>
9290
9291 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9292 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9293 and detach-on-fork. Adjust tests.
9294 (top level): Invoke break_cond_on_syscall with combinations of
9295 syscall, follow-fork-mode and detach-on-fork.
9296
9297 2016-06-17 Yao Qi <yao.qi@linaro.org>
9298
9299 * gdb.base/step-over-exit.c: New.
9300 * gdb.base/step-over-exit.exp: New.
9301
9302 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9303
9304 * gdb.base/float.exp: Add target check for nds32*-*-*.
9305 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9306
9307 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9308
9309 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9310 for unsupported target features.
9311 * gdb.base/call-rt-st.exp: Likewise.
9312 * gdb.base/call-sc.exp: Likewise.
9313 * gdb.base/call-signal-resume.exp: Likewise.
9314 * gdb.base/call-strs.exp: Likewise.
9315 * gdb.base/callexit.exp: Likewise.
9316 * gdb.base/callfuncs.exp: Likewise.
9317 * gdb.base/nodebug.exp: Likewise.
9318 * gdb.base/printcmds.exp: Likewise.
9319 * gdb.base/ptype.exp: Likewise.
9320 * gdb.base/structs.exp: Likewise.
9321 * gdb.base/unwindonsignal.exp: Likewise.
9322 * gdb.cp/gdb2495.exp: Likewise.
9323 * gdb.cp/templates.exp: Likewise.
9324 * gdb.cp/virtfunc.exp: Likewise.
9325 * gdb.threads/hand-call-in-threads.exp: Likewise.
9326 * gdb.threads/interrupted-hand-call.exp: Likewise.
9327 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9328
9329 2016-06-10 Tom Tromey <tom@tromey.com>
9330
9331 PR rust/20110:
9332 * gdb.rust/expr.exp: Add test for integer constant larger than
9333 i32.
9334
9335 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9336
9337 * gdb.fortran/nested-funcs.exp: New.
9338 * gdb.fortran/nested-funcs.f90: New.
9339
9340 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9341
9342 * gdb.base/examine-backward.c: New file.
9343 * gdb.base/examine-backward.exp: New file.
9344
9345 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9346
9347 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9348 matching.
9349
9350 2016-06-02 Tom Tromey <tom@tromey.com>
9351
9352 PR python/18984:
9353 * gdb.python/py-shared.exp: Add solib_name test.
9354
9355 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9356
9357 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9358
9359 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9360
9361 PR c++/19893
9362 * gdb.dwarf2/implref.exp: Rename to...
9363 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9364 * gdb.dwarf2/implref-array.c: New file.
9365 * gdb.dwarf2/implref-array.exp: Likewise.
9366 * gdb.dwarf2/implref-global.c: Likewise.
9367 * gdb.dwarf2/implref-global.exp: Likewise.
9368 * gdb.dwarf2/implref-struct.c: Likewise.
9369 * gdb.dwarf2/implref-struct.exp: Likewise.
9370
9371 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9372
9373 * gdb.trace/trace-condition.exp: Add 64bit tests.
9374
9375 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9376
9377 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9378 bits types.
9379 (main): Adapt to 8 to 64 bits types.
9380 * gdb.trace/trace-condition.exp: Add new tests.
9381
9382 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9383
9384 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9385
9386 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9387
9388 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9389 Move condition tests...
9390 * gdb.trace/trace-condition.exp: Here.
9391
9392 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9393
9394 * gdb.trace/trace-condition.exp: Add counter-case tests.
9395
9396 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9397
9398 PR c++/15231
9399 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9400 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9401
9402 2016-05-27 Pedro Alves <palves@redhat.com>
9403
9404 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9405 New procedure.
9406 (top level): Call it, and bail out of DejaGnu is known to be bad.
9407
9408 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9409
9410 * gdb.base/whatis.c: Extend the test case.
9411 * gdb.base/whatis.exp: Add additional tests.
9412
9413 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9414
9415 * gdb.fortran/type.f90: Add pointer variable.
9416 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9417
9418 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9419
9420 * gdb.fortran/vla-type.exp: Fix testcase name.
9421
9422 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9423
9424 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9425
9426 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9427
9428 * gdb.fortran/type.f90: Add nested structures.
9429 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9430 * gdb.fortran/derived-type.exp: Adapt expected output.
9431 * gdb.fortran/vla-type.exp: Adapt expected output.
9432
9433 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9434
9435 * gdb.fortran/whatis_type.exp: Adapt expected output.
9436
9437 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9438
9439 * gdb.fortran/print_type.exp: Fix expected output.
9440 * gdb.fortran/whatis_type.exp: Fix expected output.
9441
9442 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9443
9444 * gdb.fortran/whatis_type.exp: Use multi_line.
9445
9446 2016-05-24 Tom Tromey <tom@tromey.com>
9447
9448 PR python/17386:
9449 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9450 use value as an index.
9451
9452 2016-05-23 Tom Tromey <tom@tromey.com>
9453
9454 PR python/17981:
9455 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9456 no-breakpoint case.
9457
9458 2016-05-24 Pedro Alves <palves@redhat.com>
9459
9460 PR gdb/19828
9461 * gdb.threads/clone-attach-detach.c: New file.
9462 * gdb.threads/clone-attach-detach.exp: New file.
9463
9464 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9465
9466 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9467
9468 2016-05-23 Tom Tromey <tom@tromey.com>
9469
9470 PR python/19438, PR python/18393:
9471 * gdb.python/py-progspace.exp: Add "dir" test.
9472 * gdb.python/py-objfile.exp: Add "dir" test.
9473
9474 2016-05-23 Yao Qi <yao.qi@linaro.org>
9475
9476 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9477 * gdb.arch/thumb2-it.exp: Likewise.
9478
9479 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9480
9481 * gdb.mi/mi-threads-interrupt.c: New file.
9482 * gdb.mi/mi-threads-interrupt.exp: New file.
9483
9484 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9485
9486 PR gdb/18077
9487 * gdb.mi/mi-async-run.exp: New file.
9488 * gdb.mi/mi-async-run.c: New file.
9489
9490 2016-05-17 Tom Tromey <tom@tromey.com>
9491 Manish Goregaokar <manishsmail@gmail.com>
9492
9493 * lib/rust-support.exp: New file.
9494 * lib/gdb.exp (skip_rust_tests): New proc.
9495 (build_executable_from_specs): Handle rust.
9496 * lib/future.exp (gdb_find_rustc): New proc.
9497 (gdb_default_target_compile): Handle rust.
9498 * gdb.rust/expr.exp: New file.
9499 * gdb.rust/generics.exp: New file.
9500 * gdb.rust/generics.rs: New file.
9501 * gdb.rust/methods.exp: New file.
9502 * gdb.rust/methods.rs: New file.
9503 * gdb.rust/modules.exp: New file.
9504 * gdb.rust/modules.rs: New file.
9505 * gdb.rust/simple.exp: New file.
9506 * gdb.rust/simple.rs: New file.
9507
9508 2016-05-17 Tom Tromey <tom@tromey.com>
9509
9510 * gdb.base/default.exp (set language): Add rust.
9511
9512 2016-05-17 Tom Tromey <tom@tromey.com>
9513
9514 * gdb.gdb/unittest.exp: New file.
9515
9516 2016-05-16 Yao Qi <yao.qi@linaro.org>
9517
9518 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9519 shell_prompt. Update shell_prompt_re.
9520
9521 2016-05-12 Doug Evans <dje@google.com>
9522
9523 PR symtab/19999
9524 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9525 $options when building executable.
9526 * gdb.dwarf2/fission-loclists-pie.S: New file.
9527 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9528
9529 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9530
9531 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9532 of [is_remote target],
9533
9534 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9535
9536 * lib/gdb.exp (use_gdb_stub): New procedure.
9537
9538 2016-05-03 Yunlian Jiang <yunlian@google.com>
9539 Doug Evans <dje@google.com>
9540
9541 PR symtab/19914
9542 * gdb.dwarf2/dwp-sepdebug.c: New file.
9543 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9544
9545 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9546
9547 * gdb.base/detach.exp: Remove is_remote check.
9548
9549 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9550
9551 * gdb.base/annota-input-while-running.exp: Don't check for
9552 [is_remote target]. Enable annotations after running to main.
9553 Remove unused "set test..." line.
9554
9555 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9556
9557 * gdb.trace/trace-enable-disable.exp: New file.
9558 * gdb.trace/trace-enable-disable.c: New file.
9559
9560 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9561
9562 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9563 use it in info sharedlibrary test.
9564 * gdb.trace/ftrace-lock.exp: Likewise.
9565 * gdb.trace/ftrace.exp: Likewise.
9566 * gdb.trace/range-stepping.exp: Likewise.
9567 * gdb.trace/trace-break.exp: Likewise.
9568 * gdb.trace/trace-condition.exp: Likewise.
9569 * gdb.trace/trace-mt.exp: Likewise.
9570
9571 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9572
9573 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9574 (gdb_load_shlib): ... this.
9575 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9576 gdb_load_shlib.
9577 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9578 * gdb.base/ctxobj.exp: Likewise.
9579 * gdb.base/dprintf-pending.exp: Likewise.
9580 * gdb.base/dso2dso.exp: Likewise.
9581 * gdb.base/fixsection.exp: Likewise.
9582 * gdb.base/gcore-relro.exp: Likewise.
9583 * gdb.base/gdb1555.exp: Likewise.
9584 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9585 * gdb.base/gnu-ifunc.exp: Likewise.
9586 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9587 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9588 * gdb.base/pending.exp: Likewise.
9589 * gdb.base/print-file-var.exp: Likewise.
9590 * gdb.base/print-symbol-loading.exp: Likewise.
9591 * gdb.base/shlib-call.exp: Likewise.
9592 * gdb.base/shreloc.exp: Likewise.
9593 * gdb.base/so-impl-ld.exp: Likewise.
9594 * gdb.base/solib-disc.exp: Likewise.
9595 * gdb.base/solib-nodir.exp: Likewise.
9596 * gdb.base/solib-overlap.exp: Likewise.
9597 * gdb.base/solib-symbol.exp: Likewise.
9598 * gdb.base/solib-weak.exp (do_test): Likewise.
9599 * gdb.base/sym-file.exp: Likewise.
9600 * gdb.base/symtab-search-order.exp: Likewise.
9601 * gdb.base/type-opaque.exp: Likewise.
9602 * gdb.base/unload.exp: Likewise.
9603 * gdb.base/watchpoint-solib.exp: Likewise.
9604 * gdb.compile/compile.exp: Likewise.
9605 * gdb.cp/gdb2384.exp: Likewise.
9606 * gdb.cp/infcall-dlopen.exp: Likewise.
9607 * gdb.cp/re-set-overloaded.exp: Likewise.
9608 * gdb.fortran/library-module.exp: Likewise.
9609 * gdb.opt/solib-intra-step.exp: Likewise.
9610 * gdb.python/py-finish-breakpoint.exp: Likewise.
9611 * gdb.python/py-shared.exp: Likewise.
9612 * gdb.reverse/solib-precsave.exp: Likewise.
9613 * gdb.reverse/solib-reverse.exp: Likewise.
9614 * gdb.server/solib-list.exp: Likewise.
9615 * gdb.threads/dlopen-libpthread.exp: Likewise.
9616 * gdb.threads/tls-shared.exp: Likewise.
9617 * gdb.threads/tls-so_extern.exp: Likewise.
9618 * gdb.trace/change-loc.exp: Likewise.
9619 * gdb.trace/ftrace-lock.exp: Likewise.
9620 * gdb.trace/ftrace.exp: Likewise.
9621 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9622 * gdb.trace/pending.exp: Likewise.
9623 * gdb.trace/range-stepping.exp: Likewise.
9624 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9625 (strace_info_marker): Likewise.
9626 (strace_probe_marker): Likewise.
9627 (strace_trace_on_same_addr): Likewise.
9628 (strace_trace_on_diff_addr): Likewise.
9629 * gdb.trace/trace-break.exp: Likewise.
9630 * gdb.trace/trace-condition.exp: Likewise.
9631 * gdb.trace/trace-mt.exp: Likewise.
9632
9633 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9634
9635 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9636 result of gdb_remote_download.
9637 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9638 * gdb.base/dso2dso.exp: Likewise.
9639 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9640 * gdb.base/print-file-var.exp: Likewise.
9641 * gdb.base/shlib-call.exp: Likewise.
9642 * gdb.base/shreloc.exp: Likewise.
9643 * gdb.base/solib-overlap.exp: Likewise.
9644 * gdb.base/solib-weak.exp (do_test): Likewise.
9645 * gdb.base/unload.exp: Likewise.
9646
9647 2016-04-27 Yao Qi <yao.qi@linaro.org>
9648
9649 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9650 exists.
9651
9652 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9653
9654 * vla-type.exp: Print structure from toplevel.
9655
9656 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9657
9658 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9659 of dynamic types.
9660 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9661 of dynamic types.
9662
9663 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9664
9665 * gdb.fortran/vla-type.f90: New file.
9666 * gdb.fortran/vla-type.exp: New file.
9667
9668 2016-04-25 Yao Qi <yao.qi@linaro.org>
9669
9670 * gdb.base/branch-to-self.c: New file.
9671 * gdb.base/branch-to-self.exp: New file.
9672
9673 2016-04-22 Yao Qi <yao.qi@linaro.org>
9674
9675 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9676 more after $hex.
9677
9678 2016-04-22 Yao Qi <yao.qi@linaro.org>
9679
9680 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9681 * gdb.base/annota3.exp: Likewise.
9682
9683 2016-04-22 Yao Qi <yao.qi@linaro.org>
9684
9685 * gdb.reverse/step-precsave.exp: Do one step and test program
9686 stops in "callee" and do multiple steps until program goes out
9687 of "callee".
9688 * gdb.reverse/step-reverse.exp: Likewise.
9689
9690 2016-04-22 Yao Qi <yao.qi@linaro.org>
9691
9692 * gdb.trace/signal.exp: Also pass if
9693 $tracepoint_hits($i) > $iterations.
9694
9695 2016-04-22 Yao Qi <yao.qi@linaro.org>
9696
9697 * gdb.trace/signal.c: New file.
9698 * gdb.trace/signal.exp: New file.
9699
9700 2016-04-19 Doug Evans <xdje42@gmail.com>
9701
9702 * gdb.base/bad-file.exp: New file.
9703
9704 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9705
9706 * gdb.dwarf2/implref.exp: New file.
9707
9708 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9709
9710 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9711 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9712 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9713 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9714 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9715 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9716 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9717 * lib/fortran.exp (fortran_int4): New procedure.
9718 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9719 (fortran_logical4): Likewise.
9720
9721 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9722
9723 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9724
9725 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9726
9727 * lib/compiler.c: Add Intel specific preprocessor macros.
9728 * lib/compiler.cc: Likewise.
9729
9730 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9731
9732 * gdb.server/connect-with-no-symbol-file.c: New file.
9733 * gdb.server/connect-with-no-symbol-file.exp: New file.
9734
9735 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9736
9737 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9738
9739 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9740
9741 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9742 standard output directory.
9743
9744 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9745
9746 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9747
9748 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9749
9750 * gdb.btrace/instruction_history.c (loop): Add declaration.
9751
9752 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9753
9754 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9755
9756 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9757
9758 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9759 parentheses to print.
9760 (continue_handler): Likewise.
9761
9762 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9763
9764 * gdb.server/solib-list.exp: Remove is_remote check.
9765 Pass shlib= to gdb_compile. Don't link shared library with
9766 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9767 Run binary filename through "readlink -f" on the target.
9768
9769 2016-04-08 Pedro Alves <palves@redhat.com>
9770
9771 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9772 interpreter filename as argument to gdbserver_spawn.
9773 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9774 Return empty if $last_loaded_file does not exist.
9775
9776 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9777
9778 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9779 * gdb.base/jit-main.c: Use exit after usage.
9780
9781 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9782
9783 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9784 GDBHISTSIZE prior to the tests.
9785 * gdb.base/gdbinit-history.exp: Likewise.
9786
9787 2016-04-07 Pedro Alves <palves@redhat.com>
9788
9789 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9790 instead of build_executable. Use gdb_load_shlibs.
9791
9792 2016-04-07 Yao Qi <yao.qi@linaro.org>
9793
9794 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9795 Execute "si" command.
9796
9797 2016-04-07 Yao Qi <yao.qi@linaro.org>
9798
9799 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9800 number instead of the comments on some line.
9801
9802 2016-04-06 Don Breazeal <donb@codesourcery.com>
9803
9804 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9805 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9806
9807 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9808
9809 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9810 standard_output_file. Remove unused binfile variable.
9811
9812 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9813
9814 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9815 * gdb.python/py-mi-objfile.exp: Match "list main" output
9816 in console format.
9817
9818 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9819
9820 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9821 absolute.
9822
9823 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9824
9825 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9826 absolute.
9827 * gdb.trace/ftrace.exp: Likewise.
9828 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9829 targets as well.
9830 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9831 (gdb_load_shlibs): Copy libraries to test directory when testing
9832 natively. Only set solib-search-path if testing remotely.
9833 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9834
9835 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9836
9837 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9838 gdb_download. Use it even if the target is not remote.
9839 * gdb.base/jit.exp (compile_jit_test): Likewise.
9840 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9841 output directory if the destination board is local, otherwise use
9842 the standard remote_download from DejaGnu.
9843 (gdb_download): Remove.
9844 (gdb_load_shlibs): Use gdb_remote_download instead of
9845 gdb_download.
9846 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9847 Use gdb_remote_download instead of gdb_download. Use it even if
9848 the target is not remote.
9849 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9850 instead of gdb_download.
9851
9852 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9853
9854 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9855 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9856 run.
9857
9858 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9859
9860 PR gdb/19820
9861 * gdb.base/printcmds.exp: Add artificial arrays tests.
9862
9863 2016-03-31 Pedro Alves <palves@redhat.com>
9864
9865 PR gdb/19858
9866 * gdb.base/jit-main.c: Include unistd.h.
9867 (ATTACH): Define to 0 if not already defined.
9868 (wait_for_gdb, mypid): New globals.
9869 (WAIT_FOR_GDB): New macro.
9870 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9871 some breakpoint locations.
9872 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9873 New procedures.
9874 (one_jit_test): Add REATTACH parameter, and handle it. Use
9875 continue_to_test_location.
9876 (top level): Test attach, and adjusts calls to one_jit_test.
9877
9878 2016-03-31 Pedro Alves <palves@redhat.com>
9879
9880 PR gdb/19858
9881 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9882 BINSUFFIX parameter, and handle it.
9883 (top level): Adjust calls compile_jit_test.
9884
9885 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9886
9887 PR python/19743
9888 * gdb.python/py-mi-events-gdb.py: New file.
9889 * gdb.python/py-mi-events.c: New file.
9890 * gdb.python/py-mi-events.exp: New file.
9891
9892 2016-03-30 Yao Qi <yao.qi@linaro.org>
9893
9894 * gdb.reverse/until-precsave.exp: Match function name only.
9895 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9896 Move malloc to a condition block.
9897 * gdb.reverse/until-reverse.exp: Match function name only.
9898
9899 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9900
9901 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9902 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9903 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9904 variable for GPR 0 instead of assuming it is register 0.
9905 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9906 * lib/trace-support.exp: Add s390 registers.
9907
9908 2016-03-29 Yao Qi <yao.qi@linaro.org>
9909
9910 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9911
9912 2016-03-24 Yao Qi <yao.qi@linaro.org>
9913
9914 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9915 test message.
9916
9917 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9918
9919 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9920 maintaining separate logic for constructing the output path.
9921
9922 2016-03-16 Don Breazeal <donb@codesourcery.com>
9923
9924 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9925 Retry fork and waitpid on interrupted system call errors.
9926 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9927 Use with_timeout_factor to increase timeout by factor of 10.
9928
9929 2016-03-15 Don Breazeal <donb@codesourcery.com>
9930
9931 * gdb.cp/scope-err.cc: New test program.
9932 * gdb.cp/scope-err.exp: New test script.
9933 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9934 lines and "set breakpoint here" comment.
9935 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9936 Fixed some whitespace and format issues.
9937 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9938 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9939
9940 2016-03-15 Doug Evans <dje@google.com>
9941
9942 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9943 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9944 All callers updated. Add tests for enums, mixed flags register.
9945
9946 2016-03-15 Doug Evans <dje@google.com>
9947
9948 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9949 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9950
9951 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9952
9953 * gdb.base/default.exp: Add $_as_string to the list of expected
9954 convenience functions.
9955
9956 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9957
9958 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9959
9960 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9961
9962 * gdb.python/py-as-string.exp: New file.
9963 * gdb.python/py-as-string.c: New file.
9964
9965 2016-03-09 Pedro Alves <palves@redhat.com>
9966
9967 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9968 signal" -> "Thread NN received signal" output change.
9969 * gdb.threads/ia64-sigill.exp: Likewise.
9970 * gdb.threads/linux-dp.exp: Likewise.
9971 * gdb.threads/manythreads.exp: Likewise.
9972 * gdb.threads/pending-step.exp: Likewise.
9973 * gdb.threads/print-threads.exp: Likewise.
9974 * gdb.threads/sigstep-threads.exp: Likewise.
9975 * gdb.threads/staticthreads.exp: Likewise.
9976 * gdb.threads/tls.exp: Likewise.
9977
9978 2016-03-09 Pedro Alves <palves@redhat.com>
9979
9980 * gdb.base/command-line-input.exp: New file.
9981
9982 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9983
9984 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9985 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9986 * gdb.trace/pending.exp: Accept leading dot before function name.
9987 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9988 * lib/trace-support.exp: Set registers for ppc.
9989
9990 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9991
9992 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9993 use it for disassembly; accept .main in addition to main in backtrace.
9994
9995 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9996 Marcin Kościelnicki <koriakin@0x04.net>
9997
9998 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9999 (gdb_recursion_test_ptr): New global variable.
10000 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10001 gdb_recursion_test.
10002 (gdb_c_test): Ditto.
10003
10004 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10005
10006 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10007 ordering.
10008
10009 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10010
10011 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10012 (bar): Add bar_start_lbl label.
10013 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10014 of foo/bar for emitting DWARF and tracing.
10015
10016 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10017
10018 * analyze-racy-logs.py: Set executable bit.
10019
10020 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10021
10022 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10023 (CHECK_TARGET_TMP): Likewise.
10024 (check-single-racy): New rule.
10025 (check-parallel-racy): Likewise.
10026 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10027 (do-check-parallel-racy): New rule.
10028 (check-racy/%.exp): Likewise.
10029 * README (Racy testcases): New section.
10030 * analyze-racy-logs.py: New file.
10031
10032 2016-03-03 Doug Evans <dje@google.com>
10033
10034 * gdb.base/skip.exp: Use with_test_prefix.
10035
10036 2016-03-03 Yao Qi <yao.qi@linaro.org>
10037
10038 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10039 Invoke step_over_syscall "clone" and break_cond_on_syscall
10040 "clone".
10041 * gdb.base/step-over-clone.c: New file.
10042
10043 2016-03-03 Yao Qi <yao.qi@linaro.org>
10044
10045 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10046 code format.
10047
10048 2016-03-03 Yao Qi <yao.qi@linaro.org>
10049
10050 * gdb.base/disp-step-fork.c: Rename to ...
10051 * gdb.base/step-over-fork.c: ... it. New file.
10052 * gdb.base/disp-step-vfork.c: Rename to ...
10053 * gdb.base/step-over-vfork.c: ... it. New file.
10054 * gdb.base/disp-step-syscall.exp: Rename to ...
10055 * gdb.base/step-over-syscall.exp: ... it. New file.
10056 (disp_step_cross_syscall): Rename to ...
10057 (step_over_syscall): ... it.
10058
10059 2016-03-03 Yao Qi <yao.qi@linaro.org>
10060
10061 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10062 If target supports condition evaluation on target, invoke
10063 break_cond_on_syscall for fork and vfork.
10064
10065 2016-03-03 Yao Qi <yao.qi@linaro.org>
10066
10067 * gdb.base/disp-step-syscall.exp: Don't invoke
10068 support_displaced_stepping.
10069 (disp_step_cross_syscall): Test with displaced stepping off and
10070 on if supported.
10071
10072 2016-03-03 Yao Qi <yao.qi@linaro.org>
10073
10074 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10075 proc.
10076 (setup): New proc.
10077 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10078 and setup.
10079
10080 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10081
10082 * gdb.fortran/vla-history.exp: Remove breakpoint.
10083
10084 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10085
10086 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10087 exceeds timeout.
10088
10089 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10090
10091 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10092 breakpoint.
10093
10094 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10095
10096 * gdb.mi/vla.f90: Nullify pointer after declaration.
10097
10098 2016-03-01 Pedro Alves <palves@redhat.com>
10099
10100 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10101
10102 2016-03-01 Pedro Alves <palves@redhat.com>
10103
10104 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10105 before anything else.
10106 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10107 _GNU_SOURCE here.
10108 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10109 before anything else.
10110 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10111
10112 2016-03-01 Pedro Alves <palves@redhat.com>
10113
10114 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10115
10116 2016-03-01 Yao Qi <yao.qi@linaro.org>
10117
10118 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10119 prepare_for_testing.
10120
10121 2016-03-01 Yao Qi <yao.qi@linaro.org>
10122
10123 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10124
10125 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10126
10127 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10128 manually constructing the output path.
10129
10130 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10131
10132 * gdb.arch/s390-stackless.S: New.
10133 * gdb.arch/s390-stackless.exp: New.
10134
10135 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10136
10137 * gdb.dlang/circular.c: New file.
10138 * gdb.dlang/circular.exp: New file.
10139
10140 2016-02-26 Yao Qi <yao.qi@linaro.org>
10141
10142 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10143 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10144 (testcases): Update.
10145
10146 2016-02-26 Yao Qi <yao.qi@linaro.org>
10147
10148 * gdb.reverse/aarch64.c: Rename to ...
10149 * gdb.reverse/insn-reverse.c: ... it.
10150 * gdb.reverse/aarch64.exp: Rename to ...
10151 * gdb.reverse/insn-reverse.exp: ... it.
10152
10153 2016-02-26 Yao Qi <yao.qi@linaro.org>
10154
10155 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10156 (testcase_ftype): New.
10157 (testcases): New array.
10158 (n_testcases): New.
10159 (main): Call each element in testcases.
10160 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10161 (read_testcase): New.
10162 Do the tests in a loop.
10163
10164 2016-02-25 Yao Qi <yao.qi@linaro.org>
10165
10166 * gdb.base/branches.c: Remove.
10167
10168 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10169
10170 PR gdb/13808
10171 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10172
10173 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10174
10175 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10176
10177 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10178
10179 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10180 change x86_64 call_insn to 'callq'.
10181
10182 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10183
10184 * gdb.trace/tfile-avx.c: Move to...
10185 * gdb.trace/tracefile-pseudo-reg.c: Here.
10186 * gdb.trace/tfile-avx.exp: Move to...
10187 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10188
10189 2016-02-24 Gary Benson <gbenson@redhat.com>
10190
10191 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10192 message on attach.
10193
10194 2016-02-23 Doug Evans <dje@google.com>
10195
10196 * gdb.base/skip.c (test_skip): New function.
10197 (end_test_skip_file_and_function): New function.
10198 (test_skip_file_and_function): New function.
10199 * gdb.base/skip1.c (test_skip): New function.
10200 (skip1_test_skip_file_and_function): New function.
10201 * gdb.base/skip.exp: Add tests for new skip options.
10202 * gdb.base/skip-solib.exp: Update expected output.
10203 * gdb.perf/skip-command.cc: New file.
10204 * gdb.perf/skip-command.exp: New file.
10205 * gdb.perf/skip-command.py: New file.
10206
10207 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10208
10209 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10210 info registers pattern.
10211
10212 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10213
10214 * lib/future.exp: Add D support.
10215 (gdb_find_gdc): New proc.
10216 (gdb_default_target_compile): Add D support.
10217
10218 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10219
10220 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10221 user+system time.
10222 (trace_speed_test): Determine the iteration count for a time
10223 between 15..30 seconds.
10224
10225 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10226
10227 * gdb.arch/i386-mpx-sigsegv.c: New file.
10228 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10229 * gdb.arch/i386-mpx-simple_segv.c: New file.
10230 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10231
10232 2016-02-18 Yao Qi <yao.qi@linaro.org>
10233
10234 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10235 Don't call setup_kfail.
10236
10237 2016-02-18 Yao Qi <yao.qi@linaro.org>
10238
10239 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10240 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10241
10242 2016-02-16 Doug Evans <dje@google.com>
10243
10244 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10245 * gdb.base/skip1.c: Ditto.
10246 * gdb.base/skip.exp: Whitespace cleanup.
10247
10248 2016-02-16 Don Breazeal <donb@codesourcery.com>
10249
10250 PR remote/19496
10251 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10252 Remove kfail for PR remote/19496.
10253
10254 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10255
10256 * lib/gdb.exp (standard_temp_file): Return a path specific to
10257 the runtest invocation.
10258
10259 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10260
10261 * gdb.trace/save-trace.exp: Change relative path to be in the
10262 standard output directory.
10263
10264 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10265
10266 * gdb.arch/i386-prologue.c: Add missing prototypes.
10267
10268 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10269
10270 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10271 * gdb.arch/i386-prologue.exp: Likewise.
10272 * gdb.arch/i386-size.exp: Likewise.
10273
10274 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10275
10276 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10277 define object file path.
10278 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10279 file path.
10280 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10281 standard_output_file to define binfile.
10282
10283 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10284
10285 Fix compatibility with recent gfortran-5.3.1.
10286 * gdb.fortran/vla-history.exp (print vla1 allocated)
10287 (print vla2 allocated, print $2, print $3): Remove
10288 (print $4): Rename to ...
10289 (print $2): ... here.
10290 (print $9): Rename to ...
10291 (print $5): ... here.
10292 (print $10): Rename to ...
10293 (print $6): ... here.
10294 * gdb.fortran/vla.f90: Add pvla initialization.
10295
10296 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10297
10298 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10299 New test.
10300 * gdb.fortran/vla-value-sub.exp: Likewise.
10301
10302 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10303
10304 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10305
10306 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10307
10308 * i386-biarch-core.exp: Define corefile using
10309 standard_output_file.
10310
10311 2016-02-12 Yao Qi <yao.qi@linaro.org>
10312
10313 * gdb.arch/arm-single-step-kernel-helper.c: New.
10314 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10315
10316 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10317
10318 * gdb.btrace/tailcall-only.exp: New.
10319 * gdb.btrace/tailcall-only.c: New.
10320 * gdb.btrace/x86_64-tailcall-only.S: New.
10321 * gdb.btrace/i686-tailcall-only.S: New.
10322
10323 2016-02-11 Pedro Alves <palves@redhat.com>
10324
10325 * README (Parallel testing): Add missing double quotes.
10326
10327 2016-02-11 Pedro Alves <palves@redhat.com>
10328
10329 * README (Parallel testing): New section.
10330 (GDB_PARALLEL): Rewrite.
10331 (FORCE_PARALLEL): Document.
10332
10333 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10334
10335 * gdb.trace/tfile-avx.c: New test.
10336 * gdb.trace/tfile-avx.exp: New test.
10337
10338 2016-02-09 Keith Seitz <keiths@redhat.com>
10339
10340 PR breakpoints/19546
10341 * gdb.base/infcall-exec.c: New file.
10342 * gdb.base/infcall-exec2.c: New file.
10343 * gdb.base/infcall-exec.exp: New file.
10344
10345 2016-02-09 Keith Seitz <keiths@redhat.com>
10346
10347 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10348 (toplevel): Call test_bkpt_address.
10349
10350 2016-02-09 Keith Seitz <keiths@redhat.com>
10351
10352 PR python/19506
10353 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10354 (toplevel): Call test_bkpt_address.
10355
10356 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10357
10358 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10359 to AC_OUTPUT.
10360 * configure: Regenerate.
10361
10362 2016-02-09 Pedro Alves <palves@redhat.com>
10363
10364 PR breakpoints/19548
10365 * gdb.base/execl-update-breakpoints.c (some_function): New
10366 function.
10367 (main): Call it.
10368 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10369 Tighten expected GDB output.
10370
10371 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10372
10373 * Makefile.in (ALL_SUBDIRS): Remove.
10374 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10375 (distclean maintainer-clean realclean): Likewise.
10376 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10377 * configure: Regenerate.
10378 * gdb.ada/Makefile.in: Delete.
10379 * gdb.arch/Makefile.in: Likewise.
10380 * gdb.asm/Makefile.in: Likewise.
10381 * gdb.base/Makefile.in: Likewise.
10382 * gdb.btrace/Makefile.in: Likewise.
10383 * gdb.cell/Makefile.in: Likewise.
10384 * gdb.compile/Makefile.in: Likewise.
10385 * gdb.cp/Makefile.in: Likewise.
10386 * gdb.disasm/Makefile.in: Likewise.
10387 * gdb.dlang/Makefile.in: Likewise.
10388 * gdb.dwarf2/Makefile.in: Likewise.
10389 * gdb.fortran/Makefile.in: Likewise.
10390 * gdb.gdb/Makefile.in: Likewise.
10391 * gdb.go/Makefile.in: Likewise.
10392 * gdb.guile/Makefile.in: Likewise.
10393 * gdb.java/Makefile.in: Likewise.
10394 * gdb.linespec/Makefile.in: Likewise.
10395 * gdb.mi/Makefile.in: Likewise.
10396 * gdb.modula2/Makefile.in: Likewise.
10397 * gdb.multi/Makefile.in: Likewise.
10398 * gdb.objc/Makefile.in: Likewise.
10399 * gdb.opencl/Makefile.in: Likewise.
10400 * gdb.opt/Makefile.in: Likewise.
10401 * gdb.pascal/Makefile.in: Likewise.
10402 * gdb.perf/Makefile.in: Likewise.
10403 * gdb.python/Makefile.in: Likewise.
10404 * gdb.reverse/Makefile.in: Likewise.
10405 * gdb.server/Makefile.in: Likewise.
10406 * gdb.stabs/Makefile.in: Likewise.
10407 * gdb.threads/Makefile.in: Likewise.
10408 * gdb.trace/Makefile.in: Likewise.
10409 * gdb.xml/Makefile.in: Likewise.
10410 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10411 GDB_PARALLEL.
10412 (standard_output_file): Remove check for GDB_PARALLEL, always
10413 return path in outputs/$subdir/$testname.
10414
10415 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10416
10417 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10418 (site.exp): Assign abs_srcdir to tcl's srcdir.
10419
10420 2016-02-04 Yao Qi <yao.qi@linaro.org>
10421
10422 * gdb.base/foll-exec-mode.c: Include limits.h.
10423 (main): Add parameters argc and argv. Get directory from
10424 argv[0].
10425 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10426 compilation.
10427 * gdb.base/foll-exec.c: Include limits.h.
10428 (main): Add parameters argc and argv.
10429 Get directory from argv[0].
10430 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10431 Adjust tests on the number of lines as source code changed.
10432 * gdb.base/foll-vfork-exit.c: Include limits.h.
10433 (main): Add one line of statement before vfork.
10434 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10435 (main): Add parameters argc and argv. Get directory from
10436 argv[0].
10437 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10438 (setup_gdb): Set tbreak to skip some source lines.
10439 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10440 (main): Add parameters argc and argv. Get directory from
10441 argv[0].
10442 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10443 compilation.
10444 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10445 (main): Add parameters argc and argv. Get directory from
10446 argv[0].
10447 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10448 compilation.
10449
10450 2016-02-01 Doug Evans <dje@google.com>
10451
10452 * gdb.base/skip.exp: Clean up multiple references to same test name.
10453
10454 2016-02-01 Pedro Alves <palves@redhat.com>
10455
10456 PR remote/19496
10457 * gdb.threads/forking-threads-plus-breakpoint.exp
10458 (displaced_stepping_supported): New global.
10459 (probe_displaced_stepping_support): New procedure.
10460 (do_test): Add 'displaced' parameter, and use it.
10461 (top level): Check for displaced stepping support. Add displaced
10462 stepping on/off testing axis.
10463
10464 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10465
10466 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10467 pointer. Don't perform further tests on the unassociated pointer
10468 if the first test fails.
10469
10470 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10471
10472 * gdb.base/max-value-size.c: New file.
10473 * gdb.base/max-value-size.exp: New file.
10474 * gdb.base/huge.exp: Disable max-value-size for this test.
10475
10476 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10477
10478 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10479
10480 2016-01-28 Yao Qi <yao.qi@linaro.org>
10481
10482 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10483
10484 2016-01-25 Pedro Alves <palves@redhat.com>
10485
10486 PR threads/19461
10487 * gdb.base/fork-running-state.c: New file.
10488 * gdb.base/fork-running-state.exp: New file.
10489
10490 2016-01-25 Pedro Alves <palves@redhat.com>
10491
10492 PR gdb/19494
10493 * gdb.base/catch-fork-kill.c: New file.
10494 * gdb.base/catch-fork-kill.exp: New file.
10495
10496 2016-01-25 Pedro Alves <palves@redhat.com>
10497
10498 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10499 Delete, moved to lib/gdb.exp.
10500 * gdb.threads/forking-threads-plus-breakpoint.exp
10501 (foreach_with_prefix): Likewise.
10502 * gdb.threads/process-dies-while-handling-bp.exp
10503 (foreach_with_prefix): Likewise.
10504 * lib/gdb.exp (foreach_with_prefix): New procedure.
10505
10506 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10507
10508 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10509 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10510
10511 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10512
10513 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10514 endian targets.
10515
10516 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10517 Pedro Alves <palves@redhat.com>
10518
10519 Fix testsuite compatibility with Guile.
10520 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10521 number.
10522
10523 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10524
10525 Fix testsuite compatibility with Guile.
10526 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10527 (thread 1): New test for backtrace through signal handler.
10528
10529 2016-01-22 Yao Qi <yao.qi@linaro.org>
10530
10531 PR testsuite/19491
10532 * gdb.base/multi-forks.c: Include
10533 ../lib/unbuffer_output.c
10534 (main): Call gdb_unbuffer_output.
10535
10536 2016-01-21 Doug Evans <dje@google.com>
10537
10538 * lib/ada.exp (gdb_compile_ada): Fix typo.
10539
10540 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10541
10542 * gdb.base/break-fun-addr.exp: New file.
10543 * gdb.base/break-fun-addr1.c: New file.
10544 * gdb.base/break-fun-addr2.c: New file.
10545
10546 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10547
10548 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10549 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10550 enum flag values.
10551
10552 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10553
10554 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10555 when GDB can not set the vector return value. Add more comments
10556 for clarification.
10557
10558 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10559
10560 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10561 command.
10562
10563 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10564
10565 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10566
10567 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10568
10569 * Makefile.in (check-single): Pass --status to runtest.
10570 (check/%.exp): Likewise.
10571
10572 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10573
10574 * Makefile.in (check-parallel): Propagate return code from make
10575 do-check-parallel.
10576
10577 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10578
10579 * gdb.trace/ftrace.exp: Fix expected message on continue.
10580 * gdb.trace/pending.exp: Fix expected message on continue.
10581 * gdb.trace/trace-break.exp: Fix expected message on continue.
10582
10583 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10584
10585 * lib/gdb.exp (gdb_test): Remove unused global references.
10586
10587 2016-01-18 Pedro Alves <palves@redhat.com>
10588
10589 * gdb.base/async-shell.exp: Adjust expected output.
10590 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10591 * gdb.base/siginfo-thread.exp: Adjust expected output.
10592 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10593 * gdb.java/jnpe.exp: Adjust expected output.
10594 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10595 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10596 * gdb.threads/leader-exit.exp: Adjust expected output.
10597 * gdb.threads/manythreads.exp: Adjust expected output.
10598 * gdb.threads/pthreads.exp: Adjust expected output.
10599 * gdb.threads/schedlock.exp: Adjust expected output.
10600 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10601 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10602 expected output.
10603 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10604 output.
10605 * gdb.threads/sigthread.exp: Adjust expected output.
10606 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10607
10608 2016-01-18 Yao Qi <yao.qi@linaro.org>
10609
10610 * gdb.guile/scm-section-script.c: Replace @progbits with
10611 %progbits.
10612 * gdb.python/py-section-script.c: Likewise.
10613
10614 2016-01-15 Pedro Alves <palves@redhat.com>
10615
10616 * gdb.multi/tids.exp: Test star wildcard ranges.
10617
10618 2016-01-15 Pedro Alves <palves@redhat.com>
10619
10620 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10621 command from "thread apply" invocation.
10622 (thr_apply_info_thr_invalid): Default the expected output to the
10623 input tid list.
10624 (top level): Add tests that use convenience variables. Add tests
10625 for "thread apply" with a valid TID list, but missing the command.
10626
10627 2016-01-13 Pedro Alves <palves@redhat.com>
10628
10629 * gdb.base/default.exp: Expect $_gthread as well.
10630 * gdb.multi/tids.exp: Test $_gthread.
10631 * gdb.threads/thread-specific.exp: Test $_gthread.
10632
10633 2016-01-13 Pedro Alves <palves@redhat.com>
10634
10635 * gdb.multi/tids.exp: Test "info threads -gid".
10636
10637 2016-01-13 Pedro Alves <palves@redhat.com>
10638
10639 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10640 Breakpoint.thread.
10641 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10642
10643 2016-01-07 Pedro Alves <palves@redhat.com>
10644
10645 * gdb.base/break.exp: Adjust to output changes.
10646 * gdb.base/hbreak2.exp: Likewise.
10647 * gdb.base/sepdebug.exp: Likewise.
10648 * gdb.base/watch_thread_num.exp: Likewise.
10649 * gdb.linespec/keywords.exp: Likewise.
10650 * gdb.multi/info-threads.exp: Likewise.
10651 * gdb.threads/thread-find.exp: Likewise.
10652 * gdb.multi/tids.c: New file.
10653 * gdb.multi/tids.exp: New file.
10654
10655 2016-01-13 Pedro Alves <palves@redhat.com>
10656
10657 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10658
10659 2016-01-13 Pedro Alves <palves@redhat.com>
10660
10661 * gdb.base/default.exp: Expect $_inferior as well.
10662 * gdb.multi/base.exp: Test $_inferior.
10663
10664 2016-01-13 Pedro Alves <palves@redhat.com>
10665
10666 PR breakpoints/19388
10667 * gdb.base/catch-signal-siginfo-cond.c: New file.
10668 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10669
10670 2016-01-12 Josh Stone <jistone@redhat.com>
10671 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10672
10673 * gdb.base/catch-syscall.c (do_execve): New variable.
10674 (main): Conditionally trigger an execve.
10675 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10676 (test_catch_syscall_execve): New, check entry/return across execve.
10677 (do_syscall_tests): Call test_catch_syscall_execve.
10678
10679 2016-01-12 Pedro Alves <palves@redhat.com>
10680
10681 * gdb.base/random-signal.exp (do_test): New procedure, with body
10682 of testcase moved in.
10683
10684 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10685 Pedro Alves <palves@redhat.com>
10686
10687 * gdb.base/funcargs.exp (finish from indirectly called function):
10688 Reintroduce the case for 'First'.
10689
10690 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10691 Pedro Alves <palves@redhat.com>
10692
10693 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10694 (tcatch_vfork_then_child_follow_exec)
10695 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10696 identification.
10697
10698 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10699
10700 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10701 and repeats to unlimited.
10702 * gdb.python/py-value.exp: Likewise.
10703 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10704 and repeats to unlimited.
10705
10706 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10707
10708 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10709 and reordering the functions.
10710 * gdb.multi/hangout.c: Likewise.
10711 * gdb.multi/hello.c: Likewise.
10712
10713 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10714
10715 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10716 absolute.
10717 (SingleStatisticTestResult.report): Use dict.keys instead of
10718 dict.iterkeys.
10719
10720 2016-01-06 Pedro Alves <palves@redhat.com>
10721
10722 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10723
10724 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10725
10726 * gdb.btrace/dlopen.exp: New.
10727 * gdb.btrace/dlopen.c: New.
10728 * gdb.btrace/dlopen-dso.c: New.
10729
10730 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10731
10732 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10733 PATTERN argument is optional.
10734
10735 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10736
10737 * lib/ada.exp (target_compile_ada_from_dir): New function.
10738 (gdb_compile_ada): Reimplement avoiding the use of project files.
10739 * gdb.ada/gnat_ada.gpr: Delete.
10740 * gdb.ada/cond_lang.exp: Adjust test to make path before
10741 filename optional.
10742 * gdb.ada/small_reg_param.exp: Likewise.
10743
10744 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10745
10746 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10747
10748 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10749
10750 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10751 case.
10752
10753 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10754
10755 * gdb.base/break.exp: Remove dead code.
10756 * gdb.base/sepdebug.exp: Likewise.
10757
10758 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10759
10760 * gdb.asm/asm-source.exp: Remove HP-UX references.
10761 * gdb.base/annota1.exp: Likewise.
10762 * gdb.base/annota3.exp: Likewise.
10763 * gdb.base/attach.exp: Likewise.
10764 * gdb.base/bigcore.exp: Likewise.
10765 * gdb.base/break.exp: Likewise.
10766 * gdb.base/call-ar-st.exp: Likewise.
10767 * gdb.base/callfuncs.exp: Likewise.
10768 * gdb.base/catch-fork-static.exp: Likewise.
10769 * gdb.base/display.exp: Likewise.
10770 * gdb.base/foll-exec-mode.exp: Likewise.
10771 * gdb.base/foll-exec.exp: Likewise.
10772 * gdb.base/foll-fork.exp: Likewise.
10773 * gdb.base/foll-vfork.exp: Likewise.
10774 * gdb.base/funcargs.exp: Likewise.
10775 * gdb.base/hbreak2.exp: Likewise.
10776 * gdb.base/inferior-died.exp: Likewise.
10777 * gdb.base/interrupt.exp: Likewise.
10778 * gdb.base/multi-forks.exp: Likewise.
10779 * gdb.base/nodebug.exp: Likewise.
10780 * gdb.base/sepdebug.exp: Likewise.
10781 * gdb.base/solib1.c: Likewise.
10782 * gdb.base/step-test.exp: Likewise.
10783 * gdb.mi/non-stop.c: Likewise.
10784 * gdb.mi/pthreads.c: Likewise.
10785 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10786 * gdb.threads/pthreads.c: Likewise.
10787 * gdb.threads/staticthreads.exp: Likewise.
10788 * lib/future.exp: Likewise.
10789 * lib/gdb.exp: Likewise.
10790 * gdb.base/so-indr-cl.c: Remove.
10791 * gdb.base/so-indr-cl.exp: Likewise.
10792 * gdb.base/solib.c: Likewise.
10793 * gdb.base/solib.exp: Likewise.
10794 * gdb.base/solib2.c: Likewise.
10795
10796 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10797
10798 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10799 * gdb.base/call-ar-st.exp: Likewise.
10800 * gdb.base/callfuncs.exp: Likewise.
10801 * gdb.base/condbreak.exp: Likewise.
10802 * gdb.base/constvars.exp: Likewise.
10803 * gdb.base/hbreak2.exp: Likewise.
10804 * gdb.base/langs.exp: Likewise.
10805 * gdb.base/list.exp: Likewise.
10806 * gdb.base/long_long.exp: Likewise.
10807 * gdb.base/ptype.exp: Likewise.
10808 * gdb.base/scope.exp: Likewise.
10809 * gdb.base/signals.exp: Likewise.
10810 * gdb.base/so-impl-ld.exp: Likewise.
10811 * gdb.base/varargs.exp: Likewise.
10812 * gdb.base/volatile.exp: Likewise.
10813 * gdb.base/whatis.exp: Likewise.
10814 * gdb.cp/cplusfuncs.exp: Likewise.
10815 * gdb.cp/inherit.exp: Likewise.
10816 * gdb.cp/local.exp: Likewise.
10817 * gdb.cp/member-ptr.exp: Likewise.
10818 * gdb.cp/method.exp: Likewise.
10819 * gdb.cp/overload.exp: Likewise.
10820 * gdb.cp/templates.exp: Likewise.
10821 * gdb.stabs/weird.exp: Likewise.
10822 * lib/compiler.c: Likewise.
10823 * lib/compiler.cc: Likewise.
10824 * lib/cp-support.exp: Likewise.
10825 * lib/gdb.exp: Likewise.
10826
10827 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10828
10829 * configure.ac: Remove HP-UX case.
10830 * configure: Regenerate.
10831
10832 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10833
10834 * lib/gdb.exp (gdb_compile): Add function doc.
10835
10836 2015-12-17 Pedro Alves <palves@redhat.com>
10837
10838 PR threads/19354
10839 * gdb.multi/info-threads.exp: New file.
10840
10841 2015-12-15 Yao Qi <yao.qi@linaro.org>
10842
10843 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10844 is aarch64*-*-*.
10845
10846 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10847
10848 * gdb.base/history-duplicates.exp: Skip if no readline support.
10849
10850 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10851
10852 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10853
10854 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10855
10856 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10857
10858 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10859
10860 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10861 ctrl-C if nointerrupts target property is set.
10862 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10863 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10864 * gdb.base/paginate-bg-execution.exp: Likewise.
10865 * gdb.base/paginate-execution-startup.exp: Likewise.
10866 * gdb.base/random-signal.exp: Likewise.
10867 * gdb.base/range-stepping.exp: Likewise.
10868 * gdb.cp/annota2.exp: Likewise.
10869 * gdb.cp/annota3.exp: Likewise.
10870 * gdb.gdb/selftest.exp: Likewise.
10871 * gdb.threads/continue-pending-status.exp: Likewise.
10872 * gdb.threads/leader-exit.exp: Likewise.
10873 * gdb.threads/manythreads.exp: Likewise.
10874 * gdb.threads/pthreads.exp: Likewise.
10875 * gdb.threads/schedlock.exp: Likewise.
10876 * gdb.threads/sigthread.exp: Likewise.
10877
10878 2015-12-11 Don Breazeal <donb@codesourcery.com>
10879
10880 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10881 remote.
10882 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10883 * gdb.base/foll-exec.exp (main): Enable for target remote.
10884 * gdb.base/foll-fork.exp (main): Likewise.
10885 * gdb.base/foll-vfork.exp (main): Likewise.
10886 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10887 (proc continue_to_exit_bp_loc): Use clean_restart.
10888 * gdb.base/pie-execl.exp (main): Disable for target remote.
10889 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10890 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10891 * gdb.threads/execl.exp (main): Likewise.
10892 * gdb.threads/fork-child-threads.exp (main): Likewise.
10893 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10894 remote.
10895 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10896 remote.
10897 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10898 pid.tid style ptids, instead of just tid.
10899 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10900 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10901 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10902 ptids, instead of just tid.
10903
10904 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10905
10906 * gdb.base/list.exp (test_list_forward): Add end of file error
10907 test.
10908 (test_repeat_list_command): Add end of file error test.
10909 (test_list_backwards): Add beginning of file error test.
10910
10911 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10912
10913 * gdb.base/list.exp (test_list_invalid_args): New function,
10914 defined, and called.
10915
10916 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10917
10918 * gdb.base/list.exp (test_list): Make test names unique.
10919
10920 2015-12-11 Yao Qi <yao.qi@linaro.org>
10921
10922 * gdb.base/coremaker2.c: Remove.
10923
10924 2015-12-10 Pedro Alves <palves@redhat.com>
10925
10926 * gdb.multi/base.exp: Remove stale "spaces" references.
10927
10928 2015-12-10 Pedro Alves <palves@redhat.com>
10929
10930 * gdb.multi/base.exp: Don't use nowarnings.
10931 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10932 * gdb.multi/hangout.c: Include stdio.h.
10933 * gdb.multi/hello.c: Include stdlib.h.
10934 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10935 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10936 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10937
10938 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10939
10940 * gdb.dwarf2/dw2-ranges-base.c: New file.
10941 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10942 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10943 support additional line table, and debug ranges generation.
10944 (Dwarf::ranges): New function, generate .debug_ranges.
10945 (Dwarf::lines): Support generating simple line table programs.
10946 (Dwarf::assemble): Initialise new namespace variables.
10947
10948 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10949
10950 * gdb.base/async.exp (proc test_background): Add case for
10951 asynchronous execution not supported.
10952
10953 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10954
10955 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10956 format and change test names to make them unique.
10957
10958 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10959 Pedro Alves <pedro@redhat.com>
10960
10961 PR gdb/18702
10962 Add checking of floatformats setup on x86_64 hosts.
10963 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10964 (smallval, bigval): New labels/constants.
10965 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10966 float" after loading bigval and smallval.
10967
10968 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10969
10970 * gdb.ada/fun_overload_menu.exp: New testcase.
10971 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10972
10973 2015-12-04 Josh Stone <jistone@redhat.com>
10974
10975 * gdb.base/catch-fork-static.exp: New.
10976
10977 2015-12-03 Yao Qi <yao.qi@linaro.org>
10978
10979 * gdb.base/sizeof.c: Don't include stdio.h and
10980 ../lib/unbuffer_output.c.
10981 (main): New variable 'size' and 'value'. Remove printf and
10982 gdb_unbuffer_output. Assign return value to size and value.
10983 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10984 at the beginning.
10985 (check_sizeof): Check the result by printing variable 'size'.
10986 (check_valueof): Check the result by printing variable 'value'.
10987
10988 2015-12-01 Yao Qi <yao.qi@linaro.org>
10989
10990 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10991 for aarch64*-*-linux* target.
10992
10993 2015-11-30 Pedro Alves <palves@redhat.com>
10994
10995 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10996
10997 2015-11-30 Pedro Alves <palves@redhat.com>
10998
10999 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11000 Handle non-stop mode vCont replies.
11001
11002 2015-11-30 Pedro Alves <palves@redhat.com>
11003
11004 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11005 prepare_for_testing. Start gdb with "set non-stop on" appended to
11006 GDBFLAGS. Lax expected stop output.
11007
11008 2015-11-27 Yao Qi <yao.qi@linaro.org>
11009
11010 * gdb.arch/arm-neon.exp: New.
11011 * gdb.arch/arm-neon.c: New.
11012
11013 2015-11-27 Yao Qi <yao.qi@linaro.org>
11014
11015 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11016
11017 2015-11-27 Yao Qi <yao.qi@linaro.org>
11018
11019 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11020 frames-invalid annotation.
11021
11022 2015-11-27 Yao Qi <yao.qi@linaro.org>
11023
11024 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11025
11026 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11027
11028 * gdb.threads/names.exp: New file.
11029 * gdb.threads/names.c: New file.
11030 * README: Mention gdb,no_thread_names.
11031
11032 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11033
11034 PR 19297
11035 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11036 support" error.
11037
11038 2015-11-24 Pedro Alves <palves@redhat.com>
11039
11040 PR 17539
11041 * gdb.base/display.exp: Expect displays to be sorted in ascending
11042 order. Use multi_line.
11043 * gdb.base/solib-display.exp: Likewise.
11044
11045 2015-11-24 Pedro Alves <palves@redhat.com>
11046
11047 PR 17539
11048 * gdb.base/display.exp: Expect displays to be sorted in ascending
11049 order. Use multi_line.
11050 * gdb.base/solib-display.exp: Likewise.
11051
11052 2015-11-24 Pedro Alves <palves@redhat.com>
11053
11054 PR 17539
11055 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11056 threads in ascending order.
11057 * gdb.base/foll-fork.exp: Likewise.
11058 * gdb.base/foll-vfork.exp: Likewise.
11059 * gdb.base/multi-forks.exp: Likewise.
11060 * gdb.mi/mi-nonstop.exp: Likewise.
11061 * gdb.mi/mi-nsintrall.exp: Likewise.
11062 * gdb.multi/base.exp: Likewise.
11063 * gdb.multi/multi-arch.exp: Likewise.
11064 * gdb.python/py-inferior.exp: Likewise.
11065 * gdb.threads/break-while-running.exp: Likewise.
11066 * gdb.threads/execl.exp: Likewise.
11067 * gdb.threads/gcore-thread.exp: Likewise.
11068 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11069 * gdb.threads/kill.exp: Likewise.
11070 * gdb.threads/linux-dp.exp: Likewise.
11071 * gdb.threads/multiple-step-overs.exp: Likewise.
11072 * gdb.threads/next-bp-other-thread.exp: Likewise.
11073 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11074 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11075 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11076 * gdb.threads/thread-find.exp: Likewise.
11077 * gdb.threads/tls.exp: Likewise.
11078 * lib/mi-support.exp (mi_reverse_list): Delete.
11079 (mi_check_thread_states): No longer reverse list.
11080
11081 2015-11-24 Pedro Alves <palves@redhat.com>
11082
11083 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11084 use lowercase.
11085
11086 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11087
11088 * gdb.trace/actions.c: Include trace-common.h.
11089 (main): Add a location for a fast tracepoint.
11090 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11091 the normal tracepoints.
11092 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11093
11094 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11095
11096 * save-trace.exp: Factor out code to these...
11097 (gdb_save_tracepoints): New.
11098 (gdb_load_tracepoints): New.
11099 (do_save_load_test): New.
11100
11101 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11102
11103 * gdb.base/asmlabel.exp: New test.
11104 * gdb.base/asmlabel.c: New test case.
11105
11106 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11107
11108 * gdb.base/wrong_frame_bt_full-main.c: New file.
11109 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11110 * gdb.base/wrong_frame_bt_full.exp: New file.
11111
11112 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11113
11114 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11115
11116 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11117
11118 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11119 pstate register when comparing registers values in
11120 sparc64-*-linux-gnu targets to avoid spurious differences.
11121
11122 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11123
11124 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11125
11126 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11127
11128 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11129 as type argument to gdb_compile.
11130 * gdb.base/nested-subp2.exp: Likewise.
11131 * gdb.base/nested-subp3.exp: Likewise.
11132
11133 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11134
11135 * lib/dwarf.exp (_note): Fix left shift of negative value.
11136 * gdb.trace/trace-condition.exp: Likewise.
11137
11138 2015-11-13 Yao Qi <yao.qi@linaro.org>
11139
11140 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11141 comments about d10v.
11142 (test_scalar_returns): Likewise.
11143 * gdb.base/d10v.ld: Remove.
11144 * gdb.base/overlays.exp: Remove the target triplet checking for
11145 d10v-*-*.
11146 * gdb.base/structs.exp (test_struct_returns): Remove the
11147 comments about d10v.
11148 (test_struct_calls): Likewise.
11149
11150 2015-11-13 Yao Qi <yao.qi@linaro.org>
11151
11152 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11153 * gdb.base/gnu_vector.c: Don't include stdio.h.
11154 (main): Don't print res and call add_some_intvecs.
11155
11156 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11157
11158 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11159 macro.
11160 (func5): Removed.
11161 (func4): Use FAST_TRACEPOINT_LABEL.
11162 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11163 macro.
11164 (func): Removed.
11165 (thread_function): Use FAST_TRACEPOINT_LABEL.
11166 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11167 (func): Remove.
11168 (marker): Use FAST_TRACEPOINT_LABEL.
11169 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11170 (pendfunc1): Remove.
11171 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11172 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11173 (foo): Remove.
11174 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11175 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11176 macro.
11177 (func): Remove.
11178 (marker): Use FAST_TRACEPOINT_LABEL.
11179 * gdb.trace/trace-common.h: New header.
11180 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11181 macro.
11182 (func): Remove.
11183 (marker): Use FAST_TRACEPOINT_LABEL.
11184 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11185 (func): Remove.
11186 (thread_function): Use FAST_TRACEPOINT_LABEL.
11187
11188 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11189
11190 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11191 in front.
11192 * gdb.trace/change-loc.exp: Use global pcreg definition.
11193 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11194 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11195 in front.
11196 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11197 * gdb.trace/pending.exp: Likewise.
11198 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11199 * gdb.trace/trace-break.exp: Likewise.
11200 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11201 in front.
11202 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11203 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11204 in front.
11205 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11206
11207 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11208
11209 * gdb.ada/fin_fun_out: New testcase.
11210
11211 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11212
11213 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11214 value associated with DW_AT_byte_size.
11215 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11216 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11217 DW_AT_upper_bound.
11218
11219 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11220
11221 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11222 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11223 version.
11224 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11225 gdb.dwarf2/dw2-canonicalize-type.exp,
11226 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11227 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11228 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11229 provided by gdb_target_symbol_prefix_flags_asm.
11230 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11231 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11232 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11233 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11234 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11235 macros where needed). Use this macro for symbols which require
11236 the prefix provided by SYMBOL_PREFIX.
11237
11238 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11239
11240 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11241 New procs.
11242 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11243 representing expressions, of more than one list element.
11244 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11245 to prepend linker symbol prefix to f.
11246 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11247 table_1 and table_2.
11248 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11249 Likewise, for f and g.
11250 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11251 for ptr.
11252 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11253 for main.
11254 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11255 table_1_ptr and table_2_ptr.
11256
11257 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11258 Joel Brobecker <brobecker@adacore.com>
11259
11260 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11261
11262 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11263
11264 * gdb.reverse/s390-mvcle.c: New test.
11265 * gdb.reverse/s390-mvcle.exp: New file.
11266 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11267
11268 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11269
11270 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11271
11272 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11273
11274 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11275 reaching marker2.
11276 * gdb.reverse/getresuid-reverse.exp: Likewise.
11277 * gdb.reverse/pipe-reverse.exp: Likewise.
11278 * gdb.reverse/readv-reverse.exp: Likewise.
11279 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11280 * gdb.reverse/time-reverse.exp: Likewise.
11281 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11282
11283 2015-10-30 Yao Qi <yao.qi@linaro.org>
11284
11285 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11286 (empty_cycle): Remove.
11287 (main): Don't call empty_cycle. Don't use watch_count_done.
11288 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11289 empty_cycle. Rewrite the code counting HW watchpoints.
11290
11291 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11292
11293 * gdb.reverse/fstatat-reverse.c: New test.
11294 * gdb.reverse/fstatat-reverse.exp: New file.
11295 * gdb.reverse/getresuid-reverse.c: New test.
11296 * gdb.reverse/getresuid-reverse.exp: New file.
11297 * gdb.reverse/pipe-reverse.c: New test.
11298 * gdb.reverse/pipe-reverse.exp: New file.
11299 * gdb.reverse/readv-reverse.c: New test.
11300 * gdb.reverse/readv-reverse.exp: New file.
11301 * gdb.reverse/recvmsg-reverse.c: New test.
11302 * gdb.reverse/recvmsg-reverse.exp: New file.
11303 * gdb.reverse/time-reverse.c: New test.
11304 * gdb.reverse/time-reverse.exp: New file.
11305 * gdb.reverse/waitpid-reverse.c: New test.
11306 * gdb.reverse/waitpid-reverse.exp: New file.
11307
11308 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11309
11310 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11311
11312 2015-10-26 Doug Evans <dje@google.com>
11313
11314 PR symtab/17391
11315 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11316 * gdb.dwarf2/bad-regnum.c: New file.
11317 * gdb.dwarf2/bad-regnum.exp: New file.
11318
11319 2015-10-26 Doug Evans <dje@google.com>
11320
11321 PR python/18938
11322 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11323 file.
11324
11325 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11326
11327 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11328 for a change by "Mention language in compile error message".
11329
11330 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11331
11332 PR python/18073
11333 * gdb.python/py-type.c (C::a_method): New.
11334 (C::a_const_method): New.
11335 (C::a_static_method): New.
11336 (a_function): New.
11337 * gdb.python/py-type.exp (test_fields): Test getting fields
11338 from function and method.
11339
11340 2015-10-21 Keven Boell <keven.boell@intel.com>
11341
11342 * gdb.fortran/vla-alloc-assoc.exp: New file.
11343 * gdb.fortran/vla-datatypes.exp: New file.
11344 * gdb.fortran/vla-datatypes.f90: New file.
11345 * gdb.fortran/vla-history.exp: New file.
11346 * gdb.fortran/vla-ptype-sub.exp: New file.
11347 * gdb.fortran/vla-ptype.exp: New file.
11348 * gdb.fortran/vla-sizeof.exp: New file.
11349 * gdb.fortran/vla-sub.f90: New file.
11350 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11351 * gdb.fortran/vla-value-sub-finish.exp: New file.
11352 * gdb.fortran/vla-value-sub.exp: New file.
11353 * gdb.fortran/vla-value.exp: New file.
11354 * gdb.fortran/vla-ptr-info.exp: New file.
11355 * gdb.mi/mi-vla-fortran.exp: New file.
11356 * gdb.mi/vla.f90: New file.
11357
11358 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11359
11360 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11361 of hardwired timeout value.
11362
11363 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11364 Pedro Alves <palves@redhat.com>
11365
11366 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11367 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11368
11369 2015-10-19 Josh Stone <jistone@redhat.com>
11370
11371 * gdb.base/catch-syscall.c: Include <sched.h>.
11372 (unknown_syscall): New variable.
11373 (main): Trigger a vfork and an unknown syscall.
11374 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11375 (unknown_syscall_number): Likewise.
11376 (check_call_to_syscall): Accept an optional syscall pattern.
11377 (check_return_from_syscall): Likewise.
11378 (check_continue): Likewise.
11379 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11380 (test_catch_syscall_skipping_return): New test toggling off 'catch
11381 syscall' to step over the syscall return, then toggling back on.
11382 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11383 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11384 (do_syscall_tests): Call test_catch_syscall_without_args and
11385 test_catch_syscall_mid_vfork.
11386 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11387 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11388
11389 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11390
11391 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11392 print g_vE): Add new pass patterns.
11393 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11394 print various symbol names for vptr fields.
11395
11396 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11397
11398 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11399 results.
11400
11401 2015-10-12 Yao Qi <yao.qi@linaro.org>
11402
11403 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11404
11405 2015-10-12 Yao Qi <yao.qi@linaro.org>
11406
11407 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11408 is aarch64*-*-linux*.
11409
11410 2015-10-12 Yao Qi <yao.qi@linaro.org>
11411
11412 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11413 (can_relocate_bcond_true): ... it.
11414 (can_relocate_bcond_false): New function.
11415 (foo): Likewise.
11416 (can_relocate_bl): Likewise.
11417 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11418 can_relocate_bl.
11419
11420 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11421
11422 * gdb.base/nested-addr.c: New file.
11423 * gdb.base/nested-addr.exp: New testcase.
11424
11425 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11426
11427 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11428 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11429 its output. Ignore the output of "record goto begin" and instead
11430 check that GDB is replaying.
11431
11432 2015-10-09 Pedro Alves <palves@redhat.com>
11433
11434 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11435 (top level): Use it in the run with no args test.
11436
11437 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11438
11439 * gdb.dlang/properties.exp: New file.
11440
11441 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11442
11443 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11444 whether or not address 0x1000 is mapped on the target.
11445
11446 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11447
11448 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11449 build.
11450
11451 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11452
11453 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11454 instruction-history test.
11455
11456 2015-09-28 Doug Evans <dje@google.com>
11457
11458 * gdb.base/gcore.c (array_func): Add reference to static_array.
11459
11460 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11461
11462 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11463 source line.
11464
11465 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11466
11467 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11468 short or char as base type.
11469
11470 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11471
11472 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11473 to allow any size enum.
11474
11475 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11476
11477 * gdb.ada/array_ptr_renaming.exp: New testcase.
11478 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11479 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11480
11481 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11482
11483 * gdb.trace/ftrace-lock.c: New file.
11484 * gdb.trace/ftrace-lock.exp: New file.
11485
11486 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11487
11488 * gdb.arch/insn-reloc.c: New file.
11489 * gdb.arch/ftrace-insn-reloc.exp: New file.
11490
11491 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11492
11493 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11494 instruction.
11495 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11496 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11497 * gdb.trace/range-stepping.c: Likewise.
11498 * gdb.trace/trace-break.c: Likewise.
11499 * gdb.trace/trace-mt.c (thread_function): Likewise.
11500 * gdb.trace/ftrace.c (marker): Likewise.
11501 * gdb.trace/trace-condition.c (marker): Likewise.
11502 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11503 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11504 is_aarch64_target.
11505
11506 2015-09-18 Doug Evans <xdje42@gmail.com>
11507
11508 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11509 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11510
11511 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11512
11513 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11514 the breakpoint.
11515
11516 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11517
11518 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11519 the pending breakpoint. Remove timeout override for "Run till
11520 MI pending breakpoint on pendfunc3 on thread 2" test.
11521
11522 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11523
11524 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11525 filename pattern.
11526
11527 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11528
11529 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11530 in breakpoint filename pattern.
11531
11532 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11533
11534 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11535
11536 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11537
11538 * gdb.linespec/explicit.exp: Check for readline support for
11539 tab-completion tests. Fix obvious typo.
11540
11541 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11542
11543 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11544 and replay.
11545
11546 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11547
11548 * gdb.btrace/non-stop.c: New.
11549 * gdb.btrace/non-stop.exp: New.
11550
11551 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11552 Yao Qi <yao.qi@linaro.org>
11553
11554 * gdb.trace/trace-condition.c: New file.
11555 * gdb.trace/trace-condition.exp: New file.
11556
11557 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11558
11559 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11560 for testing bytecode compilation.
11561
11562 2015-09-16 Pedro Alves <palves@redhat.com>
11563 Sandra Loosemore <sandra@codesourcery.com>
11564
11565 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11566 (SECONDS): Redefine.
11567 (main): Call pthread_kill and alarm early.
11568 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11569 support.
11570 (test): If the target can't hardware step and doesn't support
11571 displaced stepping, increase the timeout.
11572
11573 2015-09-16 Pedro Alves <palves@redhat.com>
11574
11575 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11576 (enable_debug): New procedures.
11577 (test): Use them. Bail out if waiting for threads fails.
11578 (top level): Bail out if a test fails.
11579
11580 2015-09-16 Yao Qi <yao.qi@linaro.org>
11581
11582 * gdb.asm/asm-source.exp: Set asm-arch for
11583 aarch64*-*-* target.
11584 * gdb.asm/aarch64.inc: New file.
11585
11586 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11587
11588 * gdb.ada/array_of_variable_length.exp: New testcase.
11589 * gdb.ada/array_of_variable_length/foo.adb: New file.
11590 * gdb.ada/array_of_variable_length/pck.adb: New file.
11591 * gdb.ada/array_of_variable_length/pck.ads: New file.
11592
11593 2015-09-15 Doug Evans <dje@google.com>
11594
11595 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11596 of function static local variable.
11597
11598 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11599
11600 * gdb.threads/tls-so_extern.exp: New test file.
11601 * gdb.threads/tls-so_extern.c: New test file.
11602 * gdb.threads/tls-so_extern_main.c: New test file.
11603
11604 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11605
11606 * gdb.opt/solib-intra-step-lib.c: New file.
11607 * gdb.opt/solib-intra-step-main.c: New file.
11608 * gdb.opt/solib-intra-step.exp: New file.
11609
11610 2015-09-15 Pedro Alves <palves@redhat.com>
11611
11612 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11613 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11614
11615 2015-09-14 Pedro Alves <palves@redhat.com>
11616
11617 * gdb.base/hook-stop-continue.c: Delete.
11618 * gdb.base/hook-stop-continue.exp: Delete.
11619 * gdb.base/hook-stop-frame.c: Delete.
11620 * gdb.base/hook-stop-frame.exp: Delete.
11621 * gdb.base/hook-stop.c: New file.
11622 * gdb.base/hook-stop.exp: New file.
11623
11624 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11625
11626 * gdb.ada/access_to_packed_array.exp: New testcase.
11627 * gdb.ada/access_to_packed_array/foo.adb: New file.
11628 * gdb.ada/access_to_packed_array/pack.adb: New file.
11629 * gdb.ada/access_to_packed_array/pack.ads: New file.
11630
11631 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11632
11633 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11634 buffer size test.
11635
11636 2015-09-11 Don Breazeal <donb@codesourcery.com>
11637
11638 * gdb.base/foll-exec.c: Add copyright header. Fix
11639 formatting issues.
11640 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11641 (do_exec_tests): Use clean_restart in place of zap_session,
11642 and for test initialization. Fix formatting issues. Use
11643 fail in place of perror.
11644 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11645 an expect statement to match an expression with output from
11646 the program under debug.
11647 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11648 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11649 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11650 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11651 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11652
11653 2015-09-09 Doug Evans <dje@google.com>
11654
11655 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11656
11657 2015-09-09 Doug Evans <dje@google.com>
11658
11659 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11660
11661 2015-09-09 Doug Evans <dje@google.com>
11662
11663 * gdb.base/savedregs.exp: Fix typo.
11664
11665 2015-09-09 Pedro Alves <palves@redhat.com>
11666
11667 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11668
11669 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11670
11671 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11672 command actually switches threads. Give up on remaining
11673 tests if target fails to stop at breakpoint.
11674
11675 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11676
11677 * gdb.ada/funcall_char.exp: New testcase.
11678 * gdb.ada/funcall_char/foo.adb: New file.
11679
11680 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11681
11682 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11683 expected outputs. Add two testcases for completing ambiguous
11684 functions.
11685 * gdb.ada/complete/aux_pck.adb: New file.
11686 * gdb.ada/complete/aux_pck.ads: New file.
11687 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11688 Ambiguous_Func functions.
11689 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11690 * gdb.ada/complete/pck.adb: Likewise.
11691
11692 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11693
11694 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11695 failures to run the test program under GDB.
11696
11697 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11698
11699 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11700 to C.
11701
11702 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11703
11704 * gdb.base/run-after-attach.exp: New test file.
11705 * gdb.base/run-after-attach.c: New test file.
11706
11707 2015-08-26 Don Breazeal <donb@codesourcery.com>
11708
11709 * gdb.base/foll-exec-2.c: New test program.
11710 * gdb.base/foll-exec-2.exp: New test.
11711
11712 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11713
11714 * gdb.base/nested-subp1.exp: New file.
11715 * gdb.base/nested-subp1.c: New file.
11716 * gdb.base/nested-subp2.exp: New file.
11717 * gdb.base/nested-subp2.c: New file.
11718 * gdb.base/nested-subp3.exp: New file.
11719 * gdb.base/nested-subp3.c: New file.
11720
11721 2015-08-24 Pedro Alves <palves@redhat.com>
11722
11723 * gdb.server/connect-without-multi-process.c: New file.
11724 * gdb.server/connect-without-multi-process.exp: New file.
11725
11726 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11727
11728 * gdb.opt/inline-markers.c: Make z int.
11729
11730 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11731
11732 * gdb.opt/inline-markers.c: Make z volatile.
11733
11734 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11735
11736 * gdb.opt/inline-bt.c: New volatile global z.
11737 * gdb.opt/inline-cmds.c: Likewise.
11738 * gdb.opt/inline-locals.c: Likewise.
11739 * gdb.opt/inline-markers.c: New extern global z.
11740 (marker): Use z.
11741 (inline_fn): Likewise.
11742
11743 2015-08-24 Pedro Alves <palves@redhat.com>
11744
11745 * config/m32r-stub.exp: Remove file.
11746 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11747 * gdb.base/call-rt-st.exp: Likewise.
11748 * gdb.base/call-strs.exp: Likewise.
11749 * gdb.base/default.exp: Remove references to h8300-*-hms and
11750 *-*-udi*.
11751 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11752
11753 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11754
11755 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11756 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11757 and "return" use KFAIL when GDB can not read/write the vector
11758 return value.
11759
11760 2015-08-21 Gary Benson <gbenson@redhat.com>
11761
11762 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11763
11764 2015-08-20 Pedro Alves <palves@redhat.com>
11765
11766 * gdb.server/solib-list.exp: No longer expect an interior stop in
11767 non-stop mode.
11768
11769 2015-08-20 Pedro Alves <palves@redhat.com>
11770
11771 * gdb.server/connect-stopped-target.c: New file.
11772 * gdb.server/connect-stopped-target.exp: New file.
11773
11774 2015-08-20 Pedro Alves <palves@redhat.com>
11775
11776 * gdb.dwarf2/comp-unit-lang.exp: New file.
11777 * gdb.dwarf2/comp-unit-lang.c: New file.
11778
11779 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11780
11781 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11782 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11783
11784 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11785
11786 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11787 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11788
11789 2015-08-18 Doug Evans <dje@google.com>
11790 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11791
11792 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11793 skip_python_tests. New arg prompt_regexp.
11794 (skip_python_tests): New function.
11795 * lib/mi-support.exp (mi_skip_python_tests): New function.
11796 * gdb.python/py-mi-objfile-gdb.py: New file.
11797 * gdb.python/py-mi-objfile.c: New file.
11798 * gdb.python/py-mi-objfile.exp: New file.
11799
11800 2015-08-17 Keith Seitz <keiths@redhat.com>
11801
11802 * gdb.linespec/explicit.exp: Move strace test from here ...
11803 * gdb.trace/strace.exp: ... to here.
11804
11805 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11806
11807 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11808 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11809
11810 2015-08-14 Doug Evans <xdje42@gmail.com>
11811
11812 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11813 inferior before selecting a new file.
11814
11815 2015-08-14 Doug Evans <xdje42@gmail.com>
11816
11817 * gdb.mi/mi-disassemble.exp: Update.
11818 * gdb.base/disasm-optim.S: New file.
11819 * gdb.base/disasm-optim.c: New file.
11820 * gdb.base/disasm-optim.h: New file.
11821 * gdb.base/disasm-optim.exp: New file.
11822
11823 2015-08-14 Keith Seitz <keiths@redhat.com>
11824
11825 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11826 "evaluated-by".
11827
11828 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11829
11830 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11831
11832 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11833
11834 * gdb.ada/fun_renaming.exp: New testcase.
11835 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11836 * gdb.ada/fun_renaming/pack.adb: New file.
11837 * gdb.ada/fun_renaming/pack.ads: New file.
11838
11839 2015-08-12 Keith Seitz <keiths@redhat.com>
11840
11841 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11842 gdb_get_line_number.
11843
11844 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11845
11846 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11847 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11848 gdb.base/dso2dso.exp: New files.
11849
11850 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11851 Pedro Alves <palves@redhat.com>
11852 Keith Seitz <keiths@redhat.com>
11853
11854 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11855 GDBFLAGS.
11856
11857 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11858
11859 * gdb.base/gdbhistsize-history.exp
11860 (test_histsize_history_setting): Use save_vars.
11861 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11862 Use save_vars.
11863 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11864 * gdb.base/readline.exp: Use save_vars.
11865
11866 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11867
11868 * lib/gdb.exp (save_vars): New proc.
11869
11870 2015-08-11 Keith Seitz <keiths@redhat.com>
11871
11872 * gdb.base/help.exp: Update help_breakpoint_text.
11873
11874 2015-08-11 Keith Seitz <keiths@redhat.com>
11875
11876 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11877 (at toplevel): Call test_explicit_breakpoints.
11878 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11879 breakpoints.
11880 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11881 breakpoint conditions, "-cond".
11882
11883 2015-08-11 Keith Seitz <keiths@redhat.com>
11884
11885 * gdb.linespec/3explicit.c: New file.
11886 * gdb.linespec/cpexplicit.cc: New file.
11887 * gdb.linespec/cpexplicit.exp: New file.
11888 * gdb.linespec/explicit.c: New file.
11889 * gdb.linespec/explicit.exp: New file.
11890 * gdb.linespec/explicit2.c: New file.
11891 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11892 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11893 before using in the matching pattern.
11894 Clarify that `prefix' is a regular expression.
11895
11896 2015-08-11 Keith Seitz <keiths@redhat.com>
11897
11898 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11899 test.
11900 Add tests for missing ",FMT" and ",".
11901
11902 2015-08-10 Doug Evans <dje@google.com>
11903 Keith Seitz <keiths@redhat.com>
11904
11905 PR gdb/17960
11906 * gdb.base/completion.exp: Add location completer tests.
11907
11908 2015-08-07 Pedro Alves <palves@redhat.com>
11909
11910 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11911 tests here.
11912 (top level): Run do_test with and without displaced stepping.
11913
11914 2015-08-07 Pedro Alves <palves@redhat.com>
11915
11916 * gdb.base/valgrind-disp-step.c: New file.
11917 * gdb.base/valgrind-disp-step.exp: New file.
11918
11919 2015-08-07 Pedro Alves <palves@redhat.com>
11920
11921 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11922 Delete function.
11923 (main): Add alarm. Run an infinite loop instead of calling
11924 wait_threads.
11925 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11926 comment.
11927 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11928 Delete function.
11929 (main): Add alarm. Run an infinite loop instead of calling
11930 wait_threads.
11931 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11932 comment.
11933
11934 2015-08-07 Pedro Alves <palves@redhat.com>
11935
11936 * gdb.base/checkpoint-ns.exp: New file.
11937 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11938 standard_testfile.
11939
11940 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11941
11942 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11943 * gdb.btrace/instruction_history.exp: Update.
11944 * gdb.btrace/tsx.exp: New.
11945 * gdb.btrace/tsx.c: New.
11946
11947 2015-08-06 Pedro Alves <palves@redhat.com>
11948
11949 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11950 increase timeout.
11951 * gdb.reverse/until-precsave.exp: Bump timeouts.
11952
11953 2015-08-06 Pedro Alves <palves@redhat.com>
11954
11955 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11956
11957 2015-08-06 Pedro Alves <palves@redhat.com>
11958
11959 PR gdb/18749
11960 * gdb.threads/process-dies-while-handling-bp.c: New file.
11961 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11962
11963 2015-08-06 Pedro Alves <palves@redhat.com>
11964
11965 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11966 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11967
11968 2015-08-05 Pedro Alves <palves@redhat.com>
11969
11970 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11971 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11972
11973 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11974
11975 * gdb.base/bp-permanent.exp: Report test as unsupported if
11976 the target cannot stop at the permanent breakpoint.
11977
11978 2015-08-03 Doug Evans <dje@google.com>
11979
11980 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11981 10000.
11982
11983 2015-08-03 Doug Evans <dje@google.com>
11984
11985 * Makefile.in (workers/%.worker, build-perf): New rule.
11986 (GDB_PERFTEST_MODE): New variable.
11987 (check-perf): Use it.
11988 (clean): Clean up gdb.perf parallel build subdirs.
11989 * lib/build-piece.exp: New file.
11990 * lib/gdb.exp (make_gdb_parallel_path): New function
11991 (standard_output_file, standard_temp_file): Call it.
11992 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11993 of $GDB_PARALLEL.
11994 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11995
11996 2015-08-03 Doug Evans <dje@google.com>
11997
11998 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11999 (LOG_FILE_NAME): New global.
12000 (TextReporter.__init__): Initialize self.txt_sum.
12001 (TextReporter.report): Add support for multiple data-points.
12002 Move report to perftest.sum, put raw data in perftest.log.
12003 (TextReporter.start): Open sum and log files.
12004 (TextReporter.end): Close sum and log files.
12005 * gdb.perf/lib/perftest/testresult.py
12006 (SingleStatisticTestResult.record): Handle multiple data-points.
12007
12008 2015-07-31 Pedro Alves <palves@redhat.com>
12009
12010 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12011 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12012 kill_wait_spawned_process instead of explicit "kill -9".
12013 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12014 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12015 kill_wait_spawned_process.
12016 * gdb.base/attach-twice.exp: Likewise.
12017 * gdb.base/attach.exp: Likewise.
12018 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12019 gdb_test_multiple.
12020 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12021 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12022 kill_wait_spawned_process.
12023 * gdb.base/valgrind-infcall.exp: Likewise.
12024 * gdb.multi/multi-attach.exp: Likewise.
12025 * gdb.python/py-prompt.exp: Likewise.
12026 * gdb.python/py-sync-interp.exp: Likewise.
12027 * gdb.server/ext-attach.exp: Likewise.
12028 * gdb.threads/attach-into-signal.exp (corefunc): Use
12029 spawn_wait_for_attach, spawn_id_get_pid and
12030 kill_wait_spawned_process.
12031 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12032 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12033 spawn_id_get_pid and kill_wait_spawned_process.
12034 * gdb.threads/attach-stopped.exp (corefunc): Use
12035 spawn_wait_for_attach, spawn_id_get_pid and
12036 kill_wait_spawned_process.
12037 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12038 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12039 kill_wait_spawned_process instead of explicit "kill -9".
12040 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12041 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12042 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12043 processes. Don't map cygwin/windows pids here. Now returns a
12044 spawn id list.
12045
12046 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12047
12048 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12049 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12050 correct patch.
12051
12052 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12053
12054 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12055
12056 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12057
12058 Reapply:
12059 2014-05-21 Mark Wielaard <mjw@redhat.com>
12060
12061 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12062
12063 2015-07-30 Pedro Alves <palves@redhat.com>
12064
12065 * linux-low.c (handle_extended_wait): Set the child's last
12066 reported status to TARGET_WAITKIND_STOPPED.
12067
12068 2015-07-30 Pedro Alves <palves@redhat.com>
12069
12070 PR threads/18600
12071 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12072 only shows inferior 1.
12073
12074 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12075 Pedro Alves <palves@redhat.com>
12076
12077 PR threads/18600
12078 * gdb.threads/fork-plus-threads.c: New file.
12079 * gdb.threads/fork-plus-threads.exp: New file.
12080
12081 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12082
12083 * gdb.base/batch-preserve-term-settings.exp
12084 (test_terminal_settings_preserved_after_cli_exit): Use
12085 send_quit_command.
12086
12087 2015-07-29 Pedro Alves <palves@redhat.com>
12088 Don Breazeal <donb@codesourcery.com>
12089
12090 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12091 output from both inferior_spawn_id and gdb_spawn_id.
12092
12093 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12094
12095 * gdb.threads/attach-into-signal.exp (corefunc): Use
12096 with_test_prefix on nested loops, uniquefying the test messages.
12097
12098 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12099
12100 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12101 commit.
12102
12103 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12104
12105 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12106 New proc.
12107 (test_terminal_settings_preserved_after_sigterm): New test.
12108
12109 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12110
12111 * gdb.base/batch-preserve-term-settings.exp
12112 (test_terminal_settings_preserved_after_cli_exit): New test.
12113
12114 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12115
12116 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12117 manipulation of saved_gdbflags.
12118 (test_terminal_settings_preserved): Remove global declaration of
12119 the unused variable pagination_prompt. Remove manipulation of
12120 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12121 GDBFLAGS.
12122
12123 2015-07-29 Pedro Alves <palves@redhat.com>
12124
12125 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12126
12127 2015-07-29 Pedro Alves <palves@redhat.com>
12128
12129 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12130 at the top.
12131
12132 2015-07-29 Pedro Alves <palves@redhat.com>
12133
12134 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12135 (main): Call gdb_unbuffer_output.
12136 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12137 (main): Call gdb_unbuffer_output.
12138 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12139 (main): Call gdb_unbuffer_output.
12140 * gdb.base/call-strs.exp: Adjust to step over the
12141 gdb_unbuffer_output call.
12142 * gdb.base/catch-gdb-caused-signals.c: Include
12143 "../lib/unbuffer_output.c".
12144 (main): Call gdb_unbuffer_output.
12145 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12146 (main): Call gdb_unbuffer_output.
12147 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12148 (main): Call gdb_unbuffer_output.
12149 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12150 (main): Call gdb_unbuffer_output.
12151 * gdb.base/shlib-call.exp: Adjust to step over the
12152 gdb_unbuffer_output call.
12153 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12154 (main): Call gdb_unbuffer_output.
12155 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12156 (main): Call gdb_unbuffer_output.
12157 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12158 (main): Rename to ...
12159 (test): ... this.
12160 (main): Reimplement.
12161 * gdb.base/varargs.exp: Run to test instead of to main.
12162 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12163 (main): Call gdb_unbuffer_output.
12164
12165 2015-07-29 Pedro Alves <palves@redhat.com>
12166
12167 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12168 factore out from mi_continue_dprintf. For call-style dprintfs,
12169 expect dprintf output out of $inferior_spawn_id.
12170 (mi_continue_dprintf): Use mi_expect_dprintf.
12171 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12172 (main): Call gdb_unbuffer_output.
12173
12174 2015-07-29 Pedro Alves <palves@redhat.com>
12175
12176 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12177 (default_mi_gdb_start): Set inferior_spawn_id instead of
12178 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12179 gdb_spawn_id.
12180 (mi_gdb_test): Always expect inferior output from both
12181 $inferior_spawn_id and $gdb_spawn_id.
12182
12183 2015-07-29 Pedro Alves <palves@redhat.com>
12184
12185 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12186 send_inferior and $inferior_spawn_id.
12187
12188 2015-07-29 Pedro Alves <palves@redhat.com>
12189
12190 * gdb.gdb/complaints.exp (test_initial_complaints)
12191 (test_serial_complaints, test_short_complaints): Use
12192 gdb_test_stdio.
12193 (test_empty_complaint): Handle $inferior_spawn_id !=
12194 $gdb_spawn_id.
12195
12196 2015-07-29 Pedro Alves <palves@redhat.com>
12197
12198 * gdb.base/varargs.exp: Use gdb_test_stdio.
12199
12200 2015-07-29 Pedro Alves <palves@redhat.com>
12201
12202 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12203
12204 2015-07-29 Pedro Alves <palves@redhat.com>
12205
12206 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12207
12208 2015-07-29 Pedro Alves <palves@redhat.com>
12209
12210 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12211 parameter into two new parameters, "inf_result" and "gdb_result".
12212 Expect inferior output and gdb output from $inferior_spawn_id and
12213 $gdb_spawn_id, respectively. Adjust all callers.
12214
12215 2015-07-29 Pedro Alves <palves@redhat.com>
12216
12217 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12218 of gdb_test_sequence.
12219
12220 2015-07-29 Pedro Alves <palves@redhat.com>
12221
12222 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12223 (saw_spurious_output): Expect inferior output from
12224 $inferior_spawn_id. Use gdb_test_stdio.
12225
12226 2015-07-29 Pedro Alves <palves@redhat.com>
12227
12228 * gdb.base/dprintf.exp: Use standard_testfile. Change
12229 prepare_for_testing call.
12230 (srcfile): Don't set.
12231 (restart): New procedure.
12232 (test_dprintf): New procecure, use to continue over dprintfs.
12233 (test_call, test_agent): New procedures, tests moved here.
12234 Restart gdb and recreate dprintfs. Adjust expected output.
12235
12236 2015-07-29 Pedro Alves <palves@redhat.com>
12237
12238 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12239
12240 2015-07-29 Pedro Alves <palves@redhat.com>
12241
12242 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12243
12244 2015-07-29 Pedro Alves <palves@redhat.com>
12245
12246 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12247 gdb_test_stdio.
12248
12249 2015-07-29 Pedro Alves <palves@redhat.com>
12250
12251 * lib/gdb.exp (gdb_test_stdio): New procedure.
12252
12253 2015-07-29 Pedro Alves <palves@redhat.com>
12254
12255 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12256
12257 2015-07-29 Pedro Alves <palves@redhat.com>
12258
12259 * gdb.base/call-signal-resume.exp: Remove check for
12260 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12261 * gdb.base/unwindonsignal.exp: Likewise.
12262 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12263 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12264
12265 2015-07-29 Pedro Alves <palves@redhat.com>
12266
12267 * gdb.base/siginfo-addr.c (pass): New function.
12268 (handler): Call it iff si_addr is correct.
12269 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12270 Set a breakpoint at "pass" and continue to it.
12271
12272 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12273
12274 * gdb.python/py-objfile.exp: Make some tests have unique names.
12275 * gdb.python/py-pp-registration.exp: Likewise.
12276
12277 2015-07-28 Pedro Alves <palves@redhat.com>
12278
12279 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12280
12281 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12282
12283 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12284
12285 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12286
12287 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12288
12289 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12290
12291 * gdb.base/gdb-sigterm-2.exp: New test.
12292
12293 2015-07-25 Doug Evans <xdje42@gmail.com>
12294
12295 Revert:
12296 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12297 (workers/%.worker, build-perf): New rule.
12298 (GDB_PERFTEST_MODE): New variable.
12299 (check-perf): Use it.
12300 (clean): Clean up gdb.perf parallel build subdirs.
12301 * lib/build-piece.exp: New file.
12302 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12303 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12304 name.
12305 (standard_temp_file): Ditto.
12306 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12307 of $GDB_PARALLEL.
12308
12309 2015-07-24 Doug Evans <dje@google.com>
12310
12311 * gdb.perf/lib/perftest/utils.py: New file.
12312 * gdb.perf/gm-hello.cc: New file.
12313 * gdb.perf/gm-pervasive-typedef.cc: New file.
12314 * gdb.perf/gm-pervasive-typedef.h: New file.
12315 * gdb.perf/gm-std.cc: New file.
12316 * gdb.perf/gm-std.h: New file.
12317 * gdb.perf/gm-use-cerr.cc: New file.
12318 * gdb.perf/gm-utils.h: New file.
12319 * gdb.perf/gmonster-null-lookup.py: New file.
12320 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12321 * gdb.perf/gmonster-print-cerr.py: New file.
12322 * gdb.perf/gmonster-ptype-string.py: New file.
12323 * gdb.perf/gmonster-runto-main.py: New file.
12324 * gdb.perf/gmonster-select-file.py: New file.
12325 * gdb.perf/gmonster1-null-lookup.exp: New file.
12326 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12327 * gdb.perf/gmonster1-print-cerr.exp: New file.
12328 * gdb.perf/gmonster1-ptype-string.exp: New file.
12329 * gdb.perf/gmonster1-runto-main.exp: New file.
12330 * gdb.perf/gmonster1-select-file.exp: New file.
12331 * gdb.perf/gmonster1.cc: New file.
12332 * gdb.perf/gmonster1.exp: New file.
12333 * gdb.perf/gmonster2-null-lookup.exp: New file.
12334 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12335 * gdb.perf/gmonster2-print-cerr.exp: New file.
12336 * gdb.perf/gmonster2-ptype-string.exp: New file.
12337 * gdb.perf/gmonster2-runto-main.exp: New file.
12338 * gdb.perf/gmonster2-select-file.exp: New file.
12339 * gdb.perf/gmonster2.cc: New file.
12340 * gdb.perf/gmonster2.exp: New file.
12341
12342 2015-07-24 Doug Evans <dje@google.com>
12343
12344 * gdb.perf/README: New file.
12345 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12346 * lib/gen-perf-test.exp: New file.
12347
12348 2015-07-24 Doug Evans <dje@google.com>
12349
12350 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12351 (PerfTest::startup): New function.
12352 (PerfTest::run): Return result of calling body.
12353 (PerfTest::assemble): Rewrite.
12354 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12355 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12356 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12357 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12358 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12359
12360 2015-07-24 Doug Evans <dje@google.com>
12361
12362 * lib/gdb.exp (clean_restart): Make executable optional.
12363
12364 2015-07-24 Doug Evans <dje@google.com>
12365
12366 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12367 compiler_info references.
12368 * gdb.cp/temargs.exp: Ditto.
12369 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12370 (get_compiler_info): Early exit if already computed. Set compiler_info
12371 to "unknown" if there was a problem.
12372 (test_compiler_info): Add function comment. Call get_compiler_info.
12373
12374 2015-07-24 Doug Evans <dje@google.com>
12375
12376 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12377 (workers/%.worker, build-perf): New rule.
12378 (GDB_PERFTEST_MODE): New variable.
12379 (check-perf): Use it.
12380 (clean): Clean up gdb.perf parallel build subdirs.
12381 * lib/build-piece.exp: New file.
12382 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12383 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12384 name.
12385 (standard_temp_file): Ditto.
12386 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12387 of $GDB_PARALLEL.
12388
12389 2015-07-24 Doug Evans <dje@google.com>
12390
12391 * lib/future.exp (gdb_default_target_compile): New option
12392 "early_flags".
12393 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12394 --as-needed.
12395
12396 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12397
12398 * gdb.base/catch-syscall.exp: Call gdb_exit before
12399 gdb_skip_xml_test.
12400
12401 2015-07-24 Pedro Alves <palves@redhat.com>
12402
12403 * gdb.python/py-events.exp: Accept output between the stop event
12404 and the prompt.
12405 * gdb.python/py-evsignal.exp: Likewise.
12406 * gdb.python/py-evthreads.exp: Likewise.
12407
12408 2015-07-24 Pedro Alves <palves@redhat.com>
12409
12410 PR gdb/18717
12411 * gdb.threads/non-ldr-exit.c: New file.
12412 * gdb.threads/non-ldr-exit.exp: New file.
12413
12414 2015-07-24 Yao Qi <yao.qi@linaro.org>
12415
12416 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12417 restarting process.
12418
12419 2015-07-24 Yao Qi <yao.qi@linaro.org>
12420
12421 * gdb.server/ext-restart.exp: New file.
12422
12423 2015-07-24 Yao Qi <yao.qi@linaro.org>
12424
12425 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12426 argument options.
12427 * gdb.server/ext-wrapper.exp: New file.
12428
12429 2015-07-23 Doug Evans <dje@google.com>
12430
12431 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12432 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12433
12434 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12435
12436 * gdb.ada/var_arr_typedef.exp: New testcase.
12437 * gdb.ada/var_arr_typedef/pack.adb: New file.
12438 * gdb.ada/var_arr_typedef/pack.ads: New file.
12439 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12440
12441 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12442
12443 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12444
12445 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12446
12447 * gdb.arch/i386-biarch-core.exp: Replace istarget
12448 by "complete set gnutarget". Remove expectation for the "core-file"
12449 command.
12450
12451 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12452
12453 Revert the previous commit:
12454 Tests for validate symbol file using build-id.
12455
12456 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12457
12458 Tests for validate symbol file using build-id.
12459 * gdb.base/solib-mismatch-lib.c: New file.
12460 * gdb.base/solib-mismatch-libmod.c: New file.
12461 * gdb.base/solib-mismatch.c: New file.
12462 * gdb.base/solib-mismatch.exp: New file.
12463
12464 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12465
12466 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12467 nios2-*-linux*.
12468 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12469 * gdb.base/siginfo.exp: Likewise.
12470 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12471
12472 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12473
12474 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12475 Move it to ...
12476 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12477 ... here.
12478 * gdb.trace/range-stepping.exp: Check that the target supports
12479 range stepping.
12480
12481 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12482
12483 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12484
12485 2015-07-14 Pedro Alves <palves@redhat.com>
12486
12487 * gdb.base/killed-outside.exp: New file.
12488 * gdb.base/killed-outside.c: New file.
12489
12490 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12491
12492 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12493 (n at main): New.
12494 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12495
12496 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12497
12498 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12499 infcall tests instead of setting up for KFAIL.
12500
12501 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12502
12503 * gdb.btrace/record_goto-step.exp: New.
12504
12505 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12506
12507 PR compile/18484
12508 * gdb.compile/compile.c (struct struct_type): Add volatile to
12509 selffield's type.
12510 * gdb.compile/compile.exp
12511 (compile code struct_object.selffield = &struct_object): Skip further
12512 struct_object tests if this one xfails.
12513
12514 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12515
12516 PR exp/18617
12517 * gdb.trace/ax.exp: Add test.
12518
12519 2015-07-07 Yao Qi <yao.qi@linaro.org>
12520
12521 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12522 instead of istarget "aarch64*-*-*".
12523 * gdb.arch/aarch64-fp.exp: Likewise.
12524 * gdb.base/float.exp: Likewise.
12525 * gdb.reverse/aarch64.exp: Likewise.
12526 * lib/gdb.exp (is_aarch64_target): New proc.
12527
12528 2015-07-07 Yao Qi <yao.qi@linaro.org>
12529
12530 * lib/gdb.exp (is_aarch32_target): New proc.
12531 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12532 instead of "istarget "arm*-*-*"".
12533 * gdb.arch/arm-disp-step.exp: Likewise.
12534 * gdb.arch/thumb-bx-pc.exp: Likewise.
12535 * gdb.arch/thumb-prologue.exp: Likewise.
12536 * gdb.arch/thumb-singlestep.exp: Likewise.
12537 * gdb.base/disp-step-syscall.exp: Likewise.
12538 * gdb.base/float.exp: Likewise.
12539
12540 2015-07-07 Yao Qi <yao.qi@linaro.org>
12541
12542 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12543 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12544
12545 2015-07-07 Yao Qi <yao.qi@linaro.org>
12546
12547 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12548 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12549 if it exists.
12550 * gdb.multi/multi-arch.exp: Likewise.
12551
12552 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12553
12554 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12555 print.
12556
12557 2015-07-07 Yao Qi <yao.qi@linaro.org>
12558
12559 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12560
12561 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12562
12563 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12564 '[' and ']' characters.
12565
12566 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12567
12568 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12569
12570 2015-06-29 Pedro Alves <palves@redhat.com>
12571
12572 PR threads/18127
12573 * gdb.threads/hand-call-new-thread.c: New file.
12574 * gdb.threads/hand-call-new-thread.c: New file.
12575
12576 2015-06-26 Keith Seitz <keiths@redhat.com>
12577 Doug Evans <dje@google.com>
12578
12579 PR 16253
12580 * gdb.cp/var-tag-2.cc: New file.
12581 * gdb.cp/var-tag-3.cc: New file.
12582 * gdb.cp/var-tag-4.cc: New file.
12583 * gdb.cp/var-tag.cc: New file.
12584 * gdb.cp/var-tag.exp: New file.
12585
12586 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12587
12588 * gdb.base/history-duplicates.exp: New test.
12589
12590 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12591
12592 * gdb.base/completion.exp: Test the completion of the "focus"
12593 command.
12594
12595 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12596
12597 * gdb.arch/amd64-prologue-skip.S: New file.
12598 * gdb.arch/amd64-prologue-skip.exp: New file.
12599
12600 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12601
12602 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12603 is_address_zero_readable check.
12604
12605 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12606
12607 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12608 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12609
12610 2015-06-24 Yao Qi <yao.qi@linaro.org>
12611
12612 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12613 linux targets.
12614
12615 2015-06-24 Yao Qi <yao.qi@linaro.org>
12616
12617 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12618 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12619 * gdb.base/siginfo-thread.exp: Likewise.
12620
12621 2015-06-22 Yao Qi <yao.qi@linaro.org>
12622
12623 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12624
12625 2015-06-22 Yao Qi <yao.qi@linaro.org>
12626
12627 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12628 aarch64*-*-*.
12629 (skip_hw_watchpoint_tests): Likewise.
12630
12631 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12632
12633 * gdb.base/gdbinit-history.exp: Test the interaction between
12634 setting GDBHISTSIZE and setting the history size via .gdbinit.
12635
12636 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12637
12638 PR gdb/16999
12639 * gdb.base/gdbhistsize-history.exp: New test.
12640
12641 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12642
12643 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12644 with GDBHISTSIZE.
12645 * gdb.base/readline.exp: Likewise.
12646
12647 2015-06-17 Yao Qi <yao.qi@linaro.org>
12648
12649 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12650 line.
12651
12652 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12653
12654 * gdb.base/gdbinit-history.exp: Add test case to check that
12655 an unlimited history file does not get truncated on exit.
12656
12657 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12658
12659 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12660 (VECTOR): New macro. Use it...
12661 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12662 ...for these typedefs.
12663 (int8, char1, int1, double1): New typedefs.
12664 (struct just_int2, struct two_int2): New structures.
12665 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12666 (add_structvecs, add_singlevecs): New functions.
12667 (main): Call add_some_intvecs twice.
12668 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12669 the compile and exit upon failure. Try compiling for the "native"
12670 architecture. Test inferior function calls with vector arguments
12671 and vector return value handling with "finish" and "return".
12672
12673 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12674
12675 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12676 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12677 PE file.
12678 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12679
12680 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12681
12682 PR breakpoints/16465
12683 * gdb.mi/mi-dprintf-pending.c: New file.
12684 * gdb.mi/mi-dprintf-pending.exp: New test.
12685 * gdb.mi/mi-dprintf-pendshr.c: New file.
12686
12687 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12688 Mircea Gherzan <mircea.gherzan@intel.com>
12689
12690 * gdb.arch/i386-mpx-map.c: New file.
12691 * gdb.arch/i386-mpx-map.exp: New File.
12692
12693 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12694
12695 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12696 * gdb.arch/i386-mpx.exp: Indentation fixed.
12697
12698 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12699
12700 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12701 function and improved indentation.
12702 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12703 gdb_test_multiple. Added additional tests to skip the test.
12704
12705 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12706
12707 * gdb.arch/i386-avx512.c: Change path in include file.
12708 * gdb.arch/i386-avx512.exp: Change include dir path
12709 compilation flag.
12710 * gdb.arch/i386-mpx.c: Change path in include file.
12711 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12712 flag.
12713
12714 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12715
12716 * gdb.compile/compile-print.exp (compile print *vararray@3)
12717 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12718
12719 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12720
12721 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12722 (do not keep jit in memory): ... this.
12723 (expect 5): Change it to ...
12724 (expect no 5): ... this.
12725
12726 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12727
12728 PR gdb/15564
12729 * gdb.mi/mi-detach.exp: New file.
12730
12731 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12732
12733 PR symtab/18392
12734 * gdb.arch/amd64-tailcall-self.S: New file.
12735 * gdb.arch/amd64-tailcall-self.c: New file.
12736 * gdb.arch/amd64-tailcall-self.exp: New file.
12737
12738 2015-05-28 Don Breazeal <donb@codesourcery.com>
12739
12740 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12741 tests for remote targets by checking is_target_gdbserver.
12742
12743 2015-05-27 Doug Evans <dje@google.com>
12744
12745 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12746 * gdb.dwarf2/opaque-type-lookup.c: New file.
12747 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12748
12749 2015-05-26 Doug Evans <dje@google.com>
12750
12751 * gdb.cp/iostream.cc: New file.
12752 * gdb.cp/iostream.exp: New file.
12753
12754 2015-05-26 Doug Evans <dje@google.com>
12755
12756 * gdb.dwarf2/dw2-op-call.exp: Update.
12757 * gdb.dwarf2/dw4-sig-types.exp: Update.
12758 * gdb.dwarf2/implptr.exp: Update.
12759 * gdb.mi/mi-cmd-param-changed.exp: Update.
12760
12761 2015-05-26 Doug Evans <dje@google.com>
12762
12763 * gdb.python/py-lazy-string.c: New file.
12764 * gdb.python/py-lazy-string.exp: New file.
12765 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12766 (main): Update. Add estring3.
12767 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12768 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12769
12770 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12771 Yao Qi <yao.qi@linaro.org>
12772
12773 * gdb.reverse/aarch64.c: New.
12774 * gdb.reverse/aarch64.exp: New.
12775
12776 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12777
12778 * lib/gdb.exp (supports_process_record): Return true for
12779 aarch64*-linux*.
12780 (supports_reverse): Likewise.
12781
12782 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12783
12784 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12785 Use with_test_prefix.
12786
12787 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12788
12789 * gdb.base/completion.exp: Add test for completion of layout
12790 names.
12791
12792 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12793
12794 * lib/gdb.exp (skip_tui_tests): New proc.
12795 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12796
12797 2015-05-19 Pedro Alves <palves@redhat.com>
12798
12799 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12800 Save the whole env array instead of just HOME. Unset HISTSIZE in
12801 the environment while testing. Restore whole environment
12802 afterwards.
12803
12804 2015-05-16 Doug Evans <xdje42@gmail.com>
12805
12806 * gdb.guile/scm-ports.c: New file.
12807 * gdb.guile/scm-ports.exp: Add memory port tests.
12808
12809 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12810
12811 * gdb.compile/compile-print.c: New file.
12812 * gdb.compile/compile-print.exp: New file.
12813
12814 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12815
12816 * gdb.compile/compile-ops.exp: Cast param to void.
12817 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12818 (compile code struct_object.selffield = &struct_object): Add xfail.
12819
12820 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12821
12822 * gdb.ada/arr_enum_with_gap: New testcase.
12823
12824 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12825
12826 * gdb.ada/byte_packed_arr: New testcase.
12827
12828 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12829
12830 * gdb.ada/pckd_neg: New testcase.
12831
12832 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12833
12834 PR gdb/17820
12835 * gdb.base/gdbinit-history.exp: New test.
12836 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12837 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12838
12839 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12840
12841 * gdb.python/py-xmethods.cc: Enhance test case.
12842 * gdb.python/py-xmethods.exp: New tests.
12843 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12844 function.
12845 (B_indexoper): Likewise.
12846 (global_dm_list) : Add new xmethod worker functions.
12847
12848 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12849
12850 * gdb.base/coredump-filter.exp: Correctly unset
12851 "coredump_var_addr" array.
12852
12853 2015-05-08 Pedro Alves <palves@redhat.com>
12854
12855 * gdb.server/non-existing-program.exp: Unset spawn_id.
12856
12857 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12858
12859 PR python/18291
12860 * gdb.python/py-xmethods.exp: Add tests.
12861
12862 2015-05-08 Yao Qi <yao.qi@linaro.org>
12863
12864 PR gdb/18208
12865 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12866 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12867 function set_coredump_filter, and remove remote_exec call.
12868 Remove argument ipid. Callers update.
12869 (top level): Don't get inferior's PID.
12870
12871 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12872
12873 * gdb.base/watch_thread_num.exp: Skip test on targets without
12874 access watchpoints.
12875
12876 2015-05-06 Pedro Alves <palves@redhat.com>
12877
12878 PR server/18081
12879 * gdb.server/non-existing-program.exp: New file.
12880
12881 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12882
12883 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12884
12885 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12886
12887 * gdb.ada/out_of_line_in_inlined: New testcase.
12888
12889 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12890
12891 * gdb.ada/var_rec_arr: New testcase.
12892
12893 2015-04-30 Yao Qi <yao.qi@linaro.org>
12894
12895 * gdb.base/break-idempotent.exp: If
12896 skip_hw_watchpoint_multi_tests returns true, skip the tests
12897 on "rwatch" and "awatch".
12898
12899 2015-04-30 Yao Qi <yao.qi@linaro.org>
12900
12901 * gdb.base/relativedebug.exp: Invoke gdb command
12902 "info sharedlibrary", and if libc.so doesn't have debug info,
12903 skip the test.
12904
12905 2015-04-29 Doug Evans <dje@google.com>
12906
12907 * gdb.python/py-xmethods.exp: Add ptype tests.
12908 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12909 get_result_type method.
12910
12911 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12912
12913 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12914 the target does not support hardware watchpoints.
12915
12916 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12917
12918 * gdb.base/break-always.exp: Abort testing if writing to memory
12919 causes an error.
12920
12921 2015-04-28 Doug Evans <dje@google.com>
12922
12923 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12924 * gdb.python/py-pp-registration.exp: ... here. New file.
12925 * gdb.python/py-pp-registration.c: New file.
12926 * gdb.python/py-pp-registration.py: New file.
12927
12928 2015-04-28 Doug Evans <dje@google.com>
12929
12930 * gdb.python/py-bad-printers.c: New file.
12931 * gdb.python/py-bad-printers.py: New file.
12932 * gdb.python/py-bad-printers.exp: New file.
12933
12934 2015-04-28 Sasha Smundak <asmundak@google.com>
12935
12936 * gdb.python/py-type.exp: New test.
12937
12938 2015-04-28 Andy Wingo <wingo@igalia.com>
12939
12940 * gdb.python/py-parameter.exp:
12941 * gdb.guile/scm-parameter.exp: Escape the path that we are
12942 matching against, as it might contain characters that are special
12943 to regular expressions.
12944
12945 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12946
12947 * gdb.ada/rec_comp: New testcase.
12948
12949 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12950
12951 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12952 before using it.
12953
12954 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12955
12956 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12957 new tests for verilog output.
12958
12959 2015-04-24 Yao Qi <yao.qi@linaro.org>
12960
12961 * boards/remote-gdbserver-on-localhost.exp: New file.
12962
12963 2015-04-23 Pedro Alves <palves@redhat.com>
12964
12965 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12966 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12967 "end of file", remove $inferior_spawn_id from the indirect list.
12968
12969 2015-04-23 Pedro Alves <palves@redhat.com>
12970
12971 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12972
12973 2015-04-23 Pedro Alves <palves@redhat.com>
12974
12975 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12976 on $any_spawn_id instead of only on $gdb_spawn_id.
12977
12978 2015-04-21 Pierre Muller <muller@sourceware.org>
12979
12980 PR pascal/17815
12981 * lib/pascal.exp (gpc_compile): Add new option "class".
12982 (fpc_compile): Likewise.
12983 * gdb.pascal/case-insensitive-symbols.pas: New file.
12984 * gdb.pascal/case-insensitive-symbols.exp: New file.
12985
12986 2015-04-20 Gary Benson <gbenson@redhat.com>
12987
12988 * gdb.base/attach.exp: Fix three extended remote failures.
12989
12990 2015-04-17 Gary Benson <gbenson@redhat.com>
12991
12992 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12993 the main executable over the remote protocol.
12994
12995 2015-04-16 Pedro Alves <palves@redhat.com>
12996
12997 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12998 a new gdbserver if gdbserver_reconnect_p is set.
12999
13000 2015-04-16 Pedro Alves <palves@redhat.com>
13001
13002 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13003 is set, don't exit gdbserver.
13004
13005 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13006
13007 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13008 appropriate .insn, such that an older assembler can be used.
13009 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13010 the z/Architecture instruction set on 31-bit targets as well.
13011
13012 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13013
13014 * gdb.go/handcall.exp: Remove all logic related to the first
13015 breakpoint and rely on go_runto_main instead.
13016 * gdb.go/strings.exp: Likewise.
13017 * gdb.go/unsafe.exp: Likewise.
13018 * gdb.go/hello.exp: Likewise. Also rename the remaining
13019 breakpoint marker to "breakpoint 1".
13020 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13021 * gdb.go/strings.go: Likewise.
13022 * gdb.go/unsafe.go: Likewise.
13023 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13024 "set breakpoint 2 here" and rename the remaining breakpoint marker
13025 to "breakpoint 1".
13026
13027 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13028
13029 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13030 if itertools.imap is not present.
13031 * gdb.python/py-objfile.exp: Add parentheses.
13032 * gdb.python/py-type.exp: Same.
13033 * gdb.python/py-unwind-maint.py: Same.
13034
13035 2015-04-15 Yao Qi <yao.qi@linaro.org>
13036
13037 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13038 of ":$ptr_size" and set its form explicitly.
13039
13040 2015-04-15 Pedro Alves <palves@redhat.com>
13041 Yao Qi <yao.qi@linaro.org>
13042
13043 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13044 timeout by factor of 4.
13045 (test_regular_watch): Likewise.
13046 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13047 * gdb.reverse/sigall-reverse.exp: Likewise.
13048 * gdb.reverse/until-precsave.exp: Likewise.
13049 * lib/gdb.exp (with_timeout_factor): New proc.
13050 (gdb_expect): Move some code to ...
13051 (get_largest_timeout): ... here. New procedure.
13052
13053 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13054
13055 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13056
13057 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13058
13059 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13060 to write to the .text section.
13061
13062 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13063
13064 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13065 Handle the case of targets that do not provide PID information.
13066
13067 2015-04-13 Yao Qi <yao.qi@linaro.org>
13068
13069 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13070 and use expect instead of gdb_expect.
13071
13072 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13073
13074 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13075 "coredump_var_addr" to avoid naming conflict with other testcases.
13076
13077 2015-04-10 Pedro Alves <palves@redhat.com>
13078
13079 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13080 gdb_test_sequence and gdb_assert.
13081
13082 2015-04-10 Pedro Alves <palves@redhat.com>
13083
13084 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13085 test messages that don't include the breakpoint address.
13086
13087 2015-04-10 Yao Qi <yao.qi@linaro.org>
13088
13089 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13090 false for some offset and width combinations which aren't
13091 supported by linux kernel.
13092
13093 2015-04-10 Pedro Alves <palves@redhat.com>
13094
13095 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13096 procedure, factored out from ...
13097 (top level): ... here. Add "set displaced-stepping" testing axis.
13098 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13099 parameter "displaced". Use it.
13100 (top level): Use foreach and add "set displaced-stepping" testing
13101 axis.
13102
13103 2015-04-10 Pedro Alves <palves@redhat.com>
13104
13105 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13106 Remove comment.
13107 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13108 both the address of the instruction that triggers the watchpoint
13109 and the address of the instruction immediately after, and use
13110 those addresses for the test. Fix comment.
13111
13112 2015-04-10 Pedro Alves <palves@redhat.com>
13113
13114 * gdb.base/sigstep.exp (breakpoint_to_handler)
13115 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13116 Test "backtrace" in handler.
13117 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13118 (top level): Add new "displaced" test axis to
13119 breakpoint_to_handler, breakpoint_to_handler_entry and
13120 breakpoint_over_handler.
13121
13122 2015-04-10 Pedro Alves <palves@redhat.com>
13123
13124 PR gdb/18216
13125 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13126
13127 2015-04-10 Yao Qi <yao.qi@linaro.org>
13128
13129 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13130 (test_add_rn_pc): New function.
13131 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13132 (top level): Invoke test_add_rn_pc.
13133
13134 2015-04-10 Pedro Alves <palves@redhat.com>
13135
13136 PR gdb/13858
13137 * gdb.base/step-over-no-symbols.exp: New file.
13138
13139 2015-04-09 Andy Wingo <wingo@igalia.com>
13140
13141 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13142 after the Python tests.
13143
13144 2015-04-08 Keith Seitz <keiths@redhat.com>
13145
13146 PR python/16699
13147 * gdb.python/py-completion.exp: New tests for completion.
13148 * gdb.python/py-completion.py (CompleteLimit1): New class.
13149 (CompleteLimit2): Likewise.
13150 (CompleteLimit3): Likewise.
13151 (CompleteLimit4): Likewise.
13152 (CompleteLimit5): Likewise.
13153 (CompleteLimit6): Likewise.
13154 (CompleteLimit7): Likewise.
13155
13156 2015-04-08 Pedro Alves <palves@redhat.com>
13157
13158 PR gdb/18214
13159 PR gdb/18216
13160 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13161 function.
13162 (main): Install it as SIGUSR1 handler.
13163 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13164 parameter. Always use "setup" as prefix. Toggle "set
13165 displaced-stepping" off/on depending on global. Don't switch to
13166 thread 1 here.
13167 (top level): Add displaced stepping "off/on" test axis. Update
13168 "setup" calls. Wrap each subtest with with_test_prefix. Test
13169 continuing with a queued signal in each thread.
13170
13171 2015-04-08 Pedro Alves <palves@redhat.com>
13172
13173 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13174 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13175 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13176 Return early if running to main fails.
13177 * gdb.trace/while-stepping.exp: Likewise.
13178
13179 2015-04-07 Pedro Alves <palves@redhat.com>
13180
13181 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13182 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13183 interact with inferior program.
13184
13185 2015-04-07 Pedro Alves <palves@redhat.com>
13186
13187 * lib/gdb.exp (inferior_spawn_id): New global.
13188 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13189 spawn id after processing the user code.
13190 (default_gdb_start): Set inferior_spawn_id.
13191 (send_inferior): New procedure.
13192 * lib/gdbserver-support.exp (gdbserver_start): Set
13193 inferior_spawn_id.
13194 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13195
13196 2015-04-07 Pedro Alves <palves@redhat.com>
13197
13198 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13199 * lib/gdbserver-support.exp (gdbserver_start): Make
13200 $server_spawn_id global.
13201 (gdbserver_start): Don't wait for gdbserver's spawn id with
13202 expect_background.
13203 (close_gdbserver): New procedure.
13204 (gdb_exit): Rename the default version and reimplement.
13205
13206 2015-04-07 Pedro Alves <palves@redhat.com>
13207
13208 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13209 append the substituted item, not the original item.
13210
13211 2015-04-07 Pedro Alves <palves@redhat.com>
13212
13213 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13214 gdb_expect.
13215
13216 2015-04-07 Pedro Alves <palves@redhat.com>
13217
13218 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13219 output appearing once only.
13220
13221 2015-04-07 Pedro Alves <palves@redhat.com>
13222
13223 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13224 that doesn't expect anything. Return early if running to main
13225 fails.
13226
13227 2015-04-07 Yao Qi <yao.qi@linaro.org>
13228
13229 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13230 (child_function): Call alarm.
13231 (main): Move call to alarm into the loop.
13232 * gdb.threads/non-stop-fair-events.exp: Build program with
13233 -DTIMEOUT=$timeout.
13234
13235 2015-04-06 Doug Evans <xdje42@gmail.com>
13236
13237 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13238 Fix dest parameter to board_info.
13239 (fpc_compile): Ditto.
13240 (gdb_compile_pascal): Rename dest arg to destfile.
13241
13242 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13243
13244 * gdb.ada/funcall_ref.exp: New file.
13245 * gdb.ada/funcall_ref/foo.adb: New file.
13246
13247 2015-04-02 Yao Qi <yao.qi@linaro.org>
13248
13249 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13250 is remote.
13251
13252 2015-04-02 Gary Benson <gbenson@redhat.com>
13253
13254 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13255
13256 2015-04-01 Sasha Smundak <asmundak@google.com>
13257
13258 * gdb.python/py-unwind-maint.c: New file.
13259 * gdb.python/py-unwind-maint.exp: New test.
13260 * gdb.python/py-unwind-maint.py: New file.
13261 * gdb.python/py-unwind.c: New file.
13262 * gdb.python/py-unwind.exp: New test.
13263 * gdb.python/py-unwind.py: New test.
13264
13265 2015-04-01 Pedro Alves <palves@redhat.com>
13266
13267 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13268 to fail instead of non-existent $test.
13269
13270 2015-04-01 Pedro Alves <palves@redhat.com>
13271
13272 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13273 GDBFLAGS if not empty.
13274
13275 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13276
13277 * gdb.ada/complete.exp: Remove "multi_line".
13278 * gdb.ada/info_exc.exp: Remove "multi_line".
13279 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13280 * gdb.ada/ptype_field.exp: Remove "multi_line".
13281 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13282 * gdb.ada/tagged.exp: Remove "multi_line".
13283 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13284 [multi_line ...]
13285 * gdb.btrace/delta.exp: Likewise.
13286 * gdb.btrace/exception.exp: Likewise.
13287 * gdb.btrace/function_call_history.exp: Likewise.
13288 * gdb.btrace/instruction_history.exp: Likewise.
13289 * gdb.btrace/nohist.exp: Likewise.
13290 * gdb.btrace/record_goto.exp: Likewise.
13291 * gdb.btrace/segv.exp: Likewise.
13292 * gdb.btrace/stepi.exp: Likewise.
13293 * gdb.btrace/tailcall.exp: Likewise.
13294 * gdb.btrace/unknown_functions.exp: Likewise.
13295 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13296 * lib/gdb.exp: Add the "multi_line" helper.
13297
13298 2015-04-01 Pedro Alves <palves@redhat.com>
13299
13300 * gdb.threads/tid-reuse.c: New file.
13301 * gdb.threads/tid-reuse.exp: New file.
13302
13303 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13304
13305 PR corefiles/16092
13306 * gdb.base/coredump-filter.c: New file.
13307 * gdb.base/coredump-filter.exp: Likewise.
13308
13309 2015-03-27 Petr Machata <pmachata@redhat.com>
13310
13311 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13312 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13313 (Dwarf::assemble): Initialize them.
13314 (Dwarf::lines): New function.
13315
13316 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13317
13318 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13319 SYMBOL_PREFIX for x86_64-*-cygwin.
13320
13321 2015-03-26 Andy Wingo <wingo@igalia.com>
13322
13323 PR symtab/18148
13324 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13325 const_value but not a location.
13326 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13327 location defined in non-main CUs are visible.
13328
13329 2015-03-26 Yao Qi <yao.qi@linaro.org>
13330
13331 PR testsuite/18139
13332 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13333 Add a line number entry for the same line.
13334 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13335 Add a line number entry for the same line.
13336
13337 2015-03-26 Yao Qi <yao.qi@linaro.org>
13338
13339 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13340 .int 0.
13341 (func): Likewise. Add .Lfunc_1 label.
13342 Use .Lfunc_1 label.
13343 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13344 .int 0.
13345 (func): Likewise.
13346 Use .Lfunc_1 label.
13347
13348 2015-03-26 Yao Qi <yao.qi@linaro.org>
13349
13350 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13351 Call gdb_compile instead to compile each .s files without debug
13352 information.
13353
13354 2015-03-26 Yao Qi <yao.qi@linaro.org>
13355
13356 * gdb.base/savedregs.exp (process_saved_regs): Make
13357 "Saved registers:" optional in the pattern.
13358
13359 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13360
13361 * gdb.btrace/next.exp: Merged into step.exp.
13362 * gdb.btrace/finish.exp: Merged into step.exp.
13363 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13364 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13365 "record goto" and checking the exact replay position.
13366 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13367 check for "Recording format" in "info record" output.
13368 * gdb.btrace/record_goto.exp: Choose test file based on target.
13369 * gdb.btrace/x86-record_goto.S: Renamed into ...
13370 * gdb.btrace/x86_64-record_goto.S: ... this.
13371 * gdb.btrace/i686-record_goto.S: New.
13372 * gdb.btrace/x86-tailcall.S: Renamed into ...
13373 * gdb.btrace/x86_64-tailcall.S: ... this.
13374 * gdb.btrace/i686-tailcall.S: New.
13375 * gdb.btrace/x86-tailcall.c: Renamed into ...
13376 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13377 separate statements. Update test.
13378 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13379 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13380 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13381 * gdb.btrace/tailcall.exp: Choose test file based on target.
13382 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13383
13384 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13385
13386 * gdb.btrace/exception.exp: Increase BTS buffer size.
13387
13388 2015-03-24 Pedro Alves <palves@redhat.com>
13389
13390 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13391
13392 2015-03-24 Pedro Alves <palves@redhat.com>
13393
13394 * gdb.threads/schedlock.exp (test_step): No longer expect that
13395 "set scheduler-locking step" with "next" over a function call runs
13396 threads unlocked.
13397
13398 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13399
13400 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13401
13402 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13403
13404 PR breakpoints/16466
13405 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13406 * gdb.mi/mi-pending.c (thread_func): New function.
13407 (int main): Add threading support required.
13408 * gdb.mi/mi-pending.exp: Add tests for this issue.
13409 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13410 (pendfunc2): Remove stdio dependency.
13411 * gdb.mi/mi-pendshr2.c: New file.
13412
13413 2015-03-23 Keith Seitz <keiths@redhat.com>
13414
13415 * gdb.linespec/keywords.c: New file.
13416 * gdb.linespec/keywords.exp: New file.
13417
13418 2015-03-23 Keith Seitz <keiths@redhat.com>
13419
13420 PR gdb/18021
13421 * gdb.dwarf2/staticvirtual.exp: New test.
13422
13423 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13424
13425 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13426 * README: Remove HP-UX and gdb.hp.
13427 (configuration):
13428 * configure: Regenerate.
13429 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13430 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13431 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13432 gdb.hp/gdb.defects/Makefile.
13433 * gdb.hp/Makefile.in: File deleted.
13434 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13435 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13436 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13437 * gdb.hp/gdb.aCC/run.c: File deleted.
13438 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13439 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13440 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13441 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13442 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13443 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13444 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13445 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13446 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13447 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13448 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13449 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13450 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13451 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13452 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13453 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13454 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13455 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13456 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13457 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13458 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13459 * gdb.hp/gdb.compat/average.c: File deleted.
13460 * gdb.hp/gdb.compat/sum.c: File deleted.
13461 * gdb.hp/gdb.compat/xdb.c: File deleted.
13462 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13463 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13464 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13465 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13466 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13467 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13468 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13469 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13470 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13471 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13472 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13473 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13474 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13475 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13476 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13477 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13478 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13479 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13480 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13481 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13482 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13483 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13484 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13485 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13486 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13487 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13488 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13489 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13490 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13491 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13492 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13493 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13494 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13495 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13496 * gdb.hp/tools/odump: File deleted.
13497
13498 2015-03-19 Pedro Alves <palves@redhat.com>
13499
13500 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13501 (saw_thread_3): New globals.
13502 (top level): Increment them when an event for the corresponding
13503 thread is seen.
13504 (no thread starvation): New test.
13505
13506 2015-03-19 Pedro Alves <palves@redhat.com>
13507
13508 * gdb.threads/continue-pending-status.c: New file.
13509 * gdb.threads/continue-pending-status.exp: New file.
13510
13511 2015-03-18 Pedro Alves <palves@redhat.com>
13512
13513 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13514 Use gdb_is_target_remote instead of is_remote. Use
13515 gdb_test_multiple instead of gdb_expect. Exit early if
13516 gdb_test_multiple hits its internal matches. Tighten stepi tests
13517 expected output. Fail on exit with any signal, instead of just
13518 SIGILL.
13519
13520 2015-03-18 Yao Qi <yao.qi@linaro.org>
13521
13522 PR tdep/18107
13523 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13524 variable.
13525 * gdb.base/catch-syscall.exp: Don't skip it on
13526 aarch64*-*-linux* target. Remove elements in all_syscalls.
13527 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13528 target.
13529 (setup_all_syscalls): New proc.
13530
13531 2015-03-16 Yao Qi <yao.qi@linaro.org>
13532
13533 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13534 (top level): Skip tests if valid_addr_p returns false for
13535 $cmd1 or $cmd2.
13536
13537 2015-03-11 Andy Wingo <wingo@igalia.com>
13538
13539 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13540
13541 2015-03-11 Yao Qi <yao.qi@linaro.org>
13542
13543 * gdb.base/catch-syscall.exp: Fix typo in comments.
13544
13545 2015-03-11 Yao Qi <yao.qi@linaro.org>
13546
13547 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13548
13549 2015-03-09 Pedro Alves <palves@redhat.com>
13550
13551 * dg-extract-results.py: Delete.
13552
13553 2015-03-09 Pedro Alves <palves@redhat.com>
13554
13555 Merge dg-extract-results.sh from GCC upstream (r218843).
13556
13557 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13558 * dg-extract-results.sh: Use --text with grep to avoid issues with
13559 binary files. Fall back to cat -v, if that doesn't work.
13560
13561 2015-03-05 Pedro Alves <palves@redhat.com>
13562
13563 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13564
13565 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13566
13567 * lib/mi-support.exp (mi_expect_interrupt): Accept
13568 alternative event for when in all-stop mode.
13569
13570 2015-03-04 Pedro Alves <palves@redhat.com>
13571
13572 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13573
13574 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13575
13576 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13577
13578 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13579
13580 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13581 regexps for GDB's current line display, accept a hex address
13582 preceding the line number.
13583
13584 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13585
13586 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13587 the 'arch1' variable for "s390*-linux*" targets.
13588
13589 2015-03-04 Pedro Alves <palves@redhat.com>
13590
13591 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13592 (main): Pass missing retval argument to pthread_join call.
13593
13594 2015-03-02 Pedro Alves <palves@redhat.com>
13595
13596 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13597 (top level): Call do_test with non-stop as well.
13598
13599 2015-03-02 Pedro Alves <palves@redhat.com>
13600
13601 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13602 -1.
13603
13604 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13605
13606 * gdb.arch/s390-vregs.exp: New test.
13607 * gdb.arch/s390-vregs.S: New file.
13608
13609 2015-02-27 Pedro Alves <palves@redhat.com>
13610
13611 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13612 call to catch_command_errors.
13613 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13614 catch_command_errors.
13615
13616 2015-02-27 Pedro Alves <palves@redhat.com>
13617
13618 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13619 "true" for boolean result.
13620 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13621 prototype of main.
13622
13623 2015-02-27 Pedro Alves <palves@redhat.com>
13624
13625 * lib/unbuffer_output.c: New file.
13626 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13627 (main): Call gdb_unbuffer_output.
13628
13629 2015-02-27 Yao Qi <yao.qi@linaro.org>
13630
13631 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13632 target.
13633
13634 2015-02-26 Doug Evans <dje@google.com>
13635
13636 * gdb.cp/class2.cc (Dbase, D): New classes.
13637 (main): New local delta.
13638 * gdb.cp/class2.exp: Test printing delta.
13639 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13640 (dynbar): New global.
13641 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13642
13643 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13644
13645 * gdb.compile/compile-ifunc.c: New file.
13646 * gdb.compile/compile-ifunc.exp: New file.
13647
13648 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13649
13650 * gdb.base/structs.exp: Check for correct struct on finish.
13651
13652 2015-02-26 Yao Qi <yao.qi@linaro.org>
13653
13654 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13655 is zero.
13656
13657 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13658
13659 * gdb.arch/cordic.ko.bz2: New file.
13660 * gdb.arch/cordic.ko.debug.bz2: New file.
13661 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13662
13663 2015-02-25 Yao Qi <yao.qi@linaro.org>
13664
13665 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13666 aarch64*-*-* target.
13667
13668 2015-02-23 Pedro Alves <palves@redhat.com>
13669
13670 * lib/gdb.exp (delete_breakpoints): Rewrite using
13671 gdb_test_multiple.
13672
13673 2015-02-23 Pedro Alves <palves@redhat.com>
13674
13675 * gdb.base/info-os.c: Include stdlib.h.
13676
13677 2015-02-22 Doug Evans <xdje42@gmail.com>
13678
13679 PR symtab/17855
13680 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13681 is read after symbols have been re-read.
13682 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13683 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13684
13685 2015-02-21 Doug Evans <dje@google.com>
13686
13687 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13688
13689 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13690
13691 PR corefiles/17808
13692 * gdb.arch/i386-biarch-core.core.bz2: New file.
13693 * gdb.arch/i386-biarch-core.exp: New file.
13694
13695 2015-02-21 Pedro Alves <palves@redhat.com>
13696
13697 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13698 runto_main fails.
13699
13700 2015-02-20 Pedro Alves <palves@redhat.com>
13701
13702 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13703 info probes.
13704
13705 2015-02-20 Pedro Alves <palves@redhat.com>
13706
13707 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13708
13709 2015-02-20 Pedro Alves <palves@redhat.com>
13710
13711 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13712 clean_restart before gdb_target_supports_trace.
13713
13714 2015-02-20 Pedro Alves <palves@redhat.com>
13715
13716 PR threads/18006
13717 * gdb.threads/clone-thread_db.c: New file.
13718 * gdb.threads/clone-thread_db.exp: New file.
13719
13720 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13721
13722 PR breakpoints/16812
13723 * gdb.base/catch-gdb-caused-signals.c: New file.
13724 * gdb.base/catch-gdb-caused-signals.exp: New file.
13725
13726 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13727
13728 * configure: Regenerated.
13729 * configure.ac: Use GDB_AC_TRANSFORM.
13730 * aclocal.m4: sinclude ../transform.m4.
13731
13732 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13733
13734 * lib/dtrace.exp: New file.
13735 * gdb.base/dtrace-probe.exp: Likewise.
13736 * gdb.base/dtrace-probe.d: Likewise.
13737 * gdb.base/dtrace-probe.c: Likewise.
13738 * lib/pdtrace.in: Likewise.
13739 * configure.ac: Output variables with the transformed names of
13740 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13741 * configure: Regenerated.
13742
13743 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13744
13745 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13746 expected message when trying to access $_probe_* convenience
13747 variables while not on a probe.
13748
13749 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13750
13751 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13752
13753 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13754
13755 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13756 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13757
13758 2015-02-10 Doug Evans <xdje42@gmail.com>
13759
13760 * lib/gdb.exp (gdb_load): Always return a result.
13761
13762 2015-02-10 Pedro Alves <palves@redhat.com>
13763
13764 * gdb.threads/signal-sigtrap.c: New file.
13765 * gdb.threads/signal-sigtrap.exp: New file.
13766
13767 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13768
13769 * gdb.trace/no-attach-trace.c: New file.
13770 * gdb.trace/no-attach-trace.exp: New file.
13771
13772 2015-02-09 Mark Wielaard <mjw@redhat.com>
13773
13774 * gdb.dwarf2/atomic.c: New file.
13775 * gdb.dwarf2/atomic-type.exp: Likewise.
13776
13777 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13778
13779 * gdb.btrace/buffer-size.exp: Update "info record" output.
13780 * gdb.btrace/delta.exp: Update "info record" output.
13781 * gdb.btrace/enable.exp: Update "info record" output.
13782 * gdb.btrace/finish.exp: Update "info record" output.
13783 * gdb.btrace/instruction_history.exp: Update "info record" output.
13784 * gdb.btrace/next.exp: Update "info record" output.
13785 * gdb.btrace/nexti.exp: Update "info record" output.
13786 * gdb.btrace/step.exp: Update "info record" output.
13787 * gdb.btrace/stepi.exp: Update "info record" output.
13788 * gdb.btrace/nohist.exp: Update "info record" output.
13789
13790 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13791
13792 * gdb.btrace/buffer-size: New.
13793
13794 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13795
13796 * gdb.btrace/delta.exp: Update "info record" output.
13797 * gdb.btrace/enable.exp: Update "info record" output.
13798 * gdb.btrace/finish.exp: Update "info record" output.
13799 * gdb.btrace/instruction_history.exp: Update "info record" output.
13800 * gdb.btrace/next.exp: Update "info record" output.
13801 * gdb.btrace/nexti.exp: Update "info record" output.
13802 * gdb.btrace/step.exp: Update "info record" output.
13803 * gdb.btrace/stepi.exp: Update "info record" output.
13804 * gdb.btrace/nohist.exp: Update "info record" output.
13805
13806 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13807
13808 PR gdb/15678
13809 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13810
13811 2015-02-06 Pedro Alves <palves@redhat.com>
13812
13813 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13814 macro.
13815 (seconds_left, again): New globals.
13816 (main): Wait seconds_left in a 1-second sleep loop instead of
13817 sleeping 180 seconds. If 'again' is set, reset the seconds
13818 counter.
13819 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13820 'again' in the inferior before detaching. Print the seconds left.
13821 (options): New global.
13822 (top level): Build program with -DTIMEOUT=$timeout.
13823
13824 2015-02-06 Pedro Alves <palves@redhat.com>
13825
13826 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13827 determine how many seconds to pass to 'alarm'.
13828 * gdb.base/gdb-sigterm.exp (top level): Build program with
13829 -DTIMEOUT=$timeout.
13830 (do_test): Return success/failure indication. Add more verbose
13831 logging. Don't fail if 200 single steps are seen. Instead, fail
13832 when the test times out.
13833 (passes): New global.
13834 (top level): Break the testing loop if testing fails on any
13835 iteration. Use gdb_assert.
13836
13837 2015-02-04 Don Breazeal <donb@codesourcery.com>
13838
13839 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13840 and initialize them.
13841 (ipc_cleanup): New function.
13842 (main): Don't declare shmid, semid, and msqid. Add a call to
13843 atexit so that we call ipc_cleanup on exit.
13844
13845 2015-02-04 Pedro Alves <palves@redhat.com>
13846
13847 * boards/native-extended-gdbserver.exp: Remove any target variant
13848 specifications from the board name before clearing the isremote
13849 flag from board_info.
13850
13851 2015-01-31 Doug Evans <xdje42@gmail.com>
13852
13853 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13854
13855 2015-01-31 Gary Benson <gbenson@redhat.com>
13856
13857 * gdb.base/completion.exp: Disable completion limiting for
13858 existing tests. Add new tests to check completion limiting.
13859 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13860
13861 2015-01-31 Doug Evans <xdje42@gmail.com>
13862
13863 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13864
13865 2015-01-31 Doug Evans <xdje42@gmail.com>
13866
13867 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13868 entries. Duplicate file section script entries.
13869 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13870 inlined entries. Add test for safe-path rejection.
13871 * gdb.python/py-section-script.c: Add duplicate inlined section script
13872 entries. Duplicate file section script entries.
13873 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13874 inlined entries. Add test for safe-path rejection.
13875
13876 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13877
13878 * gdb.ada/disc_arr_bound: New testcase.
13879
13880 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13881
13882 * gdb.ada/mi_var_array: New testcase.
13883
13884 2015-01-27 Doug Evans <dje@google.com>
13885
13886 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13887 Add test for objfile.filename, objfile.username after objfile
13888 has been unloaded.
13889
13890 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13891
13892 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13893 the second test to print the name attribute of value
13894 returned by the call to gdb.lookup_type, and adjust
13895 the expected output accordingly.
13896
13897 2015-01-25 Mark Wielaard <mjw@redhat.com>
13898
13899 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13900 * gdb.base/disp-step-fork.c: Include unistd.h.
13901 * gdb.base/siginfo-obj.c: Include stdio.h.
13902 * gdb.base/siginfo-thread.c: Likewise.
13903 * gdb.mi/non-stop.c: Include unistd.h.
13904 * gdb.mi/nsthrexec.c: Include stdio.h.
13905 * gdb.mi/pthreads.c: Include unistd.h.
13906 * gdb.modula2/unbounded1.c (main): Declare returns int.
13907 * gdb.reverse/consecutive-reverse.c: Likewise.
13908 * gdb.threads/create-fail.c: Include unistd.h.
13909 * gdb.threads/killed.c: Likewise.
13910 * gdb.threads/linux-dp.c: Likewise.
13911 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13912 * gdb.threads/non-ldr-exc-2.c: Likewise.
13913 * gdb.threads/non-ldr-exc-3.c: Likewise.
13914 * gdb.threads/non-ldr-exc-4.c: Likewise.
13915 * gdb.threads/pthreads.c: Include unistd.h.
13916 (main): Declare returns int.
13917 * gdb.threads/tls-main.c (foo): New declaration.
13918 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13919
13920 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13921
13922 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13923 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13924
13925 2015-01-15 Mark Wielaard <mjw@redhat.com>
13926
13927 * gdb.base/noreturn-return.c: New file.
13928 * gdb.base/noreturn-return.exp: New file.
13929 * gdb.base/noreturn-finish.c: New file.
13930 * gdb.base/noreturn-finish.exp: New file.
13931
13932 2015-01-23 Pedro Alves <palves@redhat.com>
13933
13934 * gdb.threads/continue-pending-after-query.c: New file.
13935 * gdb.threads/continue-pending-after-query.exp: New file.
13936
13937 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13938 Simon Marchi <simon.marchi@ericsson.com>
13939
13940 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13941 * gdb.base/valgrind-db-attach.exp: Same.
13942 * gdb.base/valgrind-infcall.exp: Same.
13943 * lib/mi-support.exp (default_mi_gdb_start): Same.
13944 * lib/prompt.exp (default_prompt_gdb_start): Same.
13945 * lib/gdb.exp (default_gdb_spawn): Same.
13946 (gdb_interact): New.
13947
13948
13949 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13950
13951 * gdb.compile/compile.exp (pointer to jit function): New test.
13952
13953 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13954
13955 * lib/gdb.exp (supports_process_record): Return true for
13956 powerpc*-*-linux*.
13957 (supports_reverse): Likewise.
13958
13959 2015-01-15 Don Breazeal <donb@codesourcery.com>
13960
13961 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13962 instead of checking whether the target board is remote and
13963 use spawn_wait_for_attach instead of exec/sleep.
13964 * gdb.base/attach-twice.exp: Likewise.
13965
13966 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13967
13968 * gdb.ada/var_arr_attrs: New testcase.
13969
13970 2015-01-14 Pedro Alves <palves@redhat.com>
13971 Joel Brobecker <brobecker@adacore.com>
13972
13973 PR gdb/17525
13974 * gdb.base/bp-cmds-execution-x-script.c: New file.
13975 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13976 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13977
13978 2015-01-14 Pedro Alves <palves@redhat.com>
13979
13980 PR cli/17828
13981 * gdb.base/batch-preserve-term-settings.c: New file.
13982 * gdb.base/batch-preserve-term-settings.exp: New file.
13983
13984 2015-01-13 Doug Evans <dje@google.com>
13985
13986 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13987 binary.
13988
13989 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13990
13991 * Makefile.in (clean mostlyclean): Do not delete *.py.
13992
13993 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13994
13995 * gdb.python/py-lookup-type.exp: New file.
13996
13997 2015-01-12 Pedro Alves <palves@redhat.com>
13998
13999 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14000 restore GDBFLAGS before returning.
14001
14002 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14003
14004 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14005 is_amd64_regs_target and is_x86_like_target.
14006
14007 2015-01-11 Doug Evans <xdje42@gmail.com>
14008
14009 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14010 is given without an explicit form.
14011 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14012 attributes.
14013 * gdb.dwarf/corrupt.exp: Ditto.
14014 * gdb.dwarf2/enum-type.exp: Ditto.
14015 * gdb.trace/entry-values.exp: Ditto.
14016 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14017
14018 2015-01-11 Doug Evans <xdje42@gmail.com>
14019
14020 PR gdb/15830
14021 * gdb.base/maint.exp: Remove references to "maint demangle".
14022 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14023 Add tests for explicitly specifying language to demangle.
14024 * gdb.dlang/demangle.exp: Ditto.
14025
14026 2015-01-09 Pedro Alves <palves@redhat.com>
14027
14028 * gdb.threads/non-stop-fair-events.c: New file.
14029 * gdb.threads/non-stop-fair-events.exp: New file.
14030
14031 2015-01-09 Pedro Alves <palves@redhat.com>
14032
14033 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14034 the global scope. Set a breakpoint after all threads are started
14035 rather than stepping over two source lines. Expect the prompt.
14036 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14037 global.
14038 (NUM): Now 15.
14039 (main): Use threads_started_barrier to wait for all threads to
14040 start. Main thread no longer calls thread_function. Exit after
14041 180 seconds.
14042 (loop): New function.
14043 (thread_function): Wait on threads_started_barrier barrier. Call
14044 'loop' at each iteration.
14045 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14046 threads have started, instead of hardcoding number of "next"
14047 steps. Use an access watchpoint instead of a write watchpoint.
14048
14049 2015-01-09 Pedro Alves <palves@redhat.com>
14050
14051 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14052 (thread_func): Wait on barrier.
14053 (main): Wait for all threads to start before stopping GDB.
14054 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14055 global.
14056 (thread1_func, thread2_func): Wait on barrier.
14057 (main): Wait for all threads to start before stopping GDB.
14058 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14059 New global.
14060 (thread1_func, thread2_func): Wait on barrier.
14061 (main): Wait for all threads to start before stopping GDB.
14062
14063 2015-01-09 Pedro Alves <palves@redhat.com>
14064
14065 * gdb.threads/attach-many-short-lived-threads.c: New file.
14066 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14067
14068 2014-01-09 Pedro Alves <palves@redhat.com>
14069
14070 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14071 instead of to thread 2.
14072 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14073 Add barrier around each pthread_create call instead of around all
14074 calls.
14075 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14076 Set a break on thread_function and have the child threads hit it
14077 one at at a time.
14078
14079 2015-01-09 Pedro Alves <palves@redhat.com>
14080
14081 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14082 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14083 false.
14084 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14085 checking whether the target board is remote.
14086 * gdb.multi/multi-attach.exp: Likewise.
14087 * gdb.python/py-sync-interp.exp: Likewise.
14088 * gdb.server/ext-attach.exp: Likewise.
14089 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14090 tests that need to attach, instead of checking whether the target
14091 board is remote at the top of the file.
14092
14093 2015-01-08 Yao Qi <yao@codesourcery.com>
14094
14095 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14096
14097 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14098
14099 Fix testcase compilation.
14100 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14101
14102 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14103
14104 * gdb.python/py-type.exp: Add a couple test about empty
14105 array creation, and negative-length array creation.
14106
14107 2015-01-02 Doug Evans <xdje42@gmail.com>
14108
14109 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14110
14111 2015-01-02 Doug Evans <dje@google.com>
14112
14113 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14114
14115 2014-12-29 Yao Qi <yao@codesourcery.com>
14116
14117 * gdb.trace/entry-values.exp: Update comments. Rename variable
14118 bar_call_foo to returned_from_foo.
14119
14120 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14121
14122 PR gdb/17394
14123 * gdb.linespec/break-asm-file.c: New file.
14124 * gdb.linespec/break-asm-file.exp: New file.
14125 * gdb.linespec/break-asm-file0.s: New file.
14126 * gdb.linespec/break-asm-file1.s: New file.
14127
14128 2014-12-18 Nigel Stephens <nigel@mips.com>
14129 Maciej W. Rozycki <macro@codesourcery.com>
14130
14131 * gdb.base/float.exp: Handle the new output from "info float" on
14132 MIPS targets.
14133
14134 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14135
14136 Fix MinGW compilation.
14137 * gdb.compile/compile-ops.exp: Update untested message if
14138 !skip_compile_feature_tests.
14139 * gdb.compile/compile-setjmp.exp: Likewise.
14140 * gdb.compile/compile-tls.exp: Likewise.
14141 * gdb.compile/compile.exp: Likewise.
14142 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14143 supported on this host".
14144
14145 2014-12-16 Doug Evans <xdje42@gmail.com>
14146
14147 * boards/stabs.exp: New file.
14148
14149 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14150
14151 * gdb.base/completion.exp: Adjust to format changes of "maint
14152 print user-registers".
14153
14154 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14155
14156 PR server/17457
14157 * gdb.arch/aarch64-fp.c: New file.
14158 * gdb.arch/aarch64-fp.exp: New file.
14159
14160 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14161
14162 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14163 r210637, r210913, r211666, r215400, r215817).
14164
14165 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14166 * dg-extract-results.py: New file.
14167 * dg-extract-results.sh: Use it if the environment seems
14168 suitable.
14169
14170 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14171
14172 * dg-extract-results.py (parse_run): Handle warnings that
14173 are printed before a test harness is run.
14174
14175 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14176
14177 * dg-extract-results.py (Named): Remove __cmp__ method.
14178 (output_variation): Use a key to sort variation.harnesses.
14179
14180 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14181
14182 * dg-extract-results.py: For Python 3, force sys.stdout to
14183 handle surrogate escape sequences.
14184 (safe_open): New function.
14185 (output_segment, main): Use it.
14186
14187 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14188
14189 * dg-extract-results.py (Prog.result_re): Include options
14190 in test name.
14191
14192 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14193
14194 * dg-extract-results.py (output_variation): Always sort if
14195 do_sum.
14196
14197 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14198
14199 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14200 as long as we get pagination notifications.
14201
14202 2014-12-15 Jason Merrill <jason@redhat.com>
14203
14204 * Makefile.in (check-gdb.%): Restore.
14205 * README: Mention it.
14206
14207 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14208
14209 * gdb.ada/str_uninit: New testcase.
14210
14211 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14212
14213 PR symtab/17642
14214 * gdb.base/vla-stub-define.c: New file.
14215 * gdb.base/vla-stub.c: New file.
14216 * gdb.base/vla-stub.exp: New file.
14217
14218 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14219 Jan Kratochvil <jan.kratochvil@redhat.com>
14220 Tom Tromey <tromey@redhat.com>
14221
14222 * configure.ac: Add gdb.compile/.
14223 * configure: Regenerate.
14224 * gdb.compile/Makefile.in: New file.
14225 * gdb.compile/compile-ops.exp: New file.
14226 * gdb.compile/compile-ops.c: New file.
14227 * gdb.compile/compile-tls.c: New file.
14228 * gdb.compile/compile-tls.exp: New file.
14229 * gdb.compile/compile-constvar.S: New file.
14230 * gdb.compile/compile-constvar.c: New file.
14231 * gdb.compile/compile-mod.c: New file.
14232 * gdb.compile/compile-nodebug.c: New file.
14233 * gdb.compile/compile-setjmp-mod.c: New file.
14234 * gdb.compile/compile-setjmp.c: New file.
14235 * gdb.compile/compile-setjmp.exp: New file.
14236 * gdb.compile/compile-shlib.c: New file.
14237 * gdb.compile/compile.c: New file.
14238 * gdb.compile/compile.exp: New file.
14239 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14240
14241 2014-12-12 Tom Tromey <tromey@redhat.com>
14242
14243 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14244 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14245
14246 2014-12-12 Doug Evans <dje@google.com>
14247
14248 * lib/gdb-python.exp (get_python_valueof): New function.
14249 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14250
14251 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14252
14253 * gdb.base/completion.exp: Add test for completion of "info
14254 registers ".
14255
14256 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14257
14258 * gdb.base/func-ptrs.c: New file.
14259 * gdb.base/func-ptrs.exp: New file.
14260
14261 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14262
14263 PR breakpoints/17012
14264 * gdb.base/dprintf-detach.c: New file.
14265 * gdb.base/dprintf-detach.exp: New file.
14266
14267 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14268
14269 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14270 * lib/gdb.exp (target_is_gdbserver): New procedure.
14271
14272 2014-12-08 Doug Evans <dje@google.com>
14273
14274 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14275
14276 2014-12-05 Yao Qi <yao@codesourcery.com>
14277
14278 * gdb.guile/scm-error.exp: Remove the third argument to
14279 gdb_remote_download.
14280 * gdb.guile/scm-frame-args.exp: Likewise.
14281 * gdb.guile/scm-section-script.exp: Likewise.
14282
14283 2014-12-05 Yao Qi <yao@codesourcery.com>
14284
14285 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14286
14287 2014-12-04 Doug Evans <dje@google.com>
14288
14289 * gdb.python/py-objfile.exp: Add tests for
14290 objfile.add_separate_debug_file.
14291
14292 2014-12-04 Doug Evans <dje@google.com>
14293
14294 * lib/gdb.exp (get_build_id): New function.
14295 (build_id_debug_filename_get): Rewrite to use it.
14296 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14297
14298 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14299
14300 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14301 `method(long)', not just 0x0.
14302 * gdb.cp/nsalias.exp: Align code labels to 4.
14303 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14304 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14305 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14306 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14307 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14308 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14309
14310 2014-12-02 Doug Evans <dje@google.com>
14311
14312 PR symtab/17602
14313 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14314 * gdb.cp/anon-ns2.cc: ... here. New file.
14315 * gdb.cp/anon-ns.exp: Update.
14316
14317 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14318
14319 * gdb.python/py-events.py (inferior_call_handler): New.
14320 (register_changed_handler, memory_changed_handler): New.
14321 (test_events.invoke): Register new handlers.
14322 * gdb.python/py-events.exp: Add tests for inferior call,
14323 memory_changed and register_changed events.
14324
14325 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14326
14327 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14328 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14329 if the linker doesn't understand this.
14330
14331 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14332
14333 * gdb.python/python.exp: Change expected reply to help().
14334
14335 2014-12-01 Yao Qi <yao@codesourcery.com>
14336
14337 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14338 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14339 * configure: Re-generated.
14340
14341 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14342
14343 * gdb.cp/chained-calls.cc: New file.
14344 * gdb.cp/chained-calls.exp: New file.
14345 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14346
14347 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14348
14349 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14350 * gdb.dwarf2/symtab-producer.exp: Same.
14351 * gdb.gdb/python-interrupts.exp: Same.
14352 * gdb.gdb/python-selftest.exp: Same.
14353 * gdb.python/py-linetable.exp: Same.
14354 * gdb.python/py-type.exp: Same.
14355 * gdb.python/py-value-cc.exp: Same.
14356 * gdb.python/py-value.exp: Same.
14357
14358 2014-11-28 Yao Qi <yao@codesourcery.com>
14359
14360 * gdb.base/break-probes.exp: Match library name prefixed with
14361 sysroot.
14362
14363 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14364
14365 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14366 test expected output. Add parentheses for the call to print.
14367 Remove L suffix from integers.
14368
14369 2014-11-26 Doug Evans <dje@google.com>
14370
14371 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14372
14373 2014-11-22 Yao Qi <yao@codesourcery.com>
14374
14375 * gdb.trace/entry-values.c: Remove asms.
14376 (foo): Add foo_label.
14377 (bar): Add bar_label.
14378 * gdb.trace/entry-values.exp: Remove code computing foo's
14379 length and bar's length.
14380 (Dwarf::assemble): Invoke function_range for bar and use
14381 MACRO_AT_func for foo.
14382
14383 2014-11-22 Yao Qi <yao@codesourcery.com>
14384
14385 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14386 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14387 Use .Lgcc43_procstart instead of gcc43.
14388
14389 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14390
14391 * gdb.ada/n_arr_bound: New testcase.
14392
14393 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14394
14395 PR breakpoints/10737
14396 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14397 test_catch_syscall_multi_arch.
14398 (test_catch_syscall_multi_arch): New function.
14399
14400 2014-11-20 Doug Evans <xdje42@gmail.com>
14401
14402 * gdb.base/maint.exp: Update expected output.
14403
14404 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14405
14406 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14407 4-byte instruction on S390.
14408
14409 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14410
14411 * gdb.ada/arr_arr: New testcase.
14412
14413 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14414
14415 * gdb.ada/pkd_arr_elem: New Testcase.
14416
14417 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14418
14419 * gdb.reverse/break-precsave: Expect completion message for
14420 core file reads.
14421 * gdb.reverse/consecutive-precsave.exp: Likewise.
14422 * gdb.reverse/finish-precsave.exp: Likewise.
14423 * gdb.reverse/i386-precsave.exp: Likewise.
14424 * gdb.reverse/machinestate-precsave.exp: Likewise.
14425 * gdb.reverse/sigall-precsave.exp: Likewise.
14426 * gdb.reverse/solib-precsave.exp: Likewise.
14427 * gdb.reverse/step-precsave.exp: Likewise.
14428 * gdb.reverse/until-precsave.exp: Likewise.
14429 * gdb.reverse/watch-precsave.exp: Likewise.
14430
14431 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14432
14433 * gdb.base/bp-permanent.c: Include unistd.h.
14434 * gdb.python/py-framefilter-mi.c (main): Add return type.
14435 * gdb.python/py-framefilter.c (main): Likewise.
14436 * gdb.trace/actions-changed.c (main): Likewise.
14437
14438 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14439
14440 * gdb.mi/until.c: Add eye-catchers.
14441 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14442 line numbers.
14443
14444 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14445
14446 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14447 function header variants in break1.c.
14448 * gdb.base/ena-dis-br.exp: Likewise.
14449 * gdb.base/hbreak2.exp: Likewise.
14450 * gdb.reverse/until-precsave.exp: Drop references to removed
14451 non-prototype function header variants in ur1.c.
14452 * gdb.reverse/until-reverse.exp: Likewise.
14453
14454 2014-11-17 Petr Machata <pmachata@redhat.com>
14455
14456 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14457 ${_cu_offset_size} bytes abbrev offset.
14458
14459 2014-11-15 Doug Evans <xdje42@gmail.com>
14460
14461 PR symtab/17559
14462 * gdb.base/line-symtabs.exp: New file.
14463 * gdb.base/line-symtabs.c: New file.
14464 * gdb.base/line-symtabs.h: New file.
14465
14466 2014-11-14 Yao Qi <yao@codesourcery.com>
14467
14468 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14469 (func): Add label func_label.
14470 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14471 Replace low_pc and high_pc with MACRO_AT_range.
14472 Replace name, low_pc and high_pc with MACRO_AT_func.
14473
14474 2014-11-14 Yao Qi <yao@codesourcery.com>
14475
14476 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14477 Replace name, low_pc and high_pc with MACRO_AT_func.
14478
14479 2014-11-14 Yao Qi <yao@codesourcery.com>
14480
14481 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14482 produce debug information.
14483 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14484
14485 2014-11-14 Yao Qi <yao@codesourcery.com>
14486
14487 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14488 object and get function length.
14489 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14490 with MACRO_AT_func.
14491 (top-level): Replace gdb_compile and clean_restart with
14492 prepare_for_testing.
14493 * gdb.dwarf2/main.c (main): Add label main_label.
14494
14495 2014-11-14 Yao Qi <yao@codesourcery.com>
14496
14497 * lib/dwarf.exp (function_range): New procedure.
14498 (Dwarf::_handle_macro_at_func): New procedure.
14499 (Dwarf::_handle_macro_at_range): New procedure.
14500 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14501
14502 2014-11-14 Yao Qi <yao@codesourcery.com>
14503
14504 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14505 (_handle_attribute): New procedure.
14506
14507 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14508
14509 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14510 * gdb.base/call-sc.c (zed): Likewise.
14511 * gdb.base/checkpoint.c (main): Likewise.
14512 * gdb.base/dump.c (main): Likewise.
14513 * gdb.base/gcore.c (main): Likewise.
14514 * gdb.base/huge.c (main): Likewise.
14515 * gdb.base/multi-forks.c (main): Likewise.
14516 * gdb.base/pr10179-a.c (main): Likewise.
14517 * gdb.base/savedregs.c (main): Likewise.
14518 * gdb.base/sigaltstack.c (main): Likewise.
14519 * gdb.base/siginfo.c (main): Likewise.
14520 * gdb.base/structs.c (zed): Likewise.
14521 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14522 * gdb.mi/mi-syn-frame.c (main): Likewise.
14523 * gdb.mi/until.c (foo, main): Likewise.
14524 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14525 * gdb.base/solib-weak.c (foo): Declare.
14526 * gdb.base/attach-twice.c: Include stdio.h.
14527 * gdb.base/weaklib1.c: Likewise.
14528 * gdb.base/weaklib2.c: Likewise.
14529 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14530 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14531 unistd.h.
14532 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14533 * gdb.mi/mi-exit-code.c: Likewise.
14534 * gdb.base/break-interp-lib.c: Include string.h.
14535 * gdb.base/coremaker.c: Likewise.
14536 * gdb.base/testenv.c: Likewise.
14537 * gdb.python/py-finish-breakpoint.c: Likewise.
14538 * gdb.base/inferior-died.c: Include sys/wait.h.
14539 * gdb.base/fileio.c: Include time.h.
14540 * gdb.base/async-shell.c: Include unistd.h.
14541 * gdb.base/dprintf-non-stop.c: Likewise.
14542 * gdb.base/info-os.c: Likewise.
14543 * gdb.mi/mi-console.c: Likewise.
14544 * gdb.mi/watch-nonstop.c: Likewise.
14545 * gdb.python/py-events.c: Likewise.
14546 * gdb.base/async.c (baz): Move up before its invocation.
14547 * gdb.base/code_elim2.c (my_global_func): Likewise.
14548 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14549 * gdb.base/advance.c (func2): Likewise.
14550
14551 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14552
14553 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14554 variant.
14555 * gdb.base/annota3.c: Likewise.
14556 * gdb.base/async.c: Likewise.
14557 * gdb.base/average.c: Likewise.
14558 * gdb.base/call-ar-st.c: Likewise.
14559 * gdb.base/call-rt-st.c: Likewise.
14560 * gdb.base/call-sc.c: Likewise.
14561 * gdb.base/call-strs.c: Likewise.
14562 * gdb.base/ending-run.c: Likewise.
14563 * gdb.base/execd-prog.c: Likewise.
14564 * gdb.base/exprs.c: Likewise.
14565 * gdb.base/foll-exec.c: Likewise.
14566 * gdb.base/foll-fork.c: Likewise.
14567 * gdb.base/foll-vfork.c: Likewise.
14568 * gdb.base/funcargs.c: Likewise.
14569 * gdb.base/gcore.c: Likewise.
14570 * gdb.base/jump.c: Likewise.
14571 * gdb.base/langs0.c: Likewise.
14572 * gdb.base/langs1.c: Likewise.
14573 * gdb.base/langs2.c: Likewise.
14574 * gdb.base/mips_pro.c: Likewise.
14575 * gdb.base/nodebug.c: Likewise.
14576 * gdb.base/opaque0.c: Likewise.
14577 * gdb.base/opaque1.c: Likewise.
14578 * gdb.base/recurse.c: Likewise.
14579 * gdb.base/run.c: Likewise.
14580 * gdb.base/scope0.c: Likewise.
14581 * gdb.base/scope1.c: Likewise.
14582 * gdb.base/setshow.c: Likewise.
14583 * gdb.base/setvar.c: Likewise.
14584 * gdb.base/shmain.c: Likewise.
14585 * gdb.base/shr1.c: Likewise.
14586 * gdb.base/shr2.c: Likewise.
14587 * gdb.base/sigall.c: Likewise.
14588 * gdb.base/signals.c: Likewise.
14589 * gdb.base/so-indr-cl.c: Likewise.
14590 * gdb.base/solib2.c: Likewise.
14591 * gdb.base/structs.c: Likewise.
14592 * gdb.base/sum.c: Likewise.
14593 * gdb.base/vforked-prog.c: Likewise.
14594 * gdb.base/watchpoint.c: Likewise.
14595 * gdb.reverse/shr2.c: Likewise.
14596 * gdb.reverse/until-reverse.c: Likewise.
14597 * gdb.reverse/ur1.c: Likewise.
14598 * gdb.reverse/watch-reverse.c: Likewise.
14599
14600 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14601
14602 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14603 variant.
14604 * gdb.base/sepdebug.exp: Drop references to removed code.
14605
14606 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14607
14608 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14609 variant. Preserve original line numbering.
14610 * gdb.base/list1.c: Likewise.
14611
14612 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14613
14614 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14615 variant.
14616 * gdb.base/break1.c: Likewise.
14617 * gdb.base/break.exp: Drop references to removed code.
14618
14619 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14620
14621 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14622 variant.
14623
14624 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14625
14626 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14627
14628 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14629
14630 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14631 logic into perform_all_tests() and invoke it with and without
14632 function header prototypes.
14633 (do_function_calls): Remove conditional XFAIL for PR 5318.
14634 (rerun_and_prepare): Remove duplicate code.
14635 (perform_all_tests): New. Main logic moved here.
14636
14637 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14638
14639 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14640 code guarded by #ifdef NO_PROTOTYPES.
14641 (t_double_many_args): Likewise.
14642 (DEF_FUNC_MANY_ARGS_1): Likewise.
14643 (DEF_FUNC_VALUES_1): Likewise.
14644 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14645 guarded by #ifdef PROTOTYPES.
14646
14647 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14648
14649 * gdb.mi/mi-console.c: Add eye-catcher.
14650 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14651 instead of literal line number.
14652
14653 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14654
14655 * gdb.base/shr2.c: Add eye-catcher.
14656 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14657 line number.
14658
14659 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14660
14661 * gdb.base/jump.c: Add eye-catchers.
14662 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14663 numbers.
14664
14665 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14666
14667 * gdb.base/execd-prog.c: Add eye-catchers.
14668 * gdb.base/foll-exec.c: Likewise.
14669 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14670 line numbers.
14671
14672 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14673
14674 * gdb.base/ending-run.c: Add eye-catchers.
14675 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14676 literal line numbers.
14677
14678 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14679
14680 * gdb.base/call-rt-st.c: Add eye-catchers.
14681 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14682 literal line numbers.
14683
14684 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14685
14686 * gdb.base/call-ar-st.c: Add eye-catchers.
14687 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14688 literal line numbers.
14689
14690 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14691
14692 * gdb.base/average.c: Add eye-catchers.
14693 * gdb.base/sum.c: Likewise.
14694 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14695 regexps dynamically.
14696
14697 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14698
14699 * gdb.base/solib1.c: Add eye-catchers.
14700 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14701 literal line numbers.
14702
14703 2014-11-12 Pedro Alves <palves@redhat.com>
14704
14705 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14706 leader has exited.
14707
14708 2014-11-12 Pedro Alves <palves@redhat.com>
14709
14710 * gdb.arch/i386-bp_permanent.c: New file.
14711 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14712 (srcfile): Set to i386-bp_permanent.c.
14713 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14714 that stepi does not execute the 'leave' instruction, instead of
14715 testing it does execute.
14716 * gdb.base/bp-permanent.c: New file.
14717 * gdb.base/bp-permanent.exp: New file.
14718
14719 2014-11-10 Doug Evans <xdje42@gmail.com>
14720
14721 PR symtab/17564
14722 * gdb.base/symtab-search-order.exp: New file.
14723 * gdb.base/symtab-search-order.c: New file.
14724 * gdb.base/symtab-search-order-1.c: New file.
14725 * gdb.base/symtab-search-order-shlib-1.c: New file.
14726
14727 2014-11-07 Pedro Alves <palves@redhat.com>
14728
14729 PR gdb/17511
14730 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14731 i?86-*-linux*.
14732
14733 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14734
14735 PR c++/17494
14736 * gdb.cp/pr17494.cc: New file.
14737 * gdb.cp/pr17494.exp: New file.
14738
14739 2014-11-02 Yao Qi <yao@codesourcery.com>
14740
14741 * gdb.python/python.exp: Get working directory and match the
14742 output of "set extended-prompt \\w " with it.
14743
14744 2014-10-30 Doug Evans <dje@google.com>
14745
14746 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14747 in objfiles.
14748 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14749 in progspaces.
14750
14751 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14752
14753 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14754 * gdb.base/realname-expand.exp: Likewise.
14755 * gdb.linespec/macro-relative.exp: Likewise.
14756
14757 2014-10-29 Pedro Alves <palves@redhat.com>
14758
14759 PR gdb/17408
14760 * gdb.threads/schedlock.c (some_function): New function.
14761 (call_function): New global.
14762 (MAYBE_CALL_SOME_FUNCTION): New macro.
14763 (thread_function): Call it.
14764 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14765 and use it instead of a global counter. Adjust all callers.
14766 (get_current_thread): Use "find current thread" for test message
14767 here rather than having all callers pass down the same string.
14768 (goto_loop): New procedure, factored out from ...
14769 (my_continue): ... this.
14770 (step_ten_loops): Change parameter from test message to command to
14771 use. Adjust.
14772 (list_count): Delete global.
14773 (check_result): New procedure, factored out from duplicate top
14774 level code.
14775 (continue tests): Wrap in with_test_prefix.
14776 (test_step): New procedure, factored out from duplicate top level
14777 code.
14778 (top level): Test "step" in combination with all scheduler-locking
14779 modes. Test "next" in combination with all scheduler-locking
14780 modes, and in combination with stepping over a function call or
14781 not.
14782 * gdb.threads/next-bp-other-thread.c: New file.
14783 * gdb.threads/next-bp-other-thread.exp: New file.
14784
14785 2014-10-29 Pedro Alves <palves@redhat.com>
14786
14787 PR python/17372
14788 * gdb.python/python.exp: Test a multi-line command that spawns
14789 interactive Python.
14790 * gdb.base/multi-line-starts-subshell.exp: New file.
14791
14792 2014-10-29 Yao Qi <yao@codesourcery.com>
14793
14794 * gdb.base/fileio.exp: Make directories on host.
14795
14796 2014-10-29 Yao Qi <yao@codesourcery.com>
14797
14798 * gdb.base/fileio.c (test_write): Close the file.
14799
14800 2014-10-28 Pedro Alves <palves@redhat.com>
14801
14802 PR gdb/12623
14803 * gdb.base/sigstep.c (no_handler): New global.
14804 (main): If 'no_handler is true, set the signal handlers to
14805 SIG_IGN.
14806 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14807 with_sw_watch and no_handler parameters. Handle them.
14808 (top level) <stepping over handler when stopped at a breakpoint
14809 test>: Add a test axis for testing with a software watchpoint, and
14810 another for testing with the signal handler set to SIG_IGN.
14811 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14812 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14813
14814 2014-10-28 Pedro Alves <palves@redhat.com>
14815
14816 PR gdb/17511
14817 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14818 * gdb.base/sigstep.exp (other_handler_location): New global.
14819 (advance): Support stepping into the signal handler, and running
14820 commands while in the handler.
14821 (in_handler_map): New global.
14822 (top level): In the advance test, add combinations for getting
14823 into the handler with stepping commands, and for running commands
14824 in the handler. Add comment descripting the advancei tests.
14825
14826 2014-10-28 Pedro Alves <palves@redhat.com>
14827
14828 * gdb.base/sigstep.exp: Use build_executable instead of
14829 prepare_for_testing.
14830 (top level): Move code that starts GDB, runs to main and creates a
14831 display to ...
14832 (restart): ... this new procedure.
14833 (top level): Move backtrace from signal handler test to ...
14834 (validate_backtrace): ... this new procedure.
14835 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14836 with_test_prefix. Always restart GDB.
14837 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14838 with_test_prefix. Always restart GDB. No need to delete
14839 breakpoints after the test.
14840 (test_skip_handler): Remove prefix parameter.
14841 (skip_over_handler, breakpoint_to_handler)
14842 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14843 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14844 restart GDB. No need to delete breakpoints after the test.
14845 (top level): Use foreach to call the test procedures with
14846 different commands.
14847
14848 2014-10-28 Pedro Alves <palves@redhat.com>
14849
14850 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14851 instead of GNATS numbers.
14852 * gdb.base/sigbpt.exp: Likewise.
14853 * gdb.base/siginfo.exp: Likewise.
14854 * gdb.base/sigstep.exp: Likewise.
14855
14856 2014-10-27 Pedro Alves <palves@redhat.com>
14857
14858 * gdb.base/sigstep.c (dummy): New global.
14859 (main): Issue a couple writes to the new global.
14860 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14861 procedures.
14862 (skip_over_handler): Use test_skip_handler.
14863 (top level): Call skip_over_handler for stepi and nexti too.
14864 (breakpoint_over_handler): Use test_skip_handler.
14865 (top level): Call breakpoint_over_handler for stepi and nexti too.
14866
14867 2014-10-27 Yao Qi <yao@codesourcery.com>
14868
14869 * gdb.trace/tfile.c (adjust_function_address)
14870 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14871 function descriptor.
14872
14873 2014-10-24 Don Breazeal <donb@codesourcery.com>
14874
14875 * gdb.base/foll-fork.exp (test_follow_fork,
14876 catch_fork_child_follow): Check for updated fork messages emitted
14877 from infrun.c.
14878 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14879 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14880 vfork_and_exec_child_follow_through_step): Check for updated vfork
14881 messages emitted from infrun.c.
14882
14883 2014-10-24 Pedro Alves <palves@redhat.com>
14884
14885 * gdb.base/corefile.exp: Remove references to ultrix.
14886 * gdb.base/interrupt.exp: Likewise.
14887 * gdb.base/whatis.exp: Likewise.
14888 * gdb.gdb/selftest.exp: Likewise.
14889 * gdb.threads/manythreads.exp: Likewise.
14890 * gdb.threads/print-threads.exp: Likewise.
14891 * gdb.threads/pthreads.exp:: Likewise.
14892 * gdb.threads/schedlock.exp: Likewise.
14893
14894 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14895
14896 * gdb.cp/non-trivial-retval.cc: Add a test case.
14897 * gdb.cp/non-trivial-retval.exp: Add a test.
14898
14899 2014-10-20 Yao Qi <yao@codesourcery.com>
14900
14901 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14902 * gdb.python/py-objfile-script-gdb.py: New file.
14903 * gdb.python/py-objfile-script.exp: Update reference to
14904 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14905 of remote_download. Remove the dest file.
14906
14907 2014-10-20 Yao Qi <yao@codesourcery.com>
14908
14909 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14910 * gdb.base/step-line.exp: Likewise.
14911 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14912 * gdb.dwarf2/dw2-basic.exp: Likewise.
14913 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14914 * gdb.dwarf2/dw2-filename.exp: Likewise.
14915 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14916 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14917 * gdb.dwarf2/dw2-producer.exp: Likewise.
14918 * gdb.dwarf2/mac-fileno.exp: Likewise.
14919 * gdb.python/py-frame-args.exp: Likewise.
14920 * gdb.python/py-framefilter.exp: Likewise.
14921 * gdb.python/py-mi.exp: Likewise.
14922 * gdb.python/py-objfile-script.exp: Likewise
14923 * gdb.python/py-pp-integral.exp: Likewise.
14924 * gdb.python/py-pp-re-notag.exp: Likewise.
14925 * gdb.python/py-prettyprint.exp: Likewise.
14926 * gdb.python/py-section-script.exp: Likewise.
14927 * gdb.python/py-typeprint.exp: Likewise.
14928 * gdb.python/py-xmethods.exp: Likewise.
14929 * gdb.stabs/weird.exp: Likewise.
14930 * gdb.xml/tdesc-regs.exp: Likewise.
14931
14932 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14933
14934 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14935 (out_cu): Use addr_len for the size of addresses.
14936 (out_line): Likewise. Size DW_LNE_set_address instruction
14937 according to addr_len.
14938 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14939 (FUNC): Add START_INSNS to definition.
14940
14941 2014-10-18 Yao Qi <yao@codesourcery.com>
14942
14943 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14944 gdb_has_argv0 return true.
14945 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14946 check [target_info exists noargs], check [gdb_has_argv0]
14947 instead.
14948 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14949 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14950 procedures.
14951
14952 2014-10-17 Doug Evans <dje@google.com>
14953
14954 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14955 event.
14956 * gdb.python/py-events.py: Add clear_objfiles event.
14957
14958 2014-10-17 Doug Evans <dje@google.com>
14959
14960 * gdb.python/py-objfile.exp: Test progspace attribute.
14961
14962 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14963
14964 * gdb.guile/scm-breakpoint.exp: Do not assume any
14965 directory separators when matching source file paths.
14966 * gdb.python/py-breakpoint.exp: Likewise.
14967 * gdb.reverse/break-precsave.exp: Likewise.
14968 * gdb.reverse/break-reverse.exp: Likewise.
14969 * gdb.reverse/consecutive-precsave.exp: Likewise.
14970 * gdb.reverse/finish-precsave.exp: Likewise.
14971 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14972 * gdb.reverse/finish-reverse.exp: Likewise.
14973 * gdb.reverse/i386-precsave.exp: Likewise.
14974 * gdb.reverse/i387-env-reverse.exp: Likewise.
14975 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14976 * gdb.reverse/machinestate-precsave.exp: Likewise.
14977 * gdb.reverse/machinestate.exp: Likewise.
14978 * gdb.reverse/sigall-precsave.exp: Likewise.
14979 * gdb.reverse/solib-precsave.exp: Likewise.
14980 * gdb.reverse/step-precsave.exp: Likewise.
14981 * gdb.reverse/until-precsave.exp: Likewise.
14982 * gdb.reverse/watch-precsave.exp: Likewise.
14983 * gdb.reverse/watch-reverse.exp: Likewise.
14984
14985 2014-10-17 Yao Qi <yao@codesourcery.com>
14986
14987 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14988 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14989
14990 2014-10-17 Pedro Alves <palves@redhat.com>
14991
14992 PR gdb/17471
14993 * gdb.base/bg-execution-repeat.c: New file.
14994 * gdb.base/bg-execution-repeat.exp: New file.
14995
14996 2014-10-17 Pedro Alves <palves@redhat.com>
14997
14998 PR gdb/17300
14999 * gdb.base/continue-all-already-running.c: New file.
15000 * gdb.base/continue-all-already-running.exp: New file.
15001
15002 2014-10-17 Pedro Alves <palves@redhat.com>
15003
15004 PR gdb/17472
15005 * gdb.base/annota-input-while-running.c: New file.
15006 * gdb.base/annota-input-while-running.exp: New file.
15007
15008 2014-10-17 Pedro Alves <palves@redhat.com>
15009
15010 * gdb.base/callfuncs.exp: emove references to osf.
15011 * gdb.base/sigall.exp: Likewise.
15012 * gdb.gdb/selftest.exp: Likewise.
15013 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15014 * gdb.mi/non-stop.c: Likewise.
15015 * gdb.mi/pthreads.c: Likewise.
15016 * gdb.reverse/sigall-precsave.exp: Likewise.
15017 * gdb.reverse/sigall-reverse.exp: Likewise.
15018 * gdb.threads/pthreads.c: Likewise.
15019 * gdb.threads/pthreads.exp: Likewise.
15020
15021 2014-10-17 Yao Qi <yao@codesourcery.com>
15022
15023 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15024 check 'target_info exists noargs'.
15025 (test_command_prompt_position): Likewise.
15026 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15027 Remove "set args".
15028 (progvar_simple_while_test): Likewise.
15029 (progvar_complex_if_while_test): Likewise.
15030 (if_while_breakpoint_command_test): Likewise.
15031 (infrun_breakpoint_command_test): Likewise.
15032 (breakpoint_command_test): Likewise.
15033 (watchpoint_command_test): Likewise.
15034 (bp_deleted_in_command_test): Likewise.
15035 (temporary_breakpoint_commands): Likewise.
15036
15037 2014-10-16 Yao Qi <yao@codesourcery.com>
15038
15039 * gdb.base/remotetimeout.exp: Remove noargs checking.
15040
15041 2014-10-15 Pedro Alves <palves@redhat.com>
15042
15043 PR breakpoints/9649
15044 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15045 * gdb.base/breakpoint-in-ro-region.exp
15046 (probe_target_hardware_step): New procedure.
15047 (top level): Probe hardware stepping and hardware breakpoint
15048 support. Test stepping through a read-only region, with both
15049 "breakpoint auto-hw" on and off and both "always-inserted" on and
15050 off.
15051
15052 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15053
15054 * gdb.dlang/demangle.exp: Update for demangling changes.
15055
15056 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15057
15058 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15059 * gdb.cp/non-trivial-retval.exp: Add new tests.
15060
15061 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15062
15063 PR c++/13403
15064 PR c++/15154
15065 * gdb.cp/non-trivial-retval.cc: New file.
15066 * gdb.cp/non-trivial-retval.exp: New file.
15067
15068 2014-10-15 Yao Qi <yao@codesourcery.com>
15069
15070 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15071 remote host.
15072
15073 2014-10-15 Yao Qi <yao@codesourcery.com>
15074
15075 * gdb.python/py-symbol.exp: Match file base name if host is
15076 remote, otherwise match file name with dir name.
15077 * gdb.python/py-symtab.exp: Likewise.
15078 * gdb.python/python.exp: Likewise.
15079
15080 2014-10-15 Yao Qi <yao@codesourcery.com>
15081
15082 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15083 pattern.
15084 * gdb.python/py-symtab.exp: Likewise.
15085 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15086 locationn.
15087
15088 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15089
15090 * gdb.ada/addr_arith: New testcase.
15091
15092 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15093
15094 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15095 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15096 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15097 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15098
15099 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15100
15101 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15102 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15103 * gdb.arch/stap-eval-lang-ada.exp: New file.
15104
15105 2014-10-14 Yao Qi <yao@codesourcery.com>
15106
15107 * gdb.mi/mi-var-child.c (nothing1): New function.
15108 (nothing2): New function.
15109 (do_children_tests): Set function pointers by nothing1 and
15110 nothing2.
15111 * gdb.mi/mi-var-child.exp: Step over new added statements.
15112 Update test to match the new output.
15113 * gdb.mi/var-cmd.c (nothing1): New function.
15114 (nothing2): New function.
15115 (do_children_tests): Set function pointers by nothing1 and
15116 nothing2.
15117 * gdb.mi/mi-var-display.exp: Update test to match output.
15118 Step to the line specified by $line_dct_nothing.
15119 Increase the number of lines to step.
15120
15121 2014-10-14 Yao Qi <yao@codesourcery.com>
15122
15123 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15124 tests.
15125 * gdb.mi/mi2-var-child.exp: Likewise.
15126
15127 2014-10-13 Doug Evans <dje@google.com>
15128
15129 * gdb.python/py-objfile.exp: Change name of file name test.
15130
15131 2014-10-13 Doug Evans <dje@google.com>
15132
15133 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15134 from the start of the CU.
15135
15136 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15137 Yao Qi <yao@codesourcery.com>
15138
15139 Fix "save breakpoints" for "catch" command.
15140 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15141 Remove -nonewline. Match also the added "main" line.
15142
15143 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15144
15145 Fix "save breakpoints" for "disable $bpnum" command.
15146 * gdb.base/save-bp.c (main): Add label.
15147 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15148
15149 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15150
15151 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15152
15153 2014-10-11 Yao Qi <yao@codesourcery.com>
15154
15155 * gdb.server/server-kill.exp: Execute command
15156 "set remote trace-status-packet on" before "tstatus".
15157
15158 2014-10-11 Yao Qi <yao@codesourcery.com>
15159
15160 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15161 (main): Call getppid.
15162 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15163 and continue to it. Read variable "server_pid".
15164
15165 2014-10-11 Yao Qi <yao@codesourcery.com>
15166
15167 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15168
15169 2014-10-11 Yao Qi <yao@codesourcery.com>
15170
15171 * gdb.threads/thread-find.exp: Don't execute command
15172 "info threads".
15173 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15174 * gdb.threads/linux-dp.exp: Don't check the condition
15175 $threads_created equals to zero.
15176
15177 2014-10-10 Pedro Alves <palves@redhat.com>
15178
15179 * gdb.base/bigcore.exp: Remove references to IRIX.
15180 * gdb.base/funcargs.exp: Likewise.
15181 * gdb.base/interrupt.exp: Likewise.
15182 * gdb.base/mips_pro.exp: Likewise.
15183 * gdb.base/nodebug.exp: Likewise.
15184 * gdb.base/setvar.exp: Likewise.
15185 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15186
15187 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15188 Pedro Alves <palves@redhat.com>
15189
15190 PR symtab/14466
15191 * gdb.base/vdso-warning.c: New file.
15192 * gdb.base/vdso-warning.exp: New file.
15193
15194 2014-10-02 Doug Evans <dje@google.com>
15195
15196 * gdb.base/structs.c (main): Don't run forever.
15197
15198 2014-10-02 Pedro Alves <palves@redhat.com>
15199
15200 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15201 (top level) <stop threads 1, stop threads 2>: Use it.
15202
15203 2014-10-02 Pedro Alves <palves@redhat.com>
15204
15205 * gdb.threads/break-while-running.exp (test): Add new
15206 'update_thread_list' argument. Skip "info threads" if false.
15207 (top level): Add new 'update_thread_list' axis.
15208
15209 2014-10-02 Pedro Alves <palves@redhat.com>
15210
15211 PR breakpoints/17431
15212 * gdb.base/execl-update-breakpoints.c: New file.
15213 * gdb.base/execl-update-breakpoints.exp: New file.
15214
15215 2014-10-01 Pedro Alves <palves@redhat.com>
15216
15217 * gdb.base/breakpoint-in-ro-region.c: New file.
15218 * gdb.base/breakpoint-in-ro-region.exp: New file.
15219
15220 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15221
15222 * gdb.mi/mi-exit-code.exp: New file.
15223 * gdb.mi/mi-exit-code.c: New file.
15224
15225 2014-09-30 Yao Qi <yao@codesourcery.com>
15226
15227 * lib/prelink-support.exp (build_executable_own_libs): Error if
15228 the target isn't native.
15229
15230 2014-09-30 Yao Qi <yao@codesourcery.com>
15231
15232 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15233 false.
15234
15235 2014-09-22 Pedro Alves <palves@redhat.com>
15236
15237 * gdb.threads/break-while-running.exp: New file.
15238 * gdb.threads/break-while-running.c: New file.
15239
15240 2014-09-19 Yao Qi <yao@codesourcery.com>
15241
15242 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15243 Invoke test. Restart GDB with --readnow and invoke test again.
15244
15245 2014-09-19 Yao Qi <yao@codesourcery.com>
15246
15247 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15248 proc set_breakpoint_on_gcd_function. Invoke
15249 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15250 invoke set_breakpoint_on_gcd_function again.
15251
15252 2014-09-18 Doug Evans <dje@google.com>
15253
15254 * gdb.dwarf2/symtab-producer.exp: New file.
15255
15256 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15257
15258 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15259 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15260 * gdb.base/global-var-nested-by-dso.c: Likewise.
15261 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15262
15263 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15264 Pedro Alves <palves@redhat.com>
15265
15266 * gdb.base/watch-bitfields.exp: Pass string other than test file
15267 name to prepare_for_testing.
15268 (watch): New procedure.
15269 (expect_watchpoint): Use with_test_prefix.
15270 (top level): Factor out tests to ...
15271 (test_watch_location, test_regular_watch): ... these new
15272 procedures, and use with_test_prefix and gdb_continue_to_end.
15273
15274 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15275
15276 PR breakpoints/12526
15277 * gdb.base/watch-bitfields.exp: New file.
15278 * gdb.base/watch-bitfields.c: New file.
15279
15280 2014-09-16 Pedro Alves <palves@redhat.com>
15281
15282 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15283 software and hardware addresses, not software address against
15284 itself.
15285
15286 2014-09-16 Pedro Alves <palves@redhat.com>
15287
15288 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15289 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15290
15291 2014-09-16 Pedro Alves <palves@redhat.com>
15292
15293 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15294 files.
15295 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15296 "*-*-vxworks*" throughout.
15297 * gdb.base/break.exp: Likewise.
15298 * gdb.base/default.exp: Likewise.
15299 * gdb.base/scope.exp: Likewise.
15300 * gdb.base/sepdebug.exp: Likewise.
15301 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15302 throughout.
15303 * gdb.base/run.c: Likewise.
15304 * gdb.base/sepdebug.c: Likewise.
15305 * gdb.hp/gdb.aCC/run.c: Likewise.
15306 * gdb.reverse/until-reverse.c: Likewise.
15307 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15308
15309 2014-09-16 Yao Qi <yao@codesourcery.com>
15310
15311 * boards/local-remote-host-native.exp: New file.
15312
15313 2014-09-14 Doug Evans <xdje42@gmail.com>
15314
15315 * gdb.threads/queue-signal.c (thread_count): New variable.
15316 (thread_count_mutex, thread_count_condvar): New variables.
15317 (incr_thread_count, wait_all_threads_running): New functions.
15318 (main): Wait for all threads to be in their thread functions.
15319
15320 2014-09-13 Doug Evans <xdje42@gmail.com>
15321
15322 * gdb.threads/queue-signal.c: New file.
15323 * gdb.threads/queue-signal.exp: New file.
15324
15325 2014-09-13 Doug Evans <xdje42@gmail.com>
15326
15327 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15328 be consistent with what default_gdb_init uses.
15329 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15330 the plain text of the prompt. Add some logging printfs.
15331 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15332
15333 2014-09-12 Pedro Alves <palves@redhat.com>
15334
15335 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15336 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15337 * gdb.arch/i386-size-overlap.exp: Likewise.
15338 * gdb.arch/i386-size.exp: Likewise.
15339 * gdb.arch/i386-unwind.exp: Likewise.
15340 * gdb.base/a2-run.exp: Likewise.
15341 * gdb.base/break.exp: Likewise.
15342 * gdb.base/charset.exp: Likewise.
15343 * gdb.base/chng-syms.exp: Likewise.
15344 * gdb.base/commands.exp: Likewise.
15345 * gdb.base/dbx.exp: Likewise.
15346 * gdb.base/find.exp: Likewise.
15347 * gdb.base/funcargs.exp: Likewise.
15348 * gdb.base/jit-simple.exp: Likewise.
15349 * gdb.base/reread.exp: Likewise.
15350 * gdb.base/sepdebug.exp: Likewise.
15351 * gdb.base/step-bt.exp: Likewise.
15352 * gdb.cp/mb-inline.exp: Likewise.
15353 * gdb.cp/mb-templates.exp: Likewise.
15354 * gdb.objc/basicclass.exp: Likewise.
15355 * gdb.threads/killed.exp: Likewise.
15356
15357 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15358
15359 PR tdep/17379
15360 * gdb.arch/powerpc-stackless.S: New file.
15361 * gdb.arch/powerpc-stackless.exp: New file.
15362
15363 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15364
15365 * gdb.base/attach.c: Include unistd.h.
15366 (main): Call alarm. Add label postloop.
15367 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15368 gdb_breakpoint, gdb_continue_to_breakpoint.
15369 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15370
15371 2014-09-11 Pedro Alves <palves@redhat.com>
15372
15373 PR gdb/17347
15374 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15375 * gdb.base/attach.exp (test_command_line_attach_run): New
15376 procedure.
15377 (top level): Call it.
15378
15379 2014-09-11 Pedro Alves <palves@redhat.com>
15380
15381 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15382 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15383 (do_command_attach_tests): Use spawn_wait_for_attach.
15384 * gdb.base/solib-overlap.exp: Likewise.
15385 * gdb.multi/multi-attach.exp: Likewise.
15386 * gdb.python/py-prompt.exp: Likewise.
15387 * gdb.python/py-sync-interp.exp: Likewise.
15388 * gdb.server/ext-attach.exp: Likewise.
15389
15390 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15391
15392 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15393 command in testcase. Simplify testcase.
15394
15395 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15396
15397 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15398
15399 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15400
15401 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15402
15403 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15404
15405 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15406
15407 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15408
15409 * gdb.dwarf2/dynarr-ptr.c: New file.
15410 * gdb.dwarf2/dynarr-ptr.exp: New file.
15411
15412 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15413
15414 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15415 of 30 rather than hardcoding 120 for a slow test case. Take the
15416 `gdb,timeout' target setting into account for this calculation.
15417 Don't extend the timeout for the test cases that don't need it.
15418
15419 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15420
15421 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15422 a factor of 2 for a slow test case. Take the `gdb,timeout'
15423 target setting into account for this calculation.
15424 * gdb.reverse/until-precsave.exp: Increase the timeout by
15425 a factor of 15 and 3 respectively rather than adding 120
15426 for a pair of slow test cases. Take the `gdb,timeout'
15427 target setting into account for this calculation.
15428
15429 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15430
15431 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15432 timeout, don't pass one down to gdb_expect.
15433 (gdb_expect): Rework timeout selection.
15434
15435 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15436
15437 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15438 exception on timeout.
15439 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15440 (gdbserver_start_extended): Catch any `gdbserver_start' error
15441 exceptions.
15442 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15443 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15444 `gdbserver_gdb_load' error exceptions.
15445
15446 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15447
15448 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15449 120 on waiting for the TCP socket to open.
15450
15451 2014-09-09 Doug Evans <xdje42@gmail.com>
15452
15453 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15454 _caller_matches, _any_caller_is, _any_caller_matches.
15455
15456 2014-09-09 Doug Evans <xdje42@gmail.com>
15457
15458 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15459
15460 2014-09-09 Yao Qi <yao@codesourcery.com>
15461
15462 * gdb.mi/mi-var-display.exp: Set print symbol off.
15463
15464 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15465
15466 PR gdb/17035
15467 * gdb.base/commands.exp: Add tests to verify user-defined
15468 commands with empty bodies.
15469 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15470 python commands in `show user command`.
15471 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15472 scheme commands in `show user command`.
15473
15474 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15475
15476 PR python/17355
15477 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15478 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15479 * gdb.python/py-framefilter-invalidarg.exp: New file.
15480 * gdb.python/py-framefilter-invalidarg.py: New file.
15481
15482 2014-09-06 Doug Evans <xdje42@gmail.com>
15483
15484 PR 15276
15485 * gdb.python/py-caller-is.c: New file.
15486 * gdb.python/py-caller-is.exp: New file.
15487
15488 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15489
15490 PR gdb/17235
15491 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15492 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15493
15494 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15495
15496 PR fortran/17237
15497 * gdb.fortran/print-formatted.exp: New file.
15498 * gdb.fortran/print-formatted.f90: Likewise.
15499
15500 2014-09-03 Sasha Smundak <asmundak@google.com>
15501
15502 * gdb.python/py-frame.exp: Test Frame.read_register.
15503
15504 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15505
15506 PR python/16699
15507 * gdb.python/py-completion.exp: New file.
15508 * gdb.python/py-completion.py: Likewise.
15509
15510 2014-08-28 Doug Evans <dje@google.com>
15511
15512 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15513 eax,etc. are live with values set by gdb and thus the compiler can't
15514 use them.
15515 * gdb.arch/i386-pseudo.c (main): Ditto.
15516
15517 2014-08-27 Doug Evans <dje@google.com>
15518
15519 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15520
15521 2014-08-25 Doug Evans <dje@google.com>
15522
15523 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15524 (main): Ditto.
15525
15526 2014-08-25 Doug Evans <dje@google.com>
15527
15528 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15529
15530 2014-08-24 Yao Qi <yao@codesourcery.com>
15531
15532 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15533 symbol off.
15534 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15535
15536 2014-08-22 Doug Evans <dje@google.com>
15537
15538 PR 17276
15539 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15540 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15541 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15542
15543 2014-08-22 Yao Qi <yao@codesourcery.com>
15544
15545 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15546 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15547 * gdb.python/python.exp: Likewise. Use .py file on the host
15548 instead of the build.
15549
15550 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15551
15552 * gdb.threads/gcore-stale-thread.c: New file.
15553 * gdb.threads/gcore-stale-thread.exp: New file.
15554
15555 2014-08-21 Pedro Alves <palves@redhat.com>
15556
15557 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15558 * gdb.base/gcore-relro-pie.exp: Likewise.
15559 * gdb.base/gcore-relro.exp: Likewise.
15560 * gdb.base/gcore.exp: Likewise.
15561 * gdb.base/print-symbol-loading.exp: Likewise.
15562 * gdb.threads/gcore-thread.exp: Likewise.
15563 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15564
15565 2014-08-20 Pedro Alves <palves@redhat.com>
15566 Jan Kratochvil <jan.kratochvil@redhat.com>
15567
15568 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15569 configure.
15570 (EXPECT): Handle READ1 being set.
15571 (all): Depend on EXTRA_RULES.
15572 (check-read1, expect-read1, read1.so, read1): New rules.
15573 * README (Testsuite Parameters): Document the READ1 make variable.
15574 (Race detection): New section.
15575 * configure: Regenerate.
15576 * configure.ac: If build==host==target, and running under a
15577 GNU/glibc system, add read1 to the extra Makefile rules.
15578 (EXTRA_RULES): AC_SUBST it.
15579 * lib/read1.c: New file.
15580
15581 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15582
15583 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15584 the handling of variables declared as a typedef to an array
15585 which a DW_AT_data_location attribute.
15586
15587 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15588 Pedro Alves <palves@redhat.com>
15589
15590 PR symtab/14604
15591 PR symtab/14605
15592 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15593 gdb_test.
15594
15595 2014-08-19 Pedro Alves <palves@redhat.com>
15596
15597 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15598
15599 2014-08-19 Yao Qi <yao@codesourcery.com>
15600
15601 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15602 right line.
15603
15604 2014-08-18 David Blaikie <dblaikie@gmail.com>
15605
15606 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15607
15608 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15609
15610 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15611 attribute in array range.
15612
15613 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15614
15615 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15616
15617 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15618
15619 PR c++/17132
15620 * gdb.cp/pr17132.cc: New file.
15621 * gdb.cp/pr17132.exp: New file.
15622
15623 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15624
15625 * gdb.python/py-xmethods.py (A_getarrayind)
15626 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15627 Use 'print' with function call syntax.
15628 (E_method_matcher.match): Fix tab vs space indentation mixup.
15629
15630 2014-08-15 Yao Qi <yao@codesourcery.com>
15631
15632 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15633 false.
15634
15635 2014-08-15 Yao Qi <yao@codesourcery.com>
15636
15637 * gdb.cp/casts.exp: Set print symbol off.
15638 * gdb.cp/class2.exp: Likewise.
15639 * gdb.cp/overload.exp: Likewise.
15640 * gdb.cp/templates.exp: Likewise.
15641
15642 2014-08-11 Doug Evans <dje@google.com>
15643
15644 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15645 (test_load_shlib): Update.
15646
15647 2014-08-09 Yao Qi <yao@codesourcery.com>
15648
15649 * gdb.base/display.exp: Invoke is_address_zero_readable.
15650 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15651 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15652 * gdb.base/hbreak-unmapped.exp: Return if
15653 is_address_zero_readable returns true.
15654 * gdb.base/signest.exp: Likewise.
15655 * gdb.base/signull.exp: Likewise.
15656 * gdb.base/sigbpt.exp: Likewise.
15657 * gdb.guile/scm-disasm.exp: Do the test if
15658 is_address_zero_readable returns false.
15659 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15660 * gdb.python/py-arch.exp: Likewise.
15661 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15662 * lib/gdb.exp (is_address_zero_readable): New proc.
15663
15664 2014-08-09 Yao Qi <yao@codesourcery.com>
15665
15666 PR testsuite/13443
15667 * gdb.mi/mi-var-display.exp: Make test messages unique.
15668
15669 2014-08-04 Tom Tromey <tromey@redhat.com>
15670
15671 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15672 target 0".
15673
15674 2014-08-04 Tom Tromey <tromey@redhat.com>
15675
15676 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15677 "target_resume".
15678
15679 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15680
15681 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15682 inner_vla_struct_object_size.
15683 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15684 as xfail.
15685
15686 2014-07-30 Pedro Alves <palves@redhat.com>
15687
15688 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15689 comment.
15690
15691 2014-07-29 Yao Qi <yao@codesourcery.com>
15692
15693 PR gdb/17206
15694 * gdb.base/until-nodebug.exp: New.
15695
15696 2014-07-28 Doug Evans <xdje42@gmail.com>
15697
15698 PR guile/17203
15699 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15700 previously existing parameter, and previously ambiguously spelled
15701 parameter.
15702
15703 2014-07-28 Will Newton <will.newton@linaro.org>
15704
15705 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15706
15707 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15708 Doug Evans <xdje42@gmail.com>
15709
15710 PR guile/17146
15711 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15712
15713 2014-07-25 Pedro Alves <palves@redhat.com>
15714
15715 * gdb.threads/signal-command-handle-nopass.c: New file.
15716 * gdb.threads/signal-command-handle-nopass.exp: New file.
15717 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15718 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15719 * gdb.threads/signal-delivered-right-thread.c: New file.
15720 * gdb.threads/signal-delivered-right-thread.exp: New file.
15721
15722 2014-07-25 Pedro Alves <palves@redhat.com>
15723
15724 * gdb.base/double-prompt-target-event-error.exp
15725 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15726 match.
15727 (cancel_pagination_in_target_event): Rework double prompt
15728 detection.
15729 * gdb.base/paginate-after-ctrl-c-running.exp
15730 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15731 <return>' match.
15732 * gdb.base/paginate-bg-execution.exp
15733 (test_bg_execution_pagination_return)
15734 (test_bg_execution_pagination_cancel): Remove '-notransfer
15735 <return>' matches.
15736 * gdb.base/paginate-execution-startup.exp
15737 (test_fg_execution_pagination_return)
15738 (test_fg_execution_pagination_cancel): Remove '-notransfer
15739 <return>' matches.
15740 * gdb.base/paginate-inferior-exit.exp
15741 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15742 match.
15743 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15744 * lib/gdb.exp (pagination_prompt): Run text through
15745 string_to_regexp.
15746 (gdb_test_multiple): Match $pagination_prompt instead of
15747 "<return>".
15748 (string_to_regexp): Move to lib/gdb-utils.exp.
15749
15750 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15751
15752 * gdb.arch/amd64-entry-value-paramref.S: New file.
15753 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15754 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15755 * gdb.arch/amd64-optimout-repeat.S: New file.
15756 * gdb.arch/amd64-optimout-repeat.c: New file.
15757 * gdb.arch/amd64-optimout-repeat.exp: New file.
15758
15759 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15760
15761 PR gdb/17170
15762 * gdb.base/statistics.exp: New file.
15763
15764 2014-07-17 Doug Evans <dje@google.com>
15765
15766 PR gdb/17170
15767 * gdb.base/maint.exp: Update testing of per-command stats.
15768
15769 2014-07-16 Pedro Alves <palves@redhat.com>
15770
15771 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15772 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15773 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15774 (tfile_write_buf): New functions.
15775 (add_memory_block): Rewrite using the above.
15776 (adjust_function_address): New function.
15777 (FUNCTION_ADDRESS): New macro.
15778 (write_basic_trace_file): Remove short_x local, and use
15779 tfile_write_16. Change type of func_addr local to unsigned long
15780 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15781 here. Cast argument of add_memory_block to char pointer.
15782 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15783 (main): Remove parameters.
15784 * gdb.trace/tfile.exp: Remove nowarnings.
15785
15786 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15787
15788 * gdb.base/debug-expr.exp: Test string evaluation with
15789 "debug expression" on.
15790
15791 2014-07-15 Pedro Alves <palves@redhat.com>
15792
15793 * gdb.base/reread.exp: Use clean_restart.
15794
15795 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15796
15797 * gdb.arch/avr-flash-qualifer.c: New.
15798 * gdb.arch/avr-flash-qualifer.exp: New.
15799
15800 2014-07-14 Pedro Alves <palves@redhat.com>
15801
15802 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15803 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15804
15805 2014-07-14 Pedro Alves <palves@redhat.com>
15806
15807 * gdb.base/double-prompt-target-event-error.c: New file.
15808 * gdb.base/double-prompt-target-event-error.exp: New file.
15809
15810 2014-07-14 Pedro Alves <palves@redhat.com>
15811
15812 PR gdb/17072
15813 * gdb.base/paginate-inferior-exit.c: New file.
15814 * gdb.base/paginate-inferior-exit.exp: New file.
15815
15816 2014-07-14 Pedro Alves <palves@redhat.com>
15817
15818 PR gdb/17072
15819 * gdb.base/paginate-bg-execution.c: New file.
15820 * gdb.base/paginate-bg-execution.exp: New file.
15821
15822 2014-07-14 Pedro Alves <palves@redhat.com>
15823
15824 PR gdb/17072
15825 * gdb.base/paginate-execution-startup.c: New file.
15826 * gdb.base/paginate-execution-startup.exp: New file.
15827 * lib/gdb.exp (pagination_prompt): New global.
15828 (default_gdb_spawn): New procedure, factored out from
15829 default_gdb_spawn.
15830 (default_gdb_start): Adjust to call default_gdb_spawn.
15831 (gdb_spawn): New procedure.
15832
15833 2014-07-14 Pedro Alves <palves@redhat.com>
15834
15835 * lib/gdb.exp (gdb_assert): New procedure.
15836 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15837
15838 2014-07-14 Pedro Alves <palves@redhat.com>
15839
15840 * gdb.base/execution-termios.c: New file.
15841 * gdb.base/execution-termios.exp: New file.
15842
15843 2014-07-14 Tom Tromey <tromey@redhat.com>
15844
15845 * gdb.cp/vla-cxx.cc: New file.
15846 * gdb.cp/vla-cxx.exp: New file.
15847
15848 2014-07-14 Tom Tromey <tromey@redhat.com>
15849
15850 * gdb.reverse/rerun-prec.c: New file.
15851 * gdb.reverse/rerun-prec.exp: New file.
15852
15853 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15854 Maciej W. Rozycki <macro@codesourcery.com>
15855
15856 * lib/gdb-utils.exp: New file.
15857 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15858 inline `gdb_init_command' processing.
15859 (gdb_start_cmd): Likewise.
15860 * lib/mi-support.exp (mi_run_cmd): Likewise.
15861 * README: Document `gdb_init_command' and `gdb_init_commands'.
15862
15863 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15864
15865 Fix false FAIL running under a very long directory name.
15866 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15867 and "set print elements 10000". Twice.
15868
15869 2014-07-11 Yao Qi <yao@codesourcery.com>
15870
15871 * gdb.base/exprs.exp: "set print symbol off".
15872
15873 2014-07-11 Pedro Alves <palves@redhat.com>
15874
15875 * gdb.threads/kill.c: New file.
15876 * gdb.threads/kill.exp: New file.
15877
15878 2014-07-10 Yao Qi <yao@codesourcery.com>
15879
15880 * gdb.trace/tfile.c (write_basic_trace_file)
15881 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15882 address written to trace file.
15883
15884 2014-07-09 Pedro Alves <palves@redhat.com>
15885
15886 * gdb.base/attach-wait-input.exp: New file.
15887 * gdb.base/attach-wait-input.c: New file.
15888
15889 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15890
15891 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15892 setting up test structures.
15893 (main): Call new test function.
15894 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15895 test function, continue into test function and walk test
15896 structures.
15897
15898 2014-07-02 Yao Qi <yao@codesourcery.com>
15899
15900 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15901 'bar_start' at the beginning of functions 'foo' and 'bar'
15902 respectively.
15903 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15904 instead of 'foo' and 'bar'.
15905
15906 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15907
15908 * gdb.btrace/segv.exp: New.
15909 * gdb.btrace/segv.c: New.
15910
15911 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15912
15913 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15914 instruction.
15915
15916 2014-06-30 Mark Wielaard <mjw@redhat.com>
15917
15918 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15919 vulture, vilify, villar): New volatile array constants.
15920 (vindictive, vegetation): New const volatile array constants.
15921 * gdb.base/volatile.exp: Test volatile and const volatile array
15922 types.
15923
15924 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15925
15926 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15927 target lacks support for awatch, rwatch, or hbreak.
15928
15929 2014-06-27 Yao Qi <yao@codesourcery.com>
15930
15931 * gdb.multi/dummy-frame-restore.exp: New.
15932 * gdb.multi/dummy-frame-restore.c: New.
15933
15934 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15935
15936 * gdb.btrace/gcore.exp: New.
15937
15938 2014-06-23 Pedro Alves <palves@redhat.com>
15939
15940 * gdb.base/watchpoint-reuse-slot.c: New file.
15941 * gdb.base/watchpoint-reuse-slot.exp: New file.
15942
15943 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15944
15945 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15946 progspace's filename in 'info', 'enable' and 'disable' command
15947 tests.
15948
15949 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15950
15951 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15952 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15953 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15954
15955 2014-06-20 Gary Benson <gbenson@redhat.com>
15956
15957 * gdb.arch/i386-avx.exp: Fix include file location.
15958 * gdb.arch/i386-sse.exp: Likewise.
15959
15960 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15961
15962 * gdb.dlang/expression.exp: New file.
15963
15964 2014-06-19 Pedro Alves <palves@redhat.com>
15965
15966 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15967 out from ...
15968 (top level): ... here. Iterate running tests under different
15969 scheduler-locking settings.
15970
15971 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15972
15973 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15974 to DW_FORM_addr and use non-zero addresses.
15975
15976 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15977
15978 PR gdb/17017
15979 * gdb.python/py-xmethods.cc: Add global function call counters and
15980 increment them in their respective functions. Remove "cout"
15981 statements.
15982 * gdb.python/py-xmethods.exp: Make tests check the global function
15983 call counters instead of depending on inferior IO.
15984
15985 2014-06-18 Don Breazeal <donb@codesourcery.com>
15986
15987 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15988 Deleted procedure.
15989 (explicit_fork_parent_follow): Deleted procedure.
15990 (explicit_fork_child_follow): Deleted procedure.
15991 (test_follow_fork): New procedure.
15992 (do_fork_tests): Replace calls to deleted procedures with
15993 calls to test_follow_fork and reset GDB for subsequent
15994 procedure calls.
15995
15996 2014-06-17 Yao Qi <yao@codesourcery.com>
15997
15998 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15999 CP1252.
16000
16001 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16002
16003 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16004 Initialize ptr and S explicitly.
16005 (skip_type_update_when_not_use_rtti_test): Likewise.
16006
16007 2014-06-16 Keith Seitz <keiths@redhat.com>
16008
16009 PR mi/15863
16010 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16011 the inferior is started.
16012
16013 2014-06-16 Pedro Alves <palves@redhat.com>
16014
16015 * gdb.base/break-main-file-remove-fail.c: New file.
16016 * gdb.base/break-main-file-remove-fail.exp: New file.
16017 * gdb.base/break-unload-file.exp: Use build_executable instead of
16018 prepare_for_testing.
16019 (test_break): New parameter "initial_load". Handle it.
16020 (top level): Add initial_load cmdline/file axis.
16021
16022 2014-06-12 Tom Tromey <tromey@redhat.com>
16023
16024 * gdb.base/completion.exp: Don't use directory name in test.
16025
16026 2014-06-09 Gary Benson <gbenson@redhat.com>
16027
16028 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16029 separate the always-available ANSI-standard signals from the
16030 signals that require checking.
16031 (main): Likewise.
16032 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16033 Likewise.
16034 (main): Likewise.
16035
16036 2014-06-07 Keith Seitz <keiths@redhat.com>
16037
16038 Revert:
16039 PR c++/16253
16040 * gdb.cp/var-tag.cc: New file.
16041 * gdb.cp/var-tag.exp: New file.
16042 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16043 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16044 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16045 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16046
16047 2014-06-06 Doug Evans <xdje42@gmail.com>
16048
16049 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16050
16051 2014-06-06 Pedro Alves <palves@redhat.com>
16052
16053 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16054 in target debug output instead of looking at RSP packets,
16055 disabling the test on any target that uses hardware stepping.
16056 Update comments.
16057
16058 2014-06-06 Pedro Alves <palves@redhat.com>
16059
16060 * gdb.base/break-unload-file.exp: Fix typo.
16061
16062 2014-06-06 Yao Qi <yao@codesourcery.com>
16063
16064 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16065 from "jit_function" to "^jit_function".
16066
16067 2014-06-06 Yao Qi <yao@codesourcery.com>
16068
16069 * gdb.base/async.c (foo): Add one statement.
16070 * gdb.base/async.exp: Get the next instruction address and
16071 match the output of "nexti" by instruction address. Match
16072 the hex address in the output of "finish".
16073
16074 2014-06-06 Gary Benson <gbenson@redhat.com>
16075
16076 * gdb.base/call-signals.c: Remove preprocessor conditionals
16077 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16078 SIGSEGV and SIGTERM.
16079 * gdb.base/sigall.c: Likewise.
16080 * gdb.base/unwindonsignal.c: Likewise.
16081 * gdb.reverse/sigall-reverse.c: Likewise.
16082
16083 2014-06-06 Yao Qi <yao@codesourcery.com>
16084
16085 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16086 readable, skip the test.
16087
16088 2014-06-06 Yao Qi <yao@codesourcery.com>
16089
16090 * gdb.threads/staticthreads.c (thread_function): Move the line
16091 setting breakpoint on forward.
16092 * gdb.threads/staticthreads.exp: Update comments.
16093
16094 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16095
16096 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16097 "history-append! type error".
16098
16099 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16100
16101 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16102 erroneous dprintf expected input.
16103
16104 2014-06-04 Doug Evans <xdje42@gmail.com>
16105
16106 * gdb.guile/scm-generics.exp: Delete.
16107
16108 2014-06-04 Doug Evans <xdje42@gmail.com>
16109
16110 * gdb.guile/scm-breakpoint.exp: Update.
16111 Add tests for breakpoint registration.
16112
16113 2014-06-04 Tom Tromey <tromey@redhat.com>
16114
16115 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16116 VLA-in-union.
16117 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16118 inner_vla_struct, vla_union types. Initialize objects of those
16119 types and compute their sizes.
16120
16121 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16122 Hui Zhu <hui@codesourcery.com>
16123
16124 * gdb.base/fileio.exp: Add test for shell not available as well as
16125 available.
16126 * gdb.base/fileio.c (test_system): Check for shell twice.
16127
16128 2014-06-04 Yao Qi <yao@codesourcery.com>
16129
16130 * gdb.base/auto-connect-native-target.exp: Remove redundant
16131 space from the regexp pattern.
16132
16133 2014-06-04 Yao Qi <yao@codesourcery.com>
16134
16135 * gdb.base/default.exp: Replace "child" with "native" in
16136 regexp pattern.
16137
16138 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16139
16140 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16141 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16142 * gdb.python/py-xmethods.py: Python script supporting the
16143 new testcase and tests.
16144
16145 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16146 Pedro Alves <palves@redhat.com>
16147
16148 PR breakpoints/17000
16149 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16150 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16151
16152 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16153
16154 * gdb.base/subst.exp: Add tests to verify partial path matching
16155 output.
16156
16157 2014-06-03 Pedro Alves <palves@redhat.com>
16158
16159 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16160 target that doesn't use software single-stepping.
16161
16162 2014-06-03 Pedro Alves <palves@redhat.com>
16163
16164 PR breakpoints/17000
16165 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16166 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16167
16168 2014-06-02 Doug Evans <xdje42@gmail.com>
16169
16170 * gdb.guile/scm-parameter.exp: New file.
16171
16172 2014-06-02 Doug Evans <xdje42@gmail.com>
16173
16174 * gdb.guile/scm-cmd.c: New file.
16175 * gdb.guile/scm-cmd.exp: New file.
16176
16177 2014-06-02 Doug Evans <xdje42@gmail.com>
16178
16179 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16180 pretty-printer lookup.
16181 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16182 (make-pp_s-printer): Call it.
16183 (make-pretty-printer-from-dict): New function.
16184 (lookup-pretty-printer-maker-from-dict): New function.
16185 (*pretty-printer*): Simplify.
16186 (make-objfile-pp_s-printer): New function.
16187 (install-objfile-pretty-printers!): New function.
16188 (make-progspace-pp_s-printer): New function.
16189 (install-progspace-pretty-printers!): New function.
16190 * gdb.guile/scm-progspace.c: New file.
16191 * gdb.guile/scm-progspace.exp: New file.
16192
16193 2014-06-02 Pedro Alves <palves@redhat.com>
16194
16195 * gdb.base/dprintf-bp-same-addr.c: New file.
16196 * gdb.base/dprintf-bp-same-addr.exp: New file.
16197
16198 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16199
16200 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16201 * gdb.arch/powerpc-power.s: Likewise.
16202
16203 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16204
16205 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16206
16207 2014-06-01 Yao Qi <yao@codesourcery.com>
16208
16209 * gdb.base/watchpoint.exp (test_watch_location): Check null
16210 pointer can be dereferenced. If not, do the test, otherwise
16211 skip it.
16212
16213 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16214
16215 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16216 results.
16217 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16218
16219 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16220
16221 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16222 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16223 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16224 * gdb.arch/amd64-invalid-stack-top.c: New file.
16225 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16226
16227 2014-05-30 Pedro Alves <palves@redhat.com>
16228
16229 PR breakpoints/17000
16230 * gdb.base/sss-bp-on-user-bp.c: New file.
16231 * gdb.base/sss-bp-on-user-bp.exp: New file.
16232
16233 2014-05-30 David Blaikie <dblaikie@gmail.com>
16234
16235 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16236 gnu_inline semantics via attribute.
16237 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16238 source explicitly specifies the required semantics.
16239
16240 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16241
16242 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16243
16244 2014-05-29 Pedro Alves <palves@redhat.com>
16245 Tom Tromey <tromey@redhat.com>
16246
16247 * gdb.base/async-shell.exp: Don't enable target-async.
16248 * gdb.base/async.exp
16249 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16250 parameter. Adjust.
16251 (top level): Don't test with "target-async".
16252 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16253 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16254 * gdb.base/inferior-died.exp: Don't enable target-async.
16255 * gdb.base/interrupt-noterm.exp: Likewise.
16256 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16257 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16258 * gdb.mi/mi-nonstop.exp: Likewise.
16259 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16260 * gdb.mi/mi-nsintrall.exp: Likewise.
16261 * gdb.mi/mi-nsmoribund.exp: Likewise.
16262 * gdb.mi/mi-nsthrexec.exp: Likewise.
16263 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16264 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16265 * gdb.python/py-evsignal.exp: Don't enable target-async.
16266 * gdb.python/py-evthreads.exp: Likewise.
16267 * gdb.python/py-prompt.exp: Likewise.
16268 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16269 * gdb.server/solib-list.exp: Don't enable target-async.
16270 * gdb.threads/thread-specific-bp.exp: Likewise.
16271 * lib/mi-support.exp: Adjust to use mi-async.
16272
16273 2014-05-29 Pedro Alves <palves@redhat.com>
16274
16275 PR gdb/13860
16276 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16277 reason, even in sync mode.
16278
16279 2014-05-29 Pedro Alves <palves@redhat.com>
16280 Hui Zhu <hui@codesourcery.com>
16281
16282 PR PR15693
16283 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16284 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16285 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16286 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16287
16288 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16289
16290 * config/monitor.exp (gdb_target_monitor): Replace use of
16291 "set remotebaud" by "set serial baud".
16292
16293 2014-05-26 Andy Wingo <wingo@igalia.com>
16294
16295 * gdb.guile/scm-breakpoint.exp:
16296 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16297 properties instead of gdb-object-properties.
16298
16299 2014-05-26 Yao Qi <yao@codesourcery.com>
16300
16301 * gdb.server/no-thread-db.exp: Specify source file name
16302 explicitly when setting a breakpoint.
16303
16304 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16305
16306 * gdb.btrace/vdso.c: New.
16307 * gdb.btrace/vdso.exp: New.
16308
16309 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16310
16311 * gdb.base/gcore.exp (capture_command_output): Move ...
16312 * lib/gdb.exp (capture_command_output): ... here.
16313
16314 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16315
16316 * gdb.btrace/data.exp: Test memory access during btrace replay.
16317
16318 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16319
16320 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16321
16322 2014-05-21 Pedro Alves <palves@redhat.com>
16323
16324 PR gdb/13860
16325 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16326 (top level): Test that output related to execution commands is
16327 sent to the console with CLI commands, but not with MI commands.
16328 Test that breakpoint events are always mirrored to the console.
16329 Also expect the new source line to be output after a "next" in
16330 async mode too. Make it a pass/fail test.
16331 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16332 output.
16333 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16334
16335 2014-05-21 Pedro Alves <palves@redhat.com>
16336
16337 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16338 Use them to test variations of "list" after reaching a breakpoint.
16339 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16340 Test "list" with listsize 10 after reaching a breakpoint.
16341 * gdb.python/python.exp (decode_line current location line
16342 number): Adjust expected line number.
16343
16344 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16345
16346 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16347 behavior for $args, pass it directly to "run".
16348
16349 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16350
16351 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16352 30000 to 65536.
16353
16354 2014-05-21 Pedro Alves <palves@redhat.com>
16355
16356 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16357 auto-connect-native-target off".
16358 * gdb.base/auto-connect-native-target.c: New file.
16359 * gdb.base/auto-connect-native-target.exp: New file.
16360
16361 2014-05-21 Pedro Alves <palves@redhat.com>
16362
16363 * gdb.base/default.exp: Test "target native" instead of "target
16364 child".
16365
16366 2014-05-21 Mark Wielaard <mjw@redhat.com>
16367
16368 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16369
16370 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16371
16372 Fix TLS access for -static -pthread.
16373 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16374 <HAVE_TLS> (thread_function, main): Initialize it.
16375 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16376 Add clean_restart.
16377 <$have_tls != "">: Check TLSVAR.
16378
16379 2014-05-21 Pedro Alves <palves@redhat.com>
16380
16381 * gdb.base/dcache-line-read-error.c: New.
16382 * gdb.base/dcache-line-read-error.exp: New.
16383
16384 2014-05-20 Pedro Alves <palves@redhat.com>
16385
16386 * gdb.base/compare-sections.c: New file.
16387 * gdb.base/compare-sections.exp: New file.
16388
16389 2014-05-20 Pedro Alves <palves@redhat.com>
16390
16391 * gdb.base/break-idempotent.c: New file.
16392 * gdb.base/break-idempotent.exp: New file.
16393
16394 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16395
16396 * gdb.btrace/nohist.exp: New.
16397
16398 2014-05-20 Yao Qi <yao@codesourcery.com>
16399
16400 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16401 gdb.reverse directory and gdb_reverse_timeout exists in board
16402 setting.
16403 * README: Document gdb_reverse_timeout.
16404
16405 2014-05-20 Yao Qi <yao@codesourcery.com>
16406
16407 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16408 'test_file_name'. Treat args as a string instead of a list.
16409 (gdb_init): Rename argument 'args' by 'test_file_name'.
16410
16411 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16412
16413 * gdb.arch/powerpc-power.exp: New file.
16414 * gdb.arch/powerpc-power.s: New file.
16415
16416 2014-05-16 Doug Evans <dje@google.com>
16417
16418 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16419 * gdb.base/completion.exp: Check that all expected files exist
16420 before doing file completion.
16421
16422 2014-05-16 Doug Evans <dje@google.com>
16423
16424 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16425 Update.
16426 (do_syscall_tests_without_xml): Update.
16427
16428 2014-05-16 Pedro Alves <palves@redhat.com>
16429
16430 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16431 instead of "unknown output after running".
16432
16433 2014-05-16 Yao Qi <yao@codesourcery.com>
16434
16435 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16436 file1.txt from host at the end.
16437 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16438
16439 2014-05-15 Doug Evans <dje@google.com>
16440
16441 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16442 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16443 loading file. Add test for TU lookup.
16444
16445 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16446
16447 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16448 calling "-exec-arguments" or "set args" before running the
16449 inferior.
16450
16451 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16452
16453 * lib/mi-support.exp (mi_expect_stop): Expect message for
16454 inferiors that exit with non-zero exit code.
16455
16456 2014-05-14 Yao Qi <yao@codesourcery.com>
16457
16458 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16459 match absolute path on remote host.
16460 (test_file_list_exec_source_files): Remove "/" from the
16461 pattern.
16462
16463 2014-05-14 Yao Qi <yao@codesourcery.com>
16464
16465 * boards/local-remote-host-notty.exp (${board}_file): New
16466 proc.
16467
16468 2014-05-07 Kyle McMartin <kyle@redhat.com>
16469
16470 Pushed by Joel Brobecker <brobecker@adacore.com>.
16471 * gdb.arch/aarch64-atomic-inst.c: New file.
16472 * gdb.arch/aarch64-atomic-inst.exp: New file.
16473
16474 2014-05-07 Yao Qi <yao@codesourcery.com>
16475
16476 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16477 in current context" too.
16478
16479 2014-05-05 Keith Seitz <keiths@redhat.com>
16480
16481 * gdb.linespec/ls-dollar.exp: Add test for linespec
16482 file:convenience_variable.
16483
16484 2014-05-05 Yao Qi <yao@codesourcery.com>
16485
16486 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16487 traceframes into tfile and ctf trace files. Read data from
16488 trace file and test collected data.
16489 (gdb_collect_locals_test): Likewise.
16490 (gdb_unavailable_registers_test): Likewise.
16491 (gdb_unavailable_floats): Likewise.
16492 (gdb_collect_globals_test): Likewise.
16493 (top-level): Append "ctf" to trace_file_targets if GDB
16494 supports.
16495
16496 2014-05-05 Yao Qi <yao@codesourcery.com>
16497
16498 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16499 code to ...
16500 (gdb_collect_args_test_1): ... it. New proc.
16501 (gdb_collect_locals_test): Move some code to ...
16502 (gdb_collect_locals_test_1): ... it. New proc.
16503 (gdb_unavailable_registers_test): Move some code to ...
16504 (gdb_unavailable_registers_test_1): ... it. New proc.
16505 (gdb_unavailable_floats): Move some code to ...
16506 (gdb_unavailable_floats_1): ... it. New proc.
16507
16508 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16509
16510 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16511 probes to test for bitness recognition.
16512 * gdb.arch/amd64-stap-optional-prefix.exp
16513 (test_probe_value_without_reg): New procedure.
16514 Add code to test for different kinds of bitness.
16515
16516 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16517
16518 PR breakpoints/16889
16519 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16520 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16521
16522 2014-05-01 Pedro Alves <palves@redhat.com>
16523
16524 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16525 gdb_file_cmd if no file is specified.
16526 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16527 last_loaded_file to set the remote exec-file.
16528
16529 2014-05-01 Pedro Alves <palves@redhat.com>
16530
16531 * boards/local-remote-host.exp: New file.
16532
16533 2014-05-01 Pedro Alves <palves@redhat.com>
16534
16535 * boards/local-remote-host.exp: Rename to ...
16536 * boards/local-remote-host-notty.exp: ... this.
16537
16538 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16539
16540 * gdb.ada/dyn_arrayidx: New testcase.
16541
16542 2014-04-26 Yao Qi <yao@codesourcery.com>
16543
16544 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16545 and compute the length of function main. Save it in
16546 $main_length.
16547 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16548 (top-level): Use gdb_compile to compile objects into
16549 executable and restart GDB. Remove invocation to
16550 prepare_for_testing.
16551
16552 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16553 Pedro Alves <palves@redhat.com>
16554
16555 PR server/16255
16556 * gdb.multi/multi-attach.c: New file.
16557 * gdb.multi/multi-attach.exp: New file.
16558
16559 2014-04-25 Pedro Alves <palves@redhat.com>
16560
16561 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16562 user.
16563 (top level): Test that "set remote conditional-breakpoints-packet
16564 off" works as intended.
16565 * gdb.base/dprintf.exp: Test that "set remote
16566 breakpoint-commands-packet off" works as intended.
16567 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16568 New function.
16569 (top level): Call it.
16570 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16571 remote fast-tracepoints-packet off" works as intended.
16572 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16573 * lib/gdb.exp (gdb_is_target_remote): ... here.
16574
16575 2014-04-24 David Blaikie <dblaikie@gmail.com>
16576
16577 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16578 ensure clang would not discard them.
16579 * gdb.base/gdbvars.c: Ditto.
16580 * gdb.base/memattr.c: Ditto.
16581 * gdb.base/whatis.c: Ditto.
16582 * gdb.python/py-prettyprint.c: Ditto.
16583 * gdb.trace/actions.c: Ditto.
16584 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16585 ensure clang would not discard it.
16586
16587 2014-04-24 David Blaikie <dblaikie@gmail.com>
16588
16589 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16590 clang to emit the full definition of type required by the test
16591 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16592
16593 2014-04-24 David Blaikie <dblaikie@gmail.com>
16594
16595 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16596 coax Clang into emitting the definition of the type.
16597 * gdb.cp/pr10728-x.h (y): Ditto.
16598 * gdb.cp/pr10728-y.cc (y): Ditto.
16599
16600 2014-04-24 David Blaikie <dblaikie@gmail.com>
16601
16602 * gdb.base/label.exp: XFAIL label related tests under Clang.
16603 * gdb.cp/cplabel.exp: Ditto.
16604 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16605 under Clang those using labels.
16606
16607 2014-04-25 Yao Qi <yao@codesourcery.com>
16608
16609 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16610 double_label.
16611 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16612 partial_label and double_label.
16613
16614 2014-04-24 David Blaikie <dblaikie@gmail.com>
16615
16616 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16617
16618 2014-04-24 David Blaikie <dblaikie@gmail.com>
16619
16620 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16621 of the function to work across GCC and Clang.
16622 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16623 pointer types (const void ** const V void **).
16624
16625 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16626 Walfred Tedeschi <walfred.tedeschi@intel.com>
16627
16628 * Makefile.in (EXECUTABLES): Added i386-avx512.
16629 * gdb.arch/i386-avx512.c: New file.
16630 * gdb.arch/i386-avx512.exp: Likewise.
16631
16632 2014-04-23 Keith Seitz <keiths@redhat.com>
16633
16634 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16635 (mi_make_breakpoint_table): New procedure.
16636 (mi_create_breakpoint): Use mi_make_breakpoint
16637 and return the result.
16638 (mi_make_breakpoint): New procedure.
16639 (mi_build_kv_pairs): New procedure.
16640
16641 * gdb.mi/mi-break.exp: Remove unused globals,
16642 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16643 All callers updated.
16644 * gdb.mi/mi-dprintf.exp: Use variable to track command
16645 number.
16646 Update all callers of mi_create_breakpoint and use
16647 mi_make_breakpoint_table.
16648 Remove any unused global variables.
16649 * gdb.mi/mi-nonstop.exp: Likewise.
16650 * gdb.mi/mi-nsintrall.exp: Likewise.
16651 * gdb.mi/mi-nsmoribund.exp: Likewise.
16652 * gdb.mi/mi-nsthrexec.exp: Likewise.
16653 * gdb.mi/mi-reverse.exp: Likewise.
16654 * gdb.mi/mi-simplerun.exp: Likewise.
16655 * gdb.mi/mi-stepn.exp: Likewise.
16656 * gdb.mi/mi-syn-frame.exp: Likewise.
16657 * gdb.mi/mi-until.exp: Likewise.
16658 * gdb.mi/mi-var-cp.exp: Likewise.
16659 * gdb.mi/mi-var-display.exp: Likewise.
16660 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16661 * gdb.mi/mi2-var-child.exp: Likewise.
16662 * gdb.mi/mi-vla-c99.exp: Likewise.
16663 * lib/mi-support.exp: Likewise.
16664
16665 From Ian Lance Taylor <iant@cygnus.com>:
16666 * lib/gdb.exp (parse_args): New procedure.
16667
16668 2014-04-23 Pedro Alves <palves@redhat.com>
16669
16670 * gdb.base/break-unload-file.c: New file.
16671 * gdb.base/break-unload-file.exp: New file.
16672 * gdb.base/sym-file-lib.c (baz): New function.
16673 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16674 field.
16675 (load): Store the segment's mapped size.
16676 (unload): New function.
16677 (unload_shlib): New function.
16678 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16679 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16680 set a breakpoint at baz, and call it.
16681 * gdb.base/sym-file.exp: New tests for stale breakpoint
16682 instructions.
16683
16684 2014-04-23 Pedro Alves <palves@redhat.com>
16685
16686 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16687 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16688 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16689 * gdb.base/hbreak-unmapped.c: New file.
16690 * gdb.base/hbreak-unmapped.exp: New file.
16691 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16692 * lib/gdb.exp (gdb_is_target_remote): ... here.
16693
16694 2014-04-22 Pedro Alves <palves@redhat.com>
16695
16696 * gdb.base/consecutive-step-over.c: New file.
16697 * gdb.base/consecutive-step-over.exp: New file.
16698
16699 2014-04-22 Pedro Alves <palves@redhat.com>
16700
16701 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16702 instead of send_gdb/gdb_expect.
16703
16704 2014-04-22 Yao Qi <yao@codesourcery.com>
16705
16706 * lib/trace-support.exp (generate_tracefile): New procedure.
16707 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16708 return 0.
16709 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16710 if generate_tracefile returns 1.
16711
16712 2014-04-18 Tom Tromey <palves@redhat.com>
16713 Pedro alves <tromey@redhat.com>
16714
16715 PR backtrace/15558
16716 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16717 with a backtrace limit.
16718 * gdb.python/py-frame-inline.exp: Test running to an inline
16719 function with a backtrace limit, and printing the newest frame.
16720 * gdb.python/py-frame-inline.c (main): Call f.
16721
16722 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16723
16724 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16725
16726 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16727
16728 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16729 Drop prefix from unsupported source file path.
16730
16731 2014-04-17 Yao Qi <yao@codesourcery.com>
16732
16733 * lib/gdb.exp (with_target_charset): New proc.
16734 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16735 with_target_charset.
16736 (test_print_strings): Likewise.
16737 (test_repeat_bytes): Likewise.
16738 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16739 for some tests.
16740
16741 2014-04-16 Keith Seitz <keiths@redhat.com>
16742
16743 PR gdb/15827
16744 * gdb.dwarf2/corrupt.c: New file.
16745 * gdb.dwarf2/corrupt.exp: New file.
16746
16747 2014-04-16 Keith Seitz <keiths@redhat.com>
16748
16749 PR c++/16597
16750 * gdb.cp/namelessclass.cc: New file.
16751 * gdb.cp/namelessclass.exp: New file.
16752 * gdb.cp/namelessclass.S: New file.
16753
16754 2014-04-16 Doug Evans <dje@google.com>
16755
16756 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16757 Add comment.
16758 (gdbserver_default_get_comm_port): New function.
16759 (gdbserver_start): Check if board file provided
16760 "gdbserver,get_comm_port" and use it if so.
16761 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16762 (gdb,socketport): Set to "stdio".
16763 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16764 (stdio_gdbserver_template): Delete.
16765 (${board}_get_remote_address): Update.
16766 (${board}_build_remote_cmd): Delete.
16767 (${board}_get_comm_port): New function.
16768 (${board}_spawn): Update.
16769 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16770 Delete.
16771 (${board}_get_remote_address): Update.
16772 (${board}_get_comm_port): New function.
16773
16774 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16775
16776 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16777 appearing in any order.
16778
16779 2014-04-15 Doug Evans <dje@google.com>
16780
16781 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16782 uninitialized value of "description".
16783
16784 2014-04-15 Keith Seitz <keiths@redhat.com>
16785
16786 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16787 Remove unused globals.
16788 (test_running_the_program): Likewise.
16789 (test_controlled_execution): Likewise.
16790 (test_controlling_breakpoints): Likewise.
16791 (test_program_termination): Likewise.
16792
16793 2014-04-15 Keith Seitz <keiths@redhat.com>
16794
16795 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16796 unused globals.
16797 (test_rbreak_creation_and_listing): Likewise.
16798 (test_ignore_count): Likewise.
16799 (test_error): Likewise.
16800
16801 2014-04-15 Pedro Alves <palves@redhat.com>
16802
16803 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16804 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16805 sym-file-loader.c.
16806 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16807 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16808 to sym-file-loader.c.
16809 (struct library): Forward declare.
16810 (load_shlib, lookup_function): Change prototypes.
16811 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16812 (translate_offset): Remove declarations.
16813 (get_text_addr): New declaration.
16814 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16815 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16816 sym-file-loader.h.
16817 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16818 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16819 here from sym-file-loader.h.
16820 (struct library): New structure.
16821 (load_shlib, lookup_function): Change prototypes and adjust to
16822 work with a struct library.
16823 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16824 (translate_offset): Make static.
16825 (get_text_addr): New function.
16826 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16827
16828 2014-04-15 Pedro Alves <palves@redhat.com>
16829
16830 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16831
16832 2014-04-15 Pedro Alves <palves@redhat.com>
16833
16834 * gdb.base/sym-file-loader.c: Include <limits.h>.
16835 (SELF_LINK): New define.
16836 (get_origin): New function.
16837 (load_shlib): Use it.
16838 * gdb.base/sym-file.exp: Don't early return if the target is
16839 remote. Use runto_main, and issue fail is that fails. Use
16840 gdb_load_shlibs.
16841 (shlib_name): Delete.
16842 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16843
16844 2014-04-15 Pedro Alves <palves@redhat.com>
16845
16846 * gdb.base/sym-file.exp: Remove regex characters from test
16847 message. Don't refer to breakpoint numbers in test messages.
16848
16849 2014-04-14 Keith Seitz <keiths@redhat.com>
16850
16851 PR c++/16253
16852 * gdb.cp/var-tag.cc: New file.
16853 * gdb.cp/var-tag.exp: New file.
16854 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16855 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16856 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16857 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16858
16859 2014-04-14 Tom Tromey <tromey@redhat.com>
16860
16861 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16862 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16863 type.
16864 * gdb.cp/enum-class.exp: New file.
16865 * gdb.cp/enum-class.cc: New file.
16866
16867 2014-04-14 Tom Tromey <tromey@redhat.com>
16868
16869 * gdb.dwarf2/enum-type.exp: New file.
16870
16871 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16872
16873 * gdb.mi/mi-vla-c99.exp: New file.
16874 * gdb.mi/vla.c: New file.
16875
16876 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16877
16878 * gdb.base/vla-datatypes.c: New file.
16879 * gdb.base/vla-datatypes.exp: New file.
16880
16881 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16882
16883 * gdb.base/vla-ptr.c: New file.
16884 * gdb.base/vla-ptr.exp: New file.
16885
16886 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16887
16888 * gdb.dwarf2/count.exp: New file.
16889
16890 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16891
16892 * gdb.base/vla-sideeffect.c: New file.
16893 * gdb.base/vla-sideeffect.exp: New file.
16894
16895 2014-04-14 David Blaikie <dblaikie@gmail.com>
16896
16897 * gdb.mi/non-stop.c: Add return value for non-void function return
16898 statement.
16899 * gdb.threads/staticthreads.c: Ditto.
16900
16901 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16902 Doug Evans <xdje42@gmail.com>
16903
16904 * gdb.guile/scm-value.c: Improve test case.
16905 * gdb.guile/scm-value.exp: Add new test.
16906
16907 2014-04-11 David Blaikie <dblaikie@gmail.com>
16908
16909 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16910 override Clang's default.
16911
16912 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16913
16914 Revert the following changes (regressions):
16915
16916 * gdb.base/vla-sideeffect.c: New file.
16917 * gdb.base/vla-sideeffect.exp: New file.
16918
16919 * gdb.dwarf2/count.exp: New file.
16920
16921 * gdb.base/vla-multi.c: New file.
16922 * gdb.base/vla-multi.exp: New file.
16923
16924 * gdb.base/vla-ptr.c: New file.
16925 * gdb.base/vla-ptr.exp: New file.
16926
16927 * gdb.base/vla-datatypes.c: New file.
16928 * gdb.base/vla-datatypes.exp: New file.
16929
16930 * gdb.mi/mi-vla-c99.exp: New file.
16931 * gdb.mi/vla.c: New file.
16932
16933 2014-04-11 Keith Seitz <keiths@redhat.com>
16934
16935 PR c++/16675
16936 * gdb.cp/cpsizeof.exp: New file.
16937 * gdb.cp/cpsizeof.cc: New file.
16938
16939 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16940
16941 * gdb.mi/mi-vla-c99.exp: New file.
16942 * gdb.mi/vla.c: New file.
16943
16944 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16945
16946 * gdb.base/vla-datatypes.c: New file.
16947 * gdb.base/vla-datatypes.exp: New file.
16948
16949 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16950
16951 * gdb.base/vla-ptr.c: New file.
16952 * gdb.base/vla-ptr.exp: New file.
16953
16954 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16955
16956 * gdb.base/vla-multi.c: New file.
16957 * gdb.base/vla-multi.exp: New file.
16958
16959 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16960
16961 * gdb.dwarf2/count.exp: New file.
16962
16963 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16964
16965 * gdb.base/vla-sideeffect.c: New file.
16966 * gdb.base/vla-sideeffect.exp: New file.
16967
16968 2014-04-11 Yao Qi <yao@codesourcery.com>
16969
16970 * gdb.base/completion.exp: Check file exists before running tests
16971 on file completion.
16972
16973 2014-04-10 Pedro Alves <palves@redhat.com>
16974
16975 * gdb.base/cond-eval-mode.c: New file.
16976 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16977 prepare_for_testing to build the new file. Check result of
16978 runto_main.
16979 (test_break, test_watch): New procedures.
16980 (top level): Use them.
16981
16982 2014-04-08 Pierre Muller <muller@sourceware.org>
16983
16984 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16985 Ctrl-V use for mingw hosts.
16986
16987 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16988
16989 * gdb.python/py-value.c: Improve test case.
16990 * gdb.python/py-value.exp: Add new test.
16991
16992 2014-04-07 David Blaikie <dblaikie@gmail.com>
16993
16994 * lib/compiler.c: Identify the clang compiler.
16995 * lib/compiler.cc: Ditto.
16996
16997 2014-04-03 Yao Qi <yao@codesourcery.com>
16998
16999 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17000
17001 2014-04-01 Anton Blanchard <anton@samba.org>
17002
17003 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17004 messages unique.
17005
17006 2014-04-01 Anton Blanchard <anton@samba.org>
17007
17008 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17009 prepare_for_testing.
17010
17011 2014-04-01 Anton Blanchard <anton@samba.org>
17012
17013 * gdb.arch/ppc64-atomic-inst.c: Remove.
17014 * gdb.arch/ppc64-atomic-inst.S: New file.
17015 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17016
17017 2014-03-31 Doug Evans <dje@google.com>
17018
17019 * gdb.base/print-symbol-loading-lib.c: New file.
17020 * gdb.base/print-symbol-loading-main.c: New file.
17021 * gdb.base/print-symbol-loading.exp: New file.
17022
17023 2014-03-31 Yao Qi <yao@codesourcery.com>
17024
17025 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17026
17027 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17028
17029 * gdb.ada/mi_dyn_arr: New testcase.
17030
17031 2014-03-27 Doug Evans <dje@google.com>
17032
17033 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17034
17035 2014-03-27 Yao Qi <yao@codesourcery.com>
17036
17037 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17038 if target is nios2-*-*.
17039
17040 2014-03-26 Yao Qi <yao@codesourcery.com>
17041
17042 * lib/gdb.exp (readline_is_used): New proc.
17043 * gdb.base/completion.exp: Move tests on command complete up.
17044 Skip the rest of tests if readline is not used.
17045 * gdb.ada/complete.exp: Skp the test if readline is not
17046 used.
17047 * gdb.base/filesym.exp: Likewise.
17048 * gdb.base/macscp.exp: Likewise.
17049 * gdb.base/readline-ask.exp: Likewise.
17050 * gdb.base/readline.exp: Likewise.
17051 * gdb.python/py-cmd.exp: Likewise.
17052 * gdb.trace/tfile.exp: Likewise.
17053
17054 2014-03-26 Yao Qi <yao@codesourcery.com>
17055
17056 * gdb.base/macscp.exp: Fix code format issues.
17057
17058 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17059
17060 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17061 * gdb.asm/powerpc64le.inc: New file.
17062
17063 2014-03-25 Pedro Alves <palves@redhat.com>
17064 Doug Evans <dje@google.com>
17065
17066 * gdb.base/source-execution.c: New file.
17067 * gdb.base/source-execution.exp: New file.
17068 * gdb.base/source-execution.gdb: New file.
17069
17070 2014-03-24 Doug Evans <dje@google.com>
17071
17072 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17073 using fission.
17074
17075 2014-03-24 Hui Zhu <hui@codesourcery.com>
17076 Pedro Alves <palves@redhat.com>
17077
17078 PR breakpoints/16101
17079 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17080 test pass/fail messages. Detect missing support for dprintf when
17081 breakpoints are actually inserted.
17082 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17083 breakpoints are actually inserted.
17084 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17085 fails.
17086
17087 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17088
17089 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17090
17091 2014-03-22 Doug Evans <xdje42@gmail.com>
17092
17093 * gdb.python/python.exp (python not supported): Verify multi-line
17094 python command issues an error.
17095 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17096 guile command issues an error.
17097
17098 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17099
17100 * gdb.threads/thread-specific.exp: Handle the lack of usable
17101 $this_breakpoint and $this_thread.
17102
17103 2014-03-21 Hui Zhu <hui@codesourcery.com>
17104
17105 * gdb.base/attach.exp (do_command_attach_tests): New.
17106
17107 2014-03-20 Tom Tromey <tromey@redhat.com>
17108 Pedro Alves <palves@redhat.com>
17109
17110 PR cli/15718
17111 * gdb.base/condbreak-call-false.c: New file.
17112 * gdb.base/condbreak-call-false.exp: New file.
17113
17114 2014-03-20 Pedro Alves <palves@redhat.com>
17115
17116 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17117 Delete.
17118 (block_signals, unblock_signals): Delete.
17119 (child_function_2, main): Remove references to deleted variable
17120 and functions.
17121
17122 2014-03-20 Pedro Alves <palves@redhat.com>
17123
17124 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17125 Use pthread_kill to signal thread 2.
17126 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17127 Adjust to make the test send itself a signal rather than using the
17128 host's "kill" command.
17129
17130 2014-03-20 Pedro Alves <palves@redhat.com>
17131
17132 * gdb.threads/multiple-step-overs.c: New file.
17133 * gdb.threads/multiple-step-overs.exp: New file.
17134 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17135 Adjust expected infrun debug output.
17136
17137 2014-03-20 Pedro Alves <palves@redhat.com>
17138
17139 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17140 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17141
17142 2014-03-20 Pedro Alves <palves@redhat.com>
17143
17144 PR breakpoints/7143
17145 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17146 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17147 of gdb_test_multiple.
17148 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17149 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17150
17151 2014-03-20 Pedro Alves <palves@redhat.com>
17152
17153 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17154 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17155
17156 2014-03-19 Pedro Alves <palves@redhat.com>
17157
17158 * gdb.base/async.exp: Remove early return.
17159
17160 2014-03-19 Pedro Alves <palves@redhat.com>
17161
17162 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17163
17164 2014-03-19 Pedro Alves <palves@redhat.com>
17165
17166 * gdb.base/async.exp (test_background): Expect \r\n after
17167 "completed." in the fail pattern.
17168
17169 2014-03-19 Pedro Alves <palves@redhat.com>
17170
17171 * gdb.base/async.exp (test_background): New procedure.
17172 Use it for all background execution command tests.
17173
17174 2014-03-19 Pedro Alves <palves@redhat.com>
17175
17176 * gdb.base/async.exp: Use prepare_for_testing.
17177
17178 2014-03-19 Pedro Alves <palves@redhat.com>
17179
17180 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17181 the same line.
17182
17183 2014-03-19 Pedro Alves <palves@redhat.com>
17184
17185 * gdb.base/async.c (main): Add "jump here" and "until here" line
17186 marker comments.
17187 * gdb.base/async.exp (jump_here): New global.
17188 (jump& test): Use it.
17189 (until_here): New global.
17190 (until& test): Use it.
17191
17192 2014-03-19 Pedro Alves <palves@redhat.com>
17193
17194 * gdb.base/async.exp: Don't frob gdb_protocol.
17195
17196 2014-03-18 Doug Evans <xdje42@gmail.com>
17197
17198 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17199 Fix spelling of exec-done-display.
17200
17201 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17202
17203 PR gdb/15358
17204 * gdb.base/gdb-sigterm.c: New file.
17205 * gdb.base/gdb-sigterm.exp: New file.
17206
17207 2014-03-18 Pedro Alves <palves@redhat.com>
17208
17209 PR gdb/13860
17210 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17211 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17212 solib-event.
17213
17214 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17215
17216 * gdb.ada/pckd_arr_ren: New testcase.
17217
17218 2014-03-13 Doug Evans <xdje42@gmail.com>
17219
17220 PR guile/16612
17221 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17222 collect after discarding symbols.
17223
17224 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17225 Doug Evans <xdje42@gmail.com>
17226
17227 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17228 to history survives a gc.
17229
17230 2014-03-13 Pedro Alves <palves@redhat.com>
17231
17232 * gdb.base/default.exp: Don't test "target procfs".
17233
17234 2014-03-13 Pedro Alves <palves@redhat.com>
17235
17236 * gdb.base/default.exp: Update "target child" and "target procfs"
17237 tests to not expect "Unix".
17238
17239 2014-03-12 Tom Tromey <tromey@redhat.com>
17240
17241 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17242 New procs. Add target-async tests.
17243 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17244 Add target-async tests.
17245
17246 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17247
17248 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17249 'func_start' and 'func_end' for the beginning and end of the
17250 function code, respectively.
17251 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17252 'func_end' instead of 'func' and 'main'.
17253
17254 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17255
17256 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17257 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17258 generate the debug info assembler source.
17259
17260 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17261
17262 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17263 * gdb.dwarf2/arr-subrange.exp: Likewise.
17264 * gdb.dwarf2/dwz.exp: Likewise.
17265 * gdb.dwarf2/method-ptr.exp: Likewise.
17266 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17267 * gdb.dwarf2/subrange.exp: Likewise.
17268 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17269 * gdb.dwarf2/implptrpiece.exp: Likewise.
17270 * gdb.dwarf2/nostaticblock.exp: Likewise.
17271
17272 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17273
17274 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17275 directory to absolute path name arguments.
17276
17277 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17278
17279 * gdb.ada/tagged_access: New testcase.
17280
17281 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17282
17283 * gdb.btrace/data.exp: Update expected output.
17284
17285 2014-03-06 Yao Qi <yao@codesourcery.com>
17286
17287 * gdb.trace/pr16508.exp: New file.
17288
17289 2014-03-05 Pedro Alves <palves@redhat.com>
17290
17291 PR gdb/16575
17292 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17293 procedure.
17294 (top level): Adjust to use it. Add tests that exercise breakpoint
17295 interaction with the code-cache.
17296
17297 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17298
17299 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17300 test for 'history-append!'.
17301
17302 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17303
17304 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17305 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17306 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17307 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17308 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17309 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17310
17311 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17312
17313 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17314 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17315 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17316
17317 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17318
17319 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17320
17321 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17322
17323 * gdb.dwarf2/arr-stride.c: New file.
17324 * gdb.dwarf2/arr-stride.exp: New file.
17325
17326 2014-02-26 Pedro Alves <palves@redhat.com>
17327
17328 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17329 that won't ever trigger. Make sure that GDB reports the correct
17330 breakpoint that caused the stop.
17331
17332 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17333
17334 PR gdb/16626
17335 * gdb.base/auto-load-script: New file.
17336 * gdb.base/auto-load.c: New file.
17337 * gdb.base/auto-load.exp: New file.
17338
17339 PR gdb/16626
17340 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17341
17342 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17343
17344 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17345 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17346
17347 2014-02-24 Doug Evans <dje@google.com>
17348
17349 * lib/gdb.exp (run_on_host): Log error output if program fails.
17350
17351 2014-02-21 Pedro Alves <palves@redhat.com>
17352
17353 * gdb.threads/step-after-sr-lock.c: Rename to ...
17354 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17355 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17356 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17357 ... this.
17358
17359 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17360
17361 PR tdep/16397
17362 * gdb.arch/amd64-stap-special-operands.exp: New file.
17363 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17364 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17365 * gdb.arch/amd64-stap-triplet.S: Likewise.
17366 * gdb.arch/amd64-stap-triplet.c: Likewise.
17367
17368 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17369
17370 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17371 in .section pseudo-op.
17372
17373 2014-02-20 lin zuojian <manjian2006@gmail.com>
17374 Joel Brobecker <brobecker@adacore.com>
17375 Doug Evans <xdje42@gmail.com>
17376
17377 PR symtab/16581
17378 * gdb.dwarf2/dw2-icycle.S: New file.
17379 * gdb.dwarf2/dw2-icycle.c: New file.
17380 * gdb.dwarf2/dw2-icycle.exp: New file.
17381
17382 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17383
17384 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17385 operations on gdb.Value objects.
17386 * gdb.python/py-value-cc.exp: Add new test to test operations on
17387 gdb.Value objects.
17388
17389 2014-02-18 Doug Evans <dje@google.com>
17390
17391 * Makefile.in (TESTS): New variable.
17392 (expanded_tests, expanded_tests_or_none): New variables
17393 (check-single): Pass $(expanded_tests_or_none) to runtest.
17394 (check-parallel): Only run tests in $(TESTS) if non-empty.
17395 (check/no-matching-tests-found): New rule.
17396 * README: Document TESTS makefile variable.
17397
17398 2014-02-18 Doug Evans <dje@google.com>
17399
17400 * Makefile.in (check-parallel): rm -rf outputs temp.
17401
17402 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17403
17404 Fix "ERROR: no fileid for" in the testsuite.
17405 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17406
17407 2014-02-12 Doug Evans <dje@google.com>
17408
17409 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17410 (MISCELLANEOUS): New variable.
17411 (clean): rm -rf $(MISCELLANEOUS).
17412 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17413 dwp live in the same directory as symlinks, with each symlink pointed
17414 to a differently named file in a different directory.
17415
17416 2014-02-11 Doug Evans <dje@google.com>
17417
17418 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17419 of Tcl file commands.
17420
17421 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17422
17423 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17424 "kill -SIGUSR1 -1".
17425
17426 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17427
17428 * gdb.ada/tick_length_array_enum_idx: New testcase.
17429
17430 2014-02-10 Doug Evans <xdje42@gmail.com>
17431
17432 * configure.ac (AC_OUTPUT): Add gdb.guile.
17433 * configure: Regenerate.
17434 * lib/gdb-guile.exp: New file.
17435 * lib/gdb.exp (get_target_charset): New function.
17436 * gdb.base/help.exp: Update expected output from "apropos apropos".
17437 * gdb.guile/Makefile.in: New file.
17438 * gdb.guile/guile.exp: New file.
17439 * gdb.guile/scm-arch.c: New file.
17440 * gdb.guile/scm-arch.exp: New file.
17441 * gdb.guile/scm-block.c: New file.
17442 * gdb.guile/scm-block.exp: New file.
17443 * gdb.guile/scm-breakpoint.c: New file.
17444 * gdb.guile/scm-breakpoint.exp: New file.
17445 * gdb.guile/scm-disasm.c: New file.
17446 * gdb.guile/scm-disasm.exp: New file.
17447 * gdb.guile/scm-equal.c: New file.
17448 * gdb.guile/scm-equal.exp: New file.
17449 * gdb.guile/scm-error.exp: New file.
17450 * gdb.guile/scm-error.scm: New file.
17451 * gdb.guile/scm-frame-args.c: New file.
17452 * gdb.guile/scm-frame-args.exp: New file.
17453 * gdb.guile/scm-frame-args.scm: New file.
17454 * gdb.guile/scm-frame-inline.c: New file.
17455 * gdb.guile/scm-frame-inline.exp: New file.
17456 * gdb.guile/scm-frame.c: New file.
17457 * gdb.guile/scm-frame.exp: New file.
17458 * gdb.guile/scm-generics.exp: New file.
17459 * gdb.guile/scm-gsmob.exp: New file.
17460 * gdb.guile/scm-iterator.c: New file.
17461 * gdb.guile/scm-iterator.exp: New file.
17462 * gdb.guile/scm-math.c: New file.
17463 * gdb.guile/scm-math.exp: New file.
17464 * gdb.guile/scm-objfile-script-gdb.in: New file.
17465 * gdb.guile/scm-objfile-script.c: New file.
17466 * gdb.guile/scm-objfile-script.exp: New file.
17467 * gdb.guile/scm-objfile.c: New file.
17468 * gdb.guile/scm-objfile.exp: New file.
17469 * gdb.guile/scm-ports.exp: New file.
17470 * gdb.guile/scm-pretty-print.c: New file.
17471 * gdb.guile/scm-pretty-print.exp: New file.
17472 * gdb.guile/scm-pretty-print.scm: New file.
17473 * gdb.guile/scm-section-script.c: New file.
17474 * gdb.guile/scm-section-script.exp: New file.
17475 * gdb.guile/scm-section-script.scm: New file.
17476 * gdb.guile/scm-symbol.c: New file.
17477 * gdb.guile/scm-symbol.exp: New file.
17478 * gdb.guile/scm-symtab-2.c: New file.
17479 * gdb.guile/scm-symtab.c: New file.
17480 * gdb.guile/scm-symtab.exp: New file.
17481 * gdb.guile/scm-type.c: New file.
17482 * gdb.guile/scm-type.exp: New file.
17483 * gdb.guile/scm-value-cc.cc: New file.
17484 * gdb.guile/scm-value-cc.exp: New file.
17485 * gdb.guile/scm-value.c: New file.
17486 * gdb.guile/scm-value.exp: New file.
17487 * gdb.guile/source2.scm: New file.
17488 * gdb.guile/types-module.cc: New file.
17489 * gdb.guile/types-module.exp: New file.
17490
17491 2014-02-10 Yao Qi <yao@codesourcery.com>
17492
17493 PR testsuite/16543
17494 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17495 * configure: Regenerated.
17496 * Makefile.in: New file.
17497
17498 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17499
17500 * gdb.python/py-framefilter.exp: Fix typo.
17501
17502 2014-02-08 Yao Qi <yao@codesourcery.com>
17503
17504 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17505 that no =breakpoint-modified is emitted when breakpoints are
17506 modified through MI commands.
17507
17508 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17509 Pedro Alves <palves@redhat.com>
17510
17511 * gdb.threads/step-after-sr-lock.c: New file.
17512 * gdb.threads/step-after-sr-lock.exp: New file.
17513
17514 2014-02-07 Pedro Alves <palves@redhat.com>
17515
17516 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17517
17518 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17519
17520 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17521 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17522
17523 2014-02-06 Doug Evans <xdje42@gmail.com>
17524
17525 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17526 output.
17527
17528 * gdb.gdb/python-interrupts.exp: New file.
17529
17530 2014-02-05 Yao Qi <yao@codesourcery.com>
17531
17532 * gdb.trace/report.exp (use_collected_data): Test the output
17533 of "info threads" and "info inferiors".
17534
17535 2014-02-05 Yao Qi <yao@codesourcery.com>
17536
17537 Revert this patch:
17538
17539 2013-05-24 Yao Qi <yao@codesourcery.com>
17540
17541 * gdb.trace/tfile.exp: Test inferior and thread.
17542
17543 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17544
17545 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17546 on a function.
17547 * gdb.base/step-bt.c: Call hello via function pointer to make
17548 sure its first instruction is executed on powerpc64le-linux.
17549
17550 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17551
17552 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17553
17554 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17555
17556 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17557 of the test patterns for use on little-endian systems.
17558
17559 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17560
17561 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17562 (decimal_vector): Fix for little-endian.
17563
17564 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17565
17566 * gdb.arch/sparc-sysstep.exp: New file.
17567 * gdb.arch/sparc-sysstep.c: Likewise.
17568
17569 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17570
17571 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17572
17573 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17574
17575 2014-01-23 Tom Tromey <tromey@redhat.com>
17576
17577 * gdb.ada/array_char_idx: New testcase.
17578
17579 2014-01-23 Tom Tromey <tromey@redhat.com>
17580
17581 PR python/16487:
17582 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17583 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17584 classes.
17585
17586 2014-01-23 Tom Tromey <tromey@redhat.com>
17587
17588 PR python/16491:
17589 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17590 string from an inferior frame.
17591 * gdb.python/py-framefilter-mi.exp: Update.
17592
17593 2014-01-22 Doug Evans <dje@google.com>
17594
17595 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17596
17597 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17598
17599 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17600
17601 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17602
17603 * gdb.trace/entry-values.exp: Remove excess space character from
17604 regex patterns. Handle s390 call instruction.
17605
17606 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17607
17608 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17609 define "*_start" label. Make "name" static.
17610 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17611 ${name} by references to ${name}_start.
17612
17613 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17614
17615 * gdb.base/info-macros.exp: Remove "debug" from the compile
17616 options.
17617
17618 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17619
17620 * gdb.dlang/demangle.exp: New file.
17621
17622 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17623
17624 * gdb.dlang/primitive-types.exp: New file.
17625
17626 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17627
17628 * configure.ac: Create gdb.dlang/Makefile.
17629 * configure: Regenerate.
17630 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17631 * gdb.dlang/Makefile.in: New file.
17632 * lib/d-support.exp: New file.
17633 * lib/gdb.exp (skip_d_tests): New proc.
17634
17635 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17636
17637 * gdb.btrace/delta.exp: Check reverse stepi.
17638 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17639 * gdb.btrace/finish.exp: New.
17640 * gdb.btrace/next.exp: New.
17641 * gdb.btrace/nexti.exp: New.
17642 * gdb.btrace/record_goto.c: Add comments.
17643 * gdb.btrace/step.exp: New.
17644 * gdb.btrace/stepi.exp: New.
17645 * gdb.btrace/multi-thread-step.c: New.
17646 * gdb.btrace/multi-thread-step.exp: New.
17647 * gdb.btrace/rn-dl-bind.c: New.
17648 * gdb.btrace/rn-dl-bind.exp: New.
17649 * gdb.btrace/data.c: New.
17650 * gdb.btrace/data.exp: New.
17651 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17652
17653 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17654
17655 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17656 * gdb.btrace/exception.exp: Update.
17657 * gdb.btrace/instruction_history.exp: Update.
17658 * gdb.btrace/record_goto.exp: Update.
17659 * gdb.btrace/tailcall.exp: Update.
17660 * gdb.btrace/unknown_functions.exp: Update.
17661 * gdb.btrace/delta.exp: New.
17662
17663 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17664
17665 * gdb.btrace/record_goto.exp: Add backtrace test.
17666 * gdb.btrace/tailcall.exp: Add backtrace test.
17667
17668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17669
17670 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17671 * gdb.btrace/record_goto.c: New.
17672 * gdb.btrace/record_goto.exp: New.
17673 * gdb.btrace/x86-record_goto.S: New.
17674
17675 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17676
17677 * gdb.btrace/function_call_history.exp: Update tests.
17678 * gdb.btrace/instruction_history.exp: Update tests.
17679
17680 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17681
17682 * gdb.btrace/function_call_history.exp: Fix expected field
17683 order for "record function-call-history".
17684 Add new tests for "record function-call-history /c".
17685 * gdb.btrace/exception.cc: New.
17686 * gdb.btrace/exception.exp: New.
17687 * gdb.btrace/tailcall.exp: New.
17688 * gdb.btrace/x86-tailcall.S: New.
17689 * gdb.btrace/x86-tailcall.c: New.
17690 * gdb.btrace/unknown_functions.c: New.
17691 * gdb.btrace/unknown_functions.exp: New.
17692 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17693
17694 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17695
17696 * gdb.btrace/instruction_history.exp: Update.
17697 * gdb.btrace/function_call_history.exp: Update.
17698
17699 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17700
17701 * gdb.btrace/function_call_history.exp: Fix expected function
17702 trace.
17703 * gdb.btrace/instruction_history.exp: Initialize traced.
17704 Remove traced_functions.
17705
17706 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17707
17708 * gdb.btrace/function_call_history.exp: Update
17709 * gdb.btrace/instruction_history.exp: Update.
17710
17711 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17712
17713 * gdb.btrace/enable.exp: Update expected text.
17714
17715 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17716
17717 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17718 bytes.
17719
17720 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17721
17722 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17723
17724 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17725
17726 * lib/gdb.exp (supports_process_record): Return true for
17727 arm*-linux*. (supports_reverse): Likewise.
17728
17729 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17730
17731 PR python/15464
17732 PR python/16113
17733 * gdb.python/py-type.c: Enhance test case.
17734 * gdb.python/py-value-cc.cc: Likewise
17735 * gdb.python/py-type.exp: Add new tests.
17736 * gdb.python/py-value-cc.exp: Likewise
17737
17738 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17739 Pedro Alves <palves@redhat.com>
17740
17741 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17742 Make "name" extern.
17743 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17744 references to ${name}_start by references to ${name}.
17745
17746 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17747
17748 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17749
17750 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17751
17752 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17753
17754 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17755 Pedro Alves <palves@redhat.com>
17756
17757 * gdb.mi/mi-info-os.exp: Connect to the target with
17758 mi_gdb_target_load.
17759
17760 2014-01-08 Pedro Alves <palves@redhat.com>
17761
17762 * gdb.threads/reconnect-signal.c: New file.
17763 * gdb.threads/reconnect-signal.exp: New file.
17764
17765 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17766
17767 * gdb.base/source-dir.exp: New file.
17768
17769 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17770
17771 * gdb.ada/mi_interface: New testcase.
17772
17773 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17774
17775 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17776 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17777 gdb.ada/pp-rec-component/pck.ads: New files.
17778
17779 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17780
17781 * gdb.python/py-pp-integral.c: New file.
17782 * gdb.python/py-pp-integral.py: New file.
17783 * gdb.python/py-pp-integral.exp: New file.
17784
17785 For older changes see ChangeLog-1993-2013.
17786 \f
17787 ;; Local Variables:
17788 ;; mode: change-log
17789 ;; left-margin: 8
17790 ;; fill-column: 74
17791 ;; version-control: never
17792 ;; End:
17793
17794 Copyright 2014-2019 Free Software Foundation, Inc.
17795 Copying and distribution of this file, with or without modification,
17796 are permitted provided the copyright notice and this notice are preserved.
This page took 0.375282 seconds and 5 git commands to generate.